Source file src/internal/syscall/unix/at_sysnum_netbsd.go

     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  	fchmodatTrap       uintptr = syscall.SYS_FCHMODAT
    16  	fchownatTrap       uintptr = syscall.SYS_FCHOWNAT
    17  	renameatTrap       uintptr = syscall.SYS_RENAMEAT
    18  	linkatTrap         uintptr = syscall.SYS_LINKAT
    19  	symlinkatTrap      uintptr = syscall.SYS_SYMLINKAT
    20  	posixFallocateTrap uintptr = 479
    21  )
    22  
    23  const (
    24  	AT_EACCESS          = 0x100
    25  	AT_FDCWD            = -0x64
    26  	AT_REMOVEDIR        = 0x800
    27  	AT_SYMLINK_NOFOLLOW = 0x200
    28  
    29  	UTIME_OMIT = (1 << 30) - 2
    30  )
    31  

View as plain text