Date: Mon, 16 Mar 2009 17:25:09 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/security/audit audit.c audit.h audit_syscalls.c src/sys/sys proc.h Message-ID: <200903161725.n2GHPTHE066975@repoman.freebsd.org>
index | next in thread | raw e-mail
rwatson 2009-03-16 17:25:09 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/security/audit audit.c audit.h audit_syscalls.c
sys/sys proc.h
Log:
SVN rev 189890 on 2009-03-16 17:25:09Z by rwatson
Merge r189570 from head to stable/7:
Add a new thread-private flag, TDP_AUDITREC, to indicate whether or
not there is an audit record hung off of td_ar on the current thread.
Test this flag instead of td_ar when auditing syscall arguments or
checking for an audit record to commit on syscall return. Under
these circumstances, td_pflags is much more likely to be in the cache
(especially if there is no auditing of the current system call), so
this should help reduce cache misses in the system call return path.
Reported by: kris
Obtained from: TrustedBSD Project
Revision Changes Path
1.33.2.13 +11 -2 src/sys/security/audit/audit.c
1.14.2.8 +3 -3 src/sys/security/audit/audit.h
1.21.2.10 +1 -0 src/sys/security/audit/audit_syscalls.c
1.491.2.12 +1 -0 src/sys/sys/proc.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903161725.n2GHPTHE066975>
