Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Define CHILD_MAX/OPEN_MAX as parameters.
details: https://anonhg.NetBSD.org/src/rev/5ef7626f7f8b
branches: trunk
changeset: 340058:5ef7626f7f8b
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Fri Aug 21 07:19:39 2015 +0000
description:
Define CHILD_MAX/OPEN_MAX as parameters.
diffstat:
sys/conf/files | 3 ++-
sys/sys/syslimits.h | 6 +++++-
2 files changed, 7 insertions(+), 2 deletions(-)
diffs (37 lines):
diff -r 6545e5c31692 -r 5ef7626f7f8b sys/conf/files
--- a/sys/conf/files Fri Aug 21 06:56:35 2015 +0000
+++ b/sys/conf/files Fri Aug 21 07:19:39 2015 +0000
@@ -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 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
diff -r 6545e5c31692 -r 5ef7626f7f8b sys/sys/syslimits.h
--- a/sys/sys/syslimits.h Fri Aug 21 06:56:35 2015 +0000
+++ b/sys/sys/syslimits.h Fri Aug 21 07:19:39 2015 +0000
@@ -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 */
Home |
Main Index |
Thread Index |
Old Index