4 #define CLONE_NEWCGROUP 0x02000000 /* New cgroup namespace */
7 +/* taken from glibc unistd.h and fixes musl */
8 +#ifndef TEMP_FAILURE_RETRY
9 +#define TEMP_FAILURE_RETRY(expression) \
11 + ({ long int __result; \
12 + do __result = (long int) (expression); \
13 + while (__result == -1L && errno == EINTR); \
17 /* Globals to avoid having to use getuid(), since the uid/gid changes during runtime */
18 static uid_t real_uid;
19 static gid_t real_gid;