From 8dc94f1be5fd410461f08992c9a176e95ef36169 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Mon, 6 Dec 2021 13:55:54 -0500 Subject: Bump to containers/image v5.17.0 This resolves CVE-2021-41190 Signed-off-by: Matthew Heon --- vendor/github.com/mattn/go-isatty/isatty_tcgets.go | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 vendor/github.com/mattn/go-isatty/isatty_tcgets.go (limited to 'vendor/github.com/mattn/go-isatty/isatty_tcgets.go') diff --git a/vendor/github.com/mattn/go-isatty/isatty_tcgets.go b/vendor/github.com/mattn/go-isatty/isatty_tcgets.go deleted file mode 100644 index 31a1ca973..000000000 --- a/vendor/github.com/mattn/go-isatty/isatty_tcgets.go +++ /dev/null @@ -1,18 +0,0 @@ -// +build linux aix -// +build !appengine - -package isatty - -import "golang.org/x/sys/unix" - -// IsTerminal return true if the file descriptor is terminal. -func IsTerminal(fd uintptr) bool { - _, err := unix.IoctlGetTermios(int(fd), unix.TCGETS) - return err == nil -} - -// IsCygwinTerminal return true if the file descriptor is a cygwin or msys2 -// terminal. This is also always false on this environment. -func IsCygwinTerminal(fd uintptr) bool { - return false -} -- cgit v1.2.3-54-g00ecf