capabilities: Add function to check if a capability is held, without keeping it
authorTobias Brunner <tobias@strongswan.org>
Mon, 8 Jul 2013 15:48:16 +0000 (17:48 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 18 Jul 2013 13:25:35 +0000 (15:25 +0200)
commit027676f7500b7d94140adc979959541b08fc4a89
tree746ac5709bbdeb536ed8ae8b43c6cd32a8f59f0a
parent56b753ca04df7f1cdaefc7542c1c6d6940093850
capabilities: Add function to check if a capability is held, without keeping it

This can be useful if capabilities are not required anymore after
dropping privileges.
src/libstrongswan/utils/capabilities.c
src/libstrongswan/utils/capabilities.h