FreeBSD Bugzilla – Attachment 35324 Details for
Bug 57065
core dumps with NODUMP flag
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 774 bytes, created by
walter
on 2003-09-21 20:20:15 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
walter
Created:
2003-09-21 20:20:15 UTC
Size:
774 bytes
patch
obsolete
>--- /sys/kern/kern_sig.c.orig Mon May 19 16:41:42 2003 >+++ /sys/kern/kern_sig.c Sun Sep 21 21:01:44 2003 >@@ -119,6 +119,10 @@ > SYSCTL_INT(_kern, OID_AUTO, coredump, CTLFLAG_RW, > &do_coredump, 0, "Enable/Disable coredumps"); > >+static int set_nodump_flag = 0; >+SYSCTL_INT(_kern, OID_AUTO, nodump_coredump, CTLFLAG_RW, >+ &set_nodump_flag, 0, "Enable/Disable setting of NODUMP flag on coredump files"); >+ > /* > * Signal properties and actions. > * The array below categorizes the signals and their default actions >@@ -1656,6 +1660,8 @@ > vn_lock(vp, LK_EXCLUSIVE | LK_RETRY, p); > vattr.va_size = 0; > VOP_LEASE(vp, p, cred, LEASE_WRITE); >+ if (set_nodump_flag) >+ vattr.va_flags = UF_NODUMP; > VOP_SETATTR(vp, &vattr, cred, p); > p->p_acflag |= ACORE; > VOP_UNLOCK(vp, 0, p);
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 57065
: 35324