Skip to content

Commit

Permalink
Allow setsebool_t relabel selinux data files
Browse files Browse the repository at this point in the history
  • Loading branch information
zpytela committed Aug 29, 2024
1 parent c8d8d4f commit 74c5b06
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions policy/modules/system/selinuxutil.te
Original file line number Diff line number Diff line change
Expand Up @@ -579,9 +579,15 @@ optional_policy(`
#
# setsebool local policy
#
allow setsebool_t file_context_t:file { relabelfrom relabelto };
allow setsebool_t selinux_config_t:file { relabelfrom relabelto };
allow setsebool_t semanage_store_t:dir { relabelfrom relabelto };
allow setsebool_t semanage_store_t:file { relabelfrom relabelto };

seutil_semanage_policy(setsebool_t)
selinux_set_all_booleans(setsebool_t)

domain_obj_id_change_exemption(setsebool_t)
init_dontaudit_use_fds(setsebool_t)

# Bug in semanage
Expand Down

0 comments on commit 74c5b06

Please sign in to comment.