svn commit: r253373 - stable/9/sys/kern

Gavin Atkinson gavin at FreeBSD.org
Mon Jul 15 23:12:42 UTC 2013


Author: gavin
Date: Mon Jul 15 23:12:42 2013
New Revision: 253373
URL: http://svnweb.freebsd.org/changeset/base/253373

Log:
  Merge r244451 from head (originally by pjd):
    Use correct file permissions when looking for available core file if
    kern.corefile contains %I.
  
  Discussed with:	pjd (some time ago)
  Approved by:	re (kib)

Modified:
  stable/9/sys/kern/kern_sig.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/kern/kern_sig.c
==============================================================================
--- stable/9/sys/kern/kern_sig.c	Mon Jul 15 21:57:21 2013	(r253372)
+++ stable/9/sys/kern/kern_sig.c	Mon Jul 15 23:12:42 2013	(r253373)
@@ -3160,7 +3160,7 @@ nomem:
 		struct nameidata nd;
 		int error, n;
 		int flags = O_CREAT | O_EXCL | FWRITE | O_NOFOLLOW;
-		int cmode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP;
+		int cmode = S_IRUSR | S_IWUSR;
 		int vfslocked;
 
 		for (n = 0; n < num_cores; n++) {


More information about the svn-src-stable mailing list