aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2020-09-29 02:47:25 +0100
committerDaniel Golle <daniel@makrotopia.org>2020-09-29 02:50:00 +0100
commit1a22964399cc33a32564c82eaf6cb494cacf5b99 (patch)
tree78c7de1f332999e7e3f4dcb9ffc92b8f59c082a7 /config
parent26aa7952d539f85dd60e36a5fcc37925a9b92d65 (diff)
downloadupstream-1a22964399cc33a32564c82eaf6cb494cacf5b99.tar.gz
upstream-1a22964399cc33a32564c82eaf6cb494cacf5b99.tar.bz2
upstream-1a22964399cc33a32564c82eaf6cb494cacf5b99.zip
config: prepare for choice of SELinux policy
Only 'targeted' from refpolicy is supported for now. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'config')
-rw-r--r--config/Config-build.in13
1 files changed, 12 insertions, 1 deletions
diff --git a/config/Config-build.in b/config/Config-build.in
index fc94f4d45e..2242470079 100644
--- a/config/Config-build.in
+++ b/config/Config-build.in
@@ -335,7 +335,18 @@ menu "Global build settings"
select KERNEL_F2FS_FS_SECURITY
select KERNEL_UBIFS_FS_SECURITY
select KERNEL_JFFS2_FS_SECURITY
- select PACKAGE_refpolicy
help
This option enables the usage of SELinux labels
+
+ choice
+ prompt "default SELinux type"
+ depends on TARGET_ROOTFS_SECURITY_LABELS
+ default SELINUXTYPE_targeted
+ help
+ Choose SELinux policy to be used for build.
+ config SELINUXTYPE_targeted
+ bool "targeted"
+ select PACKAGE_refpolicy
+ endchoice
+
endmenu