Date: Sun, 11 Jan 2004 10:49:14 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 45150 for review Message-ID: <200401111849.i0BInEhl059986@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=45150 Change 45150 by rwatson@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401111849.i0BInEhl059986>
