Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Frank van der Linden <fvdl@netbsd.org>
List: source-changes
Date: 01/25/2000 13:52:05
Module Name:	syssrc
Committed By:	fvdl
Date:		Tue Jan 25 21:52:05 UTC 2000

Modified Files:
	syssrc/sys/miscfs/procfs: procfs.h procfs_subr.c procfs_vfsops.c

Log Message:
At mount/unmount time, add an exec hook to revoke all vnodes iff the
process is about to exec a sugid binary.

To speed up things, use hashing for vnode allocation, like other filesystems
do. This avoids walking the whole procfs node list in the revoke case too.


To generate a diff of this commit:
cvs rdiff -r1.27 -r1.28 syssrc/sys/miscfs/procfs/procfs.h
cvs rdiff -r1.28 -r1.29 syssrc/sys/miscfs/procfs/procfs_subr.c
cvs rdiff -r1.31 -r1.32 syssrc/sys/miscfs/procfs/procfs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.