summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2017-03-20 20:51:22 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2017-03-22 16:24:06 +0000
commit7b2370dc869ce5ba76769853ef7fd0b081b15010 (patch)
tree0cfa81ee2fdce314e3edcd5e5facf5247297e21a /cfg.mk
parentd7f4a326b98cb1bfe3fb939348620013e1ec5a9b (diff)
downloadostree-7b2370dc869ce5ba76769853ef7fd0b081b15010.tar.gz
sepolicy: Add better private API for setfscreatecon
Use `g_auto()` more sanely with a struct implmenting the "is initialized" pattern. This is way less ugly for callers, and fixes bugs like us calling `setfscreatecon()` even if an error occurred beforehand. Also fold in the logic for "NULL or not loaded" sepolicy into the setup rather than requiring callers to inline it. Prep for more users of this function. Closes: #746 Approved by: jlebon
Diffstat (limited to 'cfg.mk')
0 files changed, 0 insertions, 0 deletions