Config.src 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see scripts/kbuild/config-language.txt.
  4. #
  5. menu "SELinux Utilities"
  6. depends on SELINUX
  7. INSERT
  8. config CHCON
  9. bool "chcon"
  10. default n
  11. depends on SELINUX
  12. help
  13. Enable support to change the security context of file.
  14. config FEATURE_CHCON_LONG_OPTIONS
  15. bool "Enable long options"
  16. default y
  17. depends on CHCON && LONG_OPTS
  18. help
  19. Support long options for the chcon applet.
  20. config GETENFORCE
  21. bool "getenforce"
  22. default n
  23. depends on SELINUX
  24. help
  25. Enable support to get the current mode of SELinux.
  26. config GETSEBOOL
  27. bool "getsebool"
  28. default n
  29. depends on SELINUX
  30. help
  31. Enable support to get SELinux boolean values.
  32. config LOAD_POLICY
  33. bool "load_policy"
  34. default n
  35. depends on SELINUX
  36. help
  37. Enable support to load SELinux policy.
  38. config MATCHPATHCON
  39. bool "matchpathcon"
  40. default n
  41. depends on SELINUX
  42. help
  43. Enable support to get default security context of the
  44. specified path from the file contexts configuration.
  45. config RESTORECON
  46. bool "restorecon"
  47. default n
  48. depends on SELINUX
  49. help
  50. Enable support to relabel files. The feature is almost
  51. the same as setfiles, but usage is a little different.
  52. config RUNCON
  53. bool "runcon"
  54. default n
  55. depends on SELINUX
  56. help
  57. Enable support to run command in speficied security context.
  58. config FEATURE_RUNCON_LONG_OPTIONS
  59. bool "Enable long options"
  60. default y
  61. depends on RUNCON && LONG_OPTS
  62. help
  63. Support long options for the runcon applet.
  64. config SELINUXENABLED
  65. bool "selinuxenabled"
  66. default n
  67. depends on SELINUX
  68. help
  69. Enable support for this command to be used within shell scripts
  70. to determine if selinux is enabled.
  71. config SETENFORCE
  72. bool "setenforce"
  73. default n
  74. depends on SELINUX
  75. help
  76. Enable support to modify the mode SELinux is running in.
  77. config SETFILES
  78. bool "setfiles"
  79. default n
  80. depends on SELINUX
  81. help
  82. Enable support to modify to relabel files.
  83. Notice: If you built libselinux with -D_FILE_OFFSET_BITS=64,
  84. (It is default in libselinux's Makefile), you _must_ enable
  85. CONFIG_LFS.
  86. config FEATURE_SETFILES_CHECK_OPTION
  87. bool "Enable check option"
  88. default n
  89. depends on SETFILES
  90. help
  91. Support "-c" option (check the validity of the contexts against
  92. the specified binary policy) for setfiles. Requires libsepol.
  93. config SETSEBOOL
  94. bool "setsebool"
  95. default n
  96. depends on SELINUX
  97. help
  98. Enable support for change boolean.
  99. semanage and -P option is not supported yet.
  100. config SESTATUS
  101. bool "sestatus"
  102. default n
  103. depends on SELINUX
  104. help
  105. Displays the status of SELinux.
  106. endmenu