Index: security/Kconfig |
diff --git a/security/Kconfig b/security/Kconfig |
index 238415cbd9688aee8c07853fa2b6b16f554fee11..863a7405061afcac0863b378449a181f974fd419 100644 |
--- a/security/Kconfig |
+++ b/security/Kconfig |
@@ -163,6 +163,7 @@ source security/selinux/Kconfig |
source security/smack/Kconfig |
source security/tomoyo/Kconfig |
source security/apparmor/Kconfig |
+source security/yama/Kconfig |
source security/integrity/ima/Kconfig |
@@ -172,6 +173,7 @@ choice |
default DEFAULT_SECURITY_SMACK if SECURITY_SMACK |
default DEFAULT_SECURITY_TOMOYO if SECURITY_TOMOYO |
default DEFAULT_SECURITY_APPARMOR if SECURITY_APPARMOR |
+ default DEFAULT_SECURITY_YAMA if SECURITY_YAMA |
default DEFAULT_SECURITY_DAC |
help |
@@ -190,6 +192,9 @@ choice |
config DEFAULT_SECURITY_APPARMOR |
bool "AppArmor" if SECURITY_APPARMOR=y |
+ config DEFAULT_SECURITY_YAMA |
+ bool "Yama" if SECURITY_YAMA=y |
+ |
config DEFAULT_SECURITY_DAC |
bool "Unix Discretionary Access Controls" |
@@ -201,6 +206,7 @@ config DEFAULT_SECURITY |
default "smack" if DEFAULT_SECURITY_SMACK |
default "tomoyo" if DEFAULT_SECURITY_TOMOYO |
default "apparmor" if DEFAULT_SECURITY_APPARMOR |
+ default "yama" if DEFAULT_SECURITY_YAMA |
default "" if DEFAULT_SECURITY_DAC |
endmenu |