Date: Wed, 19 Dec 2012 23:40:02 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r244451 - head/sys/kern Message-ID: <201212192340.qBJNe2er013837@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212192340.qBJNe2er013837>