chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
90df7e5
)
nspawn: we don't want a network namespace
author
Lennart Poettering
<lennart@poettering.net>
Mon, 14 Mar 2011 04:36:43 +0000
(
05:36
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 14 Mar 2011 14:37:09 +0000
(15:37 +0100)
src/nspawn.c
patch
|
blob
|
history
diff --git
a/src/nspawn.c
b/src/nspawn.c
index f340805f38339835d8162d291dfd33a73961ef9d..7cefd3debd9cb09be9f61349df21ccbd605bbb19 100644
(file)
--- a/
src/nspawn.c
+++ b/
src/nspawn.c
@@
-383,7
+383,7
@@
int main(int argc, char *argv[]) {
log_info("Spawning namespace container on %s.", arg_directory);
log_info("Spawning namespace container on %s.", arg_directory);
- if ((pid = syscall(__NR_clone, SIGCHLD|CLONE_NEWIPC|CLONE_NEWNS|CLONE_NEWPID|CLONE_NEWUTS
|CLONE_NEWNET
, NULL)) < 0) {
+ if ((pid = syscall(__NR_clone, SIGCHLD|CLONE_NEWIPC|CLONE_NEWNS|CLONE_NEWPID|CLONE_NEWUTS, NULL)) < 0) {
log_error("clone() failed: %m");
goto finish;
}
log_error("clone() failed: %m");
goto finish;
}