| 1 | # DO NOT EDIT. This file is generated from Config.src |
| 2 | # |
| 3 | # For a description of the syntax of this configuration file, |
| 4 | # see scripts/kbuild/config-language.txt. |
| 5 | # |
| 6 | |
| 7 | menu "SELinux Utilities" |
| 8 | depends on BUSYBOX_CONFIG_SELINUX |
| 9 | |
| 10 | |
| 11 | |
| 12 | config BUSYBOX_CONFIG_CHCON |
| 13 | bool "chcon" |
| 14 | default n |
| 15 | depends on BUSYBOX_CONFIG_SELINUX |
| 16 | help |
| 17 | Enable support to change the security context of file. |
| 18 | |
| 19 | config BUSYBOX_CONFIG_FEATURE_CHCON_LONG_OPTIONS |
| 20 | bool "Enable long options" |
| 21 | default n |
| 22 | depends on BUSYBOX_CONFIG_CHCON && BUSYBOX_CONFIG_LONG_OPTS |
| 23 | help |
| 24 | Support long options for the chcon applet. |
| 25 | |
| 26 | config BUSYBOX_CONFIG_GETENFORCE |
| 27 | bool "getenforce" |
| 28 | default n |
| 29 | depends on BUSYBOX_CONFIG_SELINUX |
| 30 | help |
| 31 | Enable support to get the current mode of SELinux. |
| 32 | |
| 33 | config BUSYBOX_CONFIG_GETSEBOOL |
| 34 | bool "getsebool" |
| 35 | default n |
| 36 | depends on BUSYBOX_CONFIG_SELINUX |
| 37 | help |
| 38 | Enable support to get SELinux boolean values. |
| 39 | |
| 40 | config BUSYBOX_CONFIG_LOAD_POLICY |
| 41 | bool "load_policy" |
| 42 | default n |
| 43 | depends on BUSYBOX_CONFIG_SELINUX |
| 44 | help |
| 45 | Enable support to load SELinux policy. |
| 46 | |
| 47 | config BUSYBOX_CONFIG_MATCHPATHCON |
| 48 | bool "matchpathcon" |
| 49 | default n |
| 50 | depends on BUSYBOX_CONFIG_SELINUX |
| 51 | help |
| 52 | Enable support to get default security context of the |
| 53 | specified path from the file contexts configuration. |
| 54 | |
| 55 | config BUSYBOX_CONFIG_RESTORECON |
| 56 | bool "restorecon" |
| 57 | default n |
| 58 | depends on BUSYBOX_CONFIG_SELINUX |
| 59 | help |
| 60 | Enable support to relabel files. The feature is almost |
| 61 | the same as setfiles, but usage is a little different. |
| 62 | |
| 63 | config BUSYBOX_CONFIG_RUNCON |
| 64 | bool "runcon" |
| 65 | default n |
| 66 | depends on BUSYBOX_CONFIG_SELINUX |
| 67 | help |
| 68 | Enable support to run command in speficied security context. |
| 69 | |
| 70 | config BUSYBOX_CONFIG_FEATURE_RUNCON_LONG_OPTIONS |
| 71 | bool "Enable long options" |
| 72 | default n |
| 73 | depends on BUSYBOX_CONFIG_RUNCON && BUSYBOX_CONFIG_LONG_OPTS |
| 74 | help |
| 75 | Support long options for the runcon applet. |
| 76 | |
| 77 | config BUSYBOX_CONFIG_SELINUXENABLED |
| 78 | bool "selinuxenabled" |
| 79 | default n |
| 80 | depends on BUSYBOX_CONFIG_SELINUX |
| 81 | help |
| 82 | Enable support for this command to be used within shell scripts |
| 83 | to determine if selinux is enabled. |
| 84 | |
| 85 | config BUSYBOX_CONFIG_SETENFORCE |
| 86 | bool "setenforce" |
| 87 | default n |
| 88 | depends on BUSYBOX_CONFIG_SELINUX |
| 89 | help |
| 90 | Enable support to modify the mode SELinux is running in. |
| 91 | |
| 92 | config BUSYBOX_CONFIG_SETFILES |
| 93 | bool "setfiles" |
| 94 | default n |
| 95 | depends on BUSYBOX_CONFIG_SELINUX |
| 96 | help |
| 97 | Enable support to modify to relabel files. |
| 98 | Notice: If you built libselinux with -D_FILE_OFFSET_BITS=64, |
| 99 | (It is default in libselinux's Makefile), you _must_ enable |
| 100 | CONFIG_LFS. |
| 101 | |
| 102 | config BUSYBOX_CONFIG_FEATURE_SETFILES_CHECK_OPTION |
| 103 | bool "Enable check option" |
| 104 | default n |
| 105 | depends on BUSYBOX_CONFIG_SETFILES |
| 106 | help |
| 107 | Support "-c" option (check the validity of the contexts against |
| 108 | the specified binary policy) for setfiles. Requires libsepol. |
| 109 | |
| 110 | config BUSYBOX_CONFIG_SETSEBOOL |
| 111 | bool "setsebool" |
| 112 | default n |
| 113 | depends on BUSYBOX_CONFIG_SELINUX |
| 114 | help |
| 115 | Enable support for change boolean. |
| 116 | semanage and -P option is not supported yet. |
| 117 | |
| 118 | config BUSYBOX_CONFIG_SESTATUS |
| 119 | bool "sestatus" |
| 120 | default n |
| 121 | depends on BUSYBOX_CONFIG_SELINUX |
| 122 | help |
| 123 | Displays the status of SELinux. |
| 124 | |
| 125 | endmenu |
| 126 | |