at_sysnum_linux.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  	readlinkatTrap uintptr = syscall.SYS_READLINKAT
  13  	mkdiratTrap    uintptr = syscall.SYS_MKDIRAT
  14  	fchmodatTrap   uintptr = syscall.SYS_FCHMODAT
  15  	fchownatTrap   uintptr = syscall.SYS_FCHOWNAT
  16  	linkatTrap     uintptr = syscall.SYS_LINKAT
  17  	symlinkatTrap  uintptr = syscall.SYS_SYMLINKAT
  18  )
  19  
  20  const (
  21  	AT_EACCESS          = 0x200
  22  	AT_FDCWD            = -0x64
  23  	AT_REMOVEDIR        = 0x200
  24  	AT_SYMLINK_NOFOLLOW = 0x100
  25  
  26  	UTIME_OMIT = 0x3ffffffe
  27  )
  28