From 526ec7e27b92435797235a3495a829895134a5a3 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Mon, 18 Mar 2019 11:43:15 +0100 Subject: [PATCH] Missing CAP_SETUID is not a problem as we only need it when we start as root (which has all capabiltites). Signed-off-by: DL6ER --- capabilities.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/capabilities.c b/capabilities.c index f1ccdf996..35a6a2617 100644 --- a/capabilities.c +++ b/capabilities.c @@ -96,14 +96,6 @@ bool check_capabilities() logg("*********************************************************************"); capabilities_okay = false; } - if (!(data->permitted & (1 << CAP_SETUID))) - { - // Necessary for changing our own user ID ("daemonizing") - logg("*********************************************************************"); - logg("WARNING: Required linux capability CAP_SETUID not available"); - logg("*********************************************************************"); - capabilities_okay = false; - } // Free allocated memory free(hdr);