Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow setsebool_t relabel selinux data files
Since the "libsemanage: Preserve file context and ownership in policy store" commit [1], libsemanage ensures that ownership and also SELinux context of policy data files are correct. This requires additional permissions for setsebool_t when there is a process transition for the setsebool command defined, such as when executed from an rpm scriptlet. Assigning to the following attributes is also needed: - can_change_object_identity because it actually is the user part of the context which is being fixed; role part is not a subject of constraint violation rules - can_relabelto_binary_policy to be able to modify the policy store context (neverallow rule) [1] SELinuxProject/selinux@d96f27bf7cb9 Resolves: RHEL-55414
- Loading branch information