smack: add permissive mode for debugging purpose
[platform/kernel/linux-arm64.git] / security / smack / Kconfig
index e69de9c..9da1158 100644 (file)
@@ -12,3 +12,10 @@ config SECURITY_SMACK
          of other mandatory security schemes.
          If you are unsure how to answer this question, answer N.
 
+config SECURITY_SMACK_PERMISSIVE_MODE
+       bool "Enable Permissive mode for debugging purpose"
+       depends on SECURITY_SMACK
+       help
+         This selects the permissive mode of smack for debug purpose. This
+         do not block any access of the smack policy and just warn the block
+         by log message.