You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The set of keys come from https://github.com/torvalds/linux/blob/v4.13/fs/namespace.c#L1034-L1048.
// UnprivilegedMountFlags gets the set of mount flags that are set on the mount that contains the given
8
+
// path and are locked by CL_UNPRIVILEGED. This is necessary to ensure that
9
+
// bind-mounting "with options" will not fail with user namespaces, due to
10
+
// kernel restrictions that require user namespace mounts to preserve
11
+
// CL_UNPRIVILEGED locked flags.
12
+
//
13
+
// TODO: Move to github.com/moby/sys/mount, and update BuildKit copy of this code as well (https://github.com/moby/buildkit/blob/v0.13.0/util/rootless/mountopts/mountopts_linux.go#L11-L18)
// The set of keys come from https://github.com/torvalds/linux/blob/v4.13/fs/namespace.c#L1034-L1048.
0 commit comments