FreeBSD Bugzilla – Attachment 105112 Details for
Bug 145434
[kernel] [patch] Kernel messages about processes don't include Jail Identifier
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 790 bytes, created by
David E. Cross
on 2010-04-06 15:50:04 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
David E. Cross
Created:
2010-04-06 15:50:04 UTC
Size:
790 bytes
patch
obsolete
>--- sys/kern/kern_sig.c.orig 2009-10-24 21:10:29.000000000 -0400 >+++ sys/kern/kern_sig.c 2010-04-06 10:44:42.000000000 -0400 >@@ -57,6 +57,8 @@ > #include <sys/mutex.h> > #include <sys/namei.h> > #include <sys/proc.h> >+#include <sys/ucred.h> >+#include <sys/jail.h> > #include <sys/posix4.h> > #include <sys/pioctl.h> > #include <sys/resourcevar.h> >@@ -2733,8 +2735,9 @@ > sig |= WCOREFLAG; > if (kern_logsigexit) > log(LOG_INFO, >- "pid %d (%s), uid %d: exited on signal %d%s\n", >+ "pid %d (%s), jid %d, uid %d: exited on signal %d%s\n", > p->p_pid, p->p_comm, >+ (td->td_ucred && td->td_ucred->cr_prison) ? td->td_ucred->cr_prison->pr_id : 0, > td->td_ucred ? td->td_ucred->cr_uid : -1, > sig &~ WCOREFLAG, > sig & WCOREFLAG ? " (core dumped)" : "");
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 145434
: 105112