selinux support by Yuichi Nakamura <ynakam@hitachisoft.jp> (HitachiSoft)
This commit is contained in:
@@ -6,6 +6,20 @@
|
||||
menu "Selinux Utilities"
|
||||
depends on SELINUX
|
||||
|
||||
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
|
||||
depends on CHCON && GETOPT_LONG
|
||||
help
|
||||
Support long options for the chcon applet.
|
||||
|
||||
config GETENFORCE
|
||||
bool "getenforce"
|
||||
default n
|
||||
@@ -28,6 +42,20 @@ config MATCHPATHCON
|
||||
Enable support to get default security context of the
|
||||
specified path from the file contexts configuration.
|
||||
|
||||
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
|
||||
depends on RUNCON && GETOPT_LONG
|
||||
help
|
||||
Support long options for the runcon applet.
|
||||
|
||||
config SELINUXENABLED
|
||||
bool "selinuxenabled"
|
||||
default n
|
||||
|
@@ -6,8 +6,10 @@
|
||||
# Licensed under the GPL v2, see the file LICENSE in this tarball.
|
||||
|
||||
lib-y:=
|
||||
lib-$(CONFIG_CHCON) += chcon.o
|
||||
lib-$(CONFIG_GETENFORCE) += getenforce.o
|
||||
lib-$(CONFIG_GETSEBOOL) += getsebool.o
|
||||
lib-$(CONFIG_MATCHPATHCON) += matchpathcon.o
|
||||
lib-$(CONFIG_RUNCON) += runcon.o
|
||||
lib-$(CONFIG_SELINUXENABLED) += selinuxenabled.o
|
||||
lib-$(CONFIG_SETENFORCE) += setenforce.o
|
||||
|
Reference in New Issue
Block a user