Define CLONE_NEWCGROUP for older platforms

This commit is contained in:
Sargun Dhillon 2018-04-30 16:42:22 -07:00
parent 49a72e53b8
commit 8cee06768b
1 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,10 @@
#include "tiniConfig.h"
#include "tiniLicense.h"
#ifndef CLONE_NEWCGROUP
#define CLONE_NEWCGROUP 0x02000000 /* New cgroup namespace */
#endif
#define S_IWUGO (S_IWUSR|S_IWGRP|S_IWOTH)
#define S_IRUGO (S_IRUSR|S_IRGRP|S_IROTH)
#define REDIRECT_STDERR "TITUS_REDIRECT_STDERR"