Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2006 01:03:05 GMT
From:      Wayne Salamon <wsalamon@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 99911 for review
Message-ID:  <200606240103.k5O135Lu083140@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=99911

Change 99911 by wsalamon@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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606240103.k5O135Lu083140>