]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/capability-util.h
capability: add new ambient_capabilities_supported() helper
authorLennart Poettering <lennart@poettering.net>
Wed, 9 Aug 2017 13:07:15 +0000 (15:07 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 10 Aug 2017 13:02:50 +0000 (15:02 +0200)
commit39f608e4b0ec2eea0a1a97df14bbcbe511101e18
treede102eb9789be4716133ef40a1344fd486f6b11e
parent6067611a0847d5b8d4f322cf6540b016c95d4cb4
capability: add new ambient_capabilities_supported() helper

This new function reports whether ambient caps are available, and should
be quick because the result is cached.
src/basic/capability-util.c
src/basic/capability-util.h
src/test/test-capability.c