smack: add permissive mode for debugging purpose
[platform/kernel/linux-arm64.git] / security / smack / Kconfig
1 config SECURITY_SMACK
2         bool "Simplified Mandatory Access Control Kernel Support"
3         depends on NET
4         depends on INET
5         depends on SECURITY
6         select NETLABEL
7         select SECURITY_NETWORK
8         default n
9         help
10           This selects the Simplified Mandatory Access Control Kernel.
11           Smack is useful for sensitivity, integrity, and a variety
12           of other mandatory security schemes.
13           If you are unsure how to answer this question, answer N.
14
15 config SECURITY_SMACK_PERMISSIVE_MODE
16         bool "Enable Permissive mode for debugging purpose"
17         depends on SECURITY_SMACK
18         help
19           This selects the permissive mode of smack for debug purpose. This
20           do not block any access of the smack policy and just warn the block
21           by log message.