portable-devtools / go /src /internal /syscall /unix /at_sysnum_openbsd.go
codekingpro's picture
Add files using upload-large-folder tool
13c2bf6 verified
Raw
History Blame Contribute Delete
578 Bytes
// 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 (
unlinkatTrap uintptr = syscall.SYS_UNLINKAT
openatTrap uintptr = syscall.SYS_OPENAT
fstatatTrap uintptr = syscall.SYS_FSTATAT
readlinkatTrap uintptr = syscall.SYS_READLINKAT
mkdiratTrap uintptr = syscall.SYS_MKDIRAT
)
const (
AT_EACCESS = 0x1
AT_FDCWD = -0x64
AT_REMOVEDIR = 0x08
AT_SYMLINK_NOFOLLOW = 0x02
UTIME_OMIT = -0x1
)