diff options
author | Fabricio Voznika <fvoznika@google.com> | 2021-01-22 10:43:19 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-01-22 10:47:28 -0800 |
commit | 9b4f4655ed5ddcbe34806a28b2bc5d8f61fbb215 (patch) | |
tree | 3cb06289877862ceb4166111194180d40318f5e3 /runsc/fsgofer/fsgofer_amd64_unsafe.go | |
parent | f14f3ba3eff3a445a043a7b2f877ebf4ff862e7d (diff) |
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
Diffstat (limited to 'runsc/fsgofer/fsgofer_amd64_unsafe.go')
-rw-r--r-- | runsc/fsgofer/fsgofer_amd64_unsafe.go | 3 |
1 files changed, 1 insertions, 2 deletions
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 { |