Blame SOURCES/fapolicyd-selinux.patch

c944e2
diff --color -ru a/fapolicyd-selinux-0.4/fapolicyd.te b/fapolicyd-selinux-0.4/fapolicyd.te
c944e2
--- a/fapolicyd-selinux-0.4/fapolicyd.te	2021-03-23 10:21:31.000000000 +0100
c944e2
+++ b/fapolicyd-selinux-0.4/fapolicyd.te	2021-11-19 10:24:20.000002248 +0100
c944e2
@@ -63,23 +63,13 @@
c944e2
 
c944e2
 files_mmap_usr_files(fapolicyd_t)
c944e2
 files_read_all_files(fapolicyd_t)
c944e2
-files_watch_mount_generic_tmp_dirs(fapolicyd_t)
c944e2
-files_watch_with_perm_generic_tmp_dirs(fapolicyd_t)
c944e2
-files_watch_mount_root_dirs(fapolicyd_t)
c944e2
-files_watch_with_perm_root_dirs(fapolicyd_t)
c944e2
 
c944e2
 fs_getattr_xattr_fs(fapolicyd_t)
c944e2
-fs_watch_mount_tmpfs_dirs(fapolicyd_t)
c944e2
-fs_watch_with_perm_tmpfs_dirs(fapolicyd_t)
c944e2
 
c944e2
 logging_send_syslog_msg(fapolicyd_t)
c944e2
 dbus_system_bus_client(fapolicyd_t)
c944e2
 
c944e2
-userdom_watch_mount_tmp_dirs(fapolicyd_t)
c944e2
-userdom_watch_with_perm_tmp_dirs(fapolicyd_t)
c944e2
-
c944e2
 optional_policy(`
c944e2
         rpm_read_db(fapolicyd_t)
c944e2
-        allow fapolicyd_t rpm_var_lib_t:file { create };
c944e2
-        allow fapolicyd_t rpm_var_lib_t:dir { add_name write };
c944e2
+        rpm_manage_db(fapolicyd_t)
c944e2
 ')