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 unlinkatTrap uintptr = syscall.SYS_UNLINKAT 10 const openatTrap uintptr = syscall.SYS_OPENAT 11 const fstatatTrap uintptr = syscall.SYS_FSTATAT 12 13 const ( 14 AT_EACCESS = 0x100 15 AT_FDCWD = -0x64 16 AT_REMOVEDIR = 0x800 17 AT_SYMLINK_NOFOLLOW = 0x200 18 19 UTIME_OMIT = (1 << 30) - 2 20 ) 21