Config.in 2.5 KB

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