mirror of
https://github.com/golang/go.git
synced 2025-10-19 11:03:18 +00:00

For #67002 Change-Id: Id6c3a2096bd10f5f5f6921a0441dc6d9e6cdeb3b Reviewed-on: https://go-review.googlesource.com/c/go/+/645718 Commit-Queue: Damien Neil <dneil@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Damien Neil <dneil@google.com>
23 lines
651 B
Go
23 lines
651 B
Go
// Copyright 2018 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package unix
|
|
|
|
import "syscall"
|
|
|
|
const (
|
|
AT_EACCESS = 0x100
|
|
AT_FDCWD = -0x64
|
|
AT_REMOVEDIR = 0x800
|
|
AT_SYMLINK_NOFOLLOW = 0x200
|
|
|
|
UTIME_OMIT = -0x2
|
|
|
|
unlinkatTrap uintptr = syscall.SYS_UNLINKAT
|
|
openatTrap uintptr = syscall.SYS_OPENAT
|
|
posixFallocateTrap uintptr = syscall.SYS_POSIX_FALLOCATE
|
|
readlinkatTrap uintptr = syscall.SYS_READLINKAT
|
|
mkdiratTrap uintptr = syscall.SYS_MKDIRAT
|
|
fchmodatTrap uintptr = syscall.SYS_FCHMODAT
|
|
)
|