summaryrefslogtreecommitdiffhomepage
path: root/runsc/fsgofer/fsgofer_arm64_unsafe.go
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2021-01-22 10:43:19 -0800
committergVisor bot <gvisor-bot@google.com>2021-01-22 10:47:28 -0800
commit9b4f4655ed5ddcbe34806a28b2bc5d8f61fbb215 (patch)
tree3cb06289877862ceb4166111194180d40318f5e3 /runsc/fsgofer/fsgofer_arm64_unsafe.go
parentf14f3ba3eff3a445a043a7b2f877ebf4ff862e7d (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_arm64_unsafe.go')
-rw-r--r--runsc/fsgofer/fsgofer_arm64_unsafe.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/runsc/fsgofer/fsgofer_arm64_unsafe.go b/runsc/fsgofer/fsgofer_arm64_unsafe.go
index 491460718..9fd5d0871 100644
--- a/runsc/fsgofer/fsgofer_arm64_unsafe.go
+++ b/runsc/fsgofer/fsgofer_arm64_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 {