Skip to content

Commit

Permalink
Missing CAP_SETUID is not a problem as we only need it when we start …
Browse files Browse the repository at this point in the history
…as root (which has all capabiltites).

Signed-off-by: DL6ER <[email protected]>
  • Loading branch information
DL6ER committed Mar 18, 2019
1 parent f48fa15 commit 526ec7e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions capabilities.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 526ec7e

Please sign in to comment.