summaryrefslogtreecommitdiff
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 6c08e51..42bca66 100644
--- a/selinux/Config.in
+++ b/selinux/Config.in
@@ -34,6 +34,13 @@ config GETSEBOOL
help
Enable support to get SELinux boolean values.
+config LOAD_POLICY
+ bool "load_policy"
+ default n
+ depends on SELINUX
+ help
+ Enable support to load SELinux policy.
+
config MATCHPATHCON
bool "matchpathcon"
default n
diff --git a/selinux/Kbuild b/selinux/Kbuild
index 398d136..09cae4d 100644
--- a/selinux/Kbuild
+++ b/selinux/Kbuild
@@ -9,6 +9,7 @@ lib-y:=
lib-$(CONFIG_CHCON) += chcon.o
lib-$(CONFIG_GETENFORCE) += getenforce.o
lib-$(CONFIG_GETSEBOOL) += getsebool.o
+lib-$(CONFIG_LOAD_POLICY) += load_policy.o
lib-$(CONFIG_MATCHPATHCON) += matchpathcon.o
lib-$(CONFIG_RUNCON) += runcon.o
lib-$(CONFIG_SELINUXENABLED) += selinuxenabled.o