Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Aug 2018 13:28:03 +0000 (UTC)
From:      Brad Davis <brd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r337624 - in head: etc sbin/sysctl
Message-ID:  <201808111328.w7BDS3UH021653@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brd
Date: Sat Aug 11 13:28:03 2018
New Revision: 337624
URL: https://svnweb.freebsd.org/changeset/base/337624

Log:
  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

Added:
  head/sbin/sysctl/sysctl.conf
     - copied unchanged from r337623, head/etc/sysctl.conf
Deleted:
  head/etc/sysctl.conf
Modified:
  head/etc/Makefile
  head/sbin/sysctl/Makefile

Modified: head/etc/Makefile
==============================================================================
--- head/etc/Makefile	Sat Aug 11 13:25:39 2018	(r337623)
+++ head/etc/Makefile	Sat Aug 11 13:28:03 2018	(r337624)
@@ -41,7 +41,6 @@ BIN1=	crontab \
 	remote \
 	rpc \
 	services \
-	sysctl.conf \
 	syslog.conf \
 	termcap.small
 

Modified: head/sbin/sysctl/Makefile
==============================================================================
--- head/sbin/sysctl/Makefile	Sat Aug 11 13:25:39 2018	(r337623)
+++ head/sbin/sysctl/Makefile	Sat Aug 11 13:28:03 2018	(r337624)
@@ -2,6 +2,7 @@
 # $FreeBSD$
 
 PACKAGE=runtime
+CONFS=	sysctl.conf
 PROG=	sysctl
 WARNS?=	3
 MAN=	sysctl.8

Copied: head/sbin/sysctl/sysctl.conf (from r337623, head/etc/sysctl.conf)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sbin/sysctl/sysctl.conf	Sat Aug 11 13:28:03 2018	(r337624, copy of r337623, head/etc/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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808111328.w7BDS3UH021653>