Date: Thu, 7 Jun 2007 22:27:16 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: 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 Message-ID: <200706072227.l57MRGUw089984@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706072227.l57MRGUw089984>
