containerd/oci
Sebastiaan van Stijn cb2c3ec8f8
oci: partially restore comment on read-only mounts for uid/gid uses
Commit cab056226f removed the tryReadonlyMounts
utility, in favor of mounts.ReadOnlyMounts() that was added in commit
daa3a7665e.

That change made part of the comment redundant, because mounts.ReadOnlyMounts
handles both overlayfs read-only mounts (by skipping the workdir mounts), and
sets the "ro" option for other mount-types, but the reason why we're using a
read-only mount is still relevant, so restoring that part of the comment.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-04-15 13:54:23 +02:00
..
client.go Licence header added 2018-02-19 10:32:26 +09:00
mounts_freebsd.go oci: appendOSMounts(): remove unused error, and move 2022-12-27 10:23:26 +01:00
mounts.go oci: appendOSMounts(): remove unused error, and move 2022-12-27 10:23:26 +01:00
spec_opts_linux_test.go oci: fix additional GIDs 2023-02-10 15:53:00 +09:00
spec_opts_linux.go Make OCI spec opts available on all platforms 2023-01-11 13:03:58 -08:00
spec_opts_nonlinux.go Make OCI spec opts available on all platforms 2023-01-11 13:03:58 -08:00
spec_opts_test.go Add basic spec and mounts for Darwin 2023-01-12 17:00:40 -08:00
spec_opts_unix_test.go Cleanup build constraints 2022-12-08 09:36:20 -08:00
spec_opts_unix.go Make OCI spec opts available on all platforms 2023-01-11 13:03:58 -08:00
spec_opts_windows_test.go Updates oci image config to support upstream ArgsEscaped 2022-10-11 13:29:56 -07:00
spec_opts_windows.go Add ArgsEscaped support for CRI 2023-03-03 13:38:06 -08:00
spec_opts.go oci: partially restore comment on read-only mounts for uid/gid uses 2023-04-15 13:54:23 +02:00
spec_test.go Add basic spec and mounts for Darwin 2023-01-12 17:00:40 -08:00
spec.go Add basic spec and mounts for Darwin 2023-01-12 17:00:40 -08:00
utils_unix_go116_test.go Cleanup build constraints 2022-12-08 09:36:20 -08:00
utils_unix_go117_test.go Cleanup build constraints 2022-12-08 09:36:20 -08:00
utils_unix_test.go Cleanup build constraints 2022-12-08 09:36:20 -08:00
utils_unix.go Cleanup build constraints 2022-12-08 09:36:20 -08:00