diff mbox series

[meta-selinux] refpolicy-targeted: remove useless POLICY_MLS_SENS setting

Message ID 20260831070753.1435111-1-chenqi_hycx@cetc.com.cn
State New
Headers show
Series [meta-selinux] refpolicy-targeted: remove useless POLICY_MLS_SENS setting | expand

Commit Message

Chen Qi Aug. 31, 2026, 7:07 a.m. UTC
From: Chen Qi <chenqi_hycx@cetc.com.cn>

When 'mcs' refpolicy type is used, the mls sens is hardcoded to 1.
See https://github.com/SELinuxProject/refpolicy/blob/main/policy/mcs#L7

So remove this POLICY_MLS_SENS as it's useless and misleading.

Signed-off-by: Chen Qi <chenqi_hycx@cetc.com.cn>
---
 recipes-security/refpolicy/refpolicy-targeted_git.bb | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/recipes-security/refpolicy/refpolicy-targeted_git.bb b/recipes-security/refpolicy/refpolicy-targeted_git.bb
index 321407d..b4bec46 100644
--- a/recipes-security/refpolicy/refpolicy-targeted_git.bb
+++ b/recipes-security/refpolicy/refpolicy-targeted_git.bb
@@ -8,7 +8,6 @@  enabled. \
 
 POLICY_NAME = "targeted"
 POLICY_TYPE = "mcs"
-POLICY_MLS_SENS = "0"
 
 include refpolicy_${PV}.inc