PERFORCE change 54068 for review

Robert Watson rwatson at FreeBSD.org
Wed Jun 2 17:13:49 PDT 2004


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

Change 54068 by rwatson at rwatson_tislabs on 2004/06/02 17:13:24

	Move the process audit state pointer out of the "copy on fork"
	region so as not to trash the pointer to the new child state
	structure with a copy of the parent's pointer.

Affected files ...

.. //depot/projects/trustedbsd/audit2/sys/sys/proc.h#5 edit

Differences ...

==== //depot/projects/trustedbsd/audit2/sys/sys/proc.h#5 (text+ko) ====

@@ -601,7 +601,6 @@
 	struct sysentvec *p_sysent;	/* (b) Syscall dispatch info. */
 	struct pargs	*p_args;	/* (c) Process arguments. */
 	rlim_t		p_cpulimit;	/* (j) Current CPU limit in seconds. */
-	struct auditinfo	*p_au;	/* (c) Process audit properties. */
 /* End area that is copied on creation. */
 #define	p_endcopy	p_xstat
 
@@ -618,6 +617,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_rlimit	p_limit->pl_rlimit


More information about the p4-projects mailing list