* [gentoo-commits] proj/baselayout:master commit in: etc.Linux/sysctl.d/
@ 2020-02-10 4:21 William Hubbs
0 siblings, 0 replies; 2+ messages in thread
From: William Hubbs @ 2020-02-10 4:21 UTC (permalink / raw
To: gentoo-commits
commit: 14c91b2c9dc77d6fc81746b999b92187bd9cac82
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 10 01:47:40 2020 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Feb 10 04:12:03 2020 +0000
URL: https://gitweb.gentoo.org/proj/baselayout.git/commit/?id=14c91b2c
enable protected_symlinks and protected_hardlinks by default
Bug: https://bugs.gentoo.org/704914
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
etc.Linux/sysctl.d/00protected-links.conf | 2 ++
etc.Linux/sysctl.d/README | 15 +++++++++++++++
2 files changed, 17 insertions(+)
diff --git a/etc.Linux/sysctl.d/00protected-links.conf b/etc.Linux/sysctl.d/00protected-links.conf
new file mode 100644
index 00000000..5e4d7c6f
--- /dev/null
+++ b/etc.Linux/sysctl.d/00protected-links.conf
@@ -0,0 +1,2 @@
+fs.protected_symlinks = 1
+fs.protected_hardlinks = 1
diff --git a/etc.Linux/sysctl.d/README b/etc.Linux/sysctl.d/README
new file mode 100644
index 00000000..dc609ac9
--- /dev/null
+++ b/etc.Linux/sysctl.d/README
@@ -0,0 +1,15 @@
+For more information on how kernel parameter configuration works, please see
+the manpages sysctl(8) and sysctl.conf(5).
+
+In order for this to work properly, you must first
+enable 'Sysctl support' in the kernel.
+
+Look in /proc/sys/ for all the things you can setup.
+sysctl processes files that end in *.conf in directories in the
+following order before processing /etc/sysctl.conf.
+
+- /run/sysctl.d
+- /etc/sysctl.d
+- /usr/local/lib/sysctl.d
+- /usr/lib/sysctl.d
+- /lib/sysctl.d
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] proj/baselayout:master commit in: etc.Linux/sysctl.d/
@ 2021-09-25 22:31 William Hubbs
0 siblings, 0 replies; 2+ messages in thread
From: William Hubbs @ 2021-09-25 22:31 UTC (permalink / raw
To: gentoo-commits
commit: a2d4bbb4f23d9a91b41fad4f89f2c4cb7278cd30
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 25 22:29:44 2021 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sat Sep 25 22:31:23 2021 +0000
URL: https://gitweb.gentoo.org/proj/baselayout.git/commit/?id=a2d4bbb4
remove sysctl.d/README
This is not needed since we install our files now in /usr/lib/sysctl.d
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
etc.Linux/sysctl.d/README | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/etc.Linux/sysctl.d/README b/etc.Linux/sysctl.d/README
deleted file mode 100644
index dc609ac9..00000000
--- a/etc.Linux/sysctl.d/README
+++ /dev/null
@@ -1,15 +0,0 @@
-For more information on how kernel parameter configuration works, please see
-the manpages sysctl(8) and sysctl.conf(5).
-
-In order for this to work properly, you must first
-enable 'Sysctl support' in the kernel.
-
-Look in /proc/sys/ for all the things you can setup.
-sysctl processes files that end in *.conf in directories in the
-following order before processing /etc/sysctl.conf.
-
-- /run/sysctl.d
-- /etc/sysctl.d
-- /usr/local/lib/sysctl.d
-- /usr/lib/sysctl.d
-- /lib/sysctl.d
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-25 22:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-25 22:31 [gentoo-commits] proj/baselayout:master commit in: etc.Linux/sysctl.d/ William Hubbs
-- strict thread matches above, loose matches on Subject: below --
2020-02-10 4:21 William Hubbs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox