Skip to content

Conversation

@AkihiroSuda
Copy link
Member

@AkihiroSuda AkihiroSuda commented Mar 11, 2023

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 <[email protected]>
(cherry picked from commit 2fed51a)
Signed-off-by: Akihiro Suda <[email protected]>
…ces=N`)

Signed-off-by: Akihiro Suda <[email protected]>
(cherry picked from commit c67176a)
Signed-off-by: Akihiro Suda <[email protected]>
@crazy-max crazy-max merged commit a0f2992 into moby:v0.11 Mar 20, 2023
@crazy-max crazy-max added this to the v0.11.5 milestone Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants