Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setsebool_t relabel selinux data files #2332

Merged
merged 1 commit into from
Aug 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions policy/modules/system/selinuxutil.te
Original file line number Diff line number Diff line change
Expand Up @@ -572,9 +572,16 @@ 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_relabelto_bin_policy(setsebool_t)
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
Loading