summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>1999-01-10 05:33:43 +0000
committerdes <des@FreeBSD.org>1999-01-10 05:33:43 +0000
commit710c564eff6e3b7b417bf56b31cd34a37a08daed (patch)
tree406a018672eae5c6ed5b99ff76505419b21b242b /sys/conf
parente50aa55751caccf7ccaf43d7a09795ff12967ade (diff)
downloadFreeBSD-src-710c564eff6e3b7b417bf56b31cd34a37a08daed.zip
FreeBSD-src-710c564eff6e3b7b417bf56b31cd34a37a08daed.tar.gz
Add kernel support for sysctl descriptions. The NO_SYSCTL_DESCRIPTIONS option
disables them if they're not wanted; in that case, sysctl_sysctl_descr will always return an empty string. Apporved by: jkh
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/NOTES5
-rw-r--r--sys/conf/options3
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index fbeb207..7fa3e23 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -2,7 +2,7 @@
# LINT -- config file for checking all the sources, tries to pull in
# as much of the source tree as it can.
#
-# $Id: LINT,v 1.528 1999/01/08 17:31:07 eivind Exp $
+# $Id: LINT,v 1.529 1999/01/09 18:12:07 wpaul Exp $
#
# NB: You probably don't want to try running a kernel built from this
# file. Instead, you should start from GENERIC, and add options from
@@ -772,6 +772,9 @@ options VINUMDEBUG #enable Vinum debugging hooks
# Size of the kernel message buffer. Should be N * pagesize.
options "MSGBUF_SIZE=40960"
+# Conserve space by not including sysctl descriptions (see sysctl(8))
+#options NO_SYSCTL_DESCRIPTIONS
+
#####################################################################
# HARDWARE DEVICE CONFIGURATION
diff --git a/sys/conf/options b/sys/conf/options
index 8e593d9..d401ef8 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -1,4 +1,4 @@
-# $Id: options,v 1.113 1998/12/28 16:31:26 peter Exp $
+# $Id: options,v 1.114 1999/01/08 17:31:05 eivind Exp $
#
# On the handling of kernel options
#
@@ -254,6 +254,7 @@ DIAGNOSTIC opt_global.h
ENABLE_VFS_IOOPT opt_global.h
INVARIANT_SUPPORT opt_global.h
INVARIANTS opt_global.h
+NO_SYSCTL_DESCRIPTIONS opt_global.h
SIMPLELOCK_DEBUG opt_global.h
VFS_BIO_DEBUG opt_global.h
OpenPOWER on IntegriCloud