Subject: CVS commit: basesrc/bin/systrace
To: None <source-changes@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@netbsd.org>
List: source-changes
Date: 07/30/2002 19:29:32
Module Name:	basesrc
Committed By:	itojun
Date:		Tue Jul 30 16:29:31 UTC 2002

Modified Files:
	basesrc/bin/systrace: Makefile filter.c filter.h intercept-translate.c
	    intercept.c intercept.h lex.l netbsd-syscalls.c openbsd-syscalls.c
	    parse.y policy.c systrace-translate.c systrace.1 systrace.c
	    systrace.h util.c util.h
	syssrc/sys/kern: kern_systrace.c
	syssrc/sys/sys: systrace.h
Added Files:
	basesrc/bin/systrace: alias.c register.c

Log Message:
sync up with latest openbsd systrace.
- avoid race conditions by having seqno in ioctl
- better uid/gid tracking
- "replace" policy to replace args
- less diffs, as many of local changes were fed back to openbsd already

due to the 1st item, it was impossible for us to provide backward-compatibility
(new kernel + old bin/systrace won't work).  upgrade both.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 basesrc/bin/systrace/Makefile
cvs rdiff -r0 -r1.1 basesrc/bin/systrace/alias.c \
    basesrc/bin/systrace/register.c
cvs rdiff -r1.2 -r1.3 basesrc/bin/systrace/filter.c \
    basesrc/bin/systrace/intercept.h \
    basesrc/bin/systrace/systrace-translate.c
cvs rdiff -r1.1 -r1.2 basesrc/bin/systrace/filter.h \
    basesrc/bin/systrace/lex.l basesrc/bin/systrace/openbsd-syscalls.c \
    basesrc/bin/systrace/parse.y basesrc/bin/systrace/policy.c \
    basesrc/bin/systrace/systrace.h basesrc/bin/systrace/util.c \
    basesrc/bin/systrace/util.h
cvs rdiff -r1.3 -r1.4 basesrc/bin/systrace/intercept-translate.c \
    basesrc/bin/systrace/intercept.c basesrc/bin/systrace/systrace.c
cvs rdiff -r1.5 -r1.6 basesrc/bin/systrace/netbsd-syscalls.c \
    basesrc/bin/systrace/systrace.1
cvs rdiff -r1.10 -r1.11 syssrc/sys/kern/kern_systrace.c
cvs rdiff -r1.2 -r1.3 syssrc/sys/sys/systrace.h

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