Page MenuHomeFreeBSD

D16210.id45164.diff
No OneTemporary

D16210.id45164.diff

Index: sys/kern/kern_thr.c
===================================================================
--- sys/kern/kern_thr.c
+++ sys/kern/kern_thr.c
@@ -374,6 +374,11 @@
KASSERT(p->p_numthreads > 1, ("too few threads"));
racct_sub(p, RACCT_NTHR, 1);
tdsigcleanup(td);
+
+#ifdef AUDIT
+ AUDIT_SYSCALL_EXIT(0, td);
+#endif
+
PROC_SLOCK(p);
thread_stopped(p);
thread_exit();
Index: sys/kern/kern_thread.c
===================================================================
--- sys/kern/kern_thread.c
+++ sys/kern/kern_thread.c
@@ -532,9 +532,6 @@
SDT_PROBE0(proc, , , lwp__exit);
KASSERT(TAILQ_EMPTY(&td->td_sigqueue.sq_list), ("signal pending"));
-#ifdef AUDIT
- AUDIT_SYSCALL_EXIT(0, td);
-#endif
/*
* drop FPU & debug register state storage, or any other
* architecture specific resources that

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 1, 5:01 AM (21 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14960249
Default Alt Text
D16210.id45164.diff (814 B)

Event Timeline