2007-02-07 00:58:50 +05:30
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see scripts/kbuild/config-language.txt.
|
|
|
|
#
|
|
|
|
|
2008-10-25 01:18:47 +05:30
|
|
|
menu "SELinux Utilities"
|
2007-02-07 00:58:50 +05:30
|
|
|
depends on SELINUX
|
|
|
|
|
2010-06-08 15:45:11 +05:30
|
|
|
INSERT
|
|
|
|
|
2007-03-10 22:28:49 +05:30
|
|
|
config CHCON
|
|
|
|
bool "chcon"
|
|
|
|
default n
|
|
|
|
depends on SELINUX
|
|
|
|
help
|
|
|
|
Enable support to change the security context of file.
|
|
|
|
|
|
|
|
config FEATURE_CHCON_LONG_OPTIONS
|
|
|
|
bool "Enable long options"
|
|
|
|
default y
|
2009-06-19 15:40:38 +05:30
|
|
|
depends on CHCON && LONG_OPTS
|
2007-03-10 22:28:49 +05:30
|
|
|
help
|
|
|
|
Support long options for the chcon applet.
|
|
|
|
|
2007-02-07 00:58:50 +05:30
|
|
|
config GETENFORCE
|
|
|
|
bool "getenforce"
|
|
|
|
default n
|
|
|
|
depends on SELINUX
|
|
|
|
help
|
|
|
|
Enable support to get the current mode of SELinux.
|
|
|
|
|
|
|
|
config GETSEBOOL
|
|
|
|
bool "getsebool"
|
|
|
|
default n
|
|
|
|
depends on SELINUX
|
|
|
|
help
|
|
|
|
Enable support to get SELinux boolean values.
|
|
|
|
|
2007-03-24 21:07:57 +05:30
|
|
|
config LOAD_POLICY
|
|
|
|
bool "load_policy"
|
|
|
|
default n
|
|
|
|
depends on SELINUX
|
|
|
|
help
|
|
|
|
Enable support to load SELinux policy.
|
|
|
|
|
2007-02-07 00:58:50 +05:30
|
|
|
config MATCHPATHCON
|
|
|
|
bool "matchpathcon"
|
|
|
|
default n
|
|
|
|
depends on SELINUX
|
|
|
|
help
|
|
|
|
Enable support to get default security context of the
|
|
|
|
specified path from the file contexts configuration.
|
|
|
|
|
2007-07-23 19:33:30 +05:30
|
|
|
config RESTORECON
|
|
|
|
bool "restorecon"
|
|
|
|
default n
|
|
|
|
depends on SELINUX
|
|
|
|
help
|
|
|
|
Enable support to relabel files. The feature is almost
|
|
|
|
the same as setfiles, but usage is a little different.
|
|
|
|
|
2007-03-10 22:28:49 +05:30
|
|
|
config RUNCON
|
|
|
|
bool "runcon"
|
|
|
|
default n
|
|
|
|
depends on SELINUX
|
|
|
|
help
|
|
|
|
Enable support to run command in speficied security context.
|
|
|
|
|
|
|
|
config FEATURE_RUNCON_LONG_OPTIONS
|
|
|
|
bool "Enable long options"
|
|
|
|
default y
|
2009-06-19 15:40:38 +05:30
|
|
|
depends on RUNCON && LONG_OPTS
|
2007-03-10 22:28:49 +05:30
|
|
|
help
|
|
|
|
Support long options for the runcon applet.
|
|
|
|
|
2007-02-07 00:58:50 +05:30
|
|
|
config SELINUXENABLED
|
|
|
|
bool "selinuxenabled"
|
|
|
|
default n
|
|
|
|
depends on SELINUX
|
|
|
|
help
|
|
|
|
Enable support for this command to be used within shell scripts
|
|
|
|
to determine if selinux is enabled.
|
|
|
|
|
|
|
|
config SETENFORCE
|
|
|
|
bool "setenforce"
|
|
|
|
default n
|
|
|
|
depends on SELINUX
|
|
|
|
help
|
|
|
|
Enable support to modify the mode SELinux is running in.
|
|
|
|
|
2007-07-23 19:33:30 +05:30
|
|
|
config SETFILES
|
|
|
|
bool "setfiles"
|
|
|
|
default n
|
|
|
|
depends on SELINUX
|
|
|
|
help
|
|
|
|
Enable support to modify to relabel files.
|
|
|
|
Notice: If you built libselinux with -D_FILE_OFFSET_BITS=64,
|
|
|
|
(It is default in libselinux's Makefile), you _must_ enable
|
|
|
|
CONFIG_LFS.
|
|
|
|
|
|
|
|
config FEATURE_SETFILES_CHECK_OPTION
|
|
|
|
bool "Enable check option"
|
|
|
|
default n
|
|
|
|
depends on SETFILES
|
|
|
|
help
|
|
|
|
Support "-c" option (check the validity of the contexts against
|
|
|
|
the specified binary policy) for setfiles. Requires libsepol.
|
|
|
|
|
2007-10-14 10:18:44 +05:30
|
|
|
config SETSEBOOL
|
|
|
|
bool "setsebool"
|
|
|
|
default n
|
|
|
|
depends on SELINUX
|
|
|
|
help
|
2007-10-14 10:25:59 +05:30
|
|
|
Enable support for change boolean.
|
2007-10-14 10:18:44 +05:30
|
|
|
semanage and -P option is not supported yet.
|
|
|
|
|
2007-11-22 06:40:41 +05:30
|
|
|
config SESTATUS
|
|
|
|
bool "sestatus"
|
|
|
|
default n
|
|
|
|
depends on SELINUX
|
|
|
|
help
|
|
|
|
Displays the status of SELinux.
|
|
|
|
|
2007-02-07 00:58:50 +05:30
|
|
|
endmenu
|
|
|
|
|