Blame SOURCES/selinux.patch

a9f027
diff -up ./fapolicyd-selinux-0.3/fapolicyd.te.selinux ./fapolicyd-selinux-0.3/fapolicyd.te
a9f027
--- ./fapolicyd-selinux-0.3/fapolicyd.te.selinux	2020-11-16 20:26:57.777902314 +0100
a9f027
+++ ./fapolicyd-selinux-0.3/fapolicyd.te	2020-11-16 20:28:17.659857140 +0100
a9f027
@@ -64,7 +64,10 @@ files_read_all_files(fapolicyd_t)
a9f027
 fs_getattr_xattr_fs(fapolicyd_t)
a749e0
 
a9f027
 logging_send_syslog_msg(fapolicyd_t)
a9f027
+dbus_system_bus_client(fapolicyd_t)
a749e0
 
a9f027
 optional_policy(`
a9f027
-        rpm_read_db(fapolicyd_t)        
a9f027
+        rpm_read_db(fapolicyd_t)
a9f027
+        allow fapolicyd_t rpm_var_lib_t:file { create };
a9f027
+        allow fapolicyd_t rpm_var_lib_t:dir { add_name write };
a9f027
 ')