Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jun 2004 17:13:48 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 54068 for review
Message-ID:  <200406030013.i530DmSF019036@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=54068

Change 54068 by rwatson@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406030013.i530DmSF019036>