PERFORCE change 45161 for review

Robert Watson rwatson at FreeBSD.org
Sun Jan 11 19:38:01 GMT 2004


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

Change 45161 by rwatson at rwatson_paprika on 2004/01/11 11:37:01

	Process audit properties are stored in p_au -- a struct
	auditinfo pointer.
	
	Move forward declarations of structures to the common
	spot for them.

Affected files ...

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

Differences ...

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

@@ -152,7 +152,9 @@
  * either lock is sufficient for read access, but both locks must be held
  * for write access.
  */
+struct auditinfo;
 struct ithd;
+struct kaudit_record;
 struct ke_sched;
 struct kg_sched;
 struct nlminfo;
@@ -253,7 +255,6 @@
  * with N runnable and queued KSEs in the KSEGRP, the first N threads
  * are linked to them. Other threads are not yet assigned.
  */
-struct kaudit_record;
 struct thread {
 	struct proc	*td_proc;	/* (*) Associated process. */
 	struct ksegrp	*td_ksegrp;	/* (*) Associated KSEG. */
@@ -603,6 +604,7 @@
 	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
 
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