Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 09/22/2007 13:34:23
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.