repo: Add an API to init `OstreeSePolicy` from commit directly
authorColin Walters <walters@verbum.org>
Tue, 28 Sep 2021 21:40:28 +0000 (17:40 -0400)
committerColin Walters <walters@verbum.org>
Thu, 30 Sep 2021 19:54:48 +0000 (15:54 -0400)
commit1b9e3a9375a2da70b6ee049c6ff0989c9831963b
tree5db0df88574ee42db8f58f98d905d59a4a89d6a3
parent4b61768e3dc7d2f4453fb44f1f640ccb092b59d1
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.
Makefile-libostree.am
apidoc/ostree-sections.txt
src/libostree/libostree-devel.sym
src/libostree/ostree-repo-commit.c
src/libostree/ostree-sepolicy.c
src/libostree/ostree-sepolicy.h