The previous commit accidentally added unrelated lines which broke
build. Remove them.
Fixes: 2c5c19 ("jail: set user and group inside jail")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
add_mount("/etc/group", 0, -1);
}
add_mount("/etc/group", 0, -1);
}
- if (opts.namespace & NAMESPACE_IPC)
- flags |= CLONE_NEWIPC;
-
int flags = CLONE_NEWPID | CLONE_NEWNS | CLONE_NEWIPC | SIGCHLD;
if (opts.hostname)
flags |= CLONE_NEWUTS;
int flags = CLONE_NEWPID | CLONE_NEWNS | CLONE_NEWIPC | SIGCHLD;
if (opts.hostname)
flags |= CLONE_NEWUTS;