at_sysnum_freebsd.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 AT_EACCESS = 0x100
11 AT_FDCWD = -0x64
12 AT_REMOVEDIR = 0x800
13 AT_SYMLINK_NOFOLLOW = 0x200
14
15 UTIME_OMIT = -0x2
16
17 unlinkatTrap uintptr = syscall.SYS_UNLINKAT
18 openatTrap uintptr = syscall.SYS_OPENAT
19 posixFallocateTrap uintptr = syscall.SYS_POSIX_FALLOCATE
20 readlinkatTrap uintptr = syscall.SYS_READLINKAT
21 mkdiratTrap uintptr = syscall.SYS_MKDIRAT
22 fchmodatTrap uintptr = syscall.SYS_FCHMODAT
23 fchownatTrap uintptr = syscall.SYS_FCHOWNAT
24 renameatTrap uintptr = syscall.SYS_RENAMEAT
25 linkatTrap uintptr = syscall.SYS_LINKAT
26 symlinkatTrap uintptr = syscall.SYS_SYMLINKAT
27 )
28