summaryrefslogtreecommitdiff
path: root/sys/kern/kern_exec.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2007-05-14 22:40:04 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2007-05-14 22:40:04 +0000
commit19059a13ed4ffc98639d0b7e34dac856e0eff37e (patch)
tree22a683ee47ef279e53c999ab223b32ea3f9df550 /sys/kern/kern_exec.c
parent1bba2a940b349d2692fab3ac8fb0a893b889aefd (diff)
Notes
Diffstat (limited to 'sys/kern/kern_exec.c')
-rw-r--r--sys/kern/kern_exec.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c
index bbe12bf5ca5e..65ee108bfc6a 100644
--- a/sys/kern/kern_exec.c
+++ b/sys/kern/kern_exec.c
@@ -898,15 +898,6 @@ exec_new_vmspace(imgp, sv)
EVENTHANDLER_INVOKE(process_exec, p, imgp);
/*
- * Here is as good a place as any to do any resource limit cleanups.
- * This is needed if a 64 bit binary exec's a 32 bit binary - the
- * data size limit may need to be changed to a value that makes
- * sense for the 32 bit binary.
- */
- if (sv->sv_fixlimits != NULL)
- sv->sv_fixlimits(p);
-
- /*
* Blow away entire process VM, if address space not shared,
* otherwise, create a new VM space so that other threads are
* not disrupted