From 9b4f4655ed5ddcbe34806a28b2bc5d8f61fbb215 Mon Sep 17 00:00:00 2001 From: Fabricio Voznika Date: Fri, 22 Jan 2021 10:43:19 -0800 Subject: Remove dependency to abi/linux abi package is to be used by the Sentry to implement the Linux ABI. Code dealing with the host should use x/sys/unix. PiperOrigin-RevId: 353272679 --- runsc/fsgofer/fsgofer_amd64_unsafe.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'runsc/fsgofer/fsgofer_amd64_unsafe.go') diff --git a/runsc/fsgofer/fsgofer_amd64_unsafe.go b/runsc/fsgofer/fsgofer_amd64_unsafe.go index c46958185..29ebf8500 100644 --- a/runsc/fsgofer/fsgofer_amd64_unsafe.go +++ b/runsc/fsgofer/fsgofer_amd64_unsafe.go @@ -20,7 +20,6 @@ import ( "unsafe" "golang.org/x/sys/unix" - "gvisor.dev/gvisor/pkg/abi/linux" "gvisor.dev/gvisor/pkg/syserr" ) @@ -39,7 +38,7 @@ func statAt(dirFd int, name string) (unix.Stat_t, error) { uintptr(dirFd), uintptr(namePtr), uintptr(statPtr), - linux.AT_SYMLINK_NOFOLLOW, + unix.AT_SYMLINK_NOFOLLOW, 0, 0); errno != 0 { -- cgit v1.2.3