aboutsummaryrefslogtreecommitdiffstats
path: root/main/linux-grsec/remove-cap-sys-admin-for-proc-sys.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/linux-grsec/remove-cap-sys-admin-for-proc-sys.patch')
-rw-r--r--main/linux-grsec/remove-cap-sys-admin-for-proc-sys.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/main/linux-grsec/remove-cap-sys-admin-for-proc-sys.patch b/main/linux-grsec/remove-cap-sys-admin-for-proc-sys.patch
deleted file mode 100644
index 6fa56ba134..0000000000
--- a/main/linux-grsec/remove-cap-sys-admin-for-proc-sys.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/fs/proc/proc_sysctl.c b/fs/proc/proc_sysctl.c
-index 1e6dc7e..d65d119 100644
---- a/fs/proc/proc_sysctl.c
-+++ b/fs/proc/proc_sysctl.c
-@@ -521,8 +521,6 @@ static ssize_t proc_sys_call_handler(struct file *filp, void __user *buf,
- dput(filp->f_path.dentry);
- if (!gr_acl_handle_open(filp->f_path.dentry, filp->f_path.mnt, op))
- goto out;
-- if (write && !capable(CAP_SYS_ADMIN))
-- goto out;
- #endif
-
- /* careful: calling conventions are nasty here */
-