From 5ed190aae1b3985719046f4c744e311fc9ef18e3 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Mon, 30 Dec 2019 20:22:45 +0200 Subject: [PATCH] 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 --- jail/jail.c | 3 --- 1 file changed, 3 deletions(-) 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; -- 2.25.1