Kconfig 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. config SECURITY_TOMOYO
  2. bool "TOMOYO Linux Support"
  3. depends on SECURITY
  4. depends on NET
  5. select SECURITYFS
  6. select SECURITY_PATH
  7. select SECURITY_NETWORK
  8. default n
  9. help
  10. This selects TOMOYO Linux, pathname-based access control.
  11. Required userspace tools and further information may be
  12. found at <http://tomoyo.sourceforge.jp/>.
  13. If you are unsure how to answer this question, answer N.
  14. config SECURITY_TOMOYO_MAX_ACCEPT_ENTRY
  15. int "Default maximal count for learning mode"
  16. default 2048
  17. range 0 2147483647
  18. depends on SECURITY_TOMOYO
  19. help
  20. This is the default value for maximal ACL entries
  21. that are automatically appended into policy at "learning mode".
  22. Some programs access thousands of objects, so running
  23. such programs in "learning mode" dulls the system response
  24. and consumes much memory.
  25. This is the safeguard for such programs.
  26. config SECURITY_TOMOYO_MAX_AUDIT_LOG
  27. int "Default maximal count for audit log"
  28. default 1024
  29. range 0 2147483647
  30. depends on SECURITY_TOMOYO
  31. help
  32. This is the default value for maximal entries for
  33. audit logs that the kernel can hold on memory.
  34. You can read the log via /sys/kernel/security/tomoyo/audit.
  35. If you don't need audit logs, you may set this value to 0.
  36. config SECURITY_TOMOYO_OMIT_USERSPACE_LOADER
  37. bool "Activate without calling userspace policy loader."
  38. default n
  39. depends on SECURITY_TOMOYO
  40. ---help---
  41. Say Y here if you want to activate access control as soon as built-in
  42. policy was loaded. This option will be useful for systems where
  43. operations which can lead to the hijacking of the boot sequence are
  44. needed before loading the policy. For example, you can activate
  45. immediately after loading the fixed part of policy which will allow
  46. only operations needed for mounting a partition which contains the
  47. variant part of policy and verifying (e.g. running GPG check) and
  48. loading the variant part of policy. Since you can start using
  49. enforcing mode from the beginning, you can reduce the possibility of
  50. hijacking the boot sequence.
  51. config SECURITY_TOMOYO_POLICY_LOADER
  52. string "Location of userspace policy loader"
  53. default "/sbin/tomoyo-init"
  54. depends on SECURITY_TOMOYO
  55. depends on !SECURITY_TOMOYO_OMIT_USERSPACE_LOADER
  56. ---help---
  57. This is the default pathname of policy loader which is called before
  58. activation. You can override this setting via TOMOYO_loader= kernel
  59. command line option.
  60. config SECURITY_TOMOYO_ACTIVATION_TRIGGER
  61. string "Trigger for calling userspace policy loader"
  62. default "/sbin/init"
  63. depends on SECURITY_TOMOYO
  64. depends on !SECURITY_TOMOYO_OMIT_USERSPACE_LOADER
  65. ---help---
  66. This is the default pathname of activation trigger.
  67. You can override this setting via TOMOYO_trigger= kernel command line
  68. option. For example, if you pass init=/bin/systemd option, you may
  69. want to also pass TOMOYO_trigger=/bin/systemd option.