| 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 SELINUX
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 | config CHCON
|
|---|
| 13 | bool "chcon"
|
|---|
| 14 | default n
|
|---|
| 15 | depends on SELINUX
|
|---|
| 16 | help
|
|---|
| 17 | Enable support to change the security context of file.
|
|---|
| 18 |
|
|---|
| 19 | config FEATURE_CHCON_LONG_OPTIONS
|
|---|
| 20 | bool "Enable long options"
|
|---|
| 21 | default y
|
|---|
| 22 | depends on CHCON && LONG_OPTS
|
|---|
| 23 | help
|
|---|
| 24 | Support long options for the chcon applet.
|
|---|
| 25 |
|
|---|
| 26 | config GETENFORCE
|
|---|
| 27 | bool "getenforce"
|
|---|
| 28 | default n
|
|---|
| 29 | depends on SELINUX
|
|---|
| 30 | help
|
|---|
| 31 | Enable support to get the current mode of SELinux.
|
|---|
| 32 |
|
|---|
| 33 | config GETSEBOOL
|
|---|
| 34 | bool "getsebool"
|
|---|
| 35 | default n
|
|---|
| 36 | depends on SELINUX
|
|---|
| 37 | help
|
|---|
| 38 | Enable support to get SELinux boolean values.
|
|---|
| 39 |
|
|---|
| 40 | config LOAD_POLICY
|
|---|
| 41 | bool "load_policy"
|
|---|
| 42 | default n
|
|---|
| 43 | depends on SELINUX
|
|---|
| 44 | help
|
|---|
| 45 | Enable support to load SELinux policy.
|
|---|
| 46 |
|
|---|
| 47 | config MATCHPATHCON
|
|---|
| 48 | bool "matchpathcon"
|
|---|
| 49 | default n
|
|---|
| 50 | depends on SELINUX
|
|---|
| 51 | help
|
|---|
| 52 | Enable support to get default security context of the
|
|---|
| 53 | specified path from the file contexts configuration.
|
|---|
| 54 |
|
|---|
| 55 | config RESTORECON
|
|---|
| 56 | bool "restorecon"
|
|---|
| 57 | default n
|
|---|
| 58 | depends on 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 RUNCON
|
|---|
| 64 | bool "runcon"
|
|---|
| 65 | default n
|
|---|
| 66 | depends on SELINUX
|
|---|
| 67 | help
|
|---|
| 68 | Enable support to run command in speficied security context.
|
|---|
| 69 |
|
|---|
| 70 | config FEATURE_RUNCON_LONG_OPTIONS
|
|---|
| 71 | bool "Enable long options"
|
|---|
| 72 | default y
|
|---|
| 73 | depends on RUNCON && LONG_OPTS
|
|---|
| 74 | help
|
|---|
| 75 | Support long options for the runcon applet.
|
|---|
| 76 |
|
|---|
| 77 | config SELINUXENABLED
|
|---|
| 78 | bool "selinuxenabled"
|
|---|
| 79 | default n
|
|---|
| 80 | depends on 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 SETENFORCE
|
|---|
| 86 | bool "setenforce"
|
|---|
| 87 | default n
|
|---|
| 88 | depends on SELINUX
|
|---|
| 89 | help
|
|---|
| 90 | Enable support to modify the mode SELinux is running in.
|
|---|
| 91 |
|
|---|
| 92 | config SETFILES
|
|---|
| 93 | bool "setfiles"
|
|---|
| 94 | default n
|
|---|
| 95 | depends on 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 FEATURE_SETFILES_CHECK_OPTION
|
|---|
| 103 | bool "Enable check option"
|
|---|
| 104 | default n
|
|---|
| 105 | depends on 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 SETSEBOOL
|
|---|
| 111 | bool "setsebool"
|
|---|
| 112 | default n
|
|---|
| 113 | depends on SELINUX
|
|---|
| 114 | help
|
|---|
| 115 | Enable support for change boolean.
|
|---|
| 116 | semanage and -P option is not supported yet.
|
|---|
| 117 |
|
|---|
| 118 | config SESTATUS
|
|---|
| 119 | bool "sestatus"
|
|---|
| 120 | default n
|
|---|
| 121 | depends on SELINUX
|
|---|
| 122 | help
|
|---|
| 123 | Displays the status of SELinux.
|
|---|
| 124 |
|
|---|
| 125 | endmenu
|
|---|