Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Darrin B. Jewell <dbj@netbsd.org>
List: source-changes
Date: 01/24/2005 21:27:02
Module Name: src
Committed By: dbj
Date: Mon Jan 24 21:27:02 UTC 2005
Modified Files:
src/sys/kern: kern_exit.c vfs_syscalls.c
Log Message:
clear p->p_cwdi of exiting processes and
avoid dereferencing invalid p_cwdi in checkdirs
this fixes a race condition between exiting processes and mount
see discussion on tech-kern:
http://mail-index.netbsd.org/tech-kern/2004/10/04/0006.html
http://mail-index.netbsd.org/tech-kern/2004/10/08/0005.html
To generate a diff of this commit:
cvs rdiff -r1.143 -r1.144 src/sys/kern/kern_exit.c
cvs rdiff -r1.214 -r1.215 src/sys/kern/vfs_syscalls.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.