replace pkg/symlink with moby/sys/symlink#4677
Conversation
Signed-off-by: Sebastiaan van Stijn <[email protected]>
|
Build succeeded.
|
mikebrow
left a comment
There was a problem hiding this comment.
LGTM
wondering what the difference of opinion is between moby and golang https://golang.org/src/path/filepath/symlink_windows.go implementations
If I recall correctly, this package was created to mitigated a "break out", where symlinks could be abused to traverse directories outside of the expected scope (moby/moby#3184). As to the platform-specific handling; I was actually eyeing that (didn't dig deep yet); and we should look at those, and see if they make sense to upstream (either golang stlib, or something like golang.org/x/sys/windows. |
|
@dmcgowan this LGTY? |
follow-up to #4631