diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-07-14 16:53:13 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-07-20 14:53:15 +0200 |
commit | 1ddc1272e7ea6d68b7e966a6c5e37f84a1810bd8 (patch) | |
tree | 51fe40aa40ebc30e8225c0455413db1af3ddc0f1 /src/nspawn/nspawn.c | |
parent | 065d31c3601a80dffd278f43619773682ac35b29 (diff) |
nspawn: when netns is on, mount /proc/sys/net writable
Normally we make all of /proc/sys read-only in a container, but if we do have
netns enabled we can make /proc/sys/net writable, as things are virtualized
then.
Diffstat (limited to 'src/nspawn/nspawn.c')
-rw-r--r-- | src/nspawn/nspawn.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 32e40f5d21..6c8263d3d5 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -279,7 +279,6 @@ static void help(void) { , program_invocation_short_name); } - static int custom_mounts_prepare(void) { unsigned i; int r; |