36573 lines
1.4 MiB
36573 lines
1.4 MiB
From eb81f0891f6cd13923e7372f288b938c3f8eea11 Mon Sep 17 00:00:00 2001
|
|
From: Wenlong Zhang <zhangwenlong@loongson.cn>
|
|
Date: Tue, 31 Jan 2023 20:50:23 +0800
|
|
Subject: [PATCH] update vendor for isula-build to support loong64
|
|
|
|
---
|
|
go.mod | 2 +-
|
|
go.sum | 105 +-
|
|
.../image/v5/pkg/docker/config/config.go | 7 +
|
|
.../containers/storage/pkg/archive/archive.go | 2 +-
|
|
.../generate/seccomp/seccomp_default.go | 1 -
|
|
.../selinux/go-selinux/selinux_linux.go | 2 -
|
|
.../selinux/go-selinux/selinux_stub.go | 2 +-
|
|
vendor/golang.org/x/sys/AUTHORS | 3 -
|
|
vendor/golang.org/x/sys/CONTRIBUTORS | 3 -
|
|
vendor/golang.org/x/sys/execabs/execabs.go | 2 +-
|
|
.../golang.org/x/sys/execabs/execabs_go118.go | 12 +
|
|
.../golang.org/x/sys/execabs/execabs_go119.go | 15 +
|
|
vendor/golang.org/x/sys/plan9/syscall.go | 10 +-
|
|
.../golang.org/x/sys/plan9/syscall_plan9.go | 16 +-
|
|
.../golang.org/x/sys/unix/asm_bsd_riscv64.s | 29 +
|
|
.../golang.org/x/sys/unix/asm_linux_loong64.s | 54 +
|
|
vendor/golang.org/x/sys/unix/endian_little.go | 4 +-
|
|
.../x/sys/unix/errors_freebsd_386.go | 233 --
|
|
.../x/sys/unix/errors_freebsd_amd64.go | 233 --
|
|
.../x/sys/unix/errors_freebsd_arm.go | 226 --
|
|
.../x/sys/unix/errors_freebsd_arm64.go | 17 -
|
|
vendor/golang.org/x/sys/unix/ifreq_linux.go | 9 +-
|
|
vendor/golang.org/x/sys/unix/ioctl_linux.go | 43 +-
|
|
vendor/golang.org/x/sys/unix/mkall.sh | 35 +-
|
|
vendor/golang.org/x/sys/unix/mkerrors.sh | 19 +-
|
|
vendor/golang.org/x/sys/unix/str.go | 27 -
|
|
vendor/golang.org/x/sys/unix/syscall_aix.go | 81 +-
|
|
vendor/golang.org/x/sys/unix/syscall_bsd.go | 77 +-
|
|
.../golang.org/x/sys/unix/syscall_darwin.go | 60 +-
|
|
.../x/sys/unix/syscall_dragonfly.go | 21 +-
|
|
.../golang.org/x/sys/unix/syscall_freebsd.go | 342 +--
|
|
.../x/sys/unix/syscall_freebsd_386.go | 6 +-
|
|
.../x/sys/unix/syscall_freebsd_amd64.go | 6 +-
|
|
.../x/sys/unix/syscall_freebsd_arm.go | 4 +-
|
|
.../x/sys/unix/syscall_freebsd_arm64.go | 4 +-
|
|
.../x/sys/unix/syscall_freebsd_riscv64.go | 63 +
|
|
.../golang.org/x/sys/unix/syscall_illumos.go | 5 +-
|
|
vendor/golang.org/x/sys/unix/syscall_linux.go | 281 ++-
|
|
.../x/sys/unix/syscall_linux_386.go | 16 +-
|
|
.../x/sys/unix/syscall_linux_alarm.go | 14 +
|
|
.../x/sys/unix/syscall_linux_amd64.go | 10 +-
|
|
.../x/sys/unix/syscall_linux_arm.go | 9 +-
|
|
.../x/sys/unix/syscall_linux_arm64.go | 10 +-
|
|
.../x/sys/unix/syscall_linux_loong64.go | 222 ++
|
|
.../x/sys/unix/syscall_linux_mips64x.go | 9 +-
|
|
.../x/sys/unix/syscall_linux_mipsx.go | 9 +-
|
|
.../x/sys/unix/syscall_linux_ppc.go | 9 +-
|
|
.../x/sys/unix/syscall_linux_ppc64x.go | 9 +-
|
|
.../x/sys/unix/syscall_linux_riscv64.go | 10 +-
|
|
.../x/sys/unix/syscall_linux_s390x.go | 17 +-
|
|
.../x/sys/unix/syscall_linux_sparc64.go | 9 +-
|
|
.../golang.org/x/sys/unix/syscall_netbsd.go | 23 +-
|
|
.../golang.org/x/sys/unix/syscall_openbsd.go | 17 +-
|
|
.../x/sys/unix/syscall_openbsd_libc.go | 27 +
|
|
.../x/sys/unix/syscall_openbsd_mips64.go | 4 +
|
|
.../golang.org/x/sys/unix/syscall_solaris.go | 268 +-
|
|
vendor/golang.org/x/sys/unix/syscall_unix.go | 121 +
|
|
.../x/sys/unix/syscall_zos_s390x.go | 6 +-
|
|
.../x/sys/unix/zerrors_freebsd_386.go | 109 +-
|
|
.../x/sys/unix/zerrors_freebsd_amd64.go | 107 +-
|
|
.../x/sys/unix/zerrors_freebsd_arm.go | 220 +-
|
|
.../x/sys/unix/zerrors_freebsd_arm64.go | 100 +-
|
|
.../x/sys/unix/zerrors_freebsd_riscv64.go | 2148 +++++++++++++++++
|
|
vendor/golang.org/x/sys/unix/zerrors_linux.go | 468 +++-
|
|
.../x/sys/unix/zerrors_linux_386.go | 9 +-
|
|
.../x/sys/unix/zerrors_linux_amd64.go | 9 +-
|
|
.../x/sys/unix/zerrors_linux_arm.go | 9 +-
|
|
.../x/sys/unix/zerrors_linux_arm64.go | 10 +-
|
|
.../x/sys/unix/zerrors_linux_loong64.go | 818 +++++++
|
|
.../x/sys/unix/zerrors_linux_mips.go | 9 +-
|
|
.../x/sys/unix/zerrors_linux_mips64.go | 9 +-
|
|
.../x/sys/unix/zerrors_linux_mips64le.go | 9 +-
|
|
.../x/sys/unix/zerrors_linux_mipsle.go | 9 +-
|
|
.../x/sys/unix/zerrors_linux_ppc.go | 9 +-
|
|
.../x/sys/unix/zerrors_linux_ppc64.go | 9 +-
|
|
.../x/sys/unix/zerrors_linux_ppc64le.go | 9 +-
|
|
.../x/sys/unix/zerrors_linux_riscv64.go | 9 +-
|
|
.../x/sys/unix/zerrors_linux_s390x.go | 9 +-
|
|
.../x/sys/unix/zerrors_linux_sparc64.go | 9 +-
|
|
.../golang.org/x/sys/unix/zsyscall_aix_ppc.go | 4 +-
|
|
.../x/sys/unix/zsyscall_aix_ppc64.go | 4 +-
|
|
.../x/sys/unix/zsyscall_darwin_amd64.1_13.s | 2 +-
|
|
.../x/sys/unix/zsyscall_darwin_amd64.go | 41 +-
|
|
.../x/sys/unix/zsyscall_darwin_amd64.s | 16 +-
|
|
.../x/sys/unix/zsyscall_darwin_arm64.1_13.s | 2 +-
|
|
.../x/sys/unix/zsyscall_darwin_arm64.go | 41 +-
|
|
.../x/sys/unix/zsyscall_darwin_arm64.s | 16 +-
|
|
.../x/sys/unix/zsyscall_freebsd_386.go | 145 +-
|
|
.../x/sys/unix/zsyscall_freebsd_amd64.go | 143 +-
|
|
.../x/sys/unix/zsyscall_freebsd_arm.go | 177 +-
|
|
.../x/sys/unix/zsyscall_freebsd_arm64.go | 143 +-
|
|
.../x/sys/unix/zsyscall_freebsd_riscv64.go | 1889 +++++++++++++++
|
|
.../golang.org/x/sys/unix/zsyscall_linux.go | 119 +
|
|
.../x/sys/unix/zsyscall_linux_386.go | 57 +-
|
|
.../x/sys/unix/zsyscall_linux_amd64.go | 79 +-
|
|
.../x/sys/unix/zsyscall_linux_arm.go | 55 +-
|
|
.../x/sys/unix/zsyscall_linux_arm64.go | 66 +-
|
|
.../x/sys/unix/zsyscall_linux_loong64.go | 487 ++++
|
|
.../x/sys/unix/zsyscall_linux_mips.go | 68 +-
|
|
.../x/sys/unix/zsyscall_linux_mips64.go | 68 +-
|
|
.../x/sys/unix/zsyscall_linux_mips64le.go | 55 +-
|
|
.../x/sys/unix/zsyscall_linux_mipsle.go | 68 +-
|
|
.../x/sys/unix/zsyscall_linux_ppc.go | 68 +-
|
|
.../x/sys/unix/zsyscall_linux_ppc64.go | 68 +-
|
|
.../x/sys/unix/zsyscall_linux_ppc64le.go | 68 +-
|
|
.../x/sys/unix/zsyscall_linux_riscv64.go | 66 +-
|
|
.../x/sys/unix/zsyscall_linux_s390x.go | 57 +-
|
|
.../x/sys/unix/zsyscall_linux_sparc64.go | 68 +-
|
|
.../x/sys/unix/zsyscall_netbsd_386.go | 16 +-
|
|
.../x/sys/unix/zsyscall_netbsd_amd64.go | 16 +-
|
|
.../x/sys/unix/zsyscall_netbsd_arm.go | 16 +-
|
|
.../x/sys/unix/zsyscall_netbsd_arm64.go | 16 +-
|
|
.../x/sys/unix/zsyscall_openbsd_386.go | 802 ++++--
|
|
.../x/sys/unix/zsyscall_openbsd_386.s | 796 ++++++
|
|
.../x/sys/unix/zsyscall_openbsd_amd64.go | 802 ++++--
|
|
.../x/sys/unix/zsyscall_openbsd_amd64.s | 796 ++++++
|
|
.../x/sys/unix/zsyscall_openbsd_arm.go | 802 ++++--
|
|
.../x/sys/unix/zsyscall_openbsd_arm.s | 796 ++++++
|
|
.../x/sys/unix/zsyscall_openbsd_arm64.go | 802 ++++--
|
|
.../x/sys/unix/zsyscall_openbsd_arm64.s | 796 ++++++
|
|
.../x/sys/unix/zsyscall_openbsd_mips64.go | 4 +-
|
|
.../x/sys/unix/zsyscall_solaris_amd64.go | 30 +-
|
|
.../x/sys/unix/zsysnum_freebsd_386.go | 107 +-
|
|
.../x/sys/unix/zsysnum_freebsd_amd64.go | 107 +-
|
|
.../x/sys/unix/zsysnum_freebsd_arm.go | 107 +-
|
|
.../x/sys/unix/zsysnum_freebsd_arm64.go | 107 +-
|
|
.../x/sys/unix/zsysnum_freebsd_riscv64.go | 394 +++
|
|
.../x/sys/unix/zsysnum_linux_386.go | 4 +-
|
|
.../x/sys/unix/zsysnum_linux_amd64.go | 4 +-
|
|
.../x/sys/unix/zsysnum_linux_arm.go | 4 +-
|
|
.../x/sys/unix/zsysnum_linux_arm64.go | 4 +-
|
|
.../x/sys/unix/zsysnum_linux_loong64.go | 311 +++
|
|
.../x/sys/unix/zsysnum_linux_mips.go | 4 +-
|
|
.../x/sys/unix/zsysnum_linux_mips64.go | 4 +-
|
|
.../x/sys/unix/zsysnum_linux_mips64le.go | 4 +-
|
|
.../x/sys/unix/zsysnum_linux_mipsle.go | 4 +-
|
|
.../x/sys/unix/zsysnum_linux_ppc.go | 4 +-
|
|
.../x/sys/unix/zsysnum_linux_ppc64.go | 4 +-
|
|
.../x/sys/unix/zsysnum_linux_ppc64le.go | 4 +-
|
|
.../x/sys/unix/zsysnum_linux_riscv64.go | 5 +-
|
|
.../x/sys/unix/zsysnum_linux_s390x.go | 4 +-
|
|
.../x/sys/unix/zsysnum_linux_sparc64.go | 4 +-
|
|
.../x/sys/unix/zsysnum_openbsd_386.go | 1 +
|
|
.../x/sys/unix/zsysnum_openbsd_amd64.go | 1 +
|
|
.../x/sys/unix/zsysnum_openbsd_arm.go | 1 +
|
|
.../x/sys/unix/zsysnum_openbsd_arm64.go | 1 +
|
|
.../x/sys/unix/ztypes_darwin_amd64.go | 73 +-
|
|
.../x/sys/unix/ztypes_darwin_arm64.go | 73 +-
|
|
.../x/sys/unix/ztypes_freebsd_386.go | 114 +-
|
|
.../x/sys/unix/ztypes_freebsd_amd64.go | 112 +-
|
|
.../x/sys/unix/ztypes_freebsd_arm.go | 163 +-
|
|
.../x/sys/unix/ztypes_freebsd_arm64.go | 110 +-
|
|
.../x/sys/unix/ztypes_freebsd_riscv64.go | 638 +++++
|
|
vendor/golang.org/x/sys/unix/ztypes_linux.go | 1655 ++++++++++++-
|
|
.../golang.org/x/sys/unix/ztypes_linux_386.go | 22 +-
|
|
.../x/sys/unix/ztypes_linux_amd64.go | 22 +-
|
|
.../golang.org/x/sys/unix/ztypes_linux_arm.go | 22 +-
|
|
.../x/sys/unix/ztypes_linux_arm64.go | 22 +-
|
|
.../x/sys/unix/ztypes_linux_loong64.go | 685 ++++++
|
|
.../x/sys/unix/ztypes_linux_mips.go | 22 +-
|
|
.../x/sys/unix/ztypes_linux_mips64.go | 22 +-
|
|
.../x/sys/unix/ztypes_linux_mips64le.go | 22 +-
|
|
.../x/sys/unix/ztypes_linux_mipsle.go | 22 +-
|
|
.../golang.org/x/sys/unix/ztypes_linux_ppc.go | 22 +-
|
|
.../x/sys/unix/ztypes_linux_ppc64.go | 22 +-
|
|
.../x/sys/unix/ztypes_linux_ppc64le.go | 22 +-
|
|
.../x/sys/unix/ztypes_linux_riscv64.go | 22 +-
|
|
.../x/sys/unix/ztypes_linux_s390x.go | 26 +-
|
|
.../x/sys/unix/ztypes_linux_sparc64.go | 22 +-
|
|
.../x/sys/unix/ztypes_openbsd_386.go | 8 +-
|
|
.../x/sys/unix/ztypes_openbsd_amd64.go | 8 +-
|
|
.../x/sys/unix/ztypes_openbsd_arm.go | 8 +-
|
|
.../x/sys/unix/ztypes_openbsd_arm64.go | 8 +-
|
|
.../x/sys/unix/ztypes_openbsd_mips64.go | 8 +-
|
|
.../x/sys/unix/ztypes_solaris_amd64.go | 2 +-
|
|
.../golang.org/x/sys/windows/exec_windows.go | 47 +-
|
|
.../x/sys/windows/setupapi_windows.go | 2 +-
|
|
.../x/sys/windows/syscall_windows.go | 151 +-
|
|
.../golang.org/x/sys/windows/types_windows.go | 141 +-
|
|
.../x/sys/windows/zsyscall_windows.go | 54 +-
|
|
vendor/modules.txt | 2 +-
|
|
181 files changed, 18716 insertions(+), 4459 deletions(-)
|
|
delete mode 100644 vendor/golang.org/x/sys/AUTHORS
|
|
delete mode 100644 vendor/golang.org/x/sys/CONTRIBUTORS
|
|
create mode 100644 vendor/golang.org/x/sys/execabs/execabs_go118.go
|
|
create mode 100644 vendor/golang.org/x/sys/execabs/execabs_go119.go
|
|
create mode 100644 vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s
|
|
create mode 100644 vendor/golang.org/x/sys/unix/asm_linux_loong64.s
|
|
delete mode 100644 vendor/golang.org/x/sys/unix/errors_freebsd_386.go
|
|
delete mode 100644 vendor/golang.org/x/sys/unix/errors_freebsd_amd64.go
|
|
delete mode 100644 vendor/golang.org/x/sys/unix/errors_freebsd_arm.go
|
|
delete mode 100644 vendor/golang.org/x/sys/unix/errors_freebsd_arm64.go
|
|
delete mode 100644 vendor/golang.org/x/sys/unix/str.go
|
|
create mode 100644 vendor/golang.org/x/sys/unix/syscall_freebsd_riscv64.go
|
|
create mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_alarm.go
|
|
create mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_loong64.go
|
|
create mode 100644 vendor/golang.org/x/sys/unix/syscall_openbsd_libc.go
|
|
create mode 100644 vendor/golang.org/x/sys/unix/zerrors_freebsd_riscv64.go
|
|
create mode 100644 vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go
|
|
create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_freebsd_riscv64.go
|
|
create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_linux_loong64.go
|
|
create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s
|
|
create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s
|
|
create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s
|
|
create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s
|
|
create mode 100644 vendor/golang.org/x/sys/unix/zsysnum_freebsd_riscv64.go
|
|
create mode 100644 vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go
|
|
create mode 100644 vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go
|
|
create mode 100644 vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go
|
|
|
|
diff --git a/go.mod b/go.mod
|
|
index 03f8f06..468293c 100644
|
|
--- a/go.mod
|
|
+++ b/go.mod
|
|
@@ -32,7 +32,7 @@ require (
|
|
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
|
|
golang.org/x/crypto v0.0.0-20211117183948-ae814b36b871 // indirect
|
|
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
|
|
- golang.org/x/sys v0.0.0-20211124211545-fe61309f8881
|
|
+ golang.org/x/sys v0.0.0-20220908164124-27713097b956
|
|
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1
|
|
google.golang.org/grpc v1.42.0
|
|
gotest.tools/v3 v3.0.3
|
|
diff --git a/go.sum b/go.sum
|
|
index 068ab67..552b6d6 100644
|
|
--- a/go.sum
|
|
+++ b/go.sum
|
|
@@ -53,7 +53,6 @@ github.com/Azure/go-autorest/autorest/mocks v0.4.0/go.mod h1:LTp+uSrOhSkaKrUy935
|
|
github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k=
|
|
github.com/Azure/go-autorest/logger v0.2.0/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8=
|
|
github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU=
|
|
-github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
|
|
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
|
|
github.com/BurntSushi/toml v0.4.1 h1:GaI7EiDXDRfa8VshkTj7Fym7ha+y8/XxIgD2okUIjLw=
|
|
github.com/BurntSushi/toml v0.4.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
|
|
@@ -61,20 +60,17 @@ github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym
|
|
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0=
|
|
github.com/Microsoft/go-winio v0.4.11/go.mod h1:VhR8bwka0BXejwEJY73c50VrPtXAaKcyvVC4A4RozmA=
|
|
github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA=
|
|
-github.com/Microsoft/go-winio v0.4.15-0.20190919025122-fc70bd9a86b5 h1:ygIc8M6trr62pF5DucadTWGdEB4mEyvzi0e2nbcmcyA=
|
|
github.com/Microsoft/go-winio v0.4.15-0.20190919025122-fc70bd9a86b5/go.mod h1:tTuCMEN+UleMWgg9dVx4Hu52b1bJo+59jBh3ajtinzw=
|
|
github.com/Microsoft/go-winio v0.4.16-0.20201130162521-d1ffc52c7331/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugXOPRXwdLnMv0=
|
|
github.com/Microsoft/go-winio v0.4.16/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugXOPRXwdLnMv0=
|
|
github.com/Microsoft/go-winio v0.4.17-0.20210211115548-6eac466e5fa3/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84=
|
|
github.com/Microsoft/go-winio v0.4.17-0.20210324224401-5516f17a5958/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84=
|
|
-github.com/Microsoft/go-winio v0.4.17 h1:iT12IBVClFevaf8PuVyi3UmZOVh4OqnaLxDTW2O6j3w=
|
|
github.com/Microsoft/go-winio v0.4.17/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84=
|
|
github.com/Microsoft/go-winio v0.5.0 h1:Elr9Wn+sGKPlkaBvwu4mTrxtmOp3F3yV9qhaHbXGjwU=
|
|
github.com/Microsoft/go-winio v0.5.0/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84=
|
|
github.com/Microsoft/hcsshim v0.8.6/go.mod h1:Op3hHsoHPAvb6lceZHDtd9OkTew38wNoXnJs8iY7rUg=
|
|
github.com/Microsoft/hcsshim v0.8.7-0.20190325164909-8abdbb8205e4/go.mod h1:Op3hHsoHPAvb6lceZHDtd9OkTew38wNoXnJs8iY7rUg=
|
|
github.com/Microsoft/hcsshim v0.8.7/go.mod h1:OHd7sQqRFrYd3RmSgbgji+ctCwkbq2wbEYNSzOYtcBQ=
|
|
-github.com/Microsoft/hcsshim v0.8.9 h1:VrfodqvztU8YSOvygU+DN1BGaSGxmrNfqOv5oOuX2Bk=
|
|
github.com/Microsoft/hcsshim v0.8.9/go.mod h1:5692vkUqntj1idxauYlpoINNKeqCiG6Sg38RRsjT5y8=
|
|
github.com/Microsoft/hcsshim v0.8.14/go.mod h1:NtVKoYxQuTLx6gEq0L96c9Ju4JbRJ4nY2ow3VK6a9Lg=
|
|
github.com/Microsoft/hcsshim v0.8.15/go.mod h1:x38A4YbHbdxJtc0sF6oIz+RG0npwSCAvn69iY6URG00=
|
|
@@ -124,7 +120,6 @@ github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
|
|
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
|
|
github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs=
|
|
github.com/bitly/go-simplejson v0.5.0/go.mod h1:cXHtHw4XUPsvGaxgjIAn8PhEWG9NfngEKAMDJEczWVA=
|
|
-github.com/bits-and-blooms/bitset v1.2.0 h1:Kn4yilvwNtMACtf1eYDlG8H77R07mZSPbMjLyS07ChA=
|
|
github.com/bits-and-blooms/bitset v1.2.0/go.mod h1:gIdJ4wp64HaoK2YrL1Q5/N7Y16edYb8uY+O0FJTyyDA=
|
|
github.com/bketelsen/crypt v0.0.4/go.mod h1:aI6NrJ0pMGgvZKL1iVgXLnfIFJtfV+bKCoqOes/6LfM=
|
|
github.com/blang/semver v3.1.0+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk=
|
|
@@ -177,16 +172,13 @@ github.com/containerd/btrfs v0.0.0-20201111183144-404b9149801e/go.mod h1:jg2QkJc
|
|
github.com/containerd/btrfs v0.0.0-20210316141732-918d888fb676/go.mod h1:zMcX3qkXTAi9GI50+0HOeuV8LU2ryCE/V2vG/ZBiTss=
|
|
github.com/containerd/btrfs v1.0.0/go.mod h1:zMcX3qkXTAi9GI50+0HOeuV8LU2ryCE/V2vG/ZBiTss=
|
|
github.com/containerd/cgroups v0.0.0-20190717030353-c4b9ac5c7601/go.mod h1:X9rLEHIqSf/wfK8NsPqxJmeZgW4pcfzdXITDrUSJ6uI=
|
|
-github.com/containerd/cgroups v0.0.0-20190919134610-bf292b21730f h1:tSNMc+rJDfmYntojat8lljbt1mgKNpTxUZJsSzJ9Y1s=
|
|
github.com/containerd/cgroups v0.0.0-20190919134610-bf292b21730f/go.mod h1:OApqhQ4XNSNC13gXIwDjhOQxjWa/NxkwZXJ1EvqT0ko=
|
|
github.com/containerd/cgroups v0.0.0-20200531161412-0dbf7f05ba59/go.mod h1:pA0z1pT8KYB3TCXK/ocprsh7MAkoW8bZVzPdih9snmM=
|
|
-github.com/containerd/cgroups v0.0.0-20200710171044-318312a37340 h1:9atoWyI9RtXFwf7UDbme/6M8Ud0rFrx+Q3ZWgSnsxtw=
|
|
github.com/containerd/cgroups v0.0.0-20200710171044-318312a37340/go.mod h1:s5q4SojHctfxANBDvMeIaIovkq29IP48TKAxnhYRxvo=
|
|
github.com/containerd/cgroups v0.0.0-20200824123100-0b889c03f102/go.mod h1:s5q4SojHctfxANBDvMeIaIovkq29IP48TKAxnhYRxvo=
|
|
github.com/containerd/cgroups v0.0.0-20210114181951-8a68de567b68/go.mod h1:ZJeTFisyysqgcCdecO57Dj79RfL0LNeGiFUqLYQRYLE=
|
|
github.com/containerd/cgroups v1.0.1 h1:iJnMvco9XGvKUvNQkv88bE4uJXxRQH18efbKo9w5vHQ=
|
|
github.com/containerd/cgroups v1.0.1/go.mod h1:0SJrPIenamHDcZhEcJMNBB85rHcUsw4f25ZfBiPYRkU=
|
|
-github.com/containerd/console v0.0.0-20180822173158-c12b1e7919c1 h1:uict5mhHFTzKLUCufdSLym7z/J0CbBJT59lYbP9wtbg=
|
|
github.com/containerd/console v0.0.0-20180822173158-c12b1e7919c1/go.mod h1:Tj/on1eG8kiEhd0+fhSDzsPAFESxzBBvdyEgyryXffw=
|
|
github.com/containerd/console v0.0.0-20181022165439-0650fd9eeb50/go.mod h1:Tj/on1eG8kiEhd0+fhSDzsPAFESxzBBvdyEgyryXffw=
|
|
github.com/containerd/console v0.0.0-20191206165004-02ecf6a7291e/go.mod h1:8Pf4gM6VEbTNRIT26AyyU7hxdQU3MvAvxVI0sc00XBE=
|
|
@@ -210,11 +202,9 @@ github.com/containerd/containerd v1.5.1/go.mod h1:0DOxVqwDy2iZvrZp2JUx/E+hS0UNTV
|
|
github.com/containerd/containerd v1.5.7/go.mod h1:gyvv6+ugqY25TiXxcZC3L5yOeYgEw0QMhscqVp1AR9c=
|
|
github.com/containerd/containerd v1.5.8 h1:NmkCC1/QxyZFBny8JogwLpOy2f+VEbO/f6bV2Mqtwuw=
|
|
github.com/containerd/containerd v1.5.8/go.mod h1:YdFSv5bTFLpG2HIYmfqDpSYYTDX+mc5qtSuYx1YUb/s=
|
|
-github.com/containerd/continuity v0.0.0-20190426062206-aaeac12a7ffc h1:TP+534wVlf61smEIq1nwLLAjQVEK2EADoW3CX9AuT+8=
|
|
github.com/containerd/continuity v0.0.0-20190426062206-aaeac12a7ffc/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y=
|
|
github.com/containerd/continuity v0.0.0-20190815185530-f2a389ac0a02/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y=
|
|
github.com/containerd/continuity v0.0.0-20191127005431-f65d91d395eb/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y=
|
|
-github.com/containerd/continuity v0.0.0-20200710164510-efbc4488d8fe h1:PEmIrUvwG9Yyv+0WKZqjXfSFDeZjs/q15g0m08BYS9k=
|
|
github.com/containerd/continuity v0.0.0-20200710164510-efbc4488d8fe/go.mod h1:cECdGN1O8G9bgKTlLhuPJimka6Xb/Gg7vYzCTNVxhvo=
|
|
github.com/containerd/continuity v0.0.0-20201208142359-180525291bb7/go.mod h1:kR3BEg7bDFaEddKm54WSmrol1fKWDU1nKYkgrcgZT7Y=
|
|
github.com/containerd/continuity v0.0.0-20210208174643-50096c924a4e/go.mod h1:EXlVlkqNba9rJe3j7w3Xa924itAMLgZH4UD/Q4PExuQ=
|
|
@@ -225,11 +215,9 @@ github.com/containerd/fifo v0.0.0-20190226154929-a9fb20d87448/go.mod h1:ODA38xgv
|
|
github.com/containerd/fifo v0.0.0-20200410184934-f15a3290365b/go.mod h1:jPQ2IAeZRCYxpS/Cm1495vGFww6ecHmMk1YJH2Q5ln0=
|
|
github.com/containerd/fifo v0.0.0-20201026212402-0724c46b320c/go.mod h1:jPQ2IAeZRCYxpS/Cm1495vGFww6ecHmMk1YJH2Q5ln0=
|
|
github.com/containerd/fifo v0.0.0-20210316144830-115abcc95a1d/go.mod h1:ocF/ME1SX5b1AOlWi9r677YJmCPSwwWnQ9O123vzpE4=
|
|
-github.com/containerd/fifo v1.0.0 h1:6PirWBr9/L7GDamKr+XM0IeUFXu5mf3M/BPpH9gaLBU=
|
|
github.com/containerd/fifo v1.0.0/go.mod h1:ocF/ME1SX5b1AOlWi9r677YJmCPSwwWnQ9O123vzpE4=
|
|
github.com/containerd/go-cni v1.0.1/go.mod h1:+vUpYxKvAF72G9i1WoDOiPGRtQpqsNW/ZHtSlv++smU=
|
|
github.com/containerd/go-cni v1.0.2/go.mod h1:nrNABBHzu0ZwCug9Ije8hL2xBCYh/pjfMb1aZGrrohk=
|
|
-github.com/containerd/go-runc v0.0.0-20180907222934-5a6d9f37cfa3 h1:esQOJREg8nw8aXj6uCN5dfW5cKUBiEJ/+nni1Q/D/sw=
|
|
github.com/containerd/go-runc v0.0.0-20180907222934-5a6d9f37cfa3/go.mod h1:IV7qH3hrUgRmyYrtgEeGWJfWbgcHL9CSRruz2Vqcph0=
|
|
github.com/containerd/go-runc v0.0.0-20190911050354-e029b79d8cda/go.mod h1:IV7qH3hrUgRmyYrtgEeGWJfWbgcHL9CSRruz2Vqcph0=
|
|
github.com/containerd/go-runc v0.0.0-20200220073739-7016d3ce2328/go.mod h1:PpyHrqVs8FTi9vpyHwPwiNEGaACDxT/N/pLcvMSRA9g=
|
|
@@ -250,12 +238,10 @@ github.com/containerd/ttrpc v0.0.0-20190828172938-92c8520ef9f8/go.mod h1:PvCDdDG
|
|
github.com/containerd/ttrpc v0.0.0-20191028202541-4f1b8fe65a5c/go.mod h1:LPm1u0xBw8r8NOKoOdNMeVHSawSsltak+Ihv+etqsE8=
|
|
github.com/containerd/ttrpc v1.0.1/go.mod h1:UAxOpgT9ziI0gJrmKvgcZivgxOp8iFPSk8httJEt98Y=
|
|
github.com/containerd/ttrpc v1.0.2/go.mod h1:UAxOpgT9ziI0gJrmKvgcZivgxOp8iFPSk8httJEt98Y=
|
|
-github.com/containerd/ttrpc v1.1.0 h1:GbtyLRxb0gOLR0TYQWt3O6B0NvT8tMdorEHqIQo/lWI=
|
|
github.com/containerd/ttrpc v1.1.0/go.mod h1:XX4ZTnoOId4HklF4edwc4DcqskFZuvXB1Evzy5KFQpQ=
|
|
github.com/containerd/typeurl v0.0.0-20180627222232-a93fcdb778cd/go.mod h1:Cm3kwCdlkCfMSHURc+r6fwoGH6/F1hH3S4sg0rLFWPc=
|
|
github.com/containerd/typeurl v0.0.0-20190911142611-5eb25027c9fd/go.mod h1:GeKYzf2pQcqv7tJ0AoCuuhtnqhva5LNU3U+OyKxxJpk=
|
|
github.com/containerd/typeurl v1.0.1/go.mod h1:TB1hUtrpaiO88KEK56ijojHS1+NeF0izUACaJW2mdXg=
|
|
-github.com/containerd/typeurl v1.0.2 h1:Chlt8zIieDbzQFzXzAeBEF92KhExuE4p9p92/QmY7aY=
|
|
github.com/containerd/typeurl v1.0.2/go.mod h1:9trJWW2sRlGub4wZJRTW83VtbOLS6hwcDZXTn6oPz9s=
|
|
github.com/containerd/zfs v0.0.0-20200918131355-0a33824f23a2/go.mod h1:8IgZOBdv8fAgXddBT4dBXJPtxyRsejFIpXoklgxgEjw=
|
|
github.com/containerd/zfs v0.0.0-20210301145711-11e8f1707f62/go.mod h1:A9zfAbMlQwE+/is6hi0Xw8ktpL+6glmqZYtevJgaB8Y=
|
|
@@ -269,7 +255,6 @@ github.com/containernetworking/plugins v0.8.6/go.mod h1:qnw5mN19D8fIwkqW7oHHYDHV
|
|
github.com/containernetworking/plugins v0.9.1/go.mod h1:xP/idU2ldlzN6m4p5LmGiwRDjeJr6FLK6vuiUwoH7P8=
|
|
github.com/containers/image/v5 v5.17.0 h1:KS5pro80CCsSp5qDBTMmSAWQo+xcBX19zUPExmYX2OQ=
|
|
github.com/containers/image/v5 v5.17.0/go.mod h1:GnYVusVRFPMMTAAUkrcS8NNSpBp8oyrjOUe04AAmRr4=
|
|
-github.com/containers/libtrust v0.0.0-20190913040956-14b96171aa3b h1:Q8ePgVfHDplZ7U33NwHZkrVELsZP5fYj9pM5WBZB2GE=
|
|
github.com/containers/libtrust v0.0.0-20190913040956-14b96171aa3b/go.mod h1:9rfv8iPl1ZP7aqh9YA68wnZv2NUDbXdcdPHVz0pFbPY=
|
|
github.com/containers/libtrust v0.0.0-20200511145503-9c3a6c22cd9a h1:spAGlqziZjCJL25C6F1zsQY05tfCKE9F5YwtEWWe6hU=
|
|
github.com/containers/libtrust v0.0.0-20200511145503-9c3a6c22cd9a/go.mod h1:9rfv8iPl1ZP7aqh9YA68wnZv2NUDbXdcdPHVz0pFbPY=
|
|
@@ -302,7 +287,6 @@ github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsr
|
|
github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY=
|
|
github.com/creack/pty v1.1.11 h1:07n33Z8lZxZ2qwegKbObQohDhXDQxiMMz1NOUGYlesw=
|
|
github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
|
|
-github.com/cyphar/filepath-securejoin v0.2.2 h1:jCwT2GTP+PY5nBz3c/YL5PAIbusElVrPujOBSCj8xRg=
|
|
github.com/cyphar/filepath-securejoin v0.2.2/go.mod h1:FpkQEhXnPnOthhzymB7CGsFk2G9VLXONKD9G7QGMM+4=
|
|
github.com/cyphar/filepath-securejoin v0.2.3 h1:YX6ebbZCZP7VkM3scTTokDgBL2TY741X51MTk3ycuNI=
|
|
github.com/cyphar/filepath-securejoin v0.2.3/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4=
|
|
@@ -330,7 +314,6 @@ github.com/docker/docker-credential-helpers v0.6.4/go.mod h1:ofX3UI0Gz1TteYBjtgs
|
|
github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ=
|
|
github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec=
|
|
github.com/docker/go-events v0.0.0-20170721190031-9461782956ad/go.mod h1:Uw6UezgYA44ePAFQYUehOuCzmy5zmg/+nl2ZfMWGkpA=
|
|
-github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c h1:+pKlWGMw7gf6bQ+oDZB4KHQFypsfjYlq/C4rfL7D3g8=
|
|
github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c/go.mod h1:Uw6UezgYA44ePAFQYUehOuCzmy5zmg/+nl2ZfMWGkpA=
|
|
github.com/docker/go-metrics v0.0.0-20180209012529-399ea8c73916/go.mod h1:/u0gXw0Gay3ceNrsHubL3BtdOL2fHf93USgMTe0W5dI=
|
|
github.com/docker/go-metrics v0.0.1 h1:AgB/0SvBxihN0X8OR4SjsblXkbMvalQ8cjmtKQ2rQV8=
|
|
@@ -369,7 +352,6 @@ github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoD
|
|
github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVBjqR7JHJk0brhHOZYGmfBYOrK0ZhYMEtBr4=
|
|
github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2rbfLwlschooIH4+wKKDR4Pdxhh+TRoA20=
|
|
github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k=
|
|
-github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I=
|
|
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
|
|
github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ=
|
|
github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa/go.mod h1:KnogPXtdwXqoenmZCw6S+25EAm2MkxbG0deNDu4cbSA=
|
|
@@ -400,7 +382,6 @@ github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG
|
|
github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
|
|
github.com/godbus/dbus v0.0.0-20151105175453-c7fdd8b5cd55/go.mod h1:/YcGZj5zSblfDWMMoOzV4fas9FZnQYTkDnsGvmh2Grw=
|
|
github.com/godbus/dbus v0.0.0-20180201030542-885f9cc04c9c/go.mod h1:/YcGZj5zSblfDWMMoOzV4fas9FZnQYTkDnsGvmh2Grw=
|
|
-github.com/godbus/dbus v0.0.0-20190422162347-ade71ed3457e h1:BWhy2j3IXJhjCbC68FptL43tDKIq8FladmaTs3Xs7Z8=
|
|
github.com/godbus/dbus v0.0.0-20190422162347-ade71ed3457e/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4=
|
|
github.com/godbus/dbus/v5 v5.0.3/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
|
|
github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
|
|
@@ -408,25 +389,20 @@ github.com/gofrs/flock v0.8.1 h1:+gYjHKf32LDeiEEFhQaotPbLuUXjY5ZqxKgXy7n59aw=
|
|
github.com/gofrs/flock v0.8.1/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14jxHU=
|
|
github.com/gogo/googleapis v1.1.0/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFGgqEef3s=
|
|
github.com/gogo/googleapis v1.2.0/go.mod h1:Njal3psf3qN6dwBtQfUmBZh2ybovJ0tlu3o/AC7HYjU=
|
|
-github.com/gogo/googleapis v1.4.0 h1:zgVt4UpGxcqVOw97aRGxT4svlcmdK35fynLNctY32zI=
|
|
github.com/gogo/googleapis v1.4.0/go.mod h1:5YRNX2z1oM5gXdAkurHa942MDgEJyk02w4OecKY87+c=
|
|
github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
|
|
github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
|
|
github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4=
|
|
github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o=
|
|
github.com/gogo/protobuf v1.3.0/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o=
|
|
-github.com/gogo/protobuf v1.3.1 h1:DqDEcV5aeaTmdFBePNpYsp3FlcVH/2ISVVM9Qf8PSls=
|
|
github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o=
|
|
github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
|
|
github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
|
|
-github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58=
|
|
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
|
|
github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
|
|
github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
|
|
-github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6 h1:ZgQEtGgCBiWRM39fZuwSd1LwSqqSW0hOdXCYYDX0R3I=
|
|
github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
|
|
github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
|
|
-github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e h1:1r7pUrabqp18hOBcwBwiTsbnFeTZHV9eER/QT5JVZxY=
|
|
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
|
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE=
|
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
|
|
@@ -440,7 +416,6 @@ github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71
|
|
github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8=
|
|
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
|
|
github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
|
|
-github.com/golang/protobuf v1.3.2 h1:6nsPYzhq5kReh6QImI3k5qWzO4PEbvbIW2cwSfR/6xs=
|
|
github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
|
|
github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw=
|
|
github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw=
|
|
@@ -449,13 +424,10 @@ github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi
|
|
github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA=
|
|
github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs=
|
|
github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w=
|
|
-github.com/golang/protobuf v1.4.0 h1:oOuy+ugB+P/kBdUnG5QaMXSIyJ1q38wWSojYCb3z5VQ=
|
|
github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0=
|
|
github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8=
|
|
-github.com/golang/protobuf v1.4.2 h1:+Z5KGCizgyZCbGh1KZqA0fcLLkwbsjIzS4aV2v7wJX0=
|
|
github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
|
|
github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
|
|
-github.com/golang/protobuf v1.5.0 h1:LUVKkCeviFUMKqHa4tXIIij/lbhnMbP7Fn5wKdKkRh4=
|
|
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
|
|
github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM=
|
|
github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw=
|
|
@@ -465,12 +437,9 @@ github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Z
|
|
github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
|
|
github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
|
|
github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
|
|
-github.com/google/go-cmp v0.3.1 h1:Xye71clBPdm5HgqGwUkwhbynsUJZhDbS20FvLhQ2izg=
|
|
github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
|
|
-github.com/google/go-cmp v0.4.0 h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4=
|
|
github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
|
|
github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
|
|
-github.com/google/go-cmp v0.5.0 h1:/QaMHBdZ26BB3SSst0Iwl10Epc+xhTquomWX0oZEB6w=
|
|
github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
|
|
github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
|
|
github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
|
|
@@ -480,7 +449,6 @@ github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU=
|
|
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
|
|
github.com/google/go-intervals v0.0.2 h1:FGrVEiUnTRKR8yE04qzXYaJMtnIYqobR5QbblK3ixcM=
|
|
github.com/google/go-intervals v0.0.2/go.mod h1:MkaR3LNRfeKLPmqgJYs4E66z5InYjmCjbbr4TQlcT6Y=
|
|
-github.com/google/gofuzz v1.0.0 h1:A8PeW59pxE9IoFRqBp37U+mSNaQoZ46F1f0f863XSXw=
|
|
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
|
|
github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
|
|
github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs=
|
|
@@ -501,7 +469,6 @@ github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm4
|
|
github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
|
|
github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
|
|
github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
|
|
-github.com/google/uuid v1.2.0 h1:qJYtXnJRWmpe7m/3XlyhrsLrEURqHRM2kxzoxXqyUDs=
|
|
github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
|
|
github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
|
|
github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
|
|
@@ -537,7 +504,6 @@ github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtng
|
|
github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
|
|
github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM=
|
|
github.com/hashicorp/go-multierror v0.0.0-20161216184304-ed905158d874/go.mod h1:JMRHfdO9jKNzS/+BTlxCjKNQHg/jZAft8U7LloJvN7I=
|
|
-github.com/hashicorp/go-multierror v1.0.0 h1:iVjPR7a6H0tWELX5NxNe7bYopibicUzc7uPribsnS6o=
|
|
github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk=
|
|
github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo=
|
|
github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM=
|
|
@@ -549,14 +515,12 @@ github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/b
|
|
github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
|
|
github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90=
|
|
github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
|
|
-github.com/hashicorp/golang-lru v0.5.1 h1:0hERBMJE1eitiLkihrMvRVBYAkpHzc/J3QdDN+dAcgU=
|
|
github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
|
|
github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
|
|
github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64=
|
|
github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ=
|
|
github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I=
|
|
github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc=
|
|
-github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI=
|
|
github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU=
|
|
github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg=
|
|
github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
|
|
@@ -564,7 +528,6 @@ github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:
|
|
github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
|
|
github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
|
|
github.com/imdario/mergo v0.3.10/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA=
|
|
-github.com/imdario/mergo v0.3.11 h1:3tnifQM4i+fbajXKBHXWEH+KvNHqojZ778UH75j3bGA=
|
|
github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA=
|
|
github.com/imdario/mergo v0.3.12 h1:b6R2BslTbIEToALKP7LxUvijTsNI9TAe80pLWN2g/HU=
|
|
github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA=
|
|
@@ -595,9 +558,7 @@ github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvW
|
|
github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00=
|
|
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
|
|
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
|
|
-github.com/klauspost/compress v1.11.3 h1:dB4Bn0tN3wdCzQxnS8r06kV74qN/TAfaIS0bVE8h3jc=
|
|
github.com/klauspost/compress v1.11.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs=
|
|
-github.com/klauspost/compress v1.11.13 h1:eSvu8Tmq6j2psUJqJrLcWH6K3w5Dwc+qipbaA6eVEN4=
|
|
github.com/klauspost/compress v1.11.13/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs=
|
|
github.com/klauspost/compress v1.13.6 h1:P76CopJELS0TiO2mebmnzgWaajssP/EszplttgQxcgc=
|
|
github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk=
|
|
@@ -605,11 +566,9 @@ github.com/klauspost/pgzip v1.2.5 h1:qnWYvvKqedOF2ulHpMG72XQol4ILEJ8k2wwRl/Km8oE
|
|
github.com/klauspost/pgzip v1.2.5/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQKQE9RUs=
|
|
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
|
|
github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
|
|
-github.com/konsorten/go-windows-terminal-sequences v1.0.3 h1:CE8S1cTafDpPvMhIxNJKvHsGVBgn1xWYf1NbHQhywc8=
|
|
github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
|
|
github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg=
|
|
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
|
|
-github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=
|
|
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
|
|
github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
|
|
github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI=
|
|
@@ -637,7 +596,6 @@ github.com/mattn/go-runewidth v0.0.13/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh
|
|
github.com/mattn/go-shellwords v1.0.3/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vqg+NOMyg4B2o=
|
|
github.com/mattn/go-shellwords v1.0.12 h1:M2zGm7EW6UQJvDeQxo4T51eKPurbeFbe8WtebGE2xrk=
|
|
github.com/mattn/go-shellwords v1.0.12/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lLtQsUlTZDWQ8Y=
|
|
-github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU=
|
|
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
|
|
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 h1:I0XW9+e1XWDxdcEniV4rQAIOPUGDq67JSCiRCgGCZLI=
|
|
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4=
|
|
@@ -656,9 +614,7 @@ github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:F
|
|
github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
|
|
github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
|
|
github.com/mitchellh/osext v0.0.0-20151018003038-5e2d6d41470f/go.mod h1:OkQIRizQZAeMln+1tSwduZz7+Af5oFlKirV/MSYes2A=
|
|
-github.com/moby/locker v1.0.1 h1:fOXqR41zeveg4fFODix+1Ch4mj/gT0NE1XJbp/epuBg=
|
|
github.com/moby/locker v1.0.1/go.mod h1:S7SDdo5zpBK84bzzVlKr2V0hz+7x9hWbYC/kq7oQppc=
|
|
-github.com/moby/sys/mountinfo v0.4.0 h1:1KInV3Huv18akCu58V7lzNlt+jFmqlu1EaErnEHE/VM=
|
|
github.com/moby/sys/mountinfo v0.4.0/go.mod h1:rEr8tzG/lsIZHBtN/JjGG+LMYx9eXgW2JI+6q0qou+A=
|
|
github.com/moby/sys/mountinfo v0.4.1 h1:1O+1cHA1aujwEwwVMa2Xm2l+gIpUHyd3+D+d7LZh1kM=
|
|
github.com/moby/sys/mountinfo v0.4.1/go.mod h1:rEr8tzG/lsIZHBtN/JjGG+LMYx9eXgW2JI+6q0qou+A=
|
|
@@ -670,7 +626,6 @@ github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJ
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
|
|
github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
|
|
-github.com/modern-go/reflect2 v1.0.1 h1:9f412s+6RmYXLWZSEzVVgPGK7C2PphHj5RJrvfx9AWI=
|
|
github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
|
|
github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M=
|
|
github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
|
|
@@ -714,13 +669,11 @@ github.com/onsi/gomega v1.10.3/go.mod h1:V9xEwhxec5O8UDM77eCW8vLymOMltsqPVYWrpDs
|
|
github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk=
|
|
github.com/opencontainers/go-digest v0.0.0-20170106003457-a6d0ee40d420/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s=
|
|
github.com/opencontainers/go-digest v0.0.0-20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s=
|
|
-github.com/opencontainers/go-digest v1.0.0-rc1 h1:WzifXhOVOEOuFYOJAW6aQqW0TooG2iki3E3Ii+WN7gQ=
|
|
github.com/opencontainers/go-digest v1.0.0-rc1/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s=
|
|
github.com/opencontainers/go-digest v1.0.0-rc1.0.20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s=
|
|
github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U=
|
|
github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=
|
|
github.com/opencontainers/image-spec v1.0.0/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0=
|
|
-github.com/opencontainers/image-spec v1.0.1 h1:JMemWkRwHx4Zj+fVxWoMCFm/8sYGGrUVojFA6h/TRcI=
|
|
github.com/opencontainers/image-spec v1.0.1/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0=
|
|
github.com/opencontainers/image-spec v1.0.2-0.20210819154149-5ad6f50d6283 h1:TVzvdjOalkJBNkbpPVMAr4KV9QRf2IjfxdyxwAK78Gs=
|
|
github.com/opencontainers/image-spec v1.0.2-0.20210819154149-5ad6f50d6283/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0=
|
|
@@ -734,7 +687,6 @@ github.com/opencontainers/runc v1.0.2/go.mod h1:aTaHFFwQXuA71CiyxOdFFIorAoemI04s
|
|
github.com/opencontainers/runtime-spec v0.1.2-0.20190507144316-5b71a03e2700/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0=
|
|
github.com/opencontainers/runtime-spec v1.0.1/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0=
|
|
github.com/opencontainers/runtime-spec v1.0.2-0.20190207185410-29686dbc5559/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0=
|
|
-github.com/opencontainers/runtime-spec v1.0.2 h1:UfAcuLBJB9Coz72x1hgl8O5RVzTdNiaglX6v2DM6FI0=
|
|
github.com/opencontainers/runtime-spec v1.0.2/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0=
|
|
github.com/opencontainers/runtime-spec v1.0.3-0.20200929063507-e6143ca7d51d/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0=
|
|
github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417 h1:3snG66yBm59tKhhSPQrQ/0bCrv1LQbKt40LnUPiUxdc=
|
|
@@ -742,10 +694,8 @@ github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417/go.m
|
|
github.com/opencontainers/runtime-tools v0.0.0-20181011054405-1d69bd0f9c39/go.mod h1:r3f7wjNzSs2extwzU3Y+6pKfobzPh+kKFJ3ofN+3nfs=
|
|
github.com/opencontainers/runtime-tools v0.9.0 h1:FYgwVsKRI/H9hU32MJ/4MLOzXWodKK5zsQavY8NPMkU=
|
|
github.com/opencontainers/runtime-tools v0.9.0/go.mod h1:r3f7wjNzSs2extwzU3Y+6pKfobzPh+kKFJ3ofN+3nfs=
|
|
-github.com/opencontainers/selinux v1.6.0 h1:+bIAS/Za3q5FTwWym4fTB0vObnfCf3G/NC7K6Jx62mY=
|
|
github.com/opencontainers/selinux v1.6.0/go.mod h1:VVGKuOLlE7v4PJyT6h7mNWvq1rzqiriPsEqVhc+svHE=
|
|
github.com/opencontainers/selinux v1.8.0/go.mod h1:RScLhm78qiWa2gbVCcGkC7tCGdgk3ogry1nUQF8Evvo=
|
|
-github.com/opencontainers/selinux v1.8.2 h1:c4ca10UMgRcvZ6h0K4HtS15UaVSBEaE+iln2LVpAuGc=
|
|
github.com/opencontainers/selinux v1.8.2/go.mod h1:MUIHuUEvKB1wtJjQdOyYRgOnLD2xAPP8dBsCoU0KuF8=
|
|
github.com/opencontainers/selinux v1.8.5/go.mod h1:HTvjPFoGMbpQsG886e3lQwnsRWtE4TC1OF3OUvG9FAo=
|
|
github.com/opencontainers/selinux v1.9.1 h1:b4VPEF3O5JLZgdTDBmGepaaIbAo0GqoF6EBRq5f/g3Y=
|
|
@@ -786,7 +736,6 @@ github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXP
|
|
github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod h1:p2iRAGwDERtqlqzRXnrOVns+ignqQo//hLXqYxZYVNs=
|
|
github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso=
|
|
github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo=
|
|
-github.com/prometheus/client_golang v1.1.0 h1:BQ53HtBmfOitExawJ6LokA4x8ov/z0SYYb0+HxJfRI8=
|
|
github.com/prometheus/client_golang v1.1.0/go.mod h1:I1FGZT9+L76gKKOs5djB6ezCbFQP1xR9D75/vuwEF3g=
|
|
github.com/prometheus/client_golang v1.3.0/go.mod h1:hJaj2vgQTGQmVCsAACORcieXFeDPbaTKGT+JTgUa3og=
|
|
github.com/prometheus/client_golang v1.7.1 h1:NTGy1Ja9pByO+xAeH/qiWnLrKtr3hJPNjaVUwnjpdpA=
|
|
@@ -795,7 +744,6 @@ github.com/prometheus/client_model v0.0.0-20171117100541-99fa1f4be8e5/go.mod h1:
|
|
github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
|
|
github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
|
|
github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
|
|
-github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 h1:gQz4mCbXsO+nc9n1hCxHcGA3Zx3Eo+UHZoInFGUIXNM=
|
|
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
|
|
github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
|
|
github.com/prometheus/client_model v0.2.0 h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2dUR+/W/M=
|
|
@@ -805,10 +753,8 @@ github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7q
|
|
github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4=
|
|
github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4=
|
|
github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4=
|
|
-github.com/prometheus/common v0.6.0 h1:kRhiuYSXR3+uv2IbVbZhUxK5zVD/2pp3Gd2PpvPkpEo=
|
|
github.com/prometheus/common v0.6.0/go.mod h1:eBmuwkDJBwy6iBfxCBob6t6dR6ENT/y+J+Zk0j9GMYc=
|
|
github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA=
|
|
-github.com/prometheus/common v0.10.0 h1:RyRA7RzGXQZiW+tGMr7sxa85G1z0yOpM1qq5c8lNawc=
|
|
github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo=
|
|
github.com/prometheus/common v0.11.1 h1:0ZISXCMRuCZcxF77aT1BXY5m74mX2vrGYl1dSwBI0Jo=
|
|
github.com/prometheus/common v0.11.1/go.mod h1:U+gB1OBLb1lF3O42bTCL+FK18tX9Oar16Clt/msog/s=
|
|
@@ -821,7 +767,6 @@ github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsT
|
|
github.com/prometheus/procfs v0.0.3/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ=
|
|
github.com/prometheus/procfs v0.0.5/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ=
|
|
github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A=
|
|
-github.com/prometheus/procfs v0.1.3 h1:F0+tqvhOksq22sc6iCHF5WGlWjdwj92p0udFh1VFBS8=
|
|
github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU=
|
|
github.com/prometheus/procfs v0.2.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU=
|
|
github.com/prometheus/procfs v0.6.0 h1:mxy4L2jP6qMonqmq+aTtOx1ifVWUgG/TAmntgbh3xv4=
|
|
@@ -845,11 +790,8 @@ github.com/sirupsen/logrus v1.0.4-0.20170822132746-89742aefa4b2/go.mod h1:pMByvH
|
|
github.com/sirupsen/logrus v1.0.6/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc=
|
|
github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
|
|
github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q=
|
|
-github.com/sirupsen/logrus v1.4.2 h1:SPIRibHv4MatM3XXNO2BJeFLZwZ2LvZgfQ5+UNI2im4=
|
|
github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
|
|
-github.com/sirupsen/logrus v1.6.0 h1:UBcNElsrwanuuMsnGSlYmtmgbb23qDR5dG+6X6Oo89I=
|
|
github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88=
|
|
-github.com/sirupsen/logrus v1.7.0 h1:ShrD1U9pZB12TX0cVy0DtePoCH97K8EtX+mg7ZARUtM=
|
|
github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
|
|
github.com/sirupsen/logrus v1.8.1 h1:dJKuHgqk1NNQlqoA6BTlM1Wf9DOH3NBjQyu0h9+AZZE=
|
|
github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
|
|
@@ -866,7 +808,6 @@ github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkU
|
|
github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
|
|
github.com/spf13/cobra v0.0.2-0.20171109065643-2da4a54c5cee/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ=
|
|
github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ=
|
|
-github.com/spf13/cobra v1.0.0 h1:6m/oheQuQ13N9ks4hubMG6BnvwOeaJrqSPLahSnczz8=
|
|
github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE=
|
|
github.com/spf13/cobra v1.2.1 h1:+KmjbUw1hriSNMF55oPrkZcb27aECyrj8V2ytv7kWDw=
|
|
github.com/spf13/cobra v1.2.1/go.mod h1:ExllRjgxM/piMAM+3tAZvg8fsklGAf3tPfi+i8t68Nk=
|
|
@@ -892,16 +833,13 @@ github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoH
|
|
github.com/stretchr/testify v0.0.0-20180303142811-b89eecf5ca5d/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
|
|
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
|
|
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
|
|
-github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=
|
|
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
|
|
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
|
|
-github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0=
|
|
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
|
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
|
|
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
|
github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
|
|
github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww=
|
|
-github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2 h1:b6uOv7YOFK0TYG7HtkIgExQo+2RdLuwRft63jn2HWj8=
|
|
github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww=
|
|
github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635 h1:kdXcSzyDtseVEc4yCz2qF8ZrQvIDBJLl4S1c3GCXmoI=
|
|
github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww=
|
|
@@ -923,20 +861,16 @@ github.com/vbatts/tar-split v0.11.2/go.mod h1:vV3ZuO2yWSVsz+pfFzDG/upWH1JhjOiEaW
|
|
github.com/vbauerster/mpb/v7 v7.1.5 h1:vtUEUfQHmNeJETyF4AcRCOV6RC4wqFwNORy52UMXPbQ=
|
|
github.com/vbauerster/mpb/v7 v7.1.5/go.mod h1:4M8+qAoQqV60WDNktBM5k05i1iTrXE7rjKOHEVkVlec=
|
|
github.com/vishvananda/netlink v0.0.0-20181108222139-023a6dafdcdf/go.mod h1:+SR5DhBJrl6ZM7CoCKvpw5BKroDKQ+PJqOg65H/2ktk=
|
|
-github.com/vishvananda/netlink v1.1.0 h1:1iyaYNBLmP6L0220aDnYQpo1QEV4t4hJ+xEEhhJH8j0=
|
|
github.com/vishvananda/netlink v1.1.0/go.mod h1:cTgwzPIzzgDAYoQrMm0EdrjRUBkTqKYppBueQtXaqoE=
|
|
github.com/vishvananda/netlink v1.1.1-0.20201029203352-d40f9887b852 h1:cPXZWzzG0NllBLdjWoD1nDfaqu98YMv+OneaKc8sPOA=
|
|
github.com/vishvananda/netlink v1.1.1-0.20201029203352-d40f9887b852/go.mod h1:twkDnbuQxJYemMlGd4JFIcuhgX83tXhKS2B/PRMpOho=
|
|
github.com/vishvananda/netns v0.0.0-20180720170159-13995c7128cc/go.mod h1:ZjcWmFBXmLKZu9Nxj3WKYEafiSqer2rnvPr0en9UNpI=
|
|
-github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df h1:OviZH7qLw/7ZovXvuNyL3XQl8UFofeikI1NW1Gypu7k=
|
|
github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df/go.mod h1:JP3t17pCcGlemwknint6hfoeCVQrEMVwxRLRjXpq+BU=
|
|
github.com/vishvananda/netns v0.0.0-20200728191858-db3c7e526aae h1:4hwBBUfQCFe3Cym0ZtKyq7L16eZUtYKs+BaHDN6mAns=
|
|
github.com/vishvananda/netns v0.0.0-20200728191858-db3c7e526aae/go.mod h1:DD4vA1DwXk04H54A1oHXtwZmA0grkVMdPxx/VGLCah0=
|
|
-github.com/willf/bitset v1.1.11-0.20200630133818-d5bec3311243 h1:R43TdZy32XXSXjJn7M/HhALJ9imq6ztLnChfYJpVDnM=
|
|
github.com/willf/bitset v1.1.11-0.20200630133818-d5bec3311243/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4=
|
|
github.com/willf/bitset v1.1.11/go.mod h1:83CECat5yLh5zVOf4P1ErAgKA5UDvKtgyUABdr3+MjI=
|
|
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU=
|
|
-github.com/xeipuuv/gojsonpointer v0.0.0-20190809123943-df4f5c81cb3b h1:6cLsL+2FW6dRAdl5iMtHgRogVCff0QpRi9653YmdcJA=
|
|
github.com/xeipuuv/gojsonpointer v0.0.0-20190809123943-df4f5c81cb3b/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU=
|
|
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb h1:zGWFAtiMcyryUHoUjUJX0/lt1H2+i2Ka2n+D3DImSNo=
|
|
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU=
|
|
@@ -957,7 +891,6 @@ github.com/yvasiyarov/gorelic v0.0.0-20141212073537-a9bba5b9ab50/go.mod h1:NUSPS
|
|
github.com/yvasiyarov/newrelic_platform_go v0.0.0-20140908184405-b21fdbd4370f/go.mod h1:GlGEuHIJweS1mbCqG+7vt2nvWLzLLnRHbXz5JKd/Qbg=
|
|
go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
|
|
go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
|
|
-go.etcd.io/bbolt v1.3.5 h1:XAzx9gjCb0Rxj7EoqcClPD1d5ZBxZJk0jbuoPHenBt0=
|
|
go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ=
|
|
go.etcd.io/bbolt v1.3.6 h1:/ecaJf0sk1l4l6V4awd65v2C3ILy7MSj+s/x1ADCIMU=
|
|
go.etcd.io/bbolt v1.3.6/go.mod h1:qXsaaIqmgQH0T+OPdb99Bf+PKfBBQVAdyD6TY9G8XM4=
|
|
@@ -971,11 +904,9 @@ go.mozilla.org/pkcs7 v0.0.0-20200128120323-432b2356ecb1/go.mod h1:SNgMg+EgDFwmvS
|
|
go.opencensus.io v0.20.1/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk=
|
|
go.opencensus.io v0.20.2/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk=
|
|
go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
|
|
-go.opencensus.io v0.22.0 h1:C9hSCOW830chIVkdja34wa6Ky+IzWllkUinR+BtRZd4=
|
|
go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
|
|
go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
|
|
go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
|
|
-go.opencensus.io v0.22.4 h1:LYy1Hy3MJdrCdMwwzxA/dRok4ejH+RwNGbuoD9fCjto=
|
|
go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
|
|
go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk=
|
|
go.opencensus.io v0.23.0 h1:gqCw0LfLxScz8irSi8exQc7fyQ0fKQU/qnC/X8+V/1M=
|
|
@@ -1004,7 +935,6 @@ golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8U
|
|
golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
|
|
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
|
|
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
|
|
-golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de h1:ikNHVSjEfnvz6sxdSPCaPt572qowuyMDMJLLm3Db3ig=
|
|
golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
|
|
golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
|
|
golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4=
|
|
@@ -1076,14 +1006,12 @@ golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLL
|
|
golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
|
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
|
golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
|
-golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e h1:3G+cUijn7XD+S4eJFddp53Pv7+slrESplyjG25HgL+k=
|
|
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
|
|
golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
|
|
golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
|
|
golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
|
|
golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
|
|
golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
|
|
-golang.org/x/net v0.0.0-20200707034311-ab3426394381 h1:VXak5I6aEWmAXeQjA+QSZzlgNrpq9mjcfDemuexIKsU=
|
|
golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
|
|
golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
|
|
golang.org/x/net v0.0.0-20201006153459-a7d1128ccaa0/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
|
|
@@ -1093,11 +1021,9 @@ golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwY
|
|
golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
|
|
golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
|
|
golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
|
|
-golang.org/x/net v0.0.0-20210226172049-e18ecbb05110 h1:qWPm9rbaAMKs8Bq/9LRpbMqxWRVUAQwMI9fVrssnTfw=
|
|
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
|
|
golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc=
|
|
golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM=
|
|
-golang.org/x/net v0.0.0-20211005001312-d4b1ae081e3b h1:SXy8Ld8oKlcogOvUAh0J5Pm5RKzgYBMMxLxt6n5XW50=
|
|
golang.org/x/net v0.0.0-20211005001312-d4b1ae081e3b/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
|
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 h1:CIJ76btIcR3eFI5EgSo6k1qKw9KJexJuRLI9G7Hp5wE=
|
|
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
|
@@ -1117,15 +1043,11 @@ golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJ
|
|
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
|
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
|
golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
|
-golang.org/x/sync v0.0.0-20190423024810-112230192c58 h1:8gQV6CLnAEikrhgkHFbMAEhagSSnXWGV915qUMm9mrU=
|
|
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
|
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
|
-golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a h1:WXEvlFVvvGxCJLG6REjsT03iWnKLEWinaScsxF2Vm2o=
|
|
golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
|
-golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208 h1:qwRHBd0NqMbJxfbotnDhm2ByMI1Shq4Y6oRJo21SGJA=
|
|
golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
|
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
|
-golang.org/x/sync v0.0.0-20201207232520-09787c993a3a h1:DcqTD9SDLc+1P/r1EmRBwnVsrOwW+kk2vWf9n+1sGhs=
|
|
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
|
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ=
|
|
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
|
@@ -1184,14 +1106,12 @@ golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7w
|
|
golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
|
golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
|
golang.org/x/sys v0.0.0-20200622214017-ed371f2e16b4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
|
-golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae h1:Ih9Yo4hSPImZOpfGuA4bR/ORKTAbhZo2AbWNRCnevdo=
|
|
golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
|
golang.org/x/sys v0.0.0-20200728102440-3e129f6d46b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
|
golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
|
golang.org/x/sys v0.0.0-20200817155316-9781c653f443/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
|
golang.org/x/sys v0.0.0-20200831180312-196b9ba8737a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
|
golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
|
-golang.org/x/sys v0.0.0-20200909081042-eff7692f9009 h1:W0lCpv29Hv0UaM1LXb9QlBHLNP8UFfcKjblhVCWftOM=
|
|
golang.org/x/sys v0.0.0-20200909081042-eff7692f9009/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
|
golang.org/x/sys v0.0.0-20200916030750-2334cc1a136f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
|
golang.org/x/sys v0.0.0-20200922070232-aee5d888a860/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
|
@@ -1213,26 +1133,21 @@ golang.org/x/sys v0.0.0-20210324051608-47abb6519492/go.mod h1:h1NjWce9XRLGQEsW7w
|
|
golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
|
golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
|
golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
|
-golang.org/x/sys v0.0.0-20210426230700-d19ff857e887 h1:dXfMednGJh/SUUFjTLsWJz3P+TQt9qnR11GgeI3vWKs=
|
|
golang.org/x/sys v0.0.0-20210426230700-d19ff857e887/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
|
golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
|
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
|
golang.org/x/sys v0.0.0-20210820121016-41cdb8703e55/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
|
golang.org/x/sys v0.0.0-20210910150752-751e447fb3d0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
|
-golang.org/x/sys v0.0.0-20211004093028-2c5d950f24ef h1:fPxZ3Umkct3LZ8gK9nbk+DWDJ9fstZa2grBn+lWVKPs=
|
|
golang.org/x/sys v0.0.0-20211004093028-2c5d950f24ef/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
|
-golang.org/x/sys v0.0.0-20211124211545-fe61309f8881 h1:TyHqChC80pFkXWraUUf6RuB5IqFdQieMLwwCJokV2pc=
|
|
-golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
|
+golang.org/x/sys v0.0.0-20220908164124-27713097b956 h1:XeJjHH1KiLpKGb6lvMiksZ9l0fVUh+AmGcm0nOMEBOY=
|
|
+golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
|
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 h1:v+OssWQX+hTHEmOBgwxdZxK4zHq3yOs8F9J7mk0PY8E=
|
|
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
|
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
|
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
|
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
|
-golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs=
|
|
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
|
|
-golang.org/x/text v0.3.3 h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k=
|
|
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
|
-golang.org/x/text v0.3.4 h1:0YWbFKbhXG/wIiuHDSKpS0Iy7FSA+u45VtBMfQcFTTc=
|
|
golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
|
golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
|
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
|
@@ -1241,7 +1156,6 @@ golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
|
|
golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
|
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
|
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
|
-golang.org/x/time v0.0.0-20191024005414-555d28b269f0 h1:/5xXl8Y5W96D+TtHSlonuFqGHIWVuyCkGJLwGh9JJFs=
|
|
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
|
golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e h1:EHBhcS0mlXEAVwNyO2dLfjToGsyY4j24pTs2ScHnX7s=
|
|
golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
|
@@ -1306,7 +1220,6 @@ golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0=
|
|
golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
|
|
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
|
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
|
-golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
|
|
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
|
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=
|
|
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
|
@@ -1351,7 +1264,6 @@ google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRn
|
|
google.golang.org/genproto v0.0.0-20190522204451-c2c4e71fbf69/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s=
|
|
google.golang.org/genproto v0.0.0-20190530194941-fb225487d101/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s=
|
|
google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
|
|
-google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55 h1:gSJIx1SDwno+2ElGhA4+qG2zF97qiUzTM+rQ0klBOcE=
|
|
google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
|
|
google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8=
|
|
google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
|
|
@@ -1379,7 +1291,6 @@ google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6D
|
|
google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
|
|
google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
|
|
google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
|
|
-google.golang.org/genproto v0.0.0-20201110150050-8816d57aaa9a h1:pOwg4OoaRYScjmR4LlLgdtnyoHYTSAVhhqe5uPdpII8=
|
|
google.golang.org/genproto v0.0.0-20201110150050-8816d57aaa9a/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
|
|
google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
|
|
google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
|
|
@@ -1410,11 +1321,9 @@ google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8
|
|
google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60=
|
|
google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk=
|
|
google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
|
|
-google.golang.org/grpc v1.31.0 h1:T7P4R73V3SSDPhH7WW7ATbfViLtmamH0DKrP3f9AuDI=
|
|
google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
|
|
google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
|
|
google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0=
|
|
-google.golang.org/grpc v1.33.2 h1:EQyQC3sa8M+p6Ulc8yy9SWSS2GVwyRc83gAbG8lrl4o=
|
|
google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc=
|
|
google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8=
|
|
google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU=
|
|
@@ -1429,14 +1338,11 @@ google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLY
|
|
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
|
|
google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
|
|
google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE=
|
|
-google.golang.org/protobuf v1.21.0 h1:qdOKuR/EIArgaWNjetjgTzgVTAZ+S/WXVrq9HW9zimw=
|
|
google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo=
|
|
google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
|
|
google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
|
|
google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
|
|
-google.golang.org/protobuf v1.24.0 h1:UhZDfRO8JRQru4/+LlLE0BRKGF8L+PICnvYZmx/fEGA=
|
|
google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4=
|
|
-google.golang.org/protobuf v1.25.0 h1:Ejskq+SyPohKW+1uil0JJMtmHCgJPJ/qWTxr8qp+R4c=
|
|
google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c=
|
|
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
|
|
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
|
|
@@ -1451,7 +1357,6 @@ gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogR
|
|
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
|
gopkg.in/cheggaaa/pb.v1 v1.0.25/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw=
|
|
gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
|
|
-gopkg.in/fsnotify.v1 v1.4.7 h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4=
|
|
gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys=
|
|
gopkg.in/gcfg.v1 v1.2.3/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o=
|
|
gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2/go.mod h1:Xk6kEKp8OKb+X14hQBKWaSkCsqBpgog8nAV2xsGOxlo=
|
|
@@ -1460,27 +1365,21 @@ gopkg.in/ini.v1 v1.62.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
|
|
gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k=
|
|
gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo=
|
|
gopkg.in/square/go-jose.v2 v2.2.2/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI=
|
|
-gopkg.in/square/go-jose.v2 v2.3.1 h1:SK5KegNXmKmqE342YYN2qPHEnUYeoMiXXl1poUlI+o4=
|
|
gopkg.in/square/go-jose.v2 v2.3.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI=
|
|
gopkg.in/square/go-jose.v2 v2.5.1 h1:7odma5RETjNHWJnR32wx8t+Io4djHE1PqxCFx3iiZ2w=
|
|
gopkg.in/square/go-jose.v2 v2.5.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI=
|
|
-gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ=
|
|
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw=
|
|
gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI=
|
|
gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74=
|
|
gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
|
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
|
gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
|
-gopkg.in/yaml.v2 v2.2.4 h1:/eiJrUcujPVeJ3xlSWaiNi3uSVmDGBK1pDHUHAnao1I=
|
|
gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
|
gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
|
-gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10=
|
|
gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
|
-gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU=
|
|
gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
|
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
|
|
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
|
|
-gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
|
|
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
|
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo=
|
|
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
|
diff --git a/vendor/github.com/containers/image/v5/pkg/docker/config/config.go b/vendor/github.com/containers/image/v5/pkg/docker/config/config.go
|
|
index 3456f76..63f5bd5 100644
|
|
--- a/vendor/github.com/containers/image/v5/pkg/docker/config/config.go
|
|
+++ b/vendor/github.com/containers/image/v5/pkg/docker/config/config.go
|
|
@@ -219,7 +219,14 @@ func getAuthFilePaths(sys *types.SystemContext, homeDir string) []authPath {
|
|
paths = append(paths,
|
|
authPath{path: filepath.Join(dockerConfig, "config.json"), legacyFormat: false},
|
|
)
|
|
+ } else {
|
|
+ paths = append(paths,
|
|
+ authPath{path: filepath.Join(homeDir, dockerHomePath), legacyFormat: false},
|
|
+ )
|
|
}
|
|
+ paths = append(paths,
|
|
+ authPath{path: filepath.Join(homeDir, dockerLegacyHomePath), legacyFormat: true},
|
|
+ )
|
|
return paths
|
|
}
|
|
|
|
diff --git a/vendor/github.com/containers/storage/pkg/archive/archive.go b/vendor/github.com/containers/storage/pkg/archive/archive.go
|
|
index 7cdc1f2..76544ff 100644
|
|
--- a/vendor/github.com/containers/storage/pkg/archive/archive.go
|
|
+++ b/vendor/github.com/containers/storage/pkg/archive/archive.go
|
|
@@ -397,7 +397,7 @@ func ReadSecurityXattrToTarHeader(path string, hdr *tar.Header) error {
|
|
if hdr.Xattrs == nil {
|
|
hdr.Xattrs = make(map[string]string)
|
|
}
|
|
- for _, xattr := range []string{"security.capability", "security.ima", "security.evm"} {
|
|
+ for _, xattr := range []string{"security.capability", "security.ima"} {
|
|
capability, err := system.Lgetxattr(path, xattr)
|
|
if err != nil && !errors.Is(err, system.EOPNOTSUPP) && err != system.ErrNotSupportedPlatform {
|
|
return errors.Wrapf(err, "failed to read %q attribute from %q", xattr, path)
|
|
diff --git a/vendor/github.com/opencontainers/runtime-tools/generate/seccomp/seccomp_default.go b/vendor/github.com/opencontainers/runtime-tools/generate/seccomp/seccomp_default.go
|
|
index fd16b6c..5fee5a3 100644
|
|
--- a/vendor/github.com/opencontainers/runtime-tools/generate/seccomp/seccomp_default.go
|
|
+++ b/vendor/github.com/opencontainers/runtime-tools/generate/seccomp/seccomp_default.go
|
|
@@ -303,7 +303,6 @@ func DefaultProfile(rs *specs.Spec) *rspec.LinuxSeccomp {
|
|
"stat64",
|
|
"statfs",
|
|
"statfs64",
|
|
- "statx",
|
|
"symlink",
|
|
"symlinkat",
|
|
"sync",
|
|
diff --git a/vendor/github.com/opencontainers/selinux/go-selinux/selinux_linux.go b/vendor/github.com/opencontainers/selinux/go-selinux/selinux_linux.go
|
|
index 0b16f03..b045843 100644
|
|
--- a/vendor/github.com/opencontainers/selinux/go-selinux/selinux_linux.go
|
|
+++ b/vendor/github.com/opencontainers/selinux/go-selinux/selinux_linux.go
|
|
@@ -1,5 +1,3 @@
|
|
-// +build !linux
|
|
-
|
|
package selinux
|
|
|
|
import (
|
|
diff --git a/vendor/github.com/opencontainers/selinux/go-selinux/selinux_stub.go b/vendor/github.com/opencontainers/selinux/go-selinux/selinux_stub.go
|
|
index 7ac4017..4265775 100644
|
|
--- a/vendor/github.com/opencontainers/selinux/go-selinux/selinux_stub.go
|
|
+++ b/vendor/github.com/opencontainers/selinux/go-selinux/selinux_stub.go
|
|
@@ -1,4 +1,4 @@
|
|
-// +build linux
|
|
+// +build !linux
|
|
|
|
package selinux
|
|
|
|
diff --git a/vendor/golang.org/x/sys/AUTHORS b/vendor/golang.org/x/sys/AUTHORS
|
|
deleted file mode 100644
|
|
index 15167cd..0000000
|
|
--- a/vendor/golang.org/x/sys/AUTHORS
|
|
+++ /dev/null
|
|
@@ -1,3 +0,0 @@
|
|
-# This source code refers to The Go Authors for copyright purposes.
|
|
-# The master list of authors is in the main Go distribution,
|
|
-# visible at http://tip.golang.org/AUTHORS.
|
|
diff --git a/vendor/golang.org/x/sys/CONTRIBUTORS b/vendor/golang.org/x/sys/CONTRIBUTORS
|
|
deleted file mode 100644
|
|
index 1c4577e..0000000
|
|
--- a/vendor/golang.org/x/sys/CONTRIBUTORS
|
|
+++ /dev/null
|
|
@@ -1,3 +0,0 @@
|
|
-# This source code was written by the Go contributors.
|
|
-# The master list of contributors is in the main Go distribution,
|
|
-# visible at http://tip.golang.org/CONTRIBUTORS.
|
|
diff --git a/vendor/golang.org/x/sys/execabs/execabs.go b/vendor/golang.org/x/sys/execabs/execabs.go
|
|
index 7819249..b981cfb 100644
|
|
--- a/vendor/golang.org/x/sys/execabs/execabs.go
|
|
+++ b/vendor/golang.org/x/sys/execabs/execabs.go
|
|
@@ -53,7 +53,7 @@ func relError(file, path string) error {
|
|
// LookPath instead returns an error.
|
|
func LookPath(file string) (string, error) {
|
|
path, err := exec.LookPath(file)
|
|
- if err != nil {
|
|
+ if err != nil && !isGo119ErrDot(err) {
|
|
return "", err
|
|
}
|
|
if filepath.Base(file) == file && !filepath.IsAbs(path) {
|
|
diff --git a/vendor/golang.org/x/sys/execabs/execabs_go118.go b/vendor/golang.org/x/sys/execabs/execabs_go118.go
|
|
new file mode 100644
|
|
index 0000000..6ab5f50
|
|
--- /dev/null
|
|
+++ b/vendor/golang.org/x/sys/execabs/execabs_go118.go
|
|
@@ -0,0 +1,12 @@
|
|
+// Copyright 2022 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 !go1.19
|
|
+// +build !go1.19
|
|
+
|
|
+package execabs
|
|
+
|
|
+func isGo119ErrDot(err error) bool {
|
|
+ return false
|
|
+}
|
|
diff --git a/vendor/golang.org/x/sys/execabs/execabs_go119.go b/vendor/golang.org/x/sys/execabs/execabs_go119.go
|
|
new file mode 100644
|
|
index 0000000..1e7a9ad
|
|
--- /dev/null
|
|
+++ b/vendor/golang.org/x/sys/execabs/execabs_go119.go
|
|
@@ -0,0 +1,15 @@
|
|
+// Copyright 2022 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 go1.19
|
|
+// +build go1.19
|
|
+
|
|
+package execabs
|
|
+
|
|
+import "strings"
|
|
+
|
|
+func isGo119ErrDot(err error) bool {
|
|
+ // TODO: return errors.Is(err, exec.ErrDot)
|
|
+ return strings.Contains(err.Error(), "current directory")
|
|
+}
|
|
diff --git a/vendor/golang.org/x/sys/plan9/syscall.go b/vendor/golang.org/x/sys/plan9/syscall.go
|
|
index 602473c..ea97128 100644
|
|
--- a/vendor/golang.org/x/sys/plan9/syscall.go
|
|
+++ b/vendor/golang.org/x/sys/plan9/syscall.go
|
|
@@ -29,8 +29,6 @@ import (
|
|
"bytes"
|
|
"strings"
|
|
"unsafe"
|
|
-
|
|
- "golang.org/x/sys/internal/unsafeheader"
|
|
)
|
|
|
|
// ByteSliceFromString returns a NUL-terminated slice of bytes
|
|
@@ -82,12 +80,7 @@ func BytePtrToString(p *byte) string {
|
|
ptr = unsafe.Pointer(uintptr(ptr) + 1)
|
|
}
|
|
|
|
- var s []byte
|
|
- h := (*unsafeheader.Slice)(unsafe.Pointer(&s))
|
|
- h.Data = unsafe.Pointer(p)
|
|
- h.Len = n
|
|
- h.Cap = n
|
|
-
|
|
+ s := unsafe.Slice((*byte)(unsafe.Pointer(p)), n)
|
|
return string(s)
|
|
}
|
|
|
|
@@ -113,5 +106,6 @@ func (tv *Timeval) Nano() int64 {
|
|
|
|
// use is a no-op, but the compiler cannot see that it is.
|
|
// Calling use(p) ensures that p is kept live until that point.
|
|
+//
|
|
//go:noescape
|
|
func use(p unsafe.Pointer)
|
|
diff --git a/vendor/golang.org/x/sys/plan9/syscall_plan9.go b/vendor/golang.org/x/sys/plan9/syscall_plan9.go
|
|
index 84e1471..d079d81 100644
|
|
--- a/vendor/golang.org/x/sys/plan9/syscall_plan9.go
|
|
+++ b/vendor/golang.org/x/sys/plan9/syscall_plan9.go
|
|
@@ -115,6 +115,7 @@ func Write(fd int, p []byte) (n int, err error) {
|
|
var ioSync int64
|
|
|
|
//sys fd2path(fd int, buf []byte) (err error)
|
|
+
|
|
func Fd2path(fd int) (path string, err error) {
|
|
var buf [512]byte
|
|
|
|
@@ -126,14 +127,17 @@ func Fd2path(fd int) (path string, err error) {
|
|
}
|
|
|
|
//sys pipe(p *[2]int32) (err error)
|
|
+
|
|
func Pipe(p []int) (err error) {
|
|
if len(p) != 2 {
|
|
return syscall.ErrorString("bad arg in system call")
|
|
}
|
|
var pp [2]int32
|
|
err = pipe(&pp)
|
|
- p[0] = int(pp[0])
|
|
- p[1] = int(pp[1])
|
|
+ if err == nil {
|
|
+ p[0] = int(pp[0])
|
|
+ p[1] = int(pp[1])
|
|
+ }
|
|
return
|
|
}
|
|
|
|
@@ -178,6 +182,7 @@ func (w Waitmsg) ExitStatus() int {
|
|
}
|
|
|
|
//sys await(s []byte) (n int, err error)
|
|
+
|
|
func Await(w *Waitmsg) (err error) {
|
|
var buf [512]byte
|
|
var f [5][]byte
|
|
@@ -299,42 +304,49 @@ func Getgroups() (gids []int, err error) {
|
|
}
|
|
|
|
//sys open(path string, mode int) (fd int, err error)
|
|
+
|
|
func Open(path string, mode int) (fd int, err error) {
|
|
fixwd()
|
|
return open(path, mode)
|
|
}
|
|
|
|
//sys create(path string, mode int, perm uint32) (fd int, err error)
|
|
+
|
|
func Create(path string, mode int, perm uint32) (fd int, err error) {
|
|
fixwd()
|
|
return create(path, mode, perm)
|
|
}
|
|
|
|
//sys remove(path string) (err error)
|
|
+
|
|
func Remove(path string) error {
|
|
fixwd()
|
|
return remove(path)
|
|
}
|
|
|
|
//sys stat(path string, edir []byte) (n int, err error)
|
|
+
|
|
func Stat(path string, edir []byte) (n int, err error) {
|
|
fixwd()
|
|
return stat(path, edir)
|
|
}
|
|
|
|
//sys bind(name string, old string, flag int) (err error)
|
|
+
|
|
func Bind(name string, old string, flag int) (err error) {
|
|
fixwd()
|
|
return bind(name, old, flag)
|
|
}
|
|
|
|
//sys mount(fd int, afd int, old string, flag int, aname string) (err error)
|
|
+
|
|
func Mount(fd int, afd int, old string, flag int, aname string) (err error) {
|
|
fixwd()
|
|
return mount(fd, afd, old, flag, aname)
|
|
}
|
|
|
|
//sys wstat(path string, edir []byte) (err error)
|
|
+
|
|
func Wstat(path string, edir []byte) (err error) {
|
|
fixwd()
|
|
return wstat(path, edir)
|
|
diff --git a/vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s b/vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s
|
|
new file mode 100644
|
|
index 0000000..d560019
|
|
--- /dev/null
|
|
+++ b/vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s
|
|
@@ -0,0 +1,29 @@
|
|
+// 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 (darwin || freebsd || netbsd || openbsd) && gc
|
|
+// +build darwin freebsd netbsd openbsd
|
|
+// +build gc
|
|
+
|
|
+#include "textflag.h"
|
|
+
|
|
+// System call support for RISCV64 BSD
|
|
+
|
|
+// Just jump to package syscall's implementation for all these functions.
|
|
+// The runtime may know about them.
|
|
+
|
|
+TEXT ·Syscall(SB),NOSPLIT,$0-56
|
|
+ JMP syscall·Syscall(SB)
|
|
+
|
|
+TEXT ·Syscall6(SB),NOSPLIT,$0-80
|
|
+ JMP syscall·Syscall6(SB)
|
|
+
|
|
+TEXT ·Syscall9(SB),NOSPLIT,$0-104
|
|
+ JMP syscall·Syscall9(SB)
|
|
+
|
|
+TEXT ·RawSyscall(SB),NOSPLIT,$0-56
|
|
+ JMP syscall·RawSyscall(SB)
|
|
+
|
|
+TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
|
|
+ JMP syscall·RawSyscall6(SB)
|
|
diff --git a/vendor/golang.org/x/sys/unix/asm_linux_loong64.s b/vendor/golang.org/x/sys/unix/asm_linux_loong64.s
|
|
new file mode 100644
|
|
index 0000000..5653572
|
|
--- /dev/null
|
|
+++ b/vendor/golang.org/x/sys/unix/asm_linux_loong64.s
|
|
@@ -0,0 +1,54 @@
|
|
+// Copyright 2022 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 && loong64 && gc
|
|
+// +build linux
|
|
+// +build loong64
|
|
+// +build gc
|
|
+
|
|
+#include "textflag.h"
|
|
+
|
|
+
|
|
+// Just jump to package syscall's implementation for all these functions.
|
|
+// The runtime may know about them.
|
|
+
|
|
+TEXT ·Syscall(SB),NOSPLIT,$0-56
|
|
+ JMP syscall·Syscall(SB)
|
|
+
|
|
+TEXT ·Syscall6(SB),NOSPLIT,$0-80
|
|
+ JMP syscall·Syscall6(SB)
|
|
+
|
|
+TEXT ·SyscallNoError(SB),NOSPLIT,$0-48
|
|
+ JAL runtime·entersyscall(SB)
|
|
+ MOVV a1+8(FP), R4
|
|
+ MOVV a2+16(FP), R5
|
|
+ MOVV a3+24(FP), R6
|
|
+ MOVV R0, R7
|
|
+ MOVV R0, R8
|
|
+ MOVV R0, R9
|
|
+ MOVV trap+0(FP), R11 // syscall entry
|
|
+ SYSCALL
|
|
+ MOVV R4, r1+32(FP)
|
|
+ MOVV R0, r2+40(FP) // r2 is not used. Always set to 0
|
|
+ JAL runtime·exitsyscall(SB)
|
|
+ RET
|
|
+
|
|
+TEXT ·RawSyscall(SB),NOSPLIT,$0-56
|
|
+ JMP syscall·RawSyscall(SB)
|
|
+
|
|
+TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
|
|
+ JMP syscall·RawSyscall6(SB)
|
|
+
|
|
+TEXT ·RawSyscallNoError(SB),NOSPLIT,$0-48
|
|
+ MOVV a1+8(FP), R4
|
|
+ MOVV a2+16(FP), R5
|
|
+ MOVV a3+24(FP), R6
|
|
+ MOVV R0, R7
|
|
+ MOVV R0, R8
|
|
+ MOVV R0, R9
|
|
+ MOVV trap+0(FP), R11 // syscall entry
|
|
+ SYSCALL
|
|
+ MOVV R4, r1+32(FP)
|
|
+ MOVV R0, r2+40(FP) // r2 is not used. Always set to 0
|
|
+ RET
|
|
diff --git a/vendor/golang.org/x/sys/unix/endian_little.go b/vendor/golang.org/x/sys/unix/endian_little.go
|
|
index 4362f47..b0f2bc4 100644
|
|
--- a/vendor/golang.org/x/sys/unix/endian_little.go
|
|
+++ b/vendor/golang.org/x/sys/unix/endian_little.go
|
|
@@ -2,8 +2,8 @@
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
//
|
|
-//go:build 386 || amd64 || amd64p32 || alpha || arm || arm64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh
|
|
-// +build 386 amd64 amd64p32 alpha arm arm64 mipsle mips64le mips64p32le nios2 ppc64le riscv riscv64 sh
|
|
+//go:build 386 || amd64 || amd64p32 || alpha || arm || arm64 || loong64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh
|
|
+// +build 386 amd64 amd64p32 alpha arm arm64 loong64 mipsle mips64le mips64p32le nios2 ppc64le riscv riscv64 sh
|
|
|
|
package unix
|
|
|
|
diff --git a/vendor/golang.org/x/sys/unix/errors_freebsd_386.go b/vendor/golang.org/x/sys/unix/errors_freebsd_386.go
|
|
deleted file mode 100644
|
|
index 761db66..0000000
|
|
--- a/vendor/golang.org/x/sys/unix/errors_freebsd_386.go
|
|
+++ /dev/null
|
|
@@ -1,233 +0,0 @@
|
|
-// Copyright 2017 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.
|
|
-
|
|
-// Constants that were deprecated or moved to enums in the FreeBSD headers. Keep
|
|
-// them here for backwards compatibility.
|
|
-
|
|
-package unix
|
|
-
|
|
-const (
|
|
- DLT_HHDLC = 0x79
|
|
- IFF_SMART = 0x20
|
|
- IFT_1822 = 0x2
|
|
- IFT_A12MPPSWITCH = 0x82
|
|
- IFT_AAL2 = 0xbb
|
|
- IFT_AAL5 = 0x31
|
|
- IFT_ADSL = 0x5e
|
|
- IFT_AFLANE8023 = 0x3b
|
|
- IFT_AFLANE8025 = 0x3c
|
|
- IFT_ARAP = 0x58
|
|
- IFT_ARCNET = 0x23
|
|
- IFT_ARCNETPLUS = 0x24
|
|
- IFT_ASYNC = 0x54
|
|
- IFT_ATM = 0x25
|
|
- IFT_ATMDXI = 0x69
|
|
- IFT_ATMFUNI = 0x6a
|
|
- IFT_ATMIMA = 0x6b
|
|
- IFT_ATMLOGICAL = 0x50
|
|
- IFT_ATMRADIO = 0xbd
|
|
- IFT_ATMSUBINTERFACE = 0x86
|
|
- IFT_ATMVCIENDPT = 0xc2
|
|
- IFT_ATMVIRTUAL = 0x95
|
|
- IFT_BGPPOLICYACCOUNTING = 0xa2
|
|
- IFT_BSC = 0x53
|
|
- IFT_CCTEMUL = 0x3d
|
|
- IFT_CEPT = 0x13
|
|
- IFT_CES = 0x85
|
|
- IFT_CHANNEL = 0x46
|
|
- IFT_CNR = 0x55
|
|
- IFT_COFFEE = 0x84
|
|
- IFT_COMPOSITELINK = 0x9b
|
|
- IFT_DCN = 0x8d
|
|
- IFT_DIGITALPOWERLINE = 0x8a
|
|
- IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
|
|
- IFT_DLSW = 0x4a
|
|
- IFT_DOCSCABLEDOWNSTREAM = 0x80
|
|
- IFT_DOCSCABLEMACLAYER = 0x7f
|
|
- IFT_DOCSCABLEUPSTREAM = 0x81
|
|
- IFT_DS0 = 0x51
|
|
- IFT_DS0BUNDLE = 0x52
|
|
- IFT_DS1FDL = 0xaa
|
|
- IFT_DS3 = 0x1e
|
|
- IFT_DTM = 0x8c
|
|
- IFT_DVBASILN = 0xac
|
|
- IFT_DVBASIOUT = 0xad
|
|
- IFT_DVBRCCDOWNSTREAM = 0x93
|
|
- IFT_DVBRCCMACLAYER = 0x92
|
|
- IFT_DVBRCCUPSTREAM = 0x94
|
|
- IFT_ENC = 0xf4
|
|
- IFT_EON = 0x19
|
|
- IFT_EPLRS = 0x57
|
|
- IFT_ESCON = 0x49
|
|
- IFT_ETHER = 0x6
|
|
- IFT_FAITH = 0xf2
|
|
- IFT_FAST = 0x7d
|
|
- IFT_FASTETHER = 0x3e
|
|
- IFT_FASTETHERFX = 0x45
|
|
- IFT_FDDI = 0xf
|
|
- IFT_FIBRECHANNEL = 0x38
|
|
- IFT_FRAMERELAYINTERCONNECT = 0x3a
|
|
- IFT_FRAMERELAYMPI = 0x5c
|
|
- IFT_FRDLCIENDPT = 0xc1
|
|
- IFT_FRELAY = 0x20
|
|
- IFT_FRELAYDCE = 0x2c
|
|
- IFT_FRF16MFRBUNDLE = 0xa3
|
|
- IFT_FRFORWARD = 0x9e
|
|
- IFT_G703AT2MB = 0x43
|
|
- IFT_G703AT64K = 0x42
|
|
- IFT_GIF = 0xf0
|
|
- IFT_GIGABITETHERNET = 0x75
|
|
- IFT_GR303IDT = 0xb2
|
|
- IFT_GR303RDT = 0xb1
|
|
- IFT_H323GATEKEEPER = 0xa4
|
|
- IFT_H323PROXY = 0xa5
|
|
- IFT_HDH1822 = 0x3
|
|
- IFT_HDLC = 0x76
|
|
- IFT_HDSL2 = 0xa8
|
|
- IFT_HIPERLAN2 = 0xb7
|
|
- IFT_HIPPI = 0x2f
|
|
- IFT_HIPPIINTERFACE = 0x39
|
|
- IFT_HOSTPAD = 0x5a
|
|
- IFT_HSSI = 0x2e
|
|
- IFT_HY = 0xe
|
|
- IFT_IBM370PARCHAN = 0x48
|
|
- IFT_IDSL = 0x9a
|
|
- IFT_IEEE80211 = 0x47
|
|
- IFT_IEEE80212 = 0x37
|
|
- IFT_IEEE8023ADLAG = 0xa1
|
|
- IFT_IFGSN = 0x91
|
|
- IFT_IMT = 0xbe
|
|
- IFT_INTERLEAVE = 0x7c
|
|
- IFT_IP = 0x7e
|
|
- IFT_IPFORWARD = 0x8e
|
|
- IFT_IPOVERATM = 0x72
|
|
- IFT_IPOVERCDLC = 0x6d
|
|
- IFT_IPOVERCLAW = 0x6e
|
|
- IFT_IPSWITCH = 0x4e
|
|
- IFT_IPXIP = 0xf9
|
|
- IFT_ISDN = 0x3f
|
|
- IFT_ISDNBASIC = 0x14
|
|
- IFT_ISDNPRIMARY = 0x15
|
|
- IFT_ISDNS = 0x4b
|
|
- IFT_ISDNU = 0x4c
|
|
- IFT_ISO88022LLC = 0x29
|
|
- IFT_ISO88023 = 0x7
|
|
- IFT_ISO88024 = 0x8
|
|
- IFT_ISO88025 = 0x9
|
|
- IFT_ISO88025CRFPINT = 0x62
|
|
- IFT_ISO88025DTR = 0x56
|
|
- IFT_ISO88025FIBER = 0x73
|
|
- IFT_ISO88026 = 0xa
|
|
- IFT_ISUP = 0xb3
|
|
- IFT_L3IPXVLAN = 0x89
|
|
- IFT_LAPB = 0x10
|
|
- IFT_LAPD = 0x4d
|
|
- IFT_LAPF = 0x77
|
|
- IFT_LOCALTALK = 0x2a
|
|
- IFT_LOOP = 0x18
|
|
- IFT_MEDIAMAILOVERIP = 0x8b
|
|
- IFT_MFSIGLINK = 0xa7
|
|
- IFT_MIOX25 = 0x26
|
|
- IFT_MODEM = 0x30
|
|
- IFT_MPC = 0x71
|
|
- IFT_MPLS = 0xa6
|
|
- IFT_MPLSTUNNEL = 0x96
|
|
- IFT_MSDSL = 0x8f
|
|
- IFT_MVL = 0xbf
|
|
- IFT_MYRINET = 0x63
|
|
- IFT_NFAS = 0xaf
|
|
- IFT_NSIP = 0x1b
|
|
- IFT_OPTICALCHANNEL = 0xc3
|
|
- IFT_OPTICALTRANSPORT = 0xc4
|
|
- IFT_OTHER = 0x1
|
|
- IFT_P10 = 0xc
|
|
- IFT_P80 = 0xd
|
|
- IFT_PARA = 0x22
|
|
- IFT_PFLOG = 0xf6
|
|
- IFT_PFSYNC = 0xf7
|
|
- IFT_PLC = 0xae
|
|
- IFT_POS = 0xab
|
|
- IFT_PPPMULTILINKBUNDLE = 0x6c
|
|
- IFT_PROPBWAP2MP = 0xb8
|
|
- IFT_PROPCNLS = 0x59
|
|
- IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5
|
|
- IFT_PROPDOCSWIRELESSMACLAYER = 0xb4
|
|
- IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6
|
|
- IFT_PROPMUX = 0x36
|
|
- IFT_PROPWIRELESSP2P = 0x9d
|
|
- IFT_PTPSERIAL = 0x16
|
|
- IFT_PVC = 0xf1
|
|
- IFT_QLLC = 0x44
|
|
- IFT_RADIOMAC = 0xbc
|
|
- IFT_RADSL = 0x5f
|
|
- IFT_REACHDSL = 0xc0
|
|
- IFT_RFC1483 = 0x9f
|
|
- IFT_RS232 = 0x21
|
|
- IFT_RSRB = 0x4f
|
|
- IFT_SDLC = 0x11
|
|
- IFT_SDSL = 0x60
|
|
- IFT_SHDSL = 0xa9
|
|
- IFT_SIP = 0x1f
|
|
- IFT_SLIP = 0x1c
|
|
- IFT_SMDSDXI = 0x2b
|
|
- IFT_SMDSICIP = 0x34
|
|
- IFT_SONET = 0x27
|
|
- IFT_SONETOVERHEADCHANNEL = 0xb9
|
|
- IFT_SONETPATH = 0x32
|
|
- IFT_SONETVT = 0x33
|
|
- IFT_SRP = 0x97
|
|
- IFT_SS7SIGLINK = 0x9c
|
|
- IFT_STACKTOSTACK = 0x6f
|
|
- IFT_STARLAN = 0xb
|
|
- IFT_STF = 0xd7
|
|
- IFT_T1 = 0x12
|
|
- IFT_TDLC = 0x74
|
|
- IFT_TERMPAD = 0x5b
|
|
- IFT_TR008 = 0xb0
|
|
- IFT_TRANSPHDLC = 0x7b
|
|
- IFT_TUNNEL = 0x83
|
|
- IFT_ULTRA = 0x1d
|
|
- IFT_USB = 0xa0
|
|
- IFT_V11 = 0x40
|
|
- IFT_V35 = 0x2d
|
|
- IFT_V36 = 0x41
|
|
- IFT_V37 = 0x78
|
|
- IFT_VDSL = 0x61
|
|
- IFT_VIRTUALIPADDRESS = 0x70
|
|
- IFT_VOICEEM = 0x64
|
|
- IFT_VOICEENCAP = 0x67
|
|
- IFT_VOICEFXO = 0x65
|
|
- IFT_VOICEFXS = 0x66
|
|
- IFT_VOICEOVERATM = 0x98
|
|
- IFT_VOICEOVERFRAMERELAY = 0x99
|
|
- IFT_VOICEOVERIP = 0x68
|
|
- IFT_X213 = 0x5d
|
|
- IFT_X25 = 0x5
|
|
- IFT_X25DDN = 0x4
|
|
- IFT_X25HUNTGROUP = 0x7a
|
|
- IFT_X25MLP = 0x79
|
|
- IFT_X25PLE = 0x28
|
|
- IFT_XETHER = 0x1a
|
|
- IPPROTO_MAXID = 0x34
|
|
- IPV6_FAITH = 0x1d
|
|
- IPV6_MIN_MEMBERSHIPS = 0x1f
|
|
- IP_FAITH = 0x16
|
|
- IP_MAX_SOURCE_FILTER = 0x400
|
|
- IP_MIN_MEMBERSHIPS = 0x1f
|
|
- MAP_NORESERVE = 0x40
|
|
- MAP_RENAME = 0x20
|
|
- NET_RT_MAXID = 0x6
|
|
- RTF_PRCLONING = 0x10000
|
|
- RTM_OLDADD = 0x9
|
|
- RTM_OLDDEL = 0xa
|
|
- RT_CACHING_CONTEXT = 0x1
|
|
- RT_NORTREF = 0x2
|
|
- SIOCADDRT = 0x8030720a
|
|
- SIOCALIFADDR = 0x8118691b
|
|
- SIOCDELRT = 0x8030720b
|
|
- SIOCDLIFADDR = 0x8118691d
|
|
- SIOCGLIFADDR = 0xc118691c
|
|
- SIOCGLIFPHYADDR = 0xc118694b
|
|
- SIOCSLIFPHYADDR = 0x8118694a
|
|
-)
|
|
diff --git a/vendor/golang.org/x/sys/unix/errors_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/errors_freebsd_amd64.go
|
|
deleted file mode 100644
|
|
index 070f44b..0000000
|
|
--- a/vendor/golang.org/x/sys/unix/errors_freebsd_amd64.go
|
|
+++ /dev/null
|
|
@@ -1,233 +0,0 @@
|
|
-// Copyright 2017 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.
|
|
-
|
|
-// Constants that were deprecated or moved to enums in the FreeBSD headers. Keep
|
|
-// them here for backwards compatibility.
|
|
-
|
|
-package unix
|
|
-
|
|
-const (
|
|
- DLT_HHDLC = 0x79
|
|
- IFF_SMART = 0x20
|
|
- IFT_1822 = 0x2
|
|
- IFT_A12MPPSWITCH = 0x82
|
|
- IFT_AAL2 = 0xbb
|
|
- IFT_AAL5 = 0x31
|
|
- IFT_ADSL = 0x5e
|
|
- IFT_AFLANE8023 = 0x3b
|
|
- IFT_AFLANE8025 = 0x3c
|
|
- IFT_ARAP = 0x58
|
|
- IFT_ARCNET = 0x23
|
|
- IFT_ARCNETPLUS = 0x24
|
|
- IFT_ASYNC = 0x54
|
|
- IFT_ATM = 0x25
|
|
- IFT_ATMDXI = 0x69
|
|
- IFT_ATMFUNI = 0x6a
|
|
- IFT_ATMIMA = 0x6b
|
|
- IFT_ATMLOGICAL = 0x50
|
|
- IFT_ATMRADIO = 0xbd
|
|
- IFT_ATMSUBINTERFACE = 0x86
|
|
- IFT_ATMVCIENDPT = 0xc2
|
|
- IFT_ATMVIRTUAL = 0x95
|
|
- IFT_BGPPOLICYACCOUNTING = 0xa2
|
|
- IFT_BSC = 0x53
|
|
- IFT_CCTEMUL = 0x3d
|
|
- IFT_CEPT = 0x13
|
|
- IFT_CES = 0x85
|
|
- IFT_CHANNEL = 0x46
|
|
- IFT_CNR = 0x55
|
|
- IFT_COFFEE = 0x84
|
|
- IFT_COMPOSITELINK = 0x9b
|
|
- IFT_DCN = 0x8d
|
|
- IFT_DIGITALPOWERLINE = 0x8a
|
|
- IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
|
|
- IFT_DLSW = 0x4a
|
|
- IFT_DOCSCABLEDOWNSTREAM = 0x80
|
|
- IFT_DOCSCABLEMACLAYER = 0x7f
|
|
- IFT_DOCSCABLEUPSTREAM = 0x81
|
|
- IFT_DS0 = 0x51
|
|
- IFT_DS0BUNDLE = 0x52
|
|
- IFT_DS1FDL = 0xaa
|
|
- IFT_DS3 = 0x1e
|
|
- IFT_DTM = 0x8c
|
|
- IFT_DVBASILN = 0xac
|
|
- IFT_DVBASIOUT = 0xad
|
|
- IFT_DVBRCCDOWNSTREAM = 0x93
|
|
- IFT_DVBRCCMACLAYER = 0x92
|
|
- IFT_DVBRCCUPSTREAM = 0x94
|
|
- IFT_ENC = 0xf4
|
|
- IFT_EON = 0x19
|
|
- IFT_EPLRS = 0x57
|
|
- IFT_ESCON = 0x49
|
|
- IFT_ETHER = 0x6
|
|
- IFT_FAITH = 0xf2
|
|
- IFT_FAST = 0x7d
|
|
- IFT_FASTETHER = 0x3e
|
|
- IFT_FASTETHERFX = 0x45
|
|
- IFT_FDDI = 0xf
|
|
- IFT_FIBRECHANNEL = 0x38
|
|
- IFT_FRAMERELAYINTERCONNECT = 0x3a
|
|
- IFT_FRAMERELAYMPI = 0x5c
|
|
- IFT_FRDLCIENDPT = 0xc1
|
|
- IFT_FRELAY = 0x20
|
|
- IFT_FRELAYDCE = 0x2c
|
|
- IFT_FRF16MFRBUNDLE = 0xa3
|
|
- IFT_FRFORWARD = 0x9e
|
|
- IFT_G703AT2MB = 0x43
|
|
- IFT_G703AT64K = 0x42
|
|
- IFT_GIF = 0xf0
|
|
- IFT_GIGABITETHERNET = 0x75
|
|
- IFT_GR303IDT = 0xb2
|
|
- IFT_GR303RDT = 0xb1
|
|
- IFT_H323GATEKEEPER = 0xa4
|
|
- IFT_H323PROXY = 0xa5
|
|
- IFT_HDH1822 = 0x3
|
|
- IFT_HDLC = 0x76
|
|
- IFT_HDSL2 = 0xa8
|
|
- IFT_HIPERLAN2 = 0xb7
|
|
- IFT_HIPPI = 0x2f
|
|
- IFT_HIPPIINTERFACE = 0x39
|
|
- IFT_HOSTPAD = 0x5a
|
|
- IFT_HSSI = 0x2e
|
|
- IFT_HY = 0xe
|
|
- IFT_IBM370PARCHAN = 0x48
|
|
- IFT_IDSL = 0x9a
|
|
- IFT_IEEE80211 = 0x47
|
|
- IFT_IEEE80212 = 0x37
|
|
- IFT_IEEE8023ADLAG = 0xa1
|
|
- IFT_IFGSN = 0x91
|
|
- IFT_IMT = 0xbe
|
|
- IFT_INTERLEAVE = 0x7c
|
|
- IFT_IP = 0x7e
|
|
- IFT_IPFORWARD = 0x8e
|
|
- IFT_IPOVERATM = 0x72
|
|
- IFT_IPOVERCDLC = 0x6d
|
|
- IFT_IPOVERCLAW = 0x6e
|
|
- IFT_IPSWITCH = 0x4e
|
|
- IFT_IPXIP = 0xf9
|
|
- IFT_ISDN = 0x3f
|
|
- IFT_ISDNBASIC = 0x14
|
|
- IFT_ISDNPRIMARY = 0x15
|
|
- IFT_ISDNS = 0x4b
|
|
- IFT_ISDNU = 0x4c
|
|
- IFT_ISO88022LLC = 0x29
|
|
- IFT_ISO88023 = 0x7
|
|
- IFT_ISO88024 = 0x8
|
|
- IFT_ISO88025 = 0x9
|
|
- IFT_ISO88025CRFPINT = 0x62
|
|
- IFT_ISO88025DTR = 0x56
|
|
- IFT_ISO88025FIBER = 0x73
|
|
- IFT_ISO88026 = 0xa
|
|
- IFT_ISUP = 0xb3
|
|
- IFT_L3IPXVLAN = 0x89
|
|
- IFT_LAPB = 0x10
|
|
- IFT_LAPD = 0x4d
|
|
- IFT_LAPF = 0x77
|
|
- IFT_LOCALTALK = 0x2a
|
|
- IFT_LOOP = 0x18
|
|
- IFT_MEDIAMAILOVERIP = 0x8b
|
|
- IFT_MFSIGLINK = 0xa7
|
|
- IFT_MIOX25 = 0x26
|
|
- IFT_MODEM = 0x30
|
|
- IFT_MPC = 0x71
|
|
- IFT_MPLS = 0xa6
|
|
- IFT_MPLSTUNNEL = 0x96
|
|
- IFT_MSDSL = 0x8f
|
|
- IFT_MVL = 0xbf
|
|
- IFT_MYRINET = 0x63
|
|
- IFT_NFAS = 0xaf
|
|
- IFT_NSIP = 0x1b
|
|
- IFT_OPTICALCHANNEL = 0xc3
|
|
- IFT_OPTICALTRANSPORT = 0xc4
|
|
- IFT_OTHER = 0x1
|
|
- IFT_P10 = 0xc
|
|
- IFT_P80 = 0xd
|
|
- IFT_PARA = 0x22
|
|
- IFT_PFLOG = 0xf6
|
|
- IFT_PFSYNC = 0xf7
|
|
- IFT_PLC = 0xae
|
|
- IFT_POS = 0xab
|
|
- IFT_PPPMULTILINKBUNDLE = 0x6c
|
|
- IFT_PROPBWAP2MP = 0xb8
|
|
- IFT_PROPCNLS = 0x59
|
|
- IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5
|
|
- IFT_PROPDOCSWIRELESSMACLAYER = 0xb4
|
|
- IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6
|
|
- IFT_PROPMUX = 0x36
|
|
- IFT_PROPWIRELESSP2P = 0x9d
|
|
- IFT_PTPSERIAL = 0x16
|
|
- IFT_PVC = 0xf1
|
|
- IFT_QLLC = 0x44
|
|
- IFT_RADIOMAC = 0xbc
|
|
- IFT_RADSL = 0x5f
|
|
- IFT_REACHDSL = 0xc0
|
|
- IFT_RFC1483 = 0x9f
|
|
- IFT_RS232 = 0x21
|
|
- IFT_RSRB = 0x4f
|
|
- IFT_SDLC = 0x11
|
|
- IFT_SDSL = 0x60
|
|
- IFT_SHDSL = 0xa9
|
|
- IFT_SIP = 0x1f
|
|
- IFT_SLIP = 0x1c
|
|
- IFT_SMDSDXI = 0x2b
|
|
- IFT_SMDSICIP = 0x34
|
|
- IFT_SONET = 0x27
|
|
- IFT_SONETOVERHEADCHANNEL = 0xb9
|
|
- IFT_SONETPATH = 0x32
|
|
- IFT_SONETVT = 0x33
|
|
- IFT_SRP = 0x97
|
|
- IFT_SS7SIGLINK = 0x9c
|
|
- IFT_STACKTOSTACK = 0x6f
|
|
- IFT_STARLAN = 0xb
|
|
- IFT_STF = 0xd7
|
|
- IFT_T1 = 0x12
|
|
- IFT_TDLC = 0x74
|
|
- IFT_TERMPAD = 0x5b
|
|
- IFT_TR008 = 0xb0
|
|
- IFT_TRANSPHDLC = 0x7b
|
|
- IFT_TUNNEL = 0x83
|
|
- IFT_ULTRA = 0x1d
|
|
- IFT_USB = 0xa0
|
|
- IFT_V11 = 0x40
|
|
- IFT_V35 = 0x2d
|
|
- IFT_V36 = 0x41
|
|
- IFT_V37 = 0x78
|
|
- IFT_VDSL = 0x61
|
|
- IFT_VIRTUALIPADDRESS = 0x70
|
|
- IFT_VOICEEM = 0x64
|
|
- IFT_VOICEENCAP = 0x67
|
|
- IFT_VOICEFXO = 0x65
|
|
- IFT_VOICEFXS = 0x66
|
|
- IFT_VOICEOVERATM = 0x98
|
|
- IFT_VOICEOVERFRAMERELAY = 0x99
|
|
- IFT_VOICEOVERIP = 0x68
|
|
- IFT_X213 = 0x5d
|
|
- IFT_X25 = 0x5
|
|
- IFT_X25DDN = 0x4
|
|
- IFT_X25HUNTGROUP = 0x7a
|
|
- IFT_X25MLP = 0x79
|
|
- IFT_X25PLE = 0x28
|
|
- IFT_XETHER = 0x1a
|
|
- IPPROTO_MAXID = 0x34
|
|
- IPV6_FAITH = 0x1d
|
|
- IPV6_MIN_MEMBERSHIPS = 0x1f
|
|
- IP_FAITH = 0x16
|
|
- IP_MAX_SOURCE_FILTER = 0x400
|
|
- IP_MIN_MEMBERSHIPS = 0x1f
|
|
- MAP_NORESERVE = 0x40
|
|
- MAP_RENAME = 0x20
|
|
- NET_RT_MAXID = 0x6
|
|
- RTF_PRCLONING = 0x10000
|
|
- RTM_OLDADD = 0x9
|
|
- RTM_OLDDEL = 0xa
|
|
- RT_CACHING_CONTEXT = 0x1
|
|
- RT_NORTREF = 0x2
|
|
- SIOCADDRT = 0x8040720a
|
|
- SIOCALIFADDR = 0x8118691b
|
|
- SIOCDELRT = 0x8040720b
|
|
- SIOCDLIFADDR = 0x8118691d
|
|
- SIOCGLIFADDR = 0xc118691c
|
|
- SIOCGLIFPHYADDR = 0xc118694b
|
|
- SIOCSLIFPHYADDR = 0x8118694a
|
|
-)
|
|
diff --git a/vendor/golang.org/x/sys/unix/errors_freebsd_arm.go b/vendor/golang.org/x/sys/unix/errors_freebsd_arm.go
|
|
deleted file mode 100644
|
|
index 856dca3..0000000
|
|
--- a/vendor/golang.org/x/sys/unix/errors_freebsd_arm.go
|
|
+++ /dev/null
|
|
@@ -1,226 +0,0 @@
|
|
-// Copyright 2017 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
|
|
-
|
|
-const (
|
|
- IFT_1822 = 0x2
|
|
- IFT_A12MPPSWITCH = 0x82
|
|
- IFT_AAL2 = 0xbb
|
|
- IFT_AAL5 = 0x31
|
|
- IFT_ADSL = 0x5e
|
|
- IFT_AFLANE8023 = 0x3b
|
|
- IFT_AFLANE8025 = 0x3c
|
|
- IFT_ARAP = 0x58
|
|
- IFT_ARCNET = 0x23
|
|
- IFT_ARCNETPLUS = 0x24
|
|
- IFT_ASYNC = 0x54
|
|
- IFT_ATM = 0x25
|
|
- IFT_ATMDXI = 0x69
|
|
- IFT_ATMFUNI = 0x6a
|
|
- IFT_ATMIMA = 0x6b
|
|
- IFT_ATMLOGICAL = 0x50
|
|
- IFT_ATMRADIO = 0xbd
|
|
- IFT_ATMSUBINTERFACE = 0x86
|
|
- IFT_ATMVCIENDPT = 0xc2
|
|
- IFT_ATMVIRTUAL = 0x95
|
|
- IFT_BGPPOLICYACCOUNTING = 0xa2
|
|
- IFT_BSC = 0x53
|
|
- IFT_CCTEMUL = 0x3d
|
|
- IFT_CEPT = 0x13
|
|
- IFT_CES = 0x85
|
|
- IFT_CHANNEL = 0x46
|
|
- IFT_CNR = 0x55
|
|
- IFT_COFFEE = 0x84
|
|
- IFT_COMPOSITELINK = 0x9b
|
|
- IFT_DCN = 0x8d
|
|
- IFT_DIGITALPOWERLINE = 0x8a
|
|
- IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
|
|
- IFT_DLSW = 0x4a
|
|
- IFT_DOCSCABLEDOWNSTREAM = 0x80
|
|
- IFT_DOCSCABLEMACLAYER = 0x7f
|
|
- IFT_DOCSCABLEUPSTREAM = 0x81
|
|
- IFT_DS0 = 0x51
|
|
- IFT_DS0BUNDLE = 0x52
|
|
- IFT_DS1FDL = 0xaa
|
|
- IFT_DS3 = 0x1e
|
|
- IFT_DTM = 0x8c
|
|
- IFT_DVBASILN = 0xac
|
|
- IFT_DVBASIOUT = 0xad
|
|
- IFT_DVBRCCDOWNSTREAM = 0x93
|
|
- IFT_DVBRCCMACLAYER = 0x92
|
|
- IFT_DVBRCCUPSTREAM = 0x94
|
|
- IFT_ENC = 0xf4
|
|
- IFT_EON = 0x19
|
|
- IFT_EPLRS = 0x57
|
|
- IFT_ESCON = 0x49
|
|
- IFT_ETHER = 0x6
|
|
- IFT_FAST = 0x7d
|
|
- IFT_FASTETHER = 0x3e
|
|
- IFT_FASTETHERFX = 0x45
|
|
- IFT_FDDI = 0xf
|
|
- IFT_FIBRECHANNEL = 0x38
|
|
- IFT_FRAMERELAYINTERCONNECT = 0x3a
|
|
- IFT_FRAMERELAYMPI = 0x5c
|
|
- IFT_FRDLCIENDPT = 0xc1
|
|
- IFT_FRELAY = 0x20
|
|
- IFT_FRELAYDCE = 0x2c
|
|
- IFT_FRF16MFRBUNDLE = 0xa3
|
|
- IFT_FRFORWARD = 0x9e
|
|
- IFT_G703AT2MB = 0x43
|
|
- IFT_G703AT64K = 0x42
|
|
- IFT_GIF = 0xf0
|
|
- IFT_GIGABITETHERNET = 0x75
|
|
- IFT_GR303IDT = 0xb2
|
|
- IFT_GR303RDT = 0xb1
|
|
- IFT_H323GATEKEEPER = 0xa4
|
|
- IFT_H323PROXY = 0xa5
|
|
- IFT_HDH1822 = 0x3
|
|
- IFT_HDLC = 0x76
|
|
- IFT_HDSL2 = 0xa8
|
|
- IFT_HIPERLAN2 = 0xb7
|
|
- IFT_HIPPI = 0x2f
|
|
- IFT_HIPPIINTERFACE = 0x39
|
|
- IFT_HOSTPAD = 0x5a
|
|
- IFT_HSSI = 0x2e
|
|
- IFT_HY = 0xe
|
|
- IFT_IBM370PARCHAN = 0x48
|
|
- IFT_IDSL = 0x9a
|
|
- IFT_IEEE80211 = 0x47
|
|
- IFT_IEEE80212 = 0x37
|
|
- IFT_IEEE8023ADLAG = 0xa1
|
|
- IFT_IFGSN = 0x91
|
|
- IFT_IMT = 0xbe
|
|
- IFT_INTERLEAVE = 0x7c
|
|
- IFT_IP = 0x7e
|
|
- IFT_IPFORWARD = 0x8e
|
|
- IFT_IPOVERATM = 0x72
|
|
- IFT_IPOVERCDLC = 0x6d
|
|
- IFT_IPOVERCLAW = 0x6e
|
|
- IFT_IPSWITCH = 0x4e
|
|
- IFT_ISDN = 0x3f
|
|
- IFT_ISDNBASIC = 0x14
|
|
- IFT_ISDNPRIMARY = 0x15
|
|
- IFT_ISDNS = 0x4b
|
|
- IFT_ISDNU = 0x4c
|
|
- IFT_ISO88022LLC = 0x29
|
|
- IFT_ISO88023 = 0x7
|
|
- IFT_ISO88024 = 0x8
|
|
- IFT_ISO88025 = 0x9
|
|
- IFT_ISO88025CRFPINT = 0x62
|
|
- IFT_ISO88025DTR = 0x56
|
|
- IFT_ISO88025FIBER = 0x73
|
|
- IFT_ISO88026 = 0xa
|
|
- IFT_ISUP = 0xb3
|
|
- IFT_L3IPXVLAN = 0x89
|
|
- IFT_LAPB = 0x10
|
|
- IFT_LAPD = 0x4d
|
|
- IFT_LAPF = 0x77
|
|
- IFT_LOCALTALK = 0x2a
|
|
- IFT_LOOP = 0x18
|
|
- IFT_MEDIAMAILOVERIP = 0x8b
|
|
- IFT_MFSIGLINK = 0xa7
|
|
- IFT_MIOX25 = 0x26
|
|
- IFT_MODEM = 0x30
|
|
- IFT_MPC = 0x71
|
|
- IFT_MPLS = 0xa6
|
|
- IFT_MPLSTUNNEL = 0x96
|
|
- IFT_MSDSL = 0x8f
|
|
- IFT_MVL = 0xbf
|
|
- IFT_MYRINET = 0x63
|
|
- IFT_NFAS = 0xaf
|
|
- IFT_NSIP = 0x1b
|
|
- IFT_OPTICALCHANNEL = 0xc3
|
|
- IFT_OPTICALTRANSPORT = 0xc4
|
|
- IFT_OTHER = 0x1
|
|
- IFT_P10 = 0xc
|
|
- IFT_P80 = 0xd
|
|
- IFT_PARA = 0x22
|
|
- IFT_PFLOG = 0xf6
|
|
- IFT_PFSYNC = 0xf7
|
|
- IFT_PLC = 0xae
|
|
- IFT_POS = 0xab
|
|
- IFT_PPPMULTILINKBUNDLE = 0x6c
|
|
- IFT_PROPBWAP2MP = 0xb8
|
|
- IFT_PROPCNLS = 0x59
|
|
- IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5
|
|
- IFT_PROPDOCSWIRELESSMACLAYER = 0xb4
|
|
- IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6
|
|
- IFT_PROPMUX = 0x36
|
|
- IFT_PROPWIRELESSP2P = 0x9d
|
|
- IFT_PTPSERIAL = 0x16
|
|
- IFT_PVC = 0xf1
|
|
- IFT_QLLC = 0x44
|
|
- IFT_RADIOMAC = 0xbc
|
|
- IFT_RADSL = 0x5f
|
|
- IFT_REACHDSL = 0xc0
|
|
- IFT_RFC1483 = 0x9f
|
|
- IFT_RS232 = 0x21
|
|
- IFT_RSRB = 0x4f
|
|
- IFT_SDLC = 0x11
|
|
- IFT_SDSL = 0x60
|
|
- IFT_SHDSL = 0xa9
|
|
- IFT_SIP = 0x1f
|
|
- IFT_SLIP = 0x1c
|
|
- IFT_SMDSDXI = 0x2b
|
|
- IFT_SMDSICIP = 0x34
|
|
- IFT_SONET = 0x27
|
|
- IFT_SONETOVERHEADCHANNEL = 0xb9
|
|
- IFT_SONETPATH = 0x32
|
|
- IFT_SONETVT = 0x33
|
|
- IFT_SRP = 0x97
|
|
- IFT_SS7SIGLINK = 0x9c
|
|
- IFT_STACKTOSTACK = 0x6f
|
|
- IFT_STARLAN = 0xb
|
|
- IFT_STF = 0xd7
|
|
- IFT_T1 = 0x12
|
|
- IFT_TDLC = 0x74
|
|
- IFT_TERMPAD = 0x5b
|
|
- IFT_TR008 = 0xb0
|
|
- IFT_TRANSPHDLC = 0x7b
|
|
- IFT_TUNNEL = 0x83
|
|
- IFT_ULTRA = 0x1d
|
|
- IFT_USB = 0xa0
|
|
- IFT_V11 = 0x40
|
|
- IFT_V35 = 0x2d
|
|
- IFT_V36 = 0x41
|
|
- IFT_V37 = 0x78
|
|
- IFT_VDSL = 0x61
|
|
- IFT_VIRTUALIPADDRESS = 0x70
|
|
- IFT_VOICEEM = 0x64
|
|
- IFT_VOICEENCAP = 0x67
|
|
- IFT_VOICEFXO = 0x65
|
|
- IFT_VOICEFXS = 0x66
|
|
- IFT_VOICEOVERATM = 0x98
|
|
- IFT_VOICEOVERFRAMERELAY = 0x99
|
|
- IFT_VOICEOVERIP = 0x68
|
|
- IFT_X213 = 0x5d
|
|
- IFT_X25 = 0x5
|
|
- IFT_X25DDN = 0x4
|
|
- IFT_X25HUNTGROUP = 0x7a
|
|
- IFT_X25MLP = 0x79
|
|
- IFT_X25PLE = 0x28
|
|
- IFT_XETHER = 0x1a
|
|
-
|
|
- // missing constants on FreeBSD-11.1-RELEASE, copied from old values in ztypes_freebsd_arm.go
|
|
- IFF_SMART = 0x20
|
|
- IFT_FAITH = 0xf2
|
|
- IFT_IPXIP = 0xf9
|
|
- IPPROTO_MAXID = 0x34
|
|
- IPV6_FAITH = 0x1d
|
|
- IP_FAITH = 0x16
|
|
- MAP_NORESERVE = 0x40
|
|
- MAP_RENAME = 0x20
|
|
- NET_RT_MAXID = 0x6
|
|
- RTF_PRCLONING = 0x10000
|
|
- RTM_OLDADD = 0x9
|
|
- RTM_OLDDEL = 0xa
|
|
- SIOCADDRT = 0x8030720a
|
|
- SIOCALIFADDR = 0x8118691b
|
|
- SIOCDELRT = 0x8030720b
|
|
- SIOCDLIFADDR = 0x8118691d
|
|
- SIOCGLIFADDR = 0xc118691c
|
|
- SIOCGLIFPHYADDR = 0xc118694b
|
|
- SIOCSLIFPHYADDR = 0x8118694a
|
|
-)
|
|
diff --git a/vendor/golang.org/x/sys/unix/errors_freebsd_arm64.go b/vendor/golang.org/x/sys/unix/errors_freebsd_arm64.go
|
|
deleted file mode 100644
|
|
index 946dcf3..0000000
|
|
--- a/vendor/golang.org/x/sys/unix/errors_freebsd_arm64.go
|
|
+++ /dev/null
|
|
@@ -1,17 +0,0 @@
|
|
-// Copyright 2020 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.
|
|
-
|
|
-// Constants that were deprecated or moved to enums in the FreeBSD headers. Keep
|
|
-// them here for backwards compatibility.
|
|
-
|
|
-package unix
|
|
-
|
|
-const (
|
|
- DLT_HHDLC = 0x79
|
|
- IPV6_MIN_MEMBERSHIPS = 0x1f
|
|
- IP_MAX_SOURCE_FILTER = 0x400
|
|
- IP_MIN_MEMBERSHIPS = 0x1f
|
|
- RT_CACHING_CONTEXT = 0x1
|
|
- RT_NORTREF = 0x2
|
|
-)
|
|
diff --git a/vendor/golang.org/x/sys/unix/ifreq_linux.go b/vendor/golang.org/x/sys/unix/ifreq_linux.go
|
|
index 934af31..15721a5 100644
|
|
--- a/vendor/golang.org/x/sys/unix/ifreq_linux.go
|
|
+++ b/vendor/golang.org/x/sys/unix/ifreq_linux.go
|
|
@@ -8,7 +8,6 @@
|
|
package unix
|
|
|
|
import (
|
|
- "bytes"
|
|
"unsafe"
|
|
)
|
|
|
|
@@ -45,13 +44,7 @@ func NewIfreq(name string) (*Ifreq, error) {
|
|
|
|
// 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])
|
|
+ return ByteSliceToString(ifr.raw.Ifrn[:])
|
|
}
|
|
|
|
// According to netdevice(7), only AF_INET addresses are returned for numerous
|
|
diff --git a/vendor/golang.org/x/sys/unix/ioctl_linux.go b/vendor/golang.org/x/sys/unix/ioctl_linux.go
|
|
index 1dadead..0d12c08 100644
|
|
--- a/vendor/golang.org/x/sys/unix/ioctl_linux.go
|
|
+++ b/vendor/golang.org/x/sys/unix/ioctl_linux.go
|
|
@@ -4,9 +4,7 @@
|
|
|
|
package unix
|
|
|
|
-import (
|
|
- "unsafe"
|
|
-)
|
|
+import "unsafe"
|
|
|
|
// IoctlRetInt performs an ioctl operation specified by req on a device
|
|
// associated with opened file descriptor fd, and returns a non-negative
|
|
@@ -194,3 +192,42 @@ func ioctlIfreqData(fd int, req uint, value *ifreqData) error {
|
|
// identical so pass *IfreqData directly.
|
|
return ioctlPtr(fd, req, unsafe.Pointer(value))
|
|
}
|
|
+
|
|
+// IoctlKCMClone attaches a new file descriptor to a multiplexor by cloning an
|
|
+// existing KCM socket, returning a structure containing the file descriptor of
|
|
+// the new socket.
|
|
+func IoctlKCMClone(fd int) (*KCMClone, error) {
|
|
+ var info KCMClone
|
|
+ if err := ioctlPtr(fd, SIOCKCMCLONE, unsafe.Pointer(&info)); err != nil {
|
|
+ return nil, err
|
|
+ }
|
|
+
|
|
+ return &info, nil
|
|
+}
|
|
+
|
|
+// IoctlKCMAttach attaches a TCP socket and associated BPF program file
|
|
+// descriptor to a multiplexor.
|
|
+func IoctlKCMAttach(fd int, info KCMAttach) error {
|
|
+ return ioctlPtr(fd, SIOCKCMATTACH, unsafe.Pointer(&info))
|
|
+}
|
|
+
|
|
+// IoctlKCMUnattach unattaches a TCP socket file descriptor from a multiplexor.
|
|
+func IoctlKCMUnattach(fd int, info KCMUnattach) error {
|
|
+ return ioctlPtr(fd, SIOCKCMUNATTACH, unsafe.Pointer(&info))
|
|
+}
|
|
+
|
|
+// IoctlLoopGetStatus64 gets the status of the loop device associated with the
|
|
+// file descriptor fd using the LOOP_GET_STATUS64 operation.
|
|
+func IoctlLoopGetStatus64(fd int) (*LoopInfo64, error) {
|
|
+ var value LoopInfo64
|
|
+ if err := ioctlPtr(fd, LOOP_GET_STATUS64, unsafe.Pointer(&value)); err != nil {
|
|
+ return nil, err
|
|
+ }
|
|
+ return &value, nil
|
|
+}
|
|
+
|
|
+// IoctlLoopSetStatus64 sets the status of the loop device associated with the
|
|
+// file descriptor fd using the LOOP_SET_STATUS64 operation.
|
|
+func IoctlLoopSetStatus64(fd int, value *LoopInfo64) error {
|
|
+ return ioctlPtr(fd, LOOP_SET_STATUS64, unsafe.Pointer(value))
|
|
+}
|
|
diff --git a/vendor/golang.org/x/sys/unix/mkall.sh b/vendor/golang.org/x/sys/unix/mkall.sh
|
|
index ee73623..3b2335d 100644
|
|
--- a/vendor/golang.org/x/sys/unix/mkall.sh
|
|
+++ b/vendor/golang.org/x/sys/unix/mkall.sh
|
|
@@ -73,12 +73,12 @@ aix_ppc64)
|
|
darwin_amd64)
|
|
mkerrors="$mkerrors -m64"
|
|
mktypes="GOARCH=$GOARCH go tool cgo -godefs"
|
|
- mkasm="go run mkasm_darwin.go"
|
|
+ mkasm="go run mkasm.go"
|
|
;;
|
|
darwin_arm64)
|
|
mkerrors="$mkerrors -m64"
|
|
mktypes="GOARCH=$GOARCH go tool cgo -godefs"
|
|
- mkasm="go run mkasm_darwin.go"
|
|
+ mkasm="go run mkasm.go"
|
|
;;
|
|
dragonfly_amd64)
|
|
mkerrors="$mkerrors -m64"
|
|
@@ -89,25 +89,30 @@ dragonfly_amd64)
|
|
freebsd_386)
|
|
mkerrors="$mkerrors -m32"
|
|
mksyscall="go run mksyscall.go -l32"
|
|
- mksysnum="go run mksysnum.go 'https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master'"
|
|
+ mksysnum="go run mksysnum.go 'https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12'"
|
|
mktypes="GOARCH=$GOARCH go tool cgo -godefs"
|
|
;;
|
|
freebsd_amd64)
|
|
mkerrors="$mkerrors -m64"
|
|
- mksysnum="go run mksysnum.go 'https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master'"
|
|
+ mksysnum="go run mksysnum.go 'https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12'"
|
|
mktypes="GOARCH=$GOARCH go tool cgo -godefs"
|
|
;;
|
|
freebsd_arm)
|
|
mkerrors="$mkerrors"
|
|
mksyscall="go run mksyscall.go -l32 -arm"
|
|
- mksysnum="go run mksysnum.go 'https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master'"
|
|
+ mksysnum="go run mksysnum.go 'https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12'"
|
|
# Let the type of C char be signed for making the bare syscall
|
|
# API consistent across platforms.
|
|
mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char"
|
|
;;
|
|
freebsd_arm64)
|
|
mkerrors="$mkerrors -m64"
|
|
- mksysnum="go run mksysnum.go 'https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master'"
|
|
+ mksysnum="go run mksysnum.go 'https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12'"
|
|
+ mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char"
|
|
+ ;;
|
|
+freebsd_riscv64)
|
|
+ mkerrors="$mkerrors -m64"
|
|
+ mksysnum="go run mksysnum.go 'https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12'"
|
|
mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char"
|
|
;;
|
|
netbsd_386)
|
|
@@ -137,33 +142,33 @@ netbsd_arm64)
|
|
mktypes="GOARCH=$GOARCH go tool cgo -godefs"
|
|
;;
|
|
openbsd_386)
|
|
+ mkasm="go run mkasm.go"
|
|
mkerrors="$mkerrors -m32"
|
|
- mksyscall="go run mksyscall.go -l32 -openbsd"
|
|
+ mksyscall="go run mksyscall.go -l32 -openbsd -libc"
|
|
mksysctl="go run mksysctl_openbsd.go"
|
|
- mksysnum="go run mksysnum.go 'https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master'"
|
|
mktypes="GOARCH=$GOARCH go tool cgo -godefs"
|
|
;;
|
|
openbsd_amd64)
|
|
+ mkasm="go run mkasm.go"
|
|
mkerrors="$mkerrors -m64"
|
|
- mksyscall="go run mksyscall.go -openbsd"
|
|
+ mksyscall="go run mksyscall.go -openbsd -libc"
|
|
mksysctl="go run mksysctl_openbsd.go"
|
|
- mksysnum="go run mksysnum.go 'https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master'"
|
|
mktypes="GOARCH=$GOARCH go tool cgo -godefs"
|
|
;;
|
|
openbsd_arm)
|
|
+ mkasm="go run mkasm.go"
|
|
mkerrors="$mkerrors"
|
|
- mksyscall="go run mksyscall.go -l32 -openbsd -arm"
|
|
+ mksyscall="go run mksyscall.go -l32 -openbsd -arm -libc"
|
|
mksysctl="go run mksysctl_openbsd.go"
|
|
- mksysnum="go run mksysnum.go 'https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master'"
|
|
# Let the type of C char be signed for making the bare syscall
|
|
# API consistent across platforms.
|
|
mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char"
|
|
;;
|
|
openbsd_arm64)
|
|
+ mkasm="go run mkasm.go"
|
|
mkerrors="$mkerrors -m64"
|
|
- mksyscall="go run mksyscall.go -openbsd"
|
|
+ mksyscall="go run mksyscall.go -openbsd -libc"
|
|
mksysctl="go run mksysctl_openbsd.go"
|
|
- mksysnum="go run mksysnum.go 'https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master'"
|
|
# Let the type of C char be signed for making the bare syscall
|
|
# API consistent across platforms.
|
|
mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char"
|
|
@@ -227,5 +232,5 @@ esac
|
|
if [ -n "$mksysctl" ]; then echo "$mksysctl |gofmt >$zsysctl"; fi
|
|
if [ -n "$mksysnum" ]; then echo "$mksysnum |gofmt >zsysnum_$GOOSARCH.go"; fi
|
|
if [ -n "$mktypes" ]; then echo "$mktypes types_$GOOS.go | go run mkpost.go > ztypes_$GOOSARCH.go"; fi
|
|
- if [ -n "$mkasm" ]; then echo "$mkasm $GOARCH"; fi
|
|
+ if [ -n "$mkasm" ]; then echo "$mkasm $GOOS $GOARCH"; fi
|
|
) | $run
|
|
diff --git a/vendor/golang.org/x/sys/unix/mkerrors.sh b/vendor/golang.org/x/sys/unix/mkerrors.sh
|
|
index 4945739..2ab44aa 100644
|
|
--- a/vendor/golang.org/x/sys/unix/mkerrors.sh
|
|
+++ b/vendor/golang.org/x/sys/unix/mkerrors.sh
|
|
@@ -128,6 +128,7 @@ includes_FreeBSD='
|
|
#include <sys/mount.h>
|
|
#include <sys/wait.h>
|
|
#include <sys/ioctl.h>
|
|
+#include <sys/ptrace.h>
|
|
#include <net/bpf.h>
|
|
#include <net/if.h>
|
|
#include <net/if_types.h>
|
|
@@ -202,9 +203,11 @@ struct ltchars {
|
|
#include <sys/timerfd.h>
|
|
#include <sys/uio.h>
|
|
#include <sys/xattr.h>
|
|
+#include <linux/audit.h>
|
|
#include <linux/bpf.h>
|
|
#include <linux/can.h>
|
|
#include <linux/can/error.h>
|
|
+#include <linux/can/netlink.h>
|
|
#include <linux/can/raw.h>
|
|
#include <linux/capability.h>
|
|
#include <linux/cryptouser.h>
|
|
@@ -214,6 +217,7 @@ struct ltchars {
|
|
#include <linux/ethtool_netlink.h>
|
|
#include <linux/falloc.h>
|
|
#include <linux/fanotify.h>
|
|
+#include <linux/fib_rules.h>
|
|
#include <linux/filter.h>
|
|
#include <linux/fs.h>
|
|
#include <linux/fscrypt.h>
|
|
@@ -231,6 +235,7 @@ struct ltchars {
|
|
#include <linux/if_packet.h>
|
|
#include <linux/if_xdp.h>
|
|
#include <linux/input.h>
|
|
+#include <linux/kcm.h>
|
|
#include <linux/kexec.h>
|
|
#include <linux/keyctl.h>
|
|
#include <linux/landlock.h>
|
|
@@ -261,6 +266,7 @@ struct ltchars {
|
|
#include <linux/vm_sockets.h>
|
|
#include <linux/wait.h>
|
|
#include <linux/watchdog.h>
|
|
+#include <linux/wireguard.h>
|
|
|
|
#include <mtd/ubi-user.h>
|
|
#include <mtd/mtd-user.h>
|
|
@@ -291,6 +297,10 @@ struct ltchars {
|
|
#define SOL_NETLINK 270
|
|
#endif
|
|
|
|
+#ifndef SOL_SMC
|
|
+#define SOL_SMC 286
|
|
+#endif
|
|
+
|
|
#ifdef SOL_BLUETOOTH
|
|
// SPARC includes this in /usr/include/sparc64-linux-gnu/bits/socket.h
|
|
// but it is already in bluetooth_linux.go
|
|
@@ -502,6 +512,7 @@ ccflags="$@"
|
|
$2 ~ /^O?XTABS$/ ||
|
|
$2 ~ /^TC[IO](ON|OFF)$/ ||
|
|
$2 ~ /^IN_/ ||
|
|
+ $2 ~ /^KCM/ ||
|
|
$2 ~ /^LANDLOCK_/ ||
|
|
$2 ~ /^LOCK_(SH|EX|NB|UN)$/ ||
|
|
$2 ~ /^LO_(KEY|NAME)_SIZE$/ ||
|
|
@@ -524,7 +535,7 @@ ccflags="$@"
|
|
$2 ~ /^(MS|MNT|MOUNT|UMOUNT)_/ ||
|
|
$2 ~ /^NS_GET_/ ||
|
|
$2 ~ /^TUN(SET|GET|ATTACH|DETACH)/ ||
|
|
- $2 ~ /^(O|F|[ES]?FD|NAME|S|PTRACE|PT|TFD)_/ ||
|
|
+ $2 ~ /^(O|F|[ES]?FD|NAME|S|PTRACE|PT|PIOD|TFD)_/ ||
|
|
$2 ~ /^KEXEC_/ ||
|
|
$2 ~ /^LINUX_REBOOT_CMD_/ ||
|
|
$2 ~ /^LINUX_REBOOT_MAGIC[12]$/ ||
|
|
@@ -548,6 +559,7 @@ ccflags="$@"
|
|
$2 ~ /^CLONE_[A-Z_]+/ ||
|
|
$2 !~ /^(BPF_TIMEVAL|BPF_FIB_LOOKUP_[A-Z]+)$/ &&
|
|
$2 ~ /^(BPF|DLT)_/ ||
|
|
+ $2 ~ /^AUDIT_/ ||
|
|
$2 ~ /^(CLOCK|TIMER)_/ ||
|
|
$2 ~ /^CAN_/ ||
|
|
$2 ~ /^CAP_/ ||
|
|
@@ -570,7 +582,6 @@ ccflags="$@"
|
|
$2 ~ /^SEEK_/ ||
|
|
$2 ~ /^SPLICE_/ ||
|
|
$2 ~ /^SYNC_FILE_RANGE_/ ||
|
|
- $2 !~ /^AUDIT_RECORD_MAGIC/ &&
|
|
$2 !~ /IOC_MAGIC/ &&
|
|
$2 ~ /^[A-Z][A-Z0-9_]+_MAGIC2?$/ ||
|
|
$2 ~ /^(VM|VMADDR)_/ ||
|
|
@@ -596,8 +607,10 @@ ccflags="$@"
|
|
$2 ~ /^DEVLINK_/ ||
|
|
$2 ~ /^ETHTOOL_/ ||
|
|
$2 ~ /^LWTUNNEL_IP/ ||
|
|
+ $2 ~ /^ITIMER_/ ||
|
|
$2 !~ "WMESGLEN" &&
|
|
$2 ~ /^W[A-Z0-9]+$/ ||
|
|
+ $2 ~ /^P_/ ||
|
|
$2 ~/^PPPIOC/ ||
|
|
$2 ~ /^FAN_|FANOTIFY_/ ||
|
|
$2 == "HID_MAX_DESCRIPTOR_SIZE" ||
|
|
@@ -606,6 +619,8 @@ ccflags="$@"
|
|
$2 ~ /^MTD/ ||
|
|
$2 ~ /^OTP/ ||
|
|
$2 ~ /^MEM/ ||
|
|
+ $2 ~ /^WG/ ||
|
|
+ $2 ~ /^FIB_RULE_/ ||
|
|
$2 ~ /^BLK[A-Z]*(GET$|SET$|BUF$|PART$|SIZE)/ {printf("\t%s = C.%s\n", $2, $2)}
|
|
$2 ~ /^__WCOREFLAG$/ {next}
|
|
$2 ~ /^__W[A-Z0-9]+$/ {printf("\t%s = C.%s\n", substr($2,3), $2)}
|
|
diff --git a/vendor/golang.org/x/sys/unix/str.go b/vendor/golang.org/x/sys/unix/str.go
|
|
deleted file mode 100644
|
|
index 8ba89ed..0000000
|
|
--- a/vendor/golang.org/x/sys/unix/str.go
|
|
+++ /dev/null
|
|
@@ -1,27 +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 aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
|
|
-// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
|
|
-
|
|
-package unix
|
|
-
|
|
-func itoa(val int) string { // do it here rather than with fmt to avoid dependency
|
|
- if val < 0 {
|
|
- return "-" + uitoa(uint(-val))
|
|
- }
|
|
- return uitoa(uint(val))
|
|
-}
|
|
-
|
|
-func uitoa(val uint) string {
|
|
- var buf [32]byte // big enough for int64
|
|
- i := len(buf) - 1
|
|
- for val >= 10 {
|
|
- buf[i] = byte(val%10 + '0')
|
|
- i--
|
|
- val /= 10
|
|
- }
|
|
- buf[i] = byte(val + '0')
|
|
- return string(buf[i:])
|
|
-}
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_aix.go b/vendor/golang.org/x/sys/unix/syscall_aix.go
|
|
index 6192750..2db1b51 100644
|
|
--- a/vendor/golang.org/x/sys/unix/syscall_aix.go
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_aix.go
|
|
@@ -37,6 +37,7 @@ func Creat(path string, mode uint32) (fd int, err error) {
|
|
}
|
|
|
|
//sys utimes(path string, times *[2]Timeval) (err error)
|
|
+
|
|
func Utimes(path string, tv []Timeval) error {
|
|
if len(tv) != 2 {
|
|
return EINVAL
|
|
@@ -45,6 +46,7 @@ func Utimes(path string, tv []Timeval) error {
|
|
}
|
|
|
|
//sys utimensat(dirfd int, path string, times *[2]Timespec, flag int) (err error)
|
|
+
|
|
func UtimesNano(path string, ts []Timespec) error {
|
|
if len(ts) != 2 {
|
|
return EINVAL
|
|
@@ -215,20 +217,63 @@ func Accept(fd int) (nfd int, sa Sockaddr, err error) {
|
|
return
|
|
}
|
|
|
|
-func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) {
|
|
- // Recvmsg not implemented on AIX
|
|
- sa := new(SockaddrUnix)
|
|
- return -1, -1, -1, sa, ENOSYS
|
|
-}
|
|
-
|
|
-func Sendmsg(fd int, p, oob []byte, to Sockaddr, flags int) (err error) {
|
|
- _, err = SendmsgN(fd, p, oob, to, flags)
|
|
+func recvmsgRaw(fd int, iov []Iovec, oob []byte, flags int, rsa *RawSockaddrAny) (n, oobn int, recvflags int, err error) {
|
|
+ var msg Msghdr
|
|
+ msg.Name = (*byte)(unsafe.Pointer(rsa))
|
|
+ msg.Namelen = uint32(SizeofSockaddrAny)
|
|
+ var dummy byte
|
|
+ if len(oob) > 0 {
|
|
+ // receive at least one normal byte
|
|
+ if emptyIovecs(iov) {
|
|
+ var iova [1]Iovec
|
|
+ iova[0].Base = &dummy
|
|
+ iova[0].SetLen(1)
|
|
+ iov = iova[:]
|
|
+ }
|
|
+ msg.Control = (*byte)(unsafe.Pointer(&oob[0]))
|
|
+ msg.SetControllen(len(oob))
|
|
+ }
|
|
+ if len(iov) > 0 {
|
|
+ msg.Iov = &iov[0]
|
|
+ msg.SetIovlen(len(iov))
|
|
+ }
|
|
+ if n, err = recvmsg(fd, &msg, flags); n == -1 {
|
|
+ return
|
|
+ }
|
|
+ oobn = int(msg.Controllen)
|
|
+ recvflags = int(msg.Flags)
|
|
return
|
|
}
|
|
|
|
-func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error) {
|
|
- // SendmsgN not implemented on AIX
|
|
- return -1, ENOSYS
|
|
+func sendmsgN(fd int, iov []Iovec, oob []byte, ptr unsafe.Pointer, salen _Socklen, flags int) (n int, err error) {
|
|
+ var msg Msghdr
|
|
+ msg.Name = (*byte)(unsafe.Pointer(ptr))
|
|
+ msg.Namelen = uint32(salen)
|
|
+ var dummy byte
|
|
+ var empty bool
|
|
+ if len(oob) > 0 {
|
|
+ // send at least one normal byte
|
|
+ empty = emptyIovecs(iov)
|
|
+ if empty {
|
|
+ var iova [1]Iovec
|
|
+ iova[0].Base = &dummy
|
|
+ iova[0].SetLen(1)
|
|
+ iov = iova[:]
|
|
+ }
|
|
+ msg.Control = (*byte)(unsafe.Pointer(&oob[0]))
|
|
+ msg.SetControllen(len(oob))
|
|
+ }
|
|
+ if len(iov) > 0 {
|
|
+ msg.Iov = &iov[0]
|
|
+ msg.SetIovlen(len(iov))
|
|
+ }
|
|
+ if n, err = sendmsg(fd, &msg, flags); err != nil {
|
|
+ return 0, err
|
|
+ }
|
|
+ if len(oob) > 0 && empty {
|
|
+ n = 0
|
|
+ }
|
|
+ return n, nil
|
|
}
|
|
|
|
func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) {
|
|
@@ -306,11 +351,13 @@ func direntNamlen(buf []byte) (uint64, bool) {
|
|
}
|
|
|
|
//sys getdirent(fd int, buf []byte) (n int, err error)
|
|
+
|
|
func Getdents(fd int, buf []byte) (n int, err error) {
|
|
return getdirent(fd, buf)
|
|
}
|
|
|
|
//sys wait4(pid Pid_t, status *_C_int, options int, rusage *Rusage) (wpid Pid_t, err error)
|
|
+
|
|
func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) {
|
|
var status _C_int
|
|
var r Pid_t
|
|
@@ -378,6 +425,7 @@ func (w WaitStatus) TrapCause() int { return -1 }
|
|
//sys fcntl(fd int, cmd int, arg int) (val int, err error)
|
|
|
|
//sys fsyncRange(fd int, how int, start int64, length int64) (err error) = fsync_range
|
|
+
|
|
func Fsync(fd int) error {
|
|
return fsyncRange(fd, O_SYNC, 0, 0)
|
|
}
|
|
@@ -458,8 +506,8 @@ func Fsync(fd int) error {
|
|
//sys Listen(s int, n int) (err error)
|
|
//sys lstat(path string, stat *Stat_t) (err error)
|
|
//sys Pause() (err error)
|
|
-//sys Pread(fd int, p []byte, offset int64) (n int, err error) = pread64
|
|
-//sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = pwrite64
|
|
+//sys pread(fd int, p []byte, offset int64) (n int, err error) = pread64
|
|
+//sys pwrite(fd int, p []byte, offset int64) (n int, err error) = pwrite64
|
|
//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
|
|
//sys Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error)
|
|
//sysnb Setregid(rgid int, egid int) (err error)
|
|
@@ -519,8 +567,10 @@ func Pipe(p []int) (err error) {
|
|
}
|
|
var pp [2]_C_int
|
|
err = pipe(&pp)
|
|
- p[0] = int(pp[0])
|
|
- p[1] = int(pp[1])
|
|
+ if err == nil {
|
|
+ p[0] = int(pp[0])
|
|
+ p[1] = int(pp[1])
|
|
+ }
|
|
return
|
|
}
|
|
|
|
@@ -540,6 +590,7 @@ func Poll(fds []PollFd, timeout int) (n int, err error) {
|
|
//sys Getsystemcfg(label int) (n uint64)
|
|
|
|
//sys umount(target string) (err error)
|
|
+
|
|
func Unmount(target string, flags int) (err error) {
|
|
if flags != 0 {
|
|
// AIX doesn't have any flags for umount.
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_bsd.go b/vendor/golang.org/x/sys/unix/syscall_bsd.go
|
|
index 0ce4523..eda4267 100644
|
|
--- a/vendor/golang.org/x/sys/unix/syscall_bsd.go
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_bsd.go
|
|
@@ -325,80 +325,62 @@ func GetsockoptString(fd, level, opt int) (string, error) {
|
|
//sys sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error)
|
|
//sys recvmsg(s int, msg *Msghdr, flags int) (n int, err error)
|
|
|
|
-func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) {
|
|
+func recvmsgRaw(fd int, iov []Iovec, oob []byte, flags int, rsa *RawSockaddrAny) (n, oobn int, recvflags int, err error) {
|
|
var msg Msghdr
|
|
- var rsa RawSockaddrAny
|
|
- msg.Name = (*byte)(unsafe.Pointer(&rsa))
|
|
+ msg.Name = (*byte)(unsafe.Pointer(rsa))
|
|
msg.Namelen = uint32(SizeofSockaddrAny)
|
|
- var iov Iovec
|
|
- if len(p) > 0 {
|
|
- iov.Base = (*byte)(unsafe.Pointer(&p[0]))
|
|
- iov.SetLen(len(p))
|
|
- }
|
|
var dummy byte
|
|
if len(oob) > 0 {
|
|
// receive at least one normal byte
|
|
- if len(p) == 0 {
|
|
- iov.Base = &dummy
|
|
- iov.SetLen(1)
|
|
+ if emptyIovecs(iov) {
|
|
+ var iova [1]Iovec
|
|
+ iova[0].Base = &dummy
|
|
+ iova[0].SetLen(1)
|
|
+ iov = iova[:]
|
|
}
|
|
msg.Control = (*byte)(unsafe.Pointer(&oob[0]))
|
|
msg.SetControllen(len(oob))
|
|
}
|
|
- msg.Iov = &iov
|
|
- msg.Iovlen = 1
|
|
+ if len(iov) > 0 {
|
|
+ msg.Iov = &iov[0]
|
|
+ msg.SetIovlen(len(iov))
|
|
+ }
|
|
if n, err = recvmsg(fd, &msg, flags); err != nil {
|
|
return
|
|
}
|
|
oobn = int(msg.Controllen)
|
|
recvflags = int(msg.Flags)
|
|
- // source address is only specified if the socket is unconnected
|
|
- if rsa.Addr.Family != AF_UNSPEC {
|
|
- from, err = anyToSockaddr(fd, &rsa)
|
|
- }
|
|
return
|
|
}
|
|
|
|
//sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
|
|
|
|
-func Sendmsg(fd int, p, oob []byte, to Sockaddr, flags int) (err error) {
|
|
- _, err = SendmsgN(fd, p, oob, to, flags)
|
|
- return
|
|
-}
|
|
-
|
|
-func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error) {
|
|
- var ptr unsafe.Pointer
|
|
- var salen _Socklen
|
|
- if to != nil {
|
|
- ptr, salen, err = to.sockaddr()
|
|
- if err != nil {
|
|
- return 0, err
|
|
- }
|
|
- }
|
|
+func sendmsgN(fd int, iov []Iovec, oob []byte, ptr unsafe.Pointer, salen _Socklen, flags int) (n int, err error) {
|
|
var msg Msghdr
|
|
msg.Name = (*byte)(unsafe.Pointer(ptr))
|
|
msg.Namelen = uint32(salen)
|
|
- var iov Iovec
|
|
- if len(p) > 0 {
|
|
- iov.Base = (*byte)(unsafe.Pointer(&p[0]))
|
|
- iov.SetLen(len(p))
|
|
- }
|
|
var dummy byte
|
|
+ var empty bool
|
|
if len(oob) > 0 {
|
|
// send at least one normal byte
|
|
- if len(p) == 0 {
|
|
- iov.Base = &dummy
|
|
- iov.SetLen(1)
|
|
+ empty = emptyIovecs(iov)
|
|
+ if empty {
|
|
+ var iova [1]Iovec
|
|
+ iova[0].Base = &dummy
|
|
+ iova[0].SetLen(1)
|
|
+ iov = iova[:]
|
|
}
|
|
msg.Control = (*byte)(unsafe.Pointer(&oob[0]))
|
|
msg.SetControllen(len(oob))
|
|
}
|
|
- msg.Iov = &iov
|
|
- msg.Iovlen = 1
|
|
+ if len(iov) > 0 {
|
|
+ msg.Iov = &iov[0]
|
|
+ msg.SetIovlen(len(iov))
|
|
+ }
|
|
if n, err = sendmsg(fd, &msg, flags); err != nil {
|
|
return 0, err
|
|
}
|
|
- if len(oob) > 0 && len(p) == 0 {
|
|
+ if len(oob) > 0 && empty {
|
|
n = 0
|
|
}
|
|
return n, nil
|
|
@@ -571,12 +553,7 @@ func UtimesNano(path string, ts []Timespec) error {
|
|
if len(ts) != 2 {
|
|
return EINVAL
|
|
}
|
|
- // Darwin setattrlist can set nanosecond timestamps
|
|
- err := setattrlistTimes(path, ts, 0)
|
|
- if err != ENOSYS {
|
|
- return err
|
|
- }
|
|
- err = utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
|
|
+ err := utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
|
|
if err != ENOSYS {
|
|
return err
|
|
}
|
|
@@ -596,10 +573,6 @@ func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error {
|
|
if len(ts) != 2 {
|
|
return EINVAL
|
|
}
|
|
- err := setattrlistTimes(path, ts, flags)
|
|
- if err != ENOSYS {
|
|
- return err
|
|
- }
|
|
return utimensat(dirfd, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), flags)
|
|
}
|
|
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin.go b/vendor/golang.org/x/sys/unix/syscall_darwin.go
|
|
index 8826f41..4f87f16 100644
|
|
--- a/vendor/golang.org/x/sys/unix/syscall_darwin.go
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_darwin.go
|
|
@@ -141,16 +141,6 @@ func direntNamlen(buf []byte) (uint64, bool) {
|
|
func PtraceAttach(pid int) (err error) { return ptrace(PT_ATTACH, pid, 0, 0) }
|
|
func PtraceDetach(pid int) (err error) { return ptrace(PT_DETACH, pid, 0, 0) }
|
|
|
|
-type attrList struct {
|
|
- bitmapCount uint16
|
|
- _ uint16
|
|
- CommonAttr uint32
|
|
- VolAttr uint32
|
|
- DirAttr uint32
|
|
- FileAttr uint32
|
|
- Forkattr uint32
|
|
-}
|
|
-
|
|
//sysnb pipe(p *[2]int32) (err error)
|
|
|
|
func Pipe(p []int) (err error) {
|
|
@@ -159,8 +149,10 @@ func Pipe(p []int) (err error) {
|
|
}
|
|
var x [2]int32
|
|
err = pipe(&x)
|
|
- p[0] = int(x[0])
|
|
- p[1] = int(x[1])
|
|
+ if err == nil {
|
|
+ p[0] = int(x[0])
|
|
+ p[1] = int(x[1])
|
|
+ }
|
|
return
|
|
}
|
|
|
|
@@ -280,36 +272,7 @@ func Flistxattr(fd int, dest []byte) (sz int, err error) {
|
|
return flistxattr(fd, xattrPointer(dest), len(dest), 0)
|
|
}
|
|
|
|
-func setattrlistTimes(path string, times []Timespec, flags int) error {
|
|
- _p0, err := BytePtrFromString(path)
|
|
- if err != nil {
|
|
- return err
|
|
- }
|
|
-
|
|
- var attrList attrList
|
|
- attrList.bitmapCount = ATTR_BIT_MAP_COUNT
|
|
- attrList.CommonAttr = ATTR_CMN_MODTIME | ATTR_CMN_ACCTIME
|
|
-
|
|
- // order is mtime, atime: the opposite of Chtimes
|
|
- attributes := [2]Timespec{times[1], times[0]}
|
|
- options := 0
|
|
- if flags&AT_SYMLINK_NOFOLLOW != 0 {
|
|
- options |= FSOPT_NOFOLLOW
|
|
- }
|
|
- return setattrlist(
|
|
- _p0,
|
|
- unsafe.Pointer(&attrList),
|
|
- unsafe.Pointer(&attributes),
|
|
- unsafe.Sizeof(attributes),
|
|
- options)
|
|
-}
|
|
-
|
|
-//sys setattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error)
|
|
-
|
|
-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) error {
|
|
- // Darwin doesn't support SYS_UTIMENSAT
|
|
- return ENOSYS
|
|
-}
|
|
+//sys utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error)
|
|
|
|
/*
|
|
* Wrapped
|
|
@@ -430,6 +393,13 @@ func GetsockoptXucred(fd, level, opt int) (*Xucred, error) {
|
|
return x, err
|
|
}
|
|
|
|
+func GetsockoptTCPConnectionInfo(fd, level, opt int) (*TCPConnectionInfo, error) {
|
|
+ var value TCPConnectionInfo
|
|
+ vallen := _Socklen(SizeofTCPConnectionInfo)
|
|
+ err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
|
|
+ return &value, err
|
|
+}
|
|
+
|
|
func SysctlKinfoProc(name string, args ...int) (*KinfoProc, error) {
|
|
mib, err := sysctlmib(name, args...)
|
|
if err != nil {
|
|
@@ -541,11 +511,12 @@ func SysctlKinfoProcSlice(name string, args ...int) ([]KinfoProc, error) {
|
|
//sys Mkdirat(dirfd int, path string, mode uint32) (err error)
|
|
//sys Mkfifo(path string, mode uint32) (err error)
|
|
//sys Mknod(path string, mode uint32, dev int) (err error)
|
|
+//sys Mount(fsType string, dir string, flags int, data unsafe.Pointer) (err error)
|
|
//sys Open(path string, mode int, perm uint32) (fd int, err error)
|
|
//sys Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error)
|
|
//sys Pathconf(path string, name int) (val int, err error)
|
|
-//sys Pread(fd int, p []byte, offset int64) (n int, err error)
|
|
-//sys Pwrite(fd int, p []byte, offset int64) (n int, err error)
|
|
+//sys pread(fd int, p []byte, offset int64) (n int, err error)
|
|
+//sys pwrite(fd int, p []byte, offset int64) (n int, err error)
|
|
//sys read(fd int, p []byte) (n int, err error)
|
|
//sys Readlink(path string, buf []byte) (n int, err error)
|
|
//sys Readlinkat(dirfd int, path string, buf []byte) (n int, err error)
|
|
@@ -609,7 +580,6 @@ func SysctlKinfoProcSlice(name string, args ...int) ([]KinfoProc, error) {
|
|
// Nfssvc
|
|
// Getfh
|
|
// Quotactl
|
|
-// Mount
|
|
// Csops
|
|
// Waitid
|
|
// Add_profil
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_dragonfly.go b/vendor/golang.org/x/sys/unix/syscall_dragonfly.go
|
|
index 5af108a..61c0d0d 100644
|
|
--- a/vendor/golang.org/x/sys/unix/syscall_dragonfly.go
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_dragonfly.go
|
|
@@ -101,7 +101,10 @@ func Pipe(p []int) (err error) {
|
|
if len(p) != 2 {
|
|
return EINVAL
|
|
}
|
|
- p[0], p[1], err = pipe()
|
|
+ r, w, err := pipe()
|
|
+ if err == nil {
|
|
+ p[0], p[1] = r, w
|
|
+ }
|
|
return
|
|
}
|
|
|
|
@@ -114,17 +117,22 @@ func Pipe2(p []int, flags int) (err error) {
|
|
var pp [2]_C_int
|
|
// pipe2 on dragonfly takes an fds array as an argument, but still
|
|
// returns the file descriptors.
|
|
- p[0], p[1], err = pipe2(&pp, flags)
|
|
+ r, w, err := pipe2(&pp, flags)
|
|
+ if err == nil {
|
|
+ p[0], p[1] = r, w
|
|
+ }
|
|
return err
|
|
}
|
|
|
|
//sys extpread(fd int, p []byte, flags int, offset int64) (n int, err error)
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
return extpread(fd, p, 0, offset)
|
|
}
|
|
|
|
//sys extpwrite(fd int, p []byte, flags int, offset int64) (n int, err error)
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
return extpwrite(fd, p, 0, offset)
|
|
}
|
|
|
|
@@ -163,11 +171,6 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
-func setattrlistTimes(path string, times []Timespec, flags int) error {
|
|
- // used on Darwin for UtimesNano
|
|
- return ENOSYS
|
|
-}
|
|
-
|
|
//sys ioctl(fd int, req uint, arg uintptr) (err error)
|
|
|
|
//sys sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS___SYSCTL
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_freebsd.go b/vendor/golang.org/x/sys/unix/syscall_freebsd.go
|
|
index 18c392c..de7c23e 100644
|
|
--- a/vendor/golang.org/x/sys/unix/syscall_freebsd.go
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_freebsd.go
|
|
@@ -17,25 +17,12 @@ import (
|
|
"unsafe"
|
|
)
|
|
|
|
-const (
|
|
- SYS_FSTAT_FREEBSD12 = 551 // { int fstat(int fd, _Out_ struct stat *sb); }
|
|
- SYS_FSTATAT_FREEBSD12 = 552 // { int fstatat(int fd, _In_z_ char *path, \
|
|
- SYS_GETDIRENTRIES_FREEBSD12 = 554 // { ssize_t getdirentries(int fd, \
|
|
- SYS_STATFS_FREEBSD12 = 555 // { int statfs(_In_z_ char *path, \
|
|
- SYS_FSTATFS_FREEBSD12 = 556 // { int fstatfs(int fd, \
|
|
- SYS_GETFSSTAT_FREEBSD12 = 557 // { int getfsstat( \
|
|
- SYS_MKNODAT_FREEBSD12 = 559 // { int mknodat(int fd, _In_z_ char *path, \
|
|
-)
|
|
-
|
|
// See https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/versions.html.
|
|
var (
|
|
osreldateOnce sync.Once
|
|
osreldate uint32
|
|
)
|
|
|
|
-// INO64_FIRST from /usr/src/lib/libc/sys/compat-ino64.h
|
|
-const _ino64First = 1200031
|
|
-
|
|
func supportsABI(ver uint32) bool {
|
|
osreldateOnce.Do(func() { osreldate, _ = SysctlUint32("kern.osreldate") })
|
|
return osreldate >= ver
|
|
@@ -110,8 +97,10 @@ func Pipe2(p []int, flags int) error {
|
|
}
|
|
var pp [2]_C_int
|
|
err := pipe2(&pp, flags)
|
|
- p[0] = int(pp[0])
|
|
- p[1] = int(pp[1])
|
|
+ if err == nil {
|
|
+ p[0] = int(pp[0])
|
|
+ p[1] = int(pp[1])
|
|
+ }
|
|
return err
|
|
}
|
|
|
|
@@ -157,46 +146,21 @@ func Accept4(fd, flags int) (nfd int, sa Sockaddr, err error) {
|
|
|
|
func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
|
|
var (
|
|
- _p0 unsafe.Pointer
|
|
- bufsize uintptr
|
|
- oldBuf []statfs_freebsd11_t
|
|
- needsConvert bool
|
|
+ _p0 unsafe.Pointer
|
|
+ bufsize uintptr
|
|
)
|
|
-
|
|
if len(buf) > 0 {
|
|
- if supportsABI(_ino64First) {
|
|
- _p0 = unsafe.Pointer(&buf[0])
|
|
- bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf))
|
|
- } else {
|
|
- n := len(buf)
|
|
- oldBuf = make([]statfs_freebsd11_t, n)
|
|
- _p0 = unsafe.Pointer(&oldBuf[0])
|
|
- bufsize = unsafe.Sizeof(statfs_freebsd11_t{}) * uintptr(n)
|
|
- needsConvert = true
|
|
- }
|
|
+ _p0 = unsafe.Pointer(&buf[0])
|
|
+ bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf))
|
|
}
|
|
- var sysno uintptr = SYS_GETFSSTAT
|
|
- if supportsABI(_ino64First) {
|
|
- sysno = SYS_GETFSSTAT_FREEBSD12
|
|
- }
|
|
- r0, _, e1 := Syscall(sysno, uintptr(_p0), bufsize, uintptr(flags))
|
|
+ r0, _, e1 := Syscall(SYS_GETFSSTAT, uintptr(_p0), bufsize, uintptr(flags))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = e1
|
|
}
|
|
- if e1 == 0 && needsConvert {
|
|
- for i := range oldBuf {
|
|
- buf[i].convertFrom(&oldBuf[i])
|
|
- }
|
|
- }
|
|
return
|
|
}
|
|
|
|
-func setattrlistTimes(path string, times []Timespec, flags int) error {
|
|
- // used on Darwin for UtimesNano
|
|
- return ENOSYS
|
|
-}
|
|
-
|
|
//sys ioctl(fd int, req uint, arg uintptr) (err error)
|
|
|
|
//sys sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS___SYSCTL
|
|
@@ -248,87 +212,11 @@ func Uname(uname *Utsname) error {
|
|
}
|
|
|
|
func Stat(path string, st *Stat_t) (err error) {
|
|
- var oldStat stat_freebsd11_t
|
|
- if supportsABI(_ino64First) {
|
|
- return fstatat_freebsd12(AT_FDCWD, path, st, 0)
|
|
- }
|
|
- err = stat(path, &oldStat)
|
|
- if err != nil {
|
|
- return err
|
|
- }
|
|
-
|
|
- st.convertFrom(&oldStat)
|
|
- return nil
|
|
+ return Fstatat(AT_FDCWD, path, st, 0)
|
|
}
|
|
|
|
func Lstat(path string, st *Stat_t) (err error) {
|
|
- var oldStat stat_freebsd11_t
|
|
- if supportsABI(_ino64First) {
|
|
- return fstatat_freebsd12(AT_FDCWD, path, st, AT_SYMLINK_NOFOLLOW)
|
|
- }
|
|
- err = lstat(path, &oldStat)
|
|
- if err != nil {
|
|
- return err
|
|
- }
|
|
-
|
|
- st.convertFrom(&oldStat)
|
|
- return nil
|
|
-}
|
|
-
|
|
-func Fstat(fd int, st *Stat_t) (err error) {
|
|
- var oldStat stat_freebsd11_t
|
|
- if supportsABI(_ino64First) {
|
|
- return fstat_freebsd12(fd, st)
|
|
- }
|
|
- err = fstat(fd, &oldStat)
|
|
- if err != nil {
|
|
- return err
|
|
- }
|
|
-
|
|
- st.convertFrom(&oldStat)
|
|
- return nil
|
|
-}
|
|
-
|
|
-func Fstatat(fd int, path string, st *Stat_t, flags int) (err error) {
|
|
- var oldStat stat_freebsd11_t
|
|
- if supportsABI(_ino64First) {
|
|
- return fstatat_freebsd12(fd, path, st, flags)
|
|
- }
|
|
- err = fstatat(fd, path, &oldStat, flags)
|
|
- if err != nil {
|
|
- return err
|
|
- }
|
|
-
|
|
- st.convertFrom(&oldStat)
|
|
- return nil
|
|
-}
|
|
-
|
|
-func Statfs(path string, st *Statfs_t) (err error) {
|
|
- var oldStatfs statfs_freebsd11_t
|
|
- if supportsABI(_ino64First) {
|
|
- return statfs_freebsd12(path, st)
|
|
- }
|
|
- err = statfs(path, &oldStatfs)
|
|
- if err != nil {
|
|
- return err
|
|
- }
|
|
-
|
|
- st.convertFrom(&oldStatfs)
|
|
- return nil
|
|
-}
|
|
-
|
|
-func Fstatfs(fd int, st *Statfs_t) (err error) {
|
|
- var oldStatfs statfs_freebsd11_t
|
|
- if supportsABI(_ino64First) {
|
|
- return fstatfs_freebsd12(fd, st)
|
|
- }
|
|
- err = fstatfs(fd, &oldStatfs)
|
|
- if err != nil {
|
|
- return err
|
|
- }
|
|
-
|
|
- st.convertFrom(&oldStatfs)
|
|
- return nil
|
|
+ return Fstatat(AT_FDCWD, path, st, AT_SYMLINK_NOFOLLOW)
|
|
}
|
|
|
|
func Getdents(fd int, buf []byte) (n int, err error) {
|
|
@@ -336,162 +224,25 @@ func Getdents(fd int, buf []byte) (n int, err error) {
|
|
}
|
|
|
|
func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
|
|
- if supportsABI(_ino64First) {
|
|
- if basep == nil || unsafe.Sizeof(*basep) == 8 {
|
|
- return getdirentries_freebsd12(fd, buf, (*uint64)(unsafe.Pointer(basep)))
|
|
- }
|
|
- // The freebsd12 syscall needs a 64-bit base. On 32-bit machines
|
|
- // we can't just use the basep passed in. See #32498.
|
|
- var base uint64 = uint64(*basep)
|
|
- n, err = getdirentries_freebsd12(fd, buf, &base)
|
|
- *basep = uintptr(base)
|
|
- if base>>32 != 0 {
|
|
- // We can't stuff the base back into a uintptr, so any
|
|
- // future calls would be suspect. Generate an error.
|
|
- // EIO is allowed by getdirentries.
|
|
- err = EIO
|
|
- }
|
|
- return
|
|
- }
|
|
-
|
|
- // The old syscall entries are smaller than the new. Use 1/4 of the original
|
|
- // buffer size rounded up to DIRBLKSIZ (see /usr/src/lib/libc/sys/getdirentries.c).
|
|
- oldBufLen := roundup(len(buf)/4, _dirblksiz)
|
|
- oldBuf := make([]byte, oldBufLen)
|
|
- n, err = getdirentries(fd, oldBuf, basep)
|
|
- if err == nil && n > 0 {
|
|
- n = convertFromDirents11(buf, oldBuf[:n])
|
|
+ if basep == nil || unsafe.Sizeof(*basep) == 8 {
|
|
+ return getdirentries(fd, buf, (*uint64)(unsafe.Pointer(basep)))
|
|
+ }
|
|
+ // The syscall needs a 64-bit base. On 32-bit machines
|
|
+ // we can't just use the basep passed in. See #32498.
|
|
+ var base uint64 = uint64(*basep)
|
|
+ n, err = getdirentries(fd, buf, &base)
|
|
+ *basep = uintptr(base)
|
|
+ if base>>32 != 0 {
|
|
+ // We can't stuff the base back into a uintptr, so any
|
|
+ // future calls would be suspect. Generate an error.
|
|
+ // EIO is allowed by getdirentries.
|
|
+ err = EIO
|
|
}
|
|
return
|
|
}
|
|
|
|
func Mknod(path string, mode uint32, dev uint64) (err error) {
|
|
- var oldDev int
|
|
- if supportsABI(_ino64First) {
|
|
- return mknodat_freebsd12(AT_FDCWD, path, mode, dev)
|
|
- }
|
|
- oldDev = int(dev)
|
|
- return mknod(path, mode, oldDev)
|
|
-}
|
|
-
|
|
-func Mknodat(fd int, path string, mode uint32, dev uint64) (err error) {
|
|
- var oldDev int
|
|
- if supportsABI(_ino64First) {
|
|
- return mknodat_freebsd12(fd, path, mode, dev)
|
|
- }
|
|
- oldDev = int(dev)
|
|
- return mknodat(fd, path, mode, oldDev)
|
|
-}
|
|
-
|
|
-// round x to the nearest multiple of y, larger or equal to x.
|
|
-//
|
|
-// from /usr/include/sys/param.h Macros for counting and rounding.
|
|
-// #define roundup(x, y) ((((x)+((y)-1))/(y))*(y))
|
|
-func roundup(x, y int) int {
|
|
- return ((x + y - 1) / y) * y
|
|
-}
|
|
-
|
|
-func (s *Stat_t) convertFrom(old *stat_freebsd11_t) {
|
|
- *s = Stat_t{
|
|
- Dev: uint64(old.Dev),
|
|
- Ino: uint64(old.Ino),
|
|
- Nlink: uint64(old.Nlink),
|
|
- Mode: old.Mode,
|
|
- Uid: old.Uid,
|
|
- Gid: old.Gid,
|
|
- Rdev: uint64(old.Rdev),
|
|
- Atim: old.Atim,
|
|
- Mtim: old.Mtim,
|
|
- Ctim: old.Ctim,
|
|
- Btim: old.Btim,
|
|
- Size: old.Size,
|
|
- Blocks: old.Blocks,
|
|
- Blksize: old.Blksize,
|
|
- Flags: old.Flags,
|
|
- Gen: uint64(old.Gen),
|
|
- }
|
|
-}
|
|
-
|
|
-func (s *Statfs_t) convertFrom(old *statfs_freebsd11_t) {
|
|
- *s = Statfs_t{
|
|
- Version: _statfsVersion,
|
|
- Type: old.Type,
|
|
- Flags: old.Flags,
|
|
- Bsize: old.Bsize,
|
|
- Iosize: old.Iosize,
|
|
- Blocks: old.Blocks,
|
|
- Bfree: old.Bfree,
|
|
- Bavail: old.Bavail,
|
|
- Files: old.Files,
|
|
- Ffree: old.Ffree,
|
|
- Syncwrites: old.Syncwrites,
|
|
- Asyncwrites: old.Asyncwrites,
|
|
- Syncreads: old.Syncreads,
|
|
- Asyncreads: old.Asyncreads,
|
|
- // Spare
|
|
- Namemax: old.Namemax,
|
|
- Owner: old.Owner,
|
|
- Fsid: old.Fsid,
|
|
- // Charspare
|
|
- // Fstypename
|
|
- // Mntfromname
|
|
- // Mntonname
|
|
- }
|
|
-
|
|
- sl := old.Fstypename[:]
|
|
- n := clen(*(*[]byte)(unsafe.Pointer(&sl)))
|
|
- copy(s.Fstypename[:], old.Fstypename[:n])
|
|
-
|
|
- sl = old.Mntfromname[:]
|
|
- n = clen(*(*[]byte)(unsafe.Pointer(&sl)))
|
|
- copy(s.Mntfromname[:], old.Mntfromname[:n])
|
|
-
|
|
- sl = old.Mntonname[:]
|
|
- n = clen(*(*[]byte)(unsafe.Pointer(&sl)))
|
|
- copy(s.Mntonname[:], old.Mntonname[:n])
|
|
-}
|
|
-
|
|
-func convertFromDirents11(buf []byte, old []byte) int {
|
|
- const (
|
|
- fixedSize = int(unsafe.Offsetof(Dirent{}.Name))
|
|
- oldFixedSize = int(unsafe.Offsetof(dirent_freebsd11{}.Name))
|
|
- )
|
|
-
|
|
- dstPos := 0
|
|
- srcPos := 0
|
|
- for dstPos+fixedSize < len(buf) && srcPos+oldFixedSize < len(old) {
|
|
- var dstDirent Dirent
|
|
- var srcDirent dirent_freebsd11
|
|
-
|
|
- // If multiple direntries are written, sometimes when we reach the final one,
|
|
- // we may have cap of old less than size of dirent_freebsd11.
|
|
- copy((*[unsafe.Sizeof(srcDirent)]byte)(unsafe.Pointer(&srcDirent))[:], old[srcPos:])
|
|
-
|
|
- reclen := roundup(fixedSize+int(srcDirent.Namlen)+1, 8)
|
|
- if dstPos+reclen > len(buf) {
|
|
- break
|
|
- }
|
|
-
|
|
- dstDirent.Fileno = uint64(srcDirent.Fileno)
|
|
- dstDirent.Off = 0
|
|
- dstDirent.Reclen = uint16(reclen)
|
|
- dstDirent.Type = srcDirent.Type
|
|
- dstDirent.Pad0 = 0
|
|
- dstDirent.Namlen = uint16(srcDirent.Namlen)
|
|
- dstDirent.Pad1 = 0
|
|
-
|
|
- copy(dstDirent.Name[:], srcDirent.Name[:srcDirent.Namlen])
|
|
- copy(buf[dstPos:], (*[unsafe.Sizeof(dstDirent)]byte)(unsafe.Pointer(&dstDirent))[:])
|
|
- padding := buf[dstPos+fixedSize+int(dstDirent.Namlen) : dstPos+reclen]
|
|
- for i := range padding {
|
|
- padding[i] = 0
|
|
- }
|
|
-
|
|
- dstPos += int(dstDirent.Reclen)
|
|
- srcPos += int(srcDirent.Reclen)
|
|
- }
|
|
-
|
|
- return dstPos
|
|
+ return Mknodat(AT_FDCWD, path, mode, dev)
|
|
}
|
|
|
|
func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
|
|
@@ -504,31 +255,31 @@ func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
|
|
//sys ptrace(request int, pid int, addr uintptr, data int) (err error)
|
|
|
|
func PtraceAttach(pid int) (err error) {
|
|
- return ptrace(PTRACE_ATTACH, pid, 0, 0)
|
|
+ return ptrace(PT_ATTACH, pid, 0, 0)
|
|
}
|
|
|
|
func PtraceCont(pid int, signal int) (err error) {
|
|
- return ptrace(PTRACE_CONT, pid, 1, signal)
|
|
+ return ptrace(PT_CONTINUE, pid, 1, signal)
|
|
}
|
|
|
|
func PtraceDetach(pid int) (err error) {
|
|
- return ptrace(PTRACE_DETACH, pid, 1, 0)
|
|
+ return ptrace(PT_DETACH, pid, 1, 0)
|
|
}
|
|
|
|
func PtraceGetFpRegs(pid int, fpregsout *FpReg) (err error) {
|
|
- return ptrace(PTRACE_GETFPREGS, pid, uintptr(unsafe.Pointer(fpregsout)), 0)
|
|
+ return ptrace(PT_GETFPREGS, pid, uintptr(unsafe.Pointer(fpregsout)), 0)
|
|
}
|
|
|
|
func PtraceGetRegs(pid int, regsout *Reg) (err error) {
|
|
- return ptrace(PTRACE_GETREGS, pid, uintptr(unsafe.Pointer(regsout)), 0)
|
|
+ return ptrace(PT_GETREGS, pid, uintptr(unsafe.Pointer(regsout)), 0)
|
|
}
|
|
|
|
func PtraceLwpEvents(pid int, enable int) (err error) {
|
|
- return ptrace(PTRACE_LWPEVENTS, pid, 0, enable)
|
|
+ return ptrace(PT_LWP_EVENTS, pid, 0, enable)
|
|
}
|
|
|
|
func PtraceLwpInfo(pid int, info uintptr) (err error) {
|
|
- return ptrace(PTRACE_LWPINFO, pid, info, int(unsafe.Sizeof(PtraceLwpInfoStruct{})))
|
|
+ return ptrace(PT_LWPINFO, pid, info, int(unsafe.Sizeof(PtraceLwpInfoStruct{})))
|
|
}
|
|
|
|
func PtracePeekData(pid int, addr uintptr, out []byte) (count int, err error) {
|
|
@@ -548,11 +299,11 @@ func PtracePokeText(pid int, addr uintptr, data []byte) (count int, err error) {
|
|
}
|
|
|
|
func PtraceSetRegs(pid int, regs *Reg) (err error) {
|
|
- return ptrace(PTRACE_SETREGS, pid, uintptr(unsafe.Pointer(regs)), 0)
|
|
+ return ptrace(PT_SETREGS, pid, uintptr(unsafe.Pointer(regs)), 0)
|
|
}
|
|
|
|
func PtraceSingleStep(pid int) (err error) {
|
|
- return ptrace(PTRACE_SINGLESTEP, pid, 1, 0)
|
|
+ return ptrace(PT_STEP, pid, 1, 0)
|
|
}
|
|
|
|
/*
|
|
@@ -594,16 +345,12 @@ func PtraceSingleStep(pid int) (err error) {
|
|
//sys Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error)
|
|
//sys Flock(fd int, how int) (err error)
|
|
//sys Fpathconf(fd int, name int) (val int, err error)
|
|
-//sys fstat(fd int, stat *stat_freebsd11_t) (err error)
|
|
-//sys fstat_freebsd12(fd int, stat *Stat_t) (err error)
|
|
-//sys fstatat(fd int, path string, stat *stat_freebsd11_t, flags int) (err error)
|
|
-//sys fstatat_freebsd12(fd int, path string, stat *Stat_t, flags int) (err error)
|
|
-//sys fstatfs(fd int, stat *statfs_freebsd11_t) (err error)
|
|
-//sys fstatfs_freebsd12(fd int, stat *Statfs_t) (err error)
|
|
+//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 Fsync(fd int) (err error)
|
|
//sys Ftruncate(fd int, length int64) (err error)
|
|
-//sys getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error)
|
|
-//sys getdirentries_freebsd12(fd int, buf []byte, basep *uint64) (n int, err error)
|
|
+//sys getdirentries(fd int, buf []byte, basep *uint64) (n int, err error)
|
|
//sys Getdtablesize() (size int)
|
|
//sysnb Getegid() (egid int)
|
|
//sysnb Geteuid() (uid int)
|
|
@@ -625,19 +372,16 @@ func PtraceSingleStep(pid int) (err error) {
|
|
//sys Link(path string, link string) (err error)
|
|
//sys Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error)
|
|
//sys Listen(s int, backlog int) (err error)
|
|
-//sys lstat(path string, stat *stat_freebsd11_t) (err error)
|
|
//sys Mkdir(path string, mode uint32) (err error)
|
|
//sys Mkdirat(dirfd int, path string, mode uint32) (err error)
|
|
//sys Mkfifo(path string, mode uint32) (err error)
|
|
-//sys mknod(path string, mode uint32, dev int) (err error)
|
|
-//sys mknodat(fd int, path string, mode uint32, dev int) (err error)
|
|
-//sys mknodat_freebsd12(fd int, path string, mode uint32, dev uint64) (err error)
|
|
+//sys Mknodat(fd int, path string, mode uint32, dev uint64) (err error)
|
|
//sys Nanosleep(time *Timespec, leftover *Timespec) (err error)
|
|
//sys Open(path string, mode int, perm uint32) (fd int, err error)
|
|
//sys Openat(fdat int, path string, mode int, perm uint32) (fd int, err error)
|
|
//sys Pathconf(path string, name int) (val int, err error)
|
|
-//sys Pread(fd int, p []byte, offset int64) (n int, err error)
|
|
-//sys Pwrite(fd int, p []byte, offset int64) (n int, err error)
|
|
+//sys pread(fd int, p []byte, offset int64) (n int, err error)
|
|
+//sys pwrite(fd int, p []byte, offset int64) (n int, err error)
|
|
//sys read(fd int, p []byte) (n int, err error)
|
|
//sys Readlink(path string, buf []byte) (n int, err error)
|
|
//sys Readlinkat(dirfd int, path string, buf []byte) (n int, err error)
|
|
@@ -661,9 +405,7 @@ func PtraceSingleStep(pid int) (err error) {
|
|
//sysnb Setsid() (pid int, err error)
|
|
//sysnb Settimeofday(tp *Timeval) (err error)
|
|
//sysnb Setuid(uid int) (err error)
|
|
-//sys stat(path string, stat *stat_freebsd11_t) (err error)
|
|
-//sys statfs(path string, stat *statfs_freebsd11_t) (err error)
|
|
-//sys statfs_freebsd12(path string, stat *Statfs_t) (err error)
|
|
+//sys Statfs(path string, stat *Statfs_t) (err error)
|
|
//sys Symlink(path string, link string) (err error)
|
|
//sys Symlinkat(oldpath string, newdirfd int, newpath string) (err error)
|
|
//sys Sync() (err error)
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go b/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go
|
|
index 342fc32..b11ede8 100644
|
|
--- a/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go
|
|
@@ -57,11 +57,11 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
|
|
func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
|
|
|
|
func PtraceGetFsBase(pid int, fsbase *int64) (err error) {
|
|
- return ptrace(PTRACE_GETFSBASE, pid, uintptr(unsafe.Pointer(fsbase)), 0)
|
|
+ return ptrace(PT_GETFSBASE, pid, uintptr(unsafe.Pointer(fsbase)), 0)
|
|
}
|
|
|
|
func PtraceIO(req int, pid int, addr uintptr, out []byte, countin int) (count int, err error) {
|
|
- ioDesc := PtraceIoDesc{Op: int32(req), Offs: (*byte)(unsafe.Pointer(addr)), Addr: (*byte)(unsafe.Pointer(&out[0])), Len: uint32(countin)}
|
|
- err = ptrace(PTRACE_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0)
|
|
+ ioDesc := PtraceIoDesc{Op: int32(req), Offs: uintptr(unsafe.Pointer(addr)), Addr: uintptr(unsafe.Pointer(&out[0])), Len: uint32(countin)}
|
|
+ err = ptrace(PT_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0)
|
|
return int(ioDesc.Len), err
|
|
}
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go
|
|
index a32d5aa..9ed8eec 100644
|
|
--- a/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go
|
|
@@ -57,11 +57,11 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
|
|
func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
|
|
|
|
func PtraceGetFsBase(pid int, fsbase *int64) (err error) {
|
|
- return ptrace(PTRACE_GETFSBASE, pid, uintptr(unsafe.Pointer(fsbase)), 0)
|
|
+ return ptrace(PT_GETFSBASE, pid, uintptr(unsafe.Pointer(fsbase)), 0)
|
|
}
|
|
|
|
func PtraceIO(req int, pid int, addr uintptr, out []byte, countin int) (count int, err error) {
|
|
- ioDesc := PtraceIoDesc{Op: int32(req), Offs: (*byte)(unsafe.Pointer(addr)), Addr: (*byte)(unsafe.Pointer(&out[0])), Len: uint64(countin)}
|
|
- err = ptrace(PTRACE_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0)
|
|
+ ioDesc := PtraceIoDesc{Op: int32(req), Offs: uintptr(unsafe.Pointer(addr)), Addr: uintptr(unsafe.Pointer(&out[0])), Len: uint64(countin)}
|
|
+ err = ptrace(PT_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0)
|
|
return int(ioDesc.Len), err
|
|
}
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go b/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go
|
|
index 1e36d39..f8ac982 100644
|
|
--- a/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go
|
|
@@ -57,7 +57,7 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
|
|
func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
|
|
|
|
func PtraceIO(req int, pid int, addr uintptr, out []byte, countin int) (count int, err error) {
|
|
- ioDesc := PtraceIoDesc{Op: int32(req), Offs: (*byte)(unsafe.Pointer(addr)), Addr: (*byte)(unsafe.Pointer(&out[0])), Len: uint32(countin)}
|
|
- err = ptrace(PTRACE_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0)
|
|
+ ioDesc := PtraceIoDesc{Op: int32(req), Offs: uintptr(unsafe.Pointer(addr)), Addr: uintptr(unsafe.Pointer(&out[0])), Len: uint32(countin)}
|
|
+ err = ptrace(PT_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0)
|
|
return int(ioDesc.Len), err
|
|
}
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go b/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go
|
|
index a09a153..8e93203 100644
|
|
--- a/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go
|
|
@@ -57,7 +57,7 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
|
|
func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
|
|
|
|
func PtraceIO(req int, pid int, addr uintptr, out []byte, countin int) (count int, err error) {
|
|
- ioDesc := PtraceIoDesc{Op: int32(req), Offs: (*byte)(unsafe.Pointer(addr)), Addr: (*byte)(unsafe.Pointer(&out[0])), Len: uint64(countin)}
|
|
- err = ptrace(PTRACE_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0)
|
|
+ ioDesc := PtraceIoDesc{Op: int32(req), Offs: uintptr(unsafe.Pointer(addr)), Addr: uintptr(unsafe.Pointer(&out[0])), Len: uint64(countin)}
|
|
+ err = ptrace(PT_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0)
|
|
return int(ioDesc.Len), err
|
|
}
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_freebsd_riscv64.go b/vendor/golang.org/x/sys/unix/syscall_freebsd_riscv64.go
|
|
new file mode 100644
|
|
index 0000000..cbe1222
|
|
--- /dev/null
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_freebsd_riscv64.go
|
|
@@ -0,0 +1,63 @@
|
|
+// Copyright 2022 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 riscv64 && freebsd
|
|
+// +build riscv64,freebsd
|
|
+
|
|
+package unix
|
|
+
|
|
+import (
|
|
+ "syscall"
|
|
+ "unsafe"
|
|
+)
|
|
+
|
|
+func setTimespec(sec, nsec int64) Timespec {
|
|
+ return Timespec{Sec: sec, Nsec: nsec}
|
|
+}
|
|
+
|
|
+func setTimeval(sec, usec int64) Timeval {
|
|
+ return Timeval{Sec: sec, Usec: usec}
|
|
+}
|
|
+
|
|
+func SetKevent(k *Kevent_t, fd, mode, flags int) {
|
|
+ k.Ident = uint64(fd)
|
|
+ k.Filter = int16(mode)
|
|
+ k.Flags = uint16(flags)
|
|
+}
|
|
+
|
|
+func (iov *Iovec) SetLen(length int) {
|
|
+ iov.Len = uint64(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 sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
|
|
+ var writtenOut uint64 = 0
|
|
+ _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0, 0)
|
|
+
|
|
+ written = int(writtenOut)
|
|
+
|
|
+ if e1 != 0 {
|
|
+ err = e1
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
|
|
+
|
|
+func PtraceIO(req int, pid int, addr uintptr, out []byte, countin int) (count int, err error) {
|
|
+ ioDesc := PtraceIoDesc{Op: int32(req), Offs: uintptr(unsafe.Pointer(addr)), Addr: uintptr(unsafe.Pointer(&out[0])), Len: uint64(countin)}
|
|
+ err = ptrace(PT_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0)
|
|
+ return int(ioDesc.Len), err
|
|
+}
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_illumos.go b/vendor/golang.org/x/sys/unix/syscall_illumos.go
|
|
index 8d5f294..e48244a 100644
|
|
--- a/vendor/golang.org/x/sys/unix/syscall_illumos.go
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_illumos.go
|
|
@@ -20,10 +20,9 @@ func bytes2iovec(bs [][]byte) []Iovec {
|
|
for i, b := range bs {
|
|
iovecs[i].SetLen(len(b))
|
|
if len(b) > 0 {
|
|
- // somehow Iovec.Base on illumos is (*int8), not (*byte)
|
|
- iovecs[i].Base = (*int8)(unsafe.Pointer(&b[0]))
|
|
+ iovecs[i].Base = &b[0]
|
|
} else {
|
|
- iovecs[i].Base = (*int8)(unsafe.Pointer(&_zero))
|
|
+ iovecs[i].Base = (*byte)(unsafe.Pointer(&_zero))
|
|
}
|
|
}
|
|
return iovecs
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux.go b/vendor/golang.org/x/sys/unix/syscall_linux.go
|
|
index 4bc5baf..4714691 100644
|
|
--- a/vendor/golang.org/x/sys/unix/syscall_linux.go
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_linux.go
|
|
@@ -13,7 +13,9 @@ package unix
|
|
|
|
import (
|
|
"encoding/binary"
|
|
+ "strconv"
|
|
"syscall"
|
|
+ "time"
|
|
"unsafe"
|
|
)
|
|
|
|
@@ -131,8 +133,10 @@ func Pipe2(p []int, flags int) error {
|
|
}
|
|
var pp [2]_C_int
|
|
err := pipe2(&pp, flags)
|
|
- p[0] = int(pp[0])
|
|
- p[1] = int(pp[1])
|
|
+ if err == nil {
|
|
+ p[0] = int(pp[0])
|
|
+ p[1] = int(pp[1])
|
|
+ }
|
|
return err
|
|
}
|
|
|
|
@@ -230,7 +234,7 @@ func Futimesat(dirfd int, path string, tv []Timeval) error {
|
|
func Futimes(fd int, tv []Timeval) (err error) {
|
|
// Believe it or not, this is the best we can do on Linux
|
|
// (and is what glibc does).
|
|
- return Utimes("/proc/self/fd/"+itoa(fd), tv)
|
|
+ return Utimes("/proc/self/fd/"+strconv.Itoa(fd), tv)
|
|
}
|
|
|
|
const ImplementsGetwd = true
|
|
@@ -247,6 +251,13 @@ func Getwd() (wd string, err error) {
|
|
if n < 1 || n > len(buf) || buf[n-1] != 0 {
|
|
return "", EINVAL
|
|
}
|
|
+ // In some cases, Linux can return a path that starts with the
|
|
+ // "(unreachable)" prefix, which can potentially be a valid relative
|
|
+ // path. To work around that, return ENOENT if path is not absolute.
|
|
+ if buf[0] != '/' {
|
|
+ return "", ENOENT
|
|
+ }
|
|
+
|
|
return string(buf[0 : n-1]), nil
|
|
}
|
|
|
|
@@ -356,6 +367,8 @@ func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int,
|
|
return
|
|
}
|
|
|
|
+//sys Waitid(idType int, id int, info *Siginfo, options int, rusage *Rusage) (err error)
|
|
+
|
|
func Mkfifo(path string, mode uint32) error {
|
|
return Mknod(path, mode|S_IFIFO, 0)
|
|
}
|
|
@@ -500,24 +513,24 @@ func (sa *SockaddrL2) sockaddr() (unsafe.Pointer, _Socklen, error) {
|
|
//
|
|
// Server example:
|
|
//
|
|
-// fd, _ := Socket(AF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM)
|
|
-// _ = unix.Bind(fd, &unix.SockaddrRFCOMM{
|
|
-// Channel: 1,
|
|
-// Addr: [6]uint8{0, 0, 0, 0, 0, 0}, // BDADDR_ANY or 00:00:00:00:00:00
|
|
-// })
|
|
-// _ = Listen(fd, 1)
|
|
-// nfd, sa, _ := Accept(fd)
|
|
-// fmt.Printf("conn addr=%v fd=%d", sa.(*unix.SockaddrRFCOMM).Addr, nfd)
|
|
-// Read(nfd, buf)
|
|
+// fd, _ := Socket(AF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM)
|
|
+// _ = unix.Bind(fd, &unix.SockaddrRFCOMM{
|
|
+// Channel: 1,
|
|
+// Addr: [6]uint8{0, 0, 0, 0, 0, 0}, // BDADDR_ANY or 00:00:00:00:00:00
|
|
+// })
|
|
+// _ = Listen(fd, 1)
|
|
+// nfd, sa, _ := Accept(fd)
|
|
+// fmt.Printf("conn addr=%v fd=%d", sa.(*unix.SockaddrRFCOMM).Addr, nfd)
|
|
+// Read(nfd, buf)
|
|
//
|
|
// Client example:
|
|
//
|
|
-// fd, _ := Socket(AF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM)
|
|
-// _ = Connect(fd, &SockaddrRFCOMM{
|
|
-// Channel: 1,
|
|
-// Addr: [6]byte{0x11, 0x22, 0x33, 0xaa, 0xbb, 0xcc}, // CC:BB:AA:33:22:11
|
|
-// })
|
|
-// Write(fd, []byte(`hello`))
|
|
+// fd, _ := Socket(AF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM)
|
|
+// _ = Connect(fd, &SockaddrRFCOMM{
|
|
+// Channel: 1,
|
|
+// Addr: [6]byte{0x11, 0x22, 0x33, 0xaa, 0xbb, 0xcc}, // CC:BB:AA:33:22:11
|
|
+// })
|
|
+// Write(fd, []byte(`hello`))
|
|
type SockaddrRFCOMM struct {
|
|
// Addr represents a bluetooth address, byte ordering is little-endian.
|
|
Addr [6]uint8
|
|
@@ -544,12 +557,12 @@ func (sa *SockaddrRFCOMM) sockaddr() (unsafe.Pointer, _Socklen, error) {
|
|
// The SockaddrCAN struct must be bound to the socket file descriptor
|
|
// using Bind before the CAN socket can be used.
|
|
//
|
|
-// // Read one raw CAN frame
|
|
-// fd, _ := Socket(AF_CAN, SOCK_RAW, CAN_RAW)
|
|
-// addr := &SockaddrCAN{Ifindex: index}
|
|
-// Bind(fd, addr)
|
|
-// frame := make([]byte, 16)
|
|
-// Read(fd, frame)
|
|
+// // Read one raw CAN frame
|
|
+// fd, _ := Socket(AF_CAN, SOCK_RAW, CAN_RAW)
|
|
+// addr := &SockaddrCAN{Ifindex: index}
|
|
+// Bind(fd, addr)
|
|
+// frame := make([]byte, 16)
|
|
+// Read(fd, frame)
|
|
//
|
|
// The full SocketCAN documentation can be found in the linux kernel
|
|
// archives at: https://www.kernel.org/doc/Documentation/networking/can.txt
|
|
@@ -620,13 +633,13 @@ func (sa *SockaddrCANJ1939) sockaddr() (unsafe.Pointer, _Socklen, error) {
|
|
// Here is an example of using an AF_ALG socket with SHA1 hashing.
|
|
// The initial socket setup process is as follows:
|
|
//
|
|
-// // Open a socket to perform SHA1 hashing.
|
|
-// fd, _ := unix.Socket(unix.AF_ALG, unix.SOCK_SEQPACKET, 0)
|
|
-// addr := &unix.SockaddrALG{Type: "hash", Name: "sha1"}
|
|
-// unix.Bind(fd, addr)
|
|
-// // Note: unix.Accept does not work at this time; must invoke accept()
|
|
-// // manually using unix.Syscall.
|
|
-// hashfd, _, _ := unix.Syscall(unix.SYS_ACCEPT, uintptr(fd), 0, 0)
|
|
+// // Open a socket to perform SHA1 hashing.
|
|
+// fd, _ := unix.Socket(unix.AF_ALG, unix.SOCK_SEQPACKET, 0)
|
|
+// addr := &unix.SockaddrALG{Type: "hash", Name: "sha1"}
|
|
+// unix.Bind(fd, addr)
|
|
+// // Note: unix.Accept does not work at this time; must invoke accept()
|
|
+// // manually using unix.Syscall.
|
|
+// hashfd, _, _ := unix.Syscall(unix.SYS_ACCEPT, uintptr(fd), 0, 0)
|
|
//
|
|
// Once a file descriptor has been returned from Accept, it may be used to
|
|
// perform SHA1 hashing. The descriptor is not safe for concurrent use, but
|
|
@@ -635,39 +648,39 @@ func (sa *SockaddrCANJ1939) sockaddr() (unsafe.Pointer, _Socklen, error) {
|
|
// When hashing a small byte slice or string, a single Write and Read may
|
|
// be used:
|
|
//
|
|
-// // Assume hashfd is already configured using the setup process.
|
|
-// hash := os.NewFile(hashfd, "sha1")
|
|
-// // Hash an input string and read the results. Each Write discards
|
|
-// // previous hash state. Read always reads the current state.
|
|
-// b := make([]byte, 20)
|
|
-// for i := 0; i < 2; i++ {
|
|
-// io.WriteString(hash, "Hello, world.")
|
|
-// hash.Read(b)
|
|
-// fmt.Println(hex.EncodeToString(b))
|
|
-// }
|
|
-// // Output:
|
|
-// // 2ae01472317d1935a84797ec1983ae243fc6aa28
|
|
-// // 2ae01472317d1935a84797ec1983ae243fc6aa28
|
|
+// // Assume hashfd is already configured using the setup process.
|
|
+// hash := os.NewFile(hashfd, "sha1")
|
|
+// // Hash an input string and read the results. Each Write discards
|
|
+// // previous hash state. Read always reads the current state.
|
|
+// b := make([]byte, 20)
|
|
+// for i := 0; i < 2; i++ {
|
|
+// io.WriteString(hash, "Hello, world.")
|
|
+// hash.Read(b)
|
|
+// fmt.Println(hex.EncodeToString(b))
|
|
+// }
|
|
+// // Output:
|
|
+// // 2ae01472317d1935a84797ec1983ae243fc6aa28
|
|
+// // 2ae01472317d1935a84797ec1983ae243fc6aa28
|
|
//
|
|
// For hashing larger byte slices, or byte streams such as those read from
|
|
// a file or socket, use Sendto with MSG_MORE to instruct the kernel to update
|
|
// the hash digest instead of creating a new one for a given chunk and finalizing it.
|
|
//
|
|
-// // Assume hashfd and addr are already configured using the setup process.
|
|
-// hash := os.NewFile(hashfd, "sha1")
|
|
-// // Hash the contents of a file.
|
|
-// f, _ := os.Open("/tmp/linux-4.10-rc7.tar.xz")
|
|
-// b := make([]byte, 4096)
|
|
-// for {
|
|
-// n, err := f.Read(b)
|
|
-// if err == io.EOF {
|
|
-// break
|
|
-// }
|
|
-// unix.Sendto(hashfd, b[:n], unix.MSG_MORE, addr)
|
|
-// }
|
|
-// hash.Read(b)
|
|
-// fmt.Println(hex.EncodeToString(b))
|
|
-// // Output: 85cdcad0c06eef66f805ecce353bec9accbeecc5
|
|
+// // Assume hashfd and addr are already configured using the setup process.
|
|
+// hash := os.NewFile(hashfd, "sha1")
|
|
+// // Hash the contents of a file.
|
|
+// f, _ := os.Open("/tmp/linux-4.10-rc7.tar.xz")
|
|
+// b := make([]byte, 4096)
|
|
+// for {
|
|
+// n, err := f.Read(b)
|
|
+// if err == io.EOF {
|
|
+// break
|
|
+// }
|
|
+// unix.Sendto(hashfd, b[:n], unix.MSG_MORE, addr)
|
|
+// }
|
|
+// hash.Read(b)
|
|
+// fmt.Println(hex.EncodeToString(b))
|
|
+// // Output: 85cdcad0c06eef66f805ecce353bec9accbeecc5
|
|
//
|
|
// For more information, see: http://www.chronox.de/crypto-API/crypto/userspace-if.html.
|
|
type SockaddrALG struct {
|
|
@@ -1487,19 +1500,13 @@ func KeyctlRestrictKeyring(ringid int, keyType string, restriction string) error
|
|
//sys keyctlRestrictKeyringByType(cmd int, arg2 int, keyType string, restriction string) (err error) = SYS_KEYCTL
|
|
//sys keyctlRestrictKeyring(cmd int, arg2 int) (err error) = SYS_KEYCTL
|
|
|
|
-func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) {
|
|
+func recvmsgRaw(fd int, iov []Iovec, oob []byte, flags int, rsa *RawSockaddrAny) (n, oobn int, recvflags int, err error) {
|
|
var msg Msghdr
|
|
- var rsa RawSockaddrAny
|
|
- msg.Name = (*byte)(unsafe.Pointer(&rsa))
|
|
+ msg.Name = (*byte)(unsafe.Pointer(rsa))
|
|
msg.Namelen = uint32(SizeofSockaddrAny)
|
|
- var iov Iovec
|
|
- if len(p) > 0 {
|
|
- iov.Base = &p[0]
|
|
- iov.SetLen(len(p))
|
|
- }
|
|
var dummy byte
|
|
if len(oob) > 0 {
|
|
- if len(p) == 0 {
|
|
+ if emptyIovecs(iov) {
|
|
var sockType int
|
|
sockType, err = GetsockoptInt(fd, SOL_SOCKET, SO_TYPE)
|
|
if err != nil {
|
|
@@ -1507,53 +1514,36 @@ func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from
|
|
}
|
|
// receive at least one normal byte
|
|
if sockType != SOCK_DGRAM {
|
|
- iov.Base = &dummy
|
|
- iov.SetLen(1)
|
|
+ var iova [1]Iovec
|
|
+ iova[0].Base = &dummy
|
|
+ iova[0].SetLen(1)
|
|
+ iov = iova[:]
|
|
}
|
|
}
|
|
msg.Control = &oob[0]
|
|
msg.SetControllen(len(oob))
|
|
}
|
|
- msg.Iov = &iov
|
|
- msg.Iovlen = 1
|
|
+ if len(iov) > 0 {
|
|
+ msg.Iov = &iov[0]
|
|
+ msg.SetIovlen(len(iov))
|
|
+ }
|
|
if n, err = recvmsg(fd, &msg, flags); err != nil {
|
|
return
|
|
}
|
|
oobn = int(msg.Controllen)
|
|
recvflags = int(msg.Flags)
|
|
- // source address is only specified if the socket is unconnected
|
|
- if rsa.Addr.Family != AF_UNSPEC {
|
|
- from, err = anyToSockaddr(fd, &rsa)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-func Sendmsg(fd int, p, oob []byte, to Sockaddr, flags int) (err error) {
|
|
- _, err = SendmsgN(fd, p, oob, to, flags)
|
|
return
|
|
}
|
|
|
|
-func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error) {
|
|
- var ptr unsafe.Pointer
|
|
- var salen _Socklen
|
|
- if to != nil {
|
|
- var err error
|
|
- ptr, salen, err = to.sockaddr()
|
|
- if err != nil {
|
|
- return 0, err
|
|
- }
|
|
- }
|
|
+func sendmsgN(fd int, iov []Iovec, oob []byte, ptr unsafe.Pointer, salen _Socklen, flags int) (n int, err error) {
|
|
var msg Msghdr
|
|
msg.Name = (*byte)(ptr)
|
|
msg.Namelen = uint32(salen)
|
|
- var iov Iovec
|
|
- if len(p) > 0 {
|
|
- iov.Base = &p[0]
|
|
- iov.SetLen(len(p))
|
|
- }
|
|
var dummy byte
|
|
+ var empty bool
|
|
if len(oob) > 0 {
|
|
- if len(p) == 0 {
|
|
+ empty = emptyIovecs(iov)
|
|
+ if empty {
|
|
var sockType int
|
|
sockType, err = GetsockoptInt(fd, SOL_SOCKET, SO_TYPE)
|
|
if err != nil {
|
|
@@ -1561,19 +1551,22 @@ func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error)
|
|
}
|
|
// send at least one normal byte
|
|
if sockType != SOCK_DGRAM {
|
|
- iov.Base = &dummy
|
|
- iov.SetLen(1)
|
|
+ var iova [1]Iovec
|
|
+ iova[0].Base = &dummy
|
|
+ iova[0].SetLen(1)
|
|
}
|
|
}
|
|
msg.Control = &oob[0]
|
|
msg.SetControllen(len(oob))
|
|
}
|
|
- msg.Iov = &iov
|
|
- msg.Iovlen = 1
|
|
+ if len(iov) > 0 {
|
|
+ msg.Iov = &iov[0]
|
|
+ msg.SetIovlen(len(iov))
|
|
+ }
|
|
if n, err = sendmsg(fd, &msg, flags); err != nil {
|
|
return 0, err
|
|
}
|
|
- if len(oob) > 0 && len(p) == 0 {
|
|
+ if len(oob) > 0 && empty {
|
|
n = 0
|
|
}
|
|
return n, nil
|
|
@@ -1836,6 +1829,9 @@ func Dup2(oldfd, newfd int) error {
|
|
//sys Fremovexattr(fd int, attr string) (err error)
|
|
//sys Fsetxattr(fd int, attr string, dest []byte, flags int) (err error)
|
|
//sys Fsync(fd int) (err error)
|
|
+//sys Fsmount(fd int, flags int, mountAttrs int) (fsfd int, err error)
|
|
+//sys Fsopen(fsName string, flags int) (fd int, err error)
|
|
+//sys Fspick(dirfd int, pathName string, flags int) (fd int, err error)
|
|
//sys Getdents(fd int, buf []byte) (n int, err error) = SYS_GETDENTS64
|
|
//sysnb Getpgid(pid int) (pgid int, err error)
|
|
|
|
@@ -1866,7 +1862,9 @@ func Getpgrp() (pid int) {
|
|
//sys MemfdCreate(name string, flags int) (fd int, err error)
|
|
//sys Mkdirat(dirfd int, path string, mode uint32) (err error)
|
|
//sys Mknodat(dirfd int, path string, mode uint32, dev int) (err error)
|
|
+//sys MoveMount(fromDirfd int, fromPathName string, toDirfd int, toPathName string, flags int) (err error)
|
|
//sys Nanosleep(time *Timespec, leftover *Timespec) (err error)
|
|
+//sys OpenTree(dfd int, fileName string, flags uint) (r 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
|
|
//sysnb Prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) = SYS_PRLIMIT64
|
|
@@ -1894,17 +1892,28 @@ func PrctlRetInt(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uint
|
|
return int(ret), nil
|
|
}
|
|
|
|
-// issue 1435.
|
|
-// On linux Setuid and Setgid only affects the current thread, not the process.
|
|
-// This does not match what most callers expect so we must return an error
|
|
-// here rather than letting the caller think that the call succeeded.
|
|
-
|
|
func Setuid(uid int) (err error) {
|
|
- return EOPNOTSUPP
|
|
+ return syscall.Setuid(uid)
|
|
+}
|
|
+
|
|
+func Setgid(gid int) (err error) {
|
|
+ return syscall.Setgid(gid)
|
|
+}
|
|
+
|
|
+func Setreuid(ruid, euid int) (err error) {
|
|
+ return syscall.Setreuid(ruid, euid)
|
|
+}
|
|
+
|
|
+func Setregid(rgid, egid int) (err error) {
|
|
+ return syscall.Setregid(rgid, egid)
|
|
}
|
|
|
|
-func Setgid(uid int) (err error) {
|
|
- return EOPNOTSUPP
|
|
+func Setresuid(ruid, euid, suid int) (err error) {
|
|
+ return syscall.Setresuid(ruid, euid, suid)
|
|
+}
|
|
+
|
|
+func Setresgid(rgid, egid, sgid int) (err error) {
|
|
+ return syscall.Setresgid(rgid, egid, sgid)
|
|
}
|
|
|
|
// SetfsgidRetGid sets fsgid for current thread and returns previous fsgid set.
|
|
@@ -2191,7 +2200,7 @@ func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
|
|
gid = Getgid()
|
|
}
|
|
|
|
- if uint32(gid) == st.Gid || isGroupMember(gid) {
|
|
+ if uint32(gid) == st.Gid || isGroupMember(int(st.Gid)) {
|
|
fmode = (st.Mode >> 3) & 7
|
|
} else {
|
|
fmode = st.Mode & 7
|
|
@@ -2306,17 +2315,63 @@ type RemoteIovec struct {
|
|
|
|
//sys PidfdOpen(pid int, flags int) (fd int, err error) = SYS_PIDFD_OPEN
|
|
//sys PidfdGetfd(pidfd int, targetfd int, flags int) (fd int, err error) = SYS_PIDFD_GETFD
|
|
+//sys PidfdSendSignal(pidfd int, sig Signal, info *Siginfo, flags int) (err error) = SYS_PIDFD_SEND_SIGNAL
|
|
|
|
//sys shmat(id int, addr uintptr, flag int) (ret uintptr, err error)
|
|
//sys shmctl(id int, cmd int, buf *SysvShmDesc) (result int, err error)
|
|
//sys shmdt(addr uintptr) (err error)
|
|
//sys shmget(key int, size int, flag int) (id int, err error)
|
|
|
|
+//sys getitimer(which int, currValue *Itimerval) (err error)
|
|
+//sys setitimer(which int, newValue *Itimerval, oldValue *Itimerval) (err error)
|
|
+
|
|
+// MakeItimerval creates an Itimerval from interval and value durations.
|
|
+func MakeItimerval(interval, value time.Duration) Itimerval {
|
|
+ return Itimerval{
|
|
+ Interval: NsecToTimeval(interval.Nanoseconds()),
|
|
+ Value: NsecToTimeval(value.Nanoseconds()),
|
|
+ }
|
|
+}
|
|
+
|
|
+// A value which may be passed to the which parameter for Getitimer and
|
|
+// Setitimer.
|
|
+type ItimerWhich int
|
|
+
|
|
+// Possible which values for Getitimer and Setitimer.
|
|
+const (
|
|
+ ItimerReal ItimerWhich = ITIMER_REAL
|
|
+ ItimerVirtual ItimerWhich = ITIMER_VIRTUAL
|
|
+ ItimerProf ItimerWhich = ITIMER_PROF
|
|
+)
|
|
+
|
|
+// Getitimer wraps getitimer(2) to return the current value of the timer
|
|
+// specified by which.
|
|
+func Getitimer(which ItimerWhich) (Itimerval, error) {
|
|
+ var it Itimerval
|
|
+ if err := getitimer(int(which), &it); err != nil {
|
|
+ return Itimerval{}, err
|
|
+ }
|
|
+
|
|
+ return it, nil
|
|
+}
|
|
+
|
|
+// Setitimer wraps setitimer(2) to arm or disarm the timer specified by which.
|
|
+// It returns the previous value of the timer.
|
|
+//
|
|
+// If the Itimerval argument is the zero value, the timer will be disarmed.
|
|
+func Setitimer(which ItimerWhich, it Itimerval) (Itimerval, error) {
|
|
+ var prev Itimerval
|
|
+ if err := setitimer(int(which), &it, &prev); err != nil {
|
|
+ return Itimerval{}, err
|
|
+ }
|
|
+
|
|
+ return prev, nil
|
|
+}
|
|
+
|
|
/*
|
|
* Unimplemented
|
|
*/
|
|
// AfsSyscall
|
|
-// Alarm
|
|
// ArchPrctl
|
|
// Brk
|
|
// ClockNanosleep
|
|
@@ -2332,7 +2387,6 @@ type RemoteIovec struct {
|
|
// GetMempolicy
|
|
// GetRobustList
|
|
// GetThreadArea
|
|
-// Getitimer
|
|
// Getpmsg
|
|
// IoCancel
|
|
// IoDestroy
|
|
@@ -2410,5 +2464,4 @@ type RemoteIovec struct {
|
|
// Vfork
|
|
// Vhangup
|
|
// Vserver
|
|
-// Waitid
|
|
// _Sysctl
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_386.go b/vendor/golang.org/x/sys/unix/syscall_linux_386.go
|
|
index 5f757e8..ff5b589 100644
|
|
--- a/vendor/golang.org/x/sys/unix/syscall_linux_386.go
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_linux_386.go
|
|
@@ -35,16 +35,12 @@ func setTimeval(sec, usec int64) Timeval {
|
|
//sys Iopl(level int) (err error)
|
|
//sys Lchown(path string, uid int, gid int) (err error) = SYS_LCHOWN32
|
|
//sys Lstat(path string, stat *Stat_t) (err error) = SYS_LSTAT64
|
|
-//sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
|
|
-//sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
|
|
+//sys pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
|
|
+//sys pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
|
|
//sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
|
|
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) = SYS_SENDFILE64
|
|
//sys setfsgid(gid int) (prev int, err error) = SYS_SETFSGID32
|
|
//sys setfsuid(uid int) (prev int, err error) = SYS_SETFSUID32
|
|
-//sysnb Setregid(rgid int, egid int) (err error) = SYS_SETREGID32
|
|
-//sysnb Setresgid(rgid int, egid int, sgid int) (err error) = SYS_SETRESGID32
|
|
-//sysnb Setresuid(ruid int, euid int, suid int) (err error) = SYS_SETRESUID32
|
|
-//sysnb Setreuid(ruid int, euid int) (err error) = SYS_SETREUID32
|
|
//sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error)
|
|
//sys Stat(path string, stat *Stat_t) (err error) = SYS_STAT64
|
|
//sys SyncFileRange(fd int, off int64, n int64, flags int) (err error)
|
|
@@ -173,14 +169,6 @@ const (
|
|
_SENDMMSG = 20
|
|
)
|
|
|
|
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
|
|
- fd, e := socketcall(_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
|
|
- if e != 0 {
|
|
- err = e
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
|
|
fd, e := socketcall(_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
|
|
if e != 0 {
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_alarm.go b/vendor/golang.org/x/sys/unix/syscall_linux_alarm.go
|
|
new file mode 100644
|
|
index 0000000..08086ac
|
|
--- /dev/null
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_linux_alarm.go
|
|
@@ -0,0 +1,14 @@
|
|
+// Copyright 2022 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 && (386 || amd64 || mips || mipsle || mips64 || mipsle || ppc64 || ppc64le || ppc || s390x || sparc64)
|
|
+// +build linux
|
|
+// +build 386 amd64 mips mipsle mips64 mipsle ppc64 ppc64le ppc s390x sparc64
|
|
+
|
|
+package unix
|
|
+
|
|
+// SYS_ALARM is not defined on arm or riscv, but is available for other GOARCH
|
|
+// values.
|
|
+
|
|
+//sys Alarm(seconds uint) (remaining uint, err error)
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go b/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go
|
|
index 4299125..9b27035 100644
|
|
--- a/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go
|
|
@@ -28,9 +28,10 @@ func Lstat(path string, stat *Stat_t) (err error) {
|
|
return Fstatat(AT_FDCWD, path, stat, AT_SYMLINK_NOFOLLOW)
|
|
}
|
|
|
|
+//sys MemfdSecret(flags int) (fd int, err error)
|
|
//sys Pause() (err error)
|
|
-//sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
|
|
-//sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
|
|
+//sys pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
|
|
+//sys pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
|
|
//sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
|
|
//sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
|
|
|
|
@@ -45,11 +46,7 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err
|
|
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
|
|
//sys setfsgid(gid int) (prev int, err error)
|
|
//sys setfsuid(uid int) (prev int, err error)
|
|
-//sysnb Setregid(rgid int, egid int) (err error)
|
|
-//sysnb Setresgid(rgid int, egid int, sgid int) (err error)
|
|
-//sysnb Setresuid(ruid int, euid int, suid int) (err error)
|
|
//sysnb Setrlimit(resource int, rlim *Rlimit) (err error)
|
|
-//sysnb Setreuid(ruid int, euid int) (err error)
|
|
//sys Shutdown(fd int, how int) (err error)
|
|
//sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
|
|
|
|
@@ -62,7 +59,6 @@ func Stat(path string, stat *Stat_t) (err error) {
|
|
//sys SyncFileRange(fd int, off int64, n int64, flags int) (err error)
|
|
//sys Truncate(path string, length int64) (err error)
|
|
//sys Ustat(dev int, ubuf *Ustat_t) (err error)
|
|
-//sys accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
|
|
//sys accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
|
|
//sys bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
|
|
//sys connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_arm.go b/vendor/golang.org/x/sys/unix/syscall_linux_arm.go
|
|
index 79edeb9..856ad1d 100644
|
|
--- a/vendor/golang.org/x/sys/unix/syscall_linux_arm.go
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_linux_arm.go
|
|
@@ -27,7 +27,6 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
|
|
return newoffset, nil
|
|
}
|
|
|
|
-//sys accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
|
|
//sys accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
|
|
//sys bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
|
|
//sys connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
|
|
@@ -63,10 +62,6 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
|
|
//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS__NEWSELECT
|
|
//sys setfsgid(gid int) (prev int, err error) = SYS_SETFSGID32
|
|
//sys setfsuid(uid int) (prev int, err error) = SYS_SETFSUID32
|
|
-//sysnb Setregid(rgid int, egid int) (err error) = SYS_SETREGID32
|
|
-//sysnb Setresgid(rgid int, egid int, sgid int) (err error) = SYS_SETRESGID32
|
|
-//sysnb Setresuid(ruid int, euid int, suid int) (err error) = SYS_SETRESUID32
|
|
-//sysnb Setreuid(ruid int, euid int) (err error) = SYS_SETREUID32
|
|
//sys Shutdown(fd int, how int) (err error)
|
|
//sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error)
|
|
//sys Stat(path string, stat *Stat_t) (err error) = SYS_STAT64
|
|
@@ -97,8 +92,8 @@ func Utime(path string, buf *Utimbuf) error {
|
|
|
|
//sys utimes(path string, times *[2]Timeval) (err error)
|
|
|
|
-//sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
|
|
-//sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
|
|
+//sys pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
|
|
+//sys pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
|
|
//sys Truncate(path string, length int64) (err error) = SYS_TRUNCATE64
|
|
//sys Ftruncate(fd int, length int64) (err error) = SYS_FTRUNCATE64
|
|
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go b/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go
|
|
index 862890d..6422704 100644
|
|
--- a/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go
|
|
@@ -22,8 +22,9 @@ import "unsafe"
|
|
//sysnb getrlimit(resource int, rlim *Rlimit) (err error)
|
|
//sysnb Getuid() (uid int)
|
|
//sys Listen(s int, n int) (err error)
|
|
-//sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
|
|
-//sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
|
|
+//sys MemfdSecret(flags int) (fd int, err error)
|
|
+//sys pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
|
|
+//sys pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
|
|
//sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
|
|
//sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
|
|
|
|
@@ -38,11 +39,7 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err
|
|
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
|
|
//sys setfsgid(gid int) (prev int, err error)
|
|
//sys setfsuid(uid int) (prev int, err error)
|
|
-//sysnb Setregid(rgid int, egid int) (err error)
|
|
-//sysnb Setresgid(rgid int, egid int, sgid int) (err error)
|
|
-//sysnb Setresuid(ruid int, euid int, suid int) (err error)
|
|
//sysnb setrlimit(resource int, rlim *Rlimit) (err error)
|
|
-//sysnb Setreuid(ruid int, euid int) (err error)
|
|
//sys Shutdown(fd int, how int) (err error)
|
|
//sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
|
|
|
|
@@ -66,7 +63,6 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) {
|
|
return ENOSYS
|
|
}
|
|
|
|
-//sys accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
|
|
//sys accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
|
|
//sys bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
|
|
//sys connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go b/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go
|
|
new file mode 100644
|
|
index 0000000..59dab51
|
|
--- /dev/null
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go
|
|
@@ -0,0 +1,222 @@
|
|
+// Copyright 2022 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 loong64 && linux
|
|
+// +build loong64,linux
|
|
+
|
|
+package unix
|
|
+
|
|
+import "unsafe"
|
|
+
|
|
+//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) = SYS_EPOLL_PWAIT
|
|
+//sys Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64
|
|
+//sys Fchown(fd int, uid int, gid int) (err error)
|
|
+//sys Fstatfs(fd int, buf *Statfs_t) (err error)
|
|
+//sys Ftruncate(fd int, length int64) (err error)
|
|
+//sysnb Getegid() (egid int)
|
|
+//sysnb Geteuid() (euid int)
|
|
+//sysnb Getgid() (gid int)
|
|
+//sysnb Getuid() (uid int)
|
|
+//sys Listen(s int, n int) (err error)
|
|
+//sys pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
|
|
+//sys pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
|
|
+//sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
|
|
+
|
|
+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
|
|
+ var ts *Timespec
|
|
+ if timeout != nil {
|
|
+ ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
|
|
+ }
|
|
+ return Pselect(nfd, r, w, e, ts, nil)
|
|
+}
|
|
+
|
|
+//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
|
|
+//sys setfsgid(gid int) (prev int, err error)
|
|
+//sys setfsuid(uid int) (prev int, err error)
|
|
+//sys Shutdown(fd int, how int) (err error)
|
|
+//sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
|
|
+
|
|
+func timespecFromStatxTimestamp(x StatxTimestamp) Timespec {
|
|
+ return Timespec{
|
|
+ Sec: x.Sec,
|
|
+ Nsec: int64(x.Nsec),
|
|
+ }
|
|
+}
|
|
+
|
|
+func Fstatat(fd int, path string, stat *Stat_t, flags int) error {
|
|
+ var r Statx_t
|
|
+ // Do it the glibc way, add AT_NO_AUTOMOUNT.
|
|
+ if err := Statx(fd, path, AT_NO_AUTOMOUNT|flags, STATX_BASIC_STATS, &r); err != nil {
|
|
+ return err
|
|
+ }
|
|
+
|
|
+ stat.Dev = Mkdev(r.Dev_major, r.Dev_minor)
|
|
+ stat.Ino = r.Ino
|
|
+ stat.Mode = uint32(r.Mode)
|
|
+ stat.Nlink = r.Nlink
|
|
+ stat.Uid = r.Uid
|
|
+ stat.Gid = r.Gid
|
|
+ stat.Rdev = Mkdev(r.Rdev_major, r.Rdev_minor)
|
|
+ // hope we don't get to process files so large to overflow these size
|
|
+ // fields...
|
|
+ stat.Size = int64(r.Size)
|
|
+ stat.Blksize = int32(r.Blksize)
|
|
+ stat.Blocks = int64(r.Blocks)
|
|
+ stat.Atim = timespecFromStatxTimestamp(r.Atime)
|
|
+ stat.Mtim = timespecFromStatxTimestamp(r.Mtime)
|
|
+ stat.Ctim = timespecFromStatxTimestamp(r.Ctime)
|
|
+
|
|
+ return nil
|
|
+}
|
|
+
|
|
+func Fstat(fd int, stat *Stat_t) (err error) {
|
|
+ return Fstatat(fd, "", stat, AT_EMPTY_PATH)
|
|
+}
|
|
+
|
|
+func Stat(path string, stat *Stat_t) (err error) {
|
|
+ return Fstatat(AT_FDCWD, path, stat, 0)
|
|
+}
|
|
+
|
|
+func Lchown(path string, uid int, gid int) (err error) {
|
|
+ return Fchownat(AT_FDCWD, path, uid, gid, AT_SYMLINK_NOFOLLOW)
|
|
+}
|
|
+
|
|
+func Lstat(path string, stat *Stat_t) (err error) {
|
|
+ return Fstatat(AT_FDCWD, path, stat, AT_SYMLINK_NOFOLLOW)
|
|
+}
|
|
+
|
|
+//sys Statfs(path string, buf *Statfs_t) (err error)
|
|
+//sys SyncFileRange(fd int, off int64, n int64, flags int) (err error)
|
|
+//sys Truncate(path string, length int64) (err error)
|
|
+
|
|
+func Ustat(dev int, ubuf *Ustat_t) (err error) {
|
|
+ return ENOSYS
|
|
+}
|
|
+
|
|
+//sys accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
|
|
+//sys bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
|
|
+//sys connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
|
|
+//sysnb getgroups(n int, list *_Gid_t) (nn int, err error)
|
|
+//sysnb setgroups(n int, list *_Gid_t) (err error)
|
|
+//sys getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error)
|
|
+//sys setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error)
|
|
+//sysnb socket(domain int, typ int, proto int) (fd int, err error)
|
|
+//sysnb socketpair(domain int, typ int, proto int, fd *[2]int32) (err error)
|
|
+//sysnb getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
|
|
+//sysnb getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
|
|
+//sys recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error)
|
|
+//sys sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error)
|
|
+//sys recvmsg(s int, msg *Msghdr, flags int) (n int, err error)
|
|
+//sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
|
|
+//sys mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
|
|
+
|
|
+//sysnb Gettimeofday(tv *Timeval) (err error)
|
|
+
|
|
+func setTimespec(sec, nsec int64) Timespec {
|
|
+ return Timespec{Sec: sec, Nsec: nsec}
|
|
+}
|
|
+
|
|
+func setTimeval(sec, usec int64) Timeval {
|
|
+ return Timeval{Sec: sec, Usec: usec}
|
|
+}
|
|
+
|
|
+func Getrlimit(resource int, rlim *Rlimit) (err error) {
|
|
+ err = Prlimit(0, resource, nil, rlim)
|
|
+ return
|
|
+}
|
|
+
|
|
+func Setrlimit(resource int, rlim *Rlimit) (err error) {
|
|
+ err = Prlimit(0, resource, rlim, nil)
|
|
+ return
|
|
+}
|
|
+
|
|
+func futimesat(dirfd int, path string, tv *[2]Timeval) (err error) {
|
|
+ if tv == nil {
|
|
+ return utimensat(dirfd, path, nil, 0)
|
|
+ }
|
|
+
|
|
+ ts := []Timespec{
|
|
+ NsecToTimespec(TimevalToNsec(tv[0])),
|
|
+ NsecToTimespec(TimevalToNsec(tv[1])),
|
|
+ }
|
|
+ return utimensat(dirfd, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
|
|
+}
|
|
+
|
|
+func Time(t *Time_t) (Time_t, error) {
|
|
+ var tv Timeval
|
|
+ err := Gettimeofday(&tv)
|
|
+ if err != nil {
|
|
+ return 0, err
|
|
+ }
|
|
+ if t != nil {
|
|
+ *t = Time_t(tv.Sec)
|
|
+ }
|
|
+ return Time_t(tv.Sec), nil
|
|
+}
|
|
+
|
|
+func Utime(path string, buf *Utimbuf) error {
|
|
+ tv := []Timeval{
|
|
+ {Sec: buf.Actime},
|
|
+ {Sec: buf.Modtime},
|
|
+ }
|
|
+ return Utimes(path, tv)
|
|
+}
|
|
+
|
|
+func utimes(path string, tv *[2]Timeval) (err error) {
|
|
+ if tv == nil {
|
|
+ return utimensat(AT_FDCWD, path, nil, 0)
|
|
+ }
|
|
+
|
|
+ ts := []Timespec{
|
|
+ NsecToTimespec(TimevalToNsec(tv[0])),
|
|
+ NsecToTimespec(TimevalToNsec(tv[1])),
|
|
+ }
|
|
+ return utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
|
|
+}
|
|
+
|
|
+func (r *PtraceRegs) PC() uint64 { return r.Era }
|
|
+
|
|
+func (r *PtraceRegs) SetPC(era uint64) { r.Era = era }
|
|
+
|
|
+func (iov *Iovec) SetLen(length int) {
|
|
+ iov.Len = uint64(length)
|
|
+}
|
|
+
|
|
+func (msghdr *Msghdr) SetControllen(length int) {
|
|
+ msghdr.Controllen = uint64(length)
|
|
+}
|
|
+
|
|
+func (msghdr *Msghdr) SetIovlen(length int) {
|
|
+ msghdr.Iovlen = uint64(length)
|
|
+}
|
|
+
|
|
+func (cmsg *Cmsghdr) SetLen(length int) {
|
|
+ cmsg.Len = uint64(length)
|
|
+}
|
|
+
|
|
+func (rsa *RawSockaddrNFCLLCP) SetServiceNameLen(length int) {
|
|
+ rsa.Service_name_len = uint64(length)
|
|
+}
|
|
+
|
|
+func Pause() error {
|
|
+ _, err := ppoll(nil, 0, nil, nil)
|
|
+ return err
|
|
+}
|
|
+
|
|
+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
|
|
+ return Renameat2(olddirfd, oldpath, newdirfd, newpath, 0)
|
|
+}
|
|
+
|
|
+//sys kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error)
|
|
+
|
|
+func KexecFileLoad(kernelFd int, initrdFd int, cmdline string, flags int) error {
|
|
+ cmdlineLen := len(cmdline)
|
|
+ if cmdlineLen > 0 {
|
|
+ // Account for the additional NULL byte added by
|
|
+ // BytePtrFromString in kexecFileLoad. The kexec_file_load
|
|
+ // syscall expects a NULL-terminated string.
|
|
+ cmdlineLen++
|
|
+ }
|
|
+ return kexecFileLoad(kernelFd, initrdFd, cmdlineLen, cmdline, flags)
|
|
+}
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go b/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go
|
|
index 8932e34..bfef09a 100644
|
|
--- a/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go
|
|
@@ -21,8 +21,8 @@ package unix
|
|
//sys Lchown(path string, uid int, gid int) (err error)
|
|
//sys Listen(s int, n int) (err error)
|
|
//sys Pause() (err error)
|
|
-//sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
|
|
-//sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
|
|
+//sys pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
|
|
+//sys pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
|
|
//sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
|
|
//sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
|
|
|
|
@@ -37,18 +37,13 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err
|
|
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
|
|
//sys setfsgid(gid int) (prev int, err error)
|
|
//sys setfsuid(uid int) (prev int, err error)
|
|
-//sysnb Setregid(rgid int, egid int) (err error)
|
|
-//sysnb Setresgid(rgid int, egid int, sgid int) (err error)
|
|
-//sysnb Setresuid(ruid int, euid int, suid int) (err error)
|
|
//sysnb Setrlimit(resource int, rlim *Rlimit) (err error)
|
|
-//sysnb Setreuid(ruid int, euid int) (err error)
|
|
//sys Shutdown(fd int, how int) (err error)
|
|
//sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
|
|
//sys Statfs(path string, buf *Statfs_t) (err error)
|
|
//sys SyncFileRange(fd int, off int64, n int64, flags int) (err error)
|
|
//sys Truncate(path string, length int64) (err error)
|
|
//sys Ustat(dev int, ubuf *Ustat_t) (err error)
|
|
-//sys accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
|
|
//sys accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
|
|
//sys bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
|
|
//sys connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go b/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go
|
|
index 7821c25..ab30250 100644
|
|
--- a/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go
|
|
@@ -25,23 +25,18 @@ func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr,
|
|
//sysnb Getuid() (uid int)
|
|
//sys Lchown(path string, uid int, gid int) (err error)
|
|
//sys Listen(s int, n int) (err error)
|
|
-//sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
|
|
-//sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
|
|
+//sys pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
|
|
+//sys pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
|
|
//sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
|
|
//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS__NEWSELECT
|
|
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) = SYS_SENDFILE64
|
|
//sys setfsgid(gid int) (prev int, err error)
|
|
//sys setfsuid(uid int) (prev int, err error)
|
|
-//sysnb Setregid(rgid int, egid int) (err error)
|
|
-//sysnb Setresgid(rgid int, egid int, sgid int) (err error)
|
|
-//sysnb Setresuid(ruid int, euid int, suid int) (err error)
|
|
-//sysnb Setreuid(ruid int, euid int) (err error)
|
|
//sys Shutdown(fd int, how int) (err error)
|
|
//sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error)
|
|
//sys SyncFileRange(fd int, off int64, n int64, flags int) (err error)
|
|
//sys Truncate(path string, length int64) (err error) = SYS_TRUNCATE64
|
|
//sys Ustat(dev int, ubuf *Ustat_t) (err error)
|
|
-//sys accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
|
|
//sys accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
|
|
//sys bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
|
|
//sys connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_ppc.go b/vendor/golang.org/x/sys/unix/syscall_linux_ppc.go
|
|
index c5053a0..eac1cf1 100644
|
|
--- a/vendor/golang.org/x/sys/unix/syscall_linux_ppc.go
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_linux_ppc.go
|
|
@@ -27,23 +27,18 @@ import (
|
|
//sys Listen(s int, n int) (err error)
|
|
//sys Lstat(path string, stat *Stat_t) (err error) = SYS_LSTAT64
|
|
//sys Pause() (err error)
|
|
-//sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
|
|
-//sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
|
|
+//sys pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
|
|
+//sys pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
|
|
//sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
|
|
//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS__NEWSELECT
|
|
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) = SYS_SENDFILE64
|
|
//sys setfsgid(gid int) (prev int, err error)
|
|
//sys setfsuid(uid int) (prev int, err error)
|
|
-//sysnb Setregid(rgid int, egid int) (err error)
|
|
-//sysnb Setresgid(rgid int, egid int, sgid int) (err error)
|
|
-//sysnb Setresuid(ruid int, euid int, suid int) (err error)
|
|
-//sysnb Setreuid(ruid int, euid int) (err error)
|
|
//sys Shutdown(fd int, how int) (err error)
|
|
//sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error)
|
|
//sys Stat(path string, stat *Stat_t) (err error) = SYS_STAT64
|
|
//sys Truncate(path string, length int64) (err error) = SYS_TRUNCATE64
|
|
//sys Ustat(dev int, ubuf *Ustat_t) (err error)
|
|
-//sys accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
|
|
//sys accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
|
|
//sys bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
|
|
//sys connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go b/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go
|
|
index 25786c4..4df5661 100644
|
|
--- a/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go
|
|
@@ -26,26 +26,21 @@ package unix
|
|
//sys Listen(s int, n int) (err error)
|
|
//sys Lstat(path string, stat *Stat_t) (err error)
|
|
//sys Pause() (err error)
|
|
-//sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
|
|
-//sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
|
|
+//sys pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
|
|
+//sys pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
|
|
//sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
|
|
//sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
|
|
//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS__NEWSELECT
|
|
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
|
|
//sys setfsgid(gid int) (prev int, err error)
|
|
//sys setfsuid(uid int) (prev int, err error)
|
|
-//sysnb Setregid(rgid int, egid int) (err error)
|
|
-//sysnb Setresgid(rgid int, egid int, sgid int) (err error)
|
|
-//sysnb Setresuid(ruid int, euid int, suid int) (err error)
|
|
//sysnb Setrlimit(resource int, rlim *Rlimit) (err error)
|
|
-//sysnb Setreuid(ruid int, euid int) (err error)
|
|
//sys Shutdown(fd int, how int) (err error)
|
|
//sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
|
|
//sys Stat(path string, stat *Stat_t) (err error)
|
|
//sys Statfs(path string, buf *Statfs_t) (err error)
|
|
//sys Truncate(path string, length int64) (err error)
|
|
//sys Ustat(dev int, ubuf *Ustat_t) (err error)
|
|
-//sys accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
|
|
//sys accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
|
|
//sys bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
|
|
//sys connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go b/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go
|
|
index 6f9f710..5f4243d 100644
|
|
--- a/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go
|
|
@@ -22,8 +22,9 @@ import "unsafe"
|
|
//sysnb Getrlimit(resource int, rlim *Rlimit) (err error)
|
|
//sysnb Getuid() (uid int)
|
|
//sys Listen(s int, n int) (err error)
|
|
-//sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
|
|
-//sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
|
|
+//sys MemfdSecret(flags int) (fd int, err error)
|
|
+//sys pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
|
|
+//sys pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
|
|
//sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
|
|
|
|
func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
|
|
@@ -37,11 +38,7 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err
|
|
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
|
|
//sys setfsgid(gid int) (prev int, err error)
|
|
//sys setfsuid(uid int) (prev int, err error)
|
|
-//sysnb Setregid(rgid int, egid int) (err error)
|
|
-//sysnb Setresgid(rgid int, egid int, sgid int) (err error)
|
|
-//sysnb Setresuid(ruid int, euid int, suid int) (err error)
|
|
//sysnb Setrlimit(resource int, rlim *Rlimit) (err error)
|
|
-//sysnb Setreuid(ruid int, euid int) (err error)
|
|
//sys Shutdown(fd int, how int) (err error)
|
|
//sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
|
|
|
|
@@ -65,7 +62,6 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) {
|
|
return ENOSYS
|
|
}
|
|
|
|
-//sys accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
|
|
//sys accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
|
|
//sys bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
|
|
//sys connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go b/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go
|
|
index 6aa59cb..d0a7d40 100644
|
|
--- a/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go
|
|
@@ -26,19 +26,15 @@ import (
|
|
//sys Lchown(path string, uid int, gid int) (err error)
|
|
//sys Lstat(path string, stat *Stat_t) (err error)
|
|
//sys Pause() (err error)
|
|
-//sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
|
|
-//sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
|
|
+//sys pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
|
|
+//sys pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
|
|
//sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
|
|
//sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
|
|
//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
|
|
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
|
|
//sys setfsgid(gid int) (prev int, err error)
|
|
//sys setfsuid(uid int) (prev int, err error)
|
|
-//sysnb Setregid(rgid int, egid int) (err error)
|
|
-//sysnb Setresgid(rgid int, egid int, sgid int) (err error)
|
|
-//sysnb Setresuid(ruid int, euid int, suid int) (err error)
|
|
//sysnb Setrlimit(resource int, rlim *Rlimit) (err error)
|
|
-//sysnb Setreuid(ruid int, euid int) (err error)
|
|
//sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
|
|
//sys Stat(path string, stat *Stat_t) (err error)
|
|
//sys Statfs(path string, buf *Statfs_t) (err error)
|
|
@@ -145,15 +141,6 @@ const (
|
|
netSendMMsg = 20
|
|
)
|
|
|
|
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (int, error) {
|
|
- args := [3]uintptr{uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))}
|
|
- fd, _, err := Syscall(SYS_SOCKETCALL, netAccept, uintptr(unsafe.Pointer(&args)), 0)
|
|
- if err != 0 {
|
|
- return 0, err
|
|
- }
|
|
- return int(fd), nil
|
|
-}
|
|
-
|
|
func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (int, error) {
|
|
args := [4]uintptr{uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags)}
|
|
fd, _, err := Syscall(SYS_SOCKETCALL, netAccept4, uintptr(unsafe.Pointer(&args)), 0)
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go b/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go
|
|
index bbe8d17..f5c793b 100644
|
|
--- a/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go
|
|
@@ -23,26 +23,21 @@ package unix
|
|
//sys Listen(s int, n int) (err error)
|
|
//sys Lstat(path string, stat *Stat_t) (err error)
|
|
//sys Pause() (err error)
|
|
-//sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
|
|
-//sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
|
|
+//sys pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
|
|
+//sys pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
|
|
//sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
|
|
//sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
|
|
//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
|
|
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
|
|
//sys setfsgid(gid int) (prev int, err error)
|
|
//sys setfsuid(uid int) (prev int, err error)
|
|
-//sysnb Setregid(rgid int, egid int) (err error)
|
|
-//sysnb Setresgid(rgid int, egid int, sgid int) (err error)
|
|
-//sysnb Setresuid(ruid int, euid int, suid int) (err error)
|
|
//sysnb Setrlimit(resource int, rlim *Rlimit) (err error)
|
|
-//sysnb Setreuid(ruid int, euid int) (err error)
|
|
//sys Shutdown(fd int, how int) (err error)
|
|
//sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
|
|
//sys Stat(path string, stat *Stat_t) (err error)
|
|
//sys Statfs(path string, buf *Statfs_t) (err error)
|
|
//sys SyncFileRange(fd int, off int64, n int64, flags int) (err error)
|
|
//sys Truncate(path string, length int64) (err error)
|
|
-//sys accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
|
|
//sys accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
|
|
//sys bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
|
|
//sys connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_netbsd.go b/vendor/golang.org/x/sys/unix/syscall_netbsd.go
|
|
index 853d5f0..666f0a1 100644
|
|
--- a/vendor/golang.org/x/sys/unix/syscall_netbsd.go
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_netbsd.go
|
|
@@ -110,14 +110,8 @@ func direntNamlen(buf []byte) (uint64, bool) {
|
|
return readInt(buf, unsafe.Offsetof(Dirent{}.Namlen), unsafe.Sizeof(Dirent{}.Namlen))
|
|
}
|
|
|
|
-//sysnb pipe() (fd1 int, fd2 int, err error)
|
|
-
|
|
func Pipe(p []int) (err error) {
|
|
- if len(p) != 2 {
|
|
- return EINVAL
|
|
- }
|
|
- p[0], p[1], err = pipe()
|
|
- return
|
|
+ return Pipe2(p, 0)
|
|
}
|
|
|
|
//sysnb pipe2(p *[2]_C_int, flags int) (err error)
|
|
@@ -128,8 +122,10 @@ func Pipe2(p []int, flags int) error {
|
|
}
|
|
var pp [2]_C_int
|
|
err := pipe2(&pp, flags)
|
|
- p[0] = int(pp[0])
|
|
- p[1] = int(pp[1])
|
|
+ if err == nil {
|
|
+ p[0] = int(pp[0])
|
|
+ p[1] = int(pp[1])
|
|
+ }
|
|
return err
|
|
}
|
|
|
|
@@ -167,11 +163,6 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
|
|
return -1, ENOSYS
|
|
}
|
|
|
|
-func setattrlistTimes(path string, times []Timespec, flags int) error {
|
|
- // used on Darwin for UtimesNano
|
|
- return ENOSYS
|
|
-}
|
|
-
|
|
//sys ioctl(fd int, req uint, arg uintptr) (err error)
|
|
|
|
//sys sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS___SYSCTL
|
|
@@ -317,8 +308,8 @@ func Statvfs(path string, buf *Statvfs_t) (err error) {
|
|
//sys Open(path string, mode int, perm uint32) (fd int, err error)
|
|
//sys Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error)
|
|
//sys Pathconf(path string, name int) (val int, err error)
|
|
-//sys Pread(fd int, p []byte, offset int64) (n int, err error)
|
|
-//sys Pwrite(fd int, p []byte, offset int64) (n int, err error)
|
|
+//sys pread(fd int, p []byte, offset int64) (n int, err error)
|
|
+//sys pwrite(fd int, p []byte, offset int64) (n int, err error)
|
|
//sys read(fd int, p []byte) (n int, err error)
|
|
//sys Readlink(path string, buf []byte) (n int, err error)
|
|
//sys Readlinkat(dirfd int, path string, buf []byte) (n int, err error)
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_openbsd.go b/vendor/golang.org/x/sys/unix/syscall_openbsd.go
|
|
index 22b5503..78daceb 100644
|
|
--- a/vendor/golang.org/x/sys/unix/syscall_openbsd.go
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_openbsd.go
|
|
@@ -81,18 +81,22 @@ func Pipe(p []int) (err error) {
|
|
}
|
|
|
|
//sysnb pipe2(p *[2]_C_int, flags int) (err error)
|
|
+
|
|
func Pipe2(p []int, flags int) error {
|
|
if len(p) != 2 {
|
|
return EINVAL
|
|
}
|
|
var pp [2]_C_int
|
|
err := pipe2(&pp, flags)
|
|
- p[0] = int(pp[0])
|
|
- p[1] = int(pp[1])
|
|
+ if err == nil {
|
|
+ p[0] = int(pp[0])
|
|
+ p[1] = int(pp[1])
|
|
+ }
|
|
return err
|
|
}
|
|
|
|
//sys Getdents(fd int, buf []byte) (n int, err error)
|
|
+
|
|
func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
|
|
n, err = Getdents(fd, buf)
|
|
if err != nil || basep == nil {
|
|
@@ -147,11 +151,6 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
-func setattrlistTimes(path string, times []Timespec, flags int) error {
|
|
- // used on Darwin for UtimesNano
|
|
- return ENOSYS
|
|
-}
|
|
-
|
|
//sys ioctl(fd int, req uint, arg uintptr) (err error)
|
|
|
|
//sys sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS___SYSCTL
|
|
@@ -272,8 +271,8 @@ func Uname(uname *Utsname) error {
|
|
//sys Open(path string, mode int, perm uint32) (fd int, err error)
|
|
//sys Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error)
|
|
//sys Pathconf(path string, name int) (val int, err error)
|
|
-//sys Pread(fd int, p []byte, offset int64) (n int, err error)
|
|
-//sys Pwrite(fd int, p []byte, offset int64) (n int, err error)
|
|
+//sys pread(fd int, p []byte, offset int64) (n int, err error)
|
|
+//sys pwrite(fd int, p []byte, offset int64) (n int, err error)
|
|
//sys read(fd int, p []byte) (n int, err error)
|
|
//sys Readlink(path string, buf []byte) (n int, err error)
|
|
//sys Readlinkat(dirfd int, path string, buf []byte) (n int, err error)
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_openbsd_libc.go b/vendor/golang.org/x/sys/unix/syscall_openbsd_libc.go
|
|
new file mode 100644
|
|
index 0000000..5930a89
|
|
--- /dev/null
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_openbsd_libc.go
|
|
@@ -0,0 +1,27 @@
|
|
+// Copyright 2022 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 (openbsd && 386) || (openbsd && amd64) || (openbsd && arm) || (openbsd && arm64)
|
|
+// +build openbsd,386 openbsd,amd64 openbsd,arm openbsd,arm64
|
|
+
|
|
+package unix
|
|
+
|
|
+import _ "unsafe"
|
|
+
|
|
+// Implemented in the runtime package (runtime/sys_openbsd3.go)
|
|
+func syscall_syscall(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
|
|
+func syscall_syscall6(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
|
|
+func syscall_syscall10(fn, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10 uintptr) (r1, r2 uintptr, err Errno)
|
|
+func syscall_rawSyscall(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
|
|
+func syscall_rawSyscall6(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
|
|
+
|
|
+//go:linkname syscall_syscall syscall.syscall
|
|
+//go:linkname syscall_syscall6 syscall.syscall6
|
|
+//go:linkname syscall_syscall10 syscall.syscall10
|
|
+//go:linkname syscall_rawSyscall syscall.rawSyscall
|
|
+//go:linkname syscall_rawSyscall6 syscall.rawSyscall6
|
|
+
|
|
+func syscall_syscall9(fn, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err Errno) {
|
|
+ return syscall_syscall10(fn, a1, a2, a3, a4, a5, a6, a7, a8, a9, 0)
|
|
+}
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_openbsd_mips64.go b/vendor/golang.org/x/sys/unix/syscall_openbsd_mips64.go
|
|
index 30f2853..1378489 100644
|
|
--- a/vendor/golang.org/x/sys/unix/syscall_openbsd_mips64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_openbsd_mips64.go
|
|
@@ -26,6 +26,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|
msghdr.Controllen = uint32(length)
|
|
}
|
|
|
|
+func (msghdr *Msghdr) SetIovlen(length int) {
|
|
+ msghdr.Iovlen = uint32(length)
|
|
+}
|
|
+
|
|
func (cmsg *Cmsghdr) SetLen(length int) {
|
|
cmsg.Len = uint32(length)
|
|
}
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_solaris.go b/vendor/golang.org/x/sys/unix/syscall_solaris.go
|
|
index 8b88ac2..8c6f409 100644
|
|
--- a/vendor/golang.org/x/sys/unix/syscall_solaris.go
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_solaris.go
|
|
@@ -66,8 +66,10 @@ func Pipe(p []int) (err error) {
|
|
if n != 0 {
|
|
return err
|
|
}
|
|
- p[0] = int(pp[0])
|
|
- p[1] = int(pp[1])
|
|
+ if err == nil {
|
|
+ p[0] = int(pp[0])
|
|
+ p[1] = int(pp[1])
|
|
+ }
|
|
return nil
|
|
}
|
|
|
|
@@ -79,8 +81,10 @@ func Pipe2(p []int, flags int) error {
|
|
}
|
|
var pp [2]_C_int
|
|
err := pipe2(&pp, flags)
|
|
- p[0] = int(pp[0])
|
|
- p[1] = int(pp[1])
|
|
+ if err == nil {
|
|
+ p[0] = int(pp[0])
|
|
+ p[1] = int(pp[1])
|
|
+ }
|
|
return err
|
|
}
|
|
|
|
@@ -447,77 +451,59 @@ func Accept(fd int) (nfd int, sa Sockaddr, err error) {
|
|
|
|
//sys recvmsg(s int, msg *Msghdr, flags int) (n int, err error) = libsocket.__xnet_recvmsg
|
|
|
|
-func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) {
|
|
+func recvmsgRaw(fd int, iov []Iovec, oob []byte, flags int, rsa *RawSockaddrAny) (n, oobn int, recvflags int, err error) {
|
|
var msg Msghdr
|
|
- var rsa RawSockaddrAny
|
|
- msg.Name = (*byte)(unsafe.Pointer(&rsa))
|
|
+ msg.Name = (*byte)(unsafe.Pointer(rsa))
|
|
msg.Namelen = uint32(SizeofSockaddrAny)
|
|
- var iov Iovec
|
|
- if len(p) > 0 {
|
|
- iov.Base = (*int8)(unsafe.Pointer(&p[0]))
|
|
- iov.SetLen(len(p))
|
|
- }
|
|
- var dummy int8
|
|
+ var dummy byte
|
|
if len(oob) > 0 {
|
|
// receive at least one normal byte
|
|
- if len(p) == 0 {
|
|
- iov.Base = &dummy
|
|
- iov.SetLen(1)
|
|
+ if emptyIovecs(iov) {
|
|
+ var iova [1]Iovec
|
|
+ iova[0].Base = &dummy
|
|
+ iova[0].SetLen(1)
|
|
+ iov = iova[:]
|
|
}
|
|
msg.Accrightslen = int32(len(oob))
|
|
}
|
|
- msg.Iov = &iov
|
|
- msg.Iovlen = 1
|
|
+ if len(iov) > 0 {
|
|
+ msg.Iov = &iov[0]
|
|
+ msg.SetIovlen(len(iov))
|
|
+ }
|
|
if n, err = recvmsg(fd, &msg, flags); n == -1 {
|
|
return
|
|
}
|
|
oobn = int(msg.Accrightslen)
|
|
- // source address is only specified if the socket is unconnected
|
|
- if rsa.Addr.Family != AF_UNSPEC {
|
|
- from, err = anyToSockaddr(fd, &rsa)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-func Sendmsg(fd int, p, oob []byte, to Sockaddr, flags int) (err error) {
|
|
- _, err = SendmsgN(fd, p, oob, to, flags)
|
|
return
|
|
}
|
|
|
|
//sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error) = libsocket.__xnet_sendmsg
|
|
|
|
-func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error) {
|
|
- var ptr unsafe.Pointer
|
|
- var salen _Socklen
|
|
- if to != nil {
|
|
- ptr, salen, err = to.sockaddr()
|
|
- if err != nil {
|
|
- return 0, err
|
|
- }
|
|
- }
|
|
+func sendmsgN(fd int, iov []Iovec, oob []byte, ptr unsafe.Pointer, salen _Socklen, flags int) (n int, err error) {
|
|
var msg Msghdr
|
|
msg.Name = (*byte)(unsafe.Pointer(ptr))
|
|
msg.Namelen = uint32(salen)
|
|
- var iov Iovec
|
|
- if len(p) > 0 {
|
|
- iov.Base = (*int8)(unsafe.Pointer(&p[0]))
|
|
- iov.SetLen(len(p))
|
|
- }
|
|
- var dummy int8
|
|
+ var dummy byte
|
|
+ var empty bool
|
|
if len(oob) > 0 {
|
|
// send at least one normal byte
|
|
- if len(p) == 0 {
|
|
- iov.Base = &dummy
|
|
- iov.SetLen(1)
|
|
+ empty = emptyIovecs(iov)
|
|
+ if empty {
|
|
+ var iova [1]Iovec
|
|
+ iova[0].Base = &dummy
|
|
+ iova[0].SetLen(1)
|
|
+ iov = iova[:]
|
|
}
|
|
msg.Accrightslen = int32(len(oob))
|
|
}
|
|
- msg.Iov = &iov
|
|
- msg.Iovlen = 1
|
|
+ if len(iov) > 0 {
|
|
+ msg.Iov = &iov[0]
|
|
+ msg.SetIovlen(len(iov))
|
|
+ }
|
|
if n, err = sendmsg(fd, &msg, flags); err != nil {
|
|
return 0, err
|
|
}
|
|
- if len(oob) > 0 && len(p) == 0 {
|
|
+ if len(oob) > 0 && empty {
|
|
n = 0
|
|
}
|
|
return n, nil
|
|
@@ -632,6 +618,7 @@ func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
|
|
//sys Getpriority(which int, who int) (n int, err error)
|
|
//sysnb Getrlimit(which int, lim *Rlimit) (err error)
|
|
//sysnb Getrusage(who int, rusage *Rusage) (err error)
|
|
+//sysnb Getsid(pid int) (sid int, err error)
|
|
//sysnb Gettimeofday(tv *Timeval) (err error)
|
|
//sysnb Getuid() (uid int)
|
|
//sys Kill(pid int, signum syscall.Signal) (err error)
|
|
@@ -657,8 +644,8 @@ func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
|
|
//sys Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error)
|
|
//sys Pathconf(path string, name int) (val int, err error)
|
|
//sys Pause() (err error)
|
|
-//sys Pread(fd int, p []byte, offset int64) (n int, err error)
|
|
-//sys Pwrite(fd int, p []byte, offset int64) (n int, err error)
|
|
+//sys pread(fd int, p []byte, offset int64) (n int, err error)
|
|
+//sys pwrite(fd int, p []byte, offset int64) (n int, err error)
|
|
//sys read(fd int, p []byte) (n int, err error)
|
|
//sys Readlink(path string, buf []byte) (n int, err error)
|
|
//sys Rename(from string, to string) (err error)
|
|
@@ -751,8 +738,20 @@ type fileObjCookie struct {
|
|
type EventPort struct {
|
|
port int
|
|
mu sync.Mutex
|
|
- fds map[uintptr]interface{}
|
|
+ fds map[uintptr]*fileObjCookie
|
|
paths map[string]*fileObjCookie
|
|
+ // The user cookie presents an interesting challenge from a memory management perspective.
|
|
+ // There are two paths by which we can discover that it is no longer in use:
|
|
+ // 1. The user calls port_dissociate before any events fire
|
|
+ // 2. An event fires and we return it to the user
|
|
+ // The tricky situation is if the event has fired in the kernel but
|
|
+ // the user hasn't requested/received it yet.
|
|
+ // If the user wants to port_dissociate before the event has been processed,
|
|
+ // we should handle things gracefully. To do so, we need to keep an extra
|
|
+ // reference to the cookie around until the event is processed
|
|
+ // thus the otherwise seemingly extraneous "cookies" map
|
|
+ // The key of this map is a pointer to the corresponding fCookie
|
|
+ cookies map[*fileObjCookie]struct{}
|
|
}
|
|
|
|
// PortEvent is an abstraction of the port_event C struct.
|
|
@@ -776,9 +775,10 @@ func NewEventPort() (*EventPort, error) {
|
|
return nil, err
|
|
}
|
|
e := &EventPort{
|
|
- port: port,
|
|
- fds: make(map[uintptr]interface{}),
|
|
- paths: make(map[string]*fileObjCookie),
|
|
+ port: port,
|
|
+ fds: make(map[uintptr]*fileObjCookie),
|
|
+ paths: make(map[string]*fileObjCookie),
|
|
+ cookies: make(map[*fileObjCookie]struct{}),
|
|
}
|
|
return e, nil
|
|
}
|
|
@@ -793,9 +793,14 @@ func NewEventPort() (*EventPort, error) {
|
|
func (e *EventPort) Close() error {
|
|
e.mu.Lock()
|
|
defer e.mu.Unlock()
|
|
+ err := Close(e.port)
|
|
+ if err != nil {
|
|
+ return err
|
|
+ }
|
|
e.fds = nil
|
|
e.paths = nil
|
|
- return Close(e.port)
|
|
+ e.cookies = nil
|
|
+ return nil
|
|
}
|
|
|
|
// PathIsWatched checks to see if path is associated with this EventPort.
|
|
@@ -822,16 +827,16 @@ func (e *EventPort) AssociatePath(path string, stat os.FileInfo, events int, coo
|
|
if _, found := e.paths[path]; found {
|
|
return fmt.Errorf("%v is already associated with this Event Port", path)
|
|
}
|
|
- fobj, err := createFileObj(path, stat)
|
|
+ fCookie, err := createFileObjCookie(path, stat, cookie)
|
|
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)))
|
|
+ _, err = port_associate(e.port, PORT_SOURCE_FILE, uintptr(unsafe.Pointer(fCookie.fobj)), events, (*byte)(unsafe.Pointer(fCookie)))
|
|
if err != nil {
|
|
return err
|
|
}
|
|
e.paths[path] = fCookie
|
|
+ e.cookies[fCookie] = struct{}{}
|
|
return nil
|
|
}
|
|
|
|
@@ -844,11 +849,19 @@ func (e *EventPort) DissociatePath(path string) error {
|
|
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 {
|
|
+ // If the path is no longer associated with this event port (ENOENT)
|
|
+ // we should delete it from our map. We can still return ENOENT to the caller.
|
|
+ // But we need to save the cookie
|
|
+ if err != nil && err != ENOENT {
|
|
return err
|
|
}
|
|
+ if err == nil {
|
|
+ // dissociate was successful, safe to delete the cookie
|
|
+ fCookie := e.paths[path]
|
|
+ delete(e.cookies, fCookie)
|
|
+ }
|
|
delete(e.paths, path)
|
|
- return nil
|
|
+ return err
|
|
}
|
|
|
|
// AssociateFd wraps calls to port_associate(3c) on file descriptors.
|
|
@@ -858,12 +871,16 @@ func (e *EventPort) AssociateFd(fd uintptr, events int, cookie interface{}) erro
|
|
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)))
|
|
+ fCookie, err := createFileObjCookie("", nil, cookie)
|
|
+ if err != nil {
|
|
+ return err
|
|
+ }
|
|
+ _, err = port_associate(e.port, PORT_SOURCE_FD, fd, events, (*byte)(unsafe.Pointer(fCookie)))
|
|
if err != nil {
|
|
return err
|
|
}
|
|
- e.fds[fd] = pcookie
|
|
+ e.fds[fd] = fCookie
|
|
+ e.cookies[fCookie] = struct{}{}
|
|
return nil
|
|
}
|
|
|
|
@@ -876,28 +893,37 @@ func (e *EventPort) DissociateFd(fd uintptr) error {
|
|
return fmt.Errorf("%v is not associated with this Event Port", fd)
|
|
}
|
|
_, err := port_dissociate(e.port, PORT_SOURCE_FD, fd)
|
|
- if err != nil {
|
|
+ if err != nil && err != ENOENT {
|
|
return err
|
|
}
|
|
+ if err == nil {
|
|
+ // dissociate was successful, safe to delete the cookie
|
|
+ fCookie := e.fds[fd]
|
|
+ delete(e.cookies, fCookie)
|
|
+ }
|
|
delete(e.fds, fd)
|
|
- return nil
|
|
+ return err
|
|
}
|
|
|
|
-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
|
|
+func createFileObjCookie(name string, stat os.FileInfo, cookie interface{}) (*fileObjCookie, error) {
|
|
+ fCookie := new(fileObjCookie)
|
|
+ fCookie.cookie = cookie
|
|
+ if name != "" && stat != nil {
|
|
+ fCookie.fobj = new(fileObj)
|
|
+ bs, err := ByteSliceFromString(name)
|
|
+ if err != nil {
|
|
+ return nil, err
|
|
+ }
|
|
+ fCookie.fobj.Name = (*int8)(unsafe.Pointer(&bs[0]))
|
|
+ s := stat.Sys().(*syscall.Stat_t)
|
|
+ fCookie.fobj.Atim.Sec = s.Atim.Sec
|
|
+ fCookie.fobj.Atim.Nsec = s.Atim.Nsec
|
|
+ fCookie.fobj.Mtim.Sec = s.Mtim.Sec
|
|
+ fCookie.fobj.Mtim.Nsec = s.Mtim.Nsec
|
|
+ fCookie.fobj.Ctim.Sec = s.Ctim.Sec
|
|
+ fCookie.fobj.Ctim.Nsec = s.Ctim.Nsec
|
|
+ }
|
|
+ return fCookie, nil
|
|
}
|
|
|
|
// GetOne wraps port_get(3c) and returns a single PortEvent.
|
|
@@ -908,24 +934,52 @@ func (e *EventPort) GetOne(t *Timespec) (*PortEvent, error) {
|
|
return nil, err
|
|
}
|
|
p := new(PortEvent)
|
|
- p.Events = pe.Events
|
|
- p.Source = pe.Source
|
|
e.mu.Lock()
|
|
defer e.mu.Unlock()
|
|
- switch pe.Source {
|
|
+ err = e.peIntToExt(pe, p)
|
|
+ if err != nil {
|
|
+ return nil, err
|
|
+ }
|
|
+ return p, nil
|
|
+}
|
|
+
|
|
+// peIntToExt converts a cgo portEvent struct into the friendlier PortEvent
|
|
+// NOTE: Always call this function while holding the e.mu mutex
|
|
+func (e *EventPort) peIntToExt(peInt *portEvent, peExt *PortEvent) error {
|
|
+ if e.cookies == nil {
|
|
+ return fmt.Errorf("this EventPort is already closed")
|
|
+ }
|
|
+ peExt.Events = peInt.Events
|
|
+ peExt.Source = peInt.Source
|
|
+ fCookie := (*fileObjCookie)(unsafe.Pointer(peInt.User))
|
|
+ _, found := e.cookies[fCookie]
|
|
+
|
|
+ if !found {
|
|
+ panic("unexpected event port address; may be due to kernel bug; see https://go.dev/issue/54254")
|
|
+ }
|
|
+ peExt.Cookie = fCookie.cookie
|
|
+ delete(e.cookies, fCookie)
|
|
+
|
|
+ switch peInt.Source {
|
|
case PORT_SOURCE_FD:
|
|
- p.Fd = uintptr(pe.Object)
|
|
- cookie := (*interface{})(unsafe.Pointer(pe.User))
|
|
- p.Cookie = *cookie
|
|
- delete(e.fds, p.Fd)
|
|
+ peExt.Fd = uintptr(peInt.Object)
|
|
+ // Only remove the fds entry if it exists and this cookie matches
|
|
+ if fobj, ok := e.fds[peExt.Fd]; ok {
|
|
+ if fobj == fCookie {
|
|
+ delete(e.fds, peExt.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)
|
|
+ peExt.fobj = fCookie.fobj
|
|
+ peExt.Path = BytePtrToString((*byte)(unsafe.Pointer(peExt.fobj.Name)))
|
|
+ // Only remove the paths entry if it exists and this cookie matches
|
|
+ if fobj, ok := e.paths[peExt.Path]; ok {
|
|
+ if fobj == fCookie {
|
|
+ delete(e.paths, peExt.Path)
|
|
+ }
|
|
+ }
|
|
}
|
|
- return p, nil
|
|
+ return nil
|
|
}
|
|
|
|
// Pending wraps port_getn(3c) and returns how many events are pending.
|
|
@@ -949,7 +1003,7 @@ func (e *EventPort) Get(s []PortEvent, min int, timeout *Timespec) (int, error)
|
|
got := uint32(min)
|
|
max := uint32(len(s))
|
|
var err error
|
|
- ps := make([]portEvent, max, max)
|
|
+ ps := make([]portEvent, 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 {
|
|
@@ -957,22 +1011,18 @@ func (e *EventPort) Get(s []PortEvent, min int, timeout *Timespec) (int, error)
|
|
}
|
|
e.mu.Lock()
|
|
defer e.mu.Unlock()
|
|
+ valid := 0
|
|
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)
|
|
+ err2 := e.peIntToExt(&ps[i], &s[i])
|
|
+ if err2 != nil {
|
|
+ if valid == 0 && err == nil {
|
|
+ // If err2 is the only error and there are no valid events
|
|
+ // to return, return it to the caller.
|
|
+ err = err2
|
|
+ }
|
|
+ break
|
|
}
|
|
+ valid = i + 1
|
|
}
|
|
- return int(got), err
|
|
+ return valid, err
|
|
}
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_unix.go b/vendor/golang.org/x/sys/unix/syscall_unix.go
|
|
index cf296a2..1ff5060 100644
|
|
--- a/vendor/golang.org/x/sys/unix/syscall_unix.go
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_unix.go
|
|
@@ -177,6 +177,30 @@ func Write(fd int, p []byte) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+ n, err = pread(fd, p, offset)
|
|
+ if raceenabled {
|
|
+ if n > 0 {
|
|
+ raceWriteRange(unsafe.Pointer(&p[0]), n)
|
|
+ }
|
|
+ if err == nil {
|
|
+ raceAcquire(unsafe.Pointer(&ioSync))
|
|
+ }
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+ if raceenabled {
|
|
+ raceReleaseMerge(unsafe.Pointer(&ioSync))
|
|
+ }
|
|
+ n, err = pwrite(fd, p, offset)
|
|
+ if raceenabled && n > 0 {
|
|
+ raceReadRange(unsafe.Pointer(&p[0]), n)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
// For testing: clients can set this flag to force
|
|
// creation of IPv6 sockets to return EAFNOSUPPORT.
|
|
var SocketDisableIPv6 bool
|
|
@@ -313,6 +337,93 @@ func Recvfrom(fd int, p []byte, flags int) (n int, from Sockaddr, err error) {
|
|
return
|
|
}
|
|
|
|
+func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) {
|
|
+ var iov [1]Iovec
|
|
+ if len(p) > 0 {
|
|
+ iov[0].Base = &p[0]
|
|
+ iov[0].SetLen(len(p))
|
|
+ }
|
|
+ var rsa RawSockaddrAny
|
|
+ n, oobn, recvflags, err = recvmsgRaw(fd, iov[:], oob, flags, &rsa)
|
|
+ // source address is only specified if the socket is unconnected
|
|
+ if rsa.Addr.Family != AF_UNSPEC {
|
|
+ from, err = anyToSockaddr(fd, &rsa)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// RecvmsgBuffers receives a message from a socket using the recvmsg
|
|
+// system call. The flags are passed to recvmsg. Any non-control data
|
|
+// read is scattered into the buffers slices. The results are:
|
|
+// - n is the number of non-control data read into bufs
|
|
+// - oobn is the number of control data read into oob; this may be interpreted using [ParseSocketControlMessage]
|
|
+// - recvflags is flags returned by recvmsg
|
|
+// - from is the address of the sender
|
|
+func RecvmsgBuffers(fd int, buffers [][]byte, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) {
|
|
+ iov := make([]Iovec, len(buffers))
|
|
+ for i := range buffers {
|
|
+ if len(buffers[i]) > 0 {
|
|
+ iov[i].Base = &buffers[i][0]
|
|
+ iov[i].SetLen(len(buffers[i]))
|
|
+ } else {
|
|
+ iov[i].Base = (*byte)(unsafe.Pointer(&_zero))
|
|
+ }
|
|
+ }
|
|
+ var rsa RawSockaddrAny
|
|
+ n, oobn, recvflags, err = recvmsgRaw(fd, iov, oob, flags, &rsa)
|
|
+ if err == nil && rsa.Addr.Family != AF_UNSPEC {
|
|
+ from, err = anyToSockaddr(fd, &rsa)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+func Sendmsg(fd int, p, oob []byte, to Sockaddr, flags int) (err error) {
|
|
+ _, err = SendmsgN(fd, p, oob, to, flags)
|
|
+ return
|
|
+}
|
|
+
|
|
+func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error) {
|
|
+ var iov [1]Iovec
|
|
+ if len(p) > 0 {
|
|
+ iov[0].Base = &p[0]
|
|
+ iov[0].SetLen(len(p))
|
|
+ }
|
|
+ var ptr unsafe.Pointer
|
|
+ var salen _Socklen
|
|
+ if to != nil {
|
|
+ ptr, salen, err = to.sockaddr()
|
|
+ if err != nil {
|
|
+ return 0, err
|
|
+ }
|
|
+ }
|
|
+ return sendmsgN(fd, iov[:], oob, ptr, salen, flags)
|
|
+}
|
|
+
|
|
+// SendmsgBuffers sends a message on a socket to an address using the sendmsg
|
|
+// system call. The flags are passed to sendmsg. Any non-control data written
|
|
+// is gathered from buffers. The function returns the number of bytes written
|
|
+// to the socket.
|
|
+func SendmsgBuffers(fd int, buffers [][]byte, oob []byte, to Sockaddr, flags int) (n int, err error) {
|
|
+ iov := make([]Iovec, len(buffers))
|
|
+ for i := range buffers {
|
|
+ if len(buffers[i]) > 0 {
|
|
+ iov[i].Base = &buffers[i][0]
|
|
+ iov[i].SetLen(len(buffers[i]))
|
|
+ } else {
|
|
+ iov[i].Base = (*byte)(unsafe.Pointer(&_zero))
|
|
+ }
|
|
+ }
|
|
+ var ptr unsafe.Pointer
|
|
+ var salen _Socklen
|
|
+ if to != nil {
|
|
+ ptr, salen, err = to.sockaddr()
|
|
+ if err != nil {
|
|
+ return 0, err
|
|
+ }
|
|
+ }
|
|
+ return sendmsgN(fd, iov, oob, ptr, salen, flags)
|
|
+}
|
|
+
|
|
func Send(s int, buf []byte, flags int) (err error) {
|
|
return sendto(s, buf, flags, nil, 0)
|
|
}
|
|
@@ -433,3 +544,13 @@ func Lutimes(path string, tv []Timeval) error {
|
|
}
|
|
return UtimesNanoAt(AT_FDCWD, path, ts, AT_SYMLINK_NOFOLLOW)
|
|
}
|
|
+
|
|
+// emptyIovec reports whether there are no bytes in the slice of Iovec.
|
|
+func emptyIovecs(iov []Iovec) bool {
|
|
+ for i := range iov {
|
|
+ if iov[i].Len > 0 {
|
|
+ return false
|
|
+ }
|
|
+ }
|
|
+ return true
|
|
+}
|
|
diff --git a/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go b/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go
|
|
index 5fb76a1..f8616f4 100644
|
|
--- a/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go
|
|
+++ b/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go
|
|
@@ -579,8 +579,10 @@ func Pipe(p []int) (err error) {
|
|
}
|
|
var pp [2]_C_int
|
|
err = pipe(&pp)
|
|
- p[0] = int(pp[0])
|
|
- p[1] = int(pp[1])
|
|
+ if err == nil {
|
|
+ p[0] = int(pp[0])
|
|
+ p[1] = int(pp[1])
|
|
+ }
|
|
return
|
|
}
|
|
|
|
diff --git a/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go b/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go
|
|
index 4409001..f8c2c51 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go
|
|
@@ -151,6 +151,7 @@ const (
|
|
BIOCSETF = 0x80084267
|
|
BIOCSETFNR = 0x80084282
|
|
BIOCSETIF = 0x8020426c
|
|
+ BIOCSETVLANPCP = 0x80044285
|
|
BIOCSETWF = 0x8008427b
|
|
BIOCSETZBUF = 0x800c4281
|
|
BIOCSHDRCMPLT = 0x80044275
|
|
@@ -447,7 +448,7 @@ const (
|
|
DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1
|
|
DLT_INFINIBAND = 0xf7
|
|
DLT_IPFILTER = 0x74
|
|
- DLT_IPMB = 0xc7
|
|
+ DLT_IPMB_KONTRON = 0xc7
|
|
DLT_IPMB_LINUX = 0xd1
|
|
DLT_IPMI_HPM_2 = 0x104
|
|
DLT_IPNET = 0xe2
|
|
@@ -487,10 +488,11 @@ const (
|
|
DLT_LINUX_LAPD = 0xb1
|
|
DLT_LINUX_PPP_WITHDIRECTION = 0xa6
|
|
DLT_LINUX_SLL = 0x71
|
|
+ DLT_LINUX_SLL2 = 0x114
|
|
DLT_LOOP = 0x6c
|
|
DLT_LORATAP = 0x10e
|
|
DLT_LTALK = 0x72
|
|
- DLT_MATCHING_MAX = 0x113
|
|
+ DLT_MATCHING_MAX = 0x114
|
|
DLT_MATCHING_MIN = 0x68
|
|
DLT_MFR = 0xb6
|
|
DLT_MOST = 0xd3
|
|
@@ -734,6 +736,7 @@ const (
|
|
IPPROTO_CMTP = 0x26
|
|
IPPROTO_CPHB = 0x49
|
|
IPPROTO_CPNX = 0x48
|
|
+ IPPROTO_DCCP = 0x21
|
|
IPPROTO_DDP = 0x25
|
|
IPPROTO_DGP = 0x56
|
|
IPPROTO_DIVERT = 0x102
|
|
@@ -814,7 +817,6 @@ const (
|
|
IPPROTO_SCTP = 0x84
|
|
IPPROTO_SDRP = 0x2a
|
|
IPPROTO_SEND = 0x103
|
|
- IPPROTO_SEP = 0x21
|
|
IPPROTO_SHIM6 = 0x8c
|
|
IPPROTO_SKIP = 0x39
|
|
IPPROTO_SPACER = 0x7fff
|
|
@@ -911,6 +913,7 @@ const (
|
|
IPV6_V6ONLY = 0x1b
|
|
IPV6_VERSION = 0x60
|
|
IPV6_VERSION_MASK = 0xf0
|
|
+ IPV6_VLAN_PCP = 0x4b
|
|
IP_ADD_MEMBERSHIP = 0xc
|
|
IP_ADD_SOURCE_MEMBERSHIP = 0x46
|
|
IP_BINDANY = 0x18
|
|
@@ -989,8 +992,12 @@ const (
|
|
IP_TOS = 0x3
|
|
IP_TTL = 0x4
|
|
IP_UNBLOCK_SOURCE = 0x49
|
|
+ IP_VLAN_PCP = 0x4b
|
|
ISIG = 0x80
|
|
ISTRIP = 0x20
|
|
+ ITIMER_PROF = 0x2
|
|
+ ITIMER_REAL = 0x0
|
|
+ ITIMER_VIRTUAL = 0x1
|
|
IXANY = 0x800
|
|
IXOFF = 0x400
|
|
IXON = 0x200
|
|
@@ -1000,7 +1007,6 @@ const (
|
|
KERN_VERSION = 0x4
|
|
LOCAL_CONNWAIT = 0x4
|
|
LOCAL_CREDS = 0x2
|
|
- LOCAL_CREDS_PERSISTENT = 0x3
|
|
LOCAL_PEERCRED = 0x1
|
|
LOCAL_VENDOR = 0x80000000
|
|
LOCK_EX = 0x2
|
|
@@ -1179,6 +1185,8 @@ const (
|
|
O_NONBLOCK = 0x4
|
|
O_RDONLY = 0x0
|
|
O_RDWR = 0x2
|
|
+ O_RESOLVE_BENEATH = 0x800000
|
|
+ O_SEARCH = 0x40000
|
|
O_SHLOCK = 0x10
|
|
O_SYNC = 0x80
|
|
O_TRUNC = 0x400
|
|
@@ -1189,6 +1197,10 @@ const (
|
|
PARMRK = 0x8
|
|
PARODD = 0x2000
|
|
PENDIN = 0x20000000
|
|
+ PIOD_READ_D = 0x1
|
|
+ PIOD_READ_I = 0x3
|
|
+ PIOD_WRITE_D = 0x2
|
|
+ PIOD_WRITE_I = 0x4
|
|
PRIO_PGRP = 0x1
|
|
PRIO_PROCESS = 0x0
|
|
PRIO_USER = 0x2
|
|
@@ -1196,6 +1208,60 @@ const (
|
|
PROT_NONE = 0x0
|
|
PROT_READ = 0x1
|
|
PROT_WRITE = 0x2
|
|
+ PTRACE_DEFAULT = 0x1
|
|
+ PTRACE_EXEC = 0x1
|
|
+ PTRACE_FORK = 0x8
|
|
+ PTRACE_LWP = 0x10
|
|
+ PTRACE_SCE = 0x2
|
|
+ PTRACE_SCX = 0x4
|
|
+ PTRACE_SYSCALL = 0x6
|
|
+ PTRACE_VFORK = 0x20
|
|
+ PT_ATTACH = 0xa
|
|
+ PT_CLEARSTEP = 0x10
|
|
+ PT_CONTINUE = 0x7
|
|
+ PT_DETACH = 0xb
|
|
+ PT_FIRSTMACH = 0x40
|
|
+ PT_FOLLOW_FORK = 0x17
|
|
+ PT_GETDBREGS = 0x25
|
|
+ PT_GETFPREGS = 0x23
|
|
+ PT_GETFSBASE = 0x47
|
|
+ PT_GETGSBASE = 0x49
|
|
+ PT_GETLWPLIST = 0xf
|
|
+ PT_GETNUMLWPS = 0xe
|
|
+ PT_GETREGS = 0x21
|
|
+ PT_GETXMMREGS = 0x40
|
|
+ PT_GETXSTATE = 0x45
|
|
+ PT_GETXSTATE_INFO = 0x44
|
|
+ PT_GET_EVENT_MASK = 0x19
|
|
+ PT_GET_SC_ARGS = 0x1b
|
|
+ PT_GET_SC_RET = 0x1c
|
|
+ PT_IO = 0xc
|
|
+ PT_KILL = 0x8
|
|
+ PT_LWPINFO = 0xd
|
|
+ PT_LWP_EVENTS = 0x18
|
|
+ PT_READ_D = 0x2
|
|
+ PT_READ_I = 0x1
|
|
+ PT_RESUME = 0x13
|
|
+ PT_SETDBREGS = 0x26
|
|
+ PT_SETFPREGS = 0x24
|
|
+ PT_SETFSBASE = 0x48
|
|
+ PT_SETGSBASE = 0x4a
|
|
+ PT_SETREGS = 0x22
|
|
+ PT_SETSTEP = 0x11
|
|
+ PT_SETXMMREGS = 0x41
|
|
+ PT_SETXSTATE = 0x46
|
|
+ PT_SET_EVENT_MASK = 0x1a
|
|
+ PT_STEP = 0x9
|
|
+ PT_SUSPEND = 0x12
|
|
+ PT_SYSCALL = 0x16
|
|
+ PT_TO_SCE = 0x14
|
|
+ PT_TO_SCX = 0x15
|
|
+ PT_TRACE_ME = 0x0
|
|
+ PT_VM_ENTRY = 0x29
|
|
+ PT_VM_TIMESTAMP = 0x28
|
|
+ PT_WRITE_D = 0x5
|
|
+ PT_WRITE_I = 0x4
|
|
+ P_ZONEID = 0xc
|
|
RLIMIT_AS = 0xa
|
|
RLIMIT_CORE = 0x4
|
|
RLIMIT_CPU = 0x0
|
|
@@ -1320,10 +1386,12 @@ const (
|
|
SIOCGHWADDR = 0xc020693e
|
|
SIOCGI2C = 0xc020693d
|
|
SIOCGIFADDR = 0xc0206921
|
|
+ SIOCGIFALIAS = 0xc044692d
|
|
SIOCGIFBRDADDR = 0xc0206923
|
|
SIOCGIFCAP = 0xc020691f
|
|
SIOCGIFCONF = 0xc0086924
|
|
SIOCGIFDESCR = 0xc020692a
|
|
+ SIOCGIFDOWNREASON = 0xc058699a
|
|
SIOCGIFDSTADDR = 0xc0206922
|
|
SIOCGIFFIB = 0xc020695c
|
|
SIOCGIFFLAGS = 0xc0206911
|
|
@@ -1414,6 +1482,7 @@ const (
|
|
SO_RCVBUF = 0x1002
|
|
SO_RCVLOWAT = 0x1004
|
|
SO_RCVTIMEO = 0x1006
|
|
+ SO_RERROR = 0x20000
|
|
SO_REUSEADDR = 0x4
|
|
SO_REUSEPORT = 0x200
|
|
SO_REUSEPORT_LB = 0x10000
|
|
@@ -1472,22 +1541,40 @@ const (
|
|
TCOFLUSH = 0x2
|
|
TCOOFF = 0x1
|
|
TCOON = 0x2
|
|
+ TCPOPT_EOL = 0x0
|
|
+ TCPOPT_FAST_OPEN = 0x22
|
|
+ TCPOPT_MAXSEG = 0x2
|
|
+ TCPOPT_NOP = 0x1
|
|
+ TCPOPT_PAD = 0x0
|
|
+ TCPOPT_SACK = 0x5
|
|
+ TCPOPT_SACK_PERMITTED = 0x4
|
|
+ TCPOPT_SIGNATURE = 0x13
|
|
+ TCPOPT_TIMESTAMP = 0x8
|
|
+ TCPOPT_WINDOW = 0x3
|
|
TCP_BBR_ACK_COMP_ALG = 0x448
|
|
+ TCP_BBR_ALGORITHM = 0x43b
|
|
TCP_BBR_DRAIN_INC_EXTRA = 0x43c
|
|
TCP_BBR_DRAIN_PG = 0x42e
|
|
TCP_BBR_EXTRA_GAIN = 0x449
|
|
+ TCP_BBR_EXTRA_STATE = 0x453
|
|
+ TCP_BBR_FLOOR_MIN_TSO = 0x454
|
|
+ TCP_BBR_HDWR_PACE = 0x451
|
|
+ TCP_BBR_HOLD_TARGET = 0x436
|
|
TCP_BBR_IWINTSO = 0x42b
|
|
TCP_BBR_LOWGAIN_FD = 0x436
|
|
TCP_BBR_LOWGAIN_HALF = 0x435
|
|
TCP_BBR_LOWGAIN_THRESH = 0x434
|
|
TCP_BBR_MAX_RTO = 0x439
|
|
TCP_BBR_MIN_RTO = 0x438
|
|
+ TCP_BBR_MIN_TOPACEOUT = 0x455
|
|
TCP_BBR_ONE_RETRAN = 0x431
|
|
TCP_BBR_PACE_CROSS = 0x442
|
|
TCP_BBR_PACE_DEL_TAR = 0x43f
|
|
+ TCP_BBR_PACE_OH = 0x435
|
|
TCP_BBR_PACE_PER_SEC = 0x43e
|
|
TCP_BBR_PACE_SEG_MAX = 0x440
|
|
TCP_BBR_PACE_SEG_MIN = 0x441
|
|
+ TCP_BBR_POLICER_DETECT = 0x457
|
|
TCP_BBR_PROBE_RTT_GAIN = 0x44d
|
|
TCP_BBR_PROBE_RTT_INT = 0x430
|
|
TCP_BBR_PROBE_RTT_LEN = 0x44e
|
|
@@ -1496,12 +1583,18 @@ const (
|
|
TCP_BBR_REC_OVER_HPTS = 0x43a
|
|
TCP_BBR_RETRAN_WTSO = 0x44b
|
|
TCP_BBR_RWND_IS_APP = 0x42f
|
|
+ TCP_BBR_SEND_IWND_IN_TSO = 0x44f
|
|
TCP_BBR_STARTUP_EXIT_EPOCH = 0x43d
|
|
TCP_BBR_STARTUP_LOSS_EXIT = 0x432
|
|
TCP_BBR_STARTUP_PG = 0x42d
|
|
+ TCP_BBR_TMR_PACE_OH = 0x448
|
|
+ TCP_BBR_TSLIMITS = 0x434
|
|
+ TCP_BBR_TSTMP_RAISES = 0x456
|
|
TCP_BBR_UNLIMITED = 0x43b
|
|
TCP_BBR_USEDEL_RATE = 0x437
|
|
TCP_BBR_USE_LOWGAIN = 0x433
|
|
+ TCP_BBR_USE_RACK_CHEAT = 0x450
|
|
+ TCP_BBR_UTTER_MAX_TSO = 0x452
|
|
TCP_CA_NAME_MAX = 0x10
|
|
TCP_CCALGOOPT = 0x41
|
|
TCP_CONGESTION = 0x40
|
|
@@ -1541,6 +1634,7 @@ const (
|
|
TCP_PCAP_OUT = 0x800
|
|
TCP_RACK_EARLY_RECOV = 0x423
|
|
TCP_RACK_EARLY_SEG = 0x424
|
|
+ TCP_RACK_GP_INCREASE = 0x446
|
|
TCP_RACK_IDLE_REDUCE_HIGH = 0x444
|
|
TCP_RACK_MIN_PACE = 0x445
|
|
TCP_RACK_MIN_PACE_SEG = 0x446
|
|
@@ -1554,7 +1648,6 @@ const (
|
|
TCP_RACK_PRR_SENDALOT = 0x421
|
|
TCP_RACK_REORD_FADE = 0x426
|
|
TCP_RACK_REORD_THRESH = 0x425
|
|
- TCP_RACK_SESS_CWV = 0x42a
|
|
TCP_RACK_TLP_INC_VAR = 0x429
|
|
TCP_RACK_TLP_REDUCE = 0x41c
|
|
TCP_RACK_TLP_THRESH = 0x427
|
|
@@ -1694,12 +1787,13 @@ const (
|
|
EIDRM = syscall.Errno(0x52)
|
|
EILSEQ = syscall.Errno(0x56)
|
|
EINPROGRESS = syscall.Errno(0x24)
|
|
+ EINTEGRITY = syscall.Errno(0x61)
|
|
EINTR = syscall.Errno(0x4)
|
|
EINVAL = syscall.Errno(0x16)
|
|
EIO = syscall.Errno(0x5)
|
|
EISCONN = syscall.Errno(0x38)
|
|
EISDIR = syscall.Errno(0x15)
|
|
- ELAST = syscall.Errno(0x60)
|
|
+ ELAST = syscall.Errno(0x61)
|
|
ELOOP = syscall.Errno(0x3e)
|
|
EMFILE = syscall.Errno(0x18)
|
|
EMLINK = syscall.Errno(0x1f)
|
|
@@ -1842,7 +1936,7 @@ var errorList = [...]struct {
|
|
{32, "EPIPE", "broken pipe"},
|
|
{33, "EDOM", "numerical argument out of domain"},
|
|
{34, "ERANGE", "result too large"},
|
|
- {35, "EAGAIN", "resource temporarily unavailable"},
|
|
+ {35, "EWOULDBLOCK", "resource temporarily unavailable"},
|
|
{36, "EINPROGRESS", "operation now in progress"},
|
|
{37, "EALREADY", "operation already in progress"},
|
|
{38, "ENOTSOCK", "socket operation on non-socket"},
|
|
@@ -1904,6 +1998,7 @@ var errorList = [...]struct {
|
|
{94, "ECAPMODE", "not permitted in capability mode"},
|
|
{95, "ENOTRECOVERABLE", "state not recoverable"},
|
|
{96, "EOWNERDEAD", "previous owner died"},
|
|
+ {97, "EINTEGRITY", "integrity check failed"},
|
|
}
|
|
|
|
// Signal table
|
|
diff --git a/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go
|
|
index 64520d3..96310c3 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go
|
|
@@ -151,6 +151,7 @@ const (
|
|
BIOCSETF = 0x80104267
|
|
BIOCSETFNR = 0x80104282
|
|
BIOCSETIF = 0x8020426c
|
|
+ BIOCSETVLANPCP = 0x80044285
|
|
BIOCSETWF = 0x8010427b
|
|
BIOCSETZBUF = 0x80184281
|
|
BIOCSHDRCMPLT = 0x80044275
|
|
@@ -447,7 +448,7 @@ const (
|
|
DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1
|
|
DLT_INFINIBAND = 0xf7
|
|
DLT_IPFILTER = 0x74
|
|
- DLT_IPMB = 0xc7
|
|
+ DLT_IPMB_KONTRON = 0xc7
|
|
DLT_IPMB_LINUX = 0xd1
|
|
DLT_IPMI_HPM_2 = 0x104
|
|
DLT_IPNET = 0xe2
|
|
@@ -487,10 +488,11 @@ const (
|
|
DLT_LINUX_LAPD = 0xb1
|
|
DLT_LINUX_PPP_WITHDIRECTION = 0xa6
|
|
DLT_LINUX_SLL = 0x71
|
|
+ DLT_LINUX_SLL2 = 0x114
|
|
DLT_LOOP = 0x6c
|
|
DLT_LORATAP = 0x10e
|
|
DLT_LTALK = 0x72
|
|
- DLT_MATCHING_MAX = 0x113
|
|
+ DLT_MATCHING_MAX = 0x114
|
|
DLT_MATCHING_MIN = 0x68
|
|
DLT_MFR = 0xb6
|
|
DLT_MOST = 0xd3
|
|
@@ -734,6 +736,7 @@ const (
|
|
IPPROTO_CMTP = 0x26
|
|
IPPROTO_CPHB = 0x49
|
|
IPPROTO_CPNX = 0x48
|
|
+ IPPROTO_DCCP = 0x21
|
|
IPPROTO_DDP = 0x25
|
|
IPPROTO_DGP = 0x56
|
|
IPPROTO_DIVERT = 0x102
|
|
@@ -814,7 +817,6 @@ const (
|
|
IPPROTO_SCTP = 0x84
|
|
IPPROTO_SDRP = 0x2a
|
|
IPPROTO_SEND = 0x103
|
|
- IPPROTO_SEP = 0x21
|
|
IPPROTO_SHIM6 = 0x8c
|
|
IPPROTO_SKIP = 0x39
|
|
IPPROTO_SPACER = 0x7fff
|
|
@@ -911,6 +913,7 @@ const (
|
|
IPV6_V6ONLY = 0x1b
|
|
IPV6_VERSION = 0x60
|
|
IPV6_VERSION_MASK = 0xf0
|
|
+ IPV6_VLAN_PCP = 0x4b
|
|
IP_ADD_MEMBERSHIP = 0xc
|
|
IP_ADD_SOURCE_MEMBERSHIP = 0x46
|
|
IP_BINDANY = 0x18
|
|
@@ -989,8 +992,12 @@ const (
|
|
IP_TOS = 0x3
|
|
IP_TTL = 0x4
|
|
IP_UNBLOCK_SOURCE = 0x49
|
|
+ IP_VLAN_PCP = 0x4b
|
|
ISIG = 0x80
|
|
ISTRIP = 0x20
|
|
+ ITIMER_PROF = 0x2
|
|
+ ITIMER_REAL = 0x0
|
|
+ ITIMER_VIRTUAL = 0x1
|
|
IXANY = 0x800
|
|
IXOFF = 0x400
|
|
IXON = 0x200
|
|
@@ -1000,7 +1007,6 @@ const (
|
|
KERN_VERSION = 0x4
|
|
LOCAL_CONNWAIT = 0x4
|
|
LOCAL_CREDS = 0x2
|
|
- LOCAL_CREDS_PERSISTENT = 0x3
|
|
LOCAL_PEERCRED = 0x1
|
|
LOCAL_VENDOR = 0x80000000
|
|
LOCK_EX = 0x2
|
|
@@ -1180,6 +1186,8 @@ const (
|
|
O_NONBLOCK = 0x4
|
|
O_RDONLY = 0x0
|
|
O_RDWR = 0x2
|
|
+ O_RESOLVE_BENEATH = 0x800000
|
|
+ O_SEARCH = 0x40000
|
|
O_SHLOCK = 0x10
|
|
O_SYNC = 0x80
|
|
O_TRUNC = 0x400
|
|
@@ -1190,6 +1198,10 @@ const (
|
|
PARMRK = 0x8
|
|
PARODD = 0x2000
|
|
PENDIN = 0x20000000
|
|
+ PIOD_READ_D = 0x1
|
|
+ PIOD_READ_I = 0x3
|
|
+ PIOD_WRITE_D = 0x2
|
|
+ PIOD_WRITE_I = 0x4
|
|
PRIO_PGRP = 0x1
|
|
PRIO_PROCESS = 0x0
|
|
PRIO_USER = 0x2
|
|
@@ -1197,6 +1209,58 @@ const (
|
|
PROT_NONE = 0x0
|
|
PROT_READ = 0x1
|
|
PROT_WRITE = 0x2
|
|
+ PTRACE_DEFAULT = 0x1
|
|
+ PTRACE_EXEC = 0x1
|
|
+ PTRACE_FORK = 0x8
|
|
+ PTRACE_LWP = 0x10
|
|
+ PTRACE_SCE = 0x2
|
|
+ PTRACE_SCX = 0x4
|
|
+ PTRACE_SYSCALL = 0x6
|
|
+ PTRACE_VFORK = 0x20
|
|
+ PT_ATTACH = 0xa
|
|
+ PT_CLEARSTEP = 0x10
|
|
+ PT_CONTINUE = 0x7
|
|
+ PT_DETACH = 0xb
|
|
+ PT_FIRSTMACH = 0x40
|
|
+ PT_FOLLOW_FORK = 0x17
|
|
+ PT_GETDBREGS = 0x25
|
|
+ PT_GETFPREGS = 0x23
|
|
+ PT_GETFSBASE = 0x47
|
|
+ PT_GETGSBASE = 0x49
|
|
+ PT_GETLWPLIST = 0xf
|
|
+ PT_GETNUMLWPS = 0xe
|
|
+ PT_GETREGS = 0x21
|
|
+ PT_GETXSTATE = 0x45
|
|
+ PT_GETXSTATE_INFO = 0x44
|
|
+ PT_GET_EVENT_MASK = 0x19
|
|
+ PT_GET_SC_ARGS = 0x1b
|
|
+ PT_GET_SC_RET = 0x1c
|
|
+ PT_IO = 0xc
|
|
+ PT_KILL = 0x8
|
|
+ PT_LWPINFO = 0xd
|
|
+ PT_LWP_EVENTS = 0x18
|
|
+ PT_READ_D = 0x2
|
|
+ PT_READ_I = 0x1
|
|
+ PT_RESUME = 0x13
|
|
+ PT_SETDBREGS = 0x26
|
|
+ PT_SETFPREGS = 0x24
|
|
+ PT_SETFSBASE = 0x48
|
|
+ PT_SETGSBASE = 0x4a
|
|
+ PT_SETREGS = 0x22
|
|
+ PT_SETSTEP = 0x11
|
|
+ PT_SETXSTATE = 0x46
|
|
+ PT_SET_EVENT_MASK = 0x1a
|
|
+ PT_STEP = 0x9
|
|
+ PT_SUSPEND = 0x12
|
|
+ PT_SYSCALL = 0x16
|
|
+ PT_TO_SCE = 0x14
|
|
+ PT_TO_SCX = 0x15
|
|
+ PT_TRACE_ME = 0x0
|
|
+ PT_VM_ENTRY = 0x29
|
|
+ PT_VM_TIMESTAMP = 0x28
|
|
+ PT_WRITE_D = 0x5
|
|
+ PT_WRITE_I = 0x4
|
|
+ P_ZONEID = 0xc
|
|
RLIMIT_AS = 0xa
|
|
RLIMIT_CORE = 0x4
|
|
RLIMIT_CPU = 0x0
|
|
@@ -1321,10 +1385,12 @@ const (
|
|
SIOCGHWADDR = 0xc020693e
|
|
SIOCGI2C = 0xc020693d
|
|
SIOCGIFADDR = 0xc0206921
|
|
+ SIOCGIFALIAS = 0xc044692d
|
|
SIOCGIFBRDADDR = 0xc0206923
|
|
SIOCGIFCAP = 0xc020691f
|
|
SIOCGIFCONF = 0xc0106924
|
|
SIOCGIFDESCR = 0xc020692a
|
|
+ SIOCGIFDOWNREASON = 0xc058699a
|
|
SIOCGIFDSTADDR = 0xc0206922
|
|
SIOCGIFFIB = 0xc020695c
|
|
SIOCGIFFLAGS = 0xc0206911
|
|
@@ -1415,6 +1481,7 @@ const (
|
|
SO_RCVBUF = 0x1002
|
|
SO_RCVLOWAT = 0x1004
|
|
SO_RCVTIMEO = 0x1006
|
|
+ SO_RERROR = 0x20000
|
|
SO_REUSEADDR = 0x4
|
|
SO_REUSEPORT = 0x200
|
|
SO_REUSEPORT_LB = 0x10000
|
|
@@ -1473,22 +1540,40 @@ const (
|
|
TCOFLUSH = 0x2
|
|
TCOOFF = 0x1
|
|
TCOON = 0x2
|
|
+ TCPOPT_EOL = 0x0
|
|
+ TCPOPT_FAST_OPEN = 0x22
|
|
+ TCPOPT_MAXSEG = 0x2
|
|
+ TCPOPT_NOP = 0x1
|
|
+ TCPOPT_PAD = 0x0
|
|
+ TCPOPT_SACK = 0x5
|
|
+ TCPOPT_SACK_PERMITTED = 0x4
|
|
+ TCPOPT_SIGNATURE = 0x13
|
|
+ TCPOPT_TIMESTAMP = 0x8
|
|
+ TCPOPT_WINDOW = 0x3
|
|
TCP_BBR_ACK_COMP_ALG = 0x448
|
|
+ TCP_BBR_ALGORITHM = 0x43b
|
|
TCP_BBR_DRAIN_INC_EXTRA = 0x43c
|
|
TCP_BBR_DRAIN_PG = 0x42e
|
|
TCP_BBR_EXTRA_GAIN = 0x449
|
|
+ TCP_BBR_EXTRA_STATE = 0x453
|
|
+ TCP_BBR_FLOOR_MIN_TSO = 0x454
|
|
+ TCP_BBR_HDWR_PACE = 0x451
|
|
+ TCP_BBR_HOLD_TARGET = 0x436
|
|
TCP_BBR_IWINTSO = 0x42b
|
|
TCP_BBR_LOWGAIN_FD = 0x436
|
|
TCP_BBR_LOWGAIN_HALF = 0x435
|
|
TCP_BBR_LOWGAIN_THRESH = 0x434
|
|
TCP_BBR_MAX_RTO = 0x439
|
|
TCP_BBR_MIN_RTO = 0x438
|
|
+ TCP_BBR_MIN_TOPACEOUT = 0x455
|
|
TCP_BBR_ONE_RETRAN = 0x431
|
|
TCP_BBR_PACE_CROSS = 0x442
|
|
TCP_BBR_PACE_DEL_TAR = 0x43f
|
|
+ TCP_BBR_PACE_OH = 0x435
|
|
TCP_BBR_PACE_PER_SEC = 0x43e
|
|
TCP_BBR_PACE_SEG_MAX = 0x440
|
|
TCP_BBR_PACE_SEG_MIN = 0x441
|
|
+ TCP_BBR_POLICER_DETECT = 0x457
|
|
TCP_BBR_PROBE_RTT_GAIN = 0x44d
|
|
TCP_BBR_PROBE_RTT_INT = 0x430
|
|
TCP_BBR_PROBE_RTT_LEN = 0x44e
|
|
@@ -1497,12 +1582,18 @@ const (
|
|
TCP_BBR_REC_OVER_HPTS = 0x43a
|
|
TCP_BBR_RETRAN_WTSO = 0x44b
|
|
TCP_BBR_RWND_IS_APP = 0x42f
|
|
+ TCP_BBR_SEND_IWND_IN_TSO = 0x44f
|
|
TCP_BBR_STARTUP_EXIT_EPOCH = 0x43d
|
|
TCP_BBR_STARTUP_LOSS_EXIT = 0x432
|
|
TCP_BBR_STARTUP_PG = 0x42d
|
|
+ TCP_BBR_TMR_PACE_OH = 0x448
|
|
+ TCP_BBR_TSLIMITS = 0x434
|
|
+ TCP_BBR_TSTMP_RAISES = 0x456
|
|
TCP_BBR_UNLIMITED = 0x43b
|
|
TCP_BBR_USEDEL_RATE = 0x437
|
|
TCP_BBR_USE_LOWGAIN = 0x433
|
|
+ TCP_BBR_USE_RACK_CHEAT = 0x450
|
|
+ TCP_BBR_UTTER_MAX_TSO = 0x452
|
|
TCP_CA_NAME_MAX = 0x10
|
|
TCP_CCALGOOPT = 0x41
|
|
TCP_CONGESTION = 0x40
|
|
@@ -1542,6 +1633,7 @@ const (
|
|
TCP_PCAP_OUT = 0x800
|
|
TCP_RACK_EARLY_RECOV = 0x423
|
|
TCP_RACK_EARLY_SEG = 0x424
|
|
+ TCP_RACK_GP_INCREASE = 0x446
|
|
TCP_RACK_IDLE_REDUCE_HIGH = 0x444
|
|
TCP_RACK_MIN_PACE = 0x445
|
|
TCP_RACK_MIN_PACE_SEG = 0x446
|
|
@@ -1555,7 +1647,6 @@ const (
|
|
TCP_RACK_PRR_SENDALOT = 0x421
|
|
TCP_RACK_REORD_FADE = 0x426
|
|
TCP_RACK_REORD_THRESH = 0x425
|
|
- TCP_RACK_SESS_CWV = 0x42a
|
|
TCP_RACK_TLP_INC_VAR = 0x429
|
|
TCP_RACK_TLP_REDUCE = 0x41c
|
|
TCP_RACK_TLP_THRESH = 0x427
|
|
@@ -1693,12 +1784,13 @@ const (
|
|
EIDRM = syscall.Errno(0x52)
|
|
EILSEQ = syscall.Errno(0x56)
|
|
EINPROGRESS = syscall.Errno(0x24)
|
|
+ EINTEGRITY = syscall.Errno(0x61)
|
|
EINTR = syscall.Errno(0x4)
|
|
EINVAL = syscall.Errno(0x16)
|
|
EIO = syscall.Errno(0x5)
|
|
EISCONN = syscall.Errno(0x38)
|
|
EISDIR = syscall.Errno(0x15)
|
|
- ELAST = syscall.Errno(0x60)
|
|
+ ELAST = syscall.Errno(0x61)
|
|
ELOOP = syscall.Errno(0x3e)
|
|
EMFILE = syscall.Errno(0x18)
|
|
EMLINK = syscall.Errno(0x1f)
|
|
@@ -1841,7 +1933,7 @@ var errorList = [...]struct {
|
|
{32, "EPIPE", "broken pipe"},
|
|
{33, "EDOM", "numerical argument out of domain"},
|
|
{34, "ERANGE", "result too large"},
|
|
- {35, "EAGAIN", "resource temporarily unavailable"},
|
|
+ {35, "EWOULDBLOCK", "resource temporarily unavailable"},
|
|
{36, "EINPROGRESS", "operation now in progress"},
|
|
{37, "EALREADY", "operation already in progress"},
|
|
{38, "ENOTSOCK", "socket operation on non-socket"},
|
|
@@ -1903,6 +1995,7 @@ var errorList = [...]struct {
|
|
{94, "ECAPMODE", "not permitted in capability mode"},
|
|
{95, "ENOTRECOVERABLE", "state not recoverable"},
|
|
{96, "EOWNERDEAD", "previous owner died"},
|
|
+ {97, "EINTEGRITY", "integrity check failed"},
|
|
}
|
|
|
|
// Signal table
|
|
diff --git a/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go b/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go
|
|
index 99e9a0e..777b69d 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go
|
|
@@ -151,6 +151,7 @@ const (
|
|
BIOCSETF = 0x80084267
|
|
BIOCSETFNR = 0x80084282
|
|
BIOCSETIF = 0x8020426c
|
|
+ BIOCSETVLANPCP = 0x80044285
|
|
BIOCSETWF = 0x8008427b
|
|
BIOCSETZBUF = 0x800c4281
|
|
BIOCSHDRCMPLT = 0x80044275
|
|
@@ -362,7 +363,7 @@ const (
|
|
CTL_KERN = 0x1
|
|
CTL_MAXNAME = 0x18
|
|
CTL_NET = 0x4
|
|
- DIOCGATTR = 0xc144648e
|
|
+ DIOCGATTR = 0xc148648e
|
|
DIOCGDELETE = 0x80106488
|
|
DIOCGFLUSH = 0x20006487
|
|
DIOCGFRONTSTUFF = 0x40086486
|
|
@@ -377,7 +378,7 @@ const (
|
|
DIOCGSTRIPESIZE = 0x4008648b
|
|
DIOCSKERNELDUMP = 0x804c6490
|
|
DIOCSKERNELDUMP_FREEBSD11 = 0x80046485
|
|
- DIOCZONECMD = 0xc06c648f
|
|
+ DIOCZONECMD = 0xc078648f
|
|
DLT_A429 = 0xb8
|
|
DLT_A653_ICM = 0xb9
|
|
DLT_AIRONET_HEADER = 0x78
|
|
@@ -407,7 +408,9 @@ const (
|
|
DLT_C_HDLC_WITH_DIR = 0xcd
|
|
DLT_DBUS = 0xe7
|
|
DLT_DECT = 0xdd
|
|
+ DLT_DISPLAYPORT_AUX = 0x113
|
|
DLT_DOCSIS = 0x8f
|
|
+ DLT_DOCSIS31_XRA31 = 0x111
|
|
DLT_DVB_CI = 0xeb
|
|
DLT_ECONET = 0x73
|
|
DLT_EN10MB = 0x1
|
|
@@ -417,6 +420,7 @@ const (
|
|
DLT_ERF = 0xc5
|
|
DLT_ERF_ETH = 0xaf
|
|
DLT_ERF_POS = 0xb0
|
|
+ DLT_ETHERNET_MPACKET = 0x112
|
|
DLT_FC_2 = 0xe0
|
|
DLT_FC_2_WITH_FRAME_DELIMS = 0xe1
|
|
DLT_FDDI = 0xa
|
|
@@ -444,7 +448,7 @@ const (
|
|
DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1
|
|
DLT_INFINIBAND = 0xf7
|
|
DLT_IPFILTER = 0x74
|
|
- DLT_IPMB = 0xc7
|
|
+ DLT_IPMB_KONTRON = 0xc7
|
|
DLT_IPMB_LINUX = 0xd1
|
|
DLT_IPMI_HPM_2 = 0x104
|
|
DLT_IPNET = 0xe2
|
|
@@ -484,9 +488,11 @@ const (
|
|
DLT_LINUX_LAPD = 0xb1
|
|
DLT_LINUX_PPP_WITHDIRECTION = 0xa6
|
|
DLT_LINUX_SLL = 0x71
|
|
+ DLT_LINUX_SLL2 = 0x114
|
|
DLT_LOOP = 0x6c
|
|
+ DLT_LORATAP = 0x10e
|
|
DLT_LTALK = 0x72
|
|
- DLT_MATCHING_MAX = 0x109
|
|
+ DLT_MATCHING_MAX = 0x114
|
|
DLT_MATCHING_MIN = 0x68
|
|
DLT_MFR = 0xb6
|
|
DLT_MOST = 0xd3
|
|
@@ -502,7 +508,9 @@ const (
|
|
DLT_NFC_LLCP = 0xf5
|
|
DLT_NFLOG = 0xef
|
|
DLT_NG40 = 0xf4
|
|
+ DLT_NORDIC_BLE = 0x110
|
|
DLT_NULL = 0x0
|
|
+ DLT_OPENFLOW = 0x10b
|
|
DLT_PCI_EXP = 0x7d
|
|
DLT_PFLOG = 0x75
|
|
DLT_PFSYNC = 0x79
|
|
@@ -526,15 +534,18 @@ const (
|
|
DLT_RTAC_SERIAL = 0xfa
|
|
DLT_SCCP = 0x8e
|
|
DLT_SCTP = 0xf8
|
|
+ DLT_SDLC = 0x10c
|
|
DLT_SITA = 0xc4
|
|
DLT_SLIP = 0x8
|
|
DLT_SLIP_BSDOS = 0xd
|
|
DLT_STANAG_5066_D_PDU = 0xed
|
|
DLT_SUNATM = 0x7b
|
|
DLT_SYMANTEC_FIREWALL = 0x63
|
|
+ DLT_TI_LLN_SNIFFER = 0x10d
|
|
DLT_TZSP = 0x80
|
|
DLT_USB = 0xba
|
|
DLT_USBPCAP = 0xf9
|
|
+ DLT_USB_DARWIN = 0x10a
|
|
DLT_USB_FREEBSD = 0xba
|
|
DLT_USB_LINUX = 0xbd
|
|
DLT_USB_LINUX_MMAPPED = 0xdc
|
|
@@ -554,6 +565,7 @@ const (
|
|
DLT_USER7 = 0x9a
|
|
DLT_USER8 = 0x9b
|
|
DLT_USER9 = 0x9c
|
|
+ DLT_VSOCK = 0x10f
|
|
DLT_WATTSTOPPER_DLM = 0x107
|
|
DLT_WIHART = 0xdf
|
|
DLT_WIRESHARK_UPPER_PDU = 0xfc
|
|
@@ -578,6 +590,7 @@ const (
|
|
ECHONL = 0x10
|
|
ECHOPRT = 0x20
|
|
EVFILT_AIO = -0x3
|
|
+ EVFILT_EMPTY = -0xd
|
|
EVFILT_FS = -0x9
|
|
EVFILT_LIO = -0xa
|
|
EVFILT_PROC = -0x5
|
|
@@ -585,11 +598,12 @@ const (
|
|
EVFILT_READ = -0x1
|
|
EVFILT_SENDFILE = -0xc
|
|
EVFILT_SIGNAL = -0x6
|
|
- EVFILT_SYSCOUNT = 0xc
|
|
+ EVFILT_SYSCOUNT = 0xd
|
|
EVFILT_TIMER = -0x7
|
|
EVFILT_USER = -0xb
|
|
EVFILT_VNODE = -0x4
|
|
EVFILT_WRITE = -0x2
|
|
+ EVNAMEMAP_NAME_SIZE = 0x40
|
|
EV_ADD = 0x1
|
|
EV_CLEAR = 0x20
|
|
EV_DELETE = 0x2
|
|
@@ -606,6 +620,7 @@ const (
|
|
EV_RECEIPT = 0x40
|
|
EV_SYSFLAGS = 0xf000
|
|
EXTA = 0x4b00
|
|
+ EXTATTR_MAXNAMELEN = 0xff
|
|
EXTATTR_NAMESPACE_EMPTY = 0x0
|
|
EXTATTR_NAMESPACE_SYSTEM = 0x2
|
|
EXTATTR_NAMESPACE_USER = 0x1
|
|
@@ -647,6 +662,7 @@ const (
|
|
IEXTEN = 0x400
|
|
IFAN_ARRIVAL = 0x0
|
|
IFAN_DEPARTURE = 0x1
|
|
+ IFCAP_WOL_MAGIC = 0x2000
|
|
IFF_ALLMULTI = 0x200
|
|
IFF_ALTPHYS = 0x4000
|
|
IFF_BROADCAST = 0x2
|
|
@@ -663,6 +679,7 @@ const (
|
|
IFF_MONITOR = 0x40000
|
|
IFF_MULTICAST = 0x8000
|
|
IFF_NOARP = 0x80
|
|
+ IFF_NOGROUP = 0x800000
|
|
IFF_OACTIVE = 0x400
|
|
IFF_POINTOPOINT = 0x10
|
|
IFF_PPROMISC = 0x20000
|
|
@@ -719,6 +736,7 @@ const (
|
|
IPPROTO_CMTP = 0x26
|
|
IPPROTO_CPHB = 0x49
|
|
IPPROTO_CPNX = 0x48
|
|
+ IPPROTO_DCCP = 0x21
|
|
IPPROTO_DDP = 0x25
|
|
IPPROTO_DGP = 0x56
|
|
IPPROTO_DIVERT = 0x102
|
|
@@ -799,7 +817,6 @@ const (
|
|
IPPROTO_SCTP = 0x84
|
|
IPPROTO_SDRP = 0x2a
|
|
IPPROTO_SEND = 0x103
|
|
- IPPROTO_SEP = 0x21
|
|
IPPROTO_SHIM6 = 0x8c
|
|
IPPROTO_SKIP = 0x39
|
|
IPPROTO_SPACER = 0x7fff
|
|
@@ -837,6 +854,7 @@ const (
|
|
IPV6_DSTOPTS = 0x32
|
|
IPV6_FLOWID = 0x43
|
|
IPV6_FLOWINFO_MASK = 0xffffff0f
|
|
+ IPV6_FLOWLABEL_LEN = 0x14
|
|
IPV6_FLOWLABEL_MASK = 0xffff0f00
|
|
IPV6_FLOWTYPE = 0x44
|
|
IPV6_FRAGTTL = 0x78
|
|
@@ -857,13 +875,13 @@ const (
|
|
IPV6_MAX_GROUP_SRC_FILTER = 0x200
|
|
IPV6_MAX_MEMBERSHIPS = 0xfff
|
|
IPV6_MAX_SOCK_SRC_FILTER = 0x80
|
|
- IPV6_MIN_MEMBERSHIPS = 0x1f
|
|
IPV6_MMTU = 0x500
|
|
IPV6_MSFILTER = 0x4a
|
|
IPV6_MULTICAST_HOPS = 0xa
|
|
IPV6_MULTICAST_IF = 0x9
|
|
IPV6_MULTICAST_LOOP = 0xb
|
|
IPV6_NEXTHOP = 0x30
|
|
+ IPV6_ORIGDSTADDR = 0x48
|
|
IPV6_PATHMTU = 0x2c
|
|
IPV6_PKTINFO = 0x2e
|
|
IPV6_PORTRANGE = 0xe
|
|
@@ -875,6 +893,7 @@ const (
|
|
IPV6_RECVFLOWID = 0x46
|
|
IPV6_RECVHOPLIMIT = 0x25
|
|
IPV6_RECVHOPOPTS = 0x27
|
|
+ IPV6_RECVORIGDSTADDR = 0x48
|
|
IPV6_RECVPATHMTU = 0x2b
|
|
IPV6_RECVPKTINFO = 0x24
|
|
IPV6_RECVRSSBUCKETID = 0x47
|
|
@@ -894,6 +913,7 @@ const (
|
|
IPV6_V6ONLY = 0x1b
|
|
IPV6_VERSION = 0x60
|
|
IPV6_VERSION_MASK = 0xf0
|
|
+ IPV6_VLAN_PCP = 0x4b
|
|
IP_ADD_MEMBERSHIP = 0xc
|
|
IP_ADD_SOURCE_MEMBERSHIP = 0x46
|
|
IP_BINDANY = 0x18
|
|
@@ -935,10 +955,8 @@ const (
|
|
IP_MAX_MEMBERSHIPS = 0xfff
|
|
IP_MAX_SOCK_MUTE_FILTER = 0x80
|
|
IP_MAX_SOCK_SRC_FILTER = 0x80
|
|
- IP_MAX_SOURCE_FILTER = 0x400
|
|
IP_MF = 0x2000
|
|
IP_MINTTL = 0x42
|
|
- IP_MIN_MEMBERSHIPS = 0x1f
|
|
IP_MSFILTER = 0x4a
|
|
IP_MSS = 0x240
|
|
IP_MULTICAST_IF = 0x9
|
|
@@ -948,6 +966,7 @@ const (
|
|
IP_OFFMASK = 0x1fff
|
|
IP_ONESBCAST = 0x17
|
|
IP_OPTIONS = 0x1
|
|
+ IP_ORIGDSTADDR = 0x1b
|
|
IP_PORTRANGE = 0x13
|
|
IP_PORTRANGE_DEFAULT = 0x0
|
|
IP_PORTRANGE_HIGH = 0x1
|
|
@@ -956,6 +975,7 @@ const (
|
|
IP_RECVFLOWID = 0x5d
|
|
IP_RECVIF = 0x14
|
|
IP_RECVOPTS = 0x5
|
|
+ IP_RECVORIGDSTADDR = 0x1b
|
|
IP_RECVRETOPTS = 0x6
|
|
IP_RECVRSSBUCKETID = 0x5e
|
|
IP_RECVTOS = 0x44
|
|
@@ -972,8 +992,12 @@ const (
|
|
IP_TOS = 0x3
|
|
IP_TTL = 0x4
|
|
IP_UNBLOCK_SOURCE = 0x49
|
|
+ IP_VLAN_PCP = 0x4b
|
|
ISIG = 0x80
|
|
ISTRIP = 0x20
|
|
+ ITIMER_PROF = 0x2
|
|
+ ITIMER_REAL = 0x0
|
|
+ ITIMER_VIRTUAL = 0x1
|
|
IXANY = 0x800
|
|
IXOFF = 0x400
|
|
IXON = 0x200
|
|
@@ -983,7 +1007,6 @@ const (
|
|
KERN_VERSION = 0x4
|
|
LOCAL_CONNWAIT = 0x4
|
|
LOCAL_CREDS = 0x2
|
|
- LOCAL_CREDS_PERSISTENT = 0x3
|
|
LOCAL_PEERCRED = 0x1
|
|
LOCAL_VENDOR = 0x80000000
|
|
LOCK_EX = 0x2
|
|
@@ -1071,10 +1094,12 @@ const (
|
|
MNT_SUSPEND = 0x4
|
|
MNT_SYNCHRONOUS = 0x2
|
|
MNT_UNION = 0x20
|
|
+ MNT_UNTRUSTED = 0x800000000
|
|
MNT_UPDATE = 0x10000
|
|
- MNT_UPDATEMASK = 0x2d8d0807e
|
|
+ MNT_UPDATEMASK = 0xad8d0807e
|
|
MNT_USER = 0x8000
|
|
- MNT_VISFLAGMASK = 0x3fef0ffff
|
|
+ MNT_VERIFIED = 0x400000000
|
|
+ MNT_VISFLAGMASK = 0xffef0ffff
|
|
MNT_WAIT = 0x1
|
|
MSG_CMSG_CLOEXEC = 0x40000
|
|
MSG_COMPAT = 0x8000
|
|
@@ -1103,6 +1128,7 @@ const (
|
|
NFDBITS = 0x20
|
|
NOFLSH = 0x80000000
|
|
NOKERNINFO = 0x2000000
|
|
+ NOTE_ABSTIME = 0x10
|
|
NOTE_ATTRIB = 0x8
|
|
NOTE_CHILD = 0x4
|
|
NOTE_CLOSE = 0x100
|
|
@@ -1159,6 +1185,8 @@ const (
|
|
O_NONBLOCK = 0x4
|
|
O_RDONLY = 0x0
|
|
O_RDWR = 0x2
|
|
+ O_RESOLVE_BENEATH = 0x800000
|
|
+ O_SEARCH = 0x40000
|
|
O_SHLOCK = 0x10
|
|
O_SYNC = 0x80
|
|
O_TRUNC = 0x400
|
|
@@ -1169,6 +1197,10 @@ const (
|
|
PARMRK = 0x8
|
|
PARODD = 0x2000
|
|
PENDIN = 0x20000000
|
|
+ PIOD_READ_D = 0x1
|
|
+ PIOD_READ_I = 0x3
|
|
+ PIOD_WRITE_D = 0x2
|
|
+ PIOD_WRITE_I = 0x4
|
|
PRIO_PGRP = 0x1
|
|
PRIO_PROCESS = 0x0
|
|
PRIO_USER = 0x2
|
|
@@ -1176,6 +1208,53 @@ const (
|
|
PROT_NONE = 0x0
|
|
PROT_READ = 0x1
|
|
PROT_WRITE = 0x2
|
|
+ PTRACE_DEFAULT = 0x1
|
|
+ PTRACE_EXEC = 0x1
|
|
+ PTRACE_FORK = 0x8
|
|
+ PTRACE_LWP = 0x10
|
|
+ PTRACE_SCE = 0x2
|
|
+ PTRACE_SCX = 0x4
|
|
+ PTRACE_SYSCALL = 0x6
|
|
+ PTRACE_VFORK = 0x20
|
|
+ PT_ATTACH = 0xa
|
|
+ PT_CLEARSTEP = 0x10
|
|
+ PT_CONTINUE = 0x7
|
|
+ PT_DETACH = 0xb
|
|
+ PT_FIRSTMACH = 0x40
|
|
+ PT_FOLLOW_FORK = 0x17
|
|
+ PT_GETDBREGS = 0x25
|
|
+ PT_GETFPREGS = 0x23
|
|
+ PT_GETLWPLIST = 0xf
|
|
+ PT_GETNUMLWPS = 0xe
|
|
+ PT_GETREGS = 0x21
|
|
+ PT_GETVFPREGS = 0x40
|
|
+ PT_GET_EVENT_MASK = 0x19
|
|
+ PT_GET_SC_ARGS = 0x1b
|
|
+ PT_GET_SC_RET = 0x1c
|
|
+ PT_IO = 0xc
|
|
+ PT_KILL = 0x8
|
|
+ PT_LWPINFO = 0xd
|
|
+ PT_LWP_EVENTS = 0x18
|
|
+ PT_READ_D = 0x2
|
|
+ PT_READ_I = 0x1
|
|
+ PT_RESUME = 0x13
|
|
+ PT_SETDBREGS = 0x26
|
|
+ PT_SETFPREGS = 0x24
|
|
+ PT_SETREGS = 0x22
|
|
+ PT_SETSTEP = 0x11
|
|
+ PT_SETVFPREGS = 0x41
|
|
+ PT_SET_EVENT_MASK = 0x1a
|
|
+ PT_STEP = 0x9
|
|
+ PT_SUSPEND = 0x12
|
|
+ PT_SYSCALL = 0x16
|
|
+ PT_TO_SCE = 0x14
|
|
+ PT_TO_SCX = 0x15
|
|
+ PT_TRACE_ME = 0x0
|
|
+ PT_VM_ENTRY = 0x29
|
|
+ PT_VM_TIMESTAMP = 0x28
|
|
+ PT_WRITE_D = 0x5
|
|
+ PT_WRITE_I = 0x4
|
|
+ P_ZONEID = 0xc
|
|
RLIMIT_AS = 0xa
|
|
RLIMIT_CORE = 0x4
|
|
RLIMIT_CPU = 0x0
|
|
@@ -1257,7 +1336,6 @@ const (
|
|
RTV_WEIGHT = 0x100
|
|
RT_ALL_FIBS = -0x1
|
|
RT_BLACKHOLE = 0x40
|
|
- RT_CACHING_CONTEXT = 0x1
|
|
RT_DEFAULT_FIB = 0x0
|
|
RT_HAS_GW = 0x80
|
|
RT_HAS_HEADER = 0x10
|
|
@@ -1267,15 +1345,17 @@ const (
|
|
RT_LLE_CACHE = 0x100
|
|
RT_MAY_LOOP = 0x8
|
|
RT_MAY_LOOP_BIT = 0x3
|
|
- RT_NORTREF = 0x2
|
|
RT_REJECT = 0x20
|
|
RUSAGE_CHILDREN = -0x1
|
|
RUSAGE_SELF = 0x0
|
|
RUSAGE_THREAD = 0x1
|
|
SCM_BINTIME = 0x4
|
|
SCM_CREDS = 0x3
|
|
+ SCM_MONOTONIC = 0x6
|
|
+ SCM_REALTIME = 0x5
|
|
SCM_RIGHTS = 0x1
|
|
SCM_TIMESTAMP = 0x2
|
|
+ SCM_TIME_INFO = 0x7
|
|
SEEK_CUR = 0x1
|
|
SEEK_DATA = 0x3
|
|
SEEK_END = 0x2
|
|
@@ -1299,10 +1379,12 @@ const (
|
|
SIOCGHWADDR = 0xc020693e
|
|
SIOCGI2C = 0xc020693d
|
|
SIOCGIFADDR = 0xc0206921
|
|
+ SIOCGIFALIAS = 0xc044692d
|
|
SIOCGIFBRDADDR = 0xc0206923
|
|
SIOCGIFCAP = 0xc020691f
|
|
SIOCGIFCONF = 0xc0086924
|
|
SIOCGIFDESCR = 0xc020692a
|
|
+ SIOCGIFDOWNREASON = 0xc058699a
|
|
SIOCGIFDSTADDR = 0xc0206922
|
|
SIOCGIFFIB = 0xc020695c
|
|
SIOCGIFFLAGS = 0xc0206911
|
|
@@ -1318,8 +1400,11 @@ const (
|
|
SIOCGIFPDSTADDR = 0xc0206948
|
|
SIOCGIFPHYS = 0xc0206935
|
|
SIOCGIFPSRCADDR = 0xc0206947
|
|
+ SIOCGIFRSSHASH = 0xc0186997
|
|
+ SIOCGIFRSSKEY = 0xc0946996
|
|
SIOCGIFSTATUS = 0xc331693b
|
|
SIOCGIFXMEDIA = 0xc028698b
|
|
+ SIOCGLANPCP = 0xc0206998
|
|
SIOCGLOWAT = 0x40047303
|
|
SIOCGPGRP = 0x40047309
|
|
SIOCGPRIVATE_0 = 0xc0206950
|
|
@@ -1350,6 +1435,7 @@ const (
|
|
SIOCSIFPHYS = 0x80206936
|
|
SIOCSIFRVNET = 0xc020695b
|
|
SIOCSIFVNET = 0xc020695a
|
|
+ SIOCSLANPCP = 0x80206999
|
|
SIOCSLOWAT = 0x80047302
|
|
SIOCSPGRP = 0x80047308
|
|
SIOCSTUNFIB = 0x8020695f
|
|
@@ -1369,6 +1455,7 @@ const (
|
|
SO_BINTIME = 0x2000
|
|
SO_BROADCAST = 0x20
|
|
SO_DEBUG = 0x1
|
|
+ SO_DOMAIN = 0x1019
|
|
SO_DONTROUTE = 0x10
|
|
SO_ERROR = 0x1007
|
|
SO_KEEPALIVE = 0x8
|
|
@@ -1377,6 +1464,7 @@ const (
|
|
SO_LISTENINCQLEN = 0x1013
|
|
SO_LISTENQLEN = 0x1012
|
|
SO_LISTENQLIMIT = 0x1011
|
|
+ SO_MAX_PACING_RATE = 0x1018
|
|
SO_NOSIGPIPE = 0x800
|
|
SO_NO_DDP = 0x8000
|
|
SO_NO_OFFLOAD = 0x4000
|
|
@@ -1387,13 +1475,22 @@ const (
|
|
SO_RCVBUF = 0x1002
|
|
SO_RCVLOWAT = 0x1004
|
|
SO_RCVTIMEO = 0x1006
|
|
+ SO_RERROR = 0x20000
|
|
SO_REUSEADDR = 0x4
|
|
SO_REUSEPORT = 0x200
|
|
+ SO_REUSEPORT_LB = 0x10000
|
|
SO_SETFIB = 0x1014
|
|
SO_SNDBUF = 0x1001
|
|
SO_SNDLOWAT = 0x1003
|
|
SO_SNDTIMEO = 0x1005
|
|
SO_TIMESTAMP = 0x400
|
|
+ SO_TS_BINTIME = 0x1
|
|
+ SO_TS_CLOCK = 0x1017
|
|
+ SO_TS_CLOCK_MAX = 0x3
|
|
+ SO_TS_DEFAULT = 0x0
|
|
+ SO_TS_MONOTONIC = 0x3
|
|
+ SO_TS_REALTIME = 0x2
|
|
+ SO_TS_REALTIME_MICRO = 0x0
|
|
SO_TYPE = 0x1008
|
|
SO_USELOOPBACK = 0x40
|
|
SO_USER_COOKIE = 0x1015
|
|
@@ -1437,10 +1534,69 @@ const (
|
|
TCOFLUSH = 0x2
|
|
TCOOFF = 0x1
|
|
TCOON = 0x2
|
|
+ TCPOPT_EOL = 0x0
|
|
+ TCPOPT_FAST_OPEN = 0x22
|
|
+ TCPOPT_MAXSEG = 0x2
|
|
+ TCPOPT_NOP = 0x1
|
|
+ TCPOPT_PAD = 0x0
|
|
+ TCPOPT_SACK = 0x5
|
|
+ TCPOPT_SACK_PERMITTED = 0x4
|
|
+ TCPOPT_SIGNATURE = 0x13
|
|
+ TCPOPT_TIMESTAMP = 0x8
|
|
+ TCPOPT_WINDOW = 0x3
|
|
+ TCP_BBR_ACK_COMP_ALG = 0x448
|
|
+ TCP_BBR_ALGORITHM = 0x43b
|
|
+ TCP_BBR_DRAIN_INC_EXTRA = 0x43c
|
|
+ TCP_BBR_DRAIN_PG = 0x42e
|
|
+ TCP_BBR_EXTRA_GAIN = 0x449
|
|
+ TCP_BBR_EXTRA_STATE = 0x453
|
|
+ TCP_BBR_FLOOR_MIN_TSO = 0x454
|
|
+ TCP_BBR_HDWR_PACE = 0x451
|
|
+ TCP_BBR_HOLD_TARGET = 0x436
|
|
+ TCP_BBR_IWINTSO = 0x42b
|
|
+ TCP_BBR_LOWGAIN_FD = 0x436
|
|
+ TCP_BBR_LOWGAIN_HALF = 0x435
|
|
+ TCP_BBR_LOWGAIN_THRESH = 0x434
|
|
+ TCP_BBR_MAX_RTO = 0x439
|
|
+ TCP_BBR_MIN_RTO = 0x438
|
|
+ TCP_BBR_MIN_TOPACEOUT = 0x455
|
|
+ TCP_BBR_ONE_RETRAN = 0x431
|
|
+ TCP_BBR_PACE_CROSS = 0x442
|
|
+ TCP_BBR_PACE_DEL_TAR = 0x43f
|
|
+ TCP_BBR_PACE_OH = 0x435
|
|
+ TCP_BBR_PACE_PER_SEC = 0x43e
|
|
+ TCP_BBR_PACE_SEG_MAX = 0x440
|
|
+ TCP_BBR_PACE_SEG_MIN = 0x441
|
|
+ TCP_BBR_POLICER_DETECT = 0x457
|
|
+ TCP_BBR_PROBE_RTT_GAIN = 0x44d
|
|
+ TCP_BBR_PROBE_RTT_INT = 0x430
|
|
+ TCP_BBR_PROBE_RTT_LEN = 0x44e
|
|
+ TCP_BBR_RACK_RTT_USE = 0x44a
|
|
+ TCP_BBR_RECFORCE = 0x42c
|
|
+ TCP_BBR_REC_OVER_HPTS = 0x43a
|
|
+ TCP_BBR_RETRAN_WTSO = 0x44b
|
|
+ TCP_BBR_RWND_IS_APP = 0x42f
|
|
+ TCP_BBR_SEND_IWND_IN_TSO = 0x44f
|
|
+ TCP_BBR_STARTUP_EXIT_EPOCH = 0x43d
|
|
+ TCP_BBR_STARTUP_LOSS_EXIT = 0x432
|
|
+ TCP_BBR_STARTUP_PG = 0x42d
|
|
+ TCP_BBR_TMR_PACE_OH = 0x448
|
|
+ TCP_BBR_TSLIMITS = 0x434
|
|
+ TCP_BBR_TSTMP_RAISES = 0x456
|
|
+ TCP_BBR_UNLIMITED = 0x43b
|
|
+ TCP_BBR_USEDEL_RATE = 0x437
|
|
+ TCP_BBR_USE_LOWGAIN = 0x433
|
|
+ TCP_BBR_USE_RACK_CHEAT = 0x450
|
|
+ TCP_BBR_UTTER_MAX_TSO = 0x452
|
|
TCP_CA_NAME_MAX = 0x10
|
|
TCP_CCALGOOPT = 0x41
|
|
TCP_CONGESTION = 0x40
|
|
+ TCP_DATA_AFTER_CLOSE = 0x44c
|
|
+ TCP_DELACK = 0x48
|
|
TCP_FASTOPEN = 0x401
|
|
+ TCP_FASTOPEN_MAX_COOKIE_LEN = 0x10
|
|
+ TCP_FASTOPEN_MIN_COOKIE_LEN = 0x4
|
|
+ TCP_FASTOPEN_PSK_LEN = 0x10
|
|
TCP_FUNCTION_BLK = 0x2000
|
|
TCP_FUNCTION_NAME_LEN_MAX = 0x20
|
|
TCP_INFO = 0x20
|
|
@@ -1448,6 +1604,12 @@ const (
|
|
TCP_KEEPIDLE = 0x100
|
|
TCP_KEEPINIT = 0x80
|
|
TCP_KEEPINTVL = 0x200
|
|
+ TCP_LOG = 0x22
|
|
+ TCP_LOGBUF = 0x23
|
|
+ TCP_LOGDUMP = 0x25
|
|
+ TCP_LOGDUMPID = 0x26
|
|
+ TCP_LOGID = 0x24
|
|
+ TCP_LOG_ID_LEN = 0x40
|
|
TCP_MAXBURST = 0x4
|
|
TCP_MAXHLEN = 0x3c
|
|
TCP_MAXOLEN = 0x28
|
|
@@ -1463,8 +1625,30 @@ const (
|
|
TCP_NOPUSH = 0x4
|
|
TCP_PCAP_IN = 0x1000
|
|
TCP_PCAP_OUT = 0x800
|
|
+ TCP_RACK_EARLY_RECOV = 0x423
|
|
+ TCP_RACK_EARLY_SEG = 0x424
|
|
+ TCP_RACK_GP_INCREASE = 0x446
|
|
+ TCP_RACK_IDLE_REDUCE_HIGH = 0x444
|
|
+ TCP_RACK_MIN_PACE = 0x445
|
|
+ TCP_RACK_MIN_PACE_SEG = 0x446
|
|
+ TCP_RACK_MIN_TO = 0x422
|
|
+ TCP_RACK_PACE_ALWAYS = 0x41f
|
|
+ TCP_RACK_PACE_MAX_SEG = 0x41e
|
|
+ TCP_RACK_PACE_REDUCE = 0x41d
|
|
+ TCP_RACK_PKT_DELAY = 0x428
|
|
+ TCP_RACK_PROP = 0x41b
|
|
+ TCP_RACK_PROP_RATE = 0x420
|
|
+ TCP_RACK_PRR_SENDALOT = 0x421
|
|
+ TCP_RACK_REORD_FADE = 0x426
|
|
+ TCP_RACK_REORD_THRESH = 0x425
|
|
+ TCP_RACK_TLP_INC_VAR = 0x429
|
|
+ TCP_RACK_TLP_REDUCE = 0x41c
|
|
+ TCP_RACK_TLP_THRESH = 0x427
|
|
+ TCP_RACK_TLP_USE = 0x447
|
|
TCP_VENDOR = 0x80000000
|
|
TCSAFLUSH = 0x2
|
|
+ TIMER_ABSTIME = 0x1
|
|
+ TIMER_RELTIME = 0x0
|
|
TIOCCBRK = 0x2000747a
|
|
TIOCCDTR = 0x20007478
|
|
TIOCCONS = 0x80047462
|
|
@@ -1528,6 +1712,8 @@ const (
|
|
TIOCTIMESTAMP = 0x40107459
|
|
TIOCUCNTL = 0x80047466
|
|
TOSTOP = 0x400000
|
|
+ UTIME_NOW = -0x1
|
|
+ UTIME_OMIT = -0x2
|
|
VDISCARD = 0xf
|
|
VDSUSP = 0xb
|
|
VEOF = 0x0
|
|
@@ -1592,12 +1778,13 @@ const (
|
|
EIDRM = syscall.Errno(0x52)
|
|
EILSEQ = syscall.Errno(0x56)
|
|
EINPROGRESS = syscall.Errno(0x24)
|
|
+ EINTEGRITY = syscall.Errno(0x61)
|
|
EINTR = syscall.Errno(0x4)
|
|
EINVAL = syscall.Errno(0x16)
|
|
EIO = syscall.Errno(0x5)
|
|
EISCONN = syscall.Errno(0x38)
|
|
EISDIR = syscall.Errno(0x15)
|
|
- ELAST = syscall.Errno(0x60)
|
|
+ ELAST = syscall.Errno(0x61)
|
|
ELOOP = syscall.Errno(0x3e)
|
|
EMFILE = syscall.Errno(0x18)
|
|
EMLINK = syscall.Errno(0x1f)
|
|
@@ -1740,7 +1927,7 @@ var errorList = [...]struct {
|
|
{32, "EPIPE", "broken pipe"},
|
|
{33, "EDOM", "numerical argument out of domain"},
|
|
{34, "ERANGE", "result too large"},
|
|
- {35, "EAGAIN", "resource temporarily unavailable"},
|
|
+ {35, "EWOULDBLOCK", "resource temporarily unavailable"},
|
|
{36, "EINPROGRESS", "operation now in progress"},
|
|
{37, "EALREADY", "operation already in progress"},
|
|
{38, "ENOTSOCK", "socket operation on non-socket"},
|
|
@@ -1802,6 +1989,7 @@ var errorList = [...]struct {
|
|
{94, "ECAPMODE", "not permitted in capability mode"},
|
|
{95, "ENOTRECOVERABLE", "state not recoverable"},
|
|
{96, "EOWNERDEAD", "previous owner died"},
|
|
+ {97, "EINTEGRITY", "integrity check failed"},
|
|
}
|
|
|
|
// Signal table
|
|
diff --git a/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go b/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go
|
|
index 4c83771..c557ac2 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go
|
|
@@ -151,6 +151,7 @@ const (
|
|
BIOCSETF = 0x80104267
|
|
BIOCSETFNR = 0x80104282
|
|
BIOCSETIF = 0x8020426c
|
|
+ BIOCSETVLANPCP = 0x80044285
|
|
BIOCSETWF = 0x8010427b
|
|
BIOCSETZBUF = 0x80184281
|
|
BIOCSHDRCMPLT = 0x80044275
|
|
@@ -447,7 +448,7 @@ const (
|
|
DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1
|
|
DLT_INFINIBAND = 0xf7
|
|
DLT_IPFILTER = 0x74
|
|
- DLT_IPMB = 0xc7
|
|
+ DLT_IPMB_KONTRON = 0xc7
|
|
DLT_IPMB_LINUX = 0xd1
|
|
DLT_IPMI_HPM_2 = 0x104
|
|
DLT_IPNET = 0xe2
|
|
@@ -487,10 +488,11 @@ const (
|
|
DLT_LINUX_LAPD = 0xb1
|
|
DLT_LINUX_PPP_WITHDIRECTION = 0xa6
|
|
DLT_LINUX_SLL = 0x71
|
|
+ DLT_LINUX_SLL2 = 0x114
|
|
DLT_LOOP = 0x6c
|
|
DLT_LORATAP = 0x10e
|
|
DLT_LTALK = 0x72
|
|
- DLT_MATCHING_MAX = 0x113
|
|
+ DLT_MATCHING_MAX = 0x114
|
|
DLT_MATCHING_MIN = 0x68
|
|
DLT_MFR = 0xb6
|
|
DLT_MOST = 0xd3
|
|
@@ -734,6 +736,7 @@ const (
|
|
IPPROTO_CMTP = 0x26
|
|
IPPROTO_CPHB = 0x49
|
|
IPPROTO_CPNX = 0x48
|
|
+ IPPROTO_DCCP = 0x21
|
|
IPPROTO_DDP = 0x25
|
|
IPPROTO_DGP = 0x56
|
|
IPPROTO_DIVERT = 0x102
|
|
@@ -814,7 +817,6 @@ const (
|
|
IPPROTO_SCTP = 0x84
|
|
IPPROTO_SDRP = 0x2a
|
|
IPPROTO_SEND = 0x103
|
|
- IPPROTO_SEP = 0x21
|
|
IPPROTO_SHIM6 = 0x8c
|
|
IPPROTO_SKIP = 0x39
|
|
IPPROTO_SPACER = 0x7fff
|
|
@@ -911,6 +913,7 @@ const (
|
|
IPV6_V6ONLY = 0x1b
|
|
IPV6_VERSION = 0x60
|
|
IPV6_VERSION_MASK = 0xf0
|
|
+ IPV6_VLAN_PCP = 0x4b
|
|
IP_ADD_MEMBERSHIP = 0xc
|
|
IP_ADD_SOURCE_MEMBERSHIP = 0x46
|
|
IP_BINDANY = 0x18
|
|
@@ -989,8 +992,12 @@ const (
|
|
IP_TOS = 0x3
|
|
IP_TTL = 0x4
|
|
IP_UNBLOCK_SOURCE = 0x49
|
|
+ IP_VLAN_PCP = 0x4b
|
|
ISIG = 0x80
|
|
ISTRIP = 0x20
|
|
+ ITIMER_PROF = 0x2
|
|
+ ITIMER_REAL = 0x0
|
|
+ ITIMER_VIRTUAL = 0x1
|
|
IXANY = 0x800
|
|
IXOFF = 0x400
|
|
IXON = 0x200
|
|
@@ -1000,7 +1007,6 @@ const (
|
|
KERN_VERSION = 0x4
|
|
LOCAL_CONNWAIT = 0x4
|
|
LOCAL_CREDS = 0x2
|
|
- LOCAL_CREDS_PERSISTENT = 0x3
|
|
LOCAL_PEERCRED = 0x1
|
|
LOCAL_VENDOR = 0x80000000
|
|
LOCK_EX = 0x2
|
|
@@ -1180,6 +1186,8 @@ const (
|
|
O_NONBLOCK = 0x4
|
|
O_RDONLY = 0x0
|
|
O_RDWR = 0x2
|
|
+ O_RESOLVE_BENEATH = 0x800000
|
|
+ O_SEARCH = 0x40000
|
|
O_SHLOCK = 0x10
|
|
O_SYNC = 0x80
|
|
O_TRUNC = 0x400
|
|
@@ -1190,6 +1198,10 @@ const (
|
|
PARMRK = 0x8
|
|
PARODD = 0x2000
|
|
PENDIN = 0x20000000
|
|
+ PIOD_READ_D = 0x1
|
|
+ PIOD_READ_I = 0x3
|
|
+ PIOD_WRITE_D = 0x2
|
|
+ PIOD_WRITE_I = 0x4
|
|
PRIO_PGRP = 0x1
|
|
PRIO_PROCESS = 0x0
|
|
PRIO_USER = 0x2
|
|
@@ -1197,6 +1209,51 @@ const (
|
|
PROT_NONE = 0x0
|
|
PROT_READ = 0x1
|
|
PROT_WRITE = 0x2
|
|
+ PTRACE_DEFAULT = 0x1
|
|
+ PTRACE_EXEC = 0x1
|
|
+ PTRACE_FORK = 0x8
|
|
+ PTRACE_LWP = 0x10
|
|
+ PTRACE_SCE = 0x2
|
|
+ PTRACE_SCX = 0x4
|
|
+ PTRACE_SYSCALL = 0x6
|
|
+ PTRACE_VFORK = 0x20
|
|
+ PT_ATTACH = 0xa
|
|
+ PT_CLEARSTEP = 0x10
|
|
+ PT_CONTINUE = 0x7
|
|
+ PT_DETACH = 0xb
|
|
+ PT_FIRSTMACH = 0x40
|
|
+ PT_FOLLOW_FORK = 0x17
|
|
+ PT_GETDBREGS = 0x25
|
|
+ PT_GETFPREGS = 0x23
|
|
+ PT_GETLWPLIST = 0xf
|
|
+ PT_GETNUMLWPS = 0xe
|
|
+ PT_GETREGS = 0x21
|
|
+ PT_GET_EVENT_MASK = 0x19
|
|
+ PT_GET_SC_ARGS = 0x1b
|
|
+ PT_GET_SC_RET = 0x1c
|
|
+ PT_IO = 0xc
|
|
+ PT_KILL = 0x8
|
|
+ PT_LWPINFO = 0xd
|
|
+ PT_LWP_EVENTS = 0x18
|
|
+ PT_READ_D = 0x2
|
|
+ PT_READ_I = 0x1
|
|
+ PT_RESUME = 0x13
|
|
+ PT_SETDBREGS = 0x26
|
|
+ PT_SETFPREGS = 0x24
|
|
+ PT_SETREGS = 0x22
|
|
+ PT_SETSTEP = 0x11
|
|
+ PT_SET_EVENT_MASK = 0x1a
|
|
+ PT_STEP = 0x9
|
|
+ PT_SUSPEND = 0x12
|
|
+ PT_SYSCALL = 0x16
|
|
+ PT_TO_SCE = 0x14
|
|
+ PT_TO_SCX = 0x15
|
|
+ PT_TRACE_ME = 0x0
|
|
+ PT_VM_ENTRY = 0x29
|
|
+ PT_VM_TIMESTAMP = 0x28
|
|
+ PT_WRITE_D = 0x5
|
|
+ PT_WRITE_I = 0x4
|
|
+ P_ZONEID = 0xc
|
|
RLIMIT_AS = 0xa
|
|
RLIMIT_CORE = 0x4
|
|
RLIMIT_CPU = 0x0
|
|
@@ -1321,10 +1378,12 @@ const (
|
|
SIOCGHWADDR = 0xc020693e
|
|
SIOCGI2C = 0xc020693d
|
|
SIOCGIFADDR = 0xc0206921
|
|
+ SIOCGIFALIAS = 0xc044692d
|
|
SIOCGIFBRDADDR = 0xc0206923
|
|
SIOCGIFCAP = 0xc020691f
|
|
SIOCGIFCONF = 0xc0106924
|
|
SIOCGIFDESCR = 0xc020692a
|
|
+ SIOCGIFDOWNREASON = 0xc058699a
|
|
SIOCGIFDSTADDR = 0xc0206922
|
|
SIOCGIFFIB = 0xc020695c
|
|
SIOCGIFFLAGS = 0xc0206911
|
|
@@ -1415,6 +1474,7 @@ const (
|
|
SO_RCVBUF = 0x1002
|
|
SO_RCVLOWAT = 0x1004
|
|
SO_RCVTIMEO = 0x1006
|
|
+ SO_RERROR = 0x20000
|
|
SO_REUSEADDR = 0x4
|
|
SO_REUSEPORT = 0x200
|
|
SO_REUSEPORT_LB = 0x10000
|
|
@@ -1473,22 +1533,40 @@ const (
|
|
TCOFLUSH = 0x2
|
|
TCOOFF = 0x1
|
|
TCOON = 0x2
|
|
+ TCPOPT_EOL = 0x0
|
|
+ TCPOPT_FAST_OPEN = 0x22
|
|
+ TCPOPT_MAXSEG = 0x2
|
|
+ TCPOPT_NOP = 0x1
|
|
+ TCPOPT_PAD = 0x0
|
|
+ TCPOPT_SACK = 0x5
|
|
+ TCPOPT_SACK_PERMITTED = 0x4
|
|
+ TCPOPT_SIGNATURE = 0x13
|
|
+ TCPOPT_TIMESTAMP = 0x8
|
|
+ TCPOPT_WINDOW = 0x3
|
|
TCP_BBR_ACK_COMP_ALG = 0x448
|
|
+ TCP_BBR_ALGORITHM = 0x43b
|
|
TCP_BBR_DRAIN_INC_EXTRA = 0x43c
|
|
TCP_BBR_DRAIN_PG = 0x42e
|
|
TCP_BBR_EXTRA_GAIN = 0x449
|
|
+ TCP_BBR_EXTRA_STATE = 0x453
|
|
+ TCP_BBR_FLOOR_MIN_TSO = 0x454
|
|
+ TCP_BBR_HDWR_PACE = 0x451
|
|
+ TCP_BBR_HOLD_TARGET = 0x436
|
|
TCP_BBR_IWINTSO = 0x42b
|
|
TCP_BBR_LOWGAIN_FD = 0x436
|
|
TCP_BBR_LOWGAIN_HALF = 0x435
|
|
TCP_BBR_LOWGAIN_THRESH = 0x434
|
|
TCP_BBR_MAX_RTO = 0x439
|
|
TCP_BBR_MIN_RTO = 0x438
|
|
+ TCP_BBR_MIN_TOPACEOUT = 0x455
|
|
TCP_BBR_ONE_RETRAN = 0x431
|
|
TCP_BBR_PACE_CROSS = 0x442
|
|
TCP_BBR_PACE_DEL_TAR = 0x43f
|
|
+ TCP_BBR_PACE_OH = 0x435
|
|
TCP_BBR_PACE_PER_SEC = 0x43e
|
|
TCP_BBR_PACE_SEG_MAX = 0x440
|
|
TCP_BBR_PACE_SEG_MIN = 0x441
|
|
+ TCP_BBR_POLICER_DETECT = 0x457
|
|
TCP_BBR_PROBE_RTT_GAIN = 0x44d
|
|
TCP_BBR_PROBE_RTT_INT = 0x430
|
|
TCP_BBR_PROBE_RTT_LEN = 0x44e
|
|
@@ -1497,12 +1575,18 @@ const (
|
|
TCP_BBR_REC_OVER_HPTS = 0x43a
|
|
TCP_BBR_RETRAN_WTSO = 0x44b
|
|
TCP_BBR_RWND_IS_APP = 0x42f
|
|
+ TCP_BBR_SEND_IWND_IN_TSO = 0x44f
|
|
TCP_BBR_STARTUP_EXIT_EPOCH = 0x43d
|
|
TCP_BBR_STARTUP_LOSS_EXIT = 0x432
|
|
TCP_BBR_STARTUP_PG = 0x42d
|
|
+ TCP_BBR_TMR_PACE_OH = 0x448
|
|
+ TCP_BBR_TSLIMITS = 0x434
|
|
+ TCP_BBR_TSTMP_RAISES = 0x456
|
|
TCP_BBR_UNLIMITED = 0x43b
|
|
TCP_BBR_USEDEL_RATE = 0x437
|
|
TCP_BBR_USE_LOWGAIN = 0x433
|
|
+ TCP_BBR_USE_RACK_CHEAT = 0x450
|
|
+ TCP_BBR_UTTER_MAX_TSO = 0x452
|
|
TCP_CA_NAME_MAX = 0x10
|
|
TCP_CCALGOOPT = 0x41
|
|
TCP_CONGESTION = 0x40
|
|
@@ -1542,6 +1626,7 @@ const (
|
|
TCP_PCAP_OUT = 0x800
|
|
TCP_RACK_EARLY_RECOV = 0x423
|
|
TCP_RACK_EARLY_SEG = 0x424
|
|
+ TCP_RACK_GP_INCREASE = 0x446
|
|
TCP_RACK_IDLE_REDUCE_HIGH = 0x444
|
|
TCP_RACK_MIN_PACE = 0x445
|
|
TCP_RACK_MIN_PACE_SEG = 0x446
|
|
@@ -1555,7 +1640,6 @@ const (
|
|
TCP_RACK_PRR_SENDALOT = 0x421
|
|
TCP_RACK_REORD_FADE = 0x426
|
|
TCP_RACK_REORD_THRESH = 0x425
|
|
- TCP_RACK_SESS_CWV = 0x42a
|
|
TCP_RACK_TLP_INC_VAR = 0x429
|
|
TCP_RACK_TLP_REDUCE = 0x41c
|
|
TCP_RACK_TLP_THRESH = 0x427
|
|
@@ -1694,12 +1778,13 @@ const (
|
|
EIDRM = syscall.Errno(0x52)
|
|
EILSEQ = syscall.Errno(0x56)
|
|
EINPROGRESS = syscall.Errno(0x24)
|
|
+ EINTEGRITY = syscall.Errno(0x61)
|
|
EINTR = syscall.Errno(0x4)
|
|
EINVAL = syscall.Errno(0x16)
|
|
EIO = syscall.Errno(0x5)
|
|
EISCONN = syscall.Errno(0x38)
|
|
EISDIR = syscall.Errno(0x15)
|
|
- ELAST = syscall.Errno(0x60)
|
|
+ ELAST = syscall.Errno(0x61)
|
|
ELOOP = syscall.Errno(0x3e)
|
|
EMFILE = syscall.Errno(0x18)
|
|
EMLINK = syscall.Errno(0x1f)
|
|
@@ -1842,7 +1927,7 @@ var errorList = [...]struct {
|
|
{32, "EPIPE", "broken pipe"},
|
|
{33, "EDOM", "numerical argument out of domain"},
|
|
{34, "ERANGE", "result too large"},
|
|
- {35, "EAGAIN", "resource temporarily unavailable"},
|
|
+ {35, "EWOULDBLOCK", "resource temporarily unavailable"},
|
|
{36, "EINPROGRESS", "operation now in progress"},
|
|
{37, "EALREADY", "operation already in progress"},
|
|
{38, "ENOTSOCK", "socket operation on non-socket"},
|
|
@@ -1904,6 +1989,7 @@ var errorList = [...]struct {
|
|
{94, "ECAPMODE", "not permitted in capability mode"},
|
|
{95, "ENOTRECOVERABLE", "state not recoverable"},
|
|
{96, "EOWNERDEAD", "previous owner died"},
|
|
+ {97, "EINTEGRITY", "integrity check failed"},
|
|
}
|
|
|
|
// Signal table
|
|
diff --git a/vendor/golang.org/x/sys/unix/zerrors_freebsd_riscv64.go b/vendor/golang.org/x/sys/unix/zerrors_freebsd_riscv64.go
|
|
new file mode 100644
|
|
index 0000000..341b4d9
|
|
--- /dev/null
|
|
+++ b/vendor/golang.org/x/sys/unix/zerrors_freebsd_riscv64.go
|
|
@@ -0,0 +1,2148 @@
|
|
+// mkerrors.sh -m64
|
|
+// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
+
|
|
+//go:build riscv64 && freebsd
|
|
+// +build riscv64,freebsd
|
|
+
|
|
+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
|
+// cgo -godefs -- -m64 _const.go
|
|
+
|
|
+package unix
|
|
+
|
|
+import "syscall"
|
|
+
|
|
+const (
|
|
+ AF_APPLETALK = 0x10
|
|
+ AF_ARP = 0x23
|
|
+ AF_ATM = 0x1e
|
|
+ AF_BLUETOOTH = 0x24
|
|
+ AF_CCITT = 0xa
|
|
+ AF_CHAOS = 0x5
|
|
+ AF_CNT = 0x15
|
|
+ AF_COIP = 0x14
|
|
+ AF_DATAKIT = 0x9
|
|
+ AF_DECnet = 0xc
|
|
+ AF_DLI = 0xd
|
|
+ AF_E164 = 0x1a
|
|
+ AF_ECMA = 0x8
|
|
+ AF_HYLINK = 0xf
|
|
+ AF_HYPERV = 0x2b
|
|
+ AF_IEEE80211 = 0x25
|
|
+ AF_IMPLINK = 0x3
|
|
+ AF_INET = 0x2
|
|
+ AF_INET6 = 0x1c
|
|
+ AF_INET6_SDP = 0x2a
|
|
+ AF_INET_SDP = 0x28
|
|
+ AF_IPX = 0x17
|
|
+ AF_ISDN = 0x1a
|
|
+ AF_ISO = 0x7
|
|
+ AF_LAT = 0xe
|
|
+ AF_LINK = 0x12
|
|
+ AF_LOCAL = 0x1
|
|
+ AF_MAX = 0x2b
|
|
+ AF_NATM = 0x1d
|
|
+ AF_NETBIOS = 0x6
|
|
+ AF_NETGRAPH = 0x20
|
|
+ AF_OSI = 0x7
|
|
+ AF_PUP = 0x4
|
|
+ AF_ROUTE = 0x11
|
|
+ AF_SCLUSTER = 0x22
|
|
+ AF_SIP = 0x18
|
|
+ AF_SLOW = 0x21
|
|
+ AF_SNA = 0xb
|
|
+ AF_UNIX = 0x1
|
|
+ AF_UNSPEC = 0x0
|
|
+ AF_VENDOR00 = 0x27
|
|
+ AF_VENDOR01 = 0x29
|
|
+ AF_VENDOR03 = 0x2d
|
|
+ AF_VENDOR04 = 0x2f
|
|
+ AF_VENDOR05 = 0x31
|
|
+ AF_VENDOR06 = 0x33
|
|
+ AF_VENDOR07 = 0x35
|
|
+ AF_VENDOR08 = 0x37
|
|
+ AF_VENDOR09 = 0x39
|
|
+ AF_VENDOR10 = 0x3b
|
|
+ AF_VENDOR11 = 0x3d
|
|
+ AF_VENDOR12 = 0x3f
|
|
+ AF_VENDOR13 = 0x41
|
|
+ AF_VENDOR14 = 0x43
|
|
+ AF_VENDOR15 = 0x45
|
|
+ AF_VENDOR16 = 0x47
|
|
+ AF_VENDOR17 = 0x49
|
|
+ AF_VENDOR18 = 0x4b
|
|
+ AF_VENDOR19 = 0x4d
|
|
+ AF_VENDOR20 = 0x4f
|
|
+ AF_VENDOR21 = 0x51
|
|
+ AF_VENDOR22 = 0x53
|
|
+ AF_VENDOR23 = 0x55
|
|
+ AF_VENDOR24 = 0x57
|
|
+ AF_VENDOR25 = 0x59
|
|
+ AF_VENDOR26 = 0x5b
|
|
+ AF_VENDOR27 = 0x5d
|
|
+ AF_VENDOR28 = 0x5f
|
|
+ AF_VENDOR29 = 0x61
|
|
+ AF_VENDOR30 = 0x63
|
|
+ AF_VENDOR31 = 0x65
|
|
+ AF_VENDOR32 = 0x67
|
|
+ AF_VENDOR33 = 0x69
|
|
+ AF_VENDOR34 = 0x6b
|
|
+ AF_VENDOR35 = 0x6d
|
|
+ AF_VENDOR36 = 0x6f
|
|
+ AF_VENDOR37 = 0x71
|
|
+ AF_VENDOR38 = 0x73
|
|
+ AF_VENDOR39 = 0x75
|
|
+ AF_VENDOR40 = 0x77
|
|
+ AF_VENDOR41 = 0x79
|
|
+ AF_VENDOR42 = 0x7b
|
|
+ AF_VENDOR43 = 0x7d
|
|
+ AF_VENDOR44 = 0x7f
|
|
+ AF_VENDOR45 = 0x81
|
|
+ AF_VENDOR46 = 0x83
|
|
+ AF_VENDOR47 = 0x85
|
|
+ ALTWERASE = 0x200
|
|
+ B0 = 0x0
|
|
+ B1000000 = 0xf4240
|
|
+ B110 = 0x6e
|
|
+ B115200 = 0x1c200
|
|
+ B1200 = 0x4b0
|
|
+ B134 = 0x86
|
|
+ B14400 = 0x3840
|
|
+ B150 = 0x96
|
|
+ B1500000 = 0x16e360
|
|
+ B1800 = 0x708
|
|
+ B19200 = 0x4b00
|
|
+ B200 = 0xc8
|
|
+ B2000000 = 0x1e8480
|
|
+ B230400 = 0x38400
|
|
+ B2400 = 0x960
|
|
+ B2500000 = 0x2625a0
|
|
+ B28800 = 0x7080
|
|
+ B300 = 0x12c
|
|
+ B3000000 = 0x2dc6c0
|
|
+ B3500000 = 0x3567e0
|
|
+ B38400 = 0x9600
|
|
+ B4000000 = 0x3d0900
|
|
+ B460800 = 0x70800
|
|
+ B4800 = 0x12c0
|
|
+ B50 = 0x32
|
|
+ B500000 = 0x7a120
|
|
+ B57600 = 0xe100
|
|
+ B600 = 0x258
|
|
+ B7200 = 0x1c20
|
|
+ B75 = 0x4b
|
|
+ B76800 = 0x12c00
|
|
+ B921600 = 0xe1000
|
|
+ B9600 = 0x2580
|
|
+ BIOCFEEDBACK = 0x8004427c
|
|
+ BIOCFLUSH = 0x20004268
|
|
+ BIOCGBLEN = 0x40044266
|
|
+ BIOCGDIRECTION = 0x40044276
|
|
+ BIOCGDLT = 0x4004426a
|
|
+ BIOCGDLTLIST = 0xc0104279
|
|
+ BIOCGETBUFMODE = 0x4004427d
|
|
+ BIOCGETIF = 0x4020426b
|
|
+ BIOCGETZMAX = 0x4008427f
|
|
+ BIOCGHDRCMPLT = 0x40044274
|
|
+ BIOCGRSIG = 0x40044272
|
|
+ BIOCGRTIMEOUT = 0x4010426e
|
|
+ BIOCGSEESENT = 0x40044276
|
|
+ BIOCGSTATS = 0x4008426f
|
|
+ BIOCGTSTAMP = 0x40044283
|
|
+ BIOCIMMEDIATE = 0x80044270
|
|
+ BIOCLOCK = 0x2000427a
|
|
+ BIOCPROMISC = 0x20004269
|
|
+ BIOCROTZBUF = 0x40184280
|
|
+ BIOCSBLEN = 0xc0044266
|
|
+ BIOCSDIRECTION = 0x80044277
|
|
+ BIOCSDLT = 0x80044278
|
|
+ BIOCSETBUFMODE = 0x8004427e
|
|
+ BIOCSETF = 0x80104267
|
|
+ BIOCSETFNR = 0x80104282
|
|
+ BIOCSETIF = 0x8020426c
|
|
+ BIOCSETVLANPCP = 0x80044285
|
|
+ BIOCSETWF = 0x8010427b
|
|
+ BIOCSETZBUF = 0x80184281
|
|
+ BIOCSHDRCMPLT = 0x80044275
|
|
+ BIOCSRSIG = 0x80044273
|
|
+ BIOCSRTIMEOUT = 0x8010426d
|
|
+ BIOCSSEESENT = 0x80044277
|
|
+ BIOCSTSTAMP = 0x80044284
|
|
+ BIOCVERSION = 0x40044271
|
|
+ BPF_A = 0x10
|
|
+ BPF_ABS = 0x20
|
|
+ BPF_ADD = 0x0
|
|
+ BPF_ALIGNMENT = 0x8
|
|
+ BPF_ALU = 0x4
|
|
+ BPF_AND = 0x50
|
|
+ BPF_B = 0x10
|
|
+ BPF_BUFMODE_BUFFER = 0x1
|
|
+ BPF_BUFMODE_ZBUF = 0x2
|
|
+ BPF_DIV = 0x30
|
|
+ BPF_H = 0x8
|
|
+ BPF_IMM = 0x0
|
|
+ BPF_IND = 0x40
|
|
+ BPF_JA = 0x0
|
|
+ BPF_JEQ = 0x10
|
|
+ BPF_JGE = 0x30
|
|
+ BPF_JGT = 0x20
|
|
+ BPF_JMP = 0x5
|
|
+ BPF_JSET = 0x40
|
|
+ BPF_K = 0x0
|
|
+ BPF_LD = 0x0
|
|
+ BPF_LDX = 0x1
|
|
+ BPF_LEN = 0x80
|
|
+ BPF_LSH = 0x60
|
|
+ BPF_MAJOR_VERSION = 0x1
|
|
+ BPF_MAXBUFSIZE = 0x80000
|
|
+ BPF_MAXINSNS = 0x200
|
|
+ BPF_MEM = 0x60
|
|
+ BPF_MEMWORDS = 0x10
|
|
+ BPF_MINBUFSIZE = 0x20
|
|
+ BPF_MINOR_VERSION = 0x1
|
|
+ BPF_MISC = 0x7
|
|
+ BPF_MOD = 0x90
|
|
+ BPF_MSH = 0xa0
|
|
+ BPF_MUL = 0x20
|
|
+ BPF_NEG = 0x80
|
|
+ BPF_OR = 0x40
|
|
+ BPF_RELEASE = 0x30bb6
|
|
+ BPF_RET = 0x6
|
|
+ BPF_RSH = 0x70
|
|
+ BPF_ST = 0x2
|
|
+ BPF_STX = 0x3
|
|
+ BPF_SUB = 0x10
|
|
+ BPF_TAX = 0x0
|
|
+ BPF_TXA = 0x80
|
|
+ BPF_T_BINTIME = 0x2
|
|
+ BPF_T_BINTIME_FAST = 0x102
|
|
+ BPF_T_BINTIME_MONOTONIC = 0x202
|
|
+ BPF_T_BINTIME_MONOTONIC_FAST = 0x302
|
|
+ BPF_T_FAST = 0x100
|
|
+ BPF_T_FLAG_MASK = 0x300
|
|
+ BPF_T_FORMAT_MASK = 0x3
|
|
+ BPF_T_MICROTIME = 0x0
|
|
+ BPF_T_MICROTIME_FAST = 0x100
|
|
+ BPF_T_MICROTIME_MONOTONIC = 0x200
|
|
+ BPF_T_MICROTIME_MONOTONIC_FAST = 0x300
|
|
+ BPF_T_MONOTONIC = 0x200
|
|
+ BPF_T_MONOTONIC_FAST = 0x300
|
|
+ BPF_T_NANOTIME = 0x1
|
|
+ BPF_T_NANOTIME_FAST = 0x101
|
|
+ BPF_T_NANOTIME_MONOTONIC = 0x201
|
|
+ BPF_T_NANOTIME_MONOTONIC_FAST = 0x301
|
|
+ BPF_T_NONE = 0x3
|
|
+ BPF_T_NORMAL = 0x0
|
|
+ BPF_W = 0x0
|
|
+ BPF_X = 0x8
|
|
+ BPF_XOR = 0xa0
|
|
+ BRKINT = 0x2
|
|
+ CAP_ACCEPT = 0x200000020000000
|
|
+ CAP_ACL_CHECK = 0x400000000010000
|
|
+ CAP_ACL_DELETE = 0x400000000020000
|
|
+ CAP_ACL_GET = 0x400000000040000
|
|
+ CAP_ACL_SET = 0x400000000080000
|
|
+ CAP_ALL0 = 0x20007ffffffffff
|
|
+ CAP_ALL1 = 0x4000000001fffff
|
|
+ CAP_BIND = 0x200000040000000
|
|
+ CAP_BINDAT = 0x200008000000400
|
|
+ CAP_CHFLAGSAT = 0x200000000001400
|
|
+ CAP_CONNECT = 0x200000080000000
|
|
+ CAP_CONNECTAT = 0x200010000000400
|
|
+ CAP_CREATE = 0x200000000000040
|
|
+ CAP_EVENT = 0x400000000000020
|
|
+ CAP_EXTATTR_DELETE = 0x400000000001000
|
|
+ CAP_EXTATTR_GET = 0x400000000002000
|
|
+ CAP_EXTATTR_LIST = 0x400000000004000
|
|
+ CAP_EXTATTR_SET = 0x400000000008000
|
|
+ CAP_FCHDIR = 0x200000000000800
|
|
+ CAP_FCHFLAGS = 0x200000000001000
|
|
+ CAP_FCHMOD = 0x200000000002000
|
|
+ CAP_FCHMODAT = 0x200000000002400
|
|
+ CAP_FCHOWN = 0x200000000004000
|
|
+ CAP_FCHOWNAT = 0x200000000004400
|
|
+ CAP_FCNTL = 0x200000000008000
|
|
+ CAP_FCNTL_ALL = 0x78
|
|
+ CAP_FCNTL_GETFL = 0x8
|
|
+ CAP_FCNTL_GETOWN = 0x20
|
|
+ CAP_FCNTL_SETFL = 0x10
|
|
+ CAP_FCNTL_SETOWN = 0x40
|
|
+ CAP_FEXECVE = 0x200000000000080
|
|
+ CAP_FLOCK = 0x200000000010000
|
|
+ CAP_FPATHCONF = 0x200000000020000
|
|
+ CAP_FSCK = 0x200000000040000
|
|
+ CAP_FSTAT = 0x200000000080000
|
|
+ CAP_FSTATAT = 0x200000000080400
|
|
+ CAP_FSTATFS = 0x200000000100000
|
|
+ CAP_FSYNC = 0x200000000000100
|
|
+ CAP_FTRUNCATE = 0x200000000000200
|
|
+ CAP_FUTIMES = 0x200000000200000
|
|
+ CAP_FUTIMESAT = 0x200000000200400
|
|
+ CAP_GETPEERNAME = 0x200000100000000
|
|
+ CAP_GETSOCKNAME = 0x200000200000000
|
|
+ CAP_GETSOCKOPT = 0x200000400000000
|
|
+ CAP_IOCTL = 0x400000000000080
|
|
+ CAP_IOCTLS_ALL = 0x7fffffffffffffff
|
|
+ CAP_KQUEUE = 0x400000000100040
|
|
+ CAP_KQUEUE_CHANGE = 0x400000000100000
|
|
+ CAP_KQUEUE_EVENT = 0x400000000000040
|
|
+ CAP_LINKAT_SOURCE = 0x200020000000400
|
|
+ CAP_LINKAT_TARGET = 0x200000000400400
|
|
+ CAP_LISTEN = 0x200000800000000
|
|
+ CAP_LOOKUP = 0x200000000000400
|
|
+ CAP_MAC_GET = 0x400000000000001
|
|
+ CAP_MAC_SET = 0x400000000000002
|
|
+ CAP_MKDIRAT = 0x200000000800400
|
|
+ CAP_MKFIFOAT = 0x200000001000400
|
|
+ CAP_MKNODAT = 0x200000002000400
|
|
+ CAP_MMAP = 0x200000000000010
|
|
+ CAP_MMAP_R = 0x20000000000001d
|
|
+ CAP_MMAP_RW = 0x20000000000001f
|
|
+ CAP_MMAP_RWX = 0x20000000000003f
|
|
+ CAP_MMAP_RX = 0x20000000000003d
|
|
+ CAP_MMAP_W = 0x20000000000001e
|
|
+ CAP_MMAP_WX = 0x20000000000003e
|
|
+ CAP_MMAP_X = 0x20000000000003c
|
|
+ CAP_PDGETPID = 0x400000000000200
|
|
+ CAP_PDKILL = 0x400000000000800
|
|
+ CAP_PDWAIT = 0x400000000000400
|
|
+ CAP_PEELOFF = 0x200001000000000
|
|
+ CAP_POLL_EVENT = 0x400000000000020
|
|
+ CAP_PREAD = 0x20000000000000d
|
|
+ CAP_PWRITE = 0x20000000000000e
|
|
+ CAP_READ = 0x200000000000001
|
|
+ CAP_RECV = 0x200000000000001
|
|
+ CAP_RENAMEAT_SOURCE = 0x200000004000400
|
|
+ CAP_RENAMEAT_TARGET = 0x200040000000400
|
|
+ CAP_RIGHTS_VERSION = 0x0
|
|
+ CAP_RIGHTS_VERSION_00 = 0x0
|
|
+ CAP_SEEK = 0x20000000000000c
|
|
+ CAP_SEEK_TELL = 0x200000000000004
|
|
+ CAP_SEM_GETVALUE = 0x400000000000004
|
|
+ CAP_SEM_POST = 0x400000000000008
|
|
+ CAP_SEM_WAIT = 0x400000000000010
|
|
+ CAP_SEND = 0x200000000000002
|
|
+ CAP_SETSOCKOPT = 0x200002000000000
|
|
+ CAP_SHUTDOWN = 0x200004000000000
|
|
+ CAP_SOCK_CLIENT = 0x200007780000003
|
|
+ CAP_SOCK_SERVER = 0x200007f60000003
|
|
+ CAP_SYMLINKAT = 0x200000008000400
|
|
+ CAP_TTYHOOK = 0x400000000000100
|
|
+ CAP_UNLINKAT = 0x200000010000400
|
|
+ CAP_UNUSED0_44 = 0x200080000000000
|
|
+ CAP_UNUSED0_57 = 0x300000000000000
|
|
+ CAP_UNUSED1_22 = 0x400000000200000
|
|
+ CAP_UNUSED1_57 = 0x500000000000000
|
|
+ CAP_WRITE = 0x200000000000002
|
|
+ CFLUSH = 0xf
|
|
+ CLOCAL = 0x8000
|
|
+ CLOCK_BOOTTIME = 0x5
|
|
+ CLOCK_MONOTONIC = 0x4
|
|
+ CLOCK_MONOTONIC_COARSE = 0xc
|
|
+ CLOCK_MONOTONIC_FAST = 0xc
|
|
+ CLOCK_MONOTONIC_PRECISE = 0xb
|
|
+ CLOCK_PROCESS_CPUTIME_ID = 0xf
|
|
+ CLOCK_PROF = 0x2
|
|
+ CLOCK_REALTIME = 0x0
|
|
+ CLOCK_REALTIME_COARSE = 0xa
|
|
+ CLOCK_REALTIME_FAST = 0xa
|
|
+ CLOCK_REALTIME_PRECISE = 0x9
|
|
+ CLOCK_SECOND = 0xd
|
|
+ CLOCK_THREAD_CPUTIME_ID = 0xe
|
|
+ CLOCK_UPTIME = 0x5
|
|
+ CLOCK_UPTIME_FAST = 0x8
|
|
+ CLOCK_UPTIME_PRECISE = 0x7
|
|
+ CLOCK_VIRTUAL = 0x1
|
|
+ CPUSTATES = 0x5
|
|
+ CP_IDLE = 0x4
|
|
+ CP_INTR = 0x3
|
|
+ CP_NICE = 0x1
|
|
+ CP_SYS = 0x2
|
|
+ CP_USER = 0x0
|
|
+ CREAD = 0x800
|
|
+ CRTSCTS = 0x30000
|
|
+ CS5 = 0x0
|
|
+ CS6 = 0x100
|
|
+ CS7 = 0x200
|
|
+ CS8 = 0x300
|
|
+ CSIZE = 0x300
|
|
+ CSTART = 0x11
|
|
+ CSTATUS = 0x14
|
|
+ CSTOP = 0x13
|
|
+ CSTOPB = 0x400
|
|
+ CSUSP = 0x1a
|
|
+ CTL_HW = 0x6
|
|
+ CTL_KERN = 0x1
|
|
+ CTL_MAXNAME = 0x18
|
|
+ CTL_NET = 0x4
|
|
+ DIOCGATTR = 0xc148648e
|
|
+ DIOCGDELETE = 0x80106488
|
|
+ DIOCGFLUSH = 0x20006487
|
|
+ DIOCGFWHEADS = 0x40046483
|
|
+ DIOCGFWSECTORS = 0x40046482
|
|
+ DIOCGIDENT = 0x41006489
|
|
+ DIOCGKERNELDUMP = 0xc0986492
|
|
+ DIOCGMEDIASIZE = 0x40086481
|
|
+ DIOCGPHYSPATH = 0x4400648d
|
|
+ DIOCGPROVIDERNAME = 0x4400648a
|
|
+ DIOCGSECTORSIZE = 0x40046480
|
|
+ DIOCGSTRIPEOFFSET = 0x4008648c
|
|
+ DIOCGSTRIPESIZE = 0x4008648b
|
|
+ DIOCSKERNELDUMP = 0x80986491
|
|
+ DIOCSKERNELDUMP_FREEBSD11 = 0x80046485
|
|
+ DIOCSKERNELDUMP_FREEBSD12 = 0x80506490
|
|
+ DIOCZONECMD = 0xc080648f
|
|
+ DLT_A429 = 0xb8
|
|
+ DLT_A653_ICM = 0xb9
|
|
+ DLT_AIRONET_HEADER = 0x78
|
|
+ DLT_AOS = 0xde
|
|
+ DLT_APPLE_IP_OVER_IEEE1394 = 0x8a
|
|
+ DLT_ARCNET = 0x7
|
|
+ DLT_ARCNET_LINUX = 0x81
|
|
+ DLT_ATM_CLIP = 0x13
|
|
+ DLT_ATM_RFC1483 = 0xb
|
|
+ DLT_AURORA = 0x7e
|
|
+ DLT_AX25 = 0x3
|
|
+ DLT_AX25_KISS = 0xca
|
|
+ DLT_BACNET_MS_TP = 0xa5
|
|
+ DLT_BLUETOOTH_BREDR_BB = 0xff
|
|
+ DLT_BLUETOOTH_HCI_H4 = 0xbb
|
|
+ DLT_BLUETOOTH_HCI_H4_WITH_PHDR = 0xc9
|
|
+ DLT_BLUETOOTH_LE_LL = 0xfb
|
|
+ DLT_BLUETOOTH_LE_LL_WITH_PHDR = 0x100
|
|
+ DLT_BLUETOOTH_LINUX_MONITOR = 0xfe
|
|
+ DLT_CAN20B = 0xbe
|
|
+ DLT_CAN_SOCKETCAN = 0xe3
|
|
+ DLT_CHAOS = 0x5
|
|
+ DLT_CHDLC = 0x68
|
|
+ DLT_CISCO_IOS = 0x76
|
|
+ DLT_CLASS_NETBSD_RAWAF = 0x2240000
|
|
+ DLT_C_HDLC = 0x68
|
|
+ DLT_C_HDLC_WITH_DIR = 0xcd
|
|
+ DLT_DBUS = 0xe7
|
|
+ DLT_DECT = 0xdd
|
|
+ DLT_DISPLAYPORT_AUX = 0x113
|
|
+ DLT_DOCSIS = 0x8f
|
|
+ DLT_DOCSIS31_XRA31 = 0x111
|
|
+ DLT_DVB_CI = 0xeb
|
|
+ DLT_ECONET = 0x73
|
|
+ DLT_EN10MB = 0x1
|
|
+ DLT_EN3MB = 0x2
|
|
+ DLT_ENC = 0x6d
|
|
+ DLT_EPON = 0x103
|
|
+ DLT_ERF = 0xc5
|
|
+ DLT_ERF_ETH = 0xaf
|
|
+ DLT_ERF_POS = 0xb0
|
|
+ DLT_ETHERNET_MPACKET = 0x112
|
|
+ DLT_FC_2 = 0xe0
|
|
+ DLT_FC_2_WITH_FRAME_DELIMS = 0xe1
|
|
+ DLT_FDDI = 0xa
|
|
+ DLT_FLEXRAY = 0xd2
|
|
+ DLT_FRELAY = 0x6b
|
|
+ DLT_FRELAY_WITH_DIR = 0xce
|
|
+ DLT_GCOM_SERIAL = 0xad
|
|
+ DLT_GCOM_T1E1 = 0xac
|
|
+ DLT_GPF_F = 0xab
|
|
+ DLT_GPF_T = 0xaa
|
|
+ DLT_GPRS_LLC = 0xa9
|
|
+ DLT_GSMTAP_ABIS = 0xda
|
|
+ DLT_GSMTAP_UM = 0xd9
|
|
+ DLT_IBM_SN = 0x92
|
|
+ DLT_IBM_SP = 0x91
|
|
+ DLT_IEEE802 = 0x6
|
|
+ DLT_IEEE802_11 = 0x69
|
|
+ DLT_IEEE802_11_RADIO = 0x7f
|
|
+ DLT_IEEE802_11_RADIO_AVS = 0xa3
|
|
+ DLT_IEEE802_15_4 = 0xc3
|
|
+ DLT_IEEE802_15_4_LINUX = 0xbf
|
|
+ DLT_IEEE802_15_4_NOFCS = 0xe6
|
|
+ DLT_IEEE802_15_4_NONASK_PHY = 0xd7
|
|
+ DLT_IEEE802_16_MAC_CPS = 0xbc
|
|
+ DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1
|
|
+ DLT_INFINIBAND = 0xf7
|
|
+ DLT_IPFILTER = 0x74
|
|
+ DLT_IPMB_KONTRON = 0xc7
|
|
+ DLT_IPMB_LINUX = 0xd1
|
|
+ DLT_IPMI_HPM_2 = 0x104
|
|
+ DLT_IPNET = 0xe2
|
|
+ DLT_IPOIB = 0xf2
|
|
+ DLT_IPV4 = 0xe4
|
|
+ DLT_IPV6 = 0xe5
|
|
+ DLT_IP_OVER_FC = 0x7a
|
|
+ DLT_ISO_14443 = 0x108
|
|
+ DLT_JUNIPER_ATM1 = 0x89
|
|
+ DLT_JUNIPER_ATM2 = 0x87
|
|
+ DLT_JUNIPER_ATM_CEMIC = 0xee
|
|
+ DLT_JUNIPER_CHDLC = 0xb5
|
|
+ DLT_JUNIPER_ES = 0x84
|
|
+ DLT_JUNIPER_ETHER = 0xb2
|
|
+ DLT_JUNIPER_FIBRECHANNEL = 0xea
|
|
+ DLT_JUNIPER_FRELAY = 0xb4
|
|
+ DLT_JUNIPER_GGSN = 0x85
|
|
+ DLT_JUNIPER_ISM = 0xc2
|
|
+ DLT_JUNIPER_MFR = 0x86
|
|
+ DLT_JUNIPER_MLFR = 0x83
|
|
+ DLT_JUNIPER_MLPPP = 0x82
|
|
+ DLT_JUNIPER_MONITOR = 0xa4
|
|
+ DLT_JUNIPER_PIC_PEER = 0xae
|
|
+ DLT_JUNIPER_PPP = 0xb3
|
|
+ DLT_JUNIPER_PPPOE = 0xa7
|
|
+ DLT_JUNIPER_PPPOE_ATM = 0xa8
|
|
+ DLT_JUNIPER_SERVICES = 0x88
|
|
+ DLT_JUNIPER_SRX_E2E = 0xe9
|
|
+ DLT_JUNIPER_ST = 0xc8
|
|
+ DLT_JUNIPER_VP = 0xb7
|
|
+ DLT_JUNIPER_VS = 0xe8
|
|
+ DLT_LAPB_WITH_DIR = 0xcf
|
|
+ DLT_LAPD = 0xcb
|
|
+ DLT_LIN = 0xd4
|
|
+ DLT_LINUX_EVDEV = 0xd8
|
|
+ DLT_LINUX_IRDA = 0x90
|
|
+ DLT_LINUX_LAPD = 0xb1
|
|
+ DLT_LINUX_PPP_WITHDIRECTION = 0xa6
|
|
+ DLT_LINUX_SLL = 0x71
|
|
+ DLT_LINUX_SLL2 = 0x114
|
|
+ DLT_LOOP = 0x6c
|
|
+ DLT_LORATAP = 0x10e
|
|
+ DLT_LTALK = 0x72
|
|
+ DLT_MATCHING_MAX = 0x114
|
|
+ DLT_MATCHING_MIN = 0x68
|
|
+ DLT_MFR = 0xb6
|
|
+ DLT_MOST = 0xd3
|
|
+ DLT_MPEG_2_TS = 0xf3
|
|
+ DLT_MPLS = 0xdb
|
|
+ DLT_MTP2 = 0x8c
|
|
+ DLT_MTP2_WITH_PHDR = 0x8b
|
|
+ DLT_MTP3 = 0x8d
|
|
+ DLT_MUX27010 = 0xec
|
|
+ DLT_NETANALYZER = 0xf0
|
|
+ DLT_NETANALYZER_TRANSPARENT = 0xf1
|
|
+ DLT_NETLINK = 0xfd
|
|
+ DLT_NFC_LLCP = 0xf5
|
|
+ DLT_NFLOG = 0xef
|
|
+ DLT_NG40 = 0xf4
|
|
+ DLT_NORDIC_BLE = 0x110
|
|
+ DLT_NULL = 0x0
|
|
+ DLT_OPENFLOW = 0x10b
|
|
+ DLT_PCI_EXP = 0x7d
|
|
+ DLT_PFLOG = 0x75
|
|
+ DLT_PFSYNC = 0x79
|
|
+ DLT_PKTAP = 0x102
|
|
+ DLT_PPI = 0xc0
|
|
+ DLT_PPP = 0x9
|
|
+ DLT_PPP_BSDOS = 0xe
|
|
+ DLT_PPP_ETHER = 0x33
|
|
+ DLT_PPP_PPPD = 0xa6
|
|
+ DLT_PPP_SERIAL = 0x32
|
|
+ DLT_PPP_WITH_DIR = 0xcc
|
|
+ DLT_PPP_WITH_DIRECTION = 0xa6
|
|
+ DLT_PRISM_HEADER = 0x77
|
|
+ DLT_PROFIBUS_DL = 0x101
|
|
+ DLT_PRONET = 0x4
|
|
+ DLT_RAIF1 = 0xc6
|
|
+ DLT_RAW = 0xc
|
|
+ DLT_RDS = 0x109
|
|
+ DLT_REDBACK_SMARTEDGE = 0x20
|
|
+ DLT_RIO = 0x7c
|
|
+ DLT_RTAC_SERIAL = 0xfa
|
|
+ DLT_SCCP = 0x8e
|
|
+ DLT_SCTP = 0xf8
|
|
+ DLT_SDLC = 0x10c
|
|
+ DLT_SITA = 0xc4
|
|
+ DLT_SLIP = 0x8
|
|
+ DLT_SLIP_BSDOS = 0xd
|
|
+ DLT_STANAG_5066_D_PDU = 0xed
|
|
+ DLT_SUNATM = 0x7b
|
|
+ DLT_SYMANTEC_FIREWALL = 0x63
|
|
+ DLT_TI_LLN_SNIFFER = 0x10d
|
|
+ DLT_TZSP = 0x80
|
|
+ DLT_USB = 0xba
|
|
+ DLT_USBPCAP = 0xf9
|
|
+ DLT_USB_DARWIN = 0x10a
|
|
+ DLT_USB_FREEBSD = 0xba
|
|
+ DLT_USB_LINUX = 0xbd
|
|
+ DLT_USB_LINUX_MMAPPED = 0xdc
|
|
+ DLT_USER0 = 0x93
|
|
+ DLT_USER1 = 0x94
|
|
+ DLT_USER10 = 0x9d
|
|
+ DLT_USER11 = 0x9e
|
|
+ DLT_USER12 = 0x9f
|
|
+ DLT_USER13 = 0xa0
|
|
+ DLT_USER14 = 0xa1
|
|
+ DLT_USER15 = 0xa2
|
|
+ DLT_USER2 = 0x95
|
|
+ DLT_USER3 = 0x96
|
|
+ DLT_USER4 = 0x97
|
|
+ DLT_USER5 = 0x98
|
|
+ DLT_USER6 = 0x99
|
|
+ DLT_USER7 = 0x9a
|
|
+ DLT_USER8 = 0x9b
|
|
+ DLT_USER9 = 0x9c
|
|
+ DLT_VSOCK = 0x10f
|
|
+ DLT_WATTSTOPPER_DLM = 0x107
|
|
+ DLT_WIHART = 0xdf
|
|
+ DLT_WIRESHARK_UPPER_PDU = 0xfc
|
|
+ DLT_X2E_SERIAL = 0xd5
|
|
+ DLT_X2E_XORAYA = 0xd6
|
|
+ DLT_ZWAVE_R1_R2 = 0x105
|
|
+ DLT_ZWAVE_R3 = 0x106
|
|
+ DT_BLK = 0x6
|
|
+ DT_CHR = 0x2
|
|
+ DT_DIR = 0x4
|
|
+ DT_FIFO = 0x1
|
|
+ DT_LNK = 0xa
|
|
+ DT_REG = 0x8
|
|
+ DT_SOCK = 0xc
|
|
+ DT_UNKNOWN = 0x0
|
|
+ DT_WHT = 0xe
|
|
+ ECHO = 0x8
|
|
+ ECHOCTL = 0x40
|
|
+ ECHOE = 0x2
|
|
+ ECHOK = 0x4
|
|
+ ECHOKE = 0x1
|
|
+ ECHONL = 0x10
|
|
+ ECHOPRT = 0x20
|
|
+ EHE_DEAD_PRIORITY = -0x1
|
|
+ EVFILT_AIO = -0x3
|
|
+ EVFILT_EMPTY = -0xd
|
|
+ EVFILT_FS = -0x9
|
|
+ EVFILT_LIO = -0xa
|
|
+ EVFILT_PROC = -0x5
|
|
+ EVFILT_PROCDESC = -0x8
|
|
+ EVFILT_READ = -0x1
|
|
+ EVFILT_SENDFILE = -0xc
|
|
+ EVFILT_SIGNAL = -0x6
|
|
+ EVFILT_SYSCOUNT = 0xd
|
|
+ EVFILT_TIMER = -0x7
|
|
+ EVFILT_USER = -0xb
|
|
+ EVFILT_VNODE = -0x4
|
|
+ EVFILT_WRITE = -0x2
|
|
+ EVNAMEMAP_NAME_SIZE = 0x40
|
|
+ EV_ADD = 0x1
|
|
+ EV_CLEAR = 0x20
|
|
+ EV_DELETE = 0x2
|
|
+ EV_DISABLE = 0x8
|
|
+ EV_DISPATCH = 0x80
|
|
+ EV_DROP = 0x1000
|
|
+ EV_ENABLE = 0x4
|
|
+ EV_EOF = 0x8000
|
|
+ EV_ERROR = 0x4000
|
|
+ EV_FLAG1 = 0x2000
|
|
+ EV_FLAG2 = 0x4000
|
|
+ EV_FORCEONESHOT = 0x100
|
|
+ EV_ONESHOT = 0x10
|
|
+ EV_RECEIPT = 0x40
|
|
+ EV_SYSFLAGS = 0xf000
|
|
+ EXTA = 0x4b00
|
|
+ EXTATTR_MAXNAMELEN = 0xff
|
|
+ EXTATTR_NAMESPACE_EMPTY = 0x0
|
|
+ EXTATTR_NAMESPACE_SYSTEM = 0x2
|
|
+ EXTATTR_NAMESPACE_USER = 0x1
|
|
+ EXTB = 0x9600
|
|
+ EXTPROC = 0x800
|
|
+ FD_CLOEXEC = 0x1
|
|
+ FD_NONE = -0xc8
|
|
+ FD_SETSIZE = 0x400
|
|
+ FLUSHO = 0x800000
|
|
+ F_ADD_SEALS = 0x13
|
|
+ F_CANCEL = 0x5
|
|
+ F_DUP2FD = 0xa
|
|
+ F_DUP2FD_CLOEXEC = 0x12
|
|
+ F_DUPFD = 0x0
|
|
+ F_DUPFD_CLOEXEC = 0x11
|
|
+ F_GETFD = 0x1
|
|
+ F_GETFL = 0x3
|
|
+ F_GETLK = 0xb
|
|
+ F_GETOWN = 0x5
|
|
+ F_GET_SEALS = 0x14
|
|
+ F_ISUNIONSTACK = 0x15
|
|
+ F_KINFO = 0x16
|
|
+ F_OGETLK = 0x7
|
|
+ F_OK = 0x0
|
|
+ F_OSETLK = 0x8
|
|
+ F_OSETLKW = 0x9
|
|
+ F_RDAHEAD = 0x10
|
|
+ F_RDLCK = 0x1
|
|
+ F_READAHEAD = 0xf
|
|
+ F_SEAL_GROW = 0x4
|
|
+ F_SEAL_SEAL = 0x1
|
|
+ F_SEAL_SHRINK = 0x2
|
|
+ F_SEAL_WRITE = 0x8
|
|
+ F_SETFD = 0x2
|
|
+ F_SETFL = 0x4
|
|
+ F_SETLK = 0xc
|
|
+ F_SETLKW = 0xd
|
|
+ F_SETLK_REMOTE = 0xe
|
|
+ F_SETOWN = 0x6
|
|
+ F_UNLCK = 0x2
|
|
+ F_UNLCKSYS = 0x4
|
|
+ F_WRLCK = 0x3
|
|
+ HUPCL = 0x4000
|
|
+ HW_MACHINE = 0x1
|
|
+ ICANON = 0x100
|
|
+ ICMP6_FILTER = 0x12
|
|
+ ICRNL = 0x100
|
|
+ IEXTEN = 0x400
|
|
+ IFAN_ARRIVAL = 0x0
|
|
+ IFAN_DEPARTURE = 0x1
|
|
+ IFCAP_WOL_MAGIC = 0x2000
|
|
+ IFF_ALLMULTI = 0x200
|
|
+ IFF_ALTPHYS = 0x4000
|
|
+ IFF_BROADCAST = 0x2
|
|
+ IFF_CANTCHANGE = 0x218f72
|
|
+ IFF_CANTCONFIG = 0x10000
|
|
+ IFF_DEBUG = 0x4
|
|
+ IFF_DRV_OACTIVE = 0x400
|
|
+ IFF_DRV_RUNNING = 0x40
|
|
+ IFF_DYING = 0x200000
|
|
+ IFF_KNOWSEPOCH = 0x20
|
|
+ IFF_LINK0 = 0x1000
|
|
+ IFF_LINK1 = 0x2000
|
|
+ IFF_LINK2 = 0x4000
|
|
+ IFF_LOOPBACK = 0x8
|
|
+ IFF_MONITOR = 0x40000
|
|
+ IFF_MULTICAST = 0x8000
|
|
+ IFF_NOARP = 0x80
|
|
+ IFF_NOGROUP = 0x800000
|
|
+ IFF_OACTIVE = 0x400
|
|
+ IFF_POINTOPOINT = 0x10
|
|
+ IFF_PPROMISC = 0x20000
|
|
+ IFF_PROMISC = 0x100
|
|
+ IFF_RENAMING = 0x400000
|
|
+ IFF_RUNNING = 0x40
|
|
+ IFF_SIMPLEX = 0x800
|
|
+ IFF_STATICARP = 0x80000
|
|
+ IFF_UP = 0x1
|
|
+ IFNAMSIZ = 0x10
|
|
+ IFT_BRIDGE = 0xd1
|
|
+ IFT_CARP = 0xf8
|
|
+ IFT_IEEE1394 = 0x90
|
|
+ IFT_INFINIBAND = 0xc7
|
|
+ IFT_L2VLAN = 0x87
|
|
+ IFT_L3IPVLAN = 0x88
|
|
+ IFT_PPP = 0x17
|
|
+ IFT_PROPVIRTUAL = 0x35
|
|
+ IGNBRK = 0x1
|
|
+ IGNCR = 0x80
|
|
+ IGNPAR = 0x4
|
|
+ IMAXBEL = 0x2000
|
|
+ INLCR = 0x40
|
|
+ INPCK = 0x10
|
|
+ IN_CLASSA_HOST = 0xffffff
|
|
+ IN_CLASSA_MAX = 0x80
|
|
+ IN_CLASSA_NET = 0xff000000
|
|
+ IN_CLASSA_NSHIFT = 0x18
|
|
+ IN_CLASSB_HOST = 0xffff
|
|
+ IN_CLASSB_MAX = 0x10000
|
|
+ IN_CLASSB_NET = 0xffff0000
|
|
+ IN_CLASSB_NSHIFT = 0x10
|
|
+ IN_CLASSC_HOST = 0xff
|
|
+ IN_CLASSC_NET = 0xffffff00
|
|
+ IN_CLASSC_NSHIFT = 0x8
|
|
+ IN_CLASSD_HOST = 0xfffffff
|
|
+ IN_CLASSD_NET = 0xf0000000
|
|
+ IN_CLASSD_NSHIFT = 0x1c
|
|
+ IN_LOOPBACKNET = 0x7f
|
|
+ IN_NETMASK_DEFAULT = 0xffffff00
|
|
+ IN_RFC3021_MASK = 0xfffffffe
|
|
+ IPPROTO_3PC = 0x22
|
|
+ IPPROTO_ADFS = 0x44
|
|
+ IPPROTO_AH = 0x33
|
|
+ IPPROTO_AHIP = 0x3d
|
|
+ IPPROTO_APES = 0x63
|
|
+ IPPROTO_ARGUS = 0xd
|
|
+ IPPROTO_AX25 = 0x5d
|
|
+ IPPROTO_BHA = 0x31
|
|
+ IPPROTO_BLT = 0x1e
|
|
+ IPPROTO_BRSATMON = 0x4c
|
|
+ IPPROTO_CARP = 0x70
|
|
+ IPPROTO_CFTP = 0x3e
|
|
+ IPPROTO_CHAOS = 0x10
|
|
+ IPPROTO_CMTP = 0x26
|
|
+ IPPROTO_CPHB = 0x49
|
|
+ IPPROTO_CPNX = 0x48
|
|
+ IPPROTO_DCCP = 0x21
|
|
+ IPPROTO_DDP = 0x25
|
|
+ IPPROTO_DGP = 0x56
|
|
+ IPPROTO_DIVERT = 0x102
|
|
+ IPPROTO_DONE = 0x101
|
|
+ IPPROTO_DSTOPTS = 0x3c
|
|
+ IPPROTO_EGP = 0x8
|
|
+ IPPROTO_EMCON = 0xe
|
|
+ IPPROTO_ENCAP = 0x62
|
|
+ IPPROTO_EON = 0x50
|
|
+ IPPROTO_ESP = 0x32
|
|
+ IPPROTO_ETHERIP = 0x61
|
|
+ IPPROTO_FRAGMENT = 0x2c
|
|
+ IPPROTO_GGP = 0x3
|
|
+ IPPROTO_GMTP = 0x64
|
|
+ IPPROTO_GRE = 0x2f
|
|
+ IPPROTO_HELLO = 0x3f
|
|
+ IPPROTO_HIP = 0x8b
|
|
+ IPPROTO_HMP = 0x14
|
|
+ IPPROTO_HOPOPTS = 0x0
|
|
+ IPPROTO_ICMP = 0x1
|
|
+ IPPROTO_ICMPV6 = 0x3a
|
|
+ IPPROTO_IDP = 0x16
|
|
+ IPPROTO_IDPR = 0x23
|
|
+ IPPROTO_IDRP = 0x2d
|
|
+ IPPROTO_IGMP = 0x2
|
|
+ IPPROTO_IGP = 0x55
|
|
+ IPPROTO_IGRP = 0x58
|
|
+ IPPROTO_IL = 0x28
|
|
+ IPPROTO_INLSP = 0x34
|
|
+ IPPROTO_INP = 0x20
|
|
+ IPPROTO_IP = 0x0
|
|
+ IPPROTO_IPCOMP = 0x6c
|
|
+ IPPROTO_IPCV = 0x47
|
|
+ IPPROTO_IPEIP = 0x5e
|
|
+ IPPROTO_IPIP = 0x4
|
|
+ IPPROTO_IPPC = 0x43
|
|
+ IPPROTO_IPV4 = 0x4
|
|
+ IPPROTO_IPV6 = 0x29
|
|
+ IPPROTO_IRTP = 0x1c
|
|
+ IPPROTO_KRYPTOLAN = 0x41
|
|
+ IPPROTO_LARP = 0x5b
|
|
+ IPPROTO_LEAF1 = 0x19
|
|
+ IPPROTO_LEAF2 = 0x1a
|
|
+ IPPROTO_MAX = 0x100
|
|
+ IPPROTO_MEAS = 0x13
|
|
+ IPPROTO_MH = 0x87
|
|
+ IPPROTO_MHRP = 0x30
|
|
+ IPPROTO_MICP = 0x5f
|
|
+ IPPROTO_MOBILE = 0x37
|
|
+ IPPROTO_MPLS = 0x89
|
|
+ IPPROTO_MTP = 0x5c
|
|
+ IPPROTO_MUX = 0x12
|
|
+ IPPROTO_ND = 0x4d
|
|
+ IPPROTO_NHRP = 0x36
|
|
+ IPPROTO_NONE = 0x3b
|
|
+ IPPROTO_NSP = 0x1f
|
|
+ IPPROTO_NVPII = 0xb
|
|
+ IPPROTO_OLD_DIVERT = 0xfe
|
|
+ IPPROTO_OSPFIGP = 0x59
|
|
+ IPPROTO_PFSYNC = 0xf0
|
|
+ IPPROTO_PGM = 0x71
|
|
+ IPPROTO_PIGP = 0x9
|
|
+ IPPROTO_PIM = 0x67
|
|
+ IPPROTO_PRM = 0x15
|
|
+ IPPROTO_PUP = 0xc
|
|
+ IPPROTO_PVP = 0x4b
|
|
+ IPPROTO_RAW = 0xff
|
|
+ IPPROTO_RCCMON = 0xa
|
|
+ IPPROTO_RDP = 0x1b
|
|
+ IPPROTO_RESERVED_253 = 0xfd
|
|
+ IPPROTO_RESERVED_254 = 0xfe
|
|
+ IPPROTO_ROUTING = 0x2b
|
|
+ IPPROTO_RSVP = 0x2e
|
|
+ IPPROTO_RVD = 0x42
|
|
+ IPPROTO_SATEXPAK = 0x40
|
|
+ IPPROTO_SATMON = 0x45
|
|
+ IPPROTO_SCCSP = 0x60
|
|
+ IPPROTO_SCTP = 0x84
|
|
+ IPPROTO_SDRP = 0x2a
|
|
+ IPPROTO_SEND = 0x103
|
|
+ IPPROTO_SHIM6 = 0x8c
|
|
+ IPPROTO_SKIP = 0x39
|
|
+ IPPROTO_SPACER = 0x7fff
|
|
+ IPPROTO_SRPC = 0x5a
|
|
+ IPPROTO_ST = 0x7
|
|
+ IPPROTO_SVMTP = 0x52
|
|
+ IPPROTO_SWIPE = 0x35
|
|
+ IPPROTO_TCF = 0x57
|
|
+ IPPROTO_TCP = 0x6
|
|
+ IPPROTO_TLSP = 0x38
|
|
+ IPPROTO_TP = 0x1d
|
|
+ IPPROTO_TPXX = 0x27
|
|
+ IPPROTO_TRUNK1 = 0x17
|
|
+ IPPROTO_TRUNK2 = 0x18
|
|
+ IPPROTO_TTP = 0x54
|
|
+ IPPROTO_UDP = 0x11
|
|
+ IPPROTO_UDPLITE = 0x88
|
|
+ IPPROTO_VINES = 0x53
|
|
+ IPPROTO_VISA = 0x46
|
|
+ IPPROTO_VMTP = 0x51
|
|
+ IPPROTO_WBEXPAK = 0x4f
|
|
+ IPPROTO_WBMON = 0x4e
|
|
+ IPPROTO_WSN = 0x4a
|
|
+ IPPROTO_XNET = 0xf
|
|
+ IPPROTO_XTP = 0x24
|
|
+ IPV6_AUTOFLOWLABEL = 0x3b
|
|
+ IPV6_BINDANY = 0x40
|
|
+ IPV6_BINDMULTI = 0x41
|
|
+ IPV6_BINDV6ONLY = 0x1b
|
|
+ IPV6_CHECKSUM = 0x1a
|
|
+ IPV6_DEFAULT_MULTICAST_HOPS = 0x1
|
|
+ IPV6_DEFAULT_MULTICAST_LOOP = 0x1
|
|
+ IPV6_DEFHLIM = 0x40
|
|
+ IPV6_DONTFRAG = 0x3e
|
|
+ IPV6_DSTOPTS = 0x32
|
|
+ IPV6_FLOWID = 0x43
|
|
+ IPV6_FLOWINFO_MASK = 0xffffff0f
|
|
+ IPV6_FLOWLABEL_LEN = 0x14
|
|
+ IPV6_FLOWLABEL_MASK = 0xffff0f00
|
|
+ IPV6_FLOWTYPE = 0x44
|
|
+ IPV6_FRAGTTL = 0x78
|
|
+ IPV6_FW_ADD = 0x1e
|
|
+ IPV6_FW_DEL = 0x1f
|
|
+ IPV6_FW_FLUSH = 0x20
|
|
+ IPV6_FW_GET = 0x22
|
|
+ IPV6_FW_ZERO = 0x21
|
|
+ IPV6_HLIMDEC = 0x1
|
|
+ IPV6_HOPLIMIT = 0x2f
|
|
+ IPV6_HOPOPTS = 0x31
|
|
+ IPV6_IPSEC_POLICY = 0x1c
|
|
+ IPV6_JOIN_GROUP = 0xc
|
|
+ IPV6_LEAVE_GROUP = 0xd
|
|
+ IPV6_MAXHLIM = 0xff
|
|
+ IPV6_MAXOPTHDR = 0x800
|
|
+ IPV6_MAXPACKET = 0xffff
|
|
+ IPV6_MAX_GROUP_SRC_FILTER = 0x200
|
|
+ IPV6_MAX_MEMBERSHIPS = 0xfff
|
|
+ IPV6_MAX_SOCK_SRC_FILTER = 0x80
|
|
+ IPV6_MMTU = 0x500
|
|
+ IPV6_MSFILTER = 0x4a
|
|
+ IPV6_MULTICAST_HOPS = 0xa
|
|
+ IPV6_MULTICAST_IF = 0x9
|
|
+ IPV6_MULTICAST_LOOP = 0xb
|
|
+ IPV6_NEXTHOP = 0x30
|
|
+ IPV6_ORIGDSTADDR = 0x48
|
|
+ IPV6_PATHMTU = 0x2c
|
|
+ IPV6_PKTINFO = 0x2e
|
|
+ IPV6_PORTRANGE = 0xe
|
|
+ IPV6_PORTRANGE_DEFAULT = 0x0
|
|
+ IPV6_PORTRANGE_HIGH = 0x1
|
|
+ IPV6_PORTRANGE_LOW = 0x2
|
|
+ IPV6_PREFER_TEMPADDR = 0x3f
|
|
+ IPV6_RECVDSTOPTS = 0x28
|
|
+ IPV6_RECVFLOWID = 0x46
|
|
+ IPV6_RECVHOPLIMIT = 0x25
|
|
+ IPV6_RECVHOPOPTS = 0x27
|
|
+ IPV6_RECVORIGDSTADDR = 0x48
|
|
+ IPV6_RECVPATHMTU = 0x2b
|
|
+ IPV6_RECVPKTINFO = 0x24
|
|
+ IPV6_RECVRSSBUCKETID = 0x47
|
|
+ IPV6_RECVRTHDR = 0x26
|
|
+ IPV6_RECVTCLASS = 0x39
|
|
+ IPV6_RSSBUCKETID = 0x45
|
|
+ IPV6_RSS_LISTEN_BUCKET = 0x42
|
|
+ IPV6_RTHDR = 0x33
|
|
+ IPV6_RTHDRDSTOPTS = 0x23
|
|
+ IPV6_RTHDR_LOOSE = 0x0
|
|
+ IPV6_RTHDR_STRICT = 0x1
|
|
+ IPV6_RTHDR_TYPE_0 = 0x0
|
|
+ IPV6_SOCKOPT_RESERVED1 = 0x3
|
|
+ IPV6_TCLASS = 0x3d
|
|
+ IPV6_UNICAST_HOPS = 0x4
|
|
+ IPV6_USE_MIN_MTU = 0x2a
|
|
+ IPV6_V6ONLY = 0x1b
|
|
+ IPV6_VERSION = 0x60
|
|
+ IPV6_VERSION_MASK = 0xf0
|
|
+ IPV6_VLAN_PCP = 0x4b
|
|
+ IP_ADD_MEMBERSHIP = 0xc
|
|
+ IP_ADD_SOURCE_MEMBERSHIP = 0x46
|
|
+ IP_BINDANY = 0x18
|
|
+ IP_BINDMULTI = 0x19
|
|
+ IP_BLOCK_SOURCE = 0x48
|
|
+ IP_DEFAULT_MULTICAST_LOOP = 0x1
|
|
+ IP_DEFAULT_MULTICAST_TTL = 0x1
|
|
+ IP_DF = 0x4000
|
|
+ IP_DONTFRAG = 0x43
|
|
+ IP_DROP_MEMBERSHIP = 0xd
|
|
+ IP_DROP_SOURCE_MEMBERSHIP = 0x47
|
|
+ IP_DUMMYNET3 = 0x31
|
|
+ IP_DUMMYNET_CONFIGURE = 0x3c
|
|
+ IP_DUMMYNET_DEL = 0x3d
|
|
+ IP_DUMMYNET_FLUSH = 0x3e
|
|
+ IP_DUMMYNET_GET = 0x40
|
|
+ IP_FLOWID = 0x5a
|
|
+ IP_FLOWTYPE = 0x5b
|
|
+ IP_FW3 = 0x30
|
|
+ IP_FW_ADD = 0x32
|
|
+ IP_FW_DEL = 0x33
|
|
+ IP_FW_FLUSH = 0x34
|
|
+ IP_FW_GET = 0x36
|
|
+ IP_FW_NAT_CFG = 0x38
|
|
+ IP_FW_NAT_DEL = 0x39
|
|
+ IP_FW_NAT_GET_CONFIG = 0x3a
|
|
+ IP_FW_NAT_GET_LOG = 0x3b
|
|
+ IP_FW_RESETLOG = 0x37
|
|
+ IP_FW_TABLE_ADD = 0x28
|
|
+ IP_FW_TABLE_DEL = 0x29
|
|
+ IP_FW_TABLE_FLUSH = 0x2a
|
|
+ IP_FW_TABLE_GETSIZE = 0x2b
|
|
+ IP_FW_TABLE_LIST = 0x2c
|
|
+ IP_FW_ZERO = 0x35
|
|
+ IP_HDRINCL = 0x2
|
|
+ IP_IPSEC_POLICY = 0x15
|
|
+ IP_MAXPACKET = 0xffff
|
|
+ IP_MAX_GROUP_SRC_FILTER = 0x200
|
|
+ IP_MAX_MEMBERSHIPS = 0xfff
|
|
+ IP_MAX_SOCK_MUTE_FILTER = 0x80
|
|
+ IP_MAX_SOCK_SRC_FILTER = 0x80
|
|
+ IP_MF = 0x2000
|
|
+ IP_MINTTL = 0x42
|
|
+ IP_MSFILTER = 0x4a
|
|
+ IP_MSS = 0x240
|
|
+ IP_MULTICAST_IF = 0x9
|
|
+ IP_MULTICAST_LOOP = 0xb
|
|
+ IP_MULTICAST_TTL = 0xa
|
|
+ IP_MULTICAST_VIF = 0xe
|
|
+ IP_OFFMASK = 0x1fff
|
|
+ IP_ONESBCAST = 0x17
|
|
+ IP_OPTIONS = 0x1
|
|
+ IP_ORIGDSTADDR = 0x1b
|
|
+ IP_PORTRANGE = 0x13
|
|
+ IP_PORTRANGE_DEFAULT = 0x0
|
|
+ IP_PORTRANGE_HIGH = 0x1
|
|
+ IP_PORTRANGE_LOW = 0x2
|
|
+ IP_RECVDSTADDR = 0x7
|
|
+ IP_RECVFLOWID = 0x5d
|
|
+ IP_RECVIF = 0x14
|
|
+ IP_RECVOPTS = 0x5
|
|
+ IP_RECVORIGDSTADDR = 0x1b
|
|
+ IP_RECVRETOPTS = 0x6
|
|
+ IP_RECVRSSBUCKETID = 0x5e
|
|
+ IP_RECVTOS = 0x44
|
|
+ IP_RECVTTL = 0x41
|
|
+ IP_RETOPTS = 0x8
|
|
+ IP_RF = 0x8000
|
|
+ IP_RSSBUCKETID = 0x5c
|
|
+ IP_RSS_LISTEN_BUCKET = 0x1a
|
|
+ IP_RSVP_OFF = 0x10
|
|
+ IP_RSVP_ON = 0xf
|
|
+ IP_RSVP_VIF_OFF = 0x12
|
|
+ IP_RSVP_VIF_ON = 0x11
|
|
+ IP_SENDSRCADDR = 0x7
|
|
+ IP_TOS = 0x3
|
|
+ IP_TTL = 0x4
|
|
+ IP_UNBLOCK_SOURCE = 0x49
|
|
+ IP_VLAN_PCP = 0x4b
|
|
+ ISIG = 0x80
|
|
+ ISTRIP = 0x20
|
|
+ ITIMER_PROF = 0x2
|
|
+ ITIMER_REAL = 0x0
|
|
+ ITIMER_VIRTUAL = 0x1
|
|
+ IXANY = 0x800
|
|
+ IXOFF = 0x400
|
|
+ IXON = 0x200
|
|
+ KERN_HOSTNAME = 0xa
|
|
+ KERN_OSRELEASE = 0x2
|
|
+ KERN_OSTYPE = 0x1
|
|
+ KERN_VERSION = 0x4
|
|
+ LOCAL_CONNWAIT = 0x4
|
|
+ LOCAL_CREDS = 0x2
|
|
+ LOCAL_CREDS_PERSISTENT = 0x3
|
|
+ LOCAL_PEERCRED = 0x1
|
|
+ LOCAL_VENDOR = 0x80000000
|
|
+ LOCK_EX = 0x2
|
|
+ LOCK_NB = 0x4
|
|
+ LOCK_SH = 0x1
|
|
+ LOCK_UN = 0x8
|
|
+ MADV_AUTOSYNC = 0x7
|
|
+ MADV_CORE = 0x9
|
|
+ MADV_DONTNEED = 0x4
|
|
+ MADV_FREE = 0x5
|
|
+ MADV_NOCORE = 0x8
|
|
+ MADV_NORMAL = 0x0
|
|
+ MADV_NOSYNC = 0x6
|
|
+ MADV_PROTECT = 0xa
|
|
+ MADV_RANDOM = 0x1
|
|
+ MADV_SEQUENTIAL = 0x2
|
|
+ MADV_WILLNEED = 0x3
|
|
+ MAP_32BIT = 0x80000
|
|
+ MAP_ALIGNED_SUPER = 0x1000000
|
|
+ MAP_ALIGNMENT_MASK = -0x1000000
|
|
+ MAP_ALIGNMENT_SHIFT = 0x18
|
|
+ MAP_ANON = 0x1000
|
|
+ MAP_ANONYMOUS = 0x1000
|
|
+ MAP_COPY = 0x2
|
|
+ MAP_EXCL = 0x4000
|
|
+ MAP_FILE = 0x0
|
|
+ MAP_FIXED = 0x10
|
|
+ MAP_GUARD = 0x2000
|
|
+ MAP_HASSEMAPHORE = 0x200
|
|
+ MAP_NOCORE = 0x20000
|
|
+ MAP_NOSYNC = 0x800
|
|
+ MAP_PREFAULT_READ = 0x40000
|
|
+ MAP_PRIVATE = 0x2
|
|
+ MAP_RESERVED0020 = 0x20
|
|
+ MAP_RESERVED0040 = 0x40
|
|
+ MAP_RESERVED0080 = 0x80
|
|
+ MAP_RESERVED0100 = 0x100
|
|
+ MAP_SHARED = 0x1
|
|
+ MAP_STACK = 0x400
|
|
+ MCAST_BLOCK_SOURCE = 0x54
|
|
+ MCAST_EXCLUDE = 0x2
|
|
+ MCAST_INCLUDE = 0x1
|
|
+ MCAST_JOIN_GROUP = 0x50
|
|
+ MCAST_JOIN_SOURCE_GROUP = 0x52
|
|
+ MCAST_LEAVE_GROUP = 0x51
|
|
+ MCAST_LEAVE_SOURCE_GROUP = 0x53
|
|
+ MCAST_UNBLOCK_SOURCE = 0x55
|
|
+ MCAST_UNDEFINED = 0x0
|
|
+ MCL_CURRENT = 0x1
|
|
+ MCL_FUTURE = 0x2
|
|
+ MFD_ALLOW_SEALING = 0x2
|
|
+ MFD_CLOEXEC = 0x1
|
|
+ MFD_HUGETLB = 0x4
|
|
+ MFD_HUGE_16GB = -0x78000000
|
|
+ MFD_HUGE_16MB = 0x60000000
|
|
+ MFD_HUGE_1GB = 0x78000000
|
|
+ MFD_HUGE_1MB = 0x50000000
|
|
+ MFD_HUGE_256MB = 0x70000000
|
|
+ MFD_HUGE_2GB = 0x7c000000
|
|
+ MFD_HUGE_2MB = 0x54000000
|
|
+ MFD_HUGE_32MB = 0x64000000
|
|
+ MFD_HUGE_512KB = 0x4c000000
|
|
+ MFD_HUGE_512MB = 0x74000000
|
|
+ MFD_HUGE_64KB = 0x40000000
|
|
+ MFD_HUGE_8MB = 0x5c000000
|
|
+ MFD_HUGE_MASK = 0xfc000000
|
|
+ MFD_HUGE_SHIFT = 0x1a
|
|
+ MNT_ACLS = 0x8000000
|
|
+ MNT_ASYNC = 0x40
|
|
+ MNT_AUTOMOUNTED = 0x200000000
|
|
+ MNT_BYFSID = 0x8000000
|
|
+ MNT_CMDFLAGS = 0x300d0f0000
|
|
+ MNT_DEFEXPORTED = 0x200
|
|
+ MNT_DELEXPORT = 0x20000
|
|
+ MNT_EMPTYDIR = 0x2000000000
|
|
+ MNT_EXKERB = 0x800
|
|
+ MNT_EXPORTANON = 0x400
|
|
+ MNT_EXPORTED = 0x100
|
|
+ MNT_EXPUBLIC = 0x20000000
|
|
+ MNT_EXRDONLY = 0x80
|
|
+ MNT_EXTLS = 0x4000000000
|
|
+ MNT_EXTLSCERT = 0x8000000000
|
|
+ MNT_EXTLSCERTUSER = 0x10000000000
|
|
+ MNT_FORCE = 0x80000
|
|
+ MNT_GJOURNAL = 0x2000000
|
|
+ MNT_IGNORE = 0x800000
|
|
+ MNT_LAZY = 0x3
|
|
+ MNT_LOCAL = 0x1000
|
|
+ MNT_MULTILABEL = 0x4000000
|
|
+ MNT_NFS4ACLS = 0x10
|
|
+ MNT_NOATIME = 0x10000000
|
|
+ MNT_NOCLUSTERR = 0x40000000
|
|
+ MNT_NOCLUSTERW = 0x80000000
|
|
+ MNT_NOCOVER = 0x1000000000
|
|
+ MNT_NOEXEC = 0x4
|
|
+ MNT_NONBUSY = 0x4000000
|
|
+ MNT_NOSUID = 0x8
|
|
+ MNT_NOSYMFOLLOW = 0x400000
|
|
+ MNT_NOWAIT = 0x2
|
|
+ MNT_QUOTA = 0x2000
|
|
+ MNT_RDONLY = 0x1
|
|
+ MNT_RELOAD = 0x40000
|
|
+ MNT_ROOTFS = 0x4000
|
|
+ MNT_SNAPSHOT = 0x1000000
|
|
+ MNT_SOFTDEP = 0x200000
|
|
+ MNT_SUIDDIR = 0x100000
|
|
+ MNT_SUJ = 0x100000000
|
|
+ MNT_SUSPEND = 0x4
|
|
+ MNT_SYNCHRONOUS = 0x2
|
|
+ MNT_UNION = 0x20
|
|
+ MNT_UNTRUSTED = 0x800000000
|
|
+ MNT_UPDATE = 0x10000
|
|
+ MNT_UPDATEMASK = 0xad8d0807e
|
|
+ MNT_USER = 0x8000
|
|
+ MNT_VERIFIED = 0x400000000
|
|
+ MNT_VISFLAGMASK = 0xffef0ffff
|
|
+ MNT_WAIT = 0x1
|
|
+ MSG_CMSG_CLOEXEC = 0x40000
|
|
+ MSG_COMPAT = 0x8000
|
|
+ MSG_CTRUNC = 0x20
|
|
+ MSG_DONTROUTE = 0x4
|
|
+ MSG_DONTWAIT = 0x80
|
|
+ MSG_EOF = 0x100
|
|
+ MSG_EOR = 0x8
|
|
+ MSG_NBIO = 0x4000
|
|
+ MSG_NOSIGNAL = 0x20000
|
|
+ MSG_NOTIFICATION = 0x2000
|
|
+ MSG_OOB = 0x1
|
|
+ MSG_PEEK = 0x2
|
|
+ MSG_TRUNC = 0x10
|
|
+ MSG_WAITALL = 0x40
|
|
+ MSG_WAITFORONE = 0x80000
|
|
+ MS_ASYNC = 0x1
|
|
+ MS_INVALIDATE = 0x2
|
|
+ MS_SYNC = 0x0
|
|
+ NAME_MAX = 0xff
|
|
+ NET_RT_DUMP = 0x1
|
|
+ NET_RT_FLAGS = 0x2
|
|
+ NET_RT_IFLIST = 0x3
|
|
+ NET_RT_IFLISTL = 0x5
|
|
+ NET_RT_IFMALIST = 0x4
|
|
+ NET_RT_NHGRP = 0x7
|
|
+ NET_RT_NHOP = 0x6
|
|
+ NFDBITS = 0x40
|
|
+ NOFLSH = 0x80000000
|
|
+ NOKERNINFO = 0x2000000
|
|
+ NOTE_ABSTIME = 0x10
|
|
+ NOTE_ATTRIB = 0x8
|
|
+ NOTE_CHILD = 0x4
|
|
+ NOTE_CLOSE = 0x100
|
|
+ NOTE_CLOSE_WRITE = 0x200
|
|
+ NOTE_DELETE = 0x1
|
|
+ NOTE_EXEC = 0x20000000
|
|
+ NOTE_EXIT = 0x80000000
|
|
+ NOTE_EXTEND = 0x4
|
|
+ NOTE_FFAND = 0x40000000
|
|
+ NOTE_FFCOPY = 0xc0000000
|
|
+ NOTE_FFCTRLMASK = 0xc0000000
|
|
+ NOTE_FFLAGSMASK = 0xffffff
|
|
+ NOTE_FFNOP = 0x0
|
|
+ NOTE_FFOR = 0x80000000
|
|
+ NOTE_FILE_POLL = 0x2
|
|
+ NOTE_FORK = 0x40000000
|
|
+ NOTE_LINK = 0x10
|
|
+ NOTE_LOWAT = 0x1
|
|
+ NOTE_MSECONDS = 0x2
|
|
+ NOTE_NSECONDS = 0x8
|
|
+ NOTE_OPEN = 0x80
|
|
+ NOTE_PCTRLMASK = 0xf0000000
|
|
+ NOTE_PDATAMASK = 0xfffff
|
|
+ NOTE_READ = 0x400
|
|
+ NOTE_RENAME = 0x20
|
|
+ NOTE_REVOKE = 0x40
|
|
+ NOTE_SECONDS = 0x1
|
|
+ NOTE_TRACK = 0x1
|
|
+ NOTE_TRACKERR = 0x2
|
|
+ NOTE_TRIGGER = 0x1000000
|
|
+ NOTE_USECONDS = 0x4
|
|
+ NOTE_WRITE = 0x2
|
|
+ OCRNL = 0x10
|
|
+ ONLCR = 0x2
|
|
+ ONLRET = 0x40
|
|
+ ONOCR = 0x20
|
|
+ ONOEOT = 0x8
|
|
+ OPOST = 0x1
|
|
+ OXTABS = 0x4
|
|
+ O_ACCMODE = 0x3
|
|
+ O_APPEND = 0x8
|
|
+ O_ASYNC = 0x40
|
|
+ O_CLOEXEC = 0x100000
|
|
+ O_CREAT = 0x200
|
|
+ O_DIRECT = 0x10000
|
|
+ O_DIRECTORY = 0x20000
|
|
+ O_DSYNC = 0x1000000
|
|
+ O_EMPTY_PATH = 0x2000000
|
|
+ O_EXCL = 0x800
|
|
+ O_EXEC = 0x40000
|
|
+ O_EXLOCK = 0x20
|
|
+ O_FSYNC = 0x80
|
|
+ O_NDELAY = 0x4
|
|
+ O_NOCTTY = 0x8000
|
|
+ O_NOFOLLOW = 0x100
|
|
+ O_NONBLOCK = 0x4
|
|
+ O_PATH = 0x400000
|
|
+ O_RDONLY = 0x0
|
|
+ O_RDWR = 0x2
|
|
+ O_RESOLVE_BENEATH = 0x800000
|
|
+ O_SEARCH = 0x40000
|
|
+ O_SHLOCK = 0x10
|
|
+ O_SYNC = 0x80
|
|
+ O_TRUNC = 0x400
|
|
+ O_TTY_INIT = 0x80000
|
|
+ O_VERIFY = 0x200000
|
|
+ O_WRONLY = 0x1
|
|
+ PARENB = 0x1000
|
|
+ PARMRK = 0x8
|
|
+ PARODD = 0x2000
|
|
+ PENDIN = 0x20000000
|
|
+ PIOD_READ_D = 0x1
|
|
+ PIOD_READ_I = 0x3
|
|
+ PIOD_WRITE_D = 0x2
|
|
+ PIOD_WRITE_I = 0x4
|
|
+ PRIO_PGRP = 0x1
|
|
+ PRIO_PROCESS = 0x0
|
|
+ PRIO_USER = 0x2
|
|
+ PROT_EXEC = 0x4
|
|
+ PROT_NONE = 0x0
|
|
+ PROT_READ = 0x1
|
|
+ PROT_WRITE = 0x2
|
|
+ PTRACE_DEFAULT = 0x1
|
|
+ PTRACE_EXEC = 0x1
|
|
+ PTRACE_FORK = 0x8
|
|
+ PTRACE_LWP = 0x10
|
|
+ PTRACE_SCE = 0x2
|
|
+ PTRACE_SCX = 0x4
|
|
+ PTRACE_SYSCALL = 0x6
|
|
+ PTRACE_VFORK = 0x20
|
|
+ PT_ATTACH = 0xa
|
|
+ PT_CLEARSTEP = 0x10
|
|
+ PT_CONTINUE = 0x7
|
|
+ PT_COREDUMP = 0x1d
|
|
+ PT_DETACH = 0xb
|
|
+ PT_FIRSTMACH = 0x40
|
|
+ PT_FOLLOW_FORK = 0x17
|
|
+ PT_GETDBREGS = 0x25
|
|
+ PT_GETFPREGS = 0x23
|
|
+ PT_GETLWPLIST = 0xf
|
|
+ PT_GETNUMLWPS = 0xe
|
|
+ PT_GETREGS = 0x21
|
|
+ PT_GET_EVENT_MASK = 0x19
|
|
+ PT_GET_SC_ARGS = 0x1b
|
|
+ PT_GET_SC_RET = 0x1c
|
|
+ PT_IO = 0xc
|
|
+ PT_KILL = 0x8
|
|
+ PT_LWPINFO = 0xd
|
|
+ PT_LWP_EVENTS = 0x18
|
|
+ PT_READ_D = 0x2
|
|
+ PT_READ_I = 0x1
|
|
+ PT_RESUME = 0x13
|
|
+ PT_SETDBREGS = 0x26
|
|
+ PT_SETFPREGS = 0x24
|
|
+ PT_SETREGS = 0x22
|
|
+ PT_SETSTEP = 0x11
|
|
+ PT_SET_EVENT_MASK = 0x1a
|
|
+ PT_STEP = 0x9
|
|
+ PT_SUSPEND = 0x12
|
|
+ PT_SYSCALL = 0x16
|
|
+ PT_TO_SCE = 0x14
|
|
+ PT_TO_SCX = 0x15
|
|
+ PT_TRACE_ME = 0x0
|
|
+ PT_VM_ENTRY = 0x29
|
|
+ PT_VM_TIMESTAMP = 0x28
|
|
+ PT_WRITE_D = 0x5
|
|
+ PT_WRITE_I = 0x4
|
|
+ P_ZONEID = 0xc
|
|
+ RLIMIT_AS = 0xa
|
|
+ RLIMIT_CORE = 0x4
|
|
+ RLIMIT_CPU = 0x0
|
|
+ RLIMIT_DATA = 0x2
|
|
+ RLIMIT_FSIZE = 0x1
|
|
+ RLIMIT_MEMLOCK = 0x6
|
|
+ RLIMIT_NOFILE = 0x8
|
|
+ RLIMIT_NPROC = 0x7
|
|
+ RLIMIT_RSS = 0x5
|
|
+ RLIMIT_STACK = 0x3
|
|
+ RLIM_INFINITY = 0x7fffffffffffffff
|
|
+ RTAX_AUTHOR = 0x6
|
|
+ RTAX_BRD = 0x7
|
|
+ RTAX_DST = 0x0
|
|
+ RTAX_GATEWAY = 0x1
|
|
+ RTAX_GENMASK = 0x3
|
|
+ RTAX_IFA = 0x5
|
|
+ RTAX_IFP = 0x4
|
|
+ RTAX_MAX = 0x8
|
|
+ RTAX_NETMASK = 0x2
|
|
+ RTA_AUTHOR = 0x40
|
|
+ RTA_BRD = 0x80
|
|
+ RTA_DST = 0x1
|
|
+ RTA_GATEWAY = 0x2
|
|
+ RTA_GENMASK = 0x8
|
|
+ RTA_IFA = 0x20
|
|
+ RTA_IFP = 0x10
|
|
+ RTA_NETMASK = 0x4
|
|
+ RTF_BLACKHOLE = 0x1000
|
|
+ RTF_BROADCAST = 0x400000
|
|
+ RTF_DONE = 0x40
|
|
+ RTF_DYNAMIC = 0x10
|
|
+ RTF_FIXEDMTU = 0x80000
|
|
+ RTF_FMASK = 0x1004d808
|
|
+ RTF_GATEWAY = 0x2
|
|
+ RTF_GWFLAG_COMPAT = 0x80000000
|
|
+ RTF_HOST = 0x4
|
|
+ RTF_LLDATA = 0x400
|
|
+ RTF_LLINFO = 0x400
|
|
+ RTF_LOCAL = 0x200000
|
|
+ RTF_MODIFIED = 0x20
|
|
+ RTF_MULTICAST = 0x800000
|
|
+ RTF_PINNED = 0x100000
|
|
+ RTF_PROTO1 = 0x8000
|
|
+ RTF_PROTO2 = 0x4000
|
|
+ RTF_PROTO3 = 0x40000
|
|
+ RTF_REJECT = 0x8
|
|
+ RTF_STATIC = 0x800
|
|
+ RTF_STICKY = 0x10000000
|
|
+ RTF_UP = 0x1
|
|
+ RTF_XRESOLVE = 0x200
|
|
+ RTM_ADD = 0x1
|
|
+ RTM_CHANGE = 0x3
|
|
+ RTM_DELADDR = 0xd
|
|
+ RTM_DELETE = 0x2
|
|
+ RTM_DELMADDR = 0x10
|
|
+ RTM_GET = 0x4
|
|
+ RTM_IEEE80211 = 0x12
|
|
+ RTM_IFANNOUNCE = 0x11
|
|
+ RTM_IFINFO = 0xe
|
|
+ RTM_LOCK = 0x8
|
|
+ RTM_LOSING = 0x5
|
|
+ RTM_MISS = 0x7
|
|
+ RTM_NEWADDR = 0xc
|
|
+ RTM_NEWMADDR = 0xf
|
|
+ RTM_REDIRECT = 0x6
|
|
+ RTM_RESOLVE = 0xb
|
|
+ RTM_RTTUNIT = 0xf4240
|
|
+ RTM_VERSION = 0x5
|
|
+ RTV_EXPIRE = 0x4
|
|
+ RTV_HOPCOUNT = 0x2
|
|
+ RTV_MTU = 0x1
|
|
+ RTV_RPIPE = 0x8
|
|
+ RTV_RTT = 0x40
|
|
+ RTV_RTTVAR = 0x80
|
|
+ RTV_SPIPE = 0x10
|
|
+ RTV_SSTHRESH = 0x20
|
|
+ RTV_WEIGHT = 0x100
|
|
+ RT_ALL_FIBS = -0x1
|
|
+ RT_BLACKHOLE = 0x40
|
|
+ RT_DEFAULT_FIB = 0x0
|
|
+ RT_DEFAULT_WEIGHT = 0x1
|
|
+ RT_HAS_GW = 0x80
|
|
+ RT_HAS_HEADER = 0x10
|
|
+ RT_HAS_HEADER_BIT = 0x4
|
|
+ RT_L2_ME = 0x4
|
|
+ RT_L2_ME_BIT = 0x2
|
|
+ RT_LLE_CACHE = 0x100
|
|
+ RT_MAX_WEIGHT = 0xffffff
|
|
+ RT_MAY_LOOP = 0x8
|
|
+ RT_MAY_LOOP_BIT = 0x3
|
|
+ RT_REJECT = 0x20
|
|
+ RUSAGE_CHILDREN = -0x1
|
|
+ RUSAGE_SELF = 0x0
|
|
+ RUSAGE_THREAD = 0x1
|
|
+ SCM_BINTIME = 0x4
|
|
+ SCM_CREDS = 0x3
|
|
+ SCM_CREDS2 = 0x8
|
|
+ SCM_MONOTONIC = 0x6
|
|
+ SCM_REALTIME = 0x5
|
|
+ SCM_RIGHTS = 0x1
|
|
+ SCM_TIMESTAMP = 0x2
|
|
+ SCM_TIME_INFO = 0x7
|
|
+ SEEK_CUR = 0x1
|
|
+ SEEK_DATA = 0x3
|
|
+ SEEK_END = 0x2
|
|
+ SEEK_HOLE = 0x4
|
|
+ SEEK_SET = 0x0
|
|
+ SHUT_RD = 0x0
|
|
+ SHUT_RDWR = 0x2
|
|
+ SHUT_WR = 0x1
|
|
+ SIOCADDMULTI = 0x80206931
|
|
+ SIOCAIFADDR = 0x8040691a
|
|
+ SIOCAIFGROUP = 0x80286987
|
|
+ SIOCATMARK = 0x40047307
|
|
+ SIOCDELMULTI = 0x80206932
|
|
+ SIOCDIFADDR = 0x80206919
|
|
+ SIOCDIFGROUP = 0x80286989
|
|
+ SIOCDIFPHYADDR = 0x80206949
|
|
+ SIOCGDRVSPEC = 0xc028697b
|
|
+ SIOCGETSGCNT = 0xc0207210
|
|
+ SIOCGETVIFCNT = 0xc028720f
|
|
+ SIOCGHIWAT = 0x40047301
|
|
+ SIOCGHWADDR = 0xc020693e
|
|
+ SIOCGI2C = 0xc020693d
|
|
+ SIOCGIFADDR = 0xc0206921
|
|
+ SIOCGIFALIAS = 0xc044692d
|
|
+ SIOCGIFBRDADDR = 0xc0206923
|
|
+ SIOCGIFCAP = 0xc020691f
|
|
+ SIOCGIFCONF = 0xc0106924
|
|
+ SIOCGIFDATA = 0x8020692c
|
|
+ SIOCGIFDESCR = 0xc020692a
|
|
+ SIOCGIFDOWNREASON = 0xc058699a
|
|
+ SIOCGIFDSTADDR = 0xc0206922
|
|
+ SIOCGIFFIB = 0xc020695c
|
|
+ SIOCGIFFLAGS = 0xc0206911
|
|
+ SIOCGIFGENERIC = 0xc020693a
|
|
+ SIOCGIFGMEMB = 0xc028698a
|
|
+ SIOCGIFGROUP = 0xc0286988
|
|
+ SIOCGIFINDEX = 0xc0206920
|
|
+ SIOCGIFMAC = 0xc0206926
|
|
+ SIOCGIFMEDIA = 0xc0306938
|
|
+ SIOCGIFMETRIC = 0xc0206917
|
|
+ SIOCGIFMTU = 0xc0206933
|
|
+ SIOCGIFNETMASK = 0xc0206925
|
|
+ SIOCGIFPDSTADDR = 0xc0206948
|
|
+ SIOCGIFPHYS = 0xc0206935
|
|
+ SIOCGIFPSRCADDR = 0xc0206947
|
|
+ SIOCGIFRSSHASH = 0xc0186997
|
|
+ SIOCGIFRSSKEY = 0xc0946996
|
|
+ SIOCGIFSTATUS = 0xc331693b
|
|
+ SIOCGIFXMEDIA = 0xc030698b
|
|
+ SIOCGLANPCP = 0xc0206998
|
|
+ SIOCGLOWAT = 0x40047303
|
|
+ SIOCGPGRP = 0x40047309
|
|
+ SIOCGPRIVATE_0 = 0xc0206950
|
|
+ SIOCGPRIVATE_1 = 0xc0206951
|
|
+ SIOCGTUNFIB = 0xc020695e
|
|
+ SIOCIFCREATE = 0xc020697a
|
|
+ SIOCIFCREATE2 = 0xc020697c
|
|
+ SIOCIFDESTROY = 0x80206979
|
|
+ SIOCIFGCLONERS = 0xc0106978
|
|
+ SIOCSDRVSPEC = 0x8028697b
|
|
+ SIOCSHIWAT = 0x80047300
|
|
+ SIOCSIFADDR = 0x8020690c
|
|
+ SIOCSIFBRDADDR = 0x80206913
|
|
+ SIOCSIFCAP = 0x8020691e
|
|
+ SIOCSIFDESCR = 0x80206929
|
|
+ SIOCSIFDSTADDR = 0x8020690e
|
|
+ SIOCSIFFIB = 0x8020695d
|
|
+ SIOCSIFFLAGS = 0x80206910
|
|
+ SIOCSIFGENERIC = 0x80206939
|
|
+ SIOCSIFLLADDR = 0x8020693c
|
|
+ SIOCSIFMAC = 0x80206927
|
|
+ SIOCSIFMEDIA = 0xc0206937
|
|
+ SIOCSIFMETRIC = 0x80206918
|
|
+ SIOCSIFMTU = 0x80206934
|
|
+ SIOCSIFNAME = 0x80206928
|
|
+ SIOCSIFNETMASK = 0x80206916
|
|
+ SIOCSIFPHYADDR = 0x80406946
|
|
+ SIOCSIFPHYS = 0x80206936
|
|
+ SIOCSIFRVNET = 0xc020695b
|
|
+ SIOCSIFVNET = 0xc020695a
|
|
+ SIOCSLANPCP = 0x80206999
|
|
+ SIOCSLOWAT = 0x80047302
|
|
+ SIOCSPGRP = 0x80047308
|
|
+ SIOCSTUNFIB = 0x8020695f
|
|
+ SOCK_CLOEXEC = 0x10000000
|
|
+ SOCK_DGRAM = 0x2
|
|
+ SOCK_MAXADDRLEN = 0xff
|
|
+ SOCK_NONBLOCK = 0x20000000
|
|
+ SOCK_RAW = 0x3
|
|
+ SOCK_RDM = 0x4
|
|
+ SOCK_SEQPACKET = 0x5
|
|
+ SOCK_STREAM = 0x1
|
|
+ SOL_LOCAL = 0x0
|
|
+ SOL_SOCKET = 0xffff
|
|
+ SOMAXCONN = 0x80
|
|
+ SO_ACCEPTCONN = 0x2
|
|
+ SO_ACCEPTFILTER = 0x1000
|
|
+ SO_BINTIME = 0x2000
|
|
+ SO_BROADCAST = 0x20
|
|
+ SO_DEBUG = 0x1
|
|
+ SO_DOMAIN = 0x1019
|
|
+ SO_DONTROUTE = 0x10
|
|
+ SO_ERROR = 0x1007
|
|
+ SO_KEEPALIVE = 0x8
|
|
+ SO_LABEL = 0x1009
|
|
+ SO_LINGER = 0x80
|
|
+ SO_LISTENINCQLEN = 0x1013
|
|
+ SO_LISTENQLEN = 0x1012
|
|
+ SO_LISTENQLIMIT = 0x1011
|
|
+ SO_MAX_PACING_RATE = 0x1018
|
|
+ SO_NOSIGPIPE = 0x800
|
|
+ SO_NO_DDP = 0x8000
|
|
+ SO_NO_OFFLOAD = 0x4000
|
|
+ SO_OOBINLINE = 0x100
|
|
+ SO_PEERLABEL = 0x1010
|
|
+ SO_PROTOCOL = 0x1016
|
|
+ SO_PROTOTYPE = 0x1016
|
|
+ SO_RCVBUF = 0x1002
|
|
+ SO_RCVLOWAT = 0x1004
|
|
+ SO_RCVTIMEO = 0x1006
|
|
+ SO_RERROR = 0x20000
|
|
+ SO_REUSEADDR = 0x4
|
|
+ SO_REUSEPORT = 0x200
|
|
+ SO_REUSEPORT_LB = 0x10000
|
|
+ SO_SETFIB = 0x1014
|
|
+ SO_SNDBUF = 0x1001
|
|
+ SO_SNDLOWAT = 0x1003
|
|
+ SO_SNDTIMEO = 0x1005
|
|
+ SO_TIMESTAMP = 0x400
|
|
+ SO_TS_BINTIME = 0x1
|
|
+ SO_TS_CLOCK = 0x1017
|
|
+ SO_TS_CLOCK_MAX = 0x3
|
|
+ SO_TS_DEFAULT = 0x0
|
|
+ SO_TS_MONOTONIC = 0x3
|
|
+ SO_TS_REALTIME = 0x2
|
|
+ SO_TS_REALTIME_MICRO = 0x0
|
|
+ SO_TYPE = 0x1008
|
|
+ SO_USELOOPBACK = 0x40
|
|
+ SO_USER_COOKIE = 0x1015
|
|
+ SO_VENDOR = 0x80000000
|
|
+ S_BLKSIZE = 0x200
|
|
+ S_IEXEC = 0x40
|
|
+ S_IFBLK = 0x6000
|
|
+ S_IFCHR = 0x2000
|
|
+ S_IFDIR = 0x4000
|
|
+ S_IFIFO = 0x1000
|
|
+ S_IFLNK = 0xa000
|
|
+ S_IFMT = 0xf000
|
|
+ S_IFREG = 0x8000
|
|
+ S_IFSOCK = 0xc000
|
|
+ S_IFWHT = 0xe000
|
|
+ S_IREAD = 0x100
|
|
+ S_IRGRP = 0x20
|
|
+ S_IROTH = 0x4
|
|
+ S_IRUSR = 0x100
|
|
+ S_IRWXG = 0x38
|
|
+ S_IRWXO = 0x7
|
|
+ S_IRWXU = 0x1c0
|
|
+ S_ISGID = 0x400
|
|
+ S_ISTXT = 0x200
|
|
+ S_ISUID = 0x800
|
|
+ S_ISVTX = 0x200
|
|
+ S_IWGRP = 0x10
|
|
+ S_IWOTH = 0x2
|
|
+ S_IWRITE = 0x80
|
|
+ S_IWUSR = 0x80
|
|
+ S_IXGRP = 0x8
|
|
+ S_IXOTH = 0x1
|
|
+ S_IXUSR = 0x40
|
|
+ TAB0 = 0x0
|
|
+ TAB3 = 0x4
|
|
+ TABDLY = 0x4
|
|
+ TCIFLUSH = 0x1
|
|
+ TCIOFF = 0x3
|
|
+ TCIOFLUSH = 0x3
|
|
+ TCION = 0x4
|
|
+ TCOFLUSH = 0x2
|
|
+ TCOOFF = 0x1
|
|
+ TCOON = 0x2
|
|
+ TCPOPT_EOL = 0x0
|
|
+ TCPOPT_FAST_OPEN = 0x22
|
|
+ TCPOPT_MAXSEG = 0x2
|
|
+ TCPOPT_NOP = 0x1
|
|
+ TCPOPT_PAD = 0x0
|
|
+ TCPOPT_SACK = 0x5
|
|
+ TCPOPT_SACK_PERMITTED = 0x4
|
|
+ TCPOPT_SIGNATURE = 0x13
|
|
+ TCPOPT_TIMESTAMP = 0x8
|
|
+ TCPOPT_WINDOW = 0x3
|
|
+ TCP_BBR_ACK_COMP_ALG = 0x448
|
|
+ TCP_BBR_ALGORITHM = 0x43b
|
|
+ TCP_BBR_DRAIN_INC_EXTRA = 0x43c
|
|
+ TCP_BBR_DRAIN_PG = 0x42e
|
|
+ TCP_BBR_EXTRA_GAIN = 0x449
|
|
+ TCP_BBR_EXTRA_STATE = 0x453
|
|
+ TCP_BBR_FLOOR_MIN_TSO = 0x454
|
|
+ TCP_BBR_HDWR_PACE = 0x451
|
|
+ TCP_BBR_HOLD_TARGET = 0x436
|
|
+ TCP_BBR_IWINTSO = 0x42b
|
|
+ TCP_BBR_LOWGAIN_FD = 0x436
|
|
+ TCP_BBR_LOWGAIN_HALF = 0x435
|
|
+ TCP_BBR_LOWGAIN_THRESH = 0x434
|
|
+ TCP_BBR_MAX_RTO = 0x439
|
|
+ TCP_BBR_MIN_RTO = 0x438
|
|
+ TCP_BBR_MIN_TOPACEOUT = 0x455
|
|
+ TCP_BBR_ONE_RETRAN = 0x431
|
|
+ TCP_BBR_PACE_CROSS = 0x442
|
|
+ TCP_BBR_PACE_DEL_TAR = 0x43f
|
|
+ TCP_BBR_PACE_OH = 0x435
|
|
+ TCP_BBR_PACE_PER_SEC = 0x43e
|
|
+ TCP_BBR_PACE_SEG_MAX = 0x440
|
|
+ TCP_BBR_PACE_SEG_MIN = 0x441
|
|
+ TCP_BBR_POLICER_DETECT = 0x457
|
|
+ TCP_BBR_PROBE_RTT_GAIN = 0x44d
|
|
+ TCP_BBR_PROBE_RTT_INT = 0x430
|
|
+ TCP_BBR_PROBE_RTT_LEN = 0x44e
|
|
+ TCP_BBR_RACK_INIT_RATE = 0x458
|
|
+ TCP_BBR_RACK_RTT_USE = 0x44a
|
|
+ TCP_BBR_RECFORCE = 0x42c
|
|
+ TCP_BBR_REC_OVER_HPTS = 0x43a
|
|
+ TCP_BBR_RETRAN_WTSO = 0x44b
|
|
+ TCP_BBR_RWND_IS_APP = 0x42f
|
|
+ TCP_BBR_SEND_IWND_IN_TSO = 0x44f
|
|
+ TCP_BBR_STARTUP_EXIT_EPOCH = 0x43d
|
|
+ TCP_BBR_STARTUP_LOSS_EXIT = 0x432
|
|
+ TCP_BBR_STARTUP_PG = 0x42d
|
|
+ TCP_BBR_TMR_PACE_OH = 0x448
|
|
+ TCP_BBR_TSLIMITS = 0x434
|
|
+ TCP_BBR_TSTMP_RAISES = 0x456
|
|
+ TCP_BBR_UNLIMITED = 0x43b
|
|
+ TCP_BBR_USEDEL_RATE = 0x437
|
|
+ TCP_BBR_USE_LOWGAIN = 0x433
|
|
+ TCP_BBR_USE_RACK_CHEAT = 0x450
|
|
+ TCP_BBR_USE_RACK_RR = 0x450
|
|
+ TCP_BBR_UTTER_MAX_TSO = 0x452
|
|
+ TCP_CA_NAME_MAX = 0x10
|
|
+ TCP_CCALGOOPT = 0x41
|
|
+ TCP_CONGESTION = 0x40
|
|
+ TCP_DATA_AFTER_CLOSE = 0x44c
|
|
+ TCP_DEFER_OPTIONS = 0x470
|
|
+ TCP_DELACK = 0x48
|
|
+ TCP_FASTOPEN = 0x401
|
|
+ TCP_FASTOPEN_MAX_COOKIE_LEN = 0x10
|
|
+ TCP_FASTOPEN_MIN_COOKIE_LEN = 0x4
|
|
+ TCP_FASTOPEN_PSK_LEN = 0x10
|
|
+ TCP_FAST_RSM_HACK = 0x471
|
|
+ TCP_FIN_IS_RST = 0x49
|
|
+ TCP_FUNCTION_BLK = 0x2000
|
|
+ TCP_FUNCTION_NAME_LEN_MAX = 0x20
|
|
+ TCP_HDWR_RATE_CAP = 0x46a
|
|
+ TCP_HDWR_UP_ONLY = 0x46c
|
|
+ TCP_IDLE_REDUCE = 0x46
|
|
+ TCP_INFO = 0x20
|
|
+ TCP_IWND_NB = 0x2b
|
|
+ TCP_IWND_NSEG = 0x2c
|
|
+ TCP_KEEPCNT = 0x400
|
|
+ TCP_KEEPIDLE = 0x100
|
|
+ TCP_KEEPINIT = 0x80
|
|
+ TCP_KEEPINTVL = 0x200
|
|
+ TCP_LOG = 0x22
|
|
+ TCP_LOGBUF = 0x23
|
|
+ TCP_LOGDUMP = 0x25
|
|
+ TCP_LOGDUMPID = 0x26
|
|
+ TCP_LOGID = 0x24
|
|
+ TCP_LOGID_CNT = 0x2e
|
|
+ TCP_LOG_ID_LEN = 0x40
|
|
+ TCP_LOG_LIMIT = 0x4a
|
|
+ TCP_LOG_TAG = 0x2f
|
|
+ TCP_MAXBURST = 0x4
|
|
+ TCP_MAXHLEN = 0x3c
|
|
+ TCP_MAXOLEN = 0x28
|
|
+ TCP_MAXPEAKRATE = 0x45
|
|
+ TCP_MAXSEG = 0x2
|
|
+ TCP_MAXUNACKTIME = 0x44
|
|
+ TCP_MAXWIN = 0xffff
|
|
+ TCP_MAX_SACK = 0x4
|
|
+ TCP_MAX_WINSHIFT = 0xe
|
|
+ TCP_MD5SIG = 0x10
|
|
+ TCP_MINMSS = 0xd8
|
|
+ TCP_MSS = 0x218
|
|
+ TCP_NODELAY = 0x1
|
|
+ TCP_NOOPT = 0x8
|
|
+ TCP_NOPUSH = 0x4
|
|
+ TCP_NO_PRR = 0x462
|
|
+ TCP_PACING_RATE_CAP = 0x46b
|
|
+ TCP_PCAP_IN = 0x1000
|
|
+ TCP_PCAP_OUT = 0x800
|
|
+ TCP_PERF_INFO = 0x4e
|
|
+ TCP_PROC_ACCOUNTING = 0x4c
|
|
+ TCP_RACK_ABC_VAL = 0x46d
|
|
+ TCP_RACK_CHEAT_NOT_CONF_RATE = 0x459
|
|
+ TCP_RACK_DO_DETECTION = 0x449
|
|
+ TCP_RACK_EARLY_RECOV = 0x423
|
|
+ TCP_RACK_EARLY_SEG = 0x424
|
|
+ TCP_RACK_FORCE_MSEG = 0x45d
|
|
+ TCP_RACK_GP_INCREASE = 0x446
|
|
+ TCP_RACK_GP_INCREASE_CA = 0x45a
|
|
+ TCP_RACK_GP_INCREASE_REC = 0x45c
|
|
+ TCP_RACK_GP_INCREASE_SS = 0x45b
|
|
+ TCP_RACK_IDLE_REDUCE_HIGH = 0x444
|
|
+ TCP_RACK_MBUF_QUEUE = 0x41a
|
|
+ TCP_RACK_MEASURE_CNT = 0x46f
|
|
+ TCP_RACK_MIN_PACE = 0x445
|
|
+ TCP_RACK_MIN_PACE_SEG = 0x446
|
|
+ TCP_RACK_MIN_TO = 0x422
|
|
+ TCP_RACK_NONRXT_CFG_RATE = 0x463
|
|
+ TCP_RACK_NO_PUSH_AT_MAX = 0x466
|
|
+ TCP_RACK_PACE_ALWAYS = 0x41f
|
|
+ TCP_RACK_PACE_MAX_SEG = 0x41e
|
|
+ TCP_RACK_PACE_RATE_CA = 0x45e
|
|
+ TCP_RACK_PACE_RATE_REC = 0x460
|
|
+ TCP_RACK_PACE_RATE_SS = 0x45f
|
|
+ TCP_RACK_PACE_REDUCE = 0x41d
|
|
+ TCP_RACK_PACE_TO_FILL = 0x467
|
|
+ TCP_RACK_PACING_BETA = 0x472
|
|
+ TCP_RACK_PACING_BETA_ECN = 0x473
|
|
+ TCP_RACK_PKT_DELAY = 0x428
|
|
+ TCP_RACK_PROFILE = 0x469
|
|
+ TCP_RACK_PROP = 0x41b
|
|
+ TCP_RACK_PROP_RATE = 0x420
|
|
+ TCP_RACK_PRR_SENDALOT = 0x421
|
|
+ TCP_RACK_REORD_FADE = 0x426
|
|
+ TCP_RACK_REORD_THRESH = 0x425
|
|
+ TCP_RACK_RR_CONF = 0x459
|
|
+ TCP_RACK_TIMER_SLOP = 0x474
|
|
+ TCP_RACK_TLP_INC_VAR = 0x429
|
|
+ TCP_RACK_TLP_REDUCE = 0x41c
|
|
+ TCP_RACK_TLP_THRESH = 0x427
|
|
+ TCP_RACK_TLP_USE = 0x447
|
|
+ TCP_REC_ABC_VAL = 0x46e
|
|
+ TCP_REMOTE_UDP_ENCAPS_PORT = 0x47
|
|
+ TCP_REUSPORT_LB_NUMA = 0x402
|
|
+ TCP_REUSPORT_LB_NUMA_CURDOM = -0x1
|
|
+ TCP_REUSPORT_LB_NUMA_NODOM = -0x2
|
|
+ TCP_RXTLS_ENABLE = 0x29
|
|
+ TCP_RXTLS_MODE = 0x2a
|
|
+ TCP_SHARED_CWND_ALLOWED = 0x4b
|
|
+ TCP_SHARED_CWND_ENABLE = 0x464
|
|
+ TCP_SHARED_CWND_TIME_LIMIT = 0x468
|
|
+ TCP_STATS = 0x21
|
|
+ TCP_TIMELY_DYN_ADJ = 0x465
|
|
+ TCP_TLS_MODE_IFNET = 0x2
|
|
+ TCP_TLS_MODE_NONE = 0x0
|
|
+ TCP_TLS_MODE_SW = 0x1
|
|
+ TCP_TLS_MODE_TOE = 0x3
|
|
+ TCP_TXTLS_ENABLE = 0x27
|
|
+ TCP_TXTLS_MODE = 0x28
|
|
+ TCP_USER_LOG = 0x30
|
|
+ TCP_USE_CMP_ACKS = 0x4d
|
|
+ TCP_VENDOR = 0x80000000
|
|
+ TCSAFLUSH = 0x2
|
|
+ TIMER_ABSTIME = 0x1
|
|
+ TIMER_RELTIME = 0x0
|
|
+ TIOCCBRK = 0x2000747a
|
|
+ TIOCCDTR = 0x20007478
|
|
+ TIOCCONS = 0x80047462
|
|
+ TIOCDRAIN = 0x2000745e
|
|
+ TIOCEXCL = 0x2000740d
|
|
+ TIOCEXT = 0x80047460
|
|
+ TIOCFLUSH = 0x80047410
|
|
+ TIOCGDRAINWAIT = 0x40047456
|
|
+ TIOCGETA = 0x402c7413
|
|
+ TIOCGETD = 0x4004741a
|
|
+ TIOCGPGRP = 0x40047477
|
|
+ TIOCGPTN = 0x4004740f
|
|
+ TIOCGSID = 0x40047463
|
|
+ TIOCGWINSZ = 0x40087468
|
|
+ TIOCMBIC = 0x8004746b
|
|
+ TIOCMBIS = 0x8004746c
|
|
+ TIOCMGDTRWAIT = 0x4004745a
|
|
+ TIOCMGET = 0x4004746a
|
|
+ TIOCMSDTRWAIT = 0x8004745b
|
|
+ TIOCMSET = 0x8004746d
|
|
+ TIOCM_CAR = 0x40
|
|
+ TIOCM_CD = 0x40
|
|
+ TIOCM_CTS = 0x20
|
|
+ TIOCM_DCD = 0x40
|
|
+ TIOCM_DSR = 0x100
|
|
+ TIOCM_DTR = 0x2
|
|
+ TIOCM_LE = 0x1
|
|
+ TIOCM_RI = 0x80
|
|
+ TIOCM_RNG = 0x80
|
|
+ TIOCM_RTS = 0x4
|
|
+ TIOCM_SR = 0x10
|
|
+ TIOCM_ST = 0x8
|
|
+ TIOCNOTTY = 0x20007471
|
|
+ TIOCNXCL = 0x2000740e
|
|
+ TIOCOUTQ = 0x40047473
|
|
+ TIOCPKT = 0x80047470
|
|
+ TIOCPKT_DATA = 0x0
|
|
+ TIOCPKT_DOSTOP = 0x20
|
|
+ TIOCPKT_FLUSHREAD = 0x1
|
|
+ TIOCPKT_FLUSHWRITE = 0x2
|
|
+ TIOCPKT_IOCTL = 0x40
|
|
+ TIOCPKT_NOSTOP = 0x10
|
|
+ TIOCPKT_START = 0x8
|
|
+ TIOCPKT_STOP = 0x4
|
|
+ TIOCPTMASTER = 0x2000741c
|
|
+ TIOCSBRK = 0x2000747b
|
|
+ TIOCSCTTY = 0x20007461
|
|
+ TIOCSDRAINWAIT = 0x80047457
|
|
+ TIOCSDTR = 0x20007479
|
|
+ TIOCSETA = 0x802c7414
|
|
+ TIOCSETAF = 0x802c7416
|
|
+ TIOCSETAW = 0x802c7415
|
|
+ TIOCSETD = 0x8004741b
|
|
+ TIOCSIG = 0x2004745f
|
|
+ TIOCSPGRP = 0x80047476
|
|
+ TIOCSTART = 0x2000746e
|
|
+ TIOCSTAT = 0x20007465
|
|
+ TIOCSTI = 0x80017472
|
|
+ TIOCSTOP = 0x2000746f
|
|
+ TIOCSWINSZ = 0x80087467
|
|
+ TIOCTIMESTAMP = 0x40107459
|
|
+ TIOCUCNTL = 0x80047466
|
|
+ TOSTOP = 0x400000
|
|
+ UTIME_NOW = -0x1
|
|
+ UTIME_OMIT = -0x2
|
|
+ VDISCARD = 0xf
|
|
+ VDSUSP = 0xb
|
|
+ VEOF = 0x0
|
|
+ VEOL = 0x1
|
|
+ VEOL2 = 0x2
|
|
+ VERASE = 0x3
|
|
+ VERASE2 = 0x7
|
|
+ VINTR = 0x8
|
|
+ VKILL = 0x5
|
|
+ VLNEXT = 0xe
|
|
+ VMIN = 0x10
|
|
+ VQUIT = 0x9
|
|
+ VREPRINT = 0x6
|
|
+ VSTART = 0xc
|
|
+ VSTATUS = 0x12
|
|
+ VSTOP = 0xd
|
|
+ VSUSP = 0xa
|
|
+ VTIME = 0x11
|
|
+ VWERASE = 0x4
|
|
+ WCONTINUED = 0x4
|
|
+ WCOREFLAG = 0x80
|
|
+ WEXITED = 0x10
|
|
+ WLINUXCLONE = 0x80000000
|
|
+ WNOHANG = 0x1
|
|
+ WNOWAIT = 0x8
|
|
+ WSTOPPED = 0x2
|
|
+ WTRAPPED = 0x20
|
|
+ WUNTRACED = 0x2
|
|
+)
|
|
+
|
|
+// Errors
|
|
+const (
|
|
+ E2BIG = syscall.Errno(0x7)
|
|
+ EACCES = syscall.Errno(0xd)
|
|
+ EADDRINUSE = syscall.Errno(0x30)
|
|
+ EADDRNOTAVAIL = syscall.Errno(0x31)
|
|
+ EAFNOSUPPORT = syscall.Errno(0x2f)
|
|
+ EAGAIN = syscall.Errno(0x23)
|
|
+ EALREADY = syscall.Errno(0x25)
|
|
+ EAUTH = syscall.Errno(0x50)
|
|
+ EBADF = syscall.Errno(0x9)
|
|
+ EBADMSG = syscall.Errno(0x59)
|
|
+ EBADRPC = syscall.Errno(0x48)
|
|
+ EBUSY = syscall.Errno(0x10)
|
|
+ ECANCELED = syscall.Errno(0x55)
|
|
+ ECAPMODE = syscall.Errno(0x5e)
|
|
+ ECHILD = syscall.Errno(0xa)
|
|
+ ECONNABORTED = syscall.Errno(0x35)
|
|
+ ECONNREFUSED = syscall.Errno(0x3d)
|
|
+ ECONNRESET = syscall.Errno(0x36)
|
|
+ EDEADLK = syscall.Errno(0xb)
|
|
+ EDESTADDRREQ = syscall.Errno(0x27)
|
|
+ EDOM = syscall.Errno(0x21)
|
|
+ EDOOFUS = syscall.Errno(0x58)
|
|
+ EDQUOT = syscall.Errno(0x45)
|
|
+ EEXIST = syscall.Errno(0x11)
|
|
+ EFAULT = syscall.Errno(0xe)
|
|
+ EFBIG = syscall.Errno(0x1b)
|
|
+ EFTYPE = syscall.Errno(0x4f)
|
|
+ EHOSTDOWN = syscall.Errno(0x40)
|
|
+ EHOSTUNREACH = syscall.Errno(0x41)
|
|
+ EIDRM = syscall.Errno(0x52)
|
|
+ EILSEQ = syscall.Errno(0x56)
|
|
+ EINPROGRESS = syscall.Errno(0x24)
|
|
+ EINTEGRITY = syscall.Errno(0x61)
|
|
+ EINTR = syscall.Errno(0x4)
|
|
+ EINVAL = syscall.Errno(0x16)
|
|
+ EIO = syscall.Errno(0x5)
|
|
+ EISCONN = syscall.Errno(0x38)
|
|
+ EISDIR = syscall.Errno(0x15)
|
|
+ ELAST = syscall.Errno(0x61)
|
|
+ ELOOP = syscall.Errno(0x3e)
|
|
+ EMFILE = syscall.Errno(0x18)
|
|
+ EMLINK = syscall.Errno(0x1f)
|
|
+ EMSGSIZE = syscall.Errno(0x28)
|
|
+ EMULTIHOP = syscall.Errno(0x5a)
|
|
+ ENAMETOOLONG = syscall.Errno(0x3f)
|
|
+ ENEEDAUTH = syscall.Errno(0x51)
|
|
+ ENETDOWN = syscall.Errno(0x32)
|
|
+ ENETRESET = syscall.Errno(0x34)
|
|
+ ENETUNREACH = syscall.Errno(0x33)
|
|
+ ENFILE = syscall.Errno(0x17)
|
|
+ ENOATTR = syscall.Errno(0x57)
|
|
+ ENOBUFS = syscall.Errno(0x37)
|
|
+ ENODEV = syscall.Errno(0x13)
|
|
+ ENOENT = syscall.Errno(0x2)
|
|
+ ENOEXEC = syscall.Errno(0x8)
|
|
+ ENOLCK = syscall.Errno(0x4d)
|
|
+ ENOLINK = syscall.Errno(0x5b)
|
|
+ ENOMEM = syscall.Errno(0xc)
|
|
+ ENOMSG = syscall.Errno(0x53)
|
|
+ ENOPROTOOPT = syscall.Errno(0x2a)
|
|
+ ENOSPC = syscall.Errno(0x1c)
|
|
+ ENOSYS = syscall.Errno(0x4e)
|
|
+ ENOTBLK = syscall.Errno(0xf)
|
|
+ ENOTCAPABLE = syscall.Errno(0x5d)
|
|
+ ENOTCONN = syscall.Errno(0x39)
|
|
+ ENOTDIR = syscall.Errno(0x14)
|
|
+ ENOTEMPTY = syscall.Errno(0x42)
|
|
+ ENOTRECOVERABLE = syscall.Errno(0x5f)
|
|
+ ENOTSOCK = syscall.Errno(0x26)
|
|
+ ENOTSUP = syscall.Errno(0x2d)
|
|
+ ENOTTY = syscall.Errno(0x19)
|
|
+ ENXIO = syscall.Errno(0x6)
|
|
+ EOPNOTSUPP = syscall.Errno(0x2d)
|
|
+ EOVERFLOW = syscall.Errno(0x54)
|
|
+ EOWNERDEAD = syscall.Errno(0x60)
|
|
+ EPERM = syscall.Errno(0x1)
|
|
+ EPFNOSUPPORT = syscall.Errno(0x2e)
|
|
+ EPIPE = syscall.Errno(0x20)
|
|
+ EPROCLIM = syscall.Errno(0x43)
|
|
+ EPROCUNAVAIL = syscall.Errno(0x4c)
|
|
+ EPROGMISMATCH = syscall.Errno(0x4b)
|
|
+ EPROGUNAVAIL = syscall.Errno(0x4a)
|
|
+ EPROTO = syscall.Errno(0x5c)
|
|
+ EPROTONOSUPPORT = syscall.Errno(0x2b)
|
|
+ EPROTOTYPE = syscall.Errno(0x29)
|
|
+ ERANGE = syscall.Errno(0x22)
|
|
+ EREMOTE = syscall.Errno(0x47)
|
|
+ EROFS = syscall.Errno(0x1e)
|
|
+ ERPCMISMATCH = syscall.Errno(0x49)
|
|
+ ESHUTDOWN = syscall.Errno(0x3a)
|
|
+ ESOCKTNOSUPPORT = syscall.Errno(0x2c)
|
|
+ ESPIPE = syscall.Errno(0x1d)
|
|
+ ESRCH = syscall.Errno(0x3)
|
|
+ ESTALE = syscall.Errno(0x46)
|
|
+ ETIMEDOUT = syscall.Errno(0x3c)
|
|
+ ETOOMANYREFS = syscall.Errno(0x3b)
|
|
+ ETXTBSY = syscall.Errno(0x1a)
|
|
+ EUSERS = syscall.Errno(0x44)
|
|
+ EWOULDBLOCK = syscall.Errno(0x23)
|
|
+ EXDEV = syscall.Errno(0x12)
|
|
+)
|
|
+
|
|
+// Signals
|
|
+const (
|
|
+ SIGABRT = syscall.Signal(0x6)
|
|
+ SIGALRM = syscall.Signal(0xe)
|
|
+ SIGBUS = syscall.Signal(0xa)
|
|
+ SIGCHLD = syscall.Signal(0x14)
|
|
+ SIGCONT = syscall.Signal(0x13)
|
|
+ SIGEMT = syscall.Signal(0x7)
|
|
+ SIGFPE = syscall.Signal(0x8)
|
|
+ SIGHUP = syscall.Signal(0x1)
|
|
+ SIGILL = syscall.Signal(0x4)
|
|
+ SIGINFO = syscall.Signal(0x1d)
|
|
+ SIGINT = syscall.Signal(0x2)
|
|
+ SIGIO = syscall.Signal(0x17)
|
|
+ SIGIOT = syscall.Signal(0x6)
|
|
+ SIGKILL = syscall.Signal(0x9)
|
|
+ SIGLIBRT = syscall.Signal(0x21)
|
|
+ SIGLWP = syscall.Signal(0x20)
|
|
+ SIGPIPE = syscall.Signal(0xd)
|
|
+ SIGPROF = syscall.Signal(0x1b)
|
|
+ SIGQUIT = syscall.Signal(0x3)
|
|
+ SIGSEGV = syscall.Signal(0xb)
|
|
+ SIGSTOP = syscall.Signal(0x11)
|
|
+ SIGSYS = syscall.Signal(0xc)
|
|
+ SIGTERM = syscall.Signal(0xf)
|
|
+ SIGTHR = syscall.Signal(0x20)
|
|
+ SIGTRAP = syscall.Signal(0x5)
|
|
+ SIGTSTP = syscall.Signal(0x12)
|
|
+ SIGTTIN = syscall.Signal(0x15)
|
|
+ SIGTTOU = syscall.Signal(0x16)
|
|
+ SIGURG = syscall.Signal(0x10)
|
|
+ SIGUSR1 = syscall.Signal(0x1e)
|
|
+ SIGUSR2 = syscall.Signal(0x1f)
|
|
+ SIGVTALRM = syscall.Signal(0x1a)
|
|
+ SIGWINCH = syscall.Signal(0x1c)
|
|
+ SIGXCPU = syscall.Signal(0x18)
|
|
+ SIGXFSZ = syscall.Signal(0x19)
|
|
+)
|
|
+
|
|
+// Error table
|
|
+var errorList = [...]struct {
|
|
+ num syscall.Errno
|
|
+ name string
|
|
+ desc string
|
|
+}{
|
|
+ {1, "EPERM", "operation not permitted"},
|
|
+ {2, "ENOENT", "no such file or directory"},
|
|
+ {3, "ESRCH", "no such process"},
|
|
+ {4, "EINTR", "interrupted system call"},
|
|
+ {5, "EIO", "input/output error"},
|
|
+ {6, "ENXIO", "device not configured"},
|
|
+ {7, "E2BIG", "argument list too long"},
|
|
+ {8, "ENOEXEC", "exec format error"},
|
|
+ {9, "EBADF", "bad file descriptor"},
|
|
+ {10, "ECHILD", "no child processes"},
|
|
+ {11, "EDEADLK", "resource deadlock avoided"},
|
|
+ {12, "ENOMEM", "cannot allocate memory"},
|
|
+ {13, "EACCES", "permission denied"},
|
|
+ {14, "EFAULT", "bad address"},
|
|
+ {15, "ENOTBLK", "block device required"},
|
|
+ {16, "EBUSY", "device busy"},
|
|
+ {17, "EEXIST", "file exists"},
|
|
+ {18, "EXDEV", "cross-device link"},
|
|
+ {19, "ENODEV", "operation not supported by device"},
|
|
+ {20, "ENOTDIR", "not a directory"},
|
|
+ {21, "EISDIR", "is a directory"},
|
|
+ {22, "EINVAL", "invalid argument"},
|
|
+ {23, "ENFILE", "too many open files in system"},
|
|
+ {24, "EMFILE", "too many open files"},
|
|
+ {25, "ENOTTY", "inappropriate ioctl for device"},
|
|
+ {26, "ETXTBSY", "text file busy"},
|
|
+ {27, "EFBIG", "file too large"},
|
|
+ {28, "ENOSPC", "no space left on device"},
|
|
+ {29, "ESPIPE", "illegal seek"},
|
|
+ {30, "EROFS", "read-only file system"},
|
|
+ {31, "EMLINK", "too many links"},
|
|
+ {32, "EPIPE", "broken pipe"},
|
|
+ {33, "EDOM", "numerical argument out of domain"},
|
|
+ {34, "ERANGE", "result too large"},
|
|
+ {35, "EWOULDBLOCK", "resource temporarily unavailable"},
|
|
+ {36, "EINPROGRESS", "operation now in progress"},
|
|
+ {37, "EALREADY", "operation already in progress"},
|
|
+ {38, "ENOTSOCK", "socket operation on non-socket"},
|
|
+ {39, "EDESTADDRREQ", "destination address required"},
|
|
+ {40, "EMSGSIZE", "message too long"},
|
|
+ {41, "EPROTOTYPE", "protocol wrong type for socket"},
|
|
+ {42, "ENOPROTOOPT", "protocol not available"},
|
|
+ {43, "EPROTONOSUPPORT", "protocol not supported"},
|
|
+ {44, "ESOCKTNOSUPPORT", "socket type not supported"},
|
|
+ {45, "EOPNOTSUPP", "operation not supported"},
|
|
+ {46, "EPFNOSUPPORT", "protocol family not supported"},
|
|
+ {47, "EAFNOSUPPORT", "address family not supported by protocol family"},
|
|
+ {48, "EADDRINUSE", "address already in use"},
|
|
+ {49, "EADDRNOTAVAIL", "can't assign requested address"},
|
|
+ {50, "ENETDOWN", "network is down"},
|
|
+ {51, "ENETUNREACH", "network is unreachable"},
|
|
+ {52, "ENETRESET", "network dropped connection on reset"},
|
|
+ {53, "ECONNABORTED", "software caused connection abort"},
|
|
+ {54, "ECONNRESET", "connection reset by peer"},
|
|
+ {55, "ENOBUFS", "no buffer space available"},
|
|
+ {56, "EISCONN", "socket is already connected"},
|
|
+ {57, "ENOTCONN", "socket is not connected"},
|
|
+ {58, "ESHUTDOWN", "can't send after socket shutdown"},
|
|
+ {59, "ETOOMANYREFS", "too many references: can't splice"},
|
|
+ {60, "ETIMEDOUT", "operation timed out"},
|
|
+ {61, "ECONNREFUSED", "connection refused"},
|
|
+ {62, "ELOOP", "too many levels of symbolic links"},
|
|
+ {63, "ENAMETOOLONG", "file name too long"},
|
|
+ {64, "EHOSTDOWN", "host is down"},
|
|
+ {65, "EHOSTUNREACH", "no route to host"},
|
|
+ {66, "ENOTEMPTY", "directory not empty"},
|
|
+ {67, "EPROCLIM", "too many processes"},
|
|
+ {68, "EUSERS", "too many users"},
|
|
+ {69, "EDQUOT", "disc quota exceeded"},
|
|
+ {70, "ESTALE", "stale NFS file handle"},
|
|
+ {71, "EREMOTE", "too many levels of remote in path"},
|
|
+ {72, "EBADRPC", "RPC struct is bad"},
|
|
+ {73, "ERPCMISMATCH", "RPC version wrong"},
|
|
+ {74, "EPROGUNAVAIL", "RPC prog. not avail"},
|
|
+ {75, "EPROGMISMATCH", "program version wrong"},
|
|
+ {76, "EPROCUNAVAIL", "bad procedure for program"},
|
|
+ {77, "ENOLCK", "no locks available"},
|
|
+ {78, "ENOSYS", "function not implemented"},
|
|
+ {79, "EFTYPE", "inappropriate file type or format"},
|
|
+ {80, "EAUTH", "authentication error"},
|
|
+ {81, "ENEEDAUTH", "need authenticator"},
|
|
+ {82, "EIDRM", "identifier removed"},
|
|
+ {83, "ENOMSG", "no message of desired type"},
|
|
+ {84, "EOVERFLOW", "value too large to be stored in data type"},
|
|
+ {85, "ECANCELED", "operation canceled"},
|
|
+ {86, "EILSEQ", "illegal byte sequence"},
|
|
+ {87, "ENOATTR", "attribute not found"},
|
|
+ {88, "EDOOFUS", "programming error"},
|
|
+ {89, "EBADMSG", "bad message"},
|
|
+ {90, "EMULTIHOP", "multihop attempted"},
|
|
+ {91, "ENOLINK", "link has been severed"},
|
|
+ {92, "EPROTO", "protocol error"},
|
|
+ {93, "ENOTCAPABLE", "capabilities insufficient"},
|
|
+ {94, "ECAPMODE", "not permitted in capability mode"},
|
|
+ {95, "ENOTRECOVERABLE", "state not recoverable"},
|
|
+ {96, "EOWNERDEAD", "previous owner died"},
|
|
+ {97, "EINTEGRITY", "integrity check failed"},
|
|
+}
|
|
+
|
|
+// Signal table
|
|
+var signalList = [...]struct {
|
|
+ num syscall.Signal
|
|
+ name string
|
|
+ desc string
|
|
+}{
|
|
+ {1, "SIGHUP", "hangup"},
|
|
+ {2, "SIGINT", "interrupt"},
|
|
+ {3, "SIGQUIT", "quit"},
|
|
+ {4, "SIGILL", "illegal instruction"},
|
|
+ {5, "SIGTRAP", "trace/BPT trap"},
|
|
+ {6, "SIGIOT", "abort trap"},
|
|
+ {7, "SIGEMT", "EMT trap"},
|
|
+ {8, "SIGFPE", "floating point exception"},
|
|
+ {9, "SIGKILL", "killed"},
|
|
+ {10, "SIGBUS", "bus error"},
|
|
+ {11, "SIGSEGV", "segmentation fault"},
|
|
+ {12, "SIGSYS", "bad system call"},
|
|
+ {13, "SIGPIPE", "broken pipe"},
|
|
+ {14, "SIGALRM", "alarm clock"},
|
|
+ {15, "SIGTERM", "terminated"},
|
|
+ {16, "SIGURG", "urgent I/O condition"},
|
|
+ {17, "SIGSTOP", "suspended (signal)"},
|
|
+ {18, "SIGTSTP", "suspended"},
|
|
+ {19, "SIGCONT", "continued"},
|
|
+ {20, "SIGCHLD", "child exited"},
|
|
+ {21, "SIGTTIN", "stopped (tty input)"},
|
|
+ {22, "SIGTTOU", "stopped (tty output)"},
|
|
+ {23, "SIGIO", "I/O possible"},
|
|
+ {24, "SIGXCPU", "cputime limit exceeded"},
|
|
+ {25, "SIGXFSZ", "filesize limit exceeded"},
|
|
+ {26, "SIGVTALRM", "virtual timer expired"},
|
|
+ {27, "SIGPROF", "profiling timer expired"},
|
|
+ {28, "SIGWINCH", "window size changes"},
|
|
+ {29, "SIGINFO", "information request"},
|
|
+ {30, "SIGUSR1", "user defined signal 1"},
|
|
+ {31, "SIGUSR2", "user defined signal 2"},
|
|
+ {32, "SIGTHR", "unknown signal"},
|
|
+ {33, "SIGLIBRT", "unknown signal"},
|
|
+}
|
|
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux.go b/vendor/golang.org/x/sys/unix/zerrors_linux.go
|
|
index d175aae..785d693 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zerrors_linux.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zerrors_linux.go
|
|
@@ -38,7 +38,8 @@ const (
|
|
AF_KEY = 0xf
|
|
AF_LLC = 0x1a
|
|
AF_LOCAL = 0x1
|
|
- AF_MAX = 0x2d
|
|
+ AF_MAX = 0x2e
|
|
+ AF_MCTP = 0x2d
|
|
AF_MPLS = 0x1c
|
|
AF_NETBEUI = 0xd
|
|
AF_NETLINK = 0x10
|
|
@@ -139,6 +140,306 @@ const (
|
|
ARPHRD_VOID = 0xffff
|
|
ARPHRD_VSOCKMON = 0x33a
|
|
ARPHRD_X25 = 0x10f
|
|
+ AUDIT_ADD = 0x3eb
|
|
+ AUDIT_ADD_RULE = 0x3f3
|
|
+ AUDIT_ALWAYS = 0x2
|
|
+ AUDIT_ANOM_ABEND = 0x6a5
|
|
+ AUDIT_ANOM_CREAT = 0x6a7
|
|
+ AUDIT_ANOM_LINK = 0x6a6
|
|
+ AUDIT_ANOM_PROMISCUOUS = 0x6a4
|
|
+ AUDIT_ARCH = 0xb
|
|
+ AUDIT_ARCH_AARCH64 = 0xc00000b7
|
|
+ AUDIT_ARCH_ALPHA = 0xc0009026
|
|
+ AUDIT_ARCH_ARCOMPACT = 0x4000005d
|
|
+ AUDIT_ARCH_ARCOMPACTBE = 0x5d
|
|
+ AUDIT_ARCH_ARCV2 = 0x400000c3
|
|
+ AUDIT_ARCH_ARCV2BE = 0xc3
|
|
+ AUDIT_ARCH_ARM = 0x40000028
|
|
+ AUDIT_ARCH_ARMEB = 0x28
|
|
+ AUDIT_ARCH_C6X = 0x4000008c
|
|
+ AUDIT_ARCH_C6XBE = 0x8c
|
|
+ AUDIT_ARCH_CRIS = 0x4000004c
|
|
+ AUDIT_ARCH_CSKY = 0x400000fc
|
|
+ AUDIT_ARCH_FRV = 0x5441
|
|
+ AUDIT_ARCH_H8300 = 0x2e
|
|
+ AUDIT_ARCH_HEXAGON = 0xa4
|
|
+ AUDIT_ARCH_I386 = 0x40000003
|
|
+ AUDIT_ARCH_IA64 = 0xc0000032
|
|
+ AUDIT_ARCH_LOONGARCH32 = 0x40000102
|
|
+ AUDIT_ARCH_LOONGARCH64 = 0xc0000102
|
|
+ AUDIT_ARCH_M32R = 0x58
|
|
+ AUDIT_ARCH_M68K = 0x4
|
|
+ AUDIT_ARCH_MICROBLAZE = 0xbd
|
|
+ AUDIT_ARCH_MIPS = 0x8
|
|
+ AUDIT_ARCH_MIPS64 = 0x80000008
|
|
+ AUDIT_ARCH_MIPS64N32 = 0xa0000008
|
|
+ AUDIT_ARCH_MIPSEL = 0x40000008
|
|
+ AUDIT_ARCH_MIPSEL64 = 0xc0000008
|
|
+ AUDIT_ARCH_MIPSEL64N32 = 0xe0000008
|
|
+ AUDIT_ARCH_NDS32 = 0x400000a7
|
|
+ AUDIT_ARCH_NDS32BE = 0xa7
|
|
+ AUDIT_ARCH_NIOS2 = 0x40000071
|
|
+ AUDIT_ARCH_OPENRISC = 0x5c
|
|
+ AUDIT_ARCH_PARISC = 0xf
|
|
+ AUDIT_ARCH_PARISC64 = 0x8000000f
|
|
+ AUDIT_ARCH_PPC = 0x14
|
|
+ AUDIT_ARCH_PPC64 = 0x80000015
|
|
+ AUDIT_ARCH_PPC64LE = 0xc0000015
|
|
+ AUDIT_ARCH_RISCV32 = 0x400000f3
|
|
+ AUDIT_ARCH_RISCV64 = 0xc00000f3
|
|
+ AUDIT_ARCH_S390 = 0x16
|
|
+ AUDIT_ARCH_S390X = 0x80000016
|
|
+ AUDIT_ARCH_SH = 0x2a
|
|
+ AUDIT_ARCH_SH64 = 0x8000002a
|
|
+ AUDIT_ARCH_SHEL = 0x4000002a
|
|
+ AUDIT_ARCH_SHEL64 = 0xc000002a
|
|
+ AUDIT_ARCH_SPARC = 0x2
|
|
+ AUDIT_ARCH_SPARC64 = 0x8000002b
|
|
+ AUDIT_ARCH_TILEGX = 0xc00000bf
|
|
+ AUDIT_ARCH_TILEGX32 = 0x400000bf
|
|
+ AUDIT_ARCH_TILEPRO = 0x400000bc
|
|
+ AUDIT_ARCH_UNICORE = 0x4000006e
|
|
+ AUDIT_ARCH_X86_64 = 0xc000003e
|
|
+ AUDIT_ARCH_XTENSA = 0x5e
|
|
+ AUDIT_ARG0 = 0xc8
|
|
+ AUDIT_ARG1 = 0xc9
|
|
+ AUDIT_ARG2 = 0xca
|
|
+ AUDIT_ARG3 = 0xcb
|
|
+ AUDIT_AVC = 0x578
|
|
+ AUDIT_AVC_PATH = 0x57a
|
|
+ AUDIT_BITMASK_SIZE = 0x40
|
|
+ AUDIT_BIT_MASK = 0x8000000
|
|
+ AUDIT_BIT_TEST = 0x48000000
|
|
+ AUDIT_BPF = 0x536
|
|
+ AUDIT_BPRM_FCAPS = 0x529
|
|
+ AUDIT_CAPSET = 0x52a
|
|
+ AUDIT_CLASS_CHATTR = 0x2
|
|
+ AUDIT_CLASS_CHATTR_32 = 0x3
|
|
+ AUDIT_CLASS_DIR_WRITE = 0x0
|
|
+ AUDIT_CLASS_DIR_WRITE_32 = 0x1
|
|
+ AUDIT_CLASS_READ = 0x4
|
|
+ AUDIT_CLASS_READ_32 = 0x5
|
|
+ AUDIT_CLASS_SIGNAL = 0x8
|
|
+ AUDIT_CLASS_SIGNAL_32 = 0x9
|
|
+ AUDIT_CLASS_WRITE = 0x6
|
|
+ AUDIT_CLASS_WRITE_32 = 0x7
|
|
+ AUDIT_COMPARE_AUID_TO_EUID = 0x10
|
|
+ AUDIT_COMPARE_AUID_TO_FSUID = 0xe
|
|
+ AUDIT_COMPARE_AUID_TO_OBJ_UID = 0x5
|
|
+ AUDIT_COMPARE_AUID_TO_SUID = 0xf
|
|
+ AUDIT_COMPARE_EGID_TO_FSGID = 0x17
|
|
+ AUDIT_COMPARE_EGID_TO_OBJ_GID = 0x4
|
|
+ AUDIT_COMPARE_EGID_TO_SGID = 0x18
|
|
+ AUDIT_COMPARE_EUID_TO_FSUID = 0x12
|
|
+ AUDIT_COMPARE_EUID_TO_OBJ_UID = 0x3
|
|
+ AUDIT_COMPARE_EUID_TO_SUID = 0x11
|
|
+ AUDIT_COMPARE_FSGID_TO_OBJ_GID = 0x9
|
|
+ AUDIT_COMPARE_FSUID_TO_OBJ_UID = 0x8
|
|
+ AUDIT_COMPARE_GID_TO_EGID = 0x14
|
|
+ AUDIT_COMPARE_GID_TO_FSGID = 0x15
|
|
+ AUDIT_COMPARE_GID_TO_OBJ_GID = 0x2
|
|
+ AUDIT_COMPARE_GID_TO_SGID = 0x16
|
|
+ AUDIT_COMPARE_SGID_TO_FSGID = 0x19
|
|
+ AUDIT_COMPARE_SGID_TO_OBJ_GID = 0x7
|
|
+ AUDIT_COMPARE_SUID_TO_FSUID = 0x13
|
|
+ AUDIT_COMPARE_SUID_TO_OBJ_UID = 0x6
|
|
+ AUDIT_COMPARE_UID_TO_AUID = 0xa
|
|
+ AUDIT_COMPARE_UID_TO_EUID = 0xb
|
|
+ AUDIT_COMPARE_UID_TO_FSUID = 0xc
|
|
+ AUDIT_COMPARE_UID_TO_OBJ_UID = 0x1
|
|
+ AUDIT_COMPARE_UID_TO_SUID = 0xd
|
|
+ AUDIT_CONFIG_CHANGE = 0x519
|
|
+ AUDIT_CWD = 0x51b
|
|
+ AUDIT_DAEMON_ABORT = 0x4b2
|
|
+ AUDIT_DAEMON_CONFIG = 0x4b3
|
|
+ AUDIT_DAEMON_END = 0x4b1
|
|
+ AUDIT_DAEMON_START = 0x4b0
|
|
+ AUDIT_DEL = 0x3ec
|
|
+ AUDIT_DEL_RULE = 0x3f4
|
|
+ AUDIT_DEVMAJOR = 0x64
|
|
+ AUDIT_DEVMINOR = 0x65
|
|
+ AUDIT_DIR = 0x6b
|
|
+ AUDIT_DM_CTRL = 0x53a
|
|
+ AUDIT_DM_EVENT = 0x53b
|
|
+ AUDIT_EGID = 0x6
|
|
+ AUDIT_EOE = 0x528
|
|
+ AUDIT_EQUAL = 0x40000000
|
|
+ AUDIT_EUID = 0x2
|
|
+ AUDIT_EVENT_LISTENER = 0x537
|
|
+ AUDIT_EXE = 0x70
|
|
+ AUDIT_EXECVE = 0x51d
|
|
+ AUDIT_EXIT = 0x67
|
|
+ AUDIT_FAIL_PANIC = 0x2
|
|
+ AUDIT_FAIL_PRINTK = 0x1
|
|
+ AUDIT_FAIL_SILENT = 0x0
|
|
+ AUDIT_FANOTIFY = 0x533
|
|
+ AUDIT_FD_PAIR = 0x525
|
|
+ AUDIT_FEATURE_BITMAP_ALL = 0x7f
|
|
+ AUDIT_FEATURE_BITMAP_BACKLOG_LIMIT = 0x1
|
|
+ AUDIT_FEATURE_BITMAP_BACKLOG_WAIT_TIME = 0x2
|
|
+ AUDIT_FEATURE_BITMAP_EXCLUDE_EXTEND = 0x8
|
|
+ AUDIT_FEATURE_BITMAP_EXECUTABLE_PATH = 0x4
|
|
+ AUDIT_FEATURE_BITMAP_FILTER_FS = 0x40
|
|
+ AUDIT_FEATURE_BITMAP_LOST_RESET = 0x20
|
|
+ AUDIT_FEATURE_BITMAP_SESSIONID_FILTER = 0x10
|
|
+ AUDIT_FEATURE_CHANGE = 0x530
|
|
+ AUDIT_FEATURE_LOGINUID_IMMUTABLE = 0x1
|
|
+ AUDIT_FEATURE_ONLY_UNSET_LOGINUID = 0x0
|
|
+ AUDIT_FEATURE_VERSION = 0x1
|
|
+ AUDIT_FIELD_COMPARE = 0x6f
|
|
+ AUDIT_FILETYPE = 0x6c
|
|
+ AUDIT_FILTERKEY = 0xd2
|
|
+ AUDIT_FILTER_ENTRY = 0x2
|
|
+ AUDIT_FILTER_EXCLUDE = 0x5
|
|
+ AUDIT_FILTER_EXIT = 0x4
|
|
+ AUDIT_FILTER_FS = 0x6
|
|
+ AUDIT_FILTER_PREPEND = 0x10
|
|
+ AUDIT_FILTER_TASK = 0x1
|
|
+ AUDIT_FILTER_TYPE = 0x5
|
|
+ AUDIT_FILTER_URING_EXIT = 0x7
|
|
+ AUDIT_FILTER_USER = 0x0
|
|
+ AUDIT_FILTER_WATCH = 0x3
|
|
+ AUDIT_FIRST_KERN_ANOM_MSG = 0x6a4
|
|
+ AUDIT_FIRST_USER_MSG = 0x44c
|
|
+ AUDIT_FIRST_USER_MSG2 = 0x834
|
|
+ AUDIT_FSGID = 0x8
|
|
+ AUDIT_FSTYPE = 0x1a
|
|
+ AUDIT_FSUID = 0x4
|
|
+ AUDIT_GET = 0x3e8
|
|
+ AUDIT_GET_FEATURE = 0x3fb
|
|
+ AUDIT_GID = 0x5
|
|
+ AUDIT_GREATER_THAN = 0x20000000
|
|
+ AUDIT_GREATER_THAN_OR_EQUAL = 0x60000000
|
|
+ AUDIT_INODE = 0x66
|
|
+ AUDIT_INTEGRITY_DATA = 0x708
|
|
+ AUDIT_INTEGRITY_EVM_XATTR = 0x70e
|
|
+ AUDIT_INTEGRITY_HASH = 0x70b
|
|
+ AUDIT_INTEGRITY_METADATA = 0x709
|
|
+ AUDIT_INTEGRITY_PCR = 0x70c
|
|
+ AUDIT_INTEGRITY_POLICY_RULE = 0x70f
|
|
+ AUDIT_INTEGRITY_RULE = 0x70d
|
|
+ AUDIT_INTEGRITY_STATUS = 0x70a
|
|
+ AUDIT_IPC = 0x517
|
|
+ AUDIT_IPC_SET_PERM = 0x51f
|
|
+ AUDIT_KERNEL = 0x7d0
|
|
+ AUDIT_KERNEL_OTHER = 0x524
|
|
+ AUDIT_KERN_MODULE = 0x532
|
|
+ AUDIT_LAST_FEATURE = 0x1
|
|
+ AUDIT_LAST_KERN_ANOM_MSG = 0x707
|
|
+ AUDIT_LAST_USER_MSG = 0x4af
|
|
+ AUDIT_LAST_USER_MSG2 = 0xbb7
|
|
+ AUDIT_LESS_THAN = 0x10000000
|
|
+ AUDIT_LESS_THAN_OR_EQUAL = 0x50000000
|
|
+ AUDIT_LIST = 0x3ea
|
|
+ AUDIT_LIST_RULES = 0x3f5
|
|
+ AUDIT_LOGIN = 0x3ee
|
|
+ AUDIT_LOGINUID = 0x9
|
|
+ AUDIT_LOGINUID_SET = 0x18
|
|
+ AUDIT_MAC_CALIPSO_ADD = 0x58a
|
|
+ AUDIT_MAC_CALIPSO_DEL = 0x58b
|
|
+ AUDIT_MAC_CIPSOV4_ADD = 0x57f
|
|
+ AUDIT_MAC_CIPSOV4_DEL = 0x580
|
|
+ AUDIT_MAC_CONFIG_CHANGE = 0x57d
|
|
+ AUDIT_MAC_IPSEC_ADDSA = 0x583
|
|
+ AUDIT_MAC_IPSEC_ADDSPD = 0x585
|
|
+ AUDIT_MAC_IPSEC_DELSA = 0x584
|
|
+ AUDIT_MAC_IPSEC_DELSPD = 0x586
|
|
+ AUDIT_MAC_IPSEC_EVENT = 0x587
|
|
+ AUDIT_MAC_MAP_ADD = 0x581
|
|
+ AUDIT_MAC_MAP_DEL = 0x582
|
|
+ AUDIT_MAC_POLICY_LOAD = 0x57b
|
|
+ AUDIT_MAC_STATUS = 0x57c
|
|
+ AUDIT_MAC_UNLBL_ALLOW = 0x57e
|
|
+ AUDIT_MAC_UNLBL_STCADD = 0x588
|
|
+ AUDIT_MAC_UNLBL_STCDEL = 0x589
|
|
+ AUDIT_MAKE_EQUIV = 0x3f7
|
|
+ AUDIT_MAX_FIELDS = 0x40
|
|
+ AUDIT_MAX_FIELD_COMPARE = 0x19
|
|
+ AUDIT_MAX_KEY_LEN = 0x100
|
|
+ AUDIT_MESSAGE_TEXT_MAX = 0x2170
|
|
+ AUDIT_MMAP = 0x52b
|
|
+ AUDIT_MQ_GETSETATTR = 0x523
|
|
+ AUDIT_MQ_NOTIFY = 0x522
|
|
+ AUDIT_MQ_OPEN = 0x520
|
|
+ AUDIT_MQ_SENDRECV = 0x521
|
|
+ AUDIT_MSGTYPE = 0xc
|
|
+ AUDIT_NEGATE = 0x80000000
|
|
+ AUDIT_NETFILTER_CFG = 0x52d
|
|
+ AUDIT_NETFILTER_PKT = 0x52c
|
|
+ AUDIT_NEVER = 0x0
|
|
+ AUDIT_NLGRP_MAX = 0x1
|
|
+ AUDIT_NOT_EQUAL = 0x30000000
|
|
+ AUDIT_NR_FILTERS = 0x8
|
|
+ AUDIT_OBJ_GID = 0x6e
|
|
+ AUDIT_OBJ_LEV_HIGH = 0x17
|
|
+ AUDIT_OBJ_LEV_LOW = 0x16
|
|
+ AUDIT_OBJ_PID = 0x526
|
|
+ AUDIT_OBJ_ROLE = 0x14
|
|
+ AUDIT_OBJ_TYPE = 0x15
|
|
+ AUDIT_OBJ_UID = 0x6d
|
|
+ AUDIT_OBJ_USER = 0x13
|
|
+ AUDIT_OPENAT2 = 0x539
|
|
+ AUDIT_OPERATORS = 0x78000000
|
|
+ AUDIT_PATH = 0x516
|
|
+ AUDIT_PERM = 0x6a
|
|
+ AUDIT_PERM_ATTR = 0x8
|
|
+ AUDIT_PERM_EXEC = 0x1
|
|
+ AUDIT_PERM_READ = 0x4
|
|
+ AUDIT_PERM_WRITE = 0x2
|
|
+ AUDIT_PERS = 0xa
|
|
+ AUDIT_PID = 0x0
|
|
+ AUDIT_POSSIBLE = 0x1
|
|
+ AUDIT_PPID = 0x12
|
|
+ AUDIT_PROCTITLE = 0x52f
|
|
+ AUDIT_REPLACE = 0x531
|
|
+ AUDIT_SADDR_FAM = 0x71
|
|
+ AUDIT_SECCOMP = 0x52e
|
|
+ AUDIT_SELINUX_ERR = 0x579
|
|
+ AUDIT_SESSIONID = 0x19
|
|
+ AUDIT_SET = 0x3e9
|
|
+ AUDIT_SET_FEATURE = 0x3fa
|
|
+ AUDIT_SGID = 0x7
|
|
+ AUDIT_SID_UNSET = 0xffffffff
|
|
+ AUDIT_SIGNAL_INFO = 0x3f2
|
|
+ AUDIT_SOCKADDR = 0x51a
|
|
+ AUDIT_SOCKETCALL = 0x518
|
|
+ AUDIT_STATUS_BACKLOG_LIMIT = 0x10
|
|
+ AUDIT_STATUS_BACKLOG_WAIT_TIME = 0x20
|
|
+ AUDIT_STATUS_BACKLOG_WAIT_TIME_ACTUAL = 0x80
|
|
+ AUDIT_STATUS_ENABLED = 0x1
|
|
+ AUDIT_STATUS_FAILURE = 0x2
|
|
+ AUDIT_STATUS_LOST = 0x40
|
|
+ AUDIT_STATUS_PID = 0x4
|
|
+ AUDIT_STATUS_RATE_LIMIT = 0x8
|
|
+ AUDIT_SUBJ_CLR = 0x11
|
|
+ AUDIT_SUBJ_ROLE = 0xe
|
|
+ AUDIT_SUBJ_SEN = 0x10
|
|
+ AUDIT_SUBJ_TYPE = 0xf
|
|
+ AUDIT_SUBJ_USER = 0xd
|
|
+ AUDIT_SUCCESS = 0x68
|
|
+ AUDIT_SUID = 0x3
|
|
+ AUDIT_SYSCALL = 0x514
|
|
+ AUDIT_SYSCALL_CLASSES = 0x10
|
|
+ AUDIT_TIME_ADJNTPVAL = 0x535
|
|
+ AUDIT_TIME_INJOFFSET = 0x534
|
|
+ AUDIT_TRIM = 0x3f6
|
|
+ AUDIT_TTY = 0x527
|
|
+ AUDIT_TTY_GET = 0x3f8
|
|
+ AUDIT_TTY_SET = 0x3f9
|
|
+ AUDIT_UID = 0x1
|
|
+ AUDIT_UID_UNSET = 0xffffffff
|
|
+ AUDIT_UNUSED_BITS = 0x7fffc00
|
|
+ AUDIT_URINGOP = 0x538
|
|
+ AUDIT_USER = 0x3ed
|
|
+ AUDIT_USER_AVC = 0x453
|
|
+ AUDIT_USER_TTY = 0x464
|
|
+ AUDIT_VERSION_BACKLOG_LIMIT = 0x1
|
|
+ AUDIT_VERSION_BACKLOG_WAIT_TIME = 0x2
|
|
+ AUDIT_VERSION_LATEST = 0x7f
|
|
+ AUDIT_WATCH = 0x69
|
|
+ AUDIT_WATCH_INS = 0x3ef
|
|
+ AUDIT_WATCH_LIST = 0x3f1
|
|
+ AUDIT_WATCH_REM = 0x3f0
|
|
AUTOFS_SUPER_MAGIC = 0x187
|
|
B0 = 0x0
|
|
B110 = 0x3
|
|
@@ -183,6 +484,7 @@ const (
|
|
BPF_F_ALLOW_MULTI = 0x2
|
|
BPF_F_ALLOW_OVERRIDE = 0x1
|
|
BPF_F_ANY_ALIGNMENT = 0x2
|
|
+ BPF_F_KPROBE_MULTI_RETURN = 0x1
|
|
BPF_F_QUERY_EFFECTIVE = 0x1
|
|
BPF_F_REPLACE = 0x4
|
|
BPF_F_SLEEPABLE = 0x10
|
|
@@ -190,6 +492,8 @@ const (
|
|
BPF_F_TEST_RND_HI32 = 0x4
|
|
BPF_F_TEST_RUN_ON_CPU = 0x1
|
|
BPF_F_TEST_STATE_FREQ = 0x8
|
|
+ BPF_F_TEST_XDP_LIVE_FRAMES = 0x2
|
|
+ BPF_F_XDP_HAS_FRAGS = 0x20
|
|
BPF_H = 0x8
|
|
BPF_IMM = 0x0
|
|
BPF_IND = 0x40
|
|
@@ -259,6 +563,17 @@ const (
|
|
BUS_USB = 0x3
|
|
BUS_VIRTUAL = 0x6
|
|
CAN_BCM = 0x2
|
|
+ CAN_CTRLMODE_3_SAMPLES = 0x4
|
|
+ CAN_CTRLMODE_BERR_REPORTING = 0x10
|
|
+ CAN_CTRLMODE_CC_LEN8_DLC = 0x100
|
|
+ CAN_CTRLMODE_FD = 0x20
|
|
+ CAN_CTRLMODE_FD_NON_ISO = 0x80
|
|
+ CAN_CTRLMODE_LISTENONLY = 0x2
|
|
+ CAN_CTRLMODE_LOOPBACK = 0x1
|
|
+ CAN_CTRLMODE_ONE_SHOT = 0x8
|
|
+ CAN_CTRLMODE_PRESUME_ACK = 0x40
|
|
+ CAN_CTRLMODE_TDC_AUTO = 0x200
|
|
+ CAN_CTRLMODE_TDC_MANUAL = 0x400
|
|
CAN_EFF_FLAG = 0x80000000
|
|
CAN_EFF_ID_BITS = 0x1d
|
|
CAN_EFF_MASK = 0x1fffffff
|
|
@@ -336,6 +651,7 @@ const (
|
|
CAN_RTR_FLAG = 0x40000000
|
|
CAN_SFF_ID_BITS = 0xb
|
|
CAN_SFF_MASK = 0x7ff
|
|
+ CAN_TERMINATION_DISABLED = 0x0
|
|
CAN_TP16 = 0x3
|
|
CAN_TP20 = 0x4
|
|
CAP_AUDIT_CONTROL = 0x1e
|
|
@@ -380,9 +696,11 @@ const (
|
|
CAP_SYS_TIME = 0x19
|
|
CAP_SYS_TTY_CONFIG = 0x1a
|
|
CAP_WAKE_ALARM = 0x23
|
|
+ CEPH_SUPER_MAGIC = 0xc36400
|
|
CFLUSH = 0xf
|
|
CGROUP2_SUPER_MAGIC = 0x63677270
|
|
CGROUP_SUPER_MAGIC = 0x27e0eb
|
|
+ CIFS_SUPER_MAGIC = 0xff534d42
|
|
CLOCK_BOOTTIME = 0x7
|
|
CLOCK_BOOTTIME_ALARM = 0x9
|
|
CLOCK_DEFAULT = 0x0
|
|
@@ -502,9 +820,9 @@ const (
|
|
DM_UUID_FLAG = 0x4000
|
|
DM_UUID_LEN = 0x81
|
|
DM_VERSION = 0xc138fd00
|
|
- DM_VERSION_EXTRA = "-ioctl (2021-03-22)"
|
|
+ DM_VERSION_EXTRA = "-ioctl (2022-02-22)"
|
|
DM_VERSION_MAJOR = 0x4
|
|
- DM_VERSION_MINOR = 0x2d
|
|
+ DM_VERSION_MINOR = 0x2e
|
|
DM_VERSION_PATCHLEVEL = 0x0
|
|
DT_BLK = 0x6
|
|
DT_CHR = 0x2
|
|
@@ -520,6 +838,55 @@ const (
|
|
EFD_SEMAPHORE = 0x1
|
|
EFIVARFS_MAGIC = 0xde5e81e4
|
|
EFS_SUPER_MAGIC = 0x414a53
|
|
+ EM_386 = 0x3
|
|
+ EM_486 = 0x6
|
|
+ EM_68K = 0x4
|
|
+ EM_860 = 0x7
|
|
+ EM_88K = 0x5
|
|
+ EM_AARCH64 = 0xb7
|
|
+ EM_ALPHA = 0x9026
|
|
+ EM_ALTERA_NIOS2 = 0x71
|
|
+ EM_ARCOMPACT = 0x5d
|
|
+ EM_ARCV2 = 0xc3
|
|
+ EM_ARM = 0x28
|
|
+ EM_BLACKFIN = 0x6a
|
|
+ EM_BPF = 0xf7
|
|
+ EM_CRIS = 0x4c
|
|
+ EM_CSKY = 0xfc
|
|
+ EM_CYGNUS_M32R = 0x9041
|
|
+ EM_CYGNUS_MN10300 = 0xbeef
|
|
+ EM_FRV = 0x5441
|
|
+ EM_H8_300 = 0x2e
|
|
+ EM_HEXAGON = 0xa4
|
|
+ EM_IA_64 = 0x32
|
|
+ EM_LOONGARCH = 0x102
|
|
+ EM_M32 = 0x1
|
|
+ EM_M32R = 0x58
|
|
+ EM_MICROBLAZE = 0xbd
|
|
+ EM_MIPS = 0x8
|
|
+ EM_MIPS_RS3_LE = 0xa
|
|
+ EM_MIPS_RS4_BE = 0xa
|
|
+ EM_MN10300 = 0x59
|
|
+ EM_NDS32 = 0xa7
|
|
+ EM_NONE = 0x0
|
|
+ EM_OPENRISC = 0x5c
|
|
+ EM_PARISC = 0xf
|
|
+ EM_PPC = 0x14
|
|
+ EM_PPC64 = 0x15
|
|
+ EM_RISCV = 0xf3
|
|
+ EM_S390 = 0x16
|
|
+ EM_S390_OLD = 0xa390
|
|
+ EM_SH = 0x2a
|
|
+ EM_SPARC = 0x2
|
|
+ EM_SPARC32PLUS = 0x12
|
|
+ EM_SPARCV9 = 0x2b
|
|
+ EM_SPU = 0x17
|
|
+ EM_TILEGX = 0xbf
|
|
+ EM_TILEPRO = 0xbc
|
|
+ EM_TI_C6000 = 0x8c
|
|
+ EM_UNICORE = 0x6e
|
|
+ EM_X86_64 = 0x3e
|
|
+ EM_XTENSA = 0x5e
|
|
ENCODING_DEFAULT = 0x0
|
|
ENCODING_FM_MARK = 0x3
|
|
ENCODING_FM_SPACE = 0x4
|
|
@@ -697,6 +1064,7 @@ const (
|
|
ETH_P_EDSA = 0xdada
|
|
ETH_P_ERSPAN = 0x88be
|
|
ETH_P_ERSPAN2 = 0x22eb
|
|
+ ETH_P_ETHERCAT = 0x88a4
|
|
ETH_P_FCOE = 0x8906
|
|
ETH_P_FIP = 0x8914
|
|
ETH_P_HDLC = 0x19
|
|
@@ -734,6 +1102,7 @@ const (
|
|
ETH_P_PPP_MP = 0x8
|
|
ETH_P_PPP_SES = 0x8864
|
|
ETH_P_PREAUTH = 0x88c7
|
|
+ ETH_P_PROFINET = 0x8892
|
|
ETH_P_PRP = 0x88fb
|
|
ETH_P_PUP = 0x200
|
|
ETH_P_PUPAT = 0x201
|
|
@@ -741,6 +1110,7 @@ const (
|
|
ETH_P_QINQ2 = 0x9200
|
|
ETH_P_QINQ3 = 0x9300
|
|
ETH_P_RARP = 0x8035
|
|
+ ETH_P_REALTEK = 0x8899
|
|
ETH_P_SCA = 0x6007
|
|
ETH_P_SLOW = 0x8809
|
|
ETH_P_SNAP = 0x5
|
|
@@ -770,6 +1140,7 @@ const (
|
|
EV_SYN = 0x0
|
|
EV_VERSION = 0x10001
|
|
EXABYTE_ENABLE_NEST = 0xf0
|
|
+ EXFAT_SUPER_MAGIC = 0x2011bab0
|
|
EXT2_SUPER_MAGIC = 0xef53
|
|
EXT3_SUPER_MAGIC = 0xef53
|
|
EXT4_SUPER_MAGIC = 0xef53
|
|
@@ -810,12 +1181,17 @@ const (
|
|
FAN_EPIDFD = -0x2
|
|
FAN_EVENT_INFO_TYPE_DFID = 0x3
|
|
FAN_EVENT_INFO_TYPE_DFID_NAME = 0x2
|
|
+ FAN_EVENT_INFO_TYPE_ERROR = 0x5
|
|
FAN_EVENT_INFO_TYPE_FID = 0x1
|
|
+ FAN_EVENT_INFO_TYPE_NEW_DFID_NAME = 0xc
|
|
+ FAN_EVENT_INFO_TYPE_OLD_DFID_NAME = 0xa
|
|
FAN_EVENT_INFO_TYPE_PIDFD = 0x4
|
|
FAN_EVENT_METADATA_LEN = 0x18
|
|
FAN_EVENT_ON_CHILD = 0x8000000
|
|
+ FAN_FS_ERROR = 0x8000
|
|
FAN_MARK_ADD = 0x1
|
|
FAN_MARK_DONT_FOLLOW = 0x4
|
|
+ FAN_MARK_EVICTABLE = 0x200
|
|
FAN_MARK_FILESYSTEM = 0x100
|
|
FAN_MARK_FLUSH = 0x80
|
|
FAN_MARK_IGNORED_MASK = 0x20
|
|
@@ -838,17 +1214,27 @@ const (
|
|
FAN_OPEN_EXEC_PERM = 0x40000
|
|
FAN_OPEN_PERM = 0x10000
|
|
FAN_Q_OVERFLOW = 0x4000
|
|
+ FAN_RENAME = 0x10000000
|
|
FAN_REPORT_DFID_NAME = 0xc00
|
|
+ FAN_REPORT_DFID_NAME_TARGET = 0x1e00
|
|
FAN_REPORT_DIR_FID = 0x400
|
|
FAN_REPORT_FID = 0x200
|
|
FAN_REPORT_NAME = 0x800
|
|
FAN_REPORT_PIDFD = 0x80
|
|
+ FAN_REPORT_TARGET_FID = 0x1000
|
|
FAN_REPORT_TID = 0x100
|
|
FAN_UNLIMITED_MARKS = 0x20
|
|
FAN_UNLIMITED_QUEUE = 0x10
|
|
FD_CLOEXEC = 0x1
|
|
FD_SETSIZE = 0x400
|
|
FF0 = 0x0
|
|
+ FIB_RULE_DEV_DETACHED = 0x8
|
|
+ FIB_RULE_FIND_SADDR = 0x10000
|
|
+ FIB_RULE_IIF_DETACHED = 0x8
|
|
+ FIB_RULE_INVERT = 0x2
|
|
+ FIB_RULE_OIF_DETACHED = 0x10
|
|
+ FIB_RULE_PERMANENT = 0x1
|
|
+ FIB_RULE_UNRESOLVED = 0x4
|
|
FIDEDUPERANGE = 0xc0189436
|
|
FSCRYPT_KEY_DESCRIPTOR_SIZE = 0x8
|
|
FSCRYPT_KEY_DESC_PREFIX = "fscrypt:"
|
|
@@ -911,6 +1297,7 @@ const (
|
|
FS_VERITY_METADATA_TYPE_DESCRIPTOR = 0x2
|
|
FS_VERITY_METADATA_TYPE_MERKLE_TREE = 0x1
|
|
FS_VERITY_METADATA_TYPE_SIGNATURE = 0x3
|
|
+ FUSE_SUPER_MAGIC = 0x65735546
|
|
FUTEXFS_SUPER_MAGIC = 0xbad1dea
|
|
F_ADD_SEALS = 0x409
|
|
F_DUPFD = 0x0
|
|
@@ -1023,7 +1410,7 @@ const (
|
|
IFA_F_STABLE_PRIVACY = 0x800
|
|
IFA_F_TEMPORARY = 0x1
|
|
IFA_F_TENTATIVE = 0x40
|
|
- IFA_MAX = 0xa
|
|
+ IFA_MAX = 0xb
|
|
IFF_ALLMULTI = 0x200
|
|
IFF_ATTACH_QUEUE = 0x200
|
|
IFF_AUTOMEDIA = 0x4000
|
|
@@ -1264,15 +1651,21 @@ const (
|
|
IP_XFRM_POLICY = 0x11
|
|
ISOFS_SUPER_MAGIC = 0x9660
|
|
ISTRIP = 0x20
|
|
+ ITIMER_PROF = 0x2
|
|
+ ITIMER_REAL = 0x0
|
|
+ ITIMER_VIRTUAL = 0x1
|
|
IUTF8 = 0x4000
|
|
IXANY = 0x800
|
|
JFFS2_SUPER_MAGIC = 0x72b6
|
|
+ KCMPROTO_CONNECTED = 0x0
|
|
+ KCM_RECV_DISABLE = 0x1
|
|
KEXEC_ARCH_386 = 0x30000
|
|
KEXEC_ARCH_68K = 0x40000
|
|
KEXEC_ARCH_AARCH64 = 0xb70000
|
|
KEXEC_ARCH_ARM = 0x280000
|
|
KEXEC_ARCH_DEFAULT = 0x0
|
|
KEXEC_ARCH_IA_64 = 0x320000
|
|
+ KEXEC_ARCH_LOONGARCH = 0x1020000
|
|
KEXEC_ARCH_MASK = 0xffff0000
|
|
KEXEC_ARCH_MIPS = 0x80000
|
|
KEXEC_ARCH_MIPS_LE = 0xa0000
|
|
@@ -1365,6 +1758,7 @@ const (
|
|
LANDLOCK_ACCESS_FS_MAKE_SYM = 0x1000
|
|
LANDLOCK_ACCESS_FS_READ_DIR = 0x8
|
|
LANDLOCK_ACCESS_FS_READ_FILE = 0x4
|
|
+ LANDLOCK_ACCESS_FS_REFER = 0x2000
|
|
LANDLOCK_ACCESS_FS_REMOVE_DIR = 0x10
|
|
LANDLOCK_ACCESS_FS_REMOVE_FILE = 0x20
|
|
LANDLOCK_ACCESS_FS_WRITE_FILE = 0x2
|
|
@@ -1474,6 +1868,7 @@ const (
|
|
MNT_DETACH = 0x2
|
|
MNT_EXPIRE = 0x4
|
|
MNT_FORCE = 0x1
|
|
+ MODULE_INIT_COMPRESSED_FILE = 0x4
|
|
MODULE_INIT_IGNORE_MODVERSIONS = 0x1
|
|
MODULE_INIT_IGNORE_VERMAGIC = 0x2
|
|
MOUNT_ATTR_IDMAP = 0x100000
|
|
@@ -1719,6 +2114,7 @@ const (
|
|
NLM_F_ACK_TLVS = 0x200
|
|
NLM_F_APPEND = 0x800
|
|
NLM_F_ATOMIC = 0x400
|
|
+ NLM_F_BULK = 0x200
|
|
NLM_F_CAPPED = 0x100
|
|
NLM_F_CREATE = 0x400
|
|
NLM_F_DUMP = 0x300
|
|
@@ -1827,6 +2223,11 @@ const (
|
|
PERF_MEM_BLK_DATA = 0x2
|
|
PERF_MEM_BLK_NA = 0x1
|
|
PERF_MEM_BLK_SHIFT = 0x28
|
|
+ PERF_MEM_HOPS_0 = 0x1
|
|
+ PERF_MEM_HOPS_1 = 0x2
|
|
+ PERF_MEM_HOPS_2 = 0x3
|
|
+ PERF_MEM_HOPS_3 = 0x4
|
|
+ PERF_MEM_HOPS_SHIFT = 0x2b
|
|
PERF_MEM_LOCK_LOCKED = 0x2
|
|
PERF_MEM_LOCK_NA = 0x1
|
|
PERF_MEM_LOCK_SHIFT = 0x18
|
|
@@ -1986,6 +2387,9 @@ const (
|
|
PR_SCHED_CORE_CREATE = 0x1
|
|
PR_SCHED_CORE_GET = 0x0
|
|
PR_SCHED_CORE_MAX = 0x4
|
|
+ PR_SCHED_CORE_SCOPE_PROCESS_GROUP = 0x2
|
|
+ PR_SCHED_CORE_SCOPE_THREAD = 0x0
|
|
+ PR_SCHED_CORE_SCOPE_THREAD_GROUP = 0x1
|
|
PR_SCHED_CORE_SHARE_FROM = 0x3
|
|
PR_SCHED_CORE_SHARE_TO = 0x2
|
|
PR_SET_CHILD_SUBREAPER = 0x24
|
|
@@ -2026,6 +2430,13 @@ const (
|
|
PR_SET_TIMING = 0xe
|
|
PR_SET_TSC = 0x1a
|
|
PR_SET_UNALIGN = 0x6
|
|
+ PR_SET_VMA = 0x53564d41
|
|
+ PR_SET_VMA_ANON_NAME = 0x0
|
|
+ PR_SME_GET_VL = 0x40
|
|
+ PR_SME_SET_VL = 0x3f
|
|
+ PR_SME_SET_VL_ONEXEC = 0x40000
|
|
+ PR_SME_VL_INHERIT = 0x20000
|
|
+ PR_SME_VL_LEN_MASK = 0xffff
|
|
PR_SPEC_DISABLE = 0x4
|
|
PR_SPEC_DISABLE_NOEXEC = 0x10
|
|
PR_SPEC_ENABLE = 0x2
|
|
@@ -2109,6 +2520,10 @@ const (
|
|
PTRACE_SYSCALL_INFO_NONE = 0x0
|
|
PTRACE_SYSCALL_INFO_SECCOMP = 0x3
|
|
PTRACE_TRACEME = 0x0
|
|
+ P_ALL = 0x0
|
|
+ P_PGID = 0x2
|
|
+ P_PID = 0x1
|
|
+ P_PIDFD = 0x3
|
|
QNX4_SUPER_MAGIC = 0x2f
|
|
QNX6_SUPER_MAGIC = 0x68191122
|
|
RAMFS_MAGIC = 0x858458f6
|
|
@@ -2167,12 +2582,24 @@ const (
|
|
RTCF_NAT = 0x800000
|
|
RTCF_VALVE = 0x200000
|
|
RTC_AF = 0x20
|
|
+ RTC_BSM_DIRECT = 0x1
|
|
+ RTC_BSM_DISABLED = 0x0
|
|
+ RTC_BSM_LEVEL = 0x2
|
|
+ RTC_BSM_STANDBY = 0x3
|
|
RTC_FEATURE_ALARM = 0x0
|
|
+ RTC_FEATURE_ALARM_RES_2S = 0x3
|
|
RTC_FEATURE_ALARM_RES_MINUTE = 0x1
|
|
- RTC_FEATURE_CNT = 0x3
|
|
+ RTC_FEATURE_ALARM_WAKEUP_ONLY = 0x7
|
|
+ RTC_FEATURE_BACKUP_SWITCH_MODE = 0x6
|
|
+ RTC_FEATURE_CNT = 0x8
|
|
+ RTC_FEATURE_CORRECTION = 0x5
|
|
RTC_FEATURE_NEED_WEEK_DAY = 0x2
|
|
+ RTC_FEATURE_UPDATE_INTERRUPT = 0x4
|
|
RTC_IRQF = 0x80
|
|
RTC_MAX_FREQ = 0x2000
|
|
+ RTC_PARAM_BACKUP_SWITCH_MODE = 0x2
|
|
+ RTC_PARAM_CORRECTION = 0x1
|
|
+ RTC_PARAM_FEATURES = 0x0
|
|
RTC_PF = 0x40
|
|
RTC_UF = 0x10
|
|
RTF_ADDRCLASSMASK = 0xf8000000
|
|
@@ -2238,6 +2665,7 @@ const (
|
|
RTM_DELRULE = 0x21
|
|
RTM_DELTCLASS = 0x29
|
|
RTM_DELTFILTER = 0x2d
|
|
+ RTM_DELTUNNEL = 0x79
|
|
RTM_DELVLAN = 0x71
|
|
RTM_F_CLONED = 0x200
|
|
RTM_F_EQUALIZE = 0x400
|
|
@@ -2270,8 +2698,9 @@ const (
|
|
RTM_GETSTATS = 0x5e
|
|
RTM_GETTCLASS = 0x2a
|
|
RTM_GETTFILTER = 0x2e
|
|
+ RTM_GETTUNNEL = 0x7a
|
|
RTM_GETVLAN = 0x72
|
|
- RTM_MAX = 0x77
|
|
+ RTM_MAX = 0x7b
|
|
RTM_NEWACTION = 0x30
|
|
RTM_NEWADDR = 0x14
|
|
RTM_NEWADDRLABEL = 0x48
|
|
@@ -2295,11 +2724,13 @@ const (
|
|
RTM_NEWSTATS = 0x5c
|
|
RTM_NEWTCLASS = 0x28
|
|
RTM_NEWTFILTER = 0x2c
|
|
- RTM_NR_FAMILIES = 0x1a
|
|
- RTM_NR_MSGTYPES = 0x68
|
|
+ RTM_NEWTUNNEL = 0x78
|
|
+ RTM_NR_FAMILIES = 0x1b
|
|
+ RTM_NR_MSGTYPES = 0x6c
|
|
RTM_SETDCB = 0x4f
|
|
RTM_SETLINK = 0x13
|
|
RTM_SETNEIGHTBL = 0x43
|
|
+ RTM_SETSTATS = 0x5f
|
|
RTNH_ALIGNTO = 0x4
|
|
RTNH_COMPARE_MASK = 0x59
|
|
RTNH_F_DEAD = 0x1
|
|
@@ -2423,6 +2854,9 @@ const (
|
|
SIOCGSTAMPNS = 0x8907
|
|
SIOCGSTAMPNS_OLD = 0x8907
|
|
SIOCGSTAMP_OLD = 0x8906
|
|
+ SIOCKCMATTACH = 0x89e0
|
|
+ SIOCKCMCLONE = 0x89e2
|
|
+ SIOCKCMUNATTACH = 0x89e1
|
|
SIOCOUTQNSD = 0x894b
|
|
SIOCPROTOPRIVATE = 0x89e0
|
|
SIOCRTMSG = 0x890d
|
|
@@ -2465,6 +2899,7 @@ const (
|
|
SMART_STATUS = 0xda
|
|
SMART_WRITE_LOG_SECTOR = 0xd6
|
|
SMART_WRITE_THRESHOLDS = 0xd7
|
|
+ SMB2_SUPER_MAGIC = 0xfe534d42
|
|
SMB_SUPER_MAGIC = 0x517b
|
|
SOCKFS_MAGIC = 0x534f434b
|
|
SOCK_BUF_LOCK_MASK = 0x3
|
|
@@ -2476,6 +2911,9 @@ const (
|
|
SOCK_RDM = 0x4
|
|
SOCK_SEQPACKET = 0x5
|
|
SOCK_SNDBUF_LOCK = 0x1
|
|
+ SOCK_TXREHASH_DEFAULT = 0xff
|
|
+ SOCK_TXREHASH_DISABLED = 0x0
|
|
+ SOCK_TXREHASH_ENABLED = 0x1
|
|
SOL_AAL = 0x109
|
|
SOL_ALG = 0x117
|
|
SOL_ATM = 0x108
|
|
@@ -2491,6 +2929,8 @@ const (
|
|
SOL_IUCV = 0x115
|
|
SOL_KCM = 0x119
|
|
SOL_LLC = 0x10c
|
|
+ SOL_MCTP = 0x11d
|
|
+ SOL_MPTCP = 0x11c
|
|
SOL_NETBEUI = 0x10b
|
|
SOL_NETLINK = 0x10e
|
|
SOL_NFC = 0x118
|
|
@@ -2500,6 +2940,7 @@ const (
|
|
SOL_RAW = 0xff
|
|
SOL_RDS = 0x114
|
|
SOL_RXRPC = 0x110
|
|
+ SOL_SMC = 0x11e
|
|
SOL_TCP = 0x6
|
|
SOL_TIPC = 0x10f
|
|
SOL_TLS = 0x11a
|
|
@@ -2532,6 +2973,8 @@ const (
|
|
SO_VM_SOCKETS_BUFFER_MIN_SIZE = 0x1
|
|
SO_VM_SOCKETS_BUFFER_SIZE = 0x0
|
|
SO_VM_SOCKETS_CONNECT_TIMEOUT = 0x6
|
|
+ SO_VM_SOCKETS_CONNECT_TIMEOUT_NEW = 0x8
|
|
+ SO_VM_SOCKETS_CONNECT_TIMEOUT_OLD = 0x6
|
|
SO_VM_SOCKETS_NONBLOCK_TXRX = 0x7
|
|
SO_VM_SOCKETS_PEER_HOST_VM_ID = 0x3
|
|
SO_VM_SOCKETS_TRUSTED = 0x5
|
|
@@ -2604,7 +3047,7 @@ const (
|
|
TASKSTATS_GENL_NAME = "TASKSTATS"
|
|
TASKSTATS_GENL_VERSION = 0x1
|
|
TASKSTATS_TYPE_MAX = 0x6
|
|
- TASKSTATS_VERSION = 0xa
|
|
+ TASKSTATS_VERSION = 0xd
|
|
TCIFLUSH = 0x0
|
|
TCIOFF = 0x2
|
|
TCIOFLUSH = 0x2
|
|
@@ -2826,6 +3269,13 @@ const (
|
|
WDIOS_TEMPPANIC = 0x4
|
|
WDIOS_UNKNOWN = -0x1
|
|
WEXITED = 0x4
|
|
+ WGALLOWEDIP_A_MAX = 0x3
|
|
+ WGDEVICE_A_MAX = 0x8
|
|
+ WGPEER_A_MAX = 0xa
|
|
+ WG_CMD_MAX = 0x1
|
|
+ WG_GENL_NAME = "wireguard"
|
|
+ WG_GENL_VERSION = 0x1
|
|
+ WG_KEY_LEN = 0x20
|
|
WIN_ACKMEDIACHANGE = 0xdb
|
|
WIN_CHECKPOWERMODE1 = 0xe5
|
|
WIN_CHECKPOWERMODE2 = 0x98
|
|
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_386.go b/vendor/golang.org/x/sys/unix/zerrors_linux_386.go
|
|
index 3ca40ca..36c0dfc 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zerrors_linux_386.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_386.go
|
|
@@ -1,11 +1,11 @@
|
|
-// mkerrors.sh -Wall -Werror -static -I/tmp/include -m32
|
|
+// mkerrors.sh -Wall -Werror -static -I/tmp/386/include -m32
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build 386 && linux
|
|
// +build 386,linux
|
|
|
|
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
|
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include -m32 /build/unix/_const.go
|
|
+// cgo -godefs -- -Wall -Werror -static -I/tmp/386/include -m32 _const.go
|
|
|
|
package unix
|
|
|
|
@@ -250,6 +250,8 @@ const (
|
|
RTC_EPOCH_SET = 0x4004700e
|
|
RTC_IRQP_READ = 0x8004700b
|
|
RTC_IRQP_SET = 0x4004700c
|
|
+ RTC_PARAM_GET = 0x40187013
|
|
+ RTC_PARAM_SET = 0x40187014
|
|
RTC_PIE_OFF = 0x7006
|
|
RTC_PIE_ON = 0x7005
|
|
RTC_PLL_GET = 0x801c7011
|
|
@@ -324,9 +326,11 @@ const (
|
|
SO_RCVBUF = 0x8
|
|
SO_RCVBUFFORCE = 0x21
|
|
SO_RCVLOWAT = 0x12
|
|
+ SO_RCVMARK = 0x4b
|
|
SO_RCVTIMEO = 0x14
|
|
SO_RCVTIMEO_NEW = 0x42
|
|
SO_RCVTIMEO_OLD = 0x14
|
|
+ SO_RESERVE_MEM = 0x49
|
|
SO_REUSEADDR = 0x2
|
|
SO_REUSEPORT = 0xf
|
|
SO_RXQ_OVFL = 0x28
|
|
@@ -347,6 +351,7 @@ const (
|
|
SO_TIMESTAMPNS_NEW = 0x40
|
|
SO_TIMESTAMPNS_OLD = 0x23
|
|
SO_TIMESTAMP_NEW = 0x3f
|
|
+ SO_TXREHASH = 0x4a
|
|
SO_TXTIME = 0x3d
|
|
SO_TYPE = 0x3
|
|
SO_WIFI_STATUS = 0x29
|
|
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go
|
|
index ead3320..4ff9427 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go
|
|
@@ -1,11 +1,11 @@
|
|
-// mkerrors.sh -Wall -Werror -static -I/tmp/include -m64
|
|
+// mkerrors.sh -Wall -Werror -static -I/tmp/amd64/include -m64
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build amd64 && linux
|
|
// +build amd64,linux
|
|
|
|
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
|
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include -m64 /build/unix/_const.go
|
|
+// cgo -godefs -- -Wall -Werror -static -I/tmp/amd64/include -m64 _const.go
|
|
|
|
package unix
|
|
|
|
@@ -251,6 +251,8 @@ const (
|
|
RTC_EPOCH_SET = 0x4008700e
|
|
RTC_IRQP_READ = 0x8008700b
|
|
RTC_IRQP_SET = 0x4008700c
|
|
+ RTC_PARAM_GET = 0x40187013
|
|
+ RTC_PARAM_SET = 0x40187014
|
|
RTC_PIE_OFF = 0x7006
|
|
RTC_PIE_ON = 0x7005
|
|
RTC_PLL_GET = 0x80207011
|
|
@@ -325,9 +327,11 @@ const (
|
|
SO_RCVBUF = 0x8
|
|
SO_RCVBUFFORCE = 0x21
|
|
SO_RCVLOWAT = 0x12
|
|
+ SO_RCVMARK = 0x4b
|
|
SO_RCVTIMEO = 0x14
|
|
SO_RCVTIMEO_NEW = 0x42
|
|
SO_RCVTIMEO_OLD = 0x14
|
|
+ SO_RESERVE_MEM = 0x49
|
|
SO_REUSEADDR = 0x2
|
|
SO_REUSEPORT = 0xf
|
|
SO_RXQ_OVFL = 0x28
|
|
@@ -348,6 +352,7 @@ const (
|
|
SO_TIMESTAMPNS_NEW = 0x40
|
|
SO_TIMESTAMPNS_OLD = 0x23
|
|
SO_TIMESTAMP_NEW = 0x3f
|
|
+ SO_TXREHASH = 0x4a
|
|
SO_TXTIME = 0x3d
|
|
SO_TYPE = 0x3
|
|
SO_WIFI_STATUS = 0x29
|
|
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go b/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go
|
|
index 39bdc94..3eaa0fb 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go
|
|
@@ -1,11 +1,11 @@
|
|
-// mkerrors.sh -Wall -Werror -static -I/tmp/include
|
|
+// mkerrors.sh -Wall -Werror -static -I/tmp/arm/include
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build arm && linux
|
|
// +build arm,linux
|
|
|
|
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
|
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/_const.go
|
|
+// cgo -godefs -- -Wall -Werror -static -I/tmp/arm/include _const.go
|
|
|
|
package unix
|
|
|
|
@@ -257,6 +257,8 @@ const (
|
|
RTC_EPOCH_SET = 0x4004700e
|
|
RTC_IRQP_READ = 0x8004700b
|
|
RTC_IRQP_SET = 0x4004700c
|
|
+ RTC_PARAM_GET = 0x40187013
|
|
+ RTC_PARAM_SET = 0x40187014
|
|
RTC_PIE_OFF = 0x7006
|
|
RTC_PIE_ON = 0x7005
|
|
RTC_PLL_GET = 0x801c7011
|
|
@@ -331,9 +333,11 @@ const (
|
|
SO_RCVBUF = 0x8
|
|
SO_RCVBUFFORCE = 0x21
|
|
SO_RCVLOWAT = 0x12
|
|
+ SO_RCVMARK = 0x4b
|
|
SO_RCVTIMEO = 0x14
|
|
SO_RCVTIMEO_NEW = 0x42
|
|
SO_RCVTIMEO_OLD = 0x14
|
|
+ SO_RESERVE_MEM = 0x49
|
|
SO_REUSEADDR = 0x2
|
|
SO_REUSEPORT = 0xf
|
|
SO_RXQ_OVFL = 0x28
|
|
@@ -354,6 +358,7 @@ const (
|
|
SO_TIMESTAMPNS_NEW = 0x40
|
|
SO_TIMESTAMPNS_OLD = 0x23
|
|
SO_TIMESTAMP_NEW = 0x3f
|
|
+ SO_TXREHASH = 0x4a
|
|
SO_TXTIME = 0x3d
|
|
SO_TYPE = 0x3
|
|
SO_WIFI_STATUS = 0x29
|
|
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go
|
|
index 9aec987..d7995bd 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go
|
|
@@ -1,11 +1,11 @@
|
|
-// mkerrors.sh -Wall -Werror -static -I/tmp/include -fsigned-char
|
|
+// mkerrors.sh -Wall -Werror -static -I/tmp/arm64/include -fsigned-char
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build arm64 && linux
|
|
// +build arm64,linux
|
|
|
|
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
|
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char /build/unix/_const.go
|
|
+// cgo -godefs -- -Wall -Werror -static -I/tmp/arm64/include -fsigned-char _const.go
|
|
|
|
package unix
|
|
|
|
@@ -247,6 +247,8 @@ const (
|
|
RTC_EPOCH_SET = 0x4008700e
|
|
RTC_IRQP_READ = 0x8008700b
|
|
RTC_IRQP_SET = 0x4008700c
|
|
+ RTC_PARAM_GET = 0x40187013
|
|
+ RTC_PARAM_SET = 0x40187014
|
|
RTC_PIE_OFF = 0x7006
|
|
RTC_PIE_ON = 0x7005
|
|
RTC_PLL_GET = 0x80207011
|
|
@@ -321,9 +323,11 @@ const (
|
|
SO_RCVBUF = 0x8
|
|
SO_RCVBUFFORCE = 0x21
|
|
SO_RCVLOWAT = 0x12
|
|
+ SO_RCVMARK = 0x4b
|
|
SO_RCVTIMEO = 0x14
|
|
SO_RCVTIMEO_NEW = 0x42
|
|
SO_RCVTIMEO_OLD = 0x14
|
|
+ SO_RESERVE_MEM = 0x49
|
|
SO_REUSEADDR = 0x2
|
|
SO_REUSEPORT = 0xf
|
|
SO_RXQ_OVFL = 0x28
|
|
@@ -344,6 +348,7 @@ const (
|
|
SO_TIMESTAMPNS_NEW = 0x40
|
|
SO_TIMESTAMPNS_OLD = 0x23
|
|
SO_TIMESTAMP_NEW = 0x3f
|
|
+ SO_TXREHASH = 0x4a
|
|
SO_TXTIME = 0x3d
|
|
SO_TYPE = 0x3
|
|
SO_WIFI_STATUS = 0x29
|
|
@@ -508,6 +513,7 @@ const (
|
|
WORDSIZE = 0x40
|
|
XCASE = 0x4
|
|
XTABS = 0x1800
|
|
+ ZA_MAGIC = 0x54366345
|
|
_HIDIOCGRAWNAME = 0x80804804
|
|
_HIDIOCGRAWPHYS = 0x80404805
|
|
_HIDIOCGRAWUNIQ = 0x80404808
|
|
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go
|
|
new file mode 100644
|
|
index 0000000..928e24c
|
|
--- /dev/null
|
|
+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go
|
|
@@ -0,0 +1,818 @@
|
|
+// mkerrors.sh -Wall -Werror -static -I/tmp/loong64/include
|
|
+// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
+
|
|
+//go:build loong64 && linux
|
|
+// +build loong64,linux
|
|
+
|
|
+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
|
+// cgo -godefs -- -Wall -Werror -static -I/tmp/loong64/include _const.go
|
|
+
|
|
+package unix
|
|
+
|
|
+import "syscall"
|
|
+
|
|
+const (
|
|
+ B1000000 = 0x1008
|
|
+ B115200 = 0x1002
|
|
+ B1152000 = 0x1009
|
|
+ B1500000 = 0x100a
|
|
+ B2000000 = 0x100b
|
|
+ B230400 = 0x1003
|
|
+ B2500000 = 0x100c
|
|
+ B3000000 = 0x100d
|
|
+ B3500000 = 0x100e
|
|
+ B4000000 = 0x100f
|
|
+ B460800 = 0x1004
|
|
+ B500000 = 0x1005
|
|
+ B57600 = 0x1001
|
|
+ B576000 = 0x1006
|
|
+ B921600 = 0x1007
|
|
+ BLKBSZGET = 0x80081270
|
|
+ BLKBSZSET = 0x40081271
|
|
+ BLKFLSBUF = 0x1261
|
|
+ BLKFRAGET = 0x1265
|
|
+ BLKFRASET = 0x1264
|
|
+ BLKGETSIZE = 0x1260
|
|
+ BLKGETSIZE64 = 0x80081272
|
|
+ BLKPBSZGET = 0x127b
|
|
+ BLKRAGET = 0x1263
|
|
+ BLKRASET = 0x1262
|
|
+ BLKROGET = 0x125e
|
|
+ BLKROSET = 0x125d
|
|
+ BLKRRPART = 0x125f
|
|
+ BLKSECTGET = 0x1267
|
|
+ BLKSECTSET = 0x1266
|
|
+ BLKSSZGET = 0x1268
|
|
+ BOTHER = 0x1000
|
|
+ BS1 = 0x2000
|
|
+ BSDLY = 0x2000
|
|
+ CBAUD = 0x100f
|
|
+ CBAUDEX = 0x1000
|
|
+ CIBAUD = 0x100f0000
|
|
+ CLOCAL = 0x800
|
|
+ CR1 = 0x200
|
|
+ CR2 = 0x400
|
|
+ CR3 = 0x600
|
|
+ CRDLY = 0x600
|
|
+ CREAD = 0x80
|
|
+ CS6 = 0x10
|
|
+ CS7 = 0x20
|
|
+ CS8 = 0x30
|
|
+ CSIZE = 0x30
|
|
+ CSTOPB = 0x40
|
|
+ ECCGETLAYOUT = 0x81484d11
|
|
+ ECCGETSTATS = 0x80104d12
|
|
+ ECHOCTL = 0x200
|
|
+ ECHOE = 0x10
|
|
+ ECHOK = 0x20
|
|
+ ECHOKE = 0x800
|
|
+ ECHONL = 0x40
|
|
+ ECHOPRT = 0x400
|
|
+ EFD_CLOEXEC = 0x80000
|
|
+ EFD_NONBLOCK = 0x800
|
|
+ EPOLL_CLOEXEC = 0x80000
|
|
+ EXTPROC = 0x10000
|
|
+ FF1 = 0x8000
|
|
+ FFDLY = 0x8000
|
|
+ FICLONE = 0x40049409
|
|
+ FICLONERANGE = 0x4020940d
|
|
+ FLUSHO = 0x1000
|
|
+ FPU_CTX_MAGIC = 0x46505501
|
|
+ FS_IOC_ENABLE_VERITY = 0x40806685
|
|
+ FS_IOC_GETFLAGS = 0x80086601
|
|
+ FS_IOC_GET_ENCRYPTION_NONCE = 0x8010661b
|
|
+ FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615
|
|
+ FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614
|
|
+ FS_IOC_SETFLAGS = 0x40086602
|
|
+ FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613
|
|
+ F_GETLK = 0x5
|
|
+ F_GETLK64 = 0x5
|
|
+ F_GETOWN = 0x9
|
|
+ F_RDLCK = 0x0
|
|
+ F_SETLK = 0x6
|
|
+ F_SETLK64 = 0x6
|
|
+ F_SETLKW = 0x7
|
|
+ F_SETLKW64 = 0x7
|
|
+ F_SETOWN = 0x8
|
|
+ F_UNLCK = 0x2
|
|
+ F_WRLCK = 0x1
|
|
+ HIDIOCGRAWINFO = 0x80084803
|
|
+ HIDIOCGRDESC = 0x90044802
|
|
+ HIDIOCGRDESCSIZE = 0x80044801
|
|
+ HUPCL = 0x400
|
|
+ ICANON = 0x2
|
|
+ IEXTEN = 0x8000
|
|
+ IN_CLOEXEC = 0x80000
|
|
+ IN_NONBLOCK = 0x800
|
|
+ IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x7b9
|
|
+ ISIG = 0x1
|
|
+ IUCLC = 0x200
|
|
+ IXOFF = 0x1000
|
|
+ IXON = 0x400
|
|
+ MAP_ANON = 0x20
|
|
+ MAP_ANONYMOUS = 0x20
|
|
+ MAP_DENYWRITE = 0x800
|
|
+ MAP_EXECUTABLE = 0x1000
|
|
+ MAP_GROWSDOWN = 0x100
|
|
+ MAP_HUGETLB = 0x40000
|
|
+ MAP_LOCKED = 0x2000
|
|
+ MAP_NONBLOCK = 0x10000
|
|
+ MAP_NORESERVE = 0x4000
|
|
+ MAP_POPULATE = 0x8000
|
|
+ MAP_STACK = 0x20000
|
|
+ MAP_SYNC = 0x80000
|
|
+ MCL_CURRENT = 0x1
|
|
+ MCL_FUTURE = 0x2
|
|
+ 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
|
|
+ NLDLY = 0x100
|
|
+ NOFLSH = 0x80
|
|
+ NS_GET_NSTYPE = 0xb703
|
|
+ NS_GET_OWNER_UID = 0xb704
|
|
+ NS_GET_PARENT = 0xb702
|
|
+ NS_GET_USERNS = 0xb701
|
|
+ OLCUC = 0x2
|
|
+ ONLCR = 0x4
|
|
+ OTPERASE = 0x400c4d19
|
|
+ OTPGETREGIONCOUNT = 0x40044d0e
|
|
+ OTPGETREGIONINFO = 0x400c4d0f
|
|
+ OTPLOCK = 0x800c4d10
|
|
+ OTPSELECT = 0x80044d0d
|
|
+ O_APPEND = 0x400
|
|
+ O_ASYNC = 0x2000
|
|
+ O_CLOEXEC = 0x80000
|
|
+ O_CREAT = 0x40
|
|
+ O_DIRECT = 0x4000
|
|
+ O_DIRECTORY = 0x10000
|
|
+ O_DSYNC = 0x1000
|
|
+ O_EXCL = 0x80
|
|
+ O_FSYNC = 0x101000
|
|
+ O_LARGEFILE = 0x0
|
|
+ O_NDELAY = 0x800
|
|
+ O_NOATIME = 0x40000
|
|
+ O_NOCTTY = 0x100
|
|
+ O_NOFOLLOW = 0x20000
|
|
+ O_NONBLOCK = 0x800
|
|
+ O_PATH = 0x200000
|
|
+ O_RSYNC = 0x101000
|
|
+ O_SYNC = 0x101000
|
|
+ O_TMPFILE = 0x410000
|
|
+ O_TRUNC = 0x200
|
|
+ PARENB = 0x100
|
|
+ PARODD = 0x200
|
|
+ PENDIN = 0x4000
|
|
+ PERF_EVENT_IOC_DISABLE = 0x2401
|
|
+ PERF_EVENT_IOC_ENABLE = 0x2400
|
|
+ PERF_EVENT_IOC_ID = 0x80082407
|
|
+ PERF_EVENT_IOC_MODIFY_ATTRIBUTES = 0x4008240b
|
|
+ PERF_EVENT_IOC_PAUSE_OUTPUT = 0x40042409
|
|
+ PERF_EVENT_IOC_PERIOD = 0x40082404
|
|
+ PERF_EVENT_IOC_QUERY_BPF = 0xc008240a
|
|
+ PERF_EVENT_IOC_REFRESH = 0x2402
|
|
+ PERF_EVENT_IOC_RESET = 0x2403
|
|
+ PERF_EVENT_IOC_SET_BPF = 0x40042408
|
|
+ PERF_EVENT_IOC_SET_FILTER = 0x40082406
|
|
+ PERF_EVENT_IOC_SET_OUTPUT = 0x2405
|
|
+ PPPIOCATTACH = 0x4004743d
|
|
+ PPPIOCATTCHAN = 0x40047438
|
|
+ PPPIOCBRIDGECHAN = 0x40047435
|
|
+ PPPIOCCONNECT = 0x4004743a
|
|
+ PPPIOCDETACH = 0x4004743c
|
|
+ PPPIOCDISCONN = 0x7439
|
|
+ PPPIOCGASYNCMAP = 0x80047458
|
|
+ PPPIOCGCHAN = 0x80047437
|
|
+ PPPIOCGDEBUG = 0x80047441
|
|
+ PPPIOCGFLAGS = 0x8004745a
|
|
+ PPPIOCGIDLE = 0x8010743f
|
|
+ PPPIOCGIDLE32 = 0x8008743f
|
|
+ PPPIOCGIDLE64 = 0x8010743f
|
|
+ PPPIOCGL2TPSTATS = 0x80487436
|
|
+ PPPIOCGMRU = 0x80047453
|
|
+ PPPIOCGRASYNCMAP = 0x80047455
|
|
+ PPPIOCGUNIT = 0x80047456
|
|
+ PPPIOCGXASYNCMAP = 0x80207450
|
|
+ PPPIOCSACTIVE = 0x40107446
|
|
+ PPPIOCSASYNCMAP = 0x40047457
|
|
+ PPPIOCSCOMPRESS = 0x4010744d
|
|
+ PPPIOCSDEBUG = 0x40047440
|
|
+ PPPIOCSFLAGS = 0x40047459
|
|
+ PPPIOCSMAXCID = 0x40047451
|
|
+ PPPIOCSMRRU = 0x4004743b
|
|
+ PPPIOCSMRU = 0x40047452
|
|
+ PPPIOCSNPMODE = 0x4008744b
|
|
+ PPPIOCSPASS = 0x40107447
|
|
+ PPPIOCSRASYNCMAP = 0x40047454
|
|
+ PPPIOCSXASYNCMAP = 0x4020744f
|
|
+ PPPIOCUNBRIDGECHAN = 0x7434
|
|
+ PPPIOCXFERUNIT = 0x744e
|
|
+ PR_SET_PTRACER_ANY = 0xffffffffffffffff
|
|
+ PTRACE_SYSEMU = 0x1f
|
|
+ PTRACE_SYSEMU_SINGLESTEP = 0x20
|
|
+ RLIMIT_AS = 0x9
|
|
+ RLIMIT_MEMLOCK = 0x8
|
|
+ RLIMIT_NOFILE = 0x7
|
|
+ RLIMIT_NPROC = 0x6
|
|
+ RLIMIT_RSS = 0x5
|
|
+ RNDADDENTROPY = 0x40085203
|
|
+ RNDADDTOENTCNT = 0x40045201
|
|
+ RNDCLEARPOOL = 0x5206
|
|
+ RNDGETENTCNT = 0x80045200
|
|
+ RNDGETPOOL = 0x80085202
|
|
+ RNDRESEEDCRNG = 0x5207
|
|
+ RNDZAPENTCNT = 0x5204
|
|
+ RTC_AIE_OFF = 0x7002
|
|
+ RTC_AIE_ON = 0x7001
|
|
+ RTC_ALM_READ = 0x80247008
|
|
+ RTC_ALM_SET = 0x40247007
|
|
+ RTC_EPOCH_READ = 0x8008700d
|
|
+ RTC_EPOCH_SET = 0x4008700e
|
|
+ RTC_IRQP_READ = 0x8008700b
|
|
+ RTC_IRQP_SET = 0x4008700c
|
|
+ RTC_PARAM_GET = 0x40187013
|
|
+ RTC_PARAM_SET = 0x40187014
|
|
+ RTC_PIE_OFF = 0x7006
|
|
+ RTC_PIE_ON = 0x7005
|
|
+ RTC_PLL_GET = 0x80207011
|
|
+ RTC_PLL_SET = 0x40207012
|
|
+ RTC_RD_TIME = 0x80247009
|
|
+ RTC_SET_TIME = 0x4024700a
|
|
+ RTC_UIE_OFF = 0x7004
|
|
+ RTC_UIE_ON = 0x7003
|
|
+ RTC_VL_CLR = 0x7014
|
|
+ RTC_VL_READ = 0x80047013
|
|
+ RTC_WIE_OFF = 0x7010
|
|
+ RTC_WIE_ON = 0x700f
|
|
+ RTC_WKALM_RD = 0x80287010
|
|
+ RTC_WKALM_SET = 0x4028700f
|
|
+ SCM_TIMESTAMPING = 0x25
|
|
+ SCM_TIMESTAMPING_OPT_STATS = 0x36
|
|
+ SCM_TIMESTAMPING_PKTINFO = 0x3a
|
|
+ SCM_TIMESTAMPNS = 0x23
|
|
+ SCM_TXTIME = 0x3d
|
|
+ SCM_WIFI_STATUS = 0x29
|
|
+ SFD_CLOEXEC = 0x80000
|
|
+ SFD_NONBLOCK = 0x800
|
|
+ SIOCATMARK = 0x8905
|
|
+ SIOCGPGRP = 0x8904
|
|
+ SIOCGSTAMPNS_NEW = 0x80108907
|
|
+ SIOCGSTAMP_NEW = 0x80108906
|
|
+ SIOCINQ = 0x541b
|
|
+ SIOCOUTQ = 0x5411
|
|
+ SIOCSPGRP = 0x8902
|
|
+ SOCK_CLOEXEC = 0x80000
|
|
+ SOCK_DGRAM = 0x2
|
|
+ SOCK_NONBLOCK = 0x800
|
|
+ SOCK_STREAM = 0x1
|
|
+ SOL_SOCKET = 0x1
|
|
+ SO_ACCEPTCONN = 0x1e
|
|
+ SO_ATTACH_BPF = 0x32
|
|
+ SO_ATTACH_REUSEPORT_CBPF = 0x33
|
|
+ SO_ATTACH_REUSEPORT_EBPF = 0x34
|
|
+ SO_BINDTODEVICE = 0x19
|
|
+ SO_BINDTOIFINDEX = 0x3e
|
|
+ SO_BPF_EXTENSIONS = 0x30
|
|
+ SO_BROADCAST = 0x6
|
|
+ SO_BSDCOMPAT = 0xe
|
|
+ SO_BUF_LOCK = 0x48
|
|
+ SO_BUSY_POLL = 0x2e
|
|
+ SO_BUSY_POLL_BUDGET = 0x46
|
|
+ SO_CNX_ADVICE = 0x35
|
|
+ SO_COOKIE = 0x39
|
|
+ SO_DETACH_REUSEPORT_BPF = 0x44
|
|
+ SO_DOMAIN = 0x27
|
|
+ SO_DONTROUTE = 0x5
|
|
+ SO_ERROR = 0x4
|
|
+ SO_INCOMING_CPU = 0x31
|
|
+ SO_INCOMING_NAPI_ID = 0x38
|
|
+ SO_KEEPALIVE = 0x9
|
|
+ SO_LINGER = 0xd
|
|
+ SO_LOCK_FILTER = 0x2c
|
|
+ SO_MARK = 0x24
|
|
+ SO_MAX_PACING_RATE = 0x2f
|
|
+ SO_MEMINFO = 0x37
|
|
+ SO_NETNS_COOKIE = 0x47
|
|
+ SO_NOFCS = 0x2b
|
|
+ SO_OOBINLINE = 0xa
|
|
+ SO_PASSCRED = 0x10
|
|
+ SO_PASSSEC = 0x22
|
|
+ SO_PEEK_OFF = 0x2a
|
|
+ SO_PEERCRED = 0x11
|
|
+ SO_PEERGROUPS = 0x3b
|
|
+ SO_PEERSEC = 0x1f
|
|
+ SO_PREFER_BUSY_POLL = 0x45
|
|
+ SO_PROTOCOL = 0x26
|
|
+ SO_RCVBUF = 0x8
|
|
+ SO_RCVBUFFORCE = 0x21
|
|
+ SO_RCVLOWAT = 0x12
|
|
+ SO_RCVMARK = 0x4b
|
|
+ SO_RCVTIMEO = 0x14
|
|
+ SO_RCVTIMEO_NEW = 0x42
|
|
+ SO_RCVTIMEO_OLD = 0x14
|
|
+ SO_RESERVE_MEM = 0x49
|
|
+ SO_REUSEADDR = 0x2
|
|
+ SO_REUSEPORT = 0xf
|
|
+ SO_RXQ_OVFL = 0x28
|
|
+ SO_SECURITY_AUTHENTICATION = 0x16
|
|
+ SO_SECURITY_ENCRYPTION_NETWORK = 0x18
|
|
+ SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
|
|
+ SO_SELECT_ERR_QUEUE = 0x2d
|
|
+ SO_SNDBUF = 0x7
|
|
+ SO_SNDBUFFORCE = 0x20
|
|
+ SO_SNDLOWAT = 0x13
|
|
+ SO_SNDTIMEO = 0x15
|
|
+ SO_SNDTIMEO_NEW = 0x43
|
|
+ SO_SNDTIMEO_OLD = 0x15
|
|
+ SO_TIMESTAMPING = 0x25
|
|
+ SO_TIMESTAMPING_NEW = 0x41
|
|
+ SO_TIMESTAMPING_OLD = 0x25
|
|
+ SO_TIMESTAMPNS = 0x23
|
|
+ SO_TIMESTAMPNS_NEW = 0x40
|
|
+ SO_TIMESTAMPNS_OLD = 0x23
|
|
+ SO_TIMESTAMP_NEW = 0x3f
|
|
+ SO_TXREHASH = 0x4a
|
|
+ SO_TXTIME = 0x3d
|
|
+ SO_TYPE = 0x3
|
|
+ SO_WIFI_STATUS = 0x29
|
|
+ SO_ZEROCOPY = 0x3c
|
|
+ TAB1 = 0x800
|
|
+ TAB2 = 0x1000
|
|
+ TAB3 = 0x1800
|
|
+ TABDLY = 0x1800
|
|
+ TCFLSH = 0x540b
|
|
+ TCGETA = 0x5405
|
|
+ TCGETS = 0x5401
|
|
+ TCGETS2 = 0x802c542a
|
|
+ TCGETX = 0x5432
|
|
+ TCSAFLUSH = 0x2
|
|
+ TCSBRK = 0x5409
|
|
+ TCSBRKP = 0x5425
|
|
+ TCSETA = 0x5406
|
|
+ TCSETAF = 0x5408
|
|
+ TCSETAW = 0x5407
|
|
+ TCSETS = 0x5402
|
|
+ TCSETS2 = 0x402c542b
|
|
+ TCSETSF = 0x5404
|
|
+ TCSETSF2 = 0x402c542d
|
|
+ TCSETSW = 0x5403
|
|
+ TCSETSW2 = 0x402c542c
|
|
+ TCSETX = 0x5433
|
|
+ TCSETXF = 0x5434
|
|
+ TCSETXW = 0x5435
|
|
+ TCXONC = 0x540a
|
|
+ TFD_CLOEXEC = 0x80000
|
|
+ TFD_NONBLOCK = 0x800
|
|
+ TIOCCBRK = 0x5428
|
|
+ TIOCCONS = 0x541d
|
|
+ TIOCEXCL = 0x540c
|
|
+ TIOCGDEV = 0x80045432
|
|
+ TIOCGETD = 0x5424
|
|
+ TIOCGEXCL = 0x80045440
|
|
+ TIOCGICOUNT = 0x545d
|
|
+ TIOCGISO7816 = 0x80285442
|
|
+ TIOCGLCKTRMIOS = 0x5456
|
|
+ TIOCGPGRP = 0x540f
|
|
+ TIOCGPKT = 0x80045438
|
|
+ TIOCGPTLCK = 0x80045439
|
|
+ TIOCGPTN = 0x80045430
|
|
+ TIOCGPTPEER = 0x5441
|
|
+ TIOCGRS485 = 0x542e
|
|
+ TIOCGSERIAL = 0x541e
|
|
+ TIOCGSID = 0x5429
|
|
+ TIOCGSOFTCAR = 0x5419
|
|
+ TIOCGWINSZ = 0x5413
|
|
+ TIOCINQ = 0x541b
|
|
+ TIOCLINUX = 0x541c
|
|
+ TIOCMBIC = 0x5417
|
|
+ TIOCMBIS = 0x5416
|
|
+ TIOCMGET = 0x5415
|
|
+ TIOCMIWAIT = 0x545c
|
|
+ TIOCMSET = 0x5418
|
|
+ TIOCM_CAR = 0x40
|
|
+ TIOCM_CD = 0x40
|
|
+ TIOCM_CTS = 0x20
|
|
+ TIOCM_DSR = 0x100
|
|
+ TIOCM_RI = 0x80
|
|
+ TIOCM_RNG = 0x80
|
|
+ TIOCM_SR = 0x10
|
|
+ TIOCM_ST = 0x8
|
|
+ TIOCNOTTY = 0x5422
|
|
+ TIOCNXCL = 0x540d
|
|
+ TIOCOUTQ = 0x5411
|
|
+ TIOCPKT = 0x5420
|
|
+ TIOCSBRK = 0x5427
|
|
+ TIOCSCTTY = 0x540e
|
|
+ TIOCSERCONFIG = 0x5453
|
|
+ TIOCSERGETLSR = 0x5459
|
|
+ TIOCSERGETMULTI = 0x545a
|
|
+ TIOCSERGSTRUCT = 0x5458
|
|
+ TIOCSERGWILD = 0x5454
|
|
+ TIOCSERSETMULTI = 0x545b
|
|
+ TIOCSERSWILD = 0x5455
|
|
+ TIOCSER_TEMT = 0x1
|
|
+ TIOCSETD = 0x5423
|
|
+ TIOCSIG = 0x40045436
|
|
+ TIOCSISO7816 = 0xc0285443
|
|
+ TIOCSLCKTRMIOS = 0x5457
|
|
+ TIOCSPGRP = 0x5410
|
|
+ TIOCSPTLCK = 0x40045431
|
|
+ TIOCSRS485 = 0x542f
|
|
+ TIOCSSERIAL = 0x541f
|
|
+ TIOCSSOFTCAR = 0x541a
|
|
+ TIOCSTI = 0x5412
|
|
+ TIOCSWINSZ = 0x5414
|
|
+ TIOCVHANGUP = 0x5437
|
|
+ TOSTOP = 0x100
|
|
+ TUNATTACHFILTER = 0x401054d5
|
|
+ TUNDETACHFILTER = 0x401054d6
|
|
+ TUNGETDEVNETNS = 0x54e3
|
|
+ TUNGETFEATURES = 0x800454cf
|
|
+ TUNGETFILTER = 0x801054db
|
|
+ TUNGETIFF = 0x800454d2
|
|
+ TUNGETSNDBUF = 0x800454d3
|
|
+ TUNGETVNETBE = 0x800454df
|
|
+ TUNGETVNETHDRSZ = 0x800454d7
|
|
+ TUNGETVNETLE = 0x800454dd
|
|
+ TUNSETCARRIER = 0x400454e2
|
|
+ TUNSETDEBUG = 0x400454c9
|
|
+ TUNSETFILTEREBPF = 0x800454e1
|
|
+ TUNSETGROUP = 0x400454ce
|
|
+ TUNSETIFF = 0x400454ca
|
|
+ TUNSETIFINDEX = 0x400454da
|
|
+ TUNSETLINK = 0x400454cd
|
|
+ TUNSETNOCSUM = 0x400454c8
|
|
+ TUNSETOFFLOAD = 0x400454d0
|
|
+ TUNSETOWNER = 0x400454cc
|
|
+ TUNSETPERSIST = 0x400454cb
|
|
+ TUNSETQUEUE = 0x400454d9
|
|
+ TUNSETSNDBUF = 0x400454d4
|
|
+ TUNSETSTEERINGEBPF = 0x800454e0
|
|
+ TUNSETTXFILTER = 0x400454d1
|
|
+ TUNSETVNETBE = 0x400454de
|
|
+ TUNSETVNETHDRSZ = 0x400454d8
|
|
+ TUNSETVNETLE = 0x400454dc
|
|
+ UBI_IOCATT = 0x40186f40
|
|
+ UBI_IOCDET = 0x40046f41
|
|
+ UBI_IOCEBCH = 0x40044f02
|
|
+ UBI_IOCEBER = 0x40044f01
|
|
+ UBI_IOCEBISMAP = 0x80044f05
|
|
+ UBI_IOCEBMAP = 0x40084f03
|
|
+ UBI_IOCEBUNMAP = 0x40044f04
|
|
+ UBI_IOCMKVOL = 0x40986f00
|
|
+ UBI_IOCRMVOL = 0x40046f01
|
|
+ UBI_IOCRNVOL = 0x51106f03
|
|
+ UBI_IOCRPEB = 0x40046f04
|
|
+ UBI_IOCRSVOL = 0x400c6f02
|
|
+ UBI_IOCSETVOLPROP = 0x40104f06
|
|
+ UBI_IOCSPEB = 0x40046f05
|
|
+ UBI_IOCVOLCRBLK = 0x40804f07
|
|
+ UBI_IOCVOLRMBLK = 0x4f08
|
|
+ UBI_IOCVOLUP = 0x40084f00
|
|
+ VDISCARD = 0xd
|
|
+ VEOF = 0x4
|
|
+ VEOL = 0xb
|
|
+ VEOL2 = 0x10
|
|
+ VMIN = 0x6
|
|
+ VREPRINT = 0xc
|
|
+ VSTART = 0x8
|
|
+ VSTOP = 0x9
|
|
+ VSUSP = 0xa
|
|
+ VSWTC = 0x7
|
|
+ VT1 = 0x4000
|
|
+ VTDLY = 0x4000
|
|
+ VTIME = 0x5
|
|
+ VWERASE = 0xe
|
|
+ WDIOC_GETBOOTSTATUS = 0x80045702
|
|
+ WDIOC_GETPRETIMEOUT = 0x80045709
|
|
+ WDIOC_GETSTATUS = 0x80045701
|
|
+ WDIOC_GETSUPPORT = 0x80285700
|
|
+ WDIOC_GETTEMP = 0x80045703
|
|
+ WDIOC_GETTIMELEFT = 0x8004570a
|
|
+ WDIOC_GETTIMEOUT = 0x80045707
|
|
+ WDIOC_KEEPALIVE = 0x80045705
|
|
+ WDIOC_SETOPTIONS = 0x80045704
|
|
+ WORDSIZE = 0x40
|
|
+ XCASE = 0x4
|
|
+ XTABS = 0x1800
|
|
+ _HIDIOCGRAWNAME = 0x80804804
|
|
+ _HIDIOCGRAWPHYS = 0x80404805
|
|
+ _HIDIOCGRAWUNIQ = 0x80404808
|
|
+)
|
|
+
|
|
+// Errors
|
|
+const (
|
|
+ EADDRINUSE = syscall.Errno(0x62)
|
|
+ EADDRNOTAVAIL = syscall.Errno(0x63)
|
|
+ EADV = syscall.Errno(0x44)
|
|
+ EAFNOSUPPORT = syscall.Errno(0x61)
|
|
+ EALREADY = syscall.Errno(0x72)
|
|
+ EBADE = syscall.Errno(0x34)
|
|
+ EBADFD = syscall.Errno(0x4d)
|
|
+ EBADMSG = syscall.Errno(0x4a)
|
|
+ EBADR = syscall.Errno(0x35)
|
|
+ EBADRQC = syscall.Errno(0x38)
|
|
+ EBADSLT = syscall.Errno(0x39)
|
|
+ EBFONT = syscall.Errno(0x3b)
|
|
+ ECANCELED = syscall.Errno(0x7d)
|
|
+ ECHRNG = syscall.Errno(0x2c)
|
|
+ ECOMM = syscall.Errno(0x46)
|
|
+ ECONNABORTED = syscall.Errno(0x67)
|
|
+ ECONNREFUSED = syscall.Errno(0x6f)
|
|
+ ECONNRESET = syscall.Errno(0x68)
|
|
+ EDEADLK = syscall.Errno(0x23)
|
|
+ EDEADLOCK = syscall.Errno(0x23)
|
|
+ EDESTADDRREQ = syscall.Errno(0x59)
|
|
+ EDOTDOT = syscall.Errno(0x49)
|
|
+ EDQUOT = syscall.Errno(0x7a)
|
|
+ EHOSTDOWN = syscall.Errno(0x70)
|
|
+ EHOSTUNREACH = syscall.Errno(0x71)
|
|
+ EHWPOISON = syscall.Errno(0x85)
|
|
+ EIDRM = syscall.Errno(0x2b)
|
|
+ EILSEQ = syscall.Errno(0x54)
|
|
+ EINPROGRESS = syscall.Errno(0x73)
|
|
+ EISCONN = syscall.Errno(0x6a)
|
|
+ EISNAM = syscall.Errno(0x78)
|
|
+ EKEYEXPIRED = syscall.Errno(0x7f)
|
|
+ EKEYREJECTED = syscall.Errno(0x81)
|
|
+ EKEYREVOKED = syscall.Errno(0x80)
|
|
+ EL2HLT = syscall.Errno(0x33)
|
|
+ EL2NSYNC = syscall.Errno(0x2d)
|
|
+ EL3HLT = syscall.Errno(0x2e)
|
|
+ EL3RST = syscall.Errno(0x2f)
|
|
+ ELIBACC = syscall.Errno(0x4f)
|
|
+ ELIBBAD = syscall.Errno(0x50)
|
|
+ ELIBEXEC = syscall.Errno(0x53)
|
|
+ ELIBMAX = syscall.Errno(0x52)
|
|
+ ELIBSCN = syscall.Errno(0x51)
|
|
+ ELNRNG = syscall.Errno(0x30)
|
|
+ ELOOP = syscall.Errno(0x28)
|
|
+ EMEDIUMTYPE = syscall.Errno(0x7c)
|
|
+ EMSGSIZE = syscall.Errno(0x5a)
|
|
+ EMULTIHOP = syscall.Errno(0x48)
|
|
+ ENAMETOOLONG = syscall.Errno(0x24)
|
|
+ ENAVAIL = syscall.Errno(0x77)
|
|
+ ENETDOWN = syscall.Errno(0x64)
|
|
+ ENETRESET = syscall.Errno(0x66)
|
|
+ ENETUNREACH = syscall.Errno(0x65)
|
|
+ ENOANO = syscall.Errno(0x37)
|
|
+ ENOBUFS = syscall.Errno(0x69)
|
|
+ ENOCSI = syscall.Errno(0x32)
|
|
+ ENODATA = syscall.Errno(0x3d)
|
|
+ ENOKEY = syscall.Errno(0x7e)
|
|
+ ENOLCK = syscall.Errno(0x25)
|
|
+ ENOLINK = syscall.Errno(0x43)
|
|
+ ENOMEDIUM = syscall.Errno(0x7b)
|
|
+ ENOMSG = syscall.Errno(0x2a)
|
|
+ ENONET = syscall.Errno(0x40)
|
|
+ ENOPKG = syscall.Errno(0x41)
|
|
+ ENOPROTOOPT = syscall.Errno(0x5c)
|
|
+ ENOSR = syscall.Errno(0x3f)
|
|
+ ENOSTR = syscall.Errno(0x3c)
|
|
+ ENOSYS = syscall.Errno(0x26)
|
|
+ ENOTCONN = syscall.Errno(0x6b)
|
|
+ ENOTEMPTY = syscall.Errno(0x27)
|
|
+ ENOTNAM = syscall.Errno(0x76)
|
|
+ ENOTRECOVERABLE = syscall.Errno(0x83)
|
|
+ ENOTSOCK = syscall.Errno(0x58)
|
|
+ ENOTSUP = syscall.Errno(0x5f)
|
|
+ ENOTUNIQ = syscall.Errno(0x4c)
|
|
+ EOPNOTSUPP = syscall.Errno(0x5f)
|
|
+ EOVERFLOW = syscall.Errno(0x4b)
|
|
+ EOWNERDEAD = syscall.Errno(0x82)
|
|
+ EPFNOSUPPORT = syscall.Errno(0x60)
|
|
+ EPROTO = syscall.Errno(0x47)
|
|
+ EPROTONOSUPPORT = syscall.Errno(0x5d)
|
|
+ EPROTOTYPE = syscall.Errno(0x5b)
|
|
+ EREMCHG = syscall.Errno(0x4e)
|
|
+ EREMOTE = syscall.Errno(0x42)
|
|
+ EREMOTEIO = syscall.Errno(0x79)
|
|
+ ERESTART = syscall.Errno(0x55)
|
|
+ ERFKILL = syscall.Errno(0x84)
|
|
+ ESHUTDOWN = syscall.Errno(0x6c)
|
|
+ ESOCKTNOSUPPORT = syscall.Errno(0x5e)
|
|
+ ESRMNT = syscall.Errno(0x45)
|
|
+ ESTALE = syscall.Errno(0x74)
|
|
+ ESTRPIPE = syscall.Errno(0x56)
|
|
+ ETIME = syscall.Errno(0x3e)
|
|
+ ETIMEDOUT = syscall.Errno(0x6e)
|
|
+ ETOOMANYREFS = syscall.Errno(0x6d)
|
|
+ EUCLEAN = syscall.Errno(0x75)
|
|
+ EUNATCH = syscall.Errno(0x31)
|
|
+ EUSERS = syscall.Errno(0x57)
|
|
+ EXFULL = syscall.Errno(0x36)
|
|
+)
|
|
+
|
|
+// Signals
|
|
+const (
|
|
+ SIGBUS = syscall.Signal(0x7)
|
|
+ SIGCHLD = syscall.Signal(0x11)
|
|
+ SIGCLD = syscall.Signal(0x11)
|
|
+ SIGCONT = syscall.Signal(0x12)
|
|
+ SIGIO = syscall.Signal(0x1d)
|
|
+ SIGPOLL = syscall.Signal(0x1d)
|
|
+ SIGPROF = syscall.Signal(0x1b)
|
|
+ SIGPWR = syscall.Signal(0x1e)
|
|
+ SIGSTKFLT = syscall.Signal(0x10)
|
|
+ SIGSTOP = syscall.Signal(0x13)
|
|
+ SIGSYS = syscall.Signal(0x1f)
|
|
+ SIGTSTP = syscall.Signal(0x14)
|
|
+ SIGTTIN = syscall.Signal(0x15)
|
|
+ SIGTTOU = syscall.Signal(0x16)
|
|
+ SIGURG = syscall.Signal(0x17)
|
|
+ SIGUSR1 = syscall.Signal(0xa)
|
|
+ SIGUSR2 = syscall.Signal(0xc)
|
|
+ SIGVTALRM = syscall.Signal(0x1a)
|
|
+ SIGWINCH = syscall.Signal(0x1c)
|
|
+ SIGXCPU = syscall.Signal(0x18)
|
|
+ SIGXFSZ = syscall.Signal(0x19)
|
|
+)
|
|
+
|
|
+// Error table
|
|
+var errorList = [...]struct {
|
|
+ num syscall.Errno
|
|
+ name string
|
|
+ desc string
|
|
+}{
|
|
+ {1, "EPERM", "operation not permitted"},
|
|
+ {2, "ENOENT", "no such file or directory"},
|
|
+ {3, "ESRCH", "no such process"},
|
|
+ {4, "EINTR", "interrupted system call"},
|
|
+ {5, "EIO", "input/output error"},
|
|
+ {6, "ENXIO", "no such device or address"},
|
|
+ {7, "E2BIG", "argument list too long"},
|
|
+ {8, "ENOEXEC", "exec format error"},
|
|
+ {9, "EBADF", "bad file descriptor"},
|
|
+ {10, "ECHILD", "no child processes"},
|
|
+ {11, "EAGAIN", "resource temporarily unavailable"},
|
|
+ {12, "ENOMEM", "cannot allocate memory"},
|
|
+ {13, "EACCES", "permission denied"},
|
|
+ {14, "EFAULT", "bad address"},
|
|
+ {15, "ENOTBLK", "block device required"},
|
|
+ {16, "EBUSY", "device or resource busy"},
|
|
+ {17, "EEXIST", "file exists"},
|
|
+ {18, "EXDEV", "invalid cross-device link"},
|
|
+ {19, "ENODEV", "no such device"},
|
|
+ {20, "ENOTDIR", "not a directory"},
|
|
+ {21, "EISDIR", "is a directory"},
|
|
+ {22, "EINVAL", "invalid argument"},
|
|
+ {23, "ENFILE", "too many open files in system"},
|
|
+ {24, "EMFILE", "too many open files"},
|
|
+ {25, "ENOTTY", "inappropriate ioctl for device"},
|
|
+ {26, "ETXTBSY", "text file busy"},
|
|
+ {27, "EFBIG", "file too large"},
|
|
+ {28, "ENOSPC", "no space left on device"},
|
|
+ {29, "ESPIPE", "illegal seek"},
|
|
+ {30, "EROFS", "read-only file system"},
|
|
+ {31, "EMLINK", "too many links"},
|
|
+ {32, "EPIPE", "broken pipe"},
|
|
+ {33, "EDOM", "numerical argument out of domain"},
|
|
+ {34, "ERANGE", "numerical result out of range"},
|
|
+ {35, "EDEADLK", "resource deadlock avoided"},
|
|
+ {36, "ENAMETOOLONG", "file name too long"},
|
|
+ {37, "ENOLCK", "no locks available"},
|
|
+ {38, "ENOSYS", "function not implemented"},
|
|
+ {39, "ENOTEMPTY", "directory not empty"},
|
|
+ {40, "ELOOP", "too many levels of symbolic links"},
|
|
+ {42, "ENOMSG", "no message of desired type"},
|
|
+ {43, "EIDRM", "identifier removed"},
|
|
+ {44, "ECHRNG", "channel number out of range"},
|
|
+ {45, "EL2NSYNC", "level 2 not synchronized"},
|
|
+ {46, "EL3HLT", "level 3 halted"},
|
|
+ {47, "EL3RST", "level 3 reset"},
|
|
+ {48, "ELNRNG", "link number out of range"},
|
|
+ {49, "EUNATCH", "protocol driver not attached"},
|
|
+ {50, "ENOCSI", "no CSI structure available"},
|
|
+ {51, "EL2HLT", "level 2 halted"},
|
|
+ {52, "EBADE", "invalid exchange"},
|
|
+ {53, "EBADR", "invalid request descriptor"},
|
|
+ {54, "EXFULL", "exchange full"},
|
|
+ {55, "ENOANO", "no anode"},
|
|
+ {56, "EBADRQC", "invalid request code"},
|
|
+ {57, "EBADSLT", "invalid slot"},
|
|
+ {59, "EBFONT", "bad font file format"},
|
|
+ {60, "ENOSTR", "device not a stream"},
|
|
+ {61, "ENODATA", "no data available"},
|
|
+ {62, "ETIME", "timer expired"},
|
|
+ {63, "ENOSR", "out of streams resources"},
|
|
+ {64, "ENONET", "machine is not on the network"},
|
|
+ {65, "ENOPKG", "package not installed"},
|
|
+ {66, "EREMOTE", "object is remote"},
|
|
+ {67, "ENOLINK", "link has been severed"},
|
|
+ {68, "EADV", "advertise error"},
|
|
+ {69, "ESRMNT", "srmount error"},
|
|
+ {70, "ECOMM", "communication error on send"},
|
|
+ {71, "EPROTO", "protocol error"},
|
|
+ {72, "EMULTIHOP", "multihop attempted"},
|
|
+ {73, "EDOTDOT", "RFS specific error"},
|
|
+ {74, "EBADMSG", "bad message"},
|
|
+ {75, "EOVERFLOW", "value too large for defined data type"},
|
|
+ {76, "ENOTUNIQ", "name not unique on network"},
|
|
+ {77, "EBADFD", "file descriptor in bad state"},
|
|
+ {78, "EREMCHG", "remote address changed"},
|
|
+ {79, "ELIBACC", "can not access a needed shared library"},
|
|
+ {80, "ELIBBAD", "accessing a corrupted shared library"},
|
|
+ {81, "ELIBSCN", ".lib section in a.out corrupted"},
|
|
+ {82, "ELIBMAX", "attempting to link in too many shared libraries"},
|
|
+ {83, "ELIBEXEC", "cannot exec a shared library directly"},
|
|
+ {84, "EILSEQ", "invalid or incomplete multibyte or wide character"},
|
|
+ {85, "ERESTART", "interrupted system call should be restarted"},
|
|
+ {86, "ESTRPIPE", "streams pipe error"},
|
|
+ {87, "EUSERS", "too many users"},
|
|
+ {88, "ENOTSOCK", "socket operation on non-socket"},
|
|
+ {89, "EDESTADDRREQ", "destination address required"},
|
|
+ {90, "EMSGSIZE", "message too long"},
|
|
+ {91, "EPROTOTYPE", "protocol wrong type for socket"},
|
|
+ {92, "ENOPROTOOPT", "protocol not available"},
|
|
+ {93, "EPROTONOSUPPORT", "protocol not supported"},
|
|
+ {94, "ESOCKTNOSUPPORT", "socket type not supported"},
|
|
+ {95, "ENOTSUP", "operation not supported"},
|
|
+ {96, "EPFNOSUPPORT", "protocol family not supported"},
|
|
+ {97, "EAFNOSUPPORT", "address family not supported by protocol"},
|
|
+ {98, "EADDRINUSE", "address already in use"},
|
|
+ {99, "EADDRNOTAVAIL", "cannot assign requested address"},
|
|
+ {100, "ENETDOWN", "network is down"},
|
|
+ {101, "ENETUNREACH", "network is unreachable"},
|
|
+ {102, "ENETRESET", "network dropped connection on reset"},
|
|
+ {103, "ECONNABORTED", "software caused connection abort"},
|
|
+ {104, "ECONNRESET", "connection reset by peer"},
|
|
+ {105, "ENOBUFS", "no buffer space available"},
|
|
+ {106, "EISCONN", "transport endpoint is already connected"},
|
|
+ {107, "ENOTCONN", "transport endpoint is not connected"},
|
|
+ {108, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
|
|
+ {109, "ETOOMANYREFS", "too many references: cannot splice"},
|
|
+ {110, "ETIMEDOUT", "connection timed out"},
|
|
+ {111, "ECONNREFUSED", "connection refused"},
|
|
+ {112, "EHOSTDOWN", "host is down"},
|
|
+ {113, "EHOSTUNREACH", "no route to host"},
|
|
+ {114, "EALREADY", "operation already in progress"},
|
|
+ {115, "EINPROGRESS", "operation now in progress"},
|
|
+ {116, "ESTALE", "stale file handle"},
|
|
+ {117, "EUCLEAN", "structure needs cleaning"},
|
|
+ {118, "ENOTNAM", "not a XENIX named type file"},
|
|
+ {119, "ENAVAIL", "no XENIX semaphores available"},
|
|
+ {120, "EISNAM", "is a named type file"},
|
|
+ {121, "EREMOTEIO", "remote I/O error"},
|
|
+ {122, "EDQUOT", "disk quota exceeded"},
|
|
+ {123, "ENOMEDIUM", "no medium found"},
|
|
+ {124, "EMEDIUMTYPE", "wrong medium type"},
|
|
+ {125, "ECANCELED", "operation canceled"},
|
|
+ {126, "ENOKEY", "required key not available"},
|
|
+ {127, "EKEYEXPIRED", "key has expired"},
|
|
+ {128, "EKEYREVOKED", "key has been revoked"},
|
|
+ {129, "EKEYREJECTED", "key was rejected by service"},
|
|
+ {130, "EOWNERDEAD", "owner died"},
|
|
+ {131, "ENOTRECOVERABLE", "state not recoverable"},
|
|
+ {132, "ERFKILL", "operation not possible due to RF-kill"},
|
|
+ {133, "EHWPOISON", "memory page has hardware error"},
|
|
+}
|
|
+
|
|
+// Signal table
|
|
+var signalList = [...]struct {
|
|
+ num syscall.Signal
|
|
+ name string
|
|
+ desc string
|
|
+}{
|
|
+ {1, "SIGHUP", "hangup"},
|
|
+ {2, "SIGINT", "interrupt"},
|
|
+ {3, "SIGQUIT", "quit"},
|
|
+ {4, "SIGILL", "illegal instruction"},
|
|
+ {5, "SIGTRAP", "trace/breakpoint trap"},
|
|
+ {6, "SIGABRT", "aborted"},
|
|
+ {7, "SIGBUS", "bus error"},
|
|
+ {8, "SIGFPE", "floating point exception"},
|
|
+ {9, "SIGKILL", "killed"},
|
|
+ {10, "SIGUSR1", "user defined signal 1"},
|
|
+ {11, "SIGSEGV", "segmentation fault"},
|
|
+ {12, "SIGUSR2", "user defined signal 2"},
|
|
+ {13, "SIGPIPE", "broken pipe"},
|
|
+ {14, "SIGALRM", "alarm clock"},
|
|
+ {15, "SIGTERM", "terminated"},
|
|
+ {16, "SIGSTKFLT", "stack fault"},
|
|
+ {17, "SIGCHLD", "child exited"},
|
|
+ {18, "SIGCONT", "continued"},
|
|
+ {19, "SIGSTOP", "stopped (signal)"},
|
|
+ {20, "SIGTSTP", "stopped"},
|
|
+ {21, "SIGTTIN", "stopped (tty input)"},
|
|
+ {22, "SIGTTOU", "stopped (tty output)"},
|
|
+ {23, "SIGURG", "urgent I/O condition"},
|
|
+ {24, "SIGXCPU", "CPU time limit exceeded"},
|
|
+ {25, "SIGXFSZ", "file size limit exceeded"},
|
|
+ {26, "SIGVTALRM", "virtual timer expired"},
|
|
+ {27, "SIGPROF", "profiling timer expired"},
|
|
+ {28, "SIGWINCH", "window changed"},
|
|
+ {29, "SIGIO", "I/O possible"},
|
|
+ {30, "SIGPWR", "power failure"},
|
|
+ {31, "SIGSYS", "bad system call"},
|
|
+}
|
|
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go
|
|
index a8bba94..179bffb 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go
|
|
@@ -1,11 +1,11 @@
|
|
-// mkerrors.sh -Wall -Werror -static -I/tmp/include
|
|
+// mkerrors.sh -Wall -Werror -static -I/tmp/mips/include
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build mips && linux
|
|
// +build mips,linux
|
|
|
|
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
|
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/_const.go
|
|
+// cgo -godefs -- -Wall -Werror -static -I/tmp/mips/include _const.go
|
|
|
|
package unix
|
|
|
|
@@ -250,6 +250,8 @@ const (
|
|
RTC_EPOCH_SET = 0x8004700e
|
|
RTC_IRQP_READ = 0x4004700b
|
|
RTC_IRQP_SET = 0x8004700c
|
|
+ RTC_PARAM_GET = 0x80187013
|
|
+ RTC_PARAM_SET = 0x80187014
|
|
RTC_PIE_OFF = 0x20007006
|
|
RTC_PIE_ON = 0x20007005
|
|
RTC_PLL_GET = 0x401c7011
|
|
@@ -324,9 +326,11 @@ const (
|
|
SO_RCVBUF = 0x1002
|
|
SO_RCVBUFFORCE = 0x21
|
|
SO_RCVLOWAT = 0x1004
|
|
+ SO_RCVMARK = 0x4b
|
|
SO_RCVTIMEO = 0x1006
|
|
SO_RCVTIMEO_NEW = 0x42
|
|
SO_RCVTIMEO_OLD = 0x1006
|
|
+ SO_RESERVE_MEM = 0x49
|
|
SO_REUSEADDR = 0x4
|
|
SO_REUSEPORT = 0x200
|
|
SO_RXQ_OVFL = 0x28
|
|
@@ -348,6 +352,7 @@ const (
|
|
SO_TIMESTAMPNS_NEW = 0x40
|
|
SO_TIMESTAMPNS_OLD = 0x23
|
|
SO_TIMESTAMP_NEW = 0x3f
|
|
+ SO_TXREHASH = 0x4a
|
|
SO_TXTIME = 0x3d
|
|
SO_TYPE = 0x1008
|
|
SO_WIFI_STATUS = 0x29
|
|
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go
|
|
index ee9e7e2..1fba17b 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go
|
|
@@ -1,11 +1,11 @@
|
|
-// mkerrors.sh -Wall -Werror -static -I/tmp/include
|
|
+// mkerrors.sh -Wall -Werror -static -I/tmp/mips64/include
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build mips64 && linux
|
|
// +build mips64,linux
|
|
|
|
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
|
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/_const.go
|
|
+// cgo -godefs -- -Wall -Werror -static -I/tmp/mips64/include _const.go
|
|
|
|
package unix
|
|
|
|
@@ -250,6 +250,8 @@ const (
|
|
RTC_EPOCH_SET = 0x8008700e
|
|
RTC_IRQP_READ = 0x4008700b
|
|
RTC_IRQP_SET = 0x8008700c
|
|
+ RTC_PARAM_GET = 0x80187013
|
|
+ RTC_PARAM_SET = 0x80187014
|
|
RTC_PIE_OFF = 0x20007006
|
|
RTC_PIE_ON = 0x20007005
|
|
RTC_PLL_GET = 0x40207011
|
|
@@ -324,9 +326,11 @@ const (
|
|
SO_RCVBUF = 0x1002
|
|
SO_RCVBUFFORCE = 0x21
|
|
SO_RCVLOWAT = 0x1004
|
|
+ SO_RCVMARK = 0x4b
|
|
SO_RCVTIMEO = 0x1006
|
|
SO_RCVTIMEO_NEW = 0x42
|
|
SO_RCVTIMEO_OLD = 0x1006
|
|
+ SO_RESERVE_MEM = 0x49
|
|
SO_REUSEADDR = 0x4
|
|
SO_REUSEPORT = 0x200
|
|
SO_RXQ_OVFL = 0x28
|
|
@@ -348,6 +352,7 @@ const (
|
|
SO_TIMESTAMPNS_NEW = 0x40
|
|
SO_TIMESTAMPNS_OLD = 0x23
|
|
SO_TIMESTAMP_NEW = 0x3f
|
|
+ SO_TXREHASH = 0x4a
|
|
SO_TXTIME = 0x3d
|
|
SO_TYPE = 0x1008
|
|
SO_WIFI_STATUS = 0x29
|
|
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go
|
|
index ba4b288..b77dde3 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go
|
|
@@ -1,11 +1,11 @@
|
|
-// mkerrors.sh -Wall -Werror -static -I/tmp/include
|
|
+// mkerrors.sh -Wall -Werror -static -I/tmp/mips64le/include
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build mips64le && linux
|
|
// +build mips64le,linux
|
|
|
|
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
|
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/_const.go
|
|
+// cgo -godefs -- -Wall -Werror -static -I/tmp/mips64le/include _const.go
|
|
|
|
package unix
|
|
|
|
@@ -250,6 +250,8 @@ const (
|
|
RTC_EPOCH_SET = 0x8008700e
|
|
RTC_IRQP_READ = 0x4008700b
|
|
RTC_IRQP_SET = 0x8008700c
|
|
+ RTC_PARAM_GET = 0x80187013
|
|
+ RTC_PARAM_SET = 0x80187014
|
|
RTC_PIE_OFF = 0x20007006
|
|
RTC_PIE_ON = 0x20007005
|
|
RTC_PLL_GET = 0x40207011
|
|
@@ -324,9 +326,11 @@ const (
|
|
SO_RCVBUF = 0x1002
|
|
SO_RCVBUFFORCE = 0x21
|
|
SO_RCVLOWAT = 0x1004
|
|
+ SO_RCVMARK = 0x4b
|
|
SO_RCVTIMEO = 0x1006
|
|
SO_RCVTIMEO_NEW = 0x42
|
|
SO_RCVTIMEO_OLD = 0x1006
|
|
+ SO_RESERVE_MEM = 0x49
|
|
SO_REUSEADDR = 0x4
|
|
SO_REUSEPORT = 0x200
|
|
SO_RXQ_OVFL = 0x28
|
|
@@ -348,6 +352,7 @@ const (
|
|
SO_TIMESTAMPNS_NEW = 0x40
|
|
SO_TIMESTAMPNS_OLD = 0x23
|
|
SO_TIMESTAMP_NEW = 0x3f
|
|
+ SO_TXREHASH = 0x4a
|
|
SO_TXTIME = 0x3d
|
|
SO_TYPE = 0x1008
|
|
SO_WIFI_STATUS = 0x29
|
|
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go
|
|
index bc93afc..78c6c75 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go
|
|
@@ -1,11 +1,11 @@
|
|
-// mkerrors.sh -Wall -Werror -static -I/tmp/include
|
|
+// mkerrors.sh -Wall -Werror -static -I/tmp/mipsle/include
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build mipsle && linux
|
|
// +build mipsle,linux
|
|
|
|
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
|
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/_const.go
|
|
+// cgo -godefs -- -Wall -Werror -static -I/tmp/mipsle/include _const.go
|
|
|
|
package unix
|
|
|
|
@@ -250,6 +250,8 @@ const (
|
|
RTC_EPOCH_SET = 0x8004700e
|
|
RTC_IRQP_READ = 0x4004700b
|
|
RTC_IRQP_SET = 0x8004700c
|
|
+ RTC_PARAM_GET = 0x80187013
|
|
+ RTC_PARAM_SET = 0x80187014
|
|
RTC_PIE_OFF = 0x20007006
|
|
RTC_PIE_ON = 0x20007005
|
|
RTC_PLL_GET = 0x401c7011
|
|
@@ -324,9 +326,11 @@ const (
|
|
SO_RCVBUF = 0x1002
|
|
SO_RCVBUFFORCE = 0x21
|
|
SO_RCVLOWAT = 0x1004
|
|
+ SO_RCVMARK = 0x4b
|
|
SO_RCVTIMEO = 0x1006
|
|
SO_RCVTIMEO_NEW = 0x42
|
|
SO_RCVTIMEO_OLD = 0x1006
|
|
+ SO_RESERVE_MEM = 0x49
|
|
SO_REUSEADDR = 0x4
|
|
SO_REUSEPORT = 0x200
|
|
SO_RXQ_OVFL = 0x28
|
|
@@ -348,6 +352,7 @@ const (
|
|
SO_TIMESTAMPNS_NEW = 0x40
|
|
SO_TIMESTAMPNS_OLD = 0x23
|
|
SO_TIMESTAMP_NEW = 0x3f
|
|
+ SO_TXREHASH = 0x4a
|
|
SO_TXTIME = 0x3d
|
|
SO_TYPE = 0x1008
|
|
SO_WIFI_STATUS = 0x29
|
|
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go
|
|
index 9295e69..1c0d31f 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go
|
|
@@ -1,11 +1,11 @@
|
|
-// mkerrors.sh -Wall -Werror -static -I/tmp/include
|
|
+// mkerrors.sh -Wall -Werror -static -I/tmp/ppc/include
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build ppc && linux
|
|
// +build ppc,linux
|
|
|
|
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
|
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/_const.go
|
|
+// cgo -godefs -- -Wall -Werror -static -I/tmp/ppc/include _const.go
|
|
|
|
package unix
|
|
|
|
@@ -305,6 +305,8 @@ const (
|
|
RTC_EPOCH_SET = 0x8004700e
|
|
RTC_IRQP_READ = 0x4004700b
|
|
RTC_IRQP_SET = 0x8004700c
|
|
+ RTC_PARAM_GET = 0x80187013
|
|
+ RTC_PARAM_SET = 0x80187014
|
|
RTC_PIE_OFF = 0x20007006
|
|
RTC_PIE_ON = 0x20007005
|
|
RTC_PLL_GET = 0x401c7011
|
|
@@ -379,9 +381,11 @@ const (
|
|
SO_RCVBUF = 0x8
|
|
SO_RCVBUFFORCE = 0x21
|
|
SO_RCVLOWAT = 0x10
|
|
+ SO_RCVMARK = 0x4b
|
|
SO_RCVTIMEO = 0x12
|
|
SO_RCVTIMEO_NEW = 0x42
|
|
SO_RCVTIMEO_OLD = 0x12
|
|
+ SO_RESERVE_MEM = 0x49
|
|
SO_REUSEADDR = 0x2
|
|
SO_REUSEPORT = 0xf
|
|
SO_RXQ_OVFL = 0x28
|
|
@@ -402,6 +406,7 @@ const (
|
|
SO_TIMESTAMPNS_NEW = 0x40
|
|
SO_TIMESTAMPNS_OLD = 0x23
|
|
SO_TIMESTAMP_NEW = 0x3f
|
|
+ SO_TXREHASH = 0x4a
|
|
SO_TXTIME = 0x3d
|
|
SO_TYPE = 0x3
|
|
SO_WIFI_STATUS = 0x29
|
|
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go
|
|
index 1fa081c..959dd9b 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go
|
|
@@ -1,11 +1,11 @@
|
|
-// mkerrors.sh -Wall -Werror -static -I/tmp/include
|
|
+// mkerrors.sh -Wall -Werror -static -I/tmp/ppc64/include
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build ppc64 && linux
|
|
// +build ppc64,linux
|
|
|
|
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
|
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/_const.go
|
|
+// cgo -godefs -- -Wall -Werror -static -I/tmp/ppc64/include _const.go
|
|
|
|
package unix
|
|
|
|
@@ -309,6 +309,8 @@ const (
|
|
RTC_EPOCH_SET = 0x8008700e
|
|
RTC_IRQP_READ = 0x4008700b
|
|
RTC_IRQP_SET = 0x8008700c
|
|
+ RTC_PARAM_GET = 0x80187013
|
|
+ RTC_PARAM_SET = 0x80187014
|
|
RTC_PIE_OFF = 0x20007006
|
|
RTC_PIE_ON = 0x20007005
|
|
RTC_PLL_GET = 0x40207011
|
|
@@ -383,9 +385,11 @@ const (
|
|
SO_RCVBUF = 0x8
|
|
SO_RCVBUFFORCE = 0x21
|
|
SO_RCVLOWAT = 0x10
|
|
+ SO_RCVMARK = 0x4b
|
|
SO_RCVTIMEO = 0x12
|
|
SO_RCVTIMEO_NEW = 0x42
|
|
SO_RCVTIMEO_OLD = 0x12
|
|
+ SO_RESERVE_MEM = 0x49
|
|
SO_REUSEADDR = 0x2
|
|
SO_REUSEPORT = 0xf
|
|
SO_RXQ_OVFL = 0x28
|
|
@@ -406,6 +410,7 @@ const (
|
|
SO_TIMESTAMPNS_NEW = 0x40
|
|
SO_TIMESTAMPNS_OLD = 0x23
|
|
SO_TIMESTAMP_NEW = 0x3f
|
|
+ SO_TXREHASH = 0x4a
|
|
SO_TXTIME = 0x3d
|
|
SO_TYPE = 0x3
|
|
SO_WIFI_STATUS = 0x29
|
|
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go
|
|
index 74b3211..5a873cd 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go
|
|
@@ -1,11 +1,11 @@
|
|
-// mkerrors.sh -Wall -Werror -static -I/tmp/include
|
|
+// mkerrors.sh -Wall -Werror -static -I/tmp/ppc64le/include
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build ppc64le && linux
|
|
// +build ppc64le,linux
|
|
|
|
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
|
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/_const.go
|
|
+// cgo -godefs -- -Wall -Werror -static -I/tmp/ppc64le/include _const.go
|
|
|
|
package unix
|
|
|
|
@@ -309,6 +309,8 @@ const (
|
|
RTC_EPOCH_SET = 0x8008700e
|
|
RTC_IRQP_READ = 0x4008700b
|
|
RTC_IRQP_SET = 0x8008700c
|
|
+ RTC_PARAM_GET = 0x80187013
|
|
+ RTC_PARAM_SET = 0x80187014
|
|
RTC_PIE_OFF = 0x20007006
|
|
RTC_PIE_ON = 0x20007005
|
|
RTC_PLL_GET = 0x40207011
|
|
@@ -383,9 +385,11 @@ const (
|
|
SO_RCVBUF = 0x8
|
|
SO_RCVBUFFORCE = 0x21
|
|
SO_RCVLOWAT = 0x10
|
|
+ SO_RCVMARK = 0x4b
|
|
SO_RCVTIMEO = 0x12
|
|
SO_RCVTIMEO_NEW = 0x42
|
|
SO_RCVTIMEO_OLD = 0x12
|
|
+ SO_RESERVE_MEM = 0x49
|
|
SO_REUSEADDR = 0x2
|
|
SO_REUSEPORT = 0xf
|
|
SO_RXQ_OVFL = 0x28
|
|
@@ -406,6 +410,7 @@ const (
|
|
SO_TIMESTAMPNS_NEW = 0x40
|
|
SO_TIMESTAMPNS_OLD = 0x23
|
|
SO_TIMESTAMP_NEW = 0x3f
|
|
+ SO_TXREHASH = 0x4a
|
|
SO_TXTIME = 0x3d
|
|
SO_TYPE = 0x3
|
|
SO_WIFI_STATUS = 0x29
|
|
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go
|
|
index c91c8ac..e336d14 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go
|
|
@@ -1,11 +1,11 @@
|
|
-// mkerrors.sh -Wall -Werror -static -I/tmp/include
|
|
+// mkerrors.sh -Wall -Werror -static -I/tmp/riscv64/include
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build riscv64 && linux
|
|
// +build riscv64,linux
|
|
|
|
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
|
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/_const.go
|
|
+// cgo -godefs -- -Wall -Werror -static -I/tmp/riscv64/include _const.go
|
|
|
|
package unix
|
|
|
|
@@ -238,6 +238,8 @@ const (
|
|
RTC_EPOCH_SET = 0x4008700e
|
|
RTC_IRQP_READ = 0x8008700b
|
|
RTC_IRQP_SET = 0x4008700c
|
|
+ RTC_PARAM_GET = 0x40187013
|
|
+ RTC_PARAM_SET = 0x40187014
|
|
RTC_PIE_OFF = 0x7006
|
|
RTC_PIE_ON = 0x7005
|
|
RTC_PLL_GET = 0x80207011
|
|
@@ -312,9 +314,11 @@ const (
|
|
SO_RCVBUF = 0x8
|
|
SO_RCVBUFFORCE = 0x21
|
|
SO_RCVLOWAT = 0x12
|
|
+ SO_RCVMARK = 0x4b
|
|
SO_RCVTIMEO = 0x14
|
|
SO_RCVTIMEO_NEW = 0x42
|
|
SO_RCVTIMEO_OLD = 0x14
|
|
+ SO_RESERVE_MEM = 0x49
|
|
SO_REUSEADDR = 0x2
|
|
SO_REUSEPORT = 0xf
|
|
SO_RXQ_OVFL = 0x28
|
|
@@ -335,6 +339,7 @@ const (
|
|
SO_TIMESTAMPNS_NEW = 0x40
|
|
SO_TIMESTAMPNS_OLD = 0x23
|
|
SO_TIMESTAMP_NEW = 0x3f
|
|
+ SO_TXREHASH = 0x4a
|
|
SO_TXTIME = 0x3d
|
|
SO_TYPE = 0x3
|
|
SO_WIFI_STATUS = 0x29
|
|
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go b/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go
|
|
index b66bf22..390c01d 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go
|
|
@@ -1,11 +1,11 @@
|
|
-// mkerrors.sh -Wall -Werror -static -I/tmp/include -fsigned-char
|
|
+// mkerrors.sh -Wall -Werror -static -I/tmp/s390x/include -fsigned-char
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build s390x && linux
|
|
// +build s390x,linux
|
|
|
|
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
|
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char /build/unix/_const.go
|
|
+// cgo -godefs -- -Wall -Werror -static -I/tmp/s390x/include -fsigned-char _const.go
|
|
|
|
package unix
|
|
|
|
@@ -313,6 +313,8 @@ const (
|
|
RTC_EPOCH_SET = 0x4008700e
|
|
RTC_IRQP_READ = 0x8008700b
|
|
RTC_IRQP_SET = 0x4008700c
|
|
+ RTC_PARAM_GET = 0x40187013
|
|
+ RTC_PARAM_SET = 0x40187014
|
|
RTC_PIE_OFF = 0x7006
|
|
RTC_PIE_ON = 0x7005
|
|
RTC_PLL_GET = 0x80207011
|
|
@@ -387,9 +389,11 @@ const (
|
|
SO_RCVBUF = 0x8
|
|
SO_RCVBUFFORCE = 0x21
|
|
SO_RCVLOWAT = 0x12
|
|
+ SO_RCVMARK = 0x4b
|
|
SO_RCVTIMEO = 0x14
|
|
SO_RCVTIMEO_NEW = 0x42
|
|
SO_RCVTIMEO_OLD = 0x14
|
|
+ SO_RESERVE_MEM = 0x49
|
|
SO_REUSEADDR = 0x2
|
|
SO_REUSEPORT = 0xf
|
|
SO_RXQ_OVFL = 0x28
|
|
@@ -410,6 +414,7 @@ const (
|
|
SO_TIMESTAMPNS_NEW = 0x40
|
|
SO_TIMESTAMPNS_OLD = 0x23
|
|
SO_TIMESTAMP_NEW = 0x3f
|
|
+ SO_TXREHASH = 0x4a
|
|
SO_TXTIME = 0x3d
|
|
SO_TYPE = 0x3
|
|
SO_WIFI_STATUS = 0x29
|
|
diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go
|
|
index f7fb149..98a6e5f 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go
|
|
@@ -1,11 +1,11 @@
|
|
-// mkerrors.sh -Wall -Werror -static -I/tmp/include
|
|
+// mkerrors.sh -Wall -Werror -static -I/tmp/sparc64/include
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build sparc64 && linux
|
|
// +build sparc64,linux
|
|
|
|
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
|
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/_const.go
|
|
+// cgo -godefs -- -Wall -Werror -static -I/tmp/sparc64/include _const.go
|
|
|
|
package unix
|
|
|
|
@@ -304,6 +304,8 @@ const (
|
|
RTC_EPOCH_SET = 0x8008700e
|
|
RTC_IRQP_READ = 0x4008700b
|
|
RTC_IRQP_SET = 0x8008700c
|
|
+ RTC_PARAM_GET = 0x80187013
|
|
+ RTC_PARAM_SET = 0x80187014
|
|
RTC_PIE_OFF = 0x20007006
|
|
RTC_PIE_ON = 0x20007005
|
|
RTC_PLL_GET = 0x40207011
|
|
@@ -378,9 +380,11 @@ const (
|
|
SO_RCVBUF = 0x1002
|
|
SO_RCVBUFFORCE = 0x100b
|
|
SO_RCVLOWAT = 0x800
|
|
+ SO_RCVMARK = 0x54
|
|
SO_RCVTIMEO = 0x2000
|
|
SO_RCVTIMEO_NEW = 0x44
|
|
SO_RCVTIMEO_OLD = 0x2000
|
|
+ SO_RESERVE_MEM = 0x52
|
|
SO_REUSEADDR = 0x4
|
|
SO_REUSEPORT = 0x200
|
|
SO_RXQ_OVFL = 0x24
|
|
@@ -401,6 +405,7 @@ const (
|
|
SO_TIMESTAMPNS_NEW = 0x42
|
|
SO_TIMESTAMPNS_OLD = 0x21
|
|
SO_TIMESTAMP_NEW = 0x46
|
|
+ SO_TXREHASH = 0x53
|
|
SO_TXTIME = 0x3f
|
|
SO_TYPE = 0x1008
|
|
SO_WIFI_STATUS = 0x25
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go
|
|
index 85e0cc3..870215d 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go
|
|
@@ -975,7 +975,7 @@ func Pause() (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 *byte
|
|
if len(p) > 0 {
|
|
_p0 = &p[0]
|
|
@@ -992,7 +992,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 *byte
|
|
if len(p) > 0 {
|
|
_p0 = &p[0]
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go
|
|
index f1d4a73..a89b0bf 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go
|
|
@@ -931,7 +931,7 @@ func Pause() (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 *byte
|
|
if len(p) > 0 {
|
|
_p0 = &p[0]
|
|
@@ -946,7 +946,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 *byte
|
|
if len(p) > 0 {
|
|
_p0 = &p[0]
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_13.s b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_13.s
|
|
index d6c3e25..f5bb40e 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_13.s
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_13.s
|
|
@@ -1,4 +1,4 @@
|
|
-// go run mkasm_darwin.go amd64
|
|
+// go run mkasm.go darwin amd64
|
|
// Code generated by the command above; DO NOT EDIT.
|
|
|
|
//go:build go1.13
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go
|
|
index 0ae0ed4..467deed 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go
|
|
@@ -643,17 +643,22 @@ var libc_flistxattr_trampoline_addr uintptr
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func setattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
|
|
- _, _, e1 := syscall_syscall6(libc_setattrlist_trampoline_addr, uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
|
|
+func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := syscall_syscall6(libc_utimensat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
-var libc_setattrlist_trampoline_addr uintptr
|
|
+var libc_utimensat_trampoline_addr uintptr
|
|
|
|
-//go:cgo_import_dynamic libc_setattrlist setattrlist "/usr/lib/libSystem.B.dylib"
|
|
+//go:cgo_import_dynamic libc_utimensat utimensat "/usr/lib/libSystem.B.dylib"
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
@@ -1638,6 +1643,30 @@ var libc_mknod_trampoline_addr uintptr
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
+func Mount(fsType string, dir string, flags int, data unsafe.Pointer) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(fsType)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ var _p1 *byte
|
|
+ _p1, err = BytePtrFromString(dir)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := syscall_syscall6(libc_mount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(flags), uintptr(data), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+var libc_mount_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mount mount "/usr/lib/libSystem.B.dylib"
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
func Open(path string, mode int, perm uint32) (fd int, err error) {
|
|
var _p0 *byte
|
|
_p0, err = BytePtrFromString(path)
|
|
@@ -1698,7 +1727,7 @@ var libc_pathconf_trampoline_addr uintptr
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -1719,7 +1748,7 @@ var libc_pread_trampoline_addr uintptr
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s
|
|
index eac6ca8..b41467a 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s
|
|
@@ -1,4 +1,4 @@
|
|
-// go run mkasm_darwin.go amd64
|
|
+// go run mkasm.go darwin amd64
|
|
// Code generated by the command above; DO NOT EDIT.
|
|
|
|
//go:build go1.12
|
|
@@ -228,11 +228,11 @@ TEXT libc_flistxattr_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)
|
|
+TEXT libc_utimensat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_utimensat(SB)
|
|
|
|
-GLOBL ·libc_setattrlist_trampoline_addr(SB), RODATA, $8
|
|
-DATA ·libc_setattrlist_trampoline_addr(SB)/8, $libc_setattrlist_trampoline<>(SB)
|
|
+GLOBL ·libc_utimensat_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_utimensat_trampoline_addr(SB)/8, $libc_utimensat_trampoline<>(SB)
|
|
|
|
TEXT libc_fcntl_trampoline<>(SB),NOSPLIT,$0-0
|
|
JMP libc_fcntl(SB)
|
|
@@ -600,6 +600,12 @@ TEXT libc_mknod_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_mount_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mount(SB)
|
|
+
|
|
+GLOBL ·libc_mount_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_mount_trampoline_addr(SB)/8, $libc_mount_trampoline<>(SB)
|
|
+
|
|
TEXT libc_open_trampoline<>(SB),NOSPLIT,$0-0
|
|
JMP libc_open(SB)
|
|
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_13.s b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_13.s
|
|
index 3579897..0c3f76b 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_13.s
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_13.s
|
|
@@ -1,4 +1,4 @@
|
|
-// go run mkasm_darwin.go arm64
|
|
+// go run mkasm.go darwin arm64
|
|
// Code generated by the command above; DO NOT EDIT.
|
|
|
|
//go:build go1.13
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
|
|
index cf71be3..35938d3 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
|
|
@@ -643,17 +643,22 @@ var libc_flistxattr_trampoline_addr uintptr
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func setattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
|
|
- _, _, e1 := syscall_syscall6(libc_setattrlist_trampoline_addr, uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
|
|
+func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := syscall_syscall6(libc_utimensat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
-var libc_setattrlist_trampoline_addr uintptr
|
|
+var libc_utimensat_trampoline_addr uintptr
|
|
|
|
-//go:cgo_import_dynamic libc_setattrlist setattrlist "/usr/lib/libSystem.B.dylib"
|
|
+//go:cgo_import_dynamic libc_utimensat utimensat "/usr/lib/libSystem.B.dylib"
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
@@ -1638,6 +1643,30 @@ var libc_mknod_trampoline_addr uintptr
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
+func Mount(fsType string, dir string, flags int, data unsafe.Pointer) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(fsType)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ var _p1 *byte
|
|
+ _p1, err = BytePtrFromString(dir)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := syscall_syscall6(libc_mount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(flags), uintptr(data), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+var libc_mount_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mount mount "/usr/lib/libSystem.B.dylib"
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
func Open(path string, mode int, perm uint32) (fd int, err error) {
|
|
var _p0 *byte
|
|
_p0, err = BytePtrFromString(path)
|
|
@@ -1698,7 +1727,7 @@ var libc_pathconf_trampoline_addr uintptr
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -1719,7 +1748,7 @@ var libc_pread_trampoline_addr uintptr
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s
|
|
index 4ebcf21..e1f9204 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s
|
|
@@ -1,4 +1,4 @@
|
|
-// go run mkasm_darwin.go arm64
|
|
+// go run mkasm.go darwin arm64
|
|
// Code generated by the command above; DO NOT EDIT.
|
|
|
|
//go:build go1.12
|
|
@@ -228,11 +228,11 @@ TEXT libc_flistxattr_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)
|
|
+TEXT libc_utimensat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_utimensat(SB)
|
|
|
|
-GLOBL ·libc_setattrlist_trampoline_addr(SB), RODATA, $8
|
|
-DATA ·libc_setattrlist_trampoline_addr(SB)/8, $libc_setattrlist_trampoline<>(SB)
|
|
+GLOBL ·libc_utimensat_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_utimensat_trampoline_addr(SB)/8, $libc_utimensat_trampoline<>(SB)
|
|
|
|
TEXT libc_fcntl_trampoline<>(SB),NOSPLIT,$0-0
|
|
JMP libc_fcntl(SB)
|
|
@@ -600,6 +600,12 @@ TEXT libc_mknod_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_mount_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mount(SB)
|
|
+
|
|
+GLOBL ·libc_mount_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_mount_trampoline_addr(SB)/8, $libc_mount_trampoline<>(SB)
|
|
+
|
|
TEXT libc_open_trampoline<>(SB),NOSPLIT,$0-0
|
|
JMP libc_open(SB)
|
|
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go
|
|
index 3e9bddb..039c4aa 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go
|
|
@@ -912,7 +912,7 @@ func Fpathconf(fd int, name int) (val int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func fstat(fd int, stat *stat_freebsd11_t) (err error) {
|
|
+func Fstat(fd int, stat *Stat_t) (err error) {
|
|
_, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -922,17 +922,7 @@ func fstat(fd int, stat *stat_freebsd11_t) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func fstat_freebsd12(fd int, stat *Stat_t) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FSTAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func fstatat(fd int, path string, stat *stat_freebsd11_t, flags int) (err error) {
|
|
+func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
|
|
var _p0 *byte
|
|
_p0, err = BytePtrFromString(path)
|
|
if err != nil {
|
|
@@ -947,22 +937,7 @@ func fstatat(fd int, path string, stat *stat_freebsd11_t, flags int) (err error)
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func fstatat_freebsd12(fd int, path string, stat *Stat_t, flags int) (err error) {
|
|
- var _p0 *byte
|
|
- _p0, err = BytePtrFromString(path)
|
|
- if err != nil {
|
|
- return
|
|
- }
|
|
- _, _, e1 := Syscall6(SYS_FSTATAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func fstatfs(fd int, stat *statfs_freebsd11_t) (err error) {
|
|
+func Fstatfs(fd int, stat *Statfs_t) (err error) {
|
|
_, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -972,16 +947,6 @@ func fstatfs(fd int, stat *statfs_freebsd11_t) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func fstatfs_freebsd12(fd int, stat *Statfs_t) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FSTATFS_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Fsync(fd int) (err error) {
|
|
_, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
|
|
if e1 != 0 {
|
|
@@ -1002,7 +967,7 @@ func Ftruncate(fd int, length int64) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
|
|
+func getdirentries(fd int, buf []byte, basep *uint64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(buf) > 0 {
|
|
_p0 = unsafe.Pointer(&buf[0])
|
|
@@ -1019,23 +984,6 @@ func getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func getdirentries_freebsd12(fd int, buf []byte, basep *uint64) (n int, err error) {
|
|
- var _p0 unsafe.Pointer
|
|
- if len(buf) > 0 {
|
|
- _p0 = unsafe.Pointer(&buf[0])
|
|
- } else {
|
|
- _p0 = unsafe.Pointer(&_zero)
|
|
- }
|
|
- r0, _, e1 := Syscall6(SYS_GETDIRENTRIES_FREEBSD12, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
|
|
- n = int(r0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Getdtablesize() (size int) {
|
|
r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
|
|
size = int(r0)
|
|
@@ -1257,21 +1205,6 @@ func Listen(s int, backlog int) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func lstat(path string, stat *stat_freebsd11_t) (err error) {
|
|
- var _p0 *byte
|
|
- _p0, err = BytePtrFromString(path)
|
|
- if err != nil {
|
|
- return
|
|
- }
|
|
- _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Mkdir(path string, mode uint32) (err error) {
|
|
var _p0 *byte
|
|
_p0, err = BytePtrFromString(path)
|
|
@@ -1317,43 +1250,13 @@ func Mkfifo(path string, mode uint32) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func mknod(path string, mode uint32, dev int) (err error) {
|
|
- var _p0 *byte
|
|
- _p0, err = BytePtrFromString(path)
|
|
- if err != nil {
|
|
- return
|
|
- }
|
|
- _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func mknodat(fd int, path string, mode uint32, dev int) (err error) {
|
|
- var _p0 *byte
|
|
- _p0, err = BytePtrFromString(path)
|
|
- if err != nil {
|
|
- return
|
|
- }
|
|
- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func mknodat_freebsd12(fd int, path string, mode uint32, dev uint64) (err error) {
|
|
+func Mknodat(fd int, path string, mode uint32, dev uint64) (err error) {
|
|
var _p0 *byte
|
|
_p0, err = BytePtrFromString(path)
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_MKNODAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), uintptr(dev>>32), 0)
|
|
+ _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), uintptr(dev>>32), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
@@ -1420,7 +1323,7 @@ func Pathconf(path string, name int) (val int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -1437,7 +1340,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -1753,22 +1656,7 @@ func Setuid(uid int) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func stat(path string, stat *stat_freebsd11_t) (err error) {
|
|
- var _p0 *byte
|
|
- _p0, err = BytePtrFromString(path)
|
|
- if err != nil {
|
|
- return
|
|
- }
|
|
- _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func statfs(path string, stat *statfs_freebsd11_t) (err error) {
|
|
+func Statfs(path string, stat *Statfs_t) (err error) {
|
|
var _p0 *byte
|
|
_p0, err = BytePtrFromString(path)
|
|
if err != nil {
|
|
@@ -1783,21 +1671,6 @@ func statfs(path string, stat *statfs_freebsd11_t) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func statfs_freebsd12(path string, stat *Statfs_t) (err error) {
|
|
- var _p0 *byte
|
|
- _p0, err = BytePtrFromString(path)
|
|
- if err != nil {
|
|
- return
|
|
- }
|
|
- _, _, e1 := Syscall(SYS_STATFS_FREEBSD12, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Symlink(path string, link string) (err error) {
|
|
var _p0 *byte
|
|
_p0, err = BytePtrFromString(path)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go
|
|
index c72a462..0535d3c 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go
|
|
@@ -912,7 +912,7 @@ func Fpathconf(fd int, name int) (val int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func fstat(fd int, stat *stat_freebsd11_t) (err error) {
|
|
+func Fstat(fd int, stat *Stat_t) (err error) {
|
|
_, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -922,17 +922,7 @@ func fstat(fd int, stat *stat_freebsd11_t) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func fstat_freebsd12(fd int, stat *Stat_t) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FSTAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func fstatat(fd int, path string, stat *stat_freebsd11_t, flags int) (err error) {
|
|
+func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
|
|
var _p0 *byte
|
|
_p0, err = BytePtrFromString(path)
|
|
if err != nil {
|
|
@@ -947,22 +937,7 @@ func fstatat(fd int, path string, stat *stat_freebsd11_t, flags int) (err error)
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func fstatat_freebsd12(fd int, path string, stat *Stat_t, flags int) (err error) {
|
|
- var _p0 *byte
|
|
- _p0, err = BytePtrFromString(path)
|
|
- if err != nil {
|
|
- return
|
|
- }
|
|
- _, _, e1 := Syscall6(SYS_FSTATAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func fstatfs(fd int, stat *statfs_freebsd11_t) (err error) {
|
|
+func Fstatfs(fd int, stat *Statfs_t) (err error) {
|
|
_, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -972,16 +947,6 @@ func fstatfs(fd int, stat *statfs_freebsd11_t) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func fstatfs_freebsd12(fd int, stat *Statfs_t) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FSTATFS_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Fsync(fd int) (err error) {
|
|
_, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
|
|
if e1 != 0 {
|
|
@@ -1002,7 +967,7 @@ func Ftruncate(fd int, length int64) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
|
|
+func getdirentries(fd int, buf []byte, basep *uint64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(buf) > 0 {
|
|
_p0 = unsafe.Pointer(&buf[0])
|
|
@@ -1019,23 +984,6 @@ func getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func getdirentries_freebsd12(fd int, buf []byte, basep *uint64) (n int, err error) {
|
|
- var _p0 unsafe.Pointer
|
|
- if len(buf) > 0 {
|
|
- _p0 = unsafe.Pointer(&buf[0])
|
|
- } else {
|
|
- _p0 = unsafe.Pointer(&_zero)
|
|
- }
|
|
- r0, _, e1 := Syscall6(SYS_GETDIRENTRIES_FREEBSD12, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
|
|
- n = int(r0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Getdtablesize() (size int) {
|
|
r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
|
|
size = int(r0)
|
|
@@ -1257,21 +1205,6 @@ func Listen(s int, backlog int) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func lstat(path string, stat *stat_freebsd11_t) (err error) {
|
|
- var _p0 *byte
|
|
- _p0, err = BytePtrFromString(path)
|
|
- if err != nil {
|
|
- return
|
|
- }
|
|
- _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Mkdir(path string, mode uint32) (err error) {
|
|
var _p0 *byte
|
|
_p0, err = BytePtrFromString(path)
|
|
@@ -1317,22 +1250,7 @@ func Mkfifo(path string, mode uint32) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func mknod(path string, mode uint32, dev int) (err error) {
|
|
- var _p0 *byte
|
|
- _p0, err = BytePtrFromString(path)
|
|
- if err != nil {
|
|
- return
|
|
- }
|
|
- _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func mknodat(fd int, path string, mode uint32, dev int) (err error) {
|
|
+func Mknodat(fd int, path string, mode uint32, dev uint64) (err error) {
|
|
var _p0 *byte
|
|
_p0, err = BytePtrFromString(path)
|
|
if err != nil {
|
|
@@ -1347,21 +1265,6 @@ func mknodat(fd int, path string, mode uint32, dev int) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func mknodat_freebsd12(fd int, path string, mode uint32, dev uint64) (err error) {
|
|
- var _p0 *byte
|
|
- _p0, err = BytePtrFromString(path)
|
|
- if err != nil {
|
|
- return
|
|
- }
|
|
- _, _, e1 := Syscall6(SYS_MKNODAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
|
|
_, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
|
|
if e1 != 0 {
|
|
@@ -1420,7 +1323,7 @@ func Pathconf(path string, name int) (val int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -1437,7 +1340,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -1753,22 +1656,7 @@ func Setuid(uid int) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func stat(path string, stat *stat_freebsd11_t) (err error) {
|
|
- var _p0 *byte
|
|
- _p0, err = BytePtrFromString(path)
|
|
- if err != nil {
|
|
- return
|
|
- }
|
|
- _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func statfs(path string, stat *statfs_freebsd11_t) (err error) {
|
|
+func Statfs(path string, stat *Statfs_t) (err error) {
|
|
var _p0 *byte
|
|
_p0, err = BytePtrFromString(path)
|
|
if err != nil {
|
|
@@ -1783,21 +1671,6 @@ func statfs(path string, stat *statfs_freebsd11_t) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func statfs_freebsd12(path string, stat *Statfs_t) (err error) {
|
|
- var _p0 *byte
|
|
- _p0, err = BytePtrFromString(path)
|
|
- if err != nil {
|
|
- return
|
|
- }
|
|
- _, _, e1 := Syscall(SYS_STATFS_FREEBSD12, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Symlink(path string, link string) (err error) {
|
|
var _p0 *byte
|
|
_p0, err = BytePtrFromString(path)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go
|
|
index 530d5df..1018b52 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go
|
|
@@ -351,22 +351,6 @@ func Munlockall() (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
|
- var _p0 unsafe.Pointer
|
|
- if len(mib) > 0 {
|
|
- _p0 = unsafe.Pointer(&mib[0])
|
|
- } else {
|
|
- _p0 = unsafe.Pointer(&_zero)
|
|
- }
|
|
- _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func pipe2(p *[2]_C_int, flags int) (err error) {
|
|
_, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
|
|
if e1 != 0 {
|
|
@@ -404,6 +388,22 @@ func ioctl(fd int, req uint, arg uintptr) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
+func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
|
+ var _p0 unsafe.Pointer
|
|
+ if len(mib) > 0 {
|
|
+ _p0 = unsafe.Pointer(&mib[0])
|
|
+ } else {
|
|
+ _p0 = unsafe.Pointer(&_zero)
|
|
+ }
|
|
+ _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
func ptrace(request int, pid int, addr uintptr, data int) (err error) {
|
|
_, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
|
|
if e1 != 0 {
|
|
@@ -912,7 +912,7 @@ func Fpathconf(fd int, name int) (val int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func fstat(fd int, stat *stat_freebsd11_t) (err error) {
|
|
+func Fstat(fd int, stat *Stat_t) (err error) {
|
|
_, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -922,17 +922,7 @@ func fstat(fd int, stat *stat_freebsd11_t) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func fstat_freebsd12(fd int, stat *Stat_t) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FSTAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func fstatat(fd int, path string, stat *stat_freebsd11_t, flags int) (err error) {
|
|
+func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
|
|
var _p0 *byte
|
|
_p0, err = BytePtrFromString(path)
|
|
if err != nil {
|
|
@@ -947,22 +937,7 @@ func fstatat(fd int, path string, stat *stat_freebsd11_t, flags int) (err error)
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func fstatat_freebsd12(fd int, path string, stat *Stat_t, flags int) (err error) {
|
|
- var _p0 *byte
|
|
- _p0, err = BytePtrFromString(path)
|
|
- if err != nil {
|
|
- return
|
|
- }
|
|
- _, _, e1 := Syscall6(SYS_FSTATAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func fstatfs(fd int, stat *statfs_freebsd11_t) (err error) {
|
|
+func Fstatfs(fd int, stat *Statfs_t) (err error) {
|
|
_, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -972,16 +947,6 @@ func fstatfs(fd int, stat *statfs_freebsd11_t) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func fstatfs_freebsd12(fd int, stat *Statfs_t) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FSTATFS_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Fsync(fd int) (err error) {
|
|
_, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
|
|
if e1 != 0 {
|
|
@@ -1002,7 +967,7 @@ func Ftruncate(fd int, length int64) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
|
|
+func getdirentries(fd int, buf []byte, basep *uint64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(buf) > 0 {
|
|
_p0 = unsafe.Pointer(&buf[0])
|
|
@@ -1019,23 +984,6 @@ func getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func getdirentries_freebsd12(fd int, buf []byte, basep *uint64) (n int, err error) {
|
|
- var _p0 unsafe.Pointer
|
|
- if len(buf) > 0 {
|
|
- _p0 = unsafe.Pointer(&buf[0])
|
|
- } else {
|
|
- _p0 = unsafe.Pointer(&_zero)
|
|
- }
|
|
- r0, _, e1 := Syscall6(SYS_GETDIRENTRIES_FREEBSD12, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
|
|
- n = int(r0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Getdtablesize() (size int) {
|
|
r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
|
|
size = int(r0)
|
|
@@ -1257,21 +1205,6 @@ func Listen(s int, backlog int) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func lstat(path string, stat *stat_freebsd11_t) (err error) {
|
|
- var _p0 *byte
|
|
- _p0, err = BytePtrFromString(path)
|
|
- if err != nil {
|
|
- return
|
|
- }
|
|
- _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Mkdir(path string, mode uint32) (err error) {
|
|
var _p0 *byte
|
|
_p0, err = BytePtrFromString(path)
|
|
@@ -1317,43 +1250,13 @@ func Mkfifo(path string, mode uint32) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func mknod(path string, mode uint32, dev int) (err error) {
|
|
- var _p0 *byte
|
|
- _p0, err = BytePtrFromString(path)
|
|
- if err != nil {
|
|
- return
|
|
- }
|
|
- _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func mknodat(fd int, path string, mode uint32, dev int) (err error) {
|
|
- var _p0 *byte
|
|
- _p0, err = BytePtrFromString(path)
|
|
- if err != nil {
|
|
- return
|
|
- }
|
|
- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func mknodat_freebsd12(fd int, path string, mode uint32, dev uint64) (err error) {
|
|
+func Mknodat(fd int, path string, mode uint32, dev uint64) (err error) {
|
|
var _p0 *byte
|
|
_p0, err = BytePtrFromString(path)
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_MKNODAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
|
|
+ _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, uintptr(dev), uintptr(dev>>32))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
@@ -1420,7 +1323,7 @@ func Pathconf(path string, name int) (val int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -1437,7 +1340,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -1753,22 +1656,7 @@ func Setuid(uid int) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func stat(path string, stat *stat_freebsd11_t) (err error) {
|
|
- var _p0 *byte
|
|
- _p0, err = BytePtrFromString(path)
|
|
- if err != nil {
|
|
- return
|
|
- }
|
|
- _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func statfs(path string, stat *statfs_freebsd11_t) (err error) {
|
|
+func Statfs(path string, stat *Statfs_t) (err error) {
|
|
var _p0 *byte
|
|
_p0, err = BytePtrFromString(path)
|
|
if err != nil {
|
|
@@ -1783,21 +1671,6 @@ func statfs(path string, stat *statfs_freebsd11_t) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func statfs_freebsd12(path string, stat *Statfs_t) (err error) {
|
|
- var _p0 *byte
|
|
- _p0, err = BytePtrFromString(path)
|
|
- if err != nil {
|
|
- return
|
|
- }
|
|
- _, _, e1 := Syscall(SYS_STATFS_FREEBSD12, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Symlink(path string, link string) (err error) {
|
|
var _p0 *byte
|
|
_p0, err = BytePtrFromString(path)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go
|
|
index 71e7df9..3802f4b 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go
|
|
@@ -912,7 +912,7 @@ func Fpathconf(fd int, name int) (val int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func fstat(fd int, stat *stat_freebsd11_t) (err error) {
|
|
+func Fstat(fd int, stat *Stat_t) (err error) {
|
|
_, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -922,17 +922,7 @@ func fstat(fd int, stat *stat_freebsd11_t) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func fstat_freebsd12(fd int, stat *Stat_t) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FSTAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func fstatat(fd int, path string, stat *stat_freebsd11_t, flags int) (err error) {
|
|
+func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
|
|
var _p0 *byte
|
|
_p0, err = BytePtrFromString(path)
|
|
if err != nil {
|
|
@@ -947,22 +937,7 @@ func fstatat(fd int, path string, stat *stat_freebsd11_t, flags int) (err error)
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func fstatat_freebsd12(fd int, path string, stat *Stat_t, flags int) (err error) {
|
|
- var _p0 *byte
|
|
- _p0, err = BytePtrFromString(path)
|
|
- if err != nil {
|
|
- return
|
|
- }
|
|
- _, _, e1 := Syscall6(SYS_FSTATAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func fstatfs(fd int, stat *statfs_freebsd11_t) (err error) {
|
|
+func Fstatfs(fd int, stat *Statfs_t) (err error) {
|
|
_, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -972,16 +947,6 @@ func fstatfs(fd int, stat *statfs_freebsd11_t) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func fstatfs_freebsd12(fd int, stat *Statfs_t) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FSTATFS_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Fsync(fd int) (err error) {
|
|
_, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
|
|
if e1 != 0 {
|
|
@@ -1002,7 +967,7 @@ func Ftruncate(fd int, length int64) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
|
|
+func getdirentries(fd int, buf []byte, basep *uint64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(buf) > 0 {
|
|
_p0 = unsafe.Pointer(&buf[0])
|
|
@@ -1019,23 +984,6 @@ func getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func getdirentries_freebsd12(fd int, buf []byte, basep *uint64) (n int, err error) {
|
|
- var _p0 unsafe.Pointer
|
|
- if len(buf) > 0 {
|
|
- _p0 = unsafe.Pointer(&buf[0])
|
|
- } else {
|
|
- _p0 = unsafe.Pointer(&_zero)
|
|
- }
|
|
- r0, _, e1 := Syscall6(SYS_GETDIRENTRIES_FREEBSD12, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
|
|
- n = int(r0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Getdtablesize() (size int) {
|
|
r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
|
|
size = int(r0)
|
|
@@ -1257,21 +1205,6 @@ func Listen(s int, backlog int) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func lstat(path string, stat *stat_freebsd11_t) (err error) {
|
|
- var _p0 *byte
|
|
- _p0, err = BytePtrFromString(path)
|
|
- if err != nil {
|
|
- return
|
|
- }
|
|
- _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Mkdir(path string, mode uint32) (err error) {
|
|
var _p0 *byte
|
|
_p0, err = BytePtrFromString(path)
|
|
@@ -1317,22 +1250,7 @@ func Mkfifo(path string, mode uint32) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func mknod(path string, mode uint32, dev int) (err error) {
|
|
- var _p0 *byte
|
|
- _p0, err = BytePtrFromString(path)
|
|
- if err != nil {
|
|
- return
|
|
- }
|
|
- _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func mknodat(fd int, path string, mode uint32, dev int) (err error) {
|
|
+func Mknodat(fd int, path string, mode uint32, dev uint64) (err error) {
|
|
var _p0 *byte
|
|
_p0, err = BytePtrFromString(path)
|
|
if err != nil {
|
|
@@ -1347,21 +1265,6 @@ func mknodat(fd int, path string, mode uint32, dev int) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func mknodat_freebsd12(fd int, path string, mode uint32, dev uint64) (err error) {
|
|
- var _p0 *byte
|
|
- _p0, err = BytePtrFromString(path)
|
|
- if err != nil {
|
|
- return
|
|
- }
|
|
- _, _, e1 := Syscall6(SYS_MKNODAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
|
|
_, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
|
|
if e1 != 0 {
|
|
@@ -1420,7 +1323,7 @@ func Pathconf(path string, name int) (val int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -1437,7 +1340,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -1753,22 +1656,7 @@ func Setuid(uid int) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func stat(path string, stat *stat_freebsd11_t) (err error) {
|
|
- var _p0 *byte
|
|
- _p0, err = BytePtrFromString(path)
|
|
- if err != nil {
|
|
- return
|
|
- }
|
|
- _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func statfs(path string, stat *statfs_freebsd11_t) (err error) {
|
|
+func Statfs(path string, stat *Statfs_t) (err error) {
|
|
var _p0 *byte
|
|
_p0, err = BytePtrFromString(path)
|
|
if err != nil {
|
|
@@ -1783,21 +1671,6 @@ func statfs(path string, stat *statfs_freebsd11_t) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func statfs_freebsd12(path string, stat *Statfs_t) (err error) {
|
|
- var _p0 *byte
|
|
- _p0, err = BytePtrFromString(path)
|
|
- if err != nil {
|
|
- return
|
|
- }
|
|
- _, _, e1 := Syscall(SYS_STATFS_FREEBSD12, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Symlink(path string, link string) (err error) {
|
|
var _p0 *byte
|
|
_p0, err = BytePtrFromString(path)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_riscv64.go b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_riscv64.go
|
|
new file mode 100644
|
|
index 0000000..8a2db7d
|
|
--- /dev/null
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_riscv64.go
|
|
@@ -0,0 +1,1889 @@
|
|
+// go run mksyscall.go -tags freebsd,riscv64 syscall_bsd.go syscall_freebsd.go syscall_freebsd_riscv64.go
|
|
+// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
+
|
|
+//go:build freebsd && riscv64
|
|
+// +build freebsd,riscv64
|
|
+
|
|
+package unix
|
|
+
|
|
+import (
|
|
+ "syscall"
|
|
+ "unsafe"
|
|
+)
|
|
+
|
|
+var _ syscall.Errno
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
|
|
+ r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
|
|
+ n = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func setgroups(ngid int, gid *_Gid_t) (err error) {
|
|
+ _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
|
|
+ r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
|
|
+ wpid = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
+ fd = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func socket(domain int, typ int, proto int) (fd int, err error) {
|
|
+ r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
|
|
+ fd = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
|
|
+ _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
|
|
+ _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
|
|
+ _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
|
|
+ _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Shutdown(s int, how int) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
|
|
+ _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
|
|
+ var _p0 unsafe.Pointer
|
|
+ if len(p) > 0 {
|
|
+ _p0 = unsafe.Pointer(&p[0])
|
|
+ } else {
|
|
+ _p0 = unsafe.Pointer(&_zero)
|
|
+ }
|
|
+ r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
|
|
+ n = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
|
|
+ var _p0 unsafe.Pointer
|
|
+ if len(buf) > 0 {
|
|
+ _p0 = unsafe.Pointer(&buf[0])
|
|
+ } else {
|
|
+ _p0 = unsafe.Pointer(&_zero)
|
|
+ }
|
|
+ _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
|
|
+ n = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
|
|
+ n = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
|
|
+ r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
|
|
+ n = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func utimes(path string, timeval *[2]Timeval) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func futimes(fd int, timeval *[2]Timeval) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
|
|
+ n = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Madvise(b []byte, behav int) (err error) {
|
|
+ var _p0 unsafe.Pointer
|
|
+ if len(b) > 0 {
|
|
+ _p0 = unsafe.Pointer(&b[0])
|
|
+ } else {
|
|
+ _p0 = unsafe.Pointer(&_zero)
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(behav))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Mlock(b []byte) (err error) {
|
|
+ var _p0 unsafe.Pointer
|
|
+ if len(b) > 0 {
|
|
+ _p0 = unsafe.Pointer(&b[0])
|
|
+ } else {
|
|
+ _p0 = unsafe.Pointer(&_zero)
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Mlockall(flags int) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Mprotect(b []byte, prot int) (err error) {
|
|
+ var _p0 unsafe.Pointer
|
|
+ if len(b) > 0 {
|
|
+ _p0 = unsafe.Pointer(&b[0])
|
|
+ } else {
|
|
+ _p0 = unsafe.Pointer(&_zero)
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Msync(b []byte, flags int) (err error) {
|
|
+ var _p0 unsafe.Pointer
|
|
+ if len(b) > 0 {
|
|
+ _p0 = unsafe.Pointer(&b[0])
|
|
+ } else {
|
|
+ _p0 = unsafe.Pointer(&_zero)
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Munlock(b []byte) (err error) {
|
|
+ var _p0 unsafe.Pointer
|
|
+ if len(b) > 0 {
|
|
+ _p0 = unsafe.Pointer(&b[0])
|
|
+ } else {
|
|
+ _p0 = unsafe.Pointer(&_zero)
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Munlockall() (err error) {
|
|
+ _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func pipe2(p *[2]_C_int, flags int) (err error) {
|
|
+ _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Getcwd(buf []byte) (n int, err error) {
|
|
+ var _p0 unsafe.Pointer
|
|
+ if len(buf) > 0 {
|
|
+ _p0 = unsafe.Pointer(&buf[0])
|
|
+ } else {
|
|
+ _p0 = unsafe.Pointer(&_zero)
|
|
+ }
|
|
+ r0, _, e1 := Syscall(SYS___GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
|
|
+ n = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func ioctl(fd int, req uint, arg uintptr) (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 sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
|
+ var _p0 unsafe.Pointer
|
|
+ if len(mib) > 0 {
|
|
+ _p0 = unsafe.Pointer(&mib[0])
|
|
+ } else {
|
|
+ _p0 = unsafe.Pointer(&_zero)
|
|
+ }
|
|
+ _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func ptrace(request int, pid int, addr uintptr, data int) (err error) {
|
|
+ _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Access(path string, mode uint32) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func CapEnter() (err error) {
|
|
+ _, _, e1 := Syscall(SYS_CAP_ENTER, 0, 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func capRightsGet(version int, fd int, rightsp *CapRights) (err error) {
|
|
+ _, _, e1 := Syscall(SYS___CAP_RIGHTS_GET, uintptr(version), uintptr(fd), uintptr(unsafe.Pointer(rightsp)))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func capRightsLimit(fd int, rightsp *CapRights) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_CAP_RIGHTS_LIMIT, uintptr(fd), uintptr(unsafe.Pointer(rightsp)), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Chdir(path string) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Chflags(path string, flags int) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Chmod(path string, mode uint32) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Chown(path string, uid int, gid int) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Chroot(path string) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Close(fd int) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Dup(fd int) (nfd int, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
|
|
+ nfd = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Dup2(from int, to int) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Exit(code int) {
|
|
+ Syscall(SYS_EXIT, uintptr(code), 0, 0)
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func ExtattrGetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(attrname)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ r0, _, e1 := Syscall6(SYS_EXTATTR_GET_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)), uintptr(data), uintptr(nbytes), 0)
|
|
+ ret = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func ExtattrSetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(attrname)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ r0, _, e1 := Syscall6(SYS_EXTATTR_SET_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)), uintptr(data), uintptr(nbytes), 0)
|
|
+ ret = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func ExtattrDeleteFd(fd int, attrnamespace int, attrname string) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(attrname)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_EXTATTR_DELETE_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func ExtattrListFd(fd int, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
|
|
+ r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_FD, uintptr(fd), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
|
|
+ ret = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func ExtattrGetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(file)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ var _p1 *byte
|
|
+ _p1, err = BytePtrFromString(attrname)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ r0, _, e1 := Syscall6(SYS_EXTATTR_GET_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
|
|
+ ret = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func ExtattrSetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(file)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ var _p1 *byte
|
|
+ _p1, err = BytePtrFromString(attrname)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ r0, _, e1 := Syscall6(SYS_EXTATTR_SET_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
|
|
+ ret = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func ExtattrDeleteFile(file string, attrnamespace int, attrname string) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(file)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ var _p1 *byte
|
|
+ _p1, err = BytePtrFromString(attrname)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_EXTATTR_DELETE_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func ExtattrListFile(file string, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(file)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
|
|
+ ret = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func ExtattrGetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(link)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ var _p1 *byte
|
|
+ _p1, err = BytePtrFromString(attrname)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ r0, _, e1 := Syscall6(SYS_EXTATTR_GET_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
|
|
+ ret = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func ExtattrSetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(link)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ var _p1 *byte
|
|
+ _p1, err = BytePtrFromString(attrname)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ r0, _, e1 := Syscall6(SYS_EXTATTR_SET_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
|
|
+ ret = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func ExtattrDeleteLink(link string, attrnamespace int, attrname string) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(link)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ var _p1 *byte
|
|
+ _p1, err = BytePtrFromString(attrname)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_EXTATTR_DELETE_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func ExtattrListLink(link string, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(link)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
|
|
+ ret = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
|
|
+ _, _, e1 := Syscall6(SYS_POSIX_FADVISE, uintptr(fd), uintptr(offset), uintptr(length), uintptr(advice), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Fchdir(fd int) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Fchflags(fd int, flags int) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Fchmod(fd int, mode uint32) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Fchown(fd int, uid int, gid int) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Flock(fd int, how int) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Fpathconf(fd int, name int) (val int, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
|
|
+ val = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Fstat(fd int, stat *Stat_t) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Fstatfs(fd int, stat *Statfs_t) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Fsync(fd int) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Ftruncate(fd int, length int64) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func getdirentries(fd int, buf []byte, basep *uint64) (n int, err error) {
|
|
+ var _p0 unsafe.Pointer
|
|
+ if len(buf) > 0 {
|
|
+ _p0 = unsafe.Pointer(&buf[0])
|
|
+ } else {
|
|
+ _p0 = unsafe.Pointer(&_zero)
|
|
+ }
|
|
+ r0, _, e1 := Syscall6(SYS_GETDIRENTRIES, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
|
|
+ n = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Getdtablesize() (size int) {
|
|
+ r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
|
|
+ size = int(r0)
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Getegid() (egid int) {
|
|
+ r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
|
|
+ egid = int(r0)
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Geteuid() (uid int) {
|
|
+ r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
|
|
+ uid = int(r0)
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Getgid() (gid int) {
|
|
+ r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
|
|
+ gid = int(r0)
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Getpgid(pid int) (pgid int, err error) {
|
|
+ r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
|
|
+ pgid = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Getpgrp() (pgrp int) {
|
|
+ r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
|
|
+ pgrp = int(r0)
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Getpid() (pid int) {
|
|
+ r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
|
|
+ pid = int(r0)
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Getppid() (ppid int) {
|
|
+ r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
|
|
+ ppid = int(r0)
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Getpriority(which int, who int) (prio int, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
|
|
+ prio = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Getrlimit(which int, lim *Rlimit) (err error) {
|
|
+ _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Getrusage(who int, rusage *Rusage) (err error) {
|
|
+ _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Getsid(pid int) (sid int, err error) {
|
|
+ r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
|
|
+ sid = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Gettimeofday(tv *Timeval) (err error) {
|
|
+ _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Getuid() (uid int) {
|
|
+ r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
|
|
+ uid = int(r0)
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Issetugid() (tainted bool) {
|
|
+ r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
|
|
+ tainted = bool(r0 != 0)
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Kill(pid int, signum syscall.Signal) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Kqueue() (fd int, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
|
|
+ fd = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Lchown(path string, uid int, gid int) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Link(path string, link string) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ var _p1 *byte
|
|
+ _p1, err = BytePtrFromString(link)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ var _p1 *byte
|
|
+ _p1, err = BytePtrFromString(link)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall6(SYS_LINKAT, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Listen(s int, backlog int) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Mkdir(path string, mode uint32) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Mkdirat(dirfd int, path string, mode uint32) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Mkfifo(path string, mode uint32) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Mknodat(fd int, path string, mode uint32, dev uint64) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Open(path string, mode int, perm uint32) (fd int, err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
|
|
+ fd = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Openat(fdat int, path string, mode int, perm uint32) (fd int, err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(fdat), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
|
|
+ fd = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Pathconf(path string, name int) (val int, err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
|
|
+ val = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+ var _p0 unsafe.Pointer
|
|
+ if len(p) > 0 {
|
|
+ _p0 = unsafe.Pointer(&p[0])
|
|
+ } else {
|
|
+ _p0 = unsafe.Pointer(&_zero)
|
|
+ }
|
|
+ r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
|
|
+ n = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+ var _p0 unsafe.Pointer
|
|
+ if len(p) > 0 {
|
|
+ _p0 = unsafe.Pointer(&p[0])
|
|
+ } else {
|
|
+ _p0 = unsafe.Pointer(&_zero)
|
|
+ }
|
|
+ r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
|
|
+ n = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func read(fd int, p []byte) (n int, err error) {
|
|
+ var _p0 unsafe.Pointer
|
|
+ if len(p) > 0 {
|
|
+ _p0 = unsafe.Pointer(&p[0])
|
|
+ } else {
|
|
+ _p0 = unsafe.Pointer(&_zero)
|
|
+ }
|
|
+ r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
|
|
+ n = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Readlink(path string, buf []byte) (n int, err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ var _p1 unsafe.Pointer
|
|
+ if len(buf) > 0 {
|
|
+ _p1 = unsafe.Pointer(&buf[0])
|
|
+ } else {
|
|
+ _p1 = unsafe.Pointer(&_zero)
|
|
+ }
|
|
+ r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
|
|
+ n = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ var _p1 unsafe.Pointer
|
|
+ if len(buf) > 0 {
|
|
+ _p1 = unsafe.Pointer(&buf[0])
|
|
+ } else {
|
|
+ _p1 = unsafe.Pointer(&_zero)
|
|
+ }
|
|
+ r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
|
|
+ n = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Rename(from string, to string) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(from)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ var _p1 *byte
|
|
+ _p1, err = BytePtrFromString(to)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Renameat(fromfd int, from string, tofd int, to string) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(from)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ var _p1 *byte
|
|
+ _p1, err = BytePtrFromString(to)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Revoke(path string) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Rmdir(path string) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
|
|
+ newoffset = int64(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
|
|
+ r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
|
+ n = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Setegid(egid int) (err error) {
|
|
+ _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Seteuid(euid int) (err error) {
|
|
+ _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Setgid(gid int) (err error) {
|
|
+ _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Setlogin(name string) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(name)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Setpgid(pid int, pgid int) (err error) {
|
|
+ _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Setpriority(which int, who int, prio int) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Setregid(rgid int, egid int) (err error) {
|
|
+ _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Setreuid(ruid int, euid int) (err error) {
|
|
+ _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Setresgid(rgid int, egid int, sgid int) (err error) {
|
|
+ _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Setresuid(ruid int, euid int, suid int) (err error) {
|
|
+ _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Setrlimit(which int, lim *Rlimit) (err error) {
|
|
+ _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Setsid() (pid int, err error) {
|
|
+ r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
|
|
+ pid = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Settimeofday(tp *Timeval) (err error) {
|
|
+ _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Setuid(uid int) (err error) {
|
|
+ _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Statfs(path string, stat *Statfs_t) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Symlink(path string, link string) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ var _p1 *byte
|
|
+ _p1, err = BytePtrFromString(link)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(oldpath)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ var _p1 *byte
|
|
+ _p1, err = BytePtrFromString(newpath)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Sync() (err error) {
|
|
+ _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Truncate(path string, length int64) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Umask(newmask int) (oldmask int) {
|
|
+ r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
|
|
+ oldmask = int(r0)
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Undelete(path string) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Unlink(path string) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Unlinkat(dirfd int, path string, flags int) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Unmount(path string, flags int) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func write(fd int, p []byte) (n int, err error) {
|
|
+ var _p0 unsafe.Pointer
|
|
+ if len(p) > 0 {
|
|
+ _p0 = unsafe.Pointer(&p[0])
|
|
+ } else {
|
|
+ _p0 = unsafe.Pointer(&_zero)
|
|
+ }
|
|
+ r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
|
|
+ n = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
|
|
+ r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos))
|
|
+ ret = uintptr(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func munmap(addr uintptr, length uintptr) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
+ n = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
+ n = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error) {
|
|
+ r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
|
|
+ nfd = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux.go b/vendor/golang.org/x/sys/unix/zsyscall_linux.go
|
|
index 93edda4..bc4a275 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_linux.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux.go
|
|
@@ -231,6 +231,16 @@ func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
+func Waitid(idType int, id int, info *Siginfo, options int, rusage *Rusage) (err error) {
|
|
+ _, _, e1 := Syscall6(SYS_WAITID, uintptr(idType), uintptr(id), uintptr(unsafe.Pointer(info)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
func KeyctlInt(cmd int, arg2 int, arg3 int, arg4 int, arg5 int) (ret int, err error) {
|
|
r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
|
|
ret = int(r0)
|
|
@@ -818,6 +828,49 @@ func Fsync(fd int) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
+func Fsmount(fd int, flags int, mountAttrs int) (fsfd int, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_FSMOUNT, uintptr(fd), uintptr(flags), uintptr(mountAttrs))
|
|
+ fsfd = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Fsopen(fsName string, flags int) (fd int, err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(fsName)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ r0, _, e1 := Syscall(SYS_FSOPEN, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
|
|
+ fd = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Fspick(dirfd int, pathName string, flags int) (fd int, err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(pathName)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ r0, _, e1 := Syscall(SYS_FSPICK, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
|
|
+ fd = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
func Getdents(fd int, buf []byte) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(buf) > 0 {
|
|
@@ -1195,6 +1248,26 @@ func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
+func MoveMount(fromDirfd int, fromPathName string, toDirfd int, toPathName string, flags int) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(fromPathName)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ var _p1 *byte
|
|
+ _p1, err = BytePtrFromString(toPathName)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall6(SYS_MOVE_MOUNT, uintptr(fromDirfd), uintptr(unsafe.Pointer(_p0)), uintptr(toDirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
|
|
_, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
|
|
if e1 != 0 {
|
|
@@ -1205,6 +1278,22 @@ func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
+func OpenTree(dfd int, fileName string, flags uint) (r int, err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(fileName)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ r0, _, e1 := Syscall(SYS_OPEN_TREE, uintptr(dfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
|
|
+ r = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
func PerfEventOpen(attr *PerfEventAttr, pid int, cpu int, groupFd int, flags int) (fd int, err error) {
|
|
r0, _, e1 := Syscall6(SYS_PERF_EVENT_OPEN, uintptr(unsafe.Pointer(attr)), uintptr(pid), uintptr(cpu), uintptr(groupFd), uintptr(flags), 0)
|
|
fd = int(r0)
|
|
@@ -1992,6 +2081,16 @@ func PidfdGetfd(pidfd int, targetfd int, flags int) (fd int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
+func PidfdSendSignal(pidfd int, sig Signal, info *Siginfo, flags int) (err error) {
|
|
+ _, _, e1 := Syscall6(SYS_PIDFD_SEND_SIGNAL, uintptr(pidfd), uintptr(sig), uintptr(unsafe.Pointer(info)), uintptr(flags), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
func shmat(id int, addr uintptr, flag int) (ret uintptr, err error) {
|
|
r0, _, e1 := Syscall(SYS_SHMAT, uintptr(id), uintptr(addr), uintptr(flag))
|
|
ret = uintptr(r0)
|
|
@@ -2032,3 +2131,23 @@ func shmget(key int, size int, flag int) (id int, err error) {
|
|
}
|
|
return
|
|
}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func getitimer(which int, currValue *Itimerval) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_GETITIMER, uintptr(which), uintptr(unsafe.Pointer(currValue)), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func setitimer(which int, newValue *Itimerval, oldValue *Itimerval) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_SETITIMER, uintptr(which), uintptr(unsafe.Pointer(newValue)), uintptr(unsafe.Pointer(oldValue)))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go
|
|
index ff90c81..c81b0ad 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run mksyscall.go -l32 -tags linux,386 syscall_linux.go syscall_linux_386.go
|
|
+// go run mksyscall.go -l32 -tags linux,386 syscall_linux.go syscall_linux_386.go syscall_linux_alarm.go
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build linux && 386
|
|
@@ -200,7 +200,7 @@ func Lstat(path string, stat *Stat_t) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -217,7 +217,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -287,46 +287,6 @@ func setfsuid(uid int) (prev int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Setregid(rgid int, egid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREGID32, uintptr(rgid), uintptr(egid), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setresgid(rgid int, egid int, sgid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESGID32, uintptr(rgid), uintptr(egid), uintptr(sgid))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setresuid(ruid int, euid int, suid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESUID32, uintptr(ruid), uintptr(euid), uintptr(suid))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setreuid(ruid int, euid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREUID32, uintptr(ruid), uintptr(euid), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
|
|
r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
|
|
n = int(r0)
|
|
@@ -524,3 +484,14 @@ func utimes(path string, times *[2]Timeval) (err error) {
|
|
}
|
|
return
|
|
}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Alarm(seconds uint) (remaining uint, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_ALARM, uintptr(seconds), 0, 0)
|
|
+ remaining = uint(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go
|
|
index fa7d3db..2206bce 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run mksyscall.go -tags linux,amd64 syscall_linux.go syscall_linux_amd64.go
|
|
+// go run mksyscall.go -tags linux,amd64 syscall_linux.go syscall_linux_amd64.go syscall_linux_alarm.go
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build linux && amd64
|
|
@@ -215,6 +215,17 @@ func Listen(s int, n int) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
+func MemfdSecret(flags int) (fd int, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_MEMFD_SECRET, uintptr(flags), 0, 0)
|
|
+ fd = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
func Pause() (err error) {
|
|
_, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
|
|
if e1 != 0 {
|
|
@@ -225,7 +236,7 @@ func Pause() (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -242,7 +253,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -323,36 +334,6 @@ func setfsuid(uid int) (prev int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Setregid(rgid int, egid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setresgid(rgid int, egid int, sgid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setresuid(ruid int, euid int, suid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Setrlimit(resource int, rlim *Rlimit) (err error) {
|
|
_, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
|
|
if e1 != 0 {
|
|
@@ -363,16 +344,6 @@ func Setrlimit(resource int, rlim *Rlimit) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Setreuid(ruid int, euid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Shutdown(fd int, how int) (err error) {
|
|
_, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
|
|
if e1 != 0 {
|
|
@@ -444,17 +415,6 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
- fd = int(r0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
|
|
r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
|
|
fd = int(r0)
|
|
@@ -691,3 +651,14 @@ func kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, f
|
|
}
|
|
return
|
|
}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Alarm(seconds uint) (remaining uint, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_ALARM, uintptr(seconds), 0, 0)
|
|
+ remaining = uint(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go
|
|
index 654f915..edf6b39 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go
|
|
@@ -46,17 +46,6 @@ func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
- fd = int(r0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
|
|
r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
|
|
fd = int(r0)
|
|
@@ -423,46 +412,6 @@ func setfsuid(uid int) (prev int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Setregid(rgid int, egid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREGID32, uintptr(rgid), uintptr(egid), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setresgid(rgid int, egid int, sgid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESGID32, uintptr(rgid), uintptr(egid), uintptr(sgid))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setresuid(ruid int, euid int, suid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESUID32, uintptr(ruid), uintptr(euid), uintptr(suid))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setreuid(ruid int, euid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREUID32, uintptr(ruid), uintptr(euid), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Shutdown(fd int, how int) (err error) {
|
|
_, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
|
|
if e1 != 0 {
|
|
@@ -549,7 +498,7 @@ func utimes(path string, times *[2]Timeval) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -566,7 +515,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go
|
|
index e893f98..190609f 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go
|
|
@@ -180,7 +180,18 @@ func Listen(s int, n int) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func MemfdSecret(flags int) (fd int, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_MEMFD_SECRET, uintptr(flags), 0, 0)
|
|
+ fd = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -197,7 +208,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -278,36 +289,6 @@ func setfsuid(uid int) (prev int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Setregid(rgid int, egid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setresgid(rgid int, egid int, sgid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setresuid(ruid int, euid int, suid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func setrlimit(resource int, rlim *Rlimit) (err error) {
|
|
_, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
|
|
if e1 != 0 {
|
|
@@ -318,16 +299,6 @@ func setrlimit(resource int, rlim *Rlimit) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Setreuid(ruid int, euid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Shutdown(fd int, how int) (err error) {
|
|
_, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
|
|
if e1 != 0 {
|
|
@@ -389,17 +360,6 @@ func Truncate(path string, length int64) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
- fd = int(r0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
|
|
r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
|
|
fd = int(r0)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_loong64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_loong64.go
|
|
new file mode 100644
|
|
index 0000000..806ffd1
|
|
--- /dev/null
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_loong64.go
|
|
@@ -0,0 +1,487 @@
|
|
+// go run mksyscall.go -tags linux,loong64 syscall_linux.go syscall_linux_loong64.go
|
|
+// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
+
|
|
+//go:build linux && loong64
|
|
+// +build linux,loong64
|
|
+
|
|
+package unix
|
|
+
|
|
+import (
|
|
+ "syscall"
|
|
+ "unsafe"
|
|
+)
|
|
+
|
|
+var _ syscall.Errno
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func fanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname *byte) (err error) {
|
|
+ _, _, e1 := Syscall6(SYS_FANOTIFY_MARK, uintptr(fd), uintptr(flags), uintptr(mask), uintptr(dirFd), uintptr(unsafe.Pointer(pathname)), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
|
|
+ _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
|
|
+ r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
|
|
+ n = int64(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
|
|
+ var _p0 unsafe.Pointer
|
|
+ if len(events) > 0 {
|
|
+ _p0 = unsafe.Pointer(&events[0])
|
|
+ } else {
|
|
+ _p0 = unsafe.Pointer(&_zero)
|
|
+ }
|
|
+ r0, _, e1 := Syscall6(SYS_EPOLL_PWAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
|
|
+ n = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
|
|
+ _, _, e1 := Syscall6(SYS_FADVISE64, uintptr(fd), uintptr(offset), uintptr(length), uintptr(advice), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Fchown(fd int, uid int, gid int) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Fstatfs(fd int, buf *Statfs_t) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Ftruncate(fd int, length int64) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Getegid() (egid int) {
|
|
+ r0, _ := RawSyscallNoError(SYS_GETEGID, 0, 0, 0)
|
|
+ egid = int(r0)
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Geteuid() (euid int) {
|
|
+ r0, _ := RawSyscallNoError(SYS_GETEUID, 0, 0, 0)
|
|
+ euid = int(r0)
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Getgid() (gid int) {
|
|
+ r0, _ := RawSyscallNoError(SYS_GETGID, 0, 0, 0)
|
|
+ gid = int(r0)
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Getuid() (uid int) {
|
|
+ r0, _ := RawSyscallNoError(SYS_GETUID, 0, 0, 0)
|
|
+ uid = int(r0)
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Listen(s int, n int) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(n), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+ var _p0 unsafe.Pointer
|
|
+ if len(p) > 0 {
|
|
+ _p0 = unsafe.Pointer(&p[0])
|
|
+ } else {
|
|
+ _p0 = unsafe.Pointer(&_zero)
|
|
+ }
|
|
+ r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
|
|
+ n = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+ var _p0 unsafe.Pointer
|
|
+ if len(p) > 0 {
|
|
+ _p0 = unsafe.Pointer(&p[0])
|
|
+ } else {
|
|
+ _p0 = unsafe.Pointer(&_zero)
|
|
+ }
|
|
+ r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
|
|
+ n = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Seek(fd int, offset int64, whence int) (off int64, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
|
|
+ off = int64(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
|
|
+ r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
|
|
+ written = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func setfsgid(gid int) (prev int, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
|
|
+ prev = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func setfsuid(uid int) (prev int, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
|
|
+ prev = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Shutdown(fd int, how int) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
|
|
+ r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
|
|
+ n = int64(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Statfs(path string, buf *Statfs_t) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
|
|
+ _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Truncate(path string, length int64) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(path)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
|
|
+ r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
|
|
+ fd = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
|
|
+ _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func getgroups(n int, list *_Gid_t) (nn int, err error) {
|
|
+ r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
|
|
+ nn = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func setgroups(n int, list *_Gid_t) (err error) {
|
|
+ _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
|
|
+ _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
|
|
+ _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func socket(domain int, typ int, proto int) (fd int, err error) {
|
|
+ r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
|
|
+ fd = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
|
|
+ _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
|
|
+ _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
|
|
+ _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
|
|
+ var _p0 unsafe.Pointer
|
|
+ if len(p) > 0 {
|
|
+ _p0 = unsafe.Pointer(&p[0])
|
|
+ } else {
|
|
+ _p0 = unsafe.Pointer(&_zero)
|
|
+ }
|
|
+ r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
|
|
+ n = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
|
|
+ var _p0 unsafe.Pointer
|
|
+ if len(buf) > 0 {
|
|
+ _p0 = unsafe.Pointer(&buf[0])
|
|
+ } else {
|
|
+ _p0 = unsafe.Pointer(&_zero)
|
|
+ }
|
|
+ _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
|
|
+ n = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
|
|
+ n = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
|
|
+ r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset))
|
|
+ xaddr = uintptr(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Gettimeofday(tv *Timeval) (err error) {
|
|
+ _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error) {
|
|
+ var _p0 *byte
|
|
+ _p0, err = BytePtrFromString(cmdline)
|
|
+ if err != nil {
|
|
+ return
|
|
+ }
|
|
+ _, _, e1 := Syscall6(SYS_KEXEC_FILE_LOAD, uintptr(kernelFd), uintptr(initrdFd), uintptr(cmdlineLen), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go
|
|
index 6d15528..5f984cb 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run mksyscall.go -b32 -arm -tags linux,mips syscall_linux.go syscall_linux_mipsx.go
|
|
+// go run mksyscall.go -b32 -arm -tags linux,mips syscall_linux.go syscall_linux_mipsx.go syscall_linux_alarm.go
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build linux && mips
|
|
@@ -150,7 +150,7 @@ func Listen(s int, n int) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -167,7 +167,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -248,46 +248,6 @@ func setfsuid(uid int) (prev int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Setregid(rgid int, egid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setresgid(rgid int, egid int, sgid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setresuid(ruid int, euid int, suid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setreuid(ruid int, euid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Shutdown(fd int, how int) (err error) {
|
|
_, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
|
|
if e1 != 0 {
|
|
@@ -344,17 +304,6 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
- fd = int(r0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
|
|
r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
|
|
fd = int(r0)
|
|
@@ -702,3 +651,14 @@ func setrlimit(resource int, rlim *rlimit32) (err error) {
|
|
}
|
|
return
|
|
}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Alarm(seconds uint) (remaining uint, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_ALARM, uintptr(seconds), 0, 0)
|
|
+ remaining = uint(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go
|
|
index 1e20d72..46fc380 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run mksyscall.go -tags linux,mips64 syscall_linux.go syscall_linux_mips64x.go
|
|
+// go run mksyscall.go -tags linux,mips64 syscall_linux.go syscall_linux_mips64x.go syscall_linux_alarm.go
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build linux && mips64
|
|
@@ -180,7 +180,7 @@ func Pause() (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -197,7 +197,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -278,36 +278,6 @@ func setfsuid(uid int) (prev int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Setregid(rgid int, egid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setresgid(rgid int, egid int, sgid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setresuid(ruid int, euid int, suid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Setrlimit(resource int, rlim *Rlimit) (err error) {
|
|
_, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
|
|
if e1 != 0 {
|
|
@@ -318,16 +288,6 @@ func Setrlimit(resource int, rlim *Rlimit) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Setreuid(ruid int, euid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Shutdown(fd int, how int) (err error) {
|
|
_, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
|
|
if e1 != 0 {
|
|
@@ -399,17 +359,6 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
- fd = int(r0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
|
|
r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
|
|
fd = int(r0)
|
|
@@ -696,3 +645,14 @@ func stat(path string, st *stat_t) (err error) {
|
|
}
|
|
return
|
|
}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Alarm(seconds uint) (remaining uint, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_ALARM, uintptr(seconds), 0, 0)
|
|
+ remaining = uint(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go
|
|
index 82b5e2d..cbd0d4d 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go
|
|
@@ -180,7 +180,7 @@ func Pause() (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -197,7 +197,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -278,36 +278,6 @@ func setfsuid(uid int) (prev int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Setregid(rgid int, egid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setresgid(rgid int, egid int, sgid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setresuid(ruid int, euid int, suid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Setrlimit(resource int, rlim *Rlimit) (err error) {
|
|
_, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
|
|
if e1 != 0 {
|
|
@@ -318,16 +288,6 @@ func Setrlimit(resource int, rlim *Rlimit) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Setreuid(ruid int, euid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Shutdown(fd int, how int) (err error) {
|
|
_, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
|
|
if e1 != 0 {
|
|
@@ -399,17 +359,6 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
- fd = int(r0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
|
|
r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
|
|
fd = int(r0)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go
|
|
index a0440c1..0c13d15 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run mksyscall.go -l32 -arm -tags linux,mipsle syscall_linux.go syscall_linux_mipsx.go
|
|
+// go run mksyscall.go -l32 -arm -tags linux,mipsle syscall_linux.go syscall_linux_mipsx.go syscall_linux_alarm.go
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build linux && mipsle
|
|
@@ -150,7 +150,7 @@ func Listen(s int, n int) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -167,7 +167,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -248,46 +248,6 @@ func setfsuid(uid int) (prev int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Setregid(rgid int, egid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setresgid(rgid int, egid int, sgid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setresuid(ruid int, euid int, suid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setreuid(ruid int, euid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Shutdown(fd int, how int) (err error) {
|
|
_, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
|
|
if e1 != 0 {
|
|
@@ -344,17 +304,6 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
- fd = int(r0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
|
|
r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
|
|
fd = int(r0)
|
|
@@ -702,3 +651,14 @@ func setrlimit(resource int, rlim *rlimit32) (err error) {
|
|
}
|
|
return
|
|
}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Alarm(seconds uint) (remaining uint, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_ALARM, uintptr(seconds), 0, 0)
|
|
+ remaining = uint(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc.go
|
|
index 5864b9c..e01432a 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run mksyscall.go -b32 -tags linux,ppc syscall_linux.go syscall_linux_ppc.go
|
|
+// go run mksyscall.go -b32 -tags linux,ppc syscall_linux.go syscall_linux_ppc.go syscall_linux_alarm.go
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build linux && ppc
|
|
@@ -210,7 +210,7 @@ func Pause() (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -227,7 +227,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -308,46 +308,6 @@ func setfsuid(uid int) (prev int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Setregid(rgid int, egid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setresgid(rgid int, egid int, sgid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setresuid(ruid int, euid int, suid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setreuid(ruid int, euid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Shutdown(fd int, how int) (err error) {
|
|
_, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
|
|
if e1 != 0 {
|
|
@@ -409,17 +369,6 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
- fd = int(r0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
|
|
r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
|
|
fd = int(r0)
|
|
@@ -707,3 +656,14 @@ func kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, f
|
|
}
|
|
return
|
|
}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Alarm(seconds uint) (remaining uint, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_ALARM, uintptr(seconds), 0, 0)
|
|
+ remaining = uint(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go
|
|
index beeb49e..13c7ee7 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run mksyscall.go -tags linux,ppc64 syscall_linux.go syscall_linux_ppc64x.go
|
|
+// go run mksyscall.go -tags linux,ppc64 syscall_linux.go syscall_linux_ppc64x.go syscall_linux_alarm.go
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build linux && ppc64
|
|
@@ -240,7 +240,7 @@ func Pause() (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -257,7 +257,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -349,36 +349,6 @@ func setfsuid(uid int) (prev int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Setregid(rgid int, egid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setresgid(rgid int, egid int, sgid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setresuid(ruid int, euid int, suid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Setrlimit(resource int, rlim *Rlimit) (err error) {
|
|
_, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
|
|
if e1 != 0 {
|
|
@@ -389,16 +359,6 @@ func Setrlimit(resource int, rlim *Rlimit) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Setreuid(ruid int, euid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Shutdown(fd int, how int) (err error) {
|
|
_, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
|
|
if e1 != 0 {
|
|
@@ -475,17 +435,6 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
- fd = int(r0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
|
|
r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
|
|
fd = int(r0)
|
|
@@ -753,3 +702,14 @@ func kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, f
|
|
}
|
|
return
|
|
}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Alarm(seconds uint) (remaining uint, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_ALARM, uintptr(seconds), 0, 0)
|
|
+ remaining = uint(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go
|
|
index 53139b8..02d0c0f 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run mksyscall.go -tags linux,ppc64le syscall_linux.go syscall_linux_ppc64x.go
|
|
+// go run mksyscall.go -tags linux,ppc64le syscall_linux.go syscall_linux_ppc64x.go syscall_linux_alarm.go
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build linux && ppc64le
|
|
@@ -240,7 +240,7 @@ func Pause() (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -257,7 +257,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -349,36 +349,6 @@ func setfsuid(uid int) (prev int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Setregid(rgid int, egid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setresgid(rgid int, egid int, sgid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setresuid(ruid int, euid int, suid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Setrlimit(resource int, rlim *Rlimit) (err error) {
|
|
_, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
|
|
if e1 != 0 {
|
|
@@ -389,16 +359,6 @@ func Setrlimit(resource int, rlim *Rlimit) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Setreuid(ruid int, euid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Shutdown(fd int, how int) (err error) {
|
|
_, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
|
|
if e1 != 0 {
|
|
@@ -475,17 +435,6 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
- fd = int(r0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
|
|
r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
|
|
fd = int(r0)
|
|
@@ -753,3 +702,14 @@ func kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, f
|
|
}
|
|
return
|
|
}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Alarm(seconds uint) (remaining uint, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_ALARM, uintptr(seconds), 0, 0)
|
|
+ remaining = uint(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go
|
|
index 63b393b..9fee3b1 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go
|
|
@@ -180,7 +180,18 @@ func Listen(s int, n int) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func MemfdSecret(flags int) (fd int, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_MEMFD_SECRET, uintptr(flags), 0, 0)
|
|
+ fd = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -197,7 +208,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -258,36 +269,6 @@ func setfsuid(uid int) (prev int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Setregid(rgid int, egid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setresgid(rgid int, egid int, sgid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setresuid(ruid int, euid int, suid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Setrlimit(resource int, rlim *Rlimit) (err error) {
|
|
_, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
|
|
if e1 != 0 {
|
|
@@ -298,16 +279,6 @@ func Setrlimit(resource int, rlim *Rlimit) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Setreuid(ruid int, euid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Shutdown(fd int, how int) (err error) {
|
|
_, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
|
|
if e1 != 0 {
|
|
@@ -369,17 +340,6 @@ func Truncate(path string, length int64) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
- fd = int(r0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
|
|
r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
|
|
fd = int(r0)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go
|
|
index 202add3..647bbfe 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run mksyscall.go -tags linux,s390x syscall_linux.go syscall_linux_s390x.go
|
|
+// go run mksyscall.go -tags linux,s390x syscall_linux.go syscall_linux_s390x.go syscall_linux_alarm.go
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build linux && s390x
|
|
@@ -210,7 +210,7 @@ func Pause() (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -227,7 +227,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -319,36 +319,6 @@ func setfsuid(uid int) (prev int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Setregid(rgid int, egid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setresgid(rgid int, egid int, sgid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setresuid(ruid int, euid int, suid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Setrlimit(resource int, rlim *Rlimit) (err error) {
|
|
_, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
|
|
if e1 != 0 {
|
|
@@ -359,16 +329,6 @@ func Setrlimit(resource int, rlim *Rlimit) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Setreuid(ruid int, euid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
|
|
r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
|
|
n = int64(r0)
|
|
@@ -533,3 +493,14 @@ func kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, f
|
|
}
|
|
return
|
|
}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Alarm(seconds uint) (remaining uint, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_ALARM, uintptr(seconds), 0, 0)
|
|
+ remaining = uint(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go
|
|
index 2ab268c..ada057f 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run mksyscall.go -tags linux,sparc64 syscall_linux.go syscall_linux_sparc64.go
|
|
+// go run mksyscall.go -tags linux,sparc64 syscall_linux.go syscall_linux_sparc64.go syscall_linux_alarm.go
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build linux && sparc64
|
|
@@ -220,7 +220,7 @@ func Pause() (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -237,7 +237,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -329,36 +329,6 @@ func setfsuid(uid int) (prev int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Setregid(rgid int, egid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setresgid(rgid int, egid int, sgid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
-func Setresuid(ruid int, euid int, suid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Setrlimit(resource int, rlim *Rlimit) (err error) {
|
|
_, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
|
|
if e1 != 0 {
|
|
@@ -369,16 +339,6 @@ func Setrlimit(resource int, rlim *Rlimit) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Setreuid(ruid int, euid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func Shutdown(fd int, how int) (err error) {
|
|
_, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
|
|
if e1 != 0 {
|
|
@@ -455,17 +415,6 @@ func Truncate(path string, length int64) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
- fd = int(r0)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
|
|
r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
|
|
fd = int(r0)
|
|
@@ -697,3 +646,14 @@ func utimes(path string, times *[2]Timeval) (err error) {
|
|
}
|
|
return
|
|
}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
+func Alarm(seconds uint) (remaining uint, err error) {
|
|
+ r0, _, e1 := Syscall(SYS_ALARM, uintptr(seconds), 0, 0)
|
|
+ remaining = uint(r0)
|
|
+ if e1 != 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go
|
|
index 4726ab3..4af561a 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go
|
|
@@ -351,18 +351,6 @@ func Munlockall() (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func pipe() (fd1 int, fd2 int, err error) {
|
|
- r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
|
|
- fd1 = int(r0)
|
|
- fd2 = int(r1)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func pipe2(p *[2]_C_int, flags int) (err error) {
|
|
_, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
|
|
if e1 != 0 {
|
|
@@ -1342,7 +1330,7 @@ func Pathconf(path string, name int) (val int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -1359,7 +1347,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go
|
|
index fe71456..3b90e94 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go
|
|
@@ -351,18 +351,6 @@ func Munlockall() (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func pipe() (fd1 int, fd2 int, err error) {
|
|
- r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
|
|
- fd1 = int(r0)
|
|
- fd2 = int(r1)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func pipe2(p *[2]_C_int, flags int) (err error) {
|
|
_, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
|
|
if e1 != 0 {
|
|
@@ -1342,7 +1330,7 @@ func Pathconf(path string, name int) (val int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -1359,7 +1347,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go
|
|
index 0b5b2f0..890f4cc 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go
|
|
@@ -351,18 +351,6 @@ func Munlockall() (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func pipe() (fd1 int, fd2 int, err error) {
|
|
- r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
|
|
- fd1 = int(r0)
|
|
- fd2 = int(r1)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func pipe2(p *[2]_C_int, flags int) (err error) {
|
|
_, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
|
|
if e1 != 0 {
|
|
@@ -1342,7 +1330,7 @@ func Pathconf(path string, name int) (val int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -1359,7 +1347,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go
|
|
index bfca286..c79f071 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go
|
|
@@ -351,18 +351,6 @@ func Munlockall() (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func pipe() (fd1 int, fd2 int, err error) {
|
|
- r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
|
|
- fd1 = int(r0)
|
|
- fd2 = int(r1)
|
|
- if e1 != 0 {
|
|
- err = errnoErr(e1)
|
|
- }
|
|
- return
|
|
-}
|
|
-
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
-
|
|
func pipe2(p *[2]_C_int, flags int) (err error) {
|
|
_, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
|
|
if e1 != 0 {
|
|
@@ -1342,7 +1330,7 @@ func Pathconf(path string, name int) (val int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -1359,7 +1347,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go
|
|
index 8f80f4a..2925fe0 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run mksyscall.go -l32 -openbsd -tags openbsd,386 syscall_bsd.go syscall_openbsd.go syscall_openbsd_386.go
|
|
+// go run mksyscall.go -l32 -openbsd -libc -tags openbsd,386 syscall_bsd.go syscall_openbsd.go syscall_openbsd_386.go
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build openbsd && 386
|
|
@@ -16,7 +16,7 @@ var _ syscall.Errno
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
|
|
- r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
|
|
+ r0, _, e1 := syscall_rawSyscall(libc_getgroups_trampoline_addr, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -24,20 +24,28 @@ func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_getgroups_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getgroups getgroups "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func setgroups(ngid int, gid *_Gid_t) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setgroups_trampoline_addr, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setgroups_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setgroups setgroups "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
|
|
- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
|
|
+ r0, _, e1 := syscall_syscall6(libc_wait4_trampoline_addr, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
|
|
wpid = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -45,10 +53,14 @@ func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err
|
|
return
|
|
}
|
|
|
|
+var libc_wait4_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_wait4 wait4 "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
+ r0, _, e1 := syscall_syscall(libc_accept_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
fd = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -56,30 +68,42 @@ func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_accept_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_accept accept "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
|
|
- _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
|
|
+ _, _, e1 := syscall_syscall(libc_bind_trampoline_addr, uintptr(s), uintptr(addr), uintptr(addrlen))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_bind_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_bind bind "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
|
|
- _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
|
|
+ _, _, e1 := syscall_syscall(libc_connect_trampoline_addr, uintptr(s), uintptr(addr), uintptr(addrlen))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_connect_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_connect connect "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func socket(domain int, typ int, proto int) (fd int, err error) {
|
|
- r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
|
|
+ r0, _, e1 := syscall_rawSyscall(libc_socket_trampoline_addr, uintptr(domain), uintptr(typ), uintptr(proto))
|
|
fd = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -87,66 +111,94 @@ func socket(domain int, typ int, proto int) (fd int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_socket_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_socket socket "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
|
|
- _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_getsockopt_trampoline_addr, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_getsockopt_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getsockopt getsockopt "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
|
|
- _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_setsockopt_trampoline_addr, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setsockopt_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setsockopt setsockopt "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
+ _, _, e1 := syscall_rawSyscall(libc_getpeername_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_getpeername_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getpeername getpeername "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
+ _, _, e1 := syscall_rawSyscall(libc_getsockname_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_getsockname_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getsockname getsockname "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Shutdown(s int, how int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_shutdown_trampoline_addr, uintptr(s), uintptr(how), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_shutdown_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_shutdown shutdown "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
|
|
- _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall6(libc_socketpair_trampoline_addr, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_socketpair_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_socketpair socketpair "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
|
|
@@ -156,7 +208,7 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
|
|
+ r0, _, e1 := syscall_syscall6(libc_recvfrom_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -164,6 +216,10 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl
|
|
return
|
|
}
|
|
|
|
+var libc_recvfrom_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_recvfrom recvfrom "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
|
|
@@ -173,17 +229,21 @@ func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
|
|
+ _, _, e1 := syscall_syscall6(libc_sendto_trampoline_addr, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_sendto_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_sendto sendto "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
|
|
+ r0, _, e1 := syscall_syscall(libc_recvmsg_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -191,10 +251,14 @@ func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_recvmsg_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_recvmsg recvmsg "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
|
|
+ r0, _, e1 := syscall_syscall(libc_sendmsg_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -202,10 +266,14 @@ func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_sendmsg_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_sendmsg sendmsg "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
|
|
- r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
|
|
+ r0, _, e1 := syscall_syscall6(libc_kevent_trampoline_addr, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -213,6 +281,10 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
|
|
return
|
|
}
|
|
|
|
+var libc_kevent_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_kevent kevent "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func utimes(path string, timeval *[2]Timeval) (err error) {
|
|
@@ -221,27 +293,35 @@ func utimes(path string, timeval *[2]Timeval) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_utimes_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_utimes_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_utimes utimes "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func futimes(fd int, timeval *[2]Timeval) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_futimes_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_futimes_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_futimes futimes "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
|
|
+ r0, _, e1 := syscall_syscall(libc_poll_trampoline_addr, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -249,6 +329,10 @@ func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_poll_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_poll poll "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Madvise(b []byte, behav int) (err error) {
|
|
@@ -258,13 +342,17 @@ func Madvise(b []byte, behav int) (err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(behav))
|
|
+ _, _, e1 := syscall_syscall(libc_madvise_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(behav))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_madvise_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_madvise madvise "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mlock(b []byte) (err error) {
|
|
@@ -274,23 +362,31 @@ func Mlock(b []byte) (err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_mlock_trampoline_addr, uintptr(_p0), uintptr(len(b)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mlock_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mlock mlock "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mlockall(flags int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_mlockall_trampoline_addr, uintptr(flags), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mlockall_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mlockall mlockall "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mprotect(b []byte, prot int) (err error) {
|
|
@@ -300,13 +396,17 @@ func Mprotect(b []byte, prot int) (err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
|
|
+ _, _, e1 := syscall_syscall(libc_mprotect_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(prot))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mprotect_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mprotect mprotect "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Msync(b []byte, flags int) (err error) {
|
|
@@ -316,13 +416,17 @@ func Msync(b []byte, flags int) (err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags))
|
|
+ _, _, e1 := syscall_syscall(libc_msync_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(flags))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_msync_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_msync msync "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Munlock(b []byte) (err error) {
|
|
@@ -332,33 +436,45 @@ func Munlock(b []byte) (err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_munlock_trampoline_addr, uintptr(_p0), uintptr(len(b)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_munlock_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_munlock munlock "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Munlockall() (err error) {
|
|
- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_munlockall_trampoline_addr, 0, 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_munlockall_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_munlockall munlockall "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func pipe2(p *[2]_C_int, flags int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_pipe2_trampoline_addr, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_pipe2_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_pipe2 pipe2 "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getdents(fd int, buf []byte) (n int, err error) {
|
|
@@ -368,7 +484,7 @@ func Getdents(fd int, buf []byte) (n int, err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
|
|
+ r0, _, e1 := syscall_syscall(libc_getdents_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -376,6 +492,10 @@ func Getdents(fd int, buf []byte) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_getdents_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getdents getdents "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getcwd(buf []byte) (n int, err error) {
|
|
@@ -385,7 +505,7 @@ func Getcwd(buf []byte) (n int, err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall(SYS___GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
|
|
+ r0, _, e1 := syscall_syscall(libc_getcwd_trampoline_addr, uintptr(_p0), uintptr(len(buf)), 0)
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -393,16 +513,24 @@ func Getcwd(buf []byte) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_getcwd_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getcwd getcwd "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func ioctl(fd int, req uint, arg uintptr) (err error) {
|
|
- _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
|
|
+ _, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_ioctl_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
|
@@ -412,17 +540,21 @@ func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr)
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
|
+ _, _, e1 := syscall_syscall6(libc_sysctl_trampoline_addr, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_sysctl_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_sysctl sysctl "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
|
|
- r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
|
|
+ r0, _, e1 := syscall_syscall6(libc_ppoll_trampoline_addr, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -430,6 +562,10 @@ func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int,
|
|
return
|
|
}
|
|
|
|
+var libc_ppoll_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_ppoll ppoll "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Access(path string, mode uint32) (err error) {
|
|
@@ -438,23 +574,31 @@ func Access(path string, mode uint32) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_access_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_access_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_access access "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
|
|
- _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_adjtime_trampoline_addr, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_adjtime_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_adjtime adjtime "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Chdir(path string) (err error) {
|
|
@@ -463,13 +607,17 @@ func Chdir(path string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_chdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_chdir_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_chdir chdir "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Chflags(path string, flags int) (err error) {
|
|
@@ -478,13 +626,17 @@ func Chflags(path string, flags int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_chflags_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_chflags_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_chflags chflags "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Chmod(path string, mode uint32) (err error) {
|
|
@@ -493,13 +645,17 @@ func Chmod(path string, mode uint32) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_chmod_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_chmod_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_chmod chmod "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Chown(path string, uid int, gid int) (err error) {
|
|
@@ -508,13 +664,17 @@ func Chown(path string, uid int, gid int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
|
|
+ _, _, e1 := syscall_syscall(libc_chown_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_chown_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_chown chown "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Chroot(path string) (err error) {
|
|
@@ -523,27 +683,35 @@ func Chroot(path string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_chroot_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_chroot_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_chroot chroot "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Close(fd int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_close_trampoline_addr, uintptr(fd), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_close_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_close close "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Dup(fd int) (nfd int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
|
|
+ r0, _, e1 := syscall_syscall(libc_dup_trampoline_addr, uintptr(fd), 0, 0)
|
|
nfd = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -551,33 +719,49 @@ func Dup(fd int) (nfd int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_dup_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_dup dup "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Dup2(from int, to int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_dup2_trampoline_addr, uintptr(from), uintptr(to), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_dup2_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_dup2 dup2 "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Dup3(from int, to int, flags int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_DUP3, uintptr(from), uintptr(to), uintptr(flags))
|
|
+ _, _, e1 := syscall_syscall(libc_dup3_trampoline_addr, uintptr(from), uintptr(to), uintptr(flags))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_dup3_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_dup3 dup3 "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Exit(code int) {
|
|
- Syscall(SYS_EXIT, uintptr(code), 0, 0)
|
|
+ syscall_syscall(libc_exit_trampoline_addr, uintptr(code), 0, 0)
|
|
return
|
|
}
|
|
|
|
+var libc_exit_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_exit exit "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
|
|
@@ -586,43 +770,59 @@ func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_faccessat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_faccessat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_faccessat faccessat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fchdir(fd int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_fchdir_trampoline_addr, uintptr(fd), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fchdir_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fchdir fchdir "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fchflags(fd int, flags int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_fchflags_trampoline_addr, uintptr(fd), uintptr(flags), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fchflags_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fchflags fchflags "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fchmod(fd int, mode uint32) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_fchmod_trampoline_addr, uintptr(fd), uintptr(mode), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fchmod_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fchmod fchmod "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
|
|
@@ -631,23 +831,31 @@ func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_fchmodat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fchmodat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fchmodat fchmodat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fchown(fd int, uid int, gid int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
|
|
+ _, _, e1 := syscall_syscall(libc_fchown_trampoline_addr, uintptr(fd), uintptr(uid), uintptr(gid))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fchown_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fchown fchown "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
|
|
@@ -656,27 +864,35 @@ func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_fchownat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fchownat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fchownat fchownat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Flock(fd int, how int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_flock_trampoline_addr, uintptr(fd), uintptr(how), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_flock_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_flock flock "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fpathconf(fd int, name int) (val int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
|
|
+ r0, _, e1 := syscall_syscall(libc_fpathconf_trampoline_addr, uintptr(fd), uintptr(name), 0)
|
|
val = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -684,16 +900,24 @@ func Fpathconf(fd int, name int) (val int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_fpathconf_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fpathconf fpathconf "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fstat(fd int, stat *Stat_t) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_fstat_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fstat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fstat fstat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
|
|
@@ -702,71 +926,99 @@ func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_fstatat_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fstatat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fstatat fstatat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fstatfs(fd int, stat *Statfs_t) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_fstatfs_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fstatfs_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fstatfs fstatfs "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fsync(fd int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_fsync_trampoline_addr, uintptr(fd), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fsync_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fsync fsync "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Ftruncate(fd int, length int64) (err error) {
|
|
- _, _, e1 := Syscall6(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length), uintptr(length>>32), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_ftruncate_trampoline_addr, uintptr(fd), uintptr(length), uintptr(length>>32))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_ftruncate_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_ftruncate ftruncate "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getegid() (egid int) {
|
|
- r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
|
|
+ r0, _, _ := syscall_rawSyscall(libc_getegid_trampoline_addr, 0, 0, 0)
|
|
egid = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_getegid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getegid getegid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Geteuid() (uid int) {
|
|
- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
|
|
+ r0, _, _ := syscall_rawSyscall(libc_geteuid_trampoline_addr, 0, 0, 0)
|
|
uid = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_geteuid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_geteuid geteuid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getgid() (gid int) {
|
|
- r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
|
|
+ r0, _, _ := syscall_rawSyscall(libc_getgid_trampoline_addr, 0, 0, 0)
|
|
gid = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_getgid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getgid getgid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getpgid(pid int) (pgid int, err error) {
|
|
- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
|
|
+ r0, _, e1 := syscall_rawSyscall(libc_getpgid_trampoline_addr, uintptr(pid), 0, 0)
|
|
pgid = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -774,34 +1026,50 @@ func Getpgid(pid int) (pgid int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_getpgid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getpgid getpgid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getpgrp() (pgrp int) {
|
|
- r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
|
|
+ r0, _, _ := syscall_rawSyscall(libc_getpgrp_trampoline_addr, 0, 0, 0)
|
|
pgrp = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_getpgrp_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getpgrp getpgrp "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getpid() (pid int) {
|
|
- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
|
|
+ r0, _, _ := syscall_rawSyscall(libc_getpid_trampoline_addr, 0, 0, 0)
|
|
pid = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_getpid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getpid getpid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getppid() (ppid int) {
|
|
- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
|
|
+ r0, _, _ := syscall_rawSyscall(libc_getppid_trampoline_addr, 0, 0, 0)
|
|
ppid = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_getppid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getppid getppid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getpriority(which int, who int) (prio int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
|
|
+ r0, _, e1 := syscall_syscall(libc_getpriority_trampoline_addr, uintptr(which), uintptr(who), 0)
|
|
prio = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -809,20 +1077,28 @@ func Getpriority(which int, who int) (prio int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_getpriority_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getpriority getpriority "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getrlimit(which int, lim *Rlimit) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_getrlimit_trampoline_addr, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_getrlimit_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getrlimit getrlimit "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getrtable() (rtable int, err error) {
|
|
- r0, _, e1 := RawSyscall(SYS_GETRTABLE, 0, 0, 0)
|
|
+ r0, _, e1 := syscall_rawSyscall(libc_getrtable_trampoline_addr, 0, 0, 0)
|
|
rtable = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -830,20 +1106,28 @@ func Getrtable() (rtable int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_getrtable_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getrtable getrtable "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getrusage(who int, rusage *Rusage) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_getrusage_trampoline_addr, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_getrusage_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getrusage getrusage "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getsid(pid int) (sid int, err error) {
|
|
- r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
|
|
+ r0, _, e1 := syscall_rawSyscall(libc_getsid_trampoline_addr, uintptr(pid), 0, 0)
|
|
sid = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -851,46 +1135,66 @@ func Getsid(pid int) (sid int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_getsid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getsid getsid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Gettimeofday(tv *Timeval) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_gettimeofday_trampoline_addr, uintptr(unsafe.Pointer(tv)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_gettimeofday_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_gettimeofday gettimeofday "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getuid() (uid int) {
|
|
- r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
|
|
+ r0, _, _ := syscall_rawSyscall(libc_getuid_trampoline_addr, 0, 0, 0)
|
|
uid = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_getuid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getuid getuid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Issetugid() (tainted bool) {
|
|
- r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
|
|
+ r0, _, _ := syscall_syscall(libc_issetugid_trampoline_addr, 0, 0, 0)
|
|
tainted = bool(r0 != 0)
|
|
return
|
|
}
|
|
|
|
+var libc_issetugid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_issetugid issetugid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Kill(pid int, signum syscall.Signal) (err error) {
|
|
- _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_kill_trampoline_addr, uintptr(pid), uintptr(signum), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_kill_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_kill kill "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Kqueue() (fd int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
|
|
+ r0, _, e1 := syscall_syscall(libc_kqueue_trampoline_addr, 0, 0, 0)
|
|
fd = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -898,6 +1202,10 @@ func Kqueue() (fd int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_kqueue_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_kqueue kqueue "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Lchown(path string, uid int, gid int) (err error) {
|
|
@@ -906,13 +1214,17 @@ func Lchown(path string, uid int, gid int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
|
|
+ _, _, e1 := syscall_syscall(libc_lchown_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_lchown_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_lchown lchown "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Link(path string, link string) (err error) {
|
|
@@ -926,13 +1238,17 @@ func Link(path string, link string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_link_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_link_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_link link "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error) {
|
|
@@ -946,23 +1262,31 @@ func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err er
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_linkat_trampoline_addr, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_linkat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_linkat linkat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Listen(s int, backlog int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_listen_trampoline_addr, uintptr(s), uintptr(backlog), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_listen_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_listen listen "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Lstat(path string, stat *Stat_t) (err error) {
|
|
@@ -971,13 +1295,17 @@ func Lstat(path string, stat *Stat_t) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_lstat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_lstat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_lstat lstat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mkdir(path string, mode uint32) (err error) {
|
|
@@ -986,13 +1314,17 @@ func Mkdir(path string, mode uint32) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_mkdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mkdir_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mkdir mkdir "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mkdirat(dirfd int, path string, mode uint32) (err error) {
|
|
@@ -1001,13 +1333,17 @@ func Mkdirat(dirfd int, path string, mode uint32) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
|
|
+ _, _, e1 := syscall_syscall(libc_mkdirat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mkdirat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mkdirat mkdirat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mkfifo(path string, mode uint32) (err error) {
|
|
@@ -1016,13 +1352,17 @@ func Mkfifo(path string, mode uint32) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_mkfifo_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mkfifo_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mkfifo mkfifo "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mkfifoat(dirfd int, path string, mode uint32) (err error) {
|
|
@@ -1031,13 +1371,17 @@ func Mkfifoat(dirfd int, path string, mode uint32) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MKFIFOAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
|
|
+ _, _, e1 := syscall_syscall(libc_mkfifoat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mkfifoat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mkfifoat mkfifoat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mknod(path string, mode uint32, dev int) (err error) {
|
|
@@ -1046,13 +1390,17 @@ func Mknod(path string, mode uint32, dev int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
|
|
+ _, _, e1 := syscall_syscall(libc_mknod_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mknod_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mknod mknod "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
|
|
@@ -1061,23 +1409,31 @@ func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_mknodat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mknodat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mknodat mknodat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
|
|
- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_nanosleep_trampoline_addr, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_nanosleep_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_nanosleep nanosleep "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Open(path string, mode int, perm uint32) (fd int, err error) {
|
|
@@ -1086,7 +1442,7 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
|
|
+ r0, _, e1 := syscall_syscall(libc_open_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
|
|
fd = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1094,6 +1450,10 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_open_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_open open "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
|
|
@@ -1102,7 +1462,7 @@ func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
|
|
+ r0, _, e1 := syscall_syscall6(libc_openat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
|
|
fd = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1110,6 +1470,10 @@ func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_openat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_openat openat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Pathconf(path string, name int) (val int, err error) {
|
|
@@ -1118,7 +1482,7 @@ func Pathconf(path string, name int) (val int, err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
|
|
+ r0, _, e1 := syscall_syscall(libc_pathconf_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
|
|
val = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1126,16 +1490,20 @@ func Pathconf(path string, name int) (val int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_pathconf_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_pathconf pathconf "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
|
|
+ r0, _, e1 := syscall_syscall6(libc_pread_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1143,16 +1511,20 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_pread_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_pread pread "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
|
|
+ r0, _, e1 := syscall_syscall6(libc_pwrite_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1160,6 +1532,10 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_pwrite_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_pwrite pwrite "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func read(fd int, p []byte) (n int, err error) {
|
|
@@ -1169,7 +1545,7 @@ func read(fd int, p []byte) (n int, err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
|
|
+ r0, _, e1 := syscall_syscall(libc_read_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1177,6 +1553,10 @@ func read(fd int, p []byte) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_read_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_read read "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Readlink(path string, buf []byte) (n int, err error) {
|
|
@@ -1191,7 +1571,7 @@ func Readlink(path string, buf []byte) (n int, err error) {
|
|
} else {
|
|
_p1 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
|
|
+ r0, _, e1 := syscall_syscall(libc_readlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1199,6 +1579,10 @@ func Readlink(path string, buf []byte) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_readlink_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_readlink readlink "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
|
|
@@ -1213,7 +1597,7 @@ func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
|
|
} else {
|
|
_p1 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
|
|
+ r0, _, e1 := syscall_syscall6(libc_readlinkat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1221,6 +1605,10 @@ func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_readlinkat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_readlinkat readlinkat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Rename(from string, to string) (err error) {
|
|
@@ -1234,13 +1622,17 @@ func Rename(from string, to string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_rename_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_rename_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_rename rename "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Renameat(fromfd int, from string, tofd int, to string) (err error) {
|
|
@@ -1254,13 +1646,17 @@ func Renameat(fromfd int, from string, tofd int, to string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_renameat_trampoline_addr, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_renameat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_renameat renameat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Revoke(path string) (err error) {
|
|
@@ -1269,13 +1665,17 @@ func Revoke(path string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_revoke_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_revoke_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_revoke revoke "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Rmdir(path string) (err error) {
|
|
@@ -1284,17 +1684,21 @@ func Rmdir(path string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_rmdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_rmdir_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_rmdir rmdir "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
|
|
- r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), uintptr(whence), 0)
|
|
+ r0, r1, e1 := syscall_syscall6(libc_lseek_trampoline_addr, uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(whence), 0, 0)
|
|
newoffset = int64(int64(r1)<<32 | int64(r0))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1302,10 +1706,14 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_lseek_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_lseek lseek "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
|
|
- r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
|
+ r0, _, e1 := syscall_syscall6(libc_select_trampoline_addr, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1313,36 +1721,52 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err
|
|
return
|
|
}
|
|
|
|
+var libc_select_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_select select "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setegid(egid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setegid_trampoline_addr, uintptr(egid), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setegid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setegid setegid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Seteuid(euid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_seteuid_trampoline_addr, uintptr(euid), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_seteuid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_seteuid seteuid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setgid(gid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setgid_trampoline_addr, uintptr(gid), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setgid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setgid setgid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setlogin(name string) (err error) {
|
|
@@ -1351,97 +1775,133 @@ func Setlogin(name string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_setlogin_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setlogin_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setlogin setlogin "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setpgid(pid int, pgid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setpgid_trampoline_addr, uintptr(pid), uintptr(pgid), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setpgid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setpgid setpgid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setpriority(which int, who int, prio int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
|
|
+ _, _, e1 := syscall_syscall(libc_setpriority_trampoline_addr, uintptr(which), uintptr(who), uintptr(prio))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setpriority_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setpriority setpriority "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setregid(rgid int, egid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setregid_trampoline_addr, uintptr(rgid), uintptr(egid), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setregid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setregid setregid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setreuid(ruid int, euid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setreuid_trampoline_addr, uintptr(ruid), uintptr(euid), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setreuid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setreuid setreuid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setresgid(rgid int, egid int, sgid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setresgid_trampoline_addr, uintptr(rgid), uintptr(egid), uintptr(sgid))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setresgid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setresgid setresgid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setresuid(ruid int, euid int, suid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setresuid_trampoline_addr, uintptr(ruid), uintptr(euid), uintptr(suid))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setresuid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setresuid setresuid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setrlimit(which int, lim *Rlimit) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setrlimit_trampoline_addr, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setrlimit_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setrlimit setrlimit "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setrtable(rtable int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRTABLE, uintptr(rtable), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setrtable_trampoline_addr, uintptr(rtable), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setrtable_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setrtable setrtable "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setsid() (pid int, err error) {
|
|
- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
|
|
+ r0, _, e1 := syscall_rawSyscall(libc_setsid_trampoline_addr, 0, 0, 0)
|
|
pid = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1449,26 +1909,38 @@ func Setsid() (pid int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_setsid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setsid setsid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Settimeofday(tp *Timeval) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_settimeofday_trampoline_addr, uintptr(unsafe.Pointer(tp)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_settimeofday_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_settimeofday settimeofday "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setuid(uid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setuid_trampoline_addr, uintptr(uid), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setuid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setuid setuid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Stat(path string, stat *Stat_t) (err error) {
|
|
@@ -1477,13 +1949,17 @@ func Stat(path string, stat *Stat_t) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_stat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_stat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_stat stat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Statfs(path string, stat *Statfs_t) (err error) {
|
|
@@ -1492,13 +1968,17 @@ func Statfs(path string, stat *Statfs_t) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_statfs_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_statfs_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_statfs statfs "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Symlink(path string, link string) (err error) {
|
|
@@ -1512,13 +1992,17 @@ func Symlink(path string, link string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_symlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_symlink_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_symlink symlink "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
|
|
@@ -1532,23 +2016,31 @@ func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
|
|
+ _, _, e1 := syscall_syscall(libc_symlinkat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_symlinkat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_symlinkat symlinkat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Sync() (err error) {
|
|
- _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_sync_trampoline_addr, 0, 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_sync_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_sync sync "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Truncate(path string, length int64) (err error) {
|
|
@@ -1557,21 +2049,29 @@ func Truncate(path string, length int64) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length), uintptr(length>>32), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_truncate_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(length), uintptr(length>>32))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_truncate_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_truncate truncate "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Umask(newmask int) (oldmask int) {
|
|
- r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
|
|
+ r0, _, _ := syscall_syscall(libc_umask_trampoline_addr, uintptr(newmask), 0, 0)
|
|
oldmask = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_umask_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_umask umask "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Unlink(path string) (err error) {
|
|
@@ -1580,13 +2080,17 @@ func Unlink(path string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_unlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_unlink_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_unlink unlink "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Unlinkat(dirfd int, path string, flags int) (err error) {
|
|
@@ -1595,13 +2099,17 @@ func Unlinkat(dirfd int, path string, flags int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
|
|
+ _, _, e1 := syscall_syscall(libc_unlinkat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_unlinkat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_unlinkat unlinkat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Unmount(path string, flags int) (err error) {
|
|
@@ -1610,13 +2118,17 @@ func Unmount(path string, flags int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_unmount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_unmount_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_unmount unmount "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func write(fd int, p []byte) (n int, err error) {
|
|
@@ -1626,7 +2138,7 @@ func write(fd int, p []byte) (n int, err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
|
|
+ r0, _, e1 := syscall_syscall(libc_write_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1634,10 +2146,14 @@ func write(fd int, p []byte) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_write_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_write write "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
|
|
- r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), uintptr(pos>>32), 0)
|
|
+ r0, _, e1 := syscall_syscall9(libc_mmap_trampoline_addr, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos), uintptr(pos>>32), 0, 0)
|
|
ret = uintptr(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1645,20 +2161,28 @@ func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (
|
|
return
|
|
}
|
|
|
|
+var libc_mmap_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mmap mmap "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func munmap(addr uintptr, length uintptr) (err error) {
|
|
- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_munmap_trampoline_addr, uintptr(addr), uintptr(length), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_munmap_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_munmap munmap "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
+ r0, _, e1 := syscall_syscall(libc_read_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1669,7 +2193,7 @@ func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
+ r0, _, e1 := syscall_syscall(libc_write_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1685,9 +2209,13 @@ func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_utimensat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
+
|
|
+var libc_utimensat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_utimensat utimensat "libc.so"
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s
|
|
new file mode 100644
|
|
index 0000000..75eb2f5
|
|
--- /dev/null
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s
|
|
@@ -0,0 +1,796 @@
|
|
+// go run mkasm.go openbsd 386
|
|
+// Code generated by the command above; DO NOT EDIT.
|
|
+
|
|
+#include "textflag.h"
|
|
+
|
|
+TEXT libc_getgroups_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getgroups(SB)
|
|
+
|
|
+GLOBL ·libc_getgroups_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getgroups_trampoline_addr(SB)/4, $libc_getgroups_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setgroups_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setgroups(SB)
|
|
+
|
|
+GLOBL ·libc_setgroups_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setgroups_trampoline_addr(SB)/4, $libc_setgroups_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_wait4_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_wait4(SB)
|
|
+
|
|
+GLOBL ·libc_wait4_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_wait4_trampoline_addr(SB)/4, $libc_wait4_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_accept_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_accept(SB)
|
|
+
|
|
+GLOBL ·libc_accept_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_accept_trampoline_addr(SB)/4, $libc_accept_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_bind_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_bind(SB)
|
|
+
|
|
+GLOBL ·libc_bind_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_bind_trampoline_addr(SB)/4, $libc_bind_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_connect_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_connect(SB)
|
|
+
|
|
+GLOBL ·libc_connect_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_connect_trampoline_addr(SB)/4, $libc_connect_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_socket_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_socket(SB)
|
|
+
|
|
+GLOBL ·libc_socket_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_socket_trampoline_addr(SB)/4, $libc_socket_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getsockopt_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getsockopt(SB)
|
|
+
|
|
+GLOBL ·libc_getsockopt_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getsockopt_trampoline_addr(SB)/4, $libc_getsockopt_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setsockopt_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setsockopt(SB)
|
|
+
|
|
+GLOBL ·libc_setsockopt_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setsockopt_trampoline_addr(SB)/4, $libc_setsockopt_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getpeername_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getpeername(SB)
|
|
+
|
|
+GLOBL ·libc_getpeername_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getpeername_trampoline_addr(SB)/4, $libc_getpeername_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getsockname_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getsockname(SB)
|
|
+
|
|
+GLOBL ·libc_getsockname_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getsockname_trampoline_addr(SB)/4, $libc_getsockname_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_shutdown_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_shutdown(SB)
|
|
+
|
|
+GLOBL ·libc_shutdown_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_shutdown_trampoline_addr(SB)/4, $libc_shutdown_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_socketpair_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_socketpair(SB)
|
|
+
|
|
+GLOBL ·libc_socketpair_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_socketpair_trampoline_addr(SB)/4, $libc_socketpair_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_recvfrom_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_recvfrom(SB)
|
|
+
|
|
+GLOBL ·libc_recvfrom_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_recvfrom_trampoline_addr(SB)/4, $libc_recvfrom_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_sendto_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_sendto(SB)
|
|
+
|
|
+GLOBL ·libc_sendto_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_sendto_trampoline_addr(SB)/4, $libc_sendto_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_recvmsg_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_recvmsg(SB)
|
|
+
|
|
+GLOBL ·libc_recvmsg_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_recvmsg_trampoline_addr(SB)/4, $libc_recvmsg_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_sendmsg_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_sendmsg(SB)
|
|
+
|
|
+GLOBL ·libc_sendmsg_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_sendmsg_trampoline_addr(SB)/4, $libc_sendmsg_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_kevent_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_kevent(SB)
|
|
+
|
|
+GLOBL ·libc_kevent_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_kevent_trampoline_addr(SB)/4, $libc_kevent_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_utimes_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_utimes(SB)
|
|
+
|
|
+GLOBL ·libc_utimes_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_utimes_trampoline_addr(SB)/4, $libc_utimes_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_futimes_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_futimes(SB)
|
|
+
|
|
+GLOBL ·libc_futimes_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_futimes_trampoline_addr(SB)/4, $libc_futimes_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_poll_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_poll(SB)
|
|
+
|
|
+GLOBL ·libc_poll_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_poll_trampoline_addr(SB)/4, $libc_poll_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_madvise_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_madvise(SB)
|
|
+
|
|
+GLOBL ·libc_madvise_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_madvise_trampoline_addr(SB)/4, $libc_madvise_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_mlock_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mlock(SB)
|
|
+
|
|
+GLOBL ·libc_mlock_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_mlock_trampoline_addr(SB)/4, $libc_mlock_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_mlockall_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mlockall(SB)
|
|
+
|
|
+GLOBL ·libc_mlockall_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_mlockall_trampoline_addr(SB)/4, $libc_mlockall_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_mprotect_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mprotect(SB)
|
|
+
|
|
+GLOBL ·libc_mprotect_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_mprotect_trampoline_addr(SB)/4, $libc_mprotect_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_msync_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_msync(SB)
|
|
+
|
|
+GLOBL ·libc_msync_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_msync_trampoline_addr(SB)/4, $libc_msync_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_munlock_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_munlock(SB)
|
|
+
|
|
+GLOBL ·libc_munlock_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_munlock_trampoline_addr(SB)/4, $libc_munlock_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_munlockall_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_munlockall(SB)
|
|
+
|
|
+GLOBL ·libc_munlockall_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_munlockall_trampoline_addr(SB)/4, $libc_munlockall_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_pipe2_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_pipe2(SB)
|
|
+
|
|
+GLOBL ·libc_pipe2_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_pipe2_trampoline_addr(SB)/4, $libc_pipe2_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getdents_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getdents(SB)
|
|
+
|
|
+GLOBL ·libc_getdents_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getdents_trampoline_addr(SB)/4, $libc_getdents_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getcwd_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getcwd(SB)
|
|
+
|
|
+GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getcwd_trampoline_addr(SB)/4, $libc_getcwd_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_ioctl(SB)
|
|
+
|
|
+GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_ioctl_trampoline_addr(SB)/4, $libc_ioctl_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_sysctl_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_sysctl(SB)
|
|
+
|
|
+GLOBL ·libc_sysctl_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_sysctl_trampoline_addr(SB)/4, $libc_sysctl_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_ppoll_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_ppoll(SB)
|
|
+
|
|
+GLOBL ·libc_ppoll_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_ppoll_trampoline_addr(SB)/4, $libc_ppoll_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_access_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_access(SB)
|
|
+
|
|
+GLOBL ·libc_access_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_access_trampoline_addr(SB)/4, $libc_access_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_adjtime_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_adjtime(SB)
|
|
+
|
|
+GLOBL ·libc_adjtime_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_adjtime_trampoline_addr(SB)/4, $libc_adjtime_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_chdir_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_chdir(SB)
|
|
+
|
|
+GLOBL ·libc_chdir_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_chdir_trampoline_addr(SB)/4, $libc_chdir_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_chflags_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_chflags(SB)
|
|
+
|
|
+GLOBL ·libc_chflags_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_chflags_trampoline_addr(SB)/4, $libc_chflags_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_chmod_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_chmod(SB)
|
|
+
|
|
+GLOBL ·libc_chmod_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_chmod_trampoline_addr(SB)/4, $libc_chmod_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_chown_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_chown(SB)
|
|
+
|
|
+GLOBL ·libc_chown_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_chown_trampoline_addr(SB)/4, $libc_chown_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_chroot_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_chroot(SB)
|
|
+
|
|
+GLOBL ·libc_chroot_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_chroot_trampoline_addr(SB)/4, $libc_chroot_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_close_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_close(SB)
|
|
+
|
|
+GLOBL ·libc_close_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_close_trampoline_addr(SB)/4, $libc_close_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_dup_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_dup(SB)
|
|
+
|
|
+GLOBL ·libc_dup_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_dup_trampoline_addr(SB)/4, $libc_dup_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_dup2_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_dup2(SB)
|
|
+
|
|
+GLOBL ·libc_dup2_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_dup2_trampoline_addr(SB)/4, $libc_dup2_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_dup3_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_dup3(SB)
|
|
+
|
|
+GLOBL ·libc_dup3_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_dup3_trampoline_addr(SB)/4, $libc_dup3_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_exit_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_exit(SB)
|
|
+
|
|
+GLOBL ·libc_exit_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_exit_trampoline_addr(SB)/4, $libc_exit_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_faccessat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_faccessat(SB)
|
|
+
|
|
+GLOBL ·libc_faccessat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_faccessat_trampoline_addr(SB)/4, $libc_faccessat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_fchdir_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_fchdir(SB)
|
|
+
|
|
+GLOBL ·libc_fchdir_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_fchdir_trampoline_addr(SB)/4, $libc_fchdir_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_fchflags_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_fchflags(SB)
|
|
+
|
|
+GLOBL ·libc_fchflags_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_fchflags_trampoline_addr(SB)/4, $libc_fchflags_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_fchmod_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_fchmod(SB)
|
|
+
|
|
+GLOBL ·libc_fchmod_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_fchmod_trampoline_addr(SB)/4, $libc_fchmod_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_fchmodat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_fchmodat(SB)
|
|
+
|
|
+GLOBL ·libc_fchmodat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_fchmodat_trampoline_addr(SB)/4, $libc_fchmodat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_fchown_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_fchown(SB)
|
|
+
|
|
+GLOBL ·libc_fchown_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_fchown_trampoline_addr(SB)/4, $libc_fchown_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_fchownat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_fchownat(SB)
|
|
+
|
|
+GLOBL ·libc_fchownat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_fchownat_trampoline_addr(SB)/4, $libc_fchownat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_flock_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_flock(SB)
|
|
+
|
|
+GLOBL ·libc_flock_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_flock_trampoline_addr(SB)/4, $libc_flock_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_fpathconf_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_fpathconf(SB)
|
|
+
|
|
+GLOBL ·libc_fpathconf_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_fpathconf_trampoline_addr(SB)/4, $libc_fpathconf_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_fstat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_fstat(SB)
|
|
+
|
|
+GLOBL ·libc_fstat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_fstat_trampoline_addr(SB)/4, $libc_fstat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_fstatat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_fstatat(SB)
|
|
+
|
|
+GLOBL ·libc_fstatat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_fstatat_trampoline_addr(SB)/4, $libc_fstatat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_fstatfs_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_fstatfs(SB)
|
|
+
|
|
+GLOBL ·libc_fstatfs_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_fstatfs_trampoline_addr(SB)/4, $libc_fstatfs_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_fsync_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_fsync(SB)
|
|
+
|
|
+GLOBL ·libc_fsync_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_fsync_trampoline_addr(SB)/4, $libc_fsync_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_ftruncate_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_ftruncate(SB)
|
|
+
|
|
+GLOBL ·libc_ftruncate_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_ftruncate_trampoline_addr(SB)/4, $libc_ftruncate_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getegid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getegid(SB)
|
|
+
|
|
+GLOBL ·libc_getegid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getegid_trampoline_addr(SB)/4, $libc_getegid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_geteuid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_geteuid(SB)
|
|
+
|
|
+GLOBL ·libc_geteuid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_geteuid_trampoline_addr(SB)/4, $libc_geteuid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getgid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getgid(SB)
|
|
+
|
|
+GLOBL ·libc_getgid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getgid_trampoline_addr(SB)/4, $libc_getgid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getpgid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getpgid(SB)
|
|
+
|
|
+GLOBL ·libc_getpgid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getpgid_trampoline_addr(SB)/4, $libc_getpgid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getpgrp_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getpgrp(SB)
|
|
+
|
|
+GLOBL ·libc_getpgrp_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getpgrp_trampoline_addr(SB)/4, $libc_getpgrp_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getpid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getpid(SB)
|
|
+
|
|
+GLOBL ·libc_getpid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getpid_trampoline_addr(SB)/4, $libc_getpid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getppid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getppid(SB)
|
|
+
|
|
+GLOBL ·libc_getppid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getppid_trampoline_addr(SB)/4, $libc_getppid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getpriority_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getpriority(SB)
|
|
+
|
|
+GLOBL ·libc_getpriority_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getpriority_trampoline_addr(SB)/4, $libc_getpriority_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getrlimit_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getrlimit(SB)
|
|
+
|
|
+GLOBL ·libc_getrlimit_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getrlimit_trampoline_addr(SB)/4, $libc_getrlimit_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getrtable_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getrtable(SB)
|
|
+
|
|
+GLOBL ·libc_getrtable_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getrtable_trampoline_addr(SB)/4, $libc_getrtable_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getrusage_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getrusage(SB)
|
|
+
|
|
+GLOBL ·libc_getrusage_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getrusage_trampoline_addr(SB)/4, $libc_getrusage_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getsid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getsid(SB)
|
|
+
|
|
+GLOBL ·libc_getsid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getsid_trampoline_addr(SB)/4, $libc_getsid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_gettimeofday_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_gettimeofday(SB)
|
|
+
|
|
+GLOBL ·libc_gettimeofday_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_gettimeofday_trampoline_addr(SB)/4, $libc_gettimeofday_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getuid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getuid(SB)
|
|
+
|
|
+GLOBL ·libc_getuid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getuid_trampoline_addr(SB)/4, $libc_getuid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_issetugid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_issetugid(SB)
|
|
+
|
|
+GLOBL ·libc_issetugid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_issetugid_trampoline_addr(SB)/4, $libc_issetugid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_kill_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_kill(SB)
|
|
+
|
|
+GLOBL ·libc_kill_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_kill_trampoline_addr(SB)/4, $libc_kill_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_kqueue_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_kqueue(SB)
|
|
+
|
|
+GLOBL ·libc_kqueue_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_kqueue_trampoline_addr(SB)/4, $libc_kqueue_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_lchown_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_lchown(SB)
|
|
+
|
|
+GLOBL ·libc_lchown_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_lchown_trampoline_addr(SB)/4, $libc_lchown_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_link_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_link(SB)
|
|
+
|
|
+GLOBL ·libc_link_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_link_trampoline_addr(SB)/4, $libc_link_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_linkat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_linkat(SB)
|
|
+
|
|
+GLOBL ·libc_linkat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_linkat_trampoline_addr(SB)/4, $libc_linkat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_listen_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_listen(SB)
|
|
+
|
|
+GLOBL ·libc_listen_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_listen_trampoline_addr(SB)/4, $libc_listen_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_lstat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_lstat(SB)
|
|
+
|
|
+GLOBL ·libc_lstat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_lstat_trampoline_addr(SB)/4, $libc_lstat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_mkdir_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mkdir(SB)
|
|
+
|
|
+GLOBL ·libc_mkdir_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_mkdir_trampoline_addr(SB)/4, $libc_mkdir_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_mkdirat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mkdirat(SB)
|
|
+
|
|
+GLOBL ·libc_mkdirat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_mkdirat_trampoline_addr(SB)/4, $libc_mkdirat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_mkfifo_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mkfifo(SB)
|
|
+
|
|
+GLOBL ·libc_mkfifo_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_mkfifo_trampoline_addr(SB)/4, $libc_mkfifo_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_mkfifoat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mkfifoat(SB)
|
|
+
|
|
+GLOBL ·libc_mkfifoat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_mkfifoat_trampoline_addr(SB)/4, $libc_mkfifoat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_mknod_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mknod(SB)
|
|
+
|
|
+GLOBL ·libc_mknod_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_mknod_trampoline_addr(SB)/4, $libc_mknod_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_mknodat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mknodat(SB)
|
|
+
|
|
+GLOBL ·libc_mknodat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_mknodat_trampoline_addr(SB)/4, $libc_mknodat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_nanosleep_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_nanosleep(SB)
|
|
+
|
|
+GLOBL ·libc_nanosleep_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_nanosleep_trampoline_addr(SB)/4, $libc_nanosleep_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_open_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_open(SB)
|
|
+
|
|
+GLOBL ·libc_open_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_open_trampoline_addr(SB)/4, $libc_open_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_openat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_openat(SB)
|
|
+
|
|
+GLOBL ·libc_openat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_openat_trampoline_addr(SB)/4, $libc_openat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_pathconf_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_pathconf(SB)
|
|
+
|
|
+GLOBL ·libc_pathconf_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_pathconf_trampoline_addr(SB)/4, $libc_pathconf_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_pread_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_pread(SB)
|
|
+
|
|
+GLOBL ·libc_pread_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_pread_trampoline_addr(SB)/4, $libc_pread_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_pwrite_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_pwrite(SB)
|
|
+
|
|
+GLOBL ·libc_pwrite_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_pwrite_trampoline_addr(SB)/4, $libc_pwrite_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_read_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_read(SB)
|
|
+
|
|
+GLOBL ·libc_read_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_read_trampoline_addr(SB)/4, $libc_read_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_readlink_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_readlink(SB)
|
|
+
|
|
+GLOBL ·libc_readlink_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_readlink_trampoline_addr(SB)/4, $libc_readlink_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_readlinkat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_readlinkat(SB)
|
|
+
|
|
+GLOBL ·libc_readlinkat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_readlinkat_trampoline_addr(SB)/4, $libc_readlinkat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_rename_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_rename(SB)
|
|
+
|
|
+GLOBL ·libc_rename_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_rename_trampoline_addr(SB)/4, $libc_rename_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_renameat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_renameat(SB)
|
|
+
|
|
+GLOBL ·libc_renameat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_renameat_trampoline_addr(SB)/4, $libc_renameat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_revoke_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_revoke(SB)
|
|
+
|
|
+GLOBL ·libc_revoke_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_revoke_trampoline_addr(SB)/4, $libc_revoke_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_rmdir_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_rmdir(SB)
|
|
+
|
|
+GLOBL ·libc_rmdir_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_rmdir_trampoline_addr(SB)/4, $libc_rmdir_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_lseek_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_lseek(SB)
|
|
+
|
|
+GLOBL ·libc_lseek_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_lseek_trampoline_addr(SB)/4, $libc_lseek_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_select_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_select(SB)
|
|
+
|
|
+GLOBL ·libc_select_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_select_trampoline_addr(SB)/4, $libc_select_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setegid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setegid(SB)
|
|
+
|
|
+GLOBL ·libc_setegid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setegid_trampoline_addr(SB)/4, $libc_setegid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_seteuid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_seteuid(SB)
|
|
+
|
|
+GLOBL ·libc_seteuid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_seteuid_trampoline_addr(SB)/4, $libc_seteuid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setgid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setgid(SB)
|
|
+
|
|
+GLOBL ·libc_setgid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setgid_trampoline_addr(SB)/4, $libc_setgid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setlogin_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setlogin(SB)
|
|
+
|
|
+GLOBL ·libc_setlogin_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setlogin_trampoline_addr(SB)/4, $libc_setlogin_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setpgid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setpgid(SB)
|
|
+
|
|
+GLOBL ·libc_setpgid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setpgid_trampoline_addr(SB)/4, $libc_setpgid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setpriority_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setpriority(SB)
|
|
+
|
|
+GLOBL ·libc_setpriority_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setpriority_trampoline_addr(SB)/4, $libc_setpriority_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setregid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setregid(SB)
|
|
+
|
|
+GLOBL ·libc_setregid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setregid_trampoline_addr(SB)/4, $libc_setregid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setreuid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setreuid(SB)
|
|
+
|
|
+GLOBL ·libc_setreuid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setreuid_trampoline_addr(SB)/4, $libc_setreuid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setresgid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setresgid(SB)
|
|
+
|
|
+GLOBL ·libc_setresgid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setresgid_trampoline_addr(SB)/4, $libc_setresgid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setresuid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setresuid(SB)
|
|
+
|
|
+GLOBL ·libc_setresuid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setresuid_trampoline_addr(SB)/4, $libc_setresuid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setrlimit_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setrlimit(SB)
|
|
+
|
|
+GLOBL ·libc_setrlimit_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setrlimit_trampoline_addr(SB)/4, $libc_setrlimit_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setrtable_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setrtable(SB)
|
|
+
|
|
+GLOBL ·libc_setrtable_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setrtable_trampoline_addr(SB)/4, $libc_setrtable_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setsid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setsid(SB)
|
|
+
|
|
+GLOBL ·libc_setsid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setsid_trampoline_addr(SB)/4, $libc_setsid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_settimeofday_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_settimeofday(SB)
|
|
+
|
|
+GLOBL ·libc_settimeofday_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_settimeofday_trampoline_addr(SB)/4, $libc_settimeofday_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setuid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setuid(SB)
|
|
+
|
|
+GLOBL ·libc_setuid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setuid_trampoline_addr(SB)/4, $libc_setuid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_stat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_stat(SB)
|
|
+
|
|
+GLOBL ·libc_stat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_stat_trampoline_addr(SB)/4, $libc_stat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_statfs_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_statfs(SB)
|
|
+
|
|
+GLOBL ·libc_statfs_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_statfs_trampoline_addr(SB)/4, $libc_statfs_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_symlink_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_symlink(SB)
|
|
+
|
|
+GLOBL ·libc_symlink_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_symlink_trampoline_addr(SB)/4, $libc_symlink_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_symlinkat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_symlinkat(SB)
|
|
+
|
|
+GLOBL ·libc_symlinkat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_symlinkat_trampoline_addr(SB)/4, $libc_symlinkat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_sync_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_sync(SB)
|
|
+
|
|
+GLOBL ·libc_sync_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_sync_trampoline_addr(SB)/4, $libc_sync_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_truncate_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_truncate(SB)
|
|
+
|
|
+GLOBL ·libc_truncate_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_truncate_trampoline_addr(SB)/4, $libc_truncate_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_umask_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_umask(SB)
|
|
+
|
|
+GLOBL ·libc_umask_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_umask_trampoline_addr(SB)/4, $libc_umask_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_unlink_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_unlink(SB)
|
|
+
|
|
+GLOBL ·libc_unlink_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_unlink_trampoline_addr(SB)/4, $libc_unlink_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_unlinkat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_unlinkat(SB)
|
|
+
|
|
+GLOBL ·libc_unlinkat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_unlinkat_trampoline_addr(SB)/4, $libc_unlinkat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_unmount_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_unmount(SB)
|
|
+
|
|
+GLOBL ·libc_unmount_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_unmount_trampoline_addr(SB)/4, $libc_unmount_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_write_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_write(SB)
|
|
+
|
|
+GLOBL ·libc_write_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_write_trampoline_addr(SB)/4, $libc_write_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_mmap_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mmap(SB)
|
|
+
|
|
+GLOBL ·libc_mmap_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_mmap_trampoline_addr(SB)/4, $libc_mmap_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_munmap_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_munmap(SB)
|
|
+
|
|
+GLOBL ·libc_munmap_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_munmap_trampoline_addr(SB)/4, $libc_munmap_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_utimensat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_utimensat(SB)
|
|
+
|
|
+GLOBL ·libc_utimensat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_utimensat_trampoline_addr(SB)/4, $libc_utimensat_trampoline<>(SB)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go
|
|
index 3a47aca..98446d2 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run mksyscall.go -openbsd -tags openbsd,amd64 syscall_bsd.go syscall_openbsd.go syscall_openbsd_amd64.go
|
|
+// go run mksyscall.go -openbsd -libc -tags openbsd,amd64 syscall_bsd.go syscall_openbsd.go syscall_openbsd_amd64.go
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build openbsd && amd64
|
|
@@ -16,7 +16,7 @@ var _ syscall.Errno
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
|
|
- r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
|
|
+ r0, _, e1 := syscall_rawSyscall(libc_getgroups_trampoline_addr, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -24,20 +24,28 @@ func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_getgroups_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getgroups getgroups "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func setgroups(ngid int, gid *_Gid_t) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setgroups_trampoline_addr, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setgroups_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setgroups setgroups "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
|
|
- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
|
|
+ r0, _, e1 := syscall_syscall6(libc_wait4_trampoline_addr, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
|
|
wpid = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -45,10 +53,14 @@ func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err
|
|
return
|
|
}
|
|
|
|
+var libc_wait4_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_wait4 wait4 "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
+ r0, _, e1 := syscall_syscall(libc_accept_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
fd = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -56,30 +68,42 @@ func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_accept_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_accept accept "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
|
|
- _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
|
|
+ _, _, e1 := syscall_syscall(libc_bind_trampoline_addr, uintptr(s), uintptr(addr), uintptr(addrlen))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_bind_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_bind bind "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
|
|
- _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
|
|
+ _, _, e1 := syscall_syscall(libc_connect_trampoline_addr, uintptr(s), uintptr(addr), uintptr(addrlen))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_connect_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_connect connect "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func socket(domain int, typ int, proto int) (fd int, err error) {
|
|
- r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
|
|
+ r0, _, e1 := syscall_rawSyscall(libc_socket_trampoline_addr, uintptr(domain), uintptr(typ), uintptr(proto))
|
|
fd = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -87,66 +111,94 @@ func socket(domain int, typ int, proto int) (fd int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_socket_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_socket socket "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
|
|
- _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_getsockopt_trampoline_addr, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_getsockopt_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getsockopt getsockopt "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
|
|
- _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_setsockopt_trampoline_addr, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setsockopt_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setsockopt setsockopt "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
+ _, _, e1 := syscall_rawSyscall(libc_getpeername_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_getpeername_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getpeername getpeername "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
+ _, _, e1 := syscall_rawSyscall(libc_getsockname_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_getsockname_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getsockname getsockname "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Shutdown(s int, how int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_shutdown_trampoline_addr, uintptr(s), uintptr(how), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_shutdown_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_shutdown shutdown "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
|
|
- _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall6(libc_socketpair_trampoline_addr, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_socketpair_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_socketpair socketpair "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
|
|
@@ -156,7 +208,7 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
|
|
+ r0, _, e1 := syscall_syscall6(libc_recvfrom_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -164,6 +216,10 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl
|
|
return
|
|
}
|
|
|
|
+var libc_recvfrom_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_recvfrom recvfrom "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
|
|
@@ -173,17 +229,21 @@ func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
|
|
+ _, _, e1 := syscall_syscall6(libc_sendto_trampoline_addr, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_sendto_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_sendto sendto "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
|
|
+ r0, _, e1 := syscall_syscall(libc_recvmsg_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -191,10 +251,14 @@ func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_recvmsg_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_recvmsg recvmsg "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
|
|
+ r0, _, e1 := syscall_syscall(libc_sendmsg_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -202,10 +266,14 @@ func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_sendmsg_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_sendmsg sendmsg "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
|
|
- r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
|
|
+ r0, _, e1 := syscall_syscall6(libc_kevent_trampoline_addr, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -213,6 +281,10 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
|
|
return
|
|
}
|
|
|
|
+var libc_kevent_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_kevent kevent "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func utimes(path string, timeval *[2]Timeval) (err error) {
|
|
@@ -221,27 +293,35 @@ func utimes(path string, timeval *[2]Timeval) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_utimes_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_utimes_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_utimes utimes "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func futimes(fd int, timeval *[2]Timeval) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_futimes_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_futimes_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_futimes futimes "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
|
|
+ r0, _, e1 := syscall_syscall(libc_poll_trampoline_addr, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -249,6 +329,10 @@ func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_poll_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_poll poll "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Madvise(b []byte, behav int) (err error) {
|
|
@@ -258,13 +342,17 @@ func Madvise(b []byte, behav int) (err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(behav))
|
|
+ _, _, e1 := syscall_syscall(libc_madvise_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(behav))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_madvise_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_madvise madvise "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mlock(b []byte) (err error) {
|
|
@@ -274,23 +362,31 @@ func Mlock(b []byte) (err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_mlock_trampoline_addr, uintptr(_p0), uintptr(len(b)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mlock_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mlock mlock "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mlockall(flags int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_mlockall_trampoline_addr, uintptr(flags), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mlockall_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mlockall mlockall "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mprotect(b []byte, prot int) (err error) {
|
|
@@ -300,13 +396,17 @@ func Mprotect(b []byte, prot int) (err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
|
|
+ _, _, e1 := syscall_syscall(libc_mprotect_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(prot))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mprotect_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mprotect mprotect "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Msync(b []byte, flags int) (err error) {
|
|
@@ -316,13 +416,17 @@ func Msync(b []byte, flags int) (err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags))
|
|
+ _, _, e1 := syscall_syscall(libc_msync_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(flags))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_msync_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_msync msync "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Munlock(b []byte) (err error) {
|
|
@@ -332,33 +436,45 @@ func Munlock(b []byte) (err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_munlock_trampoline_addr, uintptr(_p0), uintptr(len(b)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_munlock_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_munlock munlock "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Munlockall() (err error) {
|
|
- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_munlockall_trampoline_addr, 0, 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_munlockall_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_munlockall munlockall "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func pipe2(p *[2]_C_int, flags int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_pipe2_trampoline_addr, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_pipe2_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_pipe2 pipe2 "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getdents(fd int, buf []byte) (n int, err error) {
|
|
@@ -368,7 +484,7 @@ func Getdents(fd int, buf []byte) (n int, err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
|
|
+ r0, _, e1 := syscall_syscall(libc_getdents_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -376,6 +492,10 @@ func Getdents(fd int, buf []byte) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_getdents_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getdents getdents "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getcwd(buf []byte) (n int, err error) {
|
|
@@ -385,7 +505,7 @@ func Getcwd(buf []byte) (n int, err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall(SYS___GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
|
|
+ r0, _, e1 := syscall_syscall(libc_getcwd_trampoline_addr, uintptr(_p0), uintptr(len(buf)), 0)
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -393,16 +513,24 @@ func Getcwd(buf []byte) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_getcwd_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getcwd getcwd "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func ioctl(fd int, req uint, arg uintptr) (err error) {
|
|
- _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
|
|
+ _, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_ioctl_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
|
@@ -412,17 +540,21 @@ func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr)
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
|
+ _, _, e1 := syscall_syscall6(libc_sysctl_trampoline_addr, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_sysctl_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_sysctl sysctl "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
|
|
- r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
|
|
+ r0, _, e1 := syscall_syscall6(libc_ppoll_trampoline_addr, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -430,6 +562,10 @@ func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int,
|
|
return
|
|
}
|
|
|
|
+var libc_ppoll_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_ppoll ppoll "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Access(path string, mode uint32) (err error) {
|
|
@@ -438,23 +574,31 @@ func Access(path string, mode uint32) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_access_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_access_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_access access "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
|
|
- _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_adjtime_trampoline_addr, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_adjtime_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_adjtime adjtime "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Chdir(path string) (err error) {
|
|
@@ -463,13 +607,17 @@ func Chdir(path string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_chdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_chdir_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_chdir chdir "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Chflags(path string, flags int) (err error) {
|
|
@@ -478,13 +626,17 @@ func Chflags(path string, flags int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_chflags_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_chflags_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_chflags chflags "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Chmod(path string, mode uint32) (err error) {
|
|
@@ -493,13 +645,17 @@ func Chmod(path string, mode uint32) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_chmod_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_chmod_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_chmod chmod "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Chown(path string, uid int, gid int) (err error) {
|
|
@@ -508,13 +664,17 @@ func Chown(path string, uid int, gid int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
|
|
+ _, _, e1 := syscall_syscall(libc_chown_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_chown_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_chown chown "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Chroot(path string) (err error) {
|
|
@@ -523,27 +683,35 @@ func Chroot(path string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_chroot_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_chroot_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_chroot chroot "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Close(fd int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_close_trampoline_addr, uintptr(fd), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_close_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_close close "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Dup(fd int) (nfd int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
|
|
+ r0, _, e1 := syscall_syscall(libc_dup_trampoline_addr, uintptr(fd), 0, 0)
|
|
nfd = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -551,33 +719,49 @@ func Dup(fd int) (nfd int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_dup_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_dup dup "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Dup2(from int, to int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_dup2_trampoline_addr, uintptr(from), uintptr(to), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_dup2_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_dup2 dup2 "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Dup3(from int, to int, flags int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_DUP3, uintptr(from), uintptr(to), uintptr(flags))
|
|
+ _, _, e1 := syscall_syscall(libc_dup3_trampoline_addr, uintptr(from), uintptr(to), uintptr(flags))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_dup3_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_dup3 dup3 "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Exit(code int) {
|
|
- Syscall(SYS_EXIT, uintptr(code), 0, 0)
|
|
+ syscall_syscall(libc_exit_trampoline_addr, uintptr(code), 0, 0)
|
|
return
|
|
}
|
|
|
|
+var libc_exit_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_exit exit "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
|
|
@@ -586,43 +770,59 @@ func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_faccessat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_faccessat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_faccessat faccessat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fchdir(fd int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_fchdir_trampoline_addr, uintptr(fd), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fchdir_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fchdir fchdir "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fchflags(fd int, flags int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_fchflags_trampoline_addr, uintptr(fd), uintptr(flags), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fchflags_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fchflags fchflags "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fchmod(fd int, mode uint32) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_fchmod_trampoline_addr, uintptr(fd), uintptr(mode), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fchmod_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fchmod fchmod "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
|
|
@@ -631,23 +831,31 @@ func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_fchmodat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fchmodat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fchmodat fchmodat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fchown(fd int, uid int, gid int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
|
|
+ _, _, e1 := syscall_syscall(libc_fchown_trampoline_addr, uintptr(fd), uintptr(uid), uintptr(gid))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fchown_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fchown fchown "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
|
|
@@ -656,27 +864,35 @@ func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_fchownat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fchownat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fchownat fchownat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Flock(fd int, how int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_flock_trampoline_addr, uintptr(fd), uintptr(how), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_flock_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_flock flock "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fpathconf(fd int, name int) (val int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
|
|
+ r0, _, e1 := syscall_syscall(libc_fpathconf_trampoline_addr, uintptr(fd), uintptr(name), 0)
|
|
val = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -684,16 +900,24 @@ func Fpathconf(fd int, name int) (val int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_fpathconf_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fpathconf fpathconf "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fstat(fd int, stat *Stat_t) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_fstat_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fstat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fstat fstat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
|
|
@@ -702,71 +926,99 @@ func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_fstatat_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fstatat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fstatat fstatat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fstatfs(fd int, stat *Statfs_t) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_fstatfs_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fstatfs_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fstatfs fstatfs "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fsync(fd int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_fsync_trampoline_addr, uintptr(fd), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fsync_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fsync fsync "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Ftruncate(fd int, length int64) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length))
|
|
+ _, _, e1 := syscall_syscall(libc_ftruncate_trampoline_addr, uintptr(fd), uintptr(length), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_ftruncate_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_ftruncate ftruncate "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getegid() (egid int) {
|
|
- r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
|
|
+ r0, _, _ := syscall_rawSyscall(libc_getegid_trampoline_addr, 0, 0, 0)
|
|
egid = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_getegid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getegid getegid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Geteuid() (uid int) {
|
|
- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
|
|
+ r0, _, _ := syscall_rawSyscall(libc_geteuid_trampoline_addr, 0, 0, 0)
|
|
uid = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_geteuid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_geteuid geteuid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getgid() (gid int) {
|
|
- r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
|
|
+ r0, _, _ := syscall_rawSyscall(libc_getgid_trampoline_addr, 0, 0, 0)
|
|
gid = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_getgid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getgid getgid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getpgid(pid int) (pgid int, err error) {
|
|
- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
|
|
+ r0, _, e1 := syscall_rawSyscall(libc_getpgid_trampoline_addr, uintptr(pid), 0, 0)
|
|
pgid = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -774,34 +1026,50 @@ func Getpgid(pid int) (pgid int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_getpgid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getpgid getpgid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getpgrp() (pgrp int) {
|
|
- r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
|
|
+ r0, _, _ := syscall_rawSyscall(libc_getpgrp_trampoline_addr, 0, 0, 0)
|
|
pgrp = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_getpgrp_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getpgrp getpgrp "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getpid() (pid int) {
|
|
- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
|
|
+ r0, _, _ := syscall_rawSyscall(libc_getpid_trampoline_addr, 0, 0, 0)
|
|
pid = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_getpid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getpid getpid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getppid() (ppid int) {
|
|
- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
|
|
+ r0, _, _ := syscall_rawSyscall(libc_getppid_trampoline_addr, 0, 0, 0)
|
|
ppid = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_getppid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getppid getppid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getpriority(which int, who int) (prio int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
|
|
+ r0, _, e1 := syscall_syscall(libc_getpriority_trampoline_addr, uintptr(which), uintptr(who), 0)
|
|
prio = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -809,20 +1077,28 @@ func Getpriority(which int, who int) (prio int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_getpriority_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getpriority getpriority "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getrlimit(which int, lim *Rlimit) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_getrlimit_trampoline_addr, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_getrlimit_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getrlimit getrlimit "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getrtable() (rtable int, err error) {
|
|
- r0, _, e1 := RawSyscall(SYS_GETRTABLE, 0, 0, 0)
|
|
+ r0, _, e1 := syscall_rawSyscall(libc_getrtable_trampoline_addr, 0, 0, 0)
|
|
rtable = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -830,20 +1106,28 @@ func Getrtable() (rtable int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_getrtable_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getrtable getrtable "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getrusage(who int, rusage *Rusage) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_getrusage_trampoline_addr, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_getrusage_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getrusage getrusage "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getsid(pid int) (sid int, err error) {
|
|
- r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
|
|
+ r0, _, e1 := syscall_rawSyscall(libc_getsid_trampoline_addr, uintptr(pid), 0, 0)
|
|
sid = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -851,46 +1135,66 @@ func Getsid(pid int) (sid int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_getsid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getsid getsid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Gettimeofday(tv *Timeval) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_gettimeofday_trampoline_addr, uintptr(unsafe.Pointer(tv)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_gettimeofday_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_gettimeofday gettimeofday "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getuid() (uid int) {
|
|
- r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
|
|
+ r0, _, _ := syscall_rawSyscall(libc_getuid_trampoline_addr, 0, 0, 0)
|
|
uid = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_getuid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getuid getuid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Issetugid() (tainted bool) {
|
|
- r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
|
|
+ r0, _, _ := syscall_syscall(libc_issetugid_trampoline_addr, 0, 0, 0)
|
|
tainted = bool(r0 != 0)
|
|
return
|
|
}
|
|
|
|
+var libc_issetugid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_issetugid issetugid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Kill(pid int, signum syscall.Signal) (err error) {
|
|
- _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_kill_trampoline_addr, uintptr(pid), uintptr(signum), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_kill_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_kill kill "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Kqueue() (fd int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
|
|
+ r0, _, e1 := syscall_syscall(libc_kqueue_trampoline_addr, 0, 0, 0)
|
|
fd = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -898,6 +1202,10 @@ func Kqueue() (fd int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_kqueue_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_kqueue kqueue "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Lchown(path string, uid int, gid int) (err error) {
|
|
@@ -906,13 +1214,17 @@ func Lchown(path string, uid int, gid int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
|
|
+ _, _, e1 := syscall_syscall(libc_lchown_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_lchown_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_lchown lchown "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Link(path string, link string) (err error) {
|
|
@@ -926,13 +1238,17 @@ func Link(path string, link string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_link_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_link_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_link link "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error) {
|
|
@@ -946,23 +1262,31 @@ func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err er
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_linkat_trampoline_addr, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_linkat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_linkat linkat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Listen(s int, backlog int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_listen_trampoline_addr, uintptr(s), uintptr(backlog), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_listen_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_listen listen "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Lstat(path string, stat *Stat_t) (err error) {
|
|
@@ -971,13 +1295,17 @@ func Lstat(path string, stat *Stat_t) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_lstat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_lstat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_lstat lstat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mkdir(path string, mode uint32) (err error) {
|
|
@@ -986,13 +1314,17 @@ func Mkdir(path string, mode uint32) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_mkdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mkdir_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mkdir mkdir "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mkdirat(dirfd int, path string, mode uint32) (err error) {
|
|
@@ -1001,13 +1333,17 @@ func Mkdirat(dirfd int, path string, mode uint32) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
|
|
+ _, _, e1 := syscall_syscall(libc_mkdirat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mkdirat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mkdirat mkdirat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mkfifo(path string, mode uint32) (err error) {
|
|
@@ -1016,13 +1352,17 @@ func Mkfifo(path string, mode uint32) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_mkfifo_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mkfifo_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mkfifo mkfifo "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mkfifoat(dirfd int, path string, mode uint32) (err error) {
|
|
@@ -1031,13 +1371,17 @@ func Mkfifoat(dirfd int, path string, mode uint32) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MKFIFOAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
|
|
+ _, _, e1 := syscall_syscall(libc_mkfifoat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mkfifoat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mkfifoat mkfifoat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mknod(path string, mode uint32, dev int) (err error) {
|
|
@@ -1046,13 +1390,17 @@ func Mknod(path string, mode uint32, dev int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
|
|
+ _, _, e1 := syscall_syscall(libc_mknod_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mknod_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mknod mknod "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
|
|
@@ -1061,23 +1409,31 @@ func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_mknodat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mknodat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mknodat mknodat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
|
|
- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_nanosleep_trampoline_addr, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_nanosleep_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_nanosleep nanosleep "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Open(path string, mode int, perm uint32) (fd int, err error) {
|
|
@@ -1086,7 +1442,7 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
|
|
+ r0, _, e1 := syscall_syscall(libc_open_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
|
|
fd = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1094,6 +1450,10 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_open_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_open open "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
|
|
@@ -1102,7 +1462,7 @@ func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
|
|
+ r0, _, e1 := syscall_syscall6(libc_openat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
|
|
fd = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1110,6 +1470,10 @@ func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_openat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_openat openat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Pathconf(path string, name int) (val int, err error) {
|
|
@@ -1118,7 +1482,7 @@ func Pathconf(path string, name int) (val int, err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
|
|
+ r0, _, e1 := syscall_syscall(libc_pathconf_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
|
|
val = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1126,16 +1490,20 @@ func Pathconf(path string, name int) (val int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_pathconf_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_pathconf pathconf "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), 0)
|
|
+ r0, _, e1 := syscall_syscall6(libc_pread_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1143,16 +1511,20 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_pread_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_pread pread "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), 0)
|
|
+ r0, _, e1 := syscall_syscall6(libc_pwrite_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1160,6 +1532,10 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_pwrite_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_pwrite pwrite "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func read(fd int, p []byte) (n int, err error) {
|
|
@@ -1169,7 +1545,7 @@ func read(fd int, p []byte) (n int, err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
|
|
+ r0, _, e1 := syscall_syscall(libc_read_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1177,6 +1553,10 @@ func read(fd int, p []byte) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_read_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_read read "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Readlink(path string, buf []byte) (n int, err error) {
|
|
@@ -1191,7 +1571,7 @@ func Readlink(path string, buf []byte) (n int, err error) {
|
|
} else {
|
|
_p1 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
|
|
+ r0, _, e1 := syscall_syscall(libc_readlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1199,6 +1579,10 @@ func Readlink(path string, buf []byte) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_readlink_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_readlink readlink "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
|
|
@@ -1213,7 +1597,7 @@ func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
|
|
} else {
|
|
_p1 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
|
|
+ r0, _, e1 := syscall_syscall6(libc_readlinkat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1221,6 +1605,10 @@ func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_readlinkat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_readlinkat readlinkat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Rename(from string, to string) (err error) {
|
|
@@ -1234,13 +1622,17 @@ func Rename(from string, to string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_rename_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_rename_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_rename rename "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Renameat(fromfd int, from string, tofd int, to string) (err error) {
|
|
@@ -1254,13 +1646,17 @@ func Renameat(fromfd int, from string, tofd int, to string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_renameat_trampoline_addr, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_renameat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_renameat renameat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Revoke(path string) (err error) {
|
|
@@ -1269,13 +1665,17 @@ func Revoke(path string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_revoke_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_revoke_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_revoke revoke "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Rmdir(path string) (err error) {
|
|
@@ -1284,17 +1684,21 @@ func Rmdir(path string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_rmdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_rmdir_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_rmdir rmdir "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
|
|
- r0, _, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(whence), 0, 0)
|
|
+ r0, _, e1 := syscall_syscall(libc_lseek_trampoline_addr, uintptr(fd), uintptr(offset), uintptr(whence))
|
|
newoffset = int64(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1302,10 +1706,14 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_lseek_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_lseek lseek "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
|
|
- r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
|
+ r0, _, e1 := syscall_syscall6(libc_select_trampoline_addr, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1313,36 +1721,52 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err
|
|
return
|
|
}
|
|
|
|
+var libc_select_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_select select "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setegid(egid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setegid_trampoline_addr, uintptr(egid), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setegid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setegid setegid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Seteuid(euid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_seteuid_trampoline_addr, uintptr(euid), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_seteuid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_seteuid seteuid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setgid(gid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setgid_trampoline_addr, uintptr(gid), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setgid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setgid setgid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setlogin(name string) (err error) {
|
|
@@ -1351,97 +1775,133 @@ func Setlogin(name string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_setlogin_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setlogin_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setlogin setlogin "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setpgid(pid int, pgid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setpgid_trampoline_addr, uintptr(pid), uintptr(pgid), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setpgid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setpgid setpgid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setpriority(which int, who int, prio int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
|
|
+ _, _, e1 := syscall_syscall(libc_setpriority_trampoline_addr, uintptr(which), uintptr(who), uintptr(prio))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setpriority_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setpriority setpriority "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setregid(rgid int, egid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setregid_trampoline_addr, uintptr(rgid), uintptr(egid), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setregid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setregid setregid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setreuid(ruid int, euid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setreuid_trampoline_addr, uintptr(ruid), uintptr(euid), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setreuid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setreuid setreuid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setresgid(rgid int, egid int, sgid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setresgid_trampoline_addr, uintptr(rgid), uintptr(egid), uintptr(sgid))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setresgid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setresgid setresgid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setresuid(ruid int, euid int, suid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setresuid_trampoline_addr, uintptr(ruid), uintptr(euid), uintptr(suid))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setresuid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setresuid setresuid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setrlimit(which int, lim *Rlimit) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setrlimit_trampoline_addr, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setrlimit_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setrlimit setrlimit "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setrtable(rtable int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRTABLE, uintptr(rtable), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setrtable_trampoline_addr, uintptr(rtable), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setrtable_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setrtable setrtable "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setsid() (pid int, err error) {
|
|
- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
|
|
+ r0, _, e1 := syscall_rawSyscall(libc_setsid_trampoline_addr, 0, 0, 0)
|
|
pid = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1449,26 +1909,38 @@ func Setsid() (pid int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_setsid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setsid setsid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Settimeofday(tp *Timeval) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_settimeofday_trampoline_addr, uintptr(unsafe.Pointer(tp)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_settimeofday_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_settimeofday settimeofday "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setuid(uid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setuid_trampoline_addr, uintptr(uid), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setuid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setuid setuid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Stat(path string, stat *Stat_t) (err error) {
|
|
@@ -1477,13 +1949,17 @@ func Stat(path string, stat *Stat_t) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_stat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_stat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_stat stat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Statfs(path string, stat *Statfs_t) (err error) {
|
|
@@ -1492,13 +1968,17 @@ func Statfs(path string, stat *Statfs_t) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_statfs_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_statfs_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_statfs statfs "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Symlink(path string, link string) (err error) {
|
|
@@ -1512,13 +1992,17 @@ func Symlink(path string, link string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_symlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_symlink_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_symlink symlink "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
|
|
@@ -1532,23 +2016,31 @@ func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
|
|
+ _, _, e1 := syscall_syscall(libc_symlinkat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_symlinkat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_symlinkat symlinkat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Sync() (err error) {
|
|
- _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_sync_trampoline_addr, 0, 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_sync_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_sync sync "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Truncate(path string, length int64) (err error) {
|
|
@@ -1557,21 +2049,29 @@ func Truncate(path string, length int64) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length))
|
|
+ _, _, e1 := syscall_syscall(libc_truncate_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_truncate_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_truncate truncate "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Umask(newmask int) (oldmask int) {
|
|
- r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
|
|
+ r0, _, _ := syscall_syscall(libc_umask_trampoline_addr, uintptr(newmask), 0, 0)
|
|
oldmask = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_umask_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_umask umask "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Unlink(path string) (err error) {
|
|
@@ -1580,13 +2080,17 @@ func Unlink(path string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_unlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_unlink_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_unlink unlink "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Unlinkat(dirfd int, path string, flags int) (err error) {
|
|
@@ -1595,13 +2099,17 @@ func Unlinkat(dirfd int, path string, flags int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
|
|
+ _, _, e1 := syscall_syscall(libc_unlinkat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_unlinkat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_unlinkat unlinkat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Unmount(path string, flags int) (err error) {
|
|
@@ -1610,13 +2118,17 @@ func Unmount(path string, flags int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_unmount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_unmount_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_unmount unmount "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func write(fd int, p []byte) (n int, err error) {
|
|
@@ -1626,7 +2138,7 @@ func write(fd int, p []byte) (n int, err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
|
|
+ r0, _, e1 := syscall_syscall(libc_write_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1634,10 +2146,14 @@ func write(fd int, p []byte) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_write_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_write write "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
|
|
- r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), 0, 0)
|
|
+ r0, _, e1 := syscall_syscall6(libc_mmap_trampoline_addr, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos))
|
|
ret = uintptr(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1645,20 +2161,28 @@ func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (
|
|
return
|
|
}
|
|
|
|
+var libc_mmap_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mmap mmap "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func munmap(addr uintptr, length uintptr) (err error) {
|
|
- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_munmap_trampoline_addr, uintptr(addr), uintptr(length), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_munmap_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_munmap munmap "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
+ r0, _, e1 := syscall_syscall(libc_read_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1669,7 +2193,7 @@ func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
+ r0, _, e1 := syscall_syscall(libc_write_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1685,9 +2209,13 @@ func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_utimensat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
+
|
|
+var libc_utimensat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_utimensat utimensat "libc.so"
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s
|
|
new file mode 100644
|
|
index 0000000..243a666
|
|
--- /dev/null
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s
|
|
@@ -0,0 +1,796 @@
|
|
+// go run mkasm.go openbsd amd64
|
|
+// Code generated by the command above; DO NOT EDIT.
|
|
+
|
|
+#include "textflag.h"
|
|
+
|
|
+TEXT libc_getgroups_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getgroups(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_munlockall_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_munlockall_trampoline_addr(SB)/8, $libc_munlockall_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_pipe2_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_pipe2(SB)
|
|
+
|
|
+GLOBL ·libc_pipe2_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_pipe2_trampoline_addr(SB)/8, $libc_pipe2_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getdents_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getdents(SB)
|
|
+
|
|
+GLOBL ·libc_getdents_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_getdents_trampoline_addr(SB)/8, $libc_getdents_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getcwd_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getcwd(SB)
|
|
+
|
|
+GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_getcwd_trampoline_addr(SB)/8, $libc_getcwd_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_ioctl(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_sysctl_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_sysctl_trampoline_addr(SB)/8, $libc_sysctl_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_ppoll_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_ppoll(SB)
|
|
+
|
|
+GLOBL ·libc_ppoll_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_ppoll_trampoline_addr(SB)/8, $libc_ppoll_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_access_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_access(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_chroot_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_chroot_trampoline_addr(SB)/8, $libc_chroot_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_close_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_close(SB)
|
|
+
|
|
+GLOBL ·libc_close_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_close_trampoline_addr(SB)/8, $libc_close_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_dup_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_dup(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_dup2_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_dup2_trampoline_addr(SB)/8, $libc_dup2_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_dup3_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_dup3(SB)
|
|
+
|
|
+GLOBL ·libc_dup3_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_dup3_trampoline_addr(SB)/8, $libc_dup3_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_exit_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_exit(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_fchownat_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_fchownat_trampoline_addr(SB)/8, $libc_fchownat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_flock_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_flock(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_fpathconf_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_fpathconf_trampoline_addr(SB)/8, $libc_fpathconf_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_fstat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_fstat(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_fstatfs_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_fstatfs_trampoline_addr(SB)/8, $libc_fstatfs_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_fsync_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_fsync(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_ftruncate_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_ftruncate_trampoline_addr(SB)/8, $libc_ftruncate_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getegid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getegid(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_getrlimit_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_getrlimit_trampoline_addr(SB)/8, $libc_getrlimit_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getrtable_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getrtable(SB)
|
|
+
|
|
+GLOBL ·libc_getrtable_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_getrtable_trampoline_addr(SB)/8, $libc_getrtable_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getrusage_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getrusage(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_issetugid_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_issetugid_trampoline_addr(SB)/8, $libc_issetugid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_kill_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_kill(SB)
|
|
+
|
|
+GLOBL ·libc_kill_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_kill_trampoline_addr(SB)/8, $libc_kill_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_kqueue_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_kqueue(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_listen_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_listen_trampoline_addr(SB)/8, $libc_listen_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_lstat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_lstat(SB)
|
|
+
|
|
+GLOBL ·libc_lstat_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_lstat_trampoline_addr(SB)/8, $libc_lstat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_mkdir_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mkdir(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_mkfifo_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_mkfifo_trampoline_addr(SB)/8, $libc_mkfifo_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_mkfifoat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mkfifoat(SB)
|
|
+
|
|
+GLOBL ·libc_mkfifoat_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_mkfifoat_trampoline_addr(SB)/8, $libc_mkfifoat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_mknod_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mknod(SB)
|
|
+
|
|
+GLOBL ·libc_mknod_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_mknod_trampoline_addr(SB)/8, $libc_mknod_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_mknodat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mknodat(SB)
|
|
+
|
|
+GLOBL ·libc_mknodat_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_mknodat_trampoline_addr(SB)/8, $libc_mknodat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_nanosleep_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_nanosleep(SB)
|
|
+
|
|
+GLOBL ·libc_nanosleep_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_nanosleep_trampoline_addr(SB)/8, $libc_nanosleep_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_open_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_open(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_setpriority_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_setpriority_trampoline_addr(SB)/8, $libc_setpriority_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setregid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setregid(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_setreuid_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_setreuid_trampoline_addr(SB)/8, $libc_setreuid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setresgid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setresgid(SB)
|
|
+
|
|
+GLOBL ·libc_setresgid_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_setresgid_trampoline_addr(SB)/8, $libc_setresgid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setresuid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setresuid(SB)
|
|
+
|
|
+GLOBL ·libc_setresuid_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_setresuid_trampoline_addr(SB)/8, $libc_setresuid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setrlimit_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setrlimit(SB)
|
|
+
|
|
+GLOBL ·libc_setrlimit_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_setrlimit_trampoline_addr(SB)/8, $libc_setrlimit_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setrtable_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setrtable(SB)
|
|
+
|
|
+GLOBL ·libc_setrtable_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_setrtable_trampoline_addr(SB)/8, $libc_setrtable_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setsid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setsid(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_setuid_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_setuid_trampoline_addr(SB)/8, $libc_setuid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_stat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_stat(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_statfs_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_statfs_trampoline_addr(SB)/8, $libc_statfs_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_symlink_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_symlink(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_umask_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_umask_trampoline_addr(SB)/8, $libc_umask_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_unlink_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_unlink(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_munmap_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_munmap_trampoline_addr(SB)/8, $libc_munmap_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_utimensat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_utimensat(SB)
|
|
+
|
|
+GLOBL ·libc_utimensat_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_utimensat_trampoline_addr(SB)/8, $libc_utimensat_trampoline<>(SB)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go
|
|
index 883a9b4..8da6791 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run mksyscall.go -l32 -openbsd -arm -tags openbsd,arm syscall_bsd.go syscall_openbsd.go syscall_openbsd_arm.go
|
|
+// go run mksyscall.go -l32 -openbsd -arm -libc -tags openbsd,arm syscall_bsd.go syscall_openbsd.go syscall_openbsd_arm.go
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build openbsd && arm
|
|
@@ -16,7 +16,7 @@ var _ syscall.Errno
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
|
|
- r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
|
|
+ r0, _, e1 := syscall_rawSyscall(libc_getgroups_trampoline_addr, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -24,20 +24,28 @@ func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_getgroups_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getgroups getgroups "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func setgroups(ngid int, gid *_Gid_t) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setgroups_trampoline_addr, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setgroups_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setgroups setgroups "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
|
|
- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
|
|
+ r0, _, e1 := syscall_syscall6(libc_wait4_trampoline_addr, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
|
|
wpid = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -45,10 +53,14 @@ func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err
|
|
return
|
|
}
|
|
|
|
+var libc_wait4_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_wait4 wait4 "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
+ r0, _, e1 := syscall_syscall(libc_accept_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
fd = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -56,30 +68,42 @@ func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_accept_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_accept accept "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
|
|
- _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
|
|
+ _, _, e1 := syscall_syscall(libc_bind_trampoline_addr, uintptr(s), uintptr(addr), uintptr(addrlen))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_bind_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_bind bind "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
|
|
- _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
|
|
+ _, _, e1 := syscall_syscall(libc_connect_trampoline_addr, uintptr(s), uintptr(addr), uintptr(addrlen))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_connect_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_connect connect "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func socket(domain int, typ int, proto int) (fd int, err error) {
|
|
- r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
|
|
+ r0, _, e1 := syscall_rawSyscall(libc_socket_trampoline_addr, uintptr(domain), uintptr(typ), uintptr(proto))
|
|
fd = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -87,66 +111,94 @@ func socket(domain int, typ int, proto int) (fd int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_socket_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_socket socket "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
|
|
- _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_getsockopt_trampoline_addr, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_getsockopt_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getsockopt getsockopt "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
|
|
- _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_setsockopt_trampoline_addr, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setsockopt_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setsockopt setsockopt "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
+ _, _, e1 := syscall_rawSyscall(libc_getpeername_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_getpeername_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getpeername getpeername "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
+ _, _, e1 := syscall_rawSyscall(libc_getsockname_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_getsockname_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getsockname getsockname "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Shutdown(s int, how int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_shutdown_trampoline_addr, uintptr(s), uintptr(how), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_shutdown_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_shutdown shutdown "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
|
|
- _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall6(libc_socketpair_trampoline_addr, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_socketpair_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_socketpair socketpair "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
|
|
@@ -156,7 +208,7 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
|
|
+ r0, _, e1 := syscall_syscall6(libc_recvfrom_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -164,6 +216,10 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl
|
|
return
|
|
}
|
|
|
|
+var libc_recvfrom_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_recvfrom recvfrom "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
|
|
@@ -173,17 +229,21 @@ func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
|
|
+ _, _, e1 := syscall_syscall6(libc_sendto_trampoline_addr, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_sendto_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_sendto sendto "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
|
|
+ r0, _, e1 := syscall_syscall(libc_recvmsg_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -191,10 +251,14 @@ func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_recvmsg_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_recvmsg recvmsg "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
|
|
+ r0, _, e1 := syscall_syscall(libc_sendmsg_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -202,10 +266,14 @@ func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_sendmsg_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_sendmsg sendmsg "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
|
|
- r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
|
|
+ r0, _, e1 := syscall_syscall6(libc_kevent_trampoline_addr, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -213,6 +281,10 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
|
|
return
|
|
}
|
|
|
|
+var libc_kevent_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_kevent kevent "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func utimes(path string, timeval *[2]Timeval) (err error) {
|
|
@@ -221,27 +293,35 @@ func utimes(path string, timeval *[2]Timeval) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_utimes_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_utimes_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_utimes utimes "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func futimes(fd int, timeval *[2]Timeval) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_futimes_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_futimes_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_futimes futimes "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
|
|
+ r0, _, e1 := syscall_syscall(libc_poll_trampoline_addr, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -249,6 +329,10 @@ func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_poll_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_poll poll "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Madvise(b []byte, behav int) (err error) {
|
|
@@ -258,13 +342,17 @@ func Madvise(b []byte, behav int) (err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(behav))
|
|
+ _, _, e1 := syscall_syscall(libc_madvise_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(behav))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_madvise_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_madvise madvise "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mlock(b []byte) (err error) {
|
|
@@ -274,23 +362,31 @@ func Mlock(b []byte) (err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_mlock_trampoline_addr, uintptr(_p0), uintptr(len(b)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mlock_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mlock mlock "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mlockall(flags int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_mlockall_trampoline_addr, uintptr(flags), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mlockall_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mlockall mlockall "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mprotect(b []byte, prot int) (err error) {
|
|
@@ -300,13 +396,17 @@ func Mprotect(b []byte, prot int) (err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
|
|
+ _, _, e1 := syscall_syscall(libc_mprotect_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(prot))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mprotect_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mprotect mprotect "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Msync(b []byte, flags int) (err error) {
|
|
@@ -316,13 +416,17 @@ func Msync(b []byte, flags int) (err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags))
|
|
+ _, _, e1 := syscall_syscall(libc_msync_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(flags))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_msync_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_msync msync "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Munlock(b []byte) (err error) {
|
|
@@ -332,33 +436,45 @@ func Munlock(b []byte) (err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_munlock_trampoline_addr, uintptr(_p0), uintptr(len(b)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_munlock_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_munlock munlock "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Munlockall() (err error) {
|
|
- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_munlockall_trampoline_addr, 0, 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_munlockall_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_munlockall munlockall "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func pipe2(p *[2]_C_int, flags int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_pipe2_trampoline_addr, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_pipe2_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_pipe2 pipe2 "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getdents(fd int, buf []byte) (n int, err error) {
|
|
@@ -368,7 +484,7 @@ func Getdents(fd int, buf []byte) (n int, err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
|
|
+ r0, _, e1 := syscall_syscall(libc_getdents_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -376,6 +492,10 @@ func Getdents(fd int, buf []byte) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_getdents_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getdents getdents "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getcwd(buf []byte) (n int, err error) {
|
|
@@ -385,7 +505,7 @@ func Getcwd(buf []byte) (n int, err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall(SYS___GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
|
|
+ r0, _, e1 := syscall_syscall(libc_getcwd_trampoline_addr, uintptr(_p0), uintptr(len(buf)), 0)
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -393,16 +513,24 @@ func Getcwd(buf []byte) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_getcwd_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getcwd getcwd "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func ioctl(fd int, req uint, arg uintptr) (err error) {
|
|
- _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
|
|
+ _, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_ioctl_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
|
@@ -412,17 +540,21 @@ func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr)
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
|
+ _, _, e1 := syscall_syscall6(libc_sysctl_trampoline_addr, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_sysctl_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_sysctl sysctl "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
|
|
- r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
|
|
+ r0, _, e1 := syscall_syscall6(libc_ppoll_trampoline_addr, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -430,6 +562,10 @@ func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int,
|
|
return
|
|
}
|
|
|
|
+var libc_ppoll_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_ppoll ppoll "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Access(path string, mode uint32) (err error) {
|
|
@@ -438,23 +574,31 @@ func Access(path string, mode uint32) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_access_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_access_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_access access "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
|
|
- _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_adjtime_trampoline_addr, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_adjtime_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_adjtime adjtime "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Chdir(path string) (err error) {
|
|
@@ -463,13 +607,17 @@ func Chdir(path string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_chdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_chdir_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_chdir chdir "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Chflags(path string, flags int) (err error) {
|
|
@@ -478,13 +626,17 @@ func Chflags(path string, flags int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_chflags_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_chflags_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_chflags chflags "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Chmod(path string, mode uint32) (err error) {
|
|
@@ -493,13 +645,17 @@ func Chmod(path string, mode uint32) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_chmod_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_chmod_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_chmod chmod "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Chown(path string, uid int, gid int) (err error) {
|
|
@@ -508,13 +664,17 @@ func Chown(path string, uid int, gid int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
|
|
+ _, _, e1 := syscall_syscall(libc_chown_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_chown_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_chown chown "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Chroot(path string) (err error) {
|
|
@@ -523,27 +683,35 @@ func Chroot(path string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_chroot_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_chroot_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_chroot chroot "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Close(fd int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_close_trampoline_addr, uintptr(fd), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_close_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_close close "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Dup(fd int) (nfd int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
|
|
+ r0, _, e1 := syscall_syscall(libc_dup_trampoline_addr, uintptr(fd), 0, 0)
|
|
nfd = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -551,33 +719,49 @@ func Dup(fd int) (nfd int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_dup_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_dup dup "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Dup2(from int, to int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_dup2_trampoline_addr, uintptr(from), uintptr(to), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_dup2_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_dup2 dup2 "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Dup3(from int, to int, flags int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_DUP3, uintptr(from), uintptr(to), uintptr(flags))
|
|
+ _, _, e1 := syscall_syscall(libc_dup3_trampoline_addr, uintptr(from), uintptr(to), uintptr(flags))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_dup3_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_dup3 dup3 "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Exit(code int) {
|
|
- Syscall(SYS_EXIT, uintptr(code), 0, 0)
|
|
+ syscall_syscall(libc_exit_trampoline_addr, uintptr(code), 0, 0)
|
|
return
|
|
}
|
|
|
|
+var libc_exit_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_exit exit "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
|
|
@@ -586,43 +770,59 @@ func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_faccessat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_faccessat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_faccessat faccessat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fchdir(fd int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_fchdir_trampoline_addr, uintptr(fd), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fchdir_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fchdir fchdir "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fchflags(fd int, flags int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_fchflags_trampoline_addr, uintptr(fd), uintptr(flags), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fchflags_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fchflags fchflags "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fchmod(fd int, mode uint32) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_fchmod_trampoline_addr, uintptr(fd), uintptr(mode), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fchmod_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fchmod fchmod "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
|
|
@@ -631,23 +831,31 @@ func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_fchmodat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fchmodat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fchmodat fchmodat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fchown(fd int, uid int, gid int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
|
|
+ _, _, e1 := syscall_syscall(libc_fchown_trampoline_addr, uintptr(fd), uintptr(uid), uintptr(gid))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fchown_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fchown fchown "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
|
|
@@ -656,27 +864,35 @@ func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_fchownat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fchownat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fchownat fchownat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Flock(fd int, how int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_flock_trampoline_addr, uintptr(fd), uintptr(how), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_flock_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_flock flock "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fpathconf(fd int, name int) (val int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
|
|
+ r0, _, e1 := syscall_syscall(libc_fpathconf_trampoline_addr, uintptr(fd), uintptr(name), 0)
|
|
val = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -684,16 +900,24 @@ func Fpathconf(fd int, name int) (val int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_fpathconf_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fpathconf fpathconf "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fstat(fd int, stat *Stat_t) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_fstat_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fstat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fstat fstat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
|
|
@@ -702,71 +926,99 @@ func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_fstatat_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fstatat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fstatat fstatat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fstatfs(fd int, stat *Statfs_t) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_fstatfs_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fstatfs_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fstatfs fstatfs "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fsync(fd int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_fsync_trampoline_addr, uintptr(fd), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fsync_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fsync fsync "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Ftruncate(fd int, length int64) (err error) {
|
|
- _, _, e1 := Syscall6(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length), uintptr(length>>32), 0, 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_ftruncate_trampoline_addr, uintptr(fd), 0, uintptr(length), uintptr(length>>32), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_ftruncate_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_ftruncate ftruncate "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getegid() (egid int) {
|
|
- r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
|
|
+ r0, _, _ := syscall_rawSyscall(libc_getegid_trampoline_addr, 0, 0, 0)
|
|
egid = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_getegid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getegid getegid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Geteuid() (uid int) {
|
|
- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
|
|
+ r0, _, _ := syscall_rawSyscall(libc_geteuid_trampoline_addr, 0, 0, 0)
|
|
uid = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_geteuid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_geteuid geteuid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getgid() (gid int) {
|
|
- r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
|
|
+ r0, _, _ := syscall_rawSyscall(libc_getgid_trampoline_addr, 0, 0, 0)
|
|
gid = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_getgid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getgid getgid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getpgid(pid int) (pgid int, err error) {
|
|
- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
|
|
+ r0, _, e1 := syscall_rawSyscall(libc_getpgid_trampoline_addr, uintptr(pid), 0, 0)
|
|
pgid = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -774,34 +1026,50 @@ func Getpgid(pid int) (pgid int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_getpgid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getpgid getpgid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getpgrp() (pgrp int) {
|
|
- r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
|
|
+ r0, _, _ := syscall_rawSyscall(libc_getpgrp_trampoline_addr, 0, 0, 0)
|
|
pgrp = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_getpgrp_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getpgrp getpgrp "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getpid() (pid int) {
|
|
- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
|
|
+ r0, _, _ := syscall_rawSyscall(libc_getpid_trampoline_addr, 0, 0, 0)
|
|
pid = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_getpid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getpid getpid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getppid() (ppid int) {
|
|
- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
|
|
+ r0, _, _ := syscall_rawSyscall(libc_getppid_trampoline_addr, 0, 0, 0)
|
|
ppid = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_getppid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getppid getppid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getpriority(which int, who int) (prio int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
|
|
+ r0, _, e1 := syscall_syscall(libc_getpriority_trampoline_addr, uintptr(which), uintptr(who), 0)
|
|
prio = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -809,20 +1077,28 @@ func Getpriority(which int, who int) (prio int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_getpriority_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getpriority getpriority "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getrlimit(which int, lim *Rlimit) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_getrlimit_trampoline_addr, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_getrlimit_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getrlimit getrlimit "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getrtable() (rtable int, err error) {
|
|
- r0, _, e1 := RawSyscall(SYS_GETRTABLE, 0, 0, 0)
|
|
+ r0, _, e1 := syscall_rawSyscall(libc_getrtable_trampoline_addr, 0, 0, 0)
|
|
rtable = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -830,20 +1106,28 @@ func Getrtable() (rtable int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_getrtable_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getrtable getrtable "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getrusage(who int, rusage *Rusage) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_getrusage_trampoline_addr, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_getrusage_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getrusage getrusage "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getsid(pid int) (sid int, err error) {
|
|
- r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
|
|
+ r0, _, e1 := syscall_rawSyscall(libc_getsid_trampoline_addr, uintptr(pid), 0, 0)
|
|
sid = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -851,46 +1135,66 @@ func Getsid(pid int) (sid int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_getsid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getsid getsid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Gettimeofday(tv *Timeval) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_gettimeofday_trampoline_addr, uintptr(unsafe.Pointer(tv)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_gettimeofday_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_gettimeofday gettimeofday "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getuid() (uid int) {
|
|
- r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
|
|
+ r0, _, _ := syscall_rawSyscall(libc_getuid_trampoline_addr, 0, 0, 0)
|
|
uid = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_getuid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getuid getuid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Issetugid() (tainted bool) {
|
|
- r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
|
|
+ r0, _, _ := syscall_syscall(libc_issetugid_trampoline_addr, 0, 0, 0)
|
|
tainted = bool(r0 != 0)
|
|
return
|
|
}
|
|
|
|
+var libc_issetugid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_issetugid issetugid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Kill(pid int, signum syscall.Signal) (err error) {
|
|
- _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_kill_trampoline_addr, uintptr(pid), uintptr(signum), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_kill_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_kill kill "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Kqueue() (fd int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
|
|
+ r0, _, e1 := syscall_syscall(libc_kqueue_trampoline_addr, 0, 0, 0)
|
|
fd = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -898,6 +1202,10 @@ func Kqueue() (fd int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_kqueue_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_kqueue kqueue "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Lchown(path string, uid int, gid int) (err error) {
|
|
@@ -906,13 +1214,17 @@ func Lchown(path string, uid int, gid int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
|
|
+ _, _, e1 := syscall_syscall(libc_lchown_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_lchown_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_lchown lchown "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Link(path string, link string) (err error) {
|
|
@@ -926,13 +1238,17 @@ func Link(path string, link string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_link_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_link_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_link link "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error) {
|
|
@@ -946,23 +1262,31 @@ func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err er
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_linkat_trampoline_addr, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_linkat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_linkat linkat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Listen(s int, backlog int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_listen_trampoline_addr, uintptr(s), uintptr(backlog), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_listen_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_listen listen "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Lstat(path string, stat *Stat_t) (err error) {
|
|
@@ -971,13 +1295,17 @@ func Lstat(path string, stat *Stat_t) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_lstat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_lstat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_lstat lstat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mkdir(path string, mode uint32) (err error) {
|
|
@@ -986,13 +1314,17 @@ func Mkdir(path string, mode uint32) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_mkdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mkdir_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mkdir mkdir "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mkdirat(dirfd int, path string, mode uint32) (err error) {
|
|
@@ -1001,13 +1333,17 @@ func Mkdirat(dirfd int, path string, mode uint32) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
|
|
+ _, _, e1 := syscall_syscall(libc_mkdirat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mkdirat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mkdirat mkdirat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mkfifo(path string, mode uint32) (err error) {
|
|
@@ -1016,13 +1352,17 @@ func Mkfifo(path string, mode uint32) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_mkfifo_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mkfifo_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mkfifo mkfifo "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mkfifoat(dirfd int, path string, mode uint32) (err error) {
|
|
@@ -1031,13 +1371,17 @@ func Mkfifoat(dirfd int, path string, mode uint32) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MKFIFOAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
|
|
+ _, _, e1 := syscall_syscall(libc_mkfifoat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mkfifoat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mkfifoat mkfifoat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mknod(path string, mode uint32, dev int) (err error) {
|
|
@@ -1046,13 +1390,17 @@ func Mknod(path string, mode uint32, dev int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
|
|
+ _, _, e1 := syscall_syscall(libc_mknod_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mknod_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mknod mknod "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
|
|
@@ -1061,23 +1409,31 @@ func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_mknodat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mknodat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mknodat mknodat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
|
|
- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_nanosleep_trampoline_addr, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_nanosleep_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_nanosleep nanosleep "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Open(path string, mode int, perm uint32) (fd int, err error) {
|
|
@@ -1086,7 +1442,7 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
|
|
+ r0, _, e1 := syscall_syscall(libc_open_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
|
|
fd = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1094,6 +1450,10 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_open_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_open open "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
|
|
@@ -1102,7 +1462,7 @@ func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
|
|
+ r0, _, e1 := syscall_syscall6(libc_openat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
|
|
fd = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1110,6 +1470,10 @@ func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_openat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_openat openat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Pathconf(path string, name int) (val int, err error) {
|
|
@@ -1118,7 +1482,7 @@ func Pathconf(path string, name int) (val int, err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
|
|
+ r0, _, e1 := syscall_syscall(libc_pathconf_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
|
|
val = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1126,16 +1490,20 @@ func Pathconf(path string, name int) (val int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_pathconf_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_pathconf pathconf "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
|
|
+ r0, _, e1 := syscall_syscall6(libc_pread_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1143,16 +1511,20 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_pread_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_pread pread "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
|
|
+ r0, _, e1 := syscall_syscall6(libc_pwrite_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), uintptr(offset>>32))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1160,6 +1532,10 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_pwrite_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_pwrite pwrite "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func read(fd int, p []byte) (n int, err error) {
|
|
@@ -1169,7 +1545,7 @@ func read(fd int, p []byte) (n int, err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
|
|
+ r0, _, e1 := syscall_syscall(libc_read_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1177,6 +1553,10 @@ func read(fd int, p []byte) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_read_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_read read "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Readlink(path string, buf []byte) (n int, err error) {
|
|
@@ -1191,7 +1571,7 @@ func Readlink(path string, buf []byte) (n int, err error) {
|
|
} else {
|
|
_p1 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
|
|
+ r0, _, e1 := syscall_syscall(libc_readlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1199,6 +1579,10 @@ func Readlink(path string, buf []byte) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_readlink_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_readlink readlink "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
|
|
@@ -1213,7 +1597,7 @@ func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
|
|
} else {
|
|
_p1 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
|
|
+ r0, _, e1 := syscall_syscall6(libc_readlinkat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1221,6 +1605,10 @@ func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_readlinkat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_readlinkat readlinkat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Rename(from string, to string) (err error) {
|
|
@@ -1234,13 +1622,17 @@ func Rename(from string, to string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_rename_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_rename_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_rename rename "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Renameat(fromfd int, from string, tofd int, to string) (err error) {
|
|
@@ -1254,13 +1646,17 @@ func Renameat(fromfd int, from string, tofd int, to string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_renameat_trampoline_addr, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_renameat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_renameat renameat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Revoke(path string) (err error) {
|
|
@@ -1269,13 +1665,17 @@ func Revoke(path string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_revoke_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_revoke_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_revoke revoke "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Rmdir(path string) (err error) {
|
|
@@ -1284,17 +1684,21 @@ func Rmdir(path string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_rmdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_rmdir_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_rmdir rmdir "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
|
|
- r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), uintptr(whence), 0)
|
|
+ r0, r1, e1 := syscall_syscall6(libc_lseek_trampoline_addr, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), uintptr(whence), 0)
|
|
newoffset = int64(int64(r1)<<32 | int64(r0))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1302,10 +1706,14 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_lseek_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_lseek lseek "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
|
|
- r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
|
+ r0, _, e1 := syscall_syscall6(libc_select_trampoline_addr, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1313,36 +1721,52 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err
|
|
return
|
|
}
|
|
|
|
+var libc_select_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_select select "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setegid(egid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setegid_trampoline_addr, uintptr(egid), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setegid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setegid setegid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Seteuid(euid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_seteuid_trampoline_addr, uintptr(euid), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_seteuid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_seteuid seteuid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setgid(gid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setgid_trampoline_addr, uintptr(gid), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setgid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setgid setgid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setlogin(name string) (err error) {
|
|
@@ -1351,97 +1775,133 @@ func Setlogin(name string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_setlogin_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setlogin_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setlogin setlogin "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setpgid(pid int, pgid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setpgid_trampoline_addr, uintptr(pid), uintptr(pgid), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setpgid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setpgid setpgid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setpriority(which int, who int, prio int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
|
|
+ _, _, e1 := syscall_syscall(libc_setpriority_trampoline_addr, uintptr(which), uintptr(who), uintptr(prio))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setpriority_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setpriority setpriority "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setregid(rgid int, egid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setregid_trampoline_addr, uintptr(rgid), uintptr(egid), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setregid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setregid setregid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setreuid(ruid int, euid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setreuid_trampoline_addr, uintptr(ruid), uintptr(euid), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setreuid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setreuid setreuid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setresgid(rgid int, egid int, sgid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setresgid_trampoline_addr, uintptr(rgid), uintptr(egid), uintptr(sgid))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setresgid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setresgid setresgid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setresuid(ruid int, euid int, suid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setresuid_trampoline_addr, uintptr(ruid), uintptr(euid), uintptr(suid))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setresuid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setresuid setresuid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setrlimit(which int, lim *Rlimit) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setrlimit_trampoline_addr, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setrlimit_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setrlimit setrlimit "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setrtable(rtable int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRTABLE, uintptr(rtable), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setrtable_trampoline_addr, uintptr(rtable), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setrtable_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setrtable setrtable "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setsid() (pid int, err error) {
|
|
- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
|
|
+ r0, _, e1 := syscall_rawSyscall(libc_setsid_trampoline_addr, 0, 0, 0)
|
|
pid = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1449,26 +1909,38 @@ func Setsid() (pid int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_setsid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setsid setsid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Settimeofday(tp *Timeval) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_settimeofday_trampoline_addr, uintptr(unsafe.Pointer(tp)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_settimeofday_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_settimeofday settimeofday "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setuid(uid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setuid_trampoline_addr, uintptr(uid), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setuid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setuid setuid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Stat(path string, stat *Stat_t) (err error) {
|
|
@@ -1477,13 +1949,17 @@ func Stat(path string, stat *Stat_t) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_stat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_stat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_stat stat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Statfs(path string, stat *Statfs_t) (err error) {
|
|
@@ -1492,13 +1968,17 @@ func Statfs(path string, stat *Statfs_t) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_statfs_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_statfs_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_statfs statfs "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Symlink(path string, link string) (err error) {
|
|
@@ -1512,13 +1992,17 @@ func Symlink(path string, link string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_symlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_symlink_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_symlink symlink "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
|
|
@@ -1532,23 +2016,31 @@ func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
|
|
+ _, _, e1 := syscall_syscall(libc_symlinkat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_symlinkat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_symlinkat symlinkat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Sync() (err error) {
|
|
- _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_sync_trampoline_addr, 0, 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_sync_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_sync sync "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Truncate(path string, length int64) (err error) {
|
|
@@ -1557,21 +2049,29 @@ func Truncate(path string, length int64) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length), uintptr(length>>32), 0, 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_truncate_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length), uintptr(length>>32), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_truncate_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_truncate truncate "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Umask(newmask int) (oldmask int) {
|
|
- r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
|
|
+ r0, _, _ := syscall_syscall(libc_umask_trampoline_addr, uintptr(newmask), 0, 0)
|
|
oldmask = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_umask_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_umask umask "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Unlink(path string) (err error) {
|
|
@@ -1580,13 +2080,17 @@ func Unlink(path string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_unlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_unlink_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_unlink unlink "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Unlinkat(dirfd int, path string, flags int) (err error) {
|
|
@@ -1595,13 +2099,17 @@ func Unlinkat(dirfd int, path string, flags int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
|
|
+ _, _, e1 := syscall_syscall(libc_unlinkat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_unlinkat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_unlinkat unlinkat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Unmount(path string, flags int) (err error) {
|
|
@@ -1610,13 +2118,17 @@ func Unmount(path string, flags int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_unmount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_unmount_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_unmount unmount "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func write(fd int, p []byte) (n int, err error) {
|
|
@@ -1626,7 +2138,7 @@ func write(fd int, p []byte) (n int, err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
|
|
+ r0, _, e1 := syscall_syscall(libc_write_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1634,10 +2146,14 @@ func write(fd int, p []byte) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_write_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_write write "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
|
|
- r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), uintptr(pos>>32), 0)
|
|
+ r0, _, e1 := syscall_syscall9(libc_mmap_trampoline_addr, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), uintptr(pos>>32), 0)
|
|
ret = uintptr(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1645,20 +2161,28 @@ func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (
|
|
return
|
|
}
|
|
|
|
+var libc_mmap_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mmap mmap "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func munmap(addr uintptr, length uintptr) (err error) {
|
|
- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_munmap_trampoline_addr, uintptr(addr), uintptr(length), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_munmap_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_munmap munmap "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
+ r0, _, e1 := syscall_syscall(libc_read_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1669,7 +2193,7 @@ func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
+ r0, _, e1 := syscall_syscall(libc_write_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1685,9 +2209,13 @@ func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_utimensat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
+
|
|
+var libc_utimensat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_utimensat utimensat "libc.so"
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s
|
|
new file mode 100644
|
|
index 0000000..9ad116d
|
|
--- /dev/null
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s
|
|
@@ -0,0 +1,796 @@
|
|
+// go run mkasm.go openbsd arm
|
|
+// Code generated by the command above; DO NOT EDIT.
|
|
+
|
|
+#include "textflag.h"
|
|
+
|
|
+TEXT libc_getgroups_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getgroups(SB)
|
|
+
|
|
+GLOBL ·libc_getgroups_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getgroups_trampoline_addr(SB)/4, $libc_getgroups_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setgroups_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setgroups(SB)
|
|
+
|
|
+GLOBL ·libc_setgroups_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setgroups_trampoline_addr(SB)/4, $libc_setgroups_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_wait4_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_wait4(SB)
|
|
+
|
|
+GLOBL ·libc_wait4_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_wait4_trampoline_addr(SB)/4, $libc_wait4_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_accept_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_accept(SB)
|
|
+
|
|
+GLOBL ·libc_accept_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_accept_trampoline_addr(SB)/4, $libc_accept_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_bind_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_bind(SB)
|
|
+
|
|
+GLOBL ·libc_bind_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_bind_trampoline_addr(SB)/4, $libc_bind_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_connect_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_connect(SB)
|
|
+
|
|
+GLOBL ·libc_connect_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_connect_trampoline_addr(SB)/4, $libc_connect_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_socket_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_socket(SB)
|
|
+
|
|
+GLOBL ·libc_socket_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_socket_trampoline_addr(SB)/4, $libc_socket_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getsockopt_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getsockopt(SB)
|
|
+
|
|
+GLOBL ·libc_getsockopt_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getsockopt_trampoline_addr(SB)/4, $libc_getsockopt_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setsockopt_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setsockopt(SB)
|
|
+
|
|
+GLOBL ·libc_setsockopt_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setsockopt_trampoline_addr(SB)/4, $libc_setsockopt_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getpeername_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getpeername(SB)
|
|
+
|
|
+GLOBL ·libc_getpeername_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getpeername_trampoline_addr(SB)/4, $libc_getpeername_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getsockname_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getsockname(SB)
|
|
+
|
|
+GLOBL ·libc_getsockname_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getsockname_trampoline_addr(SB)/4, $libc_getsockname_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_shutdown_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_shutdown(SB)
|
|
+
|
|
+GLOBL ·libc_shutdown_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_shutdown_trampoline_addr(SB)/4, $libc_shutdown_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_socketpair_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_socketpair(SB)
|
|
+
|
|
+GLOBL ·libc_socketpair_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_socketpair_trampoline_addr(SB)/4, $libc_socketpair_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_recvfrom_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_recvfrom(SB)
|
|
+
|
|
+GLOBL ·libc_recvfrom_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_recvfrom_trampoline_addr(SB)/4, $libc_recvfrom_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_sendto_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_sendto(SB)
|
|
+
|
|
+GLOBL ·libc_sendto_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_sendto_trampoline_addr(SB)/4, $libc_sendto_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_recvmsg_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_recvmsg(SB)
|
|
+
|
|
+GLOBL ·libc_recvmsg_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_recvmsg_trampoline_addr(SB)/4, $libc_recvmsg_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_sendmsg_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_sendmsg(SB)
|
|
+
|
|
+GLOBL ·libc_sendmsg_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_sendmsg_trampoline_addr(SB)/4, $libc_sendmsg_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_kevent_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_kevent(SB)
|
|
+
|
|
+GLOBL ·libc_kevent_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_kevent_trampoline_addr(SB)/4, $libc_kevent_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_utimes_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_utimes(SB)
|
|
+
|
|
+GLOBL ·libc_utimes_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_utimes_trampoline_addr(SB)/4, $libc_utimes_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_futimes_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_futimes(SB)
|
|
+
|
|
+GLOBL ·libc_futimes_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_futimes_trampoline_addr(SB)/4, $libc_futimes_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_poll_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_poll(SB)
|
|
+
|
|
+GLOBL ·libc_poll_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_poll_trampoline_addr(SB)/4, $libc_poll_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_madvise_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_madvise(SB)
|
|
+
|
|
+GLOBL ·libc_madvise_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_madvise_trampoline_addr(SB)/4, $libc_madvise_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_mlock_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mlock(SB)
|
|
+
|
|
+GLOBL ·libc_mlock_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_mlock_trampoline_addr(SB)/4, $libc_mlock_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_mlockall_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mlockall(SB)
|
|
+
|
|
+GLOBL ·libc_mlockall_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_mlockall_trampoline_addr(SB)/4, $libc_mlockall_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_mprotect_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mprotect(SB)
|
|
+
|
|
+GLOBL ·libc_mprotect_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_mprotect_trampoline_addr(SB)/4, $libc_mprotect_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_msync_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_msync(SB)
|
|
+
|
|
+GLOBL ·libc_msync_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_msync_trampoline_addr(SB)/4, $libc_msync_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_munlock_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_munlock(SB)
|
|
+
|
|
+GLOBL ·libc_munlock_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_munlock_trampoline_addr(SB)/4, $libc_munlock_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_munlockall_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_munlockall(SB)
|
|
+
|
|
+GLOBL ·libc_munlockall_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_munlockall_trampoline_addr(SB)/4, $libc_munlockall_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_pipe2_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_pipe2(SB)
|
|
+
|
|
+GLOBL ·libc_pipe2_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_pipe2_trampoline_addr(SB)/4, $libc_pipe2_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getdents_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getdents(SB)
|
|
+
|
|
+GLOBL ·libc_getdents_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getdents_trampoline_addr(SB)/4, $libc_getdents_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getcwd_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getcwd(SB)
|
|
+
|
|
+GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getcwd_trampoline_addr(SB)/4, $libc_getcwd_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_ioctl(SB)
|
|
+
|
|
+GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_ioctl_trampoline_addr(SB)/4, $libc_ioctl_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_sysctl_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_sysctl(SB)
|
|
+
|
|
+GLOBL ·libc_sysctl_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_sysctl_trampoline_addr(SB)/4, $libc_sysctl_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_ppoll_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_ppoll(SB)
|
|
+
|
|
+GLOBL ·libc_ppoll_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_ppoll_trampoline_addr(SB)/4, $libc_ppoll_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_access_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_access(SB)
|
|
+
|
|
+GLOBL ·libc_access_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_access_trampoline_addr(SB)/4, $libc_access_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_adjtime_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_adjtime(SB)
|
|
+
|
|
+GLOBL ·libc_adjtime_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_adjtime_trampoline_addr(SB)/4, $libc_adjtime_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_chdir_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_chdir(SB)
|
|
+
|
|
+GLOBL ·libc_chdir_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_chdir_trampoline_addr(SB)/4, $libc_chdir_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_chflags_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_chflags(SB)
|
|
+
|
|
+GLOBL ·libc_chflags_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_chflags_trampoline_addr(SB)/4, $libc_chflags_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_chmod_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_chmod(SB)
|
|
+
|
|
+GLOBL ·libc_chmod_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_chmod_trampoline_addr(SB)/4, $libc_chmod_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_chown_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_chown(SB)
|
|
+
|
|
+GLOBL ·libc_chown_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_chown_trampoline_addr(SB)/4, $libc_chown_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_chroot_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_chroot(SB)
|
|
+
|
|
+GLOBL ·libc_chroot_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_chroot_trampoline_addr(SB)/4, $libc_chroot_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_close_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_close(SB)
|
|
+
|
|
+GLOBL ·libc_close_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_close_trampoline_addr(SB)/4, $libc_close_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_dup_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_dup(SB)
|
|
+
|
|
+GLOBL ·libc_dup_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_dup_trampoline_addr(SB)/4, $libc_dup_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_dup2_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_dup2(SB)
|
|
+
|
|
+GLOBL ·libc_dup2_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_dup2_trampoline_addr(SB)/4, $libc_dup2_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_dup3_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_dup3(SB)
|
|
+
|
|
+GLOBL ·libc_dup3_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_dup3_trampoline_addr(SB)/4, $libc_dup3_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_exit_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_exit(SB)
|
|
+
|
|
+GLOBL ·libc_exit_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_exit_trampoline_addr(SB)/4, $libc_exit_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_faccessat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_faccessat(SB)
|
|
+
|
|
+GLOBL ·libc_faccessat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_faccessat_trampoline_addr(SB)/4, $libc_faccessat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_fchdir_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_fchdir(SB)
|
|
+
|
|
+GLOBL ·libc_fchdir_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_fchdir_trampoline_addr(SB)/4, $libc_fchdir_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_fchflags_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_fchflags(SB)
|
|
+
|
|
+GLOBL ·libc_fchflags_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_fchflags_trampoline_addr(SB)/4, $libc_fchflags_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_fchmod_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_fchmod(SB)
|
|
+
|
|
+GLOBL ·libc_fchmod_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_fchmod_trampoline_addr(SB)/4, $libc_fchmod_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_fchmodat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_fchmodat(SB)
|
|
+
|
|
+GLOBL ·libc_fchmodat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_fchmodat_trampoline_addr(SB)/4, $libc_fchmodat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_fchown_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_fchown(SB)
|
|
+
|
|
+GLOBL ·libc_fchown_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_fchown_trampoline_addr(SB)/4, $libc_fchown_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_fchownat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_fchownat(SB)
|
|
+
|
|
+GLOBL ·libc_fchownat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_fchownat_trampoline_addr(SB)/4, $libc_fchownat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_flock_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_flock(SB)
|
|
+
|
|
+GLOBL ·libc_flock_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_flock_trampoline_addr(SB)/4, $libc_flock_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_fpathconf_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_fpathconf(SB)
|
|
+
|
|
+GLOBL ·libc_fpathconf_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_fpathconf_trampoline_addr(SB)/4, $libc_fpathconf_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_fstat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_fstat(SB)
|
|
+
|
|
+GLOBL ·libc_fstat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_fstat_trampoline_addr(SB)/4, $libc_fstat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_fstatat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_fstatat(SB)
|
|
+
|
|
+GLOBL ·libc_fstatat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_fstatat_trampoline_addr(SB)/4, $libc_fstatat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_fstatfs_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_fstatfs(SB)
|
|
+
|
|
+GLOBL ·libc_fstatfs_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_fstatfs_trampoline_addr(SB)/4, $libc_fstatfs_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_fsync_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_fsync(SB)
|
|
+
|
|
+GLOBL ·libc_fsync_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_fsync_trampoline_addr(SB)/4, $libc_fsync_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_ftruncate_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_ftruncate(SB)
|
|
+
|
|
+GLOBL ·libc_ftruncate_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_ftruncate_trampoline_addr(SB)/4, $libc_ftruncate_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getegid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getegid(SB)
|
|
+
|
|
+GLOBL ·libc_getegid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getegid_trampoline_addr(SB)/4, $libc_getegid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_geteuid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_geteuid(SB)
|
|
+
|
|
+GLOBL ·libc_geteuid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_geteuid_trampoline_addr(SB)/4, $libc_geteuid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getgid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getgid(SB)
|
|
+
|
|
+GLOBL ·libc_getgid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getgid_trampoline_addr(SB)/4, $libc_getgid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getpgid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getpgid(SB)
|
|
+
|
|
+GLOBL ·libc_getpgid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getpgid_trampoline_addr(SB)/4, $libc_getpgid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getpgrp_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getpgrp(SB)
|
|
+
|
|
+GLOBL ·libc_getpgrp_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getpgrp_trampoline_addr(SB)/4, $libc_getpgrp_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getpid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getpid(SB)
|
|
+
|
|
+GLOBL ·libc_getpid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getpid_trampoline_addr(SB)/4, $libc_getpid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getppid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getppid(SB)
|
|
+
|
|
+GLOBL ·libc_getppid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getppid_trampoline_addr(SB)/4, $libc_getppid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getpriority_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getpriority(SB)
|
|
+
|
|
+GLOBL ·libc_getpriority_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getpriority_trampoline_addr(SB)/4, $libc_getpriority_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getrlimit_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getrlimit(SB)
|
|
+
|
|
+GLOBL ·libc_getrlimit_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getrlimit_trampoline_addr(SB)/4, $libc_getrlimit_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getrtable_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getrtable(SB)
|
|
+
|
|
+GLOBL ·libc_getrtable_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getrtable_trampoline_addr(SB)/4, $libc_getrtable_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getrusage_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getrusage(SB)
|
|
+
|
|
+GLOBL ·libc_getrusage_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getrusage_trampoline_addr(SB)/4, $libc_getrusage_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getsid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getsid(SB)
|
|
+
|
|
+GLOBL ·libc_getsid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getsid_trampoline_addr(SB)/4, $libc_getsid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_gettimeofday_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_gettimeofday(SB)
|
|
+
|
|
+GLOBL ·libc_gettimeofday_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_gettimeofday_trampoline_addr(SB)/4, $libc_gettimeofday_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getuid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getuid(SB)
|
|
+
|
|
+GLOBL ·libc_getuid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_getuid_trampoline_addr(SB)/4, $libc_getuid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_issetugid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_issetugid(SB)
|
|
+
|
|
+GLOBL ·libc_issetugid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_issetugid_trampoline_addr(SB)/4, $libc_issetugid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_kill_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_kill(SB)
|
|
+
|
|
+GLOBL ·libc_kill_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_kill_trampoline_addr(SB)/4, $libc_kill_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_kqueue_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_kqueue(SB)
|
|
+
|
|
+GLOBL ·libc_kqueue_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_kqueue_trampoline_addr(SB)/4, $libc_kqueue_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_lchown_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_lchown(SB)
|
|
+
|
|
+GLOBL ·libc_lchown_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_lchown_trampoline_addr(SB)/4, $libc_lchown_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_link_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_link(SB)
|
|
+
|
|
+GLOBL ·libc_link_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_link_trampoline_addr(SB)/4, $libc_link_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_linkat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_linkat(SB)
|
|
+
|
|
+GLOBL ·libc_linkat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_linkat_trampoline_addr(SB)/4, $libc_linkat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_listen_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_listen(SB)
|
|
+
|
|
+GLOBL ·libc_listen_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_listen_trampoline_addr(SB)/4, $libc_listen_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_lstat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_lstat(SB)
|
|
+
|
|
+GLOBL ·libc_lstat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_lstat_trampoline_addr(SB)/4, $libc_lstat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_mkdir_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mkdir(SB)
|
|
+
|
|
+GLOBL ·libc_mkdir_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_mkdir_trampoline_addr(SB)/4, $libc_mkdir_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_mkdirat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mkdirat(SB)
|
|
+
|
|
+GLOBL ·libc_mkdirat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_mkdirat_trampoline_addr(SB)/4, $libc_mkdirat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_mkfifo_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mkfifo(SB)
|
|
+
|
|
+GLOBL ·libc_mkfifo_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_mkfifo_trampoline_addr(SB)/4, $libc_mkfifo_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_mkfifoat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mkfifoat(SB)
|
|
+
|
|
+GLOBL ·libc_mkfifoat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_mkfifoat_trampoline_addr(SB)/4, $libc_mkfifoat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_mknod_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mknod(SB)
|
|
+
|
|
+GLOBL ·libc_mknod_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_mknod_trampoline_addr(SB)/4, $libc_mknod_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_mknodat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mknodat(SB)
|
|
+
|
|
+GLOBL ·libc_mknodat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_mknodat_trampoline_addr(SB)/4, $libc_mknodat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_nanosleep_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_nanosleep(SB)
|
|
+
|
|
+GLOBL ·libc_nanosleep_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_nanosleep_trampoline_addr(SB)/4, $libc_nanosleep_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_open_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_open(SB)
|
|
+
|
|
+GLOBL ·libc_open_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_open_trampoline_addr(SB)/4, $libc_open_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_openat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_openat(SB)
|
|
+
|
|
+GLOBL ·libc_openat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_openat_trampoline_addr(SB)/4, $libc_openat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_pathconf_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_pathconf(SB)
|
|
+
|
|
+GLOBL ·libc_pathconf_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_pathconf_trampoline_addr(SB)/4, $libc_pathconf_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_pread_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_pread(SB)
|
|
+
|
|
+GLOBL ·libc_pread_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_pread_trampoline_addr(SB)/4, $libc_pread_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_pwrite_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_pwrite(SB)
|
|
+
|
|
+GLOBL ·libc_pwrite_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_pwrite_trampoline_addr(SB)/4, $libc_pwrite_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_read_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_read(SB)
|
|
+
|
|
+GLOBL ·libc_read_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_read_trampoline_addr(SB)/4, $libc_read_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_readlink_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_readlink(SB)
|
|
+
|
|
+GLOBL ·libc_readlink_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_readlink_trampoline_addr(SB)/4, $libc_readlink_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_readlinkat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_readlinkat(SB)
|
|
+
|
|
+GLOBL ·libc_readlinkat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_readlinkat_trampoline_addr(SB)/4, $libc_readlinkat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_rename_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_rename(SB)
|
|
+
|
|
+GLOBL ·libc_rename_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_rename_trampoline_addr(SB)/4, $libc_rename_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_renameat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_renameat(SB)
|
|
+
|
|
+GLOBL ·libc_renameat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_renameat_trampoline_addr(SB)/4, $libc_renameat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_revoke_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_revoke(SB)
|
|
+
|
|
+GLOBL ·libc_revoke_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_revoke_trampoline_addr(SB)/4, $libc_revoke_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_rmdir_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_rmdir(SB)
|
|
+
|
|
+GLOBL ·libc_rmdir_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_rmdir_trampoline_addr(SB)/4, $libc_rmdir_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_lseek_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_lseek(SB)
|
|
+
|
|
+GLOBL ·libc_lseek_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_lseek_trampoline_addr(SB)/4, $libc_lseek_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_select_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_select(SB)
|
|
+
|
|
+GLOBL ·libc_select_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_select_trampoline_addr(SB)/4, $libc_select_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setegid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setegid(SB)
|
|
+
|
|
+GLOBL ·libc_setegid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setegid_trampoline_addr(SB)/4, $libc_setegid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_seteuid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_seteuid(SB)
|
|
+
|
|
+GLOBL ·libc_seteuid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_seteuid_trampoline_addr(SB)/4, $libc_seteuid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setgid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setgid(SB)
|
|
+
|
|
+GLOBL ·libc_setgid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setgid_trampoline_addr(SB)/4, $libc_setgid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setlogin_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setlogin(SB)
|
|
+
|
|
+GLOBL ·libc_setlogin_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setlogin_trampoline_addr(SB)/4, $libc_setlogin_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setpgid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setpgid(SB)
|
|
+
|
|
+GLOBL ·libc_setpgid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setpgid_trampoline_addr(SB)/4, $libc_setpgid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setpriority_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setpriority(SB)
|
|
+
|
|
+GLOBL ·libc_setpriority_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setpriority_trampoline_addr(SB)/4, $libc_setpriority_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setregid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setregid(SB)
|
|
+
|
|
+GLOBL ·libc_setregid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setregid_trampoline_addr(SB)/4, $libc_setregid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setreuid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setreuid(SB)
|
|
+
|
|
+GLOBL ·libc_setreuid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setreuid_trampoline_addr(SB)/4, $libc_setreuid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setresgid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setresgid(SB)
|
|
+
|
|
+GLOBL ·libc_setresgid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setresgid_trampoline_addr(SB)/4, $libc_setresgid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setresuid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setresuid(SB)
|
|
+
|
|
+GLOBL ·libc_setresuid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setresuid_trampoline_addr(SB)/4, $libc_setresuid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setrlimit_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setrlimit(SB)
|
|
+
|
|
+GLOBL ·libc_setrlimit_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setrlimit_trampoline_addr(SB)/4, $libc_setrlimit_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setrtable_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setrtable(SB)
|
|
+
|
|
+GLOBL ·libc_setrtable_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setrtable_trampoline_addr(SB)/4, $libc_setrtable_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setsid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setsid(SB)
|
|
+
|
|
+GLOBL ·libc_setsid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setsid_trampoline_addr(SB)/4, $libc_setsid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_settimeofday_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_settimeofday(SB)
|
|
+
|
|
+GLOBL ·libc_settimeofday_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_settimeofday_trampoline_addr(SB)/4, $libc_settimeofday_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setuid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setuid(SB)
|
|
+
|
|
+GLOBL ·libc_setuid_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_setuid_trampoline_addr(SB)/4, $libc_setuid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_stat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_stat(SB)
|
|
+
|
|
+GLOBL ·libc_stat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_stat_trampoline_addr(SB)/4, $libc_stat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_statfs_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_statfs(SB)
|
|
+
|
|
+GLOBL ·libc_statfs_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_statfs_trampoline_addr(SB)/4, $libc_statfs_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_symlink_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_symlink(SB)
|
|
+
|
|
+GLOBL ·libc_symlink_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_symlink_trampoline_addr(SB)/4, $libc_symlink_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_symlinkat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_symlinkat(SB)
|
|
+
|
|
+GLOBL ·libc_symlinkat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_symlinkat_trampoline_addr(SB)/4, $libc_symlinkat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_sync_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_sync(SB)
|
|
+
|
|
+GLOBL ·libc_sync_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_sync_trampoline_addr(SB)/4, $libc_sync_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_truncate_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_truncate(SB)
|
|
+
|
|
+GLOBL ·libc_truncate_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_truncate_trampoline_addr(SB)/4, $libc_truncate_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_umask_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_umask(SB)
|
|
+
|
|
+GLOBL ·libc_umask_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_umask_trampoline_addr(SB)/4, $libc_umask_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_unlink_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_unlink(SB)
|
|
+
|
|
+GLOBL ·libc_unlink_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_unlink_trampoline_addr(SB)/4, $libc_unlink_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_unlinkat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_unlinkat(SB)
|
|
+
|
|
+GLOBL ·libc_unlinkat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_unlinkat_trampoline_addr(SB)/4, $libc_unlinkat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_unmount_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_unmount(SB)
|
|
+
|
|
+GLOBL ·libc_unmount_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_unmount_trampoline_addr(SB)/4, $libc_unmount_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_write_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_write(SB)
|
|
+
|
|
+GLOBL ·libc_write_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_write_trampoline_addr(SB)/4, $libc_write_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_mmap_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mmap(SB)
|
|
+
|
|
+GLOBL ·libc_mmap_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_mmap_trampoline_addr(SB)/4, $libc_mmap_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_munmap_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_munmap(SB)
|
|
+
|
|
+GLOBL ·libc_munmap_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_munmap_trampoline_addr(SB)/4, $libc_munmap_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_utimensat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_utimensat(SB)
|
|
+
|
|
+GLOBL ·libc_utimensat_trampoline_addr(SB), RODATA, $4
|
|
+DATA ·libc_utimensat_trampoline_addr(SB)/4, $libc_utimensat_trampoline<>(SB)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go
|
|
index aac7fdc..800aab6 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run mksyscall.go -openbsd -tags openbsd,arm64 syscall_bsd.go syscall_openbsd.go syscall_openbsd_arm64.go
|
|
+// go run mksyscall.go -openbsd -libc -tags openbsd,arm64 syscall_bsd.go syscall_openbsd.go syscall_openbsd_arm64.go
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build openbsd && arm64
|
|
@@ -16,7 +16,7 @@ var _ syscall.Errno
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
|
|
- r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
|
|
+ r0, _, e1 := syscall_rawSyscall(libc_getgroups_trampoline_addr, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -24,20 +24,28 @@ func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_getgroups_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getgroups getgroups "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func setgroups(ngid int, gid *_Gid_t) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setgroups_trampoline_addr, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setgroups_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setgroups setgroups "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
|
|
- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
|
|
+ r0, _, e1 := syscall_syscall6(libc_wait4_trampoline_addr, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
|
|
wpid = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -45,10 +53,14 @@ func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err
|
|
return
|
|
}
|
|
|
|
+var libc_wait4_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_wait4 wait4 "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
+ r0, _, e1 := syscall_syscall(libc_accept_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
fd = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -56,30 +68,42 @@ func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_accept_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_accept accept "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
|
|
- _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
|
|
+ _, _, e1 := syscall_syscall(libc_bind_trampoline_addr, uintptr(s), uintptr(addr), uintptr(addrlen))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_bind_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_bind bind "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
|
|
- _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
|
|
+ _, _, e1 := syscall_syscall(libc_connect_trampoline_addr, uintptr(s), uintptr(addr), uintptr(addrlen))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_connect_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_connect connect "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func socket(domain int, typ int, proto int) (fd int, err error) {
|
|
- r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
|
|
+ r0, _, e1 := syscall_rawSyscall(libc_socket_trampoline_addr, uintptr(domain), uintptr(typ), uintptr(proto))
|
|
fd = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -87,66 +111,94 @@ func socket(domain int, typ int, proto int) (fd int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_socket_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_socket socket "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
|
|
- _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_getsockopt_trampoline_addr, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_getsockopt_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getsockopt getsockopt "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
|
|
- _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_setsockopt_trampoline_addr, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setsockopt_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setsockopt setsockopt "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
+ _, _, e1 := syscall_rawSyscall(libc_getpeername_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_getpeername_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getpeername getpeername "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
+ _, _, e1 := syscall_rawSyscall(libc_getsockname_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_getsockname_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getsockname getsockname "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Shutdown(s int, how int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_shutdown_trampoline_addr, uintptr(s), uintptr(how), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_shutdown_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_shutdown shutdown "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
|
|
- _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall6(libc_socketpair_trampoline_addr, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_socketpair_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_socketpair socketpair "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
|
|
@@ -156,7 +208,7 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
|
|
+ r0, _, e1 := syscall_syscall6(libc_recvfrom_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -164,6 +216,10 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl
|
|
return
|
|
}
|
|
|
|
+var libc_recvfrom_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_recvfrom recvfrom "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
|
|
@@ -173,17 +229,21 @@ func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
|
|
+ _, _, e1 := syscall_syscall6(libc_sendto_trampoline_addr, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_sendto_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_sendto sendto "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
|
|
+ r0, _, e1 := syscall_syscall(libc_recvmsg_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -191,10 +251,14 @@ func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_recvmsg_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_recvmsg recvmsg "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
|
|
+ r0, _, e1 := syscall_syscall(libc_sendmsg_trampoline_addr, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -202,10 +266,14 @@ func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_sendmsg_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_sendmsg sendmsg "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
|
|
- r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
|
|
+ r0, _, e1 := syscall_syscall6(libc_kevent_trampoline_addr, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -213,6 +281,10 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
|
|
return
|
|
}
|
|
|
|
+var libc_kevent_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_kevent kevent "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func utimes(path string, timeval *[2]Timeval) (err error) {
|
|
@@ -221,27 +293,35 @@ func utimes(path string, timeval *[2]Timeval) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_utimes_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_utimes_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_utimes utimes "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func futimes(fd int, timeval *[2]Timeval) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_futimes_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_futimes_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_futimes futimes "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
|
|
+ r0, _, e1 := syscall_syscall(libc_poll_trampoline_addr, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -249,6 +329,10 @@ func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_poll_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_poll poll "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Madvise(b []byte, behav int) (err error) {
|
|
@@ -258,13 +342,17 @@ func Madvise(b []byte, behav int) (err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(behav))
|
|
+ _, _, e1 := syscall_syscall(libc_madvise_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(behav))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_madvise_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_madvise madvise "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mlock(b []byte) (err error) {
|
|
@@ -274,23 +362,31 @@ func Mlock(b []byte) (err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_mlock_trampoline_addr, uintptr(_p0), uintptr(len(b)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mlock_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mlock mlock "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mlockall(flags int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_mlockall_trampoline_addr, uintptr(flags), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mlockall_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mlockall mlockall "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mprotect(b []byte, prot int) (err error) {
|
|
@@ -300,13 +396,17 @@ func Mprotect(b []byte, prot int) (err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
|
|
+ _, _, e1 := syscall_syscall(libc_mprotect_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(prot))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mprotect_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mprotect mprotect "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Msync(b []byte, flags int) (err error) {
|
|
@@ -316,13 +416,17 @@ func Msync(b []byte, flags int) (err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags))
|
|
+ _, _, e1 := syscall_syscall(libc_msync_trampoline_addr, uintptr(_p0), uintptr(len(b)), uintptr(flags))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_msync_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_msync msync "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Munlock(b []byte) (err error) {
|
|
@@ -332,33 +436,45 @@ func Munlock(b []byte) (err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_munlock_trampoline_addr, uintptr(_p0), uintptr(len(b)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_munlock_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_munlock munlock "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Munlockall() (err error) {
|
|
- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_munlockall_trampoline_addr, 0, 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_munlockall_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_munlockall munlockall "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func pipe2(p *[2]_C_int, flags int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_pipe2_trampoline_addr, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_pipe2_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_pipe2 pipe2 "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getdents(fd int, buf []byte) (n int, err error) {
|
|
@@ -368,7 +484,7 @@ func Getdents(fd int, buf []byte) (n int, err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
|
|
+ r0, _, e1 := syscall_syscall(libc_getdents_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -376,6 +492,10 @@ func Getdents(fd int, buf []byte) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_getdents_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getdents getdents "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getcwd(buf []byte) (n int, err error) {
|
|
@@ -385,7 +505,7 @@ func Getcwd(buf []byte) (n int, err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall(SYS___GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
|
|
+ r0, _, e1 := syscall_syscall(libc_getcwd_trampoline_addr, uintptr(_p0), uintptr(len(buf)), 0)
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -393,16 +513,24 @@ func Getcwd(buf []byte) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_getcwd_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getcwd getcwd "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func ioctl(fd int, req uint, arg uintptr) (err error) {
|
|
- _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
|
|
+ _, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_ioctl_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
|
@@ -412,17 +540,21 @@ func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr)
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
|
+ _, _, e1 := syscall_syscall6(libc_sysctl_trampoline_addr, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_sysctl_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_sysctl sysctl "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
|
|
- r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
|
|
+ r0, _, e1 := syscall_syscall6(libc_ppoll_trampoline_addr, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -430,6 +562,10 @@ func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int,
|
|
return
|
|
}
|
|
|
|
+var libc_ppoll_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_ppoll ppoll "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Access(path string, mode uint32) (err error) {
|
|
@@ -438,23 +574,31 @@ func Access(path string, mode uint32) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_access_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_access_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_access access "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
|
|
- _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_adjtime_trampoline_addr, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_adjtime_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_adjtime adjtime "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Chdir(path string) (err error) {
|
|
@@ -463,13 +607,17 @@ func Chdir(path string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_chdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_chdir_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_chdir chdir "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Chflags(path string, flags int) (err error) {
|
|
@@ -478,13 +626,17 @@ func Chflags(path string, flags int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_chflags_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_chflags_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_chflags chflags "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Chmod(path string, mode uint32) (err error) {
|
|
@@ -493,13 +645,17 @@ func Chmod(path string, mode uint32) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_chmod_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_chmod_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_chmod chmod "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Chown(path string, uid int, gid int) (err error) {
|
|
@@ -508,13 +664,17 @@ func Chown(path string, uid int, gid int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
|
|
+ _, _, e1 := syscall_syscall(libc_chown_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_chown_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_chown chown "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Chroot(path string) (err error) {
|
|
@@ -523,27 +683,35 @@ func Chroot(path string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_chroot_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_chroot_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_chroot chroot "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Close(fd int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_close_trampoline_addr, uintptr(fd), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_close_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_close close "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Dup(fd int) (nfd int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
|
|
+ r0, _, e1 := syscall_syscall(libc_dup_trampoline_addr, uintptr(fd), 0, 0)
|
|
nfd = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -551,33 +719,49 @@ func Dup(fd int) (nfd int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_dup_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_dup dup "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Dup2(from int, to int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_dup2_trampoline_addr, uintptr(from), uintptr(to), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_dup2_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_dup2 dup2 "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Dup3(from int, to int, flags int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_DUP3, uintptr(from), uintptr(to), uintptr(flags))
|
|
+ _, _, e1 := syscall_syscall(libc_dup3_trampoline_addr, uintptr(from), uintptr(to), uintptr(flags))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_dup3_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_dup3 dup3 "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Exit(code int) {
|
|
- Syscall(SYS_EXIT, uintptr(code), 0, 0)
|
|
+ syscall_syscall(libc_exit_trampoline_addr, uintptr(code), 0, 0)
|
|
return
|
|
}
|
|
|
|
+var libc_exit_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_exit exit "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
|
|
@@ -586,43 +770,59 @@ func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_faccessat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_faccessat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_faccessat faccessat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fchdir(fd int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_fchdir_trampoline_addr, uintptr(fd), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fchdir_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fchdir fchdir "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fchflags(fd int, flags int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_fchflags_trampoline_addr, uintptr(fd), uintptr(flags), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fchflags_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fchflags fchflags "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fchmod(fd int, mode uint32) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_fchmod_trampoline_addr, uintptr(fd), uintptr(mode), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fchmod_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fchmod fchmod "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
|
|
@@ -631,23 +831,31 @@ func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_fchmodat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fchmodat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fchmodat fchmodat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fchown(fd int, uid int, gid int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
|
|
+ _, _, e1 := syscall_syscall(libc_fchown_trampoline_addr, uintptr(fd), uintptr(uid), uintptr(gid))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fchown_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fchown fchown "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
|
|
@@ -656,27 +864,35 @@ func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_fchownat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fchownat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fchownat fchownat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Flock(fd int, how int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_flock_trampoline_addr, uintptr(fd), uintptr(how), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_flock_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_flock flock "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fpathconf(fd int, name int) (val int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
|
|
+ r0, _, e1 := syscall_syscall(libc_fpathconf_trampoline_addr, uintptr(fd), uintptr(name), 0)
|
|
val = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -684,16 +900,24 @@ func Fpathconf(fd int, name int) (val int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_fpathconf_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fpathconf fpathconf "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fstat(fd int, stat *Stat_t) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_fstat_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fstat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fstat fstat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
|
|
@@ -702,71 +926,99 @@ func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_fstatat_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fstatat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fstatat fstatat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fstatfs(fd int, stat *Statfs_t) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_fstatfs_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fstatfs_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fstatfs fstatfs "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Fsync(fd int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_fsync_trampoline_addr, uintptr(fd), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_fsync_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_fsync fsync "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Ftruncate(fd int, length int64) (err error) {
|
|
- _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length))
|
|
+ _, _, e1 := syscall_syscall(libc_ftruncate_trampoline_addr, uintptr(fd), uintptr(length), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_ftruncate_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_ftruncate ftruncate "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getegid() (egid int) {
|
|
- r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
|
|
+ r0, _, _ := syscall_rawSyscall(libc_getegid_trampoline_addr, 0, 0, 0)
|
|
egid = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_getegid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getegid getegid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Geteuid() (uid int) {
|
|
- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
|
|
+ r0, _, _ := syscall_rawSyscall(libc_geteuid_trampoline_addr, 0, 0, 0)
|
|
uid = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_geteuid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_geteuid geteuid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getgid() (gid int) {
|
|
- r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
|
|
+ r0, _, _ := syscall_rawSyscall(libc_getgid_trampoline_addr, 0, 0, 0)
|
|
gid = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_getgid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getgid getgid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getpgid(pid int) (pgid int, err error) {
|
|
- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
|
|
+ r0, _, e1 := syscall_rawSyscall(libc_getpgid_trampoline_addr, uintptr(pid), 0, 0)
|
|
pgid = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -774,34 +1026,50 @@ func Getpgid(pid int) (pgid int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_getpgid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getpgid getpgid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getpgrp() (pgrp int) {
|
|
- r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
|
|
+ r0, _, _ := syscall_rawSyscall(libc_getpgrp_trampoline_addr, 0, 0, 0)
|
|
pgrp = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_getpgrp_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getpgrp getpgrp "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getpid() (pid int) {
|
|
- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
|
|
+ r0, _, _ := syscall_rawSyscall(libc_getpid_trampoline_addr, 0, 0, 0)
|
|
pid = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_getpid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getpid getpid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getppid() (ppid int) {
|
|
- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
|
|
+ r0, _, _ := syscall_rawSyscall(libc_getppid_trampoline_addr, 0, 0, 0)
|
|
ppid = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_getppid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getppid getppid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getpriority(which int, who int) (prio int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
|
|
+ r0, _, e1 := syscall_syscall(libc_getpriority_trampoline_addr, uintptr(which), uintptr(who), 0)
|
|
prio = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -809,20 +1077,28 @@ func Getpriority(which int, who int) (prio int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_getpriority_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getpriority getpriority "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getrlimit(which int, lim *Rlimit) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_getrlimit_trampoline_addr, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_getrlimit_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getrlimit getrlimit "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getrtable() (rtable int, err error) {
|
|
- r0, _, e1 := RawSyscall(SYS_GETRTABLE, 0, 0, 0)
|
|
+ r0, _, e1 := syscall_rawSyscall(libc_getrtable_trampoline_addr, 0, 0, 0)
|
|
rtable = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -830,20 +1106,28 @@ func Getrtable() (rtable int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_getrtable_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getrtable getrtable "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getrusage(who int, rusage *Rusage) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_getrusage_trampoline_addr, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_getrusage_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getrusage getrusage "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getsid(pid int) (sid int, err error) {
|
|
- r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
|
|
+ r0, _, e1 := syscall_rawSyscall(libc_getsid_trampoline_addr, uintptr(pid), 0, 0)
|
|
sid = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -851,46 +1135,66 @@ func Getsid(pid int) (sid int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_getsid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getsid getsid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Gettimeofday(tv *Timeval) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_gettimeofday_trampoline_addr, uintptr(unsafe.Pointer(tv)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_gettimeofday_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_gettimeofday gettimeofday "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Getuid() (uid int) {
|
|
- r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
|
|
+ r0, _, _ := syscall_rawSyscall(libc_getuid_trampoline_addr, 0, 0, 0)
|
|
uid = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_getuid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_getuid getuid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Issetugid() (tainted bool) {
|
|
- r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
|
|
+ r0, _, _ := syscall_syscall(libc_issetugid_trampoline_addr, 0, 0, 0)
|
|
tainted = bool(r0 != 0)
|
|
return
|
|
}
|
|
|
|
+var libc_issetugid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_issetugid issetugid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Kill(pid int, signum syscall.Signal) (err error) {
|
|
- _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_kill_trampoline_addr, uintptr(pid), uintptr(signum), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_kill_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_kill kill "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Kqueue() (fd int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
|
|
+ r0, _, e1 := syscall_syscall(libc_kqueue_trampoline_addr, 0, 0, 0)
|
|
fd = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -898,6 +1202,10 @@ func Kqueue() (fd int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_kqueue_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_kqueue kqueue "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Lchown(path string, uid int, gid int) (err error) {
|
|
@@ -906,13 +1214,17 @@ func Lchown(path string, uid int, gid int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
|
|
+ _, _, e1 := syscall_syscall(libc_lchown_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_lchown_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_lchown lchown "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Link(path string, link string) (err error) {
|
|
@@ -926,13 +1238,17 @@ func Link(path string, link string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_link_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_link_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_link link "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error) {
|
|
@@ -946,23 +1262,31 @@ func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err er
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_linkat_trampoline_addr, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_linkat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_linkat linkat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Listen(s int, backlog int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_listen_trampoline_addr, uintptr(s), uintptr(backlog), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_listen_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_listen listen "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Lstat(path string, stat *Stat_t) (err error) {
|
|
@@ -971,13 +1295,17 @@ func Lstat(path string, stat *Stat_t) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_lstat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_lstat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_lstat lstat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mkdir(path string, mode uint32) (err error) {
|
|
@@ -986,13 +1314,17 @@ func Mkdir(path string, mode uint32) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_mkdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mkdir_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mkdir mkdir "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mkdirat(dirfd int, path string, mode uint32) (err error) {
|
|
@@ -1001,13 +1333,17 @@ func Mkdirat(dirfd int, path string, mode uint32) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
|
|
+ _, _, e1 := syscall_syscall(libc_mkdirat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mkdirat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mkdirat mkdirat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mkfifo(path string, mode uint32) (err error) {
|
|
@@ -1016,13 +1352,17 @@ func Mkfifo(path string, mode uint32) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_mkfifo_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mkfifo_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mkfifo mkfifo "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mkfifoat(dirfd int, path string, mode uint32) (err error) {
|
|
@@ -1031,13 +1371,17 @@ func Mkfifoat(dirfd int, path string, mode uint32) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MKFIFOAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
|
|
+ _, _, e1 := syscall_syscall(libc_mkfifoat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mkfifoat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mkfifoat mkfifoat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mknod(path string, mode uint32, dev int) (err error) {
|
|
@@ -1046,13 +1390,17 @@ func Mknod(path string, mode uint32, dev int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
|
|
+ _, _, e1 := syscall_syscall(libc_mknod_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mknod_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mknod mknod "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
|
|
@@ -1061,23 +1409,31 @@ func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_mknodat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_mknodat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mknodat mknodat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
|
|
- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_nanosleep_trampoline_addr, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_nanosleep_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_nanosleep nanosleep "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Open(path string, mode int, perm uint32) (fd int, err error) {
|
|
@@ -1086,7 +1442,7 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
|
|
+ r0, _, e1 := syscall_syscall(libc_open_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
|
|
fd = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1094,6 +1450,10 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_open_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_open open "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
|
|
@@ -1102,7 +1462,7 @@ func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
|
|
+ r0, _, e1 := syscall_syscall6(libc_openat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
|
|
fd = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1110,6 +1470,10 @@ func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_openat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_openat openat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Pathconf(path string, name int) (val int, err error) {
|
|
@@ -1118,7 +1482,7 @@ func Pathconf(path string, name int) (val int, err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
|
|
+ r0, _, e1 := syscall_syscall(libc_pathconf_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
|
|
val = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1126,16 +1490,20 @@ func Pathconf(path string, name int) (val int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_pathconf_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_pathconf pathconf "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), 0)
|
|
+ r0, _, e1 := syscall_syscall6(libc_pread_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1143,16 +1511,20 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_pread_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_pread pread "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), 0)
|
|
+ r0, _, e1 := syscall_syscall6(libc_pwrite_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1160,6 +1532,10 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_pwrite_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_pwrite pwrite "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func read(fd int, p []byte) (n int, err error) {
|
|
@@ -1169,7 +1545,7 @@ func read(fd int, p []byte) (n int, err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
|
|
+ r0, _, e1 := syscall_syscall(libc_read_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1177,6 +1553,10 @@ func read(fd int, p []byte) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_read_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_read read "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Readlink(path string, buf []byte) (n int, err error) {
|
|
@@ -1191,7 +1571,7 @@ func Readlink(path string, buf []byte) (n int, err error) {
|
|
} else {
|
|
_p1 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
|
|
+ r0, _, e1 := syscall_syscall(libc_readlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1199,6 +1579,10 @@ func Readlink(path string, buf []byte) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_readlink_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_readlink readlink "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
|
|
@@ -1213,7 +1597,7 @@ func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
|
|
} else {
|
|
_p1 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
|
|
+ r0, _, e1 := syscall_syscall6(libc_readlinkat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1221,6 +1605,10 @@ func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_readlinkat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_readlinkat readlinkat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Rename(from string, to string) (err error) {
|
|
@@ -1234,13 +1622,17 @@ func Rename(from string, to string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_rename_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_rename_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_rename rename "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Renameat(fromfd int, from string, tofd int, to string) (err error) {
|
|
@@ -1254,13 +1646,17 @@ func Renameat(fromfd int, from string, tofd int, to string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_renameat_trampoline_addr, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_renameat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_renameat renameat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Revoke(path string) (err error) {
|
|
@@ -1269,13 +1665,17 @@ func Revoke(path string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_revoke_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_revoke_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_revoke revoke "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Rmdir(path string) (err error) {
|
|
@@ -1284,17 +1684,21 @@ func Rmdir(path string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_rmdir_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_rmdir_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_rmdir rmdir "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
|
|
- r0, _, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(whence), 0, 0)
|
|
+ r0, _, e1 := syscall_syscall(libc_lseek_trampoline_addr, uintptr(fd), uintptr(offset), uintptr(whence))
|
|
newoffset = int64(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1302,10 +1706,14 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_lseek_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_lseek lseek "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
|
|
- r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
|
+ r0, _, e1 := syscall_syscall6(libc_select_trampoline_addr, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1313,36 +1721,52 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err
|
|
return
|
|
}
|
|
|
|
+var libc_select_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_select select "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setegid(egid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setegid_trampoline_addr, uintptr(egid), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setegid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setegid setegid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Seteuid(euid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_seteuid_trampoline_addr, uintptr(euid), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_seteuid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_seteuid seteuid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setgid(gid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setgid_trampoline_addr, uintptr(gid), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setgid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setgid setgid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setlogin(name string) (err error) {
|
|
@@ -1351,97 +1775,133 @@ func Setlogin(name string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_setlogin_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setlogin_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setlogin setlogin "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setpgid(pid int, pgid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setpgid_trampoline_addr, uintptr(pid), uintptr(pgid), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setpgid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setpgid setpgid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setpriority(which int, who int, prio int) (err error) {
|
|
- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
|
|
+ _, _, e1 := syscall_syscall(libc_setpriority_trampoline_addr, uintptr(which), uintptr(who), uintptr(prio))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setpriority_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setpriority setpriority "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setregid(rgid int, egid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setregid_trampoline_addr, uintptr(rgid), uintptr(egid), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setregid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setregid setregid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setreuid(ruid int, euid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setreuid_trampoline_addr, uintptr(ruid), uintptr(euid), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setreuid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setreuid setreuid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setresgid(rgid int, egid int, sgid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setresgid_trampoline_addr, uintptr(rgid), uintptr(egid), uintptr(sgid))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setresgid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setresgid setresgid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setresuid(ruid int, euid int, suid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setresuid_trampoline_addr, uintptr(ruid), uintptr(euid), uintptr(suid))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setresuid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setresuid setresuid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setrlimit(which int, lim *Rlimit) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setrlimit_trampoline_addr, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setrlimit_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setrlimit setrlimit "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setrtable(rtable int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETRTABLE, uintptr(rtable), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setrtable_trampoline_addr, uintptr(rtable), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setrtable_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setrtable setrtable "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setsid() (pid int, err error) {
|
|
- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
|
|
+ r0, _, e1 := syscall_rawSyscall(libc_setsid_trampoline_addr, 0, 0, 0)
|
|
pid = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1449,26 +1909,38 @@ func Setsid() (pid int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_setsid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setsid setsid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Settimeofday(tp *Timeval) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_settimeofday_trampoline_addr, uintptr(unsafe.Pointer(tp)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_settimeofday_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_settimeofday settimeofday "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Setuid(uid int) (err error) {
|
|
- _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
|
|
+ _, _, e1 := syscall_rawSyscall(libc_setuid_trampoline_addr, uintptr(uid), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_setuid_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_setuid setuid "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Stat(path string, stat *Stat_t) (err error) {
|
|
@@ -1477,13 +1949,17 @@ func Stat(path string, stat *Stat_t) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_stat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_stat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_stat stat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Statfs(path string, stat *Statfs_t) (err error) {
|
|
@@ -1492,13 +1968,17 @@ func Statfs(path string, stat *Statfs_t) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_statfs_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_statfs_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_statfs statfs "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Symlink(path string, link string) (err error) {
|
|
@@ -1512,13 +1992,17 @@ func Symlink(path string, link string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_symlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_symlink_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_symlink symlink "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
|
|
@@ -1532,23 +2016,31 @@ func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
|
|
+ _, _, e1 := syscall_syscall(libc_symlinkat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_symlinkat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_symlinkat symlinkat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Sync() (err error) {
|
|
- _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_sync_trampoline_addr, 0, 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_sync_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_sync sync "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Truncate(path string, length int64) (err error) {
|
|
@@ -1557,21 +2049,29 @@ func Truncate(path string, length int64) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length))
|
|
+ _, _, e1 := syscall_syscall(libc_truncate_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_truncate_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_truncate truncate "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Umask(newmask int) (oldmask int) {
|
|
- r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
|
|
+ r0, _, _ := syscall_syscall(libc_umask_trampoline_addr, uintptr(newmask), 0, 0)
|
|
oldmask = int(r0)
|
|
return
|
|
}
|
|
|
|
+var libc_umask_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_umask umask "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Unlink(path string) (err error) {
|
|
@@ -1580,13 +2080,17 @@ func Unlink(path string) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
+ _, _, e1 := syscall_syscall(libc_unlink_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_unlink_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_unlink unlink "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Unlinkat(dirfd int, path string, flags int) (err error) {
|
|
@@ -1595,13 +2099,17 @@ func Unlinkat(dirfd int, path string, flags int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
|
|
+ _, _, e1 := syscall_syscall(libc_unlinkat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_unlinkat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_unlinkat unlinkat "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func Unmount(path string, flags int) (err error) {
|
|
@@ -1610,13 +2118,17 @@ func Unmount(path string, flags int) (err error) {
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_unmount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_unmount_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_unmount unmount "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func write(fd int, p []byte) (n int, err error) {
|
|
@@ -1626,7 +2138,7 @@ func write(fd int, p []byte) (n int, err error) {
|
|
} else {
|
|
_p0 = unsafe.Pointer(&_zero)
|
|
}
|
|
- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
|
|
+ r0, _, e1 := syscall_syscall(libc_write_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(p)))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1634,10 +2146,14 @@ func write(fd int, p []byte) (n int, err error) {
|
|
return
|
|
}
|
|
|
|
+var libc_write_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_write write "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
|
|
- r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), 0, 0)
|
|
+ r0, _, e1 := syscall_syscall6(libc_mmap_trampoline_addr, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos))
|
|
ret = uintptr(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1645,20 +2161,28 @@ func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (
|
|
return
|
|
}
|
|
|
|
+var libc_mmap_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_mmap mmap "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func munmap(addr uintptr, length uintptr) (err error) {
|
|
- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
|
|
+ _, _, e1 := syscall_syscall(libc_munmap_trampoline_addr, uintptr(addr), uintptr(length), 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
+var libc_munmap_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_munmap munmap "libc.so"
|
|
+
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
+ r0, _, e1 := syscall_syscall(libc_read_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1669,7 +2193,7 @@ func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|
- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
+ r0, _, e1 := syscall_syscall(libc_write_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
@@ -1685,9 +2209,13 @@ func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error
|
|
if err != nil {
|
|
return
|
|
}
|
|
- _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
|
|
+ _, _, e1 := syscall_syscall6(libc_utimensat_trampoline_addr, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
+
|
|
+var libc_utimensat_trampoline_addr uintptr
|
|
+
|
|
+//go:cgo_import_dynamic libc_utimensat utimensat "libc.so"
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s
|
|
new file mode 100644
|
|
index 0000000..4efeff9
|
|
--- /dev/null
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s
|
|
@@ -0,0 +1,796 @@
|
|
+// go run mkasm.go openbsd arm64
|
|
+// Code generated by the command above; DO NOT EDIT.
|
|
+
|
|
+#include "textflag.h"
|
|
+
|
|
+TEXT libc_getgroups_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getgroups(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_munlockall_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_munlockall_trampoline_addr(SB)/8, $libc_munlockall_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_pipe2_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_pipe2(SB)
|
|
+
|
|
+GLOBL ·libc_pipe2_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_pipe2_trampoline_addr(SB)/8, $libc_pipe2_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getdents_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getdents(SB)
|
|
+
|
|
+GLOBL ·libc_getdents_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_getdents_trampoline_addr(SB)/8, $libc_getdents_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getcwd_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getcwd(SB)
|
|
+
|
|
+GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_getcwd_trampoline_addr(SB)/8, $libc_getcwd_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_ioctl(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_sysctl_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_sysctl_trampoline_addr(SB)/8, $libc_sysctl_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_ppoll_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_ppoll(SB)
|
|
+
|
|
+GLOBL ·libc_ppoll_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_ppoll_trampoline_addr(SB)/8, $libc_ppoll_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_access_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_access(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_chroot_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_chroot_trampoline_addr(SB)/8, $libc_chroot_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_close_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_close(SB)
|
|
+
|
|
+GLOBL ·libc_close_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_close_trampoline_addr(SB)/8, $libc_close_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_dup_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_dup(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_dup2_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_dup2_trampoline_addr(SB)/8, $libc_dup2_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_dup3_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_dup3(SB)
|
|
+
|
|
+GLOBL ·libc_dup3_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_dup3_trampoline_addr(SB)/8, $libc_dup3_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_exit_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_exit(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_fchownat_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_fchownat_trampoline_addr(SB)/8, $libc_fchownat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_flock_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_flock(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_fpathconf_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_fpathconf_trampoline_addr(SB)/8, $libc_fpathconf_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_fstat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_fstat(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_fstatfs_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_fstatfs_trampoline_addr(SB)/8, $libc_fstatfs_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_fsync_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_fsync(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_ftruncate_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_ftruncate_trampoline_addr(SB)/8, $libc_ftruncate_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getegid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getegid(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_getrlimit_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_getrlimit_trampoline_addr(SB)/8, $libc_getrlimit_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getrtable_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getrtable(SB)
|
|
+
|
|
+GLOBL ·libc_getrtable_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_getrtable_trampoline_addr(SB)/8, $libc_getrtable_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_getrusage_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_getrusage(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_issetugid_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_issetugid_trampoline_addr(SB)/8, $libc_issetugid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_kill_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_kill(SB)
|
|
+
|
|
+GLOBL ·libc_kill_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_kill_trampoline_addr(SB)/8, $libc_kill_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_kqueue_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_kqueue(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_listen_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_listen_trampoline_addr(SB)/8, $libc_listen_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_lstat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_lstat(SB)
|
|
+
|
|
+GLOBL ·libc_lstat_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_lstat_trampoline_addr(SB)/8, $libc_lstat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_mkdir_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mkdir(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_mkfifo_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_mkfifo_trampoline_addr(SB)/8, $libc_mkfifo_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_mkfifoat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mkfifoat(SB)
|
|
+
|
|
+GLOBL ·libc_mkfifoat_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_mkfifoat_trampoline_addr(SB)/8, $libc_mkfifoat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_mknod_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mknod(SB)
|
|
+
|
|
+GLOBL ·libc_mknod_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_mknod_trampoline_addr(SB)/8, $libc_mknod_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_mknodat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_mknodat(SB)
|
|
+
|
|
+GLOBL ·libc_mknodat_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_mknodat_trampoline_addr(SB)/8, $libc_mknodat_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_nanosleep_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_nanosleep(SB)
|
|
+
|
|
+GLOBL ·libc_nanosleep_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_nanosleep_trampoline_addr(SB)/8, $libc_nanosleep_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_open_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_open(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_setpriority_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_setpriority_trampoline_addr(SB)/8, $libc_setpriority_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setregid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setregid(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_setreuid_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_setreuid_trampoline_addr(SB)/8, $libc_setreuid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setresgid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setresgid(SB)
|
|
+
|
|
+GLOBL ·libc_setresgid_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_setresgid_trampoline_addr(SB)/8, $libc_setresgid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setresuid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setresuid(SB)
|
|
+
|
|
+GLOBL ·libc_setresuid_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_setresuid_trampoline_addr(SB)/8, $libc_setresuid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setrlimit_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setrlimit(SB)
|
|
+
|
|
+GLOBL ·libc_setrlimit_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_setrlimit_trampoline_addr(SB)/8, $libc_setrlimit_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setrtable_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setrtable(SB)
|
|
+
|
|
+GLOBL ·libc_setrtable_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_setrtable_trampoline_addr(SB)/8, $libc_setrtable_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_setsid_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_setsid(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_setuid_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_setuid_trampoline_addr(SB)/8, $libc_setuid_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_stat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_stat(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_statfs_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_statfs_trampoline_addr(SB)/8, $libc_statfs_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_symlink_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_symlink(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_umask_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_umask_trampoline_addr(SB)/8, $libc_umask_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_unlink_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_unlink(SB)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+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)
|
|
+
|
|
+GLOBL ·libc_munmap_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_munmap_trampoline_addr(SB)/8, $libc_munmap_trampoline<>(SB)
|
|
+
|
|
+TEXT libc_utimensat_trampoline<>(SB),NOSPLIT,$0-0
|
|
+ JMP libc_utimensat(SB)
|
|
+
|
|
+GLOBL ·libc_utimensat_trampoline_addr(SB), RODATA, $8
|
|
+DATA ·libc_utimensat_trampoline_addr(SB)/8, $libc_utimensat_trampoline<>(SB)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go
|
|
index 8776187..016d959 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go
|
|
@@ -1128,7 +1128,7 @@ func Pathconf(path string, name int) (val int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
@@ -1145,7 +1145,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 unsafe.Pointer
|
|
if len(p) > 0 {
|
|
_p0 = unsafe.Pointer(&p[0])
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go
|
|
index b5f926c..fdf53f8 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go
|
|
@@ -66,6 +66,7 @@ import (
|
|
//go:cgo_import_dynamic libc_getpriority getpriority "libc.so"
|
|
//go:cgo_import_dynamic libc_getrlimit getrlimit "libc.so"
|
|
//go:cgo_import_dynamic libc_getrusage getrusage "libc.so"
|
|
+//go:cgo_import_dynamic libc_getsid getsid "libc.so"
|
|
//go:cgo_import_dynamic libc_gettimeofday gettimeofday "libc.so"
|
|
//go:cgo_import_dynamic libc_getuid getuid "libc.so"
|
|
//go:cgo_import_dynamic libc_kill kill "libc.so"
|
|
@@ -202,6 +203,7 @@ import (
|
|
//go:linkname procGetpriority libc_getpriority
|
|
//go:linkname procGetrlimit libc_getrlimit
|
|
//go:linkname procGetrusage libc_getrusage
|
|
+//go:linkname procGetsid libc_getsid
|
|
//go:linkname procGettimeofday libc_gettimeofday
|
|
//go:linkname procGetuid libc_getuid
|
|
//go:linkname procKill libc_kill
|
|
@@ -227,8 +229,8 @@ import (
|
|
//go:linkname procOpenat libc_openat
|
|
//go:linkname procPathconf libc_pathconf
|
|
//go:linkname procPause libc_pause
|
|
-//go:linkname procPread libc_pread
|
|
-//go:linkname procPwrite libc_pwrite
|
|
+//go:linkname procpread libc_pread
|
|
+//go:linkname procpwrite libc_pwrite
|
|
//go:linkname procread libc_read
|
|
//go:linkname procReadlink libc_readlink
|
|
//go:linkname procRename libc_rename
|
|
@@ -339,6 +341,7 @@ var (
|
|
procGetpriority,
|
|
procGetrlimit,
|
|
procGetrusage,
|
|
+ procGetsid,
|
|
procGettimeofday,
|
|
procGetuid,
|
|
procKill,
|
|
@@ -364,8 +367,8 @@ var (
|
|
procOpenat,
|
|
procPathconf,
|
|
procPause,
|
|
- procPread,
|
|
- procPwrite,
|
|
+ procpread,
|
|
+ procpwrite,
|
|
procread,
|
|
procReadlink,
|
|
procRename,
|
|
@@ -1044,6 +1047,17 @@ func Getrusage(who int, rusage *Rusage) (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
+func Getsid(pid int) (sid int, err error) {
|
|
+ r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetsid)), 1, uintptr(pid), 0, 0, 0, 0, 0)
|
|
+ sid = int(r0)
|
|
+ if e1 != 0 {
|
|
+ err = e1
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
+
|
|
func Gettimeofday(tv *Timeval) (err error) {
|
|
_, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGettimeofday)), 1, uintptr(unsafe.Pointer(tv)), 0, 0, 0, 0, 0)
|
|
if e1 != 0 {
|
|
@@ -1380,12 +1394,12 @@ func Pause() (err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 *byte
|
|
if len(p) > 0 {
|
|
_p0 = &p[0]
|
|
}
|
|
- r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procPread)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), uintptr(offset), 0, 0)
|
|
+ r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procpread)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), uintptr(offset), 0, 0)
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = e1
|
|
@@ -1395,12 +1409,12 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
+func pwrite(fd int, p []byte, offset int64) (n int, err error) {
|
|
var _p0 *byte
|
|
if len(p) > 0 {
|
|
_p0 = &p[0]
|
|
}
|
|
- r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procPwrite)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), uintptr(offset), 0, 0)
|
|
+ r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procpwrite)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), uintptr(offset), 0, 0)
|
|
n = int(r0)
|
|
if e1 != 0 {
|
|
err = e1
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go
|
|
index 59d5dfc..4e0d961 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run mksysnum.go https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master
|
|
+// go run mksysnum.go https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build 386 && freebsd
|
|
@@ -19,10 +19,9 @@ const (
|
|
SYS_UNLINK = 10 // { int unlink(char *path); }
|
|
SYS_CHDIR = 12 // { int chdir(char *path); }
|
|
SYS_FCHDIR = 13 // { int fchdir(int fd); }
|
|
- SYS_MKNOD = 14 // { int mknod(char *path, int mode, int dev); }
|
|
SYS_CHMOD = 15 // { int chmod(char *path, int mode); }
|
|
SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); }
|
|
- SYS_OBREAK = 17 // { int obreak(char *nsize); } break obreak_args int
|
|
+ SYS_BREAK = 17 // { caddr_t break(char *nsize); }
|
|
SYS_GETPID = 20 // { pid_t getpid(void); }
|
|
SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, caddr_t data); }
|
|
SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); }
|
|
@@ -43,7 +42,6 @@ const (
|
|
SYS_KILL = 37 // { int kill(int pid, int signum); }
|
|
SYS_GETPPID = 39 // { pid_t getppid(void); }
|
|
SYS_DUP = 41 // { int dup(u_int fd); }
|
|
- SYS_PIPE = 42 // { int pipe(void); }
|
|
SYS_GETEGID = 43 // { gid_t getegid(void); }
|
|
SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, size_t offset, u_int scale); }
|
|
SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, int pid); }
|
|
@@ -58,15 +56,14 @@ const (
|
|
SYS_SYMLINK = 57 // { int symlink(char *path, char *link); }
|
|
SYS_READLINK = 58 // { ssize_t readlink(char *path, char *buf, size_t count); }
|
|
SYS_EXECVE = 59 // { int execve(char *fname, char **argv, char **envv); }
|
|
- SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args int
|
|
+ SYS_UMASK = 60 // { int umask(int newmask); }
|
|
SYS_CHROOT = 61 // { int chroot(char *path); }
|
|
SYS_MSYNC = 65 // { int msync(void *addr, size_t len, int flags); }
|
|
SYS_VFORK = 66 // { int vfork(void); }
|
|
SYS_SBRK = 69 // { int sbrk(int incr); }
|
|
SYS_SSTK = 70 // { int sstk(int incr); }
|
|
- SYS_OVADVISE = 72 // { int ovadvise(int anom); } vadvise ovadvise_args int
|
|
SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); }
|
|
- SYS_MPROTECT = 74 // { int mprotect(const void *addr, size_t len, int prot); }
|
|
+ SYS_MPROTECT = 74 // { int mprotect(void *addr, size_t len, int prot); }
|
|
SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, int behav); }
|
|
SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, char *vec); }
|
|
SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, gid_t *gidset); }
|
|
@@ -124,14 +121,10 @@ const (
|
|
SYS_SETGID = 181 // { int setgid(gid_t gid); }
|
|
SYS_SETEGID = 182 // { int setegid(gid_t egid); }
|
|
SYS_SETEUID = 183 // { int seteuid(uid_t euid); }
|
|
- SYS_STAT = 188 // { int stat(char *path, struct stat *ub); }
|
|
- SYS_FSTAT = 189 // { int fstat(int fd, struct stat *sb); }
|
|
- SYS_LSTAT = 190 // { int lstat(char *path, struct stat *ub); }
|
|
SYS_PATHCONF = 191 // { int pathconf(char *path, int name); }
|
|
SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); }
|
|
SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, struct rlimit *rlp); } getrlimit __getrlimit_args int
|
|
SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int
|
|
- SYS_GETDIRENTRIES = 196 // { int getdirentries(int fd, char *buf, u_int count, long *basep); }
|
|
SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } __sysctl sysctl_args int
|
|
SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); }
|
|
SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); }
|
|
@@ -143,12 +136,12 @@ const (
|
|
SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, size_t nsops); }
|
|
SYS_MSGGET = 225 // { int msgget(key_t key, int msgflg); }
|
|
SYS_MSGSND = 226 // { int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); }
|
|
- SYS_MSGRCV = 227 // { int msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
|
|
+ SYS_MSGRCV = 227 // { ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
|
|
SYS_SHMAT = 228 // { int shmat(int shmid, const void *shmaddr, int shmflg); }
|
|
SYS_SHMDT = 230 // { int shmdt(const void *shmaddr); }
|
|
SYS_SHMGET = 231 // { int shmget(key_t key, size_t size, int shmflg); }
|
|
SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, struct timespec *tp); }
|
|
- SYS_CLOCK_SETTIME = 233 // { int clock_settime( clockid_t clock_id, const struct timespec *tp); }
|
|
+ SYS_CLOCK_SETTIME = 233 // { int clock_settime(clockid_t clock_id, const struct timespec *tp); }
|
|
SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, struct timespec *tp); }
|
|
SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, struct sigevent *evp, int *timerid); }
|
|
SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); }
|
|
@@ -157,50 +150,44 @@ const (
|
|
SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); }
|
|
SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); }
|
|
SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); }
|
|
- SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate( struct ffclock_estimate *cest); }
|
|
- SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate( struct ffclock_estimate *cest); }
|
|
+ SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate(struct ffclock_estimate *cest); }
|
|
+ SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate(struct ffclock_estimate *cest); }
|
|
SYS_CLOCK_NANOSLEEP = 244 // { int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp); }
|
|
- SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id,int which, clockid_t *clock_id); }
|
|
+ SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id, int which, clockid_t *clock_id); }
|
|
SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); }
|
|
SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, int inherit); }
|
|
SYS_RFORK = 251 // { int rfork(int flags); }
|
|
- SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, u_int nfds, int timeout); }
|
|
SYS_ISSETUGID = 253 // { int issetugid(void); }
|
|
SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); }
|
|
SYS_AIO_READ = 255 // { int aio_read(struct aiocb *aiocbp); }
|
|
SYS_AIO_WRITE = 256 // { int aio_write(struct aiocb *aiocbp); }
|
|
- SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb * const *acb_list, int nent, struct sigevent *sig); }
|
|
- SYS_GETDENTS = 272 // { int getdents(int fd, char *buf, size_t count); }
|
|
+ SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb* const *acb_list, int nent, struct sigevent *sig); }
|
|
SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); }
|
|
SYS_LUTIMES = 276 // { int lutimes(char *path, struct timeval *tptr); }
|
|
- SYS_NSTAT = 278 // { int nstat(char *path, struct nstat *ub); }
|
|
- SYS_NFSTAT = 279 // { int nfstat(int fd, struct nstat *sb); }
|
|
- SYS_NLSTAT = 280 // { int nlstat(char *path, struct nstat *ub); }
|
|
SYS_PREADV = 289 // { ssize_t preadv(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); }
|
|
SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); }
|
|
SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); }
|
|
- SYS_FHSTAT = 299 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); }
|
|
SYS_MODNEXT = 300 // { int modnext(int modid); }
|
|
- SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat *stat); }
|
|
+ SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat* stat); }
|
|
SYS_MODFNEXT = 302 // { int modfnext(int modid); }
|
|
SYS_MODFIND = 303 // { int modfind(const char *name); }
|
|
SYS_KLDLOAD = 304 // { int kldload(const char *file); }
|
|
SYS_KLDUNLOAD = 305 // { int kldunload(int fileid); }
|
|
SYS_KLDFIND = 306 // { int kldfind(const char *file); }
|
|
SYS_KLDNEXT = 307 // { int kldnext(int fileid); }
|
|
- SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct kld_file_stat* stat); }
|
|
+ SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct kld_file_stat *stat); }
|
|
SYS_KLDFIRSTMOD = 309 // { int kldfirstmod(int fileid); }
|
|
SYS_GETSID = 310 // { int getsid(pid_t pid); }
|
|
SYS_SETRESUID = 311 // { int setresuid(uid_t ruid, uid_t euid, uid_t suid); }
|
|
SYS_SETRESGID = 312 // { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
|
|
SYS_AIO_RETURN = 314 // { ssize_t aio_return(struct aiocb *aiocbp); }
|
|
- SYS_AIO_SUSPEND = 315 // { int aio_suspend( struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); }
|
|
+ SYS_AIO_SUSPEND = 315 // { int aio_suspend(struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); }
|
|
SYS_AIO_CANCEL = 316 // { int aio_cancel(int fd, struct aiocb *aiocbp); }
|
|
SYS_AIO_ERROR = 317 // { int aio_error(struct aiocb *aiocbp); }
|
|
SYS_YIELD = 321 // { int yield(void); }
|
|
SYS_MLOCKALL = 324 // { int mlockall(int how); }
|
|
SYS_MUNLOCKALL = 325 // { int munlockall(void); }
|
|
- SYS___GETCWD = 326 // { int __getcwd(char *buf, u_int buflen); }
|
|
+ SYS___GETCWD = 326 // { int __getcwd(char *buf, size_t buflen); }
|
|
SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, const struct sched_param *param); }
|
|
SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct sched_param *param); }
|
|
SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); }
|
|
@@ -226,14 +213,13 @@ const (
|
|
SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, acl_type_t type, struct acl *aclp); }
|
|
SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, struct acl *aclp); }
|
|
SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); }
|
|
- SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
- SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, int attrnamespace, const char *attrname); }
|
|
- SYS_AIO_WAITCOMPLETE = 359 // { ssize_t aio_waitcomplete( struct aiocb **aiocbp, struct timespec *timeout); }
|
|
+ SYS_AIO_WAITCOMPLETE = 359 // { ssize_t aio_waitcomplete(struct aiocb **aiocbp, struct timespec *timeout); }
|
|
SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); }
|
|
SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
|
|
SYS_KQUEUE = 362 // { int kqueue(void); }
|
|
- SYS_KEVENT = 363 // { int kevent(int fd, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); }
|
|
SYS_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, int attrnamespace, const char *attrname); }
|
|
@@ -251,10 +237,6 @@ const (
|
|
SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, int count); }
|
|
SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, struct sf_hdtr *hdtr, off_t *sbytes, int flags); }
|
|
SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, int call, void *arg); }
|
|
- SYS_GETFSSTAT = 395 // { int getfsstat(struct statfs *buf, long bufsize, int mode); }
|
|
- SYS_STATFS = 396 // { int statfs(char *path, struct statfs *buf); }
|
|
- SYS_FSTATFS = 397 // { int fstatfs(int fd, struct statfs *buf); }
|
|
- SYS_FHSTATFS = 398 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); }
|
|
SYS_KSEM_CLOSE = 400 // { int ksem_close(semid_t id); }
|
|
SYS_KSEM_POST = 401 // { int ksem_post(semid_t id); }
|
|
SYS_KSEM_WAIT = 402 // { int ksem_wait(semid_t id); }
|
|
@@ -267,14 +249,14 @@ const (
|
|
SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, struct mac *mac_p); }
|
|
SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, struct mac *mac_p); }
|
|
SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, struct mac *mac_p); }
|
|
- SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
- SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
- SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link( const char *path, int attrnamespace, const char *attrname); }
|
|
+ SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link(const char *path, int attrnamespace, const char *attrname); }
|
|
SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, char **envv, struct mac *mac_p); }
|
|
SYS_SIGACTION = 416 // { int sigaction(int sig, const struct sigaction *act, struct sigaction *oact); }
|
|
- SYS_SIGRETURN = 417 // { int sigreturn( const struct __ucontext *sigcntxp); }
|
|
+ SYS_SIGRETURN = 417 // { int sigreturn(const struct __ucontext *sigcntxp); }
|
|
SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); }
|
|
- SYS_SETCONTEXT = 422 // { int setcontext( const struct __ucontext *ucp); }
|
|
+ SYS_SETCONTEXT = 422 // { int setcontext(const struct __ucontext *ucp); }
|
|
SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, const struct __ucontext *ucp); }
|
|
SYS_SWAPOFF = 424 // { int swapoff(const char *name); }
|
|
SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, acl_type_t type, struct acl *aclp); }
|
|
@@ -288,10 +270,10 @@ const (
|
|
SYS_THR_KILL = 433 // { int thr_kill(long id, int sig); }
|
|
SYS_JAIL_ATTACH = 436 // { int jail_attach(int jid); }
|
|
SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); }
|
|
- SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file( const char *path, int attrnamespace, void *data, size_t nbytes); }
|
|
- SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link( const char *path, int attrnamespace, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file(const char *path, int attrnamespace, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link(const char *path, int attrnamespace, void *data, size_t nbytes); }
|
|
SYS_KSEM_TIMEDWAIT = 441 // { int ksem_timedwait(semid_t id, const struct timespec *abstime); }
|
|
- SYS_THR_SUSPEND = 442 // { int thr_suspend( const struct timespec *timeout); }
|
|
+ SYS_THR_SUSPEND = 442 // { int thr_suspend(const struct timespec *timeout); }
|
|
SYS_THR_WAKE = 443 // { int thr_wake(long id); }
|
|
SYS_KLDUNLOADF = 444 // { int kldunloadf(int fileid, int flags); }
|
|
SYS_AUDIT = 445 // { int audit(const void *record, u_int length); }
|
|
@@ -300,17 +282,17 @@ const (
|
|
SYS_SETAUID = 448 // { int setauid(uid_t *auid); }
|
|
SYS_GETAUDIT = 449 // { int getaudit(struct auditinfo *auditinfo); }
|
|
SYS_SETAUDIT = 450 // { int setaudit(struct auditinfo *auditinfo); }
|
|
- SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); }
|
|
- SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); }
|
|
+ SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); }
|
|
+ SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); }
|
|
SYS_AUDITCTL = 453 // { int auditctl(char *path); }
|
|
SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, u_long val, void *uaddr1, void *uaddr2); }
|
|
SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, int param_size); }
|
|
SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); }
|
|
SYS_KMQ_OPEN = 457 // { int kmq_open(const char *path, int flags, mode_t mode, const struct mq_attr *attr); }
|
|
- SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); }
|
|
- SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); }
|
|
- SYS_KMQ_TIMEDSEND = 460 // { int kmq_timedsend(int mqd, const char *msg_ptr, size_t msg_len,unsigned msg_prio, const struct timespec *abs_timeout);}
|
|
- SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); }
|
|
+ SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); }
|
|
+ SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); }
|
|
+ SYS_KMQ_TIMEDSEND = 460 // { int kmq_timedsend(int mqd, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abs_timeout); }
|
|
+ SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); }
|
|
SYS_KMQ_UNLINK = 462 // { int kmq_unlink(const char *path); }
|
|
SYS_ABORT2 = 463 // { int abort2(const char *why, int nargs, void **args); }
|
|
SYS_THR_SET_NAME = 464 // { int thr_set_name(long id, const char *name); }
|
|
@@ -319,7 +301,7 @@ const (
|
|
SYS_SCTP_PEELOFF = 471 // { int sctp_peeloff(int sd, uint32_t name); }
|
|
SYS_SCTP_GENERIC_SENDMSG = 472 // { int sctp_generic_sendmsg(int sd, caddr_t msg, int mlen, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); }
|
|
SYS_SCTP_GENERIC_SENDMSG_IOV = 473 // { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); }
|
|
- SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, struct sockaddr * from, __socklen_t *fromlenaddr, struct sctp_sndrcvinfo *sinfo, int *msg_flags); }
|
|
+ SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, struct sockaddr *from, __socklen_t *fromlenaddr, struct sctp_sndrcvinfo *sinfo, int *msg_flags); }
|
|
SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, size_t nbyte, off_t offset); }
|
|
SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, size_t nbyte, off_t offset); }
|
|
SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos); }
|
|
@@ -338,14 +320,12 @@ const (
|
|
SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, int flag); }
|
|
SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, gid_t gid, int flag); }
|
|
SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, char **envv); }
|
|
- SYS_FSTATAT = 493 // { int fstatat(int fd, char *path, struct stat *buf, int flag); }
|
|
SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, struct timeval *times); }
|
|
SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, char *path2, int flag); }
|
|
SYS_MKDIRAT = 496 // { int mkdirat(int fd, char *path, mode_t mode); }
|
|
SYS_MKFIFOAT = 497 // { int mkfifoat(int fd, char *path, mode_t mode); }
|
|
- SYS_MKNODAT = 498 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); }
|
|
SYS_OPENAT = 499 // { int openat(int fd, char *path, int flag, mode_t mode); }
|
|
- SYS_READLINKAT = 500 // { int readlinkat(int fd, char *path, char *buf, size_t bufsize); }
|
|
+ SYS_READLINKAT = 500 // { ssize_t readlinkat(int fd, char *path, char *buf, size_t bufsize); }
|
|
SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, char *new); }
|
|
SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, char *path2); }
|
|
SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); }
|
|
@@ -391,7 +371,24 @@ const (
|
|
SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *set); }
|
|
SYS_FUTIMENS = 546 // { int futimens(int fd, struct timespec *times); }
|
|
SYS_UTIMENSAT = 547 // { int utimensat(int fd, char *path, struct timespec *times, int flag); }
|
|
- SYS_NUMA_GETAFFINITY = 548 // { int numa_getaffinity(cpuwhich_t which, id_t id, struct vm_domain_policy_entry *policy); }
|
|
- SYS_NUMA_SETAFFINITY = 549 // { int numa_setaffinity(cpuwhich_t which, id_t id, const struct vm_domain_policy_entry *policy); }
|
|
SYS_FDATASYNC = 550 // { int fdatasync(int fd); }
|
|
+ SYS_FSTAT = 551 // { int fstat(int fd, struct stat *sb); }
|
|
+ SYS_FSTATAT = 552 // { int fstatat(int fd, char *path, struct stat *buf, int flag); }
|
|
+ SYS_FHSTAT = 553 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); }
|
|
+ SYS_GETDIRENTRIES = 554 // { ssize_t getdirentries(int fd, char *buf, size_t count, off_t *basep); }
|
|
+ SYS_STATFS = 555 // { int statfs(char *path, struct statfs *buf); }
|
|
+ SYS_FSTATFS = 556 // { int fstatfs(int fd, struct statfs *buf); }
|
|
+ SYS_GETFSSTAT = 557 // { int getfsstat(struct statfs *buf, long bufsize, int mode); }
|
|
+ SYS_FHSTATFS = 558 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); }
|
|
+ SYS_MKNODAT = 559 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); }
|
|
+ SYS_KEVENT = 560 // { int kevent(int fd, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); }
|
|
+ SYS_CPUSET_GETDOMAIN = 561 // { int cpuset_getdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int *policy); }
|
|
+ SYS_CPUSET_SETDOMAIN = 562 // { int cpuset_setdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int policy); }
|
|
+ SYS_GETRANDOM = 563 // { int getrandom(void *buf, size_t buflen, unsigned int flags); }
|
|
+ SYS_GETFHAT = 564 // { int getfhat(int fd, char *path, struct fhandle *fhp, int flags); }
|
|
+ SYS_FHLINK = 565 // { int fhlink(struct fhandle *fhp, const char *to); }
|
|
+ SYS_FHLINKAT = 566 // { int fhlinkat(struct fhandle *fhp, int tofd, const char *to,); }
|
|
+ SYS_FHREADLINK = 567 // { int fhreadlink(struct fhandle *fhp, char *buf, size_t bufsize); }
|
|
+ SYS___SYSCTLBYNAME = 570 // { int __sysctlbyname(const char *name, size_t namelen, void *old, size_t *oldlenp, void *new, size_t newlen); }
|
|
+ SYS_CLOSE_RANGE = 575 // { int close_range(u_int lowfd, u_int highfd, int flags); }
|
|
)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go
|
|
index 342d471..01636b8 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run mksysnum.go https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master
|
|
+// go run mksysnum.go https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build amd64 && freebsd
|
|
@@ -19,10 +19,9 @@ const (
|
|
SYS_UNLINK = 10 // { int unlink(char *path); }
|
|
SYS_CHDIR = 12 // { int chdir(char *path); }
|
|
SYS_FCHDIR = 13 // { int fchdir(int fd); }
|
|
- SYS_MKNOD = 14 // { int mknod(char *path, int mode, int dev); }
|
|
SYS_CHMOD = 15 // { int chmod(char *path, int mode); }
|
|
SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); }
|
|
- SYS_OBREAK = 17 // { int obreak(char *nsize); } break obreak_args int
|
|
+ SYS_BREAK = 17 // { caddr_t break(char *nsize); }
|
|
SYS_GETPID = 20 // { pid_t getpid(void); }
|
|
SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, caddr_t data); }
|
|
SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); }
|
|
@@ -43,7 +42,6 @@ const (
|
|
SYS_KILL = 37 // { int kill(int pid, int signum); }
|
|
SYS_GETPPID = 39 // { pid_t getppid(void); }
|
|
SYS_DUP = 41 // { int dup(u_int fd); }
|
|
- SYS_PIPE = 42 // { int pipe(void); }
|
|
SYS_GETEGID = 43 // { gid_t getegid(void); }
|
|
SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, size_t offset, u_int scale); }
|
|
SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, int pid); }
|
|
@@ -58,15 +56,14 @@ const (
|
|
SYS_SYMLINK = 57 // { int symlink(char *path, char *link); }
|
|
SYS_READLINK = 58 // { ssize_t readlink(char *path, char *buf, size_t count); }
|
|
SYS_EXECVE = 59 // { int execve(char *fname, char **argv, char **envv); }
|
|
- SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args int
|
|
+ SYS_UMASK = 60 // { int umask(int newmask); }
|
|
SYS_CHROOT = 61 // { int chroot(char *path); }
|
|
SYS_MSYNC = 65 // { int msync(void *addr, size_t len, int flags); }
|
|
SYS_VFORK = 66 // { int vfork(void); }
|
|
SYS_SBRK = 69 // { int sbrk(int incr); }
|
|
SYS_SSTK = 70 // { int sstk(int incr); }
|
|
- SYS_OVADVISE = 72 // { int ovadvise(int anom); } vadvise ovadvise_args int
|
|
SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); }
|
|
- SYS_MPROTECT = 74 // { int mprotect(const void *addr, size_t len, int prot); }
|
|
+ SYS_MPROTECT = 74 // { int mprotect(void *addr, size_t len, int prot); }
|
|
SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, int behav); }
|
|
SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, char *vec); }
|
|
SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, gid_t *gidset); }
|
|
@@ -124,14 +121,10 @@ const (
|
|
SYS_SETGID = 181 // { int setgid(gid_t gid); }
|
|
SYS_SETEGID = 182 // { int setegid(gid_t egid); }
|
|
SYS_SETEUID = 183 // { int seteuid(uid_t euid); }
|
|
- SYS_STAT = 188 // { int stat(char *path, struct stat *ub); }
|
|
- SYS_FSTAT = 189 // { int fstat(int fd, struct stat *sb); }
|
|
- SYS_LSTAT = 190 // { int lstat(char *path, struct stat *ub); }
|
|
SYS_PATHCONF = 191 // { int pathconf(char *path, int name); }
|
|
SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); }
|
|
SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, struct rlimit *rlp); } getrlimit __getrlimit_args int
|
|
SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int
|
|
- SYS_GETDIRENTRIES = 196 // { int getdirentries(int fd, char *buf, u_int count, long *basep); }
|
|
SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } __sysctl sysctl_args int
|
|
SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); }
|
|
SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); }
|
|
@@ -143,12 +136,12 @@ const (
|
|
SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, size_t nsops); }
|
|
SYS_MSGGET = 225 // { int msgget(key_t key, int msgflg); }
|
|
SYS_MSGSND = 226 // { int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); }
|
|
- SYS_MSGRCV = 227 // { int msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
|
|
+ SYS_MSGRCV = 227 // { ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
|
|
SYS_SHMAT = 228 // { int shmat(int shmid, const void *shmaddr, int shmflg); }
|
|
SYS_SHMDT = 230 // { int shmdt(const void *shmaddr); }
|
|
SYS_SHMGET = 231 // { int shmget(key_t key, size_t size, int shmflg); }
|
|
SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, struct timespec *tp); }
|
|
- SYS_CLOCK_SETTIME = 233 // { int clock_settime( clockid_t clock_id, const struct timespec *tp); }
|
|
+ SYS_CLOCK_SETTIME = 233 // { int clock_settime(clockid_t clock_id, const struct timespec *tp); }
|
|
SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, struct timespec *tp); }
|
|
SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, struct sigevent *evp, int *timerid); }
|
|
SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); }
|
|
@@ -157,50 +150,44 @@ const (
|
|
SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); }
|
|
SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); }
|
|
SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); }
|
|
- SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate( struct ffclock_estimate *cest); }
|
|
- SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate( struct ffclock_estimate *cest); }
|
|
+ SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate(struct ffclock_estimate *cest); }
|
|
+ SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate(struct ffclock_estimate *cest); }
|
|
SYS_CLOCK_NANOSLEEP = 244 // { int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp); }
|
|
- SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id,int which, clockid_t *clock_id); }
|
|
+ SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id, int which, clockid_t *clock_id); }
|
|
SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); }
|
|
SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, int inherit); }
|
|
SYS_RFORK = 251 // { int rfork(int flags); }
|
|
- SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, u_int nfds, int timeout); }
|
|
SYS_ISSETUGID = 253 // { int issetugid(void); }
|
|
SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); }
|
|
SYS_AIO_READ = 255 // { int aio_read(struct aiocb *aiocbp); }
|
|
SYS_AIO_WRITE = 256 // { int aio_write(struct aiocb *aiocbp); }
|
|
- SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb * const *acb_list, int nent, struct sigevent *sig); }
|
|
- SYS_GETDENTS = 272 // { int getdents(int fd, char *buf, size_t count); }
|
|
+ SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb* const *acb_list, int nent, struct sigevent *sig); }
|
|
SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); }
|
|
SYS_LUTIMES = 276 // { int lutimes(char *path, struct timeval *tptr); }
|
|
- SYS_NSTAT = 278 // { int nstat(char *path, struct nstat *ub); }
|
|
- SYS_NFSTAT = 279 // { int nfstat(int fd, struct nstat *sb); }
|
|
- SYS_NLSTAT = 280 // { int nlstat(char *path, struct nstat *ub); }
|
|
SYS_PREADV = 289 // { ssize_t preadv(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); }
|
|
SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); }
|
|
SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); }
|
|
- SYS_FHSTAT = 299 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); }
|
|
SYS_MODNEXT = 300 // { int modnext(int modid); }
|
|
- SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat *stat); }
|
|
+ SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat* stat); }
|
|
SYS_MODFNEXT = 302 // { int modfnext(int modid); }
|
|
SYS_MODFIND = 303 // { int modfind(const char *name); }
|
|
SYS_KLDLOAD = 304 // { int kldload(const char *file); }
|
|
SYS_KLDUNLOAD = 305 // { int kldunload(int fileid); }
|
|
SYS_KLDFIND = 306 // { int kldfind(const char *file); }
|
|
SYS_KLDNEXT = 307 // { int kldnext(int fileid); }
|
|
- SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct kld_file_stat* stat); }
|
|
+ SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct kld_file_stat *stat); }
|
|
SYS_KLDFIRSTMOD = 309 // { int kldfirstmod(int fileid); }
|
|
SYS_GETSID = 310 // { int getsid(pid_t pid); }
|
|
SYS_SETRESUID = 311 // { int setresuid(uid_t ruid, uid_t euid, uid_t suid); }
|
|
SYS_SETRESGID = 312 // { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
|
|
SYS_AIO_RETURN = 314 // { ssize_t aio_return(struct aiocb *aiocbp); }
|
|
- SYS_AIO_SUSPEND = 315 // { int aio_suspend( struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); }
|
|
+ SYS_AIO_SUSPEND = 315 // { int aio_suspend(struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); }
|
|
SYS_AIO_CANCEL = 316 // { int aio_cancel(int fd, struct aiocb *aiocbp); }
|
|
SYS_AIO_ERROR = 317 // { int aio_error(struct aiocb *aiocbp); }
|
|
SYS_YIELD = 321 // { int yield(void); }
|
|
SYS_MLOCKALL = 324 // { int mlockall(int how); }
|
|
SYS_MUNLOCKALL = 325 // { int munlockall(void); }
|
|
- SYS___GETCWD = 326 // { int __getcwd(char *buf, u_int buflen); }
|
|
+ SYS___GETCWD = 326 // { int __getcwd(char *buf, size_t buflen); }
|
|
SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, const struct sched_param *param); }
|
|
SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct sched_param *param); }
|
|
SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); }
|
|
@@ -226,14 +213,13 @@ const (
|
|
SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, acl_type_t type, struct acl *aclp); }
|
|
SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, struct acl *aclp); }
|
|
SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); }
|
|
- SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
- SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, int attrnamespace, const char *attrname); }
|
|
- SYS_AIO_WAITCOMPLETE = 359 // { ssize_t aio_waitcomplete( struct aiocb **aiocbp, struct timespec *timeout); }
|
|
+ SYS_AIO_WAITCOMPLETE = 359 // { ssize_t aio_waitcomplete(struct aiocb **aiocbp, struct timespec *timeout); }
|
|
SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); }
|
|
SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
|
|
SYS_KQUEUE = 362 // { int kqueue(void); }
|
|
- SYS_KEVENT = 363 // { int kevent(int fd, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); }
|
|
SYS_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, int attrnamespace, const char *attrname); }
|
|
@@ -251,10 +237,6 @@ const (
|
|
SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, int count); }
|
|
SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, struct sf_hdtr *hdtr, off_t *sbytes, int flags); }
|
|
SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, int call, void *arg); }
|
|
- SYS_GETFSSTAT = 395 // { int getfsstat(struct statfs *buf, long bufsize, int mode); }
|
|
- SYS_STATFS = 396 // { int statfs(char *path, struct statfs *buf); }
|
|
- SYS_FSTATFS = 397 // { int fstatfs(int fd, struct statfs *buf); }
|
|
- SYS_FHSTATFS = 398 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); }
|
|
SYS_KSEM_CLOSE = 400 // { int ksem_close(semid_t id); }
|
|
SYS_KSEM_POST = 401 // { int ksem_post(semid_t id); }
|
|
SYS_KSEM_WAIT = 402 // { int ksem_wait(semid_t id); }
|
|
@@ -267,14 +249,14 @@ const (
|
|
SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, struct mac *mac_p); }
|
|
SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, struct mac *mac_p); }
|
|
SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, struct mac *mac_p); }
|
|
- SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
- SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
- SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link( const char *path, int attrnamespace, const char *attrname); }
|
|
+ SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link(const char *path, int attrnamespace, const char *attrname); }
|
|
SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, char **envv, struct mac *mac_p); }
|
|
SYS_SIGACTION = 416 // { int sigaction(int sig, const struct sigaction *act, struct sigaction *oact); }
|
|
- SYS_SIGRETURN = 417 // { int sigreturn( const struct __ucontext *sigcntxp); }
|
|
+ SYS_SIGRETURN = 417 // { int sigreturn(const struct __ucontext *sigcntxp); }
|
|
SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); }
|
|
- SYS_SETCONTEXT = 422 // { int setcontext( const struct __ucontext *ucp); }
|
|
+ SYS_SETCONTEXT = 422 // { int setcontext(const struct __ucontext *ucp); }
|
|
SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, const struct __ucontext *ucp); }
|
|
SYS_SWAPOFF = 424 // { int swapoff(const char *name); }
|
|
SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, acl_type_t type, struct acl *aclp); }
|
|
@@ -288,10 +270,10 @@ const (
|
|
SYS_THR_KILL = 433 // { int thr_kill(long id, int sig); }
|
|
SYS_JAIL_ATTACH = 436 // { int jail_attach(int jid); }
|
|
SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); }
|
|
- SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file( const char *path, int attrnamespace, void *data, size_t nbytes); }
|
|
- SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link( const char *path, int attrnamespace, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file(const char *path, int attrnamespace, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link(const char *path, int attrnamespace, void *data, size_t nbytes); }
|
|
SYS_KSEM_TIMEDWAIT = 441 // { int ksem_timedwait(semid_t id, const struct timespec *abstime); }
|
|
- SYS_THR_SUSPEND = 442 // { int thr_suspend( const struct timespec *timeout); }
|
|
+ SYS_THR_SUSPEND = 442 // { int thr_suspend(const struct timespec *timeout); }
|
|
SYS_THR_WAKE = 443 // { int thr_wake(long id); }
|
|
SYS_KLDUNLOADF = 444 // { int kldunloadf(int fileid, int flags); }
|
|
SYS_AUDIT = 445 // { int audit(const void *record, u_int length); }
|
|
@@ -300,17 +282,17 @@ const (
|
|
SYS_SETAUID = 448 // { int setauid(uid_t *auid); }
|
|
SYS_GETAUDIT = 449 // { int getaudit(struct auditinfo *auditinfo); }
|
|
SYS_SETAUDIT = 450 // { int setaudit(struct auditinfo *auditinfo); }
|
|
- SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); }
|
|
- SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); }
|
|
+ SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); }
|
|
+ SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); }
|
|
SYS_AUDITCTL = 453 // { int auditctl(char *path); }
|
|
SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, u_long val, void *uaddr1, void *uaddr2); }
|
|
SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, int param_size); }
|
|
SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); }
|
|
SYS_KMQ_OPEN = 457 // { int kmq_open(const char *path, int flags, mode_t mode, const struct mq_attr *attr); }
|
|
- SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); }
|
|
- SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); }
|
|
- SYS_KMQ_TIMEDSEND = 460 // { int kmq_timedsend(int mqd, const char *msg_ptr, size_t msg_len,unsigned msg_prio, const struct timespec *abs_timeout);}
|
|
- SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); }
|
|
+ SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); }
|
|
+ SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); }
|
|
+ SYS_KMQ_TIMEDSEND = 460 // { int kmq_timedsend(int mqd, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abs_timeout); }
|
|
+ SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); }
|
|
SYS_KMQ_UNLINK = 462 // { int kmq_unlink(const char *path); }
|
|
SYS_ABORT2 = 463 // { int abort2(const char *why, int nargs, void **args); }
|
|
SYS_THR_SET_NAME = 464 // { int thr_set_name(long id, const char *name); }
|
|
@@ -319,7 +301,7 @@ const (
|
|
SYS_SCTP_PEELOFF = 471 // { int sctp_peeloff(int sd, uint32_t name); }
|
|
SYS_SCTP_GENERIC_SENDMSG = 472 // { int sctp_generic_sendmsg(int sd, caddr_t msg, int mlen, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); }
|
|
SYS_SCTP_GENERIC_SENDMSG_IOV = 473 // { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); }
|
|
- SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, struct sockaddr * from, __socklen_t *fromlenaddr, struct sctp_sndrcvinfo *sinfo, int *msg_flags); }
|
|
+ SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, struct sockaddr *from, __socklen_t *fromlenaddr, struct sctp_sndrcvinfo *sinfo, int *msg_flags); }
|
|
SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, size_t nbyte, off_t offset); }
|
|
SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, size_t nbyte, off_t offset); }
|
|
SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos); }
|
|
@@ -338,14 +320,12 @@ const (
|
|
SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, int flag); }
|
|
SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, gid_t gid, int flag); }
|
|
SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, char **envv); }
|
|
- SYS_FSTATAT = 493 // { int fstatat(int fd, char *path, struct stat *buf, int flag); }
|
|
SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, struct timeval *times); }
|
|
SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, char *path2, int flag); }
|
|
SYS_MKDIRAT = 496 // { int mkdirat(int fd, char *path, mode_t mode); }
|
|
SYS_MKFIFOAT = 497 // { int mkfifoat(int fd, char *path, mode_t mode); }
|
|
- SYS_MKNODAT = 498 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); }
|
|
SYS_OPENAT = 499 // { int openat(int fd, char *path, int flag, mode_t mode); }
|
|
- SYS_READLINKAT = 500 // { int readlinkat(int fd, char *path, char *buf, size_t bufsize); }
|
|
+ SYS_READLINKAT = 500 // { ssize_t readlinkat(int fd, char *path, char *buf, size_t bufsize); }
|
|
SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, char *new); }
|
|
SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, char *path2); }
|
|
SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); }
|
|
@@ -391,7 +371,24 @@ const (
|
|
SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *set); }
|
|
SYS_FUTIMENS = 546 // { int futimens(int fd, struct timespec *times); }
|
|
SYS_UTIMENSAT = 547 // { int utimensat(int fd, char *path, struct timespec *times, int flag); }
|
|
- SYS_NUMA_GETAFFINITY = 548 // { int numa_getaffinity(cpuwhich_t which, id_t id, struct vm_domain_policy_entry *policy); }
|
|
- SYS_NUMA_SETAFFINITY = 549 // { int numa_setaffinity(cpuwhich_t which, id_t id, const struct vm_domain_policy_entry *policy); }
|
|
SYS_FDATASYNC = 550 // { int fdatasync(int fd); }
|
|
+ SYS_FSTAT = 551 // { int fstat(int fd, struct stat *sb); }
|
|
+ SYS_FSTATAT = 552 // { int fstatat(int fd, char *path, struct stat *buf, int flag); }
|
|
+ SYS_FHSTAT = 553 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); }
|
|
+ SYS_GETDIRENTRIES = 554 // { ssize_t getdirentries(int fd, char *buf, size_t count, off_t *basep); }
|
|
+ SYS_STATFS = 555 // { int statfs(char *path, struct statfs *buf); }
|
|
+ SYS_FSTATFS = 556 // { int fstatfs(int fd, struct statfs *buf); }
|
|
+ SYS_GETFSSTAT = 557 // { int getfsstat(struct statfs *buf, long bufsize, int mode); }
|
|
+ SYS_FHSTATFS = 558 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); }
|
|
+ SYS_MKNODAT = 559 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); }
|
|
+ SYS_KEVENT = 560 // { int kevent(int fd, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); }
|
|
+ SYS_CPUSET_GETDOMAIN = 561 // { int cpuset_getdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int *policy); }
|
|
+ SYS_CPUSET_SETDOMAIN = 562 // { int cpuset_setdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int policy); }
|
|
+ SYS_GETRANDOM = 563 // { int getrandom(void *buf, size_t buflen, unsigned int flags); }
|
|
+ SYS_GETFHAT = 564 // { int getfhat(int fd, char *path, struct fhandle *fhp, int flags); }
|
|
+ SYS_FHLINK = 565 // { int fhlink(struct fhandle *fhp, const char *to); }
|
|
+ SYS_FHLINKAT = 566 // { int fhlinkat(struct fhandle *fhp, int tofd, const char *to,); }
|
|
+ SYS_FHREADLINK = 567 // { int fhreadlink(struct fhandle *fhp, char *buf, size_t bufsize); }
|
|
+ SYS___SYSCTLBYNAME = 570 // { int __sysctlbyname(const char *name, size_t namelen, void *old, size_t *oldlenp, void *new, size_t newlen); }
|
|
+ SYS_CLOSE_RANGE = 575 // { int close_range(u_int lowfd, u_int highfd, int flags); }
|
|
)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go
|
|
index e2e3d72..ad99bc1 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run mksysnum.go https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master
|
|
+// go run mksysnum.go https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build arm && freebsd
|
|
@@ -19,10 +19,9 @@ const (
|
|
SYS_UNLINK = 10 // { int unlink(char *path); }
|
|
SYS_CHDIR = 12 // { int chdir(char *path); }
|
|
SYS_FCHDIR = 13 // { int fchdir(int fd); }
|
|
- SYS_MKNOD = 14 // { int mknod(char *path, int mode, int dev); }
|
|
SYS_CHMOD = 15 // { int chmod(char *path, int mode); }
|
|
SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); }
|
|
- SYS_OBREAK = 17 // { int obreak(char *nsize); } break obreak_args int
|
|
+ SYS_BREAK = 17 // { caddr_t break(char *nsize); }
|
|
SYS_GETPID = 20 // { pid_t getpid(void); }
|
|
SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, caddr_t data); }
|
|
SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); }
|
|
@@ -43,7 +42,6 @@ const (
|
|
SYS_KILL = 37 // { int kill(int pid, int signum); }
|
|
SYS_GETPPID = 39 // { pid_t getppid(void); }
|
|
SYS_DUP = 41 // { int dup(u_int fd); }
|
|
- SYS_PIPE = 42 // { int pipe(void); }
|
|
SYS_GETEGID = 43 // { gid_t getegid(void); }
|
|
SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, size_t offset, u_int scale); }
|
|
SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, int pid); }
|
|
@@ -58,15 +56,14 @@ const (
|
|
SYS_SYMLINK = 57 // { int symlink(char *path, char *link); }
|
|
SYS_READLINK = 58 // { ssize_t readlink(char *path, char *buf, size_t count); }
|
|
SYS_EXECVE = 59 // { int execve(char *fname, char **argv, char **envv); }
|
|
- SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args int
|
|
+ SYS_UMASK = 60 // { int umask(int newmask); }
|
|
SYS_CHROOT = 61 // { int chroot(char *path); }
|
|
SYS_MSYNC = 65 // { int msync(void *addr, size_t len, int flags); }
|
|
SYS_VFORK = 66 // { int vfork(void); }
|
|
SYS_SBRK = 69 // { int sbrk(int incr); }
|
|
SYS_SSTK = 70 // { int sstk(int incr); }
|
|
- SYS_OVADVISE = 72 // { int ovadvise(int anom); } vadvise ovadvise_args int
|
|
SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); }
|
|
- SYS_MPROTECT = 74 // { int mprotect(const void *addr, size_t len, int prot); }
|
|
+ SYS_MPROTECT = 74 // { int mprotect(void *addr, size_t len, int prot); }
|
|
SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, int behav); }
|
|
SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, char *vec); }
|
|
SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, gid_t *gidset); }
|
|
@@ -124,14 +121,10 @@ const (
|
|
SYS_SETGID = 181 // { int setgid(gid_t gid); }
|
|
SYS_SETEGID = 182 // { int setegid(gid_t egid); }
|
|
SYS_SETEUID = 183 // { int seteuid(uid_t euid); }
|
|
- SYS_STAT = 188 // { int stat(char *path, struct stat *ub); }
|
|
- SYS_FSTAT = 189 // { int fstat(int fd, struct stat *sb); }
|
|
- SYS_LSTAT = 190 // { int lstat(char *path, struct stat *ub); }
|
|
SYS_PATHCONF = 191 // { int pathconf(char *path, int name); }
|
|
SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); }
|
|
SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, struct rlimit *rlp); } getrlimit __getrlimit_args int
|
|
SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int
|
|
- SYS_GETDIRENTRIES = 196 // { int getdirentries(int fd, char *buf, u_int count, long *basep); }
|
|
SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } __sysctl sysctl_args int
|
|
SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); }
|
|
SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); }
|
|
@@ -143,12 +136,12 @@ const (
|
|
SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, size_t nsops); }
|
|
SYS_MSGGET = 225 // { int msgget(key_t key, int msgflg); }
|
|
SYS_MSGSND = 226 // { int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); }
|
|
- SYS_MSGRCV = 227 // { int msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
|
|
+ SYS_MSGRCV = 227 // { ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
|
|
SYS_SHMAT = 228 // { int shmat(int shmid, const void *shmaddr, int shmflg); }
|
|
SYS_SHMDT = 230 // { int shmdt(const void *shmaddr); }
|
|
SYS_SHMGET = 231 // { int shmget(key_t key, size_t size, int shmflg); }
|
|
SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, struct timespec *tp); }
|
|
- SYS_CLOCK_SETTIME = 233 // { int clock_settime( clockid_t clock_id, const struct timespec *tp); }
|
|
+ SYS_CLOCK_SETTIME = 233 // { int clock_settime(clockid_t clock_id, const struct timespec *tp); }
|
|
SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, struct timespec *tp); }
|
|
SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, struct sigevent *evp, int *timerid); }
|
|
SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); }
|
|
@@ -157,50 +150,44 @@ const (
|
|
SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); }
|
|
SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); }
|
|
SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); }
|
|
- SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate( struct ffclock_estimate *cest); }
|
|
- SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate( struct ffclock_estimate *cest); }
|
|
+ SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate(struct ffclock_estimate *cest); }
|
|
+ SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate(struct ffclock_estimate *cest); }
|
|
SYS_CLOCK_NANOSLEEP = 244 // { int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp); }
|
|
- SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id,int which, clockid_t *clock_id); }
|
|
+ SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id, int which, clockid_t *clock_id); }
|
|
SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); }
|
|
SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, int inherit); }
|
|
SYS_RFORK = 251 // { int rfork(int flags); }
|
|
- SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, u_int nfds, int timeout); }
|
|
SYS_ISSETUGID = 253 // { int issetugid(void); }
|
|
SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); }
|
|
SYS_AIO_READ = 255 // { int aio_read(struct aiocb *aiocbp); }
|
|
SYS_AIO_WRITE = 256 // { int aio_write(struct aiocb *aiocbp); }
|
|
- SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb * const *acb_list, int nent, struct sigevent *sig); }
|
|
- SYS_GETDENTS = 272 // { int getdents(int fd, char *buf, size_t count); }
|
|
+ SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb* const *acb_list, int nent, struct sigevent *sig); }
|
|
SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); }
|
|
SYS_LUTIMES = 276 // { int lutimes(char *path, struct timeval *tptr); }
|
|
- SYS_NSTAT = 278 // { int nstat(char *path, struct nstat *ub); }
|
|
- SYS_NFSTAT = 279 // { int nfstat(int fd, struct nstat *sb); }
|
|
- SYS_NLSTAT = 280 // { int nlstat(char *path, struct nstat *ub); }
|
|
SYS_PREADV = 289 // { ssize_t preadv(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); }
|
|
SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); }
|
|
SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); }
|
|
- SYS_FHSTAT = 299 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); }
|
|
SYS_MODNEXT = 300 // { int modnext(int modid); }
|
|
- SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat *stat); }
|
|
+ SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat* stat); }
|
|
SYS_MODFNEXT = 302 // { int modfnext(int modid); }
|
|
SYS_MODFIND = 303 // { int modfind(const char *name); }
|
|
SYS_KLDLOAD = 304 // { int kldload(const char *file); }
|
|
SYS_KLDUNLOAD = 305 // { int kldunload(int fileid); }
|
|
SYS_KLDFIND = 306 // { int kldfind(const char *file); }
|
|
SYS_KLDNEXT = 307 // { int kldnext(int fileid); }
|
|
- SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct kld_file_stat* stat); }
|
|
+ SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct kld_file_stat *stat); }
|
|
SYS_KLDFIRSTMOD = 309 // { int kldfirstmod(int fileid); }
|
|
SYS_GETSID = 310 // { int getsid(pid_t pid); }
|
|
SYS_SETRESUID = 311 // { int setresuid(uid_t ruid, uid_t euid, uid_t suid); }
|
|
SYS_SETRESGID = 312 // { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
|
|
SYS_AIO_RETURN = 314 // { ssize_t aio_return(struct aiocb *aiocbp); }
|
|
- SYS_AIO_SUSPEND = 315 // { int aio_suspend( struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); }
|
|
+ SYS_AIO_SUSPEND = 315 // { int aio_suspend(struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); }
|
|
SYS_AIO_CANCEL = 316 // { int aio_cancel(int fd, struct aiocb *aiocbp); }
|
|
SYS_AIO_ERROR = 317 // { int aio_error(struct aiocb *aiocbp); }
|
|
SYS_YIELD = 321 // { int yield(void); }
|
|
SYS_MLOCKALL = 324 // { int mlockall(int how); }
|
|
SYS_MUNLOCKALL = 325 // { int munlockall(void); }
|
|
- SYS___GETCWD = 326 // { int __getcwd(char *buf, u_int buflen); }
|
|
+ SYS___GETCWD = 326 // { int __getcwd(char *buf, size_t buflen); }
|
|
SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, const struct sched_param *param); }
|
|
SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct sched_param *param); }
|
|
SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); }
|
|
@@ -226,14 +213,13 @@ const (
|
|
SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, acl_type_t type, struct acl *aclp); }
|
|
SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, struct acl *aclp); }
|
|
SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); }
|
|
- SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
- SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, int attrnamespace, const char *attrname); }
|
|
- SYS_AIO_WAITCOMPLETE = 359 // { ssize_t aio_waitcomplete( struct aiocb **aiocbp, struct timespec *timeout); }
|
|
+ SYS_AIO_WAITCOMPLETE = 359 // { ssize_t aio_waitcomplete(struct aiocb **aiocbp, struct timespec *timeout); }
|
|
SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); }
|
|
SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
|
|
SYS_KQUEUE = 362 // { int kqueue(void); }
|
|
- SYS_KEVENT = 363 // { int kevent(int fd, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); }
|
|
SYS_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, int attrnamespace, const char *attrname); }
|
|
@@ -251,10 +237,6 @@ const (
|
|
SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, int count); }
|
|
SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, struct sf_hdtr *hdtr, off_t *sbytes, int flags); }
|
|
SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, int call, void *arg); }
|
|
- SYS_GETFSSTAT = 395 // { int getfsstat(struct statfs *buf, long bufsize, int mode); }
|
|
- SYS_STATFS = 396 // { int statfs(char *path, struct statfs *buf); }
|
|
- SYS_FSTATFS = 397 // { int fstatfs(int fd, struct statfs *buf); }
|
|
- SYS_FHSTATFS = 398 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); }
|
|
SYS_KSEM_CLOSE = 400 // { int ksem_close(semid_t id); }
|
|
SYS_KSEM_POST = 401 // { int ksem_post(semid_t id); }
|
|
SYS_KSEM_WAIT = 402 // { int ksem_wait(semid_t id); }
|
|
@@ -267,14 +249,14 @@ const (
|
|
SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, struct mac *mac_p); }
|
|
SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, struct mac *mac_p); }
|
|
SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, struct mac *mac_p); }
|
|
- SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
- SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
- SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link( const char *path, int attrnamespace, const char *attrname); }
|
|
+ SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link(const char *path, int attrnamespace, const char *attrname); }
|
|
SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, char **envv, struct mac *mac_p); }
|
|
SYS_SIGACTION = 416 // { int sigaction(int sig, const struct sigaction *act, struct sigaction *oact); }
|
|
- SYS_SIGRETURN = 417 // { int sigreturn( const struct __ucontext *sigcntxp); }
|
|
+ SYS_SIGRETURN = 417 // { int sigreturn(const struct __ucontext *sigcntxp); }
|
|
SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); }
|
|
- SYS_SETCONTEXT = 422 // { int setcontext( const struct __ucontext *ucp); }
|
|
+ SYS_SETCONTEXT = 422 // { int setcontext(const struct __ucontext *ucp); }
|
|
SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, const struct __ucontext *ucp); }
|
|
SYS_SWAPOFF = 424 // { int swapoff(const char *name); }
|
|
SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, acl_type_t type, struct acl *aclp); }
|
|
@@ -288,10 +270,10 @@ const (
|
|
SYS_THR_KILL = 433 // { int thr_kill(long id, int sig); }
|
|
SYS_JAIL_ATTACH = 436 // { int jail_attach(int jid); }
|
|
SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); }
|
|
- SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file( const char *path, int attrnamespace, void *data, size_t nbytes); }
|
|
- SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link( const char *path, int attrnamespace, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file(const char *path, int attrnamespace, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link(const char *path, int attrnamespace, void *data, size_t nbytes); }
|
|
SYS_KSEM_TIMEDWAIT = 441 // { int ksem_timedwait(semid_t id, const struct timespec *abstime); }
|
|
- SYS_THR_SUSPEND = 442 // { int thr_suspend( const struct timespec *timeout); }
|
|
+ SYS_THR_SUSPEND = 442 // { int thr_suspend(const struct timespec *timeout); }
|
|
SYS_THR_WAKE = 443 // { int thr_wake(long id); }
|
|
SYS_KLDUNLOADF = 444 // { int kldunloadf(int fileid, int flags); }
|
|
SYS_AUDIT = 445 // { int audit(const void *record, u_int length); }
|
|
@@ -300,17 +282,17 @@ const (
|
|
SYS_SETAUID = 448 // { int setauid(uid_t *auid); }
|
|
SYS_GETAUDIT = 449 // { int getaudit(struct auditinfo *auditinfo); }
|
|
SYS_SETAUDIT = 450 // { int setaudit(struct auditinfo *auditinfo); }
|
|
- SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); }
|
|
- SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); }
|
|
+ SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); }
|
|
+ SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); }
|
|
SYS_AUDITCTL = 453 // { int auditctl(char *path); }
|
|
SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, u_long val, void *uaddr1, void *uaddr2); }
|
|
SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, int param_size); }
|
|
SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); }
|
|
SYS_KMQ_OPEN = 457 // { int kmq_open(const char *path, int flags, mode_t mode, const struct mq_attr *attr); }
|
|
- SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); }
|
|
- SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); }
|
|
- SYS_KMQ_TIMEDSEND = 460 // { int kmq_timedsend(int mqd, const char *msg_ptr, size_t msg_len,unsigned msg_prio, const struct timespec *abs_timeout);}
|
|
- SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); }
|
|
+ SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); }
|
|
+ SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); }
|
|
+ SYS_KMQ_TIMEDSEND = 460 // { int kmq_timedsend(int mqd, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abs_timeout); }
|
|
+ SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); }
|
|
SYS_KMQ_UNLINK = 462 // { int kmq_unlink(const char *path); }
|
|
SYS_ABORT2 = 463 // { int abort2(const char *why, int nargs, void **args); }
|
|
SYS_THR_SET_NAME = 464 // { int thr_set_name(long id, const char *name); }
|
|
@@ -319,7 +301,7 @@ const (
|
|
SYS_SCTP_PEELOFF = 471 // { int sctp_peeloff(int sd, uint32_t name); }
|
|
SYS_SCTP_GENERIC_SENDMSG = 472 // { int sctp_generic_sendmsg(int sd, caddr_t msg, int mlen, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); }
|
|
SYS_SCTP_GENERIC_SENDMSG_IOV = 473 // { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); }
|
|
- SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, struct sockaddr * from, __socklen_t *fromlenaddr, struct sctp_sndrcvinfo *sinfo, int *msg_flags); }
|
|
+ SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, struct sockaddr *from, __socklen_t *fromlenaddr, struct sctp_sndrcvinfo *sinfo, int *msg_flags); }
|
|
SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, size_t nbyte, off_t offset); }
|
|
SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, size_t nbyte, off_t offset); }
|
|
SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos); }
|
|
@@ -338,14 +320,12 @@ const (
|
|
SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, int flag); }
|
|
SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, gid_t gid, int flag); }
|
|
SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, char **envv); }
|
|
- SYS_FSTATAT = 493 // { int fstatat(int fd, char *path, struct stat *buf, int flag); }
|
|
SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, struct timeval *times); }
|
|
SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, char *path2, int flag); }
|
|
SYS_MKDIRAT = 496 // { int mkdirat(int fd, char *path, mode_t mode); }
|
|
SYS_MKFIFOAT = 497 // { int mkfifoat(int fd, char *path, mode_t mode); }
|
|
- SYS_MKNODAT = 498 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); }
|
|
SYS_OPENAT = 499 // { int openat(int fd, char *path, int flag, mode_t mode); }
|
|
- SYS_READLINKAT = 500 // { int readlinkat(int fd, char *path, char *buf, size_t bufsize); }
|
|
+ SYS_READLINKAT = 500 // { ssize_t readlinkat(int fd, char *path, char *buf, size_t bufsize); }
|
|
SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, char *new); }
|
|
SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, char *path2); }
|
|
SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); }
|
|
@@ -391,7 +371,24 @@ const (
|
|
SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *set); }
|
|
SYS_FUTIMENS = 546 // { int futimens(int fd, struct timespec *times); }
|
|
SYS_UTIMENSAT = 547 // { int utimensat(int fd, char *path, struct timespec *times, int flag); }
|
|
- SYS_NUMA_GETAFFINITY = 548 // { int numa_getaffinity(cpuwhich_t which, id_t id, struct vm_domain_policy_entry *policy); }
|
|
- SYS_NUMA_SETAFFINITY = 549 // { int numa_setaffinity(cpuwhich_t which, id_t id, const struct vm_domain_policy_entry *policy); }
|
|
SYS_FDATASYNC = 550 // { int fdatasync(int fd); }
|
|
+ SYS_FSTAT = 551 // { int fstat(int fd, struct stat *sb); }
|
|
+ SYS_FSTATAT = 552 // { int fstatat(int fd, char *path, struct stat *buf, int flag); }
|
|
+ SYS_FHSTAT = 553 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); }
|
|
+ SYS_GETDIRENTRIES = 554 // { ssize_t getdirentries(int fd, char *buf, size_t count, off_t *basep); }
|
|
+ SYS_STATFS = 555 // { int statfs(char *path, struct statfs *buf); }
|
|
+ SYS_FSTATFS = 556 // { int fstatfs(int fd, struct statfs *buf); }
|
|
+ SYS_GETFSSTAT = 557 // { int getfsstat(struct statfs *buf, long bufsize, int mode); }
|
|
+ SYS_FHSTATFS = 558 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); }
|
|
+ SYS_MKNODAT = 559 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); }
|
|
+ SYS_KEVENT = 560 // { int kevent(int fd, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); }
|
|
+ SYS_CPUSET_GETDOMAIN = 561 // { int cpuset_getdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int *policy); }
|
|
+ SYS_CPUSET_SETDOMAIN = 562 // { int cpuset_setdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int policy); }
|
|
+ SYS_GETRANDOM = 563 // { int getrandom(void *buf, size_t buflen, unsigned int flags); }
|
|
+ SYS_GETFHAT = 564 // { int getfhat(int fd, char *path, struct fhandle *fhp, int flags); }
|
|
+ SYS_FHLINK = 565 // { int fhlink(struct fhandle *fhp, const char *to); }
|
|
+ SYS_FHLINKAT = 566 // { int fhlinkat(struct fhandle *fhp, int tofd, const char *to,); }
|
|
+ SYS_FHREADLINK = 567 // { int fhreadlink(struct fhandle *fhp, char *buf, size_t bufsize); }
|
|
+ SYS___SYSCTLBYNAME = 570 // { int __sysctlbyname(const char *name, size_t namelen, void *old, size_t *oldlenp, void *new, size_t newlen); }
|
|
+ SYS_CLOSE_RANGE = 575 // { int close_range(u_int lowfd, u_int highfd, int flags); }
|
|
)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go
|
|
index 61ad5ca..89dcc42 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run mksysnum.go https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master
|
|
+// go run mksysnum.go https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build arm64 && freebsd
|
|
@@ -19,10 +19,9 @@ const (
|
|
SYS_UNLINK = 10 // { int unlink(char *path); }
|
|
SYS_CHDIR = 12 // { int chdir(char *path); }
|
|
SYS_FCHDIR = 13 // { int fchdir(int fd); }
|
|
- SYS_MKNOD = 14 // { int mknod(char *path, int mode, int dev); }
|
|
SYS_CHMOD = 15 // { int chmod(char *path, int mode); }
|
|
SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); }
|
|
- SYS_OBREAK = 17 // { int obreak(char *nsize); } break obreak_args int
|
|
+ SYS_BREAK = 17 // { caddr_t break(char *nsize); }
|
|
SYS_GETPID = 20 // { pid_t getpid(void); }
|
|
SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, caddr_t data); }
|
|
SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); }
|
|
@@ -43,7 +42,6 @@ const (
|
|
SYS_KILL = 37 // { int kill(int pid, int signum); }
|
|
SYS_GETPPID = 39 // { pid_t getppid(void); }
|
|
SYS_DUP = 41 // { int dup(u_int fd); }
|
|
- SYS_PIPE = 42 // { int pipe(void); }
|
|
SYS_GETEGID = 43 // { gid_t getegid(void); }
|
|
SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, size_t offset, u_int scale); }
|
|
SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, int pid); }
|
|
@@ -58,15 +56,14 @@ const (
|
|
SYS_SYMLINK = 57 // { int symlink(char *path, char *link); }
|
|
SYS_READLINK = 58 // { ssize_t readlink(char *path, char *buf, size_t count); }
|
|
SYS_EXECVE = 59 // { int execve(char *fname, char **argv, char **envv); }
|
|
- SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args int
|
|
+ SYS_UMASK = 60 // { int umask(int newmask); }
|
|
SYS_CHROOT = 61 // { int chroot(char *path); }
|
|
SYS_MSYNC = 65 // { int msync(void *addr, size_t len, int flags); }
|
|
SYS_VFORK = 66 // { int vfork(void); }
|
|
SYS_SBRK = 69 // { int sbrk(int incr); }
|
|
SYS_SSTK = 70 // { int sstk(int incr); }
|
|
- SYS_OVADVISE = 72 // { int ovadvise(int anom); } vadvise ovadvise_args int
|
|
SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); }
|
|
- SYS_MPROTECT = 74 // { int mprotect(const void *addr, size_t len, int prot); }
|
|
+ SYS_MPROTECT = 74 // { int mprotect(void *addr, size_t len, int prot); }
|
|
SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, int behav); }
|
|
SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, char *vec); }
|
|
SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, gid_t *gidset); }
|
|
@@ -124,14 +121,10 @@ const (
|
|
SYS_SETGID = 181 // { int setgid(gid_t gid); }
|
|
SYS_SETEGID = 182 // { int setegid(gid_t egid); }
|
|
SYS_SETEUID = 183 // { int seteuid(uid_t euid); }
|
|
- SYS_STAT = 188 // { int stat(char *path, struct stat *ub); }
|
|
- SYS_FSTAT = 189 // { int fstat(int fd, struct stat *sb); }
|
|
- SYS_LSTAT = 190 // { int lstat(char *path, struct stat *ub); }
|
|
SYS_PATHCONF = 191 // { int pathconf(char *path, int name); }
|
|
SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); }
|
|
SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, struct rlimit *rlp); } getrlimit __getrlimit_args int
|
|
SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int
|
|
- SYS_GETDIRENTRIES = 196 // { int getdirentries(int fd, char *buf, u_int count, long *basep); }
|
|
SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } __sysctl sysctl_args int
|
|
SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); }
|
|
SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); }
|
|
@@ -143,12 +136,12 @@ const (
|
|
SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, size_t nsops); }
|
|
SYS_MSGGET = 225 // { int msgget(key_t key, int msgflg); }
|
|
SYS_MSGSND = 226 // { int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); }
|
|
- SYS_MSGRCV = 227 // { int msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
|
|
+ SYS_MSGRCV = 227 // { ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
|
|
SYS_SHMAT = 228 // { int shmat(int shmid, const void *shmaddr, int shmflg); }
|
|
SYS_SHMDT = 230 // { int shmdt(const void *shmaddr); }
|
|
SYS_SHMGET = 231 // { int shmget(key_t key, size_t size, int shmflg); }
|
|
SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, struct timespec *tp); }
|
|
- SYS_CLOCK_SETTIME = 233 // { int clock_settime( clockid_t clock_id, const struct timespec *tp); }
|
|
+ SYS_CLOCK_SETTIME = 233 // { int clock_settime(clockid_t clock_id, const struct timespec *tp); }
|
|
SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, struct timespec *tp); }
|
|
SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, struct sigevent *evp, int *timerid); }
|
|
SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); }
|
|
@@ -157,50 +150,44 @@ const (
|
|
SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); }
|
|
SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); }
|
|
SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); }
|
|
- SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate( struct ffclock_estimate *cest); }
|
|
- SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate( struct ffclock_estimate *cest); }
|
|
+ SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate(struct ffclock_estimate *cest); }
|
|
+ SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate(struct ffclock_estimate *cest); }
|
|
SYS_CLOCK_NANOSLEEP = 244 // { int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp); }
|
|
- SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id,int which, clockid_t *clock_id); }
|
|
+ SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id, int which, clockid_t *clock_id); }
|
|
SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); }
|
|
SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, int inherit); }
|
|
SYS_RFORK = 251 // { int rfork(int flags); }
|
|
- SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, u_int nfds, int timeout); }
|
|
SYS_ISSETUGID = 253 // { int issetugid(void); }
|
|
SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); }
|
|
SYS_AIO_READ = 255 // { int aio_read(struct aiocb *aiocbp); }
|
|
SYS_AIO_WRITE = 256 // { int aio_write(struct aiocb *aiocbp); }
|
|
- SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb * const *acb_list, int nent, struct sigevent *sig); }
|
|
- SYS_GETDENTS = 272 // { int getdents(int fd, char *buf, size_t count); }
|
|
+ SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb* const *acb_list, int nent, struct sigevent *sig); }
|
|
SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); }
|
|
SYS_LUTIMES = 276 // { int lutimes(char *path, struct timeval *tptr); }
|
|
- SYS_NSTAT = 278 // { int nstat(char *path, struct nstat *ub); }
|
|
- SYS_NFSTAT = 279 // { int nfstat(int fd, struct nstat *sb); }
|
|
- SYS_NLSTAT = 280 // { int nlstat(char *path, struct nstat *ub); }
|
|
SYS_PREADV = 289 // { ssize_t preadv(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); }
|
|
SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); }
|
|
SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); }
|
|
- SYS_FHSTAT = 299 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); }
|
|
SYS_MODNEXT = 300 // { int modnext(int modid); }
|
|
- SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat *stat); }
|
|
+ SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat* stat); }
|
|
SYS_MODFNEXT = 302 // { int modfnext(int modid); }
|
|
SYS_MODFIND = 303 // { int modfind(const char *name); }
|
|
SYS_KLDLOAD = 304 // { int kldload(const char *file); }
|
|
SYS_KLDUNLOAD = 305 // { int kldunload(int fileid); }
|
|
SYS_KLDFIND = 306 // { int kldfind(const char *file); }
|
|
SYS_KLDNEXT = 307 // { int kldnext(int fileid); }
|
|
- SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct kld_file_stat* stat); }
|
|
+ SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct kld_file_stat *stat); }
|
|
SYS_KLDFIRSTMOD = 309 // { int kldfirstmod(int fileid); }
|
|
SYS_GETSID = 310 // { int getsid(pid_t pid); }
|
|
SYS_SETRESUID = 311 // { int setresuid(uid_t ruid, uid_t euid, uid_t suid); }
|
|
SYS_SETRESGID = 312 // { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
|
|
SYS_AIO_RETURN = 314 // { ssize_t aio_return(struct aiocb *aiocbp); }
|
|
- SYS_AIO_SUSPEND = 315 // { int aio_suspend( struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); }
|
|
+ SYS_AIO_SUSPEND = 315 // { int aio_suspend(struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); }
|
|
SYS_AIO_CANCEL = 316 // { int aio_cancel(int fd, struct aiocb *aiocbp); }
|
|
SYS_AIO_ERROR = 317 // { int aio_error(struct aiocb *aiocbp); }
|
|
SYS_YIELD = 321 // { int yield(void); }
|
|
SYS_MLOCKALL = 324 // { int mlockall(int how); }
|
|
SYS_MUNLOCKALL = 325 // { int munlockall(void); }
|
|
- SYS___GETCWD = 326 // { int __getcwd(char *buf, u_int buflen); }
|
|
+ SYS___GETCWD = 326 // { int __getcwd(char *buf, size_t buflen); }
|
|
SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, const struct sched_param *param); }
|
|
SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct sched_param *param); }
|
|
SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); }
|
|
@@ -226,14 +213,13 @@ const (
|
|
SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, acl_type_t type, struct acl *aclp); }
|
|
SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, struct acl *aclp); }
|
|
SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); }
|
|
- SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
- SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, int attrnamespace, const char *attrname); }
|
|
- SYS_AIO_WAITCOMPLETE = 359 // { ssize_t aio_waitcomplete( struct aiocb **aiocbp, struct timespec *timeout); }
|
|
+ SYS_AIO_WAITCOMPLETE = 359 // { ssize_t aio_waitcomplete(struct aiocb **aiocbp, struct timespec *timeout); }
|
|
SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); }
|
|
SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
|
|
SYS_KQUEUE = 362 // { int kqueue(void); }
|
|
- SYS_KEVENT = 363 // { int kevent(int fd, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); }
|
|
SYS_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, int attrnamespace, const char *attrname); }
|
|
@@ -251,10 +237,6 @@ const (
|
|
SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, int count); }
|
|
SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, struct sf_hdtr *hdtr, off_t *sbytes, int flags); }
|
|
SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, int call, void *arg); }
|
|
- SYS_GETFSSTAT = 395 // { int getfsstat(struct statfs *buf, long bufsize, int mode); }
|
|
- SYS_STATFS = 396 // { int statfs(char *path, struct statfs *buf); }
|
|
- SYS_FSTATFS = 397 // { int fstatfs(int fd, struct statfs *buf); }
|
|
- SYS_FHSTATFS = 398 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); }
|
|
SYS_KSEM_CLOSE = 400 // { int ksem_close(semid_t id); }
|
|
SYS_KSEM_POST = 401 // { int ksem_post(semid_t id); }
|
|
SYS_KSEM_WAIT = 402 // { int ksem_wait(semid_t id); }
|
|
@@ -267,14 +249,14 @@ const (
|
|
SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, struct mac *mac_p); }
|
|
SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, struct mac *mac_p); }
|
|
SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, struct mac *mac_p); }
|
|
- SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
- SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
- SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link( const char *path, int attrnamespace, const char *attrname); }
|
|
+ SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link(const char *path, int attrnamespace, const char *attrname); }
|
|
SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, char **envv, struct mac *mac_p); }
|
|
SYS_SIGACTION = 416 // { int sigaction(int sig, const struct sigaction *act, struct sigaction *oact); }
|
|
- SYS_SIGRETURN = 417 // { int sigreturn( const struct __ucontext *sigcntxp); }
|
|
+ SYS_SIGRETURN = 417 // { int sigreturn(const struct __ucontext *sigcntxp); }
|
|
SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); }
|
|
- SYS_SETCONTEXT = 422 // { int setcontext( const struct __ucontext *ucp); }
|
|
+ SYS_SETCONTEXT = 422 // { int setcontext(const struct __ucontext *ucp); }
|
|
SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, const struct __ucontext *ucp); }
|
|
SYS_SWAPOFF = 424 // { int swapoff(const char *name); }
|
|
SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, acl_type_t type, struct acl *aclp); }
|
|
@@ -288,10 +270,10 @@ const (
|
|
SYS_THR_KILL = 433 // { int thr_kill(long id, int sig); }
|
|
SYS_JAIL_ATTACH = 436 // { int jail_attach(int jid); }
|
|
SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); }
|
|
- SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file( const char *path, int attrnamespace, void *data, size_t nbytes); }
|
|
- SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link( const char *path, int attrnamespace, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file(const char *path, int attrnamespace, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link(const char *path, int attrnamespace, void *data, size_t nbytes); }
|
|
SYS_KSEM_TIMEDWAIT = 441 // { int ksem_timedwait(semid_t id, const struct timespec *abstime); }
|
|
- SYS_THR_SUSPEND = 442 // { int thr_suspend( const struct timespec *timeout); }
|
|
+ SYS_THR_SUSPEND = 442 // { int thr_suspend(const struct timespec *timeout); }
|
|
SYS_THR_WAKE = 443 // { int thr_wake(long id); }
|
|
SYS_KLDUNLOADF = 444 // { int kldunloadf(int fileid, int flags); }
|
|
SYS_AUDIT = 445 // { int audit(const void *record, u_int length); }
|
|
@@ -300,17 +282,17 @@ const (
|
|
SYS_SETAUID = 448 // { int setauid(uid_t *auid); }
|
|
SYS_GETAUDIT = 449 // { int getaudit(struct auditinfo *auditinfo); }
|
|
SYS_SETAUDIT = 450 // { int setaudit(struct auditinfo *auditinfo); }
|
|
- SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); }
|
|
- SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); }
|
|
+ SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); }
|
|
+ SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); }
|
|
SYS_AUDITCTL = 453 // { int auditctl(char *path); }
|
|
SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, u_long val, void *uaddr1, void *uaddr2); }
|
|
SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, int param_size); }
|
|
SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); }
|
|
SYS_KMQ_OPEN = 457 // { int kmq_open(const char *path, int flags, mode_t mode, const struct mq_attr *attr); }
|
|
- SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); }
|
|
- SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); }
|
|
- SYS_KMQ_TIMEDSEND = 460 // { int kmq_timedsend(int mqd, const char *msg_ptr, size_t msg_len,unsigned msg_prio, const struct timespec *abs_timeout);}
|
|
- SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); }
|
|
+ SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); }
|
|
+ SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); }
|
|
+ SYS_KMQ_TIMEDSEND = 460 // { int kmq_timedsend(int mqd, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abs_timeout); }
|
|
+ SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); }
|
|
SYS_KMQ_UNLINK = 462 // { int kmq_unlink(const char *path); }
|
|
SYS_ABORT2 = 463 // { int abort2(const char *why, int nargs, void **args); }
|
|
SYS_THR_SET_NAME = 464 // { int thr_set_name(long id, const char *name); }
|
|
@@ -319,7 +301,7 @@ const (
|
|
SYS_SCTP_PEELOFF = 471 // { int sctp_peeloff(int sd, uint32_t name); }
|
|
SYS_SCTP_GENERIC_SENDMSG = 472 // { int sctp_generic_sendmsg(int sd, caddr_t msg, int mlen, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); }
|
|
SYS_SCTP_GENERIC_SENDMSG_IOV = 473 // { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); }
|
|
- SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, struct sockaddr * from, __socklen_t *fromlenaddr, struct sctp_sndrcvinfo *sinfo, int *msg_flags); }
|
|
+ SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, struct sockaddr *from, __socklen_t *fromlenaddr, struct sctp_sndrcvinfo *sinfo, int *msg_flags); }
|
|
SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, size_t nbyte, off_t offset); }
|
|
SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, size_t nbyte, off_t offset); }
|
|
SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos); }
|
|
@@ -338,14 +320,12 @@ const (
|
|
SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, int flag); }
|
|
SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, gid_t gid, int flag); }
|
|
SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, char **envv); }
|
|
- SYS_FSTATAT = 493 // { int fstatat(int fd, char *path, struct stat *buf, int flag); }
|
|
SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, struct timeval *times); }
|
|
SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, char *path2, int flag); }
|
|
SYS_MKDIRAT = 496 // { int mkdirat(int fd, char *path, mode_t mode); }
|
|
SYS_MKFIFOAT = 497 // { int mkfifoat(int fd, char *path, mode_t mode); }
|
|
- SYS_MKNODAT = 498 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); }
|
|
SYS_OPENAT = 499 // { int openat(int fd, char *path, int flag, mode_t mode); }
|
|
- SYS_READLINKAT = 500 // { int readlinkat(int fd, char *path, char *buf, size_t bufsize); }
|
|
+ SYS_READLINKAT = 500 // { ssize_t readlinkat(int fd, char *path, char *buf, size_t bufsize); }
|
|
SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, char *new); }
|
|
SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, char *path2); }
|
|
SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); }
|
|
@@ -391,7 +371,24 @@ const (
|
|
SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *set); }
|
|
SYS_FUTIMENS = 546 // { int futimens(int fd, struct timespec *times); }
|
|
SYS_UTIMENSAT = 547 // { int utimensat(int fd, char *path, struct timespec *times, int flag); }
|
|
- SYS_NUMA_GETAFFINITY = 548 // { int numa_getaffinity(cpuwhich_t which, id_t id, struct vm_domain_policy_entry *policy); }
|
|
- SYS_NUMA_SETAFFINITY = 549 // { int numa_setaffinity(cpuwhich_t which, id_t id, const struct vm_domain_policy_entry *policy); }
|
|
SYS_FDATASYNC = 550 // { int fdatasync(int fd); }
|
|
+ SYS_FSTAT = 551 // { int fstat(int fd, struct stat *sb); }
|
|
+ SYS_FSTATAT = 552 // { int fstatat(int fd, char *path, struct stat *buf, int flag); }
|
|
+ SYS_FHSTAT = 553 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); }
|
|
+ SYS_GETDIRENTRIES = 554 // { ssize_t getdirentries(int fd, char *buf, size_t count, off_t *basep); }
|
|
+ SYS_STATFS = 555 // { int statfs(char *path, struct statfs *buf); }
|
|
+ SYS_FSTATFS = 556 // { int fstatfs(int fd, struct statfs *buf); }
|
|
+ SYS_GETFSSTAT = 557 // { int getfsstat(struct statfs *buf, long bufsize, int mode); }
|
|
+ SYS_FHSTATFS = 558 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); }
|
|
+ SYS_MKNODAT = 559 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); }
|
|
+ SYS_KEVENT = 560 // { int kevent(int fd, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); }
|
|
+ SYS_CPUSET_GETDOMAIN = 561 // { int cpuset_getdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int *policy); }
|
|
+ SYS_CPUSET_SETDOMAIN = 562 // { int cpuset_setdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int policy); }
|
|
+ SYS_GETRANDOM = 563 // { int getrandom(void *buf, size_t buflen, unsigned int flags); }
|
|
+ SYS_GETFHAT = 564 // { int getfhat(int fd, char *path, struct fhandle *fhp, int flags); }
|
|
+ SYS_FHLINK = 565 // { int fhlink(struct fhandle *fhp, const char *to); }
|
|
+ SYS_FHLINKAT = 566 // { int fhlinkat(struct fhandle *fhp, int tofd, const char *to,); }
|
|
+ SYS_FHREADLINK = 567 // { int fhreadlink(struct fhandle *fhp, char *buf, size_t bufsize); }
|
|
+ SYS___SYSCTLBYNAME = 570 // { int __sysctlbyname(const char *name, size_t namelen, void *old, size_t *oldlenp, void *new, size_t newlen); }
|
|
+ SYS_CLOSE_RANGE = 575 // { int close_range(u_int lowfd, u_int highfd, int flags); }
|
|
)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_riscv64.go b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_riscv64.go
|
|
new file mode 100644
|
|
index 0000000..ee37aaa
|
|
--- /dev/null
|
|
+++ b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_riscv64.go
|
|
@@ -0,0 +1,394 @@
|
|
+// go run mksysnum.go https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12
|
|
+// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
+
|
|
+//go:build riscv64 && freebsd
|
|
+// +build riscv64,freebsd
|
|
+
|
|
+package unix
|
|
+
|
|
+const (
|
|
+ // SYS_NOSYS = 0; // { int nosys(void); } syscall nosys_args int
|
|
+ SYS_EXIT = 1 // { void sys_exit(int rval); } exit sys_exit_args void
|
|
+ SYS_FORK = 2 // { int fork(void); }
|
|
+ SYS_READ = 3 // { ssize_t read(int fd, void *buf, size_t nbyte); }
|
|
+ SYS_WRITE = 4 // { ssize_t write(int fd, const void *buf, size_t nbyte); }
|
|
+ SYS_OPEN = 5 // { int open(char *path, int flags, int mode); }
|
|
+ SYS_CLOSE = 6 // { int close(int fd); }
|
|
+ SYS_WAIT4 = 7 // { int wait4(int pid, int *status, int options, struct rusage *rusage); }
|
|
+ SYS_LINK = 9 // { int link(char *path, char *link); }
|
|
+ SYS_UNLINK = 10 // { int unlink(char *path); }
|
|
+ SYS_CHDIR = 12 // { int chdir(char *path); }
|
|
+ SYS_FCHDIR = 13 // { int fchdir(int fd); }
|
|
+ SYS_CHMOD = 15 // { int chmod(char *path, int mode); }
|
|
+ SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); }
|
|
+ SYS_BREAK = 17 // { caddr_t break(char *nsize); }
|
|
+ SYS_GETPID = 20 // { pid_t getpid(void); }
|
|
+ SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, caddr_t data); }
|
|
+ SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); }
|
|
+ SYS_SETUID = 23 // { int setuid(uid_t uid); }
|
|
+ SYS_GETUID = 24 // { uid_t getuid(void); }
|
|
+ SYS_GETEUID = 25 // { uid_t geteuid(void); }
|
|
+ SYS_PTRACE = 26 // { int ptrace(int req, pid_t pid, caddr_t addr, int data); }
|
|
+ SYS_RECVMSG = 27 // { int recvmsg(int s, struct msghdr *msg, int flags); }
|
|
+ SYS_SENDMSG = 28 // { int sendmsg(int s, struct msghdr *msg, int flags); }
|
|
+ SYS_RECVFROM = 29 // { int recvfrom(int s, caddr_t buf, size_t len, int flags, struct sockaddr * __restrict from, __socklen_t * __restrict fromlenaddr); }
|
|
+ SYS_ACCEPT = 30 // { int accept(int s, struct sockaddr * __restrict name, __socklen_t * __restrict anamelen); }
|
|
+ SYS_GETPEERNAME = 31 // { int getpeername(int fdes, struct sockaddr * __restrict asa, __socklen_t * __restrict alen); }
|
|
+ SYS_GETSOCKNAME = 32 // { int getsockname(int fdes, struct sockaddr * __restrict asa, __socklen_t * __restrict alen); }
|
|
+ SYS_ACCESS = 33 // { int access(char *path, int amode); }
|
|
+ SYS_CHFLAGS = 34 // { int chflags(const char *path, u_long flags); }
|
|
+ SYS_FCHFLAGS = 35 // { int fchflags(int fd, u_long flags); }
|
|
+ SYS_SYNC = 36 // { int sync(void); }
|
|
+ SYS_KILL = 37 // { int kill(int pid, int signum); }
|
|
+ SYS_GETPPID = 39 // { pid_t getppid(void); }
|
|
+ SYS_DUP = 41 // { int dup(u_int fd); }
|
|
+ SYS_GETEGID = 43 // { gid_t getegid(void); }
|
|
+ SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, size_t offset, u_int scale); }
|
|
+ SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, int pid); }
|
|
+ SYS_GETGID = 47 // { gid_t getgid(void); }
|
|
+ SYS_GETLOGIN = 49 // { int getlogin(char *namebuf, u_int namelen); }
|
|
+ SYS_SETLOGIN = 50 // { int setlogin(char *namebuf); }
|
|
+ SYS_ACCT = 51 // { int acct(char *path); }
|
|
+ SYS_SIGALTSTACK = 53 // { int sigaltstack(stack_t *ss, stack_t *oss); }
|
|
+ SYS_IOCTL = 54 // { int ioctl(int fd, u_long com, caddr_t data); }
|
|
+ SYS_REBOOT = 55 // { int reboot(int opt); }
|
|
+ SYS_REVOKE = 56 // { int revoke(char *path); }
|
|
+ SYS_SYMLINK = 57 // { int symlink(char *path, char *link); }
|
|
+ SYS_READLINK = 58 // { ssize_t readlink(char *path, char *buf, size_t count); }
|
|
+ SYS_EXECVE = 59 // { int execve(char *fname, char **argv, char **envv); }
|
|
+ SYS_UMASK = 60 // { int umask(int newmask); }
|
|
+ SYS_CHROOT = 61 // { int chroot(char *path); }
|
|
+ SYS_MSYNC = 65 // { int msync(void *addr, size_t len, int flags); }
|
|
+ SYS_VFORK = 66 // { int vfork(void); }
|
|
+ SYS_SBRK = 69 // { int sbrk(int incr); }
|
|
+ SYS_SSTK = 70 // { int sstk(int incr); }
|
|
+ SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); }
|
|
+ SYS_MPROTECT = 74 // { int mprotect(void *addr, size_t len, int prot); }
|
|
+ SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, int behav); }
|
|
+ SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, char *vec); }
|
|
+ SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, gid_t *gidset); }
|
|
+ SYS_SETGROUPS = 80 // { int setgroups(u_int gidsetsize, gid_t *gidset); }
|
|
+ SYS_GETPGRP = 81 // { int getpgrp(void); }
|
|
+ SYS_SETPGID = 82 // { int setpgid(int pid, int pgid); }
|
|
+ SYS_SETITIMER = 83 // { int setitimer(u_int which, struct itimerval *itv, struct itimerval *oitv); }
|
|
+ SYS_SWAPON = 85 // { int swapon(char *name); }
|
|
+ SYS_GETITIMER = 86 // { int getitimer(u_int which, struct itimerval *itv); }
|
|
+ SYS_GETDTABLESIZE = 89 // { int getdtablesize(void); }
|
|
+ SYS_DUP2 = 90 // { int dup2(u_int from, u_int to); }
|
|
+ SYS_FCNTL = 92 // { int fcntl(int fd, int cmd, long arg); }
|
|
+ SYS_SELECT = 93 // { int select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); }
|
|
+ SYS_FSYNC = 95 // { int fsync(int fd); }
|
|
+ SYS_SETPRIORITY = 96 // { int setpriority(int which, int who, int prio); }
|
|
+ SYS_SOCKET = 97 // { int socket(int domain, int type, int protocol); }
|
|
+ SYS_CONNECT = 98 // { int connect(int s, caddr_t name, int namelen); }
|
|
+ SYS_GETPRIORITY = 100 // { int getpriority(int which, int who); }
|
|
+ SYS_BIND = 104 // { int bind(int s, caddr_t name, int namelen); }
|
|
+ SYS_SETSOCKOPT = 105 // { int setsockopt(int s, int level, int name, caddr_t val, int valsize); }
|
|
+ SYS_LISTEN = 106 // { int listen(int s, int backlog); }
|
|
+ SYS_GETTIMEOFDAY = 116 // { int gettimeofday(struct timeval *tp, struct timezone *tzp); }
|
|
+ SYS_GETRUSAGE = 117 // { int getrusage(int who, struct rusage *rusage); }
|
|
+ SYS_GETSOCKOPT = 118 // { int getsockopt(int s, int level, int name, caddr_t val, int *avalsize); }
|
|
+ SYS_READV = 120 // { int readv(int fd, struct iovec *iovp, u_int iovcnt); }
|
|
+ SYS_WRITEV = 121 // { int writev(int fd, struct iovec *iovp, u_int iovcnt); }
|
|
+ SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, struct timezone *tzp); }
|
|
+ SYS_FCHOWN = 123 // { int fchown(int fd, int uid, int gid); }
|
|
+ SYS_FCHMOD = 124 // { int fchmod(int fd, int mode); }
|
|
+ SYS_SETREUID = 126 // { int setreuid(int ruid, int euid); }
|
|
+ SYS_SETREGID = 127 // { int setregid(int rgid, int egid); }
|
|
+ SYS_RENAME = 128 // { int rename(char *from, char *to); }
|
|
+ SYS_FLOCK = 131 // { int flock(int fd, int how); }
|
|
+ SYS_MKFIFO = 132 // { int mkfifo(char *path, int mode); }
|
|
+ SYS_SENDTO = 133 // { int sendto(int s, caddr_t buf, size_t len, int flags, caddr_t to, int tolen); }
|
|
+ SYS_SHUTDOWN = 134 // { int shutdown(int s, int how); }
|
|
+ SYS_SOCKETPAIR = 135 // { int socketpair(int domain, int type, int protocol, int *rsv); }
|
|
+ SYS_MKDIR = 136 // { int mkdir(char *path, int mode); }
|
|
+ SYS_RMDIR = 137 // { int rmdir(char *path); }
|
|
+ SYS_UTIMES = 138 // { int utimes(char *path, struct timeval *tptr); }
|
|
+ SYS_ADJTIME = 140 // { int adjtime(struct timeval *delta, struct timeval *olddelta); }
|
|
+ SYS_SETSID = 147 // { int setsid(void); }
|
|
+ SYS_QUOTACTL = 148 // { int quotactl(char *path, int cmd, int uid, caddr_t arg); }
|
|
+ SYS_NLM_SYSCALL = 154 // { int nlm_syscall(int debug_level, int grace_period, int addr_count, char **addrs); }
|
|
+ SYS_NFSSVC = 155 // { int nfssvc(int flag, caddr_t argp); }
|
|
+ SYS_LGETFH = 160 // { int lgetfh(char *fname, struct fhandle *fhp); }
|
|
+ SYS_GETFH = 161 // { int getfh(char *fname, struct fhandle *fhp); }
|
|
+ SYS_SYSARCH = 165 // { int sysarch(int op, char *parms); }
|
|
+ SYS_RTPRIO = 166 // { int rtprio(int function, pid_t pid, struct rtprio *rtp); }
|
|
+ SYS_SEMSYS = 169 // { int semsys(int which, int a2, int a3, int a4, int a5); }
|
|
+ SYS_MSGSYS = 170 // { int msgsys(int which, int a2, int a3, int a4, int a5, int a6); }
|
|
+ SYS_SHMSYS = 171 // { int shmsys(int which, int a2, int a3, int a4); }
|
|
+ SYS_SETFIB = 175 // { int setfib(int fibnum); }
|
|
+ SYS_NTP_ADJTIME = 176 // { int ntp_adjtime(struct timex *tp); }
|
|
+ SYS_SETGID = 181 // { int setgid(gid_t gid); }
|
|
+ SYS_SETEGID = 182 // { int setegid(gid_t egid); }
|
|
+ SYS_SETEUID = 183 // { int seteuid(uid_t euid); }
|
|
+ SYS_PATHCONF = 191 // { int pathconf(char *path, int name); }
|
|
+ SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); }
|
|
+ SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, struct rlimit *rlp); } getrlimit __getrlimit_args int
|
|
+ SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int
|
|
+ SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } __sysctl sysctl_args int
|
|
+ SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); }
|
|
+ SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); }
|
|
+ SYS_UNDELETE = 205 // { int undelete(char *path); }
|
|
+ SYS_FUTIMES = 206 // { int futimes(int fd, struct timeval *tptr); }
|
|
+ SYS_GETPGID = 207 // { int getpgid(pid_t pid); }
|
|
+ SYS_POLL = 209 // { int poll(struct pollfd *fds, u_int nfds, int timeout); }
|
|
+ SYS_SEMGET = 221 // { int semget(key_t key, int nsems, int semflg); }
|
|
+ SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, size_t nsops); }
|
|
+ SYS_MSGGET = 225 // { int msgget(key_t key, int msgflg); }
|
|
+ SYS_MSGSND = 226 // { int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); }
|
|
+ SYS_MSGRCV = 227 // { ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
|
|
+ SYS_SHMAT = 228 // { int shmat(int shmid, const void *shmaddr, int shmflg); }
|
|
+ SYS_SHMDT = 230 // { int shmdt(const void *shmaddr); }
|
|
+ SYS_SHMGET = 231 // { int shmget(key_t key, size_t size, int shmflg); }
|
|
+ SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, struct timespec *tp); }
|
|
+ SYS_CLOCK_SETTIME = 233 // { int clock_settime(clockid_t clock_id, const struct timespec *tp); }
|
|
+ SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, struct timespec *tp); }
|
|
+ SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, struct sigevent *evp, int *timerid); }
|
|
+ SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); }
|
|
+ SYS_KTIMER_SETTIME = 237 // { int ktimer_settime(int timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue); }
|
|
+ SYS_KTIMER_GETTIME = 238 // { int ktimer_gettime(int timerid, struct itimerspec *value); }
|
|
+ SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); }
|
|
+ SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); }
|
|
+ SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); }
|
|
+ SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate(struct ffclock_estimate *cest); }
|
|
+ SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate(struct ffclock_estimate *cest); }
|
|
+ SYS_CLOCK_NANOSLEEP = 244 // { int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp); }
|
|
+ SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id, int which, clockid_t *clock_id); }
|
|
+ SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); }
|
|
+ SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, int inherit); }
|
|
+ SYS_RFORK = 251 // { int rfork(int flags); }
|
|
+ SYS_ISSETUGID = 253 // { int issetugid(void); }
|
|
+ SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); }
|
|
+ SYS_AIO_READ = 255 // { int aio_read(struct aiocb *aiocbp); }
|
|
+ SYS_AIO_WRITE = 256 // { int aio_write(struct aiocb *aiocbp); }
|
|
+ SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb* const *acb_list, int nent, struct sigevent *sig); }
|
|
+ SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); }
|
|
+ SYS_LUTIMES = 276 // { int lutimes(char *path, struct timeval *tptr); }
|
|
+ SYS_PREADV = 289 // { ssize_t preadv(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); }
|
|
+ SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); }
|
|
+ SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); }
|
|
+ SYS_MODNEXT = 300 // { int modnext(int modid); }
|
|
+ SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat* stat); }
|
|
+ SYS_MODFNEXT = 302 // { int modfnext(int modid); }
|
|
+ SYS_MODFIND = 303 // { int modfind(const char *name); }
|
|
+ SYS_KLDLOAD = 304 // { int kldload(const char *file); }
|
|
+ SYS_KLDUNLOAD = 305 // { int kldunload(int fileid); }
|
|
+ SYS_KLDFIND = 306 // { int kldfind(const char *file); }
|
|
+ SYS_KLDNEXT = 307 // { int kldnext(int fileid); }
|
|
+ SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct kld_file_stat *stat); }
|
|
+ SYS_KLDFIRSTMOD = 309 // { int kldfirstmod(int fileid); }
|
|
+ SYS_GETSID = 310 // { int getsid(pid_t pid); }
|
|
+ SYS_SETRESUID = 311 // { int setresuid(uid_t ruid, uid_t euid, uid_t suid); }
|
|
+ SYS_SETRESGID = 312 // { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
|
|
+ SYS_AIO_RETURN = 314 // { ssize_t aio_return(struct aiocb *aiocbp); }
|
|
+ SYS_AIO_SUSPEND = 315 // { int aio_suspend(struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); }
|
|
+ SYS_AIO_CANCEL = 316 // { int aio_cancel(int fd, struct aiocb *aiocbp); }
|
|
+ SYS_AIO_ERROR = 317 // { int aio_error(struct aiocb *aiocbp); }
|
|
+ SYS_YIELD = 321 // { int yield(void); }
|
|
+ SYS_MLOCKALL = 324 // { int mlockall(int how); }
|
|
+ SYS_MUNLOCKALL = 325 // { int munlockall(void); }
|
|
+ SYS___GETCWD = 326 // { int __getcwd(char *buf, size_t buflen); }
|
|
+ SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, const struct sched_param *param); }
|
|
+ SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct sched_param *param); }
|
|
+ SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); }
|
|
+ SYS_SCHED_GETSCHEDULER = 330 // { int sched_getscheduler (pid_t pid); }
|
|
+ SYS_SCHED_YIELD = 331 // { int sched_yield (void); }
|
|
+ SYS_SCHED_GET_PRIORITY_MAX = 332 // { int sched_get_priority_max (int policy); }
|
|
+ SYS_SCHED_GET_PRIORITY_MIN = 333 // { int sched_get_priority_min (int policy); }
|
|
+ SYS_SCHED_RR_GET_INTERVAL = 334 // { int sched_rr_get_interval (pid_t pid, struct timespec *interval); }
|
|
+ SYS_UTRACE = 335 // { int utrace(const void *addr, size_t len); }
|
|
+ SYS_KLDSYM = 337 // { int kldsym(int fileid, int cmd, void *data); }
|
|
+ SYS_JAIL = 338 // { int jail(struct jail *jail); }
|
|
+ SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, const sigset_t *set, sigset_t *oset); }
|
|
+ SYS_SIGSUSPEND = 341 // { int sigsuspend(const sigset_t *sigmask); }
|
|
+ SYS_SIGPENDING = 343 // { int sigpending(sigset_t *set); }
|
|
+ SYS_SIGTIMEDWAIT = 345 // { int sigtimedwait(const sigset_t *set, siginfo_t *info, const struct timespec *timeout); }
|
|
+ SYS_SIGWAITINFO = 346 // { int sigwaitinfo(const sigset_t *set, siginfo_t *info); }
|
|
+ SYS___ACL_GET_FILE = 347 // { int __acl_get_file(const char *path, acl_type_t type, struct acl *aclp); }
|
|
+ SYS___ACL_SET_FILE = 348 // { int __acl_set_file(const char *path, acl_type_t type, struct acl *aclp); }
|
|
+ SYS___ACL_GET_FD = 349 // { int __acl_get_fd(int filedes, acl_type_t type, struct acl *aclp); }
|
|
+ SYS___ACL_SET_FD = 350 // { int __acl_set_fd(int filedes, acl_type_t type, struct acl *aclp); }
|
|
+ SYS___ACL_DELETE_FILE = 351 // { int __acl_delete_file(const char *path, acl_type_t type); }
|
|
+ SYS___ACL_DELETE_FD = 352 // { int __acl_delete_fd(int filedes, acl_type_t type); }
|
|
+ SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, acl_type_t type, struct acl *aclp); }
|
|
+ SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, struct acl *aclp); }
|
|
+ SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); }
|
|
+ SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, int attrnamespace, const char *attrname); }
|
|
+ SYS_AIO_WAITCOMPLETE = 359 // { ssize_t aio_waitcomplete(struct aiocb **aiocbp, struct timespec *timeout); }
|
|
+ SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); }
|
|
+ SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
|
|
+ SYS_KQUEUE = 362 // { int kqueue(void); }
|
|
+ SYS_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, int attrnamespace, const char *attrname); }
|
|
+ SYS___SETUGID = 374 // { int __setugid(int flag); }
|
|
+ SYS_EACCESS = 376 // { int eaccess(char *path, int amode); }
|
|
+ SYS_NMOUNT = 378 // { int nmount(struct iovec *iovp, unsigned int iovcnt, int flags); }
|
|
+ SYS___MAC_GET_PROC = 384 // { int __mac_get_proc(struct mac *mac_p); }
|
|
+ SYS___MAC_SET_PROC = 385 // { int __mac_set_proc(struct mac *mac_p); }
|
|
+ SYS___MAC_GET_FD = 386 // { int __mac_get_fd(int fd, struct mac *mac_p); }
|
|
+ SYS___MAC_GET_FILE = 387 // { int __mac_get_file(const char *path_p, struct mac *mac_p); }
|
|
+ SYS___MAC_SET_FD = 388 // { int __mac_set_fd(int fd, struct mac *mac_p); }
|
|
+ SYS___MAC_SET_FILE = 389 // { int __mac_set_file(const char *path_p, struct mac *mac_p); }
|
|
+ SYS_KENV = 390 // { int kenv(int what, const char *name, char *value, int len); }
|
|
+ SYS_LCHFLAGS = 391 // { int lchflags(const char *path, u_long flags); }
|
|
+ SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, int count); }
|
|
+ SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, struct sf_hdtr *hdtr, off_t *sbytes, int flags); }
|
|
+ SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, int call, void *arg); }
|
|
+ SYS_KSEM_CLOSE = 400 // { int ksem_close(semid_t id); }
|
|
+ SYS_KSEM_POST = 401 // { int ksem_post(semid_t id); }
|
|
+ SYS_KSEM_WAIT = 402 // { int ksem_wait(semid_t id); }
|
|
+ SYS_KSEM_TRYWAIT = 403 // { int ksem_trywait(semid_t id); }
|
|
+ SYS_KSEM_INIT = 404 // { int ksem_init(semid_t *idp, unsigned int value); }
|
|
+ SYS_KSEM_OPEN = 405 // { int ksem_open(semid_t *idp, const char *name, int oflag, mode_t mode, unsigned int value); }
|
|
+ SYS_KSEM_UNLINK = 406 // { int ksem_unlink(const char *name); }
|
|
+ SYS_KSEM_GETVALUE = 407 // { int ksem_getvalue(semid_t id, int *val); }
|
|
+ SYS_KSEM_DESTROY = 408 // { int ksem_destroy(semid_t id); }
|
|
+ SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, struct mac *mac_p); }
|
|
+ SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, struct mac *mac_p); }
|
|
+ SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, struct mac *mac_p); }
|
|
+ SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link(const char *path, int attrnamespace, const char *attrname); }
|
|
+ SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, char **envv, struct mac *mac_p); }
|
|
+ SYS_SIGACTION = 416 // { int sigaction(int sig, const struct sigaction *act, struct sigaction *oact); }
|
|
+ SYS_SIGRETURN = 417 // { int sigreturn(const struct __ucontext *sigcntxp); }
|
|
+ SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); }
|
|
+ SYS_SETCONTEXT = 422 // { int setcontext(const struct __ucontext *ucp); }
|
|
+ SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, const struct __ucontext *ucp); }
|
|
+ SYS_SWAPOFF = 424 // { int swapoff(const char *name); }
|
|
+ SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, acl_type_t type, struct acl *aclp); }
|
|
+ SYS___ACL_SET_LINK = 426 // { int __acl_set_link(const char *path, acl_type_t type, struct acl *aclp); }
|
|
+ SYS___ACL_DELETE_LINK = 427 // { int __acl_delete_link(const char *path, acl_type_t type); }
|
|
+ SYS___ACL_ACLCHECK_LINK = 428 // { int __acl_aclcheck_link(const char *path, acl_type_t type, struct acl *aclp); }
|
|
+ SYS_SIGWAIT = 429 // { int sigwait(const sigset_t *set, int *sig); }
|
|
+ SYS_THR_CREATE = 430 // { int thr_create(ucontext_t *ctx, long *id, int flags); }
|
|
+ SYS_THR_EXIT = 431 // { void thr_exit(long *state); }
|
|
+ SYS_THR_SELF = 432 // { int thr_self(long *id); }
|
|
+ SYS_THR_KILL = 433 // { int thr_kill(long id, int sig); }
|
|
+ SYS_JAIL_ATTACH = 436 // { int jail_attach(int jid); }
|
|
+ SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file(const char *path, int attrnamespace, void *data, size_t nbytes); }
|
|
+ SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link(const char *path, int attrnamespace, void *data, size_t nbytes); }
|
|
+ SYS_KSEM_TIMEDWAIT = 441 // { int ksem_timedwait(semid_t id, const struct timespec *abstime); }
|
|
+ SYS_THR_SUSPEND = 442 // { int thr_suspend(const struct timespec *timeout); }
|
|
+ SYS_THR_WAKE = 443 // { int thr_wake(long id); }
|
|
+ SYS_KLDUNLOADF = 444 // { int kldunloadf(int fileid, int flags); }
|
|
+ SYS_AUDIT = 445 // { int audit(const void *record, u_int length); }
|
|
+ SYS_AUDITON = 446 // { int auditon(int cmd, void *data, u_int length); }
|
|
+ SYS_GETAUID = 447 // { int getauid(uid_t *auid); }
|
|
+ SYS_SETAUID = 448 // { int setauid(uid_t *auid); }
|
|
+ SYS_GETAUDIT = 449 // { int getaudit(struct auditinfo *auditinfo); }
|
|
+ SYS_SETAUDIT = 450 // { int setaudit(struct auditinfo *auditinfo); }
|
|
+ SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); }
|
|
+ SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); }
|
|
+ SYS_AUDITCTL = 453 // { int auditctl(char *path); }
|
|
+ SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, u_long val, void *uaddr1, void *uaddr2); }
|
|
+ SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, int param_size); }
|
|
+ SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); }
|
|
+ SYS_KMQ_OPEN = 457 // { int kmq_open(const char *path, int flags, mode_t mode, const struct mq_attr *attr); }
|
|
+ SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); }
|
|
+ SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); }
|
|
+ SYS_KMQ_TIMEDSEND = 460 // { int kmq_timedsend(int mqd, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abs_timeout); }
|
|
+ SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); }
|
|
+ SYS_KMQ_UNLINK = 462 // { int kmq_unlink(const char *path); }
|
|
+ SYS_ABORT2 = 463 // { int abort2(const char *why, int nargs, void **args); }
|
|
+ SYS_THR_SET_NAME = 464 // { int thr_set_name(long id, const char *name); }
|
|
+ SYS_AIO_FSYNC = 465 // { int aio_fsync(int op, struct aiocb *aiocbp); }
|
|
+ SYS_RTPRIO_THREAD = 466 // { int rtprio_thread(int function, lwpid_t lwpid, struct rtprio *rtp); }
|
|
+ SYS_SCTP_PEELOFF = 471 // { int sctp_peeloff(int sd, uint32_t name); }
|
|
+ SYS_SCTP_GENERIC_SENDMSG = 472 // { int sctp_generic_sendmsg(int sd, caddr_t msg, int mlen, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); }
|
|
+ SYS_SCTP_GENERIC_SENDMSG_IOV = 473 // { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); }
|
|
+ SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, struct sockaddr *from, __socklen_t *fromlenaddr, struct sctp_sndrcvinfo *sinfo, int *msg_flags); }
|
|
+ SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, size_t nbyte, off_t offset); }
|
|
+ SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, size_t nbyte, off_t offset); }
|
|
+ SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos); }
|
|
+ SYS_LSEEK = 478 // { off_t lseek(int fd, off_t offset, int whence); }
|
|
+ SYS_TRUNCATE = 479 // { int truncate(char *path, off_t length); }
|
|
+ SYS_FTRUNCATE = 480 // { int ftruncate(int fd, off_t length); }
|
|
+ SYS_THR_KILL2 = 481 // { int thr_kill2(pid_t pid, long id, int sig); }
|
|
+ SYS_SHM_OPEN = 482 // { int shm_open(const char *path, int flags, mode_t mode); }
|
|
+ SYS_SHM_UNLINK = 483 // { int shm_unlink(const char *path); }
|
|
+ SYS_CPUSET = 484 // { int cpuset(cpusetid_t *setid); }
|
|
+ SYS_CPUSET_SETID = 485 // { int cpuset_setid(cpuwhich_t which, id_t id, cpusetid_t setid); }
|
|
+ SYS_CPUSET_GETID = 486 // { int cpuset_getid(cpulevel_t level, cpuwhich_t which, id_t id, cpusetid_t *setid); }
|
|
+ SYS_CPUSET_GETAFFINITY = 487 // { int cpuset_getaffinity(cpulevel_t level, cpuwhich_t which, id_t id, size_t cpusetsize, cpuset_t *mask); }
|
|
+ SYS_CPUSET_SETAFFINITY = 488 // { int cpuset_setaffinity(cpulevel_t level, cpuwhich_t which, id_t id, size_t cpusetsize, const cpuset_t *mask); }
|
|
+ SYS_FACCESSAT = 489 // { int faccessat(int fd, char *path, int amode, int flag); }
|
|
+ SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, int flag); }
|
|
+ SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, gid_t gid, int flag); }
|
|
+ SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, char **envv); }
|
|
+ SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, struct timeval *times); }
|
|
+ SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, char *path2, int flag); }
|
|
+ SYS_MKDIRAT = 496 // { int mkdirat(int fd, char *path, mode_t mode); }
|
|
+ SYS_MKFIFOAT = 497 // { int mkfifoat(int fd, char *path, mode_t mode); }
|
|
+ SYS_OPENAT = 499 // { int openat(int fd, char *path, int flag, mode_t mode); }
|
|
+ SYS_READLINKAT = 500 // { ssize_t readlinkat(int fd, char *path, char *buf, size_t bufsize); }
|
|
+ SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, char *new); }
|
|
+ SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, char *path2); }
|
|
+ SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); }
|
|
+ SYS_POSIX_OPENPT = 504 // { int posix_openpt(int flags); }
|
|
+ SYS_GSSD_SYSCALL = 505 // { int gssd_syscall(char *path); }
|
|
+ SYS_JAIL_GET = 506 // { int jail_get(struct iovec *iovp, unsigned int iovcnt, int flags); }
|
|
+ SYS_JAIL_SET = 507 // { int jail_set(struct iovec *iovp, unsigned int iovcnt, int flags); }
|
|
+ SYS_JAIL_REMOVE = 508 // { int jail_remove(int jid); }
|
|
+ SYS_CLOSEFROM = 509 // { int closefrom(int lowfd); }
|
|
+ SYS___SEMCTL = 510 // { int __semctl(int semid, int semnum, int cmd, union semun *arg); }
|
|
+ SYS_MSGCTL = 511 // { int msgctl(int msqid, int cmd, struct msqid_ds *buf); }
|
|
+ SYS_SHMCTL = 512 // { int shmctl(int shmid, int cmd, struct shmid_ds *buf); }
|
|
+ SYS_LPATHCONF = 513 // { int lpathconf(char *path, int name); }
|
|
+ SYS___CAP_RIGHTS_GET = 515 // { int __cap_rights_get(int version, int fd, cap_rights_t *rightsp); }
|
|
+ SYS_CAP_ENTER = 516 // { int cap_enter(void); }
|
|
+ SYS_CAP_GETMODE = 517 // { int cap_getmode(u_int *modep); }
|
|
+ SYS_PDFORK = 518 // { int pdfork(int *fdp, int flags); }
|
|
+ SYS_PDKILL = 519 // { int pdkill(int fd, int signum); }
|
|
+ SYS_PDGETPID = 520 // { int pdgetpid(int fd, pid_t *pidp); }
|
|
+ SYS_PSELECT = 522 // { int pselect(int nd, fd_set *in, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *sm); }
|
|
+ SYS_GETLOGINCLASS = 523 // { int getloginclass(char *namebuf, size_t namelen); }
|
|
+ SYS_SETLOGINCLASS = 524 // { int setloginclass(const char *namebuf); }
|
|
+ SYS_RCTL_GET_RACCT = 525 // { int rctl_get_racct(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); }
|
|
+ SYS_RCTL_GET_RULES = 526 // { int rctl_get_rules(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); }
|
|
+ SYS_RCTL_GET_LIMITS = 527 // { int rctl_get_limits(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); }
|
|
+ SYS_RCTL_ADD_RULE = 528 // { int rctl_add_rule(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); }
|
|
+ SYS_RCTL_REMOVE_RULE = 529 // { int rctl_remove_rule(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); }
|
|
+ SYS_POSIX_FALLOCATE = 530 // { int posix_fallocate(int fd, off_t offset, off_t len); }
|
|
+ SYS_POSIX_FADVISE = 531 // { int posix_fadvise(int fd, off_t offset, off_t len, int advice); }
|
|
+ SYS_WAIT6 = 532 // { int wait6(idtype_t idtype, id_t id, int *status, int options, struct __wrusage *wrusage, siginfo_t *info); }
|
|
+ SYS_CAP_RIGHTS_LIMIT = 533 // { int cap_rights_limit(int fd, cap_rights_t *rightsp); }
|
|
+ SYS_CAP_IOCTLS_LIMIT = 534 // { int cap_ioctls_limit(int fd, const u_long *cmds, size_t ncmds); }
|
|
+ SYS_CAP_IOCTLS_GET = 535 // { ssize_t cap_ioctls_get(int fd, u_long *cmds, size_t maxcmds); }
|
|
+ SYS_CAP_FCNTLS_LIMIT = 536 // { int cap_fcntls_limit(int fd, uint32_t fcntlrights); }
|
|
+ SYS_CAP_FCNTLS_GET = 537 // { int cap_fcntls_get(int fd, uint32_t *fcntlrightsp); }
|
|
+ SYS_BINDAT = 538 // { int bindat(int fd, int s, caddr_t name, int namelen); }
|
|
+ SYS_CONNECTAT = 539 // { int connectat(int fd, int s, caddr_t name, int namelen); }
|
|
+ SYS_CHFLAGSAT = 540 // { int chflagsat(int fd, const char *path, u_long flags, int atflag); }
|
|
+ SYS_ACCEPT4 = 541 // { int accept4(int s, struct sockaddr * __restrict name, __socklen_t * __restrict anamelen, int flags); }
|
|
+ SYS_PIPE2 = 542 // { int pipe2(int *fildes, int flags); }
|
|
+ SYS_AIO_MLOCK = 543 // { int aio_mlock(struct aiocb *aiocbp); }
|
|
+ SYS_PROCCTL = 544 // { int procctl(idtype_t idtype, id_t id, int com, void *data); }
|
|
+ SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *set); }
|
|
+ SYS_FUTIMENS = 546 // { int futimens(int fd, struct timespec *times); }
|
|
+ SYS_UTIMENSAT = 547 // { int utimensat(int fd, char *path, struct timespec *times, int flag); }
|
|
+ SYS_FDATASYNC = 550 // { int fdatasync(int fd); }
|
|
+ SYS_FSTAT = 551 // { int fstat(int fd, struct stat *sb); }
|
|
+ SYS_FSTATAT = 552 // { int fstatat(int fd, char *path, struct stat *buf, int flag); }
|
|
+ SYS_FHSTAT = 553 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); }
|
|
+ SYS_GETDIRENTRIES = 554 // { ssize_t getdirentries(int fd, char *buf, size_t count, off_t *basep); }
|
|
+ SYS_STATFS = 555 // { int statfs(char *path, struct statfs *buf); }
|
|
+ SYS_FSTATFS = 556 // { int fstatfs(int fd, struct statfs *buf); }
|
|
+ SYS_GETFSSTAT = 557 // { int getfsstat(struct statfs *buf, long bufsize, int mode); }
|
|
+ SYS_FHSTATFS = 558 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); }
|
|
+ SYS_MKNODAT = 559 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); }
|
|
+ SYS_KEVENT = 560 // { int kevent(int fd, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); }
|
|
+ SYS_CPUSET_GETDOMAIN = 561 // { int cpuset_getdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int *policy); }
|
|
+ SYS_CPUSET_SETDOMAIN = 562 // { int cpuset_setdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int policy); }
|
|
+ SYS_GETRANDOM = 563 // { int getrandom(void *buf, size_t buflen, unsigned int flags); }
|
|
+ SYS_GETFHAT = 564 // { int getfhat(int fd, char *path, struct fhandle *fhp, int flags); }
|
|
+ SYS_FHLINK = 565 // { int fhlink(struct fhandle *fhp, const char *to); }
|
|
+ SYS_FHLINKAT = 566 // { int fhlinkat(struct fhandle *fhp, int tofd, const char *to,); }
|
|
+ SYS_FHREADLINK = 567 // { int fhreadlink(struct fhandle *fhp, char *buf, size_t bufsize); }
|
|
+ SYS___SYSCTLBYNAME = 570 // { int __sysctlbyname(const char *name, size_t namelen, void *old, size_t *oldlenp, void *new, size_t newlen); }
|
|
+ SYS_CLOSE_RANGE = 575 // { int close_range(u_int lowfd, u_int highfd, int flags); }
|
|
+)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go
|
|
index 31847d2..c9c4ad0 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include -m32 /tmp/include/asm/unistd.h
|
|
+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/386/include -m32 /tmp/386/include/asm/unistd.h
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build 386 && linux
|
|
@@ -445,4 +445,6 @@ const (
|
|
SYS_LANDLOCK_RESTRICT_SELF = 446
|
|
SYS_MEMFD_SECRET = 447
|
|
SYS_PROCESS_MRELEASE = 448
|
|
+ SYS_FUTEX_WAITV = 449
|
|
+ SYS_SET_MEMPOLICY_HOME_NODE = 450
|
|
)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go
|
|
index 3503cbb..12ff341 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include -m64 /tmp/include/asm/unistd.h
|
|
+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/amd64/include -m64 /tmp/amd64/include/asm/unistd.h
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build amd64 && linux
|
|
@@ -367,4 +367,6 @@ const (
|
|
SYS_LANDLOCK_RESTRICT_SELF = 446
|
|
SYS_MEMFD_SECRET = 447
|
|
SYS_PROCESS_MRELEASE = 448
|
|
+ SYS_FUTEX_WAITV = 449
|
|
+ SYS_SET_MEMPOLICY_HOME_NODE = 450
|
|
)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go
|
|
index 5ecd24b..c3fb5e7 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
|
|
+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/arm/include /tmp/arm/include/asm/unistd.h
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build arm && linux
|
|
@@ -409,4 +409,6 @@ const (
|
|
SYS_LANDLOCK_ADD_RULE = 445
|
|
SYS_LANDLOCK_RESTRICT_SELF = 446
|
|
SYS_PROCESS_MRELEASE = 448
|
|
+ SYS_FUTEX_WAITV = 449
|
|
+ SYS_SET_MEMPOLICY_HOME_NODE = 450
|
|
)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go
|
|
index 7e5c94c..358c847 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include -fsigned-char /tmp/include/asm/unistd.h
|
|
+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/arm64/include -fsigned-char /tmp/arm64/include/asm/unistd.h
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build arm64 && linux
|
|
@@ -312,4 +312,6 @@ const (
|
|
SYS_LANDLOCK_RESTRICT_SELF = 446
|
|
SYS_MEMFD_SECRET = 447
|
|
SYS_PROCESS_MRELEASE = 448
|
|
+ SYS_FUTEX_WAITV = 449
|
|
+ SYS_SET_MEMPOLICY_HOME_NODE = 450
|
|
)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go
|
|
new file mode 100644
|
|
index 0000000..81c4849
|
|
--- /dev/null
|
|
+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go
|
|
@@ -0,0 +1,311 @@
|
|
+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/loong64/include /tmp/loong64/include/asm/unistd.h
|
|
+// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
+
|
|
+//go:build loong64 && linux
|
|
+// +build loong64,linux
|
|
+
|
|
+package unix
|
|
+
|
|
+const (
|
|
+ SYS_IO_SETUP = 0
|
|
+ SYS_IO_DESTROY = 1
|
|
+ SYS_IO_SUBMIT = 2
|
|
+ SYS_IO_CANCEL = 3
|
|
+ SYS_IO_GETEVENTS = 4
|
|
+ SYS_SETXATTR = 5
|
|
+ SYS_LSETXATTR = 6
|
|
+ SYS_FSETXATTR = 7
|
|
+ SYS_GETXATTR = 8
|
|
+ SYS_LGETXATTR = 9
|
|
+ SYS_FGETXATTR = 10
|
|
+ SYS_LISTXATTR = 11
|
|
+ SYS_LLISTXATTR = 12
|
|
+ SYS_FLISTXATTR = 13
|
|
+ SYS_REMOVEXATTR = 14
|
|
+ SYS_LREMOVEXATTR = 15
|
|
+ SYS_FREMOVEXATTR = 16
|
|
+ SYS_GETCWD = 17
|
|
+ SYS_LOOKUP_DCOOKIE = 18
|
|
+ SYS_EVENTFD2 = 19
|
|
+ SYS_EPOLL_CREATE1 = 20
|
|
+ SYS_EPOLL_CTL = 21
|
|
+ SYS_EPOLL_PWAIT = 22
|
|
+ SYS_DUP = 23
|
|
+ SYS_DUP3 = 24
|
|
+ SYS_FCNTL = 25
|
|
+ SYS_INOTIFY_INIT1 = 26
|
|
+ SYS_INOTIFY_ADD_WATCH = 27
|
|
+ SYS_INOTIFY_RM_WATCH = 28
|
|
+ SYS_IOCTL = 29
|
|
+ SYS_IOPRIO_SET = 30
|
|
+ SYS_IOPRIO_GET = 31
|
|
+ SYS_FLOCK = 32
|
|
+ SYS_MKNODAT = 33
|
|
+ SYS_MKDIRAT = 34
|
|
+ SYS_UNLINKAT = 35
|
|
+ SYS_SYMLINKAT = 36
|
|
+ SYS_LINKAT = 37
|
|
+ SYS_UMOUNT2 = 39
|
|
+ SYS_MOUNT = 40
|
|
+ SYS_PIVOT_ROOT = 41
|
|
+ SYS_NFSSERVCTL = 42
|
|
+ SYS_STATFS = 43
|
|
+ SYS_FSTATFS = 44
|
|
+ SYS_TRUNCATE = 45
|
|
+ SYS_FTRUNCATE = 46
|
|
+ SYS_FALLOCATE = 47
|
|
+ SYS_FACCESSAT = 48
|
|
+ SYS_CHDIR = 49
|
|
+ SYS_FCHDIR = 50
|
|
+ SYS_CHROOT = 51
|
|
+ SYS_FCHMOD = 52
|
|
+ SYS_FCHMODAT = 53
|
|
+ SYS_FCHOWNAT = 54
|
|
+ SYS_FCHOWN = 55
|
|
+ SYS_OPENAT = 56
|
|
+ SYS_CLOSE = 57
|
|
+ SYS_VHANGUP = 58
|
|
+ SYS_PIPE2 = 59
|
|
+ SYS_QUOTACTL = 60
|
|
+ SYS_GETDENTS64 = 61
|
|
+ SYS_LSEEK = 62
|
|
+ SYS_READ = 63
|
|
+ SYS_WRITE = 64
|
|
+ SYS_READV = 65
|
|
+ SYS_WRITEV = 66
|
|
+ SYS_PREAD64 = 67
|
|
+ SYS_PWRITE64 = 68
|
|
+ SYS_PREADV = 69
|
|
+ SYS_PWRITEV = 70
|
|
+ SYS_SENDFILE = 71
|
|
+ SYS_PSELECT6 = 72
|
|
+ SYS_PPOLL = 73
|
|
+ SYS_SIGNALFD4 = 74
|
|
+ SYS_VMSPLICE = 75
|
|
+ SYS_SPLICE = 76
|
|
+ SYS_TEE = 77
|
|
+ SYS_READLINKAT = 78
|
|
+ SYS_SYNC = 81
|
|
+ SYS_FSYNC = 82
|
|
+ SYS_FDATASYNC = 83
|
|
+ SYS_SYNC_FILE_RANGE = 84
|
|
+ SYS_TIMERFD_CREATE = 85
|
|
+ SYS_TIMERFD_SETTIME = 86
|
|
+ SYS_TIMERFD_GETTIME = 87
|
|
+ SYS_UTIMENSAT = 88
|
|
+ SYS_ACCT = 89
|
|
+ SYS_CAPGET = 90
|
|
+ SYS_CAPSET = 91
|
|
+ SYS_PERSONALITY = 92
|
|
+ SYS_EXIT = 93
|
|
+ SYS_EXIT_GROUP = 94
|
|
+ SYS_WAITID = 95
|
|
+ SYS_SET_TID_ADDRESS = 96
|
|
+ SYS_UNSHARE = 97
|
|
+ SYS_FUTEX = 98
|
|
+ SYS_SET_ROBUST_LIST = 99
|
|
+ SYS_GET_ROBUST_LIST = 100
|
|
+ SYS_NANOSLEEP = 101
|
|
+ SYS_GETITIMER = 102
|
|
+ SYS_SETITIMER = 103
|
|
+ SYS_KEXEC_LOAD = 104
|
|
+ SYS_INIT_MODULE = 105
|
|
+ SYS_DELETE_MODULE = 106
|
|
+ SYS_TIMER_CREATE = 107
|
|
+ SYS_TIMER_GETTIME = 108
|
|
+ SYS_TIMER_GETOVERRUN = 109
|
|
+ SYS_TIMER_SETTIME = 110
|
|
+ SYS_TIMER_DELETE = 111
|
|
+ SYS_CLOCK_SETTIME = 112
|
|
+ SYS_CLOCK_GETTIME = 113
|
|
+ SYS_CLOCK_GETRES = 114
|
|
+ SYS_CLOCK_NANOSLEEP = 115
|
|
+ SYS_SYSLOG = 116
|
|
+ SYS_PTRACE = 117
|
|
+ SYS_SCHED_SETPARAM = 118
|
|
+ SYS_SCHED_SETSCHEDULER = 119
|
|
+ SYS_SCHED_GETSCHEDULER = 120
|
|
+ SYS_SCHED_GETPARAM = 121
|
|
+ SYS_SCHED_SETAFFINITY = 122
|
|
+ SYS_SCHED_GETAFFINITY = 123
|
|
+ SYS_SCHED_YIELD = 124
|
|
+ SYS_SCHED_GET_PRIORITY_MAX = 125
|
|
+ SYS_SCHED_GET_PRIORITY_MIN = 126
|
|
+ SYS_SCHED_RR_GET_INTERVAL = 127
|
|
+ SYS_RESTART_SYSCALL = 128
|
|
+ SYS_KILL = 129
|
|
+ SYS_TKILL = 130
|
|
+ SYS_TGKILL = 131
|
|
+ SYS_SIGALTSTACK = 132
|
|
+ SYS_RT_SIGSUSPEND = 133
|
|
+ SYS_RT_SIGACTION = 134
|
|
+ SYS_RT_SIGPROCMASK = 135
|
|
+ SYS_RT_SIGPENDING = 136
|
|
+ SYS_RT_SIGTIMEDWAIT = 137
|
|
+ SYS_RT_SIGQUEUEINFO = 138
|
|
+ SYS_RT_SIGRETURN = 139
|
|
+ SYS_SETPRIORITY = 140
|
|
+ SYS_GETPRIORITY = 141
|
|
+ SYS_REBOOT = 142
|
|
+ SYS_SETREGID = 143
|
|
+ SYS_SETGID = 144
|
|
+ SYS_SETREUID = 145
|
|
+ SYS_SETUID = 146
|
|
+ SYS_SETRESUID = 147
|
|
+ SYS_GETRESUID = 148
|
|
+ SYS_SETRESGID = 149
|
|
+ SYS_GETRESGID = 150
|
|
+ SYS_SETFSUID = 151
|
|
+ SYS_SETFSGID = 152
|
|
+ SYS_TIMES = 153
|
|
+ SYS_SETPGID = 154
|
|
+ SYS_GETPGID = 155
|
|
+ SYS_GETSID = 156
|
|
+ SYS_SETSID = 157
|
|
+ SYS_GETGROUPS = 158
|
|
+ SYS_SETGROUPS = 159
|
|
+ SYS_UNAME = 160
|
|
+ SYS_SETHOSTNAME = 161
|
|
+ SYS_SETDOMAINNAME = 162
|
|
+ SYS_GETRUSAGE = 165
|
|
+ SYS_UMASK = 166
|
|
+ SYS_PRCTL = 167
|
|
+ SYS_GETCPU = 168
|
|
+ SYS_GETTIMEOFDAY = 169
|
|
+ SYS_SETTIMEOFDAY = 170
|
|
+ SYS_ADJTIMEX = 171
|
|
+ SYS_GETPID = 172
|
|
+ SYS_GETPPID = 173
|
|
+ SYS_GETUID = 174
|
|
+ SYS_GETEUID = 175
|
|
+ SYS_GETGID = 176
|
|
+ SYS_GETEGID = 177
|
|
+ SYS_GETTID = 178
|
|
+ SYS_SYSINFO = 179
|
|
+ SYS_MQ_OPEN = 180
|
|
+ SYS_MQ_UNLINK = 181
|
|
+ SYS_MQ_TIMEDSEND = 182
|
|
+ SYS_MQ_TIMEDRECEIVE = 183
|
|
+ SYS_MQ_NOTIFY = 184
|
|
+ SYS_MQ_GETSETATTR = 185
|
|
+ SYS_MSGGET = 186
|
|
+ SYS_MSGCTL = 187
|
|
+ SYS_MSGRCV = 188
|
|
+ SYS_MSGSND = 189
|
|
+ SYS_SEMGET = 190
|
|
+ SYS_SEMCTL = 191
|
|
+ SYS_SEMTIMEDOP = 192
|
|
+ SYS_SEMOP = 193
|
|
+ SYS_SHMGET = 194
|
|
+ SYS_SHMCTL = 195
|
|
+ SYS_SHMAT = 196
|
|
+ SYS_SHMDT = 197
|
|
+ SYS_SOCKET = 198
|
|
+ SYS_SOCKETPAIR = 199
|
|
+ SYS_BIND = 200
|
|
+ SYS_LISTEN = 201
|
|
+ SYS_ACCEPT = 202
|
|
+ SYS_CONNECT = 203
|
|
+ SYS_GETSOCKNAME = 204
|
|
+ SYS_GETPEERNAME = 205
|
|
+ SYS_SENDTO = 206
|
|
+ SYS_RECVFROM = 207
|
|
+ SYS_SETSOCKOPT = 208
|
|
+ SYS_GETSOCKOPT = 209
|
|
+ SYS_SHUTDOWN = 210
|
|
+ SYS_SENDMSG = 211
|
|
+ SYS_RECVMSG = 212
|
|
+ SYS_READAHEAD = 213
|
|
+ SYS_BRK = 214
|
|
+ SYS_MUNMAP = 215
|
|
+ SYS_MREMAP = 216
|
|
+ SYS_ADD_KEY = 217
|
|
+ SYS_REQUEST_KEY = 218
|
|
+ SYS_KEYCTL = 219
|
|
+ SYS_CLONE = 220
|
|
+ SYS_EXECVE = 221
|
|
+ SYS_MMAP = 222
|
|
+ SYS_FADVISE64 = 223
|
|
+ SYS_SWAPON = 224
|
|
+ SYS_SWAPOFF = 225
|
|
+ SYS_MPROTECT = 226
|
|
+ SYS_MSYNC = 227
|
|
+ SYS_MLOCK = 228
|
|
+ SYS_MUNLOCK = 229
|
|
+ SYS_MLOCKALL = 230
|
|
+ SYS_MUNLOCKALL = 231
|
|
+ SYS_MINCORE = 232
|
|
+ SYS_MADVISE = 233
|
|
+ SYS_REMAP_FILE_PAGES = 234
|
|
+ SYS_MBIND = 235
|
|
+ SYS_GET_MEMPOLICY = 236
|
|
+ SYS_SET_MEMPOLICY = 237
|
|
+ SYS_MIGRATE_PAGES = 238
|
|
+ SYS_MOVE_PAGES = 239
|
|
+ SYS_RT_TGSIGQUEUEINFO = 240
|
|
+ SYS_PERF_EVENT_OPEN = 241
|
|
+ SYS_ACCEPT4 = 242
|
|
+ SYS_RECVMMSG = 243
|
|
+ SYS_ARCH_SPECIFIC_SYSCALL = 244
|
|
+ SYS_WAIT4 = 260
|
|
+ SYS_PRLIMIT64 = 261
|
|
+ SYS_FANOTIFY_INIT = 262
|
|
+ SYS_FANOTIFY_MARK = 263
|
|
+ SYS_NAME_TO_HANDLE_AT = 264
|
|
+ SYS_OPEN_BY_HANDLE_AT = 265
|
|
+ SYS_CLOCK_ADJTIME = 266
|
|
+ SYS_SYNCFS = 267
|
|
+ SYS_SETNS = 268
|
|
+ SYS_SENDMMSG = 269
|
|
+ SYS_PROCESS_VM_READV = 270
|
|
+ SYS_PROCESS_VM_WRITEV = 271
|
|
+ SYS_KCMP = 272
|
|
+ SYS_FINIT_MODULE = 273
|
|
+ SYS_SCHED_SETATTR = 274
|
|
+ SYS_SCHED_GETATTR = 275
|
|
+ SYS_RENAMEAT2 = 276
|
|
+ SYS_SECCOMP = 277
|
|
+ SYS_GETRANDOM = 278
|
|
+ SYS_MEMFD_CREATE = 279
|
|
+ SYS_BPF = 280
|
|
+ SYS_EXECVEAT = 281
|
|
+ SYS_USERFAULTFD = 282
|
|
+ SYS_MEMBARRIER = 283
|
|
+ SYS_MLOCK2 = 284
|
|
+ SYS_COPY_FILE_RANGE = 285
|
|
+ SYS_PREADV2 = 286
|
|
+ SYS_PWRITEV2 = 287
|
|
+ SYS_PKEY_MPROTECT = 288
|
|
+ SYS_PKEY_ALLOC = 289
|
|
+ SYS_PKEY_FREE = 290
|
|
+ SYS_STATX = 291
|
|
+ SYS_IO_PGETEVENTS = 292
|
|
+ SYS_RSEQ = 293
|
|
+ SYS_KEXEC_FILE_LOAD = 294
|
|
+ SYS_PIDFD_SEND_SIGNAL = 424
|
|
+ SYS_IO_URING_SETUP = 425
|
|
+ SYS_IO_URING_ENTER = 426
|
|
+ SYS_IO_URING_REGISTER = 427
|
|
+ SYS_OPEN_TREE = 428
|
|
+ SYS_MOVE_MOUNT = 429
|
|
+ SYS_FSOPEN = 430
|
|
+ SYS_FSCONFIG = 431
|
|
+ SYS_FSMOUNT = 432
|
|
+ SYS_FSPICK = 433
|
|
+ SYS_PIDFD_OPEN = 434
|
|
+ SYS_CLONE3 = 435
|
|
+ SYS_CLOSE_RANGE = 436
|
|
+ SYS_OPENAT2 = 437
|
|
+ SYS_PIDFD_GETFD = 438
|
|
+ SYS_FACCESSAT2 = 439
|
|
+ SYS_PROCESS_MADVISE = 440
|
|
+ SYS_EPOLL_PWAIT2 = 441
|
|
+ SYS_MOUNT_SETATTR = 442
|
|
+ SYS_QUOTACTL_FD = 443
|
|
+ SYS_LANDLOCK_CREATE_RULESET = 444
|
|
+ SYS_LANDLOCK_ADD_RULE = 445
|
|
+ SYS_LANDLOCK_RESTRICT_SELF = 446
|
|
+ SYS_PROCESS_MRELEASE = 448
|
|
+ SYS_FUTEX_WAITV = 449
|
|
+ SYS_SET_MEMPOLICY_HOME_NODE = 450
|
|
+)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go
|
|
index e1e2a2b..202a57e 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
|
|
+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/mips/include /tmp/mips/include/asm/unistd.h
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build mips && linux
|
|
@@ -429,4 +429,6 @@ const (
|
|
SYS_LANDLOCK_ADD_RULE = 4445
|
|
SYS_LANDLOCK_RESTRICT_SELF = 4446
|
|
SYS_PROCESS_MRELEASE = 4448
|
|
+ SYS_FUTEX_WAITV = 4449
|
|
+ SYS_SET_MEMPOLICY_HOME_NODE = 4450
|
|
)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go
|
|
index 7651915..1fbceb5 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
|
|
+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/mips64/include /tmp/mips64/include/asm/unistd.h
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build mips64 && linux
|
|
@@ -359,4 +359,6 @@ const (
|
|
SYS_LANDLOCK_ADD_RULE = 5445
|
|
SYS_LANDLOCK_RESTRICT_SELF = 5446
|
|
SYS_PROCESS_MRELEASE = 5448
|
|
+ SYS_FUTEX_WAITV = 5449
|
|
+ SYS_SET_MEMPOLICY_HOME_NODE = 5450
|
|
)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go
|
|
index a26a2c0..b4ffb7a 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
|
|
+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/mips64le/include /tmp/mips64le/include/asm/unistd.h
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build mips64le && linux
|
|
@@ -359,4 +359,6 @@ const (
|
|
SYS_LANDLOCK_ADD_RULE = 5445
|
|
SYS_LANDLOCK_RESTRICT_SELF = 5446
|
|
SYS_PROCESS_MRELEASE = 5448
|
|
+ SYS_FUTEX_WAITV = 5449
|
|
+ SYS_SET_MEMPOLICY_HOME_NODE = 5450
|
|
)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go
|
|
index fda9a6a..867985f 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
|
|
+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/mipsle/include /tmp/mipsle/include/asm/unistd.h
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build mipsle && linux
|
|
@@ -429,4 +429,6 @@ const (
|
|
SYS_LANDLOCK_ADD_RULE = 4445
|
|
SYS_LANDLOCK_RESTRICT_SELF = 4446
|
|
SYS_PROCESS_MRELEASE = 4448
|
|
+ SYS_FUTEX_WAITV = 4449
|
|
+ SYS_SET_MEMPOLICY_HOME_NODE = 4450
|
|
)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go
|
|
index e849615..a8cce69 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
|
|
+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/ppc/include /tmp/ppc/include/asm/unistd.h
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build ppc && linux
|
|
@@ -436,4 +436,6 @@ const (
|
|
SYS_LANDLOCK_ADD_RULE = 445
|
|
SYS_LANDLOCK_RESTRICT_SELF = 446
|
|
SYS_PROCESS_MRELEASE = 448
|
|
+ SYS_FUTEX_WAITV = 449
|
|
+ SYS_SET_MEMPOLICY_HOME_NODE = 450
|
|
)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go
|
|
index 5ee0678..d44c5b3 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
|
|
+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/ppc64/include /tmp/ppc64/include/asm/unistd.h
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build ppc64 && linux
|
|
@@ -408,4 +408,6 @@ const (
|
|
SYS_LANDLOCK_ADD_RULE = 445
|
|
SYS_LANDLOCK_RESTRICT_SELF = 446
|
|
SYS_PROCESS_MRELEASE = 448
|
|
+ SYS_FUTEX_WAITV = 449
|
|
+ SYS_SET_MEMPOLICY_HOME_NODE = 450
|
|
)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go
|
|
index 29c0f9a..4214dd9 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
|
|
+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/ppc64le/include /tmp/ppc64le/include/asm/unistd.h
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build ppc64le && linux
|
|
@@ -408,4 +408,6 @@ const (
|
|
SYS_LANDLOCK_ADD_RULE = 445
|
|
SYS_LANDLOCK_RESTRICT_SELF = 446
|
|
SYS_PROCESS_MRELEASE = 448
|
|
+ SYS_FUTEX_WAITV = 449
|
|
+ SYS_SET_MEMPOLICY_HOME_NODE = 450
|
|
)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go
|
|
index 5c9a9a3..3e594a8 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
|
|
+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/riscv64/include /tmp/riscv64/include/asm/unistd.h
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build riscv64 && linux
|
|
@@ -309,5 +309,8 @@ const (
|
|
SYS_LANDLOCK_CREATE_RULESET = 444
|
|
SYS_LANDLOCK_ADD_RULE = 445
|
|
SYS_LANDLOCK_RESTRICT_SELF = 446
|
|
+ SYS_MEMFD_SECRET = 447
|
|
SYS_PROCESS_MRELEASE = 448
|
|
+ SYS_FUTEX_WAITV = 449
|
|
+ SYS_SET_MEMPOLICY_HOME_NODE = 450
|
|
)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go
|
|
index 913f50f..7ea4652 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include -fsigned-char /tmp/include/asm/unistd.h
|
|
+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/s390x/include -fsigned-char /tmp/s390x/include/asm/unistd.h
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build s390x && linux
|
|
@@ -373,4 +373,6 @@ const (
|
|
SYS_LANDLOCK_ADD_RULE = 445
|
|
SYS_LANDLOCK_RESTRICT_SELF = 446
|
|
SYS_PROCESS_MRELEASE = 448
|
|
+ SYS_FUTEX_WAITV = 449
|
|
+ SYS_SET_MEMPOLICY_HOME_NODE = 450
|
|
)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go
|
|
index 0de03a7..92f628e 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go
|
|
@@ -1,4 +1,4 @@
|
|
-// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
|
|
+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/sparc64/include /tmp/sparc64/include/asm/unistd.h
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build sparc64 && linux
|
|
@@ -387,4 +387,6 @@ const (
|
|
SYS_LANDLOCK_ADD_RULE = 445
|
|
SYS_LANDLOCK_RESTRICT_SELF = 446
|
|
SYS_PROCESS_MRELEASE = 448
|
|
+ SYS_FUTEX_WAITV = 449
|
|
+ SYS_SET_MEMPOLICY_HOME_NODE = 450
|
|
)
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go
|
|
index 817edbf..5977338 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go
|
|
@@ -6,6 +6,7 @@
|
|
|
|
package unix
|
|
|
|
+// Deprecated: Use libc wrappers instead of direct syscalls.
|
|
const (
|
|
SYS_EXIT = 1 // { void sys_exit(int rval); }
|
|
SYS_FORK = 2 // { int sys_fork(void); }
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go
|
|
index ea45361..16af291 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go
|
|
@@ -6,6 +6,7 @@
|
|
|
|
package unix
|
|
|
|
+// Deprecated: Use libc wrappers instead of direct syscalls.
|
|
const (
|
|
SYS_EXIT = 1 // { void sys_exit(int rval); }
|
|
SYS_FORK = 2 // { int sys_fork(void); }
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go
|
|
index 467971e..f59b18a 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go
|
|
@@ -6,6 +6,7 @@
|
|
|
|
package unix
|
|
|
|
+// Deprecated: Use libc wrappers instead of direct syscalls.
|
|
const (
|
|
SYS_EXIT = 1 // { void sys_exit(int rval); }
|
|
SYS_FORK = 2 // { int sys_fork(void); }
|
|
diff --git a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go
|
|
index 32eec5e..721ef59 100644
|
|
--- a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go
|
|
@@ -6,6 +6,7 @@
|
|
|
|
package unix
|
|
|
|
+// Deprecated: Use libc wrappers instead of direct syscalls.
|
|
const (
|
|
SYS_EXIT = 1 // { void sys_exit(int rval); }
|
|
SYS_FORK = 2 // { int sys_fork(void); }
|
|
diff --git a/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go
|
|
index 885842c..e2a64f0 100644
|
|
--- a/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go
|
|
@@ -366,30 +366,57 @@ type ICMPv6Filter struct {
|
|
Filt [8]uint32
|
|
}
|
|
|
|
+type TCPConnectionInfo struct {
|
|
+ State uint8
|
|
+ Snd_wscale uint8
|
|
+ Rcv_wscale uint8
|
|
+ _ uint8
|
|
+ Options uint32
|
|
+ Flags uint32
|
|
+ Rto uint32
|
|
+ Maxseg uint32
|
|
+ Snd_ssthresh uint32
|
|
+ Snd_cwnd uint32
|
|
+ Snd_wnd uint32
|
|
+ Snd_sbbytes uint32
|
|
+ Rcv_wnd uint32
|
|
+ Rttcur uint32
|
|
+ Srtt uint32
|
|
+ Rttvar uint32
|
|
+ Txpackets uint64
|
|
+ Txbytes uint64
|
|
+ Txretransmitbytes uint64
|
|
+ Rxpackets uint64
|
|
+ Rxbytes uint64
|
|
+ Rxoutoforderbytes uint64
|
|
+ Txretransmitpackets uint64
|
|
+}
|
|
+
|
|
const (
|
|
- SizeofSockaddrInet4 = 0x10
|
|
- SizeofSockaddrInet6 = 0x1c
|
|
- SizeofSockaddrAny = 0x6c
|
|
- SizeofSockaddrUnix = 0x6a
|
|
- SizeofSockaddrDatalink = 0x14
|
|
- SizeofSockaddrCtl = 0x20
|
|
- SizeofSockaddrVM = 0xc
|
|
- SizeofXvsockpcb = 0xa8
|
|
- SizeofXSocket = 0x64
|
|
- SizeofXSockbuf = 0x18
|
|
- SizeofXVSockPgen = 0x20
|
|
- SizeofXucred = 0x4c
|
|
- SizeofLinger = 0x8
|
|
- SizeofIovec = 0x10
|
|
- SizeofIPMreq = 0x8
|
|
- SizeofIPMreqn = 0xc
|
|
- SizeofIPv6Mreq = 0x14
|
|
- SizeofMsghdr = 0x30
|
|
- SizeofCmsghdr = 0xc
|
|
- SizeofInet4Pktinfo = 0xc
|
|
- SizeofInet6Pktinfo = 0x14
|
|
- SizeofIPv6MTUInfo = 0x20
|
|
- SizeofICMPv6Filter = 0x20
|
|
+ SizeofSockaddrInet4 = 0x10
|
|
+ SizeofSockaddrInet6 = 0x1c
|
|
+ SizeofSockaddrAny = 0x6c
|
|
+ SizeofSockaddrUnix = 0x6a
|
|
+ SizeofSockaddrDatalink = 0x14
|
|
+ SizeofSockaddrCtl = 0x20
|
|
+ SizeofSockaddrVM = 0xc
|
|
+ SizeofXvsockpcb = 0xa8
|
|
+ SizeofXSocket = 0x64
|
|
+ SizeofXSockbuf = 0x18
|
|
+ SizeofXVSockPgen = 0x20
|
|
+ SizeofXucred = 0x4c
|
|
+ SizeofLinger = 0x8
|
|
+ SizeofIovec = 0x10
|
|
+ SizeofIPMreq = 0x8
|
|
+ SizeofIPMreqn = 0xc
|
|
+ SizeofIPv6Mreq = 0x14
|
|
+ SizeofMsghdr = 0x30
|
|
+ SizeofCmsghdr = 0xc
|
|
+ SizeofInet4Pktinfo = 0xc
|
|
+ SizeofInet6Pktinfo = 0x14
|
|
+ SizeofIPv6MTUInfo = 0x20
|
|
+ SizeofICMPv6Filter = 0x20
|
|
+ SizeofTCPConnectionInfo = 0x70
|
|
)
|
|
|
|
const (
|
|
diff --git a/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go b/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go
|
|
index b23c023..34aa775 100644
|
|
--- a/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go
|
|
@@ -366,30 +366,57 @@ type ICMPv6Filter struct {
|
|
Filt [8]uint32
|
|
}
|
|
|
|
+type TCPConnectionInfo struct {
|
|
+ State uint8
|
|
+ Snd_wscale uint8
|
|
+ Rcv_wscale uint8
|
|
+ _ uint8
|
|
+ Options uint32
|
|
+ Flags uint32
|
|
+ Rto uint32
|
|
+ Maxseg uint32
|
|
+ Snd_ssthresh uint32
|
|
+ Snd_cwnd uint32
|
|
+ Snd_wnd uint32
|
|
+ Snd_sbbytes uint32
|
|
+ Rcv_wnd uint32
|
|
+ Rttcur uint32
|
|
+ Srtt uint32
|
|
+ Rttvar uint32
|
|
+ Txpackets uint64
|
|
+ Txbytes uint64
|
|
+ Txretransmitbytes uint64
|
|
+ Rxpackets uint64
|
|
+ Rxbytes uint64
|
|
+ Rxoutoforderbytes uint64
|
|
+ Txretransmitpackets uint64
|
|
+}
|
|
+
|
|
const (
|
|
- SizeofSockaddrInet4 = 0x10
|
|
- SizeofSockaddrInet6 = 0x1c
|
|
- SizeofSockaddrAny = 0x6c
|
|
- SizeofSockaddrUnix = 0x6a
|
|
- SizeofSockaddrDatalink = 0x14
|
|
- SizeofSockaddrCtl = 0x20
|
|
- SizeofSockaddrVM = 0xc
|
|
- SizeofXvsockpcb = 0xa8
|
|
- SizeofXSocket = 0x64
|
|
- SizeofXSockbuf = 0x18
|
|
- SizeofXVSockPgen = 0x20
|
|
- SizeofXucred = 0x4c
|
|
- SizeofLinger = 0x8
|
|
- SizeofIovec = 0x10
|
|
- SizeofIPMreq = 0x8
|
|
- SizeofIPMreqn = 0xc
|
|
- SizeofIPv6Mreq = 0x14
|
|
- SizeofMsghdr = 0x30
|
|
- SizeofCmsghdr = 0xc
|
|
- SizeofInet4Pktinfo = 0xc
|
|
- SizeofInet6Pktinfo = 0x14
|
|
- SizeofIPv6MTUInfo = 0x20
|
|
- SizeofICMPv6Filter = 0x20
|
|
+ SizeofSockaddrInet4 = 0x10
|
|
+ SizeofSockaddrInet6 = 0x1c
|
|
+ SizeofSockaddrAny = 0x6c
|
|
+ SizeofSockaddrUnix = 0x6a
|
|
+ SizeofSockaddrDatalink = 0x14
|
|
+ SizeofSockaddrCtl = 0x20
|
|
+ SizeofSockaddrVM = 0xc
|
|
+ SizeofXvsockpcb = 0xa8
|
|
+ SizeofXSocket = 0x64
|
|
+ SizeofXSockbuf = 0x18
|
|
+ SizeofXVSockPgen = 0x20
|
|
+ SizeofXucred = 0x4c
|
|
+ SizeofLinger = 0x8
|
|
+ SizeofIovec = 0x10
|
|
+ SizeofIPMreq = 0x8
|
|
+ SizeofIPMreqn = 0xc
|
|
+ SizeofIPv6Mreq = 0x14
|
|
+ SizeofMsghdr = 0x30
|
|
+ SizeofCmsghdr = 0xc
|
|
+ SizeofInet4Pktinfo = 0xc
|
|
+ SizeofInet6Pktinfo = 0x14
|
|
+ SizeofIPv6MTUInfo = 0x20
|
|
+ SizeofICMPv6Filter = 0x20
|
|
+ SizeofTCPConnectionInfo = 0x70
|
|
)
|
|
|
|
const (
|
|
diff --git a/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go b/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go
|
|
index 4eec078..d9c78cd 100644
|
|
--- a/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go
|
|
+++ b/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go
|
|
@@ -90,27 +90,6 @@ type Stat_t struct {
|
|
Spare [10]uint64
|
|
}
|
|
|
|
-type stat_freebsd11_t struct {
|
|
- Dev uint32
|
|
- Ino uint32
|
|
- Mode uint16
|
|
- Nlink uint16
|
|
- Uid uint32
|
|
- Gid uint32
|
|
- Rdev uint32
|
|
- Atim Timespec
|
|
- Mtim Timespec
|
|
- Ctim Timespec
|
|
- Size int64
|
|
- Blocks int64
|
|
- Blksize int32
|
|
- Flags uint32
|
|
- Gen uint32
|
|
- Lspare int32
|
|
- Btim Timespec
|
|
- _ [8]byte
|
|
-}
|
|
-
|
|
type Statfs_t struct {
|
|
Version uint32
|
|
Type uint32
|
|
@@ -136,31 +115,6 @@ type Statfs_t struct {
|
|
Mntonname [1024]byte
|
|
}
|
|
|
|
-type statfs_freebsd11_t struct {
|
|
- Version uint32
|
|
- Type uint32
|
|
- Flags uint64
|
|
- Bsize uint64
|
|
- Iosize uint64
|
|
- Blocks uint64
|
|
- Bfree uint64
|
|
- Bavail int64
|
|
- Files uint64
|
|
- Ffree int64
|
|
- Syncwrites uint64
|
|
- Asyncwrites uint64
|
|
- Syncreads uint64
|
|
- Asyncreads uint64
|
|
- Spare [10]uint64
|
|
- Namemax uint32
|
|
- Owner uint32
|
|
- Fsid Fsid
|
|
- Charspare [80]int8
|
|
- Fstypename [16]byte
|
|
- Mntfromname [88]byte
|
|
- Mntonname [88]byte
|
|
-}
|
|
-
|
|
type Flock_t struct {
|
|
Start int64
|
|
Len int64
|
|
@@ -181,14 +135,6 @@ type Dirent struct {
|
|
Name [256]int8
|
|
}
|
|
|
|
-type dirent_freebsd11 struct {
|
|
- Fileno uint32
|
|
- Reclen uint16
|
|
- Type uint8
|
|
- Namlen uint8
|
|
- Name [256]int8
|
|
-}
|
|
-
|
|
type Fsid struct {
|
|
Val [2]int32
|
|
}
|
|
@@ -337,41 +283,9 @@ const (
|
|
)
|
|
|
|
const (
|
|
- PTRACE_ATTACH = 0xa
|
|
- PTRACE_CONT = 0x7
|
|
- PTRACE_DETACH = 0xb
|
|
- PTRACE_GETFPREGS = 0x23
|
|
- PTRACE_GETFSBASE = 0x47
|
|
- PTRACE_GETLWPLIST = 0xf
|
|
- PTRACE_GETNUMLWPS = 0xe
|
|
- PTRACE_GETREGS = 0x21
|
|
- PTRACE_GETXSTATE = 0x45
|
|
- PTRACE_IO = 0xc
|
|
- PTRACE_KILL = 0x8
|
|
- PTRACE_LWPEVENTS = 0x18
|
|
- PTRACE_LWPINFO = 0xd
|
|
- PTRACE_SETFPREGS = 0x24
|
|
- PTRACE_SETREGS = 0x22
|
|
- PTRACE_SINGLESTEP = 0x9
|
|
- PTRACE_TRACEME = 0x0
|
|
-)
|
|
-
|
|
-const (
|
|
- PIOD_READ_D = 0x1
|
|
- PIOD_WRITE_D = 0x2
|
|
- PIOD_READ_I = 0x3
|
|
- PIOD_WRITE_I = 0x4
|
|
-)
|
|
-
|
|
-const (
|
|
- PL_FLAG_BORN = 0x100
|
|
- PL_FLAG_EXITED = 0x200
|
|
- PL_FLAG_SI = 0x20
|
|
-)
|
|
-
|
|
-const (
|
|
- TRAP_BRKPT = 0x1
|
|
- TRAP_TRACE = 0x2
|
|
+ PTRACE_TRACEME = 0x0
|
|
+ PTRACE_CONT = 0x7
|
|
+ PTRACE_KILL = 0x8
|
|
)
|
|
|
|
type PtraceLwpInfoStruct struct {
|
|
@@ -380,7 +294,7 @@ type PtraceLwpInfoStruct struct {
|
|
Flags int32
|
|
Sigmask Sigset_t
|
|
Siglist Sigset_t
|
|
- Siginfo __Siginfo
|
|
+ Siginfo __PtraceSiginfo
|
|
Tdname [20]int8
|
|
Child_pid int32
|
|
Syscall_code uint32
|
|
@@ -398,6 +312,17 @@ type __Siginfo struct {
|
|
Value [4]byte
|
|
_ [32]byte
|
|
}
|
|
+type __PtraceSiginfo struct {
|
|
+ Signo int32
|
|
+ Errno int32
|
|
+ Code int32
|
|
+ Pid int32
|
|
+ Uid uint32
|
|
+ Status int32
|
|
+ Addr uintptr
|
|
+ Value [4]byte
|
|
+ _ [32]byte
|
|
+}
|
|
|
|
type Sigset_t struct {
|
|
Val [4]uint32
|
|
@@ -432,10 +357,12 @@ type FpReg struct {
|
|
Pad [64]uint8
|
|
}
|
|
|
|
+type FpExtendedPrecision struct{}
|
|
+
|
|
type PtraceIoDesc struct {
|
|
Op int32
|
|
- Offs *byte
|
|
- Addr *byte
|
|
+ Offs uintptr
|
|
+ Addr uintptr
|
|
Len uint32
|
|
}
|
|
|
|
@@ -444,8 +371,9 @@ type Kevent_t struct {
|
|
Filter int16
|
|
Flags uint16
|
|
Fflags uint32
|
|
- Data int32
|
|
+ Data int64
|
|
Udata *byte
|
|
+ Ext [4]uint64
|
|
}
|
|
|
|
type FdSet struct {
|
|
diff --git a/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go
|
|
index 7622904..26991b1 100644
|
|
--- a/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go
|
|
@@ -86,26 +86,6 @@ type Stat_t struct {
|
|
Spare [10]uint64
|
|
}
|
|
|
|
-type stat_freebsd11_t struct {
|
|
- Dev uint32
|
|
- Ino uint32
|
|
- Mode uint16
|
|
- Nlink uint16
|
|
- Uid uint32
|
|
- Gid uint32
|
|
- Rdev uint32
|
|
- Atim Timespec
|
|
- Mtim Timespec
|
|
- Ctim Timespec
|
|
- Size int64
|
|
- Blocks int64
|
|
- Blksize int32
|
|
- Flags uint32
|
|
- Gen uint32
|
|
- Lspare int32
|
|
- Btim Timespec
|
|
-}
|
|
-
|
|
type Statfs_t struct {
|
|
Version uint32
|
|
Type uint32
|
|
@@ -131,31 +111,6 @@ type Statfs_t struct {
|
|
Mntonname [1024]byte
|
|
}
|
|
|
|
-type statfs_freebsd11_t struct {
|
|
- Version uint32
|
|
- Type uint32
|
|
- Flags uint64
|
|
- Bsize uint64
|
|
- Iosize uint64
|
|
- Blocks uint64
|
|
- Bfree uint64
|
|
- Bavail int64
|
|
- Files uint64
|
|
- Ffree int64
|
|
- Syncwrites uint64
|
|
- Asyncwrites uint64
|
|
- Syncreads uint64
|
|
- Asyncreads uint64
|
|
- Spare [10]uint64
|
|
- Namemax uint32
|
|
- Owner uint32
|
|
- Fsid Fsid
|
|
- Charspare [80]int8
|
|
- Fstypename [16]byte
|
|
- Mntfromname [88]byte
|
|
- Mntonname [88]byte
|
|
-}
|
|
-
|
|
type Flock_t struct {
|
|
Start int64
|
|
Len int64
|
|
@@ -177,14 +132,6 @@ type Dirent struct {
|
|
Name [256]int8
|
|
}
|
|
|
|
-type dirent_freebsd11 struct {
|
|
- Fileno uint32
|
|
- Reclen uint16
|
|
- Type uint8
|
|
- Namlen uint8
|
|
- Name [256]int8
|
|
-}
|
|
-
|
|
type Fsid struct {
|
|
Val [2]int32
|
|
}
|
|
@@ -333,41 +280,9 @@ const (
|
|
)
|
|
|
|
const (
|
|
- PTRACE_ATTACH = 0xa
|
|
- PTRACE_CONT = 0x7
|
|
- PTRACE_DETACH = 0xb
|
|
- PTRACE_GETFPREGS = 0x23
|
|
- PTRACE_GETFSBASE = 0x47
|
|
- PTRACE_GETLWPLIST = 0xf
|
|
- PTRACE_GETNUMLWPS = 0xe
|
|
- PTRACE_GETREGS = 0x21
|
|
- PTRACE_GETXSTATE = 0x45
|
|
- PTRACE_IO = 0xc
|
|
- PTRACE_KILL = 0x8
|
|
- PTRACE_LWPEVENTS = 0x18
|
|
- PTRACE_LWPINFO = 0xd
|
|
- PTRACE_SETFPREGS = 0x24
|
|
- PTRACE_SETREGS = 0x22
|
|
- PTRACE_SINGLESTEP = 0x9
|
|
- PTRACE_TRACEME = 0x0
|
|
-)
|
|
-
|
|
-const (
|
|
- PIOD_READ_D = 0x1
|
|
- PIOD_WRITE_D = 0x2
|
|
- PIOD_READ_I = 0x3
|
|
- PIOD_WRITE_I = 0x4
|
|
-)
|
|
-
|
|
-const (
|
|
- PL_FLAG_BORN = 0x100
|
|
- PL_FLAG_EXITED = 0x200
|
|
- PL_FLAG_SI = 0x20
|
|
-)
|
|
-
|
|
-const (
|
|
- TRAP_BRKPT = 0x1
|
|
- TRAP_TRACE = 0x2
|
|
+ PTRACE_TRACEME = 0x0
|
|
+ PTRACE_CONT = 0x7
|
|
+ PTRACE_KILL = 0x8
|
|
)
|
|
|
|
type PtraceLwpInfoStruct struct {
|
|
@@ -376,7 +291,7 @@ type PtraceLwpInfoStruct struct {
|
|
Flags int32
|
|
Sigmask Sigset_t
|
|
Siglist Sigset_t
|
|
- Siginfo __Siginfo
|
|
+ Siginfo __PtraceSiginfo
|
|
Tdname [20]int8
|
|
Child_pid int32
|
|
Syscall_code uint32
|
|
@@ -395,6 +310,18 @@ type __Siginfo struct {
|
|
_ [40]byte
|
|
}
|
|
|
|
+type __PtraceSiginfo struct {
|
|
+ Signo int32
|
|
+ Errno int32
|
|
+ Code int32
|
|
+ Pid int32
|
|
+ Uid uint32
|
|
+ Status int32
|
|
+ Addr uintptr
|
|
+ Value [8]byte
|
|
+ _ [40]byte
|
|
+}
|
|
+
|
|
type Sigset_t struct {
|
|
Val [4]uint32
|
|
}
|
|
@@ -435,10 +362,12 @@ type FpReg struct {
|
|
Spare [12]uint64
|
|
}
|
|
|
|
+type FpExtendedPrecision struct{}
|
|
+
|
|
type PtraceIoDesc struct {
|
|
Op int32
|
|
- Offs *byte
|
|
- Addr *byte
|
|
+ Offs uintptr
|
|
+ Addr uintptr
|
|
Len uint64
|
|
}
|
|
|
|
@@ -449,6 +378,7 @@ type Kevent_t struct {
|
|
Fflags uint32
|
|
Data int64
|
|
Udata *byte
|
|
+ Ext [4]uint64
|
|
}
|
|
|
|
type FdSet struct {
|
|
diff --git a/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go b/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go
|
|
index 19223ce..f8324e7 100644
|
|
--- a/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go
|
|
+++ b/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go
|
|
@@ -33,7 +33,7 @@ type Timeval struct {
|
|
_ [4]byte
|
|
}
|
|
|
|
-type Time_t int32
|
|
+type Time_t int64
|
|
|
|
type Rusage struct {
|
|
Utime Timeval
|
|
@@ -88,26 +88,6 @@ type Stat_t struct {
|
|
Spare [10]uint64
|
|
}
|
|
|
|
-type stat_freebsd11_t struct {
|
|
- Dev uint32
|
|
- Ino uint32
|
|
- Mode uint16
|
|
- Nlink uint16
|
|
- Uid uint32
|
|
- Gid uint32
|
|
- Rdev uint32
|
|
- Atim Timespec
|
|
- Mtim Timespec
|
|
- Ctim Timespec
|
|
- Size int64
|
|
- Blocks int64
|
|
- Blksize int32
|
|
- Flags uint32
|
|
- Gen uint32
|
|
- Lspare int32
|
|
- Btim Timespec
|
|
-}
|
|
-
|
|
type Statfs_t struct {
|
|
Version uint32
|
|
Type uint32
|
|
@@ -133,31 +113,6 @@ type Statfs_t struct {
|
|
Mntonname [1024]byte
|
|
}
|
|
|
|
-type statfs_freebsd11_t struct {
|
|
- Version uint32
|
|
- Type uint32
|
|
- Flags uint64
|
|
- Bsize uint64
|
|
- Iosize uint64
|
|
- Blocks uint64
|
|
- Bfree uint64
|
|
- Bavail int64
|
|
- Files uint64
|
|
- Ffree int64
|
|
- Syncwrites uint64
|
|
- Asyncwrites uint64
|
|
- Syncreads uint64
|
|
- Asyncreads uint64
|
|
- Spare [10]uint64
|
|
- Namemax uint32
|
|
- Owner uint32
|
|
- Fsid Fsid
|
|
- Charspare [80]int8
|
|
- Fstypename [16]byte
|
|
- Mntfromname [88]byte
|
|
- Mntonname [88]byte
|
|
-}
|
|
-
|
|
type Flock_t struct {
|
|
Start int64
|
|
Len int64
|
|
@@ -179,14 +134,6 @@ type Dirent struct {
|
|
Name [256]int8
|
|
}
|
|
|
|
-type dirent_freebsd11 struct {
|
|
- Fileno uint32
|
|
- Reclen uint16
|
|
- Type uint8
|
|
- Namlen uint8
|
|
- Name [256]int8
|
|
-}
|
|
-
|
|
type Fsid struct {
|
|
Val [2]int32
|
|
}
|
|
@@ -335,41 +282,9 @@ const (
|
|
)
|
|
|
|
const (
|
|
- PTRACE_ATTACH = 0xa
|
|
- PTRACE_CONT = 0x7
|
|
- PTRACE_DETACH = 0xb
|
|
- PTRACE_GETFPREGS = 0x23
|
|
- PTRACE_GETFSBASE = 0x47
|
|
- PTRACE_GETLWPLIST = 0xf
|
|
- PTRACE_GETNUMLWPS = 0xe
|
|
- PTRACE_GETREGS = 0x21
|
|
- PTRACE_GETXSTATE = 0x45
|
|
- PTRACE_IO = 0xc
|
|
- PTRACE_KILL = 0x8
|
|
- PTRACE_LWPEVENTS = 0x18
|
|
- PTRACE_LWPINFO = 0xd
|
|
- PTRACE_SETFPREGS = 0x24
|
|
- PTRACE_SETREGS = 0x22
|
|
- PTRACE_SINGLESTEP = 0x9
|
|
- PTRACE_TRACEME = 0x0
|
|
-)
|
|
-
|
|
-const (
|
|
- PIOD_READ_D = 0x1
|
|
- PIOD_WRITE_D = 0x2
|
|
- PIOD_READ_I = 0x3
|
|
- PIOD_WRITE_I = 0x4
|
|
-)
|
|
-
|
|
-const (
|
|
- PL_FLAG_BORN = 0x100
|
|
- PL_FLAG_EXITED = 0x200
|
|
- PL_FLAG_SI = 0x20
|
|
-)
|
|
-
|
|
-const (
|
|
- TRAP_BRKPT = 0x1
|
|
- TRAP_TRACE = 0x2
|
|
+ PTRACE_TRACEME = 0x0
|
|
+ PTRACE_CONT = 0x7
|
|
+ PTRACE_KILL = 0x8
|
|
)
|
|
|
|
type PtraceLwpInfoStruct struct {
|
|
@@ -378,7 +293,7 @@ type PtraceLwpInfoStruct struct {
|
|
Flags int32
|
|
Sigmask Sigset_t
|
|
Siglist Sigset_t
|
|
- Siginfo __Siginfo
|
|
+ Siginfo __PtraceSiginfo
|
|
Tdname [20]int8
|
|
Child_pid int32
|
|
Syscall_code uint32
|
|
@@ -386,15 +301,27 @@ type PtraceLwpInfoStruct struct {
|
|
}
|
|
|
|
type __Siginfo struct {
|
|
- Signo int32
|
|
- Errno int32
|
|
- Code int32
|
|
- Pid int32
|
|
- Uid uint32
|
|
- Status int32
|
|
- Addr *byte
|
|
- Value [4]byte
|
|
- X_reason [32]byte
|
|
+ Signo int32
|
|
+ Errno int32
|
|
+ Code int32
|
|
+ Pid int32
|
|
+ Uid uint32
|
|
+ Status int32
|
|
+ Addr *byte
|
|
+ Value [4]byte
|
|
+ _ [32]byte
|
|
+}
|
|
+
|
|
+type __PtraceSiginfo struct {
|
|
+ Signo int32
|
|
+ Errno int32
|
|
+ Code int32
|
|
+ Pid int32
|
|
+ Uid uint32
|
|
+ Status int32
|
|
+ Addr uintptr
|
|
+ Value [4]byte
|
|
+ _ [32]byte
|
|
}
|
|
|
|
type Sigset_t struct {
|
|
@@ -402,22 +329,28 @@ type Sigset_t struct {
|
|
}
|
|
|
|
type Reg struct {
|
|
- R [13]uint32
|
|
- R_sp uint32
|
|
- R_lr uint32
|
|
- R_pc uint32
|
|
- R_cpsr uint32
|
|
+ R [13]uint32
|
|
+ Sp uint32
|
|
+ Lr uint32
|
|
+ Pc uint32
|
|
+ Cpsr uint32
|
|
}
|
|
|
|
type FpReg struct {
|
|
- Fpr_fpsr uint32
|
|
- Fpr [8][3]uint32
|
|
+ Fpsr uint32
|
|
+ Fpr [8]FpExtendedPrecision
|
|
+}
|
|
+
|
|
+type FpExtendedPrecision struct {
|
|
+ Exponent uint32
|
|
+ Mantissa_hi uint32
|
|
+ Mantissa_lo uint32
|
|
}
|
|
|
|
type PtraceIoDesc struct {
|
|
Op int32
|
|
- Offs *byte
|
|
- Addr *byte
|
|
+ Offs uintptr
|
|
+ Addr uintptr
|
|
Len uint32
|
|
}
|
|
|
|
@@ -426,8 +359,11 @@ type Kevent_t struct {
|
|
Filter int16
|
|
Flags uint16
|
|
Fflags uint32
|
|
- Data int32
|
|
+ _ [4]byte
|
|
+ Data int64
|
|
Udata *byte
|
|
+ _ [4]byte
|
|
+ Ext [4]uint64
|
|
}
|
|
|
|
type FdSet struct {
|
|
@@ -453,7 +389,7 @@ type ifMsghdr struct {
|
|
Addrs int32
|
|
Flags int32
|
|
Index uint16
|
|
- _ [2]byte
|
|
+ _ uint16
|
|
Data ifData
|
|
}
|
|
|
|
@@ -464,7 +400,6 @@ type IfMsghdr struct {
|
|
Addrs int32
|
|
Flags int32
|
|
Index uint16
|
|
- _ [2]byte
|
|
Data IfData
|
|
}
|
|
|
|
@@ -532,7 +467,7 @@ type IfaMsghdr struct {
|
|
Addrs int32
|
|
Flags int32
|
|
Index uint16
|
|
- _ [2]byte
|
|
+ _ uint16
|
|
Metric int32
|
|
}
|
|
|
|
@@ -543,7 +478,7 @@ type IfmaMsghdr struct {
|
|
Addrs int32
|
|
Flags int32
|
|
Index uint16
|
|
- _ [2]byte
|
|
+ _ uint16
|
|
}
|
|
|
|
type IfAnnounceMsghdr struct {
|
|
@@ -560,7 +495,7 @@ type RtMsghdr struct {
|
|
Version uint8
|
|
Type uint8
|
|
Index uint16
|
|
- _ [2]byte
|
|
+ _ uint16
|
|
Flags int32
|
|
Addrs int32
|
|
Pid int32
|
|
diff --git a/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go b/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go
|
|
index 8e3e33f..4220411 100644
|
|
--- a/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go
|
|
@@ -86,26 +86,6 @@ type Stat_t struct {
|
|
Spare [10]uint64
|
|
}
|
|
|
|
-type stat_freebsd11_t struct {
|
|
- Dev uint32
|
|
- Ino uint32
|
|
- Mode uint16
|
|
- Nlink uint16
|
|
- Uid uint32
|
|
- Gid uint32
|
|
- Rdev uint32
|
|
- Atim Timespec
|
|
- Mtim Timespec
|
|
- Ctim Timespec
|
|
- Size int64
|
|
- Blocks int64
|
|
- Blksize int32
|
|
- Flags uint32
|
|
- Gen uint32
|
|
- Lspare int32
|
|
- Btim Timespec
|
|
-}
|
|
-
|
|
type Statfs_t struct {
|
|
Version uint32
|
|
Type uint32
|
|
@@ -131,31 +111,6 @@ type Statfs_t struct {
|
|
Mntonname [1024]byte
|
|
}
|
|
|
|
-type statfs_freebsd11_t struct {
|
|
- Version uint32
|
|
- Type uint32
|
|
- Flags uint64
|
|
- Bsize uint64
|
|
- Iosize uint64
|
|
- Blocks uint64
|
|
- Bfree uint64
|
|
- Bavail int64
|
|
- Files uint64
|
|
- Ffree int64
|
|
- Syncwrites uint64
|
|
- Asyncwrites uint64
|
|
- Syncreads uint64
|
|
- Asyncreads uint64
|
|
- Spare [10]uint64
|
|
- Namemax uint32
|
|
- Owner uint32
|
|
- Fsid Fsid
|
|
- Charspare [80]int8
|
|
- Fstypename [16]byte
|
|
- Mntfromname [88]byte
|
|
- Mntonname [88]byte
|
|
-}
|
|
-
|
|
type Flock_t struct {
|
|
Start int64
|
|
Len int64
|
|
@@ -177,14 +132,6 @@ type Dirent struct {
|
|
Name [256]int8
|
|
}
|
|
|
|
-type dirent_freebsd11 struct {
|
|
- Fileno uint32
|
|
- Reclen uint16
|
|
- Type uint8
|
|
- Namlen uint8
|
|
- Name [256]int8
|
|
-}
|
|
-
|
|
type Fsid struct {
|
|
Val [2]int32
|
|
}
|
|
@@ -333,39 +280,9 @@ const (
|
|
)
|
|
|
|
const (
|
|
- PTRACE_ATTACH = 0xa
|
|
- PTRACE_CONT = 0x7
|
|
- PTRACE_DETACH = 0xb
|
|
- PTRACE_GETFPREGS = 0x23
|
|
- PTRACE_GETLWPLIST = 0xf
|
|
- PTRACE_GETNUMLWPS = 0xe
|
|
- PTRACE_GETREGS = 0x21
|
|
- PTRACE_IO = 0xc
|
|
- PTRACE_KILL = 0x8
|
|
- PTRACE_LWPEVENTS = 0x18
|
|
- PTRACE_LWPINFO = 0xd
|
|
- PTRACE_SETFPREGS = 0x24
|
|
- PTRACE_SETREGS = 0x22
|
|
- PTRACE_SINGLESTEP = 0x9
|
|
- PTRACE_TRACEME = 0x0
|
|
-)
|
|
-
|
|
-const (
|
|
- PIOD_READ_D = 0x1
|
|
- PIOD_WRITE_D = 0x2
|
|
- PIOD_READ_I = 0x3
|
|
- PIOD_WRITE_I = 0x4
|
|
-)
|
|
-
|
|
-const (
|
|
- PL_FLAG_BORN = 0x100
|
|
- PL_FLAG_EXITED = 0x200
|
|
- PL_FLAG_SI = 0x20
|
|
-)
|
|
-
|
|
-const (
|
|
- TRAP_BRKPT = 0x1
|
|
- TRAP_TRACE = 0x2
|
|
+ PTRACE_TRACEME = 0x0
|
|
+ PTRACE_CONT = 0x7
|
|
+ PTRACE_KILL = 0x8
|
|
)
|
|
|
|
type PtraceLwpInfoStruct struct {
|
|
@@ -374,7 +291,7 @@ type PtraceLwpInfoStruct struct {
|
|
Flags int32
|
|
Sigmask Sigset_t
|
|
Siglist Sigset_t
|
|
- Siginfo __Siginfo
|
|
+ Siginfo __PtraceSiginfo
|
|
Tdname [20]int8
|
|
Child_pid int32
|
|
Syscall_code uint32
|
|
@@ -393,6 +310,18 @@ type __Siginfo struct {
|
|
_ [40]byte
|
|
}
|
|
|
|
+type __PtraceSiginfo struct {
|
|
+ Signo int32
|
|
+ Errno int32
|
|
+ Code int32
|
|
+ Pid int32
|
|
+ Uid uint32
|
|
+ Status int32
|
|
+ Addr uintptr
|
|
+ Value [8]byte
|
|
+ _ [40]byte
|
|
+}
|
|
+
|
|
type Sigset_t struct {
|
|
Val [4]uint32
|
|
}
|
|
@@ -413,10 +342,12 @@ type FpReg struct {
|
|
_ [8]byte
|
|
}
|
|
|
|
+type FpExtendedPrecision struct{}
|
|
+
|
|
type PtraceIoDesc struct {
|
|
Op int32
|
|
- Offs *byte
|
|
- Addr *byte
|
|
+ Offs uintptr
|
|
+ Addr uintptr
|
|
Len uint64
|
|
}
|
|
|
|
@@ -427,6 +358,7 @@ type Kevent_t struct {
|
|
Fflags uint32
|
|
Data int64
|
|
Udata *byte
|
|
+ Ext [4]uint64
|
|
}
|
|
|
|
type FdSet struct {
|
|
diff --git a/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go b/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go
|
|
new file mode 100644
|
|
index 0000000..0660fd4
|
|
--- /dev/null
|
|
+++ b/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go
|
|
@@ -0,0 +1,638 @@
|
|
+// cgo -godefs -- -fsigned-char types_freebsd.go | go run mkpost.go
|
|
+// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
+
|
|
+//go:build riscv64 && freebsd
|
|
+// +build riscv64,freebsd
|
|
+
|
|
+package unix
|
|
+
|
|
+const (
|
|
+ SizeofPtr = 0x8
|
|
+ SizeofShort = 0x2
|
|
+ SizeofInt = 0x4
|
|
+ SizeofLong = 0x8
|
|
+ SizeofLongLong = 0x8
|
|
+)
|
|
+
|
|
+type (
|
|
+ _C_short int16
|
|
+ _C_int int32
|
|
+ _C_long int64
|
|
+ _C_long_long int64
|
|
+)
|
|
+
|
|
+type Timespec struct {
|
|
+ Sec int64
|
|
+ Nsec int64
|
|
+}
|
|
+
|
|
+type Timeval struct {
|
|
+ Sec int64
|
|
+ Usec int64
|
|
+}
|
|
+
|
|
+type Time_t int64
|
|
+
|
|
+type Rusage struct {
|
|
+ Utime Timeval
|
|
+ Stime Timeval
|
|
+ Maxrss int64
|
|
+ Ixrss int64
|
|
+ Idrss int64
|
|
+ Isrss int64
|
|
+ Minflt int64
|
|
+ Majflt int64
|
|
+ Nswap int64
|
|
+ Inblock int64
|
|
+ Oublock int64
|
|
+ Msgsnd int64
|
|
+ Msgrcv int64
|
|
+ Nsignals int64
|
|
+ Nvcsw int64
|
|
+ Nivcsw int64
|
|
+}
|
|
+
|
|
+type Rlimit struct {
|
|
+ Cur int64
|
|
+ Max int64
|
|
+}
|
|
+
|
|
+type _Gid_t uint32
|
|
+
|
|
+const (
|
|
+ _statfsVersion = 0x20140518
|
|
+ _dirblksiz = 0x400
|
|
+)
|
|
+
|
|
+type Stat_t struct {
|
|
+ Dev uint64
|
|
+ Ino uint64
|
|
+ Nlink uint64
|
|
+ Mode uint16
|
|
+ _0 int16
|
|
+ Uid uint32
|
|
+ Gid uint32
|
|
+ _1 int32
|
|
+ Rdev uint64
|
|
+ Atim Timespec
|
|
+ Mtim Timespec
|
|
+ Ctim Timespec
|
|
+ Btim Timespec
|
|
+ Size int64
|
|
+ Blocks int64
|
|
+ Blksize int32
|
|
+ Flags uint32
|
|
+ Gen uint64
|
|
+ Spare [10]uint64
|
|
+}
|
|
+
|
|
+type Statfs_t struct {
|
|
+ Version uint32
|
|
+ Type uint32
|
|
+ Flags uint64
|
|
+ Bsize uint64
|
|
+ Iosize uint64
|
|
+ Blocks uint64
|
|
+ Bfree uint64
|
|
+ Bavail int64
|
|
+ Files uint64
|
|
+ Ffree int64
|
|
+ Syncwrites uint64
|
|
+ Asyncwrites uint64
|
|
+ Syncreads uint64
|
|
+ Asyncreads uint64
|
|
+ Spare [10]uint64
|
|
+ Namemax uint32
|
|
+ Owner uint32
|
|
+ Fsid Fsid
|
|
+ Charspare [80]int8
|
|
+ Fstypename [16]byte
|
|
+ Mntfromname [1024]byte
|
|
+ Mntonname [1024]byte
|
|
+}
|
|
+
|
|
+type Flock_t struct {
|
|
+ Start int64
|
|
+ Len int64
|
|
+ Pid int32
|
|
+ Type int16
|
|
+ Whence int16
|
|
+ Sysid int32
|
|
+ _ [4]byte
|
|
+}
|
|
+
|
|
+type Dirent struct {
|
|
+ Fileno uint64
|
|
+ Off int64
|
|
+ Reclen uint16
|
|
+ Type uint8
|
|
+ Pad0 uint8
|
|
+ Namlen uint16
|
|
+ Pad1 uint16
|
|
+ Name [256]int8
|
|
+}
|
|
+
|
|
+type Fsid struct {
|
|
+ Val [2]int32
|
|
+}
|
|
+
|
|
+const (
|
|
+ PathMax = 0x400
|
|
+)
|
|
+
|
|
+const (
|
|
+ FADV_NORMAL = 0x0
|
|
+ FADV_RANDOM = 0x1
|
|
+ FADV_SEQUENTIAL = 0x2
|
|
+ FADV_WILLNEED = 0x3
|
|
+ FADV_DONTNEED = 0x4
|
|
+ FADV_NOREUSE = 0x5
|
|
+)
|
|
+
|
|
+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 [46]int8
|
|
+}
|
|
+
|
|
+type RawSockaddr struct {
|
|
+ Len uint8
|
|
+ Family uint8
|
|
+ Data [14]int8
|
|
+}
|
|
+
|
|
+type RawSockaddrAny struct {
|
|
+ Addr RawSockaddr
|
|
+ Pad [92]int8
|
|
+}
|
|
+
|
|
+type _Socklen uint32
|
|
+
|
|
+type Xucred struct {
|
|
+ Version uint32
|
|
+ Uid uint32
|
|
+ Ngroups int16
|
|
+ Groups [16]uint32
|
|
+ _ *byte
|
|
+}
|
|
+
|
|
+type Linger struct {
|
|
+ Onoff int32
|
|
+ Linger int32
|
|
+}
|
|
+
|
|
+type Iovec struct {
|
|
+ Base *byte
|
|
+ Len uint64
|
|
+}
|
|
+
|
|
+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 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 = 0x36
|
|
+ SizeofXucred = 0x58
|
|
+ SizeofLinger = 0x8
|
|
+ SizeofIovec = 0x10
|
|
+ SizeofIPMreq = 0x8
|
|
+ SizeofIPMreqn = 0xc
|
|
+ SizeofIPv6Mreq = 0x14
|
|
+ SizeofMsghdr = 0x30
|
|
+ SizeofCmsghdr = 0xc
|
|
+ SizeofInet6Pktinfo = 0x14
|
|
+ SizeofIPv6MTUInfo = 0x20
|
|
+ SizeofICMPv6Filter = 0x20
|
|
+)
|
|
+
|
|
+const (
|
|
+ PTRACE_TRACEME = 0x0
|
|
+ PTRACE_CONT = 0x7
|
|
+ PTRACE_KILL = 0x8
|
|
+)
|
|
+
|
|
+type PtraceLwpInfoStruct struct {
|
|
+ Lwpid int32
|
|
+ Event int32
|
|
+ Flags int32
|
|
+ Sigmask Sigset_t
|
|
+ Siglist Sigset_t
|
|
+ Siginfo __PtraceSiginfo
|
|
+ Tdname [20]int8
|
|
+ Child_pid int32
|
|
+ Syscall_code uint32
|
|
+ Syscall_narg uint32
|
|
+}
|
|
+
|
|
+type __Siginfo struct {
|
|
+ Signo int32
|
|
+ Errno int32
|
|
+ Code int32
|
|
+ Pid int32
|
|
+ Uid uint32
|
|
+ Status int32
|
|
+ Addr *byte
|
|
+ Value [8]byte
|
|
+ _ [40]byte
|
|
+}
|
|
+
|
|
+type __PtraceSiginfo struct {
|
|
+ Signo int32
|
|
+ Errno int32
|
|
+ Code int32
|
|
+ Pid int32
|
|
+ Uid uint32
|
|
+ Status int32
|
|
+ Addr uintptr
|
|
+ Value [8]byte
|
|
+ _ [40]byte
|
|
+}
|
|
+
|
|
+type Sigset_t struct {
|
|
+ Val [4]uint32
|
|
+}
|
|
+
|
|
+type Reg struct {
|
|
+ Ra uint64
|
|
+ Sp uint64
|
|
+ Gp uint64
|
|
+ Tp uint64
|
|
+ T [7]uint64
|
|
+ S [12]uint64
|
|
+ A [8]uint64
|
|
+ Sepc uint64
|
|
+ Sstatus uint64
|
|
+}
|
|
+
|
|
+type FpReg struct {
|
|
+ X [32][2]uint64
|
|
+ Fcsr uint64
|
|
+}
|
|
+
|
|
+type FpExtendedPrecision struct{}
|
|
+
|
|
+type PtraceIoDesc struct {
|
|
+ Op int32
|
|
+ Offs uintptr
|
|
+ Addr uintptr
|
|
+ Len uint64
|
|
+}
|
|
+
|
|
+type Kevent_t struct {
|
|
+ Ident uint64
|
|
+ Filter int16
|
|
+ Flags uint16
|
|
+ Fflags uint32
|
|
+ Data int64
|
|
+ Udata *byte
|
|
+ Ext [4]uint64
|
|
+}
|
|
+
|
|
+type FdSet struct {
|
|
+ Bits [16]uint64
|
|
+}
|
|
+
|
|
+const (
|
|
+ sizeofIfMsghdr = 0xa8
|
|
+ SizeofIfMsghdr = 0xa8
|
|
+ sizeofIfData = 0x98
|
|
+ SizeofIfData = 0x98
|
|
+ SizeofIfaMsghdr = 0x14
|
|
+ SizeofIfmaMsghdr = 0x10
|
|
+ SizeofIfAnnounceMsghdr = 0x18
|
|
+ SizeofRtMsghdr = 0x98
|
|
+ SizeofRtMetrics = 0x70
|
|
+)
|
|
+
|
|
+type ifMsghdr struct {
|
|
+ Msglen uint16
|
|
+ Version uint8
|
|
+ Type uint8
|
|
+ Addrs int32
|
|
+ Flags int32
|
|
+ Index uint16
|
|
+ _ uint16
|
|
+ Data ifData
|
|
+}
|
|
+
|
|
+type IfMsghdr struct {
|
|
+ Msglen uint16
|
|
+ Version uint8
|
|
+ Type uint8
|
|
+ Addrs int32
|
|
+ Flags int32
|
|
+ Index uint16
|
|
+ Data IfData
|
|
+}
|
|
+
|
|
+type ifData struct {
|
|
+ Type uint8
|
|
+ Physical uint8
|
|
+ Addrlen uint8
|
|
+ Hdrlen uint8
|
|
+ Link_state uint8
|
|
+ Vhid uint8
|
|
+ Datalen uint16
|
|
+ Mtu uint32
|
|
+ Metric uint32
|
|
+ Baudrate uint64
|
|
+ Ipackets uint64
|
|
+ Ierrors uint64
|
|
+ Opackets uint64
|
|
+ Oerrors uint64
|
|
+ Collisions uint64
|
|
+ Ibytes uint64
|
|
+ Obytes uint64
|
|
+ Imcasts uint64
|
|
+ Omcasts uint64
|
|
+ Iqdrops uint64
|
|
+ Oqdrops uint64
|
|
+ Noproto uint64
|
|
+ Hwassist uint64
|
|
+ _ [8]byte
|
|
+ _ [16]byte
|
|
+}
|
|
+
|
|
+type IfData struct {
|
|
+ Type uint8
|
|
+ Physical uint8
|
|
+ Addrlen uint8
|
|
+ Hdrlen uint8
|
|
+ Link_state uint8
|
|
+ Spare_char1 uint8
|
|
+ Spare_char2 uint8
|
|
+ Datalen uint8
|
|
+ Mtu uint64
|
|
+ Metric uint64
|
|
+ Baudrate uint64
|
|
+ Ipackets uint64
|
|
+ Ierrors uint64
|
|
+ Opackets uint64
|
|
+ Oerrors uint64
|
|
+ Collisions uint64
|
|
+ Ibytes uint64
|
|
+ Obytes uint64
|
|
+ Imcasts uint64
|
|
+ Omcasts uint64
|
|
+ Iqdrops uint64
|
|
+ Noproto uint64
|
|
+ Hwassist uint64
|
|
+ Epoch int64
|
|
+ Lastchange Timeval
|
|
+}
|
|
+
|
|
+type IfaMsghdr struct {
|
|
+ Msglen uint16
|
|
+ Version uint8
|
|
+ Type uint8
|
|
+ Addrs int32
|
|
+ Flags int32
|
|
+ Index uint16
|
|
+ _ uint16
|
|
+ Metric int32
|
|
+}
|
|
+
|
|
+type IfmaMsghdr struct {
|
|
+ Msglen uint16
|
|
+ Version uint8
|
|
+ Type uint8
|
|
+ Addrs int32
|
|
+ Flags int32
|
|
+ Index uint16
|
|
+ _ uint16
|
|
+}
|
|
+
|
|
+type IfAnnounceMsghdr struct {
|
|
+ Msglen uint16
|
|
+ Version uint8
|
|
+ Type uint8
|
|
+ Index uint16
|
|
+ Name [16]int8
|
|
+ What uint16
|
|
+}
|
|
+
|
|
+type RtMsghdr struct {
|
|
+ Msglen uint16
|
|
+ Version uint8
|
|
+ Type uint8
|
|
+ Index uint16
|
|
+ _ uint16
|
|
+ Flags int32
|
|
+ Addrs int32
|
|
+ Pid int32
|
|
+ Seq int32
|
|
+ Errno int32
|
|
+ Fmask int32
|
|
+ Inits uint64
|
|
+ Rmx RtMetrics
|
|
+}
|
|
+
|
|
+type RtMetrics struct {
|
|
+ Locks uint64
|
|
+ Mtu uint64
|
|
+ Hopcount uint64
|
|
+ Expire uint64
|
|
+ Recvpipe uint64
|
|
+ Sendpipe uint64
|
|
+ Ssthresh uint64
|
|
+ Rtt uint64
|
|
+ Rttvar uint64
|
|
+ Pksent uint64
|
|
+ Weight uint64
|
|
+ Nhidx uint64
|
|
+ Filler [2]uint64
|
|
+}
|
|
+
|
|
+const (
|
|
+ SizeofBpfVersion = 0x4
|
|
+ SizeofBpfStat = 0x8
|
|
+ SizeofBpfZbuf = 0x18
|
|
+ SizeofBpfProgram = 0x10
|
|
+ SizeofBpfInsn = 0x8
|
|
+ SizeofBpfHdr = 0x20
|
|
+ SizeofBpfZbufHeader = 0x20
|
|
+)
|
|
+
|
|
+type BpfVersion struct {
|
|
+ Major uint16
|
|
+ Minor uint16
|
|
+}
|
|
+
|
|
+type BpfStat struct {
|
|
+ Recv uint32
|
|
+ Drop uint32
|
|
+}
|
|
+
|
|
+type BpfZbuf struct {
|
|
+ Bufa *byte
|
|
+ Bufb *byte
|
|
+ Buflen uint64
|
|
+}
|
|
+
|
|
+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
|
|
+ _ [6]byte
|
|
+}
|
|
+
|
|
+type BpfZbufHeader struct {
|
|
+ Kernel_gen uint32
|
|
+ Kernel_len uint32
|
|
+ User_gen uint32
|
|
+ _ [5]uint32
|
|
+}
|
|
+
|
|
+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 = -0x64
|
|
+ AT_EACCESS = 0x100
|
|
+ AT_SYMLINK_NOFOLLOW = 0x200
|
|
+ AT_SYMLINK_FOLLOW = 0x400
|
|
+ AT_REMOVEDIR = 0x800
|
|
+)
|
|
+
|
|
+type PollFd struct {
|
|
+ Fd int32
|
|
+ Events int16
|
|
+ Revents int16
|
|
+}
|
|
+
|
|
+const (
|
|
+ POLLERR = 0x8
|
|
+ POLLHUP = 0x10
|
|
+ POLLIN = 0x1
|
|
+ POLLINIGNEOF = 0x2000
|
|
+ POLLNVAL = 0x20
|
|
+ POLLOUT = 0x4
|
|
+ POLLPRI = 0x2
|
|
+ POLLRDBAND = 0x80
|
|
+ POLLRDNORM = 0x40
|
|
+ POLLWRBAND = 0x100
|
|
+ POLLWRNORM = 0x4
|
|
+)
|
|
+
|
|
+type CapRights struct {
|
|
+ Rights [2]uint64
|
|
+}
|
|
+
|
|
+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
|
|
+ Spare int32
|
|
+ Stathz int32
|
|
+ Profhz int32
|
|
+}
|
|
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux.go b/vendor/golang.org/x/sys/unix/ztypes_linux.go
|
|
index 37b5214..ff68811 100644
|
|
--- a/vendor/golang.org/x/sys/unix/ztypes_linux.go
|
|
+++ b/vendor/golang.org/x/sys/unix/ztypes_linux.go
|
|
@@ -24,6 +24,11 @@ type ItimerSpec struct {
|
|
Value Timespec
|
|
}
|
|
|
|
+type Itimerval struct {
|
|
+ Interval Timeval
|
|
+ Value Timeval
|
|
+}
|
|
+
|
|
const (
|
|
TIME_OK = 0x0
|
|
TIME_INS = 0x1
|
|
@@ -749,6 +754,25 @@ const (
|
|
AT_SYMLINK_NOFOLLOW = 0x100
|
|
|
|
AT_EACCESS = 0x200
|
|
+
|
|
+ OPEN_TREE_CLONE = 0x1
|
|
+
|
|
+ MOVE_MOUNT_F_SYMLINKS = 0x1
|
|
+ MOVE_MOUNT_F_AUTOMOUNTS = 0x2
|
|
+ MOVE_MOUNT_F_EMPTY_PATH = 0x4
|
|
+ MOVE_MOUNT_T_SYMLINKS = 0x10
|
|
+ MOVE_MOUNT_T_AUTOMOUNTS = 0x20
|
|
+ MOVE_MOUNT_T_EMPTY_PATH = 0x40
|
|
+ MOVE_MOUNT_SET_GROUP = 0x100
|
|
+
|
|
+ FSOPEN_CLOEXEC = 0x1
|
|
+
|
|
+ FSPICK_CLOEXEC = 0x1
|
|
+ FSPICK_SYMLINK_NOFOLLOW = 0x2
|
|
+ FSPICK_NO_AUTOMOUNT = 0x4
|
|
+ FSPICK_EMPTY_PATH = 0x8
|
|
+
|
|
+ FSMOUNT_CLOEXEC = 0x1
|
|
)
|
|
|
|
type OpenHow struct {
|
|
@@ -867,6 +891,7 @@ const (
|
|
CTRL_CMD_NEWMCAST_GRP = 0x7
|
|
CTRL_CMD_DELMCAST_GRP = 0x8
|
|
CTRL_CMD_GETMCAST_GRP = 0x9
|
|
+ CTRL_CMD_GETPOLICY = 0xa
|
|
CTRL_ATTR_UNSPEC = 0x0
|
|
CTRL_ATTR_FAMILY_ID = 0x1
|
|
CTRL_ATTR_FAMILY_NAME = 0x2
|
|
@@ -875,12 +900,19 @@ const (
|
|
CTRL_ATTR_MAXATTR = 0x5
|
|
CTRL_ATTR_OPS = 0x6
|
|
CTRL_ATTR_MCAST_GROUPS = 0x7
|
|
+ CTRL_ATTR_POLICY = 0x8
|
|
+ CTRL_ATTR_OP_POLICY = 0x9
|
|
+ CTRL_ATTR_OP = 0xa
|
|
CTRL_ATTR_OP_UNSPEC = 0x0
|
|
CTRL_ATTR_OP_ID = 0x1
|
|
CTRL_ATTR_OP_FLAGS = 0x2
|
|
CTRL_ATTR_MCAST_GRP_UNSPEC = 0x0
|
|
CTRL_ATTR_MCAST_GRP_NAME = 0x1
|
|
CTRL_ATTR_MCAST_GRP_ID = 0x2
|
|
+ CTRL_ATTR_POLICY_UNSPEC = 0x0
|
|
+ CTRL_ATTR_POLICY_DO = 0x1
|
|
+ CTRL_ATTR_POLICY_DUMP = 0x2
|
|
+ CTRL_ATTR_POLICY_DUMP_MAX = 0x2
|
|
)
|
|
|
|
const (
|
|
@@ -913,6 +945,9 @@ type PerfEventAttr struct {
|
|
Aux_watermark uint32
|
|
Sample_max_stack uint16
|
|
_ uint16
|
|
+ Aux_sample_size uint32
|
|
+ _ uint32
|
|
+ Sig_data uint64
|
|
}
|
|
|
|
type PerfEventMmapPage struct {
|
|
@@ -1095,7 +1130,9 @@ const (
|
|
PERF_BR_SYSRET = 0x8
|
|
PERF_BR_COND_CALL = 0x9
|
|
PERF_BR_COND_RET = 0xa
|
|
- PERF_BR_MAX = 0xb
|
|
+ PERF_BR_ERET = 0xb
|
|
+ PERF_BR_IRQ = 0xc
|
|
+ PERF_BR_MAX = 0xd
|
|
PERF_SAMPLE_REGS_ABI_NONE = 0x0
|
|
PERF_SAMPLE_REGS_ABI_32 = 0x1
|
|
PERF_SAMPLE_REGS_ABI_64 = 0x2
|
|
@@ -1136,7 +1173,8 @@ const (
|
|
PERF_RECORD_BPF_EVENT = 0x12
|
|
PERF_RECORD_CGROUP = 0x13
|
|
PERF_RECORD_TEXT_POKE = 0x14
|
|
- PERF_RECORD_MAX = 0x15
|
|
+ PERF_RECORD_AUX_OUTPUT_HW_ID = 0x15
|
|
+ PERF_RECORD_MAX = 0x16
|
|
PERF_RECORD_KSYMBOL_TYPE_UNKNOWN = 0x0
|
|
PERF_RECORD_KSYMBOL_TYPE_BPF = 0x1
|
|
PERF_RECORD_KSYMBOL_TYPE_OOL = 0x2
|
|
@@ -1428,6 +1466,11 @@ const (
|
|
IFLA_ALT_IFNAME = 0x35
|
|
IFLA_PERM_ADDRESS = 0x36
|
|
IFLA_PROTO_DOWN_REASON = 0x37
|
|
+ IFLA_PARENT_DEV_NAME = 0x38
|
|
+ IFLA_PARENT_DEV_BUS_NAME = 0x39
|
|
+ IFLA_GRO_MAX_SIZE = 0x3a
|
|
+ IFLA_TSO_MAX_SIZE = 0x3b
|
|
+ IFLA_TSO_MAX_SEGS = 0x3c
|
|
IFLA_PROTO_DOWN_REASON_UNSPEC = 0x0
|
|
IFLA_PROTO_DOWN_REASON_MASK = 0x1
|
|
IFLA_PROTO_DOWN_REASON_VALUE = 0x2
|
|
@@ -1776,7 +1819,8 @@ const (
|
|
|
|
const (
|
|
NF_NETDEV_INGRESS = 0x0
|
|
- NF_NETDEV_NUMHOOKS = 0x1
|
|
+ NF_NETDEV_EGRESS = 0x1
|
|
+ NF_NETDEV_NUMHOOKS = 0x2
|
|
)
|
|
|
|
const (
|
|
@@ -2935,7 +2979,7 @@ const (
|
|
DEVLINK_CMD_TRAP_POLICER_NEW = 0x47
|
|
DEVLINK_CMD_TRAP_POLICER_DEL = 0x48
|
|
DEVLINK_CMD_HEALTH_REPORTER_TEST = 0x49
|
|
- DEVLINK_CMD_MAX = 0x4d
|
|
+ DEVLINK_CMD_MAX = 0x51
|
|
DEVLINK_PORT_TYPE_NOTSET = 0x0
|
|
DEVLINK_PORT_TYPE_AUTO = 0x1
|
|
DEVLINK_PORT_TYPE_ETH = 0x2
|
|
@@ -3158,7 +3202,13 @@ const (
|
|
DEVLINK_ATTR_RELOAD_ACTION_INFO = 0xa2
|
|
DEVLINK_ATTR_RELOAD_ACTION_STATS = 0xa3
|
|
DEVLINK_ATTR_PORT_PCI_SF_NUMBER = 0xa4
|
|
- DEVLINK_ATTR_MAX = 0xa9
|
|
+ DEVLINK_ATTR_RATE_TYPE = 0xa5
|
|
+ DEVLINK_ATTR_RATE_TX_SHARE = 0xa6
|
|
+ DEVLINK_ATTR_RATE_TX_MAX = 0xa7
|
|
+ DEVLINK_ATTR_RATE_NODE_NAME = 0xa8
|
|
+ DEVLINK_ATTR_RATE_PARENT_NODE_NAME = 0xa9
|
|
+ DEVLINK_ATTR_REGION_MAX_SNAPSHOTS = 0xaa
|
|
+ DEVLINK_ATTR_MAX = 0xae
|
|
DEVLINK_DPIPE_FIELD_MAPPING_TYPE_NONE = 0x0
|
|
DEVLINK_DPIPE_FIELD_MAPPING_TYPE_IFINDEX = 0x1
|
|
DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT = 0x0
|
|
@@ -3455,7 +3505,14 @@ const (
|
|
ETHTOOL_MSG_CABLE_TEST_ACT = 0x1a
|
|
ETHTOOL_MSG_CABLE_TEST_TDR_ACT = 0x1b
|
|
ETHTOOL_MSG_TUNNEL_INFO_GET = 0x1c
|
|
- ETHTOOL_MSG_USER_MAX = 0x21
|
|
+ ETHTOOL_MSG_FEC_GET = 0x1d
|
|
+ ETHTOOL_MSG_FEC_SET = 0x1e
|
|
+ ETHTOOL_MSG_MODULE_EEPROM_GET = 0x1f
|
|
+ ETHTOOL_MSG_STATS_GET = 0x20
|
|
+ ETHTOOL_MSG_PHC_VCLOCKS_GET = 0x21
|
|
+ ETHTOOL_MSG_MODULE_GET = 0x22
|
|
+ ETHTOOL_MSG_MODULE_SET = 0x23
|
|
+ ETHTOOL_MSG_USER_MAX = 0x23
|
|
ETHTOOL_MSG_KERNEL_NONE = 0x0
|
|
ETHTOOL_MSG_STRSET_GET_REPLY = 0x1
|
|
ETHTOOL_MSG_LINKINFO_GET_REPLY = 0x2
|
|
@@ -3486,7 +3543,14 @@ const (
|
|
ETHTOOL_MSG_CABLE_TEST_NTF = 0x1b
|
|
ETHTOOL_MSG_CABLE_TEST_TDR_NTF = 0x1c
|
|
ETHTOOL_MSG_TUNNEL_INFO_GET_REPLY = 0x1d
|
|
- ETHTOOL_MSG_KERNEL_MAX = 0x22
|
|
+ ETHTOOL_MSG_FEC_GET_REPLY = 0x1e
|
|
+ ETHTOOL_MSG_FEC_NTF = 0x1f
|
|
+ ETHTOOL_MSG_MODULE_EEPROM_GET_REPLY = 0x20
|
|
+ ETHTOOL_MSG_STATS_GET_REPLY = 0x21
|
|
+ ETHTOOL_MSG_PHC_VCLOCKS_GET_REPLY = 0x22
|
|
+ ETHTOOL_MSG_MODULE_GET_REPLY = 0x23
|
|
+ ETHTOOL_MSG_MODULE_NTF = 0x24
|
|
+ ETHTOOL_MSG_KERNEL_MAX = 0x24
|
|
ETHTOOL_A_HEADER_UNSPEC = 0x0
|
|
ETHTOOL_A_HEADER_DEV_INDEX = 0x1
|
|
ETHTOOL_A_HEADER_DEV_NAME = 0x2
|
|
@@ -3584,7 +3648,11 @@ const (
|
|
ETHTOOL_A_RINGS_RX_MINI = 0x7
|
|
ETHTOOL_A_RINGS_RX_JUMBO = 0x8
|
|
ETHTOOL_A_RINGS_TX = 0x9
|
|
- ETHTOOL_A_RINGS_MAX = 0x9
|
|
+ ETHTOOL_A_RINGS_RX_BUF_LEN = 0xa
|
|
+ ETHTOOL_A_RINGS_TCP_DATA_SPLIT = 0xb
|
|
+ ETHTOOL_A_RINGS_CQE_SIZE = 0xc
|
|
+ ETHTOOL_A_RINGS_TX_PUSH = 0xd
|
|
+ ETHTOOL_A_RINGS_MAX = 0xd
|
|
ETHTOOL_A_CHANNELS_UNSPEC = 0x0
|
|
ETHTOOL_A_CHANNELS_HEADER = 0x1
|
|
ETHTOOL_A_CHANNELS_RX_MAX = 0x2
|
|
@@ -3736,6 +3804,8 @@ const (
|
|
ETHTOOL_A_TUNNEL_INFO_MAX = 0x2
|
|
)
|
|
|
|
+const SPEED_UNKNOWN = -0x1
|
|
+
|
|
type EthtoolDrvinfo struct {
|
|
Cmd uint32
|
|
Driver [32]byte
|
|
@@ -3968,3 +4038,1572 @@ type MountAttr struct {
|
|
Propagation uint64
|
|
Userns_fd uint64
|
|
}
|
|
+
|
|
+const (
|
|
+ WG_CMD_GET_DEVICE = 0x0
|
|
+ WG_CMD_SET_DEVICE = 0x1
|
|
+ WGDEVICE_F_REPLACE_PEERS = 0x1
|
|
+ WGDEVICE_A_UNSPEC = 0x0
|
|
+ WGDEVICE_A_IFINDEX = 0x1
|
|
+ WGDEVICE_A_IFNAME = 0x2
|
|
+ WGDEVICE_A_PRIVATE_KEY = 0x3
|
|
+ WGDEVICE_A_PUBLIC_KEY = 0x4
|
|
+ WGDEVICE_A_FLAGS = 0x5
|
|
+ WGDEVICE_A_LISTEN_PORT = 0x6
|
|
+ WGDEVICE_A_FWMARK = 0x7
|
|
+ WGDEVICE_A_PEERS = 0x8
|
|
+ WGPEER_F_REMOVE_ME = 0x1
|
|
+ WGPEER_F_REPLACE_ALLOWEDIPS = 0x2
|
|
+ WGPEER_F_UPDATE_ONLY = 0x4
|
|
+ WGPEER_A_UNSPEC = 0x0
|
|
+ WGPEER_A_PUBLIC_KEY = 0x1
|
|
+ WGPEER_A_PRESHARED_KEY = 0x2
|
|
+ WGPEER_A_FLAGS = 0x3
|
|
+ WGPEER_A_ENDPOINT = 0x4
|
|
+ WGPEER_A_PERSISTENT_KEEPALIVE_INTERVAL = 0x5
|
|
+ WGPEER_A_LAST_HANDSHAKE_TIME = 0x6
|
|
+ WGPEER_A_RX_BYTES = 0x7
|
|
+ WGPEER_A_TX_BYTES = 0x8
|
|
+ WGPEER_A_ALLOWEDIPS = 0x9
|
|
+ WGPEER_A_PROTOCOL_VERSION = 0xa
|
|
+ WGALLOWEDIP_A_UNSPEC = 0x0
|
|
+ WGALLOWEDIP_A_FAMILY = 0x1
|
|
+ WGALLOWEDIP_A_IPADDR = 0x2
|
|
+ WGALLOWEDIP_A_CIDR_MASK = 0x3
|
|
+)
|
|
+
|
|
+const (
|
|
+ NL_ATTR_TYPE_INVALID = 0x0
|
|
+ NL_ATTR_TYPE_FLAG = 0x1
|
|
+ NL_ATTR_TYPE_U8 = 0x2
|
|
+ NL_ATTR_TYPE_U16 = 0x3
|
|
+ NL_ATTR_TYPE_U32 = 0x4
|
|
+ NL_ATTR_TYPE_U64 = 0x5
|
|
+ NL_ATTR_TYPE_S8 = 0x6
|
|
+ NL_ATTR_TYPE_S16 = 0x7
|
|
+ NL_ATTR_TYPE_S32 = 0x8
|
|
+ NL_ATTR_TYPE_S64 = 0x9
|
|
+ NL_ATTR_TYPE_BINARY = 0xa
|
|
+ NL_ATTR_TYPE_STRING = 0xb
|
|
+ NL_ATTR_TYPE_NUL_STRING = 0xc
|
|
+ NL_ATTR_TYPE_NESTED = 0xd
|
|
+ NL_ATTR_TYPE_NESTED_ARRAY = 0xe
|
|
+ NL_ATTR_TYPE_BITFIELD32 = 0xf
|
|
+
|
|
+ NL_POLICY_TYPE_ATTR_UNSPEC = 0x0
|
|
+ NL_POLICY_TYPE_ATTR_TYPE = 0x1
|
|
+ NL_POLICY_TYPE_ATTR_MIN_VALUE_S = 0x2
|
|
+ NL_POLICY_TYPE_ATTR_MAX_VALUE_S = 0x3
|
|
+ NL_POLICY_TYPE_ATTR_MIN_VALUE_U = 0x4
|
|
+ NL_POLICY_TYPE_ATTR_MAX_VALUE_U = 0x5
|
|
+ NL_POLICY_TYPE_ATTR_MIN_LENGTH = 0x6
|
|
+ NL_POLICY_TYPE_ATTR_MAX_LENGTH = 0x7
|
|
+ NL_POLICY_TYPE_ATTR_POLICY_IDX = 0x8
|
|
+ NL_POLICY_TYPE_ATTR_POLICY_MAXTYPE = 0x9
|
|
+ NL_POLICY_TYPE_ATTR_BITFIELD32_MASK = 0xa
|
|
+ NL_POLICY_TYPE_ATTR_PAD = 0xb
|
|
+ NL_POLICY_TYPE_ATTR_MASK = 0xc
|
|
+ NL_POLICY_TYPE_ATTR_MAX = 0xc
|
|
+)
|
|
+
|
|
+type CANBitTiming struct {
|
|
+ Bitrate uint32
|
|
+ Sample_point uint32
|
|
+ Tq uint32
|
|
+ Prop_seg uint32
|
|
+ Phase_seg1 uint32
|
|
+ Phase_seg2 uint32
|
|
+ Sjw uint32
|
|
+ Brp uint32
|
|
+}
|
|
+
|
|
+type CANBitTimingConst struct {
|
|
+ Name [16]uint8
|
|
+ Tseg1_min uint32
|
|
+ Tseg1_max uint32
|
|
+ Tseg2_min uint32
|
|
+ Tseg2_max uint32
|
|
+ Sjw_max uint32
|
|
+ Brp_min uint32
|
|
+ Brp_max uint32
|
|
+ Brp_inc uint32
|
|
+}
|
|
+
|
|
+type CANClock struct {
|
|
+ Freq uint32
|
|
+}
|
|
+
|
|
+type CANBusErrorCounters struct {
|
|
+ Txerr uint16
|
|
+ Rxerr uint16
|
|
+}
|
|
+
|
|
+type CANCtrlMode struct {
|
|
+ Mask uint32
|
|
+ Flags uint32
|
|
+}
|
|
+
|
|
+type CANDeviceStats struct {
|
|
+ Bus_error uint32
|
|
+ Error_warning uint32
|
|
+ Error_passive uint32
|
|
+ Bus_off uint32
|
|
+ Arbitration_lost uint32
|
|
+ Restarts uint32
|
|
+}
|
|
+
|
|
+const (
|
|
+ CAN_STATE_ERROR_ACTIVE = 0x0
|
|
+ CAN_STATE_ERROR_WARNING = 0x1
|
|
+ CAN_STATE_ERROR_PASSIVE = 0x2
|
|
+ CAN_STATE_BUS_OFF = 0x3
|
|
+ CAN_STATE_STOPPED = 0x4
|
|
+ CAN_STATE_SLEEPING = 0x5
|
|
+ CAN_STATE_MAX = 0x6
|
|
+)
|
|
+
|
|
+const (
|
|
+ IFLA_CAN_UNSPEC = 0x0
|
|
+ IFLA_CAN_BITTIMING = 0x1
|
|
+ IFLA_CAN_BITTIMING_CONST = 0x2
|
|
+ IFLA_CAN_CLOCK = 0x3
|
|
+ IFLA_CAN_STATE = 0x4
|
|
+ IFLA_CAN_CTRLMODE = 0x5
|
|
+ IFLA_CAN_RESTART_MS = 0x6
|
|
+ IFLA_CAN_RESTART = 0x7
|
|
+ IFLA_CAN_BERR_COUNTER = 0x8
|
|
+ IFLA_CAN_DATA_BITTIMING = 0x9
|
|
+ IFLA_CAN_DATA_BITTIMING_CONST = 0xa
|
|
+ IFLA_CAN_TERMINATION = 0xb
|
|
+ IFLA_CAN_TERMINATION_CONST = 0xc
|
|
+ IFLA_CAN_BITRATE_CONST = 0xd
|
|
+ IFLA_CAN_DATA_BITRATE_CONST = 0xe
|
|
+ IFLA_CAN_BITRATE_MAX = 0xf
|
|
+)
|
|
+
|
|
+type KCMAttach struct {
|
|
+ Fd int32
|
|
+ Bpf_fd int32
|
|
+}
|
|
+
|
|
+type KCMUnattach struct {
|
|
+ Fd int32
|
|
+}
|
|
+
|
|
+type KCMClone struct {
|
|
+ Fd int32
|
|
+}
|
|
+
|
|
+const (
|
|
+ NL80211_AC_BE = 0x2
|
|
+ NL80211_AC_BK = 0x3
|
|
+ NL80211_ACL_POLICY_ACCEPT_UNLESS_LISTED = 0x0
|
|
+ NL80211_ACL_POLICY_DENY_UNLESS_LISTED = 0x1
|
|
+ NL80211_AC_VI = 0x1
|
|
+ NL80211_AC_VO = 0x0
|
|
+ NL80211_ATTR_4ADDR = 0x53
|
|
+ NL80211_ATTR_ACK = 0x5c
|
|
+ NL80211_ATTR_ACK_SIGNAL = 0x107
|
|
+ NL80211_ATTR_ACL_POLICY = 0xa5
|
|
+ NL80211_ATTR_ADMITTED_TIME = 0xd4
|
|
+ NL80211_ATTR_AIRTIME_WEIGHT = 0x112
|
|
+ NL80211_ATTR_AKM_SUITES = 0x4c
|
|
+ NL80211_ATTR_AP_ISOLATE = 0x60
|
|
+ NL80211_ATTR_AUTH_DATA = 0x9c
|
|
+ NL80211_ATTR_AUTH_TYPE = 0x35
|
|
+ NL80211_ATTR_BANDS = 0xef
|
|
+ NL80211_ATTR_BEACON_HEAD = 0xe
|
|
+ NL80211_ATTR_BEACON_INTERVAL = 0xc
|
|
+ NL80211_ATTR_BEACON_TAIL = 0xf
|
|
+ NL80211_ATTR_BG_SCAN_PERIOD = 0x98
|
|
+ NL80211_ATTR_BSS_BASIC_RATES = 0x24
|
|
+ NL80211_ATTR_BSS = 0x2f
|
|
+ NL80211_ATTR_BSS_CTS_PROT = 0x1c
|
|
+ NL80211_ATTR_BSS_HT_OPMODE = 0x6d
|
|
+ NL80211_ATTR_BSSID = 0xf5
|
|
+ NL80211_ATTR_BSS_SELECT = 0xe3
|
|
+ NL80211_ATTR_BSS_SHORT_PREAMBLE = 0x1d
|
|
+ NL80211_ATTR_BSS_SHORT_SLOT_TIME = 0x1e
|
|
+ NL80211_ATTR_CENTER_FREQ1 = 0xa0
|
|
+ NL80211_ATTR_CENTER_FREQ1_OFFSET = 0x123
|
|
+ NL80211_ATTR_CENTER_FREQ2 = 0xa1
|
|
+ NL80211_ATTR_CHANNEL_WIDTH = 0x9f
|
|
+ NL80211_ATTR_CH_SWITCH_BLOCK_TX = 0xb8
|
|
+ NL80211_ATTR_CH_SWITCH_COUNT = 0xb7
|
|
+ NL80211_ATTR_CIPHER_SUITE_GROUP = 0x4a
|
|
+ NL80211_ATTR_CIPHER_SUITES = 0x39
|
|
+ NL80211_ATTR_CIPHER_SUITES_PAIRWISE = 0x49
|
|
+ NL80211_ATTR_CNTDWN_OFFS_BEACON = 0xba
|
|
+ NL80211_ATTR_CNTDWN_OFFS_PRESP = 0xbb
|
|
+ NL80211_ATTR_COALESCE_RULE = 0xb6
|
|
+ NL80211_ATTR_COALESCE_RULE_CONDITION = 0x2
|
|
+ NL80211_ATTR_COALESCE_RULE_DELAY = 0x1
|
|
+ NL80211_ATTR_COALESCE_RULE_MAX = 0x3
|
|
+ NL80211_ATTR_COALESCE_RULE_PKT_PATTERN = 0x3
|
|
+ NL80211_ATTR_CONN_FAILED_REASON = 0x9b
|
|
+ NL80211_ATTR_CONTROL_PORT = 0x44
|
|
+ NL80211_ATTR_CONTROL_PORT_ETHERTYPE = 0x66
|
|
+ NL80211_ATTR_CONTROL_PORT_NO_ENCRYPT = 0x67
|
|
+ NL80211_ATTR_CONTROL_PORT_NO_PREAUTH = 0x11e
|
|
+ NL80211_ATTR_CONTROL_PORT_OVER_NL80211 = 0x108
|
|
+ NL80211_ATTR_COOKIE = 0x58
|
|
+ NL80211_ATTR_CQM_BEACON_LOSS_EVENT = 0x8
|
|
+ NL80211_ATTR_CQM = 0x5e
|
|
+ NL80211_ATTR_CQM_MAX = 0x9
|
|
+ NL80211_ATTR_CQM_PKT_LOSS_EVENT = 0x4
|
|
+ NL80211_ATTR_CQM_RSSI_HYST = 0x2
|
|
+ NL80211_ATTR_CQM_RSSI_LEVEL = 0x9
|
|
+ NL80211_ATTR_CQM_RSSI_THOLD = 0x1
|
|
+ NL80211_ATTR_CQM_RSSI_THRESHOLD_EVENT = 0x3
|
|
+ NL80211_ATTR_CQM_TXE_INTVL = 0x7
|
|
+ NL80211_ATTR_CQM_TXE_PKTS = 0x6
|
|
+ NL80211_ATTR_CQM_TXE_RATE = 0x5
|
|
+ NL80211_ATTR_CRIT_PROT_ID = 0xb3
|
|
+ NL80211_ATTR_CSA_C_OFF_BEACON = 0xba
|
|
+ NL80211_ATTR_CSA_C_OFF_PRESP = 0xbb
|
|
+ NL80211_ATTR_CSA_C_OFFSETS_TX = 0xcd
|
|
+ NL80211_ATTR_CSA_IES = 0xb9
|
|
+ NL80211_ATTR_DEVICE_AP_SME = 0x8d
|
|
+ NL80211_ATTR_DFS_CAC_TIME = 0x7
|
|
+ NL80211_ATTR_DFS_REGION = 0x92
|
|
+ NL80211_ATTR_DISABLE_HE = 0x12d
|
|
+ NL80211_ATTR_DISABLE_HT = 0x93
|
|
+ NL80211_ATTR_DISABLE_VHT = 0xaf
|
|
+ NL80211_ATTR_DISCONNECTED_BY_AP = 0x47
|
|
+ NL80211_ATTR_DONT_WAIT_FOR_ACK = 0x8e
|
|
+ NL80211_ATTR_DTIM_PERIOD = 0xd
|
|
+ NL80211_ATTR_DURATION = 0x57
|
|
+ NL80211_ATTR_EXT_CAPA = 0xa9
|
|
+ NL80211_ATTR_EXT_CAPA_MASK = 0xaa
|
|
+ NL80211_ATTR_EXTERNAL_AUTH_ACTION = 0x104
|
|
+ NL80211_ATTR_EXTERNAL_AUTH_SUPPORT = 0x105
|
|
+ NL80211_ATTR_EXT_FEATURES = 0xd9
|
|
+ NL80211_ATTR_FEATURE_FLAGS = 0x8f
|
|
+ NL80211_ATTR_FILS_CACHE_ID = 0xfd
|
|
+ NL80211_ATTR_FILS_DISCOVERY = 0x126
|
|
+ NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM = 0xfb
|
|
+ NL80211_ATTR_FILS_ERP_REALM = 0xfa
|
|
+ NL80211_ATTR_FILS_ERP_RRK = 0xfc
|
|
+ NL80211_ATTR_FILS_ERP_USERNAME = 0xf9
|
|
+ NL80211_ATTR_FILS_KEK = 0xf2
|
|
+ NL80211_ATTR_FILS_NONCES = 0xf3
|
|
+ NL80211_ATTR_FRAME = 0x33
|
|
+ NL80211_ATTR_FRAME_MATCH = 0x5b
|
|
+ NL80211_ATTR_FRAME_TYPE = 0x65
|
|
+ NL80211_ATTR_FREQ_AFTER = 0x3b
|
|
+ NL80211_ATTR_FREQ_BEFORE = 0x3a
|
|
+ NL80211_ATTR_FREQ_FIXED = 0x3c
|
|
+ NL80211_ATTR_FREQ_RANGE_END = 0x3
|
|
+ NL80211_ATTR_FREQ_RANGE_MAX_BW = 0x4
|
|
+ NL80211_ATTR_FREQ_RANGE_START = 0x2
|
|
+ NL80211_ATTR_FTM_RESPONDER = 0x10e
|
|
+ NL80211_ATTR_FTM_RESPONDER_STATS = 0x10f
|
|
+ NL80211_ATTR_GENERATION = 0x2e
|
|
+ NL80211_ATTR_HANDLE_DFS = 0xbf
|
|
+ NL80211_ATTR_HE_6GHZ_CAPABILITY = 0x125
|
|
+ NL80211_ATTR_HE_BSS_COLOR = 0x11b
|
|
+ NL80211_ATTR_HE_CAPABILITY = 0x10d
|
|
+ NL80211_ATTR_HE_OBSS_PD = 0x117
|
|
+ NL80211_ATTR_HIDDEN_SSID = 0x7e
|
|
+ NL80211_ATTR_HT_CAPABILITY = 0x1f
|
|
+ NL80211_ATTR_HT_CAPABILITY_MASK = 0x94
|
|
+ NL80211_ATTR_IE_ASSOC_RESP = 0x80
|
|
+ NL80211_ATTR_IE = 0x2a
|
|
+ NL80211_ATTR_IE_PROBE_RESP = 0x7f
|
|
+ NL80211_ATTR_IE_RIC = 0xb2
|
|
+ NL80211_ATTR_IFACE_SOCKET_OWNER = 0xcc
|
|
+ NL80211_ATTR_IFINDEX = 0x3
|
|
+ NL80211_ATTR_IFNAME = 0x4
|
|
+ NL80211_ATTR_IFTYPE_AKM_SUITES = 0x11c
|
|
+ NL80211_ATTR_IFTYPE = 0x5
|
|
+ NL80211_ATTR_IFTYPE_EXT_CAPA = 0xe6
|
|
+ NL80211_ATTR_INACTIVITY_TIMEOUT = 0x96
|
|
+ NL80211_ATTR_INTERFACE_COMBINATIONS = 0x78
|
|
+ NL80211_ATTR_KEY_CIPHER = 0x9
|
|
+ NL80211_ATTR_KEY = 0x50
|
|
+ NL80211_ATTR_KEY_DATA = 0x7
|
|
+ NL80211_ATTR_KEY_DEFAULT = 0xb
|
|
+ NL80211_ATTR_KEY_DEFAULT_MGMT = 0x28
|
|
+ NL80211_ATTR_KEY_DEFAULT_TYPES = 0x6e
|
|
+ NL80211_ATTR_KEY_IDX = 0x8
|
|
+ NL80211_ATTR_KEYS = 0x51
|
|
+ NL80211_ATTR_KEY_SEQ = 0xa
|
|
+ NL80211_ATTR_KEY_TYPE = 0x37
|
|
+ NL80211_ATTR_LOCAL_MESH_POWER_MODE = 0xa4
|
|
+ NL80211_ATTR_LOCAL_STATE_CHANGE = 0x5f
|
|
+ NL80211_ATTR_MAC_ACL_MAX = 0xa7
|
|
+ NL80211_ATTR_MAC_ADDRS = 0xa6
|
|
+ NL80211_ATTR_MAC = 0x6
|
|
+ NL80211_ATTR_MAC_HINT = 0xc8
|
|
+ NL80211_ATTR_MAC_MASK = 0xd7
|
|
+ NL80211_ATTR_MAX_AP_ASSOC_STA = 0xca
|
|
+ NL80211_ATTR_MAX = 0x137
|
|
+ NL80211_ATTR_MAX_CRIT_PROT_DURATION = 0xb4
|
|
+ NL80211_ATTR_MAX_CSA_COUNTERS = 0xce
|
|
+ NL80211_ATTR_MAX_MATCH_SETS = 0x85
|
|
+ NL80211_ATTR_MAX_NUM_PMKIDS = 0x56
|
|
+ NL80211_ATTR_MAX_NUM_SCAN_SSIDS = 0x2b
|
|
+ NL80211_ATTR_MAX_NUM_SCHED_SCAN_PLANS = 0xde
|
|
+ NL80211_ATTR_MAX_NUM_SCHED_SCAN_SSIDS = 0x7b
|
|
+ NL80211_ATTR_MAX_REMAIN_ON_CHANNEL_DURATION = 0x6f
|
|
+ NL80211_ATTR_MAX_SCAN_IE_LEN = 0x38
|
|
+ NL80211_ATTR_MAX_SCAN_PLAN_INTERVAL = 0xdf
|
|
+ NL80211_ATTR_MAX_SCAN_PLAN_ITERATIONS = 0xe0
|
|
+ NL80211_ATTR_MAX_SCHED_SCAN_IE_LEN = 0x7c
|
|
+ NL80211_ATTR_MCAST_RATE = 0x6b
|
|
+ NL80211_ATTR_MDID = 0xb1
|
|
+ NL80211_ATTR_MEASUREMENT_DURATION = 0xeb
|
|
+ NL80211_ATTR_MEASUREMENT_DURATION_MANDATORY = 0xec
|
|
+ NL80211_ATTR_MESH_CONFIG = 0x23
|
|
+ NL80211_ATTR_MESH_ID = 0x18
|
|
+ NL80211_ATTR_MESH_PEER_AID = 0xed
|
|
+ NL80211_ATTR_MESH_SETUP = 0x70
|
|
+ NL80211_ATTR_MGMT_SUBTYPE = 0x29
|
|
+ NL80211_ATTR_MNTR_FLAGS = 0x17
|
|
+ NL80211_ATTR_MPATH_INFO = 0x1b
|
|
+ NL80211_ATTR_MPATH_NEXT_HOP = 0x1a
|
|
+ NL80211_ATTR_MULTICAST_TO_UNICAST_ENABLED = 0xf4
|
|
+ NL80211_ATTR_MU_MIMO_FOLLOW_MAC_ADDR = 0xe8
|
|
+ NL80211_ATTR_MU_MIMO_GROUP_DATA = 0xe7
|
|
+ NL80211_ATTR_NAN_FUNC = 0xf0
|
|
+ NL80211_ATTR_NAN_MASTER_PREF = 0xee
|
|
+ NL80211_ATTR_NAN_MATCH = 0xf1
|
|
+ NL80211_ATTR_NETNS_FD = 0xdb
|
|
+ NL80211_ATTR_NOACK_MAP = 0x95
|
|
+ NL80211_ATTR_NSS = 0x106
|
|
+ NL80211_ATTR_OFFCHANNEL_TX_OK = 0x6c
|
|
+ NL80211_ATTR_OPER_CLASS = 0xd6
|
|
+ NL80211_ATTR_OPMODE_NOTIF = 0xc2
|
|
+ NL80211_ATTR_P2P_CTWINDOW = 0xa2
|
|
+ NL80211_ATTR_P2P_OPPPS = 0xa3
|
|
+ NL80211_ATTR_PAD = 0xe5
|
|
+ NL80211_ATTR_PBSS = 0xe2
|
|
+ NL80211_ATTR_PEER_AID = 0xb5
|
|
+ NL80211_ATTR_PEER_MEASUREMENTS = 0x111
|
|
+ NL80211_ATTR_PID = 0x52
|
|
+ NL80211_ATTR_PMK = 0xfe
|
|
+ NL80211_ATTR_PMKID = 0x55
|
|
+ NL80211_ATTR_PMK_LIFETIME = 0x11f
|
|
+ NL80211_ATTR_PMKR0_NAME = 0x102
|
|
+ NL80211_ATTR_PMK_REAUTH_THRESHOLD = 0x120
|
|
+ NL80211_ATTR_PMKSA_CANDIDATE = 0x86
|
|
+ NL80211_ATTR_PORT_AUTHORIZED = 0x103
|
|
+ NL80211_ATTR_POWER_RULE_MAX_ANT_GAIN = 0x5
|
|
+ NL80211_ATTR_POWER_RULE_MAX_EIRP = 0x6
|
|
+ NL80211_ATTR_PREV_BSSID = 0x4f
|
|
+ NL80211_ATTR_PRIVACY = 0x46
|
|
+ NL80211_ATTR_PROBE_RESP = 0x91
|
|
+ NL80211_ATTR_PROBE_RESP_OFFLOAD = 0x90
|
|
+ NL80211_ATTR_PROTOCOL_FEATURES = 0xad
|
|
+ NL80211_ATTR_PS_STATE = 0x5d
|
|
+ NL80211_ATTR_QOS_MAP = 0xc7
|
|
+ NL80211_ATTR_RADAR_EVENT = 0xa8
|
|
+ NL80211_ATTR_REASON_CODE = 0x36
|
|
+ NL80211_ATTR_RECEIVE_MULTICAST = 0x121
|
|
+ NL80211_ATTR_RECONNECT_REQUESTED = 0x12b
|
|
+ NL80211_ATTR_REG_ALPHA2 = 0x21
|
|
+ NL80211_ATTR_REG_INDOOR = 0xdd
|
|
+ NL80211_ATTR_REG_INITIATOR = 0x30
|
|
+ NL80211_ATTR_REG_RULE_FLAGS = 0x1
|
|
+ NL80211_ATTR_REG_RULES = 0x22
|
|
+ NL80211_ATTR_REG_TYPE = 0x31
|
|
+ NL80211_ATTR_REKEY_DATA = 0x7a
|
|
+ NL80211_ATTR_REQ_IE = 0x4d
|
|
+ NL80211_ATTR_RESP_IE = 0x4e
|
|
+ NL80211_ATTR_ROAM_SUPPORT = 0x83
|
|
+ NL80211_ATTR_RX_FRAME_TYPES = 0x64
|
|
+ NL80211_ATTR_RXMGMT_FLAGS = 0xbc
|
|
+ NL80211_ATTR_RX_SIGNAL_DBM = 0x97
|
|
+ NL80211_ATTR_S1G_CAPABILITY = 0x128
|
|
+ NL80211_ATTR_S1G_CAPABILITY_MASK = 0x129
|
|
+ NL80211_ATTR_SAE_DATA = 0x9c
|
|
+ NL80211_ATTR_SAE_PASSWORD = 0x115
|
|
+ NL80211_ATTR_SAE_PWE = 0x12a
|
|
+ NL80211_ATTR_SAR_SPEC = 0x12c
|
|
+ NL80211_ATTR_SCAN_FLAGS = 0x9e
|
|
+ NL80211_ATTR_SCAN_FREQ_KHZ = 0x124
|
|
+ NL80211_ATTR_SCAN_FREQUENCIES = 0x2c
|
|
+ NL80211_ATTR_SCAN_GENERATION = 0x2e
|
|
+ NL80211_ATTR_SCAN_SSIDS = 0x2d
|
|
+ NL80211_ATTR_SCAN_START_TIME_TSF_BSSID = 0xea
|
|
+ NL80211_ATTR_SCAN_START_TIME_TSF = 0xe9
|
|
+ NL80211_ATTR_SCAN_SUPP_RATES = 0x7d
|
|
+ NL80211_ATTR_SCHED_SCAN_DELAY = 0xdc
|
|
+ NL80211_ATTR_SCHED_SCAN_INTERVAL = 0x77
|
|
+ NL80211_ATTR_SCHED_SCAN_MATCH = 0x84
|
|
+ NL80211_ATTR_SCHED_SCAN_MATCH_SSID = 0x1
|
|
+ NL80211_ATTR_SCHED_SCAN_MAX_REQS = 0x100
|
|
+ NL80211_ATTR_SCHED_SCAN_MULTI = 0xff
|
|
+ NL80211_ATTR_SCHED_SCAN_PLANS = 0xe1
|
|
+ NL80211_ATTR_SCHED_SCAN_RELATIVE_RSSI = 0xf6
|
|
+ NL80211_ATTR_SCHED_SCAN_RSSI_ADJUST = 0xf7
|
|
+ NL80211_ATTR_SMPS_MODE = 0xd5
|
|
+ NL80211_ATTR_SOCKET_OWNER = 0xcc
|
|
+ NL80211_ATTR_SOFTWARE_IFTYPES = 0x79
|
|
+ NL80211_ATTR_SPLIT_WIPHY_DUMP = 0xae
|
|
+ NL80211_ATTR_SSID = 0x34
|
|
+ NL80211_ATTR_STA_AID = 0x10
|
|
+ NL80211_ATTR_STA_CAPABILITY = 0xab
|
|
+ NL80211_ATTR_STA_EXT_CAPABILITY = 0xac
|
|
+ NL80211_ATTR_STA_FLAGS2 = 0x43
|
|
+ NL80211_ATTR_STA_FLAGS = 0x11
|
|
+ NL80211_ATTR_STA_INFO = 0x15
|
|
+ NL80211_ATTR_STA_LISTEN_INTERVAL = 0x12
|
|
+ NL80211_ATTR_STA_PLINK_ACTION = 0x19
|
|
+ NL80211_ATTR_STA_PLINK_STATE = 0x74
|
|
+ NL80211_ATTR_STA_SUPPORTED_CHANNELS = 0xbd
|
|
+ NL80211_ATTR_STA_SUPPORTED_OPER_CLASSES = 0xbe
|
|
+ NL80211_ATTR_STA_SUPPORTED_RATES = 0x13
|
|
+ NL80211_ATTR_STA_SUPPORT_P2P_PS = 0xe4
|
|
+ NL80211_ATTR_STATUS_CODE = 0x48
|
|
+ NL80211_ATTR_STA_TX_POWER = 0x114
|
|
+ NL80211_ATTR_STA_TX_POWER_SETTING = 0x113
|
|
+ NL80211_ATTR_STA_VLAN = 0x14
|
|
+ NL80211_ATTR_STA_WME = 0x81
|
|
+ NL80211_ATTR_SUPPORT_10_MHZ = 0xc1
|
|
+ NL80211_ATTR_SUPPORT_5_MHZ = 0xc0
|
|
+ NL80211_ATTR_SUPPORT_AP_UAPSD = 0x82
|
|
+ NL80211_ATTR_SUPPORTED_COMMANDS = 0x32
|
|
+ NL80211_ATTR_SUPPORTED_IFTYPES = 0x20
|
|
+ NL80211_ATTR_SUPPORT_IBSS_RSN = 0x68
|
|
+ NL80211_ATTR_SUPPORT_MESH_AUTH = 0x73
|
|
+ NL80211_ATTR_SURVEY_INFO = 0x54
|
|
+ NL80211_ATTR_SURVEY_RADIO_STATS = 0xda
|
|
+ NL80211_ATTR_TDLS_ACTION = 0x88
|
|
+ NL80211_ATTR_TDLS_DIALOG_TOKEN = 0x89
|
|
+ NL80211_ATTR_TDLS_EXTERNAL_SETUP = 0x8c
|
|
+ NL80211_ATTR_TDLS_INITIATOR = 0xcf
|
|
+ NL80211_ATTR_TDLS_OPERATION = 0x8a
|
|
+ NL80211_ATTR_TDLS_PEER_CAPABILITY = 0xcb
|
|
+ NL80211_ATTR_TDLS_SUPPORT = 0x8b
|
|
+ NL80211_ATTR_TESTDATA = 0x45
|
|
+ NL80211_ATTR_TID_CONFIG = 0x11d
|
|
+ NL80211_ATTR_TIMED_OUT = 0x41
|
|
+ NL80211_ATTR_TIMEOUT = 0x110
|
|
+ NL80211_ATTR_TIMEOUT_REASON = 0xf8
|
|
+ NL80211_ATTR_TSID = 0xd2
|
|
+ NL80211_ATTR_TWT_RESPONDER = 0x116
|
|
+ NL80211_ATTR_TX_FRAME_TYPES = 0x63
|
|
+ NL80211_ATTR_TX_NO_CCK_RATE = 0x87
|
|
+ NL80211_ATTR_TXQ_LIMIT = 0x10a
|
|
+ NL80211_ATTR_TXQ_MEMORY_LIMIT = 0x10b
|
|
+ NL80211_ATTR_TXQ_QUANTUM = 0x10c
|
|
+ NL80211_ATTR_TXQ_STATS = 0x109
|
|
+ NL80211_ATTR_TX_RATES = 0x5a
|
|
+ NL80211_ATTR_UNSOL_BCAST_PROBE_RESP = 0x127
|
|
+ NL80211_ATTR_UNSPEC = 0x0
|
|
+ NL80211_ATTR_USE_MFP = 0x42
|
|
+ NL80211_ATTR_USER_PRIO = 0xd3
|
|
+ NL80211_ATTR_USER_REG_HINT_TYPE = 0x9a
|
|
+ NL80211_ATTR_USE_RRM = 0xd0
|
|
+ NL80211_ATTR_VENDOR_DATA = 0xc5
|
|
+ NL80211_ATTR_VENDOR_EVENTS = 0xc6
|
|
+ NL80211_ATTR_VENDOR_ID = 0xc3
|
|
+ NL80211_ATTR_VENDOR_SUBCMD = 0xc4
|
|
+ NL80211_ATTR_VHT_CAPABILITY = 0x9d
|
|
+ NL80211_ATTR_VHT_CAPABILITY_MASK = 0xb0
|
|
+ NL80211_ATTR_VLAN_ID = 0x11a
|
|
+ NL80211_ATTR_WANT_1X_4WAY_HS = 0x101
|
|
+ NL80211_ATTR_WDEV = 0x99
|
|
+ NL80211_ATTR_WIPHY_ANTENNA_AVAIL_RX = 0x72
|
|
+ NL80211_ATTR_WIPHY_ANTENNA_AVAIL_TX = 0x71
|
|
+ NL80211_ATTR_WIPHY_ANTENNA_RX = 0x6a
|
|
+ NL80211_ATTR_WIPHY_ANTENNA_TX = 0x69
|
|
+ NL80211_ATTR_WIPHY_BANDS = 0x16
|
|
+ NL80211_ATTR_WIPHY_CHANNEL_TYPE = 0x27
|
|
+ NL80211_ATTR_WIPHY = 0x1
|
|
+ NL80211_ATTR_WIPHY_COVERAGE_CLASS = 0x59
|
|
+ NL80211_ATTR_WIPHY_DYN_ACK = 0xd1
|
|
+ NL80211_ATTR_WIPHY_EDMG_BW_CONFIG = 0x119
|
|
+ NL80211_ATTR_WIPHY_EDMG_CHANNELS = 0x118
|
|
+ NL80211_ATTR_WIPHY_FRAG_THRESHOLD = 0x3f
|
|
+ NL80211_ATTR_WIPHY_FREQ = 0x26
|
|
+ NL80211_ATTR_WIPHY_FREQ_HINT = 0xc9
|
|
+ NL80211_ATTR_WIPHY_FREQ_OFFSET = 0x122
|
|
+ NL80211_ATTR_WIPHY_NAME = 0x2
|
|
+ NL80211_ATTR_WIPHY_RETRY_LONG = 0x3e
|
|
+ NL80211_ATTR_WIPHY_RETRY_SHORT = 0x3d
|
|
+ NL80211_ATTR_WIPHY_RTS_THRESHOLD = 0x40
|
|
+ NL80211_ATTR_WIPHY_SELF_MANAGED_REG = 0xd8
|
|
+ NL80211_ATTR_WIPHY_TX_POWER_LEVEL = 0x62
|
|
+ NL80211_ATTR_WIPHY_TX_POWER_SETTING = 0x61
|
|
+ NL80211_ATTR_WIPHY_TXQ_PARAMS = 0x25
|
|
+ NL80211_ATTR_WOWLAN_TRIGGERS = 0x75
|
|
+ NL80211_ATTR_WOWLAN_TRIGGERS_SUPPORTED = 0x76
|
|
+ NL80211_ATTR_WPA_VERSIONS = 0x4b
|
|
+ NL80211_AUTHTYPE_AUTOMATIC = 0x8
|
|
+ NL80211_AUTHTYPE_FILS_PK = 0x7
|
|
+ NL80211_AUTHTYPE_FILS_SK = 0x5
|
|
+ NL80211_AUTHTYPE_FILS_SK_PFS = 0x6
|
|
+ NL80211_AUTHTYPE_FT = 0x2
|
|
+ NL80211_AUTHTYPE_MAX = 0x7
|
|
+ NL80211_AUTHTYPE_NETWORK_EAP = 0x3
|
|
+ NL80211_AUTHTYPE_OPEN_SYSTEM = 0x0
|
|
+ NL80211_AUTHTYPE_SAE = 0x4
|
|
+ NL80211_AUTHTYPE_SHARED_KEY = 0x1
|
|
+ NL80211_BAND_2GHZ = 0x0
|
|
+ NL80211_BAND_5GHZ = 0x1
|
|
+ NL80211_BAND_60GHZ = 0x2
|
|
+ NL80211_BAND_6GHZ = 0x3
|
|
+ NL80211_BAND_ATTR_EDMG_BW_CONFIG = 0xb
|
|
+ NL80211_BAND_ATTR_EDMG_CHANNELS = 0xa
|
|
+ NL80211_BAND_ATTR_FREQS = 0x1
|
|
+ NL80211_BAND_ATTR_HT_AMPDU_DENSITY = 0x6
|
|
+ NL80211_BAND_ATTR_HT_AMPDU_FACTOR = 0x5
|
|
+ NL80211_BAND_ATTR_HT_CAPA = 0x4
|
|
+ NL80211_BAND_ATTR_HT_MCS_SET = 0x3
|
|
+ NL80211_BAND_ATTR_IFTYPE_DATA = 0x9
|
|
+ NL80211_BAND_ATTR_MAX = 0xb
|
|
+ NL80211_BAND_ATTR_RATES = 0x2
|
|
+ NL80211_BAND_ATTR_VHT_CAPA = 0x8
|
|
+ NL80211_BAND_ATTR_VHT_MCS_SET = 0x7
|
|
+ NL80211_BAND_IFTYPE_ATTR_HE_6GHZ_CAPA = 0x6
|
|
+ NL80211_BAND_IFTYPE_ATTR_HE_CAP_MAC = 0x2
|
|
+ NL80211_BAND_IFTYPE_ATTR_HE_CAP_MCS_SET = 0x4
|
|
+ NL80211_BAND_IFTYPE_ATTR_HE_CAP_PHY = 0x3
|
|
+ NL80211_BAND_IFTYPE_ATTR_HE_CAP_PPE = 0x5
|
|
+ NL80211_BAND_IFTYPE_ATTR_IFTYPES = 0x1
|
|
+ NL80211_BAND_IFTYPE_ATTR_MAX = 0xb
|
|
+ NL80211_BAND_S1GHZ = 0x4
|
|
+ NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE = 0x2
|
|
+ NL80211_BITRATE_ATTR_MAX = 0x2
|
|
+ NL80211_BITRATE_ATTR_RATE = 0x1
|
|
+ NL80211_BSS_BEACON_IES = 0xb
|
|
+ NL80211_BSS_BEACON_INTERVAL = 0x4
|
|
+ NL80211_BSS_BEACON_TSF = 0xd
|
|
+ NL80211_BSS_BSSID = 0x1
|
|
+ NL80211_BSS_CAPABILITY = 0x5
|
|
+ NL80211_BSS_CHAIN_SIGNAL = 0x13
|
|
+ NL80211_BSS_CHAN_WIDTH_10 = 0x1
|
|
+ NL80211_BSS_CHAN_WIDTH_1 = 0x3
|
|
+ NL80211_BSS_CHAN_WIDTH_20 = 0x0
|
|
+ NL80211_BSS_CHAN_WIDTH_2 = 0x4
|
|
+ NL80211_BSS_CHAN_WIDTH_5 = 0x2
|
|
+ NL80211_BSS_CHAN_WIDTH = 0xc
|
|
+ NL80211_BSS_FREQUENCY = 0x2
|
|
+ NL80211_BSS_FREQUENCY_OFFSET = 0x14
|
|
+ NL80211_BSS_INFORMATION_ELEMENTS = 0x6
|
|
+ NL80211_BSS_LAST_SEEN_BOOTTIME = 0xf
|
|
+ NL80211_BSS_MAX = 0x14
|
|
+ NL80211_BSS_PAD = 0x10
|
|
+ NL80211_BSS_PARENT_BSSID = 0x12
|
|
+ NL80211_BSS_PARENT_TSF = 0x11
|
|
+ NL80211_BSS_PRESP_DATA = 0xe
|
|
+ NL80211_BSS_SEEN_MS_AGO = 0xa
|
|
+ NL80211_BSS_SELECT_ATTR_BAND_PREF = 0x2
|
|
+ NL80211_BSS_SELECT_ATTR_MAX = 0x3
|
|
+ NL80211_BSS_SELECT_ATTR_RSSI_ADJUST = 0x3
|
|
+ NL80211_BSS_SELECT_ATTR_RSSI = 0x1
|
|
+ NL80211_BSS_SIGNAL_MBM = 0x7
|
|
+ NL80211_BSS_SIGNAL_UNSPEC = 0x8
|
|
+ NL80211_BSS_STATUS_ASSOCIATED = 0x1
|
|
+ NL80211_BSS_STATUS_AUTHENTICATED = 0x0
|
|
+ NL80211_BSS_STATUS = 0x9
|
|
+ NL80211_BSS_STATUS_IBSS_JOINED = 0x2
|
|
+ NL80211_BSS_TSF = 0x3
|
|
+ NL80211_CHAN_HT20 = 0x1
|
|
+ NL80211_CHAN_HT40MINUS = 0x2
|
|
+ NL80211_CHAN_HT40PLUS = 0x3
|
|
+ NL80211_CHAN_NO_HT = 0x0
|
|
+ NL80211_CHAN_WIDTH_10 = 0x7
|
|
+ NL80211_CHAN_WIDTH_160 = 0x5
|
|
+ NL80211_CHAN_WIDTH_16 = 0xc
|
|
+ NL80211_CHAN_WIDTH_1 = 0x8
|
|
+ NL80211_CHAN_WIDTH_20 = 0x1
|
|
+ NL80211_CHAN_WIDTH_20_NOHT = 0x0
|
|
+ NL80211_CHAN_WIDTH_2 = 0x9
|
|
+ NL80211_CHAN_WIDTH_40 = 0x2
|
|
+ NL80211_CHAN_WIDTH_4 = 0xa
|
|
+ NL80211_CHAN_WIDTH_5 = 0x6
|
|
+ NL80211_CHAN_WIDTH_80 = 0x3
|
|
+ NL80211_CHAN_WIDTH_80P80 = 0x4
|
|
+ NL80211_CHAN_WIDTH_8 = 0xb
|
|
+ NL80211_CMD_ABORT_SCAN = 0x72
|
|
+ NL80211_CMD_ACTION = 0x3b
|
|
+ NL80211_CMD_ACTION_TX_STATUS = 0x3c
|
|
+ NL80211_CMD_ADD_NAN_FUNCTION = 0x75
|
|
+ NL80211_CMD_ADD_TX_TS = 0x69
|
|
+ NL80211_CMD_ASSOCIATE = 0x26
|
|
+ NL80211_CMD_AUTHENTICATE = 0x25
|
|
+ NL80211_CMD_CANCEL_REMAIN_ON_CHANNEL = 0x38
|
|
+ NL80211_CMD_CHANGE_NAN_CONFIG = 0x77
|
|
+ NL80211_CMD_CHANNEL_SWITCH = 0x66
|
|
+ NL80211_CMD_CH_SWITCH_NOTIFY = 0x58
|
|
+ NL80211_CMD_CH_SWITCH_STARTED_NOTIFY = 0x6e
|
|
+ NL80211_CMD_CONNECT = 0x2e
|
|
+ NL80211_CMD_CONN_FAILED = 0x5b
|
|
+ NL80211_CMD_CONTROL_PORT_FRAME = 0x81
|
|
+ NL80211_CMD_CONTROL_PORT_FRAME_TX_STATUS = 0x8b
|
|
+ NL80211_CMD_CRIT_PROTOCOL_START = 0x62
|
|
+ NL80211_CMD_CRIT_PROTOCOL_STOP = 0x63
|
|
+ NL80211_CMD_DEAUTHENTICATE = 0x27
|
|
+ NL80211_CMD_DEL_BEACON = 0x10
|
|
+ NL80211_CMD_DEL_INTERFACE = 0x8
|
|
+ NL80211_CMD_DEL_KEY = 0xc
|
|
+ NL80211_CMD_DEL_MPATH = 0x18
|
|
+ NL80211_CMD_DEL_NAN_FUNCTION = 0x76
|
|
+ NL80211_CMD_DEL_PMK = 0x7c
|
|
+ NL80211_CMD_DEL_PMKSA = 0x35
|
|
+ NL80211_CMD_DEL_STATION = 0x14
|
|
+ NL80211_CMD_DEL_TX_TS = 0x6a
|
|
+ NL80211_CMD_DEL_WIPHY = 0x4
|
|
+ NL80211_CMD_DISASSOCIATE = 0x28
|
|
+ NL80211_CMD_DISCONNECT = 0x30
|
|
+ NL80211_CMD_EXTERNAL_AUTH = 0x7f
|
|
+ NL80211_CMD_FLUSH_PMKSA = 0x36
|
|
+ NL80211_CMD_FRAME = 0x3b
|
|
+ NL80211_CMD_FRAME_TX_STATUS = 0x3c
|
|
+ NL80211_CMD_FRAME_WAIT_CANCEL = 0x43
|
|
+ NL80211_CMD_FT_EVENT = 0x61
|
|
+ NL80211_CMD_GET_BEACON = 0xd
|
|
+ NL80211_CMD_GET_COALESCE = 0x64
|
|
+ NL80211_CMD_GET_FTM_RESPONDER_STATS = 0x82
|
|
+ NL80211_CMD_GET_INTERFACE = 0x5
|
|
+ NL80211_CMD_GET_KEY = 0x9
|
|
+ NL80211_CMD_GET_MESH_CONFIG = 0x1c
|
|
+ NL80211_CMD_GET_MESH_PARAMS = 0x1c
|
|
+ NL80211_CMD_GET_MPATH = 0x15
|
|
+ NL80211_CMD_GET_MPP = 0x6b
|
|
+ NL80211_CMD_GET_POWER_SAVE = 0x3e
|
|
+ NL80211_CMD_GET_PROTOCOL_FEATURES = 0x5f
|
|
+ NL80211_CMD_GET_REG = 0x1f
|
|
+ NL80211_CMD_GET_SCAN = 0x20
|
|
+ NL80211_CMD_GET_STATION = 0x11
|
|
+ NL80211_CMD_GET_SURVEY = 0x32
|
|
+ NL80211_CMD_GET_WIPHY = 0x1
|
|
+ NL80211_CMD_GET_WOWLAN = 0x49
|
|
+ NL80211_CMD_JOIN_IBSS = 0x2b
|
|
+ NL80211_CMD_JOIN_MESH = 0x44
|
|
+ NL80211_CMD_JOIN_OCB = 0x6c
|
|
+ NL80211_CMD_LEAVE_IBSS = 0x2c
|
|
+ NL80211_CMD_LEAVE_MESH = 0x45
|
|
+ NL80211_CMD_LEAVE_OCB = 0x6d
|
|
+ NL80211_CMD_MAX = 0x93
|
|
+ NL80211_CMD_MICHAEL_MIC_FAILURE = 0x29
|
|
+ NL80211_CMD_NAN_MATCH = 0x78
|
|
+ NL80211_CMD_NEW_BEACON = 0xf
|
|
+ NL80211_CMD_NEW_INTERFACE = 0x7
|
|
+ NL80211_CMD_NEW_KEY = 0xb
|
|
+ NL80211_CMD_NEW_MPATH = 0x17
|
|
+ NL80211_CMD_NEW_PEER_CANDIDATE = 0x48
|
|
+ NL80211_CMD_NEW_SCAN_RESULTS = 0x22
|
|
+ NL80211_CMD_NEW_STATION = 0x13
|
|
+ NL80211_CMD_NEW_SURVEY_RESULTS = 0x33
|
|
+ NL80211_CMD_NEW_WIPHY = 0x3
|
|
+ NL80211_CMD_NOTIFY_CQM = 0x40
|
|
+ NL80211_CMD_NOTIFY_RADAR = 0x86
|
|
+ NL80211_CMD_PEER_MEASUREMENT_COMPLETE = 0x85
|
|
+ NL80211_CMD_PEER_MEASUREMENT_RESULT = 0x84
|
|
+ NL80211_CMD_PEER_MEASUREMENT_START = 0x83
|
|
+ NL80211_CMD_PMKSA_CANDIDATE = 0x50
|
|
+ NL80211_CMD_PORT_AUTHORIZED = 0x7d
|
|
+ NL80211_CMD_PROBE_CLIENT = 0x54
|
|
+ NL80211_CMD_PROBE_MESH_LINK = 0x88
|
|
+ NL80211_CMD_RADAR_DETECT = 0x5e
|
|
+ NL80211_CMD_REG_BEACON_HINT = 0x2a
|
|
+ NL80211_CMD_REG_CHANGE = 0x24
|
|
+ NL80211_CMD_REGISTER_ACTION = 0x3a
|
|
+ NL80211_CMD_REGISTER_BEACONS = 0x55
|
|
+ NL80211_CMD_REGISTER_FRAME = 0x3a
|
|
+ NL80211_CMD_RELOAD_REGDB = 0x7e
|
|
+ NL80211_CMD_REMAIN_ON_CHANNEL = 0x37
|
|
+ NL80211_CMD_REQ_SET_REG = 0x1b
|
|
+ NL80211_CMD_ROAM = 0x2f
|
|
+ NL80211_CMD_SCAN_ABORTED = 0x23
|
|
+ NL80211_CMD_SCHED_SCAN_RESULTS = 0x4d
|
|
+ NL80211_CMD_SCHED_SCAN_STOPPED = 0x4e
|
|
+ NL80211_CMD_SET_BEACON = 0xe
|
|
+ NL80211_CMD_SET_BSS = 0x19
|
|
+ NL80211_CMD_SET_CHANNEL = 0x41
|
|
+ NL80211_CMD_SET_COALESCE = 0x65
|
|
+ NL80211_CMD_SET_CQM = 0x3f
|
|
+ NL80211_CMD_SET_INTERFACE = 0x6
|
|
+ NL80211_CMD_SET_KEY = 0xa
|
|
+ NL80211_CMD_SET_MAC_ACL = 0x5d
|
|
+ NL80211_CMD_SET_MCAST_RATE = 0x5c
|
|
+ NL80211_CMD_SET_MESH_CONFIG = 0x1d
|
|
+ NL80211_CMD_SET_MESH_PARAMS = 0x1d
|
|
+ NL80211_CMD_SET_MGMT_EXTRA_IE = 0x1e
|
|
+ NL80211_CMD_SET_MPATH = 0x16
|
|
+ NL80211_CMD_SET_MULTICAST_TO_UNICAST = 0x79
|
|
+ NL80211_CMD_SET_NOACK_MAP = 0x57
|
|
+ NL80211_CMD_SET_PMK = 0x7b
|
|
+ NL80211_CMD_SET_PMKSA = 0x34
|
|
+ NL80211_CMD_SET_POWER_SAVE = 0x3d
|
|
+ NL80211_CMD_SET_QOS_MAP = 0x68
|
|
+ NL80211_CMD_SET_REG = 0x1a
|
|
+ NL80211_CMD_SET_REKEY_OFFLOAD = 0x4f
|
|
+ NL80211_CMD_SET_SAR_SPECS = 0x8c
|
|
+ NL80211_CMD_SET_STATION = 0x12
|
|
+ NL80211_CMD_SET_TID_CONFIG = 0x89
|
|
+ NL80211_CMD_SET_TX_BITRATE_MASK = 0x39
|
|
+ NL80211_CMD_SET_WDS_PEER = 0x42
|
|
+ NL80211_CMD_SET_WIPHY = 0x2
|
|
+ NL80211_CMD_SET_WIPHY_NETNS = 0x31
|
|
+ NL80211_CMD_SET_WOWLAN = 0x4a
|
|
+ NL80211_CMD_STA_OPMODE_CHANGED = 0x80
|
|
+ NL80211_CMD_START_AP = 0xf
|
|
+ NL80211_CMD_START_NAN = 0x73
|
|
+ NL80211_CMD_START_P2P_DEVICE = 0x59
|
|
+ NL80211_CMD_START_SCHED_SCAN = 0x4b
|
|
+ NL80211_CMD_STOP_AP = 0x10
|
|
+ NL80211_CMD_STOP_NAN = 0x74
|
|
+ NL80211_CMD_STOP_P2P_DEVICE = 0x5a
|
|
+ NL80211_CMD_STOP_SCHED_SCAN = 0x4c
|
|
+ NL80211_CMD_TDLS_CANCEL_CHANNEL_SWITCH = 0x70
|
|
+ NL80211_CMD_TDLS_CHANNEL_SWITCH = 0x6f
|
|
+ NL80211_CMD_TDLS_MGMT = 0x52
|
|
+ NL80211_CMD_TDLS_OPER = 0x51
|
|
+ NL80211_CMD_TESTMODE = 0x2d
|
|
+ NL80211_CMD_TRIGGER_SCAN = 0x21
|
|
+ NL80211_CMD_UNEXPECTED_4ADDR_FRAME = 0x56
|
|
+ NL80211_CMD_UNEXPECTED_FRAME = 0x53
|
|
+ NL80211_CMD_UNPROT_BEACON = 0x8a
|
|
+ NL80211_CMD_UNPROT_DEAUTHENTICATE = 0x46
|
|
+ NL80211_CMD_UNPROT_DISASSOCIATE = 0x47
|
|
+ NL80211_CMD_UNSPEC = 0x0
|
|
+ NL80211_CMD_UPDATE_CONNECT_PARAMS = 0x7a
|
|
+ NL80211_CMD_UPDATE_FT_IES = 0x60
|
|
+ NL80211_CMD_UPDATE_OWE_INFO = 0x87
|
|
+ NL80211_CMD_VENDOR = 0x67
|
|
+ NL80211_CMD_WIPHY_REG_CHANGE = 0x71
|
|
+ NL80211_COALESCE_CONDITION_MATCH = 0x0
|
|
+ NL80211_COALESCE_CONDITION_NO_MATCH = 0x1
|
|
+ NL80211_CONN_FAIL_BLOCKED_CLIENT = 0x1
|
|
+ NL80211_CONN_FAIL_MAX_CLIENTS = 0x0
|
|
+ NL80211_CQM_RSSI_BEACON_LOSS_EVENT = 0x2
|
|
+ NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH = 0x1
|
|
+ NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW = 0x0
|
|
+ NL80211_CQM_TXE_MAX_INTVL = 0x708
|
|
+ NL80211_CRIT_PROTO_APIPA = 0x3
|
|
+ NL80211_CRIT_PROTO_DHCP = 0x1
|
|
+ NL80211_CRIT_PROTO_EAPOL = 0x2
|
|
+ NL80211_CRIT_PROTO_MAX_DURATION = 0x1388
|
|
+ NL80211_CRIT_PROTO_UNSPEC = 0x0
|
|
+ NL80211_DFS_AVAILABLE = 0x2
|
|
+ NL80211_DFS_ETSI = 0x2
|
|
+ NL80211_DFS_FCC = 0x1
|
|
+ NL80211_DFS_JP = 0x3
|
|
+ NL80211_DFS_UNAVAILABLE = 0x1
|
|
+ NL80211_DFS_UNSET = 0x0
|
|
+ NL80211_DFS_USABLE = 0x0
|
|
+ NL80211_EDMG_BW_CONFIG_MAX = 0xf
|
|
+ NL80211_EDMG_BW_CONFIG_MIN = 0x4
|
|
+ NL80211_EDMG_CHANNELS_MAX = 0x3c
|
|
+ NL80211_EDMG_CHANNELS_MIN = 0x1
|
|
+ NL80211_EXTERNAL_AUTH_ABORT = 0x1
|
|
+ NL80211_EXTERNAL_AUTH_START = 0x0
|
|
+ NL80211_EXT_FEATURE_4WAY_HANDSHAKE_AP_PSK = 0x32
|
|
+ NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X = 0x10
|
|
+ NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_PSK = 0xf
|
|
+ NL80211_EXT_FEATURE_ACCEPT_BCAST_PROBE_RESP = 0x12
|
|
+ NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT = 0x1b
|
|
+ NL80211_EXT_FEATURE_AIRTIME_FAIRNESS = 0x21
|
|
+ NL80211_EXT_FEATURE_AP_PMKSA_CACHING = 0x22
|
|
+ NL80211_EXT_FEATURE_AQL = 0x28
|
|
+ NL80211_EXT_FEATURE_BEACON_PROTECTION_CLIENT = 0x2e
|
|
+ NL80211_EXT_FEATURE_BEACON_PROTECTION = 0x29
|
|
+ NL80211_EXT_FEATURE_BEACON_RATE_HE = 0x36
|
|
+ NL80211_EXT_FEATURE_BEACON_RATE_HT = 0x7
|
|
+ NL80211_EXT_FEATURE_BEACON_RATE_LEGACY = 0x6
|
|
+ NL80211_EXT_FEATURE_BEACON_RATE_VHT = 0x8
|
|
+ NL80211_EXT_FEATURE_BSS_PARENT_TSF = 0x4
|
|
+ NL80211_EXT_FEATURE_CAN_REPLACE_PTK0 = 0x1f
|
|
+ NL80211_EXT_FEATURE_CONTROL_PORT_NO_PREAUTH = 0x2a
|
|
+ NL80211_EXT_FEATURE_CONTROL_PORT_OVER_NL80211 = 0x1a
|
|
+ NL80211_EXT_FEATURE_CONTROL_PORT_OVER_NL80211_TX_STATUS = 0x30
|
|
+ NL80211_EXT_FEATURE_CQM_RSSI_LIST = 0xd
|
|
+ NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT = 0x1b
|
|
+ NL80211_EXT_FEATURE_DEL_IBSS_STA = 0x2c
|
|
+ NL80211_EXT_FEATURE_DFS_OFFLOAD = 0x19
|
|
+ NL80211_EXT_FEATURE_ENABLE_FTM_RESPONDER = 0x20
|
|
+ NL80211_EXT_FEATURE_EXT_KEY_ID = 0x24
|
|
+ NL80211_EXT_FEATURE_FILS_DISCOVERY = 0x34
|
|
+ NL80211_EXT_FEATURE_FILS_MAX_CHANNEL_TIME = 0x11
|
|
+ NL80211_EXT_FEATURE_FILS_SK_OFFLOAD = 0xe
|
|
+ NL80211_EXT_FEATURE_FILS_STA = 0x9
|
|
+ NL80211_EXT_FEATURE_HIGH_ACCURACY_SCAN = 0x18
|
|
+ NL80211_EXT_FEATURE_LOW_POWER_SCAN = 0x17
|
|
+ NL80211_EXT_FEATURE_LOW_SPAN_SCAN = 0x16
|
|
+ NL80211_EXT_FEATURE_MFP_OPTIONAL = 0x15
|
|
+ NL80211_EXT_FEATURE_MGMT_TX_RANDOM_TA = 0xa
|
|
+ NL80211_EXT_FEATURE_MGMT_TX_RANDOM_TA_CONNECTED = 0xb
|
|
+ NL80211_EXT_FEATURE_MULTICAST_REGISTRATIONS = 0x2d
|
|
+ NL80211_EXT_FEATURE_MU_MIMO_AIR_SNIFFER = 0x2
|
|
+ NL80211_EXT_FEATURE_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION = 0x14
|
|
+ NL80211_EXT_FEATURE_OCE_PROBE_REQ_HIGH_TX_RATE = 0x13
|
|
+ NL80211_EXT_FEATURE_OPERATING_CHANNEL_VALIDATION = 0x31
|
|
+ NL80211_EXT_FEATURE_PROTECTED_TWT = 0x2b
|
|
+ NL80211_EXT_FEATURE_PROT_RANGE_NEGO_AND_MEASURE = 0x39
|
|
+ NL80211_EXT_FEATURE_RRM = 0x1
|
|
+ NL80211_EXT_FEATURE_SAE_OFFLOAD_AP = 0x33
|
|
+ NL80211_EXT_FEATURE_SAE_OFFLOAD = 0x26
|
|
+ NL80211_EXT_FEATURE_SCAN_FREQ_KHZ = 0x2f
|
|
+ NL80211_EXT_FEATURE_SCAN_MIN_PREQ_CONTENT = 0x1e
|
|
+ NL80211_EXT_FEATURE_SCAN_RANDOM_SN = 0x1d
|
|
+ NL80211_EXT_FEATURE_SCAN_START_TIME = 0x3
|
|
+ NL80211_EXT_FEATURE_SCHED_SCAN_BAND_SPECIFIC_RSSI_THOLD = 0x23
|
|
+ NL80211_EXT_FEATURE_SCHED_SCAN_RELATIVE_RSSI = 0xc
|
|
+ NL80211_EXT_FEATURE_SECURE_LTF = 0x37
|
|
+ NL80211_EXT_FEATURE_SECURE_RTT = 0x38
|
|
+ NL80211_EXT_FEATURE_SET_SCAN_DWELL = 0x5
|
|
+ NL80211_EXT_FEATURE_STA_TX_PWR = 0x25
|
|
+ NL80211_EXT_FEATURE_TXQS = 0x1c
|
|
+ NL80211_EXT_FEATURE_UNSOL_BCAST_PROBE_RESP = 0x35
|
|
+ NL80211_EXT_FEATURE_VHT_IBSS = 0x0
|
|
+ NL80211_EXT_FEATURE_VLAN_OFFLOAD = 0x27
|
|
+ NL80211_FEATURE_ACKTO_ESTIMATION = 0x800000
|
|
+ NL80211_FEATURE_ACTIVE_MONITOR = 0x20000
|
|
+ NL80211_FEATURE_ADVERTISE_CHAN_LIMITS = 0x4000
|
|
+ NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE = 0x40000
|
|
+ NL80211_FEATURE_AP_SCAN = 0x100
|
|
+ NL80211_FEATURE_CELL_BASE_REG_HINTS = 0x8
|
|
+ NL80211_FEATURE_DS_PARAM_SET_IE_IN_PROBES = 0x80000
|
|
+ NL80211_FEATURE_DYNAMIC_SMPS = 0x2000000
|
|
+ NL80211_FEATURE_FULL_AP_CLIENT_STATE = 0x8000
|
|
+ NL80211_FEATURE_HT_IBSS = 0x2
|
|
+ NL80211_FEATURE_INACTIVITY_TIMER = 0x4
|
|
+ NL80211_FEATURE_LOW_PRIORITY_SCAN = 0x40
|
|
+ NL80211_FEATURE_MAC_ON_CREATE = 0x8000000
|
|
+ NL80211_FEATURE_ND_RANDOM_MAC_ADDR = 0x80000000
|
|
+ NL80211_FEATURE_NEED_OBSS_SCAN = 0x400
|
|
+ NL80211_FEATURE_P2P_DEVICE_NEEDS_CHANNEL = 0x10
|
|
+ NL80211_FEATURE_P2P_GO_CTWIN = 0x800
|
|
+ NL80211_FEATURE_P2P_GO_OPPPS = 0x1000
|
|
+ NL80211_FEATURE_QUIET = 0x200000
|
|
+ NL80211_FEATURE_SAE = 0x20
|
|
+ NL80211_FEATURE_SCAN_FLUSH = 0x80
|
|
+ NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR = 0x20000000
|
|
+ NL80211_FEATURE_SCHED_SCAN_RANDOM_MAC_ADDR = 0x40000000
|
|
+ NL80211_FEATURE_SK_TX_STATUS = 0x1
|
|
+ NL80211_FEATURE_STATIC_SMPS = 0x1000000
|
|
+ NL80211_FEATURE_SUPPORTS_WMM_ADMISSION = 0x4000000
|
|
+ NL80211_FEATURE_TDLS_CHANNEL_SWITCH = 0x10000000
|
|
+ NL80211_FEATURE_TX_POWER_INSERTION = 0x400000
|
|
+ NL80211_FEATURE_USERSPACE_MPM = 0x10000
|
|
+ NL80211_FEATURE_VIF_TXPOWER = 0x200
|
|
+ NL80211_FEATURE_WFA_TPC_IE_IN_PROBES = 0x100000
|
|
+ NL80211_FILS_DISCOVERY_ATTR_INT_MAX = 0x2
|
|
+ NL80211_FILS_DISCOVERY_ATTR_INT_MIN = 0x1
|
|
+ NL80211_FILS_DISCOVERY_ATTR_MAX = 0x3
|
|
+ NL80211_FILS_DISCOVERY_ATTR_TMPL = 0x3
|
|
+ NL80211_FILS_DISCOVERY_TMPL_MIN_LEN = 0x2a
|
|
+ NL80211_FREQUENCY_ATTR_16MHZ = 0x19
|
|
+ NL80211_FREQUENCY_ATTR_1MHZ = 0x15
|
|
+ NL80211_FREQUENCY_ATTR_2MHZ = 0x16
|
|
+ NL80211_FREQUENCY_ATTR_4MHZ = 0x17
|
|
+ NL80211_FREQUENCY_ATTR_8MHZ = 0x18
|
|
+ NL80211_FREQUENCY_ATTR_DFS_CAC_TIME = 0xd
|
|
+ NL80211_FREQUENCY_ATTR_DFS_STATE = 0x7
|
|
+ NL80211_FREQUENCY_ATTR_DFS_TIME = 0x8
|
|
+ NL80211_FREQUENCY_ATTR_DISABLED = 0x2
|
|
+ NL80211_FREQUENCY_ATTR_FREQ = 0x1
|
|
+ NL80211_FREQUENCY_ATTR_GO_CONCURRENT = 0xf
|
|
+ NL80211_FREQUENCY_ATTR_INDOOR_ONLY = 0xe
|
|
+ NL80211_FREQUENCY_ATTR_IR_CONCURRENT = 0xf
|
|
+ NL80211_FREQUENCY_ATTR_MAX = 0x1b
|
|
+ NL80211_FREQUENCY_ATTR_MAX_TX_POWER = 0x6
|
|
+ NL80211_FREQUENCY_ATTR_NO_10MHZ = 0x11
|
|
+ NL80211_FREQUENCY_ATTR_NO_160MHZ = 0xc
|
|
+ NL80211_FREQUENCY_ATTR_NO_20MHZ = 0x10
|
|
+ NL80211_FREQUENCY_ATTR_NO_80MHZ = 0xb
|
|
+ NL80211_FREQUENCY_ATTR_NO_HE = 0x13
|
|
+ NL80211_FREQUENCY_ATTR_NO_HT40_MINUS = 0x9
|
|
+ NL80211_FREQUENCY_ATTR_NO_HT40_PLUS = 0xa
|
|
+ NL80211_FREQUENCY_ATTR_NO_IBSS = 0x3
|
|
+ NL80211_FREQUENCY_ATTR_NO_IR = 0x3
|
|
+ NL80211_FREQUENCY_ATTR_OFFSET = 0x14
|
|
+ NL80211_FREQUENCY_ATTR_PASSIVE_SCAN = 0x3
|
|
+ NL80211_FREQUENCY_ATTR_RADAR = 0x5
|
|
+ NL80211_FREQUENCY_ATTR_WMM = 0x12
|
|
+ NL80211_FTM_RESP_ATTR_CIVICLOC = 0x3
|
|
+ NL80211_FTM_RESP_ATTR_ENABLED = 0x1
|
|
+ NL80211_FTM_RESP_ATTR_LCI = 0x2
|
|
+ NL80211_FTM_RESP_ATTR_MAX = 0x3
|
|
+ NL80211_FTM_STATS_ASAP_NUM = 0x4
|
|
+ NL80211_FTM_STATS_FAILED_NUM = 0x3
|
|
+ NL80211_FTM_STATS_MAX = 0xa
|
|
+ NL80211_FTM_STATS_NON_ASAP_NUM = 0x5
|
|
+ NL80211_FTM_STATS_OUT_OF_WINDOW_TRIGGERS_NUM = 0x9
|
|
+ NL80211_FTM_STATS_PAD = 0xa
|
|
+ NL80211_FTM_STATS_PARTIAL_NUM = 0x2
|
|
+ NL80211_FTM_STATS_RESCHEDULE_REQUESTS_NUM = 0x8
|
|
+ NL80211_FTM_STATS_SUCCESS_NUM = 0x1
|
|
+ NL80211_FTM_STATS_TOTAL_DURATION_MSEC = 0x6
|
|
+ NL80211_FTM_STATS_UNKNOWN_TRIGGERS_NUM = 0x7
|
|
+ NL80211_GENL_NAME = "nl80211"
|
|
+ NL80211_HE_BSS_COLOR_ATTR_COLOR = 0x1
|
|
+ NL80211_HE_BSS_COLOR_ATTR_DISABLED = 0x2
|
|
+ NL80211_HE_BSS_COLOR_ATTR_MAX = 0x3
|
|
+ NL80211_HE_BSS_COLOR_ATTR_PARTIAL = 0x3
|
|
+ NL80211_HE_MAX_CAPABILITY_LEN = 0x36
|
|
+ NL80211_HE_MIN_CAPABILITY_LEN = 0x10
|
|
+ NL80211_HE_NSS_MAX = 0x8
|
|
+ NL80211_HE_OBSS_PD_ATTR_BSS_COLOR_BITMAP = 0x4
|
|
+ NL80211_HE_OBSS_PD_ATTR_MAX = 0x6
|
|
+ NL80211_HE_OBSS_PD_ATTR_MAX_OFFSET = 0x2
|
|
+ NL80211_HE_OBSS_PD_ATTR_MIN_OFFSET = 0x1
|
|
+ NL80211_HE_OBSS_PD_ATTR_NON_SRG_MAX_OFFSET = 0x3
|
|
+ NL80211_HE_OBSS_PD_ATTR_PARTIAL_BSSID_BITMAP = 0x5
|
|
+ NL80211_HE_OBSS_PD_ATTR_SR_CTRL = 0x6
|
|
+ NL80211_HIDDEN_SSID_NOT_IN_USE = 0x0
|
|
+ NL80211_HIDDEN_SSID_ZERO_CONTENTS = 0x2
|
|
+ NL80211_HIDDEN_SSID_ZERO_LEN = 0x1
|
|
+ NL80211_HT_CAPABILITY_LEN = 0x1a
|
|
+ NL80211_IFACE_COMB_BI_MIN_GCD = 0x7
|
|
+ NL80211_IFACE_COMB_LIMITS = 0x1
|
|
+ NL80211_IFACE_COMB_MAXNUM = 0x2
|
|
+ NL80211_IFACE_COMB_NUM_CHANNELS = 0x4
|
|
+ NL80211_IFACE_COMB_RADAR_DETECT_REGIONS = 0x6
|
|
+ NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS = 0x5
|
|
+ NL80211_IFACE_COMB_STA_AP_BI_MATCH = 0x3
|
|
+ NL80211_IFACE_COMB_UNSPEC = 0x0
|
|
+ NL80211_IFACE_LIMIT_MAX = 0x1
|
|
+ NL80211_IFACE_LIMIT_TYPES = 0x2
|
|
+ NL80211_IFACE_LIMIT_UNSPEC = 0x0
|
|
+ NL80211_IFTYPE_ADHOC = 0x1
|
|
+ NL80211_IFTYPE_AKM_ATTR_IFTYPES = 0x1
|
|
+ NL80211_IFTYPE_AKM_ATTR_MAX = 0x2
|
|
+ NL80211_IFTYPE_AKM_ATTR_SUITES = 0x2
|
|
+ NL80211_IFTYPE_AP = 0x3
|
|
+ NL80211_IFTYPE_AP_VLAN = 0x4
|
|
+ NL80211_IFTYPE_MAX = 0xc
|
|
+ NL80211_IFTYPE_MESH_POINT = 0x7
|
|
+ NL80211_IFTYPE_MONITOR = 0x6
|
|
+ NL80211_IFTYPE_NAN = 0xc
|
|
+ NL80211_IFTYPE_OCB = 0xb
|
|
+ NL80211_IFTYPE_P2P_CLIENT = 0x8
|
|
+ NL80211_IFTYPE_P2P_DEVICE = 0xa
|
|
+ NL80211_IFTYPE_P2P_GO = 0x9
|
|
+ NL80211_IFTYPE_STATION = 0x2
|
|
+ NL80211_IFTYPE_UNSPECIFIED = 0x0
|
|
+ NL80211_IFTYPE_WDS = 0x5
|
|
+ NL80211_KCK_EXT_LEN = 0x18
|
|
+ NL80211_KCK_LEN = 0x10
|
|
+ NL80211_KEK_EXT_LEN = 0x20
|
|
+ NL80211_KEK_LEN = 0x10
|
|
+ NL80211_KEY_CIPHER = 0x3
|
|
+ NL80211_KEY_DATA = 0x1
|
|
+ NL80211_KEY_DEFAULT_BEACON = 0xa
|
|
+ NL80211_KEY_DEFAULT = 0x5
|
|
+ NL80211_KEY_DEFAULT_MGMT = 0x6
|
|
+ NL80211_KEY_DEFAULT_TYPE_MULTICAST = 0x2
|
|
+ NL80211_KEY_DEFAULT_TYPES = 0x8
|
|
+ NL80211_KEY_DEFAULT_TYPE_UNICAST = 0x1
|
|
+ NL80211_KEY_IDX = 0x2
|
|
+ NL80211_KEY_MAX = 0xa
|
|
+ NL80211_KEY_MODE = 0x9
|
|
+ NL80211_KEY_NO_TX = 0x1
|
|
+ NL80211_KEY_RX_TX = 0x0
|
|
+ NL80211_KEY_SEQ = 0x4
|
|
+ NL80211_KEY_SET_TX = 0x2
|
|
+ NL80211_KEY_TYPE = 0x7
|
|
+ NL80211_KEYTYPE_GROUP = 0x0
|
|
+ NL80211_KEYTYPE_PAIRWISE = 0x1
|
|
+ NL80211_KEYTYPE_PEERKEY = 0x2
|
|
+ NL80211_MAX_NR_AKM_SUITES = 0x2
|
|
+ NL80211_MAX_NR_CIPHER_SUITES = 0x5
|
|
+ NL80211_MAX_SUPP_HT_RATES = 0x4d
|
|
+ NL80211_MAX_SUPP_RATES = 0x20
|
|
+ NL80211_MAX_SUPP_REG_RULES = 0x80
|
|
+ NL80211_MESHCONF_ATTR_MAX = 0x1f
|
|
+ NL80211_MESHCONF_AUTO_OPEN_PLINKS = 0x7
|
|
+ NL80211_MESHCONF_AWAKE_WINDOW = 0x1b
|
|
+ NL80211_MESHCONF_CONFIRM_TIMEOUT = 0x2
|
|
+ NL80211_MESHCONF_CONNECTED_TO_AS = 0x1f
|
|
+ NL80211_MESHCONF_CONNECTED_TO_GATE = 0x1d
|
|
+ NL80211_MESHCONF_ELEMENT_TTL = 0xf
|
|
+ NL80211_MESHCONF_FORWARDING = 0x13
|
|
+ NL80211_MESHCONF_GATE_ANNOUNCEMENTS = 0x11
|
|
+ NL80211_MESHCONF_HOLDING_TIMEOUT = 0x3
|
|
+ NL80211_MESHCONF_HT_OPMODE = 0x16
|
|
+ NL80211_MESHCONF_HWMP_ACTIVE_PATH_TIMEOUT = 0xb
|
|
+ NL80211_MESHCONF_HWMP_CONFIRMATION_INTERVAL = 0x19
|
|
+ NL80211_MESHCONF_HWMP_MAX_PREQ_RETRIES = 0x8
|
|
+ NL80211_MESHCONF_HWMP_NET_DIAM_TRVS_TIME = 0xd
|
|
+ NL80211_MESHCONF_HWMP_PATH_TO_ROOT_TIMEOUT = 0x17
|
|
+ NL80211_MESHCONF_HWMP_PERR_MIN_INTERVAL = 0x12
|
|
+ NL80211_MESHCONF_HWMP_PREQ_MIN_INTERVAL = 0xc
|
|
+ NL80211_MESHCONF_HWMP_RANN_INTERVAL = 0x10
|
|
+ NL80211_MESHCONF_HWMP_ROOT_INTERVAL = 0x18
|
|
+ NL80211_MESHCONF_HWMP_ROOTMODE = 0xe
|
|
+ NL80211_MESHCONF_MAX_PEER_LINKS = 0x4
|
|
+ NL80211_MESHCONF_MAX_RETRIES = 0x5
|
|
+ NL80211_MESHCONF_MIN_DISCOVERY_TIMEOUT = 0xa
|
|
+ NL80211_MESHCONF_NOLEARN = 0x1e
|
|
+ NL80211_MESHCONF_PATH_REFRESH_TIME = 0x9
|
|
+ NL80211_MESHCONF_PLINK_TIMEOUT = 0x1c
|
|
+ NL80211_MESHCONF_POWER_MODE = 0x1a
|
|
+ NL80211_MESHCONF_RETRY_TIMEOUT = 0x1
|
|
+ NL80211_MESHCONF_RSSI_THRESHOLD = 0x14
|
|
+ NL80211_MESHCONF_SYNC_OFFSET_MAX_NEIGHBOR = 0x15
|
|
+ NL80211_MESHCONF_TTL = 0x6
|
|
+ NL80211_MESH_POWER_ACTIVE = 0x1
|
|
+ NL80211_MESH_POWER_DEEP_SLEEP = 0x3
|
|
+ NL80211_MESH_POWER_LIGHT_SLEEP = 0x2
|
|
+ NL80211_MESH_POWER_MAX = 0x3
|
|
+ NL80211_MESH_POWER_UNKNOWN = 0x0
|
|
+ NL80211_MESH_SETUP_ATTR_MAX = 0x8
|
|
+ NL80211_MESH_SETUP_AUTH_PROTOCOL = 0x8
|
|
+ NL80211_MESH_SETUP_ENABLE_VENDOR_METRIC = 0x2
|
|
+ NL80211_MESH_SETUP_ENABLE_VENDOR_PATH_SEL = 0x1
|
|
+ NL80211_MESH_SETUP_ENABLE_VENDOR_SYNC = 0x6
|
|
+ NL80211_MESH_SETUP_IE = 0x3
|
|
+ NL80211_MESH_SETUP_USERSPACE_AMPE = 0x5
|
|
+ NL80211_MESH_SETUP_USERSPACE_AUTH = 0x4
|
|
+ NL80211_MESH_SETUP_USERSPACE_MPM = 0x7
|
|
+ NL80211_MESH_SETUP_VENDOR_PATH_SEL_IE = 0x3
|
|
+ NL80211_MFP_NO = 0x0
|
|
+ NL80211_MFP_OPTIONAL = 0x2
|
|
+ NL80211_MFP_REQUIRED = 0x1
|
|
+ NL80211_MIN_REMAIN_ON_CHANNEL_TIME = 0xa
|
|
+ NL80211_MNTR_FLAG_ACTIVE = 0x6
|
|
+ NL80211_MNTR_FLAG_CONTROL = 0x3
|
|
+ NL80211_MNTR_FLAG_COOK_FRAMES = 0x5
|
|
+ NL80211_MNTR_FLAG_FCSFAIL = 0x1
|
|
+ NL80211_MNTR_FLAG_MAX = 0x6
|
|
+ NL80211_MNTR_FLAG_OTHER_BSS = 0x4
|
|
+ NL80211_MNTR_FLAG_PLCPFAIL = 0x2
|
|
+ NL80211_MPATH_FLAG_ACTIVE = 0x1
|
|
+ NL80211_MPATH_FLAG_FIXED = 0x8
|
|
+ NL80211_MPATH_FLAG_RESOLVED = 0x10
|
|
+ NL80211_MPATH_FLAG_RESOLVING = 0x2
|
|
+ NL80211_MPATH_FLAG_SN_VALID = 0x4
|
|
+ NL80211_MPATH_INFO_DISCOVERY_RETRIES = 0x7
|
|
+ NL80211_MPATH_INFO_DISCOVERY_TIMEOUT = 0x6
|
|
+ NL80211_MPATH_INFO_EXPTIME = 0x4
|
|
+ NL80211_MPATH_INFO_FLAGS = 0x5
|
|
+ NL80211_MPATH_INFO_FRAME_QLEN = 0x1
|
|
+ NL80211_MPATH_INFO_HOP_COUNT = 0x8
|
|
+ NL80211_MPATH_INFO_MAX = 0x9
|
|
+ NL80211_MPATH_INFO_METRIC = 0x3
|
|
+ NL80211_MPATH_INFO_PATH_CHANGE = 0x9
|
|
+ NL80211_MPATH_INFO_SN = 0x2
|
|
+ NL80211_MULTICAST_GROUP_CONFIG = "config"
|
|
+ NL80211_MULTICAST_GROUP_MLME = "mlme"
|
|
+ NL80211_MULTICAST_GROUP_NAN = "nan"
|
|
+ NL80211_MULTICAST_GROUP_REG = "regulatory"
|
|
+ NL80211_MULTICAST_GROUP_SCAN = "scan"
|
|
+ NL80211_MULTICAST_GROUP_TESTMODE = "testmode"
|
|
+ NL80211_MULTICAST_GROUP_VENDOR = "vendor"
|
|
+ NL80211_NAN_FUNC_ATTR_MAX = 0x10
|
|
+ NL80211_NAN_FUNC_CLOSE_RANGE = 0x9
|
|
+ NL80211_NAN_FUNC_FOLLOW_UP = 0x2
|
|
+ NL80211_NAN_FUNC_FOLLOW_UP_DEST = 0x8
|
|
+ NL80211_NAN_FUNC_FOLLOW_UP_ID = 0x6
|
|
+ NL80211_NAN_FUNC_FOLLOW_UP_REQ_ID = 0x7
|
|
+ NL80211_NAN_FUNC_INSTANCE_ID = 0xf
|
|
+ NL80211_NAN_FUNC_MAX_TYPE = 0x2
|
|
+ NL80211_NAN_FUNC_PUBLISH_BCAST = 0x4
|
|
+ NL80211_NAN_FUNC_PUBLISH = 0x0
|
|
+ NL80211_NAN_FUNC_PUBLISH_TYPE = 0x3
|
|
+ NL80211_NAN_FUNC_RX_MATCH_FILTER = 0xd
|
|
+ NL80211_NAN_FUNC_SERVICE_ID = 0x2
|
|
+ NL80211_NAN_FUNC_SERVICE_ID_LEN = 0x6
|
|
+ NL80211_NAN_FUNC_SERVICE_INFO = 0xb
|
|
+ NL80211_NAN_FUNC_SERVICE_SPEC_INFO_MAX_LEN = 0xff
|
|
+ NL80211_NAN_FUNC_SRF = 0xc
|
|
+ NL80211_NAN_FUNC_SRF_MAX_LEN = 0xff
|
|
+ NL80211_NAN_FUNC_SUBSCRIBE_ACTIVE = 0x5
|
|
+ NL80211_NAN_FUNC_SUBSCRIBE = 0x1
|
|
+ NL80211_NAN_FUNC_TERM_REASON = 0x10
|
|
+ NL80211_NAN_FUNC_TERM_REASON_ERROR = 0x2
|
|
+ NL80211_NAN_FUNC_TERM_REASON_TTL_EXPIRED = 0x1
|
|
+ NL80211_NAN_FUNC_TERM_REASON_USER_REQUEST = 0x0
|
|
+ NL80211_NAN_FUNC_TTL = 0xa
|
|
+ NL80211_NAN_FUNC_TX_MATCH_FILTER = 0xe
|
|
+ NL80211_NAN_FUNC_TYPE = 0x1
|
|
+ NL80211_NAN_MATCH_ATTR_MAX = 0x2
|
|
+ NL80211_NAN_MATCH_FUNC_LOCAL = 0x1
|
|
+ NL80211_NAN_MATCH_FUNC_PEER = 0x2
|
|
+ NL80211_NAN_SOLICITED_PUBLISH = 0x1
|
|
+ NL80211_NAN_SRF_ATTR_MAX = 0x4
|
|
+ NL80211_NAN_SRF_BF = 0x2
|
|
+ NL80211_NAN_SRF_BF_IDX = 0x3
|
|
+ NL80211_NAN_SRF_INCLUDE = 0x1
|
|
+ NL80211_NAN_SRF_MAC_ADDRS = 0x4
|
|
+ NL80211_NAN_UNSOLICITED_PUBLISH = 0x2
|
|
+ NL80211_NUM_ACS = 0x4
|
|
+ NL80211_P2P_PS_SUPPORTED = 0x1
|
|
+ NL80211_P2P_PS_UNSUPPORTED = 0x0
|
|
+ NL80211_PKTPAT_MASK = 0x1
|
|
+ NL80211_PKTPAT_OFFSET = 0x3
|
|
+ NL80211_PKTPAT_PATTERN = 0x2
|
|
+ NL80211_PLINK_ACTION_BLOCK = 0x2
|
|
+ NL80211_PLINK_ACTION_NO_ACTION = 0x0
|
|
+ NL80211_PLINK_ACTION_OPEN = 0x1
|
|
+ NL80211_PLINK_BLOCKED = 0x6
|
|
+ NL80211_PLINK_CNF_RCVD = 0x3
|
|
+ NL80211_PLINK_ESTAB = 0x4
|
|
+ NL80211_PLINK_HOLDING = 0x5
|
|
+ NL80211_PLINK_LISTEN = 0x0
|
|
+ NL80211_PLINK_OPN_RCVD = 0x2
|
|
+ NL80211_PLINK_OPN_SNT = 0x1
|
|
+ NL80211_PMKSA_CANDIDATE_BSSID = 0x2
|
|
+ NL80211_PMKSA_CANDIDATE_INDEX = 0x1
|
|
+ NL80211_PMKSA_CANDIDATE_PREAUTH = 0x3
|
|
+ NL80211_PMSR_ATTR_MAX = 0x5
|
|
+ NL80211_PMSR_ATTR_MAX_PEERS = 0x1
|
|
+ NL80211_PMSR_ATTR_PEERS = 0x5
|
|
+ NL80211_PMSR_ATTR_RANDOMIZE_MAC_ADDR = 0x3
|
|
+ NL80211_PMSR_ATTR_REPORT_AP_TSF = 0x2
|
|
+ NL80211_PMSR_ATTR_TYPE_CAPA = 0x4
|
|
+ NL80211_PMSR_FTM_CAPA_ATTR_ASAP = 0x1
|
|
+ NL80211_PMSR_FTM_CAPA_ATTR_BANDWIDTHS = 0x6
|
|
+ NL80211_PMSR_FTM_CAPA_ATTR_MAX_BURSTS_EXPONENT = 0x7
|
|
+ NL80211_PMSR_FTM_CAPA_ATTR_MAX = 0xa
|
|
+ NL80211_PMSR_FTM_CAPA_ATTR_MAX_FTMS_PER_BURST = 0x8
|
|
+ NL80211_PMSR_FTM_CAPA_ATTR_NON_ASAP = 0x2
|
|
+ NL80211_PMSR_FTM_CAPA_ATTR_NON_TRIGGER_BASED = 0xa
|
|
+ NL80211_PMSR_FTM_CAPA_ATTR_PREAMBLES = 0x5
|
|
+ NL80211_PMSR_FTM_CAPA_ATTR_REQ_CIVICLOC = 0x4
|
|
+ NL80211_PMSR_FTM_CAPA_ATTR_REQ_LCI = 0x3
|
|
+ NL80211_PMSR_FTM_CAPA_ATTR_TRIGGER_BASED = 0x9
|
|
+ NL80211_PMSR_FTM_FAILURE_BAD_CHANGED_PARAMS = 0x7
|
|
+ NL80211_PMSR_FTM_FAILURE_INVALID_TIMESTAMP = 0x5
|
|
+ NL80211_PMSR_FTM_FAILURE_NO_RESPONSE = 0x1
|
|
+ NL80211_PMSR_FTM_FAILURE_PEER_BUSY = 0x6
|
|
+ NL80211_PMSR_FTM_FAILURE_PEER_NOT_CAPABLE = 0x4
|
|
+ NL80211_PMSR_FTM_FAILURE_REJECTED = 0x2
|
|
+ NL80211_PMSR_FTM_FAILURE_UNSPECIFIED = 0x0
|
|
+ NL80211_PMSR_FTM_FAILURE_WRONG_CHANNEL = 0x3
|
|
+ NL80211_PMSR_FTM_REQ_ATTR_ASAP = 0x1
|
|
+ NL80211_PMSR_FTM_REQ_ATTR_BURST_DURATION = 0x5
|
|
+ NL80211_PMSR_FTM_REQ_ATTR_BURST_PERIOD = 0x4
|
|
+ NL80211_PMSR_FTM_REQ_ATTR_FTMS_PER_BURST = 0x6
|
|
+ NL80211_PMSR_FTM_REQ_ATTR_LMR_FEEDBACK = 0xc
|
|
+ NL80211_PMSR_FTM_REQ_ATTR_MAX = 0xd
|
|
+ NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED = 0xb
|
|
+ NL80211_PMSR_FTM_REQ_ATTR_NUM_BURSTS_EXP = 0x3
|
|
+ NL80211_PMSR_FTM_REQ_ATTR_NUM_FTMR_RETRIES = 0x7
|
|
+ NL80211_PMSR_FTM_REQ_ATTR_PREAMBLE = 0x2
|
|
+ NL80211_PMSR_FTM_REQ_ATTR_REQUEST_CIVICLOC = 0x9
|
|
+ NL80211_PMSR_FTM_REQ_ATTR_REQUEST_LCI = 0x8
|
|
+ NL80211_PMSR_FTM_REQ_ATTR_TRIGGER_BASED = 0xa
|
|
+ NL80211_PMSR_FTM_RESP_ATTR_BURST_DURATION = 0x7
|
|
+ NL80211_PMSR_FTM_RESP_ATTR_BURST_INDEX = 0x2
|
|
+ NL80211_PMSR_FTM_RESP_ATTR_BUSY_RETRY_TIME = 0x5
|
|
+ NL80211_PMSR_FTM_RESP_ATTR_CIVICLOC = 0x14
|
|
+ NL80211_PMSR_FTM_RESP_ATTR_DIST_AVG = 0x10
|
|
+ NL80211_PMSR_FTM_RESP_ATTR_DIST_SPREAD = 0x12
|
|
+ NL80211_PMSR_FTM_RESP_ATTR_DIST_VARIANCE = 0x11
|
|
+ NL80211_PMSR_FTM_RESP_ATTR_FAIL_REASON = 0x1
|
|
+ NL80211_PMSR_FTM_RESP_ATTR_FTMS_PER_BURST = 0x8
|
|
+ NL80211_PMSR_FTM_RESP_ATTR_LCI = 0x13
|
|
+ NL80211_PMSR_FTM_RESP_ATTR_MAX = 0x15
|
|
+ NL80211_PMSR_FTM_RESP_ATTR_NUM_BURSTS_EXP = 0x6
|
|
+ NL80211_PMSR_FTM_RESP_ATTR_NUM_FTMR_ATTEMPTS = 0x3
|
|
+ NL80211_PMSR_FTM_RESP_ATTR_NUM_FTMR_SUCCESSES = 0x4
|
|
+ NL80211_PMSR_FTM_RESP_ATTR_PAD = 0x15
|
|
+ NL80211_PMSR_FTM_RESP_ATTR_RSSI_AVG = 0x9
|
|
+ NL80211_PMSR_FTM_RESP_ATTR_RSSI_SPREAD = 0xa
|
|
+ NL80211_PMSR_FTM_RESP_ATTR_RTT_AVG = 0xd
|
|
+ NL80211_PMSR_FTM_RESP_ATTR_RTT_SPREAD = 0xf
|
|
+ NL80211_PMSR_FTM_RESP_ATTR_RTT_VARIANCE = 0xe
|
|
+ NL80211_PMSR_FTM_RESP_ATTR_RX_RATE = 0xc
|
|
+ NL80211_PMSR_FTM_RESP_ATTR_TX_RATE = 0xb
|
|
+ NL80211_PMSR_PEER_ATTR_ADDR = 0x1
|
|
+ NL80211_PMSR_PEER_ATTR_CHAN = 0x2
|
|
+ NL80211_PMSR_PEER_ATTR_MAX = 0x4
|
|
+ NL80211_PMSR_PEER_ATTR_REQ = 0x3
|
|
+ NL80211_PMSR_PEER_ATTR_RESP = 0x4
|
|
+ NL80211_PMSR_REQ_ATTR_DATA = 0x1
|
|
+ NL80211_PMSR_REQ_ATTR_GET_AP_TSF = 0x2
|
|
+ NL80211_PMSR_REQ_ATTR_MAX = 0x2
|
|
+ NL80211_PMSR_RESP_ATTR_AP_TSF = 0x4
|
|
+ NL80211_PMSR_RESP_ATTR_DATA = 0x1
|
|
+ NL80211_PMSR_RESP_ATTR_FINAL = 0x5
|
|
+ NL80211_PMSR_RESP_ATTR_HOST_TIME = 0x3
|
|
+ NL80211_PMSR_RESP_ATTR_MAX = 0x6
|
|
+ NL80211_PMSR_RESP_ATTR_PAD = 0x6
|
|
+ NL80211_PMSR_RESP_ATTR_STATUS = 0x2
|
|
+ NL80211_PMSR_STATUS_FAILURE = 0x3
|
|
+ NL80211_PMSR_STATUS_REFUSED = 0x1
|
|
+ NL80211_PMSR_STATUS_SUCCESS = 0x0
|
|
+ NL80211_PMSR_STATUS_TIMEOUT = 0x2
|
|
+ NL80211_PMSR_TYPE_FTM = 0x1
|
|
+ NL80211_PMSR_TYPE_INVALID = 0x0
|
|
+ NL80211_PMSR_TYPE_MAX = 0x1
|
|
+ NL80211_PREAMBLE_DMG = 0x3
|
|
+ NL80211_PREAMBLE_HE = 0x4
|
|
+ NL80211_PREAMBLE_HT = 0x1
|
|
+ NL80211_PREAMBLE_LEGACY = 0x0
|
|
+ NL80211_PREAMBLE_VHT = 0x2
|
|
+ NL80211_PROBE_RESP_OFFLOAD_SUPPORT_80211U = 0x8
|
|
+ NL80211_PROBE_RESP_OFFLOAD_SUPPORT_P2P = 0x4
|
|
+ NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2 = 0x2
|
|
+ NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS = 0x1
|
|
+ NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP = 0x1
|
|
+ NL80211_PS_DISABLED = 0x0
|
|
+ NL80211_PS_ENABLED = 0x1
|
|
+ NL80211_RADAR_CAC_ABORTED = 0x2
|
|
+ NL80211_RADAR_CAC_FINISHED = 0x1
|
|
+ NL80211_RADAR_CAC_STARTED = 0x5
|
|
+ NL80211_RADAR_DETECTED = 0x0
|
|
+ NL80211_RADAR_NOP_FINISHED = 0x3
|
|
+ NL80211_RADAR_PRE_CAC_EXPIRED = 0x4
|
|
+ NL80211_RATE_INFO_10_MHZ_WIDTH = 0xb
|
|
+ NL80211_RATE_INFO_160_MHZ_WIDTH = 0xa
|
|
+ NL80211_RATE_INFO_40_MHZ_WIDTH = 0x3
|
|
+ NL80211_RATE_INFO_5_MHZ_WIDTH = 0xc
|
|
+ NL80211_RATE_INFO_80_MHZ_WIDTH = 0x8
|
|
+ NL80211_RATE_INFO_80P80_MHZ_WIDTH = 0x9
|
|
+ NL80211_RATE_INFO_BITRATE32 = 0x5
|
|
+ NL80211_RATE_INFO_BITRATE = 0x1
|
|
+ NL80211_RATE_INFO_HE_1XLTF = 0x0
|
|
+ NL80211_RATE_INFO_HE_2XLTF = 0x1
|
|
+ NL80211_RATE_INFO_HE_4XLTF = 0x2
|
|
+ NL80211_RATE_INFO_HE_DCM = 0x10
|
|
+ NL80211_RATE_INFO_HE_GI_0_8 = 0x0
|
|
+ NL80211_RATE_INFO_HE_GI_1_6 = 0x1
|
|
+ NL80211_RATE_INFO_HE_GI_3_2 = 0x2
|
|
+ NL80211_RATE_INFO_HE_GI = 0xf
|
|
+ NL80211_RATE_INFO_HE_MCS = 0xd
|
|
+ NL80211_RATE_INFO_HE_NSS = 0xe
|
|
+ NL80211_RATE_INFO_HE_RU_ALLOC_106 = 0x2
|
|
+ NL80211_RATE_INFO_HE_RU_ALLOC_242 = 0x3
|
|
+ NL80211_RATE_INFO_HE_RU_ALLOC_26 = 0x0
|
|
+ NL80211_RATE_INFO_HE_RU_ALLOC_2x996 = 0x6
|
|
+ NL80211_RATE_INFO_HE_RU_ALLOC_484 = 0x4
|
|
+ NL80211_RATE_INFO_HE_RU_ALLOC_52 = 0x1
|
|
+ NL80211_RATE_INFO_HE_RU_ALLOC_996 = 0x5
|
|
+ NL80211_RATE_INFO_HE_RU_ALLOC = 0x11
|
|
+ NL80211_RATE_INFO_MAX = 0x16
|
|
+ NL80211_RATE_INFO_MCS = 0x2
|
|
+ NL80211_RATE_INFO_SHORT_GI = 0x4
|
|
+ NL80211_RATE_INFO_VHT_MCS = 0x6
|
|
+ NL80211_RATE_INFO_VHT_NSS = 0x7
|
|
+ NL80211_REGDOM_SET_BY_CORE = 0x0
|
|
+ NL80211_REGDOM_SET_BY_COUNTRY_IE = 0x3
|
|
+ NL80211_REGDOM_SET_BY_DRIVER = 0x2
|
|
+ NL80211_REGDOM_SET_BY_USER = 0x1
|
|
+ NL80211_REGDOM_TYPE_COUNTRY = 0x0
|
|
+ NL80211_REGDOM_TYPE_CUSTOM_WORLD = 0x2
|
|
+ NL80211_REGDOM_TYPE_INTERSECTION = 0x3
|
|
+ NL80211_REGDOM_TYPE_WORLD = 0x1
|
|
+ NL80211_REG_RULE_ATTR_MAX = 0x7
|
|
+ NL80211_REKEY_DATA_AKM = 0x4
|
|
+ NL80211_REKEY_DATA_KCK = 0x2
|
|
+ NL80211_REKEY_DATA_KEK = 0x1
|
|
+ NL80211_REKEY_DATA_REPLAY_CTR = 0x3
|
|
+ NL80211_REPLAY_CTR_LEN = 0x8
|
|
+ NL80211_RRF_AUTO_BW = 0x800
|
|
+ NL80211_RRF_DFS = 0x10
|
|
+ NL80211_RRF_GO_CONCURRENT = 0x1000
|
|
+ NL80211_RRF_IR_CONCURRENT = 0x1000
|
|
+ NL80211_RRF_NO_160MHZ = 0x10000
|
|
+ NL80211_RRF_NO_80MHZ = 0x8000
|
|
+ NL80211_RRF_NO_CCK = 0x2
|
|
+ NL80211_RRF_NO_HE = 0x20000
|
|
+ NL80211_RRF_NO_HT40 = 0x6000
|
|
+ NL80211_RRF_NO_HT40MINUS = 0x2000
|
|
+ NL80211_RRF_NO_HT40PLUS = 0x4000
|
|
+ NL80211_RRF_NO_IBSS = 0x80
|
|
+ NL80211_RRF_NO_INDOOR = 0x4
|
|
+ NL80211_RRF_NO_IR_ALL = 0x180
|
|
+ NL80211_RRF_NO_IR = 0x80
|
|
+ NL80211_RRF_NO_OFDM = 0x1
|
|
+ NL80211_RRF_NO_OUTDOOR = 0x8
|
|
+ NL80211_RRF_PASSIVE_SCAN = 0x80
|
|
+ NL80211_RRF_PTMP_ONLY = 0x40
|
|
+ NL80211_RRF_PTP_ONLY = 0x20
|
|
+ NL80211_RXMGMT_FLAG_ANSWERED = 0x1
|
|
+ NL80211_RXMGMT_FLAG_EXTERNAL_AUTH = 0x2
|
|
+ NL80211_SAE_PWE_BOTH = 0x3
|
|
+ NL80211_SAE_PWE_HASH_TO_ELEMENT = 0x2
|
|
+ NL80211_SAE_PWE_HUNT_AND_PECK = 0x1
|
|
+ NL80211_SAE_PWE_UNSPECIFIED = 0x0
|
|
+ NL80211_SAR_ATTR_MAX = 0x2
|
|
+ NL80211_SAR_ATTR_SPECS = 0x2
|
|
+ NL80211_SAR_ATTR_SPECS_END_FREQ = 0x4
|
|
+ NL80211_SAR_ATTR_SPECS_MAX = 0x4
|
|
+ NL80211_SAR_ATTR_SPECS_POWER = 0x1
|
|
+ NL80211_SAR_ATTR_SPECS_RANGE_INDEX = 0x2
|
|
+ NL80211_SAR_ATTR_SPECS_START_FREQ = 0x3
|
|
+ NL80211_SAR_ATTR_TYPE = 0x1
|
|
+ NL80211_SAR_TYPE_POWER = 0x0
|
|
+ NL80211_SCAN_FLAG_ACCEPT_BCAST_PROBE_RESP = 0x20
|
|
+ NL80211_SCAN_FLAG_AP = 0x4
|
|
+ NL80211_SCAN_FLAG_COLOCATED_6GHZ = 0x4000
|
|
+ NL80211_SCAN_FLAG_FILS_MAX_CHANNEL_TIME = 0x10
|
|
+ NL80211_SCAN_FLAG_FLUSH = 0x2
|
|
+ NL80211_SCAN_FLAG_FREQ_KHZ = 0x2000
|
|
+ NL80211_SCAN_FLAG_HIGH_ACCURACY = 0x400
|
|
+ NL80211_SCAN_FLAG_LOW_POWER = 0x200
|
|
+ NL80211_SCAN_FLAG_LOW_PRIORITY = 0x1
|
|
+ NL80211_SCAN_FLAG_LOW_SPAN = 0x100
|
|
+ NL80211_SCAN_FLAG_MIN_PREQ_CONTENT = 0x1000
|
|
+ NL80211_SCAN_FLAG_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION = 0x80
|
|
+ NL80211_SCAN_FLAG_OCE_PROBE_REQ_HIGH_TX_RATE = 0x40
|
|
+ NL80211_SCAN_FLAG_RANDOM_ADDR = 0x8
|
|
+ NL80211_SCAN_FLAG_RANDOM_SN = 0x800
|
|
+ NL80211_SCAN_RSSI_THOLD_OFF = -0x12c
|
|
+ NL80211_SCHED_SCAN_MATCH_ATTR_BSSID = 0x5
|
|
+ NL80211_SCHED_SCAN_MATCH_ATTR_MAX = 0x6
|
|
+ NL80211_SCHED_SCAN_MATCH_ATTR_RELATIVE_RSSI = 0x3
|
|
+ NL80211_SCHED_SCAN_MATCH_ATTR_RSSI_ADJUST = 0x4
|
|
+ NL80211_SCHED_SCAN_MATCH_ATTR_RSSI = 0x2
|
|
+ NL80211_SCHED_SCAN_MATCH_ATTR_SSID = 0x1
|
|
+ NL80211_SCHED_SCAN_MATCH_PER_BAND_RSSI = 0x6
|
|
+ NL80211_SCHED_SCAN_PLAN_INTERVAL = 0x1
|
|
+ NL80211_SCHED_SCAN_PLAN_ITERATIONS = 0x2
|
|
+ NL80211_SCHED_SCAN_PLAN_MAX = 0x2
|
|
+ NL80211_SMPS_DYNAMIC = 0x2
|
|
+ NL80211_SMPS_MAX = 0x2
|
|
+ NL80211_SMPS_OFF = 0x0
|
|
+ NL80211_SMPS_STATIC = 0x1
|
|
+ NL80211_STA_BSS_PARAM_BEACON_INTERVAL = 0x5
|
|
+ NL80211_STA_BSS_PARAM_CTS_PROT = 0x1
|
|
+ NL80211_STA_BSS_PARAM_DTIM_PERIOD = 0x4
|
|
+ NL80211_STA_BSS_PARAM_MAX = 0x5
|
|
+ NL80211_STA_BSS_PARAM_SHORT_PREAMBLE = 0x2
|
|
+ NL80211_STA_BSS_PARAM_SHORT_SLOT_TIME = 0x3
|
|
+ NL80211_STA_FLAG_ASSOCIATED = 0x7
|
|
+ NL80211_STA_FLAG_AUTHENTICATED = 0x5
|
|
+ NL80211_STA_FLAG_AUTHORIZED = 0x1
|
|
+ NL80211_STA_FLAG_MAX = 0x7
|
|
+ NL80211_STA_FLAG_MAX_OLD_API = 0x6
|
|
+ NL80211_STA_FLAG_MFP = 0x4
|
|
+ NL80211_STA_FLAG_SHORT_PREAMBLE = 0x2
|
|
+ NL80211_STA_FLAG_TDLS_PEER = 0x6
|
|
+ NL80211_STA_FLAG_WME = 0x3
|
|
+ NL80211_STA_INFO_ACK_SIGNAL_AVG = 0x23
|
|
+ NL80211_STA_INFO_ACK_SIGNAL = 0x22
|
|
+ NL80211_STA_INFO_AIRTIME_LINK_METRIC = 0x29
|
|
+ NL80211_STA_INFO_AIRTIME_WEIGHT = 0x28
|
|
+ NL80211_STA_INFO_ASSOC_AT_BOOTTIME = 0x2a
|
|
+ NL80211_STA_INFO_BEACON_LOSS = 0x12
|
|
+ NL80211_STA_INFO_BEACON_RX = 0x1d
|
|
+ NL80211_STA_INFO_BEACON_SIGNAL_AVG = 0x1e
|
|
+ NL80211_STA_INFO_BSS_PARAM = 0xf
|
|
+ NL80211_STA_INFO_CHAIN_SIGNAL_AVG = 0x1a
|
|
+ NL80211_STA_INFO_CHAIN_SIGNAL = 0x19
|
|
+ NL80211_STA_INFO_CONNECTED_TIME = 0x10
|
|
+ NL80211_STA_INFO_CONNECTED_TO_AS = 0x2b
|
|
+ NL80211_STA_INFO_CONNECTED_TO_GATE = 0x26
|
|
+ NL80211_STA_INFO_DATA_ACK_SIGNAL_AVG = 0x23
|
|
+ NL80211_STA_INFO_EXPECTED_THROUGHPUT = 0x1b
|
|
+ NL80211_STA_INFO_FCS_ERROR_COUNT = 0x25
|
|
+ NL80211_STA_INFO_INACTIVE_TIME = 0x1
|
|
+ NL80211_STA_INFO_LLID = 0x4
|
|
+ NL80211_STA_INFO_LOCAL_PM = 0x14
|
|
+ NL80211_STA_INFO_MAX = 0x2b
|
|
+ NL80211_STA_INFO_NONPEER_PM = 0x16
|
|
+ NL80211_STA_INFO_PAD = 0x21
|
|
+ NL80211_STA_INFO_PEER_PM = 0x15
|
|
+ NL80211_STA_INFO_PLID = 0x5
|
|
+ NL80211_STA_INFO_PLINK_STATE = 0x6
|
|
+ NL80211_STA_INFO_RX_BITRATE = 0xe
|
|
+ NL80211_STA_INFO_RX_BYTES64 = 0x17
|
|
+ NL80211_STA_INFO_RX_BYTES = 0x2
|
|
+ NL80211_STA_INFO_RX_DROP_MISC = 0x1c
|
|
+ NL80211_STA_INFO_RX_DURATION = 0x20
|
|
+ NL80211_STA_INFO_RX_MPDUS = 0x24
|
|
+ NL80211_STA_INFO_RX_PACKETS = 0x9
|
|
+ NL80211_STA_INFO_SIGNAL_AVG = 0xd
|
|
+ NL80211_STA_INFO_SIGNAL = 0x7
|
|
+ NL80211_STA_INFO_STA_FLAGS = 0x11
|
|
+ NL80211_STA_INFO_TID_STATS = 0x1f
|
|
+ NL80211_STA_INFO_T_OFFSET = 0x13
|
|
+ NL80211_STA_INFO_TX_BITRATE = 0x8
|
|
+ NL80211_STA_INFO_TX_BYTES64 = 0x18
|
|
+ NL80211_STA_INFO_TX_BYTES = 0x3
|
|
+ NL80211_STA_INFO_TX_DURATION = 0x27
|
|
+ NL80211_STA_INFO_TX_FAILED = 0xc
|
|
+ NL80211_STA_INFO_TX_PACKETS = 0xa
|
|
+ NL80211_STA_INFO_TX_RETRIES = 0xb
|
|
+ NL80211_STA_WME_MAX = 0x2
|
|
+ NL80211_STA_WME_MAX_SP = 0x2
|
|
+ NL80211_STA_WME_UAPSD_QUEUES = 0x1
|
|
+ NL80211_SURVEY_INFO_CHANNEL_TIME_BUSY = 0x5
|
|
+ NL80211_SURVEY_INFO_CHANNEL_TIME = 0x4
|
|
+ NL80211_SURVEY_INFO_CHANNEL_TIME_EXT_BUSY = 0x6
|
|
+ NL80211_SURVEY_INFO_CHANNEL_TIME_RX = 0x7
|
|
+ NL80211_SURVEY_INFO_CHANNEL_TIME_TX = 0x8
|
|
+ NL80211_SURVEY_INFO_FREQUENCY = 0x1
|
|
+ NL80211_SURVEY_INFO_FREQUENCY_OFFSET = 0xc
|
|
+ NL80211_SURVEY_INFO_IN_USE = 0x3
|
|
+ NL80211_SURVEY_INFO_MAX = 0xc
|
|
+ NL80211_SURVEY_INFO_NOISE = 0x2
|
|
+ NL80211_SURVEY_INFO_PAD = 0xa
|
|
+ NL80211_SURVEY_INFO_TIME_BSS_RX = 0xb
|
|
+ NL80211_SURVEY_INFO_TIME_BUSY = 0x5
|
|
+ NL80211_SURVEY_INFO_TIME = 0x4
|
|
+ NL80211_SURVEY_INFO_TIME_EXT_BUSY = 0x6
|
|
+ NL80211_SURVEY_INFO_TIME_RX = 0x7
|
|
+ NL80211_SURVEY_INFO_TIME_SCAN = 0x9
|
|
+ NL80211_SURVEY_INFO_TIME_TX = 0x8
|
|
+ NL80211_TDLS_DISABLE_LINK = 0x4
|
|
+ NL80211_TDLS_DISCOVERY_REQ = 0x0
|
|
+ NL80211_TDLS_ENABLE_LINK = 0x3
|
|
+ NL80211_TDLS_PEER_HE = 0x8
|
|
+ NL80211_TDLS_PEER_HT = 0x1
|
|
+ NL80211_TDLS_PEER_VHT = 0x2
|
|
+ NL80211_TDLS_PEER_WMM = 0x4
|
|
+ NL80211_TDLS_SETUP = 0x1
|
|
+ NL80211_TDLS_TEARDOWN = 0x2
|
|
+ NL80211_TID_CONFIG_ATTR_AMPDU_CTRL = 0x9
|
|
+ NL80211_TID_CONFIG_ATTR_AMSDU_CTRL = 0xb
|
|
+ NL80211_TID_CONFIG_ATTR_MAX = 0xd
|
|
+ NL80211_TID_CONFIG_ATTR_NOACK = 0x6
|
|
+ NL80211_TID_CONFIG_ATTR_OVERRIDE = 0x4
|
|
+ NL80211_TID_CONFIG_ATTR_PAD = 0x1
|
|
+ NL80211_TID_CONFIG_ATTR_PEER_SUPP = 0x3
|
|
+ NL80211_TID_CONFIG_ATTR_RETRY_LONG = 0x8
|
|
+ NL80211_TID_CONFIG_ATTR_RETRY_SHORT = 0x7
|
|
+ NL80211_TID_CONFIG_ATTR_RTSCTS_CTRL = 0xa
|
|
+ NL80211_TID_CONFIG_ATTR_TIDS = 0x5
|
|
+ NL80211_TID_CONFIG_ATTR_TX_RATE = 0xd
|
|
+ NL80211_TID_CONFIG_ATTR_TX_RATE_TYPE = 0xc
|
|
+ NL80211_TID_CONFIG_ATTR_VIF_SUPP = 0x2
|
|
+ NL80211_TID_CONFIG_DISABLE = 0x1
|
|
+ NL80211_TID_CONFIG_ENABLE = 0x0
|
|
+ NL80211_TID_STATS_MAX = 0x6
|
|
+ NL80211_TID_STATS_PAD = 0x5
|
|
+ NL80211_TID_STATS_RX_MSDU = 0x1
|
|
+ NL80211_TID_STATS_TX_MSDU = 0x2
|
|
+ NL80211_TID_STATS_TX_MSDU_FAILED = 0x4
|
|
+ NL80211_TID_STATS_TX_MSDU_RETRIES = 0x3
|
|
+ NL80211_TID_STATS_TXQ_STATS = 0x6
|
|
+ NL80211_TIMEOUT_ASSOC = 0x3
|
|
+ NL80211_TIMEOUT_AUTH = 0x2
|
|
+ NL80211_TIMEOUT_SCAN = 0x1
|
|
+ NL80211_TIMEOUT_UNSPECIFIED = 0x0
|
|
+ NL80211_TKIP_DATA_OFFSET_ENCR_KEY = 0x0
|
|
+ NL80211_TKIP_DATA_OFFSET_RX_MIC_KEY = 0x18
|
|
+ NL80211_TKIP_DATA_OFFSET_TX_MIC_KEY = 0x10
|
|
+ NL80211_TX_POWER_AUTOMATIC = 0x0
|
|
+ NL80211_TX_POWER_FIXED = 0x2
|
|
+ NL80211_TX_POWER_LIMITED = 0x1
|
|
+ NL80211_TXQ_ATTR_AC = 0x1
|
|
+ NL80211_TXQ_ATTR_AIFS = 0x5
|
|
+ NL80211_TXQ_ATTR_CWMAX = 0x4
|
|
+ NL80211_TXQ_ATTR_CWMIN = 0x3
|
|
+ NL80211_TXQ_ATTR_MAX = 0x5
|
|
+ NL80211_TXQ_ATTR_QUEUE = 0x1
|
|
+ NL80211_TXQ_ATTR_TXOP = 0x2
|
|
+ NL80211_TXQ_Q_BE = 0x2
|
|
+ NL80211_TXQ_Q_BK = 0x3
|
|
+ NL80211_TXQ_Q_VI = 0x1
|
|
+ NL80211_TXQ_Q_VO = 0x0
|
|
+ NL80211_TXQ_STATS_BACKLOG_BYTES = 0x1
|
|
+ NL80211_TXQ_STATS_BACKLOG_PACKETS = 0x2
|
|
+ NL80211_TXQ_STATS_COLLISIONS = 0x8
|
|
+ NL80211_TXQ_STATS_DROPS = 0x4
|
|
+ NL80211_TXQ_STATS_ECN_MARKS = 0x5
|
|
+ NL80211_TXQ_STATS_FLOWS = 0x3
|
|
+ NL80211_TXQ_STATS_MAX = 0xb
|
|
+ NL80211_TXQ_STATS_MAX_FLOWS = 0xb
|
|
+ NL80211_TXQ_STATS_OVERLIMIT = 0x6
|
|
+ NL80211_TXQ_STATS_OVERMEMORY = 0x7
|
|
+ NL80211_TXQ_STATS_TX_BYTES = 0x9
|
|
+ NL80211_TXQ_STATS_TX_PACKETS = 0xa
|
|
+ NL80211_TX_RATE_AUTOMATIC = 0x0
|
|
+ NL80211_TXRATE_DEFAULT_GI = 0x0
|
|
+ NL80211_TX_RATE_FIXED = 0x2
|
|
+ NL80211_TXRATE_FORCE_LGI = 0x2
|
|
+ NL80211_TXRATE_FORCE_SGI = 0x1
|
|
+ NL80211_TXRATE_GI = 0x4
|
|
+ NL80211_TXRATE_HE = 0x5
|
|
+ NL80211_TXRATE_HE_GI = 0x6
|
|
+ NL80211_TXRATE_HE_LTF = 0x7
|
|
+ NL80211_TXRATE_HT = 0x2
|
|
+ NL80211_TXRATE_LEGACY = 0x1
|
|
+ NL80211_TX_RATE_LIMITED = 0x1
|
|
+ NL80211_TXRATE_MAX = 0x7
|
|
+ NL80211_TXRATE_MCS = 0x2
|
|
+ NL80211_TXRATE_VHT = 0x3
|
|
+ NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_INT = 0x1
|
|
+ NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_MAX = 0x2
|
|
+ NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_TMPL = 0x2
|
|
+ NL80211_USER_REG_HINT_CELL_BASE = 0x1
|
|
+ NL80211_USER_REG_HINT_INDOOR = 0x2
|
|
+ NL80211_USER_REG_HINT_USER = 0x0
|
|
+ NL80211_VENDOR_ID_IS_LINUX = 0x80000000
|
|
+ NL80211_VHT_CAPABILITY_LEN = 0xc
|
|
+ NL80211_VHT_NSS_MAX = 0x8
|
|
+ NL80211_WIPHY_NAME_MAXLEN = 0x40
|
|
+ NL80211_WMMR_AIFSN = 0x3
|
|
+ NL80211_WMMR_CW_MAX = 0x2
|
|
+ NL80211_WMMR_CW_MIN = 0x1
|
|
+ NL80211_WMMR_MAX = 0x4
|
|
+ NL80211_WMMR_TXOP = 0x4
|
|
+ NL80211_WOWLAN_PKTPAT_MASK = 0x1
|
|
+ NL80211_WOWLAN_PKTPAT_OFFSET = 0x3
|
|
+ NL80211_WOWLAN_PKTPAT_PATTERN = 0x2
|
|
+ NL80211_WOWLAN_TCP_DATA_INTERVAL = 0x9
|
|
+ NL80211_WOWLAN_TCP_DATA_PAYLOAD = 0x6
|
|
+ NL80211_WOWLAN_TCP_DATA_PAYLOAD_SEQ = 0x7
|
|
+ NL80211_WOWLAN_TCP_DATA_PAYLOAD_TOKEN = 0x8
|
|
+ NL80211_WOWLAN_TCP_DST_IPV4 = 0x2
|
|
+ NL80211_WOWLAN_TCP_DST_MAC = 0x3
|
|
+ NL80211_WOWLAN_TCP_DST_PORT = 0x5
|
|
+ NL80211_WOWLAN_TCP_SRC_IPV4 = 0x1
|
|
+ NL80211_WOWLAN_TCP_SRC_PORT = 0x4
|
|
+ NL80211_WOWLAN_TCP_WAKE_MASK = 0xb
|
|
+ NL80211_WOWLAN_TCP_WAKE_PAYLOAD = 0xa
|
|
+ NL80211_WOWLAN_TRIG_4WAY_HANDSHAKE = 0x8
|
|
+ NL80211_WOWLAN_TRIG_ANY = 0x1
|
|
+ NL80211_WOWLAN_TRIG_DISCONNECT = 0x2
|
|
+ NL80211_WOWLAN_TRIG_EAP_IDENT_REQUEST = 0x7
|
|
+ NL80211_WOWLAN_TRIG_GTK_REKEY_FAILURE = 0x6
|
|
+ NL80211_WOWLAN_TRIG_GTK_REKEY_SUPPORTED = 0x5
|
|
+ NL80211_WOWLAN_TRIG_MAGIC_PKT = 0x3
|
|
+ NL80211_WOWLAN_TRIG_NET_DETECT = 0x12
|
|
+ NL80211_WOWLAN_TRIG_NET_DETECT_RESULTS = 0x13
|
|
+ NL80211_WOWLAN_TRIG_PKT_PATTERN = 0x4
|
|
+ NL80211_WOWLAN_TRIG_RFKILL_RELEASE = 0x9
|
|
+ NL80211_WOWLAN_TRIG_TCP_CONNECTION = 0xe
|
|
+ NL80211_WOWLAN_TRIG_WAKEUP_PKT_80211 = 0xa
|
|
+ NL80211_WOWLAN_TRIG_WAKEUP_PKT_80211_LEN = 0xb
|
|
+ NL80211_WOWLAN_TRIG_WAKEUP_PKT_8023 = 0xc
|
|
+ NL80211_WOWLAN_TRIG_WAKEUP_PKT_8023_LEN = 0xd
|
|
+ NL80211_WOWLAN_TRIG_WAKEUP_TCP_CONNLOST = 0x10
|
|
+ NL80211_WOWLAN_TRIG_WAKEUP_TCP_MATCH = 0xf
|
|
+ NL80211_WOWLAN_TRIG_WAKEUP_TCP_NOMORETOKENS = 0x11
|
|
+ NL80211_WPA_VERSION_1 = 0x1
|
|
+ NL80211_WPA_VERSION_2 = 0x2
|
|
+ NL80211_WPA_VERSION_3 = 0x4
|
|
+)
|
|
+
|
|
+const (
|
|
+ FRA_UNSPEC = 0x0
|
|
+ FRA_DST = 0x1
|
|
+ FRA_SRC = 0x2
|
|
+ FRA_IIFNAME = 0x3
|
|
+ FRA_GOTO = 0x4
|
|
+ FRA_UNUSED2 = 0x5
|
|
+ FRA_PRIORITY = 0x6
|
|
+ FRA_UNUSED3 = 0x7
|
|
+ FRA_UNUSED4 = 0x8
|
|
+ FRA_UNUSED5 = 0x9
|
|
+ FRA_FWMARK = 0xa
|
|
+ FRA_FLOW = 0xb
|
|
+ FRA_TUN_ID = 0xc
|
|
+ FRA_SUPPRESS_IFGROUP = 0xd
|
|
+ FRA_SUPPRESS_PREFIXLEN = 0xe
|
|
+ FRA_TABLE = 0xf
|
|
+ FRA_FWMASK = 0x10
|
|
+ FRA_OIFNAME = 0x11
|
|
+ FRA_PAD = 0x12
|
|
+ FRA_L3MDEV = 0x13
|
|
+ FRA_UID_RANGE = 0x14
|
|
+ FRA_PROTOCOL = 0x15
|
|
+ FRA_IP_PROTO = 0x16
|
|
+ FRA_SPORT_RANGE = 0x17
|
|
+ FRA_DPORT_RANGE = 0x18
|
|
+ FR_ACT_UNSPEC = 0x0
|
|
+ FR_ACT_TO_TBL = 0x1
|
|
+ FR_ACT_GOTO = 0x2
|
|
+ FR_ACT_NOP = 0x3
|
|
+ FR_ACT_RES3 = 0x4
|
|
+ FR_ACT_RES4 = 0x5
|
|
+ FR_ACT_BLACKHOLE = 0x6
|
|
+ FR_ACT_UNREACHABLE = 0x7
|
|
+ FR_ACT_PROHIBIT = 0x8
|
|
+)
|
|
+
|
|
+const (
|
|
+ AUDIT_NLGRP_NONE = 0x0
|
|
+ AUDIT_NLGRP_READLOG = 0x1
|
|
+)
|
|
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_386.go b/vendor/golang.org/x/sys/unix/ztypes_linux_386.go
|
|
index bea2549..2636044 100644
|
|
--- a/vendor/golang.org/x/sys/unix/ztypes_linux_386.go
|
|
+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_386.go
|
|
@@ -1,4 +1,4 @@
|
|
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include -m32 /build/unix/linux/types.go | go run mkpost.go
|
|
+// cgo -godefs -objdir=/tmp/386/cgo -- -Wall -Werror -static -I/tmp/386/include -m32 linux/types.go | go run mkpost.go
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build 386 && linux
|
|
@@ -240,6 +240,10 @@ type EpollEvent struct {
|
|
Pad int32
|
|
}
|
|
|
|
+const (
|
|
+ OPEN_TREE_CLOEXEC = 0x80000
|
|
+)
|
|
+
|
|
const (
|
|
POLLRDHUP = 0x2000
|
|
)
|
|
@@ -250,6 +254,13 @@ type Sigset_t struct {
|
|
|
|
const _C__NSIG = 0x41
|
|
|
|
+type Siginfo struct {
|
|
+ Signo int32
|
|
+ Errno int32
|
|
+ Code int32
|
|
+ _ [116]byte
|
|
+}
|
|
+
|
|
type Termios struct {
|
|
Iflag uint32
|
|
Oflag uint32
|
|
@@ -311,6 +322,15 @@ type Taskstats struct {
|
|
Thrashing_count uint64
|
|
Thrashing_delay_total uint64
|
|
Ac_btime64 uint64
|
|
+ Compact_count uint64
|
|
+ Compact_delay_total uint64
|
|
+ Ac_tgid uint32
|
|
+ _ [4]byte
|
|
+ Ac_tgetime uint64
|
|
+ Ac_exe_dev uint64
|
|
+ Ac_exe_inode uint64
|
|
+ Wpcopy_count uint64
|
|
+ Wpcopy_delay_total uint64
|
|
}
|
|
|
|
type cpuMask uint32
|
|
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go
|
|
index b8c8f28..8187489 100644
|
|
--- a/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go
|
|
@@ -1,4 +1,4 @@
|
|
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include -m64 /build/unix/linux/types.go | go run mkpost.go
|
|
+// cgo -godefs -objdir=/tmp/amd64/cgo -- -Wall -Werror -static -I/tmp/amd64/include -m64 linux/types.go | go run mkpost.go
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build amd64 && linux
|
|
@@ -255,6 +255,10 @@ type EpollEvent struct {
|
|
Pad int32
|
|
}
|
|
|
|
+const (
|
|
+ OPEN_TREE_CLOEXEC = 0x80000
|
|
+)
|
|
+
|
|
const (
|
|
POLLRDHUP = 0x2000
|
|
)
|
|
@@ -265,6 +269,14 @@ type Sigset_t struct {
|
|
|
|
const _C__NSIG = 0x41
|
|
|
|
+type Siginfo struct {
|
|
+ Signo int32
|
|
+ Errno int32
|
|
+ Code int32
|
|
+ _ int32
|
|
+ _ [112]byte
|
|
+}
|
|
+
|
|
type Termios struct {
|
|
Iflag uint32
|
|
Oflag uint32
|
|
@@ -324,6 +336,14 @@ type Taskstats struct {
|
|
Thrashing_count uint64
|
|
Thrashing_delay_total uint64
|
|
Ac_btime64 uint64
|
|
+ Compact_count uint64
|
|
+ Compact_delay_total uint64
|
|
+ Ac_tgid uint32
|
|
+ Ac_tgetime uint64
|
|
+ Ac_exe_dev uint64
|
|
+ Ac_exe_inode uint64
|
|
+ Wpcopy_count uint64
|
|
+ Wpcopy_delay_total uint64
|
|
}
|
|
|
|
type cpuMask uint64
|
|
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go b/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go
|
|
index 4db4430..d161233 100644
|
|
--- a/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go
|
|
+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go
|
|
@@ -1,4 +1,4 @@
|
|
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/linux/types.go | go run mkpost.go
|
|
+// cgo -godefs -objdir=/tmp/arm/cgo -- -Wall -Werror -static -I/tmp/arm/include linux/types.go | go run mkpost.go
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build arm && linux
|
|
@@ -231,6 +231,10 @@ type EpollEvent struct {
|
|
Pad int32
|
|
}
|
|
|
|
+const (
|
|
+ OPEN_TREE_CLOEXEC = 0x80000
|
|
+)
|
|
+
|
|
const (
|
|
POLLRDHUP = 0x2000
|
|
)
|
|
@@ -241,6 +245,13 @@ type Sigset_t struct {
|
|
|
|
const _C__NSIG = 0x41
|
|
|
|
+type Siginfo struct {
|
|
+ Signo int32
|
|
+ Errno int32
|
|
+ Code int32
|
|
+ _ [116]byte
|
|
+}
|
|
+
|
|
type Termios struct {
|
|
Iflag uint32
|
|
Oflag uint32
|
|
@@ -302,6 +313,15 @@ type Taskstats struct {
|
|
Thrashing_count uint64
|
|
Thrashing_delay_total uint64
|
|
Ac_btime64 uint64
|
|
+ Compact_count uint64
|
|
+ Compact_delay_total uint64
|
|
+ Ac_tgid uint32
|
|
+ _ [4]byte
|
|
+ Ac_tgetime uint64
|
|
+ Ac_exe_dev uint64
|
|
+ Ac_exe_inode uint64
|
|
+ Wpcopy_count uint64
|
|
+ Wpcopy_delay_total uint64
|
|
}
|
|
|
|
type cpuMask uint32
|
|
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go
|
|
index 3ebcad8..c28e555 100644
|
|
--- a/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go
|
|
@@ -1,4 +1,4 @@
|
|
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char /build/unix/linux/types.go | go run mkpost.go
|
|
+// cgo -godefs -objdir=/tmp/arm64/cgo -- -Wall -Werror -static -I/tmp/arm64/include -fsigned-char linux/types.go | go run mkpost.go
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build arm64 && linux
|
|
@@ -234,6 +234,10 @@ type EpollEvent struct {
|
|
Pad int32
|
|
}
|
|
|
|
+const (
|
|
+ OPEN_TREE_CLOEXEC = 0x80000
|
|
+)
|
|
+
|
|
const (
|
|
POLLRDHUP = 0x2000
|
|
)
|
|
@@ -244,6 +248,14 @@ type Sigset_t struct {
|
|
|
|
const _C__NSIG = 0x41
|
|
|
|
+type Siginfo struct {
|
|
+ Signo int32
|
|
+ Errno int32
|
|
+ Code int32
|
|
+ _ int32
|
|
+ _ [112]byte
|
|
+}
|
|
+
|
|
type Termios struct {
|
|
Iflag uint32
|
|
Oflag uint32
|
|
@@ -303,6 +315,14 @@ type Taskstats struct {
|
|
Thrashing_count uint64
|
|
Thrashing_delay_total uint64
|
|
Ac_btime64 uint64
|
|
+ Compact_count uint64
|
|
+ Compact_delay_total uint64
|
|
+ Ac_tgid uint32
|
|
+ Ac_tgetime uint64
|
|
+ Ac_exe_dev uint64
|
|
+ Ac_exe_inode uint64
|
|
+ Wpcopy_count uint64
|
|
+ Wpcopy_delay_total uint64
|
|
}
|
|
|
|
type cpuMask uint64
|
|
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go
|
|
new file mode 100644
|
|
index 0000000..187061f
|
|
--- /dev/null
|
|
+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go
|
|
@@ -0,0 +1,685 @@
|
|
+// cgo -godefs -objdir=/tmp/loong64/cgo -- -Wall -Werror -static -I/tmp/loong64/include linux/types.go | go run mkpost.go
|
|
+// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
+
|
|
+//go:build loong64 && linux
|
|
+// +build loong64,linux
|
|
+
|
|
+package unix
|
|
+
|
|
+const (
|
|
+ SizeofPtr = 0x8
|
|
+ SizeofLong = 0x8
|
|
+)
|
|
+
|
|
+type (
|
|
+ _C_long int64
|
|
+)
|
|
+
|
|
+type Timespec struct {
|
|
+ Sec int64
|
|
+ Nsec int64
|
|
+}
|
|
+
|
|
+type Timeval struct {
|
|
+ Sec int64
|
|
+ Usec int64
|
|
+}
|
|
+
|
|
+type Timex struct {
|
|
+ Modes uint32
|
|
+ Offset int64
|
|
+ Freq int64
|
|
+ Maxerror int64
|
|
+ Esterror int64
|
|
+ Status int32
|
|
+ Constant int64
|
|
+ Precision int64
|
|
+ Tolerance int64
|
|
+ Time Timeval
|
|
+ Tick int64
|
|
+ Ppsfreq int64
|
|
+ Jitter int64
|
|
+ Shift int32
|
|
+ Stabil int64
|
|
+ Jitcnt int64
|
|
+ Calcnt int64
|
|
+ Errcnt int64
|
|
+ Stbcnt int64
|
|
+ Tai int32
|
|
+ _ [44]byte
|
|
+}
|
|
+
|
|
+type Time_t int64
|
|
+
|
|
+type Tms struct {
|
|
+ Utime int64
|
|
+ Stime int64
|
|
+ Cutime int64
|
|
+ Cstime int64
|
|
+}
|
|
+
|
|
+type Utimbuf struct {
|
|
+ Actime int64
|
|
+ Modtime int64
|
|
+}
|
|
+
|
|
+type Rusage struct {
|
|
+ Utime Timeval
|
|
+ Stime Timeval
|
|
+ Maxrss int64
|
|
+ Ixrss int64
|
|
+ Idrss int64
|
|
+ Isrss int64
|
|
+ Minflt int64
|
|
+ Majflt int64
|
|
+ Nswap int64
|
|
+ Inblock int64
|
|
+ Oublock int64
|
|
+ Msgsnd int64
|
|
+ Msgrcv int64
|
|
+ Nsignals int64
|
|
+ Nvcsw int64
|
|
+ Nivcsw int64
|
|
+}
|
|
+
|
|
+type Stat_t struct {
|
|
+ Dev uint64
|
|
+ Ino uint64
|
|
+ Mode uint32
|
|
+ Nlink uint32
|
|
+ Uid uint32
|
|
+ Gid uint32
|
|
+ Rdev uint64
|
|
+ _ uint64
|
|
+ Size int64
|
|
+ Blksize int32
|
|
+ _ int32
|
|
+ Blocks int64
|
|
+ Atim Timespec
|
|
+ Mtim Timespec
|
|
+ Ctim Timespec
|
|
+ _ [2]int32
|
|
+}
|
|
+
|
|
+type Dirent struct {
|
|
+ Ino uint64
|
|
+ Off int64
|
|
+ Reclen uint16
|
|
+ Type uint8
|
|
+ Name [256]int8
|
|
+ _ [5]byte
|
|
+}
|
|
+
|
|
+type Flock_t struct {
|
|
+ Type int16
|
|
+ Whence int16
|
|
+ Start int64
|
|
+ Len int64
|
|
+ Pid int32
|
|
+ _ [4]byte
|
|
+}
|
|
+
|
|
+type DmNameList struct {
|
|
+ Dev uint64
|
|
+ Next uint32
|
|
+ Name [0]byte
|
|
+ _ [4]byte
|
|
+}
|
|
+
|
|
+const (
|
|
+ FADV_DONTNEED = 0x4
|
|
+ FADV_NOREUSE = 0x5
|
|
+)
|
|
+
|
|
+type RawSockaddrNFCLLCP struct {
|
|
+ Sa_family uint16
|
|
+ Dev_idx uint32
|
|
+ Target_idx uint32
|
|
+ Nfc_protocol uint32
|
|
+ Dsap uint8
|
|
+ Ssap uint8
|
|
+ Service_name [63]uint8
|
|
+ Service_name_len uint64
|
|
+}
|
|
+
|
|
+type RawSockaddr struct {
|
|
+ Family uint16
|
|
+ Data [14]int8
|
|
+}
|
|
+
|
|
+type RawSockaddrAny struct {
|
|
+ Addr RawSockaddr
|
|
+ Pad [96]int8
|
|
+}
|
|
+
|
|
+type Iovec struct {
|
|
+ Base *byte
|
|
+ Len uint64
|
|
+}
|
|
+
|
|
+type Msghdr struct {
|
|
+ Name *byte
|
|
+ Namelen uint32
|
|
+ Iov *Iovec
|
|
+ Iovlen uint64
|
|
+ Control *byte
|
|
+ Controllen uint64
|
|
+ Flags int32
|
|
+ _ [4]byte
|
|
+}
|
|
+
|
|
+type Cmsghdr struct {
|
|
+ Len uint64
|
|
+ Level int32
|
|
+ Type int32
|
|
+}
|
|
+
|
|
+type ifreq struct {
|
|
+ Ifrn [16]byte
|
|
+ Ifru [24]byte
|
|
+}
|
|
+
|
|
+const (
|
|
+ SizeofSockaddrNFCLLCP = 0x60
|
|
+ SizeofIovec = 0x10
|
|
+ SizeofMsghdr = 0x38
|
|
+ SizeofCmsghdr = 0x10
|
|
+)
|
|
+
|
|
+const (
|
|
+ SizeofSockFprog = 0x10
|
|
+)
|
|
+
|
|
+type PtraceRegs struct {
|
|
+ Regs [32]uint64
|
|
+ Orig_a0 uint64
|
|
+ Era uint64
|
|
+ Badv uint64
|
|
+ Reserved [10]uint64
|
|
+}
|
|
+
|
|
+type FdSet struct {
|
|
+ Bits [16]int64
|
|
+}
|
|
+
|
|
+type Sysinfo_t struct {
|
|
+ Uptime int64
|
|
+ Loads [3]uint64
|
|
+ Totalram uint64
|
|
+ Freeram uint64
|
|
+ Sharedram uint64
|
|
+ Bufferram uint64
|
|
+ Totalswap uint64
|
|
+ Freeswap uint64
|
|
+ Procs uint16
|
|
+ Pad uint16
|
|
+ Totalhigh uint64
|
|
+ Freehigh uint64
|
|
+ Unit uint32
|
|
+ _ [0]int8
|
|
+ _ [4]byte
|
|
+}
|
|
+
|
|
+type Ustat_t struct {
|
|
+ Tfree int32
|
|
+ Tinode uint64
|
|
+ Fname [6]int8
|
|
+ Fpack [6]int8
|
|
+ _ [4]byte
|
|
+}
|
|
+
|
|
+type EpollEvent struct {
|
|
+ Events uint32
|
|
+ _ int32
|
|
+ Fd int32
|
|
+ Pad int32
|
|
+}
|
|
+
|
|
+const (
|
|
+ OPEN_TREE_CLOEXEC = 0x80000
|
|
+)
|
|
+
|
|
+const (
|
|
+ POLLRDHUP = 0x2000
|
|
+)
|
|
+
|
|
+type Sigset_t struct {
|
|
+ Val [16]uint64
|
|
+}
|
|
+
|
|
+const _C__NSIG = 0x41
|
|
+
|
|
+type Siginfo struct {
|
|
+ Signo int32
|
|
+ Errno int32
|
|
+ Code int32
|
|
+ _ int32
|
|
+ _ [112]byte
|
|
+}
|
|
+
|
|
+type Termios struct {
|
|
+ Iflag uint32
|
|
+ Oflag uint32
|
|
+ Cflag uint32
|
|
+ Lflag uint32
|
|
+ Line uint8
|
|
+ Cc [19]uint8
|
|
+ Ispeed uint32
|
|
+ Ospeed uint32
|
|
+}
|
|
+
|
|
+type Taskstats struct {
|
|
+ Version uint16
|
|
+ Ac_exitcode uint32
|
|
+ Ac_flag uint8
|
|
+ Ac_nice uint8
|
|
+ Cpu_count uint64
|
|
+ Cpu_delay_total uint64
|
|
+ Blkio_count uint64
|
|
+ Blkio_delay_total uint64
|
|
+ Swapin_count uint64
|
|
+ Swapin_delay_total uint64
|
|
+ Cpu_run_real_total uint64
|
|
+ Cpu_run_virtual_total uint64
|
|
+ Ac_comm [32]int8
|
|
+ Ac_sched uint8
|
|
+ Ac_pad [3]uint8
|
|
+ _ [4]byte
|
|
+ Ac_uid uint32
|
|
+ Ac_gid uint32
|
|
+ Ac_pid uint32
|
|
+ Ac_ppid uint32
|
|
+ Ac_btime uint32
|
|
+ Ac_etime uint64
|
|
+ Ac_utime uint64
|
|
+ Ac_stime uint64
|
|
+ Ac_minflt uint64
|
|
+ Ac_majflt uint64
|
|
+ Coremem uint64
|
|
+ Virtmem uint64
|
|
+ Hiwater_rss uint64
|
|
+ Hiwater_vm uint64
|
|
+ Read_char uint64
|
|
+ Write_char uint64
|
|
+ Read_syscalls uint64
|
|
+ Write_syscalls uint64
|
|
+ Read_bytes uint64
|
|
+ Write_bytes uint64
|
|
+ Cancelled_write_bytes uint64
|
|
+ Nvcsw uint64
|
|
+ Nivcsw uint64
|
|
+ Ac_utimescaled uint64
|
|
+ Ac_stimescaled uint64
|
|
+ Cpu_scaled_run_real_total uint64
|
|
+ Freepages_count uint64
|
|
+ Freepages_delay_total uint64
|
|
+ Thrashing_count uint64
|
|
+ Thrashing_delay_total uint64
|
|
+ Ac_btime64 uint64
|
|
+ Compact_count uint64
|
|
+ Compact_delay_total uint64
|
|
+ Ac_tgid uint32
|
|
+ Ac_tgetime uint64
|
|
+ Ac_exe_dev uint64
|
|
+ Ac_exe_inode uint64
|
|
+ Wpcopy_count uint64
|
|
+ Wpcopy_delay_total uint64
|
|
+}
|
|
+
|
|
+type cpuMask uint64
|
|
+
|
|
+const (
|
|
+ _NCPUBITS = 0x40
|
|
+)
|
|
+
|
|
+const (
|
|
+ CBitFieldMaskBit0 = 0x1
|
|
+ CBitFieldMaskBit1 = 0x2
|
|
+ CBitFieldMaskBit2 = 0x4
|
|
+ CBitFieldMaskBit3 = 0x8
|
|
+ CBitFieldMaskBit4 = 0x10
|
|
+ CBitFieldMaskBit5 = 0x20
|
|
+ CBitFieldMaskBit6 = 0x40
|
|
+ CBitFieldMaskBit7 = 0x80
|
|
+ CBitFieldMaskBit8 = 0x100
|
|
+ CBitFieldMaskBit9 = 0x200
|
|
+ CBitFieldMaskBit10 = 0x400
|
|
+ CBitFieldMaskBit11 = 0x800
|
|
+ CBitFieldMaskBit12 = 0x1000
|
|
+ CBitFieldMaskBit13 = 0x2000
|
|
+ CBitFieldMaskBit14 = 0x4000
|
|
+ CBitFieldMaskBit15 = 0x8000
|
|
+ CBitFieldMaskBit16 = 0x10000
|
|
+ CBitFieldMaskBit17 = 0x20000
|
|
+ CBitFieldMaskBit18 = 0x40000
|
|
+ CBitFieldMaskBit19 = 0x80000
|
|
+ CBitFieldMaskBit20 = 0x100000
|
|
+ CBitFieldMaskBit21 = 0x200000
|
|
+ CBitFieldMaskBit22 = 0x400000
|
|
+ CBitFieldMaskBit23 = 0x800000
|
|
+ CBitFieldMaskBit24 = 0x1000000
|
|
+ CBitFieldMaskBit25 = 0x2000000
|
|
+ CBitFieldMaskBit26 = 0x4000000
|
|
+ CBitFieldMaskBit27 = 0x8000000
|
|
+ CBitFieldMaskBit28 = 0x10000000
|
|
+ CBitFieldMaskBit29 = 0x20000000
|
|
+ CBitFieldMaskBit30 = 0x40000000
|
|
+ CBitFieldMaskBit31 = 0x80000000
|
|
+ CBitFieldMaskBit32 = 0x100000000
|
|
+ CBitFieldMaskBit33 = 0x200000000
|
|
+ CBitFieldMaskBit34 = 0x400000000
|
|
+ CBitFieldMaskBit35 = 0x800000000
|
|
+ CBitFieldMaskBit36 = 0x1000000000
|
|
+ CBitFieldMaskBit37 = 0x2000000000
|
|
+ CBitFieldMaskBit38 = 0x4000000000
|
|
+ CBitFieldMaskBit39 = 0x8000000000
|
|
+ CBitFieldMaskBit40 = 0x10000000000
|
|
+ CBitFieldMaskBit41 = 0x20000000000
|
|
+ CBitFieldMaskBit42 = 0x40000000000
|
|
+ CBitFieldMaskBit43 = 0x80000000000
|
|
+ CBitFieldMaskBit44 = 0x100000000000
|
|
+ CBitFieldMaskBit45 = 0x200000000000
|
|
+ CBitFieldMaskBit46 = 0x400000000000
|
|
+ CBitFieldMaskBit47 = 0x800000000000
|
|
+ CBitFieldMaskBit48 = 0x1000000000000
|
|
+ CBitFieldMaskBit49 = 0x2000000000000
|
|
+ CBitFieldMaskBit50 = 0x4000000000000
|
|
+ CBitFieldMaskBit51 = 0x8000000000000
|
|
+ CBitFieldMaskBit52 = 0x10000000000000
|
|
+ CBitFieldMaskBit53 = 0x20000000000000
|
|
+ CBitFieldMaskBit54 = 0x40000000000000
|
|
+ CBitFieldMaskBit55 = 0x80000000000000
|
|
+ CBitFieldMaskBit56 = 0x100000000000000
|
|
+ CBitFieldMaskBit57 = 0x200000000000000
|
|
+ CBitFieldMaskBit58 = 0x400000000000000
|
|
+ CBitFieldMaskBit59 = 0x800000000000000
|
|
+ CBitFieldMaskBit60 = 0x1000000000000000
|
|
+ CBitFieldMaskBit61 = 0x2000000000000000
|
|
+ CBitFieldMaskBit62 = 0x4000000000000000
|
|
+ CBitFieldMaskBit63 = 0x8000000000000000
|
|
+)
|
|
+
|
|
+type SockaddrStorage struct {
|
|
+ Family uint16
|
|
+ _ [118]int8
|
|
+ _ uint64
|
|
+}
|
|
+
|
|
+type HDGeometry struct {
|
|
+ Heads uint8
|
|
+ Sectors uint8
|
|
+ Cylinders uint16
|
|
+ Start uint64
|
|
+}
|
|
+
|
|
+type Statfs_t struct {
|
|
+ Type int64
|
|
+ Bsize int64
|
|
+ Blocks uint64
|
|
+ Bfree uint64
|
|
+ Bavail uint64
|
|
+ Files uint64
|
|
+ Ffree uint64
|
|
+ Fsid Fsid
|
|
+ Namelen int64
|
|
+ Frsize int64
|
|
+ Flags int64
|
|
+ Spare [4]int64
|
|
+}
|
|
+
|
|
+type TpacketHdr struct {
|
|
+ Status uint64
|
|
+ Len uint32
|
|
+ Snaplen uint32
|
|
+ Mac uint16
|
|
+ Net uint16
|
|
+ Sec uint32
|
|
+ Usec uint32
|
|
+ _ [4]byte
|
|
+}
|
|
+
|
|
+const (
|
|
+ SizeofTpacketHdr = 0x20
|
|
+)
|
|
+
|
|
+type RTCPLLInfo struct {
|
|
+ Ctrl int32
|
|
+ Value int32
|
|
+ Max int32
|
|
+ Min int32
|
|
+ Posmult int32
|
|
+ Negmult int32
|
|
+ Clock int64
|
|
+}
|
|
+
|
|
+type BlkpgPartition struct {
|
|
+ Start int64
|
|
+ Length int64
|
|
+ Pno int32
|
|
+ Devname [64]uint8
|
|
+ Volname [64]uint8
|
|
+ _ [4]byte
|
|
+}
|
|
+
|
|
+const (
|
|
+ BLKPG = 0x1269
|
|
+)
|
|
+
|
|
+type XDPUmemReg struct {
|
|
+ Addr uint64
|
|
+ Len uint64
|
|
+ Size uint32
|
|
+ Headroom uint32
|
|
+ Flags uint32
|
|
+ _ [4]byte
|
|
+}
|
|
+
|
|
+type CryptoUserAlg struct {
|
|
+ Name [64]int8
|
|
+ Driver_name [64]int8
|
|
+ Module_name [64]int8
|
|
+ Type uint32
|
|
+ Mask uint32
|
|
+ Refcnt uint32
|
|
+ Flags uint32
|
|
+}
|
|
+
|
|
+type CryptoStatAEAD struct {
|
|
+ Type [64]int8
|
|
+ Encrypt_cnt uint64
|
|
+ Encrypt_tlen uint64
|
|
+ Decrypt_cnt uint64
|
|
+ Decrypt_tlen uint64
|
|
+ Err_cnt uint64
|
|
+}
|
|
+
|
|
+type CryptoStatAKCipher struct {
|
|
+ Type [64]int8
|
|
+ Encrypt_cnt uint64
|
|
+ Encrypt_tlen uint64
|
|
+ Decrypt_cnt uint64
|
|
+ Decrypt_tlen uint64
|
|
+ Verify_cnt uint64
|
|
+ Sign_cnt uint64
|
|
+ Err_cnt uint64
|
|
+}
|
|
+
|
|
+type CryptoStatCipher struct {
|
|
+ Type [64]int8
|
|
+ Encrypt_cnt uint64
|
|
+ Encrypt_tlen uint64
|
|
+ Decrypt_cnt uint64
|
|
+ Decrypt_tlen uint64
|
|
+ Err_cnt uint64
|
|
+}
|
|
+
|
|
+type CryptoStatCompress struct {
|
|
+ Type [64]int8
|
|
+ Compress_cnt uint64
|
|
+ Compress_tlen uint64
|
|
+ Decompress_cnt uint64
|
|
+ Decompress_tlen uint64
|
|
+ Err_cnt uint64
|
|
+}
|
|
+
|
|
+type CryptoStatHash struct {
|
|
+ Type [64]int8
|
|
+ Hash_cnt uint64
|
|
+ Hash_tlen uint64
|
|
+ Err_cnt uint64
|
|
+}
|
|
+
|
|
+type CryptoStatKPP struct {
|
|
+ Type [64]int8
|
|
+ Setsecret_cnt uint64
|
|
+ Generate_public_key_cnt uint64
|
|
+ Compute_shared_secret_cnt uint64
|
|
+ Err_cnt uint64
|
|
+}
|
|
+
|
|
+type CryptoStatRNG struct {
|
|
+ Type [64]int8
|
|
+ Generate_cnt uint64
|
|
+ Generate_tlen uint64
|
|
+ Seed_cnt uint64
|
|
+ Err_cnt uint64
|
|
+}
|
|
+
|
|
+type CryptoStatLarval struct {
|
|
+ Type [64]int8
|
|
+}
|
|
+
|
|
+type CryptoReportLarval struct {
|
|
+ Type [64]int8
|
|
+}
|
|
+
|
|
+type CryptoReportHash struct {
|
|
+ Type [64]int8
|
|
+ Blocksize uint32
|
|
+ Digestsize uint32
|
|
+}
|
|
+
|
|
+type CryptoReportCipher struct {
|
|
+ Type [64]int8
|
|
+ Blocksize uint32
|
|
+ Min_keysize uint32
|
|
+ Max_keysize uint32
|
|
+}
|
|
+
|
|
+type CryptoReportBlkCipher struct {
|
|
+ Type [64]int8
|
|
+ Geniv [64]int8
|
|
+ Blocksize uint32
|
|
+ Min_keysize uint32
|
|
+ Max_keysize uint32
|
|
+ Ivsize uint32
|
|
+}
|
|
+
|
|
+type CryptoReportAEAD struct {
|
|
+ Type [64]int8
|
|
+ Geniv [64]int8
|
|
+ Blocksize uint32
|
|
+ Maxauthsize uint32
|
|
+ Ivsize uint32
|
|
+}
|
|
+
|
|
+type CryptoReportComp struct {
|
|
+ Type [64]int8
|
|
+}
|
|
+
|
|
+type CryptoReportRNG struct {
|
|
+ Type [64]int8
|
|
+ Seedsize uint32
|
|
+}
|
|
+
|
|
+type CryptoReportAKCipher struct {
|
|
+ Type [64]int8
|
|
+}
|
|
+
|
|
+type CryptoReportKPP struct {
|
|
+ Type [64]int8
|
|
+}
|
|
+
|
|
+type CryptoReportAcomp struct {
|
|
+ Type [64]int8
|
|
+}
|
|
+
|
|
+type LoopInfo struct {
|
|
+ Number int32
|
|
+ Device uint32
|
|
+ Inode uint64
|
|
+ Rdevice uint32
|
|
+ Offset int32
|
|
+ Encrypt_type int32
|
|
+ Encrypt_key_size int32
|
|
+ Flags int32
|
|
+ Name [64]int8
|
|
+ Encrypt_key [32]uint8
|
|
+ Init [2]uint64
|
|
+ Reserved [4]int8
|
|
+ _ [4]byte
|
|
+}
|
|
+
|
|
+type TIPCSubscr struct {
|
|
+ Seq TIPCServiceRange
|
|
+ Timeout uint32
|
|
+ Filter uint32
|
|
+ Handle [8]int8
|
|
+}
|
|
+
|
|
+type TIPCSIOCLNReq struct {
|
|
+ Peer uint32
|
|
+ Id uint32
|
|
+ Linkname [68]int8
|
|
+}
|
|
+
|
|
+type TIPCSIOCNodeIDReq struct {
|
|
+ Peer uint32
|
|
+ Id [16]int8
|
|
+}
|
|
+
|
|
+type PPSKInfo struct {
|
|
+ Assert_sequence uint32
|
|
+ Clear_sequence uint32
|
|
+ Assert_tu PPSKTime
|
|
+ Clear_tu PPSKTime
|
|
+ Current_mode int32
|
|
+ _ [4]byte
|
|
+}
|
|
+
|
|
+const (
|
|
+ PPS_GETPARAMS = 0x800870a1
|
|
+ PPS_SETPARAMS = 0x400870a2
|
|
+ PPS_GETCAP = 0x800870a3
|
|
+ PPS_FETCH = 0xc00870a4
|
|
+)
|
|
+
|
|
+const (
|
|
+ PIDFD_NONBLOCK = 0x800
|
|
+)
|
|
+
|
|
+type SysvIpcPerm struct {
|
|
+ Key int32
|
|
+ Uid uint32
|
|
+ Gid uint32
|
|
+ Cuid uint32
|
|
+ Cgid uint32
|
|
+ Mode uint32
|
|
+ _ [0]uint8
|
|
+ Seq uint16
|
|
+ _ uint16
|
|
+ _ uint64
|
|
+ _ uint64
|
|
+}
|
|
+type SysvShmDesc struct {
|
|
+ Perm SysvIpcPerm
|
|
+ Segsz uint64
|
|
+ Atime int64
|
|
+ Dtime int64
|
|
+ Ctime int64
|
|
+ Cpid int32
|
|
+ Lpid int32
|
|
+ Nattch uint64
|
|
+ _ uint64
|
|
+ _ uint64
|
|
+}
|
|
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go b/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go
|
|
index 3eb33e4..3691299 100644
|
|
--- a/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go
|
|
+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go
|
|
@@ -1,4 +1,4 @@
|
|
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/linux/types.go | go run mkpost.go
|
|
+// cgo -godefs -objdir=/tmp/mips/cgo -- -Wall -Werror -static -I/tmp/mips/include linux/types.go | go run mkpost.go
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build mips && linux
|
|
@@ -236,6 +236,10 @@ type EpollEvent struct {
|
|
Pad int32
|
|
}
|
|
|
|
+const (
|
|
+ OPEN_TREE_CLOEXEC = 0x80000
|
|
+)
|
|
+
|
|
const (
|
|
POLLRDHUP = 0x2000
|
|
)
|
|
@@ -246,6 +250,13 @@ type Sigset_t struct {
|
|
|
|
const _C__NSIG = 0x80
|
|
|
|
+type Siginfo struct {
|
|
+ Signo int32
|
|
+ Code int32
|
|
+ Errno int32
|
|
+ _ [116]byte
|
|
+}
|
|
+
|
|
type Termios struct {
|
|
Iflag uint32
|
|
Oflag uint32
|
|
@@ -307,6 +318,15 @@ type Taskstats struct {
|
|
Thrashing_count uint64
|
|
Thrashing_delay_total uint64
|
|
Ac_btime64 uint64
|
|
+ Compact_count uint64
|
|
+ Compact_delay_total uint64
|
|
+ Ac_tgid uint32
|
|
+ _ [4]byte
|
|
+ Ac_tgetime uint64
|
|
+ Ac_exe_dev uint64
|
|
+ Ac_exe_inode uint64
|
|
+ Wpcopy_count uint64
|
|
+ Wpcopy_delay_total uint64
|
|
}
|
|
|
|
type cpuMask uint32
|
|
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go
|
|
index 79a9446..7473468 100644
|
|
--- a/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go
|
|
@@ -1,4 +1,4 @@
|
|
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/linux/types.go | go run mkpost.go
|
|
+// cgo -godefs -objdir=/tmp/mips64/cgo -- -Wall -Werror -static -I/tmp/mips64/include linux/types.go | go run mkpost.go
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build mips64 && linux
|
|
@@ -237,6 +237,10 @@ type EpollEvent struct {
|
|
Pad int32
|
|
}
|
|
|
|
+const (
|
|
+ OPEN_TREE_CLOEXEC = 0x80000
|
|
+)
|
|
+
|
|
const (
|
|
POLLRDHUP = 0x2000
|
|
)
|
|
@@ -247,6 +251,14 @@ type Sigset_t struct {
|
|
|
|
const _C__NSIG = 0x80
|
|
|
|
+type Siginfo struct {
|
|
+ Signo int32
|
|
+ Code int32
|
|
+ Errno int32
|
|
+ _ int32
|
|
+ _ [112]byte
|
|
+}
|
|
+
|
|
type Termios struct {
|
|
Iflag uint32
|
|
Oflag uint32
|
|
@@ -306,6 +318,14 @@ type Taskstats struct {
|
|
Thrashing_count uint64
|
|
Thrashing_delay_total uint64
|
|
Ac_btime64 uint64
|
|
+ Compact_count uint64
|
|
+ Compact_delay_total uint64
|
|
+ Ac_tgid uint32
|
|
+ Ac_tgetime uint64
|
|
+ Ac_exe_dev uint64
|
|
+ Ac_exe_inode uint64
|
|
+ Wpcopy_count uint64
|
|
+ Wpcopy_delay_total uint64
|
|
}
|
|
|
|
type cpuMask uint64
|
|
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go b/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go
|
|
index 8f4b107..ed94485 100644
|
|
--- a/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go
|
|
+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go
|
|
@@ -1,4 +1,4 @@
|
|
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/linux/types.go | go run mkpost.go
|
|
+// cgo -godefs -objdir=/tmp/mips64le/cgo -- -Wall -Werror -static -I/tmp/mips64le/include linux/types.go | go run mkpost.go
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build mips64le && linux
|
|
@@ -237,6 +237,10 @@ type EpollEvent struct {
|
|
Pad int32
|
|
}
|
|
|
|
+const (
|
|
+ OPEN_TREE_CLOEXEC = 0x80000
|
|
+)
|
|
+
|
|
const (
|
|
POLLRDHUP = 0x2000
|
|
)
|
|
@@ -247,6 +251,14 @@ type Sigset_t struct {
|
|
|
|
const _C__NSIG = 0x80
|
|
|
|
+type Siginfo struct {
|
|
+ Signo int32
|
|
+ Code int32
|
|
+ Errno int32
|
|
+ _ int32
|
|
+ _ [112]byte
|
|
+}
|
|
+
|
|
type Termios struct {
|
|
Iflag uint32
|
|
Oflag uint32
|
|
@@ -306,6 +318,14 @@ type Taskstats struct {
|
|
Thrashing_count uint64
|
|
Thrashing_delay_total uint64
|
|
Ac_btime64 uint64
|
|
+ Compact_count uint64
|
|
+ Compact_delay_total uint64
|
|
+ Ac_tgid uint32
|
|
+ Ac_tgetime uint64
|
|
+ Ac_exe_dev uint64
|
|
+ Ac_exe_inode uint64
|
|
+ Wpcopy_count uint64
|
|
+ Wpcopy_delay_total uint64
|
|
}
|
|
|
|
type cpuMask uint64
|
|
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go b/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go
|
|
index e4eb217..0892a73 100644
|
|
--- a/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go
|
|
+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go
|
|
@@ -1,4 +1,4 @@
|
|
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/linux/types.go | go run mkpost.go
|
|
+// cgo -godefs -objdir=/tmp/mipsle/cgo -- -Wall -Werror -static -I/tmp/mipsle/include linux/types.go | go run mkpost.go
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build mipsle && linux
|
|
@@ -236,6 +236,10 @@ type EpollEvent struct {
|
|
Pad int32
|
|
}
|
|
|
|
+const (
|
|
+ OPEN_TREE_CLOEXEC = 0x80000
|
|
+)
|
|
+
|
|
const (
|
|
POLLRDHUP = 0x2000
|
|
)
|
|
@@ -246,6 +250,13 @@ type Sigset_t struct {
|
|
|
|
const _C__NSIG = 0x80
|
|
|
|
+type Siginfo struct {
|
|
+ Signo int32
|
|
+ Code int32
|
|
+ Errno int32
|
|
+ _ [116]byte
|
|
+}
|
|
+
|
|
type Termios struct {
|
|
Iflag uint32
|
|
Oflag uint32
|
|
@@ -307,6 +318,15 @@ type Taskstats struct {
|
|
Thrashing_count uint64
|
|
Thrashing_delay_total uint64
|
|
Ac_btime64 uint64
|
|
+ Compact_count uint64
|
|
+ Compact_delay_total uint64
|
|
+ Ac_tgid uint32
|
|
+ _ [4]byte
|
|
+ Ac_tgetime uint64
|
|
+ Ac_exe_dev uint64
|
|
+ Ac_exe_inode uint64
|
|
+ Wpcopy_count uint64
|
|
+ Wpcopy_delay_total uint64
|
|
}
|
|
|
|
type cpuMask uint32
|
|
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go b/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go
|
|
index d5b21f0..e1dd483 100644
|
|
--- a/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go
|
|
+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go
|
|
@@ -1,4 +1,4 @@
|
|
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/linux/types.go | go run mkpost.go
|
|
+// cgo -godefs -objdir=/tmp/ppc/cgo -- -Wall -Werror -static -I/tmp/ppc/include linux/types.go | go run mkpost.go
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build ppc && linux
|
|
@@ -243,6 +243,10 @@ type EpollEvent struct {
|
|
Pad int32
|
|
}
|
|
|
|
+const (
|
|
+ OPEN_TREE_CLOEXEC = 0x80000
|
|
+)
|
|
+
|
|
const (
|
|
POLLRDHUP = 0x2000
|
|
)
|
|
@@ -253,6 +257,13 @@ type Sigset_t struct {
|
|
|
|
const _C__NSIG = 0x41
|
|
|
|
+type Siginfo struct {
|
|
+ Signo int32
|
|
+ Errno int32
|
|
+ Code int32
|
|
+ _ [116]byte
|
|
+}
|
|
+
|
|
type Termios struct {
|
|
Iflag uint32
|
|
Oflag uint32
|
|
@@ -314,6 +325,15 @@ type Taskstats struct {
|
|
Thrashing_count uint64
|
|
Thrashing_delay_total uint64
|
|
Ac_btime64 uint64
|
|
+ Compact_count uint64
|
|
+ Compact_delay_total uint64
|
|
+ Ac_tgid uint32
|
|
+ _ [4]byte
|
|
+ Ac_tgetime uint64
|
|
+ Ac_exe_dev uint64
|
|
+ Ac_exe_inode uint64
|
|
+ Wpcopy_count uint64
|
|
+ Wpcopy_delay_total uint64
|
|
}
|
|
|
|
type cpuMask uint32
|
|
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go
|
|
index 5188d14..d9f654c 100644
|
|
--- a/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go
|
|
@@ -1,4 +1,4 @@
|
|
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/linux/types.go | go run mkpost.go
|
|
+// cgo -godefs -objdir=/tmp/ppc64/cgo -- -Wall -Werror -static -I/tmp/ppc64/include linux/types.go | go run mkpost.go
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build ppc64 && linux
|
|
@@ -244,6 +244,10 @@ type EpollEvent struct {
|
|
Pad int32
|
|
}
|
|
|
|
+const (
|
|
+ OPEN_TREE_CLOEXEC = 0x80000
|
|
+)
|
|
+
|
|
const (
|
|
POLLRDHUP = 0x2000
|
|
)
|
|
@@ -254,6 +258,14 @@ type Sigset_t struct {
|
|
|
|
const _C__NSIG = 0x41
|
|
|
|
+type Siginfo struct {
|
|
+ Signo int32
|
|
+ Errno int32
|
|
+ Code int32
|
|
+ _ int32
|
|
+ _ [112]byte
|
|
+}
|
|
+
|
|
type Termios struct {
|
|
Iflag uint32
|
|
Oflag uint32
|
|
@@ -313,6 +325,14 @@ type Taskstats struct {
|
|
Thrashing_count uint64
|
|
Thrashing_delay_total uint64
|
|
Ac_btime64 uint64
|
|
+ Compact_count uint64
|
|
+ Compact_delay_total uint64
|
|
+ Ac_tgid uint32
|
|
+ Ac_tgetime uint64
|
|
+ Ac_exe_dev uint64
|
|
+ Ac_exe_inode uint64
|
|
+ Wpcopy_count uint64
|
|
+ Wpcopy_delay_total uint64
|
|
}
|
|
|
|
type cpuMask uint64
|
|
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go b/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go
|
|
index de4dd4c..74acda9 100644
|
|
--- a/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go
|
|
+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go
|
|
@@ -1,4 +1,4 @@
|
|
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/linux/types.go | go run mkpost.go
|
|
+// cgo -godefs -objdir=/tmp/ppc64le/cgo -- -Wall -Werror -static -I/tmp/ppc64le/include linux/types.go | go run mkpost.go
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build ppc64le && linux
|
|
@@ -244,6 +244,10 @@ type EpollEvent struct {
|
|
Pad int32
|
|
}
|
|
|
|
+const (
|
|
+ OPEN_TREE_CLOEXEC = 0x80000
|
|
+)
|
|
+
|
|
const (
|
|
POLLRDHUP = 0x2000
|
|
)
|
|
@@ -254,6 +258,14 @@ type Sigset_t struct {
|
|
|
|
const _C__NSIG = 0x41
|
|
|
|
+type Siginfo struct {
|
|
+ Signo int32
|
|
+ Errno int32
|
|
+ Code int32
|
|
+ _ int32
|
|
+ _ [112]byte
|
|
+}
|
|
+
|
|
type Termios struct {
|
|
Iflag uint32
|
|
Oflag uint32
|
|
@@ -313,6 +325,14 @@ type Taskstats struct {
|
|
Thrashing_count uint64
|
|
Thrashing_delay_total uint64
|
|
Ac_btime64 uint64
|
|
+ Compact_count uint64
|
|
+ Compact_delay_total uint64
|
|
+ Ac_tgid uint32
|
|
+ Ac_tgetime uint64
|
|
+ Ac_exe_dev uint64
|
|
+ Ac_exe_inode uint64
|
|
+ Wpcopy_count uint64
|
|
+ Wpcopy_delay_total uint64
|
|
}
|
|
|
|
type cpuMask uint64
|
|
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go
|
|
index dccbf9b..50ebe69 100644
|
|
--- a/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go
|
|
@@ -1,4 +1,4 @@
|
|
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/linux/types.go | go run mkpost.go
|
|
+// cgo -godefs -objdir=/tmp/riscv64/cgo -- -Wall -Werror -static -I/tmp/riscv64/include linux/types.go | go run mkpost.go
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build riscv64 && linux
|
|
@@ -262,6 +262,10 @@ type EpollEvent struct {
|
|
Pad int32
|
|
}
|
|
|
|
+const (
|
|
+ OPEN_TREE_CLOEXEC = 0x80000
|
|
+)
|
|
+
|
|
const (
|
|
POLLRDHUP = 0x2000
|
|
)
|
|
@@ -272,6 +276,14 @@ type Sigset_t struct {
|
|
|
|
const _C__NSIG = 0x41
|
|
|
|
+type Siginfo struct {
|
|
+ Signo int32
|
|
+ Errno int32
|
|
+ Code int32
|
|
+ _ int32
|
|
+ _ [112]byte
|
|
+}
|
|
+
|
|
type Termios struct {
|
|
Iflag uint32
|
|
Oflag uint32
|
|
@@ -331,6 +343,14 @@ type Taskstats struct {
|
|
Thrashing_count uint64
|
|
Thrashing_delay_total uint64
|
|
Ac_btime64 uint64
|
|
+ Compact_count uint64
|
|
+ Compact_delay_total uint64
|
|
+ Ac_tgid uint32
|
|
+ Ac_tgetime uint64
|
|
+ Ac_exe_dev uint64
|
|
+ Ac_exe_inode uint64
|
|
+ Wpcopy_count uint64
|
|
+ Wpcopy_delay_total uint64
|
|
}
|
|
|
|
type cpuMask uint64
|
|
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go b/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go
|
|
index 6358806..75b34c2 100644
|
|
--- a/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go
|
|
+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go
|
|
@@ -1,4 +1,4 @@
|
|
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char /build/unix/linux/types.go | go run mkpost.go
|
|
+// cgo -godefs -objdir=/tmp/s390x/cgo -- -Wall -Werror -static -I/tmp/s390x/include -fsigned-char linux/types.go | go run mkpost.go
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build s390x && linux
|
|
@@ -210,8 +210,8 @@ type PtraceFpregs struct {
|
|
}
|
|
|
|
type PtracePer struct {
|
|
- _ [0]uint64
|
|
- _ [32]byte
|
|
+ Control_regs [3]uint64
|
|
+ _ [8]byte
|
|
Starting_addr uint64
|
|
Ending_addr uint64
|
|
Perc_atmid uint16
|
|
@@ -257,6 +257,10 @@ type EpollEvent struct {
|
|
Pad int32
|
|
}
|
|
|
|
+const (
|
|
+ OPEN_TREE_CLOEXEC = 0x80000
|
|
+)
|
|
+
|
|
const (
|
|
POLLRDHUP = 0x2000
|
|
)
|
|
@@ -267,6 +271,14 @@ type Sigset_t struct {
|
|
|
|
const _C__NSIG = 0x41
|
|
|
|
+type Siginfo struct {
|
|
+ Signo int32
|
|
+ Errno int32
|
|
+ Code int32
|
|
+ _ int32
|
|
+ _ [112]byte
|
|
+}
|
|
+
|
|
type Termios struct {
|
|
Iflag uint32
|
|
Oflag uint32
|
|
@@ -326,6 +338,14 @@ type Taskstats struct {
|
|
Thrashing_count uint64
|
|
Thrashing_delay_total uint64
|
|
Ac_btime64 uint64
|
|
+ Compact_count uint64
|
|
+ Compact_delay_total uint64
|
|
+ Ac_tgid uint32
|
|
+ Ac_tgetime uint64
|
|
+ Ac_exe_dev uint64
|
|
+ Ac_exe_inode uint64
|
|
+ Wpcopy_count uint64
|
|
+ Wpcopy_delay_total uint64
|
|
}
|
|
|
|
type cpuMask uint64
|
|
diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go
|
|
index 765edc1..429c3bf 100644
|
|
--- a/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go
|
|
@@ -1,4 +1,4 @@
|
|
-// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/linux/types.go | go run mkpost.go
|
|
+// cgo -godefs -objdir=/tmp/sparc64/cgo -- -Wall -Werror -static -I/tmp/sparc64/include linux/types.go | go run mkpost.go
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build sparc64 && linux
|
|
@@ -239,6 +239,10 @@ type EpollEvent struct {
|
|
Pad int32
|
|
}
|
|
|
|
+const (
|
|
+ OPEN_TREE_CLOEXEC = 0x400000
|
|
+)
|
|
+
|
|
const (
|
|
POLLRDHUP = 0x800
|
|
)
|
|
@@ -249,6 +253,14 @@ type Sigset_t struct {
|
|
|
|
const _C__NSIG = 0x41
|
|
|
|
+type Siginfo struct {
|
|
+ Signo int32
|
|
+ Errno int32
|
|
+ Code int32
|
|
+ _ int32
|
|
+ _ [112]byte
|
|
+}
|
|
+
|
|
type Termios struct {
|
|
Iflag uint32
|
|
Oflag uint32
|
|
@@ -308,6 +320,14 @@ type Taskstats struct {
|
|
Thrashing_count uint64
|
|
Thrashing_delay_total uint64
|
|
Ac_btime64 uint64
|
|
+ Compact_count uint64
|
|
+ Compact_delay_total uint64
|
|
+ Ac_tgid uint32
|
|
+ Ac_tgetime uint64
|
|
+ Ac_exe_dev uint64
|
|
+ Ac_exe_inode uint64
|
|
+ Wpcopy_count uint64
|
|
+ Wpcopy_delay_total uint64
|
|
}
|
|
|
|
type cpuMask uint64
|
|
diff --git a/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go b/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go
|
|
index baf5fe6..2ed718c 100644
|
|
--- a/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go
|
|
+++ b/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go
|
|
@@ -94,10 +94,10 @@ type Statfs_t struct {
|
|
F_namemax uint32
|
|
F_owner uint32
|
|
F_ctime uint64
|
|
- F_fstypename [16]int8
|
|
- F_mntonname [90]int8
|
|
- F_mntfromname [90]int8
|
|
- F_mntfromspec [90]int8
|
|
+ F_fstypename [16]byte
|
|
+ F_mntonname [90]byte
|
|
+ F_mntfromname [90]byte
|
|
+ F_mntfromspec [90]byte
|
|
Pad_cgo_0 [2]byte
|
|
Mount_info [160]byte
|
|
}
|
|
diff --git a/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go
|
|
index e21ae8e..b4fb97e 100644
|
|
--- a/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go
|
|
@@ -96,10 +96,10 @@ type Statfs_t struct {
|
|
F_namemax uint32
|
|
F_owner uint32
|
|
F_ctime uint64
|
|
- F_fstypename [16]int8
|
|
- F_mntonname [90]int8
|
|
- F_mntfromname [90]int8
|
|
- F_mntfromspec [90]int8
|
|
+ F_fstypename [16]byte
|
|
+ F_mntonname [90]byte
|
|
+ F_mntfromname [90]byte
|
|
+ F_mntfromspec [90]byte
|
|
_ [2]byte
|
|
Mount_info [160]byte
|
|
}
|
|
diff --git a/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go b/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go
|
|
index f190651..2c46750 100644
|
|
--- a/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go
|
|
+++ b/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go
|
|
@@ -98,10 +98,10 @@ type Statfs_t struct {
|
|
F_namemax uint32
|
|
F_owner uint32
|
|
F_ctime uint64
|
|
- F_fstypename [16]int8
|
|
- F_mntonname [90]int8
|
|
- F_mntfromname [90]int8
|
|
- F_mntfromspec [90]int8
|
|
+ F_fstypename [16]byte
|
|
+ F_mntonname [90]byte
|
|
+ F_mntfromname [90]byte
|
|
+ F_mntfromspec [90]byte
|
|
_ [2]byte
|
|
Mount_info [160]byte
|
|
}
|
|
diff --git a/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go b/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go
|
|
index 84747c5..ddee045 100644
|
|
--- a/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go
|
|
@@ -94,10 +94,10 @@ type Statfs_t struct {
|
|
F_namemax uint32
|
|
F_owner uint32
|
|
F_ctime uint64
|
|
- F_fstypename [16]int8
|
|
- F_mntonname [90]int8
|
|
- F_mntfromname [90]int8
|
|
- F_mntfromspec [90]int8
|
|
+ F_fstypename [16]byte
|
|
+ F_mntonname [90]byte
|
|
+ F_mntfromname [90]byte
|
|
+ F_mntfromspec [90]byte
|
|
_ [2]byte
|
|
Mount_info [160]byte
|
|
}
|
|
diff --git a/vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.go b/vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.go
|
|
index ac5c8b6..eb13d4e 100644
|
|
--- a/vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.go
|
|
@@ -94,10 +94,10 @@ type Statfs_t struct {
|
|
F_namemax uint32
|
|
F_owner uint32
|
|
F_ctime uint64
|
|
- F_fstypename [16]int8
|
|
- F_mntonname [90]int8
|
|
- F_mntfromname [90]int8
|
|
- F_mntfromspec [90]int8
|
|
+ F_fstypename [16]byte
|
|
+ F_mntonname [90]byte
|
|
+ F_mntfromname [90]byte
|
|
+ F_mntfromspec [90]byte
|
|
_ [2]byte
|
|
Mount_info [160]byte
|
|
}
|
|
diff --git a/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go
|
|
index ad4aad2..c1a9b83 100644
|
|
--- a/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go
|
|
+++ b/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go
|
|
@@ -178,7 +178,7 @@ type Linger struct {
|
|
}
|
|
|
|
type Iovec struct {
|
|
- Base *int8
|
|
+ Base *byte
|
|
Len uint64
|
|
}
|
|
|
|
diff --git a/vendor/golang.org/x/sys/windows/exec_windows.go b/vendor/golang.org/x/sys/windows/exec_windows.go
|
|
index 7a11e83..75980fd 100644
|
|
--- a/vendor/golang.org/x/sys/windows/exec_windows.go
|
|
+++ b/vendor/golang.org/x/sys/windows/exec_windows.go
|
|
@@ -9,19 +9,17 @@ package windows
|
|
import (
|
|
errorspkg "errors"
|
|
"unsafe"
|
|
-
|
|
- "golang.org/x/sys/internal/unsafeheader"
|
|
)
|
|
|
|
// EscapeArg rewrites command line argument s as prescribed
|
|
// in http://msdn.microsoft.com/en-us/library/ms880421.
|
|
// This function returns "" (2 double quotes) if s is empty.
|
|
// Alternatively, these transformations are done:
|
|
-// - every back slash (\) is doubled, but only if immediately
|
|
-// followed by double quote (");
|
|
-// - every double quote (") is escaped by back slash (\);
|
|
-// - finally, s is wrapped with double quotes (arg -> "arg"),
|
|
-// but only if there is space or tab inside s.
|
|
+// - every back slash (\) is doubled, but only if immediately
|
|
+// followed by double quote (");
|
|
+// - every double quote (") is escaped by back slash (\);
|
|
+// - finally, s is wrapped with double quotes (arg -> "arg"),
|
|
+// but only if there is space or tab inside s.
|
|
func EscapeArg(s string) string {
|
|
if len(s) == 0 {
|
|
return "\"\""
|
|
@@ -147,8 +145,12 @@ func NewProcThreadAttributeList(maxAttrCount uint32) (*ProcThreadAttributeListCo
|
|
}
|
|
return nil, err
|
|
}
|
|
+ alloc, err := LocalAlloc(LMEM_FIXED, uint32(size))
|
|
+ if err != nil {
|
|
+ return nil, err
|
|
+ }
|
|
// size is guaranteed to be ≥1 by InitializeProcThreadAttributeList.
|
|
- al := &ProcThreadAttributeListContainer{data: (*ProcThreadAttributeList)(unsafe.Pointer(&make([]byte, size)[0]))}
|
|
+ al := &ProcThreadAttributeListContainer{data: (*ProcThreadAttributeList)(unsafe.Pointer(alloc))}
|
|
err = initializeProcThreadAttributeList(al.data, maxAttrCount, 0, &size)
|
|
if err != nil {
|
|
return nil, err
|
|
@@ -157,36 +159,17 @@ func NewProcThreadAttributeList(maxAttrCount uint32) (*ProcThreadAttributeListCo
|
|
}
|
|
|
|
// Update modifies the ProcThreadAttributeList using UpdateProcThreadAttribute.
|
|
-// Note that the value passed to this function will be copied into memory
|
|
-// allocated by LocalAlloc, the contents of which should not contain any
|
|
-// Go-managed pointers, even if the passed value itself is a Go-managed
|
|
-// pointer.
|
|
func (al *ProcThreadAttributeListContainer) Update(attribute uintptr, value unsafe.Pointer, size uintptr) error {
|
|
- alloc, err := LocalAlloc(LMEM_FIXED, uint32(size))
|
|
- if err != nil {
|
|
- return err
|
|
- }
|
|
- var src, dst []byte
|
|
- hdr := (*unsafeheader.Slice)(unsafe.Pointer(&src))
|
|
- hdr.Data = value
|
|
- hdr.Cap = int(size)
|
|
- hdr.Len = int(size)
|
|
- hdr = (*unsafeheader.Slice)(unsafe.Pointer(&dst))
|
|
- hdr.Data = unsafe.Pointer(alloc)
|
|
- hdr.Cap = int(size)
|
|
- hdr.Len = int(size)
|
|
- copy(dst, src)
|
|
- al.heapAllocations = append(al.heapAllocations, alloc)
|
|
- return updateProcThreadAttribute(al.data, 0, attribute, unsafe.Pointer(alloc), size, nil, nil)
|
|
+ al.pointers = append(al.pointers, value)
|
|
+ return updateProcThreadAttribute(al.data, 0, attribute, value, size, nil, nil)
|
|
}
|
|
|
|
// Delete frees ProcThreadAttributeList's resources.
|
|
func (al *ProcThreadAttributeListContainer) Delete() {
|
|
deleteProcThreadAttributeList(al.data)
|
|
- for i := range al.heapAllocations {
|
|
- LocalFree(Handle(al.heapAllocations[i]))
|
|
- }
|
|
- al.heapAllocations = nil
|
|
+ LocalFree(Handle(unsafe.Pointer(al.data)))
|
|
+ al.data = nil
|
|
+ al.pointers = nil
|
|
}
|
|
|
|
// List returns the actual ProcThreadAttributeList to be passed to StartupInfoEx.
|
|
diff --git a/vendor/golang.org/x/sys/windows/setupapi_windows.go b/vendor/golang.org/x/sys/windows/setupapi_windows.go
|
|
index 14027da..f812648 100644
|
|
--- a/vendor/golang.org/x/sys/windows/setupapi_windows.go
|
|
+++ b/vendor/golang.org/x/sys/windows/setupapi_windows.go
|
|
@@ -296,7 +296,7 @@ const (
|
|
// Flag to indicate that the sorting from the INF file should be used.
|
|
DI_INF_IS_SORTED DI_FLAGS = 0x00008000
|
|
|
|
- // Flag to indicate that only the the INF specified by SP_DEVINSTALL_PARAMS.DriverPath should be searched.
|
|
+ // Flag to indicate that only the INF specified by SP_DEVINSTALL_PARAMS.DriverPath should be searched.
|
|
DI_ENUMSINGLEINF DI_FLAGS = 0x00010000
|
|
|
|
// Flag that prevents ConfigMgr from removing/re-enumerating devices during device
|
|
diff --git a/vendor/golang.org/x/sys/windows/syscall_windows.go b/vendor/golang.org/x/sys/windows/syscall_windows.go
|
|
index 7702bbb..e279138 100644
|
|
--- a/vendor/golang.org/x/sys/windows/syscall_windows.go
|
|
+++ b/vendor/golang.org/x/sys/windows/syscall_windows.go
|
|
@@ -10,6 +10,7 @@ import (
|
|
errorspkg "errors"
|
|
"fmt"
|
|
"runtime"
|
|
+ "strings"
|
|
"sync"
|
|
"syscall"
|
|
"time"
|
|
@@ -86,10 +87,8 @@ func StringToUTF16(s string) []uint16 {
|
|
// s, with a terminating NUL added. If s contains a NUL byte at any
|
|
// location, it returns (nil, syscall.EINVAL).
|
|
func UTF16FromString(s string) ([]uint16, error) {
|
|
- for i := 0; i < len(s); i++ {
|
|
- if s[i] == 0 {
|
|
- return nil, syscall.EINVAL
|
|
- }
|
|
+ if strings.IndexByte(s, 0) != -1 {
|
|
+ return nil, syscall.EINVAL
|
|
}
|
|
return utf16.Encode([]rune(s + "\x00")), nil
|
|
}
|
|
@@ -186,8 +185,8 @@ func NewCallbackCDecl(fn interface{}) uintptr {
|
|
//sys GetNamedPipeInfo(pipe Handle, flags *uint32, outSize *uint32, inSize *uint32, maxInstances *uint32) (err error)
|
|
//sys GetNamedPipeHandleState(pipe Handle, state *uint32, curInstances *uint32, maxCollectionCount *uint32, collectDataTimeout *uint32, userName *uint16, maxUserNameSize uint32) (err error) = GetNamedPipeHandleStateW
|
|
//sys SetNamedPipeHandleState(pipe Handle, state *uint32, maxCollectionCount *uint32, collectDataTimeout *uint32) (err error) = SetNamedPipeHandleState
|
|
-//sys ReadFile(handle Handle, buf []byte, done *uint32, overlapped *Overlapped) (err error)
|
|
-//sys WriteFile(handle Handle, buf []byte, done *uint32, overlapped *Overlapped) (err error)
|
|
+//sys readFile(handle Handle, buf []byte, done *uint32, overlapped *Overlapped) (err error) = ReadFile
|
|
+//sys writeFile(handle Handle, buf []byte, done *uint32, overlapped *Overlapped) (err error) = WriteFile
|
|
//sys GetOverlappedResult(handle Handle, overlapped *Overlapped, done *uint32, wait bool) (err error)
|
|
//sys SetFilePointer(handle Handle, lowoffset int32, highoffsetptr *int32, whence uint32) (newlowoffset uint32, err error) [failretval==0xffffffff]
|
|
//sys CloseHandle(handle Handle) (err error)
|
|
@@ -323,6 +322,8 @@ func NewCallbackCDecl(fn interface{}) uintptr {
|
|
//sys WriteConsole(console Handle, buf *uint16, towrite uint32, written *uint32, reserved *byte) (err error) = kernel32.WriteConsoleW
|
|
//sys ReadConsole(console Handle, buf *uint16, toread uint32, read *uint32, inputControl *byte) (err error) = kernel32.ReadConsoleW
|
|
//sys CreateToolhelp32Snapshot(flags uint32, processId uint32) (handle Handle, err error) [failretval==InvalidHandle] = kernel32.CreateToolhelp32Snapshot
|
|
+//sys Module32First(snapshot Handle, moduleEntry *ModuleEntry32) (err error) = kernel32.Module32FirstW
|
|
+//sys Module32Next(snapshot Handle, moduleEntry *ModuleEntry32) (err error) = kernel32.Module32NextW
|
|
//sys Process32First(snapshot Handle, procEntry *ProcessEntry32) (err error) = kernel32.Process32FirstW
|
|
//sys Process32Next(snapshot Handle, procEntry *ProcessEntry32) (err error) = kernel32.Process32NextW
|
|
//sys Thread32First(snapshot Handle, threadEntry *ThreadEntry32) (err error)
|
|
@@ -361,6 +362,8 @@ func NewCallbackCDecl(fn interface{}) uintptr {
|
|
//sys SetProcessWorkingSetSizeEx(hProcess Handle, dwMinimumWorkingSetSize uintptr, dwMaximumWorkingSetSize uintptr, flags uint32) (err error)
|
|
//sys GetCommTimeouts(handle Handle, timeouts *CommTimeouts) (err error)
|
|
//sys SetCommTimeouts(handle Handle, timeouts *CommTimeouts) (err error)
|
|
+//sys GetActiveProcessorCount(groupNumber uint16) (ret uint32)
|
|
+//sys GetMaximumProcessorCount(groupNumber uint16) (ret uint32)
|
|
|
|
// Volume Management Functions
|
|
//sys DefineDosDevice(flags uint32, deviceName *uint16, targetPath *uint16) (err error) = DefineDosDeviceW
|
|
@@ -414,6 +417,7 @@ func NewCallbackCDecl(fn interface{}) uintptr {
|
|
//sys GetModuleInformation(process Handle, module Handle, modinfo *ModuleInfo, cb uint32) (err error) = psapi.GetModuleInformation
|
|
//sys GetModuleFileNameEx(process Handle, module Handle, filename *uint16, size uint32) (err error) = psapi.GetModuleFileNameExW
|
|
//sys GetModuleBaseName(process Handle, module Handle, baseName *uint16, size uint32) (err error) = psapi.GetModuleBaseNameW
|
|
+//sys QueryWorkingSetEx(process Handle, pv uintptr, cb uint32) (err error) = psapi.QueryWorkingSetEx
|
|
|
|
// NT Native APIs
|
|
//sys rtlNtStatusToDosErrorNoTeb(ntstatus NTStatus) (ret syscall.Errno) = ntdll.RtlNtStatusToDosErrorNoTeb
|
|
@@ -545,12 +549,6 @@ func Read(fd Handle, p []byte) (n int, err error) {
|
|
}
|
|
return 0, e
|
|
}
|
|
- if raceenabled {
|
|
- if done > 0 {
|
|
- raceWriteRange(unsafe.Pointer(&p[0]), int(done))
|
|
- }
|
|
- raceAcquire(unsafe.Pointer(&ioSync))
|
|
- }
|
|
return int(done), nil
|
|
}
|
|
|
|
@@ -563,12 +561,31 @@ func Write(fd Handle, p []byte) (n int, err error) {
|
|
if e != nil {
|
|
return 0, e
|
|
}
|
|
- if raceenabled && done > 0 {
|
|
- raceReadRange(unsafe.Pointer(&p[0]), int(done))
|
|
- }
|
|
return int(done), nil
|
|
}
|
|
|
|
+func ReadFile(fd Handle, p []byte, done *uint32, overlapped *Overlapped) error {
|
|
+ err := readFile(fd, p, done, overlapped)
|
|
+ if raceenabled {
|
|
+ if *done > 0 {
|
|
+ raceWriteRange(unsafe.Pointer(&p[0]), int(*done))
|
|
+ }
|
|
+ raceAcquire(unsafe.Pointer(&ioSync))
|
|
+ }
|
|
+ return err
|
|
+}
|
|
+
|
|
+func WriteFile(fd Handle, p []byte, done *uint32, overlapped *Overlapped) error {
|
|
+ if raceenabled {
|
|
+ raceReleaseMerge(unsafe.Pointer(&ioSync))
|
|
+ }
|
|
+ err := writeFile(fd, p, done, overlapped)
|
|
+ if raceenabled && *done > 0 {
|
|
+ raceReadRange(unsafe.Pointer(&p[0]), int(*done))
|
|
+ }
|
|
+ return err
|
|
+}
|
|
+
|
|
var ioSync int64
|
|
|
|
func Seek(fd Handle, offset int64, whence int) (newoffset int64, err error) {
|
|
@@ -607,7 +624,6 @@ var (
|
|
|
|
func getStdHandle(stdhandle uint32) (fd Handle) {
|
|
r, _ := GetStdHandle(stdhandle)
|
|
- CloseOnExec(r)
|
|
return r
|
|
}
|
|
|
|
@@ -846,6 +862,7 @@ const socket_error = uintptr(^uint32(0))
|
|
//sys GetAdaptersAddresses(family uint32, flags uint32, reserved uintptr, adapterAddresses *IpAdapterAddresses, sizePointer *uint32) (errcode error) = iphlpapi.GetAdaptersAddresses
|
|
//sys GetACP() (acp uint32) = kernel32.GetACP
|
|
//sys MultiByteToWideChar(codePage uint32, dwFlags uint32, str *byte, nstr int32, wchar *uint16, nwchar int32) (nwrite int32, err error) = kernel32.MultiByteToWideChar
|
|
+//sys getBestInterfaceEx(sockaddr unsafe.Pointer, pdwBestIfIndex *uint32) (errcode error) = iphlpapi.GetBestInterfaceEx
|
|
|
|
// For testing: clients can set this flag to force
|
|
// creation of IPv6 sockets to return EAFNOSUPPORT.
|
|
@@ -955,6 +972,32 @@ func (sa *SockaddrUnix) sockaddr() (unsafe.Pointer, int32, error) {
|
|
return unsafe.Pointer(&sa.raw), sl, nil
|
|
}
|
|
|
|
+type RawSockaddrBth struct {
|
|
+ AddressFamily [2]byte
|
|
+ BtAddr [8]byte
|
|
+ ServiceClassId [16]byte
|
|
+ Port [4]byte
|
|
+}
|
|
+
|
|
+type SockaddrBth struct {
|
|
+ BtAddr uint64
|
|
+ ServiceClassId GUID
|
|
+ Port uint32
|
|
+
|
|
+ raw RawSockaddrBth
|
|
+}
|
|
+
|
|
+func (sa *SockaddrBth) sockaddr() (unsafe.Pointer, int32, error) {
|
|
+ family := AF_BTH
|
|
+ sa.raw = RawSockaddrBth{
|
|
+ AddressFamily: *(*[2]byte)(unsafe.Pointer(&family)),
|
|
+ BtAddr: *(*[8]byte)(unsafe.Pointer(&sa.BtAddr)),
|
|
+ Port: *(*[4]byte)(unsafe.Pointer(&sa.Port)),
|
|
+ ServiceClassId: *(*[16]byte)(unsafe.Pointer(&sa.ServiceClassId)),
|
|
+ }
|
|
+ return unsafe.Pointer(&sa.raw), int32(unsafe.Sizeof(sa.raw)), nil
|
|
+}
|
|
+
|
|
func (rsa *RawSockaddrAny) Sockaddr() (Sockaddr, error) {
|
|
switch rsa.Addr.Family {
|
|
case AF_UNIX:
|
|
@@ -1030,6 +1073,14 @@ func Connect(fd Handle, sa Sockaddr) (err error) {
|
|
return connect(fd, ptr, n)
|
|
}
|
|
|
|
+func GetBestInterfaceEx(sa Sockaddr, pdwBestIfIndex *uint32) (err error) {
|
|
+ ptr, _, err := sa.sockaddr()
|
|
+ if err != nil {
|
|
+ return err
|
|
+ }
|
|
+ return getBestInterfaceEx(ptr, pdwBestIfIndex)
|
|
+}
|
|
+
|
|
func Getsockname(fd Handle) (sa Sockaddr, err error) {
|
|
var rsa RawSockaddrAny
|
|
l := int32(unsafe.Sizeof(rsa))
|
|
@@ -1683,3 +1734,71 @@ func LoadResourceData(module, resInfo Handle) (data []byte, err error) {
|
|
h.Cap = int(size)
|
|
return
|
|
}
|
|
+
|
|
+// PSAPI_WORKING_SET_EX_BLOCK contains extended working set information for a page.
|
|
+type PSAPI_WORKING_SET_EX_BLOCK uint64
|
|
+
|
|
+// Valid returns the validity of this page.
|
|
+// If this bit is 1, the subsequent members are valid; otherwise they should be ignored.
|
|
+func (b PSAPI_WORKING_SET_EX_BLOCK) Valid() bool {
|
|
+ return (b & 1) == 1
|
|
+}
|
|
+
|
|
+// ShareCount is the number of processes that share this page. The maximum value of this member is 7.
|
|
+func (b PSAPI_WORKING_SET_EX_BLOCK) ShareCount() uint64 {
|
|
+ return b.intField(1, 3)
|
|
+}
|
|
+
|
|
+// Win32Protection is the memory protection attributes of the page. For a list of values, see
|
|
+// https://docs.microsoft.com/en-us/windows/win32/memory/memory-protection-constants
|
|
+func (b PSAPI_WORKING_SET_EX_BLOCK) Win32Protection() uint64 {
|
|
+ return b.intField(4, 11)
|
|
+}
|
|
+
|
|
+// Shared returns the shared status of this page.
|
|
+// If this bit is 1, the page can be shared.
|
|
+func (b PSAPI_WORKING_SET_EX_BLOCK) Shared() bool {
|
|
+ return (b & (1 << 15)) == 1
|
|
+}
|
|
+
|
|
+// Node is the NUMA node. The maximum value of this member is 63.
|
|
+func (b PSAPI_WORKING_SET_EX_BLOCK) Node() uint64 {
|
|
+ return b.intField(16, 6)
|
|
+}
|
|
+
|
|
+// Locked returns the locked status of this page.
|
|
+// If this bit is 1, the virtual page is locked in physical memory.
|
|
+func (b PSAPI_WORKING_SET_EX_BLOCK) Locked() bool {
|
|
+ return (b & (1 << 22)) == 1
|
|
+}
|
|
+
|
|
+// LargePage returns the large page status of this page.
|
|
+// If this bit is 1, the page is a large page.
|
|
+func (b PSAPI_WORKING_SET_EX_BLOCK) LargePage() bool {
|
|
+ return (b & (1 << 23)) == 1
|
|
+}
|
|
+
|
|
+// Bad returns the bad status of this page.
|
|
+// If this bit is 1, the page is has been reported as bad.
|
|
+func (b PSAPI_WORKING_SET_EX_BLOCK) Bad() bool {
|
|
+ return (b & (1 << 31)) == 1
|
|
+}
|
|
+
|
|
+// intField extracts an integer field in the PSAPI_WORKING_SET_EX_BLOCK union.
|
|
+func (b PSAPI_WORKING_SET_EX_BLOCK) intField(start, length int) uint64 {
|
|
+ var mask PSAPI_WORKING_SET_EX_BLOCK
|
|
+ for pos := start; pos < start+length; pos++ {
|
|
+ mask |= (1 << pos)
|
|
+ }
|
|
+
|
|
+ masked := b & mask
|
|
+ return uint64(masked >> start)
|
|
+}
|
|
+
|
|
+// PSAPI_WORKING_SET_EX_INFORMATION contains extended working set information for a process.
|
|
+type PSAPI_WORKING_SET_EX_INFORMATION struct {
|
|
+ // The virtual address.
|
|
+ VirtualAddress Pointer
|
|
+ // A PSAPI_WORKING_SET_EX_BLOCK union that indicates the attributes of the page at VirtualAddress.
|
|
+ VirtualAttributes PSAPI_WORKING_SET_EX_BLOCK
|
|
+}
|
|
diff --git a/vendor/golang.org/x/sys/windows/types_windows.go b/vendor/golang.org/x/sys/windows/types_windows.go
|
|
index 286dd1e..f9eaca5 100644
|
|
--- a/vendor/golang.org/x/sys/windows/types_windows.go
|
|
+++ b/vendor/golang.org/x/sys/windows/types_windows.go
|
|
@@ -156,8 +156,14 @@ const (
|
|
MAX_PATH = 260
|
|
MAX_LONG_PATH = 32768
|
|
|
|
+ MAX_MODULE_NAME32 = 255
|
|
+
|
|
MAX_COMPUTERNAME_LENGTH = 15
|
|
|
|
+ MAX_DHCPV6_DUID_LENGTH = 130
|
|
+
|
|
+ MAX_DNS_SUFFIX_STRING_LENGTH = 256
|
|
+
|
|
TIME_ZONE_ID_UNKNOWN = 0
|
|
TIME_ZONE_ID_STANDARD = 1
|
|
|
|
@@ -936,8 +942,8 @@ type StartupInfoEx struct {
|
|
type ProcThreadAttributeList struct{}
|
|
|
|
type ProcThreadAttributeListContainer struct {
|
|
- data *ProcThreadAttributeList
|
|
- heapAllocations []uintptr
|
|
+ data *ProcThreadAttributeList
|
|
+ pointers []unsafe.Pointer
|
|
}
|
|
|
|
type ProcessInformation struct {
|
|
@@ -970,6 +976,21 @@ type ThreadEntry32 struct {
|
|
Flags uint32
|
|
}
|
|
|
|
+type ModuleEntry32 struct {
|
|
+ Size uint32
|
|
+ ModuleID uint32
|
|
+ ProcessID uint32
|
|
+ GlblcntUsage uint32
|
|
+ ProccntUsage uint32
|
|
+ ModBaseAddr uintptr
|
|
+ ModBaseSize uint32
|
|
+ ModuleHandle Handle
|
|
+ Module [MAX_MODULE_NAME32 + 1]uint16
|
|
+ ExePath [MAX_PATH]uint16
|
|
+}
|
|
+
|
|
+const SizeofModuleEntry32 = unsafe.Sizeof(ModuleEntry32{})
|
|
+
|
|
type Systemtime struct {
|
|
Year uint16
|
|
Month uint16
|
|
@@ -1983,27 +2004,62 @@ type IpAdapterPrefix struct {
|
|
}
|
|
|
|
type IpAdapterAddresses struct {
|
|
- Length uint32
|
|
- IfIndex uint32
|
|
- Next *IpAdapterAddresses
|
|
- AdapterName *byte
|
|
- FirstUnicastAddress *IpAdapterUnicastAddress
|
|
- FirstAnycastAddress *IpAdapterAnycastAddress
|
|
- FirstMulticastAddress *IpAdapterMulticastAddress
|
|
- FirstDnsServerAddress *IpAdapterDnsServerAdapter
|
|
- DnsSuffix *uint16
|
|
- Description *uint16
|
|
- FriendlyName *uint16
|
|
- PhysicalAddress [syscall.MAX_ADAPTER_ADDRESS_LENGTH]byte
|
|
- PhysicalAddressLength uint32
|
|
- Flags uint32
|
|
- Mtu uint32
|
|
- IfType uint32
|
|
- OperStatus uint32
|
|
- Ipv6IfIndex uint32
|
|
- ZoneIndices [16]uint32
|
|
- FirstPrefix *IpAdapterPrefix
|
|
- /* more fields might be present here. */
|
|
+ Length uint32
|
|
+ IfIndex uint32
|
|
+ Next *IpAdapterAddresses
|
|
+ AdapterName *byte
|
|
+ FirstUnicastAddress *IpAdapterUnicastAddress
|
|
+ FirstAnycastAddress *IpAdapterAnycastAddress
|
|
+ FirstMulticastAddress *IpAdapterMulticastAddress
|
|
+ FirstDnsServerAddress *IpAdapterDnsServerAdapter
|
|
+ DnsSuffix *uint16
|
|
+ Description *uint16
|
|
+ FriendlyName *uint16
|
|
+ PhysicalAddress [syscall.MAX_ADAPTER_ADDRESS_LENGTH]byte
|
|
+ PhysicalAddressLength uint32
|
|
+ Flags uint32
|
|
+ Mtu uint32
|
|
+ IfType uint32
|
|
+ OperStatus uint32
|
|
+ Ipv6IfIndex uint32
|
|
+ ZoneIndices [16]uint32
|
|
+ FirstPrefix *IpAdapterPrefix
|
|
+ TransmitLinkSpeed uint64
|
|
+ ReceiveLinkSpeed uint64
|
|
+ FirstWinsServerAddress *IpAdapterWinsServerAddress
|
|
+ FirstGatewayAddress *IpAdapterGatewayAddress
|
|
+ Ipv4Metric uint32
|
|
+ Ipv6Metric uint32
|
|
+ Luid uint64
|
|
+ Dhcpv4Server SocketAddress
|
|
+ CompartmentId uint32
|
|
+ NetworkGuid GUID
|
|
+ ConnectionType uint32
|
|
+ TunnelType uint32
|
|
+ Dhcpv6Server SocketAddress
|
|
+ Dhcpv6ClientDuid [MAX_DHCPV6_DUID_LENGTH]byte
|
|
+ Dhcpv6ClientDuidLength uint32
|
|
+ Dhcpv6Iaid uint32
|
|
+ FirstDnsSuffix *IpAdapterDNSSuffix
|
|
+}
|
|
+
|
|
+type IpAdapterWinsServerAddress struct {
|
|
+ Length uint32
|
|
+ Reserved uint32
|
|
+ Next *IpAdapterWinsServerAddress
|
|
+ Address SocketAddress
|
|
+}
|
|
+
|
|
+type IpAdapterGatewayAddress struct {
|
|
+ Length uint32
|
|
+ Reserved uint32
|
|
+ Next *IpAdapterGatewayAddress
|
|
+ Address SocketAddress
|
|
+}
|
|
+
|
|
+type IpAdapterDNSSuffix struct {
|
|
+ Next *IpAdapterDNSSuffix
|
|
+ String [MAX_DNS_SUFFIX_STRING_LENGTH]uint16
|
|
}
|
|
|
|
const (
|
|
@@ -2732,6 +2788,43 @@ type PROCESS_BASIC_INFORMATION struct {
|
|
InheritedFromUniqueProcessId uintptr
|
|
}
|
|
|
|
+type SYSTEM_PROCESS_INFORMATION struct {
|
|
+ NextEntryOffset uint32
|
|
+ NumberOfThreads uint32
|
|
+ WorkingSetPrivateSize int64
|
|
+ HardFaultCount uint32
|
|
+ NumberOfThreadsHighWatermark uint32
|
|
+ CycleTime uint64
|
|
+ CreateTime int64
|
|
+ UserTime int64
|
|
+ KernelTime int64
|
|
+ ImageName NTUnicodeString
|
|
+ BasePriority int32
|
|
+ UniqueProcessID uintptr
|
|
+ InheritedFromUniqueProcessID uintptr
|
|
+ HandleCount uint32
|
|
+ SessionID uint32
|
|
+ UniqueProcessKey *uint32
|
|
+ PeakVirtualSize uintptr
|
|
+ VirtualSize uintptr
|
|
+ PageFaultCount uint32
|
|
+ PeakWorkingSetSize uintptr
|
|
+ WorkingSetSize uintptr
|
|
+ QuotaPeakPagedPoolUsage uintptr
|
|
+ QuotaPagedPoolUsage uintptr
|
|
+ QuotaPeakNonPagedPoolUsage uintptr
|
|
+ QuotaNonPagedPoolUsage uintptr
|
|
+ PagefileUsage uintptr
|
|
+ PeakPagefileUsage uintptr
|
|
+ PrivatePageCount uintptr
|
|
+ ReadOperationCount int64
|
|
+ WriteOperationCount int64
|
|
+ OtherOperationCount int64
|
|
+ ReadTransferCount int64
|
|
+ WriteTransferCount int64
|
|
+ OtherTransferCount int64
|
|
+}
|
|
+
|
|
// SystemInformationClasses for NtQuerySystemInformation and NtSetSystemInformation
|
|
const (
|
|
SystemBasicInformation = iota
|
|
@@ -3118,3 +3211,5 @@ type ModuleInfo struct {
|
|
SizeOfImage uint32
|
|
EntryPoint uintptr
|
|
}
|
|
+
|
|
+const ALL_PROCESSOR_GROUPS = 0xFFFF
|
|
diff --git a/vendor/golang.org/x/sys/windows/zsyscall_windows.go b/vendor/golang.org/x/sys/windows/zsyscall_windows.go
|
|
index bf0dd8f..52d4742 100644
|
|
--- a/vendor/golang.org/x/sys/windows/zsyscall_windows.go
|
|
+++ b/vendor/golang.org/x/sys/windows/zsyscall_windows.go
|
|
@@ -177,6 +177,7 @@ var (
|
|
procDnsRecordListFree = moddnsapi.NewProc("DnsRecordListFree")
|
|
procGetAdaptersAddresses = modiphlpapi.NewProc("GetAdaptersAddresses")
|
|
procGetAdaptersInfo = modiphlpapi.NewProc("GetAdaptersInfo")
|
|
+ procGetBestInterfaceEx = modiphlpapi.NewProc("GetBestInterfaceEx")
|
|
procGetIfEntry = modiphlpapi.NewProc("GetIfEntry")
|
|
procAssignProcessToJobObject = modkernel32.NewProc("AssignProcessToJobObject")
|
|
procCancelIo = modkernel32.NewProc("CancelIo")
|
|
@@ -226,6 +227,7 @@ var (
|
|
procFreeLibrary = modkernel32.NewProc("FreeLibrary")
|
|
procGenerateConsoleCtrlEvent = modkernel32.NewProc("GenerateConsoleCtrlEvent")
|
|
procGetACP = modkernel32.NewProc("GetACP")
|
|
+ procGetActiveProcessorCount = modkernel32.NewProc("GetActiveProcessorCount")
|
|
procGetCommTimeouts = modkernel32.NewProc("GetCommTimeouts")
|
|
procGetCommandLineW = modkernel32.NewProc("GetCommandLineW")
|
|
procGetComputerNameExW = modkernel32.NewProc("GetComputerNameExW")
|
|
@@ -251,6 +253,7 @@ var (
|
|
procGetLogicalDriveStringsW = modkernel32.NewProc("GetLogicalDriveStringsW")
|
|
procGetLogicalDrives = modkernel32.NewProc("GetLogicalDrives")
|
|
procGetLongPathNameW = modkernel32.NewProc("GetLongPathNameW")
|
|
+ procGetMaximumProcessorCount = modkernel32.NewProc("GetMaximumProcessorCount")
|
|
procGetModuleFileNameW = modkernel32.NewProc("GetModuleFileNameW")
|
|
procGetModuleHandleExW = modkernel32.NewProc("GetModuleHandleExW")
|
|
procGetNamedPipeHandleStateW = modkernel32.NewProc("GetNamedPipeHandleStateW")
|
|
@@ -295,6 +298,8 @@ var (
|
|
procLockFileEx = modkernel32.NewProc("LockFileEx")
|
|
procLockResource = modkernel32.NewProc("LockResource")
|
|
procMapViewOfFile = modkernel32.NewProc("MapViewOfFile")
|
|
+ procModule32FirstW = modkernel32.NewProc("Module32FirstW")
|
|
+ procModule32NextW = modkernel32.NewProc("Module32NextW")
|
|
procMoveFileExW = modkernel32.NewProc("MoveFileExW")
|
|
procMoveFileW = modkernel32.NewProc("MoveFileW")
|
|
procMultiByteToWideChar = modkernel32.NewProc("MultiByteToWideChar")
|
|
@@ -403,6 +408,7 @@ var (
|
|
procGetModuleBaseNameW = modpsapi.NewProc("GetModuleBaseNameW")
|
|
procGetModuleFileNameExW = modpsapi.NewProc("GetModuleFileNameExW")
|
|
procGetModuleInformation = modpsapi.NewProc("GetModuleInformation")
|
|
+ procQueryWorkingSetEx = modpsapi.NewProc("QueryWorkingSetEx")
|
|
procSubscribeServiceChangeNotifications = modsechost.NewProc("SubscribeServiceChangeNotifications")
|
|
procUnsubscribeServiceChangeNotifications = modsechost.NewProc("UnsubscribeServiceChangeNotifications")
|
|
procGetUserNameExW = modsecur32.NewProc("GetUserNameExW")
|
|
@@ -1535,6 +1541,14 @@ func GetAdaptersInfo(ai *IpAdapterInfo, ol *uint32) (errcode error) {
|
|
return
|
|
}
|
|
|
|
+func getBestInterfaceEx(sockaddr unsafe.Pointer, pdwBestIfIndex *uint32) (errcode error) {
|
|
+ r0, _, _ := syscall.Syscall(procGetBestInterfaceEx.Addr(), 2, uintptr(sockaddr), uintptr(unsafe.Pointer(pdwBestIfIndex)), 0)
|
|
+ if r0 != 0 {
|
|
+ errcode = syscall.Errno(r0)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
func GetIfEntry(pIfRow *MibIfRow) (errcode error) {
|
|
r0, _, _ := syscall.Syscall(procGetIfEntry.Addr(), 1, uintptr(unsafe.Pointer(pIfRow)), 0, 0)
|
|
if r0 != 0 {
|
|
@@ -1965,6 +1979,12 @@ func GetACP() (acp uint32) {
|
|
return
|
|
}
|
|
|
|
+func GetActiveProcessorCount(groupNumber uint16) (ret uint32) {
|
|
+ r0, _, _ := syscall.Syscall(procGetActiveProcessorCount.Addr(), 1, uintptr(groupNumber), 0, 0)
|
|
+ ret = uint32(r0)
|
|
+ return
|
|
+}
|
|
+
|
|
func GetCommTimeouts(handle Handle, timeouts *CommTimeouts) (err error) {
|
|
r1, _, e1 := syscall.Syscall(procGetCommTimeouts.Addr(), 2, uintptr(handle), uintptr(unsafe.Pointer(timeouts)), 0)
|
|
if r1 == 0 {
|
|
@@ -2167,6 +2187,12 @@ func GetLongPathName(path *uint16, buf *uint16, buflen uint32) (n uint32, err er
|
|
return
|
|
}
|
|
|
|
+func GetMaximumProcessorCount(groupNumber uint16) (ret uint32) {
|
|
+ r0, _, _ := syscall.Syscall(procGetMaximumProcessorCount.Addr(), 1, uintptr(groupNumber), 0, 0)
|
|
+ ret = uint32(r0)
|
|
+ return
|
|
+}
|
|
+
|
|
func GetModuleFileName(module Handle, filename *uint16, size uint32) (n uint32, err error) {
|
|
r0, _, e1 := syscall.Syscall(procGetModuleFileNameW.Addr(), 3, uintptr(module), uintptr(unsafe.Pointer(filename)), uintptr(size))
|
|
n = uint32(r0)
|
|
@@ -2567,6 +2593,22 @@ func MapViewOfFile(handle Handle, access uint32, offsetHigh uint32, offsetLow ui
|
|
return
|
|
}
|
|
|
|
+func Module32First(snapshot Handle, moduleEntry *ModuleEntry32) (err error) {
|
|
+ r1, _, e1 := syscall.Syscall(procModule32FirstW.Addr(), 2, uintptr(snapshot), uintptr(unsafe.Pointer(moduleEntry)), 0)
|
|
+ if r1 == 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
+func Module32Next(snapshot Handle, moduleEntry *ModuleEntry32) (err error) {
|
|
+ r1, _, e1 := syscall.Syscall(procModule32NextW.Addr(), 2, uintptr(snapshot), uintptr(unsafe.Pointer(moduleEntry)), 0)
|
|
+ if r1 == 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
func MoveFileEx(from *uint16, to *uint16, flags uint32) (err error) {
|
|
r1, _, e1 := syscall.Syscall(procMoveFileExW.Addr(), 3, uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(to)), uintptr(flags))
|
|
if r1 == 0 {
|
|
@@ -2729,7 +2771,7 @@ func ReadDirectoryChanges(handle Handle, buf *byte, buflen uint32, watchSubTree
|
|
return
|
|
}
|
|
|
|
-func ReadFile(handle Handle, buf []byte, done *uint32, overlapped *Overlapped) (err error) {
|
|
+func readFile(handle Handle, buf []byte, done *uint32, overlapped *Overlapped) (err error) {
|
|
var _p0 *byte
|
|
if len(buf) > 0 {
|
|
_p0 = &buf[0]
|
|
@@ -3171,7 +3213,7 @@ func WriteConsole(console Handle, buf *uint16, towrite uint32, written *uint32,
|
|
return
|
|
}
|
|
|
|
-func WriteFile(handle Handle, buf []byte, done *uint32, overlapped *Overlapped) (err error) {
|
|
+func writeFile(handle Handle, buf []byte, done *uint32, overlapped *Overlapped) (err error) {
|
|
var _p0 *byte
|
|
if len(buf) > 0 {
|
|
_p0 = &buf[0]
|
|
@@ -3463,6 +3505,14 @@ func GetModuleInformation(process Handle, module Handle, modinfo *ModuleInfo, cb
|
|
return
|
|
}
|
|
|
|
+func QueryWorkingSetEx(process Handle, pv uintptr, cb uint32) (err error) {
|
|
+ r1, _, e1 := syscall.Syscall(procQueryWorkingSetEx.Addr(), 3, uintptr(process), uintptr(pv), uintptr(cb))
|
|
+ if r1 == 0 {
|
|
+ err = errnoErr(e1)
|
|
+ }
|
|
+ return
|
|
+}
|
|
+
|
|
func SubscribeServiceChangeNotifications(service Handle, eventType uint32, callback uintptr, callbackCtx uintptr, subscription *uintptr) (ret error) {
|
|
ret = procSubscribeServiceChangeNotifications.Find()
|
|
if ret != nil {
|
|
diff --git a/vendor/modules.txt b/vendor/modules.txt
|
|
index 66a20fc..50defe3 100644
|
|
--- a/vendor/modules.txt
|
|
+++ b/vendor/modules.txt
|
|
@@ -427,7 +427,7 @@ golang.org/x/net/trace
|
|
## explicit
|
|
golang.org/x/sync/errgroup
|
|
golang.org/x/sync/semaphore
|
|
-# golang.org/x/sys v0.0.0-20211124211545-fe61309f8881
|
|
+# golang.org/x/sys v0.0.0-20220908164124-27713097b956
|
|
## explicit
|
|
golang.org/x/sys/execabs
|
|
golang.org/x/sys/internal/unsafeheader
|
|
--
|
|
2.33.0
|
|
|