diff options
| author | Jeff Roberson <jeff@FreeBSD.org> | 2008-03-12 10:12:01 +0000 |
|---|---|---|
| committer | Jeff Roberson <jeff@FreeBSD.org> | 2008-03-12 10:12:01 +0000 |
| commit | 6617724c5fb1fc40eecc58f541ffbdcd005ba5c8 (patch) | |
| tree | c3fbc6ec97828161d5fc648204b80efb7998da35 /sys/amd64/linux32/linux32_sysvec.c | |
| parent | 7f77f84497e3308499a60bd662a04ea588a7c322 (diff) | |
Notes
Diffstat (limited to 'sys/amd64/linux32/linux32_sysvec.c')
| -rw-r--r-- | sys/amd64/linux32/linux32_sysvec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/amd64/linux32/linux32_sysvec.c b/sys/amd64/linux32/linux32_sysvec.c index 2f9fd9f2fb60..39068525ebf7 100644 --- a/sys/amd64/linux32/linux32_sysvec.c +++ b/sys/amd64/linux32/linux32_sysvec.c @@ -247,8 +247,7 @@ elf_linux_fixup(register_t **stack_base, struct image_params *imgp) Elf32_Addr *base; Elf32_Addr *pos; - KASSERT(curthread->td_proc == imgp->proc && - (curthread->td_proc->p_flag & P_SA) == 0, + KASSERT(curthread->td_proc == imgp->proc, ("unsafe elf_linux_fixup(), should be curproc")); base = (Elf32_Addr *)*stack_base; args = (Elf32_Auxargs *)imgp->auxargs; |
