1
0

Config.in 2.8 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 BUSYBOX_SELINUX
  7. config BUSYBOX_CHCON
  8. bool "chcon"
  9. default n
  10. depends on BUSYBOX_SELINUX
  11. help
  12. Enable support to change the security context of file.
  13. config BUSYBOX_FEATURE_CHCON_LONG_OPTIONS
  14. bool "Enable long options"
  15. default y
  16. depends on BUSYBOX_CHCON && BUSYBOX_LONG_OPTS
  17. help
  18. Support long options for the chcon applet.
  19. config BUSYBOX_GETENFORCE
  20. bool "getenforce"
  21. default n
  22. depends on BUSYBOX_SELINUX
  23. help
  24. Enable support to get the current mode of SELinux.
  25. config BUSYBOX_GETSEBOOL
  26. bool "getsebool"
  27. default n
  28. depends on BUSYBOX_SELINUX
  29. help
  30. Enable support to get SELinux boolean values.
  31. config BUSYBOX_LOAD_POLICY
  32. bool "load_policy"
  33. default n
  34. depends on BUSYBOX_SELINUX
  35. help
  36. Enable support to load SELinux policy.
  37. config BUSYBOX_MATCHPATHCON
  38. bool "matchpathcon"
  39. default n
  40. depends on BUSYBOX_SELINUX
  41. help
  42. Enable support to get default security context of the
  43. specified path from the file contexts configuration.
  44. config BUSYBOX_RESTORECON
  45. bool "restorecon"
  46. default n
  47. depends on BUSYBOX_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 BUSYBOX_RUNCON
  52. bool "runcon"
  53. default n
  54. depends on BUSYBOX_SELINUX
  55. help
  56. Enable support to run command in speficied security context.
  57. config BUSYBOX_FEATURE_RUNCON_LONG_OPTIONS
  58. bool "Enable long options"
  59. default y
  60. depends on BUSYBOX_RUNCON && BUSYBOX_LONG_OPTS
  61. help
  62. Support long options for the runcon applet.
  63. config BUSYBOX_SELINUXENABLED
  64. bool "selinuxenabled"
  65. default n
  66. depends on BUSYBOX_SELINUX
  67. help
  68. Enable support for this command to be used within shell scripts
  69. to determine if selinux is enabled.
  70. config BUSYBOX_SETENFORCE
  71. bool "setenforce"
  72. default n
  73. depends on BUSYBOX_SELINUX
  74. help
  75. Enable support to modify the mode SELinux is running in.
  76. config BUSYBOX_SETFILES
  77. bool "setfiles"
  78. default n
  79. depends on BUSYBOX_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 BUSYBOX_FEATURE_SETFILES_CHECK_OPTION
  86. bool "Enable check option"
  87. default n
  88. depends on BUSYBOX_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 BUSYBOX_SETSEBOOL
  93. bool "setsebool"
  94. default n
  95. depends on BUSYBOX_SELINUX
  96. help
  97. Enable support for change boolean.
  98. semanage and -P option is not supported yet.
  99. config BUSYBOX_SESTATUS
  100. bool "sestatus"
  101. default n
  102. depends on BUSYBOX_SELINUX
  103. help
  104. Displays the status of SELinux.
  105. endmenu