summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/imgact_aout.c2
-rw-r--r--sys/kern/imgact_elf.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/sys/kern/imgact_aout.c b/sys/kern/imgact_aout.c
index 12086fa..572bc47 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 af9e26a..c81bbb9 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 ?
*/
OpenPOWER on IntegriCloud