c/syscall/unix

This commit is contained in:
xushiwei
2024-07-12 00:59:32 +08:00
parent 11682e487e
commit 68f70af2f3
12 changed files with 153 additions and 3 deletions

View File

@@ -0,0 +1,16 @@
// 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 unlinkatTrap uintptr = syscall.SYS_UNLINKAT
const openatTrap uintptr = syscall.SYS_OPENAT
const fstatatTrap uintptr = syscall.SYS_FSTATAT
const AT_REMOVEDIR = 0x08
const AT_SYMLINK_NOFOLLOW = 0x02
const UTIME_OMIT = -0x1