PERFORCE change 84242 for review

Robert Watson rwatson at FreeBSD.org
Sun Sep 25 14:34:36 GMT 2005


http://perforce.freebsd.org/chv.cgi?CH=84242

Change 84242 by rwatson at rwatson_zoo on 2005/09/25 14:34:14

	Now I remember why it was we don't have p_au in the zero'd section:
	we allocate the contents before the zeroing occurs so we can copy
	the audit contents while holding both process locks.

Affected files ...

.. //depot/projects/trustedbsd/audit3/sys/sys/proc.h#8 edit

Differences ...

==== //depot/projects/trustedbsd/audit3/sys/sys/proc.h#8 (text+ko) ====

@@ -580,7 +580,6 @@
 	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
 
@@ -609,6 +608,7 @@
 	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