From: Daniel Golle Date: Mon, 30 Dec 2019 18:22:45 +0000 (+0200) Subject: jail: remove accidentally added lines X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5ed190aae1b3985719046f4c744e311fc9ef18e3;p=oweals%2Fprocd.git jail: remove accidentally added lines 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 --- diff --git a/jail/jail.c b/jail/jail.c index 47da1c1..c6096f8 100644 --- a/jail/jail.c +++ b/jail/jail.c @@ -479,9 +479,6 @@ int main(int argc, char **argv) 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;