n/sh", NULL};
execvp(args[0], args);
return 0;
}
int main() {
printf("Creating container...\n");
pid_t pid = clone(child_func, child_stack + STACK_SIZE,
CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWIPC |
CLONE_NEWPID | CLONE_NEWNET | CLONE_NEWUSER |
CLONE_NEWCGROUP | SIGCHLD,
发表评论 取消回复