jail: open() extroot folder before mounting
authorDaniel Golle <daniel@makrotopia.org>
Thu, 15 Jul 2021 01:49:23 +0000 (02:49 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 15 Jul 2021 17:08:08 +0000 (18:08 +0100)
commit0114c6fc8beae0334e7e2f924e64ab09af046702
tree525cd2dc26d431e82a06b71ca54455975730d7ee
parent15997e67a559d3477d34613062725689fbfeab93
jail: open() extroot folder before mounting

Use open() to trigger autofs mount and check extroot folder exists
before mount-binding it.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
jail/jail.c