fapolicyd: Fix selint issue.

Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com>
This commit is contained in:
Chris PeBenito 2022-09-20 09:52:11 -04:00
parent 82d80bf957
commit 3c9564a802

View File

@ -103,7 +103,7 @@ ps_process_pattern(fagenrules_t, fapolicyd_t)
# /sbin/fagenrules copies compiled rules into /etc/faplicyd then calls restorecon
# on new /etc/fapolicy/compiled.rules
allow fagenrules_t fapolicyd_compiled_rules_t:file { relabelfrom relabelto };
allow fagenrules_t fapolicyd_compiled_rules_t:file relabel_file_perms;
filetrans_pattern(fagenrules_t, fapolicyd_config_t, fapolicyd_compiled_rules_t, file)
manage_files_pattern(fagenrules_t, fapolicyd_config_t, fapolicyd_compiled_rules_t)