PERFORCE change 103335 for review

Robert Watson rwatson at FreeBSD.org
Sun Aug 6 13:21:39 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=103335

Change 103335 by rwatson at rwatson_peppercorn on 2006/08/06 13:21:12

	Audit IA64 system calls.

Affected files ...

.. //depot/projects/trustedbsd/audit3/sys/ia64/ia64/trap.c#10 edit

Differences ...

==== //depot/projects/trustedbsd/audit3/sys/ia64/ia64/trap.c#10 (text+ko) ====

@@ -72,6 +72,8 @@
 #include <sys/ktrace.h>
 #endif
 
+#include <security/audit/audit.h>
+
 #include <ia64/disasm/disasm.h>
 
 static int print_usertrap = 0;
@@ -1016,7 +1018,9 @@
 
 	PTRACESTOP_SC(p, td, S_PT_SCE);
 
+	AUDIT_SYSCALL_ENTER(code, td);
 	error = (*callp->sy_call)(td, args);
+	AUDIT_SYSCALL_EXIT(error, td);
 
 	if (error != EJUSTRETURN) {
 		/*


More information about the trustedbsd-cvs mailing list