aboutsummaryrefslogtreecommitdiff
path: root/selinux
diff options
context:
space:
mode:
Diffstat (limited to 'selinux')
-rw-r--r--selinux/Config.in7
-rw-r--r--selinux/Kbuild1
2 files changed, 8 insertions, 0 deletions
diff --git a/selinux/Config.in b/selinux/Config.in
index 6c08e51b7..42bca66d6 100644
--- a/selinux/Config.in
+++ b/selinux/Config.in
@@ -34,6 +34,13 @@ config GETSEBOOL
34 help 34 help
35 Enable support to get SELinux boolean values. 35 Enable support to get SELinux boolean values.
36 36
37config LOAD_POLICY
38 bool "load_policy"
39 default n
40 depends on SELINUX
41 help
42 Enable support to load SELinux policy.
43
37config MATCHPATHCON 44config MATCHPATHCON
38 bool "matchpathcon" 45 bool "matchpathcon"
39 default n 46 default n
diff --git a/selinux/Kbuild b/selinux/Kbuild
index 398d1368d..09cae4d2d 100644
--- a/selinux/Kbuild
+++ b/selinux/Kbuild
@@ -9,6 +9,7 @@ lib-y:=
9lib-$(CONFIG_CHCON) += chcon.o 9lib-$(CONFIG_CHCON) += chcon.o
10lib-$(CONFIG_GETENFORCE) += getenforce.o 10lib-$(CONFIG_GETENFORCE) += getenforce.o
11lib-$(CONFIG_GETSEBOOL) += getsebool.o 11lib-$(CONFIG_GETSEBOOL) += getsebool.o
12lib-$(CONFIG_LOAD_POLICY) += load_policy.o
12lib-$(CONFIG_MATCHPATHCON) += matchpathcon.o 13lib-$(CONFIG_MATCHPATHCON) += matchpathcon.o
13lib-$(CONFIG_RUNCON) += runcon.o 14lib-$(CONFIG_RUNCON) += runcon.o
14lib-$(CONFIG_SELINUXENABLED) += selinuxenabled.o 15lib-$(CONFIG_SELINUXENABLED) += selinuxenabled.o