Init cgroups with -Me
This commit is contained in:
parent
1a9de4ef91
commit
e981cbc730
@ -61,6 +61,10 @@ static int subprocNewProc(struct nsjconf_t *nsjconf, int fd_in, int fd_out, int
|
||||
LOG_E("Couldn't initialize net user namespace");
|
||||
exit(1);
|
||||
}
|
||||
if (cgroupInitNsFromParent(nsjconf, syscall(__NR_getpid)) == false) {
|
||||
LOG_E("Couldn't initialize net user namespace");
|
||||
exit(1);
|
||||
}
|
||||
} else {
|
||||
char doneChar;
|
||||
if (utilReadFromFd(pipefd, &doneChar, sizeof(doneChar)) != sizeof(doneChar)) {
|
||||
|
Loading…
Reference in New Issue
Block a user