Blame SOURCES/selinux.patch

6358ee
diff -up ./fapolicyd-selinux-0.3/fapolicyd.te.selinux ./fapolicyd-selinux-0.3/fapolicyd.te
6358ee
--- ./fapolicyd-selinux-0.3/fapolicyd.te.selinux	2020-06-01 14:41:37.000000000 +0200
6358ee
+++ ./fapolicyd-selinux-0.3/fapolicyd.te	2021-03-19 10:50:13.885358270 +0100
6358ee
@@ -62,9 +62,14 @@ domain_read_all_domains_state(fapolicyd_
6358ee
 files_mmap_usr_files(fapolicyd_t)
6358ee
 files_read_all_files(fapolicyd_t)
6358ee
 fs_getattr_xattr_fs(fapolicyd_t)
6358ee
+kernel_read_all_sysctls(fapolicyd_t)
6358ee
+kernel_read_all_proc(fapolicyd_t)
2ceba8
 
6358ee
 logging_send_syslog_msg(fapolicyd_t)
6358ee
+dbus_system_bus_client(fapolicyd_t)
2ceba8
 
6358ee
 optional_policy(`
6358ee
-        rpm_read_db(fapolicyd_t)        
6358ee
+        rpm_read_db(fapolicyd_t)
6358ee
+        allow fapolicyd_t rpm_var_lib_t:file { create };
6358ee
+        allow fapolicyd_t rpm_var_lib_t:dir { add_name write };
6358ee
 ')