Kconfig 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config SECURITY_SMACK
  3. bool "Simplified Mandatory Access Control Kernel Support"
  4. depends on NET
  5. depends on INET
  6. depends on SECURITY
  7. select NETLABEL
  8. select SECURITY_NETWORK
  9. default n
  10. help
  11. This selects the Simplified Mandatory Access Control Kernel.
  12. Smack is useful for sensitivity, integrity, and a variety
  13. of other mandatory security schemes.
  14. If you are unsure how to answer this question, answer N.
  15. config SECURITY_SMACK_BRINGUP
  16. bool "Reporting on access granted by Smack rules"
  17. depends on SECURITY_SMACK
  18. default n
  19. help
  20. Enable the bring-up ("b") access mode in Smack rules.
  21. When access is granted by a rule with the "b" mode a
  22. message about the access requested is generated. The
  23. intention is that a process can be granted a wide set
  24. of access initially with the bringup mode set on the
  25. rules. The developer can use the information to
  26. identify which rules are necessary and what accesses
  27. may be inappropriate. The developer can reduce the
  28. access rule set once the behavior is well understood.
  29. This is a superior mechanism to the oft abused
  30. "permissive" mode of other systems.
  31. If you are unsure how to answer this question, answer N.
  32. config SECURITY_SMACK_NETFILTER
  33. bool "Packet marking using secmarks for netfilter"
  34. depends on SECURITY_SMACK
  35. depends on NETWORK_SECMARK
  36. depends on NETFILTER
  37. default n
  38. help
  39. This enables security marking of network packets using
  40. Smack labels.
  41. If you are unsure how to answer this question, answer N.
  42. config SECURITY_SMACK_APPEND_SIGNALS
  43. bool "Treat delivering signals as an append operation"
  44. depends on SECURITY_SMACK
  45. default n
  46. help
  47. Sending a signal has been treated as a write operation to the
  48. receiving process. If this option is selected, the delivery
  49. will be an append operation instead. This makes it possible
  50. to differentiate between delivering a network packet and
  51. delivering a signal in the Smack rules.
  52. If you are unsure how to answer this question, answer N.