diff options
author | Daniel Golle <daniel@makrotopia.org> | 2021-07-18 02:10:29 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2021-07-18 19:00:29 +0100 |
commit | 9bd1b7f0951ec2bcf56674fa729af3872b276057 (patch) | |
tree | ed52ffa681fe329762bba0c2caaa2431d0e0bc81 /uxc.c | |
parent | 05459054fb6b5f49c76fd5de2d02ff6c891f1dcd (diff) | |
download | procd-9bd1b7f0951ec2bcf56674fa729af3872b276057.tar.gz |
jail: refactor directory handling for rootfs and overlaydir
Resolve symlinks and check if directories exist before clone() call,
it's more clean and allows for more code reuse.
This partially reverts commits 0114c6fc8b ("jail: open() extroot folder
before mounting") as well as 05459054fb ("jail: make use of realpath()
for rootfs and overlaydir") and replaces them with a more generic
solution.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'uxc.c')
0 files changed, 0 insertions, 0 deletions