Date: Sun, 25 Sep 2005 13:46:38 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 84241 for review Message-ID: <200509251346.j8PDkcTZ089488@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=84241 Change 84241 by rwatson@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509251346.j8PDkcTZ089488>