jail: make use of realpath() for rootfs and overlaydir
authorDaniel Golle <daniel@makrotopia.org>
Sat, 17 Jul 2021 13:06:38 +0000 (14:06 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 17 Jul 2021 17:10:02 +0000 (18:10 +0100)
commit05459054fb6b5f49c76fd5de2d02ff6c891f1dcd
tree7c5de1c2abd2a4e600e54254f1e99753f5f4ce54
parented96eda0a2a15c8ee801c4c26e8fe5bd241f83e9
jail: make use of realpath() for rootfs and overlaydir

Use realpath() to resolve rootfs and read/write-overlay as they are
potentially (and likely, as we are going to use blockd with autofs)
symlinks.

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