Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Aug 2006 13:21:37 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 103335 for review
Message-ID:  <200608061321.k76DLbRE060226@repoman.freebsd.org>

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

Change 103335 by rwatson@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) {
 		/*



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