FreeBSD/sys/kern/kern_ktrace.c
/*
 * When a setuid process execs, disable tracing.
 *
 * XXX: We toss any pending asynchronous records.
 */
When a setuid process execs, disable tracing.
XXX: We toss any pending asynchronous records.
When a setuid process execs disable tracing . XXX : We toss any pending asynchronous records .
void
ktrprocexec(struct proc *p, struct ucred **uc, struct vnode **vp)
{
	PROC_LOCK_ASSERT(p, MA_OWNED);
	mtx_lock(&ktrace_mtx);
	ktr_freeproc(p, uc, vp);
	mtx_unlock(&ktrace_mtx);
}
void ktrprocexec ( struct proc * p , struct ucred * * uc , struct vnode * * vp ) { PROC_LOCK_ASSERT ( p , MA_OWNED ) ; mtx_lock ( & ktrace_mtx ) ; ktr_freeproc ( p , uc , vp ) ; mtx_unlock ( & ktrace_mtx ) ; }
When a setuid process execs, disable tracing.
When a setuid process execs disable tracing .