PERFORCE change 45150 for review

Robert Watson rwatson at FreeBSD.org
Sun Jan 11 10:49:17 PST 2004


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

Change 45150 by rwatson at rwatson_paprika on 2004/01/11 10:46:39

	Each active thread carries around its in-progress audit record
	in its thread structure.  Equivilent to uthread->uu_ar in
	Darwin.

Affected files ...

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

Differences ...

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

@@ -253,6 +253,7 @@
  * 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. */
@@ -302,6 +303,7 @@
 	sigset_t	*td_waitset;	/* (c) Wait set for sigwait. */
 	TAILQ_ENTRY(thread) td_umtx;	/* (c?) Link for when we're blocked. */
 	volatile u_int	td_generation;	/* (k) Enable detection of preemption */
+	struct kaudit_record	*td_ar;	/* (k) Active audit record, if any. */
 
 #define	td_endzero td_base_pri
 


More information about the p4-projects mailing list