PERFORCE change 91524 for review
Christian Brueffer
brueffer at FreeBSD.org
Fri Feb 10 22:04:09 GMT 2006
http://perforce.freebsd.org/chv.cgi?CH=91524
Change 91524 by brueffer at brueffer_serenity on 2006/02/10 22:04:05
Hook up the audit system to system call entry and exit for sparc64.
Affected files ...
.. //depot/projects/trustedbsd/audit3/sys/sparc64/sparc64/trap.c#5 edit
Differences ...
==== //depot/projects/trustedbsd/audit3/sys/sparc64/sparc64/trap.c#5 (text+ko) ====
@@ -66,6 +66,7 @@
#include <sys/uio.h>
#include <sys/ktrace.h>
#endif
+#include <security/audit/audit.h>
#include <vm/vm.h>
#include <vm/pmap.h>
@@ -595,7 +596,9 @@
PTRACESTOP_SC(p, td, S_PT_SCE);
+ AUDIT_SYSCALL_ENTER(code, td);
error = (*callp->sy_call)(td, argp);
+ AUDIT_SYSCALL_EXIT(code, td);
CTR5(KTR_SYSC, "syscall: p=%p error=%d %s return %#lx %#lx ", p,
error, syscallnames[code], td->td_retval[0],
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list