aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-01-16 13:31:55 +0000
committerBruce Evans <bde@FreeBSD.org>1997-01-16 13:31:55 +0000
commitf7b630a4031affb2450a27300385a5bbbecba9cf (patch)
tree417df5b8a9a32ff4f21faf44508a9dc12f9721ca /sys
parent5131d64e0c399c7348e406b4bc5169f0bb1567a6 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/files1
-rw-r--r--sys/kern/kern_opt.c17
2 files changed, 18 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files
index 9a6dc0a79a8a..3d31c005dfa9 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -56,6 +56,7 @@ kern/kern_lockf.c standard
kern/kern_malloc.c standard
kern/kern_mib.c standard
kern/kern_ntptime.c standard
+kern/kern_opt.c standard
kern/kern_physio.c standard
kern/kern_proc.c standard
kern/kern_prot.c standard
diff --git a/sys/kern/kern_opt.c b/sys/kern/kern_opt.c
new file mode 100644
index 000000000000..cefa7a88e5a3
--- /dev/null
+++ b/sys/kern/kern_opt.c
@@ -0,0 +1,17 @@
+#include "opt_defunct.h"
+
+#ifdef CHILD_MAX
+#warning "obsolete option CHILD_MAX - rename it to PROC0_RLIMIT_NPROC"
+#endif
+
+#ifdef GATEWAY
+#warning "obsolete option EXTRAVNODES - use `sysctl -w kern.maxvnodes=value'"
+#endif
+
+#ifdef GATEWAY
+#warning "obsolete option GATEWAY - use `sysctl -w net.inet.ip_forwarding=1'"
+#endif
+
+#ifdef OPEN_MAX
+#warning "obsolete option OPEN_MAX - rename it to PROC0_RLIMIT_NOFILE"
+#endif