Files
containerd/core/mount
Andrew Halaney 5525003608 core/mount/*linux: Do idmap bind mounts as private and recursive
Recursive is needed to catch mounts under the bind mount, for example
erofs mount points. i.e. with that in place things like:

    /foo/erofs1
    /foo/erofs2

    bind mount + idmap /foo/ -> /foo-idmapped/

makes it so erofs1 and erofs2 are at /foo-idmapped/, allowing us to use
that when constructing the final overlay mount erofs snapshotters use.
This let's the snapshotter claim to support idmap support later without
issue (right now it goes through remapfs).

As part of this, we want to make the bind mount have private mount
propagation. If you umount /foo-idmapped/erofs1 it shouldn't affect
/foo/erofs1, which could be reused in another container's lowerdirs and
idmapped bind mount.

Signed-off-by: Andrew Halaney <ahalaney@netflix.com>
2026-01-02 09:44:53 -06:00
..
2025-09-29 17:08:31 -07:00
2024-01-17 09:52:12 -08:00
2024-01-17 09:52:12 -08:00
2024-01-17 09:52:12 -08:00
2024-01-17 09:52:12 -08:00