Page MenuHomeFreeBSD

D30899.id91351.diff
No OneTemporary

D30899.id91351.diff

Index: sys/kern/kern_exec.c
===================================================================
--- sys/kern/kern_exec.c
+++ sys/kern/kern_exec.c
@@ -1060,8 +1060,6 @@
sigfastblock_clear(td);
umtx_exec(p);
itimers_exec(p);
- if (sv->sv_onexec != NULL)
- sv->sv_onexec(p, imgp);
EVENTHANDLER_DIRECT_INVOKE(process_exec, p, imgp);
@@ -1114,6 +1112,9 @@
}
}
+ if (sv->sv_onexec != NULL)
+ sv->sv_onexec(p, imgp);
+
/* Allocate a new stack */
if (imgp->stack_sz != 0) {
ssiz = trunc_page(imgp->stack_sz);

File Metadata

Mime Type
text/plain
Expires
Tue, May 26, 3:47 AM (4 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33523504
Default Alt Text
D30899.id91351.diff (529 B)

Event Timeline