From e11a45c9e5dcdbf58729ac60941af496e8d64723 Mon Sep 17 00:00:00 2001 From: Jeff Roberson Date: Tue, 3 May 2005 10:51:38 +0000 Subject: [PATCH] - Neither of our image formats require Giant now that the vm and vfs have been locked. --- sys/kern/imgact_aout.c | 2 -- sys/kern/imgact_elf.c | 2 -- 2 files changed, 4 deletions(-) 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 ? */