Consolidated powerpc64le machine types, added 32-bit powerpc machine type and a flag to disable use of Linux capabilities
This commit is contained in:
parent
43331d3fe8
commit
535ba8a207
2 changed files with 8 additions and 6 deletions
2
one.cpp
2
one.cpp
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue