svn commit: r244451 - head/sys/kern
Pawel Jakub Dawidek
pjd at FreeBSD.org
Wed Dec 19 23:40:02 UTC 2012
Author: pjd
Date: Wed Dec 19 23:40:02 2012
New Revision: 244451
URL: http://svnweb.freebsd.org/changeset/base/244451
Log:
Use correct file permissions when looking for available core file if
kern.corefile contains %I.
Obtained from: WHEEL Systems
Modified:
head/sys/kern/kern_sig.c
Modified: head/sys/kern/kern_sig.c
==============================================================================
--- head/sys/kern/kern_sig.c Wed Dec 19 23:34:19 2012 (r244450)
+++ head/sys/kern/kern_sig.c Wed Dec 19 23:40:02 2012 (r244451)
@@ -3125,7 +3125,7 @@ expand_name(const char *comm, uid_t uid,
struct nameidata nd;
int cmode, flags, oflags, error;
- cmode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP;
+ cmode = S_IRUSR | S_IWUSR;
oflags = VN_OPEN_NOAUDIT |
(capmode_coredump ? VN_OPEN_NOCAPCHECK : 0);
More information about the svn-src-all
mailing list