freebsd-skq/sys/security/audit
rwatson e0bfbf5350 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.

MFC after:      1 week
Reported by:    kris
Obtained from:  TrustedBSD Project
2009-03-09 10:45:58 +00:00
..
audit_arg.c When repeatedly accessing a thread credential, cache the credential 2008-11-14 01:24:52 +00:00
audit_bsm_domain.c Merge OpenBSM alpha 5 from OpenBSM vendor branch to head, both 2009-01-14 10:44:16 +00:00
audit_bsm_errno.c Merge OpenBSM 1.1 beta 1 from OpenBSM vendor branch to head, both 2009-03-02 13:29:18 +00:00
audit_bsm_klib.c Change various routines that are responsible for transforming audit 2009-02-08 14:39:35 +00:00
audit_bsm_socket_type.c Merge OpenBSM alpha 5 from OpenBSM vendor branch to head, both 2009-01-14 10:44:16 +00:00
audit_bsm_token.c Merge OpenBSM 1.1 beta 1 from OpenBSM vendor branch to head, both 2009-03-02 13:29:18 +00:00
audit_bsm.c Audit AUE_MAC_EXECVE; currently just the standard AUE_EXECVE arguments 2009-02-08 14:24:35 +00:00
audit_ioctl.h Don't expose #ifdef NOTYET parts to userspace via audit_ioctl.h, just 2007-04-29 16:20:32 +00:00
audit_pipe.c Set the lower bound on queue size for an audit pipe to 1 instead of 0, 2009-02-08 15:38:31 +00:00
audit_private.h Change various routines that are responsible for transforming audit 2009-02-08 14:39:35 +00:00
audit_syscalls.c Add a new thread-private flag, TDP_AUDITREC, to indicate whether or 2009-03-09 10:45:58 +00:00
audit_trigger.c Generally avoid <space><tab> as a white space anomoly. 2008-07-22 16:44:48 +00:00
audit_worker.c Wrap sx locking of the audit worker sleep lock in macros, update comments. 2008-11-10 22:06:24 +00:00
audit.c Add a new thread-private flag, TDP_AUDITREC, to indicate whether or 2009-03-09 10:45:58 +00:00
audit.h Add a new thread-private flag, TDP_AUDITREC, to indicate whether or 2009-03-09 10:45:58 +00:00