moby/internal
Sebastiaan van Stijn 7b414f5703
daemon: move getUnprivilegedMountFlags to internal package
This code is currently only used in the daemon, but is also needed in other
places. We should consider moving this code to github.com/moby/sys, so that
BuildKit can also use the same implementation instead of maintaining a fork;
moving it to internal allows us to reuse this code inside the repository, but
does not allow external consumers to depend on it (which we don't want as
it's not a permanent location).

As our code only uses this in linux files, I did not add a stub for other
platforms (but we may decide to do that in the moby/sys repository).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-03-15 12:55:09 +01:00
..
cleanups volumes/subpath: Plumb context 2024-01-19 17:32:21 +01:00
compatcontext internal: Add compatcontext.WithoutCancel 2023-09-27 11:46:30 +02:00
mod Set BuildKit version using buildinfo 2023-04-25 12:30:52 +02:00
mounttree Add reusable chroot and unshare utilities 2022-10-26 12:06:31 -04:00
multierror Add a temporary drop-in replacement for errors.Join 2023-08-16 16:18:41 +02:00
rootless/mountopts daemon: move getUnprivilegedMountFlags to internal package 2024-03-15 12:55:09 +01:00
safepath fix duplicate words (dupwords) 2024-03-07 10:57:03 +01:00
sliceutil Merge pull request #47213 from thaJeztah/more_gocompat 2024-01-25 14:37:29 +01:00
test/suite Wire up tests to support otel tracing 2023-09-07 18:38:22 +00:00
testutils c8d/list: Add TestImageList 2024-03-07 16:25:31 +01:00
tools remove some remaining pre-go1.17 build-tags 2023-08-24 17:51:07 +02:00
unix_noeintr internal/safepath: Handle EINTR in unix syscalls 2024-01-19 17:32:13 +01:00
unshare remove some remaining pre-go1.17 build-tags 2023-08-24 17:51:07 +02:00