mirror of
https://github.com/moby/buildkit.git
synced 2026-06-30 19:57:39 +00:00
Port https://github.com/moby/moby/blob/v23.0.1/daemon/oci_linux.go#L430-L460 > // Get the set of mount flags that are set on the mount that contains the given > // path and are locked by CL_UNPRIVILEGED. This is necessary to ensure that > // bind-mounting "with options" will not fail with user namespaces, due to > // kernel restrictions that require user namespace mounts to preserve > // CL_UNPRIVILEGED locked flags. Fix issue 3098 Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>