summaryrefslogtreecommitdiffhomepage
path: root/runsc/fsgofer/fsgofer_amd64_unsafe.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-01-22 18:59:54 +0000
committergVisor bot <gvisor-bot@google.com>2021-01-22 18:59:54 +0000
commit579131510acbba750a8c8b4758b15e5b513b97b2 (patch)
treed08c3657043ab323a336c2434cc251bb17a43c46 /runsc/fsgofer/fsgofer_amd64_unsafe.go
parentb6cc321ede077b7baade028034003115198da472 (diff)
parent9b4f4655ed5ddcbe34806a28b2bc5d8f61fbb215 (diff)
Merge release-20210112.0-70-g9b4f4655e (automated)
Diffstat (limited to 'runsc/fsgofer/fsgofer_amd64_unsafe.go')
-rw-r--r--runsc/fsgofer/fsgofer_amd64_unsafe.go3
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 {