summaryrefslogtreecommitdiffstats
path: root/src/capabilities.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/capabilities.c')
-rw-r--r--src/capabilities.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/capabilities.c b/src/capabilities.c
index d0811cd..41c7a2a 100644
--- a/src/capabilities.c
+++ b/src/capabilities.c
@@ -98,6 +98,7 @@ static bool need_cap_net_raw(void) {
return false;
}
+/** Sets a single capability as permitted and effective in the given cap_t */
static void set_cap(cap_t caps, cap_value_t cap) {
char *name = cap_to_name(cap);
if (name) {