summaryrefslogtreecommitdiffstats
path: root/src/capabilities.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-05-28 04:52:58 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-05-28 04:52:58 +0200
commitd5da100c55d80391d2e941a41c0e0dccf2a6e33e (patch)
tree1aca67556ed8ea1e2f9fa2a73ebf1a84e8cd34a7 /src/capabilities.c
parentd859894f7a88e07e7beae8dc355278cfd6c185e2 (diff)
downloadfastd-d5da100c55d80391d2e941a41c0e0dccf2a6e33e.tar
fastd-d5da100c55d80391d2e941a41c0e0dccf2a6e33e.zip
Still more documentation
Diffstat (limited to 'src/capabilities.c')
-rw-r--r--src/capabilities.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/capabilities.c b/src/capabilities.c
index 8a7e823..9da3fd4 100644
--- a/src/capabilities.c
+++ b/src/capabilities.c
@@ -23,6 +23,12 @@
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+/**
+ \file
+
+ Handling of POSIX capabilities
+*/
+
#include "fastd.h"
@@ -31,6 +37,7 @@
#include <sys/capability.h>
+/** Tries to acquire a capability */
static void try_cap(cap_value_t cap) {
char *name = cap_to_name(cap);
if (!name)