summaryrefslogtreecommitdiff
path: root/system/test-kernel/0122-link-security-restrictions.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-03-13 18:37:36 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2022-05-01 17:05:54 -0500
commit5ee14d3ae6662498723b1daf6f00f1a71521740f (patch)
tree9898987815da56f4f2b79c6e85ceb384c24ebb15 /system/test-kernel/0122-link-security-restrictions.patch
parent59e83832ec569bcc4b2dd0b39d5553aa5210cb81 (diff)
downloadpackages-5ee14d3ae6662498723b1daf6f00f1a71521740f.tar.gz
packages-5ee14d3ae6662498723b1daf6f00f1a71521740f.tar.bz2
packages-5ee14d3ae6662498723b1daf6f00f1a71521740f.tar.xz
packages-5ee14d3ae6662498723b1daf6f00f1a71521740f.zip
system/easy-kernel: Replace with 5.15 test-kernel
Diffstat (limited to 'system/test-kernel/0122-link-security-restrictions.patch')
-rw-r--r--system/test-kernel/0122-link-security-restrictions.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/system/test-kernel/0122-link-security-restrictions.patch b/system/test-kernel/0122-link-security-restrictions.patch
deleted file mode 100644
index f0ed144fb..000000000
--- a/system/test-kernel/0122-link-security-restrictions.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-From: Ben Hutchings <ben@decadent.org.uk>
-Subject: fs: Enable link security restrictions by default
-Date: Fri, 02 Nov 2012 05:32:06 +0000
-Bug-Debian: https://bugs.debian.org/609455
-Forwarded: not-needed
-This reverts commit 561ec64ae67ef25cac8d72bb9c4bfc955edfd415
-('VFS: don't do protected {sym,hard}links by default').
---- a/fs/namei.c 2018-09-28 07:56:07.770005006 -0400
-+++ b/fs/namei.c 2018-09-28 07:56:43.370349204 -0400
-@@ -885,8 +885,8 @@ static inline void put_link(struct namei
- path_put(&last->link);
- }
-
--int sysctl_protected_symlinks __read_mostly = 0;
--int sysctl_protected_hardlinks __read_mostly = 0;
-+int sysctl_protected_symlinks __read_mostly = 1;
-+int sysctl_protected_hardlinks __read_mostly = 1;
- int sysctl_protected_fifos __read_mostly;
- int sysctl_protected_regular __read_mostly;
-