- The P_SA flag has been removed. Don't reference it in a KASSERT.
This commit is contained in:
parent
eab82b2ebe
commit
66257bc8d9
@ -213,8 +213,7 @@ svr4_fixup(register_t **stack_base, struct image_params *imgp)
|
||||
Elf32_Auxargs *args;
|
||||
register_t *pos;
|
||||
|
||||
KASSERT(curthread->td_proc == imgp->proc &&
|
||||
(curthread->td_proc->p_flag & P_SA) == 0,
|
||||
KASSERT(curthread->td_proc == imgp->proc,
|
||||
("unsafe svr4_fixup(), should be curproc"));
|
||||
args = (Elf32_Auxargs *)imgp->auxargs;
|
||||
pos = *stack_base + (imgp->args->argc + imgp->args->envc + 2);
|
||||
|
Loading…
Reference in New Issue
Block a user