Module Name:    src
Committed By:   uebayasi
Date:           Fri Aug 21 07:19:39 UTC 2015

Modified Files:
        src/sys/conf: files
        src/sys/sys: syslimits.h

Log Message:
Define CHILD_MAX/OPEN_MAX as parameters.


To generate a diff of this commit:
cvs rdiff -u -r1.1135 -r1.1136 src/sys/conf/files
cvs rdiff -u -r1.27 -r1.28 src/sys/sys/syslimits.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/conf/files
diff -u src/sys/conf/files:1.1135 src/sys/conf/files:1.1136
--- src/sys/conf/files:1.1135	Fri Aug 21 02:18:18 2015
+++ src/sys/conf/files	Fri Aug 21 07:19:39 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: files,v 1.1135 2015/08/21 02:18:18 uebayasi Exp $
+#	$NetBSD: files,v 1.1136 2015/08/21 07:19:39 uebayasi Exp $
 #	@(#)files.newconf	7.5 (Berkeley) 5/10/93
 
 version 	20150820
@@ -26,6 +26,7 @@ defflag				COREDUMP
 defflag	opt_modular.h		MODULAR
 defflag	opt_modular.h		MODULAR_DEFAULT_AUTOLOAD
 defflag				KEYLOCK
+defparam opt_syslimits.h	CHILD_MAX OPEN_MAX
 
 defparam			DEFCORENAME
 defparam			HZ

Index: src/sys/sys/syslimits.h
diff -u src/sys/sys/syslimits.h:1.27 src/sys/sys/syslimits.h:1.28
--- src/sys/sys/syslimits.h:1.27	Fri Dec  7 07:06:39 2012
+++ src/sys/sys/syslimits.h	Fri Aug 21 07:19:39 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: syslimits.h,v 1.27 2012/12/07 07:06:39 dholland Exp $	*/
+/*	$NetBSD: syslimits.h,v 1.28 2015/08/21 07:19:39 uebayasi Exp $	*/
 
 /*
  * Copyright (c) 1988, 1993
@@ -36,6 +36,10 @@
 
 #include <sys/featuretest.h>
 
+#if defined(_KERNEL_OPT)
+#include "opt_syslimits.h"
+#endif
+
 #if defined(_POSIX_C_SOURCE) || defined(_XOPEN_SOURCE) || \
     defined(_NETBSD_SOURCE)
 #define	ARG_MAX		 (256 * 1024)	/* max bytes for an exec function */

Reply via email to