Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libsemanage: include more parameters in the module checksum
The check_ext_changes option currently assumes that as long as the module content is unchanged, it is safe to assume that the policy.linked file doesn't need to be rebuilt. However, there are some additional parameters that can affect the content of this policy file, namely: * the disable_dontaudit and preserve_tunables flags * the target_platform and policyvers configuration values Include these in the checksum so that the option works correctly when only some of these input values are changed versus the current state. Fixes: 286a679 ("libsemanage: optionally rebuild policy when modules are changed externally") Acked-by: Stephen Smalley <[email protected]> Signed-off-by: Ondrej Mosnacek <[email protected]>
- Loading branch information