Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177484790
D30987.1794543950.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
767 B
Referenced Files
None
Subscribers
None
D30987.1794543950.diff
View Options
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c
--- a/sys/kern/kern_exec.c
+++ b/sys/kern/kern_exec.c
@@ -1064,6 +1064,8 @@
sigfastblock_clear(td);
umtx_exec(p);
+ if (p->p_sysent->sv_onexec_old != NULL)
+ p->p_sysent->sv_onexec_old(td);
itimers_exec(p);
if (sv->sv_onexec != NULL)
sv->sv_onexec(p, imgp);
diff --git a/sys/sys/sysent.h b/sys/sys/sysent.h
--- a/sys/sys/sysent.h
+++ b/sys/sys/sysent.h
@@ -150,6 +150,7 @@
u_long *sv_hwcap2; /* Value passed in AT_HWCAP2. */
const char *(*sv_machine_arch)(struct proc *);
vm_offset_t sv_fxrng_gen_base;
+ void (*sv_onexec_old)(struct thread *td);
void (*sv_onexec)(struct proc *, struct image_params *);
void (*sv_onexit)(struct proc *);
void (*sv_ontdexit)(struct thread *td);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 13, 4:25 AM (57 m, 8 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41690236
Default Alt Text
D30987.1794543950.diff (767 B)
Attached To
Mode
D30987: Only handle robust mutexes and sigfastblock on exec and exit for native FreeBSD ABIs
Attached
Detach File
Event Timeline