diff options
author | ps <ps@FreeBSD.org> | 2001-10-10 23:06:54 +0000 |
---|---|---|
committer | ps <ps@FreeBSD.org> | 2001-10-10 23:06:54 +0000 |
commit | db0d5cd641f1c95ac8f8c41ae9c79b92756fb2e2 (patch) | |
tree | 851a2b6bf1a0825cd12cca18ac56abe59123f449 /sys/kern/imgact_gzip.c | |
parent | 63fe581848b6f9a1e281df1b746662fd252d3eab (diff) | |
download | FreeBSD-src-db0d5cd641f1c95ac8f8c41ae9c79b92756fb2e2.zip FreeBSD-src-db0d5cd641f1c95ac8f8c41ae9c79b92756fb2e2.tar.gz |
Make MAXTSIZ, DFLDSIZ, MAXDSIZ, DFLSSIZ, MAXSSIZ, SGROWSIZ loader
tunable.
Reviewed by: peter
MFC after: 2 weeks
Diffstat (limited to 'sys/kern/imgact_gzip.c')
-rw-r--r-- | sys/kern/imgact_gzip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/imgact_gzip.c b/sys/kern/imgact_gzip.c index 00f9040..3516daa 100644 --- a/sys/kern/imgact_gzip.c +++ b/sys/kern/imgact_gzip.c @@ -209,7 +209,7 @@ do_aout_hdr(struct imgact_gzip * gz) */ mtx_assert(&Giant, MA_OWNED); if ( /* text can't exceed maximum text size */ - gz->a_out.a_text > MAXTSIZ || + gz->a_out.a_text > maxtsiz || /* data + bss can't exceed rlimit */ gz->a_out.a_data + gz->bss_size > |