diff --git a/sys/kern/imgact_aout.c b/sys/kern/imgact_aout.c index 12086fa3a06..572bc47bcd2 100644 --- a/sys/kern/imgact_aout.c +++ b/sys/kern/imgact_aout.c @@ -108,8 +108,6 @@ exec_aout_imgact(imgp) unsigned long bss_size; int error; - GIANT_REQUIRED; - /* * Linux and *BSD binaries look very much alike, * only the machine id is different: diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c index af9e26a7b7a..c81bbb962cb 100644 --- a/sys/kern/imgact_elf.c +++ b/sys/kern/imgact_elf.c @@ -650,8 +650,6 @@ __CONCAT(exec_, __elfN(imgact))(struct image_params *imgp) struct thread *td = curthread; struct sysentvec *sv; - GIANT_REQUIRED; - /* * Do we have a valid ELF header ? */