cvs commit: src/sys/kern init_main.c kern_exit.c kern_fork.c
kern_prot.c src/sys/security/audit audit.c audit.h audit_arg.c
audit_syscalls.c src/sys/sys proc.h ucred.h
Robert Watson
rwatson at FreeBSD.org
Thu Jun 7 22:27:16 UTC 2007
rwatson 2007-06-07 22:27:15 UTC
FreeBSD src repository
Modified files:
sys/kern init_main.c kern_exit.c kern_fork.c
kern_prot.c
sys/security/audit audit.c audit.h audit_arg.c
audit_syscalls.c
sys/sys proc.h ucred.h
Log:
Move per-process audit state from a pointer in the proc structure to
embedded storage in struct ucred. This allows audit state to be cached
with the thread, avoiding locking operations with each system call, and
makes it available in asynchronous execution contexts, such as deep in
the network stack or VFS.
Reviewed by: csjp
Approved by: re (kensmith)
Obtained from: TrustedBSD Project
Revision Changes Path
1.279 +2 -3 src/sys/kern/init_main.c
1.301 +0 -3 src/sys/kern/kern_exit.c
1.276 +0 -9 src/sys/kern/kern_fork.c
1.210 +9 -0 src/sys/kern/kern_prot.c
1.30 +26 -52 src/sys/security/audit/audit.c
1.13 +5 -5 src/sys/security/audit/audit.h
1.13 +3 -3 src/sys/security/audit/audit_arg.c
1.18 +99 -102 src/sys/security/audit/audit_syscalls.c
1.481 +0 -2 src/sys/sys/proc.h
1.55 +3 -0 src/sys/sys/ucred.h
More information about the cvs-src
mailing list