From 9eb9943f82e0b2d5e32ffe1c63f5a82caca5094d Mon Sep 17 00:00:00 2001 From: "W. Michael Petullo" Date: Sun, 1 Nov 2020 07:44:56 -0600 Subject: refpolicy: add variant that builds modular policy This adds a variant of refpolicy that builds the modular form of the policy. While this requires more memory on the target device, along with some tricks to deal with OpenWrt's volatile /var directory, it is useful for experiementing with SELinux policy. Signed-off-by: W. Michael Petullo --- config/Config-build.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config') diff --git a/config/Config-build.in b/config/Config-build.in index 8e12199cbd..178afbdb94 100644 --- a/config/Config-build.in +++ b/config/Config-build.in @@ -362,6 +362,12 @@ menu "Global build settings" help SELinux Reference Policy (refpolicy) + config SELINUXTYPE_targeted-modular + bool "targeted-modular" + select PACKAGE_refpolicy-modular + help + Modular SELinux Reference Policy (refpolicy-modular) + config SELINUXTYPE_dssp bool "dssp" select PACKAGE_selinux-policy -- cgit v1.2.3