Date: Fri, 10 Feb 2006 22:04:09 GMT From: Christian Brueffer <brueffer@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 91524 for review Message-ID: <200602102204.k1AM49Kv050364@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=91524 Change 91524 by brueffer@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],
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602102204.k1AM49Kv050364>