CBL-Mariner/SPECS/selinux-policy/0020-lvm-Add-fc-entry-for-e...

29 строки
839 B
Diff

From ac41c684b8a5d269c705e11ecc78384102674d71 Mon Sep 17 00:00:00 2001
From: Chris PeBenito <chpebeni@linux.microsoft.com>
Date: Tue, 7 Feb 2023 16:02:23 -0500
Subject: [PATCH 20/35] lvm: Add fc entry for /etc/multipath/*
Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com>
---
policy/modules/system/lvm.fc | 2 ++
1 file changed, 2 insertions(+)
MSFT_TAG: upstreamed
diff --git a/policy/modules/system/lvm.fc b/policy/modules/system/lvm.fc
index 836a472f1..cb3742b66 100644
--- a/policy/modules/system/lvm.fc
+++ b/policy/modules/system/lvm.fc
@@ -15,6 +15,8 @@
/etc/lvmtab(/.*)? gen_context(system_u:object_r:lvm_metadata_t,s0)
/etc/lvmtab\.d(/.*)? gen_context(system_u:object_r:lvm_metadata_t,s0)
+/etc/multipath(/.*)? gen_context(system_u:object_r:lvm_metadata_t,s0)
+
#
# /usr
#
--
2.34.1