Files
Giuseppe Scrivano 4d56292e7a libpod: mount safely subpaths
add a function to securely mount a subpath inside a volume.  We cannot
trust that the subpath is safe since it is beneath a volume that could
be controlled by a separate container.  To avoid TOCTOU races between
when we check the subpath and when the OCI runtime mounts it, we open
the subpath, validate it, bind mount to a temporary directory and use
it instead of the original path.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-03-31 19:48:03 +02:00
..
2023-02-11 18:23:24 +01:00
2022-07-25 09:28:26 -04:00
2022-07-25 09:28:26 -04:00
2023-03-31 19:48:03 +02:00
2023-02-01 09:26:50 +01:00