summaryrefslogtreecommitdiffstats
path: root/security-yama-Remove-unnecessary-selects-from-Kconfi.patch
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@fedoraproject.org>2015-03-02 10:14:15 -0500
committerJosh Boyer <jwboyer@fedoraproject.org>2015-03-02 10:16:47 -0500
commitebce054077d69a2ad55196985c64708a0601bbce (patch)
tree7c1b8f68213f26cf1e596beabc7b8d36b177690d /security-yama-Remove-unnecessary-selects-from-Kconfi.patch
parente6b799b67d2dc6cc1491f78a1a89decfcaaf656b (diff)
downloadkernel-ebce054077d69a2ad55196985c64708a0601bbce.tar.gz
kernel-ebce054077d69a2ad55196985c64708a0601bbce.tar.xz
kernel-ebce054077d69a2ad55196985c64708a0601bbce.zip
Enable YAMA (rhbz 1196825)
Diffstat (limited to 'security-yama-Remove-unnecessary-selects-from-Kconfi.patch')
-rw-r--r--security-yama-Remove-unnecessary-selects-from-Kconfi.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/security-yama-Remove-unnecessary-selects-from-Kconfi.patch b/security-yama-Remove-unnecessary-selects-from-Kconfi.patch
new file mode 100644
index 000000000..aa2a0d3c2
--- /dev/null
+++ b/security-yama-Remove-unnecessary-selects-from-Kconfi.patch
@@ -0,0 +1,28 @@
+From: Stephen Smalley <sds@tycho.nsa.gov>
+Date: Fri, 27 Feb 2015 16:23:59 -0500
+Subject: [PATCH] security/yama: Remove unnecessary selects from Kconfig.
+
+Yama selects SECURITYFS and SECURITY_PATH, but requires neither.
+Remove them.
+
+Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
+---
+ security/yama/Kconfig | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/security/yama/Kconfig b/security/yama/Kconfig
+index 20ef5143c0c0..3123e1da2fed 100644
+--- a/security/yama/Kconfig
++++ b/security/yama/Kconfig
+@@ -1,8 +1,6 @@
+ config SECURITY_YAMA
+ bool "Yama support"
+ depends on SECURITY
+- select SECURITYFS
+- select SECURITY_PATH
+ default n
+ help
+ This selects Yama, which extends DAC support with additional
+--
+2.1.0
+