mirror of https://github.com/golang/go.git
24 lines
651 B
Go
24 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
|
|
)
|