diff options
| author | Daniel Golle | 2019-12-30 18:22:45 +0000 |
|---|---|---|
| committer | Daniel Golle | 2019-12-30 18:22:45 +0000 |
| commit | 5ed190aae1b3985719046f4c744e311fc9ef18e3 (patch) | |
| tree | 33044e18e09b2b8d16716b330d243918d64c625d | |
| parent | 52c5c1980ba33a71611204957f3061cb51fb65a8 (diff) | |
| download | procd-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.c | 3 |
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; |