Subject: CVS commit: src
To: None <source-changes@NetBSD.org>
From: Charles Blundell <cb@netbsd.org>
List: source-changes
Date: 08/25/2003 09:12:47
Module Name:	src
Committed By:	cb
Date:		Mon Aug 25 09:12:46 UTC 2003

Modified Files:
	src/bin/systrace: intercept-translate.c intercept.c intercept.h
	    netbsd-syscalls.c openbsd-syscalls.c systrace.c systrace.h
	src/sys/kern: kern_systrace.c vfs_lookup.c
	src/sys/sys: systrace.h

Log Message:
fix a race condition between path resolution in userland
and the subsequent namei(): inform the kernel portion of
valid filenames and then disallow symlink lookups for
those filenames by means of a hook in namei().
with suggestions from provos@

also, add (currently unused) seqnr field to struct
systrace_replace, from provos@


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/bin/systrace/intercept-translate.c
cvs rdiff -r1.18 -r1.19 src/bin/systrace/intercept.c
cvs rdiff -r1.12 -r1.13 src/bin/systrace/intercept.h \
    src/bin/systrace/netbsd-syscalls.c
cvs rdiff -r1.8 -r1.9 src/bin/systrace/openbsd-syscalls.c
cvs rdiff -r1.22 -r1.23 src/bin/systrace/systrace.c
cvs rdiff -r1.14 -r1.15 src/bin/systrace/systrace.h
cvs rdiff -r1.30 -r1.31 src/sys/kern/kern_systrace.c
cvs rdiff -r1.49 -r1.50 src/sys/kern/vfs_lookup.c
cvs rdiff -r1.10 -r1.11 src/sys/sys/systrace.h

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