nspawn: when netns is on, mount /proc/sys/net writable
authorLennart Poettering <lennart@poettering.net>
Thu, 14 Jul 2016 14:53:13 +0000 (16:53 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 20 Jul 2016 12:53:15 +0000 (14:53 +0200)
commit1ddc1272e7ea6d68b7e966a6c5e37f84a1810bd8
tree51fe40aa40ebc30e8225c0455413db1af3ddc0f1
parent065d31c3601a80dffd278f43619773682ac35b29
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.
src/nspawn/nspawn-mount.c
src/nspawn/nspawn.c