PERFORCE change 84241 for review
Robert Watson
rwatson at FreeBSD.org
Sun Sep 25 13:46:38 GMT 2005
http://perforce.freebsd.org/chv.cgi?CH=84241
Change 84241 by rwatson at rwatson_zoo on 2005/09/25 13:46:17
Move the p_au pointer from the end of struct proc into the zero'd
portion, in order to reduce the chances of an undetected race during
process initialization.
Affected files ...
.. //depot/projects/trustedbsd/audit3/sys/sys/proc.h#7 edit
Differences ...
==== //depot/projects/trustedbsd/audit3/sys/sys/proc.h#7 (text+ko) ====
@@ -580,6 +580,7 @@
struct thread *p_xthread; /* (c) Trap thread */
int p_boundary_count;/* (c) Num threads at user boundary */
struct ksegrp *p_procscopegrp;
+ struct auditinfo *p_au; /* (c) Process audit properties. */
/* End area that is zeroed on creation. */
#define p_endzero p_magic
@@ -608,7 +609,6 @@
void *p_emuldata; /* (c) Emulator state data. */
struct label *p_label; /* (*) Proc (not subject) MAC label. */
struct p_sched *p_sched; /* (*) Scheduler-specific data. */
- struct auditinfo *p_au; /* (c) Process audit properties. */
};
#define p_session p_pgrp->pg_session
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list