aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/imgact_aout.c
diff options
context:
space:
mode:
authorPaul Saab <ps@FreeBSD.org>2001-10-10 23:06:54 +0000
committerPaul Saab <ps@FreeBSD.org>2001-10-10 23:06:54 +0000
commitcbc89bfbfe8e7f75bd743851f4890a1f1c58f4be (patch)
tree851a2b6bf1a0825cd12cca18ac56abe59123f449 /sys/kern/imgact_aout.c
parentf21fc1273675748376a44212c18b7206b75561ab (diff)
downloadsrc-cbc89bfbfe8e7f75bd743851f4890a1f1c58f4be.tar.gz
src-cbc89bfbfe8e7f75bd743851f4890a1f1c58f4be.zip
Make MAXTSIZ, DFLDSIZ, MAXDSIZ, DFLSSIZ, MAXSSIZ, SGROWSIZ loader
tunable. Reviewed by: peter MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=84783
Diffstat (limited to 'sys/kern/imgact_aout.c')
-rw-r--r--sys/kern/imgact_aout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/imgact_aout.c b/sys/kern/imgact_aout.c
index 5a5358193fb4..bd6ff7bde8fa 100644
--- a/sys/kern/imgact_aout.c
+++ b/sys/kern/imgact_aout.c
@@ -163,7 +163,7 @@ exec_aout_imgact(imgp)
*/
mtx_assert(&Giant, MA_OWNED);
if (/* text can't exceed maximum text size */
- a_out->a_text > MAXTSIZ ||
+ a_out->a_text > maxtsiz ||
/* data + bss can't exceed rlimit */
a_out->a_data + bss_size >