Skip to content

Commit

Permalink
Merge pull request #626 from jeamland/jeamland/sepolicy-on-merge
Browse files Browse the repository at this point in the history
Ensure SELinux label policy is applied when merging image layers
  • Loading branch information
cgwalters committed May 22, 2024
2 parents 61ab1c6 + 0ab73f9 commit c0e8c8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/container/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -973,6 +973,7 @@ impl ImageImporter {
let modifier =
ostree::RepoCommitModifier::new(ostree::RepoCommitModifierFlags::CONSUME, None);
modifier.set_devino_cache(&devino);
modifier.set_sepolicy_from_commit(&repo, &base_commit, cancellable)?;

let mt = ostree::MutableTree::new();
repo.write_dfd_to_mtree(
Expand Down

0 comments on commit c0e8c8f

Please sign in to comment.