PERFORCE change 103334 for review

Robert Watson rwatson at FreeBSD.org
Sun Aug 6 13:19:51 UTC 2006


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

Change 103334 by rwatson at rwatson_peppercorn on 2006/08/06 13:19:15

	Audit ia32 system calls on ia64.

Affected files ...

.. //depot/projects/trustedbsd/audit3/sys/ia64/ia32/ia32_trap.c#6 edit

Differences ...

==== //depot/projects/trustedbsd/audit3/sys/ia64/ia32/ia32_trap.c#6 (text+ko) ====

@@ -46,6 +46,8 @@
 #include <machine/md_var.h>
 #include <i386/include/psl.h>
 
+#include <security/audit/audit.h>
+
 extern char *syscallnames[];
 
 static void
@@ -122,7 +124,9 @@
 
 		PTRACESTOP_SC(p, td, S_PT_SCE);
 
+		AUDIT_SYSCALL_ENTER(code, td);
 		error = (*callp->sy_call)(td, args64);
+		AUDIT_SYSCALL_EXIT(error, td);
 	}
 
 	switch (error) {


More information about the trustedbsd-cvs mailing list