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