diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1997-08-26 00:02:24 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1997-08-26 00:02:24 +0000 |
| commit | 282ec22c77c3f31f8635c197b0c34ed0abce7b15 (patch) | |
| tree | 54210c0b2b07abaae651020a451d4c2d4471721a /sys/kern/imgact_gzip.c | |
| parent | 25ec9b1615c3dd29e514dfa97eee9d95cc7bdb11 (diff) | |
Notes
Diffstat (limited to 'sys/kern/imgact_gzip.c')
| -rw-r--r-- | sys/kern/imgact_gzip.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/kern/imgact_gzip.c b/sys/kern/imgact_gzip.c index e92db9ba9686..7d7643ee035b 100644 --- a/sys/kern/imgact_gzip.c +++ b/sys/kern/imgact_gzip.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: imgact_gzip.c,v 1.28 1997/02/22 09:38:57 peter Exp $ + * $Id: imgact_gzip.c,v 1.29 1997/04/13 01:48:22 dyson Exp $ * * This module handles execution of a.out files which have been run through * "gzip". This saves diskspace, but wastes cpu-cycles and VM. @@ -204,9 +204,6 @@ do_aout_hdr(struct imgact_gzip * gz) if ( /* text can't exceed maximum text size */ gz->a_out.a_text > MAXTSIZ || - /* data + bss can't exceed maximum data size */ - gz->a_out.a_data + gz->bss_size > MAXDSIZ || - /* data + bss can't exceed rlimit */ gz->a_out.a_data + gz->bss_size > gz->ip->proc->p_rlimit[RLIMIT_DATA].rlim_cur) { |
