1
0
mirror of https://github.com/opencontainers/runc.git synced 2026-10-23 19:49:01 +03:00
Files
Kir Kolyshkin 65c21f346f libct/cfg/validate: disallow / as rootfs
Using host's / as the container rootfs does not work: with a private
mount namespace, pivot_root (or MS_MOVE in case of no-pivot) fails,
and without it, container mounts (such as proc, dev etc.) are mounted
on top of the host ones, effectively breaking the host.

Disallow it.

Add an integration test.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2026-10-17 10:30:39 -07:00
..
2025-08-27 19:11:02 -07:00
2025-08-27 19:11:02 -07:00