From 63b6a05776e8f16b37152038eec61e01e2551a8c Mon Sep 17 00:00:00 2001 From: joerg Date: Sun, 22 Dec 1996 23:17:09 +0000 Subject: Make DFLDSIZ and MAXDSIZ fully-supported options. "Don't forget to do a ``make depend''" :-) --- sys/conf/options | 4 +++- sys/i386/linux/imgact_linux.c | 4 +++- sys/kern/imgact_aout.c | 4 +++- sys/kern/imgact_elf.c | 4 +++- sys/kern/imgact_gzip.c | 4 +++- sys/kern/kern_resource.c | 4 +++- sys/kern/sysv_shm.c | 3 ++- sys/vm/vm_glue.c | 4 +++- sys/vm/vm_mmap.c | 4 +++- 9 files changed, 26 insertions(+), 9 deletions(-) (limited to 'sys') diff --git a/sys/conf/options b/sys/conf/options index 05fe55a..9eb05c7 100644 --- a/sys/conf/options +++ b/sys/conf/options @@ -1,4 +1,4 @@ -# $Id: options,v 1.18 1996/10/28 11:32:55 phk Exp $ +# $Id: options,v 1.19 1996/12/15 16:35:54 se Exp $ # Option name filename @@ -74,6 +74,8 @@ SCSI_NCR_DEBUG opt_ncr.h # Resource limits. CHILD_MAX opt_rlimit.h OPEN_MAX opt_rlimit.h +MAXDSIZ opt_rlimit.h +DFLDSIZ opt_rlimit.h # Net stuff. MROUTING opt_mrouting.h diff --git a/sys/i386/linux/imgact_linux.c b/sys/i386/linux/imgact_linux.c index 53db402..2a5b7ae 100644 --- a/sys/i386/linux/imgact_linux.c +++ b/sys/i386/linux/imgact_linux.c @@ -28,9 +28,11 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: imgact_linux.c,v 1.15 1996/05/02 10:43:12 phk Exp $ + * $Id: imgact_linux.c,v 1.16 1996/09/03 22:19:16 bde Exp $ */ +#include "opt_rlimit.h" + #include #include #include diff --git a/sys/kern/imgact_aout.c b/sys/kern/imgact_aout.c index 3c9d9a8..d94b051 100644 --- a/sys/kern/imgact_aout.c +++ b/sys/kern/imgact_aout.c @@ -23,9 +23,11 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: imgact_aout.c,v 1.28 1996/05/02 10:43:16 phk Exp $ + * $Id: imgact_aout.c,v 1.29 1996/08/31 16:52:22 bde Exp $ */ +#include "opt_rlimit.h" + #include #include #include diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c index 3eae35a..7abc805 100644 --- a/sys/kern/imgact_elf.c +++ b/sys/kern/imgact_elf.c @@ -26,9 +26,11 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: imgact_elf.c,v 1.11 1996/10/16 20:59:08 sos Exp $ + * $Id: imgact_elf.c,v 1.12 1996/10/24 19:13:00 sos Exp $ */ +#include "opt_rlimit.h" + #include #include #include diff --git a/sys/kern/imgact_gzip.c b/sys/kern/imgact_gzip.c index 32498ae..4b9689e 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.23 1996/08/01 22:00:14 phk Exp $ + * $Id: imgact_gzip.c,v 1.24 1996/08/31 16:52:24 bde Exp $ * * This module handles execution of a.out files which have been run through * "gzip". This saves diskspace, but wastes cpu-cycles and VM. @@ -21,6 +21,8 @@ * tidy up unnecesary includes */ +#include "opt_rlimit.h" + #include #include #include diff --git a/sys/kern/kern_resource.c b/sys/kern/kern_resource.c index e0fffd2..4c4aeab 100644 --- a/sys/kern/kern_resource.c +++ b/sys/kern/kern_resource.c @@ -36,9 +36,11 @@ * SUCH DAMAGE. * * @(#)kern_resource.c 8.5 (Berkeley) 1/21/94 - * $Id: kern_resource.c,v 1.19 1996/03/11 06:04:20 hsu Exp $ + * $Id: kern_resource.c,v 1.20 1996/06/08 11:48:28 bde Exp $ */ +#include "opt_rlimit.h" + #include #include #include diff --git a/sys/kern/sysv_shm.c b/sys/kern/sysv_shm.c index 04ef70b..91dd309 100644 --- a/sys/kern/sysv_shm.c +++ b/sys/kern/sysv_shm.c @@ -1,4 +1,4 @@ -/* $Id: sysv_shm.c,v 1.22 1996/09/07 03:24:44 dyson Exp $ */ +/* $Id: sysv_shm.c,v 1.24 1996/09/10 22:35:25 dyson Exp $ */ /* $NetBSD: sysv_shm.c,v 1.23 1994/07/04 23:25:12 glass Exp $ */ /* @@ -32,6 +32,7 @@ */ #include "opt_sysvipc.h" +#include "opt_rlimit.h" #include #include diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c index af888fa..30cf0a9 100644 --- a/sys/vm/vm_glue.c +++ b/sys/vm/vm_glue.c @@ -59,9 +59,11 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_glue.c,v 1.54 1996/10/15 03:16:44 dyson Exp $ + * $Id: vm_glue.c,v 1.55 1996/10/17 02:58:20 dyson Exp $ */ +#include "opt_rlimit.h" + #include #include #include diff --git a/sys/vm/vm_mmap.c b/sys/vm/vm_mmap.c index 3fe3b01..d1730ba 100644 --- a/sys/vm/vm_mmap.c +++ b/sys/vm/vm_mmap.c @@ -38,13 +38,15 @@ * from: Utah $Hdr: vm_mmap.c 1.6 91/10/21$ * * @(#)vm_mmap.c 8.4 (Berkeley) 1/12/94 - * $Id: vm_mmap.c,v 1.53 1996/10/29 22:07:11 dyson Exp $ + * $Id: vm_mmap.c,v 1.54 1996/12/14 17:54:17 dyson Exp $ */ /* * Mapped file (mmap) interface to VM */ +#include "opt_rlimit.h" + #include #include #include -- cgit v1.1