rwatson 2008-02-14 20:57:38 UTC
FreeBSD src repository
Added files:
tools/regression/security/open_to_operation Makefile
open_to_operation.c
Log:
Add open_to_operation, a security regression test that opens files with
various open flags and then tests various operations to make sure that
they are properly constrained by open flags. Various I/O mechansms
are tried, including aio if compiled into the kernel or loaded as a
module. There's more to be done here but it's a useful start, running
about 220 individual tests.
This is in support of FreeBSD-SA-08:03.sendfile.
Revision Changes Path
1.1 +7 -0 src/tools/regression/security/open_to_operation/Makefile (new)
1.1 +1256 -0 src/tools/regression/security/open_to_operation/open_to_operation.c (new)