PERFORCE change 99911 for review
Wayne Salamon
wsalamon at FreeBSD.org
Sat Jun 24 01:05:14 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=99911
Change 99911 by wsalamon at vh3 on 2006/06/24 01:02:34
Add a test program for exteneded attribute call auditing.
Change the GETFH event name in tfileaccess to match current reality.
Affected files ...
.. //depot/projects/trustedbsd/audit3/tools/regression/audit/test/file/Makefile#2 edit
.. //depot/projects/trustedbsd/audit3/tools/regression/audit/test/file/tfileaccess.c#6 edit
.. //depot/projects/trustedbsd/audit3/tools/regression/audit/test/file/tfileextattr.c#1 add
Differences ...
==== //depot/projects/trustedbsd/audit3/tools/regression/audit/test/file/Makefile#2 (text+ko) ====
@@ -26,7 +26,7 @@
# POSSIBILITY OF SUCH DAMAGE.
#
-TARGETS=tfilecreate tfilemodify tdir tfileaccess tchroot tmmap tfileioctl tsharedfile
+TARGETS=tfilecreate tfilemodify tdir tfileaccess tchroot tmmap tfileioctl tsharedfile tfileextattr
CC=cc -g -I../include ../lib/audittest.o -lbsm
# Set ASSERT_FLAGS only if not already set
==== //depot/projects/trustedbsd/audit3/tools/regression/audit/test/file/tfileaccess.c#6 (text+ko) ====
@@ -68,10 +68,10 @@
/* Generate a failure AUE_ACCESS record */
access("ANonExisteNtFiLeNaME", F_OK);
- /* Generate a success AUE_GETFH record */
+ /* Generate a success AUE_NFS_GETFH record */
if (getfh(tempname, &fh))
AUT_PERROR("getfh()");
- aut_assert(AUE_GETFH);
+ aut_assert(AUE_NFS_GETFH);
/* Generate a AUE_STAT audit record */
if ((stat(tempname, &tstat)) < 0)
More information about the trustedbsd-cvs
mailing list