Page MenuHomeFreeBSD

D30899.id91368.diff
No OneTemporary

D30899.id91368.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);
@@ -1153,6 +1151,8 @@
vmspace->vm_ssize = sgrowsiz >> PAGE_SHIFT;
vmspace->vm_maxsaddr = (char *)stack_addr;
+ if (sv->sv_onexec != NULL)
+ sv->sv_onexec(p, imgp);
return (0);
}

File Metadata

Mime Type
text/plain
Expires
Sat, Jul 25, 2:15 PM (12 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35476152
Default Alt Text
D30899.id91368.diff (532 B)

Event Timeline