Add system call auditing support for sparc64.

Submitted by:	brueffer
Obtained from:	TrustedBSD Project
This commit is contained in:
Robert Watson 2006-02-18 16:36:56 +00:00
parent 9e90941de6
commit d8ff22ea7f

View File

@ -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>
@ -593,7 +594,9 @@ syscall(struct trapframe *tf)
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],