summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2005-05-03 10:51:38 +0000
committerjeff <jeff@FreeBSD.org>2005-05-03 10:51:38 +0000
commit617ce9900604573045160f4d6ce04eccc685462d (patch)
tree06d2a835fdeacbfa079d9eefce4d3e2a20864903 /sys
parentce43d827c254be137b93a5758e4038bc95cc7ec5 (diff)
downloadFreeBSD-src-617ce9900604573045160f4d6ce04eccc685462d.zip
FreeBSD-src-617ce9900604573045160f4d6ce04eccc685462d.tar.gz
- Neither of our image formats require Giant now that the vm and vfs have
been locked.
Diffstat (limited to 'sys')
-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