namespace: create /dev, /proc, /sys when needed
authorLennart Poettering <lennart@poettering.net>
Thu, 28 Sep 2017 16:28:23 +0000 (18:28 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 2 Oct 2017 15:41:43 +0000 (17:41 +0200)
commit645767d6b5fd965de6367e6c1289ec295ea77cd7
tree823c031cb485853296bb258601eb9f961399f25d
parent72fd17682d799f9192fb77d3f17bfe19a8f1266d
namespace: create /dev, /proc, /sys when needed

We already create /dev implicitly if PrivateTmp=yes is on, if it is
missing. Do so too for the other two API VFS, as well as for /dev if
PrivateTmp=yes is off but MountAPIVFS=yes is on (i.e. when /dev is bind
mounted from the host).
src/core/namespace.c