Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/kern_exec.c
Show First 20 Lines • Show All 804 Lines • ▼ Show 20 Lines | #endif | ||||
p->p_flag2 &= ~(P2_MEMBAR_PRIVE | P2_MEMBAR_PRIVE_SYNCORE | | p->p_flag2 &= ~(P2_MEMBAR_PRIVE | P2_MEMBAR_PRIVE_SYNCORE | | ||||
P2_MEMBAR_GLOBE); | P2_MEMBAR_GLOBE); | ||||
if (p->p_flag & P_PPWAIT) { | if (p->p_flag & P_PPWAIT) { | ||||
p->p_flag &= ~(P_PPWAIT | P_PPTRACE); | p->p_flag &= ~(P_PPWAIT | P_PPTRACE); | ||||
cv_broadcast(&p->p_pwait); | cv_broadcast(&p->p_pwait); | ||||
/* STOPs are no longer ignored, arrange for AST */ | /* STOPs are no longer ignored, arrange for AST */ | ||||
signotify(td); | signotify(td); | ||||
} | } | ||||
td->td_rseq_abi = NULL; | |||||
if ((imgp->sysent->sv_setid_allowed != NULL && | if ((imgp->sysent->sv_setid_allowed != NULL && | ||||
!(*imgp->sysent->sv_setid_allowed)(td, imgp)) || | !(*imgp->sysent->sv_setid_allowed)(td, imgp)) || | ||||
(p->p_flag2 & P2_NO_NEW_PRIVS) != 0) | (p->p_flag2 & P2_NO_NEW_PRIVS) != 0) | ||||
execve_nosetid(imgp); | execve_nosetid(imgp); | ||||
/* | /* | ||||
* Implement image setuid/setgid installation. | * Implement image setuid/setgid installation. | ||||
▲ Show 20 Lines • Show All 1,268 Lines • Show Last 20 Lines |