containerd/archive
Sebastiaan van Stijn 2af6db672e
switch back from golang.org/x/sys/execabs to os/exec (go1.19)
This is effectively a revert of 2ac9968401, which
switched from os/exec to the golang.org/x/sys/execabs package to mitigate
security issues (mainly on Windows) with lookups resolving to binaries in the
current directory.

from the go1.19 release notes https://go.dev/doc/go1.19#os-exec-path

> ## PATH lookups
>
> Command and LookPath no longer allow results from a PATH search to be found
> relative to the current directory. This removes a common source of security
> problems but may also break existing programs that depend on using, say,
> exec.Command("prog") to run a binary named prog (or, on Windows, prog.exe) in
> the current directory. See the os/exec package documentation for information
> about how best to update such programs.
>
> On Windows, Command and LookPath now respect the NoDefaultCurrentDirectoryInExePath
> environment variable, making it possible to disable the default implicit search
> of “.” in PATH lookups on Windows systems.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-11-02 21:15:40 +01:00
..
compression switch back from golang.org/x/sys/execabs to os/exec (go1.19) 2023-11-02 21:15:40 +01:00
tarheader archive/tarheader: fix FreeBSD hdr for regular files 2023-08-11 23:50:08 +03:00
tartest Fix annotation typo error 2018-12-14 23:18:42 +08:00
issues_test.go Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
link_default.go archive: use Linkat on FreeBSD for hardlinks 2022-06-09 18:54:09 -07:00
link_freebsd.go archive: use Linkat on FreeBSD for hardlinks 2022-06-09 18:54:09 -07:00
tar_freebsd.go Remove redundant build tags 2021-08-05 22:27:46 -07:00
tar_linux_test.go Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
tar_mostunix.go Cleanup build constraints 2022-12-08 09:36:20 -08:00
tar_opts_linux.go Remove aufs snapshotter (deprecated since v1.5) 2023-03-14 14:37:13 +09:00
tar_opts_windows.go Use RunWithPrivileges 2023-04-06 17:06:50 -07:00
tar_opts.go archive: set WithModTimeUpperBound when WithSourceDateEpoch is set 2022-11-22 22:21:44 +09:00
tar_test.go switch back from golang.org/x/sys/execabs to os/exec (go1.19) 2023-11-02 21:15:40 +01:00
tar_unix.go Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
tar_windows.go Merge pull request #7344 from thaJeztah/archive_cleanup 2022-08-30 09:18:18 -07:00
tar.go Update go module to github.com/containerd/containerd/v2 2023-10-29 20:52:21 -07:00
time_unix.go Cleanup build constraints 2022-12-08 09:36:20 -08:00
time_windows.go archive: windows: chtimes(): remove redundant conversion 2022-10-07 19:38:56 +02:00
time.go Licence header added 2018-02-19 10:32:26 +09:00