repo: Add an API to init OstreeSePolicy from commit directly
This is part of `OstreeCommitModifier`, but I'm not using that in some of the ostree-ext Rust code. It just makes more sense as a direct policy API, where it should have been in the first place. There's already support for setting a policy object on a commit modifier, so that's all the old API needs to do now.
This commit is contained in:
1 parent
4b61768e3d
commit
1b9e3a9375
6 files changed
+72
-34
No files matched your search
@@ -522,6 +522,7 @@ ostree_repo_file_get_type
|
||||
OstreeSePolicy
|
||||
ostree_sepolicy_new
|
||||
ostree_sepolicy_new_at
|
||||
ostree_sepolicy_new_from_commit
|
||||
ostree_sepolicy_get_path
|
||||
ostree_sepolicy_get_name
|
||||
ostree_sepolicy_get_label
|
||||
|
||||
Reference in new issue
Block a user