nfs-ganesha/0002-selinux-ganesha.te.patch
Kaleb S. KEITHLEY 14466c6a6e BuildRequires: make
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2020-11-05 13:44:36 -05:00

18 lines
618 B
Diff

diff --git a/src/selinux/ganesha.te b/src/selinux/ganesha.te
index 246f9cc8c..6692eedf2 100644
--- a/src/selinux/ganesha.te
+++ b/src/selinux/ganesha.te
@@ -307,3 +307,12 @@ allow ganesha_t self:capability { fowner setgid setuid };
# allow ganesha_t glusterd_brick_t:dir { add_name getattr open read write remove_name search };
# allow ganesha_t glusterd_brick_t:file { create getattr open read write unlink };
+########################################
+#
+# ganesha local policy rhbz#1855350
+
+ifdef(`ceph_read_lib_files',`
+ optional_policy(`
+ ceph_read_lib_files(ganesha_t)
+ ')
+')