summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Golle2019-12-30 18:22:45 +0000
committerDaniel Golle2019-12-30 18:22:45 +0000
commit5ed190aae1b3985719046f4c744e311fc9ef18e3 (patch)
tree33044e18e09b2b8d16716b330d243918d64c625d
parent52c5c1980ba33a71611204957f3061cb51fb65a8 (diff)
downloadprocd-5ed190aae1b3985719046f4c744e311fc9ef18e3.tar.gz
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 <daniel@makrotopia.org>
-rw-r--r--jail/jail.c3
1 files changed, 0 insertions, 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;