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
2026-09-01 14:00:38 -07:00
2024-06-29 15:45:25 +02:00
2025-06-18 15:52:30 +01:00
2025-03-19 15:51:52 -07:00
2026-09-01 14:00:38 -07:00