PERFORCE change 91187 for review

Robert Watson rwatson at
Sun Feb 5 21:38:33 GMT 2006

Change 91187 by rwatson at rwatson_peppercorn on 2006/02/05 21:38:24

	When exiting a thread, submit any pending record.  Today, we don't
	audit thread exit, but should that happen, this will prevent
	unhappiness, as the thread exit system call will never return, and
	hence not commit the record.
	Pointed out by/with:	cognet

Affected files ...

.. //depot/projects/trustedbsd/audit3/sys/kern/kern_thread.c#7 edit

Differences ...

==== //depot/projects/trustedbsd/audit3/sys/kern/kern_thread.c#7 (text+ko) ====

@@ -471,6 +471,10 @@
 	    (long)p->p_pid, p->p_comm);
 	KASSERT(TAILQ_EMPTY(&td->td_sigqueue.sq_list), ("signal pending"));
+#ifdef AUDIT
 	if (td->td_standin != NULL) {
 		 * Note that we don't need to free the cred here as it
To Unsubscribe: send mail to majordomo at
with "unsubscribe trustedbsd-cvs" in the body of the message

More information about the trustedbsd-cvs mailing list