cvs commit: src/sys/kern kern_thread.c src/sys/security/audit
audit.c audit.h src/sys/sys proc.h
Robert Watson
rwatson at FreeBSD.org
Wed Feb 1 16:37:06 PST 2006
rwatson 2006-02-02 00:37:06 UTC
FreeBSD src repository
Modified files:
sys/kern kern_thread.c
sys/security/audit audit.c audit.h
sys/sys proc.h
Log:
Add new fields to process-related data structures:
- td_ar to struct thread, which holds the in-progress audit record during
a system call.
- p_au to struct proc, which holds per-process audit state, such as the
audit identifier, audit terminal, and process audit masks.
In the earlier implementation, td_ar was added to the zero'd section of
struct thread. In order to facilitate merging to RELENG_6, it has been
moved to the end of the data structure, requiring explicit
initalization in the thread constructor.
Much help from: wsalamon
Obtained from: TrustedBSD Project
Revision Changes Path
1.225 +6 -0 src/sys/kern/kern_thread.c
1.2 +10 -0 src/sys/security/audit/audit.c
1.2 +1 -0 src/sys/security/audit/audit.h
1.449 +4 -0 src/sys/sys/proc.h
More information about the cvs-src
mailing list