Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
oci: partially restore comment on read-only mounts for uid/gid uses
Commit cab0562 removed the tryReadonlyMounts utility, in favor of mounts.ReadOnlyMounts() that was added in commit daa3a76. 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> (cherry picked from commit cb2c3ec) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
- Loading branch information