cvs commit: src/tools/regression/priv Makefile main.c main.h
Bjoern A. Zeeb
bz at FreeBSD.org
Tue Nov 13 00:59:30 PST 2007
bz 2007-11-13 08:59:29 UTC
FreeBSD src repository
tools/regression/priv Makefile main.c main.h
In sys/netipsec/keysock.c rev. 1.19 a missing priv check was added.
Before that non-su users were able to open pfkey sockets as well.
Add a regression test so we can detect such problems in an automated way
in the future.
Revision Changes Path
1.3 +1 -0 src/tools/regression/priv/Makefile
1.3 +3 -0 src/tools/regression/priv/main.c
1.3 +4 -0 src/tools/regression/priv/main.h
1.1 +85 -0 src/tools/regression/priv/priv_netinet_ipsec.c (new)
More information about the cvs-src