2022-09-15 23:28:49 +02:00
|
|
|
// Copyright 2018 The Go Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
package unix
|
|
|
|
|
|
|
|
import "syscall"
|
|
|
|
|
|
|
|
const (
|
2023-09-27 09:03:11 +02:00
|
|
|
AT_EACCESS = 0x100
|
|
|
|
AT_FDCWD = -0x64
|
2022-09-15 23:28:49 +02:00
|
|
|
AT_REMOVEDIR = 0x800
|
|
|
|
AT_SYMLINK_NOFOLLOW = 0x200
|
|
|
|
|
2020-10-19 19:19:17 +02:00
|
|
|
UTIME_OMIT = -0x2
|
|
|
|
|
2023-04-05 13:16:58 +02:00
|
|
|
unlinkatTrap uintptr = syscall.SYS_UNLINKAT
|
|
|
|
openatTrap uintptr = syscall.SYS_OPENAT
|
|
|
|
posixFallocateTrap uintptr = syscall.SYS_POSIX_FALLOCATE
|
2024-10-04 14:19:05 -07:00
|
|
|
readlinkatTrap uintptr = syscall.SYS_READLINKAT
|
|
|
|
mkdiratTrap uintptr = syscall.SYS_MKDIRAT
|
2025-01-30 15:53:06 -08:00
|
|
|
fchmodatTrap uintptr = syscall.SYS_FCHMODAT
|
2022-09-15 23:28:49 +02:00
|
|
|
)
|