at_sysnum_openbsd.mx raw
1 // Copyright 2018 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 package unix
6
7 import "syscall"
8
9 const (
10 unlinkatTrap uintptr = syscall.SYS_UNLINKAT
11 openatTrap uintptr = syscall.SYS_OPENAT
12 fstatatTrap uintptr = syscall.SYS_FSTATAT
13 readlinkatTrap uintptr = syscall.SYS_READLINKAT
14 mkdiratTrap uintptr = syscall.SYS_MKDIRAT
15 )
16
17 const (
18 AT_EACCESS = 0x1
19 AT_FDCWD = -0x64
20 AT_REMOVEDIR = 0x08
21 AT_SYMLINK_NOFOLLOW = 0x02
22
23 UTIME_OMIT = -0x1
24 )
25