freebsd-dev/sys/security/audit
Robert Watson e6870c95e3 When repeatedly accessing a thread credential, cache the credential
pointer in a local thread.  While this is unlikely to significantly
improve performance given modern compiler behavior, it makes the code
more readable and reduces diffs to the Mac OS X version of the same
code (which stores things in creds in the same way, but where the
cred for a thread is reached quite differently).

Discussed with: sson
MFC after:      1 month
Sponsored by:   Apple Inc.
Obtained from:	TrustedBSD Project
2008-11-14 01:24:52 +00:00
..
audit_arg.c When repeatedly accessing a thread credential, cache the credential 2008-11-14 01:24:52 +00:00
audit_bsm_klib.c Don't lock the vnode around calls to vn_fullpath(). 2008-11-04 22:30:24 +00:00
audit_bsm_token.c Add support for extended header BSM tokens. Currently we use the 2008-11-11 21:57:03 +00:00
audit_bsm.c Add support for extended header BSM tokens. Currently we use the 2008-11-11 21:57:03 +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 Update introductory comment for audit pipes. 2008-11-02 00:25:48 +00:00
audit_private.h The audit queue limit variables are size_t, so use size_t for the audit 2008-11-13 00:21:01 +00:00
audit_syscalls.c When repeatedly accessing a thread credential, cache the credential 2008-11-14 01:24:52 +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 When repeatedly accessing a thread credential, cache the credential 2008-11-14 01:24:52 +00:00
audit.h Move audit-internal function definitions for getting and setting audit 2008-11-11 23:08:20 +00:00