selinux-policy/backport-Allow-haproxy-get-attributes-of-filesystems-with-ext.patch
2022-09-05 10:17:25 +08:00

31 lines
872 B
Diff

From b1497c15f68bf0ceac2b19684582266e717bd079 Mon Sep 17 00:00:00 2001
From: Zdenek Pytela <zpytela@redhat.com>
Date: Thu, 23 Dec 2021 10:53:06 +0100
Subject: [PATCH] Allow haproxy get attributes of filesystems with extended
attributes
Reference: https://gitbub.com/fedora-selinux/selinux-policy/commit/b1497c15f68bf0ceac2b19684582266e717bd079
Conflict: NA
Resolves: rhbz#2035132
Signed-off-by: lujie54 <lujie54@huawei.com>
---
policy/modules/contrib/rhcs.te | 1 +
1 file changed, 1 insertion(+)
diff --git a/policy/modules/contrib/rhcs.te b/policy/modules/contrib/rhcs.te
index b143e2b..c6633bb 100644
--- a/policy/modules/contrib/rhcs.te
+++ b/policy/modules/contrib/rhcs.te
@@ -666,6 +666,7 @@ dev_read_rand(haproxy_t)
dev_read_urand(haproxy_t)
fs_getattr_cgroup(haproxy_t)
+fs_getattr_xattr_fs(haproxy_t)
sysnet_dns_name_resolve(haproxy_t)
--
1.8.3.1