mirror of https://github.com/krallin/tini.git
Define CLONE_NEWCGROUP for older platforms
This commit is contained in:
parent
49a72e53b8
commit
8cee06768b
|
@ -26,6 +26,10 @@
|
||||||
#include "tiniConfig.h"
|
#include "tiniConfig.h"
|
||||||
#include "tiniLicense.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_IWUGO (S_IWUSR|S_IWGRP|S_IWOTH)
|
||||||
#define S_IRUGO (S_IRUSR|S_IRGRP|S_IROTH)
|
#define S_IRUGO (S_IRUSR|S_IRGRP|S_IROTH)
|
||||||
#define REDIRECT_STDERR "TITUS_REDIRECT_STDERR"
|
#define REDIRECT_STDERR "TITUS_REDIRECT_STDERR"
|
||||||
|
|
Loading…
Reference in New Issue