projects
/
oweals
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52c5c19
)
jail: remove accidentally added lines
author
Daniel Golle
<daniel@makrotopia.org>
Mon, 30 Dec 2019 18:22:45 +0000
(20:22 +0200)
committer
Daniel Golle
<daniel@makrotopia.org>
Mon, 30 Dec 2019 18:22:45 +0000
(20:22 +0200)
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>
jail/jail.c
patch
|
blob
|
history
diff --git
a/jail/jail.c
b/jail/jail.c
index 47da1c1229a9481a97ba79be90a92301d38e0499..c6096f89502936509589f47ae506ec8088b2a4be 100644
(file)
--- 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;