Merge pull request #3269 from thaJeztah/bump_x_sys

vendor: golang.org/x/sys  63515b42dcdf9544f4e6a02fd7632793fde2f72d (for Go 1.17)
This commit is contained in:
Sebastiaan van Stijn 2021-08-23 18:30:39 +02:00 committed by GitHub
commit 67a866fe83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
136 changed files with 7419 additions and 15360 deletions

View File

@ -74,7 +74,7 @@ golang.org/x/crypto 0c34fe9e7dc2486962ef9867e3ed
golang.org/x/net e18ecbb051101a46fc263334b127c89bc7bff7ea golang.org/x/net e18ecbb051101a46fc263334b127c89bc7bff7ea
golang.org/x/oauth2 bf48bf16ab8d622ce64ec6ce98d2c98f916b6303 golang.org/x/oauth2 bf48bf16ab8d622ce64ec6ce98d2c98f916b6303
golang.org/x/sync 036812b2e83c0ddf193dd5a34e034151da389d09 golang.org/x/sync 036812b2e83c0ddf193dd5a34e034151da389d09
golang.org/x/sys d19ff857e887eacb631721f188c7d365c2331456 golang.org/x/sys 63515b42dcdf9544f4e6a02fd7632793fde2f72d
golang.org/x/term f5c789dd3221ff39d752ac54467d762de7cfbec6 golang.org/x/term f5c789dd3221ff39d752ac54467d762de7cfbec6
golang.org/x/text 23ae387dee1f90d29a23c0e87ee0b46038fbed0e # v0.3.3 golang.org/x/text 23ae387dee1f90d29a23c0e87ee0b46038fbed0e # v0.3.3
golang.org/x/time 3af7569d3a1e776fc2a3c1cec133b43105ea9c2e golang.org/x/time 3af7569d3a1e776fc2a3c1cec133b43105ea9c2e

6
vendor/golang.org/x/sys/cpu/cpu.go generated vendored
View File

@ -56,6 +56,7 @@ var X86 struct {
HasAVX512BF16 bool // Advanced vector extension 512 BFloat16 Instructions HasAVX512BF16 bool // Advanced vector extension 512 BFloat16 Instructions
HasBMI1 bool // Bit manipulation instruction set 1 HasBMI1 bool // Bit manipulation instruction set 1
HasBMI2 bool // Bit manipulation instruction set 2 HasBMI2 bool // Bit manipulation instruction set 2
HasCX16 bool // Compare and exchange 16 Bytes
HasERMS bool // Enhanced REP for MOVSB and STOSB HasERMS bool // Enhanced REP for MOVSB and STOSB
HasFMA bool // Fused-multiply-add instructions HasFMA bool // Fused-multiply-add instructions
HasOSXSAVE bool // OS supports XSAVE/XRESTOR for saving/restoring XMM registers. HasOSXSAVE bool // OS supports XSAVE/XRESTOR for saving/restoring XMM registers.
@ -154,14 +155,13 @@ var MIPS64X struct {
// For ppc64/ppc64le, it is safe to check only for ISA level starting on ISA v3.00, // For ppc64/ppc64le, it is safe to check only for ISA level starting on ISA v3.00,
// since there are no optional categories. There are some exceptions that also // since there are no optional categories. There are some exceptions that also
// require kernel support to work (DARN, SCV), so there are feature bits for // require kernel support to work (DARN, SCV), so there are feature bits for
// those as well. The minimum processor requirement is POWER8 (ISA 2.07). // those as well. The struct is padded to avoid false sharing.
// The struct is padded to avoid false sharing.
var PPC64 struct { var PPC64 struct {
_ CacheLinePad _ CacheLinePad
HasDARN bool // Hardware random number generator (requires kernel enablement) HasDARN bool // Hardware random number generator (requires kernel enablement)
HasSCV bool // Syscall vectored (requires kernel enablement) HasSCV bool // Syscall vectored (requires kernel enablement)
IsPOWER8 bool // ISA v2.07 (POWER8) IsPOWER8 bool // ISA v2.07 (POWER8)
IsPOWER9 bool // ISA v3.00 (POWER9) IsPOWER9 bool // ISA v3.00 (POWER9), implies IsPOWER8
_ CacheLinePad _ CacheLinePad
} }

View File

@ -20,6 +20,7 @@ func archInit() {
PPC64.IsPOWER8 = true PPC64.IsPOWER8 = true
} }
if impl&_IMPL_POWER9 != 0 { if impl&_IMPL_POWER9 != 0 {
PPC64.IsPOWER8 = true
PPC64.IsPOWER9 = true PPC64.IsPOWER9 = true
} }

View File

@ -15,3 +15,7 @@ func cpuid(eaxArg, ecxArg uint32) (eax, ebx, ecx, edx uint32)
// xgetbv with ecx = 0 is implemented in cpu_x86.s for gc compiler // xgetbv with ecx = 0 is implemented in cpu_x86.s for gc compiler
// and in cpu_gccgo.c for gccgo. // and in cpu_gccgo.c for gccgo.
func xgetbv() (eax, edx uint32) func xgetbv() (eax, edx uint32)
// darwinSupportsAVX512 is implemented in cpu_x86.s for gc compiler
// and in cpu_gccgo_x86.go for gccgo.
func darwinSupportsAVX512() bool

View File

@ -25,3 +25,9 @@ func xgetbv() (eax, edx uint32) {
gccgoXgetbv(&a, &d) gccgoXgetbv(&a, &d)
return a, d return a, d
} }
// gccgo doesn't build on Darwin, per:
// https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/gcc.rb#L76
func darwinSupportsAVX512() bool {
return false
}

View File

@ -39,6 +39,7 @@ func initOptions() {
{Name: "avx512bf16", Feature: &X86.HasAVX512BF16}, {Name: "avx512bf16", Feature: &X86.HasAVX512BF16},
{Name: "bmi1", Feature: &X86.HasBMI1}, {Name: "bmi1", Feature: &X86.HasBMI1},
{Name: "bmi2", Feature: &X86.HasBMI2}, {Name: "bmi2", Feature: &X86.HasBMI2},
{Name: "cx16", Feature: &X86.HasCX16},
{Name: "erms", Feature: &X86.HasERMS}, {Name: "erms", Feature: &X86.HasERMS},
{Name: "fma", Feature: &X86.HasFMA}, {Name: "fma", Feature: &X86.HasFMA},
{Name: "osxsave", Feature: &X86.HasOSXSAVE}, {Name: "osxsave", Feature: &X86.HasOSXSAVE},
@ -73,6 +74,7 @@ func archInit() {
X86.HasPCLMULQDQ = isSet(1, ecx1) X86.HasPCLMULQDQ = isSet(1, ecx1)
X86.HasSSSE3 = isSet(9, ecx1) X86.HasSSSE3 = isSet(9, ecx1)
X86.HasFMA = isSet(12, ecx1) X86.HasFMA = isSet(12, ecx1)
X86.HasCX16 = isSet(13, ecx1)
X86.HasSSE41 = isSet(19, ecx1) X86.HasSSE41 = isSet(19, ecx1)
X86.HasSSE42 = isSet(20, ecx1) X86.HasSSE42 = isSet(20, ecx1)
X86.HasPOPCNT = isSet(23, ecx1) X86.HasPOPCNT = isSet(23, ecx1)
@ -87,8 +89,14 @@ func archInit() {
// Check if XMM and YMM registers have OS support. // Check if XMM and YMM registers have OS support.
osSupportsAVX = isSet(1, eax) && isSet(2, eax) osSupportsAVX = isSet(1, eax) && isSet(2, eax)
// Check if OPMASK and ZMM registers have OS support. if runtime.GOOS == "darwin" {
osSupportsAVX512 = osSupportsAVX && isSet(5, eax) && isSet(6, eax) && isSet(7, eax) // Check darwin commpage for AVX512 support. Necessary because:
// https://github.com/apple/darwin-xnu/blob/0a798f6738bc1db01281fc08ae024145e84df927/osfmk/i386/fpu.c#L175-L201
osSupportsAVX512 = osSupportsAVX && darwinSupportsAVX512()
} else {
// Check if OPMASK and ZMM registers have OS support.
osSupportsAVX512 = osSupportsAVX && isSet(5, eax) && isSet(6, eax) && isSet(7, eax)
}
} }
X86.HasAVX = isSet(28, ecx1) && osSupportsAVX X86.HasAVX = isSet(28, ecx1) && osSupportsAVX

View File

@ -26,3 +26,27 @@ TEXT ·xgetbv(SB),NOSPLIT,$0-8
MOVL AX, eax+0(FP) MOVL AX, eax+0(FP)
MOVL DX, edx+4(FP) MOVL DX, edx+4(FP)
RET RET
// func darwinSupportsAVX512() bool
TEXT ·darwinSupportsAVX512(SB), NOSPLIT, $0-1
MOVB $0, ret+0(FP) // default to false
#ifdef GOOS_darwin // return if not darwin
#ifdef GOARCH_amd64 // return if not amd64
// These values from:
// https://github.com/apple/darwin-xnu/blob/xnu-4570.1.46/osfmk/i386/cpu_capabilities.h
#define commpage64_base_address 0x00007fffffe00000
#define commpage64_cpu_capabilities64 (commpage64_base_address+0x010)
#define commpage64_version (commpage64_base_address+0x01E)
#define hasAVX512F 0x0000004000000000
MOVQ $commpage64_version, BX
CMPW (BX), $13 // cpu_capabilities64 undefined in versions < 13
JL no_avx512
MOVQ $commpage64_cpu_capabilities64, BX
MOVQ $hasAVX512F, CX
TESTQ (BX), CX
JZ no_avx512
MOVB $1, ret+0(FP)
no_avx512:
#endif
#endif
RET

2
vendor/golang.org/x/sys/go.mod generated vendored
View File

@ -1,3 +1,3 @@
module golang.org/x/sys module golang.org/x/sys
go 1.12 go 1.17

View File

@ -76,7 +76,7 @@ arguments can be passed to the kernel. The third is for low-level use by the
ForkExec wrapper. Unlike the first two, it does not call into the scheduler to ForkExec wrapper. Unlike the first two, it does not call into the scheduler to
let it know that a system call is running. let it know that a system call is running.
When porting Go to an new architecture/OS, this file must be implemented for When porting Go to a new architecture/OS, this file must be implemented for
each GOOS/GOARCH pair. each GOOS/GOARCH pair.
### mksysnum ### mksysnum
@ -107,7 +107,7 @@ prototype can be exported (capitalized) or not.
Adding a new syscall often just requires adding a new `//sys` function prototype Adding a new syscall often just requires adding a new `//sys` function prototype
with the desired arguments and a capitalized name so it is exported. However, if with the desired arguments and a capitalized name so it is exported. However, if
you want the interface to the syscall to be different, often one will make an you want the interface to the syscall to be different, often one will make an
unexported `//sys` prototype, an then write a custom wrapper in unexported `//sys` prototype, and then write a custom wrapper in
`syscall_${GOOS}.go`. `syscall_${GOOS}.go`.
### types files ### types files
@ -137,7 +137,7 @@ some `#if/#elif` macros in your include statements.
This script is used to generate the system's various constants. This doesn't This script is used to generate the system's various constants. This doesn't
just include the error numbers and error strings, but also the signal numbers just include the error numbers and error strings, but also the signal numbers
an a wide variety of miscellaneous constants. The constants come from the list and a wide variety of miscellaneous constants. The constants come from the list
of include files in the `includes_${uname}` variable. A regex then picks out of include files in the `includes_${uname}` variable. A regex then picks out
the desired `#define` statements, and generates the corresponding Go constants. the desired `#define` statements, and generates the corresponding Go constants.
The error numbers and strings are generated from `#include <errno.h>`, and the The error numbers and strings are generated from `#include <errno.h>`, and the

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build (darwin || freebsd || netbsd || openbsd) && gc //go:build (freebsd || netbsd || openbsd) && gc
// +build darwin freebsd netbsd openbsd // +build freebsd netbsd openbsd
// +build gc // +build gc
#include "textflag.h" #include "textflag.h"

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build (darwin || freebsd || netbsd || openbsd) && gc //go:build (freebsd || netbsd || openbsd) && gc
// +build darwin freebsd netbsd openbsd // +build freebsd netbsd openbsd
// +build gc // +build gc
#include "textflag.h" #include "textflag.h"

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos
// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris zos
package unix package unix

149
vendor/golang.org/x/sys/unix/ifreq_linux.go generated vendored Normal file
View File

@ -0,0 +1,149 @@
// Copyright 2021 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.
//go:build linux
// +build linux
package unix
import (
"bytes"
"unsafe"
)
// Helpers for dealing with ifreq since it contains a union and thus requires a
// lot of unsafe.Pointer casts to use properly.
// An Ifreq is a type-safe wrapper around the raw ifreq struct. An Ifreq
// contains an interface name and a union of arbitrary data which can be
// accessed using the Ifreq's methods. To create an Ifreq, use the NewIfreq
// function.
//
// Use the Name method to access the stored interface name. The union data
// fields can be get and set using the following methods:
// - Uint16/SetUint16: flags
// - Uint32/SetUint32: ifindex, metric, mtu
type Ifreq struct{ raw ifreq }
// NewIfreq creates an Ifreq with the input network interface name after
// validating the name does not exceed IFNAMSIZ-1 (trailing NULL required)
// bytes.
func NewIfreq(name string) (*Ifreq, error) {
// Leave room for terminating NULL byte.
if len(name) >= IFNAMSIZ {
return nil, EINVAL
}
var ifr ifreq
copy(ifr.Ifrn[:], name)
return &Ifreq{raw: ifr}, nil
}
// TODO(mdlayher): get/set methods for hardware address sockaddr, char array, etc.
// Name returns the interface name associated with the Ifreq.
func (ifr *Ifreq) Name() string {
// BytePtrToString requires a NULL terminator or the program may crash. If
// one is not present, just return the empty string.
if !bytes.Contains(ifr.raw.Ifrn[:], []byte{0x00}) {
return ""
}
return BytePtrToString(&ifr.raw.Ifrn[0])
}
// According to netdevice(7), only AF_INET addresses are returned for numerous
// sockaddr ioctls. For convenience, we expose these as Inet4Addr since the Port
// field and other data is always empty.
// Inet4Addr returns the Ifreq union data from an embedded sockaddr as a C
// in_addr/Go []byte (4-byte IPv4 address) value. If the sockaddr family is not
// AF_INET, an error is returned.
func (ifr *Ifreq) Inet4Addr() ([]byte, error) {
raw := *(*RawSockaddrInet4)(unsafe.Pointer(&ifr.raw.Ifru[:SizeofSockaddrInet4][0]))
if raw.Family != AF_INET {
// Cannot safely interpret raw.Addr bytes as an IPv4 address.
return nil, EINVAL
}
return raw.Addr[:], nil
}
// SetInet4Addr sets a C in_addr/Go []byte (4-byte IPv4 address) value in an
// embedded sockaddr within the Ifreq's union data. v must be 4 bytes in length
// or an error will be returned.
func (ifr *Ifreq) SetInet4Addr(v []byte) error {
if len(v) != 4 {
return EINVAL
}
var addr [4]byte
copy(addr[:], v)
ifr.clear()
*(*RawSockaddrInet4)(
unsafe.Pointer(&ifr.raw.Ifru[:SizeofSockaddrInet4][0]),
) = RawSockaddrInet4{
// Always set IP family as ioctls would require it anyway.
Family: AF_INET,
Addr: addr,
}
return nil
}
// Uint16 returns the Ifreq union data as a C short/Go uint16 value.
func (ifr *Ifreq) Uint16() uint16 {
return *(*uint16)(unsafe.Pointer(&ifr.raw.Ifru[:2][0]))
}
// SetUint16 sets a C short/Go uint16 value as the Ifreq's union data.
func (ifr *Ifreq) SetUint16(v uint16) {
ifr.clear()
*(*uint16)(unsafe.Pointer(&ifr.raw.Ifru[:2][0])) = v
}
// Uint32 returns the Ifreq union data as a C int/Go uint32 value.
func (ifr *Ifreq) Uint32() uint32 {
return *(*uint32)(unsafe.Pointer(&ifr.raw.Ifru[:4][0]))
}
// SetUint32 sets a C int/Go uint32 value as the Ifreq's union data.
func (ifr *Ifreq) SetUint32(v uint32) {
ifr.clear()
*(*uint32)(unsafe.Pointer(&ifr.raw.Ifru[:4][0])) = v
}
// clear zeroes the ifreq's union field to prevent trailing garbage data from
// being sent to the kernel if an ifreq is reused.
func (ifr *Ifreq) clear() {
for i := range ifr.raw.Ifru {
ifr.raw.Ifru[i] = 0
}
}
// TODO(mdlayher): export as IfreqData? For now we can provide helpers such as
// IoctlGetEthtoolDrvinfo which use these APIs under the hood.
// An ifreqData is an Ifreq which carries pointer data. To produce an ifreqData,
// use the Ifreq.withData method.
type ifreqData struct {
name [IFNAMSIZ]byte
// A type separate from ifreq is required in order to comply with the
// unsafe.Pointer rules since the "pointer-ness" of data would not be
// preserved if it were cast into the byte array of a raw ifreq.
data unsafe.Pointer
// Pad to the same size as ifreq.
_ [len(ifreq{}.Ifru) - SizeofPtr]byte
}
// withData produces an ifreqData with the pointer p set for ioctls which require
// arbitrary pointer data.
func (ifr Ifreq) withData(p unsafe.Pointer) ifreqData {
return ifreqData{
name: ifr.raw.Ifrn,
data: p,
}
}

View File

@ -5,7 +5,6 @@
package unix package unix
import ( import (
"runtime"
"unsafe" "unsafe"
) )
@ -22,56 +21,42 @@ func IoctlRetInt(fd int, req uint) (int, error) {
func IoctlGetUint32(fd int, req uint) (uint32, error) { func IoctlGetUint32(fd int, req uint) (uint32, error) {
var value uint32 var value uint32
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value))) err := ioctlPtr(fd, req, unsafe.Pointer(&value))
return value, err return value, err
} }
func IoctlGetRTCTime(fd int) (*RTCTime, error) { func IoctlGetRTCTime(fd int) (*RTCTime, error) {
var value RTCTime var value RTCTime
err := ioctl(fd, RTC_RD_TIME, uintptr(unsafe.Pointer(&value))) err := ioctlPtr(fd, RTC_RD_TIME, unsafe.Pointer(&value))
return &value, err return &value, err
} }
func IoctlSetRTCTime(fd int, value *RTCTime) error { func IoctlSetRTCTime(fd int, value *RTCTime) error {
err := ioctl(fd, RTC_SET_TIME, uintptr(unsafe.Pointer(value))) return ioctlPtr(fd, RTC_SET_TIME, unsafe.Pointer(value))
runtime.KeepAlive(value)
return err
} }
func IoctlGetRTCWkAlrm(fd int) (*RTCWkAlrm, error) { func IoctlGetRTCWkAlrm(fd int) (*RTCWkAlrm, error) {
var value RTCWkAlrm var value RTCWkAlrm
err := ioctl(fd, RTC_WKALM_RD, uintptr(unsafe.Pointer(&value))) err := ioctlPtr(fd, RTC_WKALM_RD, unsafe.Pointer(&value))
return &value, err return &value, err
} }
func IoctlSetRTCWkAlrm(fd int, value *RTCWkAlrm) error { func IoctlSetRTCWkAlrm(fd int, value *RTCWkAlrm) error {
err := ioctl(fd, RTC_WKALM_SET, uintptr(unsafe.Pointer(value))) return ioctlPtr(fd, RTC_WKALM_SET, unsafe.Pointer(value))
runtime.KeepAlive(value)
return err
}
type ifreqEthtool struct {
name [IFNAMSIZ]byte
data unsafe.Pointer
} }
// IoctlGetEthtoolDrvinfo fetches ethtool driver information for the network // IoctlGetEthtoolDrvinfo fetches ethtool driver information for the network
// device specified by ifname. // device specified by ifname.
func IoctlGetEthtoolDrvinfo(fd int, ifname string) (*EthtoolDrvinfo, error) { func IoctlGetEthtoolDrvinfo(fd int, ifname string) (*EthtoolDrvinfo, error) {
// Leave room for terminating NULL byte. ifr, err := NewIfreq(ifname)
if len(ifname) >= IFNAMSIZ { if err != nil {
return nil, EINVAL return nil, err
} }
value := EthtoolDrvinfo{ value := EthtoolDrvinfo{Cmd: ETHTOOL_GDRVINFO}
Cmd: ETHTOOL_GDRVINFO, ifrd := ifr.withData(unsafe.Pointer(&value))
}
ifreq := ifreqEthtool{ err = ioctlIfreqData(fd, SIOCETHTOOL, &ifrd)
data: unsafe.Pointer(&value),
}
copy(ifreq.name[:], ifname)
err := ioctl(fd, SIOCETHTOOL, uintptr(unsafe.Pointer(&ifreq)))
runtime.KeepAlive(ifreq)
return &value, err return &value, err
} }
@ -80,7 +65,7 @@ func IoctlGetEthtoolDrvinfo(fd int, ifname string) (*EthtoolDrvinfo, error) {
// https://www.kernel.org/doc/html/latest/watchdog/watchdog-api.html. // https://www.kernel.org/doc/html/latest/watchdog/watchdog-api.html.
func IoctlGetWatchdogInfo(fd int) (*WatchdogInfo, error) { func IoctlGetWatchdogInfo(fd int) (*WatchdogInfo, error) {
var value WatchdogInfo var value WatchdogInfo
err := ioctl(fd, WDIOC_GETSUPPORT, uintptr(unsafe.Pointer(&value))) err := ioctlPtr(fd, WDIOC_GETSUPPORT, unsafe.Pointer(&value))
return &value, err return &value, err
} }
@ -88,6 +73,7 @@ func IoctlGetWatchdogInfo(fd int) (*WatchdogInfo, error) {
// more information, see: // more information, see:
// https://www.kernel.org/doc/html/latest/watchdog/watchdog-api.html. // https://www.kernel.org/doc/html/latest/watchdog/watchdog-api.html.
func IoctlWatchdogKeepalive(fd int) error { func IoctlWatchdogKeepalive(fd int) error {
// arg is ignored and not a pointer, so ioctl is fine instead of ioctlPtr.
return ioctl(fd, WDIOC_KEEPALIVE, 0) return ioctl(fd, WDIOC_KEEPALIVE, 0)
} }
@ -95,9 +81,7 @@ func IoctlWatchdogKeepalive(fd int) error {
// range of data conveyed in value to the file associated with the file // range of data conveyed in value to the file associated with the file
// descriptor destFd. See the ioctl_ficlonerange(2) man page for details. // descriptor destFd. See the ioctl_ficlonerange(2) man page for details.
func IoctlFileCloneRange(destFd int, value *FileCloneRange) error { func IoctlFileCloneRange(destFd int, value *FileCloneRange) error {
err := ioctl(destFd, FICLONERANGE, uintptr(unsafe.Pointer(value))) return ioctlPtr(destFd, FICLONERANGE, unsafe.Pointer(value))
runtime.KeepAlive(value)
return err
} }
// IoctlFileClone performs an FICLONE ioctl operation to clone the entire file // IoctlFileClone performs an FICLONE ioctl operation to clone the entire file
@ -148,7 +132,7 @@ func IoctlFileDedupeRange(srcFd int, value *FileDedupeRange) error {
rawinfo.Reserved = value.Info[i].Reserved rawinfo.Reserved = value.Info[i].Reserved
} }
err := ioctl(srcFd, FIDEDUPERANGE, uintptr(unsafe.Pointer(&buf[0]))) err := ioctlPtr(srcFd, FIDEDUPERANGE, unsafe.Pointer(&buf[0]))
// Output // Output
for i := range value.Info { for i := range value.Info {
@ -166,31 +150,47 @@ func IoctlFileDedupeRange(srcFd int, value *FileDedupeRange) error {
} }
func IoctlHIDGetDesc(fd int, value *HIDRawReportDescriptor) error { func IoctlHIDGetDesc(fd int, value *HIDRawReportDescriptor) error {
err := ioctl(fd, HIDIOCGRDESC, uintptr(unsafe.Pointer(value))) return ioctlPtr(fd, HIDIOCGRDESC, unsafe.Pointer(value))
runtime.KeepAlive(value)
return err
} }
func IoctlHIDGetRawInfo(fd int) (*HIDRawDevInfo, error) { func IoctlHIDGetRawInfo(fd int) (*HIDRawDevInfo, error) {
var value HIDRawDevInfo var value HIDRawDevInfo
err := ioctl(fd, HIDIOCGRAWINFO, uintptr(unsafe.Pointer(&value))) err := ioctlPtr(fd, HIDIOCGRAWINFO, unsafe.Pointer(&value))
return &value, err return &value, err
} }
func IoctlHIDGetRawName(fd int) (string, error) { func IoctlHIDGetRawName(fd int) (string, error) {
var value [_HIDIOCGRAWNAME_LEN]byte var value [_HIDIOCGRAWNAME_LEN]byte
err := ioctl(fd, _HIDIOCGRAWNAME, uintptr(unsafe.Pointer(&value[0]))) err := ioctlPtr(fd, _HIDIOCGRAWNAME, unsafe.Pointer(&value[0]))
return ByteSliceToString(value[:]), err return ByteSliceToString(value[:]), err
} }
func IoctlHIDGetRawPhys(fd int) (string, error) { func IoctlHIDGetRawPhys(fd int) (string, error) {
var value [_HIDIOCGRAWPHYS_LEN]byte var value [_HIDIOCGRAWPHYS_LEN]byte
err := ioctl(fd, _HIDIOCGRAWPHYS, uintptr(unsafe.Pointer(&value[0]))) err := ioctlPtr(fd, _HIDIOCGRAWPHYS, unsafe.Pointer(&value[0]))
return ByteSliceToString(value[:]), err return ByteSliceToString(value[:]), err
} }
func IoctlHIDGetRawUniq(fd int) (string, error) { func IoctlHIDGetRawUniq(fd int) (string, error) {
var value [_HIDIOCGRAWUNIQ_LEN]byte var value [_HIDIOCGRAWUNIQ_LEN]byte
err := ioctl(fd, _HIDIOCGRAWUNIQ, uintptr(unsafe.Pointer(&value[0]))) err := ioctlPtr(fd, _HIDIOCGRAWUNIQ, unsafe.Pointer(&value[0]))
return ByteSliceToString(value[:]), err return ByteSliceToString(value[:]), err
} }
// IoctlIfreq performs an ioctl using an Ifreq structure for input and/or
// output. See the netdevice(7) man page for details.
func IoctlIfreq(fd int, req uint, value *Ifreq) error {
// It is possible we will add more fields to *Ifreq itself later to prevent
// misuse, so pass the raw *ifreq directly.
return ioctlPtr(fd, req, unsafe.Pointer(&value.raw))
}
// TODO(mdlayher): export if and when IfreqData is exported.
// ioctlIfreqData performs an ioctl using an ifreqData structure for input
// and/or output. See the netdevice(7) man page for details.
func ioctlIfreqData(fd int, req uint, value *ifreqData) error {
// The memory layout of IfreqData (type-safe) and ifreq (not type-safe) are
// identical so pass *IfreqData directly.
return ioctlPtr(fd, req, unsafe.Pointer(value))
}

View File

@ -17,7 +17,7 @@ import (
//sys readdir_r(dir uintptr, entry *Dirent, result **Dirent) (res Errno) //sys readdir_r(dir uintptr, entry *Dirent, result **Dirent) (res Errno)
func fdopendir(fd int) (dir uintptr, err error) { func fdopendir(fd int) (dir uintptr, err error) {
r0, _, e1 := syscall_syscallPtr(funcPC(libc_fdopendir_trampoline), uintptr(fd), 0, 0) r0, _, e1 := syscall_syscallPtr(libc_fdopendir_trampoline_addr, uintptr(fd), 0, 0)
dir = uintptr(r0) dir = uintptr(r0)
if e1 != 0 { if e1 != 0 {
err = errnoErr(e1) err = errnoErr(e1)
@ -25,7 +25,7 @@ func fdopendir(fd int) (dir uintptr, err error) {
return return
} }
func libc_fdopendir_trampoline() var libc_fdopendir_trampoline_addr uintptr
//go:cgo_import_dynamic libc_fdopendir fdopendir "/usr/lib/libSystem.B.dylib" //go:cgo_import_dynamic libc_fdopendir fdopendir "/usr/lib/libSystem.B.dylib"

View File

@ -13,6 +13,7 @@
package unix package unix
import ( import (
"fmt"
"runtime" "runtime"
"syscall" "syscall"
"unsafe" "unsafe"
@ -398,6 +399,38 @@ func GetsockoptXucred(fd, level, opt int) (*Xucred, error) {
return x, err return x, err
} }
func SysctlKinfoProcSlice(name string) ([]KinfoProc, error) {
mib, err := sysctlmib(name)
if err != nil {
return nil, err
}
// Find size.
n := uintptr(0)
if err := sysctl(mib, nil, &n, nil, 0); err != nil {
return nil, err
}
if n == 0 {
return nil, nil
}
if n%SizeofKinfoProc != 0 {
return nil, fmt.Errorf("sysctl() returned a size of %d, which is not a multiple of %d", n, SizeofKinfoProc)
}
// Read into buffer of that size.
buf := make([]KinfoProc, n/SizeofKinfoProc)
if err := sysctl(mib, (*byte)(unsafe.Pointer(&buf[0])), &n, nil, 0); err != nil {
return nil, err
}
if n%SizeofKinfoProc != 0 {
return nil, fmt.Errorf("sysctl() returned a size of %d, which is not a multiple of %d", n, SizeofKinfoProc)
}
// The actual call may return less than the original reported required
// size so ensure we deal with that.
return buf[:n/SizeofKinfoProc], nil
}
//sys sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) //sys sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error)
/* /*

View File

@ -1,51 +0,0 @@
// Copyright 2009 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.
//go:build 386 && darwin
// +build 386,darwin
package unix
import "syscall"
func setTimespec(sec, nsec int64) Timespec {
return Timespec{Sec: int32(sec), Nsec: int32(nsec)}
}
func setTimeval(sec, usec int64) Timeval {
return Timeval{Sec: int32(sec), Usec: int32(usec)}
}
func SetKevent(k *Kevent_t, fd, mode, flags int) {
k.Ident = uint32(fd)
k.Filter = int16(mode)
k.Flags = uint16(flags)
}
func (iov *Iovec) SetLen(length int) {
iov.Len = uint32(length)
}
func (msghdr *Msghdr) SetControllen(length int) {
msghdr.Controllen = uint32(length)
}
func (msghdr *Msghdr) SetIovlen(length int) {
msghdr.Iovlen = int32(length)
}
func (cmsg *Cmsghdr) SetLen(length int) {
cmsg.Len = uint32(length)
}
func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
//sys Fstat(fd int, stat *Stat_t) (err error) = SYS_FSTAT64
//sys Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) = SYS_FSTATAT64
//sys Fstatfs(fd int, stat *Statfs_t) (err error) = SYS_FSTATFS64
//sys getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) = SYS_GETFSSTAT64
//sys Lstat(path string, stat *Stat_t) (err error) = SYS_LSTAT64
//sys ptrace1(request int, pid int, addr uintptr, data uintptr) (err error) = SYS_ptrace
//sys Stat(path string, stat *Stat_t) (err error) = SYS_STAT64
//sys Statfs(path string, stat *Statfs_t) (err error) = SYS_STATFS64

View File

@ -1,51 +0,0 @@
// Copyright 2015 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"
func ptrace1(request int, pid int, addr uintptr, data uintptr) error {
return ENOTSUP
}
func setTimespec(sec, nsec int64) Timespec {
return Timespec{Sec: int32(sec), Nsec: int32(nsec)}
}
func setTimeval(sec, usec int64) Timeval {
return Timeval{Sec: int32(sec), Usec: int32(usec)}
}
func SetKevent(k *Kevent_t, fd, mode, flags int) {
k.Ident = uint32(fd)
k.Filter = int16(mode)
k.Flags = uint16(flags)
}
func (iov *Iovec) SetLen(length int) {
iov.Len = uint32(length)
}
func (msghdr *Msghdr) SetControllen(length int) {
msghdr.Controllen = uint32(length)
}
func (msghdr *Msghdr) SetIovlen(length int) {
msghdr.Iovlen = int32(length)
}
func (cmsg *Cmsghdr) SetLen(length int) {
cmsg.Len = uint32(length)
}
func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno) // sic
//sys Fstat(fd int, stat *Stat_t) (err error)
//sys Fstatat(fd int, path string, stat *Stat_t, flags int) (err error)
//sys Fstatfs(fd int, stat *Statfs_t) (err error)
//sys getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) = SYS_GETFSSTAT
//sys Lstat(path string, stat *Stat_t) (err error)
//sys Stat(path string, stat *Stat_t) (err error)
//sys Statfs(path string, stat *Statfs_t) (err error)

View File

@ -7,7 +7,7 @@
package unix package unix
import "unsafe" import _ "unsafe"
// Implemented in the runtime package (runtime/sys_darwin.go) // Implemented in the runtime package (runtime/sys_darwin.go)
func syscall_syscall(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno) func syscall_syscall(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
@ -25,10 +25,3 @@ func syscall_syscallPtr(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
//go:linkname syscall_rawSyscall syscall.rawSyscall //go:linkname syscall_rawSyscall syscall.rawSyscall
//go:linkname syscall_rawSyscall6 syscall.rawSyscall6 //go:linkname syscall_rawSyscall6 syscall.rawSyscall6
//go:linkname syscall_syscallPtr syscall.syscallPtr //go:linkname syscall_syscallPtr syscall.syscallPtr
// Find the entry point for f. See comments in runtime/proc.go for the
// function of the same name.
//go:nosplit
func funcPC(f func()) uintptr {
return **(**uintptr)(unsafe.Pointer(&f))
}

View File

@ -66,11 +66,18 @@ func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
return fchmodat(dirfd, path, mode) return fchmodat(dirfd, path, mode)
} }
//sys ioctl(fd int, req uint, arg uintptr) (err error) //sys ioctl(fd int, req uint, arg uintptr) (err error) = SYS_IOCTL
//sys ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) = SYS_IOCTL
// ioctl itself should not be exposed directly, but additional get/set // ioctl itself should not be exposed directly, but additional get/set functions
// functions for specific types are permissible. // for specific types are permissible. These are defined in ioctl.go and
// These are defined in ioctl.go and ioctl_linux.go. // ioctl_linux.go.
//
// The third argument to ioctl is often a pointer but sometimes an integer.
// Callers should use ioctlPtr when the third argument is a pointer and ioctl
// when the third argument is an integer.
//
// TODO: some existing code incorrectly uses ioctl when it should use ioctlPtr.
//sys Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) //sys Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error)
@ -904,6 +911,46 @@ func (sa *SockaddrIUCV) sockaddr() (unsafe.Pointer, _Socklen, error) {
return unsafe.Pointer(&sa.raw), SizeofSockaddrIUCV, nil return unsafe.Pointer(&sa.raw), SizeofSockaddrIUCV, nil
} }
type SockaddrNFC struct {
DeviceIdx uint32
TargetIdx uint32
NFCProtocol uint32
raw RawSockaddrNFC
}
func (sa *SockaddrNFC) sockaddr() (unsafe.Pointer, _Socklen, error) {
sa.raw.Sa_family = AF_NFC
sa.raw.Dev_idx = sa.DeviceIdx
sa.raw.Target_idx = sa.TargetIdx
sa.raw.Nfc_protocol = sa.NFCProtocol
return unsafe.Pointer(&sa.raw), SizeofSockaddrNFC, nil
}
type SockaddrNFCLLCP struct {
DeviceIdx uint32
TargetIdx uint32
NFCProtocol uint32
DestinationSAP uint8
SourceSAP uint8
ServiceName string
raw RawSockaddrNFCLLCP
}
func (sa *SockaddrNFCLLCP) sockaddr() (unsafe.Pointer, _Socklen, error) {
sa.raw.Sa_family = AF_NFC
sa.raw.Dev_idx = sa.DeviceIdx
sa.raw.Target_idx = sa.TargetIdx
sa.raw.Nfc_protocol = sa.NFCProtocol
sa.raw.Dsap = sa.DestinationSAP
sa.raw.Ssap = sa.SourceSAP
if len(sa.ServiceName) > len(sa.raw.Service_name) {
return nil, 0, EINVAL
}
copy(sa.raw.Service_name[:], sa.ServiceName)
sa.raw.SetServiceNameLen(len(sa.ServiceName))
return unsafe.Pointer(&sa.raw), SizeofSockaddrNFCLLCP, nil
}
var socketProtocol = func(fd int) (int, error) { var socketProtocol = func(fd int) (int, error) {
return GetsockoptInt(fd, SOL_SOCKET, SO_PROTOCOL) return GetsockoptInt(fd, SOL_SOCKET, SO_PROTOCOL)
} }
@ -1144,6 +1191,37 @@ func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) {
} }
return sa, nil return sa, nil
} }
case AF_NFC:
proto, err := socketProtocol(fd)
if err != nil {
return nil, err
}
switch proto {
case NFC_SOCKPROTO_RAW:
pp := (*RawSockaddrNFC)(unsafe.Pointer(rsa))
sa := &SockaddrNFC{
DeviceIdx: pp.Dev_idx,
TargetIdx: pp.Target_idx,
NFCProtocol: pp.Nfc_protocol,
}
return sa, nil
case NFC_SOCKPROTO_LLCP:
pp := (*RawSockaddrNFCLLCP)(unsafe.Pointer(rsa))
if uint64(pp.Service_name_len) > uint64(len(pp.Service_name)) {
return nil, EINVAL
}
sa := &SockaddrNFCLLCP{
DeviceIdx: pp.Dev_idx,
TargetIdx: pp.Target_idx,
NFCProtocol: pp.Nfc_protocol,
DestinationSAP: pp.Dsap,
SourceSAP: pp.Ssap,
ServiceName: string(pp.Service_name[:pp.Service_name_len]),
}
return sa, nil
default:
return nil, EINVAL
}
} }
return nil, EAFNOSUPPORT return nil, EAFNOSUPPORT
} }
@ -1277,6 +1355,13 @@ func SetsockoptTpacketReq3(fd, level, opt int, tp *TpacketReq3) error {
return setsockopt(fd, level, opt, unsafe.Pointer(tp), unsafe.Sizeof(*tp)) return setsockopt(fd, level, opt, unsafe.Pointer(tp), unsafe.Sizeof(*tp))
} }
func SetsockoptTCPRepairOpt(fd, level, opt int, o []TCPRepairOpt) (err error) {
if len(o) == 0 {
return EINVAL
}
return setsockopt(fd, level, opt, unsafe.Pointer(&o[0]), uintptr(SizeofTCPRepairOpt*len(o)))
}
// Keyctl Commands (http://man7.org/linux/man-pages/man2/keyctl.2.html) // Keyctl Commands (http://man7.org/linux/man-pages/man2/keyctl.2.html)
// KeyctlInt calls keyctl commands in which each argument is an int. // KeyctlInt calls keyctl commands in which each argument is an int.
@ -1788,7 +1873,7 @@ func Getpgrp() (pid int) {
//sys Nanosleep(time *Timespec, leftover *Timespec) (err error) //sys Nanosleep(time *Timespec, leftover *Timespec) (err error)
//sys PerfEventOpen(attr *PerfEventAttr, pid int, cpu int, groupFd int, flags int) (fd int, err error) //sys PerfEventOpen(attr *PerfEventAttr, pid int, cpu int, groupFd int, flags int) (fd int, err error)
//sys PivotRoot(newroot string, putold string) (err error) = SYS_PIVOT_ROOT //sys PivotRoot(newroot string, putold string) (err error) = SYS_PIVOT_ROOT
//sysnb prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) = SYS_PRLIMIT64 //sysnb Prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) = SYS_PRLIMIT64
//sys Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) //sys Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error)
//sys Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) = SYS_PSELECT6 //sys Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) = SYS_PSELECT6
//sys read(fd int, p []byte) (n int, err error) //sys read(fd int, p []byte) (n int, err error)

View File

@ -105,7 +105,7 @@ const rlimInf32 = ^uint32(0)
const rlimInf64 = ^uint64(0) const rlimInf64 = ^uint64(0)
func Getrlimit(resource int, rlim *Rlimit) (err error) { func Getrlimit(resource int, rlim *Rlimit) (err error) {
err = prlimit(0, resource, nil, rlim) err = Prlimit(0, resource, nil, rlim)
if err != ENOSYS { if err != ENOSYS {
return err return err
} }
@ -133,7 +133,7 @@ func Getrlimit(resource int, rlim *Rlimit) (err error) {
//sysnb setrlimit(resource int, rlim *rlimit32) (err error) = SYS_SETRLIMIT //sysnb setrlimit(resource int, rlim *rlimit32) (err error) = SYS_SETRLIMIT
func Setrlimit(resource int, rlim *Rlimit) (err error) { func Setrlimit(resource int, rlim *Rlimit) (err error) {
err = prlimit(0, resource, rlim, nil) err = Prlimit(0, resource, rlim, nil)
if err != ENOSYS { if err != ENOSYS {
return err return err
} }
@ -378,6 +378,10 @@ func (cmsg *Cmsghdr) SetLen(length int) {
cmsg.Len = uint32(length) cmsg.Len = uint32(length)
} }
func (rsa *RawSockaddrNFCLLCP) SetServiceNameLen(length int) {
rsa.Service_name_len = uint32(length)
}
//sys poll(fds *PollFd, nfds int, timeout int) (n int, err error) //sys poll(fds *PollFd, nfds int, timeout int) (n int, err error)
func Poll(fds []PollFd, timeout int) (n int, err error) { func Poll(fds []PollFd, timeout int) (n int, err error) {

View File

@ -172,6 +172,10 @@ func (cmsg *Cmsghdr) SetLen(length int) {
cmsg.Len = uint64(length) cmsg.Len = uint64(length)
} }
func (rsa *RawSockaddrNFCLLCP) SetServiceNameLen(length int) {
rsa.Service_name_len = uint64(length)
}
//sys poll(fds *PollFd, nfds int, timeout int) (n int, err error) //sys poll(fds *PollFd, nfds int, timeout int) (n int, err error)
func Poll(fds []PollFd, timeout int) (n int, err error) { func Poll(fds []PollFd, timeout int) (n int, err error) {

View File

@ -184,7 +184,7 @@ const rlimInf32 = ^uint32(0)
const rlimInf64 = ^uint64(0) const rlimInf64 = ^uint64(0)
func Getrlimit(resource int, rlim *Rlimit) (err error) { func Getrlimit(resource int, rlim *Rlimit) (err error) {
err = prlimit(0, resource, nil, rlim) err = Prlimit(0, resource, nil, rlim)
if err != ENOSYS { if err != ENOSYS {
return err return err
} }
@ -212,7 +212,7 @@ func Getrlimit(resource int, rlim *Rlimit) (err error) {
//sysnb setrlimit(resource int, rlim *rlimit32) (err error) = SYS_SETRLIMIT //sysnb setrlimit(resource int, rlim *rlimit32) (err error) = SYS_SETRLIMIT
func Setrlimit(resource int, rlim *Rlimit) (err error) { func Setrlimit(resource int, rlim *Rlimit) (err error) {
err = prlimit(0, resource, rlim, nil) err = Prlimit(0, resource, rlim, nil)
if err != ENOSYS { if err != ENOSYS {
return err return err
} }
@ -256,6 +256,10 @@ func (cmsg *Cmsghdr) SetLen(length int) {
cmsg.Len = uint32(length) cmsg.Len = uint32(length)
} }
func (rsa *RawSockaddrNFCLLCP) SetServiceNameLen(length int) {
rsa.Service_name_len = uint32(length)
}
//sys poll(fds *PollFd, nfds int, timeout int) (n int, err error) //sys poll(fds *PollFd, nfds int, timeout int) (n int, err error)
func Poll(fds []PollFd, timeout int) (n int, err error) { func Poll(fds []PollFd, timeout int) (n int, err error) {

View File

@ -171,7 +171,7 @@ func Pipe2(p []int, flags int) (err error) {
// Getrlimit prefers the prlimit64 system call. See issue 38604. // Getrlimit prefers the prlimit64 system call. See issue 38604.
func Getrlimit(resource int, rlim *Rlimit) error { func Getrlimit(resource int, rlim *Rlimit) error {
err := prlimit(0, resource, nil, rlim) err := Prlimit(0, resource, nil, rlim)
if err != ENOSYS { if err != ENOSYS {
return err return err
} }
@ -180,7 +180,7 @@ func Getrlimit(resource int, rlim *Rlimit) error {
// Setrlimit prefers the prlimit64 system call. See issue 38604. // Setrlimit prefers the prlimit64 system call. See issue 38604.
func Setrlimit(resource int, rlim *Rlimit) error { func Setrlimit(resource int, rlim *Rlimit) error {
err := prlimit(0, resource, rlim, nil) err := Prlimit(0, resource, rlim, nil)
if err != ENOSYS { if err != ENOSYS {
return err return err
} }
@ -207,6 +207,10 @@ func (cmsg *Cmsghdr) SetLen(length int) {
cmsg.Len = uint64(length) cmsg.Len = uint64(length)
} }
func (rsa *RawSockaddrNFCLLCP) SetServiceNameLen(length int) {
rsa.Service_name_len = uint64(length)
}
func InotifyInit() (fd int, err error) { func InotifyInit() (fd int, err error) {
return InotifyInit1(0) return InotifyInit1(0)
} }

View File

@ -217,6 +217,10 @@ func (cmsg *Cmsghdr) SetLen(length int) {
cmsg.Len = uint64(length) cmsg.Len = uint64(length)
} }
func (rsa *RawSockaddrNFCLLCP) SetServiceNameLen(length int) {
rsa.Service_name_len = uint64(length)
}
func InotifyInit() (fd int, err error) { func InotifyInit() (fd int, err error) {
return InotifyInit1(0) return InotifyInit1(0)
} }

View File

@ -157,7 +157,7 @@ type rlimit32 struct {
//sysnb getrlimit(resource int, rlim *rlimit32) (err error) = SYS_GETRLIMIT //sysnb getrlimit(resource int, rlim *rlimit32) (err error) = SYS_GETRLIMIT
func Getrlimit(resource int, rlim *Rlimit) (err error) { func Getrlimit(resource int, rlim *Rlimit) (err error) {
err = prlimit(0, resource, nil, rlim) err = Prlimit(0, resource, nil, rlim)
if err != ENOSYS { if err != ENOSYS {
return err return err
} }
@ -185,7 +185,7 @@ func Getrlimit(resource int, rlim *Rlimit) (err error) {
//sysnb setrlimit(resource int, rlim *rlimit32) (err error) = SYS_SETRLIMIT //sysnb setrlimit(resource int, rlim *rlimit32) (err error) = SYS_SETRLIMIT
func Setrlimit(resource int, rlim *Rlimit) (err error) { func Setrlimit(resource int, rlim *Rlimit) (err error) {
err = prlimit(0, resource, rlim, nil) err = Prlimit(0, resource, rlim, nil)
if err != ENOSYS { if err != ENOSYS {
return err return err
} }
@ -229,6 +229,10 @@ func (cmsg *Cmsghdr) SetLen(length int) {
cmsg.Len = uint32(length) cmsg.Len = uint32(length)
} }
func (rsa *RawSockaddrNFCLLCP) SetServiceNameLen(length int) {
rsa.Service_name_len = uint32(length)
}
//sys poll(fds *PollFd, nfds int, timeout int) (n int, err error) //sys poll(fds *PollFd, nfds int, timeout int) (n int, err error)
func Poll(fds []PollFd, timeout int) (n int, err error) { func Poll(fds []PollFd, timeout int) (n int, err error) {

View File

@ -3,8 +3,7 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build linux && ppc //go:build linux && ppc
// +build linux // +build linux,ppc
// +build ppc
package unix package unix
@ -143,7 +142,7 @@ const rlimInf32 = ^uint32(0)
const rlimInf64 = ^uint64(0) const rlimInf64 = ^uint64(0)
func Getrlimit(resource int, rlim *Rlimit) (err error) { func Getrlimit(resource int, rlim *Rlimit) (err error) {
err = prlimit(0, resource, nil, rlim) err = Prlimit(0, resource, nil, rlim)
if err != ENOSYS { if err != ENOSYS {
return err return err
} }
@ -171,7 +170,7 @@ func Getrlimit(resource int, rlim *Rlimit) (err error) {
//sysnb setrlimit(resource int, rlim *rlimit32) (err error) = SYS_SETRLIMIT //sysnb setrlimit(resource int, rlim *rlimit32) (err error) = SYS_SETRLIMIT
func Setrlimit(resource int, rlim *Rlimit) (err error) { func Setrlimit(resource int, rlim *Rlimit) (err error) {
err = prlimit(0, resource, rlim, nil) err = Prlimit(0, resource, rlim, nil)
if err != ENOSYS { if err != ENOSYS {
return err return err
} }
@ -215,6 +214,10 @@ func (cmsg *Cmsghdr) SetLen(length int) {
cmsg.Len = uint32(length) cmsg.Len = uint32(length)
} }
func (rsa *RawSockaddrNFCLLCP) SetServiceNameLen(length int) {
rsa.Service_name_len = uint32(length)
}
//sysnb pipe(p *[2]_C_int) (err error) //sysnb pipe(p *[2]_C_int) (err error)
func Pipe(p []int) (err error) { func Pipe(p []int) (err error) {

View File

@ -100,6 +100,10 @@ func (cmsg *Cmsghdr) SetLen(length int) {
cmsg.Len = uint64(length) cmsg.Len = uint64(length)
} }
func (rsa *RawSockaddrNFCLLCP) SetServiceNameLen(length int) {
rsa.Service_name_len = uint64(length)
}
//sysnb pipe(p *[2]_C_int) (err error) //sysnb pipe(p *[2]_C_int) (err error)
func Pipe(p []int) (err error) { func Pipe(p []int) (err error) {

View File

@ -188,6 +188,10 @@ func (cmsg *Cmsghdr) SetLen(length int) {
cmsg.Len = uint64(length) cmsg.Len = uint64(length)
} }
func (rsa *RawSockaddrNFCLLCP) SetServiceNameLen(length int) {
rsa.Service_name_len = uint64(length)
}
func InotifyInit() (fd int, err error) { func InotifyInit() (fd int, err error) {
return InotifyInit1(0) return InotifyInit1(0)
} }

View File

@ -129,6 +129,10 @@ func (cmsg *Cmsghdr) SetLen(length int) {
cmsg.Len = uint64(length) cmsg.Len = uint64(length)
} }
func (rsa *RawSockaddrNFCLLCP) SetServiceNameLen(length int) {
rsa.Service_name_len = uint64(length)
}
// Linux on s390x uses the old mmap interface, which requires arguments to be passed in a struct. // Linux on s390x uses the old mmap interface, which requires arguments to be passed in a struct.
// mmap2 also requires arguments to be passed in a struct; it is currently not exposed in <asm/unistd.h>. // mmap2 also requires arguments to be passed in a struct; it is currently not exposed in <asm/unistd.h>.
func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) { func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {

View File

@ -116,6 +116,10 @@ func (cmsg *Cmsghdr) SetLen(length int) {
cmsg.Len = uint64(length) cmsg.Len = uint64(length)
} }
func (rsa *RawSockaddrNFCLLCP) SetServiceNameLen(length int) {
rsa.Service_name_len = uint64(length)
}
//sysnb pipe(p *[2]_C_int) (err error) //sysnb pipe(p *[2]_C_int) (err error)
func Pipe(p []int) (err error) { func Pipe(p []int) (err error) {

View File

@ -13,7 +13,10 @@
package unix package unix
import ( import (
"fmt"
"os"
"runtime" "runtime"
"sync"
"syscall" "syscall"
"unsafe" "unsafe"
) )
@ -744,3 +747,240 @@ func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, e
func Munmap(b []byte) (err error) { func Munmap(b []byte) (err error) {
return mapper.Munmap(b) return mapper.Munmap(b)
} }
// Event Ports
type fileObjCookie struct {
fobj *fileObj
cookie interface{}
}
// EventPort provides a safe abstraction on top of Solaris/illumos Event Ports.
type EventPort struct {
port int
mu sync.Mutex
fds map[uintptr]interface{}
paths map[string]*fileObjCookie
}
// PortEvent is an abstraction of the port_event C struct.
// Compare Source against PORT_SOURCE_FILE or PORT_SOURCE_FD
// to see if Path or Fd was the event source. The other will be
// uninitialized.
type PortEvent struct {
Cookie interface{}
Events int32
Fd uintptr
Path string
Source uint16
fobj *fileObj
}
// NewEventPort creates a new EventPort including the
// underlying call to port_create(3c).
func NewEventPort() (*EventPort, error) {
port, err := port_create()
if err != nil {
return nil, err
}
e := &EventPort{
port: port,
fds: make(map[uintptr]interface{}),
paths: make(map[string]*fileObjCookie),
}
return e, nil
}
//sys port_create() (n int, err error)
//sys port_associate(port int, source int, object uintptr, events int, user *byte) (n int, err error)
//sys port_dissociate(port int, source int, object uintptr) (n int, err error)
//sys port_get(port int, pe *portEvent, timeout *Timespec) (n int, err error)
//sys port_getn(port int, pe *portEvent, max uint32, nget *uint32, timeout *Timespec) (n int, err error)
// Close closes the event port.
func (e *EventPort) Close() error {
e.mu.Lock()
defer e.mu.Unlock()
e.fds = nil
e.paths = nil
return Close(e.port)
}
// PathIsWatched checks to see if path is associated with this EventPort.
func (e *EventPort) PathIsWatched(path string) bool {
e.mu.Lock()
defer e.mu.Unlock()
_, found := e.paths[path]
return found
}
// FdIsWatched checks to see if fd is associated with this EventPort.
func (e *EventPort) FdIsWatched(fd uintptr) bool {
e.mu.Lock()
defer e.mu.Unlock()
_, found := e.fds[fd]
return found
}
// AssociatePath wraps port_associate(3c) for a filesystem path including
// creating the necessary file_obj from the provided stat information.
func (e *EventPort) AssociatePath(path string, stat os.FileInfo, events int, cookie interface{}) error {
e.mu.Lock()
defer e.mu.Unlock()
if _, found := e.paths[path]; found {
return fmt.Errorf("%v is already associated with this Event Port", path)
}
fobj, err := createFileObj(path, stat)
if err != nil {
return err
}
fCookie := &fileObjCookie{fobj, cookie}
_, err = port_associate(e.port, PORT_SOURCE_FILE, uintptr(unsafe.Pointer(fobj)), events, (*byte)(unsafe.Pointer(&fCookie.cookie)))
if err != nil {
return err
}
e.paths[path] = fCookie
return nil
}
// DissociatePath wraps port_dissociate(3c) for a filesystem path.
func (e *EventPort) DissociatePath(path string) error {
e.mu.Lock()
defer e.mu.Unlock()
f, ok := e.paths[path]
if !ok {
return fmt.Errorf("%v is not associated with this Event Port", path)
}
_, err := port_dissociate(e.port, PORT_SOURCE_FILE, uintptr(unsafe.Pointer(f.fobj)))
if err != nil {
return err
}
delete(e.paths, path)
return nil
}
// AssociateFd wraps calls to port_associate(3c) on file descriptors.
func (e *EventPort) AssociateFd(fd uintptr, events int, cookie interface{}) error {
e.mu.Lock()
defer e.mu.Unlock()
if _, found := e.fds[fd]; found {
return fmt.Errorf("%v is already associated with this Event Port", fd)
}
pcookie := &cookie
_, err := port_associate(e.port, PORT_SOURCE_FD, fd, events, (*byte)(unsafe.Pointer(pcookie)))
if err != nil {
return err
}
e.fds[fd] = pcookie
return nil
}
// DissociateFd wraps calls to port_dissociate(3c) on file descriptors.
func (e *EventPort) DissociateFd(fd uintptr) error {
e.mu.Lock()
defer e.mu.Unlock()
_, ok := e.fds[fd]
if !ok {
return fmt.Errorf("%v is not associated with this Event Port", fd)
}
_, err := port_dissociate(e.port, PORT_SOURCE_FD, fd)
if err != nil {
return err
}
delete(e.fds, fd)
return nil
}
func createFileObj(name string, stat os.FileInfo) (*fileObj, error) {
fobj := new(fileObj)
bs, err := ByteSliceFromString(name)
if err != nil {
return nil, err
}
fobj.Name = (*int8)(unsafe.Pointer(&bs[0]))
s := stat.Sys().(*syscall.Stat_t)
fobj.Atim.Sec = s.Atim.Sec
fobj.Atim.Nsec = s.Atim.Nsec
fobj.Mtim.Sec = s.Mtim.Sec
fobj.Mtim.Nsec = s.Mtim.Nsec
fobj.Ctim.Sec = s.Ctim.Sec
fobj.Ctim.Nsec = s.Ctim.Nsec
return fobj, nil
}
// GetOne wraps port_get(3c) and returns a single PortEvent.
func (e *EventPort) GetOne(t *Timespec) (*PortEvent, error) {
pe := new(portEvent)
_, err := port_get(e.port, pe, t)
if err != nil {
return nil, err
}
p := new(PortEvent)
p.Events = pe.Events
p.Source = pe.Source
e.mu.Lock()
defer e.mu.Unlock()
switch pe.Source {
case PORT_SOURCE_FD:
p.Fd = uintptr(pe.Object)
cookie := (*interface{})(unsafe.Pointer(pe.User))
p.Cookie = *cookie
delete(e.fds, p.Fd)
case PORT_SOURCE_FILE:
p.fobj = (*fileObj)(unsafe.Pointer(uintptr(pe.Object)))
p.Path = BytePtrToString((*byte)(unsafe.Pointer(p.fobj.Name)))
cookie := (*interface{})(unsafe.Pointer(pe.User))
p.Cookie = *cookie
delete(e.paths, p.Path)
}
return p, nil
}
// Pending wraps port_getn(3c) and returns how many events are pending.
func (e *EventPort) Pending() (int, error) {
var n uint32 = 0
_, err := port_getn(e.port, nil, 0, &n, nil)
return int(n), err
}
// Get wraps port_getn(3c) and fills a slice of PortEvent.
// It will block until either min events have been received
// or the timeout has been exceeded. It will return how many
// events were actually received along with any error information.
func (e *EventPort) Get(s []PortEvent, min int, timeout *Timespec) (int, error) {
if min == 0 {
return 0, fmt.Errorf("need to request at least one event or use Pending() instead")
}
if len(s) < min {
return 0, fmt.Errorf("len(s) (%d) is less than min events requested (%d)", len(s), min)
}
got := uint32(min)
max := uint32(len(s))
var err error
ps := make([]portEvent, max, max)
_, err = port_getn(e.port, &ps[0], max, &got, timeout)
// got will be trustworthy with ETIME, but not any other error.
if err != nil && err != ETIME {
return 0, err
}
e.mu.Lock()
defer e.mu.Unlock()
for i := 0; i < int(got); i++ {
s[i].Events = ps[i].Events
s[i].Source = ps[i].Source
switch ps[i].Source {
case PORT_SOURCE_FD:
s[i].Fd = uintptr(ps[i].Object)
cookie := (*interface{})(unsafe.Pointer(ps[i].User))
s[i].Cookie = *cookie
delete(e.fds, s[i].Fd)
case PORT_SOURCE_FILE:
s[i].fobj = (*fileObj)(unsafe.Pointer(uintptr(ps[i].Object)))
s[i].Path = BytePtrToString((*byte)(unsafe.Pointer(s[i].fobj.Name)))
cookie := (*interface{})(unsafe.Pointer(ps[i].User))
s[i].Cookie = *cookie
delete(e.paths, s[i].Path)
}
}
return int(got), err
}

View File

@ -313,6 +313,10 @@ func Recvfrom(fd int, p []byte, flags int) (n int, from Sockaddr, err error) {
return return
} }
func Send(s int, buf []byte, flags int) (err error) {
return sendto(s, buf, flags, nil, 0)
}
func Sendto(fd int, p []byte, flags int, to Sockaddr) (err error) { func Sendto(fd int, p []byte, flags int, to Sockaddr) (err error) {
ptr, n, err := to.sockaddr() ptr, n, err := to.sockaddr()
if err != nil { if err != nil {

View File

@ -222,6 +222,8 @@ func (cmsg *Cmsghdr) SetLen(length int) {
//sys Creat(path string, mode uint32) (fd int, err error) = SYS___CREAT_A //sys Creat(path string, mode uint32) (fd int, err error) = SYS___CREAT_A
//sys Dup(oldfd int) (fd int, err error) //sys Dup(oldfd int) (fd int, err error)
//sys Dup2(oldfd int, newfd int) (err error) //sys Dup2(oldfd int, newfd int) (err error)
//sys Errno2() (er2 int) = SYS___ERRNO2
//sys Err2ad() (eadd *int) = SYS___ERR2AD
//sys Exit(code int) //sys Exit(code int)
//sys Fchdir(fd int) (err error) //sys Fchdir(fd int) (err error)
//sys Fchmod(fd int, mode uint32) (err error) //sys Fchmod(fd int, mode uint32) (err error)
@ -245,10 +247,12 @@ func Fstat(fd int, stat *Stat_t) (err error) {
//sys Poll(fds []PollFd, timeout int) (n int, err error) = SYS_POLL //sys Poll(fds []PollFd, timeout int) (n int, err error) = SYS_POLL
//sys Times(tms *Tms) (ticks uintptr, err error) = SYS_TIMES //sys Times(tms *Tms) (ticks uintptr, err error) = SYS_TIMES
//sys W_Getmntent(buff *byte, size int) (lastsys int, err error) = SYS_W_GETMNTENT //sys W_Getmntent(buff *byte, size int) (lastsys int, err error) = SYS_W_GETMNTENT
//sys W_Getmntent_A(buff *byte, size int) (lastsys int, err error) = SYS___W_GETMNTENT_A
//sys Mount(path string, filesystem string, fstype string, mtm uint32, parmlen int32, parm string) (err error) = SYS___MOUNT_A //sys mount_LE(path string, filesystem string, fstype string, mtm uint32, parmlen int32, parm string) (err error) = SYS___MOUNT_A
//sys Unmount(filesystem string, mtm int) (err error) = SYS___UMOUNT_A //sys unmount(filesystem string, mtm int) (err error) = SYS___UMOUNT_A
//sys Chroot(path string) (err error) = SYS___CHROOT_A //sys Chroot(path string) (err error) = SYS___CHROOT_A
//sys Select(nmsgsfds int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (ret int, err error) = SYS_SELECT
//sysnb Uname(buf *Utsname) (err error) = SYS___UNAME_A //sysnb Uname(buf *Utsname) (err error) = SYS___UNAME_A
func Ptsname(fd int) (name string, err error) { func Ptsname(fd int) (name string, err error) {
@ -1779,3 +1783,47 @@ func SetNonblock(fd int, nonblocking bool) (err error) {
func Exec(argv0 string, argv []string, envv []string) error { func Exec(argv0 string, argv []string, envv []string) error {
return syscall.Exec(argv0, argv, envv) return syscall.Exec(argv0, argv, envv)
} }
func Mount(source string, target string, fstype string, flags uintptr, data string) (err error) {
if needspace := 8 - len(fstype); needspace <= 0 {
fstype = fstype[:8]
} else {
fstype += " "[:needspace]
}
return mount_LE(target, source, fstype, uint32(flags), int32(len(data)), data)
}
func Unmount(name string, mtm int) (err error) {
// mountpoint is always a full path and starts with a '/'
// check if input string is not a mountpoint but a filesystem name
if name[0] != '/' {
return unmount(name, mtm)
}
// treat name as mountpoint
b2s := func(arr []byte) string {
nulli := bytes.IndexByte(arr, 0)
if nulli == -1 {
return string(arr)
} else {
return string(arr[:nulli])
}
}
var buffer struct {
header W_Mnth
fsinfo [64]W_Mntent
}
fsCount, err := W_Getmntent_A((*byte)(unsafe.Pointer(&buffer)), int(unsafe.Sizeof(buffer)))
if err != nil {
return err
}
if fsCount == 0 {
return EINVAL
}
for i := 0; i < fsCount; i++ {
if b2s(buffer.fsinfo[i].Mountpoint[:]) == name {
err = unmount(b2s(buffer.fsinfo[i].Fsname[:]), mtm)
break
}
}
return err
}

File diff suppressed because it is too large Load Diff

View File

@ -1206,6 +1206,7 @@ const (
RTF_DONE = 0x40 RTF_DONE = 0x40
RTF_DYNAMIC = 0x10 RTF_DYNAMIC = 0x10
RTF_GATEWAY = 0x2 RTF_GATEWAY = 0x2
RTF_GLOBAL = 0x40000000
RTF_HOST = 0x4 RTF_HOST = 0x4
RTF_IFREF = 0x4000000 RTF_IFREF = 0x4000000
RTF_IFSCOPE = 0x1000000 RTF_IFSCOPE = 0x1000000
@ -1262,6 +1263,11 @@ const (
SCM_RIGHTS = 0x1 SCM_RIGHTS = 0x1
SCM_TIMESTAMP = 0x2 SCM_TIMESTAMP = 0x2
SCM_TIMESTAMP_MONOTONIC = 0x4 SCM_TIMESTAMP_MONOTONIC = 0x4
SEEK_CUR = 0x1
SEEK_DATA = 0x4
SEEK_END = 0x2
SEEK_HOLE = 0x3
SEEK_SET = 0x0
SHUT_RD = 0x0 SHUT_RD = 0x0
SHUT_RDWR = 0x2 SHUT_RDWR = 0x2
SHUT_WR = 0x1 SHUT_WR = 0x1

File diff suppressed because it is too large Load Diff

View File

@ -1206,6 +1206,7 @@ const (
RTF_DONE = 0x40 RTF_DONE = 0x40
RTF_DYNAMIC = 0x10 RTF_DYNAMIC = 0x10
RTF_GATEWAY = 0x2 RTF_GATEWAY = 0x2
RTF_GLOBAL = 0x40000000
RTF_HOST = 0x4 RTF_HOST = 0x4
RTF_IFREF = 0x4000000 RTF_IFREF = 0x4000000
RTF_IFSCOPE = 0x1000000 RTF_IFSCOPE = 0x1000000
@ -1262,6 +1263,11 @@ const (
SCM_RIGHTS = 0x1 SCM_RIGHTS = 0x1
SCM_TIMESTAMP = 0x2 SCM_TIMESTAMP = 0x2
SCM_TIMESTAMP_MONOTONIC = 0x4 SCM_TIMESTAMP_MONOTONIC = 0x4
SEEK_CUR = 0x1
SEEK_DATA = 0x4
SEEK_END = 0x2
SEEK_HOLE = 0x3
SEEK_SET = 0x0
SHUT_RD = 0x0 SHUT_RD = 0x0
SHUT_RDWR = 0x2 SHUT_RDWR = 0x2
SHUT_WR = 0x1 SHUT_WR = 0x1

View File

@ -1297,6 +1297,11 @@ const (
SCM_RIGHTS = 0x1 SCM_RIGHTS = 0x1
SCM_TIMESTAMP = 0x2 SCM_TIMESTAMP = 0x2
SCM_TIME_INFO = 0x7 SCM_TIME_INFO = 0x7
SEEK_CUR = 0x1
SEEK_DATA = 0x3
SEEK_END = 0x2
SEEK_HOLE = 0x4
SEEK_SET = 0x0
SHUT_RD = 0x0 SHUT_RD = 0x0
SHUT_RDWR = 0x2 SHUT_RDWR = 0x2
SHUT_WR = 0x1 SHUT_WR = 0x1

View File

@ -1298,6 +1298,11 @@ const (
SCM_RIGHTS = 0x1 SCM_RIGHTS = 0x1
SCM_TIMESTAMP = 0x2 SCM_TIMESTAMP = 0x2
SCM_TIME_INFO = 0x7 SCM_TIME_INFO = 0x7
SEEK_CUR = 0x1
SEEK_DATA = 0x3
SEEK_END = 0x2
SEEK_HOLE = 0x4
SEEK_SET = 0x0
SHUT_RD = 0x0 SHUT_RD = 0x0
SHUT_RDWR = 0x2 SHUT_RDWR = 0x2
SHUT_WR = 0x1 SHUT_WR = 0x1

View File

@ -1276,6 +1276,11 @@ const (
SCM_CREDS = 0x3 SCM_CREDS = 0x3
SCM_RIGHTS = 0x1 SCM_RIGHTS = 0x1
SCM_TIMESTAMP = 0x2 SCM_TIMESTAMP = 0x2
SEEK_CUR = 0x1
SEEK_DATA = 0x3
SEEK_END = 0x2
SEEK_HOLE = 0x4
SEEK_SET = 0x0
SHUT_RD = 0x0 SHUT_RD = 0x0
SHUT_RDWR = 0x2 SHUT_RDWR = 0x2
SHUT_WR = 0x1 SHUT_WR = 0x1

View File

@ -1298,6 +1298,11 @@ const (
SCM_RIGHTS = 0x1 SCM_RIGHTS = 0x1
SCM_TIMESTAMP = 0x2 SCM_TIMESTAMP = 0x2
SCM_TIME_INFO = 0x7 SCM_TIME_INFO = 0x7
SEEK_CUR = 0x1
SEEK_DATA = 0x3
SEEK_END = 0x2
SEEK_HOLE = 0x4
SEEK_SET = 0x0
SHUT_RD = 0x0 SHUT_RD = 0x0
SHUT_RDWR = 0x2 SHUT_RDWR = 0x2
SHUT_WR = 0x1 SHUT_WR = 0x1

View File

@ -228,6 +228,8 @@ const (
BPF_OR = 0x40 BPF_OR = 0x40
BPF_PSEUDO_BTF_ID = 0x3 BPF_PSEUDO_BTF_ID = 0x3
BPF_PSEUDO_CALL = 0x1 BPF_PSEUDO_CALL = 0x1
BPF_PSEUDO_FUNC = 0x4
BPF_PSEUDO_KFUNC_CALL = 0x2
BPF_PSEUDO_MAP_FD = 0x1 BPF_PSEUDO_MAP_FD = 0x1
BPF_PSEUDO_MAP_VALUE = 0x2 BPF_PSEUDO_MAP_VALUE = 0x2
BPF_RET = 0x6 BPF_RET = 0x6
@ -475,6 +477,8 @@ const (
DM_LIST_VERSIONS = 0xc138fd0d DM_LIST_VERSIONS = 0xc138fd0d
DM_MAX_TYPE_NAME = 0x10 DM_MAX_TYPE_NAME = 0x10
DM_NAME_LEN = 0x80 DM_NAME_LEN = 0x80
DM_NAME_LIST_FLAG_DOESNT_HAVE_UUID = 0x2
DM_NAME_LIST_FLAG_HAS_UUID = 0x1
DM_NOFLUSH_FLAG = 0x800 DM_NOFLUSH_FLAG = 0x800
DM_PERSISTENT_DEV_FLAG = 0x8 DM_PERSISTENT_DEV_FLAG = 0x8
DM_QUERY_INACTIVE_TABLE_FLAG = 0x1000 DM_QUERY_INACTIVE_TABLE_FLAG = 0x1000
@ -494,9 +498,9 @@ const (
DM_UUID_FLAG = 0x4000 DM_UUID_FLAG = 0x4000
DM_UUID_LEN = 0x81 DM_UUID_LEN = 0x81
DM_VERSION = 0xc138fd00 DM_VERSION = 0xc138fd00
DM_VERSION_EXTRA = "-ioctl (2021-02-01)" DM_VERSION_EXTRA = "-ioctl (2021-03-22)"
DM_VERSION_MAJOR = 0x4 DM_VERSION_MAJOR = 0x4
DM_VERSION_MINOR = 0x2c DM_VERSION_MINOR = 0x2d
DM_VERSION_PATCHLEVEL = 0x0 DM_VERSION_PATCHLEVEL = 0x0
DT_BLK = 0x6 DT_BLK = 0x6
DT_CHR = 0x2 DT_CHR = 0x2
@ -981,12 +985,6 @@ const (
HPFS_SUPER_MAGIC = 0xf995e849 HPFS_SUPER_MAGIC = 0xf995e849
HUGETLBFS_MAGIC = 0x958458f6 HUGETLBFS_MAGIC = 0x958458f6
IBSHIFT = 0x10 IBSHIFT = 0x10
ICMPV6_FILTER = 0x1
ICMPV6_FILTER_BLOCK = 0x1
ICMPV6_FILTER_BLOCKOTHERS = 0x3
ICMPV6_FILTER_PASS = 0x2
ICMPV6_FILTER_PASSONLY = 0x4
ICMP_FILTER = 0x1
ICRNL = 0x100 ICRNL = 0x100
IFA_F_DADFAILED = 0x8 IFA_F_DADFAILED = 0x8
IFA_F_DEPRECATED = 0x20 IFA_F_DEPRECATED = 0x20
@ -1257,6 +1255,7 @@ const (
KEXEC_ARCH_PARISC = 0xf0000 KEXEC_ARCH_PARISC = 0xf0000
KEXEC_ARCH_PPC = 0x140000 KEXEC_ARCH_PPC = 0x140000
KEXEC_ARCH_PPC64 = 0x150000 KEXEC_ARCH_PPC64 = 0x150000
KEXEC_ARCH_RISCV = 0xf30000
KEXEC_ARCH_S390 = 0x160000 KEXEC_ARCH_S390 = 0x160000
KEXEC_ARCH_SH = 0x2a0000 KEXEC_ARCH_SH = 0x2a0000
KEXEC_ARCH_X86_64 = 0x3e0000 KEXEC_ARCH_X86_64 = 0x3e0000
@ -1406,6 +1405,10 @@ const (
MCAST_LEAVE_SOURCE_GROUP = 0x2f MCAST_LEAVE_SOURCE_GROUP = 0x2f
MCAST_MSFILTER = 0x30 MCAST_MSFILTER = 0x30
MCAST_UNBLOCK_SOURCE = 0x2c MCAST_UNBLOCK_SOURCE = 0x2c
MEMGETREGIONINFO = 0xc0104d08
MEMREADOOB64 = 0xc0184d16
MEMWRITE = 0xc0304d18
MEMWRITEOOB64 = 0xc0184d15
MFD_ALLOW_SEALING = 0x2 MFD_ALLOW_SEALING = 0x2
MFD_CLOEXEC = 0x1 MFD_CLOEXEC = 0x1
MFD_HUGETLB = 0x4 MFD_HUGETLB = 0x4
@ -1494,7 +1497,35 @@ const (
MS_SYNCHRONOUS = 0x10 MS_SYNCHRONOUS = 0x10
MS_UNBINDABLE = 0x20000 MS_UNBINDABLE = 0x20000
MS_VERBOSE = 0x8000 MS_VERBOSE = 0x8000
MTD_ABSENT = 0x0
MTD_BIT_WRITEABLE = 0x800
MTD_CAP_NANDFLASH = 0x400
MTD_CAP_NORFLASH = 0xc00
MTD_CAP_NVRAM = 0x1c00
MTD_CAP_RAM = 0x1c00
MTD_CAP_ROM = 0x0
MTD_DATAFLASH = 0x6
MTD_INODE_FS_MAGIC = 0x11307854 MTD_INODE_FS_MAGIC = 0x11307854
MTD_MAX_ECCPOS_ENTRIES = 0x40
MTD_MAX_OOBFREE_ENTRIES = 0x8
MTD_MLCNANDFLASH = 0x8
MTD_NANDECC_AUTOPLACE = 0x2
MTD_NANDECC_AUTOPL_USR = 0x4
MTD_NANDECC_OFF = 0x0
MTD_NANDECC_PLACE = 0x1
MTD_NANDECC_PLACEONLY = 0x3
MTD_NANDFLASH = 0x4
MTD_NORFLASH = 0x3
MTD_NO_ERASE = 0x1000
MTD_OTP_FACTORY = 0x1
MTD_OTP_OFF = 0x0
MTD_OTP_USER = 0x2
MTD_POWERUP_LOCK = 0x2000
MTD_RAM = 0x1
MTD_ROM = 0x2
MTD_SLC_ON_MLC_EMULATION = 0x4000
MTD_UBIVOLUME = 0x7
MTD_WRITEABLE = 0x400
NAME_MAX = 0xff NAME_MAX = 0xff
NCP_SUPER_MAGIC = 0x564c NCP_SUPER_MAGIC = 0x564c
NETLINK_ADD_MEMBERSHIP = 0x1 NETLINK_ADD_MEMBERSHIP = 0x1
@ -1534,6 +1565,59 @@ const (
NETLINK_XFRM = 0x6 NETLINK_XFRM = 0x6
NETNSA_MAX = 0x5 NETNSA_MAX = 0x5
NETNSA_NSID_NOT_ASSIGNED = -0x1 NETNSA_NSID_NOT_ASSIGNED = -0x1
NFC_ATR_REQ_GB_MAXSIZE = 0x30
NFC_ATR_REQ_MAXSIZE = 0x40
NFC_ATR_RES_GB_MAXSIZE = 0x2f
NFC_ATR_RES_MAXSIZE = 0x40
NFC_COMM_ACTIVE = 0x0
NFC_COMM_PASSIVE = 0x1
NFC_DEVICE_NAME_MAXSIZE = 0x8
NFC_DIRECTION_RX = 0x0
NFC_DIRECTION_TX = 0x1
NFC_FIRMWARE_NAME_MAXSIZE = 0x20
NFC_GB_MAXSIZE = 0x30
NFC_GENL_MCAST_EVENT_NAME = "events"
NFC_GENL_NAME = "nfc"
NFC_GENL_VERSION = 0x1
NFC_HEADER_SIZE = 0x1
NFC_ISO15693_UID_MAXSIZE = 0x8
NFC_LLCP_MAX_SERVICE_NAME = 0x3f
NFC_LLCP_MIUX = 0x1
NFC_LLCP_REMOTE_LTO = 0x3
NFC_LLCP_REMOTE_MIU = 0x2
NFC_LLCP_REMOTE_RW = 0x4
NFC_LLCP_RW = 0x0
NFC_NFCID1_MAXSIZE = 0xa
NFC_NFCID2_MAXSIZE = 0x8
NFC_NFCID3_MAXSIZE = 0xa
NFC_PROTO_FELICA = 0x3
NFC_PROTO_FELICA_MASK = 0x8
NFC_PROTO_ISO14443 = 0x4
NFC_PROTO_ISO14443_B = 0x6
NFC_PROTO_ISO14443_B_MASK = 0x40
NFC_PROTO_ISO14443_MASK = 0x10
NFC_PROTO_ISO15693 = 0x7
NFC_PROTO_ISO15693_MASK = 0x80
NFC_PROTO_JEWEL = 0x1
NFC_PROTO_JEWEL_MASK = 0x2
NFC_PROTO_MAX = 0x8
NFC_PROTO_MIFARE = 0x2
NFC_PROTO_MIFARE_MASK = 0x4
NFC_PROTO_NFC_DEP = 0x5
NFC_PROTO_NFC_DEP_MASK = 0x20
NFC_RAW_HEADER_SIZE = 0x2
NFC_RF_INITIATOR = 0x0
NFC_RF_NONE = 0x2
NFC_RF_TARGET = 0x1
NFC_SENSB_RES_MAXSIZE = 0xc
NFC_SENSF_RES_MAXSIZE = 0x12
NFC_SE_DISABLED = 0x0
NFC_SE_EMBEDDED = 0x2
NFC_SE_ENABLED = 0x1
NFC_SE_UICC = 0x1
NFC_SOCKPROTO_LLCP = 0x1
NFC_SOCKPROTO_MAX = 0x2
NFC_SOCKPROTO_RAW = 0x0
NFNETLINK_V0 = 0x0 NFNETLINK_V0 = 0x0
NFNLGRP_ACCT_QUOTA = 0x8 NFNLGRP_ACCT_QUOTA = 0x8
NFNLGRP_CONNTRACK_DESTROY = 0x3 NFNLGRP_CONNTRACK_DESTROY = 0x3
@ -1671,14 +1755,19 @@ const (
PERF_ATTR_SIZE_VER4 = 0x68 PERF_ATTR_SIZE_VER4 = 0x68
PERF_ATTR_SIZE_VER5 = 0x70 PERF_ATTR_SIZE_VER5 = 0x70
PERF_ATTR_SIZE_VER6 = 0x78 PERF_ATTR_SIZE_VER6 = 0x78
PERF_ATTR_SIZE_VER7 = 0x80
PERF_AUX_FLAG_COLLISION = 0x8 PERF_AUX_FLAG_COLLISION = 0x8
PERF_AUX_FLAG_CORESIGHT_FORMAT_CORESIGHT = 0x0
PERF_AUX_FLAG_CORESIGHT_FORMAT_RAW = 0x100
PERF_AUX_FLAG_OVERWRITE = 0x2 PERF_AUX_FLAG_OVERWRITE = 0x2
PERF_AUX_FLAG_PARTIAL = 0x4 PERF_AUX_FLAG_PARTIAL = 0x4
PERF_AUX_FLAG_PMU_FORMAT_TYPE_MASK = 0xff00
PERF_AUX_FLAG_TRUNCATED = 0x1 PERF_AUX_FLAG_TRUNCATED = 0x1
PERF_FLAG_FD_CLOEXEC = 0x8 PERF_FLAG_FD_CLOEXEC = 0x8
PERF_FLAG_FD_NO_GROUP = 0x1 PERF_FLAG_FD_NO_GROUP = 0x1
PERF_FLAG_FD_OUTPUT = 0x2 PERF_FLAG_FD_OUTPUT = 0x2
PERF_FLAG_PID_CGROUP = 0x4 PERF_FLAG_PID_CGROUP = 0x4
PERF_HW_EVENT_MASK = 0xffffffff
PERF_MAX_CONTEXTS_PER_STACK = 0x8 PERF_MAX_CONTEXTS_PER_STACK = 0x8
PERF_MAX_STACK_DEPTH = 0x7f PERF_MAX_STACK_DEPTH = 0x7f
PERF_MEM_BLK_ADDR = 0x4 PERF_MEM_BLK_ADDR = 0x4
@ -1737,6 +1826,7 @@ const (
PERF_MEM_TLB_OS = 0x40 PERF_MEM_TLB_OS = 0x40
PERF_MEM_TLB_SHIFT = 0x1a PERF_MEM_TLB_SHIFT = 0x1a
PERF_MEM_TLB_WK = 0x20 PERF_MEM_TLB_WK = 0x20
PERF_PMU_TYPE_SHIFT = 0x20
PERF_RECORD_KSYMBOL_FLAGS_UNREGISTER = 0x1 PERF_RECORD_KSYMBOL_FLAGS_UNREGISTER = 0x1
PERF_RECORD_MISC_COMM_EXEC = 0x2000 PERF_RECORD_MISC_COMM_EXEC = 0x2000
PERF_RECORD_MISC_CPUMODE_MASK = 0x7 PERF_RECORD_MISC_CPUMODE_MASK = 0x7
@ -1836,7 +1926,9 @@ const (
PR_PAC_APGAKEY = 0x10 PR_PAC_APGAKEY = 0x10
PR_PAC_APIAKEY = 0x1 PR_PAC_APIAKEY = 0x1
PR_PAC_APIBKEY = 0x2 PR_PAC_APIBKEY = 0x2
PR_PAC_GET_ENABLED_KEYS = 0x3d
PR_PAC_RESET_KEYS = 0x36 PR_PAC_RESET_KEYS = 0x36
PR_PAC_SET_ENABLED_KEYS = 0x3c
PR_SET_CHILD_SUBREAPER = 0x24 PR_SET_CHILD_SUBREAPER = 0x24
PR_SET_DUMPABLE = 0x4 PR_SET_DUMPABLE = 0x4
PR_SET_ENDIAN = 0x14 PR_SET_ENDIAN = 0x14
@ -1918,6 +2010,7 @@ const (
PTRACE_GETREGSET = 0x4204 PTRACE_GETREGSET = 0x4204
PTRACE_GETSIGINFO = 0x4202 PTRACE_GETSIGINFO = 0x4202
PTRACE_GETSIGMASK = 0x420a PTRACE_GETSIGMASK = 0x420a
PTRACE_GET_RSEQ_CONFIGURATION = 0x420f
PTRACE_GET_SYSCALL_INFO = 0x420e PTRACE_GET_SYSCALL_INFO = 0x420e
PTRACE_INTERRUPT = 0x4207 PTRACE_INTERRUPT = 0x4207
PTRACE_KILL = 0x8 PTRACE_KILL = 0x8
@ -1959,6 +2052,11 @@ const (
QNX4_SUPER_MAGIC = 0x2f QNX4_SUPER_MAGIC = 0x2f
QNX6_SUPER_MAGIC = 0x68191122 QNX6_SUPER_MAGIC = 0x68191122
RAMFS_MAGIC = 0x858458f6 RAMFS_MAGIC = 0x858458f6
RAW_PAYLOAD_DIGITAL = 0x3
RAW_PAYLOAD_HCI = 0x2
RAW_PAYLOAD_LLCP = 0x0
RAW_PAYLOAD_NCI = 0x1
RAW_PAYLOAD_PROPRIETARY = 0x4
RDTGROUP_SUPER_MAGIC = 0x7655821 RDTGROUP_SUPER_MAGIC = 0x7655821
REISERFS_SUPER_MAGIC = 0x52654973 REISERFS_SUPER_MAGIC = 0x52654973
RENAME_EXCHANGE = 0x2 RENAME_EXCHANGE = 0x2
@ -2073,6 +2171,7 @@ const (
RTM_DELNEIGH = 0x1d RTM_DELNEIGH = 0x1d
RTM_DELNETCONF = 0x51 RTM_DELNETCONF = 0x51
RTM_DELNEXTHOP = 0x69 RTM_DELNEXTHOP = 0x69
RTM_DELNEXTHOPBUCKET = 0x75
RTM_DELNSID = 0x59 RTM_DELNSID = 0x59
RTM_DELQDISC = 0x25 RTM_DELQDISC = 0x25
RTM_DELROUTE = 0x19 RTM_DELROUTE = 0x19
@ -2103,6 +2202,7 @@ const (
RTM_GETNEIGHTBL = 0x42 RTM_GETNEIGHTBL = 0x42
RTM_GETNETCONF = 0x52 RTM_GETNETCONF = 0x52
RTM_GETNEXTHOP = 0x6a RTM_GETNEXTHOP = 0x6a
RTM_GETNEXTHOPBUCKET = 0x76
RTM_GETNSID = 0x5a RTM_GETNSID = 0x5a
RTM_GETQDISC = 0x26 RTM_GETQDISC = 0x26
RTM_GETROUTE = 0x1a RTM_GETROUTE = 0x1a
@ -2111,7 +2211,7 @@ const (
RTM_GETTCLASS = 0x2a RTM_GETTCLASS = 0x2a
RTM_GETTFILTER = 0x2e RTM_GETTFILTER = 0x2e
RTM_GETVLAN = 0x72 RTM_GETVLAN = 0x72
RTM_MAX = 0x73 RTM_MAX = 0x77
RTM_NEWACTION = 0x30 RTM_NEWACTION = 0x30
RTM_NEWADDR = 0x14 RTM_NEWADDR = 0x14
RTM_NEWADDRLABEL = 0x48 RTM_NEWADDRLABEL = 0x48
@ -2125,6 +2225,7 @@ const (
RTM_NEWNEIGHTBL = 0x40 RTM_NEWNEIGHTBL = 0x40
RTM_NEWNETCONF = 0x50 RTM_NEWNETCONF = 0x50
RTM_NEWNEXTHOP = 0x68 RTM_NEWNEXTHOP = 0x68
RTM_NEWNEXTHOPBUCKET = 0x74
RTM_NEWNSID = 0x58 RTM_NEWNSID = 0x58
RTM_NEWNVLAN = 0x70 RTM_NEWNVLAN = 0x70
RTM_NEWPREFIX = 0x34 RTM_NEWPREFIX = 0x34
@ -2134,8 +2235,8 @@ const (
RTM_NEWSTATS = 0x5c RTM_NEWSTATS = 0x5c
RTM_NEWTCLASS = 0x28 RTM_NEWTCLASS = 0x28
RTM_NEWTFILTER = 0x2c RTM_NEWTFILTER = 0x2c
RTM_NR_FAMILIES = 0x19 RTM_NR_FAMILIES = 0x1a
RTM_NR_MSGTYPES = 0x64 RTM_NR_MSGTYPES = 0x68
RTM_SETDCB = 0x4f RTM_SETDCB = 0x4f
RTM_SETLINK = 0x13 RTM_SETLINK = 0x13
RTM_SETNEIGHTBL = 0x43 RTM_SETNEIGHTBL = 0x43
@ -2163,6 +2264,7 @@ const (
RTPROT_MROUTED = 0x11 RTPROT_MROUTED = 0x11
RTPROT_MRT = 0xa RTPROT_MRT = 0xa
RTPROT_NTK = 0xf RTPROT_NTK = 0xf
RTPROT_OPENR = 0x63
RTPROT_OSPF = 0xbc RTPROT_OSPF = 0xbc
RTPROT_RA = 0x9 RTPROT_RA = 0x9
RTPROT_REDIRECT = 0x1 RTPROT_REDIRECT = 0x1
@ -2194,6 +2296,12 @@ const (
SECCOMP_MODE_FILTER = 0x2 SECCOMP_MODE_FILTER = 0x2
SECCOMP_MODE_STRICT = 0x1 SECCOMP_MODE_STRICT = 0x1
SECURITYFS_MAGIC = 0x73636673 SECURITYFS_MAGIC = 0x73636673
SEEK_CUR = 0x1
SEEK_DATA = 0x3
SEEK_END = 0x2
SEEK_HOLE = 0x4
SEEK_MAX = 0x4
SEEK_SET = 0x0
SELINUX_MAGIC = 0xf97cff8c SELINUX_MAGIC = 0xf97cff8c
SHUT_RD = 0x0 SHUT_RD = 0x0
SHUT_RDWR = 0x2 SHUT_RDWR = 0x2
@ -2440,6 +2548,14 @@ const (
TCOFLUSH = 0x1 TCOFLUSH = 0x1
TCOOFF = 0x0 TCOOFF = 0x0
TCOON = 0x1 TCOON = 0x1
TCPOPT_EOL = 0x0
TCPOPT_MAXSEG = 0x2
TCPOPT_NOP = 0x1
TCPOPT_SACK = 0x5
TCPOPT_SACK_PERMITTED = 0x4
TCPOPT_TIMESTAMP = 0x8
TCPOPT_TSTAMP_HDR = 0x101080a
TCPOPT_WINDOW = 0x3
TCP_CC_INFO = 0x1a TCP_CC_INFO = 0x1a
TCP_CM_INQ = 0x24 TCP_CM_INQ = 0x24
TCP_CONGESTION = 0xd TCP_CONGESTION = 0xd

View File

@ -60,6 +60,8 @@ const (
CS8 = 0x30 CS8 = 0x30
CSIZE = 0x30 CSIZE = 0x30
CSTOPB = 0x40 CSTOPB = 0x40
ECCGETLAYOUT = 0x81484d11
ECCGETSTATS = 0x80104d12
ECHOCTL = 0x200 ECHOCTL = 0x200
ECHOE = 0x10 ECHOE = 0x10
ECHOK = 0x20 ECHOK = 0x20
@ -123,6 +125,19 @@ const (
MCL_CURRENT = 0x1 MCL_CURRENT = 0x1
MCL_FUTURE = 0x2 MCL_FUTURE = 0x2
MCL_ONFAULT = 0x4 MCL_ONFAULT = 0x4
MEMERASE = 0x40084d02
MEMERASE64 = 0x40104d14
MEMGETBADBLOCK = 0x40084d0b
MEMGETINFO = 0x80204d01
MEMGETOOBSEL = 0x80c84d0a
MEMGETREGIONCOUNT = 0x80044d07
MEMISLOCKED = 0x80084d17
MEMLOCK = 0x40084d05
MEMREADOOB = 0xc00c4d04
MEMSETBADBLOCK = 0x40084d0c
MEMUNLOCK = 0x40084d06
MEMWRITEOOB = 0xc00c4d03
MTDFILEMODE = 0x4d13
NFDBITS = 0x20 NFDBITS = 0x20
NLDLY = 0x100 NLDLY = 0x100
NOFLSH = 0x80 NOFLSH = 0x80
@ -132,6 +147,11 @@ const (
NS_GET_USERNS = 0xb701 NS_GET_USERNS = 0xb701
OLCUC = 0x2 OLCUC = 0x2
ONLCR = 0x4 ONLCR = 0x4
OTPERASE = 0x400c4d19
OTPGETREGIONCOUNT = 0x40044d0e
OTPGETREGIONINFO = 0x400c4d0f
OTPLOCK = 0x800c4d10
OTPSELECT = 0x80044d0d
O_APPEND = 0x400 O_APPEND = 0x400
O_ASYNC = 0x2000 O_ASYNC = 0x2000
O_CLOEXEC = 0x80000 O_CLOEXEC = 0x80000

View File

@ -60,6 +60,8 @@ const (
CS8 = 0x30 CS8 = 0x30
CSIZE = 0x30 CSIZE = 0x30
CSTOPB = 0x40 CSTOPB = 0x40
ECCGETLAYOUT = 0x81484d11
ECCGETSTATS = 0x80104d12
ECHOCTL = 0x200 ECHOCTL = 0x200
ECHOE = 0x10 ECHOE = 0x10
ECHOK = 0x20 ECHOK = 0x20
@ -123,6 +125,19 @@ const (
MCL_CURRENT = 0x1 MCL_CURRENT = 0x1
MCL_FUTURE = 0x2 MCL_FUTURE = 0x2
MCL_ONFAULT = 0x4 MCL_ONFAULT = 0x4
MEMERASE = 0x40084d02
MEMERASE64 = 0x40104d14
MEMGETBADBLOCK = 0x40084d0b
MEMGETINFO = 0x80204d01
MEMGETOOBSEL = 0x80c84d0a
MEMGETREGIONCOUNT = 0x80044d07
MEMISLOCKED = 0x80084d17
MEMLOCK = 0x40084d05
MEMREADOOB = 0xc0104d04
MEMSETBADBLOCK = 0x40084d0c
MEMUNLOCK = 0x40084d06
MEMWRITEOOB = 0xc0104d03
MTDFILEMODE = 0x4d13
NFDBITS = 0x40 NFDBITS = 0x40
NLDLY = 0x100 NLDLY = 0x100
NOFLSH = 0x80 NOFLSH = 0x80
@ -132,6 +147,11 @@ const (
NS_GET_USERNS = 0xb701 NS_GET_USERNS = 0xb701
OLCUC = 0x2 OLCUC = 0x2
ONLCR = 0x4 ONLCR = 0x4
OTPERASE = 0x400c4d19
OTPGETREGIONCOUNT = 0x40044d0e
OTPGETREGIONINFO = 0x400c4d0f
OTPLOCK = 0x800c4d10
OTPSELECT = 0x80044d0d
O_APPEND = 0x400 O_APPEND = 0x400
O_ASYNC = 0x2000 O_ASYNC = 0x2000
O_CLOEXEC = 0x80000 O_CLOEXEC = 0x80000

View File

@ -60,6 +60,8 @@ const (
CS8 = 0x30 CS8 = 0x30
CSIZE = 0x30 CSIZE = 0x30
CSTOPB = 0x40 CSTOPB = 0x40
ECCGETLAYOUT = 0x81484d11
ECCGETSTATS = 0x80104d12
ECHOCTL = 0x200 ECHOCTL = 0x200
ECHOE = 0x10 ECHOE = 0x10
ECHOK = 0x20 ECHOK = 0x20
@ -121,6 +123,19 @@ const (
MCL_CURRENT = 0x1 MCL_CURRENT = 0x1
MCL_FUTURE = 0x2 MCL_FUTURE = 0x2
MCL_ONFAULT = 0x4 MCL_ONFAULT = 0x4
MEMERASE = 0x40084d02
MEMERASE64 = 0x40104d14
MEMGETBADBLOCK = 0x40084d0b
MEMGETINFO = 0x80204d01
MEMGETOOBSEL = 0x80c84d0a
MEMGETREGIONCOUNT = 0x80044d07
MEMISLOCKED = 0x80084d17
MEMLOCK = 0x40084d05
MEMREADOOB = 0xc00c4d04
MEMSETBADBLOCK = 0x40084d0c
MEMUNLOCK = 0x40084d06
MEMWRITEOOB = 0xc00c4d03
MTDFILEMODE = 0x4d13
NFDBITS = 0x20 NFDBITS = 0x20
NLDLY = 0x100 NLDLY = 0x100
NOFLSH = 0x80 NOFLSH = 0x80
@ -130,6 +145,11 @@ const (
NS_GET_USERNS = 0xb701 NS_GET_USERNS = 0xb701
OLCUC = 0x2 OLCUC = 0x2
ONLCR = 0x4 ONLCR = 0x4
OTPERASE = 0x400c4d19
OTPGETREGIONCOUNT = 0x40044d0e
OTPGETREGIONINFO = 0x400c4d0f
OTPLOCK = 0x800c4d10
OTPSELECT = 0x80044d0d
O_APPEND = 0x400 O_APPEND = 0x400
O_ASYNC = 0x2000 O_ASYNC = 0x2000
O_CLOEXEC = 0x80000 O_CLOEXEC = 0x80000

View File

@ -60,6 +60,8 @@ const (
CS8 = 0x30 CS8 = 0x30
CSIZE = 0x30 CSIZE = 0x30
CSTOPB = 0x40 CSTOPB = 0x40
ECCGETLAYOUT = 0x81484d11
ECCGETSTATS = 0x80104d12
ECHOCTL = 0x200 ECHOCTL = 0x200
ECHOE = 0x10 ECHOE = 0x10
ECHOK = 0x20 ECHOK = 0x20
@ -124,6 +126,19 @@ const (
MCL_CURRENT = 0x1 MCL_CURRENT = 0x1
MCL_FUTURE = 0x2 MCL_FUTURE = 0x2
MCL_ONFAULT = 0x4 MCL_ONFAULT = 0x4
MEMERASE = 0x40084d02
MEMERASE64 = 0x40104d14
MEMGETBADBLOCK = 0x40084d0b
MEMGETINFO = 0x80204d01
MEMGETOOBSEL = 0x80c84d0a
MEMGETREGIONCOUNT = 0x80044d07
MEMISLOCKED = 0x80084d17
MEMLOCK = 0x40084d05
MEMREADOOB = 0xc0104d04
MEMSETBADBLOCK = 0x40084d0c
MEMUNLOCK = 0x40084d06
MEMWRITEOOB = 0xc0104d03
MTDFILEMODE = 0x4d13
NFDBITS = 0x40 NFDBITS = 0x40
NLDLY = 0x100 NLDLY = 0x100
NOFLSH = 0x80 NOFLSH = 0x80
@ -133,6 +148,11 @@ const (
NS_GET_USERNS = 0xb701 NS_GET_USERNS = 0xb701
OLCUC = 0x2 OLCUC = 0x2
ONLCR = 0x4 ONLCR = 0x4
OTPERASE = 0x400c4d19
OTPGETREGIONCOUNT = 0x40044d0e
OTPGETREGIONINFO = 0x400c4d0f
OTPLOCK = 0x800c4d10
OTPSELECT = 0x80044d0d
O_APPEND = 0x400 O_APPEND = 0x400
O_ASYNC = 0x2000 O_ASYNC = 0x2000
O_CLOEXEC = 0x80000 O_CLOEXEC = 0x80000

View File

@ -60,6 +60,8 @@ const (
CS8 = 0x30 CS8 = 0x30
CSIZE = 0x30 CSIZE = 0x30
CSTOPB = 0x40 CSTOPB = 0x40
ECCGETLAYOUT = 0x41484d11
ECCGETSTATS = 0x40104d12
ECHOCTL = 0x200 ECHOCTL = 0x200
ECHOE = 0x10 ECHOE = 0x10
ECHOK = 0x20 ECHOK = 0x20
@ -121,6 +123,19 @@ const (
MCL_CURRENT = 0x1 MCL_CURRENT = 0x1
MCL_FUTURE = 0x2 MCL_FUTURE = 0x2
MCL_ONFAULT = 0x4 MCL_ONFAULT = 0x4
MEMERASE = 0x80084d02
MEMERASE64 = 0x80104d14
MEMGETBADBLOCK = 0x80084d0b
MEMGETINFO = 0x40204d01
MEMGETOOBSEL = 0x40c84d0a
MEMGETREGIONCOUNT = 0x40044d07
MEMISLOCKED = 0x40084d17
MEMLOCK = 0x80084d05
MEMREADOOB = 0xc00c4d04
MEMSETBADBLOCK = 0x80084d0c
MEMUNLOCK = 0x80084d06
MEMWRITEOOB = 0xc00c4d03
MTDFILEMODE = 0x20004d13
NFDBITS = 0x20 NFDBITS = 0x20
NLDLY = 0x100 NLDLY = 0x100
NOFLSH = 0x80 NOFLSH = 0x80
@ -130,6 +145,11 @@ const (
NS_GET_USERNS = 0x2000b701 NS_GET_USERNS = 0x2000b701
OLCUC = 0x2 OLCUC = 0x2
ONLCR = 0x4 ONLCR = 0x4
OTPERASE = 0x800c4d19
OTPGETREGIONCOUNT = 0x80044d0e
OTPGETREGIONINFO = 0x800c4d0f
OTPLOCK = 0x400c4d10
OTPSELECT = 0x40044d0d
O_APPEND = 0x8 O_APPEND = 0x8
O_ASYNC = 0x1000 O_ASYNC = 0x1000
O_CLOEXEC = 0x80000 O_CLOEXEC = 0x80000

View File

@ -60,6 +60,8 @@ const (
CS8 = 0x30 CS8 = 0x30
CSIZE = 0x30 CSIZE = 0x30
CSTOPB = 0x40 CSTOPB = 0x40
ECCGETLAYOUT = 0x41484d11
ECCGETSTATS = 0x40104d12
ECHOCTL = 0x200 ECHOCTL = 0x200
ECHOE = 0x10 ECHOE = 0x10
ECHOK = 0x20 ECHOK = 0x20
@ -121,6 +123,19 @@ const (
MCL_CURRENT = 0x1 MCL_CURRENT = 0x1
MCL_FUTURE = 0x2 MCL_FUTURE = 0x2
MCL_ONFAULT = 0x4 MCL_ONFAULT = 0x4
MEMERASE = 0x80084d02
MEMERASE64 = 0x80104d14
MEMGETBADBLOCK = 0x80084d0b
MEMGETINFO = 0x40204d01
MEMGETOOBSEL = 0x40c84d0a
MEMGETREGIONCOUNT = 0x40044d07
MEMISLOCKED = 0x40084d17
MEMLOCK = 0x80084d05
MEMREADOOB = 0xc0104d04
MEMSETBADBLOCK = 0x80084d0c
MEMUNLOCK = 0x80084d06
MEMWRITEOOB = 0xc0104d03
MTDFILEMODE = 0x20004d13
NFDBITS = 0x40 NFDBITS = 0x40
NLDLY = 0x100 NLDLY = 0x100
NOFLSH = 0x80 NOFLSH = 0x80
@ -130,6 +145,11 @@ const (
NS_GET_USERNS = 0x2000b701 NS_GET_USERNS = 0x2000b701
OLCUC = 0x2 OLCUC = 0x2
ONLCR = 0x4 ONLCR = 0x4
OTPERASE = 0x800c4d19
OTPGETREGIONCOUNT = 0x80044d0e
OTPGETREGIONINFO = 0x800c4d0f
OTPLOCK = 0x400c4d10
OTPSELECT = 0x40044d0d
O_APPEND = 0x8 O_APPEND = 0x8
O_ASYNC = 0x1000 O_ASYNC = 0x1000
O_CLOEXEC = 0x80000 O_CLOEXEC = 0x80000

View File

@ -60,6 +60,8 @@ const (
CS8 = 0x30 CS8 = 0x30
CSIZE = 0x30 CSIZE = 0x30
CSTOPB = 0x40 CSTOPB = 0x40
ECCGETLAYOUT = 0x41484d11
ECCGETSTATS = 0x40104d12
ECHOCTL = 0x200 ECHOCTL = 0x200
ECHOE = 0x10 ECHOE = 0x10
ECHOK = 0x20 ECHOK = 0x20
@ -121,6 +123,19 @@ const (
MCL_CURRENT = 0x1 MCL_CURRENT = 0x1
MCL_FUTURE = 0x2 MCL_FUTURE = 0x2
MCL_ONFAULT = 0x4 MCL_ONFAULT = 0x4
MEMERASE = 0x80084d02
MEMERASE64 = 0x80104d14
MEMGETBADBLOCK = 0x80084d0b
MEMGETINFO = 0x40204d01
MEMGETOOBSEL = 0x40c84d0a
MEMGETREGIONCOUNT = 0x40044d07
MEMISLOCKED = 0x40084d17
MEMLOCK = 0x80084d05
MEMREADOOB = 0xc0104d04
MEMSETBADBLOCK = 0x80084d0c
MEMUNLOCK = 0x80084d06
MEMWRITEOOB = 0xc0104d03
MTDFILEMODE = 0x20004d13
NFDBITS = 0x40 NFDBITS = 0x40
NLDLY = 0x100 NLDLY = 0x100
NOFLSH = 0x80 NOFLSH = 0x80
@ -130,6 +145,11 @@ const (
NS_GET_USERNS = 0x2000b701 NS_GET_USERNS = 0x2000b701
OLCUC = 0x2 OLCUC = 0x2
ONLCR = 0x4 ONLCR = 0x4
OTPERASE = 0x800c4d19
OTPGETREGIONCOUNT = 0x80044d0e
OTPGETREGIONINFO = 0x800c4d0f
OTPLOCK = 0x400c4d10
OTPSELECT = 0x40044d0d
O_APPEND = 0x8 O_APPEND = 0x8
O_ASYNC = 0x1000 O_ASYNC = 0x1000
O_CLOEXEC = 0x80000 O_CLOEXEC = 0x80000

View File

@ -60,6 +60,8 @@ const (
CS8 = 0x30 CS8 = 0x30
CSIZE = 0x30 CSIZE = 0x30
CSTOPB = 0x40 CSTOPB = 0x40
ECCGETLAYOUT = 0x41484d11
ECCGETSTATS = 0x40104d12
ECHOCTL = 0x200 ECHOCTL = 0x200
ECHOE = 0x10 ECHOE = 0x10
ECHOK = 0x20 ECHOK = 0x20
@ -121,6 +123,19 @@ const (
MCL_CURRENT = 0x1 MCL_CURRENT = 0x1
MCL_FUTURE = 0x2 MCL_FUTURE = 0x2
MCL_ONFAULT = 0x4 MCL_ONFAULT = 0x4
MEMERASE = 0x80084d02
MEMERASE64 = 0x80104d14
MEMGETBADBLOCK = 0x80084d0b
MEMGETINFO = 0x40204d01
MEMGETOOBSEL = 0x40c84d0a
MEMGETREGIONCOUNT = 0x40044d07
MEMISLOCKED = 0x40084d17
MEMLOCK = 0x80084d05
MEMREADOOB = 0xc00c4d04
MEMSETBADBLOCK = 0x80084d0c
MEMUNLOCK = 0x80084d06
MEMWRITEOOB = 0xc00c4d03
MTDFILEMODE = 0x20004d13
NFDBITS = 0x20 NFDBITS = 0x20
NLDLY = 0x100 NLDLY = 0x100
NOFLSH = 0x80 NOFLSH = 0x80
@ -130,6 +145,11 @@ const (
NS_GET_USERNS = 0x2000b701 NS_GET_USERNS = 0x2000b701
OLCUC = 0x2 OLCUC = 0x2
ONLCR = 0x4 ONLCR = 0x4
OTPERASE = 0x800c4d19
OTPGETREGIONCOUNT = 0x80044d0e
OTPGETREGIONINFO = 0x800c4d0f
OTPLOCK = 0x400c4d10
OTPSELECT = 0x40044d0d
O_APPEND = 0x8 O_APPEND = 0x8
O_ASYNC = 0x1000 O_ASYNC = 0x1000
O_CLOEXEC = 0x80000 O_CLOEXEC = 0x80000

View File

@ -60,6 +60,8 @@ const (
CS8 = 0x300 CS8 = 0x300
CSIZE = 0x300 CSIZE = 0x300
CSTOPB = 0x400 CSTOPB = 0x400
ECCGETLAYOUT = 0x41484d11
ECCGETSTATS = 0x40104d12
ECHOCTL = 0x40 ECHOCTL = 0x40
ECHOE = 0x2 ECHOE = 0x2
ECHOK = 0x4 ECHOK = 0x4
@ -121,6 +123,19 @@ const (
MCL_CURRENT = 0x2000 MCL_CURRENT = 0x2000
MCL_FUTURE = 0x4000 MCL_FUTURE = 0x4000
MCL_ONFAULT = 0x8000 MCL_ONFAULT = 0x8000
MEMERASE = 0x80084d02
MEMERASE64 = 0x80104d14
MEMGETBADBLOCK = 0x80084d0b
MEMGETINFO = 0x40204d01
MEMGETOOBSEL = 0x40c84d0a
MEMGETREGIONCOUNT = 0x40044d07
MEMISLOCKED = 0x40084d17
MEMLOCK = 0x80084d05
MEMREADOOB = 0xc00c4d04
MEMSETBADBLOCK = 0x80084d0c
MEMUNLOCK = 0x80084d06
MEMWRITEOOB = 0xc00c4d03
MTDFILEMODE = 0x20004d13
NFDBITS = 0x20 NFDBITS = 0x20
NL2 = 0x200 NL2 = 0x200
NL3 = 0x300 NL3 = 0x300
@ -132,6 +147,11 @@ const (
NS_GET_USERNS = 0x2000b701 NS_GET_USERNS = 0x2000b701
OLCUC = 0x4 OLCUC = 0x4
ONLCR = 0x2 ONLCR = 0x2
OTPERASE = 0x800c4d19
OTPGETREGIONCOUNT = 0x80044d0e
OTPGETREGIONINFO = 0x800c4d0f
OTPLOCK = 0x400c4d10
OTPSELECT = 0x40044d0d
O_APPEND = 0x400 O_APPEND = 0x400
O_ASYNC = 0x2000 O_ASYNC = 0x2000
O_CLOEXEC = 0x80000 O_CLOEXEC = 0x80000

View File

@ -60,6 +60,8 @@ const (
CS8 = 0x300 CS8 = 0x300
CSIZE = 0x300 CSIZE = 0x300
CSTOPB = 0x400 CSTOPB = 0x400
ECCGETLAYOUT = 0x41484d11
ECCGETSTATS = 0x40104d12
ECHOCTL = 0x40 ECHOCTL = 0x40
ECHOE = 0x2 ECHOE = 0x2
ECHOK = 0x4 ECHOK = 0x4
@ -121,6 +123,19 @@ const (
MCL_CURRENT = 0x2000 MCL_CURRENT = 0x2000
MCL_FUTURE = 0x4000 MCL_FUTURE = 0x4000
MCL_ONFAULT = 0x8000 MCL_ONFAULT = 0x8000
MEMERASE = 0x80084d02
MEMERASE64 = 0x80104d14
MEMGETBADBLOCK = 0x80084d0b
MEMGETINFO = 0x40204d01
MEMGETOOBSEL = 0x40c84d0a
MEMGETREGIONCOUNT = 0x40044d07
MEMISLOCKED = 0x40084d17
MEMLOCK = 0x80084d05
MEMREADOOB = 0xc0104d04
MEMSETBADBLOCK = 0x80084d0c
MEMUNLOCK = 0x80084d06
MEMWRITEOOB = 0xc0104d03
MTDFILEMODE = 0x20004d13
NFDBITS = 0x40 NFDBITS = 0x40
NL2 = 0x200 NL2 = 0x200
NL3 = 0x300 NL3 = 0x300
@ -132,6 +147,11 @@ const (
NS_GET_USERNS = 0x2000b701 NS_GET_USERNS = 0x2000b701
OLCUC = 0x4 OLCUC = 0x4
ONLCR = 0x2 ONLCR = 0x2
OTPERASE = 0x800c4d19
OTPGETREGIONCOUNT = 0x80044d0e
OTPGETREGIONINFO = 0x800c4d0f
OTPLOCK = 0x400c4d10
OTPSELECT = 0x40044d0d
O_APPEND = 0x400 O_APPEND = 0x400
O_ASYNC = 0x2000 O_ASYNC = 0x2000
O_CLOEXEC = 0x80000 O_CLOEXEC = 0x80000

View File

@ -60,6 +60,8 @@ const (
CS8 = 0x300 CS8 = 0x300
CSIZE = 0x300 CSIZE = 0x300
CSTOPB = 0x400 CSTOPB = 0x400
ECCGETLAYOUT = 0x41484d11
ECCGETSTATS = 0x40104d12
ECHOCTL = 0x40 ECHOCTL = 0x40
ECHOE = 0x2 ECHOE = 0x2
ECHOK = 0x4 ECHOK = 0x4
@ -121,6 +123,19 @@ const (
MCL_CURRENT = 0x2000 MCL_CURRENT = 0x2000
MCL_FUTURE = 0x4000 MCL_FUTURE = 0x4000
MCL_ONFAULT = 0x8000 MCL_ONFAULT = 0x8000
MEMERASE = 0x80084d02
MEMERASE64 = 0x80104d14
MEMGETBADBLOCK = 0x80084d0b
MEMGETINFO = 0x40204d01
MEMGETOOBSEL = 0x40c84d0a
MEMGETREGIONCOUNT = 0x40044d07
MEMISLOCKED = 0x40084d17
MEMLOCK = 0x80084d05
MEMREADOOB = 0xc0104d04
MEMSETBADBLOCK = 0x80084d0c
MEMUNLOCK = 0x80084d06
MEMWRITEOOB = 0xc0104d03
MTDFILEMODE = 0x20004d13
NFDBITS = 0x40 NFDBITS = 0x40
NL2 = 0x200 NL2 = 0x200
NL3 = 0x300 NL3 = 0x300
@ -132,6 +147,11 @@ const (
NS_GET_USERNS = 0x2000b701 NS_GET_USERNS = 0x2000b701
OLCUC = 0x4 OLCUC = 0x4
ONLCR = 0x2 ONLCR = 0x2
OTPERASE = 0x800c4d19
OTPGETREGIONCOUNT = 0x80044d0e
OTPGETREGIONINFO = 0x800c4d0f
OTPLOCK = 0x400c4d10
OTPSELECT = 0x40044d0d
O_APPEND = 0x400 O_APPEND = 0x400
O_ASYNC = 0x2000 O_ASYNC = 0x2000
O_CLOEXEC = 0x80000 O_CLOEXEC = 0x80000

View File

@ -60,6 +60,8 @@ const (
CS8 = 0x30 CS8 = 0x30
CSIZE = 0x30 CSIZE = 0x30
CSTOPB = 0x40 CSTOPB = 0x40
ECCGETLAYOUT = 0x81484d11
ECCGETSTATS = 0x80104d12
ECHOCTL = 0x200 ECHOCTL = 0x200
ECHOE = 0x10 ECHOE = 0x10
ECHOK = 0x20 ECHOK = 0x20
@ -121,6 +123,19 @@ const (
MCL_CURRENT = 0x1 MCL_CURRENT = 0x1
MCL_FUTURE = 0x2 MCL_FUTURE = 0x2
MCL_ONFAULT = 0x4 MCL_ONFAULT = 0x4
MEMERASE = 0x40084d02
MEMERASE64 = 0x40104d14
MEMGETBADBLOCK = 0x40084d0b
MEMGETINFO = 0x80204d01
MEMGETOOBSEL = 0x80c84d0a
MEMGETREGIONCOUNT = 0x80044d07
MEMISLOCKED = 0x80084d17
MEMLOCK = 0x40084d05
MEMREADOOB = 0xc0104d04
MEMSETBADBLOCK = 0x40084d0c
MEMUNLOCK = 0x40084d06
MEMWRITEOOB = 0xc0104d03
MTDFILEMODE = 0x4d13
NFDBITS = 0x40 NFDBITS = 0x40
NLDLY = 0x100 NLDLY = 0x100
NOFLSH = 0x80 NOFLSH = 0x80
@ -130,6 +145,11 @@ const (
NS_GET_USERNS = 0xb701 NS_GET_USERNS = 0xb701
OLCUC = 0x2 OLCUC = 0x2
ONLCR = 0x4 ONLCR = 0x4
OTPERASE = 0x400c4d19
OTPGETREGIONCOUNT = 0x40044d0e
OTPGETREGIONINFO = 0x400c4d0f
OTPLOCK = 0x800c4d10
OTPSELECT = 0x80044d0d
O_APPEND = 0x400 O_APPEND = 0x400
O_ASYNC = 0x2000 O_ASYNC = 0x2000
O_CLOEXEC = 0x80000 O_CLOEXEC = 0x80000

View File

@ -60,6 +60,8 @@ const (
CS8 = 0x30 CS8 = 0x30
CSIZE = 0x30 CSIZE = 0x30
CSTOPB = 0x40 CSTOPB = 0x40
ECCGETLAYOUT = 0x81484d11
ECCGETSTATS = 0x80104d12
ECHOCTL = 0x200 ECHOCTL = 0x200
ECHOE = 0x10 ECHOE = 0x10
ECHOK = 0x20 ECHOK = 0x20
@ -121,6 +123,19 @@ const (
MCL_CURRENT = 0x1 MCL_CURRENT = 0x1
MCL_FUTURE = 0x2 MCL_FUTURE = 0x2
MCL_ONFAULT = 0x4 MCL_ONFAULT = 0x4
MEMERASE = 0x40084d02
MEMERASE64 = 0x40104d14
MEMGETBADBLOCK = 0x40084d0b
MEMGETINFO = 0x80204d01
MEMGETOOBSEL = 0x80c84d0a
MEMGETREGIONCOUNT = 0x80044d07
MEMISLOCKED = 0x80084d17
MEMLOCK = 0x40084d05
MEMREADOOB = 0xc0104d04
MEMSETBADBLOCK = 0x40084d0c
MEMUNLOCK = 0x40084d06
MEMWRITEOOB = 0xc0104d03
MTDFILEMODE = 0x4d13
NFDBITS = 0x40 NFDBITS = 0x40
NLDLY = 0x100 NLDLY = 0x100
NOFLSH = 0x80 NOFLSH = 0x80
@ -130,6 +145,11 @@ const (
NS_GET_USERNS = 0xb701 NS_GET_USERNS = 0xb701
OLCUC = 0x2 OLCUC = 0x2
ONLCR = 0x4 ONLCR = 0x4
OTPERASE = 0x400c4d19
OTPGETREGIONCOUNT = 0x40044d0e
OTPGETREGIONINFO = 0x400c4d0f
OTPLOCK = 0x800c4d10
OTPSELECT = 0x80044d0d
O_APPEND = 0x400 O_APPEND = 0x400
O_ASYNC = 0x2000 O_ASYNC = 0x2000
O_CLOEXEC = 0x80000 O_CLOEXEC = 0x80000

View File

@ -63,6 +63,8 @@ const (
CS8 = 0x30 CS8 = 0x30
CSIZE = 0x30 CSIZE = 0x30
CSTOPB = 0x40 CSTOPB = 0x40
ECCGETLAYOUT = 0x41484d11
ECCGETSTATS = 0x40104d12
ECHOCTL = 0x200 ECHOCTL = 0x200
ECHOE = 0x10 ECHOE = 0x10
ECHOK = 0x20 ECHOK = 0x20
@ -126,6 +128,19 @@ const (
MCL_CURRENT = 0x2000 MCL_CURRENT = 0x2000
MCL_FUTURE = 0x4000 MCL_FUTURE = 0x4000
MCL_ONFAULT = 0x8000 MCL_ONFAULT = 0x8000
MEMERASE = 0x80084d02
MEMERASE64 = 0x80104d14
MEMGETBADBLOCK = 0x80084d0b
MEMGETINFO = 0x40204d01
MEMGETOOBSEL = 0x40c84d0a
MEMGETREGIONCOUNT = 0x40044d07
MEMISLOCKED = 0x40084d17
MEMLOCK = 0x80084d05
MEMREADOOB = 0xc0104d04
MEMSETBADBLOCK = 0x80084d0c
MEMUNLOCK = 0x80084d06
MEMWRITEOOB = 0xc0104d03
MTDFILEMODE = 0x20004d13
NFDBITS = 0x40 NFDBITS = 0x40
NLDLY = 0x100 NLDLY = 0x100
NOFLSH = 0x80 NOFLSH = 0x80
@ -135,6 +150,11 @@ const (
NS_GET_USERNS = 0x2000b701 NS_GET_USERNS = 0x2000b701
OLCUC = 0x2 OLCUC = 0x2
ONLCR = 0x4 ONLCR = 0x4
OTPERASE = 0x800c4d19
OTPGETREGIONCOUNT = 0x80044d0e
OTPGETREGIONINFO = 0x800c4d0f
OTPLOCK = 0x400c4d10
OTPSELECT = 0x40044d0d
O_APPEND = 0x8 O_APPEND = 0x8
O_ASYNC = 0x40 O_ASYNC = 0x40
O_CLOEXEC = 0x400000 O_CLOEXEC = 0x400000

View File

@ -1020,7 +1020,10 @@ const (
RLIMIT_CPU = 0x0 RLIMIT_CPU = 0x0
RLIMIT_DATA = 0x2 RLIMIT_DATA = 0x2
RLIMIT_FSIZE = 0x1 RLIMIT_FSIZE = 0x1
RLIMIT_MEMLOCK = 0x6
RLIMIT_NOFILE = 0x8 RLIMIT_NOFILE = 0x8
RLIMIT_NPROC = 0x7
RLIMIT_RSS = 0x5
RLIMIT_STACK = 0x3 RLIMIT_STACK = 0x3
RLIM_INFINITY = 0x7fffffffffffffff RLIM_INFINITY = 0x7fffffffffffffff
RTAX_AUTHOR = 0x6 RTAX_AUTHOR = 0x6

View File

@ -1020,7 +1020,10 @@ const (
RLIMIT_CPU = 0x0 RLIMIT_CPU = 0x0
RLIMIT_DATA = 0x2 RLIMIT_DATA = 0x2
RLIMIT_FSIZE = 0x1 RLIMIT_FSIZE = 0x1
RLIMIT_MEMLOCK = 0x6
RLIMIT_NOFILE = 0x8 RLIMIT_NOFILE = 0x8
RLIMIT_NPROC = 0x7
RLIMIT_RSS = 0x5
RLIMIT_STACK = 0x3 RLIMIT_STACK = 0x3
RLIM_INFINITY = 0x7fffffffffffffff RLIM_INFINITY = 0x7fffffffffffffff
RTAX_AUTHOR = 0x6 RTAX_AUTHOR = 0x6

View File

@ -67,24 +67,43 @@ const (
IPPORT_RESERVED = 1024 IPPORT_RESERVED = 1024
IPPORT_USERRESERVED = 5000 IPPORT_USERRESERVED = 5000
IPPROTO_AH = 51 IPPROTO_AH = 51
SOL_AH = 51
IPPROTO_DSTOPTS = 60 IPPROTO_DSTOPTS = 60
SOL_DSTOPTS = 60
IPPROTO_EGP = 8 IPPROTO_EGP = 8
SOL_EGP = 8
IPPROTO_ESP = 50 IPPROTO_ESP = 50
SOL_ESP = 50
IPPROTO_FRAGMENT = 44 IPPROTO_FRAGMENT = 44
SOL_FRAGMENT = 44
IPPROTO_GGP = 2 IPPROTO_GGP = 2
SOL_GGP = 2
IPPROTO_HOPOPTS = 0 IPPROTO_HOPOPTS = 0
SOL_HOPOPTS = 0
IPPROTO_ICMP = 1 IPPROTO_ICMP = 1
SOL_ICMP = 1
IPPROTO_ICMPV6 = 58 IPPROTO_ICMPV6 = 58
SOL_ICMPV6 = 58
IPPROTO_IDP = 22 IPPROTO_IDP = 22
SOL_IDP = 22
IPPROTO_IP = 0 IPPROTO_IP = 0
SOL_IP = 0
IPPROTO_IPV6 = 41 IPPROTO_IPV6 = 41
SOL_IPV6 = 41
IPPROTO_MAX = 256 IPPROTO_MAX = 256
SOL_MAX = 256
IPPROTO_NONE = 59 IPPROTO_NONE = 59
SOL_NONE = 59
IPPROTO_PUP = 12 IPPROTO_PUP = 12
SOL_PUP = 12
IPPROTO_RAW = 255 IPPROTO_RAW = 255
SOL_RAW = 255
IPPROTO_ROUTING = 43 IPPROTO_ROUTING = 43
SOL_ROUTING = 43
IPPROTO_TCP = 6 IPPROTO_TCP = 6
SOL_TCP = 6
IPPROTO_UDP = 17 IPPROTO_UDP = 17
SOL_UDP = 17
IPV6_ADDR_PREFERENCES = 32 IPV6_ADDR_PREFERENCES = 32
IPV6_CHECKSUM = 19 IPV6_CHECKSUM = 19
IPV6_DONTFRAG = 29 IPV6_DONTFRAG = 29
@ -186,6 +205,7 @@ const (
MTM_SYNCHONLY = 0x00000200 MTM_SYNCHONLY = 0x00000200
MTM_REMOUNT = 0x00000100 MTM_REMOUNT = 0x00000100
MTM_NOSECURITY = 0x00000080 MTM_NOSECURITY = 0x00000080
NFDBITS = 0x20
O_ACCMODE = 0x03 O_ACCMODE = 0x03
O_APPEND = 0x08 O_APPEND = 0x08
O_ASYNCSIG = 0x0200 O_ASYNCSIG = 0x0200
@ -359,6 +379,8 @@ const (
S_IFMST = 0x00FF0000 S_IFMST = 0x00FF0000
TCP_KEEPALIVE = 0x8 TCP_KEEPALIVE = 0x8
TCP_NODELAY = 0x1 TCP_NODELAY = 0x1
TCP_INFO = 0xb
TCP_USER_TIMEOUT = 0x1
TIOCGWINSZ = 0x4008a368 TIOCGWINSZ = 0x4008a368
TIOCSWINSZ = 0x8008a367 TIOCSWINSZ = 0x8008a367
TIOCSBRK = 0x2000a77b TIOCSBRK = 0x2000a77b

View File

@ -1,40 +0,0 @@
// go run mksyscall.go -l32 -tags darwin,386,go1.13 syscall_darwin.1_13.go
// Code generated by the command above; see README.md. DO NOT EDIT.
//go:build darwin && 386 && go1.13
// +build darwin,386,go1.13
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func closedir(dir uintptr) (err error) {
_, _, e1 := syscall_syscall(funcPC(libc_closedir_trampoline), uintptr(dir), 0, 0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
func libc_closedir_trampoline()
//go:cgo_import_dynamic libc_closedir closedir "/usr/lib/libSystem.B.dylib"
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func readdir_r(dir uintptr, entry *Dirent, result **Dirent) (res Errno) {
r0, _, _ := syscall_syscall(funcPC(libc_readdir_r_trampoline), uintptr(dir), uintptr(unsafe.Pointer(entry)), uintptr(unsafe.Pointer(result)))
res = Errno(r0)
return
}
func libc_readdir_r_trampoline()
//go:cgo_import_dynamic libc_readdir_r readdir_r "/usr/lib/libSystem.B.dylib"

View File

@ -1,13 +0,0 @@
// go run mkasm_darwin.go 386
// Code generated by the command above; DO NOT EDIT.
//go:build go1.13
// +build go1.13
#include "textflag.h"
TEXT ·libc_fdopendir_trampoline(SB),NOSPLIT,$0-0
JMP libc_fdopendir(SB)
TEXT ·libc_closedir_trampoline(SB),NOSPLIT,$0-0
JMP libc_closedir(SB)
TEXT ·libc_readdir_r_trampoline(SB),NOSPLIT,$0-0
JMP libc_readdir_r(SB)

File diff suppressed because it is too large Load Diff

View File

@ -1,291 +0,0 @@
// go run mkasm_darwin.go 386
// Code generated by the command above; DO NOT EDIT.
//go:build go1.12
// +build go1.12
#include "textflag.h"
TEXT ·libc_getgroups_trampoline(SB),NOSPLIT,$0-0
JMP libc_getgroups(SB)
TEXT ·libc_setgroups_trampoline(SB),NOSPLIT,$0-0
JMP libc_setgroups(SB)
TEXT ·libc_wait4_trampoline(SB),NOSPLIT,$0-0
JMP libc_wait4(SB)
TEXT ·libc_accept_trampoline(SB),NOSPLIT,$0-0
JMP libc_accept(SB)
TEXT ·libc_bind_trampoline(SB),NOSPLIT,$0-0
JMP libc_bind(SB)
TEXT ·libc_connect_trampoline(SB),NOSPLIT,$0-0
JMP libc_connect(SB)
TEXT ·libc_socket_trampoline(SB),NOSPLIT,$0-0
JMP libc_socket(SB)
TEXT ·libc_getsockopt_trampoline(SB),NOSPLIT,$0-0
JMP libc_getsockopt(SB)
TEXT ·libc_setsockopt_trampoline(SB),NOSPLIT,$0-0
JMP libc_setsockopt(SB)
TEXT ·libc_getpeername_trampoline(SB),NOSPLIT,$0-0
JMP libc_getpeername(SB)
TEXT ·libc_getsockname_trampoline(SB),NOSPLIT,$0-0
JMP libc_getsockname(SB)
TEXT ·libc_shutdown_trampoline(SB),NOSPLIT,$0-0
JMP libc_shutdown(SB)
TEXT ·libc_socketpair_trampoline(SB),NOSPLIT,$0-0
JMP libc_socketpair(SB)
TEXT ·libc_recvfrom_trampoline(SB),NOSPLIT,$0-0
JMP libc_recvfrom(SB)
TEXT ·libc_sendto_trampoline(SB),NOSPLIT,$0-0
JMP libc_sendto(SB)
TEXT ·libc_recvmsg_trampoline(SB),NOSPLIT,$0-0
JMP libc_recvmsg(SB)
TEXT ·libc_sendmsg_trampoline(SB),NOSPLIT,$0-0
JMP libc_sendmsg(SB)
TEXT ·libc_kevent_trampoline(SB),NOSPLIT,$0-0
JMP libc_kevent(SB)
TEXT ·libc_utimes_trampoline(SB),NOSPLIT,$0-0
JMP libc_utimes(SB)
TEXT ·libc_futimes_trampoline(SB),NOSPLIT,$0-0
JMP libc_futimes(SB)
TEXT ·libc_poll_trampoline(SB),NOSPLIT,$0-0
JMP libc_poll(SB)
TEXT ·libc_madvise_trampoline(SB),NOSPLIT,$0-0
JMP libc_madvise(SB)
TEXT ·libc_mlock_trampoline(SB),NOSPLIT,$0-0
JMP libc_mlock(SB)
TEXT ·libc_mlockall_trampoline(SB),NOSPLIT,$0-0
JMP libc_mlockall(SB)
TEXT ·libc_mprotect_trampoline(SB),NOSPLIT,$0-0
JMP libc_mprotect(SB)
TEXT ·libc_msync_trampoline(SB),NOSPLIT,$0-0
JMP libc_msync(SB)
TEXT ·libc_munlock_trampoline(SB),NOSPLIT,$0-0
JMP libc_munlock(SB)
TEXT ·libc_munlockall_trampoline(SB),NOSPLIT,$0-0
JMP libc_munlockall(SB)
TEXT ·libc_pipe_trampoline(SB),NOSPLIT,$0-0
JMP libc_pipe(SB)
TEXT ·libc_getxattr_trampoline(SB),NOSPLIT,$0-0
JMP libc_getxattr(SB)
TEXT ·libc_fgetxattr_trampoline(SB),NOSPLIT,$0-0
JMP libc_fgetxattr(SB)
TEXT ·libc_setxattr_trampoline(SB),NOSPLIT,$0-0
JMP libc_setxattr(SB)
TEXT ·libc_fsetxattr_trampoline(SB),NOSPLIT,$0-0
JMP libc_fsetxattr(SB)
TEXT ·libc_removexattr_trampoline(SB),NOSPLIT,$0-0
JMP libc_removexattr(SB)
TEXT ·libc_fremovexattr_trampoline(SB),NOSPLIT,$0-0
JMP libc_fremovexattr(SB)
TEXT ·libc_listxattr_trampoline(SB),NOSPLIT,$0-0
JMP libc_listxattr(SB)
TEXT ·libc_flistxattr_trampoline(SB),NOSPLIT,$0-0
JMP libc_flistxattr(SB)
TEXT ·libc_setattrlist_trampoline(SB),NOSPLIT,$0-0
JMP libc_setattrlist(SB)
TEXT ·libc_fcntl_trampoline(SB),NOSPLIT,$0-0
JMP libc_fcntl(SB)
TEXT ·libc_kill_trampoline(SB),NOSPLIT,$0-0
JMP libc_kill(SB)
TEXT ·libc_ioctl_trampoline(SB),NOSPLIT,$0-0
JMP libc_ioctl(SB)
TEXT ·libc_sysctl_trampoline(SB),NOSPLIT,$0-0
JMP libc_sysctl(SB)
TEXT ·libc_sendfile_trampoline(SB),NOSPLIT,$0-0
JMP libc_sendfile(SB)
TEXT ·libc_access_trampoline(SB),NOSPLIT,$0-0
JMP libc_access(SB)
TEXT ·libc_adjtime_trampoline(SB),NOSPLIT,$0-0
JMP libc_adjtime(SB)
TEXT ·libc_chdir_trampoline(SB),NOSPLIT,$0-0
JMP libc_chdir(SB)
TEXT ·libc_chflags_trampoline(SB),NOSPLIT,$0-0
JMP libc_chflags(SB)
TEXT ·libc_chmod_trampoline(SB),NOSPLIT,$0-0
JMP libc_chmod(SB)
TEXT ·libc_chown_trampoline(SB),NOSPLIT,$0-0
JMP libc_chown(SB)
TEXT ·libc_chroot_trampoline(SB),NOSPLIT,$0-0
JMP libc_chroot(SB)
TEXT ·libc_clock_gettime_trampoline(SB),NOSPLIT,$0-0
JMP libc_clock_gettime(SB)
TEXT ·libc_close_trampoline(SB),NOSPLIT,$0-0
JMP libc_close(SB)
TEXT ·libc_clonefile_trampoline(SB),NOSPLIT,$0-0
JMP libc_clonefile(SB)
TEXT ·libc_clonefileat_trampoline(SB),NOSPLIT,$0-0
JMP libc_clonefileat(SB)
TEXT ·libc_dup_trampoline(SB),NOSPLIT,$0-0
JMP libc_dup(SB)
TEXT ·libc_dup2_trampoline(SB),NOSPLIT,$0-0
JMP libc_dup2(SB)
TEXT ·libc_exchangedata_trampoline(SB),NOSPLIT,$0-0
JMP libc_exchangedata(SB)
TEXT ·libc_exit_trampoline(SB),NOSPLIT,$0-0
JMP libc_exit(SB)
TEXT ·libc_faccessat_trampoline(SB),NOSPLIT,$0-0
JMP libc_faccessat(SB)
TEXT ·libc_fchdir_trampoline(SB),NOSPLIT,$0-0
JMP libc_fchdir(SB)
TEXT ·libc_fchflags_trampoline(SB),NOSPLIT,$0-0
JMP libc_fchflags(SB)
TEXT ·libc_fchmod_trampoline(SB),NOSPLIT,$0-0
JMP libc_fchmod(SB)
TEXT ·libc_fchmodat_trampoline(SB),NOSPLIT,$0-0
JMP libc_fchmodat(SB)
TEXT ·libc_fchown_trampoline(SB),NOSPLIT,$0-0
JMP libc_fchown(SB)
TEXT ·libc_fchownat_trampoline(SB),NOSPLIT,$0-0
JMP libc_fchownat(SB)
TEXT ·libc_fclonefileat_trampoline(SB),NOSPLIT,$0-0
JMP libc_fclonefileat(SB)
TEXT ·libc_flock_trampoline(SB),NOSPLIT,$0-0
JMP libc_flock(SB)
TEXT ·libc_fpathconf_trampoline(SB),NOSPLIT,$0-0
JMP libc_fpathconf(SB)
TEXT ·libc_fsync_trampoline(SB),NOSPLIT,$0-0
JMP libc_fsync(SB)
TEXT ·libc_ftruncate_trampoline(SB),NOSPLIT,$0-0
JMP libc_ftruncate(SB)
TEXT ·libc_getcwd_trampoline(SB),NOSPLIT,$0-0
JMP libc_getcwd(SB)
TEXT ·libc_getdtablesize_trampoline(SB),NOSPLIT,$0-0
JMP libc_getdtablesize(SB)
TEXT ·libc_getegid_trampoline(SB),NOSPLIT,$0-0
JMP libc_getegid(SB)
TEXT ·libc_geteuid_trampoline(SB),NOSPLIT,$0-0
JMP libc_geteuid(SB)
TEXT ·libc_getgid_trampoline(SB),NOSPLIT,$0-0
JMP libc_getgid(SB)
TEXT ·libc_getpgid_trampoline(SB),NOSPLIT,$0-0
JMP libc_getpgid(SB)
TEXT ·libc_getpgrp_trampoline(SB),NOSPLIT,$0-0
JMP libc_getpgrp(SB)
TEXT ·libc_getpid_trampoline(SB),NOSPLIT,$0-0
JMP libc_getpid(SB)
TEXT ·libc_getppid_trampoline(SB),NOSPLIT,$0-0
JMP libc_getppid(SB)
TEXT ·libc_getpriority_trampoline(SB),NOSPLIT,$0-0
JMP libc_getpriority(SB)
TEXT ·libc_getrlimit_trampoline(SB),NOSPLIT,$0-0
JMP libc_getrlimit(SB)
TEXT ·libc_getrusage_trampoline(SB),NOSPLIT,$0-0
JMP libc_getrusage(SB)
TEXT ·libc_getsid_trampoline(SB),NOSPLIT,$0-0
JMP libc_getsid(SB)
TEXT ·libc_gettimeofday_trampoline(SB),NOSPLIT,$0-0
JMP libc_gettimeofday(SB)
TEXT ·libc_getuid_trampoline(SB),NOSPLIT,$0-0
JMP libc_getuid(SB)
TEXT ·libc_issetugid_trampoline(SB),NOSPLIT,$0-0
JMP libc_issetugid(SB)
TEXT ·libc_kqueue_trampoline(SB),NOSPLIT,$0-0
JMP libc_kqueue(SB)
TEXT ·libc_lchown_trampoline(SB),NOSPLIT,$0-0
JMP libc_lchown(SB)
TEXT ·libc_link_trampoline(SB),NOSPLIT,$0-0
JMP libc_link(SB)
TEXT ·libc_linkat_trampoline(SB),NOSPLIT,$0-0
JMP libc_linkat(SB)
TEXT ·libc_listen_trampoline(SB),NOSPLIT,$0-0
JMP libc_listen(SB)
TEXT ·libc_mkdir_trampoline(SB),NOSPLIT,$0-0
JMP libc_mkdir(SB)
TEXT ·libc_mkdirat_trampoline(SB),NOSPLIT,$0-0
JMP libc_mkdirat(SB)
TEXT ·libc_mkfifo_trampoline(SB),NOSPLIT,$0-0
JMP libc_mkfifo(SB)
TEXT ·libc_mknod_trampoline(SB),NOSPLIT,$0-0
JMP libc_mknod(SB)
TEXT ·libc_open_trampoline(SB),NOSPLIT,$0-0
JMP libc_open(SB)
TEXT ·libc_openat_trampoline(SB),NOSPLIT,$0-0
JMP libc_openat(SB)
TEXT ·libc_pathconf_trampoline(SB),NOSPLIT,$0-0
JMP libc_pathconf(SB)
TEXT ·libc_pread_trampoline(SB),NOSPLIT,$0-0
JMP libc_pread(SB)
TEXT ·libc_pwrite_trampoline(SB),NOSPLIT,$0-0
JMP libc_pwrite(SB)
TEXT ·libc_read_trampoline(SB),NOSPLIT,$0-0
JMP libc_read(SB)
TEXT ·libc_readlink_trampoline(SB),NOSPLIT,$0-0
JMP libc_readlink(SB)
TEXT ·libc_readlinkat_trampoline(SB),NOSPLIT,$0-0
JMP libc_readlinkat(SB)
TEXT ·libc_rename_trampoline(SB),NOSPLIT,$0-0
JMP libc_rename(SB)
TEXT ·libc_renameat_trampoline(SB),NOSPLIT,$0-0
JMP libc_renameat(SB)
TEXT ·libc_revoke_trampoline(SB),NOSPLIT,$0-0
JMP libc_revoke(SB)
TEXT ·libc_rmdir_trampoline(SB),NOSPLIT,$0-0
JMP libc_rmdir(SB)
TEXT ·libc_lseek_trampoline(SB),NOSPLIT,$0-0
JMP libc_lseek(SB)
TEXT ·libc_select_trampoline(SB),NOSPLIT,$0-0
JMP libc_select(SB)
TEXT ·libc_setegid_trampoline(SB),NOSPLIT,$0-0
JMP libc_setegid(SB)
TEXT ·libc_seteuid_trampoline(SB),NOSPLIT,$0-0
JMP libc_seteuid(SB)
TEXT ·libc_setgid_trampoline(SB),NOSPLIT,$0-0
JMP libc_setgid(SB)
TEXT ·libc_setlogin_trampoline(SB),NOSPLIT,$0-0
JMP libc_setlogin(SB)
TEXT ·libc_setpgid_trampoline(SB),NOSPLIT,$0-0
JMP libc_setpgid(SB)
TEXT ·libc_setpriority_trampoline(SB),NOSPLIT,$0-0
JMP libc_setpriority(SB)
TEXT ·libc_setprivexec_trampoline(SB),NOSPLIT,$0-0
JMP libc_setprivexec(SB)
TEXT ·libc_setregid_trampoline(SB),NOSPLIT,$0-0
JMP libc_setregid(SB)
TEXT ·libc_setreuid_trampoline(SB),NOSPLIT,$0-0
JMP libc_setreuid(SB)
TEXT ·libc_setrlimit_trampoline(SB),NOSPLIT,$0-0
JMP libc_setrlimit(SB)
TEXT ·libc_setsid_trampoline(SB),NOSPLIT,$0-0
JMP libc_setsid(SB)
TEXT ·libc_settimeofday_trampoline(SB),NOSPLIT,$0-0
JMP libc_settimeofday(SB)
TEXT ·libc_setuid_trampoline(SB),NOSPLIT,$0-0
JMP libc_setuid(SB)
TEXT ·libc_symlink_trampoline(SB),NOSPLIT,$0-0
JMP libc_symlink(SB)
TEXT ·libc_symlinkat_trampoline(SB),NOSPLIT,$0-0
JMP libc_symlinkat(SB)
TEXT ·libc_sync_trampoline(SB),NOSPLIT,$0-0
JMP libc_sync(SB)
TEXT ·libc_truncate_trampoline(SB),NOSPLIT,$0-0
JMP libc_truncate(SB)
TEXT ·libc_umask_trampoline(SB),NOSPLIT,$0-0
JMP libc_umask(SB)
TEXT ·libc_undelete_trampoline(SB),NOSPLIT,$0-0
JMP libc_undelete(SB)
TEXT ·libc_unlink_trampoline(SB),NOSPLIT,$0-0
JMP libc_unlink(SB)
TEXT ·libc_unlinkat_trampoline(SB),NOSPLIT,$0-0
JMP libc_unlinkat(SB)
TEXT ·libc_unmount_trampoline(SB),NOSPLIT,$0-0
JMP libc_unmount(SB)
TEXT ·libc_write_trampoline(SB),NOSPLIT,$0-0
JMP libc_write(SB)
TEXT ·libc_mmap_trampoline(SB),NOSPLIT,$0-0
JMP libc_mmap(SB)
TEXT ·libc_munmap_trampoline(SB),NOSPLIT,$0-0
JMP libc_munmap(SB)
TEXT ·libc_fstat64_trampoline(SB),NOSPLIT,$0-0
JMP libc_fstat64(SB)
TEXT ·libc_fstatat64_trampoline(SB),NOSPLIT,$0-0
JMP libc_fstatat64(SB)
TEXT ·libc_fstatfs64_trampoline(SB),NOSPLIT,$0-0
JMP libc_fstatfs64(SB)
TEXT ·libc_getfsstat64_trampoline(SB),NOSPLIT,$0-0
JMP libc_getfsstat64(SB)
TEXT ·libc_lstat64_trampoline(SB),NOSPLIT,$0-0
JMP libc_lstat64(SB)
TEXT ·libc_ptrace_trampoline(SB),NOSPLIT,$0-0
JMP libc_ptrace(SB)
TEXT ·libc_stat64_trampoline(SB),NOSPLIT,$0-0
JMP libc_stat64(SB)
TEXT ·libc_statfs64_trampoline(SB),NOSPLIT,$0-0
JMP libc_statfs64(SB)

View File

@ -16,25 +16,25 @@ var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func closedir(dir uintptr) (err error) { func closedir(dir uintptr) (err error) {
_, _, e1 := syscall_syscall(funcPC(libc_closedir_trampoline), uintptr(dir), 0, 0) _, _, e1 := syscall_syscall(libc_closedir_trampoline_addr, uintptr(dir), 0, 0)
if e1 != 0 { if e1 != 0 {
err = errnoErr(e1) err = errnoErr(e1)
} }
return return
} }
func libc_closedir_trampoline() var libc_closedir_trampoline_addr uintptr
//go:cgo_import_dynamic libc_closedir closedir "/usr/lib/libSystem.B.dylib" //go:cgo_import_dynamic libc_closedir closedir "/usr/lib/libSystem.B.dylib"
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func readdir_r(dir uintptr, entry *Dirent, result **Dirent) (res Errno) { func readdir_r(dir uintptr, entry *Dirent, result **Dirent) (res Errno) {
r0, _, _ := syscall_syscall(funcPC(libc_readdir_r_trampoline), uintptr(dir), uintptr(unsafe.Pointer(entry)), uintptr(unsafe.Pointer(result))) r0, _, _ := syscall_syscall(libc_readdir_r_trampoline_addr, uintptr(dir), uintptr(unsafe.Pointer(entry)), uintptr(unsafe.Pointer(result)))
res = Errno(r0) res = Errno(r0)
return return
} }
func libc_readdir_r_trampoline() var libc_readdir_r_trampoline_addr uintptr
//go:cgo_import_dynamic libc_readdir_r readdir_r "/usr/lib/libSystem.B.dylib" //go:cgo_import_dynamic libc_readdir_r readdir_r "/usr/lib/libSystem.B.dylib"

View File

@ -5,9 +5,21 @@
// +build go1.13 // +build go1.13
#include "textflag.h" #include "textflag.h"
TEXT ·libc_fdopendir_trampoline(SB),NOSPLIT,$0-0
TEXT libc_fdopendir_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fdopendir(SB) JMP libc_fdopendir(SB)
TEXT ·libc_closedir_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fdopendir_trampoline_addr(SB), RODATA, $8
DATA ·libc_fdopendir_trampoline_addr(SB)/8, $libc_fdopendir_trampoline<>(SB)
TEXT libc_closedir_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_closedir(SB) JMP libc_closedir(SB)
TEXT ·libc_readdir_r_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_closedir_trampoline_addr(SB), RODATA, $8
DATA ·libc_closedir_trampoline_addr(SB)/8, $libc_closedir_trampoline<>(SB)
TEXT libc_readdir_r_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_readdir_r(SB) JMP libc_readdir_r(SB)
GLOBL ·libc_readdir_r_trampoline_addr(SB), RODATA, $8
DATA ·libc_readdir_r_trampoline_addr(SB)/8, $libc_readdir_r_trampoline<>(SB)

File diff suppressed because it is too large Load Diff

View File

@ -5,287 +5,855 @@
// +build go1.12 // +build go1.12
#include "textflag.h" #include "textflag.h"
TEXT ·libc_getgroups_trampoline(SB),NOSPLIT,$0-0
TEXT libc_getgroups_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getgroups(SB) JMP libc_getgroups(SB)
TEXT ·libc_setgroups_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getgroups_trampoline_addr(SB), RODATA, $8
DATA ·libc_getgroups_trampoline_addr(SB)/8, $libc_getgroups_trampoline<>(SB)
TEXT libc_setgroups_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setgroups(SB) JMP libc_setgroups(SB)
TEXT ·libc_wait4_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setgroups_trampoline_addr(SB), RODATA, $8
DATA ·libc_setgroups_trampoline_addr(SB)/8, $libc_setgroups_trampoline<>(SB)
TEXT libc_wait4_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_wait4(SB) JMP libc_wait4(SB)
TEXT ·libc_accept_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_wait4_trampoline_addr(SB), RODATA, $8
DATA ·libc_wait4_trampoline_addr(SB)/8, $libc_wait4_trampoline<>(SB)
TEXT libc_accept_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_accept(SB) JMP libc_accept(SB)
TEXT ·libc_bind_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_accept_trampoline_addr(SB), RODATA, $8
DATA ·libc_accept_trampoline_addr(SB)/8, $libc_accept_trampoline<>(SB)
TEXT libc_bind_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_bind(SB) JMP libc_bind(SB)
TEXT ·libc_connect_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_bind_trampoline_addr(SB), RODATA, $8
DATA ·libc_bind_trampoline_addr(SB)/8, $libc_bind_trampoline<>(SB)
TEXT libc_connect_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_connect(SB) JMP libc_connect(SB)
TEXT ·libc_socket_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_connect_trampoline_addr(SB), RODATA, $8
DATA ·libc_connect_trampoline_addr(SB)/8, $libc_connect_trampoline<>(SB)
TEXT libc_socket_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_socket(SB) JMP libc_socket(SB)
TEXT ·libc_getsockopt_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_socket_trampoline_addr(SB), RODATA, $8
DATA ·libc_socket_trampoline_addr(SB)/8, $libc_socket_trampoline<>(SB)
TEXT libc_getsockopt_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getsockopt(SB) JMP libc_getsockopt(SB)
TEXT ·libc_setsockopt_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getsockopt_trampoline_addr(SB), RODATA, $8
DATA ·libc_getsockopt_trampoline_addr(SB)/8, $libc_getsockopt_trampoline<>(SB)
TEXT libc_setsockopt_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setsockopt(SB) JMP libc_setsockopt(SB)
TEXT ·libc_getpeername_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setsockopt_trampoline_addr(SB), RODATA, $8
DATA ·libc_setsockopt_trampoline_addr(SB)/8, $libc_setsockopt_trampoline<>(SB)
TEXT libc_getpeername_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getpeername(SB) JMP libc_getpeername(SB)
TEXT ·libc_getsockname_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getpeername_trampoline_addr(SB), RODATA, $8
DATA ·libc_getpeername_trampoline_addr(SB)/8, $libc_getpeername_trampoline<>(SB)
TEXT libc_getsockname_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getsockname(SB) JMP libc_getsockname(SB)
TEXT ·libc_shutdown_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getsockname_trampoline_addr(SB), RODATA, $8
DATA ·libc_getsockname_trampoline_addr(SB)/8, $libc_getsockname_trampoline<>(SB)
TEXT libc_shutdown_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_shutdown(SB) JMP libc_shutdown(SB)
TEXT ·libc_socketpair_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_shutdown_trampoline_addr(SB), RODATA, $8
DATA ·libc_shutdown_trampoline_addr(SB)/8, $libc_shutdown_trampoline<>(SB)
TEXT libc_socketpair_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_socketpair(SB) JMP libc_socketpair(SB)
TEXT ·libc_recvfrom_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_socketpair_trampoline_addr(SB), RODATA, $8
DATA ·libc_socketpair_trampoline_addr(SB)/8, $libc_socketpair_trampoline<>(SB)
TEXT libc_recvfrom_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_recvfrom(SB) JMP libc_recvfrom(SB)
TEXT ·libc_sendto_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_recvfrom_trampoline_addr(SB), RODATA, $8
DATA ·libc_recvfrom_trampoline_addr(SB)/8, $libc_recvfrom_trampoline<>(SB)
TEXT libc_sendto_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_sendto(SB) JMP libc_sendto(SB)
TEXT ·libc_recvmsg_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_sendto_trampoline_addr(SB), RODATA, $8
DATA ·libc_sendto_trampoline_addr(SB)/8, $libc_sendto_trampoline<>(SB)
TEXT libc_recvmsg_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_recvmsg(SB) JMP libc_recvmsg(SB)
TEXT ·libc_sendmsg_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_recvmsg_trampoline_addr(SB), RODATA, $8
DATA ·libc_recvmsg_trampoline_addr(SB)/8, $libc_recvmsg_trampoline<>(SB)
TEXT libc_sendmsg_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_sendmsg(SB) JMP libc_sendmsg(SB)
TEXT ·libc_kevent_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_sendmsg_trampoline_addr(SB), RODATA, $8
DATA ·libc_sendmsg_trampoline_addr(SB)/8, $libc_sendmsg_trampoline<>(SB)
TEXT libc_kevent_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_kevent(SB) JMP libc_kevent(SB)
TEXT ·libc_utimes_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_kevent_trampoline_addr(SB), RODATA, $8
DATA ·libc_kevent_trampoline_addr(SB)/8, $libc_kevent_trampoline<>(SB)
TEXT libc_utimes_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_utimes(SB) JMP libc_utimes(SB)
TEXT ·libc_futimes_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_utimes_trampoline_addr(SB), RODATA, $8
DATA ·libc_utimes_trampoline_addr(SB)/8, $libc_utimes_trampoline<>(SB)
TEXT libc_futimes_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_futimes(SB) JMP libc_futimes(SB)
TEXT ·libc_poll_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_futimes_trampoline_addr(SB), RODATA, $8
DATA ·libc_futimes_trampoline_addr(SB)/8, $libc_futimes_trampoline<>(SB)
TEXT libc_poll_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_poll(SB) JMP libc_poll(SB)
TEXT ·libc_madvise_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_poll_trampoline_addr(SB), RODATA, $8
DATA ·libc_poll_trampoline_addr(SB)/8, $libc_poll_trampoline<>(SB)
TEXT libc_madvise_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_madvise(SB) JMP libc_madvise(SB)
TEXT ·libc_mlock_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_madvise_trampoline_addr(SB), RODATA, $8
DATA ·libc_madvise_trampoline_addr(SB)/8, $libc_madvise_trampoline<>(SB)
TEXT libc_mlock_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_mlock(SB) JMP libc_mlock(SB)
TEXT ·libc_mlockall_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_mlock_trampoline_addr(SB), RODATA, $8
DATA ·libc_mlock_trampoline_addr(SB)/8, $libc_mlock_trampoline<>(SB)
TEXT libc_mlockall_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_mlockall(SB) JMP libc_mlockall(SB)
TEXT ·libc_mprotect_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_mlockall_trampoline_addr(SB), RODATA, $8
DATA ·libc_mlockall_trampoline_addr(SB)/8, $libc_mlockall_trampoline<>(SB)
TEXT libc_mprotect_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_mprotect(SB) JMP libc_mprotect(SB)
TEXT ·libc_msync_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_mprotect_trampoline_addr(SB), RODATA, $8
DATA ·libc_mprotect_trampoline_addr(SB)/8, $libc_mprotect_trampoline<>(SB)
TEXT libc_msync_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_msync(SB) JMP libc_msync(SB)
TEXT ·libc_munlock_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_msync_trampoline_addr(SB), RODATA, $8
DATA ·libc_msync_trampoline_addr(SB)/8, $libc_msync_trampoline<>(SB)
TEXT libc_munlock_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_munlock(SB) JMP libc_munlock(SB)
TEXT ·libc_munlockall_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_munlock_trampoline_addr(SB), RODATA, $8
DATA ·libc_munlock_trampoline_addr(SB)/8, $libc_munlock_trampoline<>(SB)
TEXT libc_munlockall_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_munlockall(SB) JMP libc_munlockall(SB)
TEXT ·libc_pipe_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_munlockall_trampoline_addr(SB), RODATA, $8
DATA ·libc_munlockall_trampoline_addr(SB)/8, $libc_munlockall_trampoline<>(SB)
TEXT libc_pipe_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_pipe(SB) JMP libc_pipe(SB)
TEXT ·libc_getxattr_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_pipe_trampoline_addr(SB), RODATA, $8
DATA ·libc_pipe_trampoline_addr(SB)/8, $libc_pipe_trampoline<>(SB)
TEXT libc_getxattr_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getxattr(SB) JMP libc_getxattr(SB)
TEXT ·libc_fgetxattr_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getxattr_trampoline_addr(SB), RODATA, $8
DATA ·libc_getxattr_trampoline_addr(SB)/8, $libc_getxattr_trampoline<>(SB)
TEXT libc_fgetxattr_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fgetxattr(SB) JMP libc_fgetxattr(SB)
TEXT ·libc_setxattr_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fgetxattr_trampoline_addr(SB), RODATA, $8
DATA ·libc_fgetxattr_trampoline_addr(SB)/8, $libc_fgetxattr_trampoline<>(SB)
TEXT libc_setxattr_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setxattr(SB) JMP libc_setxattr(SB)
TEXT ·libc_fsetxattr_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setxattr_trampoline_addr(SB), RODATA, $8
DATA ·libc_setxattr_trampoline_addr(SB)/8, $libc_setxattr_trampoline<>(SB)
TEXT libc_fsetxattr_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fsetxattr(SB) JMP libc_fsetxattr(SB)
TEXT ·libc_removexattr_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fsetxattr_trampoline_addr(SB), RODATA, $8
DATA ·libc_fsetxattr_trampoline_addr(SB)/8, $libc_fsetxattr_trampoline<>(SB)
TEXT libc_removexattr_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_removexattr(SB) JMP libc_removexattr(SB)
TEXT ·libc_fremovexattr_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_removexattr_trampoline_addr(SB), RODATA, $8
DATA ·libc_removexattr_trampoline_addr(SB)/8, $libc_removexattr_trampoline<>(SB)
TEXT libc_fremovexattr_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fremovexattr(SB) JMP libc_fremovexattr(SB)
TEXT ·libc_listxattr_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fremovexattr_trampoline_addr(SB), RODATA, $8
DATA ·libc_fremovexattr_trampoline_addr(SB)/8, $libc_fremovexattr_trampoline<>(SB)
TEXT libc_listxattr_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_listxattr(SB) JMP libc_listxattr(SB)
TEXT ·libc_flistxattr_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_listxattr_trampoline_addr(SB), RODATA, $8
DATA ·libc_listxattr_trampoline_addr(SB)/8, $libc_listxattr_trampoline<>(SB)
TEXT libc_flistxattr_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_flistxattr(SB) JMP libc_flistxattr(SB)
TEXT ·libc_setattrlist_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_flistxattr_trampoline_addr(SB), RODATA, $8
DATA ·libc_flistxattr_trampoline_addr(SB)/8, $libc_flistxattr_trampoline<>(SB)
TEXT libc_setattrlist_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setattrlist(SB) JMP libc_setattrlist(SB)
TEXT ·libc_fcntl_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setattrlist_trampoline_addr(SB), RODATA, $8
DATA ·libc_setattrlist_trampoline_addr(SB)/8, $libc_setattrlist_trampoline<>(SB)
TEXT libc_fcntl_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fcntl(SB) JMP libc_fcntl(SB)
TEXT ·libc_kill_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fcntl_trampoline_addr(SB), RODATA, $8
DATA ·libc_fcntl_trampoline_addr(SB)/8, $libc_fcntl_trampoline<>(SB)
TEXT libc_kill_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_kill(SB) JMP libc_kill(SB)
TEXT ·libc_ioctl_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_kill_trampoline_addr(SB), RODATA, $8
DATA ·libc_kill_trampoline_addr(SB)/8, $libc_kill_trampoline<>(SB)
TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_ioctl(SB) JMP libc_ioctl(SB)
TEXT ·libc_sysctl_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $8
DATA ·libc_ioctl_trampoline_addr(SB)/8, $libc_ioctl_trampoline<>(SB)
TEXT libc_sysctl_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_sysctl(SB) JMP libc_sysctl(SB)
TEXT ·libc_sendfile_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_sysctl_trampoline_addr(SB), RODATA, $8
DATA ·libc_sysctl_trampoline_addr(SB)/8, $libc_sysctl_trampoline<>(SB)
TEXT libc_sendfile_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_sendfile(SB) JMP libc_sendfile(SB)
TEXT ·libc_access_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_sendfile_trampoline_addr(SB), RODATA, $8
DATA ·libc_sendfile_trampoline_addr(SB)/8, $libc_sendfile_trampoline<>(SB)
TEXT libc_access_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_access(SB) JMP libc_access(SB)
TEXT ·libc_adjtime_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_access_trampoline_addr(SB), RODATA, $8
DATA ·libc_access_trampoline_addr(SB)/8, $libc_access_trampoline<>(SB)
TEXT libc_adjtime_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_adjtime(SB) JMP libc_adjtime(SB)
TEXT ·libc_chdir_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_adjtime_trampoline_addr(SB), RODATA, $8
DATA ·libc_adjtime_trampoline_addr(SB)/8, $libc_adjtime_trampoline<>(SB)
TEXT libc_chdir_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_chdir(SB) JMP libc_chdir(SB)
TEXT ·libc_chflags_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_chdir_trampoline_addr(SB), RODATA, $8
DATA ·libc_chdir_trampoline_addr(SB)/8, $libc_chdir_trampoline<>(SB)
TEXT libc_chflags_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_chflags(SB) JMP libc_chflags(SB)
TEXT ·libc_chmod_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_chflags_trampoline_addr(SB), RODATA, $8
DATA ·libc_chflags_trampoline_addr(SB)/8, $libc_chflags_trampoline<>(SB)
TEXT libc_chmod_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_chmod(SB) JMP libc_chmod(SB)
TEXT ·libc_chown_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_chmod_trampoline_addr(SB), RODATA, $8
DATA ·libc_chmod_trampoline_addr(SB)/8, $libc_chmod_trampoline<>(SB)
TEXT libc_chown_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_chown(SB) JMP libc_chown(SB)
TEXT ·libc_chroot_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_chown_trampoline_addr(SB), RODATA, $8
DATA ·libc_chown_trampoline_addr(SB)/8, $libc_chown_trampoline<>(SB)
TEXT libc_chroot_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_chroot(SB) JMP libc_chroot(SB)
TEXT ·libc_clock_gettime_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_chroot_trampoline_addr(SB), RODATA, $8
DATA ·libc_chroot_trampoline_addr(SB)/8, $libc_chroot_trampoline<>(SB)
TEXT libc_clock_gettime_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_clock_gettime(SB) JMP libc_clock_gettime(SB)
TEXT ·libc_close_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_clock_gettime_trampoline_addr(SB), RODATA, $8
DATA ·libc_clock_gettime_trampoline_addr(SB)/8, $libc_clock_gettime_trampoline<>(SB)
TEXT libc_close_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_close(SB) JMP libc_close(SB)
TEXT ·libc_clonefile_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_close_trampoline_addr(SB), RODATA, $8
DATA ·libc_close_trampoline_addr(SB)/8, $libc_close_trampoline<>(SB)
TEXT libc_clonefile_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_clonefile(SB) JMP libc_clonefile(SB)
TEXT ·libc_clonefileat_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_clonefile_trampoline_addr(SB), RODATA, $8
DATA ·libc_clonefile_trampoline_addr(SB)/8, $libc_clonefile_trampoline<>(SB)
TEXT libc_clonefileat_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_clonefileat(SB) JMP libc_clonefileat(SB)
TEXT ·libc_dup_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_clonefileat_trampoline_addr(SB), RODATA, $8
DATA ·libc_clonefileat_trampoline_addr(SB)/8, $libc_clonefileat_trampoline<>(SB)
TEXT libc_dup_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_dup(SB) JMP libc_dup(SB)
TEXT ·libc_dup2_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_dup_trampoline_addr(SB), RODATA, $8
DATA ·libc_dup_trampoline_addr(SB)/8, $libc_dup_trampoline<>(SB)
TEXT libc_dup2_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_dup2(SB) JMP libc_dup2(SB)
TEXT ·libc_exchangedata_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_dup2_trampoline_addr(SB), RODATA, $8
DATA ·libc_dup2_trampoline_addr(SB)/8, $libc_dup2_trampoline<>(SB)
TEXT libc_exchangedata_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_exchangedata(SB) JMP libc_exchangedata(SB)
TEXT ·libc_exit_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_exchangedata_trampoline_addr(SB), RODATA, $8
DATA ·libc_exchangedata_trampoline_addr(SB)/8, $libc_exchangedata_trampoline<>(SB)
TEXT libc_exit_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_exit(SB) JMP libc_exit(SB)
TEXT ·libc_faccessat_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_exit_trampoline_addr(SB), RODATA, $8
DATA ·libc_exit_trampoline_addr(SB)/8, $libc_exit_trampoline<>(SB)
TEXT libc_faccessat_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_faccessat(SB) JMP libc_faccessat(SB)
TEXT ·libc_fchdir_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_faccessat_trampoline_addr(SB), RODATA, $8
DATA ·libc_faccessat_trampoline_addr(SB)/8, $libc_faccessat_trampoline<>(SB)
TEXT libc_fchdir_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fchdir(SB) JMP libc_fchdir(SB)
TEXT ·libc_fchflags_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fchdir_trampoline_addr(SB), RODATA, $8
DATA ·libc_fchdir_trampoline_addr(SB)/8, $libc_fchdir_trampoline<>(SB)
TEXT libc_fchflags_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fchflags(SB) JMP libc_fchflags(SB)
TEXT ·libc_fchmod_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fchflags_trampoline_addr(SB), RODATA, $8
DATA ·libc_fchflags_trampoline_addr(SB)/8, $libc_fchflags_trampoline<>(SB)
TEXT libc_fchmod_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fchmod(SB) JMP libc_fchmod(SB)
TEXT ·libc_fchmodat_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fchmod_trampoline_addr(SB), RODATA, $8
DATA ·libc_fchmod_trampoline_addr(SB)/8, $libc_fchmod_trampoline<>(SB)
TEXT libc_fchmodat_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fchmodat(SB) JMP libc_fchmodat(SB)
TEXT ·libc_fchown_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fchmodat_trampoline_addr(SB), RODATA, $8
DATA ·libc_fchmodat_trampoline_addr(SB)/8, $libc_fchmodat_trampoline<>(SB)
TEXT libc_fchown_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fchown(SB) JMP libc_fchown(SB)
TEXT ·libc_fchownat_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fchown_trampoline_addr(SB), RODATA, $8
DATA ·libc_fchown_trampoline_addr(SB)/8, $libc_fchown_trampoline<>(SB)
TEXT libc_fchownat_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fchownat(SB) JMP libc_fchownat(SB)
TEXT ·libc_fclonefileat_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fchownat_trampoline_addr(SB), RODATA, $8
DATA ·libc_fchownat_trampoline_addr(SB)/8, $libc_fchownat_trampoline<>(SB)
TEXT libc_fclonefileat_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fclonefileat(SB) JMP libc_fclonefileat(SB)
TEXT ·libc_flock_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fclonefileat_trampoline_addr(SB), RODATA, $8
DATA ·libc_fclonefileat_trampoline_addr(SB)/8, $libc_fclonefileat_trampoline<>(SB)
TEXT libc_flock_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_flock(SB) JMP libc_flock(SB)
TEXT ·libc_fpathconf_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_flock_trampoline_addr(SB), RODATA, $8
DATA ·libc_flock_trampoline_addr(SB)/8, $libc_flock_trampoline<>(SB)
TEXT libc_fpathconf_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fpathconf(SB) JMP libc_fpathconf(SB)
TEXT ·libc_fsync_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fpathconf_trampoline_addr(SB), RODATA, $8
DATA ·libc_fpathconf_trampoline_addr(SB)/8, $libc_fpathconf_trampoline<>(SB)
TEXT libc_fsync_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fsync(SB) JMP libc_fsync(SB)
TEXT ·libc_ftruncate_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fsync_trampoline_addr(SB), RODATA, $8
DATA ·libc_fsync_trampoline_addr(SB)/8, $libc_fsync_trampoline<>(SB)
TEXT libc_ftruncate_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_ftruncate(SB) JMP libc_ftruncate(SB)
TEXT ·libc_getcwd_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_ftruncate_trampoline_addr(SB), RODATA, $8
DATA ·libc_ftruncate_trampoline_addr(SB)/8, $libc_ftruncate_trampoline<>(SB)
TEXT libc_getcwd_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getcwd(SB) JMP libc_getcwd(SB)
TEXT ·libc_getdtablesize_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $8
DATA ·libc_getcwd_trampoline_addr(SB)/8, $libc_getcwd_trampoline<>(SB)
TEXT libc_getdtablesize_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getdtablesize(SB) JMP libc_getdtablesize(SB)
TEXT ·libc_getegid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getdtablesize_trampoline_addr(SB), RODATA, $8
DATA ·libc_getdtablesize_trampoline_addr(SB)/8, $libc_getdtablesize_trampoline<>(SB)
TEXT libc_getegid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getegid(SB) JMP libc_getegid(SB)
TEXT ·libc_geteuid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getegid_trampoline_addr(SB), RODATA, $8
DATA ·libc_getegid_trampoline_addr(SB)/8, $libc_getegid_trampoline<>(SB)
TEXT libc_geteuid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_geteuid(SB) JMP libc_geteuid(SB)
TEXT ·libc_getgid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_geteuid_trampoline_addr(SB), RODATA, $8
DATA ·libc_geteuid_trampoline_addr(SB)/8, $libc_geteuid_trampoline<>(SB)
TEXT libc_getgid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getgid(SB) JMP libc_getgid(SB)
TEXT ·libc_getpgid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getgid_trampoline_addr(SB), RODATA, $8
DATA ·libc_getgid_trampoline_addr(SB)/8, $libc_getgid_trampoline<>(SB)
TEXT libc_getpgid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getpgid(SB) JMP libc_getpgid(SB)
TEXT ·libc_getpgrp_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getpgid_trampoline_addr(SB), RODATA, $8
DATA ·libc_getpgid_trampoline_addr(SB)/8, $libc_getpgid_trampoline<>(SB)
TEXT libc_getpgrp_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getpgrp(SB) JMP libc_getpgrp(SB)
TEXT ·libc_getpid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getpgrp_trampoline_addr(SB), RODATA, $8
DATA ·libc_getpgrp_trampoline_addr(SB)/8, $libc_getpgrp_trampoline<>(SB)
TEXT libc_getpid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getpid(SB) JMP libc_getpid(SB)
TEXT ·libc_getppid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getpid_trampoline_addr(SB), RODATA, $8
DATA ·libc_getpid_trampoline_addr(SB)/8, $libc_getpid_trampoline<>(SB)
TEXT libc_getppid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getppid(SB) JMP libc_getppid(SB)
TEXT ·libc_getpriority_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getppid_trampoline_addr(SB), RODATA, $8
DATA ·libc_getppid_trampoline_addr(SB)/8, $libc_getppid_trampoline<>(SB)
TEXT libc_getpriority_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getpriority(SB) JMP libc_getpriority(SB)
TEXT ·libc_getrlimit_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getpriority_trampoline_addr(SB), RODATA, $8
DATA ·libc_getpriority_trampoline_addr(SB)/8, $libc_getpriority_trampoline<>(SB)
TEXT libc_getrlimit_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getrlimit(SB) JMP libc_getrlimit(SB)
TEXT ·libc_getrusage_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getrlimit_trampoline_addr(SB), RODATA, $8
DATA ·libc_getrlimit_trampoline_addr(SB)/8, $libc_getrlimit_trampoline<>(SB)
TEXT libc_getrusage_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getrusage(SB) JMP libc_getrusage(SB)
TEXT ·libc_getsid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getrusage_trampoline_addr(SB), RODATA, $8
DATA ·libc_getrusage_trampoline_addr(SB)/8, $libc_getrusage_trampoline<>(SB)
TEXT libc_getsid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getsid(SB) JMP libc_getsid(SB)
TEXT ·libc_gettimeofday_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getsid_trampoline_addr(SB), RODATA, $8
DATA ·libc_getsid_trampoline_addr(SB)/8, $libc_getsid_trampoline<>(SB)
TEXT libc_gettimeofday_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_gettimeofday(SB) JMP libc_gettimeofday(SB)
TEXT ·libc_getuid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_gettimeofday_trampoline_addr(SB), RODATA, $8
DATA ·libc_gettimeofday_trampoline_addr(SB)/8, $libc_gettimeofday_trampoline<>(SB)
TEXT libc_getuid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getuid(SB) JMP libc_getuid(SB)
TEXT ·libc_issetugid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getuid_trampoline_addr(SB), RODATA, $8
DATA ·libc_getuid_trampoline_addr(SB)/8, $libc_getuid_trampoline<>(SB)
TEXT libc_issetugid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_issetugid(SB) JMP libc_issetugid(SB)
TEXT ·libc_kqueue_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_issetugid_trampoline_addr(SB), RODATA, $8
DATA ·libc_issetugid_trampoline_addr(SB)/8, $libc_issetugid_trampoline<>(SB)
TEXT libc_kqueue_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_kqueue(SB) JMP libc_kqueue(SB)
TEXT ·libc_lchown_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_kqueue_trampoline_addr(SB), RODATA, $8
DATA ·libc_kqueue_trampoline_addr(SB)/8, $libc_kqueue_trampoline<>(SB)
TEXT libc_lchown_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_lchown(SB) JMP libc_lchown(SB)
TEXT ·libc_link_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_lchown_trampoline_addr(SB), RODATA, $8
DATA ·libc_lchown_trampoline_addr(SB)/8, $libc_lchown_trampoline<>(SB)
TEXT libc_link_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_link(SB) JMP libc_link(SB)
TEXT ·libc_linkat_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_link_trampoline_addr(SB), RODATA, $8
DATA ·libc_link_trampoline_addr(SB)/8, $libc_link_trampoline<>(SB)
TEXT libc_linkat_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_linkat(SB) JMP libc_linkat(SB)
TEXT ·libc_listen_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_linkat_trampoline_addr(SB), RODATA, $8
DATA ·libc_linkat_trampoline_addr(SB)/8, $libc_linkat_trampoline<>(SB)
TEXT libc_listen_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_listen(SB) JMP libc_listen(SB)
TEXT ·libc_mkdir_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_listen_trampoline_addr(SB), RODATA, $8
DATA ·libc_listen_trampoline_addr(SB)/8, $libc_listen_trampoline<>(SB)
TEXT libc_mkdir_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_mkdir(SB) JMP libc_mkdir(SB)
TEXT ·libc_mkdirat_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_mkdir_trampoline_addr(SB), RODATA, $8
DATA ·libc_mkdir_trampoline_addr(SB)/8, $libc_mkdir_trampoline<>(SB)
TEXT libc_mkdirat_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_mkdirat(SB) JMP libc_mkdirat(SB)
TEXT ·libc_mkfifo_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_mkdirat_trampoline_addr(SB), RODATA, $8
DATA ·libc_mkdirat_trampoline_addr(SB)/8, $libc_mkdirat_trampoline<>(SB)
TEXT libc_mkfifo_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_mkfifo(SB) JMP libc_mkfifo(SB)
TEXT ·libc_mknod_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_mkfifo_trampoline_addr(SB), RODATA, $8
DATA ·libc_mkfifo_trampoline_addr(SB)/8, $libc_mkfifo_trampoline<>(SB)
TEXT libc_mknod_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_mknod(SB) JMP libc_mknod(SB)
TEXT ·libc_open_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_mknod_trampoline_addr(SB), RODATA, $8
DATA ·libc_mknod_trampoline_addr(SB)/8, $libc_mknod_trampoline<>(SB)
TEXT libc_open_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_open(SB) JMP libc_open(SB)
TEXT ·libc_openat_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_open_trampoline_addr(SB), RODATA, $8
DATA ·libc_open_trampoline_addr(SB)/8, $libc_open_trampoline<>(SB)
TEXT libc_openat_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_openat(SB) JMP libc_openat(SB)
TEXT ·libc_pathconf_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_openat_trampoline_addr(SB), RODATA, $8
DATA ·libc_openat_trampoline_addr(SB)/8, $libc_openat_trampoline<>(SB)
TEXT libc_pathconf_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_pathconf(SB) JMP libc_pathconf(SB)
TEXT ·libc_pread_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_pathconf_trampoline_addr(SB), RODATA, $8
DATA ·libc_pathconf_trampoline_addr(SB)/8, $libc_pathconf_trampoline<>(SB)
TEXT libc_pread_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_pread(SB) JMP libc_pread(SB)
TEXT ·libc_pwrite_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_pread_trampoline_addr(SB), RODATA, $8
DATA ·libc_pread_trampoline_addr(SB)/8, $libc_pread_trampoline<>(SB)
TEXT libc_pwrite_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_pwrite(SB) JMP libc_pwrite(SB)
TEXT ·libc_read_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_pwrite_trampoline_addr(SB), RODATA, $8
DATA ·libc_pwrite_trampoline_addr(SB)/8, $libc_pwrite_trampoline<>(SB)
TEXT libc_read_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_read(SB) JMP libc_read(SB)
TEXT ·libc_readlink_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_read_trampoline_addr(SB), RODATA, $8
DATA ·libc_read_trampoline_addr(SB)/8, $libc_read_trampoline<>(SB)
TEXT libc_readlink_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_readlink(SB) JMP libc_readlink(SB)
TEXT ·libc_readlinkat_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_readlink_trampoline_addr(SB), RODATA, $8
DATA ·libc_readlink_trampoline_addr(SB)/8, $libc_readlink_trampoline<>(SB)
TEXT libc_readlinkat_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_readlinkat(SB) JMP libc_readlinkat(SB)
TEXT ·libc_rename_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_readlinkat_trampoline_addr(SB), RODATA, $8
DATA ·libc_readlinkat_trampoline_addr(SB)/8, $libc_readlinkat_trampoline<>(SB)
TEXT libc_rename_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_rename(SB) JMP libc_rename(SB)
TEXT ·libc_renameat_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_rename_trampoline_addr(SB), RODATA, $8
DATA ·libc_rename_trampoline_addr(SB)/8, $libc_rename_trampoline<>(SB)
TEXT libc_renameat_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_renameat(SB) JMP libc_renameat(SB)
TEXT ·libc_revoke_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_renameat_trampoline_addr(SB), RODATA, $8
DATA ·libc_renameat_trampoline_addr(SB)/8, $libc_renameat_trampoline<>(SB)
TEXT libc_revoke_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_revoke(SB) JMP libc_revoke(SB)
TEXT ·libc_rmdir_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_revoke_trampoline_addr(SB), RODATA, $8
DATA ·libc_revoke_trampoline_addr(SB)/8, $libc_revoke_trampoline<>(SB)
TEXT libc_rmdir_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_rmdir(SB) JMP libc_rmdir(SB)
TEXT ·libc_lseek_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_rmdir_trampoline_addr(SB), RODATA, $8
DATA ·libc_rmdir_trampoline_addr(SB)/8, $libc_rmdir_trampoline<>(SB)
TEXT libc_lseek_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_lseek(SB) JMP libc_lseek(SB)
TEXT ·libc_select_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_lseek_trampoline_addr(SB), RODATA, $8
DATA ·libc_lseek_trampoline_addr(SB)/8, $libc_lseek_trampoline<>(SB)
TEXT libc_select_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_select(SB) JMP libc_select(SB)
TEXT ·libc_setegid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_select_trampoline_addr(SB), RODATA, $8
DATA ·libc_select_trampoline_addr(SB)/8, $libc_select_trampoline<>(SB)
TEXT libc_setegid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setegid(SB) JMP libc_setegid(SB)
TEXT ·libc_seteuid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setegid_trampoline_addr(SB), RODATA, $8
DATA ·libc_setegid_trampoline_addr(SB)/8, $libc_setegid_trampoline<>(SB)
TEXT libc_seteuid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_seteuid(SB) JMP libc_seteuid(SB)
TEXT ·libc_setgid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_seteuid_trampoline_addr(SB), RODATA, $8
DATA ·libc_seteuid_trampoline_addr(SB)/8, $libc_seteuid_trampoline<>(SB)
TEXT libc_setgid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setgid(SB) JMP libc_setgid(SB)
TEXT ·libc_setlogin_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setgid_trampoline_addr(SB), RODATA, $8
DATA ·libc_setgid_trampoline_addr(SB)/8, $libc_setgid_trampoline<>(SB)
TEXT libc_setlogin_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setlogin(SB) JMP libc_setlogin(SB)
TEXT ·libc_setpgid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setlogin_trampoline_addr(SB), RODATA, $8
DATA ·libc_setlogin_trampoline_addr(SB)/8, $libc_setlogin_trampoline<>(SB)
TEXT libc_setpgid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setpgid(SB) JMP libc_setpgid(SB)
TEXT ·libc_setpriority_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setpgid_trampoline_addr(SB), RODATA, $8
DATA ·libc_setpgid_trampoline_addr(SB)/8, $libc_setpgid_trampoline<>(SB)
TEXT libc_setpriority_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setpriority(SB) JMP libc_setpriority(SB)
TEXT ·libc_setprivexec_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setpriority_trampoline_addr(SB), RODATA, $8
DATA ·libc_setpriority_trampoline_addr(SB)/8, $libc_setpriority_trampoline<>(SB)
TEXT libc_setprivexec_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setprivexec(SB) JMP libc_setprivexec(SB)
TEXT ·libc_setregid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setprivexec_trampoline_addr(SB), RODATA, $8
DATA ·libc_setprivexec_trampoline_addr(SB)/8, $libc_setprivexec_trampoline<>(SB)
TEXT libc_setregid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setregid(SB) JMP libc_setregid(SB)
TEXT ·libc_setreuid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setregid_trampoline_addr(SB), RODATA, $8
DATA ·libc_setregid_trampoline_addr(SB)/8, $libc_setregid_trampoline<>(SB)
TEXT libc_setreuid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setreuid(SB) JMP libc_setreuid(SB)
TEXT ·libc_setrlimit_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setreuid_trampoline_addr(SB), RODATA, $8
DATA ·libc_setreuid_trampoline_addr(SB)/8, $libc_setreuid_trampoline<>(SB)
TEXT libc_setrlimit_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setrlimit(SB) JMP libc_setrlimit(SB)
TEXT ·libc_setsid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setrlimit_trampoline_addr(SB), RODATA, $8
DATA ·libc_setrlimit_trampoline_addr(SB)/8, $libc_setrlimit_trampoline<>(SB)
TEXT libc_setsid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setsid(SB) JMP libc_setsid(SB)
TEXT ·libc_settimeofday_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setsid_trampoline_addr(SB), RODATA, $8
DATA ·libc_setsid_trampoline_addr(SB)/8, $libc_setsid_trampoline<>(SB)
TEXT libc_settimeofday_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_settimeofday(SB) JMP libc_settimeofday(SB)
TEXT ·libc_setuid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_settimeofday_trampoline_addr(SB), RODATA, $8
DATA ·libc_settimeofday_trampoline_addr(SB)/8, $libc_settimeofday_trampoline<>(SB)
TEXT libc_setuid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setuid(SB) JMP libc_setuid(SB)
TEXT ·libc_symlink_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setuid_trampoline_addr(SB), RODATA, $8
DATA ·libc_setuid_trampoline_addr(SB)/8, $libc_setuid_trampoline<>(SB)
TEXT libc_symlink_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_symlink(SB) JMP libc_symlink(SB)
TEXT ·libc_symlinkat_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_symlink_trampoline_addr(SB), RODATA, $8
DATA ·libc_symlink_trampoline_addr(SB)/8, $libc_symlink_trampoline<>(SB)
TEXT libc_symlinkat_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_symlinkat(SB) JMP libc_symlinkat(SB)
TEXT ·libc_sync_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_symlinkat_trampoline_addr(SB), RODATA, $8
DATA ·libc_symlinkat_trampoline_addr(SB)/8, $libc_symlinkat_trampoline<>(SB)
TEXT libc_sync_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_sync(SB) JMP libc_sync(SB)
TEXT ·libc_truncate_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_sync_trampoline_addr(SB), RODATA, $8
DATA ·libc_sync_trampoline_addr(SB)/8, $libc_sync_trampoline<>(SB)
TEXT libc_truncate_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_truncate(SB) JMP libc_truncate(SB)
TEXT ·libc_umask_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_truncate_trampoline_addr(SB), RODATA, $8
DATA ·libc_truncate_trampoline_addr(SB)/8, $libc_truncate_trampoline<>(SB)
TEXT libc_umask_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_umask(SB) JMP libc_umask(SB)
TEXT ·libc_undelete_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_umask_trampoline_addr(SB), RODATA, $8
DATA ·libc_umask_trampoline_addr(SB)/8, $libc_umask_trampoline<>(SB)
TEXT libc_undelete_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_undelete(SB) JMP libc_undelete(SB)
TEXT ·libc_unlink_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_undelete_trampoline_addr(SB), RODATA, $8
DATA ·libc_undelete_trampoline_addr(SB)/8, $libc_undelete_trampoline<>(SB)
TEXT libc_unlink_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_unlink(SB) JMP libc_unlink(SB)
TEXT ·libc_unlinkat_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_unlink_trampoline_addr(SB), RODATA, $8
DATA ·libc_unlink_trampoline_addr(SB)/8, $libc_unlink_trampoline<>(SB)
TEXT libc_unlinkat_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_unlinkat(SB) JMP libc_unlinkat(SB)
TEXT ·libc_unmount_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_unlinkat_trampoline_addr(SB), RODATA, $8
DATA ·libc_unlinkat_trampoline_addr(SB)/8, $libc_unlinkat_trampoline<>(SB)
TEXT libc_unmount_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_unmount(SB) JMP libc_unmount(SB)
TEXT ·libc_write_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_unmount_trampoline_addr(SB), RODATA, $8
DATA ·libc_unmount_trampoline_addr(SB)/8, $libc_unmount_trampoline<>(SB)
TEXT libc_write_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_write(SB) JMP libc_write(SB)
TEXT ·libc_mmap_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_write_trampoline_addr(SB), RODATA, $8
DATA ·libc_write_trampoline_addr(SB)/8, $libc_write_trampoline<>(SB)
TEXT libc_mmap_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_mmap(SB) JMP libc_mmap(SB)
TEXT ·libc_munmap_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_mmap_trampoline_addr(SB), RODATA, $8
DATA ·libc_mmap_trampoline_addr(SB)/8, $libc_mmap_trampoline<>(SB)
TEXT libc_munmap_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_munmap(SB) JMP libc_munmap(SB)
TEXT ·libc_fstat64_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_munmap_trampoline_addr(SB), RODATA, $8
DATA ·libc_munmap_trampoline_addr(SB)/8, $libc_munmap_trampoline<>(SB)
TEXT libc_fstat64_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fstat64(SB) JMP libc_fstat64(SB)
TEXT ·libc_fstatat64_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fstat64_trampoline_addr(SB), RODATA, $8
DATA ·libc_fstat64_trampoline_addr(SB)/8, $libc_fstat64_trampoline<>(SB)
TEXT libc_fstatat64_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fstatat64(SB) JMP libc_fstatat64(SB)
TEXT ·libc_fstatfs64_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fstatat64_trampoline_addr(SB), RODATA, $8
DATA ·libc_fstatat64_trampoline_addr(SB)/8, $libc_fstatat64_trampoline<>(SB)
TEXT libc_fstatfs64_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fstatfs64(SB) JMP libc_fstatfs64(SB)
TEXT ·libc_getfsstat64_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fstatfs64_trampoline_addr(SB), RODATA, $8
DATA ·libc_fstatfs64_trampoline_addr(SB)/8, $libc_fstatfs64_trampoline<>(SB)
TEXT libc_getfsstat64_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getfsstat64(SB) JMP libc_getfsstat64(SB)
TEXT ·libc_lstat64_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getfsstat64_trampoline_addr(SB), RODATA, $8
DATA ·libc_getfsstat64_trampoline_addr(SB)/8, $libc_getfsstat64_trampoline<>(SB)
TEXT libc_lstat64_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_lstat64(SB) JMP libc_lstat64(SB)
TEXT ·libc_ptrace_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_lstat64_trampoline_addr(SB), RODATA, $8
DATA ·libc_lstat64_trampoline_addr(SB)/8, $libc_lstat64_trampoline<>(SB)
TEXT libc_ptrace_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_ptrace(SB) JMP libc_ptrace(SB)
TEXT ·libc_stat64_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_ptrace_trampoline_addr(SB), RODATA, $8
DATA ·libc_ptrace_trampoline_addr(SB)/8, $libc_ptrace_trampoline<>(SB)
TEXT libc_stat64_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_stat64(SB) JMP libc_stat64(SB)
TEXT ·libc_statfs64_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_stat64_trampoline_addr(SB), RODATA, $8
DATA ·libc_stat64_trampoline_addr(SB)/8, $libc_stat64_trampoline<>(SB)
TEXT libc_statfs64_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_statfs64(SB) JMP libc_statfs64(SB)
GLOBL ·libc_statfs64_trampoline_addr(SB), RODATA, $8
DATA ·libc_statfs64_trampoline_addr(SB)/8, $libc_statfs64_trampoline<>(SB)

View File

@ -1,40 +0,0 @@
// go run mksyscall.go -l32 -tags darwin,arm,go1.13 syscall_darwin.1_13.go
// Code generated by the command above; see README.md. DO NOT EDIT.
//go:build darwin && arm && go1.13
// +build darwin,arm,go1.13
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func closedir(dir uintptr) (err error) {
_, _, e1 := syscall_syscall(funcPC(libc_closedir_trampoline), uintptr(dir), 0, 0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
func libc_closedir_trampoline()
//go:cgo_import_dynamic libc_closedir closedir "/usr/lib/libSystem.B.dylib"
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func readdir_r(dir uintptr, entry *Dirent, result **Dirent) (res Errno) {
r0, _, _ := syscall_syscall(funcPC(libc_readdir_r_trampoline), uintptr(dir), uintptr(unsafe.Pointer(entry)), uintptr(unsafe.Pointer(result)))
res = Errno(r0)
return
}
func libc_readdir_r_trampoline()
//go:cgo_import_dynamic libc_readdir_r readdir_r "/usr/lib/libSystem.B.dylib"

View File

@ -1,13 +0,0 @@
// go run mkasm_darwin.go arm
// Code generated by the command above; DO NOT EDIT.
//go:build go1.13
// +build go1.13
#include "textflag.h"
TEXT ·libc_fdopendir_trampoline(SB),NOSPLIT,$0-0
JMP libc_fdopendir(SB)
TEXT ·libc_closedir_trampoline(SB),NOSPLIT,$0-0
JMP libc_closedir(SB)
TEXT ·libc_readdir_r_trampoline(SB),NOSPLIT,$0-0
JMP libc_readdir_r(SB)

File diff suppressed because it is too large Load Diff

View File

@ -1,289 +0,0 @@
// go run mkasm_darwin.go arm
// Code generated by the command above; DO NOT EDIT.
//go:build go1.12
// +build go1.12
#include "textflag.h"
TEXT ·libc_getgroups_trampoline(SB),NOSPLIT,$0-0
JMP libc_getgroups(SB)
TEXT ·libc_setgroups_trampoline(SB),NOSPLIT,$0-0
JMP libc_setgroups(SB)
TEXT ·libc_wait4_trampoline(SB),NOSPLIT,$0-0
JMP libc_wait4(SB)
TEXT ·libc_accept_trampoline(SB),NOSPLIT,$0-0
JMP libc_accept(SB)
TEXT ·libc_bind_trampoline(SB),NOSPLIT,$0-0
JMP libc_bind(SB)
TEXT ·libc_connect_trampoline(SB),NOSPLIT,$0-0
JMP libc_connect(SB)
TEXT ·libc_socket_trampoline(SB),NOSPLIT,$0-0
JMP libc_socket(SB)
TEXT ·libc_getsockopt_trampoline(SB),NOSPLIT,$0-0
JMP libc_getsockopt(SB)
TEXT ·libc_setsockopt_trampoline(SB),NOSPLIT,$0-0
JMP libc_setsockopt(SB)
TEXT ·libc_getpeername_trampoline(SB),NOSPLIT,$0-0
JMP libc_getpeername(SB)
TEXT ·libc_getsockname_trampoline(SB),NOSPLIT,$0-0
JMP libc_getsockname(SB)
TEXT ·libc_shutdown_trampoline(SB),NOSPLIT,$0-0
JMP libc_shutdown(SB)
TEXT ·libc_socketpair_trampoline(SB),NOSPLIT,$0-0
JMP libc_socketpair(SB)
TEXT ·libc_recvfrom_trampoline(SB),NOSPLIT,$0-0
JMP libc_recvfrom(SB)
TEXT ·libc_sendto_trampoline(SB),NOSPLIT,$0-0
JMP libc_sendto(SB)
TEXT ·libc_recvmsg_trampoline(SB),NOSPLIT,$0-0
JMP libc_recvmsg(SB)
TEXT ·libc_sendmsg_trampoline(SB),NOSPLIT,$0-0
JMP libc_sendmsg(SB)
TEXT ·libc_kevent_trampoline(SB),NOSPLIT,$0-0
JMP libc_kevent(SB)
TEXT ·libc_utimes_trampoline(SB),NOSPLIT,$0-0
JMP libc_utimes(SB)
TEXT ·libc_futimes_trampoline(SB),NOSPLIT,$0-0
JMP libc_futimes(SB)
TEXT ·libc_poll_trampoline(SB),NOSPLIT,$0-0
JMP libc_poll(SB)
TEXT ·libc_madvise_trampoline(SB),NOSPLIT,$0-0
JMP libc_madvise(SB)
TEXT ·libc_mlock_trampoline(SB),NOSPLIT,$0-0
JMP libc_mlock(SB)
TEXT ·libc_mlockall_trampoline(SB),NOSPLIT,$0-0
JMP libc_mlockall(SB)
TEXT ·libc_mprotect_trampoline(SB),NOSPLIT,$0-0
JMP libc_mprotect(SB)
TEXT ·libc_msync_trampoline(SB),NOSPLIT,$0-0
JMP libc_msync(SB)
TEXT ·libc_munlock_trampoline(SB),NOSPLIT,$0-0
JMP libc_munlock(SB)
TEXT ·libc_munlockall_trampoline(SB),NOSPLIT,$0-0
JMP libc_munlockall(SB)
TEXT ·libc_pipe_trampoline(SB),NOSPLIT,$0-0
JMP libc_pipe(SB)
TEXT ·libc_getxattr_trampoline(SB),NOSPLIT,$0-0
JMP libc_getxattr(SB)
TEXT ·libc_fgetxattr_trampoline(SB),NOSPLIT,$0-0
JMP libc_fgetxattr(SB)
TEXT ·libc_setxattr_trampoline(SB),NOSPLIT,$0-0
JMP libc_setxattr(SB)
TEXT ·libc_fsetxattr_trampoline(SB),NOSPLIT,$0-0
JMP libc_fsetxattr(SB)
TEXT ·libc_removexattr_trampoline(SB),NOSPLIT,$0-0
JMP libc_removexattr(SB)
TEXT ·libc_fremovexattr_trampoline(SB),NOSPLIT,$0-0
JMP libc_fremovexattr(SB)
TEXT ·libc_listxattr_trampoline(SB),NOSPLIT,$0-0
JMP libc_listxattr(SB)
TEXT ·libc_flistxattr_trampoline(SB),NOSPLIT,$0-0
JMP libc_flistxattr(SB)
TEXT ·libc_setattrlist_trampoline(SB),NOSPLIT,$0-0
JMP libc_setattrlist(SB)
TEXT ·libc_fcntl_trampoline(SB),NOSPLIT,$0-0
JMP libc_fcntl(SB)
TEXT ·libc_kill_trampoline(SB),NOSPLIT,$0-0
JMP libc_kill(SB)
TEXT ·libc_ioctl_trampoline(SB),NOSPLIT,$0-0
JMP libc_ioctl(SB)
TEXT ·libc_sysctl_trampoline(SB),NOSPLIT,$0-0
JMP libc_sysctl(SB)
TEXT ·libc_sendfile_trampoline(SB),NOSPLIT,$0-0
JMP libc_sendfile(SB)
TEXT ·libc_access_trampoline(SB),NOSPLIT,$0-0
JMP libc_access(SB)
TEXT ·libc_adjtime_trampoline(SB),NOSPLIT,$0-0
JMP libc_adjtime(SB)
TEXT ·libc_chdir_trampoline(SB),NOSPLIT,$0-0
JMP libc_chdir(SB)
TEXT ·libc_chflags_trampoline(SB),NOSPLIT,$0-0
JMP libc_chflags(SB)
TEXT ·libc_chmod_trampoline(SB),NOSPLIT,$0-0
JMP libc_chmod(SB)
TEXT ·libc_chown_trampoline(SB),NOSPLIT,$0-0
JMP libc_chown(SB)
TEXT ·libc_chroot_trampoline(SB),NOSPLIT,$0-0
JMP libc_chroot(SB)
TEXT ·libc_clock_gettime_trampoline(SB),NOSPLIT,$0-0
JMP libc_clock_gettime(SB)
TEXT ·libc_close_trampoline(SB),NOSPLIT,$0-0
JMP libc_close(SB)
TEXT ·libc_clonefile_trampoline(SB),NOSPLIT,$0-0
JMP libc_clonefile(SB)
TEXT ·libc_clonefileat_trampoline(SB),NOSPLIT,$0-0
JMP libc_clonefileat(SB)
TEXT ·libc_dup_trampoline(SB),NOSPLIT,$0-0
JMP libc_dup(SB)
TEXT ·libc_dup2_trampoline(SB),NOSPLIT,$0-0
JMP libc_dup2(SB)
TEXT ·libc_exchangedata_trampoline(SB),NOSPLIT,$0-0
JMP libc_exchangedata(SB)
TEXT ·libc_exit_trampoline(SB),NOSPLIT,$0-0
JMP libc_exit(SB)
TEXT ·libc_faccessat_trampoline(SB),NOSPLIT,$0-0
JMP libc_faccessat(SB)
TEXT ·libc_fchdir_trampoline(SB),NOSPLIT,$0-0
JMP libc_fchdir(SB)
TEXT ·libc_fchflags_trampoline(SB),NOSPLIT,$0-0
JMP libc_fchflags(SB)
TEXT ·libc_fchmod_trampoline(SB),NOSPLIT,$0-0
JMP libc_fchmod(SB)
TEXT ·libc_fchmodat_trampoline(SB),NOSPLIT,$0-0
JMP libc_fchmodat(SB)
TEXT ·libc_fchown_trampoline(SB),NOSPLIT,$0-0
JMP libc_fchown(SB)
TEXT ·libc_fchownat_trampoline(SB),NOSPLIT,$0-0
JMP libc_fchownat(SB)
TEXT ·libc_fclonefileat_trampoline(SB),NOSPLIT,$0-0
JMP libc_fclonefileat(SB)
TEXT ·libc_flock_trampoline(SB),NOSPLIT,$0-0
JMP libc_flock(SB)
TEXT ·libc_fpathconf_trampoline(SB),NOSPLIT,$0-0
JMP libc_fpathconf(SB)
TEXT ·libc_fsync_trampoline(SB),NOSPLIT,$0-0
JMP libc_fsync(SB)
TEXT ·libc_ftruncate_trampoline(SB),NOSPLIT,$0-0
JMP libc_ftruncate(SB)
TEXT ·libc_getcwd_trampoline(SB),NOSPLIT,$0-0
JMP libc_getcwd(SB)
TEXT ·libc_getdtablesize_trampoline(SB),NOSPLIT,$0-0
JMP libc_getdtablesize(SB)
TEXT ·libc_getegid_trampoline(SB),NOSPLIT,$0-0
JMP libc_getegid(SB)
TEXT ·libc_geteuid_trampoline(SB),NOSPLIT,$0-0
JMP libc_geteuid(SB)
TEXT ·libc_getgid_trampoline(SB),NOSPLIT,$0-0
JMP libc_getgid(SB)
TEXT ·libc_getpgid_trampoline(SB),NOSPLIT,$0-0
JMP libc_getpgid(SB)
TEXT ·libc_getpgrp_trampoline(SB),NOSPLIT,$0-0
JMP libc_getpgrp(SB)
TEXT ·libc_getpid_trampoline(SB),NOSPLIT,$0-0
JMP libc_getpid(SB)
TEXT ·libc_getppid_trampoline(SB),NOSPLIT,$0-0
JMP libc_getppid(SB)
TEXT ·libc_getpriority_trampoline(SB),NOSPLIT,$0-0
JMP libc_getpriority(SB)
TEXT ·libc_getrlimit_trampoline(SB),NOSPLIT,$0-0
JMP libc_getrlimit(SB)
TEXT ·libc_getrusage_trampoline(SB),NOSPLIT,$0-0
JMP libc_getrusage(SB)
TEXT ·libc_getsid_trampoline(SB),NOSPLIT,$0-0
JMP libc_getsid(SB)
TEXT ·libc_gettimeofday_trampoline(SB),NOSPLIT,$0-0
JMP libc_gettimeofday(SB)
TEXT ·libc_getuid_trampoline(SB),NOSPLIT,$0-0
JMP libc_getuid(SB)
TEXT ·libc_issetugid_trampoline(SB),NOSPLIT,$0-0
JMP libc_issetugid(SB)
TEXT ·libc_kqueue_trampoline(SB),NOSPLIT,$0-0
JMP libc_kqueue(SB)
TEXT ·libc_lchown_trampoline(SB),NOSPLIT,$0-0
JMP libc_lchown(SB)
TEXT ·libc_link_trampoline(SB),NOSPLIT,$0-0
JMP libc_link(SB)
TEXT ·libc_linkat_trampoline(SB),NOSPLIT,$0-0
JMP libc_linkat(SB)
TEXT ·libc_listen_trampoline(SB),NOSPLIT,$0-0
JMP libc_listen(SB)
TEXT ·libc_mkdir_trampoline(SB),NOSPLIT,$0-0
JMP libc_mkdir(SB)
TEXT ·libc_mkdirat_trampoline(SB),NOSPLIT,$0-0
JMP libc_mkdirat(SB)
TEXT ·libc_mkfifo_trampoline(SB),NOSPLIT,$0-0
JMP libc_mkfifo(SB)
TEXT ·libc_mknod_trampoline(SB),NOSPLIT,$0-0
JMP libc_mknod(SB)
TEXT ·libc_open_trampoline(SB),NOSPLIT,$0-0
JMP libc_open(SB)
TEXT ·libc_openat_trampoline(SB),NOSPLIT,$0-0
JMP libc_openat(SB)
TEXT ·libc_pathconf_trampoline(SB),NOSPLIT,$0-0
JMP libc_pathconf(SB)
TEXT ·libc_pread_trampoline(SB),NOSPLIT,$0-0
JMP libc_pread(SB)
TEXT ·libc_pwrite_trampoline(SB),NOSPLIT,$0-0
JMP libc_pwrite(SB)
TEXT ·libc_read_trampoline(SB),NOSPLIT,$0-0
JMP libc_read(SB)
TEXT ·libc_readlink_trampoline(SB),NOSPLIT,$0-0
JMP libc_readlink(SB)
TEXT ·libc_readlinkat_trampoline(SB),NOSPLIT,$0-0
JMP libc_readlinkat(SB)
TEXT ·libc_rename_trampoline(SB),NOSPLIT,$0-0
JMP libc_rename(SB)
TEXT ·libc_renameat_trampoline(SB),NOSPLIT,$0-0
JMP libc_renameat(SB)
TEXT ·libc_revoke_trampoline(SB),NOSPLIT,$0-0
JMP libc_revoke(SB)
TEXT ·libc_rmdir_trampoline(SB),NOSPLIT,$0-0
JMP libc_rmdir(SB)
TEXT ·libc_lseek_trampoline(SB),NOSPLIT,$0-0
JMP libc_lseek(SB)
TEXT ·libc_select_trampoline(SB),NOSPLIT,$0-0
JMP libc_select(SB)
TEXT ·libc_setegid_trampoline(SB),NOSPLIT,$0-0
JMP libc_setegid(SB)
TEXT ·libc_seteuid_trampoline(SB),NOSPLIT,$0-0
JMP libc_seteuid(SB)
TEXT ·libc_setgid_trampoline(SB),NOSPLIT,$0-0
JMP libc_setgid(SB)
TEXT ·libc_setlogin_trampoline(SB),NOSPLIT,$0-0
JMP libc_setlogin(SB)
TEXT ·libc_setpgid_trampoline(SB),NOSPLIT,$0-0
JMP libc_setpgid(SB)
TEXT ·libc_setpriority_trampoline(SB),NOSPLIT,$0-0
JMP libc_setpriority(SB)
TEXT ·libc_setprivexec_trampoline(SB),NOSPLIT,$0-0
JMP libc_setprivexec(SB)
TEXT ·libc_setregid_trampoline(SB),NOSPLIT,$0-0
JMP libc_setregid(SB)
TEXT ·libc_setreuid_trampoline(SB),NOSPLIT,$0-0
JMP libc_setreuid(SB)
TEXT ·libc_setrlimit_trampoline(SB),NOSPLIT,$0-0
JMP libc_setrlimit(SB)
TEXT ·libc_setsid_trampoline(SB),NOSPLIT,$0-0
JMP libc_setsid(SB)
TEXT ·libc_settimeofday_trampoline(SB),NOSPLIT,$0-0
JMP libc_settimeofday(SB)
TEXT ·libc_setuid_trampoline(SB),NOSPLIT,$0-0
JMP libc_setuid(SB)
TEXT ·libc_symlink_trampoline(SB),NOSPLIT,$0-0
JMP libc_symlink(SB)
TEXT ·libc_symlinkat_trampoline(SB),NOSPLIT,$0-0
JMP libc_symlinkat(SB)
TEXT ·libc_sync_trampoline(SB),NOSPLIT,$0-0
JMP libc_sync(SB)
TEXT ·libc_truncate_trampoline(SB),NOSPLIT,$0-0
JMP libc_truncate(SB)
TEXT ·libc_umask_trampoline(SB),NOSPLIT,$0-0
JMP libc_umask(SB)
TEXT ·libc_undelete_trampoline(SB),NOSPLIT,$0-0
JMP libc_undelete(SB)
TEXT ·libc_unlink_trampoline(SB),NOSPLIT,$0-0
JMP libc_unlink(SB)
TEXT ·libc_unlinkat_trampoline(SB),NOSPLIT,$0-0
JMP libc_unlinkat(SB)
TEXT ·libc_unmount_trampoline(SB),NOSPLIT,$0-0
JMP libc_unmount(SB)
TEXT ·libc_write_trampoline(SB),NOSPLIT,$0-0
JMP libc_write(SB)
TEXT ·libc_mmap_trampoline(SB),NOSPLIT,$0-0
JMP libc_mmap(SB)
TEXT ·libc_munmap_trampoline(SB),NOSPLIT,$0-0
JMP libc_munmap(SB)
TEXT ·libc_fstat_trampoline(SB),NOSPLIT,$0-0
JMP libc_fstat(SB)
TEXT ·libc_fstatat_trampoline(SB),NOSPLIT,$0-0
JMP libc_fstatat(SB)
TEXT ·libc_fstatfs_trampoline(SB),NOSPLIT,$0-0
JMP libc_fstatfs(SB)
TEXT ·libc_getfsstat_trampoline(SB),NOSPLIT,$0-0
JMP libc_getfsstat(SB)
TEXT ·libc_lstat_trampoline(SB),NOSPLIT,$0-0
JMP libc_lstat(SB)
TEXT ·libc_stat_trampoline(SB),NOSPLIT,$0-0
JMP libc_stat(SB)
TEXT ·libc_statfs_trampoline(SB),NOSPLIT,$0-0
JMP libc_statfs(SB)

View File

@ -16,25 +16,25 @@ var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func closedir(dir uintptr) (err error) { func closedir(dir uintptr) (err error) {
_, _, e1 := syscall_syscall(funcPC(libc_closedir_trampoline), uintptr(dir), 0, 0) _, _, e1 := syscall_syscall(libc_closedir_trampoline_addr, uintptr(dir), 0, 0)
if e1 != 0 { if e1 != 0 {
err = errnoErr(e1) err = errnoErr(e1)
} }
return return
} }
func libc_closedir_trampoline() var libc_closedir_trampoline_addr uintptr
//go:cgo_import_dynamic libc_closedir closedir "/usr/lib/libSystem.B.dylib" //go:cgo_import_dynamic libc_closedir closedir "/usr/lib/libSystem.B.dylib"
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func readdir_r(dir uintptr, entry *Dirent, result **Dirent) (res Errno) { func readdir_r(dir uintptr, entry *Dirent, result **Dirent) (res Errno) {
r0, _, _ := syscall_syscall(funcPC(libc_readdir_r_trampoline), uintptr(dir), uintptr(unsafe.Pointer(entry)), uintptr(unsafe.Pointer(result))) r0, _, _ := syscall_syscall(libc_readdir_r_trampoline_addr, uintptr(dir), uintptr(unsafe.Pointer(entry)), uintptr(unsafe.Pointer(result)))
res = Errno(r0) res = Errno(r0)
return return
} }
func libc_readdir_r_trampoline() var libc_readdir_r_trampoline_addr uintptr
//go:cgo_import_dynamic libc_readdir_r readdir_r "/usr/lib/libSystem.B.dylib" //go:cgo_import_dynamic libc_readdir_r readdir_r "/usr/lib/libSystem.B.dylib"

View File

@ -5,9 +5,21 @@
// +build go1.13 // +build go1.13
#include "textflag.h" #include "textflag.h"
TEXT ·libc_fdopendir_trampoline(SB),NOSPLIT,$0-0
TEXT libc_fdopendir_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fdopendir(SB) JMP libc_fdopendir(SB)
TEXT ·libc_closedir_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fdopendir_trampoline_addr(SB), RODATA, $8
DATA ·libc_fdopendir_trampoline_addr(SB)/8, $libc_fdopendir_trampoline<>(SB)
TEXT libc_closedir_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_closedir(SB) JMP libc_closedir(SB)
TEXT ·libc_readdir_r_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_closedir_trampoline_addr(SB), RODATA, $8
DATA ·libc_closedir_trampoline_addr(SB)/8, $libc_closedir_trampoline<>(SB)
TEXT libc_readdir_r_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_readdir_r(SB) JMP libc_readdir_r(SB)
GLOBL ·libc_readdir_r_trampoline_addr(SB), RODATA, $8
DATA ·libc_readdir_r_trampoline_addr(SB)/8, $libc_readdir_r_trampoline<>(SB)

File diff suppressed because it is too large Load Diff

View File

@ -5,287 +5,855 @@
// +build go1.12 // +build go1.12
#include "textflag.h" #include "textflag.h"
TEXT ·libc_getgroups_trampoline(SB),NOSPLIT,$0-0
TEXT libc_getgroups_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getgroups(SB) JMP libc_getgroups(SB)
TEXT ·libc_setgroups_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getgroups_trampoline_addr(SB), RODATA, $8
DATA ·libc_getgroups_trampoline_addr(SB)/8, $libc_getgroups_trampoline<>(SB)
TEXT libc_setgroups_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setgroups(SB) JMP libc_setgroups(SB)
TEXT ·libc_wait4_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setgroups_trampoline_addr(SB), RODATA, $8
DATA ·libc_setgroups_trampoline_addr(SB)/8, $libc_setgroups_trampoline<>(SB)
TEXT libc_wait4_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_wait4(SB) JMP libc_wait4(SB)
TEXT ·libc_accept_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_wait4_trampoline_addr(SB), RODATA, $8
DATA ·libc_wait4_trampoline_addr(SB)/8, $libc_wait4_trampoline<>(SB)
TEXT libc_accept_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_accept(SB) JMP libc_accept(SB)
TEXT ·libc_bind_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_accept_trampoline_addr(SB), RODATA, $8
DATA ·libc_accept_trampoline_addr(SB)/8, $libc_accept_trampoline<>(SB)
TEXT libc_bind_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_bind(SB) JMP libc_bind(SB)
TEXT ·libc_connect_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_bind_trampoline_addr(SB), RODATA, $8
DATA ·libc_bind_trampoline_addr(SB)/8, $libc_bind_trampoline<>(SB)
TEXT libc_connect_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_connect(SB) JMP libc_connect(SB)
TEXT ·libc_socket_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_connect_trampoline_addr(SB), RODATA, $8
DATA ·libc_connect_trampoline_addr(SB)/8, $libc_connect_trampoline<>(SB)
TEXT libc_socket_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_socket(SB) JMP libc_socket(SB)
TEXT ·libc_getsockopt_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_socket_trampoline_addr(SB), RODATA, $8
DATA ·libc_socket_trampoline_addr(SB)/8, $libc_socket_trampoline<>(SB)
TEXT libc_getsockopt_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getsockopt(SB) JMP libc_getsockopt(SB)
TEXT ·libc_setsockopt_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getsockopt_trampoline_addr(SB), RODATA, $8
DATA ·libc_getsockopt_trampoline_addr(SB)/8, $libc_getsockopt_trampoline<>(SB)
TEXT libc_setsockopt_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setsockopt(SB) JMP libc_setsockopt(SB)
TEXT ·libc_getpeername_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setsockopt_trampoline_addr(SB), RODATA, $8
DATA ·libc_setsockopt_trampoline_addr(SB)/8, $libc_setsockopt_trampoline<>(SB)
TEXT libc_getpeername_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getpeername(SB) JMP libc_getpeername(SB)
TEXT ·libc_getsockname_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getpeername_trampoline_addr(SB), RODATA, $8
DATA ·libc_getpeername_trampoline_addr(SB)/8, $libc_getpeername_trampoline<>(SB)
TEXT libc_getsockname_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getsockname(SB) JMP libc_getsockname(SB)
TEXT ·libc_shutdown_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getsockname_trampoline_addr(SB), RODATA, $8
DATA ·libc_getsockname_trampoline_addr(SB)/8, $libc_getsockname_trampoline<>(SB)
TEXT libc_shutdown_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_shutdown(SB) JMP libc_shutdown(SB)
TEXT ·libc_socketpair_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_shutdown_trampoline_addr(SB), RODATA, $8
DATA ·libc_shutdown_trampoline_addr(SB)/8, $libc_shutdown_trampoline<>(SB)
TEXT libc_socketpair_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_socketpair(SB) JMP libc_socketpair(SB)
TEXT ·libc_recvfrom_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_socketpair_trampoline_addr(SB), RODATA, $8
DATA ·libc_socketpair_trampoline_addr(SB)/8, $libc_socketpair_trampoline<>(SB)
TEXT libc_recvfrom_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_recvfrom(SB) JMP libc_recvfrom(SB)
TEXT ·libc_sendto_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_recvfrom_trampoline_addr(SB), RODATA, $8
DATA ·libc_recvfrom_trampoline_addr(SB)/8, $libc_recvfrom_trampoline<>(SB)
TEXT libc_sendto_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_sendto(SB) JMP libc_sendto(SB)
TEXT ·libc_recvmsg_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_sendto_trampoline_addr(SB), RODATA, $8
DATA ·libc_sendto_trampoline_addr(SB)/8, $libc_sendto_trampoline<>(SB)
TEXT libc_recvmsg_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_recvmsg(SB) JMP libc_recvmsg(SB)
TEXT ·libc_sendmsg_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_recvmsg_trampoline_addr(SB), RODATA, $8
DATA ·libc_recvmsg_trampoline_addr(SB)/8, $libc_recvmsg_trampoline<>(SB)
TEXT libc_sendmsg_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_sendmsg(SB) JMP libc_sendmsg(SB)
TEXT ·libc_kevent_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_sendmsg_trampoline_addr(SB), RODATA, $8
DATA ·libc_sendmsg_trampoline_addr(SB)/8, $libc_sendmsg_trampoline<>(SB)
TEXT libc_kevent_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_kevent(SB) JMP libc_kevent(SB)
TEXT ·libc_utimes_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_kevent_trampoline_addr(SB), RODATA, $8
DATA ·libc_kevent_trampoline_addr(SB)/8, $libc_kevent_trampoline<>(SB)
TEXT libc_utimes_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_utimes(SB) JMP libc_utimes(SB)
TEXT ·libc_futimes_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_utimes_trampoline_addr(SB), RODATA, $8
DATA ·libc_utimes_trampoline_addr(SB)/8, $libc_utimes_trampoline<>(SB)
TEXT libc_futimes_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_futimes(SB) JMP libc_futimes(SB)
TEXT ·libc_poll_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_futimes_trampoline_addr(SB), RODATA, $8
DATA ·libc_futimes_trampoline_addr(SB)/8, $libc_futimes_trampoline<>(SB)
TEXT libc_poll_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_poll(SB) JMP libc_poll(SB)
TEXT ·libc_madvise_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_poll_trampoline_addr(SB), RODATA, $8
DATA ·libc_poll_trampoline_addr(SB)/8, $libc_poll_trampoline<>(SB)
TEXT libc_madvise_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_madvise(SB) JMP libc_madvise(SB)
TEXT ·libc_mlock_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_madvise_trampoline_addr(SB), RODATA, $8
DATA ·libc_madvise_trampoline_addr(SB)/8, $libc_madvise_trampoline<>(SB)
TEXT libc_mlock_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_mlock(SB) JMP libc_mlock(SB)
TEXT ·libc_mlockall_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_mlock_trampoline_addr(SB), RODATA, $8
DATA ·libc_mlock_trampoline_addr(SB)/8, $libc_mlock_trampoline<>(SB)
TEXT libc_mlockall_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_mlockall(SB) JMP libc_mlockall(SB)
TEXT ·libc_mprotect_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_mlockall_trampoline_addr(SB), RODATA, $8
DATA ·libc_mlockall_trampoline_addr(SB)/8, $libc_mlockall_trampoline<>(SB)
TEXT libc_mprotect_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_mprotect(SB) JMP libc_mprotect(SB)
TEXT ·libc_msync_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_mprotect_trampoline_addr(SB), RODATA, $8
DATA ·libc_mprotect_trampoline_addr(SB)/8, $libc_mprotect_trampoline<>(SB)
TEXT libc_msync_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_msync(SB) JMP libc_msync(SB)
TEXT ·libc_munlock_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_msync_trampoline_addr(SB), RODATA, $8
DATA ·libc_msync_trampoline_addr(SB)/8, $libc_msync_trampoline<>(SB)
TEXT libc_munlock_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_munlock(SB) JMP libc_munlock(SB)
TEXT ·libc_munlockall_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_munlock_trampoline_addr(SB), RODATA, $8
DATA ·libc_munlock_trampoline_addr(SB)/8, $libc_munlock_trampoline<>(SB)
TEXT libc_munlockall_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_munlockall(SB) JMP libc_munlockall(SB)
TEXT ·libc_pipe_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_munlockall_trampoline_addr(SB), RODATA, $8
DATA ·libc_munlockall_trampoline_addr(SB)/8, $libc_munlockall_trampoline<>(SB)
TEXT libc_pipe_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_pipe(SB) JMP libc_pipe(SB)
TEXT ·libc_getxattr_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_pipe_trampoline_addr(SB), RODATA, $8
DATA ·libc_pipe_trampoline_addr(SB)/8, $libc_pipe_trampoline<>(SB)
TEXT libc_getxattr_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getxattr(SB) JMP libc_getxattr(SB)
TEXT ·libc_fgetxattr_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getxattr_trampoline_addr(SB), RODATA, $8
DATA ·libc_getxattr_trampoline_addr(SB)/8, $libc_getxattr_trampoline<>(SB)
TEXT libc_fgetxattr_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fgetxattr(SB) JMP libc_fgetxattr(SB)
TEXT ·libc_setxattr_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fgetxattr_trampoline_addr(SB), RODATA, $8
DATA ·libc_fgetxattr_trampoline_addr(SB)/8, $libc_fgetxattr_trampoline<>(SB)
TEXT libc_setxattr_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setxattr(SB) JMP libc_setxattr(SB)
TEXT ·libc_fsetxattr_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setxattr_trampoline_addr(SB), RODATA, $8
DATA ·libc_setxattr_trampoline_addr(SB)/8, $libc_setxattr_trampoline<>(SB)
TEXT libc_fsetxattr_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fsetxattr(SB) JMP libc_fsetxattr(SB)
TEXT ·libc_removexattr_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fsetxattr_trampoline_addr(SB), RODATA, $8
DATA ·libc_fsetxattr_trampoline_addr(SB)/8, $libc_fsetxattr_trampoline<>(SB)
TEXT libc_removexattr_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_removexattr(SB) JMP libc_removexattr(SB)
TEXT ·libc_fremovexattr_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_removexattr_trampoline_addr(SB), RODATA, $8
DATA ·libc_removexattr_trampoline_addr(SB)/8, $libc_removexattr_trampoline<>(SB)
TEXT libc_fremovexattr_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fremovexattr(SB) JMP libc_fremovexattr(SB)
TEXT ·libc_listxattr_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fremovexattr_trampoline_addr(SB), RODATA, $8
DATA ·libc_fremovexattr_trampoline_addr(SB)/8, $libc_fremovexattr_trampoline<>(SB)
TEXT libc_listxattr_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_listxattr(SB) JMP libc_listxattr(SB)
TEXT ·libc_flistxattr_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_listxattr_trampoline_addr(SB), RODATA, $8
DATA ·libc_listxattr_trampoline_addr(SB)/8, $libc_listxattr_trampoline<>(SB)
TEXT libc_flistxattr_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_flistxattr(SB) JMP libc_flistxattr(SB)
TEXT ·libc_setattrlist_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_flistxattr_trampoline_addr(SB), RODATA, $8
DATA ·libc_flistxattr_trampoline_addr(SB)/8, $libc_flistxattr_trampoline<>(SB)
TEXT libc_setattrlist_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setattrlist(SB) JMP libc_setattrlist(SB)
TEXT ·libc_fcntl_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setattrlist_trampoline_addr(SB), RODATA, $8
DATA ·libc_setattrlist_trampoline_addr(SB)/8, $libc_setattrlist_trampoline<>(SB)
TEXT libc_fcntl_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fcntl(SB) JMP libc_fcntl(SB)
TEXT ·libc_kill_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fcntl_trampoline_addr(SB), RODATA, $8
DATA ·libc_fcntl_trampoline_addr(SB)/8, $libc_fcntl_trampoline<>(SB)
TEXT libc_kill_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_kill(SB) JMP libc_kill(SB)
TEXT ·libc_ioctl_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_kill_trampoline_addr(SB), RODATA, $8
DATA ·libc_kill_trampoline_addr(SB)/8, $libc_kill_trampoline<>(SB)
TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_ioctl(SB) JMP libc_ioctl(SB)
TEXT ·libc_sysctl_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $8
DATA ·libc_ioctl_trampoline_addr(SB)/8, $libc_ioctl_trampoline<>(SB)
TEXT libc_sysctl_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_sysctl(SB) JMP libc_sysctl(SB)
TEXT ·libc_sendfile_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_sysctl_trampoline_addr(SB), RODATA, $8
DATA ·libc_sysctl_trampoline_addr(SB)/8, $libc_sysctl_trampoline<>(SB)
TEXT libc_sendfile_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_sendfile(SB) JMP libc_sendfile(SB)
TEXT ·libc_access_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_sendfile_trampoline_addr(SB), RODATA, $8
DATA ·libc_sendfile_trampoline_addr(SB)/8, $libc_sendfile_trampoline<>(SB)
TEXT libc_access_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_access(SB) JMP libc_access(SB)
TEXT ·libc_adjtime_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_access_trampoline_addr(SB), RODATA, $8
DATA ·libc_access_trampoline_addr(SB)/8, $libc_access_trampoline<>(SB)
TEXT libc_adjtime_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_adjtime(SB) JMP libc_adjtime(SB)
TEXT ·libc_chdir_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_adjtime_trampoline_addr(SB), RODATA, $8
DATA ·libc_adjtime_trampoline_addr(SB)/8, $libc_adjtime_trampoline<>(SB)
TEXT libc_chdir_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_chdir(SB) JMP libc_chdir(SB)
TEXT ·libc_chflags_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_chdir_trampoline_addr(SB), RODATA, $8
DATA ·libc_chdir_trampoline_addr(SB)/8, $libc_chdir_trampoline<>(SB)
TEXT libc_chflags_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_chflags(SB) JMP libc_chflags(SB)
TEXT ·libc_chmod_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_chflags_trampoline_addr(SB), RODATA, $8
DATA ·libc_chflags_trampoline_addr(SB)/8, $libc_chflags_trampoline<>(SB)
TEXT libc_chmod_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_chmod(SB) JMP libc_chmod(SB)
TEXT ·libc_chown_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_chmod_trampoline_addr(SB), RODATA, $8
DATA ·libc_chmod_trampoline_addr(SB)/8, $libc_chmod_trampoline<>(SB)
TEXT libc_chown_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_chown(SB) JMP libc_chown(SB)
TEXT ·libc_chroot_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_chown_trampoline_addr(SB), RODATA, $8
DATA ·libc_chown_trampoline_addr(SB)/8, $libc_chown_trampoline<>(SB)
TEXT libc_chroot_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_chroot(SB) JMP libc_chroot(SB)
TEXT ·libc_clock_gettime_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_chroot_trampoline_addr(SB), RODATA, $8
DATA ·libc_chroot_trampoline_addr(SB)/8, $libc_chroot_trampoline<>(SB)
TEXT libc_clock_gettime_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_clock_gettime(SB) JMP libc_clock_gettime(SB)
TEXT ·libc_close_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_clock_gettime_trampoline_addr(SB), RODATA, $8
DATA ·libc_clock_gettime_trampoline_addr(SB)/8, $libc_clock_gettime_trampoline<>(SB)
TEXT libc_close_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_close(SB) JMP libc_close(SB)
TEXT ·libc_clonefile_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_close_trampoline_addr(SB), RODATA, $8
DATA ·libc_close_trampoline_addr(SB)/8, $libc_close_trampoline<>(SB)
TEXT libc_clonefile_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_clonefile(SB) JMP libc_clonefile(SB)
TEXT ·libc_clonefileat_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_clonefile_trampoline_addr(SB), RODATA, $8
DATA ·libc_clonefile_trampoline_addr(SB)/8, $libc_clonefile_trampoline<>(SB)
TEXT libc_clonefileat_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_clonefileat(SB) JMP libc_clonefileat(SB)
TEXT ·libc_dup_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_clonefileat_trampoline_addr(SB), RODATA, $8
DATA ·libc_clonefileat_trampoline_addr(SB)/8, $libc_clonefileat_trampoline<>(SB)
TEXT libc_dup_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_dup(SB) JMP libc_dup(SB)
TEXT ·libc_dup2_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_dup_trampoline_addr(SB), RODATA, $8
DATA ·libc_dup_trampoline_addr(SB)/8, $libc_dup_trampoline<>(SB)
TEXT libc_dup2_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_dup2(SB) JMP libc_dup2(SB)
TEXT ·libc_exchangedata_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_dup2_trampoline_addr(SB), RODATA, $8
DATA ·libc_dup2_trampoline_addr(SB)/8, $libc_dup2_trampoline<>(SB)
TEXT libc_exchangedata_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_exchangedata(SB) JMP libc_exchangedata(SB)
TEXT ·libc_exit_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_exchangedata_trampoline_addr(SB), RODATA, $8
DATA ·libc_exchangedata_trampoline_addr(SB)/8, $libc_exchangedata_trampoline<>(SB)
TEXT libc_exit_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_exit(SB) JMP libc_exit(SB)
TEXT ·libc_faccessat_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_exit_trampoline_addr(SB), RODATA, $8
DATA ·libc_exit_trampoline_addr(SB)/8, $libc_exit_trampoline<>(SB)
TEXT libc_faccessat_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_faccessat(SB) JMP libc_faccessat(SB)
TEXT ·libc_fchdir_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_faccessat_trampoline_addr(SB), RODATA, $8
DATA ·libc_faccessat_trampoline_addr(SB)/8, $libc_faccessat_trampoline<>(SB)
TEXT libc_fchdir_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fchdir(SB) JMP libc_fchdir(SB)
TEXT ·libc_fchflags_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fchdir_trampoline_addr(SB), RODATA, $8
DATA ·libc_fchdir_trampoline_addr(SB)/8, $libc_fchdir_trampoline<>(SB)
TEXT libc_fchflags_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fchflags(SB) JMP libc_fchflags(SB)
TEXT ·libc_fchmod_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fchflags_trampoline_addr(SB), RODATA, $8
DATA ·libc_fchflags_trampoline_addr(SB)/8, $libc_fchflags_trampoline<>(SB)
TEXT libc_fchmod_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fchmod(SB) JMP libc_fchmod(SB)
TEXT ·libc_fchmodat_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fchmod_trampoline_addr(SB), RODATA, $8
DATA ·libc_fchmod_trampoline_addr(SB)/8, $libc_fchmod_trampoline<>(SB)
TEXT libc_fchmodat_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fchmodat(SB) JMP libc_fchmodat(SB)
TEXT ·libc_fchown_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fchmodat_trampoline_addr(SB), RODATA, $8
DATA ·libc_fchmodat_trampoline_addr(SB)/8, $libc_fchmodat_trampoline<>(SB)
TEXT libc_fchown_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fchown(SB) JMP libc_fchown(SB)
TEXT ·libc_fchownat_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fchown_trampoline_addr(SB), RODATA, $8
DATA ·libc_fchown_trampoline_addr(SB)/8, $libc_fchown_trampoline<>(SB)
TEXT libc_fchownat_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fchownat(SB) JMP libc_fchownat(SB)
TEXT ·libc_fclonefileat_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fchownat_trampoline_addr(SB), RODATA, $8
DATA ·libc_fchownat_trampoline_addr(SB)/8, $libc_fchownat_trampoline<>(SB)
TEXT libc_fclonefileat_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fclonefileat(SB) JMP libc_fclonefileat(SB)
TEXT ·libc_flock_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fclonefileat_trampoline_addr(SB), RODATA, $8
DATA ·libc_fclonefileat_trampoline_addr(SB)/8, $libc_fclonefileat_trampoline<>(SB)
TEXT libc_flock_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_flock(SB) JMP libc_flock(SB)
TEXT ·libc_fpathconf_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_flock_trampoline_addr(SB), RODATA, $8
DATA ·libc_flock_trampoline_addr(SB)/8, $libc_flock_trampoline<>(SB)
TEXT libc_fpathconf_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fpathconf(SB) JMP libc_fpathconf(SB)
TEXT ·libc_fsync_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fpathconf_trampoline_addr(SB), RODATA, $8
DATA ·libc_fpathconf_trampoline_addr(SB)/8, $libc_fpathconf_trampoline<>(SB)
TEXT libc_fsync_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fsync(SB) JMP libc_fsync(SB)
TEXT ·libc_ftruncate_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fsync_trampoline_addr(SB), RODATA, $8
DATA ·libc_fsync_trampoline_addr(SB)/8, $libc_fsync_trampoline<>(SB)
TEXT libc_ftruncate_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_ftruncate(SB) JMP libc_ftruncate(SB)
TEXT ·libc_getcwd_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_ftruncate_trampoline_addr(SB), RODATA, $8
DATA ·libc_ftruncate_trampoline_addr(SB)/8, $libc_ftruncate_trampoline<>(SB)
TEXT libc_getcwd_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getcwd(SB) JMP libc_getcwd(SB)
TEXT ·libc_getdtablesize_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $8
DATA ·libc_getcwd_trampoline_addr(SB)/8, $libc_getcwd_trampoline<>(SB)
TEXT libc_getdtablesize_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getdtablesize(SB) JMP libc_getdtablesize(SB)
TEXT ·libc_getegid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getdtablesize_trampoline_addr(SB), RODATA, $8
DATA ·libc_getdtablesize_trampoline_addr(SB)/8, $libc_getdtablesize_trampoline<>(SB)
TEXT libc_getegid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getegid(SB) JMP libc_getegid(SB)
TEXT ·libc_geteuid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getegid_trampoline_addr(SB), RODATA, $8
DATA ·libc_getegid_trampoline_addr(SB)/8, $libc_getegid_trampoline<>(SB)
TEXT libc_geteuid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_geteuid(SB) JMP libc_geteuid(SB)
TEXT ·libc_getgid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_geteuid_trampoline_addr(SB), RODATA, $8
DATA ·libc_geteuid_trampoline_addr(SB)/8, $libc_geteuid_trampoline<>(SB)
TEXT libc_getgid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getgid(SB) JMP libc_getgid(SB)
TEXT ·libc_getpgid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getgid_trampoline_addr(SB), RODATA, $8
DATA ·libc_getgid_trampoline_addr(SB)/8, $libc_getgid_trampoline<>(SB)
TEXT libc_getpgid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getpgid(SB) JMP libc_getpgid(SB)
TEXT ·libc_getpgrp_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getpgid_trampoline_addr(SB), RODATA, $8
DATA ·libc_getpgid_trampoline_addr(SB)/8, $libc_getpgid_trampoline<>(SB)
TEXT libc_getpgrp_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getpgrp(SB) JMP libc_getpgrp(SB)
TEXT ·libc_getpid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getpgrp_trampoline_addr(SB), RODATA, $8
DATA ·libc_getpgrp_trampoline_addr(SB)/8, $libc_getpgrp_trampoline<>(SB)
TEXT libc_getpid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getpid(SB) JMP libc_getpid(SB)
TEXT ·libc_getppid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getpid_trampoline_addr(SB), RODATA, $8
DATA ·libc_getpid_trampoline_addr(SB)/8, $libc_getpid_trampoline<>(SB)
TEXT libc_getppid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getppid(SB) JMP libc_getppid(SB)
TEXT ·libc_getpriority_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getppid_trampoline_addr(SB), RODATA, $8
DATA ·libc_getppid_trampoline_addr(SB)/8, $libc_getppid_trampoline<>(SB)
TEXT libc_getpriority_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getpriority(SB) JMP libc_getpriority(SB)
TEXT ·libc_getrlimit_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getpriority_trampoline_addr(SB), RODATA, $8
DATA ·libc_getpriority_trampoline_addr(SB)/8, $libc_getpriority_trampoline<>(SB)
TEXT libc_getrlimit_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getrlimit(SB) JMP libc_getrlimit(SB)
TEXT ·libc_getrusage_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getrlimit_trampoline_addr(SB), RODATA, $8
DATA ·libc_getrlimit_trampoline_addr(SB)/8, $libc_getrlimit_trampoline<>(SB)
TEXT libc_getrusage_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getrusage(SB) JMP libc_getrusage(SB)
TEXT ·libc_getsid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getrusage_trampoline_addr(SB), RODATA, $8
DATA ·libc_getrusage_trampoline_addr(SB)/8, $libc_getrusage_trampoline<>(SB)
TEXT libc_getsid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getsid(SB) JMP libc_getsid(SB)
TEXT ·libc_gettimeofday_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getsid_trampoline_addr(SB), RODATA, $8
DATA ·libc_getsid_trampoline_addr(SB)/8, $libc_getsid_trampoline<>(SB)
TEXT libc_gettimeofday_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_gettimeofday(SB) JMP libc_gettimeofday(SB)
TEXT ·libc_getuid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_gettimeofday_trampoline_addr(SB), RODATA, $8
DATA ·libc_gettimeofday_trampoline_addr(SB)/8, $libc_gettimeofday_trampoline<>(SB)
TEXT libc_getuid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getuid(SB) JMP libc_getuid(SB)
TEXT ·libc_issetugid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getuid_trampoline_addr(SB), RODATA, $8
DATA ·libc_getuid_trampoline_addr(SB)/8, $libc_getuid_trampoline<>(SB)
TEXT libc_issetugid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_issetugid(SB) JMP libc_issetugid(SB)
TEXT ·libc_kqueue_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_issetugid_trampoline_addr(SB), RODATA, $8
DATA ·libc_issetugid_trampoline_addr(SB)/8, $libc_issetugid_trampoline<>(SB)
TEXT libc_kqueue_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_kqueue(SB) JMP libc_kqueue(SB)
TEXT ·libc_lchown_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_kqueue_trampoline_addr(SB), RODATA, $8
DATA ·libc_kqueue_trampoline_addr(SB)/8, $libc_kqueue_trampoline<>(SB)
TEXT libc_lchown_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_lchown(SB) JMP libc_lchown(SB)
TEXT ·libc_link_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_lchown_trampoline_addr(SB), RODATA, $8
DATA ·libc_lchown_trampoline_addr(SB)/8, $libc_lchown_trampoline<>(SB)
TEXT libc_link_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_link(SB) JMP libc_link(SB)
TEXT ·libc_linkat_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_link_trampoline_addr(SB), RODATA, $8
DATA ·libc_link_trampoline_addr(SB)/8, $libc_link_trampoline<>(SB)
TEXT libc_linkat_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_linkat(SB) JMP libc_linkat(SB)
TEXT ·libc_listen_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_linkat_trampoline_addr(SB), RODATA, $8
DATA ·libc_linkat_trampoline_addr(SB)/8, $libc_linkat_trampoline<>(SB)
TEXT libc_listen_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_listen(SB) JMP libc_listen(SB)
TEXT ·libc_mkdir_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_listen_trampoline_addr(SB), RODATA, $8
DATA ·libc_listen_trampoline_addr(SB)/8, $libc_listen_trampoline<>(SB)
TEXT libc_mkdir_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_mkdir(SB) JMP libc_mkdir(SB)
TEXT ·libc_mkdirat_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_mkdir_trampoline_addr(SB), RODATA, $8
DATA ·libc_mkdir_trampoline_addr(SB)/8, $libc_mkdir_trampoline<>(SB)
TEXT libc_mkdirat_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_mkdirat(SB) JMP libc_mkdirat(SB)
TEXT ·libc_mkfifo_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_mkdirat_trampoline_addr(SB), RODATA, $8
DATA ·libc_mkdirat_trampoline_addr(SB)/8, $libc_mkdirat_trampoline<>(SB)
TEXT libc_mkfifo_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_mkfifo(SB) JMP libc_mkfifo(SB)
TEXT ·libc_mknod_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_mkfifo_trampoline_addr(SB), RODATA, $8
DATA ·libc_mkfifo_trampoline_addr(SB)/8, $libc_mkfifo_trampoline<>(SB)
TEXT libc_mknod_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_mknod(SB) JMP libc_mknod(SB)
TEXT ·libc_open_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_mknod_trampoline_addr(SB), RODATA, $8
DATA ·libc_mknod_trampoline_addr(SB)/8, $libc_mknod_trampoline<>(SB)
TEXT libc_open_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_open(SB) JMP libc_open(SB)
TEXT ·libc_openat_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_open_trampoline_addr(SB), RODATA, $8
DATA ·libc_open_trampoline_addr(SB)/8, $libc_open_trampoline<>(SB)
TEXT libc_openat_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_openat(SB) JMP libc_openat(SB)
TEXT ·libc_pathconf_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_openat_trampoline_addr(SB), RODATA, $8
DATA ·libc_openat_trampoline_addr(SB)/8, $libc_openat_trampoline<>(SB)
TEXT libc_pathconf_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_pathconf(SB) JMP libc_pathconf(SB)
TEXT ·libc_pread_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_pathconf_trampoline_addr(SB), RODATA, $8
DATA ·libc_pathconf_trampoline_addr(SB)/8, $libc_pathconf_trampoline<>(SB)
TEXT libc_pread_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_pread(SB) JMP libc_pread(SB)
TEXT ·libc_pwrite_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_pread_trampoline_addr(SB), RODATA, $8
DATA ·libc_pread_trampoline_addr(SB)/8, $libc_pread_trampoline<>(SB)
TEXT libc_pwrite_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_pwrite(SB) JMP libc_pwrite(SB)
TEXT ·libc_read_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_pwrite_trampoline_addr(SB), RODATA, $8
DATA ·libc_pwrite_trampoline_addr(SB)/8, $libc_pwrite_trampoline<>(SB)
TEXT libc_read_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_read(SB) JMP libc_read(SB)
TEXT ·libc_readlink_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_read_trampoline_addr(SB), RODATA, $8
DATA ·libc_read_trampoline_addr(SB)/8, $libc_read_trampoline<>(SB)
TEXT libc_readlink_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_readlink(SB) JMP libc_readlink(SB)
TEXT ·libc_readlinkat_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_readlink_trampoline_addr(SB), RODATA, $8
DATA ·libc_readlink_trampoline_addr(SB)/8, $libc_readlink_trampoline<>(SB)
TEXT libc_readlinkat_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_readlinkat(SB) JMP libc_readlinkat(SB)
TEXT ·libc_rename_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_readlinkat_trampoline_addr(SB), RODATA, $8
DATA ·libc_readlinkat_trampoline_addr(SB)/8, $libc_readlinkat_trampoline<>(SB)
TEXT libc_rename_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_rename(SB) JMP libc_rename(SB)
TEXT ·libc_renameat_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_rename_trampoline_addr(SB), RODATA, $8
DATA ·libc_rename_trampoline_addr(SB)/8, $libc_rename_trampoline<>(SB)
TEXT libc_renameat_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_renameat(SB) JMP libc_renameat(SB)
TEXT ·libc_revoke_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_renameat_trampoline_addr(SB), RODATA, $8
DATA ·libc_renameat_trampoline_addr(SB)/8, $libc_renameat_trampoline<>(SB)
TEXT libc_revoke_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_revoke(SB) JMP libc_revoke(SB)
TEXT ·libc_rmdir_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_revoke_trampoline_addr(SB), RODATA, $8
DATA ·libc_revoke_trampoline_addr(SB)/8, $libc_revoke_trampoline<>(SB)
TEXT libc_rmdir_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_rmdir(SB) JMP libc_rmdir(SB)
TEXT ·libc_lseek_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_rmdir_trampoline_addr(SB), RODATA, $8
DATA ·libc_rmdir_trampoline_addr(SB)/8, $libc_rmdir_trampoline<>(SB)
TEXT libc_lseek_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_lseek(SB) JMP libc_lseek(SB)
TEXT ·libc_select_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_lseek_trampoline_addr(SB), RODATA, $8
DATA ·libc_lseek_trampoline_addr(SB)/8, $libc_lseek_trampoline<>(SB)
TEXT libc_select_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_select(SB) JMP libc_select(SB)
TEXT ·libc_setegid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_select_trampoline_addr(SB), RODATA, $8
DATA ·libc_select_trampoline_addr(SB)/8, $libc_select_trampoline<>(SB)
TEXT libc_setegid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setegid(SB) JMP libc_setegid(SB)
TEXT ·libc_seteuid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setegid_trampoline_addr(SB), RODATA, $8
DATA ·libc_setegid_trampoline_addr(SB)/8, $libc_setegid_trampoline<>(SB)
TEXT libc_seteuid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_seteuid(SB) JMP libc_seteuid(SB)
TEXT ·libc_setgid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_seteuid_trampoline_addr(SB), RODATA, $8
DATA ·libc_seteuid_trampoline_addr(SB)/8, $libc_seteuid_trampoline<>(SB)
TEXT libc_setgid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setgid(SB) JMP libc_setgid(SB)
TEXT ·libc_setlogin_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setgid_trampoline_addr(SB), RODATA, $8
DATA ·libc_setgid_trampoline_addr(SB)/8, $libc_setgid_trampoline<>(SB)
TEXT libc_setlogin_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setlogin(SB) JMP libc_setlogin(SB)
TEXT ·libc_setpgid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setlogin_trampoline_addr(SB), RODATA, $8
DATA ·libc_setlogin_trampoline_addr(SB)/8, $libc_setlogin_trampoline<>(SB)
TEXT libc_setpgid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setpgid(SB) JMP libc_setpgid(SB)
TEXT ·libc_setpriority_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setpgid_trampoline_addr(SB), RODATA, $8
DATA ·libc_setpgid_trampoline_addr(SB)/8, $libc_setpgid_trampoline<>(SB)
TEXT libc_setpriority_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setpriority(SB) JMP libc_setpriority(SB)
TEXT ·libc_setprivexec_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setpriority_trampoline_addr(SB), RODATA, $8
DATA ·libc_setpriority_trampoline_addr(SB)/8, $libc_setpriority_trampoline<>(SB)
TEXT libc_setprivexec_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setprivexec(SB) JMP libc_setprivexec(SB)
TEXT ·libc_setregid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setprivexec_trampoline_addr(SB), RODATA, $8
DATA ·libc_setprivexec_trampoline_addr(SB)/8, $libc_setprivexec_trampoline<>(SB)
TEXT libc_setregid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setregid(SB) JMP libc_setregid(SB)
TEXT ·libc_setreuid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setregid_trampoline_addr(SB), RODATA, $8
DATA ·libc_setregid_trampoline_addr(SB)/8, $libc_setregid_trampoline<>(SB)
TEXT libc_setreuid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setreuid(SB) JMP libc_setreuid(SB)
TEXT ·libc_setrlimit_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setreuid_trampoline_addr(SB), RODATA, $8
DATA ·libc_setreuid_trampoline_addr(SB)/8, $libc_setreuid_trampoline<>(SB)
TEXT libc_setrlimit_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setrlimit(SB) JMP libc_setrlimit(SB)
TEXT ·libc_setsid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setrlimit_trampoline_addr(SB), RODATA, $8
DATA ·libc_setrlimit_trampoline_addr(SB)/8, $libc_setrlimit_trampoline<>(SB)
TEXT libc_setsid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setsid(SB) JMP libc_setsid(SB)
TEXT ·libc_settimeofday_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setsid_trampoline_addr(SB), RODATA, $8
DATA ·libc_setsid_trampoline_addr(SB)/8, $libc_setsid_trampoline<>(SB)
TEXT libc_settimeofday_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_settimeofday(SB) JMP libc_settimeofday(SB)
TEXT ·libc_setuid_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_settimeofday_trampoline_addr(SB), RODATA, $8
DATA ·libc_settimeofday_trampoline_addr(SB)/8, $libc_settimeofday_trampoline<>(SB)
TEXT libc_setuid_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_setuid(SB) JMP libc_setuid(SB)
TEXT ·libc_symlink_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_setuid_trampoline_addr(SB), RODATA, $8
DATA ·libc_setuid_trampoline_addr(SB)/8, $libc_setuid_trampoline<>(SB)
TEXT libc_symlink_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_symlink(SB) JMP libc_symlink(SB)
TEXT ·libc_symlinkat_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_symlink_trampoline_addr(SB), RODATA, $8
DATA ·libc_symlink_trampoline_addr(SB)/8, $libc_symlink_trampoline<>(SB)
TEXT libc_symlinkat_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_symlinkat(SB) JMP libc_symlinkat(SB)
TEXT ·libc_sync_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_symlinkat_trampoline_addr(SB), RODATA, $8
DATA ·libc_symlinkat_trampoline_addr(SB)/8, $libc_symlinkat_trampoline<>(SB)
TEXT libc_sync_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_sync(SB) JMP libc_sync(SB)
TEXT ·libc_truncate_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_sync_trampoline_addr(SB), RODATA, $8
DATA ·libc_sync_trampoline_addr(SB)/8, $libc_sync_trampoline<>(SB)
TEXT libc_truncate_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_truncate(SB) JMP libc_truncate(SB)
TEXT ·libc_umask_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_truncate_trampoline_addr(SB), RODATA, $8
DATA ·libc_truncate_trampoline_addr(SB)/8, $libc_truncate_trampoline<>(SB)
TEXT libc_umask_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_umask(SB) JMP libc_umask(SB)
TEXT ·libc_undelete_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_umask_trampoline_addr(SB), RODATA, $8
DATA ·libc_umask_trampoline_addr(SB)/8, $libc_umask_trampoline<>(SB)
TEXT libc_undelete_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_undelete(SB) JMP libc_undelete(SB)
TEXT ·libc_unlink_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_undelete_trampoline_addr(SB), RODATA, $8
DATA ·libc_undelete_trampoline_addr(SB)/8, $libc_undelete_trampoline<>(SB)
TEXT libc_unlink_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_unlink(SB) JMP libc_unlink(SB)
TEXT ·libc_unlinkat_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_unlink_trampoline_addr(SB), RODATA, $8
DATA ·libc_unlink_trampoline_addr(SB)/8, $libc_unlink_trampoline<>(SB)
TEXT libc_unlinkat_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_unlinkat(SB) JMP libc_unlinkat(SB)
TEXT ·libc_unmount_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_unlinkat_trampoline_addr(SB), RODATA, $8
DATA ·libc_unlinkat_trampoline_addr(SB)/8, $libc_unlinkat_trampoline<>(SB)
TEXT libc_unmount_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_unmount(SB) JMP libc_unmount(SB)
TEXT ·libc_write_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_unmount_trampoline_addr(SB), RODATA, $8
DATA ·libc_unmount_trampoline_addr(SB)/8, $libc_unmount_trampoline<>(SB)
TEXT libc_write_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_write(SB) JMP libc_write(SB)
TEXT ·libc_mmap_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_write_trampoline_addr(SB), RODATA, $8
DATA ·libc_write_trampoline_addr(SB)/8, $libc_write_trampoline<>(SB)
TEXT libc_mmap_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_mmap(SB) JMP libc_mmap(SB)
TEXT ·libc_munmap_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_mmap_trampoline_addr(SB), RODATA, $8
DATA ·libc_mmap_trampoline_addr(SB)/8, $libc_mmap_trampoline<>(SB)
TEXT libc_munmap_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_munmap(SB) JMP libc_munmap(SB)
TEXT ·libc_fstat_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_munmap_trampoline_addr(SB), RODATA, $8
DATA ·libc_munmap_trampoline_addr(SB)/8, $libc_munmap_trampoline<>(SB)
TEXT libc_fstat_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fstat(SB) JMP libc_fstat(SB)
TEXT ·libc_fstatat_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fstat_trampoline_addr(SB), RODATA, $8
DATA ·libc_fstat_trampoline_addr(SB)/8, $libc_fstat_trampoline<>(SB)
TEXT libc_fstatat_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fstatat(SB) JMP libc_fstatat(SB)
TEXT ·libc_fstatfs_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fstatat_trampoline_addr(SB), RODATA, $8
DATA ·libc_fstatat_trampoline_addr(SB)/8, $libc_fstatat_trampoline<>(SB)
TEXT libc_fstatfs_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_fstatfs(SB) JMP libc_fstatfs(SB)
TEXT ·libc_getfsstat_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_fstatfs_trampoline_addr(SB), RODATA, $8
DATA ·libc_fstatfs_trampoline_addr(SB)/8, $libc_fstatfs_trampoline<>(SB)
TEXT libc_getfsstat_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_getfsstat(SB) JMP libc_getfsstat(SB)
TEXT ·libc_lstat_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_getfsstat_trampoline_addr(SB), RODATA, $8
DATA ·libc_getfsstat_trampoline_addr(SB)/8, $libc_getfsstat_trampoline<>(SB)
TEXT libc_lstat_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_lstat(SB) JMP libc_lstat(SB)
TEXT ·libc_ptrace_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_lstat_trampoline_addr(SB), RODATA, $8
DATA ·libc_lstat_trampoline_addr(SB)/8, $libc_lstat_trampoline<>(SB)
TEXT libc_ptrace_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_ptrace(SB) JMP libc_ptrace(SB)
TEXT ·libc_stat_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_ptrace_trampoline_addr(SB), RODATA, $8
DATA ·libc_ptrace_trampoline_addr(SB)/8, $libc_ptrace_trampoline<>(SB)
TEXT libc_stat_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_stat(SB) JMP libc_stat(SB)
TEXT ·libc_statfs_trampoline(SB),NOSPLIT,$0-0
GLOBL ·libc_stat_trampoline_addr(SB), RODATA, $8
DATA ·libc_stat_trampoline_addr(SB)/8, $libc_stat_trampoline<>(SB)
TEXT libc_statfs_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_statfs(SB) JMP libc_statfs(SB)
GLOBL ·libc_statfs_trampoline_addr(SB), RODATA, $8
DATA ·libc_statfs_trampoline_addr(SB)/8, $libc_statfs_trampoline<>(SB)

View File

@ -48,6 +48,16 @@ func ioctl(fd int, req uint, arg uintptr) (err error) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
_, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) { func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
var _p0 *byte var _p0 *byte
_p0, err = BytePtrFromString(oldpath) _p0, err = BytePtrFromString(oldpath)
@ -1201,7 +1211,7 @@ func PivotRoot(newroot string, putold string) (err error) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) { func Prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
_, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0) _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0)
if e1 != 0 { if e1 != 0 {
err = errnoErr(e1) err = errnoErr(e1)

View File

@ -141,6 +141,11 @@ import (
//go:cgo_import_dynamic libc_getpeername getpeername "libsocket.so" //go:cgo_import_dynamic libc_getpeername getpeername "libsocket.so"
//go:cgo_import_dynamic libc_setsockopt setsockopt "libsocket.so" //go:cgo_import_dynamic libc_setsockopt setsockopt "libsocket.so"
//go:cgo_import_dynamic libc_recvfrom recvfrom "libsocket.so" //go:cgo_import_dynamic libc_recvfrom recvfrom "libsocket.so"
//go:cgo_import_dynamic libc_port_create port_create "libc.so"
//go:cgo_import_dynamic libc_port_associate port_associate "libc.so"
//go:cgo_import_dynamic libc_port_dissociate port_dissociate "libc.so"
//go:cgo_import_dynamic libc_port_get port_get "libc.so"
//go:cgo_import_dynamic libc_port_getn port_getn "libc.so"
//go:linkname procpipe libc_pipe //go:linkname procpipe libc_pipe
//go:linkname procpipe2 libc_pipe2 //go:linkname procpipe2 libc_pipe2
@ -272,6 +277,11 @@ import (
//go:linkname procgetpeername libc_getpeername //go:linkname procgetpeername libc_getpeername
//go:linkname procsetsockopt libc_setsockopt //go:linkname procsetsockopt libc_setsockopt
//go:linkname procrecvfrom libc_recvfrom //go:linkname procrecvfrom libc_recvfrom
//go:linkname procport_create libc_port_create
//go:linkname procport_associate libc_port_associate
//go:linkname procport_dissociate libc_port_dissociate
//go:linkname procport_get libc_port_get
//go:linkname procport_getn libc_port_getn
var ( var (
procpipe, procpipe,
@ -403,7 +413,12 @@ var (
proc__xnet_getsockopt, proc__xnet_getsockopt,
procgetpeername, procgetpeername,
procsetsockopt, procsetsockopt,
procrecvfrom syscallFunc procrecvfrom,
procport_create,
procport_associate,
procport_dissociate,
procport_get,
procport_getn syscallFunc
) )
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
@ -1981,3 +1996,58 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl
} }
return return
} }
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func port_create() (n int, err error) {
r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procport_create)), 0, 0, 0, 0, 0, 0, 0)
n = int(r0)
if e1 != 0 {
err = e1
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func port_associate(port int, source int, object uintptr, events int, user *byte) (n int, err error) {
r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procport_associate)), 5, uintptr(port), uintptr(source), uintptr(object), uintptr(events), uintptr(unsafe.Pointer(user)), 0)
n = int(r0)
if e1 != 0 {
err = e1
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func port_dissociate(port int, source int, object uintptr) (n int, err error) {
r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procport_dissociate)), 3, uintptr(port), uintptr(source), uintptr(object), 0, 0, 0)
n = int(r0)
if e1 != 0 {
err = e1
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func port_get(port int, pe *portEvent, timeout *Timespec) (n int, err error) {
r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procport_get)), 3, uintptr(port), uintptr(unsafe.Pointer(pe)), uintptr(unsafe.Pointer(timeout)), 0, 0, 0)
n = int(r0)
if e1 != 0 {
err = e1
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func port_getn(port int, pe *portEvent, max uint32, nget *uint32, timeout *Timespec) (n int, err error) {
r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procport_getn)), 5, uintptr(port), uintptr(unsafe.Pointer(pe)), uintptr(max), uintptr(unsafe.Pointer(nget)), uintptr(unsafe.Pointer(timeout)), 0)
n = int(r0)
if e1 != 0 {
err = e1
}
return
}

View File

@ -364,6 +364,22 @@ func Dup2(oldfd int, newfd int) (err error) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func Errno2() (er2 int) {
uer2, _, _ := syscall_syscall(SYS___ERRNO2, 0, 0, 0)
er2 = int(uer2)
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func Err2ad() (eadd *int) {
ueadd, _, _ := syscall_syscall(SYS___ERR2AD, 0, 0, 0)
eadd = (*int)(unsafe.Pointer(ueadd))
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func Exit(code int) { func Exit(code int) {
syscall_syscall(SYS_EXIT, uintptr(code), 0, 0) syscall_syscall(SYS_EXIT, uintptr(code), 0, 0)
return return
@ -531,7 +547,18 @@ func W_Getmntent(buff *byte, size int) (lastsys int, err error) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func Mount(path string, filesystem string, fstype string, mtm uint32, parmlen int32, parm string) (err error) { func W_Getmntent_A(buff *byte, size int) (lastsys int, err error) {
r0, _, e1 := syscall_syscall(SYS___W_GETMNTENT_A, uintptr(unsafe.Pointer(buff)), uintptr(size), 0)
lastsys = int(r0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func mount_LE(path string, filesystem string, fstype string, mtm uint32, parmlen int32, parm string) (err error) {
var _p0 *byte var _p0 *byte
_p0, err = BytePtrFromString(path) _p0, err = BytePtrFromString(path)
if err != nil { if err != nil {
@ -561,7 +588,7 @@ func Mount(path string, filesystem string, fstype string, mtm uint32, parmlen in
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func Unmount(filesystem string, mtm int) (err error) { func unmount(filesystem string, mtm int) (err error) {
var _p0 *byte var _p0 *byte
_p0, err = BytePtrFromString(filesystem) _p0, err = BytePtrFromString(filesystem)
if err != nil { if err != nil {
@ -1215,3 +1242,14 @@ func utimes(path string, timeval *[2]Timeval) (err error) {
} }
return return
} }
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func Select(nmsgsfds int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (ret int, err error) {
r0, _, e1 := syscall_syscall6(SYS_SELECT, uintptr(nmsgsfds), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
ret = int(r0)
if e1 != 0 {
err = errnoErr(e1)
}
return
}

View File

@ -1,438 +0,0 @@
// go run mksysnum.go /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/sys/syscall.h
// Code generated by the command above; see README.md. DO NOT EDIT.
//go:build 386 && darwin
// +build 386,darwin
package unix
// Deprecated: Use libSystem wrappers instead of direct syscalls.
const (
SYS_SYSCALL = 0
SYS_EXIT = 1
SYS_FORK = 2
SYS_READ = 3
SYS_WRITE = 4
SYS_OPEN = 5
SYS_CLOSE = 6
SYS_WAIT4 = 7
SYS_LINK = 9
SYS_UNLINK = 10
SYS_CHDIR = 12
SYS_FCHDIR = 13
SYS_MKNOD = 14
SYS_CHMOD = 15
SYS_CHOWN = 16
SYS_GETFSSTAT = 18
SYS_GETPID = 20
SYS_SETUID = 23
SYS_GETUID = 24
SYS_GETEUID = 25
SYS_PTRACE = 26
SYS_RECVMSG = 27
SYS_SENDMSG = 28
SYS_RECVFROM = 29
SYS_ACCEPT = 30
SYS_GETPEERNAME = 31
SYS_GETSOCKNAME = 32
SYS_ACCESS = 33
SYS_CHFLAGS = 34
SYS_FCHFLAGS = 35
SYS_SYNC = 36
SYS_KILL = 37
SYS_GETPPID = 39
SYS_DUP = 41
SYS_PIPE = 42
SYS_GETEGID = 43
SYS_SIGACTION = 46
SYS_GETGID = 47
SYS_SIGPROCMASK = 48
SYS_GETLOGIN = 49
SYS_SETLOGIN = 50
SYS_ACCT = 51
SYS_SIGPENDING = 52
SYS_SIGALTSTACK = 53
SYS_IOCTL = 54
SYS_REBOOT = 55
SYS_REVOKE = 56
SYS_SYMLINK = 57
SYS_READLINK = 58
SYS_EXECVE = 59
SYS_UMASK = 60
SYS_CHROOT = 61
SYS_MSYNC = 65
SYS_VFORK = 66
SYS_MUNMAP = 73
SYS_MPROTECT = 74
SYS_MADVISE = 75
SYS_MINCORE = 78
SYS_GETGROUPS = 79
SYS_SETGROUPS = 80
SYS_GETPGRP = 81
SYS_SETPGID = 82
SYS_SETITIMER = 83
SYS_SWAPON = 85
SYS_GETITIMER = 86
SYS_GETDTABLESIZE = 89
SYS_DUP2 = 90
SYS_FCNTL = 92
SYS_SELECT = 93
SYS_FSYNC = 95
SYS_SETPRIORITY = 96
SYS_SOCKET = 97
SYS_CONNECT = 98
SYS_GETPRIORITY = 100
SYS_BIND = 104
SYS_SETSOCKOPT = 105
SYS_LISTEN = 106
SYS_SIGSUSPEND = 111
SYS_GETTIMEOFDAY = 116
SYS_GETRUSAGE = 117
SYS_GETSOCKOPT = 118
SYS_READV = 120
SYS_WRITEV = 121
SYS_SETTIMEOFDAY = 122
SYS_FCHOWN = 123
SYS_FCHMOD = 124
SYS_SETREUID = 126
SYS_SETREGID = 127
SYS_RENAME = 128
SYS_FLOCK = 131
SYS_MKFIFO = 132
SYS_SENDTO = 133
SYS_SHUTDOWN = 134
SYS_SOCKETPAIR = 135
SYS_MKDIR = 136
SYS_RMDIR = 137
SYS_UTIMES = 138
SYS_FUTIMES = 139
SYS_ADJTIME = 140
SYS_GETHOSTUUID = 142
SYS_SETSID = 147
SYS_GETPGID = 151
SYS_SETPRIVEXEC = 152
SYS_PREAD = 153
SYS_PWRITE = 154
SYS_NFSSVC = 155
SYS_STATFS = 157
SYS_FSTATFS = 158
SYS_UNMOUNT = 159
SYS_GETFH = 161
SYS_QUOTACTL = 165
SYS_MOUNT = 167
SYS_CSOPS = 169
SYS_CSOPS_AUDITTOKEN = 170
SYS_WAITID = 173
SYS_KDEBUG_TYPEFILTER = 177
SYS_KDEBUG_TRACE_STRING = 178
SYS_KDEBUG_TRACE64 = 179
SYS_KDEBUG_TRACE = 180
SYS_SETGID = 181
SYS_SETEGID = 182
SYS_SETEUID = 183
SYS_SIGRETURN = 184
SYS_THREAD_SELFCOUNTS = 186
SYS_FDATASYNC = 187
SYS_STAT = 188
SYS_FSTAT = 189
SYS_LSTAT = 190
SYS_PATHCONF = 191
SYS_FPATHCONF = 192
SYS_GETRLIMIT = 194
SYS_SETRLIMIT = 195
SYS_GETDIRENTRIES = 196
SYS_MMAP = 197
SYS_LSEEK = 199
SYS_TRUNCATE = 200
SYS_FTRUNCATE = 201
SYS_SYSCTL = 202
SYS_MLOCK = 203
SYS_MUNLOCK = 204
SYS_UNDELETE = 205
SYS_OPEN_DPROTECTED_NP = 216
SYS_GETATTRLIST = 220
SYS_SETATTRLIST = 221
SYS_GETDIRENTRIESATTR = 222
SYS_EXCHANGEDATA = 223
SYS_SEARCHFS = 225
SYS_DELETE = 226
SYS_COPYFILE = 227
SYS_FGETATTRLIST = 228
SYS_FSETATTRLIST = 229
SYS_POLL = 230
SYS_WATCHEVENT = 231
SYS_WAITEVENT = 232
SYS_MODWATCH = 233
SYS_GETXATTR = 234
SYS_FGETXATTR = 235
SYS_SETXATTR = 236
SYS_FSETXATTR = 237
SYS_REMOVEXATTR = 238
SYS_FREMOVEXATTR = 239
SYS_LISTXATTR = 240
SYS_FLISTXATTR = 241
SYS_FSCTL = 242
SYS_INITGROUPS = 243
SYS_POSIX_SPAWN = 244
SYS_FFSCTL = 245
SYS_NFSCLNT = 247
SYS_FHOPEN = 248
SYS_MINHERIT = 250
SYS_SEMSYS = 251
SYS_MSGSYS = 252
SYS_SHMSYS = 253
SYS_SEMCTL = 254
SYS_SEMGET = 255
SYS_SEMOP = 256
SYS_MSGCTL = 258
SYS_MSGGET = 259
SYS_MSGSND = 260
SYS_MSGRCV = 261
SYS_SHMAT = 262
SYS_SHMCTL = 263
SYS_SHMDT = 264
SYS_SHMGET = 265
SYS_SHM_OPEN = 266
SYS_SHM_UNLINK = 267
SYS_SEM_OPEN = 268
SYS_SEM_CLOSE = 269
SYS_SEM_UNLINK = 270
SYS_SEM_WAIT = 271
SYS_SEM_TRYWAIT = 272
SYS_SEM_POST = 273
SYS_SYSCTLBYNAME = 274
SYS_OPEN_EXTENDED = 277
SYS_UMASK_EXTENDED = 278
SYS_STAT_EXTENDED = 279
SYS_LSTAT_EXTENDED = 280
SYS_FSTAT_EXTENDED = 281
SYS_CHMOD_EXTENDED = 282
SYS_FCHMOD_EXTENDED = 283
SYS_ACCESS_EXTENDED = 284
SYS_SETTID = 285
SYS_GETTID = 286
SYS_SETSGROUPS = 287
SYS_GETSGROUPS = 288
SYS_SETWGROUPS = 289
SYS_GETWGROUPS = 290
SYS_MKFIFO_EXTENDED = 291
SYS_MKDIR_EXTENDED = 292
SYS_IDENTITYSVC = 293
SYS_SHARED_REGION_CHECK_NP = 294
SYS_VM_PRESSURE_MONITOR = 296
SYS_PSYNCH_RW_LONGRDLOCK = 297
SYS_PSYNCH_RW_YIELDWRLOCK = 298
SYS_PSYNCH_RW_DOWNGRADE = 299
SYS_PSYNCH_RW_UPGRADE = 300
SYS_PSYNCH_MUTEXWAIT = 301
SYS_PSYNCH_MUTEXDROP = 302
SYS_PSYNCH_CVBROAD = 303
SYS_PSYNCH_CVSIGNAL = 304
SYS_PSYNCH_CVWAIT = 305
SYS_PSYNCH_RW_RDLOCK = 306
SYS_PSYNCH_RW_WRLOCK = 307
SYS_PSYNCH_RW_UNLOCK = 308
SYS_PSYNCH_RW_UNLOCK2 = 309
SYS_GETSID = 310
SYS_SETTID_WITH_PID = 311
SYS_PSYNCH_CVCLRPREPOST = 312
SYS_AIO_FSYNC = 313
SYS_AIO_RETURN = 314
SYS_AIO_SUSPEND = 315
SYS_AIO_CANCEL = 316
SYS_AIO_ERROR = 317
SYS_AIO_READ = 318
SYS_AIO_WRITE = 319
SYS_LIO_LISTIO = 320
SYS_IOPOLICYSYS = 322
SYS_PROCESS_POLICY = 323
SYS_MLOCKALL = 324
SYS_MUNLOCKALL = 325
SYS_ISSETUGID = 327
SYS___PTHREAD_KILL = 328
SYS___PTHREAD_SIGMASK = 329
SYS___SIGWAIT = 330
SYS___DISABLE_THREADSIGNAL = 331
SYS___PTHREAD_MARKCANCEL = 332
SYS___PTHREAD_CANCELED = 333
SYS___SEMWAIT_SIGNAL = 334
SYS_PROC_INFO = 336
SYS_SENDFILE = 337
SYS_STAT64 = 338
SYS_FSTAT64 = 339
SYS_LSTAT64 = 340
SYS_STAT64_EXTENDED = 341
SYS_LSTAT64_EXTENDED = 342
SYS_FSTAT64_EXTENDED = 343
SYS_GETDIRENTRIES64 = 344
SYS_STATFS64 = 345
SYS_FSTATFS64 = 346
SYS_GETFSSTAT64 = 347
SYS___PTHREAD_CHDIR = 348
SYS___PTHREAD_FCHDIR = 349
SYS_AUDIT = 350
SYS_AUDITON = 351
SYS_GETAUID = 353
SYS_SETAUID = 354
SYS_GETAUDIT_ADDR = 357
SYS_SETAUDIT_ADDR = 358
SYS_AUDITCTL = 359
SYS_BSDTHREAD_CREATE = 360
SYS_BSDTHREAD_TERMINATE = 361
SYS_KQUEUE = 362
SYS_KEVENT = 363
SYS_LCHOWN = 364
SYS_BSDTHREAD_REGISTER = 366
SYS_WORKQ_OPEN = 367
SYS_WORKQ_KERNRETURN = 368
SYS_KEVENT64 = 369
SYS___OLD_SEMWAIT_SIGNAL = 370
SYS___OLD_SEMWAIT_SIGNAL_NOCANCEL = 371
SYS_THREAD_SELFID = 372
SYS_LEDGER = 373
SYS_KEVENT_QOS = 374
SYS_KEVENT_ID = 375
SYS___MAC_EXECVE = 380
SYS___MAC_SYSCALL = 381
SYS___MAC_GET_FILE = 382
SYS___MAC_SET_FILE = 383
SYS___MAC_GET_LINK = 384
SYS___MAC_SET_LINK = 385
SYS___MAC_GET_PROC = 386
SYS___MAC_SET_PROC = 387
SYS___MAC_GET_FD = 388
SYS___MAC_SET_FD = 389
SYS___MAC_GET_PID = 390
SYS_PSELECT = 394
SYS_PSELECT_NOCANCEL = 395
SYS_READ_NOCANCEL = 396
SYS_WRITE_NOCANCEL = 397
SYS_OPEN_NOCANCEL = 398
SYS_CLOSE_NOCANCEL = 399
SYS_WAIT4_NOCANCEL = 400
SYS_RECVMSG_NOCANCEL = 401
SYS_SENDMSG_NOCANCEL = 402
SYS_RECVFROM_NOCANCEL = 403
SYS_ACCEPT_NOCANCEL = 404
SYS_MSYNC_NOCANCEL = 405
SYS_FCNTL_NOCANCEL = 406
SYS_SELECT_NOCANCEL = 407
SYS_FSYNC_NOCANCEL = 408
SYS_CONNECT_NOCANCEL = 409
SYS_SIGSUSPEND_NOCANCEL = 410
SYS_READV_NOCANCEL = 411
SYS_WRITEV_NOCANCEL = 412
SYS_SENDTO_NOCANCEL = 413
SYS_PREAD_NOCANCEL = 414
SYS_PWRITE_NOCANCEL = 415
SYS_WAITID_NOCANCEL = 416
SYS_POLL_NOCANCEL = 417
SYS_MSGSND_NOCANCEL = 418
SYS_MSGRCV_NOCANCEL = 419
SYS_SEM_WAIT_NOCANCEL = 420
SYS_AIO_SUSPEND_NOCANCEL = 421
SYS___SIGWAIT_NOCANCEL = 422
SYS___SEMWAIT_SIGNAL_NOCANCEL = 423
SYS___MAC_MOUNT = 424
SYS___MAC_GET_MOUNT = 425
SYS___MAC_GETFSSTAT = 426
SYS_FSGETPATH = 427
SYS_AUDIT_SESSION_SELF = 428
SYS_AUDIT_SESSION_JOIN = 429
SYS_FILEPORT_MAKEPORT = 430
SYS_FILEPORT_MAKEFD = 431
SYS_AUDIT_SESSION_PORT = 432
SYS_PID_SUSPEND = 433
SYS_PID_RESUME = 434
SYS_PID_HIBERNATE = 435
SYS_PID_SHUTDOWN_SOCKETS = 436
SYS_SHARED_REGION_MAP_AND_SLIDE_NP = 438
SYS_KAS_INFO = 439
SYS_MEMORYSTATUS_CONTROL = 440
SYS_GUARDED_OPEN_NP = 441
SYS_GUARDED_CLOSE_NP = 442
SYS_GUARDED_KQUEUE_NP = 443
SYS_CHANGE_FDGUARD_NP = 444
SYS_USRCTL = 445
SYS_PROC_RLIMIT_CONTROL = 446
SYS_CONNECTX = 447
SYS_DISCONNECTX = 448
SYS_PEELOFF = 449
SYS_SOCKET_DELEGATE = 450
SYS_TELEMETRY = 451
SYS_PROC_UUID_POLICY = 452
SYS_MEMORYSTATUS_GET_LEVEL = 453
SYS_SYSTEM_OVERRIDE = 454
SYS_VFS_PURGE = 455
SYS_SFI_CTL = 456
SYS_SFI_PIDCTL = 457
SYS_COALITION = 458
SYS_COALITION_INFO = 459
SYS_NECP_MATCH_POLICY = 460
SYS_GETATTRLISTBULK = 461
SYS_CLONEFILEAT = 462
SYS_OPENAT = 463
SYS_OPENAT_NOCANCEL = 464
SYS_RENAMEAT = 465
SYS_FACCESSAT = 466
SYS_FCHMODAT = 467
SYS_FCHOWNAT = 468
SYS_FSTATAT = 469
SYS_FSTATAT64 = 470
SYS_LINKAT = 471
SYS_UNLINKAT = 472
SYS_READLINKAT = 473
SYS_SYMLINKAT = 474
SYS_MKDIRAT = 475
SYS_GETATTRLISTAT = 476
SYS_PROC_TRACE_LOG = 477
SYS_BSDTHREAD_CTL = 478
SYS_OPENBYID_NP = 479
SYS_RECVMSG_X = 480
SYS_SENDMSG_X = 481
SYS_THREAD_SELFUSAGE = 482
SYS_CSRCTL = 483
SYS_GUARDED_OPEN_DPROTECTED_NP = 484
SYS_GUARDED_WRITE_NP = 485
SYS_GUARDED_PWRITE_NP = 486
SYS_GUARDED_WRITEV_NP = 487
SYS_RENAMEATX_NP = 488
SYS_MREMAP_ENCRYPTED = 489
SYS_NETAGENT_TRIGGER = 490
SYS_STACK_SNAPSHOT_WITH_CONFIG = 491
SYS_MICROSTACKSHOT = 492
SYS_GRAB_PGO_DATA = 493
SYS_PERSONA = 494
SYS_WORK_INTERVAL_CTL = 499
SYS_GETENTROPY = 500
SYS_NECP_OPEN = 501
SYS_NECP_CLIENT_ACTION = 502
SYS___NEXUS_OPEN = 503
SYS___NEXUS_REGISTER = 504
SYS___NEXUS_DEREGISTER = 505
SYS___NEXUS_CREATE = 506
SYS___NEXUS_DESTROY = 507
SYS___NEXUS_GET_OPT = 508
SYS___NEXUS_SET_OPT = 509
SYS___CHANNEL_OPEN = 510
SYS___CHANNEL_GET_INFO = 511
SYS___CHANNEL_SYNC = 512
SYS___CHANNEL_GET_OPT = 513
SYS___CHANNEL_SET_OPT = 514
SYS_ULOCK_WAIT = 515
SYS_ULOCK_WAKE = 516
SYS_FCLONEFILEAT = 517
SYS_FS_SNAPSHOT = 518
SYS_TERMINATE_WITH_PAYLOAD = 520
SYS_ABORT_WITH_PAYLOAD = 521
SYS_NECP_SESSION_OPEN = 522
SYS_NECP_SESSION_ACTION = 523
SYS_SETATTRLISTAT = 524
SYS_NET_QOS_GUIDELINE = 525
SYS_FMOUNT = 526
SYS_NTP_ADJTIME = 527
SYS_NTP_GETTIME = 528
SYS_OS_FAULT_WITH_PAYLOAD = 529
SYS_MAXSYSCALL = 530
SYS_INVALID = 63
)

View File

@ -1,438 +0,0 @@
// go run mksysnum.go /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.1.sdk/usr/include/sys/syscall.h
// Code generated by the command above; see README.md. DO NOT EDIT.
//go:build arm && darwin
// +build arm,darwin
package unix
// Deprecated: Use libSystem wrappers instead of direct syscalls.
const (
SYS_SYSCALL = 0
SYS_EXIT = 1
SYS_FORK = 2
SYS_READ = 3
SYS_WRITE = 4
SYS_OPEN = 5
SYS_CLOSE = 6
SYS_WAIT4 = 7
SYS_LINK = 9
SYS_UNLINK = 10
SYS_CHDIR = 12
SYS_FCHDIR = 13
SYS_MKNOD = 14
SYS_CHMOD = 15
SYS_CHOWN = 16
SYS_GETFSSTAT = 18
SYS_GETPID = 20
SYS_SETUID = 23
SYS_GETUID = 24
SYS_GETEUID = 25
SYS_PTRACE = 26
SYS_RECVMSG = 27
SYS_SENDMSG = 28
SYS_RECVFROM = 29
SYS_ACCEPT = 30
SYS_GETPEERNAME = 31
SYS_GETSOCKNAME = 32
SYS_ACCESS = 33
SYS_CHFLAGS = 34
SYS_FCHFLAGS = 35
SYS_SYNC = 36
SYS_KILL = 37
SYS_GETPPID = 39
SYS_DUP = 41
SYS_PIPE = 42
SYS_GETEGID = 43
SYS_SIGACTION = 46
SYS_GETGID = 47
SYS_SIGPROCMASK = 48
SYS_GETLOGIN = 49
SYS_SETLOGIN = 50
SYS_ACCT = 51
SYS_SIGPENDING = 52
SYS_SIGALTSTACK = 53
SYS_IOCTL = 54
SYS_REBOOT = 55
SYS_REVOKE = 56
SYS_SYMLINK = 57
SYS_READLINK = 58
SYS_EXECVE = 59
SYS_UMASK = 60
SYS_CHROOT = 61
SYS_MSYNC = 65
SYS_VFORK = 66
SYS_MUNMAP = 73
SYS_MPROTECT = 74
SYS_MADVISE = 75
SYS_MINCORE = 78
SYS_GETGROUPS = 79
SYS_SETGROUPS = 80
SYS_GETPGRP = 81
SYS_SETPGID = 82
SYS_SETITIMER = 83
SYS_SWAPON = 85
SYS_GETITIMER = 86
SYS_GETDTABLESIZE = 89
SYS_DUP2 = 90
SYS_FCNTL = 92
SYS_SELECT = 93
SYS_FSYNC = 95
SYS_SETPRIORITY = 96
SYS_SOCKET = 97
SYS_CONNECT = 98
SYS_GETPRIORITY = 100
SYS_BIND = 104
SYS_SETSOCKOPT = 105
SYS_LISTEN = 106
SYS_SIGSUSPEND = 111
SYS_GETTIMEOFDAY = 116
SYS_GETRUSAGE = 117
SYS_GETSOCKOPT = 118
SYS_READV = 120
SYS_WRITEV = 121
SYS_SETTIMEOFDAY = 122
SYS_FCHOWN = 123
SYS_FCHMOD = 124
SYS_SETREUID = 126
SYS_SETREGID = 127
SYS_RENAME = 128
SYS_FLOCK = 131
SYS_MKFIFO = 132
SYS_SENDTO = 133
SYS_SHUTDOWN = 134
SYS_SOCKETPAIR = 135
SYS_MKDIR = 136
SYS_RMDIR = 137
SYS_UTIMES = 138
SYS_FUTIMES = 139
SYS_ADJTIME = 140
SYS_GETHOSTUUID = 142
SYS_SETSID = 147
SYS_GETPGID = 151
SYS_SETPRIVEXEC = 152
SYS_PREAD = 153
SYS_PWRITE = 154
SYS_NFSSVC = 155
SYS_STATFS = 157
SYS_FSTATFS = 158
SYS_UNMOUNT = 159
SYS_GETFH = 161
SYS_QUOTACTL = 165
SYS_MOUNT = 167
SYS_CSOPS = 169
SYS_CSOPS_AUDITTOKEN = 170
SYS_WAITID = 173
SYS_KDEBUG_TYPEFILTER = 177
SYS_KDEBUG_TRACE_STRING = 178
SYS_KDEBUG_TRACE64 = 179
SYS_KDEBUG_TRACE = 180
SYS_SETGID = 181
SYS_SETEGID = 182
SYS_SETEUID = 183
SYS_SIGRETURN = 184
SYS_THREAD_SELFCOUNTS = 186
SYS_FDATASYNC = 187
SYS_STAT = 188
SYS_FSTAT = 189
SYS_LSTAT = 190
SYS_PATHCONF = 191
SYS_FPATHCONF = 192
SYS_GETRLIMIT = 194
SYS_SETRLIMIT = 195
SYS_GETDIRENTRIES = 196
SYS_MMAP = 197
SYS_LSEEK = 199
SYS_TRUNCATE = 200
SYS_FTRUNCATE = 201
SYS_SYSCTL = 202
SYS_MLOCK = 203
SYS_MUNLOCK = 204
SYS_UNDELETE = 205
SYS_OPEN_DPROTECTED_NP = 216
SYS_GETATTRLIST = 220
SYS_SETATTRLIST = 221
SYS_GETDIRENTRIESATTR = 222
SYS_EXCHANGEDATA = 223
SYS_SEARCHFS = 225
SYS_DELETE = 226
SYS_COPYFILE = 227
SYS_FGETATTRLIST = 228
SYS_FSETATTRLIST = 229
SYS_POLL = 230
SYS_WATCHEVENT = 231
SYS_WAITEVENT = 232
SYS_MODWATCH = 233
SYS_GETXATTR = 234
SYS_FGETXATTR = 235
SYS_SETXATTR = 236
SYS_FSETXATTR = 237
SYS_REMOVEXATTR = 238
SYS_FREMOVEXATTR = 239
SYS_LISTXATTR = 240
SYS_FLISTXATTR = 241
SYS_FSCTL = 242
SYS_INITGROUPS = 243
SYS_POSIX_SPAWN = 244
SYS_FFSCTL = 245
SYS_NFSCLNT = 247
SYS_FHOPEN = 248
SYS_MINHERIT = 250
SYS_SEMSYS = 251
SYS_MSGSYS = 252
SYS_SHMSYS = 253
SYS_SEMCTL = 254
SYS_SEMGET = 255
SYS_SEMOP = 256
SYS_MSGCTL = 258
SYS_MSGGET = 259
SYS_MSGSND = 260
SYS_MSGRCV = 261
SYS_SHMAT = 262
SYS_SHMCTL = 263
SYS_SHMDT = 264
SYS_SHMGET = 265
SYS_SHM_OPEN = 266
SYS_SHM_UNLINK = 267
SYS_SEM_OPEN = 268
SYS_SEM_CLOSE = 269
SYS_SEM_UNLINK = 270
SYS_SEM_WAIT = 271
SYS_SEM_TRYWAIT = 272
SYS_SEM_POST = 273
SYS_SYSCTLBYNAME = 274
SYS_OPEN_EXTENDED = 277
SYS_UMASK_EXTENDED = 278
SYS_STAT_EXTENDED = 279
SYS_LSTAT_EXTENDED = 280
SYS_FSTAT_EXTENDED = 281
SYS_CHMOD_EXTENDED = 282
SYS_FCHMOD_EXTENDED = 283
SYS_ACCESS_EXTENDED = 284
SYS_SETTID = 285
SYS_GETTID = 286
SYS_SETSGROUPS = 287
SYS_GETSGROUPS = 288
SYS_SETWGROUPS = 289
SYS_GETWGROUPS = 290
SYS_MKFIFO_EXTENDED = 291
SYS_MKDIR_EXTENDED = 292
SYS_IDENTITYSVC = 293
SYS_SHARED_REGION_CHECK_NP = 294
SYS_VM_PRESSURE_MONITOR = 296
SYS_PSYNCH_RW_LONGRDLOCK = 297
SYS_PSYNCH_RW_YIELDWRLOCK = 298
SYS_PSYNCH_RW_DOWNGRADE = 299
SYS_PSYNCH_RW_UPGRADE = 300
SYS_PSYNCH_MUTEXWAIT = 301
SYS_PSYNCH_MUTEXDROP = 302
SYS_PSYNCH_CVBROAD = 303
SYS_PSYNCH_CVSIGNAL = 304
SYS_PSYNCH_CVWAIT = 305
SYS_PSYNCH_RW_RDLOCK = 306
SYS_PSYNCH_RW_WRLOCK = 307
SYS_PSYNCH_RW_UNLOCK = 308
SYS_PSYNCH_RW_UNLOCK2 = 309
SYS_GETSID = 310
SYS_SETTID_WITH_PID = 311
SYS_PSYNCH_CVCLRPREPOST = 312
SYS_AIO_FSYNC = 313
SYS_AIO_RETURN = 314
SYS_AIO_SUSPEND = 315
SYS_AIO_CANCEL = 316
SYS_AIO_ERROR = 317
SYS_AIO_READ = 318
SYS_AIO_WRITE = 319
SYS_LIO_LISTIO = 320
SYS_IOPOLICYSYS = 322
SYS_PROCESS_POLICY = 323
SYS_MLOCKALL = 324
SYS_MUNLOCKALL = 325
SYS_ISSETUGID = 327
SYS___PTHREAD_KILL = 328
SYS___PTHREAD_SIGMASK = 329
SYS___SIGWAIT = 330
SYS___DISABLE_THREADSIGNAL = 331
SYS___PTHREAD_MARKCANCEL = 332
SYS___PTHREAD_CANCELED = 333
SYS___SEMWAIT_SIGNAL = 334
SYS_PROC_INFO = 336
SYS_SENDFILE = 337
SYS_STAT64 = 338
SYS_FSTAT64 = 339
SYS_LSTAT64 = 340
SYS_STAT64_EXTENDED = 341
SYS_LSTAT64_EXTENDED = 342
SYS_FSTAT64_EXTENDED = 343
SYS_GETDIRENTRIES64 = 344
SYS_STATFS64 = 345
SYS_FSTATFS64 = 346
SYS_GETFSSTAT64 = 347
SYS___PTHREAD_CHDIR = 348
SYS___PTHREAD_FCHDIR = 349
SYS_AUDIT = 350
SYS_AUDITON = 351
SYS_GETAUID = 353
SYS_SETAUID = 354
SYS_GETAUDIT_ADDR = 357
SYS_SETAUDIT_ADDR = 358
SYS_AUDITCTL = 359
SYS_BSDTHREAD_CREATE = 360
SYS_BSDTHREAD_TERMINATE = 361
SYS_KQUEUE = 362
SYS_KEVENT = 363
SYS_LCHOWN = 364
SYS_BSDTHREAD_REGISTER = 366
SYS_WORKQ_OPEN = 367
SYS_WORKQ_KERNRETURN = 368
SYS_KEVENT64 = 369
SYS___OLD_SEMWAIT_SIGNAL = 370
SYS___OLD_SEMWAIT_SIGNAL_NOCANCEL = 371
SYS_THREAD_SELFID = 372
SYS_LEDGER = 373
SYS_KEVENT_QOS = 374
SYS_KEVENT_ID = 375
SYS___MAC_EXECVE = 380
SYS___MAC_SYSCALL = 381
SYS___MAC_GET_FILE = 382
SYS___MAC_SET_FILE = 383
SYS___MAC_GET_LINK = 384
SYS___MAC_SET_LINK = 385
SYS___MAC_GET_PROC = 386
SYS___MAC_SET_PROC = 387
SYS___MAC_GET_FD = 388
SYS___MAC_SET_FD = 389
SYS___MAC_GET_PID = 390
SYS_PSELECT = 394
SYS_PSELECT_NOCANCEL = 395
SYS_READ_NOCANCEL = 396
SYS_WRITE_NOCANCEL = 397
SYS_OPEN_NOCANCEL = 398
SYS_CLOSE_NOCANCEL = 399
SYS_WAIT4_NOCANCEL = 400
SYS_RECVMSG_NOCANCEL = 401
SYS_SENDMSG_NOCANCEL = 402
SYS_RECVFROM_NOCANCEL = 403
SYS_ACCEPT_NOCANCEL = 404
SYS_MSYNC_NOCANCEL = 405
SYS_FCNTL_NOCANCEL = 406
SYS_SELECT_NOCANCEL = 407
SYS_FSYNC_NOCANCEL = 408
SYS_CONNECT_NOCANCEL = 409
SYS_SIGSUSPEND_NOCANCEL = 410
SYS_READV_NOCANCEL = 411
SYS_WRITEV_NOCANCEL = 412
SYS_SENDTO_NOCANCEL = 413
SYS_PREAD_NOCANCEL = 414
SYS_PWRITE_NOCANCEL = 415
SYS_WAITID_NOCANCEL = 416
SYS_POLL_NOCANCEL = 417
SYS_MSGSND_NOCANCEL = 418
SYS_MSGRCV_NOCANCEL = 419
SYS_SEM_WAIT_NOCANCEL = 420
SYS_AIO_SUSPEND_NOCANCEL = 421
SYS___SIGWAIT_NOCANCEL = 422
SYS___SEMWAIT_SIGNAL_NOCANCEL = 423
SYS___MAC_MOUNT = 424
SYS___MAC_GET_MOUNT = 425
SYS___MAC_GETFSSTAT = 426
SYS_FSGETPATH = 427
SYS_AUDIT_SESSION_SELF = 428
SYS_AUDIT_SESSION_JOIN = 429
SYS_FILEPORT_MAKEPORT = 430
SYS_FILEPORT_MAKEFD = 431
SYS_AUDIT_SESSION_PORT = 432
SYS_PID_SUSPEND = 433
SYS_PID_RESUME = 434
SYS_PID_HIBERNATE = 435
SYS_PID_SHUTDOWN_SOCKETS = 436
SYS_SHARED_REGION_MAP_AND_SLIDE_NP = 438
SYS_KAS_INFO = 439
SYS_MEMORYSTATUS_CONTROL = 440
SYS_GUARDED_OPEN_NP = 441
SYS_GUARDED_CLOSE_NP = 442
SYS_GUARDED_KQUEUE_NP = 443
SYS_CHANGE_FDGUARD_NP = 444
SYS_USRCTL = 445
SYS_PROC_RLIMIT_CONTROL = 446
SYS_CONNECTX = 447
SYS_DISCONNECTX = 448
SYS_PEELOFF = 449
SYS_SOCKET_DELEGATE = 450
SYS_TELEMETRY = 451
SYS_PROC_UUID_POLICY = 452
SYS_MEMORYSTATUS_GET_LEVEL = 453
SYS_SYSTEM_OVERRIDE = 454
SYS_VFS_PURGE = 455
SYS_SFI_CTL = 456
SYS_SFI_PIDCTL = 457
SYS_COALITION = 458
SYS_COALITION_INFO = 459
SYS_NECP_MATCH_POLICY = 460
SYS_GETATTRLISTBULK = 461
SYS_CLONEFILEAT = 462
SYS_OPENAT = 463
SYS_OPENAT_NOCANCEL = 464
SYS_RENAMEAT = 465
SYS_FACCESSAT = 466
SYS_FCHMODAT = 467
SYS_FCHOWNAT = 468
SYS_FSTATAT = 469
SYS_FSTATAT64 = 470
SYS_LINKAT = 471
SYS_UNLINKAT = 472
SYS_READLINKAT = 473
SYS_SYMLINKAT = 474
SYS_MKDIRAT = 475
SYS_GETATTRLISTAT = 476
SYS_PROC_TRACE_LOG = 477
SYS_BSDTHREAD_CTL = 478
SYS_OPENBYID_NP = 479
SYS_RECVMSG_X = 480
SYS_SENDMSG_X = 481
SYS_THREAD_SELFUSAGE = 482
SYS_CSRCTL = 483
SYS_GUARDED_OPEN_DPROTECTED_NP = 484
SYS_GUARDED_WRITE_NP = 485
SYS_GUARDED_PWRITE_NP = 486
SYS_GUARDED_WRITEV_NP = 487
SYS_RENAMEATX_NP = 488
SYS_MREMAP_ENCRYPTED = 489
SYS_NETAGENT_TRIGGER = 490
SYS_STACK_SNAPSHOT_WITH_CONFIG = 491
SYS_MICROSTACKSHOT = 492
SYS_GRAB_PGO_DATA = 493
SYS_PERSONA = 494
SYS_WORK_INTERVAL_CTL = 499
SYS_GETENTROPY = 500
SYS_NECP_OPEN = 501
SYS_NECP_CLIENT_ACTION = 502
SYS___NEXUS_OPEN = 503
SYS___NEXUS_REGISTER = 504
SYS___NEXUS_DEREGISTER = 505
SYS___NEXUS_CREATE = 506
SYS___NEXUS_DESTROY = 507
SYS___NEXUS_GET_OPT = 508
SYS___NEXUS_SET_OPT = 509
SYS___CHANNEL_OPEN = 510
SYS___CHANNEL_GET_INFO = 511
SYS___CHANNEL_SYNC = 512
SYS___CHANNEL_GET_OPT = 513
SYS___CHANNEL_SET_OPT = 514
SYS_ULOCK_WAIT = 515
SYS_ULOCK_WAKE = 516
SYS_FCLONEFILEAT = 517
SYS_FS_SNAPSHOT = 518
SYS_TERMINATE_WITH_PAYLOAD = 520
SYS_ABORT_WITH_PAYLOAD = 521
SYS_NECP_SESSION_OPEN = 522
SYS_NECP_SESSION_ACTION = 523
SYS_SETATTRLISTAT = 524
SYS_NET_QOS_GUIDELINE = 525
SYS_FMOUNT = 526
SYS_NTP_ADJTIME = 527
SYS_NTP_GETTIME = 528
SYS_OS_FAULT_WITH_PAYLOAD = 529
SYS_MAXSYSCALL = 530
SYS_INVALID = 63
)

View File

@ -439,4 +439,7 @@ const (
SYS_PROCESS_MADVISE = 440 SYS_PROCESS_MADVISE = 440
SYS_EPOLL_PWAIT2 = 441 SYS_EPOLL_PWAIT2 = 441
SYS_MOUNT_SETATTR = 442 SYS_MOUNT_SETATTR = 442
SYS_LANDLOCK_CREATE_RULESET = 444
SYS_LANDLOCK_ADD_RULE = 445
SYS_LANDLOCK_RESTRICT_SELF = 446
) )

View File

@ -7,358 +7,361 @@
package unix package unix
const ( const (
SYS_READ = 0 SYS_READ = 0
SYS_WRITE = 1 SYS_WRITE = 1
SYS_OPEN = 2 SYS_OPEN = 2
SYS_CLOSE = 3 SYS_CLOSE = 3
SYS_STAT = 4 SYS_STAT = 4
SYS_FSTAT = 5 SYS_FSTAT = 5
SYS_LSTAT = 6 SYS_LSTAT = 6
SYS_POLL = 7 SYS_POLL = 7
SYS_LSEEK = 8 SYS_LSEEK = 8
SYS_MMAP = 9 SYS_MMAP = 9
SYS_MPROTECT = 10 SYS_MPROTECT = 10
SYS_MUNMAP = 11 SYS_MUNMAP = 11
SYS_BRK = 12 SYS_BRK = 12
SYS_RT_SIGACTION = 13 SYS_RT_SIGACTION = 13
SYS_RT_SIGPROCMASK = 14 SYS_RT_SIGPROCMASK = 14
SYS_RT_SIGRETURN = 15 SYS_RT_SIGRETURN = 15
SYS_IOCTL = 16 SYS_IOCTL = 16
SYS_PREAD64 = 17 SYS_PREAD64 = 17
SYS_PWRITE64 = 18 SYS_PWRITE64 = 18
SYS_READV = 19 SYS_READV = 19
SYS_WRITEV = 20 SYS_WRITEV = 20
SYS_ACCESS = 21 SYS_ACCESS = 21
SYS_PIPE = 22 SYS_PIPE = 22
SYS_SELECT = 23 SYS_SELECT = 23
SYS_SCHED_YIELD = 24 SYS_SCHED_YIELD = 24
SYS_MREMAP = 25 SYS_MREMAP = 25
SYS_MSYNC = 26 SYS_MSYNC = 26
SYS_MINCORE = 27 SYS_MINCORE = 27
SYS_MADVISE = 28 SYS_MADVISE = 28
SYS_SHMGET = 29 SYS_SHMGET = 29
SYS_SHMAT = 30 SYS_SHMAT = 30
SYS_SHMCTL = 31 SYS_SHMCTL = 31
SYS_DUP = 32 SYS_DUP = 32
SYS_DUP2 = 33 SYS_DUP2 = 33
SYS_PAUSE = 34 SYS_PAUSE = 34
SYS_NANOSLEEP = 35 SYS_NANOSLEEP = 35
SYS_GETITIMER = 36 SYS_GETITIMER = 36
SYS_ALARM = 37 SYS_ALARM = 37
SYS_SETITIMER = 38 SYS_SETITIMER = 38
SYS_GETPID = 39 SYS_GETPID = 39
SYS_SENDFILE = 40 SYS_SENDFILE = 40
SYS_SOCKET = 41 SYS_SOCKET = 41
SYS_CONNECT = 42 SYS_CONNECT = 42
SYS_ACCEPT = 43 SYS_ACCEPT = 43
SYS_SENDTO = 44 SYS_SENDTO = 44
SYS_RECVFROM = 45 SYS_RECVFROM = 45
SYS_SENDMSG = 46 SYS_SENDMSG = 46
SYS_RECVMSG = 47 SYS_RECVMSG = 47
SYS_SHUTDOWN = 48 SYS_SHUTDOWN = 48
SYS_BIND = 49 SYS_BIND = 49
SYS_LISTEN = 50 SYS_LISTEN = 50
SYS_GETSOCKNAME = 51 SYS_GETSOCKNAME = 51
SYS_GETPEERNAME = 52 SYS_GETPEERNAME = 52
SYS_SOCKETPAIR = 53 SYS_SOCKETPAIR = 53
SYS_SETSOCKOPT = 54 SYS_SETSOCKOPT = 54
SYS_GETSOCKOPT = 55 SYS_GETSOCKOPT = 55
SYS_CLONE = 56 SYS_CLONE = 56
SYS_FORK = 57 SYS_FORK = 57
SYS_VFORK = 58 SYS_VFORK = 58
SYS_EXECVE = 59 SYS_EXECVE = 59
SYS_EXIT = 60 SYS_EXIT = 60
SYS_WAIT4 = 61 SYS_WAIT4 = 61
SYS_KILL = 62 SYS_KILL = 62
SYS_UNAME = 63 SYS_UNAME = 63
SYS_SEMGET = 64 SYS_SEMGET = 64
SYS_SEMOP = 65 SYS_SEMOP = 65
SYS_SEMCTL = 66 SYS_SEMCTL = 66
SYS_SHMDT = 67 SYS_SHMDT = 67
SYS_MSGGET = 68 SYS_MSGGET = 68
SYS_MSGSND = 69 SYS_MSGSND = 69
SYS_MSGRCV = 70 SYS_MSGRCV = 70
SYS_MSGCTL = 71 SYS_MSGCTL = 71
SYS_FCNTL = 72 SYS_FCNTL = 72
SYS_FLOCK = 73 SYS_FLOCK = 73
SYS_FSYNC = 74 SYS_FSYNC = 74
SYS_FDATASYNC = 75 SYS_FDATASYNC = 75
SYS_TRUNCATE = 76 SYS_TRUNCATE = 76
SYS_FTRUNCATE = 77 SYS_FTRUNCATE = 77
SYS_GETDENTS = 78 SYS_GETDENTS = 78
SYS_GETCWD = 79 SYS_GETCWD = 79
SYS_CHDIR = 80 SYS_CHDIR = 80
SYS_FCHDIR = 81 SYS_FCHDIR = 81
SYS_RENAME = 82 SYS_RENAME = 82
SYS_MKDIR = 83 SYS_MKDIR = 83
SYS_RMDIR = 84 SYS_RMDIR = 84
SYS_CREAT = 85 SYS_CREAT = 85
SYS_LINK = 86 SYS_LINK = 86
SYS_UNLINK = 87 SYS_UNLINK = 87
SYS_SYMLINK = 88 SYS_SYMLINK = 88
SYS_READLINK = 89 SYS_READLINK = 89
SYS_CHMOD = 90 SYS_CHMOD = 90
SYS_FCHMOD = 91 SYS_FCHMOD = 91
SYS_CHOWN = 92 SYS_CHOWN = 92
SYS_FCHOWN = 93 SYS_FCHOWN = 93
SYS_LCHOWN = 94 SYS_LCHOWN = 94
SYS_UMASK = 95 SYS_UMASK = 95
SYS_GETTIMEOFDAY = 96 SYS_GETTIMEOFDAY = 96
SYS_GETRLIMIT = 97 SYS_GETRLIMIT = 97
SYS_GETRUSAGE = 98 SYS_GETRUSAGE = 98
SYS_SYSINFO = 99 SYS_SYSINFO = 99
SYS_TIMES = 100 SYS_TIMES = 100
SYS_PTRACE = 101 SYS_PTRACE = 101
SYS_GETUID = 102 SYS_GETUID = 102
SYS_SYSLOG = 103 SYS_SYSLOG = 103
SYS_GETGID = 104 SYS_GETGID = 104
SYS_SETUID = 105 SYS_SETUID = 105
SYS_SETGID = 106 SYS_SETGID = 106
SYS_GETEUID = 107 SYS_GETEUID = 107
SYS_GETEGID = 108 SYS_GETEGID = 108
SYS_SETPGID = 109 SYS_SETPGID = 109
SYS_GETPPID = 110 SYS_GETPPID = 110
SYS_GETPGRP = 111 SYS_GETPGRP = 111
SYS_SETSID = 112 SYS_SETSID = 112
SYS_SETREUID = 113 SYS_SETREUID = 113
SYS_SETREGID = 114 SYS_SETREGID = 114
SYS_GETGROUPS = 115 SYS_GETGROUPS = 115
SYS_SETGROUPS = 116 SYS_SETGROUPS = 116
SYS_SETRESUID = 117 SYS_SETRESUID = 117
SYS_GETRESUID = 118 SYS_GETRESUID = 118
SYS_SETRESGID = 119 SYS_SETRESGID = 119
SYS_GETRESGID = 120 SYS_GETRESGID = 120
SYS_GETPGID = 121 SYS_GETPGID = 121
SYS_SETFSUID = 122 SYS_SETFSUID = 122
SYS_SETFSGID = 123 SYS_SETFSGID = 123
SYS_GETSID = 124 SYS_GETSID = 124
SYS_CAPGET = 125 SYS_CAPGET = 125
SYS_CAPSET = 126 SYS_CAPSET = 126
SYS_RT_SIGPENDING = 127 SYS_RT_SIGPENDING = 127
SYS_RT_SIGTIMEDWAIT = 128 SYS_RT_SIGTIMEDWAIT = 128
SYS_RT_SIGQUEUEINFO = 129 SYS_RT_SIGQUEUEINFO = 129
SYS_RT_SIGSUSPEND = 130 SYS_RT_SIGSUSPEND = 130
SYS_SIGALTSTACK = 131 SYS_SIGALTSTACK = 131
SYS_UTIME = 132 SYS_UTIME = 132
SYS_MKNOD = 133 SYS_MKNOD = 133
SYS_USELIB = 134 SYS_USELIB = 134
SYS_PERSONALITY = 135 SYS_PERSONALITY = 135
SYS_USTAT = 136 SYS_USTAT = 136
SYS_STATFS = 137 SYS_STATFS = 137
SYS_FSTATFS = 138 SYS_FSTATFS = 138
SYS_SYSFS = 139 SYS_SYSFS = 139
SYS_GETPRIORITY = 140 SYS_GETPRIORITY = 140
SYS_SETPRIORITY = 141 SYS_SETPRIORITY = 141
SYS_SCHED_SETPARAM = 142 SYS_SCHED_SETPARAM = 142
SYS_SCHED_GETPARAM = 143 SYS_SCHED_GETPARAM = 143
SYS_SCHED_SETSCHEDULER = 144 SYS_SCHED_SETSCHEDULER = 144
SYS_SCHED_GETSCHEDULER = 145 SYS_SCHED_GETSCHEDULER = 145
SYS_SCHED_GET_PRIORITY_MAX = 146 SYS_SCHED_GET_PRIORITY_MAX = 146
SYS_SCHED_GET_PRIORITY_MIN = 147 SYS_SCHED_GET_PRIORITY_MIN = 147
SYS_SCHED_RR_GET_INTERVAL = 148 SYS_SCHED_RR_GET_INTERVAL = 148
SYS_MLOCK = 149 SYS_MLOCK = 149
SYS_MUNLOCK = 150 SYS_MUNLOCK = 150
SYS_MLOCKALL = 151 SYS_MLOCKALL = 151
SYS_MUNLOCKALL = 152 SYS_MUNLOCKALL = 152
SYS_VHANGUP = 153 SYS_VHANGUP = 153
SYS_MODIFY_LDT = 154 SYS_MODIFY_LDT = 154
SYS_PIVOT_ROOT = 155 SYS_PIVOT_ROOT = 155
SYS__SYSCTL = 156 SYS__SYSCTL = 156
SYS_PRCTL = 157 SYS_PRCTL = 157
SYS_ARCH_PRCTL = 158 SYS_ARCH_PRCTL = 158
SYS_ADJTIMEX = 159 SYS_ADJTIMEX = 159
SYS_SETRLIMIT = 160 SYS_SETRLIMIT = 160
SYS_CHROOT = 161 SYS_CHROOT = 161
SYS_SYNC = 162 SYS_SYNC = 162
SYS_ACCT = 163 SYS_ACCT = 163
SYS_SETTIMEOFDAY = 164 SYS_SETTIMEOFDAY = 164
SYS_MOUNT = 165 SYS_MOUNT = 165
SYS_UMOUNT2 = 166 SYS_UMOUNT2 = 166
SYS_SWAPON = 167 SYS_SWAPON = 167
SYS_SWAPOFF = 168 SYS_SWAPOFF = 168
SYS_REBOOT = 169 SYS_REBOOT = 169
SYS_SETHOSTNAME = 170 SYS_SETHOSTNAME = 170
SYS_SETDOMAINNAME = 171 SYS_SETDOMAINNAME = 171
SYS_IOPL = 172 SYS_IOPL = 172
SYS_IOPERM = 173 SYS_IOPERM = 173
SYS_CREATE_MODULE = 174 SYS_CREATE_MODULE = 174
SYS_INIT_MODULE = 175 SYS_INIT_MODULE = 175
SYS_DELETE_MODULE = 176 SYS_DELETE_MODULE = 176
SYS_GET_KERNEL_SYMS = 177 SYS_GET_KERNEL_SYMS = 177
SYS_QUERY_MODULE = 178 SYS_QUERY_MODULE = 178
SYS_QUOTACTL = 179 SYS_QUOTACTL = 179
SYS_NFSSERVCTL = 180 SYS_NFSSERVCTL = 180
SYS_GETPMSG = 181 SYS_GETPMSG = 181
SYS_PUTPMSG = 182 SYS_PUTPMSG = 182
SYS_AFS_SYSCALL = 183 SYS_AFS_SYSCALL = 183
SYS_TUXCALL = 184 SYS_TUXCALL = 184
SYS_SECURITY = 185 SYS_SECURITY = 185
SYS_GETTID = 186 SYS_GETTID = 186
SYS_READAHEAD = 187 SYS_READAHEAD = 187
SYS_SETXATTR = 188 SYS_SETXATTR = 188
SYS_LSETXATTR = 189 SYS_LSETXATTR = 189
SYS_FSETXATTR = 190 SYS_FSETXATTR = 190
SYS_GETXATTR = 191 SYS_GETXATTR = 191
SYS_LGETXATTR = 192 SYS_LGETXATTR = 192
SYS_FGETXATTR = 193 SYS_FGETXATTR = 193
SYS_LISTXATTR = 194 SYS_LISTXATTR = 194
SYS_LLISTXATTR = 195 SYS_LLISTXATTR = 195
SYS_FLISTXATTR = 196 SYS_FLISTXATTR = 196
SYS_REMOVEXATTR = 197 SYS_REMOVEXATTR = 197
SYS_LREMOVEXATTR = 198 SYS_LREMOVEXATTR = 198
SYS_FREMOVEXATTR = 199 SYS_FREMOVEXATTR = 199
SYS_TKILL = 200 SYS_TKILL = 200
SYS_TIME = 201 SYS_TIME = 201
SYS_FUTEX = 202 SYS_FUTEX = 202
SYS_SCHED_SETAFFINITY = 203 SYS_SCHED_SETAFFINITY = 203
SYS_SCHED_GETAFFINITY = 204 SYS_SCHED_GETAFFINITY = 204
SYS_SET_THREAD_AREA = 205 SYS_SET_THREAD_AREA = 205
SYS_IO_SETUP = 206 SYS_IO_SETUP = 206
SYS_IO_DESTROY = 207 SYS_IO_DESTROY = 207
SYS_IO_GETEVENTS = 208 SYS_IO_GETEVENTS = 208
SYS_IO_SUBMIT = 209 SYS_IO_SUBMIT = 209
SYS_IO_CANCEL = 210 SYS_IO_CANCEL = 210
SYS_GET_THREAD_AREA = 211 SYS_GET_THREAD_AREA = 211
SYS_LOOKUP_DCOOKIE = 212 SYS_LOOKUP_DCOOKIE = 212
SYS_EPOLL_CREATE = 213 SYS_EPOLL_CREATE = 213
SYS_EPOLL_CTL_OLD = 214 SYS_EPOLL_CTL_OLD = 214
SYS_EPOLL_WAIT_OLD = 215 SYS_EPOLL_WAIT_OLD = 215
SYS_REMAP_FILE_PAGES = 216 SYS_REMAP_FILE_PAGES = 216
SYS_GETDENTS64 = 217 SYS_GETDENTS64 = 217
SYS_SET_TID_ADDRESS = 218 SYS_SET_TID_ADDRESS = 218
SYS_RESTART_SYSCALL = 219 SYS_RESTART_SYSCALL = 219
SYS_SEMTIMEDOP = 220 SYS_SEMTIMEDOP = 220
SYS_FADVISE64 = 221 SYS_FADVISE64 = 221
SYS_TIMER_CREATE = 222 SYS_TIMER_CREATE = 222
SYS_TIMER_SETTIME = 223 SYS_TIMER_SETTIME = 223
SYS_TIMER_GETTIME = 224 SYS_TIMER_GETTIME = 224
SYS_TIMER_GETOVERRUN = 225 SYS_TIMER_GETOVERRUN = 225
SYS_TIMER_DELETE = 226 SYS_TIMER_DELETE = 226
SYS_CLOCK_SETTIME = 227 SYS_CLOCK_SETTIME = 227
SYS_CLOCK_GETTIME = 228 SYS_CLOCK_GETTIME = 228
SYS_CLOCK_GETRES = 229 SYS_CLOCK_GETRES = 229
SYS_CLOCK_NANOSLEEP = 230 SYS_CLOCK_NANOSLEEP = 230
SYS_EXIT_GROUP = 231 SYS_EXIT_GROUP = 231
SYS_EPOLL_WAIT = 232 SYS_EPOLL_WAIT = 232
SYS_EPOLL_CTL = 233 SYS_EPOLL_CTL = 233
SYS_TGKILL = 234 SYS_TGKILL = 234
SYS_UTIMES = 235 SYS_UTIMES = 235
SYS_VSERVER = 236 SYS_VSERVER = 236
SYS_MBIND = 237 SYS_MBIND = 237
SYS_SET_MEMPOLICY = 238 SYS_SET_MEMPOLICY = 238
SYS_GET_MEMPOLICY = 239 SYS_GET_MEMPOLICY = 239
SYS_MQ_OPEN = 240 SYS_MQ_OPEN = 240
SYS_MQ_UNLINK = 241 SYS_MQ_UNLINK = 241
SYS_MQ_TIMEDSEND = 242 SYS_MQ_TIMEDSEND = 242
SYS_MQ_TIMEDRECEIVE = 243 SYS_MQ_TIMEDRECEIVE = 243
SYS_MQ_NOTIFY = 244 SYS_MQ_NOTIFY = 244
SYS_MQ_GETSETATTR = 245 SYS_MQ_GETSETATTR = 245
SYS_KEXEC_LOAD = 246 SYS_KEXEC_LOAD = 246
SYS_WAITID = 247 SYS_WAITID = 247
SYS_ADD_KEY = 248 SYS_ADD_KEY = 248
SYS_REQUEST_KEY = 249 SYS_REQUEST_KEY = 249
SYS_KEYCTL = 250 SYS_KEYCTL = 250
SYS_IOPRIO_SET = 251 SYS_IOPRIO_SET = 251
SYS_IOPRIO_GET = 252 SYS_IOPRIO_GET = 252
SYS_INOTIFY_INIT = 253 SYS_INOTIFY_INIT = 253
SYS_INOTIFY_ADD_WATCH = 254 SYS_INOTIFY_ADD_WATCH = 254
SYS_INOTIFY_RM_WATCH = 255 SYS_INOTIFY_RM_WATCH = 255
SYS_MIGRATE_PAGES = 256 SYS_MIGRATE_PAGES = 256
SYS_OPENAT = 257 SYS_OPENAT = 257
SYS_MKDIRAT = 258 SYS_MKDIRAT = 258
SYS_MKNODAT = 259 SYS_MKNODAT = 259
SYS_FCHOWNAT = 260 SYS_FCHOWNAT = 260
SYS_FUTIMESAT = 261 SYS_FUTIMESAT = 261
SYS_NEWFSTATAT = 262 SYS_NEWFSTATAT = 262
SYS_UNLINKAT = 263 SYS_UNLINKAT = 263
SYS_RENAMEAT = 264 SYS_RENAMEAT = 264
SYS_LINKAT = 265 SYS_LINKAT = 265
SYS_SYMLINKAT = 266 SYS_SYMLINKAT = 266
SYS_READLINKAT = 267 SYS_READLINKAT = 267
SYS_FCHMODAT = 268 SYS_FCHMODAT = 268
SYS_FACCESSAT = 269 SYS_FACCESSAT = 269
SYS_PSELECT6 = 270 SYS_PSELECT6 = 270
SYS_PPOLL = 271 SYS_PPOLL = 271
SYS_UNSHARE = 272 SYS_UNSHARE = 272
SYS_SET_ROBUST_LIST = 273 SYS_SET_ROBUST_LIST = 273
SYS_GET_ROBUST_LIST = 274 SYS_GET_ROBUST_LIST = 274
SYS_SPLICE = 275 SYS_SPLICE = 275
SYS_TEE = 276 SYS_TEE = 276
SYS_SYNC_FILE_RANGE = 277 SYS_SYNC_FILE_RANGE = 277
SYS_VMSPLICE = 278 SYS_VMSPLICE = 278
SYS_MOVE_PAGES = 279 SYS_MOVE_PAGES = 279
SYS_UTIMENSAT = 280 SYS_UTIMENSAT = 280
SYS_EPOLL_PWAIT = 281 SYS_EPOLL_PWAIT = 281
SYS_SIGNALFD = 282 SYS_SIGNALFD = 282
SYS_TIMERFD_CREATE = 283 SYS_TIMERFD_CREATE = 283
SYS_EVENTFD = 284 SYS_EVENTFD = 284
SYS_FALLOCATE = 285 SYS_FALLOCATE = 285
SYS_TIMERFD_SETTIME = 286 SYS_TIMERFD_SETTIME = 286
SYS_TIMERFD_GETTIME = 287 SYS_TIMERFD_GETTIME = 287
SYS_ACCEPT4 = 288 SYS_ACCEPT4 = 288
SYS_SIGNALFD4 = 289 SYS_SIGNALFD4 = 289
SYS_EVENTFD2 = 290 SYS_EVENTFD2 = 290
SYS_EPOLL_CREATE1 = 291 SYS_EPOLL_CREATE1 = 291
SYS_DUP3 = 292 SYS_DUP3 = 292
SYS_PIPE2 = 293 SYS_PIPE2 = 293
SYS_INOTIFY_INIT1 = 294 SYS_INOTIFY_INIT1 = 294
SYS_PREADV = 295 SYS_PREADV = 295
SYS_PWRITEV = 296 SYS_PWRITEV = 296
SYS_RT_TGSIGQUEUEINFO = 297 SYS_RT_TGSIGQUEUEINFO = 297
SYS_PERF_EVENT_OPEN = 298 SYS_PERF_EVENT_OPEN = 298
SYS_RECVMMSG = 299 SYS_RECVMMSG = 299
SYS_FANOTIFY_INIT = 300 SYS_FANOTIFY_INIT = 300
SYS_FANOTIFY_MARK = 301 SYS_FANOTIFY_MARK = 301
SYS_PRLIMIT64 = 302 SYS_PRLIMIT64 = 302
SYS_NAME_TO_HANDLE_AT = 303 SYS_NAME_TO_HANDLE_AT = 303
SYS_OPEN_BY_HANDLE_AT = 304 SYS_OPEN_BY_HANDLE_AT = 304
SYS_CLOCK_ADJTIME = 305 SYS_CLOCK_ADJTIME = 305
SYS_SYNCFS = 306 SYS_SYNCFS = 306
SYS_SENDMMSG = 307 SYS_SENDMMSG = 307
SYS_SETNS = 308 SYS_SETNS = 308
SYS_GETCPU = 309 SYS_GETCPU = 309
SYS_PROCESS_VM_READV = 310 SYS_PROCESS_VM_READV = 310
SYS_PROCESS_VM_WRITEV = 311 SYS_PROCESS_VM_WRITEV = 311
SYS_KCMP = 312 SYS_KCMP = 312
SYS_FINIT_MODULE = 313 SYS_FINIT_MODULE = 313
SYS_SCHED_SETATTR = 314 SYS_SCHED_SETATTR = 314
SYS_SCHED_GETATTR = 315 SYS_SCHED_GETATTR = 315
SYS_RENAMEAT2 = 316 SYS_RENAMEAT2 = 316
SYS_SECCOMP = 317 SYS_SECCOMP = 317
SYS_GETRANDOM = 318 SYS_GETRANDOM = 318
SYS_MEMFD_CREATE = 319 SYS_MEMFD_CREATE = 319
SYS_KEXEC_FILE_LOAD = 320 SYS_KEXEC_FILE_LOAD = 320
SYS_BPF = 321 SYS_BPF = 321
SYS_EXECVEAT = 322 SYS_EXECVEAT = 322
SYS_USERFAULTFD = 323 SYS_USERFAULTFD = 323
SYS_MEMBARRIER = 324 SYS_MEMBARRIER = 324
SYS_MLOCK2 = 325 SYS_MLOCK2 = 325
SYS_COPY_FILE_RANGE = 326 SYS_COPY_FILE_RANGE = 326
SYS_PREADV2 = 327 SYS_PREADV2 = 327
SYS_PWRITEV2 = 328 SYS_PWRITEV2 = 328
SYS_PKEY_MPROTECT = 329 SYS_PKEY_MPROTECT = 329
SYS_PKEY_ALLOC = 330 SYS_PKEY_ALLOC = 330
SYS_PKEY_FREE = 331 SYS_PKEY_FREE = 331
SYS_STATX = 332 SYS_STATX = 332
SYS_IO_PGETEVENTS = 333 SYS_IO_PGETEVENTS = 333
SYS_RSEQ = 334 SYS_RSEQ = 334
SYS_PIDFD_SEND_SIGNAL = 424 SYS_PIDFD_SEND_SIGNAL = 424
SYS_IO_URING_SETUP = 425 SYS_IO_URING_SETUP = 425
SYS_IO_URING_ENTER = 426 SYS_IO_URING_ENTER = 426
SYS_IO_URING_REGISTER = 427 SYS_IO_URING_REGISTER = 427
SYS_OPEN_TREE = 428 SYS_OPEN_TREE = 428
SYS_MOVE_MOUNT = 429 SYS_MOVE_MOUNT = 429
SYS_FSOPEN = 430 SYS_FSOPEN = 430
SYS_FSCONFIG = 431 SYS_FSCONFIG = 431
SYS_FSMOUNT = 432 SYS_FSMOUNT = 432
SYS_FSPICK = 433 SYS_FSPICK = 433
SYS_PIDFD_OPEN = 434 SYS_PIDFD_OPEN = 434
SYS_CLONE3 = 435 SYS_CLONE3 = 435
SYS_CLOSE_RANGE = 436 SYS_CLOSE_RANGE = 436
SYS_OPENAT2 = 437 SYS_OPENAT2 = 437
SYS_PIDFD_GETFD = 438 SYS_PIDFD_GETFD = 438
SYS_FACCESSAT2 = 439 SYS_FACCESSAT2 = 439
SYS_PROCESS_MADVISE = 440 SYS_PROCESS_MADVISE = 440
SYS_EPOLL_PWAIT2 = 441 SYS_EPOLL_PWAIT2 = 441
SYS_MOUNT_SETATTR = 442 SYS_MOUNT_SETATTR = 442
SYS_LANDLOCK_CREATE_RULESET = 444
SYS_LANDLOCK_ADD_RULE = 445
SYS_LANDLOCK_RESTRICT_SELF = 446
) )

View File

@ -403,4 +403,7 @@ const (
SYS_PROCESS_MADVISE = 440 SYS_PROCESS_MADVISE = 440
SYS_EPOLL_PWAIT2 = 441 SYS_EPOLL_PWAIT2 = 441
SYS_MOUNT_SETATTR = 442 SYS_MOUNT_SETATTR = 442
SYS_LANDLOCK_CREATE_RULESET = 444
SYS_LANDLOCK_ADD_RULE = 445
SYS_LANDLOCK_RESTRICT_SELF = 446
) )

View File

@ -7,303 +7,306 @@
package unix package unix
const ( const (
SYS_IO_SETUP = 0 SYS_IO_SETUP = 0
SYS_IO_DESTROY = 1 SYS_IO_DESTROY = 1
SYS_IO_SUBMIT = 2 SYS_IO_SUBMIT = 2
SYS_IO_CANCEL = 3 SYS_IO_CANCEL = 3
SYS_IO_GETEVENTS = 4 SYS_IO_GETEVENTS = 4
SYS_SETXATTR = 5 SYS_SETXATTR = 5
SYS_LSETXATTR = 6 SYS_LSETXATTR = 6
SYS_FSETXATTR = 7 SYS_FSETXATTR = 7
SYS_GETXATTR = 8 SYS_GETXATTR = 8
SYS_LGETXATTR = 9 SYS_LGETXATTR = 9
SYS_FGETXATTR = 10 SYS_FGETXATTR = 10
SYS_LISTXATTR = 11 SYS_LISTXATTR = 11
SYS_LLISTXATTR = 12 SYS_LLISTXATTR = 12
SYS_FLISTXATTR = 13 SYS_FLISTXATTR = 13
SYS_REMOVEXATTR = 14 SYS_REMOVEXATTR = 14
SYS_LREMOVEXATTR = 15 SYS_LREMOVEXATTR = 15
SYS_FREMOVEXATTR = 16 SYS_FREMOVEXATTR = 16
SYS_GETCWD = 17 SYS_GETCWD = 17
SYS_LOOKUP_DCOOKIE = 18 SYS_LOOKUP_DCOOKIE = 18
SYS_EVENTFD2 = 19 SYS_EVENTFD2 = 19
SYS_EPOLL_CREATE1 = 20 SYS_EPOLL_CREATE1 = 20
SYS_EPOLL_CTL = 21 SYS_EPOLL_CTL = 21
SYS_EPOLL_PWAIT = 22 SYS_EPOLL_PWAIT = 22
SYS_DUP = 23 SYS_DUP = 23
SYS_DUP3 = 24 SYS_DUP3 = 24
SYS_FCNTL = 25 SYS_FCNTL = 25
SYS_INOTIFY_INIT1 = 26 SYS_INOTIFY_INIT1 = 26
SYS_INOTIFY_ADD_WATCH = 27 SYS_INOTIFY_ADD_WATCH = 27
SYS_INOTIFY_RM_WATCH = 28 SYS_INOTIFY_RM_WATCH = 28
SYS_IOCTL = 29 SYS_IOCTL = 29
SYS_IOPRIO_SET = 30 SYS_IOPRIO_SET = 30
SYS_IOPRIO_GET = 31 SYS_IOPRIO_GET = 31
SYS_FLOCK = 32 SYS_FLOCK = 32
SYS_MKNODAT = 33 SYS_MKNODAT = 33
SYS_MKDIRAT = 34 SYS_MKDIRAT = 34
SYS_UNLINKAT = 35 SYS_UNLINKAT = 35
SYS_SYMLINKAT = 36 SYS_SYMLINKAT = 36
SYS_LINKAT = 37 SYS_LINKAT = 37
SYS_RENAMEAT = 38 SYS_RENAMEAT = 38
SYS_UMOUNT2 = 39 SYS_UMOUNT2 = 39
SYS_MOUNT = 40 SYS_MOUNT = 40
SYS_PIVOT_ROOT = 41 SYS_PIVOT_ROOT = 41
SYS_NFSSERVCTL = 42 SYS_NFSSERVCTL = 42
SYS_STATFS = 43 SYS_STATFS = 43
SYS_FSTATFS = 44 SYS_FSTATFS = 44
SYS_TRUNCATE = 45 SYS_TRUNCATE = 45
SYS_FTRUNCATE = 46 SYS_FTRUNCATE = 46
SYS_FALLOCATE = 47 SYS_FALLOCATE = 47
SYS_FACCESSAT = 48 SYS_FACCESSAT = 48
SYS_CHDIR = 49 SYS_CHDIR = 49
SYS_FCHDIR = 50 SYS_FCHDIR = 50
SYS_CHROOT = 51 SYS_CHROOT = 51
SYS_FCHMOD = 52 SYS_FCHMOD = 52
SYS_FCHMODAT = 53 SYS_FCHMODAT = 53
SYS_FCHOWNAT = 54 SYS_FCHOWNAT = 54
SYS_FCHOWN = 55 SYS_FCHOWN = 55
SYS_OPENAT = 56 SYS_OPENAT = 56
SYS_CLOSE = 57 SYS_CLOSE = 57
SYS_VHANGUP = 58 SYS_VHANGUP = 58
SYS_PIPE2 = 59 SYS_PIPE2 = 59
SYS_QUOTACTL = 60 SYS_QUOTACTL = 60
SYS_GETDENTS64 = 61 SYS_GETDENTS64 = 61
SYS_LSEEK = 62 SYS_LSEEK = 62
SYS_READ = 63 SYS_READ = 63
SYS_WRITE = 64 SYS_WRITE = 64
SYS_READV = 65 SYS_READV = 65
SYS_WRITEV = 66 SYS_WRITEV = 66
SYS_PREAD64 = 67 SYS_PREAD64 = 67
SYS_PWRITE64 = 68 SYS_PWRITE64 = 68
SYS_PREADV = 69 SYS_PREADV = 69
SYS_PWRITEV = 70 SYS_PWRITEV = 70
SYS_SENDFILE = 71 SYS_SENDFILE = 71
SYS_PSELECT6 = 72 SYS_PSELECT6 = 72
SYS_PPOLL = 73 SYS_PPOLL = 73
SYS_SIGNALFD4 = 74 SYS_SIGNALFD4 = 74
SYS_VMSPLICE = 75 SYS_VMSPLICE = 75
SYS_SPLICE = 76 SYS_SPLICE = 76
SYS_TEE = 77 SYS_TEE = 77
SYS_READLINKAT = 78 SYS_READLINKAT = 78
SYS_FSTATAT = 79 SYS_FSTATAT = 79
SYS_FSTAT = 80 SYS_FSTAT = 80
SYS_SYNC = 81 SYS_SYNC = 81
SYS_FSYNC = 82 SYS_FSYNC = 82
SYS_FDATASYNC = 83 SYS_FDATASYNC = 83
SYS_SYNC_FILE_RANGE = 84 SYS_SYNC_FILE_RANGE = 84
SYS_TIMERFD_CREATE = 85 SYS_TIMERFD_CREATE = 85
SYS_TIMERFD_SETTIME = 86 SYS_TIMERFD_SETTIME = 86
SYS_TIMERFD_GETTIME = 87 SYS_TIMERFD_GETTIME = 87
SYS_UTIMENSAT = 88 SYS_UTIMENSAT = 88
SYS_ACCT = 89 SYS_ACCT = 89
SYS_CAPGET = 90 SYS_CAPGET = 90
SYS_CAPSET = 91 SYS_CAPSET = 91
SYS_PERSONALITY = 92 SYS_PERSONALITY = 92
SYS_EXIT = 93 SYS_EXIT = 93
SYS_EXIT_GROUP = 94 SYS_EXIT_GROUP = 94
SYS_WAITID = 95 SYS_WAITID = 95
SYS_SET_TID_ADDRESS = 96 SYS_SET_TID_ADDRESS = 96
SYS_UNSHARE = 97 SYS_UNSHARE = 97
SYS_FUTEX = 98 SYS_FUTEX = 98
SYS_SET_ROBUST_LIST = 99 SYS_SET_ROBUST_LIST = 99
SYS_GET_ROBUST_LIST = 100 SYS_GET_ROBUST_LIST = 100
SYS_NANOSLEEP = 101 SYS_NANOSLEEP = 101
SYS_GETITIMER = 102 SYS_GETITIMER = 102
SYS_SETITIMER = 103 SYS_SETITIMER = 103
SYS_KEXEC_LOAD = 104 SYS_KEXEC_LOAD = 104
SYS_INIT_MODULE = 105 SYS_INIT_MODULE = 105
SYS_DELETE_MODULE = 106 SYS_DELETE_MODULE = 106
SYS_TIMER_CREATE = 107 SYS_TIMER_CREATE = 107
SYS_TIMER_GETTIME = 108 SYS_TIMER_GETTIME = 108
SYS_TIMER_GETOVERRUN = 109 SYS_TIMER_GETOVERRUN = 109
SYS_TIMER_SETTIME = 110 SYS_TIMER_SETTIME = 110
SYS_TIMER_DELETE = 111 SYS_TIMER_DELETE = 111
SYS_CLOCK_SETTIME = 112 SYS_CLOCK_SETTIME = 112
SYS_CLOCK_GETTIME = 113 SYS_CLOCK_GETTIME = 113
SYS_CLOCK_GETRES = 114 SYS_CLOCK_GETRES = 114
SYS_CLOCK_NANOSLEEP = 115 SYS_CLOCK_NANOSLEEP = 115
SYS_SYSLOG = 116 SYS_SYSLOG = 116
SYS_PTRACE = 117 SYS_PTRACE = 117
SYS_SCHED_SETPARAM = 118 SYS_SCHED_SETPARAM = 118
SYS_SCHED_SETSCHEDULER = 119 SYS_SCHED_SETSCHEDULER = 119
SYS_SCHED_GETSCHEDULER = 120 SYS_SCHED_GETSCHEDULER = 120
SYS_SCHED_GETPARAM = 121 SYS_SCHED_GETPARAM = 121
SYS_SCHED_SETAFFINITY = 122 SYS_SCHED_SETAFFINITY = 122
SYS_SCHED_GETAFFINITY = 123 SYS_SCHED_GETAFFINITY = 123
SYS_SCHED_YIELD = 124 SYS_SCHED_YIELD = 124
SYS_SCHED_GET_PRIORITY_MAX = 125 SYS_SCHED_GET_PRIORITY_MAX = 125
SYS_SCHED_GET_PRIORITY_MIN = 126 SYS_SCHED_GET_PRIORITY_MIN = 126
SYS_SCHED_RR_GET_INTERVAL = 127 SYS_SCHED_RR_GET_INTERVAL = 127
SYS_RESTART_SYSCALL = 128 SYS_RESTART_SYSCALL = 128
SYS_KILL = 129 SYS_KILL = 129
SYS_TKILL = 130 SYS_TKILL = 130
SYS_TGKILL = 131 SYS_TGKILL = 131
SYS_SIGALTSTACK = 132 SYS_SIGALTSTACK = 132
SYS_RT_SIGSUSPEND = 133 SYS_RT_SIGSUSPEND = 133
SYS_RT_SIGACTION = 134 SYS_RT_SIGACTION = 134
SYS_RT_SIGPROCMASK = 135 SYS_RT_SIGPROCMASK = 135
SYS_RT_SIGPENDING = 136 SYS_RT_SIGPENDING = 136
SYS_RT_SIGTIMEDWAIT = 137 SYS_RT_SIGTIMEDWAIT = 137
SYS_RT_SIGQUEUEINFO = 138 SYS_RT_SIGQUEUEINFO = 138
SYS_RT_SIGRETURN = 139 SYS_RT_SIGRETURN = 139
SYS_SETPRIORITY = 140 SYS_SETPRIORITY = 140
SYS_GETPRIORITY = 141 SYS_GETPRIORITY = 141
SYS_REBOOT = 142 SYS_REBOOT = 142
SYS_SETREGID = 143 SYS_SETREGID = 143
SYS_SETGID = 144 SYS_SETGID = 144
SYS_SETREUID = 145 SYS_SETREUID = 145
SYS_SETUID = 146 SYS_SETUID = 146
SYS_SETRESUID = 147 SYS_SETRESUID = 147
SYS_GETRESUID = 148 SYS_GETRESUID = 148
SYS_SETRESGID = 149 SYS_SETRESGID = 149
SYS_GETRESGID = 150 SYS_GETRESGID = 150
SYS_SETFSUID = 151 SYS_SETFSUID = 151
SYS_SETFSGID = 152 SYS_SETFSGID = 152
SYS_TIMES = 153 SYS_TIMES = 153
SYS_SETPGID = 154 SYS_SETPGID = 154
SYS_GETPGID = 155 SYS_GETPGID = 155
SYS_GETSID = 156 SYS_GETSID = 156
SYS_SETSID = 157 SYS_SETSID = 157
SYS_GETGROUPS = 158 SYS_GETGROUPS = 158
SYS_SETGROUPS = 159 SYS_SETGROUPS = 159
SYS_UNAME = 160 SYS_UNAME = 160
SYS_SETHOSTNAME = 161 SYS_SETHOSTNAME = 161
SYS_SETDOMAINNAME = 162 SYS_SETDOMAINNAME = 162
SYS_GETRLIMIT = 163 SYS_GETRLIMIT = 163
SYS_SETRLIMIT = 164 SYS_SETRLIMIT = 164
SYS_GETRUSAGE = 165 SYS_GETRUSAGE = 165
SYS_UMASK = 166 SYS_UMASK = 166
SYS_PRCTL = 167 SYS_PRCTL = 167
SYS_GETCPU = 168 SYS_GETCPU = 168
SYS_GETTIMEOFDAY = 169 SYS_GETTIMEOFDAY = 169
SYS_SETTIMEOFDAY = 170 SYS_SETTIMEOFDAY = 170
SYS_ADJTIMEX = 171 SYS_ADJTIMEX = 171
SYS_GETPID = 172 SYS_GETPID = 172
SYS_GETPPID = 173 SYS_GETPPID = 173
SYS_GETUID = 174 SYS_GETUID = 174
SYS_GETEUID = 175 SYS_GETEUID = 175
SYS_GETGID = 176 SYS_GETGID = 176
SYS_GETEGID = 177 SYS_GETEGID = 177
SYS_GETTID = 178 SYS_GETTID = 178
SYS_SYSINFO = 179 SYS_SYSINFO = 179
SYS_MQ_OPEN = 180 SYS_MQ_OPEN = 180
SYS_MQ_UNLINK = 181 SYS_MQ_UNLINK = 181
SYS_MQ_TIMEDSEND = 182 SYS_MQ_TIMEDSEND = 182
SYS_MQ_TIMEDRECEIVE = 183 SYS_MQ_TIMEDRECEIVE = 183
SYS_MQ_NOTIFY = 184 SYS_MQ_NOTIFY = 184
SYS_MQ_GETSETATTR = 185 SYS_MQ_GETSETATTR = 185
SYS_MSGGET = 186 SYS_MSGGET = 186
SYS_MSGCTL = 187 SYS_MSGCTL = 187
SYS_MSGRCV = 188 SYS_MSGRCV = 188
SYS_MSGSND = 189 SYS_MSGSND = 189
SYS_SEMGET = 190 SYS_SEMGET = 190
SYS_SEMCTL = 191 SYS_SEMCTL = 191
SYS_SEMTIMEDOP = 192 SYS_SEMTIMEDOP = 192
SYS_SEMOP = 193 SYS_SEMOP = 193
SYS_SHMGET = 194 SYS_SHMGET = 194
SYS_SHMCTL = 195 SYS_SHMCTL = 195
SYS_SHMAT = 196 SYS_SHMAT = 196
SYS_SHMDT = 197 SYS_SHMDT = 197
SYS_SOCKET = 198 SYS_SOCKET = 198
SYS_SOCKETPAIR = 199 SYS_SOCKETPAIR = 199
SYS_BIND = 200 SYS_BIND = 200
SYS_LISTEN = 201 SYS_LISTEN = 201
SYS_ACCEPT = 202 SYS_ACCEPT = 202
SYS_CONNECT = 203 SYS_CONNECT = 203
SYS_GETSOCKNAME = 204 SYS_GETSOCKNAME = 204
SYS_GETPEERNAME = 205 SYS_GETPEERNAME = 205
SYS_SENDTO = 206 SYS_SENDTO = 206
SYS_RECVFROM = 207 SYS_RECVFROM = 207
SYS_SETSOCKOPT = 208 SYS_SETSOCKOPT = 208
SYS_GETSOCKOPT = 209 SYS_GETSOCKOPT = 209
SYS_SHUTDOWN = 210 SYS_SHUTDOWN = 210
SYS_SENDMSG = 211 SYS_SENDMSG = 211
SYS_RECVMSG = 212 SYS_RECVMSG = 212
SYS_READAHEAD = 213 SYS_READAHEAD = 213
SYS_BRK = 214 SYS_BRK = 214
SYS_MUNMAP = 215 SYS_MUNMAP = 215
SYS_MREMAP = 216 SYS_MREMAP = 216
SYS_ADD_KEY = 217 SYS_ADD_KEY = 217
SYS_REQUEST_KEY = 218 SYS_REQUEST_KEY = 218
SYS_KEYCTL = 219 SYS_KEYCTL = 219
SYS_CLONE = 220 SYS_CLONE = 220
SYS_EXECVE = 221 SYS_EXECVE = 221
SYS_MMAP = 222 SYS_MMAP = 222
SYS_FADVISE64 = 223 SYS_FADVISE64 = 223
SYS_SWAPON = 224 SYS_SWAPON = 224
SYS_SWAPOFF = 225 SYS_SWAPOFF = 225
SYS_MPROTECT = 226 SYS_MPROTECT = 226
SYS_MSYNC = 227 SYS_MSYNC = 227
SYS_MLOCK = 228 SYS_MLOCK = 228
SYS_MUNLOCK = 229 SYS_MUNLOCK = 229
SYS_MLOCKALL = 230 SYS_MLOCKALL = 230
SYS_MUNLOCKALL = 231 SYS_MUNLOCKALL = 231
SYS_MINCORE = 232 SYS_MINCORE = 232
SYS_MADVISE = 233 SYS_MADVISE = 233
SYS_REMAP_FILE_PAGES = 234 SYS_REMAP_FILE_PAGES = 234
SYS_MBIND = 235 SYS_MBIND = 235
SYS_GET_MEMPOLICY = 236 SYS_GET_MEMPOLICY = 236
SYS_SET_MEMPOLICY = 237 SYS_SET_MEMPOLICY = 237
SYS_MIGRATE_PAGES = 238 SYS_MIGRATE_PAGES = 238
SYS_MOVE_PAGES = 239 SYS_MOVE_PAGES = 239
SYS_RT_TGSIGQUEUEINFO = 240 SYS_RT_TGSIGQUEUEINFO = 240
SYS_PERF_EVENT_OPEN = 241 SYS_PERF_EVENT_OPEN = 241
SYS_ACCEPT4 = 242 SYS_ACCEPT4 = 242
SYS_RECVMMSG = 243 SYS_RECVMMSG = 243
SYS_ARCH_SPECIFIC_SYSCALL = 244 SYS_ARCH_SPECIFIC_SYSCALL = 244
SYS_WAIT4 = 260 SYS_WAIT4 = 260
SYS_PRLIMIT64 = 261 SYS_PRLIMIT64 = 261
SYS_FANOTIFY_INIT = 262 SYS_FANOTIFY_INIT = 262
SYS_FANOTIFY_MARK = 263 SYS_FANOTIFY_MARK = 263
SYS_NAME_TO_HANDLE_AT = 264 SYS_NAME_TO_HANDLE_AT = 264
SYS_OPEN_BY_HANDLE_AT = 265 SYS_OPEN_BY_HANDLE_AT = 265
SYS_CLOCK_ADJTIME = 266 SYS_CLOCK_ADJTIME = 266
SYS_SYNCFS = 267 SYS_SYNCFS = 267
SYS_SETNS = 268 SYS_SETNS = 268
SYS_SENDMMSG = 269 SYS_SENDMMSG = 269
SYS_PROCESS_VM_READV = 270 SYS_PROCESS_VM_READV = 270
SYS_PROCESS_VM_WRITEV = 271 SYS_PROCESS_VM_WRITEV = 271
SYS_KCMP = 272 SYS_KCMP = 272
SYS_FINIT_MODULE = 273 SYS_FINIT_MODULE = 273
SYS_SCHED_SETATTR = 274 SYS_SCHED_SETATTR = 274
SYS_SCHED_GETATTR = 275 SYS_SCHED_GETATTR = 275
SYS_RENAMEAT2 = 276 SYS_RENAMEAT2 = 276
SYS_SECCOMP = 277 SYS_SECCOMP = 277
SYS_GETRANDOM = 278 SYS_GETRANDOM = 278
SYS_MEMFD_CREATE = 279 SYS_MEMFD_CREATE = 279
SYS_BPF = 280 SYS_BPF = 280
SYS_EXECVEAT = 281 SYS_EXECVEAT = 281
SYS_USERFAULTFD = 282 SYS_USERFAULTFD = 282
SYS_MEMBARRIER = 283 SYS_MEMBARRIER = 283
SYS_MLOCK2 = 284 SYS_MLOCK2 = 284
SYS_COPY_FILE_RANGE = 285 SYS_COPY_FILE_RANGE = 285
SYS_PREADV2 = 286 SYS_PREADV2 = 286
SYS_PWRITEV2 = 287 SYS_PWRITEV2 = 287
SYS_PKEY_MPROTECT = 288 SYS_PKEY_MPROTECT = 288
SYS_PKEY_ALLOC = 289 SYS_PKEY_ALLOC = 289
SYS_PKEY_FREE = 290 SYS_PKEY_FREE = 290
SYS_STATX = 291 SYS_STATX = 291
SYS_IO_PGETEVENTS = 292 SYS_IO_PGETEVENTS = 292
SYS_RSEQ = 293 SYS_RSEQ = 293
SYS_KEXEC_FILE_LOAD = 294 SYS_KEXEC_FILE_LOAD = 294
SYS_PIDFD_SEND_SIGNAL = 424 SYS_PIDFD_SEND_SIGNAL = 424
SYS_IO_URING_SETUP = 425 SYS_IO_URING_SETUP = 425
SYS_IO_URING_ENTER = 426 SYS_IO_URING_ENTER = 426
SYS_IO_URING_REGISTER = 427 SYS_IO_URING_REGISTER = 427
SYS_OPEN_TREE = 428 SYS_OPEN_TREE = 428
SYS_MOVE_MOUNT = 429 SYS_MOVE_MOUNT = 429
SYS_FSOPEN = 430 SYS_FSOPEN = 430
SYS_FSCONFIG = 431 SYS_FSCONFIG = 431
SYS_FSMOUNT = 432 SYS_FSMOUNT = 432
SYS_FSPICK = 433 SYS_FSPICK = 433
SYS_PIDFD_OPEN = 434 SYS_PIDFD_OPEN = 434
SYS_CLONE3 = 435 SYS_CLONE3 = 435
SYS_CLOSE_RANGE = 436 SYS_CLOSE_RANGE = 436
SYS_OPENAT2 = 437 SYS_OPENAT2 = 437
SYS_PIDFD_GETFD = 438 SYS_PIDFD_GETFD = 438
SYS_FACCESSAT2 = 439 SYS_FACCESSAT2 = 439
SYS_PROCESS_MADVISE = 440 SYS_PROCESS_MADVISE = 440
SYS_EPOLL_PWAIT2 = 441 SYS_EPOLL_PWAIT2 = 441
SYS_MOUNT_SETATTR = 442 SYS_MOUNT_SETATTR = 442
SYS_LANDLOCK_CREATE_RULESET = 444
SYS_LANDLOCK_ADD_RULE = 445
SYS_LANDLOCK_RESTRICT_SELF = 446
) )

View File

@ -424,4 +424,7 @@ const (
SYS_PROCESS_MADVISE = 4440 SYS_PROCESS_MADVISE = 4440
SYS_EPOLL_PWAIT2 = 4441 SYS_EPOLL_PWAIT2 = 4441
SYS_MOUNT_SETATTR = 4442 SYS_MOUNT_SETATTR = 4442
SYS_LANDLOCK_CREATE_RULESET = 4444
SYS_LANDLOCK_ADD_RULE = 4445
SYS_LANDLOCK_RESTRICT_SELF = 4446
) )

View File

@ -7,351 +7,354 @@
package unix package unix
const ( const (
SYS_READ = 5000 SYS_READ = 5000
SYS_WRITE = 5001 SYS_WRITE = 5001
SYS_OPEN = 5002 SYS_OPEN = 5002
SYS_CLOSE = 5003 SYS_CLOSE = 5003
SYS_STAT = 5004 SYS_STAT = 5004
SYS_FSTAT = 5005 SYS_FSTAT = 5005
SYS_LSTAT = 5006 SYS_LSTAT = 5006
SYS_POLL = 5007 SYS_POLL = 5007
SYS_LSEEK = 5008 SYS_LSEEK = 5008
SYS_MMAP = 5009 SYS_MMAP = 5009
SYS_MPROTECT = 5010 SYS_MPROTECT = 5010
SYS_MUNMAP = 5011 SYS_MUNMAP = 5011
SYS_BRK = 5012 SYS_BRK = 5012
SYS_RT_SIGACTION = 5013 SYS_RT_SIGACTION = 5013
SYS_RT_SIGPROCMASK = 5014 SYS_RT_SIGPROCMASK = 5014
SYS_IOCTL = 5015 SYS_IOCTL = 5015
SYS_PREAD64 = 5016 SYS_PREAD64 = 5016
SYS_PWRITE64 = 5017 SYS_PWRITE64 = 5017
SYS_READV = 5018 SYS_READV = 5018
SYS_WRITEV = 5019 SYS_WRITEV = 5019
SYS_ACCESS = 5020 SYS_ACCESS = 5020
SYS_PIPE = 5021 SYS_PIPE = 5021
SYS__NEWSELECT = 5022 SYS__NEWSELECT = 5022
SYS_SCHED_YIELD = 5023 SYS_SCHED_YIELD = 5023
SYS_MREMAP = 5024 SYS_MREMAP = 5024
SYS_MSYNC = 5025 SYS_MSYNC = 5025
SYS_MINCORE = 5026 SYS_MINCORE = 5026
SYS_MADVISE = 5027 SYS_MADVISE = 5027
SYS_SHMGET = 5028 SYS_SHMGET = 5028
SYS_SHMAT = 5029 SYS_SHMAT = 5029
SYS_SHMCTL = 5030 SYS_SHMCTL = 5030
SYS_DUP = 5031 SYS_DUP = 5031
SYS_DUP2 = 5032 SYS_DUP2 = 5032
SYS_PAUSE = 5033 SYS_PAUSE = 5033
SYS_NANOSLEEP = 5034 SYS_NANOSLEEP = 5034
SYS_GETITIMER = 5035 SYS_GETITIMER = 5035
SYS_SETITIMER = 5036 SYS_SETITIMER = 5036
SYS_ALARM = 5037 SYS_ALARM = 5037
SYS_GETPID = 5038 SYS_GETPID = 5038
SYS_SENDFILE = 5039 SYS_SENDFILE = 5039
SYS_SOCKET = 5040 SYS_SOCKET = 5040
SYS_CONNECT = 5041 SYS_CONNECT = 5041
SYS_ACCEPT = 5042 SYS_ACCEPT = 5042
SYS_SENDTO = 5043 SYS_SENDTO = 5043
SYS_RECVFROM = 5044 SYS_RECVFROM = 5044
SYS_SENDMSG = 5045 SYS_SENDMSG = 5045
SYS_RECVMSG = 5046 SYS_RECVMSG = 5046
SYS_SHUTDOWN = 5047 SYS_SHUTDOWN = 5047
SYS_BIND = 5048 SYS_BIND = 5048
SYS_LISTEN = 5049 SYS_LISTEN = 5049
SYS_GETSOCKNAME = 5050 SYS_GETSOCKNAME = 5050
SYS_GETPEERNAME = 5051 SYS_GETPEERNAME = 5051
SYS_SOCKETPAIR = 5052 SYS_SOCKETPAIR = 5052
SYS_SETSOCKOPT = 5053 SYS_SETSOCKOPT = 5053
SYS_GETSOCKOPT = 5054 SYS_GETSOCKOPT = 5054
SYS_CLONE = 5055 SYS_CLONE = 5055
SYS_FORK = 5056 SYS_FORK = 5056
SYS_EXECVE = 5057 SYS_EXECVE = 5057
SYS_EXIT = 5058 SYS_EXIT = 5058
SYS_WAIT4 = 5059 SYS_WAIT4 = 5059
SYS_KILL = 5060 SYS_KILL = 5060
SYS_UNAME = 5061 SYS_UNAME = 5061
SYS_SEMGET = 5062 SYS_SEMGET = 5062
SYS_SEMOP = 5063 SYS_SEMOP = 5063
SYS_SEMCTL = 5064 SYS_SEMCTL = 5064
SYS_SHMDT = 5065 SYS_SHMDT = 5065
SYS_MSGGET = 5066 SYS_MSGGET = 5066
SYS_MSGSND = 5067 SYS_MSGSND = 5067
SYS_MSGRCV = 5068 SYS_MSGRCV = 5068
SYS_MSGCTL = 5069 SYS_MSGCTL = 5069
SYS_FCNTL = 5070 SYS_FCNTL = 5070
SYS_FLOCK = 5071 SYS_FLOCK = 5071
SYS_FSYNC = 5072 SYS_FSYNC = 5072
SYS_FDATASYNC = 5073 SYS_FDATASYNC = 5073
SYS_TRUNCATE = 5074 SYS_TRUNCATE = 5074
SYS_FTRUNCATE = 5075 SYS_FTRUNCATE = 5075
SYS_GETDENTS = 5076 SYS_GETDENTS = 5076
SYS_GETCWD = 5077 SYS_GETCWD = 5077
SYS_CHDIR = 5078 SYS_CHDIR = 5078
SYS_FCHDIR = 5079 SYS_FCHDIR = 5079
SYS_RENAME = 5080 SYS_RENAME = 5080
SYS_MKDIR = 5081 SYS_MKDIR = 5081
SYS_RMDIR = 5082 SYS_RMDIR = 5082
SYS_CREAT = 5083 SYS_CREAT = 5083
SYS_LINK = 5084 SYS_LINK = 5084
SYS_UNLINK = 5085 SYS_UNLINK = 5085
SYS_SYMLINK = 5086 SYS_SYMLINK = 5086
SYS_READLINK = 5087 SYS_READLINK = 5087
SYS_CHMOD = 5088 SYS_CHMOD = 5088
SYS_FCHMOD = 5089 SYS_FCHMOD = 5089
SYS_CHOWN = 5090 SYS_CHOWN = 5090
SYS_FCHOWN = 5091 SYS_FCHOWN = 5091
SYS_LCHOWN = 5092 SYS_LCHOWN = 5092
SYS_UMASK = 5093 SYS_UMASK = 5093
SYS_GETTIMEOFDAY = 5094 SYS_GETTIMEOFDAY = 5094
SYS_GETRLIMIT = 5095 SYS_GETRLIMIT = 5095
SYS_GETRUSAGE = 5096 SYS_GETRUSAGE = 5096
SYS_SYSINFO = 5097 SYS_SYSINFO = 5097
SYS_TIMES = 5098 SYS_TIMES = 5098
SYS_PTRACE = 5099 SYS_PTRACE = 5099
SYS_GETUID = 5100 SYS_GETUID = 5100
SYS_SYSLOG = 5101 SYS_SYSLOG = 5101
SYS_GETGID = 5102 SYS_GETGID = 5102
SYS_SETUID = 5103 SYS_SETUID = 5103
SYS_SETGID = 5104 SYS_SETGID = 5104
SYS_GETEUID = 5105 SYS_GETEUID = 5105
SYS_GETEGID = 5106 SYS_GETEGID = 5106
SYS_SETPGID = 5107 SYS_SETPGID = 5107
SYS_GETPPID = 5108 SYS_GETPPID = 5108
SYS_GETPGRP = 5109 SYS_GETPGRP = 5109
SYS_SETSID = 5110 SYS_SETSID = 5110
SYS_SETREUID = 5111 SYS_SETREUID = 5111
SYS_SETREGID = 5112 SYS_SETREGID = 5112
SYS_GETGROUPS = 5113 SYS_GETGROUPS = 5113
SYS_SETGROUPS = 5114 SYS_SETGROUPS = 5114
SYS_SETRESUID = 5115 SYS_SETRESUID = 5115
SYS_GETRESUID = 5116 SYS_GETRESUID = 5116
SYS_SETRESGID = 5117 SYS_SETRESGID = 5117
SYS_GETRESGID = 5118 SYS_GETRESGID = 5118
SYS_GETPGID = 5119 SYS_GETPGID = 5119
SYS_SETFSUID = 5120 SYS_SETFSUID = 5120
SYS_SETFSGID = 5121 SYS_SETFSGID = 5121
SYS_GETSID = 5122 SYS_GETSID = 5122
SYS_CAPGET = 5123 SYS_CAPGET = 5123
SYS_CAPSET = 5124 SYS_CAPSET = 5124
SYS_RT_SIGPENDING = 5125 SYS_RT_SIGPENDING = 5125
SYS_RT_SIGTIMEDWAIT = 5126 SYS_RT_SIGTIMEDWAIT = 5126
SYS_RT_SIGQUEUEINFO = 5127 SYS_RT_SIGQUEUEINFO = 5127
SYS_RT_SIGSUSPEND = 5128 SYS_RT_SIGSUSPEND = 5128
SYS_SIGALTSTACK = 5129 SYS_SIGALTSTACK = 5129
SYS_UTIME = 5130 SYS_UTIME = 5130
SYS_MKNOD = 5131 SYS_MKNOD = 5131
SYS_PERSONALITY = 5132 SYS_PERSONALITY = 5132
SYS_USTAT = 5133 SYS_USTAT = 5133
SYS_STATFS = 5134 SYS_STATFS = 5134
SYS_FSTATFS = 5135 SYS_FSTATFS = 5135
SYS_SYSFS = 5136 SYS_SYSFS = 5136
SYS_GETPRIORITY = 5137 SYS_GETPRIORITY = 5137
SYS_SETPRIORITY = 5138 SYS_SETPRIORITY = 5138
SYS_SCHED_SETPARAM = 5139 SYS_SCHED_SETPARAM = 5139
SYS_SCHED_GETPARAM = 5140 SYS_SCHED_GETPARAM = 5140
SYS_SCHED_SETSCHEDULER = 5141 SYS_SCHED_SETSCHEDULER = 5141
SYS_SCHED_GETSCHEDULER = 5142 SYS_SCHED_GETSCHEDULER = 5142
SYS_SCHED_GET_PRIORITY_MAX = 5143 SYS_SCHED_GET_PRIORITY_MAX = 5143
SYS_SCHED_GET_PRIORITY_MIN = 5144 SYS_SCHED_GET_PRIORITY_MIN = 5144
SYS_SCHED_RR_GET_INTERVAL = 5145 SYS_SCHED_RR_GET_INTERVAL = 5145
SYS_MLOCK = 5146 SYS_MLOCK = 5146
SYS_MUNLOCK = 5147 SYS_MUNLOCK = 5147
SYS_MLOCKALL = 5148 SYS_MLOCKALL = 5148
SYS_MUNLOCKALL = 5149 SYS_MUNLOCKALL = 5149
SYS_VHANGUP = 5150 SYS_VHANGUP = 5150
SYS_PIVOT_ROOT = 5151 SYS_PIVOT_ROOT = 5151
SYS__SYSCTL = 5152 SYS__SYSCTL = 5152
SYS_PRCTL = 5153 SYS_PRCTL = 5153
SYS_ADJTIMEX = 5154 SYS_ADJTIMEX = 5154
SYS_SETRLIMIT = 5155 SYS_SETRLIMIT = 5155
SYS_CHROOT = 5156 SYS_CHROOT = 5156
SYS_SYNC = 5157 SYS_SYNC = 5157
SYS_ACCT = 5158 SYS_ACCT = 5158
SYS_SETTIMEOFDAY = 5159 SYS_SETTIMEOFDAY = 5159
SYS_MOUNT = 5160 SYS_MOUNT = 5160
SYS_UMOUNT2 = 5161 SYS_UMOUNT2 = 5161
SYS_SWAPON = 5162 SYS_SWAPON = 5162
SYS_SWAPOFF = 5163 SYS_SWAPOFF = 5163
SYS_REBOOT = 5164 SYS_REBOOT = 5164
SYS_SETHOSTNAME = 5165 SYS_SETHOSTNAME = 5165
SYS_SETDOMAINNAME = 5166 SYS_SETDOMAINNAME = 5166
SYS_CREATE_MODULE = 5167 SYS_CREATE_MODULE = 5167
SYS_INIT_MODULE = 5168 SYS_INIT_MODULE = 5168
SYS_DELETE_MODULE = 5169 SYS_DELETE_MODULE = 5169
SYS_GET_KERNEL_SYMS = 5170 SYS_GET_KERNEL_SYMS = 5170
SYS_QUERY_MODULE = 5171 SYS_QUERY_MODULE = 5171
SYS_QUOTACTL = 5172 SYS_QUOTACTL = 5172
SYS_NFSSERVCTL = 5173 SYS_NFSSERVCTL = 5173
SYS_GETPMSG = 5174 SYS_GETPMSG = 5174
SYS_PUTPMSG = 5175 SYS_PUTPMSG = 5175
SYS_AFS_SYSCALL = 5176 SYS_AFS_SYSCALL = 5176
SYS_RESERVED177 = 5177 SYS_RESERVED177 = 5177
SYS_GETTID = 5178 SYS_GETTID = 5178
SYS_READAHEAD = 5179 SYS_READAHEAD = 5179
SYS_SETXATTR = 5180 SYS_SETXATTR = 5180
SYS_LSETXATTR = 5181 SYS_LSETXATTR = 5181
SYS_FSETXATTR = 5182 SYS_FSETXATTR = 5182
SYS_GETXATTR = 5183 SYS_GETXATTR = 5183
SYS_LGETXATTR = 5184 SYS_LGETXATTR = 5184
SYS_FGETXATTR = 5185 SYS_FGETXATTR = 5185
SYS_LISTXATTR = 5186 SYS_LISTXATTR = 5186
SYS_LLISTXATTR = 5187 SYS_LLISTXATTR = 5187
SYS_FLISTXATTR = 5188 SYS_FLISTXATTR = 5188
SYS_REMOVEXATTR = 5189 SYS_REMOVEXATTR = 5189
SYS_LREMOVEXATTR = 5190 SYS_LREMOVEXATTR = 5190
SYS_FREMOVEXATTR = 5191 SYS_FREMOVEXATTR = 5191
SYS_TKILL = 5192 SYS_TKILL = 5192
SYS_RESERVED193 = 5193 SYS_RESERVED193 = 5193
SYS_FUTEX = 5194 SYS_FUTEX = 5194
SYS_SCHED_SETAFFINITY = 5195 SYS_SCHED_SETAFFINITY = 5195
SYS_SCHED_GETAFFINITY = 5196 SYS_SCHED_GETAFFINITY = 5196
SYS_CACHEFLUSH = 5197 SYS_CACHEFLUSH = 5197
SYS_CACHECTL = 5198 SYS_CACHECTL = 5198
SYS_SYSMIPS = 5199 SYS_SYSMIPS = 5199
SYS_IO_SETUP = 5200 SYS_IO_SETUP = 5200
SYS_IO_DESTROY = 5201 SYS_IO_DESTROY = 5201
SYS_IO_GETEVENTS = 5202 SYS_IO_GETEVENTS = 5202
SYS_IO_SUBMIT = 5203 SYS_IO_SUBMIT = 5203
SYS_IO_CANCEL = 5204 SYS_IO_CANCEL = 5204
SYS_EXIT_GROUP = 5205 SYS_EXIT_GROUP = 5205
SYS_LOOKUP_DCOOKIE = 5206 SYS_LOOKUP_DCOOKIE = 5206
SYS_EPOLL_CREATE = 5207 SYS_EPOLL_CREATE = 5207
SYS_EPOLL_CTL = 5208 SYS_EPOLL_CTL = 5208
SYS_EPOLL_WAIT = 5209 SYS_EPOLL_WAIT = 5209
SYS_REMAP_FILE_PAGES = 5210 SYS_REMAP_FILE_PAGES = 5210
SYS_RT_SIGRETURN = 5211 SYS_RT_SIGRETURN = 5211
SYS_SET_TID_ADDRESS = 5212 SYS_SET_TID_ADDRESS = 5212
SYS_RESTART_SYSCALL = 5213 SYS_RESTART_SYSCALL = 5213
SYS_SEMTIMEDOP = 5214 SYS_SEMTIMEDOP = 5214
SYS_FADVISE64 = 5215 SYS_FADVISE64 = 5215
SYS_TIMER_CREATE = 5216 SYS_TIMER_CREATE = 5216
SYS_TIMER_SETTIME = 5217 SYS_TIMER_SETTIME = 5217
SYS_TIMER_GETTIME = 5218 SYS_TIMER_GETTIME = 5218
SYS_TIMER_GETOVERRUN = 5219 SYS_TIMER_GETOVERRUN = 5219
SYS_TIMER_DELETE = 5220 SYS_TIMER_DELETE = 5220
SYS_CLOCK_SETTIME = 5221 SYS_CLOCK_SETTIME = 5221
SYS_CLOCK_GETTIME = 5222 SYS_CLOCK_GETTIME = 5222
SYS_CLOCK_GETRES = 5223 SYS_CLOCK_GETRES = 5223
SYS_CLOCK_NANOSLEEP = 5224 SYS_CLOCK_NANOSLEEP = 5224
SYS_TGKILL = 5225 SYS_TGKILL = 5225
SYS_UTIMES = 5226 SYS_UTIMES = 5226
SYS_MBIND = 5227 SYS_MBIND = 5227
SYS_GET_MEMPOLICY = 5228 SYS_GET_MEMPOLICY = 5228
SYS_SET_MEMPOLICY = 5229 SYS_SET_MEMPOLICY = 5229
SYS_MQ_OPEN = 5230 SYS_MQ_OPEN = 5230
SYS_MQ_UNLINK = 5231 SYS_MQ_UNLINK = 5231
SYS_MQ_TIMEDSEND = 5232 SYS_MQ_TIMEDSEND = 5232
SYS_MQ_TIMEDRECEIVE = 5233 SYS_MQ_TIMEDRECEIVE = 5233
SYS_MQ_NOTIFY = 5234 SYS_MQ_NOTIFY = 5234
SYS_MQ_GETSETATTR = 5235 SYS_MQ_GETSETATTR = 5235
SYS_VSERVER = 5236 SYS_VSERVER = 5236
SYS_WAITID = 5237 SYS_WAITID = 5237
SYS_ADD_KEY = 5239 SYS_ADD_KEY = 5239
SYS_REQUEST_KEY = 5240 SYS_REQUEST_KEY = 5240
SYS_KEYCTL = 5241 SYS_KEYCTL = 5241
SYS_SET_THREAD_AREA = 5242 SYS_SET_THREAD_AREA = 5242
SYS_INOTIFY_INIT = 5243 SYS_INOTIFY_INIT = 5243
SYS_INOTIFY_ADD_WATCH = 5244 SYS_INOTIFY_ADD_WATCH = 5244
SYS_INOTIFY_RM_WATCH = 5245 SYS_INOTIFY_RM_WATCH = 5245
SYS_MIGRATE_PAGES = 5246 SYS_MIGRATE_PAGES = 5246
SYS_OPENAT = 5247 SYS_OPENAT = 5247
SYS_MKDIRAT = 5248 SYS_MKDIRAT = 5248
SYS_MKNODAT = 5249 SYS_MKNODAT = 5249
SYS_FCHOWNAT = 5250 SYS_FCHOWNAT = 5250
SYS_FUTIMESAT = 5251 SYS_FUTIMESAT = 5251
SYS_NEWFSTATAT = 5252 SYS_NEWFSTATAT = 5252
SYS_UNLINKAT = 5253 SYS_UNLINKAT = 5253
SYS_RENAMEAT = 5254 SYS_RENAMEAT = 5254
SYS_LINKAT = 5255 SYS_LINKAT = 5255
SYS_SYMLINKAT = 5256 SYS_SYMLINKAT = 5256
SYS_READLINKAT = 5257 SYS_READLINKAT = 5257
SYS_FCHMODAT = 5258 SYS_FCHMODAT = 5258
SYS_FACCESSAT = 5259 SYS_FACCESSAT = 5259
SYS_PSELECT6 = 5260 SYS_PSELECT6 = 5260
SYS_PPOLL = 5261 SYS_PPOLL = 5261
SYS_UNSHARE = 5262 SYS_UNSHARE = 5262
SYS_SPLICE = 5263 SYS_SPLICE = 5263
SYS_SYNC_FILE_RANGE = 5264 SYS_SYNC_FILE_RANGE = 5264
SYS_TEE = 5265 SYS_TEE = 5265
SYS_VMSPLICE = 5266 SYS_VMSPLICE = 5266
SYS_MOVE_PAGES = 5267 SYS_MOVE_PAGES = 5267
SYS_SET_ROBUST_LIST = 5268 SYS_SET_ROBUST_LIST = 5268
SYS_GET_ROBUST_LIST = 5269 SYS_GET_ROBUST_LIST = 5269
SYS_KEXEC_LOAD = 5270 SYS_KEXEC_LOAD = 5270
SYS_GETCPU = 5271 SYS_GETCPU = 5271
SYS_EPOLL_PWAIT = 5272 SYS_EPOLL_PWAIT = 5272
SYS_IOPRIO_SET = 5273 SYS_IOPRIO_SET = 5273
SYS_IOPRIO_GET = 5274 SYS_IOPRIO_GET = 5274
SYS_UTIMENSAT = 5275 SYS_UTIMENSAT = 5275
SYS_SIGNALFD = 5276 SYS_SIGNALFD = 5276
SYS_TIMERFD = 5277 SYS_TIMERFD = 5277
SYS_EVENTFD = 5278 SYS_EVENTFD = 5278
SYS_FALLOCATE = 5279 SYS_FALLOCATE = 5279
SYS_TIMERFD_CREATE = 5280 SYS_TIMERFD_CREATE = 5280
SYS_TIMERFD_GETTIME = 5281 SYS_TIMERFD_GETTIME = 5281
SYS_TIMERFD_SETTIME = 5282 SYS_TIMERFD_SETTIME = 5282
SYS_SIGNALFD4 = 5283 SYS_SIGNALFD4 = 5283
SYS_EVENTFD2 = 5284 SYS_EVENTFD2 = 5284
SYS_EPOLL_CREATE1 = 5285 SYS_EPOLL_CREATE1 = 5285
SYS_DUP3 = 5286 SYS_DUP3 = 5286
SYS_PIPE2 = 5287 SYS_PIPE2 = 5287
SYS_INOTIFY_INIT1 = 5288 SYS_INOTIFY_INIT1 = 5288
SYS_PREADV = 5289 SYS_PREADV = 5289
SYS_PWRITEV = 5290 SYS_PWRITEV = 5290
SYS_RT_TGSIGQUEUEINFO = 5291 SYS_RT_TGSIGQUEUEINFO = 5291
SYS_PERF_EVENT_OPEN = 5292 SYS_PERF_EVENT_OPEN = 5292
SYS_ACCEPT4 = 5293 SYS_ACCEPT4 = 5293
SYS_RECVMMSG = 5294 SYS_RECVMMSG = 5294
SYS_FANOTIFY_INIT = 5295 SYS_FANOTIFY_INIT = 5295
SYS_FANOTIFY_MARK = 5296 SYS_FANOTIFY_MARK = 5296
SYS_PRLIMIT64 = 5297 SYS_PRLIMIT64 = 5297
SYS_NAME_TO_HANDLE_AT = 5298 SYS_NAME_TO_HANDLE_AT = 5298
SYS_OPEN_BY_HANDLE_AT = 5299 SYS_OPEN_BY_HANDLE_AT = 5299
SYS_CLOCK_ADJTIME = 5300 SYS_CLOCK_ADJTIME = 5300
SYS_SYNCFS = 5301 SYS_SYNCFS = 5301
SYS_SENDMMSG = 5302 SYS_SENDMMSG = 5302
SYS_SETNS = 5303 SYS_SETNS = 5303
SYS_PROCESS_VM_READV = 5304 SYS_PROCESS_VM_READV = 5304
SYS_PROCESS_VM_WRITEV = 5305 SYS_PROCESS_VM_WRITEV = 5305
SYS_KCMP = 5306 SYS_KCMP = 5306
SYS_FINIT_MODULE = 5307 SYS_FINIT_MODULE = 5307
SYS_GETDENTS64 = 5308 SYS_GETDENTS64 = 5308
SYS_SCHED_SETATTR = 5309 SYS_SCHED_SETATTR = 5309
SYS_SCHED_GETATTR = 5310 SYS_SCHED_GETATTR = 5310
SYS_RENAMEAT2 = 5311 SYS_RENAMEAT2 = 5311
SYS_SECCOMP = 5312 SYS_SECCOMP = 5312
SYS_GETRANDOM = 5313 SYS_GETRANDOM = 5313
SYS_MEMFD_CREATE = 5314 SYS_MEMFD_CREATE = 5314
SYS_BPF = 5315 SYS_BPF = 5315
SYS_EXECVEAT = 5316 SYS_EXECVEAT = 5316
SYS_USERFAULTFD = 5317 SYS_USERFAULTFD = 5317
SYS_MEMBARRIER = 5318 SYS_MEMBARRIER = 5318
SYS_MLOCK2 = 5319 SYS_MLOCK2 = 5319
SYS_COPY_FILE_RANGE = 5320 SYS_COPY_FILE_RANGE = 5320
SYS_PREADV2 = 5321 SYS_PREADV2 = 5321
SYS_PWRITEV2 = 5322 SYS_PWRITEV2 = 5322
SYS_PKEY_MPROTECT = 5323 SYS_PKEY_MPROTECT = 5323
SYS_PKEY_ALLOC = 5324 SYS_PKEY_ALLOC = 5324
SYS_PKEY_FREE = 5325 SYS_PKEY_FREE = 5325
SYS_STATX = 5326 SYS_STATX = 5326
SYS_RSEQ = 5327 SYS_RSEQ = 5327
SYS_IO_PGETEVENTS = 5328 SYS_IO_PGETEVENTS = 5328
SYS_PIDFD_SEND_SIGNAL = 5424 SYS_PIDFD_SEND_SIGNAL = 5424
SYS_IO_URING_SETUP = 5425 SYS_IO_URING_SETUP = 5425
SYS_IO_URING_ENTER = 5426 SYS_IO_URING_ENTER = 5426
SYS_IO_URING_REGISTER = 5427 SYS_IO_URING_REGISTER = 5427
SYS_OPEN_TREE = 5428 SYS_OPEN_TREE = 5428
SYS_MOVE_MOUNT = 5429 SYS_MOVE_MOUNT = 5429
SYS_FSOPEN = 5430 SYS_FSOPEN = 5430
SYS_FSCONFIG = 5431 SYS_FSCONFIG = 5431
SYS_FSMOUNT = 5432 SYS_FSMOUNT = 5432
SYS_FSPICK = 5433 SYS_FSPICK = 5433
SYS_PIDFD_OPEN = 5434 SYS_PIDFD_OPEN = 5434
SYS_CLONE3 = 5435 SYS_CLONE3 = 5435
SYS_CLOSE_RANGE = 5436 SYS_CLOSE_RANGE = 5436
SYS_OPENAT2 = 5437 SYS_OPENAT2 = 5437
SYS_PIDFD_GETFD = 5438 SYS_PIDFD_GETFD = 5438
SYS_FACCESSAT2 = 5439 SYS_FACCESSAT2 = 5439
SYS_PROCESS_MADVISE = 5440 SYS_PROCESS_MADVISE = 5440
SYS_EPOLL_PWAIT2 = 5441 SYS_EPOLL_PWAIT2 = 5441
SYS_MOUNT_SETATTR = 5442 SYS_MOUNT_SETATTR = 5442
SYS_LANDLOCK_CREATE_RULESET = 5444
SYS_LANDLOCK_ADD_RULE = 5445
SYS_LANDLOCK_RESTRICT_SELF = 5446
) )

View File

@ -7,351 +7,354 @@
package unix package unix
const ( const (
SYS_READ = 5000 SYS_READ = 5000
SYS_WRITE = 5001 SYS_WRITE = 5001
SYS_OPEN = 5002 SYS_OPEN = 5002
SYS_CLOSE = 5003 SYS_CLOSE = 5003
SYS_STAT = 5004 SYS_STAT = 5004
SYS_FSTAT = 5005 SYS_FSTAT = 5005
SYS_LSTAT = 5006 SYS_LSTAT = 5006
SYS_POLL = 5007 SYS_POLL = 5007
SYS_LSEEK = 5008 SYS_LSEEK = 5008
SYS_MMAP = 5009 SYS_MMAP = 5009
SYS_MPROTECT = 5010 SYS_MPROTECT = 5010
SYS_MUNMAP = 5011 SYS_MUNMAP = 5011
SYS_BRK = 5012 SYS_BRK = 5012
SYS_RT_SIGACTION = 5013 SYS_RT_SIGACTION = 5013
SYS_RT_SIGPROCMASK = 5014 SYS_RT_SIGPROCMASK = 5014
SYS_IOCTL = 5015 SYS_IOCTL = 5015
SYS_PREAD64 = 5016 SYS_PREAD64 = 5016
SYS_PWRITE64 = 5017 SYS_PWRITE64 = 5017
SYS_READV = 5018 SYS_READV = 5018
SYS_WRITEV = 5019 SYS_WRITEV = 5019
SYS_ACCESS = 5020 SYS_ACCESS = 5020
SYS_PIPE = 5021 SYS_PIPE = 5021
SYS__NEWSELECT = 5022 SYS__NEWSELECT = 5022
SYS_SCHED_YIELD = 5023 SYS_SCHED_YIELD = 5023
SYS_MREMAP = 5024 SYS_MREMAP = 5024
SYS_MSYNC = 5025 SYS_MSYNC = 5025
SYS_MINCORE = 5026 SYS_MINCORE = 5026
SYS_MADVISE = 5027 SYS_MADVISE = 5027
SYS_SHMGET = 5028 SYS_SHMGET = 5028
SYS_SHMAT = 5029 SYS_SHMAT = 5029
SYS_SHMCTL = 5030 SYS_SHMCTL = 5030
SYS_DUP = 5031 SYS_DUP = 5031
SYS_DUP2 = 5032 SYS_DUP2 = 5032
SYS_PAUSE = 5033 SYS_PAUSE = 5033
SYS_NANOSLEEP = 5034 SYS_NANOSLEEP = 5034
SYS_GETITIMER = 5035 SYS_GETITIMER = 5035
SYS_SETITIMER = 5036 SYS_SETITIMER = 5036
SYS_ALARM = 5037 SYS_ALARM = 5037
SYS_GETPID = 5038 SYS_GETPID = 5038
SYS_SENDFILE = 5039 SYS_SENDFILE = 5039
SYS_SOCKET = 5040 SYS_SOCKET = 5040
SYS_CONNECT = 5041 SYS_CONNECT = 5041
SYS_ACCEPT = 5042 SYS_ACCEPT = 5042
SYS_SENDTO = 5043 SYS_SENDTO = 5043
SYS_RECVFROM = 5044 SYS_RECVFROM = 5044
SYS_SENDMSG = 5045 SYS_SENDMSG = 5045
SYS_RECVMSG = 5046 SYS_RECVMSG = 5046
SYS_SHUTDOWN = 5047 SYS_SHUTDOWN = 5047
SYS_BIND = 5048 SYS_BIND = 5048
SYS_LISTEN = 5049 SYS_LISTEN = 5049
SYS_GETSOCKNAME = 5050 SYS_GETSOCKNAME = 5050
SYS_GETPEERNAME = 5051 SYS_GETPEERNAME = 5051
SYS_SOCKETPAIR = 5052 SYS_SOCKETPAIR = 5052
SYS_SETSOCKOPT = 5053 SYS_SETSOCKOPT = 5053
SYS_GETSOCKOPT = 5054 SYS_GETSOCKOPT = 5054
SYS_CLONE = 5055 SYS_CLONE = 5055
SYS_FORK = 5056 SYS_FORK = 5056
SYS_EXECVE = 5057 SYS_EXECVE = 5057
SYS_EXIT = 5058 SYS_EXIT = 5058
SYS_WAIT4 = 5059 SYS_WAIT4 = 5059
SYS_KILL = 5060 SYS_KILL = 5060
SYS_UNAME = 5061 SYS_UNAME = 5061
SYS_SEMGET = 5062 SYS_SEMGET = 5062
SYS_SEMOP = 5063 SYS_SEMOP = 5063
SYS_SEMCTL = 5064 SYS_SEMCTL = 5064
SYS_SHMDT = 5065 SYS_SHMDT = 5065
SYS_MSGGET = 5066 SYS_MSGGET = 5066
SYS_MSGSND = 5067 SYS_MSGSND = 5067
SYS_MSGRCV = 5068 SYS_MSGRCV = 5068
SYS_MSGCTL = 5069 SYS_MSGCTL = 5069
SYS_FCNTL = 5070 SYS_FCNTL = 5070
SYS_FLOCK = 5071 SYS_FLOCK = 5071
SYS_FSYNC = 5072 SYS_FSYNC = 5072
SYS_FDATASYNC = 5073 SYS_FDATASYNC = 5073
SYS_TRUNCATE = 5074 SYS_TRUNCATE = 5074
SYS_FTRUNCATE = 5075 SYS_FTRUNCATE = 5075
SYS_GETDENTS = 5076 SYS_GETDENTS = 5076
SYS_GETCWD = 5077 SYS_GETCWD = 5077
SYS_CHDIR = 5078 SYS_CHDIR = 5078
SYS_FCHDIR = 5079 SYS_FCHDIR = 5079
SYS_RENAME = 5080 SYS_RENAME = 5080
SYS_MKDIR = 5081 SYS_MKDIR = 5081
SYS_RMDIR = 5082 SYS_RMDIR = 5082
SYS_CREAT = 5083 SYS_CREAT = 5083
SYS_LINK = 5084 SYS_LINK = 5084
SYS_UNLINK = 5085 SYS_UNLINK = 5085
SYS_SYMLINK = 5086 SYS_SYMLINK = 5086
SYS_READLINK = 5087 SYS_READLINK = 5087
SYS_CHMOD = 5088 SYS_CHMOD = 5088
SYS_FCHMOD = 5089 SYS_FCHMOD = 5089
SYS_CHOWN = 5090 SYS_CHOWN = 5090
SYS_FCHOWN = 5091 SYS_FCHOWN = 5091
SYS_LCHOWN = 5092 SYS_LCHOWN = 5092
SYS_UMASK = 5093 SYS_UMASK = 5093
SYS_GETTIMEOFDAY = 5094 SYS_GETTIMEOFDAY = 5094
SYS_GETRLIMIT = 5095 SYS_GETRLIMIT = 5095
SYS_GETRUSAGE = 5096 SYS_GETRUSAGE = 5096
SYS_SYSINFO = 5097 SYS_SYSINFO = 5097
SYS_TIMES = 5098 SYS_TIMES = 5098
SYS_PTRACE = 5099 SYS_PTRACE = 5099
SYS_GETUID = 5100 SYS_GETUID = 5100
SYS_SYSLOG = 5101 SYS_SYSLOG = 5101
SYS_GETGID = 5102 SYS_GETGID = 5102
SYS_SETUID = 5103 SYS_SETUID = 5103
SYS_SETGID = 5104 SYS_SETGID = 5104
SYS_GETEUID = 5105 SYS_GETEUID = 5105
SYS_GETEGID = 5106 SYS_GETEGID = 5106
SYS_SETPGID = 5107 SYS_SETPGID = 5107
SYS_GETPPID = 5108 SYS_GETPPID = 5108
SYS_GETPGRP = 5109 SYS_GETPGRP = 5109
SYS_SETSID = 5110 SYS_SETSID = 5110
SYS_SETREUID = 5111 SYS_SETREUID = 5111
SYS_SETREGID = 5112 SYS_SETREGID = 5112
SYS_GETGROUPS = 5113 SYS_GETGROUPS = 5113
SYS_SETGROUPS = 5114 SYS_SETGROUPS = 5114
SYS_SETRESUID = 5115 SYS_SETRESUID = 5115
SYS_GETRESUID = 5116 SYS_GETRESUID = 5116
SYS_SETRESGID = 5117 SYS_SETRESGID = 5117
SYS_GETRESGID = 5118 SYS_GETRESGID = 5118
SYS_GETPGID = 5119 SYS_GETPGID = 5119
SYS_SETFSUID = 5120 SYS_SETFSUID = 5120
SYS_SETFSGID = 5121 SYS_SETFSGID = 5121
SYS_GETSID = 5122 SYS_GETSID = 5122
SYS_CAPGET = 5123 SYS_CAPGET = 5123
SYS_CAPSET = 5124 SYS_CAPSET = 5124
SYS_RT_SIGPENDING = 5125 SYS_RT_SIGPENDING = 5125
SYS_RT_SIGTIMEDWAIT = 5126 SYS_RT_SIGTIMEDWAIT = 5126
SYS_RT_SIGQUEUEINFO = 5127 SYS_RT_SIGQUEUEINFO = 5127
SYS_RT_SIGSUSPEND = 5128 SYS_RT_SIGSUSPEND = 5128
SYS_SIGALTSTACK = 5129 SYS_SIGALTSTACK = 5129
SYS_UTIME = 5130 SYS_UTIME = 5130
SYS_MKNOD = 5131 SYS_MKNOD = 5131
SYS_PERSONALITY = 5132 SYS_PERSONALITY = 5132
SYS_USTAT = 5133 SYS_USTAT = 5133
SYS_STATFS = 5134 SYS_STATFS = 5134
SYS_FSTATFS = 5135 SYS_FSTATFS = 5135
SYS_SYSFS = 5136 SYS_SYSFS = 5136
SYS_GETPRIORITY = 5137 SYS_GETPRIORITY = 5137
SYS_SETPRIORITY = 5138 SYS_SETPRIORITY = 5138
SYS_SCHED_SETPARAM = 5139 SYS_SCHED_SETPARAM = 5139
SYS_SCHED_GETPARAM = 5140 SYS_SCHED_GETPARAM = 5140
SYS_SCHED_SETSCHEDULER = 5141 SYS_SCHED_SETSCHEDULER = 5141
SYS_SCHED_GETSCHEDULER = 5142 SYS_SCHED_GETSCHEDULER = 5142
SYS_SCHED_GET_PRIORITY_MAX = 5143 SYS_SCHED_GET_PRIORITY_MAX = 5143
SYS_SCHED_GET_PRIORITY_MIN = 5144 SYS_SCHED_GET_PRIORITY_MIN = 5144
SYS_SCHED_RR_GET_INTERVAL = 5145 SYS_SCHED_RR_GET_INTERVAL = 5145
SYS_MLOCK = 5146 SYS_MLOCK = 5146
SYS_MUNLOCK = 5147 SYS_MUNLOCK = 5147
SYS_MLOCKALL = 5148 SYS_MLOCKALL = 5148
SYS_MUNLOCKALL = 5149 SYS_MUNLOCKALL = 5149
SYS_VHANGUP = 5150 SYS_VHANGUP = 5150
SYS_PIVOT_ROOT = 5151 SYS_PIVOT_ROOT = 5151
SYS__SYSCTL = 5152 SYS__SYSCTL = 5152
SYS_PRCTL = 5153 SYS_PRCTL = 5153
SYS_ADJTIMEX = 5154 SYS_ADJTIMEX = 5154
SYS_SETRLIMIT = 5155 SYS_SETRLIMIT = 5155
SYS_CHROOT = 5156 SYS_CHROOT = 5156
SYS_SYNC = 5157 SYS_SYNC = 5157
SYS_ACCT = 5158 SYS_ACCT = 5158
SYS_SETTIMEOFDAY = 5159 SYS_SETTIMEOFDAY = 5159
SYS_MOUNT = 5160 SYS_MOUNT = 5160
SYS_UMOUNT2 = 5161 SYS_UMOUNT2 = 5161
SYS_SWAPON = 5162 SYS_SWAPON = 5162
SYS_SWAPOFF = 5163 SYS_SWAPOFF = 5163
SYS_REBOOT = 5164 SYS_REBOOT = 5164
SYS_SETHOSTNAME = 5165 SYS_SETHOSTNAME = 5165
SYS_SETDOMAINNAME = 5166 SYS_SETDOMAINNAME = 5166
SYS_CREATE_MODULE = 5167 SYS_CREATE_MODULE = 5167
SYS_INIT_MODULE = 5168 SYS_INIT_MODULE = 5168
SYS_DELETE_MODULE = 5169 SYS_DELETE_MODULE = 5169
SYS_GET_KERNEL_SYMS = 5170 SYS_GET_KERNEL_SYMS = 5170
SYS_QUERY_MODULE = 5171 SYS_QUERY_MODULE = 5171
SYS_QUOTACTL = 5172 SYS_QUOTACTL = 5172
SYS_NFSSERVCTL = 5173 SYS_NFSSERVCTL = 5173
SYS_GETPMSG = 5174 SYS_GETPMSG = 5174
SYS_PUTPMSG = 5175 SYS_PUTPMSG = 5175
SYS_AFS_SYSCALL = 5176 SYS_AFS_SYSCALL = 5176
SYS_RESERVED177 = 5177 SYS_RESERVED177 = 5177
SYS_GETTID = 5178 SYS_GETTID = 5178
SYS_READAHEAD = 5179 SYS_READAHEAD = 5179
SYS_SETXATTR = 5180 SYS_SETXATTR = 5180
SYS_LSETXATTR = 5181 SYS_LSETXATTR = 5181
SYS_FSETXATTR = 5182 SYS_FSETXATTR = 5182
SYS_GETXATTR = 5183 SYS_GETXATTR = 5183
SYS_LGETXATTR = 5184 SYS_LGETXATTR = 5184
SYS_FGETXATTR = 5185 SYS_FGETXATTR = 5185
SYS_LISTXATTR = 5186 SYS_LISTXATTR = 5186
SYS_LLISTXATTR = 5187 SYS_LLISTXATTR = 5187
SYS_FLISTXATTR = 5188 SYS_FLISTXATTR = 5188
SYS_REMOVEXATTR = 5189 SYS_REMOVEXATTR = 5189
SYS_LREMOVEXATTR = 5190 SYS_LREMOVEXATTR = 5190
SYS_FREMOVEXATTR = 5191 SYS_FREMOVEXATTR = 5191
SYS_TKILL = 5192 SYS_TKILL = 5192
SYS_RESERVED193 = 5193 SYS_RESERVED193 = 5193
SYS_FUTEX = 5194 SYS_FUTEX = 5194
SYS_SCHED_SETAFFINITY = 5195 SYS_SCHED_SETAFFINITY = 5195
SYS_SCHED_GETAFFINITY = 5196 SYS_SCHED_GETAFFINITY = 5196
SYS_CACHEFLUSH = 5197 SYS_CACHEFLUSH = 5197
SYS_CACHECTL = 5198 SYS_CACHECTL = 5198
SYS_SYSMIPS = 5199 SYS_SYSMIPS = 5199
SYS_IO_SETUP = 5200 SYS_IO_SETUP = 5200
SYS_IO_DESTROY = 5201 SYS_IO_DESTROY = 5201
SYS_IO_GETEVENTS = 5202 SYS_IO_GETEVENTS = 5202
SYS_IO_SUBMIT = 5203 SYS_IO_SUBMIT = 5203
SYS_IO_CANCEL = 5204 SYS_IO_CANCEL = 5204
SYS_EXIT_GROUP = 5205 SYS_EXIT_GROUP = 5205
SYS_LOOKUP_DCOOKIE = 5206 SYS_LOOKUP_DCOOKIE = 5206
SYS_EPOLL_CREATE = 5207 SYS_EPOLL_CREATE = 5207
SYS_EPOLL_CTL = 5208 SYS_EPOLL_CTL = 5208
SYS_EPOLL_WAIT = 5209 SYS_EPOLL_WAIT = 5209
SYS_REMAP_FILE_PAGES = 5210 SYS_REMAP_FILE_PAGES = 5210
SYS_RT_SIGRETURN = 5211 SYS_RT_SIGRETURN = 5211
SYS_SET_TID_ADDRESS = 5212 SYS_SET_TID_ADDRESS = 5212
SYS_RESTART_SYSCALL = 5213 SYS_RESTART_SYSCALL = 5213
SYS_SEMTIMEDOP = 5214 SYS_SEMTIMEDOP = 5214
SYS_FADVISE64 = 5215 SYS_FADVISE64 = 5215
SYS_TIMER_CREATE = 5216 SYS_TIMER_CREATE = 5216
SYS_TIMER_SETTIME = 5217 SYS_TIMER_SETTIME = 5217
SYS_TIMER_GETTIME = 5218 SYS_TIMER_GETTIME = 5218
SYS_TIMER_GETOVERRUN = 5219 SYS_TIMER_GETOVERRUN = 5219
SYS_TIMER_DELETE = 5220 SYS_TIMER_DELETE = 5220
SYS_CLOCK_SETTIME = 5221 SYS_CLOCK_SETTIME = 5221
SYS_CLOCK_GETTIME = 5222 SYS_CLOCK_GETTIME = 5222
SYS_CLOCK_GETRES = 5223 SYS_CLOCK_GETRES = 5223
SYS_CLOCK_NANOSLEEP = 5224 SYS_CLOCK_NANOSLEEP = 5224
SYS_TGKILL = 5225 SYS_TGKILL = 5225
SYS_UTIMES = 5226 SYS_UTIMES = 5226
SYS_MBIND = 5227 SYS_MBIND = 5227
SYS_GET_MEMPOLICY = 5228 SYS_GET_MEMPOLICY = 5228
SYS_SET_MEMPOLICY = 5229 SYS_SET_MEMPOLICY = 5229
SYS_MQ_OPEN = 5230 SYS_MQ_OPEN = 5230
SYS_MQ_UNLINK = 5231 SYS_MQ_UNLINK = 5231
SYS_MQ_TIMEDSEND = 5232 SYS_MQ_TIMEDSEND = 5232
SYS_MQ_TIMEDRECEIVE = 5233 SYS_MQ_TIMEDRECEIVE = 5233
SYS_MQ_NOTIFY = 5234 SYS_MQ_NOTIFY = 5234
SYS_MQ_GETSETATTR = 5235 SYS_MQ_GETSETATTR = 5235
SYS_VSERVER = 5236 SYS_VSERVER = 5236
SYS_WAITID = 5237 SYS_WAITID = 5237
SYS_ADD_KEY = 5239 SYS_ADD_KEY = 5239
SYS_REQUEST_KEY = 5240 SYS_REQUEST_KEY = 5240
SYS_KEYCTL = 5241 SYS_KEYCTL = 5241
SYS_SET_THREAD_AREA = 5242 SYS_SET_THREAD_AREA = 5242
SYS_INOTIFY_INIT = 5243 SYS_INOTIFY_INIT = 5243
SYS_INOTIFY_ADD_WATCH = 5244 SYS_INOTIFY_ADD_WATCH = 5244
SYS_INOTIFY_RM_WATCH = 5245 SYS_INOTIFY_RM_WATCH = 5245
SYS_MIGRATE_PAGES = 5246 SYS_MIGRATE_PAGES = 5246
SYS_OPENAT = 5247 SYS_OPENAT = 5247
SYS_MKDIRAT = 5248 SYS_MKDIRAT = 5248
SYS_MKNODAT = 5249 SYS_MKNODAT = 5249
SYS_FCHOWNAT = 5250 SYS_FCHOWNAT = 5250
SYS_FUTIMESAT = 5251 SYS_FUTIMESAT = 5251
SYS_NEWFSTATAT = 5252 SYS_NEWFSTATAT = 5252
SYS_UNLINKAT = 5253 SYS_UNLINKAT = 5253
SYS_RENAMEAT = 5254 SYS_RENAMEAT = 5254
SYS_LINKAT = 5255 SYS_LINKAT = 5255
SYS_SYMLINKAT = 5256 SYS_SYMLINKAT = 5256
SYS_READLINKAT = 5257 SYS_READLINKAT = 5257
SYS_FCHMODAT = 5258 SYS_FCHMODAT = 5258
SYS_FACCESSAT = 5259 SYS_FACCESSAT = 5259
SYS_PSELECT6 = 5260 SYS_PSELECT6 = 5260
SYS_PPOLL = 5261 SYS_PPOLL = 5261
SYS_UNSHARE = 5262 SYS_UNSHARE = 5262
SYS_SPLICE = 5263 SYS_SPLICE = 5263
SYS_SYNC_FILE_RANGE = 5264 SYS_SYNC_FILE_RANGE = 5264
SYS_TEE = 5265 SYS_TEE = 5265
SYS_VMSPLICE = 5266 SYS_VMSPLICE = 5266
SYS_MOVE_PAGES = 5267 SYS_MOVE_PAGES = 5267
SYS_SET_ROBUST_LIST = 5268 SYS_SET_ROBUST_LIST = 5268
SYS_GET_ROBUST_LIST = 5269 SYS_GET_ROBUST_LIST = 5269
SYS_KEXEC_LOAD = 5270 SYS_KEXEC_LOAD = 5270
SYS_GETCPU = 5271 SYS_GETCPU = 5271
SYS_EPOLL_PWAIT = 5272 SYS_EPOLL_PWAIT = 5272
SYS_IOPRIO_SET = 5273 SYS_IOPRIO_SET = 5273
SYS_IOPRIO_GET = 5274 SYS_IOPRIO_GET = 5274
SYS_UTIMENSAT = 5275 SYS_UTIMENSAT = 5275
SYS_SIGNALFD = 5276 SYS_SIGNALFD = 5276
SYS_TIMERFD = 5277 SYS_TIMERFD = 5277
SYS_EVENTFD = 5278 SYS_EVENTFD = 5278
SYS_FALLOCATE = 5279 SYS_FALLOCATE = 5279
SYS_TIMERFD_CREATE = 5280 SYS_TIMERFD_CREATE = 5280
SYS_TIMERFD_GETTIME = 5281 SYS_TIMERFD_GETTIME = 5281
SYS_TIMERFD_SETTIME = 5282 SYS_TIMERFD_SETTIME = 5282
SYS_SIGNALFD4 = 5283 SYS_SIGNALFD4 = 5283
SYS_EVENTFD2 = 5284 SYS_EVENTFD2 = 5284
SYS_EPOLL_CREATE1 = 5285 SYS_EPOLL_CREATE1 = 5285
SYS_DUP3 = 5286 SYS_DUP3 = 5286
SYS_PIPE2 = 5287 SYS_PIPE2 = 5287
SYS_INOTIFY_INIT1 = 5288 SYS_INOTIFY_INIT1 = 5288
SYS_PREADV = 5289 SYS_PREADV = 5289
SYS_PWRITEV = 5290 SYS_PWRITEV = 5290
SYS_RT_TGSIGQUEUEINFO = 5291 SYS_RT_TGSIGQUEUEINFO = 5291
SYS_PERF_EVENT_OPEN = 5292 SYS_PERF_EVENT_OPEN = 5292
SYS_ACCEPT4 = 5293 SYS_ACCEPT4 = 5293
SYS_RECVMMSG = 5294 SYS_RECVMMSG = 5294
SYS_FANOTIFY_INIT = 5295 SYS_FANOTIFY_INIT = 5295
SYS_FANOTIFY_MARK = 5296 SYS_FANOTIFY_MARK = 5296
SYS_PRLIMIT64 = 5297 SYS_PRLIMIT64 = 5297
SYS_NAME_TO_HANDLE_AT = 5298 SYS_NAME_TO_HANDLE_AT = 5298
SYS_OPEN_BY_HANDLE_AT = 5299 SYS_OPEN_BY_HANDLE_AT = 5299
SYS_CLOCK_ADJTIME = 5300 SYS_CLOCK_ADJTIME = 5300
SYS_SYNCFS = 5301 SYS_SYNCFS = 5301
SYS_SENDMMSG = 5302 SYS_SENDMMSG = 5302
SYS_SETNS = 5303 SYS_SETNS = 5303
SYS_PROCESS_VM_READV = 5304 SYS_PROCESS_VM_READV = 5304
SYS_PROCESS_VM_WRITEV = 5305 SYS_PROCESS_VM_WRITEV = 5305
SYS_KCMP = 5306 SYS_KCMP = 5306
SYS_FINIT_MODULE = 5307 SYS_FINIT_MODULE = 5307
SYS_GETDENTS64 = 5308 SYS_GETDENTS64 = 5308
SYS_SCHED_SETATTR = 5309 SYS_SCHED_SETATTR = 5309
SYS_SCHED_GETATTR = 5310 SYS_SCHED_GETATTR = 5310
SYS_RENAMEAT2 = 5311 SYS_RENAMEAT2 = 5311
SYS_SECCOMP = 5312 SYS_SECCOMP = 5312
SYS_GETRANDOM = 5313 SYS_GETRANDOM = 5313
SYS_MEMFD_CREATE = 5314 SYS_MEMFD_CREATE = 5314
SYS_BPF = 5315 SYS_BPF = 5315
SYS_EXECVEAT = 5316 SYS_EXECVEAT = 5316
SYS_USERFAULTFD = 5317 SYS_USERFAULTFD = 5317
SYS_MEMBARRIER = 5318 SYS_MEMBARRIER = 5318
SYS_MLOCK2 = 5319 SYS_MLOCK2 = 5319
SYS_COPY_FILE_RANGE = 5320 SYS_COPY_FILE_RANGE = 5320
SYS_PREADV2 = 5321 SYS_PREADV2 = 5321
SYS_PWRITEV2 = 5322 SYS_PWRITEV2 = 5322
SYS_PKEY_MPROTECT = 5323 SYS_PKEY_MPROTECT = 5323
SYS_PKEY_ALLOC = 5324 SYS_PKEY_ALLOC = 5324
SYS_PKEY_FREE = 5325 SYS_PKEY_FREE = 5325
SYS_STATX = 5326 SYS_STATX = 5326
SYS_RSEQ = 5327 SYS_RSEQ = 5327
SYS_IO_PGETEVENTS = 5328 SYS_IO_PGETEVENTS = 5328
SYS_PIDFD_SEND_SIGNAL = 5424 SYS_PIDFD_SEND_SIGNAL = 5424
SYS_IO_URING_SETUP = 5425 SYS_IO_URING_SETUP = 5425
SYS_IO_URING_ENTER = 5426 SYS_IO_URING_ENTER = 5426
SYS_IO_URING_REGISTER = 5427 SYS_IO_URING_REGISTER = 5427
SYS_OPEN_TREE = 5428 SYS_OPEN_TREE = 5428
SYS_MOVE_MOUNT = 5429 SYS_MOVE_MOUNT = 5429
SYS_FSOPEN = 5430 SYS_FSOPEN = 5430
SYS_FSCONFIG = 5431 SYS_FSCONFIG = 5431
SYS_FSMOUNT = 5432 SYS_FSMOUNT = 5432
SYS_FSPICK = 5433 SYS_FSPICK = 5433
SYS_PIDFD_OPEN = 5434 SYS_PIDFD_OPEN = 5434
SYS_CLONE3 = 5435 SYS_CLONE3 = 5435
SYS_CLOSE_RANGE = 5436 SYS_CLOSE_RANGE = 5436
SYS_OPENAT2 = 5437 SYS_OPENAT2 = 5437
SYS_PIDFD_GETFD = 5438 SYS_PIDFD_GETFD = 5438
SYS_FACCESSAT2 = 5439 SYS_FACCESSAT2 = 5439
SYS_PROCESS_MADVISE = 5440 SYS_PROCESS_MADVISE = 5440
SYS_EPOLL_PWAIT2 = 5441 SYS_EPOLL_PWAIT2 = 5441
SYS_MOUNT_SETATTR = 5442 SYS_MOUNT_SETATTR = 5442
SYS_LANDLOCK_CREATE_RULESET = 5444
SYS_LANDLOCK_ADD_RULE = 5445
SYS_LANDLOCK_RESTRICT_SELF = 5446
) )

View File

@ -424,4 +424,7 @@ const (
SYS_PROCESS_MADVISE = 4440 SYS_PROCESS_MADVISE = 4440
SYS_EPOLL_PWAIT2 = 4441 SYS_EPOLL_PWAIT2 = 4441
SYS_MOUNT_SETATTR = 4442 SYS_MOUNT_SETATTR = 4442
SYS_LANDLOCK_CREATE_RULESET = 4444
SYS_LANDLOCK_ADD_RULE = 4445
SYS_LANDLOCK_RESTRICT_SELF = 4446
) )

View File

@ -431,4 +431,7 @@ const (
SYS_PROCESS_MADVISE = 440 SYS_PROCESS_MADVISE = 440
SYS_EPOLL_PWAIT2 = 441 SYS_EPOLL_PWAIT2 = 441
SYS_MOUNT_SETATTR = 442 SYS_MOUNT_SETATTR = 442
SYS_LANDLOCK_CREATE_RULESET = 444
SYS_LANDLOCK_ADD_RULE = 445
SYS_LANDLOCK_RESTRICT_SELF = 446
) )

View File

@ -7,400 +7,403 @@
package unix package unix
const ( const (
SYS_RESTART_SYSCALL = 0 SYS_RESTART_SYSCALL = 0
SYS_EXIT = 1 SYS_EXIT = 1
SYS_FORK = 2 SYS_FORK = 2
SYS_READ = 3 SYS_READ = 3
SYS_WRITE = 4 SYS_WRITE = 4
SYS_OPEN = 5 SYS_OPEN = 5
SYS_CLOSE = 6 SYS_CLOSE = 6
SYS_WAITPID = 7 SYS_WAITPID = 7
SYS_CREAT = 8 SYS_CREAT = 8
SYS_LINK = 9 SYS_LINK = 9
SYS_UNLINK = 10 SYS_UNLINK = 10
SYS_EXECVE = 11 SYS_EXECVE = 11
SYS_CHDIR = 12 SYS_CHDIR = 12
SYS_TIME = 13 SYS_TIME = 13
SYS_MKNOD = 14 SYS_MKNOD = 14
SYS_CHMOD = 15 SYS_CHMOD = 15
SYS_LCHOWN = 16 SYS_LCHOWN = 16
SYS_BREAK = 17 SYS_BREAK = 17
SYS_OLDSTAT = 18 SYS_OLDSTAT = 18
SYS_LSEEK = 19 SYS_LSEEK = 19
SYS_GETPID = 20 SYS_GETPID = 20
SYS_MOUNT = 21 SYS_MOUNT = 21
SYS_UMOUNT = 22 SYS_UMOUNT = 22
SYS_SETUID = 23 SYS_SETUID = 23
SYS_GETUID = 24 SYS_GETUID = 24
SYS_STIME = 25 SYS_STIME = 25
SYS_PTRACE = 26 SYS_PTRACE = 26
SYS_ALARM = 27 SYS_ALARM = 27
SYS_OLDFSTAT = 28 SYS_OLDFSTAT = 28
SYS_PAUSE = 29 SYS_PAUSE = 29
SYS_UTIME = 30 SYS_UTIME = 30
SYS_STTY = 31 SYS_STTY = 31
SYS_GTTY = 32 SYS_GTTY = 32
SYS_ACCESS = 33 SYS_ACCESS = 33
SYS_NICE = 34 SYS_NICE = 34
SYS_FTIME = 35 SYS_FTIME = 35
SYS_SYNC = 36 SYS_SYNC = 36
SYS_KILL = 37 SYS_KILL = 37
SYS_RENAME = 38 SYS_RENAME = 38
SYS_MKDIR = 39 SYS_MKDIR = 39
SYS_RMDIR = 40 SYS_RMDIR = 40
SYS_DUP = 41 SYS_DUP = 41
SYS_PIPE = 42 SYS_PIPE = 42
SYS_TIMES = 43 SYS_TIMES = 43
SYS_PROF = 44 SYS_PROF = 44
SYS_BRK = 45 SYS_BRK = 45
SYS_SETGID = 46 SYS_SETGID = 46
SYS_GETGID = 47 SYS_GETGID = 47
SYS_SIGNAL = 48 SYS_SIGNAL = 48
SYS_GETEUID = 49 SYS_GETEUID = 49
SYS_GETEGID = 50 SYS_GETEGID = 50
SYS_ACCT = 51 SYS_ACCT = 51
SYS_UMOUNT2 = 52 SYS_UMOUNT2 = 52
SYS_LOCK = 53 SYS_LOCK = 53
SYS_IOCTL = 54 SYS_IOCTL = 54
SYS_FCNTL = 55 SYS_FCNTL = 55
SYS_MPX = 56 SYS_MPX = 56
SYS_SETPGID = 57 SYS_SETPGID = 57
SYS_ULIMIT = 58 SYS_ULIMIT = 58
SYS_OLDOLDUNAME = 59 SYS_OLDOLDUNAME = 59
SYS_UMASK = 60 SYS_UMASK = 60
SYS_CHROOT = 61 SYS_CHROOT = 61
SYS_USTAT = 62 SYS_USTAT = 62
SYS_DUP2 = 63 SYS_DUP2 = 63
SYS_GETPPID = 64 SYS_GETPPID = 64
SYS_GETPGRP = 65 SYS_GETPGRP = 65
SYS_SETSID = 66 SYS_SETSID = 66
SYS_SIGACTION = 67 SYS_SIGACTION = 67
SYS_SGETMASK = 68 SYS_SGETMASK = 68
SYS_SSETMASK = 69 SYS_SSETMASK = 69
SYS_SETREUID = 70 SYS_SETREUID = 70
SYS_SETREGID = 71 SYS_SETREGID = 71
SYS_SIGSUSPEND = 72 SYS_SIGSUSPEND = 72
SYS_SIGPENDING = 73 SYS_SIGPENDING = 73
SYS_SETHOSTNAME = 74 SYS_SETHOSTNAME = 74
SYS_SETRLIMIT = 75 SYS_SETRLIMIT = 75
SYS_GETRLIMIT = 76 SYS_GETRLIMIT = 76
SYS_GETRUSAGE = 77 SYS_GETRUSAGE = 77
SYS_GETTIMEOFDAY = 78 SYS_GETTIMEOFDAY = 78
SYS_SETTIMEOFDAY = 79 SYS_SETTIMEOFDAY = 79
SYS_GETGROUPS = 80 SYS_GETGROUPS = 80
SYS_SETGROUPS = 81 SYS_SETGROUPS = 81
SYS_SELECT = 82 SYS_SELECT = 82
SYS_SYMLINK = 83 SYS_SYMLINK = 83
SYS_OLDLSTAT = 84 SYS_OLDLSTAT = 84
SYS_READLINK = 85 SYS_READLINK = 85
SYS_USELIB = 86 SYS_USELIB = 86
SYS_SWAPON = 87 SYS_SWAPON = 87
SYS_REBOOT = 88 SYS_REBOOT = 88
SYS_READDIR = 89 SYS_READDIR = 89
SYS_MMAP = 90 SYS_MMAP = 90
SYS_MUNMAP = 91 SYS_MUNMAP = 91
SYS_TRUNCATE = 92 SYS_TRUNCATE = 92
SYS_FTRUNCATE = 93 SYS_FTRUNCATE = 93
SYS_FCHMOD = 94 SYS_FCHMOD = 94
SYS_FCHOWN = 95 SYS_FCHOWN = 95
SYS_GETPRIORITY = 96 SYS_GETPRIORITY = 96
SYS_SETPRIORITY = 97 SYS_SETPRIORITY = 97
SYS_PROFIL = 98 SYS_PROFIL = 98
SYS_STATFS = 99 SYS_STATFS = 99
SYS_FSTATFS = 100 SYS_FSTATFS = 100
SYS_IOPERM = 101 SYS_IOPERM = 101
SYS_SOCKETCALL = 102 SYS_SOCKETCALL = 102
SYS_SYSLOG = 103 SYS_SYSLOG = 103
SYS_SETITIMER = 104 SYS_SETITIMER = 104
SYS_GETITIMER = 105 SYS_GETITIMER = 105
SYS_STAT = 106 SYS_STAT = 106
SYS_LSTAT = 107 SYS_LSTAT = 107
SYS_FSTAT = 108 SYS_FSTAT = 108
SYS_OLDUNAME = 109 SYS_OLDUNAME = 109
SYS_IOPL = 110 SYS_IOPL = 110
SYS_VHANGUP = 111 SYS_VHANGUP = 111
SYS_IDLE = 112 SYS_IDLE = 112
SYS_VM86 = 113 SYS_VM86 = 113
SYS_WAIT4 = 114 SYS_WAIT4 = 114
SYS_SWAPOFF = 115 SYS_SWAPOFF = 115
SYS_SYSINFO = 116 SYS_SYSINFO = 116
SYS_IPC = 117 SYS_IPC = 117
SYS_FSYNC = 118 SYS_FSYNC = 118
SYS_SIGRETURN = 119 SYS_SIGRETURN = 119
SYS_CLONE = 120 SYS_CLONE = 120
SYS_SETDOMAINNAME = 121 SYS_SETDOMAINNAME = 121
SYS_UNAME = 122 SYS_UNAME = 122
SYS_MODIFY_LDT = 123 SYS_MODIFY_LDT = 123
SYS_ADJTIMEX = 124 SYS_ADJTIMEX = 124
SYS_MPROTECT = 125 SYS_MPROTECT = 125
SYS_SIGPROCMASK = 126 SYS_SIGPROCMASK = 126
SYS_CREATE_MODULE = 127 SYS_CREATE_MODULE = 127
SYS_INIT_MODULE = 128 SYS_INIT_MODULE = 128
SYS_DELETE_MODULE = 129 SYS_DELETE_MODULE = 129
SYS_GET_KERNEL_SYMS = 130 SYS_GET_KERNEL_SYMS = 130
SYS_QUOTACTL = 131 SYS_QUOTACTL = 131
SYS_GETPGID = 132 SYS_GETPGID = 132
SYS_FCHDIR = 133 SYS_FCHDIR = 133
SYS_BDFLUSH = 134 SYS_BDFLUSH = 134
SYS_SYSFS = 135 SYS_SYSFS = 135
SYS_PERSONALITY = 136 SYS_PERSONALITY = 136
SYS_AFS_SYSCALL = 137 SYS_AFS_SYSCALL = 137
SYS_SETFSUID = 138 SYS_SETFSUID = 138
SYS_SETFSGID = 139 SYS_SETFSGID = 139
SYS__LLSEEK = 140 SYS__LLSEEK = 140
SYS_GETDENTS = 141 SYS_GETDENTS = 141
SYS__NEWSELECT = 142 SYS__NEWSELECT = 142
SYS_FLOCK = 143 SYS_FLOCK = 143
SYS_MSYNC = 144 SYS_MSYNC = 144
SYS_READV = 145 SYS_READV = 145
SYS_WRITEV = 146 SYS_WRITEV = 146
SYS_GETSID = 147 SYS_GETSID = 147
SYS_FDATASYNC = 148 SYS_FDATASYNC = 148
SYS__SYSCTL = 149 SYS__SYSCTL = 149
SYS_MLOCK = 150 SYS_MLOCK = 150
SYS_MUNLOCK = 151 SYS_MUNLOCK = 151
SYS_MLOCKALL = 152 SYS_MLOCKALL = 152
SYS_MUNLOCKALL = 153 SYS_MUNLOCKALL = 153
SYS_SCHED_SETPARAM = 154 SYS_SCHED_SETPARAM = 154
SYS_SCHED_GETPARAM = 155 SYS_SCHED_GETPARAM = 155
SYS_SCHED_SETSCHEDULER = 156 SYS_SCHED_SETSCHEDULER = 156
SYS_SCHED_GETSCHEDULER = 157 SYS_SCHED_GETSCHEDULER = 157
SYS_SCHED_YIELD = 158 SYS_SCHED_YIELD = 158
SYS_SCHED_GET_PRIORITY_MAX = 159 SYS_SCHED_GET_PRIORITY_MAX = 159
SYS_SCHED_GET_PRIORITY_MIN = 160 SYS_SCHED_GET_PRIORITY_MIN = 160
SYS_SCHED_RR_GET_INTERVAL = 161 SYS_SCHED_RR_GET_INTERVAL = 161
SYS_NANOSLEEP = 162 SYS_NANOSLEEP = 162
SYS_MREMAP = 163 SYS_MREMAP = 163
SYS_SETRESUID = 164 SYS_SETRESUID = 164
SYS_GETRESUID = 165 SYS_GETRESUID = 165
SYS_QUERY_MODULE = 166 SYS_QUERY_MODULE = 166
SYS_POLL = 167 SYS_POLL = 167
SYS_NFSSERVCTL = 168 SYS_NFSSERVCTL = 168
SYS_SETRESGID = 169 SYS_SETRESGID = 169
SYS_GETRESGID = 170 SYS_GETRESGID = 170
SYS_PRCTL = 171 SYS_PRCTL = 171
SYS_RT_SIGRETURN = 172 SYS_RT_SIGRETURN = 172
SYS_RT_SIGACTION = 173 SYS_RT_SIGACTION = 173
SYS_RT_SIGPROCMASK = 174 SYS_RT_SIGPROCMASK = 174
SYS_RT_SIGPENDING = 175 SYS_RT_SIGPENDING = 175
SYS_RT_SIGTIMEDWAIT = 176 SYS_RT_SIGTIMEDWAIT = 176
SYS_RT_SIGQUEUEINFO = 177 SYS_RT_SIGQUEUEINFO = 177
SYS_RT_SIGSUSPEND = 178 SYS_RT_SIGSUSPEND = 178
SYS_PREAD64 = 179 SYS_PREAD64 = 179
SYS_PWRITE64 = 180 SYS_PWRITE64 = 180
SYS_CHOWN = 181 SYS_CHOWN = 181
SYS_GETCWD = 182 SYS_GETCWD = 182
SYS_CAPGET = 183 SYS_CAPGET = 183
SYS_CAPSET = 184 SYS_CAPSET = 184
SYS_SIGALTSTACK = 185 SYS_SIGALTSTACK = 185
SYS_SENDFILE = 186 SYS_SENDFILE = 186
SYS_GETPMSG = 187 SYS_GETPMSG = 187
SYS_PUTPMSG = 188 SYS_PUTPMSG = 188
SYS_VFORK = 189 SYS_VFORK = 189
SYS_UGETRLIMIT = 190 SYS_UGETRLIMIT = 190
SYS_READAHEAD = 191 SYS_READAHEAD = 191
SYS_PCICONFIG_READ = 198 SYS_PCICONFIG_READ = 198
SYS_PCICONFIG_WRITE = 199 SYS_PCICONFIG_WRITE = 199
SYS_PCICONFIG_IOBASE = 200 SYS_PCICONFIG_IOBASE = 200
SYS_MULTIPLEXER = 201 SYS_MULTIPLEXER = 201
SYS_GETDENTS64 = 202 SYS_GETDENTS64 = 202
SYS_PIVOT_ROOT = 203 SYS_PIVOT_ROOT = 203
SYS_MADVISE = 205 SYS_MADVISE = 205
SYS_MINCORE = 206 SYS_MINCORE = 206
SYS_GETTID = 207 SYS_GETTID = 207
SYS_TKILL = 208 SYS_TKILL = 208
SYS_SETXATTR = 209 SYS_SETXATTR = 209
SYS_LSETXATTR = 210 SYS_LSETXATTR = 210
SYS_FSETXATTR = 211 SYS_FSETXATTR = 211
SYS_GETXATTR = 212 SYS_GETXATTR = 212
SYS_LGETXATTR = 213 SYS_LGETXATTR = 213
SYS_FGETXATTR = 214 SYS_FGETXATTR = 214
SYS_LISTXATTR = 215 SYS_LISTXATTR = 215
SYS_LLISTXATTR = 216 SYS_LLISTXATTR = 216
SYS_FLISTXATTR = 217 SYS_FLISTXATTR = 217
SYS_REMOVEXATTR = 218 SYS_REMOVEXATTR = 218
SYS_LREMOVEXATTR = 219 SYS_LREMOVEXATTR = 219
SYS_FREMOVEXATTR = 220 SYS_FREMOVEXATTR = 220
SYS_FUTEX = 221 SYS_FUTEX = 221
SYS_SCHED_SETAFFINITY = 222 SYS_SCHED_SETAFFINITY = 222
SYS_SCHED_GETAFFINITY = 223 SYS_SCHED_GETAFFINITY = 223
SYS_TUXCALL = 225 SYS_TUXCALL = 225
SYS_IO_SETUP = 227 SYS_IO_SETUP = 227
SYS_IO_DESTROY = 228 SYS_IO_DESTROY = 228
SYS_IO_GETEVENTS = 229 SYS_IO_GETEVENTS = 229
SYS_IO_SUBMIT = 230 SYS_IO_SUBMIT = 230
SYS_IO_CANCEL = 231 SYS_IO_CANCEL = 231
SYS_SET_TID_ADDRESS = 232 SYS_SET_TID_ADDRESS = 232
SYS_FADVISE64 = 233 SYS_FADVISE64 = 233
SYS_EXIT_GROUP = 234 SYS_EXIT_GROUP = 234
SYS_LOOKUP_DCOOKIE = 235 SYS_LOOKUP_DCOOKIE = 235
SYS_EPOLL_CREATE = 236 SYS_EPOLL_CREATE = 236
SYS_EPOLL_CTL = 237 SYS_EPOLL_CTL = 237
SYS_EPOLL_WAIT = 238 SYS_EPOLL_WAIT = 238
SYS_REMAP_FILE_PAGES = 239 SYS_REMAP_FILE_PAGES = 239
SYS_TIMER_CREATE = 240 SYS_TIMER_CREATE = 240
SYS_TIMER_SETTIME = 241 SYS_TIMER_SETTIME = 241
SYS_TIMER_GETTIME = 242 SYS_TIMER_GETTIME = 242
SYS_TIMER_GETOVERRUN = 243 SYS_TIMER_GETOVERRUN = 243
SYS_TIMER_DELETE = 244 SYS_TIMER_DELETE = 244
SYS_CLOCK_SETTIME = 245 SYS_CLOCK_SETTIME = 245
SYS_CLOCK_GETTIME = 246 SYS_CLOCK_GETTIME = 246
SYS_CLOCK_GETRES = 247 SYS_CLOCK_GETRES = 247
SYS_CLOCK_NANOSLEEP = 248 SYS_CLOCK_NANOSLEEP = 248
SYS_SWAPCONTEXT = 249 SYS_SWAPCONTEXT = 249
SYS_TGKILL = 250 SYS_TGKILL = 250
SYS_UTIMES = 251 SYS_UTIMES = 251
SYS_STATFS64 = 252 SYS_STATFS64 = 252
SYS_FSTATFS64 = 253 SYS_FSTATFS64 = 253
SYS_RTAS = 255 SYS_RTAS = 255
SYS_SYS_DEBUG_SETCONTEXT = 256 SYS_SYS_DEBUG_SETCONTEXT = 256
SYS_MIGRATE_PAGES = 258 SYS_MIGRATE_PAGES = 258
SYS_MBIND = 259 SYS_MBIND = 259
SYS_GET_MEMPOLICY = 260 SYS_GET_MEMPOLICY = 260
SYS_SET_MEMPOLICY = 261 SYS_SET_MEMPOLICY = 261
SYS_MQ_OPEN = 262 SYS_MQ_OPEN = 262
SYS_MQ_UNLINK = 263 SYS_MQ_UNLINK = 263
SYS_MQ_TIMEDSEND = 264 SYS_MQ_TIMEDSEND = 264
SYS_MQ_TIMEDRECEIVE = 265 SYS_MQ_TIMEDRECEIVE = 265
SYS_MQ_NOTIFY = 266 SYS_MQ_NOTIFY = 266
SYS_MQ_GETSETATTR = 267 SYS_MQ_GETSETATTR = 267
SYS_KEXEC_LOAD = 268 SYS_KEXEC_LOAD = 268
SYS_ADD_KEY = 269 SYS_ADD_KEY = 269
SYS_REQUEST_KEY = 270 SYS_REQUEST_KEY = 270
SYS_KEYCTL = 271 SYS_KEYCTL = 271
SYS_WAITID = 272 SYS_WAITID = 272
SYS_IOPRIO_SET = 273 SYS_IOPRIO_SET = 273
SYS_IOPRIO_GET = 274 SYS_IOPRIO_GET = 274
SYS_INOTIFY_INIT = 275 SYS_INOTIFY_INIT = 275
SYS_INOTIFY_ADD_WATCH = 276 SYS_INOTIFY_ADD_WATCH = 276
SYS_INOTIFY_RM_WATCH = 277 SYS_INOTIFY_RM_WATCH = 277
SYS_SPU_RUN = 278 SYS_SPU_RUN = 278
SYS_SPU_CREATE = 279 SYS_SPU_CREATE = 279
SYS_PSELECT6 = 280 SYS_PSELECT6 = 280
SYS_PPOLL = 281 SYS_PPOLL = 281
SYS_UNSHARE = 282 SYS_UNSHARE = 282
SYS_SPLICE = 283 SYS_SPLICE = 283
SYS_TEE = 284 SYS_TEE = 284
SYS_VMSPLICE = 285 SYS_VMSPLICE = 285
SYS_OPENAT = 286 SYS_OPENAT = 286
SYS_MKDIRAT = 287 SYS_MKDIRAT = 287
SYS_MKNODAT = 288 SYS_MKNODAT = 288
SYS_FCHOWNAT = 289 SYS_FCHOWNAT = 289
SYS_FUTIMESAT = 290 SYS_FUTIMESAT = 290
SYS_NEWFSTATAT = 291 SYS_NEWFSTATAT = 291
SYS_UNLINKAT = 292 SYS_UNLINKAT = 292
SYS_RENAMEAT = 293 SYS_RENAMEAT = 293
SYS_LINKAT = 294 SYS_LINKAT = 294
SYS_SYMLINKAT = 295 SYS_SYMLINKAT = 295
SYS_READLINKAT = 296 SYS_READLINKAT = 296
SYS_FCHMODAT = 297 SYS_FCHMODAT = 297
SYS_FACCESSAT = 298 SYS_FACCESSAT = 298
SYS_GET_ROBUST_LIST = 299 SYS_GET_ROBUST_LIST = 299
SYS_SET_ROBUST_LIST = 300 SYS_SET_ROBUST_LIST = 300
SYS_MOVE_PAGES = 301 SYS_MOVE_PAGES = 301
SYS_GETCPU = 302 SYS_GETCPU = 302
SYS_EPOLL_PWAIT = 303 SYS_EPOLL_PWAIT = 303
SYS_UTIMENSAT = 304 SYS_UTIMENSAT = 304
SYS_SIGNALFD = 305 SYS_SIGNALFD = 305
SYS_TIMERFD_CREATE = 306 SYS_TIMERFD_CREATE = 306
SYS_EVENTFD = 307 SYS_EVENTFD = 307
SYS_SYNC_FILE_RANGE2 = 308 SYS_SYNC_FILE_RANGE2 = 308
SYS_FALLOCATE = 309 SYS_FALLOCATE = 309
SYS_SUBPAGE_PROT = 310 SYS_SUBPAGE_PROT = 310
SYS_TIMERFD_SETTIME = 311 SYS_TIMERFD_SETTIME = 311
SYS_TIMERFD_GETTIME = 312 SYS_TIMERFD_GETTIME = 312
SYS_SIGNALFD4 = 313 SYS_SIGNALFD4 = 313
SYS_EVENTFD2 = 314 SYS_EVENTFD2 = 314
SYS_EPOLL_CREATE1 = 315 SYS_EPOLL_CREATE1 = 315
SYS_DUP3 = 316 SYS_DUP3 = 316
SYS_PIPE2 = 317 SYS_PIPE2 = 317
SYS_INOTIFY_INIT1 = 318 SYS_INOTIFY_INIT1 = 318
SYS_PERF_EVENT_OPEN = 319 SYS_PERF_EVENT_OPEN = 319
SYS_PREADV = 320 SYS_PREADV = 320
SYS_PWRITEV = 321 SYS_PWRITEV = 321
SYS_RT_TGSIGQUEUEINFO = 322 SYS_RT_TGSIGQUEUEINFO = 322
SYS_FANOTIFY_INIT = 323 SYS_FANOTIFY_INIT = 323
SYS_FANOTIFY_MARK = 324 SYS_FANOTIFY_MARK = 324
SYS_PRLIMIT64 = 325 SYS_PRLIMIT64 = 325
SYS_SOCKET = 326 SYS_SOCKET = 326
SYS_BIND = 327 SYS_BIND = 327
SYS_CONNECT = 328 SYS_CONNECT = 328
SYS_LISTEN = 329 SYS_LISTEN = 329
SYS_ACCEPT = 330 SYS_ACCEPT = 330
SYS_GETSOCKNAME = 331 SYS_GETSOCKNAME = 331
SYS_GETPEERNAME = 332 SYS_GETPEERNAME = 332
SYS_SOCKETPAIR = 333 SYS_SOCKETPAIR = 333
SYS_SEND = 334 SYS_SEND = 334
SYS_SENDTO = 335 SYS_SENDTO = 335
SYS_RECV = 336 SYS_RECV = 336
SYS_RECVFROM = 337 SYS_RECVFROM = 337
SYS_SHUTDOWN = 338 SYS_SHUTDOWN = 338
SYS_SETSOCKOPT = 339 SYS_SETSOCKOPT = 339
SYS_GETSOCKOPT = 340 SYS_GETSOCKOPT = 340
SYS_SENDMSG = 341 SYS_SENDMSG = 341
SYS_RECVMSG = 342 SYS_RECVMSG = 342
SYS_RECVMMSG = 343 SYS_RECVMMSG = 343
SYS_ACCEPT4 = 344 SYS_ACCEPT4 = 344
SYS_NAME_TO_HANDLE_AT = 345 SYS_NAME_TO_HANDLE_AT = 345
SYS_OPEN_BY_HANDLE_AT = 346 SYS_OPEN_BY_HANDLE_AT = 346
SYS_CLOCK_ADJTIME = 347 SYS_CLOCK_ADJTIME = 347
SYS_SYNCFS = 348 SYS_SYNCFS = 348
SYS_SENDMMSG = 349 SYS_SENDMMSG = 349
SYS_SETNS = 350 SYS_SETNS = 350
SYS_PROCESS_VM_READV = 351 SYS_PROCESS_VM_READV = 351
SYS_PROCESS_VM_WRITEV = 352 SYS_PROCESS_VM_WRITEV = 352
SYS_FINIT_MODULE = 353 SYS_FINIT_MODULE = 353
SYS_KCMP = 354 SYS_KCMP = 354
SYS_SCHED_SETATTR = 355 SYS_SCHED_SETATTR = 355
SYS_SCHED_GETATTR = 356 SYS_SCHED_GETATTR = 356
SYS_RENAMEAT2 = 357 SYS_RENAMEAT2 = 357
SYS_SECCOMP = 358 SYS_SECCOMP = 358
SYS_GETRANDOM = 359 SYS_GETRANDOM = 359
SYS_MEMFD_CREATE = 360 SYS_MEMFD_CREATE = 360
SYS_BPF = 361 SYS_BPF = 361
SYS_EXECVEAT = 362 SYS_EXECVEAT = 362
SYS_SWITCH_ENDIAN = 363 SYS_SWITCH_ENDIAN = 363
SYS_USERFAULTFD = 364 SYS_USERFAULTFD = 364
SYS_MEMBARRIER = 365 SYS_MEMBARRIER = 365
SYS_MLOCK2 = 378 SYS_MLOCK2 = 378
SYS_COPY_FILE_RANGE = 379 SYS_COPY_FILE_RANGE = 379
SYS_PREADV2 = 380 SYS_PREADV2 = 380
SYS_PWRITEV2 = 381 SYS_PWRITEV2 = 381
SYS_KEXEC_FILE_LOAD = 382 SYS_KEXEC_FILE_LOAD = 382
SYS_STATX = 383 SYS_STATX = 383
SYS_PKEY_ALLOC = 384 SYS_PKEY_ALLOC = 384
SYS_PKEY_FREE = 385 SYS_PKEY_FREE = 385
SYS_PKEY_MPROTECT = 386 SYS_PKEY_MPROTECT = 386
SYS_RSEQ = 387 SYS_RSEQ = 387
SYS_IO_PGETEVENTS = 388 SYS_IO_PGETEVENTS = 388
SYS_SEMTIMEDOP = 392 SYS_SEMTIMEDOP = 392
SYS_SEMGET = 393 SYS_SEMGET = 393
SYS_SEMCTL = 394 SYS_SEMCTL = 394
SYS_SHMGET = 395 SYS_SHMGET = 395
SYS_SHMCTL = 396 SYS_SHMCTL = 396
SYS_SHMAT = 397 SYS_SHMAT = 397
SYS_SHMDT = 398 SYS_SHMDT = 398
SYS_MSGGET = 399 SYS_MSGGET = 399
SYS_MSGSND = 400 SYS_MSGSND = 400
SYS_MSGRCV = 401 SYS_MSGRCV = 401
SYS_MSGCTL = 402 SYS_MSGCTL = 402
SYS_PIDFD_SEND_SIGNAL = 424 SYS_PIDFD_SEND_SIGNAL = 424
SYS_IO_URING_SETUP = 425 SYS_IO_URING_SETUP = 425
SYS_IO_URING_ENTER = 426 SYS_IO_URING_ENTER = 426
SYS_IO_URING_REGISTER = 427 SYS_IO_URING_REGISTER = 427
SYS_OPEN_TREE = 428 SYS_OPEN_TREE = 428
SYS_MOVE_MOUNT = 429 SYS_MOVE_MOUNT = 429
SYS_FSOPEN = 430 SYS_FSOPEN = 430
SYS_FSCONFIG = 431 SYS_FSCONFIG = 431
SYS_FSMOUNT = 432 SYS_FSMOUNT = 432
SYS_FSPICK = 433 SYS_FSPICK = 433
SYS_PIDFD_OPEN = 434 SYS_PIDFD_OPEN = 434
SYS_CLONE3 = 435 SYS_CLONE3 = 435
SYS_CLOSE_RANGE = 436 SYS_CLOSE_RANGE = 436
SYS_OPENAT2 = 437 SYS_OPENAT2 = 437
SYS_PIDFD_GETFD = 438 SYS_PIDFD_GETFD = 438
SYS_FACCESSAT2 = 439 SYS_FACCESSAT2 = 439
SYS_PROCESS_MADVISE = 440 SYS_PROCESS_MADVISE = 440
SYS_EPOLL_PWAIT2 = 441 SYS_EPOLL_PWAIT2 = 441
SYS_MOUNT_SETATTR = 442 SYS_MOUNT_SETATTR = 442
SYS_LANDLOCK_CREATE_RULESET = 444
SYS_LANDLOCK_ADD_RULE = 445
SYS_LANDLOCK_RESTRICT_SELF = 446
) )

View File

@ -7,400 +7,403 @@
package unix package unix
const ( const (
SYS_RESTART_SYSCALL = 0 SYS_RESTART_SYSCALL = 0
SYS_EXIT = 1 SYS_EXIT = 1
SYS_FORK = 2 SYS_FORK = 2
SYS_READ = 3 SYS_READ = 3
SYS_WRITE = 4 SYS_WRITE = 4
SYS_OPEN = 5 SYS_OPEN = 5
SYS_CLOSE = 6 SYS_CLOSE = 6
SYS_WAITPID = 7 SYS_WAITPID = 7
SYS_CREAT = 8 SYS_CREAT = 8
SYS_LINK = 9 SYS_LINK = 9
SYS_UNLINK = 10 SYS_UNLINK = 10
SYS_EXECVE = 11 SYS_EXECVE = 11
SYS_CHDIR = 12 SYS_CHDIR = 12
SYS_TIME = 13 SYS_TIME = 13
SYS_MKNOD = 14 SYS_MKNOD = 14
SYS_CHMOD = 15 SYS_CHMOD = 15
SYS_LCHOWN = 16 SYS_LCHOWN = 16
SYS_BREAK = 17 SYS_BREAK = 17
SYS_OLDSTAT = 18 SYS_OLDSTAT = 18
SYS_LSEEK = 19 SYS_LSEEK = 19
SYS_GETPID = 20 SYS_GETPID = 20
SYS_MOUNT = 21 SYS_MOUNT = 21
SYS_UMOUNT = 22 SYS_UMOUNT = 22
SYS_SETUID = 23 SYS_SETUID = 23
SYS_GETUID = 24 SYS_GETUID = 24
SYS_STIME = 25 SYS_STIME = 25
SYS_PTRACE = 26 SYS_PTRACE = 26
SYS_ALARM = 27 SYS_ALARM = 27
SYS_OLDFSTAT = 28 SYS_OLDFSTAT = 28
SYS_PAUSE = 29 SYS_PAUSE = 29
SYS_UTIME = 30 SYS_UTIME = 30
SYS_STTY = 31 SYS_STTY = 31
SYS_GTTY = 32 SYS_GTTY = 32
SYS_ACCESS = 33 SYS_ACCESS = 33
SYS_NICE = 34 SYS_NICE = 34
SYS_FTIME = 35 SYS_FTIME = 35
SYS_SYNC = 36 SYS_SYNC = 36
SYS_KILL = 37 SYS_KILL = 37
SYS_RENAME = 38 SYS_RENAME = 38
SYS_MKDIR = 39 SYS_MKDIR = 39
SYS_RMDIR = 40 SYS_RMDIR = 40
SYS_DUP = 41 SYS_DUP = 41
SYS_PIPE = 42 SYS_PIPE = 42
SYS_TIMES = 43 SYS_TIMES = 43
SYS_PROF = 44 SYS_PROF = 44
SYS_BRK = 45 SYS_BRK = 45
SYS_SETGID = 46 SYS_SETGID = 46
SYS_GETGID = 47 SYS_GETGID = 47
SYS_SIGNAL = 48 SYS_SIGNAL = 48
SYS_GETEUID = 49 SYS_GETEUID = 49
SYS_GETEGID = 50 SYS_GETEGID = 50
SYS_ACCT = 51 SYS_ACCT = 51
SYS_UMOUNT2 = 52 SYS_UMOUNT2 = 52
SYS_LOCK = 53 SYS_LOCK = 53
SYS_IOCTL = 54 SYS_IOCTL = 54
SYS_FCNTL = 55 SYS_FCNTL = 55
SYS_MPX = 56 SYS_MPX = 56
SYS_SETPGID = 57 SYS_SETPGID = 57
SYS_ULIMIT = 58 SYS_ULIMIT = 58
SYS_OLDOLDUNAME = 59 SYS_OLDOLDUNAME = 59
SYS_UMASK = 60 SYS_UMASK = 60
SYS_CHROOT = 61 SYS_CHROOT = 61
SYS_USTAT = 62 SYS_USTAT = 62
SYS_DUP2 = 63 SYS_DUP2 = 63
SYS_GETPPID = 64 SYS_GETPPID = 64
SYS_GETPGRP = 65 SYS_GETPGRP = 65
SYS_SETSID = 66 SYS_SETSID = 66
SYS_SIGACTION = 67 SYS_SIGACTION = 67
SYS_SGETMASK = 68 SYS_SGETMASK = 68
SYS_SSETMASK = 69 SYS_SSETMASK = 69
SYS_SETREUID = 70 SYS_SETREUID = 70
SYS_SETREGID = 71 SYS_SETREGID = 71
SYS_SIGSUSPEND = 72 SYS_SIGSUSPEND = 72
SYS_SIGPENDING = 73 SYS_SIGPENDING = 73
SYS_SETHOSTNAME = 74 SYS_SETHOSTNAME = 74
SYS_SETRLIMIT = 75 SYS_SETRLIMIT = 75
SYS_GETRLIMIT = 76 SYS_GETRLIMIT = 76
SYS_GETRUSAGE = 77 SYS_GETRUSAGE = 77
SYS_GETTIMEOFDAY = 78 SYS_GETTIMEOFDAY = 78
SYS_SETTIMEOFDAY = 79 SYS_SETTIMEOFDAY = 79
SYS_GETGROUPS = 80 SYS_GETGROUPS = 80
SYS_SETGROUPS = 81 SYS_SETGROUPS = 81
SYS_SELECT = 82 SYS_SELECT = 82
SYS_SYMLINK = 83 SYS_SYMLINK = 83
SYS_OLDLSTAT = 84 SYS_OLDLSTAT = 84
SYS_READLINK = 85 SYS_READLINK = 85
SYS_USELIB = 86 SYS_USELIB = 86
SYS_SWAPON = 87 SYS_SWAPON = 87
SYS_REBOOT = 88 SYS_REBOOT = 88
SYS_READDIR = 89 SYS_READDIR = 89
SYS_MMAP = 90 SYS_MMAP = 90
SYS_MUNMAP = 91 SYS_MUNMAP = 91
SYS_TRUNCATE = 92 SYS_TRUNCATE = 92
SYS_FTRUNCATE = 93 SYS_FTRUNCATE = 93
SYS_FCHMOD = 94 SYS_FCHMOD = 94
SYS_FCHOWN = 95 SYS_FCHOWN = 95
SYS_GETPRIORITY = 96 SYS_GETPRIORITY = 96
SYS_SETPRIORITY = 97 SYS_SETPRIORITY = 97
SYS_PROFIL = 98 SYS_PROFIL = 98
SYS_STATFS = 99 SYS_STATFS = 99
SYS_FSTATFS = 100 SYS_FSTATFS = 100
SYS_IOPERM = 101 SYS_IOPERM = 101
SYS_SOCKETCALL = 102 SYS_SOCKETCALL = 102
SYS_SYSLOG = 103 SYS_SYSLOG = 103
SYS_SETITIMER = 104 SYS_SETITIMER = 104
SYS_GETITIMER = 105 SYS_GETITIMER = 105
SYS_STAT = 106 SYS_STAT = 106
SYS_LSTAT = 107 SYS_LSTAT = 107
SYS_FSTAT = 108 SYS_FSTAT = 108
SYS_OLDUNAME = 109 SYS_OLDUNAME = 109
SYS_IOPL = 110 SYS_IOPL = 110
SYS_VHANGUP = 111 SYS_VHANGUP = 111
SYS_IDLE = 112 SYS_IDLE = 112
SYS_VM86 = 113 SYS_VM86 = 113
SYS_WAIT4 = 114 SYS_WAIT4 = 114
SYS_SWAPOFF = 115 SYS_SWAPOFF = 115
SYS_SYSINFO = 116 SYS_SYSINFO = 116
SYS_IPC = 117 SYS_IPC = 117
SYS_FSYNC = 118 SYS_FSYNC = 118
SYS_SIGRETURN = 119 SYS_SIGRETURN = 119
SYS_CLONE = 120 SYS_CLONE = 120
SYS_SETDOMAINNAME = 121 SYS_SETDOMAINNAME = 121
SYS_UNAME = 122 SYS_UNAME = 122
SYS_MODIFY_LDT = 123 SYS_MODIFY_LDT = 123
SYS_ADJTIMEX = 124 SYS_ADJTIMEX = 124
SYS_MPROTECT = 125 SYS_MPROTECT = 125
SYS_SIGPROCMASK = 126 SYS_SIGPROCMASK = 126
SYS_CREATE_MODULE = 127 SYS_CREATE_MODULE = 127
SYS_INIT_MODULE = 128 SYS_INIT_MODULE = 128
SYS_DELETE_MODULE = 129 SYS_DELETE_MODULE = 129
SYS_GET_KERNEL_SYMS = 130 SYS_GET_KERNEL_SYMS = 130
SYS_QUOTACTL = 131 SYS_QUOTACTL = 131
SYS_GETPGID = 132 SYS_GETPGID = 132
SYS_FCHDIR = 133 SYS_FCHDIR = 133
SYS_BDFLUSH = 134 SYS_BDFLUSH = 134
SYS_SYSFS = 135 SYS_SYSFS = 135
SYS_PERSONALITY = 136 SYS_PERSONALITY = 136
SYS_AFS_SYSCALL = 137 SYS_AFS_SYSCALL = 137
SYS_SETFSUID = 138 SYS_SETFSUID = 138
SYS_SETFSGID = 139 SYS_SETFSGID = 139
SYS__LLSEEK = 140 SYS__LLSEEK = 140
SYS_GETDENTS = 141 SYS_GETDENTS = 141
SYS__NEWSELECT = 142 SYS__NEWSELECT = 142
SYS_FLOCK = 143 SYS_FLOCK = 143
SYS_MSYNC = 144 SYS_MSYNC = 144
SYS_READV = 145 SYS_READV = 145
SYS_WRITEV = 146 SYS_WRITEV = 146
SYS_GETSID = 147 SYS_GETSID = 147
SYS_FDATASYNC = 148 SYS_FDATASYNC = 148
SYS__SYSCTL = 149 SYS__SYSCTL = 149
SYS_MLOCK = 150 SYS_MLOCK = 150
SYS_MUNLOCK = 151 SYS_MUNLOCK = 151
SYS_MLOCKALL = 152 SYS_MLOCKALL = 152
SYS_MUNLOCKALL = 153 SYS_MUNLOCKALL = 153
SYS_SCHED_SETPARAM = 154 SYS_SCHED_SETPARAM = 154
SYS_SCHED_GETPARAM = 155 SYS_SCHED_GETPARAM = 155
SYS_SCHED_SETSCHEDULER = 156 SYS_SCHED_SETSCHEDULER = 156
SYS_SCHED_GETSCHEDULER = 157 SYS_SCHED_GETSCHEDULER = 157
SYS_SCHED_YIELD = 158 SYS_SCHED_YIELD = 158
SYS_SCHED_GET_PRIORITY_MAX = 159 SYS_SCHED_GET_PRIORITY_MAX = 159
SYS_SCHED_GET_PRIORITY_MIN = 160 SYS_SCHED_GET_PRIORITY_MIN = 160
SYS_SCHED_RR_GET_INTERVAL = 161 SYS_SCHED_RR_GET_INTERVAL = 161
SYS_NANOSLEEP = 162 SYS_NANOSLEEP = 162
SYS_MREMAP = 163 SYS_MREMAP = 163
SYS_SETRESUID = 164 SYS_SETRESUID = 164
SYS_GETRESUID = 165 SYS_GETRESUID = 165
SYS_QUERY_MODULE = 166 SYS_QUERY_MODULE = 166
SYS_POLL = 167 SYS_POLL = 167
SYS_NFSSERVCTL = 168 SYS_NFSSERVCTL = 168
SYS_SETRESGID = 169 SYS_SETRESGID = 169
SYS_GETRESGID = 170 SYS_GETRESGID = 170
SYS_PRCTL = 171 SYS_PRCTL = 171
SYS_RT_SIGRETURN = 172 SYS_RT_SIGRETURN = 172
SYS_RT_SIGACTION = 173 SYS_RT_SIGACTION = 173
SYS_RT_SIGPROCMASK = 174 SYS_RT_SIGPROCMASK = 174
SYS_RT_SIGPENDING = 175 SYS_RT_SIGPENDING = 175
SYS_RT_SIGTIMEDWAIT = 176 SYS_RT_SIGTIMEDWAIT = 176
SYS_RT_SIGQUEUEINFO = 177 SYS_RT_SIGQUEUEINFO = 177
SYS_RT_SIGSUSPEND = 178 SYS_RT_SIGSUSPEND = 178
SYS_PREAD64 = 179 SYS_PREAD64 = 179
SYS_PWRITE64 = 180 SYS_PWRITE64 = 180
SYS_CHOWN = 181 SYS_CHOWN = 181
SYS_GETCWD = 182 SYS_GETCWD = 182
SYS_CAPGET = 183 SYS_CAPGET = 183
SYS_CAPSET = 184 SYS_CAPSET = 184
SYS_SIGALTSTACK = 185 SYS_SIGALTSTACK = 185
SYS_SENDFILE = 186 SYS_SENDFILE = 186
SYS_GETPMSG = 187 SYS_GETPMSG = 187
SYS_PUTPMSG = 188 SYS_PUTPMSG = 188
SYS_VFORK = 189 SYS_VFORK = 189
SYS_UGETRLIMIT = 190 SYS_UGETRLIMIT = 190
SYS_READAHEAD = 191 SYS_READAHEAD = 191
SYS_PCICONFIG_READ = 198 SYS_PCICONFIG_READ = 198
SYS_PCICONFIG_WRITE = 199 SYS_PCICONFIG_WRITE = 199
SYS_PCICONFIG_IOBASE = 200 SYS_PCICONFIG_IOBASE = 200
SYS_MULTIPLEXER = 201 SYS_MULTIPLEXER = 201
SYS_GETDENTS64 = 202 SYS_GETDENTS64 = 202
SYS_PIVOT_ROOT = 203 SYS_PIVOT_ROOT = 203
SYS_MADVISE = 205 SYS_MADVISE = 205
SYS_MINCORE = 206 SYS_MINCORE = 206
SYS_GETTID = 207 SYS_GETTID = 207
SYS_TKILL = 208 SYS_TKILL = 208
SYS_SETXATTR = 209 SYS_SETXATTR = 209
SYS_LSETXATTR = 210 SYS_LSETXATTR = 210
SYS_FSETXATTR = 211 SYS_FSETXATTR = 211
SYS_GETXATTR = 212 SYS_GETXATTR = 212
SYS_LGETXATTR = 213 SYS_LGETXATTR = 213
SYS_FGETXATTR = 214 SYS_FGETXATTR = 214
SYS_LISTXATTR = 215 SYS_LISTXATTR = 215
SYS_LLISTXATTR = 216 SYS_LLISTXATTR = 216
SYS_FLISTXATTR = 217 SYS_FLISTXATTR = 217
SYS_REMOVEXATTR = 218 SYS_REMOVEXATTR = 218
SYS_LREMOVEXATTR = 219 SYS_LREMOVEXATTR = 219
SYS_FREMOVEXATTR = 220 SYS_FREMOVEXATTR = 220
SYS_FUTEX = 221 SYS_FUTEX = 221
SYS_SCHED_SETAFFINITY = 222 SYS_SCHED_SETAFFINITY = 222
SYS_SCHED_GETAFFINITY = 223 SYS_SCHED_GETAFFINITY = 223
SYS_TUXCALL = 225 SYS_TUXCALL = 225
SYS_IO_SETUP = 227 SYS_IO_SETUP = 227
SYS_IO_DESTROY = 228 SYS_IO_DESTROY = 228
SYS_IO_GETEVENTS = 229 SYS_IO_GETEVENTS = 229
SYS_IO_SUBMIT = 230 SYS_IO_SUBMIT = 230
SYS_IO_CANCEL = 231 SYS_IO_CANCEL = 231
SYS_SET_TID_ADDRESS = 232 SYS_SET_TID_ADDRESS = 232
SYS_FADVISE64 = 233 SYS_FADVISE64 = 233
SYS_EXIT_GROUP = 234 SYS_EXIT_GROUP = 234
SYS_LOOKUP_DCOOKIE = 235 SYS_LOOKUP_DCOOKIE = 235
SYS_EPOLL_CREATE = 236 SYS_EPOLL_CREATE = 236
SYS_EPOLL_CTL = 237 SYS_EPOLL_CTL = 237
SYS_EPOLL_WAIT = 238 SYS_EPOLL_WAIT = 238
SYS_REMAP_FILE_PAGES = 239 SYS_REMAP_FILE_PAGES = 239
SYS_TIMER_CREATE = 240 SYS_TIMER_CREATE = 240
SYS_TIMER_SETTIME = 241 SYS_TIMER_SETTIME = 241
SYS_TIMER_GETTIME = 242 SYS_TIMER_GETTIME = 242
SYS_TIMER_GETOVERRUN = 243 SYS_TIMER_GETOVERRUN = 243
SYS_TIMER_DELETE = 244 SYS_TIMER_DELETE = 244
SYS_CLOCK_SETTIME = 245 SYS_CLOCK_SETTIME = 245
SYS_CLOCK_GETTIME = 246 SYS_CLOCK_GETTIME = 246
SYS_CLOCK_GETRES = 247 SYS_CLOCK_GETRES = 247
SYS_CLOCK_NANOSLEEP = 248 SYS_CLOCK_NANOSLEEP = 248
SYS_SWAPCONTEXT = 249 SYS_SWAPCONTEXT = 249
SYS_TGKILL = 250 SYS_TGKILL = 250
SYS_UTIMES = 251 SYS_UTIMES = 251
SYS_STATFS64 = 252 SYS_STATFS64 = 252
SYS_FSTATFS64 = 253 SYS_FSTATFS64 = 253
SYS_RTAS = 255 SYS_RTAS = 255
SYS_SYS_DEBUG_SETCONTEXT = 256 SYS_SYS_DEBUG_SETCONTEXT = 256
SYS_MIGRATE_PAGES = 258 SYS_MIGRATE_PAGES = 258
SYS_MBIND = 259 SYS_MBIND = 259
SYS_GET_MEMPOLICY = 260 SYS_GET_MEMPOLICY = 260
SYS_SET_MEMPOLICY = 261 SYS_SET_MEMPOLICY = 261
SYS_MQ_OPEN = 262 SYS_MQ_OPEN = 262
SYS_MQ_UNLINK = 263 SYS_MQ_UNLINK = 263
SYS_MQ_TIMEDSEND = 264 SYS_MQ_TIMEDSEND = 264
SYS_MQ_TIMEDRECEIVE = 265 SYS_MQ_TIMEDRECEIVE = 265
SYS_MQ_NOTIFY = 266 SYS_MQ_NOTIFY = 266
SYS_MQ_GETSETATTR = 267 SYS_MQ_GETSETATTR = 267
SYS_KEXEC_LOAD = 268 SYS_KEXEC_LOAD = 268
SYS_ADD_KEY = 269 SYS_ADD_KEY = 269
SYS_REQUEST_KEY = 270 SYS_REQUEST_KEY = 270
SYS_KEYCTL = 271 SYS_KEYCTL = 271
SYS_WAITID = 272 SYS_WAITID = 272
SYS_IOPRIO_SET = 273 SYS_IOPRIO_SET = 273
SYS_IOPRIO_GET = 274 SYS_IOPRIO_GET = 274
SYS_INOTIFY_INIT = 275 SYS_INOTIFY_INIT = 275
SYS_INOTIFY_ADD_WATCH = 276 SYS_INOTIFY_ADD_WATCH = 276
SYS_INOTIFY_RM_WATCH = 277 SYS_INOTIFY_RM_WATCH = 277
SYS_SPU_RUN = 278 SYS_SPU_RUN = 278
SYS_SPU_CREATE = 279 SYS_SPU_CREATE = 279
SYS_PSELECT6 = 280 SYS_PSELECT6 = 280
SYS_PPOLL = 281 SYS_PPOLL = 281
SYS_UNSHARE = 282 SYS_UNSHARE = 282
SYS_SPLICE = 283 SYS_SPLICE = 283
SYS_TEE = 284 SYS_TEE = 284
SYS_VMSPLICE = 285 SYS_VMSPLICE = 285
SYS_OPENAT = 286 SYS_OPENAT = 286
SYS_MKDIRAT = 287 SYS_MKDIRAT = 287
SYS_MKNODAT = 288 SYS_MKNODAT = 288
SYS_FCHOWNAT = 289 SYS_FCHOWNAT = 289
SYS_FUTIMESAT = 290 SYS_FUTIMESAT = 290
SYS_NEWFSTATAT = 291 SYS_NEWFSTATAT = 291
SYS_UNLINKAT = 292 SYS_UNLINKAT = 292
SYS_RENAMEAT = 293 SYS_RENAMEAT = 293
SYS_LINKAT = 294 SYS_LINKAT = 294
SYS_SYMLINKAT = 295 SYS_SYMLINKAT = 295
SYS_READLINKAT = 296 SYS_READLINKAT = 296
SYS_FCHMODAT = 297 SYS_FCHMODAT = 297
SYS_FACCESSAT = 298 SYS_FACCESSAT = 298
SYS_GET_ROBUST_LIST = 299 SYS_GET_ROBUST_LIST = 299
SYS_SET_ROBUST_LIST = 300 SYS_SET_ROBUST_LIST = 300
SYS_MOVE_PAGES = 301 SYS_MOVE_PAGES = 301
SYS_GETCPU = 302 SYS_GETCPU = 302
SYS_EPOLL_PWAIT = 303 SYS_EPOLL_PWAIT = 303
SYS_UTIMENSAT = 304 SYS_UTIMENSAT = 304
SYS_SIGNALFD = 305 SYS_SIGNALFD = 305
SYS_TIMERFD_CREATE = 306 SYS_TIMERFD_CREATE = 306
SYS_EVENTFD = 307 SYS_EVENTFD = 307
SYS_SYNC_FILE_RANGE2 = 308 SYS_SYNC_FILE_RANGE2 = 308
SYS_FALLOCATE = 309 SYS_FALLOCATE = 309
SYS_SUBPAGE_PROT = 310 SYS_SUBPAGE_PROT = 310
SYS_TIMERFD_SETTIME = 311 SYS_TIMERFD_SETTIME = 311
SYS_TIMERFD_GETTIME = 312 SYS_TIMERFD_GETTIME = 312
SYS_SIGNALFD4 = 313 SYS_SIGNALFD4 = 313
SYS_EVENTFD2 = 314 SYS_EVENTFD2 = 314
SYS_EPOLL_CREATE1 = 315 SYS_EPOLL_CREATE1 = 315
SYS_DUP3 = 316 SYS_DUP3 = 316
SYS_PIPE2 = 317 SYS_PIPE2 = 317
SYS_INOTIFY_INIT1 = 318 SYS_INOTIFY_INIT1 = 318
SYS_PERF_EVENT_OPEN = 319 SYS_PERF_EVENT_OPEN = 319
SYS_PREADV = 320 SYS_PREADV = 320
SYS_PWRITEV = 321 SYS_PWRITEV = 321
SYS_RT_TGSIGQUEUEINFO = 322 SYS_RT_TGSIGQUEUEINFO = 322
SYS_FANOTIFY_INIT = 323 SYS_FANOTIFY_INIT = 323
SYS_FANOTIFY_MARK = 324 SYS_FANOTIFY_MARK = 324
SYS_PRLIMIT64 = 325 SYS_PRLIMIT64 = 325
SYS_SOCKET = 326 SYS_SOCKET = 326
SYS_BIND = 327 SYS_BIND = 327
SYS_CONNECT = 328 SYS_CONNECT = 328
SYS_LISTEN = 329 SYS_LISTEN = 329
SYS_ACCEPT = 330 SYS_ACCEPT = 330
SYS_GETSOCKNAME = 331 SYS_GETSOCKNAME = 331
SYS_GETPEERNAME = 332 SYS_GETPEERNAME = 332
SYS_SOCKETPAIR = 333 SYS_SOCKETPAIR = 333
SYS_SEND = 334 SYS_SEND = 334
SYS_SENDTO = 335 SYS_SENDTO = 335
SYS_RECV = 336 SYS_RECV = 336
SYS_RECVFROM = 337 SYS_RECVFROM = 337
SYS_SHUTDOWN = 338 SYS_SHUTDOWN = 338
SYS_SETSOCKOPT = 339 SYS_SETSOCKOPT = 339
SYS_GETSOCKOPT = 340 SYS_GETSOCKOPT = 340
SYS_SENDMSG = 341 SYS_SENDMSG = 341
SYS_RECVMSG = 342 SYS_RECVMSG = 342
SYS_RECVMMSG = 343 SYS_RECVMMSG = 343
SYS_ACCEPT4 = 344 SYS_ACCEPT4 = 344
SYS_NAME_TO_HANDLE_AT = 345 SYS_NAME_TO_HANDLE_AT = 345
SYS_OPEN_BY_HANDLE_AT = 346 SYS_OPEN_BY_HANDLE_AT = 346
SYS_CLOCK_ADJTIME = 347 SYS_CLOCK_ADJTIME = 347
SYS_SYNCFS = 348 SYS_SYNCFS = 348
SYS_SENDMMSG = 349 SYS_SENDMMSG = 349
SYS_SETNS = 350 SYS_SETNS = 350
SYS_PROCESS_VM_READV = 351 SYS_PROCESS_VM_READV = 351
SYS_PROCESS_VM_WRITEV = 352 SYS_PROCESS_VM_WRITEV = 352
SYS_FINIT_MODULE = 353 SYS_FINIT_MODULE = 353
SYS_KCMP = 354 SYS_KCMP = 354
SYS_SCHED_SETATTR = 355 SYS_SCHED_SETATTR = 355
SYS_SCHED_GETATTR = 356 SYS_SCHED_GETATTR = 356
SYS_RENAMEAT2 = 357 SYS_RENAMEAT2 = 357
SYS_SECCOMP = 358 SYS_SECCOMP = 358
SYS_GETRANDOM = 359 SYS_GETRANDOM = 359
SYS_MEMFD_CREATE = 360 SYS_MEMFD_CREATE = 360
SYS_BPF = 361 SYS_BPF = 361
SYS_EXECVEAT = 362 SYS_EXECVEAT = 362
SYS_SWITCH_ENDIAN = 363 SYS_SWITCH_ENDIAN = 363
SYS_USERFAULTFD = 364 SYS_USERFAULTFD = 364
SYS_MEMBARRIER = 365 SYS_MEMBARRIER = 365
SYS_MLOCK2 = 378 SYS_MLOCK2 = 378
SYS_COPY_FILE_RANGE = 379 SYS_COPY_FILE_RANGE = 379
SYS_PREADV2 = 380 SYS_PREADV2 = 380
SYS_PWRITEV2 = 381 SYS_PWRITEV2 = 381
SYS_KEXEC_FILE_LOAD = 382 SYS_KEXEC_FILE_LOAD = 382
SYS_STATX = 383 SYS_STATX = 383
SYS_PKEY_ALLOC = 384 SYS_PKEY_ALLOC = 384
SYS_PKEY_FREE = 385 SYS_PKEY_FREE = 385
SYS_PKEY_MPROTECT = 386 SYS_PKEY_MPROTECT = 386
SYS_RSEQ = 387 SYS_RSEQ = 387
SYS_IO_PGETEVENTS = 388 SYS_IO_PGETEVENTS = 388
SYS_SEMTIMEDOP = 392 SYS_SEMTIMEDOP = 392
SYS_SEMGET = 393 SYS_SEMGET = 393
SYS_SEMCTL = 394 SYS_SEMCTL = 394
SYS_SHMGET = 395 SYS_SHMGET = 395
SYS_SHMCTL = 396 SYS_SHMCTL = 396
SYS_SHMAT = 397 SYS_SHMAT = 397
SYS_SHMDT = 398 SYS_SHMDT = 398
SYS_MSGGET = 399 SYS_MSGGET = 399
SYS_MSGSND = 400 SYS_MSGSND = 400
SYS_MSGRCV = 401 SYS_MSGRCV = 401
SYS_MSGCTL = 402 SYS_MSGCTL = 402
SYS_PIDFD_SEND_SIGNAL = 424 SYS_PIDFD_SEND_SIGNAL = 424
SYS_IO_URING_SETUP = 425 SYS_IO_URING_SETUP = 425
SYS_IO_URING_ENTER = 426 SYS_IO_URING_ENTER = 426
SYS_IO_URING_REGISTER = 427 SYS_IO_URING_REGISTER = 427
SYS_OPEN_TREE = 428 SYS_OPEN_TREE = 428
SYS_MOVE_MOUNT = 429 SYS_MOVE_MOUNT = 429
SYS_FSOPEN = 430 SYS_FSOPEN = 430
SYS_FSCONFIG = 431 SYS_FSCONFIG = 431
SYS_FSMOUNT = 432 SYS_FSMOUNT = 432
SYS_FSPICK = 433 SYS_FSPICK = 433
SYS_PIDFD_OPEN = 434 SYS_PIDFD_OPEN = 434
SYS_CLONE3 = 435 SYS_CLONE3 = 435
SYS_CLOSE_RANGE = 436 SYS_CLOSE_RANGE = 436
SYS_OPENAT2 = 437 SYS_OPENAT2 = 437
SYS_PIDFD_GETFD = 438 SYS_PIDFD_GETFD = 438
SYS_FACCESSAT2 = 439 SYS_FACCESSAT2 = 439
SYS_PROCESS_MADVISE = 440 SYS_PROCESS_MADVISE = 440
SYS_EPOLL_PWAIT2 = 441 SYS_EPOLL_PWAIT2 = 441
SYS_MOUNT_SETATTR = 442 SYS_MOUNT_SETATTR = 442
SYS_LANDLOCK_CREATE_RULESET = 444
SYS_LANDLOCK_ADD_RULE = 445
SYS_LANDLOCK_RESTRICT_SELF = 446
) )

View File

@ -7,302 +7,305 @@
package unix package unix
const ( const (
SYS_IO_SETUP = 0 SYS_IO_SETUP = 0
SYS_IO_DESTROY = 1 SYS_IO_DESTROY = 1
SYS_IO_SUBMIT = 2 SYS_IO_SUBMIT = 2
SYS_IO_CANCEL = 3 SYS_IO_CANCEL = 3
SYS_IO_GETEVENTS = 4 SYS_IO_GETEVENTS = 4
SYS_SETXATTR = 5 SYS_SETXATTR = 5
SYS_LSETXATTR = 6 SYS_LSETXATTR = 6
SYS_FSETXATTR = 7 SYS_FSETXATTR = 7
SYS_GETXATTR = 8 SYS_GETXATTR = 8
SYS_LGETXATTR = 9 SYS_LGETXATTR = 9
SYS_FGETXATTR = 10 SYS_FGETXATTR = 10
SYS_LISTXATTR = 11 SYS_LISTXATTR = 11
SYS_LLISTXATTR = 12 SYS_LLISTXATTR = 12
SYS_FLISTXATTR = 13 SYS_FLISTXATTR = 13
SYS_REMOVEXATTR = 14 SYS_REMOVEXATTR = 14
SYS_LREMOVEXATTR = 15 SYS_LREMOVEXATTR = 15
SYS_FREMOVEXATTR = 16 SYS_FREMOVEXATTR = 16
SYS_GETCWD = 17 SYS_GETCWD = 17
SYS_LOOKUP_DCOOKIE = 18 SYS_LOOKUP_DCOOKIE = 18
SYS_EVENTFD2 = 19 SYS_EVENTFD2 = 19
SYS_EPOLL_CREATE1 = 20 SYS_EPOLL_CREATE1 = 20
SYS_EPOLL_CTL = 21 SYS_EPOLL_CTL = 21
SYS_EPOLL_PWAIT = 22 SYS_EPOLL_PWAIT = 22
SYS_DUP = 23 SYS_DUP = 23
SYS_DUP3 = 24 SYS_DUP3 = 24
SYS_FCNTL = 25 SYS_FCNTL = 25
SYS_INOTIFY_INIT1 = 26 SYS_INOTIFY_INIT1 = 26
SYS_INOTIFY_ADD_WATCH = 27 SYS_INOTIFY_ADD_WATCH = 27
SYS_INOTIFY_RM_WATCH = 28 SYS_INOTIFY_RM_WATCH = 28
SYS_IOCTL = 29 SYS_IOCTL = 29
SYS_IOPRIO_SET = 30 SYS_IOPRIO_SET = 30
SYS_IOPRIO_GET = 31 SYS_IOPRIO_GET = 31
SYS_FLOCK = 32 SYS_FLOCK = 32
SYS_MKNODAT = 33 SYS_MKNODAT = 33
SYS_MKDIRAT = 34 SYS_MKDIRAT = 34
SYS_UNLINKAT = 35 SYS_UNLINKAT = 35
SYS_SYMLINKAT = 36 SYS_SYMLINKAT = 36
SYS_LINKAT = 37 SYS_LINKAT = 37
SYS_UMOUNT2 = 39 SYS_UMOUNT2 = 39
SYS_MOUNT = 40 SYS_MOUNT = 40
SYS_PIVOT_ROOT = 41 SYS_PIVOT_ROOT = 41
SYS_NFSSERVCTL = 42 SYS_NFSSERVCTL = 42
SYS_STATFS = 43 SYS_STATFS = 43
SYS_FSTATFS = 44 SYS_FSTATFS = 44
SYS_TRUNCATE = 45 SYS_TRUNCATE = 45
SYS_FTRUNCATE = 46 SYS_FTRUNCATE = 46
SYS_FALLOCATE = 47 SYS_FALLOCATE = 47
SYS_FACCESSAT = 48 SYS_FACCESSAT = 48
SYS_CHDIR = 49 SYS_CHDIR = 49
SYS_FCHDIR = 50 SYS_FCHDIR = 50
SYS_CHROOT = 51 SYS_CHROOT = 51
SYS_FCHMOD = 52 SYS_FCHMOD = 52
SYS_FCHMODAT = 53 SYS_FCHMODAT = 53
SYS_FCHOWNAT = 54 SYS_FCHOWNAT = 54
SYS_FCHOWN = 55 SYS_FCHOWN = 55
SYS_OPENAT = 56 SYS_OPENAT = 56
SYS_CLOSE = 57 SYS_CLOSE = 57
SYS_VHANGUP = 58 SYS_VHANGUP = 58
SYS_PIPE2 = 59 SYS_PIPE2 = 59
SYS_QUOTACTL = 60 SYS_QUOTACTL = 60
SYS_GETDENTS64 = 61 SYS_GETDENTS64 = 61
SYS_LSEEK = 62 SYS_LSEEK = 62
SYS_READ = 63 SYS_READ = 63
SYS_WRITE = 64 SYS_WRITE = 64
SYS_READV = 65 SYS_READV = 65
SYS_WRITEV = 66 SYS_WRITEV = 66
SYS_PREAD64 = 67 SYS_PREAD64 = 67
SYS_PWRITE64 = 68 SYS_PWRITE64 = 68
SYS_PREADV = 69 SYS_PREADV = 69
SYS_PWRITEV = 70 SYS_PWRITEV = 70
SYS_SENDFILE = 71 SYS_SENDFILE = 71
SYS_PSELECT6 = 72 SYS_PSELECT6 = 72
SYS_PPOLL = 73 SYS_PPOLL = 73
SYS_SIGNALFD4 = 74 SYS_SIGNALFD4 = 74
SYS_VMSPLICE = 75 SYS_VMSPLICE = 75
SYS_SPLICE = 76 SYS_SPLICE = 76
SYS_TEE = 77 SYS_TEE = 77
SYS_READLINKAT = 78 SYS_READLINKAT = 78
SYS_FSTATAT = 79 SYS_FSTATAT = 79
SYS_FSTAT = 80 SYS_FSTAT = 80
SYS_SYNC = 81 SYS_SYNC = 81
SYS_FSYNC = 82 SYS_FSYNC = 82
SYS_FDATASYNC = 83 SYS_FDATASYNC = 83
SYS_SYNC_FILE_RANGE = 84 SYS_SYNC_FILE_RANGE = 84
SYS_TIMERFD_CREATE = 85 SYS_TIMERFD_CREATE = 85
SYS_TIMERFD_SETTIME = 86 SYS_TIMERFD_SETTIME = 86
SYS_TIMERFD_GETTIME = 87 SYS_TIMERFD_GETTIME = 87
SYS_UTIMENSAT = 88 SYS_UTIMENSAT = 88
SYS_ACCT = 89 SYS_ACCT = 89
SYS_CAPGET = 90 SYS_CAPGET = 90
SYS_CAPSET = 91 SYS_CAPSET = 91
SYS_PERSONALITY = 92 SYS_PERSONALITY = 92
SYS_EXIT = 93 SYS_EXIT = 93
SYS_EXIT_GROUP = 94 SYS_EXIT_GROUP = 94
SYS_WAITID = 95 SYS_WAITID = 95
SYS_SET_TID_ADDRESS = 96 SYS_SET_TID_ADDRESS = 96
SYS_UNSHARE = 97 SYS_UNSHARE = 97
SYS_FUTEX = 98 SYS_FUTEX = 98
SYS_SET_ROBUST_LIST = 99 SYS_SET_ROBUST_LIST = 99
SYS_GET_ROBUST_LIST = 100 SYS_GET_ROBUST_LIST = 100
SYS_NANOSLEEP = 101 SYS_NANOSLEEP = 101
SYS_GETITIMER = 102 SYS_GETITIMER = 102
SYS_SETITIMER = 103 SYS_SETITIMER = 103
SYS_KEXEC_LOAD = 104 SYS_KEXEC_LOAD = 104
SYS_INIT_MODULE = 105 SYS_INIT_MODULE = 105
SYS_DELETE_MODULE = 106 SYS_DELETE_MODULE = 106
SYS_TIMER_CREATE = 107 SYS_TIMER_CREATE = 107
SYS_TIMER_GETTIME = 108 SYS_TIMER_GETTIME = 108
SYS_TIMER_GETOVERRUN = 109 SYS_TIMER_GETOVERRUN = 109
SYS_TIMER_SETTIME = 110 SYS_TIMER_SETTIME = 110
SYS_TIMER_DELETE = 111 SYS_TIMER_DELETE = 111
SYS_CLOCK_SETTIME = 112 SYS_CLOCK_SETTIME = 112
SYS_CLOCK_GETTIME = 113 SYS_CLOCK_GETTIME = 113
SYS_CLOCK_GETRES = 114 SYS_CLOCK_GETRES = 114
SYS_CLOCK_NANOSLEEP = 115 SYS_CLOCK_NANOSLEEP = 115
SYS_SYSLOG = 116 SYS_SYSLOG = 116
SYS_PTRACE = 117 SYS_PTRACE = 117
SYS_SCHED_SETPARAM = 118 SYS_SCHED_SETPARAM = 118
SYS_SCHED_SETSCHEDULER = 119 SYS_SCHED_SETSCHEDULER = 119
SYS_SCHED_GETSCHEDULER = 120 SYS_SCHED_GETSCHEDULER = 120
SYS_SCHED_GETPARAM = 121 SYS_SCHED_GETPARAM = 121
SYS_SCHED_SETAFFINITY = 122 SYS_SCHED_SETAFFINITY = 122
SYS_SCHED_GETAFFINITY = 123 SYS_SCHED_GETAFFINITY = 123
SYS_SCHED_YIELD = 124 SYS_SCHED_YIELD = 124
SYS_SCHED_GET_PRIORITY_MAX = 125 SYS_SCHED_GET_PRIORITY_MAX = 125
SYS_SCHED_GET_PRIORITY_MIN = 126 SYS_SCHED_GET_PRIORITY_MIN = 126
SYS_SCHED_RR_GET_INTERVAL = 127 SYS_SCHED_RR_GET_INTERVAL = 127
SYS_RESTART_SYSCALL = 128 SYS_RESTART_SYSCALL = 128
SYS_KILL = 129 SYS_KILL = 129
SYS_TKILL = 130 SYS_TKILL = 130
SYS_TGKILL = 131 SYS_TGKILL = 131
SYS_SIGALTSTACK = 132 SYS_SIGALTSTACK = 132
SYS_RT_SIGSUSPEND = 133 SYS_RT_SIGSUSPEND = 133
SYS_RT_SIGACTION = 134 SYS_RT_SIGACTION = 134
SYS_RT_SIGPROCMASK = 135 SYS_RT_SIGPROCMASK = 135
SYS_RT_SIGPENDING = 136 SYS_RT_SIGPENDING = 136
SYS_RT_SIGTIMEDWAIT = 137 SYS_RT_SIGTIMEDWAIT = 137
SYS_RT_SIGQUEUEINFO = 138 SYS_RT_SIGQUEUEINFO = 138
SYS_RT_SIGRETURN = 139 SYS_RT_SIGRETURN = 139
SYS_SETPRIORITY = 140 SYS_SETPRIORITY = 140
SYS_GETPRIORITY = 141 SYS_GETPRIORITY = 141
SYS_REBOOT = 142 SYS_REBOOT = 142
SYS_SETREGID = 143 SYS_SETREGID = 143
SYS_SETGID = 144 SYS_SETGID = 144
SYS_SETREUID = 145 SYS_SETREUID = 145
SYS_SETUID = 146 SYS_SETUID = 146
SYS_SETRESUID = 147 SYS_SETRESUID = 147
SYS_GETRESUID = 148 SYS_GETRESUID = 148
SYS_SETRESGID = 149 SYS_SETRESGID = 149
SYS_GETRESGID = 150 SYS_GETRESGID = 150
SYS_SETFSUID = 151 SYS_SETFSUID = 151
SYS_SETFSGID = 152 SYS_SETFSGID = 152
SYS_TIMES = 153 SYS_TIMES = 153
SYS_SETPGID = 154 SYS_SETPGID = 154
SYS_GETPGID = 155 SYS_GETPGID = 155
SYS_GETSID = 156 SYS_GETSID = 156
SYS_SETSID = 157 SYS_SETSID = 157
SYS_GETGROUPS = 158 SYS_GETGROUPS = 158
SYS_SETGROUPS = 159 SYS_SETGROUPS = 159
SYS_UNAME = 160 SYS_UNAME = 160
SYS_SETHOSTNAME = 161 SYS_SETHOSTNAME = 161
SYS_SETDOMAINNAME = 162 SYS_SETDOMAINNAME = 162
SYS_GETRLIMIT = 163 SYS_GETRLIMIT = 163
SYS_SETRLIMIT = 164 SYS_SETRLIMIT = 164
SYS_GETRUSAGE = 165 SYS_GETRUSAGE = 165
SYS_UMASK = 166 SYS_UMASK = 166
SYS_PRCTL = 167 SYS_PRCTL = 167
SYS_GETCPU = 168 SYS_GETCPU = 168
SYS_GETTIMEOFDAY = 169 SYS_GETTIMEOFDAY = 169
SYS_SETTIMEOFDAY = 170 SYS_SETTIMEOFDAY = 170
SYS_ADJTIMEX = 171 SYS_ADJTIMEX = 171
SYS_GETPID = 172 SYS_GETPID = 172
SYS_GETPPID = 173 SYS_GETPPID = 173
SYS_GETUID = 174 SYS_GETUID = 174
SYS_GETEUID = 175 SYS_GETEUID = 175
SYS_GETGID = 176 SYS_GETGID = 176
SYS_GETEGID = 177 SYS_GETEGID = 177
SYS_GETTID = 178 SYS_GETTID = 178
SYS_SYSINFO = 179 SYS_SYSINFO = 179
SYS_MQ_OPEN = 180 SYS_MQ_OPEN = 180
SYS_MQ_UNLINK = 181 SYS_MQ_UNLINK = 181
SYS_MQ_TIMEDSEND = 182 SYS_MQ_TIMEDSEND = 182
SYS_MQ_TIMEDRECEIVE = 183 SYS_MQ_TIMEDRECEIVE = 183
SYS_MQ_NOTIFY = 184 SYS_MQ_NOTIFY = 184
SYS_MQ_GETSETATTR = 185 SYS_MQ_GETSETATTR = 185
SYS_MSGGET = 186 SYS_MSGGET = 186
SYS_MSGCTL = 187 SYS_MSGCTL = 187
SYS_MSGRCV = 188 SYS_MSGRCV = 188
SYS_MSGSND = 189 SYS_MSGSND = 189
SYS_SEMGET = 190 SYS_SEMGET = 190
SYS_SEMCTL = 191 SYS_SEMCTL = 191
SYS_SEMTIMEDOP = 192 SYS_SEMTIMEDOP = 192
SYS_SEMOP = 193 SYS_SEMOP = 193
SYS_SHMGET = 194 SYS_SHMGET = 194
SYS_SHMCTL = 195 SYS_SHMCTL = 195
SYS_SHMAT = 196 SYS_SHMAT = 196
SYS_SHMDT = 197 SYS_SHMDT = 197
SYS_SOCKET = 198 SYS_SOCKET = 198
SYS_SOCKETPAIR = 199 SYS_SOCKETPAIR = 199
SYS_BIND = 200 SYS_BIND = 200
SYS_LISTEN = 201 SYS_LISTEN = 201
SYS_ACCEPT = 202 SYS_ACCEPT = 202
SYS_CONNECT = 203 SYS_CONNECT = 203
SYS_GETSOCKNAME = 204 SYS_GETSOCKNAME = 204
SYS_GETPEERNAME = 205 SYS_GETPEERNAME = 205
SYS_SENDTO = 206 SYS_SENDTO = 206
SYS_RECVFROM = 207 SYS_RECVFROM = 207
SYS_SETSOCKOPT = 208 SYS_SETSOCKOPT = 208
SYS_GETSOCKOPT = 209 SYS_GETSOCKOPT = 209
SYS_SHUTDOWN = 210 SYS_SHUTDOWN = 210
SYS_SENDMSG = 211 SYS_SENDMSG = 211
SYS_RECVMSG = 212 SYS_RECVMSG = 212
SYS_READAHEAD = 213 SYS_READAHEAD = 213
SYS_BRK = 214 SYS_BRK = 214
SYS_MUNMAP = 215 SYS_MUNMAP = 215
SYS_MREMAP = 216 SYS_MREMAP = 216
SYS_ADD_KEY = 217 SYS_ADD_KEY = 217
SYS_REQUEST_KEY = 218 SYS_REQUEST_KEY = 218
SYS_KEYCTL = 219 SYS_KEYCTL = 219
SYS_CLONE = 220 SYS_CLONE = 220
SYS_EXECVE = 221 SYS_EXECVE = 221
SYS_MMAP = 222 SYS_MMAP = 222
SYS_FADVISE64 = 223 SYS_FADVISE64 = 223
SYS_SWAPON = 224 SYS_SWAPON = 224
SYS_SWAPOFF = 225 SYS_SWAPOFF = 225
SYS_MPROTECT = 226 SYS_MPROTECT = 226
SYS_MSYNC = 227 SYS_MSYNC = 227
SYS_MLOCK = 228 SYS_MLOCK = 228
SYS_MUNLOCK = 229 SYS_MUNLOCK = 229
SYS_MLOCKALL = 230 SYS_MLOCKALL = 230
SYS_MUNLOCKALL = 231 SYS_MUNLOCKALL = 231
SYS_MINCORE = 232 SYS_MINCORE = 232
SYS_MADVISE = 233 SYS_MADVISE = 233
SYS_REMAP_FILE_PAGES = 234 SYS_REMAP_FILE_PAGES = 234
SYS_MBIND = 235 SYS_MBIND = 235
SYS_GET_MEMPOLICY = 236 SYS_GET_MEMPOLICY = 236
SYS_SET_MEMPOLICY = 237 SYS_SET_MEMPOLICY = 237
SYS_MIGRATE_PAGES = 238 SYS_MIGRATE_PAGES = 238
SYS_MOVE_PAGES = 239 SYS_MOVE_PAGES = 239
SYS_RT_TGSIGQUEUEINFO = 240 SYS_RT_TGSIGQUEUEINFO = 240
SYS_PERF_EVENT_OPEN = 241 SYS_PERF_EVENT_OPEN = 241
SYS_ACCEPT4 = 242 SYS_ACCEPT4 = 242
SYS_RECVMMSG = 243 SYS_RECVMMSG = 243
SYS_ARCH_SPECIFIC_SYSCALL = 244 SYS_ARCH_SPECIFIC_SYSCALL = 244
SYS_WAIT4 = 260 SYS_WAIT4 = 260
SYS_PRLIMIT64 = 261 SYS_PRLIMIT64 = 261
SYS_FANOTIFY_INIT = 262 SYS_FANOTIFY_INIT = 262
SYS_FANOTIFY_MARK = 263 SYS_FANOTIFY_MARK = 263
SYS_NAME_TO_HANDLE_AT = 264 SYS_NAME_TO_HANDLE_AT = 264
SYS_OPEN_BY_HANDLE_AT = 265 SYS_OPEN_BY_HANDLE_AT = 265
SYS_CLOCK_ADJTIME = 266 SYS_CLOCK_ADJTIME = 266
SYS_SYNCFS = 267 SYS_SYNCFS = 267
SYS_SETNS = 268 SYS_SETNS = 268
SYS_SENDMMSG = 269 SYS_SENDMMSG = 269
SYS_PROCESS_VM_READV = 270 SYS_PROCESS_VM_READV = 270
SYS_PROCESS_VM_WRITEV = 271 SYS_PROCESS_VM_WRITEV = 271
SYS_KCMP = 272 SYS_KCMP = 272
SYS_FINIT_MODULE = 273 SYS_FINIT_MODULE = 273
SYS_SCHED_SETATTR = 274 SYS_SCHED_SETATTR = 274
SYS_SCHED_GETATTR = 275 SYS_SCHED_GETATTR = 275
SYS_RENAMEAT2 = 276 SYS_RENAMEAT2 = 276
SYS_SECCOMP = 277 SYS_SECCOMP = 277
SYS_GETRANDOM = 278 SYS_GETRANDOM = 278
SYS_MEMFD_CREATE = 279 SYS_MEMFD_CREATE = 279
SYS_BPF = 280 SYS_BPF = 280
SYS_EXECVEAT = 281 SYS_EXECVEAT = 281
SYS_USERFAULTFD = 282 SYS_USERFAULTFD = 282
SYS_MEMBARRIER = 283 SYS_MEMBARRIER = 283
SYS_MLOCK2 = 284 SYS_MLOCK2 = 284
SYS_COPY_FILE_RANGE = 285 SYS_COPY_FILE_RANGE = 285
SYS_PREADV2 = 286 SYS_PREADV2 = 286
SYS_PWRITEV2 = 287 SYS_PWRITEV2 = 287
SYS_PKEY_MPROTECT = 288 SYS_PKEY_MPROTECT = 288
SYS_PKEY_ALLOC = 289 SYS_PKEY_ALLOC = 289
SYS_PKEY_FREE = 290 SYS_PKEY_FREE = 290
SYS_STATX = 291 SYS_STATX = 291
SYS_IO_PGETEVENTS = 292 SYS_IO_PGETEVENTS = 292
SYS_RSEQ = 293 SYS_RSEQ = 293
SYS_KEXEC_FILE_LOAD = 294 SYS_KEXEC_FILE_LOAD = 294
SYS_PIDFD_SEND_SIGNAL = 424 SYS_PIDFD_SEND_SIGNAL = 424
SYS_IO_URING_SETUP = 425 SYS_IO_URING_SETUP = 425
SYS_IO_URING_ENTER = 426 SYS_IO_URING_ENTER = 426
SYS_IO_URING_REGISTER = 427 SYS_IO_URING_REGISTER = 427
SYS_OPEN_TREE = 428 SYS_OPEN_TREE = 428
SYS_MOVE_MOUNT = 429 SYS_MOVE_MOUNT = 429
SYS_FSOPEN = 430 SYS_FSOPEN = 430
SYS_FSCONFIG = 431 SYS_FSCONFIG = 431
SYS_FSMOUNT = 432 SYS_FSMOUNT = 432
SYS_FSPICK = 433 SYS_FSPICK = 433
SYS_PIDFD_OPEN = 434 SYS_PIDFD_OPEN = 434
SYS_CLONE3 = 435 SYS_CLONE3 = 435
SYS_CLOSE_RANGE = 436 SYS_CLOSE_RANGE = 436
SYS_OPENAT2 = 437 SYS_OPENAT2 = 437
SYS_PIDFD_GETFD = 438 SYS_PIDFD_GETFD = 438
SYS_FACCESSAT2 = 439 SYS_FACCESSAT2 = 439
SYS_PROCESS_MADVISE = 440 SYS_PROCESS_MADVISE = 440
SYS_EPOLL_PWAIT2 = 441 SYS_EPOLL_PWAIT2 = 441
SYS_MOUNT_SETATTR = 442 SYS_MOUNT_SETATTR = 442
SYS_LANDLOCK_CREATE_RULESET = 444
SYS_LANDLOCK_ADD_RULE = 445
SYS_LANDLOCK_RESTRICT_SELF = 446
) )

View File

@ -7,365 +7,368 @@
package unix package unix
const ( const (
SYS_EXIT = 1 SYS_EXIT = 1
SYS_FORK = 2 SYS_FORK = 2
SYS_READ = 3 SYS_READ = 3
SYS_WRITE = 4 SYS_WRITE = 4
SYS_OPEN = 5 SYS_OPEN = 5
SYS_CLOSE = 6 SYS_CLOSE = 6
SYS_RESTART_SYSCALL = 7 SYS_RESTART_SYSCALL = 7
SYS_CREAT = 8 SYS_CREAT = 8
SYS_LINK = 9 SYS_LINK = 9
SYS_UNLINK = 10 SYS_UNLINK = 10
SYS_EXECVE = 11 SYS_EXECVE = 11
SYS_CHDIR = 12 SYS_CHDIR = 12
SYS_MKNOD = 14 SYS_MKNOD = 14
SYS_CHMOD = 15 SYS_CHMOD = 15
SYS_LSEEK = 19 SYS_LSEEK = 19
SYS_GETPID = 20 SYS_GETPID = 20
SYS_MOUNT = 21 SYS_MOUNT = 21
SYS_UMOUNT = 22 SYS_UMOUNT = 22
SYS_PTRACE = 26 SYS_PTRACE = 26
SYS_ALARM = 27 SYS_ALARM = 27
SYS_PAUSE = 29 SYS_PAUSE = 29
SYS_UTIME = 30 SYS_UTIME = 30
SYS_ACCESS = 33 SYS_ACCESS = 33
SYS_NICE = 34 SYS_NICE = 34
SYS_SYNC = 36 SYS_SYNC = 36
SYS_KILL = 37 SYS_KILL = 37
SYS_RENAME = 38 SYS_RENAME = 38
SYS_MKDIR = 39 SYS_MKDIR = 39
SYS_RMDIR = 40 SYS_RMDIR = 40
SYS_DUP = 41 SYS_DUP = 41
SYS_PIPE = 42 SYS_PIPE = 42
SYS_TIMES = 43 SYS_TIMES = 43
SYS_BRK = 45 SYS_BRK = 45
SYS_SIGNAL = 48 SYS_SIGNAL = 48
SYS_ACCT = 51 SYS_ACCT = 51
SYS_UMOUNT2 = 52 SYS_UMOUNT2 = 52
SYS_IOCTL = 54 SYS_IOCTL = 54
SYS_FCNTL = 55 SYS_FCNTL = 55
SYS_SETPGID = 57 SYS_SETPGID = 57
SYS_UMASK = 60 SYS_UMASK = 60
SYS_CHROOT = 61 SYS_CHROOT = 61
SYS_USTAT = 62 SYS_USTAT = 62
SYS_DUP2 = 63 SYS_DUP2 = 63
SYS_GETPPID = 64 SYS_GETPPID = 64
SYS_GETPGRP = 65 SYS_GETPGRP = 65
SYS_SETSID = 66 SYS_SETSID = 66
SYS_SIGACTION = 67 SYS_SIGACTION = 67
SYS_SIGSUSPEND = 72 SYS_SIGSUSPEND = 72
SYS_SIGPENDING = 73 SYS_SIGPENDING = 73
SYS_SETHOSTNAME = 74 SYS_SETHOSTNAME = 74
SYS_SETRLIMIT = 75 SYS_SETRLIMIT = 75
SYS_GETRUSAGE = 77 SYS_GETRUSAGE = 77
SYS_GETTIMEOFDAY = 78 SYS_GETTIMEOFDAY = 78
SYS_SETTIMEOFDAY = 79 SYS_SETTIMEOFDAY = 79
SYS_SYMLINK = 83 SYS_SYMLINK = 83
SYS_READLINK = 85 SYS_READLINK = 85
SYS_USELIB = 86 SYS_USELIB = 86
SYS_SWAPON = 87 SYS_SWAPON = 87
SYS_REBOOT = 88 SYS_REBOOT = 88
SYS_READDIR = 89 SYS_READDIR = 89
SYS_MMAP = 90 SYS_MMAP = 90
SYS_MUNMAP = 91 SYS_MUNMAP = 91
SYS_TRUNCATE = 92 SYS_TRUNCATE = 92
SYS_FTRUNCATE = 93 SYS_FTRUNCATE = 93
SYS_FCHMOD = 94 SYS_FCHMOD = 94
SYS_GETPRIORITY = 96 SYS_GETPRIORITY = 96
SYS_SETPRIORITY = 97 SYS_SETPRIORITY = 97
SYS_STATFS = 99 SYS_STATFS = 99
SYS_FSTATFS = 100 SYS_FSTATFS = 100
SYS_SOCKETCALL = 102 SYS_SOCKETCALL = 102
SYS_SYSLOG = 103 SYS_SYSLOG = 103
SYS_SETITIMER = 104 SYS_SETITIMER = 104
SYS_GETITIMER = 105 SYS_GETITIMER = 105
SYS_STAT = 106 SYS_STAT = 106
SYS_LSTAT = 107 SYS_LSTAT = 107
SYS_FSTAT = 108 SYS_FSTAT = 108
SYS_LOOKUP_DCOOKIE = 110 SYS_LOOKUP_DCOOKIE = 110
SYS_VHANGUP = 111 SYS_VHANGUP = 111
SYS_IDLE = 112 SYS_IDLE = 112
SYS_WAIT4 = 114 SYS_WAIT4 = 114
SYS_SWAPOFF = 115 SYS_SWAPOFF = 115
SYS_SYSINFO = 116 SYS_SYSINFO = 116
SYS_IPC = 117 SYS_IPC = 117
SYS_FSYNC = 118 SYS_FSYNC = 118
SYS_SIGRETURN = 119 SYS_SIGRETURN = 119
SYS_CLONE = 120 SYS_CLONE = 120
SYS_SETDOMAINNAME = 121 SYS_SETDOMAINNAME = 121
SYS_UNAME = 122 SYS_UNAME = 122
SYS_ADJTIMEX = 124 SYS_ADJTIMEX = 124
SYS_MPROTECT = 125 SYS_MPROTECT = 125
SYS_SIGPROCMASK = 126 SYS_SIGPROCMASK = 126
SYS_CREATE_MODULE = 127 SYS_CREATE_MODULE = 127
SYS_INIT_MODULE = 128 SYS_INIT_MODULE = 128
SYS_DELETE_MODULE = 129 SYS_DELETE_MODULE = 129
SYS_GET_KERNEL_SYMS = 130 SYS_GET_KERNEL_SYMS = 130
SYS_QUOTACTL = 131 SYS_QUOTACTL = 131
SYS_GETPGID = 132 SYS_GETPGID = 132
SYS_FCHDIR = 133 SYS_FCHDIR = 133
SYS_BDFLUSH = 134 SYS_BDFLUSH = 134
SYS_SYSFS = 135 SYS_SYSFS = 135
SYS_PERSONALITY = 136 SYS_PERSONALITY = 136
SYS_AFS_SYSCALL = 137 SYS_AFS_SYSCALL = 137
SYS_GETDENTS = 141 SYS_GETDENTS = 141
SYS_SELECT = 142 SYS_SELECT = 142
SYS_FLOCK = 143 SYS_FLOCK = 143
SYS_MSYNC = 144 SYS_MSYNC = 144
SYS_READV = 145 SYS_READV = 145
SYS_WRITEV = 146 SYS_WRITEV = 146
SYS_GETSID = 147 SYS_GETSID = 147
SYS_FDATASYNC = 148 SYS_FDATASYNC = 148
SYS__SYSCTL = 149 SYS__SYSCTL = 149
SYS_MLOCK = 150 SYS_MLOCK = 150
SYS_MUNLOCK = 151 SYS_MUNLOCK = 151
SYS_MLOCKALL = 152 SYS_MLOCKALL = 152
SYS_MUNLOCKALL = 153 SYS_MUNLOCKALL = 153
SYS_SCHED_SETPARAM = 154 SYS_SCHED_SETPARAM = 154
SYS_SCHED_GETPARAM = 155 SYS_SCHED_GETPARAM = 155
SYS_SCHED_SETSCHEDULER = 156 SYS_SCHED_SETSCHEDULER = 156
SYS_SCHED_GETSCHEDULER = 157 SYS_SCHED_GETSCHEDULER = 157
SYS_SCHED_YIELD = 158 SYS_SCHED_YIELD = 158
SYS_SCHED_GET_PRIORITY_MAX = 159 SYS_SCHED_GET_PRIORITY_MAX = 159
SYS_SCHED_GET_PRIORITY_MIN = 160 SYS_SCHED_GET_PRIORITY_MIN = 160
SYS_SCHED_RR_GET_INTERVAL = 161 SYS_SCHED_RR_GET_INTERVAL = 161
SYS_NANOSLEEP = 162 SYS_NANOSLEEP = 162
SYS_MREMAP = 163 SYS_MREMAP = 163
SYS_QUERY_MODULE = 167 SYS_QUERY_MODULE = 167
SYS_POLL = 168 SYS_POLL = 168
SYS_NFSSERVCTL = 169 SYS_NFSSERVCTL = 169
SYS_PRCTL = 172 SYS_PRCTL = 172
SYS_RT_SIGRETURN = 173 SYS_RT_SIGRETURN = 173
SYS_RT_SIGACTION = 174 SYS_RT_SIGACTION = 174
SYS_RT_SIGPROCMASK = 175 SYS_RT_SIGPROCMASK = 175
SYS_RT_SIGPENDING = 176 SYS_RT_SIGPENDING = 176
SYS_RT_SIGTIMEDWAIT = 177 SYS_RT_SIGTIMEDWAIT = 177
SYS_RT_SIGQUEUEINFO = 178 SYS_RT_SIGQUEUEINFO = 178
SYS_RT_SIGSUSPEND = 179 SYS_RT_SIGSUSPEND = 179
SYS_PREAD64 = 180 SYS_PREAD64 = 180
SYS_PWRITE64 = 181 SYS_PWRITE64 = 181
SYS_GETCWD = 183 SYS_GETCWD = 183
SYS_CAPGET = 184 SYS_CAPGET = 184
SYS_CAPSET = 185 SYS_CAPSET = 185
SYS_SIGALTSTACK = 186 SYS_SIGALTSTACK = 186
SYS_SENDFILE = 187 SYS_SENDFILE = 187
SYS_GETPMSG = 188 SYS_GETPMSG = 188
SYS_PUTPMSG = 189 SYS_PUTPMSG = 189
SYS_VFORK = 190 SYS_VFORK = 190
SYS_GETRLIMIT = 191 SYS_GETRLIMIT = 191
SYS_LCHOWN = 198 SYS_LCHOWN = 198
SYS_GETUID = 199 SYS_GETUID = 199
SYS_GETGID = 200 SYS_GETGID = 200
SYS_GETEUID = 201 SYS_GETEUID = 201
SYS_GETEGID = 202 SYS_GETEGID = 202
SYS_SETREUID = 203 SYS_SETREUID = 203
SYS_SETREGID = 204 SYS_SETREGID = 204
SYS_GETGROUPS = 205 SYS_GETGROUPS = 205
SYS_SETGROUPS = 206 SYS_SETGROUPS = 206
SYS_FCHOWN = 207 SYS_FCHOWN = 207
SYS_SETRESUID = 208 SYS_SETRESUID = 208
SYS_GETRESUID = 209 SYS_GETRESUID = 209
SYS_SETRESGID = 210 SYS_SETRESGID = 210
SYS_GETRESGID = 211 SYS_GETRESGID = 211
SYS_CHOWN = 212 SYS_CHOWN = 212
SYS_SETUID = 213 SYS_SETUID = 213
SYS_SETGID = 214 SYS_SETGID = 214
SYS_SETFSUID = 215 SYS_SETFSUID = 215
SYS_SETFSGID = 216 SYS_SETFSGID = 216
SYS_PIVOT_ROOT = 217 SYS_PIVOT_ROOT = 217
SYS_MINCORE = 218 SYS_MINCORE = 218
SYS_MADVISE = 219 SYS_MADVISE = 219
SYS_GETDENTS64 = 220 SYS_GETDENTS64 = 220
SYS_READAHEAD = 222 SYS_READAHEAD = 222
SYS_SETXATTR = 224 SYS_SETXATTR = 224
SYS_LSETXATTR = 225 SYS_LSETXATTR = 225
SYS_FSETXATTR = 226 SYS_FSETXATTR = 226
SYS_GETXATTR = 227 SYS_GETXATTR = 227
SYS_LGETXATTR = 228 SYS_LGETXATTR = 228
SYS_FGETXATTR = 229 SYS_FGETXATTR = 229
SYS_LISTXATTR = 230 SYS_LISTXATTR = 230
SYS_LLISTXATTR = 231 SYS_LLISTXATTR = 231
SYS_FLISTXATTR = 232 SYS_FLISTXATTR = 232
SYS_REMOVEXATTR = 233 SYS_REMOVEXATTR = 233
SYS_LREMOVEXATTR = 234 SYS_LREMOVEXATTR = 234
SYS_FREMOVEXATTR = 235 SYS_FREMOVEXATTR = 235
SYS_GETTID = 236 SYS_GETTID = 236
SYS_TKILL = 237 SYS_TKILL = 237
SYS_FUTEX = 238 SYS_FUTEX = 238
SYS_SCHED_SETAFFINITY = 239 SYS_SCHED_SETAFFINITY = 239
SYS_SCHED_GETAFFINITY = 240 SYS_SCHED_GETAFFINITY = 240
SYS_TGKILL = 241 SYS_TGKILL = 241
SYS_IO_SETUP = 243 SYS_IO_SETUP = 243
SYS_IO_DESTROY = 244 SYS_IO_DESTROY = 244
SYS_IO_GETEVENTS = 245 SYS_IO_GETEVENTS = 245
SYS_IO_SUBMIT = 246 SYS_IO_SUBMIT = 246
SYS_IO_CANCEL = 247 SYS_IO_CANCEL = 247
SYS_EXIT_GROUP = 248 SYS_EXIT_GROUP = 248
SYS_EPOLL_CREATE = 249 SYS_EPOLL_CREATE = 249
SYS_EPOLL_CTL = 250 SYS_EPOLL_CTL = 250
SYS_EPOLL_WAIT = 251 SYS_EPOLL_WAIT = 251
SYS_SET_TID_ADDRESS = 252 SYS_SET_TID_ADDRESS = 252
SYS_FADVISE64 = 253 SYS_FADVISE64 = 253
SYS_TIMER_CREATE = 254 SYS_TIMER_CREATE = 254
SYS_TIMER_SETTIME = 255 SYS_TIMER_SETTIME = 255
SYS_TIMER_GETTIME = 256 SYS_TIMER_GETTIME = 256
SYS_TIMER_GETOVERRUN = 257 SYS_TIMER_GETOVERRUN = 257
SYS_TIMER_DELETE = 258 SYS_TIMER_DELETE = 258
SYS_CLOCK_SETTIME = 259 SYS_CLOCK_SETTIME = 259
SYS_CLOCK_GETTIME = 260 SYS_CLOCK_GETTIME = 260
SYS_CLOCK_GETRES = 261 SYS_CLOCK_GETRES = 261
SYS_CLOCK_NANOSLEEP = 262 SYS_CLOCK_NANOSLEEP = 262
SYS_STATFS64 = 265 SYS_STATFS64 = 265
SYS_FSTATFS64 = 266 SYS_FSTATFS64 = 266
SYS_REMAP_FILE_PAGES = 267 SYS_REMAP_FILE_PAGES = 267
SYS_MBIND = 268 SYS_MBIND = 268
SYS_GET_MEMPOLICY = 269 SYS_GET_MEMPOLICY = 269
SYS_SET_MEMPOLICY = 270 SYS_SET_MEMPOLICY = 270
SYS_MQ_OPEN = 271 SYS_MQ_OPEN = 271
SYS_MQ_UNLINK = 272 SYS_MQ_UNLINK = 272
SYS_MQ_TIMEDSEND = 273 SYS_MQ_TIMEDSEND = 273
SYS_MQ_TIMEDRECEIVE = 274 SYS_MQ_TIMEDRECEIVE = 274
SYS_MQ_NOTIFY = 275 SYS_MQ_NOTIFY = 275
SYS_MQ_GETSETATTR = 276 SYS_MQ_GETSETATTR = 276
SYS_KEXEC_LOAD = 277 SYS_KEXEC_LOAD = 277
SYS_ADD_KEY = 278 SYS_ADD_KEY = 278
SYS_REQUEST_KEY = 279 SYS_REQUEST_KEY = 279
SYS_KEYCTL = 280 SYS_KEYCTL = 280
SYS_WAITID = 281 SYS_WAITID = 281
SYS_IOPRIO_SET = 282 SYS_IOPRIO_SET = 282
SYS_IOPRIO_GET = 283 SYS_IOPRIO_GET = 283
SYS_INOTIFY_INIT = 284 SYS_INOTIFY_INIT = 284
SYS_INOTIFY_ADD_WATCH = 285 SYS_INOTIFY_ADD_WATCH = 285
SYS_INOTIFY_RM_WATCH = 286 SYS_INOTIFY_RM_WATCH = 286
SYS_MIGRATE_PAGES = 287 SYS_MIGRATE_PAGES = 287
SYS_OPENAT = 288 SYS_OPENAT = 288
SYS_MKDIRAT = 289 SYS_MKDIRAT = 289
SYS_MKNODAT = 290 SYS_MKNODAT = 290
SYS_FCHOWNAT = 291 SYS_FCHOWNAT = 291
SYS_FUTIMESAT = 292 SYS_FUTIMESAT = 292
SYS_NEWFSTATAT = 293 SYS_NEWFSTATAT = 293
SYS_UNLINKAT = 294 SYS_UNLINKAT = 294
SYS_RENAMEAT = 295 SYS_RENAMEAT = 295
SYS_LINKAT = 296 SYS_LINKAT = 296
SYS_SYMLINKAT = 297 SYS_SYMLINKAT = 297
SYS_READLINKAT = 298 SYS_READLINKAT = 298
SYS_FCHMODAT = 299 SYS_FCHMODAT = 299
SYS_FACCESSAT = 300 SYS_FACCESSAT = 300
SYS_PSELECT6 = 301 SYS_PSELECT6 = 301
SYS_PPOLL = 302 SYS_PPOLL = 302
SYS_UNSHARE = 303 SYS_UNSHARE = 303
SYS_SET_ROBUST_LIST = 304 SYS_SET_ROBUST_LIST = 304
SYS_GET_ROBUST_LIST = 305 SYS_GET_ROBUST_LIST = 305
SYS_SPLICE = 306 SYS_SPLICE = 306
SYS_SYNC_FILE_RANGE = 307 SYS_SYNC_FILE_RANGE = 307
SYS_TEE = 308 SYS_TEE = 308
SYS_VMSPLICE = 309 SYS_VMSPLICE = 309
SYS_MOVE_PAGES = 310 SYS_MOVE_PAGES = 310
SYS_GETCPU = 311 SYS_GETCPU = 311
SYS_EPOLL_PWAIT = 312 SYS_EPOLL_PWAIT = 312
SYS_UTIMES = 313 SYS_UTIMES = 313
SYS_FALLOCATE = 314 SYS_FALLOCATE = 314
SYS_UTIMENSAT = 315 SYS_UTIMENSAT = 315
SYS_SIGNALFD = 316 SYS_SIGNALFD = 316
SYS_TIMERFD = 317 SYS_TIMERFD = 317
SYS_EVENTFD = 318 SYS_EVENTFD = 318
SYS_TIMERFD_CREATE = 319 SYS_TIMERFD_CREATE = 319
SYS_TIMERFD_SETTIME = 320 SYS_TIMERFD_SETTIME = 320
SYS_TIMERFD_GETTIME = 321 SYS_TIMERFD_GETTIME = 321
SYS_SIGNALFD4 = 322 SYS_SIGNALFD4 = 322
SYS_EVENTFD2 = 323 SYS_EVENTFD2 = 323
SYS_INOTIFY_INIT1 = 324 SYS_INOTIFY_INIT1 = 324
SYS_PIPE2 = 325 SYS_PIPE2 = 325
SYS_DUP3 = 326 SYS_DUP3 = 326
SYS_EPOLL_CREATE1 = 327 SYS_EPOLL_CREATE1 = 327
SYS_PREADV = 328 SYS_PREADV = 328
SYS_PWRITEV = 329 SYS_PWRITEV = 329
SYS_RT_TGSIGQUEUEINFO = 330 SYS_RT_TGSIGQUEUEINFO = 330
SYS_PERF_EVENT_OPEN = 331 SYS_PERF_EVENT_OPEN = 331
SYS_FANOTIFY_INIT = 332 SYS_FANOTIFY_INIT = 332
SYS_FANOTIFY_MARK = 333 SYS_FANOTIFY_MARK = 333
SYS_PRLIMIT64 = 334 SYS_PRLIMIT64 = 334
SYS_NAME_TO_HANDLE_AT = 335 SYS_NAME_TO_HANDLE_AT = 335
SYS_OPEN_BY_HANDLE_AT = 336 SYS_OPEN_BY_HANDLE_AT = 336
SYS_CLOCK_ADJTIME = 337 SYS_CLOCK_ADJTIME = 337
SYS_SYNCFS = 338 SYS_SYNCFS = 338
SYS_SETNS = 339 SYS_SETNS = 339
SYS_PROCESS_VM_READV = 340 SYS_PROCESS_VM_READV = 340
SYS_PROCESS_VM_WRITEV = 341 SYS_PROCESS_VM_WRITEV = 341
SYS_S390_RUNTIME_INSTR = 342 SYS_S390_RUNTIME_INSTR = 342
SYS_KCMP = 343 SYS_KCMP = 343
SYS_FINIT_MODULE = 344 SYS_FINIT_MODULE = 344
SYS_SCHED_SETATTR = 345 SYS_SCHED_SETATTR = 345
SYS_SCHED_GETATTR = 346 SYS_SCHED_GETATTR = 346
SYS_RENAMEAT2 = 347 SYS_RENAMEAT2 = 347
SYS_SECCOMP = 348 SYS_SECCOMP = 348
SYS_GETRANDOM = 349 SYS_GETRANDOM = 349
SYS_MEMFD_CREATE = 350 SYS_MEMFD_CREATE = 350
SYS_BPF = 351 SYS_BPF = 351
SYS_S390_PCI_MMIO_WRITE = 352 SYS_S390_PCI_MMIO_WRITE = 352
SYS_S390_PCI_MMIO_READ = 353 SYS_S390_PCI_MMIO_READ = 353
SYS_EXECVEAT = 354 SYS_EXECVEAT = 354
SYS_USERFAULTFD = 355 SYS_USERFAULTFD = 355
SYS_MEMBARRIER = 356 SYS_MEMBARRIER = 356
SYS_RECVMMSG = 357 SYS_RECVMMSG = 357
SYS_SENDMMSG = 358 SYS_SENDMMSG = 358
SYS_SOCKET = 359 SYS_SOCKET = 359
SYS_SOCKETPAIR = 360 SYS_SOCKETPAIR = 360
SYS_BIND = 361 SYS_BIND = 361
SYS_CONNECT = 362 SYS_CONNECT = 362
SYS_LISTEN = 363 SYS_LISTEN = 363
SYS_ACCEPT4 = 364 SYS_ACCEPT4 = 364
SYS_GETSOCKOPT = 365 SYS_GETSOCKOPT = 365
SYS_SETSOCKOPT = 366 SYS_SETSOCKOPT = 366
SYS_GETSOCKNAME = 367 SYS_GETSOCKNAME = 367
SYS_GETPEERNAME = 368 SYS_GETPEERNAME = 368
SYS_SENDTO = 369 SYS_SENDTO = 369
SYS_SENDMSG = 370 SYS_SENDMSG = 370
SYS_RECVFROM = 371 SYS_RECVFROM = 371
SYS_RECVMSG = 372 SYS_RECVMSG = 372
SYS_SHUTDOWN = 373 SYS_SHUTDOWN = 373
SYS_MLOCK2 = 374 SYS_MLOCK2 = 374
SYS_COPY_FILE_RANGE = 375 SYS_COPY_FILE_RANGE = 375
SYS_PREADV2 = 376 SYS_PREADV2 = 376
SYS_PWRITEV2 = 377 SYS_PWRITEV2 = 377
SYS_S390_GUARDED_STORAGE = 378 SYS_S390_GUARDED_STORAGE = 378
SYS_STATX = 379 SYS_STATX = 379
SYS_S390_STHYI = 380 SYS_S390_STHYI = 380
SYS_KEXEC_FILE_LOAD = 381 SYS_KEXEC_FILE_LOAD = 381
SYS_IO_PGETEVENTS = 382 SYS_IO_PGETEVENTS = 382
SYS_RSEQ = 383 SYS_RSEQ = 383
SYS_PKEY_MPROTECT = 384 SYS_PKEY_MPROTECT = 384
SYS_PKEY_ALLOC = 385 SYS_PKEY_ALLOC = 385
SYS_PKEY_FREE = 386 SYS_PKEY_FREE = 386
SYS_SEMTIMEDOP = 392 SYS_SEMTIMEDOP = 392
SYS_SEMGET = 393 SYS_SEMGET = 393
SYS_SEMCTL = 394 SYS_SEMCTL = 394
SYS_SHMGET = 395 SYS_SHMGET = 395
SYS_SHMCTL = 396 SYS_SHMCTL = 396
SYS_SHMAT = 397 SYS_SHMAT = 397
SYS_SHMDT = 398 SYS_SHMDT = 398
SYS_MSGGET = 399 SYS_MSGGET = 399
SYS_MSGSND = 400 SYS_MSGSND = 400
SYS_MSGRCV = 401 SYS_MSGRCV = 401
SYS_MSGCTL = 402 SYS_MSGCTL = 402
SYS_PIDFD_SEND_SIGNAL = 424 SYS_PIDFD_SEND_SIGNAL = 424
SYS_IO_URING_SETUP = 425 SYS_IO_URING_SETUP = 425
SYS_IO_URING_ENTER = 426 SYS_IO_URING_ENTER = 426
SYS_IO_URING_REGISTER = 427 SYS_IO_URING_REGISTER = 427
SYS_OPEN_TREE = 428 SYS_OPEN_TREE = 428
SYS_MOVE_MOUNT = 429 SYS_MOVE_MOUNT = 429
SYS_FSOPEN = 430 SYS_FSOPEN = 430
SYS_FSCONFIG = 431 SYS_FSCONFIG = 431
SYS_FSMOUNT = 432 SYS_FSMOUNT = 432
SYS_FSPICK = 433 SYS_FSPICK = 433
SYS_PIDFD_OPEN = 434 SYS_PIDFD_OPEN = 434
SYS_CLONE3 = 435 SYS_CLONE3 = 435
SYS_CLOSE_RANGE = 436 SYS_CLOSE_RANGE = 436
SYS_OPENAT2 = 437 SYS_OPENAT2 = 437
SYS_PIDFD_GETFD = 438 SYS_PIDFD_GETFD = 438
SYS_FACCESSAT2 = 439 SYS_FACCESSAT2 = 439
SYS_PROCESS_MADVISE = 440 SYS_PROCESS_MADVISE = 440
SYS_EPOLL_PWAIT2 = 441 SYS_EPOLL_PWAIT2 = 441
SYS_MOUNT_SETATTR = 442 SYS_MOUNT_SETATTR = 442
SYS_LANDLOCK_CREATE_RULESET = 444
SYS_LANDLOCK_ADD_RULE = 445
SYS_LANDLOCK_RESTRICT_SELF = 446
) )

View File

@ -7,379 +7,382 @@
package unix package unix
const ( const (
SYS_RESTART_SYSCALL = 0 SYS_RESTART_SYSCALL = 0
SYS_EXIT = 1 SYS_EXIT = 1
SYS_FORK = 2 SYS_FORK = 2
SYS_READ = 3 SYS_READ = 3
SYS_WRITE = 4 SYS_WRITE = 4
SYS_OPEN = 5 SYS_OPEN = 5
SYS_CLOSE = 6 SYS_CLOSE = 6
SYS_WAIT4 = 7 SYS_WAIT4 = 7
SYS_CREAT = 8 SYS_CREAT = 8
SYS_LINK = 9 SYS_LINK = 9
SYS_UNLINK = 10 SYS_UNLINK = 10
SYS_EXECV = 11 SYS_EXECV = 11
SYS_CHDIR = 12 SYS_CHDIR = 12
SYS_CHOWN = 13 SYS_CHOWN = 13
SYS_MKNOD = 14 SYS_MKNOD = 14
SYS_CHMOD = 15 SYS_CHMOD = 15
SYS_LCHOWN = 16 SYS_LCHOWN = 16
SYS_BRK = 17 SYS_BRK = 17
SYS_PERFCTR = 18 SYS_PERFCTR = 18
SYS_LSEEK = 19 SYS_LSEEK = 19
SYS_GETPID = 20 SYS_GETPID = 20
SYS_CAPGET = 21 SYS_CAPGET = 21
SYS_CAPSET = 22 SYS_CAPSET = 22
SYS_SETUID = 23 SYS_SETUID = 23
SYS_GETUID = 24 SYS_GETUID = 24
SYS_VMSPLICE = 25 SYS_VMSPLICE = 25
SYS_PTRACE = 26 SYS_PTRACE = 26
SYS_ALARM = 27 SYS_ALARM = 27
SYS_SIGALTSTACK = 28 SYS_SIGALTSTACK = 28
SYS_PAUSE = 29 SYS_PAUSE = 29
SYS_UTIME = 30 SYS_UTIME = 30
SYS_ACCESS = 33 SYS_ACCESS = 33
SYS_NICE = 34 SYS_NICE = 34
SYS_SYNC = 36 SYS_SYNC = 36
SYS_KILL = 37 SYS_KILL = 37
SYS_STAT = 38 SYS_STAT = 38
SYS_SENDFILE = 39 SYS_SENDFILE = 39
SYS_LSTAT = 40 SYS_LSTAT = 40
SYS_DUP = 41 SYS_DUP = 41
SYS_PIPE = 42 SYS_PIPE = 42
SYS_TIMES = 43 SYS_TIMES = 43
SYS_UMOUNT2 = 45 SYS_UMOUNT2 = 45
SYS_SETGID = 46 SYS_SETGID = 46
SYS_GETGID = 47 SYS_GETGID = 47
SYS_SIGNAL = 48 SYS_SIGNAL = 48
SYS_GETEUID = 49 SYS_GETEUID = 49
SYS_GETEGID = 50 SYS_GETEGID = 50
SYS_ACCT = 51 SYS_ACCT = 51
SYS_MEMORY_ORDERING = 52 SYS_MEMORY_ORDERING = 52
SYS_IOCTL = 54 SYS_IOCTL = 54
SYS_REBOOT = 55 SYS_REBOOT = 55
SYS_SYMLINK = 57 SYS_SYMLINK = 57
SYS_READLINK = 58 SYS_READLINK = 58
SYS_EXECVE = 59 SYS_EXECVE = 59
SYS_UMASK = 60 SYS_UMASK = 60
SYS_CHROOT = 61 SYS_CHROOT = 61
SYS_FSTAT = 62 SYS_FSTAT = 62
SYS_FSTAT64 = 63 SYS_FSTAT64 = 63
SYS_GETPAGESIZE = 64 SYS_GETPAGESIZE = 64
SYS_MSYNC = 65 SYS_MSYNC = 65
SYS_VFORK = 66 SYS_VFORK = 66
SYS_PREAD64 = 67 SYS_PREAD64 = 67
SYS_PWRITE64 = 68 SYS_PWRITE64 = 68
SYS_MMAP = 71 SYS_MMAP = 71
SYS_MUNMAP = 73 SYS_MUNMAP = 73
SYS_MPROTECT = 74 SYS_MPROTECT = 74
SYS_MADVISE = 75 SYS_MADVISE = 75
SYS_VHANGUP = 76 SYS_VHANGUP = 76
SYS_MINCORE = 78 SYS_MINCORE = 78
SYS_GETGROUPS = 79 SYS_GETGROUPS = 79
SYS_SETGROUPS = 80 SYS_SETGROUPS = 80
SYS_GETPGRP = 81 SYS_GETPGRP = 81
SYS_SETITIMER = 83 SYS_SETITIMER = 83
SYS_SWAPON = 85 SYS_SWAPON = 85
SYS_GETITIMER = 86 SYS_GETITIMER = 86
SYS_SETHOSTNAME = 88 SYS_SETHOSTNAME = 88
SYS_DUP2 = 90 SYS_DUP2 = 90
SYS_FCNTL = 92 SYS_FCNTL = 92
SYS_SELECT = 93 SYS_SELECT = 93
SYS_FSYNC = 95 SYS_FSYNC = 95
SYS_SETPRIORITY = 96 SYS_SETPRIORITY = 96
SYS_SOCKET = 97 SYS_SOCKET = 97
SYS_CONNECT = 98 SYS_CONNECT = 98
SYS_ACCEPT = 99 SYS_ACCEPT = 99
SYS_GETPRIORITY = 100 SYS_GETPRIORITY = 100
SYS_RT_SIGRETURN = 101 SYS_RT_SIGRETURN = 101
SYS_RT_SIGACTION = 102 SYS_RT_SIGACTION = 102
SYS_RT_SIGPROCMASK = 103 SYS_RT_SIGPROCMASK = 103
SYS_RT_SIGPENDING = 104 SYS_RT_SIGPENDING = 104
SYS_RT_SIGTIMEDWAIT = 105 SYS_RT_SIGTIMEDWAIT = 105
SYS_RT_SIGQUEUEINFO = 106 SYS_RT_SIGQUEUEINFO = 106
SYS_RT_SIGSUSPEND = 107 SYS_RT_SIGSUSPEND = 107
SYS_SETRESUID = 108 SYS_SETRESUID = 108
SYS_GETRESUID = 109 SYS_GETRESUID = 109
SYS_SETRESGID = 110 SYS_SETRESGID = 110
SYS_GETRESGID = 111 SYS_GETRESGID = 111
SYS_RECVMSG = 113 SYS_RECVMSG = 113
SYS_SENDMSG = 114 SYS_SENDMSG = 114
SYS_GETTIMEOFDAY = 116 SYS_GETTIMEOFDAY = 116
SYS_GETRUSAGE = 117 SYS_GETRUSAGE = 117
SYS_GETSOCKOPT = 118 SYS_GETSOCKOPT = 118
SYS_GETCWD = 119 SYS_GETCWD = 119
SYS_READV = 120 SYS_READV = 120
SYS_WRITEV = 121 SYS_WRITEV = 121
SYS_SETTIMEOFDAY = 122 SYS_SETTIMEOFDAY = 122
SYS_FCHOWN = 123 SYS_FCHOWN = 123
SYS_FCHMOD = 124 SYS_FCHMOD = 124
SYS_RECVFROM = 125 SYS_RECVFROM = 125
SYS_SETREUID = 126 SYS_SETREUID = 126
SYS_SETREGID = 127 SYS_SETREGID = 127
SYS_RENAME = 128 SYS_RENAME = 128
SYS_TRUNCATE = 129 SYS_TRUNCATE = 129
SYS_FTRUNCATE = 130 SYS_FTRUNCATE = 130
SYS_FLOCK = 131 SYS_FLOCK = 131
SYS_LSTAT64 = 132 SYS_LSTAT64 = 132
SYS_SENDTO = 133 SYS_SENDTO = 133
SYS_SHUTDOWN = 134 SYS_SHUTDOWN = 134
SYS_SOCKETPAIR = 135 SYS_SOCKETPAIR = 135
SYS_MKDIR = 136 SYS_MKDIR = 136
SYS_RMDIR = 137 SYS_RMDIR = 137
SYS_UTIMES = 138 SYS_UTIMES = 138
SYS_STAT64 = 139 SYS_STAT64 = 139
SYS_SENDFILE64 = 140 SYS_SENDFILE64 = 140
SYS_GETPEERNAME = 141 SYS_GETPEERNAME = 141
SYS_FUTEX = 142 SYS_FUTEX = 142
SYS_GETTID = 143 SYS_GETTID = 143
SYS_GETRLIMIT = 144 SYS_GETRLIMIT = 144
SYS_SETRLIMIT = 145 SYS_SETRLIMIT = 145
SYS_PIVOT_ROOT = 146 SYS_PIVOT_ROOT = 146
SYS_PRCTL = 147 SYS_PRCTL = 147
SYS_PCICONFIG_READ = 148 SYS_PCICONFIG_READ = 148
SYS_PCICONFIG_WRITE = 149 SYS_PCICONFIG_WRITE = 149
SYS_GETSOCKNAME = 150 SYS_GETSOCKNAME = 150
SYS_INOTIFY_INIT = 151 SYS_INOTIFY_INIT = 151
SYS_INOTIFY_ADD_WATCH = 152 SYS_INOTIFY_ADD_WATCH = 152
SYS_POLL = 153 SYS_POLL = 153
SYS_GETDENTS64 = 154 SYS_GETDENTS64 = 154
SYS_INOTIFY_RM_WATCH = 156 SYS_INOTIFY_RM_WATCH = 156
SYS_STATFS = 157 SYS_STATFS = 157
SYS_FSTATFS = 158 SYS_FSTATFS = 158
SYS_UMOUNT = 159 SYS_UMOUNT = 159
SYS_SCHED_SET_AFFINITY = 160 SYS_SCHED_SET_AFFINITY = 160
SYS_SCHED_GET_AFFINITY = 161 SYS_SCHED_GET_AFFINITY = 161
SYS_GETDOMAINNAME = 162 SYS_GETDOMAINNAME = 162
SYS_SETDOMAINNAME = 163 SYS_SETDOMAINNAME = 163
SYS_UTRAP_INSTALL = 164 SYS_UTRAP_INSTALL = 164
SYS_QUOTACTL = 165 SYS_QUOTACTL = 165
SYS_SET_TID_ADDRESS = 166 SYS_SET_TID_ADDRESS = 166
SYS_MOUNT = 167 SYS_MOUNT = 167
SYS_USTAT = 168 SYS_USTAT = 168
SYS_SETXATTR = 169 SYS_SETXATTR = 169
SYS_LSETXATTR = 170 SYS_LSETXATTR = 170
SYS_FSETXATTR = 171 SYS_FSETXATTR = 171
SYS_GETXATTR = 172 SYS_GETXATTR = 172
SYS_LGETXATTR = 173 SYS_LGETXATTR = 173
SYS_GETDENTS = 174 SYS_GETDENTS = 174
SYS_SETSID = 175 SYS_SETSID = 175
SYS_FCHDIR = 176 SYS_FCHDIR = 176
SYS_FGETXATTR = 177 SYS_FGETXATTR = 177
SYS_LISTXATTR = 178 SYS_LISTXATTR = 178
SYS_LLISTXATTR = 179 SYS_LLISTXATTR = 179
SYS_FLISTXATTR = 180 SYS_FLISTXATTR = 180
SYS_REMOVEXATTR = 181 SYS_REMOVEXATTR = 181
SYS_LREMOVEXATTR = 182 SYS_LREMOVEXATTR = 182
SYS_SIGPENDING = 183 SYS_SIGPENDING = 183
SYS_QUERY_MODULE = 184 SYS_QUERY_MODULE = 184
SYS_SETPGID = 185 SYS_SETPGID = 185
SYS_FREMOVEXATTR = 186 SYS_FREMOVEXATTR = 186
SYS_TKILL = 187 SYS_TKILL = 187
SYS_EXIT_GROUP = 188 SYS_EXIT_GROUP = 188
SYS_UNAME = 189 SYS_UNAME = 189
SYS_INIT_MODULE = 190 SYS_INIT_MODULE = 190
SYS_PERSONALITY = 191 SYS_PERSONALITY = 191
SYS_REMAP_FILE_PAGES = 192 SYS_REMAP_FILE_PAGES = 192
SYS_EPOLL_CREATE = 193 SYS_EPOLL_CREATE = 193
SYS_EPOLL_CTL = 194 SYS_EPOLL_CTL = 194
SYS_EPOLL_WAIT = 195 SYS_EPOLL_WAIT = 195
SYS_IOPRIO_SET = 196 SYS_IOPRIO_SET = 196
SYS_GETPPID = 197 SYS_GETPPID = 197
SYS_SIGACTION = 198 SYS_SIGACTION = 198
SYS_SGETMASK = 199 SYS_SGETMASK = 199
SYS_SSETMASK = 200 SYS_SSETMASK = 200
SYS_SIGSUSPEND = 201 SYS_SIGSUSPEND = 201
SYS_OLDLSTAT = 202 SYS_OLDLSTAT = 202
SYS_USELIB = 203 SYS_USELIB = 203
SYS_READDIR = 204 SYS_READDIR = 204
SYS_READAHEAD = 205 SYS_READAHEAD = 205
SYS_SOCKETCALL = 206 SYS_SOCKETCALL = 206
SYS_SYSLOG = 207 SYS_SYSLOG = 207
SYS_LOOKUP_DCOOKIE = 208 SYS_LOOKUP_DCOOKIE = 208
SYS_FADVISE64 = 209 SYS_FADVISE64 = 209
SYS_FADVISE64_64 = 210 SYS_FADVISE64_64 = 210
SYS_TGKILL = 211 SYS_TGKILL = 211
SYS_WAITPID = 212 SYS_WAITPID = 212
SYS_SWAPOFF = 213 SYS_SWAPOFF = 213
SYS_SYSINFO = 214 SYS_SYSINFO = 214
SYS_IPC = 215 SYS_IPC = 215
SYS_SIGRETURN = 216 SYS_SIGRETURN = 216
SYS_CLONE = 217 SYS_CLONE = 217
SYS_IOPRIO_GET = 218 SYS_IOPRIO_GET = 218
SYS_ADJTIMEX = 219 SYS_ADJTIMEX = 219
SYS_SIGPROCMASK = 220 SYS_SIGPROCMASK = 220
SYS_CREATE_MODULE = 221 SYS_CREATE_MODULE = 221
SYS_DELETE_MODULE = 222 SYS_DELETE_MODULE = 222
SYS_GET_KERNEL_SYMS = 223 SYS_GET_KERNEL_SYMS = 223
SYS_GETPGID = 224 SYS_GETPGID = 224
SYS_BDFLUSH = 225 SYS_BDFLUSH = 225
SYS_SYSFS = 226 SYS_SYSFS = 226
SYS_AFS_SYSCALL = 227 SYS_AFS_SYSCALL = 227
SYS_SETFSUID = 228 SYS_SETFSUID = 228
SYS_SETFSGID = 229 SYS_SETFSGID = 229
SYS__NEWSELECT = 230 SYS__NEWSELECT = 230
SYS_SPLICE = 232 SYS_SPLICE = 232
SYS_STIME = 233 SYS_STIME = 233
SYS_STATFS64 = 234 SYS_STATFS64 = 234
SYS_FSTATFS64 = 235 SYS_FSTATFS64 = 235
SYS__LLSEEK = 236 SYS__LLSEEK = 236
SYS_MLOCK = 237 SYS_MLOCK = 237
SYS_MUNLOCK = 238 SYS_MUNLOCK = 238
SYS_MLOCKALL = 239 SYS_MLOCKALL = 239
SYS_MUNLOCKALL = 240 SYS_MUNLOCKALL = 240
SYS_SCHED_SETPARAM = 241 SYS_SCHED_SETPARAM = 241
SYS_SCHED_GETPARAM = 242 SYS_SCHED_GETPARAM = 242
SYS_SCHED_SETSCHEDULER = 243 SYS_SCHED_SETSCHEDULER = 243
SYS_SCHED_GETSCHEDULER = 244 SYS_SCHED_GETSCHEDULER = 244
SYS_SCHED_YIELD = 245 SYS_SCHED_YIELD = 245
SYS_SCHED_GET_PRIORITY_MAX = 246 SYS_SCHED_GET_PRIORITY_MAX = 246
SYS_SCHED_GET_PRIORITY_MIN = 247 SYS_SCHED_GET_PRIORITY_MIN = 247
SYS_SCHED_RR_GET_INTERVAL = 248 SYS_SCHED_RR_GET_INTERVAL = 248
SYS_NANOSLEEP = 249 SYS_NANOSLEEP = 249
SYS_MREMAP = 250 SYS_MREMAP = 250
SYS__SYSCTL = 251 SYS__SYSCTL = 251
SYS_GETSID = 252 SYS_GETSID = 252
SYS_FDATASYNC = 253 SYS_FDATASYNC = 253
SYS_NFSSERVCTL = 254 SYS_NFSSERVCTL = 254
SYS_SYNC_FILE_RANGE = 255 SYS_SYNC_FILE_RANGE = 255
SYS_CLOCK_SETTIME = 256 SYS_CLOCK_SETTIME = 256
SYS_CLOCK_GETTIME = 257 SYS_CLOCK_GETTIME = 257
SYS_CLOCK_GETRES = 258 SYS_CLOCK_GETRES = 258
SYS_CLOCK_NANOSLEEP = 259 SYS_CLOCK_NANOSLEEP = 259
SYS_SCHED_GETAFFINITY = 260 SYS_SCHED_GETAFFINITY = 260
SYS_SCHED_SETAFFINITY = 261 SYS_SCHED_SETAFFINITY = 261
SYS_TIMER_SETTIME = 262 SYS_TIMER_SETTIME = 262
SYS_TIMER_GETTIME = 263 SYS_TIMER_GETTIME = 263
SYS_TIMER_GETOVERRUN = 264 SYS_TIMER_GETOVERRUN = 264
SYS_TIMER_DELETE = 265 SYS_TIMER_DELETE = 265
SYS_TIMER_CREATE = 266 SYS_TIMER_CREATE = 266
SYS_VSERVER = 267 SYS_VSERVER = 267
SYS_IO_SETUP = 268 SYS_IO_SETUP = 268
SYS_IO_DESTROY = 269 SYS_IO_DESTROY = 269
SYS_IO_SUBMIT = 270 SYS_IO_SUBMIT = 270
SYS_IO_CANCEL = 271 SYS_IO_CANCEL = 271
SYS_IO_GETEVENTS = 272 SYS_IO_GETEVENTS = 272
SYS_MQ_OPEN = 273 SYS_MQ_OPEN = 273
SYS_MQ_UNLINK = 274 SYS_MQ_UNLINK = 274
SYS_MQ_TIMEDSEND = 275 SYS_MQ_TIMEDSEND = 275
SYS_MQ_TIMEDRECEIVE = 276 SYS_MQ_TIMEDRECEIVE = 276
SYS_MQ_NOTIFY = 277 SYS_MQ_NOTIFY = 277
SYS_MQ_GETSETATTR = 278 SYS_MQ_GETSETATTR = 278
SYS_WAITID = 279 SYS_WAITID = 279
SYS_TEE = 280 SYS_TEE = 280
SYS_ADD_KEY = 281 SYS_ADD_KEY = 281
SYS_REQUEST_KEY = 282 SYS_REQUEST_KEY = 282
SYS_KEYCTL = 283 SYS_KEYCTL = 283
SYS_OPENAT = 284 SYS_OPENAT = 284
SYS_MKDIRAT = 285 SYS_MKDIRAT = 285
SYS_MKNODAT = 286 SYS_MKNODAT = 286
SYS_FCHOWNAT = 287 SYS_FCHOWNAT = 287
SYS_FUTIMESAT = 288 SYS_FUTIMESAT = 288
SYS_FSTATAT64 = 289 SYS_FSTATAT64 = 289
SYS_UNLINKAT = 290 SYS_UNLINKAT = 290
SYS_RENAMEAT = 291 SYS_RENAMEAT = 291
SYS_LINKAT = 292 SYS_LINKAT = 292
SYS_SYMLINKAT = 293 SYS_SYMLINKAT = 293
SYS_READLINKAT = 294 SYS_READLINKAT = 294
SYS_FCHMODAT = 295 SYS_FCHMODAT = 295
SYS_FACCESSAT = 296 SYS_FACCESSAT = 296
SYS_PSELECT6 = 297 SYS_PSELECT6 = 297
SYS_PPOLL = 298 SYS_PPOLL = 298
SYS_UNSHARE = 299 SYS_UNSHARE = 299
SYS_SET_ROBUST_LIST = 300 SYS_SET_ROBUST_LIST = 300
SYS_GET_ROBUST_LIST = 301 SYS_GET_ROBUST_LIST = 301
SYS_MIGRATE_PAGES = 302 SYS_MIGRATE_PAGES = 302
SYS_MBIND = 303 SYS_MBIND = 303
SYS_GET_MEMPOLICY = 304 SYS_GET_MEMPOLICY = 304
SYS_SET_MEMPOLICY = 305 SYS_SET_MEMPOLICY = 305
SYS_KEXEC_LOAD = 306 SYS_KEXEC_LOAD = 306
SYS_MOVE_PAGES = 307 SYS_MOVE_PAGES = 307
SYS_GETCPU = 308 SYS_GETCPU = 308
SYS_EPOLL_PWAIT = 309 SYS_EPOLL_PWAIT = 309
SYS_UTIMENSAT = 310 SYS_UTIMENSAT = 310
SYS_SIGNALFD = 311 SYS_SIGNALFD = 311
SYS_TIMERFD_CREATE = 312 SYS_TIMERFD_CREATE = 312
SYS_EVENTFD = 313 SYS_EVENTFD = 313
SYS_FALLOCATE = 314 SYS_FALLOCATE = 314
SYS_TIMERFD_SETTIME = 315 SYS_TIMERFD_SETTIME = 315
SYS_TIMERFD_GETTIME = 316 SYS_TIMERFD_GETTIME = 316
SYS_SIGNALFD4 = 317 SYS_SIGNALFD4 = 317
SYS_EVENTFD2 = 318 SYS_EVENTFD2 = 318
SYS_EPOLL_CREATE1 = 319 SYS_EPOLL_CREATE1 = 319
SYS_DUP3 = 320 SYS_DUP3 = 320
SYS_PIPE2 = 321 SYS_PIPE2 = 321
SYS_INOTIFY_INIT1 = 322 SYS_INOTIFY_INIT1 = 322
SYS_ACCEPT4 = 323 SYS_ACCEPT4 = 323
SYS_PREADV = 324 SYS_PREADV = 324
SYS_PWRITEV = 325 SYS_PWRITEV = 325
SYS_RT_TGSIGQUEUEINFO = 326 SYS_RT_TGSIGQUEUEINFO = 326
SYS_PERF_EVENT_OPEN = 327 SYS_PERF_EVENT_OPEN = 327
SYS_RECVMMSG = 328 SYS_RECVMMSG = 328
SYS_FANOTIFY_INIT = 329 SYS_FANOTIFY_INIT = 329
SYS_FANOTIFY_MARK = 330 SYS_FANOTIFY_MARK = 330
SYS_PRLIMIT64 = 331 SYS_PRLIMIT64 = 331
SYS_NAME_TO_HANDLE_AT = 332 SYS_NAME_TO_HANDLE_AT = 332
SYS_OPEN_BY_HANDLE_AT = 333 SYS_OPEN_BY_HANDLE_AT = 333
SYS_CLOCK_ADJTIME = 334 SYS_CLOCK_ADJTIME = 334
SYS_SYNCFS = 335 SYS_SYNCFS = 335
SYS_SENDMMSG = 336 SYS_SENDMMSG = 336
SYS_SETNS = 337 SYS_SETNS = 337
SYS_PROCESS_VM_READV = 338 SYS_PROCESS_VM_READV = 338
SYS_PROCESS_VM_WRITEV = 339 SYS_PROCESS_VM_WRITEV = 339
SYS_KERN_FEATURES = 340 SYS_KERN_FEATURES = 340
SYS_KCMP = 341 SYS_KCMP = 341
SYS_FINIT_MODULE = 342 SYS_FINIT_MODULE = 342
SYS_SCHED_SETATTR = 343 SYS_SCHED_SETATTR = 343
SYS_SCHED_GETATTR = 344 SYS_SCHED_GETATTR = 344
SYS_RENAMEAT2 = 345 SYS_RENAMEAT2 = 345
SYS_SECCOMP = 346 SYS_SECCOMP = 346
SYS_GETRANDOM = 347 SYS_GETRANDOM = 347
SYS_MEMFD_CREATE = 348 SYS_MEMFD_CREATE = 348
SYS_BPF = 349 SYS_BPF = 349
SYS_EXECVEAT = 350 SYS_EXECVEAT = 350
SYS_MEMBARRIER = 351 SYS_MEMBARRIER = 351
SYS_USERFAULTFD = 352 SYS_USERFAULTFD = 352
SYS_BIND = 353 SYS_BIND = 353
SYS_LISTEN = 354 SYS_LISTEN = 354
SYS_SETSOCKOPT = 355 SYS_SETSOCKOPT = 355
SYS_MLOCK2 = 356 SYS_MLOCK2 = 356
SYS_COPY_FILE_RANGE = 357 SYS_COPY_FILE_RANGE = 357
SYS_PREADV2 = 358 SYS_PREADV2 = 358
SYS_PWRITEV2 = 359 SYS_PWRITEV2 = 359
SYS_STATX = 360 SYS_STATX = 360
SYS_IO_PGETEVENTS = 361 SYS_IO_PGETEVENTS = 361
SYS_PKEY_MPROTECT = 362 SYS_PKEY_MPROTECT = 362
SYS_PKEY_ALLOC = 363 SYS_PKEY_ALLOC = 363
SYS_PKEY_FREE = 364 SYS_PKEY_FREE = 364
SYS_RSEQ = 365 SYS_RSEQ = 365
SYS_SEMTIMEDOP = 392 SYS_SEMTIMEDOP = 392
SYS_SEMGET = 393 SYS_SEMGET = 393
SYS_SEMCTL = 394 SYS_SEMCTL = 394
SYS_SHMGET = 395 SYS_SHMGET = 395
SYS_SHMCTL = 396 SYS_SHMCTL = 396
SYS_SHMAT = 397 SYS_SHMAT = 397
SYS_SHMDT = 398 SYS_SHMDT = 398
SYS_MSGGET = 399 SYS_MSGGET = 399
SYS_MSGSND = 400 SYS_MSGSND = 400
SYS_MSGRCV = 401 SYS_MSGRCV = 401
SYS_MSGCTL = 402 SYS_MSGCTL = 402
SYS_PIDFD_SEND_SIGNAL = 424 SYS_PIDFD_SEND_SIGNAL = 424
SYS_IO_URING_SETUP = 425 SYS_IO_URING_SETUP = 425
SYS_IO_URING_ENTER = 426 SYS_IO_URING_ENTER = 426
SYS_IO_URING_REGISTER = 427 SYS_IO_URING_REGISTER = 427
SYS_OPEN_TREE = 428 SYS_OPEN_TREE = 428
SYS_MOVE_MOUNT = 429 SYS_MOVE_MOUNT = 429
SYS_FSOPEN = 430 SYS_FSOPEN = 430
SYS_FSCONFIG = 431 SYS_FSCONFIG = 431
SYS_FSMOUNT = 432 SYS_FSMOUNT = 432
SYS_FSPICK = 433 SYS_FSPICK = 433
SYS_PIDFD_OPEN = 434 SYS_PIDFD_OPEN = 434
SYS_CLOSE_RANGE = 436 SYS_CLOSE_RANGE = 436
SYS_OPENAT2 = 437 SYS_OPENAT2 = 437
SYS_PIDFD_GETFD = 438 SYS_PIDFD_GETFD = 438
SYS_FACCESSAT2 = 439 SYS_FACCESSAT2 = 439
SYS_PROCESS_MADVISE = 440 SYS_PROCESS_MADVISE = 440
SYS_EPOLL_PWAIT2 = 441 SYS_EPOLL_PWAIT2 = 441
SYS_MOUNT_SETATTR = 442 SYS_MOUNT_SETATTR = 442
SYS_LANDLOCK_CREATE_RULESET = 444
SYS_LANDLOCK_ADD_RULE = 445
SYS_LANDLOCK_RESTRICT_SELF = 446
) )

View File

@ -1,524 +0,0 @@
// cgo -godefs types_darwin.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
//go:build 386 && darwin
// +build 386,darwin
package unix
const (
SizeofPtr = 0x4
SizeofShort = 0x2
SizeofInt = 0x4
SizeofLong = 0x4
SizeofLongLong = 0x8
)
type (
_C_short int16
_C_int int32
_C_long int32
_C_long_long int64
)
type Timespec struct {
Sec int32
Nsec int32
}
type Timeval struct {
Sec int32
Usec int32
}
type Timeval32 struct{}
type Rusage struct {
Utime Timeval
Stime Timeval
Maxrss int32
Ixrss int32
Idrss int32
Isrss int32
Minflt int32
Majflt int32
Nswap int32
Inblock int32
Oublock int32
Msgsnd int32
Msgrcv int32
Nsignals int32
Nvcsw int32
Nivcsw int32
}
type Rlimit struct {
Cur uint64
Max uint64
}
type _Gid_t uint32
type Stat_t struct {
Dev int32
Mode uint16
Nlink uint16
Ino uint64
Uid uint32
Gid uint32
Rdev int32
Atim Timespec
Mtim Timespec
Ctim Timespec
Btim Timespec
Size int64
Blocks int64
Blksize int32
Flags uint32
Gen uint32
Lspare int32
Qspare [2]int64
}
type Statfs_t struct {
Bsize uint32
Iosize int32
Blocks uint64
Bfree uint64
Bavail uint64
Files uint64
Ffree uint64
Fsid Fsid
Owner uint32
Type uint32
Flags uint32
Fssubtype uint32
Fstypename [16]byte
Mntonname [1024]byte
Mntfromname [1024]byte
Reserved [8]uint32
}
type Flock_t struct {
Start int64
Len int64
Pid int32
Type int16
Whence int16
}
type Fstore_t struct {
Flags uint32
Posmode int32
Offset int64
Length int64
Bytesalloc int64
}
type Radvisory_t struct {
Offset int64
Count int32
}
type Fbootstraptransfer_t struct {
Offset int64
Length uint32
Buffer *byte
}
type Log2phys_t struct {
Flags uint32
Contigbytes int64
Devoffset int64
}
type Fsid struct {
Val [2]int32
}
type Dirent struct {
Ino uint64
Seekoff uint64
Reclen uint16
Namlen uint16
Type uint8
Name [1024]int8
_ [3]byte
}
const (
PathMax = 0x400
)
type RawSockaddrInet4 struct {
Len uint8
Family uint8
Port uint16
Addr [4]byte /* in_addr */
Zero [8]int8
}
type RawSockaddrInet6 struct {
Len uint8
Family uint8
Port uint16
Flowinfo uint32
Addr [16]byte /* in6_addr */
Scope_id uint32
}
type RawSockaddrUnix struct {
Len uint8
Family uint8
Path [104]int8
}
type RawSockaddrDatalink struct {
Len uint8
Family uint8
Index uint16
Type uint8
Nlen uint8
Alen uint8
Slen uint8
Data [12]int8
}
type RawSockaddr struct {
Len uint8
Family uint8
Data [14]int8
}
type RawSockaddrAny struct {
Addr RawSockaddr
Pad [92]int8
}
type RawSockaddrCtl struct {
Sc_len uint8
Sc_family uint8
Ss_sysaddr uint16
Sc_id uint32
Sc_unit uint32
Sc_reserved [5]uint32
}
type _Socklen uint32
type Linger struct {
Onoff int32
Linger int32
}
type Iovec struct {
Base *byte
Len uint32
}
type IPMreq struct {
Multiaddr [4]byte /* in_addr */
Interface [4]byte /* in_addr */
}
type IPMreqn struct {
Multiaddr [4]byte /* in_addr */
Address [4]byte /* in_addr */
Ifindex int32
}
type IPv6Mreq struct {
Multiaddr [16]byte /* in6_addr */
Interface uint32
}
type Msghdr struct {
Name *byte
Namelen uint32
Iov *Iovec
Iovlen int32
Control *byte
Controllen uint32
Flags int32
}
type Cmsghdr struct {
Len uint32
Level int32
Type int32
}
type Inet4Pktinfo struct {
Ifindex uint32
Spec_dst [4]byte /* in_addr */
Addr [4]byte /* in_addr */
}
type Inet6Pktinfo struct {
Addr [16]byte /* in6_addr */
Ifindex uint32
}
type IPv6MTUInfo struct {
Addr RawSockaddrInet6
Mtu uint32
}
type ICMPv6Filter struct {
Filt [8]uint32
}
const (
SizeofSockaddrInet4 = 0x10
SizeofSockaddrInet6 = 0x1c
SizeofSockaddrAny = 0x6c
SizeofSockaddrUnix = 0x6a
SizeofSockaddrDatalink = 0x14
SizeofSockaddrCtl = 0x20
SizeofLinger = 0x8
SizeofIovec = 0x8
SizeofIPMreq = 0x8
SizeofIPMreqn = 0xc
SizeofIPv6Mreq = 0x14
SizeofMsghdr = 0x1c
SizeofCmsghdr = 0xc
SizeofInet4Pktinfo = 0xc
SizeofInet6Pktinfo = 0x14
SizeofIPv6MTUInfo = 0x20
SizeofICMPv6Filter = 0x20
)
const (
PTRACE_TRACEME = 0x0
PTRACE_CONT = 0x7
PTRACE_KILL = 0x8
)
type Kevent_t struct {
Ident uint32
Filter int16
Flags uint16
Fflags uint32
Data int32
Udata *byte
}
type FdSet struct {
Bits [32]int32
}
const (
SizeofIfMsghdr = 0x70
SizeofIfData = 0x60
SizeofIfaMsghdr = 0x14
SizeofIfmaMsghdr = 0x10
SizeofIfmaMsghdr2 = 0x14
SizeofRtMsghdr = 0x5c
SizeofRtMetrics = 0x38
)
type IfMsghdr struct {
Msglen uint16
Version uint8
Type uint8
Addrs int32
Flags int32
Index uint16
Data IfData
}
type IfData struct {
Type uint8
Typelen uint8
Physical uint8
Addrlen uint8
Hdrlen uint8
Recvquota uint8
Xmitquota uint8
Unused1 uint8
Mtu uint32
Metric uint32
Baudrate uint32
Ipackets uint32
Ierrors uint32
Opackets uint32
Oerrors uint32
Collisions uint32
Ibytes uint32
Obytes uint32
Imcasts uint32
Omcasts uint32
Iqdrops uint32
Noproto uint32
Recvtiming uint32
Xmittiming uint32
Lastchange Timeval
Unused2 uint32
Hwassist uint32
Reserved1 uint32
Reserved2 uint32
}
type IfaMsghdr struct {
Msglen uint16
Version uint8
Type uint8
Addrs int32
Flags int32
Index uint16
Metric int32
}
type IfmaMsghdr struct {
Msglen uint16
Version uint8
Type uint8
Addrs int32
Flags int32
Index uint16
_ [2]byte
}
type IfmaMsghdr2 struct {
Msglen uint16
Version uint8
Type uint8
Addrs int32
Flags int32
Index uint16
Refcount int32
}
type RtMsghdr struct {
Msglen uint16
Version uint8
Type uint8
Index uint16
Flags int32
Addrs int32
Pid int32
Seq int32
Errno int32
Use int32
Inits uint32
Rmx RtMetrics
}
type RtMetrics struct {
Locks uint32
Mtu uint32
Hopcount uint32
Expire int32
Recvpipe uint32
Sendpipe uint32
Ssthresh uint32
Rtt uint32
Rttvar uint32
Pksent uint32
State uint32
Filler [3]uint32
}
const (
SizeofBpfVersion = 0x4
SizeofBpfStat = 0x8
SizeofBpfProgram = 0x8
SizeofBpfInsn = 0x8
SizeofBpfHdr = 0x14
)
type BpfVersion struct {
Major uint16
Minor uint16
}
type BpfStat struct {
Recv uint32
Drop uint32
}
type BpfProgram struct {
Len uint32
Insns *BpfInsn
}
type BpfInsn struct {
Code uint16
Jt uint8
Jf uint8
K uint32
}
type BpfHdr struct {
Tstamp Timeval
Caplen uint32
Datalen uint32
Hdrlen uint16
_ [2]byte
}
type Termios struct {
Iflag uint32
Oflag uint32
Cflag uint32
Lflag uint32
Cc [20]uint8
Ispeed uint32
Ospeed uint32
}
type Winsize struct {
Row uint16
Col uint16
Xpixel uint16
Ypixel uint16
}
const (
AT_FDCWD = -0x2
AT_REMOVEDIR = 0x80
AT_SYMLINK_FOLLOW = 0x40
AT_SYMLINK_NOFOLLOW = 0x20
)
type PollFd struct {
Fd int32
Events int16
Revents int16
}
const (
POLLERR = 0x8
POLLHUP = 0x10
POLLIN = 0x1
POLLNVAL = 0x20
POLLOUT = 0x4
POLLPRI = 0x2
POLLRDBAND = 0x80
POLLRDNORM = 0x40
POLLWRBAND = 0x100
POLLWRNORM = 0x4
)
type Utsname struct {
Sysname [256]byte
Nodename [256]byte
Release [256]byte
Version [256]byte
Machine [256]byte
}
const SizeofClockinfo = 0x14
type Clockinfo struct {
Hz int32
Tick int32
Tickadj int32
Stathz int32
Profhz int32
}
type CtlInfo struct {
Id uint32
Name [96]byte
}

View File

@ -535,3 +535,107 @@ type CtlInfo struct {
Id uint32 Id uint32
Name [96]byte Name [96]byte
} }
const SizeofKinfoProc = 0x288
type Eproc struct {
Paddr uintptr
Sess uintptr
Pcred Pcred
Ucred Ucred
Vm Vmspace
Ppid int32
Pgid int32
Jobc int16
Tdev int32
Tpgid int32
Tsess uintptr
Wmesg [8]int8
Xsize int32
Xrssize int16
Xccount int16
Xswrss int16
Flag int32
Login [12]int8
Spare [4]int32
_ [4]byte
}
type ExternProc struct {
P_starttime Timeval
P_vmspace *Vmspace
P_sigacts uintptr
P_flag int32
P_stat int8
P_pid int32
P_oppid int32
P_dupfd int32
User_stack *int8
Exit_thread *byte
P_debugger int32
Sigwait int32
P_estcpu uint32
P_cpticks int32
P_pctcpu uint32
P_wchan *byte
P_wmesg *int8
P_swtime uint32
P_slptime uint32
P_realtimer Itimerval
P_rtime Timeval
P_uticks uint64
P_sticks uint64
P_iticks uint64
P_traceflag int32
P_tracep uintptr
P_siglist int32
P_textvp uintptr
P_holdcnt int32
P_sigmask uint32
P_sigignore uint32
P_sigcatch uint32
P_priority uint8
P_usrpri uint8
P_nice int8
P_comm [17]int8
P_pgrp uintptr
P_addr uintptr
P_xstat uint16
P_acflag uint16
P_ru *Rusage
}
type Itimerval struct {
Interval Timeval
Value Timeval
}
type KinfoProc struct {
Proc ExternProc
Eproc Eproc
}
type Vmspace struct {
Dummy int32
Dummy2 *int8
Dummy3 [5]int32
Dummy4 [3]*int8
}
type Pcred struct {
Pc_lock [72]int8
Pc_ucred uintptr
P_ruid uint32
P_svuid uint32
P_rgid uint32
P_svgid uint32
P_refcnt int32
_ [4]byte
}
type Ucred struct {
Ref int32
Uid uint32
Ngroups int16
Groups [16]uint32
}

View File

@ -1,524 +0,0 @@
// cgo -godefs types_darwin.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
//go:build arm && darwin
// +build arm,darwin
package unix
const (
SizeofPtr = 0x4
SizeofShort = 0x2
SizeofInt = 0x4
SizeofLong = 0x4
SizeofLongLong = 0x8
)
type (
_C_short int16
_C_int int32
_C_long int32
_C_long_long int64
)
type Timespec struct {
Sec int32
Nsec int32
}
type Timeval struct {
Sec int32
Usec int32
}
type Timeval32 struct{}
type Rusage struct {
Utime Timeval
Stime Timeval
Maxrss int32
Ixrss int32
Idrss int32
Isrss int32
Minflt int32
Majflt int32
Nswap int32
Inblock int32
Oublock int32
Msgsnd int32
Msgrcv int32
Nsignals int32
Nvcsw int32
Nivcsw int32
}
type Rlimit struct {
Cur uint64
Max uint64
}
type _Gid_t uint32
type Stat_t struct {
Dev int32
Mode uint16
Nlink uint16
Ino uint64
Uid uint32
Gid uint32
Rdev int32
Atim Timespec
Mtim Timespec
Ctim Timespec
Btim Timespec
Size int64
Blocks int64
Blksize int32
Flags uint32
Gen uint32
Lspare int32
Qspare [2]int64
}
type Statfs_t struct {
Bsize uint32
Iosize int32
Blocks uint64
Bfree uint64
Bavail uint64
Files uint64
Ffree uint64
Fsid Fsid
Owner uint32
Type uint32
Flags uint32
Fssubtype uint32
Fstypename [16]byte
Mntonname [1024]byte
Mntfromname [1024]byte
Reserved [8]uint32
}
type Flock_t struct {
Start int64
Len int64
Pid int32
Type int16
Whence int16
}
type Fstore_t struct {
Flags uint32
Posmode int32
Offset int64
Length int64
Bytesalloc int64
}
type Radvisory_t struct {
Offset int64
Count int32
}
type Fbootstraptransfer_t struct {
Offset int64
Length uint32
Buffer *byte
}
type Log2phys_t struct {
Flags uint32
Contigbytes int64
Devoffset int64
}
type Fsid struct {
Val [2]int32
}
type Dirent struct {
Ino uint64
Seekoff uint64
Reclen uint16
Namlen uint16
Type uint8
Name [1024]int8
_ [3]byte
}
const (
PathMax = 0x400
)
type RawSockaddrInet4 struct {
Len uint8
Family uint8
Port uint16
Addr [4]byte /* in_addr */
Zero [8]int8
}
type RawSockaddrInet6 struct {
Len uint8
Family uint8
Port uint16
Flowinfo uint32
Addr [16]byte /* in6_addr */
Scope_id uint32
}
type RawSockaddrUnix struct {
Len uint8
Family uint8
Path [104]int8
}
type RawSockaddrDatalink struct {
Len uint8
Family uint8
Index uint16
Type uint8
Nlen uint8
Alen uint8
Slen uint8
Data [12]int8
}
type RawSockaddr struct {
Len uint8
Family uint8
Data [14]int8
}
type RawSockaddrAny struct {
Addr RawSockaddr
Pad [92]int8
}
type RawSockaddrCtl struct {
Sc_len uint8
Sc_family uint8
Ss_sysaddr uint16
Sc_id uint32
Sc_unit uint32
Sc_reserved [5]uint32
}
type _Socklen uint32
type Linger struct {
Onoff int32
Linger int32
}
type Iovec struct {
Base *byte
Len uint32
}
type IPMreq struct {
Multiaddr [4]byte /* in_addr */
Interface [4]byte /* in_addr */
}
type IPMreqn struct {
Multiaddr [4]byte /* in_addr */
Address [4]byte /* in_addr */
Ifindex int32
}
type IPv6Mreq struct {
Multiaddr [16]byte /* in6_addr */
Interface uint32
}
type Msghdr struct {
Name *byte
Namelen uint32
Iov *Iovec
Iovlen int32
Control *byte
Controllen uint32
Flags int32
}
type Cmsghdr struct {
Len uint32
Level int32
Type int32
}
type Inet4Pktinfo struct {
Ifindex uint32
Spec_dst [4]byte /* in_addr */
Addr [4]byte /* in_addr */
}
type Inet6Pktinfo struct {
Addr [16]byte /* in6_addr */
Ifindex uint32
}
type IPv6MTUInfo struct {
Addr RawSockaddrInet6
Mtu uint32
}
type ICMPv6Filter struct {
Filt [8]uint32
}
const (
SizeofSockaddrInet4 = 0x10
SizeofSockaddrInet6 = 0x1c
SizeofSockaddrAny = 0x6c
SizeofSockaddrUnix = 0x6a
SizeofSockaddrDatalink = 0x14
SizeofSockaddrCtl = 0x20
SizeofLinger = 0x8
SizeofIovec = 0x8
SizeofIPMreq = 0x8
SizeofIPMreqn = 0xc
SizeofIPv6Mreq = 0x14
SizeofMsghdr = 0x1c
SizeofCmsghdr = 0xc
SizeofInet4Pktinfo = 0xc
SizeofInet6Pktinfo = 0x14
SizeofIPv6MTUInfo = 0x20
SizeofICMPv6Filter = 0x20
)
const (
PTRACE_TRACEME = 0x0
PTRACE_CONT = 0x7
PTRACE_KILL = 0x8
)
type Kevent_t struct {
Ident uint32
Filter int16
Flags uint16
Fflags uint32
Data int32
Udata *byte
}
type FdSet struct {
Bits [32]int32
}
const (
SizeofIfMsghdr = 0x70
SizeofIfData = 0x60
SizeofIfaMsghdr = 0x14
SizeofIfmaMsghdr = 0x10
SizeofIfmaMsghdr2 = 0x14
SizeofRtMsghdr = 0x5c
SizeofRtMetrics = 0x38
)
type IfMsghdr struct {
Msglen uint16
Version uint8
Type uint8
Addrs int32
Flags int32
Index uint16
Data IfData
}
type IfData struct {
Type uint8
Typelen uint8
Physical uint8
Addrlen uint8
Hdrlen uint8
Recvquota uint8
Xmitquota uint8
Unused1 uint8
Mtu uint32
Metric uint32
Baudrate uint32
Ipackets uint32
Ierrors uint32
Opackets uint32
Oerrors uint32
Collisions uint32
Ibytes uint32
Obytes uint32
Imcasts uint32
Omcasts uint32
Iqdrops uint32
Noproto uint32
Recvtiming uint32
Xmittiming uint32
Lastchange Timeval
Unused2 uint32
Hwassist uint32
Reserved1 uint32
Reserved2 uint32
}
type IfaMsghdr struct {
Msglen uint16
Version uint8
Type uint8
Addrs int32
Flags int32
Index uint16
Metric int32
}
type IfmaMsghdr struct {
Msglen uint16
Version uint8
Type uint8
Addrs int32
Flags int32
Index uint16
_ [2]byte
}
type IfmaMsghdr2 struct {
Msglen uint16
Version uint8
Type uint8
Addrs int32
Flags int32
Index uint16
Refcount int32
}
type RtMsghdr struct {
Msglen uint16
Version uint8
Type uint8
Index uint16
Flags int32
Addrs int32
Pid int32
Seq int32
Errno int32
Use int32
Inits uint32
Rmx RtMetrics
}
type RtMetrics struct {
Locks uint32
Mtu uint32
Hopcount uint32
Expire int32
Recvpipe uint32
Sendpipe uint32
Ssthresh uint32
Rtt uint32
Rttvar uint32
Pksent uint32
State uint32
Filler [3]uint32
}
const (
SizeofBpfVersion = 0x4
SizeofBpfStat = 0x8
SizeofBpfProgram = 0x8
SizeofBpfInsn = 0x8
SizeofBpfHdr = 0x14
)
type BpfVersion struct {
Major uint16
Minor uint16
}
type BpfStat struct {
Recv uint32
Drop uint32
}
type BpfProgram struct {
Len uint32
Insns *BpfInsn
}
type BpfInsn struct {
Code uint16
Jt uint8
Jf uint8
K uint32
}
type BpfHdr struct {
Tstamp Timeval
Caplen uint32
Datalen uint32
Hdrlen uint16
_ [2]byte
}
type Termios struct {
Iflag uint32
Oflag uint32
Cflag uint32
Lflag uint32
Cc [20]uint8
Ispeed uint32
Ospeed uint32
}
type Winsize struct {
Row uint16
Col uint16
Xpixel uint16
Ypixel uint16
}
const (
AT_FDCWD = -0x2
AT_REMOVEDIR = 0x80
AT_SYMLINK_FOLLOW = 0x40
AT_SYMLINK_NOFOLLOW = 0x20
)
type PollFd struct {
Fd int32
Events int16
Revents int16
}
const (
POLLERR = 0x8
POLLHUP = 0x10
POLLIN = 0x1
POLLNVAL = 0x20
POLLOUT = 0x4
POLLPRI = 0x2
POLLRDBAND = 0x80
POLLRDNORM = 0x40
POLLWRBAND = 0x100
POLLWRNORM = 0x4
)
type Utsname struct {
Sysname [256]byte
Nodename [256]byte
Release [256]byte
Version [256]byte
Machine [256]byte
}
const SizeofClockinfo = 0x14
type Clockinfo struct {
Hz int32
Tick int32
Tickadj int32
Stathz int32
Profhz int32
}
type CtlInfo struct {
Id uint32
Name [96]byte
}

View File

@ -535,3 +535,107 @@ type CtlInfo struct {
Id uint32 Id uint32
Name [96]byte Name [96]byte
} }
const SizeofKinfoProc = 0x288
type Eproc struct {
Paddr uintptr
Sess uintptr
Pcred Pcred
Ucred Ucred
Vm Vmspace
Ppid int32
Pgid int32
Jobc int16
Tdev int32
Tpgid int32
Tsess uintptr
Wmesg [8]int8
Xsize int32
Xrssize int16
Xccount int16
Xswrss int16
Flag int32
Login [12]int8
Spare [4]int32
_ [4]byte
}
type ExternProc struct {
P_starttime Timeval
P_vmspace *Vmspace
P_sigacts uintptr
P_flag int32
P_stat int8
P_pid int32
P_oppid int32
P_dupfd int32
User_stack *int8
Exit_thread *byte
P_debugger int32
Sigwait int32
P_estcpu uint32
P_cpticks int32
P_pctcpu uint32
P_wchan *byte
P_wmesg *int8
P_swtime uint32
P_slptime uint32
P_realtimer Itimerval
P_rtime Timeval
P_uticks uint64
P_sticks uint64
P_iticks uint64
P_traceflag int32
P_tracep uintptr
P_siglist int32
P_textvp uintptr
P_holdcnt int32
P_sigmask uint32
P_sigignore uint32
P_sigcatch uint32
P_priority uint8
P_usrpri uint8
P_nice int8
P_comm [17]int8
P_pgrp uintptr
P_addr uintptr
P_xstat uint16
P_acflag uint16
P_ru *Rusage
}
type Itimerval struct {
Interval Timeval
Value Timeval
}
type KinfoProc struct {
Proc ExternProc
Eproc Eproc
}
type Vmspace struct {
Dummy int32
Dummy2 *int8
Dummy3 [5]int32
Dummy4 [3]*int8
}
type Pcred struct {
Pc_lock [72]int8
Pc_ucred uintptr
P_ruid uint32
P_svuid uint32
P_rgid uint32
P_svgid uint32
P_refcnt int32
_ [4]byte
}
type Ucred struct {
Ref int32
Uid uint32
Ngroups int16
Groups [16]uint32
}

View File

@ -431,6 +431,9 @@ type Winsize struct {
const ( const (
AT_FDCWD = 0xfffafdcd AT_FDCWD = 0xfffafdcd
AT_SYMLINK_NOFOLLOW = 0x1 AT_SYMLINK_NOFOLLOW = 0x1
AT_REMOVEDIR = 0x2
AT_EACCESS = 0x4
AT_SYMLINK_FOLLOW = 0x8
) )
type PollFd struct { type PollFd struct {

Some files were not shown because too many files have changed in this diff Show More