Blame SOURCES/fapolicyd-selinux-2.patch

b0079f
diff -up ./fapolicyd-selinux-0.4/fapolicyd.te.selinux2 ./fapolicyd-selinux-0.4/fapolicyd.te
b0079f
--- ./fapolicyd-selinux-0.4/fapolicyd.te.selinux2	2022-11-11 10:46:51.016420807 +0100
b0079f
+++ ./fapolicyd-selinux-0.4/fapolicyd.te	2022-11-11 10:47:25.161793205 +0100
b0079f
@@ -39,10 +39,15 @@ allow fapolicyd_t self:unix_dgram_socket
b0079f
 
b0079f
 gen_require(`
b0079f
 	attribute file_type;
b0079f
+    attribute filesystem_type;
b0079f
+    attribute mountpoint;
b0079f
 ')
b0079f
 allow fapolicyd_t file_type:dir { watch_mount watch_with_perm };
b0079f
 allow fapolicyd_t file_type:file { watch_mount watch_with_perm };
b0079f
 
b0079f
+allow fapolicyd_t filesystem_type : filesystem { watch };
b0079f
+allow fapolicyd_t mountpoint : dir { watch_sb };
b0079f
+
b0079f
 manage_files_pattern(fapolicyd_t, fapolicyd_log_t, fapolicyd_log_t)
b0079f
 logging_log_filetrans(fapolicyd_t, fapolicyd_log_t, file)
b0079f