aboutsummaryrefslogtreecommitdiff
path: root/sbin/sysctl
diff options
context:
space:
mode:
authorBrad Davis <brd@FreeBSD.org>2018-08-11 13:28:03 +0000
committerBrad Davis <brd@FreeBSD.org>2018-08-11 13:28:03 +0000
commit40557b99f5966e4224d8eff9a127b5f9ad8aaa19 (patch)
treed60a8cb4e1f093db4c3820686e5c2e2596aa6d00 /sbin/sysctl
parentcea9c033f2db7b768bc48fe5c3e8d140d23da4e2 (diff)
downloadsrc-40557b99f5966e4224d8eff9a127b5f9ad8aaa19.tar.gz
src-40557b99f5966e4224d8eff9a127b5f9ad8aaa19.zip
Move sysctl.conf to sbin/sysctl/ and switch to CONFS.
This helps with pkgbase to tag this config file as a config file. Approved by: allanjude (mentor), will (mentor) Differential Revision: https://reviews.freebsd.org/D16559
Notes
Notes: svn path=/head/; revision=337624
Diffstat (limited to 'sbin/sysctl')
-rw-r--r--sbin/sysctl/Makefile1
-rw-r--r--sbin/sysctl/sysctl.conf9
2 files changed, 10 insertions, 0 deletions
diff --git a/sbin/sysctl/Makefile b/sbin/sysctl/Makefile
index 30099aedb34c..2069bd3382d2 100644
--- a/sbin/sysctl/Makefile
+++ b/sbin/sysctl/Makefile
@@ -2,6 +2,7 @@
# $FreeBSD$
PACKAGE=runtime
+CONFS= sysctl.conf
PROG= sysctl
WARNS?= 3
MAN= sysctl.8
diff --git a/sbin/sysctl/sysctl.conf b/sbin/sysctl/sysctl.conf
new file mode 100644
index 000000000000..0c9e796a7ac8
--- /dev/null
+++ b/sbin/sysctl/sysctl.conf
@@ -0,0 +1,9 @@
+# $FreeBSD$
+#
+# This file is read when going to multi-user and its contents piped thru
+# ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details.
+#
+
+# Uncomment this to prevent users from seeing information about processes that
+# are being run under another UID.
+#security.bsd.see_other_uids=0