Consolidated powerpc64le machine types, added 32-bit powerpc machine type and a flag to disable use of Linux capabilities

This commit is contained in:
Joseph Henry 2018-05-09 13:51:32 -07:00
parent 43331d3fe8
commit 535ba8a207
2 changed files with 8 additions and 6 deletions

View file

@ -972,7 +972,7 @@ static void _sighandlerQuit(int sig)
#endif
// Drop privileges on Linux, if supported by libc etc. and "zerotier-one" user exists on system
#ifdef __LINUX__
#if defined(__LINUX__) && !defined(ZT_NO_CAPABILITIES)
#ifndef PR_CAP_AMBIENT
#define PR_CAP_AMBIENT 47
#define PR_CAP_AMBIENT_IS_SET 1