jail: fs: add support for asymmetric mount bind
authorDaniel Golle <daniel@makrotopia.org>
Tue, 5 Oct 2021 20:23:37 +0000 (21:23 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 12 Oct 2021 23:35:49 +0000 (00:35 +0100)
commit324ebd0a3c983bd12b1b330e23293b9e1d64044f
treebbcb10757f54bb258fb99bdd3cf99141032d2b66
parent6398e0541a693df8a267b9ee77b9e96cbaf97abd
jail: fs: add support for asymmetric mount bind

Allow mounting absolute path on host to defined mountpoint inside
container using ':' character in argument of '-r' and '-w' parameters.

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