Subject: PR/3696 CVS commit: src/sys/kern
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: David Laight <dsl@netbsd.org>
List: netbsd-bugs
Date: 09/22/2007 13:35:03
The following reply was made to PR misc/3696; it has been noted by GNATS.

From: David Laight <dsl@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/3696 CVS commit: src/sys/kern
Date: Sat, 22 Sep 2007 13:34:23 +0000 (UTC)

 Module Name:	src
 Committed By:	dsl
 Date:		Sat Sep 22 13:34:23 UTC 2007
 
 Modified Files:
 	src/sys/kern: kern_core.c
 
 Log Message:
 Allocate the temporary path buffer before we acquire any locks.
 Only check PK_SUGID once.  Still looks to have MP timing windows.
 Copy out p->p_limit->pl_corename with pl_lock held - it can be a shared
   string, and might be updated by another process.
   Part of fix for PR/3696
 Add XXX note that check for MNT_NOCOREDUMP doesn't actually check the
 correct directory.
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.5 -r1.6 src/sys/kern/kern_core.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.