summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-07-09 13:24:35 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-12 12:21:48 +0100
commitbfc0e7ef0e0248dd542a50066317f8af857c40c0 (patch)
treec30bff1818b37f6a2df41836b5727eb3f6256b4a
parent329665d68b17479ccd11fa60479c9c7a8b2355a8 (diff)
downloadpoky-bfc0e7ef0e0248dd542a50066317f8af857c40c0.tar.gz
go-dep: Fix build on riscv64
Bring in only patch from meta-riscv here (From OE-Core rev: 2e6e7b0be6e5ba5ab8fe9478c1dfdd530d22123f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/go/go-dep/0001-Update-sys-module-to-latest.patch145574
-rw-r--r--meta/recipes-devtools/go/go-dep_0.5.4.bb1
2 files changed, 145575 insertions, 0 deletions
diff --git a/meta/recipes-devtools/go/go-dep/0001-Update-sys-module-to-latest.patch b/meta/recipes-devtools/go/go-dep/0001-Update-sys-module-to-latest.patch
new file mode 100644
index 0000000000..b13bb9e665
--- /dev/null
+++ b/meta/recipes-devtools/go/go-dep/0001-Update-sys-module-to-latest.patch
@@ -0,0 +1,145574 @@
1From f7904cb91a1b18e893ffbd25b450926d145d0e0a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 22 Apr 2020 18:44:48 -0700
4Subject: [PATCH] Update sys module to latest
5
6Gets us riscv support
7
8Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 Gopkg.lock | 4 +-
12 .../golang.org/x/sys/unix/affinity_linux.go | 86 +
13 vendor/golang.org/x/sys/unix/aliases.go | 14 +
14 vendor/golang.org/x/sys/unix/asm_aix_ppc64.s | 17 +
15 .../x/sys/unix/asm_dragonfly_amd64.s | 10 +-
16 ...sm_linux_mips64x.s => asm_freebsd_arm64.s} | 11 +-
17 vendor/golang.org/x/sys/unix/asm_linux_386.s | 36 +-
18 .../golang.org/x/sys/unix/asm_linux_amd64.s | 30 +-
19 vendor/golang.org/x/sys/unix/asm_linux_arm.s | 35 +-
20 .../golang.org/x/sys/unix/asm_linux_arm64.s | 30 +-
21 .../golang.org/x/sys/unix/asm_linux_mips64x.s | 36 +-
22 .../golang.org/x/sys/unix/asm_linux_mipsx.s | 33 +-
23 .../golang.org/x/sys/unix/asm_linux_ppc64x.s | 38 +-
24 .../golang.org/x/sys/unix/asm_linux_riscv64.s | 47 +
25 .../golang.org/x/sys/unix/asm_linux_s390x.s | 28 +
26 ...asm_linux_mips64x.s => asm_netbsd_arm64.s} | 17 +-
27 ...sm_linux_mips64x.s => asm_openbsd_arm64.s} | 9 +-
28 .../golang.org/x/sys/unix/bluetooth_linux.go | 1 +
29 vendor/golang.org/x/sys/unix/cap_freebsd.go | 30 +-
30 vendor/golang.org/x/sys/unix/constants.go | 2 +-
31 vendor/golang.org/x/sys/unix/dev_aix_ppc.go | 27 +
32 vendor/golang.org/x/sys/unix/dev_aix_ppc64.go | 29 +
33 vendor/golang.org/x/sys/unix/dev_darwin.go | 24 +
34 vendor/golang.org/x/sys/unix/dev_dragonfly.go | 30 +
35 vendor/golang.org/x/sys/unix/dev_freebsd.go | 30 +
36 vendor/golang.org/x/sys/unix/dev_linux.go | 8 +-
37 vendor/golang.org/x/sys/unix/dev_netbsd.go | 29 +
38 vendor/golang.org/x/sys/unix/dev_openbsd.go | 29 +
39 vendor/golang.org/x/sys/unix/dirent.go | 2 +-
40 vendor/golang.org/x/sys/unix/endian_little.go | 2 +-
41 vendor/golang.org/x/sys/unix/env_unix.go | 8 +-
42 vendor/golang.org/x/sys/unix/env_unset.go | 14 -
43 .../x/sys/unix/errors_freebsd_386.go | 6 +
44 .../x/sys/unix/errors_freebsd_amd64.go | 6 +
45 .../x/sys/unix/errors_freebsd_arm64.go | 17 +
46 .../x/sys/unix/{flock.go => fcntl.go} | 18 +-
47 vendor/golang.org/x/sys/unix/fcntl_darwin.go | 18 +
48 ...ck_linux_32bit.go => fcntl_linux_32bit.go} | 0
49 vendor/golang.org/x/sys/unix/fdset.go | 29 +
50 vendor/golang.org/x/sys/unix/file_unix.go | 27 -
51 vendor/golang.org/x/sys/unix/gccgo.go | 20 +-
52 vendor/golang.org/x/sys/unix/gccgo_c.c | 12 +-
53 .../x/sys/unix/gccgo_linux_amd64.go | 2 +-
54 .../x/sys/unix/gccgo_linux_sparc64.go | 20 -
55 vendor/golang.org/x/sys/unix/ioctl.go | 65 +
56 vendor/golang.org/x/sys/unix/mkasm_darwin.go | 78 +
57 vendor/golang.org/x/sys/unix/mkmerge.go | 521 +++
58 vendor/golang.org/x/sys/unix/mkpost.go | 63 +-
59 vendor/golang.org/x/sys/unix/mksyscall.go | 402 +++
60 .../x/sys/unix/mksyscall_aix_ppc.go | 415 +++
61 .../x/sys/unix/mksyscall_aix_ppc64.go | 614 ++++
62 .../x/sys/unix/mksyscall_solaris.go | 341 ++
63 .../golang.org/x/sys/unix/mksysctl_openbsd.go | 355 +++
64 vendor/golang.org/x/sys/unix/mksysnum.go | 190 ++
65 .../golang.org/x/sys/unix/openbsd_pledge.go | 38 -
66 vendor/golang.org/x/sys/unix/pagesize_unix.go | 15 +
67 .../golang.org/x/sys/unix/pledge_openbsd.go | 163 +
68 vendor/golang.org/x/sys/unix/race.go | 2 +-
69 vendor/golang.org/x/sys/unix/race0.go | 4 +-
70 .../x/sys/unix/readdirent_getdents.go | 12 +
71 .../x/sys/unix/readdirent_getdirentries.go | 19 +
72 .../x/sys/unix/sockcmsg_dragonfly.go | 16 +
73 .../golang.org/x/sys/unix/sockcmsg_linux.go | 4 +-
74 vendor/golang.org/x/sys/unix/sockcmsg_unix.go | 28 +-
75 .../x/sys/unix/sockcmsg_unix_other.go | 38 +
76 vendor/golang.org/x/sys/unix/str.go | 2 +-
77 vendor/golang.org/x/sys/unix/syscall.go | 38 +-
78 vendor/golang.org/x/sys/unix/syscall_aix.go | 536 ++++
79 .../golang.org/x/sys/unix/syscall_aix_ppc.go | 54 +
80 .../x/sys/unix/syscall_aix_ppc64.go | 85 +
81 vendor/golang.org/x/sys/unix/syscall_bsd.go | 112 +-
82 .../x/sys/unix/syscall_darwin.1_12.go | 29 +
83 .../x/sys/unix/syscall_darwin.1_13.go | 101 +
84 .../golang.org/x/sys/unix/syscall_darwin.go | 263 +-
85 .../x/sys/unix/syscall_darwin_386.1_11.go | 9 +
86 .../x/sys/unix/syscall_darwin_386.go | 45 +-
87 .../x/sys/unix/syscall_darwin_amd64.1_11.go | 9 +
88 .../x/sys/unix/syscall_darwin_amd64.go | 45 +-
89 .../x/sys/unix/syscall_darwin_arm.1_11.go | 11 +
90 .../x/sys/unix/syscall_darwin_arm.go | 51 +-
91 .../x/sys/unix/syscall_darwin_arm64.1_11.go | 11 +
92 .../x/sys/unix/syscall_darwin_arm64.go | 47 +-
93 .../x/sys/unix/syscall_darwin_libSystem.go | 33 +
94 .../x/sys/unix/syscall_dragonfly.go | 136 +-
95 .../x/sys/unix/syscall_dragonfly_amd64.go | 21 +-
96 .../golang.org/x/sys/unix/syscall_freebsd.go | 592 ++--
97 .../x/sys/unix/syscall_freebsd_386.go | 31 +-
98 .../x/sys/unix/syscall_freebsd_amd64.go | 31 +-
99 .../x/sys/unix/syscall_freebsd_arm.go | 27 +-
100 ...nfly_amd64.go => syscall_freebsd_arm64.go} | 31 +-
101 .../golang.org/x/sys/unix/syscall_illumos.go | 57 +
102 vendor/golang.org/x/sys/unix/syscall_linux.go | 1030 +++++-
103 .../x/sys/unix/syscall_linux_386.go | 47 +-
104 .../x/sys/unix/syscall_linux_amd64.go | 80 +-
105 .../x/sys/unix/syscall_linux_arm.go | 64 +-
106 .../x/sys/unix/syscall_linux_arm64.go | 111 +-
107 .../golang.org/x/sys/unix/syscall_linux_gc.go | 14 +
108 .../x/sys/unix/syscall_linux_gc_386.go | 16 +
109 .../x/sys/unix/syscall_linux_gccgo_386.go | 30 +
110 .../x/sys/unix/syscall_linux_gccgo_arm.go | 20 +
111 .../x/sys/unix/syscall_linux_mips64x.go | 53 +-
112 .../x/sys/unix/syscall_linux_mipsx.go | 47 +-
113 .../x/sys/unix/syscall_linux_ppc64x.go | 59 +-
114 ...inux_arm64.go => syscall_linux_riscv64.go} | 118 +-
115 .../x/sys/unix/syscall_linux_s390x.go | 44 +-
116 .../x/sys/unix/syscall_linux_sparc64.go | 48 +-
117 .../golang.org/x/sys/unix/syscall_netbsd.go | 156 +-
118 .../x/sys/unix/syscall_netbsd_386.go | 21 +-
119 .../x/sys/unix/syscall_netbsd_amd64.go | 21 +-
120 .../x/sys/unix/syscall_netbsd_arm.go | 21 +-
121 ...etbsd_amd64.go => syscall_netbsd_arm64.go} | 25 +-
122 .../golang.org/x/sys/unix/syscall_no_getwd.go | 11 -
123 .../golang.org/x/sys/unix/syscall_openbsd.go | 199 +-
124 .../x/sys/unix/syscall_openbsd_386.go | 25 +-
125 .../x/sys/unix/syscall_openbsd_amd64.go | 25 +-
126 .../x/sys/unix/syscall_openbsd_arm.go | 27 +-
127 .../x/sys/unix/syscall_openbsd_arm64.go | 41 +
128 .../golang.org/x/sys/unix/syscall_solaris.go | 128 +-
129 .../x/sys/unix/syscall_solaris_amd64.go | 24 +-
130 vendor/golang.org/x/sys/unix/syscall_unix.go | 176 +-
131 .../golang.org/x/sys/unix/syscall_unix_gc.go | 2 +-
132 ...l_unix_gc.go => syscall_unix_gc_ppc64x.go} | 21 +-
133 vendor/golang.org/x/sys/unix/timestruct.go | 82 +
134 .../unix/{types_netbsd.go => types_aix.go} | 196 +-
135 vendor/golang.org/x/sys/unix/types_darwin.go | 41 +-
136 .../golang.org/x/sys/unix/types_dragonfly.go | 66 +-
137 vendor/golang.org/x/sys/unix/types_freebsd.go | 178 +-
138 vendor/golang.org/x/sys/unix/types_netbsd.go | 73 +-
139 vendor/golang.org/x/sys/unix/types_openbsd.go | 78 +-
140 vendor/golang.org/x/sys/unix/types_solaris.go | 54 +-
141 .../golang.org/x/sys/unix/unveil_openbsd.go | 42 +
142 vendor/golang.org/x/sys/unix/xattr_bsd.go | 240 ++
143 .../golang.org/x/sys/unix/zerrors_aix_ppc.go | 1384 ++++++++
144 .../x/sys/unix/zerrors_aix_ppc64.go | 1385 ++++++++
145 .../x/sys/unix/zerrors_darwin_386.go | 391 ++-
146 .../x/sys/unix/zerrors_darwin_amd64.go | 391 ++-
147 .../x/sys/unix/zerrors_darwin_arm.go | 391 ++-
148 .../x/sys/unix/zerrors_darwin_arm64.go | 391 ++-
149 .../x/sys/unix/zerrors_dragonfly_amd64.go | 355 ++-
150 .../x/sys/unix/zerrors_freebsd_386.go | 508 ++-
151 .../x/sys/unix/zerrors_freebsd_amd64.go | 506 ++-
152 .../x/sys/unix/zerrors_freebsd_arm.go | 368 ++-
153 ...ebsd_amd64.go => zerrors_freebsd_arm64.go} | 509 ++-
154 vendor/golang.org/x/sys/unix/zerrors_linux.go | 2469 +++++++++++++++
155 .../x/sys/unix/zerrors_linux_386.go | 2690 ++++------------
156 .../x/sys/unix/zerrors_linux_amd64.go | 2691 ++++------------
157 .../x/sys/unix/zerrors_linux_arm.go | 2701 ++++------------
158 .../x/sys/unix/zerrors_linux_arm64.go | 2673 ++++------------
159 .../x/sys/unix/zerrors_linux_mips.go | 2702 ++++------------
160 .../x/sys/unix/zerrors_linux_mips64.go | 2702 ++++------------
161 .../x/sys/unix/zerrors_linux_mips64le.go | 2702 ++++------------
162 .../x/sys/unix/zerrors_linux_mipsle.go | 2702 ++++------------
163 .../x/sys/unix/zerrors_linux_ppc64.go | 2816 ++++-------------
164 .../x/sys/unix/zerrors_linux_ppc64le.go | 2816 ++++-------------
165 .../x/sys/unix/zerrors_linux_riscv64.go | 771 +++++
166 .../x/sys/unix/zerrors_linux_s390x.go | 2812 ++++------------
167 .../x/sys/unix/zerrors_linux_sparc64.go | 2013 +++---------
168 .../x/sys/unix/zerrors_netbsd_386.go | 325 +-
169 .../x/sys/unix/zerrors_netbsd_amd64.go | 325 +-
170 .../x/sys/unix/zerrors_netbsd_arm.go | 325 +-
171 ...etbsd_amd64.go => zerrors_netbsd_arm64.go} | 327 +-
172 .../x/sys/unix/zerrors_openbsd_386.go | 339 +-
173 .../x/sys/unix/zerrors_openbsd_amd64.go | 576 ++--
174 .../x/sys/unix/zerrors_openbsd_arm.go | 333 +-
175 ...nbsd_amd64.go => zerrors_openbsd_arm64.go} | 605 ++--
176 .../x/sys/unix/zerrors_solaris_amd64.go | 380 ++-
177 .../x/sys/unix/zptrace_armnn_linux.go | 41 +
178 .../x/sys/unix/zptrace_linux_arm64.go | 17 +
179 .../x/sys/unix/zptrace_mipsnn_linux.go | 50 +
180 .../x/sys/unix/zptrace_mipsnnle_linux.go | 50 +
181 .../x/sys/unix/zptrace_x86_linux.go | 80 +
182 .../golang.org/x/sys/unix/zsyscall_aix_ppc.go | 1484 +++++++++
183 ..._netbsd_amd64.go => zsyscall_aix_ppc64.go} | 936 +++---
184 .../x/sys/unix/zsyscall_aix_ppc64_gc.go | 1192 +++++++
185 .../x/sys/unix/zsyscall_aix_ppc64_gccgo.go | 1070 +++++++
186 ...win_arm.go => zsyscall_darwin_386.1_11.go} | 416 ++-
187 .../x/sys/unix/zsyscall_darwin_386.1_13.go | 41 +
188 .../x/sys/unix/zsyscall_darwin_386.1_13.s | 12 +
189 .../x/sys/unix/zsyscall_darwin_386.go | 1314 ++++++--
190 .../x/sys/unix/zsyscall_darwin_386.s | 284 ++
191 ...arm64.go => zsyscall_darwin_amd64.1_11.go} | 416 ++-
192 .../x/sys/unix/zsyscall_darwin_amd64.1_13.go | 41 +
193 .../x/sys/unix/zsyscall_darwin_amd64.1_13.s | 12 +
194 .../x/sys/unix/zsyscall_darwin_amd64.go | 1314 ++++++--
195 .../x/sys/unix/zsyscall_darwin_amd64.s | 284 ++
196 ...win_arm.go => zsyscall_darwin_arm.1_11.go} | 389 ++-
197 .../x/sys/unix/zsyscall_darwin_arm.1_13.go | 41 +
198 .../x/sys/unix/zsyscall_darwin_arm.1_13.s | 12 +
199 .../x/sys/unix/zsyscall_darwin_arm.go | 1301 ++++++--
200 .../x/sys/unix/zsyscall_darwin_arm.s | 282 ++
201 ...arm64.go => zsyscall_darwin_arm64.1_11.go} | 389 ++-
202 .../x/sys/unix/zsyscall_darwin_arm64.1_13.go | 41 +
203 .../x/sys/unix/zsyscall_darwin_arm64.1_13.s | 12 +
204 .../x/sys/unix/zsyscall_darwin_arm64.go | 1301 ++++++--
205 .../x/sys/unix/zsyscall_darwin_arm64.s | 282 ++
206 .../x/sys/unix/zsyscall_dragonfly_amd64.go | 238 +-
207 .../x/sys/unix/zsyscall_freebsd_386.go | 204 +-
208 .../x/sys/unix/zsyscall_freebsd_amd64.go | 204 +-
209 .../x/sys/unix/zsyscall_freebsd_arm.go | 204 +-
210 ...bsd_amd64.go => zsyscall_freebsd_arm64.go} | 206 +-
211 .../x/sys/unix/zsyscall_illumos_amd64.go | 87 +
212 ...scall_linux_s390x.go => zsyscall_linux.go} | 774 ++---
213 .../x/sys/unix/zsyscall_linux_386.go | 1573 +--------
214 .../x/sys/unix/zsyscall_linux_amd64.go | 1607 +---------
215 .../x/sys/unix/zsyscall_linux_arm.go | 1626 +---------
216 .../x/sys/unix/zsyscall_linux_arm64.go | 1513 +--------
217 .../x/sys/unix/zsyscall_linux_mips.go | 1567 +--------
218 .../x/sys/unix/zsyscall_linux_mips64.go | 1552 +--------
219 .../x/sys/unix/zsyscall_linux_mips64le.go | 1552 +--------
220 .../x/sys/unix/zsyscall_linux_mipsle.go | 1567 +--------
221 .../x/sys/unix/zsyscall_linux_ppc64.go | 1586 +---------
222 .../x/sys/unix/zsyscall_linux_ppc64le.go | 1586 +---------
223 .../x/sys/unix/zsyscall_linux_riscv64.go | 582 ++++
224 .../x/sys/unix/zsyscall_linux_s390x.go | 1570 +--------
225 .../x/sys/unix/zsyscall_linux_sparc64.go | 1247 +-------
226 .../x/sys/unix/zsyscall_netbsd_386.go | 551 +++-
227 .../x/sys/unix/zsyscall_netbsd_amd64.go | 551 +++-
228 .../x/sys/unix/zsyscall_netbsd_arm.go | 551 +++-
229 ...ebsd_amd64.go => zsyscall_netbsd_arm64.go} | 262 +-
230 .../x/sys/unix/zsyscall_openbsd_386.go | 338 +-
231 .../x/sys/unix/zsyscall_openbsd_amd64.go | 338 +-
232 .../x/sys/unix/zsyscall_openbsd_arm.go | 338 +-
233 ...arwin_386.go => zsyscall_openbsd_arm64.go} | 289 +-
234 .../x/sys/unix/zsyscall_solaris_amd64.go | 382 ++-
235 ...sctl_openbsd.go => zsysctl_openbsd_386.go} | 4 +-
236 ...tl_openbsd.go => zsysctl_openbsd_amd64.go} | 42 +-
237 ...sctl_openbsd.go => zsysctl_openbsd_arm.go} | 6 +-
238 ...tl_openbsd.go => zsysctl_openbsd_arm64.go} | 47 +-
239 .../x/sys/unix/zsysnum_darwin_386.go | 60 +-
240 .../x/sys/unix/zsysnum_darwin_amd64.go | 62 +-
241 .../x/sys/unix/zsysnum_darwin_arm.go | 14 +-
242 .../x/sys/unix/zsysnum_darwin_arm64.go | 14 +-
243 .../x/sys/unix/zsysnum_dragonfly_amd64.go | 176 +-
244 .../x/sys/unix/zsysnum_freebsd_386.go | 731 +++--
245 .../x/sys/unix/zsysnum_freebsd_amd64.go | 731 +++--
246 .../x/sys/unix/zsysnum_freebsd_arm.go | 731 +++--
247 .../x/sys/unix/zsysnum_freebsd_arm64.go | 396 +++
248 .../x/sys/unix/zsysnum_linux_386.go | 808 ++---
249 .../x/sys/unix/zsysnum_linux_amd64.go | 19 +-
250 .../x/sys/unix/zsysnum_linux_arm.go | 745 ++---
251 .../x/sys/unix/zsysnum_linux_arm64.go | 20 +-
252 .../x/sys/unix/zsysnum_linux_mips.go | 779 ++---
253 .../x/sys/unix/zsysnum_linux_mips64.go | 19 +-
254 .../x/sys/unix/zsysnum_linux_mips64le.go | 19 +-
255 .../x/sys/unix/zsysnum_linux_mipsle.go | 779 ++---
256 .../x/sys/unix/zsysnum_linux_ppc64.go | 33 +-
257 .../x/sys/unix/zsysnum_linux_ppc64le.go | 33 +-
258 ...inux_arm64.go => zsysnum_linux_riscv64.go} | 23 +-
259 .../x/sys/unix/zsysnum_linux_s390x.go | 80 +-
260 .../x/sys/unix/zsysnum_linux_sparc64.go | 35 +-
261 .../x/sys/unix/zsysnum_netbsd_386.go | 4 +-
262 .../x/sys/unix/zsysnum_netbsd_amd64.go | 4 +-
263 .../x/sys/unix/zsysnum_netbsd_arm.go | 4 +-
264 ..._netbsd_386.go => zsysnum_netbsd_arm64.go} | 6 +-
265 .../x/sys/unix/zsysnum_openbsd_386.go | 223 +-
266 .../x/sys/unix/zsysnum_openbsd_amd64.go | 223 +-
267 .../x/sys/unix/zsysnum_openbsd_arm.go | 217 +-
268 ...penbsd_arm.go => zsysnum_openbsd_arm64.go} | 218 +-
269 .../x/sys/unix/zsysnum_solaris_amd64.go | 13 -
270 .../golang.org/x/sys/unix/ztypes_aix_ppc.go | 352 +++
271 .../golang.org/x/sys/unix/ztypes_aix_ppc64.go | 356 +++
272 .../x/sys/unix/ztypes_darwin_386.go | 195 +-
273 .../x/sys/unix/ztypes_darwin_amd64.go | 241 +-
274 .../x/sys/unix/ztypes_darwin_arm.go | 195 +-
275 .../x/sys/unix/ztypes_darwin_arm64.go | 246 +-
276 .../x/sys/unix/ztypes_dragonfly_amd64.go | 213 +-
277 .../x/sys/unix/ztypes_freebsd_386.go | 426 ++-
278 .../x/sys/unix/ztypes_freebsd_amd64.go | 448 ++-
279 .../x/sys/unix/ztypes_freebsd_arm.go | 427 ++-
280 ...eebsd_amd64.go => ztypes_freebsd_arm64.go} | 430 ++-
281 vendor/golang.org/x/sys/unix/ztypes_linux.go | 2340 ++++++++++++++
282 .../golang.org/x/sys/unix/ztypes_linux_386.go | 878 ++---
283 .../x/sys/unix/ztypes_linux_amd64.go | 881 ++----
284 .../golang.org/x/sys/unix/ztypes_linux_arm.go | 899 +++---
285 .../x/sys/unix/ztypes_linux_arm64.go | 883 ++----
286 .../x/sys/unix/ztypes_linux_mips.go | 864 ++---
287 .../x/sys/unix/ztypes_linux_mips64.go | 880 ++----
288 .../x/sys/unix/ztypes_linux_mips64le.go | 880 ++----
289 .../x/sys/unix/ztypes_linux_mipsle.go | 864 ++---
290 .../x/sys/unix/ztypes_linux_ppc64.go | 889 ++----
291 .../x/sys/unix/ztypes_linux_ppc64le.go | 889 ++----
292 .../x/sys/unix/ztypes_linux_riscv64.go | 621 ++++
293 .../x/sys/unix/ztypes_linux_s390x.go | 842 ++---
294 .../x/sys/unix/ztypes_linux_sparc64.go | 910 +++---
295 .../x/sys/unix/ztypes_netbsd_386.go | 145 +-
296 .../x/sys/unix/ztypes_netbsd_amd64.go | 152 +-
297 .../x/sys/unix/ztypes_netbsd_arm.go | 151 +-
298 ...netbsd_amd64.go => ztypes_netbsd_arm64.go} | 154 +-
299 .../x/sys/unix/ztypes_openbsd_386.go | 173 +-
300 .../x/sys/unix/ztypes_openbsd_amd64.go | 264 +-
301 .../x/sys/unix/ztypes_openbsd_arm.go | 255 +-
302 ...enbsd_amd64.go => ztypes_openbsd_arm64.go} | 260 +-
303 .../x/sys/unix/ztypes_solaris_amd64.go | 239 +-
304 293 files changed, 60017 insertions(+), 59731 deletions(-)
305 create mode 100644 vendor/golang.org/x/sys/unix/affinity_linux.go
306 create mode 100644 vendor/golang.org/x/sys/unix/aliases.go
307 create mode 100644 vendor/golang.org/x/sys/unix/asm_aix_ppc64.s
308 copy vendor/golang.org/x/sys/unix/{asm_linux_mips64x.s => asm_freebsd_arm64.s} (71%)
309 create mode 100644 vendor/golang.org/x/sys/unix/asm_linux_riscv64.s
310 copy vendor/golang.org/x/sys/unix/{asm_linux_mips64x.s => asm_netbsd_arm64.s} (60%)
311 copy vendor/golang.org/x/sys/unix/{asm_linux_mips64x.s => asm_openbsd_arm64.s} (76%)
312 create mode 100644 vendor/golang.org/x/sys/unix/dev_aix_ppc.go
313 create mode 100644 vendor/golang.org/x/sys/unix/dev_aix_ppc64.go
314 create mode 100644 vendor/golang.org/x/sys/unix/dev_darwin.go
315 create mode 100644 vendor/golang.org/x/sys/unix/dev_dragonfly.go
316 create mode 100644 vendor/golang.org/x/sys/unix/dev_freebsd.go
317 create mode 100644 vendor/golang.org/x/sys/unix/dev_netbsd.go
318 create mode 100644 vendor/golang.org/x/sys/unix/dev_openbsd.go
319 delete mode 100644 vendor/golang.org/x/sys/unix/env_unset.go
320 create mode 100644 vendor/golang.org/x/sys/unix/errors_freebsd_arm64.go
321 rename vendor/golang.org/x/sys/unix/{flock.go => fcntl.go} (54%)
322 create mode 100644 vendor/golang.org/x/sys/unix/fcntl_darwin.go
323 rename vendor/golang.org/x/sys/unix/{flock_linux_32bit.go => fcntl_linux_32bit.go} (100%)
324 create mode 100644 vendor/golang.org/x/sys/unix/fdset.go
325 delete mode 100644 vendor/golang.org/x/sys/unix/file_unix.go
326 delete mode 100644 vendor/golang.org/x/sys/unix/gccgo_linux_sparc64.go
327 create mode 100644 vendor/golang.org/x/sys/unix/ioctl.go
328 create mode 100644 vendor/golang.org/x/sys/unix/mkasm_darwin.go
329 create mode 100644 vendor/golang.org/x/sys/unix/mkmerge.go
330 create mode 100644 vendor/golang.org/x/sys/unix/mksyscall.go
331 create mode 100644 vendor/golang.org/x/sys/unix/mksyscall_aix_ppc.go
332 create mode 100644 vendor/golang.org/x/sys/unix/mksyscall_aix_ppc64.go
333 create mode 100644 vendor/golang.org/x/sys/unix/mksyscall_solaris.go
334 create mode 100644 vendor/golang.org/x/sys/unix/mksysctl_openbsd.go
335 create mode 100644 vendor/golang.org/x/sys/unix/mksysnum.go
336 delete mode 100644 vendor/golang.org/x/sys/unix/openbsd_pledge.go
337 create mode 100644 vendor/golang.org/x/sys/unix/pagesize_unix.go
338 create mode 100644 vendor/golang.org/x/sys/unix/pledge_openbsd.go
339 create mode 100644 vendor/golang.org/x/sys/unix/readdirent_getdents.go
340 create mode 100644 vendor/golang.org/x/sys/unix/readdirent_getdirentries.go
341 create mode 100644 vendor/golang.org/x/sys/unix/sockcmsg_dragonfly.go
342 create mode 100644 vendor/golang.org/x/sys/unix/sockcmsg_unix_other.go
343 create mode 100644 vendor/golang.org/x/sys/unix/syscall_aix.go
344 create mode 100644 vendor/golang.org/x/sys/unix/syscall_aix_ppc.go
345 create mode 100644 vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go
346 create mode 100644 vendor/golang.org/x/sys/unix/syscall_darwin.1_12.go
347 create mode 100644 vendor/golang.org/x/sys/unix/syscall_darwin.1_13.go
348 create mode 100644 vendor/golang.org/x/sys/unix/syscall_darwin_386.1_11.go
349 create mode 100644 vendor/golang.org/x/sys/unix/syscall_darwin_amd64.1_11.go
350 create mode 100644 vendor/golang.org/x/sys/unix/syscall_darwin_arm.1_11.go
351 create mode 100644 vendor/golang.org/x/sys/unix/syscall_darwin_arm64.1_11.go
352 create mode 100644 vendor/golang.org/x/sys/unix/syscall_darwin_libSystem.go
353 copy vendor/golang.org/x/sys/unix/{syscall_dragonfly_amd64.go => syscall_freebsd_arm64.go} (59%)
354 create mode 100644 vendor/golang.org/x/sys/unix/syscall_illumos.go
355 create mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_gc.go
356 create mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go
357 create mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go
358 create mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go
359 copy vendor/golang.org/x/sys/unix/{syscall_linux_arm64.go => syscall_linux_riscv64.go} (68%)
360 copy vendor/golang.org/x/sys/unix/{syscall_netbsd_amd64.go => syscall_netbsd_arm64.go} (50%)
361 delete mode 100644 vendor/golang.org/x/sys/unix/syscall_no_getwd.go
362 create mode 100644 vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go
363 copy vendor/golang.org/x/sys/unix/{syscall_unix_gc.go => syscall_unix_gc_ppc64x.go} (51%)
364 create mode 100644 vendor/golang.org/x/sys/unix/timestruct.go
365 copy vendor/golang.org/x/sys/unix/{types_netbsd.go => types_aix.go} (53%)
366 create mode 100644 vendor/golang.org/x/sys/unix/unveil_openbsd.go
367 create mode 100644 vendor/golang.org/x/sys/unix/xattr_bsd.go
368 create mode 100644 vendor/golang.org/x/sys/unix/zerrors_aix_ppc.go
369 create mode 100644 vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go
370 copy vendor/golang.org/x/sys/unix/{zerrors_freebsd_amd64.go => zerrors_freebsd_arm64.go} (80%)
371 create mode 100644 vendor/golang.org/x/sys/unix/zerrors_linux.go
372 create mode 100644 vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go
373 copy vendor/golang.org/x/sys/unix/{zerrors_netbsd_amd64.go => zerrors_netbsd_arm64.go} (89%)
374 copy vendor/golang.org/x/sys/unix/{zerrors_openbsd_amd64.go => zerrors_openbsd_arm64.go} (76%)
375 create mode 100644 vendor/golang.org/x/sys/unix/zptrace_armnn_linux.go
376 create mode 100644 vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go
377 create mode 100644 vendor/golang.org/x/sys/unix/zptrace_mipsnn_linux.go
378 create mode 100644 vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go
379 create mode 100644 vendor/golang.org/x/sys/unix/zptrace_x86_linux.go
380 create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go
381 copy vendor/golang.org/x/sys/unix/{zsyscall_netbsd_amd64.go => zsyscall_aix_ppc64.go} (57%)
382 create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go
383 create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go
384 copy vendor/golang.org/x/sys/unix/{zsyscall_darwin_arm.go => zsyscall_darwin_386.1_11.go} (85%)
385 create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_13.go
386 create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_13.s
387 create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_386.s
388 copy vendor/golang.org/x/sys/unix/{zsyscall_darwin_arm64.go => zsyscall_darwin_amd64.1_11.go} (85%)
389 create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_13.go
390 create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_13.s
391 create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s
392 copy vendor/golang.org/x/sys/unix/{zsyscall_darwin_arm.go => zsyscall_darwin_arm.1_11.go} (85%)
393 create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_13.go
394 create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_13.s
395 create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.s
396 copy vendor/golang.org/x/sys/unix/{zsyscall_darwin_arm64.go => zsyscall_darwin_arm64.1_11.go} (84%)
397 create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_13.go
398 create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_13.s
399 create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s
400 copy vendor/golang.org/x/sys/unix/{zsyscall_freebsd_amd64.go => zsyscall_freebsd_arm64.go} (90%)
401 create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go
402 copy vendor/golang.org/x/sys/unix/{zsyscall_linux_s390x.go => zsyscall_linux.go} (79%)
403 create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go
404 copy vendor/golang.org/x/sys/unix/{zsyscall_freebsd_amd64.go => zsyscall_netbsd_arm64.go} (92%)
405 copy vendor/golang.org/x/sys/unix/{zsyscall_darwin_386.go => zsyscall_openbsd_arm64.go} (87%)
406 copy vendor/golang.org/x/sys/unix/{zsysctl_openbsd.go => zsysctl_openbsd_386.go} (99%)
407 copy vendor/golang.org/x/sys/unix/{zsysctl_openbsd.go => zsysctl_openbsd_amd64.go} (91%)
408 copy vendor/golang.org/x/sys/unix/{zsysctl_openbsd.go => zsysctl_openbsd_arm.go} (99%)
409 rename vendor/golang.org/x/sys/unix/{zsysctl_openbsd.go => zsysctl_openbsd_arm64.go} (91%)
410 create mode 100644 vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go
411 copy vendor/golang.org/x/sys/unix/{zsysnum_linux_arm64.go => zsysnum_linux_riscv64.go} (92%)
412 copy vendor/golang.org/x/sys/unix/{zsysnum_netbsd_386.go => zsysnum_netbsd_arm64.go} (99%)
413 copy vendor/golang.org/x/sys/unix/{zsysnum_openbsd_arm.go => zsysnum_openbsd_arm64.go} (67%)
414 delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_solaris_amd64.go
415 create mode 100644 vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go
416 create mode 100644 vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go
417 copy vendor/golang.org/x/sys/unix/{ztypes_freebsd_amd64.go => ztypes_freebsd_arm64.go} (54%)
418 create mode 100644 vendor/golang.org/x/sys/unix/ztypes_linux.go
419 create mode 100644 vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go
420 copy vendor/golang.org/x/sys/unix/{ztypes_netbsd_amd64.go => ztypes_netbsd_arm64.go} (73%)
421 copy vendor/golang.org/x/sys/unix/{ztypes_openbsd_amd64.go => ztypes_openbsd_arm64.go} (58%)
422
423diff --git a/Gopkg.lock b/Gopkg.lock
424index b4333103..01a867d5 100644
425--- a/Gopkg.lock
426+++ b/Gopkg.lock
427@@ -112,11 +112,11 @@
428
429 [[projects]]
430 branch = "master"
431- digest = "1:51912e607c5e28a89fdc7e41d3377b92086ab7f76ded236765dbf98d0a704c5d"
432+ digest = "1:f8181d8aa1e268255316ec12ab5402d4f671b1da6d7ad40abdf2f92c0404b67d"
433 name = "golang.org/x/sys"
434 packages = ["unix"]
435 pruneopts = "NUT"
436- revision = "bb24a47a89eac6c1227fbcb2ae37a8b9ed323366"
437+ revision = "1957bb5e6d1f523308b49060df02171d06ddfc77"
438
439 [[projects]]
440 branch = "v2"
441diff --git a/vendor/golang.org/x/sys/unix/affinity_linux.go b/vendor/golang.org/x/sys/unix/affinity_linux.go
442new file mode 100644
443index 00000000..6e5c81ac
444--- /dev/null
445+++ b/vendor/golang.org/x/sys/unix/affinity_linux.go
446@@ -0,0 +1,86 @@
447+// Copyright 2018 The Go Authors. All rights reserved.
448+// Use of this source code is governed by a BSD-style
449+// license that can be found in the LICENSE file.
450+
451+// CPU affinity functions
452+
453+package unix
454+
455+import (
456+ "math/bits"
457+ "unsafe"
458+)
459+
460+const cpuSetSize = _CPU_SETSIZE / _NCPUBITS
461+
462+// CPUSet represents a CPU affinity mask.
463+type CPUSet [cpuSetSize]cpuMask
464+
465+func schedAffinity(trap uintptr, pid int, set *CPUSet) error {
466+ _, _, e := RawSyscall(trap, uintptr(pid), uintptr(unsafe.Sizeof(*set)), uintptr(unsafe.Pointer(set)))
467+ if e != 0 {
468+ return errnoErr(e)
469+ }
470+ return nil
471+}
472+
473+// SchedGetaffinity gets the CPU affinity mask of the thread specified by pid.
474+// If pid is 0 the calling thread is used.
475+func SchedGetaffinity(pid int, set *CPUSet) error {
476+ return schedAffinity(SYS_SCHED_GETAFFINITY, pid, set)
477+}
478+
479+// SchedSetaffinity sets the CPU affinity mask of the thread specified by pid.
480+// If pid is 0 the calling thread is used.
481+func SchedSetaffinity(pid int, set *CPUSet) error {
482+ return schedAffinity(SYS_SCHED_SETAFFINITY, pid, set)
483+}
484+
485+// Zero clears the set s, so that it contains no CPUs.
486+func (s *CPUSet) Zero() {
487+ for i := range s {
488+ s[i] = 0
489+ }
490+}
491+
492+func cpuBitsIndex(cpu int) int {
493+ return cpu / _NCPUBITS
494+}
495+
496+func cpuBitsMask(cpu int) cpuMask {
497+ return cpuMask(1 << (uint(cpu) % _NCPUBITS))
498+}
499+
500+// Set adds cpu to the set s.
501+func (s *CPUSet) Set(cpu int) {
502+ i := cpuBitsIndex(cpu)
503+ if i < len(s) {
504+ s[i] |= cpuBitsMask(cpu)
505+ }
506+}
507+
508+// Clear removes cpu from the set s.
509+func (s *CPUSet) Clear(cpu int) {
510+ i := cpuBitsIndex(cpu)
511+ if i < len(s) {
512+ s[i] &^= cpuBitsMask(cpu)
513+ }
514+}
515+
516+// IsSet reports whether cpu is in the set s.
517+func (s *CPUSet) IsSet(cpu int) bool {
518+ i := cpuBitsIndex(cpu)
519+ if i < len(s) {
520+ return s[i]&cpuBitsMask(cpu) != 0
521+ }
522+ return false
523+}
524+
525+// Count returns the number of CPUs in the set s.
526+func (s *CPUSet) Count() int {
527+ c := 0
528+ for _, b := range s {
529+ c += bits.OnesCount64(uint64(b))
530+ }
531+ return c
532+}
533diff --git a/vendor/golang.org/x/sys/unix/aliases.go b/vendor/golang.org/x/sys/unix/aliases.go
534new file mode 100644
535index 00000000..951fce4d
536--- /dev/null
537+++ b/vendor/golang.org/x/sys/unix/aliases.go
538@@ -0,0 +1,14 @@
539+// Copyright 2018 The Go Authors. All rights reserved.
540+// Use of this source code is governed by a BSD-style
541+// license that can be found in the LICENSE file.
542+
543+// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
544+// +build go1.9
545+
546+package unix
547+
548+import "syscall"
549+
550+type Signal = syscall.Signal
551+type Errno = syscall.Errno
552+type SysProcAttr = syscall.SysProcAttr
553diff --git a/vendor/golang.org/x/sys/unix/asm_aix_ppc64.s b/vendor/golang.org/x/sys/unix/asm_aix_ppc64.s
554new file mode 100644
555index 00000000..06f84b85
556--- /dev/null
557+++ b/vendor/golang.org/x/sys/unix/asm_aix_ppc64.s
558@@ -0,0 +1,17 @@
559+// Copyright 2018 The Go Authors. All rights reserved.
560+// Use of this source code is governed by a BSD-style
561+// license that can be found in the LICENSE file.
562+
563+// +build !gccgo
564+
565+#include "textflag.h"
566+
567+//
568+// System calls for ppc64, AIX are implemented in runtime/syscall_aix.go
569+//
570+
571+TEXT ·syscall6(SB),NOSPLIT,$0-88
572+ JMP syscall·syscall6(SB)
573+
574+TEXT ·rawSyscall6(SB),NOSPLIT,$0-88
575+ JMP syscall·rawSyscall6(SB)
576diff --git a/vendor/golang.org/x/sys/unix/asm_dragonfly_amd64.s b/vendor/golang.org/x/sys/unix/asm_dragonfly_amd64.s
577index d5ed6726..603dd572 100644
578--- a/vendor/golang.org/x/sys/unix/asm_dragonfly_amd64.s
579+++ b/vendor/golang.org/x/sys/unix/asm_dragonfly_amd64.s
580@@ -13,17 +13,17 @@
581 // Just jump to package syscall's implementation for all these functions.
582 // The runtime may know about them.
583
584-TEXT ·Syscall(SB),NOSPLIT,$0-64
585+TEXT ·Syscall(SB),NOSPLIT,$0-56
586 JMP syscall·Syscall(SB)
587
588-TEXT ·Syscall6(SB),NOSPLIT,$0-88
589+TEXT ·Syscall6(SB),NOSPLIT,$0-80
590 JMP syscall·Syscall6(SB)
591
592-TEXT ·Syscall9(SB),NOSPLIT,$0-112
593+TEXT ·Syscall9(SB),NOSPLIT,$0-104
594 JMP syscall·Syscall9(SB)
595
596-TEXT ·RawSyscall(SB),NOSPLIT,$0-64
597+TEXT ·RawSyscall(SB),NOSPLIT,$0-56
598 JMP syscall·RawSyscall(SB)
599
600-TEXT ·RawSyscall6(SB),NOSPLIT,$0-88
601+TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
602 JMP syscall·RawSyscall6(SB)
603diff --git a/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s b/vendor/golang.org/x/sys/unix/asm_freebsd_arm64.s
604similarity index 71%
605copy from vendor/golang.org/x/sys/unix/asm_linux_mips64x.s
606copy to vendor/golang.org/x/sys/unix/asm_freebsd_arm64.s
607index 724e580c..d9318cbf 100644
608--- a/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s
609+++ b/vendor/golang.org/x/sys/unix/asm_freebsd_arm64.s
610@@ -1,15 +1,13 @@
611-// Copyright 2015 The Go Authors. All rights reserved.
612+// Copyright 2018 The Go Authors. All rights reserved.
613 // Use of this source code is governed by a BSD-style
614 // license that can be found in the LICENSE file.
615
616-// +build linux
617-// +build mips64 mips64le
618 // +build !gccgo
619
620 #include "textflag.h"
621
622 //
623-// System calls for mips64, Linux
624+// System call support for ARM64, FreeBSD
625 //
626
627 // Just jump to package syscall's implementation for all these functions.
628@@ -21,7 +19,10 @@ TEXT ·Syscall(SB),NOSPLIT,$0-56
629 TEXT ·Syscall6(SB),NOSPLIT,$0-80
630 JMP syscall·Syscall6(SB)
631
632-TEXT ·RawSyscall(SB),NOSPLIT,$0-56
633+TEXT ·Syscall9(SB),NOSPLIT,$0-104
634+ JMP syscall·Syscall9(SB)
635+
636+TEXT ·RawSyscall(SB),NOSPLIT,$0-56
637 JMP syscall·RawSyscall(SB)
638
639 TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
640diff --git a/vendor/golang.org/x/sys/unix/asm_linux_386.s b/vendor/golang.org/x/sys/unix/asm_linux_386.s
641index 4db29093..448bebbb 100644
642--- a/vendor/golang.org/x/sys/unix/asm_linux_386.s
643+++ b/vendor/golang.org/x/sys/unix/asm_linux_386.s
644@@ -10,21 +10,51 @@
645 // System calls for 386, Linux
646 //
647
648+// See ../runtime/sys_linux_386.s for the reason why we always use int 0x80
649+// instead of the glibc-specific "CALL 0x10(GS)".
650+#define INVOKE_SYSCALL INT $0x80
651+
652 // Just jump to package syscall's implementation for all these functions.
653 // The runtime may know about them.
654
655-TEXT ·Syscall(SB),NOSPLIT,$0-28
656+TEXT ·Syscall(SB),NOSPLIT,$0-28
657 JMP syscall·Syscall(SB)
658
659-TEXT ·Syscall6(SB),NOSPLIT,$0-40
660+TEXT ·Syscall6(SB),NOSPLIT,$0-40
661 JMP syscall·Syscall6(SB)
662
663+TEXT ·SyscallNoError(SB),NOSPLIT,$0-24
664+ CALL runtime·entersyscall(SB)
665+ MOVL trap+0(FP), AX // syscall entry
666+ MOVL a1+4(FP), BX
667+ MOVL a2+8(FP), CX
668+ MOVL a3+12(FP), DX
669+ MOVL $0, SI
670+ MOVL $0, DI
671+ INVOKE_SYSCALL
672+ MOVL AX, r1+16(FP)
673+ MOVL DX, r2+20(FP)
674+ CALL runtime·exitsyscall(SB)
675+ RET
676+
677 TEXT ·RawSyscall(SB),NOSPLIT,$0-28
678 JMP syscall·RawSyscall(SB)
679
680-TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
681+TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
682 JMP syscall·RawSyscall6(SB)
683
684+TEXT ·RawSyscallNoError(SB),NOSPLIT,$0-24
685+ MOVL trap+0(FP), AX // syscall entry
686+ MOVL a1+4(FP), BX
687+ MOVL a2+8(FP), CX
688+ MOVL a3+12(FP), DX
689+ MOVL $0, SI
690+ MOVL $0, DI
691+ INVOKE_SYSCALL
692+ MOVL AX, r1+16(FP)
693+ MOVL DX, r2+20(FP)
694+ RET
695+
696 TEXT ·socketcall(SB),NOSPLIT,$0-36
697 JMP syscall·socketcall(SB)
698
699diff --git a/vendor/golang.org/x/sys/unix/asm_linux_amd64.s b/vendor/golang.org/x/sys/unix/asm_linux_amd64.s
700index 44e25c62..c6468a95 100644
701--- a/vendor/golang.org/x/sys/unix/asm_linux_amd64.s
702+++ b/vendor/golang.org/x/sys/unix/asm_linux_amd64.s
703@@ -13,17 +13,45 @@
704 // Just jump to package syscall's implementation for all these functions.
705 // The runtime may know about them.
706
707-TEXT ·Syscall(SB),NOSPLIT,$0-56
708+TEXT ·Syscall(SB),NOSPLIT,$0-56
709 JMP syscall·Syscall(SB)
710
711 TEXT ·Syscall6(SB),NOSPLIT,$0-80
712 JMP syscall·Syscall6(SB)
713
714+TEXT ·SyscallNoError(SB),NOSPLIT,$0-48
715+ CALL runtime·entersyscall(SB)
716+ MOVQ a1+8(FP), DI
717+ MOVQ a2+16(FP), SI
718+ MOVQ a3+24(FP), DX
719+ MOVQ $0, R10
720+ MOVQ $0, R8
721+ MOVQ $0, R9
722+ MOVQ trap+0(FP), AX // syscall entry
723+ SYSCALL
724+ MOVQ AX, r1+32(FP)
725+ MOVQ DX, r2+40(FP)
726+ CALL runtime·exitsyscall(SB)
727+ RET
728+
729 TEXT ·RawSyscall(SB),NOSPLIT,$0-56
730 JMP syscall·RawSyscall(SB)
731
732 TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
733 JMP syscall·RawSyscall6(SB)
734
735+TEXT ·RawSyscallNoError(SB),NOSPLIT,$0-48
736+ MOVQ a1+8(FP), DI
737+ MOVQ a2+16(FP), SI
738+ MOVQ a3+24(FP), DX
739+ MOVQ $0, R10
740+ MOVQ $0, R8
741+ MOVQ $0, R9
742+ MOVQ trap+0(FP), AX // syscall entry
743+ SYSCALL
744+ MOVQ AX, r1+32(FP)
745+ MOVQ DX, r2+40(FP)
746+ RET
747+
748 TEXT ·gettimeofday(SB),NOSPLIT,$0-16
749 JMP syscall·gettimeofday(SB)
750diff --git a/vendor/golang.org/x/sys/unix/asm_linux_arm.s b/vendor/golang.org/x/sys/unix/asm_linux_arm.s
751index cf0b5746..cf0f3575 100644
752--- a/vendor/golang.org/x/sys/unix/asm_linux_arm.s
753+++ b/vendor/golang.org/x/sys/unix/asm_linux_arm.s
754@@ -13,17 +13,44 @@
755 // Just jump to package syscall's implementation for all these functions.
756 // The runtime may know about them.
757
758-TEXT ·Syscall(SB),NOSPLIT,$0-28
759+TEXT ·Syscall(SB),NOSPLIT,$0-28
760 B syscall·Syscall(SB)
761
762-TEXT ·Syscall6(SB),NOSPLIT,$0-40
763+TEXT ·Syscall6(SB),NOSPLIT,$0-40
764 B syscall·Syscall6(SB)
765
766+TEXT ·SyscallNoError(SB),NOSPLIT,$0-24
767+ BL runtime·entersyscall(SB)
768+ MOVW trap+0(FP), R7
769+ MOVW a1+4(FP), R0
770+ MOVW a2+8(FP), R1
771+ MOVW a3+12(FP), R2
772+ MOVW $0, R3
773+ MOVW $0, R4
774+ MOVW $0, R5
775+ SWI $0
776+ MOVW R0, r1+16(FP)
777+ MOVW $0, R0
778+ MOVW R0, r2+20(FP)
779+ BL runtime·exitsyscall(SB)
780+ RET
781+
782 TEXT ·RawSyscall(SB),NOSPLIT,$0-28
783 B syscall·RawSyscall(SB)
784
785-TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
786+TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
787 B syscall·RawSyscall6(SB)
788
789-TEXT ·seek(SB),NOSPLIT,$0-32
790+TEXT ·RawSyscallNoError(SB),NOSPLIT,$0-24
791+ MOVW trap+0(FP), R7 // syscall entry
792+ MOVW a1+4(FP), R0
793+ MOVW a2+8(FP), R1
794+ MOVW a3+12(FP), R2
795+ SWI $0
796+ MOVW R0, r1+16(FP)
797+ MOVW $0, R0
798+ MOVW R0, r2+20(FP)
799+ RET
800+
801+TEXT ·seek(SB),NOSPLIT,$0-28
802 B syscall·seek(SB)
803diff --git a/vendor/golang.org/x/sys/unix/asm_linux_arm64.s b/vendor/golang.org/x/sys/unix/asm_linux_arm64.s
804index 4be9bfed..afe6fdf6 100644
805--- a/vendor/golang.org/x/sys/unix/asm_linux_arm64.s
806+++ b/vendor/golang.org/x/sys/unix/asm_linux_arm64.s
807@@ -11,14 +11,42 @@
808 // Just jump to package syscall's implementation for all these functions.
809 // The runtime may know about them.
810
811-TEXT ·Syscall(SB),NOSPLIT,$0-56
812+TEXT ·Syscall(SB),NOSPLIT,$0-56
813 B syscall·Syscall(SB)
814
815 TEXT ·Syscall6(SB),NOSPLIT,$0-80
816 B syscall·Syscall6(SB)
817
818+TEXT ·SyscallNoError(SB),NOSPLIT,$0-48
819+ BL runtime·entersyscall(SB)
820+ MOVD a1+8(FP), R0
821+ MOVD a2+16(FP), R1
822+ MOVD a3+24(FP), R2
823+ MOVD $0, R3
824+ MOVD $0, R4
825+ MOVD $0, R5
826+ MOVD trap+0(FP), R8 // syscall entry
827+ SVC
828+ MOVD R0, r1+32(FP) // r1
829+ MOVD R1, r2+40(FP) // r2
830+ BL runtime·exitsyscall(SB)
831+ RET
832+
833 TEXT ·RawSyscall(SB),NOSPLIT,$0-56
834 B syscall·RawSyscall(SB)
835
836 TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
837 B syscall·RawSyscall6(SB)
838+
839+TEXT ·RawSyscallNoError(SB),NOSPLIT,$0-48
840+ MOVD a1+8(FP), R0
841+ MOVD a2+16(FP), R1
842+ MOVD a3+24(FP), R2
843+ MOVD $0, R3
844+ MOVD $0, R4
845+ MOVD $0, R5
846+ MOVD trap+0(FP), R8 // syscall entry
847+ SVC
848+ MOVD R0, r1+32(FP)
849+ MOVD R1, r2+40(FP)
850+ RET
851diff --git a/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s b/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s
852index 724e580c..ab9d6383 100644
853--- a/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s
854+++ b/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s
855@@ -15,14 +15,42 @@
856 // Just jump to package syscall's implementation for all these functions.
857 // The runtime may know about them.
858
859-TEXT ·Syscall(SB),NOSPLIT,$0-56
860+TEXT ·Syscall(SB),NOSPLIT,$0-56
861 JMP syscall·Syscall(SB)
862
863-TEXT ·Syscall6(SB),NOSPLIT,$0-80
864+TEXT ·Syscall6(SB),NOSPLIT,$0-80
865 JMP syscall·Syscall6(SB)
866
867-TEXT ·RawSyscall(SB),NOSPLIT,$0-56
868+TEXT ·SyscallNoError(SB),NOSPLIT,$0-48
869+ JAL runtime·entersyscall(SB)
870+ MOVV a1+8(FP), R4
871+ MOVV a2+16(FP), R5
872+ MOVV a3+24(FP), R6
873+ MOVV R0, R7
874+ MOVV R0, R8
875+ MOVV R0, R9
876+ MOVV trap+0(FP), R2 // syscall entry
877+ SYSCALL
878+ MOVV R2, r1+32(FP)
879+ MOVV R3, r2+40(FP)
880+ JAL runtime·exitsyscall(SB)
881+ RET
882+
883+TEXT ·RawSyscall(SB),NOSPLIT,$0-56
884 JMP syscall·RawSyscall(SB)
885
886-TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
887+TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
888 JMP syscall·RawSyscall6(SB)
889+
890+TEXT ·RawSyscallNoError(SB),NOSPLIT,$0-48
891+ MOVV a1+8(FP), R4
892+ MOVV a2+16(FP), R5
893+ MOVV a3+24(FP), R6
894+ MOVV R0, R7
895+ MOVV R0, R8
896+ MOVV R0, R9
897+ MOVV trap+0(FP), R2 // syscall entry
898+ SYSCALL
899+ MOVV R2, r1+32(FP)
900+ MOVV R3, r2+40(FP)
901+ RET
902diff --git a/vendor/golang.org/x/sys/unix/asm_linux_mipsx.s b/vendor/golang.org/x/sys/unix/asm_linux_mipsx.s
903index 2ea42575..99e53990 100644
904--- a/vendor/golang.org/x/sys/unix/asm_linux_mipsx.s
905+++ b/vendor/golang.org/x/sys/unix/asm_linux_mipsx.s
906@@ -15,17 +15,40 @@
907 // Just jump to package syscall's implementation for all these functions.
908 // The runtime may know about them.
909
910-TEXT ·Syscall(SB),NOSPLIT,$0-28
911+TEXT ·Syscall(SB),NOSPLIT,$0-28
912 JMP syscall·Syscall(SB)
913
914-TEXT ·Syscall6(SB),NOSPLIT,$0-40
915+TEXT ·Syscall6(SB),NOSPLIT,$0-40
916 JMP syscall·Syscall6(SB)
917
918-TEXT ·Syscall9(SB),NOSPLIT,$0-52
919+TEXT ·Syscall9(SB),NOSPLIT,$0-52
920 JMP syscall·Syscall9(SB)
921
922-TEXT ·RawSyscall(SB),NOSPLIT,$0-28
923+TEXT ·SyscallNoError(SB),NOSPLIT,$0-24
924+ JAL runtime·entersyscall(SB)
925+ MOVW a1+4(FP), R4
926+ MOVW a2+8(FP), R5
927+ MOVW a3+12(FP), R6
928+ MOVW R0, R7
929+ MOVW trap+0(FP), R2 // syscall entry
930+ SYSCALL
931+ MOVW R2, r1+16(FP) // r1
932+ MOVW R3, r2+20(FP) // r2
933+ JAL runtime·exitsyscall(SB)
934+ RET
935+
936+TEXT ·RawSyscall(SB),NOSPLIT,$0-28
937 JMP syscall·RawSyscall(SB)
938
939-TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
940+TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
941 JMP syscall·RawSyscall6(SB)
942+
943+TEXT ·RawSyscallNoError(SB),NOSPLIT,$0-24
944+ MOVW a1+4(FP), R4
945+ MOVW a2+8(FP), R5
946+ MOVW a3+12(FP), R6
947+ MOVW trap+0(FP), R2 // syscall entry
948+ SYSCALL
949+ MOVW R2, r1+16(FP)
950+ MOVW R3, r2+20(FP)
951+ RET
952diff --git a/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s b/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s
953index 8d231feb..88f71255 100644
954--- a/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s
955+++ b/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s
956@@ -15,14 +15,30 @@
957 // Just jump to package syscall's implementation for all these functions.
958 // The runtime may know about them.
959
960-TEXT ·Syscall(SB),NOSPLIT,$0-56
961- BR syscall·Syscall(SB)
962-
963-TEXT ·Syscall6(SB),NOSPLIT,$0-80
964- BR syscall·Syscall6(SB)
965-
966-TEXT ·RawSyscall(SB),NOSPLIT,$0-56
967- BR syscall·RawSyscall(SB)
968-
969-TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
970- BR syscall·RawSyscall6(SB)
971+TEXT ·SyscallNoError(SB),NOSPLIT,$0-48
972+ BL runtime·entersyscall(SB)
973+ MOVD a1+8(FP), R3
974+ MOVD a2+16(FP), R4
975+ MOVD a3+24(FP), R5
976+ MOVD R0, R6
977+ MOVD R0, R7
978+ MOVD R0, R8
979+ MOVD trap+0(FP), R9 // syscall entry
980+ SYSCALL R9
981+ MOVD R3, r1+32(FP)
982+ MOVD R4, r2+40(FP)
983+ BL runtime·exitsyscall(SB)
984+ RET
985+
986+TEXT ·RawSyscallNoError(SB),NOSPLIT,$0-48
987+ MOVD a1+8(FP), R3
988+ MOVD a2+16(FP), R4
989+ MOVD a3+24(FP), R5
990+ MOVD R0, R6
991+ MOVD R0, R7
992+ MOVD R0, R8
993+ MOVD trap+0(FP), R9 // syscall entry
994+ SYSCALL R9
995+ MOVD R3, r1+32(FP)
996+ MOVD R4, r2+40(FP)
997+ RET
998diff --git a/vendor/golang.org/x/sys/unix/asm_linux_riscv64.s b/vendor/golang.org/x/sys/unix/asm_linux_riscv64.s
999new file mode 100644
1000index 00000000..3cfefed2
1001--- /dev/null
1002+++ b/vendor/golang.org/x/sys/unix/asm_linux_riscv64.s
1003@@ -0,0 +1,47 @@
1004+// Copyright 2019 The Go Authors. All rights reserved.
1005+// Use of this source code is governed by a BSD-style
1006+// license that can be found in the LICENSE file.
1007+
1008+// +build riscv64,!gccgo
1009+
1010+#include "textflag.h"
1011+
1012+//
1013+// System calls for linux/riscv64.
1014+//
1015+// Where available, just jump to package syscall's implementation of
1016+// these functions.
1017+
1018+TEXT ·Syscall(SB),NOSPLIT,$0-56
1019+ JMP syscall·Syscall(SB)
1020+
1021+TEXT ·Syscall6(SB),NOSPLIT,$0-80
1022+ JMP syscall·Syscall6(SB)
1023+
1024+TEXT ·SyscallNoError(SB),NOSPLIT,$0-48
1025+ CALL runtime·entersyscall(SB)
1026+ MOV a1+8(FP), A0
1027+ MOV a2+16(FP), A1
1028+ MOV a3+24(FP), A2
1029+ MOV trap+0(FP), A7 // syscall entry
1030+ ECALL
1031+ MOV A0, r1+32(FP) // r1
1032+ MOV A1, r2+40(FP) // r2
1033+ CALL runtime·exitsyscall(SB)
1034+ RET
1035+
1036+TEXT ·RawSyscall(SB),NOSPLIT,$0-56
1037+ JMP syscall·RawSyscall(SB)
1038+
1039+TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
1040+ JMP syscall·RawSyscall6(SB)
1041+
1042+TEXT ·RawSyscallNoError(SB),NOSPLIT,$0-48
1043+ MOV a1+8(FP), A0
1044+ MOV a2+16(FP), A1
1045+ MOV a3+24(FP), A2
1046+ MOV trap+0(FP), A7 // syscall entry
1047+ ECALL
1048+ MOV A0, r1+32(FP)
1049+ MOV A1, r2+40(FP)
1050+ RET
1051diff --git a/vendor/golang.org/x/sys/unix/asm_linux_s390x.s b/vendor/golang.org/x/sys/unix/asm_linux_s390x.s
1052index 11889859..a5a863c6 100644
1053--- a/vendor/golang.org/x/sys/unix/asm_linux_s390x.s
1054+++ b/vendor/golang.org/x/sys/unix/asm_linux_s390x.s
1055@@ -21,8 +21,36 @@ TEXT ·Syscall(SB),NOSPLIT,$0-56
1056 TEXT ·Syscall6(SB),NOSPLIT,$0-80
1057 BR syscall·Syscall6(SB)
1058
1059+TEXT ·SyscallNoError(SB),NOSPLIT,$0-48
1060+ BL runtime·entersyscall(SB)
1061+ MOVD a1+8(FP), R2
1062+ MOVD a2+16(FP), R3
1063+ MOVD a3+24(FP), R4
1064+ MOVD $0, R5
1065+ MOVD $0, R6
1066+ MOVD $0, R7
1067+ MOVD trap+0(FP), R1 // syscall entry
1068+ SYSCALL
1069+ MOVD R2, r1+32(FP)
1070+ MOVD R3, r2+40(FP)
1071+ BL runtime·exitsyscall(SB)
1072+ RET
1073+
1074 TEXT ·RawSyscall(SB),NOSPLIT,$0-56
1075 BR syscall·RawSyscall(SB)
1076
1077 TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
1078 BR syscall·RawSyscall6(SB)
1079+
1080+TEXT ·RawSyscallNoError(SB),NOSPLIT,$0-48
1081+ MOVD a1+8(FP), R2
1082+ MOVD a2+16(FP), R3
1083+ MOVD a3+24(FP), R4
1084+ MOVD $0, R5
1085+ MOVD $0, R6
1086+ MOVD $0, R7
1087+ MOVD trap+0(FP), R1 // syscall entry
1088+ SYSCALL
1089+ MOVD R2, r1+32(FP)
1090+ MOVD R3, r2+40(FP)
1091+ RET
1092diff --git a/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s b/vendor/golang.org/x/sys/unix/asm_netbsd_arm64.s
1093similarity index 60%
1094copy from vendor/golang.org/x/sys/unix/asm_linux_mips64x.s
1095copy to vendor/golang.org/x/sys/unix/asm_netbsd_arm64.s
1096index 724e580c..6f98ba5a 100644
1097--- a/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s
1098+++ b/vendor/golang.org/x/sys/unix/asm_netbsd_arm64.s
1099@@ -1,28 +1,29 @@
1100-// Copyright 2015 The Go Authors. All rights reserved.
1101+// Copyright 2019 The Go Authors. All rights reserved.
1102 // Use of this source code is governed by a BSD-style
1103 // license that can be found in the LICENSE file.
1104
1105-// +build linux
1106-// +build mips64 mips64le
1107 // +build !gccgo
1108
1109 #include "textflag.h"
1110
1111 //
1112-// System calls for mips64, Linux
1113+// System call support for ARM64, NetBSD
1114 //
1115
1116 // Just jump to package syscall's implementation for all these functions.
1117 // The runtime may know about them.
1118
1119 TEXT ·Syscall(SB),NOSPLIT,$0-56
1120- JMP syscall·Syscall(SB)
1121+ B syscall·Syscall(SB)
1122
1123 TEXT ·Syscall6(SB),NOSPLIT,$0-80
1124- JMP syscall·Syscall6(SB)
1125+ B syscall·Syscall6(SB)
1126+
1127+TEXT ·Syscall9(SB),NOSPLIT,$0-104
1128+ B syscall·Syscall9(SB)
1129
1130 TEXT ·RawSyscall(SB),NOSPLIT,$0-56
1131- JMP syscall·RawSyscall(SB)
1132+ B syscall·RawSyscall(SB)
1133
1134 TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
1135- JMP syscall·RawSyscall6(SB)
1136+ B syscall·RawSyscall6(SB)
1137diff --git a/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s b/vendor/golang.org/x/sys/unix/asm_openbsd_arm64.s
1138similarity index 76%
1139copy from vendor/golang.org/x/sys/unix/asm_linux_mips64x.s
1140copy to vendor/golang.org/x/sys/unix/asm_openbsd_arm64.s
1141index 724e580c..0cedea3d 100644
1142--- a/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s
1143+++ b/vendor/golang.org/x/sys/unix/asm_openbsd_arm64.s
1144@@ -1,15 +1,13 @@
1145-// Copyright 2015 The Go Authors. All rights reserved.
1146+// Copyright 2019 The Go Authors. All rights reserved.
1147 // Use of this source code is governed by a BSD-style
1148 // license that can be found in the LICENSE file.
1149
1150-// +build linux
1151-// +build mips64 mips64le
1152 // +build !gccgo
1153
1154 #include "textflag.h"
1155
1156 //
1157-// System calls for mips64, Linux
1158+// System call support for arm64, OpenBSD
1159 //
1160
1161 // Just jump to package syscall's implementation for all these functions.
1162@@ -21,6 +19,9 @@ TEXT ·Syscall(SB),NOSPLIT,$0-56
1163 TEXT ·Syscall6(SB),NOSPLIT,$0-80
1164 JMP syscall·Syscall6(SB)
1165
1166+TEXT ·Syscall9(SB),NOSPLIT,$0-104
1167+ JMP syscall·Syscall9(SB)
1168+
1169 TEXT ·RawSyscall(SB),NOSPLIT,$0-56
1170 JMP syscall·RawSyscall(SB)
1171
1172diff --git a/vendor/golang.org/x/sys/unix/bluetooth_linux.go b/vendor/golang.org/x/sys/unix/bluetooth_linux.go
1173index 6e322969..a178a614 100644
1174--- a/vendor/golang.org/x/sys/unix/bluetooth_linux.go
1175+++ b/vendor/golang.org/x/sys/unix/bluetooth_linux.go
1176@@ -23,6 +23,7 @@ const (
1177 HCI_CHANNEL_USER = 1
1178 HCI_CHANNEL_MONITOR = 2
1179 HCI_CHANNEL_CONTROL = 3
1180+ HCI_CHANNEL_LOGGING = 4
1181 )
1182
1183 // Socketoption Level
1184diff --git a/vendor/golang.org/x/sys/unix/cap_freebsd.go b/vendor/golang.org/x/sys/unix/cap_freebsd.go
1185index 83b6bcea..df520487 100644
1186--- a/vendor/golang.org/x/sys/unix/cap_freebsd.go
1187+++ b/vendor/golang.org/x/sys/unix/cap_freebsd.go
1188@@ -7,7 +7,7 @@
1189 package unix
1190
1191 import (
1192- errorspkg "errors"
1193+ "errors"
1194 "fmt"
1195 )
1196
1197@@ -60,26 +60,26 @@ func CapRightsSet(rights *CapRights, setrights []uint64) error {
1198
1199 n := caparsize(rights)
1200 if n < capArSizeMin || n > capArSizeMax {
1201- return errorspkg.New("bad rights size")
1202+ return errors.New("bad rights size")
1203 }
1204
1205 for _, right := range setrights {
1206 if caprver(right) != CAP_RIGHTS_VERSION_00 {
1207- return errorspkg.New("bad right version")
1208+ return errors.New("bad right version")
1209 }
1210 i, err := rightToIndex(right)
1211 if err != nil {
1212 return err
1213 }
1214 if i >= n {
1215- return errorspkg.New("index overflow")
1216+ return errors.New("index overflow")
1217 }
1218 if capidxbit(rights.Rights[i]) != capidxbit(right) {
1219- return errorspkg.New("index mismatch")
1220+ return errors.New("index mismatch")
1221 }
1222 rights.Rights[i] |= right
1223 if capidxbit(rights.Rights[i]) != capidxbit(right) {
1224- return errorspkg.New("index mismatch (after assign)")
1225+ return errors.New("index mismatch (after assign)")
1226 }
1227 }
1228
1229@@ -95,26 +95,26 @@ func CapRightsClear(rights *CapRights, clearrights []uint64) error {
1230
1231 n := caparsize(rights)
1232 if n < capArSizeMin || n > capArSizeMax {
1233- return errorspkg.New("bad rights size")
1234+ return errors.New("bad rights size")
1235 }
1236
1237 for _, right := range clearrights {
1238 if caprver(right) != CAP_RIGHTS_VERSION_00 {
1239- return errorspkg.New("bad right version")
1240+ return errors.New("bad right version")
1241 }
1242 i, err := rightToIndex(right)
1243 if err != nil {
1244 return err
1245 }
1246 if i >= n {
1247- return errorspkg.New("index overflow")
1248+ return errors.New("index overflow")
1249 }
1250 if capidxbit(rights.Rights[i]) != capidxbit(right) {
1251- return errorspkg.New("index mismatch")
1252+ return errors.New("index mismatch")
1253 }
1254 rights.Rights[i] &= ^(right & 0x01FFFFFFFFFFFFFF)
1255 if capidxbit(rights.Rights[i]) != capidxbit(right) {
1256- return errorspkg.New("index mismatch (after assign)")
1257+ return errors.New("index mismatch (after assign)")
1258 }
1259 }
1260
1261@@ -130,22 +130,22 @@ func CapRightsIsSet(rights *CapRights, setrights []uint64) (bool, error) {
1262
1263 n := caparsize(rights)
1264 if n < capArSizeMin || n > capArSizeMax {
1265- return false, errorspkg.New("bad rights size")
1266+ return false, errors.New("bad rights size")
1267 }
1268
1269 for _, right := range setrights {
1270 if caprver(right) != CAP_RIGHTS_VERSION_00 {
1271- return false, errorspkg.New("bad right version")
1272+ return false, errors.New("bad right version")
1273 }
1274 i, err := rightToIndex(right)
1275 if err != nil {
1276 return false, err
1277 }
1278 if i >= n {
1279- return false, errorspkg.New("index overflow")
1280+ return false, errors.New("index overflow")
1281 }
1282 if capidxbit(rights.Rights[i]) != capidxbit(right) {
1283- return false, errorspkg.New("index mismatch")
1284+ return false, errors.New("index mismatch")
1285 }
1286 if (rights.Rights[i] & right) != right {
1287 return false, nil
1288diff --git a/vendor/golang.org/x/sys/unix/constants.go b/vendor/golang.org/x/sys/unix/constants.go
1289index a96f0ebc..3a6ac648 100644
1290--- a/vendor/golang.org/x/sys/unix/constants.go
1291+++ b/vendor/golang.org/x/sys/unix/constants.go
1292@@ -2,7 +2,7 @@
1293 // Use of this source code is governed by a BSD-style
1294 // license that can be found in the LICENSE file.
1295
1296-// +build darwin dragonfly freebsd linux netbsd openbsd solaris
1297+// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
1298
1299 package unix
1300
1301diff --git a/vendor/golang.org/x/sys/unix/dev_aix_ppc.go b/vendor/golang.org/x/sys/unix/dev_aix_ppc.go
1302new file mode 100644
1303index 00000000..5e5fb451
1304--- /dev/null
1305+++ b/vendor/golang.org/x/sys/unix/dev_aix_ppc.go
1306@@ -0,0 +1,27 @@
1307+// Copyright 2018 The Go Authors. All rights reserved.
1308+// Use of this source code is governed by a BSD-style
1309+// license that can be found in the LICENSE file.
1310+
1311+// +build aix
1312+// +build ppc
1313+
1314+// Functions to access/create device major and minor numbers matching the
1315+// encoding used by AIX.
1316+
1317+package unix
1318+
1319+// Major returns the major component of a Linux device number.
1320+func Major(dev uint64) uint32 {
1321+ return uint32((dev >> 16) & 0xffff)
1322+}
1323+
1324+// Minor returns the minor component of a Linux device number.
1325+func Minor(dev uint64) uint32 {
1326+ return uint32(dev & 0xffff)
1327+}
1328+
1329+// Mkdev returns a Linux device number generated from the given major and minor
1330+// components.
1331+func Mkdev(major, minor uint32) uint64 {
1332+ return uint64(((major) << 16) | (minor))
1333+}
1334diff --git a/vendor/golang.org/x/sys/unix/dev_aix_ppc64.go b/vendor/golang.org/x/sys/unix/dev_aix_ppc64.go
1335new file mode 100644
1336index 00000000..8b401244
1337--- /dev/null
1338+++ b/vendor/golang.org/x/sys/unix/dev_aix_ppc64.go
1339@@ -0,0 +1,29 @@
1340+// Copyright 2018 The Go Authors. All rights reserved.
1341+// Use of this source code is governed by a BSD-style
1342+// license that can be found in the LICENSE file.
1343+
1344+// +build aix
1345+// +build ppc64
1346+
1347+// Functions to access/create device major and minor numbers matching the
1348+// encoding used AIX.
1349+
1350+package unix
1351+
1352+// Major returns the major component of a Linux device number.
1353+func Major(dev uint64) uint32 {
1354+ return uint32((dev & 0x3fffffff00000000) >> 32)
1355+}
1356+
1357+// Minor returns the minor component of a Linux device number.
1358+func Minor(dev uint64) uint32 {
1359+ return uint32((dev & 0x00000000ffffffff) >> 0)
1360+}
1361+
1362+// Mkdev returns a Linux device number generated from the given major and minor
1363+// components.
1364+func Mkdev(major, minor uint32) uint64 {
1365+ var DEVNO64 uint64
1366+ DEVNO64 = 0x8000000000000000
1367+ return ((uint64(major) << 32) | (uint64(minor) & 0x00000000FFFFFFFF) | DEVNO64)
1368+}
1369diff --git a/vendor/golang.org/x/sys/unix/dev_darwin.go b/vendor/golang.org/x/sys/unix/dev_darwin.go
1370new file mode 100644
1371index 00000000..8d1dc0fa
1372--- /dev/null
1373+++ b/vendor/golang.org/x/sys/unix/dev_darwin.go
1374@@ -0,0 +1,24 @@
1375+// Copyright 2017 The Go Authors. All rights reserved.
1376+// Use of this source code is governed by a BSD-style
1377+// license that can be found in the LICENSE file.
1378+
1379+// Functions to access/create device major and minor numbers matching the
1380+// encoding used in Darwin's sys/types.h header.
1381+
1382+package unix
1383+
1384+// Major returns the major component of a Darwin device number.
1385+func Major(dev uint64) uint32 {
1386+ return uint32((dev >> 24) & 0xff)
1387+}
1388+
1389+// Minor returns the minor component of a Darwin device number.
1390+func Minor(dev uint64) uint32 {
1391+ return uint32(dev & 0xffffff)
1392+}
1393+
1394+// Mkdev returns a Darwin device number generated from the given major and minor
1395+// components.
1396+func Mkdev(major, minor uint32) uint64 {
1397+ return (uint64(major) << 24) | uint64(minor)
1398+}
1399diff --git a/vendor/golang.org/x/sys/unix/dev_dragonfly.go b/vendor/golang.org/x/sys/unix/dev_dragonfly.go
1400new file mode 100644
1401index 00000000..8502f202
1402--- /dev/null
1403+++ b/vendor/golang.org/x/sys/unix/dev_dragonfly.go
1404@@ -0,0 +1,30 @@
1405+// Copyright 2017 The Go Authors. All rights reserved.
1406+// Use of this source code is governed by a BSD-style
1407+// license that can be found in the LICENSE file.
1408+
1409+// Functions to access/create device major and minor numbers matching the
1410+// encoding used in Dragonfly's sys/types.h header.
1411+//
1412+// The information below is extracted and adapted from sys/types.h:
1413+//
1414+// Minor gives a cookie instead of an index since in order to avoid changing the
1415+// meanings of bits 0-15 or wasting time and space shifting bits 16-31 for
1416+// devices that don't use them.
1417+
1418+package unix
1419+
1420+// Major returns the major component of a DragonFlyBSD device number.
1421+func Major(dev uint64) uint32 {
1422+ return uint32((dev >> 8) & 0xff)
1423+}
1424+
1425+// Minor returns the minor component of a DragonFlyBSD device number.
1426+func Minor(dev uint64) uint32 {
1427+ return uint32(dev & 0xffff00ff)
1428+}
1429+
1430+// Mkdev returns a DragonFlyBSD device number generated from the given major and
1431+// minor components.
1432+func Mkdev(major, minor uint32) uint64 {
1433+ return (uint64(major) << 8) | uint64(minor)
1434+}
1435diff --git a/vendor/golang.org/x/sys/unix/dev_freebsd.go b/vendor/golang.org/x/sys/unix/dev_freebsd.go
1436new file mode 100644
1437index 00000000..eba3b4bd
1438--- /dev/null
1439+++ b/vendor/golang.org/x/sys/unix/dev_freebsd.go
1440@@ -0,0 +1,30 @@
1441+// Copyright 2017 The Go Authors. All rights reserved.
1442+// Use of this source code is governed by a BSD-style
1443+// license that can be found in the LICENSE file.
1444+
1445+// Functions to access/create device major and minor numbers matching the
1446+// encoding used in FreeBSD's sys/types.h header.
1447+//
1448+// The information below is extracted and adapted from sys/types.h:
1449+//
1450+// Minor gives a cookie instead of an index since in order to avoid changing the
1451+// meanings of bits 0-15 or wasting time and space shifting bits 16-31 for
1452+// devices that don't use them.
1453+
1454+package unix
1455+
1456+// Major returns the major component of a FreeBSD device number.
1457+func Major(dev uint64) uint32 {
1458+ return uint32((dev >> 8) & 0xff)
1459+}
1460+
1461+// Minor returns the minor component of a FreeBSD device number.
1462+func Minor(dev uint64) uint32 {
1463+ return uint32(dev & 0xffff00ff)
1464+}
1465+
1466+// Mkdev returns a FreeBSD device number generated from the given major and
1467+// minor components.
1468+func Mkdev(major, minor uint32) uint64 {
1469+ return (uint64(major) << 8) | uint64(minor)
1470+}
1471diff --git a/vendor/golang.org/x/sys/unix/dev_linux.go b/vendor/golang.org/x/sys/unix/dev_linux.go
1472index c902c39e..d165d6f3 100644
1473--- a/vendor/golang.org/x/sys/unix/dev_linux.go
1474+++ b/vendor/golang.org/x/sys/unix/dev_linux.go
1475@@ -34,9 +34,9 @@ func Minor(dev uint64) uint32 {
1476 // Mkdev returns a Linux device number generated from the given major and minor
1477 // components.
1478 func Mkdev(major, minor uint32) uint64 {
1479- dev := uint64((major & 0x00000fff) << 8)
1480- dev |= uint64((major & 0xfffff000) << 32)
1481- dev |= uint64((minor & 0x000000ff) << 0)
1482- dev |= uint64((minor & 0xffffff00) << 12)
1483+ dev := (uint64(major) & 0x00000fff) << 8
1484+ dev |= (uint64(major) & 0xfffff000) << 32
1485+ dev |= (uint64(minor) & 0x000000ff) << 0
1486+ dev |= (uint64(minor) & 0xffffff00) << 12
1487 return dev
1488 }
1489diff --git a/vendor/golang.org/x/sys/unix/dev_netbsd.go b/vendor/golang.org/x/sys/unix/dev_netbsd.go
1490new file mode 100644
1491index 00000000..b4a203d0
1492--- /dev/null
1493+++ b/vendor/golang.org/x/sys/unix/dev_netbsd.go
1494@@ -0,0 +1,29 @@
1495+// Copyright 2017 The Go Authors. All rights reserved.
1496+// Use of this source code is governed by a BSD-style
1497+// license that can be found in the LICENSE file.
1498+
1499+// Functions to access/create device major and minor numbers matching the
1500+// encoding used in NetBSD's sys/types.h header.
1501+
1502+package unix
1503+
1504+// Major returns the major component of a NetBSD device number.
1505+func Major(dev uint64) uint32 {
1506+ return uint32((dev & 0x000fff00) >> 8)
1507+}
1508+
1509+// Minor returns the minor component of a NetBSD device number.
1510+func Minor(dev uint64) uint32 {
1511+ minor := uint32((dev & 0x000000ff) >> 0)
1512+ minor |= uint32((dev & 0xfff00000) >> 12)
1513+ return minor
1514+}
1515+
1516+// Mkdev returns a NetBSD device number generated from the given major and minor
1517+// components.
1518+func Mkdev(major, minor uint32) uint64 {
1519+ dev := (uint64(major) << 8) & 0x000fff00
1520+ dev |= (uint64(minor) << 12) & 0xfff00000
1521+ dev |= (uint64(minor) << 0) & 0x000000ff
1522+ return dev
1523+}
1524diff --git a/vendor/golang.org/x/sys/unix/dev_openbsd.go b/vendor/golang.org/x/sys/unix/dev_openbsd.go
1525new file mode 100644
1526index 00000000..f3430c42
1527--- /dev/null
1528+++ b/vendor/golang.org/x/sys/unix/dev_openbsd.go
1529@@ -0,0 +1,29 @@
1530+// Copyright 2017 The Go Authors. All rights reserved.
1531+// Use of this source code is governed by a BSD-style
1532+// license that can be found in the LICENSE file.
1533+
1534+// Functions to access/create device major and minor numbers matching the
1535+// encoding used in OpenBSD's sys/types.h header.
1536+
1537+package unix
1538+
1539+// Major returns the major component of an OpenBSD device number.
1540+func Major(dev uint64) uint32 {
1541+ return uint32((dev & 0x0000ff00) >> 8)
1542+}
1543+
1544+// Minor returns the minor component of an OpenBSD device number.
1545+func Minor(dev uint64) uint32 {
1546+ minor := uint32((dev & 0x000000ff) >> 0)
1547+ minor |= uint32((dev & 0xffff0000) >> 8)
1548+ return minor
1549+}
1550+
1551+// Mkdev returns an OpenBSD device number generated from the given major and minor
1552+// components.
1553+func Mkdev(major, minor uint32) uint64 {
1554+ dev := (uint64(major) << 8) & 0x0000ff00
1555+ dev |= (uint64(minor) << 8) & 0xffff0000
1556+ dev |= (uint64(minor) << 0) & 0x000000ff
1557+ return dev
1558+}
1559diff --git a/vendor/golang.org/x/sys/unix/dirent.go b/vendor/golang.org/x/sys/unix/dirent.go
1560index bd475812..304016b6 100644
1561--- a/vendor/golang.org/x/sys/unix/dirent.go
1562+++ b/vendor/golang.org/x/sys/unix/dirent.go
1563@@ -2,7 +2,7 @@
1564 // Use of this source code is governed by a BSD-style
1565 // license that can be found in the LICENSE file.
1566
1567-// +build darwin dragonfly freebsd linux nacl netbsd openbsd solaris
1568+// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
1569
1570 package unix
1571
1572diff --git a/vendor/golang.org/x/sys/unix/endian_little.go b/vendor/golang.org/x/sys/unix/endian_little.go
1573index 085df2d8..bcdb5d30 100644
1574--- a/vendor/golang.org/x/sys/unix/endian_little.go
1575+++ b/vendor/golang.org/x/sys/unix/endian_little.go
1576@@ -2,7 +2,7 @@
1577 // Use of this source code is governed by a BSD-style
1578 // license that can be found in the LICENSE file.
1579 //
1580-// +build 386 amd64 amd64p32 arm arm64 ppc64le mipsle mips64le
1581+// +build 386 amd64 amd64p32 arm arm64 ppc64le mipsle mips64le riscv64
1582
1583 package unix
1584
1585diff --git a/vendor/golang.org/x/sys/unix/env_unix.go b/vendor/golang.org/x/sys/unix/env_unix.go
1586index 45e281a0..84178b0a 100644
1587--- a/vendor/golang.org/x/sys/unix/env_unix.go
1588+++ b/vendor/golang.org/x/sys/unix/env_unix.go
1589@@ -1,8 +1,8 @@
1590-// Copyright 2010 The Go Authors. All rights reserved.
1591+// Copyright 2010 The Go Authors. All rights reserved.
1592 // Use of this source code is governed by a BSD-style
1593 // license that can be found in the LICENSE file.
1594
1595-// +build darwin dragonfly freebsd linux netbsd openbsd solaris
1596+// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
1597
1598 // Unix environment variables.
1599
1600@@ -25,3 +25,7 @@ func Clearenv() {
1601 func Environ() []string {
1602 return syscall.Environ()
1603 }
1604+
1605+func Unsetenv(key string) error {
1606+ return syscall.Unsetenv(key)
1607+}
1608diff --git a/vendor/golang.org/x/sys/unix/env_unset.go b/vendor/golang.org/x/sys/unix/env_unset.go
1609deleted file mode 100644
1610index 92222625..00000000
1611--- a/vendor/golang.org/x/sys/unix/env_unset.go
1612+++ /dev/null
1613@@ -1,14 +0,0 @@
1614-// Copyright 2014 The Go Authors. All rights reserved.
1615-// Use of this source code is governed by a BSD-style
1616-// license that can be found in the LICENSE file.
1617-
1618-// +build go1.4
1619-
1620-package unix
1621-
1622-import "syscall"
1623-
1624-func Unsetenv(key string) error {
1625- // This was added in Go 1.4.
1626- return syscall.Unsetenv(key)
1627-}
1628diff --git a/vendor/golang.org/x/sys/unix/errors_freebsd_386.go b/vendor/golang.org/x/sys/unix/errors_freebsd_386.go
1629index c56bc8b0..761db66e 100644
1630--- a/vendor/golang.org/x/sys/unix/errors_freebsd_386.go
1631+++ b/vendor/golang.org/x/sys/unix/errors_freebsd_386.go
1632@@ -8,6 +8,7 @@
1633 package unix
1634
1635 const (
1636+ DLT_HHDLC = 0x79
1637 IFF_SMART = 0x20
1638 IFT_1822 = 0x2
1639 IFT_A12MPPSWITCH = 0x82
1640@@ -210,13 +211,18 @@ const (
1641 IFT_XETHER = 0x1a
1642 IPPROTO_MAXID = 0x34
1643 IPV6_FAITH = 0x1d
1644+ IPV6_MIN_MEMBERSHIPS = 0x1f
1645 IP_FAITH = 0x16
1646+ IP_MAX_SOURCE_FILTER = 0x400
1647+ IP_MIN_MEMBERSHIPS = 0x1f
1648 MAP_NORESERVE = 0x40
1649 MAP_RENAME = 0x20
1650 NET_RT_MAXID = 0x6
1651 RTF_PRCLONING = 0x10000
1652 RTM_OLDADD = 0x9
1653 RTM_OLDDEL = 0xa
1654+ RT_CACHING_CONTEXT = 0x1
1655+ RT_NORTREF = 0x2
1656 SIOCADDRT = 0x8030720a
1657 SIOCALIFADDR = 0x8118691b
1658 SIOCDELRT = 0x8030720b
1659diff --git a/vendor/golang.org/x/sys/unix/errors_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/errors_freebsd_amd64.go
1660index 3e977117..070f44b6 100644
1661--- a/vendor/golang.org/x/sys/unix/errors_freebsd_amd64.go
1662+++ b/vendor/golang.org/x/sys/unix/errors_freebsd_amd64.go
1663@@ -8,6 +8,7 @@
1664 package unix
1665
1666 const (
1667+ DLT_HHDLC = 0x79
1668 IFF_SMART = 0x20
1669 IFT_1822 = 0x2
1670 IFT_A12MPPSWITCH = 0x82
1671@@ -210,13 +211,18 @@ const (
1672 IFT_XETHER = 0x1a
1673 IPPROTO_MAXID = 0x34
1674 IPV6_FAITH = 0x1d
1675+ IPV6_MIN_MEMBERSHIPS = 0x1f
1676 IP_FAITH = 0x16
1677+ IP_MAX_SOURCE_FILTER = 0x400
1678+ IP_MIN_MEMBERSHIPS = 0x1f
1679 MAP_NORESERVE = 0x40
1680 MAP_RENAME = 0x20
1681 NET_RT_MAXID = 0x6
1682 RTF_PRCLONING = 0x10000
1683 RTM_OLDADD = 0x9
1684 RTM_OLDDEL = 0xa
1685+ RT_CACHING_CONTEXT = 0x1
1686+ RT_NORTREF = 0x2
1687 SIOCADDRT = 0x8040720a
1688 SIOCALIFADDR = 0x8118691b
1689 SIOCDELRT = 0x8040720b
1690diff --git a/vendor/golang.org/x/sys/unix/errors_freebsd_arm64.go b/vendor/golang.org/x/sys/unix/errors_freebsd_arm64.go
1691new file mode 100644
1692index 00000000..946dcf3f
1693--- /dev/null
1694+++ b/vendor/golang.org/x/sys/unix/errors_freebsd_arm64.go
1695@@ -0,0 +1,17 @@
1696+// Copyright 2020 The Go Authors. All rights reserved.
1697+// Use of this source code is governed by a BSD-style
1698+// license that can be found in the LICENSE file.
1699+
1700+// Constants that were deprecated or moved to enums in the FreeBSD headers. Keep
1701+// them here for backwards compatibility.
1702+
1703+package unix
1704+
1705+const (
1706+ DLT_HHDLC = 0x79
1707+ IPV6_MIN_MEMBERSHIPS = 0x1f
1708+ IP_MAX_SOURCE_FILTER = 0x400
1709+ IP_MIN_MEMBERSHIPS = 0x1f
1710+ RT_CACHING_CONTEXT = 0x1
1711+ RT_NORTREF = 0x2
1712+)
1713diff --git a/vendor/golang.org/x/sys/unix/flock.go b/vendor/golang.org/x/sys/unix/fcntl.go
1714similarity index 54%
1715rename from vendor/golang.org/x/sys/unix/flock.go
1716rename to vendor/golang.org/x/sys/unix/fcntl.go
1717index 2994ce75..4dc53486 100644
1718--- a/vendor/golang.org/x/sys/unix/flock.go
1719+++ b/vendor/golang.org/x/sys/unix/fcntl.go
1720@@ -2,16 +2,30 @@
1721 // Use of this source code is governed by a BSD-style
1722 // license that can be found in the LICENSE file.
1723
1724-// +build darwin dragonfly freebsd linux netbsd openbsd
1725+// +build dragonfly freebsd linux netbsd openbsd
1726
1727 package unix
1728
1729 import "unsafe"
1730
1731 // fcntl64Syscall is usually SYS_FCNTL, but is overridden on 32-bit Linux
1732-// systems by flock_linux_32bit.go to be SYS_FCNTL64.
1733+// systems by fcntl_linux_32bit.go to be SYS_FCNTL64.
1734 var fcntl64Syscall uintptr = SYS_FCNTL
1735
1736+func fcntl(fd int, cmd, arg int) (int, error) {
1737+ valptr, _, errno := Syscall(fcntl64Syscall, uintptr(fd), uintptr(cmd), uintptr(arg))
1738+ var err error
1739+ if errno != 0 {
1740+ err = errno
1741+ }
1742+ return int(valptr), err
1743+}
1744+
1745+// FcntlInt performs a fcntl syscall on fd with the provided command and argument.
1746+func FcntlInt(fd uintptr, cmd, arg int) (int, error) {
1747+ return fcntl(int(fd), cmd, arg)
1748+}
1749+
1750 // FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command.
1751 func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
1752 _, _, errno := Syscall(fcntl64Syscall, fd, uintptr(cmd), uintptr(unsafe.Pointer(lk)))
1753diff --git a/vendor/golang.org/x/sys/unix/fcntl_darwin.go b/vendor/golang.org/x/sys/unix/fcntl_darwin.go
1754new file mode 100644
1755index 00000000..5868a4a4
1756--- /dev/null
1757+++ b/vendor/golang.org/x/sys/unix/fcntl_darwin.go
1758@@ -0,0 +1,18 @@
1759+// Copyright 2019 The Go Authors. All rights reserved.
1760+// Use of this source code is governed by a BSD-style
1761+// license that can be found in the LICENSE file.
1762+
1763+package unix
1764+
1765+import "unsafe"
1766+
1767+// FcntlInt performs a fcntl syscall on fd with the provided command and argument.
1768+func FcntlInt(fd uintptr, cmd, arg int) (int, error) {
1769+ return fcntl(int(fd), cmd, arg)
1770+}
1771+
1772+// FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command.
1773+func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
1774+ _, err := fcntl(int(fd), cmd, int(uintptr(unsafe.Pointer(lk))))
1775+ return err
1776+}
1777diff --git a/vendor/golang.org/x/sys/unix/flock_linux_32bit.go b/vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go
1778similarity index 100%
1779rename from vendor/golang.org/x/sys/unix/flock_linux_32bit.go
1780rename to vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go
1781diff --git a/vendor/golang.org/x/sys/unix/fdset.go b/vendor/golang.org/x/sys/unix/fdset.go
1782new file mode 100644
1783index 00000000..b27be0a0
1784--- /dev/null
1785+++ b/vendor/golang.org/x/sys/unix/fdset.go
1786@@ -0,0 +1,29 @@
1787+// Copyright 2019 The Go Authors. All rights reserved.
1788+// Use of this source code is governed by a BSD-style
1789+// license that can be found in the LICENSE file.
1790+
1791+// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
1792+
1793+package unix
1794+
1795+// Set adds fd to the set fds.
1796+func (fds *FdSet) Set(fd int) {
1797+ fds.Bits[fd/NFDBITS] |= (1 << (uintptr(fd) % NFDBITS))
1798+}
1799+
1800+// Clear removes fd from the set fds.
1801+func (fds *FdSet) Clear(fd int) {
1802+ fds.Bits[fd/NFDBITS] &^= (1 << (uintptr(fd) % NFDBITS))
1803+}
1804+
1805+// IsSet returns whether fd is in the set fds.
1806+func (fds *FdSet) IsSet(fd int) bool {
1807+ return fds.Bits[fd/NFDBITS]&(1<<(uintptr(fd)%NFDBITS)) != 0
1808+}
1809+
1810+// Zero clears the set fds.
1811+func (fds *FdSet) Zero() {
1812+ for i := range fds.Bits {
1813+ fds.Bits[i] = 0
1814+ }
1815+}
1816diff --git a/vendor/golang.org/x/sys/unix/file_unix.go b/vendor/golang.org/x/sys/unix/file_unix.go
1817deleted file mode 100644
1818index 47f6a83f..00000000
1819--- a/vendor/golang.org/x/sys/unix/file_unix.go
1820+++ /dev/null
1821@@ -1,27 +0,0 @@
1822-// Copyright 2017 The Go Authors. All rights reserved.
1823-// Use of this source code is governed by a BSD-style
1824-// license that can be found in the LICENSE file.
1825-
1826-package unix
1827-
1828-import (
1829- "os"
1830- "syscall"
1831-)
1832-
1833-// FIXME: unexported function from os
1834-// syscallMode returns the syscall-specific mode bits from Go's portable mode bits.
1835-func syscallMode(i os.FileMode) (o uint32) {
1836- o |= uint32(i.Perm())
1837- if i&os.ModeSetuid != 0 {
1838- o |= syscall.S_ISUID
1839- }
1840- if i&os.ModeSetgid != 0 {
1841- o |= syscall.S_ISGID
1842- }
1843- if i&os.ModeSticky != 0 {
1844- o |= syscall.S_ISVTX
1845- }
1846- // No mapping for Go's ModeTemporary (plan9 only).
1847- return
1848-}
1849diff --git a/vendor/golang.org/x/sys/unix/gccgo.go b/vendor/golang.org/x/sys/unix/gccgo.go
1850index 94c82321..cd6f5a61 100644
1851--- a/vendor/golang.org/x/sys/unix/gccgo.go
1852+++ b/vendor/golang.org/x/sys/unix/gccgo.go
1853@@ -1,19 +1,30 @@
1854-// Copyright 2015 The Go Authors. All rights reserved.
1855+// Copyright 2015 The Go Authors. All rights reserved.
1856 // Use of this source code is governed by a BSD-style
1857 // license that can be found in the LICENSE file.
1858
1859 // +build gccgo
1860+// +build !aix
1861
1862 package unix
1863
1864 import "syscall"
1865
1866-// We can't use the gc-syntax .s files for gccgo. On the plus side
1867+// We can't use the gc-syntax .s files for gccgo. On the plus side
1868 // much of the functionality can be written directly in Go.
1869
1870+//extern gccgoRealSyscallNoError
1871+func realSyscallNoError(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r uintptr)
1872+
1873 //extern gccgoRealSyscall
1874 func realSyscall(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r, errno uintptr)
1875
1876+func SyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr) {
1877+ syscall.Entersyscall()
1878+ r := realSyscallNoError(trap, a1, a2, a3, 0, 0, 0, 0, 0, 0)
1879+ syscall.Exitsyscall()
1880+ return r, 0
1881+}
1882+
1883 func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) {
1884 syscall.Entersyscall()
1885 r, errno := realSyscall(trap, a1, a2, a3, 0, 0, 0, 0, 0, 0)
1886@@ -35,6 +46,11 @@ func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr,
1887 return r, 0, syscall.Errno(errno)
1888 }
1889
1890+func RawSyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr) {
1891+ r := realSyscallNoError(trap, a1, a2, a3, 0, 0, 0, 0, 0, 0)
1892+ return r, 0
1893+}
1894+
1895 func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) {
1896 r, errno := realSyscall(trap, a1, a2, a3, 0, 0, 0, 0, 0, 0)
1897 return r, 0, syscall.Errno(errno)
1898diff --git a/vendor/golang.org/x/sys/unix/gccgo_c.c b/vendor/golang.org/x/sys/unix/gccgo_c.c
1899index 07f6be03..c44730c5 100644
1900--- a/vendor/golang.org/x/sys/unix/gccgo_c.c
1901+++ b/vendor/golang.org/x/sys/unix/gccgo_c.c
1902@@ -1,8 +1,9 @@
1903-// Copyright 2015 The Go Authors. All rights reserved.
1904+// Copyright 2015 The Go Authors. All rights reserved.
1905 // Use of this source code is governed by a BSD-style
1906 // license that can be found in the LICENSE file.
1907
1908 // +build gccgo
1909+// +build !aix
1910
1911 #include <errno.h>
1912 #include <stdint.h>
1913@@ -31,11 +32,8 @@ gccgoRealSyscall(uintptr_t trap, uintptr_t a1, uintptr_t a2, uintptr_t a3, uintp
1914 return r;
1915 }
1916
1917-// Define the use function in C so that it is not inlined.
1918-
1919-extern void use(void *) __asm__ (GOSYM_PREFIX GOPKGPATH ".use") __attribute__((noinline));
1920-
1921-void
1922-use(void *p __attribute__ ((unused)))
1923+uintptr_t
1924+gccgoRealSyscallNoError(uintptr_t trap, uintptr_t a1, uintptr_t a2, uintptr_t a3, uintptr_t a4, uintptr_t a5, uintptr_t a6, uintptr_t a7, uintptr_t a8, uintptr_t a9)
1925 {
1926+ return syscall(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9);
1927 }
1928diff --git a/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go b/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go
1929index bffe1a77..251a977a 100644
1930--- a/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go
1931+++ b/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go
1932@@ -1,4 +1,4 @@
1933-// Copyright 2015 The Go Authors. All rights reserved.
1934+// Copyright 2015 The Go Authors. All rights reserved.
1935 // Use of this source code is governed by a BSD-style
1936 // license that can be found in the LICENSE file.
1937
1938diff --git a/vendor/golang.org/x/sys/unix/gccgo_linux_sparc64.go b/vendor/golang.org/x/sys/unix/gccgo_linux_sparc64.go
1939deleted file mode 100644
1940index 56332692..00000000
1941--- a/vendor/golang.org/x/sys/unix/gccgo_linux_sparc64.go
1942+++ /dev/null
1943@@ -1,20 +0,0 @@
1944-// Copyright 2016 The Go Authors. All rights reserved.
1945-// Use of this source code is governed by a BSD-style
1946-// license that can be found in the LICENSE file.
1947-
1948-// +build gccgo,linux,sparc64
1949-
1950-package unix
1951-
1952-import "syscall"
1953-
1954-//extern sysconf
1955-func realSysconf(name int) int64
1956-
1957-func sysconf(name int) (n int64, err syscall.Errno) {
1958- r := realSysconf(name)
1959- if r < 0 {
1960- return 0, syscall.GetErrno()
1961- }
1962- return r, 0
1963-}
1964diff --git a/vendor/golang.org/x/sys/unix/ioctl.go b/vendor/golang.org/x/sys/unix/ioctl.go
1965new file mode 100644
1966index 00000000..3559e5dc
1967--- /dev/null
1968+++ b/vendor/golang.org/x/sys/unix/ioctl.go
1969@@ -0,0 +1,65 @@
1970+// Copyright 2018 The Go Authors. All rights reserved.
1971+// Use of this source code is governed by a BSD-style
1972+// license that can be found in the LICENSE file.
1973+
1974+// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
1975+
1976+package unix
1977+
1978+import (
1979+ "runtime"
1980+ "unsafe"
1981+)
1982+
1983+// ioctl itself should not be exposed directly, but additional get/set
1984+// functions for specific types are permissible.
1985+
1986+// IoctlSetInt performs an ioctl operation which sets an integer value
1987+// on fd, using the specified request number.
1988+func IoctlSetInt(fd int, req uint, value int) error {
1989+ return ioctl(fd, req, uintptr(value))
1990+}
1991+
1992+// IoctlSetWinsize performs an ioctl on fd with a *Winsize argument.
1993+//
1994+// To change fd's window size, the req argument should be TIOCSWINSZ.
1995+func IoctlSetWinsize(fd int, req uint, value *Winsize) error {
1996+ // TODO: if we get the chance, remove the req parameter and
1997+ // hardcode TIOCSWINSZ.
1998+ err := ioctl(fd, req, uintptr(unsafe.Pointer(value)))
1999+ runtime.KeepAlive(value)
2000+ return err
2001+}
2002+
2003+// IoctlSetTermios performs an ioctl on fd with a *Termios.
2004+//
2005+// The req value will usually be TCSETA or TIOCSETA.
2006+func IoctlSetTermios(fd int, req uint, value *Termios) error {
2007+ // TODO: if we get the chance, remove the req parameter.
2008+ err := ioctl(fd, req, uintptr(unsafe.Pointer(value)))
2009+ runtime.KeepAlive(value)
2010+ return err
2011+}
2012+
2013+// IoctlGetInt performs an ioctl operation which gets an integer value
2014+// from fd, using the specified request number.
2015+//
2016+// A few ioctl requests use the return value as an output parameter;
2017+// for those, IoctlRetInt should be used instead of this function.
2018+func IoctlGetInt(fd int, req uint) (int, error) {
2019+ var value int
2020+ err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
2021+ return value, err
2022+}
2023+
2024+func IoctlGetWinsize(fd int, req uint) (*Winsize, error) {
2025+ var value Winsize
2026+ err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
2027+ return &value, err
2028+}
2029+
2030+func IoctlGetTermios(fd int, req uint) (*Termios, error) {
2031+ var value Termios
2032+ err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
2033+ return &value, err
2034+}
2035diff --git a/vendor/golang.org/x/sys/unix/mkasm_darwin.go b/vendor/golang.org/x/sys/unix/mkasm_darwin.go
2036new file mode 100644
2037index 00000000..6f7bb6ed
2038--- /dev/null
2039+++ b/vendor/golang.org/x/sys/unix/mkasm_darwin.go
2040@@ -0,0 +1,78 @@
2041+// Copyright 2018 The Go Authors. All rights reserved.
2042+// Use of this source code is governed by a BSD-style
2043+// license that can be found in the LICENSE file.
2044+
2045+// +build ignore
2046+
2047+// mkasm_darwin.go generates assembly trampolines to call libSystem routines from Go.
2048+//This program must be run after mksyscall.go.
2049+package main
2050+
2051+import (
2052+ "bytes"
2053+ "fmt"
2054+ "io/ioutil"
2055+ "log"
2056+ "os"
2057+ "strings"
2058+)
2059+
2060+func writeASMFile(in string, fileName string, buildTags string) {
2061+ trampolines := map[string]bool{}
2062+
2063+ var out bytes.Buffer
2064+
2065+ fmt.Fprintf(&out, "// go run mkasm_darwin.go %s\n", strings.Join(os.Args[1:], " "))
2066+ fmt.Fprintf(&out, "// Code generated by the command above; DO NOT EDIT.\n")
2067+ fmt.Fprintf(&out, "\n")
2068+ fmt.Fprintf(&out, "// +build %s\n", buildTags)
2069+ fmt.Fprintf(&out, "\n")
2070+ fmt.Fprintf(&out, "#include \"textflag.h\"\n")
2071+ for _, line := range strings.Split(in, "\n") {
2072+ if !strings.HasPrefix(line, "func ") || !strings.HasSuffix(line, "_trampoline()") {
2073+ continue
2074+ }
2075+ fn := line[5 : len(line)-13]
2076+ if !trampolines[fn] {
2077+ trampolines[fn] = true
2078+ fmt.Fprintf(&out, "TEXT ·%s_trampoline(SB),NOSPLIT,$0-0\n", fn)
2079+ fmt.Fprintf(&out, "\tJMP\t%s(SB)\n", fn)
2080+ }
2081+ }
2082+ err := ioutil.WriteFile(fileName, out.Bytes(), 0644)
2083+ if err != nil {
2084+ log.Fatalf("can't write %s: %s", fileName, err)
2085+ }
2086+}
2087+
2088+func main() {
2089+ in1, err := ioutil.ReadFile("syscall_darwin.go")
2090+ if err != nil {
2091+ log.Fatalf("can't open syscall_darwin.go: %s", err)
2092+ }
2093+ arch := os.Args[1]
2094+ in2, err := ioutil.ReadFile(fmt.Sprintf("syscall_darwin_%s.go", arch))
2095+ if err != nil {
2096+ log.Fatalf("can't open syscall_darwin_%s.go: %s", arch, err)
2097+ }
2098+ in3, err := ioutil.ReadFile(fmt.Sprintf("zsyscall_darwin_%s.go", arch))
2099+ if err != nil {
2100+ log.Fatalf("can't open zsyscall_darwin_%s.go: %s", arch, err)
2101+ }
2102+ in := string(in1) + string(in2) + string(in3)
2103+
2104+ writeASMFile(in, fmt.Sprintf("zsyscall_darwin_%s.s", arch), "go1.12")
2105+
2106+ in1, err = ioutil.ReadFile("syscall_darwin.1_13.go")
2107+ if err != nil {
2108+ log.Fatalf("can't open syscall_darwin.1_13.go: %s", err)
2109+ }
2110+ in2, err = ioutil.ReadFile(fmt.Sprintf("zsyscall_darwin_%s.1_13.go", arch))
2111+ if err != nil {
2112+ log.Fatalf("can't open zsyscall_darwin_%s.1_13.go: %s", arch, err)
2113+ }
2114+
2115+ in = string(in1) + string(in2)
2116+
2117+ writeASMFile(in, fmt.Sprintf("zsyscall_darwin_%s.1_13.s", arch), "go1.13")
2118+}
2119diff --git a/vendor/golang.org/x/sys/unix/mkmerge.go b/vendor/golang.org/x/sys/unix/mkmerge.go
2120new file mode 100644
2121index 00000000..8bde4501
2122--- /dev/null
2123+++ b/vendor/golang.org/x/sys/unix/mkmerge.go
2124@@ -0,0 +1,521 @@
2125+// Copyright 2020 The Go Authors. All rights reserved.
2126+// Use of this source code is governed by a BSD-style
2127+// license that can be found in the LICENSE file.
2128+
2129+// +build ignore
2130+
2131+// mkmerge.go parses generated source files and merges common
2132+// consts, funcs, and types into a common source file, per GOOS.
2133+//
2134+// Usage:
2135+// $ go run mkmerge.go -out MERGED FILE [FILE ...]
2136+//
2137+// Example:
2138+// # Remove all common consts, funcs, and types from zerrors_linux_*.go
2139+// # and write the common code into zerrors_linux.go
2140+// $ go run mkmerge.go -out zerrors_linux.go zerrors_linux_*.go
2141+//
2142+// mkmerge.go performs the merge in the following steps:
2143+// 1. Construct the set of common code that is idential in all
2144+// architecture-specific files.
2145+// 2. Write this common code to the merged file.
2146+// 3. Remove the common code from all architecture-specific files.
2147+package main
2148+
2149+import (
2150+ "bufio"
2151+ "bytes"
2152+ "flag"
2153+ "fmt"
2154+ "go/ast"
2155+ "go/format"
2156+ "go/parser"
2157+ "go/token"
2158+ "io"
2159+ "io/ioutil"
2160+ "log"
2161+ "os"
2162+ "path"
2163+ "path/filepath"
2164+ "regexp"
2165+ "strconv"
2166+ "strings"
2167+)
2168+
2169+const validGOOS = "aix|darwin|dragonfly|freebsd|linux|netbsd|openbsd|solaris"
2170+
2171+// getValidGOOS returns GOOS, true if filename ends with a valid "_GOOS.go"
2172+func getValidGOOS(filename string) (string, bool) {
2173+ matches := regexp.MustCompile(`_(` + validGOOS + `)\.go$`).FindStringSubmatch(filename)
2174+ if len(matches) != 2 {
2175+ return "", false
2176+ }
2177+ return matches[1], true
2178+}
2179+
2180+// codeElem represents an ast.Decl in a comparable way.
2181+type codeElem struct {
2182+ tok token.Token // e.g. token.CONST, token.TYPE, or token.FUNC
2183+ src string // the declaration formatted as source code
2184+}
2185+
2186+// newCodeElem returns a codeElem based on tok and node, or an error is returned.
2187+func newCodeElem(tok token.Token, node ast.Node) (codeElem, error) {
2188+ var b strings.Builder
2189+ err := format.Node(&b, token.NewFileSet(), node)
2190+ if err != nil {
2191+ return codeElem{}, err
2192+ }
2193+ return codeElem{tok, b.String()}, nil
2194+}
2195+
2196+// codeSet is a set of codeElems
2197+type codeSet struct {
2198+ set map[codeElem]bool // true for all codeElems in the set
2199+}
2200+
2201+// newCodeSet returns a new codeSet
2202+func newCodeSet() *codeSet { return &codeSet{make(map[codeElem]bool)} }
2203+
2204+// add adds elem to c
2205+func (c *codeSet) add(elem codeElem) { c.set[elem] = true }
2206+
2207+// has returns true if elem is in c
2208+func (c *codeSet) has(elem codeElem) bool { return c.set[elem] }
2209+
2210+// isEmpty returns true if the set is empty
2211+func (c *codeSet) isEmpty() bool { return len(c.set) == 0 }
2212+
2213+// intersection returns a new set which is the intersection of c and a
2214+func (c *codeSet) intersection(a *codeSet) *codeSet {
2215+ res := newCodeSet()
2216+
2217+ for elem := range c.set {
2218+ if a.has(elem) {
2219+ res.add(elem)
2220+ }
2221+ }
2222+ return res
2223+}
2224+
2225+// keepCommon is a filterFn for filtering the merged file with common declarations.
2226+func (c *codeSet) keepCommon(elem codeElem) bool {
2227+ switch elem.tok {
2228+ case token.VAR:
2229+ // Remove all vars from the merged file
2230+ return false
2231+ case token.CONST, token.TYPE, token.FUNC, token.COMMENT:
2232+ // Remove arch-specific consts, types, functions, and file-level comments from the merged file
2233+ return c.has(elem)
2234+ case token.IMPORT:
2235+ // Keep imports, they are handled by filterImports
2236+ return true
2237+ }
2238+
2239+ log.Fatalf("keepCommon: invalid elem %v", elem)
2240+ return true
2241+}
2242+
2243+// keepArchSpecific is a filterFn for filtering the GOARC-specific files.
2244+func (c *codeSet) keepArchSpecific(elem codeElem) bool {
2245+ switch elem.tok {
2246+ case token.CONST, token.TYPE, token.FUNC:
2247+ // Remove common consts, types, or functions from the arch-specific file
2248+ return !c.has(elem)
2249+ }
2250+ return true
2251+}
2252+
2253+// srcFile represents a source file
2254+type srcFile struct {
2255+ name string
2256+ src []byte
2257+}
2258+
2259+// filterFn is a helper for filter
2260+type filterFn func(codeElem) bool
2261+
2262+// filter parses and filters Go source code from src, removing top
2263+// level declarations using keep as predicate.
2264+// For src parameter, please see docs for parser.ParseFile.
2265+func filter(src interface{}, keep filterFn) ([]byte, error) {
2266+ // Parse the src into an ast
2267+ fset := token.NewFileSet()
2268+ f, err := parser.ParseFile(fset, "", src, parser.ParseComments)
2269+ if err != nil {
2270+ return nil, err
2271+ }
2272+ cmap := ast.NewCommentMap(fset, f, f.Comments)
2273+
2274+ // Group const/type specs on adjacent lines
2275+ var groups specGroups = make(map[string]int)
2276+ var groupID int
2277+
2278+ decls := f.Decls
2279+ f.Decls = f.Decls[:0]
2280+ for _, decl := range decls {
2281+ switch decl := decl.(type) {
2282+ case *ast.GenDecl:
2283+ // Filter imports, consts, types, vars
2284+ specs := decl.Specs
2285+ decl.Specs = decl.Specs[:0]
2286+ for i, spec := range specs {
2287+ elem, err := newCodeElem(decl.Tok, spec)
2288+ if err != nil {
2289+ return nil, err
2290+ }
2291+
2292+ // Create new group if there are empty lines between this and the previous spec
2293+ if i > 0 && fset.Position(specs[i-1].End()).Line < fset.Position(spec.Pos()).Line-1 {
2294+ groupID++
2295+ }
2296+
2297+ // Check if we should keep this spec
2298+ if keep(elem) {
2299+ decl.Specs = append(decl.Specs, spec)
2300+ groups.add(elem.src, groupID)
2301+ }
2302+ }
2303+ // Check if we should keep this decl
2304+ if len(decl.Specs) > 0 {
2305+ f.Decls = append(f.Decls, decl)
2306+ }
2307+ case *ast.FuncDecl:
2308+ // Filter funcs
2309+ elem, err := newCodeElem(token.FUNC, decl)
2310+ if err != nil {
2311+ return nil, err
2312+ }
2313+ if keep(elem) {
2314+ f.Decls = append(f.Decls, decl)
2315+ }
2316+ }
2317+ }
2318+
2319+ // Filter file level comments
2320+ if cmap[f] != nil {
2321+ commentGroups := cmap[f]
2322+ cmap[f] = cmap[f][:0]
2323+ for _, cGrp := range commentGroups {
2324+ if keep(codeElem{token.COMMENT, cGrp.Text()}) {
2325+ cmap[f] = append(cmap[f], cGrp)
2326+ }
2327+ }
2328+ }
2329+ f.Comments = cmap.Filter(f).Comments()
2330+
2331+ // Generate code for the filtered ast
2332+ var buf bytes.Buffer
2333+ if err = format.Node(&buf, fset, f); err != nil {
2334+ return nil, err
2335+ }
2336+
2337+ groupedSrc, err := groups.filterEmptyLines(&buf)
2338+ if err != nil {
2339+ return nil, err
2340+ }
2341+
2342+ return filterImports(groupedSrc)
2343+}
2344+
2345+// getCommonSet returns the set of consts, types, and funcs that are present in every file.
2346+func getCommonSet(files []srcFile) (*codeSet, error) {
2347+ if len(files) == 0 {
2348+ return nil, fmt.Errorf("no files provided")
2349+ }
2350+ // Use the first architecture file as the baseline
2351+ baseSet, err := getCodeSet(files[0].src)
2352+ if err != nil {
2353+ return nil, err
2354+ }
2355+
2356+ // Compare baseline set with other architecture files: discard any element,
2357+ // that doesn't exist in other architecture files.
2358+ for _, f := range files[1:] {
2359+ set, err := getCodeSet(f.src)
2360+ if err != nil {
2361+ return nil, err
2362+ }
2363+
2364+ baseSet = baseSet.intersection(set)
2365+ }
2366+ return baseSet, nil
2367+}
2368+
2369+// getCodeSet returns the set of all top-level consts, types, and funcs from src.
2370+// src must be string, []byte, or io.Reader (see go/parser.ParseFile docs)
2371+func getCodeSet(src interface{}) (*codeSet, error) {
2372+ set := newCodeSet()
2373+
2374+ fset := token.NewFileSet()
2375+ f, err := parser.ParseFile(fset, "", src, parser.ParseComments)
2376+ if err != nil {
2377+ return nil, err
2378+ }
2379+
2380+ for _, decl := range f.Decls {
2381+ switch decl := decl.(type) {
2382+ case *ast.GenDecl:
2383+ // Add const, and type declarations
2384+ if !(decl.Tok == token.CONST || decl.Tok == token.TYPE) {
2385+ break
2386+ }
2387+
2388+ for _, spec := range decl.Specs {
2389+ elem, err := newCodeElem(decl.Tok, spec)
2390+ if err != nil {
2391+ return nil, err
2392+ }
2393+
2394+ set.add(elem)
2395+ }
2396+ case *ast.FuncDecl:
2397+ // Add func declarations
2398+ elem, err := newCodeElem(token.FUNC, decl)
2399+ if err != nil {
2400+ return nil, err
2401+ }
2402+
2403+ set.add(elem)
2404+ }
2405+ }
2406+
2407+ // Add file level comments
2408+ cmap := ast.NewCommentMap(fset, f, f.Comments)
2409+ for _, cGrp := range cmap[f] {
2410+ set.add(codeElem{token.COMMENT, cGrp.Text()})
2411+ }
2412+
2413+ return set, nil
2414+}
2415+
2416+// importName returns the identifier (PackageName) for an imported package
2417+func importName(iSpec *ast.ImportSpec) (string, error) {
2418+ if iSpec.Name == nil {
2419+ name, err := strconv.Unquote(iSpec.Path.Value)
2420+ if err != nil {
2421+ return "", err
2422+ }
2423+ return path.Base(name), nil
2424+ }
2425+ return iSpec.Name.Name, nil
2426+}
2427+
2428+// specGroups tracks grouped const/type specs with a map of line: groupID pairs
2429+type specGroups map[string]int
2430+
2431+// add spec source to group
2432+func (s specGroups) add(src string, groupID int) error {
2433+ srcBytes, err := format.Source(bytes.TrimSpace([]byte(src)))
2434+ if err != nil {
2435+ return err
2436+ }
2437+ s[string(srcBytes)] = groupID
2438+ return nil
2439+}
2440+
2441+// filterEmptyLines removes empty lines within groups of const/type specs.
2442+// Returns the filtered source.
2443+func (s specGroups) filterEmptyLines(src io.Reader) ([]byte, error) {
2444+ scanner := bufio.NewScanner(src)
2445+ var out bytes.Buffer
2446+
2447+ var emptyLines bytes.Buffer
2448+ prevGroupID := -1 // Initialize to invalid group
2449+ for scanner.Scan() {
2450+ line := bytes.TrimSpace(scanner.Bytes())
2451+
2452+ if len(line) == 0 {
2453+ fmt.Fprintf(&emptyLines, "%s\n", scanner.Bytes())
2454+ continue
2455+ }
2456+
2457+ // Discard emptyLines if previous non-empty line belonged to the same
2458+ // group as this line
2459+ if src, err := format.Source(line); err == nil {
2460+ groupID, ok := s[string(src)]
2461+ if ok && groupID == prevGroupID {
2462+ emptyLines.Reset()
2463+ }
2464+ prevGroupID = groupID
2465+ }
2466+
2467+ emptyLines.WriteTo(&out)
2468+ fmt.Fprintf(&out, "%s\n", scanner.Bytes())
2469+ }
2470+ if err := scanner.Err(); err != nil {
2471+ return nil, err
2472+ }
2473+ return out.Bytes(), nil
2474+}
2475+
2476+// filterImports removes unused imports from fileSrc, and returns a formatted src.
2477+func filterImports(fileSrc []byte) ([]byte, error) {
2478+ fset := token.NewFileSet()
2479+ file, err := parser.ParseFile(fset, "", fileSrc, parser.ParseComments)
2480+ if err != nil {
2481+ return nil, err
2482+ }
2483+ cmap := ast.NewCommentMap(fset, file, file.Comments)
2484+
2485+ // create set of references to imported identifiers
2486+ keepImport := make(map[string]bool)
2487+ for _, u := range file.Unresolved {
2488+ keepImport[u.Name] = true
2489+ }
2490+
2491+ // filter import declarations
2492+ decls := file.Decls
2493+ file.Decls = file.Decls[:0]
2494+ for _, decl := range decls {
2495+ importDecl, ok := decl.(*ast.GenDecl)
2496+
2497+ // Keep non-import declarations
2498+ if !ok || importDecl.Tok != token.IMPORT {
2499+ file.Decls = append(file.Decls, decl)
2500+ continue
2501+ }
2502+
2503+ // Filter the import specs
2504+ specs := importDecl.Specs
2505+ importDecl.Specs = importDecl.Specs[:0]
2506+ for _, spec := range specs {
2507+ iSpec := spec.(*ast.ImportSpec)
2508+ name, err := importName(iSpec)
2509+ if err != nil {
2510+ return nil, err
2511+ }
2512+
2513+ if keepImport[name] {
2514+ importDecl.Specs = append(importDecl.Specs, iSpec)
2515+ }
2516+ }
2517+ if len(importDecl.Specs) > 0 {
2518+ file.Decls = append(file.Decls, importDecl)
2519+ }
2520+ }
2521+
2522+ // filter file.Imports
2523+ imports := file.Imports
2524+ file.Imports = file.Imports[:0]
2525+ for _, spec := range imports {
2526+ name, err := importName(spec)
2527+ if err != nil {
2528+ return nil, err
2529+ }
2530+
2531+ if keepImport[name] {
2532+ file.Imports = append(file.Imports, spec)
2533+ }
2534+ }
2535+ file.Comments = cmap.Filter(file).Comments()
2536+
2537+ var buf bytes.Buffer
2538+ err = format.Node(&buf, fset, file)
2539+ if err != nil {
2540+ return nil, err
2541+ }
2542+
2543+ return buf.Bytes(), nil
2544+}
2545+
2546+// merge extracts duplicate code from archFiles and merges it to mergeFile.
2547+// 1. Construct commonSet: the set of code that is idential in all archFiles.
2548+// 2. Write the code in commonSet to mergedFile.
2549+// 3. Remove the commonSet code from all archFiles.
2550+func merge(mergedFile string, archFiles ...string) error {
2551+ // extract and validate the GOOS part of the merged filename
2552+ goos, ok := getValidGOOS(mergedFile)
2553+ if !ok {
2554+ return fmt.Errorf("invalid GOOS in merged file name %s", mergedFile)
2555+ }
2556+
2557+ // Read architecture files
2558+ var inSrc []srcFile
2559+ for _, file := range archFiles {
2560+ src, err := ioutil.ReadFile(file)
2561+ if err != nil {
2562+ return fmt.Errorf("cannot read archfile %s: %w", file, err)
2563+ }
2564+
2565+ inSrc = append(inSrc, srcFile{file, src})
2566+ }
2567+
2568+ // 1. Construct the set of top-level declarations common for all files
2569+ commonSet, err := getCommonSet(inSrc)
2570+ if err != nil {
2571+ return err
2572+ }
2573+ if commonSet.isEmpty() {
2574+ // No common code => do not modify any files
2575+ return nil
2576+ }
2577+
2578+ // 2. Write the merged file
2579+ mergedSrc, err := filter(inSrc[0].src, commonSet.keepCommon)
2580+ if err != nil {
2581+ return err
2582+ }
2583+
2584+ f, err := os.Create(mergedFile)
2585+ if err != nil {
2586+ return err
2587+ }
2588+
2589+ buf := bufio.NewWriter(f)
2590+ fmt.Fprintln(buf, "// Code generated by mkmerge.go; DO NOT EDIT.")
2591+ fmt.Fprintln(buf)
2592+ fmt.Fprintf(buf, "// +build %s\n", goos)
2593+ fmt.Fprintln(buf)
2594+ buf.Write(mergedSrc)
2595+
2596+ err = buf.Flush()
2597+ if err != nil {
2598+ return err
2599+ }
2600+ err = f.Close()
2601+ if err != nil {
2602+ return err
2603+ }
2604+
2605+ // 3. Remove duplicate declarations from the architecture files
2606+ for _, inFile := range inSrc {
2607+ src, err := filter(inFile.src, commonSet.keepArchSpecific)
2608+ if err != nil {
2609+ return err
2610+ }
2611+ err = ioutil.WriteFile(inFile.name, src, 0644)
2612+ if err != nil {
2613+ return err
2614+ }
2615+ }
2616+ return nil
2617+}
2618+
2619+func main() {
2620+ var mergedFile string
2621+ flag.StringVar(&mergedFile, "out", "", "Write merged code to `FILE`")
2622+ flag.Parse()
2623+
2624+ // Expand wildcards
2625+ var filenames []string
2626+ for _, arg := range flag.Args() {
2627+ matches, err := filepath.Glob(arg)
2628+ if err != nil {
2629+ fmt.Fprintf(os.Stderr, "Invalid command line argument %q: %v\n", arg, err)
2630+ os.Exit(1)
2631+ }
2632+ filenames = append(filenames, matches...)
2633+ }
2634+
2635+ if len(filenames) < 2 {
2636+ // No need to merge
2637+ return
2638+ }
2639+
2640+ err := merge(mergedFile, filenames...)
2641+ if err != nil {
2642+ fmt.Fprintf(os.Stderr, "Merge failed with error: %v\n", err)
2643+ os.Exit(1)
2644+ }
2645+}
2646diff --git a/vendor/golang.org/x/sys/unix/mkpost.go b/vendor/golang.org/x/sys/unix/mkpost.go
2647index d3ff659b..5ee1a16b 100644
2648--- a/vendor/golang.org/x/sys/unix/mkpost.go
2649+++ b/vendor/golang.org/x/sys/unix/mkpost.go
2650@@ -28,10 +28,10 @@ func main() {
2651 if goarch == "" {
2652 goarch = os.Getenv("GOARCH")
2653 }
2654- // Check that we are using the new build system if we should be.
2655- if goos == "linux" && goarch != "sparc64" {
2656+ // Check that we are using the Docker-based build system if we should be.
2657+ if goos == "linux" {
2658 if os.Getenv("GOLANG_SYS_BUILD") != "docker" {
2659- os.Stderr.WriteString("In the new build system, mkpost should not be called directly.\n")
2660+ os.Stderr.WriteString("In the Docker-based build system, mkpost should not be called directly.\n")
2661 os.Stderr.WriteString("See README.md\n")
2662 os.Exit(1)
2663 }
2664@@ -42,6 +42,21 @@ func main() {
2665 log.Fatal(err)
2666 }
2667
2668+ if goos == "aix" {
2669+ // Replace type of Atim, Mtim and Ctim by Timespec in Stat_t
2670+ // to avoid having both StTimespec and Timespec.
2671+ sttimespec := regexp.MustCompile(`_Ctype_struct_st_timespec`)
2672+ b = sttimespec.ReplaceAll(b, []byte("Timespec"))
2673+ }
2674+
2675+ // Intentionally export __val fields in Fsid and Sigset_t
2676+ valRegex := regexp.MustCompile(`type (Fsid|Sigset_t) struct {(\s+)X__(bits|val)(\s+\S+\s+)}`)
2677+ b = valRegex.ReplaceAll(b, []byte("type $1 struct {${2}Val$4}"))
2678+
2679+ // Intentionally export __fds_bits field in FdSet
2680+ fdSetRegex := regexp.MustCompile(`type (FdSet) struct {(\s+)X__fds_bits(\s+\S+\s+)}`)
2681+ b = fdSetRegex.ReplaceAll(b, []byte("type $1 struct {${2}Bits$3}"))
2682+
2683 // If we have empty Ptrace structs, we should delete them. Only s390x emits
2684 // nonempty Ptrace structs.
2685 ptraceRexexp := regexp.MustCompile(`type Ptrace((Psw|Fpregs|Per) struct {\s*})`)
2686@@ -56,16 +71,31 @@ func main() {
2687 removeFieldsRegex := regexp.MustCompile(`X__glibc\S*`)
2688 b = removeFieldsRegex.ReplaceAll(b, []byte("_"))
2689
2690- // We refuse to export private fields on s390x
2691- if goarch == "s390x" && goos == "linux" {
2692- // Remove cgo padding fields
2693- removeFieldsRegex := regexp.MustCompile(`Pad_cgo_\d+`)
2694- b = removeFieldsRegex.ReplaceAll(b, []byte("_"))
2695+ // Convert [65]int8 to [65]byte in Utsname members to simplify
2696+ // conversion to string; see golang.org/issue/20753
2697+ convertUtsnameRegex := regexp.MustCompile(`((Sys|Node|Domain)name|Release|Version|Machine)(\s+)\[(\d+)\]u?int8`)
2698+ b = convertUtsnameRegex.ReplaceAll(b, []byte("$1$3[$4]byte"))
2699
2700- // Remove padding, hidden, or unused fields
2701- removeFieldsRegex = regexp.MustCompile(`X_\S+`)
2702- b = removeFieldsRegex.ReplaceAll(b, []byte("_"))
2703- }
2704+ // Convert [n]int8 to [n]byte in Statvfs_t members to simplify
2705+ // conversion to string.
2706+ convertStatvfsRegex := regexp.MustCompile(`((Fstype|Mnton|Mntfrom)name)(\s+)\[(\d+)\]int8`)
2707+ b = convertStatvfsRegex.ReplaceAll(b, []byte("$1$3[$4]byte"))
2708+
2709+ // Convert [1024]int8 to [1024]byte in Ptmget members
2710+ convertPtmget := regexp.MustCompile(`([SC]n)(\s+)\[(\d+)\]u?int8`)
2711+ b = convertPtmget.ReplaceAll(b, []byte("$1[$3]byte"))
2712+
2713+ // Remove spare fields (e.g. in Statx_t)
2714+ spareFieldsRegex := regexp.MustCompile(`X__spare\S*`)
2715+ b = spareFieldsRegex.ReplaceAll(b, []byte("_"))
2716+
2717+ // Remove cgo padding fields
2718+ removePaddingFieldsRegex := regexp.MustCompile(`Pad_cgo_\d+`)
2719+ b = removePaddingFieldsRegex.ReplaceAll(b, []byte("_"))
2720+
2721+ // Remove padding, hidden, or unused fields
2722+ removeFieldsRegex = regexp.MustCompile(`\b(X_\S+|Padding)`)
2723+ b = removeFieldsRegex.ReplaceAll(b, []byte("_"))
2724
2725 // Remove the first line of warning from cgo
2726 b = b[bytes.IndexByte(b, '\n')+1:]
2727@@ -78,6 +108,15 @@ func main() {
2728 cgoCommandRegex := regexp.MustCompile(`(cgo -godefs .*)`)
2729 b = cgoCommandRegex.ReplaceAll(b, []byte(replacement))
2730
2731+ // Rename Stat_t time fields
2732+ if goos == "freebsd" && goarch == "386" {
2733+ // Hide Stat_t.[AMCB]tim_ext fields
2734+ renameStatTimeExtFieldsRegex := regexp.MustCompile(`[AMCB]tim_ext`)
2735+ b = renameStatTimeExtFieldsRegex.ReplaceAll(b, []byte("_"))
2736+ }
2737+ renameStatTimeFieldsRegex := regexp.MustCompile(`([AMCB])(?:irth)?time?(?:spec)?\s+(Timespec|StTimespec)`)
2738+ b = renameStatTimeFieldsRegex.ReplaceAll(b, []byte("${1}tim ${2}"))
2739+
2740 // gofmt
2741 b, err = format.Source(b)
2742 if err != nil {
2743diff --git a/vendor/golang.org/x/sys/unix/mksyscall.go b/vendor/golang.org/x/sys/unix/mksyscall.go
2744new file mode 100644
2745index 00000000..9e540cc8
2746--- /dev/null
2747+++ b/vendor/golang.org/x/sys/unix/mksyscall.go
2748@@ -0,0 +1,402 @@
2749+// Copyright 2018 The Go Authors. All rights reserved.
2750+// Use of this source code is governed by a BSD-style
2751+// license that can be found in the LICENSE file.
2752+
2753+// +build ignore
2754+
2755+/*
2756+This program reads a file containing function prototypes
2757+(like syscall_darwin.go) and generates system call bodies.
2758+The prototypes are marked by lines beginning with "//sys"
2759+and read like func declarations if //sys is replaced by func, but:
2760+ * The parameter lists must give a name for each argument.
2761+ This includes return parameters.
2762+ * The parameter lists must give a type for each argument:
2763+ the (x, y, z int) shorthand is not allowed.
2764+ * If the return parameter is an error number, it must be named errno.
2765+
2766+A line beginning with //sysnb is like //sys, except that the
2767+goroutine will not be suspended during the execution of the system
2768+call. This must only be used for system calls which can never
2769+block, as otherwise the system call could cause all goroutines to
2770+hang.
2771+*/
2772+package main
2773+
2774+import (
2775+ "bufio"
2776+ "flag"
2777+ "fmt"
2778+ "os"
2779+ "regexp"
2780+ "strings"
2781+)
2782+
2783+var (
2784+ b32 = flag.Bool("b32", false, "32bit big-endian")
2785+ l32 = flag.Bool("l32", false, "32bit little-endian")
2786+ plan9 = flag.Bool("plan9", false, "plan9")
2787+ openbsd = flag.Bool("openbsd", false, "openbsd")
2788+ netbsd = flag.Bool("netbsd", false, "netbsd")
2789+ dragonfly = flag.Bool("dragonfly", false, "dragonfly")
2790+ arm = flag.Bool("arm", false, "arm") // 64-bit value should use (even, odd)-pair
2791+ tags = flag.String("tags", "", "build tags")
2792+ filename = flag.String("output", "", "output file name (standard output if omitted)")
2793+)
2794+
2795+// cmdLine returns this programs's commandline arguments
2796+func cmdLine() string {
2797+ return "go run mksyscall.go " + strings.Join(os.Args[1:], " ")
2798+}
2799+
2800+// buildTags returns build tags
2801+func buildTags() string {
2802+ return *tags
2803+}
2804+
2805+// Param is function parameter
2806+type Param struct {
2807+ Name string
2808+ Type string
2809+}
2810+
2811+// usage prints the program usage
2812+func usage() {
2813+ fmt.Fprintf(os.Stderr, "usage: go run mksyscall.go [-b32 | -l32] [-tags x,y] [file ...]\n")
2814+ os.Exit(1)
2815+}
2816+
2817+// parseParamList parses parameter list and returns a slice of parameters
2818+func parseParamList(list string) []string {
2819+ list = strings.TrimSpace(list)
2820+ if list == "" {
2821+ return []string{}
2822+ }
2823+ return regexp.MustCompile(`\s*,\s*`).Split(list, -1)
2824+}
2825+
2826+// parseParam splits a parameter into name and type
2827+func parseParam(p string) Param {
2828+ ps := regexp.MustCompile(`^(\S*) (\S*)$`).FindStringSubmatch(p)
2829+ if ps == nil {
2830+ fmt.Fprintf(os.Stderr, "malformed parameter: %s\n", p)
2831+ os.Exit(1)
2832+ }
2833+ return Param{ps[1], ps[2]}
2834+}
2835+
2836+func main() {
2837+ // Get the OS and architecture (using GOARCH_TARGET if it exists)
2838+ goos := os.Getenv("GOOS")
2839+ if goos == "" {
2840+ fmt.Fprintln(os.Stderr, "GOOS not defined in environment")
2841+ os.Exit(1)
2842+ }
2843+ goarch := os.Getenv("GOARCH_TARGET")
2844+ if goarch == "" {
2845+ goarch = os.Getenv("GOARCH")
2846+ }
2847+
2848+ // Check that we are using the Docker-based build system if we should
2849+ if goos == "linux" {
2850+ if os.Getenv("GOLANG_SYS_BUILD") != "docker" {
2851+ fmt.Fprintf(os.Stderr, "In the Docker-based build system, mksyscall should not be called directly.\n")
2852+ fmt.Fprintf(os.Stderr, "See README.md\n")
2853+ os.Exit(1)
2854+ }
2855+ }
2856+
2857+ flag.Usage = usage
2858+ flag.Parse()
2859+ if len(flag.Args()) <= 0 {
2860+ fmt.Fprintf(os.Stderr, "no files to parse provided\n")
2861+ usage()
2862+ }
2863+
2864+ endianness := ""
2865+ if *b32 {
2866+ endianness = "big-endian"
2867+ } else if *l32 {
2868+ endianness = "little-endian"
2869+ }
2870+
2871+ libc := false
2872+ if goos == "darwin" && (strings.Contains(buildTags(), ",go1.12") || strings.Contains(buildTags(), ",go1.13")) {
2873+ libc = true
2874+ }
2875+ trampolines := map[string]bool{}
2876+
2877+ text := ""
2878+ for _, path := range flag.Args() {
2879+ file, err := os.Open(path)
2880+ if err != nil {
2881+ fmt.Fprintf(os.Stderr, err.Error())
2882+ os.Exit(1)
2883+ }
2884+ s := bufio.NewScanner(file)
2885+ for s.Scan() {
2886+ t := s.Text()
2887+ t = strings.TrimSpace(t)
2888+ t = regexp.MustCompile(`\s+`).ReplaceAllString(t, ` `)
2889+ nonblock := regexp.MustCompile(`^\/\/sysnb `).FindStringSubmatch(t)
2890+ if regexp.MustCompile(`^\/\/sys `).FindStringSubmatch(t) == nil && nonblock == nil {
2891+ continue
2892+ }
2893+
2894+ // Line must be of the form
2895+ // func Open(path string, mode int, perm int) (fd int, errno error)
2896+ // Split into name, in params, out params.
2897+ f := regexp.MustCompile(`^\/\/sys(nb)? (\w+)\(([^()]*)\)\s*(?:\(([^()]+)\))?\s*(?:=\s*((?i)SYS_[A-Z0-9_]+))?$`).FindStringSubmatch(t)
2898+ if f == nil {
2899+ fmt.Fprintf(os.Stderr, "%s:%s\nmalformed //sys declaration\n", path, t)
2900+ os.Exit(1)
2901+ }
2902+ funct, inps, outps, sysname := f[2], f[3], f[4], f[5]
2903+
2904+ // ClockGettime doesn't have a syscall number on Darwin, only generate libc wrappers.
2905+ if goos == "darwin" && !libc && funct == "ClockGettime" {
2906+ continue
2907+ }
2908+
2909+ // Split argument lists on comma.
2910+ in := parseParamList(inps)
2911+ out := parseParamList(outps)
2912+
2913+ // Try in vain to keep people from editing this file.
2914+ // The theory is that they jump into the middle of the file
2915+ // without reading the header.
2916+ text += "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT\n\n"
2917+
2918+ // Go function header.
2919+ outDecl := ""
2920+ if len(out) > 0 {
2921+ outDecl = fmt.Sprintf(" (%s)", strings.Join(out, ", "))
2922+ }
2923+ text += fmt.Sprintf("func %s(%s)%s {\n", funct, strings.Join(in, ", "), outDecl)
2924+
2925+ // Check if err return available
2926+ errvar := ""
2927+ for _, param := range out {
2928+ p := parseParam(param)
2929+ if p.Type == "error" {
2930+ errvar = p.Name
2931+ break
2932+ }
2933+ }
2934+
2935+ // Prepare arguments to Syscall.
2936+ var args []string
2937+ n := 0
2938+ for _, param := range in {
2939+ p := parseParam(param)
2940+ if regexp.MustCompile(`^\*`).FindStringSubmatch(p.Type) != nil {
2941+ args = append(args, "uintptr(unsafe.Pointer("+p.Name+"))")
2942+ } else if p.Type == "string" && errvar != "" {
2943+ text += fmt.Sprintf("\tvar _p%d *byte\n", n)
2944+ text += fmt.Sprintf("\t_p%d, %s = BytePtrFromString(%s)\n", n, errvar, p.Name)
2945+ text += fmt.Sprintf("\tif %s != nil {\n\t\treturn\n\t}\n", errvar)
2946+ args = append(args, fmt.Sprintf("uintptr(unsafe.Pointer(_p%d))", n))
2947+ n++
2948+ } else if p.Type == "string" {
2949+ fmt.Fprintf(os.Stderr, path+":"+funct+" uses string arguments, but has no error return\n")
2950+ text += fmt.Sprintf("\tvar _p%d *byte\n", n)
2951+ text += fmt.Sprintf("\t_p%d, _ = BytePtrFromString(%s)\n", n, p.Name)
2952+ args = append(args, fmt.Sprintf("uintptr(unsafe.Pointer(_p%d))", n))
2953+ n++
2954+ } else if regexp.MustCompile(`^\[\](.*)`).FindStringSubmatch(p.Type) != nil {
2955+ // Convert slice into pointer, length.
2956+ // Have to be careful not to take address of &a[0] if len == 0:
2957+ // pass dummy pointer in that case.
2958+ // Used to pass nil, but some OSes or simulators reject write(fd, nil, 0).
2959+ text += fmt.Sprintf("\tvar _p%d unsafe.Pointer\n", n)
2960+ text += fmt.Sprintf("\tif len(%s) > 0 {\n\t\t_p%d = unsafe.Pointer(&%s[0])\n\t}", p.Name, n, p.Name)
2961+ text += fmt.Sprintf(" else {\n\t\t_p%d = unsafe.Pointer(&_zero)\n\t}\n", n)
2962+ args = append(args, fmt.Sprintf("uintptr(_p%d)", n), fmt.Sprintf("uintptr(len(%s))", p.Name))
2963+ n++
2964+ } else if p.Type == "int64" && (*openbsd || *netbsd) {
2965+ args = append(args, "0")
2966+ if endianness == "big-endian" {
2967+ args = append(args, fmt.Sprintf("uintptr(%s>>32)", p.Name), fmt.Sprintf("uintptr(%s)", p.Name))
2968+ } else if endianness == "little-endian" {
2969+ args = append(args, fmt.Sprintf("uintptr(%s)", p.Name), fmt.Sprintf("uintptr(%s>>32)", p.Name))
2970+ } else {
2971+ args = append(args, fmt.Sprintf("uintptr(%s)", p.Name))
2972+ }
2973+ } else if p.Type == "int64" && *dragonfly {
2974+ if regexp.MustCompile(`^(?i)extp(read|write)`).FindStringSubmatch(funct) == nil {
2975+ args = append(args, "0")
2976+ }
2977+ if endianness == "big-endian" {
2978+ args = append(args, fmt.Sprintf("uintptr(%s>>32)", p.Name), fmt.Sprintf("uintptr(%s)", p.Name))
2979+ } else if endianness == "little-endian" {
2980+ args = append(args, fmt.Sprintf("uintptr(%s)", p.Name), fmt.Sprintf("uintptr(%s>>32)", p.Name))
2981+ } else {
2982+ args = append(args, fmt.Sprintf("uintptr(%s)", p.Name))
2983+ }
2984+ } else if (p.Type == "int64" || p.Type == "uint64") && endianness != "" {
2985+ if len(args)%2 == 1 && *arm {
2986+ // arm abi specifies 64-bit argument uses
2987+ // (even, odd) pair
2988+ args = append(args, "0")
2989+ }
2990+ if endianness == "big-endian" {
2991+ args = append(args, fmt.Sprintf("uintptr(%s>>32)", p.Name), fmt.Sprintf("uintptr(%s)", p.Name))
2992+ } else {
2993+ args = append(args, fmt.Sprintf("uintptr(%s)", p.Name), fmt.Sprintf("uintptr(%s>>32)", p.Name))
2994+ }
2995+ } else {
2996+ args = append(args, fmt.Sprintf("uintptr(%s)", p.Name))
2997+ }
2998+ }
2999+
3000+ // Determine which form to use; pad args with zeros.
3001+ asm := "Syscall"
3002+ if nonblock != nil {
3003+ if errvar == "" && goos == "linux" {
3004+ asm = "RawSyscallNoError"
3005+ } else {
3006+ asm = "RawSyscall"
3007+ }
3008+ } else {
3009+ if errvar == "" && goos == "linux" {
3010+ asm = "SyscallNoError"
3011+ }
3012+ }
3013+ if len(args) <= 3 {
3014+ for len(args) < 3 {
3015+ args = append(args, "0")
3016+ }
3017+ } else if len(args) <= 6 {
3018+ asm += "6"
3019+ for len(args) < 6 {
3020+ args = append(args, "0")
3021+ }
3022+ } else if len(args) <= 9 {
3023+ asm += "9"
3024+ for len(args) < 9 {
3025+ args = append(args, "0")
3026+ }
3027+ } else {
3028+ fmt.Fprintf(os.Stderr, "%s:%s too many arguments to system call\n", path, funct)
3029+ }
3030+
3031+ // System call number.
3032+ if sysname == "" {
3033+ sysname = "SYS_" + funct
3034+ sysname = regexp.MustCompile(`([a-z])([A-Z])`).ReplaceAllString(sysname, `${1}_$2`)
3035+ sysname = strings.ToUpper(sysname)
3036+ }
3037+
3038+ var libcFn string
3039+ if libc {
3040+ asm = "syscall_" + strings.ToLower(asm[:1]) + asm[1:] // internal syscall call
3041+ sysname = strings.TrimPrefix(sysname, "SYS_") // remove SYS_
3042+ sysname = strings.ToLower(sysname) // lowercase
3043+ libcFn = sysname
3044+ sysname = "funcPC(libc_" + sysname + "_trampoline)"
3045+ }
3046+
3047+ // Actual call.
3048+ arglist := strings.Join(args, ", ")
3049+ call := fmt.Sprintf("%s(%s, %s)", asm, sysname, arglist)
3050+
3051+ // Assign return values.
3052+ body := ""
3053+ ret := []string{"_", "_", "_"}
3054+ doErrno := false
3055+ for i := 0; i < len(out); i++ {
3056+ p := parseParam(out[i])
3057+ reg := ""
3058+ if p.Name == "err" && !*plan9 {
3059+ reg = "e1"
3060+ ret[2] = reg
3061+ doErrno = true
3062+ } else if p.Name == "err" && *plan9 {
3063+ ret[0] = "r0"
3064+ ret[2] = "e1"
3065+ break
3066+ } else {
3067+ reg = fmt.Sprintf("r%d", i)
3068+ ret[i] = reg
3069+ }
3070+ if p.Type == "bool" {
3071+ reg = fmt.Sprintf("%s != 0", reg)
3072+ }
3073+ if p.Type == "int64" && endianness != "" {
3074+ // 64-bit number in r1:r0 or r0:r1.
3075+ if i+2 > len(out) {
3076+ fmt.Fprintf(os.Stderr, "%s:%s not enough registers for int64 return\n", path, funct)
3077+ }
3078+ if endianness == "big-endian" {
3079+ reg = fmt.Sprintf("int64(r%d)<<32 | int64(r%d)", i, i+1)
3080+ } else {
3081+ reg = fmt.Sprintf("int64(r%d)<<32 | int64(r%d)", i+1, i)
3082+ }
3083+ ret[i] = fmt.Sprintf("r%d", i)
3084+ ret[i+1] = fmt.Sprintf("r%d", i+1)
3085+ }
3086+ if reg != "e1" || *plan9 {
3087+ body += fmt.Sprintf("\t%s = %s(%s)\n", p.Name, p.Type, reg)
3088+ }
3089+ }
3090+ if ret[0] == "_" && ret[1] == "_" && ret[2] == "_" {
3091+ text += fmt.Sprintf("\t%s\n", call)
3092+ } else {
3093+ if errvar == "" && goos == "linux" {
3094+ // raw syscall without error on Linux, see golang.org/issue/22924
3095+ text += fmt.Sprintf("\t%s, %s := %s\n", ret[0], ret[1], call)
3096+ } else {
3097+ text += fmt.Sprintf("\t%s, %s, %s := %s\n", ret[0], ret[1], ret[2], call)
3098+ }
3099+ }
3100+ text += body
3101+
3102+ if *plan9 && ret[2] == "e1" {
3103+ text += "\tif int32(r0) == -1 {\n"
3104+ text += "\t\terr = e1\n"
3105+ text += "\t}\n"
3106+ } else if doErrno {
3107+ text += "\tif e1 != 0 {\n"
3108+ text += "\t\terr = errnoErr(e1)\n"
3109+ text += "\t}\n"
3110+ }
3111+ text += "\treturn\n"
3112+ text += "}\n\n"
3113+
3114+ if libc && !trampolines[libcFn] {
3115+ // some system calls share a trampoline, like read and readlen.
3116+ trampolines[libcFn] = true
3117+ // Declare assembly trampoline.
3118+ text += fmt.Sprintf("func libc_%s_trampoline()\n", libcFn)
3119+ // Assembly trampoline calls the libc_* function, which this magic
3120+ // redirects to use the function from libSystem.
3121+ text += fmt.Sprintf("//go:linkname libc_%s libc_%s\n", libcFn, libcFn)
3122+ text += fmt.Sprintf("//go:cgo_import_dynamic libc_%s %s \"/usr/lib/libSystem.B.dylib\"\n", libcFn, libcFn)
3123+ text += "\n"
3124+ }
3125+ }
3126+ if err := s.Err(); err != nil {
3127+ fmt.Fprintf(os.Stderr, err.Error())
3128+ os.Exit(1)
3129+ }
3130+ file.Close()
3131+ }
3132+ fmt.Printf(srcTemplate, cmdLine(), buildTags(), text)
3133+}
3134+
3135+const srcTemplate = `// %s
3136+// Code generated by the command above; see README.md. DO NOT EDIT.
3137+
3138+// +build %s
3139+
3140+package unix
3141+
3142+import (
3143+ "syscall"
3144+ "unsafe"
3145+)
3146+
3147+var _ syscall.Errno
3148+
3149+%s
3150+`
3151diff --git a/vendor/golang.org/x/sys/unix/mksyscall_aix_ppc.go b/vendor/golang.org/x/sys/unix/mksyscall_aix_ppc.go
3152new file mode 100644
3153index 00000000..3be3cdfc
3154--- /dev/null
3155+++ b/vendor/golang.org/x/sys/unix/mksyscall_aix_ppc.go
3156@@ -0,0 +1,415 @@
3157+// Copyright 2019 The Go Authors. All rights reserved.
3158+// Use of this source code is governed by a BSD-style
3159+// license that can be found in the LICENSE file.
3160+
3161+// +build ignore
3162+
3163+/*
3164+This program reads a file containing function prototypes
3165+(like syscall_aix.go) and generates system call bodies.
3166+The prototypes are marked by lines beginning with "//sys"
3167+and read like func declarations if //sys is replaced by func, but:
3168+ * The parameter lists must give a name for each argument.
3169+ This includes return parameters.
3170+ * The parameter lists must give a type for each argument:
3171+ the (x, y, z int) shorthand is not allowed.
3172+ * If the return parameter is an error number, it must be named err.
3173+ * If go func name needs to be different than its libc name,
3174+ * or the function is not in libc, name could be specified
3175+ * at the end, after "=" sign, like
3176+ //sys getsockopt(s int, level int, name int, val uintptr, vallen *_Socklen) (err error) = libsocket.getsockopt
3177+*/
3178+package main
3179+
3180+import (
3181+ "bufio"
3182+ "flag"
3183+ "fmt"
3184+ "os"
3185+ "regexp"
3186+ "strings"
3187+)
3188+
3189+var (
3190+ b32 = flag.Bool("b32", false, "32bit big-endian")
3191+ l32 = flag.Bool("l32", false, "32bit little-endian")
3192+ aix = flag.Bool("aix", false, "aix")
3193+ tags = flag.String("tags", "", "build tags")
3194+)
3195+
3196+// cmdLine returns this programs's commandline arguments
3197+func cmdLine() string {
3198+ return "go run mksyscall_aix_ppc.go " + strings.Join(os.Args[1:], " ")
3199+}
3200+
3201+// buildTags returns build tags
3202+func buildTags() string {
3203+ return *tags
3204+}
3205+
3206+// Param is function parameter
3207+type Param struct {
3208+ Name string
3209+ Type string
3210+}
3211+
3212+// usage prints the program usage
3213+func usage() {
3214+ fmt.Fprintf(os.Stderr, "usage: go run mksyscall_aix_ppc.go [-b32 | -l32] [-tags x,y] [file ...]\n")
3215+ os.Exit(1)
3216+}
3217+
3218+// parseParamList parses parameter list and returns a slice of parameters
3219+func parseParamList(list string) []string {
3220+ list = strings.TrimSpace(list)
3221+ if list == "" {
3222+ return []string{}
3223+ }
3224+ return regexp.MustCompile(`\s*,\s*`).Split(list, -1)
3225+}
3226+
3227+// parseParam splits a parameter into name and type
3228+func parseParam(p string) Param {
3229+ ps := regexp.MustCompile(`^(\S*) (\S*)$`).FindStringSubmatch(p)
3230+ if ps == nil {
3231+ fmt.Fprintf(os.Stderr, "malformed parameter: %s\n", p)
3232+ os.Exit(1)
3233+ }
3234+ return Param{ps[1], ps[2]}
3235+}
3236+
3237+func main() {
3238+ flag.Usage = usage
3239+ flag.Parse()
3240+ if len(flag.Args()) <= 0 {
3241+ fmt.Fprintf(os.Stderr, "no files to parse provided\n")
3242+ usage()
3243+ }
3244+
3245+ endianness := ""
3246+ if *b32 {
3247+ endianness = "big-endian"
3248+ } else if *l32 {
3249+ endianness = "little-endian"
3250+ }
3251+
3252+ pack := ""
3253+ text := ""
3254+ cExtern := "/*\n#include <stdint.h>\n#include <stddef.h>\n"
3255+ for _, path := range flag.Args() {
3256+ file, err := os.Open(path)
3257+ if err != nil {
3258+ fmt.Fprintf(os.Stderr, err.Error())
3259+ os.Exit(1)
3260+ }
3261+ s := bufio.NewScanner(file)
3262+ for s.Scan() {
3263+ t := s.Text()
3264+ t = strings.TrimSpace(t)
3265+ t = regexp.MustCompile(`\s+`).ReplaceAllString(t, ` `)
3266+ if p := regexp.MustCompile(`^package (\S+)$`).FindStringSubmatch(t); p != nil && pack == "" {
3267+ pack = p[1]
3268+ }
3269+ nonblock := regexp.MustCompile(`^\/\/sysnb `).FindStringSubmatch(t)
3270+ if regexp.MustCompile(`^\/\/sys `).FindStringSubmatch(t) == nil && nonblock == nil {
3271+ continue
3272+ }
3273+
3274+ // Line must be of the form
3275+ // func Open(path string, mode int, perm int) (fd int, err error)
3276+ // Split into name, in params, out params.
3277+ f := regexp.MustCompile(`^\/\/sys(nb)? (\w+)\(([^()]*)\)\s*(?:\(([^()]+)\))?\s*(?:=\s*(?:(\w*)\.)?(\w*))?$`).FindStringSubmatch(t)
3278+ if f == nil {
3279+ fmt.Fprintf(os.Stderr, "%s:%s\nmalformed //sys declaration\n", path, t)
3280+ os.Exit(1)
3281+ }
3282+ funct, inps, outps, modname, sysname := f[2], f[3], f[4], f[5], f[6]
3283+
3284+ // Split argument lists on comma.
3285+ in := parseParamList(inps)
3286+ out := parseParamList(outps)
3287+
3288+ inps = strings.Join(in, ", ")
3289+ outps = strings.Join(out, ", ")
3290+
3291+ // Try in vain to keep people from editing this file.
3292+ // The theory is that they jump into the middle of the file
3293+ // without reading the header.
3294+ text += "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT\n\n"
3295+
3296+ // Check if value return, err return available
3297+ errvar := ""
3298+ retvar := ""
3299+ rettype := ""
3300+ for _, param := range out {
3301+ p := parseParam(param)
3302+ if p.Type == "error" {
3303+ errvar = p.Name
3304+ } else {
3305+ retvar = p.Name
3306+ rettype = p.Type
3307+ }
3308+ }
3309+
3310+ // System call name.
3311+ if sysname == "" {
3312+ sysname = funct
3313+ }
3314+ sysname = regexp.MustCompile(`([a-z])([A-Z])`).ReplaceAllString(sysname, `${1}_$2`)
3315+ sysname = strings.ToLower(sysname) // All libc functions are lowercase.
3316+
3317+ cRettype := ""
3318+ if rettype == "unsafe.Pointer" {
3319+ cRettype = "uintptr_t"
3320+ } else if rettype == "uintptr" {
3321+ cRettype = "uintptr_t"
3322+ } else if regexp.MustCompile(`^_`).FindStringSubmatch(rettype) != nil {
3323+ cRettype = "uintptr_t"
3324+ } else if rettype == "int" {
3325+ cRettype = "int"
3326+ } else if rettype == "int32" {
3327+ cRettype = "int"
3328+ } else if rettype == "int64" {
3329+ cRettype = "long long"
3330+ } else if rettype == "uint32" {
3331+ cRettype = "unsigned int"
3332+ } else if rettype == "uint64" {
3333+ cRettype = "unsigned long long"
3334+ } else {
3335+ cRettype = "int"
3336+ }
3337+ if sysname == "exit" {
3338+ cRettype = "void"
3339+ }
3340+
3341+ // Change p.Types to c
3342+ var cIn []string
3343+ for _, param := range in {
3344+ p := parseParam(param)
3345+ if regexp.MustCompile(`^\*`).FindStringSubmatch(p.Type) != nil {
3346+ cIn = append(cIn, "uintptr_t")
3347+ } else if p.Type == "string" {
3348+ cIn = append(cIn, "uintptr_t")
3349+ } else if regexp.MustCompile(`^\[\](.*)`).FindStringSubmatch(p.Type) != nil {
3350+ cIn = append(cIn, "uintptr_t", "size_t")
3351+ } else if p.Type == "unsafe.Pointer" {
3352+ cIn = append(cIn, "uintptr_t")
3353+ } else if p.Type == "uintptr" {
3354+ cIn = append(cIn, "uintptr_t")
3355+ } else if regexp.MustCompile(`^_`).FindStringSubmatch(p.Type) != nil {
3356+ cIn = append(cIn, "uintptr_t")
3357+ } else if p.Type == "int" {
3358+ cIn = append(cIn, "int")
3359+ } else if p.Type == "int32" {
3360+ cIn = append(cIn, "int")
3361+ } else if p.Type == "int64" {
3362+ cIn = append(cIn, "long long")
3363+ } else if p.Type == "uint32" {
3364+ cIn = append(cIn, "unsigned int")
3365+ } else if p.Type == "uint64" {
3366+ cIn = append(cIn, "unsigned long long")
3367+ } else {
3368+ cIn = append(cIn, "int")
3369+ }
3370+ }
3371+
3372+ if funct != "fcntl" && funct != "FcntlInt" && funct != "readlen" && funct != "writelen" {
3373+ if sysname == "select" {
3374+ // select is a keyword of Go. Its name is
3375+ // changed to c_select.
3376+ cExtern += "#define c_select select\n"
3377+ }
3378+ // Imports of system calls from libc
3379+ cExtern += fmt.Sprintf("%s %s", cRettype, sysname)
3380+ cIn := strings.Join(cIn, ", ")
3381+ cExtern += fmt.Sprintf("(%s);\n", cIn)
3382+ }
3383+
3384+ // So file name.
3385+ if *aix {
3386+ if modname == "" {
3387+ modname = "libc.a/shr_64.o"
3388+ } else {
3389+ fmt.Fprintf(os.Stderr, "%s: only syscall using libc are available\n", funct)
3390+ os.Exit(1)
3391+ }
3392+ }
3393+
3394+ strconvfunc := "C.CString"
3395+
3396+ // Go function header.
3397+ if outps != "" {
3398+ outps = fmt.Sprintf(" (%s)", outps)
3399+ }
3400+ if text != "" {
3401+ text += "\n"
3402+ }
3403+
3404+ text += fmt.Sprintf("func %s(%s)%s {\n", funct, strings.Join(in, ", "), outps)
3405+
3406+ // Prepare arguments to Syscall.
3407+ var args []string
3408+ n := 0
3409+ argN := 0
3410+ for _, param := range in {
3411+ p := parseParam(param)
3412+ if regexp.MustCompile(`^\*`).FindStringSubmatch(p.Type) != nil {
3413+ args = append(args, "C.uintptr_t(uintptr(unsafe.Pointer("+p.Name+")))")
3414+ } else if p.Type == "string" && errvar != "" {
3415+ text += fmt.Sprintf("\t_p%d := uintptr(unsafe.Pointer(%s(%s)))\n", n, strconvfunc, p.Name)
3416+ args = append(args, fmt.Sprintf("C.uintptr_t(_p%d)", n))
3417+ n++
3418+ } else if p.Type == "string" {
3419+ fmt.Fprintf(os.Stderr, path+":"+funct+" uses string arguments, but has no error return\n")
3420+ text += fmt.Sprintf("\t_p%d := uintptr(unsafe.Pointer(%s(%s)))\n", n, strconvfunc, p.Name)
3421+ args = append(args, fmt.Sprintf("C.uintptr_t(_p%d)", n))
3422+ n++
3423+ } else if m := regexp.MustCompile(`^\[\](.*)`).FindStringSubmatch(p.Type); m != nil {
3424+ // Convert slice into pointer, length.
3425+ // Have to be careful not to take address of &a[0] if len == 0:
3426+ // pass nil in that case.
3427+ text += fmt.Sprintf("\tvar _p%d *%s\n", n, m[1])
3428+ text += fmt.Sprintf("\tif len(%s) > 0 {\n\t\t_p%d = &%s[0]\n\t}\n", p.Name, n, p.Name)
3429+ args = append(args, fmt.Sprintf("C.uintptr_t(uintptr(unsafe.Pointer(_p%d)))", n))
3430+ n++
3431+ text += fmt.Sprintf("\tvar _p%d int\n", n)
3432+ text += fmt.Sprintf("\t_p%d = len(%s)\n", n, p.Name)
3433+ args = append(args, fmt.Sprintf("C.size_t(_p%d)", n))
3434+ n++
3435+ } else if p.Type == "int64" && endianness != "" {
3436+ if endianness == "big-endian" {
3437+ args = append(args, fmt.Sprintf("uintptr(%s>>32)", p.Name), fmt.Sprintf("uintptr(%s)", p.Name))
3438+ } else {
3439+ args = append(args, fmt.Sprintf("uintptr(%s)", p.Name), fmt.Sprintf("uintptr(%s>>32)", p.Name))
3440+ }
3441+ n++
3442+ } else if p.Type == "bool" {
3443+ text += fmt.Sprintf("\tvar _p%d uint32\n", n)
3444+ text += fmt.Sprintf("\tif %s {\n\t\t_p%d = 1\n\t} else {\n\t\t_p%d = 0\n\t}\n", p.Name, n, n)
3445+ args = append(args, fmt.Sprintf("_p%d", n))
3446+ } else if regexp.MustCompile(`^_`).FindStringSubmatch(p.Type) != nil {
3447+ args = append(args, fmt.Sprintf("C.uintptr_t(uintptr(%s))", p.Name))
3448+ } else if p.Type == "unsafe.Pointer" {
3449+ args = append(args, fmt.Sprintf("C.uintptr_t(uintptr(%s))", p.Name))
3450+ } else if p.Type == "int" {
3451+ if (argN == 2) && ((funct == "readlen") || (funct == "writelen")) {
3452+ args = append(args, fmt.Sprintf("C.size_t(%s)", p.Name))
3453+ } else if argN == 0 && funct == "fcntl" {
3454+ args = append(args, fmt.Sprintf("C.uintptr_t(%s)", p.Name))
3455+ } else if (argN == 2) && ((funct == "fcntl") || (funct == "FcntlInt")) {
3456+ args = append(args, fmt.Sprintf("C.uintptr_t(%s)", p.Name))
3457+ } else {
3458+ args = append(args, fmt.Sprintf("C.int(%s)", p.Name))
3459+ }
3460+ } else if p.Type == "int32" {
3461+ args = append(args, fmt.Sprintf("C.int(%s)", p.Name))
3462+ } else if p.Type == "int64" {
3463+ args = append(args, fmt.Sprintf("C.longlong(%s)", p.Name))
3464+ } else if p.Type == "uint32" {
3465+ args = append(args, fmt.Sprintf("C.uint(%s)", p.Name))
3466+ } else if p.Type == "uint64" {
3467+ args = append(args, fmt.Sprintf("C.ulonglong(%s)", p.Name))
3468+ } else if p.Type == "uintptr" {
3469+ args = append(args, fmt.Sprintf("C.uintptr_t(%s)", p.Name))
3470+ } else {
3471+ args = append(args, fmt.Sprintf("C.int(%s)", p.Name))
3472+ }
3473+ argN++
3474+ }
3475+
3476+ // Actual call.
3477+ arglist := strings.Join(args, ", ")
3478+ call := ""
3479+ if sysname == "exit" {
3480+ if errvar != "" {
3481+ call += "er :="
3482+ } else {
3483+ call += ""
3484+ }
3485+ } else if errvar != "" {
3486+ call += "r0,er :="
3487+ } else if retvar != "" {
3488+ call += "r0,_ :="
3489+ } else {
3490+ call += ""
3491+ }
3492+ if sysname == "select" {
3493+ // select is a keyword of Go. Its name is
3494+ // changed to c_select.
3495+ call += fmt.Sprintf("C.c_%s(%s)", sysname, arglist)
3496+ } else {
3497+ call += fmt.Sprintf("C.%s(%s)", sysname, arglist)
3498+ }
3499+
3500+ // Assign return values.
3501+ body := ""
3502+ for i := 0; i < len(out); i++ {
3503+ p := parseParam(out[i])
3504+ reg := ""
3505+ if p.Name == "err" {
3506+ reg = "e1"
3507+ } else {
3508+ reg = "r0"
3509+ }
3510+ if reg != "e1" {
3511+ body += fmt.Sprintf("\t%s = %s(%s)\n", p.Name, p.Type, reg)
3512+ }
3513+ }
3514+
3515+ // verify return
3516+ if sysname != "exit" && errvar != "" {
3517+ if regexp.MustCompile(`^uintptr`).FindStringSubmatch(cRettype) != nil {
3518+ body += "\tif (uintptr(r0) ==^uintptr(0) && er != nil) {\n"
3519+ body += fmt.Sprintf("\t\t%s = er\n", errvar)
3520+ body += "\t}\n"
3521+ } else {
3522+ body += "\tif (r0 ==-1 && er != nil) {\n"
3523+ body += fmt.Sprintf("\t\t%s = er\n", errvar)
3524+ body += "\t}\n"
3525+ }
3526+ } else if errvar != "" {
3527+ body += "\tif (er != nil) {\n"
3528+ body += fmt.Sprintf("\t\t%s = er\n", errvar)
3529+ body += "\t}\n"
3530+ }
3531+
3532+ text += fmt.Sprintf("\t%s\n", call)
3533+ text += body
3534+
3535+ text += "\treturn\n"
3536+ text += "}\n"
3537+ }
3538+ if err := s.Err(); err != nil {
3539+ fmt.Fprintf(os.Stderr, err.Error())
3540+ os.Exit(1)
3541+ }
3542+ file.Close()
3543+ }
3544+ imp := ""
3545+ if pack != "unix" {
3546+ imp = "import \"golang.org/x/sys/unix\"\n"
3547+
3548+ }
3549+ fmt.Printf(srcTemplate, cmdLine(), buildTags(), pack, cExtern, imp, text)
3550+}
3551+
3552+const srcTemplate = `// %s
3553+// Code generated by the command above; see README.md. DO NOT EDIT.
3554+
3555+// +build %s
3556+
3557+package %s
3558+
3559+
3560+%s
3561+*/
3562+import "C"
3563+import (
3564+ "unsafe"
3565+)
3566+
3567+
3568+%s
3569+
3570+%s
3571+`
3572diff --git a/vendor/golang.org/x/sys/unix/mksyscall_aix_ppc64.go b/vendor/golang.org/x/sys/unix/mksyscall_aix_ppc64.go
3573new file mode 100644
3574index 00000000..c9600995
3575--- /dev/null
3576+++ b/vendor/golang.org/x/sys/unix/mksyscall_aix_ppc64.go
3577@@ -0,0 +1,614 @@
3578+// Copyright 2019 The Go Authors. All rights reserved.
3579+// Use of this source code is governed by a BSD-style
3580+// license that can be found in the LICENSE file.
3581+
3582+// +build ignore
3583+
3584+/*
3585+This program reads a file containing function prototypes
3586+(like syscall_aix.go) and generates system call bodies.
3587+The prototypes are marked by lines beginning with "//sys"
3588+and read like func declarations if //sys is replaced by func, but:
3589+ * The parameter lists must give a name for each argument.
3590+ This includes return parameters.
3591+ * The parameter lists must give a type for each argument:
3592+ the (x, y, z int) shorthand is not allowed.
3593+ * If the return parameter is an error number, it must be named err.
3594+ * If go func name needs to be different than its libc name,
3595+ * or the function is not in libc, name could be specified
3596+ * at the end, after "=" sign, like
3597+ //sys getsockopt(s int, level int, name int, val uintptr, vallen *_Socklen) (err error) = libsocket.getsockopt
3598+
3599+
3600+This program will generate three files and handle both gc and gccgo implementation:
3601+ - zsyscall_aix_ppc64.go: the common part of each implementation (error handler, pointer creation)
3602+ - zsyscall_aix_ppc64_gc.go: gc part with //go_cgo_import_dynamic and a call to syscall6
3603+ - zsyscall_aix_ppc64_gccgo.go: gccgo part with C function and conversion to C type.
3604+
3605+ The generated code looks like this
3606+
3607+zsyscall_aix_ppc64.go
3608+func asyscall(...) (n int, err error) {
3609+ // Pointer Creation
3610+ r1, e1 := callasyscall(...)
3611+ // Type Conversion
3612+ // Error Handler
3613+ return
3614+}
3615+
3616+zsyscall_aix_ppc64_gc.go
3617+//go:cgo_import_dynamic libc_asyscall asyscall "libc.a/shr_64.o"
3618+//go:linkname libc_asyscall libc_asyscall
3619+var asyscall syscallFunc
3620+
3621+func callasyscall(...) (r1 uintptr, e1 Errno) {
3622+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_asyscall)), "nb_args", ... )
3623+ return
3624+}
3625+
3626+zsyscall_aix_ppc64_ggcgo.go
3627+
3628+// int asyscall(...)
3629+
3630+import "C"
3631+
3632+func callasyscall(...) (r1 uintptr, e1 Errno) {
3633+ r1 = uintptr(C.asyscall(...))
3634+ e1 = syscall.GetErrno()
3635+ return
3636+}
3637+*/
3638+
3639+package main
3640+
3641+import (
3642+ "bufio"
3643+ "flag"
3644+ "fmt"
3645+ "io/ioutil"
3646+ "os"
3647+ "regexp"
3648+ "strings"
3649+)
3650+
3651+var (
3652+ b32 = flag.Bool("b32", false, "32bit big-endian")
3653+ l32 = flag.Bool("l32", false, "32bit little-endian")
3654+ aix = flag.Bool("aix", false, "aix")
3655+ tags = flag.String("tags", "", "build tags")
3656+)
3657+
3658+// cmdLine returns this programs's commandline arguments
3659+func cmdLine() string {
3660+ return "go run mksyscall_aix_ppc64.go " + strings.Join(os.Args[1:], " ")
3661+}
3662+
3663+// buildTags returns build tags
3664+func buildTags() string {
3665+ return *tags
3666+}
3667+
3668+// Param is function parameter
3669+type Param struct {
3670+ Name string
3671+ Type string
3672+}
3673+
3674+// usage prints the program usage
3675+func usage() {
3676+ fmt.Fprintf(os.Stderr, "usage: go run mksyscall_aix_ppc64.go [-b32 | -l32] [-tags x,y] [file ...]\n")
3677+ os.Exit(1)
3678+}
3679+
3680+// parseParamList parses parameter list and returns a slice of parameters
3681+func parseParamList(list string) []string {
3682+ list = strings.TrimSpace(list)
3683+ if list == "" {
3684+ return []string{}
3685+ }
3686+ return regexp.MustCompile(`\s*,\s*`).Split(list, -1)
3687+}
3688+
3689+// parseParam splits a parameter into name and type
3690+func parseParam(p string) Param {
3691+ ps := regexp.MustCompile(`^(\S*) (\S*)$`).FindStringSubmatch(p)
3692+ if ps == nil {
3693+ fmt.Fprintf(os.Stderr, "malformed parameter: %s\n", p)
3694+ os.Exit(1)
3695+ }
3696+ return Param{ps[1], ps[2]}
3697+}
3698+
3699+func main() {
3700+ flag.Usage = usage
3701+ flag.Parse()
3702+ if len(flag.Args()) <= 0 {
3703+ fmt.Fprintf(os.Stderr, "no files to parse provided\n")
3704+ usage()
3705+ }
3706+
3707+ endianness := ""
3708+ if *b32 {
3709+ endianness = "big-endian"
3710+ } else if *l32 {
3711+ endianness = "little-endian"
3712+ }
3713+
3714+ pack := ""
3715+ // GCCGO
3716+ textgccgo := ""
3717+ cExtern := "/*\n#include <stdint.h>\n"
3718+ // GC
3719+ textgc := ""
3720+ dynimports := ""
3721+ linknames := ""
3722+ var vars []string
3723+ // COMMON
3724+ textcommon := ""
3725+ for _, path := range flag.Args() {
3726+ file, err := os.Open(path)
3727+ if err != nil {
3728+ fmt.Fprintf(os.Stderr, err.Error())
3729+ os.Exit(1)
3730+ }
3731+ s := bufio.NewScanner(file)
3732+ for s.Scan() {
3733+ t := s.Text()
3734+ t = strings.TrimSpace(t)
3735+ t = regexp.MustCompile(`\s+`).ReplaceAllString(t, ` `)
3736+ if p := regexp.MustCompile(`^package (\S+)$`).FindStringSubmatch(t); p != nil && pack == "" {
3737+ pack = p[1]
3738+ }
3739+ nonblock := regexp.MustCompile(`^\/\/sysnb `).FindStringSubmatch(t)
3740+ if regexp.MustCompile(`^\/\/sys `).FindStringSubmatch(t) == nil && nonblock == nil {
3741+ continue
3742+ }
3743+
3744+ // Line must be of the form
3745+ // func Open(path string, mode int, perm int) (fd int, err error)
3746+ // Split into name, in params, out params.
3747+ f := regexp.MustCompile(`^\/\/sys(nb)? (\w+)\(([^()]*)\)\s*(?:\(([^()]+)\))?\s*(?:=\s*(?:(\w*)\.)?(\w*))?$`).FindStringSubmatch(t)
3748+ if f == nil {
3749+ fmt.Fprintf(os.Stderr, "%s:%s\nmalformed //sys declaration\n", path, t)
3750+ os.Exit(1)
3751+ }
3752+ funct, inps, outps, modname, sysname := f[2], f[3], f[4], f[5], f[6]
3753+
3754+ // Split argument lists on comma.
3755+ in := parseParamList(inps)
3756+ out := parseParamList(outps)
3757+
3758+ inps = strings.Join(in, ", ")
3759+ outps = strings.Join(out, ", ")
3760+
3761+ if sysname == "" {
3762+ sysname = funct
3763+ }
3764+
3765+ onlyCommon := false
3766+ if funct == "readlen" || funct == "writelen" || funct == "FcntlInt" || funct == "FcntlFlock" {
3767+ // This function call another syscall which is already implemented.
3768+ // Therefore, the gc and gccgo part must not be generated.
3769+ onlyCommon = true
3770+ }
3771+
3772+ // Try in vain to keep people from editing this file.
3773+ // The theory is that they jump into the middle of the file
3774+ // without reading the header.
3775+
3776+ textcommon += "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT\n\n"
3777+ if !onlyCommon {
3778+ textgccgo += "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT\n\n"
3779+ textgc += "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT\n\n"
3780+ }
3781+
3782+ // Check if value return, err return available
3783+ errvar := ""
3784+ rettype := ""
3785+ for _, param := range out {
3786+ p := parseParam(param)
3787+ if p.Type == "error" {
3788+ errvar = p.Name
3789+ } else {
3790+ rettype = p.Type
3791+ }
3792+ }
3793+
3794+ sysname = regexp.MustCompile(`([a-z])([A-Z])`).ReplaceAllString(sysname, `${1}_$2`)
3795+ sysname = strings.ToLower(sysname) // All libc functions are lowercase.
3796+
3797+ // GCCGO Prototype return type
3798+ cRettype := ""
3799+ if rettype == "unsafe.Pointer" {
3800+ cRettype = "uintptr_t"
3801+ } else if rettype == "uintptr" {
3802+ cRettype = "uintptr_t"
3803+ } else if regexp.MustCompile(`^_`).FindStringSubmatch(rettype) != nil {
3804+ cRettype = "uintptr_t"
3805+ } else if rettype == "int" {
3806+ cRettype = "int"
3807+ } else if rettype == "int32" {
3808+ cRettype = "int"
3809+ } else if rettype == "int64" {
3810+ cRettype = "long long"
3811+ } else if rettype == "uint32" {
3812+ cRettype = "unsigned int"
3813+ } else if rettype == "uint64" {
3814+ cRettype = "unsigned long long"
3815+ } else {
3816+ cRettype = "int"
3817+ }
3818+ if sysname == "exit" {
3819+ cRettype = "void"
3820+ }
3821+
3822+ // GCCGO Prototype arguments type
3823+ var cIn []string
3824+ for i, param := range in {
3825+ p := parseParam(param)
3826+ if regexp.MustCompile(`^\*`).FindStringSubmatch(p.Type) != nil {
3827+ cIn = append(cIn, "uintptr_t")
3828+ } else if p.Type == "string" {
3829+ cIn = append(cIn, "uintptr_t")
3830+ } else if regexp.MustCompile(`^\[\](.*)`).FindStringSubmatch(p.Type) != nil {
3831+ cIn = append(cIn, "uintptr_t", "size_t")
3832+ } else if p.Type == "unsafe.Pointer" {
3833+ cIn = append(cIn, "uintptr_t")
3834+ } else if p.Type == "uintptr" {
3835+ cIn = append(cIn, "uintptr_t")
3836+ } else if regexp.MustCompile(`^_`).FindStringSubmatch(p.Type) != nil {
3837+ cIn = append(cIn, "uintptr_t")
3838+ } else if p.Type == "int" {
3839+ if (i == 0 || i == 2) && funct == "fcntl" {
3840+ // These fcntl arguments needs to be uintptr to be able to call FcntlInt and FcntlFlock
3841+ cIn = append(cIn, "uintptr_t")
3842+ } else {
3843+ cIn = append(cIn, "int")
3844+ }
3845+
3846+ } else if p.Type == "int32" {
3847+ cIn = append(cIn, "int")
3848+ } else if p.Type == "int64" {
3849+ cIn = append(cIn, "long long")
3850+ } else if p.Type == "uint32" {
3851+ cIn = append(cIn, "unsigned int")
3852+ } else if p.Type == "uint64" {
3853+ cIn = append(cIn, "unsigned long long")
3854+ } else {
3855+ cIn = append(cIn, "int")
3856+ }
3857+ }
3858+
3859+ if !onlyCommon {
3860+ // GCCGO Prototype Generation
3861+ // Imports of system calls from libc
3862+ if sysname == "select" {
3863+ // select is a keyword of Go. Its name is
3864+ // changed to c_select.
3865+ cExtern += "#define c_select select\n"
3866+ }
3867+ cExtern += fmt.Sprintf("%s %s", cRettype, sysname)
3868+ cIn := strings.Join(cIn, ", ")
3869+ cExtern += fmt.Sprintf("(%s);\n", cIn)
3870+ }
3871+ // GC Library name
3872+ if modname == "" {
3873+ modname = "libc.a/shr_64.o"
3874+ } else {
3875+ fmt.Fprintf(os.Stderr, "%s: only syscall using libc are available\n", funct)
3876+ os.Exit(1)
3877+ }
3878+ sysvarname := fmt.Sprintf("libc_%s", sysname)
3879+
3880+ if !onlyCommon {
3881+ // GC Runtime import of function to allow cross-platform builds.
3882+ dynimports += fmt.Sprintf("//go:cgo_import_dynamic %s %s \"%s\"\n", sysvarname, sysname, modname)
3883+ // GC Link symbol to proc address variable.
3884+ linknames += fmt.Sprintf("//go:linkname %s %s\n", sysvarname, sysvarname)
3885+ // GC Library proc address variable.
3886+ vars = append(vars, sysvarname)
3887+ }
3888+
3889+ strconvfunc := "BytePtrFromString"
3890+ strconvtype := "*byte"
3891+
3892+ // Go function header.
3893+ if outps != "" {
3894+ outps = fmt.Sprintf(" (%s)", outps)
3895+ }
3896+ if textcommon != "" {
3897+ textcommon += "\n"
3898+ }
3899+
3900+ textcommon += fmt.Sprintf("func %s(%s)%s {\n", funct, strings.Join(in, ", "), outps)
3901+
3902+ // Prepare arguments tocall.
3903+ var argscommon []string // Arguments in the common part
3904+ var argscall []string // Arguments for call prototype
3905+ var argsgc []string // Arguments for gc call (with syscall6)
3906+ var argsgccgo []string // Arguments for gccgo call (with C.name_of_syscall)
3907+ n := 0
3908+ argN := 0
3909+ for _, param := range in {
3910+ p := parseParam(param)
3911+ if regexp.MustCompile(`^\*`).FindStringSubmatch(p.Type) != nil {
3912+ argscommon = append(argscommon, fmt.Sprintf("uintptr(unsafe.Pointer(%s))", p.Name))
3913+ argscall = append(argscall, fmt.Sprintf("%s uintptr", p.Name))
3914+ argsgc = append(argsgc, p.Name)
3915+ argsgccgo = append(argsgccgo, fmt.Sprintf("C.uintptr_t(%s)", p.Name))
3916+ } else if p.Type == "string" && errvar != "" {
3917+ textcommon += fmt.Sprintf("\tvar _p%d %s\n", n, strconvtype)
3918+ textcommon += fmt.Sprintf("\t_p%d, %s = %s(%s)\n", n, errvar, strconvfunc, p.Name)
3919+ textcommon += fmt.Sprintf("\tif %s != nil {\n\t\treturn\n\t}\n", errvar)
3920+
3921+ argscommon = append(argscommon, fmt.Sprintf("uintptr(unsafe.Pointer(_p%d))", n))
3922+ argscall = append(argscall, fmt.Sprintf("_p%d uintptr ", n))
3923+ argsgc = append(argsgc, fmt.Sprintf("_p%d", n))
3924+ argsgccgo = append(argsgccgo, fmt.Sprintf("C.uintptr_t(_p%d)", n))
3925+ n++
3926+ } else if p.Type == "string" {
3927+ fmt.Fprintf(os.Stderr, path+":"+funct+" uses string arguments, but has no error return\n")
3928+ textcommon += fmt.Sprintf("\tvar _p%d %s\n", n, strconvtype)
3929+ textcommon += fmt.Sprintf("\t_p%d, %s = %s(%s)\n", n, errvar, strconvfunc, p.Name)
3930+ textcommon += fmt.Sprintf("\tif %s != nil {\n\t\treturn\n\t}\n", errvar)
3931+
3932+ argscommon = append(argscommon, fmt.Sprintf("uintptr(unsafe.Pointer(_p%d))", n))
3933+ argscall = append(argscall, fmt.Sprintf("_p%d uintptr", n))
3934+ argsgc = append(argsgc, fmt.Sprintf("_p%d", n))
3935+ argsgccgo = append(argsgccgo, fmt.Sprintf("C.uintptr_t(_p%d)", n))
3936+ n++
3937+ } else if m := regexp.MustCompile(`^\[\](.*)`).FindStringSubmatch(p.Type); m != nil {
3938+ // Convert slice into pointer, length.
3939+ // Have to be careful not to take address of &a[0] if len == 0:
3940+ // pass nil in that case.
3941+ textcommon += fmt.Sprintf("\tvar _p%d *%s\n", n, m[1])
3942+ textcommon += fmt.Sprintf("\tif len(%s) > 0 {\n\t\t_p%d = &%s[0]\n\t}\n", p.Name, n, p.Name)
3943+ argscommon = append(argscommon, fmt.Sprintf("uintptr(unsafe.Pointer(_p%d))", n), fmt.Sprintf("len(%s)", p.Name))
3944+ argscall = append(argscall, fmt.Sprintf("_p%d uintptr", n), fmt.Sprintf("_lenp%d int", n))
3945+ argsgc = append(argsgc, fmt.Sprintf("_p%d", n), fmt.Sprintf("uintptr(_lenp%d)", n))
3946+ argsgccgo = append(argsgccgo, fmt.Sprintf("C.uintptr_t(_p%d)", n), fmt.Sprintf("C.size_t(_lenp%d)", n))
3947+ n++
3948+ } else if p.Type == "int64" && endianness != "" {
3949+ fmt.Fprintf(os.Stderr, path+":"+funct+" uses int64 with 32 bits mode. Case not yet implemented\n")
3950+ } else if p.Type == "bool" {
3951+ fmt.Fprintf(os.Stderr, path+":"+funct+" uses bool. Case not yet implemented\n")
3952+ } else if regexp.MustCompile(`^_`).FindStringSubmatch(p.Type) != nil || p.Type == "unsafe.Pointer" {
3953+ argscommon = append(argscommon, fmt.Sprintf("uintptr(%s)", p.Name))
3954+ argscall = append(argscall, fmt.Sprintf("%s uintptr", p.Name))
3955+ argsgc = append(argsgc, p.Name)
3956+ argsgccgo = append(argsgccgo, fmt.Sprintf("C.uintptr_t(%s)", p.Name))
3957+ } else if p.Type == "int" {
3958+ if (argN == 0 || argN == 2) && ((funct == "fcntl") || (funct == "FcntlInt") || (funct == "FcntlFlock")) {
3959+ // These fcntl arguments need to be uintptr to be able to call FcntlInt and FcntlFlock
3960+ argscommon = append(argscommon, fmt.Sprintf("uintptr(%s)", p.Name))
3961+ argscall = append(argscall, fmt.Sprintf("%s uintptr", p.Name))
3962+ argsgc = append(argsgc, p.Name)
3963+ argsgccgo = append(argsgccgo, fmt.Sprintf("C.uintptr_t(%s)", p.Name))
3964+
3965+ } else {
3966+ argscommon = append(argscommon, p.Name)
3967+ argscall = append(argscall, fmt.Sprintf("%s int", p.Name))
3968+ argsgc = append(argsgc, fmt.Sprintf("uintptr(%s)", p.Name))
3969+ argsgccgo = append(argsgccgo, fmt.Sprintf("C.int(%s)", p.Name))
3970+ }
3971+ } else if p.Type == "int32" {
3972+ argscommon = append(argscommon, p.Name)
3973+ argscall = append(argscall, fmt.Sprintf("%s int32", p.Name))
3974+ argsgc = append(argsgc, fmt.Sprintf("uintptr(%s)", p.Name))
3975+ argsgccgo = append(argsgccgo, fmt.Sprintf("C.int(%s)", p.Name))
3976+ } else if p.Type == "int64" {
3977+ argscommon = append(argscommon, p.Name)
3978+ argscall = append(argscall, fmt.Sprintf("%s int64", p.Name))
3979+ argsgc = append(argsgc, fmt.Sprintf("uintptr(%s)", p.Name))
3980+ argsgccgo = append(argsgccgo, fmt.Sprintf("C.longlong(%s)", p.Name))
3981+ } else if p.Type == "uint32" {
3982+ argscommon = append(argscommon, p.Name)
3983+ argscall = append(argscall, fmt.Sprintf("%s uint32", p.Name))
3984+ argsgc = append(argsgc, fmt.Sprintf("uintptr(%s)", p.Name))
3985+ argsgccgo = append(argsgccgo, fmt.Sprintf("C.uint(%s)", p.Name))
3986+ } else if p.Type == "uint64" {
3987+ argscommon = append(argscommon, p.Name)
3988+ argscall = append(argscall, fmt.Sprintf("%s uint64", p.Name))
3989+ argsgc = append(argsgc, fmt.Sprintf("uintptr(%s)", p.Name))
3990+ argsgccgo = append(argsgccgo, fmt.Sprintf("C.ulonglong(%s)", p.Name))
3991+ } else if p.Type == "uintptr" {
3992+ argscommon = append(argscommon, p.Name)
3993+ argscall = append(argscall, fmt.Sprintf("%s uintptr", p.Name))
3994+ argsgc = append(argsgc, p.Name)
3995+ argsgccgo = append(argsgccgo, fmt.Sprintf("C.uintptr_t(%s)", p.Name))
3996+ } else {
3997+ argscommon = append(argscommon, fmt.Sprintf("int(%s)", p.Name))
3998+ argscall = append(argscall, fmt.Sprintf("%s int", p.Name))
3999+ argsgc = append(argsgc, fmt.Sprintf("uintptr(%s)", p.Name))
4000+ argsgccgo = append(argsgccgo, fmt.Sprintf("C.int(%s)", p.Name))
4001+ }
4002+ argN++
4003+ }
4004+ nargs := len(argsgc)
4005+
4006+ // COMMON function generation
4007+ argscommonlist := strings.Join(argscommon, ", ")
4008+ callcommon := fmt.Sprintf("call%s(%s)", sysname, argscommonlist)
4009+ ret := []string{"_", "_"}
4010+ body := ""
4011+ doErrno := false
4012+ for i := 0; i < len(out); i++ {
4013+ p := parseParam(out[i])
4014+ reg := ""
4015+ if p.Name == "err" {
4016+ reg = "e1"
4017+ ret[1] = reg
4018+ doErrno = true
4019+ } else {
4020+ reg = "r0"
4021+ ret[0] = reg
4022+ }
4023+ if p.Type == "bool" {
4024+ reg = fmt.Sprintf("%s != 0", reg)
4025+ }
4026+ if reg != "e1" {
4027+ body += fmt.Sprintf("\t%s = %s(%s)\n", p.Name, p.Type, reg)
4028+ }
4029+ }
4030+ if ret[0] == "_" && ret[1] == "_" {
4031+ textcommon += fmt.Sprintf("\t%s\n", callcommon)
4032+ } else {
4033+ textcommon += fmt.Sprintf("\t%s, %s := %s\n", ret[0], ret[1], callcommon)
4034+ }
4035+ textcommon += body
4036+
4037+ if doErrno {
4038+ textcommon += "\tif e1 != 0 {\n"
4039+ textcommon += "\t\terr = errnoErr(e1)\n"
4040+ textcommon += "\t}\n"
4041+ }
4042+ textcommon += "\treturn\n"
4043+ textcommon += "}\n"
4044+
4045+ if onlyCommon {
4046+ continue
4047+ }
4048+
4049+ // CALL Prototype
4050+ callProto := fmt.Sprintf("func call%s(%s) (r1 uintptr, e1 Errno) {\n", sysname, strings.Join(argscall, ", "))
4051+
4052+ // GC function generation
4053+ asm := "syscall6"
4054+ if nonblock != nil {
4055+ asm = "rawSyscall6"
4056+ }
4057+
4058+ if len(argsgc) <= 6 {
4059+ for len(argsgc) < 6 {
4060+ argsgc = append(argsgc, "0")
4061+ }
4062+ } else {
4063+ fmt.Fprintf(os.Stderr, "%s: too many arguments to system call", funct)
4064+ os.Exit(1)
4065+ }
4066+ argsgclist := strings.Join(argsgc, ", ")
4067+ callgc := fmt.Sprintf("%s(uintptr(unsafe.Pointer(&%s)), %d, %s)", asm, sysvarname, nargs, argsgclist)
4068+
4069+ textgc += callProto
4070+ textgc += fmt.Sprintf("\tr1, _, e1 = %s\n", callgc)
4071+ textgc += "\treturn\n}\n"
4072+
4073+ // GCCGO function generation
4074+ argsgccgolist := strings.Join(argsgccgo, ", ")
4075+ var callgccgo string
4076+ if sysname == "select" {
4077+ // select is a keyword of Go. Its name is
4078+ // changed to c_select.
4079+ callgccgo = fmt.Sprintf("C.c_%s(%s)", sysname, argsgccgolist)
4080+ } else {
4081+ callgccgo = fmt.Sprintf("C.%s(%s)", sysname, argsgccgolist)
4082+ }
4083+ textgccgo += callProto
4084+ textgccgo += fmt.Sprintf("\tr1 = uintptr(%s)\n", callgccgo)
4085+ textgccgo += "\te1 = syscall.GetErrno()\n"
4086+ textgccgo += "\treturn\n}\n"
4087+ }
4088+ if err := s.Err(); err != nil {
4089+ fmt.Fprintf(os.Stderr, err.Error())
4090+ os.Exit(1)
4091+ }
4092+ file.Close()
4093+ }
4094+ imp := ""
4095+ if pack != "unix" {
4096+ imp = "import \"golang.org/x/sys/unix\"\n"
4097+
4098+ }
4099+
4100+ // Print zsyscall_aix_ppc64.go
4101+ err := ioutil.WriteFile("zsyscall_aix_ppc64.go",
4102+ []byte(fmt.Sprintf(srcTemplate1, cmdLine(), buildTags(), pack, imp, textcommon)),
4103+ 0644)
4104+ if err != nil {
4105+ fmt.Fprintf(os.Stderr, err.Error())
4106+ os.Exit(1)
4107+ }
4108+
4109+ // Print zsyscall_aix_ppc64_gc.go
4110+ vardecls := "\t" + strings.Join(vars, ",\n\t")
4111+ vardecls += " syscallFunc"
4112+ err = ioutil.WriteFile("zsyscall_aix_ppc64_gc.go",
4113+ []byte(fmt.Sprintf(srcTemplate2, cmdLine(), buildTags(), pack, imp, dynimports, linknames, vardecls, textgc)),
4114+ 0644)
4115+ if err != nil {
4116+ fmt.Fprintf(os.Stderr, err.Error())
4117+ os.Exit(1)
4118+ }
4119+
4120+ // Print zsyscall_aix_ppc64_gccgo.go
4121+ err = ioutil.WriteFile("zsyscall_aix_ppc64_gccgo.go",
4122+ []byte(fmt.Sprintf(srcTemplate3, cmdLine(), buildTags(), pack, cExtern, imp, textgccgo)),
4123+ 0644)
4124+ if err != nil {
4125+ fmt.Fprintf(os.Stderr, err.Error())
4126+ os.Exit(1)
4127+ }
4128+}
4129+
4130+const srcTemplate1 = `// %s
4131+// Code generated by the command above; see README.md. DO NOT EDIT.
4132+
4133+// +build %s
4134+
4135+package %s
4136+
4137+import (
4138+ "unsafe"
4139+)
4140+
4141+
4142+%s
4143+
4144+%s
4145+`
4146+const srcTemplate2 = `// %s
4147+// Code generated by the command above; see README.md. DO NOT EDIT.
4148+
4149+// +build %s
4150+// +build !gccgo
4151+
4152+package %s
4153+
4154+import (
4155+ "unsafe"
4156+)
4157+%s
4158+%s
4159+%s
4160+type syscallFunc uintptr
4161+
4162+var (
4163+%s
4164+)
4165+
4166+// Implemented in runtime/syscall_aix.go.
4167+func rawSyscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
4168+func syscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
4169+
4170+%s
4171+`
4172+const srcTemplate3 = `// %s
4173+// Code generated by the command above; see README.md. DO NOT EDIT.
4174+
4175+// +build %s
4176+// +build gccgo
4177+
4178+package %s
4179+
4180+%s
4181+*/
4182+import "C"
4183+import (
4184+ "syscall"
4185+)
4186+
4187+
4188+%s
4189+
4190+%s
4191+`
4192diff --git a/vendor/golang.org/x/sys/unix/mksyscall_solaris.go b/vendor/golang.org/x/sys/unix/mksyscall_solaris.go
4193new file mode 100644
4194index 00000000..675597e4
4195--- /dev/null
4196+++ b/vendor/golang.org/x/sys/unix/mksyscall_solaris.go
4197@@ -0,0 +1,341 @@
4198+// Copyright 2019 The Go Authors. All rights reserved.
4199+// Use of this source code is governed by a BSD-style
4200+// license that can be found in the LICENSE file.
4201+
4202+// +build ignore
4203+
4204+/*
4205+ This program reads a file containing function prototypes
4206+ (like syscall_solaris.go) and generates system call bodies.
4207+ The prototypes are marked by lines beginning with "//sys"
4208+ and read like func declarations if //sys is replaced by func, but:
4209+ * The parameter lists must give a name for each argument.
4210+ This includes return parameters.
4211+ * The parameter lists must give a type for each argument:
4212+ the (x, y, z int) shorthand is not allowed.
4213+ * If the return parameter is an error number, it must be named err.
4214+ * If go func name needs to be different than its libc name,
4215+ * or the function is not in libc, name could be specified
4216+ * at the end, after "=" sign, like
4217+ //sys getsockopt(s int, level int, name int, val uintptr, vallen *_Socklen) (err error) = libsocket.getsockopt
4218+*/
4219+
4220+package main
4221+
4222+import (
4223+ "bufio"
4224+ "flag"
4225+ "fmt"
4226+ "os"
4227+ "regexp"
4228+ "strings"
4229+)
4230+
4231+var (
4232+ b32 = flag.Bool("b32", false, "32bit big-endian")
4233+ l32 = flag.Bool("l32", false, "32bit little-endian")
4234+ tags = flag.String("tags", "", "build tags")
4235+ illumos = flag.Bool("illumos", false, "illumos specific code generation")
4236+)
4237+
4238+// cmdLine returns this programs's commandline arguments
4239+func cmdLine() string {
4240+ return "go run mksyscall_solaris.go " + strings.Join(os.Args[1:], " ")
4241+}
4242+
4243+// buildTags returns build tags
4244+func buildTags() string {
4245+ return *tags
4246+}
4247+
4248+// Param is function parameter
4249+type Param struct {
4250+ Name string
4251+ Type string
4252+}
4253+
4254+// usage prints the program usage
4255+func usage() {
4256+ fmt.Fprintf(os.Stderr, "usage: go run mksyscall_solaris.go [-b32 | -l32] [-tags x,y] [file ...]\n")
4257+ os.Exit(1)
4258+}
4259+
4260+// parseParamList parses parameter list and returns a slice of parameters
4261+func parseParamList(list string) []string {
4262+ list = strings.TrimSpace(list)
4263+ if list == "" {
4264+ return []string{}
4265+ }
4266+ return regexp.MustCompile(`\s*,\s*`).Split(list, -1)
4267+}
4268+
4269+// parseParam splits a parameter into name and type
4270+func parseParam(p string) Param {
4271+ ps := regexp.MustCompile(`^(\S*) (\S*)$`).FindStringSubmatch(p)
4272+ if ps == nil {
4273+ fmt.Fprintf(os.Stderr, "malformed parameter: %s\n", p)
4274+ os.Exit(1)
4275+ }
4276+ return Param{ps[1], ps[2]}
4277+}
4278+
4279+func main() {
4280+ flag.Usage = usage
4281+ flag.Parse()
4282+ if len(flag.Args()) <= 0 {
4283+ fmt.Fprintf(os.Stderr, "no files to parse provided\n")
4284+ usage()
4285+ }
4286+
4287+ endianness := ""
4288+ if *b32 {
4289+ endianness = "big-endian"
4290+ } else if *l32 {
4291+ endianness = "little-endian"
4292+ }
4293+
4294+ pack := ""
4295+ text := ""
4296+ dynimports := ""
4297+ linknames := ""
4298+ var vars []string
4299+ for _, path := range flag.Args() {
4300+ file, err := os.Open(path)
4301+ if err != nil {
4302+ fmt.Fprintf(os.Stderr, err.Error())
4303+ os.Exit(1)
4304+ }
4305+ s := bufio.NewScanner(file)
4306+ for s.Scan() {
4307+ t := s.Text()
4308+ t = strings.TrimSpace(t)
4309+ t = regexp.MustCompile(`\s+`).ReplaceAllString(t, ` `)
4310+ if p := regexp.MustCompile(`^package (\S+)$`).FindStringSubmatch(t); p != nil && pack == "" {
4311+ pack = p[1]
4312+ }
4313+ nonblock := regexp.MustCompile(`^\/\/sysnb `).FindStringSubmatch(t)
4314+ if regexp.MustCompile(`^\/\/sys `).FindStringSubmatch(t) == nil && nonblock == nil {
4315+ continue
4316+ }
4317+
4318+ // Line must be of the form
4319+ // func Open(path string, mode int, perm int) (fd int, err error)
4320+ // Split into name, in params, out params.
4321+ f := regexp.MustCompile(`^\/\/sys(nb)? (\w+)\(([^()]*)\)\s*(?:\(([^()]+)\))?\s*(?:=\s*(?:(\w*)\.)?(\w*))?$`).FindStringSubmatch(t)
4322+ if f == nil {
4323+ fmt.Fprintf(os.Stderr, "%s:%s\nmalformed //sys declaration\n", path, t)
4324+ os.Exit(1)
4325+ }
4326+ funct, inps, outps, modname, sysname := f[2], f[3], f[4], f[5], f[6]
4327+
4328+ // Split argument lists on comma.
4329+ in := parseParamList(inps)
4330+ out := parseParamList(outps)
4331+
4332+ inps = strings.Join(in, ", ")
4333+ outps = strings.Join(out, ", ")
4334+
4335+ // Try in vain to keep people from editing this file.
4336+ // The theory is that they jump into the middle of the file
4337+ // without reading the header.
4338+ text += "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT\n\n"
4339+
4340+ // So file name.
4341+ if modname == "" {
4342+ modname = "libc"
4343+ }
4344+
4345+ // System call name.
4346+ if sysname == "" {
4347+ sysname = funct
4348+ }
4349+
4350+ // System call pointer variable name.
4351+ sysvarname := fmt.Sprintf("proc%s", sysname)
4352+
4353+ strconvfunc := "BytePtrFromString"
4354+ strconvtype := "*byte"
4355+
4356+ sysname = strings.ToLower(sysname) // All libc functions are lowercase.
4357+
4358+ // Runtime import of function to allow cross-platform builds.
4359+ dynimports += fmt.Sprintf("//go:cgo_import_dynamic libc_%s %s \"%s.so\"\n", sysname, sysname, modname)
4360+ // Link symbol to proc address variable.
4361+ linknames += fmt.Sprintf("//go:linkname %s libc_%s\n", sysvarname, sysname)
4362+ // Library proc address variable.
4363+ vars = append(vars, sysvarname)
4364+
4365+ // Go function header.
4366+ outlist := strings.Join(out, ", ")
4367+ if outlist != "" {
4368+ outlist = fmt.Sprintf(" (%s)", outlist)
4369+ }
4370+ if text != "" {
4371+ text += "\n"
4372+ }
4373+ text += fmt.Sprintf("func %s(%s)%s {\n", funct, strings.Join(in, ", "), outlist)
4374+
4375+ // Check if err return available
4376+ errvar := ""
4377+ for _, param := range out {
4378+ p := parseParam(param)
4379+ if p.Type == "error" {
4380+ errvar = p.Name
4381+ continue
4382+ }
4383+ }
4384+
4385+ // Prepare arguments to Syscall.
4386+ var args []string
4387+ n := 0
4388+ for _, param := range in {
4389+ p := parseParam(param)
4390+ if regexp.MustCompile(`^\*`).FindStringSubmatch(p.Type) != nil {
4391+ args = append(args, "uintptr(unsafe.Pointer("+p.Name+"))")
4392+ } else if p.Type == "string" && errvar != "" {
4393+ text += fmt.Sprintf("\tvar _p%d %s\n", n, strconvtype)
4394+ text += fmt.Sprintf("\t_p%d, %s = %s(%s)\n", n, errvar, strconvfunc, p.Name)
4395+ text += fmt.Sprintf("\tif %s != nil {\n\t\treturn\n\t}\n", errvar)
4396+ args = append(args, fmt.Sprintf("uintptr(unsafe.Pointer(_p%d))", n))
4397+ n++
4398+ } else if p.Type == "string" {
4399+ fmt.Fprintf(os.Stderr, path+":"+funct+" uses string arguments, but has no error return\n")
4400+ text += fmt.Sprintf("\tvar _p%d %s\n", n, strconvtype)
4401+ text += fmt.Sprintf("\t_p%d, _ = %s(%s)\n", n, strconvfunc, p.Name)
4402+ args = append(args, fmt.Sprintf("uintptr(unsafe.Pointer(_p%d))", n))
4403+ n++
4404+ } else if s := regexp.MustCompile(`^\[\](.*)`).FindStringSubmatch(p.Type); s != nil {
4405+ // Convert slice into pointer, length.
4406+ // Have to be careful not to take address of &a[0] if len == 0:
4407+ // pass nil in that case.
4408+ text += fmt.Sprintf("\tvar _p%d *%s\n", n, s[1])
4409+ text += fmt.Sprintf("\tif len(%s) > 0 {\n\t\t_p%d = &%s[0]\n\t}\n", p.Name, n, p.Name)
4410+ args = append(args, fmt.Sprintf("uintptr(unsafe.Pointer(_p%d))", n), fmt.Sprintf("uintptr(len(%s))", p.Name))
4411+ n++
4412+ } else if p.Type == "int64" && endianness != "" {
4413+ if endianness == "big-endian" {
4414+ args = append(args, fmt.Sprintf("uintptr(%s>>32)", p.Name), fmt.Sprintf("uintptr(%s)", p.Name))
4415+ } else {
4416+ args = append(args, fmt.Sprintf("uintptr(%s)", p.Name), fmt.Sprintf("uintptr(%s>>32)", p.Name))
4417+ }
4418+ } else if p.Type == "bool" {
4419+ text += fmt.Sprintf("\tvar _p%d uint32\n", n)
4420+ text += fmt.Sprintf("\tif %s {\n\t\t_p%d = 1\n\t} else {\n\t\t_p%d = 0\n\t}\n", p.Name, n, n)
4421+ args = append(args, fmt.Sprintf("uintptr(_p%d)", n))
4422+ n++
4423+ } else {
4424+ args = append(args, fmt.Sprintf("uintptr(%s)", p.Name))
4425+ }
4426+ }
4427+ nargs := len(args)
4428+
4429+ // Determine which form to use; pad args with zeros.
4430+ asm := "sysvicall6"
4431+ if nonblock != nil {
4432+ asm = "rawSysvicall6"
4433+ }
4434+ if len(args) <= 6 {
4435+ for len(args) < 6 {
4436+ args = append(args, "0")
4437+ }
4438+ } else {
4439+ fmt.Fprintf(os.Stderr, "%s: too many arguments to system call\n", path)
4440+ os.Exit(1)
4441+ }
4442+
4443+ // Actual call.
4444+ arglist := strings.Join(args, ", ")
4445+ call := fmt.Sprintf("%s(uintptr(unsafe.Pointer(&%s)), %d, %s)", asm, sysvarname, nargs, arglist)
4446+
4447+ // Assign return values.
4448+ body := ""
4449+ ret := []string{"_", "_", "_"}
4450+ doErrno := false
4451+ for i := 0; i < len(out); i++ {
4452+ p := parseParam(out[i])
4453+ reg := ""
4454+ if p.Name == "err" {
4455+ reg = "e1"
4456+ ret[2] = reg
4457+ doErrno = true
4458+ } else {
4459+ reg = fmt.Sprintf("r%d", i)
4460+ ret[i] = reg
4461+ }
4462+ if p.Type == "bool" {
4463+ reg = fmt.Sprintf("%d != 0", reg)
4464+ }
4465+ if p.Type == "int64" && endianness != "" {
4466+ // 64-bit number in r1:r0 or r0:r1.
4467+ if i+2 > len(out) {
4468+ fmt.Fprintf(os.Stderr, "%s: not enough registers for int64 return\n", path)
4469+ os.Exit(1)
4470+ }
4471+ if endianness == "big-endian" {
4472+ reg = fmt.Sprintf("int64(r%d)<<32 | int64(r%d)", i, i+1)
4473+ } else {
4474+ reg = fmt.Sprintf("int64(r%d)<<32 | int64(r%d)", i+1, i)
4475+ }
4476+ ret[i] = fmt.Sprintf("r%d", i)
4477+ ret[i+1] = fmt.Sprintf("r%d", i+1)
4478+ }
4479+ if reg != "e1" {
4480+ body += fmt.Sprintf("\t%s = %s(%s)\n", p.Name, p.Type, reg)
4481+ }
4482+ }
4483+ if ret[0] == "_" && ret[1] == "_" && ret[2] == "_" {
4484+ text += fmt.Sprintf("\t%s\n", call)
4485+ } else {
4486+ text += fmt.Sprintf("\t%s, %s, %s := %s\n", ret[0], ret[1], ret[2], call)
4487+ }
4488+ text += body
4489+
4490+ if doErrno {
4491+ text += "\tif e1 != 0 {\n"
4492+ text += "\t\terr = e1\n"
4493+ text += "\t}\n"
4494+ }
4495+ text += "\treturn\n"
4496+ text += "}\n"
4497+ }
4498+ if err := s.Err(); err != nil {
4499+ fmt.Fprintf(os.Stderr, err.Error())
4500+ os.Exit(1)
4501+ }
4502+ file.Close()
4503+ }
4504+ imp := ""
4505+ if pack != "unix" {
4506+ imp = "import \"golang.org/x/sys/unix\"\n"
4507+ }
4508+
4509+ syscallimp := ""
4510+ if !*illumos {
4511+ syscallimp = "\"syscall\""
4512+ }
4513+
4514+ vardecls := "\t" + strings.Join(vars, ",\n\t")
4515+ vardecls += " syscallFunc"
4516+ fmt.Printf(srcTemplate, cmdLine(), buildTags(), pack, syscallimp, imp, dynimports, linknames, vardecls, text)
4517+}
4518+
4519+const srcTemplate = `// %s
4520+// Code generated by the command above; see README.md. DO NOT EDIT.
4521+
4522+// +build %s
4523+
4524+package %s
4525+
4526+import (
4527+ "unsafe"
4528+ %s
4529+)
4530+%s
4531+%s
4532+%s
4533+var (
4534+%s
4535+)
4536+
4537+%s
4538+`
4539diff --git a/vendor/golang.org/x/sys/unix/mksysctl_openbsd.go b/vendor/golang.org/x/sys/unix/mksysctl_openbsd.go
4540new file mode 100644
4541index 00000000..b6b40990
4542--- /dev/null
4543+++ b/vendor/golang.org/x/sys/unix/mksysctl_openbsd.go
4544@@ -0,0 +1,355 @@
4545+// Copyright 2019 The Go Authors. All rights reserved.
4546+// Use of this source code is governed by a BSD-style
4547+// license that can be found in the LICENSE file.
4548+
4549+// +build ignore
4550+
4551+// Parse the header files for OpenBSD and generate a Go usable sysctl MIB.
4552+//
4553+// Build a MIB with each entry being an array containing the level, type and
4554+// a hash that will contain additional entries if the current entry is a node.
4555+// We then walk this MIB and create a flattened sysctl name to OID hash.
4556+
4557+package main
4558+
4559+import (
4560+ "bufio"
4561+ "fmt"
4562+ "os"
4563+ "path/filepath"
4564+ "regexp"
4565+ "sort"
4566+ "strings"
4567+)
4568+
4569+var (
4570+ goos, goarch string
4571+)
4572+
4573+// cmdLine returns this programs's commandline arguments.
4574+func cmdLine() string {
4575+ return "go run mksysctl_openbsd.go " + strings.Join(os.Args[1:], " ")
4576+}
4577+
4578+// buildTags returns build tags.
4579+func buildTags() string {
4580+ return fmt.Sprintf("%s,%s", goarch, goos)
4581+}
4582+
4583+// reMatch performs regular expression match and stores the substring slice to value pointed by m.
4584+func reMatch(re *regexp.Regexp, str string, m *[]string) bool {
4585+ *m = re.FindStringSubmatch(str)
4586+ if *m != nil {
4587+ return true
4588+ }
4589+ return false
4590+}
4591+
4592+type nodeElement struct {
4593+ n int
4594+ t string
4595+ pE *map[string]nodeElement
4596+}
4597+
4598+var (
4599+ debugEnabled bool
4600+ mib map[string]nodeElement
4601+ node *map[string]nodeElement
4602+ nodeMap map[string]string
4603+ sysCtl []string
4604+)
4605+
4606+var (
4607+ ctlNames1RE = regexp.MustCompile(`^#define\s+(CTL_NAMES)\s+{`)
4608+ ctlNames2RE = regexp.MustCompile(`^#define\s+(CTL_(.*)_NAMES)\s+{`)
4609+ ctlNames3RE = regexp.MustCompile(`^#define\s+((.*)CTL_NAMES)\s+{`)
4610+ netInetRE = regexp.MustCompile(`^netinet/`)
4611+ netInet6RE = regexp.MustCompile(`^netinet6/`)
4612+ netRE = regexp.MustCompile(`^net/`)
4613+ bracesRE = regexp.MustCompile(`{.*}`)
4614+ ctlTypeRE = regexp.MustCompile(`{\s+"(\w+)",\s+(CTLTYPE_[A-Z]+)\s+}`)
4615+ fsNetKernRE = regexp.MustCompile(`^(fs|net|kern)_`)
4616+)
4617+
4618+func debug(s string) {
4619+ if debugEnabled {
4620+ fmt.Fprintln(os.Stderr, s)
4621+ }
4622+}
4623+
4624+// Walk the MIB and build a sysctl name to OID mapping.
4625+func buildSysctl(pNode *map[string]nodeElement, name string, oid []int) {
4626+ lNode := pNode // local copy of pointer to node
4627+ var keys []string
4628+ for k := range *lNode {
4629+ keys = append(keys, k)
4630+ }
4631+ sort.Strings(keys)
4632+
4633+ for _, key := range keys {
4634+ nodename := name
4635+ if name != "" {
4636+ nodename += "."
4637+ }
4638+ nodename += key
4639+
4640+ nodeoid := append(oid, (*pNode)[key].n)
4641+
4642+ if (*pNode)[key].t == `CTLTYPE_NODE` {
4643+ if _, ok := nodeMap[nodename]; ok {
4644+ lNode = &mib
4645+ ctlName := nodeMap[nodename]
4646+ for _, part := range strings.Split(ctlName, ".") {
4647+ lNode = ((*lNode)[part]).pE
4648+ }
4649+ } else {
4650+ lNode = (*pNode)[key].pE
4651+ }
4652+ buildSysctl(lNode, nodename, nodeoid)
4653+ } else if (*pNode)[key].t != "" {
4654+ oidStr := []string{}
4655+ for j := range nodeoid {
4656+ oidStr = append(oidStr, fmt.Sprintf("%d", nodeoid[j]))
4657+ }
4658+ text := "\t{ \"" + nodename + "\", []_C_int{ " + strings.Join(oidStr, ", ") + " } }, \n"
4659+ sysCtl = append(sysCtl, text)
4660+ }
4661+ }
4662+}
4663+
4664+func main() {
4665+ // Get the OS (using GOOS_TARGET if it exist)
4666+ goos = os.Getenv("GOOS_TARGET")
4667+ if goos == "" {
4668+ goos = os.Getenv("GOOS")
4669+ }
4670+ // Get the architecture (using GOARCH_TARGET if it exists)
4671+ goarch = os.Getenv("GOARCH_TARGET")
4672+ if goarch == "" {
4673+ goarch = os.Getenv("GOARCH")
4674+ }
4675+ // Check if GOOS and GOARCH environment variables are defined
4676+ if goarch == "" || goos == "" {
4677+ fmt.Fprintf(os.Stderr, "GOARCH or GOOS not defined in environment\n")
4678+ os.Exit(1)
4679+ }
4680+
4681+ mib = make(map[string]nodeElement)
4682+ headers := [...]string{
4683+ `sys/sysctl.h`,
4684+ `sys/socket.h`,
4685+ `sys/tty.h`,
4686+ `sys/malloc.h`,
4687+ `sys/mount.h`,
4688+ `sys/namei.h`,
4689+ `sys/sem.h`,
4690+ `sys/shm.h`,
4691+ `sys/vmmeter.h`,
4692+ `uvm/uvmexp.h`,
4693+ `uvm/uvm_param.h`,
4694+ `uvm/uvm_swap_encrypt.h`,
4695+ `ddb/db_var.h`,
4696+ `net/if.h`,
4697+ `net/if_pfsync.h`,
4698+ `net/pipex.h`,
4699+ `netinet/in.h`,
4700+ `netinet/icmp_var.h`,
4701+ `netinet/igmp_var.h`,
4702+ `netinet/ip_ah.h`,
4703+ `netinet/ip_carp.h`,
4704+ `netinet/ip_divert.h`,
4705+ `netinet/ip_esp.h`,
4706+ `netinet/ip_ether.h`,
4707+ `netinet/ip_gre.h`,
4708+ `netinet/ip_ipcomp.h`,
4709+ `netinet/ip_ipip.h`,
4710+ `netinet/pim_var.h`,
4711+ `netinet/tcp_var.h`,
4712+ `netinet/udp_var.h`,
4713+ `netinet6/in6.h`,
4714+ `netinet6/ip6_divert.h`,
4715+ `netinet6/pim6_var.h`,
4716+ `netinet/icmp6.h`,
4717+ `netmpls/mpls.h`,
4718+ }
4719+
4720+ ctls := [...]string{
4721+ `kern`,
4722+ `vm`,
4723+ `fs`,
4724+ `net`,
4725+ //debug /* Special handling required */
4726+ `hw`,
4727+ //machdep /* Arch specific */
4728+ `user`,
4729+ `ddb`,
4730+ //vfs /* Special handling required */
4731+ `fs.posix`,
4732+ `kern.forkstat`,
4733+ `kern.intrcnt`,
4734+ `kern.malloc`,
4735+ `kern.nchstats`,
4736+ `kern.seminfo`,
4737+ `kern.shminfo`,
4738+ `kern.timecounter`,
4739+ `kern.tty`,
4740+ `kern.watchdog`,
4741+ `net.bpf`,
4742+ `net.ifq`,
4743+ `net.inet`,
4744+ `net.inet.ah`,
4745+ `net.inet.carp`,
4746+ `net.inet.divert`,
4747+ `net.inet.esp`,
4748+ `net.inet.etherip`,
4749+ `net.inet.gre`,
4750+ `net.inet.icmp`,
4751+ `net.inet.igmp`,
4752+ `net.inet.ip`,
4753+ `net.inet.ip.ifq`,
4754+ `net.inet.ipcomp`,
4755+ `net.inet.ipip`,
4756+ `net.inet.mobileip`,
4757+ `net.inet.pfsync`,
4758+ `net.inet.pim`,
4759+ `net.inet.tcp`,
4760+ `net.inet.udp`,
4761+ `net.inet6`,
4762+ `net.inet6.divert`,
4763+ `net.inet6.ip6`,
4764+ `net.inet6.icmp6`,
4765+ `net.inet6.pim6`,
4766+ `net.inet6.tcp6`,
4767+ `net.inet6.udp6`,
4768+ `net.mpls`,
4769+ `net.mpls.ifq`,
4770+ `net.key`,
4771+ `net.pflow`,
4772+ `net.pfsync`,
4773+ `net.pipex`,
4774+ `net.rt`,
4775+ `vm.swapencrypt`,
4776+ //vfsgenctl /* Special handling required */
4777+ }
4778+
4779+ // Node name "fixups"
4780+ ctlMap := map[string]string{
4781+ "ipproto": "net.inet",
4782+ "net.inet.ipproto": "net.inet",
4783+ "net.inet6.ipv6proto": "net.inet6",
4784+ "net.inet6.ipv6": "net.inet6.ip6",
4785+ "net.inet.icmpv6": "net.inet6.icmp6",
4786+ "net.inet6.divert6": "net.inet6.divert",
4787+ "net.inet6.tcp6": "net.inet.tcp",
4788+ "net.inet6.udp6": "net.inet.udp",
4789+ "mpls": "net.mpls",
4790+ "swpenc": "vm.swapencrypt",
4791+ }
4792+
4793+ // Node mappings
4794+ nodeMap = map[string]string{
4795+ "net.inet.ip.ifq": "net.ifq",
4796+ "net.inet.pfsync": "net.pfsync",
4797+ "net.mpls.ifq": "net.ifq",
4798+ }
4799+
4800+ mCtls := make(map[string]bool)
4801+ for _, ctl := range ctls {
4802+ mCtls[ctl] = true
4803+ }
4804+
4805+ for _, header := range headers {
4806+ debug("Processing " + header)
4807+ file, err := os.Open(filepath.Join("/usr/include", header))
4808+ if err != nil {
4809+ fmt.Fprintf(os.Stderr, "%v\n", err)
4810+ os.Exit(1)
4811+ }
4812+ s := bufio.NewScanner(file)
4813+ for s.Scan() {
4814+ var sub []string
4815+ if reMatch(ctlNames1RE, s.Text(), &sub) ||
4816+ reMatch(ctlNames2RE, s.Text(), &sub) ||
4817+ reMatch(ctlNames3RE, s.Text(), &sub) {
4818+ if sub[1] == `CTL_NAMES` {
4819+ // Top level.
4820+ node = &mib
4821+ } else {
4822+ // Node.
4823+ nodename := strings.ToLower(sub[2])
4824+ ctlName := ""
4825+ if reMatch(netInetRE, header, &sub) {
4826+ ctlName = "net.inet." + nodename
4827+ } else if reMatch(netInet6RE, header, &sub) {
4828+ ctlName = "net.inet6." + nodename
4829+ } else if reMatch(netRE, header, &sub) {
4830+ ctlName = "net." + nodename
4831+ } else {
4832+ ctlName = nodename
4833+ ctlName = fsNetKernRE.ReplaceAllString(ctlName, `$1.`)
4834+ }
4835+
4836+ if val, ok := ctlMap[ctlName]; ok {
4837+ ctlName = val
4838+ }
4839+ if _, ok := mCtls[ctlName]; !ok {
4840+ debug("Ignoring " + ctlName + "...")
4841+ continue
4842+ }
4843+
4844+ // Walk down from the top of the MIB.
4845+ node = &mib
4846+ for _, part := range strings.Split(ctlName, ".") {
4847+ if _, ok := (*node)[part]; !ok {
4848+ debug("Missing node " + part)
4849+ (*node)[part] = nodeElement{n: 0, t: "", pE: &map[string]nodeElement{}}
4850+ }
4851+ node = (*node)[part].pE
4852+ }
4853+ }
4854+
4855+ // Populate current node with entries.
4856+ i := -1
4857+ for !strings.HasPrefix(s.Text(), "}") {
4858+ s.Scan()
4859+ if reMatch(bracesRE, s.Text(), &sub) {
4860+ i++
4861+ }
4862+ if !reMatch(ctlTypeRE, s.Text(), &sub) {
4863+ continue
4864+ }
4865+ (*node)[sub[1]] = nodeElement{n: i, t: sub[2], pE: &map[string]nodeElement{}}
4866+ }
4867+ }
4868+ }
4869+ err = s.Err()
4870+ if err != nil {
4871+ fmt.Fprintf(os.Stderr, "%v\n", err)
4872+ os.Exit(1)
4873+ }
4874+ file.Close()
4875+ }
4876+ buildSysctl(&mib, "", []int{})
4877+
4878+ sort.Strings(sysCtl)
4879+ text := strings.Join(sysCtl, "")
4880+
4881+ fmt.Printf(srcTemplate, cmdLine(), buildTags(), text)
4882+}
4883+
4884+const srcTemplate = `// %s
4885+// Code generated by the command above; DO NOT EDIT.
4886+
4887+// +build %s
4888+
4889+package unix
4890+
4891+type mibentry struct {
4892+ ctlname string
4893+ ctloid []_C_int
4894+}
4895+
4896+var sysctlMib = []mibentry {
4897+%s
4898+}
4899+`
4900diff --git a/vendor/golang.org/x/sys/unix/mksysnum.go b/vendor/golang.org/x/sys/unix/mksysnum.go
4901new file mode 100644
4902index 00000000..baa6ecd8
4903--- /dev/null
4904+++ b/vendor/golang.org/x/sys/unix/mksysnum.go
4905@@ -0,0 +1,190 @@
4906+// Copyright 2018 The Go Authors. All rights reserved.
4907+// Use of this source code is governed by a BSD-style
4908+// license that can be found in the LICENSE file.
4909+
4910+// +build ignore
4911+
4912+// Generate system call table for DragonFly, NetBSD,
4913+// FreeBSD, OpenBSD or Darwin from master list
4914+// (for example, /usr/src/sys/kern/syscalls.master or
4915+// sys/syscall.h).
4916+package main
4917+
4918+import (
4919+ "bufio"
4920+ "fmt"
4921+ "io"
4922+ "io/ioutil"
4923+ "net/http"
4924+ "os"
4925+ "regexp"
4926+ "strings"
4927+)
4928+
4929+var (
4930+ goos, goarch string
4931+)
4932+
4933+// cmdLine returns this programs's commandline arguments
4934+func cmdLine() string {
4935+ return "go run mksysnum.go " + strings.Join(os.Args[1:], " ")
4936+}
4937+
4938+// buildTags returns build tags
4939+func buildTags() string {
4940+ return fmt.Sprintf("%s,%s", goarch, goos)
4941+}
4942+
4943+func checkErr(err error) {
4944+ if err != nil {
4945+ fmt.Fprintf(os.Stderr, "%v\n", err)
4946+ os.Exit(1)
4947+ }
4948+}
4949+
4950+// source string and substring slice for regexp
4951+type re struct {
4952+ str string // source string
4953+ sub []string // matched sub-string
4954+}
4955+
4956+// Match performs regular expression match
4957+func (r *re) Match(exp string) bool {
4958+ r.sub = regexp.MustCompile(exp).FindStringSubmatch(r.str)
4959+ if r.sub != nil {
4960+ return true
4961+ }
4962+ return false
4963+}
4964+
4965+// fetchFile fetches a text file from URL
4966+func fetchFile(URL string) io.Reader {
4967+ resp, err := http.Get(URL)
4968+ checkErr(err)
4969+ defer resp.Body.Close()
4970+ body, err := ioutil.ReadAll(resp.Body)
4971+ checkErr(err)
4972+ return strings.NewReader(string(body))
4973+}
4974+
4975+// readFile reads a text file from path
4976+func readFile(path string) io.Reader {
4977+ file, err := os.Open(os.Args[1])
4978+ checkErr(err)
4979+ return file
4980+}
4981+
4982+func format(name, num, proto string) string {
4983+ name = strings.ToUpper(name)
4984+ // There are multiple entries for enosys and nosys, so comment them out.
4985+ nm := re{str: name}
4986+ if nm.Match(`^SYS_E?NOSYS$`) {
4987+ name = fmt.Sprintf("// %s", name)
4988+ }
4989+ if name == `SYS_SYS_EXIT` {
4990+ name = `SYS_EXIT`
4991+ }
4992+ return fmt.Sprintf(" %s = %s; // %s\n", name, num, proto)
4993+}
4994+
4995+func main() {
4996+ // Get the OS (using GOOS_TARGET if it exist)
4997+ goos = os.Getenv("GOOS_TARGET")
4998+ if goos == "" {
4999+ goos = os.Getenv("GOOS")
5000+ }
5001+ // Get the architecture (using GOARCH_TARGET if it exists)
5002+ goarch = os.Getenv("GOARCH_TARGET")
5003+ if goarch == "" {
5004+ goarch = os.Getenv("GOARCH")
5005+ }
5006+ // Check if GOOS and GOARCH environment variables are defined
5007+ if goarch == "" || goos == "" {
5008+ fmt.Fprintf(os.Stderr, "GOARCH or GOOS not defined in environment\n")
5009+ os.Exit(1)
5010+ }
5011+
5012+ file := strings.TrimSpace(os.Args[1])
5013+ var syscalls io.Reader
5014+ if strings.HasPrefix(file, "https://") || strings.HasPrefix(file, "http://") {
5015+ // Download syscalls.master file
5016+ syscalls = fetchFile(file)
5017+ } else {
5018+ syscalls = readFile(file)
5019+ }
5020+
5021+ var text, line string
5022+ s := bufio.NewScanner(syscalls)
5023+ for s.Scan() {
5024+ t := re{str: line}
5025+ if t.Match(`^(.*)\\$`) {
5026+ // Handle continuation
5027+ line = t.sub[1]
5028+ line += strings.TrimLeft(s.Text(), " \t")
5029+ } else {
5030+ // New line
5031+ line = s.Text()
5032+ }
5033+ t = re{str: line}
5034+ if t.Match(`\\$`) {
5035+ continue
5036+ }
5037+ t = re{str: line}
5038+
5039+ switch goos {
5040+ case "dragonfly":
5041+ if t.Match(`^([0-9]+)\s+STD\s+({ \S+\s+(\w+).*)$`) {
5042+ num, proto := t.sub[1], t.sub[2]
5043+ name := fmt.Sprintf("SYS_%s", t.sub[3])
5044+ text += format(name, num, proto)
5045+ }
5046+ case "freebsd":
5047+ if t.Match(`^([0-9]+)\s+\S+\s+(?:(?:NO)?STD|COMPAT10)\s+({ \S+\s+(\w+).*)$`) {
5048+ num, proto := t.sub[1], t.sub[2]
5049+ name := fmt.Sprintf("SYS_%s", t.sub[3])
5050+ text += format(name, num, proto)
5051+ }
5052+ case "openbsd":
5053+ if t.Match(`^([0-9]+)\s+STD\s+(NOLOCK\s+)?({ \S+\s+\*?(\w+).*)$`) {
5054+ num, proto, name := t.sub[1], t.sub[3], t.sub[4]
5055+ text += format(name, num, proto)
5056+ }
5057+ case "netbsd":
5058+ if t.Match(`^([0-9]+)\s+((STD)|(NOERR))\s+(RUMP\s+)?({\s+\S+\s*\*?\s*\|(\S+)\|(\S*)\|(\w+).*\s+})(\s+(\S+))?$`) {
5059+ num, proto, compat := t.sub[1], t.sub[6], t.sub[8]
5060+ name := t.sub[7] + "_" + t.sub[9]
5061+ if t.sub[11] != "" {
5062+ name = t.sub[7] + "_" + t.sub[11]
5063+ }
5064+ name = strings.ToUpper(name)
5065+ if compat == "" || compat == "13" || compat == "30" || compat == "50" {
5066+ text += fmt.Sprintf(" %s = %s; // %s\n", name, num, proto)
5067+ }
5068+ }
5069+ case "darwin":
5070+ if t.Match(`^#define\s+SYS_(\w+)\s+([0-9]+)`) {
5071+ name, num := t.sub[1], t.sub[2]
5072+ name = strings.ToUpper(name)
5073+ text += fmt.Sprintf(" SYS_%s = %s;\n", name, num)
5074+ }
5075+ default:
5076+ fmt.Fprintf(os.Stderr, "unrecognized GOOS=%s\n", goos)
5077+ os.Exit(1)
5078+
5079+ }
5080+ }
5081+ err := s.Err()
5082+ checkErr(err)
5083+
5084+ fmt.Printf(template, cmdLine(), buildTags(), text)
5085+}
5086+
5087+const template = `// %s
5088+// Code generated by the command above; see README.md. DO NOT EDIT.
5089+
5090+// +build %s
5091+
5092+package unix
5093+
5094+const(
5095+%s)`
5096diff --git a/vendor/golang.org/x/sys/unix/openbsd_pledge.go b/vendor/golang.org/x/sys/unix/openbsd_pledge.go
5097deleted file mode 100644
5098index db4f72ea..00000000
5099--- a/vendor/golang.org/x/sys/unix/openbsd_pledge.go
5100+++ /dev/null
5101@@ -1,38 +0,0 @@
5102-// Copyright 2016 The Go Authors. All rights reserved.
5103-// Use of this source code is governed by a BSD-style
5104-// license that can be found in the LICENSE file.
5105-
5106-// +build openbsd
5107-// +build 386 amd64 arm
5108-
5109-package unix
5110-
5111-import (
5112- "syscall"
5113- "unsafe"
5114-)
5115-
5116-const (
5117- SYS_PLEDGE = 108
5118-)
5119-
5120-// Pledge implements the pledge syscall. For more information see pledge(2).
5121-func Pledge(promises string, paths []string) error {
5122- promisesPtr, err := syscall.BytePtrFromString(promises)
5123- if err != nil {
5124- return err
5125- }
5126- promisesUnsafe, pathsUnsafe := unsafe.Pointer(promisesPtr), unsafe.Pointer(nil)
5127- if paths != nil {
5128- var pathsPtr []*byte
5129- if pathsPtr, err = syscall.SlicePtrFromStrings(paths); err != nil {
5130- return err
5131- }
5132- pathsUnsafe = unsafe.Pointer(&pathsPtr[0])
5133- }
5134- _, _, e := syscall.Syscall(SYS_PLEDGE, uintptr(promisesUnsafe), uintptr(pathsUnsafe), 0)
5135- if e != 0 {
5136- return e
5137- }
5138- return nil
5139-}
5140diff --git a/vendor/golang.org/x/sys/unix/pagesize_unix.go b/vendor/golang.org/x/sys/unix/pagesize_unix.go
5141new file mode 100644
5142index 00000000..bc2f3629
5143--- /dev/null
5144+++ b/vendor/golang.org/x/sys/unix/pagesize_unix.go
5145@@ -0,0 +1,15 @@
5146+// Copyright 2017 The Go Authors. All rights reserved.
5147+// Use of this source code is governed by a BSD-style
5148+// license that can be found in the LICENSE file.
5149+
5150+// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
5151+
5152+// For Unix, get the pagesize from the runtime.
5153+
5154+package unix
5155+
5156+import "syscall"
5157+
5158+func Getpagesize() int {
5159+ return syscall.Getpagesize()
5160+}
5161diff --git a/vendor/golang.org/x/sys/unix/pledge_openbsd.go b/vendor/golang.org/x/sys/unix/pledge_openbsd.go
5162new file mode 100644
5163index 00000000..eb48294b
5164--- /dev/null
5165+++ b/vendor/golang.org/x/sys/unix/pledge_openbsd.go
5166@@ -0,0 +1,163 @@
5167+// Copyright 2016 The Go Authors. All rights reserved.
5168+// Use of this source code is governed by a BSD-style
5169+// license that can be found in the LICENSE file.
5170+
5171+package unix
5172+
5173+import (
5174+ "errors"
5175+ "fmt"
5176+ "strconv"
5177+ "syscall"
5178+ "unsafe"
5179+)
5180+
5181+// Pledge implements the pledge syscall.
5182+//
5183+// The pledge syscall does not accept execpromises on OpenBSD releases
5184+// before 6.3.
5185+//
5186+// execpromises must be empty when Pledge is called on OpenBSD
5187+// releases predating 6.3, otherwise an error will be returned.
5188+//
5189+// For more information see pledge(2).
5190+func Pledge(promises, execpromises string) error {
5191+ maj, min, err := majmin()
5192+ if err != nil {
5193+ return err
5194+ }
5195+
5196+ err = pledgeAvailable(maj, min, execpromises)
5197+ if err != nil {
5198+ return err
5199+ }
5200+
5201+ pptr, err := syscall.BytePtrFromString(promises)
5202+ if err != nil {
5203+ return err
5204+ }
5205+
5206+ // This variable will hold either a nil unsafe.Pointer or
5207+ // an unsafe.Pointer to a string (execpromises).
5208+ var expr unsafe.Pointer
5209+
5210+ // If we're running on OpenBSD > 6.2, pass execpromises to the syscall.
5211+ if maj > 6 || (maj == 6 && min > 2) {
5212+ exptr, err := syscall.BytePtrFromString(execpromises)
5213+ if err != nil {
5214+ return err
5215+ }
5216+ expr = unsafe.Pointer(exptr)
5217+ }
5218+
5219+ _, _, e := syscall.Syscall(SYS_PLEDGE, uintptr(unsafe.Pointer(pptr)), uintptr(expr), 0)
5220+ if e != 0 {
5221+ return e
5222+ }
5223+
5224+ return nil
5225+}
5226+
5227+// PledgePromises implements the pledge syscall.
5228+//
5229+// This changes the promises and leaves the execpromises untouched.
5230+//
5231+// For more information see pledge(2).
5232+func PledgePromises(promises string) error {
5233+ maj, min, err := majmin()
5234+ if err != nil {
5235+ return err
5236+ }
5237+
5238+ err = pledgeAvailable(maj, min, "")
5239+ if err != nil {
5240+ return err
5241+ }
5242+
5243+ // This variable holds the execpromises and is always nil.
5244+ var expr unsafe.Pointer
5245+
5246+ pptr, err := syscall.BytePtrFromString(promises)
5247+ if err != nil {
5248+ return err
5249+ }
5250+
5251+ _, _, e := syscall.Syscall(SYS_PLEDGE, uintptr(unsafe.Pointer(pptr)), uintptr(expr), 0)
5252+ if e != 0 {
5253+ return e
5254+ }
5255+
5256+ return nil
5257+}
5258+
5259+// PledgeExecpromises implements the pledge syscall.
5260+//
5261+// This changes the execpromises and leaves the promises untouched.
5262+//
5263+// For more information see pledge(2).
5264+func PledgeExecpromises(execpromises string) error {
5265+ maj, min, err := majmin()
5266+ if err != nil {
5267+ return err
5268+ }
5269+
5270+ err = pledgeAvailable(maj, min, execpromises)
5271+ if err != nil {
5272+ return err
5273+ }
5274+
5275+ // This variable holds the promises and is always nil.
5276+ var pptr unsafe.Pointer
5277+
5278+ exptr, err := syscall.BytePtrFromString(execpromises)
5279+ if err != nil {
5280+ return err
5281+ }
5282+
5283+ _, _, e := syscall.Syscall(SYS_PLEDGE, uintptr(pptr), uintptr(unsafe.Pointer(exptr)), 0)
5284+ if e != 0 {
5285+ return e
5286+ }
5287+
5288+ return nil
5289+}
5290+
5291+// majmin returns major and minor version number for an OpenBSD system.
5292+func majmin() (major int, minor int, err error) {
5293+ var v Utsname
5294+ err = Uname(&v)
5295+ if err != nil {
5296+ return
5297+ }
5298+
5299+ major, err = strconv.Atoi(string(v.Release[0]))
5300+ if err != nil {
5301+ err = errors.New("cannot parse major version number returned by uname")
5302+ return
5303+ }
5304+
5305+ minor, err = strconv.Atoi(string(v.Release[2]))
5306+ if err != nil {
5307+ err = errors.New("cannot parse minor version number returned by uname")
5308+ return
5309+ }
5310+
5311+ return
5312+}
5313+
5314+// pledgeAvailable checks for availability of the pledge(2) syscall
5315+// based on the running OpenBSD version.
5316+func pledgeAvailable(maj, min int, execpromises string) error {
5317+ // If OpenBSD <= 5.9, pledge is not available.
5318+ if (maj == 5 && min != 9) || maj < 5 {
5319+ return fmt.Errorf("pledge syscall is not available on OpenBSD %d.%d", maj, min)
5320+ }
5321+
5322+ // If OpenBSD <= 6.2 and execpromises is not empty,
5323+ // return an error - execpromises is not available before 6.3
5324+ if (maj < 6 || (maj == 6 && min <= 2)) && execpromises != "" {
5325+ return fmt.Errorf("cannot use execpromises on OpenBSD %d.%d", maj, min)
5326+ }
5327+
5328+ return nil
5329+}
5330diff --git a/vendor/golang.org/x/sys/unix/race.go b/vendor/golang.org/x/sys/unix/race.go
5331index 3c7627eb..61712b51 100644
5332--- a/vendor/golang.org/x/sys/unix/race.go
5333+++ b/vendor/golang.org/x/sys/unix/race.go
5334@@ -1,4 +1,4 @@
5335-// Copyright 2012 The Go Authors. All rights reserved.
5336+// Copyright 2012 The Go Authors. All rights reserved.
5337 // Use of this source code is governed by a BSD-style
5338 // license that can be found in the LICENSE file.
5339
5340diff --git a/vendor/golang.org/x/sys/unix/race0.go b/vendor/golang.org/x/sys/unix/race0.go
5341index f8678e0d..ad026678 100644
5342--- a/vendor/golang.org/x/sys/unix/race0.go
5343+++ b/vendor/golang.org/x/sys/unix/race0.go
5344@@ -1,8 +1,8 @@
5345-// Copyright 2012 The Go Authors. All rights reserved.
5346+// Copyright 2012 The Go Authors. All rights reserved.
5347 // Use of this source code is governed by a BSD-style
5348 // license that can be found in the LICENSE file.
5349
5350-// +build darwin,!race linux,!race freebsd,!race netbsd openbsd solaris dragonfly
5351+// +build aix darwin,!race linux,!race freebsd,!race netbsd openbsd solaris dragonfly
5352
5353 package unix
5354
5355diff --git a/vendor/golang.org/x/sys/unix/readdirent_getdents.go b/vendor/golang.org/x/sys/unix/readdirent_getdents.go
5356new file mode 100644
5357index 00000000..3a90aa6d
5358--- /dev/null
5359+++ b/vendor/golang.org/x/sys/unix/readdirent_getdents.go
5360@@ -0,0 +1,12 @@
5361+// Copyright 2019 The Go Authors. All rights reserved.
5362+// Use of this source code is governed by a BSD-style
5363+// license that can be found in the LICENSE file.
5364+
5365+// +build aix dragonfly freebsd linux netbsd openbsd
5366+
5367+package unix
5368+
5369+// ReadDirent reads directory entries from fd and writes them into buf.
5370+func ReadDirent(fd int, buf []byte) (n int, err error) {
5371+ return Getdents(fd, buf)
5372+}
5373diff --git a/vendor/golang.org/x/sys/unix/readdirent_getdirentries.go b/vendor/golang.org/x/sys/unix/readdirent_getdirentries.go
5374new file mode 100644
5375index 00000000..5fdae40b
5376--- /dev/null
5377+++ b/vendor/golang.org/x/sys/unix/readdirent_getdirentries.go
5378@@ -0,0 +1,19 @@
5379+// Copyright 2019 The Go Authors. All rights reserved.
5380+// Use of this source code is governed by a BSD-style
5381+// license that can be found in the LICENSE file.
5382+
5383+// +build darwin
5384+
5385+package unix
5386+
5387+import "unsafe"
5388+
5389+// ReadDirent reads directory entries from fd and writes them into buf.
5390+func ReadDirent(fd int, buf []byte) (n int, err error) {
5391+ // Final argument is (basep *uintptr) and the syscall doesn't take nil.
5392+ // 64 bits should be enough. (32 bits isn't even on 386). Since the
5393+ // actual system call is getdirentries64, 64 is a good guess.
5394+ // TODO(rsc): Can we use a single global basep for all calls?
5395+ var base = (*uintptr)(unsafe.Pointer(new(uint64)))
5396+ return Getdirentries(fd, buf, base)
5397+}
5398diff --git a/vendor/golang.org/x/sys/unix/sockcmsg_dragonfly.go b/vendor/golang.org/x/sys/unix/sockcmsg_dragonfly.go
5399new file mode 100644
5400index 00000000..5144deec
5401--- /dev/null
5402+++ b/vendor/golang.org/x/sys/unix/sockcmsg_dragonfly.go
5403@@ -0,0 +1,16 @@
5404+// Copyright 2019 The Go Authors. All rights reserved.
5405+// Use of this source code is governed by a BSD-style
5406+// license that can be found in the LICENSE file.
5407+
5408+package unix
5409+
5410+// Round the length of a raw sockaddr up to align it properly.
5411+func cmsgAlignOf(salen int) int {
5412+ salign := SizeofPtr
5413+ if SizeofPtr == 8 && !supportsABI(_dragonflyABIChangeVersion) {
5414+ // 64-bit Dragonfly before the September 2019 ABI changes still requires
5415+ // 32-bit aligned access to network subsystem.
5416+ salign = 4
5417+ }
5418+ return (salen + salign - 1) & ^(salign - 1)
5419+}
5420diff --git a/vendor/golang.org/x/sys/unix/sockcmsg_linux.go b/vendor/golang.org/x/sys/unix/sockcmsg_linux.go
5421index d9ff4731..8bf45705 100644
5422--- a/vendor/golang.org/x/sys/unix/sockcmsg_linux.go
5423+++ b/vendor/golang.org/x/sys/unix/sockcmsg_linux.go
5424@@ -1,4 +1,4 @@
5425-// Copyright 2011 The Go Authors. All rights reserved.
5426+// Copyright 2011 The Go Authors. All rights reserved.
5427 // Use of this source code is governed by a BSD-style
5428 // license that can be found in the LICENSE file.
5429
5430@@ -17,7 +17,7 @@ func UnixCredentials(ucred *Ucred) []byte {
5431 h.Level = SOL_SOCKET
5432 h.Type = SCM_CREDENTIALS
5433 h.SetLen(CmsgLen(SizeofUcred))
5434- *((*Ucred)(cmsgData(h))) = *ucred
5435+ *(*Ucred)(h.data(0)) = *ucred
5436 return b
5437 }
5438
5439diff --git a/vendor/golang.org/x/sys/unix/sockcmsg_unix.go b/vendor/golang.org/x/sys/unix/sockcmsg_unix.go
5440index bb756ece..003916ed 100644
5441--- a/vendor/golang.org/x/sys/unix/sockcmsg_unix.go
5442+++ b/vendor/golang.org/x/sys/unix/sockcmsg_unix.go
5443@@ -2,25 +2,15 @@
5444 // Use of this source code is governed by a BSD-style
5445 // license that can be found in the LICENSE file.
5446
5447-// +build darwin dragonfly freebsd linux netbsd openbsd solaris
5448+// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
5449
5450 // Socket control messages
5451
5452 package unix
5453
5454-import "unsafe"
5455-
5456-// Round the length of a raw sockaddr up to align it properly.
5457-func cmsgAlignOf(salen int) int {
5458- salign := sizeofPtr
5459- // NOTE: It seems like 64-bit Darwin, DragonFly BSD and
5460- // Solaris kernels still require 32-bit aligned access to
5461- // network subsystem.
5462- if darwin64Bit || dragonfly64Bit || solaris64Bit {
5463- salign = 4
5464- }
5465- return (salen + salign - 1) & ^(salign - 1)
5466-}
5467+import (
5468+ "unsafe"
5469+)
5470
5471 // CmsgLen returns the value to store in the Len field of the Cmsghdr
5472 // structure, taking into account any necessary alignment.
5473@@ -34,8 +24,8 @@ func CmsgSpace(datalen int) int {
5474 return cmsgAlignOf(SizeofCmsghdr) + cmsgAlignOf(datalen)
5475 }
5476
5477-func cmsgData(h *Cmsghdr) unsafe.Pointer {
5478- return unsafe.Pointer(uintptr(unsafe.Pointer(h)) + uintptr(cmsgAlignOf(SizeofCmsghdr)))
5479+func (h *Cmsghdr) data(offset uintptr) unsafe.Pointer {
5480+ return unsafe.Pointer(uintptr(unsafe.Pointer(h)) + uintptr(cmsgAlignOf(SizeofCmsghdr)) + offset)
5481 }
5482
5483 // SocketControlMessage represents a socket control message.
5484@@ -78,10 +68,8 @@ func UnixRights(fds ...int) []byte {
5485 h.Level = SOL_SOCKET
5486 h.Type = SCM_RIGHTS
5487 h.SetLen(CmsgLen(datalen))
5488- data := cmsgData(h)
5489- for _, fd := range fds {
5490- *(*int32)(data) = int32(fd)
5491- data = unsafe.Pointer(uintptr(data) + 4)
5492+ for i, fd := range fds {
5493+ *(*int32)(h.data(4 * uintptr(i))) = int32(fd)
5494 }
5495 return b
5496 }
5497diff --git a/vendor/golang.org/x/sys/unix/sockcmsg_unix_other.go b/vendor/golang.org/x/sys/unix/sockcmsg_unix_other.go
5498new file mode 100644
5499index 00000000..7d08dae5
5500--- /dev/null
5501+++ b/vendor/golang.org/x/sys/unix/sockcmsg_unix_other.go
5502@@ -0,0 +1,38 @@
5503+// Copyright 2019 The Go Authors. All rights reserved.
5504+// Use of this source code is governed by a BSD-style
5505+// license that can be found in the LICENSE file.
5506+
5507+// +build aix darwin freebsd linux netbsd openbsd solaris
5508+
5509+package unix
5510+
5511+import (
5512+ "runtime"
5513+)
5514+
5515+// Round the length of a raw sockaddr up to align it properly.
5516+func cmsgAlignOf(salen int) int {
5517+ salign := SizeofPtr
5518+
5519+ // dragonfly needs to check ABI version at runtime, see cmsgAlignOf in
5520+ // sockcmsg_dragonfly.go
5521+ switch runtime.GOOS {
5522+ case "aix":
5523+ // There is no alignment on AIX.
5524+ salign = 1
5525+ case "darwin", "illumos", "solaris":
5526+ // NOTE: It seems like 64-bit Darwin, Illumos and Solaris
5527+ // kernels still require 32-bit aligned access to network
5528+ // subsystem.
5529+ if SizeofPtr == 8 {
5530+ salign = 4
5531+ }
5532+ case "netbsd", "openbsd":
5533+ // NetBSD and OpenBSD armv7 require 64-bit alignment.
5534+ if runtime.GOARCH == "arm" {
5535+ salign = 8
5536+ }
5537+ }
5538+
5539+ return (salen + salign - 1) & ^(salign - 1)
5540+}
5541diff --git a/vendor/golang.org/x/sys/unix/str.go b/vendor/golang.org/x/sys/unix/str.go
5542index 35ed6643..17fb6986 100644
5543--- a/vendor/golang.org/x/sys/unix/str.go
5544+++ b/vendor/golang.org/x/sys/unix/str.go
5545@@ -2,7 +2,7 @@
5546 // Use of this source code is governed by a BSD-style
5547 // license that can be found in the LICENSE file.
5548
5549-// +build darwin dragonfly freebsd linux netbsd openbsd solaris
5550+// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
5551
5552 package unix
5553
5554diff --git a/vendor/golang.org/x/sys/unix/syscall.go b/vendor/golang.org/x/sys/unix/syscall.go
5555index 85e35020..fd4ee8eb 100644
5556--- a/vendor/golang.org/x/sys/unix/syscall.go
5557+++ b/vendor/golang.org/x/sys/unix/syscall.go
5558@@ -2,33 +2,36 @@
5559 // Use of this source code is governed by a BSD-style
5560 // license that can be found in the LICENSE file.
5561
5562-// +build darwin dragonfly freebsd linux netbsd openbsd solaris
5563+// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
5564
5565 // Package unix contains an interface to the low-level operating system
5566-// primitives. OS details vary depending on the underlying system, and
5567+// primitives. OS details vary depending on the underlying system, and
5568 // by default, godoc will display OS-specific documentation for the current
5569-// system. If you want godoc to display OS documentation for another
5570-// system, set $GOOS and $GOARCH to the desired system. For example, if
5571+// system. If you want godoc to display OS documentation for another
5572+// system, set $GOOS and $GOARCH to the desired system. For example, if
5573 // you want to view documentation for freebsd/arm on linux/amd64, set $GOOS
5574 // to freebsd and $GOARCH to arm.
5575+//
5576 // The primary use of this package is inside other packages that provide a more
5577 // portable interface to the system, such as "os", "time" and "net". Use
5578 // those packages rather than this one if you can.
5579+//
5580 // For details of the functions and data types in this package consult
5581 // the manuals for the appropriate operating system.
5582+//
5583 // These calls return err == nil to indicate success; otherwise
5584 // err represents an operating system error describing the failure and
5585 // holds a value of type syscall.Errno.
5586 package unix // import "golang.org/x/sys/unix"
5587
5588+import "strings"
5589+
5590 // ByteSliceFromString returns a NUL-terminated slice of bytes
5591 // containing the text of s. If s contains a NUL byte at any
5592 // location, it returns (nil, EINVAL).
5593 func ByteSliceFromString(s string) ([]byte, error) {
5594- for i := 0; i < len(s); i++ {
5595- if s[i] == 0 {
5596- return nil, EINVAL
5597- }
5598+ if strings.IndexByte(s, 0) != -1 {
5599+ return nil, EINVAL
5600 }
5601 a := make([]byte, len(s)+1)
5602 copy(a, s)
5603@@ -47,23 +50,4 @@ func BytePtrFromString(s string) (*byte, error) {
5604 }
5605
5606 // Single-word zero for use when we need a valid pointer to 0 bytes.
5607-// See mkunix.pl.
5608 var _zero uintptr
5609-
5610-func (ts *Timespec) Unix() (sec int64, nsec int64) {
5611- return int64(ts.Sec), int64(ts.Nsec)
5612-}
5613-
5614-func (tv *Timeval) Unix() (sec int64, nsec int64) {
5615- return int64(tv.Sec), int64(tv.Usec) * 1000
5616-}
5617-
5618-func (ts *Timespec) Nano() int64 {
5619- return int64(ts.Sec)*1e9 + int64(ts.Nsec)
5620-}
5621-
5622-func (tv *Timeval) Nano() int64 {
5623- return int64(tv.Sec)*1e9 + int64(tv.Usec)*1000
5624-}
5625-
5626-func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
5627diff --git a/vendor/golang.org/x/sys/unix/syscall_aix.go b/vendor/golang.org/x/sys/unix/syscall_aix.go
5628new file mode 100644
5629index 00000000..9ad8a0d4
5630--- /dev/null
5631+++ b/vendor/golang.org/x/sys/unix/syscall_aix.go
5632@@ -0,0 +1,536 @@
5633+// Copyright 2018 The Go Authors. All rights reserved.
5634+// Use of this source code is governed by a BSD-style
5635+// license that can be found in the LICENSE file.
5636+
5637+// +build aix
5638+
5639+// Aix system calls.
5640+// This file is compiled as ordinary Go code,
5641+// but it is also input to mksyscall,
5642+// which parses the //sys lines and generates system call stubs.
5643+// Note that sometimes we use a lowercase //sys name and
5644+// wrap it in our own nicer implementation.
5645+
5646+package unix
5647+
5648+import "unsafe"
5649+
5650+/*
5651+ * Wrapped
5652+ */
5653+
5654+//sys utimes(path string, times *[2]Timeval) (err error)
5655+func Utimes(path string, tv []Timeval) error {
5656+ if len(tv) != 2 {
5657+ return EINVAL
5658+ }
5659+ return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
5660+}
5661+
5662+//sys utimensat(dirfd int, path string, times *[2]Timespec, flag int) (err error)
5663+func UtimesNano(path string, ts []Timespec) error {
5664+ if len(ts) != 2 {
5665+ return EINVAL
5666+ }
5667+ return utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
5668+}
5669+
5670+func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error {
5671+ if ts == nil {
5672+ return utimensat(dirfd, path, nil, flags)
5673+ }
5674+ if len(ts) != 2 {
5675+ return EINVAL
5676+ }
5677+ return utimensat(dirfd, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), flags)
5678+}
5679+
5680+func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) {
5681+ if sa.Port < 0 || sa.Port > 0xFFFF {
5682+ return nil, 0, EINVAL
5683+ }
5684+ sa.raw.Family = AF_INET
5685+ p := (*[2]byte)(unsafe.Pointer(&sa.raw.Port))
5686+ p[0] = byte(sa.Port >> 8)
5687+ p[1] = byte(sa.Port)
5688+ for i := 0; i < len(sa.Addr); i++ {
5689+ sa.raw.Addr[i] = sa.Addr[i]
5690+ }
5691+ return unsafe.Pointer(&sa.raw), SizeofSockaddrInet4, nil
5692+}
5693+
5694+func (sa *SockaddrInet6) sockaddr() (unsafe.Pointer, _Socklen, error) {
5695+ if sa.Port < 0 || sa.Port > 0xFFFF {
5696+ return nil, 0, EINVAL
5697+ }
5698+ sa.raw.Family = AF_INET6
5699+ p := (*[2]byte)(unsafe.Pointer(&sa.raw.Port))
5700+ p[0] = byte(sa.Port >> 8)
5701+ p[1] = byte(sa.Port)
5702+ sa.raw.Scope_id = sa.ZoneId
5703+ for i := 0; i < len(sa.Addr); i++ {
5704+ sa.raw.Addr[i] = sa.Addr[i]
5705+ }
5706+ return unsafe.Pointer(&sa.raw), SizeofSockaddrInet6, nil
5707+}
5708+
5709+func (sa *SockaddrUnix) sockaddr() (unsafe.Pointer, _Socklen, error) {
5710+ name := sa.Name
5711+ n := len(name)
5712+ if n > len(sa.raw.Path) {
5713+ return nil, 0, EINVAL
5714+ }
5715+ if n == len(sa.raw.Path) && name[0] != '@' {
5716+ return nil, 0, EINVAL
5717+ }
5718+ sa.raw.Family = AF_UNIX
5719+ for i := 0; i < n; i++ {
5720+ sa.raw.Path[i] = uint8(name[i])
5721+ }
5722+ // length is family (uint16), name, NUL.
5723+ sl := _Socklen(2)
5724+ if n > 0 {
5725+ sl += _Socklen(n) + 1
5726+ }
5727+ if sa.raw.Path[0] == '@' {
5728+ sa.raw.Path[0] = 0
5729+ // Don't count trailing NUL for abstract address.
5730+ sl--
5731+ }
5732+
5733+ return unsafe.Pointer(&sa.raw), sl, nil
5734+}
5735+
5736+func Getsockname(fd int) (sa Sockaddr, err error) {
5737+ var rsa RawSockaddrAny
5738+ var len _Socklen = SizeofSockaddrAny
5739+ if err = getsockname(fd, &rsa, &len); err != nil {
5740+ return
5741+ }
5742+ return anyToSockaddr(fd, &rsa)
5743+}
5744+
5745+//sys getcwd(buf []byte) (err error)
5746+
5747+const ImplementsGetwd = true
5748+
5749+func Getwd() (ret string, err error) {
5750+ for len := uint64(4096); ; len *= 2 {
5751+ b := make([]byte, len)
5752+ err := getcwd(b)
5753+ if err == nil {
5754+ i := 0
5755+ for b[i] != 0 {
5756+ i++
5757+ }
5758+ return string(b[0:i]), nil
5759+ }
5760+ if err != ERANGE {
5761+ return "", err
5762+ }
5763+ }
5764+}
5765+
5766+func Getcwd(buf []byte) (n int, err error) {
5767+ err = getcwd(buf)
5768+ if err == nil {
5769+ i := 0
5770+ for buf[i] != 0 {
5771+ i++
5772+ }
5773+ n = i + 1
5774+ }
5775+ return
5776+}
5777+
5778+func Getgroups() (gids []int, err error) {
5779+ n, err := getgroups(0, nil)
5780+ if err != nil {
5781+ return nil, err
5782+ }
5783+ if n == 0 {
5784+ return nil, nil
5785+ }
5786+
5787+ // Sanity check group count. Max is 16 on BSD.
5788+ if n < 0 || n > 1000 {
5789+ return nil, EINVAL
5790+ }
5791+
5792+ a := make([]_Gid_t, n)
5793+ n, err = getgroups(n, &a[0])
5794+ if err != nil {
5795+ return nil, err
5796+ }
5797+ gids = make([]int, n)
5798+ for i, v := range a[0:n] {
5799+ gids[i] = int(v)
5800+ }
5801+ return
5802+}
5803+
5804+func Setgroups(gids []int) (err error) {
5805+ if len(gids) == 0 {
5806+ return setgroups(0, nil)
5807+ }
5808+
5809+ a := make([]_Gid_t, len(gids))
5810+ for i, v := range gids {
5811+ a[i] = _Gid_t(v)
5812+ }
5813+ return setgroups(len(a), &a[0])
5814+}
5815+
5816+/*
5817+ * Socket
5818+ */
5819+
5820+//sys accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
5821+
5822+func Accept(fd int) (nfd int, sa Sockaddr, err error) {
5823+ var rsa RawSockaddrAny
5824+ var len _Socklen = SizeofSockaddrAny
5825+ nfd, err = accept(fd, &rsa, &len)
5826+ if nfd == -1 {
5827+ return
5828+ }
5829+ sa, err = anyToSockaddr(fd, &rsa)
5830+ if err != nil {
5831+ Close(nfd)
5832+ nfd = 0
5833+ }
5834+ return
5835+}
5836+
5837+func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) {
5838+ // Recvmsg not implemented on AIX
5839+ sa := new(SockaddrUnix)
5840+ return -1, -1, -1, sa, ENOSYS
5841+}
5842+
5843+func Sendmsg(fd int, p, oob []byte, to Sockaddr, flags int) (err error) {
5844+ _, err = SendmsgN(fd, p, oob, to, flags)
5845+ return
5846+}
5847+
5848+func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error) {
5849+ // SendmsgN not implemented on AIX
5850+ return -1, ENOSYS
5851+}
5852+
5853+func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) {
5854+ switch rsa.Addr.Family {
5855+
5856+ case AF_UNIX:
5857+ pp := (*RawSockaddrUnix)(unsafe.Pointer(rsa))
5858+ sa := new(SockaddrUnix)
5859+
5860+ // Some versions of AIX have a bug in getsockname (see IV78655).
5861+ // We can't rely on sa.Len being set correctly.
5862+ n := SizeofSockaddrUnix - 3 // subtract leading Family, Len, terminating NUL.
5863+ for i := 0; i < n; i++ {
5864+ if pp.Path[i] == 0 {
5865+ n = i
5866+ break
5867+ }
5868+ }
5869+
5870+ bytes := (*[10000]byte)(unsafe.Pointer(&pp.Path[0]))[0:n]
5871+ sa.Name = string(bytes)
5872+ return sa, nil
5873+
5874+ case AF_INET:
5875+ pp := (*RawSockaddrInet4)(unsafe.Pointer(rsa))
5876+ sa := new(SockaddrInet4)
5877+ p := (*[2]byte)(unsafe.Pointer(&pp.Port))
5878+ sa.Port = int(p[0])<<8 + int(p[1])
5879+ for i := 0; i < len(sa.Addr); i++ {
5880+ sa.Addr[i] = pp.Addr[i]
5881+ }
5882+ return sa, nil
5883+
5884+ case AF_INET6:
5885+ pp := (*RawSockaddrInet6)(unsafe.Pointer(rsa))
5886+ sa := new(SockaddrInet6)
5887+ p := (*[2]byte)(unsafe.Pointer(&pp.Port))
5888+ sa.Port = int(p[0])<<8 + int(p[1])
5889+ sa.ZoneId = pp.Scope_id
5890+ for i := 0; i < len(sa.Addr); i++ {
5891+ sa.Addr[i] = pp.Addr[i]
5892+ }
5893+ return sa, nil
5894+ }
5895+ return nil, EAFNOSUPPORT
5896+}
5897+
5898+func Gettimeofday(tv *Timeval) (err error) {
5899+ err = gettimeofday(tv, nil)
5900+ return
5901+}
5902+
5903+func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
5904+ if raceenabled {
5905+ raceReleaseMerge(unsafe.Pointer(&ioSync))
5906+ }
5907+ return sendfile(outfd, infd, offset, count)
5908+}
5909+
5910+// TODO
5911+func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
5912+ return -1, ENOSYS
5913+}
5914+
5915+func direntIno(buf []byte) (uint64, bool) {
5916+ return readInt(buf, unsafe.Offsetof(Dirent{}.Ino), unsafe.Sizeof(Dirent{}.Ino))
5917+}
5918+
5919+func direntReclen(buf []byte) (uint64, bool) {
5920+ return readInt(buf, unsafe.Offsetof(Dirent{}.Reclen), unsafe.Sizeof(Dirent{}.Reclen))
5921+}
5922+
5923+func direntNamlen(buf []byte) (uint64, bool) {
5924+ reclen, ok := direntReclen(buf)
5925+ if !ok {
5926+ return 0, false
5927+ }
5928+ return reclen - uint64(unsafe.Offsetof(Dirent{}.Name)), true
5929+}
5930+
5931+//sys getdirent(fd int, buf []byte) (n int, err error)
5932+func Getdents(fd int, buf []byte) (n int, err error) {
5933+ return getdirent(fd, buf)
5934+}
5935+
5936+//sys wait4(pid Pid_t, status *_C_int, options int, rusage *Rusage) (wpid Pid_t, err error)
5937+func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) {
5938+ var status _C_int
5939+ var r Pid_t
5940+ err = ERESTART
5941+ // AIX wait4 may return with ERESTART errno, while the processus is still
5942+ // active.
5943+ for err == ERESTART {
5944+ r, err = wait4(Pid_t(pid), &status, options, rusage)
5945+ }
5946+ wpid = int(r)
5947+ if wstatus != nil {
5948+ *wstatus = WaitStatus(status)
5949+ }
5950+ return
5951+}
5952+
5953+/*
5954+ * Wait
5955+ */
5956+
5957+type WaitStatus uint32
5958+
5959+func (w WaitStatus) Stopped() bool { return w&0x40 != 0 }
5960+func (w WaitStatus) StopSignal() Signal {
5961+ if !w.Stopped() {
5962+ return -1
5963+ }
5964+ return Signal(w>>8) & 0xFF
5965+}
5966+
5967+func (w WaitStatus) Exited() bool { return w&0xFF == 0 }
5968+func (w WaitStatus) ExitStatus() int {
5969+ if !w.Exited() {
5970+ return -1
5971+ }
5972+ return int((w >> 8) & 0xFF)
5973+}
5974+
5975+func (w WaitStatus) Signaled() bool { return w&0x40 == 0 && w&0xFF != 0 }
5976+func (w WaitStatus) Signal() Signal {
5977+ if !w.Signaled() {
5978+ return -1
5979+ }
5980+ return Signal(w>>16) & 0xFF
5981+}
5982+
5983+func (w WaitStatus) Continued() bool { return w&0x01000000 != 0 }
5984+
5985+func (w WaitStatus) CoreDump() bool { return w&0x80 == 0x80 }
5986+
5987+func (w WaitStatus) TrapCause() int { return -1 }
5988+
5989+//sys ioctl(fd int, req uint, arg uintptr) (err error)
5990+
5991+// fcntl must never be called with cmd=F_DUP2FD because it doesn't work on AIX
5992+// There is no way to create a custom fcntl and to keep //sys fcntl easily,
5993+// Therefore, the programmer must call dup2 instead of fcntl in this case.
5994+
5995+// FcntlInt performs a fcntl syscall on fd with the provided command and argument.
5996+//sys FcntlInt(fd uintptr, cmd int, arg int) (r int,err error) = fcntl
5997+
5998+// FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command.
5999+//sys FcntlFlock(fd uintptr, cmd int, lk *Flock_t) (err error) = fcntl
6000+
6001+//sys fcntl(fd int, cmd int, arg int) (val int, err error)
6002+
6003+/*
6004+ * Direct access
6005+ */
6006+
6007+//sys Acct(path string) (err error)
6008+//sys Chdir(path string) (err error)
6009+//sys Chroot(path string) (err error)
6010+//sys Close(fd int) (err error)
6011+//sys Dup(oldfd int) (fd int, err error)
6012+//sys Exit(code int)
6013+//sys Faccessat(dirfd int, path string, mode uint32, flags int) (err error)
6014+//sys Fchdir(fd int) (err error)
6015+//sys Fchmod(fd int, mode uint32) (err error)
6016+//sys Fchmodat(dirfd int, path string, mode uint32, flags int) (err error)
6017+//sys Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error)
6018+//sys Fdatasync(fd int) (err error)
6019+//sys Fsync(fd int) (err error)
6020+// readdir_r
6021+//sysnb Getpgid(pid int) (pgid int, err error)
6022+
6023+//sys Getpgrp() (pid int)
6024+
6025+//sysnb Getpid() (pid int)
6026+//sysnb Getppid() (ppid int)
6027+//sys Getpriority(which int, who int) (prio int, err error)
6028+//sysnb Getrusage(who int, rusage *Rusage) (err error)
6029+//sysnb Getsid(pid int) (sid int, err error)
6030+//sysnb Kill(pid int, sig Signal) (err error)
6031+//sys Klogctl(typ int, buf []byte) (n int, err error) = syslog
6032+//sys Mkdir(dirfd int, path string, mode uint32) (err error)
6033+//sys Mkdirat(dirfd int, path string, mode uint32) (err error)
6034+//sys Mkfifo(path string, mode uint32) (err error)
6035+//sys Mknod(path string, mode uint32, dev int) (err error)
6036+//sys Mknodat(dirfd int, path string, mode uint32, dev int) (err error)
6037+//sys Nanosleep(time *Timespec, leftover *Timespec) (err error)
6038+//sys Open(path string, mode int, perm uint32) (fd int, err error) = open64
6039+//sys Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error)
6040+//sys read(fd int, p []byte) (n int, err error)
6041+//sys Readlink(path string, buf []byte) (n int, err error)
6042+//sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
6043+//sys Setdomainname(p []byte) (err error)
6044+//sys Sethostname(p []byte) (err error)
6045+//sysnb Setpgid(pid int, pgid int) (err error)
6046+//sysnb Setsid() (pid int, err error)
6047+//sysnb Settimeofday(tv *Timeval) (err error)
6048+
6049+//sys Setuid(uid int) (err error)
6050+//sys Setgid(uid int) (err error)
6051+
6052+//sys Setpriority(which int, who int, prio int) (err error)
6053+//sys Statx(dirfd int, path string, flags int, mask int, stat *Statx_t) (err error)
6054+//sys Sync()
6055+//sysnb Times(tms *Tms) (ticks uintptr, err error)
6056+//sysnb Umask(mask int) (oldmask int)
6057+//sysnb Uname(buf *Utsname) (err error)
6058+//sys Unlink(path string) (err error)
6059+//sys Unlinkat(dirfd int, path string, flags int) (err error)
6060+//sys Ustat(dev int, ubuf *Ustat_t) (err error)
6061+//sys write(fd int, p []byte) (n int, err error)
6062+//sys readlen(fd int, p *byte, np int) (n int, err error) = read
6063+//sys writelen(fd int, p *byte, np int) (n int, err error) = write
6064+
6065+//sys Dup2(oldfd int, newfd int) (err error)
6066+//sys Fadvise(fd int, offset int64, length int64, advice int) (err error) = posix_fadvise64
6067+//sys Fchown(fd int, uid int, gid int) (err error)
6068+//sys fstat(fd int, stat *Stat_t) (err error)
6069+//sys fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) = fstatat
6070+//sys Fstatfs(fd int, buf *Statfs_t) (err error)
6071+//sys Ftruncate(fd int, length int64) (err error)
6072+//sysnb Getegid() (egid int)
6073+//sysnb Geteuid() (euid int)
6074+//sysnb Getgid() (gid int)
6075+//sysnb Getuid() (uid int)
6076+//sys Lchown(path string, uid int, gid int) (err error)
6077+//sys Listen(s int, n int) (err error)
6078+//sys lstat(path string, stat *Stat_t) (err error)
6079+//sys Pause() (err error)
6080+//sys Pread(fd int, p []byte, offset int64) (n int, err error) = pread64
6081+//sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = pwrite64
6082+//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
6083+//sys Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error)
6084+//sysnb Setregid(rgid int, egid int) (err error)
6085+//sysnb Setreuid(ruid int, euid int) (err error)
6086+//sys Shutdown(fd int, how int) (err error)
6087+//sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
6088+//sys stat(path string, statptr *Stat_t) (err error)
6089+//sys Statfs(path string, buf *Statfs_t) (err error)
6090+//sys Truncate(path string, length int64) (err error)
6091+
6092+//sys bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
6093+//sys connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
6094+//sysnb getgroups(n int, list *_Gid_t) (nn int, err error)
6095+//sysnb setgroups(n int, list *_Gid_t) (err error)
6096+//sys getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error)
6097+//sys setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error)
6098+//sysnb socket(domain int, typ int, proto int) (fd int, err error)
6099+//sysnb socketpair(domain int, typ int, proto int, fd *[2]int32) (err error)
6100+//sysnb getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
6101+//sysnb getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
6102+//sys recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error)
6103+//sys sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error)
6104+
6105+// In order to use msghdr structure with Control, Controllen, nrecvmsg and nsendmsg must be used.
6106+//sys recvmsg(s int, msg *Msghdr, flags int) (n int, err error) = nrecvmsg
6107+//sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error) = nsendmsg
6108+
6109+//sys munmap(addr uintptr, length uintptr) (err error)
6110+
6111+var mapper = &mmapper{
6112+ active: make(map[*byte][]byte),
6113+ mmap: mmap,
6114+ munmap: munmap,
6115+}
6116+
6117+func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
6118+ return mapper.Mmap(fd, offset, length, prot, flags)
6119+}
6120+
6121+func Munmap(b []byte) (err error) {
6122+ return mapper.Munmap(b)
6123+}
6124+
6125+//sys Madvise(b []byte, advice int) (err error)
6126+//sys Mprotect(b []byte, prot int) (err error)
6127+//sys Mlock(b []byte) (err error)
6128+//sys Mlockall(flags int) (err error)
6129+//sys Msync(b []byte, flags int) (err error)
6130+//sys Munlock(b []byte) (err error)
6131+//sys Munlockall() (err error)
6132+
6133+//sysnb pipe(p *[2]_C_int) (err error)
6134+
6135+func Pipe(p []int) (err error) {
6136+ if len(p) != 2 {
6137+ return EINVAL
6138+ }
6139+ var pp [2]_C_int
6140+ err = pipe(&pp)
6141+ p[0] = int(pp[0])
6142+ p[1] = int(pp[1])
6143+ return
6144+}
6145+
6146+//sys poll(fds *PollFd, nfds int, timeout int) (n int, err error)
6147+
6148+func Poll(fds []PollFd, timeout int) (n int, err error) {
6149+ if len(fds) == 0 {
6150+ return poll(nil, 0, timeout)
6151+ }
6152+ return poll(&fds[0], len(fds), timeout)
6153+}
6154+
6155+//sys gettimeofday(tv *Timeval, tzp *Timezone) (err error)
6156+//sysnb Time(t *Time_t) (tt Time_t, err error)
6157+//sys Utime(path string, buf *Utimbuf) (err error)
6158+
6159+//sys Getsystemcfg(label int) (n uint64)
6160+
6161+//sys umount(target string) (err error)
6162+func Unmount(target string, flags int) (err error) {
6163+ if flags != 0 {
6164+ // AIX doesn't have any flags for umount.
6165+ return ENOSYS
6166+ }
6167+ return umount(target)
6168+}
6169diff --git a/vendor/golang.org/x/sys/unix/syscall_aix_ppc.go b/vendor/golang.org/x/sys/unix/syscall_aix_ppc.go
6170new file mode 100644
6171index 00000000..b3c8e330
6172--- /dev/null
6173+++ b/vendor/golang.org/x/sys/unix/syscall_aix_ppc.go
6174@@ -0,0 +1,54 @@
6175+// Copyright 2018 The Go Authors. All rights reserved.
6176+// Use of this source code is governed by a BSD-style
6177+// license that can be found in the LICENSE file.
6178+
6179+// +build aix
6180+// +build ppc
6181+
6182+package unix
6183+
6184+//sysnb Getrlimit(resource int, rlim *Rlimit) (err error) = getrlimit64
6185+//sysnb Setrlimit(resource int, rlim *Rlimit) (err error) = setrlimit64
6186+//sys Seek(fd int, offset int64, whence int) (off int64, err error) = lseek64
6187+
6188+//sys mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
6189+
6190+func setTimespec(sec, nsec int64) Timespec {
6191+ return Timespec{Sec: int32(sec), Nsec: int32(nsec)}
6192+}
6193+
6194+func setTimeval(sec, usec int64) Timeval {
6195+ return Timeval{Sec: int32(sec), Usec: int32(usec)}
6196+}
6197+
6198+func (iov *Iovec) SetLen(length int) {
6199+ iov.Len = uint32(length)
6200+}
6201+
6202+func (msghdr *Msghdr) SetControllen(length int) {
6203+ msghdr.Controllen = uint32(length)
6204+}
6205+
6206+func (msghdr *Msghdr) SetIovlen(length int) {
6207+ msghdr.Iovlen = int32(length)
6208+}
6209+
6210+func (cmsg *Cmsghdr) SetLen(length int) {
6211+ cmsg.Len = uint32(length)
6212+}
6213+
6214+func Fstat(fd int, stat *Stat_t) error {
6215+ return fstat(fd, stat)
6216+}
6217+
6218+func Fstatat(dirfd int, path string, stat *Stat_t, flags int) error {
6219+ return fstatat(dirfd, path, stat, flags)
6220+}
6221+
6222+func Lstat(path string, stat *Stat_t) error {
6223+ return lstat(path, stat)
6224+}
6225+
6226+func Stat(path string, statptr *Stat_t) error {
6227+ return stat(path, statptr)
6228+}
6229diff --git a/vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go b/vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go
6230new file mode 100644
6231index 00000000..9a6e0241
6232--- /dev/null
6233+++ b/vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go
6234@@ -0,0 +1,85 @@
6235+// Copyright 2018 The Go Authors. All rights reserved.
6236+// Use of this source code is governed by a BSD-style
6237+// license that can be found in the LICENSE file.
6238+
6239+// +build aix
6240+// +build ppc64
6241+
6242+package unix
6243+
6244+//sysnb Getrlimit(resource int, rlim *Rlimit) (err error)
6245+//sysnb Setrlimit(resource int, rlim *Rlimit) (err error)
6246+//sys Seek(fd int, offset int64, whence int) (off int64, err error) = lseek
6247+
6248+//sys mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) = mmap64
6249+
6250+func setTimespec(sec, nsec int64) Timespec {
6251+ return Timespec{Sec: sec, Nsec: nsec}
6252+}
6253+
6254+func setTimeval(sec, usec int64) Timeval {
6255+ return Timeval{Sec: int64(sec), Usec: int32(usec)}
6256+}
6257+
6258+func (iov *Iovec) SetLen(length int) {
6259+ iov.Len = uint64(length)
6260+}
6261+
6262+func (msghdr *Msghdr) SetControllen(length int) {
6263+ msghdr.Controllen = uint32(length)
6264+}
6265+
6266+func (msghdr *Msghdr) SetIovlen(length int) {
6267+ msghdr.Iovlen = int32(length)
6268+}
6269+
6270+func (cmsg *Cmsghdr) SetLen(length int) {
6271+ cmsg.Len = uint32(length)
6272+}
6273+
6274+// In order to only have Timespec structure, type of Stat_t's fields
6275+// Atim, Mtim and Ctim is changed from StTimespec to Timespec during
6276+// ztypes generation.
6277+// On ppc64, Timespec.Nsec is an int64 while StTimespec.Nsec is an
6278+// int32, so the fields' value must be modified.
6279+func fixStatTimFields(stat *Stat_t) {
6280+ stat.Atim.Nsec >>= 32
6281+ stat.Mtim.Nsec >>= 32
6282+ stat.Ctim.Nsec >>= 32
6283+}
6284+
6285+func Fstat(fd int, stat *Stat_t) error {
6286+ err := fstat(fd, stat)
6287+ if err != nil {
6288+ return err
6289+ }
6290+ fixStatTimFields(stat)
6291+ return nil
6292+}
6293+
6294+func Fstatat(dirfd int, path string, stat *Stat_t, flags int) error {
6295+ err := fstatat(dirfd, path, stat, flags)
6296+ if err != nil {
6297+ return err
6298+ }
6299+ fixStatTimFields(stat)
6300+ return nil
6301+}
6302+
6303+func Lstat(path string, stat *Stat_t) error {
6304+ err := lstat(path, stat)
6305+ if err != nil {
6306+ return err
6307+ }
6308+ fixStatTimFields(stat)
6309+ return nil
6310+}
6311+
6312+func Stat(path string, statptr *Stat_t) error {
6313+ err := stat(path, statptr)
6314+ if err != nil {
6315+ return err
6316+ }
6317+ fixStatTimFields(statptr)
6318+ return nil
6319+}
6320diff --git a/vendor/golang.org/x/sys/unix/syscall_bsd.go b/vendor/golang.org/x/sys/unix/syscall_bsd.go
6321index c2846b32..68605db6 100644
6322--- a/vendor/golang.org/x/sys/unix/syscall_bsd.go
6323+++ b/vendor/golang.org/x/sys/unix/syscall_bsd.go
6324@@ -34,7 +34,7 @@ func Getgroups() (gids []int, err error) {
6325 return nil, nil
6326 }
6327
6328- // Sanity check group count. Max is 16 on BSD.
6329+ // Sanity check group count. Max is 16 on BSD.
6330 if n < 0 || n > 1000 {
6331 return nil, EINVAL
6332 }
6333@@ -63,15 +63,6 @@ func Setgroups(gids []int) (err error) {
6334 return setgroups(len(a), &a[0])
6335 }
6336
6337-func ReadDirent(fd int, buf []byte) (n int, err error) {
6338- // Final argument is (basep *uintptr) and the syscall doesn't take nil.
6339- // 64 bits should be enough. (32 bits isn't even on 386). Since the
6340- // actual system call is getdirentries64, 64 is a good guess.
6341- // TODO(rsc): Can we use a single global basep for all calls?
6342- var base = (*uintptr)(unsafe.Pointer(new(uint64)))
6343- return Getdirentries(fd, buf, base)
6344-}
6345-
6346 // Wait status is 7 bits at bottom, either 0 (exited),
6347 // 0x7F (stopped), or a signal number that caused an exit.
6348 // The 0x80 bit is whether there was a core dump.
6349@@ -86,6 +77,7 @@ const (
6350 shift = 8
6351
6352 exited = 0
6353+ killed = 9
6354 stopped = 0x7F
6355 )
6356
6357@@ -112,6 +104,8 @@ func (w WaitStatus) CoreDump() bool { return w.Signaled() && w&core != 0 }
6358
6359 func (w WaitStatus) Stopped() bool { return w&mask == stopped && syscall.Signal(w>>shift) != SIGSTOP }
6360
6361+func (w WaitStatus) Killed() bool { return w&mask == killed && syscall.Signal(w>>shift) != SIGKILL }
6362+
6363 func (w WaitStatus) Continued() bool { return w&mask == stopped && syscall.Signal(w>>shift) == SIGSTOP }
6364
6365 func (w WaitStatus) StopSignal() syscall.Signal {
6366@@ -206,7 +200,7 @@ func (sa *SockaddrDatalink) sockaddr() (unsafe.Pointer, _Socklen, error) {
6367 return unsafe.Pointer(&sa.raw), SizeofSockaddrDatalink, nil
6368 }
6369
6370-func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) {
6371+func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) {
6372 switch rsa.Addr.Family {
6373 case AF_LINK:
6374 pp := (*RawSockaddrDatalink)(unsafe.Pointer(rsa))
6375@@ -243,7 +237,7 @@ func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) {
6376 break
6377 }
6378 }
6379- bytes := (*[10000]byte)(unsafe.Pointer(&pp.Path[0]))[0:n]
6380+ bytes := (*[len(pp.Path)]byte)(unsafe.Pointer(&pp.Path[0]))[0:n]
6381 sa.Name = string(bytes)
6382 return sa, nil
6383
6384@@ -286,7 +280,7 @@ func Accept(fd int) (nfd int, sa Sockaddr, err error) {
6385 Close(nfd)
6386 return 0, nil, ECONNABORTED
6387 }
6388- sa, err = anyToSockaddr(&rsa)
6389+ sa, err = anyToSockaddr(fd, &rsa)
6390 if err != nil {
6391 Close(nfd)
6392 nfd = 0
6393@@ -306,50 +300,21 @@ func Getsockname(fd int) (sa Sockaddr, err error) {
6394 rsa.Addr.Family = AF_UNIX
6395 rsa.Addr.Len = SizeofSockaddrUnix
6396 }
6397- return anyToSockaddr(&rsa)
6398+ return anyToSockaddr(fd, &rsa)
6399 }
6400
6401 //sysnb socketpair(domain int, typ int, proto int, fd *[2]int32) (err error)
6402
6403-func GetsockoptByte(fd, level, opt int) (value byte, err error) {
6404- var n byte
6405- vallen := _Socklen(1)
6406- err = getsockopt(fd, level, opt, unsafe.Pointer(&n), &vallen)
6407- return n, err
6408-}
6409-
6410-func GetsockoptInet4Addr(fd, level, opt int) (value [4]byte, err error) {
6411- vallen := _Socklen(4)
6412- err = getsockopt(fd, level, opt, unsafe.Pointer(&value[0]), &vallen)
6413- return value, err
6414-}
6415-
6416-func GetsockoptIPMreq(fd, level, opt int) (*IPMreq, error) {
6417- var value IPMreq
6418- vallen := _Socklen(SizeofIPMreq)
6419- err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
6420- return &value, err
6421-}
6422-
6423-func GetsockoptIPv6Mreq(fd, level, opt int) (*IPv6Mreq, error) {
6424- var value IPv6Mreq
6425- vallen := _Socklen(SizeofIPv6Mreq)
6426- err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
6427- return &value, err
6428-}
6429-
6430-func GetsockoptIPv6MTUInfo(fd, level, opt int) (*IPv6MTUInfo, error) {
6431- var value IPv6MTUInfo
6432- vallen := _Socklen(SizeofIPv6MTUInfo)
6433- err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
6434- return &value, err
6435-}
6436-
6437-func GetsockoptICMPv6Filter(fd, level, opt int) (*ICMPv6Filter, error) {
6438- var value ICMPv6Filter
6439- vallen := _Socklen(SizeofICMPv6Filter)
6440- err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
6441- return &value, err
6442+// GetsockoptString returns the string value of the socket option opt for the
6443+// socket associated with fd at the given socket level.
6444+func GetsockoptString(fd, level, opt int) (string, error) {
6445+ buf := make([]byte, 256)
6446+ vallen := _Socklen(len(buf))
6447+ err := getsockopt(fd, level, opt, unsafe.Pointer(&buf[0]), &vallen)
6448+ if err != nil {
6449+ return "", err
6450+ }
6451+ return string(buf[:vallen-1]), nil
6452 }
6453
6454 //sys recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error)
6455@@ -385,7 +350,7 @@ func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from
6456 recvflags = int(msg.Flags)
6457 // source address is only specified if the socket is unconnected
6458 if rsa.Addr.Family != AF_UNSPEC {
6459- from, err = anyToSockaddr(&rsa)
6460+ from, err = anyToSockaddr(fd, &rsa)
6461 }
6462 return
6463 }
6464@@ -448,8 +413,6 @@ func Kevent(kq int, changes, events []Kevent_t, timeout *Timespec) (n int, err e
6465 return kevent(kq, change, len(changes), event, len(events), timeout)
6466 }
6467
6468-//sys sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS___SYSCTL
6469-
6470 // sysctlmib translates name to mib number and appends any additional args.
6471 func sysctlmib(name string, args ...int) ([]_C_int, error) {
6472 // Translate name to mib number.
6473@@ -547,6 +510,23 @@ func SysctlRaw(name string, args ...int) ([]byte, error) {
6474 return buf[:n], nil
6475 }
6476
6477+func SysctlClockinfo(name string) (*Clockinfo, error) {
6478+ mib, err := sysctlmib(name)
6479+ if err != nil {
6480+ return nil, err
6481+ }
6482+
6483+ n := uintptr(SizeofClockinfo)
6484+ var ci Clockinfo
6485+ if err := sysctl(mib, (*byte)(unsafe.Pointer(&ci)), &n, nil, 0); err != nil {
6486+ return nil, err
6487+ }
6488+ if n != SizeofClockinfo {
6489+ return nil, EIO
6490+ }
6491+ return &ci, nil
6492+}
6493+
6494 //sys utimes(path string, timeval *[2]Timeval) (err error)
6495
6496 func Utimes(path string, tv []Timeval) error {
6497@@ -570,7 +550,12 @@ func UtimesNano(path string, ts []Timespec) error {
6498 if len(ts) != 2 {
6499 return EINVAL
6500 }
6501- err := utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
6502+ // Darwin setattrlist can set nanosecond timestamps
6503+ err := setattrlistTimes(path, ts, 0)
6504+ if err != ENOSYS {
6505+ return err
6506+ }
6507+ err = utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
6508 if err != ENOSYS {
6509 return err
6510 }
6511@@ -590,6 +575,10 @@ func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error {
6512 if len(ts) != 2 {
6513 return EINVAL
6514 }
6515+ err := setattrlistTimes(path, ts, flags)
6516+ if err != ENOSYS {
6517+ return err
6518+ }
6519 return utimensat(dirfd, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), flags)
6520 }
6521
6522@@ -605,7 +594,14 @@ func Futimes(fd int, tv []Timeval) error {
6523 return futimes(fd, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
6524 }
6525
6526-//sys fcntl(fd int, cmd int, arg int) (val int, err error)
6527+//sys poll(fds *PollFd, nfds int, timeout int) (n int, err error)
6528+
6529+func Poll(fds []PollFd, timeout int) (n int, err error) {
6530+ if len(fds) == 0 {
6531+ return poll(nil, 0, timeout)
6532+ }
6533+ return poll(&fds[0], len(fds), timeout)
6534+}
6535
6536 // TODO: wrap
6537 // Acct(name nil-string) (err error)
6538diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin.1_12.go b/vendor/golang.org/x/sys/unix/syscall_darwin.1_12.go
6539new file mode 100644
6540index 00000000..6a15cba6
6541--- /dev/null
6542+++ b/vendor/golang.org/x/sys/unix/syscall_darwin.1_12.go
6543@@ -0,0 +1,29 @@
6544+// Copyright 2019 The Go Authors. All rights reserved.
6545+// Use of this source code is governed by a BSD-style
6546+// license that can be found in the LICENSE file.
6547+
6548+// +build darwin,go1.12,!go1.13
6549+
6550+package unix
6551+
6552+import (
6553+ "unsafe"
6554+)
6555+
6556+func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
6557+ // To implement this using libSystem we'd need syscall_syscallPtr for
6558+ // fdopendir. However, syscallPtr was only added in Go 1.13, so we fall
6559+ // back to raw syscalls for this func on Go 1.12.
6560+ var p unsafe.Pointer
6561+ if len(buf) > 0 {
6562+ p = unsafe.Pointer(&buf[0])
6563+ } else {
6564+ p = unsafe.Pointer(&_zero)
6565+ }
6566+ r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(p), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
6567+ n = int(r0)
6568+ if e1 != 0 {
6569+ return n, errnoErr(e1)
6570+ }
6571+ return n, nil
6572+}
6573diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin.1_13.go b/vendor/golang.org/x/sys/unix/syscall_darwin.1_13.go
6574new file mode 100644
6575index 00000000..f911617b
6576--- /dev/null
6577+++ b/vendor/golang.org/x/sys/unix/syscall_darwin.1_13.go
6578@@ -0,0 +1,101 @@
6579+// Copyright 2019 The Go Authors. All rights reserved.
6580+// Use of this source code is governed by a BSD-style
6581+// license that can be found in the LICENSE file.
6582+
6583+// +build darwin,go1.13
6584+
6585+package unix
6586+
6587+import "unsafe"
6588+
6589+//sys closedir(dir uintptr) (err error)
6590+//sys readdir_r(dir uintptr, entry *Dirent, result **Dirent) (res Errno)
6591+
6592+func fdopendir(fd int) (dir uintptr, err error) {
6593+ r0, _, e1 := syscall_syscallPtr(funcPC(libc_fdopendir_trampoline), uintptr(fd), 0, 0)
6594+ dir = uintptr(r0)
6595+ if e1 != 0 {
6596+ err = errnoErr(e1)
6597+ }
6598+ return
6599+}
6600+
6601+func libc_fdopendir_trampoline()
6602+
6603+//go:linkname libc_fdopendir libc_fdopendir
6604+//go:cgo_import_dynamic libc_fdopendir fdopendir "/usr/lib/libSystem.B.dylib"
6605+
6606+func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
6607+ // Simulate Getdirentries using fdopendir/readdir_r/closedir.
6608+ // We store the number of entries to skip in the seek
6609+ // offset of fd. See issue #31368.
6610+ // It's not the full required semantics, but should handle the case
6611+ // of calling Getdirentries or ReadDirent repeatedly.
6612+ // It won't handle assigning the results of lseek to *basep, or handle
6613+ // the directory being edited underfoot.
6614+ skip, err := Seek(fd, 0, 1 /* SEEK_CUR */)
6615+ if err != nil {
6616+ return 0, err
6617+ }
6618+
6619+ // We need to duplicate the incoming file descriptor
6620+ // because the caller expects to retain control of it, but
6621+ // fdopendir expects to take control of its argument.
6622+ // Just Dup'ing the file descriptor is not enough, as the
6623+ // result shares underlying state. Use Openat to make a really
6624+ // new file descriptor referring to the same directory.
6625+ fd2, err := Openat(fd, ".", O_RDONLY, 0)
6626+ if err != nil {
6627+ return 0, err
6628+ }
6629+ d, err := fdopendir(fd2)
6630+ if err != nil {
6631+ Close(fd2)
6632+ return 0, err
6633+ }
6634+ defer closedir(d)
6635+
6636+ var cnt int64
6637+ for {
6638+ var entry Dirent
6639+ var entryp *Dirent
6640+ e := readdir_r(d, &entry, &entryp)
6641+ if e != 0 {
6642+ return n, errnoErr(e)
6643+ }
6644+ if entryp == nil {
6645+ break
6646+ }
6647+ if skip > 0 {
6648+ skip--
6649+ cnt++
6650+ continue
6651+ }
6652+ reclen := int(entry.Reclen)
6653+ if reclen > len(buf) {
6654+ // Not enough room. Return for now.
6655+ // The counter will let us know where we should start up again.
6656+ // Note: this strategy for suspending in the middle and
6657+ // restarting is O(n^2) in the length of the directory. Oh well.
6658+ break
6659+ }
6660+ // Copy entry into return buffer.
6661+ s := struct {
6662+ ptr unsafe.Pointer
6663+ siz int
6664+ cap int
6665+ }{ptr: unsafe.Pointer(&entry), siz: reclen, cap: reclen}
6666+ copy(buf, *(*[]byte)(unsafe.Pointer(&s)))
6667+ buf = buf[reclen:]
6668+ n += reclen
6669+ cnt++
6670+ }
6671+ // Set the seek offset of the input fd to record
6672+ // how many files we've already returned.
6673+ _, err = Seek(fd, cnt, 0 /* SEEK_SET */)
6674+ if err != nil {
6675+ return n, err
6676+ }
6677+
6678+ return n, nil
6679+}
6680diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin.go b/vendor/golang.org/x/sys/unix/syscall_darwin.go
6681index ad74a11f..9a5a6ee5 100644
6682--- a/vendor/golang.org/x/sys/unix/syscall_darwin.go
6683+++ b/vendor/golang.org/x/sys/unix/syscall_darwin.go
6684@@ -13,7 +13,7 @@
6685 package unix
6686
6687 import (
6688- errorspkg "errors"
6689+ "errors"
6690 "syscall"
6691 "unsafe"
6692 )
6693@@ -36,6 +36,7 @@ func Getwd() (string, error) {
6694 return "", ENOTSUP
6695 }
6696
6697+// SockaddrDatalink implements the Sockaddr interface for AF_LINK type sockets.
6698 type SockaddrDatalink struct {
6699 Len uint8
6700 Family uint8
6701@@ -54,7 +55,7 @@ func nametomib(name string) (mib []_C_int, err error) {
6702
6703 // NOTE(rsc): It seems strange to set the buffer to have
6704 // size CTL_MAXNAME+2 but use only CTL_MAXNAME
6705- // as the size. I don't know why the +2 is here, but the
6706+ // as the size. I don't know why the +2 is here, but the
6707 // kernel uses +2 for its own implementation of this function.
6708 // I am scared that if we don't include the +2 here, the kernel
6709 // will silently write 2 words farther than we specify
6710@@ -88,7 +89,6 @@ func direntNamlen(buf []byte) (uint64, bool) {
6711 return readInt(buf, unsafe.Offsetof(Dirent{}.Namlen), unsafe.Sizeof(Dirent{}.Namlen))
6712 }
6713
6714-//sys ptrace(request int, pid int, addr uintptr, data uintptr) (err error)
6715 func PtraceAttach(pid int) (err error) { return ptrace(PT_ATTACH, pid, 0, 0) }
6716 func PtraceDetach(pid int) (err error) { return ptrace(PT_DETACH, pid, 0, 0) }
6717
6718@@ -109,7 +109,7 @@ type attrList struct {
6719
6720 func getAttrList(path string, attrList attrList, attrBuf []byte, options uint) (attrs [][]byte, err error) {
6721 if len(attrBuf) < 4 {
6722- return nil, errorspkg.New("attrBuf too small")
6723+ return nil, errors.New("attrBuf too small")
6724 }
6725 attrList.bitmapCount = attrBitMapCount
6726
6727@@ -119,17 +119,8 @@ func getAttrList(path string, attrList attrList, attrBuf []byte, options uint) (
6728 return nil, err
6729 }
6730
6731- _, _, e1 := Syscall6(
6732- SYS_GETATTRLIST,
6733- uintptr(unsafe.Pointer(_p0)),
6734- uintptr(unsafe.Pointer(&attrList)),
6735- uintptr(unsafe.Pointer(&attrBuf[0])),
6736- uintptr(len(attrBuf)),
6737- uintptr(options),
6738- 0,
6739- )
6740- if e1 != 0 {
6741- return nil, e1
6742+ if err := getattrlist(_p0, unsafe.Pointer(&attrList), unsafe.Pointer(&attrBuf[0]), uintptr(len(attrBuf)), int(options)); err != nil {
6743+ return nil, err
6744 }
6745 size := *(*uint32)(unsafe.Pointer(&attrBuf[0]))
6746
6747@@ -145,12 +136,12 @@ func getAttrList(path string, attrList attrList, attrBuf []byte, options uint) (
6748 for i := uint32(0); int(i) < len(dat); {
6749 header := dat[i:]
6750 if len(header) < 8 {
6751- return attrs, errorspkg.New("truncated attribute header")
6752+ return attrs, errors.New("truncated attribute header")
6753 }
6754 datOff := *(*int32)(unsafe.Pointer(&header[0]))
6755 attrLen := *(*uint32)(unsafe.Pointer(&header[4]))
6756 if datOff < 0 || uint32(datOff)+attrLen > uint32(len(dat)) {
6757- return attrs, errorspkg.New("truncated results; attrBuf too small")
6758+ return attrs, errors.New("truncated results; attrBuf too small")
6759 }
6760 end := uint32(datOff) + attrLen
6761 attrs = append(attrs, dat[datOff:end])
6762@@ -162,6 +153,8 @@ func getAttrList(path string, attrList attrList, attrBuf []byte, options uint) (
6763 return
6764 }
6765
6766+//sys getattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error)
6767+
6768 //sysnb pipe() (r int, w int, err error)
6769
6770 func Pipe(p []int) (err error) {
6771@@ -179,14 +172,141 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
6772 _p0 = unsafe.Pointer(&buf[0])
6773 bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf))
6774 }
6775- r0, _, e1 := Syscall(SYS_GETFSSTAT64, uintptr(_p0), bufsize, uintptr(flags))
6776- n = int(r0)
6777- if e1 != 0 {
6778- err = e1
6779+ return getfsstat(_p0, bufsize, flags)
6780+}
6781+
6782+func xattrPointer(dest []byte) *byte {
6783+ // It's only when dest is set to NULL that the OS X implementations of
6784+ // getxattr() and listxattr() return the current sizes of the named attributes.
6785+ // An empty byte array is not sufficient. To maintain the same behaviour as the
6786+ // linux implementation, we wrap around the system calls and pass in NULL when
6787+ // dest is empty.
6788+ var destp *byte
6789+ if len(dest) > 0 {
6790+ destp = &dest[0]
6791 }
6792- return
6793+ return destp
6794+}
6795+
6796+//sys getxattr(path string, attr string, dest *byte, size int, position uint32, options int) (sz int, err error)
6797+
6798+func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
6799+ return getxattr(path, attr, xattrPointer(dest), len(dest), 0, 0)
6800+}
6801+
6802+func Lgetxattr(link string, attr string, dest []byte) (sz int, err error) {
6803+ return getxattr(link, attr, xattrPointer(dest), len(dest), 0, XATTR_NOFOLLOW)
6804+}
6805+
6806+//sys fgetxattr(fd int, attr string, dest *byte, size int, position uint32, options int) (sz int, err error)
6807+
6808+func Fgetxattr(fd int, attr string, dest []byte) (sz int, err error) {
6809+ return fgetxattr(fd, attr, xattrPointer(dest), len(dest), 0, 0)
6810+}
6811+
6812+//sys setxattr(path string, attr string, data *byte, size int, position uint32, options int) (err error)
6813+
6814+func Setxattr(path string, attr string, data []byte, flags int) (err error) {
6815+ // The parameters for the OS X implementation vary slightly compared to the
6816+ // linux system call, specifically the position parameter:
6817+ //
6818+ // linux:
6819+ // int setxattr(
6820+ // const char *path,
6821+ // const char *name,
6822+ // const void *value,
6823+ // size_t size,
6824+ // int flags
6825+ // );
6826+ //
6827+ // darwin:
6828+ // int setxattr(
6829+ // const char *path,
6830+ // const char *name,
6831+ // void *value,
6832+ // size_t size,
6833+ // u_int32_t position,
6834+ // int options
6835+ // );
6836+ //
6837+ // position specifies the offset within the extended attribute. In the
6838+ // current implementation, only the resource fork extended attribute makes
6839+ // use of this argument. For all others, position is reserved. We simply
6840+ // default to setting it to zero.
6841+ return setxattr(path, attr, xattrPointer(data), len(data), 0, flags)
6842+}
6843+
6844+func Lsetxattr(link string, attr string, data []byte, flags int) (err error) {
6845+ return setxattr(link, attr, xattrPointer(data), len(data), 0, flags|XATTR_NOFOLLOW)
6846+}
6847+
6848+//sys fsetxattr(fd int, attr string, data *byte, size int, position uint32, options int) (err error)
6849+
6850+func Fsetxattr(fd int, attr string, data []byte, flags int) (err error) {
6851+ return fsetxattr(fd, attr, xattrPointer(data), len(data), 0, 0)
6852+}
6853+
6854+//sys removexattr(path string, attr string, options int) (err error)
6855+
6856+func Removexattr(path string, attr string) (err error) {
6857+ // We wrap around and explicitly zero out the options provided to the OS X
6858+ // implementation of removexattr, we do so for interoperability with the
6859+ // linux variant.
6860+ return removexattr(path, attr, 0)
6861+}
6862+
6863+func Lremovexattr(link string, attr string) (err error) {
6864+ return removexattr(link, attr, XATTR_NOFOLLOW)
6865+}
6866+
6867+//sys fremovexattr(fd int, attr string, options int) (err error)
6868+
6869+func Fremovexattr(fd int, attr string) (err error) {
6870+ return fremovexattr(fd, attr, 0)
6871+}
6872+
6873+//sys listxattr(path string, dest *byte, size int, options int) (sz int, err error)
6874+
6875+func Listxattr(path string, dest []byte) (sz int, err error) {
6876+ return listxattr(path, xattrPointer(dest), len(dest), 0)
6877 }
6878
6879+func Llistxattr(link string, dest []byte) (sz int, err error) {
6880+ return listxattr(link, xattrPointer(dest), len(dest), XATTR_NOFOLLOW)
6881+}
6882+
6883+//sys flistxattr(fd int, dest *byte, size int, options int) (sz int, err error)
6884+
6885+func Flistxattr(fd int, dest []byte) (sz int, err error) {
6886+ return flistxattr(fd, xattrPointer(dest), len(dest), 0)
6887+}
6888+
6889+func setattrlistTimes(path string, times []Timespec, flags int) error {
6890+ _p0, err := BytePtrFromString(path)
6891+ if err != nil {
6892+ return err
6893+ }
6894+
6895+ var attrList attrList
6896+ attrList.bitmapCount = ATTR_BIT_MAP_COUNT
6897+ attrList.CommonAttr = ATTR_CMN_MODTIME | ATTR_CMN_ACCTIME
6898+
6899+ // order is mtime, atime: the opposite of Chtimes
6900+ attributes := [2]Timespec{times[1], times[0]}
6901+ options := 0
6902+ if flags&AT_SYMLINK_NOFOLLOW != 0 {
6903+ options |= FSOPT_NOFOLLOW
6904+ }
6905+ return setattrlist(
6906+ _p0,
6907+ unsafe.Pointer(&attrList),
6908+ unsafe.Pointer(&attributes),
6909+ unsafe.Sizeof(attributes),
6910+ options)
6911+}
6912+
6913+//sys setattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error)
6914+
6915 func utimensat(dirfd int, path string, times *[2]Timespec, flags int) error {
6916 // Darwin doesn't support SYS_UTIMENSAT
6917 return ENOSYS
6918@@ -196,49 +316,74 @@ func utimensat(dirfd int, path string, times *[2]Timespec, flags int) error {
6919 * Wrapped
6920 */
6921
6922+//sys fcntl(fd int, cmd int, arg int) (val int, err error)
6923+
6924 //sys kill(pid int, signum int, posix int) (err error)
6925
6926 func Kill(pid int, signum syscall.Signal) (err error) { return kill(pid, int(signum), 1) }
6927
6928 //sys ioctl(fd int, req uint, arg uintptr) (err error)
6929
6930-// ioctl itself should not be exposed directly, but additional get/set
6931-// functions for specific types are permissible.
6932+//sys sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS_SYSCTL
6933
6934-// IoctlSetInt performs an ioctl operation which sets an integer value
6935-// on fd, using the specified request number.
6936-func IoctlSetInt(fd int, req uint, value int) error {
6937- return ioctl(fd, req, uintptr(value))
6938-}
6939+func Uname(uname *Utsname) error {
6940+ mib := []_C_int{CTL_KERN, KERN_OSTYPE}
6941+ n := unsafe.Sizeof(uname.Sysname)
6942+ if err := sysctl(mib, &uname.Sysname[0], &n, nil, 0); err != nil {
6943+ return err
6944+ }
6945
6946-func IoctlSetWinsize(fd int, req uint, value *Winsize) error {
6947- return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
6948-}
6949+ mib = []_C_int{CTL_KERN, KERN_HOSTNAME}
6950+ n = unsafe.Sizeof(uname.Nodename)
6951+ if err := sysctl(mib, &uname.Nodename[0], &n, nil, 0); err != nil {
6952+ return err
6953+ }
6954
6955-func IoctlSetTermios(fd int, req uint, value *Termios) error {
6956- return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
6957-}
6958+ mib = []_C_int{CTL_KERN, KERN_OSRELEASE}
6959+ n = unsafe.Sizeof(uname.Release)
6960+ if err := sysctl(mib, &uname.Release[0], &n, nil, 0); err != nil {
6961+ return err
6962+ }
6963
6964-// IoctlGetInt performs an ioctl operation which gets an integer value
6965-// from fd, using the specified request number.
6966-func IoctlGetInt(fd int, req uint) (int, error) {
6967- var value int
6968- err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
6969- return value, err
6970-}
6971+ mib = []_C_int{CTL_KERN, KERN_VERSION}
6972+ n = unsafe.Sizeof(uname.Version)
6973+ if err := sysctl(mib, &uname.Version[0], &n, nil, 0); err != nil {
6974+ return err
6975+ }
6976
6977-func IoctlGetWinsize(fd int, req uint) (*Winsize, error) {
6978- var value Winsize
6979- err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
6980- return &value, err
6981+ // The version might have newlines or tabs in it, convert them to
6982+ // spaces.
6983+ for i, b := range uname.Version {
6984+ if b == '\n' || b == '\t' {
6985+ if i == len(uname.Version)-1 {
6986+ uname.Version[i] = 0
6987+ } else {
6988+ uname.Version[i] = ' '
6989+ }
6990+ }
6991+ }
6992+
6993+ mib = []_C_int{CTL_HW, HW_MACHINE}
6994+ n = unsafe.Sizeof(uname.Machine)
6995+ if err := sysctl(mib, &uname.Machine[0], &n, nil, 0); err != nil {
6996+ return err
6997+ }
6998+
6999+ return nil
7000 }
7001
7002-func IoctlGetTermios(fd int, req uint) (*Termios, error) {
7003- var value Termios
7004- err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
7005- return &value, err
7006+func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
7007+ if raceenabled {
7008+ raceReleaseMerge(unsafe.Pointer(&ioSync))
7009+ }
7010+ var length = int64(count)
7011+ err = sendfile(infd, outfd, *offset, &length, nil, 0)
7012+ written = int(length)
7013+ return
7014 }
7015
7016+//sys sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error)
7017+
7018 /*
7019 * Exposed directly
7020 */
7021@@ -249,6 +394,7 @@ func IoctlGetTermios(fd int, req uint) (*Termios, error) {
7022 //sys Chmod(path string, mode uint32) (err error)
7023 //sys Chown(path string, uid int, gid int) (err error)
7024 //sys Chroot(path string) (err error)
7025+//sys ClockGettime(clockid int32, time *Timespec) (err error)
7026 //sys Close(fd int) (err error)
7027 //sys Dup(fd int) (nfd int, err error)
7028 //sys Dup2(from int, to int) (err error)
7029@@ -263,11 +409,8 @@ func IoctlGetTermios(fd int, req uint) (*Termios, error) {
7030 //sys Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error)
7031 //sys Flock(fd int, how int) (err error)
7032 //sys Fpathconf(fd int, name int) (val int, err error)
7033-//sys Fstat(fd int, stat *Stat_t) (err error) = SYS_FSTAT64
7034-//sys Fstatfs(fd int, stat *Statfs_t) (err error) = SYS_FSTATFS64
7035 //sys Fsync(fd int) (err error)
7036 //sys Ftruncate(fd int, length int64) (err error)
7037-//sys Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) = SYS_GETDIRENTRIES64
7038 //sys Getdtablesize() (size int)
7039 //sysnb Getegid() (egid int)
7040 //sysnb Geteuid() (uid int)
7041@@ -287,7 +430,6 @@ func IoctlGetTermios(fd int, req uint) (*Termios, error) {
7042 //sys Link(path string, link string) (err error)
7043 //sys Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error)
7044 //sys Listen(s int, backlog int) (err error)
7045-//sys Lstat(path string, stat *Stat_t) (err error) = SYS_LSTAT64
7046 //sys Mkdir(path string, mode uint32) (err error)
7047 //sys Mkdirat(dirfd int, path string, mode uint32) (err error)
7048 //sys Mkfifo(path string, mode uint32) (err error)
7049@@ -305,7 +447,7 @@ func IoctlGetTermios(fd int, req uint) (*Termios, error) {
7050 //sys Revoke(path string) (err error)
7051 //sys Rmdir(path string) (err error)
7052 //sys Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
7053-//sys Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
7054+//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
7055 //sys Setegid(egid int) (err error)
7056 //sysnb Seteuid(euid int) (err error)
7057 //sysnb Setgid(gid int) (err error)
7058@@ -319,8 +461,6 @@ func IoctlGetTermios(fd int, req uint) (*Termios, error) {
7059 //sysnb Setsid() (pid int, err error)
7060 //sysnb Settimeofday(tp *Timeval) (err error)
7061 //sysnb Setuid(uid int) (err error)
7062-//sys Stat(path string, stat *Stat_t) (err error) = SYS_STAT64
7063-//sys Statfs(path string, stat *Statfs_t) (err error) = SYS_STATFS64
7064 //sys Symlink(path string, link string) (err error)
7065 //sys Symlinkat(oldpath string, newdirfd int, newpath string) (err error)
7066 //sys Sync() (err error)
7067@@ -377,18 +517,9 @@ func IoctlGetTermios(fd int, req uint) (*Termios, error) {
7068 // Searchfs
7069 // Delete
7070 // Copyfile
7071-// Poll
7072 // Watchevent
7073 // Waitevent
7074 // Modwatch
7075-// Getxattr
7076-// Fgetxattr
7077-// Setxattr
7078-// Fsetxattr
7079-// Removexattr
7080-// Fremovexattr
7081-// Listxattr
7082-// Flistxattr
7083 // Fsctl
7084 // Initgroups
7085 // Posix_spawn
7086diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin_386.1_11.go b/vendor/golang.org/x/sys/unix/syscall_darwin_386.1_11.go
7087new file mode 100644
7088index 00000000..6b223f91
7089--- /dev/null
7090+++ b/vendor/golang.org/x/sys/unix/syscall_darwin_386.1_11.go
7091@@ -0,0 +1,9 @@
7092+// Copyright 2019 The Go Authors. All rights reserved.
7093+// Use of this source code is governed by a BSD-style
7094+// license that can be found in the LICENSE file.
7095+
7096+// +build darwin,386,!go1.12
7097+
7098+package unix
7099+
7100+//sys Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) = SYS_GETDIRENTRIES64
7101diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin_386.go b/vendor/golang.org/x/sys/unix/syscall_darwin_386.go
7102index c172a3da..707ba4f5 100644
7103--- a/vendor/golang.org/x/sys/unix/syscall_darwin_386.go
7104+++ b/vendor/golang.org/x/sys/unix/syscall_darwin_386.go
7105@@ -8,30 +8,22 @@ package unix
7106
7107 import (
7108 "syscall"
7109- "unsafe"
7110 )
7111
7112-func Getpagesize() int { return 4096 }
7113+//sys ptrace(request int, pid int, addr uintptr, data uintptr) (err error)
7114
7115-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
7116-
7117-func NsecToTimespec(nsec int64) (ts Timespec) {
7118- ts.Sec = int32(nsec / 1e9)
7119- ts.Nsec = int32(nsec % 1e9)
7120- return
7121+func setTimespec(sec, nsec int64) Timespec {
7122+ return Timespec{Sec: int32(sec), Nsec: int32(nsec)}
7123 }
7124
7125-func NsecToTimeval(nsec int64) (tv Timeval) {
7126- nsec += 999 // round up to microsecond
7127- tv.Usec = int32(nsec % 1e9 / 1e3)
7128- tv.Sec = int32(nsec / 1e9)
7129- return
7130+func setTimeval(sec, usec int64) Timeval {
7131+ return Timeval{Sec: int32(sec), Usec: int32(usec)}
7132 }
7133
7134 //sysnb gettimeofday(tp *Timeval) (sec int32, usec int32, err error)
7135 func Gettimeofday(tv *Timeval) (err error) {
7136 // The tv passed to gettimeofday must be non-nil
7137- // but is otherwise unused. The answers come back
7138+ // but is otherwise unused. The answers come back
7139 // in the two registers.
7140 sec, usec, err := gettimeofday(tv)
7141 tv.Sec = int32(sec)
7142@@ -53,21 +45,12 @@ func (msghdr *Msghdr) SetControllen(length int) {
7143 msghdr.Controllen = uint32(length)
7144 }
7145
7146-func (cmsg *Cmsghdr) SetLen(length int) {
7147- cmsg.Len = uint32(length)
7148+func (msghdr *Msghdr) SetIovlen(length int) {
7149+ msghdr.Iovlen = int32(length)
7150 }
7151
7152-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
7153- var length = uint64(count)
7154-
7155- _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(*offset>>32), uintptr(unsafe.Pointer(&length)), 0, 0, 0, 0)
7156-
7157- written = int(length)
7158-
7159- if e1 != 0 {
7160- err = e1
7161- }
7162- return
7163+func (cmsg *Cmsghdr) SetLen(length int) {
7164+ cmsg.Len = uint32(length)
7165 }
7166
7167 func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
7168@@ -75,3 +58,11 @@ func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr,
7169 // SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
7170 // of darwin/386 the syscall is called sysctl instead of __sysctl.
7171 const SYS___SYSCTL = SYS_SYSCTL
7172+
7173+//sys Fstat(fd int, stat *Stat_t) (err error) = SYS_FSTAT64
7174+//sys Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) = SYS_FSTATAT64
7175+//sys Fstatfs(fd int, stat *Statfs_t) (err error) = SYS_FSTATFS64
7176+//sys getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) = SYS_GETFSSTAT64
7177+//sys Lstat(path string, stat *Stat_t) (err error) = SYS_LSTAT64
7178+//sys Stat(path string, stat *Stat_t) (err error) = SYS_STAT64
7179+//sys Statfs(path string, stat *Statfs_t) (err error) = SYS_STATFS64
7180diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.1_11.go b/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.1_11.go
7181new file mode 100644
7182index 00000000..68ebd6fa
7183--- /dev/null
7184+++ b/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.1_11.go
7185@@ -0,0 +1,9 @@
7186+// Copyright 2019 The Go Authors. All rights reserved.
7187+// Use of this source code is governed by a BSD-style
7188+// license that can be found in the LICENSE file.
7189+
7190+// +build darwin,amd64,!go1.12
7191+
7192+package unix
7193+
7194+//sys Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) = SYS_GETDIRENTRIES64
7195diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go b/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go
7196index c6c99c13..fdbfb591 100644
7197--- a/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go
7198+++ b/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go
7199@@ -8,30 +8,22 @@ package unix
7200
7201 import (
7202 "syscall"
7203- "unsafe"
7204 )
7205
7206-func Getpagesize() int { return 4096 }
7207+//sys ptrace(request int, pid int, addr uintptr, data uintptr) (err error)
7208
7209-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
7210-
7211-func NsecToTimespec(nsec int64) (ts Timespec) {
7212- ts.Sec = nsec / 1e9
7213- ts.Nsec = nsec % 1e9
7214- return
7215+func setTimespec(sec, nsec int64) Timespec {
7216+ return Timespec{Sec: sec, Nsec: nsec}
7217 }
7218
7219-func NsecToTimeval(nsec int64) (tv Timeval) {
7220- nsec += 999 // round up to microsecond
7221- tv.Usec = int32(nsec % 1e9 / 1e3)
7222- tv.Sec = int64(nsec / 1e9)
7223- return
7224+func setTimeval(sec, usec int64) Timeval {
7225+ return Timeval{Sec: sec, Usec: int32(usec)}
7226 }
7227
7228 //sysnb gettimeofday(tp *Timeval) (sec int64, usec int32, err error)
7229 func Gettimeofday(tv *Timeval) (err error) {
7230 // The tv passed to gettimeofday must be non-nil
7231- // but is otherwise unused. The answers come back
7232+ // but is otherwise unused. The answers come back
7233 // in the two registers.
7234 sec, usec, err := gettimeofday(tv)
7235 tv.Sec = sec
7236@@ -53,21 +45,12 @@ func (msghdr *Msghdr) SetControllen(length int) {
7237 msghdr.Controllen = uint32(length)
7238 }
7239
7240-func (cmsg *Cmsghdr) SetLen(length int) {
7241- cmsg.Len = uint32(length)
7242+func (msghdr *Msghdr) SetIovlen(length int) {
7243+ msghdr.Iovlen = int32(length)
7244 }
7245
7246-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
7247- var length = uint64(count)
7248-
7249- _, _, e1 := Syscall6(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(unsafe.Pointer(&length)), 0, 0)
7250-
7251- written = int(length)
7252-
7253- if e1 != 0 {
7254- err = e1
7255- }
7256- return
7257+func (cmsg *Cmsghdr) SetLen(length int) {
7258+ cmsg.Len = uint32(length)
7259 }
7260
7261 func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
7262@@ -75,3 +58,11 @@ func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr,
7263 // SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
7264 // of darwin/amd64 the syscall is called sysctl instead of __sysctl.
7265 const SYS___SYSCTL = SYS_SYSCTL
7266+
7267+//sys Fstat(fd int, stat *Stat_t) (err error) = SYS_FSTAT64
7268+//sys Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) = SYS_FSTATAT64
7269+//sys Fstatfs(fd int, stat *Statfs_t) (err error) = SYS_FSTATFS64
7270+//sys getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) = SYS_GETFSSTAT64
7271+//sys Lstat(path string, stat *Stat_t) (err error) = SYS_LSTAT64
7272+//sys Stat(path string, stat *Stat_t) (err error) = SYS_STAT64
7273+//sys Statfs(path string, stat *Statfs_t) (err error) = SYS_STATFS64
7274diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin_arm.1_11.go b/vendor/golang.org/x/sys/unix/syscall_darwin_arm.1_11.go
7275new file mode 100644
7276index 00000000..0e3f25ac
7277--- /dev/null
7278+++ b/vendor/golang.org/x/sys/unix/syscall_darwin_arm.1_11.go
7279@@ -0,0 +1,11 @@
7280+// Copyright 2019 The Go Authors. All rights reserved.
7281+// Use of this source code is governed by a BSD-style
7282+// license that can be found in the LICENSE file.
7283+
7284+// +build darwin,arm,!go1.12
7285+
7286+package unix
7287+
7288+func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
7289+ return 0, ENOSYS
7290+}
7291diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin_arm.go b/vendor/golang.org/x/sys/unix/syscall_darwin_arm.go
7292index d286cf40..f8bc4cfb 100644
7293--- a/vendor/golang.org/x/sys/unix/syscall_darwin_arm.go
7294+++ b/vendor/golang.org/x/sys/unix/syscall_darwin_arm.go
7295@@ -6,30 +6,24 @@ package unix
7296
7297 import (
7298 "syscall"
7299- "unsafe"
7300 )
7301
7302-func Getpagesize() int { return 4096 }
7303-
7304-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
7305+func ptrace(request int, pid int, addr uintptr, data uintptr) error {
7306+ return ENOTSUP
7307+}
7308
7309-func NsecToTimespec(nsec int64) (ts Timespec) {
7310- ts.Sec = int32(nsec / 1e9)
7311- ts.Nsec = int32(nsec % 1e9)
7312- return
7313+func setTimespec(sec, nsec int64) Timespec {
7314+ return Timespec{Sec: int32(sec), Nsec: int32(nsec)}
7315 }
7316
7317-func NsecToTimeval(nsec int64) (tv Timeval) {
7318- nsec += 999 // round up to microsecond
7319- tv.Usec = int32(nsec % 1e9 / 1e3)
7320- tv.Sec = int32(nsec / 1e9)
7321- return
7322+func setTimeval(sec, usec int64) Timeval {
7323+ return Timeval{Sec: int32(sec), Usec: int32(usec)}
7324 }
7325
7326 //sysnb gettimeofday(tp *Timeval) (sec int32, usec int32, err error)
7327 func Gettimeofday(tv *Timeval) (err error) {
7328 // The tv passed to gettimeofday must be non-nil
7329- // but is otherwise unused. The answers come back
7330+ // but is otherwise unused. The answers come back
7331 // in the two registers.
7332 sec, usec, err := gettimeofday(tv)
7333 tv.Sec = int32(sec)
7334@@ -51,21 +45,24 @@ func (msghdr *Msghdr) SetControllen(length int) {
7335 msghdr.Controllen = uint32(length)
7336 }
7337
7338-func (cmsg *Cmsghdr) SetLen(length int) {
7339- cmsg.Len = uint32(length)
7340+func (msghdr *Msghdr) SetIovlen(length int) {
7341+ msghdr.Iovlen = int32(length)
7342 }
7343
7344-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
7345- var length = uint64(count)
7346-
7347- _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(*offset>>32), uintptr(unsafe.Pointer(&length)), 0, 0, 0, 0)
7348-
7349- written = int(length)
7350-
7351- if e1 != 0 {
7352- err = e1
7353- }
7354- return
7355+func (cmsg *Cmsghdr) SetLen(length int) {
7356+ cmsg.Len = uint32(length)
7357 }
7358
7359 func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno) // sic
7360+
7361+// SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
7362+// of darwin/arm the syscall is called sysctl instead of __sysctl.
7363+const SYS___SYSCTL = SYS_SYSCTL
7364+
7365+//sys Fstat(fd int, stat *Stat_t) (err error)
7366+//sys Fstatat(fd int, path string, stat *Stat_t, flags int) (err error)
7367+//sys Fstatfs(fd int, stat *Statfs_t) (err error)
7368+//sys getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) = SYS_GETFSSTAT
7369+//sys Lstat(path string, stat *Stat_t) (err error)
7370+//sys Stat(path string, stat *Stat_t) (err error)
7371+//sys Statfs(path string, stat *Statfs_t) (err error)
7372diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.1_11.go b/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.1_11.go
7373new file mode 100644
7374index 00000000..01d45040
7375--- /dev/null
7376+++ b/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.1_11.go
7377@@ -0,0 +1,11 @@
7378+// Copyright 2019 The Go Authors. All rights reserved.
7379+// Use of this source code is governed by a BSD-style
7380+// license that can be found in the LICENSE file.
7381+
7382+// +build darwin,arm64,!go1.12
7383+
7384+package unix
7385+
7386+func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
7387+ return 0, ENOSYS
7388+}
7389diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go b/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go
7390index c33905cd..5ede3ac3 100644
7391--- a/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go
7392+++ b/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go
7393@@ -8,30 +8,24 @@ package unix
7394
7395 import (
7396 "syscall"
7397- "unsafe"
7398 )
7399
7400-func Getpagesize() int { return 16384 }
7401-
7402-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
7403+func ptrace(request int, pid int, addr uintptr, data uintptr) error {
7404+ return ENOTSUP
7405+}
7406
7407-func NsecToTimespec(nsec int64) (ts Timespec) {
7408- ts.Sec = nsec / 1e9
7409- ts.Nsec = nsec % 1e9
7410- return
7411+func setTimespec(sec, nsec int64) Timespec {
7412+ return Timespec{Sec: sec, Nsec: nsec}
7413 }
7414
7415-func NsecToTimeval(nsec int64) (tv Timeval) {
7416- nsec += 999 // round up to microsecond
7417- tv.Usec = int32(nsec % 1e9 / 1e3)
7418- tv.Sec = int64(nsec / 1e9)
7419- return
7420+func setTimeval(sec, usec int64) Timeval {
7421+ return Timeval{Sec: sec, Usec: int32(usec)}
7422 }
7423
7424 //sysnb gettimeofday(tp *Timeval) (sec int64, usec int32, err error)
7425 func Gettimeofday(tv *Timeval) (err error) {
7426 // The tv passed to gettimeofday must be non-nil
7427- // but is otherwise unused. The answers come back
7428+ // but is otherwise unused. The answers come back
7429 // in the two registers.
7430 sec, usec, err := gettimeofday(tv)
7431 tv.Sec = sec
7432@@ -53,21 +47,12 @@ func (msghdr *Msghdr) SetControllen(length int) {
7433 msghdr.Controllen = uint32(length)
7434 }
7435
7436-func (cmsg *Cmsghdr) SetLen(length int) {
7437- cmsg.Len = uint32(length)
7438+func (msghdr *Msghdr) SetIovlen(length int) {
7439+ msghdr.Iovlen = int32(length)
7440 }
7441
7442-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
7443- var length = uint64(count)
7444-
7445- _, _, e1 := Syscall6(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(unsafe.Pointer(&length)), 0, 0)
7446-
7447- written = int(length)
7448-
7449- if e1 != 0 {
7450- err = e1
7451- }
7452- return
7453+func (cmsg *Cmsghdr) SetLen(length int) {
7454+ cmsg.Len = uint32(length)
7455 }
7456
7457 func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno) // sic
7458@@ -75,3 +60,11 @@ func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr,
7459 // SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
7460 // of darwin/arm64 the syscall is called sysctl instead of __sysctl.
7461 const SYS___SYSCTL = SYS_SYSCTL
7462+
7463+//sys Fstat(fd int, stat *Stat_t) (err error)
7464+//sys Fstatat(fd int, path string, stat *Stat_t, flags int) (err error)
7465+//sys Fstatfs(fd int, stat *Statfs_t) (err error)
7466+//sys getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) = SYS_GETFSSTAT
7467+//sys Lstat(path string, stat *Stat_t) (err error)
7468+//sys Stat(path string, stat *Stat_t) (err error)
7469+//sys Statfs(path string, stat *Statfs_t) (err error)
7470diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin_libSystem.go b/vendor/golang.org/x/sys/unix/syscall_darwin_libSystem.go
7471new file mode 100644
7472index 00000000..f34c86c8
7473--- /dev/null
7474+++ b/vendor/golang.org/x/sys/unix/syscall_darwin_libSystem.go
7475@@ -0,0 +1,33 @@
7476+// Copyright 2018 The Go Authors. All rights reserved.
7477+// Use of this source code is governed by a BSD-style
7478+// license that can be found in the LICENSE file.
7479+
7480+// +build darwin,go1.12
7481+
7482+package unix
7483+
7484+import "unsafe"
7485+
7486+// Implemented in the runtime package (runtime/sys_darwin.go)
7487+func syscall_syscall(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
7488+func syscall_syscall6(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
7489+func syscall_syscall6X(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
7490+func syscall_syscall9(fn, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err Errno) // 32-bit only
7491+func syscall_rawSyscall(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
7492+func syscall_rawSyscall6(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
7493+func syscall_syscallPtr(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
7494+
7495+//go:linkname syscall_syscall syscall.syscall
7496+//go:linkname syscall_syscall6 syscall.syscall6
7497+//go:linkname syscall_syscall6X syscall.syscall6X
7498+//go:linkname syscall_syscall9 syscall.syscall9
7499+//go:linkname syscall_rawSyscall syscall.rawSyscall
7500+//go:linkname syscall_rawSyscall6 syscall.rawSyscall6
7501+//go:linkname syscall_syscallPtr syscall.syscallPtr
7502+
7503+// Find the entry point for f. See comments in runtime/proc.go for the
7504+// function of the same name.
7505+//go:nosplit
7506+func funcPC(f func()) uintptr {
7507+ return **(**uintptr)(unsafe.Pointer(&f))
7508+}
7509diff --git a/vendor/golang.org/x/sys/unix/syscall_dragonfly.go b/vendor/golang.org/x/sys/unix/syscall_dragonfly.go
7510index 3a483373..8a195ae5 100644
7511--- a/vendor/golang.org/x/sys/unix/syscall_dragonfly.go
7512+++ b/vendor/golang.org/x/sys/unix/syscall_dragonfly.go
7513@@ -12,8 +12,27 @@
7514
7515 package unix
7516
7517-import "unsafe"
7518+import (
7519+ "sync"
7520+ "unsafe"
7521+)
7522
7523+// See version list in https://github.com/DragonFlyBSD/DragonFlyBSD/blob/master/sys/sys/param.h
7524+var (
7525+ osreldateOnce sync.Once
7526+ osreldate uint32
7527+)
7528+
7529+// First __DragonFly_version after September 2019 ABI changes
7530+// http://lists.dragonflybsd.org/pipermail/users/2019-September/358280.html
7531+const _dragonflyABIChangeVersion = 500705
7532+
7533+func supportsABI(ver uint32) bool {
7534+ osreldateOnce.Do(func() { osreldate, _ = SysctlUint32("kern.osreldate") })
7535+ return osreldate >= ver
7536+}
7537+
7538+// SockaddrDatalink implements the Sockaddr interface for AF_LINK type sockets.
7539 type SockaddrDatalink struct {
7540 Len uint8
7541 Family uint8
7542@@ -102,7 +121,7 @@ func Accept4(fd, flags int) (nfd int, sa Sockaddr, err error) {
7543 if len > SizeofSockaddrAny {
7544 panic("RawSockaddrAny too small")
7545 }
7546- sa, err = anyToSockaddr(&rsa)
7547+ sa, err = anyToSockaddr(fd, &rsa)
7548 if err != nil {
7549 Close(nfd)
7550 nfd = 0
7551@@ -110,6 +129,23 @@ func Accept4(fd, flags int) (nfd int, sa Sockaddr, err error) {
7552 return
7553 }
7554
7555+const ImplementsGetwd = true
7556+
7557+//sys Getcwd(buf []byte) (n int, err error) = SYS___GETCWD
7558+
7559+func Getwd() (string, error) {
7560+ var buf [PathMax]byte
7561+ _, err := Getcwd(buf[0:])
7562+ if err != nil {
7563+ return "", err
7564+ }
7565+ n := clen(buf[:])
7566+ if n < 1 {
7567+ return "", EINVAL
7568+ }
7569+ return string(buf[:n]), nil
7570+}
7571+
7572 func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
7573 var _p0 unsafe.Pointer
7574 var bufsize uintptr
7575@@ -125,6 +161,85 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
7576 return
7577 }
7578
7579+func setattrlistTimes(path string, times []Timespec, flags int) error {
7580+ // used on Darwin for UtimesNano
7581+ return ENOSYS
7582+}
7583+
7584+//sys ioctl(fd int, req uint, arg uintptr) (err error)
7585+
7586+//sys sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS___SYSCTL
7587+
7588+func sysctlUname(mib []_C_int, old *byte, oldlen *uintptr) error {
7589+ err := sysctl(mib, old, oldlen, nil, 0)
7590+ if err != nil {
7591+ // Utsname members on Dragonfly are only 32 bytes and
7592+ // the syscall returns ENOMEM in case the actual value
7593+ // is longer.
7594+ if err == ENOMEM {
7595+ err = nil
7596+ }
7597+ }
7598+ return err
7599+}
7600+
7601+func Uname(uname *Utsname) error {
7602+ mib := []_C_int{CTL_KERN, KERN_OSTYPE}
7603+ n := unsafe.Sizeof(uname.Sysname)
7604+ if err := sysctlUname(mib, &uname.Sysname[0], &n); err != nil {
7605+ return err
7606+ }
7607+ uname.Sysname[unsafe.Sizeof(uname.Sysname)-1] = 0
7608+
7609+ mib = []_C_int{CTL_KERN, KERN_HOSTNAME}
7610+ n = unsafe.Sizeof(uname.Nodename)
7611+ if err := sysctlUname(mib, &uname.Nodename[0], &n); err != nil {
7612+ return err
7613+ }
7614+ uname.Nodename[unsafe.Sizeof(uname.Nodename)-1] = 0
7615+
7616+ mib = []_C_int{CTL_KERN, KERN_OSRELEASE}
7617+ n = unsafe.Sizeof(uname.Release)
7618+ if err := sysctlUname(mib, &uname.Release[0], &n); err != nil {
7619+ return err
7620+ }
7621+ uname.Release[unsafe.Sizeof(uname.Release)-1] = 0
7622+
7623+ mib = []_C_int{CTL_KERN, KERN_VERSION}
7624+ n = unsafe.Sizeof(uname.Version)
7625+ if err := sysctlUname(mib, &uname.Version[0], &n); err != nil {
7626+ return err
7627+ }
7628+
7629+ // The version might have newlines or tabs in it, convert them to
7630+ // spaces.
7631+ for i, b := range uname.Version {
7632+ if b == '\n' || b == '\t' {
7633+ if i == len(uname.Version)-1 {
7634+ uname.Version[i] = 0
7635+ } else {
7636+ uname.Version[i] = ' '
7637+ }
7638+ }
7639+ }
7640+
7641+ mib = []_C_int{CTL_HW, HW_MACHINE}
7642+ n = unsafe.Sizeof(uname.Machine)
7643+ if err := sysctlUname(mib, &uname.Machine[0], &n); err != nil {
7644+ return err
7645+ }
7646+ uname.Machine[unsafe.Sizeof(uname.Machine)-1] = 0
7647+
7648+ return nil
7649+}
7650+
7651+func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
7652+ if raceenabled {
7653+ raceReleaseMerge(unsafe.Pointer(&ioSync))
7654+ }
7655+ return sendfile(outfd, infd, offset, count)
7656+}
7657+
7658 /*
7659 * Exposed directly
7660 */
7661@@ -139,16 +254,21 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
7662 //sys Dup(fd int) (nfd int, err error)
7663 //sys Dup2(from int, to int) (err error)
7664 //sys Exit(code int)
7665+//sys Faccessat(dirfd int, path string, mode uint32, flags int) (err error)
7666 //sys Fchdir(fd int) (err error)
7667 //sys Fchflags(fd int, flags int) (err error)
7668 //sys Fchmod(fd int, mode uint32) (err error)
7669+//sys Fchmodat(dirfd int, path string, mode uint32, flags int) (err error)
7670 //sys Fchown(fd int, uid int, gid int) (err error)
7671+//sys Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error)
7672 //sys Flock(fd int, how int) (err error)
7673 //sys Fpathconf(fd int, name int) (val int, err error)
7674 //sys Fstat(fd int, stat *Stat_t) (err error)
7675+//sys Fstatat(fd int, path string, stat *Stat_t, flags int) (err error)
7676 //sys Fstatfs(fd int, stat *Statfs_t) (err error)
7677 //sys Fsync(fd int) (err error)
7678 //sys Ftruncate(fd int, length int64) (err error)
7679+//sys Getdents(fd int, buf []byte) (n int, err error)
7680 //sys Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error)
7681 //sys Getdtablesize() (size int)
7682 //sysnb Getegid() (egid int)
7683@@ -169,21 +289,26 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
7684 //sys Kqueue() (fd int, err error)
7685 //sys Lchown(path string, uid int, gid int) (err error)
7686 //sys Link(path string, link string) (err error)
7687+//sys Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error)
7688 //sys Listen(s int, backlog int) (err error)
7689 //sys Lstat(path string, stat *Stat_t) (err error)
7690 //sys Mkdir(path string, mode uint32) (err error)
7691+//sys Mkdirat(dirfd int, path string, mode uint32) (err error)
7692 //sys Mkfifo(path string, mode uint32) (err error)
7693 //sys Mknod(path string, mode uint32, dev int) (err error)
7694+//sys Mknodat(fd int, path string, mode uint32, dev int) (err error)
7695 //sys Nanosleep(time *Timespec, leftover *Timespec) (err error)
7696 //sys Open(path string, mode int, perm uint32) (fd int, err error)
7697+//sys Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error)
7698 //sys Pathconf(path string, name int) (val int, err error)
7699 //sys read(fd int, p []byte) (n int, err error)
7700 //sys Readlink(path string, buf []byte) (n int, err error)
7701 //sys Rename(from string, to string) (err error)
7702+//sys Renameat(fromfd int, from string, tofd int, to string) (err error)
7703 //sys Revoke(path string) (err error)
7704 //sys Rmdir(path string) (err error)
7705 //sys Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
7706-//sys Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
7707+//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
7708 //sysnb Setegid(egid int) (err error)
7709 //sysnb Seteuid(euid int) (err error)
7710 //sysnb Setgid(gid int) (err error)
7711@@ -201,11 +326,13 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
7712 //sys Stat(path string, stat *Stat_t) (err error)
7713 //sys Statfs(path string, stat *Statfs_t) (err error)
7714 //sys Symlink(path string, link string) (err error)
7715+//sys Symlinkat(oldpath string, newdirfd int, newpath string) (err error)
7716 //sys Sync() (err error)
7717 //sys Truncate(path string, length int64) (err error)
7718 //sys Umask(newmask int) (oldmask int)
7719 //sys Undelete(path string) (err error)
7720 //sys Unlink(path string) (err error)
7721+//sys Unlinkat(dirfd int, path string, flags int) (err error)
7722 //sys Unmount(path string, flags int) (err error)
7723 //sys write(fd int, p []byte) (n int, err error)
7724 //sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
7725@@ -225,7 +352,6 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
7726 // Getlogin
7727 // Sigpending
7728 // Sigaltstack
7729-// Ioctl
7730 // Reboot
7731 // Execve
7732 // Vfork
7733@@ -257,7 +383,6 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
7734 // Searchfs
7735 // Delete
7736 // Copyfile
7737-// Poll
7738 // Watchevent
7739 // Waitevent
7740 // Modwatch
7741@@ -403,7 +528,6 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
7742 // Pread_nocancel
7743 // Pwrite_nocancel
7744 // Waitid_nocancel
7745-// Poll_nocancel
7746 // Msgsnd_nocancel
7747 // Msgrcv_nocancel
7748 // Sem_wait_nocancel
7749diff --git a/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go b/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go
7750index da7cb798..a6b4830a 100644
7751--- a/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go
7752+++ b/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go
7753@@ -11,21 +11,12 @@ import (
7754 "unsafe"
7755 )
7756
7757-func Getpagesize() int { return 4096 }
7758-
7759-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
7760-
7761-func NsecToTimespec(nsec int64) (ts Timespec) {
7762- ts.Sec = nsec / 1e9
7763- ts.Nsec = nsec % 1e9
7764- return
7765+func setTimespec(sec, nsec int64) Timespec {
7766+ return Timespec{Sec: sec, Nsec: nsec}
7767 }
7768
7769-func NsecToTimeval(nsec int64) (tv Timeval) {
7770- nsec += 999 // round up to microsecond
7771- tv.Usec = nsec % 1e9 / 1e3
7772- tv.Sec = int64(nsec / 1e9)
7773- return
7774+func setTimeval(sec, usec int64) Timeval {
7775+ return Timeval{Sec: sec, Usec: usec}
7776 }
7777
7778 func SetKevent(k *Kevent_t, fd, mode, flags int) {
7779@@ -42,6 +33,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
7780 msghdr.Controllen = uint32(length)
7781 }
7782
7783+func (msghdr *Msghdr) SetIovlen(length int) {
7784+ msghdr.Iovlen = int32(length)
7785+}
7786+
7787 func (cmsg *Cmsghdr) SetLen(length int) {
7788 cmsg.Len = uint32(length)
7789 }
7790diff --git a/vendor/golang.org/x/sys/unix/syscall_freebsd.go b/vendor/golang.org/x/sys/unix/syscall_freebsd.go
7791index d26e52ea..6932e7c2 100644
7792--- a/vendor/golang.org/x/sys/unix/syscall_freebsd.go
7793+++ b/vendor/golang.org/x/sys/unix/syscall_freebsd.go
7794@@ -12,8 +12,36 @@
7795
7796 package unix
7797
7798-import "unsafe"
7799+import (
7800+ "sync"
7801+ "unsafe"
7802+)
7803+
7804+const (
7805+ SYS_FSTAT_FREEBSD12 = 551 // { int fstat(int fd, _Out_ struct stat *sb); }
7806+ SYS_FSTATAT_FREEBSD12 = 552 // { int fstatat(int fd, _In_z_ char *path, \
7807+ SYS_GETDIRENTRIES_FREEBSD12 = 554 // { ssize_t getdirentries(int fd, \
7808+ SYS_STATFS_FREEBSD12 = 555 // { int statfs(_In_z_ char *path, \
7809+ SYS_FSTATFS_FREEBSD12 = 556 // { int fstatfs(int fd, \
7810+ SYS_GETFSSTAT_FREEBSD12 = 557 // { int getfsstat( \
7811+ SYS_MKNODAT_FREEBSD12 = 559 // { int mknodat(int fd, _In_z_ char *path, \
7812+)
7813+
7814+// See https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/versions.html.
7815+var (
7816+ osreldateOnce sync.Once
7817+ osreldate uint32
7818+)
7819+
7820+// INO64_FIRST from /usr/src/lib/libc/sys/compat-ino64.h
7821+const _ino64First = 1200031
7822+
7823+func supportsABI(ver uint32) bool {
7824+ osreldateOnce.Do(func() { osreldate, _ = SysctlUint32("kern.osreldate") })
7825+ return osreldate >= ver
7826+}
7827
7828+// SockaddrDatalink implements the Sockaddr interface for AF_LINK type sockets.
7829 type SockaddrDatalink struct {
7830 Len uint8
7831 Family uint8
7832@@ -32,7 +60,7 @@ func nametomib(name string) (mib []_C_int, err error) {
7833
7834 // NOTE(rsc): It seems strange to set the buffer to have
7835 // size CTL_MAXNAME+2 but use only CTL_MAXNAME
7836- // as the size. I don't know why the +2 is here, but the
7837+ // as the size. I don't know why the +2 is here, but the
7838 // kernel uses +2 for its own implementation of this function.
7839 // I am scared that if we don't include the +2 here, the kernel
7840 // will silently write 2 words farther than we specify
7841@@ -66,14 +94,21 @@ func direntNamlen(buf []byte) (uint64, bool) {
7842 return readInt(buf, unsafe.Offsetof(Dirent{}.Namlen), unsafe.Sizeof(Dirent{}.Namlen))
7843 }
7844
7845-//sysnb pipe() (r int, w int, err error)
7846-
7847 func Pipe(p []int) (err error) {
7848+ return Pipe2(p, 0)
7849+}
7850+
7851+//sysnb pipe2(p *[2]_C_int, flags int) (err error)
7852+
7853+func Pipe2(p []int, flags int) error {
7854 if len(p) != 2 {
7855 return EINVAL
7856 }
7857- p[0], p[1], err = pipe()
7858- return
7859+ var pp [2]_C_int
7860+ err := pipe2(&pp, flags)
7861+ p[0] = int(pp[0])
7862+ p[1] = int(pp[1])
7863+ return err
7864 }
7865
7866 func GetsockoptIPMreqn(fd, level, opt int) (*IPMreqn, error) {
7867@@ -97,7 +132,7 @@ func Accept4(fd, flags int) (nfd int, sa Sockaddr, err error) {
7868 if len > SizeofSockaddrAny {
7869 panic("RawSockaddrAny too small")
7870 }
7871- sa, err = anyToSockaddr(&rsa)
7872+ sa, err = anyToSockaddr(fd, &rsa)
7873 if err != nil {
7874 Close(nfd)
7875 nfd = 0
7876@@ -105,290 +140,421 @@ func Accept4(fd, flags int) (nfd int, sa Sockaddr, err error) {
7877 return
7878 }
7879
7880+const ImplementsGetwd = true
7881+
7882+//sys Getcwd(buf []byte) (n int, err error) = SYS___GETCWD
7883+
7884+func Getwd() (string, error) {
7885+ var buf [PathMax]byte
7886+ _, err := Getcwd(buf[0:])
7887+ if err != nil {
7888+ return "", err
7889+ }
7890+ n := clen(buf[:])
7891+ if n < 1 {
7892+ return "", EINVAL
7893+ }
7894+ return string(buf[:n]), nil
7895+}
7896+
7897 func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
7898- var _p0 unsafe.Pointer
7899- var bufsize uintptr
7900+ var (
7901+ _p0 unsafe.Pointer
7902+ bufsize uintptr
7903+ oldBuf []statfs_freebsd11_t
7904+ needsConvert bool
7905+ )
7906+
7907 if len(buf) > 0 {
7908- _p0 = unsafe.Pointer(&buf[0])
7909- bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf))
7910+ if supportsABI(_ino64First) {
7911+ _p0 = unsafe.Pointer(&buf[0])
7912+ bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf))
7913+ } else {
7914+ n := len(buf)
7915+ oldBuf = make([]statfs_freebsd11_t, n)
7916+ _p0 = unsafe.Pointer(&oldBuf[0])
7917+ bufsize = unsafe.Sizeof(statfs_freebsd11_t{}) * uintptr(n)
7918+ needsConvert = true
7919+ }
7920+ }
7921+ var sysno uintptr = SYS_GETFSSTAT
7922+ if supportsABI(_ino64First) {
7923+ sysno = SYS_GETFSSTAT_FREEBSD12
7924 }
7925- r0, _, e1 := Syscall(SYS_GETFSSTAT, uintptr(_p0), bufsize, uintptr(flags))
7926+ r0, _, e1 := Syscall(sysno, uintptr(_p0), bufsize, uintptr(flags))
7927 n = int(r0)
7928 if e1 != 0 {
7929 err = e1
7930 }
7931+ if e1 == 0 && needsConvert {
7932+ for i := range oldBuf {
7933+ buf[i].convertFrom(&oldBuf[i])
7934+ }
7935+ }
7936 return
7937 }
7938
7939-// Derive extattr namespace and attribute name
7940+func setattrlistTimes(path string, times []Timespec, flags int) error {
7941+ // used on Darwin for UtimesNano
7942+ return ENOSYS
7943+}
7944
7945-func xattrnamespace(fullattr string) (ns int, attr string, err error) {
7946- s := -1
7947- for idx, val := range fullattr {
7948- if val == '.' {
7949- s = idx
7950- break
7951- }
7952+//sys ioctl(fd int, req uint, arg uintptr) (err error)
7953+
7954+//sys sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS___SYSCTL
7955+
7956+func Uname(uname *Utsname) error {
7957+ mib := []_C_int{CTL_KERN, KERN_OSTYPE}
7958+ n := unsafe.Sizeof(uname.Sysname)
7959+ if err := sysctl(mib, &uname.Sysname[0], &n, nil, 0); err != nil {
7960+ return err
7961 }
7962
7963- if s == -1 {
7964- return -1, "", ENOATTR
7965+ mib = []_C_int{CTL_KERN, KERN_HOSTNAME}
7966+ n = unsafe.Sizeof(uname.Nodename)
7967+ if err := sysctl(mib, &uname.Nodename[0], &n, nil, 0); err != nil {
7968+ return err
7969 }
7970
7971- namespace := fullattr[0:s]
7972- attr = fullattr[s+1:]
7973+ mib = []_C_int{CTL_KERN, KERN_OSRELEASE}
7974+ n = unsafe.Sizeof(uname.Release)
7975+ if err := sysctl(mib, &uname.Release[0], &n, nil, 0); err != nil {
7976+ return err
7977+ }
7978
7979- switch namespace {
7980- case "user":
7981- return EXTATTR_NAMESPACE_USER, attr, nil
7982- case "system":
7983- return EXTATTR_NAMESPACE_SYSTEM, attr, nil
7984- default:
7985- return -1, "", ENOATTR
7986+ mib = []_C_int{CTL_KERN, KERN_VERSION}
7987+ n = unsafe.Sizeof(uname.Version)
7988+ if err := sysctl(mib, &uname.Version[0], &n, nil, 0); err != nil {
7989+ return err
7990 }
7991-}
7992
7993-func initxattrdest(dest []byte, idx int) (d unsafe.Pointer) {
7994- if len(dest) > idx {
7995- return unsafe.Pointer(&dest[idx])
7996- } else {
7997- return unsafe.Pointer(_zero)
7998+ // The version might have newlines or tabs in it, convert them to
7999+ // spaces.
8000+ for i, b := range uname.Version {
8001+ if b == '\n' || b == '\t' {
8002+ if i == len(uname.Version)-1 {
8003+ uname.Version[i] = 0
8004+ } else {
8005+ uname.Version[i] = ' '
8006+ }
8007+ }
8008 }
8009-}
8010
8011-// FreeBSD implements its own syscalls to handle extended attributes
8012+ mib = []_C_int{CTL_HW, HW_MACHINE}
8013+ n = unsafe.Sizeof(uname.Machine)
8014+ if err := sysctl(mib, &uname.Machine[0], &n, nil, 0); err != nil {
8015+ return err
8016+ }
8017
8018-func Getxattr(file string, attr string, dest []byte) (sz int, err error) {
8019- d := initxattrdest(dest, 0)
8020- destsize := len(dest)
8021+ return nil
8022+}
8023
8024- nsid, a, err := xattrnamespace(attr)
8025+func Stat(path string, st *Stat_t) (err error) {
8026+ var oldStat stat_freebsd11_t
8027+ if supportsABI(_ino64First) {
8028+ return fstatat_freebsd12(AT_FDCWD, path, st, 0)
8029+ }
8030+ err = stat(path, &oldStat)
8031 if err != nil {
8032- return -1, err
8033+ return err
8034 }
8035
8036- return ExtattrGetFile(file, nsid, a, uintptr(d), destsize)
8037+ st.convertFrom(&oldStat)
8038+ return nil
8039 }
8040
8041-func Fgetxattr(fd int, attr string, dest []byte) (sz int, err error) {
8042- d := initxattrdest(dest, 0)
8043- destsize := len(dest)
8044-
8045- nsid, a, err := xattrnamespace(attr)
8046+func Lstat(path string, st *Stat_t) (err error) {
8047+ var oldStat stat_freebsd11_t
8048+ if supportsABI(_ino64First) {
8049+ return fstatat_freebsd12(AT_FDCWD, path, st, AT_SYMLINK_NOFOLLOW)
8050+ }
8051+ err = lstat(path, &oldStat)
8052 if err != nil {
8053- return -1, err
8054+ return err
8055 }
8056
8057- return ExtattrGetFd(fd, nsid, a, uintptr(d), destsize)
8058+ st.convertFrom(&oldStat)
8059+ return nil
8060 }
8061
8062-func Lgetxattr(link string, attr string, dest []byte) (sz int, err error) {
8063- d := initxattrdest(dest, 0)
8064- destsize := len(dest)
8065-
8066- nsid, a, err := xattrnamespace(attr)
8067+func Fstat(fd int, st *Stat_t) (err error) {
8068+ var oldStat stat_freebsd11_t
8069+ if supportsABI(_ino64First) {
8070+ return fstat_freebsd12(fd, st)
8071+ }
8072+ err = fstat(fd, &oldStat)
8073 if err != nil {
8074- return -1, err
8075+ return err
8076 }
8077
8078- return ExtattrGetLink(link, nsid, a, uintptr(d), destsize)
8079+ st.convertFrom(&oldStat)
8080+ return nil
8081 }
8082
8083-// flags are unused on FreeBSD
8084-
8085-func Fsetxattr(fd int, attr string, data []byte, flags int) (err error) {
8086- d := unsafe.Pointer(&data[0])
8087- datasiz := len(data)
8088-
8089- nsid, a, err := xattrnamespace(attr)
8090+func Fstatat(fd int, path string, st *Stat_t, flags int) (err error) {
8091+ var oldStat stat_freebsd11_t
8092+ if supportsABI(_ino64First) {
8093+ return fstatat_freebsd12(fd, path, st, flags)
8094+ }
8095+ err = fstatat(fd, path, &oldStat, flags)
8096 if err != nil {
8097- return
8098+ return err
8099 }
8100
8101- _, err = ExtattrSetFd(fd, nsid, a, uintptr(d), datasiz)
8102- return
8103+ st.convertFrom(&oldStat)
8104+ return nil
8105 }
8106
8107-func Setxattr(file string, attr string, data []byte, flags int) (err error) {
8108- d := unsafe.Pointer(&data[0])
8109- datasiz := len(data)
8110-
8111- nsid, a, err := xattrnamespace(attr)
8112+func Statfs(path string, st *Statfs_t) (err error) {
8113+ var oldStatfs statfs_freebsd11_t
8114+ if supportsABI(_ino64First) {
8115+ return statfs_freebsd12(path, st)
8116+ }
8117+ err = statfs(path, &oldStatfs)
8118 if err != nil {
8119- return
8120+ return err
8121 }
8122
8123- _, err = ExtattrSetFile(file, nsid, a, uintptr(d), datasiz)
8124- return
8125+ st.convertFrom(&oldStatfs)
8126+ return nil
8127 }
8128
8129-func Lsetxattr(link string, attr string, data []byte, flags int) (err error) {
8130- d := unsafe.Pointer(&data[0])
8131- datasiz := len(data)
8132-
8133- nsid, a, err := xattrnamespace(attr)
8134+func Fstatfs(fd int, st *Statfs_t) (err error) {
8135+ var oldStatfs statfs_freebsd11_t
8136+ if supportsABI(_ino64First) {
8137+ return fstatfs_freebsd12(fd, st)
8138+ }
8139+ err = fstatfs(fd, &oldStatfs)
8140 if err != nil {
8141- return
8142+ return err
8143 }
8144
8145- _, err = ExtattrSetLink(link, nsid, a, uintptr(d), datasiz)
8146- return
8147+ st.convertFrom(&oldStatfs)
8148+ return nil
8149 }
8150
8151-func Removexattr(file string, attr string) (err error) {
8152- nsid, a, err := xattrnamespace(attr)
8153- if err != nil {
8154+func Getdents(fd int, buf []byte) (n int, err error) {
8155+ return Getdirentries(fd, buf, nil)
8156+}
8157+
8158+func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
8159+ if supportsABI(_ino64First) {
8160+ if basep == nil || unsafe.Sizeof(*basep) == 8 {
8161+ return getdirentries_freebsd12(fd, buf, (*uint64)(unsafe.Pointer(basep)))
8162+ }
8163+ // The freebsd12 syscall needs a 64-bit base. On 32-bit machines
8164+ // we can't just use the basep passed in. See #32498.
8165+ var base uint64 = uint64(*basep)
8166+ n, err = getdirentries_freebsd12(fd, buf, &base)
8167+ *basep = uintptr(base)
8168+ if base>>32 != 0 {
8169+ // We can't stuff the base back into a uintptr, so any
8170+ // future calls would be suspect. Generate an error.
8171+ // EIO is allowed by getdirentries.
8172+ err = EIO
8173+ }
8174 return
8175 }
8176
8177- err = ExtattrDeleteFile(file, nsid, a)
8178+ // The old syscall entries are smaller than the new. Use 1/4 of the original
8179+ // buffer size rounded up to DIRBLKSIZ (see /usr/src/lib/libc/sys/getdirentries.c).
8180+ oldBufLen := roundup(len(buf)/4, _dirblksiz)
8181+ oldBuf := make([]byte, oldBufLen)
8182+ n, err = getdirentries(fd, oldBuf, basep)
8183+ if err == nil && n > 0 {
8184+ n = convertFromDirents11(buf, oldBuf[:n])
8185+ }
8186 return
8187 }
8188
8189-func Fremovexattr(fd int, attr string) (err error) {
8190- nsid, a, err := xattrnamespace(attr)
8191- if err != nil {
8192- return
8193+func Mknod(path string, mode uint32, dev uint64) (err error) {
8194+ var oldDev int
8195+ if supportsABI(_ino64First) {
8196+ return mknodat_freebsd12(AT_FDCWD, path, mode, dev)
8197 }
8198-
8199- err = ExtattrDeleteFd(fd, nsid, a)
8200- return
8201+ oldDev = int(dev)
8202+ return mknod(path, mode, oldDev)
8203 }
8204
8205-func Lremovexattr(link string, attr string) (err error) {
8206- nsid, a, err := xattrnamespace(attr)
8207- if err != nil {
8208- return
8209+func Mknodat(fd int, path string, mode uint32, dev uint64) (err error) {
8210+ var oldDev int
8211+ if supportsABI(_ino64First) {
8212+ return mknodat_freebsd12(fd, path, mode, dev)
8213 }
8214+ oldDev = int(dev)
8215+ return mknodat(fd, path, mode, oldDev)
8216+}
8217
8218- err = ExtattrDeleteLink(link, nsid, a)
8219- return
8220+// round x to the nearest multiple of y, larger or equal to x.
8221+//
8222+// from /usr/include/sys/param.h Macros for counting and rounding.
8223+// #define roundup(x, y) ((((x)+((y)-1))/(y))*(y))
8224+func roundup(x, y int) int {
8225+ return ((x + y - 1) / y) * y
8226 }
8227
8228-func Listxattr(file string, dest []byte) (sz int, err error) {
8229- d := initxattrdest(dest, 0)
8230- destsiz := len(dest)
8231-
8232- // FreeBSD won't allow you to list xattrs from multiple namespaces
8233- s := 0
8234- var e error
8235- for _, nsid := range [...]int{EXTATTR_NAMESPACE_USER, EXTATTR_NAMESPACE_SYSTEM} {
8236- stmp, e := ExtattrListFile(file, nsid, uintptr(d), destsiz)
8237-
8238- /* Errors accessing system attrs are ignored so that
8239- * we can implement the Linux-like behavior of omitting errors that
8240- * we don't have read permissions on
8241- *
8242- * Linux will still error if we ask for user attributes on a file that
8243- * we don't have read permissions on, so don't ignore those errors
8244- */
8245- if e != nil && e == EPERM && nsid != EXTATTR_NAMESPACE_USER {
8246- e = nil
8247- continue
8248- } else if e != nil {
8249- return s, e
8250- }
8251+func (s *Stat_t) convertFrom(old *stat_freebsd11_t) {
8252+ *s = Stat_t{
8253+ Dev: uint64(old.Dev),
8254+ Ino: uint64(old.Ino),
8255+ Nlink: uint64(old.Nlink),
8256+ Mode: old.Mode,
8257+ Uid: old.Uid,
8258+ Gid: old.Gid,
8259+ Rdev: uint64(old.Rdev),
8260+ Atim: old.Atim,
8261+ Mtim: old.Mtim,
8262+ Ctim: old.Ctim,
8263+ Btim: old.Btim,
8264+ Size: old.Size,
8265+ Blocks: old.Blocks,
8266+ Blksize: old.Blksize,
8267+ Flags: old.Flags,
8268+ Gen: uint64(old.Gen),
8269+ }
8270+}
8271
8272- s += stmp
8273- destsiz -= s
8274- if destsiz < 0 {
8275- destsiz = 0
8276- }
8277- d = initxattrdest(dest, s)
8278+func (s *Statfs_t) convertFrom(old *statfs_freebsd11_t) {
8279+ *s = Statfs_t{
8280+ Version: _statfsVersion,
8281+ Type: old.Type,
8282+ Flags: old.Flags,
8283+ Bsize: old.Bsize,
8284+ Iosize: old.Iosize,
8285+ Blocks: old.Blocks,
8286+ Bfree: old.Bfree,
8287+ Bavail: old.Bavail,
8288+ Files: old.Files,
8289+ Ffree: old.Ffree,
8290+ Syncwrites: old.Syncwrites,
8291+ Asyncwrites: old.Asyncwrites,
8292+ Syncreads: old.Syncreads,
8293+ Asyncreads: old.Asyncreads,
8294+ // Spare
8295+ Namemax: old.Namemax,
8296+ Owner: old.Owner,
8297+ Fsid: old.Fsid,
8298+ // Charspare
8299+ // Fstypename
8300+ // Mntfromname
8301+ // Mntonname
8302 }
8303
8304- return s, e
8305+ sl := old.Fstypename[:]
8306+ n := clen(*(*[]byte)(unsafe.Pointer(&sl)))
8307+ copy(s.Fstypename[:], old.Fstypename[:n])
8308+
8309+ sl = old.Mntfromname[:]
8310+ n = clen(*(*[]byte)(unsafe.Pointer(&sl)))
8311+ copy(s.Mntfromname[:], old.Mntfromname[:n])
8312+
8313+ sl = old.Mntonname[:]
8314+ n = clen(*(*[]byte)(unsafe.Pointer(&sl)))
8315+ copy(s.Mntonname[:], old.Mntonname[:n])
8316 }
8317
8318-func Flistxattr(fd int, dest []byte) (sz int, err error) {
8319- d := initxattrdest(dest, 0)
8320- destsiz := len(dest)
8321+func convertFromDirents11(buf []byte, old []byte) int {
8322+ const (
8323+ fixedSize = int(unsafe.Offsetof(Dirent{}.Name))
8324+ oldFixedSize = int(unsafe.Offsetof(dirent_freebsd11{}.Name))
8325+ )
8326+
8327+ dstPos := 0
8328+ srcPos := 0
8329+ for dstPos+fixedSize < len(buf) && srcPos+oldFixedSize < len(old) {
8330+ var dstDirent Dirent
8331+ var srcDirent dirent_freebsd11
8332
8333- s := 0
8334- var e error
8335- for _, nsid := range [...]int{EXTATTR_NAMESPACE_USER, EXTATTR_NAMESPACE_SYSTEM} {
8336- stmp, e := ExtattrListFd(fd, nsid, uintptr(d), destsiz)
8337- if e != nil && e == EPERM && nsid != EXTATTR_NAMESPACE_USER {
8338- e = nil
8339- continue
8340- } else if e != nil {
8341- return s, e
8342+ // If multiple direntries are written, sometimes when we reach the final one,
8343+ // we may have cap of old less than size of dirent_freebsd11.
8344+ copy((*[unsafe.Sizeof(srcDirent)]byte)(unsafe.Pointer(&srcDirent))[:], old[srcPos:])
8345+
8346+ reclen := roundup(fixedSize+int(srcDirent.Namlen)+1, 8)
8347+ if dstPos+reclen > len(buf) {
8348+ break
8349 }
8350
8351- s += stmp
8352- destsiz -= s
8353- if destsiz < 0 {
8354- destsiz = 0
8355+ dstDirent.Fileno = uint64(srcDirent.Fileno)
8356+ dstDirent.Off = 0
8357+ dstDirent.Reclen = uint16(reclen)
8358+ dstDirent.Type = srcDirent.Type
8359+ dstDirent.Pad0 = 0
8360+ dstDirent.Namlen = uint16(srcDirent.Namlen)
8361+ dstDirent.Pad1 = 0
8362+
8363+ copy(dstDirent.Name[:], srcDirent.Name[:srcDirent.Namlen])
8364+ copy(buf[dstPos:], (*[unsafe.Sizeof(dstDirent)]byte)(unsafe.Pointer(&dstDirent))[:])
8365+ padding := buf[dstPos+fixedSize+int(dstDirent.Namlen) : dstPos+reclen]
8366+ for i := range padding {
8367+ padding[i] = 0
8368 }
8369- d = initxattrdest(dest, s)
8370+
8371+ dstPos += int(dstDirent.Reclen)
8372+ srcPos += int(srcDirent.Reclen)
8373 }
8374
8375- return s, e
8376+ return dstPos
8377 }
8378
8379-func Llistxattr(link string, dest []byte) (sz int, err error) {
8380- d := initxattrdest(dest, 0)
8381- destsiz := len(dest)
8382+func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
8383+ if raceenabled {
8384+ raceReleaseMerge(unsafe.Pointer(&ioSync))
8385+ }
8386+ return sendfile(outfd, infd, offset, count)
8387+}
8388
8389- s := 0
8390- var e error
8391- for _, nsid := range [...]int{EXTATTR_NAMESPACE_USER, EXTATTR_NAMESPACE_SYSTEM} {
8392- stmp, e := ExtattrListLink(link, nsid, uintptr(d), destsiz)
8393- if e != nil && e == EPERM && nsid != EXTATTR_NAMESPACE_USER {
8394- e = nil
8395- continue
8396- } else if e != nil {
8397- return s, e
8398- }
8399+//sys ptrace(request int, pid int, addr uintptr, data int) (err error)
8400
8401- s += stmp
8402- destsiz -= s
8403- if destsiz < 0 {
8404- destsiz = 0
8405- }
8406- d = initxattrdest(dest, s)
8407- }
8408+func PtraceAttach(pid int) (err error) {
8409+ return ptrace(PTRACE_ATTACH, pid, 0, 0)
8410+}
8411
8412- return s, e
8413+func PtraceCont(pid int, signal int) (err error) {
8414+ return ptrace(PTRACE_CONT, pid, 1, signal)
8415 }
8416
8417-//sys ioctl(fd int, req uint, arg uintptr) (err error)
8418+func PtraceDetach(pid int) (err error) {
8419+ return ptrace(PTRACE_DETACH, pid, 1, 0)
8420+}
8421+
8422+func PtraceGetFpRegs(pid int, fpregsout *FpReg) (err error) {
8423+ return ptrace(PTRACE_GETFPREGS, pid, uintptr(unsafe.Pointer(fpregsout)), 0)
8424+}
8425
8426-// ioctl itself should not be exposed directly, but additional get/set
8427-// functions for specific types are permissible.
8428+func PtraceGetRegs(pid int, regsout *Reg) (err error) {
8429+ return ptrace(PTRACE_GETREGS, pid, uintptr(unsafe.Pointer(regsout)), 0)
8430+}
8431+
8432+func PtraceLwpEvents(pid int, enable int) (err error) {
8433+ return ptrace(PTRACE_LWPEVENTS, pid, 0, enable)
8434+}
8435+
8436+func PtraceLwpInfo(pid int, info uintptr) (err error) {
8437+ return ptrace(PTRACE_LWPINFO, pid, info, int(unsafe.Sizeof(PtraceLwpInfoStruct{})))
8438+}
8439
8440-// IoctlSetInt performs an ioctl operation which sets an integer value
8441-// on fd, using the specified request number.
8442-func IoctlSetInt(fd int, req uint, value int) error {
8443- return ioctl(fd, req, uintptr(value))
8444+func PtracePeekData(pid int, addr uintptr, out []byte) (count int, err error) {
8445+ return PtraceIO(PIOD_READ_D, pid, addr, out, SizeofLong)
8446 }
8447
8448-func IoctlSetWinsize(fd int, req uint, value *Winsize) error {
8449- return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
8450+func PtracePeekText(pid int, addr uintptr, out []byte) (count int, err error) {
8451+ return PtraceIO(PIOD_READ_I, pid, addr, out, SizeofLong)
8452 }
8453
8454-func IoctlSetTermios(fd int, req uint, value *Termios) error {
8455- return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
8456+func PtracePokeData(pid int, addr uintptr, data []byte) (count int, err error) {
8457+ return PtraceIO(PIOD_WRITE_D, pid, addr, data, SizeofLong)
8458 }
8459
8460-// IoctlGetInt performs an ioctl operation which gets an integer value
8461-// from fd, using the specified request number.
8462-func IoctlGetInt(fd int, req uint) (int, error) {
8463- var value int
8464- err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
8465- return value, err
8466+func PtracePokeText(pid int, addr uintptr, data []byte) (count int, err error) {
8467+ return PtraceIO(PIOD_WRITE_I, pid, addr, data, SizeofLong)
8468 }
8469
8470-func IoctlGetWinsize(fd int, req uint) (*Winsize, error) {
8471- var value Winsize
8472- err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
8473- return &value, err
8474+func PtraceSetRegs(pid int, regs *Reg) (err error) {
8475+ return ptrace(PTRACE_SETREGS, pid, uintptr(unsafe.Pointer(regs)), 0)
8476 }
8477
8478-func IoctlGetTermios(fd int, req uint) (*Termios, error) {
8479- var value Termios
8480- err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
8481- return &value, err
8482+func PtraceSingleStep(pid int) (err error) {
8483+ return ptrace(PTRACE_SINGLESTEP, pid, 1, 0)
8484 }
8485
8486 /*
8487@@ -430,11 +596,16 @@ func IoctlGetTermios(fd int, req uint) (*Termios, error) {
8488 //sys Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error)
8489 //sys Flock(fd int, how int) (err error)
8490 //sys Fpathconf(fd int, name int) (val int, err error)
8491-//sys Fstat(fd int, stat *Stat_t) (err error)
8492-//sys Fstatfs(fd int, stat *Statfs_t) (err error)
8493+//sys fstat(fd int, stat *stat_freebsd11_t) (err error)
8494+//sys fstat_freebsd12(fd int, stat *Stat_t) (err error)
8495+//sys fstatat(fd int, path string, stat *stat_freebsd11_t, flags int) (err error)
8496+//sys fstatat_freebsd12(fd int, path string, stat *Stat_t, flags int) (err error)
8497+//sys fstatfs(fd int, stat *statfs_freebsd11_t) (err error)
8498+//sys fstatfs_freebsd12(fd int, stat *Statfs_t) (err error)
8499 //sys Fsync(fd int) (err error)
8500 //sys Ftruncate(fd int, length int64) (err error)
8501-//sys Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error)
8502+//sys getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error)
8503+//sys getdirentries_freebsd12(fd int, buf []byte, basep *uint64) (n int, err error)
8504 //sys Getdtablesize() (size int)
8505 //sysnb Getegid() (egid int)
8506 //sysnb Geteuid() (uid int)
8507@@ -456,11 +627,13 @@ func IoctlGetTermios(fd int, req uint) (*Termios, error) {
8508 //sys Link(path string, link string) (err error)
8509 //sys Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error)
8510 //sys Listen(s int, backlog int) (err error)
8511-//sys Lstat(path string, stat *Stat_t) (err error)
8512+//sys lstat(path string, stat *stat_freebsd11_t) (err error)
8513 //sys Mkdir(path string, mode uint32) (err error)
8514 //sys Mkdirat(dirfd int, path string, mode uint32) (err error)
8515 //sys Mkfifo(path string, mode uint32) (err error)
8516-//sys Mknod(path string, mode uint32, dev int) (err error)
8517+//sys mknod(path string, mode uint32, dev int) (err error)
8518+//sys mknodat(fd int, path string, mode uint32, dev int) (err error)
8519+//sys mknodat_freebsd12(fd int, path string, mode uint32, dev uint64) (err error)
8520 //sys Nanosleep(time *Timespec, leftover *Timespec) (err error)
8521 //sys Open(path string, mode int, perm uint32) (fd int, err error)
8522 //sys Openat(fdat int, path string, mode int, perm uint32) (fd int, err error)
8523@@ -475,7 +648,7 @@ func IoctlGetTermios(fd int, req uint) (*Termios, error) {
8524 //sys Revoke(path string) (err error)
8525 //sys Rmdir(path string) (err error)
8526 //sys Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
8527-//sys Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
8528+//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
8529 //sysnb Setegid(egid int) (err error)
8530 //sysnb Seteuid(euid int) (err error)
8531 //sysnb Setgid(gid int) (err error)
8532@@ -490,8 +663,9 @@ func IoctlGetTermios(fd int, req uint) (*Termios, error) {
8533 //sysnb Setsid() (pid int, err error)
8534 //sysnb Settimeofday(tp *Timeval) (err error)
8535 //sysnb Setuid(uid int) (err error)
8536-//sys Stat(path string, stat *Stat_t) (err error)
8537-//sys Statfs(path string, stat *Statfs_t) (err error)
8538+//sys stat(path string, stat *stat_freebsd11_t) (err error)
8539+//sys statfs(path string, stat *statfs_freebsd11_t) (err error)
8540+//sys statfs_freebsd12(path string, stat *Statfs_t) (err error)
8541 //sys Symlink(path string, link string) (err error)
8542 //sys Symlinkat(oldpath string, newdirfd int, newpath string) (err error)
8543 //sys Sync() (err error)
8544@@ -546,22 +720,14 @@ func IoctlGetTermios(fd int, req uint) (*Termios, error) {
8545 // Kqueue_portset
8546 // Getattrlist
8547 // Setattrlist
8548+// Getdents
8549 // Getdirentriesattr
8550 // Searchfs
8551 // Delete
8552 // Copyfile
8553-// Poll
8554 // Watchevent
8555 // Waitevent
8556 // Modwatch
8557-// Getxattr
8558-// Fgetxattr
8559-// Setxattr
8560-// Fsetxattr
8561-// Removexattr
8562-// Fremovexattr
8563-// Listxattr
8564-// Flistxattr
8565 // Fsctl
8566 // Initgroups
8567 // Posix_spawn
8568diff --git a/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go b/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go
8569index 6a0cd804..72a506dd 100644
8570--- a/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go
8571+++ b/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go
8572@@ -11,21 +11,12 @@ import (
8573 "unsafe"
8574 )
8575
8576-func Getpagesize() int { return 4096 }
8577-
8578-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
8579-
8580-func NsecToTimespec(nsec int64) (ts Timespec) {
8581- ts.Sec = int32(nsec / 1e9)
8582- ts.Nsec = int32(nsec % 1e9)
8583- return
8584+func setTimespec(sec, nsec int64) Timespec {
8585+ return Timespec{Sec: int32(sec), Nsec: int32(nsec)}
8586 }
8587
8588-func NsecToTimeval(nsec int64) (tv Timeval) {
8589- nsec += 999 // round up to microsecond
8590- tv.Usec = int32(nsec % 1e9 / 1e3)
8591- tv.Sec = int32(nsec / 1e9)
8592- return
8593+func setTimeval(sec, usec int64) Timeval {
8594+ return Timeval{Sec: int32(sec), Usec: int32(usec)}
8595 }
8596
8597 func SetKevent(k *Kevent_t, fd, mode, flags int) {
8598@@ -42,6 +33,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
8599 msghdr.Controllen = uint32(length)
8600 }
8601
8602+func (msghdr *Msghdr) SetIovlen(length int) {
8603+ msghdr.Iovlen = int32(length)
8604+}
8605+
8606 func (cmsg *Cmsghdr) SetLen(length int) {
8607 cmsg.Len = uint32(length)
8608 }
8609@@ -59,3 +54,13 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
8610 }
8611
8612 func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
8613+
8614+func PtraceGetFsBase(pid int, fsbase *int64) (err error) {
8615+ return ptrace(PTRACE_GETFSBASE, pid, uintptr(unsafe.Pointer(fsbase)), 0)
8616+}
8617+
8618+func PtraceIO(req int, pid int, addr uintptr, out []byte, countin int) (count int, err error) {
8619+ ioDesc := PtraceIoDesc{Op: int32(req), Offs: (*byte)(unsafe.Pointer(addr)), Addr: (*byte)(unsafe.Pointer(&out[0])), Len: uint32(countin)}
8620+ err = ptrace(PTRACE_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0)
8621+ return int(ioDesc.Len), err
8622+}
8623diff --git a/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go
8624index e142540e..d5e376ac 100644
8625--- a/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go
8626+++ b/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go
8627@@ -11,21 +11,12 @@ import (
8628 "unsafe"
8629 )
8630
8631-func Getpagesize() int { return 4096 }
8632-
8633-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
8634-
8635-func NsecToTimespec(nsec int64) (ts Timespec) {
8636- ts.Sec = nsec / 1e9
8637- ts.Nsec = nsec % 1e9
8638- return
8639+func setTimespec(sec, nsec int64) Timespec {
8640+ return Timespec{Sec: sec, Nsec: nsec}
8641 }
8642
8643-func NsecToTimeval(nsec int64) (tv Timeval) {
8644- nsec += 999 // round up to microsecond
8645- tv.Usec = nsec % 1e9 / 1e3
8646- tv.Sec = int64(nsec / 1e9)
8647- return
8648+func setTimeval(sec, usec int64) Timeval {
8649+ return Timeval{Sec: sec, Usec: usec}
8650 }
8651
8652 func SetKevent(k *Kevent_t, fd, mode, flags int) {
8653@@ -42,6 +33,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
8654 msghdr.Controllen = uint32(length)
8655 }
8656
8657+func (msghdr *Msghdr) SetIovlen(length int) {
8658+ msghdr.Iovlen = int32(length)
8659+}
8660+
8661 func (cmsg *Cmsghdr) SetLen(length int) {
8662 cmsg.Len = uint32(length)
8663 }
8664@@ -59,3 +54,13 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
8665 }
8666
8667 func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
8668+
8669+func PtraceGetFsBase(pid int, fsbase *int64) (err error) {
8670+ return ptrace(PTRACE_GETFSBASE, pid, uintptr(unsafe.Pointer(fsbase)), 0)
8671+}
8672+
8673+func PtraceIO(req int, pid int, addr uintptr, out []byte, countin int) (count int, err error) {
8674+ ioDesc := PtraceIoDesc{Op: int32(req), Offs: (*byte)(unsafe.Pointer(addr)), Addr: (*byte)(unsafe.Pointer(&out[0])), Len: uint64(countin)}
8675+ err = ptrace(PTRACE_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0)
8676+ return int(ioDesc.Len), err
8677+}
8678diff --git a/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go b/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go
8679index 5504cb12..4ea45bce 100644
8680--- a/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go
8681+++ b/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go
8682@@ -11,21 +11,12 @@ import (
8683 "unsafe"
8684 )
8685
8686-func Getpagesize() int { return 4096 }
8687-
8688-func TimespecToNsec(ts Timespec) int64 { return ts.Sec*1e9 + int64(ts.Nsec) }
8689-
8690-func NsecToTimespec(nsec int64) (ts Timespec) {
8691- ts.Sec = nsec / 1e9
8692- ts.Nsec = int32(nsec % 1e9)
8693- return
8694+func setTimespec(sec, nsec int64) Timespec {
8695+ return Timespec{Sec: sec, Nsec: int32(nsec)}
8696 }
8697
8698-func NsecToTimeval(nsec int64) (tv Timeval) {
8699- nsec += 999 // round up to microsecond
8700- tv.Usec = int32(nsec % 1e9 / 1e3)
8701- tv.Sec = nsec / 1e9
8702- return
8703+func setTimeval(sec, usec int64) Timeval {
8704+ return Timeval{Sec: sec, Usec: int32(usec)}
8705 }
8706
8707 func SetKevent(k *Kevent_t, fd, mode, flags int) {
8708@@ -42,6 +33,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
8709 msghdr.Controllen = uint32(length)
8710 }
8711
8712+func (msghdr *Msghdr) SetIovlen(length int) {
8713+ msghdr.Iovlen = int32(length)
8714+}
8715+
8716 func (cmsg *Cmsghdr) SetLen(length int) {
8717 cmsg.Len = uint32(length)
8718 }
8719@@ -59,3 +54,9 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
8720 }
8721
8722 func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
8723+
8724+func PtraceIO(req int, pid int, addr uintptr, out []byte, countin int) (count int, err error) {
8725+ ioDesc := PtraceIoDesc{Op: int32(req), Offs: (*byte)(unsafe.Pointer(addr)), Addr: (*byte)(unsafe.Pointer(&out[0])), Len: uint32(countin)}
8726+ err = ptrace(PTRACE_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0)
8727+ return int(ioDesc.Len), err
8728+}
8729diff --git a/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go b/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go
8730similarity index 59%
8731copy from vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go
8732copy to vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go
8733index da7cb798..aa5326db 100644
8734--- a/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go
8735+++ b/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go
8736@@ -1,8 +1,8 @@
8737-// Copyright 2009 The Go Authors. All rights reserved.
8738+// Copyright 2018 The Go Authors. All rights reserved.
8739 // Use of this source code is governed by a BSD-style
8740 // license that can be found in the LICENSE file.
8741
8742-// +build amd64,dragonfly
8743+// +build arm64,freebsd
8744
8745 package unix
8746
8747@@ -11,21 +11,12 @@ import (
8748 "unsafe"
8749 )
8750
8751-func Getpagesize() int { return 4096 }
8752-
8753-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
8754-
8755-func NsecToTimespec(nsec int64) (ts Timespec) {
8756- ts.Sec = nsec / 1e9
8757- ts.Nsec = nsec % 1e9
8758- return
8759+func setTimespec(sec, nsec int64) Timespec {
8760+ return Timespec{Sec: sec, Nsec: nsec}
8761 }
8762
8763-func NsecToTimeval(nsec int64) (tv Timeval) {
8764- nsec += 999 // round up to microsecond
8765- tv.Usec = nsec % 1e9 / 1e3
8766- tv.Sec = int64(nsec / 1e9)
8767- return
8768+func setTimeval(sec, usec int64) Timeval {
8769+ return Timeval{Sec: sec, Usec: usec}
8770 }
8771
8772 func SetKevent(k *Kevent_t, fd, mode, flags int) {
8773@@ -42,6 +33,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
8774 msghdr.Controllen = uint32(length)
8775 }
8776
8777+func (msghdr *Msghdr) SetIovlen(length int) {
8778+ msghdr.Iovlen = int32(length)
8779+}
8780+
8781 func (cmsg *Cmsghdr) SetLen(length int) {
8782 cmsg.Len = uint32(length)
8783 }
8784@@ -59,3 +54,9 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
8785 }
8786
8787 func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
8788+
8789+func PtraceIO(req int, pid int, addr uintptr, out []byte, countin int) (count int, err error) {
8790+ ioDesc := PtraceIoDesc{Op: int32(req), Offs: (*byte)(unsafe.Pointer(addr)), Addr: (*byte)(unsafe.Pointer(&out[0])), Len: uint64(countin)}
8791+ err = ptrace(PTRACE_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0)
8792+ return int(ioDesc.Len), err
8793+}
8794diff --git a/vendor/golang.org/x/sys/unix/syscall_illumos.go b/vendor/golang.org/x/sys/unix/syscall_illumos.go
8795new file mode 100644
8796index 00000000..99e62dcd
8797--- /dev/null
8798+++ b/vendor/golang.org/x/sys/unix/syscall_illumos.go
8799@@ -0,0 +1,57 @@
8800+// Copyright 2009 The Go Authors. All rights reserved.
8801+// Use of this source code is governed by a BSD-style
8802+// license that can be found in the LICENSE file.
8803+
8804+// illumos system calls not present on Solaris.
8805+
8806+// +build amd64,illumos
8807+
8808+package unix
8809+
8810+import "unsafe"
8811+
8812+func bytes2iovec(bs [][]byte) []Iovec {
8813+ iovecs := make([]Iovec, len(bs))
8814+ for i, b := range bs {
8815+ iovecs[i].SetLen(len(b))
8816+ if len(b) > 0 {
8817+ // somehow Iovec.Base on illumos is (*int8), not (*byte)
8818+ iovecs[i].Base = (*int8)(unsafe.Pointer(&b[0]))
8819+ } else {
8820+ iovecs[i].Base = (*int8)(unsafe.Pointer(&_zero))
8821+ }
8822+ }
8823+ return iovecs
8824+}
8825+
8826+//sys readv(fd int, iovs []Iovec) (n int, err error)
8827+
8828+func Readv(fd int, iovs [][]byte) (n int, err error) {
8829+ iovecs := bytes2iovec(iovs)
8830+ n, err = readv(fd, iovecs)
8831+ return n, err
8832+}
8833+
8834+//sys preadv(fd int, iovs []Iovec, off int64) (n int, err error)
8835+
8836+func Preadv(fd int, iovs [][]byte, off int64) (n int, err error) {
8837+ iovecs := bytes2iovec(iovs)
8838+ n, err = preadv(fd, iovecs, off)
8839+ return n, err
8840+}
8841+
8842+//sys writev(fd int, iovs []Iovec) (n int, err error)
8843+
8844+func Writev(fd int, iovs [][]byte) (n int, err error) {
8845+ iovecs := bytes2iovec(iovs)
8846+ n, err = writev(fd, iovecs)
8847+ return n, err
8848+}
8849+
8850+//sys pwritev(fd int, iovs []Iovec, off int64) (n int, err error)
8851+
8852+func Pwritev(fd int, iovs [][]byte, off int64) (n int, err error) {
8853+ iovecs := bytes2iovec(iovs)
8854+ n, err = pwritev(fd, iovecs, off)
8855+ return n, err
8856+}
8857diff --git a/vendor/golang.org/x/sys/unix/syscall_linux.go b/vendor/golang.org/x/sys/unix/syscall_linux.go
8858index 1b7d59d8..bbe1abbc 100644
8859--- a/vendor/golang.org/x/sys/unix/syscall_linux.go
8860+++ b/vendor/golang.org/x/sys/unix/syscall_linux.go
8861@@ -12,6 +12,8 @@
8862 package unix
8863
8864 import (
8865+ "encoding/binary"
8866+ "runtime"
8867 "syscall"
8868 "unsafe"
8869 )
8870@@ -36,6 +38,20 @@ func Creat(path string, mode uint32) (fd int, err error) {
8871 return Open(path, O_CREAT|O_WRONLY|O_TRUNC, mode)
8872 }
8873
8874+//sys FanotifyInit(flags uint, event_f_flags uint) (fd int, err error)
8875+//sys fanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname *byte) (err error)
8876+
8877+func FanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname string) (err error) {
8878+ if pathname == "" {
8879+ return fanotifyMark(fd, flags, mask, dirFd, nil)
8880+ }
8881+ p, err := BytePtrFromString(pathname)
8882+ if err != nil {
8883+ return err
8884+ }
8885+ return fanotifyMark(fd, flags, mask, dirFd, p)
8886+}
8887+
8888 //sys fchmodat(dirfd int, path string, mode uint32) (err error)
8889
8890 func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
8891@@ -55,37 +71,41 @@ func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
8892 // ioctl itself should not be exposed directly, but additional get/set
8893 // functions for specific types are permissible.
8894
8895-// IoctlSetInt performs an ioctl operation which sets an integer value
8896-// on fd, using the specified request number.
8897-func IoctlSetInt(fd int, req uint, value int) error {
8898- return ioctl(fd, req, uintptr(value))
8899+// IoctlRetInt performs an ioctl operation specified by req on a device
8900+// associated with opened file descriptor fd, and returns a non-negative
8901+// integer that is returned by the ioctl syscall.
8902+func IoctlRetInt(fd int, req uint) (int, error) {
8903+ ret, _, err := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), 0)
8904+ if err != 0 {
8905+ return 0, err
8906+ }
8907+ return int(ret), nil
8908 }
8909
8910-func IoctlSetWinsize(fd int, req uint, value *Winsize) error {
8911- return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
8912+// IoctlSetPointerInt performs an ioctl operation which sets an
8913+// integer value on fd, using the specified request number. The ioctl
8914+// argument is called with a pointer to the integer value, rather than
8915+// passing the integer value directly.
8916+func IoctlSetPointerInt(fd int, req uint, value int) error {
8917+ v := int32(value)
8918+ return ioctl(fd, req, uintptr(unsafe.Pointer(&v)))
8919 }
8920
8921-func IoctlSetTermios(fd int, req uint, value *Termios) error {
8922- return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
8923+func IoctlSetRTCTime(fd int, value *RTCTime) error {
8924+ err := ioctl(fd, RTC_SET_TIME, uintptr(unsafe.Pointer(value)))
8925+ runtime.KeepAlive(value)
8926+ return err
8927 }
8928
8929-// IoctlGetInt performs an ioctl operation which gets an integer value
8930-// from fd, using the specified request number.
8931-func IoctlGetInt(fd int, req uint) (int, error) {
8932- var value int
8933+func IoctlGetUint32(fd int, req uint) (uint32, error) {
8934+ var value uint32
8935 err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
8936 return value, err
8937 }
8938
8939-func IoctlGetWinsize(fd int, req uint) (*Winsize, error) {
8940- var value Winsize
8941- err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
8942- return &value, err
8943-}
8944-
8945-func IoctlGetTermios(fd int, req uint) (*Termios, error) {
8946- var value Termios
8947- err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
8948+func IoctlGetRTCTime(fd int) (*RTCTime, error) {
8949+ var value RTCTime
8950+ err := ioctl(fd, RTC_RD_TIME, uintptr(unsafe.Pointer(&value)))
8951 return &value, err
8952 }
8953
8954@@ -148,8 +168,6 @@ func Unlink(path string) error {
8955
8956 //sys Unlinkat(dirfd int, path string, flags int) (err error)
8957
8958-//sys utimes(path string, times *[2]Timeval) (err error)
8959-
8960 func Utimes(path string, tv []Timeval) error {
8961 if tv == nil {
8962 err := utimensat(AT_FDCWD, path, nil, 0)
8963@@ -207,20 +225,14 @@ func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error {
8964 return utimensat(dirfd, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), flags)
8965 }
8966
8967-//sys futimesat(dirfd int, path *byte, times *[2]Timeval) (err error)
8968-
8969 func Futimesat(dirfd int, path string, tv []Timeval) error {
8970- pathp, err := BytePtrFromString(path)
8971- if err != nil {
8972- return err
8973- }
8974 if tv == nil {
8975- return futimesat(dirfd, pathp, nil)
8976+ return futimesat(dirfd, path, nil)
8977 }
8978 if len(tv) != 2 {
8979 return EINVAL
8980 }
8981- return futimesat(dirfd, pathp, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
8982+ return futimesat(dirfd, path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
8983 }
8984
8985 func Futimes(fd int, tv []Timeval) (err error) {
8986@@ -255,7 +267,7 @@ func Getgroups() (gids []int, err error) {
8987 return nil, nil
8988 }
8989
8990- // Sanity check group count. Max is 1<<16 on Linux.
8991+ // Sanity check group count. Max is 1<<16 on Linux.
8992 if n < 0 || n > 1<<20 {
8993 return nil, EINVAL
8994 }
8995@@ -290,8 +302,8 @@ type WaitStatus uint32
8996 // 0x7F (stopped), or a signal number that caused an exit.
8997 // The 0x80 bit is whether there was a core dump.
8998 // An extra number (exit code, signal causing a stop)
8999-// is in the high bits. At least that's the idea.
9000-// There are various irregularities. For example, the
9001+// is in the high bits. At least that's the idea.
9002+// There are various irregularities. For example, the
9003 // "continued" status is 0xFFFF, distinguishing itself
9004 // from stopped via the core dump bit.
9005
9006@@ -413,6 +425,7 @@ func (sa *SockaddrUnix) sockaddr() (unsafe.Pointer, _Socklen, error) {
9007 return unsafe.Pointer(&sa.raw), sl, nil
9008 }
9009
9010+// SockaddrLinklayer implements the Sockaddr interface for AF_PACKET type sockets.
9011 type SockaddrLinklayer struct {
9012 Protocol uint16
9013 Ifindex int
9014@@ -439,6 +452,7 @@ func (sa *SockaddrLinklayer) sockaddr() (unsafe.Pointer, _Socklen, error) {
9015 return unsafe.Pointer(&sa.raw), SizeofSockaddrLinklayer, nil
9016 }
9017
9018+// SockaddrNetlink implements the Sockaddr interface for AF_NETLINK type sockets.
9019 type SockaddrNetlink struct {
9020 Family uint16
9021 Pad uint16
9022@@ -455,6 +469,8 @@ func (sa *SockaddrNetlink) sockaddr() (unsafe.Pointer, _Socklen, error) {
9023 return unsafe.Pointer(&sa.raw), SizeofSockaddrNetlink, nil
9024 }
9025
9026+// SockaddrHCI implements the Sockaddr interface for AF_BLUETOOTH type sockets
9027+// using the HCI protocol.
9028 type SockaddrHCI struct {
9029 Dev uint16
9030 Channel uint16
9031@@ -468,6 +484,72 @@ func (sa *SockaddrHCI) sockaddr() (unsafe.Pointer, _Socklen, error) {
9032 return unsafe.Pointer(&sa.raw), SizeofSockaddrHCI, nil
9033 }
9034
9035+// SockaddrL2 implements the Sockaddr interface for AF_BLUETOOTH type sockets
9036+// using the L2CAP protocol.
9037+type SockaddrL2 struct {
9038+ PSM uint16
9039+ CID uint16
9040+ Addr [6]uint8
9041+ AddrType uint8
9042+ raw RawSockaddrL2
9043+}
9044+
9045+func (sa *SockaddrL2) sockaddr() (unsafe.Pointer, _Socklen, error) {
9046+ sa.raw.Family = AF_BLUETOOTH
9047+ psm := (*[2]byte)(unsafe.Pointer(&sa.raw.Psm))
9048+ psm[0] = byte(sa.PSM)
9049+ psm[1] = byte(sa.PSM >> 8)
9050+ for i := 0; i < len(sa.Addr); i++ {
9051+ sa.raw.Bdaddr[i] = sa.Addr[len(sa.Addr)-1-i]
9052+ }
9053+ cid := (*[2]byte)(unsafe.Pointer(&sa.raw.Cid))
9054+ cid[0] = byte(sa.CID)
9055+ cid[1] = byte(sa.CID >> 8)
9056+ sa.raw.Bdaddr_type = sa.AddrType
9057+ return unsafe.Pointer(&sa.raw), SizeofSockaddrL2, nil
9058+}
9059+
9060+// SockaddrRFCOMM implements the Sockaddr interface for AF_BLUETOOTH type sockets
9061+// using the RFCOMM protocol.
9062+//
9063+// Server example:
9064+//
9065+// fd, _ := Socket(AF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM)
9066+// _ = unix.Bind(fd, &unix.SockaddrRFCOMM{
9067+// Channel: 1,
9068+// Addr: [6]uint8{0, 0, 0, 0, 0, 0}, // BDADDR_ANY or 00:00:00:00:00:00
9069+// })
9070+// _ = Listen(fd, 1)
9071+// nfd, sa, _ := Accept(fd)
9072+// fmt.Printf("conn addr=%v fd=%d", sa.(*unix.SockaddrRFCOMM).Addr, nfd)
9073+// Read(nfd, buf)
9074+//
9075+// Client example:
9076+//
9077+// fd, _ := Socket(AF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM)
9078+// _ = Connect(fd, &SockaddrRFCOMM{
9079+// Channel: 1,
9080+// Addr: [6]byte{0x11, 0x22, 0x33, 0xaa, 0xbb, 0xcc}, // CC:BB:AA:33:22:11
9081+// })
9082+// Write(fd, []byte(`hello`))
9083+type SockaddrRFCOMM struct {
9084+ // Addr represents a bluetooth address, byte ordering is little-endian.
9085+ Addr [6]uint8
9086+
9087+ // Channel is a designated bluetooth channel, only 1-30 are available for use.
9088+ // Since Linux 2.6.7 and further zero value is the first available channel.
9089+ Channel uint8
9090+
9091+ raw RawSockaddrRFCOMM
9092+}
9093+
9094+func (sa *SockaddrRFCOMM) sockaddr() (unsafe.Pointer, _Socklen, error) {
9095+ sa.raw.Family = AF_BLUETOOTH
9096+ sa.raw.Channel = sa.Channel
9097+ sa.raw.Bdaddr = sa.Addr
9098+ return unsafe.Pointer(&sa.raw), SizeofSockaddrRFCOMM, nil
9099+}
9100+
9101 // SockaddrCAN implements the Sockaddr interface for AF_CAN type sockets.
9102 // The RxID and TxID fields are used for transport protocol addressing in
9103 // (CAN_TP16, CAN_TP20, CAN_MCNET, and CAN_ISOTP), they can be left with
9104@@ -630,7 +712,168 @@ func (sa *SockaddrVM) sockaddr() (unsafe.Pointer, _Socklen, error) {
9105 return unsafe.Pointer(&sa.raw), SizeofSockaddrVM, nil
9106 }
9107
9108-func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) {
9109+type SockaddrXDP struct {
9110+ Flags uint16
9111+ Ifindex uint32
9112+ QueueID uint32
9113+ SharedUmemFD uint32
9114+ raw RawSockaddrXDP
9115+}
9116+
9117+func (sa *SockaddrXDP) sockaddr() (unsafe.Pointer, _Socklen, error) {
9118+ sa.raw.Family = AF_XDP
9119+ sa.raw.Flags = sa.Flags
9120+ sa.raw.Ifindex = sa.Ifindex
9121+ sa.raw.Queue_id = sa.QueueID
9122+ sa.raw.Shared_umem_fd = sa.SharedUmemFD
9123+
9124+ return unsafe.Pointer(&sa.raw), SizeofSockaddrXDP, nil
9125+}
9126+
9127+// This constant mirrors the #define of PX_PROTO_OE in
9128+// linux/if_pppox.h. We're defining this by hand here instead of
9129+// autogenerating through mkerrors.sh because including
9130+// linux/if_pppox.h causes some declaration conflicts with other
9131+// includes (linux/if_pppox.h includes linux/in.h, which conflicts
9132+// with netinet/in.h). Given that we only need a single zero constant
9133+// out of that file, it's cleaner to just define it by hand here.
9134+const px_proto_oe = 0
9135+
9136+type SockaddrPPPoE struct {
9137+ SID uint16
9138+ Remote []byte
9139+ Dev string
9140+ raw RawSockaddrPPPoX
9141+}
9142+
9143+func (sa *SockaddrPPPoE) sockaddr() (unsafe.Pointer, _Socklen, error) {
9144+ if len(sa.Remote) != 6 {
9145+ return nil, 0, EINVAL
9146+ }
9147+ if len(sa.Dev) > IFNAMSIZ-1 {
9148+ return nil, 0, EINVAL
9149+ }
9150+
9151+ *(*uint16)(unsafe.Pointer(&sa.raw[0])) = AF_PPPOX
9152+ // This next field is in host-endian byte order. We can't use the
9153+ // same unsafe pointer cast as above, because this value is not
9154+ // 32-bit aligned and some architectures don't allow unaligned
9155+ // access.
9156+ //
9157+ // However, the value of px_proto_oe is 0, so we can use
9158+ // encoding/binary helpers to write the bytes without worrying
9159+ // about the ordering.
9160+ binary.BigEndian.PutUint32(sa.raw[2:6], px_proto_oe)
9161+ // This field is deliberately big-endian, unlike the previous
9162+ // one. The kernel expects SID to be in network byte order.
9163+ binary.BigEndian.PutUint16(sa.raw[6:8], sa.SID)
9164+ copy(sa.raw[8:14], sa.Remote)
9165+ for i := 14; i < 14+IFNAMSIZ; i++ {
9166+ sa.raw[i] = 0
9167+ }
9168+ copy(sa.raw[14:], sa.Dev)
9169+ return unsafe.Pointer(&sa.raw), SizeofSockaddrPPPoX, nil
9170+}
9171+
9172+// SockaddrTIPC implements the Sockaddr interface for AF_TIPC type sockets.
9173+// For more information on TIPC, see: http://tipc.sourceforge.net/.
9174+type SockaddrTIPC struct {
9175+ // Scope is the publication scopes when binding service/service range.
9176+ // Should be set to TIPC_CLUSTER_SCOPE or TIPC_NODE_SCOPE.
9177+ Scope int
9178+
9179+ // Addr is the type of address used to manipulate a socket. Addr must be
9180+ // one of:
9181+ // - *TIPCSocketAddr: "id" variant in the C addr union
9182+ // - *TIPCServiceRange: "nameseq" variant in the C addr union
9183+ // - *TIPCServiceName: "name" variant in the C addr union
9184+ //
9185+ // If nil, EINVAL will be returned when the structure is used.
9186+ Addr TIPCAddr
9187+
9188+ raw RawSockaddrTIPC
9189+}
9190+
9191+// TIPCAddr is implemented by types that can be used as an address for
9192+// SockaddrTIPC. It is only implemented by *TIPCSocketAddr, *TIPCServiceRange,
9193+// and *TIPCServiceName.
9194+type TIPCAddr interface {
9195+ tipcAddrtype() uint8
9196+ tipcAddr() [12]byte
9197+}
9198+
9199+func (sa *TIPCSocketAddr) tipcAddr() [12]byte {
9200+ var out [12]byte
9201+ copy(out[:], (*(*[unsafe.Sizeof(TIPCSocketAddr{})]byte)(unsafe.Pointer(sa)))[:])
9202+ return out
9203+}
9204+
9205+func (sa *TIPCSocketAddr) tipcAddrtype() uint8 { return TIPC_SOCKET_ADDR }
9206+
9207+func (sa *TIPCServiceRange) tipcAddr() [12]byte {
9208+ var out [12]byte
9209+ copy(out[:], (*(*[unsafe.Sizeof(TIPCServiceRange{})]byte)(unsafe.Pointer(sa)))[:])
9210+ return out
9211+}
9212+
9213+func (sa *TIPCServiceRange) tipcAddrtype() uint8 { return TIPC_SERVICE_RANGE }
9214+
9215+func (sa *TIPCServiceName) tipcAddr() [12]byte {
9216+ var out [12]byte
9217+ copy(out[:], (*(*[unsafe.Sizeof(TIPCServiceName{})]byte)(unsafe.Pointer(sa)))[:])
9218+ return out
9219+}
9220+
9221+func (sa *TIPCServiceName) tipcAddrtype() uint8 { return TIPC_SERVICE_ADDR }
9222+
9223+func (sa *SockaddrTIPC) sockaddr() (unsafe.Pointer, _Socklen, error) {
9224+ if sa.Addr == nil {
9225+ return nil, 0, EINVAL
9226+ }
9227+
9228+ sa.raw.Family = AF_TIPC
9229+ sa.raw.Scope = int8(sa.Scope)
9230+ sa.raw.Addrtype = sa.Addr.tipcAddrtype()
9231+ sa.raw.Addr = sa.Addr.tipcAddr()
9232+
9233+ return unsafe.Pointer(&sa.raw), SizeofSockaddrTIPC, nil
9234+}
9235+
9236+// SockaddrL2TPIP implements the Sockaddr interface for IPPROTO_L2TP/AF_INET sockets.
9237+type SockaddrL2TPIP struct {
9238+ Addr [4]byte
9239+ ConnId uint32
9240+ raw RawSockaddrL2TPIP
9241+}
9242+
9243+func (sa *SockaddrL2TPIP) sockaddr() (unsafe.Pointer, _Socklen, error) {
9244+ sa.raw.Family = AF_INET
9245+ sa.raw.Conn_id = sa.ConnId
9246+ for i := 0; i < len(sa.Addr); i++ {
9247+ sa.raw.Addr[i] = sa.Addr[i]
9248+ }
9249+ return unsafe.Pointer(&sa.raw), SizeofSockaddrL2TPIP, nil
9250+}
9251+
9252+// SockaddrL2TPIP6 implements the Sockaddr interface for IPPROTO_L2TP/AF_INET6 sockets.
9253+type SockaddrL2TPIP6 struct {
9254+ Addr [16]byte
9255+ ZoneId uint32
9256+ ConnId uint32
9257+ raw RawSockaddrL2TPIP6
9258+}
9259+
9260+func (sa *SockaddrL2TPIP6) sockaddr() (unsafe.Pointer, _Socklen, error) {
9261+ sa.raw.Family = AF_INET6
9262+ sa.raw.Conn_id = sa.ConnId
9263+ sa.raw.Scope_id = sa.ZoneId
9264+ for i := 0; i < len(sa.Addr); i++ {
9265+ sa.raw.Addr[i] = sa.Addr[i]
9266+ }
9267+ return unsafe.Pointer(&sa.raw), SizeofSockaddrL2TPIP6, nil
9268+}
9269+
9270+func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) {
9271 switch rsa.Addr.Family {
9272 case AF_NETLINK:
9273 pp := (*RawSockaddrNetlink)(unsafe.Pointer(rsa))
9274@@ -675,30 +918,63 @@ func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) {
9275 for n < len(pp.Path) && pp.Path[n] != 0 {
9276 n++
9277 }
9278- bytes := (*[10000]byte)(unsafe.Pointer(&pp.Path[0]))[0:n]
9279+ bytes := (*[len(pp.Path)]byte)(unsafe.Pointer(&pp.Path[0]))[0:n]
9280 sa.Name = string(bytes)
9281 return sa, nil
9282
9283 case AF_INET:
9284- pp := (*RawSockaddrInet4)(unsafe.Pointer(rsa))
9285- sa := new(SockaddrInet4)
9286- p := (*[2]byte)(unsafe.Pointer(&pp.Port))
9287- sa.Port = int(p[0])<<8 + int(p[1])
9288- for i := 0; i < len(sa.Addr); i++ {
9289- sa.Addr[i] = pp.Addr[i]
9290+ proto, err := GetsockoptInt(fd, SOL_SOCKET, SO_PROTOCOL)
9291+ if err != nil {
9292+ return nil, err
9293+ }
9294+
9295+ switch proto {
9296+ case IPPROTO_L2TP:
9297+ pp := (*RawSockaddrL2TPIP)(unsafe.Pointer(rsa))
9298+ sa := new(SockaddrL2TPIP)
9299+ sa.ConnId = pp.Conn_id
9300+ for i := 0; i < len(sa.Addr); i++ {
9301+ sa.Addr[i] = pp.Addr[i]
9302+ }
9303+ return sa, nil
9304+ default:
9305+ pp := (*RawSockaddrInet4)(unsafe.Pointer(rsa))
9306+ sa := new(SockaddrInet4)
9307+ p := (*[2]byte)(unsafe.Pointer(&pp.Port))
9308+ sa.Port = int(p[0])<<8 + int(p[1])
9309+ for i := 0; i < len(sa.Addr); i++ {
9310+ sa.Addr[i] = pp.Addr[i]
9311+ }
9312+ return sa, nil
9313 }
9314- return sa, nil
9315
9316 case AF_INET6:
9317- pp := (*RawSockaddrInet6)(unsafe.Pointer(rsa))
9318- sa := new(SockaddrInet6)
9319- p := (*[2]byte)(unsafe.Pointer(&pp.Port))
9320- sa.Port = int(p[0])<<8 + int(p[1])
9321- sa.ZoneId = pp.Scope_id
9322- for i := 0; i < len(sa.Addr); i++ {
9323- sa.Addr[i] = pp.Addr[i]
9324+ proto, err := GetsockoptInt(fd, SOL_SOCKET, SO_PROTOCOL)
9325+ if err != nil {
9326+ return nil, err
9327+ }
9328+
9329+ switch proto {
9330+ case IPPROTO_L2TP:
9331+ pp := (*RawSockaddrL2TPIP6)(unsafe.Pointer(rsa))
9332+ sa := new(SockaddrL2TPIP6)
9333+ sa.ConnId = pp.Conn_id
9334+ sa.ZoneId = pp.Scope_id
9335+ for i := 0; i < len(sa.Addr); i++ {
9336+ sa.Addr[i] = pp.Addr[i]
9337+ }
9338+ return sa, nil
9339+ default:
9340+ pp := (*RawSockaddrInet6)(unsafe.Pointer(rsa))
9341+ sa := new(SockaddrInet6)
9342+ p := (*[2]byte)(unsafe.Pointer(&pp.Port))
9343+ sa.Port = int(p[0])<<8 + int(p[1])
9344+ sa.ZoneId = pp.Scope_id
9345+ for i := 0; i < len(sa.Addr); i++ {
9346+ sa.Addr[i] = pp.Addr[i]
9347+ }
9348+ return sa, nil
9349 }
9350- return sa, nil
9351
9352 case AF_VSOCK:
9353 pp := (*RawSockaddrVM)(unsafe.Pointer(rsa))
9354@@ -706,6 +982,76 @@ func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) {
9355 CID: pp.Cid,
9356 Port: pp.Port,
9357 }
9358+ return sa, nil
9359+ case AF_BLUETOOTH:
9360+ proto, err := GetsockoptInt(fd, SOL_SOCKET, SO_PROTOCOL)
9361+ if err != nil {
9362+ return nil, err
9363+ }
9364+ // only BTPROTO_L2CAP and BTPROTO_RFCOMM can accept connections
9365+ switch proto {
9366+ case BTPROTO_L2CAP:
9367+ pp := (*RawSockaddrL2)(unsafe.Pointer(rsa))
9368+ sa := &SockaddrL2{
9369+ PSM: pp.Psm,
9370+ CID: pp.Cid,
9371+ Addr: pp.Bdaddr,
9372+ AddrType: pp.Bdaddr_type,
9373+ }
9374+ return sa, nil
9375+ case BTPROTO_RFCOMM:
9376+ pp := (*RawSockaddrRFCOMM)(unsafe.Pointer(rsa))
9377+ sa := &SockaddrRFCOMM{
9378+ Channel: pp.Channel,
9379+ Addr: pp.Bdaddr,
9380+ }
9381+ return sa, nil
9382+ }
9383+ case AF_XDP:
9384+ pp := (*RawSockaddrXDP)(unsafe.Pointer(rsa))
9385+ sa := &SockaddrXDP{
9386+ Flags: pp.Flags,
9387+ Ifindex: pp.Ifindex,
9388+ QueueID: pp.Queue_id,
9389+ SharedUmemFD: pp.Shared_umem_fd,
9390+ }
9391+ return sa, nil
9392+ case AF_PPPOX:
9393+ pp := (*RawSockaddrPPPoX)(unsafe.Pointer(rsa))
9394+ if binary.BigEndian.Uint32(pp[2:6]) != px_proto_oe {
9395+ return nil, EINVAL
9396+ }
9397+ sa := &SockaddrPPPoE{
9398+ SID: binary.BigEndian.Uint16(pp[6:8]),
9399+ Remote: pp[8:14],
9400+ }
9401+ for i := 14; i < 14+IFNAMSIZ; i++ {
9402+ if pp[i] == 0 {
9403+ sa.Dev = string(pp[14:i])
9404+ break
9405+ }
9406+ }
9407+ return sa, nil
9408+ case AF_TIPC:
9409+ pp := (*RawSockaddrTIPC)(unsafe.Pointer(rsa))
9410+
9411+ sa := &SockaddrTIPC{
9412+ Scope: int(pp.Scope),
9413+ }
9414+
9415+ // Determine which union variant is present in pp.Addr by checking
9416+ // pp.Addrtype.
9417+ switch pp.Addrtype {
9418+ case TIPC_SERVICE_RANGE:
9419+ sa.Addr = (*TIPCServiceRange)(unsafe.Pointer(&pp.Addr))
9420+ case TIPC_SERVICE_ADDR:
9421+ sa.Addr = (*TIPCServiceName)(unsafe.Pointer(&pp.Addr))
9422+ case TIPC_SOCKET_ADDR:
9423+ sa.Addr = (*TIPCSocketAddr)(unsafe.Pointer(&pp.Addr))
9424+ default:
9425+ return nil, EINVAL
9426+ }
9427+
9428 return sa, nil
9429 }
9430 return nil, EAFNOSUPPORT
9431@@ -718,7 +1064,7 @@ func Accept(fd int) (nfd int, sa Sockaddr, err error) {
9432 if err != nil {
9433 return
9434 }
9435- sa, err = anyToSockaddr(&rsa)
9436+ sa, err = anyToSockaddr(fd, &rsa)
9437 if err != nil {
9438 Close(nfd)
9439 nfd = 0
9440@@ -736,7 +1082,7 @@ func Accept4(fd int, flags int) (nfd int, sa Sockaddr, err error) {
9441 if len > SizeofSockaddrAny {
9442 panic("RawSockaddrAny too small")
9443 }
9444- sa, err = anyToSockaddr(&rsa)
9445+ sa, err = anyToSockaddr(fd, &rsa)
9446 if err != nil {
9447 Close(nfd)
9448 nfd = 0
9449@@ -750,20 +1096,7 @@ func Getsockname(fd int) (sa Sockaddr, err error) {
9450 if err = getsockname(fd, &rsa, &len); err != nil {
9451 return
9452 }
9453- return anyToSockaddr(&rsa)
9454-}
9455-
9456-func GetsockoptInet4Addr(fd, level, opt int) (value [4]byte, err error) {
9457- vallen := _Socklen(4)
9458- err = getsockopt(fd, level, opt, unsafe.Pointer(&value[0]), &vallen)
9459- return value, err
9460-}
9461-
9462-func GetsockoptIPMreq(fd, level, opt int) (*IPMreq, error) {
9463- var value IPMreq
9464- vallen := _Socklen(SizeofIPMreq)
9465- err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
9466- return &value, err
9467+ return anyToSockaddr(fd, &rsa)
9468 }
9469
9470 func GetsockoptIPMreqn(fd, level, opt int) (*IPMreqn, error) {
9471@@ -773,37 +1106,48 @@ func GetsockoptIPMreqn(fd, level, opt int) (*IPMreqn, error) {
9472 return &value, err
9473 }
9474
9475-func GetsockoptIPv6Mreq(fd, level, opt int) (*IPv6Mreq, error) {
9476- var value IPv6Mreq
9477- vallen := _Socklen(SizeofIPv6Mreq)
9478+func GetsockoptUcred(fd, level, opt int) (*Ucred, error) {
9479+ var value Ucred
9480+ vallen := _Socklen(SizeofUcred)
9481 err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
9482 return &value, err
9483 }
9484
9485-func GetsockoptIPv6MTUInfo(fd, level, opt int) (*IPv6MTUInfo, error) {
9486- var value IPv6MTUInfo
9487- vallen := _Socklen(SizeofIPv6MTUInfo)
9488+func GetsockoptTCPInfo(fd, level, opt int) (*TCPInfo, error) {
9489+ var value TCPInfo
9490+ vallen := _Socklen(SizeofTCPInfo)
9491 err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
9492 return &value, err
9493 }
9494
9495-func GetsockoptICMPv6Filter(fd, level, opt int) (*ICMPv6Filter, error) {
9496- var value ICMPv6Filter
9497- vallen := _Socklen(SizeofICMPv6Filter)
9498- err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
9499- return &value, err
9500+// GetsockoptString returns the string value of the socket option opt for the
9501+// socket associated with fd at the given socket level.
9502+func GetsockoptString(fd, level, opt int) (string, error) {
9503+ buf := make([]byte, 256)
9504+ vallen := _Socklen(len(buf))
9505+ err := getsockopt(fd, level, opt, unsafe.Pointer(&buf[0]), &vallen)
9506+ if err != nil {
9507+ if err == ERANGE {
9508+ buf = make([]byte, vallen)
9509+ err = getsockopt(fd, level, opt, unsafe.Pointer(&buf[0]), &vallen)
9510+ }
9511+ if err != nil {
9512+ return "", err
9513+ }
9514+ }
9515+ return string(buf[:vallen-1]), nil
9516 }
9517
9518-func GetsockoptUcred(fd, level, opt int) (*Ucred, error) {
9519- var value Ucred
9520- vallen := _Socklen(SizeofUcred)
9521+func GetsockoptTpacketStats(fd, level, opt int) (*TpacketStats, error) {
9522+ var value TpacketStats
9523+ vallen := _Socklen(SizeofTpacketStats)
9524 err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
9525 return &value, err
9526 }
9527
9528-func GetsockoptTCPInfo(fd, level, opt int) (*TCPInfo, error) {
9529- var value TCPInfo
9530- vallen := _Socklen(SizeofTCPInfo)
9531+func GetsockoptTpacketStatsV3(fd, level, opt int) (*TpacketStatsV3, error) {
9532+ var value TpacketStatsV3
9533+ vallen := _Socklen(SizeofTpacketStatsV3)
9534 err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
9535 return &value, err
9536 }
9537@@ -812,6 +1156,32 @@ func SetsockoptIPMreqn(fd, level, opt int, mreq *IPMreqn) (err error) {
9538 return setsockopt(fd, level, opt, unsafe.Pointer(mreq), unsafe.Sizeof(*mreq))
9539 }
9540
9541+func SetsockoptPacketMreq(fd, level, opt int, mreq *PacketMreq) error {
9542+ return setsockopt(fd, level, opt, unsafe.Pointer(mreq), unsafe.Sizeof(*mreq))
9543+}
9544+
9545+// SetsockoptSockFprog attaches a classic BPF or an extended BPF program to a
9546+// socket to filter incoming packets. See 'man 7 socket' for usage information.
9547+func SetsockoptSockFprog(fd, level, opt int, fprog *SockFprog) error {
9548+ return setsockopt(fd, level, opt, unsafe.Pointer(fprog), unsafe.Sizeof(*fprog))
9549+}
9550+
9551+func SetsockoptCanRawFilter(fd, level, opt int, filter []CanFilter) error {
9552+ var p unsafe.Pointer
9553+ if len(filter) > 0 {
9554+ p = unsafe.Pointer(&filter[0])
9555+ }
9556+ return setsockopt(fd, level, opt, p, uintptr(len(filter)*SizeofCanFilter))
9557+}
9558+
9559+func SetsockoptTpacketReq(fd, level, opt int, tp *TpacketReq) error {
9560+ return setsockopt(fd, level, opt, unsafe.Pointer(tp), unsafe.Sizeof(*tp))
9561+}
9562+
9563+func SetsockoptTpacketReq3(fd, level, opt int, tp *TpacketReq3) error {
9564+ return setsockopt(fd, level, opt, unsafe.Pointer(tp), unsafe.Sizeof(*tp))
9565+}
9566+
9567 // Keyctl Commands (http://man7.org/linux/man-pages/man2/keyctl.2.html)
9568
9569 // KeyctlInt calls keyctl commands in which each argument is an int.
9570@@ -919,6 +1289,34 @@ func KeyctlDHCompute(params *KeyctlDHParams, buffer []byte) (size int, err error
9571 return keyctlDH(KEYCTL_DH_COMPUTE, params, buffer)
9572 }
9573
9574+// KeyctlRestrictKeyring implements the KEYCTL_RESTRICT_KEYRING command. This
9575+// command limits the set of keys that can be linked to the keyring, regardless
9576+// of keyring permissions. The command requires the "setattr" permission.
9577+//
9578+// When called with an empty keyType the command locks the keyring, preventing
9579+// any further keys from being linked to the keyring.
9580+//
9581+// The "asymmetric" keyType defines restrictions requiring key payloads to be
9582+// DER encoded X.509 certificates signed by keys in another keyring. Restrictions
9583+// for "asymmetric" include "builtin_trusted", "builtin_and_secondary_trusted",
9584+// "key_or_keyring:<key>", and "key_or_keyring:<key>:chain".
9585+//
9586+// As of Linux 4.12, only the "asymmetric" keyType defines type-specific
9587+// restrictions.
9588+//
9589+// See the full documentation at:
9590+// http://man7.org/linux/man-pages/man3/keyctl_restrict_keyring.3.html
9591+// http://man7.org/linux/man-pages/man2/keyctl.2.html
9592+func KeyctlRestrictKeyring(ringid int, keyType string, restriction string) error {
9593+ if keyType == "" {
9594+ return keyctlRestrictKeyring(KEYCTL_RESTRICT_KEYRING, ringid)
9595+ }
9596+ return keyctlRestrictKeyringByType(KEYCTL_RESTRICT_KEYRING, ringid, keyType, restriction)
9597+}
9598+
9599+//sys keyctlRestrictKeyringByType(cmd int, arg2 int, keyType string, restriction string) (err error) = SYS_KEYCTL
9600+//sys keyctlRestrictKeyring(cmd int, arg2 int) (err error) = SYS_KEYCTL
9601+
9602 func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) {
9603 var msg Msghdr
9604 var rsa RawSockaddrAny
9605@@ -926,22 +1324,24 @@ func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from
9606 msg.Namelen = uint32(SizeofSockaddrAny)
9607 var iov Iovec
9608 if len(p) > 0 {
9609- iov.Base = (*byte)(unsafe.Pointer(&p[0]))
9610+ iov.Base = &p[0]
9611 iov.SetLen(len(p))
9612 }
9613 var dummy byte
9614 if len(oob) > 0 {
9615- var sockType int
9616- sockType, err = GetsockoptInt(fd, SOL_SOCKET, SO_TYPE)
9617- if err != nil {
9618- return
9619+ if len(p) == 0 {
9620+ var sockType int
9621+ sockType, err = GetsockoptInt(fd, SOL_SOCKET, SO_TYPE)
9622+ if err != nil {
9623+ return
9624+ }
9625+ // receive at least one normal byte
9626+ if sockType != SOCK_DGRAM {
9627+ iov.Base = &dummy
9628+ iov.SetLen(1)
9629+ }
9630 }
9631- // receive at least one normal byte
9632- if sockType != SOCK_DGRAM && len(p) == 0 {
9633- iov.Base = &dummy
9634- iov.SetLen(1)
9635- }
9636- msg.Control = (*byte)(unsafe.Pointer(&oob[0]))
9637+ msg.Control = &oob[0]
9638 msg.SetControllen(len(oob))
9639 }
9640 msg.Iov = &iov
9641@@ -953,7 +1353,7 @@ func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from
9642 recvflags = int(msg.Flags)
9643 // source address is only specified if the socket is unconnected
9644 if rsa.Addr.Family != AF_UNSPEC {
9645- from, err = anyToSockaddr(&rsa)
9646+ from, err = anyToSockaddr(fd, &rsa)
9647 }
9648 return
9649 }
9650@@ -974,26 +1374,28 @@ func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error)
9651 }
9652 }
9653 var msg Msghdr
9654- msg.Name = (*byte)(unsafe.Pointer(ptr))
9655+ msg.Name = (*byte)(ptr)
9656 msg.Namelen = uint32(salen)
9657 var iov Iovec
9658 if len(p) > 0 {
9659- iov.Base = (*byte)(unsafe.Pointer(&p[0]))
9660+ iov.Base = &p[0]
9661 iov.SetLen(len(p))
9662 }
9663 var dummy byte
9664 if len(oob) > 0 {
9665- var sockType int
9666- sockType, err = GetsockoptInt(fd, SOL_SOCKET, SO_TYPE)
9667- if err != nil {
9668- return 0, err
9669+ if len(p) == 0 {
9670+ var sockType int
9671+ sockType, err = GetsockoptInt(fd, SOL_SOCKET, SO_TYPE)
9672+ if err != nil {
9673+ return 0, err
9674+ }
9675+ // send at least one normal byte
9676+ if sockType != SOCK_DGRAM {
9677+ iov.Base = &dummy
9678+ iov.SetLen(1)
9679+ }
9680 }
9681- // send at least one normal byte
9682- if sockType != SOCK_DGRAM && len(p) == 0 {
9683- iov.Base = &dummy
9684- iov.SetLen(1)
9685- }
9686- msg.Control = (*byte)(unsafe.Pointer(&oob[0]))
9687+ msg.Control = &oob[0]
9688 msg.SetControllen(len(oob))
9689 }
9690 msg.Iov = &iov
9691@@ -1021,20 +1423,20 @@ func ptracePeek(req int, pid int, addr uintptr, out []byte) (count int, err erro
9692 // The ptrace syscall differs from glibc's ptrace.
9693 // Peeks returns the word in *data, not as the return value.
9694
9695- var buf [sizeofPtr]byte
9696+ var buf [SizeofPtr]byte
9697
9698- // Leading edge. PEEKTEXT/PEEKDATA don't require aligned
9699+ // Leading edge. PEEKTEXT/PEEKDATA don't require aligned
9700 // access (PEEKUSER warns that it might), but if we don't
9701 // align our reads, we might straddle an unmapped page
9702 // boundary and not get the bytes leading up to the page
9703 // boundary.
9704 n := 0
9705- if addr%sizeofPtr != 0 {
9706- err = ptrace(req, pid, addr-addr%sizeofPtr, uintptr(unsafe.Pointer(&buf[0])))
9707+ if addr%SizeofPtr != 0 {
9708+ err = ptrace(req, pid, addr-addr%SizeofPtr, uintptr(unsafe.Pointer(&buf[0])))
9709 if err != nil {
9710 return 0, err
9711 }
9712- n += copy(out, buf[addr%sizeofPtr:])
9713+ n += copy(out, buf[addr%SizeofPtr:])
9714 out = out[n:]
9715 }
9716
9717@@ -1072,15 +1474,15 @@ func ptracePoke(pokeReq int, peekReq int, pid int, addr uintptr, data []byte) (c
9718
9719 // Leading edge.
9720 n := 0
9721- if addr%sizeofPtr != 0 {
9722- var buf [sizeofPtr]byte
9723- err = ptrace(peekReq, pid, addr-addr%sizeofPtr, uintptr(unsafe.Pointer(&buf[0])))
9724+ if addr%SizeofPtr != 0 {
9725+ var buf [SizeofPtr]byte
9726+ err = ptrace(peekReq, pid, addr-addr%SizeofPtr, uintptr(unsafe.Pointer(&buf[0])))
9727 if err != nil {
9728 return 0, err
9729 }
9730- n += copy(buf[addr%sizeofPtr:], data)
9731+ n += copy(buf[addr%SizeofPtr:], data)
9732 word := *((*uintptr)(unsafe.Pointer(&buf[0])))
9733- err = ptrace(pokeReq, pid, addr-addr%sizeofPtr, word)
9734+ err = ptrace(pokeReq, pid, addr-addr%SizeofPtr, word)
9735 if err != nil {
9736 return 0, err
9737 }
9738@@ -1088,19 +1490,19 @@ func ptracePoke(pokeReq int, peekReq int, pid int, addr uintptr, data []byte) (c
9739 }
9740
9741 // Interior.
9742- for len(data) > sizeofPtr {
9743+ for len(data) > SizeofPtr {
9744 word := *((*uintptr)(unsafe.Pointer(&data[0])))
9745 err = ptrace(pokeReq, pid, addr+uintptr(n), word)
9746 if err != nil {
9747 return n, err
9748 }
9749- n += sizeofPtr
9750- data = data[sizeofPtr:]
9751+ n += SizeofPtr
9752+ data = data[SizeofPtr:]
9753 }
9754
9755 // Trailing edge.
9756 if len(data) > 0 {
9757- var buf [sizeofPtr]byte
9758+ var buf [SizeofPtr]byte
9759 err = ptrace(peekReq, pid, addr+uintptr(n), uintptr(unsafe.Pointer(&buf[0])))
9760 if err != nil {
9761 return n, err
9762@@ -1125,6 +1527,10 @@ func PtracePokeData(pid int, addr uintptr, data []byte) (count int, err error) {
9763 return ptracePoke(PTRACE_POKEDATA, PTRACE_PEEKDATA, pid, addr, data)
9764 }
9765
9766+func PtracePokeUser(pid int, addr uintptr, data []byte) (count int, err error) {
9767+ return ptracePoke(PTRACE_POKEUSR, PTRACE_PEEKUSR, pid, addr, data)
9768+}
9769+
9770 func PtraceGetRegs(pid int, regsout *PtraceRegs) (err error) {
9771 return ptrace(PTRACE_GETREGS, pid, 0, uintptr(unsafe.Pointer(regsout)))
9772 }
9773@@ -1154,8 +1560,12 @@ func PtraceSyscall(pid int, signal int) (err error) {
9774
9775 func PtraceSingleStep(pid int) (err error) { return ptrace(PTRACE_SINGLESTEP, pid, 0, 0) }
9776
9777+func PtraceInterrupt(pid int) (err error) { return ptrace(PTRACE_INTERRUPT, pid, 0, 0) }
9778+
9779 func PtraceAttach(pid int) (err error) { return ptrace(PTRACE_ATTACH, pid, 0, 0) }
9780
9781+func PtraceSeize(pid int) (err error) { return ptrace(PTRACE_SEIZE, pid, 0, 0) }
9782+
9783 func PtraceDetach(pid int) (err error) { return ptrace(PTRACE_DETACH, pid, 0, 0) }
9784
9785 //sys reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error)
9786@@ -1164,10 +1574,6 @@ func Reboot(cmd int) (err error) {
9787 return reboot(LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, cmd, "")
9788 }
9789
9790-func ReadDirent(fd int, buf []byte) (n int, err error) {
9791- return Getdents(fd, buf)
9792-}
9793-
9794 func direntIno(buf []byte) (uint64, bool) {
9795 return readInt(buf, unsafe.Offsetof(Dirent{}.Ino), unsafe.Sizeof(Dirent{}.Ino))
9796 }
9797@@ -1199,6 +1605,13 @@ func Mount(source string, target string, fstype string, flags uintptr, data stri
9798 return mount(source, target, fstype, flags, datap)
9799 }
9800
9801+func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
9802+ if raceenabled {
9803+ raceReleaseMerge(unsafe.Pointer(&ioSync))
9804+ }
9805+ return sendfile(outfd, infd, offset, count)
9806+}
9807+
9808 // Sendto
9809 // Recvfrom
9810 // Socketpair
9811@@ -1209,26 +1622,33 @@ func Mount(source string, target string, fstype string, flags uintptr, data stri
9812 //sys Acct(path string) (err error)
9813 //sys AddKey(keyType string, description string, payload []byte, ringid int) (id int, err error)
9814 //sys Adjtimex(buf *Timex) (state int, err error)
9815+//sysnb Capget(hdr *CapUserHeader, data *CapUserData) (err error)
9816+//sysnb Capset(hdr *CapUserHeader, data *CapUserData) (err error)
9817 //sys Chdir(path string) (err error)
9818 //sys Chroot(path string) (err error)
9819+//sys ClockGetres(clockid int32, res *Timespec) (err error)
9820 //sys ClockGettime(clockid int32, time *Timespec) (err error)
9821+//sys ClockNanosleep(clockid int32, flags int, request *Timespec, remain *Timespec) (err error)
9822 //sys Close(fd int) (err error)
9823 //sys CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error)
9824+//sys DeleteModule(name string, flags int) (err error)
9825 //sys Dup(oldfd int) (fd int, err error)
9826 //sys Dup3(oldfd int, newfd int, flags int) (err error)
9827-//sysnb EpollCreate(size int) (fd int, err error)
9828 //sysnb EpollCreate1(flag int) (fd int, err error)
9829 //sysnb EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error)
9830 //sys Eventfd(initval uint, flags int) (fd int, err error) = SYS_EVENTFD2
9831 //sys Exit(code int) = SYS_EXIT_GROUP
9832-//sys Faccessat(dirfd int, path string, mode uint32, flags int) (err error)
9833 //sys Fallocate(fd int, mode uint32, off int64, len int64) (err error)
9834 //sys Fchdir(fd int) (err error)
9835 //sys Fchmod(fd int, mode uint32) (err error)
9836 //sys Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error)
9837-//sys fcntl(fd int, cmd int, arg int) (val int, err error)
9838 //sys Fdatasync(fd int) (err error)
9839+//sys Fgetxattr(fd int, attr string, dest []byte) (sz int, err error)
9840+//sys FinitModule(fd int, params string, flags int) (err error)
9841+//sys Flistxattr(fd int, dest []byte) (sz int, err error)
9842 //sys Flock(fd int, how int) (err error)
9843+//sys Fremovexattr(fd int, attr string) (err error)
9844+//sys Fsetxattr(fd int, attr string, dest []byte, flags int) (err error)
9845 //sys Fsync(fd int) (err error)
9846 //sys Getdents(fd int, buf []byte) (n int, err error) = SYS_GETDENTS64
9847 //sysnb Getpgid(pid int) (pgid int, err error)
9848@@ -1246,6 +1666,7 @@ func Getpgrp() (pid int) {
9849 //sysnb Getsid(pid int) (sid int, err error)
9850 //sysnb Gettid() (tid int)
9851 //sys Getxattr(path string, attr string, dest []byte) (sz int, err error)
9852+//sys InitModule(moduleImage []byte, params string) (err error)
9853 //sys InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error)
9854 //sysnb InotifyInit1(flags int) (fd int, err error)
9855 //sysnb InotifyRmWatch(fd int, watchdesc uint32) (success int, err error)
9856@@ -1256,15 +1677,18 @@ func Getpgrp() (pid int) {
9857 //sys Llistxattr(path string, dest []byte) (sz int, err error)
9858 //sys Lremovexattr(path string, attr string) (err error)
9859 //sys Lsetxattr(path string, attr string, data []byte, flags int) (err error)
9860+//sys MemfdCreate(name string, flags int) (fd int, err error)
9861 //sys Mkdirat(dirfd int, path string, mode uint32) (err error)
9862 //sys Mknodat(dirfd int, path string, mode uint32, dev int) (err error)
9863 //sys Nanosleep(time *Timespec, leftover *Timespec) (err error)
9864+//sys PerfEventOpen(attr *PerfEventAttr, pid int, cpu int, groupFd int, flags int) (fd int, err error)
9865 //sys PivotRoot(newroot string, putold string) (err error) = SYS_PIVOT_ROOT
9866 //sysnb prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) = SYS_PRLIMIT64
9867 //sys Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error)
9868+//sys Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) = SYS_PSELECT6
9869 //sys read(fd int, p []byte) (n int, err error)
9870 //sys Removexattr(path string, attr string) (err error)
9871-//sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
9872+//sys Renameat2(olddirfd int, oldpath string, newdirfd int, newpath string, flags uint) (err error)
9873 //sys RequestKey(keyType string, description string, callback string, destRingid int) (id int, err error)
9874 //sys Setdomainname(p []byte) (err error)
9875 //sys Sethostname(p []byte) (err error)
9876@@ -1273,6 +1697,17 @@ func Getpgrp() (pid int) {
9877 //sysnb Settimeofday(tv *Timeval) (err error)
9878 //sys Setns(fd int, nstype int) (err error)
9879
9880+// PrctlRetInt performs a prctl operation specified by option and further
9881+// optional arguments arg2 through arg5 depending on option. It returns a
9882+// non-negative integer that is returned by the prctl syscall.
9883+func PrctlRetInt(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (int, error) {
9884+ ret, _, err := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
9885+ if err != 0 {
9886+ return 0, err
9887+ }
9888+ return int(ret), nil
9889+}
9890+
9891 // issue 1435.
9892 // On linux Setuid and Setgid only affects the current thread, not the process.
9893 // This does not match what most callers expect so we must return an error
9894@@ -1286,8 +1721,38 @@ func Setgid(uid int) (err error) {
9895 return EOPNOTSUPP
9896 }
9897
9898+// SetfsgidRetGid sets fsgid for current thread and returns previous fsgid set.
9899+// setfsgid(2) will return a non-nil error only if its caller lacks CAP_SETUID capability.
9900+// If the call fails due to other reasons, current fsgid will be returned.
9901+func SetfsgidRetGid(gid int) (int, error) {
9902+ return setfsgid(gid)
9903+}
9904+
9905+// SetfsuidRetUid sets fsuid for current thread and returns previous fsuid set.
9906+// setfsgid(2) will return a non-nil error only if its caller lacks CAP_SETUID capability
9907+// If the call fails due to other reasons, current fsuid will be returned.
9908+func SetfsuidRetUid(uid int) (int, error) {
9909+ return setfsuid(uid)
9910+}
9911+
9912+func Setfsgid(gid int) error {
9913+ _, err := setfsgid(gid)
9914+ return err
9915+}
9916+
9917+func Setfsuid(uid int) error {
9918+ _, err := setfsuid(uid)
9919+ return err
9920+}
9921+
9922+func Signalfd(fd int, sigmask *Sigset_t, flags int) (newfd int, err error) {
9923+ return signalfd(fd, sigmask, _C__NSIG/8, flags)
9924+}
9925+
9926 //sys Setpriority(which int, who int, prio int) (err error)
9927 //sys Setxattr(path string, attr string, data []byte, flags int) (err error)
9928+//sys signalfd(fd int, sigmask *Sigset_t, maskSize uintptr, flags int) (newfd int, err error) = SYS_SIGNALFD4
9929+//sys Statx(dirfd int, path string, flags int, mask int, stat *Statx_t) (err error)
9930 //sys Sync()
9931 //sys Syncfs(fd int) (err error)
9932 //sysnb Sysinfo(info *Sysinfo_t) (err error)
9933@@ -1298,11 +1763,127 @@ func Setgid(uid int) (err error) {
9934 //sysnb Uname(buf *Utsname) (err error)
9935 //sys Unmount(target string, flags int) (err error) = SYS_UMOUNT2
9936 //sys Unshare(flags int) (err error)
9937-//sys Ustat(dev int, ubuf *Ustat_t) (err error)
9938 //sys write(fd int, p []byte) (n int, err error)
9939 //sys exitThread(code int) (err error) = SYS_EXIT
9940 //sys readlen(fd int, p *byte, np int) (n int, err error) = SYS_READ
9941 //sys writelen(fd int, p *byte, np int) (n int, err error) = SYS_WRITE
9942+//sys readv(fd int, iovs []Iovec) (n int, err error) = SYS_READV
9943+//sys writev(fd int, iovs []Iovec) (n int, err error) = SYS_WRITEV
9944+//sys preadv(fd int, iovs []Iovec, offs_l uintptr, offs_h uintptr) (n int, err error) = SYS_PREADV
9945+//sys pwritev(fd int, iovs []Iovec, offs_l uintptr, offs_h uintptr) (n int, err error) = SYS_PWRITEV
9946+//sys preadv2(fd int, iovs []Iovec, offs_l uintptr, offs_h uintptr, flags int) (n int, err error) = SYS_PREADV2
9947+//sys pwritev2(fd int, iovs []Iovec, offs_l uintptr, offs_h uintptr, flags int) (n int, err error) = SYS_PWRITEV2
9948+
9949+func bytes2iovec(bs [][]byte) []Iovec {
9950+ iovecs := make([]Iovec, len(bs))
9951+ for i, b := range bs {
9952+ iovecs[i].SetLen(len(b))
9953+ if len(b) > 0 {
9954+ iovecs[i].Base = &b[0]
9955+ } else {
9956+ iovecs[i].Base = (*byte)(unsafe.Pointer(&_zero))
9957+ }
9958+ }
9959+ return iovecs
9960+}
9961+
9962+// offs2lohi splits offs into its lower and upper unsigned long. On 64-bit
9963+// systems, hi will always be 0. On 32-bit systems, offs will be split in half.
9964+// preadv/pwritev chose this calling convention so they don't need to add a
9965+// padding-register for alignment on ARM.
9966+func offs2lohi(offs int64) (lo, hi uintptr) {
9967+ return uintptr(offs), uintptr(uint64(offs) >> SizeofLong)
9968+}
9969+
9970+func Readv(fd int, iovs [][]byte) (n int, err error) {
9971+ iovecs := bytes2iovec(iovs)
9972+ n, err = readv(fd, iovecs)
9973+ readvRacedetect(iovecs, n, err)
9974+ return n, err
9975+}
9976+
9977+func Preadv(fd int, iovs [][]byte, offset int64) (n int, err error) {
9978+ iovecs := bytes2iovec(iovs)
9979+ lo, hi := offs2lohi(offset)
9980+ n, err = preadv(fd, iovecs, lo, hi)
9981+ readvRacedetect(iovecs, n, err)
9982+ return n, err
9983+}
9984+
9985+func Preadv2(fd int, iovs [][]byte, offset int64, flags int) (n int, err error) {
9986+ iovecs := bytes2iovec(iovs)
9987+ lo, hi := offs2lohi(offset)
9988+ n, err = preadv2(fd, iovecs, lo, hi, flags)
9989+ readvRacedetect(iovecs, n, err)
9990+ return n, err
9991+}
9992+
9993+func readvRacedetect(iovecs []Iovec, n int, err error) {
9994+ if !raceenabled {
9995+ return
9996+ }
9997+ for i := 0; n > 0 && i < len(iovecs); i++ {
9998+ m := int(iovecs[i].Len)
9999+ if m > n {
10000+ m = n
10001+ }
10002+ n -= m
10003+ if m > 0 {
10004+ raceWriteRange(unsafe.Pointer(iovecs[i].Base), m)
10005+ }
10006+ }
10007+ if err == nil {
10008+ raceAcquire(unsafe.Pointer(&ioSync))
10009+ }
10010+}
10011+
10012+func Writev(fd int, iovs [][]byte) (n int, err error) {
10013+ iovecs := bytes2iovec(iovs)
10014+ if raceenabled {
10015+ raceReleaseMerge(unsafe.Pointer(&ioSync))
10016+ }
10017+ n, err = writev(fd, iovecs)
10018+ writevRacedetect(iovecs, n)
10019+ return n, err
10020+}
10021+
10022+func Pwritev(fd int, iovs [][]byte, offset int64) (n int, err error) {
10023+ iovecs := bytes2iovec(iovs)
10024+ if raceenabled {
10025+ raceReleaseMerge(unsafe.Pointer(&ioSync))
10026+ }
10027+ lo, hi := offs2lohi(offset)
10028+ n, err = pwritev(fd, iovecs, lo, hi)
10029+ writevRacedetect(iovecs, n)
10030+ return n, err
10031+}
10032+
10033+func Pwritev2(fd int, iovs [][]byte, offset int64, flags int) (n int, err error) {
10034+ iovecs := bytes2iovec(iovs)
10035+ if raceenabled {
10036+ raceReleaseMerge(unsafe.Pointer(&ioSync))
10037+ }
10038+ lo, hi := offs2lohi(offset)
10039+ n, err = pwritev2(fd, iovecs, lo, hi, flags)
10040+ writevRacedetect(iovecs, n)
10041+ return n, err
10042+}
10043+
10044+func writevRacedetect(iovecs []Iovec, n int) {
10045+ if !raceenabled {
10046+ return
10047+ }
10048+ for i := 0; n > 0 && i < len(iovecs); i++ {
10049+ m := int(iovecs[i].Len)
10050+ if m > n {
10051+ m = n
10052+ }
10053+ n -= m
10054+ if m > 0 {
10055+ raceReadRange(unsafe.Pointer(iovecs[i].Base), m)
10056+ }
10057+ }
10058+}
10059
10060 // mmap varies by architecture; see syscall_linux_*.go.
10061 //sys munmap(addr uintptr, length uintptr) (err error)
10062@@ -1332,15 +1913,12 @@ func Munmap(b []byte) (err error) {
10063 // Vmsplice splices user pages from a slice of Iovecs into a pipe specified by fd,
10064 // using the specified flags.
10065 func Vmsplice(fd int, iovs []Iovec, flags int) (int, error) {
10066- n, _, errno := Syscall6(
10067- SYS_VMSPLICE,
10068- uintptr(fd),
10069- uintptr(unsafe.Pointer(&iovs[0])),
10070- uintptr(len(iovs)),
10071- uintptr(flags),
10072- 0,
10073- 0,
10074- )
10075+ var p unsafe.Pointer
10076+ if len(iovs) > 0 {
10077+ p = unsafe.Pointer(&iovs[0])
10078+ }
10079+
10080+ n, _, errno := Syscall6(SYS_VMSPLICE, uintptr(fd), uintptr(p), uintptr(len(iovs)), uintptr(flags), 0, 0)
10081 if errno != 0 {
10082 return 0, syscall.Errno(errno)
10083 }
10084@@ -1348,6 +1926,164 @@ func Vmsplice(fd int, iovs []Iovec, flags int) (int, error) {
10085 return int(n), nil
10086 }
10087
10088+//sys faccessat(dirfd int, path string, mode uint32) (err error)
10089+
10090+func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
10091+ if flags & ^(AT_SYMLINK_NOFOLLOW|AT_EACCESS) != 0 {
10092+ return EINVAL
10093+ }
10094+
10095+ // The Linux kernel faccessat system call does not take any flags.
10096+ // The glibc faccessat implements the flags itself; see
10097+ // https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/faccessat.c;hb=HEAD
10098+ // Because people naturally expect syscall.Faccessat to act
10099+ // like C faccessat, we do the same.
10100+
10101+ if flags == 0 {
10102+ return faccessat(dirfd, path, mode)
10103+ }
10104+
10105+ var st Stat_t
10106+ if err := Fstatat(dirfd, path, &st, flags&AT_SYMLINK_NOFOLLOW); err != nil {
10107+ return err
10108+ }
10109+
10110+ mode &= 7
10111+ if mode == 0 {
10112+ return nil
10113+ }
10114+
10115+ var uid int
10116+ if flags&AT_EACCESS != 0 {
10117+ uid = Geteuid()
10118+ } else {
10119+ uid = Getuid()
10120+ }
10121+
10122+ if uid == 0 {
10123+ if mode&1 == 0 {
10124+ // Root can read and write any file.
10125+ return nil
10126+ }
10127+ if st.Mode&0111 != 0 {
10128+ // Root can execute any file that anybody can execute.
10129+ return nil
10130+ }
10131+ return EACCES
10132+ }
10133+
10134+ var fmode uint32
10135+ if uint32(uid) == st.Uid {
10136+ fmode = (st.Mode >> 6) & 7
10137+ } else {
10138+ var gid int
10139+ if flags&AT_EACCESS != 0 {
10140+ gid = Getegid()
10141+ } else {
10142+ gid = Getgid()
10143+ }
10144+
10145+ if uint32(gid) == st.Gid {
10146+ fmode = (st.Mode >> 3) & 7
10147+ } else {
10148+ fmode = st.Mode & 7
10149+ }
10150+ }
10151+
10152+ if fmode&mode == mode {
10153+ return nil
10154+ }
10155+
10156+ return EACCES
10157+}
10158+
10159+//sys nameToHandleAt(dirFD int, pathname string, fh *fileHandle, mountID *_C_int, flags int) (err error) = SYS_NAME_TO_HANDLE_AT
10160+//sys openByHandleAt(mountFD int, fh *fileHandle, flags int) (fd int, err error) = SYS_OPEN_BY_HANDLE_AT
10161+
10162+// fileHandle is the argument to nameToHandleAt and openByHandleAt. We
10163+// originally tried to generate it via unix/linux/types.go with "type
10164+// fileHandle C.struct_file_handle" but that generated empty structs
10165+// for mips64 and mips64le. Instead, hard code it for now (it's the
10166+// same everywhere else) until the mips64 generator issue is fixed.
10167+type fileHandle struct {
10168+ Bytes uint32
10169+ Type int32
10170+}
10171+
10172+// FileHandle represents the C struct file_handle used by
10173+// name_to_handle_at (see NameToHandleAt) and open_by_handle_at (see
10174+// OpenByHandleAt).
10175+type FileHandle struct {
10176+ *fileHandle
10177+}
10178+
10179+// NewFileHandle constructs a FileHandle.
10180+func NewFileHandle(handleType int32, handle []byte) FileHandle {
10181+ const hdrSize = unsafe.Sizeof(fileHandle{})
10182+ buf := make([]byte, hdrSize+uintptr(len(handle)))
10183+ copy(buf[hdrSize:], handle)
10184+ fh := (*fileHandle)(unsafe.Pointer(&buf[0]))
10185+ fh.Type = handleType
10186+ fh.Bytes = uint32(len(handle))
10187+ return FileHandle{fh}
10188+}
10189+
10190+func (fh *FileHandle) Size() int { return int(fh.fileHandle.Bytes) }
10191+func (fh *FileHandle) Type() int32 { return fh.fileHandle.Type }
10192+func (fh *FileHandle) Bytes() []byte {
10193+ n := fh.Size()
10194+ if n == 0 {
10195+ return nil
10196+ }
10197+ return (*[1 << 30]byte)(unsafe.Pointer(uintptr(unsafe.Pointer(&fh.fileHandle.Type)) + 4))[:n:n]
10198+}
10199+
10200+// NameToHandleAt wraps the name_to_handle_at system call; it obtains
10201+// a handle for a path name.
10202+func NameToHandleAt(dirfd int, path string, flags int) (handle FileHandle, mountID int, err error) {
10203+ var mid _C_int
10204+ // Try first with a small buffer, assuming the handle will
10205+ // only be 32 bytes.
10206+ size := uint32(32 + unsafe.Sizeof(fileHandle{}))
10207+ didResize := false
10208+ for {
10209+ buf := make([]byte, size)
10210+ fh := (*fileHandle)(unsafe.Pointer(&buf[0]))
10211+ fh.Bytes = size - uint32(unsafe.Sizeof(fileHandle{}))
10212+ err = nameToHandleAt(dirfd, path, fh, &mid, flags)
10213+ if err == EOVERFLOW {
10214+ if didResize {
10215+ // We shouldn't need to resize more than once
10216+ return
10217+ }
10218+ didResize = true
10219+ size = fh.Bytes + uint32(unsafe.Sizeof(fileHandle{}))
10220+ continue
10221+ }
10222+ if err != nil {
10223+ return
10224+ }
10225+ return FileHandle{fh}, int(mid), nil
10226+ }
10227+}
10228+
10229+// OpenByHandleAt wraps the open_by_handle_at system call; it opens a
10230+// file via a handle as previously returned by NameToHandleAt.
10231+func OpenByHandleAt(mountFD int, handle FileHandle, flags int) (fd int, err error) {
10232+ return openByHandleAt(mountFD, handle.fileHandle, flags)
10233+}
10234+
10235+// Klogset wraps the sys_syslog system call; it sets console_loglevel to
10236+// the value specified by arg and passes a dummy pointer to bufp.
10237+func Klogset(typ int, arg int) (err error) {
10238+ var p unsafe.Pointer
10239+ _, _, errno := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(p), uintptr(arg))
10240+ if errno != 0 {
10241+ return errnoErr(errno)
10242+ }
10243+ return nil
10244+}
10245+
10246 /*
10247 * Unimplemented
10248 */
10249@@ -1355,23 +2091,14 @@ func Vmsplice(fd int, iovs []Iovec, flags int) (int, error) {
10250 // Alarm
10251 // ArchPrctl
10252 // Brk
10253-// Capget
10254-// Capset
10255-// ClockGetres
10256 // ClockNanosleep
10257 // ClockSettime
10258 // Clone
10259-// CreateModule
10260-// DeleteModule
10261 // EpollCtlOld
10262 // EpollPwait
10263 // EpollWaitOld
10264 // Execve
10265-// Fgetxattr
10266-// Flistxattr
10267 // Fork
10268-// Fremovexattr
10269-// Fsetxattr
10270 // Futex
10271 // GetKernelSyms
10272 // GetMempolicy
10273@@ -1405,13 +2132,11 @@ func Vmsplice(fd int, iovs []Iovec, flags int) (int, error) {
10274 // Msgget
10275 // Msgrcv
10276 // Msgsnd
10277-// Newfstatat
10278 // Nfsservctl
10279 // Personality
10280 // Pselect6
10281 // Ptrace
10282 // Putpmsg
10283-// QueryModule
10284 // Quotactl
10285 // Readahead
10286 // Readv
10287@@ -1426,11 +2151,9 @@ func Vmsplice(fd int, iovs []Iovec, flags int) (int, error) {
10288 // RtSigtimedwait
10289 // SchedGetPriorityMax
10290 // SchedGetPriorityMin
10291-// SchedGetaffinity
10292 // SchedGetparam
10293 // SchedGetscheduler
10294 // SchedRrGetInterval
10295-// SchedSetaffinity
10296 // SchedSetparam
10297 // SchedYield
10298 // Security
10299@@ -1447,7 +2170,6 @@ func Vmsplice(fd int, iovs []Iovec, flags int) (int, error) {
10300 // Shmdt
10301 // Shmget
10302 // Sigaltstack
10303-// Signalfd
10304 // Swapoff
10305 // Swapon
10306 // Sysfs
10307diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_386.go b/vendor/golang.org/x/sys/unix/syscall_linux_386.go
10308index 2b881b97..a8374b67 100644
10309--- a/vendor/golang.org/x/sys/unix/syscall_linux_386.go
10310+++ b/vendor/golang.org/x/sys/unix/syscall_linux_386.go
10311@@ -10,25 +10,15 @@
10312 package unix
10313
10314 import (
10315- "syscall"
10316 "unsafe"
10317 )
10318
10319-func Getpagesize() int { return 4096 }
10320-
10321-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
10322-
10323-func NsecToTimespec(nsec int64) (ts Timespec) {
10324- ts.Sec = int32(nsec / 1e9)
10325- ts.Nsec = int32(nsec % 1e9)
10326- return
10327+func setTimespec(sec, nsec int64) Timespec {
10328+ return Timespec{Sec: int32(sec), Nsec: int32(nsec)}
10329 }
10330
10331-func NsecToTimeval(nsec int64) (tv Timeval) {
10332- nsec += 999 // round up to microsecond
10333- tv.Sec = int32(nsec / 1e9)
10334- tv.Usec = int32(nsec % 1e9 / 1e3)
10335- return
10336+func setTimeval(sec, usec int64) Timeval {
10337+ return Timeval{Sec: int32(sec), Usec: int32(usec)}
10338 }
10339
10340 //sysnb pipe(p *[2]_C_int) (err error)
10341@@ -60,9 +50,12 @@ func Pipe2(p []int, flags int) (err error) {
10342 // 64-bit file system and 32-bit uid calls
10343 // (386 default is 32-bit file system and 16-bit uid).
10344 //sys Dup2(oldfd int, newfd int) (err error)
10345+//sysnb EpollCreate(size int) (fd int, err error)
10346+//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
10347 //sys Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64_64
10348 //sys Fchown(fd int, uid int, gid int) (err error) = SYS_FCHOWN32
10349 //sys Fstat(fd int, stat *Stat_t) (err error) = SYS_FSTAT64
10350+//sys Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) = SYS_FSTATAT64
10351 //sys Ftruncate(fd int, length int64) (err error) = SYS_FTRUNCATE64
10352 //sysnb Getegid() (egid int) = SYS_GETEGID32
10353 //sysnb Geteuid() (euid int) = SYS_GETEUID32
10354@@ -75,9 +68,10 @@ func Pipe2(p []int, flags int) (err error) {
10355 //sys Lstat(path string, stat *Stat_t) (err error) = SYS_LSTAT64
10356 //sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
10357 //sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
10358+//sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
10359 //sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) = SYS_SENDFILE64
10360-//sys Setfsgid(gid int) (err error) = SYS_SETFSGID32
10361-//sys Setfsuid(uid int) (err error) = SYS_SETFSUID32
10362+//sys setfsgid(gid int) (prev int, err error) = SYS_SETFSGID32
10363+//sys setfsuid(uid int) (prev int, err error) = SYS_SETFSUID32
10364 //sysnb Setregid(rgid int, egid int) (err error) = SYS_SETREGID32
10365 //sysnb Setresgid(rgid int, egid int, sgid int) (err error) = SYS_SETRESGID32
10366 //sysnb Setresuid(ruid int, euid int, suid int) (err error) = SYS_SETRESUID32
10367@@ -86,12 +80,12 @@ func Pipe2(p []int, flags int) (err error) {
10368 //sys Stat(path string, stat *Stat_t) (err error) = SYS_STAT64
10369 //sys SyncFileRange(fd int, off int64, n int64, flags int) (err error)
10370 //sys Truncate(path string, length int64) (err error) = SYS_TRUNCATE64
10371+//sys Ustat(dev int, ubuf *Ustat_t) (err error)
10372 //sysnb getgroups(n int, list *_Gid_t) (nn int, err error) = SYS_GETGROUPS32
10373 //sysnb setgroups(n int, list *_Gid_t) (err error) = SYS_SETGROUPS32
10374 //sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS__NEWSELECT
10375
10376 //sys mmap2(addr uintptr, length uintptr, prot int, flags int, fd int, pageOffset uintptr) (xaddr uintptr, err error)
10377-//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
10378 //sys Pause() (err error)
10379
10380 func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
10381@@ -165,10 +159,6 @@ func Setrlimit(resource int, rlim *Rlimit) (err error) {
10382 return setrlimit(resource, &rl)
10383 }
10384
10385-// Underlying system call writes to newoffset via pointer.
10386-// Implemented in assembly to avoid allocation.
10387-func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno)
10388-
10389 func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
10390 newoffset, errno := seek(fd, offset, whence)
10391 if errno != 0 {
10392@@ -177,17 +167,17 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
10393 return newoffset, nil
10394 }
10395
10396-// Vsyscalls on amd64.
10397+//sys futimesat(dirfd int, path string, times *[2]Timeval) (err error)
10398 //sysnb Gettimeofday(tv *Timeval) (err error)
10399 //sysnb Time(t *Time_t) (tt Time_t, err error)
10400-
10401 //sys Utime(path string, buf *Utimbuf) (err error)
10402+//sys utimes(path string, times *[2]Timeval) (err error)
10403
10404 // On x86 Linux, all the socket calls go through an extra indirection,
10405 // I think because the 5-register system call interface can't handle
10406-// the 6-argument calls like sendto and recvfrom. Instead the
10407+// the 6-argument calls like sendto and recvfrom. Instead the
10408 // arguments to the underlying system call are the number below
10409-// and a pointer to an array of uintptr. We hide the pointer in the
10410+// and a pointer to an array of uintptr. We hide the pointer in the
10411 // socketcall assembly to avoid allocation on every system call.
10412
10413 const (
10414@@ -214,9 +204,6 @@ const (
10415 _SENDMMSG = 20
10416 )
10417
10418-func socketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno)
10419-func rawsocketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno)
10420-
10421 func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
10422 fd, e := socketcall(_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
10423 if e != 0 {
10424@@ -385,6 +372,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
10425 msghdr.Controllen = uint32(length)
10426 }
10427
10428+func (msghdr *Msghdr) SetIovlen(length int) {
10429+ msghdr.Iovlen = uint32(length)
10430+}
10431+
10432 func (cmsg *Cmsghdr) SetLen(length int) {
10433 cmsg.Len = uint32(length)
10434 }
10435diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go b/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go
10436index 9516a3fd..8ed1d546 100644
10437--- a/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go
10438+++ b/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go
10439@@ -7,10 +7,12 @@
10440 package unix
10441
10442 //sys Dup2(oldfd int, newfd int) (err error)
10443+//sysnb EpollCreate(size int) (fd int, err error)
10444 //sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
10445 //sys Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64
10446 //sys Fchown(fd int, uid int, gid int) (err error)
10447 //sys Fstat(fd int, stat *Stat_t) (err error)
10448+//sys Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) = SYS_NEWFSTATAT
10449 //sys Fstatfs(fd int, buf *Statfs_t) (err error)
10450 //sys Ftruncate(fd int, length int64) (err error)
10451 //sysnb Getegid() (egid int)
10452@@ -18,20 +20,43 @@ package unix
10453 //sysnb Getgid() (gid int)
10454 //sysnb Getrlimit(resource int, rlim *Rlimit) (err error)
10455 //sysnb Getuid() (uid int)
10456-//sysnb InotifyInit() (fd int, err error)
10457+//sysnb inotifyInit() (fd int, err error)
10458+
10459+func InotifyInit() (fd int, err error) {
10460+ // First try inotify_init1, because Android's seccomp policy blocks the latter.
10461+ fd, err = InotifyInit1(0)
10462+ if err == ENOSYS {
10463+ fd, err = inotifyInit()
10464+ }
10465+ return
10466+}
10467+
10468 //sys Ioperm(from int, num int, on int) (err error)
10469 //sys Iopl(level int) (err error)
10470 //sys Lchown(path string, uid int, gid int) (err error)
10471 //sys Listen(s int, n int) (err error)
10472-//sys Lstat(path string, stat *Stat_t) (err error)
10473+
10474+func Lstat(path string, stat *Stat_t) (err error) {
10475+ return Fstatat(AT_FDCWD, path, stat, AT_SYMLINK_NOFOLLOW)
10476+}
10477+
10478 //sys Pause() (err error)
10479 //sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
10480 //sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
10481+//sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
10482 //sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
10483-//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
10484+
10485+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
10486+ var ts *Timespec
10487+ if timeout != nil {
10488+ ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
10489+ }
10490+ return Pselect(nfd, r, w, e, ts, nil)
10491+}
10492+
10493 //sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
10494-//sys Setfsgid(gid int) (err error)
10495-//sys Setfsuid(uid int) (err error)
10496+//sys setfsgid(gid int) (prev int, err error)
10497+//sys setfsuid(uid int) (prev int, err error)
10498 //sysnb Setregid(rgid int, egid int) (err error)
10499 //sysnb Setresgid(rgid int, egid int, sgid int) (err error)
10500 //sysnb Setresuid(ruid int, euid int, suid int) (err error)
10501@@ -39,10 +64,16 @@ package unix
10502 //sysnb Setreuid(ruid int, euid int) (err error)
10503 //sys Shutdown(fd int, how int) (err error)
10504 //sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
10505-//sys Stat(path string, stat *Stat_t) (err error)
10506+
10507+func Stat(path string, stat *Stat_t) (err error) {
10508+ // Use fstatat, because Android's seccomp policy blocks stat.
10509+ return Fstatat(AT_FDCWD, path, stat, 0)
10510+}
10511+
10512 //sys Statfs(path string, buf *Statfs_t) (err error)
10513 //sys SyncFileRange(fd int, off int64, n int64, flags int) (err error)
10514 //sys Truncate(path string, length int64) (err error)
10515+//sys Ustat(dev int, ubuf *Ustat_t) (err error)
10516 //sys accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
10517 //sys accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
10518 //sys bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
10519@@ -61,6 +92,8 @@ package unix
10520 //sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
10521 //sys mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
10522
10523+//sys futimesat(dirfd int, path string, times *[2]Timeval) (err error)
10524+
10525 func Gettimeofday(tv *Timeval) (err error) {
10526 errno := gettimeofday(tv)
10527 if errno != 0 {
10528@@ -69,8 +102,6 @@ func Gettimeofday(tv *Timeval) (err error) {
10529 return nil
10530 }
10531
10532-func Getpagesize() int { return 4096 }
10533-
10534 func Time(t *Time_t) (tt Time_t, err error) {
10535 var tv Timeval
10536 errno := gettimeofday(&tv)
10537@@ -84,20 +115,14 @@ func Time(t *Time_t) (tt Time_t, err error) {
10538 }
10539
10540 //sys Utime(path string, buf *Utimbuf) (err error)
10541+//sys utimes(path string, times *[2]Timeval) (err error)
10542
10543-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
10544-
10545-func NsecToTimespec(nsec int64) (ts Timespec) {
10546- ts.Sec = nsec / 1e9
10547- ts.Nsec = nsec % 1e9
10548- return
10549+func setTimespec(sec, nsec int64) Timespec {
10550+ return Timespec{Sec: sec, Nsec: nsec}
10551 }
10552
10553-func NsecToTimeval(nsec int64) (tv Timeval) {
10554- nsec += 999 // round up to microsecond
10555- tv.Sec = nsec / 1e9
10556- tv.Usec = nsec % 1e9 / 1e3
10557- return
10558+func setTimeval(sec, usec int64) Timeval {
10559+ return Timeval{Sec: sec, Usec: usec}
10560 }
10561
10562 //sysnb pipe(p *[2]_C_int) (err error)
10563@@ -138,6 +163,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
10564 msghdr.Controllen = uint64(length)
10565 }
10566
10567+func (msghdr *Msghdr) SetIovlen(length int) {
10568+ msghdr.Iovlen = uint64(length)
10569+}
10570+
10571 func (cmsg *Cmsghdr) SetLen(length int) {
10572 cmsg.Len = uint64(length)
10573 }
10574@@ -150,3 +179,16 @@ func Poll(fds []PollFd, timeout int) (n int, err error) {
10575 }
10576 return poll(&fds[0], len(fds), timeout)
10577 }
10578+
10579+//sys kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error)
10580+
10581+func KexecFileLoad(kernelFd int, initrdFd int, cmdline string, flags int) error {
10582+ cmdlineLen := len(cmdline)
10583+ if cmdlineLen > 0 {
10584+ // Account for the additional NULL byte added by
10585+ // BytePtrFromString in kexecFileLoad. The kexec_file_load
10586+ // syscall expects a NULL-terminated string.
10587+ cmdlineLen++
10588+ }
10589+ return kexecFileLoad(kernelFd, initrdFd, cmdlineLen, cmdline, flags)
10590+}
10591diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_arm.go b/vendor/golang.org/x/sys/unix/syscall_linux_arm.go
10592index 71d87022..99ae6137 100644
10593--- a/vendor/golang.org/x/sys/unix/syscall_linux_arm.go
10594+++ b/vendor/golang.org/x/sys/unix/syscall_linux_arm.go
10595@@ -11,29 +11,26 @@ import (
10596 "unsafe"
10597 )
10598
10599-func Getpagesize() int { return 4096 }
10600-
10601-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
10602-
10603-func NsecToTimespec(nsec int64) (ts Timespec) {
10604- ts.Sec = int32(nsec / 1e9)
10605- ts.Nsec = int32(nsec % 1e9)
10606- return
10607+func setTimespec(sec, nsec int64) Timespec {
10608+ return Timespec{Sec: int32(sec), Nsec: int32(nsec)}
10609 }
10610
10611-func NsecToTimeval(nsec int64) (tv Timeval) {
10612- nsec += 999 // round up to microsecond
10613- tv.Sec = int32(nsec / 1e9)
10614- tv.Usec = int32(nsec % 1e9 / 1e3)
10615- return
10616+func setTimeval(sec, usec int64) Timeval {
10617+ return Timeval{Sec: int32(sec), Usec: int32(usec)}
10618 }
10619
10620+//sysnb pipe(p *[2]_C_int) (err error)
10621+
10622 func Pipe(p []int) (err error) {
10623 if len(p) != 2 {
10624 return EINVAL
10625 }
10626 var pp [2]_C_int
10627+ // Try pipe2 first for Android O, then try pipe for kernel 2.6.23.
10628 err = pipe2(&pp, 0)
10629+ if err == ENOSYS {
10630+ err = pipe(&pp)
10631+ }
10632 p[0] = int(pp[0])
10633 p[1] = int(pp[1])
10634 return
10635@@ -84,8 +81,11 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
10636 // 64-bit file system and 32-bit uid calls
10637 // (16-bit uid calls are not always supported in newer kernels)
10638 //sys Dup2(oldfd int, newfd int) (err error)
10639+//sysnb EpollCreate(size int) (fd int, err error)
10640+//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
10641 //sys Fchown(fd int, uid int, gid int) (err error) = SYS_FCHOWN32
10642 //sys Fstat(fd int, stat *Stat_t) (err error) = SYS_FSTAT64
10643+//sys Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) = SYS_FSTATAT64
10644 //sysnb Getegid() (egid int) = SYS_GETEGID32
10645 //sysnb Geteuid() (euid int) = SYS_GETEUID32
10646 //sysnb Getgid() (gid int) = SYS_GETGID32
10647@@ -94,10 +94,12 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
10648 //sys Lchown(path string, uid int, gid int) (err error) = SYS_LCHOWN32
10649 //sys Listen(s int, n int) (err error)
10650 //sys Lstat(path string, stat *Stat_t) (err error) = SYS_LSTAT64
10651+//sys Pause() (err error)
10652+//sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
10653 //sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) = SYS_SENDFILE64
10654 //sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS__NEWSELECT
10655-//sys Setfsgid(gid int) (err error) = SYS_SETFSGID32
10656-//sys Setfsuid(uid int) (err error) = SYS_SETFSUID32
10657+//sys setfsgid(gid int) (prev int, err error) = SYS_SETFSGID32
10658+//sys setfsuid(uid int) (prev int, err error) = SYS_SETFSUID32
10659 //sysnb Setregid(rgid int, egid int) (err error) = SYS_SETREGID32
10660 //sysnb Setresgid(rgid int, egid int, sgid int) (err error) = SYS_SETRESGID32
10661 //sysnb Setresuid(ruid int, euid int, suid int) (err error) = SYS_SETRESUID32
10662@@ -105,11 +107,10 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
10663 //sys Shutdown(fd int, how int) (err error)
10664 //sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error)
10665 //sys Stat(path string, stat *Stat_t) (err error) = SYS_STAT64
10666+//sys Ustat(dev int, ubuf *Ustat_t) (err error)
10667
10668-// Vsyscalls on amd64.
10669+//sys futimesat(dirfd int, path string, times *[2]Timeval) (err error)
10670 //sysnb Gettimeofday(tv *Timeval) (err error)
10671-//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
10672-//sys Pause() (err error)
10673
10674 func Time(t *Time_t) (Time_t, error) {
10675 var tv Timeval
10676@@ -131,6 +132,8 @@ func Utime(path string, buf *Utimbuf) error {
10677 return Utimes(path, tv)
10678 }
10679
10680+//sys utimes(path string, times *[2]Timeval) (err error)
10681+
10682 //sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
10683 //sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
10684 //sys Truncate(path string, length int64) (err error) = SYS_TRUNCATE64
10685@@ -249,6 +252,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
10686 msghdr.Controllen = uint32(length)
10687 }
10688
10689+func (msghdr *Msghdr) SetIovlen(length int) {
10690+ msghdr.Iovlen = uint32(length)
10691+}
10692+
10693 func (cmsg *Cmsghdr) SetLen(length int) {
10694 cmsg.Len = uint32(length)
10695 }
10696@@ -261,3 +268,24 @@ func Poll(fds []PollFd, timeout int) (n int, err error) {
10697 }
10698 return poll(&fds[0], len(fds), timeout)
10699 }
10700+
10701+//sys armSyncFileRange(fd int, flags int, off int64, n int64) (err error) = SYS_ARM_SYNC_FILE_RANGE
10702+
10703+func SyncFileRange(fd int, off int64, n int64, flags int) error {
10704+ // The sync_file_range and arm_sync_file_range syscalls differ only in the
10705+ // order of their arguments.
10706+ return armSyncFileRange(fd, flags, off, n)
10707+}
10708+
10709+//sys kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error)
10710+
10711+func KexecFileLoad(kernelFd int, initrdFd int, cmdline string, flags int) error {
10712+ cmdlineLen := len(cmdline)
10713+ if cmdlineLen > 0 {
10714+ // Account for the additional NULL byte added by
10715+ // BytePtrFromString in kexecFileLoad. The kexec_file_load
10716+ // syscall expects a NULL-terminated string.
10717+ cmdlineLen++
10718+ }
10719+ return kexecFileLoad(kernelFd, initrdFd, cmdlineLen, cmdline, flags)
10720+}
10721diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go b/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go
10722index 4a136396..807a0b20 100644
10723--- a/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go
10724+++ b/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go
10725@@ -6,7 +6,17 @@
10726
10727 package unix
10728
10729+import "unsafe"
10730+
10731+func EpollCreate(size int) (fd int, err error) {
10732+ if size <= 0 {
10733+ return -1, EINVAL
10734+ }
10735+ return EpollCreate1(0)
10736+}
10737+
10738 //sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) = SYS_EPOLL_PWAIT
10739+//sys Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64
10740 //sys Fchown(fd int, uid int, gid int) (err error)
10741 //sys Fstat(fd int, stat *Stat_t) (err error)
10742 //sys Fstatat(fd int, path string, stat *Stat_t, flags int) (err error)
10743@@ -20,11 +30,20 @@ package unix
10744 //sys Listen(s int, n int) (err error)
10745 //sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
10746 //sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
10747+//sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
10748 //sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
10749-//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS_PSELECT6
10750+
10751+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
10752+ var ts *Timespec
10753+ if timeout != nil {
10754+ ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
10755+ }
10756+ return Pselect(nfd, r, w, e, ts, nil)
10757+}
10758+
10759 //sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
10760-//sys Setfsgid(gid int) (err error)
10761-//sys Setfsuid(uid int) (err error)
10762+//sys setfsgid(gid int) (prev int, err error)
10763+//sys setfsuid(uid int) (prev int, err error)
10764 //sysnb Setregid(rgid int, egid int) (err error)
10765 //sysnb Setresgid(rgid int, egid int, sgid int) (err error)
10766 //sysnb Setresuid(ruid int, euid int, suid int) (err error)
10767@@ -48,6 +67,11 @@ func Lstat(path string, stat *Stat_t) (err error) {
10768 //sys Statfs(path string, buf *Statfs_t) (err error)
10769 //sys SyncFileRange(fd int, off int64, n int64, flags int) (err error)
10770 //sys Truncate(path string, length int64) (err error)
10771+
10772+func Ustat(dev int, ubuf *Ustat_t) (err error) {
10773+ return ENOSYS
10774+}
10775+
10776 //sys accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
10777 //sys accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
10778 //sys bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
10779@@ -66,23 +90,26 @@ func Lstat(path string, stat *Stat_t) (err error) {
10780 //sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
10781 //sys mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
10782
10783-func Getpagesize() int { return 65536 }
10784-
10785 //sysnb Gettimeofday(tv *Timeval) (err error)
10786
10787-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
10788+func setTimespec(sec, nsec int64) Timespec {
10789+ return Timespec{Sec: sec, Nsec: nsec}
10790+}
10791
10792-func NsecToTimespec(nsec int64) (ts Timespec) {
10793- ts.Sec = nsec / 1e9
10794- ts.Nsec = nsec % 1e9
10795- return
10796+func setTimeval(sec, usec int64) Timeval {
10797+ return Timeval{Sec: sec, Usec: usec}
10798 }
10799
10800-func NsecToTimeval(nsec int64) (tv Timeval) {
10801- nsec += 999 // round up to microsecond
10802- tv.Sec = nsec / 1e9
10803- tv.Usec = nsec % 1e9 / 1e3
10804- return
10805+func futimesat(dirfd int, path string, tv *[2]Timeval) (err error) {
10806+ if tv == nil {
10807+ return utimensat(dirfd, path, nil, 0)
10808+ }
10809+
10810+ ts := []Timespec{
10811+ NsecToTimespec(TimevalToNsec(tv[0])),
10812+ NsecToTimespec(TimevalToNsec(tv[1])),
10813+ }
10814+ return utimensat(dirfd, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
10815 }
10816
10817 func Time(t *Time_t) (Time_t, error) {
10818@@ -105,6 +132,18 @@ func Utime(path string, buf *Utimbuf) error {
10819 return Utimes(path, tv)
10820 }
10821
10822+func utimes(path string, tv *[2]Timeval) (err error) {
10823+ if tv == nil {
10824+ return utimensat(AT_FDCWD, path, nil, 0)
10825+ }
10826+
10827+ ts := []Timespec{
10828+ NsecToTimespec(TimevalToNsec(tv[0])),
10829+ NsecToTimespec(TimevalToNsec(tv[1])),
10830+ }
10831+ return utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
10832+}
10833+
10834 func Pipe(p []int) (err error) {
10835 if len(p) != 2 {
10836 return EINVAL
10837@@ -141,6 +180,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
10838 msghdr.Controllen = uint64(length)
10839 }
10840
10841+func (msghdr *Msghdr) SetIovlen(length int) {
10842+ msghdr.Iovlen = uint64(length)
10843+}
10844+
10845 func (cmsg *Cmsghdr) SetLen(length int) {
10846 cmsg.Len = uint64(length)
10847 }
10848@@ -153,30 +196,11 @@ func Dup2(oldfd int, newfd int) (err error) {
10849 return Dup3(oldfd, newfd, 0)
10850 }
10851
10852-func Pause() (err error) {
10853- _, _, e1 := Syscall6(SYS_PPOLL, 0, 0, 0, 0, 0, 0)
10854- if e1 != 0 {
10855- err = errnoErr(e1)
10856- }
10857- return
10858+func Pause() error {
10859+ _, err := ppoll(nil, 0, nil, nil)
10860+ return err
10861 }
10862
10863-// TODO(dfc): constants that should be in zsysnum_linux_arm64.go, remove
10864-// these when the deprecated syscalls that the syscall package relies on
10865-// are removed.
10866-const (
10867- SYS_GETPGRP = 1060
10868- SYS_UTIMES = 1037
10869- SYS_FUTIMESAT = 1066
10870- SYS_PAUSE = 1061
10871- SYS_USTAT = 1070
10872- SYS_UTIME = 1063
10873- SYS_LCHOWN = 1032
10874- SYS_TIME = 1062
10875- SYS_EPOLL_CREATE = 1042
10876- SYS_EPOLL_WAIT = 1069
10877-)
10878-
10879 func Poll(fds []PollFd, timeout int) (n int, err error) {
10880 var ts *Timespec
10881 if timeout >= 0 {
10882@@ -188,3 +212,16 @@ func Poll(fds []PollFd, timeout int) (n int, err error) {
10883 }
10884 return ppoll(&fds[0], len(fds), ts, nil)
10885 }
10886+
10887+//sys kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error)
10888+
10889+func KexecFileLoad(kernelFd int, initrdFd int, cmdline string, flags int) error {
10890+ cmdlineLen := len(cmdline)
10891+ if cmdlineLen > 0 {
10892+ // Account for the additional NULL byte added by
10893+ // BytePtrFromString in kexecFileLoad. The kexec_file_load
10894+ // syscall expects a NULL-terminated string.
10895+ cmdlineLen++
10896+ }
10897+ return kexecFileLoad(kernelFd, initrdFd, cmdlineLen, cmdline, flags)
10898+}
10899diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_gc.go b/vendor/golang.org/x/sys/unix/syscall_linux_gc.go
10900new file mode 100644
10901index 00000000..c26e6ec2
10902--- /dev/null
10903+++ b/vendor/golang.org/x/sys/unix/syscall_linux_gc.go
10904@@ -0,0 +1,14 @@
10905+// Copyright 2018 The Go Authors. All rights reserved.
10906+// Use of this source code is governed by a BSD-style
10907+// license that can be found in the LICENSE file.
10908+
10909+// +build linux,!gccgo
10910+
10911+package unix
10912+
10913+// SyscallNoError may be used instead of Syscall for syscalls that don't fail.
10914+func SyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr)
10915+
10916+// RawSyscallNoError may be used instead of RawSyscall for syscalls that don't
10917+// fail.
10918+func RawSyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr)
10919diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go b/vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go
10920new file mode 100644
10921index 00000000..070bd389
10922--- /dev/null
10923+++ b/vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go
10924@@ -0,0 +1,16 @@
10925+// Copyright 2018 The Go Authors. All rights reserved.
10926+// Use of this source code is governed by a BSD-style
10927+// license that can be found in the LICENSE file.
10928+
10929+// +build linux,!gccgo,386
10930+
10931+package unix
10932+
10933+import "syscall"
10934+
10935+// Underlying system call writes to newoffset via pointer.
10936+// Implemented in assembly to avoid allocation.
10937+func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno)
10938+
10939+func socketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno)
10940+func rawsocketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno)
10941diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go b/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go
10942new file mode 100644
10943index 00000000..308eb7ae
10944--- /dev/null
10945+++ b/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go
10946@@ -0,0 +1,30 @@
10947+// Copyright 2018 The Go Authors. All rights reserved.
10948+// Use of this source code is governed by a BSD-style
10949+// license that can be found in the LICENSE file.
10950+
10951+// +build linux,gccgo,386
10952+
10953+package unix
10954+
10955+import (
10956+ "syscall"
10957+ "unsafe"
10958+)
10959+
10960+func seek(fd int, offset int64, whence int) (int64, syscall.Errno) {
10961+ var newoffset int64
10962+ offsetLow := uint32(offset & 0xffffffff)
10963+ offsetHigh := uint32((offset >> 32) & 0xffffffff)
10964+ _, _, err := Syscall6(SYS__LLSEEK, uintptr(fd), uintptr(offsetHigh), uintptr(offsetLow), uintptr(unsafe.Pointer(&newoffset)), uintptr(whence), 0)
10965+ return newoffset, err
10966+}
10967+
10968+func socketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (int, syscall.Errno) {
10969+ fd, _, err := Syscall(SYS_SOCKETCALL, uintptr(call), uintptr(unsafe.Pointer(&a0)), 0)
10970+ return int(fd), err
10971+}
10972+
10973+func rawsocketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (int, syscall.Errno) {
10974+ fd, _, err := RawSyscall(SYS_SOCKETCALL, uintptr(call), uintptr(unsafe.Pointer(&a0)), 0)
10975+ return int(fd), err
10976+}
10977diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go b/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go
10978new file mode 100644
10979index 00000000..aa7fc9e1
10980--- /dev/null
10981+++ b/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go
10982@@ -0,0 +1,20 @@
10983+// Copyright 2018 The Go Authors. All rights reserved.
10984+// Use of this source code is governed by a BSD-style
10985+// license that can be found in the LICENSE file.
10986+
10987+// +build linux,gccgo,arm
10988+
10989+package unix
10990+
10991+import (
10992+ "syscall"
10993+ "unsafe"
10994+)
10995+
10996+func seek(fd int, offset int64, whence int) (int64, syscall.Errno) {
10997+ var newoffset int64
10998+ offsetLow := uint32(offset & 0xffffffff)
10999+ offsetHigh := uint32((offset >> 32) & 0xffffffff)
11000+ _, _, err := Syscall6(SYS__LLSEEK, uintptr(fd), uintptr(offsetHigh), uintptr(offsetLow), uintptr(unsafe.Pointer(&newoffset)), uintptr(whence), 0)
11001+ return newoffset, err
11002+}
11003diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go b/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go
11004index 73318e5c..af77e6e2 100644
11005--- a/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go
11006+++ b/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go
11007@@ -8,7 +8,9 @@
11008 package unix
11009
11010 //sys Dup2(oldfd int, newfd int) (err error)
11011+//sysnb EpollCreate(size int) (fd int, err error)
11012 //sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
11013+//sys Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64
11014 //sys Fchown(fd int, uid int, gid int) (err error)
11015 //sys Fstatfs(fd int, buf *Statfs_t) (err error)
11016 //sys Ftruncate(fd int, length int64) (err error)
11017@@ -22,11 +24,20 @@ package unix
11018 //sys Pause() (err error)
11019 //sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
11020 //sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
11021+//sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
11022 //sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
11023-//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS_PSELECT6
11024+
11025+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
11026+ var ts *Timespec
11027+ if timeout != nil {
11028+ ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
11029+ }
11030+ return Pselect(nfd, r, w, e, ts, nil)
11031+}
11032+
11033 //sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
11034-//sys Setfsgid(gid int) (err error)
11035-//sys Setfsuid(uid int) (err error)
11036+//sys setfsgid(gid int) (prev int, err error)
11037+//sys setfsuid(uid int) (prev int, err error)
11038 //sysnb Setregid(rgid int, egid int) (err error)
11039 //sysnb Setresgid(rgid int, egid int, sgid int) (err error)
11040 //sysnb Setresuid(ruid int, euid int, suid int) (err error)
11041@@ -37,6 +48,7 @@ package unix
11042 //sys Statfs(path string, buf *Statfs_t) (err error)
11043 //sys SyncFileRange(fd int, off int64, n int64, flags int) (err error)
11044 //sys Truncate(path string, length int64) (err error)
11045+//sys Ustat(dev int, ubuf *Ustat_t) (err error)
11046 //sys accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
11047 //sys accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
11048 //sys bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
11049@@ -55,8 +67,7 @@ package unix
11050 //sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
11051 //sys mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
11052
11053-func Getpagesize() int { return 65536 }
11054-
11055+//sys futimesat(dirfd int, path string, times *[2]Timeval) (err error)
11056 //sysnb Gettimeofday(tv *Timeval) (err error)
11057
11058 func Time(t *Time_t) (tt Time_t, err error) {
11059@@ -72,20 +83,14 @@ func Time(t *Time_t) (tt Time_t, err error) {
11060 }
11061
11062 //sys Utime(path string, buf *Utimbuf) (err error)
11063+//sys utimes(path string, times *[2]Timeval) (err error)
11064
11065-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
11066-
11067-func NsecToTimespec(nsec int64) (ts Timespec) {
11068- ts.Sec = nsec / 1e9
11069- ts.Nsec = nsec % 1e9
11070- return
11071+func setTimespec(sec, nsec int64) Timespec {
11072+ return Timespec{Sec: sec, Nsec: nsec}
11073 }
11074
11075-func NsecToTimeval(nsec int64) (tv Timeval) {
11076- nsec += 999 // round up to microsecond
11077- tv.Sec = nsec / 1e9
11078- tv.Usec = nsec % 1e9 / 1e3
11079- return
11080+func setTimeval(sec, usec int64) Timeval {
11081+ return Timeval{Sec: sec, Usec: usec}
11082 }
11083
11084 func Pipe(p []int) (err error) {
11085@@ -143,6 +148,7 @@ type stat_t struct {
11086 }
11087
11088 //sys fstat(fd int, st *stat_t) (err error)
11089+//sys fstatat(dirfd int, path string, st *stat_t, flags int) (err error) = SYS_NEWFSTATAT
11090 //sys lstat(path string, st *stat_t) (err error)
11091 //sys stat(path string, st *stat_t) (err error)
11092
11093@@ -153,6 +159,13 @@ func Fstat(fd int, s *Stat_t) (err error) {
11094 return
11095 }
11096
11097+func Fstatat(dirfd int, path string, s *Stat_t, flags int) (err error) {
11098+ st := &stat_t{}
11099+ err = fstatat(dirfd, path, st, flags)
11100+ fillStat_t(s, st)
11101+ return
11102+}
11103+
11104 func Lstat(path string, s *Stat_t) (err error) {
11105 st := &stat_t{}
11106 err = lstat(path, st)
11107@@ -195,10 +208,18 @@ func (msghdr *Msghdr) SetControllen(length int) {
11108 msghdr.Controllen = uint64(length)
11109 }
11110
11111+func (msghdr *Msghdr) SetIovlen(length int) {
11112+ msghdr.Iovlen = uint64(length)
11113+}
11114+
11115 func (cmsg *Cmsghdr) SetLen(length int) {
11116 cmsg.Len = uint64(length)
11117 }
11118
11119+func InotifyInit() (fd int, err error) {
11120+ return InotifyInit1(0)
11121+}
11122+
11123 //sys poll(fds *PollFd, nfds int, timeout int) (n int, err error)
11124
11125 func Poll(fds []PollFd, timeout int) (n int, err error) {
11126diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go b/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go
11127index b83d93fd..e286c6ba 100644
11128--- a/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go
11129+++ b/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go
11130@@ -15,6 +15,9 @@ import (
11131 func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
11132
11133 //sys Dup2(oldfd int, newfd int) (err error)
11134+//sysnb EpollCreate(size int) (fd int, err error)
11135+//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
11136+//sys Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64
11137 //sys Fchown(fd int, uid int, gid int) (err error)
11138 //sys Ftruncate(fd int, length int64) (err error) = SYS_FTRUNCATE64
11139 //sysnb Getegid() (egid int)
11140@@ -25,20 +28,20 @@ func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr,
11141 //sys Listen(s int, n int) (err error)
11142 //sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
11143 //sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
11144+//sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
11145 //sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS__NEWSELECT
11146 //sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) = SYS_SENDFILE64
11147-//sys Setfsgid(gid int) (err error)
11148-//sys Setfsuid(uid int) (err error)
11149+//sys setfsgid(gid int) (prev int, err error)
11150+//sys setfsuid(uid int) (prev int, err error)
11151 //sysnb Setregid(rgid int, egid int) (err error)
11152 //sysnb Setresgid(rgid int, egid int, sgid int) (err error)
11153 //sysnb Setresuid(ruid int, euid int, suid int) (err error)
11154-
11155 //sysnb Setreuid(ruid int, euid int) (err error)
11156 //sys Shutdown(fd int, how int) (err error)
11157-//sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
11158-
11159+//sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error)
11160 //sys SyncFileRange(fd int, off int64, n int64, flags int) (err error)
11161 //sys Truncate(path string, length int64) (err error) = SYS_TRUNCATE64
11162+//sys Ustat(dev int, ubuf *Ustat_t) (err error)
11163 //sys accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
11164 //sys accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
11165 //sys bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
11166@@ -60,15 +63,17 @@ func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr,
11167 //sys Ioperm(from int, num int, on int) (err error)
11168 //sys Iopl(level int) (err error)
11169
11170+//sys futimesat(dirfd int, path string, times *[2]Timeval) (err error)
11171 //sysnb Gettimeofday(tv *Timeval) (err error)
11172 //sysnb Time(t *Time_t) (tt Time_t, err error)
11173+//sys Utime(path string, buf *Utimbuf) (err error)
11174+//sys utimes(path string, times *[2]Timeval) (err error)
11175
11176 //sys Lstat(path string, stat *Stat_t) (err error) = SYS_LSTAT64
11177 //sys Fstat(fd int, stat *Stat_t) (err error) = SYS_FSTAT64
11178+//sys Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) = SYS_FSTATAT64
11179 //sys Stat(path string, stat *Stat_t) (err error) = SYS_STAT64
11180
11181-//sys Utime(path string, buf *Utimbuf) (err error)
11182-//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
11183 //sys Pause() (err error)
11184
11185 func Fstatfs(fd int, buf *Statfs_t) (err error) {
11186@@ -99,19 +104,12 @@ func Seek(fd int, offset int64, whence int) (off int64, err error) {
11187 return
11188 }
11189
11190-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
11191-
11192-func NsecToTimespec(nsec int64) (ts Timespec) {
11193- ts.Sec = int32(nsec / 1e9)
11194- ts.Nsec = int32(nsec % 1e9)
11195- return
11196+func setTimespec(sec, nsec int64) Timespec {
11197+ return Timespec{Sec: int32(sec), Nsec: int32(nsec)}
11198 }
11199
11200-func NsecToTimeval(nsec int64) (tv Timeval) {
11201- nsec += 999 // round up to microsecond
11202- tv.Sec = int32(nsec / 1e9)
11203- tv.Usec = int32(nsec % 1e9 / 1e3)
11204- return
11205+func setTimeval(sec, usec int64) Timeval {
11206+ return Timeval{Sec: int32(sec), Usec: int32(usec)}
11207 }
11208
11209 //sysnb pipe2(p *[2]_C_int, flags int) (err error)
11210@@ -127,14 +125,13 @@ func Pipe2(p []int, flags int) (err error) {
11211 return
11212 }
11213
11214+//sysnb pipe() (p1 int, p2 int, err error)
11215+
11216 func Pipe(p []int) (err error) {
11217 if len(p) != 2 {
11218 return EINVAL
11219 }
11220- var pp [2]_C_int
11221- err = pipe2(&pp, 0)
11222- p[0] = int(pp[0])
11223- p[1] = int(pp[1])
11224+ p[0], p[1], err = pipe()
11225 return
11226 }
11227
11228@@ -223,6 +220,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
11229 msghdr.Controllen = uint32(length)
11230 }
11231
11232+func (msghdr *Msghdr) SetIovlen(length int) {
11233+ msghdr.Iovlen = uint32(length)
11234+}
11235+
11236 func (cmsg *Cmsghdr) SetLen(length int) {
11237 cmsg.Len = uint32(length)
11238 }
11239@@ -235,5 +236,3 @@ func Poll(fds []PollFd, timeout int) (n int, err error) {
11240 }
11241 return poll(&fds[0], len(fds), timeout)
11242 }
11243-
11244-func Getpagesize() int { return 4096 }
11245diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go b/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go
11246index 60770f62..ca0345aa 100644
11247--- a/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go
11248+++ b/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go
11249@@ -7,10 +7,13 @@
11250
11251 package unix
11252
11253-//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
11254 //sys Dup2(oldfd int, newfd int) (err error)
11255+//sysnb EpollCreate(size int) (fd int, err error)
11256+//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
11257+//sys Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64
11258 //sys Fchown(fd int, uid int, gid int) (err error)
11259 //sys Fstat(fd int, stat *Stat_t) (err error)
11260+//sys Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) = SYS_NEWFSTATAT
11261 //sys Fstatfs(fd int, buf *Statfs_t) (err error)
11262 //sys Ftruncate(fd int, length int64) (err error)
11263 //sysnb Getegid() (egid int)
11264@@ -27,11 +30,12 @@ package unix
11265 //sys Pause() (err error)
11266 //sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
11267 //sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
11268+//sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
11269 //sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
11270-//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
11271+//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS__NEWSELECT
11272 //sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
11273-//sys Setfsgid(gid int) (err error)
11274-//sys Setfsuid(uid int) (err error)
11275+//sys setfsgid(gid int) (prev int, err error)
11276+//sys setfsuid(uid int) (prev int, err error)
11277 //sysnb Setregid(rgid int, egid int) (err error)
11278 //sysnb Setresgid(rgid int, egid int, sgid int) (err error)
11279 //sysnb Setresuid(ruid int, euid int, suid int) (err error)
11280@@ -41,8 +45,8 @@ package unix
11281 //sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
11282 //sys Stat(path string, stat *Stat_t) (err error)
11283 //sys Statfs(path string, buf *Statfs_t) (err error)
11284-//sys SyncFileRange(fd int, off int64, n int64, flags int) (err error) = SYS_SYNC_FILE_RANGE2
11285 //sys Truncate(path string, length int64) (err error)
11286+//sys Ustat(dev int, ubuf *Ustat_t) (err error)
11287 //sys accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
11288 //sys accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
11289 //sys bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
11290@@ -61,26 +65,18 @@ package unix
11291 //sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
11292 //sys mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
11293
11294-func Getpagesize() int { return 65536 }
11295-
11296+//sys futimesat(dirfd int, path string, times *[2]Timeval) (err error)
11297 //sysnb Gettimeofday(tv *Timeval) (err error)
11298 //sysnb Time(t *Time_t) (tt Time_t, err error)
11299-
11300 //sys Utime(path string, buf *Utimbuf) (err error)
11301+//sys utimes(path string, times *[2]Timeval) (err error)
11302
11303-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
11304-
11305-func NsecToTimespec(nsec int64) (ts Timespec) {
11306- ts.Sec = nsec / 1e9
11307- ts.Nsec = nsec % 1e9
11308- return
11309+func setTimespec(sec, nsec int64) Timespec {
11310+ return Timespec{Sec: sec, Nsec: nsec}
11311 }
11312
11313-func NsecToTimeval(nsec int64) (tv Timeval) {
11314- nsec += 999 // round up to microsecond
11315- tv.Sec = nsec / 1e9
11316- tv.Usec = nsec % 1e9 / 1e3
11317- return
11318+func setTimeval(sec, usec int64) Timeval {
11319+ return Timeval{Sec: sec, Usec: usec}
11320 }
11321
11322 func (r *PtraceRegs) PC() uint64 { return r.Nip }
11323@@ -95,6 +91,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
11324 msghdr.Controllen = uint64(length)
11325 }
11326
11327+func (msghdr *Msghdr) SetIovlen(length int) {
11328+ msghdr.Iovlen = uint64(length)
11329+}
11330+
11331 func (cmsg *Cmsghdr) SetLen(length int) {
11332 cmsg.Len = uint64(length)
11333 }
11334@@ -133,3 +133,24 @@ func Poll(fds []PollFd, timeout int) (n int, err error) {
11335 }
11336 return poll(&fds[0], len(fds), timeout)
11337 }
11338+
11339+//sys syncFileRange2(fd int, flags int, off int64, n int64) (err error) = SYS_SYNC_FILE_RANGE2
11340+
11341+func SyncFileRange(fd int, off int64, n int64, flags int) error {
11342+ // The sync_file_range and sync_file_range2 syscalls differ only in the
11343+ // order of their arguments.
11344+ return syncFileRange2(fd, flags, off, n)
11345+}
11346+
11347+//sys kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error)
11348+
11349+func KexecFileLoad(kernelFd int, initrdFd int, cmdline string, flags int) error {
11350+ cmdlineLen := len(cmdline)
11351+ if cmdlineLen > 0 {
11352+ // Account for the additional NULL byte added by
11353+ // BytePtrFromString in kexecFileLoad. The kexec_file_load
11354+ // syscall expects a NULL-terminated string.
11355+ cmdlineLen++
11356+ }
11357+ return kexecFileLoad(kernelFd, initrdFd, cmdlineLen, cmdline, flags)
11358+}
11359diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go b/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go
11360similarity index 68%
11361copy from vendor/golang.org/x/sys/unix/syscall_linux_arm64.go
11362copy to vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go
11363index 4a136396..abdabbac 100644
11364--- a/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go
11365+++ b/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go
11366@@ -1,12 +1,22 @@
11367-// Copyright 2015 The Go Authors. All rights reserved.
11368+// Copyright 2018 The Go Authors. All rights reserved.
11369 // Use of this source code is governed by a BSD-style
11370 // license that can be found in the LICENSE file.
11371
11372-// +build arm64,linux
11373+// +build riscv64,linux
11374
11375 package unix
11376
11377+import "unsafe"
11378+
11379+func EpollCreate(size int) (fd int, err error) {
11380+ if size <= 0 {
11381+ return -1, EINVAL
11382+ }
11383+ return EpollCreate1(0)
11384+}
11385+
11386 //sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) = SYS_EPOLL_PWAIT
11387+//sys Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64
11388 //sys Fchown(fd int, uid int, gid int) (err error)
11389 //sys Fstat(fd int, stat *Stat_t) (err error)
11390 //sys Fstatat(fd int, path string, stat *Stat_t, flags int) (err error)
11391@@ -21,10 +31,18 @@ package unix
11392 //sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
11393 //sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
11394 //sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
11395-//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS_PSELECT6
11396+
11397+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
11398+ var ts *Timespec
11399+ if timeout != nil {
11400+ ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
11401+ }
11402+ return Pselect(nfd, r, w, e, ts, nil)
11403+}
11404+
11405 //sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
11406-//sys Setfsgid(gid int) (err error)
11407-//sys Setfsuid(uid int) (err error)
11408+//sys setfsgid(gid int) (prev int, err error)
11409+//sys setfsuid(uid int) (prev int, err error)
11410 //sysnb Setregid(rgid int, egid int) (err error)
11411 //sysnb Setresgid(rgid int, egid int, sgid int) (err error)
11412 //sysnb Setresuid(ruid int, euid int, suid int) (err error)
11413@@ -48,6 +66,11 @@ func Lstat(path string, stat *Stat_t) (err error) {
11414 //sys Statfs(path string, buf *Statfs_t) (err error)
11415 //sys SyncFileRange(fd int, off int64, n int64, flags int) (err error)
11416 //sys Truncate(path string, length int64) (err error)
11417+
11418+func Ustat(dev int, ubuf *Ustat_t) (err error) {
11419+ return ENOSYS
11420+}
11421+
11422 //sys accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
11423 //sys accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
11424 //sys bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error)
11425@@ -66,23 +89,26 @@ func Lstat(path string, stat *Stat_t) (err error) {
11426 //sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
11427 //sys mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
11428
11429-func Getpagesize() int { return 65536 }
11430-
11431 //sysnb Gettimeofday(tv *Timeval) (err error)
11432
11433-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
11434+func setTimespec(sec, nsec int64) Timespec {
11435+ return Timespec{Sec: sec, Nsec: nsec}
11436+}
11437
11438-func NsecToTimespec(nsec int64) (ts Timespec) {
11439- ts.Sec = nsec / 1e9
11440- ts.Nsec = nsec % 1e9
11441- return
11442+func setTimeval(sec, usec int64) Timeval {
11443+ return Timeval{Sec: sec, Usec: usec}
11444 }
11445
11446-func NsecToTimeval(nsec int64) (tv Timeval) {
11447- nsec += 999 // round up to microsecond
11448- tv.Sec = nsec / 1e9
11449- tv.Usec = nsec % 1e9 / 1e3
11450- return
11451+func futimesat(dirfd int, path string, tv *[2]Timeval) (err error) {
11452+ if tv == nil {
11453+ return utimensat(dirfd, path, nil, 0)
11454+ }
11455+
11456+ ts := []Timespec{
11457+ NsecToTimespec(TimevalToNsec(tv[0])),
11458+ NsecToTimespec(TimevalToNsec(tv[1])),
11459+ }
11460+ return utimensat(dirfd, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
11461 }
11462
11463 func Time(t *Time_t) (Time_t, error) {
11464@@ -105,6 +131,18 @@ func Utime(path string, buf *Utimbuf) error {
11465 return Utimes(path, tv)
11466 }
11467
11468+func utimes(path string, tv *[2]Timeval) (err error) {
11469+ if tv == nil {
11470+ return utimensat(AT_FDCWD, path, nil, 0)
11471+ }
11472+
11473+ ts := []Timespec{
11474+ NsecToTimespec(TimevalToNsec(tv[0])),
11475+ NsecToTimespec(TimevalToNsec(tv[1])),
11476+ }
11477+ return utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
11478+}
11479+
11480 func Pipe(p []int) (err error) {
11481 if len(p) != 2 {
11482 return EINVAL
11483@@ -141,6 +179,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
11484 msghdr.Controllen = uint64(length)
11485 }
11486
11487+func (msghdr *Msghdr) SetIovlen(length int) {
11488+ msghdr.Iovlen = uint64(length)
11489+}
11490+
11491 func (cmsg *Cmsghdr) SetLen(length int) {
11492 cmsg.Len = uint64(length)
11493 }
11494@@ -153,30 +195,11 @@ func Dup2(oldfd int, newfd int) (err error) {
11495 return Dup3(oldfd, newfd, 0)
11496 }
11497
11498-func Pause() (err error) {
11499- _, _, e1 := Syscall6(SYS_PPOLL, 0, 0, 0, 0, 0, 0)
11500- if e1 != 0 {
11501- err = errnoErr(e1)
11502- }
11503- return
11504+func Pause() error {
11505+ _, err := ppoll(nil, 0, nil, nil)
11506+ return err
11507 }
11508
11509-// TODO(dfc): constants that should be in zsysnum_linux_arm64.go, remove
11510-// these when the deprecated syscalls that the syscall package relies on
11511-// are removed.
11512-const (
11513- SYS_GETPGRP = 1060
11514- SYS_UTIMES = 1037
11515- SYS_FUTIMESAT = 1066
11516- SYS_PAUSE = 1061
11517- SYS_USTAT = 1070
11518- SYS_UTIME = 1063
11519- SYS_LCHOWN = 1032
11520- SYS_TIME = 1062
11521- SYS_EPOLL_CREATE = 1042
11522- SYS_EPOLL_WAIT = 1069
11523-)
11524-
11525 func Poll(fds []PollFd, timeout int) (n int, err error) {
11526 var ts *Timespec
11527 if timeout >= 0 {
11528@@ -188,3 +211,20 @@ func Poll(fds []PollFd, timeout int) (n int, err error) {
11529 }
11530 return ppoll(&fds[0], len(fds), ts, nil)
11531 }
11532+
11533+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
11534+ return Renameat2(olddirfd, oldpath, newdirfd, newpath, 0)
11535+}
11536+
11537+//sys kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error)
11538+
11539+func KexecFileLoad(kernelFd int, initrdFd int, cmdline string, flags int) error {
11540+ cmdlineLen := len(cmdline)
11541+ if cmdlineLen > 0 {
11542+ // Account for the additional NULL byte added by
11543+ // BytePtrFromString in kexecFileLoad. The kexec_file_load
11544+ // syscall expects a NULL-terminated string.
11545+ cmdlineLen++
11546+ }
11547+ return kexecFileLoad(kernelFd, initrdFd, cmdlineLen, cmdline, flags)
11548+}
11549diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go b/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go
11550index 1708a4bb..533e9305 100644
11551--- a/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go
11552+++ b/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go
11553@@ -11,10 +11,12 @@ import (
11554 )
11555
11556 //sys Dup2(oldfd int, newfd int) (err error)
11557+//sysnb EpollCreate(size int) (fd int, err error)
11558 //sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
11559 //sys Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64
11560 //sys Fchown(fd int, uid int, gid int) (err error)
11561 //sys Fstat(fd int, stat *Stat_t) (err error)
11562+//sys Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) = SYS_NEWFSTATAT
11563 //sys Fstatfs(fd int, buf *Statfs_t) (err error)
11564 //sys Ftruncate(fd int, length int64) (err error)
11565 //sysnb Getegid() (egid int)
11566@@ -28,11 +30,12 @@ import (
11567 //sys Pause() (err error)
11568 //sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
11569 //sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
11570+//sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
11571 //sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
11572 //sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
11573 //sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
11574-//sys Setfsgid(gid int) (err error)
11575-//sys Setfsuid(uid int) (err error)
11576+//sys setfsgid(gid int) (prev int, err error)
11577+//sys setfsuid(uid int) (prev int, err error)
11578 //sysnb Setregid(rgid int, egid int) (err error)
11579 //sysnb Setresgid(rgid int, egid int, sgid int) (err error)
11580 //sysnb Setresuid(ruid int, euid int, suid int) (err error)
11581@@ -43,11 +46,11 @@ import (
11582 //sys Statfs(path string, buf *Statfs_t) (err error)
11583 //sys SyncFileRange(fd int, off int64, n int64, flags int) (err error)
11584 //sys Truncate(path string, length int64) (err error)
11585+//sys Ustat(dev int, ubuf *Ustat_t) (err error)
11586 //sysnb getgroups(n int, list *_Gid_t) (nn int, err error)
11587 //sysnb setgroups(n int, list *_Gid_t) (err error)
11588
11589-func Getpagesize() int { return 4096 }
11590-
11591+//sys futimesat(dirfd int, path string, times *[2]Timeval) (err error)
11592 //sysnb Gettimeofday(tv *Timeval) (err error)
11593
11594 func Time(t *Time_t) (tt Time_t, err error) {
11595@@ -63,20 +66,14 @@ func Time(t *Time_t) (tt Time_t, err error) {
11596 }
11597
11598 //sys Utime(path string, buf *Utimbuf) (err error)
11599+//sys utimes(path string, times *[2]Timeval) (err error)
11600
11601-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
11602-
11603-func NsecToTimespec(nsec int64) (ts Timespec) {
11604- ts.Sec = nsec / 1e9
11605- ts.Nsec = nsec % 1e9
11606- return
11607+func setTimespec(sec, nsec int64) Timespec {
11608+ return Timespec{Sec: sec, Nsec: nsec}
11609 }
11610
11611-func NsecToTimeval(nsec int64) (tv Timeval) {
11612- nsec += 999 // round up to microsecond
11613- tv.Sec = nsec / 1e9
11614- tv.Usec = nsec % 1e9 / 1e3
11615- return
11616+func setTimeval(sec, usec int64) Timeval {
11617+ return Timeval{Sec: sec, Usec: usec}
11618 }
11619
11620 //sysnb pipe2(p *[2]_C_int, flags int) (err error)
11621@@ -123,6 +120,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
11622 msghdr.Controllen = uint64(length)
11623 }
11624
11625+func (msghdr *Msghdr) SetIovlen(length int) {
11626+ msghdr.Iovlen = uint64(length)
11627+}
11628+
11629 func (cmsg *Cmsghdr) SetLen(length int) {
11630 cmsg.Len = uint64(length)
11631 }
11632@@ -326,3 +327,16 @@ func Poll(fds []PollFd, timeout int) (n int, err error) {
11633 }
11634 return poll(&fds[0], len(fds), timeout)
11635 }
11636+
11637+//sys kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error)
11638+
11639+func KexecFileLoad(kernelFd int, initrdFd int, cmdline string, flags int) error {
11640+ cmdlineLen := len(cmdline)
11641+ if cmdlineLen > 0 {
11642+ // Account for the additional NULL byte added by
11643+ // BytePtrFromString in kexecFileLoad. The kexec_file_load
11644+ // syscall expects a NULL-terminated string.
11645+ cmdlineLen++
11646+ }
11647+ return kexecFileLoad(kernelFd, initrdFd, cmdlineLen, cmdline, flags)
11648+}
11649diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go b/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go
11650index 20b7454d..d890a227 100644
11651--- a/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go
11652+++ b/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go
11653@@ -6,15 +6,12 @@
11654
11655 package unix
11656
11657-import (
11658- "sync/atomic"
11659- "syscall"
11660-)
11661-
11662 //sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
11663+//sys Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64
11664 //sys Dup2(oldfd int, newfd int) (err error)
11665 //sys Fchown(fd int, uid int, gid int) (err error)
11666 //sys Fstat(fd int, stat *Stat_t) (err error)
11667+//sys Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) = SYS_FSTATAT64
11668 //sys Fstatfs(fd int, buf *Statfs_t) (err error)
11669 //sys Ftruncate(fd int, length int64) (err error)
11670 //sysnb Getegid() (egid int)
11671@@ -29,11 +26,12 @@ import (
11672 //sys Pause() (err error)
11673 //sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
11674 //sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
11675+//sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
11676 //sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
11677 //sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
11678 //sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
11679-//sys Setfsgid(gid int) (err error)
11680-//sys Setfsuid(uid int) (err error)
11681+//sys setfsgid(gid int) (prev int, err error)
11682+//sys setfsuid(uid int) (prev int, err error)
11683 //sysnb Setregid(rgid int, egid int) (err error)
11684 //sysnb Setresgid(rgid int, egid int, sgid int) (err error)
11685 //sysnb Setresuid(ruid int, euid int, suid int) (err error)
11686@@ -63,21 +61,6 @@ import (
11687 //sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
11688 //sys mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
11689
11690-func sysconf(name int) (n int64, err syscall.Errno)
11691-
11692-// pageSize caches the value of Getpagesize, since it can't change
11693-// once the system is booted.
11694-var pageSize int64 // accessed atomically
11695-
11696-func Getpagesize() int {
11697- n := atomic.LoadInt64(&pageSize)
11698- if n == 0 {
11699- n, _ = sysconf(_SC_PAGESIZE)
11700- atomic.StoreInt64(&pageSize, n)
11701- }
11702- return int(n)
11703-}
11704-
11705 func Ioperm(from int, num int, on int) (err error) {
11706 return ENOSYS
11707 }
11708@@ -86,6 +69,7 @@ func Iopl(level int) (err error) {
11709 return ENOSYS
11710 }
11711
11712+//sys futimesat(dirfd int, path string, times *[2]Timeval) (err error)
11713 //sysnb Gettimeofday(tv *Timeval) (err error)
11714
11715 func Time(t *Time_t) (tt Time_t, err error) {
11716@@ -101,20 +85,14 @@ func Time(t *Time_t) (tt Time_t, err error) {
11717 }
11718
11719 //sys Utime(path string, buf *Utimbuf) (err error)
11720+//sys utimes(path string, times *[2]Timeval) (err error)
11721
11722-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
11723-
11724-func NsecToTimespec(nsec int64) (ts Timespec) {
11725- ts.Sec = nsec / 1e9
11726- ts.Nsec = nsec % 1e9
11727- return
11728+func setTimespec(sec, nsec int64) Timespec {
11729+ return Timespec{Sec: sec, Nsec: nsec}
11730 }
11731
11732-func NsecToTimeval(nsec int64) (tv Timeval) {
11733- nsec += 999 // round up to microsecond
11734- tv.Sec = nsec / 1e9
11735- tv.Usec = int32(nsec % 1e9 / 1e3)
11736- return
11737+func setTimeval(sec, usec int64) Timeval {
11738+ return Timeval{Sec: sec, Usec: int32(usec)}
11739 }
11740
11741 func (r *PtraceRegs) PC() uint64 { return r.Tpc }
11742@@ -129,6 +107,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
11743 msghdr.Controllen = uint64(length)
11744 }
11745
11746+func (msghdr *Msghdr) SetIovlen(length int) {
11747+ msghdr.Iovlen = uint64(length)
11748+}
11749+
11750 func (cmsg *Cmsghdr) SetLen(length int) {
11751 cmsg.Len = uint64(length)
11752 }
11753diff --git a/vendor/golang.org/x/sys/unix/syscall_netbsd.go b/vendor/golang.org/x/sys/unix/syscall_netbsd.go
11754index e1296684..45b50a61 100644
11755--- a/vendor/golang.org/x/sys/unix/syscall_netbsd.go
11756+++ b/vendor/golang.org/x/sys/unix/syscall_netbsd.go
11757@@ -13,10 +13,12 @@
11758 package unix
11759
11760 import (
11761+ "runtime"
11762 "syscall"
11763 "unsafe"
11764 )
11765
11766+// SockaddrDatalink implements the Sockaddr interface for AF_LINK type sockets.
11767 type SockaddrDatalink struct {
11768 Len uint8
11769 Family uint8
11770@@ -55,7 +57,6 @@ func sysctlNodes(mib []_C_int) (nodes []Sysctlnode, err error) {
11771 }
11772
11773 func nametomib(name string) (mib []_C_int, err error) {
11774-
11775 // Split name into components.
11776 var parts []string
11777 last := 0
11778@@ -114,9 +115,47 @@ func Pipe(p []int) (err error) {
11779 return
11780 }
11781
11782-//sys getdents(fd int, buf []byte) (n int, err error)
11783+//sys Getdents(fd int, buf []byte) (n int, err error)
11784 func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
11785- return getdents(fd, buf)
11786+ n, err = Getdents(fd, buf)
11787+ if err != nil || basep == nil {
11788+ return
11789+ }
11790+
11791+ var off int64
11792+ off, err = Seek(fd, 0, 1 /* SEEK_CUR */)
11793+ if err != nil {
11794+ *basep = ^uintptr(0)
11795+ return
11796+ }
11797+ *basep = uintptr(off)
11798+ if unsafe.Sizeof(*basep) == 8 {
11799+ return
11800+ }
11801+ if off>>32 != 0 {
11802+ // We can't stuff the offset back into a uintptr, so any
11803+ // future calls would be suspect. Generate an error.
11804+ // EIO is allowed by getdirentries.
11805+ err = EIO
11806+ }
11807+ return
11808+}
11809+
11810+const ImplementsGetwd = true
11811+
11812+//sys Getcwd(buf []byte) (n int, err error) = SYS___GETCWD
11813+
11814+func Getwd() (string, error) {
11815+ var buf [PathMax]byte
11816+ _, err := Getcwd(buf[0:])
11817+ if err != nil {
11818+ return "", err
11819+ }
11820+ n := clen(buf[:])
11821+ if n < 1 {
11822+ return "", EINVAL
11823+ }
11824+ return string(buf[:n]), nil
11825 }
11826
11827 // TODO
11828@@ -124,6 +163,83 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
11829 return -1, ENOSYS
11830 }
11831
11832+func setattrlistTimes(path string, times []Timespec, flags int) error {
11833+ // used on Darwin for UtimesNano
11834+ return ENOSYS
11835+}
11836+
11837+//sys ioctl(fd int, req uint, arg uintptr) (err error)
11838+
11839+//sys sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS___SYSCTL
11840+
11841+func IoctlGetPtmget(fd int, req uint) (*Ptmget, error) {
11842+ var value Ptmget
11843+ err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
11844+ runtime.KeepAlive(value)
11845+ return &value, err
11846+}
11847+
11848+func Uname(uname *Utsname) error {
11849+ mib := []_C_int{CTL_KERN, KERN_OSTYPE}
11850+ n := unsafe.Sizeof(uname.Sysname)
11851+ if err := sysctl(mib, &uname.Sysname[0], &n, nil, 0); err != nil {
11852+ return err
11853+ }
11854+
11855+ mib = []_C_int{CTL_KERN, KERN_HOSTNAME}
11856+ n = unsafe.Sizeof(uname.Nodename)
11857+ if err := sysctl(mib, &uname.Nodename[0], &n, nil, 0); err != nil {
11858+ return err
11859+ }
11860+
11861+ mib = []_C_int{CTL_KERN, KERN_OSRELEASE}
11862+ n = unsafe.Sizeof(uname.Release)
11863+ if err := sysctl(mib, &uname.Release[0], &n, nil, 0); err != nil {
11864+ return err
11865+ }
11866+
11867+ mib = []_C_int{CTL_KERN, KERN_VERSION}
11868+ n = unsafe.Sizeof(uname.Version)
11869+ if err := sysctl(mib, &uname.Version[0], &n, nil, 0); err != nil {
11870+ return err
11871+ }
11872+
11873+ // The version might have newlines or tabs in it, convert them to
11874+ // spaces.
11875+ for i, b := range uname.Version {
11876+ if b == '\n' || b == '\t' {
11877+ if i == len(uname.Version)-1 {
11878+ uname.Version[i] = 0
11879+ } else {
11880+ uname.Version[i] = ' '
11881+ }
11882+ }
11883+ }
11884+
11885+ mib = []_C_int{CTL_HW, HW_MACHINE}
11886+ n = unsafe.Sizeof(uname.Machine)
11887+ if err := sysctl(mib, &uname.Machine[0], &n, nil, 0); err != nil {
11888+ return err
11889+ }
11890+
11891+ return nil
11892+}
11893+
11894+func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
11895+ if raceenabled {
11896+ raceReleaseMerge(unsafe.Pointer(&ioSync))
11897+ }
11898+ return sendfile(outfd, infd, offset, count)
11899+}
11900+
11901+func Fstatvfs(fd int, buf *Statvfs_t) (err error) {
11902+ return Fstatvfs1(fd, buf, ST_WAIT)
11903+}
11904+
11905+func Statvfs(path string, buf *Statvfs_t) (err error) {
11906+ return Statvfs1(path, buf, ST_WAIT)
11907+}
11908+
11909 /*
11910 * Exposed directly
11911 */
11912@@ -137,14 +253,33 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
11913 //sys Close(fd int) (err error)
11914 //sys Dup(fd int) (nfd int, err error)
11915 //sys Dup2(from int, to int) (err error)
11916+//sys Dup3(from int, to int, flags int) (err error)
11917 //sys Exit(code int)
11918+//sys ExtattrGetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
11919+//sys ExtattrSetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
11920+//sys ExtattrDeleteFd(fd int, attrnamespace int, attrname string) (err error)
11921+//sys ExtattrListFd(fd int, attrnamespace int, data uintptr, nbytes int) (ret int, err error)
11922+//sys ExtattrGetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
11923+//sys ExtattrSetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
11924+//sys ExtattrDeleteFile(file string, attrnamespace int, attrname string) (err error)
11925+//sys ExtattrListFile(file string, attrnamespace int, data uintptr, nbytes int) (ret int, err error)
11926+//sys ExtattrGetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
11927+//sys ExtattrSetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
11928+//sys ExtattrDeleteLink(link string, attrnamespace int, attrname string) (err error)
11929+//sys ExtattrListLink(link string, attrnamespace int, data uintptr, nbytes int) (ret int, err error)
11930+//sys Faccessat(dirfd int, path string, mode uint32, flags int) (err error)
11931+//sys Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_POSIX_FADVISE
11932 //sys Fchdir(fd int) (err error)
11933 //sys Fchflags(fd int, flags int) (err error)
11934 //sys Fchmod(fd int, mode uint32) (err error)
11935+//sys Fchmodat(dirfd int, path string, mode uint32, flags int) (err error)
11936 //sys Fchown(fd int, uid int, gid int) (err error)
11937+//sys Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error)
11938 //sys Flock(fd int, how int) (err error)
11939 //sys Fpathconf(fd int, name int) (val int, err error)
11940 //sys Fstat(fd int, stat *Stat_t) (err error)
11941+//sys Fstatat(fd int, path string, stat *Stat_t, flags int) (err error)
11942+//sys Fstatvfs1(fd int, buf *Statvfs_t, flags int) (err error) = SYS_FSTATVFS1
11943 //sys Fsync(fd int) (err error)
11944 //sys Ftruncate(fd int, length int64) (err error)
11945 //sysnb Getegid() (egid int)
11946@@ -165,23 +300,30 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
11947 //sys Kqueue() (fd int, err error)
11948 //sys Lchown(path string, uid int, gid int) (err error)
11949 //sys Link(path string, link string) (err error)
11950+//sys Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error)
11951 //sys Listen(s int, backlog int) (err error)
11952 //sys Lstat(path string, stat *Stat_t) (err error)
11953 //sys Mkdir(path string, mode uint32) (err error)
11954+//sys Mkdirat(dirfd int, path string, mode uint32) (err error)
11955 //sys Mkfifo(path string, mode uint32) (err error)
11956+//sys Mkfifoat(dirfd int, path string, mode uint32) (err error)
11957 //sys Mknod(path string, mode uint32, dev int) (err error)
11958+//sys Mknodat(dirfd int, path string, mode uint32, dev int) (err error)
11959 //sys Nanosleep(time *Timespec, leftover *Timespec) (err error)
11960 //sys Open(path string, mode int, perm uint32) (fd int, err error)
11961+//sys Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error)
11962 //sys Pathconf(path string, name int) (val int, err error)
11963 //sys Pread(fd int, p []byte, offset int64) (n int, err error)
11964 //sys Pwrite(fd int, p []byte, offset int64) (n int, err error)
11965 //sys read(fd int, p []byte) (n int, err error)
11966 //sys Readlink(path string, buf []byte) (n int, err error)
11967+//sys Readlinkat(dirfd int, path string, buf []byte) (n int, err error)
11968 //sys Rename(from string, to string) (err error)
11969+//sys Renameat(fromfd int, from string, tofd int, to string) (err error)
11970 //sys Revoke(path string) (err error)
11971 //sys Rmdir(path string) (err error)
11972 //sys Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
11973-//sys Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
11974+//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
11975 //sysnb Setegid(egid int) (err error)
11976 //sysnb Seteuid(euid int) (err error)
11977 //sysnb Setgid(gid int) (err error)
11978@@ -194,11 +336,14 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
11979 //sysnb Settimeofday(tp *Timeval) (err error)
11980 //sysnb Setuid(uid int) (err error)
11981 //sys Stat(path string, stat *Stat_t) (err error)
11982+//sys Statvfs1(path string, buf *Statvfs_t, flags int) (err error) = SYS_STATVFS1
11983 //sys Symlink(path string, link string) (err error)
11984+//sys Symlinkat(oldpath string, newdirfd int, newpath string) (err error)
11985 //sys Sync() (err error)
11986 //sys Truncate(path string, length int64) (err error)
11987 //sys Umask(newmask int) (oldmask int)
11988 //sys Unlink(path string) (err error)
11989+//sys Unlinkat(dirfd int, path string, flags int) (err error)
11990 //sys Unmount(path string, flags int) (err error)
11991 //sys write(fd int, p []byte) (n int, err error)
11992 //sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
11993@@ -225,7 +370,6 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
11994 // __msync13
11995 // __ntp_gettime30
11996 // __posix_chown
11997-// __posix_fadvise50
11998 // __posix_fchown
11999 // __posix_lchown
12000 // __posix_rename
12001@@ -384,7 +528,6 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
12002 // getitimer
12003 // getvfsstat
12004 // getxattr
12005-// ioctl
12006 // ktrace
12007 // lchflags
12008 // lchmod
12009@@ -422,7 +565,6 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
12010 // ntp_adjtime
12011 // pmc_control
12012 // pmc_get_info
12013-// poll
12014 // pollts
12015 // preadv
12016 // profil
12017diff --git a/vendor/golang.org/x/sys/unix/syscall_netbsd_386.go b/vendor/golang.org/x/sys/unix/syscall_netbsd_386.go
12018index afaca098..24da8b52 100644
12019--- a/vendor/golang.org/x/sys/unix/syscall_netbsd_386.go
12020+++ b/vendor/golang.org/x/sys/unix/syscall_netbsd_386.go
12021@@ -6,21 +6,12 @@
12022
12023 package unix
12024
12025-func Getpagesize() int { return 4096 }
12026-
12027-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
12028-
12029-func NsecToTimespec(nsec int64) (ts Timespec) {
12030- ts.Sec = int64(nsec / 1e9)
12031- ts.Nsec = int32(nsec % 1e9)
12032- return
12033+func setTimespec(sec, nsec int64) Timespec {
12034+ return Timespec{Sec: sec, Nsec: int32(nsec)}
12035 }
12036
12037-func NsecToTimeval(nsec int64) (tv Timeval) {
12038- nsec += 999 // round up to microsecond
12039- tv.Usec = int32(nsec % 1e9 / 1e3)
12040- tv.Sec = int64(nsec / 1e9)
12041- return
12042+func setTimeval(sec, usec int64) Timeval {
12043+ return Timeval{Sec: sec, Usec: int32(usec)}
12044 }
12045
12046 func SetKevent(k *Kevent_t, fd, mode, flags int) {
12047@@ -37,6 +28,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
12048 msghdr.Controllen = uint32(length)
12049 }
12050
12051+func (msghdr *Msghdr) SetIovlen(length int) {
12052+ msghdr.Iovlen = int32(length)
12053+}
12054+
12055 func (cmsg *Cmsghdr) SetLen(length int) {
12056 cmsg.Len = uint32(length)
12057 }
12058diff --git a/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go
12059index a6ff04ce..25a0ac82 100644
12060--- a/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go
12061+++ b/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go
12062@@ -6,21 +6,12 @@
12063
12064 package unix
12065
12066-func Getpagesize() int { return 4096 }
12067-
12068-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
12069-
12070-func NsecToTimespec(nsec int64) (ts Timespec) {
12071- ts.Sec = int64(nsec / 1e9)
12072- ts.Nsec = int64(nsec % 1e9)
12073- return
12074+func setTimespec(sec, nsec int64) Timespec {
12075+ return Timespec{Sec: sec, Nsec: nsec}
12076 }
12077
12078-func NsecToTimeval(nsec int64) (tv Timeval) {
12079- nsec += 999 // round up to microsecond
12080- tv.Usec = int32(nsec % 1e9 / 1e3)
12081- tv.Sec = int64(nsec / 1e9)
12082- return
12083+func setTimeval(sec, usec int64) Timeval {
12084+ return Timeval{Sec: sec, Usec: int32(usec)}
12085 }
12086
12087 func SetKevent(k *Kevent_t, fd, mode, flags int) {
12088@@ -37,6 +28,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
12089 msghdr.Controllen = uint32(length)
12090 }
12091
12092+func (msghdr *Msghdr) SetIovlen(length int) {
12093+ msghdr.Iovlen = int32(length)
12094+}
12095+
12096 func (cmsg *Cmsghdr) SetLen(length int) {
12097 cmsg.Len = uint32(length)
12098 }
12099diff --git a/vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go b/vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go
12100index 68a6969b..21591ecd 100644
12101--- a/vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go
12102+++ b/vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go
12103@@ -6,21 +6,12 @@
12104
12105 package unix
12106
12107-func Getpagesize() int { return 4096 }
12108-
12109-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
12110-
12111-func NsecToTimespec(nsec int64) (ts Timespec) {
12112- ts.Sec = int64(nsec / 1e9)
12113- ts.Nsec = int32(nsec % 1e9)
12114- return
12115+func setTimespec(sec, nsec int64) Timespec {
12116+ return Timespec{Sec: sec, Nsec: int32(nsec)}
12117 }
12118
12119-func NsecToTimeval(nsec int64) (tv Timeval) {
12120- nsec += 999 // round up to microsecond
12121- tv.Usec = int32(nsec % 1e9 / 1e3)
12122- tv.Sec = int64(nsec / 1e9)
12123- return
12124+func setTimeval(sec, usec int64) Timeval {
12125+ return Timeval{Sec: sec, Usec: int32(usec)}
12126 }
12127
12128 func SetKevent(k *Kevent_t, fd, mode, flags int) {
12129@@ -37,6 +28,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
12130 msghdr.Controllen = uint32(length)
12131 }
12132
12133+func (msghdr *Msghdr) SetIovlen(length int) {
12134+ msghdr.Iovlen = int32(length)
12135+}
12136+
12137 func (cmsg *Cmsghdr) SetLen(length int) {
12138 cmsg.Len = uint32(length)
12139 }
12140diff --git a/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go
12141similarity index 50%
12142copy from vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go
12143copy to vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go
12144index a6ff04ce..80474963 100644
12145--- a/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go
12146+++ b/vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go
12147@@ -1,26 +1,17 @@
12148-// Copyright 2009 The Go Authors. All rights reserved.
12149+// Copyright 2019 The Go Authors. All rights reserved.
12150 // Use of this source code is governed by a BSD-style
12151 // license that can be found in the LICENSE file.
12152
12153-// +build amd64,netbsd
12154+// +build arm64,netbsd
12155
12156 package unix
12157
12158-func Getpagesize() int { return 4096 }
12159-
12160-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
12161-
12162-func NsecToTimespec(nsec int64) (ts Timespec) {
12163- ts.Sec = int64(nsec / 1e9)
12164- ts.Nsec = int64(nsec % 1e9)
12165- return
12166+func setTimespec(sec, nsec int64) Timespec {
12167+ return Timespec{Sec: sec, Nsec: nsec}
12168 }
12169
12170-func NsecToTimeval(nsec int64) (tv Timeval) {
12171- nsec += 999 // round up to microsecond
12172- tv.Usec = int32(nsec % 1e9 / 1e3)
12173- tv.Sec = int64(nsec / 1e9)
12174- return
12175+func setTimeval(sec, usec int64) Timeval {
12176+ return Timeval{Sec: sec, Usec: int32(usec)}
12177 }
12178
12179 func SetKevent(k *Kevent_t, fd, mode, flags int) {
12180@@ -37,6 +28,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
12181 msghdr.Controllen = uint32(length)
12182 }
12183
12184+func (msghdr *Msghdr) SetIovlen(length int) {
12185+ msghdr.Iovlen = int32(length)
12186+}
12187+
12188 func (cmsg *Cmsghdr) SetLen(length int) {
12189 cmsg.Len = uint32(length)
12190 }
12191diff --git a/vendor/golang.org/x/sys/unix/syscall_no_getwd.go b/vendor/golang.org/x/sys/unix/syscall_no_getwd.go
12192deleted file mode 100644
12193index 530792ea..00000000
12194--- a/vendor/golang.org/x/sys/unix/syscall_no_getwd.go
12195+++ /dev/null
12196@@ -1,11 +0,0 @@
12197-// Copyright 2013 The Go Authors. All rights reserved.
12198-// Use of this source code is governed by a BSD-style
12199-// license that can be found in the LICENSE file.
12200-
12201-// +build dragonfly freebsd netbsd openbsd
12202-
12203-package unix
12204-
12205-const ImplementsGetwd = false
12206-
12207-func Getwd() (string, error) { return "", ENOTSUP }
12208diff --git a/vendor/golang.org/x/sys/unix/syscall_openbsd.go b/vendor/golang.org/x/sys/unix/syscall_openbsd.go
12209index 408e6308..a266e92a 100644
12210--- a/vendor/golang.org/x/sys/unix/syscall_openbsd.go
12211+++ b/vendor/golang.org/x/sys/unix/syscall_openbsd.go
12212@@ -13,10 +13,12 @@
12213 package unix
12214
12215 import (
12216+ "sort"
12217 "syscall"
12218 "unsafe"
12219 )
12220
12221+// SockaddrDatalink implements the Sockaddr interface for AF_LINK type sockets.
12222 type SockaddrDatalink struct {
12223 Len uint8
12224 Family uint8
12225@@ -32,23 +34,11 @@ type SockaddrDatalink struct {
12226 func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
12227
12228 func nametomib(name string) (mib []_C_int, err error) {
12229-
12230- // Perform lookup via a binary search
12231- left := 0
12232- right := len(sysctlMib) - 1
12233- for {
12234- idx := left + (right-left)/2
12235- switch {
12236- case name == sysctlMib[idx].ctlname:
12237- return sysctlMib[idx].ctloid, nil
12238- case name > sysctlMib[idx].ctlname:
12239- left = idx + 1
12240- default:
12241- right = idx - 1
12242- }
12243- if left > right {
12244- break
12245- }
12246+ i := sort.Search(len(sysctlMib), func(i int) bool {
12247+ return sysctlMib[i].ctlname >= name
12248+ })
12249+ if i < len(sysctlMib) && sysctlMib[i].ctlname == name {
12250+ return sysctlMib[i].ctloid, nil
12251 }
12252 return nil, EINVAL
12253 }
12254@@ -65,21 +55,87 @@ func direntNamlen(buf []byte) (uint64, bool) {
12255 return readInt(buf, unsafe.Offsetof(Dirent{}.Namlen), unsafe.Sizeof(Dirent{}.Namlen))
12256 }
12257
12258-//sysnb pipe(p *[2]_C_int) (err error)
12259+func SysctlUvmexp(name string) (*Uvmexp, error) {
12260+ mib, err := sysctlmib(name)
12261+ if err != nil {
12262+ return nil, err
12263+ }
12264+
12265+ n := uintptr(SizeofUvmexp)
12266+ var u Uvmexp
12267+ if err := sysctl(mib, (*byte)(unsafe.Pointer(&u)), &n, nil, 0); err != nil {
12268+ return nil, err
12269+ }
12270+ if n != SizeofUvmexp {
12271+ return nil, EIO
12272+ }
12273+ return &u, nil
12274+}
12275+
12276 func Pipe(p []int) (err error) {
12277+ return Pipe2(p, 0)
12278+}
12279+
12280+//sysnb pipe2(p *[2]_C_int, flags int) (err error)
12281+func Pipe2(p []int, flags int) error {
12282 if len(p) != 2 {
12283 return EINVAL
12284 }
12285 var pp [2]_C_int
12286- err = pipe(&pp)
12287+ err := pipe2(&pp, flags)
12288 p[0] = int(pp[0])
12289 p[1] = int(pp[1])
12290- return
12291+ return err
12292 }
12293
12294-//sys getdents(fd int, buf []byte) (n int, err error)
12295+//sys Getdents(fd int, buf []byte) (n int, err error)
12296 func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
12297- return getdents(fd, buf)
12298+ n, err = Getdents(fd, buf)
12299+ if err != nil || basep == nil {
12300+ return
12301+ }
12302+
12303+ var off int64
12304+ off, err = Seek(fd, 0, 1 /* SEEK_CUR */)
12305+ if err != nil {
12306+ *basep = ^uintptr(0)
12307+ return
12308+ }
12309+ *basep = uintptr(off)
12310+ if unsafe.Sizeof(*basep) == 8 {
12311+ return
12312+ }
12313+ if off>>32 != 0 {
12314+ // We can't stuff the offset back into a uintptr, so any
12315+ // future calls would be suspect. Generate an error.
12316+ // EIO was allowed by getdirentries.
12317+ err = EIO
12318+ }
12319+ return
12320+}
12321+
12322+const ImplementsGetwd = true
12323+
12324+//sys Getcwd(buf []byte) (n int, err error) = SYS___GETCWD
12325+
12326+func Getwd() (string, error) {
12327+ var buf [PathMax]byte
12328+ _, err := Getcwd(buf[0:])
12329+ if err != nil {
12330+ return "", err
12331+ }
12332+ n := clen(buf[:])
12333+ if n < 1 {
12334+ return "", EINVAL
12335+ }
12336+ return string(buf[:n]), nil
12337+}
12338+
12339+func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
12340+ if raceenabled {
12341+ raceReleaseMerge(unsafe.Pointer(&ioSync))
12342+ }
12343+ return sendfile(outfd, infd, offset, count)
12344 }
12345
12346 // TODO
12347@@ -102,6 +158,70 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
12348 return
12349 }
12350
12351+func setattrlistTimes(path string, times []Timespec, flags int) error {
12352+ // used on Darwin for UtimesNano
12353+ return ENOSYS
12354+}
12355+
12356+//sys ioctl(fd int, req uint, arg uintptr) (err error)
12357+
12358+//sys sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS___SYSCTL
12359+
12360+//sys ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error)
12361+
12362+func Ppoll(fds []PollFd, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
12363+ if len(fds) == 0 {
12364+ return ppoll(nil, 0, timeout, sigmask)
12365+ }
12366+ return ppoll(&fds[0], len(fds), timeout, sigmask)
12367+}
12368+
12369+func Uname(uname *Utsname) error {
12370+ mib := []_C_int{CTL_KERN, KERN_OSTYPE}
12371+ n := unsafe.Sizeof(uname.Sysname)
12372+ if err := sysctl(mib, &uname.Sysname[0], &n, nil, 0); err != nil {
12373+ return err
12374+ }
12375+
12376+ mib = []_C_int{CTL_KERN, KERN_HOSTNAME}
12377+ n = unsafe.Sizeof(uname.Nodename)
12378+ if err := sysctl(mib, &uname.Nodename[0], &n, nil, 0); err != nil {
12379+ return err
12380+ }
12381+
12382+ mib = []_C_int{CTL_KERN, KERN_OSRELEASE}
12383+ n = unsafe.Sizeof(uname.Release)
12384+ if err := sysctl(mib, &uname.Release[0], &n, nil, 0); err != nil {
12385+ return err
12386+ }
12387+
12388+ mib = []_C_int{CTL_KERN, KERN_VERSION}
12389+ n = unsafe.Sizeof(uname.Version)
12390+ if err := sysctl(mib, &uname.Version[0], &n, nil, 0); err != nil {
12391+ return err
12392+ }
12393+
12394+ // The version might have newlines or tabs in it, convert them to
12395+ // spaces.
12396+ for i, b := range uname.Version {
12397+ if b == '\n' || b == '\t' {
12398+ if i == len(uname.Version)-1 {
12399+ uname.Version[i] = 0
12400+ } else {
12401+ uname.Version[i] = ' '
12402+ }
12403+ }
12404+ }
12405+
12406+ mib = []_C_int{CTL_HW, HW_MACHINE}
12407+ n = unsafe.Sizeof(uname.Machine)
12408+ if err := sysctl(mib, &uname.Machine[0], &n, nil, 0); err != nil {
12409+ return err
12410+ }
12411+
12412+ return nil
12413+}
12414+
12415 /*
12416 * Exposed directly
12417 */
12418@@ -115,14 +235,19 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
12419 //sys Close(fd int) (err error)
12420 //sys Dup(fd int) (nfd int, err error)
12421 //sys Dup2(from int, to int) (err error)
12422+//sys Dup3(from int, to int, flags int) (err error)
12423 //sys Exit(code int)
12424+//sys Faccessat(dirfd int, path string, mode uint32, flags int) (err error)
12425 //sys Fchdir(fd int) (err error)
12426 //sys Fchflags(fd int, flags int) (err error)
12427 //sys Fchmod(fd int, mode uint32) (err error)
12428+//sys Fchmodat(dirfd int, path string, mode uint32, flags int) (err error)
12429 //sys Fchown(fd int, uid int, gid int) (err error)
12430+//sys Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error)
12431 //sys Flock(fd int, how int) (err error)
12432 //sys Fpathconf(fd int, name int) (val int, err error)
12433 //sys Fstat(fd int, stat *Stat_t) (err error)
12434+//sys Fstatat(fd int, path string, stat *Stat_t, flags int) (err error)
12435 //sys Fstatfs(fd int, stat *Statfs_t) (err error)
12436 //sys Fsync(fd int) (err error)
12437 //sys Ftruncate(fd int, length int64) (err error)
12438@@ -135,6 +260,7 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
12439 //sysnb Getppid() (ppid int)
12440 //sys Getpriority(which int, who int) (prio int, err error)
12441 //sysnb Getrlimit(which int, lim *Rlimit) (err error)
12442+//sysnb Getrtable() (rtable int, err error)
12443 //sysnb Getrusage(who int, rusage *Rusage) (err error)
12444 //sysnb Getsid(pid int) (sid int, err error)
12445 //sysnb Gettimeofday(tv *Timeval) (err error)
12446@@ -144,23 +270,30 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
12447 //sys Kqueue() (fd int, err error)
12448 //sys Lchown(path string, uid int, gid int) (err error)
12449 //sys Link(path string, link string) (err error)
12450+//sys Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error)
12451 //sys Listen(s int, backlog int) (err error)
12452 //sys Lstat(path string, stat *Stat_t) (err error)
12453 //sys Mkdir(path string, mode uint32) (err error)
12454+//sys Mkdirat(dirfd int, path string, mode uint32) (err error)
12455 //sys Mkfifo(path string, mode uint32) (err error)
12456+//sys Mkfifoat(dirfd int, path string, mode uint32) (err error)
12457 //sys Mknod(path string, mode uint32, dev int) (err error)
12458+//sys Mknodat(dirfd int, path string, mode uint32, dev int) (err error)
12459 //sys Nanosleep(time *Timespec, leftover *Timespec) (err error)
12460 //sys Open(path string, mode int, perm uint32) (fd int, err error)
12461+//sys Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error)
12462 //sys Pathconf(path string, name int) (val int, err error)
12463 //sys Pread(fd int, p []byte, offset int64) (n int, err error)
12464 //sys Pwrite(fd int, p []byte, offset int64) (n int, err error)
12465 //sys read(fd int, p []byte) (n int, err error)
12466 //sys Readlink(path string, buf []byte) (n int, err error)
12467+//sys Readlinkat(dirfd int, path string, buf []byte) (n int, err error)
12468 //sys Rename(from string, to string) (err error)
12469+//sys Renameat(fromfd int, from string, tofd int, to string) (err error)
12470 //sys Revoke(path string) (err error)
12471 //sys Rmdir(path string) (err error)
12472 //sys Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
12473-//sys Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
12474+//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
12475 //sysnb Setegid(egid int) (err error)
12476 //sysnb Seteuid(euid int) (err error)
12477 //sysnb Setgid(gid int) (err error)
12478@@ -172,16 +305,19 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
12479 //sysnb Setresgid(rgid int, egid int, sgid int) (err error)
12480 //sysnb Setresuid(ruid int, euid int, suid int) (err error)
12481 //sysnb Setrlimit(which int, lim *Rlimit) (err error)
12482+//sysnb Setrtable(rtable int) (err error)
12483 //sysnb Setsid() (pid int, err error)
12484 //sysnb Settimeofday(tp *Timeval) (err error)
12485 //sysnb Setuid(uid int) (err error)
12486 //sys Stat(path string, stat *Stat_t) (err error)
12487 //sys Statfs(path string, stat *Statfs_t) (err error)
12488 //sys Symlink(path string, link string) (err error)
12489+//sys Symlinkat(oldpath string, newdirfd int, newpath string) (err error)
12490 //sys Sync() (err error)
12491 //sys Truncate(path string, length int64) (err error)
12492 //sys Umask(newmask int) (oldmask int)
12493 //sys Unlink(path string) (err error)
12494+//sys Unlinkat(dirfd int, path string, flags int) (err error)
12495 //sys Unmount(path string, flags int) (err error)
12496 //sys write(fd int, p []byte) (n int, err error)
12497 //sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
12498@@ -204,15 +340,10 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
12499 // clock_settime
12500 // closefrom
12501 // execve
12502-// faccessat
12503-// fchmodat
12504-// fchownat
12505-// fcntl
12506 // fhopen
12507 // fhstat
12508 // fhstatfs
12509 // fork
12510-// fstatat
12511 // futimens
12512 // getfh
12513 // getgid
12514@@ -220,20 +351,14 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
12515 // getlogin
12516 // getresgid
12517 // getresuid
12518-// getrtable
12519 // getthrid
12520-// ioctl
12521 // ktrace
12522 // lfs_bmapv
12523 // lfs_markv
12524 // lfs_segclean
12525 // lfs_segwait
12526-// linkat
12527 // mincore
12528 // minherit
12529-// mkdirat
12530-// mkfifoat
12531-// mknodat
12532 // mount
12533 // mquery
12534 // msgctl
12535@@ -242,13 +367,10 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
12536 // msgsnd
12537 // nfssvc
12538 // nnpfspioctl
12539-// openat
12540-// poll
12541 // preadv
12542 // profil
12543 // pwritev
12544 // quotactl
12545-// readlinkat
12546 // readv
12547 // reboot
12548 // renameat
12549@@ -258,7 +380,6 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
12550 // semop
12551 // setgroups
12552 // setitimer
12553-// setrtable
12554 // setsockopt
12555 // shmat
12556 // shmctl
12557@@ -270,13 +391,11 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
12558 // sigprocmask
12559 // sigreturn
12560 // sigsuspend
12561-// symlinkat
12562 // sysarch
12563 // syscall
12564 // threxit
12565 // thrsigdivert
12566 // thrsleep
12567 // thrwakeup
12568-// unlinkat
12569 // vfork
12570 // writev
12571diff --git a/vendor/golang.org/x/sys/unix/syscall_openbsd_386.go b/vendor/golang.org/x/sys/unix/syscall_openbsd_386.go
12572index a66ddc59..42b5a0e5 100644
12573--- a/vendor/golang.org/x/sys/unix/syscall_openbsd_386.go
12574+++ b/vendor/golang.org/x/sys/unix/syscall_openbsd_386.go
12575@@ -6,21 +6,12 @@
12576
12577 package unix
12578
12579-func Getpagesize() int { return 4096 }
12580-
12581-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
12582-
12583-func NsecToTimespec(nsec int64) (ts Timespec) {
12584- ts.Sec = int64(nsec / 1e9)
12585- ts.Nsec = int32(nsec % 1e9)
12586- return
12587+func setTimespec(sec, nsec int64) Timespec {
12588+ return Timespec{Sec: sec, Nsec: int32(nsec)}
12589 }
12590
12591-func NsecToTimeval(nsec int64) (tv Timeval) {
12592- nsec += 999 // round up to microsecond
12593- tv.Usec = int32(nsec % 1e9 / 1e3)
12594- tv.Sec = int64(nsec / 1e9)
12595- return
12596+func setTimeval(sec, usec int64) Timeval {
12597+ return Timeval{Sec: sec, Usec: int32(usec)}
12598 }
12599
12600 func SetKevent(k *Kevent_t, fd, mode, flags int) {
12601@@ -37,6 +28,14 @@ func (msghdr *Msghdr) SetControllen(length int) {
12602 msghdr.Controllen = uint32(length)
12603 }
12604
12605+func (msghdr *Msghdr) SetIovlen(length int) {
12606+ msghdr.Iovlen = uint32(length)
12607+}
12608+
12609 func (cmsg *Cmsghdr) SetLen(length int) {
12610 cmsg.Len = uint32(length)
12611 }
12612+
12613+// SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
12614+// of openbsd/386 the syscall is called sysctl instead of __sysctl.
12615+const SYS___SYSCTL = SYS_SYSCTL
12616diff --git a/vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go b/vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go
12617index 0776c1fa..6ea4b488 100644
12618--- a/vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go
12619+++ b/vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go
12620@@ -6,21 +6,12 @@
12621
12622 package unix
12623
12624-func Getpagesize() int { return 4096 }
12625-
12626-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
12627-
12628-func NsecToTimespec(nsec int64) (ts Timespec) {
12629- ts.Sec = nsec / 1e9
12630- ts.Nsec = nsec % 1e9
12631- return
12632+func setTimespec(sec, nsec int64) Timespec {
12633+ return Timespec{Sec: sec, Nsec: nsec}
12634 }
12635
12636-func NsecToTimeval(nsec int64) (tv Timeval) {
12637- nsec += 999 // round up to microsecond
12638- tv.Usec = nsec % 1e9 / 1e3
12639- tv.Sec = nsec / 1e9
12640- return
12641+func setTimeval(sec, usec int64) Timeval {
12642+ return Timeval{Sec: sec, Usec: usec}
12643 }
12644
12645 func SetKevent(k *Kevent_t, fd, mode, flags int) {
12646@@ -37,6 +28,14 @@ func (msghdr *Msghdr) SetControllen(length int) {
12647 msghdr.Controllen = uint32(length)
12648 }
12649
12650+func (msghdr *Msghdr) SetIovlen(length int) {
12651+ msghdr.Iovlen = uint32(length)
12652+}
12653+
12654 func (cmsg *Cmsghdr) SetLen(length int) {
12655 cmsg.Len = uint32(length)
12656 }
12657+
12658+// SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
12659+// of openbsd/amd64 the syscall is called sysctl instead of __sysctl.
12660+const SYS___SYSCTL = SYS_SYSCTL
12661diff --git a/vendor/golang.org/x/sys/unix/syscall_openbsd_arm.go b/vendor/golang.org/x/sys/unix/syscall_openbsd_arm.go
12662index 14ddaf3f..1c3d26fa 100644
12663--- a/vendor/golang.org/x/sys/unix/syscall_openbsd_arm.go
12664+++ b/vendor/golang.org/x/sys/unix/syscall_openbsd_arm.go
12665@@ -6,23 +6,12 @@
12666
12667 package unix
12668
12669-import "syscall"
12670-
12671-func Getpagesize() int { return syscall.Getpagesize() }
12672-
12673-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
12674-
12675-func NsecToTimespec(nsec int64) (ts Timespec) {
12676- ts.Sec = int64(nsec / 1e9)
12677- ts.Nsec = int32(nsec % 1e9)
12678- return
12679+func setTimespec(sec, nsec int64) Timespec {
12680+ return Timespec{Sec: sec, Nsec: int32(nsec)}
12681 }
12682
12683-func NsecToTimeval(nsec int64) (tv Timeval) {
12684- nsec += 999 // round up to microsecond
12685- tv.Usec = int32(nsec % 1e9 / 1e3)
12686- tv.Sec = int64(nsec / 1e9)
12687- return
12688+func setTimeval(sec, usec int64) Timeval {
12689+ return Timeval{Sec: sec, Usec: int32(usec)}
12690 }
12691
12692 func SetKevent(k *Kevent_t, fd, mode, flags int) {
12693@@ -39,6 +28,14 @@ func (msghdr *Msghdr) SetControllen(length int) {
12694 msghdr.Controllen = uint32(length)
12695 }
12696
12697+func (msghdr *Msghdr) SetIovlen(length int) {
12698+ msghdr.Iovlen = uint32(length)
12699+}
12700+
12701 func (cmsg *Cmsghdr) SetLen(length int) {
12702 cmsg.Len = uint32(length)
12703 }
12704+
12705+// SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
12706+// of openbsd/arm the syscall is called sysctl instead of __sysctl.
12707+const SYS___SYSCTL = SYS_SYSCTL
12708diff --git a/vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go b/vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go
12709new file mode 100644
12710index 00000000..a8c458cb
12711--- /dev/null
12712+++ b/vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go
12713@@ -0,0 +1,41 @@
12714+// Copyright 2019 The Go Authors. All rights reserved.
12715+// Use of this source code is governed by a BSD-style
12716+// license that can be found in the LICENSE file.
12717+
12718+// +build arm64,openbsd
12719+
12720+package unix
12721+
12722+func setTimespec(sec, nsec int64) Timespec {
12723+ return Timespec{Sec: sec, Nsec: nsec}
12724+}
12725+
12726+func setTimeval(sec, usec int64) Timeval {
12727+ return Timeval{Sec: sec, Usec: usec}
12728+}
12729+
12730+func SetKevent(k *Kevent_t, fd, mode, flags int) {
12731+ k.Ident = uint64(fd)
12732+ k.Filter = int16(mode)
12733+ k.Flags = uint16(flags)
12734+}
12735+
12736+func (iov *Iovec) SetLen(length int) {
12737+ iov.Len = uint64(length)
12738+}
12739+
12740+func (msghdr *Msghdr) SetControllen(length int) {
12741+ msghdr.Controllen = uint32(length)
12742+}
12743+
12744+func (msghdr *Msghdr) SetIovlen(length int) {
12745+ msghdr.Iovlen = uint32(length)
12746+}
12747+
12748+func (cmsg *Cmsghdr) SetLen(length int) {
12749+ cmsg.Len = uint32(length)
12750+}
12751+
12752+// SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
12753+// of openbsd/amd64 the syscall is called sysctl instead of __sysctl.
12754+const SYS___SYSCTL = SYS_SYSCTL
12755diff --git a/vendor/golang.org/x/sys/unix/syscall_solaris.go b/vendor/golang.org/x/sys/unix/syscall_solaris.go
12756index 0d4e5c4e..0e2a696a 100644
12757--- a/vendor/golang.org/x/sys/unix/syscall_solaris.go
12758+++ b/vendor/golang.org/x/sys/unix/syscall_solaris.go
12759@@ -13,7 +13,6 @@
12760 package unix
12761
12762 import (
12763- "sync/atomic"
12764 "syscall"
12765 "unsafe"
12766 )
12767@@ -24,6 +23,7 @@ type syscallFunc uintptr
12768 func rawSysvicall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
12769 func sysvicall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
12770
12771+// SockaddrDatalink implements the Sockaddr interface for AF_LINK type sockets.
12772 type SockaddrDatalink struct {
12773 Family uint16
12774 Index uint16
12775@@ -35,15 +35,6 @@ type SockaddrDatalink struct {
12776 raw RawSockaddrDatalink
12777 }
12778
12779-func clen(n []byte) int {
12780- for i := 0; i < len(n); i++ {
12781- if n[i] == 0 {
12782- return i
12783- }
12784- }
12785- return len(n)
12786-}
12787-
12788 func direntIno(buf []byte) (uint64, bool) {
12789 return readInt(buf, unsafe.Offsetof(Dirent{}.Ino), unsafe.Sizeof(Dirent{}.Ino))
12790 }
12791@@ -137,7 +128,19 @@ func Getsockname(fd int) (sa Sockaddr, err error) {
12792 if err = getsockname(fd, &rsa, &len); err != nil {
12793 return
12794 }
12795- return anyToSockaddr(&rsa)
12796+ return anyToSockaddr(fd, &rsa)
12797+}
12798+
12799+// GetsockoptString returns the string value of the socket option opt for the
12800+// socket associated with fd at the given socket level.
12801+func GetsockoptString(fd, level, opt int) (string, error) {
12802+ buf := make([]byte, 256)
12803+ vallen := _Socklen(len(buf))
12804+ err := getsockopt(fd, level, opt, unsafe.Pointer(&buf[0]), &vallen)
12805+ if err != nil {
12806+ return "", err
12807+ }
12808+ return string(buf[:vallen-1]), nil
12809 }
12810
12811 const ImplementsGetwd = true
12812@@ -167,7 +170,7 @@ func Getwd() (wd string, err error) {
12813
12814 func Getgroups() (gids []int, err error) {
12815 n, err := getgroups(0, nil)
12816- // Check for error and sanity check group count. Newer versions of
12817+ // Check for error and sanity check group count. Newer versions of
12818 // Solaris allow up to 1024 (NGROUPS_MAX).
12819 if n < 0 || n > 1024 {
12820 if err != nil {
12821@@ -202,6 +205,7 @@ func Setgroups(gids []int) (err error) {
12822 return setgroups(len(a), &a[0])
12823 }
12824
12825+// ReadDirent reads directory entries from fd and writes them into buf.
12826 func ReadDirent(fd int, buf []byte) (n int, err error) {
12827 // Final argument is (basep *uintptr) and the syscall doesn't take nil.
12828 // TODO(rsc): Can we use a single global basep for all calls?
12829@@ -325,6 +329,16 @@ func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error {
12830
12831 //sys fcntl(fd int, cmd int, arg int) (val int, err error)
12832
12833+// FcntlInt performs a fcntl syscall on fd with the provided command and argument.
12834+func FcntlInt(fd uintptr, cmd, arg int) (int, error) {
12835+ valptr, _, errno := sysvicall6(uintptr(unsafe.Pointer(&procfcntl)), 3, uintptr(fd), uintptr(cmd), uintptr(arg), 0, 0, 0)
12836+ var err error
12837+ if errno != 0 {
12838+ err = errno
12839+ }
12840+ return int(valptr), err
12841+}
12842+
12843 // FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command.
12844 func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
12845 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procfcntl)), 3, uintptr(fd), uintptr(cmd), uintptr(unsafe.Pointer(lk)), 0, 0, 0)
12846@@ -351,7 +365,7 @@ func Futimesat(dirfd int, path string, tv []Timeval) error {
12847 }
12848
12849 // Solaris doesn't have an futimes function because it allows NULL to be
12850-// specified as the path for futimesat. However, Go doesn't like
12851+// specified as the path for futimesat. However, Go doesn't like
12852 // NULL-style string interfaces, so this simple wrapper is provided.
12853 func Futimes(fd int, tv []Timeval) error {
12854 if tv == nil {
12855@@ -363,7 +377,7 @@ func Futimes(fd int, tv []Timeval) error {
12856 return futimesat(fd, nil, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
12857 }
12858
12859-func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) {
12860+func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) {
12861 switch rsa.Addr.Family {
12862 case AF_UNIX:
12863 pp := (*RawSockaddrUnix)(unsafe.Pointer(rsa))
12864@@ -377,7 +391,7 @@ func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) {
12865 for n < len(pp.Path) && pp.Path[n] != 0 {
12866 n++
12867 }
12868- bytes := (*[10000]byte)(unsafe.Pointer(&pp.Path[0]))[0:n]
12869+ bytes := (*[len(pp.Path)]byte)(unsafe.Pointer(&pp.Path[0]))[0:n]
12870 sa.Name = string(bytes)
12871 return sa, nil
12872
12873@@ -414,7 +428,7 @@ func Accept(fd int) (nfd int, sa Sockaddr, err error) {
12874 if nfd == -1 {
12875 return
12876 }
12877- sa, err = anyToSockaddr(&rsa)
12878+ sa, err = anyToSockaddr(fd, &rsa)
12879 if err != nil {
12880 Close(nfd)
12881 nfd = 0
12882@@ -451,7 +465,7 @@ func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from
12883 oobn = int(msg.Accrightslen)
12884 // source address is only specified if the socket is unconnected
12885 if rsa.Addr.Family != AF_UNSPEC {
12886- from, err = anyToSockaddr(&rsa)
12887+ from, err = anyToSockaddr(fd, &rsa)
12888 }
12889 return
12890 }
12891@@ -515,50 +529,54 @@ func Acct(path string) (err error) {
12892 return acct(pathp)
12893 }
12894
12895-/*
12896- * Expose the ioctl function
12897- */
12898+//sys __makedev(version int, major uint, minor uint) (val uint64)
12899
12900-//sys ioctl(fd int, req uint, arg uintptr) (err error)
12901-
12902-func IoctlSetInt(fd int, req uint, value int) (err error) {
12903- return ioctl(fd, req, uintptr(value))
12904+func Mkdev(major, minor uint32) uint64 {
12905+ return __makedev(NEWDEV, uint(major), uint(minor))
12906 }
12907
12908-func IoctlSetWinsize(fd int, req uint, value *Winsize) (err error) {
12909- return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
12910+//sys __major(version int, dev uint64) (val uint)
12911+
12912+func Major(dev uint64) uint32 {
12913+ return uint32(__major(NEWDEV, dev))
12914 }
12915
12916-func IoctlSetTermios(fd int, req uint, value *Termios) (err error) {
12917- return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
12918+//sys __minor(version int, dev uint64) (val uint)
12919+
12920+func Minor(dev uint64) uint32 {
12921+ return uint32(__minor(NEWDEV, dev))
12922 }
12923
12924+/*
12925+ * Expose the ioctl function
12926+ */
12927+
12928+//sys ioctl(fd int, req uint, arg uintptr) (err error)
12929+
12930 func IoctlSetTermio(fd int, req uint, value *Termio) (err error) {
12931 return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
12932 }
12933
12934-func IoctlGetInt(fd int, req uint) (int, error) {
12935- var value int
12936- err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
12937- return value, err
12938-}
12939-
12940-func IoctlGetWinsize(fd int, req uint) (*Winsize, error) {
12941- var value Winsize
12942+func IoctlGetTermio(fd int, req uint) (*Termio, error) {
12943+ var value Termio
12944 err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
12945 return &value, err
12946 }
12947
12948-func IoctlGetTermios(fd int, req uint) (*Termios, error) {
12949- var value Termios
12950- err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
12951- return &value, err
12952+//sys poll(fds *PollFd, nfds int, timeout int) (n int, err error)
12953+
12954+func Poll(fds []PollFd, timeout int) (n int, err error) {
12955+ if len(fds) == 0 {
12956+ return poll(nil, 0, timeout)
12957+ }
12958+ return poll(&fds[0], len(fds), timeout)
12959 }
12960
12961-func IoctlGetTermio(fd int, req uint) (*Termio, error) {
12962- var value Termio
12963- err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
12964- return &value, err
12965+func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
12966+ if raceenabled {
12967+ raceReleaseMerge(unsafe.Pointer(&ioSync))
12968+ }
12969+ return sendfile(outfd, infd, offset, count)
12970 }
12971
12972 /*
12973@@ -575,15 +593,17 @@ func IoctlGetTermio(fd int, req uint) (*Termio, error) {
12974 //sys Dup(fd int) (nfd int, err error)
12975 //sys Dup2(oldfd int, newfd int) (err error)
12976 //sys Exit(code int)
12977+//sys Faccessat(dirfd int, path string, mode uint32, flags int) (err error)
12978 //sys Fchdir(fd int) (err error)
12979 //sys Fchmod(fd int, mode uint32) (err error)
12980 //sys Fchmodat(dirfd int, path string, mode uint32, flags int) (err error)
12981 //sys Fchown(fd int, uid int, gid int) (err error)
12982 //sys Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error)
12983 //sys Fdatasync(fd int) (err error)
12984-//sys Flock(fd int, how int) (err error)
12985+//sys Flock(fd int, how int) (err error)
12986 //sys Fpathconf(fd int, name int) (val int, err error)
12987 //sys Fstat(fd int, stat *Stat_t) (err error)
12988+//sys Fstatat(fd int, path string, stat *Stat_t, flags int) (err error)
12989 //sys Fstatvfs(fd int, vfsstat *Statvfs_t) (err error)
12990 //sys Getdents(fd int, buf []byte, basep *uintptr) (n int, err error)
12991 //sysnb Getgid() (gid int)
12992@@ -613,6 +633,7 @@ func IoctlGetTermio(fd int, req uint) (*Termio, error) {
12993 //sys Mlock(b []byte) (err error)
12994 //sys Mlockall(flags int) (err error)
12995 //sys Mprotect(b []byte, prot int) (err error)
12996+//sys Msync(b []byte, flags int) (err error)
12997 //sys Munlock(b []byte) (err error)
12998 //sys Munlockall() (err error)
12999 //sys Nanosleep(time *Timespec, leftover *Timespec) (err error)
13000@@ -628,6 +649,7 @@ func IoctlGetTermio(fd int, req uint) (*Termio, error) {
13001 //sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
13002 //sys Rmdir(path string) (err error)
13003 //sys Seek(fd int, offset int64, whence int) (newoffset int64, err error) = lseek
13004+//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
13005 //sysnb Setegid(egid int) (err error)
13006 //sysnb Seteuid(euid int) (err error)
13007 //sysnb Setgid(gid int) (err error)
13008@@ -659,6 +681,7 @@ func IoctlGetTermio(fd int, req uint) (*Termio, error) {
13009 //sys connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) = libsocket.__xnet_connect
13010 //sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
13011 //sys munmap(addr uintptr, length uintptr) (err error)
13012+//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) = libsendfile.sendfile
13013 //sys sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) = libsocket.__xnet_sendto
13014 //sys socket(domain int, typ int, proto int) (fd int, err error) = libsocket.__xnet_socket
13015 //sysnb socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) = libsocket.__xnet_socketpair
13016@@ -699,18 +722,3 @@ func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, e
13017 func Munmap(b []byte) (err error) {
13018 return mapper.Munmap(b)
13019 }
13020-
13021-//sys sysconf(name int) (n int64, err error)
13022-
13023-// pageSize caches the value of Getpagesize, since it can't change
13024-// once the system is booted.
13025-var pageSize int64 // accessed atomically
13026-
13027-func Getpagesize() int {
13028- n := atomic.LoadInt64(&pageSize)
13029- if n == 0 {
13030- n, _ = sysconf(_SC_PAGESIZE)
13031- atomic.StoreInt64(&pageSize, n)
13032- }
13033- return int(n)
13034-}
13035diff --git a/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go b/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go
13036index 5aff62c3..b22a34d7 100644
13037--- a/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go
13038+++ b/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go
13039@@ -6,30 +6,22 @@
13040
13041 package unix
13042
13043-func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
13044-
13045-func NsecToTimespec(nsec int64) (ts Timespec) {
13046- ts.Sec = nsec / 1e9
13047- ts.Nsec = nsec % 1e9
13048- return
13049+func setTimespec(sec, nsec int64) Timespec {
13050+ return Timespec{Sec: sec, Nsec: nsec}
13051 }
13052
13053-func NsecToTimeval(nsec int64) (tv Timeval) {
13054- nsec += 999 // round up to microsecond
13055- tv.Usec = nsec % 1e9 / 1e3
13056- tv.Sec = int64(nsec / 1e9)
13057- return
13058+func setTimeval(sec, usec int64) Timeval {
13059+ return Timeval{Sec: sec, Usec: usec}
13060 }
13061
13062 func (iov *Iovec) SetLen(length int) {
13063 iov.Len = uint64(length)
13064 }
13065
13066-func (cmsg *Cmsghdr) SetLen(length int) {
13067- cmsg.Len = uint32(length)
13068+func (msghdr *Msghdr) SetIovlen(length int) {
13069+ msghdr.Iovlen = int32(length)
13070 }
13071
13072-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
13073- // TODO(aram): implement this, see issue 5847.
13074- panic("unimplemented")
13075+func (cmsg *Cmsghdr) SetLen(length int) {
13076+ cmsg.Len = uint32(length)
13077 }
13078diff --git a/vendor/golang.org/x/sys/unix/syscall_unix.go b/vendor/golang.org/x/sys/unix/syscall_unix.go
13079index 3ed8a91f..8f710d01 100644
13080--- a/vendor/golang.org/x/sys/unix/syscall_unix.go
13081+++ b/vendor/golang.org/x/sys/unix/syscall_unix.go
13082@@ -2,12 +2,13 @@
13083 // Use of this source code is governed by a BSD-style
13084 // license that can be found in the LICENSE file.
13085
13086-// +build darwin dragonfly freebsd linux netbsd openbsd solaris
13087+// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
13088
13089 package unix
13090
13091 import (
13092- "runtime"
13093+ "bytes"
13094+ "sort"
13095 "sync"
13096 "syscall"
13097 "unsafe"
13098@@ -19,13 +20,6 @@ var (
13099 Stderr = 2
13100 )
13101
13102-const (
13103- darwin64Bit = runtime.GOOS == "darwin" && sizeofPtr == 8
13104- dragonfly64Bit = runtime.GOOS == "dragonfly" && sizeofPtr == 8
13105- netbsd32Bit = runtime.GOOS == "netbsd" && sizeofPtr == 4
13106- solaris64Bit = runtime.GOOS == "solaris" && sizeofPtr == 8
13107-)
13108-
13109 // Do the interface allocations only once for common
13110 // Errno values.
13111 var (
13112@@ -34,6 +28,11 @@ var (
13113 errENOENT error = syscall.ENOENT
13114 )
13115
13116+var (
13117+ signalNameMapOnce sync.Once
13118+ signalNameMap map[string]syscall.Signal
13119+)
13120+
13121 // errnoErr returns common boxed Errno values, to prevent
13122 // allocations at runtime.
13123 func errnoErr(e syscall.Errno) error {
13124@@ -50,6 +49,50 @@ func errnoErr(e syscall.Errno) error {
13125 return e
13126 }
13127
13128+// ErrnoName returns the error name for error number e.
13129+func ErrnoName(e syscall.Errno) string {
13130+ i := sort.Search(len(errorList), func(i int) bool {
13131+ return errorList[i].num >= e
13132+ })
13133+ if i < len(errorList) && errorList[i].num == e {
13134+ return errorList[i].name
13135+ }
13136+ return ""
13137+}
13138+
13139+// SignalName returns the signal name for signal number s.
13140+func SignalName(s syscall.Signal) string {
13141+ i := sort.Search(len(signalList), func(i int) bool {
13142+ return signalList[i].num >= s
13143+ })
13144+ if i < len(signalList) && signalList[i].num == s {
13145+ return signalList[i].name
13146+ }
13147+ return ""
13148+}
13149+
13150+// SignalNum returns the syscall.Signal for signal named s,
13151+// or 0 if a signal with such name is not found.
13152+// The signal name should start with "SIG".
13153+func SignalNum(s string) syscall.Signal {
13154+ signalNameMapOnce.Do(func() {
13155+ signalNameMap = make(map[string]syscall.Signal, len(signalList))
13156+ for _, signal := range signalList {
13157+ signalNameMap[signal.name] = signal.num
13158+ }
13159+ })
13160+ return signalNameMap[s]
13161+}
13162+
13163+// clen returns the index of the first NULL byte in n or len(n) if n contains no NULL byte.
13164+func clen(n []byte) int {
13165+ i := bytes.IndexByte(n, 0)
13166+ if i == -1 {
13167+ i = len(n)
13168+ }
13169+ return i
13170+}
13171+
13172 // Mmap manager, for use by operating system-specific implementations.
13173
13174 type mmapper struct {
13175@@ -138,16 +181,19 @@ func Write(fd int, p []byte) (n int, err error) {
13176 // creation of IPv6 sockets to return EAFNOSUPPORT.
13177 var SocketDisableIPv6 bool
13178
13179+// Sockaddr represents a socket address.
13180 type Sockaddr interface {
13181 sockaddr() (ptr unsafe.Pointer, len _Socklen, err error) // lowercase; only we can define Sockaddrs
13182 }
13183
13184+// SockaddrInet4 implements the Sockaddr interface for AF_INET type sockets.
13185 type SockaddrInet4 struct {
13186 Port int
13187 Addr [4]byte
13188 raw RawSockaddrInet4
13189 }
13190
13191+// SockaddrInet6 implements the Sockaddr interface for AF_INET6 type sockets.
13192 type SockaddrInet6 struct {
13193 Port int
13194 ZoneId uint32
13195@@ -155,6 +201,7 @@ type SockaddrInet6 struct {
13196 raw RawSockaddrInet6
13197 }
13198
13199+// SockaddrUnix implements the Sockaddr interface for AF_UNIX type sockets.
13200 type SockaddrUnix struct {
13201 Name string
13202 raw RawSockaddrUnix
13203@@ -182,7 +229,14 @@ func Getpeername(fd int) (sa Sockaddr, err error) {
13204 if err = getpeername(fd, &rsa, &len); err != nil {
13205 return
13206 }
13207- return anyToSockaddr(&rsa)
13208+ return anyToSockaddr(fd, &rsa)
13209+}
13210+
13211+func GetsockoptByte(fd, level, opt int) (value byte, err error) {
13212+ var n byte
13213+ vallen := _Socklen(1)
13214+ err = getsockopt(fd, level, opt, unsafe.Pointer(&n), &vallen)
13215+ return n, err
13216 }
13217
13218 func GetsockoptInt(fd, level, opt int) (value int, err error) {
13219@@ -192,6 +246,61 @@ func GetsockoptInt(fd, level, opt int) (value int, err error) {
13220 return int(n), err
13221 }
13222
13223+func GetsockoptInet4Addr(fd, level, opt int) (value [4]byte, err error) {
13224+ vallen := _Socklen(4)
13225+ err = getsockopt(fd, level, opt, unsafe.Pointer(&value[0]), &vallen)
13226+ return value, err
13227+}
13228+
13229+func GetsockoptIPMreq(fd, level, opt int) (*IPMreq, error) {
13230+ var value IPMreq
13231+ vallen := _Socklen(SizeofIPMreq)
13232+ err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
13233+ return &value, err
13234+}
13235+
13236+func GetsockoptIPv6Mreq(fd, level, opt int) (*IPv6Mreq, error) {
13237+ var value IPv6Mreq
13238+ vallen := _Socklen(SizeofIPv6Mreq)
13239+ err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
13240+ return &value, err
13241+}
13242+
13243+func GetsockoptIPv6MTUInfo(fd, level, opt int) (*IPv6MTUInfo, error) {
13244+ var value IPv6MTUInfo
13245+ vallen := _Socklen(SizeofIPv6MTUInfo)
13246+ err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
13247+ return &value, err
13248+}
13249+
13250+func GetsockoptICMPv6Filter(fd, level, opt int) (*ICMPv6Filter, error) {
13251+ var value ICMPv6Filter
13252+ vallen := _Socklen(SizeofICMPv6Filter)
13253+ err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
13254+ return &value, err
13255+}
13256+
13257+func GetsockoptLinger(fd, level, opt int) (*Linger, error) {
13258+ var linger Linger
13259+ vallen := _Socklen(SizeofLinger)
13260+ err := getsockopt(fd, level, opt, unsafe.Pointer(&linger), &vallen)
13261+ return &linger, err
13262+}
13263+
13264+func GetsockoptTimeval(fd, level, opt int) (*Timeval, error) {
13265+ var tv Timeval
13266+ vallen := _Socklen(unsafe.Sizeof(tv))
13267+ err := getsockopt(fd, level, opt, unsafe.Pointer(&tv), &vallen)
13268+ return &tv, err
13269+}
13270+
13271+func GetsockoptUint64(fd, level, opt int) (value uint64, err error) {
13272+ var n uint64
13273+ vallen := _Socklen(8)
13274+ err = getsockopt(fd, level, opt, unsafe.Pointer(&n), &vallen)
13275+ return n, err
13276+}
13277+
13278 func Recvfrom(fd int, p []byte, flags int) (n int, from Sockaddr, err error) {
13279 var rsa RawSockaddrAny
13280 var len _Socklen = SizeofSockaddrAny
13281@@ -199,7 +308,7 @@ func Recvfrom(fd int, p []byte, flags int) (n int, from Sockaddr, err error) {
13282 return
13283 }
13284 if rsa.Addr.Family != AF_UNSPEC {
13285- from, err = anyToSockaddr(&rsa)
13286+ from, err = anyToSockaddr(fd, &rsa)
13287 }
13288 return
13289 }
13290@@ -242,13 +351,21 @@ func SetsockoptLinger(fd, level, opt int, l *Linger) (err error) {
13291 }
13292
13293 func SetsockoptString(fd, level, opt int, s string) (err error) {
13294- return setsockopt(fd, level, opt, unsafe.Pointer(&[]byte(s)[0]), uintptr(len(s)))
13295+ var p unsafe.Pointer
13296+ if len(s) > 0 {
13297+ p = unsafe.Pointer(&[]byte(s)[0])
13298+ }
13299+ return setsockopt(fd, level, opt, p, uintptr(len(s)))
13300 }
13301
13302 func SetsockoptTimeval(fd, level, opt int, tv *Timeval) (err error) {
13303 return setsockopt(fd, level, opt, unsafe.Pointer(tv), unsafe.Sizeof(*tv))
13304 }
13305
13306+func SetsockoptUint64(fd, level, opt int, value uint64) (err error) {
13307+ return setsockopt(fd, level, opt, unsafe.Pointer(&value), 8)
13308+}
13309+
13310 func Socket(domain, typ, proto int) (fd int, err error) {
13311 if domain == AF_INET6 && SocketDisableIPv6 {
13312 return -1, EAFNOSUPPORT
13313@@ -267,13 +384,6 @@ func Socketpair(domain, typ, proto int) (fd [2]int, err error) {
13314 return
13315 }
13316
13317-func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
13318- if raceenabled {
13319- raceReleaseMerge(unsafe.Pointer(&ioSync))
13320- }
13321- return sendfile(outfd, infd, offset, count)
13322-}
13323-
13324 var ioSync int64
13325
13326 func CloseOnExec(fd int) { fcntl(fd, F_SETFD, FD_CLOEXEC) }
13327@@ -291,3 +401,31 @@ func SetNonblock(fd int, nonblocking bool) (err error) {
13328 _, err = fcntl(fd, F_SETFL, flag)
13329 return err
13330 }
13331+
13332+// Exec calls execve(2), which replaces the calling executable in the process
13333+// tree. argv0 should be the full path to an executable ("/bin/ls") and the
13334+// executable name should also be the first argument in argv (["ls", "-l"]).
13335+// envv are the environment variables that should be passed to the new
13336+// process (["USER=go", "PWD=/tmp"]).
13337+func Exec(argv0 string, argv []string, envv []string) error {
13338+ return syscall.Exec(argv0, argv, envv)
13339+}
13340+
13341+// Lutimes sets the access and modification times tv on path. If path refers to
13342+// a symlink, it is not dereferenced and the timestamps are set on the symlink.
13343+// If tv is nil, the access and modification times are set to the current time.
13344+// Otherwise tv must contain exactly 2 elements, with access time as the first
13345+// element and modification time as the second element.
13346+func Lutimes(path string, tv []Timeval) error {
13347+ if tv == nil {
13348+ return UtimesNanoAt(AT_FDCWD, path, nil, AT_SYMLINK_NOFOLLOW)
13349+ }
13350+ if len(tv) != 2 {
13351+ return EINVAL
13352+ }
13353+ ts := []Timespec{
13354+ NsecToTimespec(TimevalToNsec(tv[0])),
13355+ NsecToTimespec(TimevalToNsec(tv[1])),
13356+ }
13357+ return UtimesNanoAt(AT_FDCWD, path, ts, AT_SYMLINK_NOFOLLOW)
13358+}
13359diff --git a/vendor/golang.org/x/sys/unix/syscall_unix_gc.go b/vendor/golang.org/x/sys/unix/syscall_unix_gc.go
13360index 4cb8e8ed..1c70d1b6 100644
13361--- a/vendor/golang.org/x/sys/unix/syscall_unix_gc.go
13362+++ b/vendor/golang.org/x/sys/unix/syscall_unix_gc.go
13363@@ -3,7 +3,7 @@
13364 // license that can be found in the LICENSE file.
13365
13366 // +build darwin dragonfly freebsd linux netbsd openbsd solaris
13367-// +build !gccgo
13368+// +build !gccgo,!ppc64le,!ppc64
13369
13370 package unix
13371
13372diff --git a/vendor/golang.org/x/sys/unix/syscall_unix_gc.go b/vendor/golang.org/x/sys/unix/syscall_unix_gc_ppc64x.go
13373similarity index 51%
13374copy from vendor/golang.org/x/sys/unix/syscall_unix_gc.go
13375copy to vendor/golang.org/x/sys/unix/syscall_unix_gc_ppc64x.go
13376index 4cb8e8ed..86dc765a 100644
13377--- a/vendor/golang.org/x/sys/unix/syscall_unix_gc.go
13378+++ b/vendor/golang.org/x/sys/unix/syscall_unix_gc_ppc64x.go
13379@@ -1,15 +1,24 @@
13380-// Copyright 2016 The Go Authors. All rights reserved.
13381+// Copyright 2018 The Go Authors. All rights reserved.
13382 // Use of this source code is governed by a BSD-style
13383 // license that can be found in the LICENSE file.
13384
13385-// +build darwin dragonfly freebsd linux netbsd openbsd solaris
13386+// +build linux
13387+// +build ppc64le ppc64
13388 // +build !gccgo
13389
13390 package unix
13391
13392 import "syscall"
13393
13394-func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)
13395-func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
13396-func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)
13397-func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
13398+func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) {
13399+ return syscall.Syscall(trap, a1, a2, a3)
13400+}
13401+func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) {
13402+ return syscall.Syscall6(trap, a1, a2, a3, a4, a5, a6)
13403+}
13404+func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) {
13405+ return syscall.RawSyscall(trap, a1, a2, a3)
13406+}
13407+func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) {
13408+ return syscall.RawSyscall6(trap, a1, a2, a3, a4, a5, a6)
13409+}
13410diff --git a/vendor/golang.org/x/sys/unix/timestruct.go b/vendor/golang.org/x/sys/unix/timestruct.go
13411new file mode 100644
13412index 00000000..4a672f56
13413--- /dev/null
13414+++ b/vendor/golang.org/x/sys/unix/timestruct.go
13415@@ -0,0 +1,82 @@
13416+// Copyright 2017 The Go Authors. All rights reserved.
13417+// Use of this source code is governed by a BSD-style
13418+// license that can be found in the LICENSE file.
13419+
13420+// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
13421+
13422+package unix
13423+
13424+import "time"
13425+
13426+// TimespecToNsec converts a Timespec value into a number of
13427+// nanoseconds since the Unix epoch.
13428+func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
13429+
13430+// NsecToTimespec takes a number of nanoseconds since the Unix epoch
13431+// and returns the corresponding Timespec value.
13432+func NsecToTimespec(nsec int64) Timespec {
13433+ sec := nsec / 1e9
13434+ nsec = nsec % 1e9
13435+ if nsec < 0 {
13436+ nsec += 1e9
13437+ sec--
13438+ }
13439+ return setTimespec(sec, nsec)
13440+}
13441+
13442+// TimeToTimespec converts t into a Timespec.
13443+// On some 32-bit systems the range of valid Timespec values are smaller
13444+// than that of time.Time values. So if t is out of the valid range of
13445+// Timespec, it returns a zero Timespec and ERANGE.
13446+func TimeToTimespec(t time.Time) (Timespec, error) {
13447+ sec := t.Unix()
13448+ nsec := int64(t.Nanosecond())
13449+ ts := setTimespec(sec, nsec)
13450+
13451+ // Currently all targets have either int32 or int64 for Timespec.Sec.
13452+ // If there were a new target with floating point type for it, we have
13453+ // to consider the rounding error.
13454+ if int64(ts.Sec) != sec {
13455+ return Timespec{}, ERANGE
13456+ }
13457+ return ts, nil
13458+}
13459+
13460+// TimevalToNsec converts a Timeval value into a number of nanoseconds
13461+// since the Unix epoch.
13462+func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
13463+
13464+// NsecToTimeval takes a number of nanoseconds since the Unix epoch
13465+// and returns the corresponding Timeval value.
13466+func NsecToTimeval(nsec int64) Timeval {
13467+ nsec += 999 // round up to microsecond
13468+ usec := nsec % 1e9 / 1e3
13469+ sec := nsec / 1e9
13470+ if usec < 0 {
13471+ usec += 1e6
13472+ sec--
13473+ }
13474+ return setTimeval(sec, usec)
13475+}
13476+
13477+// Unix returns ts as the number of seconds and nanoseconds elapsed since the
13478+// Unix epoch.
13479+func (ts *Timespec) Unix() (sec int64, nsec int64) {
13480+ return int64(ts.Sec), int64(ts.Nsec)
13481+}
13482+
13483+// Unix returns tv as the number of seconds and nanoseconds elapsed since the
13484+// Unix epoch.
13485+func (tv *Timeval) Unix() (sec int64, nsec int64) {
13486+ return int64(tv.Sec), int64(tv.Usec) * 1000
13487+}
13488+
13489+// Nano returns ts as the number of nanoseconds elapsed since the Unix epoch.
13490+func (ts *Timespec) Nano() int64 {
13491+ return int64(ts.Sec)*1e9 + int64(ts.Nsec)
13492+}
13493+
13494+// Nano returns tv as the number of nanoseconds elapsed since the Unix epoch.
13495+func (tv *Timeval) Nano() int64 {
13496+ return int64(tv.Sec)*1e9 + int64(tv.Usec)*1000
13497+}
13498diff --git a/vendor/golang.org/x/sys/unix/types_netbsd.go b/vendor/golang.org/x/sys/unix/types_aix.go
13499similarity index 53%
13500copy from vendor/golang.org/x/sys/unix/types_netbsd.go
13501copy to vendor/golang.org/x/sys/unix/types_aix.go
13502index cb95c80a..40d2beed 100644
13503--- a/vendor/golang.org/x/sys/unix/types_netbsd.go
13504+++ b/vendor/golang.org/x/sys/unix/types_aix.go
13505@@ -1,11 +1,12 @@
13506-// Copyright 2009 The Go Authors. All rights reserved.
13507+// Copyright 2018 The Go Authors. All rights reserved.
13508 // Use of this source code is governed by a BSD-style
13509 // license that can be found in the LICENSE file.
13510
13511 // +build ignore
13512+// +build aix
13513
13514 /*
13515-Input to cgo -godefs. See README.md
13516+Input to cgo -godefs. See also mkerrors.sh and mkall.sh
13517 */
13518
13519 // +godefs map struct_in_addr [4]byte /* in_addr */
13520@@ -14,44 +15,37 @@ Input to cgo -godefs. See README.md
13521 package unix
13522
13523 /*
13524-#define KERNEL
13525-#include <dirent.h>
13526-#include <fcntl.h>
13527-#include <signal.h>
13528-#include <termios.h>
13529-#include <stdio.h>
13530-#include <unistd.h>
13531-#include <sys/param.h>
13532 #include <sys/types.h>
13533-#include <sys/event.h>
13534-#include <sys/mman.h>
13535-#include <sys/mount.h>
13536-#include <sys/ptrace.h>
13537-#include <sys/resource.h>
13538-#include <sys/select.h>
13539-#include <sys/signal.h>
13540-#include <sys/socket.h>
13541-#include <sys/stat.h>
13542-#include <sys/sysctl.h>
13543 #include <sys/time.h>
13544-#include <sys/uio.h>
13545+#include <sys/limits.h>
13546 #include <sys/un.h>
13547-#include <sys/wait.h>
13548-#include <net/bpf.h>
13549+#include <utime.h>
13550+#include <sys/utsname.h>
13551+#include <sys/poll.h>
13552+#include <sys/resource.h>
13553+#include <sys/stat.h>
13554+#include <sys/statfs.h>
13555+#include <sys/termio.h>
13556+#include <sys/ioctl.h>
13557+
13558+#include <termios.h>
13559+
13560 #include <net/if.h>
13561 #include <net/if_dl.h>
13562-#include <net/route.h>
13563 #include <netinet/in.h>
13564 #include <netinet/icmp6.h>
13565-#include <netinet/tcp.h>
13566+
13567+
13568+#include <dirent.h>
13569+#include <fcntl.h>
13570
13571 enum {
13572 sizeofPtr = sizeof(void*),
13573 };
13574
13575 union sockaddr_all {
13576- struct sockaddr s1; // this one gets used for fields
13577- struct sockaddr_in s2; // these pad it out
13578+ struct sockaddr s1; // this one gets used for fields
13579+ struct sockaddr_in s2; // these pad it out
13580 struct sockaddr_in6 s3;
13581 struct sockaddr_un s4;
13582 struct sockaddr_dl s5;
13583@@ -65,14 +59,15 @@ struct sockaddr_any {
13584 */
13585 import "C"
13586
13587-// Machine characteristics; for internal use.
13588+// Machine characteristics
13589
13590 const (
13591- sizeofPtr = C.sizeofPtr
13592- sizeofShort = C.sizeof_short
13593- sizeofInt = C.sizeof_int
13594- sizeofLong = C.sizeof_long
13595- sizeofLongLong = C.sizeof_longlong
13596+ SizeofPtr = C.sizeofPtr
13597+ SizeofShort = C.sizeof_short
13598+ SizeofInt = C.sizeof_int
13599+ SizeofLong = C.sizeof_long
13600+ SizeofLongLong = C.sizeof_longlong
13601+ PathMax = C.PATH_MAX
13602 )
13603
13604 // Basic types
13605@@ -84,32 +79,50 @@ type (
13606 _C_long_long C.longlong
13607 )
13608
13609+type off64 C.off64_t
13610+type off C.off_t
13611+type Mode_t C.mode_t
13612+
13613 // Time
13614
13615 type Timespec C.struct_timespec
13616
13617 type Timeval C.struct_timeval
13618
13619+type Timeval32 C.struct_timeval32
13620+
13621+type Timex C.struct_timex
13622+
13623+type Time_t C.time_t
13624+
13625+type Tms C.struct_tms
13626+
13627+type Utimbuf C.struct_utimbuf
13628+
13629+type Timezone C.struct_timezone
13630+
13631 // Processes
13632
13633 type Rusage C.struct_rusage
13634
13635-type Rlimit C.struct_rlimit
13636+type Rlimit C.struct_rlimit64
13637+
13638+type Pid_t C.pid_t
13639
13640 type _Gid_t C.gid_t
13641
13642+type dev_t C.dev_t
13643+
13644 // Files
13645
13646 type Stat_t C.struct_stat
13647
13648-type Statfs_t C.struct_statfs
13649+type StatxTimestamp C.struct_statx_timestamp
13650
13651-type Flock_t C.struct_flock
13652+type Statx_t C.struct_statx
13653
13654 type Dirent C.struct_dirent
13655
13656-type Fsid C.fsid_t
13657-
13658 // Sockets
13659
13660 type RawSockaddrInet4 C.struct_sockaddr_in
13661@@ -126,7 +139,9 @@ type RawSockaddrAny C.struct_sockaddr_any
13662
13663 type _Socklen C.socklen_t
13664
13665-type Linger C.struct_linger
13666+type Cmsghdr C.struct_cmsghdr
13667+
13668+type ICMPv6Filter C.struct_icmp6_filter
13669
13670 type Iovec C.struct_iovec
13671
13672@@ -134,15 +149,11 @@ type IPMreq C.struct_ip_mreq
13673
13674 type IPv6Mreq C.struct_ipv6_mreq
13675
13676-type Msghdr C.struct_msghdr
13677-
13678-type Cmsghdr C.struct_cmsghdr
13679-
13680-type Inet6Pktinfo C.struct_in6_pktinfo
13681-
13682 type IPv6MTUInfo C.struct_ip6_mtuinfo
13683
13684-type ICMPv6Filter C.struct_icmp6_filter
13685+type Linger C.struct_linger
13686+
13687+type Msghdr C.struct_msghdr
13688
13689 const (
13690 SizeofSockaddrInet4 = C.sizeof_struct_sockaddr_in
13691@@ -153,87 +164,74 @@ const (
13692 SizeofLinger = C.sizeof_struct_linger
13693 SizeofIPMreq = C.sizeof_struct_ip_mreq
13694 SizeofIPv6Mreq = C.sizeof_struct_ipv6_mreq
13695+ SizeofIPv6MTUInfo = C.sizeof_struct_ip6_mtuinfo
13696 SizeofMsghdr = C.sizeof_struct_msghdr
13697 SizeofCmsghdr = C.sizeof_struct_cmsghdr
13698- SizeofInet6Pktinfo = C.sizeof_struct_in6_pktinfo
13699- SizeofIPv6MTUInfo = C.sizeof_struct_ip6_mtuinfo
13700 SizeofICMPv6Filter = C.sizeof_struct_icmp6_filter
13701 )
13702
13703-// Ptrace requests
13704+// Routing and interface messages
13705
13706 const (
13707- PTRACE_TRACEME = C.PT_TRACE_ME
13708- PTRACE_CONT = C.PT_CONTINUE
13709- PTRACE_KILL = C.PT_KILL
13710+ SizeofIfMsghdr = C.sizeof_struct_if_msghdr
13711 )
13712
13713-// Events (kqueue, kevent)
13714-
13715-type Kevent_t C.struct_kevent
13716+type IfMsgHdr C.struct_if_msghdr
13717
13718-// Select
13719+// Misc
13720
13721 type FdSet C.fd_set
13722
13723-// Routing and interface messages
13724+type Utsname C.struct_utsname
13725
13726-const (
13727- SizeofIfMsghdr = C.sizeof_struct_if_msghdr
13728- SizeofIfData = C.sizeof_struct_if_data
13729- SizeofIfaMsghdr = C.sizeof_struct_ifa_msghdr
13730- SizeofIfAnnounceMsghdr = C.sizeof_struct_if_announcemsghdr
13731- SizeofRtMsghdr = C.sizeof_struct_rt_msghdr
13732- SizeofRtMetrics = C.sizeof_struct_rt_metrics
13733-)
13734+type Ustat_t C.struct_ustat
13735
13736-type IfMsghdr C.struct_if_msghdr
13737+type Sigset_t C.sigset_t
13738
13739-type IfData C.struct_if_data
13740+const (
13741+ AT_FDCWD = C.AT_FDCWD
13742+ AT_REMOVEDIR = C.AT_REMOVEDIR
13743+ AT_SYMLINK_NOFOLLOW = C.AT_SYMLINK_NOFOLLOW
13744+)
13745
13746-type IfaMsghdr C.struct_ifa_msghdr
13747+// Terminal handling
13748
13749-type IfAnnounceMsghdr C.struct_if_announcemsghdr
13750+type Termios C.struct_termios
13751
13752-type RtMsghdr C.struct_rt_msghdr
13753+type Termio C.struct_termio
13754
13755-type RtMetrics C.struct_rt_metrics
13756+type Winsize C.struct_winsize
13757
13758-type Mclpool C.struct_mclpool
13759+//poll
13760
13761-// Berkeley packet filter
13762+type PollFd struct {
13763+ Fd int32
13764+ Events uint16
13765+ Revents uint16
13766+}
13767
13768 const (
13769- SizeofBpfVersion = C.sizeof_struct_bpf_version
13770- SizeofBpfStat = C.sizeof_struct_bpf_stat
13771- SizeofBpfProgram = C.sizeof_struct_bpf_program
13772- SizeofBpfInsn = C.sizeof_struct_bpf_insn
13773- SizeofBpfHdr = C.sizeof_struct_bpf_hdr
13774+ POLLERR = C.POLLERR
13775+ POLLHUP = C.POLLHUP
13776+ POLLIN = C.POLLIN
13777+ POLLNVAL = C.POLLNVAL
13778+ POLLOUT = C.POLLOUT
13779+ POLLPRI = C.POLLPRI
13780+ POLLRDBAND = C.POLLRDBAND
13781+ POLLRDNORM = C.POLLRDNORM
13782+ POLLWRBAND = C.POLLWRBAND
13783+ POLLWRNORM = C.POLLWRNORM
13784 )
13785
13786-type BpfVersion C.struct_bpf_version
13787-
13788-type BpfStat C.struct_bpf_stat
13789-
13790-type BpfProgram C.struct_bpf_program
13791-
13792-type BpfInsn C.struct_bpf_insn
13793-
13794-type BpfHdr C.struct_bpf_hdr
13795-
13796-type BpfTimeval C.struct_bpf_timeval
13797+//flock_t
13798
13799-// Terminal handling
13800-
13801-type Termios C.struct_termios
13802+type Flock_t C.struct_flock64
13803
13804-// fchmodat-like syscalls.
13805+// Statfs
13806
13807-const (
13808- AT_FDCWD = C.AT_FDCWD
13809- AT_SYMLINK_NOFOLLOW = C.AT_SYMLINK_NOFOLLOW
13810-)
13811+type Fsid_t C.struct_fsid_t
13812+type Fsid64_t C.struct_fsid64_t
13813
13814-// Sysctl
13815+type Statfs_t C.struct_statfs
13816
13817-type Sysctlnode C.struct_sysctlnode
13818+const RNDGETENTCNT = 0x80045200
13819diff --git a/vendor/golang.org/x/sys/unix/types_darwin.go b/vendor/golang.org/x/sys/unix/types_darwin.go
13820index 415124d4..155c2e69 100644
13821--- a/vendor/golang.org/x/sys/unix/types_darwin.go
13822+++ b/vendor/golang.org/x/sys/unix/types_darwin.go
13823@@ -19,6 +19,7 @@ package unix
13824 #define _DARWIN_USE_64_BIT_INODE
13825 #include <dirent.h>
13826 #include <fcntl.h>
13827+#include <poll.h>
13828 #include <signal.h>
13829 #include <termios.h>
13830 #include <unistd.h>
13831@@ -38,6 +39,7 @@ package unix
13832 #include <sys/types.h>
13833 #include <sys/uio.h>
13834 #include <sys/un.h>
13835+#include <sys/utsname.h>
13836 #include <sys/wait.h>
13837 #include <net/bpf.h>
13838 #include <net/if.h>
13839@@ -68,14 +70,14 @@ struct sockaddr_any {
13840 */
13841 import "C"
13842
13843-// Machine characteristics; for internal use.
13844+// Machine characteristics
13845
13846 const (
13847- sizeofPtr = C.sizeofPtr
13848- sizeofShort = C.sizeof_short
13849- sizeofInt = C.sizeof_int
13850- sizeofLong = C.sizeof_long
13851- sizeofLongLong = C.sizeof_longlong
13852+ SizeofPtr = C.sizeofPtr
13853+ SizeofShort = C.sizeof_short
13854+ SizeofInt = C.sizeof_int
13855+ SizeofLong = C.sizeof_long
13856+ SizeofLongLong = C.sizeof_longlong
13857 )
13858
13859 // Basic types
13860@@ -252,3 +254,30 @@ const (
13861 AT_SYMLINK_FOLLOW = C.AT_SYMLINK_FOLLOW
13862 AT_SYMLINK_NOFOLLOW = C.AT_SYMLINK_NOFOLLOW
13863 )
13864+
13865+// poll
13866+
13867+type PollFd C.struct_pollfd
13868+
13869+const (
13870+ POLLERR = C.POLLERR
13871+ POLLHUP = C.POLLHUP
13872+ POLLIN = C.POLLIN
13873+ POLLNVAL = C.POLLNVAL
13874+ POLLOUT = C.POLLOUT
13875+ POLLPRI = C.POLLPRI
13876+ POLLRDBAND = C.POLLRDBAND
13877+ POLLRDNORM = C.POLLRDNORM
13878+ POLLWRBAND = C.POLLWRBAND
13879+ POLLWRNORM = C.POLLWRNORM
13880+)
13881+
13882+// uname
13883+
13884+type Utsname C.struct_utsname
13885+
13886+// Clockinfo
13887+
13888+const SizeofClockinfo = C.sizeof_struct_clockinfo
13889+
13890+type Clockinfo C.struct_clockinfo
13891diff --git a/vendor/golang.org/x/sys/unix/types_dragonfly.go b/vendor/golang.org/x/sys/unix/types_dragonfly.go
13892index 80b27781..6574f6b6 100644
13893--- a/vendor/golang.org/x/sys/unix/types_dragonfly.go
13894+++ b/vendor/golang.org/x/sys/unix/types_dragonfly.go
13895@@ -17,6 +17,7 @@ package unix
13896 #define KERNEL
13897 #include <dirent.h>
13898 #include <fcntl.h>
13899+#include <poll.h>
13900 #include <signal.h>
13901 #include <termios.h>
13902 #include <stdio.h>
13903@@ -34,6 +35,7 @@ package unix
13904 #include <sys/time.h>
13905 #include <sys/types.h>
13906 #include <sys/un.h>
13907+#include <sys/utsname.h>
13908 #include <sys/wait.h>
13909 #include <net/bpf.h>
13910 #include <net/if.h>
13911@@ -63,14 +65,14 @@ struct sockaddr_any {
13912 */
13913 import "C"
13914
13915-// Machine characteristics; for internal use.
13916+// Machine characteristics
13917
13918 const (
13919- sizeofPtr = C.sizeofPtr
13920- sizeofShort = C.sizeof_short
13921- sizeofInt = C.sizeof_int
13922- sizeofLong = C.sizeof_long
13923- sizeofLongLong = C.sizeof_longlong
13924+ SizeofPtr = C.sizeofPtr
13925+ SizeofShort = C.sizeof_short
13926+ SizeofInt = C.sizeof_int
13927+ SizeofLong = C.sizeof_long
13928+ SizeofLongLong = C.sizeof_longlong
13929 )
13930
13931 // Basic types
13932@@ -98,23 +100,6 @@ type _Gid_t C.gid_t
13933
13934 // Files
13935
13936-const ( // Directory mode bits
13937- S_IFMT = C.S_IFMT
13938- S_IFIFO = C.S_IFIFO
13939- S_IFCHR = C.S_IFCHR
13940- S_IFDIR = C.S_IFDIR
13941- S_IFBLK = C.S_IFBLK
13942- S_IFREG = C.S_IFREG
13943- S_IFLNK = C.S_IFLNK
13944- S_IFSOCK = C.S_IFSOCK
13945- S_ISUID = C.S_ISUID
13946- S_ISGID = C.S_ISGID
13947- S_ISVTX = C.S_ISVTX
13948- S_IRUSR = C.S_IRUSR
13949- S_IWUSR = C.S_IWUSR
13950- S_IXUSR = C.S_IXUSR
13951-)
13952-
13953 type Stat_t C.struct_stat
13954
13955 type Statfs_t C.struct_statfs
13956@@ -125,6 +110,12 @@ type Dirent C.struct_dirent
13957
13958 type Fsid C.struct_fsid
13959
13960+// File system limits
13961+
13962+const (
13963+ PathMax = C.PATH_MAX
13964+)
13965+
13966 // Sockets
13967
13968 type RawSockaddrInet4 C.struct_sockaddr_in
13969@@ -241,9 +232,38 @@ type BpfHdr C.struct_bpf_hdr
13970
13971 type Termios C.struct_termios
13972
13973+type Winsize C.struct_winsize
13974+
13975 // fchmodat-like syscalls.
13976
13977 const (
13978 AT_FDCWD = C.AT_FDCWD
13979 AT_SYMLINK_NOFOLLOW = C.AT_SYMLINK_NOFOLLOW
13980 )
13981+
13982+// poll
13983+
13984+type PollFd C.struct_pollfd
13985+
13986+const (
13987+ POLLERR = C.POLLERR
13988+ POLLHUP = C.POLLHUP
13989+ POLLIN = C.POLLIN
13990+ POLLNVAL = C.POLLNVAL
13991+ POLLOUT = C.POLLOUT
13992+ POLLPRI = C.POLLPRI
13993+ POLLRDBAND = C.POLLRDBAND
13994+ POLLRDNORM = C.POLLRDNORM
13995+ POLLWRBAND = C.POLLWRBAND
13996+ POLLWRNORM = C.POLLWRNORM
13997+)
13998+
13999+// Uname
14000+
14001+type Utsname C.struct_utsname
14002+
14003+// Clockinfo
14004+
14005+const SizeofClockinfo = C.sizeof_struct_clockinfo
14006+
14007+type Clockinfo C.struct_clockinfo
14008diff --git a/vendor/golang.org/x/sys/unix/types_freebsd.go b/vendor/golang.org/x/sys/unix/types_freebsd.go
14009index 934fd7ac..c6fde424 100644
14010--- a/vendor/golang.org/x/sys/unix/types_freebsd.go
14011+++ b/vendor/golang.org/x/sys/unix/types_freebsd.go
14012@@ -14,14 +14,19 @@ Input to cgo -godefs. See README.md
14013 package unix
14014
14015 /*
14016-#define KERNEL
14017+#define _WANT_FREEBSD11_STAT 1
14018+#define _WANT_FREEBSD11_STATFS 1
14019+#define _WANT_FREEBSD11_DIRENT 1
14020+#define _WANT_FREEBSD11_KEVENT 1
14021+
14022 #include <dirent.h>
14023 #include <fcntl.h>
14024+#include <poll.h>
14025 #include <signal.h>
14026 #include <termios.h>
14027 #include <stdio.h>
14028 #include <unistd.h>
14029-#include <sys/capability.h>
14030+#include <sys/capsicum.h>
14031 #include <sys/event.h>
14032 #include <sys/mman.h>
14033 #include <sys/mount.h>
14034@@ -35,6 +40,7 @@ package unix
14035 #include <sys/time.h>
14036 #include <sys/types.h>
14037 #include <sys/un.h>
14038+#include <sys/utsname.h>
14039 #include <sys/wait.h>
14040 #include <net/bpf.h>
14041 #include <net/if.h>
14042@@ -61,50 +67,6 @@ struct sockaddr_any {
14043 char pad[sizeof(union sockaddr_all) - sizeof(struct sockaddr)];
14044 };
14045
14046-// This structure is a duplicate of stat on FreeBSD 8-STABLE.
14047-// See /usr/include/sys/stat.h.
14048-struct stat8 {
14049-#undef st_atimespec st_atim
14050-#undef st_mtimespec st_mtim
14051-#undef st_ctimespec st_ctim
14052-#undef st_birthtimespec st_birthtim
14053- __dev_t st_dev;
14054- ino_t st_ino;
14055- mode_t st_mode;
14056- nlink_t st_nlink;
14057- uid_t st_uid;
14058- gid_t st_gid;
14059- __dev_t st_rdev;
14060-#if __BSD_VISIBLE
14061- struct timespec st_atimespec;
14062- struct timespec st_mtimespec;
14063- struct timespec st_ctimespec;
14064-#else
14065- time_t st_atime;
14066- long __st_atimensec;
14067- time_t st_mtime;
14068- long __st_mtimensec;
14069- time_t st_ctime;
14070- long __st_ctimensec;
14071-#endif
14072- off_t st_size;
14073- blkcnt_t st_blocks;
14074- blksize_t st_blksize;
14075- fflags_t st_flags;
14076- __uint32_t st_gen;
14077- __int32_t st_lspare;
14078-#if __BSD_VISIBLE
14079- struct timespec st_birthtimespec;
14080- unsigned int :(8 / 2) * (16 - (int)sizeof(struct timespec));
14081- unsigned int :(8 / 2) * (16 - (int)sizeof(struct timespec));
14082-#else
14083- time_t st_birthtime;
14084- long st_birthtimensec;
14085- unsigned int :(8 / 2) * (16 - (int)sizeof(struct __timespec));
14086- unsigned int :(8 / 2) * (16 - (int)sizeof(struct __timespec));
14087-#endif
14088-};
14089-
14090 // This structure is a duplicate of if_data on FreeBSD 8-STABLE.
14091 // See /usr/include/net/if.h.
14092 struct if_data8 {
14093@@ -152,14 +114,14 @@ struct if_msghdr8 {
14094 */
14095 import "C"
14096
14097-// Machine characteristics; for internal use.
14098+// Machine characteristics
14099
14100 const (
14101- sizeofPtr = C.sizeofPtr
14102- sizeofShort = C.sizeof_short
14103- sizeofInt = C.sizeof_int
14104- sizeofLong = C.sizeof_long
14105- sizeofLongLong = C.sizeof_longlong
14106+ SizeofPtr = C.sizeofPtr
14107+ SizeofShort = C.sizeof_short
14108+ SizeofInt = C.sizeof_int
14109+ SizeofLong = C.sizeof_long
14110+ SizeofLongLong = C.sizeof_longlong
14111 )
14112
14113 // Basic types
14114@@ -187,33 +149,33 @@ type _Gid_t C.gid_t
14115
14116 // Files
14117
14118-const ( // Directory mode bits
14119- S_IFMT = C.S_IFMT
14120- S_IFIFO = C.S_IFIFO
14121- S_IFCHR = C.S_IFCHR
14122- S_IFDIR = C.S_IFDIR
14123- S_IFBLK = C.S_IFBLK
14124- S_IFREG = C.S_IFREG
14125- S_IFLNK = C.S_IFLNK
14126- S_IFSOCK = C.S_IFSOCK
14127- S_ISUID = C.S_ISUID
14128- S_ISGID = C.S_ISGID
14129- S_ISVTX = C.S_ISVTX
14130- S_IRUSR = C.S_IRUSR
14131- S_IWUSR = C.S_IWUSR
14132- S_IXUSR = C.S_IXUSR
14133+const (
14134+ _statfsVersion = C.STATFS_VERSION
14135+ _dirblksiz = C.DIRBLKSIZ
14136 )
14137
14138-type Stat_t C.struct_stat8
14139+type Stat_t C.struct_stat
14140+
14141+type stat_freebsd11_t C.struct_freebsd11_stat
14142
14143 type Statfs_t C.struct_statfs
14144
14145+type statfs_freebsd11_t C.struct_freebsd11_statfs
14146+
14147 type Flock_t C.struct_flock
14148
14149 type Dirent C.struct_dirent
14150
14151+type dirent_freebsd11 C.struct_freebsd11_dirent
14152+
14153 type Fsid C.struct_fsid
14154
14155+// File system limits
14156+
14157+const (
14158+ PathMax = C.PATH_MAX
14159+)
14160+
14161 // Advice to Fadvise
14162
14163 const (
14164@@ -281,14 +243,58 @@ const (
14165 // Ptrace requests
14166
14167 const (
14168- PTRACE_TRACEME = C.PT_TRACE_ME
14169- PTRACE_CONT = C.PT_CONTINUE
14170- PTRACE_KILL = C.PT_KILL
14171+ PTRACE_ATTACH = C.PT_ATTACH
14172+ PTRACE_CONT = C.PT_CONTINUE
14173+ PTRACE_DETACH = C.PT_DETACH
14174+ PTRACE_GETFPREGS = C.PT_GETFPREGS
14175+ PTRACE_GETFSBASE = C.PT_GETFSBASE
14176+ PTRACE_GETLWPLIST = C.PT_GETLWPLIST
14177+ PTRACE_GETNUMLWPS = C.PT_GETNUMLWPS
14178+ PTRACE_GETREGS = C.PT_GETREGS
14179+ PTRACE_GETXSTATE = C.PT_GETXSTATE
14180+ PTRACE_IO = C.PT_IO
14181+ PTRACE_KILL = C.PT_KILL
14182+ PTRACE_LWPEVENTS = C.PT_LWP_EVENTS
14183+ PTRACE_LWPINFO = C.PT_LWPINFO
14184+ PTRACE_SETFPREGS = C.PT_SETFPREGS
14185+ PTRACE_SETREGS = C.PT_SETREGS
14186+ PTRACE_SINGLESTEP = C.PT_STEP
14187+ PTRACE_TRACEME = C.PT_TRACE_ME
14188+)
14189+
14190+const (
14191+ PIOD_READ_D = C.PIOD_READ_D
14192+ PIOD_WRITE_D = C.PIOD_WRITE_D
14193+ PIOD_READ_I = C.PIOD_READ_I
14194+ PIOD_WRITE_I = C.PIOD_WRITE_I
14195+)
14196+
14197+const (
14198+ PL_FLAG_BORN = C.PL_FLAG_BORN
14199+ PL_FLAG_EXITED = C.PL_FLAG_EXITED
14200+ PL_FLAG_SI = C.PL_FLAG_SI
14201+)
14202+
14203+const (
14204+ TRAP_BRKPT = C.TRAP_BRKPT
14205+ TRAP_TRACE = C.TRAP_TRACE
14206 )
14207
14208+type PtraceLwpInfoStruct C.struct_ptrace_lwpinfo
14209+
14210+type __Siginfo C.struct___siginfo
14211+
14212+type Sigset_t C.sigset_t
14213+
14214+type Reg C.struct_reg
14215+
14216+type FpReg C.struct_fpreg
14217+
14218+type PtraceIoDesc C.struct_ptrace_io_desc
14219+
14220 // Events (kqueue, kevent)
14221
14222-type Kevent_t C.struct_kevent
14223+type Kevent_t C.struct_kevent_freebsd11
14224
14225 // Select
14226
14227@@ -367,6 +373,34 @@ const (
14228 AT_SYMLINK_NOFOLLOW = C.AT_SYMLINK_NOFOLLOW
14229 )
14230
14231+// poll
14232+
14233+type PollFd C.struct_pollfd
14234+
14235+const (
14236+ POLLERR = C.POLLERR
14237+ POLLHUP = C.POLLHUP
14238+ POLLIN = C.POLLIN
14239+ POLLINIGNEOF = C.POLLINIGNEOF
14240+ POLLNVAL = C.POLLNVAL
14241+ POLLOUT = C.POLLOUT
14242+ POLLPRI = C.POLLPRI
14243+ POLLRDBAND = C.POLLRDBAND
14244+ POLLRDNORM = C.POLLRDNORM
14245+ POLLWRBAND = C.POLLWRBAND
14246+ POLLWRNORM = C.POLLWRNORM
14247+)
14248+
14249 // Capabilities
14250
14251 type CapRights C.struct_cap_rights
14252+
14253+// Uname
14254+
14255+type Utsname C.struct_utsname
14256+
14257+// Clockinfo
14258+
14259+const SizeofClockinfo = C.sizeof_struct_clockinfo
14260+
14261+type Clockinfo C.struct_clockinfo
14262diff --git a/vendor/golang.org/x/sys/unix/types_netbsd.go b/vendor/golang.org/x/sys/unix/types_netbsd.go
14263index cb95c80a..0a81aadb 100644
14264--- a/vendor/golang.org/x/sys/unix/types_netbsd.go
14265+++ b/vendor/golang.org/x/sys/unix/types_netbsd.go
14266@@ -17,6 +17,7 @@ package unix
14267 #define KERNEL
14268 #include <dirent.h>
14269 #include <fcntl.h>
14270+#include <poll.h>
14271 #include <signal.h>
14272 #include <termios.h>
14273 #include <stdio.h>
14274@@ -32,10 +33,12 @@ package unix
14275 #include <sys/signal.h>
14276 #include <sys/socket.h>
14277 #include <sys/stat.h>
14278+#include <sys/statvfs.h>
14279 #include <sys/sysctl.h>
14280 #include <sys/time.h>
14281 #include <sys/uio.h>
14282 #include <sys/un.h>
14283+#include <sys/utsname.h>
14284 #include <sys/wait.h>
14285 #include <net/bpf.h>
14286 #include <net/if.h>
14287@@ -65,14 +68,14 @@ struct sockaddr_any {
14288 */
14289 import "C"
14290
14291-// Machine characteristics; for internal use.
14292+// Machine characteristics
14293
14294 const (
14295- sizeofPtr = C.sizeofPtr
14296- sizeofShort = C.sizeof_short
14297- sizeofInt = C.sizeof_int
14298- sizeofLong = C.sizeof_long
14299- sizeofLongLong = C.sizeof_longlong
14300+ SizeofPtr = C.sizeofPtr
14301+ SizeofShort = C.sizeof_short
14302+ SizeofInt = C.sizeof_int
14303+ SizeofLong = C.sizeof_long
14304+ SizeofLongLong = C.sizeof_longlong
14305 )
14306
14307 // Basic types
14308@@ -104,12 +107,38 @@ type Stat_t C.struct_stat
14309
14310 type Statfs_t C.struct_statfs
14311
14312+type Statvfs_t C.struct_statvfs
14313+
14314 type Flock_t C.struct_flock
14315
14316 type Dirent C.struct_dirent
14317
14318 type Fsid C.fsid_t
14319
14320+// File system limits
14321+
14322+const (
14323+ PathMax = C.PATH_MAX
14324+)
14325+
14326+// Fstatvfs/Statvfs flags
14327+
14328+const (
14329+ ST_WAIT = C.ST_WAIT
14330+ ST_NOWAIT = C.ST_NOWAIT
14331+)
14332+
14333+// Advice to Fadvise
14334+
14335+const (
14336+ FADV_NORMAL = C.POSIX_FADV_NORMAL
14337+ FADV_RANDOM = C.POSIX_FADV_RANDOM
14338+ FADV_SEQUENTIAL = C.POSIX_FADV_SEQUENTIAL
14339+ FADV_WILLNEED = C.POSIX_FADV_WILLNEED
14340+ FADV_DONTNEED = C.POSIX_FADV_DONTNEED
14341+ FADV_NOREUSE = C.POSIX_FADV_NOREUSE
14342+)
14343+
14344 // Sockets
14345
14346 type RawSockaddrInet4 C.struct_sockaddr_in
14347@@ -227,13 +256,45 @@ type BpfTimeval C.struct_bpf_timeval
14348
14349 type Termios C.struct_termios
14350
14351+type Winsize C.struct_winsize
14352+
14353+type Ptmget C.struct_ptmget
14354+
14355 // fchmodat-like syscalls.
14356
14357 const (
14358 AT_FDCWD = C.AT_FDCWD
14359+ AT_SYMLINK_FOLLOW = C.AT_SYMLINK_FOLLOW
14360 AT_SYMLINK_NOFOLLOW = C.AT_SYMLINK_NOFOLLOW
14361 )
14362
14363+// poll
14364+
14365+type PollFd C.struct_pollfd
14366+
14367+const (
14368+ POLLERR = C.POLLERR
14369+ POLLHUP = C.POLLHUP
14370+ POLLIN = C.POLLIN
14371+ POLLNVAL = C.POLLNVAL
14372+ POLLOUT = C.POLLOUT
14373+ POLLPRI = C.POLLPRI
14374+ POLLRDBAND = C.POLLRDBAND
14375+ POLLRDNORM = C.POLLRDNORM
14376+ POLLWRBAND = C.POLLWRBAND
14377+ POLLWRNORM = C.POLLWRNORM
14378+)
14379+
14380 // Sysctl
14381
14382 type Sysctlnode C.struct_sysctlnode
14383+
14384+// Uname
14385+
14386+type Utsname C.struct_utsname
14387+
14388+// Clockinfo
14389+
14390+const SizeofClockinfo = C.sizeof_struct_clockinfo
14391+
14392+type Clockinfo C.struct_clockinfo
14393diff --git a/vendor/golang.org/x/sys/unix/types_openbsd.go b/vendor/golang.org/x/sys/unix/types_openbsd.go
14394index 392da69b..775cb57d 100644
14395--- a/vendor/golang.org/x/sys/unix/types_openbsd.go
14396+++ b/vendor/golang.org/x/sys/unix/types_openbsd.go
14397@@ -17,6 +17,7 @@ package unix
14398 #define KERNEL
14399 #include <dirent.h>
14400 #include <fcntl.h>
14401+#include <poll.h>
14402 #include <signal.h>
14403 #include <termios.h>
14404 #include <stdio.h>
14405@@ -35,7 +36,9 @@ package unix
14406 #include <sys/time.h>
14407 #include <sys/uio.h>
14408 #include <sys/un.h>
14409+#include <sys/utsname.h>
14410 #include <sys/wait.h>
14411+#include <uvm/uvmexp.h>
14412 #include <net/bpf.h>
14413 #include <net/if.h>
14414 #include <net/if_dl.h>
14415@@ -64,14 +67,14 @@ struct sockaddr_any {
14416 */
14417 import "C"
14418
14419-// Machine characteristics; for internal use.
14420+// Machine characteristics
14421
14422 const (
14423- sizeofPtr = C.sizeofPtr
14424- sizeofShort = C.sizeof_short
14425- sizeofInt = C.sizeof_int
14426- sizeofLong = C.sizeof_long
14427- sizeofLongLong = C.sizeof_longlong
14428+ SizeofPtr = C.sizeofPtr
14429+ SizeofShort = C.sizeof_short
14430+ SizeofInt = C.sizeof_int
14431+ SizeofLong = C.sizeof_long
14432+ SizeofLongLong = C.sizeof_longlong
14433 )
14434
14435 // Basic types
14436@@ -99,23 +102,6 @@ type _Gid_t C.gid_t
14437
14438 // Files
14439
14440-const ( // Directory mode bits
14441- S_IFMT = C.S_IFMT
14442- S_IFIFO = C.S_IFIFO
14443- S_IFCHR = C.S_IFCHR
14444- S_IFDIR = C.S_IFDIR
14445- S_IFBLK = C.S_IFBLK
14446- S_IFREG = C.S_IFREG
14447- S_IFLNK = C.S_IFLNK
14448- S_IFSOCK = C.S_IFSOCK
14449- S_ISUID = C.S_ISUID
14450- S_ISGID = C.S_ISGID
14451- S_ISVTX = C.S_ISVTX
14452- S_IRUSR = C.S_IRUSR
14453- S_IWUSR = C.S_IWUSR
14454- S_IXUSR = C.S_IXUSR
14455-)
14456-
14457 type Stat_t C.struct_stat
14458
14459 type Statfs_t C.struct_statfs
14460@@ -126,6 +112,12 @@ type Dirent C.struct_dirent
14461
14462 type Fsid C.fsid_t
14463
14464+// File system limits
14465+
14466+const (
14467+ PathMax = C.PATH_MAX
14468+)
14469+
14470 // Sockets
14471
14472 type RawSockaddrInet4 C.struct_sockaddr_in
14473@@ -243,9 +235,49 @@ type BpfTimeval C.struct_bpf_timeval
14474
14475 type Termios C.struct_termios
14476
14477+type Winsize C.struct_winsize
14478+
14479 // fchmodat-like syscalls.
14480
14481 const (
14482 AT_FDCWD = C.AT_FDCWD
14483+ AT_SYMLINK_FOLLOW = C.AT_SYMLINK_FOLLOW
14484 AT_SYMLINK_NOFOLLOW = C.AT_SYMLINK_NOFOLLOW
14485 )
14486+
14487+// poll
14488+
14489+type PollFd C.struct_pollfd
14490+
14491+const (
14492+ POLLERR = C.POLLERR
14493+ POLLHUP = C.POLLHUP
14494+ POLLIN = C.POLLIN
14495+ POLLNVAL = C.POLLNVAL
14496+ POLLOUT = C.POLLOUT
14497+ POLLPRI = C.POLLPRI
14498+ POLLRDBAND = C.POLLRDBAND
14499+ POLLRDNORM = C.POLLRDNORM
14500+ POLLWRBAND = C.POLLWRBAND
14501+ POLLWRNORM = C.POLLWRNORM
14502+)
14503+
14504+// Signal Sets
14505+
14506+type Sigset_t C.sigset_t
14507+
14508+// Uname
14509+
14510+type Utsname C.struct_utsname
14511+
14512+// Uvmexp
14513+
14514+const SizeofUvmexp = C.sizeof_struct_uvmexp
14515+
14516+type Uvmexp C.struct_uvmexp
14517+
14518+// Clockinfo
14519+
14520+const SizeofClockinfo = C.sizeof_struct_clockinfo
14521+
14522+type Clockinfo C.struct_clockinfo
14523diff --git a/vendor/golang.org/x/sys/unix/types_solaris.go b/vendor/golang.org/x/sys/unix/types_solaris.go
14524index 393c7f04..d713f09e 100644
14525--- a/vendor/golang.org/x/sys/unix/types_solaris.go
14526+++ b/vendor/golang.org/x/sys/unix/types_solaris.go
14527@@ -24,6 +24,7 @@ package unix
14528 #include <fcntl.h>
14529 #include <netdb.h>
14530 #include <limits.h>
14531+#include <poll.h>
14532 #include <signal.h>
14533 #include <termios.h>
14534 #include <termio.h>
14535@@ -74,14 +75,14 @@ struct sockaddr_any {
14536 */
14537 import "C"
14538
14539-// Machine characteristics; for internal use.
14540+// Machine characteristics
14541
14542 const (
14543- sizeofPtr = C.sizeofPtr
14544- sizeofShort = C.sizeof_short
14545- sizeofInt = C.sizeof_int
14546- sizeofLong = C.sizeof_long
14547- sizeofLongLong = C.sizeof_longlong
14548+ SizeofPtr = C.sizeofPtr
14549+ SizeofShort = C.sizeof_short
14550+ SizeofInt = C.sizeof_int
14551+ SizeofLong = C.sizeof_long
14552+ SizeofLongLong = C.sizeof_longlong
14553 PathMax = C.PATH_MAX
14554 MaxHostNameLen = C.MAXHOSTNAMELEN
14555 )
14556@@ -117,23 +118,6 @@ type _Gid_t C.gid_t
14557
14558 // Files
14559
14560-const ( // Directory mode bits
14561- S_IFMT = C.S_IFMT
14562- S_IFIFO = C.S_IFIFO
14563- S_IFCHR = C.S_IFCHR
14564- S_IFDIR = C.S_IFDIR
14565- S_IFBLK = C.S_IFBLK
14566- S_IFREG = C.S_IFREG
14567- S_IFLNK = C.S_IFLNK
14568- S_IFSOCK = C.S_IFSOCK
14569- S_ISUID = C.S_ISUID
14570- S_ISGID = C.S_ISGID
14571- S_ISVTX = C.S_ISVTX
14572- S_IRUSR = C.S_IRUSR
14573- S_IWUSR = C.S_IWUSR
14574- S_IXUSR = C.S_IXUSR
14575-)
14576-
14577 type Stat_t C.struct_stat
14578
14579 type Flock_t C.struct_flock
14580@@ -174,6 +158,8 @@ type Msghdr C.struct_msghdr
14581
14582 type Cmsghdr C.struct_cmsghdr
14583
14584+type Inet4Pktinfo C.struct_in_pktinfo
14585+
14586 type Inet6Pktinfo C.struct_in6_pktinfo
14587
14588 type IPv6MTUInfo C.struct_ip6_mtuinfo
14589@@ -191,6 +177,7 @@ const (
14590 SizeofIPv6Mreq = C.sizeof_struct_ipv6_mreq
14591 SizeofMsghdr = C.sizeof_struct_msghdr
14592 SizeofCmsghdr = C.sizeof_struct_cmsghdr
14593+ SizeofInet4Pktinfo = C.sizeof_struct_in_pktinfo
14594 SizeofInet6Pktinfo = C.sizeof_struct_in6_pktinfo
14595 SizeofIPv6MTUInfo = C.sizeof_struct_ip6_mtuinfo
14596 SizeofICMPv6Filter = C.sizeof_struct_icmp6_filter
14597@@ -256,10 +243,6 @@ type BpfTimeval C.struct_bpf_timeval
14598
14599 type BpfHdr C.struct_bpf_hdr
14600
14601-// sysconf information
14602-
14603-const _SC_PAGESIZE = C._SC_PAGESIZE
14604-
14605 // Terminal handling
14606
14607 type Termios C.struct_termios
14608@@ -267,3 +250,20 @@ type Termios C.struct_termios
14609 type Termio C.struct_termio
14610
14611 type Winsize C.struct_winsize
14612+
14613+// poll
14614+
14615+type PollFd C.struct_pollfd
14616+
14617+const (
14618+ POLLERR = C.POLLERR
14619+ POLLHUP = C.POLLHUP
14620+ POLLIN = C.POLLIN
14621+ POLLNVAL = C.POLLNVAL
14622+ POLLOUT = C.POLLOUT
14623+ POLLPRI = C.POLLPRI
14624+ POLLRDBAND = C.POLLRDBAND
14625+ POLLRDNORM = C.POLLRDNORM
14626+ POLLWRBAND = C.POLLWRBAND
14627+ POLLWRNORM = C.POLLWRNORM
14628+)
14629diff --git a/vendor/golang.org/x/sys/unix/unveil_openbsd.go b/vendor/golang.org/x/sys/unix/unveil_openbsd.go
14630new file mode 100644
14631index 00000000..168d5ae7
14632--- /dev/null
14633+++ b/vendor/golang.org/x/sys/unix/unveil_openbsd.go
14634@@ -0,0 +1,42 @@
14635+// Copyright 2018 The Go Authors. All rights reserved.
14636+// Use of this source code is governed by a BSD-style
14637+// license that can be found in the LICENSE file.
14638+
14639+package unix
14640+
14641+import (
14642+ "syscall"
14643+ "unsafe"
14644+)
14645+
14646+// Unveil implements the unveil syscall.
14647+// For more information see unveil(2).
14648+// Note that the special case of blocking further
14649+// unveil calls is handled by UnveilBlock.
14650+func Unveil(path string, flags string) error {
14651+ pathPtr, err := syscall.BytePtrFromString(path)
14652+ if err != nil {
14653+ return err
14654+ }
14655+ flagsPtr, err := syscall.BytePtrFromString(flags)
14656+ if err != nil {
14657+ return err
14658+ }
14659+ _, _, e := syscall.Syscall(SYS_UNVEIL, uintptr(unsafe.Pointer(pathPtr)), uintptr(unsafe.Pointer(flagsPtr)), 0)
14660+ if e != 0 {
14661+ return e
14662+ }
14663+ return nil
14664+}
14665+
14666+// UnveilBlock blocks future unveil calls.
14667+// For more information see unveil(2).
14668+func UnveilBlock() error {
14669+ // Both pointers must be nil.
14670+ var pathUnsafe, flagsUnsafe unsafe.Pointer
14671+ _, _, e := syscall.Syscall(SYS_UNVEIL, uintptr(pathUnsafe), uintptr(flagsUnsafe), 0)
14672+ if e != 0 {
14673+ return e
14674+ }
14675+ return nil
14676+}
14677diff --git a/vendor/golang.org/x/sys/unix/xattr_bsd.go b/vendor/golang.org/x/sys/unix/xattr_bsd.go
14678new file mode 100644
14679index 00000000..30c1d71f
14680--- /dev/null
14681+++ b/vendor/golang.org/x/sys/unix/xattr_bsd.go
14682@@ -0,0 +1,240 @@
14683+// Copyright 2018 The Go Authors. All rights reserved.
14684+// Use of this source code is governed by a BSD-style
14685+// license that can be found in the LICENSE file.
14686+
14687+// +build freebsd netbsd
14688+
14689+package unix
14690+
14691+import (
14692+ "strings"
14693+ "unsafe"
14694+)
14695+
14696+// Derive extattr namespace and attribute name
14697+
14698+func xattrnamespace(fullattr string) (ns int, attr string, err error) {
14699+ s := strings.IndexByte(fullattr, '.')
14700+ if s == -1 {
14701+ return -1, "", ENOATTR
14702+ }
14703+
14704+ namespace := fullattr[0:s]
14705+ attr = fullattr[s+1:]
14706+
14707+ switch namespace {
14708+ case "user":
14709+ return EXTATTR_NAMESPACE_USER, attr, nil
14710+ case "system":
14711+ return EXTATTR_NAMESPACE_SYSTEM, attr, nil
14712+ default:
14713+ return -1, "", ENOATTR
14714+ }
14715+}
14716+
14717+func initxattrdest(dest []byte, idx int) (d unsafe.Pointer) {
14718+ if len(dest) > idx {
14719+ return unsafe.Pointer(&dest[idx])
14720+ } else {
14721+ return unsafe.Pointer(_zero)
14722+ }
14723+}
14724+
14725+// FreeBSD and NetBSD implement their own syscalls to handle extended attributes
14726+
14727+func Getxattr(file string, attr string, dest []byte) (sz int, err error) {
14728+ d := initxattrdest(dest, 0)
14729+ destsize := len(dest)
14730+
14731+ nsid, a, err := xattrnamespace(attr)
14732+ if err != nil {
14733+ return -1, err
14734+ }
14735+
14736+ return ExtattrGetFile(file, nsid, a, uintptr(d), destsize)
14737+}
14738+
14739+func Fgetxattr(fd int, attr string, dest []byte) (sz int, err error) {
14740+ d := initxattrdest(dest, 0)
14741+ destsize := len(dest)
14742+
14743+ nsid, a, err := xattrnamespace(attr)
14744+ if err != nil {
14745+ return -1, err
14746+ }
14747+
14748+ return ExtattrGetFd(fd, nsid, a, uintptr(d), destsize)
14749+}
14750+
14751+func Lgetxattr(link string, attr string, dest []byte) (sz int, err error) {
14752+ d := initxattrdest(dest, 0)
14753+ destsize := len(dest)
14754+
14755+ nsid, a, err := xattrnamespace(attr)
14756+ if err != nil {
14757+ return -1, err
14758+ }
14759+
14760+ return ExtattrGetLink(link, nsid, a, uintptr(d), destsize)
14761+}
14762+
14763+// flags are unused on FreeBSD
14764+
14765+func Fsetxattr(fd int, attr string, data []byte, flags int) (err error) {
14766+ var d unsafe.Pointer
14767+ if len(data) > 0 {
14768+ d = unsafe.Pointer(&data[0])
14769+ }
14770+ datasiz := len(data)
14771+
14772+ nsid, a, err := xattrnamespace(attr)
14773+ if err != nil {
14774+ return
14775+ }
14776+
14777+ _, err = ExtattrSetFd(fd, nsid, a, uintptr(d), datasiz)
14778+ return
14779+}
14780+
14781+func Setxattr(file string, attr string, data []byte, flags int) (err error) {
14782+ var d unsafe.Pointer
14783+ if len(data) > 0 {
14784+ d = unsafe.Pointer(&data[0])
14785+ }
14786+ datasiz := len(data)
14787+
14788+ nsid, a, err := xattrnamespace(attr)
14789+ if err != nil {
14790+ return
14791+ }
14792+
14793+ _, err = ExtattrSetFile(file, nsid, a, uintptr(d), datasiz)
14794+ return
14795+}
14796+
14797+func Lsetxattr(link string, attr string, data []byte, flags int) (err error) {
14798+ var d unsafe.Pointer
14799+ if len(data) > 0 {
14800+ d = unsafe.Pointer(&data[0])
14801+ }
14802+ datasiz := len(data)
14803+
14804+ nsid, a, err := xattrnamespace(attr)
14805+ if err != nil {
14806+ return
14807+ }
14808+
14809+ _, err = ExtattrSetLink(link, nsid, a, uintptr(d), datasiz)
14810+ return
14811+}
14812+
14813+func Removexattr(file string, attr string) (err error) {
14814+ nsid, a, err := xattrnamespace(attr)
14815+ if err != nil {
14816+ return
14817+ }
14818+
14819+ err = ExtattrDeleteFile(file, nsid, a)
14820+ return
14821+}
14822+
14823+func Fremovexattr(fd int, attr string) (err error) {
14824+ nsid, a, err := xattrnamespace(attr)
14825+ if err != nil {
14826+ return
14827+ }
14828+
14829+ err = ExtattrDeleteFd(fd, nsid, a)
14830+ return
14831+}
14832+
14833+func Lremovexattr(link string, attr string) (err error) {
14834+ nsid, a, err := xattrnamespace(attr)
14835+ if err != nil {
14836+ return
14837+ }
14838+
14839+ err = ExtattrDeleteLink(link, nsid, a)
14840+ return
14841+}
14842+
14843+func Listxattr(file string, dest []byte) (sz int, err error) {
14844+ d := initxattrdest(dest, 0)
14845+ destsiz := len(dest)
14846+
14847+ // FreeBSD won't allow you to list xattrs from multiple namespaces
14848+ s := 0
14849+ for _, nsid := range [...]int{EXTATTR_NAMESPACE_USER, EXTATTR_NAMESPACE_SYSTEM} {
14850+ stmp, e := ExtattrListFile(file, nsid, uintptr(d), destsiz)
14851+
14852+ /* Errors accessing system attrs are ignored so that
14853+ * we can implement the Linux-like behavior of omitting errors that
14854+ * we don't have read permissions on
14855+ *
14856+ * Linux will still error if we ask for user attributes on a file that
14857+ * we don't have read permissions on, so don't ignore those errors
14858+ */
14859+ if e != nil && e == EPERM && nsid != EXTATTR_NAMESPACE_USER {
14860+ continue
14861+ } else if e != nil {
14862+ return s, e
14863+ }
14864+
14865+ s += stmp
14866+ destsiz -= s
14867+ if destsiz < 0 {
14868+ destsiz = 0
14869+ }
14870+ d = initxattrdest(dest, s)
14871+ }
14872+
14873+ return s, nil
14874+}
14875+
14876+func Flistxattr(fd int, dest []byte) (sz int, err error) {
14877+ d := initxattrdest(dest, 0)
14878+ destsiz := len(dest)
14879+
14880+ s := 0
14881+ for _, nsid := range [...]int{EXTATTR_NAMESPACE_USER, EXTATTR_NAMESPACE_SYSTEM} {
14882+ stmp, e := ExtattrListFd(fd, nsid, uintptr(d), destsiz)
14883+ if e != nil && e == EPERM && nsid != EXTATTR_NAMESPACE_USER {
14884+ continue
14885+ } else if e != nil {
14886+ return s, e
14887+ }
14888+
14889+ s += stmp
14890+ destsiz -= s
14891+ if destsiz < 0 {
14892+ destsiz = 0
14893+ }
14894+ d = initxattrdest(dest, s)
14895+ }
14896+
14897+ return s, nil
14898+}
14899+
14900+func Llistxattr(link string, dest []byte) (sz int, err error) {
14901+ d := initxattrdest(dest, 0)
14902+ destsiz := len(dest)
14903+
14904+ s := 0
14905+ for _, nsid := range [...]int{EXTATTR_NAMESPACE_USER, EXTATTR_NAMESPACE_SYSTEM} {
14906+ stmp, e := ExtattrListLink(link, nsid, uintptr(d), destsiz)
14907+ if e != nil && e == EPERM && nsid != EXTATTR_NAMESPACE_USER {
14908+ continue
14909+ } else if e != nil {
14910+ return s, e
14911+ }
14912+
14913+ s += stmp
14914+ destsiz -= s
14915+ if destsiz < 0 {
14916+ destsiz = 0
14917+ }
14918+ d = initxattrdest(dest, s)
14919+ }
14920+
14921+ return s, nil
14922+}
14923diff --git a/vendor/golang.org/x/sys/unix/zerrors_aix_ppc.go b/vendor/golang.org/x/sys/unix/zerrors_aix_ppc.go
14924new file mode 100644
14925index 00000000..104994bc
14926--- /dev/null
14927+++ b/vendor/golang.org/x/sys/unix/zerrors_aix_ppc.go
14928@@ -0,0 +1,1384 @@
14929+// mkerrors.sh -maix32
14930+// Code generated by the command above; see README.md. DO NOT EDIT.
14931+
14932+// +build ppc,aix
14933+
14934+// Created by cgo -godefs - DO NOT EDIT
14935+// cgo -godefs -- -maix32 _const.go
14936+
14937+package unix
14938+
14939+import "syscall"
14940+
14941+const (
14942+ AF_APPLETALK = 0x10
14943+ AF_BYPASS = 0x19
14944+ AF_CCITT = 0xa
14945+ AF_CHAOS = 0x5
14946+ AF_DATAKIT = 0x9
14947+ AF_DECnet = 0xc
14948+ AF_DLI = 0xd
14949+ AF_ECMA = 0x8
14950+ AF_HYLINK = 0xf
14951+ AF_IMPLINK = 0x3
14952+ AF_INET = 0x2
14953+ AF_INET6 = 0x18
14954+ AF_INTF = 0x14
14955+ AF_ISO = 0x7
14956+ AF_LAT = 0xe
14957+ AF_LINK = 0x12
14958+ AF_LOCAL = 0x1
14959+ AF_MAX = 0x1e
14960+ AF_NDD = 0x17
14961+ AF_NETWARE = 0x16
14962+ AF_NS = 0x6
14963+ AF_OSI = 0x7
14964+ AF_PUP = 0x4
14965+ AF_RIF = 0x15
14966+ AF_ROUTE = 0x11
14967+ AF_SNA = 0xb
14968+ AF_UNIX = 0x1
14969+ AF_UNSPEC = 0x0
14970+ ALTWERASE = 0x400000
14971+ ARPHRD_802_3 = 0x6
14972+ ARPHRD_802_5 = 0x6
14973+ ARPHRD_ETHER = 0x1
14974+ ARPHRD_FDDI = 0x1
14975+ B0 = 0x0
14976+ B110 = 0x3
14977+ B1200 = 0x9
14978+ B134 = 0x4
14979+ B150 = 0x5
14980+ B1800 = 0xa
14981+ B19200 = 0xe
14982+ B200 = 0x6
14983+ B2400 = 0xb
14984+ B300 = 0x7
14985+ B38400 = 0xf
14986+ B4800 = 0xc
14987+ B50 = 0x1
14988+ B600 = 0x8
14989+ B75 = 0x2
14990+ B9600 = 0xd
14991+ BRKINT = 0x2
14992+ BS0 = 0x0
14993+ BS1 = 0x1000
14994+ BSDLY = 0x1000
14995+ CAP_AACCT = 0x6
14996+ CAP_ARM_APPLICATION = 0x5
14997+ CAP_BYPASS_RAC_VMM = 0x3
14998+ CAP_CLEAR = 0x0
14999+ CAP_CREDENTIALS = 0x7
15000+ CAP_EFFECTIVE = 0x1
15001+ CAP_EWLM_AGENT = 0x4
15002+ CAP_INHERITABLE = 0x2
15003+ CAP_MAXIMUM = 0x7
15004+ CAP_NUMA_ATTACH = 0x2
15005+ CAP_PERMITTED = 0x3
15006+ CAP_PROPAGATE = 0x1
15007+ CAP_PROPOGATE = 0x1
15008+ CAP_SET = 0x1
15009+ CBAUD = 0xf
15010+ CFLUSH = 0xf
15011+ CIBAUD = 0xf0000
15012+ CLOCAL = 0x800
15013+ CLOCK_MONOTONIC = 0xa
15014+ CLOCK_PROCESS_CPUTIME_ID = 0xb
15015+ CLOCK_REALTIME = 0x9
15016+ CLOCK_THREAD_CPUTIME_ID = 0xc
15017+ CR0 = 0x0
15018+ CR1 = 0x100
15019+ CR2 = 0x200
15020+ CR3 = 0x300
15021+ CRDLY = 0x300
15022+ CREAD = 0x80
15023+ CS5 = 0x0
15024+ CS6 = 0x10
15025+ CS7 = 0x20
15026+ CS8 = 0x30
15027+ CSIOCGIFCONF = -0x3ff796dc
15028+ CSIZE = 0x30
15029+ CSMAP_DIR = "/usr/lib/nls/csmap/"
15030+ CSTART = '\021'
15031+ CSTOP = '\023'
15032+ CSTOPB = 0x40
15033+ CSUSP = 0x1a
15034+ ECHO = 0x8
15035+ ECHOCTL = 0x20000
15036+ ECHOE = 0x10
15037+ ECHOK = 0x20
15038+ ECHOKE = 0x80000
15039+ ECHONL = 0x40
15040+ ECHOPRT = 0x40000
15041+ ECH_ICMPID = 0x2
15042+ ETHERNET_CSMACD = 0x6
15043+ EVENP = 0x80
15044+ EXCONTINUE = 0x0
15045+ EXDLOK = 0x3
15046+ EXIO = 0x2
15047+ EXPGIO = 0x0
15048+ EXRESUME = 0x2
15049+ EXRETURN = 0x1
15050+ EXSIG = 0x4
15051+ EXTA = 0xe
15052+ EXTB = 0xf
15053+ EXTRAP = 0x1
15054+ EYEC_RTENTRYA = 0x257274656e747241
15055+ EYEC_RTENTRYF = 0x257274656e747246
15056+ E_ACC = 0x0
15057+ FD_CLOEXEC = 0x1
15058+ FD_SETSIZE = 0xfffe
15059+ FF0 = 0x0
15060+ FF1 = 0x2000
15061+ FFDLY = 0x2000
15062+ FLUSHBAND = 0x40
15063+ FLUSHLOW = 0x8
15064+ FLUSHO = 0x100000
15065+ FLUSHR = 0x1
15066+ FLUSHRW = 0x3
15067+ FLUSHW = 0x2
15068+ F_CLOSEM = 0xa
15069+ F_DUP2FD = 0xe
15070+ F_DUPFD = 0x0
15071+ F_GETFD = 0x1
15072+ F_GETFL = 0x3
15073+ F_GETLK = 0x5
15074+ F_GETLK64 = 0xb
15075+ F_GETOWN = 0x8
15076+ F_LOCK = 0x1
15077+ F_OK = 0x0
15078+ F_RDLCK = 0x1
15079+ F_SETFD = 0x2
15080+ F_SETFL = 0x4
15081+ F_SETLK = 0x6
15082+ F_SETLK64 = 0xc
15083+ F_SETLKW = 0x7
15084+ F_SETLKW64 = 0xd
15085+ F_SETOWN = 0x9
15086+ F_TEST = 0x3
15087+ F_TLOCK = 0x2
15088+ F_TSTLK = 0xf
15089+ F_ULOCK = 0x0
15090+ F_UNLCK = 0x3
15091+ F_WRLCK = 0x2
15092+ HUPCL = 0x400
15093+ IBSHIFT = 0x10
15094+ ICANON = 0x2
15095+ ICMP6_FILTER = 0x26
15096+ ICMP6_SEC_SEND_DEL = 0x46
15097+ ICMP6_SEC_SEND_GET = 0x47
15098+ ICMP6_SEC_SEND_SET = 0x44
15099+ ICMP6_SEC_SEND_SET_CGA_ADDR = 0x45
15100+ ICRNL = 0x100
15101+ IEXTEN = 0x200000
15102+ IFA_FIRSTALIAS = 0x2000
15103+ IFA_ROUTE = 0x1
15104+ IFF_64BIT = 0x4000000
15105+ IFF_ALLCAST = 0x20000
15106+ IFF_ALLMULTI = 0x200
15107+ IFF_BPF = 0x8000000
15108+ IFF_BRIDGE = 0x40000
15109+ IFF_BROADCAST = 0x2
15110+ IFF_CANTCHANGE = 0x80c52
15111+ IFF_CHECKSUM_OFFLOAD = 0x10000000
15112+ IFF_D1 = 0x8000
15113+ IFF_D2 = 0x4000
15114+ IFF_D3 = 0x2000
15115+ IFF_D4 = 0x1000
15116+ IFF_DEBUG = 0x4
15117+ IFF_DEVHEALTH = 0x4000
15118+ IFF_DO_HW_LOOPBACK = 0x10000
15119+ IFF_GROUP_ROUTING = 0x2000000
15120+ IFF_IFBUFMGT = 0x800000
15121+ IFF_LINK0 = 0x100000
15122+ IFF_LINK1 = 0x200000
15123+ IFF_LINK2 = 0x400000
15124+ IFF_LOOPBACK = 0x8
15125+ IFF_MULTICAST = 0x80000
15126+ IFF_NOARP = 0x80
15127+ IFF_NOECHO = 0x800
15128+ IFF_NOTRAILERS = 0x20
15129+ IFF_OACTIVE = 0x400
15130+ IFF_POINTOPOINT = 0x10
15131+ IFF_PROMISC = 0x100
15132+ IFF_PSEG = 0x40000000
15133+ IFF_RUNNING = 0x40
15134+ IFF_SIMPLEX = 0x800
15135+ IFF_SNAP = 0x8000
15136+ IFF_TCP_DISABLE_CKSUM = 0x20000000
15137+ IFF_TCP_NOCKSUM = 0x1000000
15138+ IFF_UP = 0x1
15139+ IFF_VIPA = 0x80000000
15140+ IFNAMSIZ = 0x10
15141+ IFO_FLUSH = 0x1
15142+ IFT_1822 = 0x2
15143+ IFT_AAL5 = 0x31
15144+ IFT_ARCNET = 0x23
15145+ IFT_ARCNETPLUS = 0x24
15146+ IFT_ATM = 0x25
15147+ IFT_CEPT = 0x13
15148+ IFT_CLUSTER = 0x3e
15149+ IFT_DS3 = 0x1e
15150+ IFT_EON = 0x19
15151+ IFT_ETHER = 0x6
15152+ IFT_FCS = 0x3a
15153+ IFT_FDDI = 0xf
15154+ IFT_FRELAY = 0x20
15155+ IFT_FRELAYDCE = 0x2c
15156+ IFT_GIFTUNNEL = 0x3c
15157+ IFT_HDH1822 = 0x3
15158+ IFT_HF = 0x3d
15159+ IFT_HIPPI = 0x2f
15160+ IFT_HSSI = 0x2e
15161+ IFT_HY = 0xe
15162+ IFT_IB = 0xc7
15163+ IFT_ISDNBASIC = 0x14
15164+ IFT_ISDNPRIMARY = 0x15
15165+ IFT_ISO88022LLC = 0x29
15166+ IFT_ISO88023 = 0x7
15167+ IFT_ISO88024 = 0x8
15168+ IFT_ISO88025 = 0x9
15169+ IFT_ISO88026 = 0xa
15170+ IFT_LAPB = 0x10
15171+ IFT_LOCALTALK = 0x2a
15172+ IFT_LOOP = 0x18
15173+ IFT_MIOX25 = 0x26
15174+ IFT_MODEM = 0x30
15175+ IFT_NSIP = 0x1b
15176+ IFT_OTHER = 0x1
15177+ IFT_P10 = 0xc
15178+ IFT_P80 = 0xd
15179+ IFT_PARA = 0x22
15180+ IFT_PPP = 0x17
15181+ IFT_PROPMUX = 0x36
15182+ IFT_PROPVIRTUAL = 0x35
15183+ IFT_PTPSERIAL = 0x16
15184+ IFT_RS232 = 0x21
15185+ IFT_SDLC = 0x11
15186+ IFT_SIP = 0x1f
15187+ IFT_SLIP = 0x1c
15188+ IFT_SMDSDXI = 0x2b
15189+ IFT_SMDSICIP = 0x34
15190+ IFT_SN = 0x38
15191+ IFT_SONET = 0x27
15192+ IFT_SONETPATH = 0x32
15193+ IFT_SONETVT = 0x33
15194+ IFT_SP = 0x39
15195+ IFT_STARLAN = 0xb
15196+ IFT_T1 = 0x12
15197+ IFT_TUNNEL = 0x3b
15198+ IFT_ULTRA = 0x1d
15199+ IFT_V35 = 0x2d
15200+ IFT_VIPA = 0x37
15201+ IFT_X25 = 0x5
15202+ IFT_X25DDN = 0x4
15203+ IFT_X25PLE = 0x28
15204+ IFT_XETHER = 0x1a
15205+ IGNBRK = 0x1
15206+ IGNCR = 0x80
15207+ IGNPAR = 0x4
15208+ IMAXBEL = 0x10000
15209+ INLCR = 0x40
15210+ INPCK = 0x10
15211+ IN_CLASSA_HOST = 0xffffff
15212+ IN_CLASSA_MAX = 0x80
15213+ IN_CLASSA_NET = 0xff000000
15214+ IN_CLASSA_NSHIFT = 0x18
15215+ IN_CLASSB_HOST = 0xffff
15216+ IN_CLASSB_MAX = 0x10000
15217+ IN_CLASSB_NET = 0xffff0000
15218+ IN_CLASSB_NSHIFT = 0x10
15219+ IN_CLASSC_HOST = 0xff
15220+ IN_CLASSC_NET = 0xffffff00
15221+ IN_CLASSC_NSHIFT = 0x8
15222+ IN_CLASSD_HOST = 0xfffffff
15223+ IN_CLASSD_NET = 0xf0000000
15224+ IN_CLASSD_NSHIFT = 0x1c
15225+ IN_LOOPBACKNET = 0x7f
15226+ IN_USE = 0x1
15227+ IPPROTO_AH = 0x33
15228+ IPPROTO_BIP = 0x53
15229+ IPPROTO_DSTOPTS = 0x3c
15230+ IPPROTO_EGP = 0x8
15231+ IPPROTO_EON = 0x50
15232+ IPPROTO_ESP = 0x32
15233+ IPPROTO_FRAGMENT = 0x2c
15234+ IPPROTO_GGP = 0x3
15235+ IPPROTO_GIF = 0x8c
15236+ IPPROTO_GRE = 0x2f
15237+ IPPROTO_HOPOPTS = 0x0
15238+ IPPROTO_ICMP = 0x1
15239+ IPPROTO_ICMPV6 = 0x3a
15240+ IPPROTO_IDP = 0x16
15241+ IPPROTO_IGMP = 0x2
15242+ IPPROTO_IP = 0x0
15243+ IPPROTO_IPIP = 0x4
15244+ IPPROTO_IPV6 = 0x29
15245+ IPPROTO_LOCAL = 0x3f
15246+ IPPROTO_MAX = 0x100
15247+ IPPROTO_MH = 0x87
15248+ IPPROTO_NONE = 0x3b
15249+ IPPROTO_PUP = 0xc
15250+ IPPROTO_QOS = 0x2d
15251+ IPPROTO_RAW = 0xff
15252+ IPPROTO_ROUTING = 0x2b
15253+ IPPROTO_RSVP = 0x2e
15254+ IPPROTO_SCTP = 0x84
15255+ IPPROTO_TCP = 0x6
15256+ IPPROTO_TP = 0x1d
15257+ IPPROTO_UDP = 0x11
15258+ IPV6_ADDRFORM = 0x16
15259+ IPV6_ADDR_PREFERENCES = 0x4a
15260+ IPV6_ADD_MEMBERSHIP = 0xc
15261+ IPV6_AIXRAWSOCKET = 0x39
15262+ IPV6_CHECKSUM = 0x27
15263+ IPV6_DONTFRAG = 0x2d
15264+ IPV6_DROP_MEMBERSHIP = 0xd
15265+ IPV6_DSTOPTS = 0x36
15266+ IPV6_FLOWINFO_FLOWLABEL = 0xffffff
15267+ IPV6_FLOWINFO_PRIFLOW = 0xfffffff
15268+ IPV6_FLOWINFO_PRIORITY = 0xf000000
15269+ IPV6_FLOWINFO_SRFLAG = 0x10000000
15270+ IPV6_FLOWINFO_VERSION = 0xf0000000
15271+ IPV6_HOPLIMIT = 0x28
15272+ IPV6_HOPOPTS = 0x34
15273+ IPV6_JOIN_GROUP = 0xc
15274+ IPV6_LEAVE_GROUP = 0xd
15275+ IPV6_MIPDSTOPTS = 0x36
15276+ IPV6_MULTICAST_HOPS = 0xa
15277+ IPV6_MULTICAST_IF = 0x9
15278+ IPV6_MULTICAST_LOOP = 0xb
15279+ IPV6_NEXTHOP = 0x30
15280+ IPV6_NOPROBE = 0x1c
15281+ IPV6_PATHMTU = 0x2e
15282+ IPV6_PKTINFO = 0x21
15283+ IPV6_PKTOPTIONS = 0x24
15284+ IPV6_PRIORITY_10 = 0xa000000
15285+ IPV6_PRIORITY_11 = 0xb000000
15286+ IPV6_PRIORITY_12 = 0xc000000
15287+ IPV6_PRIORITY_13 = 0xd000000
15288+ IPV6_PRIORITY_14 = 0xe000000
15289+ IPV6_PRIORITY_15 = 0xf000000
15290+ IPV6_PRIORITY_8 = 0x8000000
15291+ IPV6_PRIORITY_9 = 0x9000000
15292+ IPV6_PRIORITY_BULK = 0x4000000
15293+ IPV6_PRIORITY_CONTROL = 0x7000000
15294+ IPV6_PRIORITY_FILLER = 0x1000000
15295+ IPV6_PRIORITY_INTERACTIVE = 0x6000000
15296+ IPV6_PRIORITY_RESERVED1 = 0x3000000
15297+ IPV6_PRIORITY_RESERVED2 = 0x5000000
15298+ IPV6_PRIORITY_UNATTENDED = 0x2000000
15299+ IPV6_PRIORITY_UNCHARACTERIZED = 0x0
15300+ IPV6_RECVDSTOPTS = 0x38
15301+ IPV6_RECVHOPLIMIT = 0x29
15302+ IPV6_RECVHOPOPTS = 0x35
15303+ IPV6_RECVHOPS = 0x22
15304+ IPV6_RECVIF = 0x1e
15305+ IPV6_RECVPATHMTU = 0x2f
15306+ IPV6_RECVPKTINFO = 0x23
15307+ IPV6_RECVRTHDR = 0x33
15308+ IPV6_RECVSRCRT = 0x1d
15309+ IPV6_RECVTCLASS = 0x2a
15310+ IPV6_RTHDR = 0x32
15311+ IPV6_RTHDRDSTOPTS = 0x37
15312+ IPV6_RTHDR_TYPE_0 = 0x0
15313+ IPV6_RTHDR_TYPE_2 = 0x2
15314+ IPV6_SENDIF = 0x1f
15315+ IPV6_SRFLAG_LOOSE = 0x0
15316+ IPV6_SRFLAG_STRICT = 0x10000000
15317+ IPV6_TCLASS = 0x2b
15318+ IPV6_TOKEN_LENGTH = 0x40
15319+ IPV6_UNICAST_HOPS = 0x4
15320+ IPV6_USE_MIN_MTU = 0x2c
15321+ IPV6_V6ONLY = 0x25
15322+ IPV6_VERSION = 0x60000000
15323+ IP_ADDRFORM = 0x16
15324+ IP_ADD_MEMBERSHIP = 0xc
15325+ IP_ADD_SOURCE_MEMBERSHIP = 0x3c
15326+ IP_BLOCK_SOURCE = 0x3a
15327+ IP_BROADCAST_IF = 0x10
15328+ IP_CACHE_LINE_SIZE = 0x80
15329+ IP_DEFAULT_MULTICAST_LOOP = 0x1
15330+ IP_DEFAULT_MULTICAST_TTL = 0x1
15331+ IP_DF = 0x4000
15332+ IP_DHCPMODE = 0x11
15333+ IP_DONTFRAG = 0x19
15334+ IP_DROP_MEMBERSHIP = 0xd
15335+ IP_DROP_SOURCE_MEMBERSHIP = 0x3d
15336+ IP_FINDPMTU = 0x1a
15337+ IP_HDRINCL = 0x2
15338+ IP_INC_MEMBERSHIPS = 0x14
15339+ IP_INIT_MEMBERSHIP = 0x14
15340+ IP_MAXPACKET = 0xffff
15341+ IP_MF = 0x2000
15342+ IP_MSS = 0x240
15343+ IP_MULTICAST_HOPS = 0xa
15344+ IP_MULTICAST_IF = 0x9
15345+ IP_MULTICAST_LOOP = 0xb
15346+ IP_MULTICAST_TTL = 0xa
15347+ IP_OPT = 0x1b
15348+ IP_OPTIONS = 0x1
15349+ IP_PMTUAGE = 0x1b
15350+ IP_RECVDSTADDR = 0x7
15351+ IP_RECVIF = 0x14
15352+ IP_RECVIFINFO = 0xf
15353+ IP_RECVINTERFACE = 0x20
15354+ IP_RECVMACHDR = 0xe
15355+ IP_RECVOPTS = 0x5
15356+ IP_RECVRETOPTS = 0x6
15357+ IP_RECVTTL = 0x22
15358+ IP_RETOPTS = 0x8
15359+ IP_SOURCE_FILTER = 0x48
15360+ IP_TOS = 0x3
15361+ IP_TTL = 0x4
15362+ IP_UNBLOCK_SOURCE = 0x3b
15363+ IP_UNICAST_HOPS = 0x4
15364+ ISIG = 0x1
15365+ ISTRIP = 0x20
15366+ IUCLC = 0x800
15367+ IXANY = 0x1000
15368+ IXOFF = 0x400
15369+ IXON = 0x200
15370+ I_FLUSH = 0x20005305
15371+ LNOFLSH = 0x8000
15372+ LOCK_EX = 0x2
15373+ LOCK_NB = 0x4
15374+ LOCK_SH = 0x1
15375+ LOCK_UN = 0x8
15376+ MADV_DONTNEED = 0x4
15377+ MADV_NORMAL = 0x0
15378+ MADV_RANDOM = 0x1
15379+ MADV_SEQUENTIAL = 0x2
15380+ MADV_SPACEAVAIL = 0x5
15381+ MADV_WILLNEED = 0x3
15382+ MAP_ANON = 0x10
15383+ MAP_ANONYMOUS = 0x10
15384+ MAP_FILE = 0x0
15385+ MAP_FIXED = 0x100
15386+ MAP_PRIVATE = 0x2
15387+ MAP_SHARED = 0x1
15388+ MAP_TYPE = 0xf0
15389+ MAP_VARIABLE = 0x0
15390+ MCAST_BLOCK_SOURCE = 0x40
15391+ MCAST_EXCLUDE = 0x2
15392+ MCAST_INCLUDE = 0x1
15393+ MCAST_JOIN_GROUP = 0x3e
15394+ MCAST_JOIN_SOURCE_GROUP = 0x42
15395+ MCAST_LEAVE_GROUP = 0x3f
15396+ MCAST_LEAVE_SOURCE_GROUP = 0x43
15397+ MCAST_SOURCE_FILTER = 0x49
15398+ MCAST_UNBLOCK_SOURCE = 0x41
15399+ MCL_CURRENT = 0x100
15400+ MCL_FUTURE = 0x200
15401+ MSG_ANY = 0x4
15402+ MSG_ARGEXT = 0x400
15403+ MSG_BAND = 0x2
15404+ MSG_COMPAT = 0x8000
15405+ MSG_CTRUNC = 0x20
15406+ MSG_DONTROUTE = 0x4
15407+ MSG_EOR = 0x8
15408+ MSG_HIPRI = 0x1
15409+ MSG_MAXIOVLEN = 0x10
15410+ MSG_MPEG2 = 0x80
15411+ MSG_NONBLOCK = 0x4000
15412+ MSG_NOSIGNAL = 0x100
15413+ MSG_OOB = 0x1
15414+ MSG_PEEK = 0x2
15415+ MSG_TRUNC = 0x10
15416+ MSG_WAITALL = 0x40
15417+ MSG_WAITFORONE = 0x200
15418+ MS_ASYNC = 0x10
15419+ MS_EINTR = 0x80
15420+ MS_INVALIDATE = 0x40
15421+ MS_PER_SEC = 0x3e8
15422+ MS_SYNC = 0x20
15423+ NFDBITS = 0x20
15424+ NL0 = 0x0
15425+ NL1 = 0x4000
15426+ NL2 = 0x8000
15427+ NL3 = 0xc000
15428+ NLDLY = 0x4000
15429+ NOFLSH = 0x80
15430+ NOFLUSH = 0x80000000
15431+ OCRNL = 0x8
15432+ OFDEL = 0x80
15433+ OFILL = 0x40
15434+ OLCUC = 0x2
15435+ ONLCR = 0x4
15436+ ONLRET = 0x20
15437+ ONOCR = 0x10
15438+ ONOEOT = 0x80000
15439+ OPOST = 0x1
15440+ OXTABS = 0x40000
15441+ O_ACCMODE = 0x23
15442+ O_APPEND = 0x8
15443+ O_CIO = 0x80
15444+ O_CIOR = 0x800000000
15445+ O_CLOEXEC = 0x800000
15446+ O_CREAT = 0x100
15447+ O_DEFER = 0x2000
15448+ O_DELAY = 0x4000
15449+ O_DIRECT = 0x8000000
15450+ O_DIRECTORY = 0x80000
15451+ O_DSYNC = 0x400000
15452+ O_EFSOFF = 0x400000000
15453+ O_EFSON = 0x200000000
15454+ O_EXCL = 0x400
15455+ O_EXEC = 0x20
15456+ O_LARGEFILE = 0x4000000
15457+ O_NDELAY = 0x8000
15458+ O_NOCACHE = 0x100000
15459+ O_NOCTTY = 0x800
15460+ O_NOFOLLOW = 0x1000000
15461+ O_NONBLOCK = 0x4
15462+ O_NONE = 0x3
15463+ O_NSHARE = 0x10000
15464+ O_RAW = 0x100000000
15465+ O_RDONLY = 0x0
15466+ O_RDWR = 0x2
15467+ O_RSHARE = 0x1000
15468+ O_RSYNC = 0x200000
15469+ O_SEARCH = 0x20
15470+ O_SNAPSHOT = 0x40
15471+ O_SYNC = 0x10
15472+ O_TRUNC = 0x200
15473+ O_TTY_INIT = 0x0
15474+ O_WRONLY = 0x1
15475+ PARENB = 0x100
15476+ PAREXT = 0x100000
15477+ PARMRK = 0x8
15478+ PARODD = 0x200
15479+ PENDIN = 0x20000000
15480+ PRIO_PGRP = 0x1
15481+ PRIO_PROCESS = 0x0
15482+ PRIO_USER = 0x2
15483+ PROT_EXEC = 0x4
15484+ PROT_NONE = 0x0
15485+ PROT_READ = 0x1
15486+ PROT_WRITE = 0x2
15487+ PR_64BIT = 0x20
15488+ PR_ADDR = 0x2
15489+ PR_ARGEXT = 0x400
15490+ PR_ATOMIC = 0x1
15491+ PR_CONNREQUIRED = 0x4
15492+ PR_FASTHZ = 0x5
15493+ PR_INP = 0x40
15494+ PR_INTRLEVEL = 0x8000
15495+ PR_MLS = 0x100
15496+ PR_MLS_1_LABEL = 0x200
15497+ PR_NOEOR = 0x4000
15498+ PR_RIGHTS = 0x10
15499+ PR_SLOWHZ = 0x2
15500+ PR_WANTRCVD = 0x8
15501+ RLIMIT_AS = 0x6
15502+ RLIMIT_CORE = 0x4
15503+ RLIMIT_CPU = 0x0
15504+ RLIMIT_DATA = 0x2
15505+ RLIMIT_FSIZE = 0x1
15506+ RLIMIT_NOFILE = 0x7
15507+ RLIMIT_NPROC = 0x9
15508+ RLIMIT_RSS = 0x5
15509+ RLIMIT_STACK = 0x3
15510+ RLIM_INFINITY = 0x7fffffff
15511+ RTAX_AUTHOR = 0x6
15512+ RTAX_BRD = 0x7
15513+ RTAX_DST = 0x0
15514+ RTAX_GATEWAY = 0x1
15515+ RTAX_GENMASK = 0x3
15516+ RTAX_IFA = 0x5
15517+ RTAX_IFP = 0x4
15518+ RTAX_MAX = 0x8
15519+ RTAX_NETMASK = 0x2
15520+ RTA_AUTHOR = 0x40
15521+ RTA_BRD = 0x80
15522+ RTA_DOWNSTREAM = 0x100
15523+ RTA_DST = 0x1
15524+ RTA_GATEWAY = 0x2
15525+ RTA_GENMASK = 0x8
15526+ RTA_IFA = 0x20
15527+ RTA_IFP = 0x10
15528+ RTA_NETMASK = 0x4
15529+ RTC_IA64 = 0x3
15530+ RTC_POWER = 0x1
15531+ RTC_POWER_PC = 0x2
15532+ RTF_ACTIVE_DGD = 0x1000000
15533+ RTF_BCE = 0x80000
15534+ RTF_BLACKHOLE = 0x1000
15535+ RTF_BROADCAST = 0x400000
15536+ RTF_BUL = 0x2000
15537+ RTF_CLONE = 0x10000
15538+ RTF_CLONED = 0x20000
15539+ RTF_CLONING = 0x100
15540+ RTF_DONE = 0x40
15541+ RTF_DYNAMIC = 0x10
15542+ RTF_FREE_IN_PROG = 0x4000000
15543+ RTF_GATEWAY = 0x2
15544+ RTF_HOST = 0x4
15545+ RTF_LLINFO = 0x400
15546+ RTF_LOCAL = 0x200000
15547+ RTF_MASK = 0x80
15548+ RTF_MODIFIED = 0x20
15549+ RTF_MULTICAST = 0x800000
15550+ RTF_PERMANENT6 = 0x8000000
15551+ RTF_PINNED = 0x100000
15552+ RTF_PROTO1 = 0x8000
15553+ RTF_PROTO2 = 0x4000
15554+ RTF_PROTO3 = 0x40000
15555+ RTF_REJECT = 0x8
15556+ RTF_SMALLMTU = 0x40000
15557+ RTF_STATIC = 0x800
15558+ RTF_STOPSRCH = 0x2000000
15559+ RTF_UNREACHABLE = 0x10000000
15560+ RTF_UP = 0x1
15561+ RTF_XRESOLVE = 0x200
15562+ RTM_ADD = 0x1
15563+ RTM_CHANGE = 0x3
15564+ RTM_DELADDR = 0xd
15565+ RTM_DELETE = 0x2
15566+ RTM_EXPIRE = 0xf
15567+ RTM_GET = 0x4
15568+ RTM_GETNEXT = 0x11
15569+ RTM_IFINFO = 0xe
15570+ RTM_LOCK = 0x8
15571+ RTM_LOSING = 0x5
15572+ RTM_MISS = 0x7
15573+ RTM_NEWADDR = 0xc
15574+ RTM_OLDADD = 0x9
15575+ RTM_OLDDEL = 0xa
15576+ RTM_REDIRECT = 0x6
15577+ RTM_RESOLVE = 0xb
15578+ RTM_RTLOST = 0x10
15579+ RTM_RTTUNIT = 0xf4240
15580+ RTM_SAMEADDR = 0x12
15581+ RTM_SET = 0x13
15582+ RTM_VERSION = 0x2
15583+ RTM_VERSION_GR = 0x4
15584+ RTM_VERSION_GR_COMPAT = 0x3
15585+ RTM_VERSION_POLICY = 0x5
15586+ RTM_VERSION_POLICY_EXT = 0x6
15587+ RTM_VERSION_POLICY_PRFN = 0x7
15588+ RTV_EXPIRE = 0x4
15589+ RTV_HOPCOUNT = 0x2
15590+ RTV_MTU = 0x1
15591+ RTV_RPIPE = 0x8
15592+ RTV_RTT = 0x40
15593+ RTV_RTTVAR = 0x80
15594+ RTV_SPIPE = 0x10
15595+ RTV_SSTHRESH = 0x20
15596+ RUSAGE_CHILDREN = -0x1
15597+ RUSAGE_SELF = 0x0
15598+ RUSAGE_THREAD = 0x1
15599+ SCM_RIGHTS = 0x1
15600+ SHUT_RD = 0x0
15601+ SHUT_RDWR = 0x2
15602+ SHUT_WR = 0x1
15603+ SIGMAX64 = 0xff
15604+ SIGQUEUE_MAX = 0x20
15605+ SIOCADDIFVIPA = 0x20006942
15606+ SIOCADDMTU = -0x7ffb9690
15607+ SIOCADDMULTI = -0x7fdf96cf
15608+ SIOCADDNETID = -0x7fd796a9
15609+ SIOCADDRT = -0x7fcf8df6
15610+ SIOCAIFADDR = -0x7fbf96e6
15611+ SIOCATMARK = 0x40047307
15612+ SIOCDARP = -0x7fb396e0
15613+ SIOCDELIFVIPA = 0x20006943
15614+ SIOCDELMTU = -0x7ffb968f
15615+ SIOCDELMULTI = -0x7fdf96ce
15616+ SIOCDELPMTU = -0x7fd78ff6
15617+ SIOCDELRT = -0x7fcf8df5
15618+ SIOCDIFADDR = -0x7fd796e7
15619+ SIOCDNETOPT = -0x3ffe9680
15620+ SIOCDX25XLATE = -0x7fd7969b
15621+ SIOCFIFADDR = -0x7fdf966d
15622+ SIOCGARP = -0x3fb396da
15623+ SIOCGETMTUS = 0x2000696f
15624+ SIOCGETSGCNT = -0x3feb8acc
15625+ SIOCGETVIFCNT = -0x3feb8acd
15626+ SIOCGHIWAT = 0x40047301
15627+ SIOCGIFADDR = -0x3fd796df
15628+ SIOCGIFADDRS = 0x2000698c
15629+ SIOCGIFBAUDRATE = -0x3fdf9669
15630+ SIOCGIFBRDADDR = -0x3fd796dd
15631+ SIOCGIFCONF = -0x3ff796bb
15632+ SIOCGIFCONFGLOB = -0x3ff79670
15633+ SIOCGIFDSTADDR = -0x3fd796de
15634+ SIOCGIFFLAGS = -0x3fd796ef
15635+ SIOCGIFGIDLIST = 0x20006968
15636+ SIOCGIFHWADDR = -0x3fab966b
15637+ SIOCGIFMETRIC = -0x3fd796e9
15638+ SIOCGIFMTU = -0x3fd796aa
15639+ SIOCGIFNETMASK = -0x3fd796db
15640+ SIOCGIFOPTIONS = -0x3fd796d6
15641+ SIOCGISNO = -0x3fd79695
15642+ SIOCGLOADF = -0x3ffb967e
15643+ SIOCGLOWAT = 0x40047303
15644+ SIOCGNETOPT = -0x3ffe96a5
15645+ SIOCGNETOPT1 = -0x3fdf967f
15646+ SIOCGNMTUS = 0x2000696e
15647+ SIOCGPGRP = 0x40047309
15648+ SIOCGSIZIFCONF = 0x4004696a
15649+ SIOCGSRCFILTER = -0x3fe796cb
15650+ SIOCGTUNEPHASE = -0x3ffb9676
15651+ SIOCGX25XLATE = -0x3fd7969c
15652+ SIOCIFATTACH = -0x7fdf9699
15653+ SIOCIFDETACH = -0x7fdf969a
15654+ SIOCIFGETPKEY = -0x7fdf969b
15655+ SIOCIF_ATM_DARP = -0x7fdf9683
15656+ SIOCIF_ATM_DUMPARP = -0x7fdf9685
15657+ SIOCIF_ATM_GARP = -0x7fdf9682
15658+ SIOCIF_ATM_IDLE = -0x7fdf9686
15659+ SIOCIF_ATM_SARP = -0x7fdf9681
15660+ SIOCIF_ATM_SNMPARP = -0x7fdf9687
15661+ SIOCIF_ATM_SVC = -0x7fdf9684
15662+ SIOCIF_ATM_UBR = -0x7fdf9688
15663+ SIOCIF_DEVHEALTH = -0x7ffb966c
15664+ SIOCIF_IB_ARP_INCOMP = -0x7fdf9677
15665+ SIOCIF_IB_ARP_TIMER = -0x7fdf9678
15666+ SIOCIF_IB_CLEAR_PINFO = -0x3fdf966f
15667+ SIOCIF_IB_DEL_ARP = -0x7fdf967f
15668+ SIOCIF_IB_DEL_PINFO = -0x3fdf9670
15669+ SIOCIF_IB_DUMP_ARP = -0x7fdf9680
15670+ SIOCIF_IB_GET_ARP = -0x7fdf967e
15671+ SIOCIF_IB_GET_INFO = -0x3f879675
15672+ SIOCIF_IB_GET_STATS = -0x3f879672
15673+ SIOCIF_IB_NOTIFY_ADDR_REM = -0x3f87966a
15674+ SIOCIF_IB_RESET_STATS = -0x3f879671
15675+ SIOCIF_IB_RESIZE_CQ = -0x7fdf9679
15676+ SIOCIF_IB_SET_ARP = -0x7fdf967d
15677+ SIOCIF_IB_SET_PKEY = -0x7fdf967c
15678+ SIOCIF_IB_SET_PORT = -0x7fdf967b
15679+ SIOCIF_IB_SET_QKEY = -0x7fdf9676
15680+ SIOCIF_IB_SET_QSIZE = -0x7fdf967a
15681+ SIOCLISTIFVIPA = 0x20006944
15682+ SIOCSARP = -0x7fb396e2
15683+ SIOCSHIWAT = 0x80047300
15684+ SIOCSIFADDR = -0x7fd796f4
15685+ SIOCSIFADDRORI = -0x7fdb9673
15686+ SIOCSIFBRDADDR = -0x7fd796ed
15687+ SIOCSIFDSTADDR = -0x7fd796f2
15688+ SIOCSIFFLAGS = -0x7fd796f0
15689+ SIOCSIFGIDLIST = 0x20006969
15690+ SIOCSIFMETRIC = -0x7fd796e8
15691+ SIOCSIFMTU = -0x7fd796a8
15692+ SIOCSIFNETDUMP = -0x7fd796e4
15693+ SIOCSIFNETMASK = -0x7fd796ea
15694+ SIOCSIFOPTIONS = -0x7fd796d7
15695+ SIOCSIFSUBCHAN = -0x7fd796e5
15696+ SIOCSISNO = -0x7fd79694
15697+ SIOCSLOADF = -0x3ffb967d
15698+ SIOCSLOWAT = 0x80047302
15699+ SIOCSNETOPT = -0x7ffe96a6
15700+ SIOCSPGRP = 0x80047308
15701+ SIOCSX25XLATE = -0x7fd7969d
15702+ SOCK_CONN_DGRAM = 0x6
15703+ SOCK_DGRAM = 0x2
15704+ SOCK_RAW = 0x3
15705+ SOCK_RDM = 0x4
15706+ SOCK_SEQPACKET = 0x5
15707+ SOCK_STREAM = 0x1
15708+ SOL_SOCKET = 0xffff
15709+ SOMAXCONN = 0x400
15710+ SO_ACCEPTCONN = 0x2
15711+ SO_AUDIT = 0x8000
15712+ SO_BROADCAST = 0x20
15713+ SO_CKSUMRECV = 0x800
15714+ SO_DEBUG = 0x1
15715+ SO_DONTROUTE = 0x10
15716+ SO_ERROR = 0x1007
15717+ SO_KEEPALIVE = 0x8
15718+ SO_KERNACCEPT = 0x2000
15719+ SO_LINGER = 0x80
15720+ SO_NOMULTIPATH = 0x4000
15721+ SO_NOREUSEADDR = 0x1000
15722+ SO_OOBINLINE = 0x100
15723+ SO_PEERID = 0x1009
15724+ SO_RCVBUF = 0x1002
15725+ SO_RCVLOWAT = 0x1004
15726+ SO_RCVTIMEO = 0x1006
15727+ SO_REUSEADDR = 0x4
15728+ SO_REUSEPORT = 0x200
15729+ SO_SNDBUF = 0x1001
15730+ SO_SNDLOWAT = 0x1003
15731+ SO_SNDTIMEO = 0x1005
15732+ SO_TIMESTAMPNS = 0x100a
15733+ SO_TYPE = 0x1008
15734+ SO_USELOOPBACK = 0x40
15735+ SO_USE_IFBUFS = 0x400
15736+ S_BANDURG = 0x400
15737+ S_EMODFMT = 0x3c000000
15738+ S_ENFMT = 0x400
15739+ S_ERROR = 0x100
15740+ S_HANGUP = 0x200
15741+ S_HIPRI = 0x2
15742+ S_ICRYPTO = 0x80000
15743+ S_IEXEC = 0x40
15744+ S_IFBLK = 0x6000
15745+ S_IFCHR = 0x2000
15746+ S_IFDIR = 0x4000
15747+ S_IFIFO = 0x1000
15748+ S_IFJOURNAL = 0x10000
15749+ S_IFLNK = 0xa000
15750+ S_IFMPX = 0x2200
15751+ S_IFMT = 0xf000
15752+ S_IFPDIR = 0x4000000
15753+ S_IFPSDIR = 0x8000000
15754+ S_IFPSSDIR = 0xc000000
15755+ S_IFREG = 0x8000
15756+ S_IFSOCK = 0xc000
15757+ S_IFSYSEA = 0x30000000
15758+ S_INPUT = 0x1
15759+ S_IREAD = 0x100
15760+ S_IRGRP = 0x20
15761+ S_IROTH = 0x4
15762+ S_IRUSR = 0x100
15763+ S_IRWXG = 0x38
15764+ S_IRWXO = 0x7
15765+ S_IRWXU = 0x1c0
15766+ S_ISGID = 0x400
15767+ S_ISUID = 0x800
15768+ S_ISVTX = 0x200
15769+ S_ITCB = 0x1000000
15770+ S_ITP = 0x800000
15771+ S_IWGRP = 0x10
15772+ S_IWOTH = 0x2
15773+ S_IWRITE = 0x80
15774+ S_IWUSR = 0x80
15775+ S_IXACL = 0x2000000
15776+ S_IXATTR = 0x40000
15777+ S_IXGRP = 0x8
15778+ S_IXINTERFACE = 0x100000
15779+ S_IXMOD = 0x40000000
15780+ S_IXOTH = 0x1
15781+ S_IXUSR = 0x40
15782+ S_MSG = 0x8
15783+ S_OUTPUT = 0x4
15784+ S_RDBAND = 0x20
15785+ S_RDNORM = 0x10
15786+ S_RESERVED1 = 0x20000
15787+ S_RESERVED2 = 0x200000
15788+ S_RESERVED3 = 0x400000
15789+ S_RESERVED4 = 0x80000000
15790+ S_RESFMT1 = 0x10000000
15791+ S_RESFMT10 = 0x34000000
15792+ S_RESFMT11 = 0x38000000
15793+ S_RESFMT12 = 0x3c000000
15794+ S_RESFMT2 = 0x14000000
15795+ S_RESFMT3 = 0x18000000
15796+ S_RESFMT4 = 0x1c000000
15797+ S_RESFMT5 = 0x20000000
15798+ S_RESFMT6 = 0x24000000
15799+ S_RESFMT7 = 0x28000000
15800+ S_RESFMT8 = 0x2c000000
15801+ S_WRBAND = 0x80
15802+ S_WRNORM = 0x40
15803+ TAB0 = 0x0
15804+ TAB1 = 0x400
15805+ TAB2 = 0x800
15806+ TAB3 = 0xc00
15807+ TABDLY = 0xc00
15808+ TCFLSH = 0x540c
15809+ TCGETA = 0x5405
15810+ TCGETS = 0x5401
15811+ TCIFLUSH = 0x0
15812+ TCIOFF = 0x2
15813+ TCIOFLUSH = 0x2
15814+ TCION = 0x3
15815+ TCOFLUSH = 0x1
15816+ TCOOFF = 0x0
15817+ TCOON = 0x1
15818+ TCP_24DAYS_WORTH_OF_SLOWTICKS = 0x3f4800
15819+ TCP_ACLADD = 0x23
15820+ TCP_ACLBIND = 0x26
15821+ TCP_ACLCLEAR = 0x22
15822+ TCP_ACLDEL = 0x24
15823+ TCP_ACLDENY = 0x8
15824+ TCP_ACLFLUSH = 0x21
15825+ TCP_ACLGID = 0x1
15826+ TCP_ACLLS = 0x25
15827+ TCP_ACLSUBNET = 0x4
15828+ TCP_ACLUID = 0x2
15829+ TCP_CWND_DF = 0x16
15830+ TCP_CWND_IF = 0x15
15831+ TCP_DELAY_ACK_FIN = 0x2
15832+ TCP_DELAY_ACK_SYN = 0x1
15833+ TCP_FASTNAME = 0x101080a
15834+ TCP_KEEPCNT = 0x13
15835+ TCP_KEEPIDLE = 0x11
15836+ TCP_KEEPINTVL = 0x12
15837+ TCP_LSPRIV = 0x29
15838+ TCP_LUID = 0x20
15839+ TCP_MAXBURST = 0x8
15840+ TCP_MAXDF = 0x64
15841+ TCP_MAXIF = 0x64
15842+ TCP_MAXSEG = 0x2
15843+ TCP_MAXWIN = 0xffff
15844+ TCP_MAXWINDOWSCALE = 0xe
15845+ TCP_MAX_SACK = 0x4
15846+ TCP_MSS = 0x5b4
15847+ TCP_NODELAY = 0x1
15848+ TCP_NODELAYACK = 0x14
15849+ TCP_NOREDUCE_CWND_EXIT_FRXMT = 0x19
15850+ TCP_NOREDUCE_CWND_IN_FRXMT = 0x18
15851+ TCP_NOTENTER_SSTART = 0x17
15852+ TCP_OPT = 0x19
15853+ TCP_RFC1323 = 0x4
15854+ TCP_SETPRIV = 0x27
15855+ TCP_STDURG = 0x10
15856+ TCP_TIMESTAMP_OPTLEN = 0xc
15857+ TCP_UNSETPRIV = 0x28
15858+ TCSAFLUSH = 0x2
15859+ TCSBRK = 0x5409
15860+ TCSETA = 0x5406
15861+ TCSETAF = 0x5408
15862+ TCSETAW = 0x5407
15863+ TCSETS = 0x5402
15864+ TCSETSF = 0x5404
15865+ TCSETSW = 0x5403
15866+ TCXONC = 0x540b
15867+ TIMER_ABSTIME = 0x3e7
15868+ TIMER_MAX = 0x20
15869+ TIOC = 0x5400
15870+ TIOCCBRK = 0x2000747a
15871+ TIOCCDTR = 0x20007478
15872+ TIOCCONS = 0x80047462
15873+ TIOCEXCL = 0x2000740d
15874+ TIOCFLUSH = 0x80047410
15875+ TIOCGETC = 0x40067412
15876+ TIOCGETD = 0x40047400
15877+ TIOCGETP = 0x40067408
15878+ TIOCGLTC = 0x40067474
15879+ TIOCGPGRP = 0x40047477
15880+ TIOCGSID = 0x40047448
15881+ TIOCGSIZE = 0x40087468
15882+ TIOCGWINSZ = 0x40087468
15883+ TIOCHPCL = 0x20007402
15884+ TIOCLBIC = 0x8004747e
15885+ TIOCLBIS = 0x8004747f
15886+ TIOCLGET = 0x4004747c
15887+ TIOCLSET = 0x8004747d
15888+ TIOCMBIC = 0x8004746b
15889+ TIOCMBIS = 0x8004746c
15890+ TIOCMGET = 0x4004746a
15891+ TIOCMIWAIT = 0x80047464
15892+ TIOCMODG = 0x40047403
15893+ TIOCMODS = 0x80047404
15894+ TIOCMSET = 0x8004746d
15895+ TIOCM_CAR = 0x40
15896+ TIOCM_CD = 0x40
15897+ TIOCM_CTS = 0x20
15898+ TIOCM_DSR = 0x100
15899+ TIOCM_DTR = 0x2
15900+ TIOCM_LE = 0x1
15901+ TIOCM_RI = 0x80
15902+ TIOCM_RNG = 0x80
15903+ TIOCM_RTS = 0x4
15904+ TIOCM_SR = 0x10
15905+ TIOCM_ST = 0x8
15906+ TIOCNOTTY = 0x20007471
15907+ TIOCNXCL = 0x2000740e
15908+ TIOCOUTQ = 0x40047473
15909+ TIOCPKT = 0x80047470
15910+ TIOCPKT_DATA = 0x0
15911+ TIOCPKT_DOSTOP = 0x20
15912+ TIOCPKT_FLUSHREAD = 0x1
15913+ TIOCPKT_FLUSHWRITE = 0x2
15914+ TIOCPKT_NOSTOP = 0x10
15915+ TIOCPKT_START = 0x8
15916+ TIOCPKT_STOP = 0x4
15917+ TIOCREMOTE = 0x80047469
15918+ TIOCSBRK = 0x2000747b
15919+ TIOCSDTR = 0x20007479
15920+ TIOCSETC = 0x80067411
15921+ TIOCSETD = 0x80047401
15922+ TIOCSETN = 0x8006740a
15923+ TIOCSETP = 0x80067409
15924+ TIOCSLTC = 0x80067475
15925+ TIOCSPGRP = 0x80047476
15926+ TIOCSSIZE = 0x80087467
15927+ TIOCSTART = 0x2000746e
15928+ TIOCSTI = 0x80017472
15929+ TIOCSTOP = 0x2000746f
15930+ TIOCSWINSZ = 0x80087467
15931+ TIOCUCNTL = 0x80047466
15932+ TOSTOP = 0x10000
15933+ UTIME_NOW = -0x2
15934+ UTIME_OMIT = -0x3
15935+ VDISCRD = 0xc
15936+ VDSUSP = 0xa
15937+ VEOF = 0x4
15938+ VEOL = 0x5
15939+ VEOL2 = 0x6
15940+ VERASE = 0x2
15941+ VINTR = 0x0
15942+ VKILL = 0x3
15943+ VLNEXT = 0xe
15944+ VMIN = 0x4
15945+ VQUIT = 0x1
15946+ VREPRINT = 0xb
15947+ VSTART = 0x7
15948+ VSTOP = 0x8
15949+ VSTRT = 0x7
15950+ VSUSP = 0x9
15951+ VT0 = 0x0
15952+ VT1 = 0x8000
15953+ VTDELAY = 0x2000
15954+ VTDLY = 0x8000
15955+ VTIME = 0x5
15956+ VWERSE = 0xd
15957+ WPARSTART = 0x1
15958+ WPARSTOP = 0x2
15959+ WPARTTYNAME = "Global"
15960+ XCASE = 0x4
15961+ XTABS = 0xc00
15962+ _FDATAFLUSH = 0x2000000000
15963+)
15964+
15965+// Errors
15966+const (
15967+ E2BIG = syscall.Errno(0x7)
15968+ EACCES = syscall.Errno(0xd)
15969+ EADDRINUSE = syscall.Errno(0x43)
15970+ EADDRNOTAVAIL = syscall.Errno(0x44)
15971+ EAFNOSUPPORT = syscall.Errno(0x42)
15972+ EAGAIN = syscall.Errno(0xb)
15973+ EALREADY = syscall.Errno(0x38)
15974+ EBADF = syscall.Errno(0x9)
15975+ EBADMSG = syscall.Errno(0x78)
15976+ EBUSY = syscall.Errno(0x10)
15977+ ECANCELED = syscall.Errno(0x75)
15978+ ECHILD = syscall.Errno(0xa)
15979+ ECHRNG = syscall.Errno(0x25)
15980+ ECLONEME = syscall.Errno(0x52)
15981+ ECONNABORTED = syscall.Errno(0x48)
15982+ ECONNREFUSED = syscall.Errno(0x4f)
15983+ ECONNRESET = syscall.Errno(0x49)
15984+ ECORRUPT = syscall.Errno(0x59)
15985+ EDEADLK = syscall.Errno(0x2d)
15986+ EDESTADDREQ = syscall.Errno(0x3a)
15987+ EDESTADDRREQ = syscall.Errno(0x3a)
15988+ EDIST = syscall.Errno(0x35)
15989+ EDOM = syscall.Errno(0x21)
15990+ EDQUOT = syscall.Errno(0x58)
15991+ EEXIST = syscall.Errno(0x11)
15992+ EFAULT = syscall.Errno(0xe)
15993+ EFBIG = syscall.Errno(0x1b)
15994+ EFORMAT = syscall.Errno(0x30)
15995+ EHOSTDOWN = syscall.Errno(0x50)
15996+ EHOSTUNREACH = syscall.Errno(0x51)
15997+ EIDRM = syscall.Errno(0x24)
15998+ EILSEQ = syscall.Errno(0x74)
15999+ EINPROGRESS = syscall.Errno(0x37)
16000+ EINTR = syscall.Errno(0x4)
16001+ EINVAL = syscall.Errno(0x16)
16002+ EIO = syscall.Errno(0x5)
16003+ EISCONN = syscall.Errno(0x4b)
16004+ EISDIR = syscall.Errno(0x15)
16005+ EL2HLT = syscall.Errno(0x2c)
16006+ EL2NSYNC = syscall.Errno(0x26)
16007+ EL3HLT = syscall.Errno(0x27)
16008+ EL3RST = syscall.Errno(0x28)
16009+ ELNRNG = syscall.Errno(0x29)
16010+ ELOOP = syscall.Errno(0x55)
16011+ EMEDIA = syscall.Errno(0x6e)
16012+ EMFILE = syscall.Errno(0x18)
16013+ EMLINK = syscall.Errno(0x1f)
16014+ EMSGSIZE = syscall.Errno(0x3b)
16015+ EMULTIHOP = syscall.Errno(0x7d)
16016+ ENAMETOOLONG = syscall.Errno(0x56)
16017+ ENETDOWN = syscall.Errno(0x45)
16018+ ENETRESET = syscall.Errno(0x47)
16019+ ENETUNREACH = syscall.Errno(0x46)
16020+ ENFILE = syscall.Errno(0x17)
16021+ ENOATTR = syscall.Errno(0x70)
16022+ ENOBUFS = syscall.Errno(0x4a)
16023+ ENOCONNECT = syscall.Errno(0x32)
16024+ ENOCSI = syscall.Errno(0x2b)
16025+ ENODATA = syscall.Errno(0x7a)
16026+ ENODEV = syscall.Errno(0x13)
16027+ ENOENT = syscall.Errno(0x2)
16028+ ENOEXEC = syscall.Errno(0x8)
16029+ ENOLCK = syscall.Errno(0x31)
16030+ ENOLINK = syscall.Errno(0x7e)
16031+ ENOMEM = syscall.Errno(0xc)
16032+ ENOMSG = syscall.Errno(0x23)
16033+ ENOPROTOOPT = syscall.Errno(0x3d)
16034+ ENOSPC = syscall.Errno(0x1c)
16035+ ENOSR = syscall.Errno(0x76)
16036+ ENOSTR = syscall.Errno(0x7b)
16037+ ENOSYS = syscall.Errno(0x6d)
16038+ ENOTBLK = syscall.Errno(0xf)
16039+ ENOTCONN = syscall.Errno(0x4c)
16040+ ENOTDIR = syscall.Errno(0x14)
16041+ ENOTEMPTY = syscall.Errno(0x11)
16042+ ENOTREADY = syscall.Errno(0x2e)
16043+ ENOTRECOVERABLE = syscall.Errno(0x5e)
16044+ ENOTRUST = syscall.Errno(0x72)
16045+ ENOTSOCK = syscall.Errno(0x39)
16046+ ENOTSUP = syscall.Errno(0x7c)
16047+ ENOTTY = syscall.Errno(0x19)
16048+ ENXIO = syscall.Errno(0x6)
16049+ EOPNOTSUPP = syscall.Errno(0x40)
16050+ EOVERFLOW = syscall.Errno(0x7f)
16051+ EOWNERDEAD = syscall.Errno(0x5f)
16052+ EPERM = syscall.Errno(0x1)
16053+ EPFNOSUPPORT = syscall.Errno(0x41)
16054+ EPIPE = syscall.Errno(0x20)
16055+ EPROCLIM = syscall.Errno(0x53)
16056+ EPROTO = syscall.Errno(0x79)
16057+ EPROTONOSUPPORT = syscall.Errno(0x3e)
16058+ EPROTOTYPE = syscall.Errno(0x3c)
16059+ ERANGE = syscall.Errno(0x22)
16060+ EREMOTE = syscall.Errno(0x5d)
16061+ ERESTART = syscall.Errno(0x52)
16062+ EROFS = syscall.Errno(0x1e)
16063+ ESAD = syscall.Errno(0x71)
16064+ ESHUTDOWN = syscall.Errno(0x4d)
16065+ ESOCKTNOSUPPORT = syscall.Errno(0x3f)
16066+ ESOFT = syscall.Errno(0x6f)
16067+ ESPIPE = syscall.Errno(0x1d)
16068+ ESRCH = syscall.Errno(0x3)
16069+ ESTALE = syscall.Errno(0x34)
16070+ ESYSERROR = syscall.Errno(0x5a)
16071+ ETIME = syscall.Errno(0x77)
16072+ ETIMEDOUT = syscall.Errno(0x4e)
16073+ ETOOMANYREFS = syscall.Errno(0x73)
16074+ ETXTBSY = syscall.Errno(0x1a)
16075+ EUNATCH = syscall.Errno(0x2a)
16076+ EUSERS = syscall.Errno(0x54)
16077+ EWOULDBLOCK = syscall.Errno(0xb)
16078+ EWRPROTECT = syscall.Errno(0x2f)
16079+ EXDEV = syscall.Errno(0x12)
16080+)
16081+
16082+// Signals
16083+const (
16084+ SIGABRT = syscall.Signal(0x6)
16085+ SIGAIO = syscall.Signal(0x17)
16086+ SIGALRM = syscall.Signal(0xe)
16087+ SIGALRM1 = syscall.Signal(0x26)
16088+ SIGBUS = syscall.Signal(0xa)
16089+ SIGCAPI = syscall.Signal(0x31)
16090+ SIGCHLD = syscall.Signal(0x14)
16091+ SIGCLD = syscall.Signal(0x14)
16092+ SIGCONT = syscall.Signal(0x13)
16093+ SIGCPUFAIL = syscall.Signal(0x3b)
16094+ SIGDANGER = syscall.Signal(0x21)
16095+ SIGEMT = syscall.Signal(0x7)
16096+ SIGFPE = syscall.Signal(0x8)
16097+ SIGGRANT = syscall.Signal(0x3c)
16098+ SIGHUP = syscall.Signal(0x1)
16099+ SIGILL = syscall.Signal(0x4)
16100+ SIGINT = syscall.Signal(0x2)
16101+ SIGIO = syscall.Signal(0x17)
16102+ SIGIOINT = syscall.Signal(0x10)
16103+ SIGIOT = syscall.Signal(0x6)
16104+ SIGKAP = syscall.Signal(0x3c)
16105+ SIGKILL = syscall.Signal(0x9)
16106+ SIGLOST = syscall.Signal(0x6)
16107+ SIGMAX = syscall.Signal(0x3f)
16108+ SIGMAX32 = syscall.Signal(0x3f)
16109+ SIGMIGRATE = syscall.Signal(0x23)
16110+ SIGMSG = syscall.Signal(0x1b)
16111+ SIGPIPE = syscall.Signal(0xd)
16112+ SIGPOLL = syscall.Signal(0x17)
16113+ SIGPRE = syscall.Signal(0x24)
16114+ SIGPROF = syscall.Signal(0x20)
16115+ SIGPTY = syscall.Signal(0x17)
16116+ SIGPWR = syscall.Signal(0x1d)
16117+ SIGQUIT = syscall.Signal(0x3)
16118+ SIGRECONFIG = syscall.Signal(0x3a)
16119+ SIGRETRACT = syscall.Signal(0x3d)
16120+ SIGSAK = syscall.Signal(0x3f)
16121+ SIGSEGV = syscall.Signal(0xb)
16122+ SIGSOUND = syscall.Signal(0x3e)
16123+ SIGSTOP = syscall.Signal(0x11)
16124+ SIGSYS = syscall.Signal(0xc)
16125+ SIGSYSERROR = syscall.Signal(0x30)
16126+ SIGTALRM = syscall.Signal(0x26)
16127+ SIGTERM = syscall.Signal(0xf)
16128+ SIGTRAP = syscall.Signal(0x5)
16129+ SIGTSTP = syscall.Signal(0x12)
16130+ SIGTTIN = syscall.Signal(0x15)
16131+ SIGTTOU = syscall.Signal(0x16)
16132+ SIGURG = syscall.Signal(0x10)
16133+ SIGUSR1 = syscall.Signal(0x1e)
16134+ SIGUSR2 = syscall.Signal(0x1f)
16135+ SIGVIRT = syscall.Signal(0x25)
16136+ SIGVTALRM = syscall.Signal(0x22)
16137+ SIGWAITING = syscall.Signal(0x27)
16138+ SIGWINCH = syscall.Signal(0x1c)
16139+ SIGXCPU = syscall.Signal(0x18)
16140+ SIGXFSZ = syscall.Signal(0x19)
16141+)
16142+
16143+// Error table
16144+var errorList = [...]struct {
16145+ num syscall.Errno
16146+ name string
16147+ desc string
16148+}{
16149+ {1, "EPERM", "not owner"},
16150+ {2, "ENOENT", "no such file or directory"},
16151+ {3, "ESRCH", "no such process"},
16152+ {4, "EINTR", "interrupted system call"},
16153+ {5, "EIO", "I/O error"},
16154+ {6, "ENXIO", "no such device or address"},
16155+ {7, "E2BIG", "arg list too long"},
16156+ {8, "ENOEXEC", "exec format error"},
16157+ {9, "EBADF", "bad file number"},
16158+ {10, "ECHILD", "no child processes"},
16159+ {11, "EWOULDBLOCK", "resource temporarily unavailable"},
16160+ {12, "ENOMEM", "not enough space"},
16161+ {13, "EACCES", "permission denied"},
16162+ {14, "EFAULT", "bad address"},
16163+ {15, "ENOTBLK", "block device required"},
16164+ {16, "EBUSY", "device busy"},
16165+ {17, "ENOTEMPTY", "file exists"},
16166+ {18, "EXDEV", "cross-device link"},
16167+ {19, "ENODEV", "no such device"},
16168+ {20, "ENOTDIR", "not a directory"},
16169+ {21, "EISDIR", "is a directory"},
16170+ {22, "EINVAL", "invalid argument"},
16171+ {23, "ENFILE", "file table overflow"},
16172+ {24, "EMFILE", "too many open files"},
16173+ {25, "ENOTTY", "not a typewriter"},
16174+ {26, "ETXTBSY", "text file busy"},
16175+ {27, "EFBIG", "file too large"},
16176+ {28, "ENOSPC", "no space left on device"},
16177+ {29, "ESPIPE", "illegal seek"},
16178+ {30, "EROFS", "read-only file system"},
16179+ {31, "EMLINK", "too many links"},
16180+ {32, "EPIPE", "broken pipe"},
16181+ {33, "EDOM", "argument out of domain"},
16182+ {34, "ERANGE", "result too large"},
16183+ {35, "ENOMSG", "no message of desired type"},
16184+ {36, "EIDRM", "identifier removed"},
16185+ {37, "ECHRNG", "channel number out of range"},
16186+ {38, "EL2NSYNC", "level 2 not synchronized"},
16187+ {39, "EL3HLT", "level 3 halted"},
16188+ {40, "EL3RST", "level 3 reset"},
16189+ {41, "ELNRNG", "link number out of range"},
16190+ {42, "EUNATCH", "protocol driver not attached"},
16191+ {43, "ENOCSI", "no CSI structure available"},
16192+ {44, "EL2HLT", "level 2 halted"},
16193+ {45, "EDEADLK", "deadlock condition if locked"},
16194+ {46, "ENOTREADY", "device not ready"},
16195+ {47, "EWRPROTECT", "write-protected media"},
16196+ {48, "EFORMAT", "unformatted or incompatible media"},
16197+ {49, "ENOLCK", "no locks available"},
16198+ {50, "ENOCONNECT", "cannot Establish Connection"},
16199+ {52, "ESTALE", "missing file or filesystem"},
16200+ {53, "EDIST", "requests blocked by Administrator"},
16201+ {55, "EINPROGRESS", "operation now in progress"},
16202+ {56, "EALREADY", "operation already in progress"},
16203+ {57, "ENOTSOCK", "socket operation on non-socket"},
16204+ {58, "EDESTADDREQ", "destination address required"},
16205+ {59, "EMSGSIZE", "message too long"},
16206+ {60, "EPROTOTYPE", "protocol wrong type for socket"},
16207+ {61, "ENOPROTOOPT", "protocol not available"},
16208+ {62, "EPROTONOSUPPORT", "protocol not supported"},
16209+ {63, "ESOCKTNOSUPPORT", "socket type not supported"},
16210+ {64, "EOPNOTSUPP", "operation not supported on socket"},
16211+ {65, "EPFNOSUPPORT", "protocol family not supported"},
16212+ {66, "EAFNOSUPPORT", "addr family not supported by protocol"},
16213+ {67, "EADDRINUSE", "address already in use"},
16214+ {68, "EADDRNOTAVAIL", "can't assign requested address"},
16215+ {69, "ENETDOWN", "network is down"},
16216+ {70, "ENETUNREACH", "network is unreachable"},
16217+ {71, "ENETRESET", "network dropped connection on reset"},
16218+ {72, "ECONNABORTED", "software caused connection abort"},
16219+ {73, "ECONNRESET", "connection reset by peer"},
16220+ {74, "ENOBUFS", "no buffer space available"},
16221+ {75, "EISCONN", "socket is already connected"},
16222+ {76, "ENOTCONN", "socket is not connected"},
16223+ {77, "ESHUTDOWN", "can't send after socket shutdown"},
16224+ {78, "ETIMEDOUT", "connection timed out"},
16225+ {79, "ECONNREFUSED", "connection refused"},
16226+ {80, "EHOSTDOWN", "host is down"},
16227+ {81, "EHOSTUNREACH", "no route to host"},
16228+ {82, "ERESTART", "restart the system call"},
16229+ {83, "EPROCLIM", "too many processes"},
16230+ {84, "EUSERS", "too many users"},
16231+ {85, "ELOOP", "too many levels of symbolic links"},
16232+ {86, "ENAMETOOLONG", "file name too long"},
16233+ {88, "EDQUOT", "disk quota exceeded"},
16234+ {89, "ECORRUPT", "invalid file system control data detected"},
16235+ {90, "ESYSERROR", "for future use "},
16236+ {93, "EREMOTE", "item is not local to host"},
16237+ {94, "ENOTRECOVERABLE", "state not recoverable "},
16238+ {95, "EOWNERDEAD", "previous owner died "},
16239+ {109, "ENOSYS", "function not implemented"},
16240+ {110, "EMEDIA", "media surface error"},
16241+ {111, "ESOFT", "I/O completed, but needs relocation"},
16242+ {112, "ENOATTR", "no attribute found"},
16243+ {113, "ESAD", "security Authentication Denied"},
16244+ {114, "ENOTRUST", "not a Trusted Program"},
16245+ {115, "ETOOMANYREFS", "too many references: can't splice"},
16246+ {116, "EILSEQ", "invalid wide character"},
16247+ {117, "ECANCELED", "asynchronous I/O cancelled"},
16248+ {118, "ENOSR", "out of STREAMS resources"},
16249+ {119, "ETIME", "system call timed out"},
16250+ {120, "EBADMSG", "next message has wrong type"},
16251+ {121, "EPROTO", "error in protocol"},
16252+ {122, "ENODATA", "no message on stream head read q"},
16253+ {123, "ENOSTR", "fd not associated with a stream"},
16254+ {124, "ENOTSUP", "unsupported attribute value"},
16255+ {125, "EMULTIHOP", "multihop is not allowed"},
16256+ {126, "ENOLINK", "the server link has been severed"},
16257+ {127, "EOVERFLOW", "value too large to be stored in data type"},
16258+}
16259+
16260+// Signal table
16261+var signalList = [...]struct {
16262+ num syscall.Signal
16263+ name string
16264+ desc string
16265+}{
16266+ {1, "SIGHUP", "hangup"},
16267+ {2, "SIGINT", "interrupt"},
16268+ {3, "SIGQUIT", "quit"},
16269+ {4, "SIGILL", "illegal instruction"},
16270+ {5, "SIGTRAP", "trace/BPT trap"},
16271+ {6, "SIGIOT", "IOT/Abort trap"},
16272+ {7, "SIGEMT", "EMT trap"},
16273+ {8, "SIGFPE", "floating point exception"},
16274+ {9, "SIGKILL", "killed"},
16275+ {10, "SIGBUS", "bus error"},
16276+ {11, "SIGSEGV", "segmentation fault"},
16277+ {12, "SIGSYS", "bad system call"},
16278+ {13, "SIGPIPE", "broken pipe"},
16279+ {14, "SIGALRM", "alarm clock"},
16280+ {15, "SIGTERM", "terminated"},
16281+ {16, "SIGURG", "urgent I/O condition"},
16282+ {17, "SIGSTOP", "stopped (signal)"},
16283+ {18, "SIGTSTP", "stopped"},
16284+ {19, "SIGCONT", "continued"},
16285+ {20, "SIGCHLD", "child exited"},
16286+ {21, "SIGTTIN", "stopped (tty input)"},
16287+ {22, "SIGTTOU", "stopped (tty output)"},
16288+ {23, "SIGIO", "I/O possible/complete"},
16289+ {24, "SIGXCPU", "cputime limit exceeded"},
16290+ {25, "SIGXFSZ", "filesize limit exceeded"},
16291+ {27, "SIGMSG", "input device data"},
16292+ {28, "SIGWINCH", "window size changes"},
16293+ {29, "SIGPWR", "power-failure"},
16294+ {30, "SIGUSR1", "user defined signal 1"},
16295+ {31, "SIGUSR2", "user defined signal 2"},
16296+ {32, "SIGPROF", "profiling timer expired"},
16297+ {33, "SIGDANGER", "paging space low"},
16298+ {34, "SIGVTALRM", "virtual timer expired"},
16299+ {35, "SIGMIGRATE", "signal 35"},
16300+ {36, "SIGPRE", "signal 36"},
16301+ {37, "SIGVIRT", "signal 37"},
16302+ {38, "SIGTALRM", "signal 38"},
16303+ {39, "SIGWAITING", "signal 39"},
16304+ {48, "SIGSYSERROR", "signal 48"},
16305+ {49, "SIGCAPI", "signal 49"},
16306+ {58, "SIGRECONFIG", "signal 58"},
16307+ {59, "SIGCPUFAIL", "CPU Failure Predicted"},
16308+ {60, "SIGKAP", "monitor mode granted"},
16309+ {61, "SIGRETRACT", "monitor mode retracted"},
16310+ {62, "SIGSOUND", "sound completed"},
16311+ {63, "SIGSAK", "secure attention"},
16312+}
16313diff --git a/vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go b/vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go
16314new file mode 100644
16315index 00000000..4fc8d306
16316--- /dev/null
16317+++ b/vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go
16318@@ -0,0 +1,1385 @@
16319+// mkerrors.sh -maix64
16320+// Code generated by the command above; see README.md. DO NOT EDIT.
16321+
16322+// +build ppc64,aix
16323+
16324+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
16325+// cgo -godefs -- -maix64 _const.go
16326+
16327+package unix
16328+
16329+import "syscall"
16330+
16331+const (
16332+ AF_APPLETALK = 0x10
16333+ AF_BYPASS = 0x19
16334+ AF_CCITT = 0xa
16335+ AF_CHAOS = 0x5
16336+ AF_DATAKIT = 0x9
16337+ AF_DECnet = 0xc
16338+ AF_DLI = 0xd
16339+ AF_ECMA = 0x8
16340+ AF_HYLINK = 0xf
16341+ AF_IMPLINK = 0x3
16342+ AF_INET = 0x2
16343+ AF_INET6 = 0x18
16344+ AF_INTF = 0x14
16345+ AF_ISO = 0x7
16346+ AF_LAT = 0xe
16347+ AF_LINK = 0x12
16348+ AF_LOCAL = 0x1
16349+ AF_MAX = 0x1e
16350+ AF_NDD = 0x17
16351+ AF_NETWARE = 0x16
16352+ AF_NS = 0x6
16353+ AF_OSI = 0x7
16354+ AF_PUP = 0x4
16355+ AF_RIF = 0x15
16356+ AF_ROUTE = 0x11
16357+ AF_SNA = 0xb
16358+ AF_UNIX = 0x1
16359+ AF_UNSPEC = 0x0
16360+ ALTWERASE = 0x400000
16361+ ARPHRD_802_3 = 0x6
16362+ ARPHRD_802_5 = 0x6
16363+ ARPHRD_ETHER = 0x1
16364+ ARPHRD_FDDI = 0x1
16365+ B0 = 0x0
16366+ B110 = 0x3
16367+ B1200 = 0x9
16368+ B134 = 0x4
16369+ B150 = 0x5
16370+ B1800 = 0xa
16371+ B19200 = 0xe
16372+ B200 = 0x6
16373+ B2400 = 0xb
16374+ B300 = 0x7
16375+ B38400 = 0xf
16376+ B4800 = 0xc
16377+ B50 = 0x1
16378+ B600 = 0x8
16379+ B75 = 0x2
16380+ B9600 = 0xd
16381+ BRKINT = 0x2
16382+ BS0 = 0x0
16383+ BS1 = 0x1000
16384+ BSDLY = 0x1000
16385+ CAP_AACCT = 0x6
16386+ CAP_ARM_APPLICATION = 0x5
16387+ CAP_BYPASS_RAC_VMM = 0x3
16388+ CAP_CLEAR = 0x0
16389+ CAP_CREDENTIALS = 0x7
16390+ CAP_EFFECTIVE = 0x1
16391+ CAP_EWLM_AGENT = 0x4
16392+ CAP_INHERITABLE = 0x2
16393+ CAP_MAXIMUM = 0x7
16394+ CAP_NUMA_ATTACH = 0x2
16395+ CAP_PERMITTED = 0x3
16396+ CAP_PROPAGATE = 0x1
16397+ CAP_PROPOGATE = 0x1
16398+ CAP_SET = 0x1
16399+ CBAUD = 0xf
16400+ CFLUSH = 0xf
16401+ CIBAUD = 0xf0000
16402+ CLOCAL = 0x800
16403+ CLOCK_MONOTONIC = 0xa
16404+ CLOCK_PROCESS_CPUTIME_ID = 0xb
16405+ CLOCK_REALTIME = 0x9
16406+ CLOCK_THREAD_CPUTIME_ID = 0xc
16407+ CR0 = 0x0
16408+ CR1 = 0x100
16409+ CR2 = 0x200
16410+ CR3 = 0x300
16411+ CRDLY = 0x300
16412+ CREAD = 0x80
16413+ CS5 = 0x0
16414+ CS6 = 0x10
16415+ CS7 = 0x20
16416+ CS8 = 0x30
16417+ CSIOCGIFCONF = -0x3fef96dc
16418+ CSIZE = 0x30
16419+ CSMAP_DIR = "/usr/lib/nls/csmap/"
16420+ CSTART = '\021'
16421+ CSTOP = '\023'
16422+ CSTOPB = 0x40
16423+ CSUSP = 0x1a
16424+ ECHO = 0x8
16425+ ECHOCTL = 0x20000
16426+ ECHOE = 0x10
16427+ ECHOK = 0x20
16428+ ECHOKE = 0x80000
16429+ ECHONL = 0x40
16430+ ECHOPRT = 0x40000
16431+ ECH_ICMPID = 0x2
16432+ ETHERNET_CSMACD = 0x6
16433+ EVENP = 0x80
16434+ EXCONTINUE = 0x0
16435+ EXDLOK = 0x3
16436+ EXIO = 0x2
16437+ EXPGIO = 0x0
16438+ EXRESUME = 0x2
16439+ EXRETURN = 0x1
16440+ EXSIG = 0x4
16441+ EXTA = 0xe
16442+ EXTB = 0xf
16443+ EXTRAP = 0x1
16444+ EYEC_RTENTRYA = 0x257274656e747241
16445+ EYEC_RTENTRYF = 0x257274656e747246
16446+ E_ACC = 0x0
16447+ FD_CLOEXEC = 0x1
16448+ FD_SETSIZE = 0xfffe
16449+ FF0 = 0x0
16450+ FF1 = 0x2000
16451+ FFDLY = 0x2000
16452+ FLUSHBAND = 0x40
16453+ FLUSHLOW = 0x8
16454+ FLUSHO = 0x100000
16455+ FLUSHR = 0x1
16456+ FLUSHRW = 0x3
16457+ FLUSHW = 0x2
16458+ F_CLOSEM = 0xa
16459+ F_DUP2FD = 0xe
16460+ F_DUPFD = 0x0
16461+ F_GETFD = 0x1
16462+ F_GETFL = 0x3
16463+ F_GETLK = 0xb
16464+ F_GETLK64 = 0xb
16465+ F_GETOWN = 0x8
16466+ F_LOCK = 0x1
16467+ F_OK = 0x0
16468+ F_RDLCK = 0x1
16469+ F_SETFD = 0x2
16470+ F_SETFL = 0x4
16471+ F_SETLK = 0xc
16472+ F_SETLK64 = 0xc
16473+ F_SETLKW = 0xd
16474+ F_SETLKW64 = 0xd
16475+ F_SETOWN = 0x9
16476+ F_TEST = 0x3
16477+ F_TLOCK = 0x2
16478+ F_TSTLK = 0xf
16479+ F_ULOCK = 0x0
16480+ F_UNLCK = 0x3
16481+ F_WRLCK = 0x2
16482+ HUPCL = 0x400
16483+ IBSHIFT = 0x10
16484+ ICANON = 0x2
16485+ ICMP6_FILTER = 0x26
16486+ ICMP6_SEC_SEND_DEL = 0x46
16487+ ICMP6_SEC_SEND_GET = 0x47
16488+ ICMP6_SEC_SEND_SET = 0x44
16489+ ICMP6_SEC_SEND_SET_CGA_ADDR = 0x45
16490+ ICRNL = 0x100
16491+ IEXTEN = 0x200000
16492+ IFA_FIRSTALIAS = 0x2000
16493+ IFA_ROUTE = 0x1
16494+ IFF_64BIT = 0x4000000
16495+ IFF_ALLCAST = 0x20000
16496+ IFF_ALLMULTI = 0x200
16497+ IFF_BPF = 0x8000000
16498+ IFF_BRIDGE = 0x40000
16499+ IFF_BROADCAST = 0x2
16500+ IFF_CANTCHANGE = 0x80c52
16501+ IFF_CHECKSUM_OFFLOAD = 0x10000000
16502+ IFF_D1 = 0x8000
16503+ IFF_D2 = 0x4000
16504+ IFF_D3 = 0x2000
16505+ IFF_D4 = 0x1000
16506+ IFF_DEBUG = 0x4
16507+ IFF_DEVHEALTH = 0x4000
16508+ IFF_DO_HW_LOOPBACK = 0x10000
16509+ IFF_GROUP_ROUTING = 0x2000000
16510+ IFF_IFBUFMGT = 0x800000
16511+ IFF_LINK0 = 0x100000
16512+ IFF_LINK1 = 0x200000
16513+ IFF_LINK2 = 0x400000
16514+ IFF_LOOPBACK = 0x8
16515+ IFF_MULTICAST = 0x80000
16516+ IFF_NOARP = 0x80
16517+ IFF_NOECHO = 0x800
16518+ IFF_NOTRAILERS = 0x20
16519+ IFF_OACTIVE = 0x400
16520+ IFF_POINTOPOINT = 0x10
16521+ IFF_PROMISC = 0x100
16522+ IFF_PSEG = 0x40000000
16523+ IFF_RUNNING = 0x40
16524+ IFF_SIMPLEX = 0x800
16525+ IFF_SNAP = 0x8000
16526+ IFF_TCP_DISABLE_CKSUM = 0x20000000
16527+ IFF_TCP_NOCKSUM = 0x1000000
16528+ IFF_UP = 0x1
16529+ IFF_VIPA = 0x80000000
16530+ IFNAMSIZ = 0x10
16531+ IFO_FLUSH = 0x1
16532+ IFT_1822 = 0x2
16533+ IFT_AAL5 = 0x31
16534+ IFT_ARCNET = 0x23
16535+ IFT_ARCNETPLUS = 0x24
16536+ IFT_ATM = 0x25
16537+ IFT_CEPT = 0x13
16538+ IFT_CLUSTER = 0x3e
16539+ IFT_DS3 = 0x1e
16540+ IFT_EON = 0x19
16541+ IFT_ETHER = 0x6
16542+ IFT_FCS = 0x3a
16543+ IFT_FDDI = 0xf
16544+ IFT_FRELAY = 0x20
16545+ IFT_FRELAYDCE = 0x2c
16546+ IFT_GIFTUNNEL = 0x3c
16547+ IFT_HDH1822 = 0x3
16548+ IFT_HF = 0x3d
16549+ IFT_HIPPI = 0x2f
16550+ IFT_HSSI = 0x2e
16551+ IFT_HY = 0xe
16552+ IFT_IB = 0xc7
16553+ IFT_ISDNBASIC = 0x14
16554+ IFT_ISDNPRIMARY = 0x15
16555+ IFT_ISO88022LLC = 0x29
16556+ IFT_ISO88023 = 0x7
16557+ IFT_ISO88024 = 0x8
16558+ IFT_ISO88025 = 0x9
16559+ IFT_ISO88026 = 0xa
16560+ IFT_LAPB = 0x10
16561+ IFT_LOCALTALK = 0x2a
16562+ IFT_LOOP = 0x18
16563+ IFT_MIOX25 = 0x26
16564+ IFT_MODEM = 0x30
16565+ IFT_NSIP = 0x1b
16566+ IFT_OTHER = 0x1
16567+ IFT_P10 = 0xc
16568+ IFT_P80 = 0xd
16569+ IFT_PARA = 0x22
16570+ IFT_PPP = 0x17
16571+ IFT_PROPMUX = 0x36
16572+ IFT_PROPVIRTUAL = 0x35
16573+ IFT_PTPSERIAL = 0x16
16574+ IFT_RS232 = 0x21
16575+ IFT_SDLC = 0x11
16576+ IFT_SIP = 0x1f
16577+ IFT_SLIP = 0x1c
16578+ IFT_SMDSDXI = 0x2b
16579+ IFT_SMDSICIP = 0x34
16580+ IFT_SN = 0x38
16581+ IFT_SONET = 0x27
16582+ IFT_SONETPATH = 0x32
16583+ IFT_SONETVT = 0x33
16584+ IFT_SP = 0x39
16585+ IFT_STARLAN = 0xb
16586+ IFT_T1 = 0x12
16587+ IFT_TUNNEL = 0x3b
16588+ IFT_ULTRA = 0x1d
16589+ IFT_V35 = 0x2d
16590+ IFT_VIPA = 0x37
16591+ IFT_X25 = 0x5
16592+ IFT_X25DDN = 0x4
16593+ IFT_X25PLE = 0x28
16594+ IFT_XETHER = 0x1a
16595+ IGNBRK = 0x1
16596+ IGNCR = 0x80
16597+ IGNPAR = 0x4
16598+ IMAXBEL = 0x10000
16599+ INLCR = 0x40
16600+ INPCK = 0x10
16601+ IN_CLASSA_HOST = 0xffffff
16602+ IN_CLASSA_MAX = 0x80
16603+ IN_CLASSA_NET = 0xff000000
16604+ IN_CLASSA_NSHIFT = 0x18
16605+ IN_CLASSB_HOST = 0xffff
16606+ IN_CLASSB_MAX = 0x10000
16607+ IN_CLASSB_NET = 0xffff0000
16608+ IN_CLASSB_NSHIFT = 0x10
16609+ IN_CLASSC_HOST = 0xff
16610+ IN_CLASSC_NET = 0xffffff00
16611+ IN_CLASSC_NSHIFT = 0x8
16612+ IN_CLASSD_HOST = 0xfffffff
16613+ IN_CLASSD_NET = 0xf0000000
16614+ IN_CLASSD_NSHIFT = 0x1c
16615+ IN_LOOPBACKNET = 0x7f
16616+ IN_USE = 0x1
16617+ IPPROTO_AH = 0x33
16618+ IPPROTO_BIP = 0x53
16619+ IPPROTO_DSTOPTS = 0x3c
16620+ IPPROTO_EGP = 0x8
16621+ IPPROTO_EON = 0x50
16622+ IPPROTO_ESP = 0x32
16623+ IPPROTO_FRAGMENT = 0x2c
16624+ IPPROTO_GGP = 0x3
16625+ IPPROTO_GIF = 0x8c
16626+ IPPROTO_GRE = 0x2f
16627+ IPPROTO_HOPOPTS = 0x0
16628+ IPPROTO_ICMP = 0x1
16629+ IPPROTO_ICMPV6 = 0x3a
16630+ IPPROTO_IDP = 0x16
16631+ IPPROTO_IGMP = 0x2
16632+ IPPROTO_IP = 0x0
16633+ IPPROTO_IPIP = 0x4
16634+ IPPROTO_IPV6 = 0x29
16635+ IPPROTO_LOCAL = 0x3f
16636+ IPPROTO_MAX = 0x100
16637+ IPPROTO_MH = 0x87
16638+ IPPROTO_NONE = 0x3b
16639+ IPPROTO_PUP = 0xc
16640+ IPPROTO_QOS = 0x2d
16641+ IPPROTO_RAW = 0xff
16642+ IPPROTO_ROUTING = 0x2b
16643+ IPPROTO_RSVP = 0x2e
16644+ IPPROTO_SCTP = 0x84
16645+ IPPROTO_TCP = 0x6
16646+ IPPROTO_TP = 0x1d
16647+ IPPROTO_UDP = 0x11
16648+ IPV6_ADDRFORM = 0x16
16649+ IPV6_ADDR_PREFERENCES = 0x4a
16650+ IPV6_ADD_MEMBERSHIP = 0xc
16651+ IPV6_AIXRAWSOCKET = 0x39
16652+ IPV6_CHECKSUM = 0x27
16653+ IPV6_DONTFRAG = 0x2d
16654+ IPV6_DROP_MEMBERSHIP = 0xd
16655+ IPV6_DSTOPTS = 0x36
16656+ IPV6_FLOWINFO_FLOWLABEL = 0xffffff
16657+ IPV6_FLOWINFO_PRIFLOW = 0xfffffff
16658+ IPV6_FLOWINFO_PRIORITY = 0xf000000
16659+ IPV6_FLOWINFO_SRFLAG = 0x10000000
16660+ IPV6_FLOWINFO_VERSION = 0xf0000000
16661+ IPV6_HOPLIMIT = 0x28
16662+ IPV6_HOPOPTS = 0x34
16663+ IPV6_JOIN_GROUP = 0xc
16664+ IPV6_LEAVE_GROUP = 0xd
16665+ IPV6_MIPDSTOPTS = 0x36
16666+ IPV6_MULTICAST_HOPS = 0xa
16667+ IPV6_MULTICAST_IF = 0x9
16668+ IPV6_MULTICAST_LOOP = 0xb
16669+ IPV6_NEXTHOP = 0x30
16670+ IPV6_NOPROBE = 0x1c
16671+ IPV6_PATHMTU = 0x2e
16672+ IPV6_PKTINFO = 0x21
16673+ IPV6_PKTOPTIONS = 0x24
16674+ IPV6_PRIORITY_10 = 0xa000000
16675+ IPV6_PRIORITY_11 = 0xb000000
16676+ IPV6_PRIORITY_12 = 0xc000000
16677+ IPV6_PRIORITY_13 = 0xd000000
16678+ IPV6_PRIORITY_14 = 0xe000000
16679+ IPV6_PRIORITY_15 = 0xf000000
16680+ IPV6_PRIORITY_8 = 0x8000000
16681+ IPV6_PRIORITY_9 = 0x9000000
16682+ IPV6_PRIORITY_BULK = 0x4000000
16683+ IPV6_PRIORITY_CONTROL = 0x7000000
16684+ IPV6_PRIORITY_FILLER = 0x1000000
16685+ IPV6_PRIORITY_INTERACTIVE = 0x6000000
16686+ IPV6_PRIORITY_RESERVED1 = 0x3000000
16687+ IPV6_PRIORITY_RESERVED2 = 0x5000000
16688+ IPV6_PRIORITY_UNATTENDED = 0x2000000
16689+ IPV6_PRIORITY_UNCHARACTERIZED = 0x0
16690+ IPV6_RECVDSTOPTS = 0x38
16691+ IPV6_RECVHOPLIMIT = 0x29
16692+ IPV6_RECVHOPOPTS = 0x35
16693+ IPV6_RECVHOPS = 0x22
16694+ IPV6_RECVIF = 0x1e
16695+ IPV6_RECVPATHMTU = 0x2f
16696+ IPV6_RECVPKTINFO = 0x23
16697+ IPV6_RECVRTHDR = 0x33
16698+ IPV6_RECVSRCRT = 0x1d
16699+ IPV6_RECVTCLASS = 0x2a
16700+ IPV6_RTHDR = 0x32
16701+ IPV6_RTHDRDSTOPTS = 0x37
16702+ IPV6_RTHDR_TYPE_0 = 0x0
16703+ IPV6_RTHDR_TYPE_2 = 0x2
16704+ IPV6_SENDIF = 0x1f
16705+ IPV6_SRFLAG_LOOSE = 0x0
16706+ IPV6_SRFLAG_STRICT = 0x10000000
16707+ IPV6_TCLASS = 0x2b
16708+ IPV6_TOKEN_LENGTH = 0x40
16709+ IPV6_UNICAST_HOPS = 0x4
16710+ IPV6_USE_MIN_MTU = 0x2c
16711+ IPV6_V6ONLY = 0x25
16712+ IPV6_VERSION = 0x60000000
16713+ IP_ADDRFORM = 0x16
16714+ IP_ADD_MEMBERSHIP = 0xc
16715+ IP_ADD_SOURCE_MEMBERSHIP = 0x3c
16716+ IP_BLOCK_SOURCE = 0x3a
16717+ IP_BROADCAST_IF = 0x10
16718+ IP_CACHE_LINE_SIZE = 0x80
16719+ IP_DEFAULT_MULTICAST_LOOP = 0x1
16720+ IP_DEFAULT_MULTICAST_TTL = 0x1
16721+ IP_DF = 0x4000
16722+ IP_DHCPMODE = 0x11
16723+ IP_DONTFRAG = 0x19
16724+ IP_DROP_MEMBERSHIP = 0xd
16725+ IP_DROP_SOURCE_MEMBERSHIP = 0x3d
16726+ IP_FINDPMTU = 0x1a
16727+ IP_HDRINCL = 0x2
16728+ IP_INC_MEMBERSHIPS = 0x14
16729+ IP_INIT_MEMBERSHIP = 0x14
16730+ IP_MAXPACKET = 0xffff
16731+ IP_MF = 0x2000
16732+ IP_MSS = 0x240
16733+ IP_MULTICAST_HOPS = 0xa
16734+ IP_MULTICAST_IF = 0x9
16735+ IP_MULTICAST_LOOP = 0xb
16736+ IP_MULTICAST_TTL = 0xa
16737+ IP_OPT = 0x1b
16738+ IP_OPTIONS = 0x1
16739+ IP_PMTUAGE = 0x1b
16740+ IP_RECVDSTADDR = 0x7
16741+ IP_RECVIF = 0x14
16742+ IP_RECVIFINFO = 0xf
16743+ IP_RECVINTERFACE = 0x20
16744+ IP_RECVMACHDR = 0xe
16745+ IP_RECVOPTS = 0x5
16746+ IP_RECVRETOPTS = 0x6
16747+ IP_RECVTTL = 0x22
16748+ IP_RETOPTS = 0x8
16749+ IP_SOURCE_FILTER = 0x48
16750+ IP_TOS = 0x3
16751+ IP_TTL = 0x4
16752+ IP_UNBLOCK_SOURCE = 0x3b
16753+ IP_UNICAST_HOPS = 0x4
16754+ ISIG = 0x1
16755+ ISTRIP = 0x20
16756+ IUCLC = 0x800
16757+ IXANY = 0x1000
16758+ IXOFF = 0x400
16759+ IXON = 0x200
16760+ I_FLUSH = 0x20005305
16761+ LNOFLSH = 0x8000
16762+ LOCK_EX = 0x2
16763+ LOCK_NB = 0x4
16764+ LOCK_SH = 0x1
16765+ LOCK_UN = 0x8
16766+ MADV_DONTNEED = 0x4
16767+ MADV_NORMAL = 0x0
16768+ MADV_RANDOM = 0x1
16769+ MADV_SEQUENTIAL = 0x2
16770+ MADV_SPACEAVAIL = 0x5
16771+ MADV_WILLNEED = 0x3
16772+ MAP_ANON = 0x10
16773+ MAP_ANONYMOUS = 0x10
16774+ MAP_FILE = 0x0
16775+ MAP_FIXED = 0x100
16776+ MAP_PRIVATE = 0x2
16777+ MAP_SHARED = 0x1
16778+ MAP_TYPE = 0xf0
16779+ MAP_VARIABLE = 0x0
16780+ MCAST_BLOCK_SOURCE = 0x40
16781+ MCAST_EXCLUDE = 0x2
16782+ MCAST_INCLUDE = 0x1
16783+ MCAST_JOIN_GROUP = 0x3e
16784+ MCAST_JOIN_SOURCE_GROUP = 0x42
16785+ MCAST_LEAVE_GROUP = 0x3f
16786+ MCAST_LEAVE_SOURCE_GROUP = 0x43
16787+ MCAST_SOURCE_FILTER = 0x49
16788+ MCAST_UNBLOCK_SOURCE = 0x41
16789+ MCL_CURRENT = 0x100
16790+ MCL_FUTURE = 0x200
16791+ MSG_ANY = 0x4
16792+ MSG_ARGEXT = 0x400
16793+ MSG_BAND = 0x2
16794+ MSG_COMPAT = 0x8000
16795+ MSG_CTRUNC = 0x20
16796+ MSG_DONTROUTE = 0x4
16797+ MSG_EOR = 0x8
16798+ MSG_HIPRI = 0x1
16799+ MSG_MAXIOVLEN = 0x10
16800+ MSG_MPEG2 = 0x80
16801+ MSG_NONBLOCK = 0x4000
16802+ MSG_NOSIGNAL = 0x100
16803+ MSG_OOB = 0x1
16804+ MSG_PEEK = 0x2
16805+ MSG_TRUNC = 0x10
16806+ MSG_WAITALL = 0x40
16807+ MSG_WAITFORONE = 0x200
16808+ MS_ASYNC = 0x10
16809+ MS_EINTR = 0x80
16810+ MS_INVALIDATE = 0x40
16811+ MS_PER_SEC = 0x3e8
16812+ MS_SYNC = 0x20
16813+ NFDBITS = 0x40
16814+ NL0 = 0x0
16815+ NL1 = 0x4000
16816+ NL2 = 0x8000
16817+ NL3 = 0xc000
16818+ NLDLY = 0x4000
16819+ NOFLSH = 0x80
16820+ NOFLUSH = 0x80000000
16821+ OCRNL = 0x8
16822+ OFDEL = 0x80
16823+ OFILL = 0x40
16824+ OLCUC = 0x2
16825+ ONLCR = 0x4
16826+ ONLRET = 0x20
16827+ ONOCR = 0x10
16828+ ONOEOT = 0x80000
16829+ OPOST = 0x1
16830+ OXTABS = 0x40000
16831+ O_ACCMODE = 0x23
16832+ O_APPEND = 0x8
16833+ O_CIO = 0x80
16834+ O_CIOR = 0x800000000
16835+ O_CLOEXEC = 0x800000
16836+ O_CREAT = 0x100
16837+ O_DEFER = 0x2000
16838+ O_DELAY = 0x4000
16839+ O_DIRECT = 0x8000000
16840+ O_DIRECTORY = 0x80000
16841+ O_DSYNC = 0x400000
16842+ O_EFSOFF = 0x400000000
16843+ O_EFSON = 0x200000000
16844+ O_EXCL = 0x400
16845+ O_EXEC = 0x20
16846+ O_LARGEFILE = 0x4000000
16847+ O_NDELAY = 0x8000
16848+ O_NOCACHE = 0x100000
16849+ O_NOCTTY = 0x800
16850+ O_NOFOLLOW = 0x1000000
16851+ O_NONBLOCK = 0x4
16852+ O_NONE = 0x3
16853+ O_NSHARE = 0x10000
16854+ O_RAW = 0x100000000
16855+ O_RDONLY = 0x0
16856+ O_RDWR = 0x2
16857+ O_RSHARE = 0x1000
16858+ O_RSYNC = 0x200000
16859+ O_SEARCH = 0x20
16860+ O_SNAPSHOT = 0x40
16861+ O_SYNC = 0x10
16862+ O_TRUNC = 0x200
16863+ O_TTY_INIT = 0x0
16864+ O_WRONLY = 0x1
16865+ PARENB = 0x100
16866+ PAREXT = 0x100000
16867+ PARMRK = 0x8
16868+ PARODD = 0x200
16869+ PENDIN = 0x20000000
16870+ PRIO_PGRP = 0x1
16871+ PRIO_PROCESS = 0x0
16872+ PRIO_USER = 0x2
16873+ PROT_EXEC = 0x4
16874+ PROT_NONE = 0x0
16875+ PROT_READ = 0x1
16876+ PROT_WRITE = 0x2
16877+ PR_64BIT = 0x20
16878+ PR_ADDR = 0x2
16879+ PR_ARGEXT = 0x400
16880+ PR_ATOMIC = 0x1
16881+ PR_CONNREQUIRED = 0x4
16882+ PR_FASTHZ = 0x5
16883+ PR_INP = 0x40
16884+ PR_INTRLEVEL = 0x8000
16885+ PR_MLS = 0x100
16886+ PR_MLS_1_LABEL = 0x200
16887+ PR_NOEOR = 0x4000
16888+ PR_RIGHTS = 0x10
16889+ PR_SLOWHZ = 0x2
16890+ PR_WANTRCVD = 0x8
16891+ RLIMIT_AS = 0x6
16892+ RLIMIT_CORE = 0x4
16893+ RLIMIT_CPU = 0x0
16894+ RLIMIT_DATA = 0x2
16895+ RLIMIT_FSIZE = 0x1
16896+ RLIMIT_NOFILE = 0x7
16897+ RLIMIT_NPROC = 0x9
16898+ RLIMIT_RSS = 0x5
16899+ RLIMIT_STACK = 0x3
16900+ RLIM_INFINITY = 0x7fffffffffffffff
16901+ RTAX_AUTHOR = 0x6
16902+ RTAX_BRD = 0x7
16903+ RTAX_DST = 0x0
16904+ RTAX_GATEWAY = 0x1
16905+ RTAX_GENMASK = 0x3
16906+ RTAX_IFA = 0x5
16907+ RTAX_IFP = 0x4
16908+ RTAX_MAX = 0x8
16909+ RTAX_NETMASK = 0x2
16910+ RTA_AUTHOR = 0x40
16911+ RTA_BRD = 0x80
16912+ RTA_DOWNSTREAM = 0x100
16913+ RTA_DST = 0x1
16914+ RTA_GATEWAY = 0x2
16915+ RTA_GENMASK = 0x8
16916+ RTA_IFA = 0x20
16917+ RTA_IFP = 0x10
16918+ RTA_NETMASK = 0x4
16919+ RTC_IA64 = 0x3
16920+ RTC_POWER = 0x1
16921+ RTC_POWER_PC = 0x2
16922+ RTF_ACTIVE_DGD = 0x1000000
16923+ RTF_BCE = 0x80000
16924+ RTF_BLACKHOLE = 0x1000
16925+ RTF_BROADCAST = 0x400000
16926+ RTF_BUL = 0x2000
16927+ RTF_CLONE = 0x10000
16928+ RTF_CLONED = 0x20000
16929+ RTF_CLONING = 0x100
16930+ RTF_DONE = 0x40
16931+ RTF_DYNAMIC = 0x10
16932+ RTF_FREE_IN_PROG = 0x4000000
16933+ RTF_GATEWAY = 0x2
16934+ RTF_HOST = 0x4
16935+ RTF_LLINFO = 0x400
16936+ RTF_LOCAL = 0x200000
16937+ RTF_MASK = 0x80
16938+ RTF_MODIFIED = 0x20
16939+ RTF_MULTICAST = 0x800000
16940+ RTF_PERMANENT6 = 0x8000000
16941+ RTF_PINNED = 0x100000
16942+ RTF_PROTO1 = 0x8000
16943+ RTF_PROTO2 = 0x4000
16944+ RTF_PROTO3 = 0x40000
16945+ RTF_REJECT = 0x8
16946+ RTF_SMALLMTU = 0x40000
16947+ RTF_STATIC = 0x800
16948+ RTF_STOPSRCH = 0x2000000
16949+ RTF_UNREACHABLE = 0x10000000
16950+ RTF_UP = 0x1
16951+ RTF_XRESOLVE = 0x200
16952+ RTM_ADD = 0x1
16953+ RTM_CHANGE = 0x3
16954+ RTM_DELADDR = 0xd
16955+ RTM_DELETE = 0x2
16956+ RTM_EXPIRE = 0xf
16957+ RTM_GET = 0x4
16958+ RTM_GETNEXT = 0x11
16959+ RTM_IFINFO = 0xe
16960+ RTM_LOCK = 0x8
16961+ RTM_LOSING = 0x5
16962+ RTM_MISS = 0x7
16963+ RTM_NEWADDR = 0xc
16964+ RTM_OLDADD = 0x9
16965+ RTM_OLDDEL = 0xa
16966+ RTM_REDIRECT = 0x6
16967+ RTM_RESOLVE = 0xb
16968+ RTM_RTLOST = 0x10
16969+ RTM_RTTUNIT = 0xf4240
16970+ RTM_SAMEADDR = 0x12
16971+ RTM_SET = 0x13
16972+ RTM_VERSION = 0x2
16973+ RTM_VERSION_GR = 0x4
16974+ RTM_VERSION_GR_COMPAT = 0x3
16975+ RTM_VERSION_POLICY = 0x5
16976+ RTM_VERSION_POLICY_EXT = 0x6
16977+ RTM_VERSION_POLICY_PRFN = 0x7
16978+ RTV_EXPIRE = 0x4
16979+ RTV_HOPCOUNT = 0x2
16980+ RTV_MTU = 0x1
16981+ RTV_RPIPE = 0x8
16982+ RTV_RTT = 0x40
16983+ RTV_RTTVAR = 0x80
16984+ RTV_SPIPE = 0x10
16985+ RTV_SSTHRESH = 0x20
16986+ RUSAGE_CHILDREN = -0x1
16987+ RUSAGE_SELF = 0x0
16988+ RUSAGE_THREAD = 0x1
16989+ SCM_RIGHTS = 0x1
16990+ SHUT_RD = 0x0
16991+ SHUT_RDWR = 0x2
16992+ SHUT_WR = 0x1
16993+ SIGMAX64 = 0xff
16994+ SIGQUEUE_MAX = 0x20
16995+ SIOCADDIFVIPA = 0x20006942
16996+ SIOCADDMTU = -0x7ffb9690
16997+ SIOCADDMULTI = -0x7fdf96cf
16998+ SIOCADDNETID = -0x7fd796a9
16999+ SIOCADDRT = -0x7fc78df6
17000+ SIOCAIFADDR = -0x7fbf96e6
17001+ SIOCATMARK = 0x40047307
17002+ SIOCDARP = -0x7fb396e0
17003+ SIOCDELIFVIPA = 0x20006943
17004+ SIOCDELMTU = -0x7ffb968f
17005+ SIOCDELMULTI = -0x7fdf96ce
17006+ SIOCDELPMTU = -0x7fd78ff6
17007+ SIOCDELRT = -0x7fc78df5
17008+ SIOCDIFADDR = -0x7fd796e7
17009+ SIOCDNETOPT = -0x3ffe9680
17010+ SIOCDX25XLATE = -0x7fd7969b
17011+ SIOCFIFADDR = -0x7fdf966d
17012+ SIOCGARP = -0x3fb396da
17013+ SIOCGETMTUS = 0x2000696f
17014+ SIOCGETSGCNT = -0x3feb8acc
17015+ SIOCGETVIFCNT = -0x3feb8acd
17016+ SIOCGHIWAT = 0x40047301
17017+ SIOCGIFADDR = -0x3fd796df
17018+ SIOCGIFADDRS = 0x2000698c
17019+ SIOCGIFBAUDRATE = -0x3fdf9669
17020+ SIOCGIFBRDADDR = -0x3fd796dd
17021+ SIOCGIFCONF = -0x3fef96bb
17022+ SIOCGIFCONFGLOB = -0x3fef9670
17023+ SIOCGIFDSTADDR = -0x3fd796de
17024+ SIOCGIFFLAGS = -0x3fd796ef
17025+ SIOCGIFGIDLIST = 0x20006968
17026+ SIOCGIFHWADDR = -0x3fab966b
17027+ SIOCGIFMETRIC = -0x3fd796e9
17028+ SIOCGIFMTU = -0x3fd796aa
17029+ SIOCGIFNETMASK = -0x3fd796db
17030+ SIOCGIFOPTIONS = -0x3fd796d6
17031+ SIOCGISNO = -0x3fd79695
17032+ SIOCGLOADF = -0x3ffb967e
17033+ SIOCGLOWAT = 0x40047303
17034+ SIOCGNETOPT = -0x3ffe96a5
17035+ SIOCGNETOPT1 = -0x3fdf967f
17036+ SIOCGNMTUS = 0x2000696e
17037+ SIOCGPGRP = 0x40047309
17038+ SIOCGSIZIFCONF = 0x4004696a
17039+ SIOCGSRCFILTER = -0x3fe796cb
17040+ SIOCGTUNEPHASE = -0x3ffb9676
17041+ SIOCGX25XLATE = -0x3fd7969c
17042+ SIOCIFATTACH = -0x7fdf9699
17043+ SIOCIFDETACH = -0x7fdf969a
17044+ SIOCIFGETPKEY = -0x7fdf969b
17045+ SIOCIF_ATM_DARP = -0x7fdf9683
17046+ SIOCIF_ATM_DUMPARP = -0x7fdf9685
17047+ SIOCIF_ATM_GARP = -0x7fdf9682
17048+ SIOCIF_ATM_IDLE = -0x7fdf9686
17049+ SIOCIF_ATM_SARP = -0x7fdf9681
17050+ SIOCIF_ATM_SNMPARP = -0x7fdf9687
17051+ SIOCIF_ATM_SVC = -0x7fdf9684
17052+ SIOCIF_ATM_UBR = -0x7fdf9688
17053+ SIOCIF_DEVHEALTH = -0x7ffb966c
17054+ SIOCIF_IB_ARP_INCOMP = -0x7fdf9677
17055+ SIOCIF_IB_ARP_TIMER = -0x7fdf9678
17056+ SIOCIF_IB_CLEAR_PINFO = -0x3fdf966f
17057+ SIOCIF_IB_DEL_ARP = -0x7fdf967f
17058+ SIOCIF_IB_DEL_PINFO = -0x3fdf9670
17059+ SIOCIF_IB_DUMP_ARP = -0x7fdf9680
17060+ SIOCIF_IB_GET_ARP = -0x7fdf967e
17061+ SIOCIF_IB_GET_INFO = -0x3f879675
17062+ SIOCIF_IB_GET_STATS = -0x3f879672
17063+ SIOCIF_IB_NOTIFY_ADDR_REM = -0x3f87966a
17064+ SIOCIF_IB_RESET_STATS = -0x3f879671
17065+ SIOCIF_IB_RESIZE_CQ = -0x7fdf9679
17066+ SIOCIF_IB_SET_ARP = -0x7fdf967d
17067+ SIOCIF_IB_SET_PKEY = -0x7fdf967c
17068+ SIOCIF_IB_SET_PORT = -0x7fdf967b
17069+ SIOCIF_IB_SET_QKEY = -0x7fdf9676
17070+ SIOCIF_IB_SET_QSIZE = -0x7fdf967a
17071+ SIOCLISTIFVIPA = 0x20006944
17072+ SIOCSARP = -0x7fb396e2
17073+ SIOCSHIWAT = 0xffffffff80047300
17074+ SIOCSIFADDR = -0x7fd796f4
17075+ SIOCSIFADDRORI = -0x7fdb9673
17076+ SIOCSIFBRDADDR = -0x7fd796ed
17077+ SIOCSIFDSTADDR = -0x7fd796f2
17078+ SIOCSIFFLAGS = -0x7fd796f0
17079+ SIOCSIFGIDLIST = 0x20006969
17080+ SIOCSIFMETRIC = -0x7fd796e8
17081+ SIOCSIFMTU = -0x7fd796a8
17082+ SIOCSIFNETDUMP = -0x7fd796e4
17083+ SIOCSIFNETMASK = -0x7fd796ea
17084+ SIOCSIFOPTIONS = -0x7fd796d7
17085+ SIOCSIFSUBCHAN = -0x7fd796e5
17086+ SIOCSISNO = -0x7fd79694
17087+ SIOCSLOADF = -0x3ffb967d
17088+ SIOCSLOWAT = 0xffffffff80047302
17089+ SIOCSNETOPT = -0x7ffe96a6
17090+ SIOCSPGRP = 0xffffffff80047308
17091+ SIOCSX25XLATE = -0x7fd7969d
17092+ SOCK_CONN_DGRAM = 0x6
17093+ SOCK_DGRAM = 0x2
17094+ SOCK_RAW = 0x3
17095+ SOCK_RDM = 0x4
17096+ SOCK_SEQPACKET = 0x5
17097+ SOCK_STREAM = 0x1
17098+ SOL_SOCKET = 0xffff
17099+ SOMAXCONN = 0x400
17100+ SO_ACCEPTCONN = 0x2
17101+ SO_AUDIT = 0x8000
17102+ SO_BROADCAST = 0x20
17103+ SO_CKSUMRECV = 0x800
17104+ SO_DEBUG = 0x1
17105+ SO_DONTROUTE = 0x10
17106+ SO_ERROR = 0x1007
17107+ SO_KEEPALIVE = 0x8
17108+ SO_KERNACCEPT = 0x2000
17109+ SO_LINGER = 0x80
17110+ SO_NOMULTIPATH = 0x4000
17111+ SO_NOREUSEADDR = 0x1000
17112+ SO_OOBINLINE = 0x100
17113+ SO_PEERID = 0x1009
17114+ SO_RCVBUF = 0x1002
17115+ SO_RCVLOWAT = 0x1004
17116+ SO_RCVTIMEO = 0x1006
17117+ SO_REUSEADDR = 0x4
17118+ SO_REUSEPORT = 0x200
17119+ SO_SNDBUF = 0x1001
17120+ SO_SNDLOWAT = 0x1003
17121+ SO_SNDTIMEO = 0x1005
17122+ SO_TIMESTAMPNS = 0x100a
17123+ SO_TYPE = 0x1008
17124+ SO_USELOOPBACK = 0x40
17125+ SO_USE_IFBUFS = 0x400
17126+ S_BANDURG = 0x400
17127+ S_EMODFMT = 0x3c000000
17128+ S_ENFMT = 0x400
17129+ S_ERROR = 0x100
17130+ S_HANGUP = 0x200
17131+ S_HIPRI = 0x2
17132+ S_ICRYPTO = 0x80000
17133+ S_IEXEC = 0x40
17134+ S_IFBLK = 0x6000
17135+ S_IFCHR = 0x2000
17136+ S_IFDIR = 0x4000
17137+ S_IFIFO = 0x1000
17138+ S_IFJOURNAL = 0x10000
17139+ S_IFLNK = 0xa000
17140+ S_IFMPX = 0x2200
17141+ S_IFMT = 0xf000
17142+ S_IFPDIR = 0x4000000
17143+ S_IFPSDIR = 0x8000000
17144+ S_IFPSSDIR = 0xc000000
17145+ S_IFREG = 0x8000
17146+ S_IFSOCK = 0xc000
17147+ S_IFSYSEA = 0x30000000
17148+ S_INPUT = 0x1
17149+ S_IREAD = 0x100
17150+ S_IRGRP = 0x20
17151+ S_IROTH = 0x4
17152+ S_IRUSR = 0x100
17153+ S_IRWXG = 0x38
17154+ S_IRWXO = 0x7
17155+ S_IRWXU = 0x1c0
17156+ S_ISGID = 0x400
17157+ S_ISUID = 0x800
17158+ S_ISVTX = 0x200
17159+ S_ITCB = 0x1000000
17160+ S_ITP = 0x800000
17161+ S_IWGRP = 0x10
17162+ S_IWOTH = 0x2
17163+ S_IWRITE = 0x80
17164+ S_IWUSR = 0x80
17165+ S_IXACL = 0x2000000
17166+ S_IXATTR = 0x40000
17167+ S_IXGRP = 0x8
17168+ S_IXINTERFACE = 0x100000
17169+ S_IXMOD = 0x40000000
17170+ S_IXOTH = 0x1
17171+ S_IXUSR = 0x40
17172+ S_MSG = 0x8
17173+ S_OUTPUT = 0x4
17174+ S_RDBAND = 0x20
17175+ S_RDNORM = 0x10
17176+ S_RESERVED1 = 0x20000
17177+ S_RESERVED2 = 0x200000
17178+ S_RESERVED3 = 0x400000
17179+ S_RESERVED4 = 0x80000000
17180+ S_RESFMT1 = 0x10000000
17181+ S_RESFMT10 = 0x34000000
17182+ S_RESFMT11 = 0x38000000
17183+ S_RESFMT12 = 0x3c000000
17184+ S_RESFMT2 = 0x14000000
17185+ S_RESFMT3 = 0x18000000
17186+ S_RESFMT4 = 0x1c000000
17187+ S_RESFMT5 = 0x20000000
17188+ S_RESFMT6 = 0x24000000
17189+ S_RESFMT7 = 0x28000000
17190+ S_RESFMT8 = 0x2c000000
17191+ S_WRBAND = 0x80
17192+ S_WRNORM = 0x40
17193+ TAB0 = 0x0
17194+ TAB1 = 0x400
17195+ TAB2 = 0x800
17196+ TAB3 = 0xc00
17197+ TABDLY = 0xc00
17198+ TCFLSH = 0x540c
17199+ TCGETA = 0x5405
17200+ TCGETS = 0x5401
17201+ TCIFLUSH = 0x0
17202+ TCIOFF = 0x2
17203+ TCIOFLUSH = 0x2
17204+ TCION = 0x3
17205+ TCOFLUSH = 0x1
17206+ TCOOFF = 0x0
17207+ TCOON = 0x1
17208+ TCP_24DAYS_WORTH_OF_SLOWTICKS = 0x3f4800
17209+ TCP_ACLADD = 0x23
17210+ TCP_ACLBIND = 0x26
17211+ TCP_ACLCLEAR = 0x22
17212+ TCP_ACLDEL = 0x24
17213+ TCP_ACLDENY = 0x8
17214+ TCP_ACLFLUSH = 0x21
17215+ TCP_ACLGID = 0x1
17216+ TCP_ACLLS = 0x25
17217+ TCP_ACLSUBNET = 0x4
17218+ TCP_ACLUID = 0x2
17219+ TCP_CWND_DF = 0x16
17220+ TCP_CWND_IF = 0x15
17221+ TCP_DELAY_ACK_FIN = 0x2
17222+ TCP_DELAY_ACK_SYN = 0x1
17223+ TCP_FASTNAME = 0x101080a
17224+ TCP_KEEPCNT = 0x13
17225+ TCP_KEEPIDLE = 0x11
17226+ TCP_KEEPINTVL = 0x12
17227+ TCP_LSPRIV = 0x29
17228+ TCP_LUID = 0x20
17229+ TCP_MAXBURST = 0x8
17230+ TCP_MAXDF = 0x64
17231+ TCP_MAXIF = 0x64
17232+ TCP_MAXSEG = 0x2
17233+ TCP_MAXWIN = 0xffff
17234+ TCP_MAXWINDOWSCALE = 0xe
17235+ TCP_MAX_SACK = 0x4
17236+ TCP_MSS = 0x5b4
17237+ TCP_NODELAY = 0x1
17238+ TCP_NODELAYACK = 0x14
17239+ TCP_NOREDUCE_CWND_EXIT_FRXMT = 0x19
17240+ TCP_NOREDUCE_CWND_IN_FRXMT = 0x18
17241+ TCP_NOTENTER_SSTART = 0x17
17242+ TCP_OPT = 0x19
17243+ TCP_RFC1323 = 0x4
17244+ TCP_SETPRIV = 0x27
17245+ TCP_STDURG = 0x10
17246+ TCP_TIMESTAMP_OPTLEN = 0xc
17247+ TCP_UNSETPRIV = 0x28
17248+ TCSAFLUSH = 0x2
17249+ TCSBRK = 0x5409
17250+ TCSETA = 0x5406
17251+ TCSETAF = 0x5408
17252+ TCSETAW = 0x5407
17253+ TCSETS = 0x5402
17254+ TCSETSF = 0x5404
17255+ TCSETSW = 0x5403
17256+ TCXONC = 0x540b
17257+ TIMER_ABSTIME = 0x3e7
17258+ TIMER_MAX = 0x20
17259+ TIOC = 0x5400
17260+ TIOCCBRK = 0x2000747a
17261+ TIOCCDTR = 0x20007478
17262+ TIOCCONS = 0xffffffff80047462
17263+ TIOCEXCL = 0x2000740d
17264+ TIOCFLUSH = 0xffffffff80047410
17265+ TIOCGETC = 0x40067412
17266+ TIOCGETD = 0x40047400
17267+ TIOCGETP = 0x40067408
17268+ TIOCGLTC = 0x40067474
17269+ TIOCGPGRP = 0x40047477
17270+ TIOCGSID = 0x40047448
17271+ TIOCGSIZE = 0x40087468
17272+ TIOCGWINSZ = 0x40087468
17273+ TIOCHPCL = 0x20007402
17274+ TIOCLBIC = 0xffffffff8004747e
17275+ TIOCLBIS = 0xffffffff8004747f
17276+ TIOCLGET = 0x4004747c
17277+ TIOCLSET = 0xffffffff8004747d
17278+ TIOCMBIC = 0xffffffff8004746b
17279+ TIOCMBIS = 0xffffffff8004746c
17280+ TIOCMGET = 0x4004746a
17281+ TIOCMIWAIT = 0xffffffff80047464
17282+ TIOCMODG = 0x40047403
17283+ TIOCMODS = 0xffffffff80047404
17284+ TIOCMSET = 0xffffffff8004746d
17285+ TIOCM_CAR = 0x40
17286+ TIOCM_CD = 0x40
17287+ TIOCM_CTS = 0x20
17288+ TIOCM_DSR = 0x100
17289+ TIOCM_DTR = 0x2
17290+ TIOCM_LE = 0x1
17291+ TIOCM_RI = 0x80
17292+ TIOCM_RNG = 0x80
17293+ TIOCM_RTS = 0x4
17294+ TIOCM_SR = 0x10
17295+ TIOCM_ST = 0x8
17296+ TIOCNOTTY = 0x20007471
17297+ TIOCNXCL = 0x2000740e
17298+ TIOCOUTQ = 0x40047473
17299+ TIOCPKT = 0xffffffff80047470
17300+ TIOCPKT_DATA = 0x0
17301+ TIOCPKT_DOSTOP = 0x20
17302+ TIOCPKT_FLUSHREAD = 0x1
17303+ TIOCPKT_FLUSHWRITE = 0x2
17304+ TIOCPKT_NOSTOP = 0x10
17305+ TIOCPKT_START = 0x8
17306+ TIOCPKT_STOP = 0x4
17307+ TIOCREMOTE = 0xffffffff80047469
17308+ TIOCSBRK = 0x2000747b
17309+ TIOCSDTR = 0x20007479
17310+ TIOCSETC = 0xffffffff80067411
17311+ TIOCSETD = 0xffffffff80047401
17312+ TIOCSETN = 0xffffffff8006740a
17313+ TIOCSETP = 0xffffffff80067409
17314+ TIOCSLTC = 0xffffffff80067475
17315+ TIOCSPGRP = 0xffffffff80047476
17316+ TIOCSSIZE = 0xffffffff80087467
17317+ TIOCSTART = 0x2000746e
17318+ TIOCSTI = 0xffffffff80017472
17319+ TIOCSTOP = 0x2000746f
17320+ TIOCSWINSZ = 0xffffffff80087467
17321+ TIOCUCNTL = 0xffffffff80047466
17322+ TOSTOP = 0x10000
17323+ UTIME_NOW = -0x2
17324+ UTIME_OMIT = -0x3
17325+ VDISCRD = 0xc
17326+ VDSUSP = 0xa
17327+ VEOF = 0x4
17328+ VEOL = 0x5
17329+ VEOL2 = 0x6
17330+ VERASE = 0x2
17331+ VINTR = 0x0
17332+ VKILL = 0x3
17333+ VLNEXT = 0xe
17334+ VMIN = 0x4
17335+ VQUIT = 0x1
17336+ VREPRINT = 0xb
17337+ VSTART = 0x7
17338+ VSTOP = 0x8
17339+ VSTRT = 0x7
17340+ VSUSP = 0x9
17341+ VT0 = 0x0
17342+ VT1 = 0x8000
17343+ VTDELAY = 0x2000
17344+ VTDLY = 0x8000
17345+ VTIME = 0x5
17346+ VWERSE = 0xd
17347+ WPARSTART = 0x1
17348+ WPARSTOP = 0x2
17349+ WPARTTYNAME = "Global"
17350+ XCASE = 0x4
17351+ XTABS = 0xc00
17352+ _FDATAFLUSH = 0x2000000000
17353+)
17354+
17355+// Errors
17356+const (
17357+ E2BIG = syscall.Errno(0x7)
17358+ EACCES = syscall.Errno(0xd)
17359+ EADDRINUSE = syscall.Errno(0x43)
17360+ EADDRNOTAVAIL = syscall.Errno(0x44)
17361+ EAFNOSUPPORT = syscall.Errno(0x42)
17362+ EAGAIN = syscall.Errno(0xb)
17363+ EALREADY = syscall.Errno(0x38)
17364+ EBADF = syscall.Errno(0x9)
17365+ EBADMSG = syscall.Errno(0x78)
17366+ EBUSY = syscall.Errno(0x10)
17367+ ECANCELED = syscall.Errno(0x75)
17368+ ECHILD = syscall.Errno(0xa)
17369+ ECHRNG = syscall.Errno(0x25)
17370+ ECLONEME = syscall.Errno(0x52)
17371+ ECONNABORTED = syscall.Errno(0x48)
17372+ ECONNREFUSED = syscall.Errno(0x4f)
17373+ ECONNRESET = syscall.Errno(0x49)
17374+ ECORRUPT = syscall.Errno(0x59)
17375+ EDEADLK = syscall.Errno(0x2d)
17376+ EDESTADDREQ = syscall.Errno(0x3a)
17377+ EDESTADDRREQ = syscall.Errno(0x3a)
17378+ EDIST = syscall.Errno(0x35)
17379+ EDOM = syscall.Errno(0x21)
17380+ EDQUOT = syscall.Errno(0x58)
17381+ EEXIST = syscall.Errno(0x11)
17382+ EFAULT = syscall.Errno(0xe)
17383+ EFBIG = syscall.Errno(0x1b)
17384+ EFORMAT = syscall.Errno(0x30)
17385+ EHOSTDOWN = syscall.Errno(0x50)
17386+ EHOSTUNREACH = syscall.Errno(0x51)
17387+ EIDRM = syscall.Errno(0x24)
17388+ EILSEQ = syscall.Errno(0x74)
17389+ EINPROGRESS = syscall.Errno(0x37)
17390+ EINTR = syscall.Errno(0x4)
17391+ EINVAL = syscall.Errno(0x16)
17392+ EIO = syscall.Errno(0x5)
17393+ EISCONN = syscall.Errno(0x4b)
17394+ EISDIR = syscall.Errno(0x15)
17395+ EL2HLT = syscall.Errno(0x2c)
17396+ EL2NSYNC = syscall.Errno(0x26)
17397+ EL3HLT = syscall.Errno(0x27)
17398+ EL3RST = syscall.Errno(0x28)
17399+ ELNRNG = syscall.Errno(0x29)
17400+ ELOOP = syscall.Errno(0x55)
17401+ EMEDIA = syscall.Errno(0x6e)
17402+ EMFILE = syscall.Errno(0x18)
17403+ EMLINK = syscall.Errno(0x1f)
17404+ EMSGSIZE = syscall.Errno(0x3b)
17405+ EMULTIHOP = syscall.Errno(0x7d)
17406+ ENAMETOOLONG = syscall.Errno(0x56)
17407+ ENETDOWN = syscall.Errno(0x45)
17408+ ENETRESET = syscall.Errno(0x47)
17409+ ENETUNREACH = syscall.Errno(0x46)
17410+ ENFILE = syscall.Errno(0x17)
17411+ ENOATTR = syscall.Errno(0x70)
17412+ ENOBUFS = syscall.Errno(0x4a)
17413+ ENOCONNECT = syscall.Errno(0x32)
17414+ ENOCSI = syscall.Errno(0x2b)
17415+ ENODATA = syscall.Errno(0x7a)
17416+ ENODEV = syscall.Errno(0x13)
17417+ ENOENT = syscall.Errno(0x2)
17418+ ENOEXEC = syscall.Errno(0x8)
17419+ ENOLCK = syscall.Errno(0x31)
17420+ ENOLINK = syscall.Errno(0x7e)
17421+ ENOMEM = syscall.Errno(0xc)
17422+ ENOMSG = syscall.Errno(0x23)
17423+ ENOPROTOOPT = syscall.Errno(0x3d)
17424+ ENOSPC = syscall.Errno(0x1c)
17425+ ENOSR = syscall.Errno(0x76)
17426+ ENOSTR = syscall.Errno(0x7b)
17427+ ENOSYS = syscall.Errno(0x6d)
17428+ ENOTBLK = syscall.Errno(0xf)
17429+ ENOTCONN = syscall.Errno(0x4c)
17430+ ENOTDIR = syscall.Errno(0x14)
17431+ ENOTEMPTY = syscall.Errno(0x11)
17432+ ENOTREADY = syscall.Errno(0x2e)
17433+ ENOTRECOVERABLE = syscall.Errno(0x5e)
17434+ ENOTRUST = syscall.Errno(0x72)
17435+ ENOTSOCK = syscall.Errno(0x39)
17436+ ENOTSUP = syscall.Errno(0x7c)
17437+ ENOTTY = syscall.Errno(0x19)
17438+ ENXIO = syscall.Errno(0x6)
17439+ EOPNOTSUPP = syscall.Errno(0x40)
17440+ EOVERFLOW = syscall.Errno(0x7f)
17441+ EOWNERDEAD = syscall.Errno(0x5f)
17442+ EPERM = syscall.Errno(0x1)
17443+ EPFNOSUPPORT = syscall.Errno(0x41)
17444+ EPIPE = syscall.Errno(0x20)
17445+ EPROCLIM = syscall.Errno(0x53)
17446+ EPROTO = syscall.Errno(0x79)
17447+ EPROTONOSUPPORT = syscall.Errno(0x3e)
17448+ EPROTOTYPE = syscall.Errno(0x3c)
17449+ ERANGE = syscall.Errno(0x22)
17450+ EREMOTE = syscall.Errno(0x5d)
17451+ ERESTART = syscall.Errno(0x52)
17452+ EROFS = syscall.Errno(0x1e)
17453+ ESAD = syscall.Errno(0x71)
17454+ ESHUTDOWN = syscall.Errno(0x4d)
17455+ ESOCKTNOSUPPORT = syscall.Errno(0x3f)
17456+ ESOFT = syscall.Errno(0x6f)
17457+ ESPIPE = syscall.Errno(0x1d)
17458+ ESRCH = syscall.Errno(0x3)
17459+ ESTALE = syscall.Errno(0x34)
17460+ ESYSERROR = syscall.Errno(0x5a)
17461+ ETIME = syscall.Errno(0x77)
17462+ ETIMEDOUT = syscall.Errno(0x4e)
17463+ ETOOMANYREFS = syscall.Errno(0x73)
17464+ ETXTBSY = syscall.Errno(0x1a)
17465+ EUNATCH = syscall.Errno(0x2a)
17466+ EUSERS = syscall.Errno(0x54)
17467+ EWOULDBLOCK = syscall.Errno(0xb)
17468+ EWRPROTECT = syscall.Errno(0x2f)
17469+ EXDEV = syscall.Errno(0x12)
17470+)
17471+
17472+// Signals
17473+const (
17474+ SIGABRT = syscall.Signal(0x6)
17475+ SIGAIO = syscall.Signal(0x17)
17476+ SIGALRM = syscall.Signal(0xe)
17477+ SIGALRM1 = syscall.Signal(0x26)
17478+ SIGBUS = syscall.Signal(0xa)
17479+ SIGCAPI = syscall.Signal(0x31)
17480+ SIGCHLD = syscall.Signal(0x14)
17481+ SIGCLD = syscall.Signal(0x14)
17482+ SIGCONT = syscall.Signal(0x13)
17483+ SIGCPUFAIL = syscall.Signal(0x3b)
17484+ SIGDANGER = syscall.Signal(0x21)
17485+ SIGEMT = syscall.Signal(0x7)
17486+ SIGFPE = syscall.Signal(0x8)
17487+ SIGGRANT = syscall.Signal(0x3c)
17488+ SIGHUP = syscall.Signal(0x1)
17489+ SIGILL = syscall.Signal(0x4)
17490+ SIGINT = syscall.Signal(0x2)
17491+ SIGIO = syscall.Signal(0x17)
17492+ SIGIOINT = syscall.Signal(0x10)
17493+ SIGIOT = syscall.Signal(0x6)
17494+ SIGKAP = syscall.Signal(0x3c)
17495+ SIGKILL = syscall.Signal(0x9)
17496+ SIGLOST = syscall.Signal(0x6)
17497+ SIGMAX = syscall.Signal(0xff)
17498+ SIGMAX32 = syscall.Signal(0x3f)
17499+ SIGMIGRATE = syscall.Signal(0x23)
17500+ SIGMSG = syscall.Signal(0x1b)
17501+ SIGPIPE = syscall.Signal(0xd)
17502+ SIGPOLL = syscall.Signal(0x17)
17503+ SIGPRE = syscall.Signal(0x24)
17504+ SIGPROF = syscall.Signal(0x20)
17505+ SIGPTY = syscall.Signal(0x17)
17506+ SIGPWR = syscall.Signal(0x1d)
17507+ SIGQUIT = syscall.Signal(0x3)
17508+ SIGRECONFIG = syscall.Signal(0x3a)
17509+ SIGRETRACT = syscall.Signal(0x3d)
17510+ SIGSAK = syscall.Signal(0x3f)
17511+ SIGSEGV = syscall.Signal(0xb)
17512+ SIGSOUND = syscall.Signal(0x3e)
17513+ SIGSTOP = syscall.Signal(0x11)
17514+ SIGSYS = syscall.Signal(0xc)
17515+ SIGSYSERROR = syscall.Signal(0x30)
17516+ SIGTALRM = syscall.Signal(0x26)
17517+ SIGTERM = syscall.Signal(0xf)
17518+ SIGTRAP = syscall.Signal(0x5)
17519+ SIGTSTP = syscall.Signal(0x12)
17520+ SIGTTIN = syscall.Signal(0x15)
17521+ SIGTTOU = syscall.Signal(0x16)
17522+ SIGURG = syscall.Signal(0x10)
17523+ SIGUSR1 = syscall.Signal(0x1e)
17524+ SIGUSR2 = syscall.Signal(0x1f)
17525+ SIGVIRT = syscall.Signal(0x25)
17526+ SIGVTALRM = syscall.Signal(0x22)
17527+ SIGWAITING = syscall.Signal(0x27)
17528+ SIGWINCH = syscall.Signal(0x1c)
17529+ SIGXCPU = syscall.Signal(0x18)
17530+ SIGXFSZ = syscall.Signal(0x19)
17531+)
17532+
17533+// Error table
17534+var errorList = [...]struct {
17535+ num syscall.Errno
17536+ name string
17537+ desc string
17538+}{
17539+ {1, "EPERM", "not owner"},
17540+ {2, "ENOENT", "no such file or directory"},
17541+ {3, "ESRCH", "no such process"},
17542+ {4, "EINTR", "interrupted system call"},
17543+ {5, "EIO", "I/O error"},
17544+ {6, "ENXIO", "no such device or address"},
17545+ {7, "E2BIG", "arg list too long"},
17546+ {8, "ENOEXEC", "exec format error"},
17547+ {9, "EBADF", "bad file number"},
17548+ {10, "ECHILD", "no child processes"},
17549+ {11, "EWOULDBLOCK", "resource temporarily unavailable"},
17550+ {12, "ENOMEM", "not enough space"},
17551+ {13, "EACCES", "permission denied"},
17552+ {14, "EFAULT", "bad address"},
17553+ {15, "ENOTBLK", "block device required"},
17554+ {16, "EBUSY", "device busy"},
17555+ {17, "ENOTEMPTY", "file exists"},
17556+ {18, "EXDEV", "cross-device link"},
17557+ {19, "ENODEV", "no such device"},
17558+ {20, "ENOTDIR", "not a directory"},
17559+ {21, "EISDIR", "is a directory"},
17560+ {22, "EINVAL", "invalid argument"},
17561+ {23, "ENFILE", "file table overflow"},
17562+ {24, "EMFILE", "too many open files"},
17563+ {25, "ENOTTY", "not a typewriter"},
17564+ {26, "ETXTBSY", "text file busy"},
17565+ {27, "EFBIG", "file too large"},
17566+ {28, "ENOSPC", "no space left on device"},
17567+ {29, "ESPIPE", "illegal seek"},
17568+ {30, "EROFS", "read-only file system"},
17569+ {31, "EMLINK", "too many links"},
17570+ {32, "EPIPE", "broken pipe"},
17571+ {33, "EDOM", "argument out of domain"},
17572+ {34, "ERANGE", "result too large"},
17573+ {35, "ENOMSG", "no message of desired type"},
17574+ {36, "EIDRM", "identifier removed"},
17575+ {37, "ECHRNG", "channel number out of range"},
17576+ {38, "EL2NSYNC", "level 2 not synchronized"},
17577+ {39, "EL3HLT", "level 3 halted"},
17578+ {40, "EL3RST", "level 3 reset"},
17579+ {41, "ELNRNG", "link number out of range"},
17580+ {42, "EUNATCH", "protocol driver not attached"},
17581+ {43, "ENOCSI", "no CSI structure available"},
17582+ {44, "EL2HLT", "level 2 halted"},
17583+ {45, "EDEADLK", "deadlock condition if locked"},
17584+ {46, "ENOTREADY", "device not ready"},
17585+ {47, "EWRPROTECT", "write-protected media"},
17586+ {48, "EFORMAT", "unformatted or incompatible media"},
17587+ {49, "ENOLCK", "no locks available"},
17588+ {50, "ENOCONNECT", "cannot Establish Connection"},
17589+ {52, "ESTALE", "missing file or filesystem"},
17590+ {53, "EDIST", "requests blocked by Administrator"},
17591+ {55, "EINPROGRESS", "operation now in progress"},
17592+ {56, "EALREADY", "operation already in progress"},
17593+ {57, "ENOTSOCK", "socket operation on non-socket"},
17594+ {58, "EDESTADDREQ", "destination address required"},
17595+ {59, "EMSGSIZE", "message too long"},
17596+ {60, "EPROTOTYPE", "protocol wrong type for socket"},
17597+ {61, "ENOPROTOOPT", "protocol not available"},
17598+ {62, "EPROTONOSUPPORT", "protocol not supported"},
17599+ {63, "ESOCKTNOSUPPORT", "socket type not supported"},
17600+ {64, "EOPNOTSUPP", "operation not supported on socket"},
17601+ {65, "EPFNOSUPPORT", "protocol family not supported"},
17602+ {66, "EAFNOSUPPORT", "addr family not supported by protocol"},
17603+ {67, "EADDRINUSE", "address already in use"},
17604+ {68, "EADDRNOTAVAIL", "can't assign requested address"},
17605+ {69, "ENETDOWN", "network is down"},
17606+ {70, "ENETUNREACH", "network is unreachable"},
17607+ {71, "ENETRESET", "network dropped connection on reset"},
17608+ {72, "ECONNABORTED", "software caused connection abort"},
17609+ {73, "ECONNRESET", "connection reset by peer"},
17610+ {74, "ENOBUFS", "no buffer space available"},
17611+ {75, "EISCONN", "socket is already connected"},
17612+ {76, "ENOTCONN", "socket is not connected"},
17613+ {77, "ESHUTDOWN", "can't send after socket shutdown"},
17614+ {78, "ETIMEDOUT", "connection timed out"},
17615+ {79, "ECONNREFUSED", "connection refused"},
17616+ {80, "EHOSTDOWN", "host is down"},
17617+ {81, "EHOSTUNREACH", "no route to host"},
17618+ {82, "ERESTART", "restart the system call"},
17619+ {83, "EPROCLIM", "too many processes"},
17620+ {84, "EUSERS", "too many users"},
17621+ {85, "ELOOP", "too many levels of symbolic links"},
17622+ {86, "ENAMETOOLONG", "file name too long"},
17623+ {88, "EDQUOT", "disk quota exceeded"},
17624+ {89, "ECORRUPT", "invalid file system control data detected"},
17625+ {90, "ESYSERROR", "for future use "},
17626+ {93, "EREMOTE", "item is not local to host"},
17627+ {94, "ENOTRECOVERABLE", "state not recoverable "},
17628+ {95, "EOWNERDEAD", "previous owner died "},
17629+ {109, "ENOSYS", "function not implemented"},
17630+ {110, "EMEDIA", "media surface error"},
17631+ {111, "ESOFT", "I/O completed, but needs relocation"},
17632+ {112, "ENOATTR", "no attribute found"},
17633+ {113, "ESAD", "security Authentication Denied"},
17634+ {114, "ENOTRUST", "not a Trusted Program"},
17635+ {115, "ETOOMANYREFS", "too many references: can't splice"},
17636+ {116, "EILSEQ", "invalid wide character"},
17637+ {117, "ECANCELED", "asynchronous I/O cancelled"},
17638+ {118, "ENOSR", "out of STREAMS resources"},
17639+ {119, "ETIME", "system call timed out"},
17640+ {120, "EBADMSG", "next message has wrong type"},
17641+ {121, "EPROTO", "error in protocol"},
17642+ {122, "ENODATA", "no message on stream head read q"},
17643+ {123, "ENOSTR", "fd not associated with a stream"},
17644+ {124, "ENOTSUP", "unsupported attribute value"},
17645+ {125, "EMULTIHOP", "multihop is not allowed"},
17646+ {126, "ENOLINK", "the server link has been severed"},
17647+ {127, "EOVERFLOW", "value too large to be stored in data type"},
17648+}
17649+
17650+// Signal table
17651+var signalList = [...]struct {
17652+ num syscall.Signal
17653+ name string
17654+ desc string
17655+}{
17656+ {1, "SIGHUP", "hangup"},
17657+ {2, "SIGINT", "interrupt"},
17658+ {3, "SIGQUIT", "quit"},
17659+ {4, "SIGILL", "illegal instruction"},
17660+ {5, "SIGTRAP", "trace/BPT trap"},
17661+ {6, "SIGIOT", "IOT/Abort trap"},
17662+ {7, "SIGEMT", "EMT trap"},
17663+ {8, "SIGFPE", "floating point exception"},
17664+ {9, "SIGKILL", "killed"},
17665+ {10, "SIGBUS", "bus error"},
17666+ {11, "SIGSEGV", "segmentation fault"},
17667+ {12, "SIGSYS", "bad system call"},
17668+ {13, "SIGPIPE", "broken pipe"},
17669+ {14, "SIGALRM", "alarm clock"},
17670+ {15, "SIGTERM", "terminated"},
17671+ {16, "SIGURG", "urgent I/O condition"},
17672+ {17, "SIGSTOP", "stopped (signal)"},
17673+ {18, "SIGTSTP", "stopped"},
17674+ {19, "SIGCONT", "continued"},
17675+ {20, "SIGCHLD", "child exited"},
17676+ {21, "SIGTTIN", "stopped (tty input)"},
17677+ {22, "SIGTTOU", "stopped (tty output)"},
17678+ {23, "SIGIO", "I/O possible/complete"},
17679+ {24, "SIGXCPU", "cputime limit exceeded"},
17680+ {25, "SIGXFSZ", "filesize limit exceeded"},
17681+ {27, "SIGMSG", "input device data"},
17682+ {28, "SIGWINCH", "window size changes"},
17683+ {29, "SIGPWR", "power-failure"},
17684+ {30, "SIGUSR1", "user defined signal 1"},
17685+ {31, "SIGUSR2", "user defined signal 2"},
17686+ {32, "SIGPROF", "profiling timer expired"},
17687+ {33, "SIGDANGER", "paging space low"},
17688+ {34, "SIGVTALRM", "virtual timer expired"},
17689+ {35, "SIGMIGRATE", "signal 35"},
17690+ {36, "SIGPRE", "signal 36"},
17691+ {37, "SIGVIRT", "signal 37"},
17692+ {38, "SIGTALRM", "signal 38"},
17693+ {39, "SIGWAITING", "signal 39"},
17694+ {48, "SIGSYSERROR", "signal 48"},
17695+ {49, "SIGCAPI", "signal 49"},
17696+ {58, "SIGRECONFIG", "signal 58"},
17697+ {59, "SIGCPUFAIL", "CPU Failure Predicted"},
17698+ {60, "SIGGRANT", "monitor mode granted"},
17699+ {61, "SIGRETRACT", "monitor mode retracted"},
17700+ {62, "SIGSOUND", "sound completed"},
17701+ {63, "SIGMAX32", "secure attention"},
17702+ {255, "SIGMAX", "signal 255"},
17703+}
17704diff --git a/vendor/golang.org/x/sys/unix/zerrors_darwin_386.go b/vendor/golang.org/x/sys/unix/zerrors_darwin_386.go
17705index 1c68758b..6217cdba 100644
17706--- a/vendor/golang.org/x/sys/unix/zerrors_darwin_386.go
17707+++ b/vendor/golang.org/x/sys/unix/zerrors_darwin_386.go
17708@@ -3,7 +3,7 @@
17709
17710 // +build 386,darwin
17711
17712-// Created by cgo -godefs - DO NOT EDIT
17713+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
17714 // cgo -godefs -- -m32 _const.go
17715
17716 package unix
17717@@ -49,6 +49,86 @@ const (
17718 AF_UNSPEC = 0x0
17719 AF_UTUN = 0x26
17720 ALTWERASE = 0x200
17721+ ATTR_BIT_MAP_COUNT = 0x5
17722+ ATTR_CMN_ACCESSMASK = 0x20000
17723+ ATTR_CMN_ACCTIME = 0x1000
17724+ ATTR_CMN_ADDEDTIME = 0x10000000
17725+ ATTR_CMN_BKUPTIME = 0x2000
17726+ ATTR_CMN_CHGTIME = 0x800
17727+ ATTR_CMN_CRTIME = 0x200
17728+ ATTR_CMN_DATA_PROTECT_FLAGS = 0x40000000
17729+ ATTR_CMN_DEVID = 0x2
17730+ ATTR_CMN_DOCUMENT_ID = 0x100000
17731+ ATTR_CMN_ERROR = 0x20000000
17732+ ATTR_CMN_EXTENDED_SECURITY = 0x400000
17733+ ATTR_CMN_FILEID = 0x2000000
17734+ ATTR_CMN_FLAGS = 0x40000
17735+ ATTR_CMN_FNDRINFO = 0x4000
17736+ ATTR_CMN_FSID = 0x4
17737+ ATTR_CMN_FULLPATH = 0x8000000
17738+ ATTR_CMN_GEN_COUNT = 0x80000
17739+ ATTR_CMN_GRPID = 0x10000
17740+ ATTR_CMN_GRPUUID = 0x1000000
17741+ ATTR_CMN_MODTIME = 0x400
17742+ ATTR_CMN_NAME = 0x1
17743+ ATTR_CMN_NAMEDATTRCOUNT = 0x80000
17744+ ATTR_CMN_NAMEDATTRLIST = 0x100000
17745+ ATTR_CMN_OBJID = 0x20
17746+ ATTR_CMN_OBJPERMANENTID = 0x40
17747+ ATTR_CMN_OBJTAG = 0x10
17748+ ATTR_CMN_OBJTYPE = 0x8
17749+ ATTR_CMN_OWNERID = 0x8000
17750+ ATTR_CMN_PARENTID = 0x4000000
17751+ ATTR_CMN_PAROBJID = 0x80
17752+ ATTR_CMN_RETURNED_ATTRS = 0x80000000
17753+ ATTR_CMN_SCRIPT = 0x100
17754+ ATTR_CMN_SETMASK = 0x41c7ff00
17755+ ATTR_CMN_USERACCESS = 0x200000
17756+ ATTR_CMN_UUID = 0x800000
17757+ ATTR_CMN_VALIDMASK = 0xffffffff
17758+ ATTR_CMN_VOLSETMASK = 0x6700
17759+ ATTR_FILE_ALLOCSIZE = 0x4
17760+ ATTR_FILE_CLUMPSIZE = 0x10
17761+ ATTR_FILE_DATAALLOCSIZE = 0x400
17762+ ATTR_FILE_DATAEXTENTS = 0x800
17763+ ATTR_FILE_DATALENGTH = 0x200
17764+ ATTR_FILE_DEVTYPE = 0x20
17765+ ATTR_FILE_FILETYPE = 0x40
17766+ ATTR_FILE_FORKCOUNT = 0x80
17767+ ATTR_FILE_FORKLIST = 0x100
17768+ ATTR_FILE_IOBLOCKSIZE = 0x8
17769+ ATTR_FILE_LINKCOUNT = 0x1
17770+ ATTR_FILE_RSRCALLOCSIZE = 0x2000
17771+ ATTR_FILE_RSRCEXTENTS = 0x4000
17772+ ATTR_FILE_RSRCLENGTH = 0x1000
17773+ ATTR_FILE_SETMASK = 0x20
17774+ ATTR_FILE_TOTALSIZE = 0x2
17775+ ATTR_FILE_VALIDMASK = 0x37ff
17776+ ATTR_VOL_ALLOCATIONCLUMP = 0x40
17777+ ATTR_VOL_ATTRIBUTES = 0x40000000
17778+ ATTR_VOL_CAPABILITIES = 0x20000
17779+ ATTR_VOL_DIRCOUNT = 0x400
17780+ ATTR_VOL_ENCODINGSUSED = 0x10000
17781+ ATTR_VOL_FILECOUNT = 0x200
17782+ ATTR_VOL_FSTYPE = 0x1
17783+ ATTR_VOL_INFO = 0x80000000
17784+ ATTR_VOL_IOBLOCKSIZE = 0x80
17785+ ATTR_VOL_MAXOBJCOUNT = 0x800
17786+ ATTR_VOL_MINALLOCATION = 0x20
17787+ ATTR_VOL_MOUNTEDDEVICE = 0x8000
17788+ ATTR_VOL_MOUNTFLAGS = 0x4000
17789+ ATTR_VOL_MOUNTPOINT = 0x1000
17790+ ATTR_VOL_NAME = 0x2000
17791+ ATTR_VOL_OBJCOUNT = 0x100
17792+ ATTR_VOL_QUOTA_SIZE = 0x10000000
17793+ ATTR_VOL_RESERVED_SIZE = 0x20000000
17794+ ATTR_VOL_SETMASK = 0x80002000
17795+ ATTR_VOL_SIGNATURE = 0x2
17796+ ATTR_VOL_SIZE = 0x4
17797+ ATTR_VOL_SPACEAVAIL = 0x10
17798+ ATTR_VOL_SPACEFREE = 0x8
17799+ ATTR_VOL_UUID = 0x40000
17800+ ATTR_VOL_VALIDMASK = 0xf007ffff
17801 B0 = 0x0
17802 B110 = 0x6e
17803 B115200 = 0x1c200
17804@@ -169,6 +249,8 @@ const (
17805 CSTOP = 0x13
17806 CSTOPB = 0x400
17807 CSUSP = 0x1a
17808+ CTL_HW = 0x6
17809+ CTL_KERN = 0x1
17810 CTL_MAXNAME = 0xc
17811 CTL_NET = 0x4
17812 DLT_A429 = 0xb8
17813@@ -390,6 +472,11 @@ const (
17814 FF1 = 0x4000
17815 FFDLY = 0x4000
17816 FLUSHO = 0x800000
17817+ FSOPT_ATTR_CMN_EXTENDED = 0x20
17818+ FSOPT_NOFOLLOW = 0x1
17819+ FSOPT_NOINMEMUPDATE = 0x2
17820+ FSOPT_PACK_INVAL_ATTRS = 0x8
17821+ FSOPT_REPORT_FULLSIZE = 0x4
17822 F_ADDFILESIGS = 0x3d
17823 F_ADDFILESIGS_FOR_DYLD_SIM = 0x53
17824 F_ADDFILESIGS_RETURN = 0x61
17825@@ -425,6 +512,7 @@ const (
17826 F_PATHPKG_CHECK = 0x34
17827 F_PEOFPOSMODE = 0x3
17828 F_PREALLOCATE = 0x2a
17829+ F_PUNCHHOLE = 0x63
17830 F_RDADVISE = 0x2c
17831 F_RDAHEAD = 0x2d
17832 F_RDLCK = 0x1
17833@@ -441,10 +529,12 @@ const (
17834 F_SINGLE_WRITER = 0x4c
17835 F_THAW_FS = 0x36
17836 F_TRANSCODEKEY = 0x4b
17837+ F_TRIM_ACTIVE_FILE = 0x64
17838 F_UNLCK = 0x2
17839 F_VOLPOSMODE = 0x4
17840 F_WRLCK = 0x3
17841 HUPCL = 0x4000
17842+ HW_MACHINE = 0x1
17843 ICANON = 0x100
17844 ICMP6_FILTER = 0x12
17845 ICRNL = 0x100
17846@@ -681,6 +771,7 @@ const (
17847 IPV6_FAITH = 0x1d
17848 IPV6_FLOWINFO_MASK = 0xffffff0f
17849 IPV6_FLOWLABEL_MASK = 0xffff0f00
17850+ IPV6_FLOW_ECN_MASK = 0x300
17851 IPV6_FRAGTTL = 0x3c
17852 IPV6_FW_ADD = 0x1e
17853 IPV6_FW_DEL = 0x1f
17854@@ -771,6 +862,7 @@ const (
17855 IP_RECVOPTS = 0x5
17856 IP_RECVPKTINFO = 0x1a
17857 IP_RECVRETOPTS = 0x6
17858+ IP_RECVTOS = 0x1b
17859 IP_RECVTTL = 0x18
17860 IP_RETOPTS = 0x8
17861 IP_RF = 0x8000
17862@@ -789,6 +881,10 @@ const (
17863 IXANY = 0x800
17864 IXOFF = 0x400
17865 IXON = 0x200
17866+ KERN_HOSTNAME = 0xa
17867+ KERN_OSRELEASE = 0x2
17868+ KERN_OSTYPE = 0x1
17869+ KERN_VERSION = 0x4
17870 LOCK_EX = 0x2
17871 LOCK_NB = 0x4
17872 LOCK_SH = 0x1
17873@@ -884,6 +980,7 @@ const (
17874 NET_RT_MAXID = 0xa
17875 NET_RT_STAT = 0x4
17876 NET_RT_TRASH = 0x5
17877+ NFDBITS = 0x20
17878 NL0 = 0x0
17879 NL1 = 0x100
17880 NL2 = 0x200
17881@@ -1377,6 +1474,12 @@ const (
17882 WORDSIZE = 0x20
17883 WSTOPPED = 0x8
17884 WUNTRACED = 0x2
17885+ XATTR_CREATE = 0x2
17886+ XATTR_NODEFAULT = 0x10
17887+ XATTR_NOFOLLOW = 0x1
17888+ XATTR_NOSECURITY = 0x8
17889+ XATTR_REPLACE = 0x4
17890+ XATTR_SHOWCOMPRESSION = 0x20
17891 )
17892
17893 // Errors
17894@@ -1528,146 +1631,154 @@ const (
17895 )
17896
17897 // Error table
17898-var errors = [...]string{
17899- 1: "operation not permitted",
17900- 2: "no such file or directory",
17901- 3: "no such process",
17902- 4: "interrupted system call",
17903- 5: "input/output error",
17904- 6: "device not configured",
17905- 7: "argument list too long",
17906- 8: "exec format error",
17907- 9: "bad file descriptor",
17908- 10: "no child processes",
17909- 11: "resource deadlock avoided",
17910- 12: "cannot allocate memory",
17911- 13: "permission denied",
17912- 14: "bad address",
17913- 15: "block device required",
17914- 16: "resource busy",
17915- 17: "file exists",
17916- 18: "cross-device link",
17917- 19: "operation not supported by device",
17918- 20: "not a directory",
17919- 21: "is a directory",
17920- 22: "invalid argument",
17921- 23: "too many open files in system",
17922- 24: "too many open files",
17923- 25: "inappropriate ioctl for device",
17924- 26: "text file busy",
17925- 27: "file too large",
17926- 28: "no space left on device",
17927- 29: "illegal seek",
17928- 30: "read-only file system",
17929- 31: "too many links",
17930- 32: "broken pipe",
17931- 33: "numerical argument out of domain",
17932- 34: "result too large",
17933- 35: "resource temporarily unavailable",
17934- 36: "operation now in progress",
17935- 37: "operation already in progress",
17936- 38: "socket operation on non-socket",
17937- 39: "destination address required",
17938- 40: "message too long",
17939- 41: "protocol wrong type for socket",
17940- 42: "protocol not available",
17941- 43: "protocol not supported",
17942- 44: "socket type not supported",
17943- 45: "operation not supported",
17944- 46: "protocol family not supported",
17945- 47: "address family not supported by protocol family",
17946- 48: "address already in use",
17947- 49: "can't assign requested address",
17948- 50: "network is down",
17949- 51: "network is unreachable",
17950- 52: "network dropped connection on reset",
17951- 53: "software caused connection abort",
17952- 54: "connection reset by peer",
17953- 55: "no buffer space available",
17954- 56: "socket is already connected",
17955- 57: "socket is not connected",
17956- 58: "can't send after socket shutdown",
17957- 59: "too many references: can't splice",
17958- 60: "operation timed out",
17959- 61: "connection refused",
17960- 62: "too many levels of symbolic links",
17961- 63: "file name too long",
17962- 64: "host is down",
17963- 65: "no route to host",
17964- 66: "directory not empty",
17965- 67: "too many processes",
17966- 68: "too many users",
17967- 69: "disc quota exceeded",
17968- 70: "stale NFS file handle",
17969- 71: "too many levels of remote in path",
17970- 72: "RPC struct is bad",
17971- 73: "RPC version wrong",
17972- 74: "RPC prog. not avail",
17973- 75: "program version wrong",
17974- 76: "bad procedure for program",
17975- 77: "no locks available",
17976- 78: "function not implemented",
17977- 79: "inappropriate file type or format",
17978- 80: "authentication error",
17979- 81: "need authenticator",
17980- 82: "device power is off",
17981- 83: "device error",
17982- 84: "value too large to be stored in data type",
17983- 85: "bad executable (or shared library)",
17984- 86: "bad CPU type in executable",
17985- 87: "shared library version mismatch",
17986- 88: "malformed Mach-o file",
17987- 89: "operation canceled",
17988- 90: "identifier removed",
17989- 91: "no message of desired type",
17990- 92: "illegal byte sequence",
17991- 93: "attribute not found",
17992- 94: "bad message",
17993- 95: "EMULTIHOP (Reserved)",
17994- 96: "no message available on STREAM",
17995- 97: "ENOLINK (Reserved)",
17996- 98: "no STREAM resources",
17997- 99: "not a STREAM",
17998- 100: "protocol error",
17999- 101: "STREAM ioctl timeout",
18000- 102: "operation not supported on socket",
18001- 103: "policy not found",
18002- 104: "state not recoverable",
18003- 105: "previous owner died",
18004- 106: "interface output queue is full",
18005+var errorList = [...]struct {
18006+ num syscall.Errno
18007+ name string
18008+ desc string
18009+}{
18010+ {1, "EPERM", "operation not permitted"},
18011+ {2, "ENOENT", "no such file or directory"},
18012+ {3, "ESRCH", "no such process"},
18013+ {4, "EINTR", "interrupted system call"},
18014+ {5, "EIO", "input/output error"},
18015+ {6, "ENXIO", "device not configured"},
18016+ {7, "E2BIG", "argument list too long"},
18017+ {8, "ENOEXEC", "exec format error"},
18018+ {9, "EBADF", "bad file descriptor"},
18019+ {10, "ECHILD", "no child processes"},
18020+ {11, "EDEADLK", "resource deadlock avoided"},
18021+ {12, "ENOMEM", "cannot allocate memory"},
18022+ {13, "EACCES", "permission denied"},
18023+ {14, "EFAULT", "bad address"},
18024+ {15, "ENOTBLK", "block device required"},
18025+ {16, "EBUSY", "resource busy"},
18026+ {17, "EEXIST", "file exists"},
18027+ {18, "EXDEV", "cross-device link"},
18028+ {19, "ENODEV", "operation not supported by device"},
18029+ {20, "ENOTDIR", "not a directory"},
18030+ {21, "EISDIR", "is a directory"},
18031+ {22, "EINVAL", "invalid argument"},
18032+ {23, "ENFILE", "too many open files in system"},
18033+ {24, "EMFILE", "too many open files"},
18034+ {25, "ENOTTY", "inappropriate ioctl for device"},
18035+ {26, "ETXTBSY", "text file busy"},
18036+ {27, "EFBIG", "file too large"},
18037+ {28, "ENOSPC", "no space left on device"},
18038+ {29, "ESPIPE", "illegal seek"},
18039+ {30, "EROFS", "read-only file system"},
18040+ {31, "EMLINK", "too many links"},
18041+ {32, "EPIPE", "broken pipe"},
18042+ {33, "EDOM", "numerical argument out of domain"},
18043+ {34, "ERANGE", "result too large"},
18044+ {35, "EAGAIN", "resource temporarily unavailable"},
18045+ {36, "EINPROGRESS", "operation now in progress"},
18046+ {37, "EALREADY", "operation already in progress"},
18047+ {38, "ENOTSOCK", "socket operation on non-socket"},
18048+ {39, "EDESTADDRREQ", "destination address required"},
18049+ {40, "EMSGSIZE", "message too long"},
18050+ {41, "EPROTOTYPE", "protocol wrong type for socket"},
18051+ {42, "ENOPROTOOPT", "protocol not available"},
18052+ {43, "EPROTONOSUPPORT", "protocol not supported"},
18053+ {44, "ESOCKTNOSUPPORT", "socket type not supported"},
18054+ {45, "ENOTSUP", "operation not supported"},
18055+ {46, "EPFNOSUPPORT", "protocol family not supported"},
18056+ {47, "EAFNOSUPPORT", "address family not supported by protocol family"},
18057+ {48, "EADDRINUSE", "address already in use"},
18058+ {49, "EADDRNOTAVAIL", "can't assign requested address"},
18059+ {50, "ENETDOWN", "network is down"},
18060+ {51, "ENETUNREACH", "network is unreachable"},
18061+ {52, "ENETRESET", "network dropped connection on reset"},
18062+ {53, "ECONNABORTED", "software caused connection abort"},
18063+ {54, "ECONNRESET", "connection reset by peer"},
18064+ {55, "ENOBUFS", "no buffer space available"},
18065+ {56, "EISCONN", "socket is already connected"},
18066+ {57, "ENOTCONN", "socket is not connected"},
18067+ {58, "ESHUTDOWN", "can't send after socket shutdown"},
18068+ {59, "ETOOMANYREFS", "too many references: can't splice"},
18069+ {60, "ETIMEDOUT", "operation timed out"},
18070+ {61, "ECONNREFUSED", "connection refused"},
18071+ {62, "ELOOP", "too many levels of symbolic links"},
18072+ {63, "ENAMETOOLONG", "file name too long"},
18073+ {64, "EHOSTDOWN", "host is down"},
18074+ {65, "EHOSTUNREACH", "no route to host"},
18075+ {66, "ENOTEMPTY", "directory not empty"},
18076+ {67, "EPROCLIM", "too many processes"},
18077+ {68, "EUSERS", "too many users"},
18078+ {69, "EDQUOT", "disc quota exceeded"},
18079+ {70, "ESTALE", "stale NFS file handle"},
18080+ {71, "EREMOTE", "too many levels of remote in path"},
18081+ {72, "EBADRPC", "RPC struct is bad"},
18082+ {73, "ERPCMISMATCH", "RPC version wrong"},
18083+ {74, "EPROGUNAVAIL", "RPC prog. not avail"},
18084+ {75, "EPROGMISMATCH", "program version wrong"},
18085+ {76, "EPROCUNAVAIL", "bad procedure for program"},
18086+ {77, "ENOLCK", "no locks available"},
18087+ {78, "ENOSYS", "function not implemented"},
18088+ {79, "EFTYPE", "inappropriate file type or format"},
18089+ {80, "EAUTH", "authentication error"},
18090+ {81, "ENEEDAUTH", "need authenticator"},
18091+ {82, "EPWROFF", "device power is off"},
18092+ {83, "EDEVERR", "device error"},
18093+ {84, "EOVERFLOW", "value too large to be stored in data type"},
18094+ {85, "EBADEXEC", "bad executable (or shared library)"},
18095+ {86, "EBADARCH", "bad CPU type in executable"},
18096+ {87, "ESHLIBVERS", "shared library version mismatch"},
18097+ {88, "EBADMACHO", "malformed Mach-o file"},
18098+ {89, "ECANCELED", "operation canceled"},
18099+ {90, "EIDRM", "identifier removed"},
18100+ {91, "ENOMSG", "no message of desired type"},
18101+ {92, "EILSEQ", "illegal byte sequence"},
18102+ {93, "ENOATTR", "attribute not found"},
18103+ {94, "EBADMSG", "bad message"},
18104+ {95, "EMULTIHOP", "EMULTIHOP (Reserved)"},
18105+ {96, "ENODATA", "no message available on STREAM"},
18106+ {97, "ENOLINK", "ENOLINK (Reserved)"},
18107+ {98, "ENOSR", "no STREAM resources"},
18108+ {99, "ENOSTR", "not a STREAM"},
18109+ {100, "EPROTO", "protocol error"},
18110+ {101, "ETIME", "STREAM ioctl timeout"},
18111+ {102, "EOPNOTSUPP", "operation not supported on socket"},
18112+ {103, "ENOPOLICY", "policy not found"},
18113+ {104, "ENOTRECOVERABLE", "state not recoverable"},
18114+ {105, "EOWNERDEAD", "previous owner died"},
18115+ {106, "EQFULL", "interface output queue is full"},
18116 }
18117
18118 // Signal table
18119-var signals = [...]string{
18120- 1: "hangup",
18121- 2: "interrupt",
18122- 3: "quit",
18123- 4: "illegal instruction",
18124- 5: "trace/BPT trap",
18125- 6: "abort trap",
18126- 7: "EMT trap",
18127- 8: "floating point exception",
18128- 9: "killed",
18129- 10: "bus error",
18130- 11: "segmentation fault",
18131- 12: "bad system call",
18132- 13: "broken pipe",
18133- 14: "alarm clock",
18134- 15: "terminated",
18135- 16: "urgent I/O condition",
18136- 17: "suspended (signal)",
18137- 18: "suspended",
18138- 19: "continued",
18139- 20: "child exited",
18140- 21: "stopped (tty input)",
18141- 22: "stopped (tty output)",
18142- 23: "I/O possible",
18143- 24: "cputime limit exceeded",
18144- 25: "filesize limit exceeded",
18145- 26: "virtual timer expired",
18146- 27: "profiling timer expired",
18147- 28: "window size changes",
18148- 29: "information request",
18149- 30: "user defined signal 1",
18150- 31: "user defined signal 2",
18151+var signalList = [...]struct {
18152+ num syscall.Signal
18153+ name string
18154+ desc string
18155+}{
18156+ {1, "SIGHUP", "hangup"},
18157+ {2, "SIGINT", "interrupt"},
18158+ {3, "SIGQUIT", "quit"},
18159+ {4, "SIGILL", "illegal instruction"},
18160+ {5, "SIGTRAP", "trace/BPT trap"},
18161+ {6, "SIGABRT", "abort trap"},
18162+ {7, "SIGEMT", "EMT trap"},
18163+ {8, "SIGFPE", "floating point exception"},
18164+ {9, "SIGKILL", "killed"},
18165+ {10, "SIGBUS", "bus error"},
18166+ {11, "SIGSEGV", "segmentation fault"},
18167+ {12, "SIGSYS", "bad system call"},
18168+ {13, "SIGPIPE", "broken pipe"},
18169+ {14, "SIGALRM", "alarm clock"},
18170+ {15, "SIGTERM", "terminated"},
18171+ {16, "SIGURG", "urgent I/O condition"},
18172+ {17, "SIGSTOP", "suspended (signal)"},
18173+ {18, "SIGTSTP", "suspended"},
18174+ {19, "SIGCONT", "continued"},
18175+ {20, "SIGCHLD", "child exited"},
18176+ {21, "SIGTTIN", "stopped (tty input)"},
18177+ {22, "SIGTTOU", "stopped (tty output)"},
18178+ {23, "SIGIO", "I/O possible"},
18179+ {24, "SIGXCPU", "cputime limit exceeded"},
18180+ {25, "SIGXFSZ", "filesize limit exceeded"},
18181+ {26, "SIGVTALRM", "virtual timer expired"},
18182+ {27, "SIGPROF", "profiling timer expired"},
18183+ {28, "SIGWINCH", "window size changes"},
18184+ {29, "SIGINFO", "information request"},
18185+ {30, "SIGUSR1", "user defined signal 1"},
18186+ {31, "SIGUSR2", "user defined signal 2"},
18187 }
18188diff --git a/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go
18189index 48f63d4f..e3ff2ee3 100644
18190--- a/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go
18191+++ b/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go
18192@@ -3,7 +3,7 @@
18193
18194 // +build amd64,darwin
18195
18196-// Created by cgo -godefs - DO NOT EDIT
18197+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
18198 // cgo -godefs -- -m64 _const.go
18199
18200 package unix
18201@@ -49,6 +49,86 @@ const (
18202 AF_UNSPEC = 0x0
18203 AF_UTUN = 0x26
18204 ALTWERASE = 0x200
18205+ ATTR_BIT_MAP_COUNT = 0x5
18206+ ATTR_CMN_ACCESSMASK = 0x20000
18207+ ATTR_CMN_ACCTIME = 0x1000
18208+ ATTR_CMN_ADDEDTIME = 0x10000000
18209+ ATTR_CMN_BKUPTIME = 0x2000
18210+ ATTR_CMN_CHGTIME = 0x800
18211+ ATTR_CMN_CRTIME = 0x200
18212+ ATTR_CMN_DATA_PROTECT_FLAGS = 0x40000000
18213+ ATTR_CMN_DEVID = 0x2
18214+ ATTR_CMN_DOCUMENT_ID = 0x100000
18215+ ATTR_CMN_ERROR = 0x20000000
18216+ ATTR_CMN_EXTENDED_SECURITY = 0x400000
18217+ ATTR_CMN_FILEID = 0x2000000
18218+ ATTR_CMN_FLAGS = 0x40000
18219+ ATTR_CMN_FNDRINFO = 0x4000
18220+ ATTR_CMN_FSID = 0x4
18221+ ATTR_CMN_FULLPATH = 0x8000000
18222+ ATTR_CMN_GEN_COUNT = 0x80000
18223+ ATTR_CMN_GRPID = 0x10000
18224+ ATTR_CMN_GRPUUID = 0x1000000
18225+ ATTR_CMN_MODTIME = 0x400
18226+ ATTR_CMN_NAME = 0x1
18227+ ATTR_CMN_NAMEDATTRCOUNT = 0x80000
18228+ ATTR_CMN_NAMEDATTRLIST = 0x100000
18229+ ATTR_CMN_OBJID = 0x20
18230+ ATTR_CMN_OBJPERMANENTID = 0x40
18231+ ATTR_CMN_OBJTAG = 0x10
18232+ ATTR_CMN_OBJTYPE = 0x8
18233+ ATTR_CMN_OWNERID = 0x8000
18234+ ATTR_CMN_PARENTID = 0x4000000
18235+ ATTR_CMN_PAROBJID = 0x80
18236+ ATTR_CMN_RETURNED_ATTRS = 0x80000000
18237+ ATTR_CMN_SCRIPT = 0x100
18238+ ATTR_CMN_SETMASK = 0x41c7ff00
18239+ ATTR_CMN_USERACCESS = 0x200000
18240+ ATTR_CMN_UUID = 0x800000
18241+ ATTR_CMN_VALIDMASK = 0xffffffff
18242+ ATTR_CMN_VOLSETMASK = 0x6700
18243+ ATTR_FILE_ALLOCSIZE = 0x4
18244+ ATTR_FILE_CLUMPSIZE = 0x10
18245+ ATTR_FILE_DATAALLOCSIZE = 0x400
18246+ ATTR_FILE_DATAEXTENTS = 0x800
18247+ ATTR_FILE_DATALENGTH = 0x200
18248+ ATTR_FILE_DEVTYPE = 0x20
18249+ ATTR_FILE_FILETYPE = 0x40
18250+ ATTR_FILE_FORKCOUNT = 0x80
18251+ ATTR_FILE_FORKLIST = 0x100
18252+ ATTR_FILE_IOBLOCKSIZE = 0x8
18253+ ATTR_FILE_LINKCOUNT = 0x1
18254+ ATTR_FILE_RSRCALLOCSIZE = 0x2000
18255+ ATTR_FILE_RSRCEXTENTS = 0x4000
18256+ ATTR_FILE_RSRCLENGTH = 0x1000
18257+ ATTR_FILE_SETMASK = 0x20
18258+ ATTR_FILE_TOTALSIZE = 0x2
18259+ ATTR_FILE_VALIDMASK = 0x37ff
18260+ ATTR_VOL_ALLOCATIONCLUMP = 0x40
18261+ ATTR_VOL_ATTRIBUTES = 0x40000000
18262+ ATTR_VOL_CAPABILITIES = 0x20000
18263+ ATTR_VOL_DIRCOUNT = 0x400
18264+ ATTR_VOL_ENCODINGSUSED = 0x10000
18265+ ATTR_VOL_FILECOUNT = 0x200
18266+ ATTR_VOL_FSTYPE = 0x1
18267+ ATTR_VOL_INFO = 0x80000000
18268+ ATTR_VOL_IOBLOCKSIZE = 0x80
18269+ ATTR_VOL_MAXOBJCOUNT = 0x800
18270+ ATTR_VOL_MINALLOCATION = 0x20
18271+ ATTR_VOL_MOUNTEDDEVICE = 0x8000
18272+ ATTR_VOL_MOUNTFLAGS = 0x4000
18273+ ATTR_VOL_MOUNTPOINT = 0x1000
18274+ ATTR_VOL_NAME = 0x2000
18275+ ATTR_VOL_OBJCOUNT = 0x100
18276+ ATTR_VOL_QUOTA_SIZE = 0x10000000
18277+ ATTR_VOL_RESERVED_SIZE = 0x20000000
18278+ ATTR_VOL_SETMASK = 0x80002000
18279+ ATTR_VOL_SIGNATURE = 0x2
18280+ ATTR_VOL_SIZE = 0x4
18281+ ATTR_VOL_SPACEAVAIL = 0x10
18282+ ATTR_VOL_SPACEFREE = 0x8
18283+ ATTR_VOL_UUID = 0x40000
18284+ ATTR_VOL_VALIDMASK = 0xf007ffff
18285 B0 = 0x0
18286 B110 = 0x6e
18287 B115200 = 0x1c200
18288@@ -169,6 +249,8 @@ const (
18289 CSTOP = 0x13
18290 CSTOPB = 0x400
18291 CSUSP = 0x1a
18292+ CTL_HW = 0x6
18293+ CTL_KERN = 0x1
18294 CTL_MAXNAME = 0xc
18295 CTL_NET = 0x4
18296 DLT_A429 = 0xb8
18297@@ -390,6 +472,11 @@ const (
18298 FF1 = 0x4000
18299 FFDLY = 0x4000
18300 FLUSHO = 0x800000
18301+ FSOPT_ATTR_CMN_EXTENDED = 0x20
18302+ FSOPT_NOFOLLOW = 0x1
18303+ FSOPT_NOINMEMUPDATE = 0x2
18304+ FSOPT_PACK_INVAL_ATTRS = 0x8
18305+ FSOPT_REPORT_FULLSIZE = 0x4
18306 F_ADDFILESIGS = 0x3d
18307 F_ADDFILESIGS_FOR_DYLD_SIM = 0x53
18308 F_ADDFILESIGS_RETURN = 0x61
18309@@ -425,6 +512,7 @@ const (
18310 F_PATHPKG_CHECK = 0x34
18311 F_PEOFPOSMODE = 0x3
18312 F_PREALLOCATE = 0x2a
18313+ F_PUNCHHOLE = 0x63
18314 F_RDADVISE = 0x2c
18315 F_RDAHEAD = 0x2d
18316 F_RDLCK = 0x1
18317@@ -441,10 +529,12 @@ const (
18318 F_SINGLE_WRITER = 0x4c
18319 F_THAW_FS = 0x36
18320 F_TRANSCODEKEY = 0x4b
18321+ F_TRIM_ACTIVE_FILE = 0x64
18322 F_UNLCK = 0x2
18323 F_VOLPOSMODE = 0x4
18324 F_WRLCK = 0x3
18325 HUPCL = 0x4000
18326+ HW_MACHINE = 0x1
18327 ICANON = 0x100
18328 ICMP6_FILTER = 0x12
18329 ICRNL = 0x100
18330@@ -681,6 +771,7 @@ const (
18331 IPV6_FAITH = 0x1d
18332 IPV6_FLOWINFO_MASK = 0xffffff0f
18333 IPV6_FLOWLABEL_MASK = 0xffff0f00
18334+ IPV6_FLOW_ECN_MASK = 0x300
18335 IPV6_FRAGTTL = 0x3c
18336 IPV6_FW_ADD = 0x1e
18337 IPV6_FW_DEL = 0x1f
18338@@ -771,6 +862,7 @@ const (
18339 IP_RECVOPTS = 0x5
18340 IP_RECVPKTINFO = 0x1a
18341 IP_RECVRETOPTS = 0x6
18342+ IP_RECVTOS = 0x1b
18343 IP_RECVTTL = 0x18
18344 IP_RETOPTS = 0x8
18345 IP_RF = 0x8000
18346@@ -789,6 +881,10 @@ const (
18347 IXANY = 0x800
18348 IXOFF = 0x400
18349 IXON = 0x200
18350+ KERN_HOSTNAME = 0xa
18351+ KERN_OSRELEASE = 0x2
18352+ KERN_OSTYPE = 0x1
18353+ KERN_VERSION = 0x4
18354 LOCK_EX = 0x2
18355 LOCK_NB = 0x4
18356 LOCK_SH = 0x1
18357@@ -884,6 +980,7 @@ const (
18358 NET_RT_MAXID = 0xa
18359 NET_RT_STAT = 0x4
18360 NET_RT_TRASH = 0x5
18361+ NFDBITS = 0x20
18362 NL0 = 0x0
18363 NL1 = 0x100
18364 NL2 = 0x200
18365@@ -1377,6 +1474,12 @@ const (
18366 WORDSIZE = 0x40
18367 WSTOPPED = 0x8
18368 WUNTRACED = 0x2
18369+ XATTR_CREATE = 0x2
18370+ XATTR_NODEFAULT = 0x10
18371+ XATTR_NOFOLLOW = 0x1
18372+ XATTR_NOSECURITY = 0x8
18373+ XATTR_REPLACE = 0x4
18374+ XATTR_SHOWCOMPRESSION = 0x20
18375 )
18376
18377 // Errors
18378@@ -1528,146 +1631,154 @@ const (
18379 )
18380
18381 // Error table
18382-var errors = [...]string{
18383- 1: "operation not permitted",
18384- 2: "no such file or directory",
18385- 3: "no such process",
18386- 4: "interrupted system call",
18387- 5: "input/output error",
18388- 6: "device not configured",
18389- 7: "argument list too long",
18390- 8: "exec format error",
18391- 9: "bad file descriptor",
18392- 10: "no child processes",
18393- 11: "resource deadlock avoided",
18394- 12: "cannot allocate memory",
18395- 13: "permission denied",
18396- 14: "bad address",
18397- 15: "block device required",
18398- 16: "resource busy",
18399- 17: "file exists",
18400- 18: "cross-device link",
18401- 19: "operation not supported by device",
18402- 20: "not a directory",
18403- 21: "is a directory",
18404- 22: "invalid argument",
18405- 23: "too many open files in system",
18406- 24: "too many open files",
18407- 25: "inappropriate ioctl for device",
18408- 26: "text file busy",
18409- 27: "file too large",
18410- 28: "no space left on device",
18411- 29: "illegal seek",
18412- 30: "read-only file system",
18413- 31: "too many links",
18414- 32: "broken pipe",
18415- 33: "numerical argument out of domain",
18416- 34: "result too large",
18417- 35: "resource temporarily unavailable",
18418- 36: "operation now in progress",
18419- 37: "operation already in progress",
18420- 38: "socket operation on non-socket",
18421- 39: "destination address required",
18422- 40: "message too long",
18423- 41: "protocol wrong type for socket",
18424- 42: "protocol not available",
18425- 43: "protocol not supported",
18426- 44: "socket type not supported",
18427- 45: "operation not supported",
18428- 46: "protocol family not supported",
18429- 47: "address family not supported by protocol family",
18430- 48: "address already in use",
18431- 49: "can't assign requested address",
18432- 50: "network is down",
18433- 51: "network is unreachable",
18434- 52: "network dropped connection on reset",
18435- 53: "software caused connection abort",
18436- 54: "connection reset by peer",
18437- 55: "no buffer space available",
18438- 56: "socket is already connected",
18439- 57: "socket is not connected",
18440- 58: "can't send after socket shutdown",
18441- 59: "too many references: can't splice",
18442- 60: "operation timed out",
18443- 61: "connection refused",
18444- 62: "too many levels of symbolic links",
18445- 63: "file name too long",
18446- 64: "host is down",
18447- 65: "no route to host",
18448- 66: "directory not empty",
18449- 67: "too many processes",
18450- 68: "too many users",
18451- 69: "disc quota exceeded",
18452- 70: "stale NFS file handle",
18453- 71: "too many levels of remote in path",
18454- 72: "RPC struct is bad",
18455- 73: "RPC version wrong",
18456- 74: "RPC prog. not avail",
18457- 75: "program version wrong",
18458- 76: "bad procedure for program",
18459- 77: "no locks available",
18460- 78: "function not implemented",
18461- 79: "inappropriate file type or format",
18462- 80: "authentication error",
18463- 81: "need authenticator",
18464- 82: "device power is off",
18465- 83: "device error",
18466- 84: "value too large to be stored in data type",
18467- 85: "bad executable (or shared library)",
18468- 86: "bad CPU type in executable",
18469- 87: "shared library version mismatch",
18470- 88: "malformed Mach-o file",
18471- 89: "operation canceled",
18472- 90: "identifier removed",
18473- 91: "no message of desired type",
18474- 92: "illegal byte sequence",
18475- 93: "attribute not found",
18476- 94: "bad message",
18477- 95: "EMULTIHOP (Reserved)",
18478- 96: "no message available on STREAM",
18479- 97: "ENOLINK (Reserved)",
18480- 98: "no STREAM resources",
18481- 99: "not a STREAM",
18482- 100: "protocol error",
18483- 101: "STREAM ioctl timeout",
18484- 102: "operation not supported on socket",
18485- 103: "policy not found",
18486- 104: "state not recoverable",
18487- 105: "previous owner died",
18488- 106: "interface output queue is full",
18489+var errorList = [...]struct {
18490+ num syscall.Errno
18491+ name string
18492+ desc string
18493+}{
18494+ {1, "EPERM", "operation not permitted"},
18495+ {2, "ENOENT", "no such file or directory"},
18496+ {3, "ESRCH", "no such process"},
18497+ {4, "EINTR", "interrupted system call"},
18498+ {5, "EIO", "input/output error"},
18499+ {6, "ENXIO", "device not configured"},
18500+ {7, "E2BIG", "argument list too long"},
18501+ {8, "ENOEXEC", "exec format error"},
18502+ {9, "EBADF", "bad file descriptor"},
18503+ {10, "ECHILD", "no child processes"},
18504+ {11, "EDEADLK", "resource deadlock avoided"},
18505+ {12, "ENOMEM", "cannot allocate memory"},
18506+ {13, "EACCES", "permission denied"},
18507+ {14, "EFAULT", "bad address"},
18508+ {15, "ENOTBLK", "block device required"},
18509+ {16, "EBUSY", "resource busy"},
18510+ {17, "EEXIST", "file exists"},
18511+ {18, "EXDEV", "cross-device link"},
18512+ {19, "ENODEV", "operation not supported by device"},
18513+ {20, "ENOTDIR", "not a directory"},
18514+ {21, "EISDIR", "is a directory"},
18515+ {22, "EINVAL", "invalid argument"},
18516+ {23, "ENFILE", "too many open files in system"},
18517+ {24, "EMFILE", "too many open files"},
18518+ {25, "ENOTTY", "inappropriate ioctl for device"},
18519+ {26, "ETXTBSY", "text file busy"},
18520+ {27, "EFBIG", "file too large"},
18521+ {28, "ENOSPC", "no space left on device"},
18522+ {29, "ESPIPE", "illegal seek"},
18523+ {30, "EROFS", "read-only file system"},
18524+ {31, "EMLINK", "too many links"},
18525+ {32, "EPIPE", "broken pipe"},
18526+ {33, "EDOM", "numerical argument out of domain"},
18527+ {34, "ERANGE", "result too large"},
18528+ {35, "EAGAIN", "resource temporarily unavailable"},
18529+ {36, "EINPROGRESS", "operation now in progress"},
18530+ {37, "EALREADY", "operation already in progress"},
18531+ {38, "ENOTSOCK", "socket operation on non-socket"},
18532+ {39, "EDESTADDRREQ", "destination address required"},
18533+ {40, "EMSGSIZE", "message too long"},
18534+ {41, "EPROTOTYPE", "protocol wrong type for socket"},
18535+ {42, "ENOPROTOOPT", "protocol not available"},
18536+ {43, "EPROTONOSUPPORT", "protocol not supported"},
18537+ {44, "ESOCKTNOSUPPORT", "socket type not supported"},
18538+ {45, "ENOTSUP", "operation not supported"},
18539+ {46, "EPFNOSUPPORT", "protocol family not supported"},
18540+ {47, "EAFNOSUPPORT", "address family not supported by protocol family"},
18541+ {48, "EADDRINUSE", "address already in use"},
18542+ {49, "EADDRNOTAVAIL", "can't assign requested address"},
18543+ {50, "ENETDOWN", "network is down"},
18544+ {51, "ENETUNREACH", "network is unreachable"},
18545+ {52, "ENETRESET", "network dropped connection on reset"},
18546+ {53, "ECONNABORTED", "software caused connection abort"},
18547+ {54, "ECONNRESET", "connection reset by peer"},
18548+ {55, "ENOBUFS", "no buffer space available"},
18549+ {56, "EISCONN", "socket is already connected"},
18550+ {57, "ENOTCONN", "socket is not connected"},
18551+ {58, "ESHUTDOWN", "can't send after socket shutdown"},
18552+ {59, "ETOOMANYREFS", "too many references: can't splice"},
18553+ {60, "ETIMEDOUT", "operation timed out"},
18554+ {61, "ECONNREFUSED", "connection refused"},
18555+ {62, "ELOOP", "too many levels of symbolic links"},
18556+ {63, "ENAMETOOLONG", "file name too long"},
18557+ {64, "EHOSTDOWN", "host is down"},
18558+ {65, "EHOSTUNREACH", "no route to host"},
18559+ {66, "ENOTEMPTY", "directory not empty"},
18560+ {67, "EPROCLIM", "too many processes"},
18561+ {68, "EUSERS", "too many users"},
18562+ {69, "EDQUOT", "disc quota exceeded"},
18563+ {70, "ESTALE", "stale NFS file handle"},
18564+ {71, "EREMOTE", "too many levels of remote in path"},
18565+ {72, "EBADRPC", "RPC struct is bad"},
18566+ {73, "ERPCMISMATCH", "RPC version wrong"},
18567+ {74, "EPROGUNAVAIL", "RPC prog. not avail"},
18568+ {75, "EPROGMISMATCH", "program version wrong"},
18569+ {76, "EPROCUNAVAIL", "bad procedure for program"},
18570+ {77, "ENOLCK", "no locks available"},
18571+ {78, "ENOSYS", "function not implemented"},
18572+ {79, "EFTYPE", "inappropriate file type or format"},
18573+ {80, "EAUTH", "authentication error"},
18574+ {81, "ENEEDAUTH", "need authenticator"},
18575+ {82, "EPWROFF", "device power is off"},
18576+ {83, "EDEVERR", "device error"},
18577+ {84, "EOVERFLOW", "value too large to be stored in data type"},
18578+ {85, "EBADEXEC", "bad executable (or shared library)"},
18579+ {86, "EBADARCH", "bad CPU type in executable"},
18580+ {87, "ESHLIBVERS", "shared library version mismatch"},
18581+ {88, "EBADMACHO", "malformed Mach-o file"},
18582+ {89, "ECANCELED", "operation canceled"},
18583+ {90, "EIDRM", "identifier removed"},
18584+ {91, "ENOMSG", "no message of desired type"},
18585+ {92, "EILSEQ", "illegal byte sequence"},
18586+ {93, "ENOATTR", "attribute not found"},
18587+ {94, "EBADMSG", "bad message"},
18588+ {95, "EMULTIHOP", "EMULTIHOP (Reserved)"},
18589+ {96, "ENODATA", "no message available on STREAM"},
18590+ {97, "ENOLINK", "ENOLINK (Reserved)"},
18591+ {98, "ENOSR", "no STREAM resources"},
18592+ {99, "ENOSTR", "not a STREAM"},
18593+ {100, "EPROTO", "protocol error"},
18594+ {101, "ETIME", "STREAM ioctl timeout"},
18595+ {102, "EOPNOTSUPP", "operation not supported on socket"},
18596+ {103, "ENOPOLICY", "policy not found"},
18597+ {104, "ENOTRECOVERABLE", "state not recoverable"},
18598+ {105, "EOWNERDEAD", "previous owner died"},
18599+ {106, "EQFULL", "interface output queue is full"},
18600 }
18601
18602 // Signal table
18603-var signals = [...]string{
18604- 1: "hangup",
18605- 2: "interrupt",
18606- 3: "quit",
18607- 4: "illegal instruction",
18608- 5: "trace/BPT trap",
18609- 6: "abort trap",
18610- 7: "EMT trap",
18611- 8: "floating point exception",
18612- 9: "killed",
18613- 10: "bus error",
18614- 11: "segmentation fault",
18615- 12: "bad system call",
18616- 13: "broken pipe",
18617- 14: "alarm clock",
18618- 15: "terminated",
18619- 16: "urgent I/O condition",
18620- 17: "suspended (signal)",
18621- 18: "suspended",
18622- 19: "continued",
18623- 20: "child exited",
18624- 21: "stopped (tty input)",
18625- 22: "stopped (tty output)",
18626- 23: "I/O possible",
18627- 24: "cputime limit exceeded",
18628- 25: "filesize limit exceeded",
18629- 26: "virtual timer expired",
18630- 27: "profiling timer expired",
18631- 28: "window size changes",
18632- 29: "information request",
18633- 30: "user defined signal 1",
18634- 31: "user defined signal 2",
18635+var signalList = [...]struct {
18636+ num syscall.Signal
18637+ name string
18638+ desc string
18639+}{
18640+ {1, "SIGHUP", "hangup"},
18641+ {2, "SIGINT", "interrupt"},
18642+ {3, "SIGQUIT", "quit"},
18643+ {4, "SIGILL", "illegal instruction"},
18644+ {5, "SIGTRAP", "trace/BPT trap"},
18645+ {6, "SIGABRT", "abort trap"},
18646+ {7, "SIGEMT", "EMT trap"},
18647+ {8, "SIGFPE", "floating point exception"},
18648+ {9, "SIGKILL", "killed"},
18649+ {10, "SIGBUS", "bus error"},
18650+ {11, "SIGSEGV", "segmentation fault"},
18651+ {12, "SIGSYS", "bad system call"},
18652+ {13, "SIGPIPE", "broken pipe"},
18653+ {14, "SIGALRM", "alarm clock"},
18654+ {15, "SIGTERM", "terminated"},
18655+ {16, "SIGURG", "urgent I/O condition"},
18656+ {17, "SIGSTOP", "suspended (signal)"},
18657+ {18, "SIGTSTP", "suspended"},
18658+ {19, "SIGCONT", "continued"},
18659+ {20, "SIGCHLD", "child exited"},
18660+ {21, "SIGTTIN", "stopped (tty input)"},
18661+ {22, "SIGTTOU", "stopped (tty output)"},
18662+ {23, "SIGIO", "I/O possible"},
18663+ {24, "SIGXCPU", "cputime limit exceeded"},
18664+ {25, "SIGXFSZ", "filesize limit exceeded"},
18665+ {26, "SIGVTALRM", "virtual timer expired"},
18666+ {27, "SIGPROF", "profiling timer expired"},
18667+ {28, "SIGWINCH", "window size changes"},
18668+ {29, "SIGINFO", "information request"},
18669+ {30, "SIGUSR1", "user defined signal 1"},
18670+ {31, "SIGUSR2", "user defined signal 2"},
18671 }
18672diff --git a/vendor/golang.org/x/sys/unix/zerrors_darwin_arm.go b/vendor/golang.org/x/sys/unix/zerrors_darwin_arm.go
18673index 24cb522d..3e417571 100644
18674--- a/vendor/golang.org/x/sys/unix/zerrors_darwin_arm.go
18675+++ b/vendor/golang.org/x/sys/unix/zerrors_darwin_arm.go
18676@@ -3,7 +3,7 @@
18677
18678 // +build arm,darwin
18679
18680-// Created by cgo -godefs - DO NOT EDIT
18681+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
18682 // cgo -godefs -- _const.go
18683
18684 package unix
18685@@ -49,6 +49,86 @@ const (
18686 AF_UNSPEC = 0x0
18687 AF_UTUN = 0x26
18688 ALTWERASE = 0x200
18689+ ATTR_BIT_MAP_COUNT = 0x5
18690+ ATTR_CMN_ACCESSMASK = 0x20000
18691+ ATTR_CMN_ACCTIME = 0x1000
18692+ ATTR_CMN_ADDEDTIME = 0x10000000
18693+ ATTR_CMN_BKUPTIME = 0x2000
18694+ ATTR_CMN_CHGTIME = 0x800
18695+ ATTR_CMN_CRTIME = 0x200
18696+ ATTR_CMN_DATA_PROTECT_FLAGS = 0x40000000
18697+ ATTR_CMN_DEVID = 0x2
18698+ ATTR_CMN_DOCUMENT_ID = 0x100000
18699+ ATTR_CMN_ERROR = 0x20000000
18700+ ATTR_CMN_EXTENDED_SECURITY = 0x400000
18701+ ATTR_CMN_FILEID = 0x2000000
18702+ ATTR_CMN_FLAGS = 0x40000
18703+ ATTR_CMN_FNDRINFO = 0x4000
18704+ ATTR_CMN_FSID = 0x4
18705+ ATTR_CMN_FULLPATH = 0x8000000
18706+ ATTR_CMN_GEN_COUNT = 0x80000
18707+ ATTR_CMN_GRPID = 0x10000
18708+ ATTR_CMN_GRPUUID = 0x1000000
18709+ ATTR_CMN_MODTIME = 0x400
18710+ ATTR_CMN_NAME = 0x1
18711+ ATTR_CMN_NAMEDATTRCOUNT = 0x80000
18712+ ATTR_CMN_NAMEDATTRLIST = 0x100000
18713+ ATTR_CMN_OBJID = 0x20
18714+ ATTR_CMN_OBJPERMANENTID = 0x40
18715+ ATTR_CMN_OBJTAG = 0x10
18716+ ATTR_CMN_OBJTYPE = 0x8
18717+ ATTR_CMN_OWNERID = 0x8000
18718+ ATTR_CMN_PARENTID = 0x4000000
18719+ ATTR_CMN_PAROBJID = 0x80
18720+ ATTR_CMN_RETURNED_ATTRS = 0x80000000
18721+ ATTR_CMN_SCRIPT = 0x100
18722+ ATTR_CMN_SETMASK = 0x41c7ff00
18723+ ATTR_CMN_USERACCESS = 0x200000
18724+ ATTR_CMN_UUID = 0x800000
18725+ ATTR_CMN_VALIDMASK = 0xffffffff
18726+ ATTR_CMN_VOLSETMASK = 0x6700
18727+ ATTR_FILE_ALLOCSIZE = 0x4
18728+ ATTR_FILE_CLUMPSIZE = 0x10
18729+ ATTR_FILE_DATAALLOCSIZE = 0x400
18730+ ATTR_FILE_DATAEXTENTS = 0x800
18731+ ATTR_FILE_DATALENGTH = 0x200
18732+ ATTR_FILE_DEVTYPE = 0x20
18733+ ATTR_FILE_FILETYPE = 0x40
18734+ ATTR_FILE_FORKCOUNT = 0x80
18735+ ATTR_FILE_FORKLIST = 0x100
18736+ ATTR_FILE_IOBLOCKSIZE = 0x8
18737+ ATTR_FILE_LINKCOUNT = 0x1
18738+ ATTR_FILE_RSRCALLOCSIZE = 0x2000
18739+ ATTR_FILE_RSRCEXTENTS = 0x4000
18740+ ATTR_FILE_RSRCLENGTH = 0x1000
18741+ ATTR_FILE_SETMASK = 0x20
18742+ ATTR_FILE_TOTALSIZE = 0x2
18743+ ATTR_FILE_VALIDMASK = 0x37ff
18744+ ATTR_VOL_ALLOCATIONCLUMP = 0x40
18745+ ATTR_VOL_ATTRIBUTES = 0x40000000
18746+ ATTR_VOL_CAPABILITIES = 0x20000
18747+ ATTR_VOL_DIRCOUNT = 0x400
18748+ ATTR_VOL_ENCODINGSUSED = 0x10000
18749+ ATTR_VOL_FILECOUNT = 0x200
18750+ ATTR_VOL_FSTYPE = 0x1
18751+ ATTR_VOL_INFO = 0x80000000
18752+ ATTR_VOL_IOBLOCKSIZE = 0x80
18753+ ATTR_VOL_MAXOBJCOUNT = 0x800
18754+ ATTR_VOL_MINALLOCATION = 0x20
18755+ ATTR_VOL_MOUNTEDDEVICE = 0x8000
18756+ ATTR_VOL_MOUNTFLAGS = 0x4000
18757+ ATTR_VOL_MOUNTPOINT = 0x1000
18758+ ATTR_VOL_NAME = 0x2000
18759+ ATTR_VOL_OBJCOUNT = 0x100
18760+ ATTR_VOL_QUOTA_SIZE = 0x10000000
18761+ ATTR_VOL_RESERVED_SIZE = 0x20000000
18762+ ATTR_VOL_SETMASK = 0x80002000
18763+ ATTR_VOL_SIGNATURE = 0x2
18764+ ATTR_VOL_SIZE = 0x4
18765+ ATTR_VOL_SPACEAVAIL = 0x10
18766+ ATTR_VOL_SPACEFREE = 0x8
18767+ ATTR_VOL_UUID = 0x40000
18768+ ATTR_VOL_VALIDMASK = 0xf007ffff
18769 B0 = 0x0
18770 B110 = 0x6e
18771 B115200 = 0x1c200
18772@@ -169,6 +249,8 @@ const (
18773 CSTOP = 0x13
18774 CSTOPB = 0x400
18775 CSUSP = 0x1a
18776+ CTL_HW = 0x6
18777+ CTL_KERN = 0x1
18778 CTL_MAXNAME = 0xc
18779 CTL_NET = 0x4
18780 DLT_A429 = 0xb8
18781@@ -390,6 +472,11 @@ const (
18782 FF1 = 0x4000
18783 FFDLY = 0x4000
18784 FLUSHO = 0x800000
18785+ FSOPT_ATTR_CMN_EXTENDED = 0x20
18786+ FSOPT_NOFOLLOW = 0x1
18787+ FSOPT_NOINMEMUPDATE = 0x2
18788+ FSOPT_PACK_INVAL_ATTRS = 0x8
18789+ FSOPT_REPORT_FULLSIZE = 0x4
18790 F_ADDFILESIGS = 0x3d
18791 F_ADDFILESIGS_FOR_DYLD_SIM = 0x53
18792 F_ADDFILESIGS_RETURN = 0x61
18793@@ -425,6 +512,7 @@ const (
18794 F_PATHPKG_CHECK = 0x34
18795 F_PEOFPOSMODE = 0x3
18796 F_PREALLOCATE = 0x2a
18797+ F_PUNCHHOLE = 0x63
18798 F_RDADVISE = 0x2c
18799 F_RDAHEAD = 0x2d
18800 F_RDLCK = 0x1
18801@@ -441,10 +529,12 @@ const (
18802 F_SINGLE_WRITER = 0x4c
18803 F_THAW_FS = 0x36
18804 F_TRANSCODEKEY = 0x4b
18805+ F_TRIM_ACTIVE_FILE = 0x64
18806 F_UNLCK = 0x2
18807 F_VOLPOSMODE = 0x4
18808 F_WRLCK = 0x3
18809 HUPCL = 0x4000
18810+ HW_MACHINE = 0x1
18811 ICANON = 0x100
18812 ICMP6_FILTER = 0x12
18813 ICRNL = 0x100
18814@@ -681,6 +771,7 @@ const (
18815 IPV6_FAITH = 0x1d
18816 IPV6_FLOWINFO_MASK = 0xffffff0f
18817 IPV6_FLOWLABEL_MASK = 0xffff0f00
18818+ IPV6_FLOW_ECN_MASK = 0x300
18819 IPV6_FRAGTTL = 0x3c
18820 IPV6_FW_ADD = 0x1e
18821 IPV6_FW_DEL = 0x1f
18822@@ -771,6 +862,7 @@ const (
18823 IP_RECVOPTS = 0x5
18824 IP_RECVPKTINFO = 0x1a
18825 IP_RECVRETOPTS = 0x6
18826+ IP_RECVTOS = 0x1b
18827 IP_RECVTTL = 0x18
18828 IP_RETOPTS = 0x8
18829 IP_RF = 0x8000
18830@@ -789,6 +881,10 @@ const (
18831 IXANY = 0x800
18832 IXOFF = 0x400
18833 IXON = 0x200
18834+ KERN_HOSTNAME = 0xa
18835+ KERN_OSRELEASE = 0x2
18836+ KERN_OSTYPE = 0x1
18837+ KERN_VERSION = 0x4
18838 LOCK_EX = 0x2
18839 LOCK_NB = 0x4
18840 LOCK_SH = 0x1
18841@@ -884,6 +980,7 @@ const (
18842 NET_RT_MAXID = 0xa
18843 NET_RT_STAT = 0x4
18844 NET_RT_TRASH = 0x5
18845+ NFDBITS = 0x20
18846 NL0 = 0x0
18847 NL1 = 0x100
18848 NL2 = 0x200
18849@@ -1377,6 +1474,12 @@ const (
18850 WORDSIZE = 0x40
18851 WSTOPPED = 0x8
18852 WUNTRACED = 0x2
18853+ XATTR_CREATE = 0x2
18854+ XATTR_NODEFAULT = 0x10
18855+ XATTR_NOFOLLOW = 0x1
18856+ XATTR_NOSECURITY = 0x8
18857+ XATTR_REPLACE = 0x4
18858+ XATTR_SHOWCOMPRESSION = 0x20
18859 )
18860
18861 // Errors
18862@@ -1528,146 +1631,154 @@ const (
18863 )
18864
18865 // Error table
18866-var errors = [...]string{
18867- 1: "operation not permitted",
18868- 2: "no such file or directory",
18869- 3: "no such process",
18870- 4: "interrupted system call",
18871- 5: "input/output error",
18872- 6: "device not configured",
18873- 7: "argument list too long",
18874- 8: "exec format error",
18875- 9: "bad file descriptor",
18876- 10: "no child processes",
18877- 11: "resource deadlock avoided",
18878- 12: "cannot allocate memory",
18879- 13: "permission denied",
18880- 14: "bad address",
18881- 15: "block device required",
18882- 16: "resource busy",
18883- 17: "file exists",
18884- 18: "cross-device link",
18885- 19: "operation not supported by device",
18886- 20: "not a directory",
18887- 21: "is a directory",
18888- 22: "invalid argument",
18889- 23: "too many open files in system",
18890- 24: "too many open files",
18891- 25: "inappropriate ioctl for device",
18892- 26: "text file busy",
18893- 27: "file too large",
18894- 28: "no space left on device",
18895- 29: "illegal seek",
18896- 30: "read-only file system",
18897- 31: "too many links",
18898- 32: "broken pipe",
18899- 33: "numerical argument out of domain",
18900- 34: "result too large",
18901- 35: "resource temporarily unavailable",
18902- 36: "operation now in progress",
18903- 37: "operation already in progress",
18904- 38: "socket operation on non-socket",
18905- 39: "destination address required",
18906- 40: "message too long",
18907- 41: "protocol wrong type for socket",
18908- 42: "protocol not available",
18909- 43: "protocol not supported",
18910- 44: "socket type not supported",
18911- 45: "operation not supported",
18912- 46: "protocol family not supported",
18913- 47: "address family not supported by protocol family",
18914- 48: "address already in use",
18915- 49: "can't assign requested address",
18916- 50: "network is down",
18917- 51: "network is unreachable",
18918- 52: "network dropped connection on reset",
18919- 53: "software caused connection abort",
18920- 54: "connection reset by peer",
18921- 55: "no buffer space available",
18922- 56: "socket is already connected",
18923- 57: "socket is not connected",
18924- 58: "can't send after socket shutdown",
18925- 59: "too many references: can't splice",
18926- 60: "operation timed out",
18927- 61: "connection refused",
18928- 62: "too many levels of symbolic links",
18929- 63: "file name too long",
18930- 64: "host is down",
18931- 65: "no route to host",
18932- 66: "directory not empty",
18933- 67: "too many processes",
18934- 68: "too many users",
18935- 69: "disc quota exceeded",
18936- 70: "stale NFS file handle",
18937- 71: "too many levels of remote in path",
18938- 72: "RPC struct is bad",
18939- 73: "RPC version wrong",
18940- 74: "RPC prog. not avail",
18941- 75: "program version wrong",
18942- 76: "bad procedure for program",
18943- 77: "no locks available",
18944- 78: "function not implemented",
18945- 79: "inappropriate file type or format",
18946- 80: "authentication error",
18947- 81: "need authenticator",
18948- 82: "device power is off",
18949- 83: "device error",
18950- 84: "value too large to be stored in data type",
18951- 85: "bad executable (or shared library)",
18952- 86: "bad CPU type in executable",
18953- 87: "shared library version mismatch",
18954- 88: "malformed Mach-o file",
18955- 89: "operation canceled",
18956- 90: "identifier removed",
18957- 91: "no message of desired type",
18958- 92: "illegal byte sequence",
18959- 93: "attribute not found",
18960- 94: "bad message",
18961- 95: "EMULTIHOP (Reserved)",
18962- 96: "no message available on STREAM",
18963- 97: "ENOLINK (Reserved)",
18964- 98: "no STREAM resources",
18965- 99: "not a STREAM",
18966- 100: "protocol error",
18967- 101: "STREAM ioctl timeout",
18968- 102: "operation not supported on socket",
18969- 103: "policy not found",
18970- 104: "state not recoverable",
18971- 105: "previous owner died",
18972- 106: "interface output queue is full",
18973+var errorList = [...]struct {
18974+ num syscall.Errno
18975+ name string
18976+ desc string
18977+}{
18978+ {1, "EPERM", "operation not permitted"},
18979+ {2, "ENOENT", "no such file or directory"},
18980+ {3, "ESRCH", "no such process"},
18981+ {4, "EINTR", "interrupted system call"},
18982+ {5, "EIO", "input/output error"},
18983+ {6, "ENXIO", "device not configured"},
18984+ {7, "E2BIG", "argument list too long"},
18985+ {8, "ENOEXEC", "exec format error"},
18986+ {9, "EBADF", "bad file descriptor"},
18987+ {10, "ECHILD", "no child processes"},
18988+ {11, "EDEADLK", "resource deadlock avoided"},
18989+ {12, "ENOMEM", "cannot allocate memory"},
18990+ {13, "EACCES", "permission denied"},
18991+ {14, "EFAULT", "bad address"},
18992+ {15, "ENOTBLK", "block device required"},
18993+ {16, "EBUSY", "resource busy"},
18994+ {17, "EEXIST", "file exists"},
18995+ {18, "EXDEV", "cross-device link"},
18996+ {19, "ENODEV", "operation not supported by device"},
18997+ {20, "ENOTDIR", "not a directory"},
18998+ {21, "EISDIR", "is a directory"},
18999+ {22, "EINVAL", "invalid argument"},
19000+ {23, "ENFILE", "too many open files in system"},
19001+ {24, "EMFILE", "too many open files"},
19002+ {25, "ENOTTY", "inappropriate ioctl for device"},
19003+ {26, "ETXTBSY", "text file busy"},
19004+ {27, "EFBIG", "file too large"},
19005+ {28, "ENOSPC", "no space left on device"},
19006+ {29, "ESPIPE", "illegal seek"},
19007+ {30, "EROFS", "read-only file system"},
19008+ {31, "EMLINK", "too many links"},
19009+ {32, "EPIPE", "broken pipe"},
19010+ {33, "EDOM", "numerical argument out of domain"},
19011+ {34, "ERANGE", "result too large"},
19012+ {35, "EAGAIN", "resource temporarily unavailable"},
19013+ {36, "EINPROGRESS", "operation now in progress"},
19014+ {37, "EALREADY", "operation already in progress"},
19015+ {38, "ENOTSOCK", "socket operation on non-socket"},
19016+ {39, "EDESTADDRREQ", "destination address required"},
19017+ {40, "EMSGSIZE", "message too long"},
19018+ {41, "EPROTOTYPE", "protocol wrong type for socket"},
19019+ {42, "ENOPROTOOPT", "protocol not available"},
19020+ {43, "EPROTONOSUPPORT", "protocol not supported"},
19021+ {44, "ESOCKTNOSUPPORT", "socket type not supported"},
19022+ {45, "ENOTSUP", "operation not supported"},
19023+ {46, "EPFNOSUPPORT", "protocol family not supported"},
19024+ {47, "EAFNOSUPPORT", "address family not supported by protocol family"},
19025+ {48, "EADDRINUSE", "address already in use"},
19026+ {49, "EADDRNOTAVAIL", "can't assign requested address"},
19027+ {50, "ENETDOWN", "network is down"},
19028+ {51, "ENETUNREACH", "network is unreachable"},
19029+ {52, "ENETRESET", "network dropped connection on reset"},
19030+ {53, "ECONNABORTED", "software caused connection abort"},
19031+ {54, "ECONNRESET", "connection reset by peer"},
19032+ {55, "ENOBUFS", "no buffer space available"},
19033+ {56, "EISCONN", "socket is already connected"},
19034+ {57, "ENOTCONN", "socket is not connected"},
19035+ {58, "ESHUTDOWN", "can't send after socket shutdown"},
19036+ {59, "ETOOMANYREFS", "too many references: can't splice"},
19037+ {60, "ETIMEDOUT", "operation timed out"},
19038+ {61, "ECONNREFUSED", "connection refused"},
19039+ {62, "ELOOP", "too many levels of symbolic links"},
19040+ {63, "ENAMETOOLONG", "file name too long"},
19041+ {64, "EHOSTDOWN", "host is down"},
19042+ {65, "EHOSTUNREACH", "no route to host"},
19043+ {66, "ENOTEMPTY", "directory not empty"},
19044+ {67, "EPROCLIM", "too many processes"},
19045+ {68, "EUSERS", "too many users"},
19046+ {69, "EDQUOT", "disc quota exceeded"},
19047+ {70, "ESTALE", "stale NFS file handle"},
19048+ {71, "EREMOTE", "too many levels of remote in path"},
19049+ {72, "EBADRPC", "RPC struct is bad"},
19050+ {73, "ERPCMISMATCH", "RPC version wrong"},
19051+ {74, "EPROGUNAVAIL", "RPC prog. not avail"},
19052+ {75, "EPROGMISMATCH", "program version wrong"},
19053+ {76, "EPROCUNAVAIL", "bad procedure for program"},
19054+ {77, "ENOLCK", "no locks available"},
19055+ {78, "ENOSYS", "function not implemented"},
19056+ {79, "EFTYPE", "inappropriate file type or format"},
19057+ {80, "EAUTH", "authentication error"},
19058+ {81, "ENEEDAUTH", "need authenticator"},
19059+ {82, "EPWROFF", "device power is off"},
19060+ {83, "EDEVERR", "device error"},
19061+ {84, "EOVERFLOW", "value too large to be stored in data type"},
19062+ {85, "EBADEXEC", "bad executable (or shared library)"},
19063+ {86, "EBADARCH", "bad CPU type in executable"},
19064+ {87, "ESHLIBVERS", "shared library version mismatch"},
19065+ {88, "EBADMACHO", "malformed Mach-o file"},
19066+ {89, "ECANCELED", "operation canceled"},
19067+ {90, "EIDRM", "identifier removed"},
19068+ {91, "ENOMSG", "no message of desired type"},
19069+ {92, "EILSEQ", "illegal byte sequence"},
19070+ {93, "ENOATTR", "attribute not found"},
19071+ {94, "EBADMSG", "bad message"},
19072+ {95, "EMULTIHOP", "EMULTIHOP (Reserved)"},
19073+ {96, "ENODATA", "no message available on STREAM"},
19074+ {97, "ENOLINK", "ENOLINK (Reserved)"},
19075+ {98, "ENOSR", "no STREAM resources"},
19076+ {99, "ENOSTR", "not a STREAM"},
19077+ {100, "EPROTO", "protocol error"},
19078+ {101, "ETIME", "STREAM ioctl timeout"},
19079+ {102, "EOPNOTSUPP", "operation not supported on socket"},
19080+ {103, "ENOPOLICY", "policy not found"},
19081+ {104, "ENOTRECOVERABLE", "state not recoverable"},
19082+ {105, "EOWNERDEAD", "previous owner died"},
19083+ {106, "EQFULL", "interface output queue is full"},
19084 }
19085
19086 // Signal table
19087-var signals = [...]string{
19088- 1: "hangup",
19089- 2: "interrupt",
19090- 3: "quit",
19091- 4: "illegal instruction",
19092- 5: "trace/BPT trap",
19093- 6: "abort trap",
19094- 7: "EMT trap",
19095- 8: "floating point exception",
19096- 9: "killed",
19097- 10: "bus error",
19098- 11: "segmentation fault",
19099- 12: "bad system call",
19100- 13: "broken pipe",
19101- 14: "alarm clock",
19102- 15: "terminated",
19103- 16: "urgent I/O condition",
19104- 17: "suspended (signal)",
19105- 18: "suspended",
19106- 19: "continued",
19107- 20: "child exited",
19108- 21: "stopped (tty input)",
19109- 22: "stopped (tty output)",
19110- 23: "I/O possible",
19111- 24: "cputime limit exceeded",
19112- 25: "filesize limit exceeded",
19113- 26: "virtual timer expired",
19114- 27: "profiling timer expired",
19115- 28: "window size changes",
19116- 29: "information request",
19117- 30: "user defined signal 1",
19118- 31: "user defined signal 2",
19119+var signalList = [...]struct {
19120+ num syscall.Signal
19121+ name string
19122+ desc string
19123+}{
19124+ {1, "SIGHUP", "hangup"},
19125+ {2, "SIGINT", "interrupt"},
19126+ {3, "SIGQUIT", "quit"},
19127+ {4, "SIGILL", "illegal instruction"},
19128+ {5, "SIGTRAP", "trace/BPT trap"},
19129+ {6, "SIGABRT", "abort trap"},
19130+ {7, "SIGEMT", "EMT trap"},
19131+ {8, "SIGFPE", "floating point exception"},
19132+ {9, "SIGKILL", "killed"},
19133+ {10, "SIGBUS", "bus error"},
19134+ {11, "SIGSEGV", "segmentation fault"},
19135+ {12, "SIGSYS", "bad system call"},
19136+ {13, "SIGPIPE", "broken pipe"},
19137+ {14, "SIGALRM", "alarm clock"},
19138+ {15, "SIGTERM", "terminated"},
19139+ {16, "SIGURG", "urgent I/O condition"},
19140+ {17, "SIGSTOP", "suspended (signal)"},
19141+ {18, "SIGTSTP", "suspended"},
19142+ {19, "SIGCONT", "continued"},
19143+ {20, "SIGCHLD", "child exited"},
19144+ {21, "SIGTTIN", "stopped (tty input)"},
19145+ {22, "SIGTTOU", "stopped (tty output)"},
19146+ {23, "SIGIO", "I/O possible"},
19147+ {24, "SIGXCPU", "cputime limit exceeded"},
19148+ {25, "SIGXFSZ", "filesize limit exceeded"},
19149+ {26, "SIGVTALRM", "virtual timer expired"},
19150+ {27, "SIGPROF", "profiling timer expired"},
19151+ {28, "SIGWINCH", "window size changes"},
19152+ {29, "SIGINFO", "information request"},
19153+ {30, "SIGUSR1", "user defined signal 1"},
19154+ {31, "SIGUSR2", "user defined signal 2"},
19155 }
19156diff --git a/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go b/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go
19157index cc8cc5b5..cbd8ed18 100644
19158--- a/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go
19159+++ b/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go
19160@@ -3,7 +3,7 @@
19161
19162 // +build arm64,darwin
19163
19164-// Created by cgo -godefs - DO NOT EDIT
19165+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
19166 // cgo -godefs -- -m64 _const.go
19167
19168 package unix
19169@@ -49,6 +49,86 @@ const (
19170 AF_UNSPEC = 0x0
19171 AF_UTUN = 0x26
19172 ALTWERASE = 0x200
19173+ ATTR_BIT_MAP_COUNT = 0x5
19174+ ATTR_CMN_ACCESSMASK = 0x20000
19175+ ATTR_CMN_ACCTIME = 0x1000
19176+ ATTR_CMN_ADDEDTIME = 0x10000000
19177+ ATTR_CMN_BKUPTIME = 0x2000
19178+ ATTR_CMN_CHGTIME = 0x800
19179+ ATTR_CMN_CRTIME = 0x200
19180+ ATTR_CMN_DATA_PROTECT_FLAGS = 0x40000000
19181+ ATTR_CMN_DEVID = 0x2
19182+ ATTR_CMN_DOCUMENT_ID = 0x100000
19183+ ATTR_CMN_ERROR = 0x20000000
19184+ ATTR_CMN_EXTENDED_SECURITY = 0x400000
19185+ ATTR_CMN_FILEID = 0x2000000
19186+ ATTR_CMN_FLAGS = 0x40000
19187+ ATTR_CMN_FNDRINFO = 0x4000
19188+ ATTR_CMN_FSID = 0x4
19189+ ATTR_CMN_FULLPATH = 0x8000000
19190+ ATTR_CMN_GEN_COUNT = 0x80000
19191+ ATTR_CMN_GRPID = 0x10000
19192+ ATTR_CMN_GRPUUID = 0x1000000
19193+ ATTR_CMN_MODTIME = 0x400
19194+ ATTR_CMN_NAME = 0x1
19195+ ATTR_CMN_NAMEDATTRCOUNT = 0x80000
19196+ ATTR_CMN_NAMEDATTRLIST = 0x100000
19197+ ATTR_CMN_OBJID = 0x20
19198+ ATTR_CMN_OBJPERMANENTID = 0x40
19199+ ATTR_CMN_OBJTAG = 0x10
19200+ ATTR_CMN_OBJTYPE = 0x8
19201+ ATTR_CMN_OWNERID = 0x8000
19202+ ATTR_CMN_PARENTID = 0x4000000
19203+ ATTR_CMN_PAROBJID = 0x80
19204+ ATTR_CMN_RETURNED_ATTRS = 0x80000000
19205+ ATTR_CMN_SCRIPT = 0x100
19206+ ATTR_CMN_SETMASK = 0x41c7ff00
19207+ ATTR_CMN_USERACCESS = 0x200000
19208+ ATTR_CMN_UUID = 0x800000
19209+ ATTR_CMN_VALIDMASK = 0xffffffff
19210+ ATTR_CMN_VOLSETMASK = 0x6700
19211+ ATTR_FILE_ALLOCSIZE = 0x4
19212+ ATTR_FILE_CLUMPSIZE = 0x10
19213+ ATTR_FILE_DATAALLOCSIZE = 0x400
19214+ ATTR_FILE_DATAEXTENTS = 0x800
19215+ ATTR_FILE_DATALENGTH = 0x200
19216+ ATTR_FILE_DEVTYPE = 0x20
19217+ ATTR_FILE_FILETYPE = 0x40
19218+ ATTR_FILE_FORKCOUNT = 0x80
19219+ ATTR_FILE_FORKLIST = 0x100
19220+ ATTR_FILE_IOBLOCKSIZE = 0x8
19221+ ATTR_FILE_LINKCOUNT = 0x1
19222+ ATTR_FILE_RSRCALLOCSIZE = 0x2000
19223+ ATTR_FILE_RSRCEXTENTS = 0x4000
19224+ ATTR_FILE_RSRCLENGTH = 0x1000
19225+ ATTR_FILE_SETMASK = 0x20
19226+ ATTR_FILE_TOTALSIZE = 0x2
19227+ ATTR_FILE_VALIDMASK = 0x37ff
19228+ ATTR_VOL_ALLOCATIONCLUMP = 0x40
19229+ ATTR_VOL_ATTRIBUTES = 0x40000000
19230+ ATTR_VOL_CAPABILITIES = 0x20000
19231+ ATTR_VOL_DIRCOUNT = 0x400
19232+ ATTR_VOL_ENCODINGSUSED = 0x10000
19233+ ATTR_VOL_FILECOUNT = 0x200
19234+ ATTR_VOL_FSTYPE = 0x1
19235+ ATTR_VOL_INFO = 0x80000000
19236+ ATTR_VOL_IOBLOCKSIZE = 0x80
19237+ ATTR_VOL_MAXOBJCOUNT = 0x800
19238+ ATTR_VOL_MINALLOCATION = 0x20
19239+ ATTR_VOL_MOUNTEDDEVICE = 0x8000
19240+ ATTR_VOL_MOUNTFLAGS = 0x4000
19241+ ATTR_VOL_MOUNTPOINT = 0x1000
19242+ ATTR_VOL_NAME = 0x2000
19243+ ATTR_VOL_OBJCOUNT = 0x100
19244+ ATTR_VOL_QUOTA_SIZE = 0x10000000
19245+ ATTR_VOL_RESERVED_SIZE = 0x20000000
19246+ ATTR_VOL_SETMASK = 0x80002000
19247+ ATTR_VOL_SIGNATURE = 0x2
19248+ ATTR_VOL_SIZE = 0x4
19249+ ATTR_VOL_SPACEAVAIL = 0x10
19250+ ATTR_VOL_SPACEFREE = 0x8
19251+ ATTR_VOL_UUID = 0x40000
19252+ ATTR_VOL_VALIDMASK = 0xf007ffff
19253 B0 = 0x0
19254 B110 = 0x6e
19255 B115200 = 0x1c200
19256@@ -169,6 +249,8 @@ const (
19257 CSTOP = 0x13
19258 CSTOPB = 0x400
19259 CSUSP = 0x1a
19260+ CTL_HW = 0x6
19261+ CTL_KERN = 0x1
19262 CTL_MAXNAME = 0xc
19263 CTL_NET = 0x4
19264 DLT_A429 = 0xb8
19265@@ -390,6 +472,11 @@ const (
19266 FF1 = 0x4000
19267 FFDLY = 0x4000
19268 FLUSHO = 0x800000
19269+ FSOPT_ATTR_CMN_EXTENDED = 0x20
19270+ FSOPT_NOFOLLOW = 0x1
19271+ FSOPT_NOINMEMUPDATE = 0x2
19272+ FSOPT_PACK_INVAL_ATTRS = 0x8
19273+ FSOPT_REPORT_FULLSIZE = 0x4
19274 F_ADDFILESIGS = 0x3d
19275 F_ADDFILESIGS_FOR_DYLD_SIM = 0x53
19276 F_ADDFILESIGS_RETURN = 0x61
19277@@ -425,6 +512,7 @@ const (
19278 F_PATHPKG_CHECK = 0x34
19279 F_PEOFPOSMODE = 0x3
19280 F_PREALLOCATE = 0x2a
19281+ F_PUNCHHOLE = 0x63
19282 F_RDADVISE = 0x2c
19283 F_RDAHEAD = 0x2d
19284 F_RDLCK = 0x1
19285@@ -441,10 +529,12 @@ const (
19286 F_SINGLE_WRITER = 0x4c
19287 F_THAW_FS = 0x36
19288 F_TRANSCODEKEY = 0x4b
19289+ F_TRIM_ACTIVE_FILE = 0x64
19290 F_UNLCK = 0x2
19291 F_VOLPOSMODE = 0x4
19292 F_WRLCK = 0x3
19293 HUPCL = 0x4000
19294+ HW_MACHINE = 0x1
19295 ICANON = 0x100
19296 ICMP6_FILTER = 0x12
19297 ICRNL = 0x100
19298@@ -681,6 +771,7 @@ const (
19299 IPV6_FAITH = 0x1d
19300 IPV6_FLOWINFO_MASK = 0xffffff0f
19301 IPV6_FLOWLABEL_MASK = 0xffff0f00
19302+ IPV6_FLOW_ECN_MASK = 0x300
19303 IPV6_FRAGTTL = 0x3c
19304 IPV6_FW_ADD = 0x1e
19305 IPV6_FW_DEL = 0x1f
19306@@ -771,6 +862,7 @@ const (
19307 IP_RECVOPTS = 0x5
19308 IP_RECVPKTINFO = 0x1a
19309 IP_RECVRETOPTS = 0x6
19310+ IP_RECVTOS = 0x1b
19311 IP_RECVTTL = 0x18
19312 IP_RETOPTS = 0x8
19313 IP_RF = 0x8000
19314@@ -789,6 +881,10 @@ const (
19315 IXANY = 0x800
19316 IXOFF = 0x400
19317 IXON = 0x200
19318+ KERN_HOSTNAME = 0xa
19319+ KERN_OSRELEASE = 0x2
19320+ KERN_OSTYPE = 0x1
19321+ KERN_VERSION = 0x4
19322 LOCK_EX = 0x2
19323 LOCK_NB = 0x4
19324 LOCK_SH = 0x1
19325@@ -884,6 +980,7 @@ const (
19326 NET_RT_MAXID = 0xa
19327 NET_RT_STAT = 0x4
19328 NET_RT_TRASH = 0x5
19329+ NFDBITS = 0x20
19330 NL0 = 0x0
19331 NL1 = 0x100
19332 NL2 = 0x200
19333@@ -1377,6 +1474,12 @@ const (
19334 WORDSIZE = 0x40
19335 WSTOPPED = 0x8
19336 WUNTRACED = 0x2
19337+ XATTR_CREATE = 0x2
19338+ XATTR_NODEFAULT = 0x10
19339+ XATTR_NOFOLLOW = 0x1
19340+ XATTR_NOSECURITY = 0x8
19341+ XATTR_REPLACE = 0x4
19342+ XATTR_SHOWCOMPRESSION = 0x20
19343 )
19344
19345 // Errors
19346@@ -1528,146 +1631,154 @@ const (
19347 )
19348
19349 // Error table
19350-var errors = [...]string{
19351- 1: "operation not permitted",
19352- 2: "no such file or directory",
19353- 3: "no such process",
19354- 4: "interrupted system call",
19355- 5: "input/output error",
19356- 6: "device not configured",
19357- 7: "argument list too long",
19358- 8: "exec format error",
19359- 9: "bad file descriptor",
19360- 10: "no child processes",
19361- 11: "resource deadlock avoided",
19362- 12: "cannot allocate memory",
19363- 13: "permission denied",
19364- 14: "bad address",
19365- 15: "block device required",
19366- 16: "resource busy",
19367- 17: "file exists",
19368- 18: "cross-device link",
19369- 19: "operation not supported by device",
19370- 20: "not a directory",
19371- 21: "is a directory",
19372- 22: "invalid argument",
19373- 23: "too many open files in system",
19374- 24: "too many open files",
19375- 25: "inappropriate ioctl for device",
19376- 26: "text file busy",
19377- 27: "file too large",
19378- 28: "no space left on device",
19379- 29: "illegal seek",
19380- 30: "read-only file system",
19381- 31: "too many links",
19382- 32: "broken pipe",
19383- 33: "numerical argument out of domain",
19384- 34: "result too large",
19385- 35: "resource temporarily unavailable",
19386- 36: "operation now in progress",
19387- 37: "operation already in progress",
19388- 38: "socket operation on non-socket",
19389- 39: "destination address required",
19390- 40: "message too long",
19391- 41: "protocol wrong type for socket",
19392- 42: "protocol not available",
19393- 43: "protocol not supported",
19394- 44: "socket type not supported",
19395- 45: "operation not supported",
19396- 46: "protocol family not supported",
19397- 47: "address family not supported by protocol family",
19398- 48: "address already in use",
19399- 49: "can't assign requested address",
19400- 50: "network is down",
19401- 51: "network is unreachable",
19402- 52: "network dropped connection on reset",
19403- 53: "software caused connection abort",
19404- 54: "connection reset by peer",
19405- 55: "no buffer space available",
19406- 56: "socket is already connected",
19407- 57: "socket is not connected",
19408- 58: "can't send after socket shutdown",
19409- 59: "too many references: can't splice",
19410- 60: "operation timed out",
19411- 61: "connection refused",
19412- 62: "too many levels of symbolic links",
19413- 63: "file name too long",
19414- 64: "host is down",
19415- 65: "no route to host",
19416- 66: "directory not empty",
19417- 67: "too many processes",
19418- 68: "too many users",
19419- 69: "disc quota exceeded",
19420- 70: "stale NFS file handle",
19421- 71: "too many levels of remote in path",
19422- 72: "RPC struct is bad",
19423- 73: "RPC version wrong",
19424- 74: "RPC prog. not avail",
19425- 75: "program version wrong",
19426- 76: "bad procedure for program",
19427- 77: "no locks available",
19428- 78: "function not implemented",
19429- 79: "inappropriate file type or format",
19430- 80: "authentication error",
19431- 81: "need authenticator",
19432- 82: "device power is off",
19433- 83: "device error",
19434- 84: "value too large to be stored in data type",
19435- 85: "bad executable (or shared library)",
19436- 86: "bad CPU type in executable",
19437- 87: "shared library version mismatch",
19438- 88: "malformed Mach-o file",
19439- 89: "operation canceled",
19440- 90: "identifier removed",
19441- 91: "no message of desired type",
19442- 92: "illegal byte sequence",
19443- 93: "attribute not found",
19444- 94: "bad message",
19445- 95: "EMULTIHOP (Reserved)",
19446- 96: "no message available on STREAM",
19447- 97: "ENOLINK (Reserved)",
19448- 98: "no STREAM resources",
19449- 99: "not a STREAM",
19450- 100: "protocol error",
19451- 101: "STREAM ioctl timeout",
19452- 102: "operation not supported on socket",
19453- 103: "policy not found",
19454- 104: "state not recoverable",
19455- 105: "previous owner died",
19456- 106: "interface output queue is full",
19457+var errorList = [...]struct {
19458+ num syscall.Errno
19459+ name string
19460+ desc string
19461+}{
19462+ {1, "EPERM", "operation not permitted"},
19463+ {2, "ENOENT", "no such file or directory"},
19464+ {3, "ESRCH", "no such process"},
19465+ {4, "EINTR", "interrupted system call"},
19466+ {5, "EIO", "input/output error"},
19467+ {6, "ENXIO", "device not configured"},
19468+ {7, "E2BIG", "argument list too long"},
19469+ {8, "ENOEXEC", "exec format error"},
19470+ {9, "EBADF", "bad file descriptor"},
19471+ {10, "ECHILD", "no child processes"},
19472+ {11, "EDEADLK", "resource deadlock avoided"},
19473+ {12, "ENOMEM", "cannot allocate memory"},
19474+ {13, "EACCES", "permission denied"},
19475+ {14, "EFAULT", "bad address"},
19476+ {15, "ENOTBLK", "block device required"},
19477+ {16, "EBUSY", "resource busy"},
19478+ {17, "EEXIST", "file exists"},
19479+ {18, "EXDEV", "cross-device link"},
19480+ {19, "ENODEV", "operation not supported by device"},
19481+ {20, "ENOTDIR", "not a directory"},
19482+ {21, "EISDIR", "is a directory"},
19483+ {22, "EINVAL", "invalid argument"},
19484+ {23, "ENFILE", "too many open files in system"},
19485+ {24, "EMFILE", "too many open files"},
19486+ {25, "ENOTTY", "inappropriate ioctl for device"},
19487+ {26, "ETXTBSY", "text file busy"},
19488+ {27, "EFBIG", "file too large"},
19489+ {28, "ENOSPC", "no space left on device"},
19490+ {29, "ESPIPE", "illegal seek"},
19491+ {30, "EROFS", "read-only file system"},
19492+ {31, "EMLINK", "too many links"},
19493+ {32, "EPIPE", "broken pipe"},
19494+ {33, "EDOM", "numerical argument out of domain"},
19495+ {34, "ERANGE", "result too large"},
19496+ {35, "EAGAIN", "resource temporarily unavailable"},
19497+ {36, "EINPROGRESS", "operation now in progress"},
19498+ {37, "EALREADY", "operation already in progress"},
19499+ {38, "ENOTSOCK", "socket operation on non-socket"},
19500+ {39, "EDESTADDRREQ", "destination address required"},
19501+ {40, "EMSGSIZE", "message too long"},
19502+ {41, "EPROTOTYPE", "protocol wrong type for socket"},
19503+ {42, "ENOPROTOOPT", "protocol not available"},
19504+ {43, "EPROTONOSUPPORT", "protocol not supported"},
19505+ {44, "ESOCKTNOSUPPORT", "socket type not supported"},
19506+ {45, "ENOTSUP", "operation not supported"},
19507+ {46, "EPFNOSUPPORT", "protocol family not supported"},
19508+ {47, "EAFNOSUPPORT", "address family not supported by protocol family"},
19509+ {48, "EADDRINUSE", "address already in use"},
19510+ {49, "EADDRNOTAVAIL", "can't assign requested address"},
19511+ {50, "ENETDOWN", "network is down"},
19512+ {51, "ENETUNREACH", "network is unreachable"},
19513+ {52, "ENETRESET", "network dropped connection on reset"},
19514+ {53, "ECONNABORTED", "software caused connection abort"},
19515+ {54, "ECONNRESET", "connection reset by peer"},
19516+ {55, "ENOBUFS", "no buffer space available"},
19517+ {56, "EISCONN", "socket is already connected"},
19518+ {57, "ENOTCONN", "socket is not connected"},
19519+ {58, "ESHUTDOWN", "can't send after socket shutdown"},
19520+ {59, "ETOOMANYREFS", "too many references: can't splice"},
19521+ {60, "ETIMEDOUT", "operation timed out"},
19522+ {61, "ECONNREFUSED", "connection refused"},
19523+ {62, "ELOOP", "too many levels of symbolic links"},
19524+ {63, "ENAMETOOLONG", "file name too long"},
19525+ {64, "EHOSTDOWN", "host is down"},
19526+ {65, "EHOSTUNREACH", "no route to host"},
19527+ {66, "ENOTEMPTY", "directory not empty"},
19528+ {67, "EPROCLIM", "too many processes"},
19529+ {68, "EUSERS", "too many users"},
19530+ {69, "EDQUOT", "disc quota exceeded"},
19531+ {70, "ESTALE", "stale NFS file handle"},
19532+ {71, "EREMOTE", "too many levels of remote in path"},
19533+ {72, "EBADRPC", "RPC struct is bad"},
19534+ {73, "ERPCMISMATCH", "RPC version wrong"},
19535+ {74, "EPROGUNAVAIL", "RPC prog. not avail"},
19536+ {75, "EPROGMISMATCH", "program version wrong"},
19537+ {76, "EPROCUNAVAIL", "bad procedure for program"},
19538+ {77, "ENOLCK", "no locks available"},
19539+ {78, "ENOSYS", "function not implemented"},
19540+ {79, "EFTYPE", "inappropriate file type or format"},
19541+ {80, "EAUTH", "authentication error"},
19542+ {81, "ENEEDAUTH", "need authenticator"},
19543+ {82, "EPWROFF", "device power is off"},
19544+ {83, "EDEVERR", "device error"},
19545+ {84, "EOVERFLOW", "value too large to be stored in data type"},
19546+ {85, "EBADEXEC", "bad executable (or shared library)"},
19547+ {86, "EBADARCH", "bad CPU type in executable"},
19548+ {87, "ESHLIBVERS", "shared library version mismatch"},
19549+ {88, "EBADMACHO", "malformed Mach-o file"},
19550+ {89, "ECANCELED", "operation canceled"},
19551+ {90, "EIDRM", "identifier removed"},
19552+ {91, "ENOMSG", "no message of desired type"},
19553+ {92, "EILSEQ", "illegal byte sequence"},
19554+ {93, "ENOATTR", "attribute not found"},
19555+ {94, "EBADMSG", "bad message"},
19556+ {95, "EMULTIHOP", "EMULTIHOP (Reserved)"},
19557+ {96, "ENODATA", "no message available on STREAM"},
19558+ {97, "ENOLINK", "ENOLINK (Reserved)"},
19559+ {98, "ENOSR", "no STREAM resources"},
19560+ {99, "ENOSTR", "not a STREAM"},
19561+ {100, "EPROTO", "protocol error"},
19562+ {101, "ETIME", "STREAM ioctl timeout"},
19563+ {102, "EOPNOTSUPP", "operation not supported on socket"},
19564+ {103, "ENOPOLICY", "policy not found"},
19565+ {104, "ENOTRECOVERABLE", "state not recoverable"},
19566+ {105, "EOWNERDEAD", "previous owner died"},
19567+ {106, "EQFULL", "interface output queue is full"},
19568 }
19569
19570 // Signal table
19571-var signals = [...]string{
19572- 1: "hangup",
19573- 2: "interrupt",
19574- 3: "quit",
19575- 4: "illegal instruction",
19576- 5: "trace/BPT trap",
19577- 6: "abort trap",
19578- 7: "EMT trap",
19579- 8: "floating point exception",
19580- 9: "killed",
19581- 10: "bus error",
19582- 11: "segmentation fault",
19583- 12: "bad system call",
19584- 13: "broken pipe",
19585- 14: "alarm clock",
19586- 15: "terminated",
19587- 16: "urgent I/O condition",
19588- 17: "suspended (signal)",
19589- 18: "suspended",
19590- 19: "continued",
19591- 20: "child exited",
19592- 21: "stopped (tty input)",
19593- 22: "stopped (tty output)",
19594- 23: "I/O possible",
19595- 24: "cputime limit exceeded",
19596- 25: "filesize limit exceeded",
19597- 26: "virtual timer expired",
19598- 27: "profiling timer expired",
19599- 28: "window size changes",
19600- 29: "information request",
19601- 30: "user defined signal 1",
19602- 31: "user defined signal 2",
19603+var signalList = [...]struct {
19604+ num syscall.Signal
19605+ name string
19606+ desc string
19607+}{
19608+ {1, "SIGHUP", "hangup"},
19609+ {2, "SIGINT", "interrupt"},
19610+ {3, "SIGQUIT", "quit"},
19611+ {4, "SIGILL", "illegal instruction"},
19612+ {5, "SIGTRAP", "trace/BPT trap"},
19613+ {6, "SIGABRT", "abort trap"},
19614+ {7, "SIGEMT", "EMT trap"},
19615+ {8, "SIGFPE", "floating point exception"},
19616+ {9, "SIGKILL", "killed"},
19617+ {10, "SIGBUS", "bus error"},
19618+ {11, "SIGSEGV", "segmentation fault"},
19619+ {12, "SIGSYS", "bad system call"},
19620+ {13, "SIGPIPE", "broken pipe"},
19621+ {14, "SIGALRM", "alarm clock"},
19622+ {15, "SIGTERM", "terminated"},
19623+ {16, "SIGURG", "urgent I/O condition"},
19624+ {17, "SIGSTOP", "suspended (signal)"},
19625+ {18, "SIGTSTP", "suspended"},
19626+ {19, "SIGCONT", "continued"},
19627+ {20, "SIGCHLD", "child exited"},
19628+ {21, "SIGTTIN", "stopped (tty input)"},
19629+ {22, "SIGTTOU", "stopped (tty output)"},
19630+ {23, "SIGIO", "I/O possible"},
19631+ {24, "SIGXCPU", "cputime limit exceeded"},
19632+ {25, "SIGXFSZ", "filesize limit exceeded"},
19633+ {26, "SIGVTALRM", "virtual timer expired"},
19634+ {27, "SIGPROF", "profiling timer expired"},
19635+ {28, "SIGWINCH", "window size changes"},
19636+ {29, "SIGINFO", "information request"},
19637+ {30, "SIGUSR1", "user defined signal 1"},
19638+ {31, "SIGUSR2", "user defined signal 2"},
19639 }
19640diff --git a/vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go
19641index 8f40598b..61304717 100644
19642--- a/vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go
19643+++ b/vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go
19644@@ -3,7 +3,7 @@
19645
19646 // +build amd64,dragonfly
19647
19648-// Created by cgo -godefs - DO NOT EDIT
19649+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
19650 // cgo -godefs -- -m64 _const.go
19651
19652 package unix
19653@@ -168,6 +168,8 @@ const (
19654 CSTOP = 0x13
19655 CSTOPB = 0x400
19656 CSUSP = 0x1a
19657+ CTL_HW = 0x6
19658+ CTL_KERN = 0x1
19659 CTL_MAXNAME = 0xc
19660 CTL_NET = 0x4
19661 DLT_A429 = 0xb8
19662@@ -353,6 +355,7 @@ const (
19663 F_UNLCK = 0x2
19664 F_WRLCK = 0x3
19665 HUPCL = 0x4000
19666+ HW_MACHINE = 0x1
19667 ICANON = 0x100
19668 ICMP6_FILTER = 0x12
19669 ICRNL = 0x100
19670@@ -835,6 +838,10 @@ const (
19671 IXANY = 0x800
19672 IXOFF = 0x400
19673 IXON = 0x200
19674+ KERN_HOSTNAME = 0xa
19675+ KERN_OSRELEASE = 0x2
19676+ KERN_OSTYPE = 0x1
19677+ KERN_VERSION = 0x4
19678 LOCK_EX = 0x2
19679 LOCK_NB = 0x4
19680 LOCK_SH = 0x1
19681@@ -873,6 +880,40 @@ const (
19682 MAP_VPAGETABLE = 0x2000
19683 MCL_CURRENT = 0x1
19684 MCL_FUTURE = 0x2
19685+ MNT_ASYNC = 0x40
19686+ MNT_AUTOMOUNTED = 0x20
19687+ MNT_CMDFLAGS = 0xf0000
19688+ MNT_DEFEXPORTED = 0x200
19689+ MNT_DELEXPORT = 0x20000
19690+ MNT_EXKERB = 0x800
19691+ MNT_EXPORTANON = 0x400
19692+ MNT_EXPORTED = 0x100
19693+ MNT_EXPUBLIC = 0x20000000
19694+ MNT_EXRDONLY = 0x80
19695+ MNT_FORCE = 0x80000
19696+ MNT_IGNORE = 0x800000
19697+ MNT_LAZY = 0x4
19698+ MNT_LOCAL = 0x1000
19699+ MNT_NOATIME = 0x10000000
19700+ MNT_NOCLUSTERR = 0x40000000
19701+ MNT_NOCLUSTERW = 0x80000000
19702+ MNT_NODEV = 0x10
19703+ MNT_NOEXEC = 0x4
19704+ MNT_NOSUID = 0x8
19705+ MNT_NOSYMFOLLOW = 0x400000
19706+ MNT_NOWAIT = 0x2
19707+ MNT_QUOTA = 0x2000
19708+ MNT_RDONLY = 0x1
19709+ MNT_RELOAD = 0x40000
19710+ MNT_ROOTFS = 0x4000
19711+ MNT_SOFTDEP = 0x200000
19712+ MNT_SUIDDIR = 0x100000
19713+ MNT_SYNCHRONOUS = 0x2
19714+ MNT_TRIM = 0x1000000
19715+ MNT_UPDATE = 0x10000
19716+ MNT_USER = 0x8000
19717+ MNT_VISFLAGMASK = 0xf1f0ffff
19718+ MNT_WAIT = 0x1
19719 MSG_CMSG_CLOEXEC = 0x1000
19720 MSG_CTRUNC = 0x20
19721 MSG_DONTROUTE = 0x4
19722@@ -897,6 +938,7 @@ const (
19723 NET_RT_FLAGS = 0x2
19724 NET_RT_IFLIST = 0x3
19725 NET_RT_MAXID = 0x4
19726+ NFDBITS = 0x40
19727 NOFLSH = 0x80000000
19728 NOKERNINFO = 0x2000000
19729 NOTE_ATTRIB = 0x8
19730@@ -973,7 +1015,10 @@ const (
19731 RLIMIT_CPU = 0x0
19732 RLIMIT_DATA = 0x2
19733 RLIMIT_FSIZE = 0x1
19734+ RLIMIT_MEMLOCK = 0x6
19735 RLIMIT_NOFILE = 0x8
19736+ RLIMIT_NPROC = 0x7
19737+ RLIMIT_RSS = 0x5
19738 RLIMIT_STACK = 0x3
19739 RLIM_INFINITY = 0x7fffffffffffffff
19740 RTAX_AUTHOR = 0x6
19741@@ -1158,6 +1203,36 @@ const (
19742 SO_TIMESTAMP = 0x400
19743 SO_TYPE = 0x1008
19744 SO_USELOOPBACK = 0x40
19745+ S_BLKSIZE = 0x200
19746+ S_IEXEC = 0x40
19747+ S_IFBLK = 0x6000
19748+ S_IFCHR = 0x2000
19749+ S_IFDB = 0x9000
19750+ S_IFDIR = 0x4000
19751+ S_IFIFO = 0x1000
19752+ S_IFLNK = 0xa000
19753+ S_IFMT = 0xf000
19754+ S_IFREG = 0x8000
19755+ S_IFSOCK = 0xc000
19756+ S_IFWHT = 0xe000
19757+ S_IREAD = 0x100
19758+ S_IRGRP = 0x20
19759+ S_IROTH = 0x4
19760+ S_IRUSR = 0x100
19761+ S_IRWXG = 0x38
19762+ S_IRWXO = 0x7
19763+ S_IRWXU = 0x1c0
19764+ S_ISGID = 0x400
19765+ S_ISTXT = 0x200
19766+ S_ISUID = 0x800
19767+ S_ISVTX = 0x200
19768+ S_IWGRP = 0x10
19769+ S_IWOTH = 0x2
19770+ S_IWRITE = 0x80
19771+ S_IWUSR = 0x80
19772+ S_IXGRP = 0x8
19773+ S_IXOTH = 0x1
19774+ S_IXUSR = 0x40
19775 TCIFLUSH = 0x1
19776 TCIOFF = 0x3
19777 TCIOFLUSH = 0x3
19778@@ -1427,142 +1502,150 @@ const (
19779 )
19780
19781 // Error table
19782-var errors = [...]string{
19783- 1: "operation not permitted",
19784- 2: "no such file or directory",
19785- 3: "no such process",
19786- 4: "interrupted system call",
19787- 5: "input/output error",
19788- 6: "device not configured",
19789- 7: "argument list too long",
19790- 8: "exec format error",
19791- 9: "bad file descriptor",
19792- 10: "no child processes",
19793- 11: "resource deadlock avoided",
19794- 12: "cannot allocate memory",
19795- 13: "permission denied",
19796- 14: "bad address",
19797- 15: "block device required",
19798- 16: "device busy",
19799- 17: "file exists",
19800- 18: "cross-device link",
19801- 19: "operation not supported by device",
19802- 20: "not a directory",
19803- 21: "is a directory",
19804- 22: "invalid argument",
19805- 23: "too many open files in system",
19806- 24: "too many open files",
19807- 25: "inappropriate ioctl for device",
19808- 26: "text file busy",
19809- 27: "file too large",
19810- 28: "no space left on device",
19811- 29: "illegal seek",
19812- 30: "read-only file system",
19813- 31: "too many links",
19814- 32: "broken pipe",
19815- 33: "numerical argument out of domain",
19816- 34: "result too large",
19817- 35: "resource temporarily unavailable",
19818- 36: "operation now in progress",
19819- 37: "operation already in progress",
19820- 38: "socket operation on non-socket",
19821- 39: "destination address required",
19822- 40: "message too long",
19823- 41: "protocol wrong type for socket",
19824- 42: "protocol not available",
19825- 43: "protocol not supported",
19826- 44: "socket type not supported",
19827- 45: "operation not supported",
19828- 46: "protocol family not supported",
19829- 47: "address family not supported by protocol family",
19830- 48: "address already in use",
19831- 49: "can't assign requested address",
19832- 50: "network is down",
19833- 51: "network is unreachable",
19834- 52: "network dropped connection on reset",
19835- 53: "software caused connection abort",
19836- 54: "connection reset by peer",
19837- 55: "no buffer space available",
19838- 56: "socket is already connected",
19839- 57: "socket is not connected",
19840- 58: "can't send after socket shutdown",
19841- 59: "too many references: can't splice",
19842- 60: "operation timed out",
19843- 61: "connection refused",
19844- 62: "too many levels of symbolic links",
19845- 63: "file name too long",
19846- 64: "host is down",
19847- 65: "no route to host",
19848- 66: "directory not empty",
19849- 67: "too many processes",
19850- 68: "too many users",
19851- 69: "disc quota exceeded",
19852- 70: "stale NFS file handle",
19853- 71: "too many levels of remote in path",
19854- 72: "RPC struct is bad",
19855- 73: "RPC version wrong",
19856- 74: "RPC prog. not avail",
19857- 75: "program version wrong",
19858- 76: "bad procedure for program",
19859- 77: "no locks available",
19860- 78: "function not implemented",
19861- 79: "inappropriate file type or format",
19862- 80: "authentication error",
19863- 81: "need authenticator",
19864- 82: "identifier removed",
19865- 83: "no message of desired type",
19866- 84: "value too large to be stored in data type",
19867- 85: "operation canceled",
19868- 86: "illegal byte sequence",
19869- 87: "attribute not found",
19870- 88: "programming error",
19871- 89: "bad message",
19872- 90: "multihop attempted",
19873- 91: "link has been severed",
19874- 92: "protocol error",
19875- 93: "no medium found",
19876- 94: "unknown error: 94",
19877- 95: "unknown error: 95",
19878- 96: "unknown error: 96",
19879- 97: "unknown error: 97",
19880- 98: "unknown error: 98",
19881- 99: "unknown error: 99",
19882+var errorList = [...]struct {
19883+ num syscall.Errno
19884+ name string
19885+ desc string
19886+}{
19887+ {1, "EPERM", "operation not permitted"},
19888+ {2, "ENOENT", "no such file or directory"},
19889+ {3, "ESRCH", "no such process"},
19890+ {4, "EINTR", "interrupted system call"},
19891+ {5, "EIO", "input/output error"},
19892+ {6, "ENXIO", "device not configured"},
19893+ {7, "E2BIG", "argument list too long"},
19894+ {8, "ENOEXEC", "exec format error"},
19895+ {9, "EBADF", "bad file descriptor"},
19896+ {10, "ECHILD", "no child processes"},
19897+ {11, "EDEADLK", "resource deadlock avoided"},
19898+ {12, "ENOMEM", "cannot allocate memory"},
19899+ {13, "EACCES", "permission denied"},
19900+ {14, "EFAULT", "bad address"},
19901+ {15, "ENOTBLK", "block device required"},
19902+ {16, "EBUSY", "device busy"},
19903+ {17, "EEXIST", "file exists"},
19904+ {18, "EXDEV", "cross-device link"},
19905+ {19, "ENODEV", "operation not supported by device"},
19906+ {20, "ENOTDIR", "not a directory"},
19907+ {21, "EISDIR", "is a directory"},
19908+ {22, "EINVAL", "invalid argument"},
19909+ {23, "ENFILE", "too many open files in system"},
19910+ {24, "EMFILE", "too many open files"},
19911+ {25, "ENOTTY", "inappropriate ioctl for device"},
19912+ {26, "ETXTBSY", "text file busy"},
19913+ {27, "EFBIG", "file too large"},
19914+ {28, "ENOSPC", "no space left on device"},
19915+ {29, "ESPIPE", "illegal seek"},
19916+ {30, "EROFS", "read-only file system"},
19917+ {31, "EMLINK", "too many links"},
19918+ {32, "EPIPE", "broken pipe"},
19919+ {33, "EDOM", "numerical argument out of domain"},
19920+ {34, "ERANGE", "result too large"},
19921+ {35, "EWOULDBLOCK", "resource temporarily unavailable"},
19922+ {36, "EINPROGRESS", "operation now in progress"},
19923+ {37, "EALREADY", "operation already in progress"},
19924+ {38, "ENOTSOCK", "socket operation on non-socket"},
19925+ {39, "EDESTADDRREQ", "destination address required"},
19926+ {40, "EMSGSIZE", "message too long"},
19927+ {41, "EPROTOTYPE", "protocol wrong type for socket"},
19928+ {42, "ENOPROTOOPT", "protocol not available"},
19929+ {43, "EPROTONOSUPPORT", "protocol not supported"},
19930+ {44, "ESOCKTNOSUPPORT", "socket type not supported"},
19931+ {45, "EOPNOTSUPP", "operation not supported"},
19932+ {46, "EPFNOSUPPORT", "protocol family not supported"},
19933+ {47, "EAFNOSUPPORT", "address family not supported by protocol family"},
19934+ {48, "EADDRINUSE", "address already in use"},
19935+ {49, "EADDRNOTAVAIL", "can't assign requested address"},
19936+ {50, "ENETDOWN", "network is down"},
19937+ {51, "ENETUNREACH", "network is unreachable"},
19938+ {52, "ENETRESET", "network dropped connection on reset"},
19939+ {53, "ECONNABORTED", "software caused connection abort"},
19940+ {54, "ECONNRESET", "connection reset by peer"},
19941+ {55, "ENOBUFS", "no buffer space available"},
19942+ {56, "EISCONN", "socket is already connected"},
19943+ {57, "ENOTCONN", "socket is not connected"},
19944+ {58, "ESHUTDOWN", "can't send after socket shutdown"},
19945+ {59, "ETOOMANYREFS", "too many references: can't splice"},
19946+ {60, "ETIMEDOUT", "operation timed out"},
19947+ {61, "ECONNREFUSED", "connection refused"},
19948+ {62, "ELOOP", "too many levels of symbolic links"},
19949+ {63, "ENAMETOOLONG", "file name too long"},
19950+ {64, "EHOSTDOWN", "host is down"},
19951+ {65, "EHOSTUNREACH", "no route to host"},
19952+ {66, "ENOTEMPTY", "directory not empty"},
19953+ {67, "EPROCLIM", "too many processes"},
19954+ {68, "EUSERS", "too many users"},
19955+ {69, "EDQUOT", "disc quota exceeded"},
19956+ {70, "ESTALE", "stale NFS file handle"},
19957+ {71, "EREMOTE", "too many levels of remote in path"},
19958+ {72, "EBADRPC", "RPC struct is bad"},
19959+ {73, "ERPCMISMATCH", "RPC version wrong"},
19960+ {74, "EPROGUNAVAIL", "RPC prog. not avail"},
19961+ {75, "EPROGMISMATCH", "program version wrong"},
19962+ {76, "EPROCUNAVAIL", "bad procedure for program"},
19963+ {77, "ENOLCK", "no locks available"},
19964+ {78, "ENOSYS", "function not implemented"},
19965+ {79, "EFTYPE", "inappropriate file type or format"},
19966+ {80, "EAUTH", "authentication error"},
19967+ {81, "ENEEDAUTH", "need authenticator"},
19968+ {82, "EIDRM", "identifier removed"},
19969+ {83, "ENOMSG", "no message of desired type"},
19970+ {84, "EOVERFLOW", "value too large to be stored in data type"},
19971+ {85, "ECANCELED", "operation canceled"},
19972+ {86, "EILSEQ", "illegal byte sequence"},
19973+ {87, "ENOATTR", "attribute not found"},
19974+ {88, "EDOOFUS", "programming error"},
19975+ {89, "EBADMSG", "bad message"},
19976+ {90, "EMULTIHOP", "multihop attempted"},
19977+ {91, "ENOLINK", "link has been severed"},
19978+ {92, "EPROTO", "protocol error"},
19979+ {93, "ENOMEDIUM", "no medium found"},
19980+ {94, "EUNUSED94", "unknown error: 94"},
19981+ {95, "EUNUSED95", "unknown error: 95"},
19982+ {96, "EUNUSED96", "unknown error: 96"},
19983+ {97, "EUNUSED97", "unknown error: 97"},
19984+ {98, "EUNUSED98", "unknown error: 98"},
19985+ {99, "ELAST", "unknown error: 99"},
19986 }
19987
19988 // Signal table
19989-var signals = [...]string{
19990- 1: "hangup",
19991- 2: "interrupt",
19992- 3: "quit",
19993- 4: "illegal instruction",
19994- 5: "trace/BPT trap",
19995- 6: "abort trap",
19996- 7: "EMT trap",
19997- 8: "floating point exception",
19998- 9: "killed",
19999- 10: "bus error",
20000- 11: "segmentation fault",
20001- 12: "bad system call",
20002- 13: "broken pipe",
20003- 14: "alarm clock",
20004- 15: "terminated",
20005- 16: "urgent I/O condition",
20006- 17: "suspended (signal)",
20007- 18: "suspended",
20008- 19: "continued",
20009- 20: "child exited",
20010- 21: "stopped (tty input)",
20011- 22: "stopped (tty output)",
20012- 23: "I/O possible",
20013- 24: "cputime limit exceeded",
20014- 25: "filesize limit exceeded",
20015- 26: "virtual timer expired",
20016- 27: "profiling timer expired",
20017- 28: "window size changes",
20018- 29: "information request",
20019- 30: "user defined signal 1",
20020- 31: "user defined signal 2",
20021- 32: "thread Scheduler",
20022- 33: "checkPoint",
20023- 34: "checkPointExit",
20024+var signalList = [...]struct {
20025+ num syscall.Signal
20026+ name string
20027+ desc string
20028+}{
20029+ {1, "SIGHUP", "hangup"},
20030+ {2, "SIGINT", "interrupt"},
20031+ {3, "SIGQUIT", "quit"},
20032+ {4, "SIGILL", "illegal instruction"},
20033+ {5, "SIGTRAP", "trace/BPT trap"},
20034+ {6, "SIGIOT", "abort trap"},
20035+ {7, "SIGEMT", "EMT trap"},
20036+ {8, "SIGFPE", "floating point exception"},
20037+ {9, "SIGKILL", "killed"},
20038+ {10, "SIGBUS", "bus error"},
20039+ {11, "SIGSEGV", "segmentation fault"},
20040+ {12, "SIGSYS", "bad system call"},
20041+ {13, "SIGPIPE", "broken pipe"},
20042+ {14, "SIGALRM", "alarm clock"},
20043+ {15, "SIGTERM", "terminated"},
20044+ {16, "SIGURG", "urgent I/O condition"},
20045+ {17, "SIGSTOP", "suspended (signal)"},
20046+ {18, "SIGTSTP", "suspended"},
20047+ {19, "SIGCONT", "continued"},
20048+ {20, "SIGCHLD", "child exited"},
20049+ {21, "SIGTTIN", "stopped (tty input)"},
20050+ {22, "SIGTTOU", "stopped (tty output)"},
20051+ {23, "SIGIO", "I/O possible"},
20052+ {24, "SIGXCPU", "cputime limit exceeded"},
20053+ {25, "SIGXFSZ", "filesize limit exceeded"},
20054+ {26, "SIGVTALRM", "virtual timer expired"},
20055+ {27, "SIGPROF", "profiling timer expired"},
20056+ {28, "SIGWINCH", "window size changes"},
20057+ {29, "SIGINFO", "information request"},
20058+ {30, "SIGUSR1", "user defined signal 1"},
20059+ {31, "SIGUSR2", "user defined signal 2"},
20060+ {32, "SIGTHR", "thread Scheduler"},
20061+ {33, "SIGCKPT", "checkPoint"},
20062+ {34, "SIGCKPTEXIT", "checkPointExit"},
20063 }
20064diff --git a/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go b/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go
20065index 1d3eec44..84824587 100644
20066--- a/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go
20067+++ b/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go
20068@@ -3,7 +3,7 @@
20069
20070 // +build 386,freebsd
20071
20072-// Created by cgo -godefs - DO NOT EDIT
20073+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
20074 // cgo -godefs -- -m32 _const.go
20075
20076 package unix
20077@@ -351,8 +351,26 @@ const (
20078 CSTOP = 0x13
20079 CSTOPB = 0x400
20080 CSUSP = 0x1a
20081+ CTL_HW = 0x6
20082+ CTL_KERN = 0x1
20083 CTL_MAXNAME = 0x18
20084 CTL_NET = 0x4
20085+ DIOCGATTR = 0xc144648e
20086+ DIOCGDELETE = 0x80106488
20087+ DIOCGFLUSH = 0x20006487
20088+ DIOCGFRONTSTUFF = 0x40086486
20089+ DIOCGFWHEADS = 0x40046483
20090+ DIOCGFWSECTORS = 0x40046482
20091+ DIOCGIDENT = 0x41006489
20092+ DIOCGMEDIASIZE = 0x40086481
20093+ DIOCGPHYSPATH = 0x4400648d
20094+ DIOCGPROVIDERNAME = 0x4400648a
20095+ DIOCGSECTORSIZE = 0x40046480
20096+ DIOCGSTRIPEOFFSET = 0x4008648c
20097+ DIOCGSTRIPESIZE = 0x4008648b
20098+ DIOCSKERNELDUMP = 0x804c6490
20099+ DIOCSKERNELDUMP_FREEBSD11 = 0x80046485
20100+ DIOCZONECMD = 0xc06c648f
20101 DLT_A429 = 0xb8
20102 DLT_A653_ICM = 0xb9
20103 DLT_AIRONET_HEADER = 0x78
20104@@ -377,11 +395,14 @@ const (
20105 DLT_CHAOS = 0x5
20106 DLT_CHDLC = 0x68
20107 DLT_CISCO_IOS = 0x76
20108+ DLT_CLASS_NETBSD_RAWAF = 0x2240000
20109 DLT_C_HDLC = 0x68
20110 DLT_C_HDLC_WITH_DIR = 0xcd
20111 DLT_DBUS = 0xe7
20112 DLT_DECT = 0xdd
20113+ DLT_DISPLAYPORT_AUX = 0x113
20114 DLT_DOCSIS = 0x8f
20115+ DLT_DOCSIS31_XRA31 = 0x111
20116 DLT_DVB_CI = 0xeb
20117 DLT_ECONET = 0x73
20118 DLT_EN10MB = 0x1
20119@@ -391,6 +412,7 @@ const (
20120 DLT_ERF = 0xc5
20121 DLT_ERF_ETH = 0xaf
20122 DLT_ERF_POS = 0xb0
20123+ DLT_ETHERNET_MPACKET = 0x112
20124 DLT_FC_2 = 0xe0
20125 DLT_FC_2_WITH_FRAME_DELIMS = 0xe1
20126 DLT_FDDI = 0xa
20127@@ -404,7 +426,6 @@ const (
20128 DLT_GPRS_LLC = 0xa9
20129 DLT_GSMTAP_ABIS = 0xda
20130 DLT_GSMTAP_UM = 0xd9
20131- DLT_HHDLC = 0x79
20132 DLT_IBM_SN = 0x92
20133 DLT_IBM_SP = 0x91
20134 DLT_IEEE802 = 0x6
20135@@ -427,6 +448,7 @@ const (
20136 DLT_IPV4 = 0xe4
20137 DLT_IPV6 = 0xe5
20138 DLT_IP_OVER_FC = 0x7a
20139+ DLT_ISO_14443 = 0x108
20140 DLT_JUNIPER_ATM1 = 0x89
20141 DLT_JUNIPER_ATM2 = 0x87
20142 DLT_JUNIPER_ATM_CEMIC = 0xee
20143@@ -459,8 +481,9 @@ const (
20144 DLT_LINUX_PPP_WITHDIRECTION = 0xa6
20145 DLT_LINUX_SLL = 0x71
20146 DLT_LOOP = 0x6c
20147+ DLT_LORATAP = 0x10e
20148 DLT_LTALK = 0x72
20149- DLT_MATCHING_MAX = 0x104
20150+ DLT_MATCHING_MAX = 0x113
20151 DLT_MATCHING_MIN = 0x68
20152 DLT_MFR = 0xb6
20153 DLT_MOST = 0xd3
20154@@ -476,14 +499,16 @@ const (
20155 DLT_NFC_LLCP = 0xf5
20156 DLT_NFLOG = 0xef
20157 DLT_NG40 = 0xf4
20158+ DLT_NORDIC_BLE = 0x110
20159 DLT_NULL = 0x0
20160+ DLT_OPENFLOW = 0x10b
20161 DLT_PCI_EXP = 0x7d
20162 DLT_PFLOG = 0x75
20163 DLT_PFSYNC = 0x79
20164 DLT_PKTAP = 0x102
20165 DLT_PPI = 0xc0
20166 DLT_PPP = 0x9
20167- DLT_PPP_BSDOS = 0x10
20168+ DLT_PPP_BSDOS = 0xe
20169 DLT_PPP_ETHER = 0x33
20170 DLT_PPP_PPPD = 0xa6
20171 DLT_PPP_SERIAL = 0x32
20172@@ -494,19 +519,25 @@ const (
20173 DLT_PRONET = 0x4
20174 DLT_RAIF1 = 0xc6
20175 DLT_RAW = 0xc
20176+ DLT_RDS = 0x109
20177+ DLT_REDBACK_SMARTEDGE = 0x20
20178 DLT_RIO = 0x7c
20179 DLT_RTAC_SERIAL = 0xfa
20180 DLT_SCCP = 0x8e
20181 DLT_SCTP = 0xf8
20182+ DLT_SDLC = 0x10c
20183 DLT_SITA = 0xc4
20184 DLT_SLIP = 0x8
20185- DLT_SLIP_BSDOS = 0xf
20186+ DLT_SLIP_BSDOS = 0xd
20187 DLT_STANAG_5066_D_PDU = 0xed
20188 DLT_SUNATM = 0x7b
20189 DLT_SYMANTEC_FIREWALL = 0x63
20190+ DLT_TI_LLN_SNIFFER = 0x10d
20191 DLT_TZSP = 0x80
20192 DLT_USB = 0xba
20193 DLT_USBPCAP = 0xf9
20194+ DLT_USB_DARWIN = 0x10a
20195+ DLT_USB_FREEBSD = 0xba
20196 DLT_USB_LINUX = 0xbd
20197 DLT_USB_LINUX_MMAPPED = 0xdc
20198 DLT_USER0 = 0x93
20199@@ -525,10 +556,14 @@ const (
20200 DLT_USER7 = 0x9a
20201 DLT_USER8 = 0x9b
20202 DLT_USER9 = 0x9c
20203+ DLT_VSOCK = 0x10f
20204+ DLT_WATTSTOPPER_DLM = 0x107
20205 DLT_WIHART = 0xdf
20206 DLT_WIRESHARK_UPPER_PDU = 0xfc
20207 DLT_X2E_SERIAL = 0xd5
20208 DLT_X2E_XORAYA = 0xd6
20209+ DLT_ZWAVE_R1_R2 = 0x105
20210+ DLT_ZWAVE_R3 = 0x106
20211 DT_BLK = 0x6
20212 DT_CHR = 0x2
20213 DT_DIR = 0x4
20214@@ -546,6 +581,7 @@ const (
20215 ECHONL = 0x10
20216 ECHOPRT = 0x20
20217 EVFILT_AIO = -0x3
20218+ EVFILT_EMPTY = -0xd
20219 EVFILT_FS = -0x9
20220 EVFILT_LIO = -0xa
20221 EVFILT_PROC = -0x5
20222@@ -553,11 +589,12 @@ const (
20223 EVFILT_READ = -0x1
20224 EVFILT_SENDFILE = -0xc
20225 EVFILT_SIGNAL = -0x6
20226- EVFILT_SYSCOUNT = 0xc
20227+ EVFILT_SYSCOUNT = 0xd
20228 EVFILT_TIMER = -0x7
20229 EVFILT_USER = -0xb
20230 EVFILT_VNODE = -0x4
20231 EVFILT_WRITE = -0x2
20232+ EVNAMEMAP_NAME_SIZE = 0x40
20233 EV_ADD = 0x1
20234 EV_CLEAR = 0x20
20235 EV_DELETE = 0x2
20236@@ -574,6 +611,7 @@ const (
20237 EV_RECEIPT = 0x40
20238 EV_SYSFLAGS = 0xf000
20239 EXTA = 0x4b00
20240+ EXTATTR_MAXNAMELEN = 0xff
20241 EXTATTR_NAMESPACE_EMPTY = 0x0
20242 EXTATTR_NAMESPACE_SYSTEM = 0x2
20243 EXTATTR_NAMESPACE_USER = 0x1
20244@@ -608,12 +646,14 @@ const (
20245 F_UNLCKSYS = 0x4
20246 F_WRLCK = 0x3
20247 HUPCL = 0x4000
20248+ HW_MACHINE = 0x1
20249 ICANON = 0x100
20250 ICMP6_FILTER = 0x12
20251 ICRNL = 0x100
20252 IEXTEN = 0x400
20253 IFAN_ARRIVAL = 0x0
20254 IFAN_DEPARTURE = 0x1
20255+ IFCAP_WOL_MAGIC = 0x2000
20256 IFF_ALLMULTI = 0x200
20257 IFF_ALTPHYS = 0x4000
20258 IFF_BROADCAST = 0x2
20259@@ -630,6 +670,7 @@ const (
20260 IFF_MONITOR = 0x40000
20261 IFF_MULTICAST = 0x8000
20262 IFF_NOARP = 0x80
20263+ IFF_NOGROUP = 0x800000
20264 IFF_OACTIVE = 0x400
20265 IFF_POINTOPOINT = 0x10
20266 IFF_PPROMISC = 0x20000
20267@@ -804,6 +845,7 @@ const (
20268 IPV6_DSTOPTS = 0x32
20269 IPV6_FLOWID = 0x43
20270 IPV6_FLOWINFO_MASK = 0xffffff0f
20271+ IPV6_FLOWLABEL_LEN = 0x14
20272 IPV6_FLOWLABEL_MASK = 0xffff0f00
20273 IPV6_FLOWTYPE = 0x44
20274 IPV6_FRAGTTL = 0x78
20275@@ -824,13 +866,13 @@ const (
20276 IPV6_MAX_GROUP_SRC_FILTER = 0x200
20277 IPV6_MAX_MEMBERSHIPS = 0xfff
20278 IPV6_MAX_SOCK_SRC_FILTER = 0x80
20279- IPV6_MIN_MEMBERSHIPS = 0x1f
20280 IPV6_MMTU = 0x500
20281 IPV6_MSFILTER = 0x4a
20282 IPV6_MULTICAST_HOPS = 0xa
20283 IPV6_MULTICAST_IF = 0x9
20284 IPV6_MULTICAST_LOOP = 0xb
20285 IPV6_NEXTHOP = 0x30
20286+ IPV6_ORIGDSTADDR = 0x48
20287 IPV6_PATHMTU = 0x2c
20288 IPV6_PKTINFO = 0x2e
20289 IPV6_PORTRANGE = 0xe
20290@@ -842,6 +884,7 @@ const (
20291 IPV6_RECVFLOWID = 0x46
20292 IPV6_RECVHOPLIMIT = 0x25
20293 IPV6_RECVHOPOPTS = 0x27
20294+ IPV6_RECVORIGDSTADDR = 0x48
20295 IPV6_RECVPATHMTU = 0x2b
20296 IPV6_RECVPKTINFO = 0x24
20297 IPV6_RECVRSSBUCKETID = 0x47
20298@@ -902,10 +945,8 @@ const (
20299 IP_MAX_MEMBERSHIPS = 0xfff
20300 IP_MAX_SOCK_MUTE_FILTER = 0x80
20301 IP_MAX_SOCK_SRC_FILTER = 0x80
20302- IP_MAX_SOURCE_FILTER = 0x400
20303 IP_MF = 0x2000
20304 IP_MINTTL = 0x42
20305- IP_MIN_MEMBERSHIPS = 0x1f
20306 IP_MSFILTER = 0x4a
20307 IP_MSS = 0x240
20308 IP_MULTICAST_IF = 0x9
20309@@ -915,6 +956,7 @@ const (
20310 IP_OFFMASK = 0x1fff
20311 IP_ONESBCAST = 0x17
20312 IP_OPTIONS = 0x1
20313+ IP_ORIGDSTADDR = 0x1b
20314 IP_PORTRANGE = 0x13
20315 IP_PORTRANGE_DEFAULT = 0x0
20316 IP_PORTRANGE_HIGH = 0x1
20317@@ -923,6 +965,7 @@ const (
20318 IP_RECVFLOWID = 0x5d
20319 IP_RECVIF = 0x14
20320 IP_RECVOPTS = 0x5
20321+ IP_RECVORIGDSTADDR = 0x1b
20322 IP_RECVRETOPTS = 0x6
20323 IP_RECVRSSBUCKETID = 0x5e
20324 IP_RECVTOS = 0x44
20325@@ -944,6 +987,10 @@ const (
20326 IXANY = 0x800
20327 IXOFF = 0x400
20328 IXON = 0x200
20329+ KERN_HOSTNAME = 0xa
20330+ KERN_OSRELEASE = 0x2
20331+ KERN_OSTYPE = 0x1
20332+ KERN_VERSION = 0x4
20333 LOCK_EX = 0x2
20334 LOCK_NB = 0x4
20335 LOCK_SH = 0x1
20336@@ -968,6 +1015,7 @@ const (
20337 MAP_EXCL = 0x4000
20338 MAP_FILE = 0x0
20339 MAP_FIXED = 0x10
20340+ MAP_GUARD = 0x2000
20341 MAP_HASSEMAPHORE = 0x200
20342 MAP_NOCORE = 0x20000
20343 MAP_NOSYNC = 0x800
20344@@ -979,8 +1027,62 @@ const (
20345 MAP_RESERVED0100 = 0x100
20346 MAP_SHARED = 0x1
20347 MAP_STACK = 0x400
20348+ MCAST_BLOCK_SOURCE = 0x54
20349+ MCAST_EXCLUDE = 0x2
20350+ MCAST_INCLUDE = 0x1
20351+ MCAST_JOIN_GROUP = 0x50
20352+ MCAST_JOIN_SOURCE_GROUP = 0x52
20353+ MCAST_LEAVE_GROUP = 0x51
20354+ MCAST_LEAVE_SOURCE_GROUP = 0x53
20355+ MCAST_UNBLOCK_SOURCE = 0x55
20356+ MCAST_UNDEFINED = 0x0
20357 MCL_CURRENT = 0x1
20358 MCL_FUTURE = 0x2
20359+ MNT_ACLS = 0x8000000
20360+ MNT_ASYNC = 0x40
20361+ MNT_AUTOMOUNTED = 0x200000000
20362+ MNT_BYFSID = 0x8000000
20363+ MNT_CMDFLAGS = 0xd0f0000
20364+ MNT_DEFEXPORTED = 0x200
20365+ MNT_DELEXPORT = 0x20000
20366+ MNT_EXKERB = 0x800
20367+ MNT_EXPORTANON = 0x400
20368+ MNT_EXPORTED = 0x100
20369+ MNT_EXPUBLIC = 0x20000000
20370+ MNT_EXRDONLY = 0x80
20371+ MNT_FORCE = 0x80000
20372+ MNT_GJOURNAL = 0x2000000
20373+ MNT_IGNORE = 0x800000
20374+ MNT_LAZY = 0x3
20375+ MNT_LOCAL = 0x1000
20376+ MNT_MULTILABEL = 0x4000000
20377+ MNT_NFS4ACLS = 0x10
20378+ MNT_NOATIME = 0x10000000
20379+ MNT_NOCLUSTERR = 0x40000000
20380+ MNT_NOCLUSTERW = 0x80000000
20381+ MNT_NOEXEC = 0x4
20382+ MNT_NONBUSY = 0x4000000
20383+ MNT_NOSUID = 0x8
20384+ MNT_NOSYMFOLLOW = 0x400000
20385+ MNT_NOWAIT = 0x2
20386+ MNT_QUOTA = 0x2000
20387+ MNT_RDONLY = 0x1
20388+ MNT_RELOAD = 0x40000
20389+ MNT_ROOTFS = 0x4000
20390+ MNT_SNAPSHOT = 0x1000000
20391+ MNT_SOFTDEP = 0x200000
20392+ MNT_SUIDDIR = 0x100000
20393+ MNT_SUJ = 0x100000000
20394+ MNT_SUSPEND = 0x4
20395+ MNT_SYNCHRONOUS = 0x2
20396+ MNT_UNION = 0x20
20397+ MNT_UNTRUSTED = 0x800000000
20398+ MNT_UPDATE = 0x10000
20399+ MNT_UPDATEMASK = 0xad8d0807e
20400+ MNT_USER = 0x8000
20401+ MNT_VERIFIED = 0x400000000
20402+ MNT_VISFLAGMASK = 0xffef0ffff
20403+ MNT_WAIT = 0x1
20404 MSG_CMSG_CLOEXEC = 0x40000
20405 MSG_COMPAT = 0x8000
20406 MSG_CTRUNC = 0x20
20407@@ -1005,8 +1107,10 @@ const (
20408 NET_RT_IFLIST = 0x3
20409 NET_RT_IFLISTL = 0x5
20410 NET_RT_IFMALIST = 0x4
20411+ NFDBITS = 0x20
20412 NOFLSH = 0x80000000
20413 NOKERNINFO = 0x2000000
20414+ NOTE_ABSTIME = 0x10
20415 NOTE_ATTRIB = 0x8
20416 NOTE_CHILD = 0x4
20417 NOTE_CLOSE = 0x100
20418@@ -1161,7 +1265,6 @@ const (
20419 RTV_WEIGHT = 0x100
20420 RT_ALL_FIBS = -0x1
20421 RT_BLACKHOLE = 0x40
20422- RT_CACHING_CONTEXT = 0x1
20423 RT_DEFAULT_FIB = 0x0
20424 RT_HAS_GW = 0x80
20425 RT_HAS_HEADER = 0x10
20426@@ -1171,15 +1274,17 @@ const (
20427 RT_LLE_CACHE = 0x100
20428 RT_MAY_LOOP = 0x8
20429 RT_MAY_LOOP_BIT = 0x3
20430- RT_NORTREF = 0x2
20431 RT_REJECT = 0x20
20432 RUSAGE_CHILDREN = -0x1
20433 RUSAGE_SELF = 0x0
20434 RUSAGE_THREAD = 0x1
20435 SCM_BINTIME = 0x4
20436 SCM_CREDS = 0x3
20437+ SCM_MONOTONIC = 0x6
20438+ SCM_REALTIME = 0x5
20439 SCM_RIGHTS = 0x1
20440 SCM_TIMESTAMP = 0x2
20441+ SCM_TIME_INFO = 0x7
20442 SHUT_RD = 0x0
20443 SHUT_RDWR = 0x2
20444 SHUT_WR = 0x1
20445@@ -1195,6 +1300,7 @@ const (
20446 SIOCGETSGCNT = 0xc0147210
20447 SIOCGETVIFCNT = 0xc014720f
20448 SIOCGHIWAT = 0x40047301
20449+ SIOCGHWADDR = 0xc020693e
20450 SIOCGI2C = 0xc020693d
20451 SIOCGIFADDR = 0xc0206921
20452 SIOCGIFBRDADDR = 0xc0206923
20453@@ -1216,8 +1322,11 @@ const (
20454 SIOCGIFPDSTADDR = 0xc0206948
20455 SIOCGIFPHYS = 0xc0206935
20456 SIOCGIFPSRCADDR = 0xc0206947
20457+ SIOCGIFRSSHASH = 0xc0186997
20458+ SIOCGIFRSSKEY = 0xc0946996
20459 SIOCGIFSTATUS = 0xc331693b
20460 SIOCGIFXMEDIA = 0xc028698b
20461+ SIOCGLANPCP = 0xc0206998
20462 SIOCGLOWAT = 0x40047303
20463 SIOCGPGRP = 0x40047309
20464 SIOCGPRIVATE_0 = 0xc0206950
20465@@ -1248,6 +1357,7 @@ const (
20466 SIOCSIFPHYS = 0x80206936
20467 SIOCSIFRVNET = 0xc020695b
20468 SIOCSIFVNET = 0xc020695a
20469+ SIOCSLANPCP = 0x80206999
20470 SIOCSLOWAT = 0x80047302
20471 SIOCSPGRP = 0x80047308
20472 SIOCSTUNFIB = 0x8020695f
20473@@ -1266,6 +1376,7 @@ const (
20474 SO_BINTIME = 0x2000
20475 SO_BROADCAST = 0x20
20476 SO_DEBUG = 0x1
20477+ SO_DOMAIN = 0x1019
20478 SO_DONTROUTE = 0x10
20479 SO_ERROR = 0x1007
20480 SO_KEEPALIVE = 0x8
20481@@ -1274,6 +1385,7 @@ const (
20482 SO_LISTENINCQLEN = 0x1013
20483 SO_LISTENQLEN = 0x1012
20484 SO_LISTENQLIMIT = 0x1011
20485+ SO_MAX_PACING_RATE = 0x1018
20486 SO_NOSIGPIPE = 0x800
20487 SO_NO_DDP = 0x8000
20488 SO_NO_OFFLOAD = 0x4000
20489@@ -1286,15 +1398,52 @@ const (
20490 SO_RCVTIMEO = 0x1006
20491 SO_REUSEADDR = 0x4
20492 SO_REUSEPORT = 0x200
20493+ SO_REUSEPORT_LB = 0x10000
20494 SO_SETFIB = 0x1014
20495 SO_SNDBUF = 0x1001
20496 SO_SNDLOWAT = 0x1003
20497 SO_SNDTIMEO = 0x1005
20498 SO_TIMESTAMP = 0x400
20499+ SO_TS_BINTIME = 0x1
20500+ SO_TS_CLOCK = 0x1017
20501+ SO_TS_CLOCK_MAX = 0x3
20502+ SO_TS_DEFAULT = 0x0
20503+ SO_TS_MONOTONIC = 0x3
20504+ SO_TS_REALTIME = 0x2
20505+ SO_TS_REALTIME_MICRO = 0x0
20506 SO_TYPE = 0x1008
20507 SO_USELOOPBACK = 0x40
20508 SO_USER_COOKIE = 0x1015
20509 SO_VENDOR = 0x80000000
20510+ S_BLKSIZE = 0x200
20511+ S_IEXEC = 0x40
20512+ S_IFBLK = 0x6000
20513+ S_IFCHR = 0x2000
20514+ S_IFDIR = 0x4000
20515+ S_IFIFO = 0x1000
20516+ S_IFLNK = 0xa000
20517+ S_IFMT = 0xf000
20518+ S_IFREG = 0x8000
20519+ S_IFSOCK = 0xc000
20520+ S_IFWHT = 0xe000
20521+ S_IREAD = 0x100
20522+ S_IRGRP = 0x20
20523+ S_IROTH = 0x4
20524+ S_IRUSR = 0x100
20525+ S_IRWXG = 0x38
20526+ S_IRWXO = 0x7
20527+ S_IRWXU = 0x1c0
20528+ S_ISGID = 0x400
20529+ S_ISTXT = 0x200
20530+ S_ISUID = 0x800
20531+ S_ISVTX = 0x200
20532+ S_IWGRP = 0x10
20533+ S_IWOTH = 0x2
20534+ S_IWRITE = 0x80
20535+ S_IWUSR = 0x80
20536+ S_IXGRP = 0x8
20537+ S_IXOTH = 0x1
20538+ S_IXUSR = 0x40
20539 TAB0 = 0x0
20540 TAB3 = 0x4
20541 TABDLY = 0x4
20542@@ -1305,10 +1454,45 @@ const (
20543 TCOFLUSH = 0x2
20544 TCOOFF = 0x1
20545 TCOON = 0x2
20546+ TCP_BBR_ACK_COMP_ALG = 0x448
20547+ TCP_BBR_DRAIN_INC_EXTRA = 0x43c
20548+ TCP_BBR_DRAIN_PG = 0x42e
20549+ TCP_BBR_EXTRA_GAIN = 0x449
20550+ TCP_BBR_IWINTSO = 0x42b
20551+ TCP_BBR_LOWGAIN_FD = 0x436
20552+ TCP_BBR_LOWGAIN_HALF = 0x435
20553+ TCP_BBR_LOWGAIN_THRESH = 0x434
20554+ TCP_BBR_MAX_RTO = 0x439
20555+ TCP_BBR_MIN_RTO = 0x438
20556+ TCP_BBR_ONE_RETRAN = 0x431
20557+ TCP_BBR_PACE_CROSS = 0x442
20558+ TCP_BBR_PACE_DEL_TAR = 0x43f
20559+ TCP_BBR_PACE_PER_SEC = 0x43e
20560+ TCP_BBR_PACE_SEG_MAX = 0x440
20561+ TCP_BBR_PACE_SEG_MIN = 0x441
20562+ TCP_BBR_PROBE_RTT_GAIN = 0x44d
20563+ TCP_BBR_PROBE_RTT_INT = 0x430
20564+ TCP_BBR_PROBE_RTT_LEN = 0x44e
20565+ TCP_BBR_RACK_RTT_USE = 0x44a
20566+ TCP_BBR_RECFORCE = 0x42c
20567+ TCP_BBR_REC_OVER_HPTS = 0x43a
20568+ TCP_BBR_RETRAN_WTSO = 0x44b
20569+ TCP_BBR_RWND_IS_APP = 0x42f
20570+ TCP_BBR_STARTUP_EXIT_EPOCH = 0x43d
20571+ TCP_BBR_STARTUP_LOSS_EXIT = 0x432
20572+ TCP_BBR_STARTUP_PG = 0x42d
20573+ TCP_BBR_UNLIMITED = 0x43b
20574+ TCP_BBR_USEDEL_RATE = 0x437
20575+ TCP_BBR_USE_LOWGAIN = 0x433
20576 TCP_CA_NAME_MAX = 0x10
20577 TCP_CCALGOOPT = 0x41
20578 TCP_CONGESTION = 0x40
20579+ TCP_DATA_AFTER_CLOSE = 0x44c
20580+ TCP_DELACK = 0x48
20581 TCP_FASTOPEN = 0x401
20582+ TCP_FASTOPEN_MAX_COOKIE_LEN = 0x10
20583+ TCP_FASTOPEN_MIN_COOKIE_LEN = 0x4
20584+ TCP_FASTOPEN_PSK_LEN = 0x10
20585 TCP_FUNCTION_BLK = 0x2000
20586 TCP_FUNCTION_NAME_LEN_MAX = 0x20
20587 TCP_INFO = 0x20
20588@@ -1316,6 +1500,12 @@ const (
20589 TCP_KEEPIDLE = 0x100
20590 TCP_KEEPINIT = 0x80
20591 TCP_KEEPINTVL = 0x200
20592+ TCP_LOG = 0x22
20593+ TCP_LOGBUF = 0x23
20594+ TCP_LOGDUMP = 0x25
20595+ TCP_LOGDUMPID = 0x26
20596+ TCP_LOGID = 0x24
20597+ TCP_LOG_ID_LEN = 0x40
20598 TCP_MAXBURST = 0x4
20599 TCP_MAXHLEN = 0x3c
20600 TCP_MAXOLEN = 0x28
20601@@ -1331,8 +1521,30 @@ const (
20602 TCP_NOPUSH = 0x4
20603 TCP_PCAP_IN = 0x1000
20604 TCP_PCAP_OUT = 0x800
20605+ TCP_RACK_EARLY_RECOV = 0x423
20606+ TCP_RACK_EARLY_SEG = 0x424
20607+ TCP_RACK_IDLE_REDUCE_HIGH = 0x444
20608+ TCP_RACK_MIN_PACE = 0x445
20609+ TCP_RACK_MIN_PACE_SEG = 0x446
20610+ TCP_RACK_MIN_TO = 0x422
20611+ TCP_RACK_PACE_ALWAYS = 0x41f
20612+ TCP_RACK_PACE_MAX_SEG = 0x41e
20613+ TCP_RACK_PACE_REDUCE = 0x41d
20614+ TCP_RACK_PKT_DELAY = 0x428
20615+ TCP_RACK_PROP = 0x41b
20616+ TCP_RACK_PROP_RATE = 0x420
20617+ TCP_RACK_PRR_SENDALOT = 0x421
20618+ TCP_RACK_REORD_FADE = 0x426
20619+ TCP_RACK_REORD_THRESH = 0x425
20620+ TCP_RACK_SESS_CWV = 0x42a
20621+ TCP_RACK_TLP_INC_VAR = 0x429
20622+ TCP_RACK_TLP_REDUCE = 0x41c
20623+ TCP_RACK_TLP_THRESH = 0x427
20624+ TCP_RACK_TLP_USE = 0x447
20625 TCP_VENDOR = 0x80000000
20626 TCSAFLUSH = 0x2
20627+ TIMER_ABSTIME = 0x1
20628+ TIMER_RELTIME = 0x0
20629 TIOCCBRK = 0x2000747a
20630 TIOCCDTR = 0x20007478
20631 TIOCCONS = 0x80047462
20632@@ -1396,6 +1608,8 @@ const (
20633 TIOCTIMESTAMP = 0x40087459
20634 TIOCUCNTL = 0x80047466
20635 TOSTOP = 0x400000
20636+ UTIME_NOW = -0x1
20637+ UTIME_OMIT = -0x2
20638 VDISCARD = 0xf
20639 VDSUSP = 0xb
20640 VEOF = 0x0
20641@@ -1407,6 +1621,8 @@ const (
20642 VKILL = 0x5
20643 VLNEXT = 0xe
20644 VMIN = 0x10
20645+ VM_BCACHE_SIZE_MAX = 0x70e0000
20646+ VM_SWZONE_SIZE_MAX = 0x2280000
20647 VQUIT = 0x9
20648 VREPRINT = 0x6
20649 VSTART = 0xc
20650@@ -1569,138 +1785,146 @@ const (
20651 )
20652
20653 // Error table
20654-var errors = [...]string{
20655- 1: "operation not permitted",
20656- 2: "no such file or directory",
20657- 3: "no such process",
20658- 4: "interrupted system call",
20659- 5: "input/output error",
20660- 6: "device not configured",
20661- 7: "argument list too long",
20662- 8: "exec format error",
20663- 9: "bad file descriptor",
20664- 10: "no child processes",
20665- 11: "resource deadlock avoided",
20666- 12: "cannot allocate memory",
20667- 13: "permission denied",
20668- 14: "bad address",
20669- 15: "block device required",
20670- 16: "device busy",
20671- 17: "file exists",
20672- 18: "cross-device link",
20673- 19: "operation not supported by device",
20674- 20: "not a directory",
20675- 21: "is a directory",
20676- 22: "invalid argument",
20677- 23: "too many open files in system",
20678- 24: "too many open files",
20679- 25: "inappropriate ioctl for device",
20680- 26: "text file busy",
20681- 27: "file too large",
20682- 28: "no space left on device",
20683- 29: "illegal seek",
20684- 30: "read-only file system",
20685- 31: "too many links",
20686- 32: "broken pipe",
20687- 33: "numerical argument out of domain",
20688- 34: "result too large",
20689- 35: "resource temporarily unavailable",
20690- 36: "operation now in progress",
20691- 37: "operation already in progress",
20692- 38: "socket operation on non-socket",
20693- 39: "destination address required",
20694- 40: "message too long",
20695- 41: "protocol wrong type for socket",
20696- 42: "protocol not available",
20697- 43: "protocol not supported",
20698- 44: "socket type not supported",
20699- 45: "operation not supported",
20700- 46: "protocol family not supported",
20701- 47: "address family not supported by protocol family",
20702- 48: "address already in use",
20703- 49: "can't assign requested address",
20704- 50: "network is down",
20705- 51: "network is unreachable",
20706- 52: "network dropped connection on reset",
20707- 53: "software caused connection abort",
20708- 54: "connection reset by peer",
20709- 55: "no buffer space available",
20710- 56: "socket is already connected",
20711- 57: "socket is not connected",
20712- 58: "can't send after socket shutdown",
20713- 59: "too many references: can't splice",
20714- 60: "operation timed out",
20715- 61: "connection refused",
20716- 62: "too many levels of symbolic links",
20717- 63: "file name too long",
20718- 64: "host is down",
20719- 65: "no route to host",
20720- 66: "directory not empty",
20721- 67: "too many processes",
20722- 68: "too many users",
20723- 69: "disc quota exceeded",
20724- 70: "stale NFS file handle",
20725- 71: "too many levels of remote in path",
20726- 72: "RPC struct is bad",
20727- 73: "RPC version wrong",
20728- 74: "RPC prog. not avail",
20729- 75: "program version wrong",
20730- 76: "bad procedure for program",
20731- 77: "no locks available",
20732- 78: "function not implemented",
20733- 79: "inappropriate file type or format",
20734- 80: "authentication error",
20735- 81: "need authenticator",
20736- 82: "identifier removed",
20737- 83: "no message of desired type",
20738- 84: "value too large to be stored in data type",
20739- 85: "operation canceled",
20740- 86: "illegal byte sequence",
20741- 87: "attribute not found",
20742- 88: "programming error",
20743- 89: "bad message",
20744- 90: "multihop attempted",
20745- 91: "link has been severed",
20746- 92: "protocol error",
20747- 93: "capabilities insufficient",
20748- 94: "not permitted in capability mode",
20749- 95: "state not recoverable",
20750- 96: "previous owner died",
20751+var errorList = [...]struct {
20752+ num syscall.Errno
20753+ name string
20754+ desc string
20755+}{
20756+ {1, "EPERM", "operation not permitted"},
20757+ {2, "ENOENT", "no such file or directory"},
20758+ {3, "ESRCH", "no such process"},
20759+ {4, "EINTR", "interrupted system call"},
20760+ {5, "EIO", "input/output error"},
20761+ {6, "ENXIO", "device not configured"},
20762+ {7, "E2BIG", "argument list too long"},
20763+ {8, "ENOEXEC", "exec format error"},
20764+ {9, "EBADF", "bad file descriptor"},
20765+ {10, "ECHILD", "no child processes"},
20766+ {11, "EDEADLK", "resource deadlock avoided"},
20767+ {12, "ENOMEM", "cannot allocate memory"},
20768+ {13, "EACCES", "permission denied"},
20769+ {14, "EFAULT", "bad address"},
20770+ {15, "ENOTBLK", "block device required"},
20771+ {16, "EBUSY", "device busy"},
20772+ {17, "EEXIST", "file exists"},
20773+ {18, "EXDEV", "cross-device link"},
20774+ {19, "ENODEV", "operation not supported by device"},
20775+ {20, "ENOTDIR", "not a directory"},
20776+ {21, "EISDIR", "is a directory"},
20777+ {22, "EINVAL", "invalid argument"},
20778+ {23, "ENFILE", "too many open files in system"},
20779+ {24, "EMFILE", "too many open files"},
20780+ {25, "ENOTTY", "inappropriate ioctl for device"},
20781+ {26, "ETXTBSY", "text file busy"},
20782+ {27, "EFBIG", "file too large"},
20783+ {28, "ENOSPC", "no space left on device"},
20784+ {29, "ESPIPE", "illegal seek"},
20785+ {30, "EROFS", "read-only file system"},
20786+ {31, "EMLINK", "too many links"},
20787+ {32, "EPIPE", "broken pipe"},
20788+ {33, "EDOM", "numerical argument out of domain"},
20789+ {34, "ERANGE", "result too large"},
20790+ {35, "EAGAIN", "resource temporarily unavailable"},
20791+ {36, "EINPROGRESS", "operation now in progress"},
20792+ {37, "EALREADY", "operation already in progress"},
20793+ {38, "ENOTSOCK", "socket operation on non-socket"},
20794+ {39, "EDESTADDRREQ", "destination address required"},
20795+ {40, "EMSGSIZE", "message too long"},
20796+ {41, "EPROTOTYPE", "protocol wrong type for socket"},
20797+ {42, "ENOPROTOOPT", "protocol not available"},
20798+ {43, "EPROTONOSUPPORT", "protocol not supported"},
20799+ {44, "ESOCKTNOSUPPORT", "socket type not supported"},
20800+ {45, "EOPNOTSUPP", "operation not supported"},
20801+ {46, "EPFNOSUPPORT", "protocol family not supported"},
20802+ {47, "EAFNOSUPPORT", "address family not supported by protocol family"},
20803+ {48, "EADDRINUSE", "address already in use"},
20804+ {49, "EADDRNOTAVAIL", "can't assign requested address"},
20805+ {50, "ENETDOWN", "network is down"},
20806+ {51, "ENETUNREACH", "network is unreachable"},
20807+ {52, "ENETRESET", "network dropped connection on reset"},
20808+ {53, "ECONNABORTED", "software caused connection abort"},
20809+ {54, "ECONNRESET", "connection reset by peer"},
20810+ {55, "ENOBUFS", "no buffer space available"},
20811+ {56, "EISCONN", "socket is already connected"},
20812+ {57, "ENOTCONN", "socket is not connected"},
20813+ {58, "ESHUTDOWN", "can't send after socket shutdown"},
20814+ {59, "ETOOMANYREFS", "too many references: can't splice"},
20815+ {60, "ETIMEDOUT", "operation timed out"},
20816+ {61, "ECONNREFUSED", "connection refused"},
20817+ {62, "ELOOP", "too many levels of symbolic links"},
20818+ {63, "ENAMETOOLONG", "file name too long"},
20819+ {64, "EHOSTDOWN", "host is down"},
20820+ {65, "EHOSTUNREACH", "no route to host"},
20821+ {66, "ENOTEMPTY", "directory not empty"},
20822+ {67, "EPROCLIM", "too many processes"},
20823+ {68, "EUSERS", "too many users"},
20824+ {69, "EDQUOT", "disc quota exceeded"},
20825+ {70, "ESTALE", "stale NFS file handle"},
20826+ {71, "EREMOTE", "too many levels of remote in path"},
20827+ {72, "EBADRPC", "RPC struct is bad"},
20828+ {73, "ERPCMISMATCH", "RPC version wrong"},
20829+ {74, "EPROGUNAVAIL", "RPC prog. not avail"},
20830+ {75, "EPROGMISMATCH", "program version wrong"},
20831+ {76, "EPROCUNAVAIL", "bad procedure for program"},
20832+ {77, "ENOLCK", "no locks available"},
20833+ {78, "ENOSYS", "function not implemented"},
20834+ {79, "EFTYPE", "inappropriate file type or format"},
20835+ {80, "EAUTH", "authentication error"},
20836+ {81, "ENEEDAUTH", "need authenticator"},
20837+ {82, "EIDRM", "identifier removed"},
20838+ {83, "ENOMSG", "no message of desired type"},
20839+ {84, "EOVERFLOW", "value too large to be stored in data type"},
20840+ {85, "ECANCELED", "operation canceled"},
20841+ {86, "EILSEQ", "illegal byte sequence"},
20842+ {87, "ENOATTR", "attribute not found"},
20843+ {88, "EDOOFUS", "programming error"},
20844+ {89, "EBADMSG", "bad message"},
20845+ {90, "EMULTIHOP", "multihop attempted"},
20846+ {91, "ENOLINK", "link has been severed"},
20847+ {92, "EPROTO", "protocol error"},
20848+ {93, "ENOTCAPABLE", "capabilities insufficient"},
20849+ {94, "ECAPMODE", "not permitted in capability mode"},
20850+ {95, "ENOTRECOVERABLE", "state not recoverable"},
20851+ {96, "EOWNERDEAD", "previous owner died"},
20852 }
20853
20854 // Signal table
20855-var signals = [...]string{
20856- 1: "hangup",
20857- 2: "interrupt",
20858- 3: "quit",
20859- 4: "illegal instruction",
20860- 5: "trace/BPT trap",
20861- 6: "abort trap",
20862- 7: "EMT trap",
20863- 8: "floating point exception",
20864- 9: "killed",
20865- 10: "bus error",
20866- 11: "segmentation fault",
20867- 12: "bad system call",
20868- 13: "broken pipe",
20869- 14: "alarm clock",
20870- 15: "terminated",
20871- 16: "urgent I/O condition",
20872- 17: "suspended (signal)",
20873- 18: "suspended",
20874- 19: "continued",
20875- 20: "child exited",
20876- 21: "stopped (tty input)",
20877- 22: "stopped (tty output)",
20878- 23: "I/O possible",
20879- 24: "cputime limit exceeded",
20880- 25: "filesize limit exceeded",
20881- 26: "virtual timer expired",
20882- 27: "profiling timer expired",
20883- 28: "window size changes",
20884- 29: "information request",
20885- 30: "user defined signal 1",
20886- 31: "user defined signal 2",
20887- 32: "unknown signal",
20888- 33: "unknown signal",
20889+var signalList = [...]struct {
20890+ num syscall.Signal
20891+ name string
20892+ desc string
20893+}{
20894+ {1, "SIGHUP", "hangup"},
20895+ {2, "SIGINT", "interrupt"},
20896+ {3, "SIGQUIT", "quit"},
20897+ {4, "SIGILL", "illegal instruction"},
20898+ {5, "SIGTRAP", "trace/BPT trap"},
20899+ {6, "SIGIOT", "abort trap"},
20900+ {7, "SIGEMT", "EMT trap"},
20901+ {8, "SIGFPE", "floating point exception"},
20902+ {9, "SIGKILL", "killed"},
20903+ {10, "SIGBUS", "bus error"},
20904+ {11, "SIGSEGV", "segmentation fault"},
20905+ {12, "SIGSYS", "bad system call"},
20906+ {13, "SIGPIPE", "broken pipe"},
20907+ {14, "SIGALRM", "alarm clock"},
20908+ {15, "SIGTERM", "terminated"},
20909+ {16, "SIGURG", "urgent I/O condition"},
20910+ {17, "SIGSTOP", "suspended (signal)"},
20911+ {18, "SIGTSTP", "suspended"},
20912+ {19, "SIGCONT", "continued"},
20913+ {20, "SIGCHLD", "child exited"},
20914+ {21, "SIGTTIN", "stopped (tty input)"},
20915+ {22, "SIGTTOU", "stopped (tty output)"},
20916+ {23, "SIGIO", "I/O possible"},
20917+ {24, "SIGXCPU", "cputime limit exceeded"},
20918+ {25, "SIGXFSZ", "filesize limit exceeded"},
20919+ {26, "SIGVTALRM", "virtual timer expired"},
20920+ {27, "SIGPROF", "profiling timer expired"},
20921+ {28, "SIGWINCH", "window size changes"},
20922+ {29, "SIGINFO", "information request"},
20923+ {30, "SIGUSR1", "user defined signal 1"},
20924+ {31, "SIGUSR2", "user defined signal 2"},
20925+ {32, "SIGTHR", "unknown signal"},
20926+ {33, "SIGLIBRT", "unknown signal"},
20927 }
20928diff --git a/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go
20929index ac094f9c..4acd101c 100644
20930--- a/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go
20931+++ b/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go
20932@@ -3,7 +3,7 @@
20933
20934 // +build amd64,freebsd
20935
20936-// Created by cgo -godefs - DO NOT EDIT
20937+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
20938 // cgo -godefs -- -m64 _const.go
20939
20940 package unix
20941@@ -351,8 +351,26 @@ const (
20942 CSTOP = 0x13
20943 CSTOPB = 0x400
20944 CSUSP = 0x1a
20945+ CTL_HW = 0x6
20946+ CTL_KERN = 0x1
20947 CTL_MAXNAME = 0x18
20948 CTL_NET = 0x4
20949+ DIOCGATTR = 0xc148648e
20950+ DIOCGDELETE = 0x80106488
20951+ DIOCGFLUSH = 0x20006487
20952+ DIOCGFRONTSTUFF = 0x40086486
20953+ DIOCGFWHEADS = 0x40046483
20954+ DIOCGFWSECTORS = 0x40046482
20955+ DIOCGIDENT = 0x41006489
20956+ DIOCGMEDIASIZE = 0x40086481
20957+ DIOCGPHYSPATH = 0x4400648d
20958+ DIOCGPROVIDERNAME = 0x4400648a
20959+ DIOCGSECTORSIZE = 0x40046480
20960+ DIOCGSTRIPEOFFSET = 0x4008648c
20961+ DIOCGSTRIPESIZE = 0x4008648b
20962+ DIOCSKERNELDUMP = 0x80506490
20963+ DIOCSKERNELDUMP_FREEBSD11 = 0x80046485
20964+ DIOCZONECMD = 0xc080648f
20965 DLT_A429 = 0xb8
20966 DLT_A653_ICM = 0xb9
20967 DLT_AIRONET_HEADER = 0x78
20968@@ -377,11 +395,14 @@ const (
20969 DLT_CHAOS = 0x5
20970 DLT_CHDLC = 0x68
20971 DLT_CISCO_IOS = 0x76
20972+ DLT_CLASS_NETBSD_RAWAF = 0x2240000
20973 DLT_C_HDLC = 0x68
20974 DLT_C_HDLC_WITH_DIR = 0xcd
20975 DLT_DBUS = 0xe7
20976 DLT_DECT = 0xdd
20977+ DLT_DISPLAYPORT_AUX = 0x113
20978 DLT_DOCSIS = 0x8f
20979+ DLT_DOCSIS31_XRA31 = 0x111
20980 DLT_DVB_CI = 0xeb
20981 DLT_ECONET = 0x73
20982 DLT_EN10MB = 0x1
20983@@ -391,6 +412,7 @@ const (
20984 DLT_ERF = 0xc5
20985 DLT_ERF_ETH = 0xaf
20986 DLT_ERF_POS = 0xb0
20987+ DLT_ETHERNET_MPACKET = 0x112
20988 DLT_FC_2 = 0xe0
20989 DLT_FC_2_WITH_FRAME_DELIMS = 0xe1
20990 DLT_FDDI = 0xa
20991@@ -404,7 +426,6 @@ const (
20992 DLT_GPRS_LLC = 0xa9
20993 DLT_GSMTAP_ABIS = 0xda
20994 DLT_GSMTAP_UM = 0xd9
20995- DLT_HHDLC = 0x79
20996 DLT_IBM_SN = 0x92
20997 DLT_IBM_SP = 0x91
20998 DLT_IEEE802 = 0x6
20999@@ -427,6 +448,7 @@ const (
21000 DLT_IPV4 = 0xe4
21001 DLT_IPV6 = 0xe5
21002 DLT_IP_OVER_FC = 0x7a
21003+ DLT_ISO_14443 = 0x108
21004 DLT_JUNIPER_ATM1 = 0x89
21005 DLT_JUNIPER_ATM2 = 0x87
21006 DLT_JUNIPER_ATM_CEMIC = 0xee
21007@@ -459,8 +481,9 @@ const (
21008 DLT_LINUX_PPP_WITHDIRECTION = 0xa6
21009 DLT_LINUX_SLL = 0x71
21010 DLT_LOOP = 0x6c
21011+ DLT_LORATAP = 0x10e
21012 DLT_LTALK = 0x72
21013- DLT_MATCHING_MAX = 0x104
21014+ DLT_MATCHING_MAX = 0x113
21015 DLT_MATCHING_MIN = 0x68
21016 DLT_MFR = 0xb6
21017 DLT_MOST = 0xd3
21018@@ -476,14 +499,16 @@ const (
21019 DLT_NFC_LLCP = 0xf5
21020 DLT_NFLOG = 0xef
21021 DLT_NG40 = 0xf4
21022+ DLT_NORDIC_BLE = 0x110
21023 DLT_NULL = 0x0
21024+ DLT_OPENFLOW = 0x10b
21025 DLT_PCI_EXP = 0x7d
21026 DLT_PFLOG = 0x75
21027 DLT_PFSYNC = 0x79
21028 DLT_PKTAP = 0x102
21029 DLT_PPI = 0xc0
21030 DLT_PPP = 0x9
21031- DLT_PPP_BSDOS = 0x10
21032+ DLT_PPP_BSDOS = 0xe
21033 DLT_PPP_ETHER = 0x33
21034 DLT_PPP_PPPD = 0xa6
21035 DLT_PPP_SERIAL = 0x32
21036@@ -494,19 +519,25 @@ const (
21037 DLT_PRONET = 0x4
21038 DLT_RAIF1 = 0xc6
21039 DLT_RAW = 0xc
21040+ DLT_RDS = 0x109
21041+ DLT_REDBACK_SMARTEDGE = 0x20
21042 DLT_RIO = 0x7c
21043 DLT_RTAC_SERIAL = 0xfa
21044 DLT_SCCP = 0x8e
21045 DLT_SCTP = 0xf8
21046+ DLT_SDLC = 0x10c
21047 DLT_SITA = 0xc4
21048 DLT_SLIP = 0x8
21049- DLT_SLIP_BSDOS = 0xf
21050+ DLT_SLIP_BSDOS = 0xd
21051 DLT_STANAG_5066_D_PDU = 0xed
21052 DLT_SUNATM = 0x7b
21053 DLT_SYMANTEC_FIREWALL = 0x63
21054+ DLT_TI_LLN_SNIFFER = 0x10d
21055 DLT_TZSP = 0x80
21056 DLT_USB = 0xba
21057 DLT_USBPCAP = 0xf9
21058+ DLT_USB_DARWIN = 0x10a
21059+ DLT_USB_FREEBSD = 0xba
21060 DLT_USB_LINUX = 0xbd
21061 DLT_USB_LINUX_MMAPPED = 0xdc
21062 DLT_USER0 = 0x93
21063@@ -525,10 +556,14 @@ const (
21064 DLT_USER7 = 0x9a
21065 DLT_USER8 = 0x9b
21066 DLT_USER9 = 0x9c
21067+ DLT_VSOCK = 0x10f
21068+ DLT_WATTSTOPPER_DLM = 0x107
21069 DLT_WIHART = 0xdf
21070 DLT_WIRESHARK_UPPER_PDU = 0xfc
21071 DLT_X2E_SERIAL = 0xd5
21072 DLT_X2E_XORAYA = 0xd6
21073+ DLT_ZWAVE_R1_R2 = 0x105
21074+ DLT_ZWAVE_R3 = 0x106
21075 DT_BLK = 0x6
21076 DT_CHR = 0x2
21077 DT_DIR = 0x4
21078@@ -546,6 +581,7 @@ const (
21079 ECHONL = 0x10
21080 ECHOPRT = 0x20
21081 EVFILT_AIO = -0x3
21082+ EVFILT_EMPTY = -0xd
21083 EVFILT_FS = -0x9
21084 EVFILT_LIO = -0xa
21085 EVFILT_PROC = -0x5
21086@@ -553,11 +589,12 @@ const (
21087 EVFILT_READ = -0x1
21088 EVFILT_SENDFILE = -0xc
21089 EVFILT_SIGNAL = -0x6
21090- EVFILT_SYSCOUNT = 0xc
21091+ EVFILT_SYSCOUNT = 0xd
21092 EVFILT_TIMER = -0x7
21093 EVFILT_USER = -0xb
21094 EVFILT_VNODE = -0x4
21095 EVFILT_WRITE = -0x2
21096+ EVNAMEMAP_NAME_SIZE = 0x40
21097 EV_ADD = 0x1
21098 EV_CLEAR = 0x20
21099 EV_DELETE = 0x2
21100@@ -574,6 +611,7 @@ const (
21101 EV_RECEIPT = 0x40
21102 EV_SYSFLAGS = 0xf000
21103 EXTA = 0x4b00
21104+ EXTATTR_MAXNAMELEN = 0xff
21105 EXTATTR_NAMESPACE_EMPTY = 0x0
21106 EXTATTR_NAMESPACE_SYSTEM = 0x2
21107 EXTATTR_NAMESPACE_USER = 0x1
21108@@ -608,12 +646,14 @@ const (
21109 F_UNLCKSYS = 0x4
21110 F_WRLCK = 0x3
21111 HUPCL = 0x4000
21112+ HW_MACHINE = 0x1
21113 ICANON = 0x100
21114 ICMP6_FILTER = 0x12
21115 ICRNL = 0x100
21116 IEXTEN = 0x400
21117 IFAN_ARRIVAL = 0x0
21118 IFAN_DEPARTURE = 0x1
21119+ IFCAP_WOL_MAGIC = 0x2000
21120 IFF_ALLMULTI = 0x200
21121 IFF_ALTPHYS = 0x4000
21122 IFF_BROADCAST = 0x2
21123@@ -630,6 +670,7 @@ const (
21124 IFF_MONITOR = 0x40000
21125 IFF_MULTICAST = 0x8000
21126 IFF_NOARP = 0x80
21127+ IFF_NOGROUP = 0x800000
21128 IFF_OACTIVE = 0x400
21129 IFF_POINTOPOINT = 0x10
21130 IFF_PPROMISC = 0x20000
21131@@ -804,6 +845,7 @@ const (
21132 IPV6_DSTOPTS = 0x32
21133 IPV6_FLOWID = 0x43
21134 IPV6_FLOWINFO_MASK = 0xffffff0f
21135+ IPV6_FLOWLABEL_LEN = 0x14
21136 IPV6_FLOWLABEL_MASK = 0xffff0f00
21137 IPV6_FLOWTYPE = 0x44
21138 IPV6_FRAGTTL = 0x78
21139@@ -824,13 +866,13 @@ const (
21140 IPV6_MAX_GROUP_SRC_FILTER = 0x200
21141 IPV6_MAX_MEMBERSHIPS = 0xfff
21142 IPV6_MAX_SOCK_SRC_FILTER = 0x80
21143- IPV6_MIN_MEMBERSHIPS = 0x1f
21144 IPV6_MMTU = 0x500
21145 IPV6_MSFILTER = 0x4a
21146 IPV6_MULTICAST_HOPS = 0xa
21147 IPV6_MULTICAST_IF = 0x9
21148 IPV6_MULTICAST_LOOP = 0xb
21149 IPV6_NEXTHOP = 0x30
21150+ IPV6_ORIGDSTADDR = 0x48
21151 IPV6_PATHMTU = 0x2c
21152 IPV6_PKTINFO = 0x2e
21153 IPV6_PORTRANGE = 0xe
21154@@ -842,6 +884,7 @@ const (
21155 IPV6_RECVFLOWID = 0x46
21156 IPV6_RECVHOPLIMIT = 0x25
21157 IPV6_RECVHOPOPTS = 0x27
21158+ IPV6_RECVORIGDSTADDR = 0x48
21159 IPV6_RECVPATHMTU = 0x2b
21160 IPV6_RECVPKTINFO = 0x24
21161 IPV6_RECVRSSBUCKETID = 0x47
21162@@ -902,10 +945,8 @@ const (
21163 IP_MAX_MEMBERSHIPS = 0xfff
21164 IP_MAX_SOCK_MUTE_FILTER = 0x80
21165 IP_MAX_SOCK_SRC_FILTER = 0x80
21166- IP_MAX_SOURCE_FILTER = 0x400
21167 IP_MF = 0x2000
21168 IP_MINTTL = 0x42
21169- IP_MIN_MEMBERSHIPS = 0x1f
21170 IP_MSFILTER = 0x4a
21171 IP_MSS = 0x240
21172 IP_MULTICAST_IF = 0x9
21173@@ -915,6 +956,7 @@ const (
21174 IP_OFFMASK = 0x1fff
21175 IP_ONESBCAST = 0x17
21176 IP_OPTIONS = 0x1
21177+ IP_ORIGDSTADDR = 0x1b
21178 IP_PORTRANGE = 0x13
21179 IP_PORTRANGE_DEFAULT = 0x0
21180 IP_PORTRANGE_HIGH = 0x1
21181@@ -923,6 +965,7 @@ const (
21182 IP_RECVFLOWID = 0x5d
21183 IP_RECVIF = 0x14
21184 IP_RECVOPTS = 0x5
21185+ IP_RECVORIGDSTADDR = 0x1b
21186 IP_RECVRETOPTS = 0x6
21187 IP_RECVRSSBUCKETID = 0x5e
21188 IP_RECVTOS = 0x44
21189@@ -944,6 +987,10 @@ const (
21190 IXANY = 0x800
21191 IXOFF = 0x400
21192 IXON = 0x200
21193+ KERN_HOSTNAME = 0xa
21194+ KERN_OSRELEASE = 0x2
21195+ KERN_OSTYPE = 0x1
21196+ KERN_VERSION = 0x4
21197 LOCK_EX = 0x2
21198 LOCK_NB = 0x4
21199 LOCK_SH = 0x1
21200@@ -969,6 +1016,7 @@ const (
21201 MAP_EXCL = 0x4000
21202 MAP_FILE = 0x0
21203 MAP_FIXED = 0x10
21204+ MAP_GUARD = 0x2000
21205 MAP_HASSEMAPHORE = 0x200
21206 MAP_NOCORE = 0x20000
21207 MAP_NOSYNC = 0x800
21208@@ -980,8 +1028,62 @@ const (
21209 MAP_RESERVED0100 = 0x100
21210 MAP_SHARED = 0x1
21211 MAP_STACK = 0x400
21212+ MCAST_BLOCK_SOURCE = 0x54
21213+ MCAST_EXCLUDE = 0x2
21214+ MCAST_INCLUDE = 0x1
21215+ MCAST_JOIN_GROUP = 0x50
21216+ MCAST_JOIN_SOURCE_GROUP = 0x52
21217+ MCAST_LEAVE_GROUP = 0x51
21218+ MCAST_LEAVE_SOURCE_GROUP = 0x53
21219+ MCAST_UNBLOCK_SOURCE = 0x55
21220+ MCAST_UNDEFINED = 0x0
21221 MCL_CURRENT = 0x1
21222 MCL_FUTURE = 0x2
21223+ MNT_ACLS = 0x8000000
21224+ MNT_ASYNC = 0x40
21225+ MNT_AUTOMOUNTED = 0x200000000
21226+ MNT_BYFSID = 0x8000000
21227+ MNT_CMDFLAGS = 0xd0f0000
21228+ MNT_DEFEXPORTED = 0x200
21229+ MNT_DELEXPORT = 0x20000
21230+ MNT_EXKERB = 0x800
21231+ MNT_EXPORTANON = 0x400
21232+ MNT_EXPORTED = 0x100
21233+ MNT_EXPUBLIC = 0x20000000
21234+ MNT_EXRDONLY = 0x80
21235+ MNT_FORCE = 0x80000
21236+ MNT_GJOURNAL = 0x2000000
21237+ MNT_IGNORE = 0x800000
21238+ MNT_LAZY = 0x3
21239+ MNT_LOCAL = 0x1000
21240+ MNT_MULTILABEL = 0x4000000
21241+ MNT_NFS4ACLS = 0x10
21242+ MNT_NOATIME = 0x10000000
21243+ MNT_NOCLUSTERR = 0x40000000
21244+ MNT_NOCLUSTERW = 0x80000000
21245+ MNT_NOEXEC = 0x4
21246+ MNT_NONBUSY = 0x4000000
21247+ MNT_NOSUID = 0x8
21248+ MNT_NOSYMFOLLOW = 0x400000
21249+ MNT_NOWAIT = 0x2
21250+ MNT_QUOTA = 0x2000
21251+ MNT_RDONLY = 0x1
21252+ MNT_RELOAD = 0x40000
21253+ MNT_ROOTFS = 0x4000
21254+ MNT_SNAPSHOT = 0x1000000
21255+ MNT_SOFTDEP = 0x200000
21256+ MNT_SUIDDIR = 0x100000
21257+ MNT_SUJ = 0x100000000
21258+ MNT_SUSPEND = 0x4
21259+ MNT_SYNCHRONOUS = 0x2
21260+ MNT_UNION = 0x20
21261+ MNT_UNTRUSTED = 0x800000000
21262+ MNT_UPDATE = 0x10000
21263+ MNT_UPDATEMASK = 0xad8d0807e
21264+ MNT_USER = 0x8000
21265+ MNT_VERIFIED = 0x400000000
21266+ MNT_VISFLAGMASK = 0xffef0ffff
21267+ MNT_WAIT = 0x1
21268 MSG_CMSG_CLOEXEC = 0x40000
21269 MSG_COMPAT = 0x8000
21270 MSG_CTRUNC = 0x20
21271@@ -1006,8 +1108,10 @@ const (
21272 NET_RT_IFLIST = 0x3
21273 NET_RT_IFLISTL = 0x5
21274 NET_RT_IFMALIST = 0x4
21275+ NFDBITS = 0x40
21276 NOFLSH = 0x80000000
21277 NOKERNINFO = 0x2000000
21278+ NOTE_ABSTIME = 0x10
21279 NOTE_ATTRIB = 0x8
21280 NOTE_CHILD = 0x4
21281 NOTE_CLOSE = 0x100
21282@@ -1162,7 +1266,6 @@ const (
21283 RTV_WEIGHT = 0x100
21284 RT_ALL_FIBS = -0x1
21285 RT_BLACKHOLE = 0x40
21286- RT_CACHING_CONTEXT = 0x1
21287 RT_DEFAULT_FIB = 0x0
21288 RT_HAS_GW = 0x80
21289 RT_HAS_HEADER = 0x10
21290@@ -1172,15 +1275,17 @@ const (
21291 RT_LLE_CACHE = 0x100
21292 RT_MAY_LOOP = 0x8
21293 RT_MAY_LOOP_BIT = 0x3
21294- RT_NORTREF = 0x2
21295 RT_REJECT = 0x20
21296 RUSAGE_CHILDREN = -0x1
21297 RUSAGE_SELF = 0x0
21298 RUSAGE_THREAD = 0x1
21299 SCM_BINTIME = 0x4
21300 SCM_CREDS = 0x3
21301+ SCM_MONOTONIC = 0x6
21302+ SCM_REALTIME = 0x5
21303 SCM_RIGHTS = 0x1
21304 SCM_TIMESTAMP = 0x2
21305+ SCM_TIME_INFO = 0x7
21306 SHUT_RD = 0x0
21307 SHUT_RDWR = 0x2
21308 SHUT_WR = 0x1
21309@@ -1196,6 +1301,7 @@ const (
21310 SIOCGETSGCNT = 0xc0207210
21311 SIOCGETVIFCNT = 0xc028720f
21312 SIOCGHIWAT = 0x40047301
21313+ SIOCGHWADDR = 0xc020693e
21314 SIOCGI2C = 0xc020693d
21315 SIOCGIFADDR = 0xc0206921
21316 SIOCGIFBRDADDR = 0xc0206923
21317@@ -1217,8 +1323,11 @@ const (
21318 SIOCGIFPDSTADDR = 0xc0206948
21319 SIOCGIFPHYS = 0xc0206935
21320 SIOCGIFPSRCADDR = 0xc0206947
21321+ SIOCGIFRSSHASH = 0xc0186997
21322+ SIOCGIFRSSKEY = 0xc0946996
21323 SIOCGIFSTATUS = 0xc331693b
21324 SIOCGIFXMEDIA = 0xc030698b
21325+ SIOCGLANPCP = 0xc0206998
21326 SIOCGLOWAT = 0x40047303
21327 SIOCGPGRP = 0x40047309
21328 SIOCGPRIVATE_0 = 0xc0206950
21329@@ -1249,6 +1358,7 @@ const (
21330 SIOCSIFPHYS = 0x80206936
21331 SIOCSIFRVNET = 0xc020695b
21332 SIOCSIFVNET = 0xc020695a
21333+ SIOCSLANPCP = 0x80206999
21334 SIOCSLOWAT = 0x80047302
21335 SIOCSPGRP = 0x80047308
21336 SIOCSTUNFIB = 0x8020695f
21337@@ -1267,6 +1377,7 @@ const (
21338 SO_BINTIME = 0x2000
21339 SO_BROADCAST = 0x20
21340 SO_DEBUG = 0x1
21341+ SO_DOMAIN = 0x1019
21342 SO_DONTROUTE = 0x10
21343 SO_ERROR = 0x1007
21344 SO_KEEPALIVE = 0x8
21345@@ -1275,6 +1386,7 @@ const (
21346 SO_LISTENINCQLEN = 0x1013
21347 SO_LISTENQLEN = 0x1012
21348 SO_LISTENQLIMIT = 0x1011
21349+ SO_MAX_PACING_RATE = 0x1018
21350 SO_NOSIGPIPE = 0x800
21351 SO_NO_DDP = 0x8000
21352 SO_NO_OFFLOAD = 0x4000
21353@@ -1287,15 +1399,52 @@ const (
21354 SO_RCVTIMEO = 0x1006
21355 SO_REUSEADDR = 0x4
21356 SO_REUSEPORT = 0x200
21357+ SO_REUSEPORT_LB = 0x10000
21358 SO_SETFIB = 0x1014
21359 SO_SNDBUF = 0x1001
21360 SO_SNDLOWAT = 0x1003
21361 SO_SNDTIMEO = 0x1005
21362 SO_TIMESTAMP = 0x400
21363+ SO_TS_BINTIME = 0x1
21364+ SO_TS_CLOCK = 0x1017
21365+ SO_TS_CLOCK_MAX = 0x3
21366+ SO_TS_DEFAULT = 0x0
21367+ SO_TS_MONOTONIC = 0x3
21368+ SO_TS_REALTIME = 0x2
21369+ SO_TS_REALTIME_MICRO = 0x0
21370 SO_TYPE = 0x1008
21371 SO_USELOOPBACK = 0x40
21372 SO_USER_COOKIE = 0x1015
21373 SO_VENDOR = 0x80000000
21374+ S_BLKSIZE = 0x200
21375+ S_IEXEC = 0x40
21376+ S_IFBLK = 0x6000
21377+ S_IFCHR = 0x2000
21378+ S_IFDIR = 0x4000
21379+ S_IFIFO = 0x1000
21380+ S_IFLNK = 0xa000
21381+ S_IFMT = 0xf000
21382+ S_IFREG = 0x8000
21383+ S_IFSOCK = 0xc000
21384+ S_IFWHT = 0xe000
21385+ S_IREAD = 0x100
21386+ S_IRGRP = 0x20
21387+ S_IROTH = 0x4
21388+ S_IRUSR = 0x100
21389+ S_IRWXG = 0x38
21390+ S_IRWXO = 0x7
21391+ S_IRWXU = 0x1c0
21392+ S_ISGID = 0x400
21393+ S_ISTXT = 0x200
21394+ S_ISUID = 0x800
21395+ S_ISVTX = 0x200
21396+ S_IWGRP = 0x10
21397+ S_IWOTH = 0x2
21398+ S_IWRITE = 0x80
21399+ S_IWUSR = 0x80
21400+ S_IXGRP = 0x8
21401+ S_IXOTH = 0x1
21402+ S_IXUSR = 0x40
21403 TAB0 = 0x0
21404 TAB3 = 0x4
21405 TABDLY = 0x4
21406@@ -1306,10 +1455,45 @@ const (
21407 TCOFLUSH = 0x2
21408 TCOOFF = 0x1
21409 TCOON = 0x2
21410+ TCP_BBR_ACK_COMP_ALG = 0x448
21411+ TCP_BBR_DRAIN_INC_EXTRA = 0x43c
21412+ TCP_BBR_DRAIN_PG = 0x42e
21413+ TCP_BBR_EXTRA_GAIN = 0x449
21414+ TCP_BBR_IWINTSO = 0x42b
21415+ TCP_BBR_LOWGAIN_FD = 0x436
21416+ TCP_BBR_LOWGAIN_HALF = 0x435
21417+ TCP_BBR_LOWGAIN_THRESH = 0x434
21418+ TCP_BBR_MAX_RTO = 0x439
21419+ TCP_BBR_MIN_RTO = 0x438
21420+ TCP_BBR_ONE_RETRAN = 0x431
21421+ TCP_BBR_PACE_CROSS = 0x442
21422+ TCP_BBR_PACE_DEL_TAR = 0x43f
21423+ TCP_BBR_PACE_PER_SEC = 0x43e
21424+ TCP_BBR_PACE_SEG_MAX = 0x440
21425+ TCP_BBR_PACE_SEG_MIN = 0x441
21426+ TCP_BBR_PROBE_RTT_GAIN = 0x44d
21427+ TCP_BBR_PROBE_RTT_INT = 0x430
21428+ TCP_BBR_PROBE_RTT_LEN = 0x44e
21429+ TCP_BBR_RACK_RTT_USE = 0x44a
21430+ TCP_BBR_RECFORCE = 0x42c
21431+ TCP_BBR_REC_OVER_HPTS = 0x43a
21432+ TCP_BBR_RETRAN_WTSO = 0x44b
21433+ TCP_BBR_RWND_IS_APP = 0x42f
21434+ TCP_BBR_STARTUP_EXIT_EPOCH = 0x43d
21435+ TCP_BBR_STARTUP_LOSS_EXIT = 0x432
21436+ TCP_BBR_STARTUP_PG = 0x42d
21437+ TCP_BBR_UNLIMITED = 0x43b
21438+ TCP_BBR_USEDEL_RATE = 0x437
21439+ TCP_BBR_USE_LOWGAIN = 0x433
21440 TCP_CA_NAME_MAX = 0x10
21441 TCP_CCALGOOPT = 0x41
21442 TCP_CONGESTION = 0x40
21443+ TCP_DATA_AFTER_CLOSE = 0x44c
21444+ TCP_DELACK = 0x48
21445 TCP_FASTOPEN = 0x401
21446+ TCP_FASTOPEN_MAX_COOKIE_LEN = 0x10
21447+ TCP_FASTOPEN_MIN_COOKIE_LEN = 0x4
21448+ TCP_FASTOPEN_PSK_LEN = 0x10
21449 TCP_FUNCTION_BLK = 0x2000
21450 TCP_FUNCTION_NAME_LEN_MAX = 0x20
21451 TCP_INFO = 0x20
21452@@ -1317,6 +1501,12 @@ const (
21453 TCP_KEEPIDLE = 0x100
21454 TCP_KEEPINIT = 0x80
21455 TCP_KEEPINTVL = 0x200
21456+ TCP_LOG = 0x22
21457+ TCP_LOGBUF = 0x23
21458+ TCP_LOGDUMP = 0x25
21459+ TCP_LOGDUMPID = 0x26
21460+ TCP_LOGID = 0x24
21461+ TCP_LOG_ID_LEN = 0x40
21462 TCP_MAXBURST = 0x4
21463 TCP_MAXHLEN = 0x3c
21464 TCP_MAXOLEN = 0x28
21465@@ -1332,8 +1522,30 @@ const (
21466 TCP_NOPUSH = 0x4
21467 TCP_PCAP_IN = 0x1000
21468 TCP_PCAP_OUT = 0x800
21469+ TCP_RACK_EARLY_RECOV = 0x423
21470+ TCP_RACK_EARLY_SEG = 0x424
21471+ TCP_RACK_IDLE_REDUCE_HIGH = 0x444
21472+ TCP_RACK_MIN_PACE = 0x445
21473+ TCP_RACK_MIN_PACE_SEG = 0x446
21474+ TCP_RACK_MIN_TO = 0x422
21475+ TCP_RACK_PACE_ALWAYS = 0x41f
21476+ TCP_RACK_PACE_MAX_SEG = 0x41e
21477+ TCP_RACK_PACE_REDUCE = 0x41d
21478+ TCP_RACK_PKT_DELAY = 0x428
21479+ TCP_RACK_PROP = 0x41b
21480+ TCP_RACK_PROP_RATE = 0x420
21481+ TCP_RACK_PRR_SENDALOT = 0x421
21482+ TCP_RACK_REORD_FADE = 0x426
21483+ TCP_RACK_REORD_THRESH = 0x425
21484+ TCP_RACK_SESS_CWV = 0x42a
21485+ TCP_RACK_TLP_INC_VAR = 0x429
21486+ TCP_RACK_TLP_REDUCE = 0x41c
21487+ TCP_RACK_TLP_THRESH = 0x427
21488+ TCP_RACK_TLP_USE = 0x447
21489 TCP_VENDOR = 0x80000000
21490 TCSAFLUSH = 0x2
21491+ TIMER_ABSTIME = 0x1
21492+ TIMER_RELTIME = 0x0
21493 TIOCCBRK = 0x2000747a
21494 TIOCCDTR = 0x20007478
21495 TIOCCONS = 0x80047462
21496@@ -1397,6 +1609,8 @@ const (
21497 TIOCTIMESTAMP = 0x40107459
21498 TIOCUCNTL = 0x80047466
21499 TOSTOP = 0x400000
21500+ UTIME_NOW = -0x1
21501+ UTIME_OMIT = -0x2
21502 VDISCARD = 0xf
21503 VDSUSP = 0xb
21504 VEOF = 0x0
21505@@ -1570,138 +1784,146 @@ const (
21506 )
21507
21508 // Error table
21509-var errors = [...]string{
21510- 1: "operation not permitted",
21511- 2: "no such file or directory",
21512- 3: "no such process",
21513- 4: "interrupted system call",
21514- 5: "input/output error",
21515- 6: "device not configured",
21516- 7: "argument list too long",
21517- 8: "exec format error",
21518- 9: "bad file descriptor",
21519- 10: "no child processes",
21520- 11: "resource deadlock avoided",
21521- 12: "cannot allocate memory",
21522- 13: "permission denied",
21523- 14: "bad address",
21524- 15: "block device required",
21525- 16: "device busy",
21526- 17: "file exists",
21527- 18: "cross-device link",
21528- 19: "operation not supported by device",
21529- 20: "not a directory",
21530- 21: "is a directory",
21531- 22: "invalid argument",
21532- 23: "too many open files in system",
21533- 24: "too many open files",
21534- 25: "inappropriate ioctl for device",
21535- 26: "text file busy",
21536- 27: "file too large",
21537- 28: "no space left on device",
21538- 29: "illegal seek",
21539- 30: "read-only file system",
21540- 31: "too many links",
21541- 32: "broken pipe",
21542- 33: "numerical argument out of domain",
21543- 34: "result too large",
21544- 35: "resource temporarily unavailable",
21545- 36: "operation now in progress",
21546- 37: "operation already in progress",
21547- 38: "socket operation on non-socket",
21548- 39: "destination address required",
21549- 40: "message too long",
21550- 41: "protocol wrong type for socket",
21551- 42: "protocol not available",
21552- 43: "protocol not supported",
21553- 44: "socket type not supported",
21554- 45: "operation not supported",
21555- 46: "protocol family not supported",
21556- 47: "address family not supported by protocol family",
21557- 48: "address already in use",
21558- 49: "can't assign requested address",
21559- 50: "network is down",
21560- 51: "network is unreachable",
21561- 52: "network dropped connection on reset",
21562- 53: "software caused connection abort",
21563- 54: "connection reset by peer",
21564- 55: "no buffer space available",
21565- 56: "socket is already connected",
21566- 57: "socket is not connected",
21567- 58: "can't send after socket shutdown",
21568- 59: "too many references: can't splice",
21569- 60: "operation timed out",
21570- 61: "connection refused",
21571- 62: "too many levels of symbolic links",
21572- 63: "file name too long",
21573- 64: "host is down",
21574- 65: "no route to host",
21575- 66: "directory not empty",
21576- 67: "too many processes",
21577- 68: "too many users",
21578- 69: "disc quota exceeded",
21579- 70: "stale NFS file handle",
21580- 71: "too many levels of remote in path",
21581- 72: "RPC struct is bad",
21582- 73: "RPC version wrong",
21583- 74: "RPC prog. not avail",
21584- 75: "program version wrong",
21585- 76: "bad procedure for program",
21586- 77: "no locks available",
21587- 78: "function not implemented",
21588- 79: "inappropriate file type or format",
21589- 80: "authentication error",
21590- 81: "need authenticator",
21591- 82: "identifier removed",
21592- 83: "no message of desired type",
21593- 84: "value too large to be stored in data type",
21594- 85: "operation canceled",
21595- 86: "illegal byte sequence",
21596- 87: "attribute not found",
21597- 88: "programming error",
21598- 89: "bad message",
21599- 90: "multihop attempted",
21600- 91: "link has been severed",
21601- 92: "protocol error",
21602- 93: "capabilities insufficient",
21603- 94: "not permitted in capability mode",
21604- 95: "state not recoverable",
21605- 96: "previous owner died",
21606+var errorList = [...]struct {
21607+ num syscall.Errno
21608+ name string
21609+ desc string
21610+}{
21611+ {1, "EPERM", "operation not permitted"},
21612+ {2, "ENOENT", "no such file or directory"},
21613+ {3, "ESRCH", "no such process"},
21614+ {4, "EINTR", "interrupted system call"},
21615+ {5, "EIO", "input/output error"},
21616+ {6, "ENXIO", "device not configured"},
21617+ {7, "E2BIG", "argument list too long"},
21618+ {8, "ENOEXEC", "exec format error"},
21619+ {9, "EBADF", "bad file descriptor"},
21620+ {10, "ECHILD", "no child processes"},
21621+ {11, "EDEADLK", "resource deadlock avoided"},
21622+ {12, "ENOMEM", "cannot allocate memory"},
21623+ {13, "EACCES", "permission denied"},
21624+ {14, "EFAULT", "bad address"},
21625+ {15, "ENOTBLK", "block device required"},
21626+ {16, "EBUSY", "device busy"},
21627+ {17, "EEXIST", "file exists"},
21628+ {18, "EXDEV", "cross-device link"},
21629+ {19, "ENODEV", "operation not supported by device"},
21630+ {20, "ENOTDIR", "not a directory"},
21631+ {21, "EISDIR", "is a directory"},
21632+ {22, "EINVAL", "invalid argument"},
21633+ {23, "ENFILE", "too many open files in system"},
21634+ {24, "EMFILE", "too many open files"},
21635+ {25, "ENOTTY", "inappropriate ioctl for device"},
21636+ {26, "ETXTBSY", "text file busy"},
21637+ {27, "EFBIG", "file too large"},
21638+ {28, "ENOSPC", "no space left on device"},
21639+ {29, "ESPIPE", "illegal seek"},
21640+ {30, "EROFS", "read-only file system"},
21641+ {31, "EMLINK", "too many links"},
21642+ {32, "EPIPE", "broken pipe"},
21643+ {33, "EDOM", "numerical argument out of domain"},
21644+ {34, "ERANGE", "result too large"},
21645+ {35, "EAGAIN", "resource temporarily unavailable"},
21646+ {36, "EINPROGRESS", "operation now in progress"},
21647+ {37, "EALREADY", "operation already in progress"},
21648+ {38, "ENOTSOCK", "socket operation on non-socket"},
21649+ {39, "EDESTADDRREQ", "destination address required"},
21650+ {40, "EMSGSIZE", "message too long"},
21651+ {41, "EPROTOTYPE", "protocol wrong type for socket"},
21652+ {42, "ENOPROTOOPT", "protocol not available"},
21653+ {43, "EPROTONOSUPPORT", "protocol not supported"},
21654+ {44, "ESOCKTNOSUPPORT", "socket type not supported"},
21655+ {45, "EOPNOTSUPP", "operation not supported"},
21656+ {46, "EPFNOSUPPORT", "protocol family not supported"},
21657+ {47, "EAFNOSUPPORT", "address family not supported by protocol family"},
21658+ {48, "EADDRINUSE", "address already in use"},
21659+ {49, "EADDRNOTAVAIL", "can't assign requested address"},
21660+ {50, "ENETDOWN", "network is down"},
21661+ {51, "ENETUNREACH", "network is unreachable"},
21662+ {52, "ENETRESET", "network dropped connection on reset"},
21663+ {53, "ECONNABORTED", "software caused connection abort"},
21664+ {54, "ECONNRESET", "connection reset by peer"},
21665+ {55, "ENOBUFS", "no buffer space available"},
21666+ {56, "EISCONN", "socket is already connected"},
21667+ {57, "ENOTCONN", "socket is not connected"},
21668+ {58, "ESHUTDOWN", "can't send after socket shutdown"},
21669+ {59, "ETOOMANYREFS", "too many references: can't splice"},
21670+ {60, "ETIMEDOUT", "operation timed out"},
21671+ {61, "ECONNREFUSED", "connection refused"},
21672+ {62, "ELOOP", "too many levels of symbolic links"},
21673+ {63, "ENAMETOOLONG", "file name too long"},
21674+ {64, "EHOSTDOWN", "host is down"},
21675+ {65, "EHOSTUNREACH", "no route to host"},
21676+ {66, "ENOTEMPTY", "directory not empty"},
21677+ {67, "EPROCLIM", "too many processes"},
21678+ {68, "EUSERS", "too many users"},
21679+ {69, "EDQUOT", "disc quota exceeded"},
21680+ {70, "ESTALE", "stale NFS file handle"},
21681+ {71, "EREMOTE", "too many levels of remote in path"},
21682+ {72, "EBADRPC", "RPC struct is bad"},
21683+ {73, "ERPCMISMATCH", "RPC version wrong"},
21684+ {74, "EPROGUNAVAIL", "RPC prog. not avail"},
21685+ {75, "EPROGMISMATCH", "program version wrong"},
21686+ {76, "EPROCUNAVAIL", "bad procedure for program"},
21687+ {77, "ENOLCK", "no locks available"},
21688+ {78, "ENOSYS", "function not implemented"},
21689+ {79, "EFTYPE", "inappropriate file type or format"},
21690+ {80, "EAUTH", "authentication error"},
21691+ {81, "ENEEDAUTH", "need authenticator"},
21692+ {82, "EIDRM", "identifier removed"},
21693+ {83, "ENOMSG", "no message of desired type"},
21694+ {84, "EOVERFLOW", "value too large to be stored in data type"},
21695+ {85, "ECANCELED", "operation canceled"},
21696+ {86, "EILSEQ", "illegal byte sequence"},
21697+ {87, "ENOATTR", "attribute not found"},
21698+ {88, "EDOOFUS", "programming error"},
21699+ {89, "EBADMSG", "bad message"},
21700+ {90, "EMULTIHOP", "multihop attempted"},
21701+ {91, "ENOLINK", "link has been severed"},
21702+ {92, "EPROTO", "protocol error"},
21703+ {93, "ENOTCAPABLE", "capabilities insufficient"},
21704+ {94, "ECAPMODE", "not permitted in capability mode"},
21705+ {95, "ENOTRECOVERABLE", "state not recoverable"},
21706+ {96, "EOWNERDEAD", "previous owner died"},
21707 }
21708
21709 // Signal table
21710-var signals = [...]string{
21711- 1: "hangup",
21712- 2: "interrupt",
21713- 3: "quit",
21714- 4: "illegal instruction",
21715- 5: "trace/BPT trap",
21716- 6: "abort trap",
21717- 7: "EMT trap",
21718- 8: "floating point exception",
21719- 9: "killed",
21720- 10: "bus error",
21721- 11: "segmentation fault",
21722- 12: "bad system call",
21723- 13: "broken pipe",
21724- 14: "alarm clock",
21725- 15: "terminated",
21726- 16: "urgent I/O condition",
21727- 17: "suspended (signal)",
21728- 18: "suspended",
21729- 19: "continued",
21730- 20: "child exited",
21731- 21: "stopped (tty input)",
21732- 22: "stopped (tty output)",
21733- 23: "I/O possible",
21734- 24: "cputime limit exceeded",
21735- 25: "filesize limit exceeded",
21736- 26: "virtual timer expired",
21737- 27: "profiling timer expired",
21738- 28: "window size changes",
21739- 29: "information request",
21740- 30: "user defined signal 1",
21741- 31: "user defined signal 2",
21742- 32: "unknown signal",
21743- 33: "unknown signal",
21744+var signalList = [...]struct {
21745+ num syscall.Signal
21746+ name string
21747+ desc string
21748+}{
21749+ {1, "SIGHUP", "hangup"},
21750+ {2, "SIGINT", "interrupt"},
21751+ {3, "SIGQUIT", "quit"},
21752+ {4, "SIGILL", "illegal instruction"},
21753+ {5, "SIGTRAP", "trace/BPT trap"},
21754+ {6, "SIGIOT", "abort trap"},
21755+ {7, "SIGEMT", "EMT trap"},
21756+ {8, "SIGFPE", "floating point exception"},
21757+ {9, "SIGKILL", "killed"},
21758+ {10, "SIGBUS", "bus error"},
21759+ {11, "SIGSEGV", "segmentation fault"},
21760+ {12, "SIGSYS", "bad system call"},
21761+ {13, "SIGPIPE", "broken pipe"},
21762+ {14, "SIGALRM", "alarm clock"},
21763+ {15, "SIGTERM", "terminated"},
21764+ {16, "SIGURG", "urgent I/O condition"},
21765+ {17, "SIGSTOP", "suspended (signal)"},
21766+ {18, "SIGTSTP", "suspended"},
21767+ {19, "SIGCONT", "continued"},
21768+ {20, "SIGCHLD", "child exited"},
21769+ {21, "SIGTTIN", "stopped (tty input)"},
21770+ {22, "SIGTTOU", "stopped (tty output)"},
21771+ {23, "SIGIO", "I/O possible"},
21772+ {24, "SIGXCPU", "cputime limit exceeded"},
21773+ {25, "SIGXFSZ", "filesize limit exceeded"},
21774+ {26, "SIGVTALRM", "virtual timer expired"},
21775+ {27, "SIGPROF", "profiling timer expired"},
21776+ {28, "SIGWINCH", "window size changes"},
21777+ {29, "SIGINFO", "information request"},
21778+ {30, "SIGUSR1", "user defined signal 1"},
21779+ {31, "SIGUSR2", "user defined signal 2"},
21780+ {32, "SIGTHR", "unknown signal"},
21781+ {33, "SIGLIBRT", "unknown signal"},
21782 }
21783diff --git a/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go b/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go
21784index c5c6f13e..e4719873 100644
21785--- a/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go
21786+++ b/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go
21787@@ -3,7 +3,7 @@
21788
21789 // +build arm,freebsd
21790
21791-// Created by cgo -godefs - DO NOT EDIT
21792+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
21793 // cgo -godefs -- _const.go
21794
21795 package unix
21796@@ -351,8 +351,26 @@ const (
21797 CSTOP = 0x13
21798 CSTOPB = 0x400
21799 CSUSP = 0x1a
21800+ CTL_HW = 0x6
21801+ CTL_KERN = 0x1
21802 CTL_MAXNAME = 0x18
21803 CTL_NET = 0x4
21804+ DIOCGATTR = 0xc144648e
21805+ DIOCGDELETE = 0x80106488
21806+ DIOCGFLUSH = 0x20006487
21807+ DIOCGFRONTSTUFF = 0x40086486
21808+ DIOCGFWHEADS = 0x40046483
21809+ DIOCGFWSECTORS = 0x40046482
21810+ DIOCGIDENT = 0x41006489
21811+ DIOCGMEDIASIZE = 0x40086481
21812+ DIOCGPHYSPATH = 0x4400648d
21813+ DIOCGPROVIDERNAME = 0x4400648a
21814+ DIOCGSECTORSIZE = 0x40046480
21815+ DIOCGSTRIPEOFFSET = 0x4008648c
21816+ DIOCGSTRIPESIZE = 0x4008648b
21817+ DIOCSKERNELDUMP = 0x804c6490
21818+ DIOCSKERNELDUMP_FREEBSD11 = 0x80046485
21819+ DIOCZONECMD = 0xc06c648f
21820 DLT_A429 = 0xb8
21821 DLT_A653_ICM = 0xb9
21822 DLT_AIRONET_HEADER = 0x78
21823@@ -615,6 +633,7 @@ const (
21824 F_UNLCKSYS = 0x4
21825 F_WRLCK = 0x3
21826 HUPCL = 0x4000
21827+ HW_MACHINE = 0x1
21828 ICANON = 0x100
21829 ICMP6_FILTER = 0x12
21830 ICRNL = 0x100
21831@@ -951,6 +970,10 @@ const (
21832 IXANY = 0x800
21833 IXOFF = 0x400
21834 IXON = 0x200
21835+ KERN_HOSTNAME = 0xa
21836+ KERN_OSRELEASE = 0x2
21837+ KERN_OSTYPE = 0x1
21838+ KERN_VERSION = 0x4
21839 LOCK_EX = 0x2
21840 LOCK_NB = 0x4
21841 LOCK_SH = 0x1
21842@@ -989,6 +1012,49 @@ const (
21843 MAP_STACK = 0x400
21844 MCL_CURRENT = 0x1
21845 MCL_FUTURE = 0x2
21846+ MNT_ACLS = 0x8000000
21847+ MNT_ASYNC = 0x40
21848+ MNT_AUTOMOUNTED = 0x200000000
21849+ MNT_BYFSID = 0x8000000
21850+ MNT_CMDFLAGS = 0xd0f0000
21851+ MNT_DEFEXPORTED = 0x200
21852+ MNT_DELEXPORT = 0x20000
21853+ MNT_EXKERB = 0x800
21854+ MNT_EXPORTANON = 0x400
21855+ MNT_EXPORTED = 0x100
21856+ MNT_EXPUBLIC = 0x20000000
21857+ MNT_EXRDONLY = 0x80
21858+ MNT_FORCE = 0x80000
21859+ MNT_GJOURNAL = 0x2000000
21860+ MNT_IGNORE = 0x800000
21861+ MNT_LAZY = 0x3
21862+ MNT_LOCAL = 0x1000
21863+ MNT_MULTILABEL = 0x4000000
21864+ MNT_NFS4ACLS = 0x10
21865+ MNT_NOATIME = 0x10000000
21866+ MNT_NOCLUSTERR = 0x40000000
21867+ MNT_NOCLUSTERW = 0x80000000
21868+ MNT_NOEXEC = 0x4
21869+ MNT_NONBUSY = 0x4000000
21870+ MNT_NOSUID = 0x8
21871+ MNT_NOSYMFOLLOW = 0x400000
21872+ MNT_NOWAIT = 0x2
21873+ MNT_QUOTA = 0x2000
21874+ MNT_RDONLY = 0x1
21875+ MNT_RELOAD = 0x40000
21876+ MNT_ROOTFS = 0x4000
21877+ MNT_SNAPSHOT = 0x1000000
21878+ MNT_SOFTDEP = 0x200000
21879+ MNT_SUIDDIR = 0x100000
21880+ MNT_SUJ = 0x100000000
21881+ MNT_SUSPEND = 0x4
21882+ MNT_SYNCHRONOUS = 0x2
21883+ MNT_UNION = 0x20
21884+ MNT_UPDATE = 0x10000
21885+ MNT_UPDATEMASK = 0x2d8d0807e
21886+ MNT_USER = 0x8000
21887+ MNT_VISFLAGMASK = 0x3fef0ffff
21888+ MNT_WAIT = 0x1
21889 MSG_CMSG_CLOEXEC = 0x40000
21890 MSG_COMPAT = 0x8000
21891 MSG_CTRUNC = 0x20
21892@@ -1013,6 +1079,7 @@ const (
21893 NET_RT_IFLIST = 0x3
21894 NET_RT_IFLISTL = 0x5
21895 NET_RT_IFMALIST = 0x4
21896+ NFDBITS = 0x20
21897 NOFLSH = 0x80000000
21898 NOKERNINFO = 0x2000000
21899 NOTE_ATTRIB = 0x8
21900@@ -1304,6 +1371,35 @@ const (
21901 SO_USELOOPBACK = 0x40
21902 SO_USER_COOKIE = 0x1015
21903 SO_VENDOR = 0x80000000
21904+ S_BLKSIZE = 0x200
21905+ S_IEXEC = 0x40
21906+ S_IFBLK = 0x6000
21907+ S_IFCHR = 0x2000
21908+ S_IFDIR = 0x4000
21909+ S_IFIFO = 0x1000
21910+ S_IFLNK = 0xa000
21911+ S_IFMT = 0xf000
21912+ S_IFREG = 0x8000
21913+ S_IFSOCK = 0xc000
21914+ S_IFWHT = 0xe000
21915+ S_IREAD = 0x100
21916+ S_IRGRP = 0x20
21917+ S_IROTH = 0x4
21918+ S_IRUSR = 0x100
21919+ S_IRWXG = 0x38
21920+ S_IRWXO = 0x7
21921+ S_IRWXU = 0x1c0
21922+ S_ISGID = 0x400
21923+ S_ISTXT = 0x200
21924+ S_ISUID = 0x800
21925+ S_ISVTX = 0x200
21926+ S_IWGRP = 0x10
21927+ S_IWOTH = 0x2
21928+ S_IWRITE = 0x80
21929+ S_IWUSR = 0x80
21930+ S_IXGRP = 0x8
21931+ S_IXOTH = 0x1
21932+ S_IXUSR = 0x40
21933 TAB0 = 0x0
21934 TAB3 = 0x4
21935 TABDLY = 0x4
21936@@ -1578,138 +1674,146 @@ const (
21937 )
21938
21939 // Error table
21940-var errors = [...]string{
21941- 1: "operation not permitted",
21942- 2: "no such file or directory",
21943- 3: "no such process",
21944- 4: "interrupted system call",
21945- 5: "input/output error",
21946- 6: "device not configured",
21947- 7: "argument list too long",
21948- 8: "exec format error",
21949- 9: "bad file descriptor",
21950- 10: "no child processes",
21951- 11: "resource deadlock avoided",
21952- 12: "cannot allocate memory",
21953- 13: "permission denied",
21954- 14: "bad address",
21955- 15: "block device required",
21956- 16: "device busy",
21957- 17: "file exists",
21958- 18: "cross-device link",
21959- 19: "operation not supported by device",
21960- 20: "not a directory",
21961- 21: "is a directory",
21962- 22: "invalid argument",
21963- 23: "too many open files in system",
21964- 24: "too many open files",
21965- 25: "inappropriate ioctl for device",
21966- 26: "text file busy",
21967- 27: "file too large",
21968- 28: "no space left on device",
21969- 29: "illegal seek",
21970- 30: "read-only file system",
21971- 31: "too many links",
21972- 32: "broken pipe",
21973- 33: "numerical argument out of domain",
21974- 34: "result too large",
21975- 35: "resource temporarily unavailable",
21976- 36: "operation now in progress",
21977- 37: "operation already in progress",
21978- 38: "socket operation on non-socket",
21979- 39: "destination address required",
21980- 40: "message too long",
21981- 41: "protocol wrong type for socket",
21982- 42: "protocol not available",
21983- 43: "protocol not supported",
21984- 44: "socket type not supported",
21985- 45: "operation not supported",
21986- 46: "protocol family not supported",
21987- 47: "address family not supported by protocol family",
21988- 48: "address already in use",
21989- 49: "can't assign requested address",
21990- 50: "network is down",
21991- 51: "network is unreachable",
21992- 52: "network dropped connection on reset",
21993- 53: "software caused connection abort",
21994- 54: "connection reset by peer",
21995- 55: "no buffer space available",
21996- 56: "socket is already connected",
21997- 57: "socket is not connected",
21998- 58: "can't send after socket shutdown",
21999- 59: "too many references: can't splice",
22000- 60: "operation timed out",
22001- 61: "connection refused",
22002- 62: "too many levels of symbolic links",
22003- 63: "file name too long",
22004- 64: "host is down",
22005- 65: "no route to host",
22006- 66: "directory not empty",
22007- 67: "too many processes",
22008- 68: "too many users",
22009- 69: "disc quota exceeded",
22010- 70: "stale NFS file handle",
22011- 71: "too many levels of remote in path",
22012- 72: "RPC struct is bad",
22013- 73: "RPC version wrong",
22014- 74: "RPC prog. not avail",
22015- 75: "program version wrong",
22016- 76: "bad procedure for program",
22017- 77: "no locks available",
22018- 78: "function not implemented",
22019- 79: "inappropriate file type or format",
22020- 80: "authentication error",
22021- 81: "need authenticator",
22022- 82: "identifier removed",
22023- 83: "no message of desired type",
22024- 84: "value too large to be stored in data type",
22025- 85: "operation canceled",
22026- 86: "illegal byte sequence",
22027- 87: "attribute not found",
22028- 88: "programming error",
22029- 89: "bad message",
22030- 90: "multihop attempted",
22031- 91: "link has been severed",
22032- 92: "protocol error",
22033- 93: "capabilities insufficient",
22034- 94: "not permitted in capability mode",
22035- 95: "state not recoverable",
22036- 96: "previous owner died",
22037+var errorList = [...]struct {
22038+ num syscall.Errno
22039+ name string
22040+ desc string
22041+}{
22042+ {1, "EPERM", "operation not permitted"},
22043+ {2, "ENOENT", "no such file or directory"},
22044+ {3, "ESRCH", "no such process"},
22045+ {4, "EINTR", "interrupted system call"},
22046+ {5, "EIO", "input/output error"},
22047+ {6, "ENXIO", "device not configured"},
22048+ {7, "E2BIG", "argument list too long"},
22049+ {8, "ENOEXEC", "exec format error"},
22050+ {9, "EBADF", "bad file descriptor"},
22051+ {10, "ECHILD", "no child processes"},
22052+ {11, "EDEADLK", "resource deadlock avoided"},
22053+ {12, "ENOMEM", "cannot allocate memory"},
22054+ {13, "EACCES", "permission denied"},
22055+ {14, "EFAULT", "bad address"},
22056+ {15, "ENOTBLK", "block device required"},
22057+ {16, "EBUSY", "device busy"},
22058+ {17, "EEXIST", "file exists"},
22059+ {18, "EXDEV", "cross-device link"},
22060+ {19, "ENODEV", "operation not supported by device"},
22061+ {20, "ENOTDIR", "not a directory"},
22062+ {21, "EISDIR", "is a directory"},
22063+ {22, "EINVAL", "invalid argument"},
22064+ {23, "ENFILE", "too many open files in system"},
22065+ {24, "EMFILE", "too many open files"},
22066+ {25, "ENOTTY", "inappropriate ioctl for device"},
22067+ {26, "ETXTBSY", "text file busy"},
22068+ {27, "EFBIG", "file too large"},
22069+ {28, "ENOSPC", "no space left on device"},
22070+ {29, "ESPIPE", "illegal seek"},
22071+ {30, "EROFS", "read-only file system"},
22072+ {31, "EMLINK", "too many links"},
22073+ {32, "EPIPE", "broken pipe"},
22074+ {33, "EDOM", "numerical argument out of domain"},
22075+ {34, "ERANGE", "result too large"},
22076+ {35, "EAGAIN", "resource temporarily unavailable"},
22077+ {36, "EINPROGRESS", "operation now in progress"},
22078+ {37, "EALREADY", "operation already in progress"},
22079+ {38, "ENOTSOCK", "socket operation on non-socket"},
22080+ {39, "EDESTADDRREQ", "destination address required"},
22081+ {40, "EMSGSIZE", "message too long"},
22082+ {41, "EPROTOTYPE", "protocol wrong type for socket"},
22083+ {42, "ENOPROTOOPT", "protocol not available"},
22084+ {43, "EPROTONOSUPPORT", "protocol not supported"},
22085+ {44, "ESOCKTNOSUPPORT", "socket type not supported"},
22086+ {45, "EOPNOTSUPP", "operation not supported"},
22087+ {46, "EPFNOSUPPORT", "protocol family not supported"},
22088+ {47, "EAFNOSUPPORT", "address family not supported by protocol family"},
22089+ {48, "EADDRINUSE", "address already in use"},
22090+ {49, "EADDRNOTAVAIL", "can't assign requested address"},
22091+ {50, "ENETDOWN", "network is down"},
22092+ {51, "ENETUNREACH", "network is unreachable"},
22093+ {52, "ENETRESET", "network dropped connection on reset"},
22094+ {53, "ECONNABORTED", "software caused connection abort"},
22095+ {54, "ECONNRESET", "connection reset by peer"},
22096+ {55, "ENOBUFS", "no buffer space available"},
22097+ {56, "EISCONN", "socket is already connected"},
22098+ {57, "ENOTCONN", "socket is not connected"},
22099+ {58, "ESHUTDOWN", "can't send after socket shutdown"},
22100+ {59, "ETOOMANYREFS", "too many references: can't splice"},
22101+ {60, "ETIMEDOUT", "operation timed out"},
22102+ {61, "ECONNREFUSED", "connection refused"},
22103+ {62, "ELOOP", "too many levels of symbolic links"},
22104+ {63, "ENAMETOOLONG", "file name too long"},
22105+ {64, "EHOSTDOWN", "host is down"},
22106+ {65, "EHOSTUNREACH", "no route to host"},
22107+ {66, "ENOTEMPTY", "directory not empty"},
22108+ {67, "EPROCLIM", "too many processes"},
22109+ {68, "EUSERS", "too many users"},
22110+ {69, "EDQUOT", "disc quota exceeded"},
22111+ {70, "ESTALE", "stale NFS file handle"},
22112+ {71, "EREMOTE", "too many levels of remote in path"},
22113+ {72, "EBADRPC", "RPC struct is bad"},
22114+ {73, "ERPCMISMATCH", "RPC version wrong"},
22115+ {74, "EPROGUNAVAIL", "RPC prog. not avail"},
22116+ {75, "EPROGMISMATCH", "program version wrong"},
22117+ {76, "EPROCUNAVAIL", "bad procedure for program"},
22118+ {77, "ENOLCK", "no locks available"},
22119+ {78, "ENOSYS", "function not implemented"},
22120+ {79, "EFTYPE", "inappropriate file type or format"},
22121+ {80, "EAUTH", "authentication error"},
22122+ {81, "ENEEDAUTH", "need authenticator"},
22123+ {82, "EIDRM", "identifier removed"},
22124+ {83, "ENOMSG", "no message of desired type"},
22125+ {84, "EOVERFLOW", "value too large to be stored in data type"},
22126+ {85, "ECANCELED", "operation canceled"},
22127+ {86, "EILSEQ", "illegal byte sequence"},
22128+ {87, "ENOATTR", "attribute not found"},
22129+ {88, "EDOOFUS", "programming error"},
22130+ {89, "EBADMSG", "bad message"},
22131+ {90, "EMULTIHOP", "multihop attempted"},
22132+ {91, "ENOLINK", "link has been severed"},
22133+ {92, "EPROTO", "protocol error"},
22134+ {93, "ENOTCAPABLE", "capabilities insufficient"},
22135+ {94, "ECAPMODE", "not permitted in capability mode"},
22136+ {95, "ENOTRECOVERABLE", "state not recoverable"},
22137+ {96, "EOWNERDEAD", "previous owner died"},
22138 }
22139
22140 // Signal table
22141-var signals = [...]string{
22142- 1: "hangup",
22143- 2: "interrupt",
22144- 3: "quit",
22145- 4: "illegal instruction",
22146- 5: "trace/BPT trap",
22147- 6: "abort trap",
22148- 7: "EMT trap",
22149- 8: "floating point exception",
22150- 9: "killed",
22151- 10: "bus error",
22152- 11: "segmentation fault",
22153- 12: "bad system call",
22154- 13: "broken pipe",
22155- 14: "alarm clock",
22156- 15: "terminated",
22157- 16: "urgent I/O condition",
22158- 17: "suspended (signal)",
22159- 18: "suspended",
22160- 19: "continued",
22161- 20: "child exited",
22162- 21: "stopped (tty input)",
22163- 22: "stopped (tty output)",
22164- 23: "I/O possible",
22165- 24: "cputime limit exceeded",
22166- 25: "filesize limit exceeded",
22167- 26: "virtual timer expired",
22168- 27: "profiling timer expired",
22169- 28: "window size changes",
22170- 29: "information request",
22171- 30: "user defined signal 1",
22172- 31: "user defined signal 2",
22173- 32: "unknown signal",
22174- 33: "unknown signal",
22175+var signalList = [...]struct {
22176+ num syscall.Signal
22177+ name string
22178+ desc string
22179+}{
22180+ {1, "SIGHUP", "hangup"},
22181+ {2, "SIGINT", "interrupt"},
22182+ {3, "SIGQUIT", "quit"},
22183+ {4, "SIGILL", "illegal instruction"},
22184+ {5, "SIGTRAP", "trace/BPT trap"},
22185+ {6, "SIGIOT", "abort trap"},
22186+ {7, "SIGEMT", "EMT trap"},
22187+ {8, "SIGFPE", "floating point exception"},
22188+ {9, "SIGKILL", "killed"},
22189+ {10, "SIGBUS", "bus error"},
22190+ {11, "SIGSEGV", "segmentation fault"},
22191+ {12, "SIGSYS", "bad system call"},
22192+ {13, "SIGPIPE", "broken pipe"},
22193+ {14, "SIGALRM", "alarm clock"},
22194+ {15, "SIGTERM", "terminated"},
22195+ {16, "SIGURG", "urgent I/O condition"},
22196+ {17, "SIGSTOP", "suspended (signal)"},
22197+ {18, "SIGTSTP", "suspended"},
22198+ {19, "SIGCONT", "continued"},
22199+ {20, "SIGCHLD", "child exited"},
22200+ {21, "SIGTTIN", "stopped (tty input)"},
22201+ {22, "SIGTTOU", "stopped (tty output)"},
22202+ {23, "SIGIO", "I/O possible"},
22203+ {24, "SIGXCPU", "cputime limit exceeded"},
22204+ {25, "SIGXFSZ", "filesize limit exceeded"},
22205+ {26, "SIGVTALRM", "virtual timer expired"},
22206+ {27, "SIGPROF", "profiling timer expired"},
22207+ {28, "SIGWINCH", "window size changes"},
22208+ {29, "SIGINFO", "information request"},
22209+ {30, "SIGUSR1", "user defined signal 1"},
22210+ {31, "SIGUSR2", "user defined signal 2"},
22211+ {32, "SIGTHR", "unknown signal"},
22212+ {33, "SIGLIBRT", "unknown signal"},
22213 }
22214diff --git a/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go
22215similarity index 80%
22216copy from vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go
22217copy to vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go
22218index ac094f9c..5e49769d 100644
22219--- a/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go
22220+++ b/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go
22221@@ -1,9 +1,9 @@
22222 // mkerrors.sh -m64
22223 // Code generated by the command above; see README.md. DO NOT EDIT.
22224
22225-// +build amd64,freebsd
22226+// +build arm64,freebsd
22227
22228-// Created by cgo -godefs - DO NOT EDIT
22229+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
22230 // cgo -godefs -- -m64 _const.go
22231
22232 package unix
22233@@ -351,8 +351,26 @@ const (
22234 CSTOP = 0x13
22235 CSTOPB = 0x400
22236 CSUSP = 0x1a
22237+ CTL_HW = 0x6
22238+ CTL_KERN = 0x1
22239 CTL_MAXNAME = 0x18
22240 CTL_NET = 0x4
22241+ DIOCGATTR = 0xc148648e
22242+ DIOCGDELETE = 0x80106488
22243+ DIOCGFLUSH = 0x20006487
22244+ DIOCGFRONTSTUFF = 0x40086486
22245+ DIOCGFWHEADS = 0x40046483
22246+ DIOCGFWSECTORS = 0x40046482
22247+ DIOCGIDENT = 0x41006489
22248+ DIOCGMEDIASIZE = 0x40086481
22249+ DIOCGPHYSPATH = 0x4400648d
22250+ DIOCGPROVIDERNAME = 0x4400648a
22251+ DIOCGSECTORSIZE = 0x40046480
22252+ DIOCGSTRIPEOFFSET = 0x4008648c
22253+ DIOCGSTRIPESIZE = 0x4008648b
22254+ DIOCSKERNELDUMP = 0x80506490
22255+ DIOCSKERNELDUMP_FREEBSD11 = 0x80046485
22256+ DIOCZONECMD = 0xc080648f
22257 DLT_A429 = 0xb8
22258 DLT_A653_ICM = 0xb9
22259 DLT_AIRONET_HEADER = 0x78
22260@@ -377,11 +395,14 @@ const (
22261 DLT_CHAOS = 0x5
22262 DLT_CHDLC = 0x68
22263 DLT_CISCO_IOS = 0x76
22264+ DLT_CLASS_NETBSD_RAWAF = 0x2240000
22265 DLT_C_HDLC = 0x68
22266 DLT_C_HDLC_WITH_DIR = 0xcd
22267 DLT_DBUS = 0xe7
22268 DLT_DECT = 0xdd
22269+ DLT_DISPLAYPORT_AUX = 0x113
22270 DLT_DOCSIS = 0x8f
22271+ DLT_DOCSIS31_XRA31 = 0x111
22272 DLT_DVB_CI = 0xeb
22273 DLT_ECONET = 0x73
22274 DLT_EN10MB = 0x1
22275@@ -391,6 +412,7 @@ const (
22276 DLT_ERF = 0xc5
22277 DLT_ERF_ETH = 0xaf
22278 DLT_ERF_POS = 0xb0
22279+ DLT_ETHERNET_MPACKET = 0x112
22280 DLT_FC_2 = 0xe0
22281 DLT_FC_2_WITH_FRAME_DELIMS = 0xe1
22282 DLT_FDDI = 0xa
22283@@ -404,7 +426,6 @@ const (
22284 DLT_GPRS_LLC = 0xa9
22285 DLT_GSMTAP_ABIS = 0xda
22286 DLT_GSMTAP_UM = 0xd9
22287- DLT_HHDLC = 0x79
22288 DLT_IBM_SN = 0x92
22289 DLT_IBM_SP = 0x91
22290 DLT_IEEE802 = 0x6
22291@@ -427,6 +448,7 @@ const (
22292 DLT_IPV4 = 0xe4
22293 DLT_IPV6 = 0xe5
22294 DLT_IP_OVER_FC = 0x7a
22295+ DLT_ISO_14443 = 0x108
22296 DLT_JUNIPER_ATM1 = 0x89
22297 DLT_JUNIPER_ATM2 = 0x87
22298 DLT_JUNIPER_ATM_CEMIC = 0xee
22299@@ -459,8 +481,9 @@ const (
22300 DLT_LINUX_PPP_WITHDIRECTION = 0xa6
22301 DLT_LINUX_SLL = 0x71
22302 DLT_LOOP = 0x6c
22303+ DLT_LORATAP = 0x10e
22304 DLT_LTALK = 0x72
22305- DLT_MATCHING_MAX = 0x104
22306+ DLT_MATCHING_MAX = 0x113
22307 DLT_MATCHING_MIN = 0x68
22308 DLT_MFR = 0xb6
22309 DLT_MOST = 0xd3
22310@@ -476,14 +499,16 @@ const (
22311 DLT_NFC_LLCP = 0xf5
22312 DLT_NFLOG = 0xef
22313 DLT_NG40 = 0xf4
22314+ DLT_NORDIC_BLE = 0x110
22315 DLT_NULL = 0x0
22316+ DLT_OPENFLOW = 0x10b
22317 DLT_PCI_EXP = 0x7d
22318 DLT_PFLOG = 0x75
22319 DLT_PFSYNC = 0x79
22320 DLT_PKTAP = 0x102
22321 DLT_PPI = 0xc0
22322 DLT_PPP = 0x9
22323- DLT_PPP_BSDOS = 0x10
22324+ DLT_PPP_BSDOS = 0xe
22325 DLT_PPP_ETHER = 0x33
22326 DLT_PPP_PPPD = 0xa6
22327 DLT_PPP_SERIAL = 0x32
22328@@ -494,19 +519,25 @@ const (
22329 DLT_PRONET = 0x4
22330 DLT_RAIF1 = 0xc6
22331 DLT_RAW = 0xc
22332+ DLT_RDS = 0x109
22333+ DLT_REDBACK_SMARTEDGE = 0x20
22334 DLT_RIO = 0x7c
22335 DLT_RTAC_SERIAL = 0xfa
22336 DLT_SCCP = 0x8e
22337 DLT_SCTP = 0xf8
22338+ DLT_SDLC = 0x10c
22339 DLT_SITA = 0xc4
22340 DLT_SLIP = 0x8
22341- DLT_SLIP_BSDOS = 0xf
22342+ DLT_SLIP_BSDOS = 0xd
22343 DLT_STANAG_5066_D_PDU = 0xed
22344 DLT_SUNATM = 0x7b
22345 DLT_SYMANTEC_FIREWALL = 0x63
22346+ DLT_TI_LLN_SNIFFER = 0x10d
22347 DLT_TZSP = 0x80
22348 DLT_USB = 0xba
22349 DLT_USBPCAP = 0xf9
22350+ DLT_USB_DARWIN = 0x10a
22351+ DLT_USB_FREEBSD = 0xba
22352 DLT_USB_LINUX = 0xbd
22353 DLT_USB_LINUX_MMAPPED = 0xdc
22354 DLT_USER0 = 0x93
22355@@ -525,10 +556,14 @@ const (
22356 DLT_USER7 = 0x9a
22357 DLT_USER8 = 0x9b
22358 DLT_USER9 = 0x9c
22359+ DLT_VSOCK = 0x10f
22360+ DLT_WATTSTOPPER_DLM = 0x107
22361 DLT_WIHART = 0xdf
22362 DLT_WIRESHARK_UPPER_PDU = 0xfc
22363 DLT_X2E_SERIAL = 0xd5
22364 DLT_X2E_XORAYA = 0xd6
22365+ DLT_ZWAVE_R1_R2 = 0x105
22366+ DLT_ZWAVE_R3 = 0x106
22367 DT_BLK = 0x6
22368 DT_CHR = 0x2
22369 DT_DIR = 0x4
22370@@ -546,6 +581,7 @@ const (
22371 ECHONL = 0x10
22372 ECHOPRT = 0x20
22373 EVFILT_AIO = -0x3
22374+ EVFILT_EMPTY = -0xd
22375 EVFILT_FS = -0x9
22376 EVFILT_LIO = -0xa
22377 EVFILT_PROC = -0x5
22378@@ -553,11 +589,12 @@ const (
22379 EVFILT_READ = -0x1
22380 EVFILT_SENDFILE = -0xc
22381 EVFILT_SIGNAL = -0x6
22382- EVFILT_SYSCOUNT = 0xc
22383+ EVFILT_SYSCOUNT = 0xd
22384 EVFILT_TIMER = -0x7
22385 EVFILT_USER = -0xb
22386 EVFILT_VNODE = -0x4
22387 EVFILT_WRITE = -0x2
22388+ EVNAMEMAP_NAME_SIZE = 0x40
22389 EV_ADD = 0x1
22390 EV_CLEAR = 0x20
22391 EV_DELETE = 0x2
22392@@ -574,6 +611,7 @@ const (
22393 EV_RECEIPT = 0x40
22394 EV_SYSFLAGS = 0xf000
22395 EXTA = 0x4b00
22396+ EXTATTR_MAXNAMELEN = 0xff
22397 EXTATTR_NAMESPACE_EMPTY = 0x0
22398 EXTATTR_NAMESPACE_SYSTEM = 0x2
22399 EXTATTR_NAMESPACE_USER = 0x1
22400@@ -608,12 +646,14 @@ const (
22401 F_UNLCKSYS = 0x4
22402 F_WRLCK = 0x3
22403 HUPCL = 0x4000
22404+ HW_MACHINE = 0x1
22405 ICANON = 0x100
22406 ICMP6_FILTER = 0x12
22407 ICRNL = 0x100
22408 IEXTEN = 0x400
22409 IFAN_ARRIVAL = 0x0
22410 IFAN_DEPARTURE = 0x1
22411+ IFCAP_WOL_MAGIC = 0x2000
22412 IFF_ALLMULTI = 0x200
22413 IFF_ALTPHYS = 0x4000
22414 IFF_BROADCAST = 0x2
22415@@ -630,6 +670,7 @@ const (
22416 IFF_MONITOR = 0x40000
22417 IFF_MULTICAST = 0x8000
22418 IFF_NOARP = 0x80
22419+ IFF_NOGROUP = 0x800000
22420 IFF_OACTIVE = 0x400
22421 IFF_POINTOPOINT = 0x10
22422 IFF_PPROMISC = 0x20000
22423@@ -804,6 +845,7 @@ const (
22424 IPV6_DSTOPTS = 0x32
22425 IPV6_FLOWID = 0x43
22426 IPV6_FLOWINFO_MASK = 0xffffff0f
22427+ IPV6_FLOWLABEL_LEN = 0x14
22428 IPV6_FLOWLABEL_MASK = 0xffff0f00
22429 IPV6_FLOWTYPE = 0x44
22430 IPV6_FRAGTTL = 0x78
22431@@ -824,13 +866,13 @@ const (
22432 IPV6_MAX_GROUP_SRC_FILTER = 0x200
22433 IPV6_MAX_MEMBERSHIPS = 0xfff
22434 IPV6_MAX_SOCK_SRC_FILTER = 0x80
22435- IPV6_MIN_MEMBERSHIPS = 0x1f
22436 IPV6_MMTU = 0x500
22437 IPV6_MSFILTER = 0x4a
22438 IPV6_MULTICAST_HOPS = 0xa
22439 IPV6_MULTICAST_IF = 0x9
22440 IPV6_MULTICAST_LOOP = 0xb
22441 IPV6_NEXTHOP = 0x30
22442+ IPV6_ORIGDSTADDR = 0x48
22443 IPV6_PATHMTU = 0x2c
22444 IPV6_PKTINFO = 0x2e
22445 IPV6_PORTRANGE = 0xe
22446@@ -842,6 +884,7 @@ const (
22447 IPV6_RECVFLOWID = 0x46
22448 IPV6_RECVHOPLIMIT = 0x25
22449 IPV6_RECVHOPOPTS = 0x27
22450+ IPV6_RECVORIGDSTADDR = 0x48
22451 IPV6_RECVPATHMTU = 0x2b
22452 IPV6_RECVPKTINFO = 0x24
22453 IPV6_RECVRSSBUCKETID = 0x47
22454@@ -902,10 +945,8 @@ const (
22455 IP_MAX_MEMBERSHIPS = 0xfff
22456 IP_MAX_SOCK_MUTE_FILTER = 0x80
22457 IP_MAX_SOCK_SRC_FILTER = 0x80
22458- IP_MAX_SOURCE_FILTER = 0x400
22459 IP_MF = 0x2000
22460 IP_MINTTL = 0x42
22461- IP_MIN_MEMBERSHIPS = 0x1f
22462 IP_MSFILTER = 0x4a
22463 IP_MSS = 0x240
22464 IP_MULTICAST_IF = 0x9
22465@@ -915,6 +956,7 @@ const (
22466 IP_OFFMASK = 0x1fff
22467 IP_ONESBCAST = 0x17
22468 IP_OPTIONS = 0x1
22469+ IP_ORIGDSTADDR = 0x1b
22470 IP_PORTRANGE = 0x13
22471 IP_PORTRANGE_DEFAULT = 0x0
22472 IP_PORTRANGE_HIGH = 0x1
22473@@ -923,6 +965,7 @@ const (
22474 IP_RECVFLOWID = 0x5d
22475 IP_RECVIF = 0x14
22476 IP_RECVOPTS = 0x5
22477+ IP_RECVORIGDSTADDR = 0x1b
22478 IP_RECVRETOPTS = 0x6
22479 IP_RECVRSSBUCKETID = 0x5e
22480 IP_RECVTOS = 0x44
22481@@ -944,6 +987,10 @@ const (
22482 IXANY = 0x800
22483 IXOFF = 0x400
22484 IXON = 0x200
22485+ KERN_HOSTNAME = 0xa
22486+ KERN_OSRELEASE = 0x2
22487+ KERN_OSTYPE = 0x1
22488+ KERN_VERSION = 0x4
22489 LOCK_EX = 0x2
22490 LOCK_NB = 0x4
22491 LOCK_SH = 0x1
22492@@ -969,6 +1016,7 @@ const (
22493 MAP_EXCL = 0x4000
22494 MAP_FILE = 0x0
22495 MAP_FIXED = 0x10
22496+ MAP_GUARD = 0x2000
22497 MAP_HASSEMAPHORE = 0x200
22498 MAP_NOCORE = 0x20000
22499 MAP_NOSYNC = 0x800
22500@@ -980,8 +1028,62 @@ const (
22501 MAP_RESERVED0100 = 0x100
22502 MAP_SHARED = 0x1
22503 MAP_STACK = 0x400
22504+ MCAST_BLOCK_SOURCE = 0x54
22505+ MCAST_EXCLUDE = 0x2
22506+ MCAST_INCLUDE = 0x1
22507+ MCAST_JOIN_GROUP = 0x50
22508+ MCAST_JOIN_SOURCE_GROUP = 0x52
22509+ MCAST_LEAVE_GROUP = 0x51
22510+ MCAST_LEAVE_SOURCE_GROUP = 0x53
22511+ MCAST_UNBLOCK_SOURCE = 0x55
22512+ MCAST_UNDEFINED = 0x0
22513 MCL_CURRENT = 0x1
22514 MCL_FUTURE = 0x2
22515+ MNT_ACLS = 0x8000000
22516+ MNT_ASYNC = 0x40
22517+ MNT_AUTOMOUNTED = 0x200000000
22518+ MNT_BYFSID = 0x8000000
22519+ MNT_CMDFLAGS = 0xd0f0000
22520+ MNT_DEFEXPORTED = 0x200
22521+ MNT_DELEXPORT = 0x20000
22522+ MNT_EXKERB = 0x800
22523+ MNT_EXPORTANON = 0x400
22524+ MNT_EXPORTED = 0x100
22525+ MNT_EXPUBLIC = 0x20000000
22526+ MNT_EXRDONLY = 0x80
22527+ MNT_FORCE = 0x80000
22528+ MNT_GJOURNAL = 0x2000000
22529+ MNT_IGNORE = 0x800000
22530+ MNT_LAZY = 0x3
22531+ MNT_LOCAL = 0x1000
22532+ MNT_MULTILABEL = 0x4000000
22533+ MNT_NFS4ACLS = 0x10
22534+ MNT_NOATIME = 0x10000000
22535+ MNT_NOCLUSTERR = 0x40000000
22536+ MNT_NOCLUSTERW = 0x80000000
22537+ MNT_NOEXEC = 0x4
22538+ MNT_NONBUSY = 0x4000000
22539+ MNT_NOSUID = 0x8
22540+ MNT_NOSYMFOLLOW = 0x400000
22541+ MNT_NOWAIT = 0x2
22542+ MNT_QUOTA = 0x2000
22543+ MNT_RDONLY = 0x1
22544+ MNT_RELOAD = 0x40000
22545+ MNT_ROOTFS = 0x4000
22546+ MNT_SNAPSHOT = 0x1000000
22547+ MNT_SOFTDEP = 0x200000
22548+ MNT_SUIDDIR = 0x100000
22549+ MNT_SUJ = 0x100000000
22550+ MNT_SUSPEND = 0x4
22551+ MNT_SYNCHRONOUS = 0x2
22552+ MNT_UNION = 0x20
22553+ MNT_UNTRUSTED = 0x800000000
22554+ MNT_UPDATE = 0x10000
22555+ MNT_UPDATEMASK = 0xad8d0807e
22556+ MNT_USER = 0x8000
22557+ MNT_VERIFIED = 0x400000000
22558+ MNT_VISFLAGMASK = 0xffef0ffff
22559+ MNT_WAIT = 0x1
22560 MSG_CMSG_CLOEXEC = 0x40000
22561 MSG_COMPAT = 0x8000
22562 MSG_CTRUNC = 0x20
22563@@ -1006,8 +1108,10 @@ const (
22564 NET_RT_IFLIST = 0x3
22565 NET_RT_IFLISTL = 0x5
22566 NET_RT_IFMALIST = 0x4
22567+ NFDBITS = 0x40
22568 NOFLSH = 0x80000000
22569 NOKERNINFO = 0x2000000
22570+ NOTE_ABSTIME = 0x10
22571 NOTE_ATTRIB = 0x8
22572 NOTE_CHILD = 0x4
22573 NOTE_CLOSE = 0x100
22574@@ -1162,7 +1266,6 @@ const (
22575 RTV_WEIGHT = 0x100
22576 RT_ALL_FIBS = -0x1
22577 RT_BLACKHOLE = 0x40
22578- RT_CACHING_CONTEXT = 0x1
22579 RT_DEFAULT_FIB = 0x0
22580 RT_HAS_GW = 0x80
22581 RT_HAS_HEADER = 0x10
22582@@ -1172,15 +1275,17 @@ const (
22583 RT_LLE_CACHE = 0x100
22584 RT_MAY_LOOP = 0x8
22585 RT_MAY_LOOP_BIT = 0x3
22586- RT_NORTREF = 0x2
22587 RT_REJECT = 0x20
22588 RUSAGE_CHILDREN = -0x1
22589 RUSAGE_SELF = 0x0
22590 RUSAGE_THREAD = 0x1
22591 SCM_BINTIME = 0x4
22592 SCM_CREDS = 0x3
22593+ SCM_MONOTONIC = 0x6
22594+ SCM_REALTIME = 0x5
22595 SCM_RIGHTS = 0x1
22596 SCM_TIMESTAMP = 0x2
22597+ SCM_TIME_INFO = 0x7
22598 SHUT_RD = 0x0
22599 SHUT_RDWR = 0x2
22600 SHUT_WR = 0x1
22601@@ -1196,6 +1301,7 @@ const (
22602 SIOCGETSGCNT = 0xc0207210
22603 SIOCGETVIFCNT = 0xc028720f
22604 SIOCGHIWAT = 0x40047301
22605+ SIOCGHWADDR = 0xc020693e
22606 SIOCGI2C = 0xc020693d
22607 SIOCGIFADDR = 0xc0206921
22608 SIOCGIFBRDADDR = 0xc0206923
22609@@ -1217,8 +1323,11 @@ const (
22610 SIOCGIFPDSTADDR = 0xc0206948
22611 SIOCGIFPHYS = 0xc0206935
22612 SIOCGIFPSRCADDR = 0xc0206947
22613+ SIOCGIFRSSHASH = 0xc0186997
22614+ SIOCGIFRSSKEY = 0xc0946996
22615 SIOCGIFSTATUS = 0xc331693b
22616 SIOCGIFXMEDIA = 0xc030698b
22617+ SIOCGLANPCP = 0xc0206998
22618 SIOCGLOWAT = 0x40047303
22619 SIOCGPGRP = 0x40047309
22620 SIOCGPRIVATE_0 = 0xc0206950
22621@@ -1249,6 +1358,7 @@ const (
22622 SIOCSIFPHYS = 0x80206936
22623 SIOCSIFRVNET = 0xc020695b
22624 SIOCSIFVNET = 0xc020695a
22625+ SIOCSLANPCP = 0x80206999
22626 SIOCSLOWAT = 0x80047302
22627 SIOCSPGRP = 0x80047308
22628 SIOCSTUNFIB = 0x8020695f
22629@@ -1267,6 +1377,7 @@ const (
22630 SO_BINTIME = 0x2000
22631 SO_BROADCAST = 0x20
22632 SO_DEBUG = 0x1
22633+ SO_DOMAIN = 0x1019
22634 SO_DONTROUTE = 0x10
22635 SO_ERROR = 0x1007
22636 SO_KEEPALIVE = 0x8
22637@@ -1275,6 +1386,7 @@ const (
22638 SO_LISTENINCQLEN = 0x1013
22639 SO_LISTENQLEN = 0x1012
22640 SO_LISTENQLIMIT = 0x1011
22641+ SO_MAX_PACING_RATE = 0x1018
22642 SO_NOSIGPIPE = 0x800
22643 SO_NO_DDP = 0x8000
22644 SO_NO_OFFLOAD = 0x4000
22645@@ -1287,15 +1399,52 @@ const (
22646 SO_RCVTIMEO = 0x1006
22647 SO_REUSEADDR = 0x4
22648 SO_REUSEPORT = 0x200
22649+ SO_REUSEPORT_LB = 0x10000
22650 SO_SETFIB = 0x1014
22651 SO_SNDBUF = 0x1001
22652 SO_SNDLOWAT = 0x1003
22653 SO_SNDTIMEO = 0x1005
22654 SO_TIMESTAMP = 0x400
22655+ SO_TS_BINTIME = 0x1
22656+ SO_TS_CLOCK = 0x1017
22657+ SO_TS_CLOCK_MAX = 0x3
22658+ SO_TS_DEFAULT = 0x0
22659+ SO_TS_MONOTONIC = 0x3
22660+ SO_TS_REALTIME = 0x2
22661+ SO_TS_REALTIME_MICRO = 0x0
22662 SO_TYPE = 0x1008
22663 SO_USELOOPBACK = 0x40
22664 SO_USER_COOKIE = 0x1015
22665 SO_VENDOR = 0x80000000
22666+ S_BLKSIZE = 0x200
22667+ S_IEXEC = 0x40
22668+ S_IFBLK = 0x6000
22669+ S_IFCHR = 0x2000
22670+ S_IFDIR = 0x4000
22671+ S_IFIFO = 0x1000
22672+ S_IFLNK = 0xa000
22673+ S_IFMT = 0xf000
22674+ S_IFREG = 0x8000
22675+ S_IFSOCK = 0xc000
22676+ S_IFWHT = 0xe000
22677+ S_IREAD = 0x100
22678+ S_IRGRP = 0x20
22679+ S_IROTH = 0x4
22680+ S_IRUSR = 0x100
22681+ S_IRWXG = 0x38
22682+ S_IRWXO = 0x7
22683+ S_IRWXU = 0x1c0
22684+ S_ISGID = 0x400
22685+ S_ISTXT = 0x200
22686+ S_ISUID = 0x800
22687+ S_ISVTX = 0x200
22688+ S_IWGRP = 0x10
22689+ S_IWOTH = 0x2
22690+ S_IWRITE = 0x80
22691+ S_IWUSR = 0x80
22692+ S_IXGRP = 0x8
22693+ S_IXOTH = 0x1
22694+ S_IXUSR = 0x40
22695 TAB0 = 0x0
22696 TAB3 = 0x4
22697 TABDLY = 0x4
22698@@ -1306,10 +1455,45 @@ const (
22699 TCOFLUSH = 0x2
22700 TCOOFF = 0x1
22701 TCOON = 0x2
22702+ TCP_BBR_ACK_COMP_ALG = 0x448
22703+ TCP_BBR_DRAIN_INC_EXTRA = 0x43c
22704+ TCP_BBR_DRAIN_PG = 0x42e
22705+ TCP_BBR_EXTRA_GAIN = 0x449
22706+ TCP_BBR_IWINTSO = 0x42b
22707+ TCP_BBR_LOWGAIN_FD = 0x436
22708+ TCP_BBR_LOWGAIN_HALF = 0x435
22709+ TCP_BBR_LOWGAIN_THRESH = 0x434
22710+ TCP_BBR_MAX_RTO = 0x439
22711+ TCP_BBR_MIN_RTO = 0x438
22712+ TCP_BBR_ONE_RETRAN = 0x431
22713+ TCP_BBR_PACE_CROSS = 0x442
22714+ TCP_BBR_PACE_DEL_TAR = 0x43f
22715+ TCP_BBR_PACE_PER_SEC = 0x43e
22716+ TCP_BBR_PACE_SEG_MAX = 0x440
22717+ TCP_BBR_PACE_SEG_MIN = 0x441
22718+ TCP_BBR_PROBE_RTT_GAIN = 0x44d
22719+ TCP_BBR_PROBE_RTT_INT = 0x430
22720+ TCP_BBR_PROBE_RTT_LEN = 0x44e
22721+ TCP_BBR_RACK_RTT_USE = 0x44a
22722+ TCP_BBR_RECFORCE = 0x42c
22723+ TCP_BBR_REC_OVER_HPTS = 0x43a
22724+ TCP_BBR_RETRAN_WTSO = 0x44b
22725+ TCP_BBR_RWND_IS_APP = 0x42f
22726+ TCP_BBR_STARTUP_EXIT_EPOCH = 0x43d
22727+ TCP_BBR_STARTUP_LOSS_EXIT = 0x432
22728+ TCP_BBR_STARTUP_PG = 0x42d
22729+ TCP_BBR_UNLIMITED = 0x43b
22730+ TCP_BBR_USEDEL_RATE = 0x437
22731+ TCP_BBR_USE_LOWGAIN = 0x433
22732 TCP_CA_NAME_MAX = 0x10
22733 TCP_CCALGOOPT = 0x41
22734 TCP_CONGESTION = 0x40
22735+ TCP_DATA_AFTER_CLOSE = 0x44c
22736+ TCP_DELACK = 0x48
22737 TCP_FASTOPEN = 0x401
22738+ TCP_FASTOPEN_MAX_COOKIE_LEN = 0x10
22739+ TCP_FASTOPEN_MIN_COOKIE_LEN = 0x4
22740+ TCP_FASTOPEN_PSK_LEN = 0x10
22741 TCP_FUNCTION_BLK = 0x2000
22742 TCP_FUNCTION_NAME_LEN_MAX = 0x20
22743 TCP_INFO = 0x20
22744@@ -1317,6 +1501,12 @@ const (
22745 TCP_KEEPIDLE = 0x100
22746 TCP_KEEPINIT = 0x80
22747 TCP_KEEPINTVL = 0x200
22748+ TCP_LOG = 0x22
22749+ TCP_LOGBUF = 0x23
22750+ TCP_LOGDUMP = 0x25
22751+ TCP_LOGDUMPID = 0x26
22752+ TCP_LOGID = 0x24
22753+ TCP_LOG_ID_LEN = 0x40
22754 TCP_MAXBURST = 0x4
22755 TCP_MAXHLEN = 0x3c
22756 TCP_MAXOLEN = 0x28
22757@@ -1332,8 +1522,30 @@ const (
22758 TCP_NOPUSH = 0x4
22759 TCP_PCAP_IN = 0x1000
22760 TCP_PCAP_OUT = 0x800
22761+ TCP_RACK_EARLY_RECOV = 0x423
22762+ TCP_RACK_EARLY_SEG = 0x424
22763+ TCP_RACK_IDLE_REDUCE_HIGH = 0x444
22764+ TCP_RACK_MIN_PACE = 0x445
22765+ TCP_RACK_MIN_PACE_SEG = 0x446
22766+ TCP_RACK_MIN_TO = 0x422
22767+ TCP_RACK_PACE_ALWAYS = 0x41f
22768+ TCP_RACK_PACE_MAX_SEG = 0x41e
22769+ TCP_RACK_PACE_REDUCE = 0x41d
22770+ TCP_RACK_PKT_DELAY = 0x428
22771+ TCP_RACK_PROP = 0x41b
22772+ TCP_RACK_PROP_RATE = 0x420
22773+ TCP_RACK_PRR_SENDALOT = 0x421
22774+ TCP_RACK_REORD_FADE = 0x426
22775+ TCP_RACK_REORD_THRESH = 0x425
22776+ TCP_RACK_SESS_CWV = 0x42a
22777+ TCP_RACK_TLP_INC_VAR = 0x429
22778+ TCP_RACK_TLP_REDUCE = 0x41c
22779+ TCP_RACK_TLP_THRESH = 0x427
22780+ TCP_RACK_TLP_USE = 0x447
22781 TCP_VENDOR = 0x80000000
22782 TCSAFLUSH = 0x2
22783+ TIMER_ABSTIME = 0x1
22784+ TIMER_RELTIME = 0x0
22785 TIOCCBRK = 0x2000747a
22786 TIOCCDTR = 0x20007478
22787 TIOCCONS = 0x80047462
22788@@ -1397,6 +1609,8 @@ const (
22789 TIOCTIMESTAMP = 0x40107459
22790 TIOCUCNTL = 0x80047466
22791 TOSTOP = 0x400000
22792+ UTIME_NOW = -0x1
22793+ UTIME_OMIT = -0x2
22794 VDISCARD = 0xf
22795 VDSUSP = 0xb
22796 VEOF = 0x0
22797@@ -1408,6 +1622,7 @@ const (
22798 VKILL = 0x5
22799 VLNEXT = 0xe
22800 VMIN = 0x10
22801+ VM_BCACHE_SIZE_MAX = 0x19000000
22802 VQUIT = 0x9
22803 VREPRINT = 0x6
22804 VSTART = 0xc
22805@@ -1570,138 +1785,146 @@ const (
22806 )
22807
22808 // Error table
22809-var errors = [...]string{
22810- 1: "operation not permitted",
22811- 2: "no such file or directory",
22812- 3: "no such process",
22813- 4: "interrupted system call",
22814- 5: "input/output error",
22815- 6: "device not configured",
22816- 7: "argument list too long",
22817- 8: "exec format error",
22818- 9: "bad file descriptor",
22819- 10: "no child processes",
22820- 11: "resource deadlock avoided",
22821- 12: "cannot allocate memory",
22822- 13: "permission denied",
22823- 14: "bad address",
22824- 15: "block device required",
22825- 16: "device busy",
22826- 17: "file exists",
22827- 18: "cross-device link",
22828- 19: "operation not supported by device",
22829- 20: "not a directory",
22830- 21: "is a directory",
22831- 22: "invalid argument",
22832- 23: "too many open files in system",
22833- 24: "too many open files",
22834- 25: "inappropriate ioctl for device",
22835- 26: "text file busy",
22836- 27: "file too large",
22837- 28: "no space left on device",
22838- 29: "illegal seek",
22839- 30: "read-only file system",
22840- 31: "too many links",
22841- 32: "broken pipe",
22842- 33: "numerical argument out of domain",
22843- 34: "result too large",
22844- 35: "resource temporarily unavailable",
22845- 36: "operation now in progress",
22846- 37: "operation already in progress",
22847- 38: "socket operation on non-socket",
22848- 39: "destination address required",
22849- 40: "message too long",
22850- 41: "protocol wrong type for socket",
22851- 42: "protocol not available",
22852- 43: "protocol not supported",
22853- 44: "socket type not supported",
22854- 45: "operation not supported",
22855- 46: "protocol family not supported",
22856- 47: "address family not supported by protocol family",
22857- 48: "address already in use",
22858- 49: "can't assign requested address",
22859- 50: "network is down",
22860- 51: "network is unreachable",
22861- 52: "network dropped connection on reset",
22862- 53: "software caused connection abort",
22863- 54: "connection reset by peer",
22864- 55: "no buffer space available",
22865- 56: "socket is already connected",
22866- 57: "socket is not connected",
22867- 58: "can't send after socket shutdown",
22868- 59: "too many references: can't splice",
22869- 60: "operation timed out",
22870- 61: "connection refused",
22871- 62: "too many levels of symbolic links",
22872- 63: "file name too long",
22873- 64: "host is down",
22874- 65: "no route to host",
22875- 66: "directory not empty",
22876- 67: "too many processes",
22877- 68: "too many users",
22878- 69: "disc quota exceeded",
22879- 70: "stale NFS file handle",
22880- 71: "too many levels of remote in path",
22881- 72: "RPC struct is bad",
22882- 73: "RPC version wrong",
22883- 74: "RPC prog. not avail",
22884- 75: "program version wrong",
22885- 76: "bad procedure for program",
22886- 77: "no locks available",
22887- 78: "function not implemented",
22888- 79: "inappropriate file type or format",
22889- 80: "authentication error",
22890- 81: "need authenticator",
22891- 82: "identifier removed",
22892- 83: "no message of desired type",
22893- 84: "value too large to be stored in data type",
22894- 85: "operation canceled",
22895- 86: "illegal byte sequence",
22896- 87: "attribute not found",
22897- 88: "programming error",
22898- 89: "bad message",
22899- 90: "multihop attempted",
22900- 91: "link has been severed",
22901- 92: "protocol error",
22902- 93: "capabilities insufficient",
22903- 94: "not permitted in capability mode",
22904- 95: "state not recoverable",
22905- 96: "previous owner died",
22906+var errorList = [...]struct {
22907+ num syscall.Errno
22908+ name string
22909+ desc string
22910+}{
22911+ {1, "EPERM", "operation not permitted"},
22912+ {2, "ENOENT", "no such file or directory"},
22913+ {3, "ESRCH", "no such process"},
22914+ {4, "EINTR", "interrupted system call"},
22915+ {5, "EIO", "input/output error"},
22916+ {6, "ENXIO", "device not configured"},
22917+ {7, "E2BIG", "argument list too long"},
22918+ {8, "ENOEXEC", "exec format error"},
22919+ {9, "EBADF", "bad file descriptor"},
22920+ {10, "ECHILD", "no child processes"},
22921+ {11, "EDEADLK", "resource deadlock avoided"},
22922+ {12, "ENOMEM", "cannot allocate memory"},
22923+ {13, "EACCES", "permission denied"},
22924+ {14, "EFAULT", "bad address"},
22925+ {15, "ENOTBLK", "block device required"},
22926+ {16, "EBUSY", "device busy"},
22927+ {17, "EEXIST", "file exists"},
22928+ {18, "EXDEV", "cross-device link"},
22929+ {19, "ENODEV", "operation not supported by device"},
22930+ {20, "ENOTDIR", "not a directory"},
22931+ {21, "EISDIR", "is a directory"},
22932+ {22, "EINVAL", "invalid argument"},
22933+ {23, "ENFILE", "too many open files in system"},
22934+ {24, "EMFILE", "too many open files"},
22935+ {25, "ENOTTY", "inappropriate ioctl for device"},
22936+ {26, "ETXTBSY", "text file busy"},
22937+ {27, "EFBIG", "file too large"},
22938+ {28, "ENOSPC", "no space left on device"},
22939+ {29, "ESPIPE", "illegal seek"},
22940+ {30, "EROFS", "read-only file system"},
22941+ {31, "EMLINK", "too many links"},
22942+ {32, "EPIPE", "broken pipe"},
22943+ {33, "EDOM", "numerical argument out of domain"},
22944+ {34, "ERANGE", "result too large"},
22945+ {35, "EAGAIN", "resource temporarily unavailable"},
22946+ {36, "EINPROGRESS", "operation now in progress"},
22947+ {37, "EALREADY", "operation already in progress"},
22948+ {38, "ENOTSOCK", "socket operation on non-socket"},
22949+ {39, "EDESTADDRREQ", "destination address required"},
22950+ {40, "EMSGSIZE", "message too long"},
22951+ {41, "EPROTOTYPE", "protocol wrong type for socket"},
22952+ {42, "ENOPROTOOPT", "protocol not available"},
22953+ {43, "EPROTONOSUPPORT", "protocol not supported"},
22954+ {44, "ESOCKTNOSUPPORT", "socket type not supported"},
22955+ {45, "EOPNOTSUPP", "operation not supported"},
22956+ {46, "EPFNOSUPPORT", "protocol family not supported"},
22957+ {47, "EAFNOSUPPORT", "address family not supported by protocol family"},
22958+ {48, "EADDRINUSE", "address already in use"},
22959+ {49, "EADDRNOTAVAIL", "can't assign requested address"},
22960+ {50, "ENETDOWN", "network is down"},
22961+ {51, "ENETUNREACH", "network is unreachable"},
22962+ {52, "ENETRESET", "network dropped connection on reset"},
22963+ {53, "ECONNABORTED", "software caused connection abort"},
22964+ {54, "ECONNRESET", "connection reset by peer"},
22965+ {55, "ENOBUFS", "no buffer space available"},
22966+ {56, "EISCONN", "socket is already connected"},
22967+ {57, "ENOTCONN", "socket is not connected"},
22968+ {58, "ESHUTDOWN", "can't send after socket shutdown"},
22969+ {59, "ETOOMANYREFS", "too many references: can't splice"},
22970+ {60, "ETIMEDOUT", "operation timed out"},
22971+ {61, "ECONNREFUSED", "connection refused"},
22972+ {62, "ELOOP", "too many levels of symbolic links"},
22973+ {63, "ENAMETOOLONG", "file name too long"},
22974+ {64, "EHOSTDOWN", "host is down"},
22975+ {65, "EHOSTUNREACH", "no route to host"},
22976+ {66, "ENOTEMPTY", "directory not empty"},
22977+ {67, "EPROCLIM", "too many processes"},
22978+ {68, "EUSERS", "too many users"},
22979+ {69, "EDQUOT", "disc quota exceeded"},
22980+ {70, "ESTALE", "stale NFS file handle"},
22981+ {71, "EREMOTE", "too many levels of remote in path"},
22982+ {72, "EBADRPC", "RPC struct is bad"},
22983+ {73, "ERPCMISMATCH", "RPC version wrong"},
22984+ {74, "EPROGUNAVAIL", "RPC prog. not avail"},
22985+ {75, "EPROGMISMATCH", "program version wrong"},
22986+ {76, "EPROCUNAVAIL", "bad procedure for program"},
22987+ {77, "ENOLCK", "no locks available"},
22988+ {78, "ENOSYS", "function not implemented"},
22989+ {79, "EFTYPE", "inappropriate file type or format"},
22990+ {80, "EAUTH", "authentication error"},
22991+ {81, "ENEEDAUTH", "need authenticator"},
22992+ {82, "EIDRM", "identifier removed"},
22993+ {83, "ENOMSG", "no message of desired type"},
22994+ {84, "EOVERFLOW", "value too large to be stored in data type"},
22995+ {85, "ECANCELED", "operation canceled"},
22996+ {86, "EILSEQ", "illegal byte sequence"},
22997+ {87, "ENOATTR", "attribute not found"},
22998+ {88, "EDOOFUS", "programming error"},
22999+ {89, "EBADMSG", "bad message"},
23000+ {90, "EMULTIHOP", "multihop attempted"},
23001+ {91, "ENOLINK", "link has been severed"},
23002+ {92, "EPROTO", "protocol error"},
23003+ {93, "ENOTCAPABLE", "capabilities insufficient"},
23004+ {94, "ECAPMODE", "not permitted in capability mode"},
23005+ {95, "ENOTRECOVERABLE", "state not recoverable"},
23006+ {96, "EOWNERDEAD", "previous owner died"},
23007 }
23008
23009 // Signal table
23010-var signals = [...]string{
23011- 1: "hangup",
23012- 2: "interrupt",
23013- 3: "quit",
23014- 4: "illegal instruction",
23015- 5: "trace/BPT trap",
23016- 6: "abort trap",
23017- 7: "EMT trap",
23018- 8: "floating point exception",
23019- 9: "killed",
23020- 10: "bus error",
23021- 11: "segmentation fault",
23022- 12: "bad system call",
23023- 13: "broken pipe",
23024- 14: "alarm clock",
23025- 15: "terminated",
23026- 16: "urgent I/O condition",
23027- 17: "suspended (signal)",
23028- 18: "suspended",
23029- 19: "continued",
23030- 20: "child exited",
23031- 21: "stopped (tty input)",
23032- 22: "stopped (tty output)",
23033- 23: "I/O possible",
23034- 24: "cputime limit exceeded",
23035- 25: "filesize limit exceeded",
23036- 26: "virtual timer expired",
23037- 27: "profiling timer expired",
23038- 28: "window size changes",
23039- 29: "information request",
23040- 30: "user defined signal 1",
23041- 31: "user defined signal 2",
23042- 32: "unknown signal",
23043- 33: "unknown signal",
23044+var signalList = [...]struct {
23045+ num syscall.Signal
23046+ name string
23047+ desc string
23048+}{
23049+ {1, "SIGHUP", "hangup"},
23050+ {2, "SIGINT", "interrupt"},
23051+ {3, "SIGQUIT", "quit"},
23052+ {4, "SIGILL", "illegal instruction"},
23053+ {5, "SIGTRAP", "trace/BPT trap"},
23054+ {6, "SIGIOT", "abort trap"},
23055+ {7, "SIGEMT", "EMT trap"},
23056+ {8, "SIGFPE", "floating point exception"},
23057+ {9, "SIGKILL", "killed"},
23058+ {10, "SIGBUS", "bus error"},
23059+ {11, "SIGSEGV", "segmentation fault"},
23060+ {12, "SIGSYS", "bad system call"},
23061+ {13, "SIGPIPE", "broken pipe"},
23062+ {14, "SIGALRM", "alarm clock"},
23063+ {15, "SIGTERM", "terminated"},
23064+ {16, "SIGURG", "urgent I/O condition"},
23065+ {17, "SIGSTOP", "suspended (signal)"},
23066+ {18, "SIGTSTP", "suspended"},
23067+ {19, "SIGCONT", "continued"},
23068+ {20, "SIGCHLD", "child exited"},
23069+ {21, "SIGTTIN", "stopped (tty input)"},
23070+ {22, "SIGTTOU", "stopped (tty output)"},
23071+ {23, "SIGIO", "I/O possible"},
23072+ {24, "SIGXCPU", "cputime limit exceeded"},
23073+ {25, "SIGXFSZ", "filesize limit exceeded"},
23074+ {26, "SIGVTALRM", "virtual timer expired"},
23075+ {27, "SIGPROF", "profiling timer expired"},
23076+ {28, "SIGWINCH", "window size changes"},
23077+ {29, "SIGINFO", "information request"},
23078+ {30, "SIGUSR1", "user defined signal 1"},
23079+ {31, "SIGUSR2", "user defined signal 2"},
23080+ {32, "SIGTHR", "unknown signal"},
23081+ {33, "SIGLIBRT", "unknown signal"},
23082 }
23083diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux.go b/vendor/golang.org/x/sys/unix/zerrors_linux.go
23084new file mode 100644
23085index 00000000..21973940
23086--- /dev/null
23087+++ b/vendor/golang.org/x/sys/unix/zerrors_linux.go
23088@@ -0,0 +1,2469 @@
23089+// Code generated by mkmerge.go; DO NOT EDIT.
23090+
23091+// +build linux
23092+
23093+package unix
23094+
23095+import "syscall"
23096+
23097+const (
23098+ AAFS_MAGIC = 0x5a3c69f0
23099+ ADFS_SUPER_MAGIC = 0xadf5
23100+ AFFS_SUPER_MAGIC = 0xadff
23101+ AFS_FS_MAGIC = 0x6b414653
23102+ AFS_SUPER_MAGIC = 0x5346414f
23103+ AF_ALG = 0x26
23104+ AF_APPLETALK = 0x5
23105+ AF_ASH = 0x12
23106+ AF_ATMPVC = 0x8
23107+ AF_ATMSVC = 0x14
23108+ AF_AX25 = 0x3
23109+ AF_BLUETOOTH = 0x1f
23110+ AF_BRIDGE = 0x7
23111+ AF_CAIF = 0x25
23112+ AF_CAN = 0x1d
23113+ AF_DECnet = 0xc
23114+ AF_ECONET = 0x13
23115+ AF_FILE = 0x1
23116+ AF_IB = 0x1b
23117+ AF_IEEE802154 = 0x24
23118+ AF_INET = 0x2
23119+ AF_INET6 = 0xa
23120+ AF_IPX = 0x4
23121+ AF_IRDA = 0x17
23122+ AF_ISDN = 0x22
23123+ AF_IUCV = 0x20
23124+ AF_KCM = 0x29
23125+ AF_KEY = 0xf
23126+ AF_LLC = 0x1a
23127+ AF_LOCAL = 0x1
23128+ AF_MAX = 0x2d
23129+ AF_MPLS = 0x1c
23130+ AF_NETBEUI = 0xd
23131+ AF_NETLINK = 0x10
23132+ AF_NETROM = 0x6
23133+ AF_NFC = 0x27
23134+ AF_PACKET = 0x11
23135+ AF_PHONET = 0x23
23136+ AF_PPPOX = 0x18
23137+ AF_QIPCRTR = 0x2a
23138+ AF_RDS = 0x15
23139+ AF_ROSE = 0xb
23140+ AF_ROUTE = 0x10
23141+ AF_RXRPC = 0x21
23142+ AF_SECURITY = 0xe
23143+ AF_SMC = 0x2b
23144+ AF_SNA = 0x16
23145+ AF_TIPC = 0x1e
23146+ AF_UNIX = 0x1
23147+ AF_UNSPEC = 0x0
23148+ AF_VSOCK = 0x28
23149+ AF_WANPIPE = 0x19
23150+ AF_X25 = 0x9
23151+ AF_XDP = 0x2c
23152+ ALG_OP_DECRYPT = 0x0
23153+ ALG_OP_ENCRYPT = 0x1
23154+ ALG_SET_AEAD_ASSOCLEN = 0x4
23155+ ALG_SET_AEAD_AUTHSIZE = 0x5
23156+ ALG_SET_IV = 0x2
23157+ ALG_SET_KEY = 0x1
23158+ ALG_SET_OP = 0x3
23159+ ANON_INODE_FS_MAGIC = 0x9041934
23160+ ARPHRD_6LOWPAN = 0x339
23161+ ARPHRD_ADAPT = 0x108
23162+ ARPHRD_APPLETLK = 0x8
23163+ ARPHRD_ARCNET = 0x7
23164+ ARPHRD_ASH = 0x30d
23165+ ARPHRD_ATM = 0x13
23166+ ARPHRD_AX25 = 0x3
23167+ ARPHRD_BIF = 0x307
23168+ ARPHRD_CAIF = 0x336
23169+ ARPHRD_CAN = 0x118
23170+ ARPHRD_CHAOS = 0x5
23171+ ARPHRD_CISCO = 0x201
23172+ ARPHRD_CSLIP = 0x101
23173+ ARPHRD_CSLIP6 = 0x103
23174+ ARPHRD_DDCMP = 0x205
23175+ ARPHRD_DLCI = 0xf
23176+ ARPHRD_ECONET = 0x30e
23177+ ARPHRD_EETHER = 0x2
23178+ ARPHRD_ETHER = 0x1
23179+ ARPHRD_EUI64 = 0x1b
23180+ ARPHRD_FCAL = 0x311
23181+ ARPHRD_FCFABRIC = 0x313
23182+ ARPHRD_FCPL = 0x312
23183+ ARPHRD_FCPP = 0x310
23184+ ARPHRD_FDDI = 0x306
23185+ ARPHRD_FRAD = 0x302
23186+ ARPHRD_HDLC = 0x201
23187+ ARPHRD_HIPPI = 0x30c
23188+ ARPHRD_HWX25 = 0x110
23189+ ARPHRD_IEEE1394 = 0x18
23190+ ARPHRD_IEEE802 = 0x6
23191+ ARPHRD_IEEE80211 = 0x321
23192+ ARPHRD_IEEE80211_PRISM = 0x322
23193+ ARPHRD_IEEE80211_RADIOTAP = 0x323
23194+ ARPHRD_IEEE802154 = 0x324
23195+ ARPHRD_IEEE802154_MONITOR = 0x325
23196+ ARPHRD_IEEE802_TR = 0x320
23197+ ARPHRD_INFINIBAND = 0x20
23198+ ARPHRD_IP6GRE = 0x337
23199+ ARPHRD_IPDDP = 0x309
23200+ ARPHRD_IPGRE = 0x30a
23201+ ARPHRD_IRDA = 0x30f
23202+ ARPHRD_LAPB = 0x204
23203+ ARPHRD_LOCALTLK = 0x305
23204+ ARPHRD_LOOPBACK = 0x304
23205+ ARPHRD_METRICOM = 0x17
23206+ ARPHRD_NETLINK = 0x338
23207+ ARPHRD_NETROM = 0x0
23208+ ARPHRD_NONE = 0xfffe
23209+ ARPHRD_PHONET = 0x334
23210+ ARPHRD_PHONET_PIPE = 0x335
23211+ ARPHRD_PIMREG = 0x30b
23212+ ARPHRD_PPP = 0x200
23213+ ARPHRD_PRONET = 0x4
23214+ ARPHRD_RAWHDLC = 0x206
23215+ ARPHRD_RAWIP = 0x207
23216+ ARPHRD_ROSE = 0x10e
23217+ ARPHRD_RSRVD = 0x104
23218+ ARPHRD_SIT = 0x308
23219+ ARPHRD_SKIP = 0x303
23220+ ARPHRD_SLIP = 0x100
23221+ ARPHRD_SLIP6 = 0x102
23222+ ARPHRD_TUNNEL = 0x300
23223+ ARPHRD_TUNNEL6 = 0x301
23224+ ARPHRD_VOID = 0xffff
23225+ ARPHRD_VSOCKMON = 0x33a
23226+ ARPHRD_X25 = 0x10f
23227+ AUTOFS_SUPER_MAGIC = 0x187
23228+ B0 = 0x0
23229+ B110 = 0x3
23230+ B1200 = 0x9
23231+ B134 = 0x4
23232+ B150 = 0x5
23233+ B1800 = 0xa
23234+ B19200 = 0xe
23235+ B200 = 0x6
23236+ B2400 = 0xb
23237+ B300 = 0x7
23238+ B38400 = 0xf
23239+ B4800 = 0xc
23240+ B50 = 0x1
23241+ B600 = 0x8
23242+ B75 = 0x2
23243+ B9600 = 0xd
23244+ BALLOON_KVM_MAGIC = 0x13661366
23245+ BDEVFS_MAGIC = 0x62646576
23246+ BINDERFS_SUPER_MAGIC = 0x6c6f6f70
23247+ BINFMTFS_MAGIC = 0x42494e4d
23248+ BPF_A = 0x10
23249+ BPF_ABS = 0x20
23250+ BPF_ADD = 0x0
23251+ BPF_ADJ_ROOM_ENCAP_L2_MASK = 0xff
23252+ BPF_ADJ_ROOM_ENCAP_L2_SHIFT = 0x38
23253+ BPF_ALU = 0x4
23254+ BPF_ALU64 = 0x7
23255+ BPF_AND = 0x50
23256+ BPF_ANY = 0x0
23257+ BPF_ARSH = 0xc0
23258+ BPF_B = 0x10
23259+ BPF_BUILD_ID_SIZE = 0x14
23260+ BPF_CALL = 0x80
23261+ BPF_DEVCG_ACC_MKNOD = 0x1
23262+ BPF_DEVCG_ACC_READ = 0x2
23263+ BPF_DEVCG_ACC_WRITE = 0x4
23264+ BPF_DEVCG_DEV_BLOCK = 0x1
23265+ BPF_DEVCG_DEV_CHAR = 0x2
23266+ BPF_DIV = 0x30
23267+ BPF_DW = 0x18
23268+ BPF_END = 0xd0
23269+ BPF_EXIST = 0x2
23270+ BPF_EXIT = 0x90
23271+ BPF_FLOW_DISSECTOR_F_PARSE_1ST_FRAG = 0x1
23272+ BPF_FLOW_DISSECTOR_F_STOP_AT_ENCAP = 0x4
23273+ BPF_FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL = 0x2
23274+ BPF_FROM_BE = 0x8
23275+ BPF_FROM_LE = 0x0
23276+ BPF_FS_MAGIC = 0xcafe4a11
23277+ BPF_F_ADJ_ROOM_ENCAP_L3_IPV4 = 0x2
23278+ BPF_F_ADJ_ROOM_ENCAP_L3_IPV6 = 0x4
23279+ BPF_F_ADJ_ROOM_ENCAP_L4_GRE = 0x8
23280+ BPF_F_ADJ_ROOM_ENCAP_L4_UDP = 0x10
23281+ BPF_F_ADJ_ROOM_FIXED_GSO = 0x1
23282+ BPF_F_ALLOW_MULTI = 0x2
23283+ BPF_F_ALLOW_OVERRIDE = 0x1
23284+ BPF_F_ANY_ALIGNMENT = 0x2
23285+ BPF_F_CLONE = 0x200
23286+ BPF_F_CTXLEN_MASK = 0xfffff00000000
23287+ BPF_F_CURRENT_CPU = 0xffffffff
23288+ BPF_F_CURRENT_NETNS = -0x1
23289+ BPF_F_DONT_FRAGMENT = 0x4
23290+ BPF_F_FAST_STACK_CMP = 0x200
23291+ BPF_F_HDR_FIELD_MASK = 0xf
23292+ BPF_F_INDEX_MASK = 0xffffffff
23293+ BPF_F_INGRESS = 0x1
23294+ BPF_F_INVALIDATE_HASH = 0x2
23295+ BPF_F_LOCK = 0x4
23296+ BPF_F_MARK_ENFORCE = 0x40
23297+ BPF_F_MARK_MANGLED_0 = 0x20
23298+ BPF_F_MMAPABLE = 0x400
23299+ BPF_F_NO_COMMON_LRU = 0x2
23300+ BPF_F_NO_PREALLOC = 0x1
23301+ BPF_F_NUMA_NODE = 0x4
23302+ BPF_F_PSEUDO_HDR = 0x10
23303+ BPF_F_QUERY_EFFECTIVE = 0x1
23304+ BPF_F_RDONLY = 0x8
23305+ BPF_F_RDONLY_PROG = 0x80
23306+ BPF_F_RECOMPUTE_CSUM = 0x1
23307+ BPF_F_REPLACE = 0x4
23308+ BPF_F_REUSE_STACKID = 0x400
23309+ BPF_F_SEQ_NUMBER = 0x8
23310+ BPF_F_SKIP_FIELD_MASK = 0xff
23311+ BPF_F_STACK_BUILD_ID = 0x20
23312+ BPF_F_STRICT_ALIGNMENT = 0x1
23313+ BPF_F_SYSCTL_BASE_NAME = 0x1
23314+ BPF_F_TEST_RND_HI32 = 0x4
23315+ BPF_F_TEST_STATE_FREQ = 0x8
23316+ BPF_F_TUNINFO_IPV6 = 0x1
23317+ BPF_F_USER_BUILD_ID = 0x800
23318+ BPF_F_USER_STACK = 0x100
23319+ BPF_F_WRONLY = 0x10
23320+ BPF_F_WRONLY_PROG = 0x100
23321+ BPF_F_ZERO_CSUM_TX = 0x2
23322+ BPF_F_ZERO_SEED = 0x40
23323+ BPF_H = 0x8
23324+ BPF_IMM = 0x0
23325+ BPF_IND = 0x40
23326+ BPF_JA = 0x0
23327+ BPF_JEQ = 0x10
23328+ BPF_JGE = 0x30
23329+ BPF_JGT = 0x20
23330+ BPF_JLE = 0xb0
23331+ BPF_JLT = 0xa0
23332+ BPF_JMP = 0x5
23333+ BPF_JMP32 = 0x6
23334+ BPF_JNE = 0x50
23335+ BPF_JSET = 0x40
23336+ BPF_JSGE = 0x70
23337+ BPF_JSGT = 0x60
23338+ BPF_JSLE = 0xd0
23339+ BPF_JSLT = 0xc0
23340+ BPF_K = 0x0
23341+ BPF_LD = 0x0
23342+ BPF_LDX = 0x1
23343+ BPF_LEN = 0x80
23344+ BPF_LL_OFF = -0x200000
23345+ BPF_LSH = 0x60
23346+ BPF_MAJOR_VERSION = 0x1
23347+ BPF_MAXINSNS = 0x1000
23348+ BPF_MEM = 0x60
23349+ BPF_MEMWORDS = 0x10
23350+ BPF_MINOR_VERSION = 0x1
23351+ BPF_MISC = 0x7
23352+ BPF_MOD = 0x90
23353+ BPF_MOV = 0xb0
23354+ BPF_MSH = 0xa0
23355+ BPF_MUL = 0x20
23356+ BPF_NEG = 0x80
23357+ BPF_NET_OFF = -0x100000
23358+ BPF_NOEXIST = 0x1
23359+ BPF_OBJ_NAME_LEN = 0x10
23360+ BPF_OR = 0x40
23361+ BPF_PSEUDO_CALL = 0x1
23362+ BPF_PSEUDO_MAP_FD = 0x1
23363+ BPF_PSEUDO_MAP_VALUE = 0x2
23364+ BPF_RET = 0x6
23365+ BPF_RSH = 0x70
23366+ BPF_SK_STORAGE_GET_F_CREATE = 0x1
23367+ BPF_SOCK_OPS_ALL_CB_FLAGS = 0xf
23368+ BPF_SOCK_OPS_RETRANS_CB_FLAG = 0x2
23369+ BPF_SOCK_OPS_RTO_CB_FLAG = 0x1
23370+ BPF_SOCK_OPS_RTT_CB_FLAG = 0x8
23371+ BPF_SOCK_OPS_STATE_CB_FLAG = 0x4
23372+ BPF_ST = 0x2
23373+ BPF_STX = 0x3
23374+ BPF_SUB = 0x10
23375+ BPF_TAG_SIZE = 0x8
23376+ BPF_TAX = 0x0
23377+ BPF_TO_BE = 0x8
23378+ BPF_TO_LE = 0x0
23379+ BPF_TXA = 0x80
23380+ BPF_W = 0x0
23381+ BPF_X = 0x8
23382+ BPF_XADD = 0xc0
23383+ BPF_XOR = 0xa0
23384+ BRKINT = 0x2
23385+ BS0 = 0x0
23386+ BTRFS_SUPER_MAGIC = 0x9123683e
23387+ BTRFS_TEST_MAGIC = 0x73727279
23388+ CAN_BCM = 0x2
23389+ CAN_EFF_FLAG = 0x80000000
23390+ CAN_EFF_ID_BITS = 0x1d
23391+ CAN_EFF_MASK = 0x1fffffff
23392+ CAN_ERR_FLAG = 0x20000000
23393+ CAN_ERR_MASK = 0x1fffffff
23394+ CAN_INV_FILTER = 0x20000000
23395+ CAN_ISOTP = 0x6
23396+ CAN_J1939 = 0x7
23397+ CAN_MAX_DLC = 0x8
23398+ CAN_MAX_DLEN = 0x8
23399+ CAN_MCNET = 0x5
23400+ CAN_MTU = 0x10
23401+ CAN_NPROTO = 0x8
23402+ CAN_RAW = 0x1
23403+ CAN_RAW_FILTER_MAX = 0x200
23404+ CAN_RTR_FLAG = 0x40000000
23405+ CAN_SFF_ID_BITS = 0xb
23406+ CAN_SFF_MASK = 0x7ff
23407+ CAN_TP16 = 0x3
23408+ CAN_TP20 = 0x4
23409+ CAP_AUDIT_CONTROL = 0x1e
23410+ CAP_AUDIT_READ = 0x25
23411+ CAP_AUDIT_WRITE = 0x1d
23412+ CAP_BLOCK_SUSPEND = 0x24
23413+ CAP_CHOWN = 0x0
23414+ CAP_DAC_OVERRIDE = 0x1
23415+ CAP_DAC_READ_SEARCH = 0x2
23416+ CAP_FOWNER = 0x3
23417+ CAP_FSETID = 0x4
23418+ CAP_IPC_LOCK = 0xe
23419+ CAP_IPC_OWNER = 0xf
23420+ CAP_KILL = 0x5
23421+ CAP_LAST_CAP = 0x25
23422+ CAP_LEASE = 0x1c
23423+ CAP_LINUX_IMMUTABLE = 0x9
23424+ CAP_MAC_ADMIN = 0x21
23425+ CAP_MAC_OVERRIDE = 0x20
23426+ CAP_MKNOD = 0x1b
23427+ CAP_NET_ADMIN = 0xc
23428+ CAP_NET_BIND_SERVICE = 0xa
23429+ CAP_NET_BROADCAST = 0xb
23430+ CAP_NET_RAW = 0xd
23431+ CAP_SETFCAP = 0x1f
23432+ CAP_SETGID = 0x6
23433+ CAP_SETPCAP = 0x8
23434+ CAP_SETUID = 0x7
23435+ CAP_SYSLOG = 0x22
23436+ CAP_SYS_ADMIN = 0x15
23437+ CAP_SYS_BOOT = 0x16
23438+ CAP_SYS_CHROOT = 0x12
23439+ CAP_SYS_MODULE = 0x10
23440+ CAP_SYS_NICE = 0x17
23441+ CAP_SYS_PACCT = 0x14
23442+ CAP_SYS_PTRACE = 0x13
23443+ CAP_SYS_RAWIO = 0x11
23444+ CAP_SYS_RESOURCE = 0x18
23445+ CAP_SYS_TIME = 0x19
23446+ CAP_SYS_TTY_CONFIG = 0x1a
23447+ CAP_WAKE_ALARM = 0x23
23448+ CFLUSH = 0xf
23449+ CGROUP2_SUPER_MAGIC = 0x63677270
23450+ CGROUP_SUPER_MAGIC = 0x27e0eb
23451+ CLOCK_BOOTTIME = 0x7
23452+ CLOCK_BOOTTIME_ALARM = 0x9
23453+ CLOCK_DEFAULT = 0x0
23454+ CLOCK_EXT = 0x1
23455+ CLOCK_INT = 0x2
23456+ CLOCK_MONOTONIC = 0x1
23457+ CLOCK_MONOTONIC_COARSE = 0x6
23458+ CLOCK_MONOTONIC_RAW = 0x4
23459+ CLOCK_PROCESS_CPUTIME_ID = 0x2
23460+ CLOCK_REALTIME = 0x0
23461+ CLOCK_REALTIME_ALARM = 0x8
23462+ CLOCK_REALTIME_COARSE = 0x5
23463+ CLOCK_TAI = 0xb
23464+ CLOCK_THREAD_CPUTIME_ID = 0x3
23465+ CLOCK_TXFROMRX = 0x4
23466+ CLOCK_TXINT = 0x3
23467+ CLONE_ARGS_SIZE_VER0 = 0x40
23468+ CLONE_ARGS_SIZE_VER1 = 0x50
23469+ CLONE_CHILD_CLEARTID = 0x200000
23470+ CLONE_CHILD_SETTID = 0x1000000
23471+ CLONE_CLEAR_SIGHAND = 0x100000000
23472+ CLONE_DETACHED = 0x400000
23473+ CLONE_FILES = 0x400
23474+ CLONE_FS = 0x200
23475+ CLONE_IO = 0x80000000
23476+ CLONE_NEWCGROUP = 0x2000000
23477+ CLONE_NEWIPC = 0x8000000
23478+ CLONE_NEWNET = 0x40000000
23479+ CLONE_NEWNS = 0x20000
23480+ CLONE_NEWPID = 0x20000000
23481+ CLONE_NEWTIME = 0x80
23482+ CLONE_NEWUSER = 0x10000000
23483+ CLONE_NEWUTS = 0x4000000
23484+ CLONE_PARENT = 0x8000
23485+ CLONE_PARENT_SETTID = 0x100000
23486+ CLONE_PIDFD = 0x1000
23487+ CLONE_PTRACE = 0x2000
23488+ CLONE_SETTLS = 0x80000
23489+ CLONE_SIGHAND = 0x800
23490+ CLONE_SYSVSEM = 0x40000
23491+ CLONE_THREAD = 0x10000
23492+ CLONE_UNTRACED = 0x800000
23493+ CLONE_VFORK = 0x4000
23494+ CLONE_VM = 0x100
23495+ CMSPAR = 0x40000000
23496+ CODA_SUPER_MAGIC = 0x73757245
23497+ CR0 = 0x0
23498+ CRAMFS_MAGIC = 0x28cd3d45
23499+ CRTSCTS = 0x80000000
23500+ CRYPTO_MAX_NAME = 0x40
23501+ CRYPTO_MSG_MAX = 0x15
23502+ CRYPTO_NR_MSGTYPES = 0x6
23503+ CRYPTO_REPORT_MAXSIZE = 0x160
23504+ CS5 = 0x0
23505+ CSIGNAL = 0xff
23506+ CSTART = 0x11
23507+ CSTATUS = 0x0
23508+ CSTOP = 0x13
23509+ CSUSP = 0x1a
23510+ DAXFS_MAGIC = 0x64646178
23511+ DEBUGFS_MAGIC = 0x64626720
23512+ DEVLINK_CMD_ESWITCH_MODE_GET = 0x1d
23513+ DEVLINK_CMD_ESWITCH_MODE_SET = 0x1e
23514+ DEVLINK_GENL_MCGRP_CONFIG_NAME = "config"
23515+ DEVLINK_GENL_NAME = "devlink"
23516+ DEVLINK_GENL_VERSION = 0x1
23517+ DEVLINK_SB_THRESHOLD_TO_ALPHA_MAX = 0x14
23518+ DEVPTS_SUPER_MAGIC = 0x1cd1
23519+ DMA_BUF_MAGIC = 0x444d4142
23520+ DT_BLK = 0x6
23521+ DT_CHR = 0x2
23522+ DT_DIR = 0x4
23523+ DT_FIFO = 0x1
23524+ DT_LNK = 0xa
23525+ DT_REG = 0x8
23526+ DT_SOCK = 0xc
23527+ DT_UNKNOWN = 0x0
23528+ DT_WHT = 0xe
23529+ ECHO = 0x8
23530+ ECRYPTFS_SUPER_MAGIC = 0xf15f
23531+ EFD_SEMAPHORE = 0x1
23532+ EFIVARFS_MAGIC = 0xde5e81e4
23533+ EFS_SUPER_MAGIC = 0x414a53
23534+ ENCODING_DEFAULT = 0x0
23535+ ENCODING_FM_MARK = 0x3
23536+ ENCODING_FM_SPACE = 0x4
23537+ ENCODING_MANCHESTER = 0x5
23538+ ENCODING_NRZ = 0x1
23539+ ENCODING_NRZI = 0x2
23540+ EPOLLERR = 0x8
23541+ EPOLLET = 0x80000000
23542+ EPOLLEXCLUSIVE = 0x10000000
23543+ EPOLLHUP = 0x10
23544+ EPOLLIN = 0x1
23545+ EPOLLMSG = 0x400
23546+ EPOLLONESHOT = 0x40000000
23547+ EPOLLOUT = 0x4
23548+ EPOLLPRI = 0x2
23549+ EPOLLRDBAND = 0x80
23550+ EPOLLRDHUP = 0x2000
23551+ EPOLLRDNORM = 0x40
23552+ EPOLLWAKEUP = 0x20000000
23553+ EPOLLWRBAND = 0x200
23554+ EPOLLWRNORM = 0x100
23555+ EPOLL_CTL_ADD = 0x1
23556+ EPOLL_CTL_DEL = 0x2
23557+ EPOLL_CTL_MOD = 0x3
23558+ EROFS_SUPER_MAGIC_V1 = 0xe0f5e1e2
23559+ ETH_P_1588 = 0x88f7
23560+ ETH_P_8021AD = 0x88a8
23561+ ETH_P_8021AH = 0x88e7
23562+ ETH_P_8021Q = 0x8100
23563+ ETH_P_80221 = 0x8917
23564+ ETH_P_802_2 = 0x4
23565+ ETH_P_802_3 = 0x1
23566+ ETH_P_802_3_MIN = 0x600
23567+ ETH_P_802_EX1 = 0x88b5
23568+ ETH_P_AARP = 0x80f3
23569+ ETH_P_AF_IUCV = 0xfbfb
23570+ ETH_P_ALL = 0x3
23571+ ETH_P_AOE = 0x88a2
23572+ ETH_P_ARCNET = 0x1a
23573+ ETH_P_ARP = 0x806
23574+ ETH_P_ATALK = 0x809b
23575+ ETH_P_ATMFATE = 0x8884
23576+ ETH_P_ATMMPOA = 0x884c
23577+ ETH_P_AX25 = 0x2
23578+ ETH_P_BATMAN = 0x4305
23579+ ETH_P_BPQ = 0x8ff
23580+ ETH_P_CAIF = 0xf7
23581+ ETH_P_CAN = 0xc
23582+ ETH_P_CANFD = 0xd
23583+ ETH_P_CONTROL = 0x16
23584+ ETH_P_CUST = 0x6006
23585+ ETH_P_DDCMP = 0x6
23586+ ETH_P_DEC = 0x6000
23587+ ETH_P_DIAG = 0x6005
23588+ ETH_P_DNA_DL = 0x6001
23589+ ETH_P_DNA_RC = 0x6002
23590+ ETH_P_DNA_RT = 0x6003
23591+ ETH_P_DSA = 0x1b
23592+ ETH_P_DSA_8021Q = 0xdadb
23593+ ETH_P_ECONET = 0x18
23594+ ETH_P_EDSA = 0xdada
23595+ ETH_P_ERSPAN = 0x88be
23596+ ETH_P_ERSPAN2 = 0x22eb
23597+ ETH_P_FCOE = 0x8906
23598+ ETH_P_FIP = 0x8914
23599+ ETH_P_HDLC = 0x19
23600+ ETH_P_HSR = 0x892f
23601+ ETH_P_IBOE = 0x8915
23602+ ETH_P_IEEE802154 = 0xf6
23603+ ETH_P_IEEEPUP = 0xa00
23604+ ETH_P_IEEEPUPAT = 0xa01
23605+ ETH_P_IFE = 0xed3e
23606+ ETH_P_IP = 0x800
23607+ ETH_P_IPV6 = 0x86dd
23608+ ETH_P_IPX = 0x8137
23609+ ETH_P_IRDA = 0x17
23610+ ETH_P_LAT = 0x6004
23611+ ETH_P_LINK_CTL = 0x886c
23612+ ETH_P_LLDP = 0x88cc
23613+ ETH_P_LOCALTALK = 0x9
23614+ ETH_P_LOOP = 0x60
23615+ ETH_P_LOOPBACK = 0x9000
23616+ ETH_P_MACSEC = 0x88e5
23617+ ETH_P_MAP = 0xf9
23618+ ETH_P_MOBITEX = 0x15
23619+ ETH_P_MPLS_MC = 0x8848
23620+ ETH_P_MPLS_UC = 0x8847
23621+ ETH_P_MVRP = 0x88f5
23622+ ETH_P_NCSI = 0x88f8
23623+ ETH_P_NSH = 0x894f
23624+ ETH_P_PAE = 0x888e
23625+ ETH_P_PAUSE = 0x8808
23626+ ETH_P_PHONET = 0xf5
23627+ ETH_P_PPPTALK = 0x10
23628+ ETH_P_PPP_DISC = 0x8863
23629+ ETH_P_PPP_MP = 0x8
23630+ ETH_P_PPP_SES = 0x8864
23631+ ETH_P_PREAUTH = 0x88c7
23632+ ETH_P_PRP = 0x88fb
23633+ ETH_P_PUP = 0x200
23634+ ETH_P_PUPAT = 0x201
23635+ ETH_P_QINQ1 = 0x9100
23636+ ETH_P_QINQ2 = 0x9200
23637+ ETH_P_QINQ3 = 0x9300
23638+ ETH_P_RARP = 0x8035
23639+ ETH_P_SCA = 0x6007
23640+ ETH_P_SLOW = 0x8809
23641+ ETH_P_SNAP = 0x5
23642+ ETH_P_TDLS = 0x890d
23643+ ETH_P_TEB = 0x6558
23644+ ETH_P_TIPC = 0x88ca
23645+ ETH_P_TRAILER = 0x1c
23646+ ETH_P_TR_802_2 = 0x11
23647+ ETH_P_TSN = 0x22f0
23648+ ETH_P_WAN_PPP = 0x7
23649+ ETH_P_WCCP = 0x883e
23650+ ETH_P_X25 = 0x805
23651+ ETH_P_XDSA = 0xf8
23652+ EXABYTE_ENABLE_NEST = 0xf0
23653+ EXT2_SUPER_MAGIC = 0xef53
23654+ EXT3_SUPER_MAGIC = 0xef53
23655+ EXT4_SUPER_MAGIC = 0xef53
23656+ EXTA = 0xe
23657+ EXTB = 0xf
23658+ F2FS_SUPER_MAGIC = 0xf2f52010
23659+ FALLOC_FL_COLLAPSE_RANGE = 0x8
23660+ FALLOC_FL_INSERT_RANGE = 0x20
23661+ FALLOC_FL_KEEP_SIZE = 0x1
23662+ FALLOC_FL_NO_HIDE_STALE = 0x4
23663+ FALLOC_FL_PUNCH_HOLE = 0x2
23664+ FALLOC_FL_UNSHARE_RANGE = 0x40
23665+ FALLOC_FL_ZERO_RANGE = 0x10
23666+ FANOTIFY_METADATA_VERSION = 0x3
23667+ FAN_ACCESS = 0x1
23668+ FAN_ACCESS_PERM = 0x20000
23669+ FAN_ALLOW = 0x1
23670+ FAN_ALL_CLASS_BITS = 0xc
23671+ FAN_ALL_EVENTS = 0x3b
23672+ FAN_ALL_INIT_FLAGS = 0x3f
23673+ FAN_ALL_MARK_FLAGS = 0xff
23674+ FAN_ALL_OUTGOING_EVENTS = 0x3403b
23675+ FAN_ALL_PERM_EVENTS = 0x30000
23676+ FAN_ATTRIB = 0x4
23677+ FAN_AUDIT = 0x10
23678+ FAN_CLASS_CONTENT = 0x4
23679+ FAN_CLASS_NOTIF = 0x0
23680+ FAN_CLASS_PRE_CONTENT = 0x8
23681+ FAN_CLOEXEC = 0x1
23682+ FAN_CLOSE = 0x18
23683+ FAN_CLOSE_NOWRITE = 0x10
23684+ FAN_CLOSE_WRITE = 0x8
23685+ FAN_CREATE = 0x100
23686+ FAN_DELETE = 0x200
23687+ FAN_DELETE_SELF = 0x400
23688+ FAN_DENY = 0x2
23689+ FAN_ENABLE_AUDIT = 0x40
23690+ FAN_EVENT_INFO_TYPE_FID = 0x1
23691+ FAN_EVENT_METADATA_LEN = 0x18
23692+ FAN_EVENT_ON_CHILD = 0x8000000
23693+ FAN_MARK_ADD = 0x1
23694+ FAN_MARK_DONT_FOLLOW = 0x4
23695+ FAN_MARK_FILESYSTEM = 0x100
23696+ FAN_MARK_FLUSH = 0x80
23697+ FAN_MARK_IGNORED_MASK = 0x20
23698+ FAN_MARK_IGNORED_SURV_MODIFY = 0x40
23699+ FAN_MARK_INODE = 0x0
23700+ FAN_MARK_MOUNT = 0x10
23701+ FAN_MARK_ONLYDIR = 0x8
23702+ FAN_MARK_REMOVE = 0x2
23703+ FAN_MODIFY = 0x2
23704+ FAN_MOVE = 0xc0
23705+ FAN_MOVED_FROM = 0x40
23706+ FAN_MOVED_TO = 0x80
23707+ FAN_MOVE_SELF = 0x800
23708+ FAN_NOFD = -0x1
23709+ FAN_NONBLOCK = 0x2
23710+ FAN_ONDIR = 0x40000000
23711+ FAN_OPEN = 0x20
23712+ FAN_OPEN_EXEC = 0x1000
23713+ FAN_OPEN_EXEC_PERM = 0x40000
23714+ FAN_OPEN_PERM = 0x10000
23715+ FAN_Q_OVERFLOW = 0x4000
23716+ FAN_REPORT_FID = 0x200
23717+ FAN_REPORT_TID = 0x100
23718+ FAN_UNLIMITED_MARKS = 0x20
23719+ FAN_UNLIMITED_QUEUE = 0x10
23720+ FD_CLOEXEC = 0x1
23721+ FD_SETSIZE = 0x400
23722+ FF0 = 0x0
23723+ FSCRYPT_KEY_DESCRIPTOR_SIZE = 0x8
23724+ FSCRYPT_KEY_DESC_PREFIX = "fscrypt:"
23725+ FSCRYPT_KEY_DESC_PREFIX_SIZE = 0x8
23726+ FSCRYPT_KEY_IDENTIFIER_SIZE = 0x10
23727+ FSCRYPT_KEY_REMOVAL_STATUS_FLAG_FILES_BUSY = 0x1
23728+ FSCRYPT_KEY_REMOVAL_STATUS_FLAG_OTHER_USERS = 0x2
23729+ FSCRYPT_KEY_SPEC_TYPE_DESCRIPTOR = 0x1
23730+ FSCRYPT_KEY_SPEC_TYPE_IDENTIFIER = 0x2
23731+ FSCRYPT_KEY_STATUS_ABSENT = 0x1
23732+ FSCRYPT_KEY_STATUS_FLAG_ADDED_BY_SELF = 0x1
23733+ FSCRYPT_KEY_STATUS_INCOMPLETELY_REMOVED = 0x3
23734+ FSCRYPT_KEY_STATUS_PRESENT = 0x2
23735+ FSCRYPT_MAX_KEY_SIZE = 0x40
23736+ FSCRYPT_MODE_ADIANTUM = 0x9
23737+ FSCRYPT_MODE_AES_128_CBC = 0x5
23738+ FSCRYPT_MODE_AES_128_CTS = 0x6
23739+ FSCRYPT_MODE_AES_256_CTS = 0x4
23740+ FSCRYPT_MODE_AES_256_XTS = 0x1
23741+ FSCRYPT_POLICY_FLAGS_PAD_16 = 0x2
23742+ FSCRYPT_POLICY_FLAGS_PAD_32 = 0x3
23743+ FSCRYPT_POLICY_FLAGS_PAD_4 = 0x0
23744+ FSCRYPT_POLICY_FLAGS_PAD_8 = 0x1
23745+ FSCRYPT_POLICY_FLAGS_PAD_MASK = 0x3
23746+ FSCRYPT_POLICY_FLAGS_VALID = 0xf
23747+ FSCRYPT_POLICY_FLAG_DIRECT_KEY = 0x4
23748+ FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64 = 0x8
23749+ FSCRYPT_POLICY_V1 = 0x0
23750+ FSCRYPT_POLICY_V2 = 0x2
23751+ FS_ENCRYPTION_MODE_ADIANTUM = 0x9
23752+ FS_ENCRYPTION_MODE_AES_128_CBC = 0x5
23753+ FS_ENCRYPTION_MODE_AES_128_CTS = 0x6
23754+ FS_ENCRYPTION_MODE_AES_256_CBC = 0x3
23755+ FS_ENCRYPTION_MODE_AES_256_CTS = 0x4
23756+ FS_ENCRYPTION_MODE_AES_256_GCM = 0x2
23757+ FS_ENCRYPTION_MODE_AES_256_XTS = 0x1
23758+ FS_ENCRYPTION_MODE_INVALID = 0x0
23759+ FS_ENCRYPTION_MODE_SPECK128_256_CTS = 0x8
23760+ FS_ENCRYPTION_MODE_SPECK128_256_XTS = 0x7
23761+ FS_IOC_ADD_ENCRYPTION_KEY = 0xc0506617
23762+ FS_IOC_GET_ENCRYPTION_KEY_STATUS = 0xc080661a
23763+ FS_IOC_GET_ENCRYPTION_POLICY_EX = 0xc0096616
23764+ FS_IOC_MEASURE_VERITY = 0xc0046686
23765+ FS_IOC_REMOVE_ENCRYPTION_KEY = 0xc0406618
23766+ FS_IOC_REMOVE_ENCRYPTION_KEY_ALL_USERS = 0xc0406619
23767+ FS_KEY_DESCRIPTOR_SIZE = 0x8
23768+ FS_KEY_DESC_PREFIX = "fscrypt:"
23769+ FS_KEY_DESC_PREFIX_SIZE = 0x8
23770+ FS_MAX_KEY_SIZE = 0x40
23771+ FS_POLICY_FLAGS_PAD_16 = 0x2
23772+ FS_POLICY_FLAGS_PAD_32 = 0x3
23773+ FS_POLICY_FLAGS_PAD_4 = 0x0
23774+ FS_POLICY_FLAGS_PAD_8 = 0x1
23775+ FS_POLICY_FLAGS_PAD_MASK = 0x3
23776+ FS_POLICY_FLAGS_VALID = 0xf
23777+ FS_VERITY_FL = 0x100000
23778+ FS_VERITY_HASH_ALG_SHA256 = 0x1
23779+ FS_VERITY_HASH_ALG_SHA512 = 0x2
23780+ FUTEXFS_SUPER_MAGIC = 0xbad1dea
23781+ F_ADD_SEALS = 0x409
23782+ F_DUPFD = 0x0
23783+ F_DUPFD_CLOEXEC = 0x406
23784+ F_EXLCK = 0x4
23785+ F_GETFD = 0x1
23786+ F_GETFL = 0x3
23787+ F_GETLEASE = 0x401
23788+ F_GETOWN_EX = 0x10
23789+ F_GETPIPE_SZ = 0x408
23790+ F_GETSIG = 0xb
23791+ F_GET_FILE_RW_HINT = 0x40d
23792+ F_GET_RW_HINT = 0x40b
23793+ F_GET_SEALS = 0x40a
23794+ F_LOCK = 0x1
23795+ F_NOTIFY = 0x402
23796+ F_OFD_GETLK = 0x24
23797+ F_OFD_SETLK = 0x25
23798+ F_OFD_SETLKW = 0x26
23799+ F_OK = 0x0
23800+ F_SEAL_FUTURE_WRITE = 0x10
23801+ F_SEAL_GROW = 0x4
23802+ F_SEAL_SEAL = 0x1
23803+ F_SEAL_SHRINK = 0x2
23804+ F_SEAL_WRITE = 0x8
23805+ F_SETFD = 0x2
23806+ F_SETFL = 0x4
23807+ F_SETLEASE = 0x400
23808+ F_SETOWN_EX = 0xf
23809+ F_SETPIPE_SZ = 0x407
23810+ F_SETSIG = 0xa
23811+ F_SET_FILE_RW_HINT = 0x40e
23812+ F_SET_RW_HINT = 0x40c
23813+ F_SHLCK = 0x8
23814+ F_TEST = 0x3
23815+ F_TLOCK = 0x2
23816+ F_ULOCK = 0x0
23817+ GENL_ADMIN_PERM = 0x1
23818+ GENL_CMD_CAP_DO = 0x2
23819+ GENL_CMD_CAP_DUMP = 0x4
23820+ GENL_CMD_CAP_HASPOL = 0x8
23821+ GENL_HDRLEN = 0x4
23822+ GENL_ID_CTRL = 0x10
23823+ GENL_ID_PMCRAID = 0x12
23824+ GENL_ID_VFS_DQUOT = 0x11
23825+ GENL_MAX_ID = 0x3ff
23826+ GENL_MIN_ID = 0x10
23827+ GENL_NAMSIZ = 0x10
23828+ GENL_START_ALLOC = 0x13
23829+ GENL_UNS_ADMIN_PERM = 0x10
23830+ GRND_INSECURE = 0x4
23831+ GRND_NONBLOCK = 0x1
23832+ GRND_RANDOM = 0x2
23833+ HDIO_DRIVE_CMD = 0x31f
23834+ HDIO_DRIVE_CMD_AEB = 0x31e
23835+ HDIO_DRIVE_CMD_HDR_SIZE = 0x4
23836+ HDIO_DRIVE_HOB_HDR_SIZE = 0x8
23837+ HDIO_DRIVE_RESET = 0x31c
23838+ HDIO_DRIVE_TASK = 0x31e
23839+ HDIO_DRIVE_TASKFILE = 0x31d
23840+ HDIO_DRIVE_TASK_HDR_SIZE = 0x8
23841+ HDIO_GETGEO = 0x301
23842+ HDIO_GET_32BIT = 0x309
23843+ HDIO_GET_ACOUSTIC = 0x30f
23844+ HDIO_GET_ADDRESS = 0x310
23845+ HDIO_GET_BUSSTATE = 0x31a
23846+ HDIO_GET_DMA = 0x30b
23847+ HDIO_GET_IDENTITY = 0x30d
23848+ HDIO_GET_KEEPSETTINGS = 0x308
23849+ HDIO_GET_MULTCOUNT = 0x304
23850+ HDIO_GET_NICE = 0x30c
23851+ HDIO_GET_NOWERR = 0x30a
23852+ HDIO_GET_QDMA = 0x305
23853+ HDIO_GET_UNMASKINTR = 0x302
23854+ HDIO_GET_WCACHE = 0x30e
23855+ HDIO_OBSOLETE_IDENTITY = 0x307
23856+ HDIO_SCAN_HWIF = 0x328
23857+ HDIO_SET_32BIT = 0x324
23858+ HDIO_SET_ACOUSTIC = 0x32c
23859+ HDIO_SET_ADDRESS = 0x32f
23860+ HDIO_SET_BUSSTATE = 0x32d
23861+ HDIO_SET_DMA = 0x326
23862+ HDIO_SET_KEEPSETTINGS = 0x323
23863+ HDIO_SET_MULTCOUNT = 0x321
23864+ HDIO_SET_NICE = 0x329
23865+ HDIO_SET_NOWERR = 0x325
23866+ HDIO_SET_PIO_MODE = 0x327
23867+ HDIO_SET_QDMA = 0x32e
23868+ HDIO_SET_UNMASKINTR = 0x322
23869+ HDIO_SET_WCACHE = 0x32b
23870+ HDIO_SET_XFER = 0x306
23871+ HDIO_TRISTATE_HWIF = 0x31b
23872+ HDIO_UNREGISTER_HWIF = 0x32a
23873+ HOSTFS_SUPER_MAGIC = 0xc0ffee
23874+ HPFS_SUPER_MAGIC = 0xf995e849
23875+ HUGETLBFS_MAGIC = 0x958458f6
23876+ IBSHIFT = 0x10
23877+ ICMPV6_FILTER = 0x1
23878+ ICRNL = 0x100
23879+ IFA_F_DADFAILED = 0x8
23880+ IFA_F_DEPRECATED = 0x20
23881+ IFA_F_HOMEADDRESS = 0x10
23882+ IFA_F_MANAGETEMPADDR = 0x100
23883+ IFA_F_MCAUTOJOIN = 0x400
23884+ IFA_F_NODAD = 0x2
23885+ IFA_F_NOPREFIXROUTE = 0x200
23886+ IFA_F_OPTIMISTIC = 0x4
23887+ IFA_F_PERMANENT = 0x80
23888+ IFA_F_SECONDARY = 0x1
23889+ IFA_F_STABLE_PRIVACY = 0x800
23890+ IFA_F_TEMPORARY = 0x1
23891+ IFA_F_TENTATIVE = 0x40
23892+ IFA_MAX = 0xa
23893+ IFF_ALLMULTI = 0x200
23894+ IFF_ATTACH_QUEUE = 0x200
23895+ IFF_AUTOMEDIA = 0x4000
23896+ IFF_BROADCAST = 0x2
23897+ IFF_DEBUG = 0x4
23898+ IFF_DETACH_QUEUE = 0x400
23899+ IFF_DORMANT = 0x20000
23900+ IFF_DYNAMIC = 0x8000
23901+ IFF_ECHO = 0x40000
23902+ IFF_LOOPBACK = 0x8
23903+ IFF_LOWER_UP = 0x10000
23904+ IFF_MASTER = 0x400
23905+ IFF_MULTICAST = 0x1000
23906+ IFF_MULTI_QUEUE = 0x100
23907+ IFF_NAPI = 0x10
23908+ IFF_NAPI_FRAGS = 0x20
23909+ IFF_NOARP = 0x80
23910+ IFF_NOFILTER = 0x1000
23911+ IFF_NOTRAILERS = 0x20
23912+ IFF_NO_PI = 0x1000
23913+ IFF_ONE_QUEUE = 0x2000
23914+ IFF_PERSIST = 0x800
23915+ IFF_POINTOPOINT = 0x10
23916+ IFF_PORTSEL = 0x2000
23917+ IFF_PROMISC = 0x100
23918+ IFF_RUNNING = 0x40
23919+ IFF_SLAVE = 0x800
23920+ IFF_TAP = 0x2
23921+ IFF_TUN = 0x1
23922+ IFF_TUN_EXCL = 0x8000
23923+ IFF_UP = 0x1
23924+ IFF_VNET_HDR = 0x4000
23925+ IFF_VOLATILE = 0x70c5a
23926+ IFNAMSIZ = 0x10
23927+ IGNBRK = 0x1
23928+ IGNCR = 0x80
23929+ IGNPAR = 0x4
23930+ IMAXBEL = 0x2000
23931+ INLCR = 0x40
23932+ INPCK = 0x10
23933+ IN_ACCESS = 0x1
23934+ IN_ALL_EVENTS = 0xfff
23935+ IN_ATTRIB = 0x4
23936+ IN_CLASSA_HOST = 0xffffff
23937+ IN_CLASSA_MAX = 0x80
23938+ IN_CLASSA_NET = 0xff000000
23939+ IN_CLASSA_NSHIFT = 0x18
23940+ IN_CLASSB_HOST = 0xffff
23941+ IN_CLASSB_MAX = 0x10000
23942+ IN_CLASSB_NET = 0xffff0000
23943+ IN_CLASSB_NSHIFT = 0x10
23944+ IN_CLASSC_HOST = 0xff
23945+ IN_CLASSC_NET = 0xffffff00
23946+ IN_CLASSC_NSHIFT = 0x8
23947+ IN_CLOSE = 0x18
23948+ IN_CLOSE_NOWRITE = 0x10
23949+ IN_CLOSE_WRITE = 0x8
23950+ IN_CREATE = 0x100
23951+ IN_DELETE = 0x200
23952+ IN_DELETE_SELF = 0x400
23953+ IN_DONT_FOLLOW = 0x2000000
23954+ IN_EXCL_UNLINK = 0x4000000
23955+ IN_IGNORED = 0x8000
23956+ IN_ISDIR = 0x40000000
23957+ IN_LOOPBACKNET = 0x7f
23958+ IN_MASK_ADD = 0x20000000
23959+ IN_MASK_CREATE = 0x10000000
23960+ IN_MODIFY = 0x2
23961+ IN_MOVE = 0xc0
23962+ IN_MOVED_FROM = 0x40
23963+ IN_MOVED_TO = 0x80
23964+ IN_MOVE_SELF = 0x800
23965+ IN_ONESHOT = 0x80000000
23966+ IN_ONLYDIR = 0x1000000
23967+ IN_OPEN = 0x20
23968+ IN_Q_OVERFLOW = 0x4000
23969+ IN_UNMOUNT = 0x2000
23970+ IPPROTO_AH = 0x33
23971+ IPPROTO_BEETPH = 0x5e
23972+ IPPROTO_COMP = 0x6c
23973+ IPPROTO_DCCP = 0x21
23974+ IPPROTO_DSTOPTS = 0x3c
23975+ IPPROTO_EGP = 0x8
23976+ IPPROTO_ENCAP = 0x62
23977+ IPPROTO_ESP = 0x32
23978+ IPPROTO_FRAGMENT = 0x2c
23979+ IPPROTO_GRE = 0x2f
23980+ IPPROTO_HOPOPTS = 0x0
23981+ IPPROTO_ICMP = 0x1
23982+ IPPROTO_ICMPV6 = 0x3a
23983+ IPPROTO_IDP = 0x16
23984+ IPPROTO_IGMP = 0x2
23985+ IPPROTO_IP = 0x0
23986+ IPPROTO_IPIP = 0x4
23987+ IPPROTO_IPV6 = 0x29
23988+ IPPROTO_L2TP = 0x73
23989+ IPPROTO_MH = 0x87
23990+ IPPROTO_MPLS = 0x89
23991+ IPPROTO_MTP = 0x5c
23992+ IPPROTO_NONE = 0x3b
23993+ IPPROTO_PIM = 0x67
23994+ IPPROTO_PUP = 0xc
23995+ IPPROTO_RAW = 0xff
23996+ IPPROTO_ROUTING = 0x2b
23997+ IPPROTO_RSVP = 0x2e
23998+ IPPROTO_SCTP = 0x84
23999+ IPPROTO_TCP = 0x6
24000+ IPPROTO_TP = 0x1d
24001+ IPPROTO_UDP = 0x11
24002+ IPPROTO_UDPLITE = 0x88
24003+ IPV6_2292DSTOPTS = 0x4
24004+ IPV6_2292HOPLIMIT = 0x8
24005+ IPV6_2292HOPOPTS = 0x3
24006+ IPV6_2292PKTINFO = 0x2
24007+ IPV6_2292PKTOPTIONS = 0x6
24008+ IPV6_2292RTHDR = 0x5
24009+ IPV6_ADDRFORM = 0x1
24010+ IPV6_ADDR_PREFERENCES = 0x48
24011+ IPV6_ADD_MEMBERSHIP = 0x14
24012+ IPV6_AUTHHDR = 0xa
24013+ IPV6_AUTOFLOWLABEL = 0x46
24014+ IPV6_CHECKSUM = 0x7
24015+ IPV6_DONTFRAG = 0x3e
24016+ IPV6_DROP_MEMBERSHIP = 0x15
24017+ IPV6_DSTOPTS = 0x3b
24018+ IPV6_FREEBIND = 0x4e
24019+ IPV6_HDRINCL = 0x24
24020+ IPV6_HOPLIMIT = 0x34
24021+ IPV6_HOPOPTS = 0x36
24022+ IPV6_IPSEC_POLICY = 0x22
24023+ IPV6_JOIN_ANYCAST = 0x1b
24024+ IPV6_JOIN_GROUP = 0x14
24025+ IPV6_LEAVE_ANYCAST = 0x1c
24026+ IPV6_LEAVE_GROUP = 0x15
24027+ IPV6_MINHOPCOUNT = 0x49
24028+ IPV6_MTU = 0x18
24029+ IPV6_MTU_DISCOVER = 0x17
24030+ IPV6_MULTICAST_ALL = 0x1d
24031+ IPV6_MULTICAST_HOPS = 0x12
24032+ IPV6_MULTICAST_IF = 0x11
24033+ IPV6_MULTICAST_LOOP = 0x13
24034+ IPV6_NEXTHOP = 0x9
24035+ IPV6_ORIGDSTADDR = 0x4a
24036+ IPV6_PATHMTU = 0x3d
24037+ IPV6_PKTINFO = 0x32
24038+ IPV6_PMTUDISC_DO = 0x2
24039+ IPV6_PMTUDISC_DONT = 0x0
24040+ IPV6_PMTUDISC_INTERFACE = 0x4
24041+ IPV6_PMTUDISC_OMIT = 0x5
24042+ IPV6_PMTUDISC_PROBE = 0x3
24043+ IPV6_PMTUDISC_WANT = 0x1
24044+ IPV6_RECVDSTOPTS = 0x3a
24045+ IPV6_RECVERR = 0x19
24046+ IPV6_RECVFRAGSIZE = 0x4d
24047+ IPV6_RECVHOPLIMIT = 0x33
24048+ IPV6_RECVHOPOPTS = 0x35
24049+ IPV6_RECVORIGDSTADDR = 0x4a
24050+ IPV6_RECVPATHMTU = 0x3c
24051+ IPV6_RECVPKTINFO = 0x31
24052+ IPV6_RECVRTHDR = 0x38
24053+ IPV6_RECVTCLASS = 0x42
24054+ IPV6_ROUTER_ALERT = 0x16
24055+ IPV6_ROUTER_ALERT_ISOLATE = 0x1e
24056+ IPV6_RTHDR = 0x39
24057+ IPV6_RTHDRDSTOPTS = 0x37
24058+ IPV6_RTHDR_LOOSE = 0x0
24059+ IPV6_RTHDR_STRICT = 0x1
24060+ IPV6_RTHDR_TYPE_0 = 0x0
24061+ IPV6_RXDSTOPTS = 0x3b
24062+ IPV6_RXHOPOPTS = 0x36
24063+ IPV6_TCLASS = 0x43
24064+ IPV6_TRANSPARENT = 0x4b
24065+ IPV6_UNICAST_HOPS = 0x10
24066+ IPV6_UNICAST_IF = 0x4c
24067+ IPV6_V6ONLY = 0x1a
24068+ IPV6_XFRM_POLICY = 0x23
24069+ IP_ADD_MEMBERSHIP = 0x23
24070+ IP_ADD_SOURCE_MEMBERSHIP = 0x27
24071+ IP_BIND_ADDRESS_NO_PORT = 0x18
24072+ IP_BLOCK_SOURCE = 0x26
24073+ IP_CHECKSUM = 0x17
24074+ IP_DEFAULT_MULTICAST_LOOP = 0x1
24075+ IP_DEFAULT_MULTICAST_TTL = 0x1
24076+ IP_DF = 0x4000
24077+ IP_DROP_MEMBERSHIP = 0x24
24078+ IP_DROP_SOURCE_MEMBERSHIP = 0x28
24079+ IP_FREEBIND = 0xf
24080+ IP_HDRINCL = 0x3
24081+ IP_IPSEC_POLICY = 0x10
24082+ IP_MAXPACKET = 0xffff
24083+ IP_MAX_MEMBERSHIPS = 0x14
24084+ IP_MF = 0x2000
24085+ IP_MINTTL = 0x15
24086+ IP_MSFILTER = 0x29
24087+ IP_MSS = 0x240
24088+ IP_MTU = 0xe
24089+ IP_MTU_DISCOVER = 0xa
24090+ IP_MULTICAST_ALL = 0x31
24091+ IP_MULTICAST_IF = 0x20
24092+ IP_MULTICAST_LOOP = 0x22
24093+ IP_MULTICAST_TTL = 0x21
24094+ IP_NODEFRAG = 0x16
24095+ IP_OFFMASK = 0x1fff
24096+ IP_OPTIONS = 0x4
24097+ IP_ORIGDSTADDR = 0x14
24098+ IP_PASSSEC = 0x12
24099+ IP_PKTINFO = 0x8
24100+ IP_PKTOPTIONS = 0x9
24101+ IP_PMTUDISC = 0xa
24102+ IP_PMTUDISC_DO = 0x2
24103+ IP_PMTUDISC_DONT = 0x0
24104+ IP_PMTUDISC_INTERFACE = 0x4
24105+ IP_PMTUDISC_OMIT = 0x5
24106+ IP_PMTUDISC_PROBE = 0x3
24107+ IP_PMTUDISC_WANT = 0x1
24108+ IP_RECVERR = 0xb
24109+ IP_RECVFRAGSIZE = 0x19
24110+ IP_RECVOPTS = 0x6
24111+ IP_RECVORIGDSTADDR = 0x14
24112+ IP_RECVRETOPTS = 0x7
24113+ IP_RECVTOS = 0xd
24114+ IP_RECVTTL = 0xc
24115+ IP_RETOPTS = 0x7
24116+ IP_RF = 0x8000
24117+ IP_ROUTER_ALERT = 0x5
24118+ IP_TOS = 0x1
24119+ IP_TRANSPARENT = 0x13
24120+ IP_TTL = 0x2
24121+ IP_UNBLOCK_SOURCE = 0x25
24122+ IP_UNICAST_IF = 0x32
24123+ IP_XFRM_POLICY = 0x11
24124+ ISOFS_SUPER_MAGIC = 0x9660
24125+ ISTRIP = 0x20
24126+ IUTF8 = 0x4000
24127+ IXANY = 0x800
24128+ JFFS2_SUPER_MAGIC = 0x72b6
24129+ KEXEC_ARCH_386 = 0x30000
24130+ KEXEC_ARCH_68K = 0x40000
24131+ KEXEC_ARCH_AARCH64 = 0xb70000
24132+ KEXEC_ARCH_ARM = 0x280000
24133+ KEXEC_ARCH_DEFAULT = 0x0
24134+ KEXEC_ARCH_IA_64 = 0x320000
24135+ KEXEC_ARCH_MASK = 0xffff0000
24136+ KEXEC_ARCH_MIPS = 0x80000
24137+ KEXEC_ARCH_MIPS_LE = 0xa0000
24138+ KEXEC_ARCH_PARISC = 0xf0000
24139+ KEXEC_ARCH_PPC = 0x140000
24140+ KEXEC_ARCH_PPC64 = 0x150000
24141+ KEXEC_ARCH_S390 = 0x160000
24142+ KEXEC_ARCH_SH = 0x2a0000
24143+ KEXEC_ARCH_X86_64 = 0x3e0000
24144+ KEXEC_FILE_NO_INITRAMFS = 0x4
24145+ KEXEC_FILE_ON_CRASH = 0x2
24146+ KEXEC_FILE_UNLOAD = 0x1
24147+ KEXEC_ON_CRASH = 0x1
24148+ KEXEC_PRESERVE_CONTEXT = 0x2
24149+ KEXEC_SEGMENT_MAX = 0x10
24150+ KEYCTL_ASSUME_AUTHORITY = 0x10
24151+ KEYCTL_CAPABILITIES = 0x1f
24152+ KEYCTL_CAPS0_BIG_KEY = 0x10
24153+ KEYCTL_CAPS0_CAPABILITIES = 0x1
24154+ KEYCTL_CAPS0_DIFFIE_HELLMAN = 0x4
24155+ KEYCTL_CAPS0_INVALIDATE = 0x20
24156+ KEYCTL_CAPS0_MOVE = 0x80
24157+ KEYCTL_CAPS0_PERSISTENT_KEYRINGS = 0x2
24158+ KEYCTL_CAPS0_PUBLIC_KEY = 0x8
24159+ KEYCTL_CAPS0_RESTRICT_KEYRING = 0x40
24160+ KEYCTL_CAPS1_NS_KEYRING_NAME = 0x1
24161+ KEYCTL_CAPS1_NS_KEY_TAG = 0x2
24162+ KEYCTL_CHOWN = 0x4
24163+ KEYCTL_CLEAR = 0x7
24164+ KEYCTL_DESCRIBE = 0x6
24165+ KEYCTL_DH_COMPUTE = 0x17
24166+ KEYCTL_GET_KEYRING_ID = 0x0
24167+ KEYCTL_GET_PERSISTENT = 0x16
24168+ KEYCTL_GET_SECURITY = 0x11
24169+ KEYCTL_INSTANTIATE = 0xc
24170+ KEYCTL_INSTANTIATE_IOV = 0x14
24171+ KEYCTL_INVALIDATE = 0x15
24172+ KEYCTL_JOIN_SESSION_KEYRING = 0x1
24173+ KEYCTL_LINK = 0x8
24174+ KEYCTL_MOVE = 0x1e
24175+ KEYCTL_MOVE_EXCL = 0x1
24176+ KEYCTL_NEGATE = 0xd
24177+ KEYCTL_PKEY_DECRYPT = 0x1a
24178+ KEYCTL_PKEY_ENCRYPT = 0x19
24179+ KEYCTL_PKEY_QUERY = 0x18
24180+ KEYCTL_PKEY_SIGN = 0x1b
24181+ KEYCTL_PKEY_VERIFY = 0x1c
24182+ KEYCTL_READ = 0xb
24183+ KEYCTL_REJECT = 0x13
24184+ KEYCTL_RESTRICT_KEYRING = 0x1d
24185+ KEYCTL_REVOKE = 0x3
24186+ KEYCTL_SEARCH = 0xa
24187+ KEYCTL_SESSION_TO_PARENT = 0x12
24188+ KEYCTL_SETPERM = 0x5
24189+ KEYCTL_SET_REQKEY_KEYRING = 0xe
24190+ KEYCTL_SET_TIMEOUT = 0xf
24191+ KEYCTL_SUPPORTS_DECRYPT = 0x2
24192+ KEYCTL_SUPPORTS_ENCRYPT = 0x1
24193+ KEYCTL_SUPPORTS_SIGN = 0x4
24194+ KEYCTL_SUPPORTS_VERIFY = 0x8
24195+ KEYCTL_UNLINK = 0x9
24196+ KEYCTL_UPDATE = 0x2
24197+ KEY_REQKEY_DEFL_DEFAULT = 0x0
24198+ KEY_REQKEY_DEFL_GROUP_KEYRING = 0x6
24199+ KEY_REQKEY_DEFL_NO_CHANGE = -0x1
24200+ KEY_REQKEY_DEFL_PROCESS_KEYRING = 0x2
24201+ KEY_REQKEY_DEFL_REQUESTOR_KEYRING = 0x7
24202+ KEY_REQKEY_DEFL_SESSION_KEYRING = 0x3
24203+ KEY_REQKEY_DEFL_THREAD_KEYRING = 0x1
24204+ KEY_REQKEY_DEFL_USER_KEYRING = 0x4
24205+ KEY_REQKEY_DEFL_USER_SESSION_KEYRING = 0x5
24206+ KEY_SPEC_GROUP_KEYRING = -0x6
24207+ KEY_SPEC_PROCESS_KEYRING = -0x2
24208+ KEY_SPEC_REQKEY_AUTH_KEY = -0x7
24209+ KEY_SPEC_REQUESTOR_KEYRING = -0x8
24210+ KEY_SPEC_SESSION_KEYRING = -0x3
24211+ KEY_SPEC_THREAD_KEYRING = -0x1
24212+ KEY_SPEC_USER_KEYRING = -0x4
24213+ KEY_SPEC_USER_SESSION_KEYRING = -0x5
24214+ LINUX_REBOOT_CMD_CAD_OFF = 0x0
24215+ LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
24216+ LINUX_REBOOT_CMD_HALT = 0xcdef0123
24217+ LINUX_REBOOT_CMD_KEXEC = 0x45584543
24218+ LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
24219+ LINUX_REBOOT_CMD_RESTART = 0x1234567
24220+ LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
24221+ LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
24222+ LINUX_REBOOT_MAGIC1 = 0xfee1dead
24223+ LINUX_REBOOT_MAGIC2 = 0x28121969
24224+ LOCK_EX = 0x2
24225+ LOCK_NB = 0x4
24226+ LOCK_SH = 0x1
24227+ LOCK_UN = 0x8
24228+ LOOP_CLR_FD = 0x4c01
24229+ LOOP_CTL_ADD = 0x4c80
24230+ LOOP_CTL_GET_FREE = 0x4c82
24231+ LOOP_CTL_REMOVE = 0x4c81
24232+ LOOP_GET_STATUS = 0x4c03
24233+ LOOP_GET_STATUS64 = 0x4c05
24234+ LOOP_SET_BLOCK_SIZE = 0x4c09
24235+ LOOP_SET_CAPACITY = 0x4c07
24236+ LOOP_SET_DIRECT_IO = 0x4c08
24237+ LOOP_SET_FD = 0x4c00
24238+ LOOP_SET_STATUS = 0x4c02
24239+ LOOP_SET_STATUS64 = 0x4c04
24240+ LO_KEY_SIZE = 0x20
24241+ LO_NAME_SIZE = 0x40
24242+ MADV_COLD = 0x14
24243+ MADV_DODUMP = 0x11
24244+ MADV_DOFORK = 0xb
24245+ MADV_DONTDUMP = 0x10
24246+ MADV_DONTFORK = 0xa
24247+ MADV_DONTNEED = 0x4
24248+ MADV_FREE = 0x8
24249+ MADV_HUGEPAGE = 0xe
24250+ MADV_HWPOISON = 0x64
24251+ MADV_KEEPONFORK = 0x13
24252+ MADV_MERGEABLE = 0xc
24253+ MADV_NOHUGEPAGE = 0xf
24254+ MADV_NORMAL = 0x0
24255+ MADV_PAGEOUT = 0x15
24256+ MADV_RANDOM = 0x1
24257+ MADV_REMOVE = 0x9
24258+ MADV_SEQUENTIAL = 0x2
24259+ MADV_UNMERGEABLE = 0xd
24260+ MADV_WILLNEED = 0x3
24261+ MADV_WIPEONFORK = 0x12
24262+ MAP_FILE = 0x0
24263+ MAP_FIXED = 0x10
24264+ MAP_FIXED_NOREPLACE = 0x100000
24265+ MAP_HUGE_MASK = 0x3f
24266+ MAP_HUGE_SHIFT = 0x1a
24267+ MAP_PRIVATE = 0x2
24268+ MAP_SHARED = 0x1
24269+ MAP_SHARED_VALIDATE = 0x3
24270+ MAP_TYPE = 0xf
24271+ MCAST_BLOCK_SOURCE = 0x2b
24272+ MCAST_EXCLUDE = 0x0
24273+ MCAST_INCLUDE = 0x1
24274+ MCAST_JOIN_GROUP = 0x2a
24275+ MCAST_JOIN_SOURCE_GROUP = 0x2e
24276+ MCAST_LEAVE_GROUP = 0x2d
24277+ MCAST_LEAVE_SOURCE_GROUP = 0x2f
24278+ MCAST_MSFILTER = 0x30
24279+ MCAST_UNBLOCK_SOURCE = 0x2c
24280+ MFD_ALLOW_SEALING = 0x2
24281+ MFD_CLOEXEC = 0x1
24282+ MFD_HUGETLB = 0x4
24283+ MFD_HUGE_16GB = -0x78000000
24284+ MFD_HUGE_16MB = 0x60000000
24285+ MFD_HUGE_1GB = 0x78000000
24286+ MFD_HUGE_1MB = 0x50000000
24287+ MFD_HUGE_256MB = 0x70000000
24288+ MFD_HUGE_2GB = 0x7c000000
24289+ MFD_HUGE_2MB = 0x54000000
24290+ MFD_HUGE_32MB = 0x64000000
24291+ MFD_HUGE_512KB = 0x4c000000
24292+ MFD_HUGE_512MB = 0x74000000
24293+ MFD_HUGE_64KB = 0x40000000
24294+ MFD_HUGE_8MB = 0x5c000000
24295+ MFD_HUGE_MASK = 0x3f
24296+ MFD_HUGE_SHIFT = 0x1a
24297+ MINIX2_SUPER_MAGIC = 0x2468
24298+ MINIX2_SUPER_MAGIC2 = 0x2478
24299+ MINIX3_SUPER_MAGIC = 0x4d5a
24300+ MINIX_SUPER_MAGIC = 0x137f
24301+ MINIX_SUPER_MAGIC2 = 0x138f
24302+ MNT_DETACH = 0x2
24303+ MNT_EXPIRE = 0x4
24304+ MNT_FORCE = 0x1
24305+ MODULE_INIT_IGNORE_MODVERSIONS = 0x1
24306+ MODULE_INIT_IGNORE_VERMAGIC = 0x2
24307+ MSDOS_SUPER_MAGIC = 0x4d44
24308+ MSG_BATCH = 0x40000
24309+ MSG_CMSG_CLOEXEC = 0x40000000
24310+ MSG_CONFIRM = 0x800
24311+ MSG_CTRUNC = 0x8
24312+ MSG_DONTROUTE = 0x4
24313+ MSG_DONTWAIT = 0x40
24314+ MSG_EOR = 0x80
24315+ MSG_ERRQUEUE = 0x2000
24316+ MSG_FASTOPEN = 0x20000000
24317+ MSG_FIN = 0x200
24318+ MSG_MORE = 0x8000
24319+ MSG_NOSIGNAL = 0x4000
24320+ MSG_OOB = 0x1
24321+ MSG_PEEK = 0x2
24322+ MSG_PROXY = 0x10
24323+ MSG_RST = 0x1000
24324+ MSG_SYN = 0x400
24325+ MSG_TRUNC = 0x20
24326+ MSG_TRYHARD = 0x4
24327+ MSG_WAITALL = 0x100
24328+ MSG_WAITFORONE = 0x10000
24329+ MSG_ZEROCOPY = 0x4000000
24330+ MS_ACTIVE = 0x40000000
24331+ MS_ASYNC = 0x1
24332+ MS_BIND = 0x1000
24333+ MS_BORN = 0x20000000
24334+ MS_DIRSYNC = 0x80
24335+ MS_INVALIDATE = 0x2
24336+ MS_I_VERSION = 0x800000
24337+ MS_KERNMOUNT = 0x400000
24338+ MS_LAZYTIME = 0x2000000
24339+ MS_MANDLOCK = 0x40
24340+ MS_MGC_MSK = 0xffff0000
24341+ MS_MGC_VAL = 0xc0ed0000
24342+ MS_MOVE = 0x2000
24343+ MS_NOATIME = 0x400
24344+ MS_NODEV = 0x4
24345+ MS_NODIRATIME = 0x800
24346+ MS_NOEXEC = 0x8
24347+ MS_NOREMOTELOCK = 0x8000000
24348+ MS_NOSEC = 0x10000000
24349+ MS_NOSUID = 0x2
24350+ MS_NOUSER = -0x80000000
24351+ MS_POSIXACL = 0x10000
24352+ MS_PRIVATE = 0x40000
24353+ MS_RDONLY = 0x1
24354+ MS_REC = 0x4000
24355+ MS_RELATIME = 0x200000
24356+ MS_REMOUNT = 0x20
24357+ MS_RMT_MASK = 0x2800051
24358+ MS_SHARED = 0x100000
24359+ MS_SILENT = 0x8000
24360+ MS_SLAVE = 0x80000
24361+ MS_STRICTATIME = 0x1000000
24362+ MS_SUBMOUNT = 0x4000000
24363+ MS_SYNC = 0x4
24364+ MS_SYNCHRONOUS = 0x10
24365+ MS_UNBINDABLE = 0x20000
24366+ MS_VERBOSE = 0x8000
24367+ MTD_INODE_FS_MAGIC = 0x11307854
24368+ NAME_MAX = 0xff
24369+ NCP_SUPER_MAGIC = 0x564c
24370+ NETLINK_ADD_MEMBERSHIP = 0x1
24371+ NETLINK_AUDIT = 0x9
24372+ NETLINK_BROADCAST_ERROR = 0x4
24373+ NETLINK_CAP_ACK = 0xa
24374+ NETLINK_CONNECTOR = 0xb
24375+ NETLINK_CRYPTO = 0x15
24376+ NETLINK_DNRTMSG = 0xe
24377+ NETLINK_DROP_MEMBERSHIP = 0x2
24378+ NETLINK_ECRYPTFS = 0x13
24379+ NETLINK_EXT_ACK = 0xb
24380+ NETLINK_FIB_LOOKUP = 0xa
24381+ NETLINK_FIREWALL = 0x3
24382+ NETLINK_GENERIC = 0x10
24383+ NETLINK_GET_STRICT_CHK = 0xc
24384+ NETLINK_INET_DIAG = 0x4
24385+ NETLINK_IP6_FW = 0xd
24386+ NETLINK_ISCSI = 0x8
24387+ NETLINK_KOBJECT_UEVENT = 0xf
24388+ NETLINK_LISTEN_ALL_NSID = 0x8
24389+ NETLINK_LIST_MEMBERSHIPS = 0x9
24390+ NETLINK_NETFILTER = 0xc
24391+ NETLINK_NFLOG = 0x5
24392+ NETLINK_NO_ENOBUFS = 0x5
24393+ NETLINK_PKTINFO = 0x3
24394+ NETLINK_RDMA = 0x14
24395+ NETLINK_ROUTE = 0x0
24396+ NETLINK_RX_RING = 0x6
24397+ NETLINK_SCSITRANSPORT = 0x12
24398+ NETLINK_SELINUX = 0x7
24399+ NETLINK_SMC = 0x16
24400+ NETLINK_SOCK_DIAG = 0x4
24401+ NETLINK_TX_RING = 0x7
24402+ NETLINK_UNUSED = 0x1
24403+ NETLINK_USERSOCK = 0x2
24404+ NETLINK_XFRM = 0x6
24405+ NETNSA_MAX = 0x5
24406+ NETNSA_NSID_NOT_ASSIGNED = -0x1
24407+ NFNETLINK_V0 = 0x0
24408+ NFNLGRP_ACCT_QUOTA = 0x8
24409+ NFNLGRP_CONNTRACK_DESTROY = 0x3
24410+ NFNLGRP_CONNTRACK_EXP_DESTROY = 0x6
24411+ NFNLGRP_CONNTRACK_EXP_NEW = 0x4
24412+ NFNLGRP_CONNTRACK_EXP_UPDATE = 0x5
24413+ NFNLGRP_CONNTRACK_NEW = 0x1
24414+ NFNLGRP_CONNTRACK_UPDATE = 0x2
24415+ NFNLGRP_MAX = 0x9
24416+ NFNLGRP_NFTABLES = 0x7
24417+ NFNLGRP_NFTRACE = 0x9
24418+ NFNLGRP_NONE = 0x0
24419+ NFNL_BATCH_MAX = 0x1
24420+ NFNL_MSG_BATCH_BEGIN = 0x10
24421+ NFNL_MSG_BATCH_END = 0x11
24422+ NFNL_NFA_NEST = 0x8000
24423+ NFNL_SUBSYS_ACCT = 0x7
24424+ NFNL_SUBSYS_COUNT = 0xc
24425+ NFNL_SUBSYS_CTHELPER = 0x9
24426+ NFNL_SUBSYS_CTNETLINK = 0x1
24427+ NFNL_SUBSYS_CTNETLINK_EXP = 0x2
24428+ NFNL_SUBSYS_CTNETLINK_TIMEOUT = 0x8
24429+ NFNL_SUBSYS_IPSET = 0x6
24430+ NFNL_SUBSYS_NFTABLES = 0xa
24431+ NFNL_SUBSYS_NFT_COMPAT = 0xb
24432+ NFNL_SUBSYS_NONE = 0x0
24433+ NFNL_SUBSYS_OSF = 0x5
24434+ NFNL_SUBSYS_QUEUE = 0x3
24435+ NFNL_SUBSYS_ULOG = 0x4
24436+ NFS_SUPER_MAGIC = 0x6969
24437+ NILFS_SUPER_MAGIC = 0x3434
24438+ NL0 = 0x0
24439+ NL1 = 0x100
24440+ NLA_ALIGNTO = 0x4
24441+ NLA_F_NESTED = 0x8000
24442+ NLA_F_NET_BYTEORDER = 0x4000
24443+ NLA_HDRLEN = 0x4
24444+ NLMSG_ALIGNTO = 0x4
24445+ NLMSG_DONE = 0x3
24446+ NLMSG_ERROR = 0x2
24447+ NLMSG_HDRLEN = 0x10
24448+ NLMSG_MIN_TYPE = 0x10
24449+ NLMSG_NOOP = 0x1
24450+ NLMSG_OVERRUN = 0x4
24451+ NLM_F_ACK = 0x4
24452+ NLM_F_ACK_TLVS = 0x200
24453+ NLM_F_APPEND = 0x800
24454+ NLM_F_ATOMIC = 0x400
24455+ NLM_F_CAPPED = 0x100
24456+ NLM_F_CREATE = 0x400
24457+ NLM_F_DUMP = 0x300
24458+ NLM_F_DUMP_FILTERED = 0x20
24459+ NLM_F_DUMP_INTR = 0x10
24460+ NLM_F_ECHO = 0x8
24461+ NLM_F_EXCL = 0x200
24462+ NLM_F_MATCH = 0x200
24463+ NLM_F_MULTI = 0x2
24464+ NLM_F_NONREC = 0x100
24465+ NLM_F_REPLACE = 0x100
24466+ NLM_F_REQUEST = 0x1
24467+ NLM_F_ROOT = 0x100
24468+ NSFS_MAGIC = 0x6e736673
24469+ OCFS2_SUPER_MAGIC = 0x7461636f
24470+ OCRNL = 0x8
24471+ OFDEL = 0x80
24472+ OFILL = 0x40
24473+ ONLRET = 0x20
24474+ ONOCR = 0x10
24475+ OPENPROM_SUPER_MAGIC = 0x9fa1
24476+ OPOST = 0x1
24477+ OVERLAYFS_SUPER_MAGIC = 0x794c7630
24478+ O_ACCMODE = 0x3
24479+ O_RDONLY = 0x0
24480+ O_RDWR = 0x2
24481+ O_WRONLY = 0x1
24482+ PACKET_ADD_MEMBERSHIP = 0x1
24483+ PACKET_AUXDATA = 0x8
24484+ PACKET_BROADCAST = 0x1
24485+ PACKET_COPY_THRESH = 0x7
24486+ PACKET_DROP_MEMBERSHIP = 0x2
24487+ PACKET_FANOUT = 0x12
24488+ PACKET_FANOUT_CBPF = 0x6
24489+ PACKET_FANOUT_CPU = 0x2
24490+ PACKET_FANOUT_DATA = 0x16
24491+ PACKET_FANOUT_EBPF = 0x7
24492+ PACKET_FANOUT_FLAG_DEFRAG = 0x8000
24493+ PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
24494+ PACKET_FANOUT_FLAG_UNIQUEID = 0x2000
24495+ PACKET_FANOUT_HASH = 0x0
24496+ PACKET_FANOUT_LB = 0x1
24497+ PACKET_FANOUT_QM = 0x5
24498+ PACKET_FANOUT_RND = 0x4
24499+ PACKET_FANOUT_ROLLOVER = 0x3
24500+ PACKET_FASTROUTE = 0x6
24501+ PACKET_HDRLEN = 0xb
24502+ PACKET_HOST = 0x0
24503+ PACKET_IGNORE_OUTGOING = 0x17
24504+ PACKET_KERNEL = 0x7
24505+ PACKET_LOOPBACK = 0x5
24506+ PACKET_LOSS = 0xe
24507+ PACKET_MR_ALLMULTI = 0x2
24508+ PACKET_MR_MULTICAST = 0x0
24509+ PACKET_MR_PROMISC = 0x1
24510+ PACKET_MR_UNICAST = 0x3
24511+ PACKET_MULTICAST = 0x2
24512+ PACKET_ORIGDEV = 0x9
24513+ PACKET_OTHERHOST = 0x3
24514+ PACKET_OUTGOING = 0x4
24515+ PACKET_QDISC_BYPASS = 0x14
24516+ PACKET_RECV_OUTPUT = 0x3
24517+ PACKET_RESERVE = 0xc
24518+ PACKET_ROLLOVER_STATS = 0x15
24519+ PACKET_RX_RING = 0x5
24520+ PACKET_STATISTICS = 0x6
24521+ PACKET_TIMESTAMP = 0x11
24522+ PACKET_TX_HAS_OFF = 0x13
24523+ PACKET_TX_RING = 0xd
24524+ PACKET_TX_TIMESTAMP = 0x10
24525+ PACKET_USER = 0x6
24526+ PACKET_VERSION = 0xa
24527+ PACKET_VNET_HDR = 0xf
24528+ PARITY_CRC16_PR0 = 0x2
24529+ PARITY_CRC16_PR0_CCITT = 0x4
24530+ PARITY_CRC16_PR1 = 0x3
24531+ PARITY_CRC16_PR1_CCITT = 0x5
24532+ PARITY_CRC32_PR0_CCITT = 0x6
24533+ PARITY_CRC32_PR1_CCITT = 0x7
24534+ PARITY_DEFAULT = 0x0
24535+ PARITY_NONE = 0x1
24536+ PARMRK = 0x8
24537+ PIPEFS_MAGIC = 0x50495045
24538+ PPC_CMM_MAGIC = 0xc7571590
24539+ PPPIOCGNPMODE = 0xc008744c
24540+ PPPIOCNEWUNIT = 0xc004743e
24541+ PRIO_PGRP = 0x1
24542+ PRIO_PROCESS = 0x0
24543+ PRIO_USER = 0x2
24544+ PROC_SUPER_MAGIC = 0x9fa0
24545+ PROT_EXEC = 0x4
24546+ PROT_GROWSDOWN = 0x1000000
24547+ PROT_GROWSUP = 0x2000000
24548+ PROT_NONE = 0x0
24549+ PROT_READ = 0x1
24550+ PROT_WRITE = 0x2
24551+ PR_CAPBSET_DROP = 0x18
24552+ PR_CAPBSET_READ = 0x17
24553+ PR_CAP_AMBIENT = 0x2f
24554+ PR_CAP_AMBIENT_CLEAR_ALL = 0x4
24555+ PR_CAP_AMBIENT_IS_SET = 0x1
24556+ PR_CAP_AMBIENT_LOWER = 0x3
24557+ PR_CAP_AMBIENT_RAISE = 0x2
24558+ PR_ENDIAN_BIG = 0x0
24559+ PR_ENDIAN_LITTLE = 0x1
24560+ PR_ENDIAN_PPC_LITTLE = 0x2
24561+ PR_FPEMU_NOPRINT = 0x1
24562+ PR_FPEMU_SIGFPE = 0x2
24563+ PR_FP_EXC_ASYNC = 0x2
24564+ PR_FP_EXC_DISABLED = 0x0
24565+ PR_FP_EXC_DIV = 0x10000
24566+ PR_FP_EXC_INV = 0x100000
24567+ PR_FP_EXC_NONRECOV = 0x1
24568+ PR_FP_EXC_OVF = 0x20000
24569+ PR_FP_EXC_PRECISE = 0x3
24570+ PR_FP_EXC_RES = 0x80000
24571+ PR_FP_EXC_SW_ENABLE = 0x80
24572+ PR_FP_EXC_UND = 0x40000
24573+ PR_FP_MODE_FR = 0x1
24574+ PR_FP_MODE_FRE = 0x2
24575+ PR_GET_CHILD_SUBREAPER = 0x25
24576+ PR_GET_DUMPABLE = 0x3
24577+ PR_GET_ENDIAN = 0x13
24578+ PR_GET_FPEMU = 0x9
24579+ PR_GET_FPEXC = 0xb
24580+ PR_GET_FP_MODE = 0x2e
24581+ PR_GET_IO_FLUSHER = 0x3a
24582+ PR_GET_KEEPCAPS = 0x7
24583+ PR_GET_NAME = 0x10
24584+ PR_GET_NO_NEW_PRIVS = 0x27
24585+ PR_GET_PDEATHSIG = 0x2
24586+ PR_GET_SECCOMP = 0x15
24587+ PR_GET_SECUREBITS = 0x1b
24588+ PR_GET_SPECULATION_CTRL = 0x34
24589+ PR_GET_TAGGED_ADDR_CTRL = 0x38
24590+ PR_GET_THP_DISABLE = 0x2a
24591+ PR_GET_TID_ADDRESS = 0x28
24592+ PR_GET_TIMERSLACK = 0x1e
24593+ PR_GET_TIMING = 0xd
24594+ PR_GET_TSC = 0x19
24595+ PR_GET_UNALIGN = 0x5
24596+ PR_MCE_KILL = 0x21
24597+ PR_MCE_KILL_CLEAR = 0x0
24598+ PR_MCE_KILL_DEFAULT = 0x2
24599+ PR_MCE_KILL_EARLY = 0x1
24600+ PR_MCE_KILL_GET = 0x22
24601+ PR_MCE_KILL_LATE = 0x0
24602+ PR_MCE_KILL_SET = 0x1
24603+ PR_MPX_DISABLE_MANAGEMENT = 0x2c
24604+ PR_MPX_ENABLE_MANAGEMENT = 0x2b
24605+ PR_PAC_APDAKEY = 0x4
24606+ PR_PAC_APDBKEY = 0x8
24607+ PR_PAC_APGAKEY = 0x10
24608+ PR_PAC_APIAKEY = 0x1
24609+ PR_PAC_APIBKEY = 0x2
24610+ PR_PAC_RESET_KEYS = 0x36
24611+ PR_SET_CHILD_SUBREAPER = 0x24
24612+ PR_SET_DUMPABLE = 0x4
24613+ PR_SET_ENDIAN = 0x14
24614+ PR_SET_FPEMU = 0xa
24615+ PR_SET_FPEXC = 0xc
24616+ PR_SET_FP_MODE = 0x2d
24617+ PR_SET_IO_FLUSHER = 0x39
24618+ PR_SET_KEEPCAPS = 0x8
24619+ PR_SET_MM = 0x23
24620+ PR_SET_MM_ARG_END = 0x9
24621+ PR_SET_MM_ARG_START = 0x8
24622+ PR_SET_MM_AUXV = 0xc
24623+ PR_SET_MM_BRK = 0x7
24624+ PR_SET_MM_END_CODE = 0x2
24625+ PR_SET_MM_END_DATA = 0x4
24626+ PR_SET_MM_ENV_END = 0xb
24627+ PR_SET_MM_ENV_START = 0xa
24628+ PR_SET_MM_EXE_FILE = 0xd
24629+ PR_SET_MM_MAP = 0xe
24630+ PR_SET_MM_MAP_SIZE = 0xf
24631+ PR_SET_MM_START_BRK = 0x6
24632+ PR_SET_MM_START_CODE = 0x1
24633+ PR_SET_MM_START_DATA = 0x3
24634+ PR_SET_MM_START_STACK = 0x5
24635+ PR_SET_NAME = 0xf
24636+ PR_SET_NO_NEW_PRIVS = 0x26
24637+ PR_SET_PDEATHSIG = 0x1
24638+ PR_SET_PTRACER = 0x59616d61
24639+ PR_SET_SECCOMP = 0x16
24640+ PR_SET_SECUREBITS = 0x1c
24641+ PR_SET_SPECULATION_CTRL = 0x35
24642+ PR_SET_TAGGED_ADDR_CTRL = 0x37
24643+ PR_SET_THP_DISABLE = 0x29
24644+ PR_SET_TIMERSLACK = 0x1d
24645+ PR_SET_TIMING = 0xe
24646+ PR_SET_TSC = 0x1a
24647+ PR_SET_UNALIGN = 0x6
24648+ PR_SPEC_DISABLE = 0x4
24649+ PR_SPEC_DISABLE_NOEXEC = 0x10
24650+ PR_SPEC_ENABLE = 0x2
24651+ PR_SPEC_FORCE_DISABLE = 0x8
24652+ PR_SPEC_INDIRECT_BRANCH = 0x1
24653+ PR_SPEC_NOT_AFFECTED = 0x0
24654+ PR_SPEC_PRCTL = 0x1
24655+ PR_SPEC_STORE_BYPASS = 0x0
24656+ PR_SVE_GET_VL = 0x33
24657+ PR_SVE_SET_VL = 0x32
24658+ PR_SVE_SET_VL_ONEXEC = 0x40000
24659+ PR_SVE_VL_INHERIT = 0x20000
24660+ PR_SVE_VL_LEN_MASK = 0xffff
24661+ PR_TAGGED_ADDR_ENABLE = 0x1
24662+ PR_TASK_PERF_EVENTS_DISABLE = 0x1f
24663+ PR_TASK_PERF_EVENTS_ENABLE = 0x20
24664+ PR_TIMING_STATISTICAL = 0x0
24665+ PR_TIMING_TIMESTAMP = 0x1
24666+ PR_TSC_ENABLE = 0x1
24667+ PR_TSC_SIGSEGV = 0x2
24668+ PR_UNALIGN_NOPRINT = 0x1
24669+ PR_UNALIGN_SIGBUS = 0x2
24670+ PSTOREFS_MAGIC = 0x6165676c
24671+ PTRACE_ATTACH = 0x10
24672+ PTRACE_CONT = 0x7
24673+ PTRACE_DETACH = 0x11
24674+ PTRACE_EVENTMSG_SYSCALL_ENTRY = 0x1
24675+ PTRACE_EVENTMSG_SYSCALL_EXIT = 0x2
24676+ PTRACE_EVENT_CLONE = 0x3
24677+ PTRACE_EVENT_EXEC = 0x4
24678+ PTRACE_EVENT_EXIT = 0x6
24679+ PTRACE_EVENT_FORK = 0x1
24680+ PTRACE_EVENT_SECCOMP = 0x7
24681+ PTRACE_EVENT_STOP = 0x80
24682+ PTRACE_EVENT_VFORK = 0x2
24683+ PTRACE_EVENT_VFORK_DONE = 0x5
24684+ PTRACE_GETEVENTMSG = 0x4201
24685+ PTRACE_GETREGS = 0xc
24686+ PTRACE_GETREGSET = 0x4204
24687+ PTRACE_GETSIGINFO = 0x4202
24688+ PTRACE_GETSIGMASK = 0x420a
24689+ PTRACE_GET_SYSCALL_INFO = 0x420e
24690+ PTRACE_INTERRUPT = 0x4207
24691+ PTRACE_KILL = 0x8
24692+ PTRACE_LISTEN = 0x4208
24693+ PTRACE_O_EXITKILL = 0x100000
24694+ PTRACE_O_MASK = 0x3000ff
24695+ PTRACE_O_SUSPEND_SECCOMP = 0x200000
24696+ PTRACE_O_TRACECLONE = 0x8
24697+ PTRACE_O_TRACEEXEC = 0x10
24698+ PTRACE_O_TRACEEXIT = 0x40
24699+ PTRACE_O_TRACEFORK = 0x2
24700+ PTRACE_O_TRACESECCOMP = 0x80
24701+ PTRACE_O_TRACESYSGOOD = 0x1
24702+ PTRACE_O_TRACEVFORK = 0x4
24703+ PTRACE_O_TRACEVFORKDONE = 0x20
24704+ PTRACE_PEEKDATA = 0x2
24705+ PTRACE_PEEKSIGINFO = 0x4209
24706+ PTRACE_PEEKSIGINFO_SHARED = 0x1
24707+ PTRACE_PEEKTEXT = 0x1
24708+ PTRACE_PEEKUSR = 0x3
24709+ PTRACE_POKEDATA = 0x5
24710+ PTRACE_POKETEXT = 0x4
24711+ PTRACE_POKEUSR = 0x6
24712+ PTRACE_SECCOMP_GET_FILTER = 0x420c
24713+ PTRACE_SECCOMP_GET_METADATA = 0x420d
24714+ PTRACE_SEIZE = 0x4206
24715+ PTRACE_SETOPTIONS = 0x4200
24716+ PTRACE_SETREGS = 0xd
24717+ PTRACE_SETREGSET = 0x4205
24718+ PTRACE_SETSIGINFO = 0x4203
24719+ PTRACE_SETSIGMASK = 0x420b
24720+ PTRACE_SINGLESTEP = 0x9
24721+ PTRACE_SYSCALL = 0x18
24722+ PTRACE_SYSCALL_INFO_ENTRY = 0x1
24723+ PTRACE_SYSCALL_INFO_EXIT = 0x2
24724+ PTRACE_SYSCALL_INFO_NONE = 0x0
24725+ PTRACE_SYSCALL_INFO_SECCOMP = 0x3
24726+ PTRACE_TRACEME = 0x0
24727+ QNX4_SUPER_MAGIC = 0x2f
24728+ QNX6_SUPER_MAGIC = 0x68191122
24729+ RAMFS_MAGIC = 0x858458f6
24730+ RDTGROUP_SUPER_MAGIC = 0x7655821
24731+ REISERFS_SUPER_MAGIC = 0x52654973
24732+ RENAME_EXCHANGE = 0x2
24733+ RENAME_NOREPLACE = 0x1
24734+ RENAME_WHITEOUT = 0x4
24735+ RLIMIT_CORE = 0x4
24736+ RLIMIT_CPU = 0x0
24737+ RLIMIT_DATA = 0x2
24738+ RLIMIT_FSIZE = 0x1
24739+ RLIMIT_LOCKS = 0xa
24740+ RLIMIT_MSGQUEUE = 0xc
24741+ RLIMIT_NICE = 0xd
24742+ RLIMIT_RTPRIO = 0xe
24743+ RLIMIT_RTTIME = 0xf
24744+ RLIMIT_SIGPENDING = 0xb
24745+ RLIMIT_STACK = 0x3
24746+ RLIM_INFINITY = 0xffffffffffffffff
24747+ RTAX_ADVMSS = 0x8
24748+ RTAX_CC_ALGO = 0x10
24749+ RTAX_CWND = 0x7
24750+ RTAX_FASTOPEN_NO_COOKIE = 0x11
24751+ RTAX_FEATURES = 0xc
24752+ RTAX_FEATURE_ALLFRAG = 0x8
24753+ RTAX_FEATURE_ECN = 0x1
24754+ RTAX_FEATURE_MASK = 0xf
24755+ RTAX_FEATURE_SACK = 0x2
24756+ RTAX_FEATURE_TIMESTAMP = 0x4
24757+ RTAX_HOPLIMIT = 0xa
24758+ RTAX_INITCWND = 0xb
24759+ RTAX_INITRWND = 0xe
24760+ RTAX_LOCK = 0x1
24761+ RTAX_MAX = 0x11
24762+ RTAX_MTU = 0x2
24763+ RTAX_QUICKACK = 0xf
24764+ RTAX_REORDERING = 0x9
24765+ RTAX_RTO_MIN = 0xd
24766+ RTAX_RTT = 0x4
24767+ RTAX_RTTVAR = 0x5
24768+ RTAX_SSTHRESH = 0x6
24769+ RTAX_UNSPEC = 0x0
24770+ RTAX_WINDOW = 0x3
24771+ RTA_ALIGNTO = 0x4
24772+ RTA_MAX = 0x1e
24773+ RTCF_DIRECTSRC = 0x4000000
24774+ RTCF_DOREDIRECT = 0x1000000
24775+ RTCF_LOG = 0x2000000
24776+ RTCF_MASQ = 0x400000
24777+ RTCF_NAT = 0x800000
24778+ RTCF_VALVE = 0x200000
24779+ RTC_AF = 0x20
24780+ RTC_IRQF = 0x80
24781+ RTC_MAX_FREQ = 0x2000
24782+ RTC_PF = 0x40
24783+ RTC_UF = 0x10
24784+ RTF_ADDRCLASSMASK = 0xf8000000
24785+ RTF_ADDRCONF = 0x40000
24786+ RTF_ALLONLINK = 0x20000
24787+ RTF_BROADCAST = 0x10000000
24788+ RTF_CACHE = 0x1000000
24789+ RTF_DEFAULT = 0x10000
24790+ RTF_DYNAMIC = 0x10
24791+ RTF_FLOW = 0x2000000
24792+ RTF_GATEWAY = 0x2
24793+ RTF_HOST = 0x4
24794+ RTF_INTERFACE = 0x40000000
24795+ RTF_IRTT = 0x100
24796+ RTF_LINKRT = 0x100000
24797+ RTF_LOCAL = 0x80000000
24798+ RTF_MODIFIED = 0x20
24799+ RTF_MSS = 0x40
24800+ RTF_MTU = 0x40
24801+ RTF_MULTICAST = 0x20000000
24802+ RTF_NAT = 0x8000000
24803+ RTF_NOFORWARD = 0x1000
24804+ RTF_NONEXTHOP = 0x200000
24805+ RTF_NOPMTUDISC = 0x4000
24806+ RTF_POLICY = 0x4000000
24807+ RTF_REINSTATE = 0x8
24808+ RTF_REJECT = 0x200
24809+ RTF_STATIC = 0x400
24810+ RTF_THROW = 0x2000
24811+ RTF_UP = 0x1
24812+ RTF_WINDOW = 0x80
24813+ RTF_XRESOLVE = 0x800
24814+ RTMGRP_DECnet_IFADDR = 0x1000
24815+ RTMGRP_DECnet_ROUTE = 0x4000
24816+ RTMGRP_IPV4_IFADDR = 0x10
24817+ RTMGRP_IPV4_MROUTE = 0x20
24818+ RTMGRP_IPV4_ROUTE = 0x40
24819+ RTMGRP_IPV4_RULE = 0x80
24820+ RTMGRP_IPV6_IFADDR = 0x100
24821+ RTMGRP_IPV6_IFINFO = 0x800
24822+ RTMGRP_IPV6_MROUTE = 0x200
24823+ RTMGRP_IPV6_PREFIX = 0x20000
24824+ RTMGRP_IPV6_ROUTE = 0x400
24825+ RTMGRP_LINK = 0x1
24826+ RTMGRP_NEIGH = 0x4
24827+ RTMGRP_NOTIFY = 0x2
24828+ RTMGRP_TC = 0x8
24829+ RTM_BASE = 0x10
24830+ RTM_DELACTION = 0x31
24831+ RTM_DELADDR = 0x15
24832+ RTM_DELADDRLABEL = 0x49
24833+ RTM_DELCHAIN = 0x65
24834+ RTM_DELLINK = 0x11
24835+ RTM_DELLINKPROP = 0x6d
24836+ RTM_DELMDB = 0x55
24837+ RTM_DELNEIGH = 0x1d
24838+ RTM_DELNETCONF = 0x51
24839+ RTM_DELNEXTHOP = 0x69
24840+ RTM_DELNSID = 0x59
24841+ RTM_DELQDISC = 0x25
24842+ RTM_DELROUTE = 0x19
24843+ RTM_DELRULE = 0x21
24844+ RTM_DELTCLASS = 0x29
24845+ RTM_DELTFILTER = 0x2d
24846+ RTM_DELVLAN = 0x71
24847+ RTM_F_CLONED = 0x200
24848+ RTM_F_EQUALIZE = 0x400
24849+ RTM_F_FIB_MATCH = 0x2000
24850+ RTM_F_LOOKUP_TABLE = 0x1000
24851+ RTM_F_NOTIFY = 0x100
24852+ RTM_F_OFFLOAD = 0x4000
24853+ RTM_F_PREFIX = 0x800
24854+ RTM_F_TRAP = 0x8000
24855+ RTM_GETACTION = 0x32
24856+ RTM_GETADDR = 0x16
24857+ RTM_GETADDRLABEL = 0x4a
24858+ RTM_GETANYCAST = 0x3e
24859+ RTM_GETCHAIN = 0x66
24860+ RTM_GETDCB = 0x4e
24861+ RTM_GETLINK = 0x12
24862+ RTM_GETLINKPROP = 0x6e
24863+ RTM_GETMDB = 0x56
24864+ RTM_GETMULTICAST = 0x3a
24865+ RTM_GETNEIGH = 0x1e
24866+ RTM_GETNEIGHTBL = 0x42
24867+ RTM_GETNETCONF = 0x52
24868+ RTM_GETNEXTHOP = 0x6a
24869+ RTM_GETNSID = 0x5a
24870+ RTM_GETQDISC = 0x26
24871+ RTM_GETROUTE = 0x1a
24872+ RTM_GETRULE = 0x22
24873+ RTM_GETSTATS = 0x5e
24874+ RTM_GETTCLASS = 0x2a
24875+ RTM_GETTFILTER = 0x2e
24876+ RTM_GETVLAN = 0x72
24877+ RTM_MAX = 0x73
24878+ RTM_NEWACTION = 0x30
24879+ RTM_NEWADDR = 0x14
24880+ RTM_NEWADDRLABEL = 0x48
24881+ RTM_NEWCACHEREPORT = 0x60
24882+ RTM_NEWCHAIN = 0x64
24883+ RTM_NEWLINK = 0x10
24884+ RTM_NEWLINKPROP = 0x6c
24885+ RTM_NEWMDB = 0x54
24886+ RTM_NEWNDUSEROPT = 0x44
24887+ RTM_NEWNEIGH = 0x1c
24888+ RTM_NEWNEIGHTBL = 0x40
24889+ RTM_NEWNETCONF = 0x50
24890+ RTM_NEWNEXTHOP = 0x68
24891+ RTM_NEWNSID = 0x58
24892+ RTM_NEWNVLAN = 0x70
24893+ RTM_NEWPREFIX = 0x34
24894+ RTM_NEWQDISC = 0x24
24895+ RTM_NEWROUTE = 0x18
24896+ RTM_NEWRULE = 0x20
24897+ RTM_NEWSTATS = 0x5c
24898+ RTM_NEWTCLASS = 0x28
24899+ RTM_NEWTFILTER = 0x2c
24900+ RTM_NR_FAMILIES = 0x19
24901+ RTM_NR_MSGTYPES = 0x64
24902+ RTM_SETDCB = 0x4f
24903+ RTM_SETLINK = 0x13
24904+ RTM_SETNEIGHTBL = 0x43
24905+ RTNH_ALIGNTO = 0x4
24906+ RTNH_COMPARE_MASK = 0x19
24907+ RTNH_F_DEAD = 0x1
24908+ RTNH_F_LINKDOWN = 0x10
24909+ RTNH_F_OFFLOAD = 0x8
24910+ RTNH_F_ONLINK = 0x4
24911+ RTNH_F_PERVASIVE = 0x2
24912+ RTNH_F_UNRESOLVED = 0x20
24913+ RTN_MAX = 0xb
24914+ RTPROT_BABEL = 0x2a
24915+ RTPROT_BGP = 0xba
24916+ RTPROT_BIRD = 0xc
24917+ RTPROT_BOOT = 0x3
24918+ RTPROT_DHCP = 0x10
24919+ RTPROT_DNROUTED = 0xd
24920+ RTPROT_EIGRP = 0xc0
24921+ RTPROT_GATED = 0x8
24922+ RTPROT_ISIS = 0xbb
24923+ RTPROT_KERNEL = 0x2
24924+ RTPROT_MROUTED = 0x11
24925+ RTPROT_MRT = 0xa
24926+ RTPROT_NTK = 0xf
24927+ RTPROT_OSPF = 0xbc
24928+ RTPROT_RA = 0x9
24929+ RTPROT_REDIRECT = 0x1
24930+ RTPROT_RIP = 0xbd
24931+ RTPROT_STATIC = 0x4
24932+ RTPROT_UNSPEC = 0x0
24933+ RTPROT_XORP = 0xe
24934+ RTPROT_ZEBRA = 0xb
24935+ RT_CLASS_DEFAULT = 0xfd
24936+ RT_CLASS_LOCAL = 0xff
24937+ RT_CLASS_MAIN = 0xfe
24938+ RT_CLASS_MAX = 0xff
24939+ RT_CLASS_UNSPEC = 0x0
24940+ RUSAGE_CHILDREN = -0x1
24941+ RUSAGE_SELF = 0x0
24942+ RUSAGE_THREAD = 0x1
24943+ RWF_APPEND = 0x10
24944+ RWF_DSYNC = 0x2
24945+ RWF_HIPRI = 0x1
24946+ RWF_NOWAIT = 0x8
24947+ RWF_SUPPORTED = 0x1f
24948+ RWF_SYNC = 0x4
24949+ RWF_WRITE_LIFE_NOT_SET = 0x0
24950+ SCM_CREDENTIALS = 0x2
24951+ SCM_RIGHTS = 0x1
24952+ SCM_TIMESTAMP = 0x1d
24953+ SC_LOG_FLUSH = 0x100000
24954+ SECCOMP_MODE_DISABLED = 0x0
24955+ SECCOMP_MODE_FILTER = 0x2
24956+ SECCOMP_MODE_STRICT = 0x1
24957+ SECURITYFS_MAGIC = 0x73636673
24958+ SELINUX_MAGIC = 0xf97cff8c
24959+ SHUT_RD = 0x0
24960+ SHUT_RDWR = 0x2
24961+ SHUT_WR = 0x1
24962+ SIOCADDDLCI = 0x8980
24963+ SIOCADDMULTI = 0x8931
24964+ SIOCADDRT = 0x890b
24965+ SIOCBONDCHANGEACTIVE = 0x8995
24966+ SIOCBONDENSLAVE = 0x8990
24967+ SIOCBONDINFOQUERY = 0x8994
24968+ SIOCBONDRELEASE = 0x8991
24969+ SIOCBONDSETHWADDR = 0x8992
24970+ SIOCBONDSLAVEINFOQUERY = 0x8993
24971+ SIOCBRADDBR = 0x89a0
24972+ SIOCBRADDIF = 0x89a2
24973+ SIOCBRDELBR = 0x89a1
24974+ SIOCBRDELIF = 0x89a3
24975+ SIOCDARP = 0x8953
24976+ SIOCDELDLCI = 0x8981
24977+ SIOCDELMULTI = 0x8932
24978+ SIOCDELRT = 0x890c
24979+ SIOCDEVPRIVATE = 0x89f0
24980+ SIOCDIFADDR = 0x8936
24981+ SIOCDRARP = 0x8960
24982+ SIOCETHTOOL = 0x8946
24983+ SIOCGARP = 0x8954
24984+ SIOCGETLINKNAME = 0x89e0
24985+ SIOCGETNODEID = 0x89e1
24986+ SIOCGHWTSTAMP = 0x89b1
24987+ SIOCGIFADDR = 0x8915
24988+ SIOCGIFBR = 0x8940
24989+ SIOCGIFBRDADDR = 0x8919
24990+ SIOCGIFCONF = 0x8912
24991+ SIOCGIFCOUNT = 0x8938
24992+ SIOCGIFDSTADDR = 0x8917
24993+ SIOCGIFENCAP = 0x8925
24994+ SIOCGIFFLAGS = 0x8913
24995+ SIOCGIFHWADDR = 0x8927
24996+ SIOCGIFINDEX = 0x8933
24997+ SIOCGIFMAP = 0x8970
24998+ SIOCGIFMEM = 0x891f
24999+ SIOCGIFMETRIC = 0x891d
25000+ SIOCGIFMTU = 0x8921
25001+ SIOCGIFNAME = 0x8910
25002+ SIOCGIFNETMASK = 0x891b
25003+ SIOCGIFPFLAGS = 0x8935
25004+ SIOCGIFSLAVE = 0x8929
25005+ SIOCGIFTXQLEN = 0x8942
25006+ SIOCGIFVLAN = 0x8982
25007+ SIOCGMIIPHY = 0x8947
25008+ SIOCGMIIREG = 0x8948
25009+ SIOCGPPPCSTATS = 0x89f2
25010+ SIOCGPPPSTATS = 0x89f0
25011+ SIOCGPPPVER = 0x89f1
25012+ SIOCGRARP = 0x8961
25013+ SIOCGSKNS = 0x894c
25014+ SIOCGSTAMP = 0x8906
25015+ SIOCGSTAMPNS = 0x8907
25016+ SIOCGSTAMPNS_OLD = 0x8907
25017+ SIOCGSTAMP_OLD = 0x8906
25018+ SIOCOUTQNSD = 0x894b
25019+ SIOCPROTOPRIVATE = 0x89e0
25020+ SIOCRTMSG = 0x890d
25021+ SIOCSARP = 0x8955
25022+ SIOCSHWTSTAMP = 0x89b0
25023+ SIOCSIFADDR = 0x8916
25024+ SIOCSIFBR = 0x8941
25025+ SIOCSIFBRDADDR = 0x891a
25026+ SIOCSIFDSTADDR = 0x8918
25027+ SIOCSIFENCAP = 0x8926
25028+ SIOCSIFFLAGS = 0x8914
25029+ SIOCSIFHWADDR = 0x8924
25030+ SIOCSIFHWBROADCAST = 0x8937
25031+ SIOCSIFLINK = 0x8911
25032+ SIOCSIFMAP = 0x8971
25033+ SIOCSIFMEM = 0x8920
25034+ SIOCSIFMETRIC = 0x891e
25035+ SIOCSIFMTU = 0x8922
25036+ SIOCSIFNAME = 0x8923
25037+ SIOCSIFNETMASK = 0x891c
25038+ SIOCSIFPFLAGS = 0x8934
25039+ SIOCSIFSLAVE = 0x8930
25040+ SIOCSIFTXQLEN = 0x8943
25041+ SIOCSIFVLAN = 0x8983
25042+ SIOCSMIIREG = 0x8949
25043+ SIOCSRARP = 0x8962
25044+ SIOCWANDEV = 0x894a
25045+ SMACK_MAGIC = 0x43415d53
25046+ SMART_AUTOSAVE = 0xd2
25047+ SMART_AUTO_OFFLINE = 0xdb
25048+ SMART_DISABLE = 0xd9
25049+ SMART_ENABLE = 0xd8
25050+ SMART_HCYL_PASS = 0xc2
25051+ SMART_IMMEDIATE_OFFLINE = 0xd4
25052+ SMART_LCYL_PASS = 0x4f
25053+ SMART_READ_LOG_SECTOR = 0xd5
25054+ SMART_READ_THRESHOLDS = 0xd1
25055+ SMART_READ_VALUES = 0xd0
25056+ SMART_SAVE = 0xd3
25057+ SMART_STATUS = 0xda
25058+ SMART_WRITE_LOG_SECTOR = 0xd6
25059+ SMART_WRITE_THRESHOLDS = 0xd7
25060+ SMB_SUPER_MAGIC = 0x517b
25061+ SOCKFS_MAGIC = 0x534f434b
25062+ SOCK_DCCP = 0x6
25063+ SOCK_IOC_TYPE = 0x89
25064+ SOCK_PACKET = 0xa
25065+ SOCK_RAW = 0x3
25066+ SOCK_RDM = 0x4
25067+ SOCK_SEQPACKET = 0x5
25068+ SOL_AAL = 0x109
25069+ SOL_ALG = 0x117
25070+ SOL_ATM = 0x108
25071+ SOL_CAIF = 0x116
25072+ SOL_CAN_BASE = 0x64
25073+ SOL_DCCP = 0x10d
25074+ SOL_DECNET = 0x105
25075+ SOL_ICMPV6 = 0x3a
25076+ SOL_IP = 0x0
25077+ SOL_IPV6 = 0x29
25078+ SOL_IRDA = 0x10a
25079+ SOL_IUCV = 0x115
25080+ SOL_KCM = 0x119
25081+ SOL_LLC = 0x10c
25082+ SOL_NETBEUI = 0x10b
25083+ SOL_NETLINK = 0x10e
25084+ SOL_NFC = 0x118
25085+ SOL_PACKET = 0x107
25086+ SOL_PNPIPE = 0x113
25087+ SOL_PPPOL2TP = 0x111
25088+ SOL_RAW = 0xff
25089+ SOL_RDS = 0x114
25090+ SOL_RXRPC = 0x110
25091+ SOL_TCP = 0x6
25092+ SOL_TIPC = 0x10f
25093+ SOL_TLS = 0x11a
25094+ SOL_X25 = 0x106
25095+ SOL_XDP = 0x11b
25096+ SOMAXCONN = 0x1000
25097+ SO_ATTACH_FILTER = 0x1a
25098+ SO_DEBUG = 0x1
25099+ SO_DETACH_BPF = 0x1b
25100+ SO_DETACH_FILTER = 0x1b
25101+ SO_EE_CODE_TXTIME_INVALID_PARAM = 0x1
25102+ SO_EE_CODE_TXTIME_MISSED = 0x2
25103+ SO_EE_CODE_ZEROCOPY_COPIED = 0x1
25104+ SO_EE_ORIGIN_ICMP = 0x2
25105+ SO_EE_ORIGIN_ICMP6 = 0x3
25106+ SO_EE_ORIGIN_LOCAL = 0x1
25107+ SO_EE_ORIGIN_NONE = 0x0
25108+ SO_EE_ORIGIN_TIMESTAMPING = 0x4
25109+ SO_EE_ORIGIN_TXSTATUS = 0x4
25110+ SO_EE_ORIGIN_TXTIME = 0x6
25111+ SO_EE_ORIGIN_ZEROCOPY = 0x5
25112+ SO_GET_FILTER = 0x1a
25113+ SO_NO_CHECK = 0xb
25114+ SO_PEERNAME = 0x1c
25115+ SO_PRIORITY = 0xc
25116+ SO_TIMESTAMP = 0x1d
25117+ SO_TIMESTAMP_OLD = 0x1d
25118+ SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
25119+ SO_VM_SOCKETS_BUFFER_MIN_SIZE = 0x1
25120+ SO_VM_SOCKETS_BUFFER_SIZE = 0x0
25121+ SO_VM_SOCKETS_CONNECT_TIMEOUT = 0x6
25122+ SO_VM_SOCKETS_NONBLOCK_TXRX = 0x7
25123+ SO_VM_SOCKETS_PEER_HOST_VM_ID = 0x3
25124+ SO_VM_SOCKETS_TRUSTED = 0x5
25125+ SPLICE_F_GIFT = 0x8
25126+ SPLICE_F_MORE = 0x4
25127+ SPLICE_F_MOVE = 0x1
25128+ SPLICE_F_NONBLOCK = 0x2
25129+ SQUASHFS_MAGIC = 0x73717368
25130+ STACK_END_MAGIC = 0x57ac6e9d
25131+ STATX_ALL = 0xfff
25132+ STATX_ATIME = 0x20
25133+ STATX_ATTR_APPEND = 0x20
25134+ STATX_ATTR_AUTOMOUNT = 0x1000
25135+ STATX_ATTR_COMPRESSED = 0x4
25136+ STATX_ATTR_ENCRYPTED = 0x800
25137+ STATX_ATTR_IMMUTABLE = 0x10
25138+ STATX_ATTR_NODUMP = 0x40
25139+ STATX_ATTR_VERITY = 0x100000
25140+ STATX_BASIC_STATS = 0x7ff
25141+ STATX_BLOCKS = 0x400
25142+ STATX_BTIME = 0x800
25143+ STATX_CTIME = 0x80
25144+ STATX_GID = 0x10
25145+ STATX_INO = 0x100
25146+ STATX_MODE = 0x2
25147+ STATX_MTIME = 0x40
25148+ STATX_NLINK = 0x4
25149+ STATX_SIZE = 0x200
25150+ STATX_TYPE = 0x1
25151+ STATX_UID = 0x8
25152+ STATX__RESERVED = 0x80000000
25153+ SYNC_FILE_RANGE_WAIT_AFTER = 0x4
25154+ SYNC_FILE_RANGE_WAIT_BEFORE = 0x1
25155+ SYNC_FILE_RANGE_WRITE = 0x2
25156+ SYNC_FILE_RANGE_WRITE_AND_WAIT = 0x7
25157+ SYSFS_MAGIC = 0x62656572
25158+ S_BLKSIZE = 0x200
25159+ S_IEXEC = 0x40
25160+ S_IFBLK = 0x6000
25161+ S_IFCHR = 0x2000
25162+ S_IFDIR = 0x4000
25163+ S_IFIFO = 0x1000
25164+ S_IFLNK = 0xa000
25165+ S_IFMT = 0xf000
25166+ S_IFREG = 0x8000
25167+ S_IFSOCK = 0xc000
25168+ S_IREAD = 0x100
25169+ S_IRGRP = 0x20
25170+ S_IROTH = 0x4
25171+ S_IRUSR = 0x100
25172+ S_IRWXG = 0x38
25173+ S_IRWXO = 0x7
25174+ S_IRWXU = 0x1c0
25175+ S_ISGID = 0x400
25176+ S_ISUID = 0x800
25177+ S_ISVTX = 0x200
25178+ S_IWGRP = 0x10
25179+ S_IWOTH = 0x2
25180+ S_IWRITE = 0x80
25181+ S_IWUSR = 0x80
25182+ S_IXGRP = 0x8
25183+ S_IXOTH = 0x1
25184+ S_IXUSR = 0x40
25185+ TAB0 = 0x0
25186+ TASKSTATS_CMD_ATTR_MAX = 0x4
25187+ TASKSTATS_CMD_MAX = 0x2
25188+ TASKSTATS_GENL_NAME = "TASKSTATS"
25189+ TASKSTATS_GENL_VERSION = 0x1
25190+ TASKSTATS_TYPE_MAX = 0x6
25191+ TASKSTATS_VERSION = 0xa
25192+ TCIFLUSH = 0x0
25193+ TCIOFF = 0x2
25194+ TCIOFLUSH = 0x2
25195+ TCION = 0x3
25196+ TCOFLUSH = 0x1
25197+ TCOOFF = 0x0
25198+ TCOON = 0x1
25199+ TCP_BPF_IW = 0x3e9
25200+ TCP_BPF_SNDCWND_CLAMP = 0x3ea
25201+ TCP_CC_INFO = 0x1a
25202+ TCP_CM_INQ = 0x24
25203+ TCP_CONGESTION = 0xd
25204+ TCP_COOKIE_IN_ALWAYS = 0x1
25205+ TCP_COOKIE_MAX = 0x10
25206+ TCP_COOKIE_MIN = 0x8
25207+ TCP_COOKIE_OUT_NEVER = 0x2
25208+ TCP_COOKIE_PAIR_SIZE = 0x20
25209+ TCP_COOKIE_TRANSACTIONS = 0xf
25210+ TCP_CORK = 0x3
25211+ TCP_DEFER_ACCEPT = 0x9
25212+ TCP_FASTOPEN = 0x17
25213+ TCP_FASTOPEN_CONNECT = 0x1e
25214+ TCP_FASTOPEN_KEY = 0x21
25215+ TCP_FASTOPEN_NO_COOKIE = 0x22
25216+ TCP_INFO = 0xb
25217+ TCP_INQ = 0x24
25218+ TCP_KEEPCNT = 0x6
25219+ TCP_KEEPIDLE = 0x4
25220+ TCP_KEEPINTVL = 0x5
25221+ TCP_LINGER2 = 0x8
25222+ TCP_MAXSEG = 0x2
25223+ TCP_MAXWIN = 0xffff
25224+ TCP_MAX_WINSHIFT = 0xe
25225+ TCP_MD5SIG = 0xe
25226+ TCP_MD5SIG_EXT = 0x20
25227+ TCP_MD5SIG_FLAG_PREFIX = 0x1
25228+ TCP_MD5SIG_MAXKEYLEN = 0x50
25229+ TCP_MSS = 0x200
25230+ TCP_MSS_DEFAULT = 0x218
25231+ TCP_MSS_DESIRED = 0x4c4
25232+ TCP_NODELAY = 0x1
25233+ TCP_NOTSENT_LOWAT = 0x19
25234+ TCP_QUEUE_SEQ = 0x15
25235+ TCP_QUICKACK = 0xc
25236+ TCP_REPAIR = 0x13
25237+ TCP_REPAIR_OFF = 0x0
25238+ TCP_REPAIR_OFF_NO_WP = -0x1
25239+ TCP_REPAIR_ON = 0x1
25240+ TCP_REPAIR_OPTIONS = 0x16
25241+ TCP_REPAIR_QUEUE = 0x14
25242+ TCP_REPAIR_WINDOW = 0x1d
25243+ TCP_SAVED_SYN = 0x1c
25244+ TCP_SAVE_SYN = 0x1b
25245+ TCP_SYNCNT = 0x7
25246+ TCP_S_DATA_IN = 0x4
25247+ TCP_S_DATA_OUT = 0x8
25248+ TCP_THIN_DUPACK = 0x11
25249+ TCP_THIN_LINEAR_TIMEOUTS = 0x10
25250+ TCP_TIMESTAMP = 0x18
25251+ TCP_TX_DELAY = 0x25
25252+ TCP_ULP = 0x1f
25253+ TCP_USER_TIMEOUT = 0x12
25254+ TCP_WINDOW_CLAMP = 0xa
25255+ TCP_ZEROCOPY_RECEIVE = 0x23
25256+ TIMER_ABSTIME = 0x1
25257+ TIOCM_DTR = 0x2
25258+ TIOCM_LE = 0x1
25259+ TIOCM_RTS = 0x4
25260+ TIOCPKT_DATA = 0x0
25261+ TIOCPKT_DOSTOP = 0x20
25262+ TIOCPKT_FLUSHREAD = 0x1
25263+ TIOCPKT_FLUSHWRITE = 0x2
25264+ TIOCPKT_IOCTL = 0x40
25265+ TIOCPKT_NOSTOP = 0x10
25266+ TIOCPKT_START = 0x8
25267+ TIOCPKT_STOP = 0x4
25268+ TIPC_ADDR_ID = 0x3
25269+ TIPC_ADDR_MCAST = 0x1
25270+ TIPC_ADDR_NAME = 0x2
25271+ TIPC_ADDR_NAMESEQ = 0x1
25272+ TIPC_AEAD_ALG_NAME = 0x20
25273+ TIPC_AEAD_KEYLEN_MAX = 0x24
25274+ TIPC_AEAD_KEYLEN_MIN = 0x14
25275+ TIPC_AEAD_KEY_SIZE_MAX = 0x48
25276+ TIPC_CFG_SRV = 0x0
25277+ TIPC_CLUSTER_BITS = 0xc
25278+ TIPC_CLUSTER_MASK = 0xfff000
25279+ TIPC_CLUSTER_OFFSET = 0xc
25280+ TIPC_CLUSTER_SIZE = 0xfff
25281+ TIPC_CONN_SHUTDOWN = 0x5
25282+ TIPC_CONN_TIMEOUT = 0x82
25283+ TIPC_CRITICAL_IMPORTANCE = 0x3
25284+ TIPC_DESTNAME = 0x3
25285+ TIPC_DEST_DROPPABLE = 0x81
25286+ TIPC_ERRINFO = 0x1
25287+ TIPC_ERR_NO_NAME = 0x1
25288+ TIPC_ERR_NO_NODE = 0x3
25289+ TIPC_ERR_NO_PORT = 0x2
25290+ TIPC_ERR_OVERLOAD = 0x4
25291+ TIPC_GROUP_JOIN = 0x87
25292+ TIPC_GROUP_LEAVE = 0x88
25293+ TIPC_GROUP_LOOPBACK = 0x1
25294+ TIPC_GROUP_MEMBER_EVTS = 0x2
25295+ TIPC_HIGH_IMPORTANCE = 0x2
25296+ TIPC_IMPORTANCE = 0x7f
25297+ TIPC_LINK_STATE = 0x2
25298+ TIPC_LOW_IMPORTANCE = 0x0
25299+ TIPC_MAX_BEARER_NAME = 0x20
25300+ TIPC_MAX_IF_NAME = 0x10
25301+ TIPC_MAX_LINK_NAME = 0x44
25302+ TIPC_MAX_MEDIA_NAME = 0x10
25303+ TIPC_MAX_USER_MSG_SIZE = 0x101d0
25304+ TIPC_MCAST_BROADCAST = 0x85
25305+ TIPC_MCAST_REPLICAST = 0x86
25306+ TIPC_MEDIUM_IMPORTANCE = 0x1
25307+ TIPC_NODEID_LEN = 0x10
25308+ TIPC_NODELAY = 0x8a
25309+ TIPC_NODE_BITS = 0xc
25310+ TIPC_NODE_MASK = 0xfff
25311+ TIPC_NODE_OFFSET = 0x0
25312+ TIPC_NODE_RECVQ_DEPTH = 0x83
25313+ TIPC_NODE_SIZE = 0xfff
25314+ TIPC_NODE_STATE = 0x0
25315+ TIPC_OK = 0x0
25316+ TIPC_PUBLISHED = 0x1
25317+ TIPC_RESERVED_TYPES = 0x40
25318+ TIPC_RETDATA = 0x2
25319+ TIPC_SERVICE_ADDR = 0x2
25320+ TIPC_SERVICE_RANGE = 0x1
25321+ TIPC_SOCKET_ADDR = 0x3
25322+ TIPC_SOCK_RECVQ_DEPTH = 0x84
25323+ TIPC_SOCK_RECVQ_USED = 0x89
25324+ TIPC_SRC_DROPPABLE = 0x80
25325+ TIPC_SUBSCR_TIMEOUT = 0x3
25326+ TIPC_SUB_CANCEL = 0x4
25327+ TIPC_SUB_PORTS = 0x1
25328+ TIPC_SUB_SERVICE = 0x2
25329+ TIPC_TOP_SRV = 0x1
25330+ TIPC_WAIT_FOREVER = 0xffffffff
25331+ TIPC_WITHDRAWN = 0x2
25332+ TIPC_ZONE_BITS = 0x8
25333+ TIPC_ZONE_CLUSTER_MASK = 0xfffff000
25334+ TIPC_ZONE_MASK = 0xff000000
25335+ TIPC_ZONE_OFFSET = 0x18
25336+ TIPC_ZONE_SCOPE = 0x1
25337+ TIPC_ZONE_SIZE = 0xff
25338+ TMPFS_MAGIC = 0x1021994
25339+ TPACKET_ALIGNMENT = 0x10
25340+ TPACKET_HDRLEN = 0x34
25341+ TP_STATUS_AVAILABLE = 0x0
25342+ TP_STATUS_BLK_TMO = 0x20
25343+ TP_STATUS_COPY = 0x2
25344+ TP_STATUS_CSUMNOTREADY = 0x8
25345+ TP_STATUS_CSUM_VALID = 0x80
25346+ TP_STATUS_KERNEL = 0x0
25347+ TP_STATUS_LOSING = 0x4
25348+ TP_STATUS_SENDING = 0x2
25349+ TP_STATUS_SEND_REQUEST = 0x1
25350+ TP_STATUS_TS_RAW_HARDWARE = 0x80000000
25351+ TP_STATUS_TS_SOFTWARE = 0x20000000
25352+ TP_STATUS_TS_SYS_HARDWARE = 0x40000000
25353+ TP_STATUS_USER = 0x1
25354+ TP_STATUS_VLAN_TPID_VALID = 0x40
25355+ TP_STATUS_VLAN_VALID = 0x10
25356+ TP_STATUS_WRONG_FORMAT = 0x4
25357+ TRACEFS_MAGIC = 0x74726163
25358+ TS_COMM_LEN = 0x20
25359+ UDF_SUPER_MAGIC = 0x15013346
25360+ UMOUNT_NOFOLLOW = 0x8
25361+ USBDEVICE_SUPER_MAGIC = 0x9fa2
25362+ UTIME_NOW = 0x3fffffff
25363+ UTIME_OMIT = 0x3ffffffe
25364+ V9FS_MAGIC = 0x1021997
25365+ VERASE = 0x2
25366+ VINTR = 0x0
25367+ VKILL = 0x3
25368+ VLNEXT = 0xf
25369+ VMADDR_CID_ANY = 0xffffffff
25370+ VMADDR_CID_HOST = 0x2
25371+ VMADDR_CID_HYPERVISOR = 0x0
25372+ VMADDR_CID_LOCAL = 0x1
25373+ VMADDR_PORT_ANY = 0xffffffff
25374+ VM_SOCKETS_INVALID_VERSION = 0xffffffff
25375+ VQUIT = 0x1
25376+ VT0 = 0x0
25377+ WALL = 0x40000000
25378+ WCLONE = 0x80000000
25379+ WCONTINUED = 0x8
25380+ WDIOC_SETPRETIMEOUT = 0xc0045708
25381+ WDIOC_SETTIMEOUT = 0xc0045706
25382+ WEXITED = 0x4
25383+ WIN_ACKMEDIACHANGE = 0xdb
25384+ WIN_CHECKPOWERMODE1 = 0xe5
25385+ WIN_CHECKPOWERMODE2 = 0x98
25386+ WIN_DEVICE_RESET = 0x8
25387+ WIN_DIAGNOSE = 0x90
25388+ WIN_DOORLOCK = 0xde
25389+ WIN_DOORUNLOCK = 0xdf
25390+ WIN_DOWNLOAD_MICROCODE = 0x92
25391+ WIN_FLUSH_CACHE = 0xe7
25392+ WIN_FLUSH_CACHE_EXT = 0xea
25393+ WIN_FORMAT = 0x50
25394+ WIN_GETMEDIASTATUS = 0xda
25395+ WIN_IDENTIFY = 0xec
25396+ WIN_IDENTIFY_DMA = 0xee
25397+ WIN_IDLEIMMEDIATE = 0xe1
25398+ WIN_INIT = 0x60
25399+ WIN_MEDIAEJECT = 0xed
25400+ WIN_MULTREAD = 0xc4
25401+ WIN_MULTREAD_EXT = 0x29
25402+ WIN_MULTWRITE = 0xc5
25403+ WIN_MULTWRITE_EXT = 0x39
25404+ WIN_NOP = 0x0
25405+ WIN_PACKETCMD = 0xa0
25406+ WIN_PIDENTIFY = 0xa1
25407+ WIN_POSTBOOT = 0xdc
25408+ WIN_PREBOOT = 0xdd
25409+ WIN_QUEUED_SERVICE = 0xa2
25410+ WIN_READ = 0x20
25411+ WIN_READDMA = 0xc8
25412+ WIN_READDMA_EXT = 0x25
25413+ WIN_READDMA_ONCE = 0xc9
25414+ WIN_READDMA_QUEUED = 0xc7
25415+ WIN_READDMA_QUEUED_EXT = 0x26
25416+ WIN_READ_BUFFER = 0xe4
25417+ WIN_READ_EXT = 0x24
25418+ WIN_READ_LONG = 0x22
25419+ WIN_READ_LONG_ONCE = 0x23
25420+ WIN_READ_NATIVE_MAX = 0xf8
25421+ WIN_READ_NATIVE_MAX_EXT = 0x27
25422+ WIN_READ_ONCE = 0x21
25423+ WIN_RECAL = 0x10
25424+ WIN_RESTORE = 0x10
25425+ WIN_SECURITY_DISABLE = 0xf6
25426+ WIN_SECURITY_ERASE_PREPARE = 0xf3
25427+ WIN_SECURITY_ERASE_UNIT = 0xf4
25428+ WIN_SECURITY_FREEZE_LOCK = 0xf5
25429+ WIN_SECURITY_SET_PASS = 0xf1
25430+ WIN_SECURITY_UNLOCK = 0xf2
25431+ WIN_SEEK = 0x70
25432+ WIN_SETFEATURES = 0xef
25433+ WIN_SETIDLE1 = 0xe3
25434+ WIN_SETIDLE2 = 0x97
25435+ WIN_SETMULT = 0xc6
25436+ WIN_SET_MAX = 0xf9
25437+ WIN_SET_MAX_EXT = 0x37
25438+ WIN_SLEEPNOW1 = 0xe6
25439+ WIN_SLEEPNOW2 = 0x99
25440+ WIN_SMART = 0xb0
25441+ WIN_SPECIFY = 0x91
25442+ WIN_SRST = 0x8
25443+ WIN_STANDBY = 0xe2
25444+ WIN_STANDBY2 = 0x96
25445+ WIN_STANDBYNOW1 = 0xe0
25446+ WIN_STANDBYNOW2 = 0x94
25447+ WIN_VERIFY = 0x40
25448+ WIN_VERIFY_EXT = 0x42
25449+ WIN_VERIFY_ONCE = 0x41
25450+ WIN_WRITE = 0x30
25451+ WIN_WRITEDMA = 0xca
25452+ WIN_WRITEDMA_EXT = 0x35
25453+ WIN_WRITEDMA_ONCE = 0xcb
25454+ WIN_WRITEDMA_QUEUED = 0xcc
25455+ WIN_WRITEDMA_QUEUED_EXT = 0x36
25456+ WIN_WRITE_BUFFER = 0xe8
25457+ WIN_WRITE_EXT = 0x34
25458+ WIN_WRITE_LONG = 0x32
25459+ WIN_WRITE_LONG_ONCE = 0x33
25460+ WIN_WRITE_ONCE = 0x31
25461+ WIN_WRITE_SAME = 0xe9
25462+ WIN_WRITE_VERIFY = 0x3c
25463+ WNOHANG = 0x1
25464+ WNOTHREAD = 0x20000000
25465+ WNOWAIT = 0x1000000
25466+ WSTOPPED = 0x2
25467+ WUNTRACED = 0x2
25468+ XATTR_CREATE = 0x1
25469+ XATTR_REPLACE = 0x2
25470+ XDP_COPY = 0x2
25471+ XDP_FLAGS_DRV_MODE = 0x4
25472+ XDP_FLAGS_HW_MODE = 0x8
25473+ XDP_FLAGS_MASK = 0xf
25474+ XDP_FLAGS_MODES = 0xe
25475+ XDP_FLAGS_SKB_MODE = 0x2
25476+ XDP_FLAGS_UPDATE_IF_NOEXIST = 0x1
25477+ XDP_MMAP_OFFSETS = 0x1
25478+ XDP_OPTIONS = 0x8
25479+ XDP_OPTIONS_ZEROCOPY = 0x1
25480+ XDP_PACKET_HEADROOM = 0x100
25481+ XDP_PGOFF_RX_RING = 0x0
25482+ XDP_PGOFF_TX_RING = 0x80000000
25483+ XDP_RING_NEED_WAKEUP = 0x1
25484+ XDP_RX_RING = 0x2
25485+ XDP_SHARED_UMEM = 0x1
25486+ XDP_STATISTICS = 0x7
25487+ XDP_TX_RING = 0x3
25488+ XDP_UMEM_COMPLETION_RING = 0x6
25489+ XDP_UMEM_FILL_RING = 0x5
25490+ XDP_UMEM_PGOFF_COMPLETION_RING = 0x180000000
25491+ XDP_UMEM_PGOFF_FILL_RING = 0x100000000
25492+ XDP_UMEM_REG = 0x4
25493+ XDP_UMEM_UNALIGNED_CHUNK_FLAG = 0x1
25494+ XDP_USE_NEED_WAKEUP = 0x8
25495+ XDP_ZEROCOPY = 0x4
25496+ XENFS_SUPER_MAGIC = 0xabba1974
25497+ XFS_SUPER_MAGIC = 0x58465342
25498+ Z3FOLD_MAGIC = 0x33
25499+ ZONEFS_MAGIC = 0x5a4f4653
25500+ ZSMALLOC_MAGIC = 0x58295829
25501+)
25502+
25503+// Errors
25504+const (
25505+ E2BIG = syscall.Errno(0x7)
25506+ EACCES = syscall.Errno(0xd)
25507+ EAGAIN = syscall.Errno(0xb)
25508+ EBADF = syscall.Errno(0x9)
25509+ EBUSY = syscall.Errno(0x10)
25510+ ECHILD = syscall.Errno(0xa)
25511+ EDOM = syscall.Errno(0x21)
25512+ EEXIST = syscall.Errno(0x11)
25513+ EFAULT = syscall.Errno(0xe)
25514+ EFBIG = syscall.Errno(0x1b)
25515+ EINTR = syscall.Errno(0x4)
25516+ EINVAL = syscall.Errno(0x16)
25517+ EIO = syscall.Errno(0x5)
25518+ EISDIR = syscall.Errno(0x15)
25519+ EMFILE = syscall.Errno(0x18)
25520+ EMLINK = syscall.Errno(0x1f)
25521+ ENFILE = syscall.Errno(0x17)
25522+ ENODEV = syscall.Errno(0x13)
25523+ ENOENT = syscall.Errno(0x2)
25524+ ENOEXEC = syscall.Errno(0x8)
25525+ ENOMEM = syscall.Errno(0xc)
25526+ ENOSPC = syscall.Errno(0x1c)
25527+ ENOTBLK = syscall.Errno(0xf)
25528+ ENOTDIR = syscall.Errno(0x14)
25529+ ENOTTY = syscall.Errno(0x19)
25530+ ENXIO = syscall.Errno(0x6)
25531+ EPERM = syscall.Errno(0x1)
25532+ EPIPE = syscall.Errno(0x20)
25533+ ERANGE = syscall.Errno(0x22)
25534+ EROFS = syscall.Errno(0x1e)
25535+ ESPIPE = syscall.Errno(0x1d)
25536+ ESRCH = syscall.Errno(0x3)
25537+ ETXTBSY = syscall.Errno(0x1a)
25538+ EWOULDBLOCK = syscall.Errno(0xb)
25539+ EXDEV = syscall.Errno(0x12)
25540+)
25541+
25542+// Signals
25543+const (
25544+ SIGABRT = syscall.Signal(0x6)
25545+ SIGALRM = syscall.Signal(0xe)
25546+ SIGFPE = syscall.Signal(0x8)
25547+ SIGHUP = syscall.Signal(0x1)
25548+ SIGILL = syscall.Signal(0x4)
25549+ SIGINT = syscall.Signal(0x2)
25550+ SIGIOT = syscall.Signal(0x6)
25551+ SIGKILL = syscall.Signal(0x9)
25552+ SIGPIPE = syscall.Signal(0xd)
25553+ SIGQUIT = syscall.Signal(0x3)
25554+ SIGSEGV = syscall.Signal(0xb)
25555+ SIGTERM = syscall.Signal(0xf)
25556+ SIGTRAP = syscall.Signal(0x5)
25557+)
25558diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_386.go b/vendor/golang.org/x/sys/unix/zerrors_linux_386.go
25559index 33ced1ae..028c9d87 100644
25560--- a/vendor/golang.org/x/sys/unix/zerrors_linux_386.go
25561+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_386.go
25562@@ -3,7 +3,7 @@
25563
25564 // +build 386,linux
25565
25566-// Created by cgo -godefs - DO NOT EDIT
25567+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
25568 // cgo -godefs -- -Wall -Werror -static -I/tmp/include -m32 _const.go
25569
25570 package unix
25571@@ -11,1868 +11,487 @@ package unix
25572 import "syscall"
25573
25574 const (
25575- AF_ALG = 0x26
25576- AF_APPLETALK = 0x5
25577- AF_ASH = 0x12
25578- AF_ATMPVC = 0x8
25579- AF_ATMSVC = 0x14
25580- AF_AX25 = 0x3
25581- AF_BLUETOOTH = 0x1f
25582- AF_BRIDGE = 0x7
25583- AF_CAIF = 0x25
25584- AF_CAN = 0x1d
25585- AF_DECnet = 0xc
25586- AF_ECONET = 0x13
25587- AF_FILE = 0x1
25588- AF_IB = 0x1b
25589- AF_IEEE802154 = 0x24
25590- AF_INET = 0x2
25591- AF_INET6 = 0xa
25592- AF_IPX = 0x4
25593- AF_IRDA = 0x17
25594- AF_ISDN = 0x22
25595- AF_IUCV = 0x20
25596- AF_KCM = 0x29
25597- AF_KEY = 0xf
25598- AF_LLC = 0x1a
25599- AF_LOCAL = 0x1
25600- AF_MAX = 0x2b
25601- AF_MPLS = 0x1c
25602- AF_NETBEUI = 0xd
25603- AF_NETLINK = 0x10
25604- AF_NETROM = 0x6
25605- AF_NFC = 0x27
25606- AF_PACKET = 0x11
25607- AF_PHONET = 0x23
25608- AF_PPPOX = 0x18
25609- AF_QIPCRTR = 0x2a
25610- AF_RDS = 0x15
25611- AF_ROSE = 0xb
25612- AF_ROUTE = 0x10
25613- AF_RXRPC = 0x21
25614- AF_SECURITY = 0xe
25615- AF_SNA = 0x16
25616- AF_TIPC = 0x1e
25617- AF_UNIX = 0x1
25618- AF_UNSPEC = 0x0
25619- AF_VSOCK = 0x28
25620- AF_WANPIPE = 0x19
25621- AF_X25 = 0x9
25622- ALG_OP_DECRYPT = 0x0
25623- ALG_OP_ENCRYPT = 0x1
25624- ALG_SET_AEAD_ASSOCLEN = 0x4
25625- ALG_SET_AEAD_AUTHSIZE = 0x5
25626- ALG_SET_IV = 0x2
25627- ALG_SET_KEY = 0x1
25628- ALG_SET_OP = 0x3
25629- ARPHRD_6LOWPAN = 0x339
25630- ARPHRD_ADAPT = 0x108
25631- ARPHRD_APPLETLK = 0x8
25632- ARPHRD_ARCNET = 0x7
25633- ARPHRD_ASH = 0x30d
25634- ARPHRD_ATM = 0x13
25635- ARPHRD_AX25 = 0x3
25636- ARPHRD_BIF = 0x307
25637- ARPHRD_CAIF = 0x336
25638- ARPHRD_CAN = 0x118
25639- ARPHRD_CHAOS = 0x5
25640- ARPHRD_CISCO = 0x201
25641- ARPHRD_CSLIP = 0x101
25642- ARPHRD_CSLIP6 = 0x103
25643- ARPHRD_DDCMP = 0x205
25644- ARPHRD_DLCI = 0xf
25645- ARPHRD_ECONET = 0x30e
25646- ARPHRD_EETHER = 0x2
25647- ARPHRD_ETHER = 0x1
25648- ARPHRD_EUI64 = 0x1b
25649- ARPHRD_FCAL = 0x311
25650- ARPHRD_FCFABRIC = 0x313
25651- ARPHRD_FCPL = 0x312
25652- ARPHRD_FCPP = 0x310
25653- ARPHRD_FDDI = 0x306
25654- ARPHRD_FRAD = 0x302
25655- ARPHRD_HDLC = 0x201
25656- ARPHRD_HIPPI = 0x30c
25657- ARPHRD_HWX25 = 0x110
25658- ARPHRD_IEEE1394 = 0x18
25659- ARPHRD_IEEE802 = 0x6
25660- ARPHRD_IEEE80211 = 0x321
25661- ARPHRD_IEEE80211_PRISM = 0x322
25662- ARPHRD_IEEE80211_RADIOTAP = 0x323
25663- ARPHRD_IEEE802154 = 0x324
25664- ARPHRD_IEEE802154_MONITOR = 0x325
25665- ARPHRD_IEEE802_TR = 0x320
25666- ARPHRD_INFINIBAND = 0x20
25667- ARPHRD_IP6GRE = 0x337
25668- ARPHRD_IPDDP = 0x309
25669- ARPHRD_IPGRE = 0x30a
25670- ARPHRD_IRDA = 0x30f
25671- ARPHRD_LAPB = 0x204
25672- ARPHRD_LOCALTLK = 0x305
25673- ARPHRD_LOOPBACK = 0x304
25674- ARPHRD_METRICOM = 0x17
25675- ARPHRD_NETLINK = 0x338
25676- ARPHRD_NETROM = 0x0
25677- ARPHRD_NONE = 0xfffe
25678- ARPHRD_PHONET = 0x334
25679- ARPHRD_PHONET_PIPE = 0x335
25680- ARPHRD_PIMREG = 0x30b
25681- ARPHRD_PPP = 0x200
25682- ARPHRD_PRONET = 0x4
25683- ARPHRD_RAWHDLC = 0x206
25684- ARPHRD_ROSE = 0x10e
25685- ARPHRD_RSRVD = 0x104
25686- ARPHRD_SIT = 0x308
25687- ARPHRD_SKIP = 0x303
25688- ARPHRD_SLIP = 0x100
25689- ARPHRD_SLIP6 = 0x102
25690- ARPHRD_TUNNEL = 0x300
25691- ARPHRD_TUNNEL6 = 0x301
25692- ARPHRD_VOID = 0xffff
25693- ARPHRD_X25 = 0x10f
25694- B0 = 0x0
25695- B1000000 = 0x1008
25696- B110 = 0x3
25697- B115200 = 0x1002
25698- B1152000 = 0x1009
25699- B1200 = 0x9
25700- B134 = 0x4
25701- B150 = 0x5
25702- B1500000 = 0x100a
25703- B1800 = 0xa
25704- B19200 = 0xe
25705- B200 = 0x6
25706- B2000000 = 0x100b
25707- B230400 = 0x1003
25708- B2400 = 0xb
25709- B2500000 = 0x100c
25710- B300 = 0x7
25711- B3000000 = 0x100d
25712- B3500000 = 0x100e
25713- B38400 = 0xf
25714- B4000000 = 0x100f
25715- B460800 = 0x1004
25716- B4800 = 0xc
25717- B50 = 0x1
25718- B500000 = 0x1005
25719- B57600 = 0x1001
25720- B576000 = 0x1006
25721- B600 = 0x8
25722- B75 = 0x2
25723- B921600 = 0x1007
25724- B9600 = 0xd
25725- BLKBSZGET = 0x80041270
25726- BLKBSZSET = 0x40041271
25727- BLKFLSBUF = 0x1261
25728- BLKFRAGET = 0x1265
25729- BLKFRASET = 0x1264
25730- BLKGETSIZE = 0x1260
25731- BLKGETSIZE64 = 0x80041272
25732- BLKPBSZGET = 0x127b
25733- BLKRAGET = 0x1263
25734- BLKRASET = 0x1262
25735- BLKROGET = 0x125e
25736- BLKROSET = 0x125d
25737- BLKRRPART = 0x125f
25738- BLKSECTGET = 0x1267
25739- BLKSECTSET = 0x1266
25740- BLKSSZGET = 0x1268
25741- BOTHER = 0x1000
25742- BPF_A = 0x10
25743- BPF_ABS = 0x20
25744- BPF_ADD = 0x0
25745- BPF_ALU = 0x4
25746- BPF_AND = 0x50
25747- BPF_B = 0x10
25748- BPF_DIV = 0x30
25749- BPF_H = 0x8
25750- BPF_IMM = 0x0
25751- BPF_IND = 0x40
25752- BPF_JA = 0x0
25753- BPF_JEQ = 0x10
25754- BPF_JGE = 0x30
25755- BPF_JGT = 0x20
25756- BPF_JMP = 0x5
25757- BPF_JSET = 0x40
25758- BPF_K = 0x0
25759- BPF_LD = 0x0
25760- BPF_LDX = 0x1
25761- BPF_LEN = 0x80
25762- BPF_LL_OFF = -0x200000
25763- BPF_LSH = 0x60
25764- BPF_MAJOR_VERSION = 0x1
25765- BPF_MAXINSNS = 0x1000
25766- BPF_MEM = 0x60
25767- BPF_MEMWORDS = 0x10
25768- BPF_MINOR_VERSION = 0x1
25769- BPF_MISC = 0x7
25770- BPF_MOD = 0x90
25771- BPF_MSH = 0xa0
25772- BPF_MUL = 0x20
25773- BPF_NEG = 0x80
25774- BPF_NET_OFF = -0x100000
25775- BPF_OR = 0x40
25776- BPF_RET = 0x6
25777- BPF_RSH = 0x70
25778- BPF_ST = 0x2
25779- BPF_STX = 0x3
25780- BPF_SUB = 0x10
25781- BPF_TAX = 0x0
25782- BPF_TXA = 0x80
25783- BPF_W = 0x0
25784- BPF_X = 0x8
25785- BPF_XOR = 0xa0
25786- BRKINT = 0x2
25787- BS0 = 0x0
25788- BS1 = 0x2000
25789- BSDLY = 0x2000
25790- CAN_BCM = 0x2
25791- CAN_EFF_FLAG = 0x80000000
25792- CAN_EFF_ID_BITS = 0x1d
25793- CAN_EFF_MASK = 0x1fffffff
25794- CAN_ERR_FLAG = 0x20000000
25795- CAN_ERR_MASK = 0x1fffffff
25796- CAN_INV_FILTER = 0x20000000
25797- CAN_ISOTP = 0x6
25798- CAN_MAX_DLC = 0x8
25799- CAN_MAX_DLEN = 0x8
25800- CAN_MCNET = 0x5
25801- CAN_MTU = 0x10
25802- CAN_NPROTO = 0x7
25803- CAN_RAW = 0x1
25804- CAN_RAW_FILTER_MAX = 0x200
25805- CAN_RTR_FLAG = 0x40000000
25806- CAN_SFF_ID_BITS = 0xb
25807- CAN_SFF_MASK = 0x7ff
25808- CAN_TP16 = 0x3
25809- CAN_TP20 = 0x4
25810- CBAUD = 0x100f
25811- CBAUDEX = 0x1000
25812- CFLUSH = 0xf
25813- CIBAUD = 0x100f0000
25814- CLOCAL = 0x800
25815- CLOCK_BOOTTIME = 0x7
25816- CLOCK_BOOTTIME_ALARM = 0x9
25817- CLOCK_DEFAULT = 0x0
25818- CLOCK_EXT = 0x1
25819- CLOCK_INT = 0x2
25820- CLOCK_MONOTONIC = 0x1
25821- CLOCK_MONOTONIC_COARSE = 0x6
25822- CLOCK_MONOTONIC_RAW = 0x4
25823- CLOCK_PROCESS_CPUTIME_ID = 0x2
25824- CLOCK_REALTIME = 0x0
25825- CLOCK_REALTIME_ALARM = 0x8
25826- CLOCK_REALTIME_COARSE = 0x5
25827- CLOCK_TAI = 0xb
25828- CLOCK_THREAD_CPUTIME_ID = 0x3
25829- CLOCK_TXFROMRX = 0x4
25830- CLOCK_TXINT = 0x3
25831- CLONE_CHILD_CLEARTID = 0x200000
25832- CLONE_CHILD_SETTID = 0x1000000
25833- CLONE_DETACHED = 0x400000
25834- CLONE_FILES = 0x400
25835- CLONE_FS = 0x200
25836- CLONE_IO = 0x80000000
25837- CLONE_NEWCGROUP = 0x2000000
25838- CLONE_NEWIPC = 0x8000000
25839- CLONE_NEWNET = 0x40000000
25840- CLONE_NEWNS = 0x20000
25841- CLONE_NEWPID = 0x20000000
25842- CLONE_NEWUSER = 0x10000000
25843- CLONE_NEWUTS = 0x4000000
25844- CLONE_PARENT = 0x8000
25845- CLONE_PARENT_SETTID = 0x100000
25846- CLONE_PTRACE = 0x2000
25847- CLONE_SETTLS = 0x80000
25848- CLONE_SIGHAND = 0x800
25849- CLONE_SYSVSEM = 0x40000
25850- CLONE_THREAD = 0x10000
25851- CLONE_UNTRACED = 0x800000
25852- CLONE_VFORK = 0x4000
25853- CLONE_VM = 0x100
25854- CMSPAR = 0x40000000
25855- CR0 = 0x0
25856- CR1 = 0x200
25857- CR2 = 0x400
25858- CR3 = 0x600
25859- CRDLY = 0x600
25860- CREAD = 0x80
25861- CRTSCTS = 0x80000000
25862- CS5 = 0x0
25863- CS6 = 0x10
25864- CS7 = 0x20
25865- CS8 = 0x30
25866- CSIGNAL = 0xff
25867- CSIZE = 0x30
25868- CSTART = 0x11
25869- CSTATUS = 0x0
25870- CSTOP = 0x13
25871- CSTOPB = 0x40
25872- CSUSP = 0x1a
25873- DT_BLK = 0x6
25874- DT_CHR = 0x2
25875- DT_DIR = 0x4
25876- DT_FIFO = 0x1
25877- DT_LNK = 0xa
25878- DT_REG = 0x8
25879- DT_SOCK = 0xc
25880- DT_UNKNOWN = 0x0
25881- DT_WHT = 0xe
25882- ECHO = 0x8
25883- ECHOCTL = 0x200
25884- ECHOE = 0x10
25885- ECHOK = 0x20
25886- ECHOKE = 0x800
25887- ECHONL = 0x40
25888- ECHOPRT = 0x400
25889- EFD_CLOEXEC = 0x80000
25890- EFD_NONBLOCK = 0x800
25891- EFD_SEMAPHORE = 0x1
25892- ENCODING_DEFAULT = 0x0
25893- ENCODING_FM_MARK = 0x3
25894- ENCODING_FM_SPACE = 0x4
25895- ENCODING_MANCHESTER = 0x5
25896- ENCODING_NRZ = 0x1
25897- ENCODING_NRZI = 0x2
25898- EPOLLERR = 0x8
25899- EPOLLET = 0x80000000
25900- EPOLLEXCLUSIVE = 0x10000000
25901- EPOLLHUP = 0x10
25902- EPOLLIN = 0x1
25903- EPOLLMSG = 0x400
25904- EPOLLONESHOT = 0x40000000
25905- EPOLLOUT = 0x4
25906- EPOLLPRI = 0x2
25907- EPOLLRDBAND = 0x80
25908- EPOLLRDHUP = 0x2000
25909- EPOLLRDNORM = 0x40
25910- EPOLLWAKEUP = 0x20000000
25911- EPOLLWRBAND = 0x200
25912- EPOLLWRNORM = 0x100
25913- EPOLL_CLOEXEC = 0x80000
25914- EPOLL_CTL_ADD = 0x1
25915- EPOLL_CTL_DEL = 0x2
25916- EPOLL_CTL_MOD = 0x3
25917- ETH_P_1588 = 0x88f7
25918- ETH_P_8021AD = 0x88a8
25919- ETH_P_8021AH = 0x88e7
25920- ETH_P_8021Q = 0x8100
25921- ETH_P_80221 = 0x8917
25922- ETH_P_802_2 = 0x4
25923- ETH_P_802_3 = 0x1
25924- ETH_P_802_3_MIN = 0x600
25925- ETH_P_802_EX1 = 0x88b5
25926- ETH_P_AARP = 0x80f3
25927- ETH_P_AF_IUCV = 0xfbfb
25928- ETH_P_ALL = 0x3
25929- ETH_P_AOE = 0x88a2
25930- ETH_P_ARCNET = 0x1a
25931- ETH_P_ARP = 0x806
25932- ETH_P_ATALK = 0x809b
25933- ETH_P_ATMFATE = 0x8884
25934- ETH_P_ATMMPOA = 0x884c
25935- ETH_P_AX25 = 0x2
25936- ETH_P_BATMAN = 0x4305
25937- ETH_P_BPQ = 0x8ff
25938- ETH_P_CAIF = 0xf7
25939- ETH_P_CAN = 0xc
25940- ETH_P_CANFD = 0xd
25941- ETH_P_CONTROL = 0x16
25942- ETH_P_CUST = 0x6006
25943- ETH_P_DDCMP = 0x6
25944- ETH_P_DEC = 0x6000
25945- ETH_P_DIAG = 0x6005
25946- ETH_P_DNA_DL = 0x6001
25947- ETH_P_DNA_RC = 0x6002
25948- ETH_P_DNA_RT = 0x6003
25949- ETH_P_DSA = 0x1b
25950- ETH_P_ECONET = 0x18
25951- ETH_P_EDSA = 0xdada
25952- ETH_P_FCOE = 0x8906
25953- ETH_P_FIP = 0x8914
25954- ETH_P_HDLC = 0x19
25955- ETH_P_HSR = 0x892f
25956- ETH_P_IEEE802154 = 0xf6
25957- ETH_P_IEEEPUP = 0xa00
25958- ETH_P_IEEEPUPAT = 0xa01
25959- ETH_P_IP = 0x800
25960- ETH_P_IPV6 = 0x86dd
25961- ETH_P_IPX = 0x8137
25962- ETH_P_IRDA = 0x17
25963- ETH_P_LAT = 0x6004
25964- ETH_P_LINK_CTL = 0x886c
25965- ETH_P_LOCALTALK = 0x9
25966- ETH_P_LOOP = 0x60
25967- ETH_P_LOOPBACK = 0x9000
25968- ETH_P_MACSEC = 0x88e5
25969- ETH_P_MOBITEX = 0x15
25970- ETH_P_MPLS_MC = 0x8848
25971- ETH_P_MPLS_UC = 0x8847
25972- ETH_P_MVRP = 0x88f5
25973- ETH_P_NCSI = 0x88f8
25974- ETH_P_PAE = 0x888e
25975- ETH_P_PAUSE = 0x8808
25976- ETH_P_PHONET = 0xf5
25977- ETH_P_PPPTALK = 0x10
25978- ETH_P_PPP_DISC = 0x8863
25979- ETH_P_PPP_MP = 0x8
25980- ETH_P_PPP_SES = 0x8864
25981- ETH_P_PRP = 0x88fb
25982- ETH_P_PUP = 0x200
25983- ETH_P_PUPAT = 0x201
25984- ETH_P_QINQ1 = 0x9100
25985- ETH_P_QINQ2 = 0x9200
25986- ETH_P_QINQ3 = 0x9300
25987- ETH_P_RARP = 0x8035
25988- ETH_P_SCA = 0x6007
25989- ETH_P_SLOW = 0x8809
25990- ETH_P_SNAP = 0x5
25991- ETH_P_TDLS = 0x890d
25992- ETH_P_TEB = 0x6558
25993- ETH_P_TIPC = 0x88ca
25994- ETH_P_TRAILER = 0x1c
25995- ETH_P_TR_802_2 = 0x11
25996- ETH_P_TSN = 0x22f0
25997- ETH_P_WAN_PPP = 0x7
25998- ETH_P_WCCP = 0x883e
25999- ETH_P_X25 = 0x805
26000- ETH_P_XDSA = 0xf8
26001- EXTA = 0xe
26002- EXTB = 0xf
26003- EXTPROC = 0x10000
26004- FALLOC_FL_COLLAPSE_RANGE = 0x8
26005- FALLOC_FL_INSERT_RANGE = 0x20
26006- FALLOC_FL_KEEP_SIZE = 0x1
26007- FALLOC_FL_NO_HIDE_STALE = 0x4
26008- FALLOC_FL_PUNCH_HOLE = 0x2
26009- FALLOC_FL_UNSHARE_RANGE = 0x40
26010- FALLOC_FL_ZERO_RANGE = 0x10
26011- FD_CLOEXEC = 0x1
26012- FD_SETSIZE = 0x400
26013- FF0 = 0x0
26014- FF1 = 0x8000
26015- FFDLY = 0x8000
26016- FLUSHO = 0x1000
26017- FS_ENCRYPTION_MODE_AES_256_CBC = 0x3
26018- FS_ENCRYPTION_MODE_AES_256_CTS = 0x4
26019- FS_ENCRYPTION_MODE_AES_256_GCM = 0x2
26020- FS_ENCRYPTION_MODE_AES_256_XTS = 0x1
26021- FS_ENCRYPTION_MODE_INVALID = 0x0
26022- FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615
26023- FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614
26024- FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613
26025- FS_KEY_DESCRIPTOR_SIZE = 0x8
26026- FS_KEY_DESC_PREFIX = "fscrypt:"
26027- FS_KEY_DESC_PREFIX_SIZE = 0x8
26028- FS_MAX_KEY_SIZE = 0x40
26029- FS_POLICY_FLAGS_PAD_16 = 0x2
26030- FS_POLICY_FLAGS_PAD_32 = 0x3
26031- FS_POLICY_FLAGS_PAD_4 = 0x0
26032- FS_POLICY_FLAGS_PAD_8 = 0x1
26033- FS_POLICY_FLAGS_PAD_MASK = 0x3
26034- FS_POLICY_FLAGS_VALID = 0x3
26035- F_DUPFD = 0x0
26036- F_DUPFD_CLOEXEC = 0x406
26037- F_EXLCK = 0x4
26038- F_GETFD = 0x1
26039- F_GETFL = 0x3
26040- F_GETLEASE = 0x401
26041- F_GETLK = 0xc
26042- F_GETLK64 = 0xc
26043- F_GETOWN = 0x9
26044- F_GETOWN_EX = 0x10
26045- F_GETPIPE_SZ = 0x408
26046- F_GETSIG = 0xb
26047- F_LOCK = 0x1
26048- F_NOTIFY = 0x402
26049- F_OFD_GETLK = 0x24
26050- F_OFD_SETLK = 0x25
26051- F_OFD_SETLKW = 0x26
26052- F_OK = 0x0
26053- F_RDLCK = 0x0
26054- F_SETFD = 0x2
26055- F_SETFL = 0x4
26056- F_SETLEASE = 0x400
26057- F_SETLK = 0xd
26058- F_SETLK64 = 0xd
26059- F_SETLKW = 0xe
26060- F_SETLKW64 = 0xe
26061- F_SETOWN = 0x8
26062- F_SETOWN_EX = 0xf
26063- F_SETPIPE_SZ = 0x407
26064- F_SETSIG = 0xa
26065- F_SHLCK = 0x8
26066- F_TEST = 0x3
26067- F_TLOCK = 0x2
26068- F_ULOCK = 0x0
26069- F_UNLCK = 0x2
26070- F_WRLCK = 0x1
26071- GENL_ADMIN_PERM = 0x1
26072- GENL_CMD_CAP_DO = 0x2
26073- GENL_CMD_CAP_DUMP = 0x4
26074- GENL_CMD_CAP_HASPOL = 0x8
26075- GENL_HDRLEN = 0x4
26076- GENL_ID_CTRL = 0x10
26077- GENL_ID_PMCRAID = 0x12
26078- GENL_ID_VFS_DQUOT = 0x11
26079- GENL_MAX_ID = 0x3ff
26080- GENL_MIN_ID = 0x10
26081- GENL_NAMSIZ = 0x10
26082- GENL_START_ALLOC = 0x13
26083- GENL_UNS_ADMIN_PERM = 0x10
26084- GRND_NONBLOCK = 0x1
26085- GRND_RANDOM = 0x2
26086- HUPCL = 0x400
26087- IBSHIFT = 0x10
26088- ICANON = 0x2
26089- ICMPV6_FILTER = 0x1
26090- ICRNL = 0x100
26091- IEXTEN = 0x8000
26092- IFA_F_DADFAILED = 0x8
26093- IFA_F_DEPRECATED = 0x20
26094- IFA_F_HOMEADDRESS = 0x10
26095- IFA_F_MANAGETEMPADDR = 0x100
26096- IFA_F_MCAUTOJOIN = 0x400
26097- IFA_F_NODAD = 0x2
26098- IFA_F_NOPREFIXROUTE = 0x200
26099- IFA_F_OPTIMISTIC = 0x4
26100- IFA_F_PERMANENT = 0x80
26101- IFA_F_SECONDARY = 0x1
26102- IFA_F_STABLE_PRIVACY = 0x800
26103- IFA_F_TEMPORARY = 0x1
26104- IFA_F_TENTATIVE = 0x40
26105- IFA_MAX = 0x8
26106- IFF_ALLMULTI = 0x200
26107- IFF_ATTACH_QUEUE = 0x200
26108- IFF_AUTOMEDIA = 0x4000
26109- IFF_BROADCAST = 0x2
26110- IFF_DEBUG = 0x4
26111- IFF_DETACH_QUEUE = 0x400
26112- IFF_DORMANT = 0x20000
26113- IFF_DYNAMIC = 0x8000
26114- IFF_ECHO = 0x40000
26115- IFF_LOOPBACK = 0x8
26116- IFF_LOWER_UP = 0x10000
26117- IFF_MASTER = 0x400
26118- IFF_MULTICAST = 0x1000
26119- IFF_MULTI_QUEUE = 0x100
26120- IFF_NOARP = 0x80
26121- IFF_NOFILTER = 0x1000
26122- IFF_NOTRAILERS = 0x20
26123- IFF_NO_PI = 0x1000
26124- IFF_ONE_QUEUE = 0x2000
26125- IFF_PERSIST = 0x800
26126- IFF_POINTOPOINT = 0x10
26127- IFF_PORTSEL = 0x2000
26128- IFF_PROMISC = 0x100
26129- IFF_RUNNING = 0x40
26130- IFF_SLAVE = 0x800
26131- IFF_TAP = 0x2
26132- IFF_TUN = 0x1
26133- IFF_TUN_EXCL = 0x8000
26134- IFF_UP = 0x1
26135- IFF_VNET_HDR = 0x4000
26136- IFF_VOLATILE = 0x70c5a
26137- IFNAMSIZ = 0x10
26138- IGNBRK = 0x1
26139- IGNCR = 0x80
26140- IGNPAR = 0x4
26141- IMAXBEL = 0x2000
26142- INLCR = 0x40
26143- INPCK = 0x10
26144- IN_ACCESS = 0x1
26145- IN_ALL_EVENTS = 0xfff
26146- IN_ATTRIB = 0x4
26147- IN_CLASSA_HOST = 0xffffff
26148- IN_CLASSA_MAX = 0x80
26149- IN_CLASSA_NET = 0xff000000
26150- IN_CLASSA_NSHIFT = 0x18
26151- IN_CLASSB_HOST = 0xffff
26152- IN_CLASSB_MAX = 0x10000
26153- IN_CLASSB_NET = 0xffff0000
26154- IN_CLASSB_NSHIFT = 0x10
26155- IN_CLASSC_HOST = 0xff
26156- IN_CLASSC_NET = 0xffffff00
26157- IN_CLASSC_NSHIFT = 0x8
26158- IN_CLOEXEC = 0x80000
26159- IN_CLOSE = 0x18
26160- IN_CLOSE_NOWRITE = 0x10
26161- IN_CLOSE_WRITE = 0x8
26162- IN_CREATE = 0x100
26163- IN_DELETE = 0x200
26164- IN_DELETE_SELF = 0x400
26165- IN_DONT_FOLLOW = 0x2000000
26166- IN_EXCL_UNLINK = 0x4000000
26167- IN_IGNORED = 0x8000
26168- IN_ISDIR = 0x40000000
26169- IN_LOOPBACKNET = 0x7f
26170- IN_MASK_ADD = 0x20000000
26171- IN_MODIFY = 0x2
26172- IN_MOVE = 0xc0
26173- IN_MOVED_FROM = 0x40
26174- IN_MOVED_TO = 0x80
26175- IN_MOVE_SELF = 0x800
26176- IN_NONBLOCK = 0x800
26177- IN_ONESHOT = 0x80000000
26178- IN_ONLYDIR = 0x1000000
26179- IN_OPEN = 0x20
26180- IN_Q_OVERFLOW = 0x4000
26181- IN_UNMOUNT = 0x2000
26182- IPPROTO_AH = 0x33
26183- IPPROTO_BEETPH = 0x5e
26184- IPPROTO_COMP = 0x6c
26185- IPPROTO_DCCP = 0x21
26186- IPPROTO_DSTOPTS = 0x3c
26187- IPPROTO_EGP = 0x8
26188- IPPROTO_ENCAP = 0x62
26189- IPPROTO_ESP = 0x32
26190- IPPROTO_FRAGMENT = 0x2c
26191- IPPROTO_GRE = 0x2f
26192- IPPROTO_HOPOPTS = 0x0
26193- IPPROTO_ICMP = 0x1
26194- IPPROTO_ICMPV6 = 0x3a
26195- IPPROTO_IDP = 0x16
26196- IPPROTO_IGMP = 0x2
26197- IPPROTO_IP = 0x0
26198- IPPROTO_IPIP = 0x4
26199- IPPROTO_IPV6 = 0x29
26200- IPPROTO_MH = 0x87
26201- IPPROTO_MPLS = 0x89
26202- IPPROTO_MTP = 0x5c
26203- IPPROTO_NONE = 0x3b
26204- IPPROTO_PIM = 0x67
26205- IPPROTO_PUP = 0xc
26206- IPPROTO_RAW = 0xff
26207- IPPROTO_ROUTING = 0x2b
26208- IPPROTO_RSVP = 0x2e
26209- IPPROTO_SCTP = 0x84
26210- IPPROTO_TCP = 0x6
26211- IPPROTO_TP = 0x1d
26212- IPPROTO_UDP = 0x11
26213- IPPROTO_UDPLITE = 0x88
26214- IPV6_2292DSTOPTS = 0x4
26215- IPV6_2292HOPLIMIT = 0x8
26216- IPV6_2292HOPOPTS = 0x3
26217- IPV6_2292PKTINFO = 0x2
26218- IPV6_2292PKTOPTIONS = 0x6
26219- IPV6_2292RTHDR = 0x5
26220- IPV6_ADDRFORM = 0x1
26221- IPV6_ADD_MEMBERSHIP = 0x14
26222- IPV6_AUTHHDR = 0xa
26223- IPV6_CHECKSUM = 0x7
26224- IPV6_DONTFRAG = 0x3e
26225- IPV6_DROP_MEMBERSHIP = 0x15
26226- IPV6_DSTOPTS = 0x3b
26227- IPV6_HDRINCL = 0x24
26228- IPV6_HOPLIMIT = 0x34
26229- IPV6_HOPOPTS = 0x36
26230- IPV6_IPSEC_POLICY = 0x22
26231- IPV6_JOIN_ANYCAST = 0x1b
26232- IPV6_JOIN_GROUP = 0x14
26233- IPV6_LEAVE_ANYCAST = 0x1c
26234- IPV6_LEAVE_GROUP = 0x15
26235- IPV6_MTU = 0x18
26236- IPV6_MTU_DISCOVER = 0x17
26237- IPV6_MULTICAST_HOPS = 0x12
26238- IPV6_MULTICAST_IF = 0x11
26239- IPV6_MULTICAST_LOOP = 0x13
26240- IPV6_NEXTHOP = 0x9
26241- IPV6_PATHMTU = 0x3d
26242- IPV6_PKTINFO = 0x32
26243- IPV6_PMTUDISC_DO = 0x2
26244- IPV6_PMTUDISC_DONT = 0x0
26245- IPV6_PMTUDISC_INTERFACE = 0x4
26246- IPV6_PMTUDISC_OMIT = 0x5
26247- IPV6_PMTUDISC_PROBE = 0x3
26248- IPV6_PMTUDISC_WANT = 0x1
26249- IPV6_RECVDSTOPTS = 0x3a
26250- IPV6_RECVERR = 0x19
26251- IPV6_RECVHOPLIMIT = 0x33
26252- IPV6_RECVHOPOPTS = 0x35
26253- IPV6_RECVPATHMTU = 0x3c
26254- IPV6_RECVPKTINFO = 0x31
26255- IPV6_RECVRTHDR = 0x38
26256- IPV6_RECVTCLASS = 0x42
26257- IPV6_ROUTER_ALERT = 0x16
26258- IPV6_RTHDR = 0x39
26259- IPV6_RTHDRDSTOPTS = 0x37
26260- IPV6_RTHDR_LOOSE = 0x0
26261- IPV6_RTHDR_STRICT = 0x1
26262- IPV6_RTHDR_TYPE_0 = 0x0
26263- IPV6_RXDSTOPTS = 0x3b
26264- IPV6_RXHOPOPTS = 0x36
26265- IPV6_TCLASS = 0x43
26266- IPV6_UNICAST_HOPS = 0x10
26267- IPV6_V6ONLY = 0x1a
26268- IPV6_XFRM_POLICY = 0x23
26269- IP_ADD_MEMBERSHIP = 0x23
26270- IP_ADD_SOURCE_MEMBERSHIP = 0x27
26271- IP_BIND_ADDRESS_NO_PORT = 0x18
26272- IP_BLOCK_SOURCE = 0x26
26273- IP_CHECKSUM = 0x17
26274- IP_DEFAULT_MULTICAST_LOOP = 0x1
26275- IP_DEFAULT_MULTICAST_TTL = 0x1
26276- IP_DF = 0x4000
26277- IP_DROP_MEMBERSHIP = 0x24
26278- IP_DROP_SOURCE_MEMBERSHIP = 0x28
26279- IP_FREEBIND = 0xf
26280- IP_HDRINCL = 0x3
26281- IP_IPSEC_POLICY = 0x10
26282- IP_MAXPACKET = 0xffff
26283- IP_MAX_MEMBERSHIPS = 0x14
26284- IP_MF = 0x2000
26285- IP_MINTTL = 0x15
26286- IP_MSFILTER = 0x29
26287- IP_MSS = 0x240
26288- IP_MTU = 0xe
26289- IP_MTU_DISCOVER = 0xa
26290- IP_MULTICAST_ALL = 0x31
26291- IP_MULTICAST_IF = 0x20
26292- IP_MULTICAST_LOOP = 0x22
26293- IP_MULTICAST_TTL = 0x21
26294- IP_NODEFRAG = 0x16
26295- IP_OFFMASK = 0x1fff
26296- IP_OPTIONS = 0x4
26297- IP_ORIGDSTADDR = 0x14
26298- IP_PASSSEC = 0x12
26299- IP_PKTINFO = 0x8
26300- IP_PKTOPTIONS = 0x9
26301- IP_PMTUDISC = 0xa
26302- IP_PMTUDISC_DO = 0x2
26303- IP_PMTUDISC_DONT = 0x0
26304- IP_PMTUDISC_INTERFACE = 0x4
26305- IP_PMTUDISC_OMIT = 0x5
26306- IP_PMTUDISC_PROBE = 0x3
26307- IP_PMTUDISC_WANT = 0x1
26308- IP_RECVERR = 0xb
26309- IP_RECVOPTS = 0x6
26310- IP_RECVORIGDSTADDR = 0x14
26311- IP_RECVRETOPTS = 0x7
26312- IP_RECVTOS = 0xd
26313- IP_RECVTTL = 0xc
26314- IP_RETOPTS = 0x7
26315- IP_RF = 0x8000
26316- IP_ROUTER_ALERT = 0x5
26317- IP_TOS = 0x1
26318- IP_TRANSPARENT = 0x13
26319- IP_TTL = 0x2
26320- IP_UNBLOCK_SOURCE = 0x25
26321- IP_UNICAST_IF = 0x32
26322- IP_XFRM_POLICY = 0x11
26323- ISIG = 0x1
26324- ISTRIP = 0x20
26325- IUCLC = 0x200
26326- IUTF8 = 0x4000
26327- IXANY = 0x800
26328- IXOFF = 0x1000
26329- IXON = 0x400
26330- KEYCTL_ASSUME_AUTHORITY = 0x10
26331- KEYCTL_CHOWN = 0x4
26332- KEYCTL_CLEAR = 0x7
26333- KEYCTL_DESCRIBE = 0x6
26334- KEYCTL_DH_COMPUTE = 0x17
26335- KEYCTL_GET_KEYRING_ID = 0x0
26336- KEYCTL_GET_PERSISTENT = 0x16
26337- KEYCTL_GET_SECURITY = 0x11
26338- KEYCTL_INSTANTIATE = 0xc
26339- KEYCTL_INSTANTIATE_IOV = 0x14
26340- KEYCTL_INVALIDATE = 0x15
26341- KEYCTL_JOIN_SESSION_KEYRING = 0x1
26342- KEYCTL_LINK = 0x8
26343- KEYCTL_NEGATE = 0xd
26344- KEYCTL_READ = 0xb
26345- KEYCTL_REJECT = 0x13
26346- KEYCTL_REVOKE = 0x3
26347- KEYCTL_SEARCH = 0xa
26348- KEYCTL_SESSION_TO_PARENT = 0x12
26349- KEYCTL_SETPERM = 0x5
26350- KEYCTL_SET_REQKEY_KEYRING = 0xe
26351- KEYCTL_SET_TIMEOUT = 0xf
26352- KEYCTL_UNLINK = 0x9
26353- KEYCTL_UPDATE = 0x2
26354- KEY_REQKEY_DEFL_DEFAULT = 0x0
26355- KEY_REQKEY_DEFL_GROUP_KEYRING = 0x6
26356- KEY_REQKEY_DEFL_NO_CHANGE = -0x1
26357- KEY_REQKEY_DEFL_PROCESS_KEYRING = 0x2
26358- KEY_REQKEY_DEFL_REQUESTOR_KEYRING = 0x7
26359- KEY_REQKEY_DEFL_SESSION_KEYRING = 0x3
26360- KEY_REQKEY_DEFL_THREAD_KEYRING = 0x1
26361- KEY_REQKEY_DEFL_USER_KEYRING = 0x4
26362- KEY_REQKEY_DEFL_USER_SESSION_KEYRING = 0x5
26363- KEY_SPEC_GROUP_KEYRING = -0x6
26364- KEY_SPEC_PROCESS_KEYRING = -0x2
26365- KEY_SPEC_REQKEY_AUTH_KEY = -0x7
26366- KEY_SPEC_REQUESTOR_KEYRING = -0x8
26367- KEY_SPEC_SESSION_KEYRING = -0x3
26368- KEY_SPEC_THREAD_KEYRING = -0x1
26369- KEY_SPEC_USER_KEYRING = -0x4
26370- KEY_SPEC_USER_SESSION_KEYRING = -0x5
26371- LINUX_REBOOT_CMD_CAD_OFF = 0x0
26372- LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
26373- LINUX_REBOOT_CMD_HALT = 0xcdef0123
26374- LINUX_REBOOT_CMD_KEXEC = 0x45584543
26375- LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
26376- LINUX_REBOOT_CMD_RESTART = 0x1234567
26377- LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
26378- LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
26379- LINUX_REBOOT_MAGIC1 = 0xfee1dead
26380- LINUX_REBOOT_MAGIC2 = 0x28121969
26381- LOCK_EX = 0x2
26382- LOCK_NB = 0x4
26383- LOCK_SH = 0x1
26384- LOCK_UN = 0x8
26385- MADV_DODUMP = 0x11
26386- MADV_DOFORK = 0xb
26387- MADV_DONTDUMP = 0x10
26388- MADV_DONTFORK = 0xa
26389- MADV_DONTNEED = 0x4
26390- MADV_FREE = 0x8
26391- MADV_HUGEPAGE = 0xe
26392- MADV_HWPOISON = 0x64
26393- MADV_MERGEABLE = 0xc
26394- MADV_NOHUGEPAGE = 0xf
26395- MADV_NORMAL = 0x0
26396- MADV_RANDOM = 0x1
26397- MADV_REMOVE = 0x9
26398- MADV_SEQUENTIAL = 0x2
26399- MADV_UNMERGEABLE = 0xd
26400- MADV_WILLNEED = 0x3
26401- MAP_32BIT = 0x40
26402- MAP_ANON = 0x20
26403- MAP_ANONYMOUS = 0x20
26404- MAP_DENYWRITE = 0x800
26405- MAP_EXECUTABLE = 0x1000
26406- MAP_FILE = 0x0
26407- MAP_FIXED = 0x10
26408- MAP_GROWSDOWN = 0x100
26409- MAP_HUGETLB = 0x40000
26410- MAP_HUGE_MASK = 0x3f
26411- MAP_HUGE_SHIFT = 0x1a
26412- MAP_LOCKED = 0x2000
26413- MAP_NONBLOCK = 0x10000
26414- MAP_NORESERVE = 0x4000
26415- MAP_POPULATE = 0x8000
26416- MAP_PRIVATE = 0x2
26417- MAP_SHARED = 0x1
26418- MAP_STACK = 0x20000
26419- MAP_TYPE = 0xf
26420- MCL_CURRENT = 0x1
26421- MCL_FUTURE = 0x2
26422- MCL_ONFAULT = 0x4
26423- MNT_DETACH = 0x2
26424- MNT_EXPIRE = 0x4
26425- MNT_FORCE = 0x1
26426- MSG_BATCH = 0x40000
26427- MSG_CMSG_CLOEXEC = 0x40000000
26428- MSG_CONFIRM = 0x800
26429- MSG_CTRUNC = 0x8
26430- MSG_DONTROUTE = 0x4
26431- MSG_DONTWAIT = 0x40
26432- MSG_EOR = 0x80
26433- MSG_ERRQUEUE = 0x2000
26434- MSG_FASTOPEN = 0x20000000
26435- MSG_FIN = 0x200
26436- MSG_MORE = 0x8000
26437- MSG_NOSIGNAL = 0x4000
26438- MSG_OOB = 0x1
26439- MSG_PEEK = 0x2
26440- MSG_PROXY = 0x10
26441- MSG_RST = 0x1000
26442- MSG_SYN = 0x400
26443- MSG_TRUNC = 0x20
26444- MSG_TRYHARD = 0x4
26445- MSG_WAITALL = 0x100
26446- MSG_WAITFORONE = 0x10000
26447- MS_ACTIVE = 0x40000000
26448- MS_ASYNC = 0x1
26449- MS_BIND = 0x1000
26450- MS_BORN = 0x20000000
26451- MS_DIRSYNC = 0x80
26452- MS_INVALIDATE = 0x2
26453- MS_I_VERSION = 0x800000
26454- MS_KERNMOUNT = 0x400000
26455- MS_LAZYTIME = 0x2000000
26456- MS_MANDLOCK = 0x40
26457- MS_MGC_MSK = 0xffff0000
26458- MS_MGC_VAL = 0xc0ed0000
26459- MS_MOVE = 0x2000
26460- MS_NOATIME = 0x400
26461- MS_NODEV = 0x4
26462- MS_NODIRATIME = 0x800
26463- MS_NOEXEC = 0x8
26464- MS_NOREMOTELOCK = 0x8000000
26465- MS_NOSEC = 0x10000000
26466- MS_NOSUID = 0x2
26467- MS_NOUSER = -0x80000000
26468- MS_POSIXACL = 0x10000
26469- MS_PRIVATE = 0x40000
26470- MS_RDONLY = 0x1
26471- MS_REC = 0x4000
26472- MS_RELATIME = 0x200000
26473- MS_REMOUNT = 0x20
26474- MS_RMT_MASK = 0x2800051
26475- MS_SHARED = 0x100000
26476- MS_SILENT = 0x8000
26477- MS_SLAVE = 0x80000
26478- MS_STRICTATIME = 0x1000000
26479- MS_SYNC = 0x4
26480- MS_SYNCHRONOUS = 0x10
26481- MS_UNBINDABLE = 0x20000
26482- MS_VERBOSE = 0x8000
26483- NAME_MAX = 0xff
26484- NETLINK_ADD_MEMBERSHIP = 0x1
26485- NETLINK_AUDIT = 0x9
26486- NETLINK_BROADCAST_ERROR = 0x4
26487- NETLINK_CAP_ACK = 0xa
26488- NETLINK_CONNECTOR = 0xb
26489- NETLINK_CRYPTO = 0x15
26490- NETLINK_DNRTMSG = 0xe
26491- NETLINK_DROP_MEMBERSHIP = 0x2
26492- NETLINK_ECRYPTFS = 0x13
26493- NETLINK_FIB_LOOKUP = 0xa
26494- NETLINK_FIREWALL = 0x3
26495- NETLINK_GENERIC = 0x10
26496- NETLINK_INET_DIAG = 0x4
26497- NETLINK_IP6_FW = 0xd
26498- NETLINK_ISCSI = 0x8
26499- NETLINK_KOBJECT_UEVENT = 0xf
26500- NETLINK_LISTEN_ALL_NSID = 0x8
26501- NETLINK_LIST_MEMBERSHIPS = 0x9
26502- NETLINK_NETFILTER = 0xc
26503- NETLINK_NFLOG = 0x5
26504- NETLINK_NO_ENOBUFS = 0x5
26505- NETLINK_PKTINFO = 0x3
26506- NETLINK_RDMA = 0x14
26507- NETLINK_ROUTE = 0x0
26508- NETLINK_RX_RING = 0x6
26509- NETLINK_SCSITRANSPORT = 0x12
26510- NETLINK_SELINUX = 0x7
26511- NETLINK_SOCK_DIAG = 0x4
26512- NETLINK_TX_RING = 0x7
26513- NETLINK_UNUSED = 0x1
26514- NETLINK_USERSOCK = 0x2
26515- NETLINK_XFRM = 0x6
26516- NL0 = 0x0
26517- NL1 = 0x100
26518- NLA_ALIGNTO = 0x4
26519- NLA_F_NESTED = 0x8000
26520- NLA_F_NET_BYTEORDER = 0x4000
26521- NLA_HDRLEN = 0x4
26522- NLDLY = 0x100
26523- NLMSG_ALIGNTO = 0x4
26524- NLMSG_DONE = 0x3
26525- NLMSG_ERROR = 0x2
26526- NLMSG_HDRLEN = 0x10
26527- NLMSG_MIN_TYPE = 0x10
26528- NLMSG_NOOP = 0x1
26529- NLMSG_OVERRUN = 0x4
26530- NLM_F_ACK = 0x4
26531- NLM_F_APPEND = 0x800
26532- NLM_F_ATOMIC = 0x400
26533- NLM_F_CREATE = 0x400
26534- NLM_F_DUMP = 0x300
26535- NLM_F_DUMP_FILTERED = 0x20
26536- NLM_F_DUMP_INTR = 0x10
26537- NLM_F_ECHO = 0x8
26538- NLM_F_EXCL = 0x200
26539- NLM_F_MATCH = 0x200
26540- NLM_F_MULTI = 0x2
26541- NLM_F_REPLACE = 0x100
26542- NLM_F_REQUEST = 0x1
26543- NLM_F_ROOT = 0x100
26544- NOFLSH = 0x80
26545- OCRNL = 0x8
26546- OFDEL = 0x80
26547- OFILL = 0x40
26548- OLCUC = 0x2
26549- ONLCR = 0x4
26550- ONLRET = 0x20
26551- ONOCR = 0x10
26552- OPOST = 0x1
26553- O_ACCMODE = 0x3
26554- O_APPEND = 0x400
26555- O_ASYNC = 0x2000
26556- O_CLOEXEC = 0x80000
26557- O_CREAT = 0x40
26558- O_DIRECT = 0x4000
26559- O_DIRECTORY = 0x10000
26560- O_DSYNC = 0x1000
26561- O_EXCL = 0x80
26562- O_FSYNC = 0x101000
26563- O_LARGEFILE = 0x8000
26564- O_NDELAY = 0x800
26565- O_NOATIME = 0x40000
26566- O_NOCTTY = 0x100
26567- O_NOFOLLOW = 0x20000
26568- O_NONBLOCK = 0x800
26569- O_PATH = 0x200000
26570- O_RDONLY = 0x0
26571- O_RDWR = 0x2
26572- O_RSYNC = 0x101000
26573- O_SYNC = 0x101000
26574- O_TMPFILE = 0x410000
26575- O_TRUNC = 0x200
26576- O_WRONLY = 0x1
26577- PACKET_ADD_MEMBERSHIP = 0x1
26578- PACKET_AUXDATA = 0x8
26579- PACKET_BROADCAST = 0x1
26580- PACKET_COPY_THRESH = 0x7
26581- PACKET_DROP_MEMBERSHIP = 0x2
26582- PACKET_FANOUT = 0x12
26583- PACKET_FANOUT_CBPF = 0x6
26584- PACKET_FANOUT_CPU = 0x2
26585- PACKET_FANOUT_DATA = 0x16
26586- PACKET_FANOUT_EBPF = 0x7
26587- PACKET_FANOUT_FLAG_DEFRAG = 0x8000
26588- PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
26589- PACKET_FANOUT_HASH = 0x0
26590- PACKET_FANOUT_LB = 0x1
26591- PACKET_FANOUT_QM = 0x5
26592- PACKET_FANOUT_RND = 0x4
26593- PACKET_FANOUT_ROLLOVER = 0x3
26594- PACKET_FASTROUTE = 0x6
26595- PACKET_HDRLEN = 0xb
26596- PACKET_HOST = 0x0
26597- PACKET_KERNEL = 0x7
26598- PACKET_LOOPBACK = 0x5
26599- PACKET_LOSS = 0xe
26600- PACKET_MR_ALLMULTI = 0x2
26601- PACKET_MR_MULTICAST = 0x0
26602- PACKET_MR_PROMISC = 0x1
26603- PACKET_MR_UNICAST = 0x3
26604- PACKET_MULTICAST = 0x2
26605- PACKET_ORIGDEV = 0x9
26606- PACKET_OTHERHOST = 0x3
26607- PACKET_OUTGOING = 0x4
26608- PACKET_QDISC_BYPASS = 0x14
26609- PACKET_RECV_OUTPUT = 0x3
26610- PACKET_RESERVE = 0xc
26611- PACKET_ROLLOVER_STATS = 0x15
26612- PACKET_RX_RING = 0x5
26613- PACKET_STATISTICS = 0x6
26614- PACKET_TIMESTAMP = 0x11
26615- PACKET_TX_HAS_OFF = 0x13
26616- PACKET_TX_RING = 0xd
26617- PACKET_TX_TIMESTAMP = 0x10
26618- PACKET_USER = 0x6
26619- PACKET_VERSION = 0xa
26620- PACKET_VNET_HDR = 0xf
26621- PARENB = 0x100
26622- PARITY_CRC16_PR0 = 0x2
26623- PARITY_CRC16_PR0_CCITT = 0x4
26624- PARITY_CRC16_PR1 = 0x3
26625- PARITY_CRC16_PR1_CCITT = 0x5
26626- PARITY_CRC32_PR0_CCITT = 0x6
26627- PARITY_CRC32_PR1_CCITT = 0x7
26628- PARITY_DEFAULT = 0x0
26629- PARITY_NONE = 0x1
26630- PARMRK = 0x8
26631- PARODD = 0x200
26632- PENDIN = 0x4000
26633- PERF_EVENT_IOC_DISABLE = 0x2401
26634- PERF_EVENT_IOC_ENABLE = 0x2400
26635- PERF_EVENT_IOC_ID = 0x80042407
26636- PERF_EVENT_IOC_PAUSE_OUTPUT = 0x40042409
26637- PERF_EVENT_IOC_PERIOD = 0x40082404
26638- PERF_EVENT_IOC_REFRESH = 0x2402
26639- PERF_EVENT_IOC_RESET = 0x2403
26640- PERF_EVENT_IOC_SET_BPF = 0x40042408
26641- PERF_EVENT_IOC_SET_FILTER = 0x40042406
26642- PERF_EVENT_IOC_SET_OUTPUT = 0x2405
26643- PRIO_PGRP = 0x1
26644- PRIO_PROCESS = 0x0
26645- PRIO_USER = 0x2
26646- PROT_EXEC = 0x4
26647- PROT_GROWSDOWN = 0x1000000
26648- PROT_GROWSUP = 0x2000000
26649- PROT_NONE = 0x0
26650- PROT_READ = 0x1
26651- PROT_WRITE = 0x2
26652- PR_CAPBSET_DROP = 0x18
26653- PR_CAPBSET_READ = 0x17
26654- PR_CAP_AMBIENT = 0x2f
26655- PR_CAP_AMBIENT_CLEAR_ALL = 0x4
26656- PR_CAP_AMBIENT_IS_SET = 0x1
26657- PR_CAP_AMBIENT_LOWER = 0x3
26658- PR_CAP_AMBIENT_RAISE = 0x2
26659- PR_ENDIAN_BIG = 0x0
26660- PR_ENDIAN_LITTLE = 0x1
26661- PR_ENDIAN_PPC_LITTLE = 0x2
26662- PR_FPEMU_NOPRINT = 0x1
26663- PR_FPEMU_SIGFPE = 0x2
26664- PR_FP_EXC_ASYNC = 0x2
26665- PR_FP_EXC_DISABLED = 0x0
26666- PR_FP_EXC_DIV = 0x10000
26667- PR_FP_EXC_INV = 0x100000
26668- PR_FP_EXC_NONRECOV = 0x1
26669- PR_FP_EXC_OVF = 0x20000
26670- PR_FP_EXC_PRECISE = 0x3
26671- PR_FP_EXC_RES = 0x80000
26672- PR_FP_EXC_SW_ENABLE = 0x80
26673- PR_FP_EXC_UND = 0x40000
26674- PR_FP_MODE_FR = 0x1
26675- PR_FP_MODE_FRE = 0x2
26676- PR_GET_CHILD_SUBREAPER = 0x25
26677- PR_GET_DUMPABLE = 0x3
26678- PR_GET_ENDIAN = 0x13
26679- PR_GET_FPEMU = 0x9
26680- PR_GET_FPEXC = 0xb
26681- PR_GET_FP_MODE = 0x2e
26682- PR_GET_KEEPCAPS = 0x7
26683- PR_GET_NAME = 0x10
26684- PR_GET_NO_NEW_PRIVS = 0x27
26685- PR_GET_PDEATHSIG = 0x2
26686- PR_GET_SECCOMP = 0x15
26687- PR_GET_SECUREBITS = 0x1b
26688- PR_GET_THP_DISABLE = 0x2a
26689- PR_GET_TID_ADDRESS = 0x28
26690- PR_GET_TIMERSLACK = 0x1e
26691- PR_GET_TIMING = 0xd
26692- PR_GET_TSC = 0x19
26693- PR_GET_UNALIGN = 0x5
26694- PR_MCE_KILL = 0x21
26695- PR_MCE_KILL_CLEAR = 0x0
26696- PR_MCE_KILL_DEFAULT = 0x2
26697- PR_MCE_KILL_EARLY = 0x1
26698- PR_MCE_KILL_GET = 0x22
26699- PR_MCE_KILL_LATE = 0x0
26700- PR_MCE_KILL_SET = 0x1
26701- PR_MPX_DISABLE_MANAGEMENT = 0x2c
26702- PR_MPX_ENABLE_MANAGEMENT = 0x2b
26703- PR_SET_CHILD_SUBREAPER = 0x24
26704- PR_SET_DUMPABLE = 0x4
26705- PR_SET_ENDIAN = 0x14
26706- PR_SET_FPEMU = 0xa
26707- PR_SET_FPEXC = 0xc
26708- PR_SET_FP_MODE = 0x2d
26709- PR_SET_KEEPCAPS = 0x8
26710- PR_SET_MM = 0x23
26711- PR_SET_MM_ARG_END = 0x9
26712- PR_SET_MM_ARG_START = 0x8
26713- PR_SET_MM_AUXV = 0xc
26714- PR_SET_MM_BRK = 0x7
26715- PR_SET_MM_END_CODE = 0x2
26716- PR_SET_MM_END_DATA = 0x4
26717- PR_SET_MM_ENV_END = 0xb
26718- PR_SET_MM_ENV_START = 0xa
26719- PR_SET_MM_EXE_FILE = 0xd
26720- PR_SET_MM_MAP = 0xe
26721- PR_SET_MM_MAP_SIZE = 0xf
26722- PR_SET_MM_START_BRK = 0x6
26723- PR_SET_MM_START_CODE = 0x1
26724- PR_SET_MM_START_DATA = 0x3
26725- PR_SET_MM_START_STACK = 0x5
26726- PR_SET_NAME = 0xf
26727- PR_SET_NO_NEW_PRIVS = 0x26
26728- PR_SET_PDEATHSIG = 0x1
26729- PR_SET_PTRACER = 0x59616d61
26730- PR_SET_PTRACER_ANY = 0xffffffff
26731- PR_SET_SECCOMP = 0x16
26732- PR_SET_SECUREBITS = 0x1c
26733- PR_SET_THP_DISABLE = 0x29
26734- PR_SET_TIMERSLACK = 0x1d
26735- PR_SET_TIMING = 0xe
26736- PR_SET_TSC = 0x1a
26737- PR_SET_UNALIGN = 0x6
26738- PR_TASK_PERF_EVENTS_DISABLE = 0x1f
26739- PR_TASK_PERF_EVENTS_ENABLE = 0x20
26740- PR_TIMING_STATISTICAL = 0x0
26741- PR_TIMING_TIMESTAMP = 0x1
26742- PR_TSC_ENABLE = 0x1
26743- PR_TSC_SIGSEGV = 0x2
26744- PR_UNALIGN_NOPRINT = 0x1
26745- PR_UNALIGN_SIGBUS = 0x2
26746- PTRACE_ATTACH = 0x10
26747- PTRACE_CONT = 0x7
26748- PTRACE_DETACH = 0x11
26749- PTRACE_EVENT_CLONE = 0x3
26750- PTRACE_EVENT_EXEC = 0x4
26751- PTRACE_EVENT_EXIT = 0x6
26752- PTRACE_EVENT_FORK = 0x1
26753- PTRACE_EVENT_SECCOMP = 0x7
26754- PTRACE_EVENT_STOP = 0x80
26755- PTRACE_EVENT_VFORK = 0x2
26756- PTRACE_EVENT_VFORK_DONE = 0x5
26757- PTRACE_GETEVENTMSG = 0x4201
26758- PTRACE_GETFPREGS = 0xe
26759- PTRACE_GETFPXREGS = 0x12
26760- PTRACE_GETREGS = 0xc
26761- PTRACE_GETREGSET = 0x4204
26762- PTRACE_GETSIGINFO = 0x4202
26763- PTRACE_GETSIGMASK = 0x420a
26764- PTRACE_GET_THREAD_AREA = 0x19
26765- PTRACE_INTERRUPT = 0x4207
26766- PTRACE_KILL = 0x8
26767- PTRACE_LISTEN = 0x4208
26768- PTRACE_OLDSETOPTIONS = 0x15
26769- PTRACE_O_EXITKILL = 0x100000
26770- PTRACE_O_MASK = 0x3000ff
26771- PTRACE_O_SUSPEND_SECCOMP = 0x200000
26772- PTRACE_O_TRACECLONE = 0x8
26773- PTRACE_O_TRACEEXEC = 0x10
26774- PTRACE_O_TRACEEXIT = 0x40
26775- PTRACE_O_TRACEFORK = 0x2
26776- PTRACE_O_TRACESECCOMP = 0x80
26777- PTRACE_O_TRACESYSGOOD = 0x1
26778- PTRACE_O_TRACEVFORK = 0x4
26779- PTRACE_O_TRACEVFORKDONE = 0x20
26780- PTRACE_PEEKDATA = 0x2
26781- PTRACE_PEEKSIGINFO = 0x4209
26782- PTRACE_PEEKSIGINFO_SHARED = 0x1
26783- PTRACE_PEEKTEXT = 0x1
26784- PTRACE_PEEKUSR = 0x3
26785- PTRACE_POKEDATA = 0x5
26786- PTRACE_POKETEXT = 0x4
26787- PTRACE_POKEUSR = 0x6
26788- PTRACE_SECCOMP_GET_FILTER = 0x420c
26789- PTRACE_SEIZE = 0x4206
26790- PTRACE_SETFPREGS = 0xf
26791- PTRACE_SETFPXREGS = 0x13
26792- PTRACE_SETOPTIONS = 0x4200
26793- PTRACE_SETREGS = 0xd
26794- PTRACE_SETREGSET = 0x4205
26795- PTRACE_SETSIGINFO = 0x4203
26796- PTRACE_SETSIGMASK = 0x420b
26797- PTRACE_SET_THREAD_AREA = 0x1a
26798- PTRACE_SINGLEBLOCK = 0x21
26799- PTRACE_SINGLESTEP = 0x9
26800- PTRACE_SYSCALL = 0x18
26801- PTRACE_SYSEMU = 0x1f
26802- PTRACE_SYSEMU_SINGLESTEP = 0x20
26803- PTRACE_TRACEME = 0x0
26804- RLIMIT_AS = 0x9
26805- RLIMIT_CORE = 0x4
26806- RLIMIT_CPU = 0x0
26807- RLIMIT_DATA = 0x2
26808- RLIMIT_FSIZE = 0x1
26809- RLIMIT_LOCKS = 0xa
26810- RLIMIT_MEMLOCK = 0x8
26811- RLIMIT_MSGQUEUE = 0xc
26812- RLIMIT_NICE = 0xd
26813- RLIMIT_NOFILE = 0x7
26814- RLIMIT_NPROC = 0x6
26815- RLIMIT_RSS = 0x5
26816- RLIMIT_RTPRIO = 0xe
26817- RLIMIT_RTTIME = 0xf
26818- RLIMIT_SIGPENDING = 0xb
26819- RLIMIT_STACK = 0x3
26820- RLIM_INFINITY = -0x1
26821- RTAX_ADVMSS = 0x8
26822- RTAX_CC_ALGO = 0x10
26823- RTAX_CWND = 0x7
26824- RTAX_FEATURES = 0xc
26825- RTAX_FEATURE_ALLFRAG = 0x8
26826- RTAX_FEATURE_ECN = 0x1
26827- RTAX_FEATURE_MASK = 0xf
26828- RTAX_FEATURE_SACK = 0x2
26829- RTAX_FEATURE_TIMESTAMP = 0x4
26830- RTAX_HOPLIMIT = 0xa
26831- RTAX_INITCWND = 0xb
26832- RTAX_INITRWND = 0xe
26833- RTAX_LOCK = 0x1
26834- RTAX_MAX = 0x10
26835- RTAX_MTU = 0x2
26836- RTAX_QUICKACK = 0xf
26837- RTAX_REORDERING = 0x9
26838- RTAX_RTO_MIN = 0xd
26839- RTAX_RTT = 0x4
26840- RTAX_RTTVAR = 0x5
26841- RTAX_SSTHRESH = 0x6
26842- RTAX_UNSPEC = 0x0
26843- RTAX_WINDOW = 0x3
26844- RTA_ALIGNTO = 0x4
26845- RTA_MAX = 0x19
26846- RTCF_DIRECTSRC = 0x4000000
26847- RTCF_DOREDIRECT = 0x1000000
26848- RTCF_LOG = 0x2000000
26849- RTCF_MASQ = 0x400000
26850- RTCF_NAT = 0x800000
26851- RTCF_VALVE = 0x200000
26852- RTF_ADDRCLASSMASK = 0xf8000000
26853- RTF_ADDRCONF = 0x40000
26854- RTF_ALLONLINK = 0x20000
26855- RTF_BROADCAST = 0x10000000
26856- RTF_CACHE = 0x1000000
26857- RTF_DEFAULT = 0x10000
26858- RTF_DYNAMIC = 0x10
26859- RTF_FLOW = 0x2000000
26860- RTF_GATEWAY = 0x2
26861- RTF_HOST = 0x4
26862- RTF_INTERFACE = 0x40000000
26863- RTF_IRTT = 0x100
26864- RTF_LINKRT = 0x100000
26865- RTF_LOCAL = 0x80000000
26866- RTF_MODIFIED = 0x20
26867- RTF_MSS = 0x40
26868- RTF_MTU = 0x40
26869- RTF_MULTICAST = 0x20000000
26870- RTF_NAT = 0x8000000
26871- RTF_NOFORWARD = 0x1000
26872- RTF_NONEXTHOP = 0x200000
26873- RTF_NOPMTUDISC = 0x4000
26874- RTF_POLICY = 0x4000000
26875- RTF_REINSTATE = 0x8
26876- RTF_REJECT = 0x200
26877- RTF_STATIC = 0x400
26878- RTF_THROW = 0x2000
26879- RTF_UP = 0x1
26880- RTF_WINDOW = 0x80
26881- RTF_XRESOLVE = 0x800
26882- RTM_BASE = 0x10
26883- RTM_DELACTION = 0x31
26884- RTM_DELADDR = 0x15
26885- RTM_DELADDRLABEL = 0x49
26886- RTM_DELLINK = 0x11
26887- RTM_DELMDB = 0x55
26888- RTM_DELNEIGH = 0x1d
26889- RTM_DELNSID = 0x59
26890- RTM_DELQDISC = 0x25
26891- RTM_DELROUTE = 0x19
26892- RTM_DELRULE = 0x21
26893- RTM_DELTCLASS = 0x29
26894- RTM_DELTFILTER = 0x2d
26895- RTM_F_CLONED = 0x200
26896- RTM_F_EQUALIZE = 0x400
26897- RTM_F_LOOKUP_TABLE = 0x1000
26898- RTM_F_NOTIFY = 0x100
26899- RTM_F_PREFIX = 0x800
26900- RTM_GETACTION = 0x32
26901- RTM_GETADDR = 0x16
26902- RTM_GETADDRLABEL = 0x4a
26903- RTM_GETANYCAST = 0x3e
26904- RTM_GETDCB = 0x4e
26905- RTM_GETLINK = 0x12
26906- RTM_GETMDB = 0x56
26907- RTM_GETMULTICAST = 0x3a
26908- RTM_GETNEIGH = 0x1e
26909- RTM_GETNEIGHTBL = 0x42
26910- RTM_GETNETCONF = 0x52
26911- RTM_GETNSID = 0x5a
26912- RTM_GETQDISC = 0x26
26913- RTM_GETROUTE = 0x1a
26914- RTM_GETRULE = 0x22
26915- RTM_GETSTATS = 0x5e
26916- RTM_GETTCLASS = 0x2a
26917- RTM_GETTFILTER = 0x2e
26918- RTM_MAX = 0x5f
26919- RTM_NEWACTION = 0x30
26920- RTM_NEWADDR = 0x14
26921- RTM_NEWADDRLABEL = 0x48
26922- RTM_NEWLINK = 0x10
26923- RTM_NEWMDB = 0x54
26924- RTM_NEWNDUSEROPT = 0x44
26925- RTM_NEWNEIGH = 0x1c
26926- RTM_NEWNEIGHTBL = 0x40
26927- RTM_NEWNETCONF = 0x50
26928- RTM_NEWNSID = 0x58
26929- RTM_NEWPREFIX = 0x34
26930- RTM_NEWQDISC = 0x24
26931- RTM_NEWROUTE = 0x18
26932- RTM_NEWRULE = 0x20
26933- RTM_NEWSTATS = 0x5c
26934- RTM_NEWTCLASS = 0x28
26935- RTM_NEWTFILTER = 0x2c
26936- RTM_NR_FAMILIES = 0x14
26937- RTM_NR_MSGTYPES = 0x50
26938- RTM_SETDCB = 0x4f
26939- RTM_SETLINK = 0x13
26940- RTM_SETNEIGHTBL = 0x43
26941- RTNH_ALIGNTO = 0x4
26942- RTNH_COMPARE_MASK = 0x19
26943- RTNH_F_DEAD = 0x1
26944- RTNH_F_LINKDOWN = 0x10
26945- RTNH_F_OFFLOAD = 0x8
26946- RTNH_F_ONLINK = 0x4
26947- RTNH_F_PERVASIVE = 0x2
26948- RTN_MAX = 0xb
26949- RTPROT_BABEL = 0x2a
26950- RTPROT_BIRD = 0xc
26951- RTPROT_BOOT = 0x3
26952- RTPROT_DHCP = 0x10
26953- RTPROT_DNROUTED = 0xd
26954- RTPROT_GATED = 0x8
26955- RTPROT_KERNEL = 0x2
26956- RTPROT_MROUTED = 0x11
26957- RTPROT_MRT = 0xa
26958- RTPROT_NTK = 0xf
26959- RTPROT_RA = 0x9
26960- RTPROT_REDIRECT = 0x1
26961- RTPROT_STATIC = 0x4
26962- RTPROT_UNSPEC = 0x0
26963- RTPROT_XORP = 0xe
26964- RTPROT_ZEBRA = 0xb
26965- RT_CLASS_DEFAULT = 0xfd
26966- RT_CLASS_LOCAL = 0xff
26967- RT_CLASS_MAIN = 0xfe
26968- RT_CLASS_MAX = 0xff
26969- RT_CLASS_UNSPEC = 0x0
26970- RUSAGE_CHILDREN = -0x1
26971- RUSAGE_SELF = 0x0
26972- RUSAGE_THREAD = 0x1
26973- SCM_CREDENTIALS = 0x2
26974- SCM_RIGHTS = 0x1
26975- SCM_TIMESTAMP = 0x1d
26976- SCM_TIMESTAMPING = 0x25
26977- SCM_TIMESTAMPING_OPT_STATS = 0x36
26978- SCM_TIMESTAMPNS = 0x23
26979- SCM_WIFI_STATUS = 0x29
26980- SECCOMP_MODE_DISABLED = 0x0
26981- SECCOMP_MODE_FILTER = 0x2
26982- SECCOMP_MODE_STRICT = 0x1
26983- SHUT_RD = 0x0
26984- SHUT_RDWR = 0x2
26985- SHUT_WR = 0x1
26986- SIOCADDDLCI = 0x8980
26987- SIOCADDMULTI = 0x8931
26988- SIOCADDRT = 0x890b
26989- SIOCATMARK = 0x8905
26990- SIOCBONDCHANGEACTIVE = 0x8995
26991- SIOCBONDENSLAVE = 0x8990
26992- SIOCBONDINFOQUERY = 0x8994
26993- SIOCBONDRELEASE = 0x8991
26994- SIOCBONDSETHWADDR = 0x8992
26995- SIOCBONDSLAVEINFOQUERY = 0x8993
26996- SIOCBRADDBR = 0x89a0
26997- SIOCBRADDIF = 0x89a2
26998- SIOCBRDELBR = 0x89a1
26999- SIOCBRDELIF = 0x89a3
27000- SIOCDARP = 0x8953
27001- SIOCDELDLCI = 0x8981
27002- SIOCDELMULTI = 0x8932
27003- SIOCDELRT = 0x890c
27004- SIOCDEVPRIVATE = 0x89f0
27005- SIOCDIFADDR = 0x8936
27006- SIOCDRARP = 0x8960
27007- SIOCETHTOOL = 0x8946
27008- SIOCGARP = 0x8954
27009- SIOCGHWTSTAMP = 0x89b1
27010- SIOCGIFADDR = 0x8915
27011- SIOCGIFBR = 0x8940
27012- SIOCGIFBRDADDR = 0x8919
27013- SIOCGIFCONF = 0x8912
27014- SIOCGIFCOUNT = 0x8938
27015- SIOCGIFDSTADDR = 0x8917
27016- SIOCGIFENCAP = 0x8925
27017- SIOCGIFFLAGS = 0x8913
27018- SIOCGIFHWADDR = 0x8927
27019- SIOCGIFINDEX = 0x8933
27020- SIOCGIFMAP = 0x8970
27021- SIOCGIFMEM = 0x891f
27022- SIOCGIFMETRIC = 0x891d
27023- SIOCGIFMTU = 0x8921
27024- SIOCGIFNAME = 0x8910
27025- SIOCGIFNETMASK = 0x891b
27026- SIOCGIFPFLAGS = 0x8935
27027- SIOCGIFSLAVE = 0x8929
27028- SIOCGIFTXQLEN = 0x8942
27029- SIOCGIFVLAN = 0x8982
27030- SIOCGMIIPHY = 0x8947
27031- SIOCGMIIREG = 0x8948
27032- SIOCGPGRP = 0x8904
27033- SIOCGRARP = 0x8961
27034- SIOCGSKNS = 0x894c
27035- SIOCGSTAMP = 0x8906
27036- SIOCGSTAMPNS = 0x8907
27037- SIOCINQ = 0x541b
27038- SIOCOUTQ = 0x5411
27039- SIOCOUTQNSD = 0x894b
27040- SIOCPROTOPRIVATE = 0x89e0
27041- SIOCRTMSG = 0x890d
27042- SIOCSARP = 0x8955
27043- SIOCSHWTSTAMP = 0x89b0
27044- SIOCSIFADDR = 0x8916
27045- SIOCSIFBR = 0x8941
27046- SIOCSIFBRDADDR = 0x891a
27047- SIOCSIFDSTADDR = 0x8918
27048- SIOCSIFENCAP = 0x8926
27049- SIOCSIFFLAGS = 0x8914
27050- SIOCSIFHWADDR = 0x8924
27051- SIOCSIFHWBROADCAST = 0x8937
27052- SIOCSIFLINK = 0x8911
27053- SIOCSIFMAP = 0x8971
27054- SIOCSIFMEM = 0x8920
27055- SIOCSIFMETRIC = 0x891e
27056- SIOCSIFMTU = 0x8922
27057- SIOCSIFNAME = 0x8923
27058- SIOCSIFNETMASK = 0x891c
27059- SIOCSIFPFLAGS = 0x8934
27060- SIOCSIFSLAVE = 0x8930
27061- SIOCSIFTXQLEN = 0x8943
27062- SIOCSIFVLAN = 0x8983
27063- SIOCSMIIREG = 0x8949
27064- SIOCSPGRP = 0x8902
27065- SIOCSRARP = 0x8962
27066- SIOCWANDEV = 0x894a
27067- SOCK_CLOEXEC = 0x80000
27068- SOCK_DCCP = 0x6
27069- SOCK_DGRAM = 0x2
27070- SOCK_IOC_TYPE = 0x89
27071- SOCK_NONBLOCK = 0x800
27072- SOCK_PACKET = 0xa
27073- SOCK_RAW = 0x3
27074- SOCK_RDM = 0x4
27075- SOCK_SEQPACKET = 0x5
27076- SOCK_STREAM = 0x1
27077- SOL_AAL = 0x109
27078- SOL_ALG = 0x117
27079- SOL_ATM = 0x108
27080- SOL_CAIF = 0x116
27081- SOL_CAN_BASE = 0x64
27082- SOL_DCCP = 0x10d
27083- SOL_DECNET = 0x105
27084- SOL_ICMPV6 = 0x3a
27085- SOL_IP = 0x0
27086- SOL_IPV6 = 0x29
27087- SOL_IRDA = 0x10a
27088- SOL_IUCV = 0x115
27089- SOL_KCM = 0x119
27090- SOL_LLC = 0x10c
27091- SOL_NETBEUI = 0x10b
27092- SOL_NETLINK = 0x10e
27093- SOL_NFC = 0x118
27094- SOL_PACKET = 0x107
27095- SOL_PNPIPE = 0x113
27096- SOL_PPPOL2TP = 0x111
27097- SOL_RAW = 0xff
27098- SOL_RDS = 0x114
27099- SOL_RXRPC = 0x110
27100- SOL_SOCKET = 0x1
27101- SOL_TCP = 0x6
27102- SOL_TIPC = 0x10f
27103- SOL_X25 = 0x106
27104- SOMAXCONN = 0x80
27105- SO_ACCEPTCONN = 0x1e
27106- SO_ATTACH_BPF = 0x32
27107- SO_ATTACH_FILTER = 0x1a
27108- SO_ATTACH_REUSEPORT_CBPF = 0x33
27109- SO_ATTACH_REUSEPORT_EBPF = 0x34
27110- SO_BINDTODEVICE = 0x19
27111- SO_BPF_EXTENSIONS = 0x30
27112- SO_BROADCAST = 0x6
27113- SO_BSDCOMPAT = 0xe
27114- SO_BUSY_POLL = 0x2e
27115- SO_CNX_ADVICE = 0x35
27116- SO_DEBUG = 0x1
27117- SO_DETACH_BPF = 0x1b
27118- SO_DETACH_FILTER = 0x1b
27119- SO_DOMAIN = 0x27
27120- SO_DONTROUTE = 0x5
27121- SO_ERROR = 0x4
27122- SO_GET_FILTER = 0x1a
27123- SO_INCOMING_CPU = 0x31
27124- SO_KEEPALIVE = 0x9
27125- SO_LINGER = 0xd
27126- SO_LOCK_FILTER = 0x2c
27127- SO_MARK = 0x24
27128- SO_MAX_PACING_RATE = 0x2f
27129- SO_NOFCS = 0x2b
27130- SO_NO_CHECK = 0xb
27131- SO_OOBINLINE = 0xa
27132- SO_PASSCRED = 0x10
27133- SO_PASSSEC = 0x22
27134- SO_PEEK_OFF = 0x2a
27135- SO_PEERCRED = 0x11
27136- SO_PEERNAME = 0x1c
27137- SO_PEERSEC = 0x1f
27138- SO_PRIORITY = 0xc
27139- SO_PROTOCOL = 0x26
27140- SO_RCVBUF = 0x8
27141- SO_RCVBUFFORCE = 0x21
27142- SO_RCVLOWAT = 0x12
27143- SO_RCVTIMEO = 0x14
27144- SO_REUSEADDR = 0x2
27145- SO_REUSEPORT = 0xf
27146- SO_RXQ_OVFL = 0x28
27147- SO_SECURITY_AUTHENTICATION = 0x16
27148- SO_SECURITY_ENCRYPTION_NETWORK = 0x18
27149- SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
27150- SO_SELECT_ERR_QUEUE = 0x2d
27151- SO_SNDBUF = 0x7
27152- SO_SNDBUFFORCE = 0x20
27153- SO_SNDLOWAT = 0x13
27154- SO_SNDTIMEO = 0x15
27155- SO_TIMESTAMP = 0x1d
27156- SO_TIMESTAMPING = 0x25
27157- SO_TIMESTAMPNS = 0x23
27158- SO_TYPE = 0x3
27159- SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
27160- SO_VM_SOCKETS_BUFFER_MIN_SIZE = 0x1
27161- SO_VM_SOCKETS_BUFFER_SIZE = 0x0
27162- SO_VM_SOCKETS_CONNECT_TIMEOUT = 0x6
27163- SO_VM_SOCKETS_NONBLOCK_TXRX = 0x7
27164- SO_VM_SOCKETS_PEER_HOST_VM_ID = 0x3
27165- SO_VM_SOCKETS_TRUSTED = 0x5
27166- SO_WIFI_STATUS = 0x29
27167- SPLICE_F_GIFT = 0x8
27168- SPLICE_F_MORE = 0x4
27169- SPLICE_F_MOVE = 0x1
27170- SPLICE_F_NONBLOCK = 0x2
27171- S_BLKSIZE = 0x200
27172- S_IEXEC = 0x40
27173- S_IFBLK = 0x6000
27174- S_IFCHR = 0x2000
27175- S_IFDIR = 0x4000
27176- S_IFIFO = 0x1000
27177- S_IFLNK = 0xa000
27178- S_IFMT = 0xf000
27179- S_IFREG = 0x8000
27180- S_IFSOCK = 0xc000
27181- S_IREAD = 0x100
27182- S_IRGRP = 0x20
27183- S_IROTH = 0x4
27184- S_IRUSR = 0x100
27185- S_IRWXG = 0x38
27186- S_IRWXO = 0x7
27187- S_IRWXU = 0x1c0
27188- S_ISGID = 0x400
27189- S_ISUID = 0x800
27190- S_ISVTX = 0x200
27191- S_IWGRP = 0x10
27192- S_IWOTH = 0x2
27193- S_IWRITE = 0x80
27194- S_IWUSR = 0x80
27195- S_IXGRP = 0x8
27196- S_IXOTH = 0x1
27197- S_IXUSR = 0x40
27198- TAB0 = 0x0
27199- TAB1 = 0x800
27200- TAB2 = 0x1000
27201- TAB3 = 0x1800
27202- TABDLY = 0x1800
27203- TASKSTATS_CMD_ATTR_MAX = 0x4
27204- TASKSTATS_CMD_MAX = 0x2
27205- TASKSTATS_GENL_NAME = "TASKSTATS"
27206- TASKSTATS_GENL_VERSION = 0x1
27207- TASKSTATS_TYPE_MAX = 0x6
27208- TASKSTATS_VERSION = 0x8
27209- TCFLSH = 0x540b
27210- TCGETA = 0x5405
27211- TCGETS = 0x5401
27212- TCGETS2 = 0x802c542a
27213- TCGETX = 0x5432
27214- TCIFLUSH = 0x0
27215- TCIOFF = 0x2
27216- TCIOFLUSH = 0x2
27217- TCION = 0x3
27218- TCOFLUSH = 0x1
27219- TCOOFF = 0x0
27220- TCOON = 0x1
27221- TCP_CC_INFO = 0x1a
27222- TCP_CONGESTION = 0xd
27223- TCP_COOKIE_IN_ALWAYS = 0x1
27224- TCP_COOKIE_MAX = 0x10
27225- TCP_COOKIE_MIN = 0x8
27226- TCP_COOKIE_OUT_NEVER = 0x2
27227- TCP_COOKIE_PAIR_SIZE = 0x20
27228- TCP_COOKIE_TRANSACTIONS = 0xf
27229- TCP_CORK = 0x3
27230- TCP_DEFER_ACCEPT = 0x9
27231- TCP_FASTOPEN = 0x17
27232- TCP_INFO = 0xb
27233- TCP_KEEPCNT = 0x6
27234- TCP_KEEPIDLE = 0x4
27235- TCP_KEEPINTVL = 0x5
27236- TCP_LINGER2 = 0x8
27237- TCP_MAXSEG = 0x2
27238- TCP_MAXWIN = 0xffff
27239- TCP_MAX_WINSHIFT = 0xe
27240- TCP_MD5SIG = 0xe
27241- TCP_MD5SIG_MAXKEYLEN = 0x50
27242- TCP_MSS = 0x200
27243- TCP_MSS_DEFAULT = 0x218
27244- TCP_MSS_DESIRED = 0x4c4
27245- TCP_NODELAY = 0x1
27246- TCP_NOTSENT_LOWAT = 0x19
27247- TCP_QUEUE_SEQ = 0x15
27248- TCP_QUICKACK = 0xc
27249- TCP_REPAIR = 0x13
27250- TCP_REPAIR_OPTIONS = 0x16
27251- TCP_REPAIR_QUEUE = 0x14
27252- TCP_REPAIR_WINDOW = 0x1d
27253- TCP_SAVED_SYN = 0x1c
27254- TCP_SAVE_SYN = 0x1b
27255- TCP_SYNCNT = 0x7
27256- TCP_S_DATA_IN = 0x4
27257- TCP_S_DATA_OUT = 0x8
27258- TCP_THIN_DUPACK = 0x11
27259- TCP_THIN_LINEAR_TIMEOUTS = 0x10
27260- TCP_TIMESTAMP = 0x18
27261- TCP_USER_TIMEOUT = 0x12
27262- TCP_WINDOW_CLAMP = 0xa
27263- TCSAFLUSH = 0x2
27264- TCSBRK = 0x5409
27265- TCSBRKP = 0x5425
27266- TCSETA = 0x5406
27267- TCSETAF = 0x5408
27268- TCSETAW = 0x5407
27269- TCSETS = 0x5402
27270- TCSETS2 = 0x402c542b
27271- TCSETSF = 0x5404
27272- TCSETSF2 = 0x402c542d
27273- TCSETSW = 0x5403
27274- TCSETSW2 = 0x402c542c
27275- TCSETX = 0x5433
27276- TCSETXF = 0x5434
27277- TCSETXW = 0x5435
27278- TCXONC = 0x540a
27279- TIOCCBRK = 0x5428
27280- TIOCCONS = 0x541d
27281- TIOCEXCL = 0x540c
27282- TIOCGDEV = 0x80045432
27283- TIOCGETD = 0x5424
27284- TIOCGEXCL = 0x80045440
27285- TIOCGICOUNT = 0x545d
27286- TIOCGLCKTRMIOS = 0x5456
27287- TIOCGPGRP = 0x540f
27288- TIOCGPKT = 0x80045438
27289- TIOCGPTLCK = 0x80045439
27290- TIOCGPTN = 0x80045430
27291- TIOCGRS485 = 0x542e
27292- TIOCGSERIAL = 0x541e
27293- TIOCGSID = 0x5429
27294- TIOCGSOFTCAR = 0x5419
27295- TIOCGWINSZ = 0x5413
27296- TIOCINQ = 0x541b
27297- TIOCLINUX = 0x541c
27298- TIOCMBIC = 0x5417
27299- TIOCMBIS = 0x5416
27300- TIOCMGET = 0x5415
27301- TIOCMIWAIT = 0x545c
27302- TIOCMSET = 0x5418
27303- TIOCM_CAR = 0x40
27304- TIOCM_CD = 0x40
27305- TIOCM_CTS = 0x20
27306- TIOCM_DSR = 0x100
27307- TIOCM_DTR = 0x2
27308- TIOCM_LE = 0x1
27309- TIOCM_RI = 0x80
27310- TIOCM_RNG = 0x80
27311- TIOCM_RTS = 0x4
27312- TIOCM_SR = 0x10
27313- TIOCM_ST = 0x8
27314- TIOCNOTTY = 0x5422
27315- TIOCNXCL = 0x540d
27316- TIOCOUTQ = 0x5411
27317- TIOCPKT = 0x5420
27318- TIOCPKT_DATA = 0x0
27319- TIOCPKT_DOSTOP = 0x20
27320- TIOCPKT_FLUSHREAD = 0x1
27321- TIOCPKT_FLUSHWRITE = 0x2
27322- TIOCPKT_IOCTL = 0x40
27323- TIOCPKT_NOSTOP = 0x10
27324- TIOCPKT_START = 0x8
27325- TIOCPKT_STOP = 0x4
27326- TIOCSBRK = 0x5427
27327- TIOCSCTTY = 0x540e
27328- TIOCSERCONFIG = 0x5453
27329- TIOCSERGETLSR = 0x5459
27330- TIOCSERGETMULTI = 0x545a
27331- TIOCSERGSTRUCT = 0x5458
27332- TIOCSERGWILD = 0x5454
27333- TIOCSERSETMULTI = 0x545b
27334- TIOCSERSWILD = 0x5455
27335- TIOCSER_TEMT = 0x1
27336- TIOCSETD = 0x5423
27337- TIOCSIG = 0x40045436
27338- TIOCSLCKTRMIOS = 0x5457
27339- TIOCSPGRP = 0x5410
27340- TIOCSPTLCK = 0x40045431
27341- TIOCSRS485 = 0x542f
27342- TIOCSSERIAL = 0x541f
27343- TIOCSSOFTCAR = 0x541a
27344- TIOCSTI = 0x5412
27345- TIOCSWINSZ = 0x5414
27346- TIOCVHANGUP = 0x5437
27347- TOSTOP = 0x100
27348- TS_COMM_LEN = 0x20
27349- TUNATTACHFILTER = 0x400854d5
27350- TUNDETACHFILTER = 0x400854d6
27351- TUNGETFEATURES = 0x800454cf
27352- TUNGETFILTER = 0x800854db
27353- TUNGETIFF = 0x800454d2
27354- TUNGETSNDBUF = 0x800454d3
27355- TUNGETVNETBE = 0x800454df
27356- TUNGETVNETHDRSZ = 0x800454d7
27357- TUNGETVNETLE = 0x800454dd
27358- TUNSETDEBUG = 0x400454c9
27359- TUNSETGROUP = 0x400454ce
27360- TUNSETIFF = 0x400454ca
27361- TUNSETIFINDEX = 0x400454da
27362- TUNSETLINK = 0x400454cd
27363- TUNSETNOCSUM = 0x400454c8
27364- TUNSETOFFLOAD = 0x400454d0
27365- TUNSETOWNER = 0x400454cc
27366- TUNSETPERSIST = 0x400454cb
27367- TUNSETQUEUE = 0x400454d9
27368- TUNSETSNDBUF = 0x400454d4
27369- TUNSETTXFILTER = 0x400454d1
27370- TUNSETVNETBE = 0x400454de
27371- TUNSETVNETHDRSZ = 0x400454d8
27372- TUNSETVNETLE = 0x400454dc
27373- UMOUNT_NOFOLLOW = 0x8
27374- VDISCARD = 0xd
27375- VEOF = 0x4
27376- VEOL = 0xb
27377- VEOL2 = 0x10
27378- VERASE = 0x2
27379- VINTR = 0x0
27380- VKILL = 0x3
27381- VLNEXT = 0xf
27382- VMADDR_CID_ANY = 0xffffffff
27383- VMADDR_CID_HOST = 0x2
27384- VMADDR_CID_HYPERVISOR = 0x0
27385- VMADDR_CID_RESERVED = 0x1
27386- VMADDR_PORT_ANY = 0xffffffff
27387- VMIN = 0x6
27388- VM_SOCKETS_INVALID_VERSION = 0xffffffff
27389- VQUIT = 0x1
27390- VREPRINT = 0xc
27391- VSTART = 0x8
27392- VSTOP = 0x9
27393- VSUSP = 0xa
27394- VSWTC = 0x7
27395- VT0 = 0x0
27396- VT1 = 0x4000
27397- VTDLY = 0x4000
27398- VTIME = 0x5
27399- VWERASE = 0xe
27400- WALL = 0x40000000
27401- WCLONE = 0x80000000
27402- WCONTINUED = 0x8
27403- WEXITED = 0x4
27404- WNOHANG = 0x1
27405- WNOTHREAD = 0x20000000
27406- WNOWAIT = 0x1000000
27407- WORDSIZE = 0x20
27408- WSTOPPED = 0x2
27409- WUNTRACED = 0x2
27410- XATTR_CREATE = 0x1
27411- XATTR_REPLACE = 0x2
27412- XCASE = 0x4
27413- XTABS = 0x1800
27414+ B1000000 = 0x1008
27415+ B115200 = 0x1002
27416+ B1152000 = 0x1009
27417+ B1500000 = 0x100a
27418+ B2000000 = 0x100b
27419+ B230400 = 0x1003
27420+ B2500000 = 0x100c
27421+ B3000000 = 0x100d
27422+ B3500000 = 0x100e
27423+ B4000000 = 0x100f
27424+ B460800 = 0x1004
27425+ B500000 = 0x1005
27426+ B57600 = 0x1001
27427+ B576000 = 0x1006
27428+ B921600 = 0x1007
27429+ BLKBSZGET = 0x80041270
27430+ BLKBSZSET = 0x40041271
27431+ BLKFLSBUF = 0x1261
27432+ BLKFRAGET = 0x1265
27433+ BLKFRASET = 0x1264
27434+ BLKGETSIZE = 0x1260
27435+ BLKGETSIZE64 = 0x80041272
27436+ BLKPBSZGET = 0x127b
27437+ BLKRAGET = 0x1263
27438+ BLKRASET = 0x1262
27439+ BLKROGET = 0x125e
27440+ BLKROSET = 0x125d
27441+ BLKRRPART = 0x125f
27442+ BLKSECTGET = 0x1267
27443+ BLKSECTSET = 0x1266
27444+ BLKSSZGET = 0x1268
27445+ BOTHER = 0x1000
27446+ BS1 = 0x2000
27447+ BSDLY = 0x2000
27448+ CBAUD = 0x100f
27449+ CBAUDEX = 0x1000
27450+ CIBAUD = 0x100f0000
27451+ CLOCAL = 0x800
27452+ CR1 = 0x200
27453+ CR2 = 0x400
27454+ CR3 = 0x600
27455+ CRDLY = 0x600
27456+ CREAD = 0x80
27457+ CS6 = 0x10
27458+ CS7 = 0x20
27459+ CS8 = 0x30
27460+ CSIZE = 0x30
27461+ CSTOPB = 0x40
27462+ ECHOCTL = 0x200
27463+ ECHOE = 0x10
27464+ ECHOK = 0x20
27465+ ECHOKE = 0x800
27466+ ECHONL = 0x40
27467+ ECHOPRT = 0x400
27468+ EFD_CLOEXEC = 0x80000
27469+ EFD_NONBLOCK = 0x800
27470+ EPOLL_CLOEXEC = 0x80000
27471+ EXTPROC = 0x10000
27472+ FF1 = 0x8000
27473+ FFDLY = 0x8000
27474+ FLUSHO = 0x1000
27475+ FP_XSTATE_MAGIC2 = 0x46505845
27476+ FS_IOC_ENABLE_VERITY = 0x40806685
27477+ FS_IOC_GETFLAGS = 0x80046601
27478+ FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615
27479+ FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614
27480+ FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613
27481+ F_GETLK = 0xc
27482+ F_GETLK64 = 0xc
27483+ F_GETOWN = 0x9
27484+ F_RDLCK = 0x0
27485+ F_SETLK = 0xd
27486+ F_SETLK64 = 0xd
27487+ F_SETLKW = 0xe
27488+ F_SETLKW64 = 0xe
27489+ F_SETOWN = 0x8
27490+ F_UNLCK = 0x2
27491+ F_WRLCK = 0x1
27492+ HUPCL = 0x400
27493+ ICANON = 0x2
27494+ IEXTEN = 0x8000
27495+ IN_CLOEXEC = 0x80000
27496+ IN_NONBLOCK = 0x800
27497+ IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x7b9
27498+ ISIG = 0x1
27499+ IUCLC = 0x200
27500+ IXOFF = 0x1000
27501+ IXON = 0x400
27502+ MAP_32BIT = 0x40
27503+ MAP_ANON = 0x20
27504+ MAP_ANONYMOUS = 0x20
27505+ MAP_DENYWRITE = 0x800
27506+ MAP_EXECUTABLE = 0x1000
27507+ MAP_GROWSDOWN = 0x100
27508+ MAP_HUGETLB = 0x40000
27509+ MAP_LOCKED = 0x2000
27510+ MAP_NONBLOCK = 0x10000
27511+ MAP_NORESERVE = 0x4000
27512+ MAP_POPULATE = 0x8000
27513+ MAP_STACK = 0x20000
27514+ MAP_SYNC = 0x80000
27515+ MCL_CURRENT = 0x1
27516+ MCL_FUTURE = 0x2
27517+ MCL_ONFAULT = 0x4
27518+ NFDBITS = 0x20
27519+ NLDLY = 0x100
27520+ NOFLSH = 0x80
27521+ NS_GET_NSTYPE = 0xb703
27522+ NS_GET_OWNER_UID = 0xb704
27523+ NS_GET_PARENT = 0xb702
27524+ NS_GET_USERNS = 0xb701
27525+ OLCUC = 0x2
27526+ ONLCR = 0x4
27527+ O_APPEND = 0x400
27528+ O_ASYNC = 0x2000
27529+ O_CLOEXEC = 0x80000
27530+ O_CREAT = 0x40
27531+ O_DIRECT = 0x4000
27532+ O_DIRECTORY = 0x10000
27533+ O_DSYNC = 0x1000
27534+ O_EXCL = 0x80
27535+ O_FSYNC = 0x101000
27536+ O_LARGEFILE = 0x8000
27537+ O_NDELAY = 0x800
27538+ O_NOATIME = 0x40000
27539+ O_NOCTTY = 0x100
27540+ O_NOFOLLOW = 0x20000
27541+ O_NONBLOCK = 0x800
27542+ O_PATH = 0x200000
27543+ O_RSYNC = 0x101000
27544+ O_SYNC = 0x101000
27545+ O_TMPFILE = 0x410000
27546+ O_TRUNC = 0x200
27547+ PARENB = 0x100
27548+ PARODD = 0x200
27549+ PENDIN = 0x4000
27550+ PERF_EVENT_IOC_DISABLE = 0x2401
27551+ PERF_EVENT_IOC_ENABLE = 0x2400
27552+ PERF_EVENT_IOC_ID = 0x80042407
27553+ PERF_EVENT_IOC_MODIFY_ATTRIBUTES = 0x4004240b
27554+ PERF_EVENT_IOC_PAUSE_OUTPUT = 0x40042409
27555+ PERF_EVENT_IOC_PERIOD = 0x40082404
27556+ PERF_EVENT_IOC_QUERY_BPF = 0xc004240a
27557+ PERF_EVENT_IOC_REFRESH = 0x2402
27558+ PERF_EVENT_IOC_RESET = 0x2403
27559+ PERF_EVENT_IOC_SET_BPF = 0x40042408
27560+ PERF_EVENT_IOC_SET_FILTER = 0x40042406
27561+ PERF_EVENT_IOC_SET_OUTPUT = 0x2405
27562+ PPPIOCATTACH = 0x4004743d
27563+ PPPIOCATTCHAN = 0x40047438
27564+ PPPIOCCONNECT = 0x4004743a
27565+ PPPIOCDETACH = 0x4004743c
27566+ PPPIOCDISCONN = 0x7439
27567+ PPPIOCGASYNCMAP = 0x80047458
27568+ PPPIOCGCHAN = 0x80047437
27569+ PPPIOCGDEBUG = 0x80047441
27570+ PPPIOCGFLAGS = 0x8004745a
27571+ PPPIOCGIDLE = 0x8008743f
27572+ PPPIOCGIDLE32 = 0x8008743f
27573+ PPPIOCGIDLE64 = 0x8010743f
27574+ PPPIOCGL2TPSTATS = 0x80487436
27575+ PPPIOCGMRU = 0x80047453
27576+ PPPIOCGRASYNCMAP = 0x80047455
27577+ PPPIOCGUNIT = 0x80047456
27578+ PPPIOCGXASYNCMAP = 0x80207450
27579+ PPPIOCSACTIVE = 0x40087446
27580+ PPPIOCSASYNCMAP = 0x40047457
27581+ PPPIOCSCOMPRESS = 0x400c744d
27582+ PPPIOCSDEBUG = 0x40047440
27583+ PPPIOCSFLAGS = 0x40047459
27584+ PPPIOCSMAXCID = 0x40047451
27585+ PPPIOCSMRRU = 0x4004743b
27586+ PPPIOCSMRU = 0x40047452
27587+ PPPIOCSNPMODE = 0x4008744b
27588+ PPPIOCSPASS = 0x40087447
27589+ PPPIOCSRASYNCMAP = 0x40047454
27590+ PPPIOCSXASYNCMAP = 0x4020744f
27591+ PPPIOCXFERUNIT = 0x744e
27592+ PR_SET_PTRACER_ANY = 0xffffffff
27593+ PTRACE_GETFPREGS = 0xe
27594+ PTRACE_GETFPXREGS = 0x12
27595+ PTRACE_GET_THREAD_AREA = 0x19
27596+ PTRACE_OLDSETOPTIONS = 0x15
27597+ PTRACE_SETFPREGS = 0xf
27598+ PTRACE_SETFPXREGS = 0x13
27599+ PTRACE_SET_THREAD_AREA = 0x1a
27600+ PTRACE_SINGLEBLOCK = 0x21
27601+ PTRACE_SYSEMU = 0x1f
27602+ PTRACE_SYSEMU_SINGLESTEP = 0x20
27603+ RLIMIT_AS = 0x9
27604+ RLIMIT_MEMLOCK = 0x8
27605+ RLIMIT_NOFILE = 0x7
27606+ RLIMIT_NPROC = 0x6
27607+ RLIMIT_RSS = 0x5
27608+ RNDADDENTROPY = 0x40085203
27609+ RNDADDTOENTCNT = 0x40045201
27610+ RNDCLEARPOOL = 0x5206
27611+ RNDGETENTCNT = 0x80045200
27612+ RNDGETPOOL = 0x80085202
27613+ RNDRESEEDCRNG = 0x5207
27614+ RNDZAPENTCNT = 0x5204
27615+ RTC_AIE_OFF = 0x7002
27616+ RTC_AIE_ON = 0x7001
27617+ RTC_ALM_READ = 0x80247008
27618+ RTC_ALM_SET = 0x40247007
27619+ RTC_EPOCH_READ = 0x8004700d
27620+ RTC_EPOCH_SET = 0x4004700e
27621+ RTC_IRQP_READ = 0x8004700b
27622+ RTC_IRQP_SET = 0x4004700c
27623+ RTC_PIE_OFF = 0x7006
27624+ RTC_PIE_ON = 0x7005
27625+ RTC_PLL_GET = 0x801c7011
27626+ RTC_PLL_SET = 0x401c7012
27627+ RTC_RD_TIME = 0x80247009
27628+ RTC_SET_TIME = 0x4024700a
27629+ RTC_UIE_OFF = 0x7004
27630+ RTC_UIE_ON = 0x7003
27631+ RTC_VL_CLR = 0x7014
27632+ RTC_VL_READ = 0x80047013
27633+ RTC_WIE_OFF = 0x7010
27634+ RTC_WIE_ON = 0x700f
27635+ RTC_WKALM_RD = 0x80287010
27636+ RTC_WKALM_SET = 0x4028700f
27637+ SCM_TIMESTAMPING = 0x25
27638+ SCM_TIMESTAMPING_OPT_STATS = 0x36
27639+ SCM_TIMESTAMPING_PKTINFO = 0x3a
27640+ SCM_TIMESTAMPNS = 0x23
27641+ SCM_TXTIME = 0x3d
27642+ SCM_WIFI_STATUS = 0x29
27643+ SFD_CLOEXEC = 0x80000
27644+ SFD_NONBLOCK = 0x800
27645+ SIOCATMARK = 0x8905
27646+ SIOCGPGRP = 0x8904
27647+ SIOCGSTAMPNS_NEW = 0x80108907
27648+ SIOCGSTAMP_NEW = 0x80108906
27649+ SIOCINQ = 0x541b
27650+ SIOCOUTQ = 0x5411
27651+ SIOCSPGRP = 0x8902
27652+ SOCK_CLOEXEC = 0x80000
27653+ SOCK_DGRAM = 0x2
27654+ SOCK_NONBLOCK = 0x800
27655+ SOCK_STREAM = 0x1
27656+ SOL_SOCKET = 0x1
27657+ SO_ACCEPTCONN = 0x1e
27658+ SO_ATTACH_BPF = 0x32
27659+ SO_ATTACH_REUSEPORT_CBPF = 0x33
27660+ SO_ATTACH_REUSEPORT_EBPF = 0x34
27661+ SO_BINDTODEVICE = 0x19
27662+ SO_BINDTOIFINDEX = 0x3e
27663+ SO_BPF_EXTENSIONS = 0x30
27664+ SO_BROADCAST = 0x6
27665+ SO_BSDCOMPAT = 0xe
27666+ SO_BUSY_POLL = 0x2e
27667+ SO_CNX_ADVICE = 0x35
27668+ SO_COOKIE = 0x39
27669+ SO_DETACH_REUSEPORT_BPF = 0x44
27670+ SO_DOMAIN = 0x27
27671+ SO_DONTROUTE = 0x5
27672+ SO_ERROR = 0x4
27673+ SO_INCOMING_CPU = 0x31
27674+ SO_INCOMING_NAPI_ID = 0x38
27675+ SO_KEEPALIVE = 0x9
27676+ SO_LINGER = 0xd
27677+ SO_LOCK_FILTER = 0x2c
27678+ SO_MARK = 0x24
27679+ SO_MAX_PACING_RATE = 0x2f
27680+ SO_MEMINFO = 0x37
27681+ SO_NOFCS = 0x2b
27682+ SO_OOBINLINE = 0xa
27683+ SO_PASSCRED = 0x10
27684+ SO_PASSSEC = 0x22
27685+ SO_PEEK_OFF = 0x2a
27686+ SO_PEERCRED = 0x11
27687+ SO_PEERGROUPS = 0x3b
27688+ SO_PEERSEC = 0x1f
27689+ SO_PROTOCOL = 0x26
27690+ SO_RCVBUF = 0x8
27691+ SO_RCVBUFFORCE = 0x21
27692+ SO_RCVLOWAT = 0x12
27693+ SO_RCVTIMEO = 0x14
27694+ SO_RCVTIMEO_NEW = 0x42
27695+ SO_RCVTIMEO_OLD = 0x14
27696+ SO_REUSEADDR = 0x2
27697+ SO_REUSEPORT = 0xf
27698+ SO_RXQ_OVFL = 0x28
27699+ SO_SECURITY_AUTHENTICATION = 0x16
27700+ SO_SECURITY_ENCRYPTION_NETWORK = 0x18
27701+ SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
27702+ SO_SELECT_ERR_QUEUE = 0x2d
27703+ SO_SNDBUF = 0x7
27704+ SO_SNDBUFFORCE = 0x20
27705+ SO_SNDLOWAT = 0x13
27706+ SO_SNDTIMEO = 0x15
27707+ SO_SNDTIMEO_NEW = 0x43
27708+ SO_SNDTIMEO_OLD = 0x15
27709+ SO_TIMESTAMPING = 0x25
27710+ SO_TIMESTAMPING_NEW = 0x41
27711+ SO_TIMESTAMPING_OLD = 0x25
27712+ SO_TIMESTAMPNS = 0x23
27713+ SO_TIMESTAMPNS_NEW = 0x40
27714+ SO_TIMESTAMPNS_OLD = 0x23
27715+ SO_TIMESTAMP_NEW = 0x3f
27716+ SO_TXTIME = 0x3d
27717+ SO_TYPE = 0x3
27718+ SO_WIFI_STATUS = 0x29
27719+ SO_ZEROCOPY = 0x3c
27720+ TAB1 = 0x800
27721+ TAB2 = 0x1000
27722+ TAB3 = 0x1800
27723+ TABDLY = 0x1800
27724+ TCFLSH = 0x540b
27725+ TCGETA = 0x5405
27726+ TCGETS = 0x5401
27727+ TCGETS2 = 0x802c542a
27728+ TCGETX = 0x5432
27729+ TCSAFLUSH = 0x2
27730+ TCSBRK = 0x5409
27731+ TCSBRKP = 0x5425
27732+ TCSETA = 0x5406
27733+ TCSETAF = 0x5408
27734+ TCSETAW = 0x5407
27735+ TCSETS = 0x5402
27736+ TCSETS2 = 0x402c542b
27737+ TCSETSF = 0x5404
27738+ TCSETSF2 = 0x402c542d
27739+ TCSETSW = 0x5403
27740+ TCSETSW2 = 0x402c542c
27741+ TCSETX = 0x5433
27742+ TCSETXF = 0x5434
27743+ TCSETXW = 0x5435
27744+ TCXONC = 0x540a
27745+ TIOCCBRK = 0x5428
27746+ TIOCCONS = 0x541d
27747+ TIOCEXCL = 0x540c
27748+ TIOCGDEV = 0x80045432
27749+ TIOCGETD = 0x5424
27750+ TIOCGEXCL = 0x80045440
27751+ TIOCGICOUNT = 0x545d
27752+ TIOCGISO7816 = 0x80285442
27753+ TIOCGLCKTRMIOS = 0x5456
27754+ TIOCGPGRP = 0x540f
27755+ TIOCGPKT = 0x80045438
27756+ TIOCGPTLCK = 0x80045439
27757+ TIOCGPTN = 0x80045430
27758+ TIOCGPTPEER = 0x5441
27759+ TIOCGRS485 = 0x542e
27760+ TIOCGSERIAL = 0x541e
27761+ TIOCGSID = 0x5429
27762+ TIOCGSOFTCAR = 0x5419
27763+ TIOCGWINSZ = 0x5413
27764+ TIOCINQ = 0x541b
27765+ TIOCLINUX = 0x541c
27766+ TIOCMBIC = 0x5417
27767+ TIOCMBIS = 0x5416
27768+ TIOCMGET = 0x5415
27769+ TIOCMIWAIT = 0x545c
27770+ TIOCMSET = 0x5418
27771+ TIOCM_CAR = 0x40
27772+ TIOCM_CD = 0x40
27773+ TIOCM_CTS = 0x20
27774+ TIOCM_DSR = 0x100
27775+ TIOCM_RI = 0x80
27776+ TIOCM_RNG = 0x80
27777+ TIOCM_SR = 0x10
27778+ TIOCM_ST = 0x8
27779+ TIOCNOTTY = 0x5422
27780+ TIOCNXCL = 0x540d
27781+ TIOCOUTQ = 0x5411
27782+ TIOCPKT = 0x5420
27783+ TIOCSBRK = 0x5427
27784+ TIOCSCTTY = 0x540e
27785+ TIOCSERCONFIG = 0x5453
27786+ TIOCSERGETLSR = 0x5459
27787+ TIOCSERGETMULTI = 0x545a
27788+ TIOCSERGSTRUCT = 0x5458
27789+ TIOCSERGWILD = 0x5454
27790+ TIOCSERSETMULTI = 0x545b
27791+ TIOCSERSWILD = 0x5455
27792+ TIOCSER_TEMT = 0x1
27793+ TIOCSETD = 0x5423
27794+ TIOCSIG = 0x40045436
27795+ TIOCSISO7816 = 0xc0285443
27796+ TIOCSLCKTRMIOS = 0x5457
27797+ TIOCSPGRP = 0x5410
27798+ TIOCSPTLCK = 0x40045431
27799+ TIOCSRS485 = 0x542f
27800+ TIOCSSERIAL = 0x541f
27801+ TIOCSSOFTCAR = 0x541a
27802+ TIOCSTI = 0x5412
27803+ TIOCSWINSZ = 0x5414
27804+ TIOCVHANGUP = 0x5437
27805+ TOSTOP = 0x100
27806+ TUNATTACHFILTER = 0x400854d5
27807+ TUNDETACHFILTER = 0x400854d6
27808+ TUNGETDEVNETNS = 0x54e3
27809+ TUNGETFEATURES = 0x800454cf
27810+ TUNGETFILTER = 0x800854db
27811+ TUNGETIFF = 0x800454d2
27812+ TUNGETSNDBUF = 0x800454d3
27813+ TUNGETVNETBE = 0x800454df
27814+ TUNGETVNETHDRSZ = 0x800454d7
27815+ TUNGETVNETLE = 0x800454dd
27816+ TUNSETCARRIER = 0x400454e2
27817+ TUNSETDEBUG = 0x400454c9
27818+ TUNSETFILTEREBPF = 0x800454e1
27819+ TUNSETGROUP = 0x400454ce
27820+ TUNSETIFF = 0x400454ca
27821+ TUNSETIFINDEX = 0x400454da
27822+ TUNSETLINK = 0x400454cd
27823+ TUNSETNOCSUM = 0x400454c8
27824+ TUNSETOFFLOAD = 0x400454d0
27825+ TUNSETOWNER = 0x400454cc
27826+ TUNSETPERSIST = 0x400454cb
27827+ TUNSETQUEUE = 0x400454d9
27828+ TUNSETSNDBUF = 0x400454d4
27829+ TUNSETSTEERINGEBPF = 0x800454e0
27830+ TUNSETTXFILTER = 0x400454d1
27831+ TUNSETVNETBE = 0x400454de
27832+ TUNSETVNETHDRSZ = 0x400454d8
27833+ TUNSETVNETLE = 0x400454dc
27834+ UBI_IOCATT = 0x40186f40
27835+ UBI_IOCDET = 0x40046f41
27836+ UBI_IOCEBCH = 0x40044f02
27837+ UBI_IOCEBER = 0x40044f01
27838+ UBI_IOCEBISMAP = 0x80044f05
27839+ UBI_IOCEBMAP = 0x40084f03
27840+ UBI_IOCEBUNMAP = 0x40044f04
27841+ UBI_IOCMKVOL = 0x40986f00
27842+ UBI_IOCRMVOL = 0x40046f01
27843+ UBI_IOCRNVOL = 0x51106f03
27844+ UBI_IOCRPEB = 0x40046f04
27845+ UBI_IOCRSVOL = 0x400c6f02
27846+ UBI_IOCSETVOLPROP = 0x40104f06
27847+ UBI_IOCSPEB = 0x40046f05
27848+ UBI_IOCVOLCRBLK = 0x40804f07
27849+ UBI_IOCVOLRMBLK = 0x4f08
27850+ UBI_IOCVOLUP = 0x40084f00
27851+ VDISCARD = 0xd
27852+ VEOF = 0x4
27853+ VEOL = 0xb
27854+ VEOL2 = 0x10
27855+ VMIN = 0x6
27856+ VREPRINT = 0xc
27857+ VSTART = 0x8
27858+ VSTOP = 0x9
27859+ VSUSP = 0xa
27860+ VSWTC = 0x7
27861+ VT1 = 0x4000
27862+ VTDLY = 0x4000
27863+ VTIME = 0x5
27864+ VWERASE = 0xe
27865+ WDIOC_GETBOOTSTATUS = 0x80045702
27866+ WDIOC_GETPRETIMEOUT = 0x80045709
27867+ WDIOC_GETSTATUS = 0x80045701
27868+ WDIOC_GETSUPPORT = 0x80285700
27869+ WDIOC_GETTEMP = 0x80045703
27870+ WDIOC_GETTIMELEFT = 0x8004570a
27871+ WDIOC_GETTIMEOUT = 0x80045707
27872+ WDIOC_KEEPALIVE = 0x80045705
27873+ WDIOC_SETOPTIONS = 0x80045704
27874+ WORDSIZE = 0x20
27875+ X86_FXSR_MAGIC = 0x0
27876+ XCASE = 0x4
27877+ XTABS = 0x1800
27878 )
27879
27880 // Errors
27881 const (
27882- E2BIG = syscall.Errno(0x7)
27883- EACCES = syscall.Errno(0xd)
27884 EADDRINUSE = syscall.Errno(0x62)
27885 EADDRNOTAVAIL = syscall.Errno(0x63)
27886 EADV = syscall.Errno(0x44)
27887 EAFNOSUPPORT = syscall.Errno(0x61)
27888- EAGAIN = syscall.Errno(0xb)
27889 EALREADY = syscall.Errno(0x72)
27890 EBADE = syscall.Errno(0x34)
27891- EBADF = syscall.Errno(0x9)
27892 EBADFD = syscall.Errno(0x4d)
27893 EBADMSG = syscall.Errno(0x4a)
27894 EBADR = syscall.Errno(0x35)
27895 EBADRQC = syscall.Errno(0x38)
27896 EBADSLT = syscall.Errno(0x39)
27897 EBFONT = syscall.Errno(0x3b)
27898- EBUSY = syscall.Errno(0x10)
27899 ECANCELED = syscall.Errno(0x7d)
27900- ECHILD = syscall.Errno(0xa)
27901 ECHRNG = syscall.Errno(0x2c)
27902 ECOMM = syscall.Errno(0x46)
27903 ECONNABORTED = syscall.Errno(0x67)
27904@@ -1881,23 +500,15 @@ const (
27905 EDEADLK = syscall.Errno(0x23)
27906 EDEADLOCK = syscall.Errno(0x23)
27907 EDESTADDRREQ = syscall.Errno(0x59)
27908- EDOM = syscall.Errno(0x21)
27909 EDOTDOT = syscall.Errno(0x49)
27910 EDQUOT = syscall.Errno(0x7a)
27911- EEXIST = syscall.Errno(0x11)
27912- EFAULT = syscall.Errno(0xe)
27913- EFBIG = syscall.Errno(0x1b)
27914 EHOSTDOWN = syscall.Errno(0x70)
27915 EHOSTUNREACH = syscall.Errno(0x71)
27916 EHWPOISON = syscall.Errno(0x85)
27917 EIDRM = syscall.Errno(0x2b)
27918 EILSEQ = syscall.Errno(0x54)
27919 EINPROGRESS = syscall.Errno(0x73)
27920- EINTR = syscall.Errno(0x4)
27921- EINVAL = syscall.Errno(0x16)
27922- EIO = syscall.Errno(0x5)
27923 EISCONN = syscall.Errno(0x6a)
27924- EISDIR = syscall.Errno(0x15)
27925 EISNAM = syscall.Errno(0x78)
27926 EKEYEXPIRED = syscall.Errno(0x7f)
27927 EKEYREJECTED = syscall.Errno(0x81)
27928@@ -1914,8 +525,6 @@ const (
27929 ELNRNG = syscall.Errno(0x30)
27930 ELOOP = syscall.Errno(0x28)
27931 EMEDIUMTYPE = syscall.Errno(0x7c)
27932- EMFILE = syscall.Errno(0x18)
27933- EMLINK = syscall.Errno(0x1f)
27934 EMSGSIZE = syscall.Errno(0x5a)
27935 EMULTIHOP = syscall.Errno(0x48)
27936 ENAMETOOLONG = syscall.Errno(0x24)
27937@@ -1923,103 +532,70 @@ const (
27938 ENETDOWN = syscall.Errno(0x64)
27939 ENETRESET = syscall.Errno(0x66)
27940 ENETUNREACH = syscall.Errno(0x65)
27941- ENFILE = syscall.Errno(0x17)
27942 ENOANO = syscall.Errno(0x37)
27943 ENOBUFS = syscall.Errno(0x69)
27944 ENOCSI = syscall.Errno(0x32)
27945 ENODATA = syscall.Errno(0x3d)
27946- ENODEV = syscall.Errno(0x13)
27947- ENOENT = syscall.Errno(0x2)
27948- ENOEXEC = syscall.Errno(0x8)
27949 ENOKEY = syscall.Errno(0x7e)
27950 ENOLCK = syscall.Errno(0x25)
27951 ENOLINK = syscall.Errno(0x43)
27952 ENOMEDIUM = syscall.Errno(0x7b)
27953- ENOMEM = syscall.Errno(0xc)
27954 ENOMSG = syscall.Errno(0x2a)
27955 ENONET = syscall.Errno(0x40)
27956 ENOPKG = syscall.Errno(0x41)
27957 ENOPROTOOPT = syscall.Errno(0x5c)
27958- ENOSPC = syscall.Errno(0x1c)
27959 ENOSR = syscall.Errno(0x3f)
27960 ENOSTR = syscall.Errno(0x3c)
27961 ENOSYS = syscall.Errno(0x26)
27962- ENOTBLK = syscall.Errno(0xf)
27963 ENOTCONN = syscall.Errno(0x6b)
27964- ENOTDIR = syscall.Errno(0x14)
27965 ENOTEMPTY = syscall.Errno(0x27)
27966 ENOTNAM = syscall.Errno(0x76)
27967 ENOTRECOVERABLE = syscall.Errno(0x83)
27968 ENOTSOCK = syscall.Errno(0x58)
27969 ENOTSUP = syscall.Errno(0x5f)
27970- ENOTTY = syscall.Errno(0x19)
27971 ENOTUNIQ = syscall.Errno(0x4c)
27972- ENXIO = syscall.Errno(0x6)
27973 EOPNOTSUPP = syscall.Errno(0x5f)
27974 EOVERFLOW = syscall.Errno(0x4b)
27975 EOWNERDEAD = syscall.Errno(0x82)
27976- EPERM = syscall.Errno(0x1)
27977 EPFNOSUPPORT = syscall.Errno(0x60)
27978- EPIPE = syscall.Errno(0x20)
27979 EPROTO = syscall.Errno(0x47)
27980 EPROTONOSUPPORT = syscall.Errno(0x5d)
27981 EPROTOTYPE = syscall.Errno(0x5b)
27982- ERANGE = syscall.Errno(0x22)
27983 EREMCHG = syscall.Errno(0x4e)
27984 EREMOTE = syscall.Errno(0x42)
27985 EREMOTEIO = syscall.Errno(0x79)
27986 ERESTART = syscall.Errno(0x55)
27987 ERFKILL = syscall.Errno(0x84)
27988- EROFS = syscall.Errno(0x1e)
27989 ESHUTDOWN = syscall.Errno(0x6c)
27990 ESOCKTNOSUPPORT = syscall.Errno(0x5e)
27991- ESPIPE = syscall.Errno(0x1d)
27992- ESRCH = syscall.Errno(0x3)
27993 ESRMNT = syscall.Errno(0x45)
27994 ESTALE = syscall.Errno(0x74)
27995 ESTRPIPE = syscall.Errno(0x56)
27996 ETIME = syscall.Errno(0x3e)
27997 ETIMEDOUT = syscall.Errno(0x6e)
27998 ETOOMANYREFS = syscall.Errno(0x6d)
27999- ETXTBSY = syscall.Errno(0x1a)
28000 EUCLEAN = syscall.Errno(0x75)
28001 EUNATCH = syscall.Errno(0x31)
28002 EUSERS = syscall.Errno(0x57)
28003- EWOULDBLOCK = syscall.Errno(0xb)
28004- EXDEV = syscall.Errno(0x12)
28005 EXFULL = syscall.Errno(0x36)
28006 )
28007
28008 // Signals
28009 const (
28010- SIGABRT = syscall.Signal(0x6)
28011- SIGALRM = syscall.Signal(0xe)
28012 SIGBUS = syscall.Signal(0x7)
28013 SIGCHLD = syscall.Signal(0x11)
28014 SIGCLD = syscall.Signal(0x11)
28015 SIGCONT = syscall.Signal(0x12)
28016- SIGFPE = syscall.Signal(0x8)
28017- SIGHUP = syscall.Signal(0x1)
28018- SIGILL = syscall.Signal(0x4)
28019- SIGINT = syscall.Signal(0x2)
28020 SIGIO = syscall.Signal(0x1d)
28021- SIGIOT = syscall.Signal(0x6)
28022- SIGKILL = syscall.Signal(0x9)
28023- SIGPIPE = syscall.Signal(0xd)
28024 SIGPOLL = syscall.Signal(0x1d)
28025 SIGPROF = syscall.Signal(0x1b)
28026 SIGPWR = syscall.Signal(0x1e)
28027- SIGQUIT = syscall.Signal(0x3)
28028- SIGSEGV = syscall.Signal(0xb)
28029 SIGSTKFLT = syscall.Signal(0x10)
28030 SIGSTOP = syscall.Signal(0x13)
28031 SIGSYS = syscall.Signal(0x1f)
28032- SIGTERM = syscall.Signal(0xf)
28033- SIGTRAP = syscall.Signal(0x5)
28034 SIGTSTP = syscall.Signal(0x14)
28035 SIGTTIN = syscall.Signal(0x15)
28036 SIGTTOU = syscall.Signal(0x16)
28037- SIGUNUSED = syscall.Signal(0x1f)
28038 SIGURG = syscall.Signal(0x17)
28039 SIGUSR1 = syscall.Signal(0xa)
28040 SIGUSR2 = syscall.Signal(0xc)
28041@@ -2030,171 +606,179 @@ const (
28042 )
28043
28044 // Error table
28045-var errors = [...]string{
28046- 1: "operation not permitted",
28047- 2: "no such file or directory",
28048- 3: "no such process",
28049- 4: "interrupted system call",
28050- 5: "input/output error",
28051- 6: "no such device or address",
28052- 7: "argument list too long",
28053- 8: "exec format error",
28054- 9: "bad file descriptor",
28055- 10: "no child processes",
28056- 11: "resource temporarily unavailable",
28057- 12: "cannot allocate memory",
28058- 13: "permission denied",
28059- 14: "bad address",
28060- 15: "block device required",
28061- 16: "device or resource busy",
28062- 17: "file exists",
28063- 18: "invalid cross-device link",
28064- 19: "no such device",
28065- 20: "not a directory",
28066- 21: "is a directory",
28067- 22: "invalid argument",
28068- 23: "too many open files in system",
28069- 24: "too many open files",
28070- 25: "inappropriate ioctl for device",
28071- 26: "text file busy",
28072- 27: "file too large",
28073- 28: "no space left on device",
28074- 29: "illegal seek",
28075- 30: "read-only file system",
28076- 31: "too many links",
28077- 32: "broken pipe",
28078- 33: "numerical argument out of domain",
28079- 34: "numerical result out of range",
28080- 35: "resource deadlock avoided",
28081- 36: "file name too long",
28082- 37: "no locks available",
28083- 38: "function not implemented",
28084- 39: "directory not empty",
28085- 40: "too many levels of symbolic links",
28086- 42: "no message of desired type",
28087- 43: "identifier removed",
28088- 44: "channel number out of range",
28089- 45: "level 2 not synchronized",
28090- 46: "level 3 halted",
28091- 47: "level 3 reset",
28092- 48: "link number out of range",
28093- 49: "protocol driver not attached",
28094- 50: "no CSI structure available",
28095- 51: "level 2 halted",
28096- 52: "invalid exchange",
28097- 53: "invalid request descriptor",
28098- 54: "exchange full",
28099- 55: "no anode",
28100- 56: "invalid request code",
28101- 57: "invalid slot",
28102- 59: "bad font file format",
28103- 60: "device not a stream",
28104- 61: "no data available",
28105- 62: "timer expired",
28106- 63: "out of streams resources",
28107- 64: "machine is not on the network",
28108- 65: "package not installed",
28109- 66: "object is remote",
28110- 67: "link has been severed",
28111- 68: "advertise error",
28112- 69: "srmount error",
28113- 70: "communication error on send",
28114- 71: "protocol error",
28115- 72: "multihop attempted",
28116- 73: "RFS specific error",
28117- 74: "bad message",
28118- 75: "value too large for defined data type",
28119- 76: "name not unique on network",
28120- 77: "file descriptor in bad state",
28121- 78: "remote address changed",
28122- 79: "can not access a needed shared library",
28123- 80: "accessing a corrupted shared library",
28124- 81: ".lib section in a.out corrupted",
28125- 82: "attempting to link in too many shared libraries",
28126- 83: "cannot exec a shared library directly",
28127- 84: "invalid or incomplete multibyte or wide character",
28128- 85: "interrupted system call should be restarted",
28129- 86: "streams pipe error",
28130- 87: "too many users",
28131- 88: "socket operation on non-socket",
28132- 89: "destination address required",
28133- 90: "message too long",
28134- 91: "protocol wrong type for socket",
28135- 92: "protocol not available",
28136- 93: "protocol not supported",
28137- 94: "socket type not supported",
28138- 95: "operation not supported",
28139- 96: "protocol family not supported",
28140- 97: "address family not supported by protocol",
28141- 98: "address already in use",
28142- 99: "cannot assign requested address",
28143- 100: "network is down",
28144- 101: "network is unreachable",
28145- 102: "network dropped connection on reset",
28146- 103: "software caused connection abort",
28147- 104: "connection reset by peer",
28148- 105: "no buffer space available",
28149- 106: "transport endpoint is already connected",
28150- 107: "transport endpoint is not connected",
28151- 108: "cannot send after transport endpoint shutdown",
28152- 109: "too many references: cannot splice",
28153- 110: "connection timed out",
28154- 111: "connection refused",
28155- 112: "host is down",
28156- 113: "no route to host",
28157- 114: "operation already in progress",
28158- 115: "operation now in progress",
28159- 116: "stale file handle",
28160- 117: "structure needs cleaning",
28161- 118: "not a XENIX named type file",
28162- 119: "no XENIX semaphores available",
28163- 120: "is a named type file",
28164- 121: "remote I/O error",
28165- 122: "disk quota exceeded",
28166- 123: "no medium found",
28167- 124: "wrong medium type",
28168- 125: "operation canceled",
28169- 126: "required key not available",
28170- 127: "key has expired",
28171- 128: "key has been revoked",
28172- 129: "key was rejected by service",
28173- 130: "owner died",
28174- 131: "state not recoverable",
28175- 132: "operation not possible due to RF-kill",
28176- 133: "memory page has hardware error",
28177+var errorList = [...]struct {
28178+ num syscall.Errno
28179+ name string
28180+ desc string
28181+}{
28182+ {1, "EPERM", "operation not permitted"},
28183+ {2, "ENOENT", "no such file or directory"},
28184+ {3, "ESRCH", "no such process"},
28185+ {4, "EINTR", "interrupted system call"},
28186+ {5, "EIO", "input/output error"},
28187+ {6, "ENXIO", "no such device or address"},
28188+ {7, "E2BIG", "argument list too long"},
28189+ {8, "ENOEXEC", "exec format error"},
28190+ {9, "EBADF", "bad file descriptor"},
28191+ {10, "ECHILD", "no child processes"},
28192+ {11, "EAGAIN", "resource temporarily unavailable"},
28193+ {12, "ENOMEM", "cannot allocate memory"},
28194+ {13, "EACCES", "permission denied"},
28195+ {14, "EFAULT", "bad address"},
28196+ {15, "ENOTBLK", "block device required"},
28197+ {16, "EBUSY", "device or resource busy"},
28198+ {17, "EEXIST", "file exists"},
28199+ {18, "EXDEV", "invalid cross-device link"},
28200+ {19, "ENODEV", "no such device"},
28201+ {20, "ENOTDIR", "not a directory"},
28202+ {21, "EISDIR", "is a directory"},
28203+ {22, "EINVAL", "invalid argument"},
28204+ {23, "ENFILE", "too many open files in system"},
28205+ {24, "EMFILE", "too many open files"},
28206+ {25, "ENOTTY", "inappropriate ioctl for device"},
28207+ {26, "ETXTBSY", "text file busy"},
28208+ {27, "EFBIG", "file too large"},
28209+ {28, "ENOSPC", "no space left on device"},
28210+ {29, "ESPIPE", "illegal seek"},
28211+ {30, "EROFS", "read-only file system"},
28212+ {31, "EMLINK", "too many links"},
28213+ {32, "EPIPE", "broken pipe"},
28214+ {33, "EDOM", "numerical argument out of domain"},
28215+ {34, "ERANGE", "numerical result out of range"},
28216+ {35, "EDEADLK", "resource deadlock avoided"},
28217+ {36, "ENAMETOOLONG", "file name too long"},
28218+ {37, "ENOLCK", "no locks available"},
28219+ {38, "ENOSYS", "function not implemented"},
28220+ {39, "ENOTEMPTY", "directory not empty"},
28221+ {40, "ELOOP", "too many levels of symbolic links"},
28222+ {42, "ENOMSG", "no message of desired type"},
28223+ {43, "EIDRM", "identifier removed"},
28224+ {44, "ECHRNG", "channel number out of range"},
28225+ {45, "EL2NSYNC", "level 2 not synchronized"},
28226+ {46, "EL3HLT", "level 3 halted"},
28227+ {47, "EL3RST", "level 3 reset"},
28228+ {48, "ELNRNG", "link number out of range"},
28229+ {49, "EUNATCH", "protocol driver not attached"},
28230+ {50, "ENOCSI", "no CSI structure available"},
28231+ {51, "EL2HLT", "level 2 halted"},
28232+ {52, "EBADE", "invalid exchange"},
28233+ {53, "EBADR", "invalid request descriptor"},
28234+ {54, "EXFULL", "exchange full"},
28235+ {55, "ENOANO", "no anode"},
28236+ {56, "EBADRQC", "invalid request code"},
28237+ {57, "EBADSLT", "invalid slot"},
28238+ {59, "EBFONT", "bad font file format"},
28239+ {60, "ENOSTR", "device not a stream"},
28240+ {61, "ENODATA", "no data available"},
28241+ {62, "ETIME", "timer expired"},
28242+ {63, "ENOSR", "out of streams resources"},
28243+ {64, "ENONET", "machine is not on the network"},
28244+ {65, "ENOPKG", "package not installed"},
28245+ {66, "EREMOTE", "object is remote"},
28246+ {67, "ENOLINK", "link has been severed"},
28247+ {68, "EADV", "advertise error"},
28248+ {69, "ESRMNT", "srmount error"},
28249+ {70, "ECOMM", "communication error on send"},
28250+ {71, "EPROTO", "protocol error"},
28251+ {72, "EMULTIHOP", "multihop attempted"},
28252+ {73, "EDOTDOT", "RFS specific error"},
28253+ {74, "EBADMSG", "bad message"},
28254+ {75, "EOVERFLOW", "value too large for defined data type"},
28255+ {76, "ENOTUNIQ", "name not unique on network"},
28256+ {77, "EBADFD", "file descriptor in bad state"},
28257+ {78, "EREMCHG", "remote address changed"},
28258+ {79, "ELIBACC", "can not access a needed shared library"},
28259+ {80, "ELIBBAD", "accessing a corrupted shared library"},
28260+ {81, "ELIBSCN", ".lib section in a.out corrupted"},
28261+ {82, "ELIBMAX", "attempting to link in too many shared libraries"},
28262+ {83, "ELIBEXEC", "cannot exec a shared library directly"},
28263+ {84, "EILSEQ", "invalid or incomplete multibyte or wide character"},
28264+ {85, "ERESTART", "interrupted system call should be restarted"},
28265+ {86, "ESTRPIPE", "streams pipe error"},
28266+ {87, "EUSERS", "too many users"},
28267+ {88, "ENOTSOCK", "socket operation on non-socket"},
28268+ {89, "EDESTADDRREQ", "destination address required"},
28269+ {90, "EMSGSIZE", "message too long"},
28270+ {91, "EPROTOTYPE", "protocol wrong type for socket"},
28271+ {92, "ENOPROTOOPT", "protocol not available"},
28272+ {93, "EPROTONOSUPPORT", "protocol not supported"},
28273+ {94, "ESOCKTNOSUPPORT", "socket type not supported"},
28274+ {95, "ENOTSUP", "operation not supported"},
28275+ {96, "EPFNOSUPPORT", "protocol family not supported"},
28276+ {97, "EAFNOSUPPORT", "address family not supported by protocol"},
28277+ {98, "EADDRINUSE", "address already in use"},
28278+ {99, "EADDRNOTAVAIL", "cannot assign requested address"},
28279+ {100, "ENETDOWN", "network is down"},
28280+ {101, "ENETUNREACH", "network is unreachable"},
28281+ {102, "ENETRESET", "network dropped connection on reset"},
28282+ {103, "ECONNABORTED", "software caused connection abort"},
28283+ {104, "ECONNRESET", "connection reset by peer"},
28284+ {105, "ENOBUFS", "no buffer space available"},
28285+ {106, "EISCONN", "transport endpoint is already connected"},
28286+ {107, "ENOTCONN", "transport endpoint is not connected"},
28287+ {108, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
28288+ {109, "ETOOMANYREFS", "too many references: cannot splice"},
28289+ {110, "ETIMEDOUT", "connection timed out"},
28290+ {111, "ECONNREFUSED", "connection refused"},
28291+ {112, "EHOSTDOWN", "host is down"},
28292+ {113, "EHOSTUNREACH", "no route to host"},
28293+ {114, "EALREADY", "operation already in progress"},
28294+ {115, "EINPROGRESS", "operation now in progress"},
28295+ {116, "ESTALE", "stale file handle"},
28296+ {117, "EUCLEAN", "structure needs cleaning"},
28297+ {118, "ENOTNAM", "not a XENIX named type file"},
28298+ {119, "ENAVAIL", "no XENIX semaphores available"},
28299+ {120, "EISNAM", "is a named type file"},
28300+ {121, "EREMOTEIO", "remote I/O error"},
28301+ {122, "EDQUOT", "disk quota exceeded"},
28302+ {123, "ENOMEDIUM", "no medium found"},
28303+ {124, "EMEDIUMTYPE", "wrong medium type"},
28304+ {125, "ECANCELED", "operation canceled"},
28305+ {126, "ENOKEY", "required key not available"},
28306+ {127, "EKEYEXPIRED", "key has expired"},
28307+ {128, "EKEYREVOKED", "key has been revoked"},
28308+ {129, "EKEYREJECTED", "key was rejected by service"},
28309+ {130, "EOWNERDEAD", "owner died"},
28310+ {131, "ENOTRECOVERABLE", "state not recoverable"},
28311+ {132, "ERFKILL", "operation not possible due to RF-kill"},
28312+ {133, "EHWPOISON", "memory page has hardware error"},
28313 }
28314
28315 // Signal table
28316-var signals = [...]string{
28317- 1: "hangup",
28318- 2: "interrupt",
28319- 3: "quit",
28320- 4: "illegal instruction",
28321- 5: "trace/breakpoint trap",
28322- 6: "aborted",
28323- 7: "bus error",
28324- 8: "floating point exception",
28325- 9: "killed",
28326- 10: "user defined signal 1",
28327- 11: "segmentation fault",
28328- 12: "user defined signal 2",
28329- 13: "broken pipe",
28330- 14: "alarm clock",
28331- 15: "terminated",
28332- 16: "stack fault",
28333- 17: "child exited",
28334- 18: "continued",
28335- 19: "stopped (signal)",
28336- 20: "stopped",
28337- 21: "stopped (tty input)",
28338- 22: "stopped (tty output)",
28339- 23: "urgent I/O condition",
28340- 24: "CPU time limit exceeded",
28341- 25: "file size limit exceeded",
28342- 26: "virtual timer expired",
28343- 27: "profiling timer expired",
28344- 28: "window changed",
28345- 29: "I/O possible",
28346- 30: "power failure",
28347- 31: "bad system call",
28348+var signalList = [...]struct {
28349+ num syscall.Signal
28350+ name string
28351+ desc string
28352+}{
28353+ {1, "SIGHUP", "hangup"},
28354+ {2, "SIGINT", "interrupt"},
28355+ {3, "SIGQUIT", "quit"},
28356+ {4, "SIGILL", "illegal instruction"},
28357+ {5, "SIGTRAP", "trace/breakpoint trap"},
28358+ {6, "SIGABRT", "aborted"},
28359+ {7, "SIGBUS", "bus error"},
28360+ {8, "SIGFPE", "floating point exception"},
28361+ {9, "SIGKILL", "killed"},
28362+ {10, "SIGUSR1", "user defined signal 1"},
28363+ {11, "SIGSEGV", "segmentation fault"},
28364+ {12, "SIGUSR2", "user defined signal 2"},
28365+ {13, "SIGPIPE", "broken pipe"},
28366+ {14, "SIGALRM", "alarm clock"},
28367+ {15, "SIGTERM", "terminated"},
28368+ {16, "SIGSTKFLT", "stack fault"},
28369+ {17, "SIGCHLD", "child exited"},
28370+ {18, "SIGCONT", "continued"},
28371+ {19, "SIGSTOP", "stopped (signal)"},
28372+ {20, "SIGTSTP", "stopped"},
28373+ {21, "SIGTTIN", "stopped (tty input)"},
28374+ {22, "SIGTTOU", "stopped (tty output)"},
28375+ {23, "SIGURG", "urgent I/O condition"},
28376+ {24, "SIGXCPU", "CPU time limit exceeded"},
28377+ {25, "SIGXFSZ", "file size limit exceeded"},
28378+ {26, "SIGVTALRM", "virtual timer expired"},
28379+ {27, "SIGPROF", "profiling timer expired"},
28380+ {28, "SIGWINCH", "window changed"},
28381+ {29, "SIGIO", "I/O possible"},
28382+ {30, "SIGPWR", "power failure"},
28383+ {31, "SIGSYS", "bad system call"},
28384 }
28385diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go
28386index a6618fc1..005970f7 100644
28387--- a/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go
28388+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go
28389@@ -3,7 +3,7 @@
28390
28391 // +build amd64,linux
28392
28393-// Created by cgo -godefs - DO NOT EDIT
28394+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
28395 // cgo -godefs -- -Wall -Werror -static -I/tmp/include -m64 _const.go
28396
28397 package unix
28398@@ -11,1869 +11,487 @@ package unix
28399 import "syscall"
28400
28401 const (
28402- AF_ALG = 0x26
28403- AF_APPLETALK = 0x5
28404- AF_ASH = 0x12
28405- AF_ATMPVC = 0x8
28406- AF_ATMSVC = 0x14
28407- AF_AX25 = 0x3
28408- AF_BLUETOOTH = 0x1f
28409- AF_BRIDGE = 0x7
28410- AF_CAIF = 0x25
28411- AF_CAN = 0x1d
28412- AF_DECnet = 0xc
28413- AF_ECONET = 0x13
28414- AF_FILE = 0x1
28415- AF_IB = 0x1b
28416- AF_IEEE802154 = 0x24
28417- AF_INET = 0x2
28418- AF_INET6 = 0xa
28419- AF_IPX = 0x4
28420- AF_IRDA = 0x17
28421- AF_ISDN = 0x22
28422- AF_IUCV = 0x20
28423- AF_KCM = 0x29
28424- AF_KEY = 0xf
28425- AF_LLC = 0x1a
28426- AF_LOCAL = 0x1
28427- AF_MAX = 0x2b
28428- AF_MPLS = 0x1c
28429- AF_NETBEUI = 0xd
28430- AF_NETLINK = 0x10
28431- AF_NETROM = 0x6
28432- AF_NFC = 0x27
28433- AF_PACKET = 0x11
28434- AF_PHONET = 0x23
28435- AF_PPPOX = 0x18
28436- AF_QIPCRTR = 0x2a
28437- AF_RDS = 0x15
28438- AF_ROSE = 0xb
28439- AF_ROUTE = 0x10
28440- AF_RXRPC = 0x21
28441- AF_SECURITY = 0xe
28442- AF_SNA = 0x16
28443- AF_TIPC = 0x1e
28444- AF_UNIX = 0x1
28445- AF_UNSPEC = 0x0
28446- AF_VSOCK = 0x28
28447- AF_WANPIPE = 0x19
28448- AF_X25 = 0x9
28449- ALG_OP_DECRYPT = 0x0
28450- ALG_OP_ENCRYPT = 0x1
28451- ALG_SET_AEAD_ASSOCLEN = 0x4
28452- ALG_SET_AEAD_AUTHSIZE = 0x5
28453- ALG_SET_IV = 0x2
28454- ALG_SET_KEY = 0x1
28455- ALG_SET_OP = 0x3
28456- ARPHRD_6LOWPAN = 0x339
28457- ARPHRD_ADAPT = 0x108
28458- ARPHRD_APPLETLK = 0x8
28459- ARPHRD_ARCNET = 0x7
28460- ARPHRD_ASH = 0x30d
28461- ARPHRD_ATM = 0x13
28462- ARPHRD_AX25 = 0x3
28463- ARPHRD_BIF = 0x307
28464- ARPHRD_CAIF = 0x336
28465- ARPHRD_CAN = 0x118
28466- ARPHRD_CHAOS = 0x5
28467- ARPHRD_CISCO = 0x201
28468- ARPHRD_CSLIP = 0x101
28469- ARPHRD_CSLIP6 = 0x103
28470- ARPHRD_DDCMP = 0x205
28471- ARPHRD_DLCI = 0xf
28472- ARPHRD_ECONET = 0x30e
28473- ARPHRD_EETHER = 0x2
28474- ARPHRD_ETHER = 0x1
28475- ARPHRD_EUI64 = 0x1b
28476- ARPHRD_FCAL = 0x311
28477- ARPHRD_FCFABRIC = 0x313
28478- ARPHRD_FCPL = 0x312
28479- ARPHRD_FCPP = 0x310
28480- ARPHRD_FDDI = 0x306
28481- ARPHRD_FRAD = 0x302
28482- ARPHRD_HDLC = 0x201
28483- ARPHRD_HIPPI = 0x30c
28484- ARPHRD_HWX25 = 0x110
28485- ARPHRD_IEEE1394 = 0x18
28486- ARPHRD_IEEE802 = 0x6
28487- ARPHRD_IEEE80211 = 0x321
28488- ARPHRD_IEEE80211_PRISM = 0x322
28489- ARPHRD_IEEE80211_RADIOTAP = 0x323
28490- ARPHRD_IEEE802154 = 0x324
28491- ARPHRD_IEEE802154_MONITOR = 0x325
28492- ARPHRD_IEEE802_TR = 0x320
28493- ARPHRD_INFINIBAND = 0x20
28494- ARPHRD_IP6GRE = 0x337
28495- ARPHRD_IPDDP = 0x309
28496- ARPHRD_IPGRE = 0x30a
28497- ARPHRD_IRDA = 0x30f
28498- ARPHRD_LAPB = 0x204
28499- ARPHRD_LOCALTLK = 0x305
28500- ARPHRD_LOOPBACK = 0x304
28501- ARPHRD_METRICOM = 0x17
28502- ARPHRD_NETLINK = 0x338
28503- ARPHRD_NETROM = 0x0
28504- ARPHRD_NONE = 0xfffe
28505- ARPHRD_PHONET = 0x334
28506- ARPHRD_PHONET_PIPE = 0x335
28507- ARPHRD_PIMREG = 0x30b
28508- ARPHRD_PPP = 0x200
28509- ARPHRD_PRONET = 0x4
28510- ARPHRD_RAWHDLC = 0x206
28511- ARPHRD_ROSE = 0x10e
28512- ARPHRD_RSRVD = 0x104
28513- ARPHRD_SIT = 0x308
28514- ARPHRD_SKIP = 0x303
28515- ARPHRD_SLIP = 0x100
28516- ARPHRD_SLIP6 = 0x102
28517- ARPHRD_TUNNEL = 0x300
28518- ARPHRD_TUNNEL6 = 0x301
28519- ARPHRD_VOID = 0xffff
28520- ARPHRD_X25 = 0x10f
28521- B0 = 0x0
28522- B1000000 = 0x1008
28523- B110 = 0x3
28524- B115200 = 0x1002
28525- B1152000 = 0x1009
28526- B1200 = 0x9
28527- B134 = 0x4
28528- B150 = 0x5
28529- B1500000 = 0x100a
28530- B1800 = 0xa
28531- B19200 = 0xe
28532- B200 = 0x6
28533- B2000000 = 0x100b
28534- B230400 = 0x1003
28535- B2400 = 0xb
28536- B2500000 = 0x100c
28537- B300 = 0x7
28538- B3000000 = 0x100d
28539- B3500000 = 0x100e
28540- B38400 = 0xf
28541- B4000000 = 0x100f
28542- B460800 = 0x1004
28543- B4800 = 0xc
28544- B50 = 0x1
28545- B500000 = 0x1005
28546- B57600 = 0x1001
28547- B576000 = 0x1006
28548- B600 = 0x8
28549- B75 = 0x2
28550- B921600 = 0x1007
28551- B9600 = 0xd
28552- BLKBSZGET = 0x80081270
28553- BLKBSZSET = 0x40081271
28554- BLKFLSBUF = 0x1261
28555- BLKFRAGET = 0x1265
28556- BLKFRASET = 0x1264
28557- BLKGETSIZE = 0x1260
28558- BLKGETSIZE64 = 0x80081272
28559- BLKPBSZGET = 0x127b
28560- BLKRAGET = 0x1263
28561- BLKRASET = 0x1262
28562- BLKROGET = 0x125e
28563- BLKROSET = 0x125d
28564- BLKRRPART = 0x125f
28565- BLKSECTGET = 0x1267
28566- BLKSECTSET = 0x1266
28567- BLKSSZGET = 0x1268
28568- BOTHER = 0x1000
28569- BPF_A = 0x10
28570- BPF_ABS = 0x20
28571- BPF_ADD = 0x0
28572- BPF_ALU = 0x4
28573- BPF_AND = 0x50
28574- BPF_B = 0x10
28575- BPF_DIV = 0x30
28576- BPF_H = 0x8
28577- BPF_IMM = 0x0
28578- BPF_IND = 0x40
28579- BPF_JA = 0x0
28580- BPF_JEQ = 0x10
28581- BPF_JGE = 0x30
28582- BPF_JGT = 0x20
28583- BPF_JMP = 0x5
28584- BPF_JSET = 0x40
28585- BPF_K = 0x0
28586- BPF_LD = 0x0
28587- BPF_LDX = 0x1
28588- BPF_LEN = 0x80
28589- BPF_LL_OFF = -0x200000
28590- BPF_LSH = 0x60
28591- BPF_MAJOR_VERSION = 0x1
28592- BPF_MAXINSNS = 0x1000
28593- BPF_MEM = 0x60
28594- BPF_MEMWORDS = 0x10
28595- BPF_MINOR_VERSION = 0x1
28596- BPF_MISC = 0x7
28597- BPF_MOD = 0x90
28598- BPF_MSH = 0xa0
28599- BPF_MUL = 0x20
28600- BPF_NEG = 0x80
28601- BPF_NET_OFF = -0x100000
28602- BPF_OR = 0x40
28603- BPF_RET = 0x6
28604- BPF_RSH = 0x70
28605- BPF_ST = 0x2
28606- BPF_STX = 0x3
28607- BPF_SUB = 0x10
28608- BPF_TAX = 0x0
28609- BPF_TXA = 0x80
28610- BPF_W = 0x0
28611- BPF_X = 0x8
28612- BPF_XOR = 0xa0
28613- BRKINT = 0x2
28614- BS0 = 0x0
28615- BS1 = 0x2000
28616- BSDLY = 0x2000
28617- CAN_BCM = 0x2
28618- CAN_EFF_FLAG = 0x80000000
28619- CAN_EFF_ID_BITS = 0x1d
28620- CAN_EFF_MASK = 0x1fffffff
28621- CAN_ERR_FLAG = 0x20000000
28622- CAN_ERR_MASK = 0x1fffffff
28623- CAN_INV_FILTER = 0x20000000
28624- CAN_ISOTP = 0x6
28625- CAN_MAX_DLC = 0x8
28626- CAN_MAX_DLEN = 0x8
28627- CAN_MCNET = 0x5
28628- CAN_MTU = 0x10
28629- CAN_NPROTO = 0x7
28630- CAN_RAW = 0x1
28631- CAN_RAW_FILTER_MAX = 0x200
28632- CAN_RTR_FLAG = 0x40000000
28633- CAN_SFF_ID_BITS = 0xb
28634- CAN_SFF_MASK = 0x7ff
28635- CAN_TP16 = 0x3
28636- CAN_TP20 = 0x4
28637- CBAUD = 0x100f
28638- CBAUDEX = 0x1000
28639- CFLUSH = 0xf
28640- CIBAUD = 0x100f0000
28641- CLOCAL = 0x800
28642- CLOCK_BOOTTIME = 0x7
28643- CLOCK_BOOTTIME_ALARM = 0x9
28644- CLOCK_DEFAULT = 0x0
28645- CLOCK_EXT = 0x1
28646- CLOCK_INT = 0x2
28647- CLOCK_MONOTONIC = 0x1
28648- CLOCK_MONOTONIC_COARSE = 0x6
28649- CLOCK_MONOTONIC_RAW = 0x4
28650- CLOCK_PROCESS_CPUTIME_ID = 0x2
28651- CLOCK_REALTIME = 0x0
28652- CLOCK_REALTIME_ALARM = 0x8
28653- CLOCK_REALTIME_COARSE = 0x5
28654- CLOCK_TAI = 0xb
28655- CLOCK_THREAD_CPUTIME_ID = 0x3
28656- CLOCK_TXFROMRX = 0x4
28657- CLOCK_TXINT = 0x3
28658- CLONE_CHILD_CLEARTID = 0x200000
28659- CLONE_CHILD_SETTID = 0x1000000
28660- CLONE_DETACHED = 0x400000
28661- CLONE_FILES = 0x400
28662- CLONE_FS = 0x200
28663- CLONE_IO = 0x80000000
28664- CLONE_NEWCGROUP = 0x2000000
28665- CLONE_NEWIPC = 0x8000000
28666- CLONE_NEWNET = 0x40000000
28667- CLONE_NEWNS = 0x20000
28668- CLONE_NEWPID = 0x20000000
28669- CLONE_NEWUSER = 0x10000000
28670- CLONE_NEWUTS = 0x4000000
28671- CLONE_PARENT = 0x8000
28672- CLONE_PARENT_SETTID = 0x100000
28673- CLONE_PTRACE = 0x2000
28674- CLONE_SETTLS = 0x80000
28675- CLONE_SIGHAND = 0x800
28676- CLONE_SYSVSEM = 0x40000
28677- CLONE_THREAD = 0x10000
28678- CLONE_UNTRACED = 0x800000
28679- CLONE_VFORK = 0x4000
28680- CLONE_VM = 0x100
28681- CMSPAR = 0x40000000
28682- CR0 = 0x0
28683- CR1 = 0x200
28684- CR2 = 0x400
28685- CR3 = 0x600
28686- CRDLY = 0x600
28687- CREAD = 0x80
28688- CRTSCTS = 0x80000000
28689- CS5 = 0x0
28690- CS6 = 0x10
28691- CS7 = 0x20
28692- CS8 = 0x30
28693- CSIGNAL = 0xff
28694- CSIZE = 0x30
28695- CSTART = 0x11
28696- CSTATUS = 0x0
28697- CSTOP = 0x13
28698- CSTOPB = 0x40
28699- CSUSP = 0x1a
28700- DT_BLK = 0x6
28701- DT_CHR = 0x2
28702- DT_DIR = 0x4
28703- DT_FIFO = 0x1
28704- DT_LNK = 0xa
28705- DT_REG = 0x8
28706- DT_SOCK = 0xc
28707- DT_UNKNOWN = 0x0
28708- DT_WHT = 0xe
28709- ECHO = 0x8
28710- ECHOCTL = 0x200
28711- ECHOE = 0x10
28712- ECHOK = 0x20
28713- ECHOKE = 0x800
28714- ECHONL = 0x40
28715- ECHOPRT = 0x400
28716- EFD_CLOEXEC = 0x80000
28717- EFD_NONBLOCK = 0x800
28718- EFD_SEMAPHORE = 0x1
28719- ENCODING_DEFAULT = 0x0
28720- ENCODING_FM_MARK = 0x3
28721- ENCODING_FM_SPACE = 0x4
28722- ENCODING_MANCHESTER = 0x5
28723- ENCODING_NRZ = 0x1
28724- ENCODING_NRZI = 0x2
28725- EPOLLERR = 0x8
28726- EPOLLET = 0x80000000
28727- EPOLLEXCLUSIVE = 0x10000000
28728- EPOLLHUP = 0x10
28729- EPOLLIN = 0x1
28730- EPOLLMSG = 0x400
28731- EPOLLONESHOT = 0x40000000
28732- EPOLLOUT = 0x4
28733- EPOLLPRI = 0x2
28734- EPOLLRDBAND = 0x80
28735- EPOLLRDHUP = 0x2000
28736- EPOLLRDNORM = 0x40
28737- EPOLLWAKEUP = 0x20000000
28738- EPOLLWRBAND = 0x200
28739- EPOLLWRNORM = 0x100
28740- EPOLL_CLOEXEC = 0x80000
28741- EPOLL_CTL_ADD = 0x1
28742- EPOLL_CTL_DEL = 0x2
28743- EPOLL_CTL_MOD = 0x3
28744- ETH_P_1588 = 0x88f7
28745- ETH_P_8021AD = 0x88a8
28746- ETH_P_8021AH = 0x88e7
28747- ETH_P_8021Q = 0x8100
28748- ETH_P_80221 = 0x8917
28749- ETH_P_802_2 = 0x4
28750- ETH_P_802_3 = 0x1
28751- ETH_P_802_3_MIN = 0x600
28752- ETH_P_802_EX1 = 0x88b5
28753- ETH_P_AARP = 0x80f3
28754- ETH_P_AF_IUCV = 0xfbfb
28755- ETH_P_ALL = 0x3
28756- ETH_P_AOE = 0x88a2
28757- ETH_P_ARCNET = 0x1a
28758- ETH_P_ARP = 0x806
28759- ETH_P_ATALK = 0x809b
28760- ETH_P_ATMFATE = 0x8884
28761- ETH_P_ATMMPOA = 0x884c
28762- ETH_P_AX25 = 0x2
28763- ETH_P_BATMAN = 0x4305
28764- ETH_P_BPQ = 0x8ff
28765- ETH_P_CAIF = 0xf7
28766- ETH_P_CAN = 0xc
28767- ETH_P_CANFD = 0xd
28768- ETH_P_CONTROL = 0x16
28769- ETH_P_CUST = 0x6006
28770- ETH_P_DDCMP = 0x6
28771- ETH_P_DEC = 0x6000
28772- ETH_P_DIAG = 0x6005
28773- ETH_P_DNA_DL = 0x6001
28774- ETH_P_DNA_RC = 0x6002
28775- ETH_P_DNA_RT = 0x6003
28776- ETH_P_DSA = 0x1b
28777- ETH_P_ECONET = 0x18
28778- ETH_P_EDSA = 0xdada
28779- ETH_P_FCOE = 0x8906
28780- ETH_P_FIP = 0x8914
28781- ETH_P_HDLC = 0x19
28782- ETH_P_HSR = 0x892f
28783- ETH_P_IEEE802154 = 0xf6
28784- ETH_P_IEEEPUP = 0xa00
28785- ETH_P_IEEEPUPAT = 0xa01
28786- ETH_P_IP = 0x800
28787- ETH_P_IPV6 = 0x86dd
28788- ETH_P_IPX = 0x8137
28789- ETH_P_IRDA = 0x17
28790- ETH_P_LAT = 0x6004
28791- ETH_P_LINK_CTL = 0x886c
28792- ETH_P_LOCALTALK = 0x9
28793- ETH_P_LOOP = 0x60
28794- ETH_P_LOOPBACK = 0x9000
28795- ETH_P_MACSEC = 0x88e5
28796- ETH_P_MOBITEX = 0x15
28797- ETH_P_MPLS_MC = 0x8848
28798- ETH_P_MPLS_UC = 0x8847
28799- ETH_P_MVRP = 0x88f5
28800- ETH_P_NCSI = 0x88f8
28801- ETH_P_PAE = 0x888e
28802- ETH_P_PAUSE = 0x8808
28803- ETH_P_PHONET = 0xf5
28804- ETH_P_PPPTALK = 0x10
28805- ETH_P_PPP_DISC = 0x8863
28806- ETH_P_PPP_MP = 0x8
28807- ETH_P_PPP_SES = 0x8864
28808- ETH_P_PRP = 0x88fb
28809- ETH_P_PUP = 0x200
28810- ETH_P_PUPAT = 0x201
28811- ETH_P_QINQ1 = 0x9100
28812- ETH_P_QINQ2 = 0x9200
28813- ETH_P_QINQ3 = 0x9300
28814- ETH_P_RARP = 0x8035
28815- ETH_P_SCA = 0x6007
28816- ETH_P_SLOW = 0x8809
28817- ETH_P_SNAP = 0x5
28818- ETH_P_TDLS = 0x890d
28819- ETH_P_TEB = 0x6558
28820- ETH_P_TIPC = 0x88ca
28821- ETH_P_TRAILER = 0x1c
28822- ETH_P_TR_802_2 = 0x11
28823- ETH_P_TSN = 0x22f0
28824- ETH_P_WAN_PPP = 0x7
28825- ETH_P_WCCP = 0x883e
28826- ETH_P_X25 = 0x805
28827- ETH_P_XDSA = 0xf8
28828- EXTA = 0xe
28829- EXTB = 0xf
28830- EXTPROC = 0x10000
28831- FALLOC_FL_COLLAPSE_RANGE = 0x8
28832- FALLOC_FL_INSERT_RANGE = 0x20
28833- FALLOC_FL_KEEP_SIZE = 0x1
28834- FALLOC_FL_NO_HIDE_STALE = 0x4
28835- FALLOC_FL_PUNCH_HOLE = 0x2
28836- FALLOC_FL_UNSHARE_RANGE = 0x40
28837- FALLOC_FL_ZERO_RANGE = 0x10
28838- FD_CLOEXEC = 0x1
28839- FD_SETSIZE = 0x400
28840- FF0 = 0x0
28841- FF1 = 0x8000
28842- FFDLY = 0x8000
28843- FLUSHO = 0x1000
28844- FS_ENCRYPTION_MODE_AES_256_CBC = 0x3
28845- FS_ENCRYPTION_MODE_AES_256_CTS = 0x4
28846- FS_ENCRYPTION_MODE_AES_256_GCM = 0x2
28847- FS_ENCRYPTION_MODE_AES_256_XTS = 0x1
28848- FS_ENCRYPTION_MODE_INVALID = 0x0
28849- FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615
28850- FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614
28851- FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613
28852- FS_KEY_DESCRIPTOR_SIZE = 0x8
28853- FS_KEY_DESC_PREFIX = "fscrypt:"
28854- FS_KEY_DESC_PREFIX_SIZE = 0x8
28855- FS_MAX_KEY_SIZE = 0x40
28856- FS_POLICY_FLAGS_PAD_16 = 0x2
28857- FS_POLICY_FLAGS_PAD_32 = 0x3
28858- FS_POLICY_FLAGS_PAD_4 = 0x0
28859- FS_POLICY_FLAGS_PAD_8 = 0x1
28860- FS_POLICY_FLAGS_PAD_MASK = 0x3
28861- FS_POLICY_FLAGS_VALID = 0x3
28862- F_DUPFD = 0x0
28863- F_DUPFD_CLOEXEC = 0x406
28864- F_EXLCK = 0x4
28865- F_GETFD = 0x1
28866- F_GETFL = 0x3
28867- F_GETLEASE = 0x401
28868- F_GETLK = 0x5
28869- F_GETLK64 = 0x5
28870- F_GETOWN = 0x9
28871- F_GETOWN_EX = 0x10
28872- F_GETPIPE_SZ = 0x408
28873- F_GETSIG = 0xb
28874- F_LOCK = 0x1
28875- F_NOTIFY = 0x402
28876- F_OFD_GETLK = 0x24
28877- F_OFD_SETLK = 0x25
28878- F_OFD_SETLKW = 0x26
28879- F_OK = 0x0
28880- F_RDLCK = 0x0
28881- F_SETFD = 0x2
28882- F_SETFL = 0x4
28883- F_SETLEASE = 0x400
28884- F_SETLK = 0x6
28885- F_SETLK64 = 0x6
28886- F_SETLKW = 0x7
28887- F_SETLKW64 = 0x7
28888- F_SETOWN = 0x8
28889- F_SETOWN_EX = 0xf
28890- F_SETPIPE_SZ = 0x407
28891- F_SETSIG = 0xa
28892- F_SHLCK = 0x8
28893- F_TEST = 0x3
28894- F_TLOCK = 0x2
28895- F_ULOCK = 0x0
28896- F_UNLCK = 0x2
28897- F_WRLCK = 0x1
28898- GENL_ADMIN_PERM = 0x1
28899- GENL_CMD_CAP_DO = 0x2
28900- GENL_CMD_CAP_DUMP = 0x4
28901- GENL_CMD_CAP_HASPOL = 0x8
28902- GENL_HDRLEN = 0x4
28903- GENL_ID_CTRL = 0x10
28904- GENL_ID_PMCRAID = 0x12
28905- GENL_ID_VFS_DQUOT = 0x11
28906- GENL_MAX_ID = 0x3ff
28907- GENL_MIN_ID = 0x10
28908- GENL_NAMSIZ = 0x10
28909- GENL_START_ALLOC = 0x13
28910- GENL_UNS_ADMIN_PERM = 0x10
28911- GRND_NONBLOCK = 0x1
28912- GRND_RANDOM = 0x2
28913- HUPCL = 0x400
28914- IBSHIFT = 0x10
28915- ICANON = 0x2
28916- ICMPV6_FILTER = 0x1
28917- ICRNL = 0x100
28918- IEXTEN = 0x8000
28919- IFA_F_DADFAILED = 0x8
28920- IFA_F_DEPRECATED = 0x20
28921- IFA_F_HOMEADDRESS = 0x10
28922- IFA_F_MANAGETEMPADDR = 0x100
28923- IFA_F_MCAUTOJOIN = 0x400
28924- IFA_F_NODAD = 0x2
28925- IFA_F_NOPREFIXROUTE = 0x200
28926- IFA_F_OPTIMISTIC = 0x4
28927- IFA_F_PERMANENT = 0x80
28928- IFA_F_SECONDARY = 0x1
28929- IFA_F_STABLE_PRIVACY = 0x800
28930- IFA_F_TEMPORARY = 0x1
28931- IFA_F_TENTATIVE = 0x40
28932- IFA_MAX = 0x8
28933- IFF_ALLMULTI = 0x200
28934- IFF_ATTACH_QUEUE = 0x200
28935- IFF_AUTOMEDIA = 0x4000
28936- IFF_BROADCAST = 0x2
28937- IFF_DEBUG = 0x4
28938- IFF_DETACH_QUEUE = 0x400
28939- IFF_DORMANT = 0x20000
28940- IFF_DYNAMIC = 0x8000
28941- IFF_ECHO = 0x40000
28942- IFF_LOOPBACK = 0x8
28943- IFF_LOWER_UP = 0x10000
28944- IFF_MASTER = 0x400
28945- IFF_MULTICAST = 0x1000
28946- IFF_MULTI_QUEUE = 0x100
28947- IFF_NOARP = 0x80
28948- IFF_NOFILTER = 0x1000
28949- IFF_NOTRAILERS = 0x20
28950- IFF_NO_PI = 0x1000
28951- IFF_ONE_QUEUE = 0x2000
28952- IFF_PERSIST = 0x800
28953- IFF_POINTOPOINT = 0x10
28954- IFF_PORTSEL = 0x2000
28955- IFF_PROMISC = 0x100
28956- IFF_RUNNING = 0x40
28957- IFF_SLAVE = 0x800
28958- IFF_TAP = 0x2
28959- IFF_TUN = 0x1
28960- IFF_TUN_EXCL = 0x8000
28961- IFF_UP = 0x1
28962- IFF_VNET_HDR = 0x4000
28963- IFF_VOLATILE = 0x70c5a
28964- IFNAMSIZ = 0x10
28965- IGNBRK = 0x1
28966- IGNCR = 0x80
28967- IGNPAR = 0x4
28968- IMAXBEL = 0x2000
28969- INLCR = 0x40
28970- INPCK = 0x10
28971- IN_ACCESS = 0x1
28972- IN_ALL_EVENTS = 0xfff
28973- IN_ATTRIB = 0x4
28974- IN_CLASSA_HOST = 0xffffff
28975- IN_CLASSA_MAX = 0x80
28976- IN_CLASSA_NET = 0xff000000
28977- IN_CLASSA_NSHIFT = 0x18
28978- IN_CLASSB_HOST = 0xffff
28979- IN_CLASSB_MAX = 0x10000
28980- IN_CLASSB_NET = 0xffff0000
28981- IN_CLASSB_NSHIFT = 0x10
28982- IN_CLASSC_HOST = 0xff
28983- IN_CLASSC_NET = 0xffffff00
28984- IN_CLASSC_NSHIFT = 0x8
28985- IN_CLOEXEC = 0x80000
28986- IN_CLOSE = 0x18
28987- IN_CLOSE_NOWRITE = 0x10
28988- IN_CLOSE_WRITE = 0x8
28989- IN_CREATE = 0x100
28990- IN_DELETE = 0x200
28991- IN_DELETE_SELF = 0x400
28992- IN_DONT_FOLLOW = 0x2000000
28993- IN_EXCL_UNLINK = 0x4000000
28994- IN_IGNORED = 0x8000
28995- IN_ISDIR = 0x40000000
28996- IN_LOOPBACKNET = 0x7f
28997- IN_MASK_ADD = 0x20000000
28998- IN_MODIFY = 0x2
28999- IN_MOVE = 0xc0
29000- IN_MOVED_FROM = 0x40
29001- IN_MOVED_TO = 0x80
29002- IN_MOVE_SELF = 0x800
29003- IN_NONBLOCK = 0x800
29004- IN_ONESHOT = 0x80000000
29005- IN_ONLYDIR = 0x1000000
29006- IN_OPEN = 0x20
29007- IN_Q_OVERFLOW = 0x4000
29008- IN_UNMOUNT = 0x2000
29009- IPPROTO_AH = 0x33
29010- IPPROTO_BEETPH = 0x5e
29011- IPPROTO_COMP = 0x6c
29012- IPPROTO_DCCP = 0x21
29013- IPPROTO_DSTOPTS = 0x3c
29014- IPPROTO_EGP = 0x8
29015- IPPROTO_ENCAP = 0x62
29016- IPPROTO_ESP = 0x32
29017- IPPROTO_FRAGMENT = 0x2c
29018- IPPROTO_GRE = 0x2f
29019- IPPROTO_HOPOPTS = 0x0
29020- IPPROTO_ICMP = 0x1
29021- IPPROTO_ICMPV6 = 0x3a
29022- IPPROTO_IDP = 0x16
29023- IPPROTO_IGMP = 0x2
29024- IPPROTO_IP = 0x0
29025- IPPROTO_IPIP = 0x4
29026- IPPROTO_IPV6 = 0x29
29027- IPPROTO_MH = 0x87
29028- IPPROTO_MPLS = 0x89
29029- IPPROTO_MTP = 0x5c
29030- IPPROTO_NONE = 0x3b
29031- IPPROTO_PIM = 0x67
29032- IPPROTO_PUP = 0xc
29033- IPPROTO_RAW = 0xff
29034- IPPROTO_ROUTING = 0x2b
29035- IPPROTO_RSVP = 0x2e
29036- IPPROTO_SCTP = 0x84
29037- IPPROTO_TCP = 0x6
29038- IPPROTO_TP = 0x1d
29039- IPPROTO_UDP = 0x11
29040- IPPROTO_UDPLITE = 0x88
29041- IPV6_2292DSTOPTS = 0x4
29042- IPV6_2292HOPLIMIT = 0x8
29043- IPV6_2292HOPOPTS = 0x3
29044- IPV6_2292PKTINFO = 0x2
29045- IPV6_2292PKTOPTIONS = 0x6
29046- IPV6_2292RTHDR = 0x5
29047- IPV6_ADDRFORM = 0x1
29048- IPV6_ADD_MEMBERSHIP = 0x14
29049- IPV6_AUTHHDR = 0xa
29050- IPV6_CHECKSUM = 0x7
29051- IPV6_DONTFRAG = 0x3e
29052- IPV6_DROP_MEMBERSHIP = 0x15
29053- IPV6_DSTOPTS = 0x3b
29054- IPV6_HDRINCL = 0x24
29055- IPV6_HOPLIMIT = 0x34
29056- IPV6_HOPOPTS = 0x36
29057- IPV6_IPSEC_POLICY = 0x22
29058- IPV6_JOIN_ANYCAST = 0x1b
29059- IPV6_JOIN_GROUP = 0x14
29060- IPV6_LEAVE_ANYCAST = 0x1c
29061- IPV6_LEAVE_GROUP = 0x15
29062- IPV6_MTU = 0x18
29063- IPV6_MTU_DISCOVER = 0x17
29064- IPV6_MULTICAST_HOPS = 0x12
29065- IPV6_MULTICAST_IF = 0x11
29066- IPV6_MULTICAST_LOOP = 0x13
29067- IPV6_NEXTHOP = 0x9
29068- IPV6_PATHMTU = 0x3d
29069- IPV6_PKTINFO = 0x32
29070- IPV6_PMTUDISC_DO = 0x2
29071- IPV6_PMTUDISC_DONT = 0x0
29072- IPV6_PMTUDISC_INTERFACE = 0x4
29073- IPV6_PMTUDISC_OMIT = 0x5
29074- IPV6_PMTUDISC_PROBE = 0x3
29075- IPV6_PMTUDISC_WANT = 0x1
29076- IPV6_RECVDSTOPTS = 0x3a
29077- IPV6_RECVERR = 0x19
29078- IPV6_RECVHOPLIMIT = 0x33
29079- IPV6_RECVHOPOPTS = 0x35
29080- IPV6_RECVPATHMTU = 0x3c
29081- IPV6_RECVPKTINFO = 0x31
29082- IPV6_RECVRTHDR = 0x38
29083- IPV6_RECVTCLASS = 0x42
29084- IPV6_ROUTER_ALERT = 0x16
29085- IPV6_RTHDR = 0x39
29086- IPV6_RTHDRDSTOPTS = 0x37
29087- IPV6_RTHDR_LOOSE = 0x0
29088- IPV6_RTHDR_STRICT = 0x1
29089- IPV6_RTHDR_TYPE_0 = 0x0
29090- IPV6_RXDSTOPTS = 0x3b
29091- IPV6_RXHOPOPTS = 0x36
29092- IPV6_TCLASS = 0x43
29093- IPV6_UNICAST_HOPS = 0x10
29094- IPV6_V6ONLY = 0x1a
29095- IPV6_XFRM_POLICY = 0x23
29096- IP_ADD_MEMBERSHIP = 0x23
29097- IP_ADD_SOURCE_MEMBERSHIP = 0x27
29098- IP_BIND_ADDRESS_NO_PORT = 0x18
29099- IP_BLOCK_SOURCE = 0x26
29100- IP_CHECKSUM = 0x17
29101- IP_DEFAULT_MULTICAST_LOOP = 0x1
29102- IP_DEFAULT_MULTICAST_TTL = 0x1
29103- IP_DF = 0x4000
29104- IP_DROP_MEMBERSHIP = 0x24
29105- IP_DROP_SOURCE_MEMBERSHIP = 0x28
29106- IP_FREEBIND = 0xf
29107- IP_HDRINCL = 0x3
29108- IP_IPSEC_POLICY = 0x10
29109- IP_MAXPACKET = 0xffff
29110- IP_MAX_MEMBERSHIPS = 0x14
29111- IP_MF = 0x2000
29112- IP_MINTTL = 0x15
29113- IP_MSFILTER = 0x29
29114- IP_MSS = 0x240
29115- IP_MTU = 0xe
29116- IP_MTU_DISCOVER = 0xa
29117- IP_MULTICAST_ALL = 0x31
29118- IP_MULTICAST_IF = 0x20
29119- IP_MULTICAST_LOOP = 0x22
29120- IP_MULTICAST_TTL = 0x21
29121- IP_NODEFRAG = 0x16
29122- IP_OFFMASK = 0x1fff
29123- IP_OPTIONS = 0x4
29124- IP_ORIGDSTADDR = 0x14
29125- IP_PASSSEC = 0x12
29126- IP_PKTINFO = 0x8
29127- IP_PKTOPTIONS = 0x9
29128- IP_PMTUDISC = 0xa
29129- IP_PMTUDISC_DO = 0x2
29130- IP_PMTUDISC_DONT = 0x0
29131- IP_PMTUDISC_INTERFACE = 0x4
29132- IP_PMTUDISC_OMIT = 0x5
29133- IP_PMTUDISC_PROBE = 0x3
29134- IP_PMTUDISC_WANT = 0x1
29135- IP_RECVERR = 0xb
29136- IP_RECVOPTS = 0x6
29137- IP_RECVORIGDSTADDR = 0x14
29138- IP_RECVRETOPTS = 0x7
29139- IP_RECVTOS = 0xd
29140- IP_RECVTTL = 0xc
29141- IP_RETOPTS = 0x7
29142- IP_RF = 0x8000
29143- IP_ROUTER_ALERT = 0x5
29144- IP_TOS = 0x1
29145- IP_TRANSPARENT = 0x13
29146- IP_TTL = 0x2
29147- IP_UNBLOCK_SOURCE = 0x25
29148- IP_UNICAST_IF = 0x32
29149- IP_XFRM_POLICY = 0x11
29150- ISIG = 0x1
29151- ISTRIP = 0x20
29152- IUCLC = 0x200
29153- IUTF8 = 0x4000
29154- IXANY = 0x800
29155- IXOFF = 0x1000
29156- IXON = 0x400
29157- KEYCTL_ASSUME_AUTHORITY = 0x10
29158- KEYCTL_CHOWN = 0x4
29159- KEYCTL_CLEAR = 0x7
29160- KEYCTL_DESCRIBE = 0x6
29161- KEYCTL_DH_COMPUTE = 0x17
29162- KEYCTL_GET_KEYRING_ID = 0x0
29163- KEYCTL_GET_PERSISTENT = 0x16
29164- KEYCTL_GET_SECURITY = 0x11
29165- KEYCTL_INSTANTIATE = 0xc
29166- KEYCTL_INSTANTIATE_IOV = 0x14
29167- KEYCTL_INVALIDATE = 0x15
29168- KEYCTL_JOIN_SESSION_KEYRING = 0x1
29169- KEYCTL_LINK = 0x8
29170- KEYCTL_NEGATE = 0xd
29171- KEYCTL_READ = 0xb
29172- KEYCTL_REJECT = 0x13
29173- KEYCTL_REVOKE = 0x3
29174- KEYCTL_SEARCH = 0xa
29175- KEYCTL_SESSION_TO_PARENT = 0x12
29176- KEYCTL_SETPERM = 0x5
29177- KEYCTL_SET_REQKEY_KEYRING = 0xe
29178- KEYCTL_SET_TIMEOUT = 0xf
29179- KEYCTL_UNLINK = 0x9
29180- KEYCTL_UPDATE = 0x2
29181- KEY_REQKEY_DEFL_DEFAULT = 0x0
29182- KEY_REQKEY_DEFL_GROUP_KEYRING = 0x6
29183- KEY_REQKEY_DEFL_NO_CHANGE = -0x1
29184- KEY_REQKEY_DEFL_PROCESS_KEYRING = 0x2
29185- KEY_REQKEY_DEFL_REQUESTOR_KEYRING = 0x7
29186- KEY_REQKEY_DEFL_SESSION_KEYRING = 0x3
29187- KEY_REQKEY_DEFL_THREAD_KEYRING = 0x1
29188- KEY_REQKEY_DEFL_USER_KEYRING = 0x4
29189- KEY_REQKEY_DEFL_USER_SESSION_KEYRING = 0x5
29190- KEY_SPEC_GROUP_KEYRING = -0x6
29191- KEY_SPEC_PROCESS_KEYRING = -0x2
29192- KEY_SPEC_REQKEY_AUTH_KEY = -0x7
29193- KEY_SPEC_REQUESTOR_KEYRING = -0x8
29194- KEY_SPEC_SESSION_KEYRING = -0x3
29195- KEY_SPEC_THREAD_KEYRING = -0x1
29196- KEY_SPEC_USER_KEYRING = -0x4
29197- KEY_SPEC_USER_SESSION_KEYRING = -0x5
29198- LINUX_REBOOT_CMD_CAD_OFF = 0x0
29199- LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
29200- LINUX_REBOOT_CMD_HALT = 0xcdef0123
29201- LINUX_REBOOT_CMD_KEXEC = 0x45584543
29202- LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
29203- LINUX_REBOOT_CMD_RESTART = 0x1234567
29204- LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
29205- LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
29206- LINUX_REBOOT_MAGIC1 = 0xfee1dead
29207- LINUX_REBOOT_MAGIC2 = 0x28121969
29208- LOCK_EX = 0x2
29209- LOCK_NB = 0x4
29210- LOCK_SH = 0x1
29211- LOCK_UN = 0x8
29212- MADV_DODUMP = 0x11
29213- MADV_DOFORK = 0xb
29214- MADV_DONTDUMP = 0x10
29215- MADV_DONTFORK = 0xa
29216- MADV_DONTNEED = 0x4
29217- MADV_FREE = 0x8
29218- MADV_HUGEPAGE = 0xe
29219- MADV_HWPOISON = 0x64
29220- MADV_MERGEABLE = 0xc
29221- MADV_NOHUGEPAGE = 0xf
29222- MADV_NORMAL = 0x0
29223- MADV_RANDOM = 0x1
29224- MADV_REMOVE = 0x9
29225- MADV_SEQUENTIAL = 0x2
29226- MADV_UNMERGEABLE = 0xd
29227- MADV_WILLNEED = 0x3
29228- MAP_32BIT = 0x40
29229- MAP_ANON = 0x20
29230- MAP_ANONYMOUS = 0x20
29231- MAP_DENYWRITE = 0x800
29232- MAP_EXECUTABLE = 0x1000
29233- MAP_FILE = 0x0
29234- MAP_FIXED = 0x10
29235- MAP_GROWSDOWN = 0x100
29236- MAP_HUGETLB = 0x40000
29237- MAP_HUGE_MASK = 0x3f
29238- MAP_HUGE_SHIFT = 0x1a
29239- MAP_LOCKED = 0x2000
29240- MAP_NONBLOCK = 0x10000
29241- MAP_NORESERVE = 0x4000
29242- MAP_POPULATE = 0x8000
29243- MAP_PRIVATE = 0x2
29244- MAP_SHARED = 0x1
29245- MAP_STACK = 0x20000
29246- MAP_TYPE = 0xf
29247- MCL_CURRENT = 0x1
29248- MCL_FUTURE = 0x2
29249- MCL_ONFAULT = 0x4
29250- MNT_DETACH = 0x2
29251- MNT_EXPIRE = 0x4
29252- MNT_FORCE = 0x1
29253- MSG_BATCH = 0x40000
29254- MSG_CMSG_CLOEXEC = 0x40000000
29255- MSG_CONFIRM = 0x800
29256- MSG_CTRUNC = 0x8
29257- MSG_DONTROUTE = 0x4
29258- MSG_DONTWAIT = 0x40
29259- MSG_EOR = 0x80
29260- MSG_ERRQUEUE = 0x2000
29261- MSG_FASTOPEN = 0x20000000
29262- MSG_FIN = 0x200
29263- MSG_MORE = 0x8000
29264- MSG_NOSIGNAL = 0x4000
29265- MSG_OOB = 0x1
29266- MSG_PEEK = 0x2
29267- MSG_PROXY = 0x10
29268- MSG_RST = 0x1000
29269- MSG_SYN = 0x400
29270- MSG_TRUNC = 0x20
29271- MSG_TRYHARD = 0x4
29272- MSG_WAITALL = 0x100
29273- MSG_WAITFORONE = 0x10000
29274- MS_ACTIVE = 0x40000000
29275- MS_ASYNC = 0x1
29276- MS_BIND = 0x1000
29277- MS_BORN = 0x20000000
29278- MS_DIRSYNC = 0x80
29279- MS_INVALIDATE = 0x2
29280- MS_I_VERSION = 0x800000
29281- MS_KERNMOUNT = 0x400000
29282- MS_LAZYTIME = 0x2000000
29283- MS_MANDLOCK = 0x40
29284- MS_MGC_MSK = 0xffff0000
29285- MS_MGC_VAL = 0xc0ed0000
29286- MS_MOVE = 0x2000
29287- MS_NOATIME = 0x400
29288- MS_NODEV = 0x4
29289- MS_NODIRATIME = 0x800
29290- MS_NOEXEC = 0x8
29291- MS_NOREMOTELOCK = 0x8000000
29292- MS_NOSEC = 0x10000000
29293- MS_NOSUID = 0x2
29294- MS_NOUSER = -0x80000000
29295- MS_POSIXACL = 0x10000
29296- MS_PRIVATE = 0x40000
29297- MS_RDONLY = 0x1
29298- MS_REC = 0x4000
29299- MS_RELATIME = 0x200000
29300- MS_REMOUNT = 0x20
29301- MS_RMT_MASK = 0x2800051
29302- MS_SHARED = 0x100000
29303- MS_SILENT = 0x8000
29304- MS_SLAVE = 0x80000
29305- MS_STRICTATIME = 0x1000000
29306- MS_SYNC = 0x4
29307- MS_SYNCHRONOUS = 0x10
29308- MS_UNBINDABLE = 0x20000
29309- MS_VERBOSE = 0x8000
29310- NAME_MAX = 0xff
29311- NETLINK_ADD_MEMBERSHIP = 0x1
29312- NETLINK_AUDIT = 0x9
29313- NETLINK_BROADCAST_ERROR = 0x4
29314- NETLINK_CAP_ACK = 0xa
29315- NETLINK_CONNECTOR = 0xb
29316- NETLINK_CRYPTO = 0x15
29317- NETLINK_DNRTMSG = 0xe
29318- NETLINK_DROP_MEMBERSHIP = 0x2
29319- NETLINK_ECRYPTFS = 0x13
29320- NETLINK_FIB_LOOKUP = 0xa
29321- NETLINK_FIREWALL = 0x3
29322- NETLINK_GENERIC = 0x10
29323- NETLINK_INET_DIAG = 0x4
29324- NETLINK_IP6_FW = 0xd
29325- NETLINK_ISCSI = 0x8
29326- NETLINK_KOBJECT_UEVENT = 0xf
29327- NETLINK_LISTEN_ALL_NSID = 0x8
29328- NETLINK_LIST_MEMBERSHIPS = 0x9
29329- NETLINK_NETFILTER = 0xc
29330- NETLINK_NFLOG = 0x5
29331- NETLINK_NO_ENOBUFS = 0x5
29332- NETLINK_PKTINFO = 0x3
29333- NETLINK_RDMA = 0x14
29334- NETLINK_ROUTE = 0x0
29335- NETLINK_RX_RING = 0x6
29336- NETLINK_SCSITRANSPORT = 0x12
29337- NETLINK_SELINUX = 0x7
29338- NETLINK_SOCK_DIAG = 0x4
29339- NETLINK_TX_RING = 0x7
29340- NETLINK_UNUSED = 0x1
29341- NETLINK_USERSOCK = 0x2
29342- NETLINK_XFRM = 0x6
29343- NL0 = 0x0
29344- NL1 = 0x100
29345- NLA_ALIGNTO = 0x4
29346- NLA_F_NESTED = 0x8000
29347- NLA_F_NET_BYTEORDER = 0x4000
29348- NLA_HDRLEN = 0x4
29349- NLDLY = 0x100
29350- NLMSG_ALIGNTO = 0x4
29351- NLMSG_DONE = 0x3
29352- NLMSG_ERROR = 0x2
29353- NLMSG_HDRLEN = 0x10
29354- NLMSG_MIN_TYPE = 0x10
29355- NLMSG_NOOP = 0x1
29356- NLMSG_OVERRUN = 0x4
29357- NLM_F_ACK = 0x4
29358- NLM_F_APPEND = 0x800
29359- NLM_F_ATOMIC = 0x400
29360- NLM_F_CREATE = 0x400
29361- NLM_F_DUMP = 0x300
29362- NLM_F_DUMP_FILTERED = 0x20
29363- NLM_F_DUMP_INTR = 0x10
29364- NLM_F_ECHO = 0x8
29365- NLM_F_EXCL = 0x200
29366- NLM_F_MATCH = 0x200
29367- NLM_F_MULTI = 0x2
29368- NLM_F_REPLACE = 0x100
29369- NLM_F_REQUEST = 0x1
29370- NLM_F_ROOT = 0x100
29371- NOFLSH = 0x80
29372- OCRNL = 0x8
29373- OFDEL = 0x80
29374- OFILL = 0x40
29375- OLCUC = 0x2
29376- ONLCR = 0x4
29377- ONLRET = 0x20
29378- ONOCR = 0x10
29379- OPOST = 0x1
29380- O_ACCMODE = 0x3
29381- O_APPEND = 0x400
29382- O_ASYNC = 0x2000
29383- O_CLOEXEC = 0x80000
29384- O_CREAT = 0x40
29385- O_DIRECT = 0x4000
29386- O_DIRECTORY = 0x10000
29387- O_DSYNC = 0x1000
29388- O_EXCL = 0x80
29389- O_FSYNC = 0x101000
29390- O_LARGEFILE = 0x0
29391- O_NDELAY = 0x800
29392- O_NOATIME = 0x40000
29393- O_NOCTTY = 0x100
29394- O_NOFOLLOW = 0x20000
29395- O_NONBLOCK = 0x800
29396- O_PATH = 0x200000
29397- O_RDONLY = 0x0
29398- O_RDWR = 0x2
29399- O_RSYNC = 0x101000
29400- O_SYNC = 0x101000
29401- O_TMPFILE = 0x410000
29402- O_TRUNC = 0x200
29403- O_WRONLY = 0x1
29404- PACKET_ADD_MEMBERSHIP = 0x1
29405- PACKET_AUXDATA = 0x8
29406- PACKET_BROADCAST = 0x1
29407- PACKET_COPY_THRESH = 0x7
29408- PACKET_DROP_MEMBERSHIP = 0x2
29409- PACKET_FANOUT = 0x12
29410- PACKET_FANOUT_CBPF = 0x6
29411- PACKET_FANOUT_CPU = 0x2
29412- PACKET_FANOUT_DATA = 0x16
29413- PACKET_FANOUT_EBPF = 0x7
29414- PACKET_FANOUT_FLAG_DEFRAG = 0x8000
29415- PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
29416- PACKET_FANOUT_HASH = 0x0
29417- PACKET_FANOUT_LB = 0x1
29418- PACKET_FANOUT_QM = 0x5
29419- PACKET_FANOUT_RND = 0x4
29420- PACKET_FANOUT_ROLLOVER = 0x3
29421- PACKET_FASTROUTE = 0x6
29422- PACKET_HDRLEN = 0xb
29423- PACKET_HOST = 0x0
29424- PACKET_KERNEL = 0x7
29425- PACKET_LOOPBACK = 0x5
29426- PACKET_LOSS = 0xe
29427- PACKET_MR_ALLMULTI = 0x2
29428- PACKET_MR_MULTICAST = 0x0
29429- PACKET_MR_PROMISC = 0x1
29430- PACKET_MR_UNICAST = 0x3
29431- PACKET_MULTICAST = 0x2
29432- PACKET_ORIGDEV = 0x9
29433- PACKET_OTHERHOST = 0x3
29434- PACKET_OUTGOING = 0x4
29435- PACKET_QDISC_BYPASS = 0x14
29436- PACKET_RECV_OUTPUT = 0x3
29437- PACKET_RESERVE = 0xc
29438- PACKET_ROLLOVER_STATS = 0x15
29439- PACKET_RX_RING = 0x5
29440- PACKET_STATISTICS = 0x6
29441- PACKET_TIMESTAMP = 0x11
29442- PACKET_TX_HAS_OFF = 0x13
29443- PACKET_TX_RING = 0xd
29444- PACKET_TX_TIMESTAMP = 0x10
29445- PACKET_USER = 0x6
29446- PACKET_VERSION = 0xa
29447- PACKET_VNET_HDR = 0xf
29448- PARENB = 0x100
29449- PARITY_CRC16_PR0 = 0x2
29450- PARITY_CRC16_PR0_CCITT = 0x4
29451- PARITY_CRC16_PR1 = 0x3
29452- PARITY_CRC16_PR1_CCITT = 0x5
29453- PARITY_CRC32_PR0_CCITT = 0x6
29454- PARITY_CRC32_PR1_CCITT = 0x7
29455- PARITY_DEFAULT = 0x0
29456- PARITY_NONE = 0x1
29457- PARMRK = 0x8
29458- PARODD = 0x200
29459- PENDIN = 0x4000
29460- PERF_EVENT_IOC_DISABLE = 0x2401
29461- PERF_EVENT_IOC_ENABLE = 0x2400
29462- PERF_EVENT_IOC_ID = 0x80082407
29463- PERF_EVENT_IOC_PAUSE_OUTPUT = 0x40042409
29464- PERF_EVENT_IOC_PERIOD = 0x40082404
29465- PERF_EVENT_IOC_REFRESH = 0x2402
29466- PERF_EVENT_IOC_RESET = 0x2403
29467- PERF_EVENT_IOC_SET_BPF = 0x40042408
29468- PERF_EVENT_IOC_SET_FILTER = 0x40082406
29469- PERF_EVENT_IOC_SET_OUTPUT = 0x2405
29470- PRIO_PGRP = 0x1
29471- PRIO_PROCESS = 0x0
29472- PRIO_USER = 0x2
29473- PROT_EXEC = 0x4
29474- PROT_GROWSDOWN = 0x1000000
29475- PROT_GROWSUP = 0x2000000
29476- PROT_NONE = 0x0
29477- PROT_READ = 0x1
29478- PROT_WRITE = 0x2
29479- PR_CAPBSET_DROP = 0x18
29480- PR_CAPBSET_READ = 0x17
29481- PR_CAP_AMBIENT = 0x2f
29482- PR_CAP_AMBIENT_CLEAR_ALL = 0x4
29483- PR_CAP_AMBIENT_IS_SET = 0x1
29484- PR_CAP_AMBIENT_LOWER = 0x3
29485- PR_CAP_AMBIENT_RAISE = 0x2
29486- PR_ENDIAN_BIG = 0x0
29487- PR_ENDIAN_LITTLE = 0x1
29488- PR_ENDIAN_PPC_LITTLE = 0x2
29489- PR_FPEMU_NOPRINT = 0x1
29490- PR_FPEMU_SIGFPE = 0x2
29491- PR_FP_EXC_ASYNC = 0x2
29492- PR_FP_EXC_DISABLED = 0x0
29493- PR_FP_EXC_DIV = 0x10000
29494- PR_FP_EXC_INV = 0x100000
29495- PR_FP_EXC_NONRECOV = 0x1
29496- PR_FP_EXC_OVF = 0x20000
29497- PR_FP_EXC_PRECISE = 0x3
29498- PR_FP_EXC_RES = 0x80000
29499- PR_FP_EXC_SW_ENABLE = 0x80
29500- PR_FP_EXC_UND = 0x40000
29501- PR_FP_MODE_FR = 0x1
29502- PR_FP_MODE_FRE = 0x2
29503- PR_GET_CHILD_SUBREAPER = 0x25
29504- PR_GET_DUMPABLE = 0x3
29505- PR_GET_ENDIAN = 0x13
29506- PR_GET_FPEMU = 0x9
29507- PR_GET_FPEXC = 0xb
29508- PR_GET_FP_MODE = 0x2e
29509- PR_GET_KEEPCAPS = 0x7
29510- PR_GET_NAME = 0x10
29511- PR_GET_NO_NEW_PRIVS = 0x27
29512- PR_GET_PDEATHSIG = 0x2
29513- PR_GET_SECCOMP = 0x15
29514- PR_GET_SECUREBITS = 0x1b
29515- PR_GET_THP_DISABLE = 0x2a
29516- PR_GET_TID_ADDRESS = 0x28
29517- PR_GET_TIMERSLACK = 0x1e
29518- PR_GET_TIMING = 0xd
29519- PR_GET_TSC = 0x19
29520- PR_GET_UNALIGN = 0x5
29521- PR_MCE_KILL = 0x21
29522- PR_MCE_KILL_CLEAR = 0x0
29523- PR_MCE_KILL_DEFAULT = 0x2
29524- PR_MCE_KILL_EARLY = 0x1
29525- PR_MCE_KILL_GET = 0x22
29526- PR_MCE_KILL_LATE = 0x0
29527- PR_MCE_KILL_SET = 0x1
29528- PR_MPX_DISABLE_MANAGEMENT = 0x2c
29529- PR_MPX_ENABLE_MANAGEMENT = 0x2b
29530- PR_SET_CHILD_SUBREAPER = 0x24
29531- PR_SET_DUMPABLE = 0x4
29532- PR_SET_ENDIAN = 0x14
29533- PR_SET_FPEMU = 0xa
29534- PR_SET_FPEXC = 0xc
29535- PR_SET_FP_MODE = 0x2d
29536- PR_SET_KEEPCAPS = 0x8
29537- PR_SET_MM = 0x23
29538- PR_SET_MM_ARG_END = 0x9
29539- PR_SET_MM_ARG_START = 0x8
29540- PR_SET_MM_AUXV = 0xc
29541- PR_SET_MM_BRK = 0x7
29542- PR_SET_MM_END_CODE = 0x2
29543- PR_SET_MM_END_DATA = 0x4
29544- PR_SET_MM_ENV_END = 0xb
29545- PR_SET_MM_ENV_START = 0xa
29546- PR_SET_MM_EXE_FILE = 0xd
29547- PR_SET_MM_MAP = 0xe
29548- PR_SET_MM_MAP_SIZE = 0xf
29549- PR_SET_MM_START_BRK = 0x6
29550- PR_SET_MM_START_CODE = 0x1
29551- PR_SET_MM_START_DATA = 0x3
29552- PR_SET_MM_START_STACK = 0x5
29553- PR_SET_NAME = 0xf
29554- PR_SET_NO_NEW_PRIVS = 0x26
29555- PR_SET_PDEATHSIG = 0x1
29556- PR_SET_PTRACER = 0x59616d61
29557- PR_SET_PTRACER_ANY = -0x1
29558- PR_SET_SECCOMP = 0x16
29559- PR_SET_SECUREBITS = 0x1c
29560- PR_SET_THP_DISABLE = 0x29
29561- PR_SET_TIMERSLACK = 0x1d
29562- PR_SET_TIMING = 0xe
29563- PR_SET_TSC = 0x1a
29564- PR_SET_UNALIGN = 0x6
29565- PR_TASK_PERF_EVENTS_DISABLE = 0x1f
29566- PR_TASK_PERF_EVENTS_ENABLE = 0x20
29567- PR_TIMING_STATISTICAL = 0x0
29568- PR_TIMING_TIMESTAMP = 0x1
29569- PR_TSC_ENABLE = 0x1
29570- PR_TSC_SIGSEGV = 0x2
29571- PR_UNALIGN_NOPRINT = 0x1
29572- PR_UNALIGN_SIGBUS = 0x2
29573- PTRACE_ARCH_PRCTL = 0x1e
29574- PTRACE_ATTACH = 0x10
29575- PTRACE_CONT = 0x7
29576- PTRACE_DETACH = 0x11
29577- PTRACE_EVENT_CLONE = 0x3
29578- PTRACE_EVENT_EXEC = 0x4
29579- PTRACE_EVENT_EXIT = 0x6
29580- PTRACE_EVENT_FORK = 0x1
29581- PTRACE_EVENT_SECCOMP = 0x7
29582- PTRACE_EVENT_STOP = 0x80
29583- PTRACE_EVENT_VFORK = 0x2
29584- PTRACE_EVENT_VFORK_DONE = 0x5
29585- PTRACE_GETEVENTMSG = 0x4201
29586- PTRACE_GETFPREGS = 0xe
29587- PTRACE_GETFPXREGS = 0x12
29588- PTRACE_GETREGS = 0xc
29589- PTRACE_GETREGSET = 0x4204
29590- PTRACE_GETSIGINFO = 0x4202
29591- PTRACE_GETSIGMASK = 0x420a
29592- PTRACE_GET_THREAD_AREA = 0x19
29593- PTRACE_INTERRUPT = 0x4207
29594- PTRACE_KILL = 0x8
29595- PTRACE_LISTEN = 0x4208
29596- PTRACE_OLDSETOPTIONS = 0x15
29597- PTRACE_O_EXITKILL = 0x100000
29598- PTRACE_O_MASK = 0x3000ff
29599- PTRACE_O_SUSPEND_SECCOMP = 0x200000
29600- PTRACE_O_TRACECLONE = 0x8
29601- PTRACE_O_TRACEEXEC = 0x10
29602- PTRACE_O_TRACEEXIT = 0x40
29603- PTRACE_O_TRACEFORK = 0x2
29604- PTRACE_O_TRACESECCOMP = 0x80
29605- PTRACE_O_TRACESYSGOOD = 0x1
29606- PTRACE_O_TRACEVFORK = 0x4
29607- PTRACE_O_TRACEVFORKDONE = 0x20
29608- PTRACE_PEEKDATA = 0x2
29609- PTRACE_PEEKSIGINFO = 0x4209
29610- PTRACE_PEEKSIGINFO_SHARED = 0x1
29611- PTRACE_PEEKTEXT = 0x1
29612- PTRACE_PEEKUSR = 0x3
29613- PTRACE_POKEDATA = 0x5
29614- PTRACE_POKETEXT = 0x4
29615- PTRACE_POKEUSR = 0x6
29616- PTRACE_SECCOMP_GET_FILTER = 0x420c
29617- PTRACE_SEIZE = 0x4206
29618- PTRACE_SETFPREGS = 0xf
29619- PTRACE_SETFPXREGS = 0x13
29620- PTRACE_SETOPTIONS = 0x4200
29621- PTRACE_SETREGS = 0xd
29622- PTRACE_SETREGSET = 0x4205
29623- PTRACE_SETSIGINFO = 0x4203
29624- PTRACE_SETSIGMASK = 0x420b
29625- PTRACE_SET_THREAD_AREA = 0x1a
29626- PTRACE_SINGLEBLOCK = 0x21
29627- PTRACE_SINGLESTEP = 0x9
29628- PTRACE_SYSCALL = 0x18
29629- PTRACE_SYSEMU = 0x1f
29630- PTRACE_SYSEMU_SINGLESTEP = 0x20
29631- PTRACE_TRACEME = 0x0
29632- RLIMIT_AS = 0x9
29633- RLIMIT_CORE = 0x4
29634- RLIMIT_CPU = 0x0
29635- RLIMIT_DATA = 0x2
29636- RLIMIT_FSIZE = 0x1
29637- RLIMIT_LOCKS = 0xa
29638- RLIMIT_MEMLOCK = 0x8
29639- RLIMIT_MSGQUEUE = 0xc
29640- RLIMIT_NICE = 0xd
29641- RLIMIT_NOFILE = 0x7
29642- RLIMIT_NPROC = 0x6
29643- RLIMIT_RSS = 0x5
29644- RLIMIT_RTPRIO = 0xe
29645- RLIMIT_RTTIME = 0xf
29646- RLIMIT_SIGPENDING = 0xb
29647- RLIMIT_STACK = 0x3
29648- RLIM_INFINITY = -0x1
29649- RTAX_ADVMSS = 0x8
29650- RTAX_CC_ALGO = 0x10
29651- RTAX_CWND = 0x7
29652- RTAX_FEATURES = 0xc
29653- RTAX_FEATURE_ALLFRAG = 0x8
29654- RTAX_FEATURE_ECN = 0x1
29655- RTAX_FEATURE_MASK = 0xf
29656- RTAX_FEATURE_SACK = 0x2
29657- RTAX_FEATURE_TIMESTAMP = 0x4
29658- RTAX_HOPLIMIT = 0xa
29659- RTAX_INITCWND = 0xb
29660- RTAX_INITRWND = 0xe
29661- RTAX_LOCK = 0x1
29662- RTAX_MAX = 0x10
29663- RTAX_MTU = 0x2
29664- RTAX_QUICKACK = 0xf
29665- RTAX_REORDERING = 0x9
29666- RTAX_RTO_MIN = 0xd
29667- RTAX_RTT = 0x4
29668- RTAX_RTTVAR = 0x5
29669- RTAX_SSTHRESH = 0x6
29670- RTAX_UNSPEC = 0x0
29671- RTAX_WINDOW = 0x3
29672- RTA_ALIGNTO = 0x4
29673- RTA_MAX = 0x19
29674- RTCF_DIRECTSRC = 0x4000000
29675- RTCF_DOREDIRECT = 0x1000000
29676- RTCF_LOG = 0x2000000
29677- RTCF_MASQ = 0x400000
29678- RTCF_NAT = 0x800000
29679- RTCF_VALVE = 0x200000
29680- RTF_ADDRCLASSMASK = 0xf8000000
29681- RTF_ADDRCONF = 0x40000
29682- RTF_ALLONLINK = 0x20000
29683- RTF_BROADCAST = 0x10000000
29684- RTF_CACHE = 0x1000000
29685- RTF_DEFAULT = 0x10000
29686- RTF_DYNAMIC = 0x10
29687- RTF_FLOW = 0x2000000
29688- RTF_GATEWAY = 0x2
29689- RTF_HOST = 0x4
29690- RTF_INTERFACE = 0x40000000
29691- RTF_IRTT = 0x100
29692- RTF_LINKRT = 0x100000
29693- RTF_LOCAL = 0x80000000
29694- RTF_MODIFIED = 0x20
29695- RTF_MSS = 0x40
29696- RTF_MTU = 0x40
29697- RTF_MULTICAST = 0x20000000
29698- RTF_NAT = 0x8000000
29699- RTF_NOFORWARD = 0x1000
29700- RTF_NONEXTHOP = 0x200000
29701- RTF_NOPMTUDISC = 0x4000
29702- RTF_POLICY = 0x4000000
29703- RTF_REINSTATE = 0x8
29704- RTF_REJECT = 0x200
29705- RTF_STATIC = 0x400
29706- RTF_THROW = 0x2000
29707- RTF_UP = 0x1
29708- RTF_WINDOW = 0x80
29709- RTF_XRESOLVE = 0x800
29710- RTM_BASE = 0x10
29711- RTM_DELACTION = 0x31
29712- RTM_DELADDR = 0x15
29713- RTM_DELADDRLABEL = 0x49
29714- RTM_DELLINK = 0x11
29715- RTM_DELMDB = 0x55
29716- RTM_DELNEIGH = 0x1d
29717- RTM_DELNSID = 0x59
29718- RTM_DELQDISC = 0x25
29719- RTM_DELROUTE = 0x19
29720- RTM_DELRULE = 0x21
29721- RTM_DELTCLASS = 0x29
29722- RTM_DELTFILTER = 0x2d
29723- RTM_F_CLONED = 0x200
29724- RTM_F_EQUALIZE = 0x400
29725- RTM_F_LOOKUP_TABLE = 0x1000
29726- RTM_F_NOTIFY = 0x100
29727- RTM_F_PREFIX = 0x800
29728- RTM_GETACTION = 0x32
29729- RTM_GETADDR = 0x16
29730- RTM_GETADDRLABEL = 0x4a
29731- RTM_GETANYCAST = 0x3e
29732- RTM_GETDCB = 0x4e
29733- RTM_GETLINK = 0x12
29734- RTM_GETMDB = 0x56
29735- RTM_GETMULTICAST = 0x3a
29736- RTM_GETNEIGH = 0x1e
29737- RTM_GETNEIGHTBL = 0x42
29738- RTM_GETNETCONF = 0x52
29739- RTM_GETNSID = 0x5a
29740- RTM_GETQDISC = 0x26
29741- RTM_GETROUTE = 0x1a
29742- RTM_GETRULE = 0x22
29743- RTM_GETSTATS = 0x5e
29744- RTM_GETTCLASS = 0x2a
29745- RTM_GETTFILTER = 0x2e
29746- RTM_MAX = 0x5f
29747- RTM_NEWACTION = 0x30
29748- RTM_NEWADDR = 0x14
29749- RTM_NEWADDRLABEL = 0x48
29750- RTM_NEWLINK = 0x10
29751- RTM_NEWMDB = 0x54
29752- RTM_NEWNDUSEROPT = 0x44
29753- RTM_NEWNEIGH = 0x1c
29754- RTM_NEWNEIGHTBL = 0x40
29755- RTM_NEWNETCONF = 0x50
29756- RTM_NEWNSID = 0x58
29757- RTM_NEWPREFIX = 0x34
29758- RTM_NEWQDISC = 0x24
29759- RTM_NEWROUTE = 0x18
29760- RTM_NEWRULE = 0x20
29761- RTM_NEWSTATS = 0x5c
29762- RTM_NEWTCLASS = 0x28
29763- RTM_NEWTFILTER = 0x2c
29764- RTM_NR_FAMILIES = 0x14
29765- RTM_NR_MSGTYPES = 0x50
29766- RTM_SETDCB = 0x4f
29767- RTM_SETLINK = 0x13
29768- RTM_SETNEIGHTBL = 0x43
29769- RTNH_ALIGNTO = 0x4
29770- RTNH_COMPARE_MASK = 0x19
29771- RTNH_F_DEAD = 0x1
29772- RTNH_F_LINKDOWN = 0x10
29773- RTNH_F_OFFLOAD = 0x8
29774- RTNH_F_ONLINK = 0x4
29775- RTNH_F_PERVASIVE = 0x2
29776- RTN_MAX = 0xb
29777- RTPROT_BABEL = 0x2a
29778- RTPROT_BIRD = 0xc
29779- RTPROT_BOOT = 0x3
29780- RTPROT_DHCP = 0x10
29781- RTPROT_DNROUTED = 0xd
29782- RTPROT_GATED = 0x8
29783- RTPROT_KERNEL = 0x2
29784- RTPROT_MROUTED = 0x11
29785- RTPROT_MRT = 0xa
29786- RTPROT_NTK = 0xf
29787- RTPROT_RA = 0x9
29788- RTPROT_REDIRECT = 0x1
29789- RTPROT_STATIC = 0x4
29790- RTPROT_UNSPEC = 0x0
29791- RTPROT_XORP = 0xe
29792- RTPROT_ZEBRA = 0xb
29793- RT_CLASS_DEFAULT = 0xfd
29794- RT_CLASS_LOCAL = 0xff
29795- RT_CLASS_MAIN = 0xfe
29796- RT_CLASS_MAX = 0xff
29797- RT_CLASS_UNSPEC = 0x0
29798- RUSAGE_CHILDREN = -0x1
29799- RUSAGE_SELF = 0x0
29800- RUSAGE_THREAD = 0x1
29801- SCM_CREDENTIALS = 0x2
29802- SCM_RIGHTS = 0x1
29803- SCM_TIMESTAMP = 0x1d
29804- SCM_TIMESTAMPING = 0x25
29805- SCM_TIMESTAMPING_OPT_STATS = 0x36
29806- SCM_TIMESTAMPNS = 0x23
29807- SCM_WIFI_STATUS = 0x29
29808- SECCOMP_MODE_DISABLED = 0x0
29809- SECCOMP_MODE_FILTER = 0x2
29810- SECCOMP_MODE_STRICT = 0x1
29811- SHUT_RD = 0x0
29812- SHUT_RDWR = 0x2
29813- SHUT_WR = 0x1
29814- SIOCADDDLCI = 0x8980
29815- SIOCADDMULTI = 0x8931
29816- SIOCADDRT = 0x890b
29817- SIOCATMARK = 0x8905
29818- SIOCBONDCHANGEACTIVE = 0x8995
29819- SIOCBONDENSLAVE = 0x8990
29820- SIOCBONDINFOQUERY = 0x8994
29821- SIOCBONDRELEASE = 0x8991
29822- SIOCBONDSETHWADDR = 0x8992
29823- SIOCBONDSLAVEINFOQUERY = 0x8993
29824- SIOCBRADDBR = 0x89a0
29825- SIOCBRADDIF = 0x89a2
29826- SIOCBRDELBR = 0x89a1
29827- SIOCBRDELIF = 0x89a3
29828- SIOCDARP = 0x8953
29829- SIOCDELDLCI = 0x8981
29830- SIOCDELMULTI = 0x8932
29831- SIOCDELRT = 0x890c
29832- SIOCDEVPRIVATE = 0x89f0
29833- SIOCDIFADDR = 0x8936
29834- SIOCDRARP = 0x8960
29835- SIOCETHTOOL = 0x8946
29836- SIOCGARP = 0x8954
29837- SIOCGHWTSTAMP = 0x89b1
29838- SIOCGIFADDR = 0x8915
29839- SIOCGIFBR = 0x8940
29840- SIOCGIFBRDADDR = 0x8919
29841- SIOCGIFCONF = 0x8912
29842- SIOCGIFCOUNT = 0x8938
29843- SIOCGIFDSTADDR = 0x8917
29844- SIOCGIFENCAP = 0x8925
29845- SIOCGIFFLAGS = 0x8913
29846- SIOCGIFHWADDR = 0x8927
29847- SIOCGIFINDEX = 0x8933
29848- SIOCGIFMAP = 0x8970
29849- SIOCGIFMEM = 0x891f
29850- SIOCGIFMETRIC = 0x891d
29851- SIOCGIFMTU = 0x8921
29852- SIOCGIFNAME = 0x8910
29853- SIOCGIFNETMASK = 0x891b
29854- SIOCGIFPFLAGS = 0x8935
29855- SIOCGIFSLAVE = 0x8929
29856- SIOCGIFTXQLEN = 0x8942
29857- SIOCGIFVLAN = 0x8982
29858- SIOCGMIIPHY = 0x8947
29859- SIOCGMIIREG = 0x8948
29860- SIOCGPGRP = 0x8904
29861- SIOCGRARP = 0x8961
29862- SIOCGSKNS = 0x894c
29863- SIOCGSTAMP = 0x8906
29864- SIOCGSTAMPNS = 0x8907
29865- SIOCINQ = 0x541b
29866- SIOCOUTQ = 0x5411
29867- SIOCOUTQNSD = 0x894b
29868- SIOCPROTOPRIVATE = 0x89e0
29869- SIOCRTMSG = 0x890d
29870- SIOCSARP = 0x8955
29871- SIOCSHWTSTAMP = 0x89b0
29872- SIOCSIFADDR = 0x8916
29873- SIOCSIFBR = 0x8941
29874- SIOCSIFBRDADDR = 0x891a
29875- SIOCSIFDSTADDR = 0x8918
29876- SIOCSIFENCAP = 0x8926
29877- SIOCSIFFLAGS = 0x8914
29878- SIOCSIFHWADDR = 0x8924
29879- SIOCSIFHWBROADCAST = 0x8937
29880- SIOCSIFLINK = 0x8911
29881- SIOCSIFMAP = 0x8971
29882- SIOCSIFMEM = 0x8920
29883- SIOCSIFMETRIC = 0x891e
29884- SIOCSIFMTU = 0x8922
29885- SIOCSIFNAME = 0x8923
29886- SIOCSIFNETMASK = 0x891c
29887- SIOCSIFPFLAGS = 0x8934
29888- SIOCSIFSLAVE = 0x8930
29889- SIOCSIFTXQLEN = 0x8943
29890- SIOCSIFVLAN = 0x8983
29891- SIOCSMIIREG = 0x8949
29892- SIOCSPGRP = 0x8902
29893- SIOCSRARP = 0x8962
29894- SIOCWANDEV = 0x894a
29895- SOCK_CLOEXEC = 0x80000
29896- SOCK_DCCP = 0x6
29897- SOCK_DGRAM = 0x2
29898- SOCK_IOC_TYPE = 0x89
29899- SOCK_NONBLOCK = 0x800
29900- SOCK_PACKET = 0xa
29901- SOCK_RAW = 0x3
29902- SOCK_RDM = 0x4
29903- SOCK_SEQPACKET = 0x5
29904- SOCK_STREAM = 0x1
29905- SOL_AAL = 0x109
29906- SOL_ALG = 0x117
29907- SOL_ATM = 0x108
29908- SOL_CAIF = 0x116
29909- SOL_CAN_BASE = 0x64
29910- SOL_DCCP = 0x10d
29911- SOL_DECNET = 0x105
29912- SOL_ICMPV6 = 0x3a
29913- SOL_IP = 0x0
29914- SOL_IPV6 = 0x29
29915- SOL_IRDA = 0x10a
29916- SOL_IUCV = 0x115
29917- SOL_KCM = 0x119
29918- SOL_LLC = 0x10c
29919- SOL_NETBEUI = 0x10b
29920- SOL_NETLINK = 0x10e
29921- SOL_NFC = 0x118
29922- SOL_PACKET = 0x107
29923- SOL_PNPIPE = 0x113
29924- SOL_PPPOL2TP = 0x111
29925- SOL_RAW = 0xff
29926- SOL_RDS = 0x114
29927- SOL_RXRPC = 0x110
29928- SOL_SOCKET = 0x1
29929- SOL_TCP = 0x6
29930- SOL_TIPC = 0x10f
29931- SOL_X25 = 0x106
29932- SOMAXCONN = 0x80
29933- SO_ACCEPTCONN = 0x1e
29934- SO_ATTACH_BPF = 0x32
29935- SO_ATTACH_FILTER = 0x1a
29936- SO_ATTACH_REUSEPORT_CBPF = 0x33
29937- SO_ATTACH_REUSEPORT_EBPF = 0x34
29938- SO_BINDTODEVICE = 0x19
29939- SO_BPF_EXTENSIONS = 0x30
29940- SO_BROADCAST = 0x6
29941- SO_BSDCOMPAT = 0xe
29942- SO_BUSY_POLL = 0x2e
29943- SO_CNX_ADVICE = 0x35
29944- SO_DEBUG = 0x1
29945- SO_DETACH_BPF = 0x1b
29946- SO_DETACH_FILTER = 0x1b
29947- SO_DOMAIN = 0x27
29948- SO_DONTROUTE = 0x5
29949- SO_ERROR = 0x4
29950- SO_GET_FILTER = 0x1a
29951- SO_INCOMING_CPU = 0x31
29952- SO_KEEPALIVE = 0x9
29953- SO_LINGER = 0xd
29954- SO_LOCK_FILTER = 0x2c
29955- SO_MARK = 0x24
29956- SO_MAX_PACING_RATE = 0x2f
29957- SO_NOFCS = 0x2b
29958- SO_NO_CHECK = 0xb
29959- SO_OOBINLINE = 0xa
29960- SO_PASSCRED = 0x10
29961- SO_PASSSEC = 0x22
29962- SO_PEEK_OFF = 0x2a
29963- SO_PEERCRED = 0x11
29964- SO_PEERNAME = 0x1c
29965- SO_PEERSEC = 0x1f
29966- SO_PRIORITY = 0xc
29967- SO_PROTOCOL = 0x26
29968- SO_RCVBUF = 0x8
29969- SO_RCVBUFFORCE = 0x21
29970- SO_RCVLOWAT = 0x12
29971- SO_RCVTIMEO = 0x14
29972- SO_REUSEADDR = 0x2
29973- SO_REUSEPORT = 0xf
29974- SO_RXQ_OVFL = 0x28
29975- SO_SECURITY_AUTHENTICATION = 0x16
29976- SO_SECURITY_ENCRYPTION_NETWORK = 0x18
29977- SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
29978- SO_SELECT_ERR_QUEUE = 0x2d
29979- SO_SNDBUF = 0x7
29980- SO_SNDBUFFORCE = 0x20
29981- SO_SNDLOWAT = 0x13
29982- SO_SNDTIMEO = 0x15
29983- SO_TIMESTAMP = 0x1d
29984- SO_TIMESTAMPING = 0x25
29985- SO_TIMESTAMPNS = 0x23
29986- SO_TYPE = 0x3
29987- SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
29988- SO_VM_SOCKETS_BUFFER_MIN_SIZE = 0x1
29989- SO_VM_SOCKETS_BUFFER_SIZE = 0x0
29990- SO_VM_SOCKETS_CONNECT_TIMEOUT = 0x6
29991- SO_VM_SOCKETS_NONBLOCK_TXRX = 0x7
29992- SO_VM_SOCKETS_PEER_HOST_VM_ID = 0x3
29993- SO_VM_SOCKETS_TRUSTED = 0x5
29994- SO_WIFI_STATUS = 0x29
29995- SPLICE_F_GIFT = 0x8
29996- SPLICE_F_MORE = 0x4
29997- SPLICE_F_MOVE = 0x1
29998- SPLICE_F_NONBLOCK = 0x2
29999- S_BLKSIZE = 0x200
30000- S_IEXEC = 0x40
30001- S_IFBLK = 0x6000
30002- S_IFCHR = 0x2000
30003- S_IFDIR = 0x4000
30004- S_IFIFO = 0x1000
30005- S_IFLNK = 0xa000
30006- S_IFMT = 0xf000
30007- S_IFREG = 0x8000
30008- S_IFSOCK = 0xc000
30009- S_IREAD = 0x100
30010- S_IRGRP = 0x20
30011- S_IROTH = 0x4
30012- S_IRUSR = 0x100
30013- S_IRWXG = 0x38
30014- S_IRWXO = 0x7
30015- S_IRWXU = 0x1c0
30016- S_ISGID = 0x400
30017- S_ISUID = 0x800
30018- S_ISVTX = 0x200
30019- S_IWGRP = 0x10
30020- S_IWOTH = 0x2
30021- S_IWRITE = 0x80
30022- S_IWUSR = 0x80
30023- S_IXGRP = 0x8
30024- S_IXOTH = 0x1
30025- S_IXUSR = 0x40
30026- TAB0 = 0x0
30027- TAB1 = 0x800
30028- TAB2 = 0x1000
30029- TAB3 = 0x1800
30030- TABDLY = 0x1800
30031- TASKSTATS_CMD_ATTR_MAX = 0x4
30032- TASKSTATS_CMD_MAX = 0x2
30033- TASKSTATS_GENL_NAME = "TASKSTATS"
30034- TASKSTATS_GENL_VERSION = 0x1
30035- TASKSTATS_TYPE_MAX = 0x6
30036- TASKSTATS_VERSION = 0x8
30037- TCFLSH = 0x540b
30038- TCGETA = 0x5405
30039- TCGETS = 0x5401
30040- TCGETS2 = 0x802c542a
30041- TCGETX = 0x5432
30042- TCIFLUSH = 0x0
30043- TCIOFF = 0x2
30044- TCIOFLUSH = 0x2
30045- TCION = 0x3
30046- TCOFLUSH = 0x1
30047- TCOOFF = 0x0
30048- TCOON = 0x1
30049- TCP_CC_INFO = 0x1a
30050- TCP_CONGESTION = 0xd
30051- TCP_COOKIE_IN_ALWAYS = 0x1
30052- TCP_COOKIE_MAX = 0x10
30053- TCP_COOKIE_MIN = 0x8
30054- TCP_COOKIE_OUT_NEVER = 0x2
30055- TCP_COOKIE_PAIR_SIZE = 0x20
30056- TCP_COOKIE_TRANSACTIONS = 0xf
30057- TCP_CORK = 0x3
30058- TCP_DEFER_ACCEPT = 0x9
30059- TCP_FASTOPEN = 0x17
30060- TCP_INFO = 0xb
30061- TCP_KEEPCNT = 0x6
30062- TCP_KEEPIDLE = 0x4
30063- TCP_KEEPINTVL = 0x5
30064- TCP_LINGER2 = 0x8
30065- TCP_MAXSEG = 0x2
30066- TCP_MAXWIN = 0xffff
30067- TCP_MAX_WINSHIFT = 0xe
30068- TCP_MD5SIG = 0xe
30069- TCP_MD5SIG_MAXKEYLEN = 0x50
30070- TCP_MSS = 0x200
30071- TCP_MSS_DEFAULT = 0x218
30072- TCP_MSS_DESIRED = 0x4c4
30073- TCP_NODELAY = 0x1
30074- TCP_NOTSENT_LOWAT = 0x19
30075- TCP_QUEUE_SEQ = 0x15
30076- TCP_QUICKACK = 0xc
30077- TCP_REPAIR = 0x13
30078- TCP_REPAIR_OPTIONS = 0x16
30079- TCP_REPAIR_QUEUE = 0x14
30080- TCP_REPAIR_WINDOW = 0x1d
30081- TCP_SAVED_SYN = 0x1c
30082- TCP_SAVE_SYN = 0x1b
30083- TCP_SYNCNT = 0x7
30084- TCP_S_DATA_IN = 0x4
30085- TCP_S_DATA_OUT = 0x8
30086- TCP_THIN_DUPACK = 0x11
30087- TCP_THIN_LINEAR_TIMEOUTS = 0x10
30088- TCP_TIMESTAMP = 0x18
30089- TCP_USER_TIMEOUT = 0x12
30090- TCP_WINDOW_CLAMP = 0xa
30091- TCSAFLUSH = 0x2
30092- TCSBRK = 0x5409
30093- TCSBRKP = 0x5425
30094- TCSETA = 0x5406
30095- TCSETAF = 0x5408
30096- TCSETAW = 0x5407
30097- TCSETS = 0x5402
30098- TCSETS2 = 0x402c542b
30099- TCSETSF = 0x5404
30100- TCSETSF2 = 0x402c542d
30101- TCSETSW = 0x5403
30102- TCSETSW2 = 0x402c542c
30103- TCSETX = 0x5433
30104- TCSETXF = 0x5434
30105- TCSETXW = 0x5435
30106- TCXONC = 0x540a
30107- TIOCCBRK = 0x5428
30108- TIOCCONS = 0x541d
30109- TIOCEXCL = 0x540c
30110- TIOCGDEV = 0x80045432
30111- TIOCGETD = 0x5424
30112- TIOCGEXCL = 0x80045440
30113- TIOCGICOUNT = 0x545d
30114- TIOCGLCKTRMIOS = 0x5456
30115- TIOCGPGRP = 0x540f
30116- TIOCGPKT = 0x80045438
30117- TIOCGPTLCK = 0x80045439
30118- TIOCGPTN = 0x80045430
30119- TIOCGRS485 = 0x542e
30120- TIOCGSERIAL = 0x541e
30121- TIOCGSID = 0x5429
30122- TIOCGSOFTCAR = 0x5419
30123- TIOCGWINSZ = 0x5413
30124- TIOCINQ = 0x541b
30125- TIOCLINUX = 0x541c
30126- TIOCMBIC = 0x5417
30127- TIOCMBIS = 0x5416
30128- TIOCMGET = 0x5415
30129- TIOCMIWAIT = 0x545c
30130- TIOCMSET = 0x5418
30131- TIOCM_CAR = 0x40
30132- TIOCM_CD = 0x40
30133- TIOCM_CTS = 0x20
30134- TIOCM_DSR = 0x100
30135- TIOCM_DTR = 0x2
30136- TIOCM_LE = 0x1
30137- TIOCM_RI = 0x80
30138- TIOCM_RNG = 0x80
30139- TIOCM_RTS = 0x4
30140- TIOCM_SR = 0x10
30141- TIOCM_ST = 0x8
30142- TIOCNOTTY = 0x5422
30143- TIOCNXCL = 0x540d
30144- TIOCOUTQ = 0x5411
30145- TIOCPKT = 0x5420
30146- TIOCPKT_DATA = 0x0
30147- TIOCPKT_DOSTOP = 0x20
30148- TIOCPKT_FLUSHREAD = 0x1
30149- TIOCPKT_FLUSHWRITE = 0x2
30150- TIOCPKT_IOCTL = 0x40
30151- TIOCPKT_NOSTOP = 0x10
30152- TIOCPKT_START = 0x8
30153- TIOCPKT_STOP = 0x4
30154- TIOCSBRK = 0x5427
30155- TIOCSCTTY = 0x540e
30156- TIOCSERCONFIG = 0x5453
30157- TIOCSERGETLSR = 0x5459
30158- TIOCSERGETMULTI = 0x545a
30159- TIOCSERGSTRUCT = 0x5458
30160- TIOCSERGWILD = 0x5454
30161- TIOCSERSETMULTI = 0x545b
30162- TIOCSERSWILD = 0x5455
30163- TIOCSER_TEMT = 0x1
30164- TIOCSETD = 0x5423
30165- TIOCSIG = 0x40045436
30166- TIOCSLCKTRMIOS = 0x5457
30167- TIOCSPGRP = 0x5410
30168- TIOCSPTLCK = 0x40045431
30169- TIOCSRS485 = 0x542f
30170- TIOCSSERIAL = 0x541f
30171- TIOCSSOFTCAR = 0x541a
30172- TIOCSTI = 0x5412
30173- TIOCSWINSZ = 0x5414
30174- TIOCVHANGUP = 0x5437
30175- TOSTOP = 0x100
30176- TS_COMM_LEN = 0x20
30177- TUNATTACHFILTER = 0x401054d5
30178- TUNDETACHFILTER = 0x401054d6
30179- TUNGETFEATURES = 0x800454cf
30180- TUNGETFILTER = 0x801054db
30181- TUNGETIFF = 0x800454d2
30182- TUNGETSNDBUF = 0x800454d3
30183- TUNGETVNETBE = 0x800454df
30184- TUNGETVNETHDRSZ = 0x800454d7
30185- TUNGETVNETLE = 0x800454dd
30186- TUNSETDEBUG = 0x400454c9
30187- TUNSETGROUP = 0x400454ce
30188- TUNSETIFF = 0x400454ca
30189- TUNSETIFINDEX = 0x400454da
30190- TUNSETLINK = 0x400454cd
30191- TUNSETNOCSUM = 0x400454c8
30192- TUNSETOFFLOAD = 0x400454d0
30193- TUNSETOWNER = 0x400454cc
30194- TUNSETPERSIST = 0x400454cb
30195- TUNSETQUEUE = 0x400454d9
30196- TUNSETSNDBUF = 0x400454d4
30197- TUNSETTXFILTER = 0x400454d1
30198- TUNSETVNETBE = 0x400454de
30199- TUNSETVNETHDRSZ = 0x400454d8
30200- TUNSETVNETLE = 0x400454dc
30201- UMOUNT_NOFOLLOW = 0x8
30202- VDISCARD = 0xd
30203- VEOF = 0x4
30204- VEOL = 0xb
30205- VEOL2 = 0x10
30206- VERASE = 0x2
30207- VINTR = 0x0
30208- VKILL = 0x3
30209- VLNEXT = 0xf
30210- VMADDR_CID_ANY = 0xffffffff
30211- VMADDR_CID_HOST = 0x2
30212- VMADDR_CID_HYPERVISOR = 0x0
30213- VMADDR_CID_RESERVED = 0x1
30214- VMADDR_PORT_ANY = 0xffffffff
30215- VMIN = 0x6
30216- VM_SOCKETS_INVALID_VERSION = 0xffffffff
30217- VQUIT = 0x1
30218- VREPRINT = 0xc
30219- VSTART = 0x8
30220- VSTOP = 0x9
30221- VSUSP = 0xa
30222- VSWTC = 0x7
30223- VT0 = 0x0
30224- VT1 = 0x4000
30225- VTDLY = 0x4000
30226- VTIME = 0x5
30227- VWERASE = 0xe
30228- WALL = 0x40000000
30229- WCLONE = 0x80000000
30230- WCONTINUED = 0x8
30231- WEXITED = 0x4
30232- WNOHANG = 0x1
30233- WNOTHREAD = 0x20000000
30234- WNOWAIT = 0x1000000
30235- WORDSIZE = 0x40
30236- WSTOPPED = 0x2
30237- WUNTRACED = 0x2
30238- XATTR_CREATE = 0x1
30239- XATTR_REPLACE = 0x2
30240- XCASE = 0x4
30241- XTABS = 0x1800
30242+ B1000000 = 0x1008
30243+ B115200 = 0x1002
30244+ B1152000 = 0x1009
30245+ B1500000 = 0x100a
30246+ B2000000 = 0x100b
30247+ B230400 = 0x1003
30248+ B2500000 = 0x100c
30249+ B3000000 = 0x100d
30250+ B3500000 = 0x100e
30251+ B4000000 = 0x100f
30252+ B460800 = 0x1004
30253+ B500000 = 0x1005
30254+ B57600 = 0x1001
30255+ B576000 = 0x1006
30256+ B921600 = 0x1007
30257+ BLKBSZGET = 0x80081270
30258+ BLKBSZSET = 0x40081271
30259+ BLKFLSBUF = 0x1261
30260+ BLKFRAGET = 0x1265
30261+ BLKFRASET = 0x1264
30262+ BLKGETSIZE = 0x1260
30263+ BLKGETSIZE64 = 0x80081272
30264+ BLKPBSZGET = 0x127b
30265+ BLKRAGET = 0x1263
30266+ BLKRASET = 0x1262
30267+ BLKROGET = 0x125e
30268+ BLKROSET = 0x125d
30269+ BLKRRPART = 0x125f
30270+ BLKSECTGET = 0x1267
30271+ BLKSECTSET = 0x1266
30272+ BLKSSZGET = 0x1268
30273+ BOTHER = 0x1000
30274+ BS1 = 0x2000
30275+ BSDLY = 0x2000
30276+ CBAUD = 0x100f
30277+ CBAUDEX = 0x1000
30278+ CIBAUD = 0x100f0000
30279+ CLOCAL = 0x800
30280+ CR1 = 0x200
30281+ CR2 = 0x400
30282+ CR3 = 0x600
30283+ CRDLY = 0x600
30284+ CREAD = 0x80
30285+ CS6 = 0x10
30286+ CS7 = 0x20
30287+ CS8 = 0x30
30288+ CSIZE = 0x30
30289+ CSTOPB = 0x40
30290+ ECHOCTL = 0x200
30291+ ECHOE = 0x10
30292+ ECHOK = 0x20
30293+ ECHOKE = 0x800
30294+ ECHONL = 0x40
30295+ ECHOPRT = 0x400
30296+ EFD_CLOEXEC = 0x80000
30297+ EFD_NONBLOCK = 0x800
30298+ EPOLL_CLOEXEC = 0x80000
30299+ EXTPROC = 0x10000
30300+ FF1 = 0x8000
30301+ FFDLY = 0x8000
30302+ FLUSHO = 0x1000
30303+ FP_XSTATE_MAGIC2 = 0x46505845
30304+ FS_IOC_ENABLE_VERITY = 0x40806685
30305+ FS_IOC_GETFLAGS = 0x80086601
30306+ FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615
30307+ FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614
30308+ FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613
30309+ F_GETLK = 0x5
30310+ F_GETLK64 = 0x5
30311+ F_GETOWN = 0x9
30312+ F_RDLCK = 0x0
30313+ F_SETLK = 0x6
30314+ F_SETLK64 = 0x6
30315+ F_SETLKW = 0x7
30316+ F_SETLKW64 = 0x7
30317+ F_SETOWN = 0x8
30318+ F_UNLCK = 0x2
30319+ F_WRLCK = 0x1
30320+ HUPCL = 0x400
30321+ ICANON = 0x2
30322+ IEXTEN = 0x8000
30323+ IN_CLOEXEC = 0x80000
30324+ IN_NONBLOCK = 0x800
30325+ IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x7b9
30326+ ISIG = 0x1
30327+ IUCLC = 0x200
30328+ IXOFF = 0x1000
30329+ IXON = 0x400
30330+ MAP_32BIT = 0x40
30331+ MAP_ANON = 0x20
30332+ MAP_ANONYMOUS = 0x20
30333+ MAP_DENYWRITE = 0x800
30334+ MAP_EXECUTABLE = 0x1000
30335+ MAP_GROWSDOWN = 0x100
30336+ MAP_HUGETLB = 0x40000
30337+ MAP_LOCKED = 0x2000
30338+ MAP_NONBLOCK = 0x10000
30339+ MAP_NORESERVE = 0x4000
30340+ MAP_POPULATE = 0x8000
30341+ MAP_STACK = 0x20000
30342+ MAP_SYNC = 0x80000
30343+ MCL_CURRENT = 0x1
30344+ MCL_FUTURE = 0x2
30345+ MCL_ONFAULT = 0x4
30346+ NFDBITS = 0x40
30347+ NLDLY = 0x100
30348+ NOFLSH = 0x80
30349+ NS_GET_NSTYPE = 0xb703
30350+ NS_GET_OWNER_UID = 0xb704
30351+ NS_GET_PARENT = 0xb702
30352+ NS_GET_USERNS = 0xb701
30353+ OLCUC = 0x2
30354+ ONLCR = 0x4
30355+ O_APPEND = 0x400
30356+ O_ASYNC = 0x2000
30357+ O_CLOEXEC = 0x80000
30358+ O_CREAT = 0x40
30359+ O_DIRECT = 0x4000
30360+ O_DIRECTORY = 0x10000
30361+ O_DSYNC = 0x1000
30362+ O_EXCL = 0x80
30363+ O_FSYNC = 0x101000
30364+ O_LARGEFILE = 0x0
30365+ O_NDELAY = 0x800
30366+ O_NOATIME = 0x40000
30367+ O_NOCTTY = 0x100
30368+ O_NOFOLLOW = 0x20000
30369+ O_NONBLOCK = 0x800
30370+ O_PATH = 0x200000
30371+ O_RSYNC = 0x101000
30372+ O_SYNC = 0x101000
30373+ O_TMPFILE = 0x410000
30374+ O_TRUNC = 0x200
30375+ PARENB = 0x100
30376+ PARODD = 0x200
30377+ PENDIN = 0x4000
30378+ PERF_EVENT_IOC_DISABLE = 0x2401
30379+ PERF_EVENT_IOC_ENABLE = 0x2400
30380+ PERF_EVENT_IOC_ID = 0x80082407
30381+ PERF_EVENT_IOC_MODIFY_ATTRIBUTES = 0x4008240b
30382+ PERF_EVENT_IOC_PAUSE_OUTPUT = 0x40042409
30383+ PERF_EVENT_IOC_PERIOD = 0x40082404
30384+ PERF_EVENT_IOC_QUERY_BPF = 0xc008240a
30385+ PERF_EVENT_IOC_REFRESH = 0x2402
30386+ PERF_EVENT_IOC_RESET = 0x2403
30387+ PERF_EVENT_IOC_SET_BPF = 0x40042408
30388+ PERF_EVENT_IOC_SET_FILTER = 0x40082406
30389+ PERF_EVENT_IOC_SET_OUTPUT = 0x2405
30390+ PPPIOCATTACH = 0x4004743d
30391+ PPPIOCATTCHAN = 0x40047438
30392+ PPPIOCCONNECT = 0x4004743a
30393+ PPPIOCDETACH = 0x4004743c
30394+ PPPIOCDISCONN = 0x7439
30395+ PPPIOCGASYNCMAP = 0x80047458
30396+ PPPIOCGCHAN = 0x80047437
30397+ PPPIOCGDEBUG = 0x80047441
30398+ PPPIOCGFLAGS = 0x8004745a
30399+ PPPIOCGIDLE = 0x8010743f
30400+ PPPIOCGIDLE32 = 0x8008743f
30401+ PPPIOCGIDLE64 = 0x8010743f
30402+ PPPIOCGL2TPSTATS = 0x80487436
30403+ PPPIOCGMRU = 0x80047453
30404+ PPPIOCGRASYNCMAP = 0x80047455
30405+ PPPIOCGUNIT = 0x80047456
30406+ PPPIOCGXASYNCMAP = 0x80207450
30407+ PPPIOCSACTIVE = 0x40107446
30408+ PPPIOCSASYNCMAP = 0x40047457
30409+ PPPIOCSCOMPRESS = 0x4010744d
30410+ PPPIOCSDEBUG = 0x40047440
30411+ PPPIOCSFLAGS = 0x40047459
30412+ PPPIOCSMAXCID = 0x40047451
30413+ PPPIOCSMRRU = 0x4004743b
30414+ PPPIOCSMRU = 0x40047452
30415+ PPPIOCSNPMODE = 0x4008744b
30416+ PPPIOCSPASS = 0x40107447
30417+ PPPIOCSRASYNCMAP = 0x40047454
30418+ PPPIOCSXASYNCMAP = 0x4020744f
30419+ PPPIOCXFERUNIT = 0x744e
30420+ PR_SET_PTRACER_ANY = 0xffffffffffffffff
30421+ PTRACE_ARCH_PRCTL = 0x1e
30422+ PTRACE_GETFPREGS = 0xe
30423+ PTRACE_GETFPXREGS = 0x12
30424+ PTRACE_GET_THREAD_AREA = 0x19
30425+ PTRACE_OLDSETOPTIONS = 0x15
30426+ PTRACE_SETFPREGS = 0xf
30427+ PTRACE_SETFPXREGS = 0x13
30428+ PTRACE_SET_THREAD_AREA = 0x1a
30429+ PTRACE_SINGLEBLOCK = 0x21
30430+ PTRACE_SYSEMU = 0x1f
30431+ PTRACE_SYSEMU_SINGLESTEP = 0x20
30432+ RLIMIT_AS = 0x9
30433+ RLIMIT_MEMLOCK = 0x8
30434+ RLIMIT_NOFILE = 0x7
30435+ RLIMIT_NPROC = 0x6
30436+ RLIMIT_RSS = 0x5
30437+ RNDADDENTROPY = 0x40085203
30438+ RNDADDTOENTCNT = 0x40045201
30439+ RNDCLEARPOOL = 0x5206
30440+ RNDGETENTCNT = 0x80045200
30441+ RNDGETPOOL = 0x80085202
30442+ RNDRESEEDCRNG = 0x5207
30443+ RNDZAPENTCNT = 0x5204
30444+ RTC_AIE_OFF = 0x7002
30445+ RTC_AIE_ON = 0x7001
30446+ RTC_ALM_READ = 0x80247008
30447+ RTC_ALM_SET = 0x40247007
30448+ RTC_EPOCH_READ = 0x8008700d
30449+ RTC_EPOCH_SET = 0x4008700e
30450+ RTC_IRQP_READ = 0x8008700b
30451+ RTC_IRQP_SET = 0x4008700c
30452+ RTC_PIE_OFF = 0x7006
30453+ RTC_PIE_ON = 0x7005
30454+ RTC_PLL_GET = 0x80207011
30455+ RTC_PLL_SET = 0x40207012
30456+ RTC_RD_TIME = 0x80247009
30457+ RTC_SET_TIME = 0x4024700a
30458+ RTC_UIE_OFF = 0x7004
30459+ RTC_UIE_ON = 0x7003
30460+ RTC_VL_CLR = 0x7014
30461+ RTC_VL_READ = 0x80047013
30462+ RTC_WIE_OFF = 0x7010
30463+ RTC_WIE_ON = 0x700f
30464+ RTC_WKALM_RD = 0x80287010
30465+ RTC_WKALM_SET = 0x4028700f
30466+ SCM_TIMESTAMPING = 0x25
30467+ SCM_TIMESTAMPING_OPT_STATS = 0x36
30468+ SCM_TIMESTAMPING_PKTINFO = 0x3a
30469+ SCM_TIMESTAMPNS = 0x23
30470+ SCM_TXTIME = 0x3d
30471+ SCM_WIFI_STATUS = 0x29
30472+ SFD_CLOEXEC = 0x80000
30473+ SFD_NONBLOCK = 0x800
30474+ SIOCATMARK = 0x8905
30475+ SIOCGPGRP = 0x8904
30476+ SIOCGSTAMPNS_NEW = 0x80108907
30477+ SIOCGSTAMP_NEW = 0x80108906
30478+ SIOCINQ = 0x541b
30479+ SIOCOUTQ = 0x5411
30480+ SIOCSPGRP = 0x8902
30481+ SOCK_CLOEXEC = 0x80000
30482+ SOCK_DGRAM = 0x2
30483+ SOCK_NONBLOCK = 0x800
30484+ SOCK_STREAM = 0x1
30485+ SOL_SOCKET = 0x1
30486+ SO_ACCEPTCONN = 0x1e
30487+ SO_ATTACH_BPF = 0x32
30488+ SO_ATTACH_REUSEPORT_CBPF = 0x33
30489+ SO_ATTACH_REUSEPORT_EBPF = 0x34
30490+ SO_BINDTODEVICE = 0x19
30491+ SO_BINDTOIFINDEX = 0x3e
30492+ SO_BPF_EXTENSIONS = 0x30
30493+ SO_BROADCAST = 0x6
30494+ SO_BSDCOMPAT = 0xe
30495+ SO_BUSY_POLL = 0x2e
30496+ SO_CNX_ADVICE = 0x35
30497+ SO_COOKIE = 0x39
30498+ SO_DETACH_REUSEPORT_BPF = 0x44
30499+ SO_DOMAIN = 0x27
30500+ SO_DONTROUTE = 0x5
30501+ SO_ERROR = 0x4
30502+ SO_INCOMING_CPU = 0x31
30503+ SO_INCOMING_NAPI_ID = 0x38
30504+ SO_KEEPALIVE = 0x9
30505+ SO_LINGER = 0xd
30506+ SO_LOCK_FILTER = 0x2c
30507+ SO_MARK = 0x24
30508+ SO_MAX_PACING_RATE = 0x2f
30509+ SO_MEMINFO = 0x37
30510+ SO_NOFCS = 0x2b
30511+ SO_OOBINLINE = 0xa
30512+ SO_PASSCRED = 0x10
30513+ SO_PASSSEC = 0x22
30514+ SO_PEEK_OFF = 0x2a
30515+ SO_PEERCRED = 0x11
30516+ SO_PEERGROUPS = 0x3b
30517+ SO_PEERSEC = 0x1f
30518+ SO_PROTOCOL = 0x26
30519+ SO_RCVBUF = 0x8
30520+ SO_RCVBUFFORCE = 0x21
30521+ SO_RCVLOWAT = 0x12
30522+ SO_RCVTIMEO = 0x14
30523+ SO_RCVTIMEO_NEW = 0x42
30524+ SO_RCVTIMEO_OLD = 0x14
30525+ SO_REUSEADDR = 0x2
30526+ SO_REUSEPORT = 0xf
30527+ SO_RXQ_OVFL = 0x28
30528+ SO_SECURITY_AUTHENTICATION = 0x16
30529+ SO_SECURITY_ENCRYPTION_NETWORK = 0x18
30530+ SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
30531+ SO_SELECT_ERR_QUEUE = 0x2d
30532+ SO_SNDBUF = 0x7
30533+ SO_SNDBUFFORCE = 0x20
30534+ SO_SNDLOWAT = 0x13
30535+ SO_SNDTIMEO = 0x15
30536+ SO_SNDTIMEO_NEW = 0x43
30537+ SO_SNDTIMEO_OLD = 0x15
30538+ SO_TIMESTAMPING = 0x25
30539+ SO_TIMESTAMPING_NEW = 0x41
30540+ SO_TIMESTAMPING_OLD = 0x25
30541+ SO_TIMESTAMPNS = 0x23
30542+ SO_TIMESTAMPNS_NEW = 0x40
30543+ SO_TIMESTAMPNS_OLD = 0x23
30544+ SO_TIMESTAMP_NEW = 0x3f
30545+ SO_TXTIME = 0x3d
30546+ SO_TYPE = 0x3
30547+ SO_WIFI_STATUS = 0x29
30548+ SO_ZEROCOPY = 0x3c
30549+ TAB1 = 0x800
30550+ TAB2 = 0x1000
30551+ TAB3 = 0x1800
30552+ TABDLY = 0x1800
30553+ TCFLSH = 0x540b
30554+ TCGETA = 0x5405
30555+ TCGETS = 0x5401
30556+ TCGETS2 = 0x802c542a
30557+ TCGETX = 0x5432
30558+ TCSAFLUSH = 0x2
30559+ TCSBRK = 0x5409
30560+ TCSBRKP = 0x5425
30561+ TCSETA = 0x5406
30562+ TCSETAF = 0x5408
30563+ TCSETAW = 0x5407
30564+ TCSETS = 0x5402
30565+ TCSETS2 = 0x402c542b
30566+ TCSETSF = 0x5404
30567+ TCSETSF2 = 0x402c542d
30568+ TCSETSW = 0x5403
30569+ TCSETSW2 = 0x402c542c
30570+ TCSETX = 0x5433
30571+ TCSETXF = 0x5434
30572+ TCSETXW = 0x5435
30573+ TCXONC = 0x540a
30574+ TIOCCBRK = 0x5428
30575+ TIOCCONS = 0x541d
30576+ TIOCEXCL = 0x540c
30577+ TIOCGDEV = 0x80045432
30578+ TIOCGETD = 0x5424
30579+ TIOCGEXCL = 0x80045440
30580+ TIOCGICOUNT = 0x545d
30581+ TIOCGISO7816 = 0x80285442
30582+ TIOCGLCKTRMIOS = 0x5456
30583+ TIOCGPGRP = 0x540f
30584+ TIOCGPKT = 0x80045438
30585+ TIOCGPTLCK = 0x80045439
30586+ TIOCGPTN = 0x80045430
30587+ TIOCGPTPEER = 0x5441
30588+ TIOCGRS485 = 0x542e
30589+ TIOCGSERIAL = 0x541e
30590+ TIOCGSID = 0x5429
30591+ TIOCGSOFTCAR = 0x5419
30592+ TIOCGWINSZ = 0x5413
30593+ TIOCINQ = 0x541b
30594+ TIOCLINUX = 0x541c
30595+ TIOCMBIC = 0x5417
30596+ TIOCMBIS = 0x5416
30597+ TIOCMGET = 0x5415
30598+ TIOCMIWAIT = 0x545c
30599+ TIOCMSET = 0x5418
30600+ TIOCM_CAR = 0x40
30601+ TIOCM_CD = 0x40
30602+ TIOCM_CTS = 0x20
30603+ TIOCM_DSR = 0x100
30604+ TIOCM_RI = 0x80
30605+ TIOCM_RNG = 0x80
30606+ TIOCM_SR = 0x10
30607+ TIOCM_ST = 0x8
30608+ TIOCNOTTY = 0x5422
30609+ TIOCNXCL = 0x540d
30610+ TIOCOUTQ = 0x5411
30611+ TIOCPKT = 0x5420
30612+ TIOCSBRK = 0x5427
30613+ TIOCSCTTY = 0x540e
30614+ TIOCSERCONFIG = 0x5453
30615+ TIOCSERGETLSR = 0x5459
30616+ TIOCSERGETMULTI = 0x545a
30617+ TIOCSERGSTRUCT = 0x5458
30618+ TIOCSERGWILD = 0x5454
30619+ TIOCSERSETMULTI = 0x545b
30620+ TIOCSERSWILD = 0x5455
30621+ TIOCSER_TEMT = 0x1
30622+ TIOCSETD = 0x5423
30623+ TIOCSIG = 0x40045436
30624+ TIOCSISO7816 = 0xc0285443
30625+ TIOCSLCKTRMIOS = 0x5457
30626+ TIOCSPGRP = 0x5410
30627+ TIOCSPTLCK = 0x40045431
30628+ TIOCSRS485 = 0x542f
30629+ TIOCSSERIAL = 0x541f
30630+ TIOCSSOFTCAR = 0x541a
30631+ TIOCSTI = 0x5412
30632+ TIOCSWINSZ = 0x5414
30633+ TIOCVHANGUP = 0x5437
30634+ TOSTOP = 0x100
30635+ TUNATTACHFILTER = 0x401054d5
30636+ TUNDETACHFILTER = 0x401054d6
30637+ TUNGETDEVNETNS = 0x54e3
30638+ TUNGETFEATURES = 0x800454cf
30639+ TUNGETFILTER = 0x801054db
30640+ TUNGETIFF = 0x800454d2
30641+ TUNGETSNDBUF = 0x800454d3
30642+ TUNGETVNETBE = 0x800454df
30643+ TUNGETVNETHDRSZ = 0x800454d7
30644+ TUNGETVNETLE = 0x800454dd
30645+ TUNSETCARRIER = 0x400454e2
30646+ TUNSETDEBUG = 0x400454c9
30647+ TUNSETFILTEREBPF = 0x800454e1
30648+ TUNSETGROUP = 0x400454ce
30649+ TUNSETIFF = 0x400454ca
30650+ TUNSETIFINDEX = 0x400454da
30651+ TUNSETLINK = 0x400454cd
30652+ TUNSETNOCSUM = 0x400454c8
30653+ TUNSETOFFLOAD = 0x400454d0
30654+ TUNSETOWNER = 0x400454cc
30655+ TUNSETPERSIST = 0x400454cb
30656+ TUNSETQUEUE = 0x400454d9
30657+ TUNSETSNDBUF = 0x400454d4
30658+ TUNSETSTEERINGEBPF = 0x800454e0
30659+ TUNSETTXFILTER = 0x400454d1
30660+ TUNSETVNETBE = 0x400454de
30661+ TUNSETVNETHDRSZ = 0x400454d8
30662+ TUNSETVNETLE = 0x400454dc
30663+ UBI_IOCATT = 0x40186f40
30664+ UBI_IOCDET = 0x40046f41
30665+ UBI_IOCEBCH = 0x40044f02
30666+ UBI_IOCEBER = 0x40044f01
30667+ UBI_IOCEBISMAP = 0x80044f05
30668+ UBI_IOCEBMAP = 0x40084f03
30669+ UBI_IOCEBUNMAP = 0x40044f04
30670+ UBI_IOCMKVOL = 0x40986f00
30671+ UBI_IOCRMVOL = 0x40046f01
30672+ UBI_IOCRNVOL = 0x51106f03
30673+ UBI_IOCRPEB = 0x40046f04
30674+ UBI_IOCRSVOL = 0x400c6f02
30675+ UBI_IOCSETVOLPROP = 0x40104f06
30676+ UBI_IOCSPEB = 0x40046f05
30677+ UBI_IOCVOLCRBLK = 0x40804f07
30678+ UBI_IOCVOLRMBLK = 0x4f08
30679+ UBI_IOCVOLUP = 0x40084f00
30680+ VDISCARD = 0xd
30681+ VEOF = 0x4
30682+ VEOL = 0xb
30683+ VEOL2 = 0x10
30684+ VMIN = 0x6
30685+ VREPRINT = 0xc
30686+ VSTART = 0x8
30687+ VSTOP = 0x9
30688+ VSUSP = 0xa
30689+ VSWTC = 0x7
30690+ VT1 = 0x4000
30691+ VTDLY = 0x4000
30692+ VTIME = 0x5
30693+ VWERASE = 0xe
30694+ WDIOC_GETBOOTSTATUS = 0x80045702
30695+ WDIOC_GETPRETIMEOUT = 0x80045709
30696+ WDIOC_GETSTATUS = 0x80045701
30697+ WDIOC_GETSUPPORT = 0x80285700
30698+ WDIOC_GETTEMP = 0x80045703
30699+ WDIOC_GETTIMELEFT = 0x8004570a
30700+ WDIOC_GETTIMEOUT = 0x80045707
30701+ WDIOC_KEEPALIVE = 0x80045705
30702+ WDIOC_SETOPTIONS = 0x80045704
30703+ WORDSIZE = 0x40
30704+ XCASE = 0x4
30705+ XTABS = 0x1800
30706 )
30707
30708 // Errors
30709 const (
30710- E2BIG = syscall.Errno(0x7)
30711- EACCES = syscall.Errno(0xd)
30712 EADDRINUSE = syscall.Errno(0x62)
30713 EADDRNOTAVAIL = syscall.Errno(0x63)
30714 EADV = syscall.Errno(0x44)
30715 EAFNOSUPPORT = syscall.Errno(0x61)
30716- EAGAIN = syscall.Errno(0xb)
30717 EALREADY = syscall.Errno(0x72)
30718 EBADE = syscall.Errno(0x34)
30719- EBADF = syscall.Errno(0x9)
30720 EBADFD = syscall.Errno(0x4d)
30721 EBADMSG = syscall.Errno(0x4a)
30722 EBADR = syscall.Errno(0x35)
30723 EBADRQC = syscall.Errno(0x38)
30724 EBADSLT = syscall.Errno(0x39)
30725 EBFONT = syscall.Errno(0x3b)
30726- EBUSY = syscall.Errno(0x10)
30727 ECANCELED = syscall.Errno(0x7d)
30728- ECHILD = syscall.Errno(0xa)
30729 ECHRNG = syscall.Errno(0x2c)
30730 ECOMM = syscall.Errno(0x46)
30731 ECONNABORTED = syscall.Errno(0x67)
30732@@ -1882,23 +500,15 @@ const (
30733 EDEADLK = syscall.Errno(0x23)
30734 EDEADLOCK = syscall.Errno(0x23)
30735 EDESTADDRREQ = syscall.Errno(0x59)
30736- EDOM = syscall.Errno(0x21)
30737 EDOTDOT = syscall.Errno(0x49)
30738 EDQUOT = syscall.Errno(0x7a)
30739- EEXIST = syscall.Errno(0x11)
30740- EFAULT = syscall.Errno(0xe)
30741- EFBIG = syscall.Errno(0x1b)
30742 EHOSTDOWN = syscall.Errno(0x70)
30743 EHOSTUNREACH = syscall.Errno(0x71)
30744 EHWPOISON = syscall.Errno(0x85)
30745 EIDRM = syscall.Errno(0x2b)
30746 EILSEQ = syscall.Errno(0x54)
30747 EINPROGRESS = syscall.Errno(0x73)
30748- EINTR = syscall.Errno(0x4)
30749- EINVAL = syscall.Errno(0x16)
30750- EIO = syscall.Errno(0x5)
30751 EISCONN = syscall.Errno(0x6a)
30752- EISDIR = syscall.Errno(0x15)
30753 EISNAM = syscall.Errno(0x78)
30754 EKEYEXPIRED = syscall.Errno(0x7f)
30755 EKEYREJECTED = syscall.Errno(0x81)
30756@@ -1915,8 +525,6 @@ const (
30757 ELNRNG = syscall.Errno(0x30)
30758 ELOOP = syscall.Errno(0x28)
30759 EMEDIUMTYPE = syscall.Errno(0x7c)
30760- EMFILE = syscall.Errno(0x18)
30761- EMLINK = syscall.Errno(0x1f)
30762 EMSGSIZE = syscall.Errno(0x5a)
30763 EMULTIHOP = syscall.Errno(0x48)
30764 ENAMETOOLONG = syscall.Errno(0x24)
30765@@ -1924,103 +532,70 @@ const (
30766 ENETDOWN = syscall.Errno(0x64)
30767 ENETRESET = syscall.Errno(0x66)
30768 ENETUNREACH = syscall.Errno(0x65)
30769- ENFILE = syscall.Errno(0x17)
30770 ENOANO = syscall.Errno(0x37)
30771 ENOBUFS = syscall.Errno(0x69)
30772 ENOCSI = syscall.Errno(0x32)
30773 ENODATA = syscall.Errno(0x3d)
30774- ENODEV = syscall.Errno(0x13)
30775- ENOENT = syscall.Errno(0x2)
30776- ENOEXEC = syscall.Errno(0x8)
30777 ENOKEY = syscall.Errno(0x7e)
30778 ENOLCK = syscall.Errno(0x25)
30779 ENOLINK = syscall.Errno(0x43)
30780 ENOMEDIUM = syscall.Errno(0x7b)
30781- ENOMEM = syscall.Errno(0xc)
30782 ENOMSG = syscall.Errno(0x2a)
30783 ENONET = syscall.Errno(0x40)
30784 ENOPKG = syscall.Errno(0x41)
30785 ENOPROTOOPT = syscall.Errno(0x5c)
30786- ENOSPC = syscall.Errno(0x1c)
30787 ENOSR = syscall.Errno(0x3f)
30788 ENOSTR = syscall.Errno(0x3c)
30789 ENOSYS = syscall.Errno(0x26)
30790- ENOTBLK = syscall.Errno(0xf)
30791 ENOTCONN = syscall.Errno(0x6b)
30792- ENOTDIR = syscall.Errno(0x14)
30793 ENOTEMPTY = syscall.Errno(0x27)
30794 ENOTNAM = syscall.Errno(0x76)
30795 ENOTRECOVERABLE = syscall.Errno(0x83)
30796 ENOTSOCK = syscall.Errno(0x58)
30797 ENOTSUP = syscall.Errno(0x5f)
30798- ENOTTY = syscall.Errno(0x19)
30799 ENOTUNIQ = syscall.Errno(0x4c)
30800- ENXIO = syscall.Errno(0x6)
30801 EOPNOTSUPP = syscall.Errno(0x5f)
30802 EOVERFLOW = syscall.Errno(0x4b)
30803 EOWNERDEAD = syscall.Errno(0x82)
30804- EPERM = syscall.Errno(0x1)
30805 EPFNOSUPPORT = syscall.Errno(0x60)
30806- EPIPE = syscall.Errno(0x20)
30807 EPROTO = syscall.Errno(0x47)
30808 EPROTONOSUPPORT = syscall.Errno(0x5d)
30809 EPROTOTYPE = syscall.Errno(0x5b)
30810- ERANGE = syscall.Errno(0x22)
30811 EREMCHG = syscall.Errno(0x4e)
30812 EREMOTE = syscall.Errno(0x42)
30813 EREMOTEIO = syscall.Errno(0x79)
30814 ERESTART = syscall.Errno(0x55)
30815 ERFKILL = syscall.Errno(0x84)
30816- EROFS = syscall.Errno(0x1e)
30817 ESHUTDOWN = syscall.Errno(0x6c)
30818 ESOCKTNOSUPPORT = syscall.Errno(0x5e)
30819- ESPIPE = syscall.Errno(0x1d)
30820- ESRCH = syscall.Errno(0x3)
30821 ESRMNT = syscall.Errno(0x45)
30822 ESTALE = syscall.Errno(0x74)
30823 ESTRPIPE = syscall.Errno(0x56)
30824 ETIME = syscall.Errno(0x3e)
30825 ETIMEDOUT = syscall.Errno(0x6e)
30826 ETOOMANYREFS = syscall.Errno(0x6d)
30827- ETXTBSY = syscall.Errno(0x1a)
30828 EUCLEAN = syscall.Errno(0x75)
30829 EUNATCH = syscall.Errno(0x31)
30830 EUSERS = syscall.Errno(0x57)
30831- EWOULDBLOCK = syscall.Errno(0xb)
30832- EXDEV = syscall.Errno(0x12)
30833 EXFULL = syscall.Errno(0x36)
30834 )
30835
30836 // Signals
30837 const (
30838- SIGABRT = syscall.Signal(0x6)
30839- SIGALRM = syscall.Signal(0xe)
30840 SIGBUS = syscall.Signal(0x7)
30841 SIGCHLD = syscall.Signal(0x11)
30842 SIGCLD = syscall.Signal(0x11)
30843 SIGCONT = syscall.Signal(0x12)
30844- SIGFPE = syscall.Signal(0x8)
30845- SIGHUP = syscall.Signal(0x1)
30846- SIGILL = syscall.Signal(0x4)
30847- SIGINT = syscall.Signal(0x2)
30848 SIGIO = syscall.Signal(0x1d)
30849- SIGIOT = syscall.Signal(0x6)
30850- SIGKILL = syscall.Signal(0x9)
30851- SIGPIPE = syscall.Signal(0xd)
30852 SIGPOLL = syscall.Signal(0x1d)
30853 SIGPROF = syscall.Signal(0x1b)
30854 SIGPWR = syscall.Signal(0x1e)
30855- SIGQUIT = syscall.Signal(0x3)
30856- SIGSEGV = syscall.Signal(0xb)
30857 SIGSTKFLT = syscall.Signal(0x10)
30858 SIGSTOP = syscall.Signal(0x13)
30859 SIGSYS = syscall.Signal(0x1f)
30860- SIGTERM = syscall.Signal(0xf)
30861- SIGTRAP = syscall.Signal(0x5)
30862 SIGTSTP = syscall.Signal(0x14)
30863 SIGTTIN = syscall.Signal(0x15)
30864 SIGTTOU = syscall.Signal(0x16)
30865- SIGUNUSED = syscall.Signal(0x1f)
30866 SIGURG = syscall.Signal(0x17)
30867 SIGUSR1 = syscall.Signal(0xa)
30868 SIGUSR2 = syscall.Signal(0xc)
30869@@ -2031,171 +606,179 @@ const (
30870 )
30871
30872 // Error table
30873-var errors = [...]string{
30874- 1: "operation not permitted",
30875- 2: "no such file or directory",
30876- 3: "no such process",
30877- 4: "interrupted system call",
30878- 5: "input/output error",
30879- 6: "no such device or address",
30880- 7: "argument list too long",
30881- 8: "exec format error",
30882- 9: "bad file descriptor",
30883- 10: "no child processes",
30884- 11: "resource temporarily unavailable",
30885- 12: "cannot allocate memory",
30886- 13: "permission denied",
30887- 14: "bad address",
30888- 15: "block device required",
30889- 16: "device or resource busy",
30890- 17: "file exists",
30891- 18: "invalid cross-device link",
30892- 19: "no such device",
30893- 20: "not a directory",
30894- 21: "is a directory",
30895- 22: "invalid argument",
30896- 23: "too many open files in system",
30897- 24: "too many open files",
30898- 25: "inappropriate ioctl for device",
30899- 26: "text file busy",
30900- 27: "file too large",
30901- 28: "no space left on device",
30902- 29: "illegal seek",
30903- 30: "read-only file system",
30904- 31: "too many links",
30905- 32: "broken pipe",
30906- 33: "numerical argument out of domain",
30907- 34: "numerical result out of range",
30908- 35: "resource deadlock avoided",
30909- 36: "file name too long",
30910- 37: "no locks available",
30911- 38: "function not implemented",
30912- 39: "directory not empty",
30913- 40: "too many levels of symbolic links",
30914- 42: "no message of desired type",
30915- 43: "identifier removed",
30916- 44: "channel number out of range",
30917- 45: "level 2 not synchronized",
30918- 46: "level 3 halted",
30919- 47: "level 3 reset",
30920- 48: "link number out of range",
30921- 49: "protocol driver not attached",
30922- 50: "no CSI structure available",
30923- 51: "level 2 halted",
30924- 52: "invalid exchange",
30925- 53: "invalid request descriptor",
30926- 54: "exchange full",
30927- 55: "no anode",
30928- 56: "invalid request code",
30929- 57: "invalid slot",
30930- 59: "bad font file format",
30931- 60: "device not a stream",
30932- 61: "no data available",
30933- 62: "timer expired",
30934- 63: "out of streams resources",
30935- 64: "machine is not on the network",
30936- 65: "package not installed",
30937- 66: "object is remote",
30938- 67: "link has been severed",
30939- 68: "advertise error",
30940- 69: "srmount error",
30941- 70: "communication error on send",
30942- 71: "protocol error",
30943- 72: "multihop attempted",
30944- 73: "RFS specific error",
30945- 74: "bad message",
30946- 75: "value too large for defined data type",
30947- 76: "name not unique on network",
30948- 77: "file descriptor in bad state",
30949- 78: "remote address changed",
30950- 79: "can not access a needed shared library",
30951- 80: "accessing a corrupted shared library",
30952- 81: ".lib section in a.out corrupted",
30953- 82: "attempting to link in too many shared libraries",
30954- 83: "cannot exec a shared library directly",
30955- 84: "invalid or incomplete multibyte or wide character",
30956- 85: "interrupted system call should be restarted",
30957- 86: "streams pipe error",
30958- 87: "too many users",
30959- 88: "socket operation on non-socket",
30960- 89: "destination address required",
30961- 90: "message too long",
30962- 91: "protocol wrong type for socket",
30963- 92: "protocol not available",
30964- 93: "protocol not supported",
30965- 94: "socket type not supported",
30966- 95: "operation not supported",
30967- 96: "protocol family not supported",
30968- 97: "address family not supported by protocol",
30969- 98: "address already in use",
30970- 99: "cannot assign requested address",
30971- 100: "network is down",
30972- 101: "network is unreachable",
30973- 102: "network dropped connection on reset",
30974- 103: "software caused connection abort",
30975- 104: "connection reset by peer",
30976- 105: "no buffer space available",
30977- 106: "transport endpoint is already connected",
30978- 107: "transport endpoint is not connected",
30979- 108: "cannot send after transport endpoint shutdown",
30980- 109: "too many references: cannot splice",
30981- 110: "connection timed out",
30982- 111: "connection refused",
30983- 112: "host is down",
30984- 113: "no route to host",
30985- 114: "operation already in progress",
30986- 115: "operation now in progress",
30987- 116: "stale file handle",
30988- 117: "structure needs cleaning",
30989- 118: "not a XENIX named type file",
30990- 119: "no XENIX semaphores available",
30991- 120: "is a named type file",
30992- 121: "remote I/O error",
30993- 122: "disk quota exceeded",
30994- 123: "no medium found",
30995- 124: "wrong medium type",
30996- 125: "operation canceled",
30997- 126: "required key not available",
30998- 127: "key has expired",
30999- 128: "key has been revoked",
31000- 129: "key was rejected by service",
31001- 130: "owner died",
31002- 131: "state not recoverable",
31003- 132: "operation not possible due to RF-kill",
31004- 133: "memory page has hardware error",
31005+var errorList = [...]struct {
31006+ num syscall.Errno
31007+ name string
31008+ desc string
31009+}{
31010+ {1, "EPERM", "operation not permitted"},
31011+ {2, "ENOENT", "no such file or directory"},
31012+ {3, "ESRCH", "no such process"},
31013+ {4, "EINTR", "interrupted system call"},
31014+ {5, "EIO", "input/output error"},
31015+ {6, "ENXIO", "no such device or address"},
31016+ {7, "E2BIG", "argument list too long"},
31017+ {8, "ENOEXEC", "exec format error"},
31018+ {9, "EBADF", "bad file descriptor"},
31019+ {10, "ECHILD", "no child processes"},
31020+ {11, "EAGAIN", "resource temporarily unavailable"},
31021+ {12, "ENOMEM", "cannot allocate memory"},
31022+ {13, "EACCES", "permission denied"},
31023+ {14, "EFAULT", "bad address"},
31024+ {15, "ENOTBLK", "block device required"},
31025+ {16, "EBUSY", "device or resource busy"},
31026+ {17, "EEXIST", "file exists"},
31027+ {18, "EXDEV", "invalid cross-device link"},
31028+ {19, "ENODEV", "no such device"},
31029+ {20, "ENOTDIR", "not a directory"},
31030+ {21, "EISDIR", "is a directory"},
31031+ {22, "EINVAL", "invalid argument"},
31032+ {23, "ENFILE", "too many open files in system"},
31033+ {24, "EMFILE", "too many open files"},
31034+ {25, "ENOTTY", "inappropriate ioctl for device"},
31035+ {26, "ETXTBSY", "text file busy"},
31036+ {27, "EFBIG", "file too large"},
31037+ {28, "ENOSPC", "no space left on device"},
31038+ {29, "ESPIPE", "illegal seek"},
31039+ {30, "EROFS", "read-only file system"},
31040+ {31, "EMLINK", "too many links"},
31041+ {32, "EPIPE", "broken pipe"},
31042+ {33, "EDOM", "numerical argument out of domain"},
31043+ {34, "ERANGE", "numerical result out of range"},
31044+ {35, "EDEADLK", "resource deadlock avoided"},
31045+ {36, "ENAMETOOLONG", "file name too long"},
31046+ {37, "ENOLCK", "no locks available"},
31047+ {38, "ENOSYS", "function not implemented"},
31048+ {39, "ENOTEMPTY", "directory not empty"},
31049+ {40, "ELOOP", "too many levels of symbolic links"},
31050+ {42, "ENOMSG", "no message of desired type"},
31051+ {43, "EIDRM", "identifier removed"},
31052+ {44, "ECHRNG", "channel number out of range"},
31053+ {45, "EL2NSYNC", "level 2 not synchronized"},
31054+ {46, "EL3HLT", "level 3 halted"},
31055+ {47, "EL3RST", "level 3 reset"},
31056+ {48, "ELNRNG", "link number out of range"},
31057+ {49, "EUNATCH", "protocol driver not attached"},
31058+ {50, "ENOCSI", "no CSI structure available"},
31059+ {51, "EL2HLT", "level 2 halted"},
31060+ {52, "EBADE", "invalid exchange"},
31061+ {53, "EBADR", "invalid request descriptor"},
31062+ {54, "EXFULL", "exchange full"},
31063+ {55, "ENOANO", "no anode"},
31064+ {56, "EBADRQC", "invalid request code"},
31065+ {57, "EBADSLT", "invalid slot"},
31066+ {59, "EBFONT", "bad font file format"},
31067+ {60, "ENOSTR", "device not a stream"},
31068+ {61, "ENODATA", "no data available"},
31069+ {62, "ETIME", "timer expired"},
31070+ {63, "ENOSR", "out of streams resources"},
31071+ {64, "ENONET", "machine is not on the network"},
31072+ {65, "ENOPKG", "package not installed"},
31073+ {66, "EREMOTE", "object is remote"},
31074+ {67, "ENOLINK", "link has been severed"},
31075+ {68, "EADV", "advertise error"},
31076+ {69, "ESRMNT", "srmount error"},
31077+ {70, "ECOMM", "communication error on send"},
31078+ {71, "EPROTO", "protocol error"},
31079+ {72, "EMULTIHOP", "multihop attempted"},
31080+ {73, "EDOTDOT", "RFS specific error"},
31081+ {74, "EBADMSG", "bad message"},
31082+ {75, "EOVERFLOW", "value too large for defined data type"},
31083+ {76, "ENOTUNIQ", "name not unique on network"},
31084+ {77, "EBADFD", "file descriptor in bad state"},
31085+ {78, "EREMCHG", "remote address changed"},
31086+ {79, "ELIBACC", "can not access a needed shared library"},
31087+ {80, "ELIBBAD", "accessing a corrupted shared library"},
31088+ {81, "ELIBSCN", ".lib section in a.out corrupted"},
31089+ {82, "ELIBMAX", "attempting to link in too many shared libraries"},
31090+ {83, "ELIBEXEC", "cannot exec a shared library directly"},
31091+ {84, "EILSEQ", "invalid or incomplete multibyte or wide character"},
31092+ {85, "ERESTART", "interrupted system call should be restarted"},
31093+ {86, "ESTRPIPE", "streams pipe error"},
31094+ {87, "EUSERS", "too many users"},
31095+ {88, "ENOTSOCK", "socket operation on non-socket"},
31096+ {89, "EDESTADDRREQ", "destination address required"},
31097+ {90, "EMSGSIZE", "message too long"},
31098+ {91, "EPROTOTYPE", "protocol wrong type for socket"},
31099+ {92, "ENOPROTOOPT", "protocol not available"},
31100+ {93, "EPROTONOSUPPORT", "protocol not supported"},
31101+ {94, "ESOCKTNOSUPPORT", "socket type not supported"},
31102+ {95, "ENOTSUP", "operation not supported"},
31103+ {96, "EPFNOSUPPORT", "protocol family not supported"},
31104+ {97, "EAFNOSUPPORT", "address family not supported by protocol"},
31105+ {98, "EADDRINUSE", "address already in use"},
31106+ {99, "EADDRNOTAVAIL", "cannot assign requested address"},
31107+ {100, "ENETDOWN", "network is down"},
31108+ {101, "ENETUNREACH", "network is unreachable"},
31109+ {102, "ENETRESET", "network dropped connection on reset"},
31110+ {103, "ECONNABORTED", "software caused connection abort"},
31111+ {104, "ECONNRESET", "connection reset by peer"},
31112+ {105, "ENOBUFS", "no buffer space available"},
31113+ {106, "EISCONN", "transport endpoint is already connected"},
31114+ {107, "ENOTCONN", "transport endpoint is not connected"},
31115+ {108, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
31116+ {109, "ETOOMANYREFS", "too many references: cannot splice"},
31117+ {110, "ETIMEDOUT", "connection timed out"},
31118+ {111, "ECONNREFUSED", "connection refused"},
31119+ {112, "EHOSTDOWN", "host is down"},
31120+ {113, "EHOSTUNREACH", "no route to host"},
31121+ {114, "EALREADY", "operation already in progress"},
31122+ {115, "EINPROGRESS", "operation now in progress"},
31123+ {116, "ESTALE", "stale file handle"},
31124+ {117, "EUCLEAN", "structure needs cleaning"},
31125+ {118, "ENOTNAM", "not a XENIX named type file"},
31126+ {119, "ENAVAIL", "no XENIX semaphores available"},
31127+ {120, "EISNAM", "is a named type file"},
31128+ {121, "EREMOTEIO", "remote I/O error"},
31129+ {122, "EDQUOT", "disk quota exceeded"},
31130+ {123, "ENOMEDIUM", "no medium found"},
31131+ {124, "EMEDIUMTYPE", "wrong medium type"},
31132+ {125, "ECANCELED", "operation canceled"},
31133+ {126, "ENOKEY", "required key not available"},
31134+ {127, "EKEYEXPIRED", "key has expired"},
31135+ {128, "EKEYREVOKED", "key has been revoked"},
31136+ {129, "EKEYREJECTED", "key was rejected by service"},
31137+ {130, "EOWNERDEAD", "owner died"},
31138+ {131, "ENOTRECOVERABLE", "state not recoverable"},
31139+ {132, "ERFKILL", "operation not possible due to RF-kill"},
31140+ {133, "EHWPOISON", "memory page has hardware error"},
31141 }
31142
31143 // Signal table
31144-var signals = [...]string{
31145- 1: "hangup",
31146- 2: "interrupt",
31147- 3: "quit",
31148- 4: "illegal instruction",
31149- 5: "trace/breakpoint trap",
31150- 6: "aborted",
31151- 7: "bus error",
31152- 8: "floating point exception",
31153- 9: "killed",
31154- 10: "user defined signal 1",
31155- 11: "segmentation fault",
31156- 12: "user defined signal 2",
31157- 13: "broken pipe",
31158- 14: "alarm clock",
31159- 15: "terminated",
31160- 16: "stack fault",
31161- 17: "child exited",
31162- 18: "continued",
31163- 19: "stopped (signal)",
31164- 20: "stopped",
31165- 21: "stopped (tty input)",
31166- 22: "stopped (tty output)",
31167- 23: "urgent I/O condition",
31168- 24: "CPU time limit exceeded",
31169- 25: "file size limit exceeded",
31170- 26: "virtual timer expired",
31171- 27: "profiling timer expired",
31172- 28: "window changed",
31173- 29: "I/O possible",
31174- 30: "power failure",
31175- 31: "bad system call",
31176+var signalList = [...]struct {
31177+ num syscall.Signal
31178+ name string
31179+ desc string
31180+}{
31181+ {1, "SIGHUP", "hangup"},
31182+ {2, "SIGINT", "interrupt"},
31183+ {3, "SIGQUIT", "quit"},
31184+ {4, "SIGILL", "illegal instruction"},
31185+ {5, "SIGTRAP", "trace/breakpoint trap"},
31186+ {6, "SIGABRT", "aborted"},
31187+ {7, "SIGBUS", "bus error"},
31188+ {8, "SIGFPE", "floating point exception"},
31189+ {9, "SIGKILL", "killed"},
31190+ {10, "SIGUSR1", "user defined signal 1"},
31191+ {11, "SIGSEGV", "segmentation fault"},
31192+ {12, "SIGUSR2", "user defined signal 2"},
31193+ {13, "SIGPIPE", "broken pipe"},
31194+ {14, "SIGALRM", "alarm clock"},
31195+ {15, "SIGTERM", "terminated"},
31196+ {16, "SIGSTKFLT", "stack fault"},
31197+ {17, "SIGCHLD", "child exited"},
31198+ {18, "SIGCONT", "continued"},
31199+ {19, "SIGSTOP", "stopped (signal)"},
31200+ {20, "SIGTSTP", "stopped"},
31201+ {21, "SIGTTIN", "stopped (tty input)"},
31202+ {22, "SIGTTOU", "stopped (tty output)"},
31203+ {23, "SIGURG", "urgent I/O condition"},
31204+ {24, "SIGXCPU", "CPU time limit exceeded"},
31205+ {25, "SIGXFSZ", "file size limit exceeded"},
31206+ {26, "SIGVTALRM", "virtual timer expired"},
31207+ {27, "SIGPROF", "profiling timer expired"},
31208+ {28, "SIGWINCH", "window changed"},
31209+ {29, "SIGIO", "I/O possible"},
31210+ {30, "SIGPWR", "power failure"},
31211+ {31, "SIGSYS", "bad system call"},
31212 }
31213diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go b/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go
31214index 1adff0b2..0541f36e 100644
31215--- a/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go
31216+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go
31217@@ -3,7 +3,7 @@
31218
31219 // +build arm,linux
31220
31221-// Created by cgo -godefs - DO NOT EDIT
31222+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
31223 // cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
31224
31225 package unix
31226@@ -11,1873 +11,493 @@ package unix
31227 import "syscall"
31228
31229 const (
31230- AF_ALG = 0x26
31231- AF_APPLETALK = 0x5
31232- AF_ASH = 0x12
31233- AF_ATMPVC = 0x8
31234- AF_ATMSVC = 0x14
31235- AF_AX25 = 0x3
31236- AF_BLUETOOTH = 0x1f
31237- AF_BRIDGE = 0x7
31238- AF_CAIF = 0x25
31239- AF_CAN = 0x1d
31240- AF_DECnet = 0xc
31241- AF_ECONET = 0x13
31242- AF_FILE = 0x1
31243- AF_IB = 0x1b
31244- AF_IEEE802154 = 0x24
31245- AF_INET = 0x2
31246- AF_INET6 = 0xa
31247- AF_IPX = 0x4
31248- AF_IRDA = 0x17
31249- AF_ISDN = 0x22
31250- AF_IUCV = 0x20
31251- AF_KCM = 0x29
31252- AF_KEY = 0xf
31253- AF_LLC = 0x1a
31254- AF_LOCAL = 0x1
31255- AF_MAX = 0x2b
31256- AF_MPLS = 0x1c
31257- AF_NETBEUI = 0xd
31258- AF_NETLINK = 0x10
31259- AF_NETROM = 0x6
31260- AF_NFC = 0x27
31261- AF_PACKET = 0x11
31262- AF_PHONET = 0x23
31263- AF_PPPOX = 0x18
31264- AF_QIPCRTR = 0x2a
31265- AF_RDS = 0x15
31266- AF_ROSE = 0xb
31267- AF_ROUTE = 0x10
31268- AF_RXRPC = 0x21
31269- AF_SECURITY = 0xe
31270- AF_SNA = 0x16
31271- AF_TIPC = 0x1e
31272- AF_UNIX = 0x1
31273- AF_UNSPEC = 0x0
31274- AF_VSOCK = 0x28
31275- AF_WANPIPE = 0x19
31276- AF_X25 = 0x9
31277- ALG_OP_DECRYPT = 0x0
31278- ALG_OP_ENCRYPT = 0x1
31279- ALG_SET_AEAD_ASSOCLEN = 0x4
31280- ALG_SET_AEAD_AUTHSIZE = 0x5
31281- ALG_SET_IV = 0x2
31282- ALG_SET_KEY = 0x1
31283- ALG_SET_OP = 0x3
31284- ARPHRD_6LOWPAN = 0x339
31285- ARPHRD_ADAPT = 0x108
31286- ARPHRD_APPLETLK = 0x8
31287- ARPHRD_ARCNET = 0x7
31288- ARPHRD_ASH = 0x30d
31289- ARPHRD_ATM = 0x13
31290- ARPHRD_AX25 = 0x3
31291- ARPHRD_BIF = 0x307
31292- ARPHRD_CAIF = 0x336
31293- ARPHRD_CAN = 0x118
31294- ARPHRD_CHAOS = 0x5
31295- ARPHRD_CISCO = 0x201
31296- ARPHRD_CSLIP = 0x101
31297- ARPHRD_CSLIP6 = 0x103
31298- ARPHRD_DDCMP = 0x205
31299- ARPHRD_DLCI = 0xf
31300- ARPHRD_ECONET = 0x30e
31301- ARPHRD_EETHER = 0x2
31302- ARPHRD_ETHER = 0x1
31303- ARPHRD_EUI64 = 0x1b
31304- ARPHRD_FCAL = 0x311
31305- ARPHRD_FCFABRIC = 0x313
31306- ARPHRD_FCPL = 0x312
31307- ARPHRD_FCPP = 0x310
31308- ARPHRD_FDDI = 0x306
31309- ARPHRD_FRAD = 0x302
31310- ARPHRD_HDLC = 0x201
31311- ARPHRD_HIPPI = 0x30c
31312- ARPHRD_HWX25 = 0x110
31313- ARPHRD_IEEE1394 = 0x18
31314- ARPHRD_IEEE802 = 0x6
31315- ARPHRD_IEEE80211 = 0x321
31316- ARPHRD_IEEE80211_PRISM = 0x322
31317- ARPHRD_IEEE80211_RADIOTAP = 0x323
31318- ARPHRD_IEEE802154 = 0x324
31319- ARPHRD_IEEE802154_MONITOR = 0x325
31320- ARPHRD_IEEE802_TR = 0x320
31321- ARPHRD_INFINIBAND = 0x20
31322- ARPHRD_IP6GRE = 0x337
31323- ARPHRD_IPDDP = 0x309
31324- ARPHRD_IPGRE = 0x30a
31325- ARPHRD_IRDA = 0x30f
31326- ARPHRD_LAPB = 0x204
31327- ARPHRD_LOCALTLK = 0x305
31328- ARPHRD_LOOPBACK = 0x304
31329- ARPHRD_METRICOM = 0x17
31330- ARPHRD_NETLINK = 0x338
31331- ARPHRD_NETROM = 0x0
31332- ARPHRD_NONE = 0xfffe
31333- ARPHRD_PHONET = 0x334
31334- ARPHRD_PHONET_PIPE = 0x335
31335- ARPHRD_PIMREG = 0x30b
31336- ARPHRD_PPP = 0x200
31337- ARPHRD_PRONET = 0x4
31338- ARPHRD_RAWHDLC = 0x206
31339- ARPHRD_ROSE = 0x10e
31340- ARPHRD_RSRVD = 0x104
31341- ARPHRD_SIT = 0x308
31342- ARPHRD_SKIP = 0x303
31343- ARPHRD_SLIP = 0x100
31344- ARPHRD_SLIP6 = 0x102
31345- ARPHRD_TUNNEL = 0x300
31346- ARPHRD_TUNNEL6 = 0x301
31347- ARPHRD_VOID = 0xffff
31348- ARPHRD_X25 = 0x10f
31349- B0 = 0x0
31350- B1000000 = 0x1008
31351- B110 = 0x3
31352- B115200 = 0x1002
31353- B1152000 = 0x1009
31354- B1200 = 0x9
31355- B134 = 0x4
31356- B150 = 0x5
31357- B1500000 = 0x100a
31358- B1800 = 0xa
31359- B19200 = 0xe
31360- B200 = 0x6
31361- B2000000 = 0x100b
31362- B230400 = 0x1003
31363- B2400 = 0xb
31364- B2500000 = 0x100c
31365- B300 = 0x7
31366- B3000000 = 0x100d
31367- B3500000 = 0x100e
31368- B38400 = 0xf
31369- B4000000 = 0x100f
31370- B460800 = 0x1004
31371- B4800 = 0xc
31372- B50 = 0x1
31373- B500000 = 0x1005
31374- B57600 = 0x1001
31375- B576000 = 0x1006
31376- B600 = 0x8
31377- B75 = 0x2
31378- B921600 = 0x1007
31379- B9600 = 0xd
31380- BLKBSZGET = 0x80041270
31381- BLKBSZSET = 0x40041271
31382- BLKFLSBUF = 0x1261
31383- BLKFRAGET = 0x1265
31384- BLKFRASET = 0x1264
31385- BLKGETSIZE = 0x1260
31386- BLKGETSIZE64 = 0x80041272
31387- BLKPBSZGET = 0x127b
31388- BLKRAGET = 0x1263
31389- BLKRASET = 0x1262
31390- BLKROGET = 0x125e
31391- BLKROSET = 0x125d
31392- BLKRRPART = 0x125f
31393- BLKSECTGET = 0x1267
31394- BLKSECTSET = 0x1266
31395- BLKSSZGET = 0x1268
31396- BOTHER = 0x1000
31397- BPF_A = 0x10
31398- BPF_ABS = 0x20
31399- BPF_ADD = 0x0
31400- BPF_ALU = 0x4
31401- BPF_AND = 0x50
31402- BPF_B = 0x10
31403- BPF_DIV = 0x30
31404- BPF_H = 0x8
31405- BPF_IMM = 0x0
31406- BPF_IND = 0x40
31407- BPF_JA = 0x0
31408- BPF_JEQ = 0x10
31409- BPF_JGE = 0x30
31410- BPF_JGT = 0x20
31411- BPF_JMP = 0x5
31412- BPF_JSET = 0x40
31413- BPF_K = 0x0
31414- BPF_LD = 0x0
31415- BPF_LDX = 0x1
31416- BPF_LEN = 0x80
31417- BPF_LL_OFF = -0x200000
31418- BPF_LSH = 0x60
31419- BPF_MAJOR_VERSION = 0x1
31420- BPF_MAXINSNS = 0x1000
31421- BPF_MEM = 0x60
31422- BPF_MEMWORDS = 0x10
31423- BPF_MINOR_VERSION = 0x1
31424- BPF_MISC = 0x7
31425- BPF_MOD = 0x90
31426- BPF_MSH = 0xa0
31427- BPF_MUL = 0x20
31428- BPF_NEG = 0x80
31429- BPF_NET_OFF = -0x100000
31430- BPF_OR = 0x40
31431- BPF_RET = 0x6
31432- BPF_RSH = 0x70
31433- BPF_ST = 0x2
31434- BPF_STX = 0x3
31435- BPF_SUB = 0x10
31436- BPF_TAX = 0x0
31437- BPF_TXA = 0x80
31438- BPF_W = 0x0
31439- BPF_X = 0x8
31440- BPF_XOR = 0xa0
31441- BRKINT = 0x2
31442- BS0 = 0x0
31443- BS1 = 0x2000
31444- BSDLY = 0x2000
31445- CAN_BCM = 0x2
31446- CAN_EFF_FLAG = 0x80000000
31447- CAN_EFF_ID_BITS = 0x1d
31448- CAN_EFF_MASK = 0x1fffffff
31449- CAN_ERR_FLAG = 0x20000000
31450- CAN_ERR_MASK = 0x1fffffff
31451- CAN_INV_FILTER = 0x20000000
31452- CAN_ISOTP = 0x6
31453- CAN_MAX_DLC = 0x8
31454- CAN_MAX_DLEN = 0x8
31455- CAN_MCNET = 0x5
31456- CAN_MTU = 0x10
31457- CAN_NPROTO = 0x7
31458- CAN_RAW = 0x1
31459- CAN_RAW_FILTER_MAX = 0x200
31460- CAN_RTR_FLAG = 0x40000000
31461- CAN_SFF_ID_BITS = 0xb
31462- CAN_SFF_MASK = 0x7ff
31463- CAN_TP16 = 0x3
31464- CAN_TP20 = 0x4
31465- CBAUD = 0x100f
31466- CBAUDEX = 0x1000
31467- CFLUSH = 0xf
31468- CIBAUD = 0x100f0000
31469- CLOCAL = 0x800
31470- CLOCK_BOOTTIME = 0x7
31471- CLOCK_BOOTTIME_ALARM = 0x9
31472- CLOCK_DEFAULT = 0x0
31473- CLOCK_EXT = 0x1
31474- CLOCK_INT = 0x2
31475- CLOCK_MONOTONIC = 0x1
31476- CLOCK_MONOTONIC_COARSE = 0x6
31477- CLOCK_MONOTONIC_RAW = 0x4
31478- CLOCK_PROCESS_CPUTIME_ID = 0x2
31479- CLOCK_REALTIME = 0x0
31480- CLOCK_REALTIME_ALARM = 0x8
31481- CLOCK_REALTIME_COARSE = 0x5
31482- CLOCK_TAI = 0xb
31483- CLOCK_THREAD_CPUTIME_ID = 0x3
31484- CLOCK_TXFROMRX = 0x4
31485- CLOCK_TXINT = 0x3
31486- CLONE_CHILD_CLEARTID = 0x200000
31487- CLONE_CHILD_SETTID = 0x1000000
31488- CLONE_DETACHED = 0x400000
31489- CLONE_FILES = 0x400
31490- CLONE_FS = 0x200
31491- CLONE_IO = 0x80000000
31492- CLONE_NEWCGROUP = 0x2000000
31493- CLONE_NEWIPC = 0x8000000
31494- CLONE_NEWNET = 0x40000000
31495- CLONE_NEWNS = 0x20000
31496- CLONE_NEWPID = 0x20000000
31497- CLONE_NEWUSER = 0x10000000
31498- CLONE_NEWUTS = 0x4000000
31499- CLONE_PARENT = 0x8000
31500- CLONE_PARENT_SETTID = 0x100000
31501- CLONE_PTRACE = 0x2000
31502- CLONE_SETTLS = 0x80000
31503- CLONE_SIGHAND = 0x800
31504- CLONE_SYSVSEM = 0x40000
31505- CLONE_THREAD = 0x10000
31506- CLONE_UNTRACED = 0x800000
31507- CLONE_VFORK = 0x4000
31508- CLONE_VM = 0x100
31509- CMSPAR = 0x40000000
31510- CR0 = 0x0
31511- CR1 = 0x200
31512- CR2 = 0x400
31513- CR3 = 0x600
31514- CRDLY = 0x600
31515- CREAD = 0x80
31516- CRTSCTS = 0x80000000
31517- CS5 = 0x0
31518- CS6 = 0x10
31519- CS7 = 0x20
31520- CS8 = 0x30
31521- CSIGNAL = 0xff
31522- CSIZE = 0x30
31523- CSTART = 0x11
31524- CSTATUS = 0x0
31525- CSTOP = 0x13
31526- CSTOPB = 0x40
31527- CSUSP = 0x1a
31528- DT_BLK = 0x6
31529- DT_CHR = 0x2
31530- DT_DIR = 0x4
31531- DT_FIFO = 0x1
31532- DT_LNK = 0xa
31533- DT_REG = 0x8
31534- DT_SOCK = 0xc
31535- DT_UNKNOWN = 0x0
31536- DT_WHT = 0xe
31537- ECHO = 0x8
31538- ECHOCTL = 0x200
31539- ECHOE = 0x10
31540- ECHOK = 0x20
31541- ECHOKE = 0x800
31542- ECHONL = 0x40
31543- ECHOPRT = 0x400
31544- EFD_CLOEXEC = 0x80000
31545- EFD_NONBLOCK = 0x800
31546- EFD_SEMAPHORE = 0x1
31547- ENCODING_DEFAULT = 0x0
31548- ENCODING_FM_MARK = 0x3
31549- ENCODING_FM_SPACE = 0x4
31550- ENCODING_MANCHESTER = 0x5
31551- ENCODING_NRZ = 0x1
31552- ENCODING_NRZI = 0x2
31553- EPOLLERR = 0x8
31554- EPOLLET = 0x80000000
31555- EPOLLEXCLUSIVE = 0x10000000
31556- EPOLLHUP = 0x10
31557- EPOLLIN = 0x1
31558- EPOLLMSG = 0x400
31559- EPOLLONESHOT = 0x40000000
31560- EPOLLOUT = 0x4
31561- EPOLLPRI = 0x2
31562- EPOLLRDBAND = 0x80
31563- EPOLLRDHUP = 0x2000
31564- EPOLLRDNORM = 0x40
31565- EPOLLWAKEUP = 0x20000000
31566- EPOLLWRBAND = 0x200
31567- EPOLLWRNORM = 0x100
31568- EPOLL_CLOEXEC = 0x80000
31569- EPOLL_CTL_ADD = 0x1
31570- EPOLL_CTL_DEL = 0x2
31571- EPOLL_CTL_MOD = 0x3
31572- ETH_P_1588 = 0x88f7
31573- ETH_P_8021AD = 0x88a8
31574- ETH_P_8021AH = 0x88e7
31575- ETH_P_8021Q = 0x8100
31576- ETH_P_80221 = 0x8917
31577- ETH_P_802_2 = 0x4
31578- ETH_P_802_3 = 0x1
31579- ETH_P_802_3_MIN = 0x600
31580- ETH_P_802_EX1 = 0x88b5
31581- ETH_P_AARP = 0x80f3
31582- ETH_P_AF_IUCV = 0xfbfb
31583- ETH_P_ALL = 0x3
31584- ETH_P_AOE = 0x88a2
31585- ETH_P_ARCNET = 0x1a
31586- ETH_P_ARP = 0x806
31587- ETH_P_ATALK = 0x809b
31588- ETH_P_ATMFATE = 0x8884
31589- ETH_P_ATMMPOA = 0x884c
31590- ETH_P_AX25 = 0x2
31591- ETH_P_BATMAN = 0x4305
31592- ETH_P_BPQ = 0x8ff
31593- ETH_P_CAIF = 0xf7
31594- ETH_P_CAN = 0xc
31595- ETH_P_CANFD = 0xd
31596- ETH_P_CONTROL = 0x16
31597- ETH_P_CUST = 0x6006
31598- ETH_P_DDCMP = 0x6
31599- ETH_P_DEC = 0x6000
31600- ETH_P_DIAG = 0x6005
31601- ETH_P_DNA_DL = 0x6001
31602- ETH_P_DNA_RC = 0x6002
31603- ETH_P_DNA_RT = 0x6003
31604- ETH_P_DSA = 0x1b
31605- ETH_P_ECONET = 0x18
31606- ETH_P_EDSA = 0xdada
31607- ETH_P_FCOE = 0x8906
31608- ETH_P_FIP = 0x8914
31609- ETH_P_HDLC = 0x19
31610- ETH_P_HSR = 0x892f
31611- ETH_P_IEEE802154 = 0xf6
31612- ETH_P_IEEEPUP = 0xa00
31613- ETH_P_IEEEPUPAT = 0xa01
31614- ETH_P_IP = 0x800
31615- ETH_P_IPV6 = 0x86dd
31616- ETH_P_IPX = 0x8137
31617- ETH_P_IRDA = 0x17
31618- ETH_P_LAT = 0x6004
31619- ETH_P_LINK_CTL = 0x886c
31620- ETH_P_LOCALTALK = 0x9
31621- ETH_P_LOOP = 0x60
31622- ETH_P_LOOPBACK = 0x9000
31623- ETH_P_MACSEC = 0x88e5
31624- ETH_P_MOBITEX = 0x15
31625- ETH_P_MPLS_MC = 0x8848
31626- ETH_P_MPLS_UC = 0x8847
31627- ETH_P_MVRP = 0x88f5
31628- ETH_P_NCSI = 0x88f8
31629- ETH_P_PAE = 0x888e
31630- ETH_P_PAUSE = 0x8808
31631- ETH_P_PHONET = 0xf5
31632- ETH_P_PPPTALK = 0x10
31633- ETH_P_PPP_DISC = 0x8863
31634- ETH_P_PPP_MP = 0x8
31635- ETH_P_PPP_SES = 0x8864
31636- ETH_P_PRP = 0x88fb
31637- ETH_P_PUP = 0x200
31638- ETH_P_PUPAT = 0x201
31639- ETH_P_QINQ1 = 0x9100
31640- ETH_P_QINQ2 = 0x9200
31641- ETH_P_QINQ3 = 0x9300
31642- ETH_P_RARP = 0x8035
31643- ETH_P_SCA = 0x6007
31644- ETH_P_SLOW = 0x8809
31645- ETH_P_SNAP = 0x5
31646- ETH_P_TDLS = 0x890d
31647- ETH_P_TEB = 0x6558
31648- ETH_P_TIPC = 0x88ca
31649- ETH_P_TRAILER = 0x1c
31650- ETH_P_TR_802_2 = 0x11
31651- ETH_P_TSN = 0x22f0
31652- ETH_P_WAN_PPP = 0x7
31653- ETH_P_WCCP = 0x883e
31654- ETH_P_X25 = 0x805
31655- ETH_P_XDSA = 0xf8
31656- EXTA = 0xe
31657- EXTB = 0xf
31658- EXTPROC = 0x10000
31659- FALLOC_FL_COLLAPSE_RANGE = 0x8
31660- FALLOC_FL_INSERT_RANGE = 0x20
31661- FALLOC_FL_KEEP_SIZE = 0x1
31662- FALLOC_FL_NO_HIDE_STALE = 0x4
31663- FALLOC_FL_PUNCH_HOLE = 0x2
31664- FALLOC_FL_UNSHARE_RANGE = 0x40
31665- FALLOC_FL_ZERO_RANGE = 0x10
31666- FD_CLOEXEC = 0x1
31667- FD_SETSIZE = 0x400
31668- FF0 = 0x0
31669- FF1 = 0x8000
31670- FFDLY = 0x8000
31671- FLUSHO = 0x1000
31672- FS_ENCRYPTION_MODE_AES_256_CBC = 0x3
31673- FS_ENCRYPTION_MODE_AES_256_CTS = 0x4
31674- FS_ENCRYPTION_MODE_AES_256_GCM = 0x2
31675- FS_ENCRYPTION_MODE_AES_256_XTS = 0x1
31676- FS_ENCRYPTION_MODE_INVALID = 0x0
31677- FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615
31678- FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614
31679- FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613
31680- FS_KEY_DESCRIPTOR_SIZE = 0x8
31681- FS_KEY_DESC_PREFIX = "fscrypt:"
31682- FS_KEY_DESC_PREFIX_SIZE = 0x8
31683- FS_MAX_KEY_SIZE = 0x40
31684- FS_POLICY_FLAGS_PAD_16 = 0x2
31685- FS_POLICY_FLAGS_PAD_32 = 0x3
31686- FS_POLICY_FLAGS_PAD_4 = 0x0
31687- FS_POLICY_FLAGS_PAD_8 = 0x1
31688- FS_POLICY_FLAGS_PAD_MASK = 0x3
31689- FS_POLICY_FLAGS_VALID = 0x3
31690- F_DUPFD = 0x0
31691- F_DUPFD_CLOEXEC = 0x406
31692- F_EXLCK = 0x4
31693- F_GETFD = 0x1
31694- F_GETFL = 0x3
31695- F_GETLEASE = 0x401
31696- F_GETLK = 0xc
31697- F_GETLK64 = 0xc
31698- F_GETOWN = 0x9
31699- F_GETOWN_EX = 0x10
31700- F_GETPIPE_SZ = 0x408
31701- F_GETSIG = 0xb
31702- F_LOCK = 0x1
31703- F_NOTIFY = 0x402
31704- F_OFD_GETLK = 0x24
31705- F_OFD_SETLK = 0x25
31706- F_OFD_SETLKW = 0x26
31707- F_OK = 0x0
31708- F_RDLCK = 0x0
31709- F_SETFD = 0x2
31710- F_SETFL = 0x4
31711- F_SETLEASE = 0x400
31712- F_SETLK = 0xd
31713- F_SETLK64 = 0xd
31714- F_SETLKW = 0xe
31715- F_SETLKW64 = 0xe
31716- F_SETOWN = 0x8
31717- F_SETOWN_EX = 0xf
31718- F_SETPIPE_SZ = 0x407
31719- F_SETSIG = 0xa
31720- F_SHLCK = 0x8
31721- F_TEST = 0x3
31722- F_TLOCK = 0x2
31723- F_ULOCK = 0x0
31724- F_UNLCK = 0x2
31725- F_WRLCK = 0x1
31726- GENL_ADMIN_PERM = 0x1
31727- GENL_CMD_CAP_DO = 0x2
31728- GENL_CMD_CAP_DUMP = 0x4
31729- GENL_CMD_CAP_HASPOL = 0x8
31730- GENL_HDRLEN = 0x4
31731- GENL_ID_CTRL = 0x10
31732- GENL_ID_PMCRAID = 0x12
31733- GENL_ID_VFS_DQUOT = 0x11
31734- GENL_MAX_ID = 0x3ff
31735- GENL_MIN_ID = 0x10
31736- GENL_NAMSIZ = 0x10
31737- GENL_START_ALLOC = 0x13
31738- GENL_UNS_ADMIN_PERM = 0x10
31739- GRND_NONBLOCK = 0x1
31740- GRND_RANDOM = 0x2
31741- HUPCL = 0x400
31742- IBSHIFT = 0x10
31743- ICANON = 0x2
31744- ICMPV6_FILTER = 0x1
31745- ICRNL = 0x100
31746- IEXTEN = 0x8000
31747- IFA_F_DADFAILED = 0x8
31748- IFA_F_DEPRECATED = 0x20
31749- IFA_F_HOMEADDRESS = 0x10
31750- IFA_F_MANAGETEMPADDR = 0x100
31751- IFA_F_MCAUTOJOIN = 0x400
31752- IFA_F_NODAD = 0x2
31753- IFA_F_NOPREFIXROUTE = 0x200
31754- IFA_F_OPTIMISTIC = 0x4
31755- IFA_F_PERMANENT = 0x80
31756- IFA_F_SECONDARY = 0x1
31757- IFA_F_STABLE_PRIVACY = 0x800
31758- IFA_F_TEMPORARY = 0x1
31759- IFA_F_TENTATIVE = 0x40
31760- IFA_MAX = 0x8
31761- IFF_ALLMULTI = 0x200
31762- IFF_ATTACH_QUEUE = 0x200
31763- IFF_AUTOMEDIA = 0x4000
31764- IFF_BROADCAST = 0x2
31765- IFF_DEBUG = 0x4
31766- IFF_DETACH_QUEUE = 0x400
31767- IFF_DORMANT = 0x20000
31768- IFF_DYNAMIC = 0x8000
31769- IFF_ECHO = 0x40000
31770- IFF_LOOPBACK = 0x8
31771- IFF_LOWER_UP = 0x10000
31772- IFF_MASTER = 0x400
31773- IFF_MULTICAST = 0x1000
31774- IFF_MULTI_QUEUE = 0x100
31775- IFF_NOARP = 0x80
31776- IFF_NOFILTER = 0x1000
31777- IFF_NOTRAILERS = 0x20
31778- IFF_NO_PI = 0x1000
31779- IFF_ONE_QUEUE = 0x2000
31780- IFF_PERSIST = 0x800
31781- IFF_POINTOPOINT = 0x10
31782- IFF_PORTSEL = 0x2000
31783- IFF_PROMISC = 0x100
31784- IFF_RUNNING = 0x40
31785- IFF_SLAVE = 0x800
31786- IFF_TAP = 0x2
31787- IFF_TUN = 0x1
31788- IFF_TUN_EXCL = 0x8000
31789- IFF_UP = 0x1
31790- IFF_VNET_HDR = 0x4000
31791- IFF_VOLATILE = 0x70c5a
31792- IFNAMSIZ = 0x10
31793- IGNBRK = 0x1
31794- IGNCR = 0x80
31795- IGNPAR = 0x4
31796- IMAXBEL = 0x2000
31797- INLCR = 0x40
31798- INPCK = 0x10
31799- IN_ACCESS = 0x1
31800- IN_ALL_EVENTS = 0xfff
31801- IN_ATTRIB = 0x4
31802- IN_CLASSA_HOST = 0xffffff
31803- IN_CLASSA_MAX = 0x80
31804- IN_CLASSA_NET = 0xff000000
31805- IN_CLASSA_NSHIFT = 0x18
31806- IN_CLASSB_HOST = 0xffff
31807- IN_CLASSB_MAX = 0x10000
31808- IN_CLASSB_NET = 0xffff0000
31809- IN_CLASSB_NSHIFT = 0x10
31810- IN_CLASSC_HOST = 0xff
31811- IN_CLASSC_NET = 0xffffff00
31812- IN_CLASSC_NSHIFT = 0x8
31813- IN_CLOEXEC = 0x80000
31814- IN_CLOSE = 0x18
31815- IN_CLOSE_NOWRITE = 0x10
31816- IN_CLOSE_WRITE = 0x8
31817- IN_CREATE = 0x100
31818- IN_DELETE = 0x200
31819- IN_DELETE_SELF = 0x400
31820- IN_DONT_FOLLOW = 0x2000000
31821- IN_EXCL_UNLINK = 0x4000000
31822- IN_IGNORED = 0x8000
31823- IN_ISDIR = 0x40000000
31824- IN_LOOPBACKNET = 0x7f
31825- IN_MASK_ADD = 0x20000000
31826- IN_MODIFY = 0x2
31827- IN_MOVE = 0xc0
31828- IN_MOVED_FROM = 0x40
31829- IN_MOVED_TO = 0x80
31830- IN_MOVE_SELF = 0x800
31831- IN_NONBLOCK = 0x800
31832- IN_ONESHOT = 0x80000000
31833- IN_ONLYDIR = 0x1000000
31834- IN_OPEN = 0x20
31835- IN_Q_OVERFLOW = 0x4000
31836- IN_UNMOUNT = 0x2000
31837- IPPROTO_AH = 0x33
31838- IPPROTO_BEETPH = 0x5e
31839- IPPROTO_COMP = 0x6c
31840- IPPROTO_DCCP = 0x21
31841- IPPROTO_DSTOPTS = 0x3c
31842- IPPROTO_EGP = 0x8
31843- IPPROTO_ENCAP = 0x62
31844- IPPROTO_ESP = 0x32
31845- IPPROTO_FRAGMENT = 0x2c
31846- IPPROTO_GRE = 0x2f
31847- IPPROTO_HOPOPTS = 0x0
31848- IPPROTO_ICMP = 0x1
31849- IPPROTO_ICMPV6 = 0x3a
31850- IPPROTO_IDP = 0x16
31851- IPPROTO_IGMP = 0x2
31852- IPPROTO_IP = 0x0
31853- IPPROTO_IPIP = 0x4
31854- IPPROTO_IPV6 = 0x29
31855- IPPROTO_MH = 0x87
31856- IPPROTO_MPLS = 0x89
31857- IPPROTO_MTP = 0x5c
31858- IPPROTO_NONE = 0x3b
31859- IPPROTO_PIM = 0x67
31860- IPPROTO_PUP = 0xc
31861- IPPROTO_RAW = 0xff
31862- IPPROTO_ROUTING = 0x2b
31863- IPPROTO_RSVP = 0x2e
31864- IPPROTO_SCTP = 0x84
31865- IPPROTO_TCP = 0x6
31866- IPPROTO_TP = 0x1d
31867- IPPROTO_UDP = 0x11
31868- IPPROTO_UDPLITE = 0x88
31869- IPV6_2292DSTOPTS = 0x4
31870- IPV6_2292HOPLIMIT = 0x8
31871- IPV6_2292HOPOPTS = 0x3
31872- IPV6_2292PKTINFO = 0x2
31873- IPV6_2292PKTOPTIONS = 0x6
31874- IPV6_2292RTHDR = 0x5
31875- IPV6_ADDRFORM = 0x1
31876- IPV6_ADD_MEMBERSHIP = 0x14
31877- IPV6_AUTHHDR = 0xa
31878- IPV6_CHECKSUM = 0x7
31879- IPV6_DONTFRAG = 0x3e
31880- IPV6_DROP_MEMBERSHIP = 0x15
31881- IPV6_DSTOPTS = 0x3b
31882- IPV6_HDRINCL = 0x24
31883- IPV6_HOPLIMIT = 0x34
31884- IPV6_HOPOPTS = 0x36
31885- IPV6_IPSEC_POLICY = 0x22
31886- IPV6_JOIN_ANYCAST = 0x1b
31887- IPV6_JOIN_GROUP = 0x14
31888- IPV6_LEAVE_ANYCAST = 0x1c
31889- IPV6_LEAVE_GROUP = 0x15
31890- IPV6_MTU = 0x18
31891- IPV6_MTU_DISCOVER = 0x17
31892- IPV6_MULTICAST_HOPS = 0x12
31893- IPV6_MULTICAST_IF = 0x11
31894- IPV6_MULTICAST_LOOP = 0x13
31895- IPV6_NEXTHOP = 0x9
31896- IPV6_PATHMTU = 0x3d
31897- IPV6_PKTINFO = 0x32
31898- IPV6_PMTUDISC_DO = 0x2
31899- IPV6_PMTUDISC_DONT = 0x0
31900- IPV6_PMTUDISC_INTERFACE = 0x4
31901- IPV6_PMTUDISC_OMIT = 0x5
31902- IPV6_PMTUDISC_PROBE = 0x3
31903- IPV6_PMTUDISC_WANT = 0x1
31904- IPV6_RECVDSTOPTS = 0x3a
31905- IPV6_RECVERR = 0x19
31906- IPV6_RECVHOPLIMIT = 0x33
31907- IPV6_RECVHOPOPTS = 0x35
31908- IPV6_RECVPATHMTU = 0x3c
31909- IPV6_RECVPKTINFO = 0x31
31910- IPV6_RECVRTHDR = 0x38
31911- IPV6_RECVTCLASS = 0x42
31912- IPV6_ROUTER_ALERT = 0x16
31913- IPV6_RTHDR = 0x39
31914- IPV6_RTHDRDSTOPTS = 0x37
31915- IPV6_RTHDR_LOOSE = 0x0
31916- IPV6_RTHDR_STRICT = 0x1
31917- IPV6_RTHDR_TYPE_0 = 0x0
31918- IPV6_RXDSTOPTS = 0x3b
31919- IPV6_RXHOPOPTS = 0x36
31920- IPV6_TCLASS = 0x43
31921- IPV6_UNICAST_HOPS = 0x10
31922- IPV6_V6ONLY = 0x1a
31923- IPV6_XFRM_POLICY = 0x23
31924- IP_ADD_MEMBERSHIP = 0x23
31925- IP_ADD_SOURCE_MEMBERSHIP = 0x27
31926- IP_BIND_ADDRESS_NO_PORT = 0x18
31927- IP_BLOCK_SOURCE = 0x26
31928- IP_CHECKSUM = 0x17
31929- IP_DEFAULT_MULTICAST_LOOP = 0x1
31930- IP_DEFAULT_MULTICAST_TTL = 0x1
31931- IP_DF = 0x4000
31932- IP_DROP_MEMBERSHIP = 0x24
31933- IP_DROP_SOURCE_MEMBERSHIP = 0x28
31934- IP_FREEBIND = 0xf
31935- IP_HDRINCL = 0x3
31936- IP_IPSEC_POLICY = 0x10
31937- IP_MAXPACKET = 0xffff
31938- IP_MAX_MEMBERSHIPS = 0x14
31939- IP_MF = 0x2000
31940- IP_MINTTL = 0x15
31941- IP_MSFILTER = 0x29
31942- IP_MSS = 0x240
31943- IP_MTU = 0xe
31944- IP_MTU_DISCOVER = 0xa
31945- IP_MULTICAST_ALL = 0x31
31946- IP_MULTICAST_IF = 0x20
31947- IP_MULTICAST_LOOP = 0x22
31948- IP_MULTICAST_TTL = 0x21
31949- IP_NODEFRAG = 0x16
31950- IP_OFFMASK = 0x1fff
31951- IP_OPTIONS = 0x4
31952- IP_ORIGDSTADDR = 0x14
31953- IP_PASSSEC = 0x12
31954- IP_PKTINFO = 0x8
31955- IP_PKTOPTIONS = 0x9
31956- IP_PMTUDISC = 0xa
31957- IP_PMTUDISC_DO = 0x2
31958- IP_PMTUDISC_DONT = 0x0
31959- IP_PMTUDISC_INTERFACE = 0x4
31960- IP_PMTUDISC_OMIT = 0x5
31961- IP_PMTUDISC_PROBE = 0x3
31962- IP_PMTUDISC_WANT = 0x1
31963- IP_RECVERR = 0xb
31964- IP_RECVOPTS = 0x6
31965- IP_RECVORIGDSTADDR = 0x14
31966- IP_RECVRETOPTS = 0x7
31967- IP_RECVTOS = 0xd
31968- IP_RECVTTL = 0xc
31969- IP_RETOPTS = 0x7
31970- IP_RF = 0x8000
31971- IP_ROUTER_ALERT = 0x5
31972- IP_TOS = 0x1
31973- IP_TRANSPARENT = 0x13
31974- IP_TTL = 0x2
31975- IP_UNBLOCK_SOURCE = 0x25
31976- IP_UNICAST_IF = 0x32
31977- IP_XFRM_POLICY = 0x11
31978- ISIG = 0x1
31979- ISTRIP = 0x20
31980- IUCLC = 0x200
31981- IUTF8 = 0x4000
31982- IXANY = 0x800
31983- IXOFF = 0x1000
31984- IXON = 0x400
31985- KEYCTL_ASSUME_AUTHORITY = 0x10
31986- KEYCTL_CHOWN = 0x4
31987- KEYCTL_CLEAR = 0x7
31988- KEYCTL_DESCRIBE = 0x6
31989- KEYCTL_DH_COMPUTE = 0x17
31990- KEYCTL_GET_KEYRING_ID = 0x0
31991- KEYCTL_GET_PERSISTENT = 0x16
31992- KEYCTL_GET_SECURITY = 0x11
31993- KEYCTL_INSTANTIATE = 0xc
31994- KEYCTL_INSTANTIATE_IOV = 0x14
31995- KEYCTL_INVALIDATE = 0x15
31996- KEYCTL_JOIN_SESSION_KEYRING = 0x1
31997- KEYCTL_LINK = 0x8
31998- KEYCTL_NEGATE = 0xd
31999- KEYCTL_READ = 0xb
32000- KEYCTL_REJECT = 0x13
32001- KEYCTL_REVOKE = 0x3
32002- KEYCTL_SEARCH = 0xa
32003- KEYCTL_SESSION_TO_PARENT = 0x12
32004- KEYCTL_SETPERM = 0x5
32005- KEYCTL_SET_REQKEY_KEYRING = 0xe
32006- KEYCTL_SET_TIMEOUT = 0xf
32007- KEYCTL_UNLINK = 0x9
32008- KEYCTL_UPDATE = 0x2
32009- KEY_REQKEY_DEFL_DEFAULT = 0x0
32010- KEY_REQKEY_DEFL_GROUP_KEYRING = 0x6
32011- KEY_REQKEY_DEFL_NO_CHANGE = -0x1
32012- KEY_REQKEY_DEFL_PROCESS_KEYRING = 0x2
32013- KEY_REQKEY_DEFL_REQUESTOR_KEYRING = 0x7
32014- KEY_REQKEY_DEFL_SESSION_KEYRING = 0x3
32015- KEY_REQKEY_DEFL_THREAD_KEYRING = 0x1
32016- KEY_REQKEY_DEFL_USER_KEYRING = 0x4
32017- KEY_REQKEY_DEFL_USER_SESSION_KEYRING = 0x5
32018- KEY_SPEC_GROUP_KEYRING = -0x6
32019- KEY_SPEC_PROCESS_KEYRING = -0x2
32020- KEY_SPEC_REQKEY_AUTH_KEY = -0x7
32021- KEY_SPEC_REQUESTOR_KEYRING = -0x8
32022- KEY_SPEC_SESSION_KEYRING = -0x3
32023- KEY_SPEC_THREAD_KEYRING = -0x1
32024- KEY_SPEC_USER_KEYRING = -0x4
32025- KEY_SPEC_USER_SESSION_KEYRING = -0x5
32026- LINUX_REBOOT_CMD_CAD_OFF = 0x0
32027- LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
32028- LINUX_REBOOT_CMD_HALT = 0xcdef0123
32029- LINUX_REBOOT_CMD_KEXEC = 0x45584543
32030- LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
32031- LINUX_REBOOT_CMD_RESTART = 0x1234567
32032- LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
32033- LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
32034- LINUX_REBOOT_MAGIC1 = 0xfee1dead
32035- LINUX_REBOOT_MAGIC2 = 0x28121969
32036- LOCK_EX = 0x2
32037- LOCK_NB = 0x4
32038- LOCK_SH = 0x1
32039- LOCK_UN = 0x8
32040- MADV_DODUMP = 0x11
32041- MADV_DOFORK = 0xb
32042- MADV_DONTDUMP = 0x10
32043- MADV_DONTFORK = 0xa
32044- MADV_DONTNEED = 0x4
32045- MADV_FREE = 0x8
32046- MADV_HUGEPAGE = 0xe
32047- MADV_HWPOISON = 0x64
32048- MADV_MERGEABLE = 0xc
32049- MADV_NOHUGEPAGE = 0xf
32050- MADV_NORMAL = 0x0
32051- MADV_RANDOM = 0x1
32052- MADV_REMOVE = 0x9
32053- MADV_SEQUENTIAL = 0x2
32054- MADV_UNMERGEABLE = 0xd
32055- MADV_WILLNEED = 0x3
32056- MAP_ANON = 0x20
32057- MAP_ANONYMOUS = 0x20
32058- MAP_DENYWRITE = 0x800
32059- MAP_EXECUTABLE = 0x1000
32060- MAP_FILE = 0x0
32061- MAP_FIXED = 0x10
32062- MAP_GROWSDOWN = 0x100
32063- MAP_HUGETLB = 0x40000
32064- MAP_HUGE_MASK = 0x3f
32065- MAP_HUGE_SHIFT = 0x1a
32066- MAP_LOCKED = 0x2000
32067- MAP_NONBLOCK = 0x10000
32068- MAP_NORESERVE = 0x4000
32069- MAP_POPULATE = 0x8000
32070- MAP_PRIVATE = 0x2
32071- MAP_SHARED = 0x1
32072- MAP_STACK = 0x20000
32073- MAP_TYPE = 0xf
32074- MCL_CURRENT = 0x1
32075- MCL_FUTURE = 0x2
32076- MCL_ONFAULT = 0x4
32077- MNT_DETACH = 0x2
32078- MNT_EXPIRE = 0x4
32079- MNT_FORCE = 0x1
32080- MSG_BATCH = 0x40000
32081- MSG_CMSG_CLOEXEC = 0x40000000
32082- MSG_CONFIRM = 0x800
32083- MSG_CTRUNC = 0x8
32084- MSG_DONTROUTE = 0x4
32085- MSG_DONTWAIT = 0x40
32086- MSG_EOR = 0x80
32087- MSG_ERRQUEUE = 0x2000
32088- MSG_FASTOPEN = 0x20000000
32089- MSG_FIN = 0x200
32090- MSG_MORE = 0x8000
32091- MSG_NOSIGNAL = 0x4000
32092- MSG_OOB = 0x1
32093- MSG_PEEK = 0x2
32094- MSG_PROXY = 0x10
32095- MSG_RST = 0x1000
32096- MSG_SYN = 0x400
32097- MSG_TRUNC = 0x20
32098- MSG_TRYHARD = 0x4
32099- MSG_WAITALL = 0x100
32100- MSG_WAITFORONE = 0x10000
32101- MS_ACTIVE = 0x40000000
32102- MS_ASYNC = 0x1
32103- MS_BIND = 0x1000
32104- MS_BORN = 0x20000000
32105- MS_DIRSYNC = 0x80
32106- MS_INVALIDATE = 0x2
32107- MS_I_VERSION = 0x800000
32108- MS_KERNMOUNT = 0x400000
32109- MS_LAZYTIME = 0x2000000
32110- MS_MANDLOCK = 0x40
32111- MS_MGC_MSK = 0xffff0000
32112- MS_MGC_VAL = 0xc0ed0000
32113- MS_MOVE = 0x2000
32114- MS_NOATIME = 0x400
32115- MS_NODEV = 0x4
32116- MS_NODIRATIME = 0x800
32117- MS_NOEXEC = 0x8
32118- MS_NOREMOTELOCK = 0x8000000
32119- MS_NOSEC = 0x10000000
32120- MS_NOSUID = 0x2
32121- MS_NOUSER = -0x80000000
32122- MS_POSIXACL = 0x10000
32123- MS_PRIVATE = 0x40000
32124- MS_RDONLY = 0x1
32125- MS_REC = 0x4000
32126- MS_RELATIME = 0x200000
32127- MS_REMOUNT = 0x20
32128- MS_RMT_MASK = 0x2800051
32129- MS_SHARED = 0x100000
32130- MS_SILENT = 0x8000
32131- MS_SLAVE = 0x80000
32132- MS_STRICTATIME = 0x1000000
32133- MS_SYNC = 0x4
32134- MS_SYNCHRONOUS = 0x10
32135- MS_UNBINDABLE = 0x20000
32136- MS_VERBOSE = 0x8000
32137- NAME_MAX = 0xff
32138- NETLINK_ADD_MEMBERSHIP = 0x1
32139- NETLINK_AUDIT = 0x9
32140- NETLINK_BROADCAST_ERROR = 0x4
32141- NETLINK_CAP_ACK = 0xa
32142- NETLINK_CONNECTOR = 0xb
32143- NETLINK_CRYPTO = 0x15
32144- NETLINK_DNRTMSG = 0xe
32145- NETLINK_DROP_MEMBERSHIP = 0x2
32146- NETLINK_ECRYPTFS = 0x13
32147- NETLINK_FIB_LOOKUP = 0xa
32148- NETLINK_FIREWALL = 0x3
32149- NETLINK_GENERIC = 0x10
32150- NETLINK_INET_DIAG = 0x4
32151- NETLINK_IP6_FW = 0xd
32152- NETLINK_ISCSI = 0x8
32153- NETLINK_KOBJECT_UEVENT = 0xf
32154- NETLINK_LISTEN_ALL_NSID = 0x8
32155- NETLINK_LIST_MEMBERSHIPS = 0x9
32156- NETLINK_NETFILTER = 0xc
32157- NETLINK_NFLOG = 0x5
32158- NETLINK_NO_ENOBUFS = 0x5
32159- NETLINK_PKTINFO = 0x3
32160- NETLINK_RDMA = 0x14
32161- NETLINK_ROUTE = 0x0
32162- NETLINK_RX_RING = 0x6
32163- NETLINK_SCSITRANSPORT = 0x12
32164- NETLINK_SELINUX = 0x7
32165- NETLINK_SOCK_DIAG = 0x4
32166- NETLINK_TX_RING = 0x7
32167- NETLINK_UNUSED = 0x1
32168- NETLINK_USERSOCK = 0x2
32169- NETLINK_XFRM = 0x6
32170- NL0 = 0x0
32171- NL1 = 0x100
32172- NLA_ALIGNTO = 0x4
32173- NLA_F_NESTED = 0x8000
32174- NLA_F_NET_BYTEORDER = 0x4000
32175- NLA_HDRLEN = 0x4
32176- NLDLY = 0x100
32177- NLMSG_ALIGNTO = 0x4
32178- NLMSG_DONE = 0x3
32179- NLMSG_ERROR = 0x2
32180- NLMSG_HDRLEN = 0x10
32181- NLMSG_MIN_TYPE = 0x10
32182- NLMSG_NOOP = 0x1
32183- NLMSG_OVERRUN = 0x4
32184- NLM_F_ACK = 0x4
32185- NLM_F_APPEND = 0x800
32186- NLM_F_ATOMIC = 0x400
32187- NLM_F_CREATE = 0x400
32188- NLM_F_DUMP = 0x300
32189- NLM_F_DUMP_FILTERED = 0x20
32190- NLM_F_DUMP_INTR = 0x10
32191- NLM_F_ECHO = 0x8
32192- NLM_F_EXCL = 0x200
32193- NLM_F_MATCH = 0x200
32194- NLM_F_MULTI = 0x2
32195- NLM_F_REPLACE = 0x100
32196- NLM_F_REQUEST = 0x1
32197- NLM_F_ROOT = 0x100
32198- NOFLSH = 0x80
32199- OCRNL = 0x8
32200- OFDEL = 0x80
32201- OFILL = 0x40
32202- OLCUC = 0x2
32203- ONLCR = 0x4
32204- ONLRET = 0x20
32205- ONOCR = 0x10
32206- OPOST = 0x1
32207- O_ACCMODE = 0x3
32208- O_APPEND = 0x400
32209- O_ASYNC = 0x2000
32210- O_CLOEXEC = 0x80000
32211- O_CREAT = 0x40
32212- O_DIRECT = 0x10000
32213- O_DIRECTORY = 0x4000
32214- O_DSYNC = 0x1000
32215- O_EXCL = 0x80
32216- O_FSYNC = 0x101000
32217- O_LARGEFILE = 0x20000
32218- O_NDELAY = 0x800
32219- O_NOATIME = 0x40000
32220- O_NOCTTY = 0x100
32221- O_NOFOLLOW = 0x8000
32222- O_NONBLOCK = 0x800
32223- O_PATH = 0x200000
32224- O_RDONLY = 0x0
32225- O_RDWR = 0x2
32226- O_RSYNC = 0x101000
32227- O_SYNC = 0x101000
32228- O_TMPFILE = 0x404000
32229- O_TRUNC = 0x200
32230- O_WRONLY = 0x1
32231- PACKET_ADD_MEMBERSHIP = 0x1
32232- PACKET_AUXDATA = 0x8
32233- PACKET_BROADCAST = 0x1
32234- PACKET_COPY_THRESH = 0x7
32235- PACKET_DROP_MEMBERSHIP = 0x2
32236- PACKET_FANOUT = 0x12
32237- PACKET_FANOUT_CBPF = 0x6
32238- PACKET_FANOUT_CPU = 0x2
32239- PACKET_FANOUT_DATA = 0x16
32240- PACKET_FANOUT_EBPF = 0x7
32241- PACKET_FANOUT_FLAG_DEFRAG = 0x8000
32242- PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
32243- PACKET_FANOUT_HASH = 0x0
32244- PACKET_FANOUT_LB = 0x1
32245- PACKET_FANOUT_QM = 0x5
32246- PACKET_FANOUT_RND = 0x4
32247- PACKET_FANOUT_ROLLOVER = 0x3
32248- PACKET_FASTROUTE = 0x6
32249- PACKET_HDRLEN = 0xb
32250- PACKET_HOST = 0x0
32251- PACKET_KERNEL = 0x7
32252- PACKET_LOOPBACK = 0x5
32253- PACKET_LOSS = 0xe
32254- PACKET_MR_ALLMULTI = 0x2
32255- PACKET_MR_MULTICAST = 0x0
32256- PACKET_MR_PROMISC = 0x1
32257- PACKET_MR_UNICAST = 0x3
32258- PACKET_MULTICAST = 0x2
32259- PACKET_ORIGDEV = 0x9
32260- PACKET_OTHERHOST = 0x3
32261- PACKET_OUTGOING = 0x4
32262- PACKET_QDISC_BYPASS = 0x14
32263- PACKET_RECV_OUTPUT = 0x3
32264- PACKET_RESERVE = 0xc
32265- PACKET_ROLLOVER_STATS = 0x15
32266- PACKET_RX_RING = 0x5
32267- PACKET_STATISTICS = 0x6
32268- PACKET_TIMESTAMP = 0x11
32269- PACKET_TX_HAS_OFF = 0x13
32270- PACKET_TX_RING = 0xd
32271- PACKET_TX_TIMESTAMP = 0x10
32272- PACKET_USER = 0x6
32273- PACKET_VERSION = 0xa
32274- PACKET_VNET_HDR = 0xf
32275- PARENB = 0x100
32276- PARITY_CRC16_PR0 = 0x2
32277- PARITY_CRC16_PR0_CCITT = 0x4
32278- PARITY_CRC16_PR1 = 0x3
32279- PARITY_CRC16_PR1_CCITT = 0x5
32280- PARITY_CRC32_PR0_CCITT = 0x6
32281- PARITY_CRC32_PR1_CCITT = 0x7
32282- PARITY_DEFAULT = 0x0
32283- PARITY_NONE = 0x1
32284- PARMRK = 0x8
32285- PARODD = 0x200
32286- PENDIN = 0x4000
32287- PERF_EVENT_IOC_DISABLE = 0x2401
32288- PERF_EVENT_IOC_ENABLE = 0x2400
32289- PERF_EVENT_IOC_ID = 0x80042407
32290- PERF_EVENT_IOC_PAUSE_OUTPUT = 0x40042409
32291- PERF_EVENT_IOC_PERIOD = 0x40082404
32292- PERF_EVENT_IOC_REFRESH = 0x2402
32293- PERF_EVENT_IOC_RESET = 0x2403
32294- PERF_EVENT_IOC_SET_BPF = 0x40042408
32295- PERF_EVENT_IOC_SET_FILTER = 0x40042406
32296- PERF_EVENT_IOC_SET_OUTPUT = 0x2405
32297- PRIO_PGRP = 0x1
32298- PRIO_PROCESS = 0x0
32299- PRIO_USER = 0x2
32300- PROT_EXEC = 0x4
32301- PROT_GROWSDOWN = 0x1000000
32302- PROT_GROWSUP = 0x2000000
32303- PROT_NONE = 0x0
32304- PROT_READ = 0x1
32305- PROT_WRITE = 0x2
32306- PR_CAPBSET_DROP = 0x18
32307- PR_CAPBSET_READ = 0x17
32308- PR_CAP_AMBIENT = 0x2f
32309- PR_CAP_AMBIENT_CLEAR_ALL = 0x4
32310- PR_CAP_AMBIENT_IS_SET = 0x1
32311- PR_CAP_AMBIENT_LOWER = 0x3
32312- PR_CAP_AMBIENT_RAISE = 0x2
32313- PR_ENDIAN_BIG = 0x0
32314- PR_ENDIAN_LITTLE = 0x1
32315- PR_ENDIAN_PPC_LITTLE = 0x2
32316- PR_FPEMU_NOPRINT = 0x1
32317- PR_FPEMU_SIGFPE = 0x2
32318- PR_FP_EXC_ASYNC = 0x2
32319- PR_FP_EXC_DISABLED = 0x0
32320- PR_FP_EXC_DIV = 0x10000
32321- PR_FP_EXC_INV = 0x100000
32322- PR_FP_EXC_NONRECOV = 0x1
32323- PR_FP_EXC_OVF = 0x20000
32324- PR_FP_EXC_PRECISE = 0x3
32325- PR_FP_EXC_RES = 0x80000
32326- PR_FP_EXC_SW_ENABLE = 0x80
32327- PR_FP_EXC_UND = 0x40000
32328- PR_FP_MODE_FR = 0x1
32329- PR_FP_MODE_FRE = 0x2
32330- PR_GET_CHILD_SUBREAPER = 0x25
32331- PR_GET_DUMPABLE = 0x3
32332- PR_GET_ENDIAN = 0x13
32333- PR_GET_FPEMU = 0x9
32334- PR_GET_FPEXC = 0xb
32335- PR_GET_FP_MODE = 0x2e
32336- PR_GET_KEEPCAPS = 0x7
32337- PR_GET_NAME = 0x10
32338- PR_GET_NO_NEW_PRIVS = 0x27
32339- PR_GET_PDEATHSIG = 0x2
32340- PR_GET_SECCOMP = 0x15
32341- PR_GET_SECUREBITS = 0x1b
32342- PR_GET_THP_DISABLE = 0x2a
32343- PR_GET_TID_ADDRESS = 0x28
32344- PR_GET_TIMERSLACK = 0x1e
32345- PR_GET_TIMING = 0xd
32346- PR_GET_TSC = 0x19
32347- PR_GET_UNALIGN = 0x5
32348- PR_MCE_KILL = 0x21
32349- PR_MCE_KILL_CLEAR = 0x0
32350- PR_MCE_KILL_DEFAULT = 0x2
32351- PR_MCE_KILL_EARLY = 0x1
32352- PR_MCE_KILL_GET = 0x22
32353- PR_MCE_KILL_LATE = 0x0
32354- PR_MCE_KILL_SET = 0x1
32355- PR_MPX_DISABLE_MANAGEMENT = 0x2c
32356- PR_MPX_ENABLE_MANAGEMENT = 0x2b
32357- PR_SET_CHILD_SUBREAPER = 0x24
32358- PR_SET_DUMPABLE = 0x4
32359- PR_SET_ENDIAN = 0x14
32360- PR_SET_FPEMU = 0xa
32361- PR_SET_FPEXC = 0xc
32362- PR_SET_FP_MODE = 0x2d
32363- PR_SET_KEEPCAPS = 0x8
32364- PR_SET_MM = 0x23
32365- PR_SET_MM_ARG_END = 0x9
32366- PR_SET_MM_ARG_START = 0x8
32367- PR_SET_MM_AUXV = 0xc
32368- PR_SET_MM_BRK = 0x7
32369- PR_SET_MM_END_CODE = 0x2
32370- PR_SET_MM_END_DATA = 0x4
32371- PR_SET_MM_ENV_END = 0xb
32372- PR_SET_MM_ENV_START = 0xa
32373- PR_SET_MM_EXE_FILE = 0xd
32374- PR_SET_MM_MAP = 0xe
32375- PR_SET_MM_MAP_SIZE = 0xf
32376- PR_SET_MM_START_BRK = 0x6
32377- PR_SET_MM_START_CODE = 0x1
32378- PR_SET_MM_START_DATA = 0x3
32379- PR_SET_MM_START_STACK = 0x5
32380- PR_SET_NAME = 0xf
32381- PR_SET_NO_NEW_PRIVS = 0x26
32382- PR_SET_PDEATHSIG = 0x1
32383- PR_SET_PTRACER = 0x59616d61
32384- PR_SET_PTRACER_ANY = 0xffffffff
32385- PR_SET_SECCOMP = 0x16
32386- PR_SET_SECUREBITS = 0x1c
32387- PR_SET_THP_DISABLE = 0x29
32388- PR_SET_TIMERSLACK = 0x1d
32389- PR_SET_TIMING = 0xe
32390- PR_SET_TSC = 0x1a
32391- PR_SET_UNALIGN = 0x6
32392- PR_TASK_PERF_EVENTS_DISABLE = 0x1f
32393- PR_TASK_PERF_EVENTS_ENABLE = 0x20
32394- PR_TIMING_STATISTICAL = 0x0
32395- PR_TIMING_TIMESTAMP = 0x1
32396- PR_TSC_ENABLE = 0x1
32397- PR_TSC_SIGSEGV = 0x2
32398- PR_UNALIGN_NOPRINT = 0x1
32399- PR_UNALIGN_SIGBUS = 0x2
32400- PTRACE_ATTACH = 0x10
32401- PTRACE_CONT = 0x7
32402- PTRACE_DETACH = 0x11
32403- PTRACE_EVENT_CLONE = 0x3
32404- PTRACE_EVENT_EXEC = 0x4
32405- PTRACE_EVENT_EXIT = 0x6
32406- PTRACE_EVENT_FORK = 0x1
32407- PTRACE_EVENT_SECCOMP = 0x7
32408- PTRACE_EVENT_STOP = 0x80
32409- PTRACE_EVENT_VFORK = 0x2
32410- PTRACE_EVENT_VFORK_DONE = 0x5
32411- PTRACE_GETCRUNCHREGS = 0x19
32412- PTRACE_GETEVENTMSG = 0x4201
32413- PTRACE_GETFPREGS = 0xe
32414- PTRACE_GETHBPREGS = 0x1d
32415- PTRACE_GETREGS = 0xc
32416- PTRACE_GETREGSET = 0x4204
32417- PTRACE_GETSIGINFO = 0x4202
32418- PTRACE_GETSIGMASK = 0x420a
32419- PTRACE_GETVFPREGS = 0x1b
32420- PTRACE_GETWMMXREGS = 0x12
32421- PTRACE_GET_THREAD_AREA = 0x16
32422- PTRACE_INTERRUPT = 0x4207
32423- PTRACE_KILL = 0x8
32424- PTRACE_LISTEN = 0x4208
32425- PTRACE_OLDSETOPTIONS = 0x15
32426- PTRACE_O_EXITKILL = 0x100000
32427- PTRACE_O_MASK = 0x3000ff
32428- PTRACE_O_SUSPEND_SECCOMP = 0x200000
32429- PTRACE_O_TRACECLONE = 0x8
32430- PTRACE_O_TRACEEXEC = 0x10
32431- PTRACE_O_TRACEEXIT = 0x40
32432- PTRACE_O_TRACEFORK = 0x2
32433- PTRACE_O_TRACESECCOMP = 0x80
32434- PTRACE_O_TRACESYSGOOD = 0x1
32435- PTRACE_O_TRACEVFORK = 0x4
32436- PTRACE_O_TRACEVFORKDONE = 0x20
32437- PTRACE_PEEKDATA = 0x2
32438- PTRACE_PEEKSIGINFO = 0x4209
32439- PTRACE_PEEKSIGINFO_SHARED = 0x1
32440- PTRACE_PEEKTEXT = 0x1
32441- PTRACE_PEEKUSR = 0x3
32442- PTRACE_POKEDATA = 0x5
32443- PTRACE_POKETEXT = 0x4
32444- PTRACE_POKEUSR = 0x6
32445- PTRACE_SECCOMP_GET_FILTER = 0x420c
32446- PTRACE_SEIZE = 0x4206
32447- PTRACE_SETCRUNCHREGS = 0x1a
32448- PTRACE_SETFPREGS = 0xf
32449- PTRACE_SETHBPREGS = 0x1e
32450- PTRACE_SETOPTIONS = 0x4200
32451- PTRACE_SETREGS = 0xd
32452- PTRACE_SETREGSET = 0x4205
32453- PTRACE_SETSIGINFO = 0x4203
32454- PTRACE_SETSIGMASK = 0x420b
32455- PTRACE_SETVFPREGS = 0x1c
32456- PTRACE_SETWMMXREGS = 0x13
32457- PTRACE_SET_SYSCALL = 0x17
32458- PTRACE_SINGLESTEP = 0x9
32459- PTRACE_SYSCALL = 0x18
32460- PTRACE_TRACEME = 0x0
32461- PT_DATA_ADDR = 0x10004
32462- PT_TEXT_ADDR = 0x10000
32463- PT_TEXT_END_ADDR = 0x10008
32464- RLIMIT_AS = 0x9
32465- RLIMIT_CORE = 0x4
32466- RLIMIT_CPU = 0x0
32467- RLIMIT_DATA = 0x2
32468- RLIMIT_FSIZE = 0x1
32469- RLIMIT_LOCKS = 0xa
32470- RLIMIT_MEMLOCK = 0x8
32471- RLIMIT_MSGQUEUE = 0xc
32472- RLIMIT_NICE = 0xd
32473- RLIMIT_NOFILE = 0x7
32474- RLIMIT_NPROC = 0x6
32475- RLIMIT_RSS = 0x5
32476- RLIMIT_RTPRIO = 0xe
32477- RLIMIT_RTTIME = 0xf
32478- RLIMIT_SIGPENDING = 0xb
32479- RLIMIT_STACK = 0x3
32480- RLIM_INFINITY = -0x1
32481- RTAX_ADVMSS = 0x8
32482- RTAX_CC_ALGO = 0x10
32483- RTAX_CWND = 0x7
32484- RTAX_FEATURES = 0xc
32485- RTAX_FEATURE_ALLFRAG = 0x8
32486- RTAX_FEATURE_ECN = 0x1
32487- RTAX_FEATURE_MASK = 0xf
32488- RTAX_FEATURE_SACK = 0x2
32489- RTAX_FEATURE_TIMESTAMP = 0x4
32490- RTAX_HOPLIMIT = 0xa
32491- RTAX_INITCWND = 0xb
32492- RTAX_INITRWND = 0xe
32493- RTAX_LOCK = 0x1
32494- RTAX_MAX = 0x10
32495- RTAX_MTU = 0x2
32496- RTAX_QUICKACK = 0xf
32497- RTAX_REORDERING = 0x9
32498- RTAX_RTO_MIN = 0xd
32499- RTAX_RTT = 0x4
32500- RTAX_RTTVAR = 0x5
32501- RTAX_SSTHRESH = 0x6
32502- RTAX_UNSPEC = 0x0
32503- RTAX_WINDOW = 0x3
32504- RTA_ALIGNTO = 0x4
32505- RTA_MAX = 0x19
32506- RTCF_DIRECTSRC = 0x4000000
32507- RTCF_DOREDIRECT = 0x1000000
32508- RTCF_LOG = 0x2000000
32509- RTCF_MASQ = 0x400000
32510- RTCF_NAT = 0x800000
32511- RTCF_VALVE = 0x200000
32512- RTF_ADDRCLASSMASK = 0xf8000000
32513- RTF_ADDRCONF = 0x40000
32514- RTF_ALLONLINK = 0x20000
32515- RTF_BROADCAST = 0x10000000
32516- RTF_CACHE = 0x1000000
32517- RTF_DEFAULT = 0x10000
32518- RTF_DYNAMIC = 0x10
32519- RTF_FLOW = 0x2000000
32520- RTF_GATEWAY = 0x2
32521- RTF_HOST = 0x4
32522- RTF_INTERFACE = 0x40000000
32523- RTF_IRTT = 0x100
32524- RTF_LINKRT = 0x100000
32525- RTF_LOCAL = 0x80000000
32526- RTF_MODIFIED = 0x20
32527- RTF_MSS = 0x40
32528- RTF_MTU = 0x40
32529- RTF_MULTICAST = 0x20000000
32530- RTF_NAT = 0x8000000
32531- RTF_NOFORWARD = 0x1000
32532- RTF_NONEXTHOP = 0x200000
32533- RTF_NOPMTUDISC = 0x4000
32534- RTF_POLICY = 0x4000000
32535- RTF_REINSTATE = 0x8
32536- RTF_REJECT = 0x200
32537- RTF_STATIC = 0x400
32538- RTF_THROW = 0x2000
32539- RTF_UP = 0x1
32540- RTF_WINDOW = 0x80
32541- RTF_XRESOLVE = 0x800
32542- RTM_BASE = 0x10
32543- RTM_DELACTION = 0x31
32544- RTM_DELADDR = 0x15
32545- RTM_DELADDRLABEL = 0x49
32546- RTM_DELLINK = 0x11
32547- RTM_DELMDB = 0x55
32548- RTM_DELNEIGH = 0x1d
32549- RTM_DELNSID = 0x59
32550- RTM_DELQDISC = 0x25
32551- RTM_DELROUTE = 0x19
32552- RTM_DELRULE = 0x21
32553- RTM_DELTCLASS = 0x29
32554- RTM_DELTFILTER = 0x2d
32555- RTM_F_CLONED = 0x200
32556- RTM_F_EQUALIZE = 0x400
32557- RTM_F_LOOKUP_TABLE = 0x1000
32558- RTM_F_NOTIFY = 0x100
32559- RTM_F_PREFIX = 0x800
32560- RTM_GETACTION = 0x32
32561- RTM_GETADDR = 0x16
32562- RTM_GETADDRLABEL = 0x4a
32563- RTM_GETANYCAST = 0x3e
32564- RTM_GETDCB = 0x4e
32565- RTM_GETLINK = 0x12
32566- RTM_GETMDB = 0x56
32567- RTM_GETMULTICAST = 0x3a
32568- RTM_GETNEIGH = 0x1e
32569- RTM_GETNEIGHTBL = 0x42
32570- RTM_GETNETCONF = 0x52
32571- RTM_GETNSID = 0x5a
32572- RTM_GETQDISC = 0x26
32573- RTM_GETROUTE = 0x1a
32574- RTM_GETRULE = 0x22
32575- RTM_GETSTATS = 0x5e
32576- RTM_GETTCLASS = 0x2a
32577- RTM_GETTFILTER = 0x2e
32578- RTM_MAX = 0x5f
32579- RTM_NEWACTION = 0x30
32580- RTM_NEWADDR = 0x14
32581- RTM_NEWADDRLABEL = 0x48
32582- RTM_NEWLINK = 0x10
32583- RTM_NEWMDB = 0x54
32584- RTM_NEWNDUSEROPT = 0x44
32585- RTM_NEWNEIGH = 0x1c
32586- RTM_NEWNEIGHTBL = 0x40
32587- RTM_NEWNETCONF = 0x50
32588- RTM_NEWNSID = 0x58
32589- RTM_NEWPREFIX = 0x34
32590- RTM_NEWQDISC = 0x24
32591- RTM_NEWROUTE = 0x18
32592- RTM_NEWRULE = 0x20
32593- RTM_NEWSTATS = 0x5c
32594- RTM_NEWTCLASS = 0x28
32595- RTM_NEWTFILTER = 0x2c
32596- RTM_NR_FAMILIES = 0x14
32597- RTM_NR_MSGTYPES = 0x50
32598- RTM_SETDCB = 0x4f
32599- RTM_SETLINK = 0x13
32600- RTM_SETNEIGHTBL = 0x43
32601- RTNH_ALIGNTO = 0x4
32602- RTNH_COMPARE_MASK = 0x19
32603- RTNH_F_DEAD = 0x1
32604- RTNH_F_LINKDOWN = 0x10
32605- RTNH_F_OFFLOAD = 0x8
32606- RTNH_F_ONLINK = 0x4
32607- RTNH_F_PERVASIVE = 0x2
32608- RTN_MAX = 0xb
32609- RTPROT_BABEL = 0x2a
32610- RTPROT_BIRD = 0xc
32611- RTPROT_BOOT = 0x3
32612- RTPROT_DHCP = 0x10
32613- RTPROT_DNROUTED = 0xd
32614- RTPROT_GATED = 0x8
32615- RTPROT_KERNEL = 0x2
32616- RTPROT_MROUTED = 0x11
32617- RTPROT_MRT = 0xa
32618- RTPROT_NTK = 0xf
32619- RTPROT_RA = 0x9
32620- RTPROT_REDIRECT = 0x1
32621- RTPROT_STATIC = 0x4
32622- RTPROT_UNSPEC = 0x0
32623- RTPROT_XORP = 0xe
32624- RTPROT_ZEBRA = 0xb
32625- RT_CLASS_DEFAULT = 0xfd
32626- RT_CLASS_LOCAL = 0xff
32627- RT_CLASS_MAIN = 0xfe
32628- RT_CLASS_MAX = 0xff
32629- RT_CLASS_UNSPEC = 0x0
32630- RUSAGE_CHILDREN = -0x1
32631- RUSAGE_SELF = 0x0
32632- RUSAGE_THREAD = 0x1
32633- SCM_CREDENTIALS = 0x2
32634- SCM_RIGHTS = 0x1
32635- SCM_TIMESTAMP = 0x1d
32636- SCM_TIMESTAMPING = 0x25
32637- SCM_TIMESTAMPING_OPT_STATS = 0x36
32638- SCM_TIMESTAMPNS = 0x23
32639- SCM_WIFI_STATUS = 0x29
32640- SECCOMP_MODE_DISABLED = 0x0
32641- SECCOMP_MODE_FILTER = 0x2
32642- SECCOMP_MODE_STRICT = 0x1
32643- SHUT_RD = 0x0
32644- SHUT_RDWR = 0x2
32645- SHUT_WR = 0x1
32646- SIOCADDDLCI = 0x8980
32647- SIOCADDMULTI = 0x8931
32648- SIOCADDRT = 0x890b
32649- SIOCATMARK = 0x8905
32650- SIOCBONDCHANGEACTIVE = 0x8995
32651- SIOCBONDENSLAVE = 0x8990
32652- SIOCBONDINFOQUERY = 0x8994
32653- SIOCBONDRELEASE = 0x8991
32654- SIOCBONDSETHWADDR = 0x8992
32655- SIOCBONDSLAVEINFOQUERY = 0x8993
32656- SIOCBRADDBR = 0x89a0
32657- SIOCBRADDIF = 0x89a2
32658- SIOCBRDELBR = 0x89a1
32659- SIOCBRDELIF = 0x89a3
32660- SIOCDARP = 0x8953
32661- SIOCDELDLCI = 0x8981
32662- SIOCDELMULTI = 0x8932
32663- SIOCDELRT = 0x890c
32664- SIOCDEVPRIVATE = 0x89f0
32665- SIOCDIFADDR = 0x8936
32666- SIOCDRARP = 0x8960
32667- SIOCETHTOOL = 0x8946
32668- SIOCGARP = 0x8954
32669- SIOCGHWTSTAMP = 0x89b1
32670- SIOCGIFADDR = 0x8915
32671- SIOCGIFBR = 0x8940
32672- SIOCGIFBRDADDR = 0x8919
32673- SIOCGIFCONF = 0x8912
32674- SIOCGIFCOUNT = 0x8938
32675- SIOCGIFDSTADDR = 0x8917
32676- SIOCGIFENCAP = 0x8925
32677- SIOCGIFFLAGS = 0x8913
32678- SIOCGIFHWADDR = 0x8927
32679- SIOCGIFINDEX = 0x8933
32680- SIOCGIFMAP = 0x8970
32681- SIOCGIFMEM = 0x891f
32682- SIOCGIFMETRIC = 0x891d
32683- SIOCGIFMTU = 0x8921
32684- SIOCGIFNAME = 0x8910
32685- SIOCGIFNETMASK = 0x891b
32686- SIOCGIFPFLAGS = 0x8935
32687- SIOCGIFSLAVE = 0x8929
32688- SIOCGIFTXQLEN = 0x8942
32689- SIOCGIFVLAN = 0x8982
32690- SIOCGMIIPHY = 0x8947
32691- SIOCGMIIREG = 0x8948
32692- SIOCGPGRP = 0x8904
32693- SIOCGRARP = 0x8961
32694- SIOCGSKNS = 0x894c
32695- SIOCGSTAMP = 0x8906
32696- SIOCGSTAMPNS = 0x8907
32697- SIOCINQ = 0x541b
32698- SIOCOUTQ = 0x5411
32699- SIOCOUTQNSD = 0x894b
32700- SIOCPROTOPRIVATE = 0x89e0
32701- SIOCRTMSG = 0x890d
32702- SIOCSARP = 0x8955
32703- SIOCSHWTSTAMP = 0x89b0
32704- SIOCSIFADDR = 0x8916
32705- SIOCSIFBR = 0x8941
32706- SIOCSIFBRDADDR = 0x891a
32707- SIOCSIFDSTADDR = 0x8918
32708- SIOCSIFENCAP = 0x8926
32709- SIOCSIFFLAGS = 0x8914
32710- SIOCSIFHWADDR = 0x8924
32711- SIOCSIFHWBROADCAST = 0x8937
32712- SIOCSIFLINK = 0x8911
32713- SIOCSIFMAP = 0x8971
32714- SIOCSIFMEM = 0x8920
32715- SIOCSIFMETRIC = 0x891e
32716- SIOCSIFMTU = 0x8922
32717- SIOCSIFNAME = 0x8923
32718- SIOCSIFNETMASK = 0x891c
32719- SIOCSIFPFLAGS = 0x8934
32720- SIOCSIFSLAVE = 0x8930
32721- SIOCSIFTXQLEN = 0x8943
32722- SIOCSIFVLAN = 0x8983
32723- SIOCSMIIREG = 0x8949
32724- SIOCSPGRP = 0x8902
32725- SIOCSRARP = 0x8962
32726- SIOCWANDEV = 0x894a
32727- SOCK_CLOEXEC = 0x80000
32728- SOCK_DCCP = 0x6
32729- SOCK_DGRAM = 0x2
32730- SOCK_IOC_TYPE = 0x89
32731- SOCK_NONBLOCK = 0x800
32732- SOCK_PACKET = 0xa
32733- SOCK_RAW = 0x3
32734- SOCK_RDM = 0x4
32735- SOCK_SEQPACKET = 0x5
32736- SOCK_STREAM = 0x1
32737- SOL_AAL = 0x109
32738- SOL_ALG = 0x117
32739- SOL_ATM = 0x108
32740- SOL_CAIF = 0x116
32741- SOL_CAN_BASE = 0x64
32742- SOL_DCCP = 0x10d
32743- SOL_DECNET = 0x105
32744- SOL_ICMPV6 = 0x3a
32745- SOL_IP = 0x0
32746- SOL_IPV6 = 0x29
32747- SOL_IRDA = 0x10a
32748- SOL_IUCV = 0x115
32749- SOL_KCM = 0x119
32750- SOL_LLC = 0x10c
32751- SOL_NETBEUI = 0x10b
32752- SOL_NETLINK = 0x10e
32753- SOL_NFC = 0x118
32754- SOL_PACKET = 0x107
32755- SOL_PNPIPE = 0x113
32756- SOL_PPPOL2TP = 0x111
32757- SOL_RAW = 0xff
32758- SOL_RDS = 0x114
32759- SOL_RXRPC = 0x110
32760- SOL_SOCKET = 0x1
32761- SOL_TCP = 0x6
32762- SOL_TIPC = 0x10f
32763- SOL_X25 = 0x106
32764- SOMAXCONN = 0x80
32765- SO_ACCEPTCONN = 0x1e
32766- SO_ATTACH_BPF = 0x32
32767- SO_ATTACH_FILTER = 0x1a
32768- SO_ATTACH_REUSEPORT_CBPF = 0x33
32769- SO_ATTACH_REUSEPORT_EBPF = 0x34
32770- SO_BINDTODEVICE = 0x19
32771- SO_BPF_EXTENSIONS = 0x30
32772- SO_BROADCAST = 0x6
32773- SO_BSDCOMPAT = 0xe
32774- SO_BUSY_POLL = 0x2e
32775- SO_CNX_ADVICE = 0x35
32776- SO_DEBUG = 0x1
32777- SO_DETACH_BPF = 0x1b
32778- SO_DETACH_FILTER = 0x1b
32779- SO_DOMAIN = 0x27
32780- SO_DONTROUTE = 0x5
32781- SO_ERROR = 0x4
32782- SO_GET_FILTER = 0x1a
32783- SO_INCOMING_CPU = 0x31
32784- SO_KEEPALIVE = 0x9
32785- SO_LINGER = 0xd
32786- SO_LOCK_FILTER = 0x2c
32787- SO_MARK = 0x24
32788- SO_MAX_PACING_RATE = 0x2f
32789- SO_NOFCS = 0x2b
32790- SO_NO_CHECK = 0xb
32791- SO_OOBINLINE = 0xa
32792- SO_PASSCRED = 0x10
32793- SO_PASSSEC = 0x22
32794- SO_PEEK_OFF = 0x2a
32795- SO_PEERCRED = 0x11
32796- SO_PEERNAME = 0x1c
32797- SO_PEERSEC = 0x1f
32798- SO_PRIORITY = 0xc
32799- SO_PROTOCOL = 0x26
32800- SO_RCVBUF = 0x8
32801- SO_RCVBUFFORCE = 0x21
32802- SO_RCVLOWAT = 0x12
32803- SO_RCVTIMEO = 0x14
32804- SO_REUSEADDR = 0x2
32805- SO_REUSEPORT = 0xf
32806- SO_RXQ_OVFL = 0x28
32807- SO_SECURITY_AUTHENTICATION = 0x16
32808- SO_SECURITY_ENCRYPTION_NETWORK = 0x18
32809- SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
32810- SO_SELECT_ERR_QUEUE = 0x2d
32811- SO_SNDBUF = 0x7
32812- SO_SNDBUFFORCE = 0x20
32813- SO_SNDLOWAT = 0x13
32814- SO_SNDTIMEO = 0x15
32815- SO_TIMESTAMP = 0x1d
32816- SO_TIMESTAMPING = 0x25
32817- SO_TIMESTAMPNS = 0x23
32818- SO_TYPE = 0x3
32819- SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
32820- SO_VM_SOCKETS_BUFFER_MIN_SIZE = 0x1
32821- SO_VM_SOCKETS_BUFFER_SIZE = 0x0
32822- SO_VM_SOCKETS_CONNECT_TIMEOUT = 0x6
32823- SO_VM_SOCKETS_NONBLOCK_TXRX = 0x7
32824- SO_VM_SOCKETS_PEER_HOST_VM_ID = 0x3
32825- SO_VM_SOCKETS_TRUSTED = 0x5
32826- SO_WIFI_STATUS = 0x29
32827- SPLICE_F_GIFT = 0x8
32828- SPLICE_F_MORE = 0x4
32829- SPLICE_F_MOVE = 0x1
32830- SPLICE_F_NONBLOCK = 0x2
32831- S_BLKSIZE = 0x200
32832- S_IEXEC = 0x40
32833- S_IFBLK = 0x6000
32834- S_IFCHR = 0x2000
32835- S_IFDIR = 0x4000
32836- S_IFIFO = 0x1000
32837- S_IFLNK = 0xa000
32838- S_IFMT = 0xf000
32839- S_IFREG = 0x8000
32840- S_IFSOCK = 0xc000
32841- S_IREAD = 0x100
32842- S_IRGRP = 0x20
32843- S_IROTH = 0x4
32844- S_IRUSR = 0x100
32845- S_IRWXG = 0x38
32846- S_IRWXO = 0x7
32847- S_IRWXU = 0x1c0
32848- S_ISGID = 0x400
32849- S_ISUID = 0x800
32850- S_ISVTX = 0x200
32851- S_IWGRP = 0x10
32852- S_IWOTH = 0x2
32853- S_IWRITE = 0x80
32854- S_IWUSR = 0x80
32855- S_IXGRP = 0x8
32856- S_IXOTH = 0x1
32857- S_IXUSR = 0x40
32858- TAB0 = 0x0
32859- TAB1 = 0x800
32860- TAB2 = 0x1000
32861- TAB3 = 0x1800
32862- TABDLY = 0x1800
32863- TASKSTATS_CMD_ATTR_MAX = 0x4
32864- TASKSTATS_CMD_MAX = 0x2
32865- TASKSTATS_GENL_NAME = "TASKSTATS"
32866- TASKSTATS_GENL_VERSION = 0x1
32867- TASKSTATS_TYPE_MAX = 0x6
32868- TASKSTATS_VERSION = 0x8
32869- TCFLSH = 0x540b
32870- TCGETA = 0x5405
32871- TCGETS = 0x5401
32872- TCGETS2 = 0x802c542a
32873- TCGETX = 0x5432
32874- TCIFLUSH = 0x0
32875- TCIOFF = 0x2
32876- TCIOFLUSH = 0x2
32877- TCION = 0x3
32878- TCOFLUSH = 0x1
32879- TCOOFF = 0x0
32880- TCOON = 0x1
32881- TCP_CC_INFO = 0x1a
32882- TCP_CONGESTION = 0xd
32883- TCP_COOKIE_IN_ALWAYS = 0x1
32884- TCP_COOKIE_MAX = 0x10
32885- TCP_COOKIE_MIN = 0x8
32886- TCP_COOKIE_OUT_NEVER = 0x2
32887- TCP_COOKIE_PAIR_SIZE = 0x20
32888- TCP_COOKIE_TRANSACTIONS = 0xf
32889- TCP_CORK = 0x3
32890- TCP_DEFER_ACCEPT = 0x9
32891- TCP_FASTOPEN = 0x17
32892- TCP_INFO = 0xb
32893- TCP_KEEPCNT = 0x6
32894- TCP_KEEPIDLE = 0x4
32895- TCP_KEEPINTVL = 0x5
32896- TCP_LINGER2 = 0x8
32897- TCP_MAXSEG = 0x2
32898- TCP_MAXWIN = 0xffff
32899- TCP_MAX_WINSHIFT = 0xe
32900- TCP_MD5SIG = 0xe
32901- TCP_MD5SIG_MAXKEYLEN = 0x50
32902- TCP_MSS = 0x200
32903- TCP_MSS_DEFAULT = 0x218
32904- TCP_MSS_DESIRED = 0x4c4
32905- TCP_NODELAY = 0x1
32906- TCP_NOTSENT_LOWAT = 0x19
32907- TCP_QUEUE_SEQ = 0x15
32908- TCP_QUICKACK = 0xc
32909- TCP_REPAIR = 0x13
32910- TCP_REPAIR_OPTIONS = 0x16
32911- TCP_REPAIR_QUEUE = 0x14
32912- TCP_REPAIR_WINDOW = 0x1d
32913- TCP_SAVED_SYN = 0x1c
32914- TCP_SAVE_SYN = 0x1b
32915- TCP_SYNCNT = 0x7
32916- TCP_S_DATA_IN = 0x4
32917- TCP_S_DATA_OUT = 0x8
32918- TCP_THIN_DUPACK = 0x11
32919- TCP_THIN_LINEAR_TIMEOUTS = 0x10
32920- TCP_TIMESTAMP = 0x18
32921- TCP_USER_TIMEOUT = 0x12
32922- TCP_WINDOW_CLAMP = 0xa
32923- TCSAFLUSH = 0x2
32924- TCSBRK = 0x5409
32925- TCSBRKP = 0x5425
32926- TCSETA = 0x5406
32927- TCSETAF = 0x5408
32928- TCSETAW = 0x5407
32929- TCSETS = 0x5402
32930- TCSETS2 = 0x402c542b
32931- TCSETSF = 0x5404
32932- TCSETSF2 = 0x402c542d
32933- TCSETSW = 0x5403
32934- TCSETSW2 = 0x402c542c
32935- TCSETX = 0x5433
32936- TCSETXF = 0x5434
32937- TCSETXW = 0x5435
32938- TCXONC = 0x540a
32939- TIOCCBRK = 0x5428
32940- TIOCCONS = 0x541d
32941- TIOCEXCL = 0x540c
32942- TIOCGDEV = 0x80045432
32943- TIOCGETD = 0x5424
32944- TIOCGEXCL = 0x80045440
32945- TIOCGICOUNT = 0x545d
32946- TIOCGLCKTRMIOS = 0x5456
32947- TIOCGPGRP = 0x540f
32948- TIOCGPKT = 0x80045438
32949- TIOCGPTLCK = 0x80045439
32950- TIOCGPTN = 0x80045430
32951- TIOCGRS485 = 0x542e
32952- TIOCGSERIAL = 0x541e
32953- TIOCGSID = 0x5429
32954- TIOCGSOFTCAR = 0x5419
32955- TIOCGWINSZ = 0x5413
32956- TIOCINQ = 0x541b
32957- TIOCLINUX = 0x541c
32958- TIOCMBIC = 0x5417
32959- TIOCMBIS = 0x5416
32960- TIOCMGET = 0x5415
32961- TIOCMIWAIT = 0x545c
32962- TIOCMSET = 0x5418
32963- TIOCM_CAR = 0x40
32964- TIOCM_CD = 0x40
32965- TIOCM_CTS = 0x20
32966- TIOCM_DSR = 0x100
32967- TIOCM_DTR = 0x2
32968- TIOCM_LE = 0x1
32969- TIOCM_RI = 0x80
32970- TIOCM_RNG = 0x80
32971- TIOCM_RTS = 0x4
32972- TIOCM_SR = 0x10
32973- TIOCM_ST = 0x8
32974- TIOCNOTTY = 0x5422
32975- TIOCNXCL = 0x540d
32976- TIOCOUTQ = 0x5411
32977- TIOCPKT = 0x5420
32978- TIOCPKT_DATA = 0x0
32979- TIOCPKT_DOSTOP = 0x20
32980- TIOCPKT_FLUSHREAD = 0x1
32981- TIOCPKT_FLUSHWRITE = 0x2
32982- TIOCPKT_IOCTL = 0x40
32983- TIOCPKT_NOSTOP = 0x10
32984- TIOCPKT_START = 0x8
32985- TIOCPKT_STOP = 0x4
32986- TIOCSBRK = 0x5427
32987- TIOCSCTTY = 0x540e
32988- TIOCSERCONFIG = 0x5453
32989- TIOCSERGETLSR = 0x5459
32990- TIOCSERGETMULTI = 0x545a
32991- TIOCSERGSTRUCT = 0x5458
32992- TIOCSERGWILD = 0x5454
32993- TIOCSERSETMULTI = 0x545b
32994- TIOCSERSWILD = 0x5455
32995- TIOCSER_TEMT = 0x1
32996- TIOCSETD = 0x5423
32997- TIOCSIG = 0x40045436
32998- TIOCSLCKTRMIOS = 0x5457
32999- TIOCSPGRP = 0x5410
33000- TIOCSPTLCK = 0x40045431
33001- TIOCSRS485 = 0x542f
33002- TIOCSSERIAL = 0x541f
33003- TIOCSSOFTCAR = 0x541a
33004- TIOCSTI = 0x5412
33005- TIOCSWINSZ = 0x5414
33006- TIOCVHANGUP = 0x5437
33007- TOSTOP = 0x100
33008- TS_COMM_LEN = 0x20
33009- TUNATTACHFILTER = 0x400854d5
33010- TUNDETACHFILTER = 0x400854d6
33011- TUNGETFEATURES = 0x800454cf
33012- TUNGETFILTER = 0x800854db
33013- TUNGETIFF = 0x800454d2
33014- TUNGETSNDBUF = 0x800454d3
33015- TUNGETVNETBE = 0x800454df
33016- TUNGETVNETHDRSZ = 0x800454d7
33017- TUNGETVNETLE = 0x800454dd
33018- TUNSETDEBUG = 0x400454c9
33019- TUNSETGROUP = 0x400454ce
33020- TUNSETIFF = 0x400454ca
33021- TUNSETIFINDEX = 0x400454da
33022- TUNSETLINK = 0x400454cd
33023- TUNSETNOCSUM = 0x400454c8
33024- TUNSETOFFLOAD = 0x400454d0
33025- TUNSETOWNER = 0x400454cc
33026- TUNSETPERSIST = 0x400454cb
33027- TUNSETQUEUE = 0x400454d9
33028- TUNSETSNDBUF = 0x400454d4
33029- TUNSETTXFILTER = 0x400454d1
33030- TUNSETVNETBE = 0x400454de
33031- TUNSETVNETHDRSZ = 0x400454d8
33032- TUNSETVNETLE = 0x400454dc
33033- UMOUNT_NOFOLLOW = 0x8
33034- VDISCARD = 0xd
33035- VEOF = 0x4
33036- VEOL = 0xb
33037- VEOL2 = 0x10
33038- VERASE = 0x2
33039- VINTR = 0x0
33040- VKILL = 0x3
33041- VLNEXT = 0xf
33042- VMADDR_CID_ANY = 0xffffffff
33043- VMADDR_CID_HOST = 0x2
33044- VMADDR_CID_HYPERVISOR = 0x0
33045- VMADDR_CID_RESERVED = 0x1
33046- VMADDR_PORT_ANY = 0xffffffff
33047- VMIN = 0x6
33048- VM_SOCKETS_INVALID_VERSION = 0xffffffff
33049- VQUIT = 0x1
33050- VREPRINT = 0xc
33051- VSTART = 0x8
33052- VSTOP = 0x9
33053- VSUSP = 0xa
33054- VSWTC = 0x7
33055- VT0 = 0x0
33056- VT1 = 0x4000
33057- VTDLY = 0x4000
33058- VTIME = 0x5
33059- VWERASE = 0xe
33060- WALL = 0x40000000
33061- WCLONE = 0x80000000
33062- WCONTINUED = 0x8
33063- WEXITED = 0x4
33064- WNOHANG = 0x1
33065- WNOTHREAD = 0x20000000
33066- WNOWAIT = 0x1000000
33067- WORDSIZE = 0x20
33068- WSTOPPED = 0x2
33069- WUNTRACED = 0x2
33070- XATTR_CREATE = 0x1
33071- XATTR_REPLACE = 0x2
33072- XCASE = 0x4
33073- XTABS = 0x1800
33074+ B1000000 = 0x1008
33075+ B115200 = 0x1002
33076+ B1152000 = 0x1009
33077+ B1500000 = 0x100a
33078+ B2000000 = 0x100b
33079+ B230400 = 0x1003
33080+ B2500000 = 0x100c
33081+ B3000000 = 0x100d
33082+ B3500000 = 0x100e
33083+ B4000000 = 0x100f
33084+ B460800 = 0x1004
33085+ B500000 = 0x1005
33086+ B57600 = 0x1001
33087+ B576000 = 0x1006
33088+ B921600 = 0x1007
33089+ BLKBSZGET = 0x80041270
33090+ BLKBSZSET = 0x40041271
33091+ BLKFLSBUF = 0x1261
33092+ BLKFRAGET = 0x1265
33093+ BLKFRASET = 0x1264
33094+ BLKGETSIZE = 0x1260
33095+ BLKGETSIZE64 = 0x80041272
33096+ BLKPBSZGET = 0x127b
33097+ BLKRAGET = 0x1263
33098+ BLKRASET = 0x1262
33099+ BLKROGET = 0x125e
33100+ BLKROSET = 0x125d
33101+ BLKRRPART = 0x125f
33102+ BLKSECTGET = 0x1267
33103+ BLKSECTSET = 0x1266
33104+ BLKSSZGET = 0x1268
33105+ BOTHER = 0x1000
33106+ BS1 = 0x2000
33107+ BSDLY = 0x2000
33108+ CBAUD = 0x100f
33109+ CBAUDEX = 0x1000
33110+ CIBAUD = 0x100f0000
33111+ CLOCAL = 0x800
33112+ CR1 = 0x200
33113+ CR2 = 0x400
33114+ CR3 = 0x600
33115+ CRDLY = 0x600
33116+ CREAD = 0x80
33117+ CS6 = 0x10
33118+ CS7 = 0x20
33119+ CS8 = 0x30
33120+ CSIZE = 0x30
33121+ CSTOPB = 0x40
33122+ ECHOCTL = 0x200
33123+ ECHOE = 0x10
33124+ ECHOK = 0x20
33125+ ECHOKE = 0x800
33126+ ECHONL = 0x40
33127+ ECHOPRT = 0x400
33128+ EFD_CLOEXEC = 0x80000
33129+ EFD_NONBLOCK = 0x800
33130+ EPOLL_CLOEXEC = 0x80000
33131+ EXTPROC = 0x10000
33132+ FF1 = 0x8000
33133+ FFDLY = 0x8000
33134+ FLUSHO = 0x1000
33135+ FS_IOC_ENABLE_VERITY = 0x40806685
33136+ FS_IOC_GETFLAGS = 0x80046601
33137+ FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615
33138+ FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614
33139+ FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613
33140+ F_GETLK = 0xc
33141+ F_GETLK64 = 0xc
33142+ F_GETOWN = 0x9
33143+ F_RDLCK = 0x0
33144+ F_SETLK = 0xd
33145+ F_SETLK64 = 0xd
33146+ F_SETLKW = 0xe
33147+ F_SETLKW64 = 0xe
33148+ F_SETOWN = 0x8
33149+ F_UNLCK = 0x2
33150+ F_WRLCK = 0x1
33151+ HUPCL = 0x400
33152+ ICANON = 0x2
33153+ IEXTEN = 0x8000
33154+ IN_CLOEXEC = 0x80000
33155+ IN_NONBLOCK = 0x800
33156+ IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x7b9
33157+ ISIG = 0x1
33158+ IUCLC = 0x200
33159+ IXOFF = 0x1000
33160+ IXON = 0x400
33161+ MAP_ANON = 0x20
33162+ MAP_ANONYMOUS = 0x20
33163+ MAP_DENYWRITE = 0x800
33164+ MAP_EXECUTABLE = 0x1000
33165+ MAP_GROWSDOWN = 0x100
33166+ MAP_HUGETLB = 0x40000
33167+ MAP_LOCKED = 0x2000
33168+ MAP_NONBLOCK = 0x10000
33169+ MAP_NORESERVE = 0x4000
33170+ MAP_POPULATE = 0x8000
33171+ MAP_STACK = 0x20000
33172+ MAP_SYNC = 0x80000
33173+ MCL_CURRENT = 0x1
33174+ MCL_FUTURE = 0x2
33175+ MCL_ONFAULT = 0x4
33176+ NFDBITS = 0x20
33177+ NLDLY = 0x100
33178+ NOFLSH = 0x80
33179+ NS_GET_NSTYPE = 0xb703
33180+ NS_GET_OWNER_UID = 0xb704
33181+ NS_GET_PARENT = 0xb702
33182+ NS_GET_USERNS = 0xb701
33183+ OLCUC = 0x2
33184+ ONLCR = 0x4
33185+ O_APPEND = 0x400
33186+ O_ASYNC = 0x2000
33187+ O_CLOEXEC = 0x80000
33188+ O_CREAT = 0x40
33189+ O_DIRECT = 0x10000
33190+ O_DIRECTORY = 0x4000
33191+ O_DSYNC = 0x1000
33192+ O_EXCL = 0x80
33193+ O_FSYNC = 0x101000
33194+ O_LARGEFILE = 0x20000
33195+ O_NDELAY = 0x800
33196+ O_NOATIME = 0x40000
33197+ O_NOCTTY = 0x100
33198+ O_NOFOLLOW = 0x8000
33199+ O_NONBLOCK = 0x800
33200+ O_PATH = 0x200000
33201+ O_RSYNC = 0x101000
33202+ O_SYNC = 0x101000
33203+ O_TMPFILE = 0x404000
33204+ O_TRUNC = 0x200
33205+ PARENB = 0x100
33206+ PARODD = 0x200
33207+ PENDIN = 0x4000
33208+ PERF_EVENT_IOC_DISABLE = 0x2401
33209+ PERF_EVENT_IOC_ENABLE = 0x2400
33210+ PERF_EVENT_IOC_ID = 0x80042407
33211+ PERF_EVENT_IOC_MODIFY_ATTRIBUTES = 0x4004240b
33212+ PERF_EVENT_IOC_PAUSE_OUTPUT = 0x40042409
33213+ PERF_EVENT_IOC_PERIOD = 0x40082404
33214+ PERF_EVENT_IOC_QUERY_BPF = 0xc004240a
33215+ PERF_EVENT_IOC_REFRESH = 0x2402
33216+ PERF_EVENT_IOC_RESET = 0x2403
33217+ PERF_EVENT_IOC_SET_BPF = 0x40042408
33218+ PERF_EVENT_IOC_SET_FILTER = 0x40042406
33219+ PERF_EVENT_IOC_SET_OUTPUT = 0x2405
33220+ PPPIOCATTACH = 0x4004743d
33221+ PPPIOCATTCHAN = 0x40047438
33222+ PPPIOCCONNECT = 0x4004743a
33223+ PPPIOCDETACH = 0x4004743c
33224+ PPPIOCDISCONN = 0x7439
33225+ PPPIOCGASYNCMAP = 0x80047458
33226+ PPPIOCGCHAN = 0x80047437
33227+ PPPIOCGDEBUG = 0x80047441
33228+ PPPIOCGFLAGS = 0x8004745a
33229+ PPPIOCGIDLE = 0x8008743f
33230+ PPPIOCGIDLE32 = 0x8008743f
33231+ PPPIOCGIDLE64 = 0x8010743f
33232+ PPPIOCGL2TPSTATS = 0x80487436
33233+ PPPIOCGMRU = 0x80047453
33234+ PPPIOCGRASYNCMAP = 0x80047455
33235+ PPPIOCGUNIT = 0x80047456
33236+ PPPIOCGXASYNCMAP = 0x80207450
33237+ PPPIOCSACTIVE = 0x40087446
33238+ PPPIOCSASYNCMAP = 0x40047457
33239+ PPPIOCSCOMPRESS = 0x400c744d
33240+ PPPIOCSDEBUG = 0x40047440
33241+ PPPIOCSFLAGS = 0x40047459
33242+ PPPIOCSMAXCID = 0x40047451
33243+ PPPIOCSMRRU = 0x4004743b
33244+ PPPIOCSMRU = 0x40047452
33245+ PPPIOCSNPMODE = 0x4008744b
33246+ PPPIOCSPASS = 0x40087447
33247+ PPPIOCSRASYNCMAP = 0x40047454
33248+ PPPIOCSXASYNCMAP = 0x4020744f
33249+ PPPIOCXFERUNIT = 0x744e
33250+ PR_SET_PTRACER_ANY = 0xffffffff
33251+ PTRACE_GETCRUNCHREGS = 0x19
33252+ PTRACE_GETFDPIC = 0x1f
33253+ PTRACE_GETFDPIC_EXEC = 0x0
33254+ PTRACE_GETFDPIC_INTERP = 0x1
33255+ PTRACE_GETFPREGS = 0xe
33256+ PTRACE_GETHBPREGS = 0x1d
33257+ PTRACE_GETVFPREGS = 0x1b
33258+ PTRACE_GETWMMXREGS = 0x12
33259+ PTRACE_GET_THREAD_AREA = 0x16
33260+ PTRACE_OLDSETOPTIONS = 0x15
33261+ PTRACE_SETCRUNCHREGS = 0x1a
33262+ PTRACE_SETFPREGS = 0xf
33263+ PTRACE_SETHBPREGS = 0x1e
33264+ PTRACE_SETVFPREGS = 0x1c
33265+ PTRACE_SETWMMXREGS = 0x13
33266+ PTRACE_SET_SYSCALL = 0x17
33267+ PT_DATA_ADDR = 0x10004
33268+ PT_TEXT_ADDR = 0x10000
33269+ PT_TEXT_END_ADDR = 0x10008
33270+ RLIMIT_AS = 0x9
33271+ RLIMIT_MEMLOCK = 0x8
33272+ RLIMIT_NOFILE = 0x7
33273+ RLIMIT_NPROC = 0x6
33274+ RLIMIT_RSS = 0x5
33275+ RNDADDENTROPY = 0x40085203
33276+ RNDADDTOENTCNT = 0x40045201
33277+ RNDCLEARPOOL = 0x5206
33278+ RNDGETENTCNT = 0x80045200
33279+ RNDGETPOOL = 0x80085202
33280+ RNDRESEEDCRNG = 0x5207
33281+ RNDZAPENTCNT = 0x5204
33282+ RTC_AIE_OFF = 0x7002
33283+ RTC_AIE_ON = 0x7001
33284+ RTC_ALM_READ = 0x80247008
33285+ RTC_ALM_SET = 0x40247007
33286+ RTC_EPOCH_READ = 0x8004700d
33287+ RTC_EPOCH_SET = 0x4004700e
33288+ RTC_IRQP_READ = 0x8004700b
33289+ RTC_IRQP_SET = 0x4004700c
33290+ RTC_PIE_OFF = 0x7006
33291+ RTC_PIE_ON = 0x7005
33292+ RTC_PLL_GET = 0x801c7011
33293+ RTC_PLL_SET = 0x401c7012
33294+ RTC_RD_TIME = 0x80247009
33295+ RTC_SET_TIME = 0x4024700a
33296+ RTC_UIE_OFF = 0x7004
33297+ RTC_UIE_ON = 0x7003
33298+ RTC_VL_CLR = 0x7014
33299+ RTC_VL_READ = 0x80047013
33300+ RTC_WIE_OFF = 0x7010
33301+ RTC_WIE_ON = 0x700f
33302+ RTC_WKALM_RD = 0x80287010
33303+ RTC_WKALM_SET = 0x4028700f
33304+ SCM_TIMESTAMPING = 0x25
33305+ SCM_TIMESTAMPING_OPT_STATS = 0x36
33306+ SCM_TIMESTAMPING_PKTINFO = 0x3a
33307+ SCM_TIMESTAMPNS = 0x23
33308+ SCM_TXTIME = 0x3d
33309+ SCM_WIFI_STATUS = 0x29
33310+ SFD_CLOEXEC = 0x80000
33311+ SFD_NONBLOCK = 0x800
33312+ SIOCATMARK = 0x8905
33313+ SIOCGPGRP = 0x8904
33314+ SIOCGSTAMPNS_NEW = 0x80108907
33315+ SIOCGSTAMP_NEW = 0x80108906
33316+ SIOCINQ = 0x541b
33317+ SIOCOUTQ = 0x5411
33318+ SIOCSPGRP = 0x8902
33319+ SOCK_CLOEXEC = 0x80000
33320+ SOCK_DGRAM = 0x2
33321+ SOCK_NONBLOCK = 0x800
33322+ SOCK_STREAM = 0x1
33323+ SOL_SOCKET = 0x1
33324+ SO_ACCEPTCONN = 0x1e
33325+ SO_ATTACH_BPF = 0x32
33326+ SO_ATTACH_REUSEPORT_CBPF = 0x33
33327+ SO_ATTACH_REUSEPORT_EBPF = 0x34
33328+ SO_BINDTODEVICE = 0x19
33329+ SO_BINDTOIFINDEX = 0x3e
33330+ SO_BPF_EXTENSIONS = 0x30
33331+ SO_BROADCAST = 0x6
33332+ SO_BSDCOMPAT = 0xe
33333+ SO_BUSY_POLL = 0x2e
33334+ SO_CNX_ADVICE = 0x35
33335+ SO_COOKIE = 0x39
33336+ SO_DETACH_REUSEPORT_BPF = 0x44
33337+ SO_DOMAIN = 0x27
33338+ SO_DONTROUTE = 0x5
33339+ SO_ERROR = 0x4
33340+ SO_INCOMING_CPU = 0x31
33341+ SO_INCOMING_NAPI_ID = 0x38
33342+ SO_KEEPALIVE = 0x9
33343+ SO_LINGER = 0xd
33344+ SO_LOCK_FILTER = 0x2c
33345+ SO_MARK = 0x24
33346+ SO_MAX_PACING_RATE = 0x2f
33347+ SO_MEMINFO = 0x37
33348+ SO_NOFCS = 0x2b
33349+ SO_OOBINLINE = 0xa
33350+ SO_PASSCRED = 0x10
33351+ SO_PASSSEC = 0x22
33352+ SO_PEEK_OFF = 0x2a
33353+ SO_PEERCRED = 0x11
33354+ SO_PEERGROUPS = 0x3b
33355+ SO_PEERSEC = 0x1f
33356+ SO_PROTOCOL = 0x26
33357+ SO_RCVBUF = 0x8
33358+ SO_RCVBUFFORCE = 0x21
33359+ SO_RCVLOWAT = 0x12
33360+ SO_RCVTIMEO = 0x14
33361+ SO_RCVTIMEO_NEW = 0x42
33362+ SO_RCVTIMEO_OLD = 0x14
33363+ SO_REUSEADDR = 0x2
33364+ SO_REUSEPORT = 0xf
33365+ SO_RXQ_OVFL = 0x28
33366+ SO_SECURITY_AUTHENTICATION = 0x16
33367+ SO_SECURITY_ENCRYPTION_NETWORK = 0x18
33368+ SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
33369+ SO_SELECT_ERR_QUEUE = 0x2d
33370+ SO_SNDBUF = 0x7
33371+ SO_SNDBUFFORCE = 0x20
33372+ SO_SNDLOWAT = 0x13
33373+ SO_SNDTIMEO = 0x15
33374+ SO_SNDTIMEO_NEW = 0x43
33375+ SO_SNDTIMEO_OLD = 0x15
33376+ SO_TIMESTAMPING = 0x25
33377+ SO_TIMESTAMPING_NEW = 0x41
33378+ SO_TIMESTAMPING_OLD = 0x25
33379+ SO_TIMESTAMPNS = 0x23
33380+ SO_TIMESTAMPNS_NEW = 0x40
33381+ SO_TIMESTAMPNS_OLD = 0x23
33382+ SO_TIMESTAMP_NEW = 0x3f
33383+ SO_TXTIME = 0x3d
33384+ SO_TYPE = 0x3
33385+ SO_WIFI_STATUS = 0x29
33386+ SO_ZEROCOPY = 0x3c
33387+ TAB1 = 0x800
33388+ TAB2 = 0x1000
33389+ TAB3 = 0x1800
33390+ TABDLY = 0x1800
33391+ TCFLSH = 0x540b
33392+ TCGETA = 0x5405
33393+ TCGETS = 0x5401
33394+ TCGETS2 = 0x802c542a
33395+ TCGETX = 0x5432
33396+ TCSAFLUSH = 0x2
33397+ TCSBRK = 0x5409
33398+ TCSBRKP = 0x5425
33399+ TCSETA = 0x5406
33400+ TCSETAF = 0x5408
33401+ TCSETAW = 0x5407
33402+ TCSETS = 0x5402
33403+ TCSETS2 = 0x402c542b
33404+ TCSETSF = 0x5404
33405+ TCSETSF2 = 0x402c542d
33406+ TCSETSW = 0x5403
33407+ TCSETSW2 = 0x402c542c
33408+ TCSETX = 0x5433
33409+ TCSETXF = 0x5434
33410+ TCSETXW = 0x5435
33411+ TCXONC = 0x540a
33412+ TIOCCBRK = 0x5428
33413+ TIOCCONS = 0x541d
33414+ TIOCEXCL = 0x540c
33415+ TIOCGDEV = 0x80045432
33416+ TIOCGETD = 0x5424
33417+ TIOCGEXCL = 0x80045440
33418+ TIOCGICOUNT = 0x545d
33419+ TIOCGISO7816 = 0x80285442
33420+ TIOCGLCKTRMIOS = 0x5456
33421+ TIOCGPGRP = 0x540f
33422+ TIOCGPKT = 0x80045438
33423+ TIOCGPTLCK = 0x80045439
33424+ TIOCGPTN = 0x80045430
33425+ TIOCGPTPEER = 0x5441
33426+ TIOCGRS485 = 0x542e
33427+ TIOCGSERIAL = 0x541e
33428+ TIOCGSID = 0x5429
33429+ TIOCGSOFTCAR = 0x5419
33430+ TIOCGWINSZ = 0x5413
33431+ TIOCINQ = 0x541b
33432+ TIOCLINUX = 0x541c
33433+ TIOCMBIC = 0x5417
33434+ TIOCMBIS = 0x5416
33435+ TIOCMGET = 0x5415
33436+ TIOCMIWAIT = 0x545c
33437+ TIOCMSET = 0x5418
33438+ TIOCM_CAR = 0x40
33439+ TIOCM_CD = 0x40
33440+ TIOCM_CTS = 0x20
33441+ TIOCM_DSR = 0x100
33442+ TIOCM_RI = 0x80
33443+ TIOCM_RNG = 0x80
33444+ TIOCM_SR = 0x10
33445+ TIOCM_ST = 0x8
33446+ TIOCNOTTY = 0x5422
33447+ TIOCNXCL = 0x540d
33448+ TIOCOUTQ = 0x5411
33449+ TIOCPKT = 0x5420
33450+ TIOCSBRK = 0x5427
33451+ TIOCSCTTY = 0x540e
33452+ TIOCSERCONFIG = 0x5453
33453+ TIOCSERGETLSR = 0x5459
33454+ TIOCSERGETMULTI = 0x545a
33455+ TIOCSERGSTRUCT = 0x5458
33456+ TIOCSERGWILD = 0x5454
33457+ TIOCSERSETMULTI = 0x545b
33458+ TIOCSERSWILD = 0x5455
33459+ TIOCSER_TEMT = 0x1
33460+ TIOCSETD = 0x5423
33461+ TIOCSIG = 0x40045436
33462+ TIOCSISO7816 = 0xc0285443
33463+ TIOCSLCKTRMIOS = 0x5457
33464+ TIOCSPGRP = 0x5410
33465+ TIOCSPTLCK = 0x40045431
33466+ TIOCSRS485 = 0x542f
33467+ TIOCSSERIAL = 0x541f
33468+ TIOCSSOFTCAR = 0x541a
33469+ TIOCSTI = 0x5412
33470+ TIOCSWINSZ = 0x5414
33471+ TIOCVHANGUP = 0x5437
33472+ TOSTOP = 0x100
33473+ TUNATTACHFILTER = 0x400854d5
33474+ TUNDETACHFILTER = 0x400854d6
33475+ TUNGETDEVNETNS = 0x54e3
33476+ TUNGETFEATURES = 0x800454cf
33477+ TUNGETFILTER = 0x800854db
33478+ TUNGETIFF = 0x800454d2
33479+ TUNGETSNDBUF = 0x800454d3
33480+ TUNGETVNETBE = 0x800454df
33481+ TUNGETVNETHDRSZ = 0x800454d7
33482+ TUNGETVNETLE = 0x800454dd
33483+ TUNSETCARRIER = 0x400454e2
33484+ TUNSETDEBUG = 0x400454c9
33485+ TUNSETFILTEREBPF = 0x800454e1
33486+ TUNSETGROUP = 0x400454ce
33487+ TUNSETIFF = 0x400454ca
33488+ TUNSETIFINDEX = 0x400454da
33489+ TUNSETLINK = 0x400454cd
33490+ TUNSETNOCSUM = 0x400454c8
33491+ TUNSETOFFLOAD = 0x400454d0
33492+ TUNSETOWNER = 0x400454cc
33493+ TUNSETPERSIST = 0x400454cb
33494+ TUNSETQUEUE = 0x400454d9
33495+ TUNSETSNDBUF = 0x400454d4
33496+ TUNSETSTEERINGEBPF = 0x800454e0
33497+ TUNSETTXFILTER = 0x400454d1
33498+ TUNSETVNETBE = 0x400454de
33499+ TUNSETVNETHDRSZ = 0x400454d8
33500+ TUNSETVNETLE = 0x400454dc
33501+ UBI_IOCATT = 0x40186f40
33502+ UBI_IOCDET = 0x40046f41
33503+ UBI_IOCEBCH = 0x40044f02
33504+ UBI_IOCEBER = 0x40044f01
33505+ UBI_IOCEBISMAP = 0x80044f05
33506+ UBI_IOCEBMAP = 0x40084f03
33507+ UBI_IOCEBUNMAP = 0x40044f04
33508+ UBI_IOCMKVOL = 0x40986f00
33509+ UBI_IOCRMVOL = 0x40046f01
33510+ UBI_IOCRNVOL = 0x51106f03
33511+ UBI_IOCRPEB = 0x40046f04
33512+ UBI_IOCRSVOL = 0x400c6f02
33513+ UBI_IOCSETVOLPROP = 0x40104f06
33514+ UBI_IOCSPEB = 0x40046f05
33515+ UBI_IOCVOLCRBLK = 0x40804f07
33516+ UBI_IOCVOLRMBLK = 0x4f08
33517+ UBI_IOCVOLUP = 0x40084f00
33518+ VDISCARD = 0xd
33519+ VEOF = 0x4
33520+ VEOL = 0xb
33521+ VEOL2 = 0x10
33522+ VMIN = 0x6
33523+ VREPRINT = 0xc
33524+ VSTART = 0x8
33525+ VSTOP = 0x9
33526+ VSUSP = 0xa
33527+ VSWTC = 0x7
33528+ VT1 = 0x4000
33529+ VTDLY = 0x4000
33530+ VTIME = 0x5
33531+ VWERASE = 0xe
33532+ WDIOC_GETBOOTSTATUS = 0x80045702
33533+ WDIOC_GETPRETIMEOUT = 0x80045709
33534+ WDIOC_GETSTATUS = 0x80045701
33535+ WDIOC_GETSUPPORT = 0x80285700
33536+ WDIOC_GETTEMP = 0x80045703
33537+ WDIOC_GETTIMELEFT = 0x8004570a
33538+ WDIOC_GETTIMEOUT = 0x80045707
33539+ WDIOC_KEEPALIVE = 0x80045705
33540+ WDIOC_SETOPTIONS = 0x80045704
33541+ WORDSIZE = 0x20
33542+ XCASE = 0x4
33543+ XTABS = 0x1800
33544 )
33545
33546 // Errors
33547 const (
33548- E2BIG = syscall.Errno(0x7)
33549- EACCES = syscall.Errno(0xd)
33550 EADDRINUSE = syscall.Errno(0x62)
33551 EADDRNOTAVAIL = syscall.Errno(0x63)
33552 EADV = syscall.Errno(0x44)
33553 EAFNOSUPPORT = syscall.Errno(0x61)
33554- EAGAIN = syscall.Errno(0xb)
33555 EALREADY = syscall.Errno(0x72)
33556 EBADE = syscall.Errno(0x34)
33557- EBADF = syscall.Errno(0x9)
33558 EBADFD = syscall.Errno(0x4d)
33559 EBADMSG = syscall.Errno(0x4a)
33560 EBADR = syscall.Errno(0x35)
33561 EBADRQC = syscall.Errno(0x38)
33562 EBADSLT = syscall.Errno(0x39)
33563 EBFONT = syscall.Errno(0x3b)
33564- EBUSY = syscall.Errno(0x10)
33565 ECANCELED = syscall.Errno(0x7d)
33566- ECHILD = syscall.Errno(0xa)
33567 ECHRNG = syscall.Errno(0x2c)
33568 ECOMM = syscall.Errno(0x46)
33569 ECONNABORTED = syscall.Errno(0x67)
33570@@ -1886,23 +506,15 @@ const (
33571 EDEADLK = syscall.Errno(0x23)
33572 EDEADLOCK = syscall.Errno(0x23)
33573 EDESTADDRREQ = syscall.Errno(0x59)
33574- EDOM = syscall.Errno(0x21)
33575 EDOTDOT = syscall.Errno(0x49)
33576 EDQUOT = syscall.Errno(0x7a)
33577- EEXIST = syscall.Errno(0x11)
33578- EFAULT = syscall.Errno(0xe)
33579- EFBIG = syscall.Errno(0x1b)
33580 EHOSTDOWN = syscall.Errno(0x70)
33581 EHOSTUNREACH = syscall.Errno(0x71)
33582 EHWPOISON = syscall.Errno(0x85)
33583 EIDRM = syscall.Errno(0x2b)
33584 EILSEQ = syscall.Errno(0x54)
33585 EINPROGRESS = syscall.Errno(0x73)
33586- EINTR = syscall.Errno(0x4)
33587- EINVAL = syscall.Errno(0x16)
33588- EIO = syscall.Errno(0x5)
33589 EISCONN = syscall.Errno(0x6a)
33590- EISDIR = syscall.Errno(0x15)
33591 EISNAM = syscall.Errno(0x78)
33592 EKEYEXPIRED = syscall.Errno(0x7f)
33593 EKEYREJECTED = syscall.Errno(0x81)
33594@@ -1919,8 +531,6 @@ const (
33595 ELNRNG = syscall.Errno(0x30)
33596 ELOOP = syscall.Errno(0x28)
33597 EMEDIUMTYPE = syscall.Errno(0x7c)
33598- EMFILE = syscall.Errno(0x18)
33599- EMLINK = syscall.Errno(0x1f)
33600 EMSGSIZE = syscall.Errno(0x5a)
33601 EMULTIHOP = syscall.Errno(0x48)
33602 ENAMETOOLONG = syscall.Errno(0x24)
33603@@ -1928,103 +538,70 @@ const (
33604 ENETDOWN = syscall.Errno(0x64)
33605 ENETRESET = syscall.Errno(0x66)
33606 ENETUNREACH = syscall.Errno(0x65)
33607- ENFILE = syscall.Errno(0x17)
33608 ENOANO = syscall.Errno(0x37)
33609 ENOBUFS = syscall.Errno(0x69)
33610 ENOCSI = syscall.Errno(0x32)
33611 ENODATA = syscall.Errno(0x3d)
33612- ENODEV = syscall.Errno(0x13)
33613- ENOENT = syscall.Errno(0x2)
33614- ENOEXEC = syscall.Errno(0x8)
33615 ENOKEY = syscall.Errno(0x7e)
33616 ENOLCK = syscall.Errno(0x25)
33617 ENOLINK = syscall.Errno(0x43)
33618 ENOMEDIUM = syscall.Errno(0x7b)
33619- ENOMEM = syscall.Errno(0xc)
33620 ENOMSG = syscall.Errno(0x2a)
33621 ENONET = syscall.Errno(0x40)
33622 ENOPKG = syscall.Errno(0x41)
33623 ENOPROTOOPT = syscall.Errno(0x5c)
33624- ENOSPC = syscall.Errno(0x1c)
33625 ENOSR = syscall.Errno(0x3f)
33626 ENOSTR = syscall.Errno(0x3c)
33627 ENOSYS = syscall.Errno(0x26)
33628- ENOTBLK = syscall.Errno(0xf)
33629 ENOTCONN = syscall.Errno(0x6b)
33630- ENOTDIR = syscall.Errno(0x14)
33631 ENOTEMPTY = syscall.Errno(0x27)
33632 ENOTNAM = syscall.Errno(0x76)
33633 ENOTRECOVERABLE = syscall.Errno(0x83)
33634 ENOTSOCK = syscall.Errno(0x58)
33635 ENOTSUP = syscall.Errno(0x5f)
33636- ENOTTY = syscall.Errno(0x19)
33637 ENOTUNIQ = syscall.Errno(0x4c)
33638- ENXIO = syscall.Errno(0x6)
33639 EOPNOTSUPP = syscall.Errno(0x5f)
33640 EOVERFLOW = syscall.Errno(0x4b)
33641 EOWNERDEAD = syscall.Errno(0x82)
33642- EPERM = syscall.Errno(0x1)
33643 EPFNOSUPPORT = syscall.Errno(0x60)
33644- EPIPE = syscall.Errno(0x20)
33645 EPROTO = syscall.Errno(0x47)
33646 EPROTONOSUPPORT = syscall.Errno(0x5d)
33647 EPROTOTYPE = syscall.Errno(0x5b)
33648- ERANGE = syscall.Errno(0x22)
33649 EREMCHG = syscall.Errno(0x4e)
33650 EREMOTE = syscall.Errno(0x42)
33651 EREMOTEIO = syscall.Errno(0x79)
33652 ERESTART = syscall.Errno(0x55)
33653 ERFKILL = syscall.Errno(0x84)
33654- EROFS = syscall.Errno(0x1e)
33655 ESHUTDOWN = syscall.Errno(0x6c)
33656 ESOCKTNOSUPPORT = syscall.Errno(0x5e)
33657- ESPIPE = syscall.Errno(0x1d)
33658- ESRCH = syscall.Errno(0x3)
33659 ESRMNT = syscall.Errno(0x45)
33660 ESTALE = syscall.Errno(0x74)
33661 ESTRPIPE = syscall.Errno(0x56)
33662 ETIME = syscall.Errno(0x3e)
33663 ETIMEDOUT = syscall.Errno(0x6e)
33664 ETOOMANYREFS = syscall.Errno(0x6d)
33665- ETXTBSY = syscall.Errno(0x1a)
33666 EUCLEAN = syscall.Errno(0x75)
33667 EUNATCH = syscall.Errno(0x31)
33668 EUSERS = syscall.Errno(0x57)
33669- EWOULDBLOCK = syscall.Errno(0xb)
33670- EXDEV = syscall.Errno(0x12)
33671 EXFULL = syscall.Errno(0x36)
33672 )
33673
33674 // Signals
33675 const (
33676- SIGABRT = syscall.Signal(0x6)
33677- SIGALRM = syscall.Signal(0xe)
33678 SIGBUS = syscall.Signal(0x7)
33679 SIGCHLD = syscall.Signal(0x11)
33680 SIGCLD = syscall.Signal(0x11)
33681 SIGCONT = syscall.Signal(0x12)
33682- SIGFPE = syscall.Signal(0x8)
33683- SIGHUP = syscall.Signal(0x1)
33684- SIGILL = syscall.Signal(0x4)
33685- SIGINT = syscall.Signal(0x2)
33686 SIGIO = syscall.Signal(0x1d)
33687- SIGIOT = syscall.Signal(0x6)
33688- SIGKILL = syscall.Signal(0x9)
33689- SIGPIPE = syscall.Signal(0xd)
33690 SIGPOLL = syscall.Signal(0x1d)
33691 SIGPROF = syscall.Signal(0x1b)
33692 SIGPWR = syscall.Signal(0x1e)
33693- SIGQUIT = syscall.Signal(0x3)
33694- SIGSEGV = syscall.Signal(0xb)
33695 SIGSTKFLT = syscall.Signal(0x10)
33696 SIGSTOP = syscall.Signal(0x13)
33697 SIGSYS = syscall.Signal(0x1f)
33698- SIGTERM = syscall.Signal(0xf)
33699- SIGTRAP = syscall.Signal(0x5)
33700 SIGTSTP = syscall.Signal(0x14)
33701 SIGTTIN = syscall.Signal(0x15)
33702 SIGTTOU = syscall.Signal(0x16)
33703- SIGUNUSED = syscall.Signal(0x1f)
33704 SIGURG = syscall.Signal(0x17)
33705 SIGUSR1 = syscall.Signal(0xa)
33706 SIGUSR2 = syscall.Signal(0xc)
33707@@ -2035,171 +612,179 @@ const (
33708 )
33709
33710 // Error table
33711-var errors = [...]string{
33712- 1: "operation not permitted",
33713- 2: "no such file or directory",
33714- 3: "no such process",
33715- 4: "interrupted system call",
33716- 5: "input/output error",
33717- 6: "no such device or address",
33718- 7: "argument list too long",
33719- 8: "exec format error",
33720- 9: "bad file descriptor",
33721- 10: "no child processes",
33722- 11: "resource temporarily unavailable",
33723- 12: "cannot allocate memory",
33724- 13: "permission denied",
33725- 14: "bad address",
33726- 15: "block device required",
33727- 16: "device or resource busy",
33728- 17: "file exists",
33729- 18: "invalid cross-device link",
33730- 19: "no such device",
33731- 20: "not a directory",
33732- 21: "is a directory",
33733- 22: "invalid argument",
33734- 23: "too many open files in system",
33735- 24: "too many open files",
33736- 25: "inappropriate ioctl for device",
33737- 26: "text file busy",
33738- 27: "file too large",
33739- 28: "no space left on device",
33740- 29: "illegal seek",
33741- 30: "read-only file system",
33742- 31: "too many links",
33743- 32: "broken pipe",
33744- 33: "numerical argument out of domain",
33745- 34: "numerical result out of range",
33746- 35: "resource deadlock avoided",
33747- 36: "file name too long",
33748- 37: "no locks available",
33749- 38: "function not implemented",
33750- 39: "directory not empty",
33751- 40: "too many levels of symbolic links",
33752- 42: "no message of desired type",
33753- 43: "identifier removed",
33754- 44: "channel number out of range",
33755- 45: "level 2 not synchronized",
33756- 46: "level 3 halted",
33757- 47: "level 3 reset",
33758- 48: "link number out of range",
33759- 49: "protocol driver not attached",
33760- 50: "no CSI structure available",
33761- 51: "level 2 halted",
33762- 52: "invalid exchange",
33763- 53: "invalid request descriptor",
33764- 54: "exchange full",
33765- 55: "no anode",
33766- 56: "invalid request code",
33767- 57: "invalid slot",
33768- 59: "bad font file format",
33769- 60: "device not a stream",
33770- 61: "no data available",
33771- 62: "timer expired",
33772- 63: "out of streams resources",
33773- 64: "machine is not on the network",
33774- 65: "package not installed",
33775- 66: "object is remote",
33776- 67: "link has been severed",
33777- 68: "advertise error",
33778- 69: "srmount error",
33779- 70: "communication error on send",
33780- 71: "protocol error",
33781- 72: "multihop attempted",
33782- 73: "RFS specific error",
33783- 74: "bad message",
33784- 75: "value too large for defined data type",
33785- 76: "name not unique on network",
33786- 77: "file descriptor in bad state",
33787- 78: "remote address changed",
33788- 79: "can not access a needed shared library",
33789- 80: "accessing a corrupted shared library",
33790- 81: ".lib section in a.out corrupted",
33791- 82: "attempting to link in too many shared libraries",
33792- 83: "cannot exec a shared library directly",
33793- 84: "invalid or incomplete multibyte or wide character",
33794- 85: "interrupted system call should be restarted",
33795- 86: "streams pipe error",
33796- 87: "too many users",
33797- 88: "socket operation on non-socket",
33798- 89: "destination address required",
33799- 90: "message too long",
33800- 91: "protocol wrong type for socket",
33801- 92: "protocol not available",
33802- 93: "protocol not supported",
33803- 94: "socket type not supported",
33804- 95: "operation not supported",
33805- 96: "protocol family not supported",
33806- 97: "address family not supported by protocol",
33807- 98: "address already in use",
33808- 99: "cannot assign requested address",
33809- 100: "network is down",
33810- 101: "network is unreachable",
33811- 102: "network dropped connection on reset",
33812- 103: "software caused connection abort",
33813- 104: "connection reset by peer",
33814- 105: "no buffer space available",
33815- 106: "transport endpoint is already connected",
33816- 107: "transport endpoint is not connected",
33817- 108: "cannot send after transport endpoint shutdown",
33818- 109: "too many references: cannot splice",
33819- 110: "connection timed out",
33820- 111: "connection refused",
33821- 112: "host is down",
33822- 113: "no route to host",
33823- 114: "operation already in progress",
33824- 115: "operation now in progress",
33825- 116: "stale file handle",
33826- 117: "structure needs cleaning",
33827- 118: "not a XENIX named type file",
33828- 119: "no XENIX semaphores available",
33829- 120: "is a named type file",
33830- 121: "remote I/O error",
33831- 122: "disk quota exceeded",
33832- 123: "no medium found",
33833- 124: "wrong medium type",
33834- 125: "operation canceled",
33835- 126: "required key not available",
33836- 127: "key has expired",
33837- 128: "key has been revoked",
33838- 129: "key was rejected by service",
33839- 130: "owner died",
33840- 131: "state not recoverable",
33841- 132: "operation not possible due to RF-kill",
33842- 133: "memory page has hardware error",
33843+var errorList = [...]struct {
33844+ num syscall.Errno
33845+ name string
33846+ desc string
33847+}{
33848+ {1, "EPERM", "operation not permitted"},
33849+ {2, "ENOENT", "no such file or directory"},
33850+ {3, "ESRCH", "no such process"},
33851+ {4, "EINTR", "interrupted system call"},
33852+ {5, "EIO", "input/output error"},
33853+ {6, "ENXIO", "no such device or address"},
33854+ {7, "E2BIG", "argument list too long"},
33855+ {8, "ENOEXEC", "exec format error"},
33856+ {9, "EBADF", "bad file descriptor"},
33857+ {10, "ECHILD", "no child processes"},
33858+ {11, "EAGAIN", "resource temporarily unavailable"},
33859+ {12, "ENOMEM", "cannot allocate memory"},
33860+ {13, "EACCES", "permission denied"},
33861+ {14, "EFAULT", "bad address"},
33862+ {15, "ENOTBLK", "block device required"},
33863+ {16, "EBUSY", "device or resource busy"},
33864+ {17, "EEXIST", "file exists"},
33865+ {18, "EXDEV", "invalid cross-device link"},
33866+ {19, "ENODEV", "no such device"},
33867+ {20, "ENOTDIR", "not a directory"},
33868+ {21, "EISDIR", "is a directory"},
33869+ {22, "EINVAL", "invalid argument"},
33870+ {23, "ENFILE", "too many open files in system"},
33871+ {24, "EMFILE", "too many open files"},
33872+ {25, "ENOTTY", "inappropriate ioctl for device"},
33873+ {26, "ETXTBSY", "text file busy"},
33874+ {27, "EFBIG", "file too large"},
33875+ {28, "ENOSPC", "no space left on device"},
33876+ {29, "ESPIPE", "illegal seek"},
33877+ {30, "EROFS", "read-only file system"},
33878+ {31, "EMLINK", "too many links"},
33879+ {32, "EPIPE", "broken pipe"},
33880+ {33, "EDOM", "numerical argument out of domain"},
33881+ {34, "ERANGE", "numerical result out of range"},
33882+ {35, "EDEADLK", "resource deadlock avoided"},
33883+ {36, "ENAMETOOLONG", "file name too long"},
33884+ {37, "ENOLCK", "no locks available"},
33885+ {38, "ENOSYS", "function not implemented"},
33886+ {39, "ENOTEMPTY", "directory not empty"},
33887+ {40, "ELOOP", "too many levels of symbolic links"},
33888+ {42, "ENOMSG", "no message of desired type"},
33889+ {43, "EIDRM", "identifier removed"},
33890+ {44, "ECHRNG", "channel number out of range"},
33891+ {45, "EL2NSYNC", "level 2 not synchronized"},
33892+ {46, "EL3HLT", "level 3 halted"},
33893+ {47, "EL3RST", "level 3 reset"},
33894+ {48, "ELNRNG", "link number out of range"},
33895+ {49, "EUNATCH", "protocol driver not attached"},
33896+ {50, "ENOCSI", "no CSI structure available"},
33897+ {51, "EL2HLT", "level 2 halted"},
33898+ {52, "EBADE", "invalid exchange"},
33899+ {53, "EBADR", "invalid request descriptor"},
33900+ {54, "EXFULL", "exchange full"},
33901+ {55, "ENOANO", "no anode"},
33902+ {56, "EBADRQC", "invalid request code"},
33903+ {57, "EBADSLT", "invalid slot"},
33904+ {59, "EBFONT", "bad font file format"},
33905+ {60, "ENOSTR", "device not a stream"},
33906+ {61, "ENODATA", "no data available"},
33907+ {62, "ETIME", "timer expired"},
33908+ {63, "ENOSR", "out of streams resources"},
33909+ {64, "ENONET", "machine is not on the network"},
33910+ {65, "ENOPKG", "package not installed"},
33911+ {66, "EREMOTE", "object is remote"},
33912+ {67, "ENOLINK", "link has been severed"},
33913+ {68, "EADV", "advertise error"},
33914+ {69, "ESRMNT", "srmount error"},
33915+ {70, "ECOMM", "communication error on send"},
33916+ {71, "EPROTO", "protocol error"},
33917+ {72, "EMULTIHOP", "multihop attempted"},
33918+ {73, "EDOTDOT", "RFS specific error"},
33919+ {74, "EBADMSG", "bad message"},
33920+ {75, "EOVERFLOW", "value too large for defined data type"},
33921+ {76, "ENOTUNIQ", "name not unique on network"},
33922+ {77, "EBADFD", "file descriptor in bad state"},
33923+ {78, "EREMCHG", "remote address changed"},
33924+ {79, "ELIBACC", "can not access a needed shared library"},
33925+ {80, "ELIBBAD", "accessing a corrupted shared library"},
33926+ {81, "ELIBSCN", ".lib section in a.out corrupted"},
33927+ {82, "ELIBMAX", "attempting to link in too many shared libraries"},
33928+ {83, "ELIBEXEC", "cannot exec a shared library directly"},
33929+ {84, "EILSEQ", "invalid or incomplete multibyte or wide character"},
33930+ {85, "ERESTART", "interrupted system call should be restarted"},
33931+ {86, "ESTRPIPE", "streams pipe error"},
33932+ {87, "EUSERS", "too many users"},
33933+ {88, "ENOTSOCK", "socket operation on non-socket"},
33934+ {89, "EDESTADDRREQ", "destination address required"},
33935+ {90, "EMSGSIZE", "message too long"},
33936+ {91, "EPROTOTYPE", "protocol wrong type for socket"},
33937+ {92, "ENOPROTOOPT", "protocol not available"},
33938+ {93, "EPROTONOSUPPORT", "protocol not supported"},
33939+ {94, "ESOCKTNOSUPPORT", "socket type not supported"},
33940+ {95, "ENOTSUP", "operation not supported"},
33941+ {96, "EPFNOSUPPORT", "protocol family not supported"},
33942+ {97, "EAFNOSUPPORT", "address family not supported by protocol"},
33943+ {98, "EADDRINUSE", "address already in use"},
33944+ {99, "EADDRNOTAVAIL", "cannot assign requested address"},
33945+ {100, "ENETDOWN", "network is down"},
33946+ {101, "ENETUNREACH", "network is unreachable"},
33947+ {102, "ENETRESET", "network dropped connection on reset"},
33948+ {103, "ECONNABORTED", "software caused connection abort"},
33949+ {104, "ECONNRESET", "connection reset by peer"},
33950+ {105, "ENOBUFS", "no buffer space available"},
33951+ {106, "EISCONN", "transport endpoint is already connected"},
33952+ {107, "ENOTCONN", "transport endpoint is not connected"},
33953+ {108, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
33954+ {109, "ETOOMANYREFS", "too many references: cannot splice"},
33955+ {110, "ETIMEDOUT", "connection timed out"},
33956+ {111, "ECONNREFUSED", "connection refused"},
33957+ {112, "EHOSTDOWN", "host is down"},
33958+ {113, "EHOSTUNREACH", "no route to host"},
33959+ {114, "EALREADY", "operation already in progress"},
33960+ {115, "EINPROGRESS", "operation now in progress"},
33961+ {116, "ESTALE", "stale file handle"},
33962+ {117, "EUCLEAN", "structure needs cleaning"},
33963+ {118, "ENOTNAM", "not a XENIX named type file"},
33964+ {119, "ENAVAIL", "no XENIX semaphores available"},
33965+ {120, "EISNAM", "is a named type file"},
33966+ {121, "EREMOTEIO", "remote I/O error"},
33967+ {122, "EDQUOT", "disk quota exceeded"},
33968+ {123, "ENOMEDIUM", "no medium found"},
33969+ {124, "EMEDIUMTYPE", "wrong medium type"},
33970+ {125, "ECANCELED", "operation canceled"},
33971+ {126, "ENOKEY", "required key not available"},
33972+ {127, "EKEYEXPIRED", "key has expired"},
33973+ {128, "EKEYREVOKED", "key has been revoked"},
33974+ {129, "EKEYREJECTED", "key was rejected by service"},
33975+ {130, "EOWNERDEAD", "owner died"},
33976+ {131, "ENOTRECOVERABLE", "state not recoverable"},
33977+ {132, "ERFKILL", "operation not possible due to RF-kill"},
33978+ {133, "EHWPOISON", "memory page has hardware error"},
33979 }
33980
33981 // Signal table
33982-var signals = [...]string{
33983- 1: "hangup",
33984- 2: "interrupt",
33985- 3: "quit",
33986- 4: "illegal instruction",
33987- 5: "trace/breakpoint trap",
33988- 6: "aborted",
33989- 7: "bus error",
33990- 8: "floating point exception",
33991- 9: "killed",
33992- 10: "user defined signal 1",
33993- 11: "segmentation fault",
33994- 12: "user defined signal 2",
33995- 13: "broken pipe",
33996- 14: "alarm clock",
33997- 15: "terminated",
33998- 16: "stack fault",
33999- 17: "child exited",
34000- 18: "continued",
34001- 19: "stopped (signal)",
34002- 20: "stopped",
34003- 21: "stopped (tty input)",
34004- 22: "stopped (tty output)",
34005- 23: "urgent I/O condition",
34006- 24: "CPU time limit exceeded",
34007- 25: "file size limit exceeded",
34008- 26: "virtual timer expired",
34009- 27: "profiling timer expired",
34010- 28: "window changed",
34011- 29: "I/O possible",
34012- 30: "power failure",
34013- 31: "bad system call",
34014+var signalList = [...]struct {
34015+ num syscall.Signal
34016+ name string
34017+ desc string
34018+}{
34019+ {1, "SIGHUP", "hangup"},
34020+ {2, "SIGINT", "interrupt"},
34021+ {3, "SIGQUIT", "quit"},
34022+ {4, "SIGILL", "illegal instruction"},
34023+ {5, "SIGTRAP", "trace/breakpoint trap"},
34024+ {6, "SIGABRT", "aborted"},
34025+ {7, "SIGBUS", "bus error"},
34026+ {8, "SIGFPE", "floating point exception"},
34027+ {9, "SIGKILL", "killed"},
34028+ {10, "SIGUSR1", "user defined signal 1"},
34029+ {11, "SIGSEGV", "segmentation fault"},
34030+ {12, "SIGUSR2", "user defined signal 2"},
34031+ {13, "SIGPIPE", "broken pipe"},
34032+ {14, "SIGALRM", "alarm clock"},
34033+ {15, "SIGTERM", "terminated"},
34034+ {16, "SIGSTKFLT", "stack fault"},
34035+ {17, "SIGCHLD", "child exited"},
34036+ {18, "SIGCONT", "continued"},
34037+ {19, "SIGSTOP", "stopped (signal)"},
34038+ {20, "SIGTSTP", "stopped"},
34039+ {21, "SIGTTIN", "stopped (tty input)"},
34040+ {22, "SIGTTOU", "stopped (tty output)"},
34041+ {23, "SIGURG", "urgent I/O condition"},
34042+ {24, "SIGXCPU", "CPU time limit exceeded"},
34043+ {25, "SIGXFSZ", "file size limit exceeded"},
34044+ {26, "SIGVTALRM", "virtual timer expired"},
34045+ {27, "SIGPROF", "profiling timer expired"},
34046+ {28, "SIGWINCH", "window changed"},
34047+ {29, "SIGIO", "I/O possible"},
34048+ {30, "SIGPWR", "power failure"},
34049+ {31, "SIGSYS", "bad system call"},
34050 }
34051diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go
34052index c0ecd47c..9ee8d1bc 100644
34053--- a/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go
34054+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go
34055@@ -3,7 +3,7 @@
34056
34057 // +build arm64,linux
34058
34059-// Created by cgo -godefs - DO NOT EDIT
34060+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
34061 // cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char _const.go
34062
34063 package unix
34064@@ -11,1858 +11,480 @@ package unix
34065 import "syscall"
34066
34067 const (
34068- AF_ALG = 0x26
34069- AF_APPLETALK = 0x5
34070- AF_ASH = 0x12
34071- AF_ATMPVC = 0x8
34072- AF_ATMSVC = 0x14
34073- AF_AX25 = 0x3
34074- AF_BLUETOOTH = 0x1f
34075- AF_BRIDGE = 0x7
34076- AF_CAIF = 0x25
34077- AF_CAN = 0x1d
34078- AF_DECnet = 0xc
34079- AF_ECONET = 0x13
34080- AF_FILE = 0x1
34081- AF_IB = 0x1b
34082- AF_IEEE802154 = 0x24
34083- AF_INET = 0x2
34084- AF_INET6 = 0xa
34085- AF_IPX = 0x4
34086- AF_IRDA = 0x17
34087- AF_ISDN = 0x22
34088- AF_IUCV = 0x20
34089- AF_KCM = 0x29
34090- AF_KEY = 0xf
34091- AF_LLC = 0x1a
34092- AF_LOCAL = 0x1
34093- AF_MAX = 0x2b
34094- AF_MPLS = 0x1c
34095- AF_NETBEUI = 0xd
34096- AF_NETLINK = 0x10
34097- AF_NETROM = 0x6
34098- AF_NFC = 0x27
34099- AF_PACKET = 0x11
34100- AF_PHONET = 0x23
34101- AF_PPPOX = 0x18
34102- AF_QIPCRTR = 0x2a
34103- AF_RDS = 0x15
34104- AF_ROSE = 0xb
34105- AF_ROUTE = 0x10
34106- AF_RXRPC = 0x21
34107- AF_SECURITY = 0xe
34108- AF_SNA = 0x16
34109- AF_TIPC = 0x1e
34110- AF_UNIX = 0x1
34111- AF_UNSPEC = 0x0
34112- AF_VSOCK = 0x28
34113- AF_WANPIPE = 0x19
34114- AF_X25 = 0x9
34115- ALG_OP_DECRYPT = 0x0
34116- ALG_OP_ENCRYPT = 0x1
34117- ALG_SET_AEAD_ASSOCLEN = 0x4
34118- ALG_SET_AEAD_AUTHSIZE = 0x5
34119- ALG_SET_IV = 0x2
34120- ALG_SET_KEY = 0x1
34121- ALG_SET_OP = 0x3
34122- ARPHRD_6LOWPAN = 0x339
34123- ARPHRD_ADAPT = 0x108
34124- ARPHRD_APPLETLK = 0x8
34125- ARPHRD_ARCNET = 0x7
34126- ARPHRD_ASH = 0x30d
34127- ARPHRD_ATM = 0x13
34128- ARPHRD_AX25 = 0x3
34129- ARPHRD_BIF = 0x307
34130- ARPHRD_CAIF = 0x336
34131- ARPHRD_CAN = 0x118
34132- ARPHRD_CHAOS = 0x5
34133- ARPHRD_CISCO = 0x201
34134- ARPHRD_CSLIP = 0x101
34135- ARPHRD_CSLIP6 = 0x103
34136- ARPHRD_DDCMP = 0x205
34137- ARPHRD_DLCI = 0xf
34138- ARPHRD_ECONET = 0x30e
34139- ARPHRD_EETHER = 0x2
34140- ARPHRD_ETHER = 0x1
34141- ARPHRD_EUI64 = 0x1b
34142- ARPHRD_FCAL = 0x311
34143- ARPHRD_FCFABRIC = 0x313
34144- ARPHRD_FCPL = 0x312
34145- ARPHRD_FCPP = 0x310
34146- ARPHRD_FDDI = 0x306
34147- ARPHRD_FRAD = 0x302
34148- ARPHRD_HDLC = 0x201
34149- ARPHRD_HIPPI = 0x30c
34150- ARPHRD_HWX25 = 0x110
34151- ARPHRD_IEEE1394 = 0x18
34152- ARPHRD_IEEE802 = 0x6
34153- ARPHRD_IEEE80211 = 0x321
34154- ARPHRD_IEEE80211_PRISM = 0x322
34155- ARPHRD_IEEE80211_RADIOTAP = 0x323
34156- ARPHRD_IEEE802154 = 0x324
34157- ARPHRD_IEEE802154_MONITOR = 0x325
34158- ARPHRD_IEEE802_TR = 0x320
34159- ARPHRD_INFINIBAND = 0x20
34160- ARPHRD_IP6GRE = 0x337
34161- ARPHRD_IPDDP = 0x309
34162- ARPHRD_IPGRE = 0x30a
34163- ARPHRD_IRDA = 0x30f
34164- ARPHRD_LAPB = 0x204
34165- ARPHRD_LOCALTLK = 0x305
34166- ARPHRD_LOOPBACK = 0x304
34167- ARPHRD_METRICOM = 0x17
34168- ARPHRD_NETLINK = 0x338
34169- ARPHRD_NETROM = 0x0
34170- ARPHRD_NONE = 0xfffe
34171- ARPHRD_PHONET = 0x334
34172- ARPHRD_PHONET_PIPE = 0x335
34173- ARPHRD_PIMREG = 0x30b
34174- ARPHRD_PPP = 0x200
34175- ARPHRD_PRONET = 0x4
34176- ARPHRD_RAWHDLC = 0x206
34177- ARPHRD_ROSE = 0x10e
34178- ARPHRD_RSRVD = 0x104
34179- ARPHRD_SIT = 0x308
34180- ARPHRD_SKIP = 0x303
34181- ARPHRD_SLIP = 0x100
34182- ARPHRD_SLIP6 = 0x102
34183- ARPHRD_TUNNEL = 0x300
34184- ARPHRD_TUNNEL6 = 0x301
34185- ARPHRD_VOID = 0xffff
34186- ARPHRD_X25 = 0x10f
34187- B0 = 0x0
34188- B1000000 = 0x1008
34189- B110 = 0x3
34190- B115200 = 0x1002
34191- B1152000 = 0x1009
34192- B1200 = 0x9
34193- B134 = 0x4
34194- B150 = 0x5
34195- B1500000 = 0x100a
34196- B1800 = 0xa
34197- B19200 = 0xe
34198- B200 = 0x6
34199- B2000000 = 0x100b
34200- B230400 = 0x1003
34201- B2400 = 0xb
34202- B2500000 = 0x100c
34203- B300 = 0x7
34204- B3000000 = 0x100d
34205- B3500000 = 0x100e
34206- B38400 = 0xf
34207- B4000000 = 0x100f
34208- B460800 = 0x1004
34209- B4800 = 0xc
34210- B50 = 0x1
34211- B500000 = 0x1005
34212- B57600 = 0x1001
34213- B576000 = 0x1006
34214- B600 = 0x8
34215- B75 = 0x2
34216- B921600 = 0x1007
34217- B9600 = 0xd
34218- BLKBSZGET = 0x80081270
34219- BLKBSZSET = 0x40081271
34220- BLKFLSBUF = 0x1261
34221- BLKFRAGET = 0x1265
34222- BLKFRASET = 0x1264
34223- BLKGETSIZE = 0x1260
34224- BLKGETSIZE64 = 0x80081272
34225- BLKPBSZGET = 0x127b
34226- BLKRAGET = 0x1263
34227- BLKRASET = 0x1262
34228- BLKROGET = 0x125e
34229- BLKROSET = 0x125d
34230- BLKRRPART = 0x125f
34231- BLKSECTGET = 0x1267
34232- BLKSECTSET = 0x1266
34233- BLKSSZGET = 0x1268
34234- BOTHER = 0x1000
34235- BPF_A = 0x10
34236- BPF_ABS = 0x20
34237- BPF_ADD = 0x0
34238- BPF_ALU = 0x4
34239- BPF_AND = 0x50
34240- BPF_B = 0x10
34241- BPF_DIV = 0x30
34242- BPF_H = 0x8
34243- BPF_IMM = 0x0
34244- BPF_IND = 0x40
34245- BPF_JA = 0x0
34246- BPF_JEQ = 0x10
34247- BPF_JGE = 0x30
34248- BPF_JGT = 0x20
34249- BPF_JMP = 0x5
34250- BPF_JSET = 0x40
34251- BPF_K = 0x0
34252- BPF_LD = 0x0
34253- BPF_LDX = 0x1
34254- BPF_LEN = 0x80
34255- BPF_LL_OFF = -0x200000
34256- BPF_LSH = 0x60
34257- BPF_MAJOR_VERSION = 0x1
34258- BPF_MAXINSNS = 0x1000
34259- BPF_MEM = 0x60
34260- BPF_MEMWORDS = 0x10
34261- BPF_MINOR_VERSION = 0x1
34262- BPF_MISC = 0x7
34263- BPF_MOD = 0x90
34264- BPF_MSH = 0xa0
34265- BPF_MUL = 0x20
34266- BPF_NEG = 0x80
34267- BPF_NET_OFF = -0x100000
34268- BPF_OR = 0x40
34269- BPF_RET = 0x6
34270- BPF_RSH = 0x70
34271- BPF_ST = 0x2
34272- BPF_STX = 0x3
34273- BPF_SUB = 0x10
34274- BPF_TAX = 0x0
34275- BPF_TXA = 0x80
34276- BPF_W = 0x0
34277- BPF_X = 0x8
34278- BPF_XOR = 0xa0
34279- BRKINT = 0x2
34280- BS0 = 0x0
34281- BS1 = 0x2000
34282- BSDLY = 0x2000
34283- CAN_BCM = 0x2
34284- CAN_EFF_FLAG = 0x80000000
34285- CAN_EFF_ID_BITS = 0x1d
34286- CAN_EFF_MASK = 0x1fffffff
34287- CAN_ERR_FLAG = 0x20000000
34288- CAN_ERR_MASK = 0x1fffffff
34289- CAN_INV_FILTER = 0x20000000
34290- CAN_ISOTP = 0x6
34291- CAN_MAX_DLC = 0x8
34292- CAN_MAX_DLEN = 0x8
34293- CAN_MCNET = 0x5
34294- CAN_MTU = 0x10
34295- CAN_NPROTO = 0x7
34296- CAN_RAW = 0x1
34297- CAN_RAW_FILTER_MAX = 0x200
34298- CAN_RTR_FLAG = 0x40000000
34299- CAN_SFF_ID_BITS = 0xb
34300- CAN_SFF_MASK = 0x7ff
34301- CAN_TP16 = 0x3
34302- CAN_TP20 = 0x4
34303- CBAUD = 0x100f
34304- CBAUDEX = 0x1000
34305- CFLUSH = 0xf
34306- CIBAUD = 0x100f0000
34307- CLOCAL = 0x800
34308- CLOCK_BOOTTIME = 0x7
34309- CLOCK_BOOTTIME_ALARM = 0x9
34310- CLOCK_DEFAULT = 0x0
34311- CLOCK_EXT = 0x1
34312- CLOCK_INT = 0x2
34313- CLOCK_MONOTONIC = 0x1
34314- CLOCK_MONOTONIC_COARSE = 0x6
34315- CLOCK_MONOTONIC_RAW = 0x4
34316- CLOCK_PROCESS_CPUTIME_ID = 0x2
34317- CLOCK_REALTIME = 0x0
34318- CLOCK_REALTIME_ALARM = 0x8
34319- CLOCK_REALTIME_COARSE = 0x5
34320- CLOCK_TAI = 0xb
34321- CLOCK_THREAD_CPUTIME_ID = 0x3
34322- CLOCK_TXFROMRX = 0x4
34323- CLOCK_TXINT = 0x3
34324- CLONE_CHILD_CLEARTID = 0x200000
34325- CLONE_CHILD_SETTID = 0x1000000
34326- CLONE_DETACHED = 0x400000
34327- CLONE_FILES = 0x400
34328- CLONE_FS = 0x200
34329- CLONE_IO = 0x80000000
34330- CLONE_NEWCGROUP = 0x2000000
34331- CLONE_NEWIPC = 0x8000000
34332- CLONE_NEWNET = 0x40000000
34333- CLONE_NEWNS = 0x20000
34334- CLONE_NEWPID = 0x20000000
34335- CLONE_NEWUSER = 0x10000000
34336- CLONE_NEWUTS = 0x4000000
34337- CLONE_PARENT = 0x8000
34338- CLONE_PARENT_SETTID = 0x100000
34339- CLONE_PTRACE = 0x2000
34340- CLONE_SETTLS = 0x80000
34341- CLONE_SIGHAND = 0x800
34342- CLONE_SYSVSEM = 0x40000
34343- CLONE_THREAD = 0x10000
34344- CLONE_UNTRACED = 0x800000
34345- CLONE_VFORK = 0x4000
34346- CLONE_VM = 0x100
34347- CMSPAR = 0x40000000
34348- CR0 = 0x0
34349- CR1 = 0x200
34350- CR2 = 0x400
34351- CR3 = 0x600
34352- CRDLY = 0x600
34353- CREAD = 0x80
34354- CRTSCTS = 0x80000000
34355- CS5 = 0x0
34356- CS6 = 0x10
34357- CS7 = 0x20
34358- CS8 = 0x30
34359- CSIGNAL = 0xff
34360- CSIZE = 0x30
34361- CSTART = 0x11
34362- CSTATUS = 0x0
34363- CSTOP = 0x13
34364- CSTOPB = 0x40
34365- CSUSP = 0x1a
34366- DT_BLK = 0x6
34367- DT_CHR = 0x2
34368- DT_DIR = 0x4
34369- DT_FIFO = 0x1
34370- DT_LNK = 0xa
34371- DT_REG = 0x8
34372- DT_SOCK = 0xc
34373- DT_UNKNOWN = 0x0
34374- DT_WHT = 0xe
34375- ECHO = 0x8
34376- ECHOCTL = 0x200
34377- ECHOE = 0x10
34378- ECHOK = 0x20
34379- ECHOKE = 0x800
34380- ECHONL = 0x40
34381- ECHOPRT = 0x400
34382- EFD_CLOEXEC = 0x80000
34383- EFD_NONBLOCK = 0x800
34384- EFD_SEMAPHORE = 0x1
34385- ENCODING_DEFAULT = 0x0
34386- ENCODING_FM_MARK = 0x3
34387- ENCODING_FM_SPACE = 0x4
34388- ENCODING_MANCHESTER = 0x5
34389- ENCODING_NRZ = 0x1
34390- ENCODING_NRZI = 0x2
34391- EPOLLERR = 0x8
34392- EPOLLET = 0x80000000
34393- EPOLLEXCLUSIVE = 0x10000000
34394- EPOLLHUP = 0x10
34395- EPOLLIN = 0x1
34396- EPOLLMSG = 0x400
34397- EPOLLONESHOT = 0x40000000
34398- EPOLLOUT = 0x4
34399- EPOLLPRI = 0x2
34400- EPOLLRDBAND = 0x80
34401- EPOLLRDHUP = 0x2000
34402- EPOLLRDNORM = 0x40
34403- EPOLLWAKEUP = 0x20000000
34404- EPOLLWRBAND = 0x200
34405- EPOLLWRNORM = 0x100
34406- EPOLL_CLOEXEC = 0x80000
34407- EPOLL_CTL_ADD = 0x1
34408- EPOLL_CTL_DEL = 0x2
34409- EPOLL_CTL_MOD = 0x3
34410- ESR_MAGIC = 0x45535201
34411- ETH_P_1588 = 0x88f7
34412- ETH_P_8021AD = 0x88a8
34413- ETH_P_8021AH = 0x88e7
34414- ETH_P_8021Q = 0x8100
34415- ETH_P_80221 = 0x8917
34416- ETH_P_802_2 = 0x4
34417- ETH_P_802_3 = 0x1
34418- ETH_P_802_3_MIN = 0x600
34419- ETH_P_802_EX1 = 0x88b5
34420- ETH_P_AARP = 0x80f3
34421- ETH_P_AF_IUCV = 0xfbfb
34422- ETH_P_ALL = 0x3
34423- ETH_P_AOE = 0x88a2
34424- ETH_P_ARCNET = 0x1a
34425- ETH_P_ARP = 0x806
34426- ETH_P_ATALK = 0x809b
34427- ETH_P_ATMFATE = 0x8884
34428- ETH_P_ATMMPOA = 0x884c
34429- ETH_P_AX25 = 0x2
34430- ETH_P_BATMAN = 0x4305
34431- ETH_P_BPQ = 0x8ff
34432- ETH_P_CAIF = 0xf7
34433- ETH_P_CAN = 0xc
34434- ETH_P_CANFD = 0xd
34435- ETH_P_CONTROL = 0x16
34436- ETH_P_CUST = 0x6006
34437- ETH_P_DDCMP = 0x6
34438- ETH_P_DEC = 0x6000
34439- ETH_P_DIAG = 0x6005
34440- ETH_P_DNA_DL = 0x6001
34441- ETH_P_DNA_RC = 0x6002
34442- ETH_P_DNA_RT = 0x6003
34443- ETH_P_DSA = 0x1b
34444- ETH_P_ECONET = 0x18
34445- ETH_P_EDSA = 0xdada
34446- ETH_P_FCOE = 0x8906
34447- ETH_P_FIP = 0x8914
34448- ETH_P_HDLC = 0x19
34449- ETH_P_HSR = 0x892f
34450- ETH_P_IEEE802154 = 0xf6
34451- ETH_P_IEEEPUP = 0xa00
34452- ETH_P_IEEEPUPAT = 0xa01
34453- ETH_P_IP = 0x800
34454- ETH_P_IPV6 = 0x86dd
34455- ETH_P_IPX = 0x8137
34456- ETH_P_IRDA = 0x17
34457- ETH_P_LAT = 0x6004
34458- ETH_P_LINK_CTL = 0x886c
34459- ETH_P_LOCALTALK = 0x9
34460- ETH_P_LOOP = 0x60
34461- ETH_P_LOOPBACK = 0x9000
34462- ETH_P_MACSEC = 0x88e5
34463- ETH_P_MOBITEX = 0x15
34464- ETH_P_MPLS_MC = 0x8848
34465- ETH_P_MPLS_UC = 0x8847
34466- ETH_P_MVRP = 0x88f5
34467- ETH_P_NCSI = 0x88f8
34468- ETH_P_PAE = 0x888e
34469- ETH_P_PAUSE = 0x8808
34470- ETH_P_PHONET = 0xf5
34471- ETH_P_PPPTALK = 0x10
34472- ETH_P_PPP_DISC = 0x8863
34473- ETH_P_PPP_MP = 0x8
34474- ETH_P_PPP_SES = 0x8864
34475- ETH_P_PRP = 0x88fb
34476- ETH_P_PUP = 0x200
34477- ETH_P_PUPAT = 0x201
34478- ETH_P_QINQ1 = 0x9100
34479- ETH_P_QINQ2 = 0x9200
34480- ETH_P_QINQ3 = 0x9300
34481- ETH_P_RARP = 0x8035
34482- ETH_P_SCA = 0x6007
34483- ETH_P_SLOW = 0x8809
34484- ETH_P_SNAP = 0x5
34485- ETH_P_TDLS = 0x890d
34486- ETH_P_TEB = 0x6558
34487- ETH_P_TIPC = 0x88ca
34488- ETH_P_TRAILER = 0x1c
34489- ETH_P_TR_802_2 = 0x11
34490- ETH_P_TSN = 0x22f0
34491- ETH_P_WAN_PPP = 0x7
34492- ETH_P_WCCP = 0x883e
34493- ETH_P_X25 = 0x805
34494- ETH_P_XDSA = 0xf8
34495- EXTA = 0xe
34496- EXTB = 0xf
34497- EXTPROC = 0x10000
34498- FALLOC_FL_COLLAPSE_RANGE = 0x8
34499- FALLOC_FL_INSERT_RANGE = 0x20
34500- FALLOC_FL_KEEP_SIZE = 0x1
34501- FALLOC_FL_NO_HIDE_STALE = 0x4
34502- FALLOC_FL_PUNCH_HOLE = 0x2
34503- FALLOC_FL_UNSHARE_RANGE = 0x40
34504- FALLOC_FL_ZERO_RANGE = 0x10
34505- FD_CLOEXEC = 0x1
34506- FD_SETSIZE = 0x400
34507- FF0 = 0x0
34508- FF1 = 0x8000
34509- FFDLY = 0x8000
34510- FLUSHO = 0x1000
34511- FS_ENCRYPTION_MODE_AES_256_CBC = 0x3
34512- FS_ENCRYPTION_MODE_AES_256_CTS = 0x4
34513- FS_ENCRYPTION_MODE_AES_256_GCM = 0x2
34514- FS_ENCRYPTION_MODE_AES_256_XTS = 0x1
34515- FS_ENCRYPTION_MODE_INVALID = 0x0
34516- FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615
34517- FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614
34518- FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613
34519- FS_KEY_DESCRIPTOR_SIZE = 0x8
34520- FS_KEY_DESC_PREFIX = "fscrypt:"
34521- FS_KEY_DESC_PREFIX_SIZE = 0x8
34522- FS_MAX_KEY_SIZE = 0x40
34523- FS_POLICY_FLAGS_PAD_16 = 0x2
34524- FS_POLICY_FLAGS_PAD_32 = 0x3
34525- FS_POLICY_FLAGS_PAD_4 = 0x0
34526- FS_POLICY_FLAGS_PAD_8 = 0x1
34527- FS_POLICY_FLAGS_PAD_MASK = 0x3
34528- FS_POLICY_FLAGS_VALID = 0x3
34529- F_DUPFD = 0x0
34530- F_DUPFD_CLOEXEC = 0x406
34531- F_EXLCK = 0x4
34532- F_GETFD = 0x1
34533- F_GETFL = 0x3
34534- F_GETLEASE = 0x401
34535- F_GETLK = 0x5
34536- F_GETLK64 = 0x5
34537- F_GETOWN = 0x9
34538- F_GETOWN_EX = 0x10
34539- F_GETPIPE_SZ = 0x408
34540- F_GETSIG = 0xb
34541- F_LOCK = 0x1
34542- F_NOTIFY = 0x402
34543- F_OFD_GETLK = 0x24
34544- F_OFD_SETLK = 0x25
34545- F_OFD_SETLKW = 0x26
34546- F_OK = 0x0
34547- F_RDLCK = 0x0
34548- F_SETFD = 0x2
34549- F_SETFL = 0x4
34550- F_SETLEASE = 0x400
34551- F_SETLK = 0x6
34552- F_SETLK64 = 0x6
34553- F_SETLKW = 0x7
34554- F_SETLKW64 = 0x7
34555- F_SETOWN = 0x8
34556- F_SETOWN_EX = 0xf
34557- F_SETPIPE_SZ = 0x407
34558- F_SETSIG = 0xa
34559- F_SHLCK = 0x8
34560- F_TEST = 0x3
34561- F_TLOCK = 0x2
34562- F_ULOCK = 0x0
34563- F_UNLCK = 0x2
34564- F_WRLCK = 0x1
34565- GENL_ADMIN_PERM = 0x1
34566- GENL_CMD_CAP_DO = 0x2
34567- GENL_CMD_CAP_DUMP = 0x4
34568- GENL_CMD_CAP_HASPOL = 0x8
34569- GENL_HDRLEN = 0x4
34570- GENL_ID_CTRL = 0x10
34571- GENL_ID_PMCRAID = 0x12
34572- GENL_ID_VFS_DQUOT = 0x11
34573- GENL_MAX_ID = 0x3ff
34574- GENL_MIN_ID = 0x10
34575- GENL_NAMSIZ = 0x10
34576- GENL_START_ALLOC = 0x13
34577- GENL_UNS_ADMIN_PERM = 0x10
34578- GRND_NONBLOCK = 0x1
34579- GRND_RANDOM = 0x2
34580- HUPCL = 0x400
34581- IBSHIFT = 0x10
34582- ICANON = 0x2
34583- ICMPV6_FILTER = 0x1
34584- ICRNL = 0x100
34585- IEXTEN = 0x8000
34586- IFA_F_DADFAILED = 0x8
34587- IFA_F_DEPRECATED = 0x20
34588- IFA_F_HOMEADDRESS = 0x10
34589- IFA_F_MANAGETEMPADDR = 0x100
34590- IFA_F_MCAUTOJOIN = 0x400
34591- IFA_F_NODAD = 0x2
34592- IFA_F_NOPREFIXROUTE = 0x200
34593- IFA_F_OPTIMISTIC = 0x4
34594- IFA_F_PERMANENT = 0x80
34595- IFA_F_SECONDARY = 0x1
34596- IFA_F_STABLE_PRIVACY = 0x800
34597- IFA_F_TEMPORARY = 0x1
34598- IFA_F_TENTATIVE = 0x40
34599- IFA_MAX = 0x8
34600- IFF_ALLMULTI = 0x200
34601- IFF_ATTACH_QUEUE = 0x200
34602- IFF_AUTOMEDIA = 0x4000
34603- IFF_BROADCAST = 0x2
34604- IFF_DEBUG = 0x4
34605- IFF_DETACH_QUEUE = 0x400
34606- IFF_DORMANT = 0x20000
34607- IFF_DYNAMIC = 0x8000
34608- IFF_ECHO = 0x40000
34609- IFF_LOOPBACK = 0x8
34610- IFF_LOWER_UP = 0x10000
34611- IFF_MASTER = 0x400
34612- IFF_MULTICAST = 0x1000
34613- IFF_MULTI_QUEUE = 0x100
34614- IFF_NOARP = 0x80
34615- IFF_NOFILTER = 0x1000
34616- IFF_NOTRAILERS = 0x20
34617- IFF_NO_PI = 0x1000
34618- IFF_ONE_QUEUE = 0x2000
34619- IFF_PERSIST = 0x800
34620- IFF_POINTOPOINT = 0x10
34621- IFF_PORTSEL = 0x2000
34622- IFF_PROMISC = 0x100
34623- IFF_RUNNING = 0x40
34624- IFF_SLAVE = 0x800
34625- IFF_TAP = 0x2
34626- IFF_TUN = 0x1
34627- IFF_TUN_EXCL = 0x8000
34628- IFF_UP = 0x1
34629- IFF_VNET_HDR = 0x4000
34630- IFF_VOLATILE = 0x70c5a
34631- IFNAMSIZ = 0x10
34632- IGNBRK = 0x1
34633- IGNCR = 0x80
34634- IGNPAR = 0x4
34635- IMAXBEL = 0x2000
34636- INLCR = 0x40
34637- INPCK = 0x10
34638- IN_ACCESS = 0x1
34639- IN_ALL_EVENTS = 0xfff
34640- IN_ATTRIB = 0x4
34641- IN_CLASSA_HOST = 0xffffff
34642- IN_CLASSA_MAX = 0x80
34643- IN_CLASSA_NET = 0xff000000
34644- IN_CLASSA_NSHIFT = 0x18
34645- IN_CLASSB_HOST = 0xffff
34646- IN_CLASSB_MAX = 0x10000
34647- IN_CLASSB_NET = 0xffff0000
34648- IN_CLASSB_NSHIFT = 0x10
34649- IN_CLASSC_HOST = 0xff
34650- IN_CLASSC_NET = 0xffffff00
34651- IN_CLASSC_NSHIFT = 0x8
34652- IN_CLOEXEC = 0x80000
34653- IN_CLOSE = 0x18
34654- IN_CLOSE_NOWRITE = 0x10
34655- IN_CLOSE_WRITE = 0x8
34656- IN_CREATE = 0x100
34657- IN_DELETE = 0x200
34658- IN_DELETE_SELF = 0x400
34659- IN_DONT_FOLLOW = 0x2000000
34660- IN_EXCL_UNLINK = 0x4000000
34661- IN_IGNORED = 0x8000
34662- IN_ISDIR = 0x40000000
34663- IN_LOOPBACKNET = 0x7f
34664- IN_MASK_ADD = 0x20000000
34665- IN_MODIFY = 0x2
34666- IN_MOVE = 0xc0
34667- IN_MOVED_FROM = 0x40
34668- IN_MOVED_TO = 0x80
34669- IN_MOVE_SELF = 0x800
34670- IN_NONBLOCK = 0x800
34671- IN_ONESHOT = 0x80000000
34672- IN_ONLYDIR = 0x1000000
34673- IN_OPEN = 0x20
34674- IN_Q_OVERFLOW = 0x4000
34675- IN_UNMOUNT = 0x2000
34676- IPPROTO_AH = 0x33
34677- IPPROTO_BEETPH = 0x5e
34678- IPPROTO_COMP = 0x6c
34679- IPPROTO_DCCP = 0x21
34680- IPPROTO_DSTOPTS = 0x3c
34681- IPPROTO_EGP = 0x8
34682- IPPROTO_ENCAP = 0x62
34683- IPPROTO_ESP = 0x32
34684- IPPROTO_FRAGMENT = 0x2c
34685- IPPROTO_GRE = 0x2f
34686- IPPROTO_HOPOPTS = 0x0
34687- IPPROTO_ICMP = 0x1
34688- IPPROTO_ICMPV6 = 0x3a
34689- IPPROTO_IDP = 0x16
34690- IPPROTO_IGMP = 0x2
34691- IPPROTO_IP = 0x0
34692- IPPROTO_IPIP = 0x4
34693- IPPROTO_IPV6 = 0x29
34694- IPPROTO_MH = 0x87
34695- IPPROTO_MPLS = 0x89
34696- IPPROTO_MTP = 0x5c
34697- IPPROTO_NONE = 0x3b
34698- IPPROTO_PIM = 0x67
34699- IPPROTO_PUP = 0xc
34700- IPPROTO_RAW = 0xff
34701- IPPROTO_ROUTING = 0x2b
34702- IPPROTO_RSVP = 0x2e
34703- IPPROTO_SCTP = 0x84
34704- IPPROTO_TCP = 0x6
34705- IPPROTO_TP = 0x1d
34706- IPPROTO_UDP = 0x11
34707- IPPROTO_UDPLITE = 0x88
34708- IPV6_2292DSTOPTS = 0x4
34709- IPV6_2292HOPLIMIT = 0x8
34710- IPV6_2292HOPOPTS = 0x3
34711- IPV6_2292PKTINFO = 0x2
34712- IPV6_2292PKTOPTIONS = 0x6
34713- IPV6_2292RTHDR = 0x5
34714- IPV6_ADDRFORM = 0x1
34715- IPV6_ADD_MEMBERSHIP = 0x14
34716- IPV6_AUTHHDR = 0xa
34717- IPV6_CHECKSUM = 0x7
34718- IPV6_DONTFRAG = 0x3e
34719- IPV6_DROP_MEMBERSHIP = 0x15
34720- IPV6_DSTOPTS = 0x3b
34721- IPV6_HDRINCL = 0x24
34722- IPV6_HOPLIMIT = 0x34
34723- IPV6_HOPOPTS = 0x36
34724- IPV6_IPSEC_POLICY = 0x22
34725- IPV6_JOIN_ANYCAST = 0x1b
34726- IPV6_JOIN_GROUP = 0x14
34727- IPV6_LEAVE_ANYCAST = 0x1c
34728- IPV6_LEAVE_GROUP = 0x15
34729- IPV6_MTU = 0x18
34730- IPV6_MTU_DISCOVER = 0x17
34731- IPV6_MULTICAST_HOPS = 0x12
34732- IPV6_MULTICAST_IF = 0x11
34733- IPV6_MULTICAST_LOOP = 0x13
34734- IPV6_NEXTHOP = 0x9
34735- IPV6_PATHMTU = 0x3d
34736- IPV6_PKTINFO = 0x32
34737- IPV6_PMTUDISC_DO = 0x2
34738- IPV6_PMTUDISC_DONT = 0x0
34739- IPV6_PMTUDISC_INTERFACE = 0x4
34740- IPV6_PMTUDISC_OMIT = 0x5
34741- IPV6_PMTUDISC_PROBE = 0x3
34742- IPV6_PMTUDISC_WANT = 0x1
34743- IPV6_RECVDSTOPTS = 0x3a
34744- IPV6_RECVERR = 0x19
34745- IPV6_RECVHOPLIMIT = 0x33
34746- IPV6_RECVHOPOPTS = 0x35
34747- IPV6_RECVPATHMTU = 0x3c
34748- IPV6_RECVPKTINFO = 0x31
34749- IPV6_RECVRTHDR = 0x38
34750- IPV6_RECVTCLASS = 0x42
34751- IPV6_ROUTER_ALERT = 0x16
34752- IPV6_RTHDR = 0x39
34753- IPV6_RTHDRDSTOPTS = 0x37
34754- IPV6_RTHDR_LOOSE = 0x0
34755- IPV6_RTHDR_STRICT = 0x1
34756- IPV6_RTHDR_TYPE_0 = 0x0
34757- IPV6_RXDSTOPTS = 0x3b
34758- IPV6_RXHOPOPTS = 0x36
34759- IPV6_TCLASS = 0x43
34760- IPV6_UNICAST_HOPS = 0x10
34761- IPV6_V6ONLY = 0x1a
34762- IPV6_XFRM_POLICY = 0x23
34763- IP_ADD_MEMBERSHIP = 0x23
34764- IP_ADD_SOURCE_MEMBERSHIP = 0x27
34765- IP_BIND_ADDRESS_NO_PORT = 0x18
34766- IP_BLOCK_SOURCE = 0x26
34767- IP_CHECKSUM = 0x17
34768- IP_DEFAULT_MULTICAST_LOOP = 0x1
34769- IP_DEFAULT_MULTICAST_TTL = 0x1
34770- IP_DF = 0x4000
34771- IP_DROP_MEMBERSHIP = 0x24
34772- IP_DROP_SOURCE_MEMBERSHIP = 0x28
34773- IP_FREEBIND = 0xf
34774- IP_HDRINCL = 0x3
34775- IP_IPSEC_POLICY = 0x10
34776- IP_MAXPACKET = 0xffff
34777- IP_MAX_MEMBERSHIPS = 0x14
34778- IP_MF = 0x2000
34779- IP_MINTTL = 0x15
34780- IP_MSFILTER = 0x29
34781- IP_MSS = 0x240
34782- IP_MTU = 0xe
34783- IP_MTU_DISCOVER = 0xa
34784- IP_MULTICAST_ALL = 0x31
34785- IP_MULTICAST_IF = 0x20
34786- IP_MULTICAST_LOOP = 0x22
34787- IP_MULTICAST_TTL = 0x21
34788- IP_NODEFRAG = 0x16
34789- IP_OFFMASK = 0x1fff
34790- IP_OPTIONS = 0x4
34791- IP_ORIGDSTADDR = 0x14
34792- IP_PASSSEC = 0x12
34793- IP_PKTINFO = 0x8
34794- IP_PKTOPTIONS = 0x9
34795- IP_PMTUDISC = 0xa
34796- IP_PMTUDISC_DO = 0x2
34797- IP_PMTUDISC_DONT = 0x0
34798- IP_PMTUDISC_INTERFACE = 0x4
34799- IP_PMTUDISC_OMIT = 0x5
34800- IP_PMTUDISC_PROBE = 0x3
34801- IP_PMTUDISC_WANT = 0x1
34802- IP_RECVERR = 0xb
34803- IP_RECVOPTS = 0x6
34804- IP_RECVORIGDSTADDR = 0x14
34805- IP_RECVRETOPTS = 0x7
34806- IP_RECVTOS = 0xd
34807- IP_RECVTTL = 0xc
34808- IP_RETOPTS = 0x7
34809- IP_RF = 0x8000
34810- IP_ROUTER_ALERT = 0x5
34811- IP_TOS = 0x1
34812- IP_TRANSPARENT = 0x13
34813- IP_TTL = 0x2
34814- IP_UNBLOCK_SOURCE = 0x25
34815- IP_UNICAST_IF = 0x32
34816- IP_XFRM_POLICY = 0x11
34817- ISIG = 0x1
34818- ISTRIP = 0x20
34819- IUCLC = 0x200
34820- IUTF8 = 0x4000
34821- IXANY = 0x800
34822- IXOFF = 0x1000
34823- IXON = 0x400
34824- KEYCTL_ASSUME_AUTHORITY = 0x10
34825- KEYCTL_CHOWN = 0x4
34826- KEYCTL_CLEAR = 0x7
34827- KEYCTL_DESCRIBE = 0x6
34828- KEYCTL_DH_COMPUTE = 0x17
34829- KEYCTL_GET_KEYRING_ID = 0x0
34830- KEYCTL_GET_PERSISTENT = 0x16
34831- KEYCTL_GET_SECURITY = 0x11
34832- KEYCTL_INSTANTIATE = 0xc
34833- KEYCTL_INSTANTIATE_IOV = 0x14
34834- KEYCTL_INVALIDATE = 0x15
34835- KEYCTL_JOIN_SESSION_KEYRING = 0x1
34836- KEYCTL_LINK = 0x8
34837- KEYCTL_NEGATE = 0xd
34838- KEYCTL_READ = 0xb
34839- KEYCTL_REJECT = 0x13
34840- KEYCTL_REVOKE = 0x3
34841- KEYCTL_SEARCH = 0xa
34842- KEYCTL_SESSION_TO_PARENT = 0x12
34843- KEYCTL_SETPERM = 0x5
34844- KEYCTL_SET_REQKEY_KEYRING = 0xe
34845- KEYCTL_SET_TIMEOUT = 0xf
34846- KEYCTL_UNLINK = 0x9
34847- KEYCTL_UPDATE = 0x2
34848- KEY_REQKEY_DEFL_DEFAULT = 0x0
34849- KEY_REQKEY_DEFL_GROUP_KEYRING = 0x6
34850- KEY_REQKEY_DEFL_NO_CHANGE = -0x1
34851- KEY_REQKEY_DEFL_PROCESS_KEYRING = 0x2
34852- KEY_REQKEY_DEFL_REQUESTOR_KEYRING = 0x7
34853- KEY_REQKEY_DEFL_SESSION_KEYRING = 0x3
34854- KEY_REQKEY_DEFL_THREAD_KEYRING = 0x1
34855- KEY_REQKEY_DEFL_USER_KEYRING = 0x4
34856- KEY_REQKEY_DEFL_USER_SESSION_KEYRING = 0x5
34857- KEY_SPEC_GROUP_KEYRING = -0x6
34858- KEY_SPEC_PROCESS_KEYRING = -0x2
34859- KEY_SPEC_REQKEY_AUTH_KEY = -0x7
34860- KEY_SPEC_REQUESTOR_KEYRING = -0x8
34861- KEY_SPEC_SESSION_KEYRING = -0x3
34862- KEY_SPEC_THREAD_KEYRING = -0x1
34863- KEY_SPEC_USER_KEYRING = -0x4
34864- KEY_SPEC_USER_SESSION_KEYRING = -0x5
34865- LINUX_REBOOT_CMD_CAD_OFF = 0x0
34866- LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
34867- LINUX_REBOOT_CMD_HALT = 0xcdef0123
34868- LINUX_REBOOT_CMD_KEXEC = 0x45584543
34869- LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
34870- LINUX_REBOOT_CMD_RESTART = 0x1234567
34871- LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
34872- LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
34873- LINUX_REBOOT_MAGIC1 = 0xfee1dead
34874- LINUX_REBOOT_MAGIC2 = 0x28121969
34875- LOCK_EX = 0x2
34876- LOCK_NB = 0x4
34877- LOCK_SH = 0x1
34878- LOCK_UN = 0x8
34879- MADV_DODUMP = 0x11
34880- MADV_DOFORK = 0xb
34881- MADV_DONTDUMP = 0x10
34882- MADV_DONTFORK = 0xa
34883- MADV_DONTNEED = 0x4
34884- MADV_FREE = 0x8
34885- MADV_HUGEPAGE = 0xe
34886- MADV_HWPOISON = 0x64
34887- MADV_MERGEABLE = 0xc
34888- MADV_NOHUGEPAGE = 0xf
34889- MADV_NORMAL = 0x0
34890- MADV_RANDOM = 0x1
34891- MADV_REMOVE = 0x9
34892- MADV_SEQUENTIAL = 0x2
34893- MADV_UNMERGEABLE = 0xd
34894- MADV_WILLNEED = 0x3
34895- MAP_ANON = 0x20
34896- MAP_ANONYMOUS = 0x20
34897- MAP_DENYWRITE = 0x800
34898- MAP_EXECUTABLE = 0x1000
34899- MAP_FILE = 0x0
34900- MAP_FIXED = 0x10
34901- MAP_GROWSDOWN = 0x100
34902- MAP_HUGETLB = 0x40000
34903- MAP_HUGE_MASK = 0x3f
34904- MAP_HUGE_SHIFT = 0x1a
34905- MAP_LOCKED = 0x2000
34906- MAP_NONBLOCK = 0x10000
34907- MAP_NORESERVE = 0x4000
34908- MAP_POPULATE = 0x8000
34909- MAP_PRIVATE = 0x2
34910- MAP_SHARED = 0x1
34911- MAP_STACK = 0x20000
34912- MAP_TYPE = 0xf
34913- MCL_CURRENT = 0x1
34914- MCL_FUTURE = 0x2
34915- MCL_ONFAULT = 0x4
34916- MNT_DETACH = 0x2
34917- MNT_EXPIRE = 0x4
34918- MNT_FORCE = 0x1
34919- MSG_BATCH = 0x40000
34920- MSG_CMSG_CLOEXEC = 0x40000000
34921- MSG_CONFIRM = 0x800
34922- MSG_CTRUNC = 0x8
34923- MSG_DONTROUTE = 0x4
34924- MSG_DONTWAIT = 0x40
34925- MSG_EOR = 0x80
34926- MSG_ERRQUEUE = 0x2000
34927- MSG_FASTOPEN = 0x20000000
34928- MSG_FIN = 0x200
34929- MSG_MORE = 0x8000
34930- MSG_NOSIGNAL = 0x4000
34931- MSG_OOB = 0x1
34932- MSG_PEEK = 0x2
34933- MSG_PROXY = 0x10
34934- MSG_RST = 0x1000
34935- MSG_SYN = 0x400
34936- MSG_TRUNC = 0x20
34937- MSG_TRYHARD = 0x4
34938- MSG_WAITALL = 0x100
34939- MSG_WAITFORONE = 0x10000
34940- MS_ACTIVE = 0x40000000
34941- MS_ASYNC = 0x1
34942- MS_BIND = 0x1000
34943- MS_BORN = 0x20000000
34944- MS_DIRSYNC = 0x80
34945- MS_INVALIDATE = 0x2
34946- MS_I_VERSION = 0x800000
34947- MS_KERNMOUNT = 0x400000
34948- MS_LAZYTIME = 0x2000000
34949- MS_MANDLOCK = 0x40
34950- MS_MGC_MSK = 0xffff0000
34951- MS_MGC_VAL = 0xc0ed0000
34952- MS_MOVE = 0x2000
34953- MS_NOATIME = 0x400
34954- MS_NODEV = 0x4
34955- MS_NODIRATIME = 0x800
34956- MS_NOEXEC = 0x8
34957- MS_NOREMOTELOCK = 0x8000000
34958- MS_NOSEC = 0x10000000
34959- MS_NOSUID = 0x2
34960- MS_NOUSER = -0x80000000
34961- MS_POSIXACL = 0x10000
34962- MS_PRIVATE = 0x40000
34963- MS_RDONLY = 0x1
34964- MS_REC = 0x4000
34965- MS_RELATIME = 0x200000
34966- MS_REMOUNT = 0x20
34967- MS_RMT_MASK = 0x2800051
34968- MS_SHARED = 0x100000
34969- MS_SILENT = 0x8000
34970- MS_SLAVE = 0x80000
34971- MS_STRICTATIME = 0x1000000
34972- MS_SYNC = 0x4
34973- MS_SYNCHRONOUS = 0x10
34974- MS_UNBINDABLE = 0x20000
34975- MS_VERBOSE = 0x8000
34976- NAME_MAX = 0xff
34977- NETLINK_ADD_MEMBERSHIP = 0x1
34978- NETLINK_AUDIT = 0x9
34979- NETLINK_BROADCAST_ERROR = 0x4
34980- NETLINK_CAP_ACK = 0xa
34981- NETLINK_CONNECTOR = 0xb
34982- NETLINK_CRYPTO = 0x15
34983- NETLINK_DNRTMSG = 0xe
34984- NETLINK_DROP_MEMBERSHIP = 0x2
34985- NETLINK_ECRYPTFS = 0x13
34986- NETLINK_FIB_LOOKUP = 0xa
34987- NETLINK_FIREWALL = 0x3
34988- NETLINK_GENERIC = 0x10
34989- NETLINK_INET_DIAG = 0x4
34990- NETLINK_IP6_FW = 0xd
34991- NETLINK_ISCSI = 0x8
34992- NETLINK_KOBJECT_UEVENT = 0xf
34993- NETLINK_LISTEN_ALL_NSID = 0x8
34994- NETLINK_LIST_MEMBERSHIPS = 0x9
34995- NETLINK_NETFILTER = 0xc
34996- NETLINK_NFLOG = 0x5
34997- NETLINK_NO_ENOBUFS = 0x5
34998- NETLINK_PKTINFO = 0x3
34999- NETLINK_RDMA = 0x14
35000- NETLINK_ROUTE = 0x0
35001- NETLINK_RX_RING = 0x6
35002- NETLINK_SCSITRANSPORT = 0x12
35003- NETLINK_SELINUX = 0x7
35004- NETLINK_SOCK_DIAG = 0x4
35005- NETLINK_TX_RING = 0x7
35006- NETLINK_UNUSED = 0x1
35007- NETLINK_USERSOCK = 0x2
35008- NETLINK_XFRM = 0x6
35009- NL0 = 0x0
35010- NL1 = 0x100
35011- NLA_ALIGNTO = 0x4
35012- NLA_F_NESTED = 0x8000
35013- NLA_F_NET_BYTEORDER = 0x4000
35014- NLA_HDRLEN = 0x4
35015- NLDLY = 0x100
35016- NLMSG_ALIGNTO = 0x4
35017- NLMSG_DONE = 0x3
35018- NLMSG_ERROR = 0x2
35019- NLMSG_HDRLEN = 0x10
35020- NLMSG_MIN_TYPE = 0x10
35021- NLMSG_NOOP = 0x1
35022- NLMSG_OVERRUN = 0x4
35023- NLM_F_ACK = 0x4
35024- NLM_F_APPEND = 0x800
35025- NLM_F_ATOMIC = 0x400
35026- NLM_F_CREATE = 0x400
35027- NLM_F_DUMP = 0x300
35028- NLM_F_DUMP_FILTERED = 0x20
35029- NLM_F_DUMP_INTR = 0x10
35030- NLM_F_ECHO = 0x8
35031- NLM_F_EXCL = 0x200
35032- NLM_F_MATCH = 0x200
35033- NLM_F_MULTI = 0x2
35034- NLM_F_REPLACE = 0x100
35035- NLM_F_REQUEST = 0x1
35036- NLM_F_ROOT = 0x100
35037- NOFLSH = 0x80
35038- OCRNL = 0x8
35039- OFDEL = 0x80
35040- OFILL = 0x40
35041- OLCUC = 0x2
35042- ONLCR = 0x4
35043- ONLRET = 0x20
35044- ONOCR = 0x10
35045- OPOST = 0x1
35046- O_ACCMODE = 0x3
35047- O_APPEND = 0x400
35048- O_ASYNC = 0x2000
35049- O_CLOEXEC = 0x80000
35050- O_CREAT = 0x40
35051- O_DIRECT = 0x10000
35052- O_DIRECTORY = 0x4000
35053- O_DSYNC = 0x1000
35054- O_EXCL = 0x80
35055- O_FSYNC = 0x101000
35056- O_LARGEFILE = 0x0
35057- O_NDELAY = 0x800
35058- O_NOATIME = 0x40000
35059- O_NOCTTY = 0x100
35060- O_NOFOLLOW = 0x8000
35061- O_NONBLOCK = 0x800
35062- O_PATH = 0x200000
35063- O_RDONLY = 0x0
35064- O_RDWR = 0x2
35065- O_RSYNC = 0x101000
35066- O_SYNC = 0x101000
35067- O_TMPFILE = 0x404000
35068- O_TRUNC = 0x200
35069- O_WRONLY = 0x1
35070- PACKET_ADD_MEMBERSHIP = 0x1
35071- PACKET_AUXDATA = 0x8
35072- PACKET_BROADCAST = 0x1
35073- PACKET_COPY_THRESH = 0x7
35074- PACKET_DROP_MEMBERSHIP = 0x2
35075- PACKET_FANOUT = 0x12
35076- PACKET_FANOUT_CBPF = 0x6
35077- PACKET_FANOUT_CPU = 0x2
35078- PACKET_FANOUT_DATA = 0x16
35079- PACKET_FANOUT_EBPF = 0x7
35080- PACKET_FANOUT_FLAG_DEFRAG = 0x8000
35081- PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
35082- PACKET_FANOUT_HASH = 0x0
35083- PACKET_FANOUT_LB = 0x1
35084- PACKET_FANOUT_QM = 0x5
35085- PACKET_FANOUT_RND = 0x4
35086- PACKET_FANOUT_ROLLOVER = 0x3
35087- PACKET_FASTROUTE = 0x6
35088- PACKET_HDRLEN = 0xb
35089- PACKET_HOST = 0x0
35090- PACKET_KERNEL = 0x7
35091- PACKET_LOOPBACK = 0x5
35092- PACKET_LOSS = 0xe
35093- PACKET_MR_ALLMULTI = 0x2
35094- PACKET_MR_MULTICAST = 0x0
35095- PACKET_MR_PROMISC = 0x1
35096- PACKET_MR_UNICAST = 0x3
35097- PACKET_MULTICAST = 0x2
35098- PACKET_ORIGDEV = 0x9
35099- PACKET_OTHERHOST = 0x3
35100- PACKET_OUTGOING = 0x4
35101- PACKET_QDISC_BYPASS = 0x14
35102- PACKET_RECV_OUTPUT = 0x3
35103- PACKET_RESERVE = 0xc
35104- PACKET_ROLLOVER_STATS = 0x15
35105- PACKET_RX_RING = 0x5
35106- PACKET_STATISTICS = 0x6
35107- PACKET_TIMESTAMP = 0x11
35108- PACKET_TX_HAS_OFF = 0x13
35109- PACKET_TX_RING = 0xd
35110- PACKET_TX_TIMESTAMP = 0x10
35111- PACKET_USER = 0x6
35112- PACKET_VERSION = 0xa
35113- PACKET_VNET_HDR = 0xf
35114- PARENB = 0x100
35115- PARITY_CRC16_PR0 = 0x2
35116- PARITY_CRC16_PR0_CCITT = 0x4
35117- PARITY_CRC16_PR1 = 0x3
35118- PARITY_CRC16_PR1_CCITT = 0x5
35119- PARITY_CRC32_PR0_CCITT = 0x6
35120- PARITY_CRC32_PR1_CCITT = 0x7
35121- PARITY_DEFAULT = 0x0
35122- PARITY_NONE = 0x1
35123- PARMRK = 0x8
35124- PARODD = 0x200
35125- PENDIN = 0x4000
35126- PERF_EVENT_IOC_DISABLE = 0x2401
35127- PERF_EVENT_IOC_ENABLE = 0x2400
35128- PERF_EVENT_IOC_ID = 0x80082407
35129- PERF_EVENT_IOC_PAUSE_OUTPUT = 0x40042409
35130- PERF_EVENT_IOC_PERIOD = 0x40082404
35131- PERF_EVENT_IOC_REFRESH = 0x2402
35132- PERF_EVENT_IOC_RESET = 0x2403
35133- PERF_EVENT_IOC_SET_BPF = 0x40042408
35134- PERF_EVENT_IOC_SET_FILTER = 0x40082406
35135- PERF_EVENT_IOC_SET_OUTPUT = 0x2405
35136- PRIO_PGRP = 0x1
35137- PRIO_PROCESS = 0x0
35138- PRIO_USER = 0x2
35139- PROT_EXEC = 0x4
35140- PROT_GROWSDOWN = 0x1000000
35141- PROT_GROWSUP = 0x2000000
35142- PROT_NONE = 0x0
35143- PROT_READ = 0x1
35144- PROT_WRITE = 0x2
35145- PR_CAPBSET_DROP = 0x18
35146- PR_CAPBSET_READ = 0x17
35147- PR_CAP_AMBIENT = 0x2f
35148- PR_CAP_AMBIENT_CLEAR_ALL = 0x4
35149- PR_CAP_AMBIENT_IS_SET = 0x1
35150- PR_CAP_AMBIENT_LOWER = 0x3
35151- PR_CAP_AMBIENT_RAISE = 0x2
35152- PR_ENDIAN_BIG = 0x0
35153- PR_ENDIAN_LITTLE = 0x1
35154- PR_ENDIAN_PPC_LITTLE = 0x2
35155- PR_FPEMU_NOPRINT = 0x1
35156- PR_FPEMU_SIGFPE = 0x2
35157- PR_FP_EXC_ASYNC = 0x2
35158- PR_FP_EXC_DISABLED = 0x0
35159- PR_FP_EXC_DIV = 0x10000
35160- PR_FP_EXC_INV = 0x100000
35161- PR_FP_EXC_NONRECOV = 0x1
35162- PR_FP_EXC_OVF = 0x20000
35163- PR_FP_EXC_PRECISE = 0x3
35164- PR_FP_EXC_RES = 0x80000
35165- PR_FP_EXC_SW_ENABLE = 0x80
35166- PR_FP_EXC_UND = 0x40000
35167- PR_FP_MODE_FR = 0x1
35168- PR_FP_MODE_FRE = 0x2
35169- PR_GET_CHILD_SUBREAPER = 0x25
35170- PR_GET_DUMPABLE = 0x3
35171- PR_GET_ENDIAN = 0x13
35172- PR_GET_FPEMU = 0x9
35173- PR_GET_FPEXC = 0xb
35174- PR_GET_FP_MODE = 0x2e
35175- PR_GET_KEEPCAPS = 0x7
35176- PR_GET_NAME = 0x10
35177- PR_GET_NO_NEW_PRIVS = 0x27
35178- PR_GET_PDEATHSIG = 0x2
35179- PR_GET_SECCOMP = 0x15
35180- PR_GET_SECUREBITS = 0x1b
35181- PR_GET_THP_DISABLE = 0x2a
35182- PR_GET_TID_ADDRESS = 0x28
35183- PR_GET_TIMERSLACK = 0x1e
35184- PR_GET_TIMING = 0xd
35185- PR_GET_TSC = 0x19
35186- PR_GET_UNALIGN = 0x5
35187- PR_MCE_KILL = 0x21
35188- PR_MCE_KILL_CLEAR = 0x0
35189- PR_MCE_KILL_DEFAULT = 0x2
35190- PR_MCE_KILL_EARLY = 0x1
35191- PR_MCE_KILL_GET = 0x22
35192- PR_MCE_KILL_LATE = 0x0
35193- PR_MCE_KILL_SET = 0x1
35194- PR_MPX_DISABLE_MANAGEMENT = 0x2c
35195- PR_MPX_ENABLE_MANAGEMENT = 0x2b
35196- PR_SET_CHILD_SUBREAPER = 0x24
35197- PR_SET_DUMPABLE = 0x4
35198- PR_SET_ENDIAN = 0x14
35199- PR_SET_FPEMU = 0xa
35200- PR_SET_FPEXC = 0xc
35201- PR_SET_FP_MODE = 0x2d
35202- PR_SET_KEEPCAPS = 0x8
35203- PR_SET_MM = 0x23
35204- PR_SET_MM_ARG_END = 0x9
35205- PR_SET_MM_ARG_START = 0x8
35206- PR_SET_MM_AUXV = 0xc
35207- PR_SET_MM_BRK = 0x7
35208- PR_SET_MM_END_CODE = 0x2
35209- PR_SET_MM_END_DATA = 0x4
35210- PR_SET_MM_ENV_END = 0xb
35211- PR_SET_MM_ENV_START = 0xa
35212- PR_SET_MM_EXE_FILE = 0xd
35213- PR_SET_MM_MAP = 0xe
35214- PR_SET_MM_MAP_SIZE = 0xf
35215- PR_SET_MM_START_BRK = 0x6
35216- PR_SET_MM_START_CODE = 0x1
35217- PR_SET_MM_START_DATA = 0x3
35218- PR_SET_MM_START_STACK = 0x5
35219- PR_SET_NAME = 0xf
35220- PR_SET_NO_NEW_PRIVS = 0x26
35221- PR_SET_PDEATHSIG = 0x1
35222- PR_SET_PTRACER = 0x59616d61
35223- PR_SET_PTRACER_ANY = -0x1
35224- PR_SET_SECCOMP = 0x16
35225- PR_SET_SECUREBITS = 0x1c
35226- PR_SET_THP_DISABLE = 0x29
35227- PR_SET_TIMERSLACK = 0x1d
35228- PR_SET_TIMING = 0xe
35229- PR_SET_TSC = 0x1a
35230- PR_SET_UNALIGN = 0x6
35231- PR_TASK_PERF_EVENTS_DISABLE = 0x1f
35232- PR_TASK_PERF_EVENTS_ENABLE = 0x20
35233- PR_TIMING_STATISTICAL = 0x0
35234- PR_TIMING_TIMESTAMP = 0x1
35235- PR_TSC_ENABLE = 0x1
35236- PR_TSC_SIGSEGV = 0x2
35237- PR_UNALIGN_NOPRINT = 0x1
35238- PR_UNALIGN_SIGBUS = 0x2
35239- PTRACE_ATTACH = 0x10
35240- PTRACE_CONT = 0x7
35241- PTRACE_DETACH = 0x11
35242- PTRACE_EVENT_CLONE = 0x3
35243- PTRACE_EVENT_EXEC = 0x4
35244- PTRACE_EVENT_EXIT = 0x6
35245- PTRACE_EVENT_FORK = 0x1
35246- PTRACE_EVENT_SECCOMP = 0x7
35247- PTRACE_EVENT_STOP = 0x80
35248- PTRACE_EVENT_VFORK = 0x2
35249- PTRACE_EVENT_VFORK_DONE = 0x5
35250- PTRACE_GETEVENTMSG = 0x4201
35251- PTRACE_GETREGS = 0xc
35252- PTRACE_GETREGSET = 0x4204
35253- PTRACE_GETSIGINFO = 0x4202
35254- PTRACE_GETSIGMASK = 0x420a
35255- PTRACE_INTERRUPT = 0x4207
35256- PTRACE_KILL = 0x8
35257- PTRACE_LISTEN = 0x4208
35258- PTRACE_O_EXITKILL = 0x100000
35259- PTRACE_O_MASK = 0x3000ff
35260- PTRACE_O_SUSPEND_SECCOMP = 0x200000
35261- PTRACE_O_TRACECLONE = 0x8
35262- PTRACE_O_TRACEEXEC = 0x10
35263- PTRACE_O_TRACEEXIT = 0x40
35264- PTRACE_O_TRACEFORK = 0x2
35265- PTRACE_O_TRACESECCOMP = 0x80
35266- PTRACE_O_TRACESYSGOOD = 0x1
35267- PTRACE_O_TRACEVFORK = 0x4
35268- PTRACE_O_TRACEVFORKDONE = 0x20
35269- PTRACE_PEEKDATA = 0x2
35270- PTRACE_PEEKSIGINFO = 0x4209
35271- PTRACE_PEEKSIGINFO_SHARED = 0x1
35272- PTRACE_PEEKTEXT = 0x1
35273- PTRACE_PEEKUSR = 0x3
35274- PTRACE_POKEDATA = 0x5
35275- PTRACE_POKETEXT = 0x4
35276- PTRACE_POKEUSR = 0x6
35277- PTRACE_SECCOMP_GET_FILTER = 0x420c
35278- PTRACE_SEIZE = 0x4206
35279- PTRACE_SETOPTIONS = 0x4200
35280- PTRACE_SETREGS = 0xd
35281- PTRACE_SETREGSET = 0x4205
35282- PTRACE_SETSIGINFO = 0x4203
35283- PTRACE_SETSIGMASK = 0x420b
35284- PTRACE_SINGLESTEP = 0x9
35285- PTRACE_SYSCALL = 0x18
35286- PTRACE_TRACEME = 0x0
35287- RLIMIT_AS = 0x9
35288- RLIMIT_CORE = 0x4
35289- RLIMIT_CPU = 0x0
35290- RLIMIT_DATA = 0x2
35291- RLIMIT_FSIZE = 0x1
35292- RLIMIT_LOCKS = 0xa
35293- RLIMIT_MEMLOCK = 0x8
35294- RLIMIT_MSGQUEUE = 0xc
35295- RLIMIT_NICE = 0xd
35296- RLIMIT_NOFILE = 0x7
35297- RLIMIT_NPROC = 0x6
35298- RLIMIT_RSS = 0x5
35299- RLIMIT_RTPRIO = 0xe
35300- RLIMIT_RTTIME = 0xf
35301- RLIMIT_SIGPENDING = 0xb
35302- RLIMIT_STACK = 0x3
35303- RLIM_INFINITY = -0x1
35304- RTAX_ADVMSS = 0x8
35305- RTAX_CC_ALGO = 0x10
35306- RTAX_CWND = 0x7
35307- RTAX_FEATURES = 0xc
35308- RTAX_FEATURE_ALLFRAG = 0x8
35309- RTAX_FEATURE_ECN = 0x1
35310- RTAX_FEATURE_MASK = 0xf
35311- RTAX_FEATURE_SACK = 0x2
35312- RTAX_FEATURE_TIMESTAMP = 0x4
35313- RTAX_HOPLIMIT = 0xa
35314- RTAX_INITCWND = 0xb
35315- RTAX_INITRWND = 0xe
35316- RTAX_LOCK = 0x1
35317- RTAX_MAX = 0x10
35318- RTAX_MTU = 0x2
35319- RTAX_QUICKACK = 0xf
35320- RTAX_REORDERING = 0x9
35321- RTAX_RTO_MIN = 0xd
35322- RTAX_RTT = 0x4
35323- RTAX_RTTVAR = 0x5
35324- RTAX_SSTHRESH = 0x6
35325- RTAX_UNSPEC = 0x0
35326- RTAX_WINDOW = 0x3
35327- RTA_ALIGNTO = 0x4
35328- RTA_MAX = 0x19
35329- RTCF_DIRECTSRC = 0x4000000
35330- RTCF_DOREDIRECT = 0x1000000
35331- RTCF_LOG = 0x2000000
35332- RTCF_MASQ = 0x400000
35333- RTCF_NAT = 0x800000
35334- RTCF_VALVE = 0x200000
35335- RTF_ADDRCLASSMASK = 0xf8000000
35336- RTF_ADDRCONF = 0x40000
35337- RTF_ALLONLINK = 0x20000
35338- RTF_BROADCAST = 0x10000000
35339- RTF_CACHE = 0x1000000
35340- RTF_DEFAULT = 0x10000
35341- RTF_DYNAMIC = 0x10
35342- RTF_FLOW = 0x2000000
35343- RTF_GATEWAY = 0x2
35344- RTF_HOST = 0x4
35345- RTF_INTERFACE = 0x40000000
35346- RTF_IRTT = 0x100
35347- RTF_LINKRT = 0x100000
35348- RTF_LOCAL = 0x80000000
35349- RTF_MODIFIED = 0x20
35350- RTF_MSS = 0x40
35351- RTF_MTU = 0x40
35352- RTF_MULTICAST = 0x20000000
35353- RTF_NAT = 0x8000000
35354- RTF_NOFORWARD = 0x1000
35355- RTF_NONEXTHOP = 0x200000
35356- RTF_NOPMTUDISC = 0x4000
35357- RTF_POLICY = 0x4000000
35358- RTF_REINSTATE = 0x8
35359- RTF_REJECT = 0x200
35360- RTF_STATIC = 0x400
35361- RTF_THROW = 0x2000
35362- RTF_UP = 0x1
35363- RTF_WINDOW = 0x80
35364- RTF_XRESOLVE = 0x800
35365- RTM_BASE = 0x10
35366- RTM_DELACTION = 0x31
35367- RTM_DELADDR = 0x15
35368- RTM_DELADDRLABEL = 0x49
35369- RTM_DELLINK = 0x11
35370- RTM_DELMDB = 0x55
35371- RTM_DELNEIGH = 0x1d
35372- RTM_DELNSID = 0x59
35373- RTM_DELQDISC = 0x25
35374- RTM_DELROUTE = 0x19
35375- RTM_DELRULE = 0x21
35376- RTM_DELTCLASS = 0x29
35377- RTM_DELTFILTER = 0x2d
35378- RTM_F_CLONED = 0x200
35379- RTM_F_EQUALIZE = 0x400
35380- RTM_F_LOOKUP_TABLE = 0x1000
35381- RTM_F_NOTIFY = 0x100
35382- RTM_F_PREFIX = 0x800
35383- RTM_GETACTION = 0x32
35384- RTM_GETADDR = 0x16
35385- RTM_GETADDRLABEL = 0x4a
35386- RTM_GETANYCAST = 0x3e
35387- RTM_GETDCB = 0x4e
35388- RTM_GETLINK = 0x12
35389- RTM_GETMDB = 0x56
35390- RTM_GETMULTICAST = 0x3a
35391- RTM_GETNEIGH = 0x1e
35392- RTM_GETNEIGHTBL = 0x42
35393- RTM_GETNETCONF = 0x52
35394- RTM_GETNSID = 0x5a
35395- RTM_GETQDISC = 0x26
35396- RTM_GETROUTE = 0x1a
35397- RTM_GETRULE = 0x22
35398- RTM_GETSTATS = 0x5e
35399- RTM_GETTCLASS = 0x2a
35400- RTM_GETTFILTER = 0x2e
35401- RTM_MAX = 0x5f
35402- RTM_NEWACTION = 0x30
35403- RTM_NEWADDR = 0x14
35404- RTM_NEWADDRLABEL = 0x48
35405- RTM_NEWLINK = 0x10
35406- RTM_NEWMDB = 0x54
35407- RTM_NEWNDUSEROPT = 0x44
35408- RTM_NEWNEIGH = 0x1c
35409- RTM_NEWNEIGHTBL = 0x40
35410- RTM_NEWNETCONF = 0x50
35411- RTM_NEWNSID = 0x58
35412- RTM_NEWPREFIX = 0x34
35413- RTM_NEWQDISC = 0x24
35414- RTM_NEWROUTE = 0x18
35415- RTM_NEWRULE = 0x20
35416- RTM_NEWSTATS = 0x5c
35417- RTM_NEWTCLASS = 0x28
35418- RTM_NEWTFILTER = 0x2c
35419- RTM_NR_FAMILIES = 0x14
35420- RTM_NR_MSGTYPES = 0x50
35421- RTM_SETDCB = 0x4f
35422- RTM_SETLINK = 0x13
35423- RTM_SETNEIGHTBL = 0x43
35424- RTNH_ALIGNTO = 0x4
35425- RTNH_COMPARE_MASK = 0x19
35426- RTNH_F_DEAD = 0x1
35427- RTNH_F_LINKDOWN = 0x10
35428- RTNH_F_OFFLOAD = 0x8
35429- RTNH_F_ONLINK = 0x4
35430- RTNH_F_PERVASIVE = 0x2
35431- RTN_MAX = 0xb
35432- RTPROT_BABEL = 0x2a
35433- RTPROT_BIRD = 0xc
35434- RTPROT_BOOT = 0x3
35435- RTPROT_DHCP = 0x10
35436- RTPROT_DNROUTED = 0xd
35437- RTPROT_GATED = 0x8
35438- RTPROT_KERNEL = 0x2
35439- RTPROT_MROUTED = 0x11
35440- RTPROT_MRT = 0xa
35441- RTPROT_NTK = 0xf
35442- RTPROT_RA = 0x9
35443- RTPROT_REDIRECT = 0x1
35444- RTPROT_STATIC = 0x4
35445- RTPROT_UNSPEC = 0x0
35446- RTPROT_XORP = 0xe
35447- RTPROT_ZEBRA = 0xb
35448- RT_CLASS_DEFAULT = 0xfd
35449- RT_CLASS_LOCAL = 0xff
35450- RT_CLASS_MAIN = 0xfe
35451- RT_CLASS_MAX = 0xff
35452- RT_CLASS_UNSPEC = 0x0
35453- RUSAGE_CHILDREN = -0x1
35454- RUSAGE_SELF = 0x0
35455- RUSAGE_THREAD = 0x1
35456- SCM_CREDENTIALS = 0x2
35457- SCM_RIGHTS = 0x1
35458- SCM_TIMESTAMP = 0x1d
35459- SCM_TIMESTAMPING = 0x25
35460- SCM_TIMESTAMPING_OPT_STATS = 0x36
35461- SCM_TIMESTAMPNS = 0x23
35462- SCM_WIFI_STATUS = 0x29
35463- SECCOMP_MODE_DISABLED = 0x0
35464- SECCOMP_MODE_FILTER = 0x2
35465- SECCOMP_MODE_STRICT = 0x1
35466- SHUT_RD = 0x0
35467- SHUT_RDWR = 0x2
35468- SHUT_WR = 0x1
35469- SIOCADDDLCI = 0x8980
35470- SIOCADDMULTI = 0x8931
35471- SIOCADDRT = 0x890b
35472- SIOCATMARK = 0x8905
35473- SIOCBONDCHANGEACTIVE = 0x8995
35474- SIOCBONDENSLAVE = 0x8990
35475- SIOCBONDINFOQUERY = 0x8994
35476- SIOCBONDRELEASE = 0x8991
35477- SIOCBONDSETHWADDR = 0x8992
35478- SIOCBONDSLAVEINFOQUERY = 0x8993
35479- SIOCBRADDBR = 0x89a0
35480- SIOCBRADDIF = 0x89a2
35481- SIOCBRDELBR = 0x89a1
35482- SIOCBRDELIF = 0x89a3
35483- SIOCDARP = 0x8953
35484- SIOCDELDLCI = 0x8981
35485- SIOCDELMULTI = 0x8932
35486- SIOCDELRT = 0x890c
35487- SIOCDEVPRIVATE = 0x89f0
35488- SIOCDIFADDR = 0x8936
35489- SIOCDRARP = 0x8960
35490- SIOCETHTOOL = 0x8946
35491- SIOCGARP = 0x8954
35492- SIOCGHWTSTAMP = 0x89b1
35493- SIOCGIFADDR = 0x8915
35494- SIOCGIFBR = 0x8940
35495- SIOCGIFBRDADDR = 0x8919
35496- SIOCGIFCONF = 0x8912
35497- SIOCGIFCOUNT = 0x8938
35498- SIOCGIFDSTADDR = 0x8917
35499- SIOCGIFENCAP = 0x8925
35500- SIOCGIFFLAGS = 0x8913
35501- SIOCGIFHWADDR = 0x8927
35502- SIOCGIFINDEX = 0x8933
35503- SIOCGIFMAP = 0x8970
35504- SIOCGIFMEM = 0x891f
35505- SIOCGIFMETRIC = 0x891d
35506- SIOCGIFMTU = 0x8921
35507- SIOCGIFNAME = 0x8910
35508- SIOCGIFNETMASK = 0x891b
35509- SIOCGIFPFLAGS = 0x8935
35510- SIOCGIFSLAVE = 0x8929
35511- SIOCGIFTXQLEN = 0x8942
35512- SIOCGIFVLAN = 0x8982
35513- SIOCGMIIPHY = 0x8947
35514- SIOCGMIIREG = 0x8948
35515- SIOCGPGRP = 0x8904
35516- SIOCGRARP = 0x8961
35517- SIOCGSKNS = 0x894c
35518- SIOCGSTAMP = 0x8906
35519- SIOCGSTAMPNS = 0x8907
35520- SIOCINQ = 0x541b
35521- SIOCOUTQ = 0x5411
35522- SIOCOUTQNSD = 0x894b
35523- SIOCPROTOPRIVATE = 0x89e0
35524- SIOCRTMSG = 0x890d
35525- SIOCSARP = 0x8955
35526- SIOCSHWTSTAMP = 0x89b0
35527- SIOCSIFADDR = 0x8916
35528- SIOCSIFBR = 0x8941
35529- SIOCSIFBRDADDR = 0x891a
35530- SIOCSIFDSTADDR = 0x8918
35531- SIOCSIFENCAP = 0x8926
35532- SIOCSIFFLAGS = 0x8914
35533- SIOCSIFHWADDR = 0x8924
35534- SIOCSIFHWBROADCAST = 0x8937
35535- SIOCSIFLINK = 0x8911
35536- SIOCSIFMAP = 0x8971
35537- SIOCSIFMEM = 0x8920
35538- SIOCSIFMETRIC = 0x891e
35539- SIOCSIFMTU = 0x8922
35540- SIOCSIFNAME = 0x8923
35541- SIOCSIFNETMASK = 0x891c
35542- SIOCSIFPFLAGS = 0x8934
35543- SIOCSIFSLAVE = 0x8930
35544- SIOCSIFTXQLEN = 0x8943
35545- SIOCSIFVLAN = 0x8983
35546- SIOCSMIIREG = 0x8949
35547- SIOCSPGRP = 0x8902
35548- SIOCSRARP = 0x8962
35549- SIOCWANDEV = 0x894a
35550- SOCK_CLOEXEC = 0x80000
35551- SOCK_DCCP = 0x6
35552- SOCK_DGRAM = 0x2
35553- SOCK_IOC_TYPE = 0x89
35554- SOCK_NONBLOCK = 0x800
35555- SOCK_PACKET = 0xa
35556- SOCK_RAW = 0x3
35557- SOCK_RDM = 0x4
35558- SOCK_SEQPACKET = 0x5
35559- SOCK_STREAM = 0x1
35560- SOL_AAL = 0x109
35561- SOL_ALG = 0x117
35562- SOL_ATM = 0x108
35563- SOL_CAIF = 0x116
35564- SOL_CAN_BASE = 0x64
35565- SOL_DCCP = 0x10d
35566- SOL_DECNET = 0x105
35567- SOL_ICMPV6 = 0x3a
35568- SOL_IP = 0x0
35569- SOL_IPV6 = 0x29
35570- SOL_IRDA = 0x10a
35571- SOL_IUCV = 0x115
35572- SOL_KCM = 0x119
35573- SOL_LLC = 0x10c
35574- SOL_NETBEUI = 0x10b
35575- SOL_NETLINK = 0x10e
35576- SOL_NFC = 0x118
35577- SOL_PACKET = 0x107
35578- SOL_PNPIPE = 0x113
35579- SOL_PPPOL2TP = 0x111
35580- SOL_RAW = 0xff
35581- SOL_RDS = 0x114
35582- SOL_RXRPC = 0x110
35583- SOL_SOCKET = 0x1
35584- SOL_TCP = 0x6
35585- SOL_TIPC = 0x10f
35586- SOL_X25 = 0x106
35587- SOMAXCONN = 0x80
35588- SO_ACCEPTCONN = 0x1e
35589- SO_ATTACH_BPF = 0x32
35590- SO_ATTACH_FILTER = 0x1a
35591- SO_ATTACH_REUSEPORT_CBPF = 0x33
35592- SO_ATTACH_REUSEPORT_EBPF = 0x34
35593- SO_BINDTODEVICE = 0x19
35594- SO_BPF_EXTENSIONS = 0x30
35595- SO_BROADCAST = 0x6
35596- SO_BSDCOMPAT = 0xe
35597- SO_BUSY_POLL = 0x2e
35598- SO_CNX_ADVICE = 0x35
35599- SO_DEBUG = 0x1
35600- SO_DETACH_BPF = 0x1b
35601- SO_DETACH_FILTER = 0x1b
35602- SO_DOMAIN = 0x27
35603- SO_DONTROUTE = 0x5
35604- SO_ERROR = 0x4
35605- SO_GET_FILTER = 0x1a
35606- SO_INCOMING_CPU = 0x31
35607- SO_KEEPALIVE = 0x9
35608- SO_LINGER = 0xd
35609- SO_LOCK_FILTER = 0x2c
35610- SO_MARK = 0x24
35611- SO_MAX_PACING_RATE = 0x2f
35612- SO_NOFCS = 0x2b
35613- SO_NO_CHECK = 0xb
35614- SO_OOBINLINE = 0xa
35615- SO_PASSCRED = 0x10
35616- SO_PASSSEC = 0x22
35617- SO_PEEK_OFF = 0x2a
35618- SO_PEERCRED = 0x11
35619- SO_PEERNAME = 0x1c
35620- SO_PEERSEC = 0x1f
35621- SO_PRIORITY = 0xc
35622- SO_PROTOCOL = 0x26
35623- SO_RCVBUF = 0x8
35624- SO_RCVBUFFORCE = 0x21
35625- SO_RCVLOWAT = 0x12
35626- SO_RCVTIMEO = 0x14
35627- SO_REUSEADDR = 0x2
35628- SO_REUSEPORT = 0xf
35629- SO_RXQ_OVFL = 0x28
35630- SO_SECURITY_AUTHENTICATION = 0x16
35631- SO_SECURITY_ENCRYPTION_NETWORK = 0x18
35632- SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
35633- SO_SELECT_ERR_QUEUE = 0x2d
35634- SO_SNDBUF = 0x7
35635- SO_SNDBUFFORCE = 0x20
35636- SO_SNDLOWAT = 0x13
35637- SO_SNDTIMEO = 0x15
35638- SO_TIMESTAMP = 0x1d
35639- SO_TIMESTAMPING = 0x25
35640- SO_TIMESTAMPNS = 0x23
35641- SO_TYPE = 0x3
35642- SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
35643- SO_VM_SOCKETS_BUFFER_MIN_SIZE = 0x1
35644- SO_VM_SOCKETS_BUFFER_SIZE = 0x0
35645- SO_VM_SOCKETS_CONNECT_TIMEOUT = 0x6
35646- SO_VM_SOCKETS_NONBLOCK_TXRX = 0x7
35647- SO_VM_SOCKETS_PEER_HOST_VM_ID = 0x3
35648- SO_VM_SOCKETS_TRUSTED = 0x5
35649- SO_WIFI_STATUS = 0x29
35650- SPLICE_F_GIFT = 0x8
35651- SPLICE_F_MORE = 0x4
35652- SPLICE_F_MOVE = 0x1
35653- SPLICE_F_NONBLOCK = 0x2
35654- S_BLKSIZE = 0x200
35655- S_IEXEC = 0x40
35656- S_IFBLK = 0x6000
35657- S_IFCHR = 0x2000
35658- S_IFDIR = 0x4000
35659- S_IFIFO = 0x1000
35660- S_IFLNK = 0xa000
35661- S_IFMT = 0xf000
35662- S_IFREG = 0x8000
35663- S_IFSOCK = 0xc000
35664- S_IREAD = 0x100
35665- S_IRGRP = 0x20
35666- S_IROTH = 0x4
35667- S_IRUSR = 0x100
35668- S_IRWXG = 0x38
35669- S_IRWXO = 0x7
35670- S_IRWXU = 0x1c0
35671- S_ISGID = 0x400
35672- S_ISUID = 0x800
35673- S_ISVTX = 0x200
35674- S_IWGRP = 0x10
35675- S_IWOTH = 0x2
35676- S_IWRITE = 0x80
35677- S_IWUSR = 0x80
35678- S_IXGRP = 0x8
35679- S_IXOTH = 0x1
35680- S_IXUSR = 0x40
35681- TAB0 = 0x0
35682- TAB1 = 0x800
35683- TAB2 = 0x1000
35684- TAB3 = 0x1800
35685- TABDLY = 0x1800
35686- TASKSTATS_CMD_ATTR_MAX = 0x4
35687- TASKSTATS_CMD_MAX = 0x2
35688- TASKSTATS_GENL_NAME = "TASKSTATS"
35689- TASKSTATS_GENL_VERSION = 0x1
35690- TASKSTATS_TYPE_MAX = 0x6
35691- TASKSTATS_VERSION = 0x8
35692- TCFLSH = 0x540b
35693- TCGETA = 0x5405
35694- TCGETS = 0x5401
35695- TCGETS2 = 0x802c542a
35696- TCGETX = 0x5432
35697- TCIFLUSH = 0x0
35698- TCIOFF = 0x2
35699- TCIOFLUSH = 0x2
35700- TCION = 0x3
35701- TCOFLUSH = 0x1
35702- TCOOFF = 0x0
35703- TCOON = 0x1
35704- TCP_CC_INFO = 0x1a
35705- TCP_CONGESTION = 0xd
35706- TCP_COOKIE_IN_ALWAYS = 0x1
35707- TCP_COOKIE_MAX = 0x10
35708- TCP_COOKIE_MIN = 0x8
35709- TCP_COOKIE_OUT_NEVER = 0x2
35710- TCP_COOKIE_PAIR_SIZE = 0x20
35711- TCP_COOKIE_TRANSACTIONS = 0xf
35712- TCP_CORK = 0x3
35713- TCP_DEFER_ACCEPT = 0x9
35714- TCP_FASTOPEN = 0x17
35715- TCP_INFO = 0xb
35716- TCP_KEEPCNT = 0x6
35717- TCP_KEEPIDLE = 0x4
35718- TCP_KEEPINTVL = 0x5
35719- TCP_LINGER2 = 0x8
35720- TCP_MAXSEG = 0x2
35721- TCP_MAXWIN = 0xffff
35722- TCP_MAX_WINSHIFT = 0xe
35723- TCP_MD5SIG = 0xe
35724- TCP_MD5SIG_MAXKEYLEN = 0x50
35725- TCP_MSS = 0x200
35726- TCP_MSS_DEFAULT = 0x218
35727- TCP_MSS_DESIRED = 0x4c4
35728- TCP_NODELAY = 0x1
35729- TCP_NOTSENT_LOWAT = 0x19
35730- TCP_QUEUE_SEQ = 0x15
35731- TCP_QUICKACK = 0xc
35732- TCP_REPAIR = 0x13
35733- TCP_REPAIR_OPTIONS = 0x16
35734- TCP_REPAIR_QUEUE = 0x14
35735- TCP_REPAIR_WINDOW = 0x1d
35736- TCP_SAVED_SYN = 0x1c
35737- TCP_SAVE_SYN = 0x1b
35738- TCP_SYNCNT = 0x7
35739- TCP_S_DATA_IN = 0x4
35740- TCP_S_DATA_OUT = 0x8
35741- TCP_THIN_DUPACK = 0x11
35742- TCP_THIN_LINEAR_TIMEOUTS = 0x10
35743- TCP_TIMESTAMP = 0x18
35744- TCP_USER_TIMEOUT = 0x12
35745- TCP_WINDOW_CLAMP = 0xa
35746- TCSAFLUSH = 0x2
35747- TCSBRK = 0x5409
35748- TCSBRKP = 0x5425
35749- TCSETA = 0x5406
35750- TCSETAF = 0x5408
35751- TCSETAW = 0x5407
35752- TCSETS = 0x5402
35753- TCSETS2 = 0x402c542b
35754- TCSETSF = 0x5404
35755- TCSETSF2 = 0x402c542d
35756- TCSETSW = 0x5403
35757- TCSETSW2 = 0x402c542c
35758- TCSETX = 0x5433
35759- TCSETXF = 0x5434
35760- TCSETXW = 0x5435
35761- TCXONC = 0x540a
35762- TIOCCBRK = 0x5428
35763- TIOCCONS = 0x541d
35764- TIOCEXCL = 0x540c
35765- TIOCGDEV = 0x80045432
35766- TIOCGETD = 0x5424
35767- TIOCGEXCL = 0x80045440
35768- TIOCGICOUNT = 0x545d
35769- TIOCGLCKTRMIOS = 0x5456
35770- TIOCGPGRP = 0x540f
35771- TIOCGPKT = 0x80045438
35772- TIOCGPTLCK = 0x80045439
35773- TIOCGPTN = 0x80045430
35774- TIOCGRS485 = 0x542e
35775- TIOCGSERIAL = 0x541e
35776- TIOCGSID = 0x5429
35777- TIOCGSOFTCAR = 0x5419
35778- TIOCGWINSZ = 0x5413
35779- TIOCINQ = 0x541b
35780- TIOCLINUX = 0x541c
35781- TIOCMBIC = 0x5417
35782- TIOCMBIS = 0x5416
35783- TIOCMGET = 0x5415
35784- TIOCMIWAIT = 0x545c
35785- TIOCMSET = 0x5418
35786- TIOCM_CAR = 0x40
35787- TIOCM_CD = 0x40
35788- TIOCM_CTS = 0x20
35789- TIOCM_DSR = 0x100
35790- TIOCM_DTR = 0x2
35791- TIOCM_LE = 0x1
35792- TIOCM_RI = 0x80
35793- TIOCM_RNG = 0x80
35794- TIOCM_RTS = 0x4
35795- TIOCM_SR = 0x10
35796- TIOCM_ST = 0x8
35797- TIOCNOTTY = 0x5422
35798- TIOCNXCL = 0x540d
35799- TIOCOUTQ = 0x5411
35800- TIOCPKT = 0x5420
35801- TIOCPKT_DATA = 0x0
35802- TIOCPKT_DOSTOP = 0x20
35803- TIOCPKT_FLUSHREAD = 0x1
35804- TIOCPKT_FLUSHWRITE = 0x2
35805- TIOCPKT_IOCTL = 0x40
35806- TIOCPKT_NOSTOP = 0x10
35807- TIOCPKT_START = 0x8
35808- TIOCPKT_STOP = 0x4
35809- TIOCSBRK = 0x5427
35810- TIOCSCTTY = 0x540e
35811- TIOCSERCONFIG = 0x5453
35812- TIOCSERGETLSR = 0x5459
35813- TIOCSERGETMULTI = 0x545a
35814- TIOCSERGSTRUCT = 0x5458
35815- TIOCSERGWILD = 0x5454
35816- TIOCSERSETMULTI = 0x545b
35817- TIOCSERSWILD = 0x5455
35818- TIOCSER_TEMT = 0x1
35819- TIOCSETD = 0x5423
35820- TIOCSIG = 0x40045436
35821- TIOCSLCKTRMIOS = 0x5457
35822- TIOCSPGRP = 0x5410
35823- TIOCSPTLCK = 0x40045431
35824- TIOCSRS485 = 0x542f
35825- TIOCSSERIAL = 0x541f
35826- TIOCSSOFTCAR = 0x541a
35827- TIOCSTI = 0x5412
35828- TIOCSWINSZ = 0x5414
35829- TIOCVHANGUP = 0x5437
35830- TOSTOP = 0x100
35831- TS_COMM_LEN = 0x20
35832- TUNATTACHFILTER = 0x401054d5
35833- TUNDETACHFILTER = 0x401054d6
35834- TUNGETFEATURES = 0x800454cf
35835- TUNGETFILTER = 0x801054db
35836- TUNGETIFF = 0x800454d2
35837- TUNGETSNDBUF = 0x800454d3
35838- TUNGETVNETBE = 0x800454df
35839- TUNGETVNETHDRSZ = 0x800454d7
35840- TUNGETVNETLE = 0x800454dd
35841- TUNSETDEBUG = 0x400454c9
35842- TUNSETGROUP = 0x400454ce
35843- TUNSETIFF = 0x400454ca
35844- TUNSETIFINDEX = 0x400454da
35845- TUNSETLINK = 0x400454cd
35846- TUNSETNOCSUM = 0x400454c8
35847- TUNSETOFFLOAD = 0x400454d0
35848- TUNSETOWNER = 0x400454cc
35849- TUNSETPERSIST = 0x400454cb
35850- TUNSETQUEUE = 0x400454d9
35851- TUNSETSNDBUF = 0x400454d4
35852- TUNSETTXFILTER = 0x400454d1
35853- TUNSETVNETBE = 0x400454de
35854- TUNSETVNETHDRSZ = 0x400454d8
35855- TUNSETVNETLE = 0x400454dc
35856- UMOUNT_NOFOLLOW = 0x8
35857- VDISCARD = 0xd
35858- VEOF = 0x4
35859- VEOL = 0xb
35860- VEOL2 = 0x10
35861- VERASE = 0x2
35862- VINTR = 0x0
35863- VKILL = 0x3
35864- VLNEXT = 0xf
35865- VMADDR_CID_ANY = 0xffffffff
35866- VMADDR_CID_HOST = 0x2
35867- VMADDR_CID_HYPERVISOR = 0x0
35868- VMADDR_CID_RESERVED = 0x1
35869- VMADDR_PORT_ANY = 0xffffffff
35870- VMIN = 0x6
35871- VM_SOCKETS_INVALID_VERSION = 0xffffffff
35872- VQUIT = 0x1
35873- VREPRINT = 0xc
35874- VSTART = 0x8
35875- VSTOP = 0x9
35876- VSUSP = 0xa
35877- VSWTC = 0x7
35878- VT0 = 0x0
35879- VT1 = 0x4000
35880- VTDLY = 0x4000
35881- VTIME = 0x5
35882- VWERASE = 0xe
35883- WALL = 0x40000000
35884- WCLONE = 0x80000000
35885- WCONTINUED = 0x8
35886- WEXITED = 0x4
35887- WNOHANG = 0x1
35888- WNOTHREAD = 0x20000000
35889- WNOWAIT = 0x1000000
35890- WORDSIZE = 0x40
35891- WSTOPPED = 0x2
35892- WUNTRACED = 0x2
35893- XATTR_CREATE = 0x1
35894- XATTR_REPLACE = 0x2
35895- XCASE = 0x4
35896- XTABS = 0x1800
35897+ B1000000 = 0x1008
35898+ B115200 = 0x1002
35899+ B1152000 = 0x1009
35900+ B1500000 = 0x100a
35901+ B2000000 = 0x100b
35902+ B230400 = 0x1003
35903+ B2500000 = 0x100c
35904+ B3000000 = 0x100d
35905+ B3500000 = 0x100e
35906+ B4000000 = 0x100f
35907+ B460800 = 0x1004
35908+ B500000 = 0x1005
35909+ B57600 = 0x1001
35910+ B576000 = 0x1006
35911+ B921600 = 0x1007
35912+ BLKBSZGET = 0x80081270
35913+ BLKBSZSET = 0x40081271
35914+ BLKFLSBUF = 0x1261
35915+ BLKFRAGET = 0x1265
35916+ BLKFRASET = 0x1264
35917+ BLKGETSIZE = 0x1260
35918+ BLKGETSIZE64 = 0x80081272
35919+ BLKPBSZGET = 0x127b
35920+ BLKRAGET = 0x1263
35921+ BLKRASET = 0x1262
35922+ BLKROGET = 0x125e
35923+ BLKROSET = 0x125d
35924+ BLKRRPART = 0x125f
35925+ BLKSECTGET = 0x1267
35926+ BLKSECTSET = 0x1266
35927+ BLKSSZGET = 0x1268
35928+ BOTHER = 0x1000
35929+ BS1 = 0x2000
35930+ BSDLY = 0x2000
35931+ CBAUD = 0x100f
35932+ CBAUDEX = 0x1000
35933+ CIBAUD = 0x100f0000
35934+ CLOCAL = 0x800
35935+ CR1 = 0x200
35936+ CR2 = 0x400
35937+ CR3 = 0x600
35938+ CRDLY = 0x600
35939+ CREAD = 0x80
35940+ CS6 = 0x10
35941+ CS7 = 0x20
35942+ CS8 = 0x30
35943+ CSIZE = 0x30
35944+ CSTOPB = 0x40
35945+ ECHOCTL = 0x200
35946+ ECHOE = 0x10
35947+ ECHOK = 0x20
35948+ ECHOKE = 0x800
35949+ ECHONL = 0x40
35950+ ECHOPRT = 0x400
35951+ EFD_CLOEXEC = 0x80000
35952+ EFD_NONBLOCK = 0x800
35953+ EPOLL_CLOEXEC = 0x80000
35954+ ESR_MAGIC = 0x45535201
35955+ EXTPROC = 0x10000
35956+ EXTRA_MAGIC = 0x45585401
35957+ FF1 = 0x8000
35958+ FFDLY = 0x8000
35959+ FLUSHO = 0x1000
35960+ FPSIMD_MAGIC = 0x46508001
35961+ FS_IOC_ENABLE_VERITY = 0x40806685
35962+ FS_IOC_GETFLAGS = 0x80086601
35963+ FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615
35964+ FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614
35965+ FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613
35966+ F_GETLK = 0x5
35967+ F_GETLK64 = 0x5
35968+ F_GETOWN = 0x9
35969+ F_RDLCK = 0x0
35970+ F_SETLK = 0x6
35971+ F_SETLK64 = 0x6
35972+ F_SETLKW = 0x7
35973+ F_SETLKW64 = 0x7
35974+ F_SETOWN = 0x8
35975+ F_UNLCK = 0x2
35976+ F_WRLCK = 0x1
35977+ HUPCL = 0x400
35978+ ICANON = 0x2
35979+ IEXTEN = 0x8000
35980+ IN_CLOEXEC = 0x80000
35981+ IN_NONBLOCK = 0x800
35982+ IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x7b9
35983+ ISIG = 0x1
35984+ IUCLC = 0x200
35985+ IXOFF = 0x1000
35986+ IXON = 0x400
35987+ MAP_ANON = 0x20
35988+ MAP_ANONYMOUS = 0x20
35989+ MAP_DENYWRITE = 0x800
35990+ MAP_EXECUTABLE = 0x1000
35991+ MAP_GROWSDOWN = 0x100
35992+ MAP_HUGETLB = 0x40000
35993+ MAP_LOCKED = 0x2000
35994+ MAP_NONBLOCK = 0x10000
35995+ MAP_NORESERVE = 0x4000
35996+ MAP_POPULATE = 0x8000
35997+ MAP_STACK = 0x20000
35998+ MAP_SYNC = 0x80000
35999+ MCL_CURRENT = 0x1
36000+ MCL_FUTURE = 0x2
36001+ MCL_ONFAULT = 0x4
36002+ NFDBITS = 0x40
36003+ NLDLY = 0x100
36004+ NOFLSH = 0x80
36005+ NS_GET_NSTYPE = 0xb703
36006+ NS_GET_OWNER_UID = 0xb704
36007+ NS_GET_PARENT = 0xb702
36008+ NS_GET_USERNS = 0xb701
36009+ OLCUC = 0x2
36010+ ONLCR = 0x4
36011+ O_APPEND = 0x400
36012+ O_ASYNC = 0x2000
36013+ O_CLOEXEC = 0x80000
36014+ O_CREAT = 0x40
36015+ O_DIRECT = 0x10000
36016+ O_DIRECTORY = 0x4000
36017+ O_DSYNC = 0x1000
36018+ O_EXCL = 0x80
36019+ O_FSYNC = 0x101000
36020+ O_LARGEFILE = 0x0
36021+ O_NDELAY = 0x800
36022+ O_NOATIME = 0x40000
36023+ O_NOCTTY = 0x100
36024+ O_NOFOLLOW = 0x8000
36025+ O_NONBLOCK = 0x800
36026+ O_PATH = 0x200000
36027+ O_RSYNC = 0x101000
36028+ O_SYNC = 0x101000
36029+ O_TMPFILE = 0x404000
36030+ O_TRUNC = 0x200
36031+ PARENB = 0x100
36032+ PARODD = 0x200
36033+ PENDIN = 0x4000
36034+ PERF_EVENT_IOC_DISABLE = 0x2401
36035+ PERF_EVENT_IOC_ENABLE = 0x2400
36036+ PERF_EVENT_IOC_ID = 0x80082407
36037+ PERF_EVENT_IOC_MODIFY_ATTRIBUTES = 0x4008240b
36038+ PERF_EVENT_IOC_PAUSE_OUTPUT = 0x40042409
36039+ PERF_EVENT_IOC_PERIOD = 0x40082404
36040+ PERF_EVENT_IOC_QUERY_BPF = 0xc008240a
36041+ PERF_EVENT_IOC_REFRESH = 0x2402
36042+ PERF_EVENT_IOC_RESET = 0x2403
36043+ PERF_EVENT_IOC_SET_BPF = 0x40042408
36044+ PERF_EVENT_IOC_SET_FILTER = 0x40082406
36045+ PERF_EVENT_IOC_SET_OUTPUT = 0x2405
36046+ PPPIOCATTACH = 0x4004743d
36047+ PPPIOCATTCHAN = 0x40047438
36048+ PPPIOCCONNECT = 0x4004743a
36049+ PPPIOCDETACH = 0x4004743c
36050+ PPPIOCDISCONN = 0x7439
36051+ PPPIOCGASYNCMAP = 0x80047458
36052+ PPPIOCGCHAN = 0x80047437
36053+ PPPIOCGDEBUG = 0x80047441
36054+ PPPIOCGFLAGS = 0x8004745a
36055+ PPPIOCGIDLE = 0x8010743f
36056+ PPPIOCGIDLE32 = 0x8008743f
36057+ PPPIOCGIDLE64 = 0x8010743f
36058+ PPPIOCGL2TPSTATS = 0x80487436
36059+ PPPIOCGMRU = 0x80047453
36060+ PPPIOCGRASYNCMAP = 0x80047455
36061+ PPPIOCGUNIT = 0x80047456
36062+ PPPIOCGXASYNCMAP = 0x80207450
36063+ PPPIOCSACTIVE = 0x40107446
36064+ PPPIOCSASYNCMAP = 0x40047457
36065+ PPPIOCSCOMPRESS = 0x4010744d
36066+ PPPIOCSDEBUG = 0x40047440
36067+ PPPIOCSFLAGS = 0x40047459
36068+ PPPIOCSMAXCID = 0x40047451
36069+ PPPIOCSMRRU = 0x4004743b
36070+ PPPIOCSMRU = 0x40047452
36071+ PPPIOCSNPMODE = 0x4008744b
36072+ PPPIOCSPASS = 0x40107447
36073+ PPPIOCSRASYNCMAP = 0x40047454
36074+ PPPIOCSXASYNCMAP = 0x4020744f
36075+ PPPIOCXFERUNIT = 0x744e
36076+ PR_SET_PTRACER_ANY = 0xffffffffffffffff
36077+ PTRACE_SYSEMU = 0x1f
36078+ PTRACE_SYSEMU_SINGLESTEP = 0x20
36079+ RLIMIT_AS = 0x9
36080+ RLIMIT_MEMLOCK = 0x8
36081+ RLIMIT_NOFILE = 0x7
36082+ RLIMIT_NPROC = 0x6
36083+ RLIMIT_RSS = 0x5
36084+ RNDADDENTROPY = 0x40085203
36085+ RNDADDTOENTCNT = 0x40045201
36086+ RNDCLEARPOOL = 0x5206
36087+ RNDGETENTCNT = 0x80045200
36088+ RNDGETPOOL = 0x80085202
36089+ RNDRESEEDCRNG = 0x5207
36090+ RNDZAPENTCNT = 0x5204
36091+ RTC_AIE_OFF = 0x7002
36092+ RTC_AIE_ON = 0x7001
36093+ RTC_ALM_READ = 0x80247008
36094+ RTC_ALM_SET = 0x40247007
36095+ RTC_EPOCH_READ = 0x8008700d
36096+ RTC_EPOCH_SET = 0x4008700e
36097+ RTC_IRQP_READ = 0x8008700b
36098+ RTC_IRQP_SET = 0x4008700c
36099+ RTC_PIE_OFF = 0x7006
36100+ RTC_PIE_ON = 0x7005
36101+ RTC_PLL_GET = 0x80207011
36102+ RTC_PLL_SET = 0x40207012
36103+ RTC_RD_TIME = 0x80247009
36104+ RTC_SET_TIME = 0x4024700a
36105+ RTC_UIE_OFF = 0x7004
36106+ RTC_UIE_ON = 0x7003
36107+ RTC_VL_CLR = 0x7014
36108+ RTC_VL_READ = 0x80047013
36109+ RTC_WIE_OFF = 0x7010
36110+ RTC_WIE_ON = 0x700f
36111+ RTC_WKALM_RD = 0x80287010
36112+ RTC_WKALM_SET = 0x4028700f
36113+ SCM_TIMESTAMPING = 0x25
36114+ SCM_TIMESTAMPING_OPT_STATS = 0x36
36115+ SCM_TIMESTAMPING_PKTINFO = 0x3a
36116+ SCM_TIMESTAMPNS = 0x23
36117+ SCM_TXTIME = 0x3d
36118+ SCM_WIFI_STATUS = 0x29
36119+ SFD_CLOEXEC = 0x80000
36120+ SFD_NONBLOCK = 0x800
36121+ SIOCATMARK = 0x8905
36122+ SIOCGPGRP = 0x8904
36123+ SIOCGSTAMPNS_NEW = 0x80108907
36124+ SIOCGSTAMP_NEW = 0x80108906
36125+ SIOCINQ = 0x541b
36126+ SIOCOUTQ = 0x5411
36127+ SIOCSPGRP = 0x8902
36128+ SOCK_CLOEXEC = 0x80000
36129+ SOCK_DGRAM = 0x2
36130+ SOCK_NONBLOCK = 0x800
36131+ SOCK_STREAM = 0x1
36132+ SOL_SOCKET = 0x1
36133+ SO_ACCEPTCONN = 0x1e
36134+ SO_ATTACH_BPF = 0x32
36135+ SO_ATTACH_REUSEPORT_CBPF = 0x33
36136+ SO_ATTACH_REUSEPORT_EBPF = 0x34
36137+ SO_BINDTODEVICE = 0x19
36138+ SO_BINDTOIFINDEX = 0x3e
36139+ SO_BPF_EXTENSIONS = 0x30
36140+ SO_BROADCAST = 0x6
36141+ SO_BSDCOMPAT = 0xe
36142+ SO_BUSY_POLL = 0x2e
36143+ SO_CNX_ADVICE = 0x35
36144+ SO_COOKIE = 0x39
36145+ SO_DETACH_REUSEPORT_BPF = 0x44
36146+ SO_DOMAIN = 0x27
36147+ SO_DONTROUTE = 0x5
36148+ SO_ERROR = 0x4
36149+ SO_INCOMING_CPU = 0x31
36150+ SO_INCOMING_NAPI_ID = 0x38
36151+ SO_KEEPALIVE = 0x9
36152+ SO_LINGER = 0xd
36153+ SO_LOCK_FILTER = 0x2c
36154+ SO_MARK = 0x24
36155+ SO_MAX_PACING_RATE = 0x2f
36156+ SO_MEMINFO = 0x37
36157+ SO_NOFCS = 0x2b
36158+ SO_OOBINLINE = 0xa
36159+ SO_PASSCRED = 0x10
36160+ SO_PASSSEC = 0x22
36161+ SO_PEEK_OFF = 0x2a
36162+ SO_PEERCRED = 0x11
36163+ SO_PEERGROUPS = 0x3b
36164+ SO_PEERSEC = 0x1f
36165+ SO_PROTOCOL = 0x26
36166+ SO_RCVBUF = 0x8
36167+ SO_RCVBUFFORCE = 0x21
36168+ SO_RCVLOWAT = 0x12
36169+ SO_RCVTIMEO = 0x14
36170+ SO_RCVTIMEO_NEW = 0x42
36171+ SO_RCVTIMEO_OLD = 0x14
36172+ SO_REUSEADDR = 0x2
36173+ SO_REUSEPORT = 0xf
36174+ SO_RXQ_OVFL = 0x28
36175+ SO_SECURITY_AUTHENTICATION = 0x16
36176+ SO_SECURITY_ENCRYPTION_NETWORK = 0x18
36177+ SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
36178+ SO_SELECT_ERR_QUEUE = 0x2d
36179+ SO_SNDBUF = 0x7
36180+ SO_SNDBUFFORCE = 0x20
36181+ SO_SNDLOWAT = 0x13
36182+ SO_SNDTIMEO = 0x15
36183+ SO_SNDTIMEO_NEW = 0x43
36184+ SO_SNDTIMEO_OLD = 0x15
36185+ SO_TIMESTAMPING = 0x25
36186+ SO_TIMESTAMPING_NEW = 0x41
36187+ SO_TIMESTAMPING_OLD = 0x25
36188+ SO_TIMESTAMPNS = 0x23
36189+ SO_TIMESTAMPNS_NEW = 0x40
36190+ SO_TIMESTAMPNS_OLD = 0x23
36191+ SO_TIMESTAMP_NEW = 0x3f
36192+ SO_TXTIME = 0x3d
36193+ SO_TYPE = 0x3
36194+ SO_WIFI_STATUS = 0x29
36195+ SO_ZEROCOPY = 0x3c
36196+ SVE_MAGIC = 0x53564501
36197+ TAB1 = 0x800
36198+ TAB2 = 0x1000
36199+ TAB3 = 0x1800
36200+ TABDLY = 0x1800
36201+ TCFLSH = 0x540b
36202+ TCGETA = 0x5405
36203+ TCGETS = 0x5401
36204+ TCGETS2 = 0x802c542a
36205+ TCGETX = 0x5432
36206+ TCSAFLUSH = 0x2
36207+ TCSBRK = 0x5409
36208+ TCSBRKP = 0x5425
36209+ TCSETA = 0x5406
36210+ TCSETAF = 0x5408
36211+ TCSETAW = 0x5407
36212+ TCSETS = 0x5402
36213+ TCSETS2 = 0x402c542b
36214+ TCSETSF = 0x5404
36215+ TCSETSF2 = 0x402c542d
36216+ TCSETSW = 0x5403
36217+ TCSETSW2 = 0x402c542c
36218+ TCSETX = 0x5433
36219+ TCSETXF = 0x5434
36220+ TCSETXW = 0x5435
36221+ TCXONC = 0x540a
36222+ TIOCCBRK = 0x5428
36223+ TIOCCONS = 0x541d
36224+ TIOCEXCL = 0x540c
36225+ TIOCGDEV = 0x80045432
36226+ TIOCGETD = 0x5424
36227+ TIOCGEXCL = 0x80045440
36228+ TIOCGICOUNT = 0x545d
36229+ TIOCGISO7816 = 0x80285442
36230+ TIOCGLCKTRMIOS = 0x5456
36231+ TIOCGPGRP = 0x540f
36232+ TIOCGPKT = 0x80045438
36233+ TIOCGPTLCK = 0x80045439
36234+ TIOCGPTN = 0x80045430
36235+ TIOCGPTPEER = 0x5441
36236+ TIOCGRS485 = 0x542e
36237+ TIOCGSERIAL = 0x541e
36238+ TIOCGSID = 0x5429
36239+ TIOCGSOFTCAR = 0x5419
36240+ TIOCGWINSZ = 0x5413
36241+ TIOCINQ = 0x541b
36242+ TIOCLINUX = 0x541c
36243+ TIOCMBIC = 0x5417
36244+ TIOCMBIS = 0x5416
36245+ TIOCMGET = 0x5415
36246+ TIOCMIWAIT = 0x545c
36247+ TIOCMSET = 0x5418
36248+ TIOCM_CAR = 0x40
36249+ TIOCM_CD = 0x40
36250+ TIOCM_CTS = 0x20
36251+ TIOCM_DSR = 0x100
36252+ TIOCM_RI = 0x80
36253+ TIOCM_RNG = 0x80
36254+ TIOCM_SR = 0x10
36255+ TIOCM_ST = 0x8
36256+ TIOCNOTTY = 0x5422
36257+ TIOCNXCL = 0x540d
36258+ TIOCOUTQ = 0x5411
36259+ TIOCPKT = 0x5420
36260+ TIOCSBRK = 0x5427
36261+ TIOCSCTTY = 0x540e
36262+ TIOCSERCONFIG = 0x5453
36263+ TIOCSERGETLSR = 0x5459
36264+ TIOCSERGETMULTI = 0x545a
36265+ TIOCSERGSTRUCT = 0x5458
36266+ TIOCSERGWILD = 0x5454
36267+ TIOCSERSETMULTI = 0x545b
36268+ TIOCSERSWILD = 0x5455
36269+ TIOCSER_TEMT = 0x1
36270+ TIOCSETD = 0x5423
36271+ TIOCSIG = 0x40045436
36272+ TIOCSISO7816 = 0xc0285443
36273+ TIOCSLCKTRMIOS = 0x5457
36274+ TIOCSPGRP = 0x5410
36275+ TIOCSPTLCK = 0x40045431
36276+ TIOCSRS485 = 0x542f
36277+ TIOCSSERIAL = 0x541f
36278+ TIOCSSOFTCAR = 0x541a
36279+ TIOCSTI = 0x5412
36280+ TIOCSWINSZ = 0x5414
36281+ TIOCVHANGUP = 0x5437
36282+ TOSTOP = 0x100
36283+ TUNATTACHFILTER = 0x401054d5
36284+ TUNDETACHFILTER = 0x401054d6
36285+ TUNGETDEVNETNS = 0x54e3
36286+ TUNGETFEATURES = 0x800454cf
36287+ TUNGETFILTER = 0x801054db
36288+ TUNGETIFF = 0x800454d2
36289+ TUNGETSNDBUF = 0x800454d3
36290+ TUNGETVNETBE = 0x800454df
36291+ TUNGETVNETHDRSZ = 0x800454d7
36292+ TUNGETVNETLE = 0x800454dd
36293+ TUNSETCARRIER = 0x400454e2
36294+ TUNSETDEBUG = 0x400454c9
36295+ TUNSETFILTEREBPF = 0x800454e1
36296+ TUNSETGROUP = 0x400454ce
36297+ TUNSETIFF = 0x400454ca
36298+ TUNSETIFINDEX = 0x400454da
36299+ TUNSETLINK = 0x400454cd
36300+ TUNSETNOCSUM = 0x400454c8
36301+ TUNSETOFFLOAD = 0x400454d0
36302+ TUNSETOWNER = 0x400454cc
36303+ TUNSETPERSIST = 0x400454cb
36304+ TUNSETQUEUE = 0x400454d9
36305+ TUNSETSNDBUF = 0x400454d4
36306+ TUNSETSTEERINGEBPF = 0x800454e0
36307+ TUNSETTXFILTER = 0x400454d1
36308+ TUNSETVNETBE = 0x400454de
36309+ TUNSETVNETHDRSZ = 0x400454d8
36310+ TUNSETVNETLE = 0x400454dc
36311+ UBI_IOCATT = 0x40186f40
36312+ UBI_IOCDET = 0x40046f41
36313+ UBI_IOCEBCH = 0x40044f02
36314+ UBI_IOCEBER = 0x40044f01
36315+ UBI_IOCEBISMAP = 0x80044f05
36316+ UBI_IOCEBMAP = 0x40084f03
36317+ UBI_IOCEBUNMAP = 0x40044f04
36318+ UBI_IOCMKVOL = 0x40986f00
36319+ UBI_IOCRMVOL = 0x40046f01
36320+ UBI_IOCRNVOL = 0x51106f03
36321+ UBI_IOCRPEB = 0x40046f04
36322+ UBI_IOCRSVOL = 0x400c6f02
36323+ UBI_IOCSETVOLPROP = 0x40104f06
36324+ UBI_IOCSPEB = 0x40046f05
36325+ UBI_IOCVOLCRBLK = 0x40804f07
36326+ UBI_IOCVOLRMBLK = 0x4f08
36327+ UBI_IOCVOLUP = 0x40084f00
36328+ VDISCARD = 0xd
36329+ VEOF = 0x4
36330+ VEOL = 0xb
36331+ VEOL2 = 0x10
36332+ VMIN = 0x6
36333+ VREPRINT = 0xc
36334+ VSTART = 0x8
36335+ VSTOP = 0x9
36336+ VSUSP = 0xa
36337+ VSWTC = 0x7
36338+ VT1 = 0x4000
36339+ VTDLY = 0x4000
36340+ VTIME = 0x5
36341+ VWERASE = 0xe
36342+ WDIOC_GETBOOTSTATUS = 0x80045702
36343+ WDIOC_GETPRETIMEOUT = 0x80045709
36344+ WDIOC_GETSTATUS = 0x80045701
36345+ WDIOC_GETSUPPORT = 0x80285700
36346+ WDIOC_GETTEMP = 0x80045703
36347+ WDIOC_GETTIMELEFT = 0x8004570a
36348+ WDIOC_GETTIMEOUT = 0x80045707
36349+ WDIOC_KEEPALIVE = 0x80045705
36350+ WDIOC_SETOPTIONS = 0x80045704
36351+ WORDSIZE = 0x40
36352+ XCASE = 0x4
36353+ XTABS = 0x1800
36354 )
36355
36356 // Errors
36357 const (
36358- E2BIG = syscall.Errno(0x7)
36359- EACCES = syscall.Errno(0xd)
36360 EADDRINUSE = syscall.Errno(0x62)
36361 EADDRNOTAVAIL = syscall.Errno(0x63)
36362 EADV = syscall.Errno(0x44)
36363 EAFNOSUPPORT = syscall.Errno(0x61)
36364- EAGAIN = syscall.Errno(0xb)
36365 EALREADY = syscall.Errno(0x72)
36366 EBADE = syscall.Errno(0x34)
36367- EBADF = syscall.Errno(0x9)
36368 EBADFD = syscall.Errno(0x4d)
36369 EBADMSG = syscall.Errno(0x4a)
36370 EBADR = syscall.Errno(0x35)
36371 EBADRQC = syscall.Errno(0x38)
36372 EBADSLT = syscall.Errno(0x39)
36373 EBFONT = syscall.Errno(0x3b)
36374- EBUSY = syscall.Errno(0x10)
36375 ECANCELED = syscall.Errno(0x7d)
36376- ECHILD = syscall.Errno(0xa)
36377 ECHRNG = syscall.Errno(0x2c)
36378 ECOMM = syscall.Errno(0x46)
36379 ECONNABORTED = syscall.Errno(0x67)
36380@@ -1871,23 +493,15 @@ const (
36381 EDEADLK = syscall.Errno(0x23)
36382 EDEADLOCK = syscall.Errno(0x23)
36383 EDESTADDRREQ = syscall.Errno(0x59)
36384- EDOM = syscall.Errno(0x21)
36385 EDOTDOT = syscall.Errno(0x49)
36386 EDQUOT = syscall.Errno(0x7a)
36387- EEXIST = syscall.Errno(0x11)
36388- EFAULT = syscall.Errno(0xe)
36389- EFBIG = syscall.Errno(0x1b)
36390 EHOSTDOWN = syscall.Errno(0x70)
36391 EHOSTUNREACH = syscall.Errno(0x71)
36392 EHWPOISON = syscall.Errno(0x85)
36393 EIDRM = syscall.Errno(0x2b)
36394 EILSEQ = syscall.Errno(0x54)
36395 EINPROGRESS = syscall.Errno(0x73)
36396- EINTR = syscall.Errno(0x4)
36397- EINVAL = syscall.Errno(0x16)
36398- EIO = syscall.Errno(0x5)
36399 EISCONN = syscall.Errno(0x6a)
36400- EISDIR = syscall.Errno(0x15)
36401 EISNAM = syscall.Errno(0x78)
36402 EKEYEXPIRED = syscall.Errno(0x7f)
36403 EKEYREJECTED = syscall.Errno(0x81)
36404@@ -1904,8 +518,6 @@ const (
36405 ELNRNG = syscall.Errno(0x30)
36406 ELOOP = syscall.Errno(0x28)
36407 EMEDIUMTYPE = syscall.Errno(0x7c)
36408- EMFILE = syscall.Errno(0x18)
36409- EMLINK = syscall.Errno(0x1f)
36410 EMSGSIZE = syscall.Errno(0x5a)
36411 EMULTIHOP = syscall.Errno(0x48)
36412 ENAMETOOLONG = syscall.Errno(0x24)
36413@@ -1913,103 +525,70 @@ const (
36414 ENETDOWN = syscall.Errno(0x64)
36415 ENETRESET = syscall.Errno(0x66)
36416 ENETUNREACH = syscall.Errno(0x65)
36417- ENFILE = syscall.Errno(0x17)
36418 ENOANO = syscall.Errno(0x37)
36419 ENOBUFS = syscall.Errno(0x69)
36420 ENOCSI = syscall.Errno(0x32)
36421 ENODATA = syscall.Errno(0x3d)
36422- ENODEV = syscall.Errno(0x13)
36423- ENOENT = syscall.Errno(0x2)
36424- ENOEXEC = syscall.Errno(0x8)
36425 ENOKEY = syscall.Errno(0x7e)
36426 ENOLCK = syscall.Errno(0x25)
36427 ENOLINK = syscall.Errno(0x43)
36428 ENOMEDIUM = syscall.Errno(0x7b)
36429- ENOMEM = syscall.Errno(0xc)
36430 ENOMSG = syscall.Errno(0x2a)
36431 ENONET = syscall.Errno(0x40)
36432 ENOPKG = syscall.Errno(0x41)
36433 ENOPROTOOPT = syscall.Errno(0x5c)
36434- ENOSPC = syscall.Errno(0x1c)
36435 ENOSR = syscall.Errno(0x3f)
36436 ENOSTR = syscall.Errno(0x3c)
36437 ENOSYS = syscall.Errno(0x26)
36438- ENOTBLK = syscall.Errno(0xf)
36439 ENOTCONN = syscall.Errno(0x6b)
36440- ENOTDIR = syscall.Errno(0x14)
36441 ENOTEMPTY = syscall.Errno(0x27)
36442 ENOTNAM = syscall.Errno(0x76)
36443 ENOTRECOVERABLE = syscall.Errno(0x83)
36444 ENOTSOCK = syscall.Errno(0x58)
36445 ENOTSUP = syscall.Errno(0x5f)
36446- ENOTTY = syscall.Errno(0x19)
36447 ENOTUNIQ = syscall.Errno(0x4c)
36448- ENXIO = syscall.Errno(0x6)
36449 EOPNOTSUPP = syscall.Errno(0x5f)
36450 EOVERFLOW = syscall.Errno(0x4b)
36451 EOWNERDEAD = syscall.Errno(0x82)
36452- EPERM = syscall.Errno(0x1)
36453 EPFNOSUPPORT = syscall.Errno(0x60)
36454- EPIPE = syscall.Errno(0x20)
36455 EPROTO = syscall.Errno(0x47)
36456 EPROTONOSUPPORT = syscall.Errno(0x5d)
36457 EPROTOTYPE = syscall.Errno(0x5b)
36458- ERANGE = syscall.Errno(0x22)
36459 EREMCHG = syscall.Errno(0x4e)
36460 EREMOTE = syscall.Errno(0x42)
36461 EREMOTEIO = syscall.Errno(0x79)
36462 ERESTART = syscall.Errno(0x55)
36463 ERFKILL = syscall.Errno(0x84)
36464- EROFS = syscall.Errno(0x1e)
36465 ESHUTDOWN = syscall.Errno(0x6c)
36466 ESOCKTNOSUPPORT = syscall.Errno(0x5e)
36467- ESPIPE = syscall.Errno(0x1d)
36468- ESRCH = syscall.Errno(0x3)
36469 ESRMNT = syscall.Errno(0x45)
36470 ESTALE = syscall.Errno(0x74)
36471 ESTRPIPE = syscall.Errno(0x56)
36472 ETIME = syscall.Errno(0x3e)
36473 ETIMEDOUT = syscall.Errno(0x6e)
36474 ETOOMANYREFS = syscall.Errno(0x6d)
36475- ETXTBSY = syscall.Errno(0x1a)
36476 EUCLEAN = syscall.Errno(0x75)
36477 EUNATCH = syscall.Errno(0x31)
36478 EUSERS = syscall.Errno(0x57)
36479- EWOULDBLOCK = syscall.Errno(0xb)
36480- EXDEV = syscall.Errno(0x12)
36481 EXFULL = syscall.Errno(0x36)
36482 )
36483
36484 // Signals
36485 const (
36486- SIGABRT = syscall.Signal(0x6)
36487- SIGALRM = syscall.Signal(0xe)
36488 SIGBUS = syscall.Signal(0x7)
36489 SIGCHLD = syscall.Signal(0x11)
36490 SIGCLD = syscall.Signal(0x11)
36491 SIGCONT = syscall.Signal(0x12)
36492- SIGFPE = syscall.Signal(0x8)
36493- SIGHUP = syscall.Signal(0x1)
36494- SIGILL = syscall.Signal(0x4)
36495- SIGINT = syscall.Signal(0x2)
36496 SIGIO = syscall.Signal(0x1d)
36497- SIGIOT = syscall.Signal(0x6)
36498- SIGKILL = syscall.Signal(0x9)
36499- SIGPIPE = syscall.Signal(0xd)
36500 SIGPOLL = syscall.Signal(0x1d)
36501 SIGPROF = syscall.Signal(0x1b)
36502 SIGPWR = syscall.Signal(0x1e)
36503- SIGQUIT = syscall.Signal(0x3)
36504- SIGSEGV = syscall.Signal(0xb)
36505 SIGSTKFLT = syscall.Signal(0x10)
36506 SIGSTOP = syscall.Signal(0x13)
36507 SIGSYS = syscall.Signal(0x1f)
36508- SIGTERM = syscall.Signal(0xf)
36509- SIGTRAP = syscall.Signal(0x5)
36510 SIGTSTP = syscall.Signal(0x14)
36511 SIGTTIN = syscall.Signal(0x15)
36512 SIGTTOU = syscall.Signal(0x16)
36513- SIGUNUSED = syscall.Signal(0x1f)
36514 SIGURG = syscall.Signal(0x17)
36515 SIGUSR1 = syscall.Signal(0xa)
36516 SIGUSR2 = syscall.Signal(0xc)
36517@@ -2020,171 +599,179 @@ const (
36518 )
36519
36520 // Error table
36521-var errors = [...]string{
36522- 1: "operation not permitted",
36523- 2: "no such file or directory",
36524- 3: "no such process",
36525- 4: "interrupted system call",
36526- 5: "input/output error",
36527- 6: "no such device or address",
36528- 7: "argument list too long",
36529- 8: "exec format error",
36530- 9: "bad file descriptor",
36531- 10: "no child processes",
36532- 11: "resource temporarily unavailable",
36533- 12: "cannot allocate memory",
36534- 13: "permission denied",
36535- 14: "bad address",
36536- 15: "block device required",
36537- 16: "device or resource busy",
36538- 17: "file exists",
36539- 18: "invalid cross-device link",
36540- 19: "no such device",
36541- 20: "not a directory",
36542- 21: "is a directory",
36543- 22: "invalid argument",
36544- 23: "too many open files in system",
36545- 24: "too many open files",
36546- 25: "inappropriate ioctl for device",
36547- 26: "text file busy",
36548- 27: "file too large",
36549- 28: "no space left on device",
36550- 29: "illegal seek",
36551- 30: "read-only file system",
36552- 31: "too many links",
36553- 32: "broken pipe",
36554- 33: "numerical argument out of domain",
36555- 34: "numerical result out of range",
36556- 35: "resource deadlock avoided",
36557- 36: "file name too long",
36558- 37: "no locks available",
36559- 38: "function not implemented",
36560- 39: "directory not empty",
36561- 40: "too many levels of symbolic links",
36562- 42: "no message of desired type",
36563- 43: "identifier removed",
36564- 44: "channel number out of range",
36565- 45: "level 2 not synchronized",
36566- 46: "level 3 halted",
36567- 47: "level 3 reset",
36568- 48: "link number out of range",
36569- 49: "protocol driver not attached",
36570- 50: "no CSI structure available",
36571- 51: "level 2 halted",
36572- 52: "invalid exchange",
36573- 53: "invalid request descriptor",
36574- 54: "exchange full",
36575- 55: "no anode",
36576- 56: "invalid request code",
36577- 57: "invalid slot",
36578- 59: "bad font file format",
36579- 60: "device not a stream",
36580- 61: "no data available",
36581- 62: "timer expired",
36582- 63: "out of streams resources",
36583- 64: "machine is not on the network",
36584- 65: "package not installed",
36585- 66: "object is remote",
36586- 67: "link has been severed",
36587- 68: "advertise error",
36588- 69: "srmount error",
36589- 70: "communication error on send",
36590- 71: "protocol error",
36591- 72: "multihop attempted",
36592- 73: "RFS specific error",
36593- 74: "bad message",
36594- 75: "value too large for defined data type",
36595- 76: "name not unique on network",
36596- 77: "file descriptor in bad state",
36597- 78: "remote address changed",
36598- 79: "can not access a needed shared library",
36599- 80: "accessing a corrupted shared library",
36600- 81: ".lib section in a.out corrupted",
36601- 82: "attempting to link in too many shared libraries",
36602- 83: "cannot exec a shared library directly",
36603- 84: "invalid or incomplete multibyte or wide character",
36604- 85: "interrupted system call should be restarted",
36605- 86: "streams pipe error",
36606- 87: "too many users",
36607- 88: "socket operation on non-socket",
36608- 89: "destination address required",
36609- 90: "message too long",
36610- 91: "protocol wrong type for socket",
36611- 92: "protocol not available",
36612- 93: "protocol not supported",
36613- 94: "socket type not supported",
36614- 95: "operation not supported",
36615- 96: "protocol family not supported",
36616- 97: "address family not supported by protocol",
36617- 98: "address already in use",
36618- 99: "cannot assign requested address",
36619- 100: "network is down",
36620- 101: "network is unreachable",
36621- 102: "network dropped connection on reset",
36622- 103: "software caused connection abort",
36623- 104: "connection reset by peer",
36624- 105: "no buffer space available",
36625- 106: "transport endpoint is already connected",
36626- 107: "transport endpoint is not connected",
36627- 108: "cannot send after transport endpoint shutdown",
36628- 109: "too many references: cannot splice",
36629- 110: "connection timed out",
36630- 111: "connection refused",
36631- 112: "host is down",
36632- 113: "no route to host",
36633- 114: "operation already in progress",
36634- 115: "operation now in progress",
36635- 116: "stale file handle",
36636- 117: "structure needs cleaning",
36637- 118: "not a XENIX named type file",
36638- 119: "no XENIX semaphores available",
36639- 120: "is a named type file",
36640- 121: "remote I/O error",
36641- 122: "disk quota exceeded",
36642- 123: "no medium found",
36643- 124: "wrong medium type",
36644- 125: "operation canceled",
36645- 126: "required key not available",
36646- 127: "key has expired",
36647- 128: "key has been revoked",
36648- 129: "key was rejected by service",
36649- 130: "owner died",
36650- 131: "state not recoverable",
36651- 132: "operation not possible due to RF-kill",
36652- 133: "memory page has hardware error",
36653+var errorList = [...]struct {
36654+ num syscall.Errno
36655+ name string
36656+ desc string
36657+}{
36658+ {1, "EPERM", "operation not permitted"},
36659+ {2, "ENOENT", "no such file or directory"},
36660+ {3, "ESRCH", "no such process"},
36661+ {4, "EINTR", "interrupted system call"},
36662+ {5, "EIO", "input/output error"},
36663+ {6, "ENXIO", "no such device or address"},
36664+ {7, "E2BIG", "argument list too long"},
36665+ {8, "ENOEXEC", "exec format error"},
36666+ {9, "EBADF", "bad file descriptor"},
36667+ {10, "ECHILD", "no child processes"},
36668+ {11, "EAGAIN", "resource temporarily unavailable"},
36669+ {12, "ENOMEM", "cannot allocate memory"},
36670+ {13, "EACCES", "permission denied"},
36671+ {14, "EFAULT", "bad address"},
36672+ {15, "ENOTBLK", "block device required"},
36673+ {16, "EBUSY", "device or resource busy"},
36674+ {17, "EEXIST", "file exists"},
36675+ {18, "EXDEV", "invalid cross-device link"},
36676+ {19, "ENODEV", "no such device"},
36677+ {20, "ENOTDIR", "not a directory"},
36678+ {21, "EISDIR", "is a directory"},
36679+ {22, "EINVAL", "invalid argument"},
36680+ {23, "ENFILE", "too many open files in system"},
36681+ {24, "EMFILE", "too many open files"},
36682+ {25, "ENOTTY", "inappropriate ioctl for device"},
36683+ {26, "ETXTBSY", "text file busy"},
36684+ {27, "EFBIG", "file too large"},
36685+ {28, "ENOSPC", "no space left on device"},
36686+ {29, "ESPIPE", "illegal seek"},
36687+ {30, "EROFS", "read-only file system"},
36688+ {31, "EMLINK", "too many links"},
36689+ {32, "EPIPE", "broken pipe"},
36690+ {33, "EDOM", "numerical argument out of domain"},
36691+ {34, "ERANGE", "numerical result out of range"},
36692+ {35, "EDEADLK", "resource deadlock avoided"},
36693+ {36, "ENAMETOOLONG", "file name too long"},
36694+ {37, "ENOLCK", "no locks available"},
36695+ {38, "ENOSYS", "function not implemented"},
36696+ {39, "ENOTEMPTY", "directory not empty"},
36697+ {40, "ELOOP", "too many levels of symbolic links"},
36698+ {42, "ENOMSG", "no message of desired type"},
36699+ {43, "EIDRM", "identifier removed"},
36700+ {44, "ECHRNG", "channel number out of range"},
36701+ {45, "EL2NSYNC", "level 2 not synchronized"},
36702+ {46, "EL3HLT", "level 3 halted"},
36703+ {47, "EL3RST", "level 3 reset"},
36704+ {48, "ELNRNG", "link number out of range"},
36705+ {49, "EUNATCH", "protocol driver not attached"},
36706+ {50, "ENOCSI", "no CSI structure available"},
36707+ {51, "EL2HLT", "level 2 halted"},
36708+ {52, "EBADE", "invalid exchange"},
36709+ {53, "EBADR", "invalid request descriptor"},
36710+ {54, "EXFULL", "exchange full"},
36711+ {55, "ENOANO", "no anode"},
36712+ {56, "EBADRQC", "invalid request code"},
36713+ {57, "EBADSLT", "invalid slot"},
36714+ {59, "EBFONT", "bad font file format"},
36715+ {60, "ENOSTR", "device not a stream"},
36716+ {61, "ENODATA", "no data available"},
36717+ {62, "ETIME", "timer expired"},
36718+ {63, "ENOSR", "out of streams resources"},
36719+ {64, "ENONET", "machine is not on the network"},
36720+ {65, "ENOPKG", "package not installed"},
36721+ {66, "EREMOTE", "object is remote"},
36722+ {67, "ENOLINK", "link has been severed"},
36723+ {68, "EADV", "advertise error"},
36724+ {69, "ESRMNT", "srmount error"},
36725+ {70, "ECOMM", "communication error on send"},
36726+ {71, "EPROTO", "protocol error"},
36727+ {72, "EMULTIHOP", "multihop attempted"},
36728+ {73, "EDOTDOT", "RFS specific error"},
36729+ {74, "EBADMSG", "bad message"},
36730+ {75, "EOVERFLOW", "value too large for defined data type"},
36731+ {76, "ENOTUNIQ", "name not unique on network"},
36732+ {77, "EBADFD", "file descriptor in bad state"},
36733+ {78, "EREMCHG", "remote address changed"},
36734+ {79, "ELIBACC", "can not access a needed shared library"},
36735+ {80, "ELIBBAD", "accessing a corrupted shared library"},
36736+ {81, "ELIBSCN", ".lib section in a.out corrupted"},
36737+ {82, "ELIBMAX", "attempting to link in too many shared libraries"},
36738+ {83, "ELIBEXEC", "cannot exec a shared library directly"},
36739+ {84, "EILSEQ", "invalid or incomplete multibyte or wide character"},
36740+ {85, "ERESTART", "interrupted system call should be restarted"},
36741+ {86, "ESTRPIPE", "streams pipe error"},
36742+ {87, "EUSERS", "too many users"},
36743+ {88, "ENOTSOCK", "socket operation on non-socket"},
36744+ {89, "EDESTADDRREQ", "destination address required"},
36745+ {90, "EMSGSIZE", "message too long"},
36746+ {91, "EPROTOTYPE", "protocol wrong type for socket"},
36747+ {92, "ENOPROTOOPT", "protocol not available"},
36748+ {93, "EPROTONOSUPPORT", "protocol not supported"},
36749+ {94, "ESOCKTNOSUPPORT", "socket type not supported"},
36750+ {95, "ENOTSUP", "operation not supported"},
36751+ {96, "EPFNOSUPPORT", "protocol family not supported"},
36752+ {97, "EAFNOSUPPORT", "address family not supported by protocol"},
36753+ {98, "EADDRINUSE", "address already in use"},
36754+ {99, "EADDRNOTAVAIL", "cannot assign requested address"},
36755+ {100, "ENETDOWN", "network is down"},
36756+ {101, "ENETUNREACH", "network is unreachable"},
36757+ {102, "ENETRESET", "network dropped connection on reset"},
36758+ {103, "ECONNABORTED", "software caused connection abort"},
36759+ {104, "ECONNRESET", "connection reset by peer"},
36760+ {105, "ENOBUFS", "no buffer space available"},
36761+ {106, "EISCONN", "transport endpoint is already connected"},
36762+ {107, "ENOTCONN", "transport endpoint is not connected"},
36763+ {108, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
36764+ {109, "ETOOMANYREFS", "too many references: cannot splice"},
36765+ {110, "ETIMEDOUT", "connection timed out"},
36766+ {111, "ECONNREFUSED", "connection refused"},
36767+ {112, "EHOSTDOWN", "host is down"},
36768+ {113, "EHOSTUNREACH", "no route to host"},
36769+ {114, "EALREADY", "operation already in progress"},
36770+ {115, "EINPROGRESS", "operation now in progress"},
36771+ {116, "ESTALE", "stale file handle"},
36772+ {117, "EUCLEAN", "structure needs cleaning"},
36773+ {118, "ENOTNAM", "not a XENIX named type file"},
36774+ {119, "ENAVAIL", "no XENIX semaphores available"},
36775+ {120, "EISNAM", "is a named type file"},
36776+ {121, "EREMOTEIO", "remote I/O error"},
36777+ {122, "EDQUOT", "disk quota exceeded"},
36778+ {123, "ENOMEDIUM", "no medium found"},
36779+ {124, "EMEDIUMTYPE", "wrong medium type"},
36780+ {125, "ECANCELED", "operation canceled"},
36781+ {126, "ENOKEY", "required key not available"},
36782+ {127, "EKEYEXPIRED", "key has expired"},
36783+ {128, "EKEYREVOKED", "key has been revoked"},
36784+ {129, "EKEYREJECTED", "key was rejected by service"},
36785+ {130, "EOWNERDEAD", "owner died"},
36786+ {131, "ENOTRECOVERABLE", "state not recoverable"},
36787+ {132, "ERFKILL", "operation not possible due to RF-kill"},
36788+ {133, "EHWPOISON", "memory page has hardware error"},
36789 }
36790
36791 // Signal table
36792-var signals = [...]string{
36793- 1: "hangup",
36794- 2: "interrupt",
36795- 3: "quit",
36796- 4: "illegal instruction",
36797- 5: "trace/breakpoint trap",
36798- 6: "aborted",
36799- 7: "bus error",
36800- 8: "floating point exception",
36801- 9: "killed",
36802- 10: "user defined signal 1",
36803- 11: "segmentation fault",
36804- 12: "user defined signal 2",
36805- 13: "broken pipe",
36806- 14: "alarm clock",
36807- 15: "terminated",
36808- 16: "stack fault",
36809- 17: "child exited",
36810- 18: "continued",
36811- 19: "stopped (signal)",
36812- 20: "stopped",
36813- 21: "stopped (tty input)",
36814- 22: "stopped (tty output)",
36815- 23: "urgent I/O condition",
36816- 24: "CPU time limit exceeded",
36817- 25: "file size limit exceeded",
36818- 26: "virtual timer expired",
36819- 27: "profiling timer expired",
36820- 28: "window changed",
36821- 29: "I/O possible",
36822- 30: "power failure",
36823- 31: "bad system call",
36824+var signalList = [...]struct {
36825+ num syscall.Signal
36826+ name string
36827+ desc string
36828+}{
36829+ {1, "SIGHUP", "hangup"},
36830+ {2, "SIGINT", "interrupt"},
36831+ {3, "SIGQUIT", "quit"},
36832+ {4, "SIGILL", "illegal instruction"},
36833+ {5, "SIGTRAP", "trace/breakpoint trap"},
36834+ {6, "SIGABRT", "aborted"},
36835+ {7, "SIGBUS", "bus error"},
36836+ {8, "SIGFPE", "floating point exception"},
36837+ {9, "SIGKILL", "killed"},
36838+ {10, "SIGUSR1", "user defined signal 1"},
36839+ {11, "SIGSEGV", "segmentation fault"},
36840+ {12, "SIGUSR2", "user defined signal 2"},
36841+ {13, "SIGPIPE", "broken pipe"},
36842+ {14, "SIGALRM", "alarm clock"},
36843+ {15, "SIGTERM", "terminated"},
36844+ {16, "SIGSTKFLT", "stack fault"},
36845+ {17, "SIGCHLD", "child exited"},
36846+ {18, "SIGCONT", "continued"},
36847+ {19, "SIGSTOP", "stopped (signal)"},
36848+ {20, "SIGTSTP", "stopped"},
36849+ {21, "SIGTTIN", "stopped (tty input)"},
36850+ {22, "SIGTTOU", "stopped (tty output)"},
36851+ {23, "SIGURG", "urgent I/O condition"},
36852+ {24, "SIGXCPU", "CPU time limit exceeded"},
36853+ {25, "SIGXFSZ", "file size limit exceeded"},
36854+ {26, "SIGVTALRM", "virtual timer expired"},
36855+ {27, "SIGPROF", "profiling timer expired"},
36856+ {28, "SIGWINCH", "window changed"},
36857+ {29, "SIGIO", "I/O possible"},
36858+ {30, "SIGPWR", "power failure"},
36859+ {31, "SIGSYS", "bad system call"},
36860 }
36861diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go
36862index 900f568a..4826bd70 100644
36863--- a/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go
36864+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go
36865@@ -3,7 +3,7 @@
36866
36867 // +build mips,linux
36868
36869-// Created by cgo -godefs - DO NOT EDIT
36870+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
36871 // cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
36872
36873 package unix
36874@@ -11,1873 +11,489 @@ package unix
36875 import "syscall"
36876
36877 const (
36878- AF_ALG = 0x26
36879- AF_APPLETALK = 0x5
36880- AF_ASH = 0x12
36881- AF_ATMPVC = 0x8
36882- AF_ATMSVC = 0x14
36883- AF_AX25 = 0x3
36884- AF_BLUETOOTH = 0x1f
36885- AF_BRIDGE = 0x7
36886- AF_CAIF = 0x25
36887- AF_CAN = 0x1d
36888- AF_DECnet = 0xc
36889- AF_ECONET = 0x13
36890- AF_FILE = 0x1
36891- AF_IB = 0x1b
36892- AF_IEEE802154 = 0x24
36893- AF_INET = 0x2
36894- AF_INET6 = 0xa
36895- AF_IPX = 0x4
36896- AF_IRDA = 0x17
36897- AF_ISDN = 0x22
36898- AF_IUCV = 0x20
36899- AF_KCM = 0x29
36900- AF_KEY = 0xf
36901- AF_LLC = 0x1a
36902- AF_LOCAL = 0x1
36903- AF_MAX = 0x2b
36904- AF_MPLS = 0x1c
36905- AF_NETBEUI = 0xd
36906- AF_NETLINK = 0x10
36907- AF_NETROM = 0x6
36908- AF_NFC = 0x27
36909- AF_PACKET = 0x11
36910- AF_PHONET = 0x23
36911- AF_PPPOX = 0x18
36912- AF_QIPCRTR = 0x2a
36913- AF_RDS = 0x15
36914- AF_ROSE = 0xb
36915- AF_ROUTE = 0x10
36916- AF_RXRPC = 0x21
36917- AF_SECURITY = 0xe
36918- AF_SNA = 0x16
36919- AF_TIPC = 0x1e
36920- AF_UNIX = 0x1
36921- AF_UNSPEC = 0x0
36922- AF_VSOCK = 0x28
36923- AF_WANPIPE = 0x19
36924- AF_X25 = 0x9
36925- ALG_OP_DECRYPT = 0x0
36926- ALG_OP_ENCRYPT = 0x1
36927- ALG_SET_AEAD_ASSOCLEN = 0x4
36928- ALG_SET_AEAD_AUTHSIZE = 0x5
36929- ALG_SET_IV = 0x2
36930- ALG_SET_KEY = 0x1
36931- ALG_SET_OP = 0x3
36932- ARPHRD_6LOWPAN = 0x339
36933- ARPHRD_ADAPT = 0x108
36934- ARPHRD_APPLETLK = 0x8
36935- ARPHRD_ARCNET = 0x7
36936- ARPHRD_ASH = 0x30d
36937- ARPHRD_ATM = 0x13
36938- ARPHRD_AX25 = 0x3
36939- ARPHRD_BIF = 0x307
36940- ARPHRD_CAIF = 0x336
36941- ARPHRD_CAN = 0x118
36942- ARPHRD_CHAOS = 0x5
36943- ARPHRD_CISCO = 0x201
36944- ARPHRD_CSLIP = 0x101
36945- ARPHRD_CSLIP6 = 0x103
36946- ARPHRD_DDCMP = 0x205
36947- ARPHRD_DLCI = 0xf
36948- ARPHRD_ECONET = 0x30e
36949- ARPHRD_EETHER = 0x2
36950- ARPHRD_ETHER = 0x1
36951- ARPHRD_EUI64 = 0x1b
36952- ARPHRD_FCAL = 0x311
36953- ARPHRD_FCFABRIC = 0x313
36954- ARPHRD_FCPL = 0x312
36955- ARPHRD_FCPP = 0x310
36956- ARPHRD_FDDI = 0x306
36957- ARPHRD_FRAD = 0x302
36958- ARPHRD_HDLC = 0x201
36959- ARPHRD_HIPPI = 0x30c
36960- ARPHRD_HWX25 = 0x110
36961- ARPHRD_IEEE1394 = 0x18
36962- ARPHRD_IEEE802 = 0x6
36963- ARPHRD_IEEE80211 = 0x321
36964- ARPHRD_IEEE80211_PRISM = 0x322
36965- ARPHRD_IEEE80211_RADIOTAP = 0x323
36966- ARPHRD_IEEE802154 = 0x324
36967- ARPHRD_IEEE802154_MONITOR = 0x325
36968- ARPHRD_IEEE802_TR = 0x320
36969- ARPHRD_INFINIBAND = 0x20
36970- ARPHRD_IP6GRE = 0x337
36971- ARPHRD_IPDDP = 0x309
36972- ARPHRD_IPGRE = 0x30a
36973- ARPHRD_IRDA = 0x30f
36974- ARPHRD_LAPB = 0x204
36975- ARPHRD_LOCALTLK = 0x305
36976- ARPHRD_LOOPBACK = 0x304
36977- ARPHRD_METRICOM = 0x17
36978- ARPHRD_NETLINK = 0x338
36979- ARPHRD_NETROM = 0x0
36980- ARPHRD_NONE = 0xfffe
36981- ARPHRD_PHONET = 0x334
36982- ARPHRD_PHONET_PIPE = 0x335
36983- ARPHRD_PIMREG = 0x30b
36984- ARPHRD_PPP = 0x200
36985- ARPHRD_PRONET = 0x4
36986- ARPHRD_RAWHDLC = 0x206
36987- ARPHRD_ROSE = 0x10e
36988- ARPHRD_RSRVD = 0x104
36989- ARPHRD_SIT = 0x308
36990- ARPHRD_SKIP = 0x303
36991- ARPHRD_SLIP = 0x100
36992- ARPHRD_SLIP6 = 0x102
36993- ARPHRD_TUNNEL = 0x300
36994- ARPHRD_TUNNEL6 = 0x301
36995- ARPHRD_VOID = 0xffff
36996- ARPHRD_X25 = 0x10f
36997- B0 = 0x0
36998- B1000000 = 0x1008
36999- B110 = 0x3
37000- B115200 = 0x1002
37001- B1152000 = 0x1009
37002- B1200 = 0x9
37003- B134 = 0x4
37004- B150 = 0x5
37005- B1500000 = 0x100a
37006- B1800 = 0xa
37007- B19200 = 0xe
37008- B200 = 0x6
37009- B2000000 = 0x100b
37010- B230400 = 0x1003
37011- B2400 = 0xb
37012- B2500000 = 0x100c
37013- B300 = 0x7
37014- B3000000 = 0x100d
37015- B3500000 = 0x100e
37016- B38400 = 0xf
37017- B4000000 = 0x100f
37018- B460800 = 0x1004
37019- B4800 = 0xc
37020- B50 = 0x1
37021- B500000 = 0x1005
37022- B57600 = 0x1001
37023- B576000 = 0x1006
37024- B600 = 0x8
37025- B75 = 0x2
37026- B921600 = 0x1007
37027- B9600 = 0xd
37028- BLKBSZGET = 0x40041270
37029- BLKBSZSET = 0x80041271
37030- BLKFLSBUF = 0x20001261
37031- BLKFRAGET = 0x20001265
37032- BLKFRASET = 0x20001264
37033- BLKGETSIZE = 0x20001260
37034- BLKGETSIZE64 = 0x40041272
37035- BLKPBSZGET = 0x2000127b
37036- BLKRAGET = 0x20001263
37037- BLKRASET = 0x20001262
37038- BLKROGET = 0x2000125e
37039- BLKROSET = 0x2000125d
37040- BLKRRPART = 0x2000125f
37041- BLKSECTGET = 0x20001267
37042- BLKSECTSET = 0x20001266
37043- BLKSSZGET = 0x20001268
37044- BOTHER = 0x1000
37045- BPF_A = 0x10
37046- BPF_ABS = 0x20
37047- BPF_ADD = 0x0
37048- BPF_ALU = 0x4
37049- BPF_AND = 0x50
37050- BPF_B = 0x10
37051- BPF_DIV = 0x30
37052- BPF_H = 0x8
37053- BPF_IMM = 0x0
37054- BPF_IND = 0x40
37055- BPF_JA = 0x0
37056- BPF_JEQ = 0x10
37057- BPF_JGE = 0x30
37058- BPF_JGT = 0x20
37059- BPF_JMP = 0x5
37060- BPF_JSET = 0x40
37061- BPF_K = 0x0
37062- BPF_LD = 0x0
37063- BPF_LDX = 0x1
37064- BPF_LEN = 0x80
37065- BPF_LL_OFF = -0x200000
37066- BPF_LSH = 0x60
37067- BPF_MAJOR_VERSION = 0x1
37068- BPF_MAXINSNS = 0x1000
37069- BPF_MEM = 0x60
37070- BPF_MEMWORDS = 0x10
37071- BPF_MINOR_VERSION = 0x1
37072- BPF_MISC = 0x7
37073- BPF_MOD = 0x90
37074- BPF_MSH = 0xa0
37075- BPF_MUL = 0x20
37076- BPF_NEG = 0x80
37077- BPF_NET_OFF = -0x100000
37078- BPF_OR = 0x40
37079- BPF_RET = 0x6
37080- BPF_RSH = 0x70
37081- BPF_ST = 0x2
37082- BPF_STX = 0x3
37083- BPF_SUB = 0x10
37084- BPF_TAX = 0x0
37085- BPF_TXA = 0x80
37086- BPF_W = 0x0
37087- BPF_X = 0x8
37088- BPF_XOR = 0xa0
37089- BRKINT = 0x2
37090- BS0 = 0x0
37091- BS1 = 0x2000
37092- BSDLY = 0x2000
37093- CAN_BCM = 0x2
37094- CAN_EFF_FLAG = 0x80000000
37095- CAN_EFF_ID_BITS = 0x1d
37096- CAN_EFF_MASK = 0x1fffffff
37097- CAN_ERR_FLAG = 0x20000000
37098- CAN_ERR_MASK = 0x1fffffff
37099- CAN_INV_FILTER = 0x20000000
37100- CAN_ISOTP = 0x6
37101- CAN_MAX_DLC = 0x8
37102- CAN_MAX_DLEN = 0x8
37103- CAN_MCNET = 0x5
37104- CAN_MTU = 0x10
37105- CAN_NPROTO = 0x7
37106- CAN_RAW = 0x1
37107- CAN_RAW_FILTER_MAX = 0x200
37108- CAN_RTR_FLAG = 0x40000000
37109- CAN_SFF_ID_BITS = 0xb
37110- CAN_SFF_MASK = 0x7ff
37111- CAN_TP16 = 0x3
37112- CAN_TP20 = 0x4
37113- CBAUD = 0x100f
37114- CBAUDEX = 0x1000
37115- CFLUSH = 0xf
37116- CIBAUD = 0x100f0000
37117- CLOCAL = 0x800
37118- CLOCK_BOOTTIME = 0x7
37119- CLOCK_BOOTTIME_ALARM = 0x9
37120- CLOCK_DEFAULT = 0x0
37121- CLOCK_EXT = 0x1
37122- CLOCK_INT = 0x2
37123- CLOCK_MONOTONIC = 0x1
37124- CLOCK_MONOTONIC_COARSE = 0x6
37125- CLOCK_MONOTONIC_RAW = 0x4
37126- CLOCK_PROCESS_CPUTIME_ID = 0x2
37127- CLOCK_REALTIME = 0x0
37128- CLOCK_REALTIME_ALARM = 0x8
37129- CLOCK_REALTIME_COARSE = 0x5
37130- CLOCK_TAI = 0xb
37131- CLOCK_THREAD_CPUTIME_ID = 0x3
37132- CLOCK_TXFROMRX = 0x4
37133- CLOCK_TXINT = 0x3
37134- CLONE_CHILD_CLEARTID = 0x200000
37135- CLONE_CHILD_SETTID = 0x1000000
37136- CLONE_DETACHED = 0x400000
37137- CLONE_FILES = 0x400
37138- CLONE_FS = 0x200
37139- CLONE_IO = 0x80000000
37140- CLONE_NEWCGROUP = 0x2000000
37141- CLONE_NEWIPC = 0x8000000
37142- CLONE_NEWNET = 0x40000000
37143- CLONE_NEWNS = 0x20000
37144- CLONE_NEWPID = 0x20000000
37145- CLONE_NEWUSER = 0x10000000
37146- CLONE_NEWUTS = 0x4000000
37147- CLONE_PARENT = 0x8000
37148- CLONE_PARENT_SETTID = 0x100000
37149- CLONE_PTRACE = 0x2000
37150- CLONE_SETTLS = 0x80000
37151- CLONE_SIGHAND = 0x800
37152- CLONE_SYSVSEM = 0x40000
37153- CLONE_THREAD = 0x10000
37154- CLONE_UNTRACED = 0x800000
37155- CLONE_VFORK = 0x4000
37156- CLONE_VM = 0x100
37157- CMSPAR = 0x40000000
37158- CR0 = 0x0
37159- CR1 = 0x200
37160- CR2 = 0x400
37161- CR3 = 0x600
37162- CRDLY = 0x600
37163- CREAD = 0x80
37164- CRTSCTS = 0x80000000
37165- CS5 = 0x0
37166- CS6 = 0x10
37167- CS7 = 0x20
37168- CS8 = 0x30
37169- CSIGNAL = 0xff
37170- CSIZE = 0x30
37171- CSTART = 0x11
37172- CSTATUS = 0x0
37173- CSTOP = 0x13
37174- CSTOPB = 0x40
37175- CSUSP = 0x1a
37176- DT_BLK = 0x6
37177- DT_CHR = 0x2
37178- DT_DIR = 0x4
37179- DT_FIFO = 0x1
37180- DT_LNK = 0xa
37181- DT_REG = 0x8
37182- DT_SOCK = 0xc
37183- DT_UNKNOWN = 0x0
37184- DT_WHT = 0xe
37185- ECHO = 0x8
37186- ECHOCTL = 0x200
37187- ECHOE = 0x10
37188- ECHOK = 0x20
37189- ECHOKE = 0x800
37190- ECHONL = 0x40
37191- ECHOPRT = 0x400
37192- EFD_CLOEXEC = 0x80000
37193- EFD_NONBLOCK = 0x80
37194- EFD_SEMAPHORE = 0x1
37195- ENCODING_DEFAULT = 0x0
37196- ENCODING_FM_MARK = 0x3
37197- ENCODING_FM_SPACE = 0x4
37198- ENCODING_MANCHESTER = 0x5
37199- ENCODING_NRZ = 0x1
37200- ENCODING_NRZI = 0x2
37201- EPOLLERR = 0x8
37202- EPOLLET = 0x80000000
37203- EPOLLEXCLUSIVE = 0x10000000
37204- EPOLLHUP = 0x10
37205- EPOLLIN = 0x1
37206- EPOLLMSG = 0x400
37207- EPOLLONESHOT = 0x40000000
37208- EPOLLOUT = 0x4
37209- EPOLLPRI = 0x2
37210- EPOLLRDBAND = 0x80
37211- EPOLLRDHUP = 0x2000
37212- EPOLLRDNORM = 0x40
37213- EPOLLWAKEUP = 0x20000000
37214- EPOLLWRBAND = 0x200
37215- EPOLLWRNORM = 0x100
37216- EPOLL_CLOEXEC = 0x80000
37217- EPOLL_CTL_ADD = 0x1
37218- EPOLL_CTL_DEL = 0x2
37219- EPOLL_CTL_MOD = 0x3
37220- ETH_P_1588 = 0x88f7
37221- ETH_P_8021AD = 0x88a8
37222- ETH_P_8021AH = 0x88e7
37223- ETH_P_8021Q = 0x8100
37224- ETH_P_80221 = 0x8917
37225- ETH_P_802_2 = 0x4
37226- ETH_P_802_3 = 0x1
37227- ETH_P_802_3_MIN = 0x600
37228- ETH_P_802_EX1 = 0x88b5
37229- ETH_P_AARP = 0x80f3
37230- ETH_P_AF_IUCV = 0xfbfb
37231- ETH_P_ALL = 0x3
37232- ETH_P_AOE = 0x88a2
37233- ETH_P_ARCNET = 0x1a
37234- ETH_P_ARP = 0x806
37235- ETH_P_ATALK = 0x809b
37236- ETH_P_ATMFATE = 0x8884
37237- ETH_P_ATMMPOA = 0x884c
37238- ETH_P_AX25 = 0x2
37239- ETH_P_BATMAN = 0x4305
37240- ETH_P_BPQ = 0x8ff
37241- ETH_P_CAIF = 0xf7
37242- ETH_P_CAN = 0xc
37243- ETH_P_CANFD = 0xd
37244- ETH_P_CONTROL = 0x16
37245- ETH_P_CUST = 0x6006
37246- ETH_P_DDCMP = 0x6
37247- ETH_P_DEC = 0x6000
37248- ETH_P_DIAG = 0x6005
37249- ETH_P_DNA_DL = 0x6001
37250- ETH_P_DNA_RC = 0x6002
37251- ETH_P_DNA_RT = 0x6003
37252- ETH_P_DSA = 0x1b
37253- ETH_P_ECONET = 0x18
37254- ETH_P_EDSA = 0xdada
37255- ETH_P_FCOE = 0x8906
37256- ETH_P_FIP = 0x8914
37257- ETH_P_HDLC = 0x19
37258- ETH_P_HSR = 0x892f
37259- ETH_P_IEEE802154 = 0xf6
37260- ETH_P_IEEEPUP = 0xa00
37261- ETH_P_IEEEPUPAT = 0xa01
37262- ETH_P_IP = 0x800
37263- ETH_P_IPV6 = 0x86dd
37264- ETH_P_IPX = 0x8137
37265- ETH_P_IRDA = 0x17
37266- ETH_P_LAT = 0x6004
37267- ETH_P_LINK_CTL = 0x886c
37268- ETH_P_LOCALTALK = 0x9
37269- ETH_P_LOOP = 0x60
37270- ETH_P_LOOPBACK = 0x9000
37271- ETH_P_MACSEC = 0x88e5
37272- ETH_P_MOBITEX = 0x15
37273- ETH_P_MPLS_MC = 0x8848
37274- ETH_P_MPLS_UC = 0x8847
37275- ETH_P_MVRP = 0x88f5
37276- ETH_P_NCSI = 0x88f8
37277- ETH_P_PAE = 0x888e
37278- ETH_P_PAUSE = 0x8808
37279- ETH_P_PHONET = 0xf5
37280- ETH_P_PPPTALK = 0x10
37281- ETH_P_PPP_DISC = 0x8863
37282- ETH_P_PPP_MP = 0x8
37283- ETH_P_PPP_SES = 0x8864
37284- ETH_P_PRP = 0x88fb
37285- ETH_P_PUP = 0x200
37286- ETH_P_PUPAT = 0x201
37287- ETH_P_QINQ1 = 0x9100
37288- ETH_P_QINQ2 = 0x9200
37289- ETH_P_QINQ3 = 0x9300
37290- ETH_P_RARP = 0x8035
37291- ETH_P_SCA = 0x6007
37292- ETH_P_SLOW = 0x8809
37293- ETH_P_SNAP = 0x5
37294- ETH_P_TDLS = 0x890d
37295- ETH_P_TEB = 0x6558
37296- ETH_P_TIPC = 0x88ca
37297- ETH_P_TRAILER = 0x1c
37298- ETH_P_TR_802_2 = 0x11
37299- ETH_P_TSN = 0x22f0
37300- ETH_P_WAN_PPP = 0x7
37301- ETH_P_WCCP = 0x883e
37302- ETH_P_X25 = 0x805
37303- ETH_P_XDSA = 0xf8
37304- EXTA = 0xe
37305- EXTB = 0xf
37306- EXTPROC = 0x10000
37307- FALLOC_FL_COLLAPSE_RANGE = 0x8
37308- FALLOC_FL_INSERT_RANGE = 0x20
37309- FALLOC_FL_KEEP_SIZE = 0x1
37310- FALLOC_FL_NO_HIDE_STALE = 0x4
37311- FALLOC_FL_PUNCH_HOLE = 0x2
37312- FALLOC_FL_UNSHARE_RANGE = 0x40
37313- FALLOC_FL_ZERO_RANGE = 0x10
37314- FD_CLOEXEC = 0x1
37315- FD_SETSIZE = 0x400
37316- FF0 = 0x0
37317- FF1 = 0x8000
37318- FFDLY = 0x8000
37319- FLUSHO = 0x2000
37320- FS_ENCRYPTION_MODE_AES_256_CBC = 0x3
37321- FS_ENCRYPTION_MODE_AES_256_CTS = 0x4
37322- FS_ENCRYPTION_MODE_AES_256_GCM = 0x2
37323- FS_ENCRYPTION_MODE_AES_256_XTS = 0x1
37324- FS_ENCRYPTION_MODE_INVALID = 0x0
37325- FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615
37326- FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614
37327- FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613
37328- FS_KEY_DESCRIPTOR_SIZE = 0x8
37329- FS_KEY_DESC_PREFIX = "fscrypt:"
37330- FS_KEY_DESC_PREFIX_SIZE = 0x8
37331- FS_MAX_KEY_SIZE = 0x40
37332- FS_POLICY_FLAGS_PAD_16 = 0x2
37333- FS_POLICY_FLAGS_PAD_32 = 0x3
37334- FS_POLICY_FLAGS_PAD_4 = 0x0
37335- FS_POLICY_FLAGS_PAD_8 = 0x1
37336- FS_POLICY_FLAGS_PAD_MASK = 0x3
37337- FS_POLICY_FLAGS_VALID = 0x3
37338- F_DUPFD = 0x0
37339- F_DUPFD_CLOEXEC = 0x406
37340- F_EXLCK = 0x4
37341- F_GETFD = 0x1
37342- F_GETFL = 0x3
37343- F_GETLEASE = 0x401
37344- F_GETLK = 0x21
37345- F_GETLK64 = 0x21
37346- F_GETOWN = 0x17
37347- F_GETOWN_EX = 0x10
37348- F_GETPIPE_SZ = 0x408
37349- F_GETSIG = 0xb
37350- F_LOCK = 0x1
37351- F_NOTIFY = 0x402
37352- F_OFD_GETLK = 0x24
37353- F_OFD_SETLK = 0x25
37354- F_OFD_SETLKW = 0x26
37355- F_OK = 0x0
37356- F_RDLCK = 0x0
37357- F_SETFD = 0x2
37358- F_SETFL = 0x4
37359- F_SETLEASE = 0x400
37360- F_SETLK = 0x22
37361- F_SETLK64 = 0x22
37362- F_SETLKW = 0x23
37363- F_SETLKW64 = 0x23
37364- F_SETOWN = 0x18
37365- F_SETOWN_EX = 0xf
37366- F_SETPIPE_SZ = 0x407
37367- F_SETSIG = 0xa
37368- F_SHLCK = 0x8
37369- F_TEST = 0x3
37370- F_TLOCK = 0x2
37371- F_ULOCK = 0x0
37372- F_UNLCK = 0x2
37373- F_WRLCK = 0x1
37374- GENL_ADMIN_PERM = 0x1
37375- GENL_CMD_CAP_DO = 0x2
37376- GENL_CMD_CAP_DUMP = 0x4
37377- GENL_CMD_CAP_HASPOL = 0x8
37378- GENL_HDRLEN = 0x4
37379- GENL_ID_CTRL = 0x10
37380- GENL_ID_PMCRAID = 0x12
37381- GENL_ID_VFS_DQUOT = 0x11
37382- GENL_MAX_ID = 0x3ff
37383- GENL_MIN_ID = 0x10
37384- GENL_NAMSIZ = 0x10
37385- GENL_START_ALLOC = 0x13
37386- GENL_UNS_ADMIN_PERM = 0x10
37387- GRND_NONBLOCK = 0x1
37388- GRND_RANDOM = 0x2
37389- HUPCL = 0x400
37390- IBSHIFT = 0x10
37391- ICANON = 0x2
37392- ICMPV6_FILTER = 0x1
37393- ICRNL = 0x100
37394- IEXTEN = 0x100
37395- IFA_F_DADFAILED = 0x8
37396- IFA_F_DEPRECATED = 0x20
37397- IFA_F_HOMEADDRESS = 0x10
37398- IFA_F_MANAGETEMPADDR = 0x100
37399- IFA_F_MCAUTOJOIN = 0x400
37400- IFA_F_NODAD = 0x2
37401- IFA_F_NOPREFIXROUTE = 0x200
37402- IFA_F_OPTIMISTIC = 0x4
37403- IFA_F_PERMANENT = 0x80
37404- IFA_F_SECONDARY = 0x1
37405- IFA_F_STABLE_PRIVACY = 0x800
37406- IFA_F_TEMPORARY = 0x1
37407- IFA_F_TENTATIVE = 0x40
37408- IFA_MAX = 0x8
37409- IFF_ALLMULTI = 0x200
37410- IFF_ATTACH_QUEUE = 0x200
37411- IFF_AUTOMEDIA = 0x4000
37412- IFF_BROADCAST = 0x2
37413- IFF_DEBUG = 0x4
37414- IFF_DETACH_QUEUE = 0x400
37415- IFF_DORMANT = 0x20000
37416- IFF_DYNAMIC = 0x8000
37417- IFF_ECHO = 0x40000
37418- IFF_LOOPBACK = 0x8
37419- IFF_LOWER_UP = 0x10000
37420- IFF_MASTER = 0x400
37421- IFF_MULTICAST = 0x1000
37422- IFF_MULTI_QUEUE = 0x100
37423- IFF_NOARP = 0x80
37424- IFF_NOFILTER = 0x1000
37425- IFF_NOTRAILERS = 0x20
37426- IFF_NO_PI = 0x1000
37427- IFF_ONE_QUEUE = 0x2000
37428- IFF_PERSIST = 0x800
37429- IFF_POINTOPOINT = 0x10
37430- IFF_PORTSEL = 0x2000
37431- IFF_PROMISC = 0x100
37432- IFF_RUNNING = 0x40
37433- IFF_SLAVE = 0x800
37434- IFF_TAP = 0x2
37435- IFF_TUN = 0x1
37436- IFF_TUN_EXCL = 0x8000
37437- IFF_UP = 0x1
37438- IFF_VNET_HDR = 0x4000
37439- IFF_VOLATILE = 0x70c5a
37440- IFNAMSIZ = 0x10
37441- IGNBRK = 0x1
37442- IGNCR = 0x80
37443- IGNPAR = 0x4
37444- IMAXBEL = 0x2000
37445- INLCR = 0x40
37446- INPCK = 0x10
37447- IN_ACCESS = 0x1
37448- IN_ALL_EVENTS = 0xfff
37449- IN_ATTRIB = 0x4
37450- IN_CLASSA_HOST = 0xffffff
37451- IN_CLASSA_MAX = 0x80
37452- IN_CLASSA_NET = 0xff000000
37453- IN_CLASSA_NSHIFT = 0x18
37454- IN_CLASSB_HOST = 0xffff
37455- IN_CLASSB_MAX = 0x10000
37456- IN_CLASSB_NET = 0xffff0000
37457- IN_CLASSB_NSHIFT = 0x10
37458- IN_CLASSC_HOST = 0xff
37459- IN_CLASSC_NET = 0xffffff00
37460- IN_CLASSC_NSHIFT = 0x8
37461- IN_CLOEXEC = 0x80000
37462- IN_CLOSE = 0x18
37463- IN_CLOSE_NOWRITE = 0x10
37464- IN_CLOSE_WRITE = 0x8
37465- IN_CREATE = 0x100
37466- IN_DELETE = 0x200
37467- IN_DELETE_SELF = 0x400
37468- IN_DONT_FOLLOW = 0x2000000
37469- IN_EXCL_UNLINK = 0x4000000
37470- IN_IGNORED = 0x8000
37471- IN_ISDIR = 0x40000000
37472- IN_LOOPBACKNET = 0x7f
37473- IN_MASK_ADD = 0x20000000
37474- IN_MODIFY = 0x2
37475- IN_MOVE = 0xc0
37476- IN_MOVED_FROM = 0x40
37477- IN_MOVED_TO = 0x80
37478- IN_MOVE_SELF = 0x800
37479- IN_NONBLOCK = 0x80
37480- IN_ONESHOT = 0x80000000
37481- IN_ONLYDIR = 0x1000000
37482- IN_OPEN = 0x20
37483- IN_Q_OVERFLOW = 0x4000
37484- IN_UNMOUNT = 0x2000
37485- IPPROTO_AH = 0x33
37486- IPPROTO_BEETPH = 0x5e
37487- IPPROTO_COMP = 0x6c
37488- IPPROTO_DCCP = 0x21
37489- IPPROTO_DSTOPTS = 0x3c
37490- IPPROTO_EGP = 0x8
37491- IPPROTO_ENCAP = 0x62
37492- IPPROTO_ESP = 0x32
37493- IPPROTO_FRAGMENT = 0x2c
37494- IPPROTO_GRE = 0x2f
37495- IPPROTO_HOPOPTS = 0x0
37496- IPPROTO_ICMP = 0x1
37497- IPPROTO_ICMPV6 = 0x3a
37498- IPPROTO_IDP = 0x16
37499- IPPROTO_IGMP = 0x2
37500- IPPROTO_IP = 0x0
37501- IPPROTO_IPIP = 0x4
37502- IPPROTO_IPV6 = 0x29
37503- IPPROTO_MH = 0x87
37504- IPPROTO_MPLS = 0x89
37505- IPPROTO_MTP = 0x5c
37506- IPPROTO_NONE = 0x3b
37507- IPPROTO_PIM = 0x67
37508- IPPROTO_PUP = 0xc
37509- IPPROTO_RAW = 0xff
37510- IPPROTO_ROUTING = 0x2b
37511- IPPROTO_RSVP = 0x2e
37512- IPPROTO_SCTP = 0x84
37513- IPPROTO_TCP = 0x6
37514- IPPROTO_TP = 0x1d
37515- IPPROTO_UDP = 0x11
37516- IPPROTO_UDPLITE = 0x88
37517- IPV6_2292DSTOPTS = 0x4
37518- IPV6_2292HOPLIMIT = 0x8
37519- IPV6_2292HOPOPTS = 0x3
37520- IPV6_2292PKTINFO = 0x2
37521- IPV6_2292PKTOPTIONS = 0x6
37522- IPV6_2292RTHDR = 0x5
37523- IPV6_ADDRFORM = 0x1
37524- IPV6_ADD_MEMBERSHIP = 0x14
37525- IPV6_AUTHHDR = 0xa
37526- IPV6_CHECKSUM = 0x7
37527- IPV6_DONTFRAG = 0x3e
37528- IPV6_DROP_MEMBERSHIP = 0x15
37529- IPV6_DSTOPTS = 0x3b
37530- IPV6_HDRINCL = 0x24
37531- IPV6_HOPLIMIT = 0x34
37532- IPV6_HOPOPTS = 0x36
37533- IPV6_IPSEC_POLICY = 0x22
37534- IPV6_JOIN_ANYCAST = 0x1b
37535- IPV6_JOIN_GROUP = 0x14
37536- IPV6_LEAVE_ANYCAST = 0x1c
37537- IPV6_LEAVE_GROUP = 0x15
37538- IPV6_MTU = 0x18
37539- IPV6_MTU_DISCOVER = 0x17
37540- IPV6_MULTICAST_HOPS = 0x12
37541- IPV6_MULTICAST_IF = 0x11
37542- IPV6_MULTICAST_LOOP = 0x13
37543- IPV6_NEXTHOP = 0x9
37544- IPV6_PATHMTU = 0x3d
37545- IPV6_PKTINFO = 0x32
37546- IPV6_PMTUDISC_DO = 0x2
37547- IPV6_PMTUDISC_DONT = 0x0
37548- IPV6_PMTUDISC_INTERFACE = 0x4
37549- IPV6_PMTUDISC_OMIT = 0x5
37550- IPV6_PMTUDISC_PROBE = 0x3
37551- IPV6_PMTUDISC_WANT = 0x1
37552- IPV6_RECVDSTOPTS = 0x3a
37553- IPV6_RECVERR = 0x19
37554- IPV6_RECVHOPLIMIT = 0x33
37555- IPV6_RECVHOPOPTS = 0x35
37556- IPV6_RECVPATHMTU = 0x3c
37557- IPV6_RECVPKTINFO = 0x31
37558- IPV6_RECVRTHDR = 0x38
37559- IPV6_RECVTCLASS = 0x42
37560- IPV6_ROUTER_ALERT = 0x16
37561- IPV6_RTHDR = 0x39
37562- IPV6_RTHDRDSTOPTS = 0x37
37563- IPV6_RTHDR_LOOSE = 0x0
37564- IPV6_RTHDR_STRICT = 0x1
37565- IPV6_RTHDR_TYPE_0 = 0x0
37566- IPV6_RXDSTOPTS = 0x3b
37567- IPV6_RXHOPOPTS = 0x36
37568- IPV6_TCLASS = 0x43
37569- IPV6_UNICAST_HOPS = 0x10
37570- IPV6_V6ONLY = 0x1a
37571- IPV6_XFRM_POLICY = 0x23
37572- IP_ADD_MEMBERSHIP = 0x23
37573- IP_ADD_SOURCE_MEMBERSHIP = 0x27
37574- IP_BIND_ADDRESS_NO_PORT = 0x18
37575- IP_BLOCK_SOURCE = 0x26
37576- IP_CHECKSUM = 0x17
37577- IP_DEFAULT_MULTICAST_LOOP = 0x1
37578- IP_DEFAULT_MULTICAST_TTL = 0x1
37579- IP_DF = 0x4000
37580- IP_DROP_MEMBERSHIP = 0x24
37581- IP_DROP_SOURCE_MEMBERSHIP = 0x28
37582- IP_FREEBIND = 0xf
37583- IP_HDRINCL = 0x3
37584- IP_IPSEC_POLICY = 0x10
37585- IP_MAXPACKET = 0xffff
37586- IP_MAX_MEMBERSHIPS = 0x14
37587- IP_MF = 0x2000
37588- IP_MINTTL = 0x15
37589- IP_MSFILTER = 0x29
37590- IP_MSS = 0x240
37591- IP_MTU = 0xe
37592- IP_MTU_DISCOVER = 0xa
37593- IP_MULTICAST_ALL = 0x31
37594- IP_MULTICAST_IF = 0x20
37595- IP_MULTICAST_LOOP = 0x22
37596- IP_MULTICAST_TTL = 0x21
37597- IP_NODEFRAG = 0x16
37598- IP_OFFMASK = 0x1fff
37599- IP_OPTIONS = 0x4
37600- IP_ORIGDSTADDR = 0x14
37601- IP_PASSSEC = 0x12
37602- IP_PKTINFO = 0x8
37603- IP_PKTOPTIONS = 0x9
37604- IP_PMTUDISC = 0xa
37605- IP_PMTUDISC_DO = 0x2
37606- IP_PMTUDISC_DONT = 0x0
37607- IP_PMTUDISC_INTERFACE = 0x4
37608- IP_PMTUDISC_OMIT = 0x5
37609- IP_PMTUDISC_PROBE = 0x3
37610- IP_PMTUDISC_WANT = 0x1
37611- IP_RECVERR = 0xb
37612- IP_RECVOPTS = 0x6
37613- IP_RECVORIGDSTADDR = 0x14
37614- IP_RECVRETOPTS = 0x7
37615- IP_RECVTOS = 0xd
37616- IP_RECVTTL = 0xc
37617- IP_RETOPTS = 0x7
37618- IP_RF = 0x8000
37619- IP_ROUTER_ALERT = 0x5
37620- IP_TOS = 0x1
37621- IP_TRANSPARENT = 0x13
37622- IP_TTL = 0x2
37623- IP_UNBLOCK_SOURCE = 0x25
37624- IP_UNICAST_IF = 0x32
37625- IP_XFRM_POLICY = 0x11
37626- ISIG = 0x1
37627- ISTRIP = 0x20
37628- IUCLC = 0x200
37629- IUTF8 = 0x4000
37630- IXANY = 0x800
37631- IXOFF = 0x1000
37632- IXON = 0x400
37633- KEYCTL_ASSUME_AUTHORITY = 0x10
37634- KEYCTL_CHOWN = 0x4
37635- KEYCTL_CLEAR = 0x7
37636- KEYCTL_DESCRIBE = 0x6
37637- KEYCTL_DH_COMPUTE = 0x17
37638- KEYCTL_GET_KEYRING_ID = 0x0
37639- KEYCTL_GET_PERSISTENT = 0x16
37640- KEYCTL_GET_SECURITY = 0x11
37641- KEYCTL_INSTANTIATE = 0xc
37642- KEYCTL_INSTANTIATE_IOV = 0x14
37643- KEYCTL_INVALIDATE = 0x15
37644- KEYCTL_JOIN_SESSION_KEYRING = 0x1
37645- KEYCTL_LINK = 0x8
37646- KEYCTL_NEGATE = 0xd
37647- KEYCTL_READ = 0xb
37648- KEYCTL_REJECT = 0x13
37649- KEYCTL_REVOKE = 0x3
37650- KEYCTL_SEARCH = 0xa
37651- KEYCTL_SESSION_TO_PARENT = 0x12
37652- KEYCTL_SETPERM = 0x5
37653- KEYCTL_SET_REQKEY_KEYRING = 0xe
37654- KEYCTL_SET_TIMEOUT = 0xf
37655- KEYCTL_UNLINK = 0x9
37656- KEYCTL_UPDATE = 0x2
37657- KEY_REQKEY_DEFL_DEFAULT = 0x0
37658- KEY_REQKEY_DEFL_GROUP_KEYRING = 0x6
37659- KEY_REQKEY_DEFL_NO_CHANGE = -0x1
37660- KEY_REQKEY_DEFL_PROCESS_KEYRING = 0x2
37661- KEY_REQKEY_DEFL_REQUESTOR_KEYRING = 0x7
37662- KEY_REQKEY_DEFL_SESSION_KEYRING = 0x3
37663- KEY_REQKEY_DEFL_THREAD_KEYRING = 0x1
37664- KEY_REQKEY_DEFL_USER_KEYRING = 0x4
37665- KEY_REQKEY_DEFL_USER_SESSION_KEYRING = 0x5
37666- KEY_SPEC_GROUP_KEYRING = -0x6
37667- KEY_SPEC_PROCESS_KEYRING = -0x2
37668- KEY_SPEC_REQKEY_AUTH_KEY = -0x7
37669- KEY_SPEC_REQUESTOR_KEYRING = -0x8
37670- KEY_SPEC_SESSION_KEYRING = -0x3
37671- KEY_SPEC_THREAD_KEYRING = -0x1
37672- KEY_SPEC_USER_KEYRING = -0x4
37673- KEY_SPEC_USER_SESSION_KEYRING = -0x5
37674- LINUX_REBOOT_CMD_CAD_OFF = 0x0
37675- LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
37676- LINUX_REBOOT_CMD_HALT = 0xcdef0123
37677- LINUX_REBOOT_CMD_KEXEC = 0x45584543
37678- LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
37679- LINUX_REBOOT_CMD_RESTART = 0x1234567
37680- LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
37681- LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
37682- LINUX_REBOOT_MAGIC1 = 0xfee1dead
37683- LINUX_REBOOT_MAGIC2 = 0x28121969
37684- LOCK_EX = 0x2
37685- LOCK_NB = 0x4
37686- LOCK_SH = 0x1
37687- LOCK_UN = 0x8
37688- MADV_DODUMP = 0x11
37689- MADV_DOFORK = 0xb
37690- MADV_DONTDUMP = 0x10
37691- MADV_DONTFORK = 0xa
37692- MADV_DONTNEED = 0x4
37693- MADV_FREE = 0x8
37694- MADV_HUGEPAGE = 0xe
37695- MADV_HWPOISON = 0x64
37696- MADV_MERGEABLE = 0xc
37697- MADV_NOHUGEPAGE = 0xf
37698- MADV_NORMAL = 0x0
37699- MADV_RANDOM = 0x1
37700- MADV_REMOVE = 0x9
37701- MADV_SEQUENTIAL = 0x2
37702- MADV_UNMERGEABLE = 0xd
37703- MADV_WILLNEED = 0x3
37704- MAP_ANON = 0x800
37705- MAP_ANONYMOUS = 0x800
37706- MAP_DENYWRITE = 0x2000
37707- MAP_EXECUTABLE = 0x4000
37708- MAP_FILE = 0x0
37709- MAP_FIXED = 0x10
37710- MAP_GROWSDOWN = 0x1000
37711- MAP_HUGETLB = 0x80000
37712- MAP_HUGE_MASK = 0x3f
37713- MAP_HUGE_SHIFT = 0x1a
37714- MAP_LOCKED = 0x8000
37715- MAP_NONBLOCK = 0x20000
37716- MAP_NORESERVE = 0x400
37717- MAP_POPULATE = 0x10000
37718- MAP_PRIVATE = 0x2
37719- MAP_RENAME = 0x800
37720- MAP_SHARED = 0x1
37721- MAP_STACK = 0x40000
37722- MAP_TYPE = 0xf
37723- MCL_CURRENT = 0x1
37724- MCL_FUTURE = 0x2
37725- MCL_ONFAULT = 0x4
37726- MNT_DETACH = 0x2
37727- MNT_EXPIRE = 0x4
37728- MNT_FORCE = 0x1
37729- MSG_BATCH = 0x40000
37730- MSG_CMSG_CLOEXEC = 0x40000000
37731- MSG_CONFIRM = 0x800
37732- MSG_CTRUNC = 0x8
37733- MSG_DONTROUTE = 0x4
37734- MSG_DONTWAIT = 0x40
37735- MSG_EOR = 0x80
37736- MSG_ERRQUEUE = 0x2000
37737- MSG_FASTOPEN = 0x20000000
37738- MSG_FIN = 0x200
37739- MSG_MORE = 0x8000
37740- MSG_NOSIGNAL = 0x4000
37741- MSG_OOB = 0x1
37742- MSG_PEEK = 0x2
37743- MSG_PROXY = 0x10
37744- MSG_RST = 0x1000
37745- MSG_SYN = 0x400
37746- MSG_TRUNC = 0x20
37747- MSG_TRYHARD = 0x4
37748- MSG_WAITALL = 0x100
37749- MSG_WAITFORONE = 0x10000
37750- MS_ACTIVE = 0x40000000
37751- MS_ASYNC = 0x1
37752- MS_BIND = 0x1000
37753- MS_BORN = 0x20000000
37754- MS_DIRSYNC = 0x80
37755- MS_INVALIDATE = 0x2
37756- MS_I_VERSION = 0x800000
37757- MS_KERNMOUNT = 0x400000
37758- MS_LAZYTIME = 0x2000000
37759- MS_MANDLOCK = 0x40
37760- MS_MGC_MSK = 0xffff0000
37761- MS_MGC_VAL = 0xc0ed0000
37762- MS_MOVE = 0x2000
37763- MS_NOATIME = 0x400
37764- MS_NODEV = 0x4
37765- MS_NODIRATIME = 0x800
37766- MS_NOEXEC = 0x8
37767- MS_NOREMOTELOCK = 0x8000000
37768- MS_NOSEC = 0x10000000
37769- MS_NOSUID = 0x2
37770- MS_NOUSER = -0x80000000
37771- MS_POSIXACL = 0x10000
37772- MS_PRIVATE = 0x40000
37773- MS_RDONLY = 0x1
37774- MS_REC = 0x4000
37775- MS_RELATIME = 0x200000
37776- MS_REMOUNT = 0x20
37777- MS_RMT_MASK = 0x2800051
37778- MS_SHARED = 0x100000
37779- MS_SILENT = 0x8000
37780- MS_SLAVE = 0x80000
37781- MS_STRICTATIME = 0x1000000
37782- MS_SYNC = 0x4
37783- MS_SYNCHRONOUS = 0x10
37784- MS_UNBINDABLE = 0x20000
37785- MS_VERBOSE = 0x8000
37786- NAME_MAX = 0xff
37787- NETLINK_ADD_MEMBERSHIP = 0x1
37788- NETLINK_AUDIT = 0x9
37789- NETLINK_BROADCAST_ERROR = 0x4
37790- NETLINK_CAP_ACK = 0xa
37791- NETLINK_CONNECTOR = 0xb
37792- NETLINK_CRYPTO = 0x15
37793- NETLINK_DNRTMSG = 0xe
37794- NETLINK_DROP_MEMBERSHIP = 0x2
37795- NETLINK_ECRYPTFS = 0x13
37796- NETLINK_FIB_LOOKUP = 0xa
37797- NETLINK_FIREWALL = 0x3
37798- NETLINK_GENERIC = 0x10
37799- NETLINK_INET_DIAG = 0x4
37800- NETLINK_IP6_FW = 0xd
37801- NETLINK_ISCSI = 0x8
37802- NETLINK_KOBJECT_UEVENT = 0xf
37803- NETLINK_LISTEN_ALL_NSID = 0x8
37804- NETLINK_LIST_MEMBERSHIPS = 0x9
37805- NETLINK_NETFILTER = 0xc
37806- NETLINK_NFLOG = 0x5
37807- NETLINK_NO_ENOBUFS = 0x5
37808- NETLINK_PKTINFO = 0x3
37809- NETLINK_RDMA = 0x14
37810- NETLINK_ROUTE = 0x0
37811- NETLINK_RX_RING = 0x6
37812- NETLINK_SCSITRANSPORT = 0x12
37813- NETLINK_SELINUX = 0x7
37814- NETLINK_SOCK_DIAG = 0x4
37815- NETLINK_TX_RING = 0x7
37816- NETLINK_UNUSED = 0x1
37817- NETLINK_USERSOCK = 0x2
37818- NETLINK_XFRM = 0x6
37819- NL0 = 0x0
37820- NL1 = 0x100
37821- NLA_ALIGNTO = 0x4
37822- NLA_F_NESTED = 0x8000
37823- NLA_F_NET_BYTEORDER = 0x4000
37824- NLA_HDRLEN = 0x4
37825- NLDLY = 0x100
37826- NLMSG_ALIGNTO = 0x4
37827- NLMSG_DONE = 0x3
37828- NLMSG_ERROR = 0x2
37829- NLMSG_HDRLEN = 0x10
37830- NLMSG_MIN_TYPE = 0x10
37831- NLMSG_NOOP = 0x1
37832- NLMSG_OVERRUN = 0x4
37833- NLM_F_ACK = 0x4
37834- NLM_F_APPEND = 0x800
37835- NLM_F_ATOMIC = 0x400
37836- NLM_F_CREATE = 0x400
37837- NLM_F_DUMP = 0x300
37838- NLM_F_DUMP_FILTERED = 0x20
37839- NLM_F_DUMP_INTR = 0x10
37840- NLM_F_ECHO = 0x8
37841- NLM_F_EXCL = 0x200
37842- NLM_F_MATCH = 0x200
37843- NLM_F_MULTI = 0x2
37844- NLM_F_REPLACE = 0x100
37845- NLM_F_REQUEST = 0x1
37846- NLM_F_ROOT = 0x100
37847- NOFLSH = 0x80
37848- OCRNL = 0x8
37849- OFDEL = 0x80
37850- OFILL = 0x40
37851- OLCUC = 0x2
37852- ONLCR = 0x4
37853- ONLRET = 0x20
37854- ONOCR = 0x10
37855- OPOST = 0x1
37856- O_ACCMODE = 0x3
37857- O_APPEND = 0x8
37858- O_ASYNC = 0x1000
37859- O_CLOEXEC = 0x80000
37860- O_CREAT = 0x100
37861- O_DIRECT = 0x8000
37862- O_DIRECTORY = 0x10000
37863- O_DSYNC = 0x10
37864- O_EXCL = 0x400
37865- O_FSYNC = 0x4010
37866- O_LARGEFILE = 0x2000
37867- O_NDELAY = 0x80
37868- O_NOATIME = 0x40000
37869- O_NOCTTY = 0x800
37870- O_NOFOLLOW = 0x20000
37871- O_NONBLOCK = 0x80
37872- O_PATH = 0x200000
37873- O_RDONLY = 0x0
37874- O_RDWR = 0x2
37875- O_RSYNC = 0x4010
37876- O_SYNC = 0x4010
37877- O_TMPFILE = 0x410000
37878- O_TRUNC = 0x200
37879- O_WRONLY = 0x1
37880- PACKET_ADD_MEMBERSHIP = 0x1
37881- PACKET_AUXDATA = 0x8
37882- PACKET_BROADCAST = 0x1
37883- PACKET_COPY_THRESH = 0x7
37884- PACKET_DROP_MEMBERSHIP = 0x2
37885- PACKET_FANOUT = 0x12
37886- PACKET_FANOUT_CBPF = 0x6
37887- PACKET_FANOUT_CPU = 0x2
37888- PACKET_FANOUT_DATA = 0x16
37889- PACKET_FANOUT_EBPF = 0x7
37890- PACKET_FANOUT_FLAG_DEFRAG = 0x8000
37891- PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
37892- PACKET_FANOUT_HASH = 0x0
37893- PACKET_FANOUT_LB = 0x1
37894- PACKET_FANOUT_QM = 0x5
37895- PACKET_FANOUT_RND = 0x4
37896- PACKET_FANOUT_ROLLOVER = 0x3
37897- PACKET_FASTROUTE = 0x6
37898- PACKET_HDRLEN = 0xb
37899- PACKET_HOST = 0x0
37900- PACKET_KERNEL = 0x7
37901- PACKET_LOOPBACK = 0x5
37902- PACKET_LOSS = 0xe
37903- PACKET_MR_ALLMULTI = 0x2
37904- PACKET_MR_MULTICAST = 0x0
37905- PACKET_MR_PROMISC = 0x1
37906- PACKET_MR_UNICAST = 0x3
37907- PACKET_MULTICAST = 0x2
37908- PACKET_ORIGDEV = 0x9
37909- PACKET_OTHERHOST = 0x3
37910- PACKET_OUTGOING = 0x4
37911- PACKET_QDISC_BYPASS = 0x14
37912- PACKET_RECV_OUTPUT = 0x3
37913- PACKET_RESERVE = 0xc
37914- PACKET_ROLLOVER_STATS = 0x15
37915- PACKET_RX_RING = 0x5
37916- PACKET_STATISTICS = 0x6
37917- PACKET_TIMESTAMP = 0x11
37918- PACKET_TX_HAS_OFF = 0x13
37919- PACKET_TX_RING = 0xd
37920- PACKET_TX_TIMESTAMP = 0x10
37921- PACKET_USER = 0x6
37922- PACKET_VERSION = 0xa
37923- PACKET_VNET_HDR = 0xf
37924- PARENB = 0x100
37925- PARITY_CRC16_PR0 = 0x2
37926- PARITY_CRC16_PR0_CCITT = 0x4
37927- PARITY_CRC16_PR1 = 0x3
37928- PARITY_CRC16_PR1_CCITT = 0x5
37929- PARITY_CRC32_PR0_CCITT = 0x6
37930- PARITY_CRC32_PR1_CCITT = 0x7
37931- PARITY_DEFAULT = 0x0
37932- PARITY_NONE = 0x1
37933- PARMRK = 0x8
37934- PARODD = 0x200
37935- PENDIN = 0x4000
37936- PERF_EVENT_IOC_DISABLE = 0x20002401
37937- PERF_EVENT_IOC_ENABLE = 0x20002400
37938- PERF_EVENT_IOC_ID = 0x40042407
37939- PERF_EVENT_IOC_PAUSE_OUTPUT = 0x80042409
37940- PERF_EVENT_IOC_PERIOD = 0x80082404
37941- PERF_EVENT_IOC_REFRESH = 0x20002402
37942- PERF_EVENT_IOC_RESET = 0x20002403
37943- PERF_EVENT_IOC_SET_BPF = 0x80042408
37944- PERF_EVENT_IOC_SET_FILTER = 0x80042406
37945- PERF_EVENT_IOC_SET_OUTPUT = 0x20002405
37946- PRIO_PGRP = 0x1
37947- PRIO_PROCESS = 0x0
37948- PRIO_USER = 0x2
37949- PROT_EXEC = 0x4
37950- PROT_GROWSDOWN = 0x1000000
37951- PROT_GROWSUP = 0x2000000
37952- PROT_NONE = 0x0
37953- PROT_READ = 0x1
37954- PROT_WRITE = 0x2
37955- PR_CAPBSET_DROP = 0x18
37956- PR_CAPBSET_READ = 0x17
37957- PR_CAP_AMBIENT = 0x2f
37958- PR_CAP_AMBIENT_CLEAR_ALL = 0x4
37959- PR_CAP_AMBIENT_IS_SET = 0x1
37960- PR_CAP_AMBIENT_LOWER = 0x3
37961- PR_CAP_AMBIENT_RAISE = 0x2
37962- PR_ENDIAN_BIG = 0x0
37963- PR_ENDIAN_LITTLE = 0x1
37964- PR_ENDIAN_PPC_LITTLE = 0x2
37965- PR_FPEMU_NOPRINT = 0x1
37966- PR_FPEMU_SIGFPE = 0x2
37967- PR_FP_EXC_ASYNC = 0x2
37968- PR_FP_EXC_DISABLED = 0x0
37969- PR_FP_EXC_DIV = 0x10000
37970- PR_FP_EXC_INV = 0x100000
37971- PR_FP_EXC_NONRECOV = 0x1
37972- PR_FP_EXC_OVF = 0x20000
37973- PR_FP_EXC_PRECISE = 0x3
37974- PR_FP_EXC_RES = 0x80000
37975- PR_FP_EXC_SW_ENABLE = 0x80
37976- PR_FP_EXC_UND = 0x40000
37977- PR_FP_MODE_FR = 0x1
37978- PR_FP_MODE_FRE = 0x2
37979- PR_GET_CHILD_SUBREAPER = 0x25
37980- PR_GET_DUMPABLE = 0x3
37981- PR_GET_ENDIAN = 0x13
37982- PR_GET_FPEMU = 0x9
37983- PR_GET_FPEXC = 0xb
37984- PR_GET_FP_MODE = 0x2e
37985- PR_GET_KEEPCAPS = 0x7
37986- PR_GET_NAME = 0x10
37987- PR_GET_NO_NEW_PRIVS = 0x27
37988- PR_GET_PDEATHSIG = 0x2
37989- PR_GET_SECCOMP = 0x15
37990- PR_GET_SECUREBITS = 0x1b
37991- PR_GET_THP_DISABLE = 0x2a
37992- PR_GET_TID_ADDRESS = 0x28
37993- PR_GET_TIMERSLACK = 0x1e
37994- PR_GET_TIMING = 0xd
37995- PR_GET_TSC = 0x19
37996- PR_GET_UNALIGN = 0x5
37997- PR_MCE_KILL = 0x21
37998- PR_MCE_KILL_CLEAR = 0x0
37999- PR_MCE_KILL_DEFAULT = 0x2
38000- PR_MCE_KILL_EARLY = 0x1
38001- PR_MCE_KILL_GET = 0x22
38002- PR_MCE_KILL_LATE = 0x0
38003- PR_MCE_KILL_SET = 0x1
38004- PR_MPX_DISABLE_MANAGEMENT = 0x2c
38005- PR_MPX_ENABLE_MANAGEMENT = 0x2b
38006- PR_SET_CHILD_SUBREAPER = 0x24
38007- PR_SET_DUMPABLE = 0x4
38008- PR_SET_ENDIAN = 0x14
38009- PR_SET_FPEMU = 0xa
38010- PR_SET_FPEXC = 0xc
38011- PR_SET_FP_MODE = 0x2d
38012- PR_SET_KEEPCAPS = 0x8
38013- PR_SET_MM = 0x23
38014- PR_SET_MM_ARG_END = 0x9
38015- PR_SET_MM_ARG_START = 0x8
38016- PR_SET_MM_AUXV = 0xc
38017- PR_SET_MM_BRK = 0x7
38018- PR_SET_MM_END_CODE = 0x2
38019- PR_SET_MM_END_DATA = 0x4
38020- PR_SET_MM_ENV_END = 0xb
38021- PR_SET_MM_ENV_START = 0xa
38022- PR_SET_MM_EXE_FILE = 0xd
38023- PR_SET_MM_MAP = 0xe
38024- PR_SET_MM_MAP_SIZE = 0xf
38025- PR_SET_MM_START_BRK = 0x6
38026- PR_SET_MM_START_CODE = 0x1
38027- PR_SET_MM_START_DATA = 0x3
38028- PR_SET_MM_START_STACK = 0x5
38029- PR_SET_NAME = 0xf
38030- PR_SET_NO_NEW_PRIVS = 0x26
38031- PR_SET_PDEATHSIG = 0x1
38032- PR_SET_PTRACER = 0x59616d61
38033- PR_SET_PTRACER_ANY = 0xffffffff
38034- PR_SET_SECCOMP = 0x16
38035- PR_SET_SECUREBITS = 0x1c
38036- PR_SET_THP_DISABLE = 0x29
38037- PR_SET_TIMERSLACK = 0x1d
38038- PR_SET_TIMING = 0xe
38039- PR_SET_TSC = 0x1a
38040- PR_SET_UNALIGN = 0x6
38041- PR_TASK_PERF_EVENTS_DISABLE = 0x1f
38042- PR_TASK_PERF_EVENTS_ENABLE = 0x20
38043- PR_TIMING_STATISTICAL = 0x0
38044- PR_TIMING_TIMESTAMP = 0x1
38045- PR_TSC_ENABLE = 0x1
38046- PR_TSC_SIGSEGV = 0x2
38047- PR_UNALIGN_NOPRINT = 0x1
38048- PR_UNALIGN_SIGBUS = 0x2
38049- PTRACE_ATTACH = 0x10
38050- PTRACE_CONT = 0x7
38051- PTRACE_DETACH = 0x11
38052- PTRACE_EVENT_CLONE = 0x3
38053- PTRACE_EVENT_EXEC = 0x4
38054- PTRACE_EVENT_EXIT = 0x6
38055- PTRACE_EVENT_FORK = 0x1
38056- PTRACE_EVENT_SECCOMP = 0x7
38057- PTRACE_EVENT_STOP = 0x80
38058- PTRACE_EVENT_VFORK = 0x2
38059- PTRACE_EVENT_VFORK_DONE = 0x5
38060- PTRACE_GETEVENTMSG = 0x4201
38061- PTRACE_GETFPREGS = 0xe
38062- PTRACE_GETREGS = 0xc
38063- PTRACE_GETREGSET = 0x4204
38064- PTRACE_GETSIGINFO = 0x4202
38065- PTRACE_GETSIGMASK = 0x420a
38066- PTRACE_GET_THREAD_AREA = 0x19
38067- PTRACE_GET_THREAD_AREA_3264 = 0xc4
38068- PTRACE_GET_WATCH_REGS = 0xd0
38069- PTRACE_INTERRUPT = 0x4207
38070- PTRACE_KILL = 0x8
38071- PTRACE_LISTEN = 0x4208
38072- PTRACE_OLDSETOPTIONS = 0x15
38073- PTRACE_O_EXITKILL = 0x100000
38074- PTRACE_O_MASK = 0x3000ff
38075- PTRACE_O_SUSPEND_SECCOMP = 0x200000
38076- PTRACE_O_TRACECLONE = 0x8
38077- PTRACE_O_TRACEEXEC = 0x10
38078- PTRACE_O_TRACEEXIT = 0x40
38079- PTRACE_O_TRACEFORK = 0x2
38080- PTRACE_O_TRACESECCOMP = 0x80
38081- PTRACE_O_TRACESYSGOOD = 0x1
38082- PTRACE_O_TRACEVFORK = 0x4
38083- PTRACE_O_TRACEVFORKDONE = 0x20
38084- PTRACE_PEEKDATA = 0x2
38085- PTRACE_PEEKDATA_3264 = 0xc1
38086- PTRACE_PEEKSIGINFO = 0x4209
38087- PTRACE_PEEKSIGINFO_SHARED = 0x1
38088- PTRACE_PEEKTEXT = 0x1
38089- PTRACE_PEEKTEXT_3264 = 0xc0
38090- PTRACE_PEEKUSR = 0x3
38091- PTRACE_POKEDATA = 0x5
38092- PTRACE_POKEDATA_3264 = 0xc3
38093- PTRACE_POKETEXT = 0x4
38094- PTRACE_POKETEXT_3264 = 0xc2
38095- PTRACE_POKEUSR = 0x6
38096- PTRACE_SECCOMP_GET_FILTER = 0x420c
38097- PTRACE_SEIZE = 0x4206
38098- PTRACE_SETFPREGS = 0xf
38099- PTRACE_SETOPTIONS = 0x4200
38100- PTRACE_SETREGS = 0xd
38101- PTRACE_SETREGSET = 0x4205
38102- PTRACE_SETSIGINFO = 0x4203
38103- PTRACE_SETSIGMASK = 0x420b
38104- PTRACE_SET_THREAD_AREA = 0x1a
38105- PTRACE_SET_WATCH_REGS = 0xd1
38106- PTRACE_SINGLESTEP = 0x9
38107- PTRACE_SYSCALL = 0x18
38108- PTRACE_TRACEME = 0x0
38109- RLIMIT_AS = 0x6
38110- RLIMIT_CORE = 0x4
38111- RLIMIT_CPU = 0x0
38112- RLIMIT_DATA = 0x2
38113- RLIMIT_FSIZE = 0x1
38114- RLIMIT_LOCKS = 0xa
38115- RLIMIT_MEMLOCK = 0x9
38116- RLIMIT_MSGQUEUE = 0xc
38117- RLIMIT_NICE = 0xd
38118- RLIMIT_NOFILE = 0x5
38119- RLIMIT_NPROC = 0x8
38120- RLIMIT_RSS = 0x7
38121- RLIMIT_RTPRIO = 0xe
38122- RLIMIT_RTTIME = 0xf
38123- RLIMIT_SIGPENDING = 0xb
38124- RLIMIT_STACK = 0x3
38125- RLIM_INFINITY = -0x1
38126- RTAX_ADVMSS = 0x8
38127- RTAX_CC_ALGO = 0x10
38128- RTAX_CWND = 0x7
38129- RTAX_FEATURES = 0xc
38130- RTAX_FEATURE_ALLFRAG = 0x8
38131- RTAX_FEATURE_ECN = 0x1
38132- RTAX_FEATURE_MASK = 0xf
38133- RTAX_FEATURE_SACK = 0x2
38134- RTAX_FEATURE_TIMESTAMP = 0x4
38135- RTAX_HOPLIMIT = 0xa
38136- RTAX_INITCWND = 0xb
38137- RTAX_INITRWND = 0xe
38138- RTAX_LOCK = 0x1
38139- RTAX_MAX = 0x10
38140- RTAX_MTU = 0x2
38141- RTAX_QUICKACK = 0xf
38142- RTAX_REORDERING = 0x9
38143- RTAX_RTO_MIN = 0xd
38144- RTAX_RTT = 0x4
38145- RTAX_RTTVAR = 0x5
38146- RTAX_SSTHRESH = 0x6
38147- RTAX_UNSPEC = 0x0
38148- RTAX_WINDOW = 0x3
38149- RTA_ALIGNTO = 0x4
38150- RTA_MAX = 0x19
38151- RTCF_DIRECTSRC = 0x4000000
38152- RTCF_DOREDIRECT = 0x1000000
38153- RTCF_LOG = 0x2000000
38154- RTCF_MASQ = 0x400000
38155- RTCF_NAT = 0x800000
38156- RTCF_VALVE = 0x200000
38157- RTF_ADDRCLASSMASK = 0xf8000000
38158- RTF_ADDRCONF = 0x40000
38159- RTF_ALLONLINK = 0x20000
38160- RTF_BROADCAST = 0x10000000
38161- RTF_CACHE = 0x1000000
38162- RTF_DEFAULT = 0x10000
38163- RTF_DYNAMIC = 0x10
38164- RTF_FLOW = 0x2000000
38165- RTF_GATEWAY = 0x2
38166- RTF_HOST = 0x4
38167- RTF_INTERFACE = 0x40000000
38168- RTF_IRTT = 0x100
38169- RTF_LINKRT = 0x100000
38170- RTF_LOCAL = 0x80000000
38171- RTF_MODIFIED = 0x20
38172- RTF_MSS = 0x40
38173- RTF_MTU = 0x40
38174- RTF_MULTICAST = 0x20000000
38175- RTF_NAT = 0x8000000
38176- RTF_NOFORWARD = 0x1000
38177- RTF_NONEXTHOP = 0x200000
38178- RTF_NOPMTUDISC = 0x4000
38179- RTF_POLICY = 0x4000000
38180- RTF_REINSTATE = 0x8
38181- RTF_REJECT = 0x200
38182- RTF_STATIC = 0x400
38183- RTF_THROW = 0x2000
38184- RTF_UP = 0x1
38185- RTF_WINDOW = 0x80
38186- RTF_XRESOLVE = 0x800
38187- RTM_BASE = 0x10
38188- RTM_DELACTION = 0x31
38189- RTM_DELADDR = 0x15
38190- RTM_DELADDRLABEL = 0x49
38191- RTM_DELLINK = 0x11
38192- RTM_DELMDB = 0x55
38193- RTM_DELNEIGH = 0x1d
38194- RTM_DELNSID = 0x59
38195- RTM_DELQDISC = 0x25
38196- RTM_DELROUTE = 0x19
38197- RTM_DELRULE = 0x21
38198- RTM_DELTCLASS = 0x29
38199- RTM_DELTFILTER = 0x2d
38200- RTM_F_CLONED = 0x200
38201- RTM_F_EQUALIZE = 0x400
38202- RTM_F_LOOKUP_TABLE = 0x1000
38203- RTM_F_NOTIFY = 0x100
38204- RTM_F_PREFIX = 0x800
38205- RTM_GETACTION = 0x32
38206- RTM_GETADDR = 0x16
38207- RTM_GETADDRLABEL = 0x4a
38208- RTM_GETANYCAST = 0x3e
38209- RTM_GETDCB = 0x4e
38210- RTM_GETLINK = 0x12
38211- RTM_GETMDB = 0x56
38212- RTM_GETMULTICAST = 0x3a
38213- RTM_GETNEIGH = 0x1e
38214- RTM_GETNEIGHTBL = 0x42
38215- RTM_GETNETCONF = 0x52
38216- RTM_GETNSID = 0x5a
38217- RTM_GETQDISC = 0x26
38218- RTM_GETROUTE = 0x1a
38219- RTM_GETRULE = 0x22
38220- RTM_GETSTATS = 0x5e
38221- RTM_GETTCLASS = 0x2a
38222- RTM_GETTFILTER = 0x2e
38223- RTM_MAX = 0x5f
38224- RTM_NEWACTION = 0x30
38225- RTM_NEWADDR = 0x14
38226- RTM_NEWADDRLABEL = 0x48
38227- RTM_NEWLINK = 0x10
38228- RTM_NEWMDB = 0x54
38229- RTM_NEWNDUSEROPT = 0x44
38230- RTM_NEWNEIGH = 0x1c
38231- RTM_NEWNEIGHTBL = 0x40
38232- RTM_NEWNETCONF = 0x50
38233- RTM_NEWNSID = 0x58
38234- RTM_NEWPREFIX = 0x34
38235- RTM_NEWQDISC = 0x24
38236- RTM_NEWROUTE = 0x18
38237- RTM_NEWRULE = 0x20
38238- RTM_NEWSTATS = 0x5c
38239- RTM_NEWTCLASS = 0x28
38240- RTM_NEWTFILTER = 0x2c
38241- RTM_NR_FAMILIES = 0x14
38242- RTM_NR_MSGTYPES = 0x50
38243- RTM_SETDCB = 0x4f
38244- RTM_SETLINK = 0x13
38245- RTM_SETNEIGHTBL = 0x43
38246- RTNH_ALIGNTO = 0x4
38247- RTNH_COMPARE_MASK = 0x19
38248- RTNH_F_DEAD = 0x1
38249- RTNH_F_LINKDOWN = 0x10
38250- RTNH_F_OFFLOAD = 0x8
38251- RTNH_F_ONLINK = 0x4
38252- RTNH_F_PERVASIVE = 0x2
38253- RTN_MAX = 0xb
38254- RTPROT_BABEL = 0x2a
38255- RTPROT_BIRD = 0xc
38256- RTPROT_BOOT = 0x3
38257- RTPROT_DHCP = 0x10
38258- RTPROT_DNROUTED = 0xd
38259- RTPROT_GATED = 0x8
38260- RTPROT_KERNEL = 0x2
38261- RTPROT_MROUTED = 0x11
38262- RTPROT_MRT = 0xa
38263- RTPROT_NTK = 0xf
38264- RTPROT_RA = 0x9
38265- RTPROT_REDIRECT = 0x1
38266- RTPROT_STATIC = 0x4
38267- RTPROT_UNSPEC = 0x0
38268- RTPROT_XORP = 0xe
38269- RTPROT_ZEBRA = 0xb
38270- RT_CLASS_DEFAULT = 0xfd
38271- RT_CLASS_LOCAL = 0xff
38272- RT_CLASS_MAIN = 0xfe
38273- RT_CLASS_MAX = 0xff
38274- RT_CLASS_UNSPEC = 0x0
38275- RUSAGE_CHILDREN = -0x1
38276- RUSAGE_SELF = 0x0
38277- RUSAGE_THREAD = 0x1
38278- SCM_CREDENTIALS = 0x2
38279- SCM_RIGHTS = 0x1
38280- SCM_TIMESTAMP = 0x1d
38281- SCM_TIMESTAMPING = 0x25
38282- SCM_TIMESTAMPING_OPT_STATS = 0x36
38283- SCM_TIMESTAMPNS = 0x23
38284- SCM_WIFI_STATUS = 0x29
38285- SECCOMP_MODE_DISABLED = 0x0
38286- SECCOMP_MODE_FILTER = 0x2
38287- SECCOMP_MODE_STRICT = 0x1
38288- SHUT_RD = 0x0
38289- SHUT_RDWR = 0x2
38290- SHUT_WR = 0x1
38291- SIOCADDDLCI = 0x8980
38292- SIOCADDMULTI = 0x8931
38293- SIOCADDRT = 0x890b
38294- SIOCATMARK = 0x40047307
38295- SIOCBONDCHANGEACTIVE = 0x8995
38296- SIOCBONDENSLAVE = 0x8990
38297- SIOCBONDINFOQUERY = 0x8994
38298- SIOCBONDRELEASE = 0x8991
38299- SIOCBONDSETHWADDR = 0x8992
38300- SIOCBONDSLAVEINFOQUERY = 0x8993
38301- SIOCBRADDBR = 0x89a0
38302- SIOCBRADDIF = 0x89a2
38303- SIOCBRDELBR = 0x89a1
38304- SIOCBRDELIF = 0x89a3
38305- SIOCDARP = 0x8953
38306- SIOCDELDLCI = 0x8981
38307- SIOCDELMULTI = 0x8932
38308- SIOCDELRT = 0x890c
38309- SIOCDEVPRIVATE = 0x89f0
38310- SIOCDIFADDR = 0x8936
38311- SIOCDRARP = 0x8960
38312- SIOCETHTOOL = 0x8946
38313- SIOCGARP = 0x8954
38314- SIOCGHWTSTAMP = 0x89b1
38315- SIOCGIFADDR = 0x8915
38316- SIOCGIFBR = 0x8940
38317- SIOCGIFBRDADDR = 0x8919
38318- SIOCGIFCONF = 0x8912
38319- SIOCGIFCOUNT = 0x8938
38320- SIOCGIFDSTADDR = 0x8917
38321- SIOCGIFENCAP = 0x8925
38322- SIOCGIFFLAGS = 0x8913
38323- SIOCGIFHWADDR = 0x8927
38324- SIOCGIFINDEX = 0x8933
38325- SIOCGIFMAP = 0x8970
38326- SIOCGIFMEM = 0x891f
38327- SIOCGIFMETRIC = 0x891d
38328- SIOCGIFMTU = 0x8921
38329- SIOCGIFNAME = 0x8910
38330- SIOCGIFNETMASK = 0x891b
38331- SIOCGIFPFLAGS = 0x8935
38332- SIOCGIFSLAVE = 0x8929
38333- SIOCGIFTXQLEN = 0x8942
38334- SIOCGIFVLAN = 0x8982
38335- SIOCGMIIPHY = 0x8947
38336- SIOCGMIIREG = 0x8948
38337- SIOCGPGRP = 0x40047309
38338- SIOCGRARP = 0x8961
38339- SIOCGSKNS = 0x894c
38340- SIOCGSTAMP = 0x8906
38341- SIOCGSTAMPNS = 0x8907
38342- SIOCINQ = 0x467f
38343- SIOCOUTQ = 0x7472
38344- SIOCOUTQNSD = 0x894b
38345- SIOCPROTOPRIVATE = 0x89e0
38346- SIOCRTMSG = 0x890d
38347- SIOCSARP = 0x8955
38348- SIOCSHWTSTAMP = 0x89b0
38349- SIOCSIFADDR = 0x8916
38350- SIOCSIFBR = 0x8941
38351- SIOCSIFBRDADDR = 0x891a
38352- SIOCSIFDSTADDR = 0x8918
38353- SIOCSIFENCAP = 0x8926
38354- SIOCSIFFLAGS = 0x8914
38355- SIOCSIFHWADDR = 0x8924
38356- SIOCSIFHWBROADCAST = 0x8937
38357- SIOCSIFLINK = 0x8911
38358- SIOCSIFMAP = 0x8971
38359- SIOCSIFMEM = 0x8920
38360- SIOCSIFMETRIC = 0x891e
38361- SIOCSIFMTU = 0x8922
38362- SIOCSIFNAME = 0x8923
38363- SIOCSIFNETMASK = 0x891c
38364- SIOCSIFPFLAGS = 0x8934
38365- SIOCSIFSLAVE = 0x8930
38366- SIOCSIFTXQLEN = 0x8943
38367- SIOCSIFVLAN = 0x8983
38368- SIOCSMIIREG = 0x8949
38369- SIOCSPGRP = 0x80047308
38370- SIOCSRARP = 0x8962
38371- SIOCWANDEV = 0x894a
38372- SOCK_CLOEXEC = 0x80000
38373- SOCK_DCCP = 0x6
38374- SOCK_DGRAM = 0x1
38375- SOCK_IOC_TYPE = 0x89
38376- SOCK_NONBLOCK = 0x80
38377- SOCK_PACKET = 0xa
38378- SOCK_RAW = 0x3
38379- SOCK_RDM = 0x4
38380- SOCK_SEQPACKET = 0x5
38381- SOCK_STREAM = 0x2
38382- SOL_AAL = 0x109
38383- SOL_ALG = 0x117
38384- SOL_ATM = 0x108
38385- SOL_CAIF = 0x116
38386- SOL_CAN_BASE = 0x64
38387- SOL_DCCP = 0x10d
38388- SOL_DECNET = 0x105
38389- SOL_ICMPV6 = 0x3a
38390- SOL_IP = 0x0
38391- SOL_IPV6 = 0x29
38392- SOL_IRDA = 0x10a
38393- SOL_IUCV = 0x115
38394- SOL_KCM = 0x119
38395- SOL_LLC = 0x10c
38396- SOL_NETBEUI = 0x10b
38397- SOL_NETLINK = 0x10e
38398- SOL_NFC = 0x118
38399- SOL_PACKET = 0x107
38400- SOL_PNPIPE = 0x113
38401- SOL_PPPOL2TP = 0x111
38402- SOL_RAW = 0xff
38403- SOL_RDS = 0x114
38404- SOL_RXRPC = 0x110
38405- SOL_SOCKET = 0xffff
38406- SOL_TCP = 0x6
38407- SOL_TIPC = 0x10f
38408- SOL_X25 = 0x106
38409- SOMAXCONN = 0x80
38410- SO_ACCEPTCONN = 0x1009
38411- SO_ATTACH_BPF = 0x32
38412- SO_ATTACH_FILTER = 0x1a
38413- SO_ATTACH_REUSEPORT_CBPF = 0x33
38414- SO_ATTACH_REUSEPORT_EBPF = 0x34
38415- SO_BINDTODEVICE = 0x19
38416- SO_BPF_EXTENSIONS = 0x30
38417- SO_BROADCAST = 0x20
38418- SO_BSDCOMPAT = 0xe
38419- SO_BUSY_POLL = 0x2e
38420- SO_CNX_ADVICE = 0x35
38421- SO_DEBUG = 0x1
38422- SO_DETACH_BPF = 0x1b
38423- SO_DETACH_FILTER = 0x1b
38424- SO_DOMAIN = 0x1029
38425- SO_DONTROUTE = 0x10
38426- SO_ERROR = 0x1007
38427- SO_GET_FILTER = 0x1a
38428- SO_INCOMING_CPU = 0x31
38429- SO_KEEPALIVE = 0x8
38430- SO_LINGER = 0x80
38431- SO_LOCK_FILTER = 0x2c
38432- SO_MARK = 0x24
38433- SO_MAX_PACING_RATE = 0x2f
38434- SO_NOFCS = 0x2b
38435- SO_NO_CHECK = 0xb
38436- SO_OOBINLINE = 0x100
38437- SO_PASSCRED = 0x11
38438- SO_PASSSEC = 0x22
38439- SO_PEEK_OFF = 0x2a
38440- SO_PEERCRED = 0x12
38441- SO_PEERNAME = 0x1c
38442- SO_PEERSEC = 0x1e
38443- SO_PRIORITY = 0xc
38444- SO_PROTOCOL = 0x1028
38445- SO_RCVBUF = 0x1002
38446- SO_RCVBUFFORCE = 0x21
38447- SO_RCVLOWAT = 0x1004
38448- SO_RCVTIMEO = 0x1006
38449- SO_REUSEADDR = 0x4
38450- SO_REUSEPORT = 0x200
38451- SO_RXQ_OVFL = 0x28
38452- SO_SECURITY_AUTHENTICATION = 0x16
38453- SO_SECURITY_ENCRYPTION_NETWORK = 0x18
38454- SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
38455- SO_SELECT_ERR_QUEUE = 0x2d
38456- SO_SNDBUF = 0x1001
38457- SO_SNDBUFFORCE = 0x1f
38458- SO_SNDLOWAT = 0x1003
38459- SO_SNDTIMEO = 0x1005
38460- SO_STYLE = 0x1008
38461- SO_TIMESTAMP = 0x1d
38462- SO_TIMESTAMPING = 0x25
38463- SO_TIMESTAMPNS = 0x23
38464- SO_TYPE = 0x1008
38465- SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
38466- SO_VM_SOCKETS_BUFFER_MIN_SIZE = 0x1
38467- SO_VM_SOCKETS_BUFFER_SIZE = 0x0
38468- SO_VM_SOCKETS_CONNECT_TIMEOUT = 0x6
38469- SO_VM_SOCKETS_NONBLOCK_TXRX = 0x7
38470- SO_VM_SOCKETS_PEER_HOST_VM_ID = 0x3
38471- SO_VM_SOCKETS_TRUSTED = 0x5
38472- SO_WIFI_STATUS = 0x29
38473- SPLICE_F_GIFT = 0x8
38474- SPLICE_F_MORE = 0x4
38475- SPLICE_F_MOVE = 0x1
38476- SPLICE_F_NONBLOCK = 0x2
38477- S_BLKSIZE = 0x200
38478- S_IEXEC = 0x40
38479- S_IFBLK = 0x6000
38480- S_IFCHR = 0x2000
38481- S_IFDIR = 0x4000
38482- S_IFIFO = 0x1000
38483- S_IFLNK = 0xa000
38484- S_IFMT = 0xf000
38485- S_IFREG = 0x8000
38486- S_IFSOCK = 0xc000
38487- S_IREAD = 0x100
38488- S_IRGRP = 0x20
38489- S_IROTH = 0x4
38490- S_IRUSR = 0x100
38491- S_IRWXG = 0x38
38492- S_IRWXO = 0x7
38493- S_IRWXU = 0x1c0
38494- S_ISGID = 0x400
38495- S_ISUID = 0x800
38496- S_ISVTX = 0x200
38497- S_IWGRP = 0x10
38498- S_IWOTH = 0x2
38499- S_IWRITE = 0x80
38500- S_IWUSR = 0x80
38501- S_IXGRP = 0x8
38502- S_IXOTH = 0x1
38503- S_IXUSR = 0x40
38504- TAB0 = 0x0
38505- TAB1 = 0x800
38506- TAB2 = 0x1000
38507- TAB3 = 0x1800
38508- TABDLY = 0x1800
38509- TASKSTATS_CMD_ATTR_MAX = 0x4
38510- TASKSTATS_CMD_MAX = 0x2
38511- TASKSTATS_GENL_NAME = "TASKSTATS"
38512- TASKSTATS_GENL_VERSION = 0x1
38513- TASKSTATS_TYPE_MAX = 0x6
38514- TASKSTATS_VERSION = 0x8
38515- TCFLSH = 0x5407
38516- TCGETA = 0x5401
38517- TCGETS = 0x540d
38518- TCGETS2 = 0x4030542a
38519- TCIFLUSH = 0x0
38520- TCIOFF = 0x2
38521- TCIOFLUSH = 0x2
38522- TCION = 0x3
38523- TCOFLUSH = 0x1
38524- TCOOFF = 0x0
38525- TCOON = 0x1
38526- TCP_CC_INFO = 0x1a
38527- TCP_CONGESTION = 0xd
38528- TCP_COOKIE_IN_ALWAYS = 0x1
38529- TCP_COOKIE_MAX = 0x10
38530- TCP_COOKIE_MIN = 0x8
38531- TCP_COOKIE_OUT_NEVER = 0x2
38532- TCP_COOKIE_PAIR_SIZE = 0x20
38533- TCP_COOKIE_TRANSACTIONS = 0xf
38534- TCP_CORK = 0x3
38535- TCP_DEFER_ACCEPT = 0x9
38536- TCP_FASTOPEN = 0x17
38537- TCP_INFO = 0xb
38538- TCP_KEEPCNT = 0x6
38539- TCP_KEEPIDLE = 0x4
38540- TCP_KEEPINTVL = 0x5
38541- TCP_LINGER2 = 0x8
38542- TCP_MAXSEG = 0x2
38543- TCP_MAXWIN = 0xffff
38544- TCP_MAX_WINSHIFT = 0xe
38545- TCP_MD5SIG = 0xe
38546- TCP_MD5SIG_MAXKEYLEN = 0x50
38547- TCP_MSS = 0x200
38548- TCP_MSS_DEFAULT = 0x218
38549- TCP_MSS_DESIRED = 0x4c4
38550- TCP_NODELAY = 0x1
38551- TCP_NOTSENT_LOWAT = 0x19
38552- TCP_QUEUE_SEQ = 0x15
38553- TCP_QUICKACK = 0xc
38554- TCP_REPAIR = 0x13
38555- TCP_REPAIR_OPTIONS = 0x16
38556- TCP_REPAIR_QUEUE = 0x14
38557- TCP_REPAIR_WINDOW = 0x1d
38558- TCP_SAVED_SYN = 0x1c
38559- TCP_SAVE_SYN = 0x1b
38560- TCP_SYNCNT = 0x7
38561- TCP_S_DATA_IN = 0x4
38562- TCP_S_DATA_OUT = 0x8
38563- TCP_THIN_DUPACK = 0x11
38564- TCP_THIN_LINEAR_TIMEOUTS = 0x10
38565- TCP_TIMESTAMP = 0x18
38566- TCP_USER_TIMEOUT = 0x12
38567- TCP_WINDOW_CLAMP = 0xa
38568- TCSAFLUSH = 0x5410
38569- TCSBRK = 0x5405
38570- TCSBRKP = 0x5486
38571- TCSETA = 0x5402
38572- TCSETAF = 0x5404
38573- TCSETAW = 0x5403
38574- TCSETS = 0x540e
38575- TCSETS2 = 0x8030542b
38576- TCSETSF = 0x5410
38577- TCSETSF2 = 0x8030542d
38578- TCSETSW = 0x540f
38579- TCSETSW2 = 0x8030542c
38580- TCXONC = 0x5406
38581- TIOCCBRK = 0x5428
38582- TIOCCONS = 0x80047478
38583- TIOCEXCL = 0x740d
38584- TIOCGDEV = 0x40045432
38585- TIOCGETD = 0x7400
38586- TIOCGETP = 0x7408
38587- TIOCGEXCL = 0x40045440
38588- TIOCGICOUNT = 0x5492
38589- TIOCGLCKTRMIOS = 0x548b
38590- TIOCGLTC = 0x7474
38591- TIOCGPGRP = 0x40047477
38592- TIOCGPKT = 0x40045438
38593- TIOCGPTLCK = 0x40045439
38594- TIOCGPTN = 0x40045430
38595- TIOCGRS485 = 0x4020542e
38596- TIOCGSERIAL = 0x5484
38597- TIOCGSID = 0x7416
38598- TIOCGSOFTCAR = 0x5481
38599- TIOCGWINSZ = 0x40087468
38600- TIOCINQ = 0x467f
38601- TIOCLINUX = 0x5483
38602- TIOCMBIC = 0x741c
38603- TIOCMBIS = 0x741b
38604- TIOCMGET = 0x741d
38605- TIOCMIWAIT = 0x5491
38606- TIOCMSET = 0x741a
38607- TIOCM_CAR = 0x100
38608- TIOCM_CD = 0x100
38609- TIOCM_CTS = 0x40
38610- TIOCM_DSR = 0x400
38611- TIOCM_DTR = 0x2
38612- TIOCM_LE = 0x1
38613- TIOCM_RI = 0x200
38614- TIOCM_RNG = 0x200
38615- TIOCM_RTS = 0x4
38616- TIOCM_SR = 0x20
38617- TIOCM_ST = 0x10
38618- TIOCNOTTY = 0x5471
38619- TIOCNXCL = 0x740e
38620- TIOCOUTQ = 0x7472
38621- TIOCPKT = 0x5470
38622- TIOCPKT_DATA = 0x0
38623- TIOCPKT_DOSTOP = 0x20
38624- TIOCPKT_FLUSHREAD = 0x1
38625- TIOCPKT_FLUSHWRITE = 0x2
38626- TIOCPKT_IOCTL = 0x40
38627- TIOCPKT_NOSTOP = 0x10
38628- TIOCPKT_START = 0x8
38629- TIOCPKT_STOP = 0x4
38630- TIOCSBRK = 0x5427
38631- TIOCSCTTY = 0x5480
38632- TIOCSERCONFIG = 0x5488
38633- TIOCSERGETLSR = 0x548e
38634- TIOCSERGETMULTI = 0x548f
38635- TIOCSERGSTRUCT = 0x548d
38636- TIOCSERGWILD = 0x5489
38637- TIOCSERSETMULTI = 0x5490
38638- TIOCSERSWILD = 0x548a
38639- TIOCSER_TEMT = 0x1
38640- TIOCSETD = 0x7401
38641- TIOCSETN = 0x740a
38642- TIOCSETP = 0x7409
38643- TIOCSIG = 0x80045436
38644- TIOCSLCKTRMIOS = 0x548c
38645- TIOCSLTC = 0x7475
38646- TIOCSPGRP = 0x80047476
38647- TIOCSPTLCK = 0x80045431
38648- TIOCSRS485 = 0xc020542f
38649- TIOCSSERIAL = 0x5485
38650- TIOCSSOFTCAR = 0x5482
38651- TIOCSTI = 0x5472
38652- TIOCSWINSZ = 0x80087467
38653- TIOCVHANGUP = 0x5437
38654- TOSTOP = 0x8000
38655- TS_COMM_LEN = 0x20
38656- TUNATTACHFILTER = 0x800854d5
38657- TUNDETACHFILTER = 0x800854d6
38658- TUNGETFEATURES = 0x400454cf
38659- TUNGETFILTER = 0x400854db
38660- TUNGETIFF = 0x400454d2
38661- TUNGETSNDBUF = 0x400454d3
38662- TUNGETVNETBE = 0x400454df
38663- TUNGETVNETHDRSZ = 0x400454d7
38664- TUNGETVNETLE = 0x400454dd
38665- TUNSETDEBUG = 0x800454c9
38666- TUNSETGROUP = 0x800454ce
38667- TUNSETIFF = 0x800454ca
38668- TUNSETIFINDEX = 0x800454da
38669- TUNSETLINK = 0x800454cd
38670- TUNSETNOCSUM = 0x800454c8
38671- TUNSETOFFLOAD = 0x800454d0
38672- TUNSETOWNER = 0x800454cc
38673- TUNSETPERSIST = 0x800454cb
38674- TUNSETQUEUE = 0x800454d9
38675- TUNSETSNDBUF = 0x800454d4
38676- TUNSETTXFILTER = 0x800454d1
38677- TUNSETVNETBE = 0x800454de
38678- TUNSETVNETHDRSZ = 0x800454d8
38679- TUNSETVNETLE = 0x800454dc
38680- UMOUNT_NOFOLLOW = 0x8
38681- VDISCARD = 0xd
38682- VEOF = 0x10
38683- VEOL = 0x11
38684- VEOL2 = 0x6
38685- VERASE = 0x2
38686- VINTR = 0x0
38687- VKILL = 0x3
38688- VLNEXT = 0xf
38689- VMADDR_CID_ANY = 0xffffffff
38690- VMADDR_CID_HOST = 0x2
38691- VMADDR_CID_HYPERVISOR = 0x0
38692- VMADDR_CID_RESERVED = 0x1
38693- VMADDR_PORT_ANY = 0xffffffff
38694- VMIN = 0x4
38695- VM_SOCKETS_INVALID_VERSION = 0xffffffff
38696- VQUIT = 0x1
38697- VREPRINT = 0xc
38698- VSTART = 0x8
38699- VSTOP = 0x9
38700- VSUSP = 0xa
38701- VSWTC = 0x7
38702- VSWTCH = 0x7
38703- VT0 = 0x0
38704- VT1 = 0x4000
38705- VTDLY = 0x4000
38706- VTIME = 0x5
38707- VWERASE = 0xe
38708- WALL = 0x40000000
38709- WCLONE = 0x80000000
38710- WCONTINUED = 0x8
38711- WEXITED = 0x4
38712- WNOHANG = 0x1
38713- WNOTHREAD = 0x20000000
38714- WNOWAIT = 0x1000000
38715- WORDSIZE = 0x20
38716- WSTOPPED = 0x2
38717- WUNTRACED = 0x2
38718- XATTR_CREATE = 0x1
38719- XATTR_REPLACE = 0x2
38720- XCASE = 0x4
38721- XTABS = 0x1800
38722+ B1000000 = 0x1008
38723+ B115200 = 0x1002
38724+ B1152000 = 0x1009
38725+ B1500000 = 0x100a
38726+ B2000000 = 0x100b
38727+ B230400 = 0x1003
38728+ B2500000 = 0x100c
38729+ B3000000 = 0x100d
38730+ B3500000 = 0x100e
38731+ B4000000 = 0x100f
38732+ B460800 = 0x1004
38733+ B500000 = 0x1005
38734+ B57600 = 0x1001
38735+ B576000 = 0x1006
38736+ B921600 = 0x1007
38737+ BLKBSZGET = 0x40041270
38738+ BLKBSZSET = 0x80041271
38739+ BLKFLSBUF = 0x20001261
38740+ BLKFRAGET = 0x20001265
38741+ BLKFRASET = 0x20001264
38742+ BLKGETSIZE = 0x20001260
38743+ BLKGETSIZE64 = 0x40041272
38744+ BLKPBSZGET = 0x2000127b
38745+ BLKRAGET = 0x20001263
38746+ BLKRASET = 0x20001262
38747+ BLKROGET = 0x2000125e
38748+ BLKROSET = 0x2000125d
38749+ BLKRRPART = 0x2000125f
38750+ BLKSECTGET = 0x20001267
38751+ BLKSECTSET = 0x20001266
38752+ BLKSSZGET = 0x20001268
38753+ BOTHER = 0x1000
38754+ BS1 = 0x2000
38755+ BSDLY = 0x2000
38756+ CBAUD = 0x100f
38757+ CBAUDEX = 0x1000
38758+ CIBAUD = 0x100f0000
38759+ CLOCAL = 0x800
38760+ CR1 = 0x200
38761+ CR2 = 0x400
38762+ CR3 = 0x600
38763+ CRDLY = 0x600
38764+ CREAD = 0x80
38765+ CS6 = 0x10
38766+ CS7 = 0x20
38767+ CS8 = 0x30
38768+ CSIZE = 0x30
38769+ CSTOPB = 0x40
38770+ ECHOCTL = 0x200
38771+ ECHOE = 0x10
38772+ ECHOK = 0x20
38773+ ECHOKE = 0x800
38774+ ECHONL = 0x40
38775+ ECHOPRT = 0x400
38776+ EFD_CLOEXEC = 0x80000
38777+ EFD_NONBLOCK = 0x80
38778+ EPOLL_CLOEXEC = 0x80000
38779+ EXTPROC = 0x10000
38780+ FF1 = 0x8000
38781+ FFDLY = 0x8000
38782+ FLUSHO = 0x2000
38783+ FS_IOC_ENABLE_VERITY = 0x80806685
38784+ FS_IOC_GETFLAGS = 0x40046601
38785+ FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615
38786+ FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614
38787+ FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613
38788+ F_GETLK = 0x21
38789+ F_GETLK64 = 0x21
38790+ F_GETOWN = 0x17
38791+ F_RDLCK = 0x0
38792+ F_SETLK = 0x22
38793+ F_SETLK64 = 0x22
38794+ F_SETLKW = 0x23
38795+ F_SETLKW64 = 0x23
38796+ F_SETOWN = 0x18
38797+ F_UNLCK = 0x2
38798+ F_WRLCK = 0x1
38799+ HUPCL = 0x400
38800+ ICANON = 0x2
38801+ IEXTEN = 0x100
38802+ IN_CLOEXEC = 0x80000
38803+ IN_NONBLOCK = 0x80
38804+ IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x200007b9
38805+ ISIG = 0x1
38806+ IUCLC = 0x200
38807+ IXOFF = 0x1000
38808+ IXON = 0x400
38809+ MAP_ANON = 0x800
38810+ MAP_ANONYMOUS = 0x800
38811+ MAP_DENYWRITE = 0x2000
38812+ MAP_EXECUTABLE = 0x4000
38813+ MAP_GROWSDOWN = 0x1000
38814+ MAP_HUGETLB = 0x80000
38815+ MAP_LOCKED = 0x8000
38816+ MAP_NONBLOCK = 0x20000
38817+ MAP_NORESERVE = 0x400
38818+ MAP_POPULATE = 0x10000
38819+ MAP_RENAME = 0x800
38820+ MAP_STACK = 0x40000
38821+ MCL_CURRENT = 0x1
38822+ MCL_FUTURE = 0x2
38823+ MCL_ONFAULT = 0x4
38824+ NFDBITS = 0x20
38825+ NLDLY = 0x100
38826+ NOFLSH = 0x80
38827+ NS_GET_NSTYPE = 0x2000b703
38828+ NS_GET_OWNER_UID = 0x2000b704
38829+ NS_GET_PARENT = 0x2000b702
38830+ NS_GET_USERNS = 0x2000b701
38831+ OLCUC = 0x2
38832+ ONLCR = 0x4
38833+ O_APPEND = 0x8
38834+ O_ASYNC = 0x1000
38835+ O_CLOEXEC = 0x80000
38836+ O_CREAT = 0x100
38837+ O_DIRECT = 0x8000
38838+ O_DIRECTORY = 0x10000
38839+ O_DSYNC = 0x10
38840+ O_EXCL = 0x400
38841+ O_FSYNC = 0x4010
38842+ O_LARGEFILE = 0x2000
38843+ O_NDELAY = 0x80
38844+ O_NOATIME = 0x40000
38845+ O_NOCTTY = 0x800
38846+ O_NOFOLLOW = 0x20000
38847+ O_NONBLOCK = 0x80
38848+ O_PATH = 0x200000
38849+ O_RSYNC = 0x4010
38850+ O_SYNC = 0x4010
38851+ O_TMPFILE = 0x410000
38852+ O_TRUNC = 0x200
38853+ PARENB = 0x100
38854+ PARODD = 0x200
38855+ PENDIN = 0x4000
38856+ PERF_EVENT_IOC_DISABLE = 0x20002401
38857+ PERF_EVENT_IOC_ENABLE = 0x20002400
38858+ PERF_EVENT_IOC_ID = 0x40042407
38859+ PERF_EVENT_IOC_MODIFY_ATTRIBUTES = 0x8004240b
38860+ PERF_EVENT_IOC_PAUSE_OUTPUT = 0x80042409
38861+ PERF_EVENT_IOC_PERIOD = 0x80082404
38862+ PERF_EVENT_IOC_QUERY_BPF = 0xc004240a
38863+ PERF_EVENT_IOC_REFRESH = 0x20002402
38864+ PERF_EVENT_IOC_RESET = 0x20002403
38865+ PERF_EVENT_IOC_SET_BPF = 0x80042408
38866+ PERF_EVENT_IOC_SET_FILTER = 0x80042406
38867+ PERF_EVENT_IOC_SET_OUTPUT = 0x20002405
38868+ PPPIOCATTACH = 0x8004743d
38869+ PPPIOCATTCHAN = 0x80047438
38870+ PPPIOCCONNECT = 0x8004743a
38871+ PPPIOCDETACH = 0x8004743c
38872+ PPPIOCDISCONN = 0x20007439
38873+ PPPIOCGASYNCMAP = 0x40047458
38874+ PPPIOCGCHAN = 0x40047437
38875+ PPPIOCGDEBUG = 0x40047441
38876+ PPPIOCGFLAGS = 0x4004745a
38877+ PPPIOCGIDLE = 0x4008743f
38878+ PPPIOCGIDLE32 = 0x4008743f
38879+ PPPIOCGIDLE64 = 0x4010743f
38880+ PPPIOCGL2TPSTATS = 0x40487436
38881+ PPPIOCGMRU = 0x40047453
38882+ PPPIOCGRASYNCMAP = 0x40047455
38883+ PPPIOCGUNIT = 0x40047456
38884+ PPPIOCGXASYNCMAP = 0x40207450
38885+ PPPIOCSACTIVE = 0x80087446
38886+ PPPIOCSASYNCMAP = 0x80047457
38887+ PPPIOCSCOMPRESS = 0x800c744d
38888+ PPPIOCSDEBUG = 0x80047440
38889+ PPPIOCSFLAGS = 0x80047459
38890+ PPPIOCSMAXCID = 0x80047451
38891+ PPPIOCSMRRU = 0x8004743b
38892+ PPPIOCSMRU = 0x80047452
38893+ PPPIOCSNPMODE = 0x8008744b
38894+ PPPIOCSPASS = 0x80087447
38895+ PPPIOCSRASYNCMAP = 0x80047454
38896+ PPPIOCSXASYNCMAP = 0x8020744f
38897+ PPPIOCXFERUNIT = 0x2000744e
38898+ PR_SET_PTRACER_ANY = 0xffffffff
38899+ PTRACE_GETFPREGS = 0xe
38900+ PTRACE_GET_THREAD_AREA = 0x19
38901+ PTRACE_GET_THREAD_AREA_3264 = 0xc4
38902+ PTRACE_GET_WATCH_REGS = 0xd0
38903+ PTRACE_OLDSETOPTIONS = 0x15
38904+ PTRACE_PEEKDATA_3264 = 0xc1
38905+ PTRACE_PEEKTEXT_3264 = 0xc0
38906+ PTRACE_POKEDATA_3264 = 0xc3
38907+ PTRACE_POKETEXT_3264 = 0xc2
38908+ PTRACE_SETFPREGS = 0xf
38909+ PTRACE_SET_THREAD_AREA = 0x1a
38910+ PTRACE_SET_WATCH_REGS = 0xd1
38911+ RLIMIT_AS = 0x6
38912+ RLIMIT_MEMLOCK = 0x9
38913+ RLIMIT_NOFILE = 0x5
38914+ RLIMIT_NPROC = 0x8
38915+ RLIMIT_RSS = 0x7
38916+ RNDADDENTROPY = 0x80085203
38917+ RNDADDTOENTCNT = 0x80045201
38918+ RNDCLEARPOOL = 0x20005206
38919+ RNDGETENTCNT = 0x40045200
38920+ RNDGETPOOL = 0x40085202
38921+ RNDRESEEDCRNG = 0x20005207
38922+ RNDZAPENTCNT = 0x20005204
38923+ RTC_AIE_OFF = 0x20007002
38924+ RTC_AIE_ON = 0x20007001
38925+ RTC_ALM_READ = 0x40247008
38926+ RTC_ALM_SET = 0x80247007
38927+ RTC_EPOCH_READ = 0x4004700d
38928+ RTC_EPOCH_SET = 0x8004700e
38929+ RTC_IRQP_READ = 0x4004700b
38930+ RTC_IRQP_SET = 0x8004700c
38931+ RTC_PIE_OFF = 0x20007006
38932+ RTC_PIE_ON = 0x20007005
38933+ RTC_PLL_GET = 0x401c7011
38934+ RTC_PLL_SET = 0x801c7012
38935+ RTC_RD_TIME = 0x40247009
38936+ RTC_SET_TIME = 0x8024700a
38937+ RTC_UIE_OFF = 0x20007004
38938+ RTC_UIE_ON = 0x20007003
38939+ RTC_VL_CLR = 0x20007014
38940+ RTC_VL_READ = 0x40047013
38941+ RTC_WIE_OFF = 0x20007010
38942+ RTC_WIE_ON = 0x2000700f
38943+ RTC_WKALM_RD = 0x40287010
38944+ RTC_WKALM_SET = 0x8028700f
38945+ SCM_TIMESTAMPING = 0x25
38946+ SCM_TIMESTAMPING_OPT_STATS = 0x36
38947+ SCM_TIMESTAMPING_PKTINFO = 0x3a
38948+ SCM_TIMESTAMPNS = 0x23
38949+ SCM_TXTIME = 0x3d
38950+ SCM_WIFI_STATUS = 0x29
38951+ SFD_CLOEXEC = 0x80000
38952+ SFD_NONBLOCK = 0x80
38953+ SIOCATMARK = 0x40047307
38954+ SIOCGPGRP = 0x40047309
38955+ SIOCGSTAMPNS_NEW = 0x40108907
38956+ SIOCGSTAMP_NEW = 0x40108906
38957+ SIOCINQ = 0x467f
38958+ SIOCOUTQ = 0x7472
38959+ SIOCSPGRP = 0x80047308
38960+ SOCK_CLOEXEC = 0x80000
38961+ SOCK_DGRAM = 0x1
38962+ SOCK_NONBLOCK = 0x80
38963+ SOCK_STREAM = 0x2
38964+ SOL_SOCKET = 0xffff
38965+ SO_ACCEPTCONN = 0x1009
38966+ SO_ATTACH_BPF = 0x32
38967+ SO_ATTACH_REUSEPORT_CBPF = 0x33
38968+ SO_ATTACH_REUSEPORT_EBPF = 0x34
38969+ SO_BINDTODEVICE = 0x19
38970+ SO_BINDTOIFINDEX = 0x3e
38971+ SO_BPF_EXTENSIONS = 0x30
38972+ SO_BROADCAST = 0x20
38973+ SO_BSDCOMPAT = 0xe
38974+ SO_BUSY_POLL = 0x2e
38975+ SO_CNX_ADVICE = 0x35
38976+ SO_COOKIE = 0x39
38977+ SO_DETACH_REUSEPORT_BPF = 0x44
38978+ SO_DOMAIN = 0x1029
38979+ SO_DONTROUTE = 0x10
38980+ SO_ERROR = 0x1007
38981+ SO_INCOMING_CPU = 0x31
38982+ SO_INCOMING_NAPI_ID = 0x38
38983+ SO_KEEPALIVE = 0x8
38984+ SO_LINGER = 0x80
38985+ SO_LOCK_FILTER = 0x2c
38986+ SO_MARK = 0x24
38987+ SO_MAX_PACING_RATE = 0x2f
38988+ SO_MEMINFO = 0x37
38989+ SO_NOFCS = 0x2b
38990+ SO_OOBINLINE = 0x100
38991+ SO_PASSCRED = 0x11
38992+ SO_PASSSEC = 0x22
38993+ SO_PEEK_OFF = 0x2a
38994+ SO_PEERCRED = 0x12
38995+ SO_PEERGROUPS = 0x3b
38996+ SO_PEERSEC = 0x1e
38997+ SO_PROTOCOL = 0x1028
38998+ SO_RCVBUF = 0x1002
38999+ SO_RCVBUFFORCE = 0x21
39000+ SO_RCVLOWAT = 0x1004
39001+ SO_RCVTIMEO = 0x1006
39002+ SO_RCVTIMEO_NEW = 0x42
39003+ SO_RCVTIMEO_OLD = 0x1006
39004+ SO_REUSEADDR = 0x4
39005+ SO_REUSEPORT = 0x200
39006+ SO_RXQ_OVFL = 0x28
39007+ SO_SECURITY_AUTHENTICATION = 0x16
39008+ SO_SECURITY_ENCRYPTION_NETWORK = 0x18
39009+ SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
39010+ SO_SELECT_ERR_QUEUE = 0x2d
39011+ SO_SNDBUF = 0x1001
39012+ SO_SNDBUFFORCE = 0x1f
39013+ SO_SNDLOWAT = 0x1003
39014+ SO_SNDTIMEO = 0x1005
39015+ SO_SNDTIMEO_NEW = 0x43
39016+ SO_SNDTIMEO_OLD = 0x1005
39017+ SO_STYLE = 0x1008
39018+ SO_TIMESTAMPING = 0x25
39019+ SO_TIMESTAMPING_NEW = 0x41
39020+ SO_TIMESTAMPING_OLD = 0x25
39021+ SO_TIMESTAMPNS = 0x23
39022+ SO_TIMESTAMPNS_NEW = 0x40
39023+ SO_TIMESTAMPNS_OLD = 0x23
39024+ SO_TIMESTAMP_NEW = 0x3f
39025+ SO_TXTIME = 0x3d
39026+ SO_TYPE = 0x1008
39027+ SO_WIFI_STATUS = 0x29
39028+ SO_ZEROCOPY = 0x3c
39029+ TAB1 = 0x800
39030+ TAB2 = 0x1000
39031+ TAB3 = 0x1800
39032+ TABDLY = 0x1800
39033+ TCFLSH = 0x5407
39034+ TCGETA = 0x5401
39035+ TCGETS = 0x540d
39036+ TCGETS2 = 0x4030542a
39037+ TCSAFLUSH = 0x5410
39038+ TCSBRK = 0x5405
39039+ TCSBRKP = 0x5486
39040+ TCSETA = 0x5402
39041+ TCSETAF = 0x5404
39042+ TCSETAW = 0x5403
39043+ TCSETS = 0x540e
39044+ TCSETS2 = 0x8030542b
39045+ TCSETSF = 0x5410
39046+ TCSETSF2 = 0x8030542d
39047+ TCSETSW = 0x540f
39048+ TCSETSW2 = 0x8030542c
39049+ TCXONC = 0x5406
39050+ TIOCCBRK = 0x5428
39051+ TIOCCONS = 0x80047478
39052+ TIOCEXCL = 0x740d
39053+ TIOCGDEV = 0x40045432
39054+ TIOCGETD = 0x7400
39055+ TIOCGETP = 0x7408
39056+ TIOCGEXCL = 0x40045440
39057+ TIOCGICOUNT = 0x5492
39058+ TIOCGISO7816 = 0x40285442
39059+ TIOCGLCKTRMIOS = 0x548b
39060+ TIOCGLTC = 0x7474
39061+ TIOCGPGRP = 0x40047477
39062+ TIOCGPKT = 0x40045438
39063+ TIOCGPTLCK = 0x40045439
39064+ TIOCGPTN = 0x40045430
39065+ TIOCGPTPEER = 0x20005441
39066+ TIOCGRS485 = 0x4020542e
39067+ TIOCGSERIAL = 0x5484
39068+ TIOCGSID = 0x7416
39069+ TIOCGSOFTCAR = 0x5481
39070+ TIOCGWINSZ = 0x40087468
39071+ TIOCINQ = 0x467f
39072+ TIOCLINUX = 0x5483
39073+ TIOCMBIC = 0x741c
39074+ TIOCMBIS = 0x741b
39075+ TIOCMGET = 0x741d
39076+ TIOCMIWAIT = 0x5491
39077+ TIOCMSET = 0x741a
39078+ TIOCM_CAR = 0x100
39079+ TIOCM_CD = 0x100
39080+ TIOCM_CTS = 0x40
39081+ TIOCM_DSR = 0x400
39082+ TIOCM_RI = 0x200
39083+ TIOCM_RNG = 0x200
39084+ TIOCM_SR = 0x20
39085+ TIOCM_ST = 0x10
39086+ TIOCNOTTY = 0x5471
39087+ TIOCNXCL = 0x740e
39088+ TIOCOUTQ = 0x7472
39089+ TIOCPKT = 0x5470
39090+ TIOCSBRK = 0x5427
39091+ TIOCSCTTY = 0x5480
39092+ TIOCSERCONFIG = 0x5488
39093+ TIOCSERGETLSR = 0x548e
39094+ TIOCSERGETMULTI = 0x548f
39095+ TIOCSERGSTRUCT = 0x548d
39096+ TIOCSERGWILD = 0x5489
39097+ TIOCSERSETMULTI = 0x5490
39098+ TIOCSERSWILD = 0x548a
39099+ TIOCSER_TEMT = 0x1
39100+ TIOCSETD = 0x7401
39101+ TIOCSETN = 0x740a
39102+ TIOCSETP = 0x7409
39103+ TIOCSIG = 0x80045436
39104+ TIOCSISO7816 = 0xc0285443
39105+ TIOCSLCKTRMIOS = 0x548c
39106+ TIOCSLTC = 0x7475
39107+ TIOCSPGRP = 0x80047476
39108+ TIOCSPTLCK = 0x80045431
39109+ TIOCSRS485 = 0xc020542f
39110+ TIOCSSERIAL = 0x5485
39111+ TIOCSSOFTCAR = 0x5482
39112+ TIOCSTI = 0x5472
39113+ TIOCSWINSZ = 0x80087467
39114+ TIOCVHANGUP = 0x5437
39115+ TOSTOP = 0x8000
39116+ TUNATTACHFILTER = 0x800854d5
39117+ TUNDETACHFILTER = 0x800854d6
39118+ TUNGETDEVNETNS = 0x200054e3
39119+ TUNGETFEATURES = 0x400454cf
39120+ TUNGETFILTER = 0x400854db
39121+ TUNGETIFF = 0x400454d2
39122+ TUNGETSNDBUF = 0x400454d3
39123+ TUNGETVNETBE = 0x400454df
39124+ TUNGETVNETHDRSZ = 0x400454d7
39125+ TUNGETVNETLE = 0x400454dd
39126+ TUNSETCARRIER = 0x800454e2
39127+ TUNSETDEBUG = 0x800454c9
39128+ TUNSETFILTEREBPF = 0x400454e1
39129+ TUNSETGROUP = 0x800454ce
39130+ TUNSETIFF = 0x800454ca
39131+ TUNSETIFINDEX = 0x800454da
39132+ TUNSETLINK = 0x800454cd
39133+ TUNSETNOCSUM = 0x800454c8
39134+ TUNSETOFFLOAD = 0x800454d0
39135+ TUNSETOWNER = 0x800454cc
39136+ TUNSETPERSIST = 0x800454cb
39137+ TUNSETQUEUE = 0x800454d9
39138+ TUNSETSNDBUF = 0x800454d4
39139+ TUNSETSTEERINGEBPF = 0x400454e0
39140+ TUNSETTXFILTER = 0x800454d1
39141+ TUNSETVNETBE = 0x800454de
39142+ TUNSETVNETHDRSZ = 0x800454d8
39143+ TUNSETVNETLE = 0x800454dc
39144+ UBI_IOCATT = 0x80186f40
39145+ UBI_IOCDET = 0x80046f41
39146+ UBI_IOCEBCH = 0x80044f02
39147+ UBI_IOCEBER = 0x80044f01
39148+ UBI_IOCEBISMAP = 0x40044f05
39149+ UBI_IOCEBMAP = 0x80084f03
39150+ UBI_IOCEBUNMAP = 0x80044f04
39151+ UBI_IOCMKVOL = 0x80986f00
39152+ UBI_IOCRMVOL = 0x80046f01
39153+ UBI_IOCRNVOL = 0x91106f03
39154+ UBI_IOCRPEB = 0x80046f04
39155+ UBI_IOCRSVOL = 0x800c6f02
39156+ UBI_IOCSETVOLPROP = 0x80104f06
39157+ UBI_IOCSPEB = 0x80046f05
39158+ UBI_IOCVOLCRBLK = 0x80804f07
39159+ UBI_IOCVOLRMBLK = 0x20004f08
39160+ UBI_IOCVOLUP = 0x80084f00
39161+ VDISCARD = 0xd
39162+ VEOF = 0x10
39163+ VEOL = 0x11
39164+ VEOL2 = 0x6
39165+ VMIN = 0x4
39166+ VREPRINT = 0xc
39167+ VSTART = 0x8
39168+ VSTOP = 0x9
39169+ VSUSP = 0xa
39170+ VSWTC = 0x7
39171+ VSWTCH = 0x7
39172+ VT1 = 0x4000
39173+ VTDLY = 0x4000
39174+ VTIME = 0x5
39175+ VWERASE = 0xe
39176+ WDIOC_GETBOOTSTATUS = 0x40045702
39177+ WDIOC_GETPRETIMEOUT = 0x40045709
39178+ WDIOC_GETSTATUS = 0x40045701
39179+ WDIOC_GETSUPPORT = 0x40285700
39180+ WDIOC_GETTEMP = 0x40045703
39181+ WDIOC_GETTIMELEFT = 0x4004570a
39182+ WDIOC_GETTIMEOUT = 0x40045707
39183+ WDIOC_KEEPALIVE = 0x40045705
39184+ WDIOC_SETOPTIONS = 0x40045704
39185+ WORDSIZE = 0x20
39186+ XCASE = 0x4
39187+ XTABS = 0x1800
39188 )
39189
39190 // Errors
39191 const (
39192- E2BIG = syscall.Errno(0x7)
39193- EACCES = syscall.Errno(0xd)
39194 EADDRINUSE = syscall.Errno(0x7d)
39195 EADDRNOTAVAIL = syscall.Errno(0x7e)
39196 EADV = syscall.Errno(0x44)
39197 EAFNOSUPPORT = syscall.Errno(0x7c)
39198- EAGAIN = syscall.Errno(0xb)
39199 EALREADY = syscall.Errno(0x95)
39200 EBADE = syscall.Errno(0x32)
39201- EBADF = syscall.Errno(0x9)
39202 EBADFD = syscall.Errno(0x51)
39203 EBADMSG = syscall.Errno(0x4d)
39204 EBADR = syscall.Errno(0x33)
39205 EBADRQC = syscall.Errno(0x36)
39206 EBADSLT = syscall.Errno(0x37)
39207 EBFONT = syscall.Errno(0x3b)
39208- EBUSY = syscall.Errno(0x10)
39209 ECANCELED = syscall.Errno(0x9e)
39210- ECHILD = syscall.Errno(0xa)
39211 ECHRNG = syscall.Errno(0x25)
39212 ECOMM = syscall.Errno(0x46)
39213 ECONNABORTED = syscall.Errno(0x82)
39214@@ -1886,12 +502,8 @@ const (
39215 EDEADLK = syscall.Errno(0x2d)
39216 EDEADLOCK = syscall.Errno(0x38)
39217 EDESTADDRREQ = syscall.Errno(0x60)
39218- EDOM = syscall.Errno(0x21)
39219 EDOTDOT = syscall.Errno(0x49)
39220 EDQUOT = syscall.Errno(0x46d)
39221- EEXIST = syscall.Errno(0x11)
39222- EFAULT = syscall.Errno(0xe)
39223- EFBIG = syscall.Errno(0x1b)
39224 EHOSTDOWN = syscall.Errno(0x93)
39225 EHOSTUNREACH = syscall.Errno(0x94)
39226 EHWPOISON = syscall.Errno(0xa8)
39227@@ -1899,11 +511,7 @@ const (
39228 EILSEQ = syscall.Errno(0x58)
39229 EINIT = syscall.Errno(0x8d)
39230 EINPROGRESS = syscall.Errno(0x96)
39231- EINTR = syscall.Errno(0x4)
39232- EINVAL = syscall.Errno(0x16)
39233- EIO = syscall.Errno(0x5)
39234 EISCONN = syscall.Errno(0x85)
39235- EISDIR = syscall.Errno(0x15)
39236 EISNAM = syscall.Errno(0x8b)
39237 EKEYEXPIRED = syscall.Errno(0xa2)
39238 EKEYREJECTED = syscall.Errno(0xa4)
39239@@ -1920,8 +528,6 @@ const (
39240 ELNRNG = syscall.Errno(0x29)
39241 ELOOP = syscall.Errno(0x5a)
39242 EMEDIUMTYPE = syscall.Errno(0xa0)
39243- EMFILE = syscall.Errno(0x18)
39244- EMLINK = syscall.Errno(0x1f)
39245 EMSGSIZE = syscall.Errno(0x61)
39246 EMULTIHOP = syscall.Errno(0x4a)
39247 ENAMETOOLONG = syscall.Errno(0x4e)
39248@@ -1929,100 +535,68 @@ const (
39249 ENETDOWN = syscall.Errno(0x7f)
39250 ENETRESET = syscall.Errno(0x81)
39251 ENETUNREACH = syscall.Errno(0x80)
39252- ENFILE = syscall.Errno(0x17)
39253 ENOANO = syscall.Errno(0x35)
39254 ENOBUFS = syscall.Errno(0x84)
39255 ENOCSI = syscall.Errno(0x2b)
39256 ENODATA = syscall.Errno(0x3d)
39257- ENODEV = syscall.Errno(0x13)
39258- ENOENT = syscall.Errno(0x2)
39259- ENOEXEC = syscall.Errno(0x8)
39260 ENOKEY = syscall.Errno(0xa1)
39261 ENOLCK = syscall.Errno(0x2e)
39262 ENOLINK = syscall.Errno(0x43)
39263 ENOMEDIUM = syscall.Errno(0x9f)
39264- ENOMEM = syscall.Errno(0xc)
39265 ENOMSG = syscall.Errno(0x23)
39266 ENONET = syscall.Errno(0x40)
39267 ENOPKG = syscall.Errno(0x41)
39268 ENOPROTOOPT = syscall.Errno(0x63)
39269- ENOSPC = syscall.Errno(0x1c)
39270 ENOSR = syscall.Errno(0x3f)
39271 ENOSTR = syscall.Errno(0x3c)
39272 ENOSYS = syscall.Errno(0x59)
39273- ENOTBLK = syscall.Errno(0xf)
39274 ENOTCONN = syscall.Errno(0x86)
39275- ENOTDIR = syscall.Errno(0x14)
39276 ENOTEMPTY = syscall.Errno(0x5d)
39277 ENOTNAM = syscall.Errno(0x89)
39278 ENOTRECOVERABLE = syscall.Errno(0xa6)
39279 ENOTSOCK = syscall.Errno(0x5f)
39280 ENOTSUP = syscall.Errno(0x7a)
39281- ENOTTY = syscall.Errno(0x19)
39282 ENOTUNIQ = syscall.Errno(0x50)
39283- ENXIO = syscall.Errno(0x6)
39284 EOPNOTSUPP = syscall.Errno(0x7a)
39285 EOVERFLOW = syscall.Errno(0x4f)
39286 EOWNERDEAD = syscall.Errno(0xa5)
39287- EPERM = syscall.Errno(0x1)
39288 EPFNOSUPPORT = syscall.Errno(0x7b)
39289- EPIPE = syscall.Errno(0x20)
39290 EPROTO = syscall.Errno(0x47)
39291 EPROTONOSUPPORT = syscall.Errno(0x78)
39292 EPROTOTYPE = syscall.Errno(0x62)
39293- ERANGE = syscall.Errno(0x22)
39294 EREMCHG = syscall.Errno(0x52)
39295 EREMDEV = syscall.Errno(0x8e)
39296 EREMOTE = syscall.Errno(0x42)
39297 EREMOTEIO = syscall.Errno(0x8c)
39298 ERESTART = syscall.Errno(0x5b)
39299 ERFKILL = syscall.Errno(0xa7)
39300- EROFS = syscall.Errno(0x1e)
39301 ESHUTDOWN = syscall.Errno(0x8f)
39302 ESOCKTNOSUPPORT = syscall.Errno(0x79)
39303- ESPIPE = syscall.Errno(0x1d)
39304- ESRCH = syscall.Errno(0x3)
39305 ESRMNT = syscall.Errno(0x45)
39306 ESTALE = syscall.Errno(0x97)
39307 ESTRPIPE = syscall.Errno(0x5c)
39308 ETIME = syscall.Errno(0x3e)
39309 ETIMEDOUT = syscall.Errno(0x91)
39310 ETOOMANYREFS = syscall.Errno(0x90)
39311- ETXTBSY = syscall.Errno(0x1a)
39312 EUCLEAN = syscall.Errno(0x87)
39313 EUNATCH = syscall.Errno(0x2a)
39314 EUSERS = syscall.Errno(0x5e)
39315- EWOULDBLOCK = syscall.Errno(0xb)
39316- EXDEV = syscall.Errno(0x12)
39317 EXFULL = syscall.Errno(0x34)
39318 )
39319
39320 // Signals
39321 const (
39322- SIGABRT = syscall.Signal(0x6)
39323- SIGALRM = syscall.Signal(0xe)
39324 SIGBUS = syscall.Signal(0xa)
39325 SIGCHLD = syscall.Signal(0x12)
39326 SIGCLD = syscall.Signal(0x12)
39327 SIGCONT = syscall.Signal(0x19)
39328 SIGEMT = syscall.Signal(0x7)
39329- SIGFPE = syscall.Signal(0x8)
39330- SIGHUP = syscall.Signal(0x1)
39331- SIGILL = syscall.Signal(0x4)
39332- SIGINT = syscall.Signal(0x2)
39333 SIGIO = syscall.Signal(0x16)
39334- SIGIOT = syscall.Signal(0x6)
39335- SIGKILL = syscall.Signal(0x9)
39336- SIGPIPE = syscall.Signal(0xd)
39337 SIGPOLL = syscall.Signal(0x16)
39338 SIGPROF = syscall.Signal(0x1d)
39339 SIGPWR = syscall.Signal(0x13)
39340- SIGQUIT = syscall.Signal(0x3)
39341- SIGSEGV = syscall.Signal(0xb)
39342 SIGSTOP = syscall.Signal(0x17)
39343 SIGSYS = syscall.Signal(0xc)
39344- SIGTERM = syscall.Signal(0xf)
39345- SIGTRAP = syscall.Signal(0x5)
39346 SIGTSTP = syscall.Signal(0x18)
39347 SIGTTIN = syscall.Signal(0x1a)
39348 SIGTTOU = syscall.Signal(0x1b)
39349@@ -2036,174 +610,182 @@ const (
39350 )
39351
39352 // Error table
39353-var errors = [...]string{
39354- 1: "operation not permitted",
39355- 2: "no such file or directory",
39356- 3: "no such process",
39357- 4: "interrupted system call",
39358- 5: "input/output error",
39359- 6: "no such device or address",
39360- 7: "argument list too long",
39361- 8: "exec format error",
39362- 9: "bad file descriptor",
39363- 10: "no child processes",
39364- 11: "resource temporarily unavailable",
39365- 12: "cannot allocate memory",
39366- 13: "permission denied",
39367- 14: "bad address",
39368- 15: "block device required",
39369- 16: "device or resource busy",
39370- 17: "file exists",
39371- 18: "invalid cross-device link",
39372- 19: "no such device",
39373- 20: "not a directory",
39374- 21: "is a directory",
39375- 22: "invalid argument",
39376- 23: "too many open files in system",
39377- 24: "too many open files",
39378- 25: "inappropriate ioctl for device",
39379- 26: "text file busy",
39380- 27: "file too large",
39381- 28: "no space left on device",
39382- 29: "illegal seek",
39383- 30: "read-only file system",
39384- 31: "too many links",
39385- 32: "broken pipe",
39386- 33: "numerical argument out of domain",
39387- 34: "numerical result out of range",
39388- 35: "no message of desired type",
39389- 36: "identifier removed",
39390- 37: "channel number out of range",
39391- 38: "level 2 not synchronized",
39392- 39: "level 3 halted",
39393- 40: "level 3 reset",
39394- 41: "link number out of range",
39395- 42: "protocol driver not attached",
39396- 43: "no CSI structure available",
39397- 44: "level 2 halted",
39398- 45: "resource deadlock avoided",
39399- 46: "no locks available",
39400- 50: "invalid exchange",
39401- 51: "invalid request descriptor",
39402- 52: "exchange full",
39403- 53: "no anode",
39404- 54: "invalid request code",
39405- 55: "invalid slot",
39406- 56: "file locking deadlock error",
39407- 59: "bad font file format",
39408- 60: "device not a stream",
39409- 61: "no data available",
39410- 62: "timer expired",
39411- 63: "out of streams resources",
39412- 64: "machine is not on the network",
39413- 65: "package not installed",
39414- 66: "object is remote",
39415- 67: "link has been severed",
39416- 68: "advertise error",
39417- 69: "srmount error",
39418- 70: "communication error on send",
39419- 71: "protocol error",
39420- 73: "RFS specific error",
39421- 74: "multihop attempted",
39422- 77: "bad message",
39423- 78: "file name too long",
39424- 79: "value too large for defined data type",
39425- 80: "name not unique on network",
39426- 81: "file descriptor in bad state",
39427- 82: "remote address changed",
39428- 83: "can not access a needed shared library",
39429- 84: "accessing a corrupted shared library",
39430- 85: ".lib section in a.out corrupted",
39431- 86: "attempting to link in too many shared libraries",
39432- 87: "cannot exec a shared library directly",
39433- 88: "invalid or incomplete multibyte or wide character",
39434- 89: "function not implemented",
39435- 90: "too many levels of symbolic links",
39436- 91: "interrupted system call should be restarted",
39437- 92: "streams pipe error",
39438- 93: "directory not empty",
39439- 94: "too many users",
39440- 95: "socket operation on non-socket",
39441- 96: "destination address required",
39442- 97: "message too long",
39443- 98: "protocol wrong type for socket",
39444- 99: "protocol not available",
39445- 120: "protocol not supported",
39446- 121: "socket type not supported",
39447- 122: "operation not supported",
39448- 123: "protocol family not supported",
39449- 124: "address family not supported by protocol",
39450- 125: "address already in use",
39451- 126: "cannot assign requested address",
39452- 127: "network is down",
39453- 128: "network is unreachable",
39454- 129: "network dropped connection on reset",
39455- 130: "software caused connection abort",
39456- 131: "connection reset by peer",
39457- 132: "no buffer space available",
39458- 133: "transport endpoint is already connected",
39459- 134: "transport endpoint is not connected",
39460- 135: "structure needs cleaning",
39461- 137: "not a XENIX named type file",
39462- 138: "no XENIX semaphores available",
39463- 139: "is a named type file",
39464- 140: "remote I/O error",
39465- 141: "unknown error 141",
39466- 142: "unknown error 142",
39467- 143: "cannot send after transport endpoint shutdown",
39468- 144: "too many references: cannot splice",
39469- 145: "connection timed out",
39470- 146: "connection refused",
39471- 147: "host is down",
39472- 148: "no route to host",
39473- 149: "operation already in progress",
39474- 150: "operation now in progress",
39475- 151: "stale file handle",
39476- 158: "operation canceled",
39477- 159: "no medium found",
39478- 160: "wrong medium type",
39479- 161: "required key not available",
39480- 162: "key has expired",
39481- 163: "key has been revoked",
39482- 164: "key was rejected by service",
39483- 165: "owner died",
39484- 166: "state not recoverable",
39485- 167: "operation not possible due to RF-kill",
39486- 168: "memory page has hardware error",
39487- 1133: "disk quota exceeded",
39488+var errorList = [...]struct {
39489+ num syscall.Errno
39490+ name string
39491+ desc string
39492+}{
39493+ {1, "EPERM", "operation not permitted"},
39494+ {2, "ENOENT", "no such file or directory"},
39495+ {3, "ESRCH", "no such process"},
39496+ {4, "EINTR", "interrupted system call"},
39497+ {5, "EIO", "input/output error"},
39498+ {6, "ENXIO", "no such device or address"},
39499+ {7, "E2BIG", "argument list too long"},
39500+ {8, "ENOEXEC", "exec format error"},
39501+ {9, "EBADF", "bad file descriptor"},
39502+ {10, "ECHILD", "no child processes"},
39503+ {11, "EAGAIN", "resource temporarily unavailable"},
39504+ {12, "ENOMEM", "cannot allocate memory"},
39505+ {13, "EACCES", "permission denied"},
39506+ {14, "EFAULT", "bad address"},
39507+ {15, "ENOTBLK", "block device required"},
39508+ {16, "EBUSY", "device or resource busy"},
39509+ {17, "EEXIST", "file exists"},
39510+ {18, "EXDEV", "invalid cross-device link"},
39511+ {19, "ENODEV", "no such device"},
39512+ {20, "ENOTDIR", "not a directory"},
39513+ {21, "EISDIR", "is a directory"},
39514+ {22, "EINVAL", "invalid argument"},
39515+ {23, "ENFILE", "too many open files in system"},
39516+ {24, "EMFILE", "too many open files"},
39517+ {25, "ENOTTY", "inappropriate ioctl for device"},
39518+ {26, "ETXTBSY", "text file busy"},
39519+ {27, "EFBIG", "file too large"},
39520+ {28, "ENOSPC", "no space left on device"},
39521+ {29, "ESPIPE", "illegal seek"},
39522+ {30, "EROFS", "read-only file system"},
39523+ {31, "EMLINK", "too many links"},
39524+ {32, "EPIPE", "broken pipe"},
39525+ {33, "EDOM", "numerical argument out of domain"},
39526+ {34, "ERANGE", "numerical result out of range"},
39527+ {35, "ENOMSG", "no message of desired type"},
39528+ {36, "EIDRM", "identifier removed"},
39529+ {37, "ECHRNG", "channel number out of range"},
39530+ {38, "EL2NSYNC", "level 2 not synchronized"},
39531+ {39, "EL3HLT", "level 3 halted"},
39532+ {40, "EL3RST", "level 3 reset"},
39533+ {41, "ELNRNG", "link number out of range"},
39534+ {42, "EUNATCH", "protocol driver not attached"},
39535+ {43, "ENOCSI", "no CSI structure available"},
39536+ {44, "EL2HLT", "level 2 halted"},
39537+ {45, "EDEADLK", "resource deadlock avoided"},
39538+ {46, "ENOLCK", "no locks available"},
39539+ {50, "EBADE", "invalid exchange"},
39540+ {51, "EBADR", "invalid request descriptor"},
39541+ {52, "EXFULL", "exchange full"},
39542+ {53, "ENOANO", "no anode"},
39543+ {54, "EBADRQC", "invalid request code"},
39544+ {55, "EBADSLT", "invalid slot"},
39545+ {56, "EDEADLOCK", "file locking deadlock error"},
39546+ {59, "EBFONT", "bad font file format"},
39547+ {60, "ENOSTR", "device not a stream"},
39548+ {61, "ENODATA", "no data available"},
39549+ {62, "ETIME", "timer expired"},
39550+ {63, "ENOSR", "out of streams resources"},
39551+ {64, "ENONET", "machine is not on the network"},
39552+ {65, "ENOPKG", "package not installed"},
39553+ {66, "EREMOTE", "object is remote"},
39554+ {67, "ENOLINK", "link has been severed"},
39555+ {68, "EADV", "advertise error"},
39556+ {69, "ESRMNT", "srmount error"},
39557+ {70, "ECOMM", "communication error on send"},
39558+ {71, "EPROTO", "protocol error"},
39559+ {73, "EDOTDOT", "RFS specific error"},
39560+ {74, "EMULTIHOP", "multihop attempted"},
39561+ {77, "EBADMSG", "bad message"},
39562+ {78, "ENAMETOOLONG", "file name too long"},
39563+ {79, "EOVERFLOW", "value too large for defined data type"},
39564+ {80, "ENOTUNIQ", "name not unique on network"},
39565+ {81, "EBADFD", "file descriptor in bad state"},
39566+ {82, "EREMCHG", "remote address changed"},
39567+ {83, "ELIBACC", "can not access a needed shared library"},
39568+ {84, "ELIBBAD", "accessing a corrupted shared library"},
39569+ {85, "ELIBSCN", ".lib section in a.out corrupted"},
39570+ {86, "ELIBMAX", "attempting to link in too many shared libraries"},
39571+ {87, "ELIBEXEC", "cannot exec a shared library directly"},
39572+ {88, "EILSEQ", "invalid or incomplete multibyte or wide character"},
39573+ {89, "ENOSYS", "function not implemented"},
39574+ {90, "ELOOP", "too many levels of symbolic links"},
39575+ {91, "ERESTART", "interrupted system call should be restarted"},
39576+ {92, "ESTRPIPE", "streams pipe error"},
39577+ {93, "ENOTEMPTY", "directory not empty"},
39578+ {94, "EUSERS", "too many users"},
39579+ {95, "ENOTSOCK", "socket operation on non-socket"},
39580+ {96, "EDESTADDRREQ", "destination address required"},
39581+ {97, "EMSGSIZE", "message too long"},
39582+ {98, "EPROTOTYPE", "protocol wrong type for socket"},
39583+ {99, "ENOPROTOOPT", "protocol not available"},
39584+ {120, "EPROTONOSUPPORT", "protocol not supported"},
39585+ {121, "ESOCKTNOSUPPORT", "socket type not supported"},
39586+ {122, "ENOTSUP", "operation not supported"},
39587+ {123, "EPFNOSUPPORT", "protocol family not supported"},
39588+ {124, "EAFNOSUPPORT", "address family not supported by protocol"},
39589+ {125, "EADDRINUSE", "address already in use"},
39590+ {126, "EADDRNOTAVAIL", "cannot assign requested address"},
39591+ {127, "ENETDOWN", "network is down"},
39592+ {128, "ENETUNREACH", "network is unreachable"},
39593+ {129, "ENETRESET", "network dropped connection on reset"},
39594+ {130, "ECONNABORTED", "software caused connection abort"},
39595+ {131, "ECONNRESET", "connection reset by peer"},
39596+ {132, "ENOBUFS", "no buffer space available"},
39597+ {133, "EISCONN", "transport endpoint is already connected"},
39598+ {134, "ENOTCONN", "transport endpoint is not connected"},
39599+ {135, "EUCLEAN", "structure needs cleaning"},
39600+ {137, "ENOTNAM", "not a XENIX named type file"},
39601+ {138, "ENAVAIL", "no XENIX semaphores available"},
39602+ {139, "EISNAM", "is a named type file"},
39603+ {140, "EREMOTEIO", "remote I/O error"},
39604+ {141, "EINIT", "unknown error 141"},
39605+ {142, "EREMDEV", "unknown error 142"},
39606+ {143, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
39607+ {144, "ETOOMANYREFS", "too many references: cannot splice"},
39608+ {145, "ETIMEDOUT", "connection timed out"},
39609+ {146, "ECONNREFUSED", "connection refused"},
39610+ {147, "EHOSTDOWN", "host is down"},
39611+ {148, "EHOSTUNREACH", "no route to host"},
39612+ {149, "EALREADY", "operation already in progress"},
39613+ {150, "EINPROGRESS", "operation now in progress"},
39614+ {151, "ESTALE", "stale file handle"},
39615+ {158, "ECANCELED", "operation canceled"},
39616+ {159, "ENOMEDIUM", "no medium found"},
39617+ {160, "EMEDIUMTYPE", "wrong medium type"},
39618+ {161, "ENOKEY", "required key not available"},
39619+ {162, "EKEYEXPIRED", "key has expired"},
39620+ {163, "EKEYREVOKED", "key has been revoked"},
39621+ {164, "EKEYREJECTED", "key was rejected by service"},
39622+ {165, "EOWNERDEAD", "owner died"},
39623+ {166, "ENOTRECOVERABLE", "state not recoverable"},
39624+ {167, "ERFKILL", "operation not possible due to RF-kill"},
39625+ {168, "EHWPOISON", "memory page has hardware error"},
39626+ {1133, "EDQUOT", "disk quota exceeded"},
39627 }
39628
39629 // Signal table
39630-var signals = [...]string{
39631- 1: "hangup",
39632- 2: "interrupt",
39633- 3: "quit",
39634- 4: "illegal instruction",
39635- 5: "trace/breakpoint trap",
39636- 6: "aborted",
39637- 7: "EMT trap",
39638- 8: "floating point exception",
39639- 9: "killed",
39640- 10: "bus error",
39641- 11: "segmentation fault",
39642- 12: "bad system call",
39643- 13: "broken pipe",
39644- 14: "alarm clock",
39645- 15: "terminated",
39646- 16: "user defined signal 1",
39647- 17: "user defined signal 2",
39648- 18: "child exited",
39649- 19: "power failure",
39650- 20: "window changed",
39651- 21: "urgent I/O condition",
39652- 22: "I/O possible",
39653- 23: "stopped (signal)",
39654- 24: "stopped",
39655- 25: "continued",
39656- 26: "stopped (tty input)",
39657- 27: "stopped (tty output)",
39658- 28: "virtual timer expired",
39659- 29: "profiling timer expired",
39660- 30: "CPU time limit exceeded",
39661- 31: "file size limit exceeded",
39662+var signalList = [...]struct {
39663+ num syscall.Signal
39664+ name string
39665+ desc string
39666+}{
39667+ {1, "SIGHUP", "hangup"},
39668+ {2, "SIGINT", "interrupt"},
39669+ {3, "SIGQUIT", "quit"},
39670+ {4, "SIGILL", "illegal instruction"},
39671+ {5, "SIGTRAP", "trace/breakpoint trap"},
39672+ {6, "SIGABRT", "aborted"},
39673+ {7, "SIGEMT", "EMT trap"},
39674+ {8, "SIGFPE", "floating point exception"},
39675+ {9, "SIGKILL", "killed"},
39676+ {10, "SIGBUS", "bus error"},
39677+ {11, "SIGSEGV", "segmentation fault"},
39678+ {12, "SIGSYS", "bad system call"},
39679+ {13, "SIGPIPE", "broken pipe"},
39680+ {14, "SIGALRM", "alarm clock"},
39681+ {15, "SIGTERM", "terminated"},
39682+ {16, "SIGUSR1", "user defined signal 1"},
39683+ {17, "SIGUSR2", "user defined signal 2"},
39684+ {18, "SIGCHLD", "child exited"},
39685+ {19, "SIGPWR", "power failure"},
39686+ {20, "SIGWINCH", "window changed"},
39687+ {21, "SIGURG", "urgent I/O condition"},
39688+ {22, "SIGIO", "I/O possible"},
39689+ {23, "SIGSTOP", "stopped (signal)"},
39690+ {24, "SIGTSTP", "stopped"},
39691+ {25, "SIGCONT", "continued"},
39692+ {26, "SIGTTIN", "stopped (tty input)"},
39693+ {27, "SIGTTOU", "stopped (tty output)"},
39694+ {28, "SIGVTALRM", "virtual timer expired"},
39695+ {29, "SIGPROF", "profiling timer expired"},
39696+ {30, "SIGXCPU", "CPU time limit exceeded"},
39697+ {31, "SIGXFSZ", "file size limit exceeded"},
39698 }
39699diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go
39700index 4148f277..2346dc55 100644
39701--- a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go
39702+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go
39703@@ -3,7 +3,7 @@
39704
39705 // +build mips64,linux
39706
39707-// Created by cgo -godefs - DO NOT EDIT
39708+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
39709 // cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
39710
39711 package unix
39712@@ -11,1873 +11,489 @@ package unix
39713 import "syscall"
39714
39715 const (
39716- AF_ALG = 0x26
39717- AF_APPLETALK = 0x5
39718- AF_ASH = 0x12
39719- AF_ATMPVC = 0x8
39720- AF_ATMSVC = 0x14
39721- AF_AX25 = 0x3
39722- AF_BLUETOOTH = 0x1f
39723- AF_BRIDGE = 0x7
39724- AF_CAIF = 0x25
39725- AF_CAN = 0x1d
39726- AF_DECnet = 0xc
39727- AF_ECONET = 0x13
39728- AF_FILE = 0x1
39729- AF_IB = 0x1b
39730- AF_IEEE802154 = 0x24
39731- AF_INET = 0x2
39732- AF_INET6 = 0xa
39733- AF_IPX = 0x4
39734- AF_IRDA = 0x17
39735- AF_ISDN = 0x22
39736- AF_IUCV = 0x20
39737- AF_KCM = 0x29
39738- AF_KEY = 0xf
39739- AF_LLC = 0x1a
39740- AF_LOCAL = 0x1
39741- AF_MAX = 0x2b
39742- AF_MPLS = 0x1c
39743- AF_NETBEUI = 0xd
39744- AF_NETLINK = 0x10
39745- AF_NETROM = 0x6
39746- AF_NFC = 0x27
39747- AF_PACKET = 0x11
39748- AF_PHONET = 0x23
39749- AF_PPPOX = 0x18
39750- AF_QIPCRTR = 0x2a
39751- AF_RDS = 0x15
39752- AF_ROSE = 0xb
39753- AF_ROUTE = 0x10
39754- AF_RXRPC = 0x21
39755- AF_SECURITY = 0xe
39756- AF_SNA = 0x16
39757- AF_TIPC = 0x1e
39758- AF_UNIX = 0x1
39759- AF_UNSPEC = 0x0
39760- AF_VSOCK = 0x28
39761- AF_WANPIPE = 0x19
39762- AF_X25 = 0x9
39763- ALG_OP_DECRYPT = 0x0
39764- ALG_OP_ENCRYPT = 0x1
39765- ALG_SET_AEAD_ASSOCLEN = 0x4
39766- ALG_SET_AEAD_AUTHSIZE = 0x5
39767- ALG_SET_IV = 0x2
39768- ALG_SET_KEY = 0x1
39769- ALG_SET_OP = 0x3
39770- ARPHRD_6LOWPAN = 0x339
39771- ARPHRD_ADAPT = 0x108
39772- ARPHRD_APPLETLK = 0x8
39773- ARPHRD_ARCNET = 0x7
39774- ARPHRD_ASH = 0x30d
39775- ARPHRD_ATM = 0x13
39776- ARPHRD_AX25 = 0x3
39777- ARPHRD_BIF = 0x307
39778- ARPHRD_CAIF = 0x336
39779- ARPHRD_CAN = 0x118
39780- ARPHRD_CHAOS = 0x5
39781- ARPHRD_CISCO = 0x201
39782- ARPHRD_CSLIP = 0x101
39783- ARPHRD_CSLIP6 = 0x103
39784- ARPHRD_DDCMP = 0x205
39785- ARPHRD_DLCI = 0xf
39786- ARPHRD_ECONET = 0x30e
39787- ARPHRD_EETHER = 0x2
39788- ARPHRD_ETHER = 0x1
39789- ARPHRD_EUI64 = 0x1b
39790- ARPHRD_FCAL = 0x311
39791- ARPHRD_FCFABRIC = 0x313
39792- ARPHRD_FCPL = 0x312
39793- ARPHRD_FCPP = 0x310
39794- ARPHRD_FDDI = 0x306
39795- ARPHRD_FRAD = 0x302
39796- ARPHRD_HDLC = 0x201
39797- ARPHRD_HIPPI = 0x30c
39798- ARPHRD_HWX25 = 0x110
39799- ARPHRD_IEEE1394 = 0x18
39800- ARPHRD_IEEE802 = 0x6
39801- ARPHRD_IEEE80211 = 0x321
39802- ARPHRD_IEEE80211_PRISM = 0x322
39803- ARPHRD_IEEE80211_RADIOTAP = 0x323
39804- ARPHRD_IEEE802154 = 0x324
39805- ARPHRD_IEEE802154_MONITOR = 0x325
39806- ARPHRD_IEEE802_TR = 0x320
39807- ARPHRD_INFINIBAND = 0x20
39808- ARPHRD_IP6GRE = 0x337
39809- ARPHRD_IPDDP = 0x309
39810- ARPHRD_IPGRE = 0x30a
39811- ARPHRD_IRDA = 0x30f
39812- ARPHRD_LAPB = 0x204
39813- ARPHRD_LOCALTLK = 0x305
39814- ARPHRD_LOOPBACK = 0x304
39815- ARPHRD_METRICOM = 0x17
39816- ARPHRD_NETLINK = 0x338
39817- ARPHRD_NETROM = 0x0
39818- ARPHRD_NONE = 0xfffe
39819- ARPHRD_PHONET = 0x334
39820- ARPHRD_PHONET_PIPE = 0x335
39821- ARPHRD_PIMREG = 0x30b
39822- ARPHRD_PPP = 0x200
39823- ARPHRD_PRONET = 0x4
39824- ARPHRD_RAWHDLC = 0x206
39825- ARPHRD_ROSE = 0x10e
39826- ARPHRD_RSRVD = 0x104
39827- ARPHRD_SIT = 0x308
39828- ARPHRD_SKIP = 0x303
39829- ARPHRD_SLIP = 0x100
39830- ARPHRD_SLIP6 = 0x102
39831- ARPHRD_TUNNEL = 0x300
39832- ARPHRD_TUNNEL6 = 0x301
39833- ARPHRD_VOID = 0xffff
39834- ARPHRD_X25 = 0x10f
39835- B0 = 0x0
39836- B1000000 = 0x1008
39837- B110 = 0x3
39838- B115200 = 0x1002
39839- B1152000 = 0x1009
39840- B1200 = 0x9
39841- B134 = 0x4
39842- B150 = 0x5
39843- B1500000 = 0x100a
39844- B1800 = 0xa
39845- B19200 = 0xe
39846- B200 = 0x6
39847- B2000000 = 0x100b
39848- B230400 = 0x1003
39849- B2400 = 0xb
39850- B2500000 = 0x100c
39851- B300 = 0x7
39852- B3000000 = 0x100d
39853- B3500000 = 0x100e
39854- B38400 = 0xf
39855- B4000000 = 0x100f
39856- B460800 = 0x1004
39857- B4800 = 0xc
39858- B50 = 0x1
39859- B500000 = 0x1005
39860- B57600 = 0x1001
39861- B576000 = 0x1006
39862- B600 = 0x8
39863- B75 = 0x2
39864- B921600 = 0x1007
39865- B9600 = 0xd
39866- BLKBSZGET = 0x40081270
39867- BLKBSZSET = 0x80081271
39868- BLKFLSBUF = 0x20001261
39869- BLKFRAGET = 0x20001265
39870- BLKFRASET = 0x20001264
39871- BLKGETSIZE = 0x20001260
39872- BLKGETSIZE64 = 0x40081272
39873- BLKPBSZGET = 0x2000127b
39874- BLKRAGET = 0x20001263
39875- BLKRASET = 0x20001262
39876- BLKROGET = 0x2000125e
39877- BLKROSET = 0x2000125d
39878- BLKRRPART = 0x2000125f
39879- BLKSECTGET = 0x20001267
39880- BLKSECTSET = 0x20001266
39881- BLKSSZGET = 0x20001268
39882- BOTHER = 0x1000
39883- BPF_A = 0x10
39884- BPF_ABS = 0x20
39885- BPF_ADD = 0x0
39886- BPF_ALU = 0x4
39887- BPF_AND = 0x50
39888- BPF_B = 0x10
39889- BPF_DIV = 0x30
39890- BPF_H = 0x8
39891- BPF_IMM = 0x0
39892- BPF_IND = 0x40
39893- BPF_JA = 0x0
39894- BPF_JEQ = 0x10
39895- BPF_JGE = 0x30
39896- BPF_JGT = 0x20
39897- BPF_JMP = 0x5
39898- BPF_JSET = 0x40
39899- BPF_K = 0x0
39900- BPF_LD = 0x0
39901- BPF_LDX = 0x1
39902- BPF_LEN = 0x80
39903- BPF_LL_OFF = -0x200000
39904- BPF_LSH = 0x60
39905- BPF_MAJOR_VERSION = 0x1
39906- BPF_MAXINSNS = 0x1000
39907- BPF_MEM = 0x60
39908- BPF_MEMWORDS = 0x10
39909- BPF_MINOR_VERSION = 0x1
39910- BPF_MISC = 0x7
39911- BPF_MOD = 0x90
39912- BPF_MSH = 0xa0
39913- BPF_MUL = 0x20
39914- BPF_NEG = 0x80
39915- BPF_NET_OFF = -0x100000
39916- BPF_OR = 0x40
39917- BPF_RET = 0x6
39918- BPF_RSH = 0x70
39919- BPF_ST = 0x2
39920- BPF_STX = 0x3
39921- BPF_SUB = 0x10
39922- BPF_TAX = 0x0
39923- BPF_TXA = 0x80
39924- BPF_W = 0x0
39925- BPF_X = 0x8
39926- BPF_XOR = 0xa0
39927- BRKINT = 0x2
39928- BS0 = 0x0
39929- BS1 = 0x2000
39930- BSDLY = 0x2000
39931- CAN_BCM = 0x2
39932- CAN_EFF_FLAG = 0x80000000
39933- CAN_EFF_ID_BITS = 0x1d
39934- CAN_EFF_MASK = 0x1fffffff
39935- CAN_ERR_FLAG = 0x20000000
39936- CAN_ERR_MASK = 0x1fffffff
39937- CAN_INV_FILTER = 0x20000000
39938- CAN_ISOTP = 0x6
39939- CAN_MAX_DLC = 0x8
39940- CAN_MAX_DLEN = 0x8
39941- CAN_MCNET = 0x5
39942- CAN_MTU = 0x10
39943- CAN_NPROTO = 0x7
39944- CAN_RAW = 0x1
39945- CAN_RAW_FILTER_MAX = 0x200
39946- CAN_RTR_FLAG = 0x40000000
39947- CAN_SFF_ID_BITS = 0xb
39948- CAN_SFF_MASK = 0x7ff
39949- CAN_TP16 = 0x3
39950- CAN_TP20 = 0x4
39951- CBAUD = 0x100f
39952- CBAUDEX = 0x1000
39953- CFLUSH = 0xf
39954- CIBAUD = 0x100f0000
39955- CLOCAL = 0x800
39956- CLOCK_BOOTTIME = 0x7
39957- CLOCK_BOOTTIME_ALARM = 0x9
39958- CLOCK_DEFAULT = 0x0
39959- CLOCK_EXT = 0x1
39960- CLOCK_INT = 0x2
39961- CLOCK_MONOTONIC = 0x1
39962- CLOCK_MONOTONIC_COARSE = 0x6
39963- CLOCK_MONOTONIC_RAW = 0x4
39964- CLOCK_PROCESS_CPUTIME_ID = 0x2
39965- CLOCK_REALTIME = 0x0
39966- CLOCK_REALTIME_ALARM = 0x8
39967- CLOCK_REALTIME_COARSE = 0x5
39968- CLOCK_TAI = 0xb
39969- CLOCK_THREAD_CPUTIME_ID = 0x3
39970- CLOCK_TXFROMRX = 0x4
39971- CLOCK_TXINT = 0x3
39972- CLONE_CHILD_CLEARTID = 0x200000
39973- CLONE_CHILD_SETTID = 0x1000000
39974- CLONE_DETACHED = 0x400000
39975- CLONE_FILES = 0x400
39976- CLONE_FS = 0x200
39977- CLONE_IO = 0x80000000
39978- CLONE_NEWCGROUP = 0x2000000
39979- CLONE_NEWIPC = 0x8000000
39980- CLONE_NEWNET = 0x40000000
39981- CLONE_NEWNS = 0x20000
39982- CLONE_NEWPID = 0x20000000
39983- CLONE_NEWUSER = 0x10000000
39984- CLONE_NEWUTS = 0x4000000
39985- CLONE_PARENT = 0x8000
39986- CLONE_PARENT_SETTID = 0x100000
39987- CLONE_PTRACE = 0x2000
39988- CLONE_SETTLS = 0x80000
39989- CLONE_SIGHAND = 0x800
39990- CLONE_SYSVSEM = 0x40000
39991- CLONE_THREAD = 0x10000
39992- CLONE_UNTRACED = 0x800000
39993- CLONE_VFORK = 0x4000
39994- CLONE_VM = 0x100
39995- CMSPAR = 0x40000000
39996- CR0 = 0x0
39997- CR1 = 0x200
39998- CR2 = 0x400
39999- CR3 = 0x600
40000- CRDLY = 0x600
40001- CREAD = 0x80
40002- CRTSCTS = 0x80000000
40003- CS5 = 0x0
40004- CS6 = 0x10
40005- CS7 = 0x20
40006- CS8 = 0x30
40007- CSIGNAL = 0xff
40008- CSIZE = 0x30
40009- CSTART = 0x11
40010- CSTATUS = 0x0
40011- CSTOP = 0x13
40012- CSTOPB = 0x40
40013- CSUSP = 0x1a
40014- DT_BLK = 0x6
40015- DT_CHR = 0x2
40016- DT_DIR = 0x4
40017- DT_FIFO = 0x1
40018- DT_LNK = 0xa
40019- DT_REG = 0x8
40020- DT_SOCK = 0xc
40021- DT_UNKNOWN = 0x0
40022- DT_WHT = 0xe
40023- ECHO = 0x8
40024- ECHOCTL = 0x200
40025- ECHOE = 0x10
40026- ECHOK = 0x20
40027- ECHOKE = 0x800
40028- ECHONL = 0x40
40029- ECHOPRT = 0x400
40030- EFD_CLOEXEC = 0x80000
40031- EFD_NONBLOCK = 0x80
40032- EFD_SEMAPHORE = 0x1
40033- ENCODING_DEFAULT = 0x0
40034- ENCODING_FM_MARK = 0x3
40035- ENCODING_FM_SPACE = 0x4
40036- ENCODING_MANCHESTER = 0x5
40037- ENCODING_NRZ = 0x1
40038- ENCODING_NRZI = 0x2
40039- EPOLLERR = 0x8
40040- EPOLLET = 0x80000000
40041- EPOLLEXCLUSIVE = 0x10000000
40042- EPOLLHUP = 0x10
40043- EPOLLIN = 0x1
40044- EPOLLMSG = 0x400
40045- EPOLLONESHOT = 0x40000000
40046- EPOLLOUT = 0x4
40047- EPOLLPRI = 0x2
40048- EPOLLRDBAND = 0x80
40049- EPOLLRDHUP = 0x2000
40050- EPOLLRDNORM = 0x40
40051- EPOLLWAKEUP = 0x20000000
40052- EPOLLWRBAND = 0x200
40053- EPOLLWRNORM = 0x100
40054- EPOLL_CLOEXEC = 0x80000
40055- EPOLL_CTL_ADD = 0x1
40056- EPOLL_CTL_DEL = 0x2
40057- EPOLL_CTL_MOD = 0x3
40058- ETH_P_1588 = 0x88f7
40059- ETH_P_8021AD = 0x88a8
40060- ETH_P_8021AH = 0x88e7
40061- ETH_P_8021Q = 0x8100
40062- ETH_P_80221 = 0x8917
40063- ETH_P_802_2 = 0x4
40064- ETH_P_802_3 = 0x1
40065- ETH_P_802_3_MIN = 0x600
40066- ETH_P_802_EX1 = 0x88b5
40067- ETH_P_AARP = 0x80f3
40068- ETH_P_AF_IUCV = 0xfbfb
40069- ETH_P_ALL = 0x3
40070- ETH_P_AOE = 0x88a2
40071- ETH_P_ARCNET = 0x1a
40072- ETH_P_ARP = 0x806
40073- ETH_P_ATALK = 0x809b
40074- ETH_P_ATMFATE = 0x8884
40075- ETH_P_ATMMPOA = 0x884c
40076- ETH_P_AX25 = 0x2
40077- ETH_P_BATMAN = 0x4305
40078- ETH_P_BPQ = 0x8ff
40079- ETH_P_CAIF = 0xf7
40080- ETH_P_CAN = 0xc
40081- ETH_P_CANFD = 0xd
40082- ETH_P_CONTROL = 0x16
40083- ETH_P_CUST = 0x6006
40084- ETH_P_DDCMP = 0x6
40085- ETH_P_DEC = 0x6000
40086- ETH_P_DIAG = 0x6005
40087- ETH_P_DNA_DL = 0x6001
40088- ETH_P_DNA_RC = 0x6002
40089- ETH_P_DNA_RT = 0x6003
40090- ETH_P_DSA = 0x1b
40091- ETH_P_ECONET = 0x18
40092- ETH_P_EDSA = 0xdada
40093- ETH_P_FCOE = 0x8906
40094- ETH_P_FIP = 0x8914
40095- ETH_P_HDLC = 0x19
40096- ETH_P_HSR = 0x892f
40097- ETH_P_IEEE802154 = 0xf6
40098- ETH_P_IEEEPUP = 0xa00
40099- ETH_P_IEEEPUPAT = 0xa01
40100- ETH_P_IP = 0x800
40101- ETH_P_IPV6 = 0x86dd
40102- ETH_P_IPX = 0x8137
40103- ETH_P_IRDA = 0x17
40104- ETH_P_LAT = 0x6004
40105- ETH_P_LINK_CTL = 0x886c
40106- ETH_P_LOCALTALK = 0x9
40107- ETH_P_LOOP = 0x60
40108- ETH_P_LOOPBACK = 0x9000
40109- ETH_P_MACSEC = 0x88e5
40110- ETH_P_MOBITEX = 0x15
40111- ETH_P_MPLS_MC = 0x8848
40112- ETH_P_MPLS_UC = 0x8847
40113- ETH_P_MVRP = 0x88f5
40114- ETH_P_NCSI = 0x88f8
40115- ETH_P_PAE = 0x888e
40116- ETH_P_PAUSE = 0x8808
40117- ETH_P_PHONET = 0xf5
40118- ETH_P_PPPTALK = 0x10
40119- ETH_P_PPP_DISC = 0x8863
40120- ETH_P_PPP_MP = 0x8
40121- ETH_P_PPP_SES = 0x8864
40122- ETH_P_PRP = 0x88fb
40123- ETH_P_PUP = 0x200
40124- ETH_P_PUPAT = 0x201
40125- ETH_P_QINQ1 = 0x9100
40126- ETH_P_QINQ2 = 0x9200
40127- ETH_P_QINQ3 = 0x9300
40128- ETH_P_RARP = 0x8035
40129- ETH_P_SCA = 0x6007
40130- ETH_P_SLOW = 0x8809
40131- ETH_P_SNAP = 0x5
40132- ETH_P_TDLS = 0x890d
40133- ETH_P_TEB = 0x6558
40134- ETH_P_TIPC = 0x88ca
40135- ETH_P_TRAILER = 0x1c
40136- ETH_P_TR_802_2 = 0x11
40137- ETH_P_TSN = 0x22f0
40138- ETH_P_WAN_PPP = 0x7
40139- ETH_P_WCCP = 0x883e
40140- ETH_P_X25 = 0x805
40141- ETH_P_XDSA = 0xf8
40142- EXTA = 0xe
40143- EXTB = 0xf
40144- EXTPROC = 0x10000
40145- FALLOC_FL_COLLAPSE_RANGE = 0x8
40146- FALLOC_FL_INSERT_RANGE = 0x20
40147- FALLOC_FL_KEEP_SIZE = 0x1
40148- FALLOC_FL_NO_HIDE_STALE = 0x4
40149- FALLOC_FL_PUNCH_HOLE = 0x2
40150- FALLOC_FL_UNSHARE_RANGE = 0x40
40151- FALLOC_FL_ZERO_RANGE = 0x10
40152- FD_CLOEXEC = 0x1
40153- FD_SETSIZE = 0x400
40154- FF0 = 0x0
40155- FF1 = 0x8000
40156- FFDLY = 0x8000
40157- FLUSHO = 0x2000
40158- FS_ENCRYPTION_MODE_AES_256_CBC = 0x3
40159- FS_ENCRYPTION_MODE_AES_256_CTS = 0x4
40160- FS_ENCRYPTION_MODE_AES_256_GCM = 0x2
40161- FS_ENCRYPTION_MODE_AES_256_XTS = 0x1
40162- FS_ENCRYPTION_MODE_INVALID = 0x0
40163- FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615
40164- FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614
40165- FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613
40166- FS_KEY_DESCRIPTOR_SIZE = 0x8
40167- FS_KEY_DESC_PREFIX = "fscrypt:"
40168- FS_KEY_DESC_PREFIX_SIZE = 0x8
40169- FS_MAX_KEY_SIZE = 0x40
40170- FS_POLICY_FLAGS_PAD_16 = 0x2
40171- FS_POLICY_FLAGS_PAD_32 = 0x3
40172- FS_POLICY_FLAGS_PAD_4 = 0x0
40173- FS_POLICY_FLAGS_PAD_8 = 0x1
40174- FS_POLICY_FLAGS_PAD_MASK = 0x3
40175- FS_POLICY_FLAGS_VALID = 0x3
40176- F_DUPFD = 0x0
40177- F_DUPFD_CLOEXEC = 0x406
40178- F_EXLCK = 0x4
40179- F_GETFD = 0x1
40180- F_GETFL = 0x3
40181- F_GETLEASE = 0x401
40182- F_GETLK = 0xe
40183- F_GETLK64 = 0xe
40184- F_GETOWN = 0x17
40185- F_GETOWN_EX = 0x10
40186- F_GETPIPE_SZ = 0x408
40187- F_GETSIG = 0xb
40188- F_LOCK = 0x1
40189- F_NOTIFY = 0x402
40190- F_OFD_GETLK = 0x24
40191- F_OFD_SETLK = 0x25
40192- F_OFD_SETLKW = 0x26
40193- F_OK = 0x0
40194- F_RDLCK = 0x0
40195- F_SETFD = 0x2
40196- F_SETFL = 0x4
40197- F_SETLEASE = 0x400
40198- F_SETLK = 0x6
40199- F_SETLK64 = 0x6
40200- F_SETLKW = 0x7
40201- F_SETLKW64 = 0x7
40202- F_SETOWN = 0x18
40203- F_SETOWN_EX = 0xf
40204- F_SETPIPE_SZ = 0x407
40205- F_SETSIG = 0xa
40206- F_SHLCK = 0x8
40207- F_TEST = 0x3
40208- F_TLOCK = 0x2
40209- F_ULOCK = 0x0
40210- F_UNLCK = 0x2
40211- F_WRLCK = 0x1
40212- GENL_ADMIN_PERM = 0x1
40213- GENL_CMD_CAP_DO = 0x2
40214- GENL_CMD_CAP_DUMP = 0x4
40215- GENL_CMD_CAP_HASPOL = 0x8
40216- GENL_HDRLEN = 0x4
40217- GENL_ID_CTRL = 0x10
40218- GENL_ID_PMCRAID = 0x12
40219- GENL_ID_VFS_DQUOT = 0x11
40220- GENL_MAX_ID = 0x3ff
40221- GENL_MIN_ID = 0x10
40222- GENL_NAMSIZ = 0x10
40223- GENL_START_ALLOC = 0x13
40224- GENL_UNS_ADMIN_PERM = 0x10
40225- GRND_NONBLOCK = 0x1
40226- GRND_RANDOM = 0x2
40227- HUPCL = 0x400
40228- IBSHIFT = 0x10
40229- ICANON = 0x2
40230- ICMPV6_FILTER = 0x1
40231- ICRNL = 0x100
40232- IEXTEN = 0x100
40233- IFA_F_DADFAILED = 0x8
40234- IFA_F_DEPRECATED = 0x20
40235- IFA_F_HOMEADDRESS = 0x10
40236- IFA_F_MANAGETEMPADDR = 0x100
40237- IFA_F_MCAUTOJOIN = 0x400
40238- IFA_F_NODAD = 0x2
40239- IFA_F_NOPREFIXROUTE = 0x200
40240- IFA_F_OPTIMISTIC = 0x4
40241- IFA_F_PERMANENT = 0x80
40242- IFA_F_SECONDARY = 0x1
40243- IFA_F_STABLE_PRIVACY = 0x800
40244- IFA_F_TEMPORARY = 0x1
40245- IFA_F_TENTATIVE = 0x40
40246- IFA_MAX = 0x8
40247- IFF_ALLMULTI = 0x200
40248- IFF_ATTACH_QUEUE = 0x200
40249- IFF_AUTOMEDIA = 0x4000
40250- IFF_BROADCAST = 0x2
40251- IFF_DEBUG = 0x4
40252- IFF_DETACH_QUEUE = 0x400
40253- IFF_DORMANT = 0x20000
40254- IFF_DYNAMIC = 0x8000
40255- IFF_ECHO = 0x40000
40256- IFF_LOOPBACK = 0x8
40257- IFF_LOWER_UP = 0x10000
40258- IFF_MASTER = 0x400
40259- IFF_MULTICAST = 0x1000
40260- IFF_MULTI_QUEUE = 0x100
40261- IFF_NOARP = 0x80
40262- IFF_NOFILTER = 0x1000
40263- IFF_NOTRAILERS = 0x20
40264- IFF_NO_PI = 0x1000
40265- IFF_ONE_QUEUE = 0x2000
40266- IFF_PERSIST = 0x800
40267- IFF_POINTOPOINT = 0x10
40268- IFF_PORTSEL = 0x2000
40269- IFF_PROMISC = 0x100
40270- IFF_RUNNING = 0x40
40271- IFF_SLAVE = 0x800
40272- IFF_TAP = 0x2
40273- IFF_TUN = 0x1
40274- IFF_TUN_EXCL = 0x8000
40275- IFF_UP = 0x1
40276- IFF_VNET_HDR = 0x4000
40277- IFF_VOLATILE = 0x70c5a
40278- IFNAMSIZ = 0x10
40279- IGNBRK = 0x1
40280- IGNCR = 0x80
40281- IGNPAR = 0x4
40282- IMAXBEL = 0x2000
40283- INLCR = 0x40
40284- INPCK = 0x10
40285- IN_ACCESS = 0x1
40286- IN_ALL_EVENTS = 0xfff
40287- IN_ATTRIB = 0x4
40288- IN_CLASSA_HOST = 0xffffff
40289- IN_CLASSA_MAX = 0x80
40290- IN_CLASSA_NET = 0xff000000
40291- IN_CLASSA_NSHIFT = 0x18
40292- IN_CLASSB_HOST = 0xffff
40293- IN_CLASSB_MAX = 0x10000
40294- IN_CLASSB_NET = 0xffff0000
40295- IN_CLASSB_NSHIFT = 0x10
40296- IN_CLASSC_HOST = 0xff
40297- IN_CLASSC_NET = 0xffffff00
40298- IN_CLASSC_NSHIFT = 0x8
40299- IN_CLOEXEC = 0x80000
40300- IN_CLOSE = 0x18
40301- IN_CLOSE_NOWRITE = 0x10
40302- IN_CLOSE_WRITE = 0x8
40303- IN_CREATE = 0x100
40304- IN_DELETE = 0x200
40305- IN_DELETE_SELF = 0x400
40306- IN_DONT_FOLLOW = 0x2000000
40307- IN_EXCL_UNLINK = 0x4000000
40308- IN_IGNORED = 0x8000
40309- IN_ISDIR = 0x40000000
40310- IN_LOOPBACKNET = 0x7f
40311- IN_MASK_ADD = 0x20000000
40312- IN_MODIFY = 0x2
40313- IN_MOVE = 0xc0
40314- IN_MOVED_FROM = 0x40
40315- IN_MOVED_TO = 0x80
40316- IN_MOVE_SELF = 0x800
40317- IN_NONBLOCK = 0x80
40318- IN_ONESHOT = 0x80000000
40319- IN_ONLYDIR = 0x1000000
40320- IN_OPEN = 0x20
40321- IN_Q_OVERFLOW = 0x4000
40322- IN_UNMOUNT = 0x2000
40323- IPPROTO_AH = 0x33
40324- IPPROTO_BEETPH = 0x5e
40325- IPPROTO_COMP = 0x6c
40326- IPPROTO_DCCP = 0x21
40327- IPPROTO_DSTOPTS = 0x3c
40328- IPPROTO_EGP = 0x8
40329- IPPROTO_ENCAP = 0x62
40330- IPPROTO_ESP = 0x32
40331- IPPROTO_FRAGMENT = 0x2c
40332- IPPROTO_GRE = 0x2f
40333- IPPROTO_HOPOPTS = 0x0
40334- IPPROTO_ICMP = 0x1
40335- IPPROTO_ICMPV6 = 0x3a
40336- IPPROTO_IDP = 0x16
40337- IPPROTO_IGMP = 0x2
40338- IPPROTO_IP = 0x0
40339- IPPROTO_IPIP = 0x4
40340- IPPROTO_IPV6 = 0x29
40341- IPPROTO_MH = 0x87
40342- IPPROTO_MPLS = 0x89
40343- IPPROTO_MTP = 0x5c
40344- IPPROTO_NONE = 0x3b
40345- IPPROTO_PIM = 0x67
40346- IPPROTO_PUP = 0xc
40347- IPPROTO_RAW = 0xff
40348- IPPROTO_ROUTING = 0x2b
40349- IPPROTO_RSVP = 0x2e
40350- IPPROTO_SCTP = 0x84
40351- IPPROTO_TCP = 0x6
40352- IPPROTO_TP = 0x1d
40353- IPPROTO_UDP = 0x11
40354- IPPROTO_UDPLITE = 0x88
40355- IPV6_2292DSTOPTS = 0x4
40356- IPV6_2292HOPLIMIT = 0x8
40357- IPV6_2292HOPOPTS = 0x3
40358- IPV6_2292PKTINFO = 0x2
40359- IPV6_2292PKTOPTIONS = 0x6
40360- IPV6_2292RTHDR = 0x5
40361- IPV6_ADDRFORM = 0x1
40362- IPV6_ADD_MEMBERSHIP = 0x14
40363- IPV6_AUTHHDR = 0xa
40364- IPV6_CHECKSUM = 0x7
40365- IPV6_DONTFRAG = 0x3e
40366- IPV6_DROP_MEMBERSHIP = 0x15
40367- IPV6_DSTOPTS = 0x3b
40368- IPV6_HDRINCL = 0x24
40369- IPV6_HOPLIMIT = 0x34
40370- IPV6_HOPOPTS = 0x36
40371- IPV6_IPSEC_POLICY = 0x22
40372- IPV6_JOIN_ANYCAST = 0x1b
40373- IPV6_JOIN_GROUP = 0x14
40374- IPV6_LEAVE_ANYCAST = 0x1c
40375- IPV6_LEAVE_GROUP = 0x15
40376- IPV6_MTU = 0x18
40377- IPV6_MTU_DISCOVER = 0x17
40378- IPV6_MULTICAST_HOPS = 0x12
40379- IPV6_MULTICAST_IF = 0x11
40380- IPV6_MULTICAST_LOOP = 0x13
40381- IPV6_NEXTHOP = 0x9
40382- IPV6_PATHMTU = 0x3d
40383- IPV6_PKTINFO = 0x32
40384- IPV6_PMTUDISC_DO = 0x2
40385- IPV6_PMTUDISC_DONT = 0x0
40386- IPV6_PMTUDISC_INTERFACE = 0x4
40387- IPV6_PMTUDISC_OMIT = 0x5
40388- IPV6_PMTUDISC_PROBE = 0x3
40389- IPV6_PMTUDISC_WANT = 0x1
40390- IPV6_RECVDSTOPTS = 0x3a
40391- IPV6_RECVERR = 0x19
40392- IPV6_RECVHOPLIMIT = 0x33
40393- IPV6_RECVHOPOPTS = 0x35
40394- IPV6_RECVPATHMTU = 0x3c
40395- IPV6_RECVPKTINFO = 0x31
40396- IPV6_RECVRTHDR = 0x38
40397- IPV6_RECVTCLASS = 0x42
40398- IPV6_ROUTER_ALERT = 0x16
40399- IPV6_RTHDR = 0x39
40400- IPV6_RTHDRDSTOPTS = 0x37
40401- IPV6_RTHDR_LOOSE = 0x0
40402- IPV6_RTHDR_STRICT = 0x1
40403- IPV6_RTHDR_TYPE_0 = 0x0
40404- IPV6_RXDSTOPTS = 0x3b
40405- IPV6_RXHOPOPTS = 0x36
40406- IPV6_TCLASS = 0x43
40407- IPV6_UNICAST_HOPS = 0x10
40408- IPV6_V6ONLY = 0x1a
40409- IPV6_XFRM_POLICY = 0x23
40410- IP_ADD_MEMBERSHIP = 0x23
40411- IP_ADD_SOURCE_MEMBERSHIP = 0x27
40412- IP_BIND_ADDRESS_NO_PORT = 0x18
40413- IP_BLOCK_SOURCE = 0x26
40414- IP_CHECKSUM = 0x17
40415- IP_DEFAULT_MULTICAST_LOOP = 0x1
40416- IP_DEFAULT_MULTICAST_TTL = 0x1
40417- IP_DF = 0x4000
40418- IP_DROP_MEMBERSHIP = 0x24
40419- IP_DROP_SOURCE_MEMBERSHIP = 0x28
40420- IP_FREEBIND = 0xf
40421- IP_HDRINCL = 0x3
40422- IP_IPSEC_POLICY = 0x10
40423- IP_MAXPACKET = 0xffff
40424- IP_MAX_MEMBERSHIPS = 0x14
40425- IP_MF = 0x2000
40426- IP_MINTTL = 0x15
40427- IP_MSFILTER = 0x29
40428- IP_MSS = 0x240
40429- IP_MTU = 0xe
40430- IP_MTU_DISCOVER = 0xa
40431- IP_MULTICAST_ALL = 0x31
40432- IP_MULTICAST_IF = 0x20
40433- IP_MULTICAST_LOOP = 0x22
40434- IP_MULTICAST_TTL = 0x21
40435- IP_NODEFRAG = 0x16
40436- IP_OFFMASK = 0x1fff
40437- IP_OPTIONS = 0x4
40438- IP_ORIGDSTADDR = 0x14
40439- IP_PASSSEC = 0x12
40440- IP_PKTINFO = 0x8
40441- IP_PKTOPTIONS = 0x9
40442- IP_PMTUDISC = 0xa
40443- IP_PMTUDISC_DO = 0x2
40444- IP_PMTUDISC_DONT = 0x0
40445- IP_PMTUDISC_INTERFACE = 0x4
40446- IP_PMTUDISC_OMIT = 0x5
40447- IP_PMTUDISC_PROBE = 0x3
40448- IP_PMTUDISC_WANT = 0x1
40449- IP_RECVERR = 0xb
40450- IP_RECVOPTS = 0x6
40451- IP_RECVORIGDSTADDR = 0x14
40452- IP_RECVRETOPTS = 0x7
40453- IP_RECVTOS = 0xd
40454- IP_RECVTTL = 0xc
40455- IP_RETOPTS = 0x7
40456- IP_RF = 0x8000
40457- IP_ROUTER_ALERT = 0x5
40458- IP_TOS = 0x1
40459- IP_TRANSPARENT = 0x13
40460- IP_TTL = 0x2
40461- IP_UNBLOCK_SOURCE = 0x25
40462- IP_UNICAST_IF = 0x32
40463- IP_XFRM_POLICY = 0x11
40464- ISIG = 0x1
40465- ISTRIP = 0x20
40466- IUCLC = 0x200
40467- IUTF8 = 0x4000
40468- IXANY = 0x800
40469- IXOFF = 0x1000
40470- IXON = 0x400
40471- KEYCTL_ASSUME_AUTHORITY = 0x10
40472- KEYCTL_CHOWN = 0x4
40473- KEYCTL_CLEAR = 0x7
40474- KEYCTL_DESCRIBE = 0x6
40475- KEYCTL_DH_COMPUTE = 0x17
40476- KEYCTL_GET_KEYRING_ID = 0x0
40477- KEYCTL_GET_PERSISTENT = 0x16
40478- KEYCTL_GET_SECURITY = 0x11
40479- KEYCTL_INSTANTIATE = 0xc
40480- KEYCTL_INSTANTIATE_IOV = 0x14
40481- KEYCTL_INVALIDATE = 0x15
40482- KEYCTL_JOIN_SESSION_KEYRING = 0x1
40483- KEYCTL_LINK = 0x8
40484- KEYCTL_NEGATE = 0xd
40485- KEYCTL_READ = 0xb
40486- KEYCTL_REJECT = 0x13
40487- KEYCTL_REVOKE = 0x3
40488- KEYCTL_SEARCH = 0xa
40489- KEYCTL_SESSION_TO_PARENT = 0x12
40490- KEYCTL_SETPERM = 0x5
40491- KEYCTL_SET_REQKEY_KEYRING = 0xe
40492- KEYCTL_SET_TIMEOUT = 0xf
40493- KEYCTL_UNLINK = 0x9
40494- KEYCTL_UPDATE = 0x2
40495- KEY_REQKEY_DEFL_DEFAULT = 0x0
40496- KEY_REQKEY_DEFL_GROUP_KEYRING = 0x6
40497- KEY_REQKEY_DEFL_NO_CHANGE = -0x1
40498- KEY_REQKEY_DEFL_PROCESS_KEYRING = 0x2
40499- KEY_REQKEY_DEFL_REQUESTOR_KEYRING = 0x7
40500- KEY_REQKEY_DEFL_SESSION_KEYRING = 0x3
40501- KEY_REQKEY_DEFL_THREAD_KEYRING = 0x1
40502- KEY_REQKEY_DEFL_USER_KEYRING = 0x4
40503- KEY_REQKEY_DEFL_USER_SESSION_KEYRING = 0x5
40504- KEY_SPEC_GROUP_KEYRING = -0x6
40505- KEY_SPEC_PROCESS_KEYRING = -0x2
40506- KEY_SPEC_REQKEY_AUTH_KEY = -0x7
40507- KEY_SPEC_REQUESTOR_KEYRING = -0x8
40508- KEY_SPEC_SESSION_KEYRING = -0x3
40509- KEY_SPEC_THREAD_KEYRING = -0x1
40510- KEY_SPEC_USER_KEYRING = -0x4
40511- KEY_SPEC_USER_SESSION_KEYRING = -0x5
40512- LINUX_REBOOT_CMD_CAD_OFF = 0x0
40513- LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
40514- LINUX_REBOOT_CMD_HALT = 0xcdef0123
40515- LINUX_REBOOT_CMD_KEXEC = 0x45584543
40516- LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
40517- LINUX_REBOOT_CMD_RESTART = 0x1234567
40518- LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
40519- LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
40520- LINUX_REBOOT_MAGIC1 = 0xfee1dead
40521- LINUX_REBOOT_MAGIC2 = 0x28121969
40522- LOCK_EX = 0x2
40523- LOCK_NB = 0x4
40524- LOCK_SH = 0x1
40525- LOCK_UN = 0x8
40526- MADV_DODUMP = 0x11
40527- MADV_DOFORK = 0xb
40528- MADV_DONTDUMP = 0x10
40529- MADV_DONTFORK = 0xa
40530- MADV_DONTNEED = 0x4
40531- MADV_FREE = 0x8
40532- MADV_HUGEPAGE = 0xe
40533- MADV_HWPOISON = 0x64
40534- MADV_MERGEABLE = 0xc
40535- MADV_NOHUGEPAGE = 0xf
40536- MADV_NORMAL = 0x0
40537- MADV_RANDOM = 0x1
40538- MADV_REMOVE = 0x9
40539- MADV_SEQUENTIAL = 0x2
40540- MADV_UNMERGEABLE = 0xd
40541- MADV_WILLNEED = 0x3
40542- MAP_ANON = 0x800
40543- MAP_ANONYMOUS = 0x800
40544- MAP_DENYWRITE = 0x2000
40545- MAP_EXECUTABLE = 0x4000
40546- MAP_FILE = 0x0
40547- MAP_FIXED = 0x10
40548- MAP_GROWSDOWN = 0x1000
40549- MAP_HUGETLB = 0x80000
40550- MAP_HUGE_MASK = 0x3f
40551- MAP_HUGE_SHIFT = 0x1a
40552- MAP_LOCKED = 0x8000
40553- MAP_NONBLOCK = 0x20000
40554- MAP_NORESERVE = 0x400
40555- MAP_POPULATE = 0x10000
40556- MAP_PRIVATE = 0x2
40557- MAP_RENAME = 0x800
40558- MAP_SHARED = 0x1
40559- MAP_STACK = 0x40000
40560- MAP_TYPE = 0xf
40561- MCL_CURRENT = 0x1
40562- MCL_FUTURE = 0x2
40563- MCL_ONFAULT = 0x4
40564- MNT_DETACH = 0x2
40565- MNT_EXPIRE = 0x4
40566- MNT_FORCE = 0x1
40567- MSG_BATCH = 0x40000
40568- MSG_CMSG_CLOEXEC = 0x40000000
40569- MSG_CONFIRM = 0x800
40570- MSG_CTRUNC = 0x8
40571- MSG_DONTROUTE = 0x4
40572- MSG_DONTWAIT = 0x40
40573- MSG_EOR = 0x80
40574- MSG_ERRQUEUE = 0x2000
40575- MSG_FASTOPEN = 0x20000000
40576- MSG_FIN = 0x200
40577- MSG_MORE = 0x8000
40578- MSG_NOSIGNAL = 0x4000
40579- MSG_OOB = 0x1
40580- MSG_PEEK = 0x2
40581- MSG_PROXY = 0x10
40582- MSG_RST = 0x1000
40583- MSG_SYN = 0x400
40584- MSG_TRUNC = 0x20
40585- MSG_TRYHARD = 0x4
40586- MSG_WAITALL = 0x100
40587- MSG_WAITFORONE = 0x10000
40588- MS_ACTIVE = 0x40000000
40589- MS_ASYNC = 0x1
40590- MS_BIND = 0x1000
40591- MS_BORN = 0x20000000
40592- MS_DIRSYNC = 0x80
40593- MS_INVALIDATE = 0x2
40594- MS_I_VERSION = 0x800000
40595- MS_KERNMOUNT = 0x400000
40596- MS_LAZYTIME = 0x2000000
40597- MS_MANDLOCK = 0x40
40598- MS_MGC_MSK = 0xffff0000
40599- MS_MGC_VAL = 0xc0ed0000
40600- MS_MOVE = 0x2000
40601- MS_NOATIME = 0x400
40602- MS_NODEV = 0x4
40603- MS_NODIRATIME = 0x800
40604- MS_NOEXEC = 0x8
40605- MS_NOREMOTELOCK = 0x8000000
40606- MS_NOSEC = 0x10000000
40607- MS_NOSUID = 0x2
40608- MS_NOUSER = -0x80000000
40609- MS_POSIXACL = 0x10000
40610- MS_PRIVATE = 0x40000
40611- MS_RDONLY = 0x1
40612- MS_REC = 0x4000
40613- MS_RELATIME = 0x200000
40614- MS_REMOUNT = 0x20
40615- MS_RMT_MASK = 0x2800051
40616- MS_SHARED = 0x100000
40617- MS_SILENT = 0x8000
40618- MS_SLAVE = 0x80000
40619- MS_STRICTATIME = 0x1000000
40620- MS_SYNC = 0x4
40621- MS_SYNCHRONOUS = 0x10
40622- MS_UNBINDABLE = 0x20000
40623- MS_VERBOSE = 0x8000
40624- NAME_MAX = 0xff
40625- NETLINK_ADD_MEMBERSHIP = 0x1
40626- NETLINK_AUDIT = 0x9
40627- NETLINK_BROADCAST_ERROR = 0x4
40628- NETLINK_CAP_ACK = 0xa
40629- NETLINK_CONNECTOR = 0xb
40630- NETLINK_CRYPTO = 0x15
40631- NETLINK_DNRTMSG = 0xe
40632- NETLINK_DROP_MEMBERSHIP = 0x2
40633- NETLINK_ECRYPTFS = 0x13
40634- NETLINK_FIB_LOOKUP = 0xa
40635- NETLINK_FIREWALL = 0x3
40636- NETLINK_GENERIC = 0x10
40637- NETLINK_INET_DIAG = 0x4
40638- NETLINK_IP6_FW = 0xd
40639- NETLINK_ISCSI = 0x8
40640- NETLINK_KOBJECT_UEVENT = 0xf
40641- NETLINK_LISTEN_ALL_NSID = 0x8
40642- NETLINK_LIST_MEMBERSHIPS = 0x9
40643- NETLINK_NETFILTER = 0xc
40644- NETLINK_NFLOG = 0x5
40645- NETLINK_NO_ENOBUFS = 0x5
40646- NETLINK_PKTINFO = 0x3
40647- NETLINK_RDMA = 0x14
40648- NETLINK_ROUTE = 0x0
40649- NETLINK_RX_RING = 0x6
40650- NETLINK_SCSITRANSPORT = 0x12
40651- NETLINK_SELINUX = 0x7
40652- NETLINK_SOCK_DIAG = 0x4
40653- NETLINK_TX_RING = 0x7
40654- NETLINK_UNUSED = 0x1
40655- NETLINK_USERSOCK = 0x2
40656- NETLINK_XFRM = 0x6
40657- NL0 = 0x0
40658- NL1 = 0x100
40659- NLA_ALIGNTO = 0x4
40660- NLA_F_NESTED = 0x8000
40661- NLA_F_NET_BYTEORDER = 0x4000
40662- NLA_HDRLEN = 0x4
40663- NLDLY = 0x100
40664- NLMSG_ALIGNTO = 0x4
40665- NLMSG_DONE = 0x3
40666- NLMSG_ERROR = 0x2
40667- NLMSG_HDRLEN = 0x10
40668- NLMSG_MIN_TYPE = 0x10
40669- NLMSG_NOOP = 0x1
40670- NLMSG_OVERRUN = 0x4
40671- NLM_F_ACK = 0x4
40672- NLM_F_APPEND = 0x800
40673- NLM_F_ATOMIC = 0x400
40674- NLM_F_CREATE = 0x400
40675- NLM_F_DUMP = 0x300
40676- NLM_F_DUMP_FILTERED = 0x20
40677- NLM_F_DUMP_INTR = 0x10
40678- NLM_F_ECHO = 0x8
40679- NLM_F_EXCL = 0x200
40680- NLM_F_MATCH = 0x200
40681- NLM_F_MULTI = 0x2
40682- NLM_F_REPLACE = 0x100
40683- NLM_F_REQUEST = 0x1
40684- NLM_F_ROOT = 0x100
40685- NOFLSH = 0x80
40686- OCRNL = 0x8
40687- OFDEL = 0x80
40688- OFILL = 0x40
40689- OLCUC = 0x2
40690- ONLCR = 0x4
40691- ONLRET = 0x20
40692- ONOCR = 0x10
40693- OPOST = 0x1
40694- O_ACCMODE = 0x3
40695- O_APPEND = 0x8
40696- O_ASYNC = 0x1000
40697- O_CLOEXEC = 0x80000
40698- O_CREAT = 0x100
40699- O_DIRECT = 0x8000
40700- O_DIRECTORY = 0x10000
40701- O_DSYNC = 0x10
40702- O_EXCL = 0x400
40703- O_FSYNC = 0x4010
40704- O_LARGEFILE = 0x0
40705- O_NDELAY = 0x80
40706- O_NOATIME = 0x40000
40707- O_NOCTTY = 0x800
40708- O_NOFOLLOW = 0x20000
40709- O_NONBLOCK = 0x80
40710- O_PATH = 0x200000
40711- O_RDONLY = 0x0
40712- O_RDWR = 0x2
40713- O_RSYNC = 0x4010
40714- O_SYNC = 0x4010
40715- O_TMPFILE = 0x410000
40716- O_TRUNC = 0x200
40717- O_WRONLY = 0x1
40718- PACKET_ADD_MEMBERSHIP = 0x1
40719- PACKET_AUXDATA = 0x8
40720- PACKET_BROADCAST = 0x1
40721- PACKET_COPY_THRESH = 0x7
40722- PACKET_DROP_MEMBERSHIP = 0x2
40723- PACKET_FANOUT = 0x12
40724- PACKET_FANOUT_CBPF = 0x6
40725- PACKET_FANOUT_CPU = 0x2
40726- PACKET_FANOUT_DATA = 0x16
40727- PACKET_FANOUT_EBPF = 0x7
40728- PACKET_FANOUT_FLAG_DEFRAG = 0x8000
40729- PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
40730- PACKET_FANOUT_HASH = 0x0
40731- PACKET_FANOUT_LB = 0x1
40732- PACKET_FANOUT_QM = 0x5
40733- PACKET_FANOUT_RND = 0x4
40734- PACKET_FANOUT_ROLLOVER = 0x3
40735- PACKET_FASTROUTE = 0x6
40736- PACKET_HDRLEN = 0xb
40737- PACKET_HOST = 0x0
40738- PACKET_KERNEL = 0x7
40739- PACKET_LOOPBACK = 0x5
40740- PACKET_LOSS = 0xe
40741- PACKET_MR_ALLMULTI = 0x2
40742- PACKET_MR_MULTICAST = 0x0
40743- PACKET_MR_PROMISC = 0x1
40744- PACKET_MR_UNICAST = 0x3
40745- PACKET_MULTICAST = 0x2
40746- PACKET_ORIGDEV = 0x9
40747- PACKET_OTHERHOST = 0x3
40748- PACKET_OUTGOING = 0x4
40749- PACKET_QDISC_BYPASS = 0x14
40750- PACKET_RECV_OUTPUT = 0x3
40751- PACKET_RESERVE = 0xc
40752- PACKET_ROLLOVER_STATS = 0x15
40753- PACKET_RX_RING = 0x5
40754- PACKET_STATISTICS = 0x6
40755- PACKET_TIMESTAMP = 0x11
40756- PACKET_TX_HAS_OFF = 0x13
40757- PACKET_TX_RING = 0xd
40758- PACKET_TX_TIMESTAMP = 0x10
40759- PACKET_USER = 0x6
40760- PACKET_VERSION = 0xa
40761- PACKET_VNET_HDR = 0xf
40762- PARENB = 0x100
40763- PARITY_CRC16_PR0 = 0x2
40764- PARITY_CRC16_PR0_CCITT = 0x4
40765- PARITY_CRC16_PR1 = 0x3
40766- PARITY_CRC16_PR1_CCITT = 0x5
40767- PARITY_CRC32_PR0_CCITT = 0x6
40768- PARITY_CRC32_PR1_CCITT = 0x7
40769- PARITY_DEFAULT = 0x0
40770- PARITY_NONE = 0x1
40771- PARMRK = 0x8
40772- PARODD = 0x200
40773- PENDIN = 0x4000
40774- PERF_EVENT_IOC_DISABLE = 0x20002401
40775- PERF_EVENT_IOC_ENABLE = 0x20002400
40776- PERF_EVENT_IOC_ID = 0x40082407
40777- PERF_EVENT_IOC_PAUSE_OUTPUT = 0x80042409
40778- PERF_EVENT_IOC_PERIOD = 0x80082404
40779- PERF_EVENT_IOC_REFRESH = 0x20002402
40780- PERF_EVENT_IOC_RESET = 0x20002403
40781- PERF_EVENT_IOC_SET_BPF = 0x80042408
40782- PERF_EVENT_IOC_SET_FILTER = 0x80082406
40783- PERF_EVENT_IOC_SET_OUTPUT = 0x20002405
40784- PRIO_PGRP = 0x1
40785- PRIO_PROCESS = 0x0
40786- PRIO_USER = 0x2
40787- PROT_EXEC = 0x4
40788- PROT_GROWSDOWN = 0x1000000
40789- PROT_GROWSUP = 0x2000000
40790- PROT_NONE = 0x0
40791- PROT_READ = 0x1
40792- PROT_WRITE = 0x2
40793- PR_CAPBSET_DROP = 0x18
40794- PR_CAPBSET_READ = 0x17
40795- PR_CAP_AMBIENT = 0x2f
40796- PR_CAP_AMBIENT_CLEAR_ALL = 0x4
40797- PR_CAP_AMBIENT_IS_SET = 0x1
40798- PR_CAP_AMBIENT_LOWER = 0x3
40799- PR_CAP_AMBIENT_RAISE = 0x2
40800- PR_ENDIAN_BIG = 0x0
40801- PR_ENDIAN_LITTLE = 0x1
40802- PR_ENDIAN_PPC_LITTLE = 0x2
40803- PR_FPEMU_NOPRINT = 0x1
40804- PR_FPEMU_SIGFPE = 0x2
40805- PR_FP_EXC_ASYNC = 0x2
40806- PR_FP_EXC_DISABLED = 0x0
40807- PR_FP_EXC_DIV = 0x10000
40808- PR_FP_EXC_INV = 0x100000
40809- PR_FP_EXC_NONRECOV = 0x1
40810- PR_FP_EXC_OVF = 0x20000
40811- PR_FP_EXC_PRECISE = 0x3
40812- PR_FP_EXC_RES = 0x80000
40813- PR_FP_EXC_SW_ENABLE = 0x80
40814- PR_FP_EXC_UND = 0x40000
40815- PR_FP_MODE_FR = 0x1
40816- PR_FP_MODE_FRE = 0x2
40817- PR_GET_CHILD_SUBREAPER = 0x25
40818- PR_GET_DUMPABLE = 0x3
40819- PR_GET_ENDIAN = 0x13
40820- PR_GET_FPEMU = 0x9
40821- PR_GET_FPEXC = 0xb
40822- PR_GET_FP_MODE = 0x2e
40823- PR_GET_KEEPCAPS = 0x7
40824- PR_GET_NAME = 0x10
40825- PR_GET_NO_NEW_PRIVS = 0x27
40826- PR_GET_PDEATHSIG = 0x2
40827- PR_GET_SECCOMP = 0x15
40828- PR_GET_SECUREBITS = 0x1b
40829- PR_GET_THP_DISABLE = 0x2a
40830- PR_GET_TID_ADDRESS = 0x28
40831- PR_GET_TIMERSLACK = 0x1e
40832- PR_GET_TIMING = 0xd
40833- PR_GET_TSC = 0x19
40834- PR_GET_UNALIGN = 0x5
40835- PR_MCE_KILL = 0x21
40836- PR_MCE_KILL_CLEAR = 0x0
40837- PR_MCE_KILL_DEFAULT = 0x2
40838- PR_MCE_KILL_EARLY = 0x1
40839- PR_MCE_KILL_GET = 0x22
40840- PR_MCE_KILL_LATE = 0x0
40841- PR_MCE_KILL_SET = 0x1
40842- PR_MPX_DISABLE_MANAGEMENT = 0x2c
40843- PR_MPX_ENABLE_MANAGEMENT = 0x2b
40844- PR_SET_CHILD_SUBREAPER = 0x24
40845- PR_SET_DUMPABLE = 0x4
40846- PR_SET_ENDIAN = 0x14
40847- PR_SET_FPEMU = 0xa
40848- PR_SET_FPEXC = 0xc
40849- PR_SET_FP_MODE = 0x2d
40850- PR_SET_KEEPCAPS = 0x8
40851- PR_SET_MM = 0x23
40852- PR_SET_MM_ARG_END = 0x9
40853- PR_SET_MM_ARG_START = 0x8
40854- PR_SET_MM_AUXV = 0xc
40855- PR_SET_MM_BRK = 0x7
40856- PR_SET_MM_END_CODE = 0x2
40857- PR_SET_MM_END_DATA = 0x4
40858- PR_SET_MM_ENV_END = 0xb
40859- PR_SET_MM_ENV_START = 0xa
40860- PR_SET_MM_EXE_FILE = 0xd
40861- PR_SET_MM_MAP = 0xe
40862- PR_SET_MM_MAP_SIZE = 0xf
40863- PR_SET_MM_START_BRK = 0x6
40864- PR_SET_MM_START_CODE = 0x1
40865- PR_SET_MM_START_DATA = 0x3
40866- PR_SET_MM_START_STACK = 0x5
40867- PR_SET_NAME = 0xf
40868- PR_SET_NO_NEW_PRIVS = 0x26
40869- PR_SET_PDEATHSIG = 0x1
40870- PR_SET_PTRACER = 0x59616d61
40871- PR_SET_PTRACER_ANY = -0x1
40872- PR_SET_SECCOMP = 0x16
40873- PR_SET_SECUREBITS = 0x1c
40874- PR_SET_THP_DISABLE = 0x29
40875- PR_SET_TIMERSLACK = 0x1d
40876- PR_SET_TIMING = 0xe
40877- PR_SET_TSC = 0x1a
40878- PR_SET_UNALIGN = 0x6
40879- PR_TASK_PERF_EVENTS_DISABLE = 0x1f
40880- PR_TASK_PERF_EVENTS_ENABLE = 0x20
40881- PR_TIMING_STATISTICAL = 0x0
40882- PR_TIMING_TIMESTAMP = 0x1
40883- PR_TSC_ENABLE = 0x1
40884- PR_TSC_SIGSEGV = 0x2
40885- PR_UNALIGN_NOPRINT = 0x1
40886- PR_UNALIGN_SIGBUS = 0x2
40887- PTRACE_ATTACH = 0x10
40888- PTRACE_CONT = 0x7
40889- PTRACE_DETACH = 0x11
40890- PTRACE_EVENT_CLONE = 0x3
40891- PTRACE_EVENT_EXEC = 0x4
40892- PTRACE_EVENT_EXIT = 0x6
40893- PTRACE_EVENT_FORK = 0x1
40894- PTRACE_EVENT_SECCOMP = 0x7
40895- PTRACE_EVENT_STOP = 0x80
40896- PTRACE_EVENT_VFORK = 0x2
40897- PTRACE_EVENT_VFORK_DONE = 0x5
40898- PTRACE_GETEVENTMSG = 0x4201
40899- PTRACE_GETFPREGS = 0xe
40900- PTRACE_GETREGS = 0xc
40901- PTRACE_GETREGSET = 0x4204
40902- PTRACE_GETSIGINFO = 0x4202
40903- PTRACE_GETSIGMASK = 0x420a
40904- PTRACE_GET_THREAD_AREA = 0x19
40905- PTRACE_GET_THREAD_AREA_3264 = 0xc4
40906- PTRACE_GET_WATCH_REGS = 0xd0
40907- PTRACE_INTERRUPT = 0x4207
40908- PTRACE_KILL = 0x8
40909- PTRACE_LISTEN = 0x4208
40910- PTRACE_OLDSETOPTIONS = 0x15
40911- PTRACE_O_EXITKILL = 0x100000
40912- PTRACE_O_MASK = 0x3000ff
40913- PTRACE_O_SUSPEND_SECCOMP = 0x200000
40914- PTRACE_O_TRACECLONE = 0x8
40915- PTRACE_O_TRACEEXEC = 0x10
40916- PTRACE_O_TRACEEXIT = 0x40
40917- PTRACE_O_TRACEFORK = 0x2
40918- PTRACE_O_TRACESECCOMP = 0x80
40919- PTRACE_O_TRACESYSGOOD = 0x1
40920- PTRACE_O_TRACEVFORK = 0x4
40921- PTRACE_O_TRACEVFORKDONE = 0x20
40922- PTRACE_PEEKDATA = 0x2
40923- PTRACE_PEEKDATA_3264 = 0xc1
40924- PTRACE_PEEKSIGINFO = 0x4209
40925- PTRACE_PEEKSIGINFO_SHARED = 0x1
40926- PTRACE_PEEKTEXT = 0x1
40927- PTRACE_PEEKTEXT_3264 = 0xc0
40928- PTRACE_PEEKUSR = 0x3
40929- PTRACE_POKEDATA = 0x5
40930- PTRACE_POKEDATA_3264 = 0xc3
40931- PTRACE_POKETEXT = 0x4
40932- PTRACE_POKETEXT_3264 = 0xc2
40933- PTRACE_POKEUSR = 0x6
40934- PTRACE_SECCOMP_GET_FILTER = 0x420c
40935- PTRACE_SEIZE = 0x4206
40936- PTRACE_SETFPREGS = 0xf
40937- PTRACE_SETOPTIONS = 0x4200
40938- PTRACE_SETREGS = 0xd
40939- PTRACE_SETREGSET = 0x4205
40940- PTRACE_SETSIGINFO = 0x4203
40941- PTRACE_SETSIGMASK = 0x420b
40942- PTRACE_SET_THREAD_AREA = 0x1a
40943- PTRACE_SET_WATCH_REGS = 0xd1
40944- PTRACE_SINGLESTEP = 0x9
40945- PTRACE_SYSCALL = 0x18
40946- PTRACE_TRACEME = 0x0
40947- RLIMIT_AS = 0x6
40948- RLIMIT_CORE = 0x4
40949- RLIMIT_CPU = 0x0
40950- RLIMIT_DATA = 0x2
40951- RLIMIT_FSIZE = 0x1
40952- RLIMIT_LOCKS = 0xa
40953- RLIMIT_MEMLOCK = 0x9
40954- RLIMIT_MSGQUEUE = 0xc
40955- RLIMIT_NICE = 0xd
40956- RLIMIT_NOFILE = 0x5
40957- RLIMIT_NPROC = 0x8
40958- RLIMIT_RSS = 0x7
40959- RLIMIT_RTPRIO = 0xe
40960- RLIMIT_RTTIME = 0xf
40961- RLIMIT_SIGPENDING = 0xb
40962- RLIMIT_STACK = 0x3
40963- RLIM_INFINITY = -0x1
40964- RTAX_ADVMSS = 0x8
40965- RTAX_CC_ALGO = 0x10
40966- RTAX_CWND = 0x7
40967- RTAX_FEATURES = 0xc
40968- RTAX_FEATURE_ALLFRAG = 0x8
40969- RTAX_FEATURE_ECN = 0x1
40970- RTAX_FEATURE_MASK = 0xf
40971- RTAX_FEATURE_SACK = 0x2
40972- RTAX_FEATURE_TIMESTAMP = 0x4
40973- RTAX_HOPLIMIT = 0xa
40974- RTAX_INITCWND = 0xb
40975- RTAX_INITRWND = 0xe
40976- RTAX_LOCK = 0x1
40977- RTAX_MAX = 0x10
40978- RTAX_MTU = 0x2
40979- RTAX_QUICKACK = 0xf
40980- RTAX_REORDERING = 0x9
40981- RTAX_RTO_MIN = 0xd
40982- RTAX_RTT = 0x4
40983- RTAX_RTTVAR = 0x5
40984- RTAX_SSTHRESH = 0x6
40985- RTAX_UNSPEC = 0x0
40986- RTAX_WINDOW = 0x3
40987- RTA_ALIGNTO = 0x4
40988- RTA_MAX = 0x19
40989- RTCF_DIRECTSRC = 0x4000000
40990- RTCF_DOREDIRECT = 0x1000000
40991- RTCF_LOG = 0x2000000
40992- RTCF_MASQ = 0x400000
40993- RTCF_NAT = 0x800000
40994- RTCF_VALVE = 0x200000
40995- RTF_ADDRCLASSMASK = 0xf8000000
40996- RTF_ADDRCONF = 0x40000
40997- RTF_ALLONLINK = 0x20000
40998- RTF_BROADCAST = 0x10000000
40999- RTF_CACHE = 0x1000000
41000- RTF_DEFAULT = 0x10000
41001- RTF_DYNAMIC = 0x10
41002- RTF_FLOW = 0x2000000
41003- RTF_GATEWAY = 0x2
41004- RTF_HOST = 0x4
41005- RTF_INTERFACE = 0x40000000
41006- RTF_IRTT = 0x100
41007- RTF_LINKRT = 0x100000
41008- RTF_LOCAL = 0x80000000
41009- RTF_MODIFIED = 0x20
41010- RTF_MSS = 0x40
41011- RTF_MTU = 0x40
41012- RTF_MULTICAST = 0x20000000
41013- RTF_NAT = 0x8000000
41014- RTF_NOFORWARD = 0x1000
41015- RTF_NONEXTHOP = 0x200000
41016- RTF_NOPMTUDISC = 0x4000
41017- RTF_POLICY = 0x4000000
41018- RTF_REINSTATE = 0x8
41019- RTF_REJECT = 0x200
41020- RTF_STATIC = 0x400
41021- RTF_THROW = 0x2000
41022- RTF_UP = 0x1
41023- RTF_WINDOW = 0x80
41024- RTF_XRESOLVE = 0x800
41025- RTM_BASE = 0x10
41026- RTM_DELACTION = 0x31
41027- RTM_DELADDR = 0x15
41028- RTM_DELADDRLABEL = 0x49
41029- RTM_DELLINK = 0x11
41030- RTM_DELMDB = 0x55
41031- RTM_DELNEIGH = 0x1d
41032- RTM_DELNSID = 0x59
41033- RTM_DELQDISC = 0x25
41034- RTM_DELROUTE = 0x19
41035- RTM_DELRULE = 0x21
41036- RTM_DELTCLASS = 0x29
41037- RTM_DELTFILTER = 0x2d
41038- RTM_F_CLONED = 0x200
41039- RTM_F_EQUALIZE = 0x400
41040- RTM_F_LOOKUP_TABLE = 0x1000
41041- RTM_F_NOTIFY = 0x100
41042- RTM_F_PREFIX = 0x800
41043- RTM_GETACTION = 0x32
41044- RTM_GETADDR = 0x16
41045- RTM_GETADDRLABEL = 0x4a
41046- RTM_GETANYCAST = 0x3e
41047- RTM_GETDCB = 0x4e
41048- RTM_GETLINK = 0x12
41049- RTM_GETMDB = 0x56
41050- RTM_GETMULTICAST = 0x3a
41051- RTM_GETNEIGH = 0x1e
41052- RTM_GETNEIGHTBL = 0x42
41053- RTM_GETNETCONF = 0x52
41054- RTM_GETNSID = 0x5a
41055- RTM_GETQDISC = 0x26
41056- RTM_GETROUTE = 0x1a
41057- RTM_GETRULE = 0x22
41058- RTM_GETSTATS = 0x5e
41059- RTM_GETTCLASS = 0x2a
41060- RTM_GETTFILTER = 0x2e
41061- RTM_MAX = 0x5f
41062- RTM_NEWACTION = 0x30
41063- RTM_NEWADDR = 0x14
41064- RTM_NEWADDRLABEL = 0x48
41065- RTM_NEWLINK = 0x10
41066- RTM_NEWMDB = 0x54
41067- RTM_NEWNDUSEROPT = 0x44
41068- RTM_NEWNEIGH = 0x1c
41069- RTM_NEWNEIGHTBL = 0x40
41070- RTM_NEWNETCONF = 0x50
41071- RTM_NEWNSID = 0x58
41072- RTM_NEWPREFIX = 0x34
41073- RTM_NEWQDISC = 0x24
41074- RTM_NEWROUTE = 0x18
41075- RTM_NEWRULE = 0x20
41076- RTM_NEWSTATS = 0x5c
41077- RTM_NEWTCLASS = 0x28
41078- RTM_NEWTFILTER = 0x2c
41079- RTM_NR_FAMILIES = 0x14
41080- RTM_NR_MSGTYPES = 0x50
41081- RTM_SETDCB = 0x4f
41082- RTM_SETLINK = 0x13
41083- RTM_SETNEIGHTBL = 0x43
41084- RTNH_ALIGNTO = 0x4
41085- RTNH_COMPARE_MASK = 0x19
41086- RTNH_F_DEAD = 0x1
41087- RTNH_F_LINKDOWN = 0x10
41088- RTNH_F_OFFLOAD = 0x8
41089- RTNH_F_ONLINK = 0x4
41090- RTNH_F_PERVASIVE = 0x2
41091- RTN_MAX = 0xb
41092- RTPROT_BABEL = 0x2a
41093- RTPROT_BIRD = 0xc
41094- RTPROT_BOOT = 0x3
41095- RTPROT_DHCP = 0x10
41096- RTPROT_DNROUTED = 0xd
41097- RTPROT_GATED = 0x8
41098- RTPROT_KERNEL = 0x2
41099- RTPROT_MROUTED = 0x11
41100- RTPROT_MRT = 0xa
41101- RTPROT_NTK = 0xf
41102- RTPROT_RA = 0x9
41103- RTPROT_REDIRECT = 0x1
41104- RTPROT_STATIC = 0x4
41105- RTPROT_UNSPEC = 0x0
41106- RTPROT_XORP = 0xe
41107- RTPROT_ZEBRA = 0xb
41108- RT_CLASS_DEFAULT = 0xfd
41109- RT_CLASS_LOCAL = 0xff
41110- RT_CLASS_MAIN = 0xfe
41111- RT_CLASS_MAX = 0xff
41112- RT_CLASS_UNSPEC = 0x0
41113- RUSAGE_CHILDREN = -0x1
41114- RUSAGE_SELF = 0x0
41115- RUSAGE_THREAD = 0x1
41116- SCM_CREDENTIALS = 0x2
41117- SCM_RIGHTS = 0x1
41118- SCM_TIMESTAMP = 0x1d
41119- SCM_TIMESTAMPING = 0x25
41120- SCM_TIMESTAMPING_OPT_STATS = 0x36
41121- SCM_TIMESTAMPNS = 0x23
41122- SCM_WIFI_STATUS = 0x29
41123- SECCOMP_MODE_DISABLED = 0x0
41124- SECCOMP_MODE_FILTER = 0x2
41125- SECCOMP_MODE_STRICT = 0x1
41126- SHUT_RD = 0x0
41127- SHUT_RDWR = 0x2
41128- SHUT_WR = 0x1
41129- SIOCADDDLCI = 0x8980
41130- SIOCADDMULTI = 0x8931
41131- SIOCADDRT = 0x890b
41132- SIOCATMARK = 0x40047307
41133- SIOCBONDCHANGEACTIVE = 0x8995
41134- SIOCBONDENSLAVE = 0x8990
41135- SIOCBONDINFOQUERY = 0x8994
41136- SIOCBONDRELEASE = 0x8991
41137- SIOCBONDSETHWADDR = 0x8992
41138- SIOCBONDSLAVEINFOQUERY = 0x8993
41139- SIOCBRADDBR = 0x89a0
41140- SIOCBRADDIF = 0x89a2
41141- SIOCBRDELBR = 0x89a1
41142- SIOCBRDELIF = 0x89a3
41143- SIOCDARP = 0x8953
41144- SIOCDELDLCI = 0x8981
41145- SIOCDELMULTI = 0x8932
41146- SIOCDELRT = 0x890c
41147- SIOCDEVPRIVATE = 0x89f0
41148- SIOCDIFADDR = 0x8936
41149- SIOCDRARP = 0x8960
41150- SIOCETHTOOL = 0x8946
41151- SIOCGARP = 0x8954
41152- SIOCGHWTSTAMP = 0x89b1
41153- SIOCGIFADDR = 0x8915
41154- SIOCGIFBR = 0x8940
41155- SIOCGIFBRDADDR = 0x8919
41156- SIOCGIFCONF = 0x8912
41157- SIOCGIFCOUNT = 0x8938
41158- SIOCGIFDSTADDR = 0x8917
41159- SIOCGIFENCAP = 0x8925
41160- SIOCGIFFLAGS = 0x8913
41161- SIOCGIFHWADDR = 0x8927
41162- SIOCGIFINDEX = 0x8933
41163- SIOCGIFMAP = 0x8970
41164- SIOCGIFMEM = 0x891f
41165- SIOCGIFMETRIC = 0x891d
41166- SIOCGIFMTU = 0x8921
41167- SIOCGIFNAME = 0x8910
41168- SIOCGIFNETMASK = 0x891b
41169- SIOCGIFPFLAGS = 0x8935
41170- SIOCGIFSLAVE = 0x8929
41171- SIOCGIFTXQLEN = 0x8942
41172- SIOCGIFVLAN = 0x8982
41173- SIOCGMIIPHY = 0x8947
41174- SIOCGMIIREG = 0x8948
41175- SIOCGPGRP = 0x40047309
41176- SIOCGRARP = 0x8961
41177- SIOCGSKNS = 0x894c
41178- SIOCGSTAMP = 0x8906
41179- SIOCGSTAMPNS = 0x8907
41180- SIOCINQ = 0x467f
41181- SIOCOUTQ = 0x7472
41182- SIOCOUTQNSD = 0x894b
41183- SIOCPROTOPRIVATE = 0x89e0
41184- SIOCRTMSG = 0x890d
41185- SIOCSARP = 0x8955
41186- SIOCSHWTSTAMP = 0x89b0
41187- SIOCSIFADDR = 0x8916
41188- SIOCSIFBR = 0x8941
41189- SIOCSIFBRDADDR = 0x891a
41190- SIOCSIFDSTADDR = 0x8918
41191- SIOCSIFENCAP = 0x8926
41192- SIOCSIFFLAGS = 0x8914
41193- SIOCSIFHWADDR = 0x8924
41194- SIOCSIFHWBROADCAST = 0x8937
41195- SIOCSIFLINK = 0x8911
41196- SIOCSIFMAP = 0x8971
41197- SIOCSIFMEM = 0x8920
41198- SIOCSIFMETRIC = 0x891e
41199- SIOCSIFMTU = 0x8922
41200- SIOCSIFNAME = 0x8923
41201- SIOCSIFNETMASK = 0x891c
41202- SIOCSIFPFLAGS = 0x8934
41203- SIOCSIFSLAVE = 0x8930
41204- SIOCSIFTXQLEN = 0x8943
41205- SIOCSIFVLAN = 0x8983
41206- SIOCSMIIREG = 0x8949
41207- SIOCSPGRP = 0x80047308
41208- SIOCSRARP = 0x8962
41209- SIOCWANDEV = 0x894a
41210- SOCK_CLOEXEC = 0x80000
41211- SOCK_DCCP = 0x6
41212- SOCK_DGRAM = 0x1
41213- SOCK_IOC_TYPE = 0x89
41214- SOCK_NONBLOCK = 0x80
41215- SOCK_PACKET = 0xa
41216- SOCK_RAW = 0x3
41217- SOCK_RDM = 0x4
41218- SOCK_SEQPACKET = 0x5
41219- SOCK_STREAM = 0x2
41220- SOL_AAL = 0x109
41221- SOL_ALG = 0x117
41222- SOL_ATM = 0x108
41223- SOL_CAIF = 0x116
41224- SOL_CAN_BASE = 0x64
41225- SOL_DCCP = 0x10d
41226- SOL_DECNET = 0x105
41227- SOL_ICMPV6 = 0x3a
41228- SOL_IP = 0x0
41229- SOL_IPV6 = 0x29
41230- SOL_IRDA = 0x10a
41231- SOL_IUCV = 0x115
41232- SOL_KCM = 0x119
41233- SOL_LLC = 0x10c
41234- SOL_NETBEUI = 0x10b
41235- SOL_NETLINK = 0x10e
41236- SOL_NFC = 0x118
41237- SOL_PACKET = 0x107
41238- SOL_PNPIPE = 0x113
41239- SOL_PPPOL2TP = 0x111
41240- SOL_RAW = 0xff
41241- SOL_RDS = 0x114
41242- SOL_RXRPC = 0x110
41243- SOL_SOCKET = 0xffff
41244- SOL_TCP = 0x6
41245- SOL_TIPC = 0x10f
41246- SOL_X25 = 0x106
41247- SOMAXCONN = 0x80
41248- SO_ACCEPTCONN = 0x1009
41249- SO_ATTACH_BPF = 0x32
41250- SO_ATTACH_FILTER = 0x1a
41251- SO_ATTACH_REUSEPORT_CBPF = 0x33
41252- SO_ATTACH_REUSEPORT_EBPF = 0x34
41253- SO_BINDTODEVICE = 0x19
41254- SO_BPF_EXTENSIONS = 0x30
41255- SO_BROADCAST = 0x20
41256- SO_BSDCOMPAT = 0xe
41257- SO_BUSY_POLL = 0x2e
41258- SO_CNX_ADVICE = 0x35
41259- SO_DEBUG = 0x1
41260- SO_DETACH_BPF = 0x1b
41261- SO_DETACH_FILTER = 0x1b
41262- SO_DOMAIN = 0x1029
41263- SO_DONTROUTE = 0x10
41264- SO_ERROR = 0x1007
41265- SO_GET_FILTER = 0x1a
41266- SO_INCOMING_CPU = 0x31
41267- SO_KEEPALIVE = 0x8
41268- SO_LINGER = 0x80
41269- SO_LOCK_FILTER = 0x2c
41270- SO_MARK = 0x24
41271- SO_MAX_PACING_RATE = 0x2f
41272- SO_NOFCS = 0x2b
41273- SO_NO_CHECK = 0xb
41274- SO_OOBINLINE = 0x100
41275- SO_PASSCRED = 0x11
41276- SO_PASSSEC = 0x22
41277- SO_PEEK_OFF = 0x2a
41278- SO_PEERCRED = 0x12
41279- SO_PEERNAME = 0x1c
41280- SO_PEERSEC = 0x1e
41281- SO_PRIORITY = 0xc
41282- SO_PROTOCOL = 0x1028
41283- SO_RCVBUF = 0x1002
41284- SO_RCVBUFFORCE = 0x21
41285- SO_RCVLOWAT = 0x1004
41286- SO_RCVTIMEO = 0x1006
41287- SO_REUSEADDR = 0x4
41288- SO_REUSEPORT = 0x200
41289- SO_RXQ_OVFL = 0x28
41290- SO_SECURITY_AUTHENTICATION = 0x16
41291- SO_SECURITY_ENCRYPTION_NETWORK = 0x18
41292- SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
41293- SO_SELECT_ERR_QUEUE = 0x2d
41294- SO_SNDBUF = 0x1001
41295- SO_SNDBUFFORCE = 0x1f
41296- SO_SNDLOWAT = 0x1003
41297- SO_SNDTIMEO = 0x1005
41298- SO_STYLE = 0x1008
41299- SO_TIMESTAMP = 0x1d
41300- SO_TIMESTAMPING = 0x25
41301- SO_TIMESTAMPNS = 0x23
41302- SO_TYPE = 0x1008
41303- SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
41304- SO_VM_SOCKETS_BUFFER_MIN_SIZE = 0x1
41305- SO_VM_SOCKETS_BUFFER_SIZE = 0x0
41306- SO_VM_SOCKETS_CONNECT_TIMEOUT = 0x6
41307- SO_VM_SOCKETS_NONBLOCK_TXRX = 0x7
41308- SO_VM_SOCKETS_PEER_HOST_VM_ID = 0x3
41309- SO_VM_SOCKETS_TRUSTED = 0x5
41310- SO_WIFI_STATUS = 0x29
41311- SPLICE_F_GIFT = 0x8
41312- SPLICE_F_MORE = 0x4
41313- SPLICE_F_MOVE = 0x1
41314- SPLICE_F_NONBLOCK = 0x2
41315- S_BLKSIZE = 0x200
41316- S_IEXEC = 0x40
41317- S_IFBLK = 0x6000
41318- S_IFCHR = 0x2000
41319- S_IFDIR = 0x4000
41320- S_IFIFO = 0x1000
41321- S_IFLNK = 0xa000
41322- S_IFMT = 0xf000
41323- S_IFREG = 0x8000
41324- S_IFSOCK = 0xc000
41325- S_IREAD = 0x100
41326- S_IRGRP = 0x20
41327- S_IROTH = 0x4
41328- S_IRUSR = 0x100
41329- S_IRWXG = 0x38
41330- S_IRWXO = 0x7
41331- S_IRWXU = 0x1c0
41332- S_ISGID = 0x400
41333- S_ISUID = 0x800
41334- S_ISVTX = 0x200
41335- S_IWGRP = 0x10
41336- S_IWOTH = 0x2
41337- S_IWRITE = 0x80
41338- S_IWUSR = 0x80
41339- S_IXGRP = 0x8
41340- S_IXOTH = 0x1
41341- S_IXUSR = 0x40
41342- TAB0 = 0x0
41343- TAB1 = 0x800
41344- TAB2 = 0x1000
41345- TAB3 = 0x1800
41346- TABDLY = 0x1800
41347- TASKSTATS_CMD_ATTR_MAX = 0x4
41348- TASKSTATS_CMD_MAX = 0x2
41349- TASKSTATS_GENL_NAME = "TASKSTATS"
41350- TASKSTATS_GENL_VERSION = 0x1
41351- TASKSTATS_TYPE_MAX = 0x6
41352- TASKSTATS_VERSION = 0x8
41353- TCFLSH = 0x5407
41354- TCGETA = 0x5401
41355- TCGETS = 0x540d
41356- TCGETS2 = 0x4030542a
41357- TCIFLUSH = 0x0
41358- TCIOFF = 0x2
41359- TCIOFLUSH = 0x2
41360- TCION = 0x3
41361- TCOFLUSH = 0x1
41362- TCOOFF = 0x0
41363- TCOON = 0x1
41364- TCP_CC_INFO = 0x1a
41365- TCP_CONGESTION = 0xd
41366- TCP_COOKIE_IN_ALWAYS = 0x1
41367- TCP_COOKIE_MAX = 0x10
41368- TCP_COOKIE_MIN = 0x8
41369- TCP_COOKIE_OUT_NEVER = 0x2
41370- TCP_COOKIE_PAIR_SIZE = 0x20
41371- TCP_COOKIE_TRANSACTIONS = 0xf
41372- TCP_CORK = 0x3
41373- TCP_DEFER_ACCEPT = 0x9
41374- TCP_FASTOPEN = 0x17
41375- TCP_INFO = 0xb
41376- TCP_KEEPCNT = 0x6
41377- TCP_KEEPIDLE = 0x4
41378- TCP_KEEPINTVL = 0x5
41379- TCP_LINGER2 = 0x8
41380- TCP_MAXSEG = 0x2
41381- TCP_MAXWIN = 0xffff
41382- TCP_MAX_WINSHIFT = 0xe
41383- TCP_MD5SIG = 0xe
41384- TCP_MD5SIG_MAXKEYLEN = 0x50
41385- TCP_MSS = 0x200
41386- TCP_MSS_DEFAULT = 0x218
41387- TCP_MSS_DESIRED = 0x4c4
41388- TCP_NODELAY = 0x1
41389- TCP_NOTSENT_LOWAT = 0x19
41390- TCP_QUEUE_SEQ = 0x15
41391- TCP_QUICKACK = 0xc
41392- TCP_REPAIR = 0x13
41393- TCP_REPAIR_OPTIONS = 0x16
41394- TCP_REPAIR_QUEUE = 0x14
41395- TCP_REPAIR_WINDOW = 0x1d
41396- TCP_SAVED_SYN = 0x1c
41397- TCP_SAVE_SYN = 0x1b
41398- TCP_SYNCNT = 0x7
41399- TCP_S_DATA_IN = 0x4
41400- TCP_S_DATA_OUT = 0x8
41401- TCP_THIN_DUPACK = 0x11
41402- TCP_THIN_LINEAR_TIMEOUTS = 0x10
41403- TCP_TIMESTAMP = 0x18
41404- TCP_USER_TIMEOUT = 0x12
41405- TCP_WINDOW_CLAMP = 0xa
41406- TCSAFLUSH = 0x5410
41407- TCSBRK = 0x5405
41408- TCSBRKP = 0x5486
41409- TCSETA = 0x5402
41410- TCSETAF = 0x5404
41411- TCSETAW = 0x5403
41412- TCSETS = 0x540e
41413- TCSETS2 = 0x8030542b
41414- TCSETSF = 0x5410
41415- TCSETSF2 = 0x8030542d
41416- TCSETSW = 0x540f
41417- TCSETSW2 = 0x8030542c
41418- TCXONC = 0x5406
41419- TIOCCBRK = 0x5428
41420- TIOCCONS = 0x80047478
41421- TIOCEXCL = 0x740d
41422- TIOCGDEV = 0x40045432
41423- TIOCGETD = 0x7400
41424- TIOCGETP = 0x7408
41425- TIOCGEXCL = 0x40045440
41426- TIOCGICOUNT = 0x5492
41427- TIOCGLCKTRMIOS = 0x548b
41428- TIOCGLTC = 0x7474
41429- TIOCGPGRP = 0x40047477
41430- TIOCGPKT = 0x40045438
41431- TIOCGPTLCK = 0x40045439
41432- TIOCGPTN = 0x40045430
41433- TIOCGRS485 = 0x4020542e
41434- TIOCGSERIAL = 0x5484
41435- TIOCGSID = 0x7416
41436- TIOCGSOFTCAR = 0x5481
41437- TIOCGWINSZ = 0x40087468
41438- TIOCINQ = 0x467f
41439- TIOCLINUX = 0x5483
41440- TIOCMBIC = 0x741c
41441- TIOCMBIS = 0x741b
41442- TIOCMGET = 0x741d
41443- TIOCMIWAIT = 0x5491
41444- TIOCMSET = 0x741a
41445- TIOCM_CAR = 0x100
41446- TIOCM_CD = 0x100
41447- TIOCM_CTS = 0x40
41448- TIOCM_DSR = 0x400
41449- TIOCM_DTR = 0x2
41450- TIOCM_LE = 0x1
41451- TIOCM_RI = 0x200
41452- TIOCM_RNG = 0x200
41453- TIOCM_RTS = 0x4
41454- TIOCM_SR = 0x20
41455- TIOCM_ST = 0x10
41456- TIOCNOTTY = 0x5471
41457- TIOCNXCL = 0x740e
41458- TIOCOUTQ = 0x7472
41459- TIOCPKT = 0x5470
41460- TIOCPKT_DATA = 0x0
41461- TIOCPKT_DOSTOP = 0x20
41462- TIOCPKT_FLUSHREAD = 0x1
41463- TIOCPKT_FLUSHWRITE = 0x2
41464- TIOCPKT_IOCTL = 0x40
41465- TIOCPKT_NOSTOP = 0x10
41466- TIOCPKT_START = 0x8
41467- TIOCPKT_STOP = 0x4
41468- TIOCSBRK = 0x5427
41469- TIOCSCTTY = 0x5480
41470- TIOCSERCONFIG = 0x5488
41471- TIOCSERGETLSR = 0x548e
41472- TIOCSERGETMULTI = 0x548f
41473- TIOCSERGSTRUCT = 0x548d
41474- TIOCSERGWILD = 0x5489
41475- TIOCSERSETMULTI = 0x5490
41476- TIOCSERSWILD = 0x548a
41477- TIOCSER_TEMT = 0x1
41478- TIOCSETD = 0x7401
41479- TIOCSETN = 0x740a
41480- TIOCSETP = 0x7409
41481- TIOCSIG = 0x80045436
41482- TIOCSLCKTRMIOS = 0x548c
41483- TIOCSLTC = 0x7475
41484- TIOCSPGRP = 0x80047476
41485- TIOCSPTLCK = 0x80045431
41486- TIOCSRS485 = 0xc020542f
41487- TIOCSSERIAL = 0x5485
41488- TIOCSSOFTCAR = 0x5482
41489- TIOCSTI = 0x5472
41490- TIOCSWINSZ = 0x80087467
41491- TIOCVHANGUP = 0x5437
41492- TOSTOP = 0x8000
41493- TS_COMM_LEN = 0x20
41494- TUNATTACHFILTER = 0x801054d5
41495- TUNDETACHFILTER = 0x801054d6
41496- TUNGETFEATURES = 0x400454cf
41497- TUNGETFILTER = 0x401054db
41498- TUNGETIFF = 0x400454d2
41499- TUNGETSNDBUF = 0x400454d3
41500- TUNGETVNETBE = 0x400454df
41501- TUNGETVNETHDRSZ = 0x400454d7
41502- TUNGETVNETLE = 0x400454dd
41503- TUNSETDEBUG = 0x800454c9
41504- TUNSETGROUP = 0x800454ce
41505- TUNSETIFF = 0x800454ca
41506- TUNSETIFINDEX = 0x800454da
41507- TUNSETLINK = 0x800454cd
41508- TUNSETNOCSUM = 0x800454c8
41509- TUNSETOFFLOAD = 0x800454d0
41510- TUNSETOWNER = 0x800454cc
41511- TUNSETPERSIST = 0x800454cb
41512- TUNSETQUEUE = 0x800454d9
41513- TUNSETSNDBUF = 0x800454d4
41514- TUNSETTXFILTER = 0x800454d1
41515- TUNSETVNETBE = 0x800454de
41516- TUNSETVNETHDRSZ = 0x800454d8
41517- TUNSETVNETLE = 0x800454dc
41518- UMOUNT_NOFOLLOW = 0x8
41519- VDISCARD = 0xd
41520- VEOF = 0x10
41521- VEOL = 0x11
41522- VEOL2 = 0x6
41523- VERASE = 0x2
41524- VINTR = 0x0
41525- VKILL = 0x3
41526- VLNEXT = 0xf
41527- VMADDR_CID_ANY = 0xffffffff
41528- VMADDR_CID_HOST = 0x2
41529- VMADDR_CID_HYPERVISOR = 0x0
41530- VMADDR_CID_RESERVED = 0x1
41531- VMADDR_PORT_ANY = 0xffffffff
41532- VMIN = 0x4
41533- VM_SOCKETS_INVALID_VERSION = 0xffffffff
41534- VQUIT = 0x1
41535- VREPRINT = 0xc
41536- VSTART = 0x8
41537- VSTOP = 0x9
41538- VSUSP = 0xa
41539- VSWTC = 0x7
41540- VSWTCH = 0x7
41541- VT0 = 0x0
41542- VT1 = 0x4000
41543- VTDLY = 0x4000
41544- VTIME = 0x5
41545- VWERASE = 0xe
41546- WALL = 0x40000000
41547- WCLONE = 0x80000000
41548- WCONTINUED = 0x8
41549- WEXITED = 0x4
41550- WNOHANG = 0x1
41551- WNOTHREAD = 0x20000000
41552- WNOWAIT = 0x1000000
41553- WORDSIZE = 0x40
41554- WSTOPPED = 0x2
41555- WUNTRACED = 0x2
41556- XATTR_CREATE = 0x1
41557- XATTR_REPLACE = 0x2
41558- XCASE = 0x4
41559- XTABS = 0x1800
41560+ B1000000 = 0x1008
41561+ B115200 = 0x1002
41562+ B1152000 = 0x1009
41563+ B1500000 = 0x100a
41564+ B2000000 = 0x100b
41565+ B230400 = 0x1003
41566+ B2500000 = 0x100c
41567+ B3000000 = 0x100d
41568+ B3500000 = 0x100e
41569+ B4000000 = 0x100f
41570+ B460800 = 0x1004
41571+ B500000 = 0x1005
41572+ B57600 = 0x1001
41573+ B576000 = 0x1006
41574+ B921600 = 0x1007
41575+ BLKBSZGET = 0x40081270
41576+ BLKBSZSET = 0x80081271
41577+ BLKFLSBUF = 0x20001261
41578+ BLKFRAGET = 0x20001265
41579+ BLKFRASET = 0x20001264
41580+ BLKGETSIZE = 0x20001260
41581+ BLKGETSIZE64 = 0x40081272
41582+ BLKPBSZGET = 0x2000127b
41583+ BLKRAGET = 0x20001263
41584+ BLKRASET = 0x20001262
41585+ BLKROGET = 0x2000125e
41586+ BLKROSET = 0x2000125d
41587+ BLKRRPART = 0x2000125f
41588+ BLKSECTGET = 0x20001267
41589+ BLKSECTSET = 0x20001266
41590+ BLKSSZGET = 0x20001268
41591+ BOTHER = 0x1000
41592+ BS1 = 0x2000
41593+ BSDLY = 0x2000
41594+ CBAUD = 0x100f
41595+ CBAUDEX = 0x1000
41596+ CIBAUD = 0x100f0000
41597+ CLOCAL = 0x800
41598+ CR1 = 0x200
41599+ CR2 = 0x400
41600+ CR3 = 0x600
41601+ CRDLY = 0x600
41602+ CREAD = 0x80
41603+ CS6 = 0x10
41604+ CS7 = 0x20
41605+ CS8 = 0x30
41606+ CSIZE = 0x30
41607+ CSTOPB = 0x40
41608+ ECHOCTL = 0x200
41609+ ECHOE = 0x10
41610+ ECHOK = 0x20
41611+ ECHOKE = 0x800
41612+ ECHONL = 0x40
41613+ ECHOPRT = 0x400
41614+ EFD_CLOEXEC = 0x80000
41615+ EFD_NONBLOCK = 0x80
41616+ EPOLL_CLOEXEC = 0x80000
41617+ EXTPROC = 0x10000
41618+ FF1 = 0x8000
41619+ FFDLY = 0x8000
41620+ FLUSHO = 0x2000
41621+ FS_IOC_ENABLE_VERITY = 0x80806685
41622+ FS_IOC_GETFLAGS = 0x40086601
41623+ FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615
41624+ FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614
41625+ FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613
41626+ F_GETLK = 0xe
41627+ F_GETLK64 = 0xe
41628+ F_GETOWN = 0x17
41629+ F_RDLCK = 0x0
41630+ F_SETLK = 0x6
41631+ F_SETLK64 = 0x6
41632+ F_SETLKW = 0x7
41633+ F_SETLKW64 = 0x7
41634+ F_SETOWN = 0x18
41635+ F_UNLCK = 0x2
41636+ F_WRLCK = 0x1
41637+ HUPCL = 0x400
41638+ ICANON = 0x2
41639+ IEXTEN = 0x100
41640+ IN_CLOEXEC = 0x80000
41641+ IN_NONBLOCK = 0x80
41642+ IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x200007b9
41643+ ISIG = 0x1
41644+ IUCLC = 0x200
41645+ IXOFF = 0x1000
41646+ IXON = 0x400
41647+ MAP_ANON = 0x800
41648+ MAP_ANONYMOUS = 0x800
41649+ MAP_DENYWRITE = 0x2000
41650+ MAP_EXECUTABLE = 0x4000
41651+ MAP_GROWSDOWN = 0x1000
41652+ MAP_HUGETLB = 0x80000
41653+ MAP_LOCKED = 0x8000
41654+ MAP_NONBLOCK = 0x20000
41655+ MAP_NORESERVE = 0x400
41656+ MAP_POPULATE = 0x10000
41657+ MAP_RENAME = 0x800
41658+ MAP_STACK = 0x40000
41659+ MCL_CURRENT = 0x1
41660+ MCL_FUTURE = 0x2
41661+ MCL_ONFAULT = 0x4
41662+ NFDBITS = 0x40
41663+ NLDLY = 0x100
41664+ NOFLSH = 0x80
41665+ NS_GET_NSTYPE = 0x2000b703
41666+ NS_GET_OWNER_UID = 0x2000b704
41667+ NS_GET_PARENT = 0x2000b702
41668+ NS_GET_USERNS = 0x2000b701
41669+ OLCUC = 0x2
41670+ ONLCR = 0x4
41671+ O_APPEND = 0x8
41672+ O_ASYNC = 0x1000
41673+ O_CLOEXEC = 0x80000
41674+ O_CREAT = 0x100
41675+ O_DIRECT = 0x8000
41676+ O_DIRECTORY = 0x10000
41677+ O_DSYNC = 0x10
41678+ O_EXCL = 0x400
41679+ O_FSYNC = 0x4010
41680+ O_LARGEFILE = 0x0
41681+ O_NDELAY = 0x80
41682+ O_NOATIME = 0x40000
41683+ O_NOCTTY = 0x800
41684+ O_NOFOLLOW = 0x20000
41685+ O_NONBLOCK = 0x80
41686+ O_PATH = 0x200000
41687+ O_RSYNC = 0x4010
41688+ O_SYNC = 0x4010
41689+ O_TMPFILE = 0x410000
41690+ O_TRUNC = 0x200
41691+ PARENB = 0x100
41692+ PARODD = 0x200
41693+ PENDIN = 0x4000
41694+ PERF_EVENT_IOC_DISABLE = 0x20002401
41695+ PERF_EVENT_IOC_ENABLE = 0x20002400
41696+ PERF_EVENT_IOC_ID = 0x40082407
41697+ PERF_EVENT_IOC_MODIFY_ATTRIBUTES = 0x8008240b
41698+ PERF_EVENT_IOC_PAUSE_OUTPUT = 0x80042409
41699+ PERF_EVENT_IOC_PERIOD = 0x80082404
41700+ PERF_EVENT_IOC_QUERY_BPF = 0xc008240a
41701+ PERF_EVENT_IOC_REFRESH = 0x20002402
41702+ PERF_EVENT_IOC_RESET = 0x20002403
41703+ PERF_EVENT_IOC_SET_BPF = 0x80042408
41704+ PERF_EVENT_IOC_SET_FILTER = 0x80082406
41705+ PERF_EVENT_IOC_SET_OUTPUT = 0x20002405
41706+ PPPIOCATTACH = 0x8004743d
41707+ PPPIOCATTCHAN = 0x80047438
41708+ PPPIOCCONNECT = 0x8004743a
41709+ PPPIOCDETACH = 0x8004743c
41710+ PPPIOCDISCONN = 0x20007439
41711+ PPPIOCGASYNCMAP = 0x40047458
41712+ PPPIOCGCHAN = 0x40047437
41713+ PPPIOCGDEBUG = 0x40047441
41714+ PPPIOCGFLAGS = 0x4004745a
41715+ PPPIOCGIDLE = 0x4010743f
41716+ PPPIOCGIDLE32 = 0x4008743f
41717+ PPPIOCGIDLE64 = 0x4010743f
41718+ PPPIOCGL2TPSTATS = 0x40487436
41719+ PPPIOCGMRU = 0x40047453
41720+ PPPIOCGRASYNCMAP = 0x40047455
41721+ PPPIOCGUNIT = 0x40047456
41722+ PPPIOCGXASYNCMAP = 0x40207450
41723+ PPPIOCSACTIVE = 0x80107446
41724+ PPPIOCSASYNCMAP = 0x80047457
41725+ PPPIOCSCOMPRESS = 0x8010744d
41726+ PPPIOCSDEBUG = 0x80047440
41727+ PPPIOCSFLAGS = 0x80047459
41728+ PPPIOCSMAXCID = 0x80047451
41729+ PPPIOCSMRRU = 0x8004743b
41730+ PPPIOCSMRU = 0x80047452
41731+ PPPIOCSNPMODE = 0x8008744b
41732+ PPPIOCSPASS = 0x80107447
41733+ PPPIOCSRASYNCMAP = 0x80047454
41734+ PPPIOCSXASYNCMAP = 0x8020744f
41735+ PPPIOCXFERUNIT = 0x2000744e
41736+ PR_SET_PTRACER_ANY = 0xffffffffffffffff
41737+ PTRACE_GETFPREGS = 0xe
41738+ PTRACE_GET_THREAD_AREA = 0x19
41739+ PTRACE_GET_THREAD_AREA_3264 = 0xc4
41740+ PTRACE_GET_WATCH_REGS = 0xd0
41741+ PTRACE_OLDSETOPTIONS = 0x15
41742+ PTRACE_PEEKDATA_3264 = 0xc1
41743+ PTRACE_PEEKTEXT_3264 = 0xc0
41744+ PTRACE_POKEDATA_3264 = 0xc3
41745+ PTRACE_POKETEXT_3264 = 0xc2
41746+ PTRACE_SETFPREGS = 0xf
41747+ PTRACE_SET_THREAD_AREA = 0x1a
41748+ PTRACE_SET_WATCH_REGS = 0xd1
41749+ RLIMIT_AS = 0x6
41750+ RLIMIT_MEMLOCK = 0x9
41751+ RLIMIT_NOFILE = 0x5
41752+ RLIMIT_NPROC = 0x8
41753+ RLIMIT_RSS = 0x7
41754+ RNDADDENTROPY = 0x80085203
41755+ RNDADDTOENTCNT = 0x80045201
41756+ RNDCLEARPOOL = 0x20005206
41757+ RNDGETENTCNT = 0x40045200
41758+ RNDGETPOOL = 0x40085202
41759+ RNDRESEEDCRNG = 0x20005207
41760+ RNDZAPENTCNT = 0x20005204
41761+ RTC_AIE_OFF = 0x20007002
41762+ RTC_AIE_ON = 0x20007001
41763+ RTC_ALM_READ = 0x40247008
41764+ RTC_ALM_SET = 0x80247007
41765+ RTC_EPOCH_READ = 0x4008700d
41766+ RTC_EPOCH_SET = 0x8008700e
41767+ RTC_IRQP_READ = 0x4008700b
41768+ RTC_IRQP_SET = 0x8008700c
41769+ RTC_PIE_OFF = 0x20007006
41770+ RTC_PIE_ON = 0x20007005
41771+ RTC_PLL_GET = 0x40207011
41772+ RTC_PLL_SET = 0x80207012
41773+ RTC_RD_TIME = 0x40247009
41774+ RTC_SET_TIME = 0x8024700a
41775+ RTC_UIE_OFF = 0x20007004
41776+ RTC_UIE_ON = 0x20007003
41777+ RTC_VL_CLR = 0x20007014
41778+ RTC_VL_READ = 0x40047013
41779+ RTC_WIE_OFF = 0x20007010
41780+ RTC_WIE_ON = 0x2000700f
41781+ RTC_WKALM_RD = 0x40287010
41782+ RTC_WKALM_SET = 0x8028700f
41783+ SCM_TIMESTAMPING = 0x25
41784+ SCM_TIMESTAMPING_OPT_STATS = 0x36
41785+ SCM_TIMESTAMPING_PKTINFO = 0x3a
41786+ SCM_TIMESTAMPNS = 0x23
41787+ SCM_TXTIME = 0x3d
41788+ SCM_WIFI_STATUS = 0x29
41789+ SFD_CLOEXEC = 0x80000
41790+ SFD_NONBLOCK = 0x80
41791+ SIOCATMARK = 0x40047307
41792+ SIOCGPGRP = 0x40047309
41793+ SIOCGSTAMPNS_NEW = 0x40108907
41794+ SIOCGSTAMP_NEW = 0x40108906
41795+ SIOCINQ = 0x467f
41796+ SIOCOUTQ = 0x7472
41797+ SIOCSPGRP = 0x80047308
41798+ SOCK_CLOEXEC = 0x80000
41799+ SOCK_DGRAM = 0x1
41800+ SOCK_NONBLOCK = 0x80
41801+ SOCK_STREAM = 0x2
41802+ SOL_SOCKET = 0xffff
41803+ SO_ACCEPTCONN = 0x1009
41804+ SO_ATTACH_BPF = 0x32
41805+ SO_ATTACH_REUSEPORT_CBPF = 0x33
41806+ SO_ATTACH_REUSEPORT_EBPF = 0x34
41807+ SO_BINDTODEVICE = 0x19
41808+ SO_BINDTOIFINDEX = 0x3e
41809+ SO_BPF_EXTENSIONS = 0x30
41810+ SO_BROADCAST = 0x20
41811+ SO_BSDCOMPAT = 0xe
41812+ SO_BUSY_POLL = 0x2e
41813+ SO_CNX_ADVICE = 0x35
41814+ SO_COOKIE = 0x39
41815+ SO_DETACH_REUSEPORT_BPF = 0x44
41816+ SO_DOMAIN = 0x1029
41817+ SO_DONTROUTE = 0x10
41818+ SO_ERROR = 0x1007
41819+ SO_INCOMING_CPU = 0x31
41820+ SO_INCOMING_NAPI_ID = 0x38
41821+ SO_KEEPALIVE = 0x8
41822+ SO_LINGER = 0x80
41823+ SO_LOCK_FILTER = 0x2c
41824+ SO_MARK = 0x24
41825+ SO_MAX_PACING_RATE = 0x2f
41826+ SO_MEMINFO = 0x37
41827+ SO_NOFCS = 0x2b
41828+ SO_OOBINLINE = 0x100
41829+ SO_PASSCRED = 0x11
41830+ SO_PASSSEC = 0x22
41831+ SO_PEEK_OFF = 0x2a
41832+ SO_PEERCRED = 0x12
41833+ SO_PEERGROUPS = 0x3b
41834+ SO_PEERSEC = 0x1e
41835+ SO_PROTOCOL = 0x1028
41836+ SO_RCVBUF = 0x1002
41837+ SO_RCVBUFFORCE = 0x21
41838+ SO_RCVLOWAT = 0x1004
41839+ SO_RCVTIMEO = 0x1006
41840+ SO_RCVTIMEO_NEW = 0x42
41841+ SO_RCVTIMEO_OLD = 0x1006
41842+ SO_REUSEADDR = 0x4
41843+ SO_REUSEPORT = 0x200
41844+ SO_RXQ_OVFL = 0x28
41845+ SO_SECURITY_AUTHENTICATION = 0x16
41846+ SO_SECURITY_ENCRYPTION_NETWORK = 0x18
41847+ SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
41848+ SO_SELECT_ERR_QUEUE = 0x2d
41849+ SO_SNDBUF = 0x1001
41850+ SO_SNDBUFFORCE = 0x1f
41851+ SO_SNDLOWAT = 0x1003
41852+ SO_SNDTIMEO = 0x1005
41853+ SO_SNDTIMEO_NEW = 0x43
41854+ SO_SNDTIMEO_OLD = 0x1005
41855+ SO_STYLE = 0x1008
41856+ SO_TIMESTAMPING = 0x25
41857+ SO_TIMESTAMPING_NEW = 0x41
41858+ SO_TIMESTAMPING_OLD = 0x25
41859+ SO_TIMESTAMPNS = 0x23
41860+ SO_TIMESTAMPNS_NEW = 0x40
41861+ SO_TIMESTAMPNS_OLD = 0x23
41862+ SO_TIMESTAMP_NEW = 0x3f
41863+ SO_TXTIME = 0x3d
41864+ SO_TYPE = 0x1008
41865+ SO_WIFI_STATUS = 0x29
41866+ SO_ZEROCOPY = 0x3c
41867+ TAB1 = 0x800
41868+ TAB2 = 0x1000
41869+ TAB3 = 0x1800
41870+ TABDLY = 0x1800
41871+ TCFLSH = 0x5407
41872+ TCGETA = 0x5401
41873+ TCGETS = 0x540d
41874+ TCGETS2 = 0x4030542a
41875+ TCSAFLUSH = 0x5410
41876+ TCSBRK = 0x5405
41877+ TCSBRKP = 0x5486
41878+ TCSETA = 0x5402
41879+ TCSETAF = 0x5404
41880+ TCSETAW = 0x5403
41881+ TCSETS = 0x540e
41882+ TCSETS2 = 0x8030542b
41883+ TCSETSF = 0x5410
41884+ TCSETSF2 = 0x8030542d
41885+ TCSETSW = 0x540f
41886+ TCSETSW2 = 0x8030542c
41887+ TCXONC = 0x5406
41888+ TIOCCBRK = 0x5428
41889+ TIOCCONS = 0x80047478
41890+ TIOCEXCL = 0x740d
41891+ TIOCGDEV = 0x40045432
41892+ TIOCGETD = 0x7400
41893+ TIOCGETP = 0x7408
41894+ TIOCGEXCL = 0x40045440
41895+ TIOCGICOUNT = 0x5492
41896+ TIOCGISO7816 = 0x40285442
41897+ TIOCGLCKTRMIOS = 0x548b
41898+ TIOCGLTC = 0x7474
41899+ TIOCGPGRP = 0x40047477
41900+ TIOCGPKT = 0x40045438
41901+ TIOCGPTLCK = 0x40045439
41902+ TIOCGPTN = 0x40045430
41903+ TIOCGPTPEER = 0x20005441
41904+ TIOCGRS485 = 0x4020542e
41905+ TIOCGSERIAL = 0x5484
41906+ TIOCGSID = 0x7416
41907+ TIOCGSOFTCAR = 0x5481
41908+ TIOCGWINSZ = 0x40087468
41909+ TIOCINQ = 0x467f
41910+ TIOCLINUX = 0x5483
41911+ TIOCMBIC = 0x741c
41912+ TIOCMBIS = 0x741b
41913+ TIOCMGET = 0x741d
41914+ TIOCMIWAIT = 0x5491
41915+ TIOCMSET = 0x741a
41916+ TIOCM_CAR = 0x100
41917+ TIOCM_CD = 0x100
41918+ TIOCM_CTS = 0x40
41919+ TIOCM_DSR = 0x400
41920+ TIOCM_RI = 0x200
41921+ TIOCM_RNG = 0x200
41922+ TIOCM_SR = 0x20
41923+ TIOCM_ST = 0x10
41924+ TIOCNOTTY = 0x5471
41925+ TIOCNXCL = 0x740e
41926+ TIOCOUTQ = 0x7472
41927+ TIOCPKT = 0x5470
41928+ TIOCSBRK = 0x5427
41929+ TIOCSCTTY = 0x5480
41930+ TIOCSERCONFIG = 0x5488
41931+ TIOCSERGETLSR = 0x548e
41932+ TIOCSERGETMULTI = 0x548f
41933+ TIOCSERGSTRUCT = 0x548d
41934+ TIOCSERGWILD = 0x5489
41935+ TIOCSERSETMULTI = 0x5490
41936+ TIOCSERSWILD = 0x548a
41937+ TIOCSER_TEMT = 0x1
41938+ TIOCSETD = 0x7401
41939+ TIOCSETN = 0x740a
41940+ TIOCSETP = 0x7409
41941+ TIOCSIG = 0x80045436
41942+ TIOCSISO7816 = 0xc0285443
41943+ TIOCSLCKTRMIOS = 0x548c
41944+ TIOCSLTC = 0x7475
41945+ TIOCSPGRP = 0x80047476
41946+ TIOCSPTLCK = 0x80045431
41947+ TIOCSRS485 = 0xc020542f
41948+ TIOCSSERIAL = 0x5485
41949+ TIOCSSOFTCAR = 0x5482
41950+ TIOCSTI = 0x5472
41951+ TIOCSWINSZ = 0x80087467
41952+ TIOCVHANGUP = 0x5437
41953+ TOSTOP = 0x8000
41954+ TUNATTACHFILTER = 0x801054d5
41955+ TUNDETACHFILTER = 0x801054d6
41956+ TUNGETDEVNETNS = 0x200054e3
41957+ TUNGETFEATURES = 0x400454cf
41958+ TUNGETFILTER = 0x401054db
41959+ TUNGETIFF = 0x400454d2
41960+ TUNGETSNDBUF = 0x400454d3
41961+ TUNGETVNETBE = 0x400454df
41962+ TUNGETVNETHDRSZ = 0x400454d7
41963+ TUNGETVNETLE = 0x400454dd
41964+ TUNSETCARRIER = 0x800454e2
41965+ TUNSETDEBUG = 0x800454c9
41966+ TUNSETFILTEREBPF = 0x400454e1
41967+ TUNSETGROUP = 0x800454ce
41968+ TUNSETIFF = 0x800454ca
41969+ TUNSETIFINDEX = 0x800454da
41970+ TUNSETLINK = 0x800454cd
41971+ TUNSETNOCSUM = 0x800454c8
41972+ TUNSETOFFLOAD = 0x800454d0
41973+ TUNSETOWNER = 0x800454cc
41974+ TUNSETPERSIST = 0x800454cb
41975+ TUNSETQUEUE = 0x800454d9
41976+ TUNSETSNDBUF = 0x800454d4
41977+ TUNSETSTEERINGEBPF = 0x400454e0
41978+ TUNSETTXFILTER = 0x800454d1
41979+ TUNSETVNETBE = 0x800454de
41980+ TUNSETVNETHDRSZ = 0x800454d8
41981+ TUNSETVNETLE = 0x800454dc
41982+ UBI_IOCATT = 0x80186f40
41983+ UBI_IOCDET = 0x80046f41
41984+ UBI_IOCEBCH = 0x80044f02
41985+ UBI_IOCEBER = 0x80044f01
41986+ UBI_IOCEBISMAP = 0x40044f05
41987+ UBI_IOCEBMAP = 0x80084f03
41988+ UBI_IOCEBUNMAP = 0x80044f04
41989+ UBI_IOCMKVOL = 0x80986f00
41990+ UBI_IOCRMVOL = 0x80046f01
41991+ UBI_IOCRNVOL = 0x91106f03
41992+ UBI_IOCRPEB = 0x80046f04
41993+ UBI_IOCRSVOL = 0x800c6f02
41994+ UBI_IOCSETVOLPROP = 0x80104f06
41995+ UBI_IOCSPEB = 0x80046f05
41996+ UBI_IOCVOLCRBLK = 0x80804f07
41997+ UBI_IOCVOLRMBLK = 0x20004f08
41998+ UBI_IOCVOLUP = 0x80084f00
41999+ VDISCARD = 0xd
42000+ VEOF = 0x10
42001+ VEOL = 0x11
42002+ VEOL2 = 0x6
42003+ VMIN = 0x4
42004+ VREPRINT = 0xc
42005+ VSTART = 0x8
42006+ VSTOP = 0x9
42007+ VSUSP = 0xa
42008+ VSWTC = 0x7
42009+ VSWTCH = 0x7
42010+ VT1 = 0x4000
42011+ VTDLY = 0x4000
42012+ VTIME = 0x5
42013+ VWERASE = 0xe
42014+ WDIOC_GETBOOTSTATUS = 0x40045702
42015+ WDIOC_GETPRETIMEOUT = 0x40045709
42016+ WDIOC_GETSTATUS = 0x40045701
42017+ WDIOC_GETSUPPORT = 0x40285700
42018+ WDIOC_GETTEMP = 0x40045703
42019+ WDIOC_GETTIMELEFT = 0x4004570a
42020+ WDIOC_GETTIMEOUT = 0x40045707
42021+ WDIOC_KEEPALIVE = 0x40045705
42022+ WDIOC_SETOPTIONS = 0x40045704
42023+ WORDSIZE = 0x40
42024+ XCASE = 0x4
42025+ XTABS = 0x1800
42026 )
42027
42028 // Errors
42029 const (
42030- E2BIG = syscall.Errno(0x7)
42031- EACCES = syscall.Errno(0xd)
42032 EADDRINUSE = syscall.Errno(0x7d)
42033 EADDRNOTAVAIL = syscall.Errno(0x7e)
42034 EADV = syscall.Errno(0x44)
42035 EAFNOSUPPORT = syscall.Errno(0x7c)
42036- EAGAIN = syscall.Errno(0xb)
42037 EALREADY = syscall.Errno(0x95)
42038 EBADE = syscall.Errno(0x32)
42039- EBADF = syscall.Errno(0x9)
42040 EBADFD = syscall.Errno(0x51)
42041 EBADMSG = syscall.Errno(0x4d)
42042 EBADR = syscall.Errno(0x33)
42043 EBADRQC = syscall.Errno(0x36)
42044 EBADSLT = syscall.Errno(0x37)
42045 EBFONT = syscall.Errno(0x3b)
42046- EBUSY = syscall.Errno(0x10)
42047 ECANCELED = syscall.Errno(0x9e)
42048- ECHILD = syscall.Errno(0xa)
42049 ECHRNG = syscall.Errno(0x25)
42050 ECOMM = syscall.Errno(0x46)
42051 ECONNABORTED = syscall.Errno(0x82)
42052@@ -1886,12 +502,8 @@ const (
42053 EDEADLK = syscall.Errno(0x2d)
42054 EDEADLOCK = syscall.Errno(0x38)
42055 EDESTADDRREQ = syscall.Errno(0x60)
42056- EDOM = syscall.Errno(0x21)
42057 EDOTDOT = syscall.Errno(0x49)
42058 EDQUOT = syscall.Errno(0x46d)
42059- EEXIST = syscall.Errno(0x11)
42060- EFAULT = syscall.Errno(0xe)
42061- EFBIG = syscall.Errno(0x1b)
42062 EHOSTDOWN = syscall.Errno(0x93)
42063 EHOSTUNREACH = syscall.Errno(0x94)
42064 EHWPOISON = syscall.Errno(0xa8)
42065@@ -1899,11 +511,7 @@ const (
42066 EILSEQ = syscall.Errno(0x58)
42067 EINIT = syscall.Errno(0x8d)
42068 EINPROGRESS = syscall.Errno(0x96)
42069- EINTR = syscall.Errno(0x4)
42070- EINVAL = syscall.Errno(0x16)
42071- EIO = syscall.Errno(0x5)
42072 EISCONN = syscall.Errno(0x85)
42073- EISDIR = syscall.Errno(0x15)
42074 EISNAM = syscall.Errno(0x8b)
42075 EKEYEXPIRED = syscall.Errno(0xa2)
42076 EKEYREJECTED = syscall.Errno(0xa4)
42077@@ -1920,8 +528,6 @@ const (
42078 ELNRNG = syscall.Errno(0x29)
42079 ELOOP = syscall.Errno(0x5a)
42080 EMEDIUMTYPE = syscall.Errno(0xa0)
42081- EMFILE = syscall.Errno(0x18)
42082- EMLINK = syscall.Errno(0x1f)
42083 EMSGSIZE = syscall.Errno(0x61)
42084 EMULTIHOP = syscall.Errno(0x4a)
42085 ENAMETOOLONG = syscall.Errno(0x4e)
42086@@ -1929,100 +535,68 @@ const (
42087 ENETDOWN = syscall.Errno(0x7f)
42088 ENETRESET = syscall.Errno(0x81)
42089 ENETUNREACH = syscall.Errno(0x80)
42090- ENFILE = syscall.Errno(0x17)
42091 ENOANO = syscall.Errno(0x35)
42092 ENOBUFS = syscall.Errno(0x84)
42093 ENOCSI = syscall.Errno(0x2b)
42094 ENODATA = syscall.Errno(0x3d)
42095- ENODEV = syscall.Errno(0x13)
42096- ENOENT = syscall.Errno(0x2)
42097- ENOEXEC = syscall.Errno(0x8)
42098 ENOKEY = syscall.Errno(0xa1)
42099 ENOLCK = syscall.Errno(0x2e)
42100 ENOLINK = syscall.Errno(0x43)
42101 ENOMEDIUM = syscall.Errno(0x9f)
42102- ENOMEM = syscall.Errno(0xc)
42103 ENOMSG = syscall.Errno(0x23)
42104 ENONET = syscall.Errno(0x40)
42105 ENOPKG = syscall.Errno(0x41)
42106 ENOPROTOOPT = syscall.Errno(0x63)
42107- ENOSPC = syscall.Errno(0x1c)
42108 ENOSR = syscall.Errno(0x3f)
42109 ENOSTR = syscall.Errno(0x3c)
42110 ENOSYS = syscall.Errno(0x59)
42111- ENOTBLK = syscall.Errno(0xf)
42112 ENOTCONN = syscall.Errno(0x86)
42113- ENOTDIR = syscall.Errno(0x14)
42114 ENOTEMPTY = syscall.Errno(0x5d)
42115 ENOTNAM = syscall.Errno(0x89)
42116 ENOTRECOVERABLE = syscall.Errno(0xa6)
42117 ENOTSOCK = syscall.Errno(0x5f)
42118 ENOTSUP = syscall.Errno(0x7a)
42119- ENOTTY = syscall.Errno(0x19)
42120 ENOTUNIQ = syscall.Errno(0x50)
42121- ENXIO = syscall.Errno(0x6)
42122 EOPNOTSUPP = syscall.Errno(0x7a)
42123 EOVERFLOW = syscall.Errno(0x4f)
42124 EOWNERDEAD = syscall.Errno(0xa5)
42125- EPERM = syscall.Errno(0x1)
42126 EPFNOSUPPORT = syscall.Errno(0x7b)
42127- EPIPE = syscall.Errno(0x20)
42128 EPROTO = syscall.Errno(0x47)
42129 EPROTONOSUPPORT = syscall.Errno(0x78)
42130 EPROTOTYPE = syscall.Errno(0x62)
42131- ERANGE = syscall.Errno(0x22)
42132 EREMCHG = syscall.Errno(0x52)
42133 EREMDEV = syscall.Errno(0x8e)
42134 EREMOTE = syscall.Errno(0x42)
42135 EREMOTEIO = syscall.Errno(0x8c)
42136 ERESTART = syscall.Errno(0x5b)
42137 ERFKILL = syscall.Errno(0xa7)
42138- EROFS = syscall.Errno(0x1e)
42139 ESHUTDOWN = syscall.Errno(0x8f)
42140 ESOCKTNOSUPPORT = syscall.Errno(0x79)
42141- ESPIPE = syscall.Errno(0x1d)
42142- ESRCH = syscall.Errno(0x3)
42143 ESRMNT = syscall.Errno(0x45)
42144 ESTALE = syscall.Errno(0x97)
42145 ESTRPIPE = syscall.Errno(0x5c)
42146 ETIME = syscall.Errno(0x3e)
42147 ETIMEDOUT = syscall.Errno(0x91)
42148 ETOOMANYREFS = syscall.Errno(0x90)
42149- ETXTBSY = syscall.Errno(0x1a)
42150 EUCLEAN = syscall.Errno(0x87)
42151 EUNATCH = syscall.Errno(0x2a)
42152 EUSERS = syscall.Errno(0x5e)
42153- EWOULDBLOCK = syscall.Errno(0xb)
42154- EXDEV = syscall.Errno(0x12)
42155 EXFULL = syscall.Errno(0x34)
42156 )
42157
42158 // Signals
42159 const (
42160- SIGABRT = syscall.Signal(0x6)
42161- SIGALRM = syscall.Signal(0xe)
42162 SIGBUS = syscall.Signal(0xa)
42163 SIGCHLD = syscall.Signal(0x12)
42164 SIGCLD = syscall.Signal(0x12)
42165 SIGCONT = syscall.Signal(0x19)
42166 SIGEMT = syscall.Signal(0x7)
42167- SIGFPE = syscall.Signal(0x8)
42168- SIGHUP = syscall.Signal(0x1)
42169- SIGILL = syscall.Signal(0x4)
42170- SIGINT = syscall.Signal(0x2)
42171 SIGIO = syscall.Signal(0x16)
42172- SIGIOT = syscall.Signal(0x6)
42173- SIGKILL = syscall.Signal(0x9)
42174- SIGPIPE = syscall.Signal(0xd)
42175 SIGPOLL = syscall.Signal(0x16)
42176 SIGPROF = syscall.Signal(0x1d)
42177 SIGPWR = syscall.Signal(0x13)
42178- SIGQUIT = syscall.Signal(0x3)
42179- SIGSEGV = syscall.Signal(0xb)
42180 SIGSTOP = syscall.Signal(0x17)
42181 SIGSYS = syscall.Signal(0xc)
42182- SIGTERM = syscall.Signal(0xf)
42183- SIGTRAP = syscall.Signal(0x5)
42184 SIGTSTP = syscall.Signal(0x18)
42185 SIGTTIN = syscall.Signal(0x1a)
42186 SIGTTOU = syscall.Signal(0x1b)
42187@@ -2036,174 +610,182 @@ const (
42188 )
42189
42190 // Error table
42191-var errors = [...]string{
42192- 1: "operation not permitted",
42193- 2: "no such file or directory",
42194- 3: "no such process",
42195- 4: "interrupted system call",
42196- 5: "input/output error",
42197- 6: "no such device or address",
42198- 7: "argument list too long",
42199- 8: "exec format error",
42200- 9: "bad file descriptor",
42201- 10: "no child processes",
42202- 11: "resource temporarily unavailable",
42203- 12: "cannot allocate memory",
42204- 13: "permission denied",
42205- 14: "bad address",
42206- 15: "block device required",
42207- 16: "device or resource busy",
42208- 17: "file exists",
42209- 18: "invalid cross-device link",
42210- 19: "no such device",
42211- 20: "not a directory",
42212- 21: "is a directory",
42213- 22: "invalid argument",
42214- 23: "too many open files in system",
42215- 24: "too many open files",
42216- 25: "inappropriate ioctl for device",
42217- 26: "text file busy",
42218- 27: "file too large",
42219- 28: "no space left on device",
42220- 29: "illegal seek",
42221- 30: "read-only file system",
42222- 31: "too many links",
42223- 32: "broken pipe",
42224- 33: "numerical argument out of domain",
42225- 34: "numerical result out of range",
42226- 35: "no message of desired type",
42227- 36: "identifier removed",
42228- 37: "channel number out of range",
42229- 38: "level 2 not synchronized",
42230- 39: "level 3 halted",
42231- 40: "level 3 reset",
42232- 41: "link number out of range",
42233- 42: "protocol driver not attached",
42234- 43: "no CSI structure available",
42235- 44: "level 2 halted",
42236- 45: "resource deadlock avoided",
42237- 46: "no locks available",
42238- 50: "invalid exchange",
42239- 51: "invalid request descriptor",
42240- 52: "exchange full",
42241- 53: "no anode",
42242- 54: "invalid request code",
42243- 55: "invalid slot",
42244- 56: "file locking deadlock error",
42245- 59: "bad font file format",
42246- 60: "device not a stream",
42247- 61: "no data available",
42248- 62: "timer expired",
42249- 63: "out of streams resources",
42250- 64: "machine is not on the network",
42251- 65: "package not installed",
42252- 66: "object is remote",
42253- 67: "link has been severed",
42254- 68: "advertise error",
42255- 69: "srmount error",
42256- 70: "communication error on send",
42257- 71: "protocol error",
42258- 73: "RFS specific error",
42259- 74: "multihop attempted",
42260- 77: "bad message",
42261- 78: "file name too long",
42262- 79: "value too large for defined data type",
42263- 80: "name not unique on network",
42264- 81: "file descriptor in bad state",
42265- 82: "remote address changed",
42266- 83: "can not access a needed shared library",
42267- 84: "accessing a corrupted shared library",
42268- 85: ".lib section in a.out corrupted",
42269- 86: "attempting to link in too many shared libraries",
42270- 87: "cannot exec a shared library directly",
42271- 88: "invalid or incomplete multibyte or wide character",
42272- 89: "function not implemented",
42273- 90: "too many levels of symbolic links",
42274- 91: "interrupted system call should be restarted",
42275- 92: "streams pipe error",
42276- 93: "directory not empty",
42277- 94: "too many users",
42278- 95: "socket operation on non-socket",
42279- 96: "destination address required",
42280- 97: "message too long",
42281- 98: "protocol wrong type for socket",
42282- 99: "protocol not available",
42283- 120: "protocol not supported",
42284- 121: "socket type not supported",
42285- 122: "operation not supported",
42286- 123: "protocol family not supported",
42287- 124: "address family not supported by protocol",
42288- 125: "address already in use",
42289- 126: "cannot assign requested address",
42290- 127: "network is down",
42291- 128: "network is unreachable",
42292- 129: "network dropped connection on reset",
42293- 130: "software caused connection abort",
42294- 131: "connection reset by peer",
42295- 132: "no buffer space available",
42296- 133: "transport endpoint is already connected",
42297- 134: "transport endpoint is not connected",
42298- 135: "structure needs cleaning",
42299- 137: "not a XENIX named type file",
42300- 138: "no XENIX semaphores available",
42301- 139: "is a named type file",
42302- 140: "remote I/O error",
42303- 141: "unknown error 141",
42304- 142: "unknown error 142",
42305- 143: "cannot send after transport endpoint shutdown",
42306- 144: "too many references: cannot splice",
42307- 145: "connection timed out",
42308- 146: "connection refused",
42309- 147: "host is down",
42310- 148: "no route to host",
42311- 149: "operation already in progress",
42312- 150: "operation now in progress",
42313- 151: "stale file handle",
42314- 158: "operation canceled",
42315- 159: "no medium found",
42316- 160: "wrong medium type",
42317- 161: "required key not available",
42318- 162: "key has expired",
42319- 163: "key has been revoked",
42320- 164: "key was rejected by service",
42321- 165: "owner died",
42322- 166: "state not recoverable",
42323- 167: "operation not possible due to RF-kill",
42324- 168: "memory page has hardware error",
42325- 1133: "disk quota exceeded",
42326+var errorList = [...]struct {
42327+ num syscall.Errno
42328+ name string
42329+ desc string
42330+}{
42331+ {1, "EPERM", "operation not permitted"},
42332+ {2, "ENOENT", "no such file or directory"},
42333+ {3, "ESRCH", "no such process"},
42334+ {4, "EINTR", "interrupted system call"},
42335+ {5, "EIO", "input/output error"},
42336+ {6, "ENXIO", "no such device or address"},
42337+ {7, "E2BIG", "argument list too long"},
42338+ {8, "ENOEXEC", "exec format error"},
42339+ {9, "EBADF", "bad file descriptor"},
42340+ {10, "ECHILD", "no child processes"},
42341+ {11, "EAGAIN", "resource temporarily unavailable"},
42342+ {12, "ENOMEM", "cannot allocate memory"},
42343+ {13, "EACCES", "permission denied"},
42344+ {14, "EFAULT", "bad address"},
42345+ {15, "ENOTBLK", "block device required"},
42346+ {16, "EBUSY", "device or resource busy"},
42347+ {17, "EEXIST", "file exists"},
42348+ {18, "EXDEV", "invalid cross-device link"},
42349+ {19, "ENODEV", "no such device"},
42350+ {20, "ENOTDIR", "not a directory"},
42351+ {21, "EISDIR", "is a directory"},
42352+ {22, "EINVAL", "invalid argument"},
42353+ {23, "ENFILE", "too many open files in system"},
42354+ {24, "EMFILE", "too many open files"},
42355+ {25, "ENOTTY", "inappropriate ioctl for device"},
42356+ {26, "ETXTBSY", "text file busy"},
42357+ {27, "EFBIG", "file too large"},
42358+ {28, "ENOSPC", "no space left on device"},
42359+ {29, "ESPIPE", "illegal seek"},
42360+ {30, "EROFS", "read-only file system"},
42361+ {31, "EMLINK", "too many links"},
42362+ {32, "EPIPE", "broken pipe"},
42363+ {33, "EDOM", "numerical argument out of domain"},
42364+ {34, "ERANGE", "numerical result out of range"},
42365+ {35, "ENOMSG", "no message of desired type"},
42366+ {36, "EIDRM", "identifier removed"},
42367+ {37, "ECHRNG", "channel number out of range"},
42368+ {38, "EL2NSYNC", "level 2 not synchronized"},
42369+ {39, "EL3HLT", "level 3 halted"},
42370+ {40, "EL3RST", "level 3 reset"},
42371+ {41, "ELNRNG", "link number out of range"},
42372+ {42, "EUNATCH", "protocol driver not attached"},
42373+ {43, "ENOCSI", "no CSI structure available"},
42374+ {44, "EL2HLT", "level 2 halted"},
42375+ {45, "EDEADLK", "resource deadlock avoided"},
42376+ {46, "ENOLCK", "no locks available"},
42377+ {50, "EBADE", "invalid exchange"},
42378+ {51, "EBADR", "invalid request descriptor"},
42379+ {52, "EXFULL", "exchange full"},
42380+ {53, "ENOANO", "no anode"},
42381+ {54, "EBADRQC", "invalid request code"},
42382+ {55, "EBADSLT", "invalid slot"},
42383+ {56, "EDEADLOCK", "file locking deadlock error"},
42384+ {59, "EBFONT", "bad font file format"},
42385+ {60, "ENOSTR", "device not a stream"},
42386+ {61, "ENODATA", "no data available"},
42387+ {62, "ETIME", "timer expired"},
42388+ {63, "ENOSR", "out of streams resources"},
42389+ {64, "ENONET", "machine is not on the network"},
42390+ {65, "ENOPKG", "package not installed"},
42391+ {66, "EREMOTE", "object is remote"},
42392+ {67, "ENOLINK", "link has been severed"},
42393+ {68, "EADV", "advertise error"},
42394+ {69, "ESRMNT", "srmount error"},
42395+ {70, "ECOMM", "communication error on send"},
42396+ {71, "EPROTO", "protocol error"},
42397+ {73, "EDOTDOT", "RFS specific error"},
42398+ {74, "EMULTIHOP", "multihop attempted"},
42399+ {77, "EBADMSG", "bad message"},
42400+ {78, "ENAMETOOLONG", "file name too long"},
42401+ {79, "EOVERFLOW", "value too large for defined data type"},
42402+ {80, "ENOTUNIQ", "name not unique on network"},
42403+ {81, "EBADFD", "file descriptor in bad state"},
42404+ {82, "EREMCHG", "remote address changed"},
42405+ {83, "ELIBACC", "can not access a needed shared library"},
42406+ {84, "ELIBBAD", "accessing a corrupted shared library"},
42407+ {85, "ELIBSCN", ".lib section in a.out corrupted"},
42408+ {86, "ELIBMAX", "attempting to link in too many shared libraries"},
42409+ {87, "ELIBEXEC", "cannot exec a shared library directly"},
42410+ {88, "EILSEQ", "invalid or incomplete multibyte or wide character"},
42411+ {89, "ENOSYS", "function not implemented"},
42412+ {90, "ELOOP", "too many levels of symbolic links"},
42413+ {91, "ERESTART", "interrupted system call should be restarted"},
42414+ {92, "ESTRPIPE", "streams pipe error"},
42415+ {93, "ENOTEMPTY", "directory not empty"},
42416+ {94, "EUSERS", "too many users"},
42417+ {95, "ENOTSOCK", "socket operation on non-socket"},
42418+ {96, "EDESTADDRREQ", "destination address required"},
42419+ {97, "EMSGSIZE", "message too long"},
42420+ {98, "EPROTOTYPE", "protocol wrong type for socket"},
42421+ {99, "ENOPROTOOPT", "protocol not available"},
42422+ {120, "EPROTONOSUPPORT", "protocol not supported"},
42423+ {121, "ESOCKTNOSUPPORT", "socket type not supported"},
42424+ {122, "ENOTSUP", "operation not supported"},
42425+ {123, "EPFNOSUPPORT", "protocol family not supported"},
42426+ {124, "EAFNOSUPPORT", "address family not supported by protocol"},
42427+ {125, "EADDRINUSE", "address already in use"},
42428+ {126, "EADDRNOTAVAIL", "cannot assign requested address"},
42429+ {127, "ENETDOWN", "network is down"},
42430+ {128, "ENETUNREACH", "network is unreachable"},
42431+ {129, "ENETRESET", "network dropped connection on reset"},
42432+ {130, "ECONNABORTED", "software caused connection abort"},
42433+ {131, "ECONNRESET", "connection reset by peer"},
42434+ {132, "ENOBUFS", "no buffer space available"},
42435+ {133, "EISCONN", "transport endpoint is already connected"},
42436+ {134, "ENOTCONN", "transport endpoint is not connected"},
42437+ {135, "EUCLEAN", "structure needs cleaning"},
42438+ {137, "ENOTNAM", "not a XENIX named type file"},
42439+ {138, "ENAVAIL", "no XENIX semaphores available"},
42440+ {139, "EISNAM", "is a named type file"},
42441+ {140, "EREMOTEIO", "remote I/O error"},
42442+ {141, "EINIT", "unknown error 141"},
42443+ {142, "EREMDEV", "unknown error 142"},
42444+ {143, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
42445+ {144, "ETOOMANYREFS", "too many references: cannot splice"},
42446+ {145, "ETIMEDOUT", "connection timed out"},
42447+ {146, "ECONNREFUSED", "connection refused"},
42448+ {147, "EHOSTDOWN", "host is down"},
42449+ {148, "EHOSTUNREACH", "no route to host"},
42450+ {149, "EALREADY", "operation already in progress"},
42451+ {150, "EINPROGRESS", "operation now in progress"},
42452+ {151, "ESTALE", "stale file handle"},
42453+ {158, "ECANCELED", "operation canceled"},
42454+ {159, "ENOMEDIUM", "no medium found"},
42455+ {160, "EMEDIUMTYPE", "wrong medium type"},
42456+ {161, "ENOKEY", "required key not available"},
42457+ {162, "EKEYEXPIRED", "key has expired"},
42458+ {163, "EKEYREVOKED", "key has been revoked"},
42459+ {164, "EKEYREJECTED", "key was rejected by service"},
42460+ {165, "EOWNERDEAD", "owner died"},
42461+ {166, "ENOTRECOVERABLE", "state not recoverable"},
42462+ {167, "ERFKILL", "operation not possible due to RF-kill"},
42463+ {168, "EHWPOISON", "memory page has hardware error"},
42464+ {1133, "EDQUOT", "disk quota exceeded"},
42465 }
42466
42467 // Signal table
42468-var signals = [...]string{
42469- 1: "hangup",
42470- 2: "interrupt",
42471- 3: "quit",
42472- 4: "illegal instruction",
42473- 5: "trace/breakpoint trap",
42474- 6: "aborted",
42475- 7: "EMT trap",
42476- 8: "floating point exception",
42477- 9: "killed",
42478- 10: "bus error",
42479- 11: "segmentation fault",
42480- 12: "bad system call",
42481- 13: "broken pipe",
42482- 14: "alarm clock",
42483- 15: "terminated",
42484- 16: "user defined signal 1",
42485- 17: "user defined signal 2",
42486- 18: "child exited",
42487- 19: "power failure",
42488- 20: "window changed",
42489- 21: "urgent I/O condition",
42490- 22: "I/O possible",
42491- 23: "stopped (signal)",
42492- 24: "stopped",
42493- 25: "continued",
42494- 26: "stopped (tty input)",
42495- 27: "stopped (tty output)",
42496- 28: "virtual timer expired",
42497- 29: "profiling timer expired",
42498- 30: "CPU time limit exceeded",
42499- 31: "file size limit exceeded",
42500+var signalList = [...]struct {
42501+ num syscall.Signal
42502+ name string
42503+ desc string
42504+}{
42505+ {1, "SIGHUP", "hangup"},
42506+ {2, "SIGINT", "interrupt"},
42507+ {3, "SIGQUIT", "quit"},
42508+ {4, "SIGILL", "illegal instruction"},
42509+ {5, "SIGTRAP", "trace/breakpoint trap"},
42510+ {6, "SIGABRT", "aborted"},
42511+ {7, "SIGEMT", "EMT trap"},
42512+ {8, "SIGFPE", "floating point exception"},
42513+ {9, "SIGKILL", "killed"},
42514+ {10, "SIGBUS", "bus error"},
42515+ {11, "SIGSEGV", "segmentation fault"},
42516+ {12, "SIGSYS", "bad system call"},
42517+ {13, "SIGPIPE", "broken pipe"},
42518+ {14, "SIGALRM", "alarm clock"},
42519+ {15, "SIGTERM", "terminated"},
42520+ {16, "SIGUSR1", "user defined signal 1"},
42521+ {17, "SIGUSR2", "user defined signal 2"},
42522+ {18, "SIGCHLD", "child exited"},
42523+ {19, "SIGPWR", "power failure"},
42524+ {20, "SIGWINCH", "window changed"},
42525+ {21, "SIGURG", "urgent I/O condition"},
42526+ {22, "SIGIO", "I/O possible"},
42527+ {23, "SIGSTOP", "stopped (signal)"},
42528+ {24, "SIGTSTP", "stopped"},
42529+ {25, "SIGCONT", "continued"},
42530+ {26, "SIGTTIN", "stopped (tty input)"},
42531+ {27, "SIGTTOU", "stopped (tty output)"},
42532+ {28, "SIGVTALRM", "virtual timer expired"},
42533+ {29, "SIGPROF", "profiling timer expired"},
42534+ {30, "SIGXCPU", "CPU time limit exceeded"},
42535+ {31, "SIGXFSZ", "file size limit exceeded"},
42536 }
42537diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go
42538index 2310beeb..e758b61e 100644
42539--- a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go
42540+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go
42541@@ -3,7 +3,7 @@
42542
42543 // +build mips64le,linux
42544
42545-// Created by cgo -godefs - DO NOT EDIT
42546+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
42547 // cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
42548
42549 package unix
42550@@ -11,1873 +11,489 @@ package unix
42551 import "syscall"
42552
42553 const (
42554- AF_ALG = 0x26
42555- AF_APPLETALK = 0x5
42556- AF_ASH = 0x12
42557- AF_ATMPVC = 0x8
42558- AF_ATMSVC = 0x14
42559- AF_AX25 = 0x3
42560- AF_BLUETOOTH = 0x1f
42561- AF_BRIDGE = 0x7
42562- AF_CAIF = 0x25
42563- AF_CAN = 0x1d
42564- AF_DECnet = 0xc
42565- AF_ECONET = 0x13
42566- AF_FILE = 0x1
42567- AF_IB = 0x1b
42568- AF_IEEE802154 = 0x24
42569- AF_INET = 0x2
42570- AF_INET6 = 0xa
42571- AF_IPX = 0x4
42572- AF_IRDA = 0x17
42573- AF_ISDN = 0x22
42574- AF_IUCV = 0x20
42575- AF_KCM = 0x29
42576- AF_KEY = 0xf
42577- AF_LLC = 0x1a
42578- AF_LOCAL = 0x1
42579- AF_MAX = 0x2b
42580- AF_MPLS = 0x1c
42581- AF_NETBEUI = 0xd
42582- AF_NETLINK = 0x10
42583- AF_NETROM = 0x6
42584- AF_NFC = 0x27
42585- AF_PACKET = 0x11
42586- AF_PHONET = 0x23
42587- AF_PPPOX = 0x18
42588- AF_QIPCRTR = 0x2a
42589- AF_RDS = 0x15
42590- AF_ROSE = 0xb
42591- AF_ROUTE = 0x10
42592- AF_RXRPC = 0x21
42593- AF_SECURITY = 0xe
42594- AF_SNA = 0x16
42595- AF_TIPC = 0x1e
42596- AF_UNIX = 0x1
42597- AF_UNSPEC = 0x0
42598- AF_VSOCK = 0x28
42599- AF_WANPIPE = 0x19
42600- AF_X25 = 0x9
42601- ALG_OP_DECRYPT = 0x0
42602- ALG_OP_ENCRYPT = 0x1
42603- ALG_SET_AEAD_ASSOCLEN = 0x4
42604- ALG_SET_AEAD_AUTHSIZE = 0x5
42605- ALG_SET_IV = 0x2
42606- ALG_SET_KEY = 0x1
42607- ALG_SET_OP = 0x3
42608- ARPHRD_6LOWPAN = 0x339
42609- ARPHRD_ADAPT = 0x108
42610- ARPHRD_APPLETLK = 0x8
42611- ARPHRD_ARCNET = 0x7
42612- ARPHRD_ASH = 0x30d
42613- ARPHRD_ATM = 0x13
42614- ARPHRD_AX25 = 0x3
42615- ARPHRD_BIF = 0x307
42616- ARPHRD_CAIF = 0x336
42617- ARPHRD_CAN = 0x118
42618- ARPHRD_CHAOS = 0x5
42619- ARPHRD_CISCO = 0x201
42620- ARPHRD_CSLIP = 0x101
42621- ARPHRD_CSLIP6 = 0x103
42622- ARPHRD_DDCMP = 0x205
42623- ARPHRD_DLCI = 0xf
42624- ARPHRD_ECONET = 0x30e
42625- ARPHRD_EETHER = 0x2
42626- ARPHRD_ETHER = 0x1
42627- ARPHRD_EUI64 = 0x1b
42628- ARPHRD_FCAL = 0x311
42629- ARPHRD_FCFABRIC = 0x313
42630- ARPHRD_FCPL = 0x312
42631- ARPHRD_FCPP = 0x310
42632- ARPHRD_FDDI = 0x306
42633- ARPHRD_FRAD = 0x302
42634- ARPHRD_HDLC = 0x201
42635- ARPHRD_HIPPI = 0x30c
42636- ARPHRD_HWX25 = 0x110
42637- ARPHRD_IEEE1394 = 0x18
42638- ARPHRD_IEEE802 = 0x6
42639- ARPHRD_IEEE80211 = 0x321
42640- ARPHRD_IEEE80211_PRISM = 0x322
42641- ARPHRD_IEEE80211_RADIOTAP = 0x323
42642- ARPHRD_IEEE802154 = 0x324
42643- ARPHRD_IEEE802154_MONITOR = 0x325
42644- ARPHRD_IEEE802_TR = 0x320
42645- ARPHRD_INFINIBAND = 0x20
42646- ARPHRD_IP6GRE = 0x337
42647- ARPHRD_IPDDP = 0x309
42648- ARPHRD_IPGRE = 0x30a
42649- ARPHRD_IRDA = 0x30f
42650- ARPHRD_LAPB = 0x204
42651- ARPHRD_LOCALTLK = 0x305
42652- ARPHRD_LOOPBACK = 0x304
42653- ARPHRD_METRICOM = 0x17
42654- ARPHRD_NETLINK = 0x338
42655- ARPHRD_NETROM = 0x0
42656- ARPHRD_NONE = 0xfffe
42657- ARPHRD_PHONET = 0x334
42658- ARPHRD_PHONET_PIPE = 0x335
42659- ARPHRD_PIMREG = 0x30b
42660- ARPHRD_PPP = 0x200
42661- ARPHRD_PRONET = 0x4
42662- ARPHRD_RAWHDLC = 0x206
42663- ARPHRD_ROSE = 0x10e
42664- ARPHRD_RSRVD = 0x104
42665- ARPHRD_SIT = 0x308
42666- ARPHRD_SKIP = 0x303
42667- ARPHRD_SLIP = 0x100
42668- ARPHRD_SLIP6 = 0x102
42669- ARPHRD_TUNNEL = 0x300
42670- ARPHRD_TUNNEL6 = 0x301
42671- ARPHRD_VOID = 0xffff
42672- ARPHRD_X25 = 0x10f
42673- B0 = 0x0
42674- B1000000 = 0x1008
42675- B110 = 0x3
42676- B115200 = 0x1002
42677- B1152000 = 0x1009
42678- B1200 = 0x9
42679- B134 = 0x4
42680- B150 = 0x5
42681- B1500000 = 0x100a
42682- B1800 = 0xa
42683- B19200 = 0xe
42684- B200 = 0x6
42685- B2000000 = 0x100b
42686- B230400 = 0x1003
42687- B2400 = 0xb
42688- B2500000 = 0x100c
42689- B300 = 0x7
42690- B3000000 = 0x100d
42691- B3500000 = 0x100e
42692- B38400 = 0xf
42693- B4000000 = 0x100f
42694- B460800 = 0x1004
42695- B4800 = 0xc
42696- B50 = 0x1
42697- B500000 = 0x1005
42698- B57600 = 0x1001
42699- B576000 = 0x1006
42700- B600 = 0x8
42701- B75 = 0x2
42702- B921600 = 0x1007
42703- B9600 = 0xd
42704- BLKBSZGET = 0x40081270
42705- BLKBSZSET = 0x80081271
42706- BLKFLSBUF = 0x20001261
42707- BLKFRAGET = 0x20001265
42708- BLKFRASET = 0x20001264
42709- BLKGETSIZE = 0x20001260
42710- BLKGETSIZE64 = 0x40081272
42711- BLKPBSZGET = 0x2000127b
42712- BLKRAGET = 0x20001263
42713- BLKRASET = 0x20001262
42714- BLKROGET = 0x2000125e
42715- BLKROSET = 0x2000125d
42716- BLKRRPART = 0x2000125f
42717- BLKSECTGET = 0x20001267
42718- BLKSECTSET = 0x20001266
42719- BLKSSZGET = 0x20001268
42720- BOTHER = 0x1000
42721- BPF_A = 0x10
42722- BPF_ABS = 0x20
42723- BPF_ADD = 0x0
42724- BPF_ALU = 0x4
42725- BPF_AND = 0x50
42726- BPF_B = 0x10
42727- BPF_DIV = 0x30
42728- BPF_H = 0x8
42729- BPF_IMM = 0x0
42730- BPF_IND = 0x40
42731- BPF_JA = 0x0
42732- BPF_JEQ = 0x10
42733- BPF_JGE = 0x30
42734- BPF_JGT = 0x20
42735- BPF_JMP = 0x5
42736- BPF_JSET = 0x40
42737- BPF_K = 0x0
42738- BPF_LD = 0x0
42739- BPF_LDX = 0x1
42740- BPF_LEN = 0x80
42741- BPF_LL_OFF = -0x200000
42742- BPF_LSH = 0x60
42743- BPF_MAJOR_VERSION = 0x1
42744- BPF_MAXINSNS = 0x1000
42745- BPF_MEM = 0x60
42746- BPF_MEMWORDS = 0x10
42747- BPF_MINOR_VERSION = 0x1
42748- BPF_MISC = 0x7
42749- BPF_MOD = 0x90
42750- BPF_MSH = 0xa0
42751- BPF_MUL = 0x20
42752- BPF_NEG = 0x80
42753- BPF_NET_OFF = -0x100000
42754- BPF_OR = 0x40
42755- BPF_RET = 0x6
42756- BPF_RSH = 0x70
42757- BPF_ST = 0x2
42758- BPF_STX = 0x3
42759- BPF_SUB = 0x10
42760- BPF_TAX = 0x0
42761- BPF_TXA = 0x80
42762- BPF_W = 0x0
42763- BPF_X = 0x8
42764- BPF_XOR = 0xa0
42765- BRKINT = 0x2
42766- BS0 = 0x0
42767- BS1 = 0x2000
42768- BSDLY = 0x2000
42769- CAN_BCM = 0x2
42770- CAN_EFF_FLAG = 0x80000000
42771- CAN_EFF_ID_BITS = 0x1d
42772- CAN_EFF_MASK = 0x1fffffff
42773- CAN_ERR_FLAG = 0x20000000
42774- CAN_ERR_MASK = 0x1fffffff
42775- CAN_INV_FILTER = 0x20000000
42776- CAN_ISOTP = 0x6
42777- CAN_MAX_DLC = 0x8
42778- CAN_MAX_DLEN = 0x8
42779- CAN_MCNET = 0x5
42780- CAN_MTU = 0x10
42781- CAN_NPROTO = 0x7
42782- CAN_RAW = 0x1
42783- CAN_RAW_FILTER_MAX = 0x200
42784- CAN_RTR_FLAG = 0x40000000
42785- CAN_SFF_ID_BITS = 0xb
42786- CAN_SFF_MASK = 0x7ff
42787- CAN_TP16 = 0x3
42788- CAN_TP20 = 0x4
42789- CBAUD = 0x100f
42790- CBAUDEX = 0x1000
42791- CFLUSH = 0xf
42792- CIBAUD = 0x100f0000
42793- CLOCAL = 0x800
42794- CLOCK_BOOTTIME = 0x7
42795- CLOCK_BOOTTIME_ALARM = 0x9
42796- CLOCK_DEFAULT = 0x0
42797- CLOCK_EXT = 0x1
42798- CLOCK_INT = 0x2
42799- CLOCK_MONOTONIC = 0x1
42800- CLOCK_MONOTONIC_COARSE = 0x6
42801- CLOCK_MONOTONIC_RAW = 0x4
42802- CLOCK_PROCESS_CPUTIME_ID = 0x2
42803- CLOCK_REALTIME = 0x0
42804- CLOCK_REALTIME_ALARM = 0x8
42805- CLOCK_REALTIME_COARSE = 0x5
42806- CLOCK_TAI = 0xb
42807- CLOCK_THREAD_CPUTIME_ID = 0x3
42808- CLOCK_TXFROMRX = 0x4
42809- CLOCK_TXINT = 0x3
42810- CLONE_CHILD_CLEARTID = 0x200000
42811- CLONE_CHILD_SETTID = 0x1000000
42812- CLONE_DETACHED = 0x400000
42813- CLONE_FILES = 0x400
42814- CLONE_FS = 0x200
42815- CLONE_IO = 0x80000000
42816- CLONE_NEWCGROUP = 0x2000000
42817- CLONE_NEWIPC = 0x8000000
42818- CLONE_NEWNET = 0x40000000
42819- CLONE_NEWNS = 0x20000
42820- CLONE_NEWPID = 0x20000000
42821- CLONE_NEWUSER = 0x10000000
42822- CLONE_NEWUTS = 0x4000000
42823- CLONE_PARENT = 0x8000
42824- CLONE_PARENT_SETTID = 0x100000
42825- CLONE_PTRACE = 0x2000
42826- CLONE_SETTLS = 0x80000
42827- CLONE_SIGHAND = 0x800
42828- CLONE_SYSVSEM = 0x40000
42829- CLONE_THREAD = 0x10000
42830- CLONE_UNTRACED = 0x800000
42831- CLONE_VFORK = 0x4000
42832- CLONE_VM = 0x100
42833- CMSPAR = 0x40000000
42834- CR0 = 0x0
42835- CR1 = 0x200
42836- CR2 = 0x400
42837- CR3 = 0x600
42838- CRDLY = 0x600
42839- CREAD = 0x80
42840- CRTSCTS = 0x80000000
42841- CS5 = 0x0
42842- CS6 = 0x10
42843- CS7 = 0x20
42844- CS8 = 0x30
42845- CSIGNAL = 0xff
42846- CSIZE = 0x30
42847- CSTART = 0x11
42848- CSTATUS = 0x0
42849- CSTOP = 0x13
42850- CSTOPB = 0x40
42851- CSUSP = 0x1a
42852- DT_BLK = 0x6
42853- DT_CHR = 0x2
42854- DT_DIR = 0x4
42855- DT_FIFO = 0x1
42856- DT_LNK = 0xa
42857- DT_REG = 0x8
42858- DT_SOCK = 0xc
42859- DT_UNKNOWN = 0x0
42860- DT_WHT = 0xe
42861- ECHO = 0x8
42862- ECHOCTL = 0x200
42863- ECHOE = 0x10
42864- ECHOK = 0x20
42865- ECHOKE = 0x800
42866- ECHONL = 0x40
42867- ECHOPRT = 0x400
42868- EFD_CLOEXEC = 0x80000
42869- EFD_NONBLOCK = 0x80
42870- EFD_SEMAPHORE = 0x1
42871- ENCODING_DEFAULT = 0x0
42872- ENCODING_FM_MARK = 0x3
42873- ENCODING_FM_SPACE = 0x4
42874- ENCODING_MANCHESTER = 0x5
42875- ENCODING_NRZ = 0x1
42876- ENCODING_NRZI = 0x2
42877- EPOLLERR = 0x8
42878- EPOLLET = 0x80000000
42879- EPOLLEXCLUSIVE = 0x10000000
42880- EPOLLHUP = 0x10
42881- EPOLLIN = 0x1
42882- EPOLLMSG = 0x400
42883- EPOLLONESHOT = 0x40000000
42884- EPOLLOUT = 0x4
42885- EPOLLPRI = 0x2
42886- EPOLLRDBAND = 0x80
42887- EPOLLRDHUP = 0x2000
42888- EPOLLRDNORM = 0x40
42889- EPOLLWAKEUP = 0x20000000
42890- EPOLLWRBAND = 0x200
42891- EPOLLWRNORM = 0x100
42892- EPOLL_CLOEXEC = 0x80000
42893- EPOLL_CTL_ADD = 0x1
42894- EPOLL_CTL_DEL = 0x2
42895- EPOLL_CTL_MOD = 0x3
42896- ETH_P_1588 = 0x88f7
42897- ETH_P_8021AD = 0x88a8
42898- ETH_P_8021AH = 0x88e7
42899- ETH_P_8021Q = 0x8100
42900- ETH_P_80221 = 0x8917
42901- ETH_P_802_2 = 0x4
42902- ETH_P_802_3 = 0x1
42903- ETH_P_802_3_MIN = 0x600
42904- ETH_P_802_EX1 = 0x88b5
42905- ETH_P_AARP = 0x80f3
42906- ETH_P_AF_IUCV = 0xfbfb
42907- ETH_P_ALL = 0x3
42908- ETH_P_AOE = 0x88a2
42909- ETH_P_ARCNET = 0x1a
42910- ETH_P_ARP = 0x806
42911- ETH_P_ATALK = 0x809b
42912- ETH_P_ATMFATE = 0x8884
42913- ETH_P_ATMMPOA = 0x884c
42914- ETH_P_AX25 = 0x2
42915- ETH_P_BATMAN = 0x4305
42916- ETH_P_BPQ = 0x8ff
42917- ETH_P_CAIF = 0xf7
42918- ETH_P_CAN = 0xc
42919- ETH_P_CANFD = 0xd
42920- ETH_P_CONTROL = 0x16
42921- ETH_P_CUST = 0x6006
42922- ETH_P_DDCMP = 0x6
42923- ETH_P_DEC = 0x6000
42924- ETH_P_DIAG = 0x6005
42925- ETH_P_DNA_DL = 0x6001
42926- ETH_P_DNA_RC = 0x6002
42927- ETH_P_DNA_RT = 0x6003
42928- ETH_P_DSA = 0x1b
42929- ETH_P_ECONET = 0x18
42930- ETH_P_EDSA = 0xdada
42931- ETH_P_FCOE = 0x8906
42932- ETH_P_FIP = 0x8914
42933- ETH_P_HDLC = 0x19
42934- ETH_P_HSR = 0x892f
42935- ETH_P_IEEE802154 = 0xf6
42936- ETH_P_IEEEPUP = 0xa00
42937- ETH_P_IEEEPUPAT = 0xa01
42938- ETH_P_IP = 0x800
42939- ETH_P_IPV6 = 0x86dd
42940- ETH_P_IPX = 0x8137
42941- ETH_P_IRDA = 0x17
42942- ETH_P_LAT = 0x6004
42943- ETH_P_LINK_CTL = 0x886c
42944- ETH_P_LOCALTALK = 0x9
42945- ETH_P_LOOP = 0x60
42946- ETH_P_LOOPBACK = 0x9000
42947- ETH_P_MACSEC = 0x88e5
42948- ETH_P_MOBITEX = 0x15
42949- ETH_P_MPLS_MC = 0x8848
42950- ETH_P_MPLS_UC = 0x8847
42951- ETH_P_MVRP = 0x88f5
42952- ETH_P_NCSI = 0x88f8
42953- ETH_P_PAE = 0x888e
42954- ETH_P_PAUSE = 0x8808
42955- ETH_P_PHONET = 0xf5
42956- ETH_P_PPPTALK = 0x10
42957- ETH_P_PPP_DISC = 0x8863
42958- ETH_P_PPP_MP = 0x8
42959- ETH_P_PPP_SES = 0x8864
42960- ETH_P_PRP = 0x88fb
42961- ETH_P_PUP = 0x200
42962- ETH_P_PUPAT = 0x201
42963- ETH_P_QINQ1 = 0x9100
42964- ETH_P_QINQ2 = 0x9200
42965- ETH_P_QINQ3 = 0x9300
42966- ETH_P_RARP = 0x8035
42967- ETH_P_SCA = 0x6007
42968- ETH_P_SLOW = 0x8809
42969- ETH_P_SNAP = 0x5
42970- ETH_P_TDLS = 0x890d
42971- ETH_P_TEB = 0x6558
42972- ETH_P_TIPC = 0x88ca
42973- ETH_P_TRAILER = 0x1c
42974- ETH_P_TR_802_2 = 0x11
42975- ETH_P_TSN = 0x22f0
42976- ETH_P_WAN_PPP = 0x7
42977- ETH_P_WCCP = 0x883e
42978- ETH_P_X25 = 0x805
42979- ETH_P_XDSA = 0xf8
42980- EXTA = 0xe
42981- EXTB = 0xf
42982- EXTPROC = 0x10000
42983- FALLOC_FL_COLLAPSE_RANGE = 0x8
42984- FALLOC_FL_INSERT_RANGE = 0x20
42985- FALLOC_FL_KEEP_SIZE = 0x1
42986- FALLOC_FL_NO_HIDE_STALE = 0x4
42987- FALLOC_FL_PUNCH_HOLE = 0x2
42988- FALLOC_FL_UNSHARE_RANGE = 0x40
42989- FALLOC_FL_ZERO_RANGE = 0x10
42990- FD_CLOEXEC = 0x1
42991- FD_SETSIZE = 0x400
42992- FF0 = 0x0
42993- FF1 = 0x8000
42994- FFDLY = 0x8000
42995- FLUSHO = 0x2000
42996- FS_ENCRYPTION_MODE_AES_256_CBC = 0x3
42997- FS_ENCRYPTION_MODE_AES_256_CTS = 0x4
42998- FS_ENCRYPTION_MODE_AES_256_GCM = 0x2
42999- FS_ENCRYPTION_MODE_AES_256_XTS = 0x1
43000- FS_ENCRYPTION_MODE_INVALID = 0x0
43001- FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615
43002- FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614
43003- FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613
43004- FS_KEY_DESCRIPTOR_SIZE = 0x8
43005- FS_KEY_DESC_PREFIX = "fscrypt:"
43006- FS_KEY_DESC_PREFIX_SIZE = 0x8
43007- FS_MAX_KEY_SIZE = 0x40
43008- FS_POLICY_FLAGS_PAD_16 = 0x2
43009- FS_POLICY_FLAGS_PAD_32 = 0x3
43010- FS_POLICY_FLAGS_PAD_4 = 0x0
43011- FS_POLICY_FLAGS_PAD_8 = 0x1
43012- FS_POLICY_FLAGS_PAD_MASK = 0x3
43013- FS_POLICY_FLAGS_VALID = 0x3
43014- F_DUPFD = 0x0
43015- F_DUPFD_CLOEXEC = 0x406
43016- F_EXLCK = 0x4
43017- F_GETFD = 0x1
43018- F_GETFL = 0x3
43019- F_GETLEASE = 0x401
43020- F_GETLK = 0xe
43021- F_GETLK64 = 0xe
43022- F_GETOWN = 0x17
43023- F_GETOWN_EX = 0x10
43024- F_GETPIPE_SZ = 0x408
43025- F_GETSIG = 0xb
43026- F_LOCK = 0x1
43027- F_NOTIFY = 0x402
43028- F_OFD_GETLK = 0x24
43029- F_OFD_SETLK = 0x25
43030- F_OFD_SETLKW = 0x26
43031- F_OK = 0x0
43032- F_RDLCK = 0x0
43033- F_SETFD = 0x2
43034- F_SETFL = 0x4
43035- F_SETLEASE = 0x400
43036- F_SETLK = 0x6
43037- F_SETLK64 = 0x6
43038- F_SETLKW = 0x7
43039- F_SETLKW64 = 0x7
43040- F_SETOWN = 0x18
43041- F_SETOWN_EX = 0xf
43042- F_SETPIPE_SZ = 0x407
43043- F_SETSIG = 0xa
43044- F_SHLCK = 0x8
43045- F_TEST = 0x3
43046- F_TLOCK = 0x2
43047- F_ULOCK = 0x0
43048- F_UNLCK = 0x2
43049- F_WRLCK = 0x1
43050- GENL_ADMIN_PERM = 0x1
43051- GENL_CMD_CAP_DO = 0x2
43052- GENL_CMD_CAP_DUMP = 0x4
43053- GENL_CMD_CAP_HASPOL = 0x8
43054- GENL_HDRLEN = 0x4
43055- GENL_ID_CTRL = 0x10
43056- GENL_ID_PMCRAID = 0x12
43057- GENL_ID_VFS_DQUOT = 0x11
43058- GENL_MAX_ID = 0x3ff
43059- GENL_MIN_ID = 0x10
43060- GENL_NAMSIZ = 0x10
43061- GENL_START_ALLOC = 0x13
43062- GENL_UNS_ADMIN_PERM = 0x10
43063- GRND_NONBLOCK = 0x1
43064- GRND_RANDOM = 0x2
43065- HUPCL = 0x400
43066- IBSHIFT = 0x10
43067- ICANON = 0x2
43068- ICMPV6_FILTER = 0x1
43069- ICRNL = 0x100
43070- IEXTEN = 0x100
43071- IFA_F_DADFAILED = 0x8
43072- IFA_F_DEPRECATED = 0x20
43073- IFA_F_HOMEADDRESS = 0x10
43074- IFA_F_MANAGETEMPADDR = 0x100
43075- IFA_F_MCAUTOJOIN = 0x400
43076- IFA_F_NODAD = 0x2
43077- IFA_F_NOPREFIXROUTE = 0x200
43078- IFA_F_OPTIMISTIC = 0x4
43079- IFA_F_PERMANENT = 0x80
43080- IFA_F_SECONDARY = 0x1
43081- IFA_F_STABLE_PRIVACY = 0x800
43082- IFA_F_TEMPORARY = 0x1
43083- IFA_F_TENTATIVE = 0x40
43084- IFA_MAX = 0x8
43085- IFF_ALLMULTI = 0x200
43086- IFF_ATTACH_QUEUE = 0x200
43087- IFF_AUTOMEDIA = 0x4000
43088- IFF_BROADCAST = 0x2
43089- IFF_DEBUG = 0x4
43090- IFF_DETACH_QUEUE = 0x400
43091- IFF_DORMANT = 0x20000
43092- IFF_DYNAMIC = 0x8000
43093- IFF_ECHO = 0x40000
43094- IFF_LOOPBACK = 0x8
43095- IFF_LOWER_UP = 0x10000
43096- IFF_MASTER = 0x400
43097- IFF_MULTICAST = 0x1000
43098- IFF_MULTI_QUEUE = 0x100
43099- IFF_NOARP = 0x80
43100- IFF_NOFILTER = 0x1000
43101- IFF_NOTRAILERS = 0x20
43102- IFF_NO_PI = 0x1000
43103- IFF_ONE_QUEUE = 0x2000
43104- IFF_PERSIST = 0x800
43105- IFF_POINTOPOINT = 0x10
43106- IFF_PORTSEL = 0x2000
43107- IFF_PROMISC = 0x100
43108- IFF_RUNNING = 0x40
43109- IFF_SLAVE = 0x800
43110- IFF_TAP = 0x2
43111- IFF_TUN = 0x1
43112- IFF_TUN_EXCL = 0x8000
43113- IFF_UP = 0x1
43114- IFF_VNET_HDR = 0x4000
43115- IFF_VOLATILE = 0x70c5a
43116- IFNAMSIZ = 0x10
43117- IGNBRK = 0x1
43118- IGNCR = 0x80
43119- IGNPAR = 0x4
43120- IMAXBEL = 0x2000
43121- INLCR = 0x40
43122- INPCK = 0x10
43123- IN_ACCESS = 0x1
43124- IN_ALL_EVENTS = 0xfff
43125- IN_ATTRIB = 0x4
43126- IN_CLASSA_HOST = 0xffffff
43127- IN_CLASSA_MAX = 0x80
43128- IN_CLASSA_NET = 0xff000000
43129- IN_CLASSA_NSHIFT = 0x18
43130- IN_CLASSB_HOST = 0xffff
43131- IN_CLASSB_MAX = 0x10000
43132- IN_CLASSB_NET = 0xffff0000
43133- IN_CLASSB_NSHIFT = 0x10
43134- IN_CLASSC_HOST = 0xff
43135- IN_CLASSC_NET = 0xffffff00
43136- IN_CLASSC_NSHIFT = 0x8
43137- IN_CLOEXEC = 0x80000
43138- IN_CLOSE = 0x18
43139- IN_CLOSE_NOWRITE = 0x10
43140- IN_CLOSE_WRITE = 0x8
43141- IN_CREATE = 0x100
43142- IN_DELETE = 0x200
43143- IN_DELETE_SELF = 0x400
43144- IN_DONT_FOLLOW = 0x2000000
43145- IN_EXCL_UNLINK = 0x4000000
43146- IN_IGNORED = 0x8000
43147- IN_ISDIR = 0x40000000
43148- IN_LOOPBACKNET = 0x7f
43149- IN_MASK_ADD = 0x20000000
43150- IN_MODIFY = 0x2
43151- IN_MOVE = 0xc0
43152- IN_MOVED_FROM = 0x40
43153- IN_MOVED_TO = 0x80
43154- IN_MOVE_SELF = 0x800
43155- IN_NONBLOCK = 0x80
43156- IN_ONESHOT = 0x80000000
43157- IN_ONLYDIR = 0x1000000
43158- IN_OPEN = 0x20
43159- IN_Q_OVERFLOW = 0x4000
43160- IN_UNMOUNT = 0x2000
43161- IPPROTO_AH = 0x33
43162- IPPROTO_BEETPH = 0x5e
43163- IPPROTO_COMP = 0x6c
43164- IPPROTO_DCCP = 0x21
43165- IPPROTO_DSTOPTS = 0x3c
43166- IPPROTO_EGP = 0x8
43167- IPPROTO_ENCAP = 0x62
43168- IPPROTO_ESP = 0x32
43169- IPPROTO_FRAGMENT = 0x2c
43170- IPPROTO_GRE = 0x2f
43171- IPPROTO_HOPOPTS = 0x0
43172- IPPROTO_ICMP = 0x1
43173- IPPROTO_ICMPV6 = 0x3a
43174- IPPROTO_IDP = 0x16
43175- IPPROTO_IGMP = 0x2
43176- IPPROTO_IP = 0x0
43177- IPPROTO_IPIP = 0x4
43178- IPPROTO_IPV6 = 0x29
43179- IPPROTO_MH = 0x87
43180- IPPROTO_MPLS = 0x89
43181- IPPROTO_MTP = 0x5c
43182- IPPROTO_NONE = 0x3b
43183- IPPROTO_PIM = 0x67
43184- IPPROTO_PUP = 0xc
43185- IPPROTO_RAW = 0xff
43186- IPPROTO_ROUTING = 0x2b
43187- IPPROTO_RSVP = 0x2e
43188- IPPROTO_SCTP = 0x84
43189- IPPROTO_TCP = 0x6
43190- IPPROTO_TP = 0x1d
43191- IPPROTO_UDP = 0x11
43192- IPPROTO_UDPLITE = 0x88
43193- IPV6_2292DSTOPTS = 0x4
43194- IPV6_2292HOPLIMIT = 0x8
43195- IPV6_2292HOPOPTS = 0x3
43196- IPV6_2292PKTINFO = 0x2
43197- IPV6_2292PKTOPTIONS = 0x6
43198- IPV6_2292RTHDR = 0x5
43199- IPV6_ADDRFORM = 0x1
43200- IPV6_ADD_MEMBERSHIP = 0x14
43201- IPV6_AUTHHDR = 0xa
43202- IPV6_CHECKSUM = 0x7
43203- IPV6_DONTFRAG = 0x3e
43204- IPV6_DROP_MEMBERSHIP = 0x15
43205- IPV6_DSTOPTS = 0x3b
43206- IPV6_HDRINCL = 0x24
43207- IPV6_HOPLIMIT = 0x34
43208- IPV6_HOPOPTS = 0x36
43209- IPV6_IPSEC_POLICY = 0x22
43210- IPV6_JOIN_ANYCAST = 0x1b
43211- IPV6_JOIN_GROUP = 0x14
43212- IPV6_LEAVE_ANYCAST = 0x1c
43213- IPV6_LEAVE_GROUP = 0x15
43214- IPV6_MTU = 0x18
43215- IPV6_MTU_DISCOVER = 0x17
43216- IPV6_MULTICAST_HOPS = 0x12
43217- IPV6_MULTICAST_IF = 0x11
43218- IPV6_MULTICAST_LOOP = 0x13
43219- IPV6_NEXTHOP = 0x9
43220- IPV6_PATHMTU = 0x3d
43221- IPV6_PKTINFO = 0x32
43222- IPV6_PMTUDISC_DO = 0x2
43223- IPV6_PMTUDISC_DONT = 0x0
43224- IPV6_PMTUDISC_INTERFACE = 0x4
43225- IPV6_PMTUDISC_OMIT = 0x5
43226- IPV6_PMTUDISC_PROBE = 0x3
43227- IPV6_PMTUDISC_WANT = 0x1
43228- IPV6_RECVDSTOPTS = 0x3a
43229- IPV6_RECVERR = 0x19
43230- IPV6_RECVHOPLIMIT = 0x33
43231- IPV6_RECVHOPOPTS = 0x35
43232- IPV6_RECVPATHMTU = 0x3c
43233- IPV6_RECVPKTINFO = 0x31
43234- IPV6_RECVRTHDR = 0x38
43235- IPV6_RECVTCLASS = 0x42
43236- IPV6_ROUTER_ALERT = 0x16
43237- IPV6_RTHDR = 0x39
43238- IPV6_RTHDRDSTOPTS = 0x37
43239- IPV6_RTHDR_LOOSE = 0x0
43240- IPV6_RTHDR_STRICT = 0x1
43241- IPV6_RTHDR_TYPE_0 = 0x0
43242- IPV6_RXDSTOPTS = 0x3b
43243- IPV6_RXHOPOPTS = 0x36
43244- IPV6_TCLASS = 0x43
43245- IPV6_UNICAST_HOPS = 0x10
43246- IPV6_V6ONLY = 0x1a
43247- IPV6_XFRM_POLICY = 0x23
43248- IP_ADD_MEMBERSHIP = 0x23
43249- IP_ADD_SOURCE_MEMBERSHIP = 0x27
43250- IP_BIND_ADDRESS_NO_PORT = 0x18
43251- IP_BLOCK_SOURCE = 0x26
43252- IP_CHECKSUM = 0x17
43253- IP_DEFAULT_MULTICAST_LOOP = 0x1
43254- IP_DEFAULT_MULTICAST_TTL = 0x1
43255- IP_DF = 0x4000
43256- IP_DROP_MEMBERSHIP = 0x24
43257- IP_DROP_SOURCE_MEMBERSHIP = 0x28
43258- IP_FREEBIND = 0xf
43259- IP_HDRINCL = 0x3
43260- IP_IPSEC_POLICY = 0x10
43261- IP_MAXPACKET = 0xffff
43262- IP_MAX_MEMBERSHIPS = 0x14
43263- IP_MF = 0x2000
43264- IP_MINTTL = 0x15
43265- IP_MSFILTER = 0x29
43266- IP_MSS = 0x240
43267- IP_MTU = 0xe
43268- IP_MTU_DISCOVER = 0xa
43269- IP_MULTICAST_ALL = 0x31
43270- IP_MULTICAST_IF = 0x20
43271- IP_MULTICAST_LOOP = 0x22
43272- IP_MULTICAST_TTL = 0x21
43273- IP_NODEFRAG = 0x16
43274- IP_OFFMASK = 0x1fff
43275- IP_OPTIONS = 0x4
43276- IP_ORIGDSTADDR = 0x14
43277- IP_PASSSEC = 0x12
43278- IP_PKTINFO = 0x8
43279- IP_PKTOPTIONS = 0x9
43280- IP_PMTUDISC = 0xa
43281- IP_PMTUDISC_DO = 0x2
43282- IP_PMTUDISC_DONT = 0x0
43283- IP_PMTUDISC_INTERFACE = 0x4
43284- IP_PMTUDISC_OMIT = 0x5
43285- IP_PMTUDISC_PROBE = 0x3
43286- IP_PMTUDISC_WANT = 0x1
43287- IP_RECVERR = 0xb
43288- IP_RECVOPTS = 0x6
43289- IP_RECVORIGDSTADDR = 0x14
43290- IP_RECVRETOPTS = 0x7
43291- IP_RECVTOS = 0xd
43292- IP_RECVTTL = 0xc
43293- IP_RETOPTS = 0x7
43294- IP_RF = 0x8000
43295- IP_ROUTER_ALERT = 0x5
43296- IP_TOS = 0x1
43297- IP_TRANSPARENT = 0x13
43298- IP_TTL = 0x2
43299- IP_UNBLOCK_SOURCE = 0x25
43300- IP_UNICAST_IF = 0x32
43301- IP_XFRM_POLICY = 0x11
43302- ISIG = 0x1
43303- ISTRIP = 0x20
43304- IUCLC = 0x200
43305- IUTF8 = 0x4000
43306- IXANY = 0x800
43307- IXOFF = 0x1000
43308- IXON = 0x400
43309- KEYCTL_ASSUME_AUTHORITY = 0x10
43310- KEYCTL_CHOWN = 0x4
43311- KEYCTL_CLEAR = 0x7
43312- KEYCTL_DESCRIBE = 0x6
43313- KEYCTL_DH_COMPUTE = 0x17
43314- KEYCTL_GET_KEYRING_ID = 0x0
43315- KEYCTL_GET_PERSISTENT = 0x16
43316- KEYCTL_GET_SECURITY = 0x11
43317- KEYCTL_INSTANTIATE = 0xc
43318- KEYCTL_INSTANTIATE_IOV = 0x14
43319- KEYCTL_INVALIDATE = 0x15
43320- KEYCTL_JOIN_SESSION_KEYRING = 0x1
43321- KEYCTL_LINK = 0x8
43322- KEYCTL_NEGATE = 0xd
43323- KEYCTL_READ = 0xb
43324- KEYCTL_REJECT = 0x13
43325- KEYCTL_REVOKE = 0x3
43326- KEYCTL_SEARCH = 0xa
43327- KEYCTL_SESSION_TO_PARENT = 0x12
43328- KEYCTL_SETPERM = 0x5
43329- KEYCTL_SET_REQKEY_KEYRING = 0xe
43330- KEYCTL_SET_TIMEOUT = 0xf
43331- KEYCTL_UNLINK = 0x9
43332- KEYCTL_UPDATE = 0x2
43333- KEY_REQKEY_DEFL_DEFAULT = 0x0
43334- KEY_REQKEY_DEFL_GROUP_KEYRING = 0x6
43335- KEY_REQKEY_DEFL_NO_CHANGE = -0x1
43336- KEY_REQKEY_DEFL_PROCESS_KEYRING = 0x2
43337- KEY_REQKEY_DEFL_REQUESTOR_KEYRING = 0x7
43338- KEY_REQKEY_DEFL_SESSION_KEYRING = 0x3
43339- KEY_REQKEY_DEFL_THREAD_KEYRING = 0x1
43340- KEY_REQKEY_DEFL_USER_KEYRING = 0x4
43341- KEY_REQKEY_DEFL_USER_SESSION_KEYRING = 0x5
43342- KEY_SPEC_GROUP_KEYRING = -0x6
43343- KEY_SPEC_PROCESS_KEYRING = -0x2
43344- KEY_SPEC_REQKEY_AUTH_KEY = -0x7
43345- KEY_SPEC_REQUESTOR_KEYRING = -0x8
43346- KEY_SPEC_SESSION_KEYRING = -0x3
43347- KEY_SPEC_THREAD_KEYRING = -0x1
43348- KEY_SPEC_USER_KEYRING = -0x4
43349- KEY_SPEC_USER_SESSION_KEYRING = -0x5
43350- LINUX_REBOOT_CMD_CAD_OFF = 0x0
43351- LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
43352- LINUX_REBOOT_CMD_HALT = 0xcdef0123
43353- LINUX_REBOOT_CMD_KEXEC = 0x45584543
43354- LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
43355- LINUX_REBOOT_CMD_RESTART = 0x1234567
43356- LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
43357- LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
43358- LINUX_REBOOT_MAGIC1 = 0xfee1dead
43359- LINUX_REBOOT_MAGIC2 = 0x28121969
43360- LOCK_EX = 0x2
43361- LOCK_NB = 0x4
43362- LOCK_SH = 0x1
43363- LOCK_UN = 0x8
43364- MADV_DODUMP = 0x11
43365- MADV_DOFORK = 0xb
43366- MADV_DONTDUMP = 0x10
43367- MADV_DONTFORK = 0xa
43368- MADV_DONTNEED = 0x4
43369- MADV_FREE = 0x8
43370- MADV_HUGEPAGE = 0xe
43371- MADV_HWPOISON = 0x64
43372- MADV_MERGEABLE = 0xc
43373- MADV_NOHUGEPAGE = 0xf
43374- MADV_NORMAL = 0x0
43375- MADV_RANDOM = 0x1
43376- MADV_REMOVE = 0x9
43377- MADV_SEQUENTIAL = 0x2
43378- MADV_UNMERGEABLE = 0xd
43379- MADV_WILLNEED = 0x3
43380- MAP_ANON = 0x800
43381- MAP_ANONYMOUS = 0x800
43382- MAP_DENYWRITE = 0x2000
43383- MAP_EXECUTABLE = 0x4000
43384- MAP_FILE = 0x0
43385- MAP_FIXED = 0x10
43386- MAP_GROWSDOWN = 0x1000
43387- MAP_HUGETLB = 0x80000
43388- MAP_HUGE_MASK = 0x3f
43389- MAP_HUGE_SHIFT = 0x1a
43390- MAP_LOCKED = 0x8000
43391- MAP_NONBLOCK = 0x20000
43392- MAP_NORESERVE = 0x400
43393- MAP_POPULATE = 0x10000
43394- MAP_PRIVATE = 0x2
43395- MAP_RENAME = 0x800
43396- MAP_SHARED = 0x1
43397- MAP_STACK = 0x40000
43398- MAP_TYPE = 0xf
43399- MCL_CURRENT = 0x1
43400- MCL_FUTURE = 0x2
43401- MCL_ONFAULT = 0x4
43402- MNT_DETACH = 0x2
43403- MNT_EXPIRE = 0x4
43404- MNT_FORCE = 0x1
43405- MSG_BATCH = 0x40000
43406- MSG_CMSG_CLOEXEC = 0x40000000
43407- MSG_CONFIRM = 0x800
43408- MSG_CTRUNC = 0x8
43409- MSG_DONTROUTE = 0x4
43410- MSG_DONTWAIT = 0x40
43411- MSG_EOR = 0x80
43412- MSG_ERRQUEUE = 0x2000
43413- MSG_FASTOPEN = 0x20000000
43414- MSG_FIN = 0x200
43415- MSG_MORE = 0x8000
43416- MSG_NOSIGNAL = 0x4000
43417- MSG_OOB = 0x1
43418- MSG_PEEK = 0x2
43419- MSG_PROXY = 0x10
43420- MSG_RST = 0x1000
43421- MSG_SYN = 0x400
43422- MSG_TRUNC = 0x20
43423- MSG_TRYHARD = 0x4
43424- MSG_WAITALL = 0x100
43425- MSG_WAITFORONE = 0x10000
43426- MS_ACTIVE = 0x40000000
43427- MS_ASYNC = 0x1
43428- MS_BIND = 0x1000
43429- MS_BORN = 0x20000000
43430- MS_DIRSYNC = 0x80
43431- MS_INVALIDATE = 0x2
43432- MS_I_VERSION = 0x800000
43433- MS_KERNMOUNT = 0x400000
43434- MS_LAZYTIME = 0x2000000
43435- MS_MANDLOCK = 0x40
43436- MS_MGC_MSK = 0xffff0000
43437- MS_MGC_VAL = 0xc0ed0000
43438- MS_MOVE = 0x2000
43439- MS_NOATIME = 0x400
43440- MS_NODEV = 0x4
43441- MS_NODIRATIME = 0x800
43442- MS_NOEXEC = 0x8
43443- MS_NOREMOTELOCK = 0x8000000
43444- MS_NOSEC = 0x10000000
43445- MS_NOSUID = 0x2
43446- MS_NOUSER = -0x80000000
43447- MS_POSIXACL = 0x10000
43448- MS_PRIVATE = 0x40000
43449- MS_RDONLY = 0x1
43450- MS_REC = 0x4000
43451- MS_RELATIME = 0x200000
43452- MS_REMOUNT = 0x20
43453- MS_RMT_MASK = 0x2800051
43454- MS_SHARED = 0x100000
43455- MS_SILENT = 0x8000
43456- MS_SLAVE = 0x80000
43457- MS_STRICTATIME = 0x1000000
43458- MS_SYNC = 0x4
43459- MS_SYNCHRONOUS = 0x10
43460- MS_UNBINDABLE = 0x20000
43461- MS_VERBOSE = 0x8000
43462- NAME_MAX = 0xff
43463- NETLINK_ADD_MEMBERSHIP = 0x1
43464- NETLINK_AUDIT = 0x9
43465- NETLINK_BROADCAST_ERROR = 0x4
43466- NETLINK_CAP_ACK = 0xa
43467- NETLINK_CONNECTOR = 0xb
43468- NETLINK_CRYPTO = 0x15
43469- NETLINK_DNRTMSG = 0xe
43470- NETLINK_DROP_MEMBERSHIP = 0x2
43471- NETLINK_ECRYPTFS = 0x13
43472- NETLINK_FIB_LOOKUP = 0xa
43473- NETLINK_FIREWALL = 0x3
43474- NETLINK_GENERIC = 0x10
43475- NETLINK_INET_DIAG = 0x4
43476- NETLINK_IP6_FW = 0xd
43477- NETLINK_ISCSI = 0x8
43478- NETLINK_KOBJECT_UEVENT = 0xf
43479- NETLINK_LISTEN_ALL_NSID = 0x8
43480- NETLINK_LIST_MEMBERSHIPS = 0x9
43481- NETLINK_NETFILTER = 0xc
43482- NETLINK_NFLOG = 0x5
43483- NETLINK_NO_ENOBUFS = 0x5
43484- NETLINK_PKTINFO = 0x3
43485- NETLINK_RDMA = 0x14
43486- NETLINK_ROUTE = 0x0
43487- NETLINK_RX_RING = 0x6
43488- NETLINK_SCSITRANSPORT = 0x12
43489- NETLINK_SELINUX = 0x7
43490- NETLINK_SOCK_DIAG = 0x4
43491- NETLINK_TX_RING = 0x7
43492- NETLINK_UNUSED = 0x1
43493- NETLINK_USERSOCK = 0x2
43494- NETLINK_XFRM = 0x6
43495- NL0 = 0x0
43496- NL1 = 0x100
43497- NLA_ALIGNTO = 0x4
43498- NLA_F_NESTED = 0x8000
43499- NLA_F_NET_BYTEORDER = 0x4000
43500- NLA_HDRLEN = 0x4
43501- NLDLY = 0x100
43502- NLMSG_ALIGNTO = 0x4
43503- NLMSG_DONE = 0x3
43504- NLMSG_ERROR = 0x2
43505- NLMSG_HDRLEN = 0x10
43506- NLMSG_MIN_TYPE = 0x10
43507- NLMSG_NOOP = 0x1
43508- NLMSG_OVERRUN = 0x4
43509- NLM_F_ACK = 0x4
43510- NLM_F_APPEND = 0x800
43511- NLM_F_ATOMIC = 0x400
43512- NLM_F_CREATE = 0x400
43513- NLM_F_DUMP = 0x300
43514- NLM_F_DUMP_FILTERED = 0x20
43515- NLM_F_DUMP_INTR = 0x10
43516- NLM_F_ECHO = 0x8
43517- NLM_F_EXCL = 0x200
43518- NLM_F_MATCH = 0x200
43519- NLM_F_MULTI = 0x2
43520- NLM_F_REPLACE = 0x100
43521- NLM_F_REQUEST = 0x1
43522- NLM_F_ROOT = 0x100
43523- NOFLSH = 0x80
43524- OCRNL = 0x8
43525- OFDEL = 0x80
43526- OFILL = 0x40
43527- OLCUC = 0x2
43528- ONLCR = 0x4
43529- ONLRET = 0x20
43530- ONOCR = 0x10
43531- OPOST = 0x1
43532- O_ACCMODE = 0x3
43533- O_APPEND = 0x8
43534- O_ASYNC = 0x1000
43535- O_CLOEXEC = 0x80000
43536- O_CREAT = 0x100
43537- O_DIRECT = 0x8000
43538- O_DIRECTORY = 0x10000
43539- O_DSYNC = 0x10
43540- O_EXCL = 0x400
43541- O_FSYNC = 0x4010
43542- O_LARGEFILE = 0x0
43543- O_NDELAY = 0x80
43544- O_NOATIME = 0x40000
43545- O_NOCTTY = 0x800
43546- O_NOFOLLOW = 0x20000
43547- O_NONBLOCK = 0x80
43548- O_PATH = 0x200000
43549- O_RDONLY = 0x0
43550- O_RDWR = 0x2
43551- O_RSYNC = 0x4010
43552- O_SYNC = 0x4010
43553- O_TMPFILE = 0x410000
43554- O_TRUNC = 0x200
43555- O_WRONLY = 0x1
43556- PACKET_ADD_MEMBERSHIP = 0x1
43557- PACKET_AUXDATA = 0x8
43558- PACKET_BROADCAST = 0x1
43559- PACKET_COPY_THRESH = 0x7
43560- PACKET_DROP_MEMBERSHIP = 0x2
43561- PACKET_FANOUT = 0x12
43562- PACKET_FANOUT_CBPF = 0x6
43563- PACKET_FANOUT_CPU = 0x2
43564- PACKET_FANOUT_DATA = 0x16
43565- PACKET_FANOUT_EBPF = 0x7
43566- PACKET_FANOUT_FLAG_DEFRAG = 0x8000
43567- PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
43568- PACKET_FANOUT_HASH = 0x0
43569- PACKET_FANOUT_LB = 0x1
43570- PACKET_FANOUT_QM = 0x5
43571- PACKET_FANOUT_RND = 0x4
43572- PACKET_FANOUT_ROLLOVER = 0x3
43573- PACKET_FASTROUTE = 0x6
43574- PACKET_HDRLEN = 0xb
43575- PACKET_HOST = 0x0
43576- PACKET_KERNEL = 0x7
43577- PACKET_LOOPBACK = 0x5
43578- PACKET_LOSS = 0xe
43579- PACKET_MR_ALLMULTI = 0x2
43580- PACKET_MR_MULTICAST = 0x0
43581- PACKET_MR_PROMISC = 0x1
43582- PACKET_MR_UNICAST = 0x3
43583- PACKET_MULTICAST = 0x2
43584- PACKET_ORIGDEV = 0x9
43585- PACKET_OTHERHOST = 0x3
43586- PACKET_OUTGOING = 0x4
43587- PACKET_QDISC_BYPASS = 0x14
43588- PACKET_RECV_OUTPUT = 0x3
43589- PACKET_RESERVE = 0xc
43590- PACKET_ROLLOVER_STATS = 0x15
43591- PACKET_RX_RING = 0x5
43592- PACKET_STATISTICS = 0x6
43593- PACKET_TIMESTAMP = 0x11
43594- PACKET_TX_HAS_OFF = 0x13
43595- PACKET_TX_RING = 0xd
43596- PACKET_TX_TIMESTAMP = 0x10
43597- PACKET_USER = 0x6
43598- PACKET_VERSION = 0xa
43599- PACKET_VNET_HDR = 0xf
43600- PARENB = 0x100
43601- PARITY_CRC16_PR0 = 0x2
43602- PARITY_CRC16_PR0_CCITT = 0x4
43603- PARITY_CRC16_PR1 = 0x3
43604- PARITY_CRC16_PR1_CCITT = 0x5
43605- PARITY_CRC32_PR0_CCITT = 0x6
43606- PARITY_CRC32_PR1_CCITT = 0x7
43607- PARITY_DEFAULT = 0x0
43608- PARITY_NONE = 0x1
43609- PARMRK = 0x8
43610- PARODD = 0x200
43611- PENDIN = 0x4000
43612- PERF_EVENT_IOC_DISABLE = 0x20002401
43613- PERF_EVENT_IOC_ENABLE = 0x20002400
43614- PERF_EVENT_IOC_ID = 0x40082407
43615- PERF_EVENT_IOC_PAUSE_OUTPUT = 0x80042409
43616- PERF_EVENT_IOC_PERIOD = 0x80082404
43617- PERF_EVENT_IOC_REFRESH = 0x20002402
43618- PERF_EVENT_IOC_RESET = 0x20002403
43619- PERF_EVENT_IOC_SET_BPF = 0x80042408
43620- PERF_EVENT_IOC_SET_FILTER = 0x80082406
43621- PERF_EVENT_IOC_SET_OUTPUT = 0x20002405
43622- PRIO_PGRP = 0x1
43623- PRIO_PROCESS = 0x0
43624- PRIO_USER = 0x2
43625- PROT_EXEC = 0x4
43626- PROT_GROWSDOWN = 0x1000000
43627- PROT_GROWSUP = 0x2000000
43628- PROT_NONE = 0x0
43629- PROT_READ = 0x1
43630- PROT_WRITE = 0x2
43631- PR_CAPBSET_DROP = 0x18
43632- PR_CAPBSET_READ = 0x17
43633- PR_CAP_AMBIENT = 0x2f
43634- PR_CAP_AMBIENT_CLEAR_ALL = 0x4
43635- PR_CAP_AMBIENT_IS_SET = 0x1
43636- PR_CAP_AMBIENT_LOWER = 0x3
43637- PR_CAP_AMBIENT_RAISE = 0x2
43638- PR_ENDIAN_BIG = 0x0
43639- PR_ENDIAN_LITTLE = 0x1
43640- PR_ENDIAN_PPC_LITTLE = 0x2
43641- PR_FPEMU_NOPRINT = 0x1
43642- PR_FPEMU_SIGFPE = 0x2
43643- PR_FP_EXC_ASYNC = 0x2
43644- PR_FP_EXC_DISABLED = 0x0
43645- PR_FP_EXC_DIV = 0x10000
43646- PR_FP_EXC_INV = 0x100000
43647- PR_FP_EXC_NONRECOV = 0x1
43648- PR_FP_EXC_OVF = 0x20000
43649- PR_FP_EXC_PRECISE = 0x3
43650- PR_FP_EXC_RES = 0x80000
43651- PR_FP_EXC_SW_ENABLE = 0x80
43652- PR_FP_EXC_UND = 0x40000
43653- PR_FP_MODE_FR = 0x1
43654- PR_FP_MODE_FRE = 0x2
43655- PR_GET_CHILD_SUBREAPER = 0x25
43656- PR_GET_DUMPABLE = 0x3
43657- PR_GET_ENDIAN = 0x13
43658- PR_GET_FPEMU = 0x9
43659- PR_GET_FPEXC = 0xb
43660- PR_GET_FP_MODE = 0x2e
43661- PR_GET_KEEPCAPS = 0x7
43662- PR_GET_NAME = 0x10
43663- PR_GET_NO_NEW_PRIVS = 0x27
43664- PR_GET_PDEATHSIG = 0x2
43665- PR_GET_SECCOMP = 0x15
43666- PR_GET_SECUREBITS = 0x1b
43667- PR_GET_THP_DISABLE = 0x2a
43668- PR_GET_TID_ADDRESS = 0x28
43669- PR_GET_TIMERSLACK = 0x1e
43670- PR_GET_TIMING = 0xd
43671- PR_GET_TSC = 0x19
43672- PR_GET_UNALIGN = 0x5
43673- PR_MCE_KILL = 0x21
43674- PR_MCE_KILL_CLEAR = 0x0
43675- PR_MCE_KILL_DEFAULT = 0x2
43676- PR_MCE_KILL_EARLY = 0x1
43677- PR_MCE_KILL_GET = 0x22
43678- PR_MCE_KILL_LATE = 0x0
43679- PR_MCE_KILL_SET = 0x1
43680- PR_MPX_DISABLE_MANAGEMENT = 0x2c
43681- PR_MPX_ENABLE_MANAGEMENT = 0x2b
43682- PR_SET_CHILD_SUBREAPER = 0x24
43683- PR_SET_DUMPABLE = 0x4
43684- PR_SET_ENDIAN = 0x14
43685- PR_SET_FPEMU = 0xa
43686- PR_SET_FPEXC = 0xc
43687- PR_SET_FP_MODE = 0x2d
43688- PR_SET_KEEPCAPS = 0x8
43689- PR_SET_MM = 0x23
43690- PR_SET_MM_ARG_END = 0x9
43691- PR_SET_MM_ARG_START = 0x8
43692- PR_SET_MM_AUXV = 0xc
43693- PR_SET_MM_BRK = 0x7
43694- PR_SET_MM_END_CODE = 0x2
43695- PR_SET_MM_END_DATA = 0x4
43696- PR_SET_MM_ENV_END = 0xb
43697- PR_SET_MM_ENV_START = 0xa
43698- PR_SET_MM_EXE_FILE = 0xd
43699- PR_SET_MM_MAP = 0xe
43700- PR_SET_MM_MAP_SIZE = 0xf
43701- PR_SET_MM_START_BRK = 0x6
43702- PR_SET_MM_START_CODE = 0x1
43703- PR_SET_MM_START_DATA = 0x3
43704- PR_SET_MM_START_STACK = 0x5
43705- PR_SET_NAME = 0xf
43706- PR_SET_NO_NEW_PRIVS = 0x26
43707- PR_SET_PDEATHSIG = 0x1
43708- PR_SET_PTRACER = 0x59616d61
43709- PR_SET_PTRACER_ANY = -0x1
43710- PR_SET_SECCOMP = 0x16
43711- PR_SET_SECUREBITS = 0x1c
43712- PR_SET_THP_DISABLE = 0x29
43713- PR_SET_TIMERSLACK = 0x1d
43714- PR_SET_TIMING = 0xe
43715- PR_SET_TSC = 0x1a
43716- PR_SET_UNALIGN = 0x6
43717- PR_TASK_PERF_EVENTS_DISABLE = 0x1f
43718- PR_TASK_PERF_EVENTS_ENABLE = 0x20
43719- PR_TIMING_STATISTICAL = 0x0
43720- PR_TIMING_TIMESTAMP = 0x1
43721- PR_TSC_ENABLE = 0x1
43722- PR_TSC_SIGSEGV = 0x2
43723- PR_UNALIGN_NOPRINT = 0x1
43724- PR_UNALIGN_SIGBUS = 0x2
43725- PTRACE_ATTACH = 0x10
43726- PTRACE_CONT = 0x7
43727- PTRACE_DETACH = 0x11
43728- PTRACE_EVENT_CLONE = 0x3
43729- PTRACE_EVENT_EXEC = 0x4
43730- PTRACE_EVENT_EXIT = 0x6
43731- PTRACE_EVENT_FORK = 0x1
43732- PTRACE_EVENT_SECCOMP = 0x7
43733- PTRACE_EVENT_STOP = 0x80
43734- PTRACE_EVENT_VFORK = 0x2
43735- PTRACE_EVENT_VFORK_DONE = 0x5
43736- PTRACE_GETEVENTMSG = 0x4201
43737- PTRACE_GETFPREGS = 0xe
43738- PTRACE_GETREGS = 0xc
43739- PTRACE_GETREGSET = 0x4204
43740- PTRACE_GETSIGINFO = 0x4202
43741- PTRACE_GETSIGMASK = 0x420a
43742- PTRACE_GET_THREAD_AREA = 0x19
43743- PTRACE_GET_THREAD_AREA_3264 = 0xc4
43744- PTRACE_GET_WATCH_REGS = 0xd0
43745- PTRACE_INTERRUPT = 0x4207
43746- PTRACE_KILL = 0x8
43747- PTRACE_LISTEN = 0x4208
43748- PTRACE_OLDSETOPTIONS = 0x15
43749- PTRACE_O_EXITKILL = 0x100000
43750- PTRACE_O_MASK = 0x3000ff
43751- PTRACE_O_SUSPEND_SECCOMP = 0x200000
43752- PTRACE_O_TRACECLONE = 0x8
43753- PTRACE_O_TRACEEXEC = 0x10
43754- PTRACE_O_TRACEEXIT = 0x40
43755- PTRACE_O_TRACEFORK = 0x2
43756- PTRACE_O_TRACESECCOMP = 0x80
43757- PTRACE_O_TRACESYSGOOD = 0x1
43758- PTRACE_O_TRACEVFORK = 0x4
43759- PTRACE_O_TRACEVFORKDONE = 0x20
43760- PTRACE_PEEKDATA = 0x2
43761- PTRACE_PEEKDATA_3264 = 0xc1
43762- PTRACE_PEEKSIGINFO = 0x4209
43763- PTRACE_PEEKSIGINFO_SHARED = 0x1
43764- PTRACE_PEEKTEXT = 0x1
43765- PTRACE_PEEKTEXT_3264 = 0xc0
43766- PTRACE_PEEKUSR = 0x3
43767- PTRACE_POKEDATA = 0x5
43768- PTRACE_POKEDATA_3264 = 0xc3
43769- PTRACE_POKETEXT = 0x4
43770- PTRACE_POKETEXT_3264 = 0xc2
43771- PTRACE_POKEUSR = 0x6
43772- PTRACE_SECCOMP_GET_FILTER = 0x420c
43773- PTRACE_SEIZE = 0x4206
43774- PTRACE_SETFPREGS = 0xf
43775- PTRACE_SETOPTIONS = 0x4200
43776- PTRACE_SETREGS = 0xd
43777- PTRACE_SETREGSET = 0x4205
43778- PTRACE_SETSIGINFO = 0x4203
43779- PTRACE_SETSIGMASK = 0x420b
43780- PTRACE_SET_THREAD_AREA = 0x1a
43781- PTRACE_SET_WATCH_REGS = 0xd1
43782- PTRACE_SINGLESTEP = 0x9
43783- PTRACE_SYSCALL = 0x18
43784- PTRACE_TRACEME = 0x0
43785- RLIMIT_AS = 0x6
43786- RLIMIT_CORE = 0x4
43787- RLIMIT_CPU = 0x0
43788- RLIMIT_DATA = 0x2
43789- RLIMIT_FSIZE = 0x1
43790- RLIMIT_LOCKS = 0xa
43791- RLIMIT_MEMLOCK = 0x9
43792- RLIMIT_MSGQUEUE = 0xc
43793- RLIMIT_NICE = 0xd
43794- RLIMIT_NOFILE = 0x5
43795- RLIMIT_NPROC = 0x8
43796- RLIMIT_RSS = 0x7
43797- RLIMIT_RTPRIO = 0xe
43798- RLIMIT_RTTIME = 0xf
43799- RLIMIT_SIGPENDING = 0xb
43800- RLIMIT_STACK = 0x3
43801- RLIM_INFINITY = -0x1
43802- RTAX_ADVMSS = 0x8
43803- RTAX_CC_ALGO = 0x10
43804- RTAX_CWND = 0x7
43805- RTAX_FEATURES = 0xc
43806- RTAX_FEATURE_ALLFRAG = 0x8
43807- RTAX_FEATURE_ECN = 0x1
43808- RTAX_FEATURE_MASK = 0xf
43809- RTAX_FEATURE_SACK = 0x2
43810- RTAX_FEATURE_TIMESTAMP = 0x4
43811- RTAX_HOPLIMIT = 0xa
43812- RTAX_INITCWND = 0xb
43813- RTAX_INITRWND = 0xe
43814- RTAX_LOCK = 0x1
43815- RTAX_MAX = 0x10
43816- RTAX_MTU = 0x2
43817- RTAX_QUICKACK = 0xf
43818- RTAX_REORDERING = 0x9
43819- RTAX_RTO_MIN = 0xd
43820- RTAX_RTT = 0x4
43821- RTAX_RTTVAR = 0x5
43822- RTAX_SSTHRESH = 0x6
43823- RTAX_UNSPEC = 0x0
43824- RTAX_WINDOW = 0x3
43825- RTA_ALIGNTO = 0x4
43826- RTA_MAX = 0x19
43827- RTCF_DIRECTSRC = 0x4000000
43828- RTCF_DOREDIRECT = 0x1000000
43829- RTCF_LOG = 0x2000000
43830- RTCF_MASQ = 0x400000
43831- RTCF_NAT = 0x800000
43832- RTCF_VALVE = 0x200000
43833- RTF_ADDRCLASSMASK = 0xf8000000
43834- RTF_ADDRCONF = 0x40000
43835- RTF_ALLONLINK = 0x20000
43836- RTF_BROADCAST = 0x10000000
43837- RTF_CACHE = 0x1000000
43838- RTF_DEFAULT = 0x10000
43839- RTF_DYNAMIC = 0x10
43840- RTF_FLOW = 0x2000000
43841- RTF_GATEWAY = 0x2
43842- RTF_HOST = 0x4
43843- RTF_INTERFACE = 0x40000000
43844- RTF_IRTT = 0x100
43845- RTF_LINKRT = 0x100000
43846- RTF_LOCAL = 0x80000000
43847- RTF_MODIFIED = 0x20
43848- RTF_MSS = 0x40
43849- RTF_MTU = 0x40
43850- RTF_MULTICAST = 0x20000000
43851- RTF_NAT = 0x8000000
43852- RTF_NOFORWARD = 0x1000
43853- RTF_NONEXTHOP = 0x200000
43854- RTF_NOPMTUDISC = 0x4000
43855- RTF_POLICY = 0x4000000
43856- RTF_REINSTATE = 0x8
43857- RTF_REJECT = 0x200
43858- RTF_STATIC = 0x400
43859- RTF_THROW = 0x2000
43860- RTF_UP = 0x1
43861- RTF_WINDOW = 0x80
43862- RTF_XRESOLVE = 0x800
43863- RTM_BASE = 0x10
43864- RTM_DELACTION = 0x31
43865- RTM_DELADDR = 0x15
43866- RTM_DELADDRLABEL = 0x49
43867- RTM_DELLINK = 0x11
43868- RTM_DELMDB = 0x55
43869- RTM_DELNEIGH = 0x1d
43870- RTM_DELNSID = 0x59
43871- RTM_DELQDISC = 0x25
43872- RTM_DELROUTE = 0x19
43873- RTM_DELRULE = 0x21
43874- RTM_DELTCLASS = 0x29
43875- RTM_DELTFILTER = 0x2d
43876- RTM_F_CLONED = 0x200
43877- RTM_F_EQUALIZE = 0x400
43878- RTM_F_LOOKUP_TABLE = 0x1000
43879- RTM_F_NOTIFY = 0x100
43880- RTM_F_PREFIX = 0x800
43881- RTM_GETACTION = 0x32
43882- RTM_GETADDR = 0x16
43883- RTM_GETADDRLABEL = 0x4a
43884- RTM_GETANYCAST = 0x3e
43885- RTM_GETDCB = 0x4e
43886- RTM_GETLINK = 0x12
43887- RTM_GETMDB = 0x56
43888- RTM_GETMULTICAST = 0x3a
43889- RTM_GETNEIGH = 0x1e
43890- RTM_GETNEIGHTBL = 0x42
43891- RTM_GETNETCONF = 0x52
43892- RTM_GETNSID = 0x5a
43893- RTM_GETQDISC = 0x26
43894- RTM_GETROUTE = 0x1a
43895- RTM_GETRULE = 0x22
43896- RTM_GETSTATS = 0x5e
43897- RTM_GETTCLASS = 0x2a
43898- RTM_GETTFILTER = 0x2e
43899- RTM_MAX = 0x5f
43900- RTM_NEWACTION = 0x30
43901- RTM_NEWADDR = 0x14
43902- RTM_NEWADDRLABEL = 0x48
43903- RTM_NEWLINK = 0x10
43904- RTM_NEWMDB = 0x54
43905- RTM_NEWNDUSEROPT = 0x44
43906- RTM_NEWNEIGH = 0x1c
43907- RTM_NEWNEIGHTBL = 0x40
43908- RTM_NEWNETCONF = 0x50
43909- RTM_NEWNSID = 0x58
43910- RTM_NEWPREFIX = 0x34
43911- RTM_NEWQDISC = 0x24
43912- RTM_NEWROUTE = 0x18
43913- RTM_NEWRULE = 0x20
43914- RTM_NEWSTATS = 0x5c
43915- RTM_NEWTCLASS = 0x28
43916- RTM_NEWTFILTER = 0x2c
43917- RTM_NR_FAMILIES = 0x14
43918- RTM_NR_MSGTYPES = 0x50
43919- RTM_SETDCB = 0x4f
43920- RTM_SETLINK = 0x13
43921- RTM_SETNEIGHTBL = 0x43
43922- RTNH_ALIGNTO = 0x4
43923- RTNH_COMPARE_MASK = 0x19
43924- RTNH_F_DEAD = 0x1
43925- RTNH_F_LINKDOWN = 0x10
43926- RTNH_F_OFFLOAD = 0x8
43927- RTNH_F_ONLINK = 0x4
43928- RTNH_F_PERVASIVE = 0x2
43929- RTN_MAX = 0xb
43930- RTPROT_BABEL = 0x2a
43931- RTPROT_BIRD = 0xc
43932- RTPROT_BOOT = 0x3
43933- RTPROT_DHCP = 0x10
43934- RTPROT_DNROUTED = 0xd
43935- RTPROT_GATED = 0x8
43936- RTPROT_KERNEL = 0x2
43937- RTPROT_MROUTED = 0x11
43938- RTPROT_MRT = 0xa
43939- RTPROT_NTK = 0xf
43940- RTPROT_RA = 0x9
43941- RTPROT_REDIRECT = 0x1
43942- RTPROT_STATIC = 0x4
43943- RTPROT_UNSPEC = 0x0
43944- RTPROT_XORP = 0xe
43945- RTPROT_ZEBRA = 0xb
43946- RT_CLASS_DEFAULT = 0xfd
43947- RT_CLASS_LOCAL = 0xff
43948- RT_CLASS_MAIN = 0xfe
43949- RT_CLASS_MAX = 0xff
43950- RT_CLASS_UNSPEC = 0x0
43951- RUSAGE_CHILDREN = -0x1
43952- RUSAGE_SELF = 0x0
43953- RUSAGE_THREAD = 0x1
43954- SCM_CREDENTIALS = 0x2
43955- SCM_RIGHTS = 0x1
43956- SCM_TIMESTAMP = 0x1d
43957- SCM_TIMESTAMPING = 0x25
43958- SCM_TIMESTAMPING_OPT_STATS = 0x36
43959- SCM_TIMESTAMPNS = 0x23
43960- SCM_WIFI_STATUS = 0x29
43961- SECCOMP_MODE_DISABLED = 0x0
43962- SECCOMP_MODE_FILTER = 0x2
43963- SECCOMP_MODE_STRICT = 0x1
43964- SHUT_RD = 0x0
43965- SHUT_RDWR = 0x2
43966- SHUT_WR = 0x1
43967- SIOCADDDLCI = 0x8980
43968- SIOCADDMULTI = 0x8931
43969- SIOCADDRT = 0x890b
43970- SIOCATMARK = 0x40047307
43971- SIOCBONDCHANGEACTIVE = 0x8995
43972- SIOCBONDENSLAVE = 0x8990
43973- SIOCBONDINFOQUERY = 0x8994
43974- SIOCBONDRELEASE = 0x8991
43975- SIOCBONDSETHWADDR = 0x8992
43976- SIOCBONDSLAVEINFOQUERY = 0x8993
43977- SIOCBRADDBR = 0x89a0
43978- SIOCBRADDIF = 0x89a2
43979- SIOCBRDELBR = 0x89a1
43980- SIOCBRDELIF = 0x89a3
43981- SIOCDARP = 0x8953
43982- SIOCDELDLCI = 0x8981
43983- SIOCDELMULTI = 0x8932
43984- SIOCDELRT = 0x890c
43985- SIOCDEVPRIVATE = 0x89f0
43986- SIOCDIFADDR = 0x8936
43987- SIOCDRARP = 0x8960
43988- SIOCETHTOOL = 0x8946
43989- SIOCGARP = 0x8954
43990- SIOCGHWTSTAMP = 0x89b1
43991- SIOCGIFADDR = 0x8915
43992- SIOCGIFBR = 0x8940
43993- SIOCGIFBRDADDR = 0x8919
43994- SIOCGIFCONF = 0x8912
43995- SIOCGIFCOUNT = 0x8938
43996- SIOCGIFDSTADDR = 0x8917
43997- SIOCGIFENCAP = 0x8925
43998- SIOCGIFFLAGS = 0x8913
43999- SIOCGIFHWADDR = 0x8927
44000- SIOCGIFINDEX = 0x8933
44001- SIOCGIFMAP = 0x8970
44002- SIOCGIFMEM = 0x891f
44003- SIOCGIFMETRIC = 0x891d
44004- SIOCGIFMTU = 0x8921
44005- SIOCGIFNAME = 0x8910
44006- SIOCGIFNETMASK = 0x891b
44007- SIOCGIFPFLAGS = 0x8935
44008- SIOCGIFSLAVE = 0x8929
44009- SIOCGIFTXQLEN = 0x8942
44010- SIOCGIFVLAN = 0x8982
44011- SIOCGMIIPHY = 0x8947
44012- SIOCGMIIREG = 0x8948
44013- SIOCGPGRP = 0x40047309
44014- SIOCGRARP = 0x8961
44015- SIOCGSKNS = 0x894c
44016- SIOCGSTAMP = 0x8906
44017- SIOCGSTAMPNS = 0x8907
44018- SIOCINQ = 0x467f
44019- SIOCOUTQ = 0x7472
44020- SIOCOUTQNSD = 0x894b
44021- SIOCPROTOPRIVATE = 0x89e0
44022- SIOCRTMSG = 0x890d
44023- SIOCSARP = 0x8955
44024- SIOCSHWTSTAMP = 0x89b0
44025- SIOCSIFADDR = 0x8916
44026- SIOCSIFBR = 0x8941
44027- SIOCSIFBRDADDR = 0x891a
44028- SIOCSIFDSTADDR = 0x8918
44029- SIOCSIFENCAP = 0x8926
44030- SIOCSIFFLAGS = 0x8914
44031- SIOCSIFHWADDR = 0x8924
44032- SIOCSIFHWBROADCAST = 0x8937
44033- SIOCSIFLINK = 0x8911
44034- SIOCSIFMAP = 0x8971
44035- SIOCSIFMEM = 0x8920
44036- SIOCSIFMETRIC = 0x891e
44037- SIOCSIFMTU = 0x8922
44038- SIOCSIFNAME = 0x8923
44039- SIOCSIFNETMASK = 0x891c
44040- SIOCSIFPFLAGS = 0x8934
44041- SIOCSIFSLAVE = 0x8930
44042- SIOCSIFTXQLEN = 0x8943
44043- SIOCSIFVLAN = 0x8983
44044- SIOCSMIIREG = 0x8949
44045- SIOCSPGRP = 0x80047308
44046- SIOCSRARP = 0x8962
44047- SIOCWANDEV = 0x894a
44048- SOCK_CLOEXEC = 0x80000
44049- SOCK_DCCP = 0x6
44050- SOCK_DGRAM = 0x1
44051- SOCK_IOC_TYPE = 0x89
44052- SOCK_NONBLOCK = 0x80
44053- SOCK_PACKET = 0xa
44054- SOCK_RAW = 0x3
44055- SOCK_RDM = 0x4
44056- SOCK_SEQPACKET = 0x5
44057- SOCK_STREAM = 0x2
44058- SOL_AAL = 0x109
44059- SOL_ALG = 0x117
44060- SOL_ATM = 0x108
44061- SOL_CAIF = 0x116
44062- SOL_CAN_BASE = 0x64
44063- SOL_DCCP = 0x10d
44064- SOL_DECNET = 0x105
44065- SOL_ICMPV6 = 0x3a
44066- SOL_IP = 0x0
44067- SOL_IPV6 = 0x29
44068- SOL_IRDA = 0x10a
44069- SOL_IUCV = 0x115
44070- SOL_KCM = 0x119
44071- SOL_LLC = 0x10c
44072- SOL_NETBEUI = 0x10b
44073- SOL_NETLINK = 0x10e
44074- SOL_NFC = 0x118
44075- SOL_PACKET = 0x107
44076- SOL_PNPIPE = 0x113
44077- SOL_PPPOL2TP = 0x111
44078- SOL_RAW = 0xff
44079- SOL_RDS = 0x114
44080- SOL_RXRPC = 0x110
44081- SOL_SOCKET = 0xffff
44082- SOL_TCP = 0x6
44083- SOL_TIPC = 0x10f
44084- SOL_X25 = 0x106
44085- SOMAXCONN = 0x80
44086- SO_ACCEPTCONN = 0x1009
44087- SO_ATTACH_BPF = 0x32
44088- SO_ATTACH_FILTER = 0x1a
44089- SO_ATTACH_REUSEPORT_CBPF = 0x33
44090- SO_ATTACH_REUSEPORT_EBPF = 0x34
44091- SO_BINDTODEVICE = 0x19
44092- SO_BPF_EXTENSIONS = 0x30
44093- SO_BROADCAST = 0x20
44094- SO_BSDCOMPAT = 0xe
44095- SO_BUSY_POLL = 0x2e
44096- SO_CNX_ADVICE = 0x35
44097- SO_DEBUG = 0x1
44098- SO_DETACH_BPF = 0x1b
44099- SO_DETACH_FILTER = 0x1b
44100- SO_DOMAIN = 0x1029
44101- SO_DONTROUTE = 0x10
44102- SO_ERROR = 0x1007
44103- SO_GET_FILTER = 0x1a
44104- SO_INCOMING_CPU = 0x31
44105- SO_KEEPALIVE = 0x8
44106- SO_LINGER = 0x80
44107- SO_LOCK_FILTER = 0x2c
44108- SO_MARK = 0x24
44109- SO_MAX_PACING_RATE = 0x2f
44110- SO_NOFCS = 0x2b
44111- SO_NO_CHECK = 0xb
44112- SO_OOBINLINE = 0x100
44113- SO_PASSCRED = 0x11
44114- SO_PASSSEC = 0x22
44115- SO_PEEK_OFF = 0x2a
44116- SO_PEERCRED = 0x12
44117- SO_PEERNAME = 0x1c
44118- SO_PEERSEC = 0x1e
44119- SO_PRIORITY = 0xc
44120- SO_PROTOCOL = 0x1028
44121- SO_RCVBUF = 0x1002
44122- SO_RCVBUFFORCE = 0x21
44123- SO_RCVLOWAT = 0x1004
44124- SO_RCVTIMEO = 0x1006
44125- SO_REUSEADDR = 0x4
44126- SO_REUSEPORT = 0x200
44127- SO_RXQ_OVFL = 0x28
44128- SO_SECURITY_AUTHENTICATION = 0x16
44129- SO_SECURITY_ENCRYPTION_NETWORK = 0x18
44130- SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
44131- SO_SELECT_ERR_QUEUE = 0x2d
44132- SO_SNDBUF = 0x1001
44133- SO_SNDBUFFORCE = 0x1f
44134- SO_SNDLOWAT = 0x1003
44135- SO_SNDTIMEO = 0x1005
44136- SO_STYLE = 0x1008
44137- SO_TIMESTAMP = 0x1d
44138- SO_TIMESTAMPING = 0x25
44139- SO_TIMESTAMPNS = 0x23
44140- SO_TYPE = 0x1008
44141- SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
44142- SO_VM_SOCKETS_BUFFER_MIN_SIZE = 0x1
44143- SO_VM_SOCKETS_BUFFER_SIZE = 0x0
44144- SO_VM_SOCKETS_CONNECT_TIMEOUT = 0x6
44145- SO_VM_SOCKETS_NONBLOCK_TXRX = 0x7
44146- SO_VM_SOCKETS_PEER_HOST_VM_ID = 0x3
44147- SO_VM_SOCKETS_TRUSTED = 0x5
44148- SO_WIFI_STATUS = 0x29
44149- SPLICE_F_GIFT = 0x8
44150- SPLICE_F_MORE = 0x4
44151- SPLICE_F_MOVE = 0x1
44152- SPLICE_F_NONBLOCK = 0x2
44153- S_BLKSIZE = 0x200
44154- S_IEXEC = 0x40
44155- S_IFBLK = 0x6000
44156- S_IFCHR = 0x2000
44157- S_IFDIR = 0x4000
44158- S_IFIFO = 0x1000
44159- S_IFLNK = 0xa000
44160- S_IFMT = 0xf000
44161- S_IFREG = 0x8000
44162- S_IFSOCK = 0xc000
44163- S_IREAD = 0x100
44164- S_IRGRP = 0x20
44165- S_IROTH = 0x4
44166- S_IRUSR = 0x100
44167- S_IRWXG = 0x38
44168- S_IRWXO = 0x7
44169- S_IRWXU = 0x1c0
44170- S_ISGID = 0x400
44171- S_ISUID = 0x800
44172- S_ISVTX = 0x200
44173- S_IWGRP = 0x10
44174- S_IWOTH = 0x2
44175- S_IWRITE = 0x80
44176- S_IWUSR = 0x80
44177- S_IXGRP = 0x8
44178- S_IXOTH = 0x1
44179- S_IXUSR = 0x40
44180- TAB0 = 0x0
44181- TAB1 = 0x800
44182- TAB2 = 0x1000
44183- TAB3 = 0x1800
44184- TABDLY = 0x1800
44185- TASKSTATS_CMD_ATTR_MAX = 0x4
44186- TASKSTATS_CMD_MAX = 0x2
44187- TASKSTATS_GENL_NAME = "TASKSTATS"
44188- TASKSTATS_GENL_VERSION = 0x1
44189- TASKSTATS_TYPE_MAX = 0x6
44190- TASKSTATS_VERSION = 0x8
44191- TCFLSH = 0x5407
44192- TCGETA = 0x5401
44193- TCGETS = 0x540d
44194- TCGETS2 = 0x4030542a
44195- TCIFLUSH = 0x0
44196- TCIOFF = 0x2
44197- TCIOFLUSH = 0x2
44198- TCION = 0x3
44199- TCOFLUSH = 0x1
44200- TCOOFF = 0x0
44201- TCOON = 0x1
44202- TCP_CC_INFO = 0x1a
44203- TCP_CONGESTION = 0xd
44204- TCP_COOKIE_IN_ALWAYS = 0x1
44205- TCP_COOKIE_MAX = 0x10
44206- TCP_COOKIE_MIN = 0x8
44207- TCP_COOKIE_OUT_NEVER = 0x2
44208- TCP_COOKIE_PAIR_SIZE = 0x20
44209- TCP_COOKIE_TRANSACTIONS = 0xf
44210- TCP_CORK = 0x3
44211- TCP_DEFER_ACCEPT = 0x9
44212- TCP_FASTOPEN = 0x17
44213- TCP_INFO = 0xb
44214- TCP_KEEPCNT = 0x6
44215- TCP_KEEPIDLE = 0x4
44216- TCP_KEEPINTVL = 0x5
44217- TCP_LINGER2 = 0x8
44218- TCP_MAXSEG = 0x2
44219- TCP_MAXWIN = 0xffff
44220- TCP_MAX_WINSHIFT = 0xe
44221- TCP_MD5SIG = 0xe
44222- TCP_MD5SIG_MAXKEYLEN = 0x50
44223- TCP_MSS = 0x200
44224- TCP_MSS_DEFAULT = 0x218
44225- TCP_MSS_DESIRED = 0x4c4
44226- TCP_NODELAY = 0x1
44227- TCP_NOTSENT_LOWAT = 0x19
44228- TCP_QUEUE_SEQ = 0x15
44229- TCP_QUICKACK = 0xc
44230- TCP_REPAIR = 0x13
44231- TCP_REPAIR_OPTIONS = 0x16
44232- TCP_REPAIR_QUEUE = 0x14
44233- TCP_REPAIR_WINDOW = 0x1d
44234- TCP_SAVED_SYN = 0x1c
44235- TCP_SAVE_SYN = 0x1b
44236- TCP_SYNCNT = 0x7
44237- TCP_S_DATA_IN = 0x4
44238- TCP_S_DATA_OUT = 0x8
44239- TCP_THIN_DUPACK = 0x11
44240- TCP_THIN_LINEAR_TIMEOUTS = 0x10
44241- TCP_TIMESTAMP = 0x18
44242- TCP_USER_TIMEOUT = 0x12
44243- TCP_WINDOW_CLAMP = 0xa
44244- TCSAFLUSH = 0x5410
44245- TCSBRK = 0x5405
44246- TCSBRKP = 0x5486
44247- TCSETA = 0x5402
44248- TCSETAF = 0x5404
44249- TCSETAW = 0x5403
44250- TCSETS = 0x540e
44251- TCSETS2 = 0x8030542b
44252- TCSETSF = 0x5410
44253- TCSETSF2 = 0x8030542d
44254- TCSETSW = 0x540f
44255- TCSETSW2 = 0x8030542c
44256- TCXONC = 0x5406
44257- TIOCCBRK = 0x5428
44258- TIOCCONS = 0x80047478
44259- TIOCEXCL = 0x740d
44260- TIOCGDEV = 0x40045432
44261- TIOCGETD = 0x7400
44262- TIOCGETP = 0x7408
44263- TIOCGEXCL = 0x40045440
44264- TIOCGICOUNT = 0x5492
44265- TIOCGLCKTRMIOS = 0x548b
44266- TIOCGLTC = 0x7474
44267- TIOCGPGRP = 0x40047477
44268- TIOCGPKT = 0x40045438
44269- TIOCGPTLCK = 0x40045439
44270- TIOCGPTN = 0x40045430
44271- TIOCGRS485 = 0x4020542e
44272- TIOCGSERIAL = 0x5484
44273- TIOCGSID = 0x7416
44274- TIOCGSOFTCAR = 0x5481
44275- TIOCGWINSZ = 0x40087468
44276- TIOCINQ = 0x467f
44277- TIOCLINUX = 0x5483
44278- TIOCMBIC = 0x741c
44279- TIOCMBIS = 0x741b
44280- TIOCMGET = 0x741d
44281- TIOCMIWAIT = 0x5491
44282- TIOCMSET = 0x741a
44283- TIOCM_CAR = 0x100
44284- TIOCM_CD = 0x100
44285- TIOCM_CTS = 0x40
44286- TIOCM_DSR = 0x400
44287- TIOCM_DTR = 0x2
44288- TIOCM_LE = 0x1
44289- TIOCM_RI = 0x200
44290- TIOCM_RNG = 0x200
44291- TIOCM_RTS = 0x4
44292- TIOCM_SR = 0x20
44293- TIOCM_ST = 0x10
44294- TIOCNOTTY = 0x5471
44295- TIOCNXCL = 0x740e
44296- TIOCOUTQ = 0x7472
44297- TIOCPKT = 0x5470
44298- TIOCPKT_DATA = 0x0
44299- TIOCPKT_DOSTOP = 0x20
44300- TIOCPKT_FLUSHREAD = 0x1
44301- TIOCPKT_FLUSHWRITE = 0x2
44302- TIOCPKT_IOCTL = 0x40
44303- TIOCPKT_NOSTOP = 0x10
44304- TIOCPKT_START = 0x8
44305- TIOCPKT_STOP = 0x4
44306- TIOCSBRK = 0x5427
44307- TIOCSCTTY = 0x5480
44308- TIOCSERCONFIG = 0x5488
44309- TIOCSERGETLSR = 0x548e
44310- TIOCSERGETMULTI = 0x548f
44311- TIOCSERGSTRUCT = 0x548d
44312- TIOCSERGWILD = 0x5489
44313- TIOCSERSETMULTI = 0x5490
44314- TIOCSERSWILD = 0x548a
44315- TIOCSER_TEMT = 0x1
44316- TIOCSETD = 0x7401
44317- TIOCSETN = 0x740a
44318- TIOCSETP = 0x7409
44319- TIOCSIG = 0x80045436
44320- TIOCSLCKTRMIOS = 0x548c
44321- TIOCSLTC = 0x7475
44322- TIOCSPGRP = 0x80047476
44323- TIOCSPTLCK = 0x80045431
44324- TIOCSRS485 = 0xc020542f
44325- TIOCSSERIAL = 0x5485
44326- TIOCSSOFTCAR = 0x5482
44327- TIOCSTI = 0x5472
44328- TIOCSWINSZ = 0x80087467
44329- TIOCVHANGUP = 0x5437
44330- TOSTOP = 0x8000
44331- TS_COMM_LEN = 0x20
44332- TUNATTACHFILTER = 0x801054d5
44333- TUNDETACHFILTER = 0x801054d6
44334- TUNGETFEATURES = 0x400454cf
44335- TUNGETFILTER = 0x401054db
44336- TUNGETIFF = 0x400454d2
44337- TUNGETSNDBUF = 0x400454d3
44338- TUNGETVNETBE = 0x400454df
44339- TUNGETVNETHDRSZ = 0x400454d7
44340- TUNGETVNETLE = 0x400454dd
44341- TUNSETDEBUG = 0x800454c9
44342- TUNSETGROUP = 0x800454ce
44343- TUNSETIFF = 0x800454ca
44344- TUNSETIFINDEX = 0x800454da
44345- TUNSETLINK = 0x800454cd
44346- TUNSETNOCSUM = 0x800454c8
44347- TUNSETOFFLOAD = 0x800454d0
44348- TUNSETOWNER = 0x800454cc
44349- TUNSETPERSIST = 0x800454cb
44350- TUNSETQUEUE = 0x800454d9
44351- TUNSETSNDBUF = 0x800454d4
44352- TUNSETTXFILTER = 0x800454d1
44353- TUNSETVNETBE = 0x800454de
44354- TUNSETVNETHDRSZ = 0x800454d8
44355- TUNSETVNETLE = 0x800454dc
44356- UMOUNT_NOFOLLOW = 0x8
44357- VDISCARD = 0xd
44358- VEOF = 0x10
44359- VEOL = 0x11
44360- VEOL2 = 0x6
44361- VERASE = 0x2
44362- VINTR = 0x0
44363- VKILL = 0x3
44364- VLNEXT = 0xf
44365- VMADDR_CID_ANY = 0xffffffff
44366- VMADDR_CID_HOST = 0x2
44367- VMADDR_CID_HYPERVISOR = 0x0
44368- VMADDR_CID_RESERVED = 0x1
44369- VMADDR_PORT_ANY = 0xffffffff
44370- VMIN = 0x4
44371- VM_SOCKETS_INVALID_VERSION = 0xffffffff
44372- VQUIT = 0x1
44373- VREPRINT = 0xc
44374- VSTART = 0x8
44375- VSTOP = 0x9
44376- VSUSP = 0xa
44377- VSWTC = 0x7
44378- VSWTCH = 0x7
44379- VT0 = 0x0
44380- VT1 = 0x4000
44381- VTDLY = 0x4000
44382- VTIME = 0x5
44383- VWERASE = 0xe
44384- WALL = 0x40000000
44385- WCLONE = 0x80000000
44386- WCONTINUED = 0x8
44387- WEXITED = 0x4
44388- WNOHANG = 0x1
44389- WNOTHREAD = 0x20000000
44390- WNOWAIT = 0x1000000
44391- WORDSIZE = 0x40
44392- WSTOPPED = 0x2
44393- WUNTRACED = 0x2
44394- XATTR_CREATE = 0x1
44395- XATTR_REPLACE = 0x2
44396- XCASE = 0x4
44397- XTABS = 0x1800
44398+ B1000000 = 0x1008
44399+ B115200 = 0x1002
44400+ B1152000 = 0x1009
44401+ B1500000 = 0x100a
44402+ B2000000 = 0x100b
44403+ B230400 = 0x1003
44404+ B2500000 = 0x100c
44405+ B3000000 = 0x100d
44406+ B3500000 = 0x100e
44407+ B4000000 = 0x100f
44408+ B460800 = 0x1004
44409+ B500000 = 0x1005
44410+ B57600 = 0x1001
44411+ B576000 = 0x1006
44412+ B921600 = 0x1007
44413+ BLKBSZGET = 0x40081270
44414+ BLKBSZSET = 0x80081271
44415+ BLKFLSBUF = 0x20001261
44416+ BLKFRAGET = 0x20001265
44417+ BLKFRASET = 0x20001264
44418+ BLKGETSIZE = 0x20001260
44419+ BLKGETSIZE64 = 0x40081272
44420+ BLKPBSZGET = 0x2000127b
44421+ BLKRAGET = 0x20001263
44422+ BLKRASET = 0x20001262
44423+ BLKROGET = 0x2000125e
44424+ BLKROSET = 0x2000125d
44425+ BLKRRPART = 0x2000125f
44426+ BLKSECTGET = 0x20001267
44427+ BLKSECTSET = 0x20001266
44428+ BLKSSZGET = 0x20001268
44429+ BOTHER = 0x1000
44430+ BS1 = 0x2000
44431+ BSDLY = 0x2000
44432+ CBAUD = 0x100f
44433+ CBAUDEX = 0x1000
44434+ CIBAUD = 0x100f0000
44435+ CLOCAL = 0x800
44436+ CR1 = 0x200
44437+ CR2 = 0x400
44438+ CR3 = 0x600
44439+ CRDLY = 0x600
44440+ CREAD = 0x80
44441+ CS6 = 0x10
44442+ CS7 = 0x20
44443+ CS8 = 0x30
44444+ CSIZE = 0x30
44445+ CSTOPB = 0x40
44446+ ECHOCTL = 0x200
44447+ ECHOE = 0x10
44448+ ECHOK = 0x20
44449+ ECHOKE = 0x800
44450+ ECHONL = 0x40
44451+ ECHOPRT = 0x400
44452+ EFD_CLOEXEC = 0x80000
44453+ EFD_NONBLOCK = 0x80
44454+ EPOLL_CLOEXEC = 0x80000
44455+ EXTPROC = 0x10000
44456+ FF1 = 0x8000
44457+ FFDLY = 0x8000
44458+ FLUSHO = 0x2000
44459+ FS_IOC_ENABLE_VERITY = 0x80806685
44460+ FS_IOC_GETFLAGS = 0x40086601
44461+ FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615
44462+ FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614
44463+ FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613
44464+ F_GETLK = 0xe
44465+ F_GETLK64 = 0xe
44466+ F_GETOWN = 0x17
44467+ F_RDLCK = 0x0
44468+ F_SETLK = 0x6
44469+ F_SETLK64 = 0x6
44470+ F_SETLKW = 0x7
44471+ F_SETLKW64 = 0x7
44472+ F_SETOWN = 0x18
44473+ F_UNLCK = 0x2
44474+ F_WRLCK = 0x1
44475+ HUPCL = 0x400
44476+ ICANON = 0x2
44477+ IEXTEN = 0x100
44478+ IN_CLOEXEC = 0x80000
44479+ IN_NONBLOCK = 0x80
44480+ IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x200007b9
44481+ ISIG = 0x1
44482+ IUCLC = 0x200
44483+ IXOFF = 0x1000
44484+ IXON = 0x400
44485+ MAP_ANON = 0x800
44486+ MAP_ANONYMOUS = 0x800
44487+ MAP_DENYWRITE = 0x2000
44488+ MAP_EXECUTABLE = 0x4000
44489+ MAP_GROWSDOWN = 0x1000
44490+ MAP_HUGETLB = 0x80000
44491+ MAP_LOCKED = 0x8000
44492+ MAP_NONBLOCK = 0x20000
44493+ MAP_NORESERVE = 0x400
44494+ MAP_POPULATE = 0x10000
44495+ MAP_RENAME = 0x800
44496+ MAP_STACK = 0x40000
44497+ MCL_CURRENT = 0x1
44498+ MCL_FUTURE = 0x2
44499+ MCL_ONFAULT = 0x4
44500+ NFDBITS = 0x40
44501+ NLDLY = 0x100
44502+ NOFLSH = 0x80
44503+ NS_GET_NSTYPE = 0x2000b703
44504+ NS_GET_OWNER_UID = 0x2000b704
44505+ NS_GET_PARENT = 0x2000b702
44506+ NS_GET_USERNS = 0x2000b701
44507+ OLCUC = 0x2
44508+ ONLCR = 0x4
44509+ O_APPEND = 0x8
44510+ O_ASYNC = 0x1000
44511+ O_CLOEXEC = 0x80000
44512+ O_CREAT = 0x100
44513+ O_DIRECT = 0x8000
44514+ O_DIRECTORY = 0x10000
44515+ O_DSYNC = 0x10
44516+ O_EXCL = 0x400
44517+ O_FSYNC = 0x4010
44518+ O_LARGEFILE = 0x0
44519+ O_NDELAY = 0x80
44520+ O_NOATIME = 0x40000
44521+ O_NOCTTY = 0x800
44522+ O_NOFOLLOW = 0x20000
44523+ O_NONBLOCK = 0x80
44524+ O_PATH = 0x200000
44525+ O_RSYNC = 0x4010
44526+ O_SYNC = 0x4010
44527+ O_TMPFILE = 0x410000
44528+ O_TRUNC = 0x200
44529+ PARENB = 0x100
44530+ PARODD = 0x200
44531+ PENDIN = 0x4000
44532+ PERF_EVENT_IOC_DISABLE = 0x20002401
44533+ PERF_EVENT_IOC_ENABLE = 0x20002400
44534+ PERF_EVENT_IOC_ID = 0x40082407
44535+ PERF_EVENT_IOC_MODIFY_ATTRIBUTES = 0x8008240b
44536+ PERF_EVENT_IOC_PAUSE_OUTPUT = 0x80042409
44537+ PERF_EVENT_IOC_PERIOD = 0x80082404
44538+ PERF_EVENT_IOC_QUERY_BPF = 0xc008240a
44539+ PERF_EVENT_IOC_REFRESH = 0x20002402
44540+ PERF_EVENT_IOC_RESET = 0x20002403
44541+ PERF_EVENT_IOC_SET_BPF = 0x80042408
44542+ PERF_EVENT_IOC_SET_FILTER = 0x80082406
44543+ PERF_EVENT_IOC_SET_OUTPUT = 0x20002405
44544+ PPPIOCATTACH = 0x8004743d
44545+ PPPIOCATTCHAN = 0x80047438
44546+ PPPIOCCONNECT = 0x8004743a
44547+ PPPIOCDETACH = 0x8004743c
44548+ PPPIOCDISCONN = 0x20007439
44549+ PPPIOCGASYNCMAP = 0x40047458
44550+ PPPIOCGCHAN = 0x40047437
44551+ PPPIOCGDEBUG = 0x40047441
44552+ PPPIOCGFLAGS = 0x4004745a
44553+ PPPIOCGIDLE = 0x4010743f
44554+ PPPIOCGIDLE32 = 0x4008743f
44555+ PPPIOCGIDLE64 = 0x4010743f
44556+ PPPIOCGL2TPSTATS = 0x40487436
44557+ PPPIOCGMRU = 0x40047453
44558+ PPPIOCGRASYNCMAP = 0x40047455
44559+ PPPIOCGUNIT = 0x40047456
44560+ PPPIOCGXASYNCMAP = 0x40207450
44561+ PPPIOCSACTIVE = 0x80107446
44562+ PPPIOCSASYNCMAP = 0x80047457
44563+ PPPIOCSCOMPRESS = 0x8010744d
44564+ PPPIOCSDEBUG = 0x80047440
44565+ PPPIOCSFLAGS = 0x80047459
44566+ PPPIOCSMAXCID = 0x80047451
44567+ PPPIOCSMRRU = 0x8004743b
44568+ PPPIOCSMRU = 0x80047452
44569+ PPPIOCSNPMODE = 0x8008744b
44570+ PPPIOCSPASS = 0x80107447
44571+ PPPIOCSRASYNCMAP = 0x80047454
44572+ PPPIOCSXASYNCMAP = 0x8020744f
44573+ PPPIOCXFERUNIT = 0x2000744e
44574+ PR_SET_PTRACER_ANY = 0xffffffffffffffff
44575+ PTRACE_GETFPREGS = 0xe
44576+ PTRACE_GET_THREAD_AREA = 0x19
44577+ PTRACE_GET_THREAD_AREA_3264 = 0xc4
44578+ PTRACE_GET_WATCH_REGS = 0xd0
44579+ PTRACE_OLDSETOPTIONS = 0x15
44580+ PTRACE_PEEKDATA_3264 = 0xc1
44581+ PTRACE_PEEKTEXT_3264 = 0xc0
44582+ PTRACE_POKEDATA_3264 = 0xc3
44583+ PTRACE_POKETEXT_3264 = 0xc2
44584+ PTRACE_SETFPREGS = 0xf
44585+ PTRACE_SET_THREAD_AREA = 0x1a
44586+ PTRACE_SET_WATCH_REGS = 0xd1
44587+ RLIMIT_AS = 0x6
44588+ RLIMIT_MEMLOCK = 0x9
44589+ RLIMIT_NOFILE = 0x5
44590+ RLIMIT_NPROC = 0x8
44591+ RLIMIT_RSS = 0x7
44592+ RNDADDENTROPY = 0x80085203
44593+ RNDADDTOENTCNT = 0x80045201
44594+ RNDCLEARPOOL = 0x20005206
44595+ RNDGETENTCNT = 0x40045200
44596+ RNDGETPOOL = 0x40085202
44597+ RNDRESEEDCRNG = 0x20005207
44598+ RNDZAPENTCNT = 0x20005204
44599+ RTC_AIE_OFF = 0x20007002
44600+ RTC_AIE_ON = 0x20007001
44601+ RTC_ALM_READ = 0x40247008
44602+ RTC_ALM_SET = 0x80247007
44603+ RTC_EPOCH_READ = 0x4008700d
44604+ RTC_EPOCH_SET = 0x8008700e
44605+ RTC_IRQP_READ = 0x4008700b
44606+ RTC_IRQP_SET = 0x8008700c
44607+ RTC_PIE_OFF = 0x20007006
44608+ RTC_PIE_ON = 0x20007005
44609+ RTC_PLL_GET = 0x40207011
44610+ RTC_PLL_SET = 0x80207012
44611+ RTC_RD_TIME = 0x40247009
44612+ RTC_SET_TIME = 0x8024700a
44613+ RTC_UIE_OFF = 0x20007004
44614+ RTC_UIE_ON = 0x20007003
44615+ RTC_VL_CLR = 0x20007014
44616+ RTC_VL_READ = 0x40047013
44617+ RTC_WIE_OFF = 0x20007010
44618+ RTC_WIE_ON = 0x2000700f
44619+ RTC_WKALM_RD = 0x40287010
44620+ RTC_WKALM_SET = 0x8028700f
44621+ SCM_TIMESTAMPING = 0x25
44622+ SCM_TIMESTAMPING_OPT_STATS = 0x36
44623+ SCM_TIMESTAMPING_PKTINFO = 0x3a
44624+ SCM_TIMESTAMPNS = 0x23
44625+ SCM_TXTIME = 0x3d
44626+ SCM_WIFI_STATUS = 0x29
44627+ SFD_CLOEXEC = 0x80000
44628+ SFD_NONBLOCK = 0x80
44629+ SIOCATMARK = 0x40047307
44630+ SIOCGPGRP = 0x40047309
44631+ SIOCGSTAMPNS_NEW = 0x40108907
44632+ SIOCGSTAMP_NEW = 0x40108906
44633+ SIOCINQ = 0x467f
44634+ SIOCOUTQ = 0x7472
44635+ SIOCSPGRP = 0x80047308
44636+ SOCK_CLOEXEC = 0x80000
44637+ SOCK_DGRAM = 0x1
44638+ SOCK_NONBLOCK = 0x80
44639+ SOCK_STREAM = 0x2
44640+ SOL_SOCKET = 0xffff
44641+ SO_ACCEPTCONN = 0x1009
44642+ SO_ATTACH_BPF = 0x32
44643+ SO_ATTACH_REUSEPORT_CBPF = 0x33
44644+ SO_ATTACH_REUSEPORT_EBPF = 0x34
44645+ SO_BINDTODEVICE = 0x19
44646+ SO_BINDTOIFINDEX = 0x3e
44647+ SO_BPF_EXTENSIONS = 0x30
44648+ SO_BROADCAST = 0x20
44649+ SO_BSDCOMPAT = 0xe
44650+ SO_BUSY_POLL = 0x2e
44651+ SO_CNX_ADVICE = 0x35
44652+ SO_COOKIE = 0x39
44653+ SO_DETACH_REUSEPORT_BPF = 0x44
44654+ SO_DOMAIN = 0x1029
44655+ SO_DONTROUTE = 0x10
44656+ SO_ERROR = 0x1007
44657+ SO_INCOMING_CPU = 0x31
44658+ SO_INCOMING_NAPI_ID = 0x38
44659+ SO_KEEPALIVE = 0x8
44660+ SO_LINGER = 0x80
44661+ SO_LOCK_FILTER = 0x2c
44662+ SO_MARK = 0x24
44663+ SO_MAX_PACING_RATE = 0x2f
44664+ SO_MEMINFO = 0x37
44665+ SO_NOFCS = 0x2b
44666+ SO_OOBINLINE = 0x100
44667+ SO_PASSCRED = 0x11
44668+ SO_PASSSEC = 0x22
44669+ SO_PEEK_OFF = 0x2a
44670+ SO_PEERCRED = 0x12
44671+ SO_PEERGROUPS = 0x3b
44672+ SO_PEERSEC = 0x1e
44673+ SO_PROTOCOL = 0x1028
44674+ SO_RCVBUF = 0x1002
44675+ SO_RCVBUFFORCE = 0x21
44676+ SO_RCVLOWAT = 0x1004
44677+ SO_RCVTIMEO = 0x1006
44678+ SO_RCVTIMEO_NEW = 0x42
44679+ SO_RCVTIMEO_OLD = 0x1006
44680+ SO_REUSEADDR = 0x4
44681+ SO_REUSEPORT = 0x200
44682+ SO_RXQ_OVFL = 0x28
44683+ SO_SECURITY_AUTHENTICATION = 0x16
44684+ SO_SECURITY_ENCRYPTION_NETWORK = 0x18
44685+ SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
44686+ SO_SELECT_ERR_QUEUE = 0x2d
44687+ SO_SNDBUF = 0x1001
44688+ SO_SNDBUFFORCE = 0x1f
44689+ SO_SNDLOWAT = 0x1003
44690+ SO_SNDTIMEO = 0x1005
44691+ SO_SNDTIMEO_NEW = 0x43
44692+ SO_SNDTIMEO_OLD = 0x1005
44693+ SO_STYLE = 0x1008
44694+ SO_TIMESTAMPING = 0x25
44695+ SO_TIMESTAMPING_NEW = 0x41
44696+ SO_TIMESTAMPING_OLD = 0x25
44697+ SO_TIMESTAMPNS = 0x23
44698+ SO_TIMESTAMPNS_NEW = 0x40
44699+ SO_TIMESTAMPNS_OLD = 0x23
44700+ SO_TIMESTAMP_NEW = 0x3f
44701+ SO_TXTIME = 0x3d
44702+ SO_TYPE = 0x1008
44703+ SO_WIFI_STATUS = 0x29
44704+ SO_ZEROCOPY = 0x3c
44705+ TAB1 = 0x800
44706+ TAB2 = 0x1000
44707+ TAB3 = 0x1800
44708+ TABDLY = 0x1800
44709+ TCFLSH = 0x5407
44710+ TCGETA = 0x5401
44711+ TCGETS = 0x540d
44712+ TCGETS2 = 0x4030542a
44713+ TCSAFLUSH = 0x5410
44714+ TCSBRK = 0x5405
44715+ TCSBRKP = 0x5486
44716+ TCSETA = 0x5402
44717+ TCSETAF = 0x5404
44718+ TCSETAW = 0x5403
44719+ TCSETS = 0x540e
44720+ TCSETS2 = 0x8030542b
44721+ TCSETSF = 0x5410
44722+ TCSETSF2 = 0x8030542d
44723+ TCSETSW = 0x540f
44724+ TCSETSW2 = 0x8030542c
44725+ TCXONC = 0x5406
44726+ TIOCCBRK = 0x5428
44727+ TIOCCONS = 0x80047478
44728+ TIOCEXCL = 0x740d
44729+ TIOCGDEV = 0x40045432
44730+ TIOCGETD = 0x7400
44731+ TIOCGETP = 0x7408
44732+ TIOCGEXCL = 0x40045440
44733+ TIOCGICOUNT = 0x5492
44734+ TIOCGISO7816 = 0x40285442
44735+ TIOCGLCKTRMIOS = 0x548b
44736+ TIOCGLTC = 0x7474
44737+ TIOCGPGRP = 0x40047477
44738+ TIOCGPKT = 0x40045438
44739+ TIOCGPTLCK = 0x40045439
44740+ TIOCGPTN = 0x40045430
44741+ TIOCGPTPEER = 0x20005441
44742+ TIOCGRS485 = 0x4020542e
44743+ TIOCGSERIAL = 0x5484
44744+ TIOCGSID = 0x7416
44745+ TIOCGSOFTCAR = 0x5481
44746+ TIOCGWINSZ = 0x40087468
44747+ TIOCINQ = 0x467f
44748+ TIOCLINUX = 0x5483
44749+ TIOCMBIC = 0x741c
44750+ TIOCMBIS = 0x741b
44751+ TIOCMGET = 0x741d
44752+ TIOCMIWAIT = 0x5491
44753+ TIOCMSET = 0x741a
44754+ TIOCM_CAR = 0x100
44755+ TIOCM_CD = 0x100
44756+ TIOCM_CTS = 0x40
44757+ TIOCM_DSR = 0x400
44758+ TIOCM_RI = 0x200
44759+ TIOCM_RNG = 0x200
44760+ TIOCM_SR = 0x20
44761+ TIOCM_ST = 0x10
44762+ TIOCNOTTY = 0x5471
44763+ TIOCNXCL = 0x740e
44764+ TIOCOUTQ = 0x7472
44765+ TIOCPKT = 0x5470
44766+ TIOCSBRK = 0x5427
44767+ TIOCSCTTY = 0x5480
44768+ TIOCSERCONFIG = 0x5488
44769+ TIOCSERGETLSR = 0x548e
44770+ TIOCSERGETMULTI = 0x548f
44771+ TIOCSERGSTRUCT = 0x548d
44772+ TIOCSERGWILD = 0x5489
44773+ TIOCSERSETMULTI = 0x5490
44774+ TIOCSERSWILD = 0x548a
44775+ TIOCSER_TEMT = 0x1
44776+ TIOCSETD = 0x7401
44777+ TIOCSETN = 0x740a
44778+ TIOCSETP = 0x7409
44779+ TIOCSIG = 0x80045436
44780+ TIOCSISO7816 = 0xc0285443
44781+ TIOCSLCKTRMIOS = 0x548c
44782+ TIOCSLTC = 0x7475
44783+ TIOCSPGRP = 0x80047476
44784+ TIOCSPTLCK = 0x80045431
44785+ TIOCSRS485 = 0xc020542f
44786+ TIOCSSERIAL = 0x5485
44787+ TIOCSSOFTCAR = 0x5482
44788+ TIOCSTI = 0x5472
44789+ TIOCSWINSZ = 0x80087467
44790+ TIOCVHANGUP = 0x5437
44791+ TOSTOP = 0x8000
44792+ TUNATTACHFILTER = 0x801054d5
44793+ TUNDETACHFILTER = 0x801054d6
44794+ TUNGETDEVNETNS = 0x200054e3
44795+ TUNGETFEATURES = 0x400454cf
44796+ TUNGETFILTER = 0x401054db
44797+ TUNGETIFF = 0x400454d2
44798+ TUNGETSNDBUF = 0x400454d3
44799+ TUNGETVNETBE = 0x400454df
44800+ TUNGETVNETHDRSZ = 0x400454d7
44801+ TUNGETVNETLE = 0x400454dd
44802+ TUNSETCARRIER = 0x800454e2
44803+ TUNSETDEBUG = 0x800454c9
44804+ TUNSETFILTEREBPF = 0x400454e1
44805+ TUNSETGROUP = 0x800454ce
44806+ TUNSETIFF = 0x800454ca
44807+ TUNSETIFINDEX = 0x800454da
44808+ TUNSETLINK = 0x800454cd
44809+ TUNSETNOCSUM = 0x800454c8
44810+ TUNSETOFFLOAD = 0x800454d0
44811+ TUNSETOWNER = 0x800454cc
44812+ TUNSETPERSIST = 0x800454cb
44813+ TUNSETQUEUE = 0x800454d9
44814+ TUNSETSNDBUF = 0x800454d4
44815+ TUNSETSTEERINGEBPF = 0x400454e0
44816+ TUNSETTXFILTER = 0x800454d1
44817+ TUNSETVNETBE = 0x800454de
44818+ TUNSETVNETHDRSZ = 0x800454d8
44819+ TUNSETVNETLE = 0x800454dc
44820+ UBI_IOCATT = 0x80186f40
44821+ UBI_IOCDET = 0x80046f41
44822+ UBI_IOCEBCH = 0x80044f02
44823+ UBI_IOCEBER = 0x80044f01
44824+ UBI_IOCEBISMAP = 0x40044f05
44825+ UBI_IOCEBMAP = 0x80084f03
44826+ UBI_IOCEBUNMAP = 0x80044f04
44827+ UBI_IOCMKVOL = 0x80986f00
44828+ UBI_IOCRMVOL = 0x80046f01
44829+ UBI_IOCRNVOL = 0x91106f03
44830+ UBI_IOCRPEB = 0x80046f04
44831+ UBI_IOCRSVOL = 0x800c6f02
44832+ UBI_IOCSETVOLPROP = 0x80104f06
44833+ UBI_IOCSPEB = 0x80046f05
44834+ UBI_IOCVOLCRBLK = 0x80804f07
44835+ UBI_IOCVOLRMBLK = 0x20004f08
44836+ UBI_IOCVOLUP = 0x80084f00
44837+ VDISCARD = 0xd
44838+ VEOF = 0x10
44839+ VEOL = 0x11
44840+ VEOL2 = 0x6
44841+ VMIN = 0x4
44842+ VREPRINT = 0xc
44843+ VSTART = 0x8
44844+ VSTOP = 0x9
44845+ VSUSP = 0xa
44846+ VSWTC = 0x7
44847+ VSWTCH = 0x7
44848+ VT1 = 0x4000
44849+ VTDLY = 0x4000
44850+ VTIME = 0x5
44851+ VWERASE = 0xe
44852+ WDIOC_GETBOOTSTATUS = 0x40045702
44853+ WDIOC_GETPRETIMEOUT = 0x40045709
44854+ WDIOC_GETSTATUS = 0x40045701
44855+ WDIOC_GETSUPPORT = 0x40285700
44856+ WDIOC_GETTEMP = 0x40045703
44857+ WDIOC_GETTIMELEFT = 0x4004570a
44858+ WDIOC_GETTIMEOUT = 0x40045707
44859+ WDIOC_KEEPALIVE = 0x40045705
44860+ WDIOC_SETOPTIONS = 0x40045704
44861+ WORDSIZE = 0x40
44862+ XCASE = 0x4
44863+ XTABS = 0x1800
44864 )
44865
44866 // Errors
44867 const (
44868- E2BIG = syscall.Errno(0x7)
44869- EACCES = syscall.Errno(0xd)
44870 EADDRINUSE = syscall.Errno(0x7d)
44871 EADDRNOTAVAIL = syscall.Errno(0x7e)
44872 EADV = syscall.Errno(0x44)
44873 EAFNOSUPPORT = syscall.Errno(0x7c)
44874- EAGAIN = syscall.Errno(0xb)
44875 EALREADY = syscall.Errno(0x95)
44876 EBADE = syscall.Errno(0x32)
44877- EBADF = syscall.Errno(0x9)
44878 EBADFD = syscall.Errno(0x51)
44879 EBADMSG = syscall.Errno(0x4d)
44880 EBADR = syscall.Errno(0x33)
44881 EBADRQC = syscall.Errno(0x36)
44882 EBADSLT = syscall.Errno(0x37)
44883 EBFONT = syscall.Errno(0x3b)
44884- EBUSY = syscall.Errno(0x10)
44885 ECANCELED = syscall.Errno(0x9e)
44886- ECHILD = syscall.Errno(0xa)
44887 ECHRNG = syscall.Errno(0x25)
44888 ECOMM = syscall.Errno(0x46)
44889 ECONNABORTED = syscall.Errno(0x82)
44890@@ -1886,12 +502,8 @@ const (
44891 EDEADLK = syscall.Errno(0x2d)
44892 EDEADLOCK = syscall.Errno(0x38)
44893 EDESTADDRREQ = syscall.Errno(0x60)
44894- EDOM = syscall.Errno(0x21)
44895 EDOTDOT = syscall.Errno(0x49)
44896 EDQUOT = syscall.Errno(0x46d)
44897- EEXIST = syscall.Errno(0x11)
44898- EFAULT = syscall.Errno(0xe)
44899- EFBIG = syscall.Errno(0x1b)
44900 EHOSTDOWN = syscall.Errno(0x93)
44901 EHOSTUNREACH = syscall.Errno(0x94)
44902 EHWPOISON = syscall.Errno(0xa8)
44903@@ -1899,11 +511,7 @@ const (
44904 EILSEQ = syscall.Errno(0x58)
44905 EINIT = syscall.Errno(0x8d)
44906 EINPROGRESS = syscall.Errno(0x96)
44907- EINTR = syscall.Errno(0x4)
44908- EINVAL = syscall.Errno(0x16)
44909- EIO = syscall.Errno(0x5)
44910 EISCONN = syscall.Errno(0x85)
44911- EISDIR = syscall.Errno(0x15)
44912 EISNAM = syscall.Errno(0x8b)
44913 EKEYEXPIRED = syscall.Errno(0xa2)
44914 EKEYREJECTED = syscall.Errno(0xa4)
44915@@ -1920,8 +528,6 @@ const (
44916 ELNRNG = syscall.Errno(0x29)
44917 ELOOP = syscall.Errno(0x5a)
44918 EMEDIUMTYPE = syscall.Errno(0xa0)
44919- EMFILE = syscall.Errno(0x18)
44920- EMLINK = syscall.Errno(0x1f)
44921 EMSGSIZE = syscall.Errno(0x61)
44922 EMULTIHOP = syscall.Errno(0x4a)
44923 ENAMETOOLONG = syscall.Errno(0x4e)
44924@@ -1929,100 +535,68 @@ const (
44925 ENETDOWN = syscall.Errno(0x7f)
44926 ENETRESET = syscall.Errno(0x81)
44927 ENETUNREACH = syscall.Errno(0x80)
44928- ENFILE = syscall.Errno(0x17)
44929 ENOANO = syscall.Errno(0x35)
44930 ENOBUFS = syscall.Errno(0x84)
44931 ENOCSI = syscall.Errno(0x2b)
44932 ENODATA = syscall.Errno(0x3d)
44933- ENODEV = syscall.Errno(0x13)
44934- ENOENT = syscall.Errno(0x2)
44935- ENOEXEC = syscall.Errno(0x8)
44936 ENOKEY = syscall.Errno(0xa1)
44937 ENOLCK = syscall.Errno(0x2e)
44938 ENOLINK = syscall.Errno(0x43)
44939 ENOMEDIUM = syscall.Errno(0x9f)
44940- ENOMEM = syscall.Errno(0xc)
44941 ENOMSG = syscall.Errno(0x23)
44942 ENONET = syscall.Errno(0x40)
44943 ENOPKG = syscall.Errno(0x41)
44944 ENOPROTOOPT = syscall.Errno(0x63)
44945- ENOSPC = syscall.Errno(0x1c)
44946 ENOSR = syscall.Errno(0x3f)
44947 ENOSTR = syscall.Errno(0x3c)
44948 ENOSYS = syscall.Errno(0x59)
44949- ENOTBLK = syscall.Errno(0xf)
44950 ENOTCONN = syscall.Errno(0x86)
44951- ENOTDIR = syscall.Errno(0x14)
44952 ENOTEMPTY = syscall.Errno(0x5d)
44953 ENOTNAM = syscall.Errno(0x89)
44954 ENOTRECOVERABLE = syscall.Errno(0xa6)
44955 ENOTSOCK = syscall.Errno(0x5f)
44956 ENOTSUP = syscall.Errno(0x7a)
44957- ENOTTY = syscall.Errno(0x19)
44958 ENOTUNIQ = syscall.Errno(0x50)
44959- ENXIO = syscall.Errno(0x6)
44960 EOPNOTSUPP = syscall.Errno(0x7a)
44961 EOVERFLOW = syscall.Errno(0x4f)
44962 EOWNERDEAD = syscall.Errno(0xa5)
44963- EPERM = syscall.Errno(0x1)
44964 EPFNOSUPPORT = syscall.Errno(0x7b)
44965- EPIPE = syscall.Errno(0x20)
44966 EPROTO = syscall.Errno(0x47)
44967 EPROTONOSUPPORT = syscall.Errno(0x78)
44968 EPROTOTYPE = syscall.Errno(0x62)
44969- ERANGE = syscall.Errno(0x22)
44970 EREMCHG = syscall.Errno(0x52)
44971 EREMDEV = syscall.Errno(0x8e)
44972 EREMOTE = syscall.Errno(0x42)
44973 EREMOTEIO = syscall.Errno(0x8c)
44974 ERESTART = syscall.Errno(0x5b)
44975 ERFKILL = syscall.Errno(0xa7)
44976- EROFS = syscall.Errno(0x1e)
44977 ESHUTDOWN = syscall.Errno(0x8f)
44978 ESOCKTNOSUPPORT = syscall.Errno(0x79)
44979- ESPIPE = syscall.Errno(0x1d)
44980- ESRCH = syscall.Errno(0x3)
44981 ESRMNT = syscall.Errno(0x45)
44982 ESTALE = syscall.Errno(0x97)
44983 ESTRPIPE = syscall.Errno(0x5c)
44984 ETIME = syscall.Errno(0x3e)
44985 ETIMEDOUT = syscall.Errno(0x91)
44986 ETOOMANYREFS = syscall.Errno(0x90)
44987- ETXTBSY = syscall.Errno(0x1a)
44988 EUCLEAN = syscall.Errno(0x87)
44989 EUNATCH = syscall.Errno(0x2a)
44990 EUSERS = syscall.Errno(0x5e)
44991- EWOULDBLOCK = syscall.Errno(0xb)
44992- EXDEV = syscall.Errno(0x12)
44993 EXFULL = syscall.Errno(0x34)
44994 )
44995
44996 // Signals
44997 const (
44998- SIGABRT = syscall.Signal(0x6)
44999- SIGALRM = syscall.Signal(0xe)
45000 SIGBUS = syscall.Signal(0xa)
45001 SIGCHLD = syscall.Signal(0x12)
45002 SIGCLD = syscall.Signal(0x12)
45003 SIGCONT = syscall.Signal(0x19)
45004 SIGEMT = syscall.Signal(0x7)
45005- SIGFPE = syscall.Signal(0x8)
45006- SIGHUP = syscall.Signal(0x1)
45007- SIGILL = syscall.Signal(0x4)
45008- SIGINT = syscall.Signal(0x2)
45009 SIGIO = syscall.Signal(0x16)
45010- SIGIOT = syscall.Signal(0x6)
45011- SIGKILL = syscall.Signal(0x9)
45012- SIGPIPE = syscall.Signal(0xd)
45013 SIGPOLL = syscall.Signal(0x16)
45014 SIGPROF = syscall.Signal(0x1d)
45015 SIGPWR = syscall.Signal(0x13)
45016- SIGQUIT = syscall.Signal(0x3)
45017- SIGSEGV = syscall.Signal(0xb)
45018 SIGSTOP = syscall.Signal(0x17)
45019 SIGSYS = syscall.Signal(0xc)
45020- SIGTERM = syscall.Signal(0xf)
45021- SIGTRAP = syscall.Signal(0x5)
45022 SIGTSTP = syscall.Signal(0x18)
45023 SIGTTIN = syscall.Signal(0x1a)
45024 SIGTTOU = syscall.Signal(0x1b)
45025@@ -2036,174 +610,182 @@ const (
45026 )
45027
45028 // Error table
45029-var errors = [...]string{
45030- 1: "operation not permitted",
45031- 2: "no such file or directory",
45032- 3: "no such process",
45033- 4: "interrupted system call",
45034- 5: "input/output error",
45035- 6: "no such device or address",
45036- 7: "argument list too long",
45037- 8: "exec format error",
45038- 9: "bad file descriptor",
45039- 10: "no child processes",
45040- 11: "resource temporarily unavailable",
45041- 12: "cannot allocate memory",
45042- 13: "permission denied",
45043- 14: "bad address",
45044- 15: "block device required",
45045- 16: "device or resource busy",
45046- 17: "file exists",
45047- 18: "invalid cross-device link",
45048- 19: "no such device",
45049- 20: "not a directory",
45050- 21: "is a directory",
45051- 22: "invalid argument",
45052- 23: "too many open files in system",
45053- 24: "too many open files",
45054- 25: "inappropriate ioctl for device",
45055- 26: "text file busy",
45056- 27: "file too large",
45057- 28: "no space left on device",
45058- 29: "illegal seek",
45059- 30: "read-only file system",
45060- 31: "too many links",
45061- 32: "broken pipe",
45062- 33: "numerical argument out of domain",
45063- 34: "numerical result out of range",
45064- 35: "no message of desired type",
45065- 36: "identifier removed",
45066- 37: "channel number out of range",
45067- 38: "level 2 not synchronized",
45068- 39: "level 3 halted",
45069- 40: "level 3 reset",
45070- 41: "link number out of range",
45071- 42: "protocol driver not attached",
45072- 43: "no CSI structure available",
45073- 44: "level 2 halted",
45074- 45: "resource deadlock avoided",
45075- 46: "no locks available",
45076- 50: "invalid exchange",
45077- 51: "invalid request descriptor",
45078- 52: "exchange full",
45079- 53: "no anode",
45080- 54: "invalid request code",
45081- 55: "invalid slot",
45082- 56: "file locking deadlock error",
45083- 59: "bad font file format",
45084- 60: "device not a stream",
45085- 61: "no data available",
45086- 62: "timer expired",
45087- 63: "out of streams resources",
45088- 64: "machine is not on the network",
45089- 65: "package not installed",
45090- 66: "object is remote",
45091- 67: "link has been severed",
45092- 68: "advertise error",
45093- 69: "srmount error",
45094- 70: "communication error on send",
45095- 71: "protocol error",
45096- 73: "RFS specific error",
45097- 74: "multihop attempted",
45098- 77: "bad message",
45099- 78: "file name too long",
45100- 79: "value too large for defined data type",
45101- 80: "name not unique on network",
45102- 81: "file descriptor in bad state",
45103- 82: "remote address changed",
45104- 83: "can not access a needed shared library",
45105- 84: "accessing a corrupted shared library",
45106- 85: ".lib section in a.out corrupted",
45107- 86: "attempting to link in too many shared libraries",
45108- 87: "cannot exec a shared library directly",
45109- 88: "invalid or incomplete multibyte or wide character",
45110- 89: "function not implemented",
45111- 90: "too many levels of symbolic links",
45112- 91: "interrupted system call should be restarted",
45113- 92: "streams pipe error",
45114- 93: "directory not empty",
45115- 94: "too many users",
45116- 95: "socket operation on non-socket",
45117- 96: "destination address required",
45118- 97: "message too long",
45119- 98: "protocol wrong type for socket",
45120- 99: "protocol not available",
45121- 120: "protocol not supported",
45122- 121: "socket type not supported",
45123- 122: "operation not supported",
45124- 123: "protocol family not supported",
45125- 124: "address family not supported by protocol",
45126- 125: "address already in use",
45127- 126: "cannot assign requested address",
45128- 127: "network is down",
45129- 128: "network is unreachable",
45130- 129: "network dropped connection on reset",
45131- 130: "software caused connection abort",
45132- 131: "connection reset by peer",
45133- 132: "no buffer space available",
45134- 133: "transport endpoint is already connected",
45135- 134: "transport endpoint is not connected",
45136- 135: "structure needs cleaning",
45137- 137: "not a XENIX named type file",
45138- 138: "no XENIX semaphores available",
45139- 139: "is a named type file",
45140- 140: "remote I/O error",
45141- 141: "unknown error 141",
45142- 142: "unknown error 142",
45143- 143: "cannot send after transport endpoint shutdown",
45144- 144: "too many references: cannot splice",
45145- 145: "connection timed out",
45146- 146: "connection refused",
45147- 147: "host is down",
45148- 148: "no route to host",
45149- 149: "operation already in progress",
45150- 150: "operation now in progress",
45151- 151: "stale file handle",
45152- 158: "operation canceled",
45153- 159: "no medium found",
45154- 160: "wrong medium type",
45155- 161: "required key not available",
45156- 162: "key has expired",
45157- 163: "key has been revoked",
45158- 164: "key was rejected by service",
45159- 165: "owner died",
45160- 166: "state not recoverable",
45161- 167: "operation not possible due to RF-kill",
45162- 168: "memory page has hardware error",
45163- 1133: "disk quota exceeded",
45164+var errorList = [...]struct {
45165+ num syscall.Errno
45166+ name string
45167+ desc string
45168+}{
45169+ {1, "EPERM", "operation not permitted"},
45170+ {2, "ENOENT", "no such file or directory"},
45171+ {3, "ESRCH", "no such process"},
45172+ {4, "EINTR", "interrupted system call"},
45173+ {5, "EIO", "input/output error"},
45174+ {6, "ENXIO", "no such device or address"},
45175+ {7, "E2BIG", "argument list too long"},
45176+ {8, "ENOEXEC", "exec format error"},
45177+ {9, "EBADF", "bad file descriptor"},
45178+ {10, "ECHILD", "no child processes"},
45179+ {11, "EAGAIN", "resource temporarily unavailable"},
45180+ {12, "ENOMEM", "cannot allocate memory"},
45181+ {13, "EACCES", "permission denied"},
45182+ {14, "EFAULT", "bad address"},
45183+ {15, "ENOTBLK", "block device required"},
45184+ {16, "EBUSY", "device or resource busy"},
45185+ {17, "EEXIST", "file exists"},
45186+ {18, "EXDEV", "invalid cross-device link"},
45187+ {19, "ENODEV", "no such device"},
45188+ {20, "ENOTDIR", "not a directory"},
45189+ {21, "EISDIR", "is a directory"},
45190+ {22, "EINVAL", "invalid argument"},
45191+ {23, "ENFILE", "too many open files in system"},
45192+ {24, "EMFILE", "too many open files"},
45193+ {25, "ENOTTY", "inappropriate ioctl for device"},
45194+ {26, "ETXTBSY", "text file busy"},
45195+ {27, "EFBIG", "file too large"},
45196+ {28, "ENOSPC", "no space left on device"},
45197+ {29, "ESPIPE", "illegal seek"},
45198+ {30, "EROFS", "read-only file system"},
45199+ {31, "EMLINK", "too many links"},
45200+ {32, "EPIPE", "broken pipe"},
45201+ {33, "EDOM", "numerical argument out of domain"},
45202+ {34, "ERANGE", "numerical result out of range"},
45203+ {35, "ENOMSG", "no message of desired type"},
45204+ {36, "EIDRM", "identifier removed"},
45205+ {37, "ECHRNG", "channel number out of range"},
45206+ {38, "EL2NSYNC", "level 2 not synchronized"},
45207+ {39, "EL3HLT", "level 3 halted"},
45208+ {40, "EL3RST", "level 3 reset"},
45209+ {41, "ELNRNG", "link number out of range"},
45210+ {42, "EUNATCH", "protocol driver not attached"},
45211+ {43, "ENOCSI", "no CSI structure available"},
45212+ {44, "EL2HLT", "level 2 halted"},
45213+ {45, "EDEADLK", "resource deadlock avoided"},
45214+ {46, "ENOLCK", "no locks available"},
45215+ {50, "EBADE", "invalid exchange"},
45216+ {51, "EBADR", "invalid request descriptor"},
45217+ {52, "EXFULL", "exchange full"},
45218+ {53, "ENOANO", "no anode"},
45219+ {54, "EBADRQC", "invalid request code"},
45220+ {55, "EBADSLT", "invalid slot"},
45221+ {56, "EDEADLOCK", "file locking deadlock error"},
45222+ {59, "EBFONT", "bad font file format"},
45223+ {60, "ENOSTR", "device not a stream"},
45224+ {61, "ENODATA", "no data available"},
45225+ {62, "ETIME", "timer expired"},
45226+ {63, "ENOSR", "out of streams resources"},
45227+ {64, "ENONET", "machine is not on the network"},
45228+ {65, "ENOPKG", "package not installed"},
45229+ {66, "EREMOTE", "object is remote"},
45230+ {67, "ENOLINK", "link has been severed"},
45231+ {68, "EADV", "advertise error"},
45232+ {69, "ESRMNT", "srmount error"},
45233+ {70, "ECOMM", "communication error on send"},
45234+ {71, "EPROTO", "protocol error"},
45235+ {73, "EDOTDOT", "RFS specific error"},
45236+ {74, "EMULTIHOP", "multihop attempted"},
45237+ {77, "EBADMSG", "bad message"},
45238+ {78, "ENAMETOOLONG", "file name too long"},
45239+ {79, "EOVERFLOW", "value too large for defined data type"},
45240+ {80, "ENOTUNIQ", "name not unique on network"},
45241+ {81, "EBADFD", "file descriptor in bad state"},
45242+ {82, "EREMCHG", "remote address changed"},
45243+ {83, "ELIBACC", "can not access a needed shared library"},
45244+ {84, "ELIBBAD", "accessing a corrupted shared library"},
45245+ {85, "ELIBSCN", ".lib section in a.out corrupted"},
45246+ {86, "ELIBMAX", "attempting to link in too many shared libraries"},
45247+ {87, "ELIBEXEC", "cannot exec a shared library directly"},
45248+ {88, "EILSEQ", "invalid or incomplete multibyte or wide character"},
45249+ {89, "ENOSYS", "function not implemented"},
45250+ {90, "ELOOP", "too many levels of symbolic links"},
45251+ {91, "ERESTART", "interrupted system call should be restarted"},
45252+ {92, "ESTRPIPE", "streams pipe error"},
45253+ {93, "ENOTEMPTY", "directory not empty"},
45254+ {94, "EUSERS", "too many users"},
45255+ {95, "ENOTSOCK", "socket operation on non-socket"},
45256+ {96, "EDESTADDRREQ", "destination address required"},
45257+ {97, "EMSGSIZE", "message too long"},
45258+ {98, "EPROTOTYPE", "protocol wrong type for socket"},
45259+ {99, "ENOPROTOOPT", "protocol not available"},
45260+ {120, "EPROTONOSUPPORT", "protocol not supported"},
45261+ {121, "ESOCKTNOSUPPORT", "socket type not supported"},
45262+ {122, "ENOTSUP", "operation not supported"},
45263+ {123, "EPFNOSUPPORT", "protocol family not supported"},
45264+ {124, "EAFNOSUPPORT", "address family not supported by protocol"},
45265+ {125, "EADDRINUSE", "address already in use"},
45266+ {126, "EADDRNOTAVAIL", "cannot assign requested address"},
45267+ {127, "ENETDOWN", "network is down"},
45268+ {128, "ENETUNREACH", "network is unreachable"},
45269+ {129, "ENETRESET", "network dropped connection on reset"},
45270+ {130, "ECONNABORTED", "software caused connection abort"},
45271+ {131, "ECONNRESET", "connection reset by peer"},
45272+ {132, "ENOBUFS", "no buffer space available"},
45273+ {133, "EISCONN", "transport endpoint is already connected"},
45274+ {134, "ENOTCONN", "transport endpoint is not connected"},
45275+ {135, "EUCLEAN", "structure needs cleaning"},
45276+ {137, "ENOTNAM", "not a XENIX named type file"},
45277+ {138, "ENAVAIL", "no XENIX semaphores available"},
45278+ {139, "EISNAM", "is a named type file"},
45279+ {140, "EREMOTEIO", "remote I/O error"},
45280+ {141, "EINIT", "unknown error 141"},
45281+ {142, "EREMDEV", "unknown error 142"},
45282+ {143, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
45283+ {144, "ETOOMANYREFS", "too many references: cannot splice"},
45284+ {145, "ETIMEDOUT", "connection timed out"},
45285+ {146, "ECONNREFUSED", "connection refused"},
45286+ {147, "EHOSTDOWN", "host is down"},
45287+ {148, "EHOSTUNREACH", "no route to host"},
45288+ {149, "EALREADY", "operation already in progress"},
45289+ {150, "EINPROGRESS", "operation now in progress"},
45290+ {151, "ESTALE", "stale file handle"},
45291+ {158, "ECANCELED", "operation canceled"},
45292+ {159, "ENOMEDIUM", "no medium found"},
45293+ {160, "EMEDIUMTYPE", "wrong medium type"},
45294+ {161, "ENOKEY", "required key not available"},
45295+ {162, "EKEYEXPIRED", "key has expired"},
45296+ {163, "EKEYREVOKED", "key has been revoked"},
45297+ {164, "EKEYREJECTED", "key was rejected by service"},
45298+ {165, "EOWNERDEAD", "owner died"},
45299+ {166, "ENOTRECOVERABLE", "state not recoverable"},
45300+ {167, "ERFKILL", "operation not possible due to RF-kill"},
45301+ {168, "EHWPOISON", "memory page has hardware error"},
45302+ {1133, "EDQUOT", "disk quota exceeded"},
45303 }
45304
45305 // Signal table
45306-var signals = [...]string{
45307- 1: "hangup",
45308- 2: "interrupt",
45309- 3: "quit",
45310- 4: "illegal instruction",
45311- 5: "trace/breakpoint trap",
45312- 6: "aborted",
45313- 7: "EMT trap",
45314- 8: "floating point exception",
45315- 9: "killed",
45316- 10: "bus error",
45317- 11: "segmentation fault",
45318- 12: "bad system call",
45319- 13: "broken pipe",
45320- 14: "alarm clock",
45321- 15: "terminated",
45322- 16: "user defined signal 1",
45323- 17: "user defined signal 2",
45324- 18: "child exited",
45325- 19: "power failure",
45326- 20: "window changed",
45327- 21: "urgent I/O condition",
45328- 22: "I/O possible",
45329- 23: "stopped (signal)",
45330- 24: "stopped",
45331- 25: "continued",
45332- 26: "stopped (tty input)",
45333- 27: "stopped (tty output)",
45334- 28: "virtual timer expired",
45335- 29: "profiling timer expired",
45336- 30: "CPU time limit exceeded",
45337- 31: "file size limit exceeded",
45338+var signalList = [...]struct {
45339+ num syscall.Signal
45340+ name string
45341+ desc string
45342+}{
45343+ {1, "SIGHUP", "hangup"},
45344+ {2, "SIGINT", "interrupt"},
45345+ {3, "SIGQUIT", "quit"},
45346+ {4, "SIGILL", "illegal instruction"},
45347+ {5, "SIGTRAP", "trace/breakpoint trap"},
45348+ {6, "SIGABRT", "aborted"},
45349+ {7, "SIGEMT", "EMT trap"},
45350+ {8, "SIGFPE", "floating point exception"},
45351+ {9, "SIGKILL", "killed"},
45352+ {10, "SIGBUS", "bus error"},
45353+ {11, "SIGSEGV", "segmentation fault"},
45354+ {12, "SIGSYS", "bad system call"},
45355+ {13, "SIGPIPE", "broken pipe"},
45356+ {14, "SIGALRM", "alarm clock"},
45357+ {15, "SIGTERM", "terminated"},
45358+ {16, "SIGUSR1", "user defined signal 1"},
45359+ {17, "SIGUSR2", "user defined signal 2"},
45360+ {18, "SIGCHLD", "child exited"},
45361+ {19, "SIGPWR", "power failure"},
45362+ {20, "SIGWINCH", "window changed"},
45363+ {21, "SIGURG", "urgent I/O condition"},
45364+ {22, "SIGIO", "I/O possible"},
45365+ {23, "SIGSTOP", "stopped (signal)"},
45366+ {24, "SIGTSTP", "stopped"},
45367+ {25, "SIGCONT", "continued"},
45368+ {26, "SIGTTIN", "stopped (tty input)"},
45369+ {27, "SIGTTOU", "stopped (tty output)"},
45370+ {28, "SIGVTALRM", "virtual timer expired"},
45371+ {29, "SIGPROF", "profiling timer expired"},
45372+ {30, "SIGXCPU", "CPU time limit exceeded"},
45373+ {31, "SIGXFSZ", "file size limit exceeded"},
45374 }
45375diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go
45376index 44191b0c..2dfe6bba 100644
45377--- a/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go
45378+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go
45379@@ -3,7 +3,7 @@
45380
45381 // +build mipsle,linux
45382
45383-// Created by cgo -godefs - DO NOT EDIT
45384+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
45385 // cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
45386
45387 package unix
45388@@ -11,1873 +11,489 @@ package unix
45389 import "syscall"
45390
45391 const (
45392- AF_ALG = 0x26
45393- AF_APPLETALK = 0x5
45394- AF_ASH = 0x12
45395- AF_ATMPVC = 0x8
45396- AF_ATMSVC = 0x14
45397- AF_AX25 = 0x3
45398- AF_BLUETOOTH = 0x1f
45399- AF_BRIDGE = 0x7
45400- AF_CAIF = 0x25
45401- AF_CAN = 0x1d
45402- AF_DECnet = 0xc
45403- AF_ECONET = 0x13
45404- AF_FILE = 0x1
45405- AF_IB = 0x1b
45406- AF_IEEE802154 = 0x24
45407- AF_INET = 0x2
45408- AF_INET6 = 0xa
45409- AF_IPX = 0x4
45410- AF_IRDA = 0x17
45411- AF_ISDN = 0x22
45412- AF_IUCV = 0x20
45413- AF_KCM = 0x29
45414- AF_KEY = 0xf
45415- AF_LLC = 0x1a
45416- AF_LOCAL = 0x1
45417- AF_MAX = 0x2b
45418- AF_MPLS = 0x1c
45419- AF_NETBEUI = 0xd
45420- AF_NETLINK = 0x10
45421- AF_NETROM = 0x6
45422- AF_NFC = 0x27
45423- AF_PACKET = 0x11
45424- AF_PHONET = 0x23
45425- AF_PPPOX = 0x18
45426- AF_QIPCRTR = 0x2a
45427- AF_RDS = 0x15
45428- AF_ROSE = 0xb
45429- AF_ROUTE = 0x10
45430- AF_RXRPC = 0x21
45431- AF_SECURITY = 0xe
45432- AF_SNA = 0x16
45433- AF_TIPC = 0x1e
45434- AF_UNIX = 0x1
45435- AF_UNSPEC = 0x0
45436- AF_VSOCK = 0x28
45437- AF_WANPIPE = 0x19
45438- AF_X25 = 0x9
45439- ALG_OP_DECRYPT = 0x0
45440- ALG_OP_ENCRYPT = 0x1
45441- ALG_SET_AEAD_ASSOCLEN = 0x4
45442- ALG_SET_AEAD_AUTHSIZE = 0x5
45443- ALG_SET_IV = 0x2
45444- ALG_SET_KEY = 0x1
45445- ALG_SET_OP = 0x3
45446- ARPHRD_6LOWPAN = 0x339
45447- ARPHRD_ADAPT = 0x108
45448- ARPHRD_APPLETLK = 0x8
45449- ARPHRD_ARCNET = 0x7
45450- ARPHRD_ASH = 0x30d
45451- ARPHRD_ATM = 0x13
45452- ARPHRD_AX25 = 0x3
45453- ARPHRD_BIF = 0x307
45454- ARPHRD_CAIF = 0x336
45455- ARPHRD_CAN = 0x118
45456- ARPHRD_CHAOS = 0x5
45457- ARPHRD_CISCO = 0x201
45458- ARPHRD_CSLIP = 0x101
45459- ARPHRD_CSLIP6 = 0x103
45460- ARPHRD_DDCMP = 0x205
45461- ARPHRD_DLCI = 0xf
45462- ARPHRD_ECONET = 0x30e
45463- ARPHRD_EETHER = 0x2
45464- ARPHRD_ETHER = 0x1
45465- ARPHRD_EUI64 = 0x1b
45466- ARPHRD_FCAL = 0x311
45467- ARPHRD_FCFABRIC = 0x313
45468- ARPHRD_FCPL = 0x312
45469- ARPHRD_FCPP = 0x310
45470- ARPHRD_FDDI = 0x306
45471- ARPHRD_FRAD = 0x302
45472- ARPHRD_HDLC = 0x201
45473- ARPHRD_HIPPI = 0x30c
45474- ARPHRD_HWX25 = 0x110
45475- ARPHRD_IEEE1394 = 0x18
45476- ARPHRD_IEEE802 = 0x6
45477- ARPHRD_IEEE80211 = 0x321
45478- ARPHRD_IEEE80211_PRISM = 0x322
45479- ARPHRD_IEEE80211_RADIOTAP = 0x323
45480- ARPHRD_IEEE802154 = 0x324
45481- ARPHRD_IEEE802154_MONITOR = 0x325
45482- ARPHRD_IEEE802_TR = 0x320
45483- ARPHRD_INFINIBAND = 0x20
45484- ARPHRD_IP6GRE = 0x337
45485- ARPHRD_IPDDP = 0x309
45486- ARPHRD_IPGRE = 0x30a
45487- ARPHRD_IRDA = 0x30f
45488- ARPHRD_LAPB = 0x204
45489- ARPHRD_LOCALTLK = 0x305
45490- ARPHRD_LOOPBACK = 0x304
45491- ARPHRD_METRICOM = 0x17
45492- ARPHRD_NETLINK = 0x338
45493- ARPHRD_NETROM = 0x0
45494- ARPHRD_NONE = 0xfffe
45495- ARPHRD_PHONET = 0x334
45496- ARPHRD_PHONET_PIPE = 0x335
45497- ARPHRD_PIMREG = 0x30b
45498- ARPHRD_PPP = 0x200
45499- ARPHRD_PRONET = 0x4
45500- ARPHRD_RAWHDLC = 0x206
45501- ARPHRD_ROSE = 0x10e
45502- ARPHRD_RSRVD = 0x104
45503- ARPHRD_SIT = 0x308
45504- ARPHRD_SKIP = 0x303
45505- ARPHRD_SLIP = 0x100
45506- ARPHRD_SLIP6 = 0x102
45507- ARPHRD_TUNNEL = 0x300
45508- ARPHRD_TUNNEL6 = 0x301
45509- ARPHRD_VOID = 0xffff
45510- ARPHRD_X25 = 0x10f
45511- B0 = 0x0
45512- B1000000 = 0x1008
45513- B110 = 0x3
45514- B115200 = 0x1002
45515- B1152000 = 0x1009
45516- B1200 = 0x9
45517- B134 = 0x4
45518- B150 = 0x5
45519- B1500000 = 0x100a
45520- B1800 = 0xa
45521- B19200 = 0xe
45522- B200 = 0x6
45523- B2000000 = 0x100b
45524- B230400 = 0x1003
45525- B2400 = 0xb
45526- B2500000 = 0x100c
45527- B300 = 0x7
45528- B3000000 = 0x100d
45529- B3500000 = 0x100e
45530- B38400 = 0xf
45531- B4000000 = 0x100f
45532- B460800 = 0x1004
45533- B4800 = 0xc
45534- B50 = 0x1
45535- B500000 = 0x1005
45536- B57600 = 0x1001
45537- B576000 = 0x1006
45538- B600 = 0x8
45539- B75 = 0x2
45540- B921600 = 0x1007
45541- B9600 = 0xd
45542- BLKBSZGET = 0x40041270
45543- BLKBSZSET = 0x80041271
45544- BLKFLSBUF = 0x20001261
45545- BLKFRAGET = 0x20001265
45546- BLKFRASET = 0x20001264
45547- BLKGETSIZE = 0x20001260
45548- BLKGETSIZE64 = 0x40041272
45549- BLKPBSZGET = 0x2000127b
45550- BLKRAGET = 0x20001263
45551- BLKRASET = 0x20001262
45552- BLKROGET = 0x2000125e
45553- BLKROSET = 0x2000125d
45554- BLKRRPART = 0x2000125f
45555- BLKSECTGET = 0x20001267
45556- BLKSECTSET = 0x20001266
45557- BLKSSZGET = 0x20001268
45558- BOTHER = 0x1000
45559- BPF_A = 0x10
45560- BPF_ABS = 0x20
45561- BPF_ADD = 0x0
45562- BPF_ALU = 0x4
45563- BPF_AND = 0x50
45564- BPF_B = 0x10
45565- BPF_DIV = 0x30
45566- BPF_H = 0x8
45567- BPF_IMM = 0x0
45568- BPF_IND = 0x40
45569- BPF_JA = 0x0
45570- BPF_JEQ = 0x10
45571- BPF_JGE = 0x30
45572- BPF_JGT = 0x20
45573- BPF_JMP = 0x5
45574- BPF_JSET = 0x40
45575- BPF_K = 0x0
45576- BPF_LD = 0x0
45577- BPF_LDX = 0x1
45578- BPF_LEN = 0x80
45579- BPF_LL_OFF = -0x200000
45580- BPF_LSH = 0x60
45581- BPF_MAJOR_VERSION = 0x1
45582- BPF_MAXINSNS = 0x1000
45583- BPF_MEM = 0x60
45584- BPF_MEMWORDS = 0x10
45585- BPF_MINOR_VERSION = 0x1
45586- BPF_MISC = 0x7
45587- BPF_MOD = 0x90
45588- BPF_MSH = 0xa0
45589- BPF_MUL = 0x20
45590- BPF_NEG = 0x80
45591- BPF_NET_OFF = -0x100000
45592- BPF_OR = 0x40
45593- BPF_RET = 0x6
45594- BPF_RSH = 0x70
45595- BPF_ST = 0x2
45596- BPF_STX = 0x3
45597- BPF_SUB = 0x10
45598- BPF_TAX = 0x0
45599- BPF_TXA = 0x80
45600- BPF_W = 0x0
45601- BPF_X = 0x8
45602- BPF_XOR = 0xa0
45603- BRKINT = 0x2
45604- BS0 = 0x0
45605- BS1 = 0x2000
45606- BSDLY = 0x2000
45607- CAN_BCM = 0x2
45608- CAN_EFF_FLAG = 0x80000000
45609- CAN_EFF_ID_BITS = 0x1d
45610- CAN_EFF_MASK = 0x1fffffff
45611- CAN_ERR_FLAG = 0x20000000
45612- CAN_ERR_MASK = 0x1fffffff
45613- CAN_INV_FILTER = 0x20000000
45614- CAN_ISOTP = 0x6
45615- CAN_MAX_DLC = 0x8
45616- CAN_MAX_DLEN = 0x8
45617- CAN_MCNET = 0x5
45618- CAN_MTU = 0x10
45619- CAN_NPROTO = 0x7
45620- CAN_RAW = 0x1
45621- CAN_RAW_FILTER_MAX = 0x200
45622- CAN_RTR_FLAG = 0x40000000
45623- CAN_SFF_ID_BITS = 0xb
45624- CAN_SFF_MASK = 0x7ff
45625- CAN_TP16 = 0x3
45626- CAN_TP20 = 0x4
45627- CBAUD = 0x100f
45628- CBAUDEX = 0x1000
45629- CFLUSH = 0xf
45630- CIBAUD = 0x100f0000
45631- CLOCAL = 0x800
45632- CLOCK_BOOTTIME = 0x7
45633- CLOCK_BOOTTIME_ALARM = 0x9
45634- CLOCK_DEFAULT = 0x0
45635- CLOCK_EXT = 0x1
45636- CLOCK_INT = 0x2
45637- CLOCK_MONOTONIC = 0x1
45638- CLOCK_MONOTONIC_COARSE = 0x6
45639- CLOCK_MONOTONIC_RAW = 0x4
45640- CLOCK_PROCESS_CPUTIME_ID = 0x2
45641- CLOCK_REALTIME = 0x0
45642- CLOCK_REALTIME_ALARM = 0x8
45643- CLOCK_REALTIME_COARSE = 0x5
45644- CLOCK_TAI = 0xb
45645- CLOCK_THREAD_CPUTIME_ID = 0x3
45646- CLOCK_TXFROMRX = 0x4
45647- CLOCK_TXINT = 0x3
45648- CLONE_CHILD_CLEARTID = 0x200000
45649- CLONE_CHILD_SETTID = 0x1000000
45650- CLONE_DETACHED = 0x400000
45651- CLONE_FILES = 0x400
45652- CLONE_FS = 0x200
45653- CLONE_IO = 0x80000000
45654- CLONE_NEWCGROUP = 0x2000000
45655- CLONE_NEWIPC = 0x8000000
45656- CLONE_NEWNET = 0x40000000
45657- CLONE_NEWNS = 0x20000
45658- CLONE_NEWPID = 0x20000000
45659- CLONE_NEWUSER = 0x10000000
45660- CLONE_NEWUTS = 0x4000000
45661- CLONE_PARENT = 0x8000
45662- CLONE_PARENT_SETTID = 0x100000
45663- CLONE_PTRACE = 0x2000
45664- CLONE_SETTLS = 0x80000
45665- CLONE_SIGHAND = 0x800
45666- CLONE_SYSVSEM = 0x40000
45667- CLONE_THREAD = 0x10000
45668- CLONE_UNTRACED = 0x800000
45669- CLONE_VFORK = 0x4000
45670- CLONE_VM = 0x100
45671- CMSPAR = 0x40000000
45672- CR0 = 0x0
45673- CR1 = 0x200
45674- CR2 = 0x400
45675- CR3 = 0x600
45676- CRDLY = 0x600
45677- CREAD = 0x80
45678- CRTSCTS = 0x80000000
45679- CS5 = 0x0
45680- CS6 = 0x10
45681- CS7 = 0x20
45682- CS8 = 0x30
45683- CSIGNAL = 0xff
45684- CSIZE = 0x30
45685- CSTART = 0x11
45686- CSTATUS = 0x0
45687- CSTOP = 0x13
45688- CSTOPB = 0x40
45689- CSUSP = 0x1a
45690- DT_BLK = 0x6
45691- DT_CHR = 0x2
45692- DT_DIR = 0x4
45693- DT_FIFO = 0x1
45694- DT_LNK = 0xa
45695- DT_REG = 0x8
45696- DT_SOCK = 0xc
45697- DT_UNKNOWN = 0x0
45698- DT_WHT = 0xe
45699- ECHO = 0x8
45700- ECHOCTL = 0x200
45701- ECHOE = 0x10
45702- ECHOK = 0x20
45703- ECHOKE = 0x800
45704- ECHONL = 0x40
45705- ECHOPRT = 0x400
45706- EFD_CLOEXEC = 0x80000
45707- EFD_NONBLOCK = 0x80
45708- EFD_SEMAPHORE = 0x1
45709- ENCODING_DEFAULT = 0x0
45710- ENCODING_FM_MARK = 0x3
45711- ENCODING_FM_SPACE = 0x4
45712- ENCODING_MANCHESTER = 0x5
45713- ENCODING_NRZ = 0x1
45714- ENCODING_NRZI = 0x2
45715- EPOLLERR = 0x8
45716- EPOLLET = 0x80000000
45717- EPOLLEXCLUSIVE = 0x10000000
45718- EPOLLHUP = 0x10
45719- EPOLLIN = 0x1
45720- EPOLLMSG = 0x400
45721- EPOLLONESHOT = 0x40000000
45722- EPOLLOUT = 0x4
45723- EPOLLPRI = 0x2
45724- EPOLLRDBAND = 0x80
45725- EPOLLRDHUP = 0x2000
45726- EPOLLRDNORM = 0x40
45727- EPOLLWAKEUP = 0x20000000
45728- EPOLLWRBAND = 0x200
45729- EPOLLWRNORM = 0x100
45730- EPOLL_CLOEXEC = 0x80000
45731- EPOLL_CTL_ADD = 0x1
45732- EPOLL_CTL_DEL = 0x2
45733- EPOLL_CTL_MOD = 0x3
45734- ETH_P_1588 = 0x88f7
45735- ETH_P_8021AD = 0x88a8
45736- ETH_P_8021AH = 0x88e7
45737- ETH_P_8021Q = 0x8100
45738- ETH_P_80221 = 0x8917
45739- ETH_P_802_2 = 0x4
45740- ETH_P_802_3 = 0x1
45741- ETH_P_802_3_MIN = 0x600
45742- ETH_P_802_EX1 = 0x88b5
45743- ETH_P_AARP = 0x80f3
45744- ETH_P_AF_IUCV = 0xfbfb
45745- ETH_P_ALL = 0x3
45746- ETH_P_AOE = 0x88a2
45747- ETH_P_ARCNET = 0x1a
45748- ETH_P_ARP = 0x806
45749- ETH_P_ATALK = 0x809b
45750- ETH_P_ATMFATE = 0x8884
45751- ETH_P_ATMMPOA = 0x884c
45752- ETH_P_AX25 = 0x2
45753- ETH_P_BATMAN = 0x4305
45754- ETH_P_BPQ = 0x8ff
45755- ETH_P_CAIF = 0xf7
45756- ETH_P_CAN = 0xc
45757- ETH_P_CANFD = 0xd
45758- ETH_P_CONTROL = 0x16
45759- ETH_P_CUST = 0x6006
45760- ETH_P_DDCMP = 0x6
45761- ETH_P_DEC = 0x6000
45762- ETH_P_DIAG = 0x6005
45763- ETH_P_DNA_DL = 0x6001
45764- ETH_P_DNA_RC = 0x6002
45765- ETH_P_DNA_RT = 0x6003
45766- ETH_P_DSA = 0x1b
45767- ETH_P_ECONET = 0x18
45768- ETH_P_EDSA = 0xdada
45769- ETH_P_FCOE = 0x8906
45770- ETH_P_FIP = 0x8914
45771- ETH_P_HDLC = 0x19
45772- ETH_P_HSR = 0x892f
45773- ETH_P_IEEE802154 = 0xf6
45774- ETH_P_IEEEPUP = 0xa00
45775- ETH_P_IEEEPUPAT = 0xa01
45776- ETH_P_IP = 0x800
45777- ETH_P_IPV6 = 0x86dd
45778- ETH_P_IPX = 0x8137
45779- ETH_P_IRDA = 0x17
45780- ETH_P_LAT = 0x6004
45781- ETH_P_LINK_CTL = 0x886c
45782- ETH_P_LOCALTALK = 0x9
45783- ETH_P_LOOP = 0x60
45784- ETH_P_LOOPBACK = 0x9000
45785- ETH_P_MACSEC = 0x88e5
45786- ETH_P_MOBITEX = 0x15
45787- ETH_P_MPLS_MC = 0x8848
45788- ETH_P_MPLS_UC = 0x8847
45789- ETH_P_MVRP = 0x88f5
45790- ETH_P_NCSI = 0x88f8
45791- ETH_P_PAE = 0x888e
45792- ETH_P_PAUSE = 0x8808
45793- ETH_P_PHONET = 0xf5
45794- ETH_P_PPPTALK = 0x10
45795- ETH_P_PPP_DISC = 0x8863
45796- ETH_P_PPP_MP = 0x8
45797- ETH_P_PPP_SES = 0x8864
45798- ETH_P_PRP = 0x88fb
45799- ETH_P_PUP = 0x200
45800- ETH_P_PUPAT = 0x201
45801- ETH_P_QINQ1 = 0x9100
45802- ETH_P_QINQ2 = 0x9200
45803- ETH_P_QINQ3 = 0x9300
45804- ETH_P_RARP = 0x8035
45805- ETH_P_SCA = 0x6007
45806- ETH_P_SLOW = 0x8809
45807- ETH_P_SNAP = 0x5
45808- ETH_P_TDLS = 0x890d
45809- ETH_P_TEB = 0x6558
45810- ETH_P_TIPC = 0x88ca
45811- ETH_P_TRAILER = 0x1c
45812- ETH_P_TR_802_2 = 0x11
45813- ETH_P_TSN = 0x22f0
45814- ETH_P_WAN_PPP = 0x7
45815- ETH_P_WCCP = 0x883e
45816- ETH_P_X25 = 0x805
45817- ETH_P_XDSA = 0xf8
45818- EXTA = 0xe
45819- EXTB = 0xf
45820- EXTPROC = 0x10000
45821- FALLOC_FL_COLLAPSE_RANGE = 0x8
45822- FALLOC_FL_INSERT_RANGE = 0x20
45823- FALLOC_FL_KEEP_SIZE = 0x1
45824- FALLOC_FL_NO_HIDE_STALE = 0x4
45825- FALLOC_FL_PUNCH_HOLE = 0x2
45826- FALLOC_FL_UNSHARE_RANGE = 0x40
45827- FALLOC_FL_ZERO_RANGE = 0x10
45828- FD_CLOEXEC = 0x1
45829- FD_SETSIZE = 0x400
45830- FF0 = 0x0
45831- FF1 = 0x8000
45832- FFDLY = 0x8000
45833- FLUSHO = 0x2000
45834- FS_ENCRYPTION_MODE_AES_256_CBC = 0x3
45835- FS_ENCRYPTION_MODE_AES_256_CTS = 0x4
45836- FS_ENCRYPTION_MODE_AES_256_GCM = 0x2
45837- FS_ENCRYPTION_MODE_AES_256_XTS = 0x1
45838- FS_ENCRYPTION_MODE_INVALID = 0x0
45839- FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615
45840- FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614
45841- FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613
45842- FS_KEY_DESCRIPTOR_SIZE = 0x8
45843- FS_KEY_DESC_PREFIX = "fscrypt:"
45844- FS_KEY_DESC_PREFIX_SIZE = 0x8
45845- FS_MAX_KEY_SIZE = 0x40
45846- FS_POLICY_FLAGS_PAD_16 = 0x2
45847- FS_POLICY_FLAGS_PAD_32 = 0x3
45848- FS_POLICY_FLAGS_PAD_4 = 0x0
45849- FS_POLICY_FLAGS_PAD_8 = 0x1
45850- FS_POLICY_FLAGS_PAD_MASK = 0x3
45851- FS_POLICY_FLAGS_VALID = 0x3
45852- F_DUPFD = 0x0
45853- F_DUPFD_CLOEXEC = 0x406
45854- F_EXLCK = 0x4
45855- F_GETFD = 0x1
45856- F_GETFL = 0x3
45857- F_GETLEASE = 0x401
45858- F_GETLK = 0x21
45859- F_GETLK64 = 0x21
45860- F_GETOWN = 0x17
45861- F_GETOWN_EX = 0x10
45862- F_GETPIPE_SZ = 0x408
45863- F_GETSIG = 0xb
45864- F_LOCK = 0x1
45865- F_NOTIFY = 0x402
45866- F_OFD_GETLK = 0x24
45867- F_OFD_SETLK = 0x25
45868- F_OFD_SETLKW = 0x26
45869- F_OK = 0x0
45870- F_RDLCK = 0x0
45871- F_SETFD = 0x2
45872- F_SETFL = 0x4
45873- F_SETLEASE = 0x400
45874- F_SETLK = 0x22
45875- F_SETLK64 = 0x22
45876- F_SETLKW = 0x23
45877- F_SETLKW64 = 0x23
45878- F_SETOWN = 0x18
45879- F_SETOWN_EX = 0xf
45880- F_SETPIPE_SZ = 0x407
45881- F_SETSIG = 0xa
45882- F_SHLCK = 0x8
45883- F_TEST = 0x3
45884- F_TLOCK = 0x2
45885- F_ULOCK = 0x0
45886- F_UNLCK = 0x2
45887- F_WRLCK = 0x1
45888- GENL_ADMIN_PERM = 0x1
45889- GENL_CMD_CAP_DO = 0x2
45890- GENL_CMD_CAP_DUMP = 0x4
45891- GENL_CMD_CAP_HASPOL = 0x8
45892- GENL_HDRLEN = 0x4
45893- GENL_ID_CTRL = 0x10
45894- GENL_ID_PMCRAID = 0x12
45895- GENL_ID_VFS_DQUOT = 0x11
45896- GENL_MAX_ID = 0x3ff
45897- GENL_MIN_ID = 0x10
45898- GENL_NAMSIZ = 0x10
45899- GENL_START_ALLOC = 0x13
45900- GENL_UNS_ADMIN_PERM = 0x10
45901- GRND_NONBLOCK = 0x1
45902- GRND_RANDOM = 0x2
45903- HUPCL = 0x400
45904- IBSHIFT = 0x10
45905- ICANON = 0x2
45906- ICMPV6_FILTER = 0x1
45907- ICRNL = 0x100
45908- IEXTEN = 0x100
45909- IFA_F_DADFAILED = 0x8
45910- IFA_F_DEPRECATED = 0x20
45911- IFA_F_HOMEADDRESS = 0x10
45912- IFA_F_MANAGETEMPADDR = 0x100
45913- IFA_F_MCAUTOJOIN = 0x400
45914- IFA_F_NODAD = 0x2
45915- IFA_F_NOPREFIXROUTE = 0x200
45916- IFA_F_OPTIMISTIC = 0x4
45917- IFA_F_PERMANENT = 0x80
45918- IFA_F_SECONDARY = 0x1
45919- IFA_F_STABLE_PRIVACY = 0x800
45920- IFA_F_TEMPORARY = 0x1
45921- IFA_F_TENTATIVE = 0x40
45922- IFA_MAX = 0x8
45923- IFF_ALLMULTI = 0x200
45924- IFF_ATTACH_QUEUE = 0x200
45925- IFF_AUTOMEDIA = 0x4000
45926- IFF_BROADCAST = 0x2
45927- IFF_DEBUG = 0x4
45928- IFF_DETACH_QUEUE = 0x400
45929- IFF_DORMANT = 0x20000
45930- IFF_DYNAMIC = 0x8000
45931- IFF_ECHO = 0x40000
45932- IFF_LOOPBACK = 0x8
45933- IFF_LOWER_UP = 0x10000
45934- IFF_MASTER = 0x400
45935- IFF_MULTICAST = 0x1000
45936- IFF_MULTI_QUEUE = 0x100
45937- IFF_NOARP = 0x80
45938- IFF_NOFILTER = 0x1000
45939- IFF_NOTRAILERS = 0x20
45940- IFF_NO_PI = 0x1000
45941- IFF_ONE_QUEUE = 0x2000
45942- IFF_PERSIST = 0x800
45943- IFF_POINTOPOINT = 0x10
45944- IFF_PORTSEL = 0x2000
45945- IFF_PROMISC = 0x100
45946- IFF_RUNNING = 0x40
45947- IFF_SLAVE = 0x800
45948- IFF_TAP = 0x2
45949- IFF_TUN = 0x1
45950- IFF_TUN_EXCL = 0x8000
45951- IFF_UP = 0x1
45952- IFF_VNET_HDR = 0x4000
45953- IFF_VOLATILE = 0x70c5a
45954- IFNAMSIZ = 0x10
45955- IGNBRK = 0x1
45956- IGNCR = 0x80
45957- IGNPAR = 0x4
45958- IMAXBEL = 0x2000
45959- INLCR = 0x40
45960- INPCK = 0x10
45961- IN_ACCESS = 0x1
45962- IN_ALL_EVENTS = 0xfff
45963- IN_ATTRIB = 0x4
45964- IN_CLASSA_HOST = 0xffffff
45965- IN_CLASSA_MAX = 0x80
45966- IN_CLASSA_NET = 0xff000000
45967- IN_CLASSA_NSHIFT = 0x18
45968- IN_CLASSB_HOST = 0xffff
45969- IN_CLASSB_MAX = 0x10000
45970- IN_CLASSB_NET = 0xffff0000
45971- IN_CLASSB_NSHIFT = 0x10
45972- IN_CLASSC_HOST = 0xff
45973- IN_CLASSC_NET = 0xffffff00
45974- IN_CLASSC_NSHIFT = 0x8
45975- IN_CLOEXEC = 0x80000
45976- IN_CLOSE = 0x18
45977- IN_CLOSE_NOWRITE = 0x10
45978- IN_CLOSE_WRITE = 0x8
45979- IN_CREATE = 0x100
45980- IN_DELETE = 0x200
45981- IN_DELETE_SELF = 0x400
45982- IN_DONT_FOLLOW = 0x2000000
45983- IN_EXCL_UNLINK = 0x4000000
45984- IN_IGNORED = 0x8000
45985- IN_ISDIR = 0x40000000
45986- IN_LOOPBACKNET = 0x7f
45987- IN_MASK_ADD = 0x20000000
45988- IN_MODIFY = 0x2
45989- IN_MOVE = 0xc0
45990- IN_MOVED_FROM = 0x40
45991- IN_MOVED_TO = 0x80
45992- IN_MOVE_SELF = 0x800
45993- IN_NONBLOCK = 0x80
45994- IN_ONESHOT = 0x80000000
45995- IN_ONLYDIR = 0x1000000
45996- IN_OPEN = 0x20
45997- IN_Q_OVERFLOW = 0x4000
45998- IN_UNMOUNT = 0x2000
45999- IPPROTO_AH = 0x33
46000- IPPROTO_BEETPH = 0x5e
46001- IPPROTO_COMP = 0x6c
46002- IPPROTO_DCCP = 0x21
46003- IPPROTO_DSTOPTS = 0x3c
46004- IPPROTO_EGP = 0x8
46005- IPPROTO_ENCAP = 0x62
46006- IPPROTO_ESP = 0x32
46007- IPPROTO_FRAGMENT = 0x2c
46008- IPPROTO_GRE = 0x2f
46009- IPPROTO_HOPOPTS = 0x0
46010- IPPROTO_ICMP = 0x1
46011- IPPROTO_ICMPV6 = 0x3a
46012- IPPROTO_IDP = 0x16
46013- IPPROTO_IGMP = 0x2
46014- IPPROTO_IP = 0x0
46015- IPPROTO_IPIP = 0x4
46016- IPPROTO_IPV6 = 0x29
46017- IPPROTO_MH = 0x87
46018- IPPROTO_MPLS = 0x89
46019- IPPROTO_MTP = 0x5c
46020- IPPROTO_NONE = 0x3b
46021- IPPROTO_PIM = 0x67
46022- IPPROTO_PUP = 0xc
46023- IPPROTO_RAW = 0xff
46024- IPPROTO_ROUTING = 0x2b
46025- IPPROTO_RSVP = 0x2e
46026- IPPROTO_SCTP = 0x84
46027- IPPROTO_TCP = 0x6
46028- IPPROTO_TP = 0x1d
46029- IPPROTO_UDP = 0x11
46030- IPPROTO_UDPLITE = 0x88
46031- IPV6_2292DSTOPTS = 0x4
46032- IPV6_2292HOPLIMIT = 0x8
46033- IPV6_2292HOPOPTS = 0x3
46034- IPV6_2292PKTINFO = 0x2
46035- IPV6_2292PKTOPTIONS = 0x6
46036- IPV6_2292RTHDR = 0x5
46037- IPV6_ADDRFORM = 0x1
46038- IPV6_ADD_MEMBERSHIP = 0x14
46039- IPV6_AUTHHDR = 0xa
46040- IPV6_CHECKSUM = 0x7
46041- IPV6_DONTFRAG = 0x3e
46042- IPV6_DROP_MEMBERSHIP = 0x15
46043- IPV6_DSTOPTS = 0x3b
46044- IPV6_HDRINCL = 0x24
46045- IPV6_HOPLIMIT = 0x34
46046- IPV6_HOPOPTS = 0x36
46047- IPV6_IPSEC_POLICY = 0x22
46048- IPV6_JOIN_ANYCAST = 0x1b
46049- IPV6_JOIN_GROUP = 0x14
46050- IPV6_LEAVE_ANYCAST = 0x1c
46051- IPV6_LEAVE_GROUP = 0x15
46052- IPV6_MTU = 0x18
46053- IPV6_MTU_DISCOVER = 0x17
46054- IPV6_MULTICAST_HOPS = 0x12
46055- IPV6_MULTICAST_IF = 0x11
46056- IPV6_MULTICAST_LOOP = 0x13
46057- IPV6_NEXTHOP = 0x9
46058- IPV6_PATHMTU = 0x3d
46059- IPV6_PKTINFO = 0x32
46060- IPV6_PMTUDISC_DO = 0x2
46061- IPV6_PMTUDISC_DONT = 0x0
46062- IPV6_PMTUDISC_INTERFACE = 0x4
46063- IPV6_PMTUDISC_OMIT = 0x5
46064- IPV6_PMTUDISC_PROBE = 0x3
46065- IPV6_PMTUDISC_WANT = 0x1
46066- IPV6_RECVDSTOPTS = 0x3a
46067- IPV6_RECVERR = 0x19
46068- IPV6_RECVHOPLIMIT = 0x33
46069- IPV6_RECVHOPOPTS = 0x35
46070- IPV6_RECVPATHMTU = 0x3c
46071- IPV6_RECVPKTINFO = 0x31
46072- IPV6_RECVRTHDR = 0x38
46073- IPV6_RECVTCLASS = 0x42
46074- IPV6_ROUTER_ALERT = 0x16
46075- IPV6_RTHDR = 0x39
46076- IPV6_RTHDRDSTOPTS = 0x37
46077- IPV6_RTHDR_LOOSE = 0x0
46078- IPV6_RTHDR_STRICT = 0x1
46079- IPV6_RTHDR_TYPE_0 = 0x0
46080- IPV6_RXDSTOPTS = 0x3b
46081- IPV6_RXHOPOPTS = 0x36
46082- IPV6_TCLASS = 0x43
46083- IPV6_UNICAST_HOPS = 0x10
46084- IPV6_V6ONLY = 0x1a
46085- IPV6_XFRM_POLICY = 0x23
46086- IP_ADD_MEMBERSHIP = 0x23
46087- IP_ADD_SOURCE_MEMBERSHIP = 0x27
46088- IP_BIND_ADDRESS_NO_PORT = 0x18
46089- IP_BLOCK_SOURCE = 0x26
46090- IP_CHECKSUM = 0x17
46091- IP_DEFAULT_MULTICAST_LOOP = 0x1
46092- IP_DEFAULT_MULTICAST_TTL = 0x1
46093- IP_DF = 0x4000
46094- IP_DROP_MEMBERSHIP = 0x24
46095- IP_DROP_SOURCE_MEMBERSHIP = 0x28
46096- IP_FREEBIND = 0xf
46097- IP_HDRINCL = 0x3
46098- IP_IPSEC_POLICY = 0x10
46099- IP_MAXPACKET = 0xffff
46100- IP_MAX_MEMBERSHIPS = 0x14
46101- IP_MF = 0x2000
46102- IP_MINTTL = 0x15
46103- IP_MSFILTER = 0x29
46104- IP_MSS = 0x240
46105- IP_MTU = 0xe
46106- IP_MTU_DISCOVER = 0xa
46107- IP_MULTICAST_ALL = 0x31
46108- IP_MULTICAST_IF = 0x20
46109- IP_MULTICAST_LOOP = 0x22
46110- IP_MULTICAST_TTL = 0x21
46111- IP_NODEFRAG = 0x16
46112- IP_OFFMASK = 0x1fff
46113- IP_OPTIONS = 0x4
46114- IP_ORIGDSTADDR = 0x14
46115- IP_PASSSEC = 0x12
46116- IP_PKTINFO = 0x8
46117- IP_PKTOPTIONS = 0x9
46118- IP_PMTUDISC = 0xa
46119- IP_PMTUDISC_DO = 0x2
46120- IP_PMTUDISC_DONT = 0x0
46121- IP_PMTUDISC_INTERFACE = 0x4
46122- IP_PMTUDISC_OMIT = 0x5
46123- IP_PMTUDISC_PROBE = 0x3
46124- IP_PMTUDISC_WANT = 0x1
46125- IP_RECVERR = 0xb
46126- IP_RECVOPTS = 0x6
46127- IP_RECVORIGDSTADDR = 0x14
46128- IP_RECVRETOPTS = 0x7
46129- IP_RECVTOS = 0xd
46130- IP_RECVTTL = 0xc
46131- IP_RETOPTS = 0x7
46132- IP_RF = 0x8000
46133- IP_ROUTER_ALERT = 0x5
46134- IP_TOS = 0x1
46135- IP_TRANSPARENT = 0x13
46136- IP_TTL = 0x2
46137- IP_UNBLOCK_SOURCE = 0x25
46138- IP_UNICAST_IF = 0x32
46139- IP_XFRM_POLICY = 0x11
46140- ISIG = 0x1
46141- ISTRIP = 0x20
46142- IUCLC = 0x200
46143- IUTF8 = 0x4000
46144- IXANY = 0x800
46145- IXOFF = 0x1000
46146- IXON = 0x400
46147- KEYCTL_ASSUME_AUTHORITY = 0x10
46148- KEYCTL_CHOWN = 0x4
46149- KEYCTL_CLEAR = 0x7
46150- KEYCTL_DESCRIBE = 0x6
46151- KEYCTL_DH_COMPUTE = 0x17
46152- KEYCTL_GET_KEYRING_ID = 0x0
46153- KEYCTL_GET_PERSISTENT = 0x16
46154- KEYCTL_GET_SECURITY = 0x11
46155- KEYCTL_INSTANTIATE = 0xc
46156- KEYCTL_INSTANTIATE_IOV = 0x14
46157- KEYCTL_INVALIDATE = 0x15
46158- KEYCTL_JOIN_SESSION_KEYRING = 0x1
46159- KEYCTL_LINK = 0x8
46160- KEYCTL_NEGATE = 0xd
46161- KEYCTL_READ = 0xb
46162- KEYCTL_REJECT = 0x13
46163- KEYCTL_REVOKE = 0x3
46164- KEYCTL_SEARCH = 0xa
46165- KEYCTL_SESSION_TO_PARENT = 0x12
46166- KEYCTL_SETPERM = 0x5
46167- KEYCTL_SET_REQKEY_KEYRING = 0xe
46168- KEYCTL_SET_TIMEOUT = 0xf
46169- KEYCTL_UNLINK = 0x9
46170- KEYCTL_UPDATE = 0x2
46171- KEY_REQKEY_DEFL_DEFAULT = 0x0
46172- KEY_REQKEY_DEFL_GROUP_KEYRING = 0x6
46173- KEY_REQKEY_DEFL_NO_CHANGE = -0x1
46174- KEY_REQKEY_DEFL_PROCESS_KEYRING = 0x2
46175- KEY_REQKEY_DEFL_REQUESTOR_KEYRING = 0x7
46176- KEY_REQKEY_DEFL_SESSION_KEYRING = 0x3
46177- KEY_REQKEY_DEFL_THREAD_KEYRING = 0x1
46178- KEY_REQKEY_DEFL_USER_KEYRING = 0x4
46179- KEY_REQKEY_DEFL_USER_SESSION_KEYRING = 0x5
46180- KEY_SPEC_GROUP_KEYRING = -0x6
46181- KEY_SPEC_PROCESS_KEYRING = -0x2
46182- KEY_SPEC_REQKEY_AUTH_KEY = -0x7
46183- KEY_SPEC_REQUESTOR_KEYRING = -0x8
46184- KEY_SPEC_SESSION_KEYRING = -0x3
46185- KEY_SPEC_THREAD_KEYRING = -0x1
46186- KEY_SPEC_USER_KEYRING = -0x4
46187- KEY_SPEC_USER_SESSION_KEYRING = -0x5
46188- LINUX_REBOOT_CMD_CAD_OFF = 0x0
46189- LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
46190- LINUX_REBOOT_CMD_HALT = 0xcdef0123
46191- LINUX_REBOOT_CMD_KEXEC = 0x45584543
46192- LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
46193- LINUX_REBOOT_CMD_RESTART = 0x1234567
46194- LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
46195- LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
46196- LINUX_REBOOT_MAGIC1 = 0xfee1dead
46197- LINUX_REBOOT_MAGIC2 = 0x28121969
46198- LOCK_EX = 0x2
46199- LOCK_NB = 0x4
46200- LOCK_SH = 0x1
46201- LOCK_UN = 0x8
46202- MADV_DODUMP = 0x11
46203- MADV_DOFORK = 0xb
46204- MADV_DONTDUMP = 0x10
46205- MADV_DONTFORK = 0xa
46206- MADV_DONTNEED = 0x4
46207- MADV_FREE = 0x8
46208- MADV_HUGEPAGE = 0xe
46209- MADV_HWPOISON = 0x64
46210- MADV_MERGEABLE = 0xc
46211- MADV_NOHUGEPAGE = 0xf
46212- MADV_NORMAL = 0x0
46213- MADV_RANDOM = 0x1
46214- MADV_REMOVE = 0x9
46215- MADV_SEQUENTIAL = 0x2
46216- MADV_UNMERGEABLE = 0xd
46217- MADV_WILLNEED = 0x3
46218- MAP_ANON = 0x800
46219- MAP_ANONYMOUS = 0x800
46220- MAP_DENYWRITE = 0x2000
46221- MAP_EXECUTABLE = 0x4000
46222- MAP_FILE = 0x0
46223- MAP_FIXED = 0x10
46224- MAP_GROWSDOWN = 0x1000
46225- MAP_HUGETLB = 0x80000
46226- MAP_HUGE_MASK = 0x3f
46227- MAP_HUGE_SHIFT = 0x1a
46228- MAP_LOCKED = 0x8000
46229- MAP_NONBLOCK = 0x20000
46230- MAP_NORESERVE = 0x400
46231- MAP_POPULATE = 0x10000
46232- MAP_PRIVATE = 0x2
46233- MAP_RENAME = 0x800
46234- MAP_SHARED = 0x1
46235- MAP_STACK = 0x40000
46236- MAP_TYPE = 0xf
46237- MCL_CURRENT = 0x1
46238- MCL_FUTURE = 0x2
46239- MCL_ONFAULT = 0x4
46240- MNT_DETACH = 0x2
46241- MNT_EXPIRE = 0x4
46242- MNT_FORCE = 0x1
46243- MSG_BATCH = 0x40000
46244- MSG_CMSG_CLOEXEC = 0x40000000
46245- MSG_CONFIRM = 0x800
46246- MSG_CTRUNC = 0x8
46247- MSG_DONTROUTE = 0x4
46248- MSG_DONTWAIT = 0x40
46249- MSG_EOR = 0x80
46250- MSG_ERRQUEUE = 0x2000
46251- MSG_FASTOPEN = 0x20000000
46252- MSG_FIN = 0x200
46253- MSG_MORE = 0x8000
46254- MSG_NOSIGNAL = 0x4000
46255- MSG_OOB = 0x1
46256- MSG_PEEK = 0x2
46257- MSG_PROXY = 0x10
46258- MSG_RST = 0x1000
46259- MSG_SYN = 0x400
46260- MSG_TRUNC = 0x20
46261- MSG_TRYHARD = 0x4
46262- MSG_WAITALL = 0x100
46263- MSG_WAITFORONE = 0x10000
46264- MS_ACTIVE = 0x40000000
46265- MS_ASYNC = 0x1
46266- MS_BIND = 0x1000
46267- MS_BORN = 0x20000000
46268- MS_DIRSYNC = 0x80
46269- MS_INVALIDATE = 0x2
46270- MS_I_VERSION = 0x800000
46271- MS_KERNMOUNT = 0x400000
46272- MS_LAZYTIME = 0x2000000
46273- MS_MANDLOCK = 0x40
46274- MS_MGC_MSK = 0xffff0000
46275- MS_MGC_VAL = 0xc0ed0000
46276- MS_MOVE = 0x2000
46277- MS_NOATIME = 0x400
46278- MS_NODEV = 0x4
46279- MS_NODIRATIME = 0x800
46280- MS_NOEXEC = 0x8
46281- MS_NOREMOTELOCK = 0x8000000
46282- MS_NOSEC = 0x10000000
46283- MS_NOSUID = 0x2
46284- MS_NOUSER = -0x80000000
46285- MS_POSIXACL = 0x10000
46286- MS_PRIVATE = 0x40000
46287- MS_RDONLY = 0x1
46288- MS_REC = 0x4000
46289- MS_RELATIME = 0x200000
46290- MS_REMOUNT = 0x20
46291- MS_RMT_MASK = 0x2800051
46292- MS_SHARED = 0x100000
46293- MS_SILENT = 0x8000
46294- MS_SLAVE = 0x80000
46295- MS_STRICTATIME = 0x1000000
46296- MS_SYNC = 0x4
46297- MS_SYNCHRONOUS = 0x10
46298- MS_UNBINDABLE = 0x20000
46299- MS_VERBOSE = 0x8000
46300- NAME_MAX = 0xff
46301- NETLINK_ADD_MEMBERSHIP = 0x1
46302- NETLINK_AUDIT = 0x9
46303- NETLINK_BROADCAST_ERROR = 0x4
46304- NETLINK_CAP_ACK = 0xa
46305- NETLINK_CONNECTOR = 0xb
46306- NETLINK_CRYPTO = 0x15
46307- NETLINK_DNRTMSG = 0xe
46308- NETLINK_DROP_MEMBERSHIP = 0x2
46309- NETLINK_ECRYPTFS = 0x13
46310- NETLINK_FIB_LOOKUP = 0xa
46311- NETLINK_FIREWALL = 0x3
46312- NETLINK_GENERIC = 0x10
46313- NETLINK_INET_DIAG = 0x4
46314- NETLINK_IP6_FW = 0xd
46315- NETLINK_ISCSI = 0x8
46316- NETLINK_KOBJECT_UEVENT = 0xf
46317- NETLINK_LISTEN_ALL_NSID = 0x8
46318- NETLINK_LIST_MEMBERSHIPS = 0x9
46319- NETLINK_NETFILTER = 0xc
46320- NETLINK_NFLOG = 0x5
46321- NETLINK_NO_ENOBUFS = 0x5
46322- NETLINK_PKTINFO = 0x3
46323- NETLINK_RDMA = 0x14
46324- NETLINK_ROUTE = 0x0
46325- NETLINK_RX_RING = 0x6
46326- NETLINK_SCSITRANSPORT = 0x12
46327- NETLINK_SELINUX = 0x7
46328- NETLINK_SOCK_DIAG = 0x4
46329- NETLINK_TX_RING = 0x7
46330- NETLINK_UNUSED = 0x1
46331- NETLINK_USERSOCK = 0x2
46332- NETLINK_XFRM = 0x6
46333- NL0 = 0x0
46334- NL1 = 0x100
46335- NLA_ALIGNTO = 0x4
46336- NLA_F_NESTED = 0x8000
46337- NLA_F_NET_BYTEORDER = 0x4000
46338- NLA_HDRLEN = 0x4
46339- NLDLY = 0x100
46340- NLMSG_ALIGNTO = 0x4
46341- NLMSG_DONE = 0x3
46342- NLMSG_ERROR = 0x2
46343- NLMSG_HDRLEN = 0x10
46344- NLMSG_MIN_TYPE = 0x10
46345- NLMSG_NOOP = 0x1
46346- NLMSG_OVERRUN = 0x4
46347- NLM_F_ACK = 0x4
46348- NLM_F_APPEND = 0x800
46349- NLM_F_ATOMIC = 0x400
46350- NLM_F_CREATE = 0x400
46351- NLM_F_DUMP = 0x300
46352- NLM_F_DUMP_FILTERED = 0x20
46353- NLM_F_DUMP_INTR = 0x10
46354- NLM_F_ECHO = 0x8
46355- NLM_F_EXCL = 0x200
46356- NLM_F_MATCH = 0x200
46357- NLM_F_MULTI = 0x2
46358- NLM_F_REPLACE = 0x100
46359- NLM_F_REQUEST = 0x1
46360- NLM_F_ROOT = 0x100
46361- NOFLSH = 0x80
46362- OCRNL = 0x8
46363- OFDEL = 0x80
46364- OFILL = 0x40
46365- OLCUC = 0x2
46366- ONLCR = 0x4
46367- ONLRET = 0x20
46368- ONOCR = 0x10
46369- OPOST = 0x1
46370- O_ACCMODE = 0x3
46371- O_APPEND = 0x8
46372- O_ASYNC = 0x1000
46373- O_CLOEXEC = 0x80000
46374- O_CREAT = 0x100
46375- O_DIRECT = 0x8000
46376- O_DIRECTORY = 0x10000
46377- O_DSYNC = 0x10
46378- O_EXCL = 0x400
46379- O_FSYNC = 0x4010
46380- O_LARGEFILE = 0x2000
46381- O_NDELAY = 0x80
46382- O_NOATIME = 0x40000
46383- O_NOCTTY = 0x800
46384- O_NOFOLLOW = 0x20000
46385- O_NONBLOCK = 0x80
46386- O_PATH = 0x200000
46387- O_RDONLY = 0x0
46388- O_RDWR = 0x2
46389- O_RSYNC = 0x4010
46390- O_SYNC = 0x4010
46391- O_TMPFILE = 0x410000
46392- O_TRUNC = 0x200
46393- O_WRONLY = 0x1
46394- PACKET_ADD_MEMBERSHIP = 0x1
46395- PACKET_AUXDATA = 0x8
46396- PACKET_BROADCAST = 0x1
46397- PACKET_COPY_THRESH = 0x7
46398- PACKET_DROP_MEMBERSHIP = 0x2
46399- PACKET_FANOUT = 0x12
46400- PACKET_FANOUT_CBPF = 0x6
46401- PACKET_FANOUT_CPU = 0x2
46402- PACKET_FANOUT_DATA = 0x16
46403- PACKET_FANOUT_EBPF = 0x7
46404- PACKET_FANOUT_FLAG_DEFRAG = 0x8000
46405- PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
46406- PACKET_FANOUT_HASH = 0x0
46407- PACKET_FANOUT_LB = 0x1
46408- PACKET_FANOUT_QM = 0x5
46409- PACKET_FANOUT_RND = 0x4
46410- PACKET_FANOUT_ROLLOVER = 0x3
46411- PACKET_FASTROUTE = 0x6
46412- PACKET_HDRLEN = 0xb
46413- PACKET_HOST = 0x0
46414- PACKET_KERNEL = 0x7
46415- PACKET_LOOPBACK = 0x5
46416- PACKET_LOSS = 0xe
46417- PACKET_MR_ALLMULTI = 0x2
46418- PACKET_MR_MULTICAST = 0x0
46419- PACKET_MR_PROMISC = 0x1
46420- PACKET_MR_UNICAST = 0x3
46421- PACKET_MULTICAST = 0x2
46422- PACKET_ORIGDEV = 0x9
46423- PACKET_OTHERHOST = 0x3
46424- PACKET_OUTGOING = 0x4
46425- PACKET_QDISC_BYPASS = 0x14
46426- PACKET_RECV_OUTPUT = 0x3
46427- PACKET_RESERVE = 0xc
46428- PACKET_ROLLOVER_STATS = 0x15
46429- PACKET_RX_RING = 0x5
46430- PACKET_STATISTICS = 0x6
46431- PACKET_TIMESTAMP = 0x11
46432- PACKET_TX_HAS_OFF = 0x13
46433- PACKET_TX_RING = 0xd
46434- PACKET_TX_TIMESTAMP = 0x10
46435- PACKET_USER = 0x6
46436- PACKET_VERSION = 0xa
46437- PACKET_VNET_HDR = 0xf
46438- PARENB = 0x100
46439- PARITY_CRC16_PR0 = 0x2
46440- PARITY_CRC16_PR0_CCITT = 0x4
46441- PARITY_CRC16_PR1 = 0x3
46442- PARITY_CRC16_PR1_CCITT = 0x5
46443- PARITY_CRC32_PR0_CCITT = 0x6
46444- PARITY_CRC32_PR1_CCITT = 0x7
46445- PARITY_DEFAULT = 0x0
46446- PARITY_NONE = 0x1
46447- PARMRK = 0x8
46448- PARODD = 0x200
46449- PENDIN = 0x4000
46450- PERF_EVENT_IOC_DISABLE = 0x20002401
46451- PERF_EVENT_IOC_ENABLE = 0x20002400
46452- PERF_EVENT_IOC_ID = 0x40042407
46453- PERF_EVENT_IOC_PAUSE_OUTPUT = 0x80042409
46454- PERF_EVENT_IOC_PERIOD = 0x80082404
46455- PERF_EVENT_IOC_REFRESH = 0x20002402
46456- PERF_EVENT_IOC_RESET = 0x20002403
46457- PERF_EVENT_IOC_SET_BPF = 0x80042408
46458- PERF_EVENT_IOC_SET_FILTER = 0x80042406
46459- PERF_EVENT_IOC_SET_OUTPUT = 0x20002405
46460- PRIO_PGRP = 0x1
46461- PRIO_PROCESS = 0x0
46462- PRIO_USER = 0x2
46463- PROT_EXEC = 0x4
46464- PROT_GROWSDOWN = 0x1000000
46465- PROT_GROWSUP = 0x2000000
46466- PROT_NONE = 0x0
46467- PROT_READ = 0x1
46468- PROT_WRITE = 0x2
46469- PR_CAPBSET_DROP = 0x18
46470- PR_CAPBSET_READ = 0x17
46471- PR_CAP_AMBIENT = 0x2f
46472- PR_CAP_AMBIENT_CLEAR_ALL = 0x4
46473- PR_CAP_AMBIENT_IS_SET = 0x1
46474- PR_CAP_AMBIENT_LOWER = 0x3
46475- PR_CAP_AMBIENT_RAISE = 0x2
46476- PR_ENDIAN_BIG = 0x0
46477- PR_ENDIAN_LITTLE = 0x1
46478- PR_ENDIAN_PPC_LITTLE = 0x2
46479- PR_FPEMU_NOPRINT = 0x1
46480- PR_FPEMU_SIGFPE = 0x2
46481- PR_FP_EXC_ASYNC = 0x2
46482- PR_FP_EXC_DISABLED = 0x0
46483- PR_FP_EXC_DIV = 0x10000
46484- PR_FP_EXC_INV = 0x100000
46485- PR_FP_EXC_NONRECOV = 0x1
46486- PR_FP_EXC_OVF = 0x20000
46487- PR_FP_EXC_PRECISE = 0x3
46488- PR_FP_EXC_RES = 0x80000
46489- PR_FP_EXC_SW_ENABLE = 0x80
46490- PR_FP_EXC_UND = 0x40000
46491- PR_FP_MODE_FR = 0x1
46492- PR_FP_MODE_FRE = 0x2
46493- PR_GET_CHILD_SUBREAPER = 0x25
46494- PR_GET_DUMPABLE = 0x3
46495- PR_GET_ENDIAN = 0x13
46496- PR_GET_FPEMU = 0x9
46497- PR_GET_FPEXC = 0xb
46498- PR_GET_FP_MODE = 0x2e
46499- PR_GET_KEEPCAPS = 0x7
46500- PR_GET_NAME = 0x10
46501- PR_GET_NO_NEW_PRIVS = 0x27
46502- PR_GET_PDEATHSIG = 0x2
46503- PR_GET_SECCOMP = 0x15
46504- PR_GET_SECUREBITS = 0x1b
46505- PR_GET_THP_DISABLE = 0x2a
46506- PR_GET_TID_ADDRESS = 0x28
46507- PR_GET_TIMERSLACK = 0x1e
46508- PR_GET_TIMING = 0xd
46509- PR_GET_TSC = 0x19
46510- PR_GET_UNALIGN = 0x5
46511- PR_MCE_KILL = 0x21
46512- PR_MCE_KILL_CLEAR = 0x0
46513- PR_MCE_KILL_DEFAULT = 0x2
46514- PR_MCE_KILL_EARLY = 0x1
46515- PR_MCE_KILL_GET = 0x22
46516- PR_MCE_KILL_LATE = 0x0
46517- PR_MCE_KILL_SET = 0x1
46518- PR_MPX_DISABLE_MANAGEMENT = 0x2c
46519- PR_MPX_ENABLE_MANAGEMENT = 0x2b
46520- PR_SET_CHILD_SUBREAPER = 0x24
46521- PR_SET_DUMPABLE = 0x4
46522- PR_SET_ENDIAN = 0x14
46523- PR_SET_FPEMU = 0xa
46524- PR_SET_FPEXC = 0xc
46525- PR_SET_FP_MODE = 0x2d
46526- PR_SET_KEEPCAPS = 0x8
46527- PR_SET_MM = 0x23
46528- PR_SET_MM_ARG_END = 0x9
46529- PR_SET_MM_ARG_START = 0x8
46530- PR_SET_MM_AUXV = 0xc
46531- PR_SET_MM_BRK = 0x7
46532- PR_SET_MM_END_CODE = 0x2
46533- PR_SET_MM_END_DATA = 0x4
46534- PR_SET_MM_ENV_END = 0xb
46535- PR_SET_MM_ENV_START = 0xa
46536- PR_SET_MM_EXE_FILE = 0xd
46537- PR_SET_MM_MAP = 0xe
46538- PR_SET_MM_MAP_SIZE = 0xf
46539- PR_SET_MM_START_BRK = 0x6
46540- PR_SET_MM_START_CODE = 0x1
46541- PR_SET_MM_START_DATA = 0x3
46542- PR_SET_MM_START_STACK = 0x5
46543- PR_SET_NAME = 0xf
46544- PR_SET_NO_NEW_PRIVS = 0x26
46545- PR_SET_PDEATHSIG = 0x1
46546- PR_SET_PTRACER = 0x59616d61
46547- PR_SET_PTRACER_ANY = 0xffffffff
46548- PR_SET_SECCOMP = 0x16
46549- PR_SET_SECUREBITS = 0x1c
46550- PR_SET_THP_DISABLE = 0x29
46551- PR_SET_TIMERSLACK = 0x1d
46552- PR_SET_TIMING = 0xe
46553- PR_SET_TSC = 0x1a
46554- PR_SET_UNALIGN = 0x6
46555- PR_TASK_PERF_EVENTS_DISABLE = 0x1f
46556- PR_TASK_PERF_EVENTS_ENABLE = 0x20
46557- PR_TIMING_STATISTICAL = 0x0
46558- PR_TIMING_TIMESTAMP = 0x1
46559- PR_TSC_ENABLE = 0x1
46560- PR_TSC_SIGSEGV = 0x2
46561- PR_UNALIGN_NOPRINT = 0x1
46562- PR_UNALIGN_SIGBUS = 0x2
46563- PTRACE_ATTACH = 0x10
46564- PTRACE_CONT = 0x7
46565- PTRACE_DETACH = 0x11
46566- PTRACE_EVENT_CLONE = 0x3
46567- PTRACE_EVENT_EXEC = 0x4
46568- PTRACE_EVENT_EXIT = 0x6
46569- PTRACE_EVENT_FORK = 0x1
46570- PTRACE_EVENT_SECCOMP = 0x7
46571- PTRACE_EVENT_STOP = 0x80
46572- PTRACE_EVENT_VFORK = 0x2
46573- PTRACE_EVENT_VFORK_DONE = 0x5
46574- PTRACE_GETEVENTMSG = 0x4201
46575- PTRACE_GETFPREGS = 0xe
46576- PTRACE_GETREGS = 0xc
46577- PTRACE_GETREGSET = 0x4204
46578- PTRACE_GETSIGINFO = 0x4202
46579- PTRACE_GETSIGMASK = 0x420a
46580- PTRACE_GET_THREAD_AREA = 0x19
46581- PTRACE_GET_THREAD_AREA_3264 = 0xc4
46582- PTRACE_GET_WATCH_REGS = 0xd0
46583- PTRACE_INTERRUPT = 0x4207
46584- PTRACE_KILL = 0x8
46585- PTRACE_LISTEN = 0x4208
46586- PTRACE_OLDSETOPTIONS = 0x15
46587- PTRACE_O_EXITKILL = 0x100000
46588- PTRACE_O_MASK = 0x3000ff
46589- PTRACE_O_SUSPEND_SECCOMP = 0x200000
46590- PTRACE_O_TRACECLONE = 0x8
46591- PTRACE_O_TRACEEXEC = 0x10
46592- PTRACE_O_TRACEEXIT = 0x40
46593- PTRACE_O_TRACEFORK = 0x2
46594- PTRACE_O_TRACESECCOMP = 0x80
46595- PTRACE_O_TRACESYSGOOD = 0x1
46596- PTRACE_O_TRACEVFORK = 0x4
46597- PTRACE_O_TRACEVFORKDONE = 0x20
46598- PTRACE_PEEKDATA = 0x2
46599- PTRACE_PEEKDATA_3264 = 0xc1
46600- PTRACE_PEEKSIGINFO = 0x4209
46601- PTRACE_PEEKSIGINFO_SHARED = 0x1
46602- PTRACE_PEEKTEXT = 0x1
46603- PTRACE_PEEKTEXT_3264 = 0xc0
46604- PTRACE_PEEKUSR = 0x3
46605- PTRACE_POKEDATA = 0x5
46606- PTRACE_POKEDATA_3264 = 0xc3
46607- PTRACE_POKETEXT = 0x4
46608- PTRACE_POKETEXT_3264 = 0xc2
46609- PTRACE_POKEUSR = 0x6
46610- PTRACE_SECCOMP_GET_FILTER = 0x420c
46611- PTRACE_SEIZE = 0x4206
46612- PTRACE_SETFPREGS = 0xf
46613- PTRACE_SETOPTIONS = 0x4200
46614- PTRACE_SETREGS = 0xd
46615- PTRACE_SETREGSET = 0x4205
46616- PTRACE_SETSIGINFO = 0x4203
46617- PTRACE_SETSIGMASK = 0x420b
46618- PTRACE_SET_THREAD_AREA = 0x1a
46619- PTRACE_SET_WATCH_REGS = 0xd1
46620- PTRACE_SINGLESTEP = 0x9
46621- PTRACE_SYSCALL = 0x18
46622- PTRACE_TRACEME = 0x0
46623- RLIMIT_AS = 0x6
46624- RLIMIT_CORE = 0x4
46625- RLIMIT_CPU = 0x0
46626- RLIMIT_DATA = 0x2
46627- RLIMIT_FSIZE = 0x1
46628- RLIMIT_LOCKS = 0xa
46629- RLIMIT_MEMLOCK = 0x9
46630- RLIMIT_MSGQUEUE = 0xc
46631- RLIMIT_NICE = 0xd
46632- RLIMIT_NOFILE = 0x5
46633- RLIMIT_NPROC = 0x8
46634- RLIMIT_RSS = 0x7
46635- RLIMIT_RTPRIO = 0xe
46636- RLIMIT_RTTIME = 0xf
46637- RLIMIT_SIGPENDING = 0xb
46638- RLIMIT_STACK = 0x3
46639- RLIM_INFINITY = -0x1
46640- RTAX_ADVMSS = 0x8
46641- RTAX_CC_ALGO = 0x10
46642- RTAX_CWND = 0x7
46643- RTAX_FEATURES = 0xc
46644- RTAX_FEATURE_ALLFRAG = 0x8
46645- RTAX_FEATURE_ECN = 0x1
46646- RTAX_FEATURE_MASK = 0xf
46647- RTAX_FEATURE_SACK = 0x2
46648- RTAX_FEATURE_TIMESTAMP = 0x4
46649- RTAX_HOPLIMIT = 0xa
46650- RTAX_INITCWND = 0xb
46651- RTAX_INITRWND = 0xe
46652- RTAX_LOCK = 0x1
46653- RTAX_MAX = 0x10
46654- RTAX_MTU = 0x2
46655- RTAX_QUICKACK = 0xf
46656- RTAX_REORDERING = 0x9
46657- RTAX_RTO_MIN = 0xd
46658- RTAX_RTT = 0x4
46659- RTAX_RTTVAR = 0x5
46660- RTAX_SSTHRESH = 0x6
46661- RTAX_UNSPEC = 0x0
46662- RTAX_WINDOW = 0x3
46663- RTA_ALIGNTO = 0x4
46664- RTA_MAX = 0x19
46665- RTCF_DIRECTSRC = 0x4000000
46666- RTCF_DOREDIRECT = 0x1000000
46667- RTCF_LOG = 0x2000000
46668- RTCF_MASQ = 0x400000
46669- RTCF_NAT = 0x800000
46670- RTCF_VALVE = 0x200000
46671- RTF_ADDRCLASSMASK = 0xf8000000
46672- RTF_ADDRCONF = 0x40000
46673- RTF_ALLONLINK = 0x20000
46674- RTF_BROADCAST = 0x10000000
46675- RTF_CACHE = 0x1000000
46676- RTF_DEFAULT = 0x10000
46677- RTF_DYNAMIC = 0x10
46678- RTF_FLOW = 0x2000000
46679- RTF_GATEWAY = 0x2
46680- RTF_HOST = 0x4
46681- RTF_INTERFACE = 0x40000000
46682- RTF_IRTT = 0x100
46683- RTF_LINKRT = 0x100000
46684- RTF_LOCAL = 0x80000000
46685- RTF_MODIFIED = 0x20
46686- RTF_MSS = 0x40
46687- RTF_MTU = 0x40
46688- RTF_MULTICAST = 0x20000000
46689- RTF_NAT = 0x8000000
46690- RTF_NOFORWARD = 0x1000
46691- RTF_NONEXTHOP = 0x200000
46692- RTF_NOPMTUDISC = 0x4000
46693- RTF_POLICY = 0x4000000
46694- RTF_REINSTATE = 0x8
46695- RTF_REJECT = 0x200
46696- RTF_STATIC = 0x400
46697- RTF_THROW = 0x2000
46698- RTF_UP = 0x1
46699- RTF_WINDOW = 0x80
46700- RTF_XRESOLVE = 0x800
46701- RTM_BASE = 0x10
46702- RTM_DELACTION = 0x31
46703- RTM_DELADDR = 0x15
46704- RTM_DELADDRLABEL = 0x49
46705- RTM_DELLINK = 0x11
46706- RTM_DELMDB = 0x55
46707- RTM_DELNEIGH = 0x1d
46708- RTM_DELNSID = 0x59
46709- RTM_DELQDISC = 0x25
46710- RTM_DELROUTE = 0x19
46711- RTM_DELRULE = 0x21
46712- RTM_DELTCLASS = 0x29
46713- RTM_DELTFILTER = 0x2d
46714- RTM_F_CLONED = 0x200
46715- RTM_F_EQUALIZE = 0x400
46716- RTM_F_LOOKUP_TABLE = 0x1000
46717- RTM_F_NOTIFY = 0x100
46718- RTM_F_PREFIX = 0x800
46719- RTM_GETACTION = 0x32
46720- RTM_GETADDR = 0x16
46721- RTM_GETADDRLABEL = 0x4a
46722- RTM_GETANYCAST = 0x3e
46723- RTM_GETDCB = 0x4e
46724- RTM_GETLINK = 0x12
46725- RTM_GETMDB = 0x56
46726- RTM_GETMULTICAST = 0x3a
46727- RTM_GETNEIGH = 0x1e
46728- RTM_GETNEIGHTBL = 0x42
46729- RTM_GETNETCONF = 0x52
46730- RTM_GETNSID = 0x5a
46731- RTM_GETQDISC = 0x26
46732- RTM_GETROUTE = 0x1a
46733- RTM_GETRULE = 0x22
46734- RTM_GETSTATS = 0x5e
46735- RTM_GETTCLASS = 0x2a
46736- RTM_GETTFILTER = 0x2e
46737- RTM_MAX = 0x5f
46738- RTM_NEWACTION = 0x30
46739- RTM_NEWADDR = 0x14
46740- RTM_NEWADDRLABEL = 0x48
46741- RTM_NEWLINK = 0x10
46742- RTM_NEWMDB = 0x54
46743- RTM_NEWNDUSEROPT = 0x44
46744- RTM_NEWNEIGH = 0x1c
46745- RTM_NEWNEIGHTBL = 0x40
46746- RTM_NEWNETCONF = 0x50
46747- RTM_NEWNSID = 0x58
46748- RTM_NEWPREFIX = 0x34
46749- RTM_NEWQDISC = 0x24
46750- RTM_NEWROUTE = 0x18
46751- RTM_NEWRULE = 0x20
46752- RTM_NEWSTATS = 0x5c
46753- RTM_NEWTCLASS = 0x28
46754- RTM_NEWTFILTER = 0x2c
46755- RTM_NR_FAMILIES = 0x14
46756- RTM_NR_MSGTYPES = 0x50
46757- RTM_SETDCB = 0x4f
46758- RTM_SETLINK = 0x13
46759- RTM_SETNEIGHTBL = 0x43
46760- RTNH_ALIGNTO = 0x4
46761- RTNH_COMPARE_MASK = 0x19
46762- RTNH_F_DEAD = 0x1
46763- RTNH_F_LINKDOWN = 0x10
46764- RTNH_F_OFFLOAD = 0x8
46765- RTNH_F_ONLINK = 0x4
46766- RTNH_F_PERVASIVE = 0x2
46767- RTN_MAX = 0xb
46768- RTPROT_BABEL = 0x2a
46769- RTPROT_BIRD = 0xc
46770- RTPROT_BOOT = 0x3
46771- RTPROT_DHCP = 0x10
46772- RTPROT_DNROUTED = 0xd
46773- RTPROT_GATED = 0x8
46774- RTPROT_KERNEL = 0x2
46775- RTPROT_MROUTED = 0x11
46776- RTPROT_MRT = 0xa
46777- RTPROT_NTK = 0xf
46778- RTPROT_RA = 0x9
46779- RTPROT_REDIRECT = 0x1
46780- RTPROT_STATIC = 0x4
46781- RTPROT_UNSPEC = 0x0
46782- RTPROT_XORP = 0xe
46783- RTPROT_ZEBRA = 0xb
46784- RT_CLASS_DEFAULT = 0xfd
46785- RT_CLASS_LOCAL = 0xff
46786- RT_CLASS_MAIN = 0xfe
46787- RT_CLASS_MAX = 0xff
46788- RT_CLASS_UNSPEC = 0x0
46789- RUSAGE_CHILDREN = -0x1
46790- RUSAGE_SELF = 0x0
46791- RUSAGE_THREAD = 0x1
46792- SCM_CREDENTIALS = 0x2
46793- SCM_RIGHTS = 0x1
46794- SCM_TIMESTAMP = 0x1d
46795- SCM_TIMESTAMPING = 0x25
46796- SCM_TIMESTAMPING_OPT_STATS = 0x36
46797- SCM_TIMESTAMPNS = 0x23
46798- SCM_WIFI_STATUS = 0x29
46799- SECCOMP_MODE_DISABLED = 0x0
46800- SECCOMP_MODE_FILTER = 0x2
46801- SECCOMP_MODE_STRICT = 0x1
46802- SHUT_RD = 0x0
46803- SHUT_RDWR = 0x2
46804- SHUT_WR = 0x1
46805- SIOCADDDLCI = 0x8980
46806- SIOCADDMULTI = 0x8931
46807- SIOCADDRT = 0x890b
46808- SIOCATMARK = 0x40047307
46809- SIOCBONDCHANGEACTIVE = 0x8995
46810- SIOCBONDENSLAVE = 0x8990
46811- SIOCBONDINFOQUERY = 0x8994
46812- SIOCBONDRELEASE = 0x8991
46813- SIOCBONDSETHWADDR = 0x8992
46814- SIOCBONDSLAVEINFOQUERY = 0x8993
46815- SIOCBRADDBR = 0x89a0
46816- SIOCBRADDIF = 0x89a2
46817- SIOCBRDELBR = 0x89a1
46818- SIOCBRDELIF = 0x89a3
46819- SIOCDARP = 0x8953
46820- SIOCDELDLCI = 0x8981
46821- SIOCDELMULTI = 0x8932
46822- SIOCDELRT = 0x890c
46823- SIOCDEVPRIVATE = 0x89f0
46824- SIOCDIFADDR = 0x8936
46825- SIOCDRARP = 0x8960
46826- SIOCETHTOOL = 0x8946
46827- SIOCGARP = 0x8954
46828- SIOCGHWTSTAMP = 0x89b1
46829- SIOCGIFADDR = 0x8915
46830- SIOCGIFBR = 0x8940
46831- SIOCGIFBRDADDR = 0x8919
46832- SIOCGIFCONF = 0x8912
46833- SIOCGIFCOUNT = 0x8938
46834- SIOCGIFDSTADDR = 0x8917
46835- SIOCGIFENCAP = 0x8925
46836- SIOCGIFFLAGS = 0x8913
46837- SIOCGIFHWADDR = 0x8927
46838- SIOCGIFINDEX = 0x8933
46839- SIOCGIFMAP = 0x8970
46840- SIOCGIFMEM = 0x891f
46841- SIOCGIFMETRIC = 0x891d
46842- SIOCGIFMTU = 0x8921
46843- SIOCGIFNAME = 0x8910
46844- SIOCGIFNETMASK = 0x891b
46845- SIOCGIFPFLAGS = 0x8935
46846- SIOCGIFSLAVE = 0x8929
46847- SIOCGIFTXQLEN = 0x8942
46848- SIOCGIFVLAN = 0x8982
46849- SIOCGMIIPHY = 0x8947
46850- SIOCGMIIREG = 0x8948
46851- SIOCGPGRP = 0x40047309
46852- SIOCGRARP = 0x8961
46853- SIOCGSKNS = 0x894c
46854- SIOCGSTAMP = 0x8906
46855- SIOCGSTAMPNS = 0x8907
46856- SIOCINQ = 0x467f
46857- SIOCOUTQ = 0x7472
46858- SIOCOUTQNSD = 0x894b
46859- SIOCPROTOPRIVATE = 0x89e0
46860- SIOCRTMSG = 0x890d
46861- SIOCSARP = 0x8955
46862- SIOCSHWTSTAMP = 0x89b0
46863- SIOCSIFADDR = 0x8916
46864- SIOCSIFBR = 0x8941
46865- SIOCSIFBRDADDR = 0x891a
46866- SIOCSIFDSTADDR = 0x8918
46867- SIOCSIFENCAP = 0x8926
46868- SIOCSIFFLAGS = 0x8914
46869- SIOCSIFHWADDR = 0x8924
46870- SIOCSIFHWBROADCAST = 0x8937
46871- SIOCSIFLINK = 0x8911
46872- SIOCSIFMAP = 0x8971
46873- SIOCSIFMEM = 0x8920
46874- SIOCSIFMETRIC = 0x891e
46875- SIOCSIFMTU = 0x8922
46876- SIOCSIFNAME = 0x8923
46877- SIOCSIFNETMASK = 0x891c
46878- SIOCSIFPFLAGS = 0x8934
46879- SIOCSIFSLAVE = 0x8930
46880- SIOCSIFTXQLEN = 0x8943
46881- SIOCSIFVLAN = 0x8983
46882- SIOCSMIIREG = 0x8949
46883- SIOCSPGRP = 0x80047308
46884- SIOCSRARP = 0x8962
46885- SIOCWANDEV = 0x894a
46886- SOCK_CLOEXEC = 0x80000
46887- SOCK_DCCP = 0x6
46888- SOCK_DGRAM = 0x1
46889- SOCK_IOC_TYPE = 0x89
46890- SOCK_NONBLOCK = 0x80
46891- SOCK_PACKET = 0xa
46892- SOCK_RAW = 0x3
46893- SOCK_RDM = 0x4
46894- SOCK_SEQPACKET = 0x5
46895- SOCK_STREAM = 0x2
46896- SOL_AAL = 0x109
46897- SOL_ALG = 0x117
46898- SOL_ATM = 0x108
46899- SOL_CAIF = 0x116
46900- SOL_CAN_BASE = 0x64
46901- SOL_DCCP = 0x10d
46902- SOL_DECNET = 0x105
46903- SOL_ICMPV6 = 0x3a
46904- SOL_IP = 0x0
46905- SOL_IPV6 = 0x29
46906- SOL_IRDA = 0x10a
46907- SOL_IUCV = 0x115
46908- SOL_KCM = 0x119
46909- SOL_LLC = 0x10c
46910- SOL_NETBEUI = 0x10b
46911- SOL_NETLINK = 0x10e
46912- SOL_NFC = 0x118
46913- SOL_PACKET = 0x107
46914- SOL_PNPIPE = 0x113
46915- SOL_PPPOL2TP = 0x111
46916- SOL_RAW = 0xff
46917- SOL_RDS = 0x114
46918- SOL_RXRPC = 0x110
46919- SOL_SOCKET = 0xffff
46920- SOL_TCP = 0x6
46921- SOL_TIPC = 0x10f
46922- SOL_X25 = 0x106
46923- SOMAXCONN = 0x80
46924- SO_ACCEPTCONN = 0x1009
46925- SO_ATTACH_BPF = 0x32
46926- SO_ATTACH_FILTER = 0x1a
46927- SO_ATTACH_REUSEPORT_CBPF = 0x33
46928- SO_ATTACH_REUSEPORT_EBPF = 0x34
46929- SO_BINDTODEVICE = 0x19
46930- SO_BPF_EXTENSIONS = 0x30
46931- SO_BROADCAST = 0x20
46932- SO_BSDCOMPAT = 0xe
46933- SO_BUSY_POLL = 0x2e
46934- SO_CNX_ADVICE = 0x35
46935- SO_DEBUG = 0x1
46936- SO_DETACH_BPF = 0x1b
46937- SO_DETACH_FILTER = 0x1b
46938- SO_DOMAIN = 0x1029
46939- SO_DONTROUTE = 0x10
46940- SO_ERROR = 0x1007
46941- SO_GET_FILTER = 0x1a
46942- SO_INCOMING_CPU = 0x31
46943- SO_KEEPALIVE = 0x8
46944- SO_LINGER = 0x80
46945- SO_LOCK_FILTER = 0x2c
46946- SO_MARK = 0x24
46947- SO_MAX_PACING_RATE = 0x2f
46948- SO_NOFCS = 0x2b
46949- SO_NO_CHECK = 0xb
46950- SO_OOBINLINE = 0x100
46951- SO_PASSCRED = 0x11
46952- SO_PASSSEC = 0x22
46953- SO_PEEK_OFF = 0x2a
46954- SO_PEERCRED = 0x12
46955- SO_PEERNAME = 0x1c
46956- SO_PEERSEC = 0x1e
46957- SO_PRIORITY = 0xc
46958- SO_PROTOCOL = 0x1028
46959- SO_RCVBUF = 0x1002
46960- SO_RCVBUFFORCE = 0x21
46961- SO_RCVLOWAT = 0x1004
46962- SO_RCVTIMEO = 0x1006
46963- SO_REUSEADDR = 0x4
46964- SO_REUSEPORT = 0x200
46965- SO_RXQ_OVFL = 0x28
46966- SO_SECURITY_AUTHENTICATION = 0x16
46967- SO_SECURITY_ENCRYPTION_NETWORK = 0x18
46968- SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
46969- SO_SELECT_ERR_QUEUE = 0x2d
46970- SO_SNDBUF = 0x1001
46971- SO_SNDBUFFORCE = 0x1f
46972- SO_SNDLOWAT = 0x1003
46973- SO_SNDTIMEO = 0x1005
46974- SO_STYLE = 0x1008
46975- SO_TIMESTAMP = 0x1d
46976- SO_TIMESTAMPING = 0x25
46977- SO_TIMESTAMPNS = 0x23
46978- SO_TYPE = 0x1008
46979- SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
46980- SO_VM_SOCKETS_BUFFER_MIN_SIZE = 0x1
46981- SO_VM_SOCKETS_BUFFER_SIZE = 0x0
46982- SO_VM_SOCKETS_CONNECT_TIMEOUT = 0x6
46983- SO_VM_SOCKETS_NONBLOCK_TXRX = 0x7
46984- SO_VM_SOCKETS_PEER_HOST_VM_ID = 0x3
46985- SO_VM_SOCKETS_TRUSTED = 0x5
46986- SO_WIFI_STATUS = 0x29
46987- SPLICE_F_GIFT = 0x8
46988- SPLICE_F_MORE = 0x4
46989- SPLICE_F_MOVE = 0x1
46990- SPLICE_F_NONBLOCK = 0x2
46991- S_BLKSIZE = 0x200
46992- S_IEXEC = 0x40
46993- S_IFBLK = 0x6000
46994- S_IFCHR = 0x2000
46995- S_IFDIR = 0x4000
46996- S_IFIFO = 0x1000
46997- S_IFLNK = 0xa000
46998- S_IFMT = 0xf000
46999- S_IFREG = 0x8000
47000- S_IFSOCK = 0xc000
47001- S_IREAD = 0x100
47002- S_IRGRP = 0x20
47003- S_IROTH = 0x4
47004- S_IRUSR = 0x100
47005- S_IRWXG = 0x38
47006- S_IRWXO = 0x7
47007- S_IRWXU = 0x1c0
47008- S_ISGID = 0x400
47009- S_ISUID = 0x800
47010- S_ISVTX = 0x200
47011- S_IWGRP = 0x10
47012- S_IWOTH = 0x2
47013- S_IWRITE = 0x80
47014- S_IWUSR = 0x80
47015- S_IXGRP = 0x8
47016- S_IXOTH = 0x1
47017- S_IXUSR = 0x40
47018- TAB0 = 0x0
47019- TAB1 = 0x800
47020- TAB2 = 0x1000
47021- TAB3 = 0x1800
47022- TABDLY = 0x1800
47023- TASKSTATS_CMD_ATTR_MAX = 0x4
47024- TASKSTATS_CMD_MAX = 0x2
47025- TASKSTATS_GENL_NAME = "TASKSTATS"
47026- TASKSTATS_GENL_VERSION = 0x1
47027- TASKSTATS_TYPE_MAX = 0x6
47028- TASKSTATS_VERSION = 0x8
47029- TCFLSH = 0x5407
47030- TCGETA = 0x5401
47031- TCGETS = 0x540d
47032- TCGETS2 = 0x4030542a
47033- TCIFLUSH = 0x0
47034- TCIOFF = 0x2
47035- TCIOFLUSH = 0x2
47036- TCION = 0x3
47037- TCOFLUSH = 0x1
47038- TCOOFF = 0x0
47039- TCOON = 0x1
47040- TCP_CC_INFO = 0x1a
47041- TCP_CONGESTION = 0xd
47042- TCP_COOKIE_IN_ALWAYS = 0x1
47043- TCP_COOKIE_MAX = 0x10
47044- TCP_COOKIE_MIN = 0x8
47045- TCP_COOKIE_OUT_NEVER = 0x2
47046- TCP_COOKIE_PAIR_SIZE = 0x20
47047- TCP_COOKIE_TRANSACTIONS = 0xf
47048- TCP_CORK = 0x3
47049- TCP_DEFER_ACCEPT = 0x9
47050- TCP_FASTOPEN = 0x17
47051- TCP_INFO = 0xb
47052- TCP_KEEPCNT = 0x6
47053- TCP_KEEPIDLE = 0x4
47054- TCP_KEEPINTVL = 0x5
47055- TCP_LINGER2 = 0x8
47056- TCP_MAXSEG = 0x2
47057- TCP_MAXWIN = 0xffff
47058- TCP_MAX_WINSHIFT = 0xe
47059- TCP_MD5SIG = 0xe
47060- TCP_MD5SIG_MAXKEYLEN = 0x50
47061- TCP_MSS = 0x200
47062- TCP_MSS_DEFAULT = 0x218
47063- TCP_MSS_DESIRED = 0x4c4
47064- TCP_NODELAY = 0x1
47065- TCP_NOTSENT_LOWAT = 0x19
47066- TCP_QUEUE_SEQ = 0x15
47067- TCP_QUICKACK = 0xc
47068- TCP_REPAIR = 0x13
47069- TCP_REPAIR_OPTIONS = 0x16
47070- TCP_REPAIR_QUEUE = 0x14
47071- TCP_REPAIR_WINDOW = 0x1d
47072- TCP_SAVED_SYN = 0x1c
47073- TCP_SAVE_SYN = 0x1b
47074- TCP_SYNCNT = 0x7
47075- TCP_S_DATA_IN = 0x4
47076- TCP_S_DATA_OUT = 0x8
47077- TCP_THIN_DUPACK = 0x11
47078- TCP_THIN_LINEAR_TIMEOUTS = 0x10
47079- TCP_TIMESTAMP = 0x18
47080- TCP_USER_TIMEOUT = 0x12
47081- TCP_WINDOW_CLAMP = 0xa
47082- TCSAFLUSH = 0x5410
47083- TCSBRK = 0x5405
47084- TCSBRKP = 0x5486
47085- TCSETA = 0x5402
47086- TCSETAF = 0x5404
47087- TCSETAW = 0x5403
47088- TCSETS = 0x540e
47089- TCSETS2 = 0x8030542b
47090- TCSETSF = 0x5410
47091- TCSETSF2 = 0x8030542d
47092- TCSETSW = 0x540f
47093- TCSETSW2 = 0x8030542c
47094- TCXONC = 0x5406
47095- TIOCCBRK = 0x5428
47096- TIOCCONS = 0x80047478
47097- TIOCEXCL = 0x740d
47098- TIOCGDEV = 0x40045432
47099- TIOCGETD = 0x7400
47100- TIOCGETP = 0x7408
47101- TIOCGEXCL = 0x40045440
47102- TIOCGICOUNT = 0x5492
47103- TIOCGLCKTRMIOS = 0x548b
47104- TIOCGLTC = 0x7474
47105- TIOCGPGRP = 0x40047477
47106- TIOCGPKT = 0x40045438
47107- TIOCGPTLCK = 0x40045439
47108- TIOCGPTN = 0x40045430
47109- TIOCGRS485 = 0x4020542e
47110- TIOCGSERIAL = 0x5484
47111- TIOCGSID = 0x7416
47112- TIOCGSOFTCAR = 0x5481
47113- TIOCGWINSZ = 0x40087468
47114- TIOCINQ = 0x467f
47115- TIOCLINUX = 0x5483
47116- TIOCMBIC = 0x741c
47117- TIOCMBIS = 0x741b
47118- TIOCMGET = 0x741d
47119- TIOCMIWAIT = 0x5491
47120- TIOCMSET = 0x741a
47121- TIOCM_CAR = 0x100
47122- TIOCM_CD = 0x100
47123- TIOCM_CTS = 0x40
47124- TIOCM_DSR = 0x400
47125- TIOCM_DTR = 0x2
47126- TIOCM_LE = 0x1
47127- TIOCM_RI = 0x200
47128- TIOCM_RNG = 0x200
47129- TIOCM_RTS = 0x4
47130- TIOCM_SR = 0x20
47131- TIOCM_ST = 0x10
47132- TIOCNOTTY = 0x5471
47133- TIOCNXCL = 0x740e
47134- TIOCOUTQ = 0x7472
47135- TIOCPKT = 0x5470
47136- TIOCPKT_DATA = 0x0
47137- TIOCPKT_DOSTOP = 0x20
47138- TIOCPKT_FLUSHREAD = 0x1
47139- TIOCPKT_FLUSHWRITE = 0x2
47140- TIOCPKT_IOCTL = 0x40
47141- TIOCPKT_NOSTOP = 0x10
47142- TIOCPKT_START = 0x8
47143- TIOCPKT_STOP = 0x4
47144- TIOCSBRK = 0x5427
47145- TIOCSCTTY = 0x5480
47146- TIOCSERCONFIG = 0x5488
47147- TIOCSERGETLSR = 0x548e
47148- TIOCSERGETMULTI = 0x548f
47149- TIOCSERGSTRUCT = 0x548d
47150- TIOCSERGWILD = 0x5489
47151- TIOCSERSETMULTI = 0x5490
47152- TIOCSERSWILD = 0x548a
47153- TIOCSER_TEMT = 0x1
47154- TIOCSETD = 0x7401
47155- TIOCSETN = 0x740a
47156- TIOCSETP = 0x7409
47157- TIOCSIG = 0x80045436
47158- TIOCSLCKTRMIOS = 0x548c
47159- TIOCSLTC = 0x7475
47160- TIOCSPGRP = 0x80047476
47161- TIOCSPTLCK = 0x80045431
47162- TIOCSRS485 = 0xc020542f
47163- TIOCSSERIAL = 0x5485
47164- TIOCSSOFTCAR = 0x5482
47165- TIOCSTI = 0x5472
47166- TIOCSWINSZ = 0x80087467
47167- TIOCVHANGUP = 0x5437
47168- TOSTOP = 0x8000
47169- TS_COMM_LEN = 0x20
47170- TUNATTACHFILTER = 0x800854d5
47171- TUNDETACHFILTER = 0x800854d6
47172- TUNGETFEATURES = 0x400454cf
47173- TUNGETFILTER = 0x400854db
47174- TUNGETIFF = 0x400454d2
47175- TUNGETSNDBUF = 0x400454d3
47176- TUNGETVNETBE = 0x400454df
47177- TUNGETVNETHDRSZ = 0x400454d7
47178- TUNGETVNETLE = 0x400454dd
47179- TUNSETDEBUG = 0x800454c9
47180- TUNSETGROUP = 0x800454ce
47181- TUNSETIFF = 0x800454ca
47182- TUNSETIFINDEX = 0x800454da
47183- TUNSETLINK = 0x800454cd
47184- TUNSETNOCSUM = 0x800454c8
47185- TUNSETOFFLOAD = 0x800454d0
47186- TUNSETOWNER = 0x800454cc
47187- TUNSETPERSIST = 0x800454cb
47188- TUNSETQUEUE = 0x800454d9
47189- TUNSETSNDBUF = 0x800454d4
47190- TUNSETTXFILTER = 0x800454d1
47191- TUNSETVNETBE = 0x800454de
47192- TUNSETVNETHDRSZ = 0x800454d8
47193- TUNSETVNETLE = 0x800454dc
47194- UMOUNT_NOFOLLOW = 0x8
47195- VDISCARD = 0xd
47196- VEOF = 0x10
47197- VEOL = 0x11
47198- VEOL2 = 0x6
47199- VERASE = 0x2
47200- VINTR = 0x0
47201- VKILL = 0x3
47202- VLNEXT = 0xf
47203- VMADDR_CID_ANY = 0xffffffff
47204- VMADDR_CID_HOST = 0x2
47205- VMADDR_CID_HYPERVISOR = 0x0
47206- VMADDR_CID_RESERVED = 0x1
47207- VMADDR_PORT_ANY = 0xffffffff
47208- VMIN = 0x4
47209- VM_SOCKETS_INVALID_VERSION = 0xffffffff
47210- VQUIT = 0x1
47211- VREPRINT = 0xc
47212- VSTART = 0x8
47213- VSTOP = 0x9
47214- VSUSP = 0xa
47215- VSWTC = 0x7
47216- VSWTCH = 0x7
47217- VT0 = 0x0
47218- VT1 = 0x4000
47219- VTDLY = 0x4000
47220- VTIME = 0x5
47221- VWERASE = 0xe
47222- WALL = 0x40000000
47223- WCLONE = 0x80000000
47224- WCONTINUED = 0x8
47225- WEXITED = 0x4
47226- WNOHANG = 0x1
47227- WNOTHREAD = 0x20000000
47228- WNOWAIT = 0x1000000
47229- WORDSIZE = 0x20
47230- WSTOPPED = 0x2
47231- WUNTRACED = 0x2
47232- XATTR_CREATE = 0x1
47233- XATTR_REPLACE = 0x2
47234- XCASE = 0x4
47235- XTABS = 0x1800
47236+ B1000000 = 0x1008
47237+ B115200 = 0x1002
47238+ B1152000 = 0x1009
47239+ B1500000 = 0x100a
47240+ B2000000 = 0x100b
47241+ B230400 = 0x1003
47242+ B2500000 = 0x100c
47243+ B3000000 = 0x100d
47244+ B3500000 = 0x100e
47245+ B4000000 = 0x100f
47246+ B460800 = 0x1004
47247+ B500000 = 0x1005
47248+ B57600 = 0x1001
47249+ B576000 = 0x1006
47250+ B921600 = 0x1007
47251+ BLKBSZGET = 0x40041270
47252+ BLKBSZSET = 0x80041271
47253+ BLKFLSBUF = 0x20001261
47254+ BLKFRAGET = 0x20001265
47255+ BLKFRASET = 0x20001264
47256+ BLKGETSIZE = 0x20001260
47257+ BLKGETSIZE64 = 0x40041272
47258+ BLKPBSZGET = 0x2000127b
47259+ BLKRAGET = 0x20001263
47260+ BLKRASET = 0x20001262
47261+ BLKROGET = 0x2000125e
47262+ BLKROSET = 0x2000125d
47263+ BLKRRPART = 0x2000125f
47264+ BLKSECTGET = 0x20001267
47265+ BLKSECTSET = 0x20001266
47266+ BLKSSZGET = 0x20001268
47267+ BOTHER = 0x1000
47268+ BS1 = 0x2000
47269+ BSDLY = 0x2000
47270+ CBAUD = 0x100f
47271+ CBAUDEX = 0x1000
47272+ CIBAUD = 0x100f0000
47273+ CLOCAL = 0x800
47274+ CR1 = 0x200
47275+ CR2 = 0x400
47276+ CR3 = 0x600
47277+ CRDLY = 0x600
47278+ CREAD = 0x80
47279+ CS6 = 0x10
47280+ CS7 = 0x20
47281+ CS8 = 0x30
47282+ CSIZE = 0x30
47283+ CSTOPB = 0x40
47284+ ECHOCTL = 0x200
47285+ ECHOE = 0x10
47286+ ECHOK = 0x20
47287+ ECHOKE = 0x800
47288+ ECHONL = 0x40
47289+ ECHOPRT = 0x400
47290+ EFD_CLOEXEC = 0x80000
47291+ EFD_NONBLOCK = 0x80
47292+ EPOLL_CLOEXEC = 0x80000
47293+ EXTPROC = 0x10000
47294+ FF1 = 0x8000
47295+ FFDLY = 0x8000
47296+ FLUSHO = 0x2000
47297+ FS_IOC_ENABLE_VERITY = 0x80806685
47298+ FS_IOC_GETFLAGS = 0x40046601
47299+ FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615
47300+ FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614
47301+ FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613
47302+ F_GETLK = 0x21
47303+ F_GETLK64 = 0x21
47304+ F_GETOWN = 0x17
47305+ F_RDLCK = 0x0
47306+ F_SETLK = 0x22
47307+ F_SETLK64 = 0x22
47308+ F_SETLKW = 0x23
47309+ F_SETLKW64 = 0x23
47310+ F_SETOWN = 0x18
47311+ F_UNLCK = 0x2
47312+ F_WRLCK = 0x1
47313+ HUPCL = 0x400
47314+ ICANON = 0x2
47315+ IEXTEN = 0x100
47316+ IN_CLOEXEC = 0x80000
47317+ IN_NONBLOCK = 0x80
47318+ IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x200007b9
47319+ ISIG = 0x1
47320+ IUCLC = 0x200
47321+ IXOFF = 0x1000
47322+ IXON = 0x400
47323+ MAP_ANON = 0x800
47324+ MAP_ANONYMOUS = 0x800
47325+ MAP_DENYWRITE = 0x2000
47326+ MAP_EXECUTABLE = 0x4000
47327+ MAP_GROWSDOWN = 0x1000
47328+ MAP_HUGETLB = 0x80000
47329+ MAP_LOCKED = 0x8000
47330+ MAP_NONBLOCK = 0x20000
47331+ MAP_NORESERVE = 0x400
47332+ MAP_POPULATE = 0x10000
47333+ MAP_RENAME = 0x800
47334+ MAP_STACK = 0x40000
47335+ MCL_CURRENT = 0x1
47336+ MCL_FUTURE = 0x2
47337+ MCL_ONFAULT = 0x4
47338+ NFDBITS = 0x20
47339+ NLDLY = 0x100
47340+ NOFLSH = 0x80
47341+ NS_GET_NSTYPE = 0x2000b703
47342+ NS_GET_OWNER_UID = 0x2000b704
47343+ NS_GET_PARENT = 0x2000b702
47344+ NS_GET_USERNS = 0x2000b701
47345+ OLCUC = 0x2
47346+ ONLCR = 0x4
47347+ O_APPEND = 0x8
47348+ O_ASYNC = 0x1000
47349+ O_CLOEXEC = 0x80000
47350+ O_CREAT = 0x100
47351+ O_DIRECT = 0x8000
47352+ O_DIRECTORY = 0x10000
47353+ O_DSYNC = 0x10
47354+ O_EXCL = 0x400
47355+ O_FSYNC = 0x4010
47356+ O_LARGEFILE = 0x2000
47357+ O_NDELAY = 0x80
47358+ O_NOATIME = 0x40000
47359+ O_NOCTTY = 0x800
47360+ O_NOFOLLOW = 0x20000
47361+ O_NONBLOCK = 0x80
47362+ O_PATH = 0x200000
47363+ O_RSYNC = 0x4010
47364+ O_SYNC = 0x4010
47365+ O_TMPFILE = 0x410000
47366+ O_TRUNC = 0x200
47367+ PARENB = 0x100
47368+ PARODD = 0x200
47369+ PENDIN = 0x4000
47370+ PERF_EVENT_IOC_DISABLE = 0x20002401
47371+ PERF_EVENT_IOC_ENABLE = 0x20002400
47372+ PERF_EVENT_IOC_ID = 0x40042407
47373+ PERF_EVENT_IOC_MODIFY_ATTRIBUTES = 0x8004240b
47374+ PERF_EVENT_IOC_PAUSE_OUTPUT = 0x80042409
47375+ PERF_EVENT_IOC_PERIOD = 0x80082404
47376+ PERF_EVENT_IOC_QUERY_BPF = 0xc004240a
47377+ PERF_EVENT_IOC_REFRESH = 0x20002402
47378+ PERF_EVENT_IOC_RESET = 0x20002403
47379+ PERF_EVENT_IOC_SET_BPF = 0x80042408
47380+ PERF_EVENT_IOC_SET_FILTER = 0x80042406
47381+ PERF_EVENT_IOC_SET_OUTPUT = 0x20002405
47382+ PPPIOCATTACH = 0x8004743d
47383+ PPPIOCATTCHAN = 0x80047438
47384+ PPPIOCCONNECT = 0x8004743a
47385+ PPPIOCDETACH = 0x8004743c
47386+ PPPIOCDISCONN = 0x20007439
47387+ PPPIOCGASYNCMAP = 0x40047458
47388+ PPPIOCGCHAN = 0x40047437
47389+ PPPIOCGDEBUG = 0x40047441
47390+ PPPIOCGFLAGS = 0x4004745a
47391+ PPPIOCGIDLE = 0x4008743f
47392+ PPPIOCGIDLE32 = 0x4008743f
47393+ PPPIOCGIDLE64 = 0x4010743f
47394+ PPPIOCGL2TPSTATS = 0x40487436
47395+ PPPIOCGMRU = 0x40047453
47396+ PPPIOCGRASYNCMAP = 0x40047455
47397+ PPPIOCGUNIT = 0x40047456
47398+ PPPIOCGXASYNCMAP = 0x40207450
47399+ PPPIOCSACTIVE = 0x80087446
47400+ PPPIOCSASYNCMAP = 0x80047457
47401+ PPPIOCSCOMPRESS = 0x800c744d
47402+ PPPIOCSDEBUG = 0x80047440
47403+ PPPIOCSFLAGS = 0x80047459
47404+ PPPIOCSMAXCID = 0x80047451
47405+ PPPIOCSMRRU = 0x8004743b
47406+ PPPIOCSMRU = 0x80047452
47407+ PPPIOCSNPMODE = 0x8008744b
47408+ PPPIOCSPASS = 0x80087447
47409+ PPPIOCSRASYNCMAP = 0x80047454
47410+ PPPIOCSXASYNCMAP = 0x8020744f
47411+ PPPIOCXFERUNIT = 0x2000744e
47412+ PR_SET_PTRACER_ANY = 0xffffffff
47413+ PTRACE_GETFPREGS = 0xe
47414+ PTRACE_GET_THREAD_AREA = 0x19
47415+ PTRACE_GET_THREAD_AREA_3264 = 0xc4
47416+ PTRACE_GET_WATCH_REGS = 0xd0
47417+ PTRACE_OLDSETOPTIONS = 0x15
47418+ PTRACE_PEEKDATA_3264 = 0xc1
47419+ PTRACE_PEEKTEXT_3264 = 0xc0
47420+ PTRACE_POKEDATA_3264 = 0xc3
47421+ PTRACE_POKETEXT_3264 = 0xc2
47422+ PTRACE_SETFPREGS = 0xf
47423+ PTRACE_SET_THREAD_AREA = 0x1a
47424+ PTRACE_SET_WATCH_REGS = 0xd1
47425+ RLIMIT_AS = 0x6
47426+ RLIMIT_MEMLOCK = 0x9
47427+ RLIMIT_NOFILE = 0x5
47428+ RLIMIT_NPROC = 0x8
47429+ RLIMIT_RSS = 0x7
47430+ RNDADDENTROPY = 0x80085203
47431+ RNDADDTOENTCNT = 0x80045201
47432+ RNDCLEARPOOL = 0x20005206
47433+ RNDGETENTCNT = 0x40045200
47434+ RNDGETPOOL = 0x40085202
47435+ RNDRESEEDCRNG = 0x20005207
47436+ RNDZAPENTCNT = 0x20005204
47437+ RTC_AIE_OFF = 0x20007002
47438+ RTC_AIE_ON = 0x20007001
47439+ RTC_ALM_READ = 0x40247008
47440+ RTC_ALM_SET = 0x80247007
47441+ RTC_EPOCH_READ = 0x4004700d
47442+ RTC_EPOCH_SET = 0x8004700e
47443+ RTC_IRQP_READ = 0x4004700b
47444+ RTC_IRQP_SET = 0x8004700c
47445+ RTC_PIE_OFF = 0x20007006
47446+ RTC_PIE_ON = 0x20007005
47447+ RTC_PLL_GET = 0x401c7011
47448+ RTC_PLL_SET = 0x801c7012
47449+ RTC_RD_TIME = 0x40247009
47450+ RTC_SET_TIME = 0x8024700a
47451+ RTC_UIE_OFF = 0x20007004
47452+ RTC_UIE_ON = 0x20007003
47453+ RTC_VL_CLR = 0x20007014
47454+ RTC_VL_READ = 0x40047013
47455+ RTC_WIE_OFF = 0x20007010
47456+ RTC_WIE_ON = 0x2000700f
47457+ RTC_WKALM_RD = 0x40287010
47458+ RTC_WKALM_SET = 0x8028700f
47459+ SCM_TIMESTAMPING = 0x25
47460+ SCM_TIMESTAMPING_OPT_STATS = 0x36
47461+ SCM_TIMESTAMPING_PKTINFO = 0x3a
47462+ SCM_TIMESTAMPNS = 0x23
47463+ SCM_TXTIME = 0x3d
47464+ SCM_WIFI_STATUS = 0x29
47465+ SFD_CLOEXEC = 0x80000
47466+ SFD_NONBLOCK = 0x80
47467+ SIOCATMARK = 0x40047307
47468+ SIOCGPGRP = 0x40047309
47469+ SIOCGSTAMPNS_NEW = 0x40108907
47470+ SIOCGSTAMP_NEW = 0x40108906
47471+ SIOCINQ = 0x467f
47472+ SIOCOUTQ = 0x7472
47473+ SIOCSPGRP = 0x80047308
47474+ SOCK_CLOEXEC = 0x80000
47475+ SOCK_DGRAM = 0x1
47476+ SOCK_NONBLOCK = 0x80
47477+ SOCK_STREAM = 0x2
47478+ SOL_SOCKET = 0xffff
47479+ SO_ACCEPTCONN = 0x1009
47480+ SO_ATTACH_BPF = 0x32
47481+ SO_ATTACH_REUSEPORT_CBPF = 0x33
47482+ SO_ATTACH_REUSEPORT_EBPF = 0x34
47483+ SO_BINDTODEVICE = 0x19
47484+ SO_BINDTOIFINDEX = 0x3e
47485+ SO_BPF_EXTENSIONS = 0x30
47486+ SO_BROADCAST = 0x20
47487+ SO_BSDCOMPAT = 0xe
47488+ SO_BUSY_POLL = 0x2e
47489+ SO_CNX_ADVICE = 0x35
47490+ SO_COOKIE = 0x39
47491+ SO_DETACH_REUSEPORT_BPF = 0x44
47492+ SO_DOMAIN = 0x1029
47493+ SO_DONTROUTE = 0x10
47494+ SO_ERROR = 0x1007
47495+ SO_INCOMING_CPU = 0x31
47496+ SO_INCOMING_NAPI_ID = 0x38
47497+ SO_KEEPALIVE = 0x8
47498+ SO_LINGER = 0x80
47499+ SO_LOCK_FILTER = 0x2c
47500+ SO_MARK = 0x24
47501+ SO_MAX_PACING_RATE = 0x2f
47502+ SO_MEMINFO = 0x37
47503+ SO_NOFCS = 0x2b
47504+ SO_OOBINLINE = 0x100
47505+ SO_PASSCRED = 0x11
47506+ SO_PASSSEC = 0x22
47507+ SO_PEEK_OFF = 0x2a
47508+ SO_PEERCRED = 0x12
47509+ SO_PEERGROUPS = 0x3b
47510+ SO_PEERSEC = 0x1e
47511+ SO_PROTOCOL = 0x1028
47512+ SO_RCVBUF = 0x1002
47513+ SO_RCVBUFFORCE = 0x21
47514+ SO_RCVLOWAT = 0x1004
47515+ SO_RCVTIMEO = 0x1006
47516+ SO_RCVTIMEO_NEW = 0x42
47517+ SO_RCVTIMEO_OLD = 0x1006
47518+ SO_REUSEADDR = 0x4
47519+ SO_REUSEPORT = 0x200
47520+ SO_RXQ_OVFL = 0x28
47521+ SO_SECURITY_AUTHENTICATION = 0x16
47522+ SO_SECURITY_ENCRYPTION_NETWORK = 0x18
47523+ SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
47524+ SO_SELECT_ERR_QUEUE = 0x2d
47525+ SO_SNDBUF = 0x1001
47526+ SO_SNDBUFFORCE = 0x1f
47527+ SO_SNDLOWAT = 0x1003
47528+ SO_SNDTIMEO = 0x1005
47529+ SO_SNDTIMEO_NEW = 0x43
47530+ SO_SNDTIMEO_OLD = 0x1005
47531+ SO_STYLE = 0x1008
47532+ SO_TIMESTAMPING = 0x25
47533+ SO_TIMESTAMPING_NEW = 0x41
47534+ SO_TIMESTAMPING_OLD = 0x25
47535+ SO_TIMESTAMPNS = 0x23
47536+ SO_TIMESTAMPNS_NEW = 0x40
47537+ SO_TIMESTAMPNS_OLD = 0x23
47538+ SO_TIMESTAMP_NEW = 0x3f
47539+ SO_TXTIME = 0x3d
47540+ SO_TYPE = 0x1008
47541+ SO_WIFI_STATUS = 0x29
47542+ SO_ZEROCOPY = 0x3c
47543+ TAB1 = 0x800
47544+ TAB2 = 0x1000
47545+ TAB3 = 0x1800
47546+ TABDLY = 0x1800
47547+ TCFLSH = 0x5407
47548+ TCGETA = 0x5401
47549+ TCGETS = 0x540d
47550+ TCGETS2 = 0x4030542a
47551+ TCSAFLUSH = 0x5410
47552+ TCSBRK = 0x5405
47553+ TCSBRKP = 0x5486
47554+ TCSETA = 0x5402
47555+ TCSETAF = 0x5404
47556+ TCSETAW = 0x5403
47557+ TCSETS = 0x540e
47558+ TCSETS2 = 0x8030542b
47559+ TCSETSF = 0x5410
47560+ TCSETSF2 = 0x8030542d
47561+ TCSETSW = 0x540f
47562+ TCSETSW2 = 0x8030542c
47563+ TCXONC = 0x5406
47564+ TIOCCBRK = 0x5428
47565+ TIOCCONS = 0x80047478
47566+ TIOCEXCL = 0x740d
47567+ TIOCGDEV = 0x40045432
47568+ TIOCGETD = 0x7400
47569+ TIOCGETP = 0x7408
47570+ TIOCGEXCL = 0x40045440
47571+ TIOCGICOUNT = 0x5492
47572+ TIOCGISO7816 = 0x40285442
47573+ TIOCGLCKTRMIOS = 0x548b
47574+ TIOCGLTC = 0x7474
47575+ TIOCGPGRP = 0x40047477
47576+ TIOCGPKT = 0x40045438
47577+ TIOCGPTLCK = 0x40045439
47578+ TIOCGPTN = 0x40045430
47579+ TIOCGPTPEER = 0x20005441
47580+ TIOCGRS485 = 0x4020542e
47581+ TIOCGSERIAL = 0x5484
47582+ TIOCGSID = 0x7416
47583+ TIOCGSOFTCAR = 0x5481
47584+ TIOCGWINSZ = 0x40087468
47585+ TIOCINQ = 0x467f
47586+ TIOCLINUX = 0x5483
47587+ TIOCMBIC = 0x741c
47588+ TIOCMBIS = 0x741b
47589+ TIOCMGET = 0x741d
47590+ TIOCMIWAIT = 0x5491
47591+ TIOCMSET = 0x741a
47592+ TIOCM_CAR = 0x100
47593+ TIOCM_CD = 0x100
47594+ TIOCM_CTS = 0x40
47595+ TIOCM_DSR = 0x400
47596+ TIOCM_RI = 0x200
47597+ TIOCM_RNG = 0x200
47598+ TIOCM_SR = 0x20
47599+ TIOCM_ST = 0x10
47600+ TIOCNOTTY = 0x5471
47601+ TIOCNXCL = 0x740e
47602+ TIOCOUTQ = 0x7472
47603+ TIOCPKT = 0x5470
47604+ TIOCSBRK = 0x5427
47605+ TIOCSCTTY = 0x5480
47606+ TIOCSERCONFIG = 0x5488
47607+ TIOCSERGETLSR = 0x548e
47608+ TIOCSERGETMULTI = 0x548f
47609+ TIOCSERGSTRUCT = 0x548d
47610+ TIOCSERGWILD = 0x5489
47611+ TIOCSERSETMULTI = 0x5490
47612+ TIOCSERSWILD = 0x548a
47613+ TIOCSER_TEMT = 0x1
47614+ TIOCSETD = 0x7401
47615+ TIOCSETN = 0x740a
47616+ TIOCSETP = 0x7409
47617+ TIOCSIG = 0x80045436
47618+ TIOCSISO7816 = 0xc0285443
47619+ TIOCSLCKTRMIOS = 0x548c
47620+ TIOCSLTC = 0x7475
47621+ TIOCSPGRP = 0x80047476
47622+ TIOCSPTLCK = 0x80045431
47623+ TIOCSRS485 = 0xc020542f
47624+ TIOCSSERIAL = 0x5485
47625+ TIOCSSOFTCAR = 0x5482
47626+ TIOCSTI = 0x5472
47627+ TIOCSWINSZ = 0x80087467
47628+ TIOCVHANGUP = 0x5437
47629+ TOSTOP = 0x8000
47630+ TUNATTACHFILTER = 0x800854d5
47631+ TUNDETACHFILTER = 0x800854d6
47632+ TUNGETDEVNETNS = 0x200054e3
47633+ TUNGETFEATURES = 0x400454cf
47634+ TUNGETFILTER = 0x400854db
47635+ TUNGETIFF = 0x400454d2
47636+ TUNGETSNDBUF = 0x400454d3
47637+ TUNGETVNETBE = 0x400454df
47638+ TUNGETVNETHDRSZ = 0x400454d7
47639+ TUNGETVNETLE = 0x400454dd
47640+ TUNSETCARRIER = 0x800454e2
47641+ TUNSETDEBUG = 0x800454c9
47642+ TUNSETFILTEREBPF = 0x400454e1
47643+ TUNSETGROUP = 0x800454ce
47644+ TUNSETIFF = 0x800454ca
47645+ TUNSETIFINDEX = 0x800454da
47646+ TUNSETLINK = 0x800454cd
47647+ TUNSETNOCSUM = 0x800454c8
47648+ TUNSETOFFLOAD = 0x800454d0
47649+ TUNSETOWNER = 0x800454cc
47650+ TUNSETPERSIST = 0x800454cb
47651+ TUNSETQUEUE = 0x800454d9
47652+ TUNSETSNDBUF = 0x800454d4
47653+ TUNSETSTEERINGEBPF = 0x400454e0
47654+ TUNSETTXFILTER = 0x800454d1
47655+ TUNSETVNETBE = 0x800454de
47656+ TUNSETVNETHDRSZ = 0x800454d8
47657+ TUNSETVNETLE = 0x800454dc
47658+ UBI_IOCATT = 0x80186f40
47659+ UBI_IOCDET = 0x80046f41
47660+ UBI_IOCEBCH = 0x80044f02
47661+ UBI_IOCEBER = 0x80044f01
47662+ UBI_IOCEBISMAP = 0x40044f05
47663+ UBI_IOCEBMAP = 0x80084f03
47664+ UBI_IOCEBUNMAP = 0x80044f04
47665+ UBI_IOCMKVOL = 0x80986f00
47666+ UBI_IOCRMVOL = 0x80046f01
47667+ UBI_IOCRNVOL = 0x91106f03
47668+ UBI_IOCRPEB = 0x80046f04
47669+ UBI_IOCRSVOL = 0x800c6f02
47670+ UBI_IOCSETVOLPROP = 0x80104f06
47671+ UBI_IOCSPEB = 0x80046f05
47672+ UBI_IOCVOLCRBLK = 0x80804f07
47673+ UBI_IOCVOLRMBLK = 0x20004f08
47674+ UBI_IOCVOLUP = 0x80084f00
47675+ VDISCARD = 0xd
47676+ VEOF = 0x10
47677+ VEOL = 0x11
47678+ VEOL2 = 0x6
47679+ VMIN = 0x4
47680+ VREPRINT = 0xc
47681+ VSTART = 0x8
47682+ VSTOP = 0x9
47683+ VSUSP = 0xa
47684+ VSWTC = 0x7
47685+ VSWTCH = 0x7
47686+ VT1 = 0x4000
47687+ VTDLY = 0x4000
47688+ VTIME = 0x5
47689+ VWERASE = 0xe
47690+ WDIOC_GETBOOTSTATUS = 0x40045702
47691+ WDIOC_GETPRETIMEOUT = 0x40045709
47692+ WDIOC_GETSTATUS = 0x40045701
47693+ WDIOC_GETSUPPORT = 0x40285700
47694+ WDIOC_GETTEMP = 0x40045703
47695+ WDIOC_GETTIMELEFT = 0x4004570a
47696+ WDIOC_GETTIMEOUT = 0x40045707
47697+ WDIOC_KEEPALIVE = 0x40045705
47698+ WDIOC_SETOPTIONS = 0x40045704
47699+ WORDSIZE = 0x20
47700+ XCASE = 0x4
47701+ XTABS = 0x1800
47702 )
47703
47704 // Errors
47705 const (
47706- E2BIG = syscall.Errno(0x7)
47707- EACCES = syscall.Errno(0xd)
47708 EADDRINUSE = syscall.Errno(0x7d)
47709 EADDRNOTAVAIL = syscall.Errno(0x7e)
47710 EADV = syscall.Errno(0x44)
47711 EAFNOSUPPORT = syscall.Errno(0x7c)
47712- EAGAIN = syscall.Errno(0xb)
47713 EALREADY = syscall.Errno(0x95)
47714 EBADE = syscall.Errno(0x32)
47715- EBADF = syscall.Errno(0x9)
47716 EBADFD = syscall.Errno(0x51)
47717 EBADMSG = syscall.Errno(0x4d)
47718 EBADR = syscall.Errno(0x33)
47719 EBADRQC = syscall.Errno(0x36)
47720 EBADSLT = syscall.Errno(0x37)
47721 EBFONT = syscall.Errno(0x3b)
47722- EBUSY = syscall.Errno(0x10)
47723 ECANCELED = syscall.Errno(0x9e)
47724- ECHILD = syscall.Errno(0xa)
47725 ECHRNG = syscall.Errno(0x25)
47726 ECOMM = syscall.Errno(0x46)
47727 ECONNABORTED = syscall.Errno(0x82)
47728@@ -1886,12 +502,8 @@ const (
47729 EDEADLK = syscall.Errno(0x2d)
47730 EDEADLOCK = syscall.Errno(0x38)
47731 EDESTADDRREQ = syscall.Errno(0x60)
47732- EDOM = syscall.Errno(0x21)
47733 EDOTDOT = syscall.Errno(0x49)
47734 EDQUOT = syscall.Errno(0x46d)
47735- EEXIST = syscall.Errno(0x11)
47736- EFAULT = syscall.Errno(0xe)
47737- EFBIG = syscall.Errno(0x1b)
47738 EHOSTDOWN = syscall.Errno(0x93)
47739 EHOSTUNREACH = syscall.Errno(0x94)
47740 EHWPOISON = syscall.Errno(0xa8)
47741@@ -1899,11 +511,7 @@ const (
47742 EILSEQ = syscall.Errno(0x58)
47743 EINIT = syscall.Errno(0x8d)
47744 EINPROGRESS = syscall.Errno(0x96)
47745- EINTR = syscall.Errno(0x4)
47746- EINVAL = syscall.Errno(0x16)
47747- EIO = syscall.Errno(0x5)
47748 EISCONN = syscall.Errno(0x85)
47749- EISDIR = syscall.Errno(0x15)
47750 EISNAM = syscall.Errno(0x8b)
47751 EKEYEXPIRED = syscall.Errno(0xa2)
47752 EKEYREJECTED = syscall.Errno(0xa4)
47753@@ -1920,8 +528,6 @@ const (
47754 ELNRNG = syscall.Errno(0x29)
47755 ELOOP = syscall.Errno(0x5a)
47756 EMEDIUMTYPE = syscall.Errno(0xa0)
47757- EMFILE = syscall.Errno(0x18)
47758- EMLINK = syscall.Errno(0x1f)
47759 EMSGSIZE = syscall.Errno(0x61)
47760 EMULTIHOP = syscall.Errno(0x4a)
47761 ENAMETOOLONG = syscall.Errno(0x4e)
47762@@ -1929,100 +535,68 @@ const (
47763 ENETDOWN = syscall.Errno(0x7f)
47764 ENETRESET = syscall.Errno(0x81)
47765 ENETUNREACH = syscall.Errno(0x80)
47766- ENFILE = syscall.Errno(0x17)
47767 ENOANO = syscall.Errno(0x35)
47768 ENOBUFS = syscall.Errno(0x84)
47769 ENOCSI = syscall.Errno(0x2b)
47770 ENODATA = syscall.Errno(0x3d)
47771- ENODEV = syscall.Errno(0x13)
47772- ENOENT = syscall.Errno(0x2)
47773- ENOEXEC = syscall.Errno(0x8)
47774 ENOKEY = syscall.Errno(0xa1)
47775 ENOLCK = syscall.Errno(0x2e)
47776 ENOLINK = syscall.Errno(0x43)
47777 ENOMEDIUM = syscall.Errno(0x9f)
47778- ENOMEM = syscall.Errno(0xc)
47779 ENOMSG = syscall.Errno(0x23)
47780 ENONET = syscall.Errno(0x40)
47781 ENOPKG = syscall.Errno(0x41)
47782 ENOPROTOOPT = syscall.Errno(0x63)
47783- ENOSPC = syscall.Errno(0x1c)
47784 ENOSR = syscall.Errno(0x3f)
47785 ENOSTR = syscall.Errno(0x3c)
47786 ENOSYS = syscall.Errno(0x59)
47787- ENOTBLK = syscall.Errno(0xf)
47788 ENOTCONN = syscall.Errno(0x86)
47789- ENOTDIR = syscall.Errno(0x14)
47790 ENOTEMPTY = syscall.Errno(0x5d)
47791 ENOTNAM = syscall.Errno(0x89)
47792 ENOTRECOVERABLE = syscall.Errno(0xa6)
47793 ENOTSOCK = syscall.Errno(0x5f)
47794 ENOTSUP = syscall.Errno(0x7a)
47795- ENOTTY = syscall.Errno(0x19)
47796 ENOTUNIQ = syscall.Errno(0x50)
47797- ENXIO = syscall.Errno(0x6)
47798 EOPNOTSUPP = syscall.Errno(0x7a)
47799 EOVERFLOW = syscall.Errno(0x4f)
47800 EOWNERDEAD = syscall.Errno(0xa5)
47801- EPERM = syscall.Errno(0x1)
47802 EPFNOSUPPORT = syscall.Errno(0x7b)
47803- EPIPE = syscall.Errno(0x20)
47804 EPROTO = syscall.Errno(0x47)
47805 EPROTONOSUPPORT = syscall.Errno(0x78)
47806 EPROTOTYPE = syscall.Errno(0x62)
47807- ERANGE = syscall.Errno(0x22)
47808 EREMCHG = syscall.Errno(0x52)
47809 EREMDEV = syscall.Errno(0x8e)
47810 EREMOTE = syscall.Errno(0x42)
47811 EREMOTEIO = syscall.Errno(0x8c)
47812 ERESTART = syscall.Errno(0x5b)
47813 ERFKILL = syscall.Errno(0xa7)
47814- EROFS = syscall.Errno(0x1e)
47815 ESHUTDOWN = syscall.Errno(0x8f)
47816 ESOCKTNOSUPPORT = syscall.Errno(0x79)
47817- ESPIPE = syscall.Errno(0x1d)
47818- ESRCH = syscall.Errno(0x3)
47819 ESRMNT = syscall.Errno(0x45)
47820 ESTALE = syscall.Errno(0x97)
47821 ESTRPIPE = syscall.Errno(0x5c)
47822 ETIME = syscall.Errno(0x3e)
47823 ETIMEDOUT = syscall.Errno(0x91)
47824 ETOOMANYREFS = syscall.Errno(0x90)
47825- ETXTBSY = syscall.Errno(0x1a)
47826 EUCLEAN = syscall.Errno(0x87)
47827 EUNATCH = syscall.Errno(0x2a)
47828 EUSERS = syscall.Errno(0x5e)
47829- EWOULDBLOCK = syscall.Errno(0xb)
47830- EXDEV = syscall.Errno(0x12)
47831 EXFULL = syscall.Errno(0x34)
47832 )
47833
47834 // Signals
47835 const (
47836- SIGABRT = syscall.Signal(0x6)
47837- SIGALRM = syscall.Signal(0xe)
47838 SIGBUS = syscall.Signal(0xa)
47839 SIGCHLD = syscall.Signal(0x12)
47840 SIGCLD = syscall.Signal(0x12)
47841 SIGCONT = syscall.Signal(0x19)
47842 SIGEMT = syscall.Signal(0x7)
47843- SIGFPE = syscall.Signal(0x8)
47844- SIGHUP = syscall.Signal(0x1)
47845- SIGILL = syscall.Signal(0x4)
47846- SIGINT = syscall.Signal(0x2)
47847 SIGIO = syscall.Signal(0x16)
47848- SIGIOT = syscall.Signal(0x6)
47849- SIGKILL = syscall.Signal(0x9)
47850- SIGPIPE = syscall.Signal(0xd)
47851 SIGPOLL = syscall.Signal(0x16)
47852 SIGPROF = syscall.Signal(0x1d)
47853 SIGPWR = syscall.Signal(0x13)
47854- SIGQUIT = syscall.Signal(0x3)
47855- SIGSEGV = syscall.Signal(0xb)
47856 SIGSTOP = syscall.Signal(0x17)
47857 SIGSYS = syscall.Signal(0xc)
47858- SIGTERM = syscall.Signal(0xf)
47859- SIGTRAP = syscall.Signal(0x5)
47860 SIGTSTP = syscall.Signal(0x18)
47861 SIGTTIN = syscall.Signal(0x1a)
47862 SIGTTOU = syscall.Signal(0x1b)
47863@@ -2036,174 +610,182 @@ const (
47864 )
47865
47866 // Error table
47867-var errors = [...]string{
47868- 1: "operation not permitted",
47869- 2: "no such file or directory",
47870- 3: "no such process",
47871- 4: "interrupted system call",
47872- 5: "input/output error",
47873- 6: "no such device or address",
47874- 7: "argument list too long",
47875- 8: "exec format error",
47876- 9: "bad file descriptor",
47877- 10: "no child processes",
47878- 11: "resource temporarily unavailable",
47879- 12: "cannot allocate memory",
47880- 13: "permission denied",
47881- 14: "bad address",
47882- 15: "block device required",
47883- 16: "device or resource busy",
47884- 17: "file exists",
47885- 18: "invalid cross-device link",
47886- 19: "no such device",
47887- 20: "not a directory",
47888- 21: "is a directory",
47889- 22: "invalid argument",
47890- 23: "too many open files in system",
47891- 24: "too many open files",
47892- 25: "inappropriate ioctl for device",
47893- 26: "text file busy",
47894- 27: "file too large",
47895- 28: "no space left on device",
47896- 29: "illegal seek",
47897- 30: "read-only file system",
47898- 31: "too many links",
47899- 32: "broken pipe",
47900- 33: "numerical argument out of domain",
47901- 34: "numerical result out of range",
47902- 35: "no message of desired type",
47903- 36: "identifier removed",
47904- 37: "channel number out of range",
47905- 38: "level 2 not synchronized",
47906- 39: "level 3 halted",
47907- 40: "level 3 reset",
47908- 41: "link number out of range",
47909- 42: "protocol driver not attached",
47910- 43: "no CSI structure available",
47911- 44: "level 2 halted",
47912- 45: "resource deadlock avoided",
47913- 46: "no locks available",
47914- 50: "invalid exchange",
47915- 51: "invalid request descriptor",
47916- 52: "exchange full",
47917- 53: "no anode",
47918- 54: "invalid request code",
47919- 55: "invalid slot",
47920- 56: "file locking deadlock error",
47921- 59: "bad font file format",
47922- 60: "device not a stream",
47923- 61: "no data available",
47924- 62: "timer expired",
47925- 63: "out of streams resources",
47926- 64: "machine is not on the network",
47927- 65: "package not installed",
47928- 66: "object is remote",
47929- 67: "link has been severed",
47930- 68: "advertise error",
47931- 69: "srmount error",
47932- 70: "communication error on send",
47933- 71: "protocol error",
47934- 73: "RFS specific error",
47935- 74: "multihop attempted",
47936- 77: "bad message",
47937- 78: "file name too long",
47938- 79: "value too large for defined data type",
47939- 80: "name not unique on network",
47940- 81: "file descriptor in bad state",
47941- 82: "remote address changed",
47942- 83: "can not access a needed shared library",
47943- 84: "accessing a corrupted shared library",
47944- 85: ".lib section in a.out corrupted",
47945- 86: "attempting to link in too many shared libraries",
47946- 87: "cannot exec a shared library directly",
47947- 88: "invalid or incomplete multibyte or wide character",
47948- 89: "function not implemented",
47949- 90: "too many levels of symbolic links",
47950- 91: "interrupted system call should be restarted",
47951- 92: "streams pipe error",
47952- 93: "directory not empty",
47953- 94: "too many users",
47954- 95: "socket operation on non-socket",
47955- 96: "destination address required",
47956- 97: "message too long",
47957- 98: "protocol wrong type for socket",
47958- 99: "protocol not available",
47959- 120: "protocol not supported",
47960- 121: "socket type not supported",
47961- 122: "operation not supported",
47962- 123: "protocol family not supported",
47963- 124: "address family not supported by protocol",
47964- 125: "address already in use",
47965- 126: "cannot assign requested address",
47966- 127: "network is down",
47967- 128: "network is unreachable",
47968- 129: "network dropped connection on reset",
47969- 130: "software caused connection abort",
47970- 131: "connection reset by peer",
47971- 132: "no buffer space available",
47972- 133: "transport endpoint is already connected",
47973- 134: "transport endpoint is not connected",
47974- 135: "structure needs cleaning",
47975- 137: "not a XENIX named type file",
47976- 138: "no XENIX semaphores available",
47977- 139: "is a named type file",
47978- 140: "remote I/O error",
47979- 141: "unknown error 141",
47980- 142: "unknown error 142",
47981- 143: "cannot send after transport endpoint shutdown",
47982- 144: "too many references: cannot splice",
47983- 145: "connection timed out",
47984- 146: "connection refused",
47985- 147: "host is down",
47986- 148: "no route to host",
47987- 149: "operation already in progress",
47988- 150: "operation now in progress",
47989- 151: "stale file handle",
47990- 158: "operation canceled",
47991- 159: "no medium found",
47992- 160: "wrong medium type",
47993- 161: "required key not available",
47994- 162: "key has expired",
47995- 163: "key has been revoked",
47996- 164: "key was rejected by service",
47997- 165: "owner died",
47998- 166: "state not recoverable",
47999- 167: "operation not possible due to RF-kill",
48000- 168: "memory page has hardware error",
48001- 1133: "disk quota exceeded",
48002+var errorList = [...]struct {
48003+ num syscall.Errno
48004+ name string
48005+ desc string
48006+}{
48007+ {1, "EPERM", "operation not permitted"},
48008+ {2, "ENOENT", "no such file or directory"},
48009+ {3, "ESRCH", "no such process"},
48010+ {4, "EINTR", "interrupted system call"},
48011+ {5, "EIO", "input/output error"},
48012+ {6, "ENXIO", "no such device or address"},
48013+ {7, "E2BIG", "argument list too long"},
48014+ {8, "ENOEXEC", "exec format error"},
48015+ {9, "EBADF", "bad file descriptor"},
48016+ {10, "ECHILD", "no child processes"},
48017+ {11, "EAGAIN", "resource temporarily unavailable"},
48018+ {12, "ENOMEM", "cannot allocate memory"},
48019+ {13, "EACCES", "permission denied"},
48020+ {14, "EFAULT", "bad address"},
48021+ {15, "ENOTBLK", "block device required"},
48022+ {16, "EBUSY", "device or resource busy"},
48023+ {17, "EEXIST", "file exists"},
48024+ {18, "EXDEV", "invalid cross-device link"},
48025+ {19, "ENODEV", "no such device"},
48026+ {20, "ENOTDIR", "not a directory"},
48027+ {21, "EISDIR", "is a directory"},
48028+ {22, "EINVAL", "invalid argument"},
48029+ {23, "ENFILE", "too many open files in system"},
48030+ {24, "EMFILE", "too many open files"},
48031+ {25, "ENOTTY", "inappropriate ioctl for device"},
48032+ {26, "ETXTBSY", "text file busy"},
48033+ {27, "EFBIG", "file too large"},
48034+ {28, "ENOSPC", "no space left on device"},
48035+ {29, "ESPIPE", "illegal seek"},
48036+ {30, "EROFS", "read-only file system"},
48037+ {31, "EMLINK", "too many links"},
48038+ {32, "EPIPE", "broken pipe"},
48039+ {33, "EDOM", "numerical argument out of domain"},
48040+ {34, "ERANGE", "numerical result out of range"},
48041+ {35, "ENOMSG", "no message of desired type"},
48042+ {36, "EIDRM", "identifier removed"},
48043+ {37, "ECHRNG", "channel number out of range"},
48044+ {38, "EL2NSYNC", "level 2 not synchronized"},
48045+ {39, "EL3HLT", "level 3 halted"},
48046+ {40, "EL3RST", "level 3 reset"},
48047+ {41, "ELNRNG", "link number out of range"},
48048+ {42, "EUNATCH", "protocol driver not attached"},
48049+ {43, "ENOCSI", "no CSI structure available"},
48050+ {44, "EL2HLT", "level 2 halted"},
48051+ {45, "EDEADLK", "resource deadlock avoided"},
48052+ {46, "ENOLCK", "no locks available"},
48053+ {50, "EBADE", "invalid exchange"},
48054+ {51, "EBADR", "invalid request descriptor"},
48055+ {52, "EXFULL", "exchange full"},
48056+ {53, "ENOANO", "no anode"},
48057+ {54, "EBADRQC", "invalid request code"},
48058+ {55, "EBADSLT", "invalid slot"},
48059+ {56, "EDEADLOCK", "file locking deadlock error"},
48060+ {59, "EBFONT", "bad font file format"},
48061+ {60, "ENOSTR", "device not a stream"},
48062+ {61, "ENODATA", "no data available"},
48063+ {62, "ETIME", "timer expired"},
48064+ {63, "ENOSR", "out of streams resources"},
48065+ {64, "ENONET", "machine is not on the network"},
48066+ {65, "ENOPKG", "package not installed"},
48067+ {66, "EREMOTE", "object is remote"},
48068+ {67, "ENOLINK", "link has been severed"},
48069+ {68, "EADV", "advertise error"},
48070+ {69, "ESRMNT", "srmount error"},
48071+ {70, "ECOMM", "communication error on send"},
48072+ {71, "EPROTO", "protocol error"},
48073+ {73, "EDOTDOT", "RFS specific error"},
48074+ {74, "EMULTIHOP", "multihop attempted"},
48075+ {77, "EBADMSG", "bad message"},
48076+ {78, "ENAMETOOLONG", "file name too long"},
48077+ {79, "EOVERFLOW", "value too large for defined data type"},
48078+ {80, "ENOTUNIQ", "name not unique on network"},
48079+ {81, "EBADFD", "file descriptor in bad state"},
48080+ {82, "EREMCHG", "remote address changed"},
48081+ {83, "ELIBACC", "can not access a needed shared library"},
48082+ {84, "ELIBBAD", "accessing a corrupted shared library"},
48083+ {85, "ELIBSCN", ".lib section in a.out corrupted"},
48084+ {86, "ELIBMAX", "attempting to link in too many shared libraries"},
48085+ {87, "ELIBEXEC", "cannot exec a shared library directly"},
48086+ {88, "EILSEQ", "invalid or incomplete multibyte or wide character"},
48087+ {89, "ENOSYS", "function not implemented"},
48088+ {90, "ELOOP", "too many levels of symbolic links"},
48089+ {91, "ERESTART", "interrupted system call should be restarted"},
48090+ {92, "ESTRPIPE", "streams pipe error"},
48091+ {93, "ENOTEMPTY", "directory not empty"},
48092+ {94, "EUSERS", "too many users"},
48093+ {95, "ENOTSOCK", "socket operation on non-socket"},
48094+ {96, "EDESTADDRREQ", "destination address required"},
48095+ {97, "EMSGSIZE", "message too long"},
48096+ {98, "EPROTOTYPE", "protocol wrong type for socket"},
48097+ {99, "ENOPROTOOPT", "protocol not available"},
48098+ {120, "EPROTONOSUPPORT", "protocol not supported"},
48099+ {121, "ESOCKTNOSUPPORT", "socket type not supported"},
48100+ {122, "ENOTSUP", "operation not supported"},
48101+ {123, "EPFNOSUPPORT", "protocol family not supported"},
48102+ {124, "EAFNOSUPPORT", "address family not supported by protocol"},
48103+ {125, "EADDRINUSE", "address already in use"},
48104+ {126, "EADDRNOTAVAIL", "cannot assign requested address"},
48105+ {127, "ENETDOWN", "network is down"},
48106+ {128, "ENETUNREACH", "network is unreachable"},
48107+ {129, "ENETRESET", "network dropped connection on reset"},
48108+ {130, "ECONNABORTED", "software caused connection abort"},
48109+ {131, "ECONNRESET", "connection reset by peer"},
48110+ {132, "ENOBUFS", "no buffer space available"},
48111+ {133, "EISCONN", "transport endpoint is already connected"},
48112+ {134, "ENOTCONN", "transport endpoint is not connected"},
48113+ {135, "EUCLEAN", "structure needs cleaning"},
48114+ {137, "ENOTNAM", "not a XENIX named type file"},
48115+ {138, "ENAVAIL", "no XENIX semaphores available"},
48116+ {139, "EISNAM", "is a named type file"},
48117+ {140, "EREMOTEIO", "remote I/O error"},
48118+ {141, "EINIT", "unknown error 141"},
48119+ {142, "EREMDEV", "unknown error 142"},
48120+ {143, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
48121+ {144, "ETOOMANYREFS", "too many references: cannot splice"},
48122+ {145, "ETIMEDOUT", "connection timed out"},
48123+ {146, "ECONNREFUSED", "connection refused"},
48124+ {147, "EHOSTDOWN", "host is down"},
48125+ {148, "EHOSTUNREACH", "no route to host"},
48126+ {149, "EALREADY", "operation already in progress"},
48127+ {150, "EINPROGRESS", "operation now in progress"},
48128+ {151, "ESTALE", "stale file handle"},
48129+ {158, "ECANCELED", "operation canceled"},
48130+ {159, "ENOMEDIUM", "no medium found"},
48131+ {160, "EMEDIUMTYPE", "wrong medium type"},
48132+ {161, "ENOKEY", "required key not available"},
48133+ {162, "EKEYEXPIRED", "key has expired"},
48134+ {163, "EKEYREVOKED", "key has been revoked"},
48135+ {164, "EKEYREJECTED", "key was rejected by service"},
48136+ {165, "EOWNERDEAD", "owner died"},
48137+ {166, "ENOTRECOVERABLE", "state not recoverable"},
48138+ {167, "ERFKILL", "operation not possible due to RF-kill"},
48139+ {168, "EHWPOISON", "memory page has hardware error"},
48140+ {1133, "EDQUOT", "disk quota exceeded"},
48141 }
48142
48143 // Signal table
48144-var signals = [...]string{
48145- 1: "hangup",
48146- 2: "interrupt",
48147- 3: "quit",
48148- 4: "illegal instruction",
48149- 5: "trace/breakpoint trap",
48150- 6: "aborted",
48151- 7: "EMT trap",
48152- 8: "floating point exception",
48153- 9: "killed",
48154- 10: "bus error",
48155- 11: "segmentation fault",
48156- 12: "bad system call",
48157- 13: "broken pipe",
48158- 14: "alarm clock",
48159- 15: "terminated",
48160- 16: "user defined signal 1",
48161- 17: "user defined signal 2",
48162- 18: "child exited",
48163- 19: "power failure",
48164- 20: "window changed",
48165- 21: "urgent I/O condition",
48166- 22: "I/O possible",
48167- 23: "stopped (signal)",
48168- 24: "stopped",
48169- 25: "continued",
48170- 26: "stopped (tty input)",
48171- 27: "stopped (tty output)",
48172- 28: "virtual timer expired",
48173- 29: "profiling timer expired",
48174- 30: "CPU time limit exceeded",
48175- 31: "file size limit exceeded",
48176+var signalList = [...]struct {
48177+ num syscall.Signal
48178+ name string
48179+ desc string
48180+}{
48181+ {1, "SIGHUP", "hangup"},
48182+ {2, "SIGINT", "interrupt"},
48183+ {3, "SIGQUIT", "quit"},
48184+ {4, "SIGILL", "illegal instruction"},
48185+ {5, "SIGTRAP", "trace/breakpoint trap"},
48186+ {6, "SIGABRT", "aborted"},
48187+ {7, "SIGEMT", "EMT trap"},
48188+ {8, "SIGFPE", "floating point exception"},
48189+ {9, "SIGKILL", "killed"},
48190+ {10, "SIGBUS", "bus error"},
48191+ {11, "SIGSEGV", "segmentation fault"},
48192+ {12, "SIGSYS", "bad system call"},
48193+ {13, "SIGPIPE", "broken pipe"},
48194+ {14, "SIGALRM", "alarm clock"},
48195+ {15, "SIGTERM", "terminated"},
48196+ {16, "SIGUSR1", "user defined signal 1"},
48197+ {17, "SIGUSR2", "user defined signal 2"},
48198+ {18, "SIGCHLD", "child exited"},
48199+ {19, "SIGPWR", "power failure"},
48200+ {20, "SIGWINCH", "window changed"},
48201+ {21, "SIGURG", "urgent I/O condition"},
48202+ {22, "SIGIO", "I/O possible"},
48203+ {23, "SIGSTOP", "stopped (signal)"},
48204+ {24, "SIGTSTP", "stopped"},
48205+ {25, "SIGCONT", "continued"},
48206+ {26, "SIGTTIN", "stopped (tty input)"},
48207+ {27, "SIGTTOU", "stopped (tty output)"},
48208+ {28, "SIGVTALRM", "virtual timer expired"},
48209+ {29, "SIGPROF", "profiling timer expired"},
48210+ {30, "SIGXCPU", "CPU time limit exceeded"},
48211+ {31, "SIGXFSZ", "file size limit exceeded"},
48212 }
48213diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go
48214index 6772a59b..51858667 100644
48215--- a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go
48216+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go
48217@@ -3,7 +3,7 @@
48218
48219 // +build ppc64,linux
48220
48221-// Created by cgo -godefs - DO NOT EDIT
48222+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
48223 // cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
48224
48225 package unix
48226@@ -11,1930 +11,549 @@ package unix
48227 import "syscall"
48228
48229 const (
48230- AF_ALG = 0x26
48231- AF_APPLETALK = 0x5
48232- AF_ASH = 0x12
48233- AF_ATMPVC = 0x8
48234- AF_ATMSVC = 0x14
48235- AF_AX25 = 0x3
48236- AF_BLUETOOTH = 0x1f
48237- AF_BRIDGE = 0x7
48238- AF_CAIF = 0x25
48239- AF_CAN = 0x1d
48240- AF_DECnet = 0xc
48241- AF_ECONET = 0x13
48242- AF_FILE = 0x1
48243- AF_IB = 0x1b
48244- AF_IEEE802154 = 0x24
48245- AF_INET = 0x2
48246- AF_INET6 = 0xa
48247- AF_IPX = 0x4
48248- AF_IRDA = 0x17
48249- AF_ISDN = 0x22
48250- AF_IUCV = 0x20
48251- AF_KCM = 0x29
48252- AF_KEY = 0xf
48253- AF_LLC = 0x1a
48254- AF_LOCAL = 0x1
48255- AF_MAX = 0x2b
48256- AF_MPLS = 0x1c
48257- AF_NETBEUI = 0xd
48258- AF_NETLINK = 0x10
48259- AF_NETROM = 0x6
48260- AF_NFC = 0x27
48261- AF_PACKET = 0x11
48262- AF_PHONET = 0x23
48263- AF_PPPOX = 0x18
48264- AF_QIPCRTR = 0x2a
48265- AF_RDS = 0x15
48266- AF_ROSE = 0xb
48267- AF_ROUTE = 0x10
48268- AF_RXRPC = 0x21
48269- AF_SECURITY = 0xe
48270- AF_SNA = 0x16
48271- AF_TIPC = 0x1e
48272- AF_UNIX = 0x1
48273- AF_UNSPEC = 0x0
48274- AF_VSOCK = 0x28
48275- AF_WANPIPE = 0x19
48276- AF_X25 = 0x9
48277- ALG_OP_DECRYPT = 0x0
48278- ALG_OP_ENCRYPT = 0x1
48279- ALG_SET_AEAD_ASSOCLEN = 0x4
48280- ALG_SET_AEAD_AUTHSIZE = 0x5
48281- ALG_SET_IV = 0x2
48282- ALG_SET_KEY = 0x1
48283- ALG_SET_OP = 0x3
48284- ARPHRD_6LOWPAN = 0x339
48285- ARPHRD_ADAPT = 0x108
48286- ARPHRD_APPLETLK = 0x8
48287- ARPHRD_ARCNET = 0x7
48288- ARPHRD_ASH = 0x30d
48289- ARPHRD_ATM = 0x13
48290- ARPHRD_AX25 = 0x3
48291- ARPHRD_BIF = 0x307
48292- ARPHRD_CAIF = 0x336
48293- ARPHRD_CAN = 0x118
48294- ARPHRD_CHAOS = 0x5
48295- ARPHRD_CISCO = 0x201
48296- ARPHRD_CSLIP = 0x101
48297- ARPHRD_CSLIP6 = 0x103
48298- ARPHRD_DDCMP = 0x205
48299- ARPHRD_DLCI = 0xf
48300- ARPHRD_ECONET = 0x30e
48301- ARPHRD_EETHER = 0x2
48302- ARPHRD_ETHER = 0x1
48303- ARPHRD_EUI64 = 0x1b
48304- ARPHRD_FCAL = 0x311
48305- ARPHRD_FCFABRIC = 0x313
48306- ARPHRD_FCPL = 0x312
48307- ARPHRD_FCPP = 0x310
48308- ARPHRD_FDDI = 0x306
48309- ARPHRD_FRAD = 0x302
48310- ARPHRD_HDLC = 0x201
48311- ARPHRD_HIPPI = 0x30c
48312- ARPHRD_HWX25 = 0x110
48313- ARPHRD_IEEE1394 = 0x18
48314- ARPHRD_IEEE802 = 0x6
48315- ARPHRD_IEEE80211 = 0x321
48316- ARPHRD_IEEE80211_PRISM = 0x322
48317- ARPHRD_IEEE80211_RADIOTAP = 0x323
48318- ARPHRD_IEEE802154 = 0x324
48319- ARPHRD_IEEE802154_MONITOR = 0x325
48320- ARPHRD_IEEE802_TR = 0x320
48321- ARPHRD_INFINIBAND = 0x20
48322- ARPHRD_IP6GRE = 0x337
48323- ARPHRD_IPDDP = 0x309
48324- ARPHRD_IPGRE = 0x30a
48325- ARPHRD_IRDA = 0x30f
48326- ARPHRD_LAPB = 0x204
48327- ARPHRD_LOCALTLK = 0x305
48328- ARPHRD_LOOPBACK = 0x304
48329- ARPHRD_METRICOM = 0x17
48330- ARPHRD_NETLINK = 0x338
48331- ARPHRD_NETROM = 0x0
48332- ARPHRD_NONE = 0xfffe
48333- ARPHRD_PHONET = 0x334
48334- ARPHRD_PHONET_PIPE = 0x335
48335- ARPHRD_PIMREG = 0x30b
48336- ARPHRD_PPP = 0x200
48337- ARPHRD_PRONET = 0x4
48338- ARPHRD_RAWHDLC = 0x206
48339- ARPHRD_ROSE = 0x10e
48340- ARPHRD_RSRVD = 0x104
48341- ARPHRD_SIT = 0x308
48342- ARPHRD_SKIP = 0x303
48343- ARPHRD_SLIP = 0x100
48344- ARPHRD_SLIP6 = 0x102
48345- ARPHRD_TUNNEL = 0x300
48346- ARPHRD_TUNNEL6 = 0x301
48347- ARPHRD_VOID = 0xffff
48348- ARPHRD_X25 = 0x10f
48349- B0 = 0x0
48350- B1000000 = 0x17
48351- B110 = 0x3
48352- B115200 = 0x11
48353- B1152000 = 0x18
48354- B1200 = 0x9
48355- B134 = 0x4
48356- B150 = 0x5
48357- B1500000 = 0x19
48358- B1800 = 0xa
48359- B19200 = 0xe
48360- B200 = 0x6
48361- B2000000 = 0x1a
48362- B230400 = 0x12
48363- B2400 = 0xb
48364- B2500000 = 0x1b
48365- B300 = 0x7
48366- B3000000 = 0x1c
48367- B3500000 = 0x1d
48368- B38400 = 0xf
48369- B4000000 = 0x1e
48370- B460800 = 0x13
48371- B4800 = 0xc
48372- B50 = 0x1
48373- B500000 = 0x14
48374- B57600 = 0x10
48375- B576000 = 0x15
48376- B600 = 0x8
48377- B75 = 0x2
48378- B921600 = 0x16
48379- B9600 = 0xd
48380- BLKBSZGET = 0x40081270
48381- BLKBSZSET = 0x80081271
48382- BLKFLSBUF = 0x20001261
48383- BLKFRAGET = 0x20001265
48384- BLKFRASET = 0x20001264
48385- BLKGETSIZE = 0x20001260
48386- BLKGETSIZE64 = 0x40081272
48387- BLKPBSZGET = 0x2000127b
48388- BLKRAGET = 0x20001263
48389- BLKRASET = 0x20001262
48390- BLKROGET = 0x2000125e
48391- BLKROSET = 0x2000125d
48392- BLKRRPART = 0x2000125f
48393- BLKSECTGET = 0x20001267
48394- BLKSECTSET = 0x20001266
48395- BLKSSZGET = 0x20001268
48396- BOTHER = 0x1f
48397- BPF_A = 0x10
48398- BPF_ABS = 0x20
48399- BPF_ADD = 0x0
48400- BPF_ALU = 0x4
48401- BPF_AND = 0x50
48402- BPF_B = 0x10
48403- BPF_DIV = 0x30
48404- BPF_H = 0x8
48405- BPF_IMM = 0x0
48406- BPF_IND = 0x40
48407- BPF_JA = 0x0
48408- BPF_JEQ = 0x10
48409- BPF_JGE = 0x30
48410- BPF_JGT = 0x20
48411- BPF_JMP = 0x5
48412- BPF_JSET = 0x40
48413- BPF_K = 0x0
48414- BPF_LD = 0x0
48415- BPF_LDX = 0x1
48416- BPF_LEN = 0x80
48417- BPF_LL_OFF = -0x200000
48418- BPF_LSH = 0x60
48419- BPF_MAJOR_VERSION = 0x1
48420- BPF_MAXINSNS = 0x1000
48421- BPF_MEM = 0x60
48422- BPF_MEMWORDS = 0x10
48423- BPF_MINOR_VERSION = 0x1
48424- BPF_MISC = 0x7
48425- BPF_MOD = 0x90
48426- BPF_MSH = 0xa0
48427- BPF_MUL = 0x20
48428- BPF_NEG = 0x80
48429- BPF_NET_OFF = -0x100000
48430- BPF_OR = 0x40
48431- BPF_RET = 0x6
48432- BPF_RSH = 0x70
48433- BPF_ST = 0x2
48434- BPF_STX = 0x3
48435- BPF_SUB = 0x10
48436- BPF_TAX = 0x0
48437- BPF_TXA = 0x80
48438- BPF_W = 0x0
48439- BPF_X = 0x8
48440- BPF_XOR = 0xa0
48441- BRKINT = 0x2
48442- BS0 = 0x0
48443- BS1 = 0x8000
48444- BSDLY = 0x8000
48445- CAN_BCM = 0x2
48446- CAN_EFF_FLAG = 0x80000000
48447- CAN_EFF_ID_BITS = 0x1d
48448- CAN_EFF_MASK = 0x1fffffff
48449- CAN_ERR_FLAG = 0x20000000
48450- CAN_ERR_MASK = 0x1fffffff
48451- CAN_INV_FILTER = 0x20000000
48452- CAN_ISOTP = 0x6
48453- CAN_MAX_DLC = 0x8
48454- CAN_MAX_DLEN = 0x8
48455- CAN_MCNET = 0x5
48456- CAN_MTU = 0x10
48457- CAN_NPROTO = 0x7
48458- CAN_RAW = 0x1
48459- CAN_RAW_FILTER_MAX = 0x200
48460- CAN_RTR_FLAG = 0x40000000
48461- CAN_SFF_ID_BITS = 0xb
48462- CAN_SFF_MASK = 0x7ff
48463- CAN_TP16 = 0x3
48464- CAN_TP20 = 0x4
48465- CBAUD = 0xff
48466- CBAUDEX = 0x0
48467- CFLUSH = 0xf
48468- CIBAUD = 0xff0000
48469- CLOCAL = 0x8000
48470- CLOCK_BOOTTIME = 0x7
48471- CLOCK_BOOTTIME_ALARM = 0x9
48472- CLOCK_DEFAULT = 0x0
48473- CLOCK_EXT = 0x1
48474- CLOCK_INT = 0x2
48475- CLOCK_MONOTONIC = 0x1
48476- CLOCK_MONOTONIC_COARSE = 0x6
48477- CLOCK_MONOTONIC_RAW = 0x4
48478- CLOCK_PROCESS_CPUTIME_ID = 0x2
48479- CLOCK_REALTIME = 0x0
48480- CLOCK_REALTIME_ALARM = 0x8
48481- CLOCK_REALTIME_COARSE = 0x5
48482- CLOCK_TAI = 0xb
48483- CLOCK_THREAD_CPUTIME_ID = 0x3
48484- CLOCK_TXFROMRX = 0x4
48485- CLOCK_TXINT = 0x3
48486- CLONE_CHILD_CLEARTID = 0x200000
48487- CLONE_CHILD_SETTID = 0x1000000
48488- CLONE_DETACHED = 0x400000
48489- CLONE_FILES = 0x400
48490- CLONE_FS = 0x200
48491- CLONE_IO = 0x80000000
48492- CLONE_NEWCGROUP = 0x2000000
48493- CLONE_NEWIPC = 0x8000000
48494- CLONE_NEWNET = 0x40000000
48495- CLONE_NEWNS = 0x20000
48496- CLONE_NEWPID = 0x20000000
48497- CLONE_NEWUSER = 0x10000000
48498- CLONE_NEWUTS = 0x4000000
48499- CLONE_PARENT = 0x8000
48500- CLONE_PARENT_SETTID = 0x100000
48501- CLONE_PTRACE = 0x2000
48502- CLONE_SETTLS = 0x80000
48503- CLONE_SIGHAND = 0x800
48504- CLONE_SYSVSEM = 0x40000
48505- CLONE_THREAD = 0x10000
48506- CLONE_UNTRACED = 0x800000
48507- CLONE_VFORK = 0x4000
48508- CLONE_VM = 0x100
48509- CMSPAR = 0x40000000
48510- CR0 = 0x0
48511- CR1 = 0x1000
48512- CR2 = 0x2000
48513- CR3 = 0x3000
48514- CRDLY = 0x3000
48515- CREAD = 0x800
48516- CRTSCTS = 0x80000000
48517- CS5 = 0x0
48518- CS6 = 0x100
48519- CS7 = 0x200
48520- CS8 = 0x300
48521- CSIGNAL = 0xff
48522- CSIZE = 0x300
48523- CSTART = 0x11
48524- CSTATUS = 0x0
48525- CSTOP = 0x13
48526- CSTOPB = 0x400
48527- CSUSP = 0x1a
48528- DT_BLK = 0x6
48529- DT_CHR = 0x2
48530- DT_DIR = 0x4
48531- DT_FIFO = 0x1
48532- DT_LNK = 0xa
48533- DT_REG = 0x8
48534- DT_SOCK = 0xc
48535- DT_UNKNOWN = 0x0
48536- DT_WHT = 0xe
48537- ECHO = 0x8
48538- ECHOCTL = 0x40
48539- ECHOE = 0x2
48540- ECHOK = 0x4
48541- ECHOKE = 0x1
48542- ECHONL = 0x10
48543- ECHOPRT = 0x20
48544- EFD_CLOEXEC = 0x80000
48545- EFD_NONBLOCK = 0x800
48546- EFD_SEMAPHORE = 0x1
48547- ENCODING_DEFAULT = 0x0
48548- ENCODING_FM_MARK = 0x3
48549- ENCODING_FM_SPACE = 0x4
48550- ENCODING_MANCHESTER = 0x5
48551- ENCODING_NRZ = 0x1
48552- ENCODING_NRZI = 0x2
48553- EPOLLERR = 0x8
48554- EPOLLET = 0x80000000
48555- EPOLLEXCLUSIVE = 0x10000000
48556- EPOLLHUP = 0x10
48557- EPOLLIN = 0x1
48558- EPOLLMSG = 0x400
48559- EPOLLONESHOT = 0x40000000
48560- EPOLLOUT = 0x4
48561- EPOLLPRI = 0x2
48562- EPOLLRDBAND = 0x80
48563- EPOLLRDHUP = 0x2000
48564- EPOLLRDNORM = 0x40
48565- EPOLLWAKEUP = 0x20000000
48566- EPOLLWRBAND = 0x200
48567- EPOLLWRNORM = 0x100
48568- EPOLL_CLOEXEC = 0x80000
48569- EPOLL_CTL_ADD = 0x1
48570- EPOLL_CTL_DEL = 0x2
48571- EPOLL_CTL_MOD = 0x3
48572- ETH_P_1588 = 0x88f7
48573- ETH_P_8021AD = 0x88a8
48574- ETH_P_8021AH = 0x88e7
48575- ETH_P_8021Q = 0x8100
48576- ETH_P_80221 = 0x8917
48577- ETH_P_802_2 = 0x4
48578- ETH_P_802_3 = 0x1
48579- ETH_P_802_3_MIN = 0x600
48580- ETH_P_802_EX1 = 0x88b5
48581- ETH_P_AARP = 0x80f3
48582- ETH_P_AF_IUCV = 0xfbfb
48583- ETH_P_ALL = 0x3
48584- ETH_P_AOE = 0x88a2
48585- ETH_P_ARCNET = 0x1a
48586- ETH_P_ARP = 0x806
48587- ETH_P_ATALK = 0x809b
48588- ETH_P_ATMFATE = 0x8884
48589- ETH_P_ATMMPOA = 0x884c
48590- ETH_P_AX25 = 0x2
48591- ETH_P_BATMAN = 0x4305
48592- ETH_P_BPQ = 0x8ff
48593- ETH_P_CAIF = 0xf7
48594- ETH_P_CAN = 0xc
48595- ETH_P_CANFD = 0xd
48596- ETH_P_CONTROL = 0x16
48597- ETH_P_CUST = 0x6006
48598- ETH_P_DDCMP = 0x6
48599- ETH_P_DEC = 0x6000
48600- ETH_P_DIAG = 0x6005
48601- ETH_P_DNA_DL = 0x6001
48602- ETH_P_DNA_RC = 0x6002
48603- ETH_P_DNA_RT = 0x6003
48604- ETH_P_DSA = 0x1b
48605- ETH_P_ECONET = 0x18
48606- ETH_P_EDSA = 0xdada
48607- ETH_P_FCOE = 0x8906
48608- ETH_P_FIP = 0x8914
48609- ETH_P_HDLC = 0x19
48610- ETH_P_HSR = 0x892f
48611- ETH_P_IEEE802154 = 0xf6
48612- ETH_P_IEEEPUP = 0xa00
48613- ETH_P_IEEEPUPAT = 0xa01
48614- ETH_P_IP = 0x800
48615- ETH_P_IPV6 = 0x86dd
48616- ETH_P_IPX = 0x8137
48617- ETH_P_IRDA = 0x17
48618- ETH_P_LAT = 0x6004
48619- ETH_P_LINK_CTL = 0x886c
48620- ETH_P_LOCALTALK = 0x9
48621- ETH_P_LOOP = 0x60
48622- ETH_P_LOOPBACK = 0x9000
48623- ETH_P_MACSEC = 0x88e5
48624- ETH_P_MOBITEX = 0x15
48625- ETH_P_MPLS_MC = 0x8848
48626- ETH_P_MPLS_UC = 0x8847
48627- ETH_P_MVRP = 0x88f5
48628- ETH_P_NCSI = 0x88f8
48629- ETH_P_PAE = 0x888e
48630- ETH_P_PAUSE = 0x8808
48631- ETH_P_PHONET = 0xf5
48632- ETH_P_PPPTALK = 0x10
48633- ETH_P_PPP_DISC = 0x8863
48634- ETH_P_PPP_MP = 0x8
48635- ETH_P_PPP_SES = 0x8864
48636- ETH_P_PRP = 0x88fb
48637- ETH_P_PUP = 0x200
48638- ETH_P_PUPAT = 0x201
48639- ETH_P_QINQ1 = 0x9100
48640- ETH_P_QINQ2 = 0x9200
48641- ETH_P_QINQ3 = 0x9300
48642- ETH_P_RARP = 0x8035
48643- ETH_P_SCA = 0x6007
48644- ETH_P_SLOW = 0x8809
48645- ETH_P_SNAP = 0x5
48646- ETH_P_TDLS = 0x890d
48647- ETH_P_TEB = 0x6558
48648- ETH_P_TIPC = 0x88ca
48649- ETH_P_TRAILER = 0x1c
48650- ETH_P_TR_802_2 = 0x11
48651- ETH_P_TSN = 0x22f0
48652- ETH_P_WAN_PPP = 0x7
48653- ETH_P_WCCP = 0x883e
48654- ETH_P_X25 = 0x805
48655- ETH_P_XDSA = 0xf8
48656- EXTA = 0xe
48657- EXTB = 0xf
48658- EXTPROC = 0x10000000
48659- FALLOC_FL_COLLAPSE_RANGE = 0x8
48660- FALLOC_FL_INSERT_RANGE = 0x20
48661- FALLOC_FL_KEEP_SIZE = 0x1
48662- FALLOC_FL_NO_HIDE_STALE = 0x4
48663- FALLOC_FL_PUNCH_HOLE = 0x2
48664- FALLOC_FL_UNSHARE_RANGE = 0x40
48665- FALLOC_FL_ZERO_RANGE = 0x10
48666- FD_CLOEXEC = 0x1
48667- FD_SETSIZE = 0x400
48668- FF0 = 0x0
48669- FF1 = 0x4000
48670- FFDLY = 0x4000
48671- FLUSHO = 0x800000
48672- FS_ENCRYPTION_MODE_AES_256_CBC = 0x3
48673- FS_ENCRYPTION_MODE_AES_256_CTS = 0x4
48674- FS_ENCRYPTION_MODE_AES_256_GCM = 0x2
48675- FS_ENCRYPTION_MODE_AES_256_XTS = 0x1
48676- FS_ENCRYPTION_MODE_INVALID = 0x0
48677- FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615
48678- FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614
48679- FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613
48680- FS_KEY_DESCRIPTOR_SIZE = 0x8
48681- FS_KEY_DESC_PREFIX = "fscrypt:"
48682- FS_KEY_DESC_PREFIX_SIZE = 0x8
48683- FS_MAX_KEY_SIZE = 0x40
48684- FS_POLICY_FLAGS_PAD_16 = 0x2
48685- FS_POLICY_FLAGS_PAD_32 = 0x3
48686- FS_POLICY_FLAGS_PAD_4 = 0x0
48687- FS_POLICY_FLAGS_PAD_8 = 0x1
48688- FS_POLICY_FLAGS_PAD_MASK = 0x3
48689- FS_POLICY_FLAGS_VALID = 0x3
48690- F_DUPFD = 0x0
48691- F_DUPFD_CLOEXEC = 0x406
48692- F_EXLCK = 0x4
48693- F_GETFD = 0x1
48694- F_GETFL = 0x3
48695- F_GETLEASE = 0x401
48696- F_GETLK = 0x5
48697- F_GETLK64 = 0xc
48698- F_GETOWN = 0x9
48699- F_GETOWN_EX = 0x10
48700- F_GETPIPE_SZ = 0x408
48701- F_GETSIG = 0xb
48702- F_LOCK = 0x1
48703- F_NOTIFY = 0x402
48704- F_OFD_GETLK = 0x24
48705- F_OFD_SETLK = 0x25
48706- F_OFD_SETLKW = 0x26
48707- F_OK = 0x0
48708- F_RDLCK = 0x0
48709- F_SETFD = 0x2
48710- F_SETFL = 0x4
48711- F_SETLEASE = 0x400
48712- F_SETLK = 0x6
48713- F_SETLK64 = 0xd
48714- F_SETLKW = 0x7
48715- F_SETLKW64 = 0xe
48716- F_SETOWN = 0x8
48717- F_SETOWN_EX = 0xf
48718- F_SETPIPE_SZ = 0x407
48719- F_SETSIG = 0xa
48720- F_SHLCK = 0x8
48721- F_TEST = 0x3
48722- F_TLOCK = 0x2
48723- F_ULOCK = 0x0
48724- F_UNLCK = 0x2
48725- F_WRLCK = 0x1
48726- GENL_ADMIN_PERM = 0x1
48727- GENL_CMD_CAP_DO = 0x2
48728- GENL_CMD_CAP_DUMP = 0x4
48729- GENL_CMD_CAP_HASPOL = 0x8
48730- GENL_HDRLEN = 0x4
48731- GENL_ID_CTRL = 0x10
48732- GENL_ID_PMCRAID = 0x12
48733- GENL_ID_VFS_DQUOT = 0x11
48734- GENL_MAX_ID = 0x3ff
48735- GENL_MIN_ID = 0x10
48736- GENL_NAMSIZ = 0x10
48737- GENL_START_ALLOC = 0x13
48738- GENL_UNS_ADMIN_PERM = 0x10
48739- GRND_NONBLOCK = 0x1
48740- GRND_RANDOM = 0x2
48741- HUPCL = 0x4000
48742- IBSHIFT = 0x10
48743- ICANON = 0x100
48744- ICMPV6_FILTER = 0x1
48745- ICRNL = 0x100
48746- IEXTEN = 0x400
48747- IFA_F_DADFAILED = 0x8
48748- IFA_F_DEPRECATED = 0x20
48749- IFA_F_HOMEADDRESS = 0x10
48750- IFA_F_MANAGETEMPADDR = 0x100
48751- IFA_F_MCAUTOJOIN = 0x400
48752- IFA_F_NODAD = 0x2
48753- IFA_F_NOPREFIXROUTE = 0x200
48754- IFA_F_OPTIMISTIC = 0x4
48755- IFA_F_PERMANENT = 0x80
48756- IFA_F_SECONDARY = 0x1
48757- IFA_F_STABLE_PRIVACY = 0x800
48758- IFA_F_TEMPORARY = 0x1
48759- IFA_F_TENTATIVE = 0x40
48760- IFA_MAX = 0x8
48761- IFF_ALLMULTI = 0x200
48762- IFF_ATTACH_QUEUE = 0x200
48763- IFF_AUTOMEDIA = 0x4000
48764- IFF_BROADCAST = 0x2
48765- IFF_DEBUG = 0x4
48766- IFF_DETACH_QUEUE = 0x400
48767- IFF_DORMANT = 0x20000
48768- IFF_DYNAMIC = 0x8000
48769- IFF_ECHO = 0x40000
48770- IFF_LOOPBACK = 0x8
48771- IFF_LOWER_UP = 0x10000
48772- IFF_MASTER = 0x400
48773- IFF_MULTICAST = 0x1000
48774- IFF_MULTI_QUEUE = 0x100
48775- IFF_NOARP = 0x80
48776- IFF_NOFILTER = 0x1000
48777- IFF_NOTRAILERS = 0x20
48778- IFF_NO_PI = 0x1000
48779- IFF_ONE_QUEUE = 0x2000
48780- IFF_PERSIST = 0x800
48781- IFF_POINTOPOINT = 0x10
48782- IFF_PORTSEL = 0x2000
48783- IFF_PROMISC = 0x100
48784- IFF_RUNNING = 0x40
48785- IFF_SLAVE = 0x800
48786- IFF_TAP = 0x2
48787- IFF_TUN = 0x1
48788- IFF_TUN_EXCL = 0x8000
48789- IFF_UP = 0x1
48790- IFF_VNET_HDR = 0x4000
48791- IFF_VOLATILE = 0x70c5a
48792- IFNAMSIZ = 0x10
48793- IGNBRK = 0x1
48794- IGNCR = 0x80
48795- IGNPAR = 0x4
48796- IMAXBEL = 0x2000
48797- INLCR = 0x40
48798- INPCK = 0x10
48799- IN_ACCESS = 0x1
48800- IN_ALL_EVENTS = 0xfff
48801- IN_ATTRIB = 0x4
48802- IN_CLASSA_HOST = 0xffffff
48803- IN_CLASSA_MAX = 0x80
48804- IN_CLASSA_NET = 0xff000000
48805- IN_CLASSA_NSHIFT = 0x18
48806- IN_CLASSB_HOST = 0xffff
48807- IN_CLASSB_MAX = 0x10000
48808- IN_CLASSB_NET = 0xffff0000
48809- IN_CLASSB_NSHIFT = 0x10
48810- IN_CLASSC_HOST = 0xff
48811- IN_CLASSC_NET = 0xffffff00
48812- IN_CLASSC_NSHIFT = 0x8
48813- IN_CLOEXEC = 0x80000
48814- IN_CLOSE = 0x18
48815- IN_CLOSE_NOWRITE = 0x10
48816- IN_CLOSE_WRITE = 0x8
48817- IN_CREATE = 0x100
48818- IN_DELETE = 0x200
48819- IN_DELETE_SELF = 0x400
48820- IN_DONT_FOLLOW = 0x2000000
48821- IN_EXCL_UNLINK = 0x4000000
48822- IN_IGNORED = 0x8000
48823- IN_ISDIR = 0x40000000
48824- IN_LOOPBACKNET = 0x7f
48825- IN_MASK_ADD = 0x20000000
48826- IN_MODIFY = 0x2
48827- IN_MOVE = 0xc0
48828- IN_MOVED_FROM = 0x40
48829- IN_MOVED_TO = 0x80
48830- IN_MOVE_SELF = 0x800
48831- IN_NONBLOCK = 0x800
48832- IN_ONESHOT = 0x80000000
48833- IN_ONLYDIR = 0x1000000
48834- IN_OPEN = 0x20
48835- IN_Q_OVERFLOW = 0x4000
48836- IN_UNMOUNT = 0x2000
48837- IPPROTO_AH = 0x33
48838- IPPROTO_BEETPH = 0x5e
48839- IPPROTO_COMP = 0x6c
48840- IPPROTO_DCCP = 0x21
48841- IPPROTO_DSTOPTS = 0x3c
48842- IPPROTO_EGP = 0x8
48843- IPPROTO_ENCAP = 0x62
48844- IPPROTO_ESP = 0x32
48845- IPPROTO_FRAGMENT = 0x2c
48846- IPPROTO_GRE = 0x2f
48847- IPPROTO_HOPOPTS = 0x0
48848- IPPROTO_ICMP = 0x1
48849- IPPROTO_ICMPV6 = 0x3a
48850- IPPROTO_IDP = 0x16
48851- IPPROTO_IGMP = 0x2
48852- IPPROTO_IP = 0x0
48853- IPPROTO_IPIP = 0x4
48854- IPPROTO_IPV6 = 0x29
48855- IPPROTO_MH = 0x87
48856- IPPROTO_MPLS = 0x89
48857- IPPROTO_MTP = 0x5c
48858- IPPROTO_NONE = 0x3b
48859- IPPROTO_PIM = 0x67
48860- IPPROTO_PUP = 0xc
48861- IPPROTO_RAW = 0xff
48862- IPPROTO_ROUTING = 0x2b
48863- IPPROTO_RSVP = 0x2e
48864- IPPROTO_SCTP = 0x84
48865- IPPROTO_TCP = 0x6
48866- IPPROTO_TP = 0x1d
48867- IPPROTO_UDP = 0x11
48868- IPPROTO_UDPLITE = 0x88
48869- IPV6_2292DSTOPTS = 0x4
48870- IPV6_2292HOPLIMIT = 0x8
48871- IPV6_2292HOPOPTS = 0x3
48872- IPV6_2292PKTINFO = 0x2
48873- IPV6_2292PKTOPTIONS = 0x6
48874- IPV6_2292RTHDR = 0x5
48875- IPV6_ADDRFORM = 0x1
48876- IPV6_ADD_MEMBERSHIP = 0x14
48877- IPV6_AUTHHDR = 0xa
48878- IPV6_CHECKSUM = 0x7
48879- IPV6_DONTFRAG = 0x3e
48880- IPV6_DROP_MEMBERSHIP = 0x15
48881- IPV6_DSTOPTS = 0x3b
48882- IPV6_HDRINCL = 0x24
48883- IPV6_HOPLIMIT = 0x34
48884- IPV6_HOPOPTS = 0x36
48885- IPV6_IPSEC_POLICY = 0x22
48886- IPV6_JOIN_ANYCAST = 0x1b
48887- IPV6_JOIN_GROUP = 0x14
48888- IPV6_LEAVE_ANYCAST = 0x1c
48889- IPV6_LEAVE_GROUP = 0x15
48890- IPV6_MTU = 0x18
48891- IPV6_MTU_DISCOVER = 0x17
48892- IPV6_MULTICAST_HOPS = 0x12
48893- IPV6_MULTICAST_IF = 0x11
48894- IPV6_MULTICAST_LOOP = 0x13
48895- IPV6_NEXTHOP = 0x9
48896- IPV6_PATHMTU = 0x3d
48897- IPV6_PKTINFO = 0x32
48898- IPV6_PMTUDISC_DO = 0x2
48899- IPV6_PMTUDISC_DONT = 0x0
48900- IPV6_PMTUDISC_INTERFACE = 0x4
48901- IPV6_PMTUDISC_OMIT = 0x5
48902- IPV6_PMTUDISC_PROBE = 0x3
48903- IPV6_PMTUDISC_WANT = 0x1
48904- IPV6_RECVDSTOPTS = 0x3a
48905- IPV6_RECVERR = 0x19
48906- IPV6_RECVHOPLIMIT = 0x33
48907- IPV6_RECVHOPOPTS = 0x35
48908- IPV6_RECVPATHMTU = 0x3c
48909- IPV6_RECVPKTINFO = 0x31
48910- IPV6_RECVRTHDR = 0x38
48911- IPV6_RECVTCLASS = 0x42
48912- IPV6_ROUTER_ALERT = 0x16
48913- IPV6_RTHDR = 0x39
48914- IPV6_RTHDRDSTOPTS = 0x37
48915- IPV6_RTHDR_LOOSE = 0x0
48916- IPV6_RTHDR_STRICT = 0x1
48917- IPV6_RTHDR_TYPE_0 = 0x0
48918- IPV6_RXDSTOPTS = 0x3b
48919- IPV6_RXHOPOPTS = 0x36
48920- IPV6_TCLASS = 0x43
48921- IPV6_UNICAST_HOPS = 0x10
48922- IPV6_V6ONLY = 0x1a
48923- IPV6_XFRM_POLICY = 0x23
48924- IP_ADD_MEMBERSHIP = 0x23
48925- IP_ADD_SOURCE_MEMBERSHIP = 0x27
48926- IP_BIND_ADDRESS_NO_PORT = 0x18
48927- IP_BLOCK_SOURCE = 0x26
48928- IP_CHECKSUM = 0x17
48929- IP_DEFAULT_MULTICAST_LOOP = 0x1
48930- IP_DEFAULT_MULTICAST_TTL = 0x1
48931- IP_DF = 0x4000
48932- IP_DROP_MEMBERSHIP = 0x24
48933- IP_DROP_SOURCE_MEMBERSHIP = 0x28
48934- IP_FREEBIND = 0xf
48935- IP_HDRINCL = 0x3
48936- IP_IPSEC_POLICY = 0x10
48937- IP_MAXPACKET = 0xffff
48938- IP_MAX_MEMBERSHIPS = 0x14
48939- IP_MF = 0x2000
48940- IP_MINTTL = 0x15
48941- IP_MSFILTER = 0x29
48942- IP_MSS = 0x240
48943- IP_MTU = 0xe
48944- IP_MTU_DISCOVER = 0xa
48945- IP_MULTICAST_ALL = 0x31
48946- IP_MULTICAST_IF = 0x20
48947- IP_MULTICAST_LOOP = 0x22
48948- IP_MULTICAST_TTL = 0x21
48949- IP_NODEFRAG = 0x16
48950- IP_OFFMASK = 0x1fff
48951- IP_OPTIONS = 0x4
48952- IP_ORIGDSTADDR = 0x14
48953- IP_PASSSEC = 0x12
48954- IP_PKTINFO = 0x8
48955- IP_PKTOPTIONS = 0x9
48956- IP_PMTUDISC = 0xa
48957- IP_PMTUDISC_DO = 0x2
48958- IP_PMTUDISC_DONT = 0x0
48959- IP_PMTUDISC_INTERFACE = 0x4
48960- IP_PMTUDISC_OMIT = 0x5
48961- IP_PMTUDISC_PROBE = 0x3
48962- IP_PMTUDISC_WANT = 0x1
48963- IP_RECVERR = 0xb
48964- IP_RECVOPTS = 0x6
48965- IP_RECVORIGDSTADDR = 0x14
48966- IP_RECVRETOPTS = 0x7
48967- IP_RECVTOS = 0xd
48968- IP_RECVTTL = 0xc
48969- IP_RETOPTS = 0x7
48970- IP_RF = 0x8000
48971- IP_ROUTER_ALERT = 0x5
48972- IP_TOS = 0x1
48973- IP_TRANSPARENT = 0x13
48974- IP_TTL = 0x2
48975- IP_UNBLOCK_SOURCE = 0x25
48976- IP_UNICAST_IF = 0x32
48977- IP_XFRM_POLICY = 0x11
48978- ISIG = 0x80
48979- ISTRIP = 0x20
48980- IUCLC = 0x1000
48981- IUTF8 = 0x4000
48982- IXANY = 0x800
48983- IXOFF = 0x400
48984- IXON = 0x200
48985- KEYCTL_ASSUME_AUTHORITY = 0x10
48986- KEYCTL_CHOWN = 0x4
48987- KEYCTL_CLEAR = 0x7
48988- KEYCTL_DESCRIBE = 0x6
48989- KEYCTL_DH_COMPUTE = 0x17
48990- KEYCTL_GET_KEYRING_ID = 0x0
48991- KEYCTL_GET_PERSISTENT = 0x16
48992- KEYCTL_GET_SECURITY = 0x11
48993- KEYCTL_INSTANTIATE = 0xc
48994- KEYCTL_INSTANTIATE_IOV = 0x14
48995- KEYCTL_INVALIDATE = 0x15
48996- KEYCTL_JOIN_SESSION_KEYRING = 0x1
48997- KEYCTL_LINK = 0x8
48998- KEYCTL_NEGATE = 0xd
48999- KEYCTL_READ = 0xb
49000- KEYCTL_REJECT = 0x13
49001- KEYCTL_REVOKE = 0x3
49002- KEYCTL_SEARCH = 0xa
49003- KEYCTL_SESSION_TO_PARENT = 0x12
49004- KEYCTL_SETPERM = 0x5
49005- KEYCTL_SET_REQKEY_KEYRING = 0xe
49006- KEYCTL_SET_TIMEOUT = 0xf
49007- KEYCTL_UNLINK = 0x9
49008- KEYCTL_UPDATE = 0x2
49009- KEY_REQKEY_DEFL_DEFAULT = 0x0
49010- KEY_REQKEY_DEFL_GROUP_KEYRING = 0x6
49011- KEY_REQKEY_DEFL_NO_CHANGE = -0x1
49012- KEY_REQKEY_DEFL_PROCESS_KEYRING = 0x2
49013- KEY_REQKEY_DEFL_REQUESTOR_KEYRING = 0x7
49014- KEY_REQKEY_DEFL_SESSION_KEYRING = 0x3
49015- KEY_REQKEY_DEFL_THREAD_KEYRING = 0x1
49016- KEY_REQKEY_DEFL_USER_KEYRING = 0x4
49017- KEY_REQKEY_DEFL_USER_SESSION_KEYRING = 0x5
49018- KEY_SPEC_GROUP_KEYRING = -0x6
49019- KEY_SPEC_PROCESS_KEYRING = -0x2
49020- KEY_SPEC_REQKEY_AUTH_KEY = -0x7
49021- KEY_SPEC_REQUESTOR_KEYRING = -0x8
49022- KEY_SPEC_SESSION_KEYRING = -0x3
49023- KEY_SPEC_THREAD_KEYRING = -0x1
49024- KEY_SPEC_USER_KEYRING = -0x4
49025- KEY_SPEC_USER_SESSION_KEYRING = -0x5
49026- LINUX_REBOOT_CMD_CAD_OFF = 0x0
49027- LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
49028- LINUX_REBOOT_CMD_HALT = 0xcdef0123
49029- LINUX_REBOOT_CMD_KEXEC = 0x45584543
49030- LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
49031- LINUX_REBOOT_CMD_RESTART = 0x1234567
49032- LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
49033- LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
49034- LINUX_REBOOT_MAGIC1 = 0xfee1dead
49035- LINUX_REBOOT_MAGIC2 = 0x28121969
49036- LOCK_EX = 0x2
49037- LOCK_NB = 0x4
49038- LOCK_SH = 0x1
49039- LOCK_UN = 0x8
49040- MADV_DODUMP = 0x11
49041- MADV_DOFORK = 0xb
49042- MADV_DONTDUMP = 0x10
49043- MADV_DONTFORK = 0xa
49044- MADV_DONTNEED = 0x4
49045- MADV_FREE = 0x8
49046- MADV_HUGEPAGE = 0xe
49047- MADV_HWPOISON = 0x64
49048- MADV_MERGEABLE = 0xc
49049- MADV_NOHUGEPAGE = 0xf
49050- MADV_NORMAL = 0x0
49051- MADV_RANDOM = 0x1
49052- MADV_REMOVE = 0x9
49053- MADV_SEQUENTIAL = 0x2
49054- MADV_UNMERGEABLE = 0xd
49055- MADV_WILLNEED = 0x3
49056- MAP_ANON = 0x20
49057- MAP_ANONYMOUS = 0x20
49058- MAP_DENYWRITE = 0x800
49059- MAP_EXECUTABLE = 0x1000
49060- MAP_FILE = 0x0
49061- MAP_FIXED = 0x10
49062- MAP_GROWSDOWN = 0x100
49063- MAP_HUGETLB = 0x40000
49064- MAP_HUGE_MASK = 0x3f
49065- MAP_HUGE_SHIFT = 0x1a
49066- MAP_LOCKED = 0x80
49067- MAP_NONBLOCK = 0x10000
49068- MAP_NORESERVE = 0x40
49069- MAP_POPULATE = 0x8000
49070- MAP_PRIVATE = 0x2
49071- MAP_SHARED = 0x1
49072- MAP_STACK = 0x20000
49073- MAP_TYPE = 0xf
49074- MCL_CURRENT = 0x2000
49075- MCL_FUTURE = 0x4000
49076- MCL_ONFAULT = 0x8000
49077- MNT_DETACH = 0x2
49078- MNT_EXPIRE = 0x4
49079- MNT_FORCE = 0x1
49080- MSG_BATCH = 0x40000
49081- MSG_CMSG_CLOEXEC = 0x40000000
49082- MSG_CONFIRM = 0x800
49083- MSG_CTRUNC = 0x8
49084- MSG_DONTROUTE = 0x4
49085- MSG_DONTWAIT = 0x40
49086- MSG_EOR = 0x80
49087- MSG_ERRQUEUE = 0x2000
49088- MSG_FASTOPEN = 0x20000000
49089- MSG_FIN = 0x200
49090- MSG_MORE = 0x8000
49091- MSG_NOSIGNAL = 0x4000
49092- MSG_OOB = 0x1
49093- MSG_PEEK = 0x2
49094- MSG_PROXY = 0x10
49095- MSG_RST = 0x1000
49096- MSG_SYN = 0x400
49097- MSG_TRUNC = 0x20
49098- MSG_TRYHARD = 0x4
49099- MSG_WAITALL = 0x100
49100- MSG_WAITFORONE = 0x10000
49101- MS_ACTIVE = 0x40000000
49102- MS_ASYNC = 0x1
49103- MS_BIND = 0x1000
49104- MS_BORN = 0x20000000
49105- MS_DIRSYNC = 0x80
49106- MS_INVALIDATE = 0x2
49107- MS_I_VERSION = 0x800000
49108- MS_KERNMOUNT = 0x400000
49109- MS_LAZYTIME = 0x2000000
49110- MS_MANDLOCK = 0x40
49111- MS_MGC_MSK = 0xffff0000
49112- MS_MGC_VAL = 0xc0ed0000
49113- MS_MOVE = 0x2000
49114- MS_NOATIME = 0x400
49115- MS_NODEV = 0x4
49116- MS_NODIRATIME = 0x800
49117- MS_NOEXEC = 0x8
49118- MS_NOREMOTELOCK = 0x8000000
49119- MS_NOSEC = 0x10000000
49120- MS_NOSUID = 0x2
49121- MS_NOUSER = -0x80000000
49122- MS_POSIXACL = 0x10000
49123- MS_PRIVATE = 0x40000
49124- MS_RDONLY = 0x1
49125- MS_REC = 0x4000
49126- MS_RELATIME = 0x200000
49127- MS_REMOUNT = 0x20
49128- MS_RMT_MASK = 0x2800051
49129- MS_SHARED = 0x100000
49130- MS_SILENT = 0x8000
49131- MS_SLAVE = 0x80000
49132- MS_STRICTATIME = 0x1000000
49133- MS_SYNC = 0x4
49134- MS_SYNCHRONOUS = 0x10
49135- MS_UNBINDABLE = 0x20000
49136- MS_VERBOSE = 0x8000
49137- NAME_MAX = 0xff
49138- NETLINK_ADD_MEMBERSHIP = 0x1
49139- NETLINK_AUDIT = 0x9
49140- NETLINK_BROADCAST_ERROR = 0x4
49141- NETLINK_CAP_ACK = 0xa
49142- NETLINK_CONNECTOR = 0xb
49143- NETLINK_CRYPTO = 0x15
49144- NETLINK_DNRTMSG = 0xe
49145- NETLINK_DROP_MEMBERSHIP = 0x2
49146- NETLINK_ECRYPTFS = 0x13
49147- NETLINK_FIB_LOOKUP = 0xa
49148- NETLINK_FIREWALL = 0x3
49149- NETLINK_GENERIC = 0x10
49150- NETLINK_INET_DIAG = 0x4
49151- NETLINK_IP6_FW = 0xd
49152- NETLINK_ISCSI = 0x8
49153- NETLINK_KOBJECT_UEVENT = 0xf
49154- NETLINK_LISTEN_ALL_NSID = 0x8
49155- NETLINK_LIST_MEMBERSHIPS = 0x9
49156- NETLINK_NETFILTER = 0xc
49157- NETLINK_NFLOG = 0x5
49158- NETLINK_NO_ENOBUFS = 0x5
49159- NETLINK_PKTINFO = 0x3
49160- NETLINK_RDMA = 0x14
49161- NETLINK_ROUTE = 0x0
49162- NETLINK_RX_RING = 0x6
49163- NETLINK_SCSITRANSPORT = 0x12
49164- NETLINK_SELINUX = 0x7
49165- NETLINK_SOCK_DIAG = 0x4
49166- NETLINK_TX_RING = 0x7
49167- NETLINK_UNUSED = 0x1
49168- NETLINK_USERSOCK = 0x2
49169- NETLINK_XFRM = 0x6
49170- NL0 = 0x0
49171- NL1 = 0x100
49172- NL2 = 0x200
49173- NL3 = 0x300
49174- NLA_ALIGNTO = 0x4
49175- NLA_F_NESTED = 0x8000
49176- NLA_F_NET_BYTEORDER = 0x4000
49177- NLA_HDRLEN = 0x4
49178- NLDLY = 0x300
49179- NLMSG_ALIGNTO = 0x4
49180- NLMSG_DONE = 0x3
49181- NLMSG_ERROR = 0x2
49182- NLMSG_HDRLEN = 0x10
49183- NLMSG_MIN_TYPE = 0x10
49184- NLMSG_NOOP = 0x1
49185- NLMSG_OVERRUN = 0x4
49186- NLM_F_ACK = 0x4
49187- NLM_F_APPEND = 0x800
49188- NLM_F_ATOMIC = 0x400
49189- NLM_F_CREATE = 0x400
49190- NLM_F_DUMP = 0x300
49191- NLM_F_DUMP_FILTERED = 0x20
49192- NLM_F_DUMP_INTR = 0x10
49193- NLM_F_ECHO = 0x8
49194- NLM_F_EXCL = 0x200
49195- NLM_F_MATCH = 0x200
49196- NLM_F_MULTI = 0x2
49197- NLM_F_REPLACE = 0x100
49198- NLM_F_REQUEST = 0x1
49199- NLM_F_ROOT = 0x100
49200- NOFLSH = 0x80000000
49201- OCRNL = 0x8
49202- OFDEL = 0x80
49203- OFILL = 0x40
49204- OLCUC = 0x4
49205- ONLCR = 0x2
49206- ONLRET = 0x20
49207- ONOCR = 0x10
49208- OPOST = 0x1
49209- O_ACCMODE = 0x3
49210- O_APPEND = 0x400
49211- O_ASYNC = 0x2000
49212- O_CLOEXEC = 0x80000
49213- O_CREAT = 0x40
49214- O_DIRECT = 0x20000
49215- O_DIRECTORY = 0x4000
49216- O_DSYNC = 0x1000
49217- O_EXCL = 0x80
49218- O_FSYNC = 0x101000
49219- O_LARGEFILE = 0x0
49220- O_NDELAY = 0x800
49221- O_NOATIME = 0x40000
49222- O_NOCTTY = 0x100
49223- O_NOFOLLOW = 0x8000
49224- O_NONBLOCK = 0x800
49225- O_PATH = 0x200000
49226- O_RDONLY = 0x0
49227- O_RDWR = 0x2
49228- O_RSYNC = 0x101000
49229- O_SYNC = 0x101000
49230- O_TMPFILE = 0x404000
49231- O_TRUNC = 0x200
49232- O_WRONLY = 0x1
49233- PACKET_ADD_MEMBERSHIP = 0x1
49234- PACKET_AUXDATA = 0x8
49235- PACKET_BROADCAST = 0x1
49236- PACKET_COPY_THRESH = 0x7
49237- PACKET_DROP_MEMBERSHIP = 0x2
49238- PACKET_FANOUT = 0x12
49239- PACKET_FANOUT_CBPF = 0x6
49240- PACKET_FANOUT_CPU = 0x2
49241- PACKET_FANOUT_DATA = 0x16
49242- PACKET_FANOUT_EBPF = 0x7
49243- PACKET_FANOUT_FLAG_DEFRAG = 0x8000
49244- PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
49245- PACKET_FANOUT_HASH = 0x0
49246- PACKET_FANOUT_LB = 0x1
49247- PACKET_FANOUT_QM = 0x5
49248- PACKET_FANOUT_RND = 0x4
49249- PACKET_FANOUT_ROLLOVER = 0x3
49250- PACKET_FASTROUTE = 0x6
49251- PACKET_HDRLEN = 0xb
49252- PACKET_HOST = 0x0
49253- PACKET_KERNEL = 0x7
49254- PACKET_LOOPBACK = 0x5
49255- PACKET_LOSS = 0xe
49256- PACKET_MR_ALLMULTI = 0x2
49257- PACKET_MR_MULTICAST = 0x0
49258- PACKET_MR_PROMISC = 0x1
49259- PACKET_MR_UNICAST = 0x3
49260- PACKET_MULTICAST = 0x2
49261- PACKET_ORIGDEV = 0x9
49262- PACKET_OTHERHOST = 0x3
49263- PACKET_OUTGOING = 0x4
49264- PACKET_QDISC_BYPASS = 0x14
49265- PACKET_RECV_OUTPUT = 0x3
49266- PACKET_RESERVE = 0xc
49267- PACKET_ROLLOVER_STATS = 0x15
49268- PACKET_RX_RING = 0x5
49269- PACKET_STATISTICS = 0x6
49270- PACKET_TIMESTAMP = 0x11
49271- PACKET_TX_HAS_OFF = 0x13
49272- PACKET_TX_RING = 0xd
49273- PACKET_TX_TIMESTAMP = 0x10
49274- PACKET_USER = 0x6
49275- PACKET_VERSION = 0xa
49276- PACKET_VNET_HDR = 0xf
49277- PARENB = 0x1000
49278- PARITY_CRC16_PR0 = 0x2
49279- PARITY_CRC16_PR0_CCITT = 0x4
49280- PARITY_CRC16_PR1 = 0x3
49281- PARITY_CRC16_PR1_CCITT = 0x5
49282- PARITY_CRC32_PR0_CCITT = 0x6
49283- PARITY_CRC32_PR1_CCITT = 0x7
49284- PARITY_DEFAULT = 0x0
49285- PARITY_NONE = 0x1
49286- PARMRK = 0x8
49287- PARODD = 0x2000
49288- PENDIN = 0x20000000
49289- PERF_EVENT_IOC_DISABLE = 0x20002401
49290- PERF_EVENT_IOC_ENABLE = 0x20002400
49291- PERF_EVENT_IOC_ID = 0x40082407
49292- PERF_EVENT_IOC_PAUSE_OUTPUT = 0x80042409
49293- PERF_EVENT_IOC_PERIOD = 0x80082404
49294- PERF_EVENT_IOC_REFRESH = 0x20002402
49295- PERF_EVENT_IOC_RESET = 0x20002403
49296- PERF_EVENT_IOC_SET_BPF = 0x80042408
49297- PERF_EVENT_IOC_SET_FILTER = 0x80082406
49298- PERF_EVENT_IOC_SET_OUTPUT = 0x20002405
49299- PRIO_PGRP = 0x1
49300- PRIO_PROCESS = 0x0
49301- PRIO_USER = 0x2
49302- PROT_EXEC = 0x4
49303- PROT_GROWSDOWN = 0x1000000
49304- PROT_GROWSUP = 0x2000000
49305- PROT_NONE = 0x0
49306- PROT_READ = 0x1
49307- PROT_SAO = 0x10
49308- PROT_WRITE = 0x2
49309- PR_CAPBSET_DROP = 0x18
49310- PR_CAPBSET_READ = 0x17
49311- PR_CAP_AMBIENT = 0x2f
49312- PR_CAP_AMBIENT_CLEAR_ALL = 0x4
49313- PR_CAP_AMBIENT_IS_SET = 0x1
49314- PR_CAP_AMBIENT_LOWER = 0x3
49315- PR_CAP_AMBIENT_RAISE = 0x2
49316- PR_ENDIAN_BIG = 0x0
49317- PR_ENDIAN_LITTLE = 0x1
49318- PR_ENDIAN_PPC_LITTLE = 0x2
49319- PR_FPEMU_NOPRINT = 0x1
49320- PR_FPEMU_SIGFPE = 0x2
49321- PR_FP_EXC_ASYNC = 0x2
49322- PR_FP_EXC_DISABLED = 0x0
49323- PR_FP_EXC_DIV = 0x10000
49324- PR_FP_EXC_INV = 0x100000
49325- PR_FP_EXC_NONRECOV = 0x1
49326- PR_FP_EXC_OVF = 0x20000
49327- PR_FP_EXC_PRECISE = 0x3
49328- PR_FP_EXC_RES = 0x80000
49329- PR_FP_EXC_SW_ENABLE = 0x80
49330- PR_FP_EXC_UND = 0x40000
49331- PR_FP_MODE_FR = 0x1
49332- PR_FP_MODE_FRE = 0x2
49333- PR_GET_CHILD_SUBREAPER = 0x25
49334- PR_GET_DUMPABLE = 0x3
49335- PR_GET_ENDIAN = 0x13
49336- PR_GET_FPEMU = 0x9
49337- PR_GET_FPEXC = 0xb
49338- PR_GET_FP_MODE = 0x2e
49339- PR_GET_KEEPCAPS = 0x7
49340- PR_GET_NAME = 0x10
49341- PR_GET_NO_NEW_PRIVS = 0x27
49342- PR_GET_PDEATHSIG = 0x2
49343- PR_GET_SECCOMP = 0x15
49344- PR_GET_SECUREBITS = 0x1b
49345- PR_GET_THP_DISABLE = 0x2a
49346- PR_GET_TID_ADDRESS = 0x28
49347- PR_GET_TIMERSLACK = 0x1e
49348- PR_GET_TIMING = 0xd
49349- PR_GET_TSC = 0x19
49350- PR_GET_UNALIGN = 0x5
49351- PR_MCE_KILL = 0x21
49352- PR_MCE_KILL_CLEAR = 0x0
49353- PR_MCE_KILL_DEFAULT = 0x2
49354- PR_MCE_KILL_EARLY = 0x1
49355- PR_MCE_KILL_GET = 0x22
49356- PR_MCE_KILL_LATE = 0x0
49357- PR_MCE_KILL_SET = 0x1
49358- PR_MPX_DISABLE_MANAGEMENT = 0x2c
49359- PR_MPX_ENABLE_MANAGEMENT = 0x2b
49360- PR_SET_CHILD_SUBREAPER = 0x24
49361- PR_SET_DUMPABLE = 0x4
49362- PR_SET_ENDIAN = 0x14
49363- PR_SET_FPEMU = 0xa
49364- PR_SET_FPEXC = 0xc
49365- PR_SET_FP_MODE = 0x2d
49366- PR_SET_KEEPCAPS = 0x8
49367- PR_SET_MM = 0x23
49368- PR_SET_MM_ARG_END = 0x9
49369- PR_SET_MM_ARG_START = 0x8
49370- PR_SET_MM_AUXV = 0xc
49371- PR_SET_MM_BRK = 0x7
49372- PR_SET_MM_END_CODE = 0x2
49373- PR_SET_MM_END_DATA = 0x4
49374- PR_SET_MM_ENV_END = 0xb
49375- PR_SET_MM_ENV_START = 0xa
49376- PR_SET_MM_EXE_FILE = 0xd
49377- PR_SET_MM_MAP = 0xe
49378- PR_SET_MM_MAP_SIZE = 0xf
49379- PR_SET_MM_START_BRK = 0x6
49380- PR_SET_MM_START_CODE = 0x1
49381- PR_SET_MM_START_DATA = 0x3
49382- PR_SET_MM_START_STACK = 0x5
49383- PR_SET_NAME = 0xf
49384- PR_SET_NO_NEW_PRIVS = 0x26
49385- PR_SET_PDEATHSIG = 0x1
49386- PR_SET_PTRACER = 0x59616d61
49387- PR_SET_PTRACER_ANY = -0x1
49388- PR_SET_SECCOMP = 0x16
49389- PR_SET_SECUREBITS = 0x1c
49390- PR_SET_THP_DISABLE = 0x29
49391- PR_SET_TIMERSLACK = 0x1d
49392- PR_SET_TIMING = 0xe
49393- PR_SET_TSC = 0x1a
49394- PR_SET_UNALIGN = 0x6
49395- PR_TASK_PERF_EVENTS_DISABLE = 0x1f
49396- PR_TASK_PERF_EVENTS_ENABLE = 0x20
49397- PR_TIMING_STATISTICAL = 0x0
49398- PR_TIMING_TIMESTAMP = 0x1
49399- PR_TSC_ENABLE = 0x1
49400- PR_TSC_SIGSEGV = 0x2
49401- PR_UNALIGN_NOPRINT = 0x1
49402- PR_UNALIGN_SIGBUS = 0x2
49403- PTRACE_ATTACH = 0x10
49404- PTRACE_CONT = 0x7
49405- PTRACE_DETACH = 0x11
49406- PTRACE_EVENT_CLONE = 0x3
49407- PTRACE_EVENT_EXEC = 0x4
49408- PTRACE_EVENT_EXIT = 0x6
49409- PTRACE_EVENT_FORK = 0x1
49410- PTRACE_EVENT_SECCOMP = 0x7
49411- PTRACE_EVENT_STOP = 0x80
49412- PTRACE_EVENT_VFORK = 0x2
49413- PTRACE_EVENT_VFORK_DONE = 0x5
49414- PTRACE_GETEVENTMSG = 0x4201
49415- PTRACE_GETEVRREGS = 0x14
49416- PTRACE_GETFPREGS = 0xe
49417- PTRACE_GETREGS = 0xc
49418- PTRACE_GETREGS64 = 0x16
49419- PTRACE_GETREGSET = 0x4204
49420- PTRACE_GETSIGINFO = 0x4202
49421- PTRACE_GETSIGMASK = 0x420a
49422- PTRACE_GETVRREGS = 0x12
49423- PTRACE_GETVSRREGS = 0x1b
49424- PTRACE_GET_DEBUGREG = 0x19
49425- PTRACE_INTERRUPT = 0x4207
49426- PTRACE_KILL = 0x8
49427- PTRACE_LISTEN = 0x4208
49428- PTRACE_O_EXITKILL = 0x100000
49429- PTRACE_O_MASK = 0x3000ff
49430- PTRACE_O_SUSPEND_SECCOMP = 0x200000
49431- PTRACE_O_TRACECLONE = 0x8
49432- PTRACE_O_TRACEEXEC = 0x10
49433- PTRACE_O_TRACEEXIT = 0x40
49434- PTRACE_O_TRACEFORK = 0x2
49435- PTRACE_O_TRACESECCOMP = 0x80
49436- PTRACE_O_TRACESYSGOOD = 0x1
49437- PTRACE_O_TRACEVFORK = 0x4
49438- PTRACE_O_TRACEVFORKDONE = 0x20
49439- PTRACE_PEEKDATA = 0x2
49440- PTRACE_PEEKSIGINFO = 0x4209
49441- PTRACE_PEEKSIGINFO_SHARED = 0x1
49442- PTRACE_PEEKTEXT = 0x1
49443- PTRACE_PEEKUSR = 0x3
49444- PTRACE_POKEDATA = 0x5
49445- PTRACE_POKETEXT = 0x4
49446- PTRACE_POKEUSR = 0x6
49447- PTRACE_SECCOMP_GET_FILTER = 0x420c
49448- PTRACE_SEIZE = 0x4206
49449- PTRACE_SETEVRREGS = 0x15
49450- PTRACE_SETFPREGS = 0xf
49451- PTRACE_SETOPTIONS = 0x4200
49452- PTRACE_SETREGS = 0xd
49453- PTRACE_SETREGS64 = 0x17
49454- PTRACE_SETREGSET = 0x4205
49455- PTRACE_SETSIGINFO = 0x4203
49456- PTRACE_SETSIGMASK = 0x420b
49457- PTRACE_SETVRREGS = 0x13
49458- PTRACE_SETVSRREGS = 0x1c
49459- PTRACE_SET_DEBUGREG = 0x1a
49460- PTRACE_SINGLEBLOCK = 0x100
49461- PTRACE_SINGLESTEP = 0x9
49462- PTRACE_SYSCALL = 0x18
49463- PTRACE_TRACEME = 0x0
49464- PT_CCR = 0x26
49465- PT_CTR = 0x23
49466- PT_DAR = 0x29
49467- PT_DSCR = 0x2c
49468- PT_DSISR = 0x2a
49469- PT_FPR0 = 0x30
49470- PT_FPSCR = 0x50
49471- PT_LNK = 0x24
49472- PT_MSR = 0x21
49473- PT_NIP = 0x20
49474- PT_ORIG_R3 = 0x22
49475- PT_R0 = 0x0
49476- PT_R1 = 0x1
49477- PT_R10 = 0xa
49478- PT_R11 = 0xb
49479- PT_R12 = 0xc
49480- PT_R13 = 0xd
49481- PT_R14 = 0xe
49482- PT_R15 = 0xf
49483- PT_R16 = 0x10
49484- PT_R17 = 0x11
49485- PT_R18 = 0x12
49486- PT_R19 = 0x13
49487- PT_R2 = 0x2
49488- PT_R20 = 0x14
49489- PT_R21 = 0x15
49490- PT_R22 = 0x16
49491- PT_R23 = 0x17
49492- PT_R24 = 0x18
49493- PT_R25 = 0x19
49494- PT_R26 = 0x1a
49495- PT_R27 = 0x1b
49496- PT_R28 = 0x1c
49497- PT_R29 = 0x1d
49498- PT_R3 = 0x3
49499- PT_R30 = 0x1e
49500- PT_R31 = 0x1f
49501- PT_R4 = 0x4
49502- PT_R5 = 0x5
49503- PT_R6 = 0x6
49504- PT_R7 = 0x7
49505- PT_R8 = 0x8
49506- PT_R9 = 0x9
49507- PT_REGS_COUNT = 0x2c
49508- PT_RESULT = 0x2b
49509- PT_SOFTE = 0x27
49510- PT_TRAP = 0x28
49511- PT_VR0 = 0x52
49512- PT_VRSAVE = 0x94
49513- PT_VSCR = 0x93
49514- PT_VSR0 = 0x96
49515- PT_VSR31 = 0xd4
49516- PT_XER = 0x25
49517- RLIMIT_AS = 0x9
49518- RLIMIT_CORE = 0x4
49519- RLIMIT_CPU = 0x0
49520- RLIMIT_DATA = 0x2
49521- RLIMIT_FSIZE = 0x1
49522- RLIMIT_LOCKS = 0xa
49523- RLIMIT_MEMLOCK = 0x8
49524- RLIMIT_MSGQUEUE = 0xc
49525- RLIMIT_NICE = 0xd
49526- RLIMIT_NOFILE = 0x7
49527- RLIMIT_NPROC = 0x6
49528- RLIMIT_RSS = 0x5
49529- RLIMIT_RTPRIO = 0xe
49530- RLIMIT_RTTIME = 0xf
49531- RLIMIT_SIGPENDING = 0xb
49532- RLIMIT_STACK = 0x3
49533- RLIM_INFINITY = -0x1
49534- RTAX_ADVMSS = 0x8
49535- RTAX_CC_ALGO = 0x10
49536- RTAX_CWND = 0x7
49537- RTAX_FEATURES = 0xc
49538- RTAX_FEATURE_ALLFRAG = 0x8
49539- RTAX_FEATURE_ECN = 0x1
49540- RTAX_FEATURE_MASK = 0xf
49541- RTAX_FEATURE_SACK = 0x2
49542- RTAX_FEATURE_TIMESTAMP = 0x4
49543- RTAX_HOPLIMIT = 0xa
49544- RTAX_INITCWND = 0xb
49545- RTAX_INITRWND = 0xe
49546- RTAX_LOCK = 0x1
49547- RTAX_MAX = 0x10
49548- RTAX_MTU = 0x2
49549- RTAX_QUICKACK = 0xf
49550- RTAX_REORDERING = 0x9
49551- RTAX_RTO_MIN = 0xd
49552- RTAX_RTT = 0x4
49553- RTAX_RTTVAR = 0x5
49554- RTAX_SSTHRESH = 0x6
49555- RTAX_UNSPEC = 0x0
49556- RTAX_WINDOW = 0x3
49557- RTA_ALIGNTO = 0x4
49558- RTA_MAX = 0x19
49559- RTCF_DIRECTSRC = 0x4000000
49560- RTCF_DOREDIRECT = 0x1000000
49561- RTCF_LOG = 0x2000000
49562- RTCF_MASQ = 0x400000
49563- RTCF_NAT = 0x800000
49564- RTCF_VALVE = 0x200000
49565- RTF_ADDRCLASSMASK = 0xf8000000
49566- RTF_ADDRCONF = 0x40000
49567- RTF_ALLONLINK = 0x20000
49568- RTF_BROADCAST = 0x10000000
49569- RTF_CACHE = 0x1000000
49570- RTF_DEFAULT = 0x10000
49571- RTF_DYNAMIC = 0x10
49572- RTF_FLOW = 0x2000000
49573- RTF_GATEWAY = 0x2
49574- RTF_HOST = 0x4
49575- RTF_INTERFACE = 0x40000000
49576- RTF_IRTT = 0x100
49577- RTF_LINKRT = 0x100000
49578- RTF_LOCAL = 0x80000000
49579- RTF_MODIFIED = 0x20
49580- RTF_MSS = 0x40
49581- RTF_MTU = 0x40
49582- RTF_MULTICAST = 0x20000000
49583- RTF_NAT = 0x8000000
49584- RTF_NOFORWARD = 0x1000
49585- RTF_NONEXTHOP = 0x200000
49586- RTF_NOPMTUDISC = 0x4000
49587- RTF_POLICY = 0x4000000
49588- RTF_REINSTATE = 0x8
49589- RTF_REJECT = 0x200
49590- RTF_STATIC = 0x400
49591- RTF_THROW = 0x2000
49592- RTF_UP = 0x1
49593- RTF_WINDOW = 0x80
49594- RTF_XRESOLVE = 0x800
49595- RTM_BASE = 0x10
49596- RTM_DELACTION = 0x31
49597- RTM_DELADDR = 0x15
49598- RTM_DELADDRLABEL = 0x49
49599- RTM_DELLINK = 0x11
49600- RTM_DELMDB = 0x55
49601- RTM_DELNEIGH = 0x1d
49602- RTM_DELNSID = 0x59
49603- RTM_DELQDISC = 0x25
49604- RTM_DELROUTE = 0x19
49605- RTM_DELRULE = 0x21
49606- RTM_DELTCLASS = 0x29
49607- RTM_DELTFILTER = 0x2d
49608- RTM_F_CLONED = 0x200
49609- RTM_F_EQUALIZE = 0x400
49610- RTM_F_LOOKUP_TABLE = 0x1000
49611- RTM_F_NOTIFY = 0x100
49612- RTM_F_PREFIX = 0x800
49613- RTM_GETACTION = 0x32
49614- RTM_GETADDR = 0x16
49615- RTM_GETADDRLABEL = 0x4a
49616- RTM_GETANYCAST = 0x3e
49617- RTM_GETDCB = 0x4e
49618- RTM_GETLINK = 0x12
49619- RTM_GETMDB = 0x56
49620- RTM_GETMULTICAST = 0x3a
49621- RTM_GETNEIGH = 0x1e
49622- RTM_GETNEIGHTBL = 0x42
49623- RTM_GETNETCONF = 0x52
49624- RTM_GETNSID = 0x5a
49625- RTM_GETQDISC = 0x26
49626- RTM_GETROUTE = 0x1a
49627- RTM_GETRULE = 0x22
49628- RTM_GETSTATS = 0x5e
49629- RTM_GETTCLASS = 0x2a
49630- RTM_GETTFILTER = 0x2e
49631- RTM_MAX = 0x5f
49632- RTM_NEWACTION = 0x30
49633- RTM_NEWADDR = 0x14
49634- RTM_NEWADDRLABEL = 0x48
49635- RTM_NEWLINK = 0x10
49636- RTM_NEWMDB = 0x54
49637- RTM_NEWNDUSEROPT = 0x44
49638- RTM_NEWNEIGH = 0x1c
49639- RTM_NEWNEIGHTBL = 0x40
49640- RTM_NEWNETCONF = 0x50
49641- RTM_NEWNSID = 0x58
49642- RTM_NEWPREFIX = 0x34
49643- RTM_NEWQDISC = 0x24
49644- RTM_NEWROUTE = 0x18
49645- RTM_NEWRULE = 0x20
49646- RTM_NEWSTATS = 0x5c
49647- RTM_NEWTCLASS = 0x28
49648- RTM_NEWTFILTER = 0x2c
49649- RTM_NR_FAMILIES = 0x14
49650- RTM_NR_MSGTYPES = 0x50
49651- RTM_SETDCB = 0x4f
49652- RTM_SETLINK = 0x13
49653- RTM_SETNEIGHTBL = 0x43
49654- RTNH_ALIGNTO = 0x4
49655- RTNH_COMPARE_MASK = 0x19
49656- RTNH_F_DEAD = 0x1
49657- RTNH_F_LINKDOWN = 0x10
49658- RTNH_F_OFFLOAD = 0x8
49659- RTNH_F_ONLINK = 0x4
49660- RTNH_F_PERVASIVE = 0x2
49661- RTN_MAX = 0xb
49662- RTPROT_BABEL = 0x2a
49663- RTPROT_BIRD = 0xc
49664- RTPROT_BOOT = 0x3
49665- RTPROT_DHCP = 0x10
49666- RTPROT_DNROUTED = 0xd
49667- RTPROT_GATED = 0x8
49668- RTPROT_KERNEL = 0x2
49669- RTPROT_MROUTED = 0x11
49670- RTPROT_MRT = 0xa
49671- RTPROT_NTK = 0xf
49672- RTPROT_RA = 0x9
49673- RTPROT_REDIRECT = 0x1
49674- RTPROT_STATIC = 0x4
49675- RTPROT_UNSPEC = 0x0
49676- RTPROT_XORP = 0xe
49677- RTPROT_ZEBRA = 0xb
49678- RT_CLASS_DEFAULT = 0xfd
49679- RT_CLASS_LOCAL = 0xff
49680- RT_CLASS_MAIN = 0xfe
49681- RT_CLASS_MAX = 0xff
49682- RT_CLASS_UNSPEC = 0x0
49683- RUSAGE_CHILDREN = -0x1
49684- RUSAGE_SELF = 0x0
49685- RUSAGE_THREAD = 0x1
49686- SCM_CREDENTIALS = 0x2
49687- SCM_RIGHTS = 0x1
49688- SCM_TIMESTAMP = 0x1d
49689- SCM_TIMESTAMPING = 0x25
49690- SCM_TIMESTAMPING_OPT_STATS = 0x36
49691- SCM_TIMESTAMPNS = 0x23
49692- SCM_WIFI_STATUS = 0x29
49693- SECCOMP_MODE_DISABLED = 0x0
49694- SECCOMP_MODE_FILTER = 0x2
49695- SECCOMP_MODE_STRICT = 0x1
49696- SHUT_RD = 0x0
49697- SHUT_RDWR = 0x2
49698- SHUT_WR = 0x1
49699- SIOCADDDLCI = 0x8980
49700- SIOCADDMULTI = 0x8931
49701- SIOCADDRT = 0x890b
49702- SIOCATMARK = 0x8905
49703- SIOCBONDCHANGEACTIVE = 0x8995
49704- SIOCBONDENSLAVE = 0x8990
49705- SIOCBONDINFOQUERY = 0x8994
49706- SIOCBONDRELEASE = 0x8991
49707- SIOCBONDSETHWADDR = 0x8992
49708- SIOCBONDSLAVEINFOQUERY = 0x8993
49709- SIOCBRADDBR = 0x89a0
49710- SIOCBRADDIF = 0x89a2
49711- SIOCBRDELBR = 0x89a1
49712- SIOCBRDELIF = 0x89a3
49713- SIOCDARP = 0x8953
49714- SIOCDELDLCI = 0x8981
49715- SIOCDELMULTI = 0x8932
49716- SIOCDELRT = 0x890c
49717- SIOCDEVPRIVATE = 0x89f0
49718- SIOCDIFADDR = 0x8936
49719- SIOCDRARP = 0x8960
49720- SIOCETHTOOL = 0x8946
49721- SIOCGARP = 0x8954
49722- SIOCGHWTSTAMP = 0x89b1
49723- SIOCGIFADDR = 0x8915
49724- SIOCGIFBR = 0x8940
49725- SIOCGIFBRDADDR = 0x8919
49726- SIOCGIFCONF = 0x8912
49727- SIOCGIFCOUNT = 0x8938
49728- SIOCGIFDSTADDR = 0x8917
49729- SIOCGIFENCAP = 0x8925
49730- SIOCGIFFLAGS = 0x8913
49731- SIOCGIFHWADDR = 0x8927
49732- SIOCGIFINDEX = 0x8933
49733- SIOCGIFMAP = 0x8970
49734- SIOCGIFMEM = 0x891f
49735- SIOCGIFMETRIC = 0x891d
49736- SIOCGIFMTU = 0x8921
49737- SIOCGIFNAME = 0x8910
49738- SIOCGIFNETMASK = 0x891b
49739- SIOCGIFPFLAGS = 0x8935
49740- SIOCGIFSLAVE = 0x8929
49741- SIOCGIFTXQLEN = 0x8942
49742- SIOCGIFVLAN = 0x8982
49743- SIOCGMIIPHY = 0x8947
49744- SIOCGMIIREG = 0x8948
49745- SIOCGPGRP = 0x8904
49746- SIOCGRARP = 0x8961
49747- SIOCGSKNS = 0x894c
49748- SIOCGSTAMP = 0x8906
49749- SIOCGSTAMPNS = 0x8907
49750- SIOCINQ = 0x4004667f
49751- SIOCOUTQ = 0x40047473
49752- SIOCOUTQNSD = 0x894b
49753- SIOCPROTOPRIVATE = 0x89e0
49754- SIOCRTMSG = 0x890d
49755- SIOCSARP = 0x8955
49756- SIOCSHWTSTAMP = 0x89b0
49757- SIOCSIFADDR = 0x8916
49758- SIOCSIFBR = 0x8941
49759- SIOCSIFBRDADDR = 0x891a
49760- SIOCSIFDSTADDR = 0x8918
49761- SIOCSIFENCAP = 0x8926
49762- SIOCSIFFLAGS = 0x8914
49763- SIOCSIFHWADDR = 0x8924
49764- SIOCSIFHWBROADCAST = 0x8937
49765- SIOCSIFLINK = 0x8911
49766- SIOCSIFMAP = 0x8971
49767- SIOCSIFMEM = 0x8920
49768- SIOCSIFMETRIC = 0x891e
49769- SIOCSIFMTU = 0x8922
49770- SIOCSIFNAME = 0x8923
49771- SIOCSIFNETMASK = 0x891c
49772- SIOCSIFPFLAGS = 0x8934
49773- SIOCSIFSLAVE = 0x8930
49774- SIOCSIFTXQLEN = 0x8943
49775- SIOCSIFVLAN = 0x8983
49776- SIOCSMIIREG = 0x8949
49777- SIOCSPGRP = 0x8902
49778- SIOCSRARP = 0x8962
49779- SIOCWANDEV = 0x894a
49780- SOCK_CLOEXEC = 0x80000
49781- SOCK_DCCP = 0x6
49782- SOCK_DGRAM = 0x2
49783- SOCK_IOC_TYPE = 0x89
49784- SOCK_NONBLOCK = 0x800
49785- SOCK_PACKET = 0xa
49786- SOCK_RAW = 0x3
49787- SOCK_RDM = 0x4
49788- SOCK_SEQPACKET = 0x5
49789- SOCK_STREAM = 0x1
49790- SOL_AAL = 0x109
49791- SOL_ALG = 0x117
49792- SOL_ATM = 0x108
49793- SOL_CAIF = 0x116
49794- SOL_CAN_BASE = 0x64
49795- SOL_DCCP = 0x10d
49796- SOL_DECNET = 0x105
49797- SOL_ICMPV6 = 0x3a
49798- SOL_IP = 0x0
49799- SOL_IPV6 = 0x29
49800- SOL_IRDA = 0x10a
49801- SOL_IUCV = 0x115
49802- SOL_KCM = 0x119
49803- SOL_LLC = 0x10c
49804- SOL_NETBEUI = 0x10b
49805- SOL_NETLINK = 0x10e
49806- SOL_NFC = 0x118
49807- SOL_PACKET = 0x107
49808- SOL_PNPIPE = 0x113
49809- SOL_PPPOL2TP = 0x111
49810- SOL_RAW = 0xff
49811- SOL_RDS = 0x114
49812- SOL_RXRPC = 0x110
49813- SOL_SOCKET = 0x1
49814- SOL_TCP = 0x6
49815- SOL_TIPC = 0x10f
49816- SOL_X25 = 0x106
49817- SOMAXCONN = 0x80
49818- SO_ACCEPTCONN = 0x1e
49819- SO_ATTACH_BPF = 0x32
49820- SO_ATTACH_FILTER = 0x1a
49821- SO_ATTACH_REUSEPORT_CBPF = 0x33
49822- SO_ATTACH_REUSEPORT_EBPF = 0x34
49823- SO_BINDTODEVICE = 0x19
49824- SO_BPF_EXTENSIONS = 0x30
49825- SO_BROADCAST = 0x6
49826- SO_BSDCOMPAT = 0xe
49827- SO_BUSY_POLL = 0x2e
49828- SO_CNX_ADVICE = 0x35
49829- SO_DEBUG = 0x1
49830- SO_DETACH_BPF = 0x1b
49831- SO_DETACH_FILTER = 0x1b
49832- SO_DOMAIN = 0x27
49833- SO_DONTROUTE = 0x5
49834- SO_ERROR = 0x4
49835- SO_GET_FILTER = 0x1a
49836- SO_INCOMING_CPU = 0x31
49837- SO_KEEPALIVE = 0x9
49838- SO_LINGER = 0xd
49839- SO_LOCK_FILTER = 0x2c
49840- SO_MARK = 0x24
49841- SO_MAX_PACING_RATE = 0x2f
49842- SO_NOFCS = 0x2b
49843- SO_NO_CHECK = 0xb
49844- SO_OOBINLINE = 0xa
49845- SO_PASSCRED = 0x14
49846- SO_PASSSEC = 0x22
49847- SO_PEEK_OFF = 0x2a
49848- SO_PEERCRED = 0x15
49849- SO_PEERNAME = 0x1c
49850- SO_PEERSEC = 0x1f
49851- SO_PRIORITY = 0xc
49852- SO_PROTOCOL = 0x26
49853- SO_RCVBUF = 0x8
49854- SO_RCVBUFFORCE = 0x21
49855- SO_RCVLOWAT = 0x10
49856- SO_RCVTIMEO = 0x12
49857- SO_REUSEADDR = 0x2
49858- SO_REUSEPORT = 0xf
49859- SO_RXQ_OVFL = 0x28
49860- SO_SECURITY_AUTHENTICATION = 0x16
49861- SO_SECURITY_ENCRYPTION_NETWORK = 0x18
49862- SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
49863- SO_SELECT_ERR_QUEUE = 0x2d
49864- SO_SNDBUF = 0x7
49865- SO_SNDBUFFORCE = 0x20
49866- SO_SNDLOWAT = 0x11
49867- SO_SNDTIMEO = 0x13
49868- SO_TIMESTAMP = 0x1d
49869- SO_TIMESTAMPING = 0x25
49870- SO_TIMESTAMPNS = 0x23
49871- SO_TYPE = 0x3
49872- SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
49873- SO_VM_SOCKETS_BUFFER_MIN_SIZE = 0x1
49874- SO_VM_SOCKETS_BUFFER_SIZE = 0x0
49875- SO_VM_SOCKETS_CONNECT_TIMEOUT = 0x6
49876- SO_VM_SOCKETS_NONBLOCK_TXRX = 0x7
49877- SO_VM_SOCKETS_PEER_HOST_VM_ID = 0x3
49878- SO_VM_SOCKETS_TRUSTED = 0x5
49879- SO_WIFI_STATUS = 0x29
49880- SPLICE_F_GIFT = 0x8
49881- SPLICE_F_MORE = 0x4
49882- SPLICE_F_MOVE = 0x1
49883- SPLICE_F_NONBLOCK = 0x2
49884- S_BLKSIZE = 0x200
49885- S_IEXEC = 0x40
49886- S_IFBLK = 0x6000
49887- S_IFCHR = 0x2000
49888- S_IFDIR = 0x4000
49889- S_IFIFO = 0x1000
49890- S_IFLNK = 0xa000
49891- S_IFMT = 0xf000
49892- S_IFREG = 0x8000
49893- S_IFSOCK = 0xc000
49894- S_IREAD = 0x100
49895- S_IRGRP = 0x20
49896- S_IROTH = 0x4
49897- S_IRUSR = 0x100
49898- S_IRWXG = 0x38
49899- S_IRWXO = 0x7
49900- S_IRWXU = 0x1c0
49901- S_ISGID = 0x400
49902- S_ISUID = 0x800
49903- S_ISVTX = 0x200
49904- S_IWGRP = 0x10
49905- S_IWOTH = 0x2
49906- S_IWRITE = 0x80
49907- S_IWUSR = 0x80
49908- S_IXGRP = 0x8
49909- S_IXOTH = 0x1
49910- S_IXUSR = 0x40
49911- TAB0 = 0x0
49912- TAB1 = 0x400
49913- TAB2 = 0x800
49914- TAB3 = 0xc00
49915- TABDLY = 0xc00
49916- TASKSTATS_CMD_ATTR_MAX = 0x4
49917- TASKSTATS_CMD_MAX = 0x2
49918- TASKSTATS_GENL_NAME = "TASKSTATS"
49919- TASKSTATS_GENL_VERSION = 0x1
49920- TASKSTATS_TYPE_MAX = 0x6
49921- TASKSTATS_VERSION = 0x8
49922- TCFLSH = 0x2000741f
49923- TCGETA = 0x40147417
49924- TCGETS = 0x402c7413
49925- TCIFLUSH = 0x0
49926- TCIOFF = 0x2
49927- TCIOFLUSH = 0x2
49928- TCION = 0x3
49929- TCOFLUSH = 0x1
49930- TCOOFF = 0x0
49931- TCOON = 0x1
49932- TCP_CC_INFO = 0x1a
49933- TCP_CONGESTION = 0xd
49934- TCP_COOKIE_IN_ALWAYS = 0x1
49935- TCP_COOKIE_MAX = 0x10
49936- TCP_COOKIE_MIN = 0x8
49937- TCP_COOKIE_OUT_NEVER = 0x2
49938- TCP_COOKIE_PAIR_SIZE = 0x20
49939- TCP_COOKIE_TRANSACTIONS = 0xf
49940- TCP_CORK = 0x3
49941- TCP_DEFER_ACCEPT = 0x9
49942- TCP_FASTOPEN = 0x17
49943- TCP_INFO = 0xb
49944- TCP_KEEPCNT = 0x6
49945- TCP_KEEPIDLE = 0x4
49946- TCP_KEEPINTVL = 0x5
49947- TCP_LINGER2 = 0x8
49948- TCP_MAXSEG = 0x2
49949- TCP_MAXWIN = 0xffff
49950- TCP_MAX_WINSHIFT = 0xe
49951- TCP_MD5SIG = 0xe
49952- TCP_MD5SIG_MAXKEYLEN = 0x50
49953- TCP_MSS = 0x200
49954- TCP_MSS_DEFAULT = 0x218
49955- TCP_MSS_DESIRED = 0x4c4
49956- TCP_NODELAY = 0x1
49957- TCP_NOTSENT_LOWAT = 0x19
49958- TCP_QUEUE_SEQ = 0x15
49959- TCP_QUICKACK = 0xc
49960- TCP_REPAIR = 0x13
49961- TCP_REPAIR_OPTIONS = 0x16
49962- TCP_REPAIR_QUEUE = 0x14
49963- TCP_REPAIR_WINDOW = 0x1d
49964- TCP_SAVED_SYN = 0x1c
49965- TCP_SAVE_SYN = 0x1b
49966- TCP_SYNCNT = 0x7
49967- TCP_S_DATA_IN = 0x4
49968- TCP_S_DATA_OUT = 0x8
49969- TCP_THIN_DUPACK = 0x11
49970- TCP_THIN_LINEAR_TIMEOUTS = 0x10
49971- TCP_TIMESTAMP = 0x18
49972- TCP_USER_TIMEOUT = 0x12
49973- TCP_WINDOW_CLAMP = 0xa
49974- TCSAFLUSH = 0x2
49975- TCSBRK = 0x2000741d
49976- TCSBRKP = 0x5425
49977- TCSETA = 0x80147418
49978- TCSETAF = 0x8014741c
49979- TCSETAW = 0x80147419
49980- TCSETS = 0x802c7414
49981- TCSETSF = 0x802c7416
49982- TCSETSW = 0x802c7415
49983- TCXONC = 0x2000741e
49984- TIOCCBRK = 0x5428
49985- TIOCCONS = 0x541d
49986- TIOCEXCL = 0x540c
49987- TIOCGDEV = 0x40045432
49988- TIOCGETC = 0x40067412
49989- TIOCGETD = 0x5424
49990- TIOCGETP = 0x40067408
49991- TIOCGEXCL = 0x40045440
49992- TIOCGICOUNT = 0x545d
49993- TIOCGLCKTRMIOS = 0x5456
49994- TIOCGLTC = 0x40067474
49995- TIOCGPGRP = 0x40047477
49996- TIOCGPKT = 0x40045438
49997- TIOCGPTLCK = 0x40045439
49998- TIOCGPTN = 0x40045430
49999- TIOCGRS485 = 0x542e
50000- TIOCGSERIAL = 0x541e
50001- TIOCGSID = 0x5429
50002- TIOCGSOFTCAR = 0x5419
50003- TIOCGWINSZ = 0x40087468
50004- TIOCINQ = 0x4004667f
50005- TIOCLINUX = 0x541c
50006- TIOCMBIC = 0x5417
50007- TIOCMBIS = 0x5416
50008- TIOCMGET = 0x5415
50009- TIOCMIWAIT = 0x545c
50010- TIOCMSET = 0x5418
50011- TIOCM_CAR = 0x40
50012- TIOCM_CD = 0x40
50013- TIOCM_CTS = 0x20
50014- TIOCM_DSR = 0x100
50015- TIOCM_DTR = 0x2
50016- TIOCM_LE = 0x1
50017- TIOCM_LOOP = 0x8000
50018- TIOCM_OUT1 = 0x2000
50019- TIOCM_OUT2 = 0x4000
50020- TIOCM_RI = 0x80
50021- TIOCM_RNG = 0x80
50022- TIOCM_RTS = 0x4
50023- TIOCM_SR = 0x10
50024- TIOCM_ST = 0x8
50025- TIOCNOTTY = 0x5422
50026- TIOCNXCL = 0x540d
50027- TIOCOUTQ = 0x40047473
50028- TIOCPKT = 0x5420
50029- TIOCPKT_DATA = 0x0
50030- TIOCPKT_DOSTOP = 0x20
50031- TIOCPKT_FLUSHREAD = 0x1
50032- TIOCPKT_FLUSHWRITE = 0x2
50033- TIOCPKT_IOCTL = 0x40
50034- TIOCPKT_NOSTOP = 0x10
50035- TIOCPKT_START = 0x8
50036- TIOCPKT_STOP = 0x4
50037- TIOCSBRK = 0x5427
50038- TIOCSCTTY = 0x540e
50039- TIOCSERCONFIG = 0x5453
50040- TIOCSERGETLSR = 0x5459
50041- TIOCSERGETMULTI = 0x545a
50042- TIOCSERGSTRUCT = 0x5458
50043- TIOCSERGWILD = 0x5454
50044- TIOCSERSETMULTI = 0x545b
50045- TIOCSERSWILD = 0x5455
50046- TIOCSER_TEMT = 0x1
50047- TIOCSETC = 0x80067411
50048- TIOCSETD = 0x5423
50049- TIOCSETN = 0x8006740a
50050- TIOCSETP = 0x80067409
50051- TIOCSIG = 0x80045436
50052- TIOCSLCKTRMIOS = 0x5457
50053- TIOCSLTC = 0x80067475
50054- TIOCSPGRP = 0x80047476
50055- TIOCSPTLCK = 0x80045431
50056- TIOCSRS485 = 0x542f
50057- TIOCSSERIAL = 0x541f
50058- TIOCSSOFTCAR = 0x541a
50059- TIOCSTART = 0x2000746e
50060- TIOCSTI = 0x5412
50061- TIOCSTOP = 0x2000746f
50062- TIOCSWINSZ = 0x80087467
50063- TIOCVHANGUP = 0x5437
50064- TOSTOP = 0x400000
50065- TS_COMM_LEN = 0x20
50066- TUNATTACHFILTER = 0x801054d5
50067- TUNDETACHFILTER = 0x801054d6
50068- TUNGETFEATURES = 0x400454cf
50069- TUNGETFILTER = 0x401054db
50070- TUNGETIFF = 0x400454d2
50071- TUNGETSNDBUF = 0x400454d3
50072- TUNGETVNETBE = 0x400454df
50073- TUNGETVNETHDRSZ = 0x400454d7
50074- TUNGETVNETLE = 0x400454dd
50075- TUNSETDEBUG = 0x800454c9
50076- TUNSETGROUP = 0x800454ce
50077- TUNSETIFF = 0x800454ca
50078- TUNSETIFINDEX = 0x800454da
50079- TUNSETLINK = 0x800454cd
50080- TUNSETNOCSUM = 0x800454c8
50081- TUNSETOFFLOAD = 0x800454d0
50082- TUNSETOWNER = 0x800454cc
50083- TUNSETPERSIST = 0x800454cb
50084- TUNSETQUEUE = 0x800454d9
50085- TUNSETSNDBUF = 0x800454d4
50086- TUNSETTXFILTER = 0x800454d1
50087- TUNSETVNETBE = 0x800454de
50088- TUNSETVNETHDRSZ = 0x800454d8
50089- TUNSETVNETLE = 0x800454dc
50090- UMOUNT_NOFOLLOW = 0x8
50091- VDISCARD = 0x10
50092- VEOF = 0x4
50093- VEOL = 0x6
50094- VEOL2 = 0x8
50095- VERASE = 0x2
50096- VINTR = 0x0
50097- VKILL = 0x3
50098- VLNEXT = 0xf
50099- VMADDR_CID_ANY = 0xffffffff
50100- VMADDR_CID_HOST = 0x2
50101- VMADDR_CID_HYPERVISOR = 0x0
50102- VMADDR_CID_RESERVED = 0x1
50103- VMADDR_PORT_ANY = 0xffffffff
50104- VMIN = 0x5
50105- VM_SOCKETS_INVALID_VERSION = 0xffffffff
50106- VQUIT = 0x1
50107- VREPRINT = 0xb
50108- VSTART = 0xd
50109- VSTOP = 0xe
50110- VSUSP = 0xc
50111- VSWTC = 0x9
50112- VT0 = 0x0
50113- VT1 = 0x10000
50114- VTDLY = 0x10000
50115- VTIME = 0x7
50116- VWERASE = 0xa
50117- WALL = 0x40000000
50118- WCLONE = 0x80000000
50119- WCONTINUED = 0x8
50120- WEXITED = 0x4
50121- WNOHANG = 0x1
50122- WNOTHREAD = 0x20000000
50123- WNOWAIT = 0x1000000
50124- WORDSIZE = 0x40
50125- WSTOPPED = 0x2
50126- WUNTRACED = 0x2
50127- XATTR_CREATE = 0x1
50128- XATTR_REPLACE = 0x2
50129- XCASE = 0x4000
50130- XTABS = 0xc00
50131+ B1000000 = 0x17
50132+ B115200 = 0x11
50133+ B1152000 = 0x18
50134+ B1500000 = 0x19
50135+ B2000000 = 0x1a
50136+ B230400 = 0x12
50137+ B2500000 = 0x1b
50138+ B3000000 = 0x1c
50139+ B3500000 = 0x1d
50140+ B4000000 = 0x1e
50141+ B460800 = 0x13
50142+ B500000 = 0x14
50143+ B57600 = 0x10
50144+ B576000 = 0x15
50145+ B921600 = 0x16
50146+ BLKBSZGET = 0x40081270
50147+ BLKBSZSET = 0x80081271
50148+ BLKFLSBUF = 0x20001261
50149+ BLKFRAGET = 0x20001265
50150+ BLKFRASET = 0x20001264
50151+ BLKGETSIZE = 0x20001260
50152+ BLKGETSIZE64 = 0x40081272
50153+ BLKPBSZGET = 0x2000127b
50154+ BLKRAGET = 0x20001263
50155+ BLKRASET = 0x20001262
50156+ BLKROGET = 0x2000125e
50157+ BLKROSET = 0x2000125d
50158+ BLKRRPART = 0x2000125f
50159+ BLKSECTGET = 0x20001267
50160+ BLKSECTSET = 0x20001266
50161+ BLKSSZGET = 0x20001268
50162+ BOTHER = 0x1f
50163+ BS1 = 0x8000
50164+ BSDLY = 0x8000
50165+ CBAUD = 0xff
50166+ CBAUDEX = 0x0
50167+ CIBAUD = 0xff0000
50168+ CLOCAL = 0x8000
50169+ CR1 = 0x1000
50170+ CR2 = 0x2000
50171+ CR3 = 0x3000
50172+ CRDLY = 0x3000
50173+ CREAD = 0x800
50174+ CS6 = 0x100
50175+ CS7 = 0x200
50176+ CS8 = 0x300
50177+ CSIZE = 0x300
50178+ CSTOPB = 0x400
50179+ ECHOCTL = 0x40
50180+ ECHOE = 0x2
50181+ ECHOK = 0x4
50182+ ECHOKE = 0x1
50183+ ECHONL = 0x10
50184+ ECHOPRT = 0x20
50185+ EFD_CLOEXEC = 0x80000
50186+ EFD_NONBLOCK = 0x800
50187+ EPOLL_CLOEXEC = 0x80000
50188+ EXTPROC = 0x10000000
50189+ FF1 = 0x4000
50190+ FFDLY = 0x4000
50191+ FLUSHO = 0x800000
50192+ FS_IOC_ENABLE_VERITY = 0x80806685
50193+ FS_IOC_GETFLAGS = 0x40086601
50194+ FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615
50195+ FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614
50196+ FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613
50197+ F_GETLK = 0x5
50198+ F_GETLK64 = 0xc
50199+ F_GETOWN = 0x9
50200+ F_RDLCK = 0x0
50201+ F_SETLK = 0x6
50202+ F_SETLK64 = 0xd
50203+ F_SETLKW = 0x7
50204+ F_SETLKW64 = 0xe
50205+ F_SETOWN = 0x8
50206+ F_UNLCK = 0x2
50207+ F_WRLCK = 0x1
50208+ HUPCL = 0x4000
50209+ ICANON = 0x100
50210+ IEXTEN = 0x400
50211+ IN_CLOEXEC = 0x80000
50212+ IN_NONBLOCK = 0x800
50213+ IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x200007b9
50214+ ISIG = 0x80
50215+ IUCLC = 0x1000
50216+ IXOFF = 0x400
50217+ IXON = 0x200
50218+ MAP_ANON = 0x20
50219+ MAP_ANONYMOUS = 0x20
50220+ MAP_DENYWRITE = 0x800
50221+ MAP_EXECUTABLE = 0x1000
50222+ MAP_GROWSDOWN = 0x100
50223+ MAP_HUGETLB = 0x40000
50224+ MAP_LOCKED = 0x80
50225+ MAP_NONBLOCK = 0x10000
50226+ MAP_NORESERVE = 0x40
50227+ MAP_POPULATE = 0x8000
50228+ MAP_STACK = 0x20000
50229+ MAP_SYNC = 0x80000
50230+ MCL_CURRENT = 0x2000
50231+ MCL_FUTURE = 0x4000
50232+ MCL_ONFAULT = 0x8000
50233+ NFDBITS = 0x40
50234+ NL2 = 0x200
50235+ NL3 = 0x300
50236+ NLDLY = 0x300
50237+ NOFLSH = 0x80000000
50238+ NS_GET_NSTYPE = 0x2000b703
50239+ NS_GET_OWNER_UID = 0x2000b704
50240+ NS_GET_PARENT = 0x2000b702
50241+ NS_GET_USERNS = 0x2000b701
50242+ OLCUC = 0x4
50243+ ONLCR = 0x2
50244+ O_APPEND = 0x400
50245+ O_ASYNC = 0x2000
50246+ O_CLOEXEC = 0x80000
50247+ O_CREAT = 0x40
50248+ O_DIRECT = 0x20000
50249+ O_DIRECTORY = 0x4000
50250+ O_DSYNC = 0x1000
50251+ O_EXCL = 0x80
50252+ O_FSYNC = 0x101000
50253+ O_LARGEFILE = 0x0
50254+ O_NDELAY = 0x800
50255+ O_NOATIME = 0x40000
50256+ O_NOCTTY = 0x100
50257+ O_NOFOLLOW = 0x8000
50258+ O_NONBLOCK = 0x800
50259+ O_PATH = 0x200000
50260+ O_RSYNC = 0x101000
50261+ O_SYNC = 0x101000
50262+ O_TMPFILE = 0x404000
50263+ O_TRUNC = 0x200
50264+ PARENB = 0x1000
50265+ PARODD = 0x2000
50266+ PENDIN = 0x20000000
50267+ PERF_EVENT_IOC_DISABLE = 0x20002401
50268+ PERF_EVENT_IOC_ENABLE = 0x20002400
50269+ PERF_EVENT_IOC_ID = 0x40082407
50270+ PERF_EVENT_IOC_MODIFY_ATTRIBUTES = 0x8008240b
50271+ PERF_EVENT_IOC_PAUSE_OUTPUT = 0x80042409
50272+ PERF_EVENT_IOC_PERIOD = 0x80082404
50273+ PERF_EVENT_IOC_QUERY_BPF = 0xc008240a
50274+ PERF_EVENT_IOC_REFRESH = 0x20002402
50275+ PERF_EVENT_IOC_RESET = 0x20002403
50276+ PERF_EVENT_IOC_SET_BPF = 0x80042408
50277+ PERF_EVENT_IOC_SET_FILTER = 0x80082406
50278+ PERF_EVENT_IOC_SET_OUTPUT = 0x20002405
50279+ PPPIOCATTACH = 0x8004743d
50280+ PPPIOCATTCHAN = 0x80047438
50281+ PPPIOCCONNECT = 0x8004743a
50282+ PPPIOCDETACH = 0x8004743c
50283+ PPPIOCDISCONN = 0x20007439
50284+ PPPIOCGASYNCMAP = 0x40047458
50285+ PPPIOCGCHAN = 0x40047437
50286+ PPPIOCGDEBUG = 0x40047441
50287+ PPPIOCGFLAGS = 0x4004745a
50288+ PPPIOCGIDLE = 0x4010743f
50289+ PPPIOCGIDLE32 = 0x4008743f
50290+ PPPIOCGIDLE64 = 0x4010743f
50291+ PPPIOCGL2TPSTATS = 0x40487436
50292+ PPPIOCGMRU = 0x40047453
50293+ PPPIOCGRASYNCMAP = 0x40047455
50294+ PPPIOCGUNIT = 0x40047456
50295+ PPPIOCGXASYNCMAP = 0x40207450
50296+ PPPIOCSACTIVE = 0x80107446
50297+ PPPIOCSASYNCMAP = 0x80047457
50298+ PPPIOCSCOMPRESS = 0x8010744d
50299+ PPPIOCSDEBUG = 0x80047440
50300+ PPPIOCSFLAGS = 0x80047459
50301+ PPPIOCSMAXCID = 0x80047451
50302+ PPPIOCSMRRU = 0x8004743b
50303+ PPPIOCSMRU = 0x80047452
50304+ PPPIOCSNPMODE = 0x8008744b
50305+ PPPIOCSPASS = 0x80107447
50306+ PPPIOCSRASYNCMAP = 0x80047454
50307+ PPPIOCSXASYNCMAP = 0x8020744f
50308+ PPPIOCXFERUNIT = 0x2000744e
50309+ PROT_SAO = 0x10
50310+ PR_SET_PTRACER_ANY = 0xffffffffffffffff
50311+ PTRACE_GETEVRREGS = 0x14
50312+ PTRACE_GETFPREGS = 0xe
50313+ PTRACE_GETREGS64 = 0x16
50314+ PTRACE_GETVRREGS = 0x12
50315+ PTRACE_GETVSRREGS = 0x1b
50316+ PTRACE_GET_DEBUGREG = 0x19
50317+ PTRACE_SETEVRREGS = 0x15
50318+ PTRACE_SETFPREGS = 0xf
50319+ PTRACE_SETREGS64 = 0x17
50320+ PTRACE_SETVRREGS = 0x13
50321+ PTRACE_SETVSRREGS = 0x1c
50322+ PTRACE_SET_DEBUGREG = 0x1a
50323+ PTRACE_SINGLEBLOCK = 0x100
50324+ PTRACE_SYSEMU = 0x1d
50325+ PTRACE_SYSEMU_SINGLESTEP = 0x1e
50326+ PT_CCR = 0x26
50327+ PT_CTR = 0x23
50328+ PT_DAR = 0x29
50329+ PT_DSCR = 0x2c
50330+ PT_DSISR = 0x2a
50331+ PT_FPR0 = 0x30
50332+ PT_FPSCR = 0x50
50333+ PT_LNK = 0x24
50334+ PT_MSR = 0x21
50335+ PT_NIP = 0x20
50336+ PT_ORIG_R3 = 0x22
50337+ PT_R0 = 0x0
50338+ PT_R1 = 0x1
50339+ PT_R10 = 0xa
50340+ PT_R11 = 0xb
50341+ PT_R12 = 0xc
50342+ PT_R13 = 0xd
50343+ PT_R14 = 0xe
50344+ PT_R15 = 0xf
50345+ PT_R16 = 0x10
50346+ PT_R17 = 0x11
50347+ PT_R18 = 0x12
50348+ PT_R19 = 0x13
50349+ PT_R2 = 0x2
50350+ PT_R20 = 0x14
50351+ PT_R21 = 0x15
50352+ PT_R22 = 0x16
50353+ PT_R23 = 0x17
50354+ PT_R24 = 0x18
50355+ PT_R25 = 0x19
50356+ PT_R26 = 0x1a
50357+ PT_R27 = 0x1b
50358+ PT_R28 = 0x1c
50359+ PT_R29 = 0x1d
50360+ PT_R3 = 0x3
50361+ PT_R30 = 0x1e
50362+ PT_R31 = 0x1f
50363+ PT_R4 = 0x4
50364+ PT_R5 = 0x5
50365+ PT_R6 = 0x6
50366+ PT_R7 = 0x7
50367+ PT_R8 = 0x8
50368+ PT_R9 = 0x9
50369+ PT_REGS_COUNT = 0x2c
50370+ PT_RESULT = 0x2b
50371+ PT_SOFTE = 0x27
50372+ PT_TRAP = 0x28
50373+ PT_VR0 = 0x52
50374+ PT_VRSAVE = 0x94
50375+ PT_VSCR = 0x93
50376+ PT_VSR0 = 0x96
50377+ PT_VSR31 = 0xd4
50378+ PT_XER = 0x25
50379+ RLIMIT_AS = 0x9
50380+ RLIMIT_MEMLOCK = 0x8
50381+ RLIMIT_NOFILE = 0x7
50382+ RLIMIT_NPROC = 0x6
50383+ RLIMIT_RSS = 0x5
50384+ RNDADDENTROPY = 0x80085203
50385+ RNDADDTOENTCNT = 0x80045201
50386+ RNDCLEARPOOL = 0x20005206
50387+ RNDGETENTCNT = 0x40045200
50388+ RNDGETPOOL = 0x40085202
50389+ RNDRESEEDCRNG = 0x20005207
50390+ RNDZAPENTCNT = 0x20005204
50391+ RTC_AIE_OFF = 0x20007002
50392+ RTC_AIE_ON = 0x20007001
50393+ RTC_ALM_READ = 0x40247008
50394+ RTC_ALM_SET = 0x80247007
50395+ RTC_EPOCH_READ = 0x4008700d
50396+ RTC_EPOCH_SET = 0x8008700e
50397+ RTC_IRQP_READ = 0x4008700b
50398+ RTC_IRQP_SET = 0x8008700c
50399+ RTC_PIE_OFF = 0x20007006
50400+ RTC_PIE_ON = 0x20007005
50401+ RTC_PLL_GET = 0x40207011
50402+ RTC_PLL_SET = 0x80207012
50403+ RTC_RD_TIME = 0x40247009
50404+ RTC_SET_TIME = 0x8024700a
50405+ RTC_UIE_OFF = 0x20007004
50406+ RTC_UIE_ON = 0x20007003
50407+ RTC_VL_CLR = 0x20007014
50408+ RTC_VL_READ = 0x40047013
50409+ RTC_WIE_OFF = 0x20007010
50410+ RTC_WIE_ON = 0x2000700f
50411+ RTC_WKALM_RD = 0x40287010
50412+ RTC_WKALM_SET = 0x8028700f
50413+ SCM_TIMESTAMPING = 0x25
50414+ SCM_TIMESTAMPING_OPT_STATS = 0x36
50415+ SCM_TIMESTAMPING_PKTINFO = 0x3a
50416+ SCM_TIMESTAMPNS = 0x23
50417+ SCM_TXTIME = 0x3d
50418+ SCM_WIFI_STATUS = 0x29
50419+ SFD_CLOEXEC = 0x80000
50420+ SFD_NONBLOCK = 0x800
50421+ SIOCATMARK = 0x8905
50422+ SIOCGPGRP = 0x8904
50423+ SIOCGSTAMPNS_NEW = 0x40108907
50424+ SIOCGSTAMP_NEW = 0x40108906
50425+ SIOCINQ = 0x4004667f
50426+ SIOCOUTQ = 0x40047473
50427+ SIOCSPGRP = 0x8902
50428+ SOCK_CLOEXEC = 0x80000
50429+ SOCK_DGRAM = 0x2
50430+ SOCK_NONBLOCK = 0x800
50431+ SOCK_STREAM = 0x1
50432+ SOL_SOCKET = 0x1
50433+ SO_ACCEPTCONN = 0x1e
50434+ SO_ATTACH_BPF = 0x32
50435+ SO_ATTACH_REUSEPORT_CBPF = 0x33
50436+ SO_ATTACH_REUSEPORT_EBPF = 0x34
50437+ SO_BINDTODEVICE = 0x19
50438+ SO_BINDTOIFINDEX = 0x3e
50439+ SO_BPF_EXTENSIONS = 0x30
50440+ SO_BROADCAST = 0x6
50441+ SO_BSDCOMPAT = 0xe
50442+ SO_BUSY_POLL = 0x2e
50443+ SO_CNX_ADVICE = 0x35
50444+ SO_COOKIE = 0x39
50445+ SO_DETACH_REUSEPORT_BPF = 0x44
50446+ SO_DOMAIN = 0x27
50447+ SO_DONTROUTE = 0x5
50448+ SO_ERROR = 0x4
50449+ SO_INCOMING_CPU = 0x31
50450+ SO_INCOMING_NAPI_ID = 0x38
50451+ SO_KEEPALIVE = 0x9
50452+ SO_LINGER = 0xd
50453+ SO_LOCK_FILTER = 0x2c
50454+ SO_MARK = 0x24
50455+ SO_MAX_PACING_RATE = 0x2f
50456+ SO_MEMINFO = 0x37
50457+ SO_NOFCS = 0x2b
50458+ SO_OOBINLINE = 0xa
50459+ SO_PASSCRED = 0x14
50460+ SO_PASSSEC = 0x22
50461+ SO_PEEK_OFF = 0x2a
50462+ SO_PEERCRED = 0x15
50463+ SO_PEERGROUPS = 0x3b
50464+ SO_PEERSEC = 0x1f
50465+ SO_PROTOCOL = 0x26
50466+ SO_RCVBUF = 0x8
50467+ SO_RCVBUFFORCE = 0x21
50468+ SO_RCVLOWAT = 0x10
50469+ SO_RCVTIMEO = 0x12
50470+ SO_RCVTIMEO_NEW = 0x42
50471+ SO_RCVTIMEO_OLD = 0x12
50472+ SO_REUSEADDR = 0x2
50473+ SO_REUSEPORT = 0xf
50474+ SO_RXQ_OVFL = 0x28
50475+ SO_SECURITY_AUTHENTICATION = 0x16
50476+ SO_SECURITY_ENCRYPTION_NETWORK = 0x18
50477+ SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
50478+ SO_SELECT_ERR_QUEUE = 0x2d
50479+ SO_SNDBUF = 0x7
50480+ SO_SNDBUFFORCE = 0x20
50481+ SO_SNDLOWAT = 0x11
50482+ SO_SNDTIMEO = 0x13
50483+ SO_SNDTIMEO_NEW = 0x43
50484+ SO_SNDTIMEO_OLD = 0x13
50485+ SO_TIMESTAMPING = 0x25
50486+ SO_TIMESTAMPING_NEW = 0x41
50487+ SO_TIMESTAMPING_OLD = 0x25
50488+ SO_TIMESTAMPNS = 0x23
50489+ SO_TIMESTAMPNS_NEW = 0x40
50490+ SO_TIMESTAMPNS_OLD = 0x23
50491+ SO_TIMESTAMP_NEW = 0x3f
50492+ SO_TXTIME = 0x3d
50493+ SO_TYPE = 0x3
50494+ SO_WIFI_STATUS = 0x29
50495+ SO_ZEROCOPY = 0x3c
50496+ TAB1 = 0x400
50497+ TAB2 = 0x800
50498+ TAB3 = 0xc00
50499+ TABDLY = 0xc00
50500+ TCFLSH = 0x2000741f
50501+ TCGETA = 0x40147417
50502+ TCGETS = 0x402c7413
50503+ TCSAFLUSH = 0x2
50504+ TCSBRK = 0x2000741d
50505+ TCSBRKP = 0x5425
50506+ TCSETA = 0x80147418
50507+ TCSETAF = 0x8014741c
50508+ TCSETAW = 0x80147419
50509+ TCSETS = 0x802c7414
50510+ TCSETSF = 0x802c7416
50511+ TCSETSW = 0x802c7415
50512+ TCXONC = 0x2000741e
50513+ TIOCCBRK = 0x5428
50514+ TIOCCONS = 0x541d
50515+ TIOCEXCL = 0x540c
50516+ TIOCGDEV = 0x40045432
50517+ TIOCGETC = 0x40067412
50518+ TIOCGETD = 0x5424
50519+ TIOCGETP = 0x40067408
50520+ TIOCGEXCL = 0x40045440
50521+ TIOCGICOUNT = 0x545d
50522+ TIOCGISO7816 = 0x40285442
50523+ TIOCGLCKTRMIOS = 0x5456
50524+ TIOCGLTC = 0x40067474
50525+ TIOCGPGRP = 0x40047477
50526+ TIOCGPKT = 0x40045438
50527+ TIOCGPTLCK = 0x40045439
50528+ TIOCGPTN = 0x40045430
50529+ TIOCGPTPEER = 0x20005441
50530+ TIOCGRS485 = 0x542e
50531+ TIOCGSERIAL = 0x541e
50532+ TIOCGSID = 0x5429
50533+ TIOCGSOFTCAR = 0x5419
50534+ TIOCGWINSZ = 0x40087468
50535+ TIOCINQ = 0x4004667f
50536+ TIOCLINUX = 0x541c
50537+ TIOCMBIC = 0x5417
50538+ TIOCMBIS = 0x5416
50539+ TIOCMGET = 0x5415
50540+ TIOCMIWAIT = 0x545c
50541+ TIOCMSET = 0x5418
50542+ TIOCM_CAR = 0x40
50543+ TIOCM_CD = 0x40
50544+ TIOCM_CTS = 0x20
50545+ TIOCM_DSR = 0x100
50546+ TIOCM_LOOP = 0x8000
50547+ TIOCM_OUT1 = 0x2000
50548+ TIOCM_OUT2 = 0x4000
50549+ TIOCM_RI = 0x80
50550+ TIOCM_RNG = 0x80
50551+ TIOCM_SR = 0x10
50552+ TIOCM_ST = 0x8
50553+ TIOCNOTTY = 0x5422
50554+ TIOCNXCL = 0x540d
50555+ TIOCOUTQ = 0x40047473
50556+ TIOCPKT = 0x5420
50557+ TIOCSBRK = 0x5427
50558+ TIOCSCTTY = 0x540e
50559+ TIOCSERCONFIG = 0x5453
50560+ TIOCSERGETLSR = 0x5459
50561+ TIOCSERGETMULTI = 0x545a
50562+ TIOCSERGSTRUCT = 0x5458
50563+ TIOCSERGWILD = 0x5454
50564+ TIOCSERSETMULTI = 0x545b
50565+ TIOCSERSWILD = 0x5455
50566+ TIOCSER_TEMT = 0x1
50567+ TIOCSETC = 0x80067411
50568+ TIOCSETD = 0x5423
50569+ TIOCSETN = 0x8006740a
50570+ TIOCSETP = 0x80067409
50571+ TIOCSIG = 0x80045436
50572+ TIOCSISO7816 = 0xc0285443
50573+ TIOCSLCKTRMIOS = 0x5457
50574+ TIOCSLTC = 0x80067475
50575+ TIOCSPGRP = 0x80047476
50576+ TIOCSPTLCK = 0x80045431
50577+ TIOCSRS485 = 0x542f
50578+ TIOCSSERIAL = 0x541f
50579+ TIOCSSOFTCAR = 0x541a
50580+ TIOCSTART = 0x2000746e
50581+ TIOCSTI = 0x5412
50582+ TIOCSTOP = 0x2000746f
50583+ TIOCSWINSZ = 0x80087467
50584+ TIOCVHANGUP = 0x5437
50585+ TOSTOP = 0x400000
50586+ TUNATTACHFILTER = 0x801054d5
50587+ TUNDETACHFILTER = 0x801054d6
50588+ TUNGETDEVNETNS = 0x200054e3
50589+ TUNGETFEATURES = 0x400454cf
50590+ TUNGETFILTER = 0x401054db
50591+ TUNGETIFF = 0x400454d2
50592+ TUNGETSNDBUF = 0x400454d3
50593+ TUNGETVNETBE = 0x400454df
50594+ TUNGETVNETHDRSZ = 0x400454d7
50595+ TUNGETVNETLE = 0x400454dd
50596+ TUNSETCARRIER = 0x800454e2
50597+ TUNSETDEBUG = 0x800454c9
50598+ TUNSETFILTEREBPF = 0x400454e1
50599+ TUNSETGROUP = 0x800454ce
50600+ TUNSETIFF = 0x800454ca
50601+ TUNSETIFINDEX = 0x800454da
50602+ TUNSETLINK = 0x800454cd
50603+ TUNSETNOCSUM = 0x800454c8
50604+ TUNSETOFFLOAD = 0x800454d0
50605+ TUNSETOWNER = 0x800454cc
50606+ TUNSETPERSIST = 0x800454cb
50607+ TUNSETQUEUE = 0x800454d9
50608+ TUNSETSNDBUF = 0x800454d4
50609+ TUNSETSTEERINGEBPF = 0x400454e0
50610+ TUNSETTXFILTER = 0x800454d1
50611+ TUNSETVNETBE = 0x800454de
50612+ TUNSETVNETHDRSZ = 0x800454d8
50613+ TUNSETVNETLE = 0x800454dc
50614+ UBI_IOCATT = 0x80186f40
50615+ UBI_IOCDET = 0x80046f41
50616+ UBI_IOCEBCH = 0x80044f02
50617+ UBI_IOCEBER = 0x80044f01
50618+ UBI_IOCEBISMAP = 0x40044f05
50619+ UBI_IOCEBMAP = 0x80084f03
50620+ UBI_IOCEBUNMAP = 0x80044f04
50621+ UBI_IOCMKVOL = 0x80986f00
50622+ UBI_IOCRMVOL = 0x80046f01
50623+ UBI_IOCRNVOL = 0x91106f03
50624+ UBI_IOCRPEB = 0x80046f04
50625+ UBI_IOCRSVOL = 0x800c6f02
50626+ UBI_IOCSETVOLPROP = 0x80104f06
50627+ UBI_IOCSPEB = 0x80046f05
50628+ UBI_IOCVOLCRBLK = 0x80804f07
50629+ UBI_IOCVOLRMBLK = 0x20004f08
50630+ UBI_IOCVOLUP = 0x80084f00
50631+ VDISCARD = 0x10
50632+ VEOF = 0x4
50633+ VEOL = 0x6
50634+ VEOL2 = 0x8
50635+ VMIN = 0x5
50636+ VREPRINT = 0xb
50637+ VSTART = 0xd
50638+ VSTOP = 0xe
50639+ VSUSP = 0xc
50640+ VSWTC = 0x9
50641+ VT1 = 0x10000
50642+ VTDLY = 0x10000
50643+ VTIME = 0x7
50644+ VWERASE = 0xa
50645+ WDIOC_GETBOOTSTATUS = 0x40045702
50646+ WDIOC_GETPRETIMEOUT = 0x40045709
50647+ WDIOC_GETSTATUS = 0x40045701
50648+ WDIOC_GETSUPPORT = 0x40285700
50649+ WDIOC_GETTEMP = 0x40045703
50650+ WDIOC_GETTIMELEFT = 0x4004570a
50651+ WDIOC_GETTIMEOUT = 0x40045707
50652+ WDIOC_KEEPALIVE = 0x40045705
50653+ WDIOC_SETOPTIONS = 0x40045704
50654+ WORDSIZE = 0x40
50655+ XCASE = 0x4000
50656+ XTABS = 0xc00
50657 )
50658
50659 // Errors
50660 const (
50661- E2BIG = syscall.Errno(0x7)
50662- EACCES = syscall.Errno(0xd)
50663 EADDRINUSE = syscall.Errno(0x62)
50664 EADDRNOTAVAIL = syscall.Errno(0x63)
50665 EADV = syscall.Errno(0x44)
50666 EAFNOSUPPORT = syscall.Errno(0x61)
50667- EAGAIN = syscall.Errno(0xb)
50668 EALREADY = syscall.Errno(0x72)
50669 EBADE = syscall.Errno(0x34)
50670- EBADF = syscall.Errno(0x9)
50671 EBADFD = syscall.Errno(0x4d)
50672 EBADMSG = syscall.Errno(0x4a)
50673 EBADR = syscall.Errno(0x35)
50674 EBADRQC = syscall.Errno(0x38)
50675 EBADSLT = syscall.Errno(0x39)
50676 EBFONT = syscall.Errno(0x3b)
50677- EBUSY = syscall.Errno(0x10)
50678 ECANCELED = syscall.Errno(0x7d)
50679- ECHILD = syscall.Errno(0xa)
50680 ECHRNG = syscall.Errno(0x2c)
50681 ECOMM = syscall.Errno(0x46)
50682 ECONNABORTED = syscall.Errno(0x67)
50683@@ -1943,23 +562,15 @@ const (
50684 EDEADLK = syscall.Errno(0x23)
50685 EDEADLOCK = syscall.Errno(0x3a)
50686 EDESTADDRREQ = syscall.Errno(0x59)
50687- EDOM = syscall.Errno(0x21)
50688 EDOTDOT = syscall.Errno(0x49)
50689 EDQUOT = syscall.Errno(0x7a)
50690- EEXIST = syscall.Errno(0x11)
50691- EFAULT = syscall.Errno(0xe)
50692- EFBIG = syscall.Errno(0x1b)
50693 EHOSTDOWN = syscall.Errno(0x70)
50694 EHOSTUNREACH = syscall.Errno(0x71)
50695 EHWPOISON = syscall.Errno(0x85)
50696 EIDRM = syscall.Errno(0x2b)
50697 EILSEQ = syscall.Errno(0x54)
50698 EINPROGRESS = syscall.Errno(0x73)
50699- EINTR = syscall.Errno(0x4)
50700- EINVAL = syscall.Errno(0x16)
50701- EIO = syscall.Errno(0x5)
50702 EISCONN = syscall.Errno(0x6a)
50703- EISDIR = syscall.Errno(0x15)
50704 EISNAM = syscall.Errno(0x78)
50705 EKEYEXPIRED = syscall.Errno(0x7f)
50706 EKEYREJECTED = syscall.Errno(0x81)
50707@@ -1976,8 +587,6 @@ const (
50708 ELNRNG = syscall.Errno(0x30)
50709 ELOOP = syscall.Errno(0x28)
50710 EMEDIUMTYPE = syscall.Errno(0x7c)
50711- EMFILE = syscall.Errno(0x18)
50712- EMLINK = syscall.Errno(0x1f)
50713 EMSGSIZE = syscall.Errno(0x5a)
50714 EMULTIHOP = syscall.Errno(0x48)
50715 ENAMETOOLONG = syscall.Errno(0x24)
50716@@ -1985,103 +594,70 @@ const (
50717 ENETDOWN = syscall.Errno(0x64)
50718 ENETRESET = syscall.Errno(0x66)
50719 ENETUNREACH = syscall.Errno(0x65)
50720- ENFILE = syscall.Errno(0x17)
50721 ENOANO = syscall.Errno(0x37)
50722 ENOBUFS = syscall.Errno(0x69)
50723 ENOCSI = syscall.Errno(0x32)
50724 ENODATA = syscall.Errno(0x3d)
50725- ENODEV = syscall.Errno(0x13)
50726- ENOENT = syscall.Errno(0x2)
50727- ENOEXEC = syscall.Errno(0x8)
50728 ENOKEY = syscall.Errno(0x7e)
50729 ENOLCK = syscall.Errno(0x25)
50730 ENOLINK = syscall.Errno(0x43)
50731 ENOMEDIUM = syscall.Errno(0x7b)
50732- ENOMEM = syscall.Errno(0xc)
50733 ENOMSG = syscall.Errno(0x2a)
50734 ENONET = syscall.Errno(0x40)
50735 ENOPKG = syscall.Errno(0x41)
50736 ENOPROTOOPT = syscall.Errno(0x5c)
50737- ENOSPC = syscall.Errno(0x1c)
50738 ENOSR = syscall.Errno(0x3f)
50739 ENOSTR = syscall.Errno(0x3c)
50740 ENOSYS = syscall.Errno(0x26)
50741- ENOTBLK = syscall.Errno(0xf)
50742 ENOTCONN = syscall.Errno(0x6b)
50743- ENOTDIR = syscall.Errno(0x14)
50744 ENOTEMPTY = syscall.Errno(0x27)
50745 ENOTNAM = syscall.Errno(0x76)
50746 ENOTRECOVERABLE = syscall.Errno(0x83)
50747 ENOTSOCK = syscall.Errno(0x58)
50748 ENOTSUP = syscall.Errno(0x5f)
50749- ENOTTY = syscall.Errno(0x19)
50750 ENOTUNIQ = syscall.Errno(0x4c)
50751- ENXIO = syscall.Errno(0x6)
50752 EOPNOTSUPP = syscall.Errno(0x5f)
50753 EOVERFLOW = syscall.Errno(0x4b)
50754 EOWNERDEAD = syscall.Errno(0x82)
50755- EPERM = syscall.Errno(0x1)
50756 EPFNOSUPPORT = syscall.Errno(0x60)
50757- EPIPE = syscall.Errno(0x20)
50758 EPROTO = syscall.Errno(0x47)
50759 EPROTONOSUPPORT = syscall.Errno(0x5d)
50760 EPROTOTYPE = syscall.Errno(0x5b)
50761- ERANGE = syscall.Errno(0x22)
50762 EREMCHG = syscall.Errno(0x4e)
50763 EREMOTE = syscall.Errno(0x42)
50764 EREMOTEIO = syscall.Errno(0x79)
50765 ERESTART = syscall.Errno(0x55)
50766 ERFKILL = syscall.Errno(0x84)
50767- EROFS = syscall.Errno(0x1e)
50768 ESHUTDOWN = syscall.Errno(0x6c)
50769 ESOCKTNOSUPPORT = syscall.Errno(0x5e)
50770- ESPIPE = syscall.Errno(0x1d)
50771- ESRCH = syscall.Errno(0x3)
50772 ESRMNT = syscall.Errno(0x45)
50773 ESTALE = syscall.Errno(0x74)
50774 ESTRPIPE = syscall.Errno(0x56)
50775 ETIME = syscall.Errno(0x3e)
50776 ETIMEDOUT = syscall.Errno(0x6e)
50777 ETOOMANYREFS = syscall.Errno(0x6d)
50778- ETXTBSY = syscall.Errno(0x1a)
50779 EUCLEAN = syscall.Errno(0x75)
50780 EUNATCH = syscall.Errno(0x31)
50781 EUSERS = syscall.Errno(0x57)
50782- EWOULDBLOCK = syscall.Errno(0xb)
50783- EXDEV = syscall.Errno(0x12)
50784 EXFULL = syscall.Errno(0x36)
50785 )
50786
50787 // Signals
50788 const (
50789- SIGABRT = syscall.Signal(0x6)
50790- SIGALRM = syscall.Signal(0xe)
50791 SIGBUS = syscall.Signal(0x7)
50792 SIGCHLD = syscall.Signal(0x11)
50793 SIGCLD = syscall.Signal(0x11)
50794 SIGCONT = syscall.Signal(0x12)
50795- SIGFPE = syscall.Signal(0x8)
50796- SIGHUP = syscall.Signal(0x1)
50797- SIGILL = syscall.Signal(0x4)
50798- SIGINT = syscall.Signal(0x2)
50799 SIGIO = syscall.Signal(0x1d)
50800- SIGIOT = syscall.Signal(0x6)
50801- SIGKILL = syscall.Signal(0x9)
50802- SIGPIPE = syscall.Signal(0xd)
50803 SIGPOLL = syscall.Signal(0x1d)
50804 SIGPROF = syscall.Signal(0x1b)
50805 SIGPWR = syscall.Signal(0x1e)
50806- SIGQUIT = syscall.Signal(0x3)
50807- SIGSEGV = syscall.Signal(0xb)
50808 SIGSTKFLT = syscall.Signal(0x10)
50809 SIGSTOP = syscall.Signal(0x13)
50810 SIGSYS = syscall.Signal(0x1f)
50811- SIGTERM = syscall.Signal(0xf)
50812- SIGTRAP = syscall.Signal(0x5)
50813 SIGTSTP = syscall.Signal(0x14)
50814 SIGTTIN = syscall.Signal(0x15)
50815 SIGTTOU = syscall.Signal(0x16)
50816- SIGUNUSED = syscall.Signal(0x1f)
50817 SIGURG = syscall.Signal(0x17)
50818 SIGUSR1 = syscall.Signal(0xa)
50819 SIGUSR2 = syscall.Signal(0xc)
50820@@ -2092,172 +668,180 @@ const (
50821 )
50822
50823 // Error table
50824-var errors = [...]string{
50825- 1: "operation not permitted",
50826- 2: "no such file or directory",
50827- 3: "no such process",
50828- 4: "interrupted system call",
50829- 5: "input/output error",
50830- 6: "no such device or address",
50831- 7: "argument list too long",
50832- 8: "exec format error",
50833- 9: "bad file descriptor",
50834- 10: "no child processes",
50835- 11: "resource temporarily unavailable",
50836- 12: "cannot allocate memory",
50837- 13: "permission denied",
50838- 14: "bad address",
50839- 15: "block device required",
50840- 16: "device or resource busy",
50841- 17: "file exists",
50842- 18: "invalid cross-device link",
50843- 19: "no such device",
50844- 20: "not a directory",
50845- 21: "is a directory",
50846- 22: "invalid argument",
50847- 23: "too many open files in system",
50848- 24: "too many open files",
50849- 25: "inappropriate ioctl for device",
50850- 26: "text file busy",
50851- 27: "file too large",
50852- 28: "no space left on device",
50853- 29: "illegal seek",
50854- 30: "read-only file system",
50855- 31: "too many links",
50856- 32: "broken pipe",
50857- 33: "numerical argument out of domain",
50858- 34: "numerical result out of range",
50859- 35: "resource deadlock avoided",
50860- 36: "file name too long",
50861- 37: "no locks available",
50862- 38: "function not implemented",
50863- 39: "directory not empty",
50864- 40: "too many levels of symbolic links",
50865- 42: "no message of desired type",
50866- 43: "identifier removed",
50867- 44: "channel number out of range",
50868- 45: "level 2 not synchronized",
50869- 46: "level 3 halted",
50870- 47: "level 3 reset",
50871- 48: "link number out of range",
50872- 49: "protocol driver not attached",
50873- 50: "no CSI structure available",
50874- 51: "level 2 halted",
50875- 52: "invalid exchange",
50876- 53: "invalid request descriptor",
50877- 54: "exchange full",
50878- 55: "no anode",
50879- 56: "invalid request code",
50880- 57: "invalid slot",
50881- 58: "file locking deadlock error",
50882- 59: "bad font file format",
50883- 60: "device not a stream",
50884- 61: "no data available",
50885- 62: "timer expired",
50886- 63: "out of streams resources",
50887- 64: "machine is not on the network",
50888- 65: "package not installed",
50889- 66: "object is remote",
50890- 67: "link has been severed",
50891- 68: "advertise error",
50892- 69: "srmount error",
50893- 70: "communication error on send",
50894- 71: "protocol error",
50895- 72: "multihop attempted",
50896- 73: "RFS specific error",
50897- 74: "bad message",
50898- 75: "value too large for defined data type",
50899- 76: "name not unique on network",
50900- 77: "file descriptor in bad state",
50901- 78: "remote address changed",
50902- 79: "can not access a needed shared library",
50903- 80: "accessing a corrupted shared library",
50904- 81: ".lib section in a.out corrupted",
50905- 82: "attempting to link in too many shared libraries",
50906- 83: "cannot exec a shared library directly",
50907- 84: "invalid or incomplete multibyte or wide character",
50908- 85: "interrupted system call should be restarted",
50909- 86: "streams pipe error",
50910- 87: "too many users",
50911- 88: "socket operation on non-socket",
50912- 89: "destination address required",
50913- 90: "message too long",
50914- 91: "protocol wrong type for socket",
50915- 92: "protocol not available",
50916- 93: "protocol not supported",
50917- 94: "socket type not supported",
50918- 95: "operation not supported",
50919- 96: "protocol family not supported",
50920- 97: "address family not supported by protocol",
50921- 98: "address already in use",
50922- 99: "cannot assign requested address",
50923- 100: "network is down",
50924- 101: "network is unreachable",
50925- 102: "network dropped connection on reset",
50926- 103: "software caused connection abort",
50927- 104: "connection reset by peer",
50928- 105: "no buffer space available",
50929- 106: "transport endpoint is already connected",
50930- 107: "transport endpoint is not connected",
50931- 108: "cannot send after transport endpoint shutdown",
50932- 109: "too many references: cannot splice",
50933- 110: "connection timed out",
50934- 111: "connection refused",
50935- 112: "host is down",
50936- 113: "no route to host",
50937- 114: "operation already in progress",
50938- 115: "operation now in progress",
50939- 116: "stale file handle",
50940- 117: "structure needs cleaning",
50941- 118: "not a XENIX named type file",
50942- 119: "no XENIX semaphores available",
50943- 120: "is a named type file",
50944- 121: "remote I/O error",
50945- 122: "disk quota exceeded",
50946- 123: "no medium found",
50947- 124: "wrong medium type",
50948- 125: "operation canceled",
50949- 126: "required key not available",
50950- 127: "key has expired",
50951- 128: "key has been revoked",
50952- 129: "key was rejected by service",
50953- 130: "owner died",
50954- 131: "state not recoverable",
50955- 132: "operation not possible due to RF-kill",
50956- 133: "memory page has hardware error",
50957+var errorList = [...]struct {
50958+ num syscall.Errno
50959+ name string
50960+ desc string
50961+}{
50962+ {1, "EPERM", "operation not permitted"},
50963+ {2, "ENOENT", "no such file or directory"},
50964+ {3, "ESRCH", "no such process"},
50965+ {4, "EINTR", "interrupted system call"},
50966+ {5, "EIO", "input/output error"},
50967+ {6, "ENXIO", "no such device or address"},
50968+ {7, "E2BIG", "argument list too long"},
50969+ {8, "ENOEXEC", "exec format error"},
50970+ {9, "EBADF", "bad file descriptor"},
50971+ {10, "ECHILD", "no child processes"},
50972+ {11, "EAGAIN", "resource temporarily unavailable"},
50973+ {12, "ENOMEM", "cannot allocate memory"},
50974+ {13, "EACCES", "permission denied"},
50975+ {14, "EFAULT", "bad address"},
50976+ {15, "ENOTBLK", "block device required"},
50977+ {16, "EBUSY", "device or resource busy"},
50978+ {17, "EEXIST", "file exists"},
50979+ {18, "EXDEV", "invalid cross-device link"},
50980+ {19, "ENODEV", "no such device"},
50981+ {20, "ENOTDIR", "not a directory"},
50982+ {21, "EISDIR", "is a directory"},
50983+ {22, "EINVAL", "invalid argument"},
50984+ {23, "ENFILE", "too many open files in system"},
50985+ {24, "EMFILE", "too many open files"},
50986+ {25, "ENOTTY", "inappropriate ioctl for device"},
50987+ {26, "ETXTBSY", "text file busy"},
50988+ {27, "EFBIG", "file too large"},
50989+ {28, "ENOSPC", "no space left on device"},
50990+ {29, "ESPIPE", "illegal seek"},
50991+ {30, "EROFS", "read-only file system"},
50992+ {31, "EMLINK", "too many links"},
50993+ {32, "EPIPE", "broken pipe"},
50994+ {33, "EDOM", "numerical argument out of domain"},
50995+ {34, "ERANGE", "numerical result out of range"},
50996+ {35, "EDEADLK", "resource deadlock avoided"},
50997+ {36, "ENAMETOOLONG", "file name too long"},
50998+ {37, "ENOLCK", "no locks available"},
50999+ {38, "ENOSYS", "function not implemented"},
51000+ {39, "ENOTEMPTY", "directory not empty"},
51001+ {40, "ELOOP", "too many levels of symbolic links"},
51002+ {42, "ENOMSG", "no message of desired type"},
51003+ {43, "EIDRM", "identifier removed"},
51004+ {44, "ECHRNG", "channel number out of range"},
51005+ {45, "EL2NSYNC", "level 2 not synchronized"},
51006+ {46, "EL3HLT", "level 3 halted"},
51007+ {47, "EL3RST", "level 3 reset"},
51008+ {48, "ELNRNG", "link number out of range"},
51009+ {49, "EUNATCH", "protocol driver not attached"},
51010+ {50, "ENOCSI", "no CSI structure available"},
51011+ {51, "EL2HLT", "level 2 halted"},
51012+ {52, "EBADE", "invalid exchange"},
51013+ {53, "EBADR", "invalid request descriptor"},
51014+ {54, "EXFULL", "exchange full"},
51015+ {55, "ENOANO", "no anode"},
51016+ {56, "EBADRQC", "invalid request code"},
51017+ {57, "EBADSLT", "invalid slot"},
51018+ {58, "EDEADLOCK", "file locking deadlock error"},
51019+ {59, "EBFONT", "bad font file format"},
51020+ {60, "ENOSTR", "device not a stream"},
51021+ {61, "ENODATA", "no data available"},
51022+ {62, "ETIME", "timer expired"},
51023+ {63, "ENOSR", "out of streams resources"},
51024+ {64, "ENONET", "machine is not on the network"},
51025+ {65, "ENOPKG", "package not installed"},
51026+ {66, "EREMOTE", "object is remote"},
51027+ {67, "ENOLINK", "link has been severed"},
51028+ {68, "EADV", "advertise error"},
51029+ {69, "ESRMNT", "srmount error"},
51030+ {70, "ECOMM", "communication error on send"},
51031+ {71, "EPROTO", "protocol error"},
51032+ {72, "EMULTIHOP", "multihop attempted"},
51033+ {73, "EDOTDOT", "RFS specific error"},
51034+ {74, "EBADMSG", "bad message"},
51035+ {75, "EOVERFLOW", "value too large for defined data type"},
51036+ {76, "ENOTUNIQ", "name not unique on network"},
51037+ {77, "EBADFD", "file descriptor in bad state"},
51038+ {78, "EREMCHG", "remote address changed"},
51039+ {79, "ELIBACC", "can not access a needed shared library"},
51040+ {80, "ELIBBAD", "accessing a corrupted shared library"},
51041+ {81, "ELIBSCN", ".lib section in a.out corrupted"},
51042+ {82, "ELIBMAX", "attempting to link in too many shared libraries"},
51043+ {83, "ELIBEXEC", "cannot exec a shared library directly"},
51044+ {84, "EILSEQ", "invalid or incomplete multibyte or wide character"},
51045+ {85, "ERESTART", "interrupted system call should be restarted"},
51046+ {86, "ESTRPIPE", "streams pipe error"},
51047+ {87, "EUSERS", "too many users"},
51048+ {88, "ENOTSOCK", "socket operation on non-socket"},
51049+ {89, "EDESTADDRREQ", "destination address required"},
51050+ {90, "EMSGSIZE", "message too long"},
51051+ {91, "EPROTOTYPE", "protocol wrong type for socket"},
51052+ {92, "ENOPROTOOPT", "protocol not available"},
51053+ {93, "EPROTONOSUPPORT", "protocol not supported"},
51054+ {94, "ESOCKTNOSUPPORT", "socket type not supported"},
51055+ {95, "ENOTSUP", "operation not supported"},
51056+ {96, "EPFNOSUPPORT", "protocol family not supported"},
51057+ {97, "EAFNOSUPPORT", "address family not supported by protocol"},
51058+ {98, "EADDRINUSE", "address already in use"},
51059+ {99, "EADDRNOTAVAIL", "cannot assign requested address"},
51060+ {100, "ENETDOWN", "network is down"},
51061+ {101, "ENETUNREACH", "network is unreachable"},
51062+ {102, "ENETRESET", "network dropped connection on reset"},
51063+ {103, "ECONNABORTED", "software caused connection abort"},
51064+ {104, "ECONNRESET", "connection reset by peer"},
51065+ {105, "ENOBUFS", "no buffer space available"},
51066+ {106, "EISCONN", "transport endpoint is already connected"},
51067+ {107, "ENOTCONN", "transport endpoint is not connected"},
51068+ {108, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
51069+ {109, "ETOOMANYREFS", "too many references: cannot splice"},
51070+ {110, "ETIMEDOUT", "connection timed out"},
51071+ {111, "ECONNREFUSED", "connection refused"},
51072+ {112, "EHOSTDOWN", "host is down"},
51073+ {113, "EHOSTUNREACH", "no route to host"},
51074+ {114, "EALREADY", "operation already in progress"},
51075+ {115, "EINPROGRESS", "operation now in progress"},
51076+ {116, "ESTALE", "stale file handle"},
51077+ {117, "EUCLEAN", "structure needs cleaning"},
51078+ {118, "ENOTNAM", "not a XENIX named type file"},
51079+ {119, "ENAVAIL", "no XENIX semaphores available"},
51080+ {120, "EISNAM", "is a named type file"},
51081+ {121, "EREMOTEIO", "remote I/O error"},
51082+ {122, "EDQUOT", "disk quota exceeded"},
51083+ {123, "ENOMEDIUM", "no medium found"},
51084+ {124, "EMEDIUMTYPE", "wrong medium type"},
51085+ {125, "ECANCELED", "operation canceled"},
51086+ {126, "ENOKEY", "required key not available"},
51087+ {127, "EKEYEXPIRED", "key has expired"},
51088+ {128, "EKEYREVOKED", "key has been revoked"},
51089+ {129, "EKEYREJECTED", "key was rejected by service"},
51090+ {130, "EOWNERDEAD", "owner died"},
51091+ {131, "ENOTRECOVERABLE", "state not recoverable"},
51092+ {132, "ERFKILL", "operation not possible due to RF-kill"},
51093+ {133, "EHWPOISON", "memory page has hardware error"},
51094 }
51095
51096 // Signal table
51097-var signals = [...]string{
51098- 1: "hangup",
51099- 2: "interrupt",
51100- 3: "quit",
51101- 4: "illegal instruction",
51102- 5: "trace/breakpoint trap",
51103- 6: "aborted",
51104- 7: "bus error",
51105- 8: "floating point exception",
51106- 9: "killed",
51107- 10: "user defined signal 1",
51108- 11: "segmentation fault",
51109- 12: "user defined signal 2",
51110- 13: "broken pipe",
51111- 14: "alarm clock",
51112- 15: "terminated",
51113- 16: "stack fault",
51114- 17: "child exited",
51115- 18: "continued",
51116- 19: "stopped (signal)",
51117- 20: "stopped",
51118- 21: "stopped (tty input)",
51119- 22: "stopped (tty output)",
51120- 23: "urgent I/O condition",
51121- 24: "CPU time limit exceeded",
51122- 25: "file size limit exceeded",
51123- 26: "virtual timer expired",
51124- 27: "profiling timer expired",
51125- 28: "window changed",
51126- 29: "I/O possible",
51127- 30: "power failure",
51128- 31: "bad system call",
51129+var signalList = [...]struct {
51130+ num syscall.Signal
51131+ name string
51132+ desc string
51133+}{
51134+ {1, "SIGHUP", "hangup"},
51135+ {2, "SIGINT", "interrupt"},
51136+ {3, "SIGQUIT", "quit"},
51137+ {4, "SIGILL", "illegal instruction"},
51138+ {5, "SIGTRAP", "trace/breakpoint trap"},
51139+ {6, "SIGABRT", "aborted"},
51140+ {7, "SIGBUS", "bus error"},
51141+ {8, "SIGFPE", "floating point exception"},
51142+ {9, "SIGKILL", "killed"},
51143+ {10, "SIGUSR1", "user defined signal 1"},
51144+ {11, "SIGSEGV", "segmentation fault"},
51145+ {12, "SIGUSR2", "user defined signal 2"},
51146+ {13, "SIGPIPE", "broken pipe"},
51147+ {14, "SIGALRM", "alarm clock"},
51148+ {15, "SIGTERM", "terminated"},
51149+ {16, "SIGSTKFLT", "stack fault"},
51150+ {17, "SIGCHLD", "child exited"},
51151+ {18, "SIGCONT", "continued"},
51152+ {19, "SIGSTOP", "stopped (signal)"},
51153+ {20, "SIGTSTP", "stopped"},
51154+ {21, "SIGTTIN", "stopped (tty input)"},
51155+ {22, "SIGTTOU", "stopped (tty output)"},
51156+ {23, "SIGURG", "urgent I/O condition"},
51157+ {24, "SIGXCPU", "CPU time limit exceeded"},
51158+ {25, "SIGXFSZ", "file size limit exceeded"},
51159+ {26, "SIGVTALRM", "virtual timer expired"},
51160+ {27, "SIGPROF", "profiling timer expired"},
51161+ {28, "SIGWINCH", "window changed"},
51162+ {29, "SIGIO", "I/O possible"},
51163+ {30, "SIGPWR", "power failure"},
51164+ {31, "SIGSYS", "bad system call"},
51165 }
51166diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go
51167index ad29c3d3..4231b20b 100644
51168--- a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go
51169+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go
51170@@ -3,7 +3,7 @@
51171
51172 // +build ppc64le,linux
51173
51174-// Created by cgo -godefs - DO NOT EDIT
51175+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
51176 // cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
51177
51178 package unix
51179@@ -11,1930 +11,549 @@ package unix
51180 import "syscall"
51181
51182 const (
51183- AF_ALG = 0x26
51184- AF_APPLETALK = 0x5
51185- AF_ASH = 0x12
51186- AF_ATMPVC = 0x8
51187- AF_ATMSVC = 0x14
51188- AF_AX25 = 0x3
51189- AF_BLUETOOTH = 0x1f
51190- AF_BRIDGE = 0x7
51191- AF_CAIF = 0x25
51192- AF_CAN = 0x1d
51193- AF_DECnet = 0xc
51194- AF_ECONET = 0x13
51195- AF_FILE = 0x1
51196- AF_IB = 0x1b
51197- AF_IEEE802154 = 0x24
51198- AF_INET = 0x2
51199- AF_INET6 = 0xa
51200- AF_IPX = 0x4
51201- AF_IRDA = 0x17
51202- AF_ISDN = 0x22
51203- AF_IUCV = 0x20
51204- AF_KCM = 0x29
51205- AF_KEY = 0xf
51206- AF_LLC = 0x1a
51207- AF_LOCAL = 0x1
51208- AF_MAX = 0x2b
51209- AF_MPLS = 0x1c
51210- AF_NETBEUI = 0xd
51211- AF_NETLINK = 0x10
51212- AF_NETROM = 0x6
51213- AF_NFC = 0x27
51214- AF_PACKET = 0x11
51215- AF_PHONET = 0x23
51216- AF_PPPOX = 0x18
51217- AF_QIPCRTR = 0x2a
51218- AF_RDS = 0x15
51219- AF_ROSE = 0xb
51220- AF_ROUTE = 0x10
51221- AF_RXRPC = 0x21
51222- AF_SECURITY = 0xe
51223- AF_SNA = 0x16
51224- AF_TIPC = 0x1e
51225- AF_UNIX = 0x1
51226- AF_UNSPEC = 0x0
51227- AF_VSOCK = 0x28
51228- AF_WANPIPE = 0x19
51229- AF_X25 = 0x9
51230- ALG_OP_DECRYPT = 0x0
51231- ALG_OP_ENCRYPT = 0x1
51232- ALG_SET_AEAD_ASSOCLEN = 0x4
51233- ALG_SET_AEAD_AUTHSIZE = 0x5
51234- ALG_SET_IV = 0x2
51235- ALG_SET_KEY = 0x1
51236- ALG_SET_OP = 0x3
51237- ARPHRD_6LOWPAN = 0x339
51238- ARPHRD_ADAPT = 0x108
51239- ARPHRD_APPLETLK = 0x8
51240- ARPHRD_ARCNET = 0x7
51241- ARPHRD_ASH = 0x30d
51242- ARPHRD_ATM = 0x13
51243- ARPHRD_AX25 = 0x3
51244- ARPHRD_BIF = 0x307
51245- ARPHRD_CAIF = 0x336
51246- ARPHRD_CAN = 0x118
51247- ARPHRD_CHAOS = 0x5
51248- ARPHRD_CISCO = 0x201
51249- ARPHRD_CSLIP = 0x101
51250- ARPHRD_CSLIP6 = 0x103
51251- ARPHRD_DDCMP = 0x205
51252- ARPHRD_DLCI = 0xf
51253- ARPHRD_ECONET = 0x30e
51254- ARPHRD_EETHER = 0x2
51255- ARPHRD_ETHER = 0x1
51256- ARPHRD_EUI64 = 0x1b
51257- ARPHRD_FCAL = 0x311
51258- ARPHRD_FCFABRIC = 0x313
51259- ARPHRD_FCPL = 0x312
51260- ARPHRD_FCPP = 0x310
51261- ARPHRD_FDDI = 0x306
51262- ARPHRD_FRAD = 0x302
51263- ARPHRD_HDLC = 0x201
51264- ARPHRD_HIPPI = 0x30c
51265- ARPHRD_HWX25 = 0x110
51266- ARPHRD_IEEE1394 = 0x18
51267- ARPHRD_IEEE802 = 0x6
51268- ARPHRD_IEEE80211 = 0x321
51269- ARPHRD_IEEE80211_PRISM = 0x322
51270- ARPHRD_IEEE80211_RADIOTAP = 0x323
51271- ARPHRD_IEEE802154 = 0x324
51272- ARPHRD_IEEE802154_MONITOR = 0x325
51273- ARPHRD_IEEE802_TR = 0x320
51274- ARPHRD_INFINIBAND = 0x20
51275- ARPHRD_IP6GRE = 0x337
51276- ARPHRD_IPDDP = 0x309
51277- ARPHRD_IPGRE = 0x30a
51278- ARPHRD_IRDA = 0x30f
51279- ARPHRD_LAPB = 0x204
51280- ARPHRD_LOCALTLK = 0x305
51281- ARPHRD_LOOPBACK = 0x304
51282- ARPHRD_METRICOM = 0x17
51283- ARPHRD_NETLINK = 0x338
51284- ARPHRD_NETROM = 0x0
51285- ARPHRD_NONE = 0xfffe
51286- ARPHRD_PHONET = 0x334
51287- ARPHRD_PHONET_PIPE = 0x335
51288- ARPHRD_PIMREG = 0x30b
51289- ARPHRD_PPP = 0x200
51290- ARPHRD_PRONET = 0x4
51291- ARPHRD_RAWHDLC = 0x206
51292- ARPHRD_ROSE = 0x10e
51293- ARPHRD_RSRVD = 0x104
51294- ARPHRD_SIT = 0x308
51295- ARPHRD_SKIP = 0x303
51296- ARPHRD_SLIP = 0x100
51297- ARPHRD_SLIP6 = 0x102
51298- ARPHRD_TUNNEL = 0x300
51299- ARPHRD_TUNNEL6 = 0x301
51300- ARPHRD_VOID = 0xffff
51301- ARPHRD_X25 = 0x10f
51302- B0 = 0x0
51303- B1000000 = 0x17
51304- B110 = 0x3
51305- B115200 = 0x11
51306- B1152000 = 0x18
51307- B1200 = 0x9
51308- B134 = 0x4
51309- B150 = 0x5
51310- B1500000 = 0x19
51311- B1800 = 0xa
51312- B19200 = 0xe
51313- B200 = 0x6
51314- B2000000 = 0x1a
51315- B230400 = 0x12
51316- B2400 = 0xb
51317- B2500000 = 0x1b
51318- B300 = 0x7
51319- B3000000 = 0x1c
51320- B3500000 = 0x1d
51321- B38400 = 0xf
51322- B4000000 = 0x1e
51323- B460800 = 0x13
51324- B4800 = 0xc
51325- B50 = 0x1
51326- B500000 = 0x14
51327- B57600 = 0x10
51328- B576000 = 0x15
51329- B600 = 0x8
51330- B75 = 0x2
51331- B921600 = 0x16
51332- B9600 = 0xd
51333- BLKBSZGET = 0x40081270
51334- BLKBSZSET = 0x80081271
51335- BLKFLSBUF = 0x20001261
51336- BLKFRAGET = 0x20001265
51337- BLKFRASET = 0x20001264
51338- BLKGETSIZE = 0x20001260
51339- BLKGETSIZE64 = 0x40081272
51340- BLKPBSZGET = 0x2000127b
51341- BLKRAGET = 0x20001263
51342- BLKRASET = 0x20001262
51343- BLKROGET = 0x2000125e
51344- BLKROSET = 0x2000125d
51345- BLKRRPART = 0x2000125f
51346- BLKSECTGET = 0x20001267
51347- BLKSECTSET = 0x20001266
51348- BLKSSZGET = 0x20001268
51349- BOTHER = 0x1f
51350- BPF_A = 0x10
51351- BPF_ABS = 0x20
51352- BPF_ADD = 0x0
51353- BPF_ALU = 0x4
51354- BPF_AND = 0x50
51355- BPF_B = 0x10
51356- BPF_DIV = 0x30
51357- BPF_H = 0x8
51358- BPF_IMM = 0x0
51359- BPF_IND = 0x40
51360- BPF_JA = 0x0
51361- BPF_JEQ = 0x10
51362- BPF_JGE = 0x30
51363- BPF_JGT = 0x20
51364- BPF_JMP = 0x5
51365- BPF_JSET = 0x40
51366- BPF_K = 0x0
51367- BPF_LD = 0x0
51368- BPF_LDX = 0x1
51369- BPF_LEN = 0x80
51370- BPF_LL_OFF = -0x200000
51371- BPF_LSH = 0x60
51372- BPF_MAJOR_VERSION = 0x1
51373- BPF_MAXINSNS = 0x1000
51374- BPF_MEM = 0x60
51375- BPF_MEMWORDS = 0x10
51376- BPF_MINOR_VERSION = 0x1
51377- BPF_MISC = 0x7
51378- BPF_MOD = 0x90
51379- BPF_MSH = 0xa0
51380- BPF_MUL = 0x20
51381- BPF_NEG = 0x80
51382- BPF_NET_OFF = -0x100000
51383- BPF_OR = 0x40
51384- BPF_RET = 0x6
51385- BPF_RSH = 0x70
51386- BPF_ST = 0x2
51387- BPF_STX = 0x3
51388- BPF_SUB = 0x10
51389- BPF_TAX = 0x0
51390- BPF_TXA = 0x80
51391- BPF_W = 0x0
51392- BPF_X = 0x8
51393- BPF_XOR = 0xa0
51394- BRKINT = 0x2
51395- BS0 = 0x0
51396- BS1 = 0x8000
51397- BSDLY = 0x8000
51398- CAN_BCM = 0x2
51399- CAN_EFF_FLAG = 0x80000000
51400- CAN_EFF_ID_BITS = 0x1d
51401- CAN_EFF_MASK = 0x1fffffff
51402- CAN_ERR_FLAG = 0x20000000
51403- CAN_ERR_MASK = 0x1fffffff
51404- CAN_INV_FILTER = 0x20000000
51405- CAN_ISOTP = 0x6
51406- CAN_MAX_DLC = 0x8
51407- CAN_MAX_DLEN = 0x8
51408- CAN_MCNET = 0x5
51409- CAN_MTU = 0x10
51410- CAN_NPROTO = 0x7
51411- CAN_RAW = 0x1
51412- CAN_RAW_FILTER_MAX = 0x200
51413- CAN_RTR_FLAG = 0x40000000
51414- CAN_SFF_ID_BITS = 0xb
51415- CAN_SFF_MASK = 0x7ff
51416- CAN_TP16 = 0x3
51417- CAN_TP20 = 0x4
51418- CBAUD = 0xff
51419- CBAUDEX = 0x0
51420- CFLUSH = 0xf
51421- CIBAUD = 0xff0000
51422- CLOCAL = 0x8000
51423- CLOCK_BOOTTIME = 0x7
51424- CLOCK_BOOTTIME_ALARM = 0x9
51425- CLOCK_DEFAULT = 0x0
51426- CLOCK_EXT = 0x1
51427- CLOCK_INT = 0x2
51428- CLOCK_MONOTONIC = 0x1
51429- CLOCK_MONOTONIC_COARSE = 0x6
51430- CLOCK_MONOTONIC_RAW = 0x4
51431- CLOCK_PROCESS_CPUTIME_ID = 0x2
51432- CLOCK_REALTIME = 0x0
51433- CLOCK_REALTIME_ALARM = 0x8
51434- CLOCK_REALTIME_COARSE = 0x5
51435- CLOCK_TAI = 0xb
51436- CLOCK_THREAD_CPUTIME_ID = 0x3
51437- CLOCK_TXFROMRX = 0x4
51438- CLOCK_TXINT = 0x3
51439- CLONE_CHILD_CLEARTID = 0x200000
51440- CLONE_CHILD_SETTID = 0x1000000
51441- CLONE_DETACHED = 0x400000
51442- CLONE_FILES = 0x400
51443- CLONE_FS = 0x200
51444- CLONE_IO = 0x80000000
51445- CLONE_NEWCGROUP = 0x2000000
51446- CLONE_NEWIPC = 0x8000000
51447- CLONE_NEWNET = 0x40000000
51448- CLONE_NEWNS = 0x20000
51449- CLONE_NEWPID = 0x20000000
51450- CLONE_NEWUSER = 0x10000000
51451- CLONE_NEWUTS = 0x4000000
51452- CLONE_PARENT = 0x8000
51453- CLONE_PARENT_SETTID = 0x100000
51454- CLONE_PTRACE = 0x2000
51455- CLONE_SETTLS = 0x80000
51456- CLONE_SIGHAND = 0x800
51457- CLONE_SYSVSEM = 0x40000
51458- CLONE_THREAD = 0x10000
51459- CLONE_UNTRACED = 0x800000
51460- CLONE_VFORK = 0x4000
51461- CLONE_VM = 0x100
51462- CMSPAR = 0x40000000
51463- CR0 = 0x0
51464- CR1 = 0x1000
51465- CR2 = 0x2000
51466- CR3 = 0x3000
51467- CRDLY = 0x3000
51468- CREAD = 0x800
51469- CRTSCTS = 0x80000000
51470- CS5 = 0x0
51471- CS6 = 0x100
51472- CS7 = 0x200
51473- CS8 = 0x300
51474- CSIGNAL = 0xff
51475- CSIZE = 0x300
51476- CSTART = 0x11
51477- CSTATUS = 0x0
51478- CSTOP = 0x13
51479- CSTOPB = 0x400
51480- CSUSP = 0x1a
51481- DT_BLK = 0x6
51482- DT_CHR = 0x2
51483- DT_DIR = 0x4
51484- DT_FIFO = 0x1
51485- DT_LNK = 0xa
51486- DT_REG = 0x8
51487- DT_SOCK = 0xc
51488- DT_UNKNOWN = 0x0
51489- DT_WHT = 0xe
51490- ECHO = 0x8
51491- ECHOCTL = 0x40
51492- ECHOE = 0x2
51493- ECHOK = 0x4
51494- ECHOKE = 0x1
51495- ECHONL = 0x10
51496- ECHOPRT = 0x20
51497- EFD_CLOEXEC = 0x80000
51498- EFD_NONBLOCK = 0x800
51499- EFD_SEMAPHORE = 0x1
51500- ENCODING_DEFAULT = 0x0
51501- ENCODING_FM_MARK = 0x3
51502- ENCODING_FM_SPACE = 0x4
51503- ENCODING_MANCHESTER = 0x5
51504- ENCODING_NRZ = 0x1
51505- ENCODING_NRZI = 0x2
51506- EPOLLERR = 0x8
51507- EPOLLET = 0x80000000
51508- EPOLLEXCLUSIVE = 0x10000000
51509- EPOLLHUP = 0x10
51510- EPOLLIN = 0x1
51511- EPOLLMSG = 0x400
51512- EPOLLONESHOT = 0x40000000
51513- EPOLLOUT = 0x4
51514- EPOLLPRI = 0x2
51515- EPOLLRDBAND = 0x80
51516- EPOLLRDHUP = 0x2000
51517- EPOLLRDNORM = 0x40
51518- EPOLLWAKEUP = 0x20000000
51519- EPOLLWRBAND = 0x200
51520- EPOLLWRNORM = 0x100
51521- EPOLL_CLOEXEC = 0x80000
51522- EPOLL_CTL_ADD = 0x1
51523- EPOLL_CTL_DEL = 0x2
51524- EPOLL_CTL_MOD = 0x3
51525- ETH_P_1588 = 0x88f7
51526- ETH_P_8021AD = 0x88a8
51527- ETH_P_8021AH = 0x88e7
51528- ETH_P_8021Q = 0x8100
51529- ETH_P_80221 = 0x8917
51530- ETH_P_802_2 = 0x4
51531- ETH_P_802_3 = 0x1
51532- ETH_P_802_3_MIN = 0x600
51533- ETH_P_802_EX1 = 0x88b5
51534- ETH_P_AARP = 0x80f3
51535- ETH_P_AF_IUCV = 0xfbfb
51536- ETH_P_ALL = 0x3
51537- ETH_P_AOE = 0x88a2
51538- ETH_P_ARCNET = 0x1a
51539- ETH_P_ARP = 0x806
51540- ETH_P_ATALK = 0x809b
51541- ETH_P_ATMFATE = 0x8884
51542- ETH_P_ATMMPOA = 0x884c
51543- ETH_P_AX25 = 0x2
51544- ETH_P_BATMAN = 0x4305
51545- ETH_P_BPQ = 0x8ff
51546- ETH_P_CAIF = 0xf7
51547- ETH_P_CAN = 0xc
51548- ETH_P_CANFD = 0xd
51549- ETH_P_CONTROL = 0x16
51550- ETH_P_CUST = 0x6006
51551- ETH_P_DDCMP = 0x6
51552- ETH_P_DEC = 0x6000
51553- ETH_P_DIAG = 0x6005
51554- ETH_P_DNA_DL = 0x6001
51555- ETH_P_DNA_RC = 0x6002
51556- ETH_P_DNA_RT = 0x6003
51557- ETH_P_DSA = 0x1b
51558- ETH_P_ECONET = 0x18
51559- ETH_P_EDSA = 0xdada
51560- ETH_P_FCOE = 0x8906
51561- ETH_P_FIP = 0x8914
51562- ETH_P_HDLC = 0x19
51563- ETH_P_HSR = 0x892f
51564- ETH_P_IEEE802154 = 0xf6
51565- ETH_P_IEEEPUP = 0xa00
51566- ETH_P_IEEEPUPAT = 0xa01
51567- ETH_P_IP = 0x800
51568- ETH_P_IPV6 = 0x86dd
51569- ETH_P_IPX = 0x8137
51570- ETH_P_IRDA = 0x17
51571- ETH_P_LAT = 0x6004
51572- ETH_P_LINK_CTL = 0x886c
51573- ETH_P_LOCALTALK = 0x9
51574- ETH_P_LOOP = 0x60
51575- ETH_P_LOOPBACK = 0x9000
51576- ETH_P_MACSEC = 0x88e5
51577- ETH_P_MOBITEX = 0x15
51578- ETH_P_MPLS_MC = 0x8848
51579- ETH_P_MPLS_UC = 0x8847
51580- ETH_P_MVRP = 0x88f5
51581- ETH_P_NCSI = 0x88f8
51582- ETH_P_PAE = 0x888e
51583- ETH_P_PAUSE = 0x8808
51584- ETH_P_PHONET = 0xf5
51585- ETH_P_PPPTALK = 0x10
51586- ETH_P_PPP_DISC = 0x8863
51587- ETH_P_PPP_MP = 0x8
51588- ETH_P_PPP_SES = 0x8864
51589- ETH_P_PRP = 0x88fb
51590- ETH_P_PUP = 0x200
51591- ETH_P_PUPAT = 0x201
51592- ETH_P_QINQ1 = 0x9100
51593- ETH_P_QINQ2 = 0x9200
51594- ETH_P_QINQ3 = 0x9300
51595- ETH_P_RARP = 0x8035
51596- ETH_P_SCA = 0x6007
51597- ETH_P_SLOW = 0x8809
51598- ETH_P_SNAP = 0x5
51599- ETH_P_TDLS = 0x890d
51600- ETH_P_TEB = 0x6558
51601- ETH_P_TIPC = 0x88ca
51602- ETH_P_TRAILER = 0x1c
51603- ETH_P_TR_802_2 = 0x11
51604- ETH_P_TSN = 0x22f0
51605- ETH_P_WAN_PPP = 0x7
51606- ETH_P_WCCP = 0x883e
51607- ETH_P_X25 = 0x805
51608- ETH_P_XDSA = 0xf8
51609- EXTA = 0xe
51610- EXTB = 0xf
51611- EXTPROC = 0x10000000
51612- FALLOC_FL_COLLAPSE_RANGE = 0x8
51613- FALLOC_FL_INSERT_RANGE = 0x20
51614- FALLOC_FL_KEEP_SIZE = 0x1
51615- FALLOC_FL_NO_HIDE_STALE = 0x4
51616- FALLOC_FL_PUNCH_HOLE = 0x2
51617- FALLOC_FL_UNSHARE_RANGE = 0x40
51618- FALLOC_FL_ZERO_RANGE = 0x10
51619- FD_CLOEXEC = 0x1
51620- FD_SETSIZE = 0x400
51621- FF0 = 0x0
51622- FF1 = 0x4000
51623- FFDLY = 0x4000
51624- FLUSHO = 0x800000
51625- FS_ENCRYPTION_MODE_AES_256_CBC = 0x3
51626- FS_ENCRYPTION_MODE_AES_256_CTS = 0x4
51627- FS_ENCRYPTION_MODE_AES_256_GCM = 0x2
51628- FS_ENCRYPTION_MODE_AES_256_XTS = 0x1
51629- FS_ENCRYPTION_MODE_INVALID = 0x0
51630- FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615
51631- FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614
51632- FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613
51633- FS_KEY_DESCRIPTOR_SIZE = 0x8
51634- FS_KEY_DESC_PREFIX = "fscrypt:"
51635- FS_KEY_DESC_PREFIX_SIZE = 0x8
51636- FS_MAX_KEY_SIZE = 0x40
51637- FS_POLICY_FLAGS_PAD_16 = 0x2
51638- FS_POLICY_FLAGS_PAD_32 = 0x3
51639- FS_POLICY_FLAGS_PAD_4 = 0x0
51640- FS_POLICY_FLAGS_PAD_8 = 0x1
51641- FS_POLICY_FLAGS_PAD_MASK = 0x3
51642- FS_POLICY_FLAGS_VALID = 0x3
51643- F_DUPFD = 0x0
51644- F_DUPFD_CLOEXEC = 0x406
51645- F_EXLCK = 0x4
51646- F_GETFD = 0x1
51647- F_GETFL = 0x3
51648- F_GETLEASE = 0x401
51649- F_GETLK = 0x5
51650- F_GETLK64 = 0xc
51651- F_GETOWN = 0x9
51652- F_GETOWN_EX = 0x10
51653- F_GETPIPE_SZ = 0x408
51654- F_GETSIG = 0xb
51655- F_LOCK = 0x1
51656- F_NOTIFY = 0x402
51657- F_OFD_GETLK = 0x24
51658- F_OFD_SETLK = 0x25
51659- F_OFD_SETLKW = 0x26
51660- F_OK = 0x0
51661- F_RDLCK = 0x0
51662- F_SETFD = 0x2
51663- F_SETFL = 0x4
51664- F_SETLEASE = 0x400
51665- F_SETLK = 0x6
51666- F_SETLK64 = 0xd
51667- F_SETLKW = 0x7
51668- F_SETLKW64 = 0xe
51669- F_SETOWN = 0x8
51670- F_SETOWN_EX = 0xf
51671- F_SETPIPE_SZ = 0x407
51672- F_SETSIG = 0xa
51673- F_SHLCK = 0x8
51674- F_TEST = 0x3
51675- F_TLOCK = 0x2
51676- F_ULOCK = 0x0
51677- F_UNLCK = 0x2
51678- F_WRLCK = 0x1
51679- GENL_ADMIN_PERM = 0x1
51680- GENL_CMD_CAP_DO = 0x2
51681- GENL_CMD_CAP_DUMP = 0x4
51682- GENL_CMD_CAP_HASPOL = 0x8
51683- GENL_HDRLEN = 0x4
51684- GENL_ID_CTRL = 0x10
51685- GENL_ID_PMCRAID = 0x12
51686- GENL_ID_VFS_DQUOT = 0x11
51687- GENL_MAX_ID = 0x3ff
51688- GENL_MIN_ID = 0x10
51689- GENL_NAMSIZ = 0x10
51690- GENL_START_ALLOC = 0x13
51691- GENL_UNS_ADMIN_PERM = 0x10
51692- GRND_NONBLOCK = 0x1
51693- GRND_RANDOM = 0x2
51694- HUPCL = 0x4000
51695- IBSHIFT = 0x10
51696- ICANON = 0x100
51697- ICMPV6_FILTER = 0x1
51698- ICRNL = 0x100
51699- IEXTEN = 0x400
51700- IFA_F_DADFAILED = 0x8
51701- IFA_F_DEPRECATED = 0x20
51702- IFA_F_HOMEADDRESS = 0x10
51703- IFA_F_MANAGETEMPADDR = 0x100
51704- IFA_F_MCAUTOJOIN = 0x400
51705- IFA_F_NODAD = 0x2
51706- IFA_F_NOPREFIXROUTE = 0x200
51707- IFA_F_OPTIMISTIC = 0x4
51708- IFA_F_PERMANENT = 0x80
51709- IFA_F_SECONDARY = 0x1
51710- IFA_F_STABLE_PRIVACY = 0x800
51711- IFA_F_TEMPORARY = 0x1
51712- IFA_F_TENTATIVE = 0x40
51713- IFA_MAX = 0x8
51714- IFF_ALLMULTI = 0x200
51715- IFF_ATTACH_QUEUE = 0x200
51716- IFF_AUTOMEDIA = 0x4000
51717- IFF_BROADCAST = 0x2
51718- IFF_DEBUG = 0x4
51719- IFF_DETACH_QUEUE = 0x400
51720- IFF_DORMANT = 0x20000
51721- IFF_DYNAMIC = 0x8000
51722- IFF_ECHO = 0x40000
51723- IFF_LOOPBACK = 0x8
51724- IFF_LOWER_UP = 0x10000
51725- IFF_MASTER = 0x400
51726- IFF_MULTICAST = 0x1000
51727- IFF_MULTI_QUEUE = 0x100
51728- IFF_NOARP = 0x80
51729- IFF_NOFILTER = 0x1000
51730- IFF_NOTRAILERS = 0x20
51731- IFF_NO_PI = 0x1000
51732- IFF_ONE_QUEUE = 0x2000
51733- IFF_PERSIST = 0x800
51734- IFF_POINTOPOINT = 0x10
51735- IFF_PORTSEL = 0x2000
51736- IFF_PROMISC = 0x100
51737- IFF_RUNNING = 0x40
51738- IFF_SLAVE = 0x800
51739- IFF_TAP = 0x2
51740- IFF_TUN = 0x1
51741- IFF_TUN_EXCL = 0x8000
51742- IFF_UP = 0x1
51743- IFF_VNET_HDR = 0x4000
51744- IFF_VOLATILE = 0x70c5a
51745- IFNAMSIZ = 0x10
51746- IGNBRK = 0x1
51747- IGNCR = 0x80
51748- IGNPAR = 0x4
51749- IMAXBEL = 0x2000
51750- INLCR = 0x40
51751- INPCK = 0x10
51752- IN_ACCESS = 0x1
51753- IN_ALL_EVENTS = 0xfff
51754- IN_ATTRIB = 0x4
51755- IN_CLASSA_HOST = 0xffffff
51756- IN_CLASSA_MAX = 0x80
51757- IN_CLASSA_NET = 0xff000000
51758- IN_CLASSA_NSHIFT = 0x18
51759- IN_CLASSB_HOST = 0xffff
51760- IN_CLASSB_MAX = 0x10000
51761- IN_CLASSB_NET = 0xffff0000
51762- IN_CLASSB_NSHIFT = 0x10
51763- IN_CLASSC_HOST = 0xff
51764- IN_CLASSC_NET = 0xffffff00
51765- IN_CLASSC_NSHIFT = 0x8
51766- IN_CLOEXEC = 0x80000
51767- IN_CLOSE = 0x18
51768- IN_CLOSE_NOWRITE = 0x10
51769- IN_CLOSE_WRITE = 0x8
51770- IN_CREATE = 0x100
51771- IN_DELETE = 0x200
51772- IN_DELETE_SELF = 0x400
51773- IN_DONT_FOLLOW = 0x2000000
51774- IN_EXCL_UNLINK = 0x4000000
51775- IN_IGNORED = 0x8000
51776- IN_ISDIR = 0x40000000
51777- IN_LOOPBACKNET = 0x7f
51778- IN_MASK_ADD = 0x20000000
51779- IN_MODIFY = 0x2
51780- IN_MOVE = 0xc0
51781- IN_MOVED_FROM = 0x40
51782- IN_MOVED_TO = 0x80
51783- IN_MOVE_SELF = 0x800
51784- IN_NONBLOCK = 0x800
51785- IN_ONESHOT = 0x80000000
51786- IN_ONLYDIR = 0x1000000
51787- IN_OPEN = 0x20
51788- IN_Q_OVERFLOW = 0x4000
51789- IN_UNMOUNT = 0x2000
51790- IPPROTO_AH = 0x33
51791- IPPROTO_BEETPH = 0x5e
51792- IPPROTO_COMP = 0x6c
51793- IPPROTO_DCCP = 0x21
51794- IPPROTO_DSTOPTS = 0x3c
51795- IPPROTO_EGP = 0x8
51796- IPPROTO_ENCAP = 0x62
51797- IPPROTO_ESP = 0x32
51798- IPPROTO_FRAGMENT = 0x2c
51799- IPPROTO_GRE = 0x2f
51800- IPPROTO_HOPOPTS = 0x0
51801- IPPROTO_ICMP = 0x1
51802- IPPROTO_ICMPV6 = 0x3a
51803- IPPROTO_IDP = 0x16
51804- IPPROTO_IGMP = 0x2
51805- IPPROTO_IP = 0x0
51806- IPPROTO_IPIP = 0x4
51807- IPPROTO_IPV6 = 0x29
51808- IPPROTO_MH = 0x87
51809- IPPROTO_MPLS = 0x89
51810- IPPROTO_MTP = 0x5c
51811- IPPROTO_NONE = 0x3b
51812- IPPROTO_PIM = 0x67
51813- IPPROTO_PUP = 0xc
51814- IPPROTO_RAW = 0xff
51815- IPPROTO_ROUTING = 0x2b
51816- IPPROTO_RSVP = 0x2e
51817- IPPROTO_SCTP = 0x84
51818- IPPROTO_TCP = 0x6
51819- IPPROTO_TP = 0x1d
51820- IPPROTO_UDP = 0x11
51821- IPPROTO_UDPLITE = 0x88
51822- IPV6_2292DSTOPTS = 0x4
51823- IPV6_2292HOPLIMIT = 0x8
51824- IPV6_2292HOPOPTS = 0x3
51825- IPV6_2292PKTINFO = 0x2
51826- IPV6_2292PKTOPTIONS = 0x6
51827- IPV6_2292RTHDR = 0x5
51828- IPV6_ADDRFORM = 0x1
51829- IPV6_ADD_MEMBERSHIP = 0x14
51830- IPV6_AUTHHDR = 0xa
51831- IPV6_CHECKSUM = 0x7
51832- IPV6_DONTFRAG = 0x3e
51833- IPV6_DROP_MEMBERSHIP = 0x15
51834- IPV6_DSTOPTS = 0x3b
51835- IPV6_HDRINCL = 0x24
51836- IPV6_HOPLIMIT = 0x34
51837- IPV6_HOPOPTS = 0x36
51838- IPV6_IPSEC_POLICY = 0x22
51839- IPV6_JOIN_ANYCAST = 0x1b
51840- IPV6_JOIN_GROUP = 0x14
51841- IPV6_LEAVE_ANYCAST = 0x1c
51842- IPV6_LEAVE_GROUP = 0x15
51843- IPV6_MTU = 0x18
51844- IPV6_MTU_DISCOVER = 0x17
51845- IPV6_MULTICAST_HOPS = 0x12
51846- IPV6_MULTICAST_IF = 0x11
51847- IPV6_MULTICAST_LOOP = 0x13
51848- IPV6_NEXTHOP = 0x9
51849- IPV6_PATHMTU = 0x3d
51850- IPV6_PKTINFO = 0x32
51851- IPV6_PMTUDISC_DO = 0x2
51852- IPV6_PMTUDISC_DONT = 0x0
51853- IPV6_PMTUDISC_INTERFACE = 0x4
51854- IPV6_PMTUDISC_OMIT = 0x5
51855- IPV6_PMTUDISC_PROBE = 0x3
51856- IPV6_PMTUDISC_WANT = 0x1
51857- IPV6_RECVDSTOPTS = 0x3a
51858- IPV6_RECVERR = 0x19
51859- IPV6_RECVHOPLIMIT = 0x33
51860- IPV6_RECVHOPOPTS = 0x35
51861- IPV6_RECVPATHMTU = 0x3c
51862- IPV6_RECVPKTINFO = 0x31
51863- IPV6_RECVRTHDR = 0x38
51864- IPV6_RECVTCLASS = 0x42
51865- IPV6_ROUTER_ALERT = 0x16
51866- IPV6_RTHDR = 0x39
51867- IPV6_RTHDRDSTOPTS = 0x37
51868- IPV6_RTHDR_LOOSE = 0x0
51869- IPV6_RTHDR_STRICT = 0x1
51870- IPV6_RTHDR_TYPE_0 = 0x0
51871- IPV6_RXDSTOPTS = 0x3b
51872- IPV6_RXHOPOPTS = 0x36
51873- IPV6_TCLASS = 0x43
51874- IPV6_UNICAST_HOPS = 0x10
51875- IPV6_V6ONLY = 0x1a
51876- IPV6_XFRM_POLICY = 0x23
51877- IP_ADD_MEMBERSHIP = 0x23
51878- IP_ADD_SOURCE_MEMBERSHIP = 0x27
51879- IP_BIND_ADDRESS_NO_PORT = 0x18
51880- IP_BLOCK_SOURCE = 0x26
51881- IP_CHECKSUM = 0x17
51882- IP_DEFAULT_MULTICAST_LOOP = 0x1
51883- IP_DEFAULT_MULTICAST_TTL = 0x1
51884- IP_DF = 0x4000
51885- IP_DROP_MEMBERSHIP = 0x24
51886- IP_DROP_SOURCE_MEMBERSHIP = 0x28
51887- IP_FREEBIND = 0xf
51888- IP_HDRINCL = 0x3
51889- IP_IPSEC_POLICY = 0x10
51890- IP_MAXPACKET = 0xffff
51891- IP_MAX_MEMBERSHIPS = 0x14
51892- IP_MF = 0x2000
51893- IP_MINTTL = 0x15
51894- IP_MSFILTER = 0x29
51895- IP_MSS = 0x240
51896- IP_MTU = 0xe
51897- IP_MTU_DISCOVER = 0xa
51898- IP_MULTICAST_ALL = 0x31
51899- IP_MULTICAST_IF = 0x20
51900- IP_MULTICAST_LOOP = 0x22
51901- IP_MULTICAST_TTL = 0x21
51902- IP_NODEFRAG = 0x16
51903- IP_OFFMASK = 0x1fff
51904- IP_OPTIONS = 0x4
51905- IP_ORIGDSTADDR = 0x14
51906- IP_PASSSEC = 0x12
51907- IP_PKTINFO = 0x8
51908- IP_PKTOPTIONS = 0x9
51909- IP_PMTUDISC = 0xa
51910- IP_PMTUDISC_DO = 0x2
51911- IP_PMTUDISC_DONT = 0x0
51912- IP_PMTUDISC_INTERFACE = 0x4
51913- IP_PMTUDISC_OMIT = 0x5
51914- IP_PMTUDISC_PROBE = 0x3
51915- IP_PMTUDISC_WANT = 0x1
51916- IP_RECVERR = 0xb
51917- IP_RECVOPTS = 0x6
51918- IP_RECVORIGDSTADDR = 0x14
51919- IP_RECVRETOPTS = 0x7
51920- IP_RECVTOS = 0xd
51921- IP_RECVTTL = 0xc
51922- IP_RETOPTS = 0x7
51923- IP_RF = 0x8000
51924- IP_ROUTER_ALERT = 0x5
51925- IP_TOS = 0x1
51926- IP_TRANSPARENT = 0x13
51927- IP_TTL = 0x2
51928- IP_UNBLOCK_SOURCE = 0x25
51929- IP_UNICAST_IF = 0x32
51930- IP_XFRM_POLICY = 0x11
51931- ISIG = 0x80
51932- ISTRIP = 0x20
51933- IUCLC = 0x1000
51934- IUTF8 = 0x4000
51935- IXANY = 0x800
51936- IXOFF = 0x400
51937- IXON = 0x200
51938- KEYCTL_ASSUME_AUTHORITY = 0x10
51939- KEYCTL_CHOWN = 0x4
51940- KEYCTL_CLEAR = 0x7
51941- KEYCTL_DESCRIBE = 0x6
51942- KEYCTL_DH_COMPUTE = 0x17
51943- KEYCTL_GET_KEYRING_ID = 0x0
51944- KEYCTL_GET_PERSISTENT = 0x16
51945- KEYCTL_GET_SECURITY = 0x11
51946- KEYCTL_INSTANTIATE = 0xc
51947- KEYCTL_INSTANTIATE_IOV = 0x14
51948- KEYCTL_INVALIDATE = 0x15
51949- KEYCTL_JOIN_SESSION_KEYRING = 0x1
51950- KEYCTL_LINK = 0x8
51951- KEYCTL_NEGATE = 0xd
51952- KEYCTL_READ = 0xb
51953- KEYCTL_REJECT = 0x13
51954- KEYCTL_REVOKE = 0x3
51955- KEYCTL_SEARCH = 0xa
51956- KEYCTL_SESSION_TO_PARENT = 0x12
51957- KEYCTL_SETPERM = 0x5
51958- KEYCTL_SET_REQKEY_KEYRING = 0xe
51959- KEYCTL_SET_TIMEOUT = 0xf
51960- KEYCTL_UNLINK = 0x9
51961- KEYCTL_UPDATE = 0x2
51962- KEY_REQKEY_DEFL_DEFAULT = 0x0
51963- KEY_REQKEY_DEFL_GROUP_KEYRING = 0x6
51964- KEY_REQKEY_DEFL_NO_CHANGE = -0x1
51965- KEY_REQKEY_DEFL_PROCESS_KEYRING = 0x2
51966- KEY_REQKEY_DEFL_REQUESTOR_KEYRING = 0x7
51967- KEY_REQKEY_DEFL_SESSION_KEYRING = 0x3
51968- KEY_REQKEY_DEFL_THREAD_KEYRING = 0x1
51969- KEY_REQKEY_DEFL_USER_KEYRING = 0x4
51970- KEY_REQKEY_DEFL_USER_SESSION_KEYRING = 0x5
51971- KEY_SPEC_GROUP_KEYRING = -0x6
51972- KEY_SPEC_PROCESS_KEYRING = -0x2
51973- KEY_SPEC_REQKEY_AUTH_KEY = -0x7
51974- KEY_SPEC_REQUESTOR_KEYRING = -0x8
51975- KEY_SPEC_SESSION_KEYRING = -0x3
51976- KEY_SPEC_THREAD_KEYRING = -0x1
51977- KEY_SPEC_USER_KEYRING = -0x4
51978- KEY_SPEC_USER_SESSION_KEYRING = -0x5
51979- LINUX_REBOOT_CMD_CAD_OFF = 0x0
51980- LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
51981- LINUX_REBOOT_CMD_HALT = 0xcdef0123
51982- LINUX_REBOOT_CMD_KEXEC = 0x45584543
51983- LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
51984- LINUX_REBOOT_CMD_RESTART = 0x1234567
51985- LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
51986- LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
51987- LINUX_REBOOT_MAGIC1 = 0xfee1dead
51988- LINUX_REBOOT_MAGIC2 = 0x28121969
51989- LOCK_EX = 0x2
51990- LOCK_NB = 0x4
51991- LOCK_SH = 0x1
51992- LOCK_UN = 0x8
51993- MADV_DODUMP = 0x11
51994- MADV_DOFORK = 0xb
51995- MADV_DONTDUMP = 0x10
51996- MADV_DONTFORK = 0xa
51997- MADV_DONTNEED = 0x4
51998- MADV_FREE = 0x8
51999- MADV_HUGEPAGE = 0xe
52000- MADV_HWPOISON = 0x64
52001- MADV_MERGEABLE = 0xc
52002- MADV_NOHUGEPAGE = 0xf
52003- MADV_NORMAL = 0x0
52004- MADV_RANDOM = 0x1
52005- MADV_REMOVE = 0x9
52006- MADV_SEQUENTIAL = 0x2
52007- MADV_UNMERGEABLE = 0xd
52008- MADV_WILLNEED = 0x3
52009- MAP_ANON = 0x20
52010- MAP_ANONYMOUS = 0x20
52011- MAP_DENYWRITE = 0x800
52012- MAP_EXECUTABLE = 0x1000
52013- MAP_FILE = 0x0
52014- MAP_FIXED = 0x10
52015- MAP_GROWSDOWN = 0x100
52016- MAP_HUGETLB = 0x40000
52017- MAP_HUGE_MASK = 0x3f
52018- MAP_HUGE_SHIFT = 0x1a
52019- MAP_LOCKED = 0x80
52020- MAP_NONBLOCK = 0x10000
52021- MAP_NORESERVE = 0x40
52022- MAP_POPULATE = 0x8000
52023- MAP_PRIVATE = 0x2
52024- MAP_SHARED = 0x1
52025- MAP_STACK = 0x20000
52026- MAP_TYPE = 0xf
52027- MCL_CURRENT = 0x2000
52028- MCL_FUTURE = 0x4000
52029- MCL_ONFAULT = 0x8000
52030- MNT_DETACH = 0x2
52031- MNT_EXPIRE = 0x4
52032- MNT_FORCE = 0x1
52033- MSG_BATCH = 0x40000
52034- MSG_CMSG_CLOEXEC = 0x40000000
52035- MSG_CONFIRM = 0x800
52036- MSG_CTRUNC = 0x8
52037- MSG_DONTROUTE = 0x4
52038- MSG_DONTWAIT = 0x40
52039- MSG_EOR = 0x80
52040- MSG_ERRQUEUE = 0x2000
52041- MSG_FASTOPEN = 0x20000000
52042- MSG_FIN = 0x200
52043- MSG_MORE = 0x8000
52044- MSG_NOSIGNAL = 0x4000
52045- MSG_OOB = 0x1
52046- MSG_PEEK = 0x2
52047- MSG_PROXY = 0x10
52048- MSG_RST = 0x1000
52049- MSG_SYN = 0x400
52050- MSG_TRUNC = 0x20
52051- MSG_TRYHARD = 0x4
52052- MSG_WAITALL = 0x100
52053- MSG_WAITFORONE = 0x10000
52054- MS_ACTIVE = 0x40000000
52055- MS_ASYNC = 0x1
52056- MS_BIND = 0x1000
52057- MS_BORN = 0x20000000
52058- MS_DIRSYNC = 0x80
52059- MS_INVALIDATE = 0x2
52060- MS_I_VERSION = 0x800000
52061- MS_KERNMOUNT = 0x400000
52062- MS_LAZYTIME = 0x2000000
52063- MS_MANDLOCK = 0x40
52064- MS_MGC_MSK = 0xffff0000
52065- MS_MGC_VAL = 0xc0ed0000
52066- MS_MOVE = 0x2000
52067- MS_NOATIME = 0x400
52068- MS_NODEV = 0x4
52069- MS_NODIRATIME = 0x800
52070- MS_NOEXEC = 0x8
52071- MS_NOREMOTELOCK = 0x8000000
52072- MS_NOSEC = 0x10000000
52073- MS_NOSUID = 0x2
52074- MS_NOUSER = -0x80000000
52075- MS_POSIXACL = 0x10000
52076- MS_PRIVATE = 0x40000
52077- MS_RDONLY = 0x1
52078- MS_REC = 0x4000
52079- MS_RELATIME = 0x200000
52080- MS_REMOUNT = 0x20
52081- MS_RMT_MASK = 0x2800051
52082- MS_SHARED = 0x100000
52083- MS_SILENT = 0x8000
52084- MS_SLAVE = 0x80000
52085- MS_STRICTATIME = 0x1000000
52086- MS_SYNC = 0x4
52087- MS_SYNCHRONOUS = 0x10
52088- MS_UNBINDABLE = 0x20000
52089- MS_VERBOSE = 0x8000
52090- NAME_MAX = 0xff
52091- NETLINK_ADD_MEMBERSHIP = 0x1
52092- NETLINK_AUDIT = 0x9
52093- NETLINK_BROADCAST_ERROR = 0x4
52094- NETLINK_CAP_ACK = 0xa
52095- NETLINK_CONNECTOR = 0xb
52096- NETLINK_CRYPTO = 0x15
52097- NETLINK_DNRTMSG = 0xe
52098- NETLINK_DROP_MEMBERSHIP = 0x2
52099- NETLINK_ECRYPTFS = 0x13
52100- NETLINK_FIB_LOOKUP = 0xa
52101- NETLINK_FIREWALL = 0x3
52102- NETLINK_GENERIC = 0x10
52103- NETLINK_INET_DIAG = 0x4
52104- NETLINK_IP6_FW = 0xd
52105- NETLINK_ISCSI = 0x8
52106- NETLINK_KOBJECT_UEVENT = 0xf
52107- NETLINK_LISTEN_ALL_NSID = 0x8
52108- NETLINK_LIST_MEMBERSHIPS = 0x9
52109- NETLINK_NETFILTER = 0xc
52110- NETLINK_NFLOG = 0x5
52111- NETLINK_NO_ENOBUFS = 0x5
52112- NETLINK_PKTINFO = 0x3
52113- NETLINK_RDMA = 0x14
52114- NETLINK_ROUTE = 0x0
52115- NETLINK_RX_RING = 0x6
52116- NETLINK_SCSITRANSPORT = 0x12
52117- NETLINK_SELINUX = 0x7
52118- NETLINK_SOCK_DIAG = 0x4
52119- NETLINK_TX_RING = 0x7
52120- NETLINK_UNUSED = 0x1
52121- NETLINK_USERSOCK = 0x2
52122- NETLINK_XFRM = 0x6
52123- NL0 = 0x0
52124- NL1 = 0x100
52125- NL2 = 0x200
52126- NL3 = 0x300
52127- NLA_ALIGNTO = 0x4
52128- NLA_F_NESTED = 0x8000
52129- NLA_F_NET_BYTEORDER = 0x4000
52130- NLA_HDRLEN = 0x4
52131- NLDLY = 0x300
52132- NLMSG_ALIGNTO = 0x4
52133- NLMSG_DONE = 0x3
52134- NLMSG_ERROR = 0x2
52135- NLMSG_HDRLEN = 0x10
52136- NLMSG_MIN_TYPE = 0x10
52137- NLMSG_NOOP = 0x1
52138- NLMSG_OVERRUN = 0x4
52139- NLM_F_ACK = 0x4
52140- NLM_F_APPEND = 0x800
52141- NLM_F_ATOMIC = 0x400
52142- NLM_F_CREATE = 0x400
52143- NLM_F_DUMP = 0x300
52144- NLM_F_DUMP_FILTERED = 0x20
52145- NLM_F_DUMP_INTR = 0x10
52146- NLM_F_ECHO = 0x8
52147- NLM_F_EXCL = 0x200
52148- NLM_F_MATCH = 0x200
52149- NLM_F_MULTI = 0x2
52150- NLM_F_REPLACE = 0x100
52151- NLM_F_REQUEST = 0x1
52152- NLM_F_ROOT = 0x100
52153- NOFLSH = 0x80000000
52154- OCRNL = 0x8
52155- OFDEL = 0x80
52156- OFILL = 0x40
52157- OLCUC = 0x4
52158- ONLCR = 0x2
52159- ONLRET = 0x20
52160- ONOCR = 0x10
52161- OPOST = 0x1
52162- O_ACCMODE = 0x3
52163- O_APPEND = 0x400
52164- O_ASYNC = 0x2000
52165- O_CLOEXEC = 0x80000
52166- O_CREAT = 0x40
52167- O_DIRECT = 0x20000
52168- O_DIRECTORY = 0x4000
52169- O_DSYNC = 0x1000
52170- O_EXCL = 0x80
52171- O_FSYNC = 0x101000
52172- O_LARGEFILE = 0x0
52173- O_NDELAY = 0x800
52174- O_NOATIME = 0x40000
52175- O_NOCTTY = 0x100
52176- O_NOFOLLOW = 0x8000
52177- O_NONBLOCK = 0x800
52178- O_PATH = 0x200000
52179- O_RDONLY = 0x0
52180- O_RDWR = 0x2
52181- O_RSYNC = 0x101000
52182- O_SYNC = 0x101000
52183- O_TMPFILE = 0x404000
52184- O_TRUNC = 0x200
52185- O_WRONLY = 0x1
52186- PACKET_ADD_MEMBERSHIP = 0x1
52187- PACKET_AUXDATA = 0x8
52188- PACKET_BROADCAST = 0x1
52189- PACKET_COPY_THRESH = 0x7
52190- PACKET_DROP_MEMBERSHIP = 0x2
52191- PACKET_FANOUT = 0x12
52192- PACKET_FANOUT_CBPF = 0x6
52193- PACKET_FANOUT_CPU = 0x2
52194- PACKET_FANOUT_DATA = 0x16
52195- PACKET_FANOUT_EBPF = 0x7
52196- PACKET_FANOUT_FLAG_DEFRAG = 0x8000
52197- PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
52198- PACKET_FANOUT_HASH = 0x0
52199- PACKET_FANOUT_LB = 0x1
52200- PACKET_FANOUT_QM = 0x5
52201- PACKET_FANOUT_RND = 0x4
52202- PACKET_FANOUT_ROLLOVER = 0x3
52203- PACKET_FASTROUTE = 0x6
52204- PACKET_HDRLEN = 0xb
52205- PACKET_HOST = 0x0
52206- PACKET_KERNEL = 0x7
52207- PACKET_LOOPBACK = 0x5
52208- PACKET_LOSS = 0xe
52209- PACKET_MR_ALLMULTI = 0x2
52210- PACKET_MR_MULTICAST = 0x0
52211- PACKET_MR_PROMISC = 0x1
52212- PACKET_MR_UNICAST = 0x3
52213- PACKET_MULTICAST = 0x2
52214- PACKET_ORIGDEV = 0x9
52215- PACKET_OTHERHOST = 0x3
52216- PACKET_OUTGOING = 0x4
52217- PACKET_QDISC_BYPASS = 0x14
52218- PACKET_RECV_OUTPUT = 0x3
52219- PACKET_RESERVE = 0xc
52220- PACKET_ROLLOVER_STATS = 0x15
52221- PACKET_RX_RING = 0x5
52222- PACKET_STATISTICS = 0x6
52223- PACKET_TIMESTAMP = 0x11
52224- PACKET_TX_HAS_OFF = 0x13
52225- PACKET_TX_RING = 0xd
52226- PACKET_TX_TIMESTAMP = 0x10
52227- PACKET_USER = 0x6
52228- PACKET_VERSION = 0xa
52229- PACKET_VNET_HDR = 0xf
52230- PARENB = 0x1000
52231- PARITY_CRC16_PR0 = 0x2
52232- PARITY_CRC16_PR0_CCITT = 0x4
52233- PARITY_CRC16_PR1 = 0x3
52234- PARITY_CRC16_PR1_CCITT = 0x5
52235- PARITY_CRC32_PR0_CCITT = 0x6
52236- PARITY_CRC32_PR1_CCITT = 0x7
52237- PARITY_DEFAULT = 0x0
52238- PARITY_NONE = 0x1
52239- PARMRK = 0x8
52240- PARODD = 0x2000
52241- PENDIN = 0x20000000
52242- PERF_EVENT_IOC_DISABLE = 0x20002401
52243- PERF_EVENT_IOC_ENABLE = 0x20002400
52244- PERF_EVENT_IOC_ID = 0x40082407
52245- PERF_EVENT_IOC_PAUSE_OUTPUT = 0x80042409
52246- PERF_EVENT_IOC_PERIOD = 0x80082404
52247- PERF_EVENT_IOC_REFRESH = 0x20002402
52248- PERF_EVENT_IOC_RESET = 0x20002403
52249- PERF_EVENT_IOC_SET_BPF = 0x80042408
52250- PERF_EVENT_IOC_SET_FILTER = 0x80082406
52251- PERF_EVENT_IOC_SET_OUTPUT = 0x20002405
52252- PRIO_PGRP = 0x1
52253- PRIO_PROCESS = 0x0
52254- PRIO_USER = 0x2
52255- PROT_EXEC = 0x4
52256- PROT_GROWSDOWN = 0x1000000
52257- PROT_GROWSUP = 0x2000000
52258- PROT_NONE = 0x0
52259- PROT_READ = 0x1
52260- PROT_SAO = 0x10
52261- PROT_WRITE = 0x2
52262- PR_CAPBSET_DROP = 0x18
52263- PR_CAPBSET_READ = 0x17
52264- PR_CAP_AMBIENT = 0x2f
52265- PR_CAP_AMBIENT_CLEAR_ALL = 0x4
52266- PR_CAP_AMBIENT_IS_SET = 0x1
52267- PR_CAP_AMBIENT_LOWER = 0x3
52268- PR_CAP_AMBIENT_RAISE = 0x2
52269- PR_ENDIAN_BIG = 0x0
52270- PR_ENDIAN_LITTLE = 0x1
52271- PR_ENDIAN_PPC_LITTLE = 0x2
52272- PR_FPEMU_NOPRINT = 0x1
52273- PR_FPEMU_SIGFPE = 0x2
52274- PR_FP_EXC_ASYNC = 0x2
52275- PR_FP_EXC_DISABLED = 0x0
52276- PR_FP_EXC_DIV = 0x10000
52277- PR_FP_EXC_INV = 0x100000
52278- PR_FP_EXC_NONRECOV = 0x1
52279- PR_FP_EXC_OVF = 0x20000
52280- PR_FP_EXC_PRECISE = 0x3
52281- PR_FP_EXC_RES = 0x80000
52282- PR_FP_EXC_SW_ENABLE = 0x80
52283- PR_FP_EXC_UND = 0x40000
52284- PR_FP_MODE_FR = 0x1
52285- PR_FP_MODE_FRE = 0x2
52286- PR_GET_CHILD_SUBREAPER = 0x25
52287- PR_GET_DUMPABLE = 0x3
52288- PR_GET_ENDIAN = 0x13
52289- PR_GET_FPEMU = 0x9
52290- PR_GET_FPEXC = 0xb
52291- PR_GET_FP_MODE = 0x2e
52292- PR_GET_KEEPCAPS = 0x7
52293- PR_GET_NAME = 0x10
52294- PR_GET_NO_NEW_PRIVS = 0x27
52295- PR_GET_PDEATHSIG = 0x2
52296- PR_GET_SECCOMP = 0x15
52297- PR_GET_SECUREBITS = 0x1b
52298- PR_GET_THP_DISABLE = 0x2a
52299- PR_GET_TID_ADDRESS = 0x28
52300- PR_GET_TIMERSLACK = 0x1e
52301- PR_GET_TIMING = 0xd
52302- PR_GET_TSC = 0x19
52303- PR_GET_UNALIGN = 0x5
52304- PR_MCE_KILL = 0x21
52305- PR_MCE_KILL_CLEAR = 0x0
52306- PR_MCE_KILL_DEFAULT = 0x2
52307- PR_MCE_KILL_EARLY = 0x1
52308- PR_MCE_KILL_GET = 0x22
52309- PR_MCE_KILL_LATE = 0x0
52310- PR_MCE_KILL_SET = 0x1
52311- PR_MPX_DISABLE_MANAGEMENT = 0x2c
52312- PR_MPX_ENABLE_MANAGEMENT = 0x2b
52313- PR_SET_CHILD_SUBREAPER = 0x24
52314- PR_SET_DUMPABLE = 0x4
52315- PR_SET_ENDIAN = 0x14
52316- PR_SET_FPEMU = 0xa
52317- PR_SET_FPEXC = 0xc
52318- PR_SET_FP_MODE = 0x2d
52319- PR_SET_KEEPCAPS = 0x8
52320- PR_SET_MM = 0x23
52321- PR_SET_MM_ARG_END = 0x9
52322- PR_SET_MM_ARG_START = 0x8
52323- PR_SET_MM_AUXV = 0xc
52324- PR_SET_MM_BRK = 0x7
52325- PR_SET_MM_END_CODE = 0x2
52326- PR_SET_MM_END_DATA = 0x4
52327- PR_SET_MM_ENV_END = 0xb
52328- PR_SET_MM_ENV_START = 0xa
52329- PR_SET_MM_EXE_FILE = 0xd
52330- PR_SET_MM_MAP = 0xe
52331- PR_SET_MM_MAP_SIZE = 0xf
52332- PR_SET_MM_START_BRK = 0x6
52333- PR_SET_MM_START_CODE = 0x1
52334- PR_SET_MM_START_DATA = 0x3
52335- PR_SET_MM_START_STACK = 0x5
52336- PR_SET_NAME = 0xf
52337- PR_SET_NO_NEW_PRIVS = 0x26
52338- PR_SET_PDEATHSIG = 0x1
52339- PR_SET_PTRACER = 0x59616d61
52340- PR_SET_PTRACER_ANY = -0x1
52341- PR_SET_SECCOMP = 0x16
52342- PR_SET_SECUREBITS = 0x1c
52343- PR_SET_THP_DISABLE = 0x29
52344- PR_SET_TIMERSLACK = 0x1d
52345- PR_SET_TIMING = 0xe
52346- PR_SET_TSC = 0x1a
52347- PR_SET_UNALIGN = 0x6
52348- PR_TASK_PERF_EVENTS_DISABLE = 0x1f
52349- PR_TASK_PERF_EVENTS_ENABLE = 0x20
52350- PR_TIMING_STATISTICAL = 0x0
52351- PR_TIMING_TIMESTAMP = 0x1
52352- PR_TSC_ENABLE = 0x1
52353- PR_TSC_SIGSEGV = 0x2
52354- PR_UNALIGN_NOPRINT = 0x1
52355- PR_UNALIGN_SIGBUS = 0x2
52356- PTRACE_ATTACH = 0x10
52357- PTRACE_CONT = 0x7
52358- PTRACE_DETACH = 0x11
52359- PTRACE_EVENT_CLONE = 0x3
52360- PTRACE_EVENT_EXEC = 0x4
52361- PTRACE_EVENT_EXIT = 0x6
52362- PTRACE_EVENT_FORK = 0x1
52363- PTRACE_EVENT_SECCOMP = 0x7
52364- PTRACE_EVENT_STOP = 0x80
52365- PTRACE_EVENT_VFORK = 0x2
52366- PTRACE_EVENT_VFORK_DONE = 0x5
52367- PTRACE_GETEVENTMSG = 0x4201
52368- PTRACE_GETEVRREGS = 0x14
52369- PTRACE_GETFPREGS = 0xe
52370- PTRACE_GETREGS = 0xc
52371- PTRACE_GETREGS64 = 0x16
52372- PTRACE_GETREGSET = 0x4204
52373- PTRACE_GETSIGINFO = 0x4202
52374- PTRACE_GETSIGMASK = 0x420a
52375- PTRACE_GETVRREGS = 0x12
52376- PTRACE_GETVSRREGS = 0x1b
52377- PTRACE_GET_DEBUGREG = 0x19
52378- PTRACE_INTERRUPT = 0x4207
52379- PTRACE_KILL = 0x8
52380- PTRACE_LISTEN = 0x4208
52381- PTRACE_O_EXITKILL = 0x100000
52382- PTRACE_O_MASK = 0x3000ff
52383- PTRACE_O_SUSPEND_SECCOMP = 0x200000
52384- PTRACE_O_TRACECLONE = 0x8
52385- PTRACE_O_TRACEEXEC = 0x10
52386- PTRACE_O_TRACEEXIT = 0x40
52387- PTRACE_O_TRACEFORK = 0x2
52388- PTRACE_O_TRACESECCOMP = 0x80
52389- PTRACE_O_TRACESYSGOOD = 0x1
52390- PTRACE_O_TRACEVFORK = 0x4
52391- PTRACE_O_TRACEVFORKDONE = 0x20
52392- PTRACE_PEEKDATA = 0x2
52393- PTRACE_PEEKSIGINFO = 0x4209
52394- PTRACE_PEEKSIGINFO_SHARED = 0x1
52395- PTRACE_PEEKTEXT = 0x1
52396- PTRACE_PEEKUSR = 0x3
52397- PTRACE_POKEDATA = 0x5
52398- PTRACE_POKETEXT = 0x4
52399- PTRACE_POKEUSR = 0x6
52400- PTRACE_SECCOMP_GET_FILTER = 0x420c
52401- PTRACE_SEIZE = 0x4206
52402- PTRACE_SETEVRREGS = 0x15
52403- PTRACE_SETFPREGS = 0xf
52404- PTRACE_SETOPTIONS = 0x4200
52405- PTRACE_SETREGS = 0xd
52406- PTRACE_SETREGS64 = 0x17
52407- PTRACE_SETREGSET = 0x4205
52408- PTRACE_SETSIGINFO = 0x4203
52409- PTRACE_SETSIGMASK = 0x420b
52410- PTRACE_SETVRREGS = 0x13
52411- PTRACE_SETVSRREGS = 0x1c
52412- PTRACE_SET_DEBUGREG = 0x1a
52413- PTRACE_SINGLEBLOCK = 0x100
52414- PTRACE_SINGLESTEP = 0x9
52415- PTRACE_SYSCALL = 0x18
52416- PTRACE_TRACEME = 0x0
52417- PT_CCR = 0x26
52418- PT_CTR = 0x23
52419- PT_DAR = 0x29
52420- PT_DSCR = 0x2c
52421- PT_DSISR = 0x2a
52422- PT_FPR0 = 0x30
52423- PT_FPSCR = 0x50
52424- PT_LNK = 0x24
52425- PT_MSR = 0x21
52426- PT_NIP = 0x20
52427- PT_ORIG_R3 = 0x22
52428- PT_R0 = 0x0
52429- PT_R1 = 0x1
52430- PT_R10 = 0xa
52431- PT_R11 = 0xb
52432- PT_R12 = 0xc
52433- PT_R13 = 0xd
52434- PT_R14 = 0xe
52435- PT_R15 = 0xf
52436- PT_R16 = 0x10
52437- PT_R17 = 0x11
52438- PT_R18 = 0x12
52439- PT_R19 = 0x13
52440- PT_R2 = 0x2
52441- PT_R20 = 0x14
52442- PT_R21 = 0x15
52443- PT_R22 = 0x16
52444- PT_R23 = 0x17
52445- PT_R24 = 0x18
52446- PT_R25 = 0x19
52447- PT_R26 = 0x1a
52448- PT_R27 = 0x1b
52449- PT_R28 = 0x1c
52450- PT_R29 = 0x1d
52451- PT_R3 = 0x3
52452- PT_R30 = 0x1e
52453- PT_R31 = 0x1f
52454- PT_R4 = 0x4
52455- PT_R5 = 0x5
52456- PT_R6 = 0x6
52457- PT_R7 = 0x7
52458- PT_R8 = 0x8
52459- PT_R9 = 0x9
52460- PT_REGS_COUNT = 0x2c
52461- PT_RESULT = 0x2b
52462- PT_SOFTE = 0x27
52463- PT_TRAP = 0x28
52464- PT_VR0 = 0x52
52465- PT_VRSAVE = 0x94
52466- PT_VSCR = 0x93
52467- PT_VSR0 = 0x96
52468- PT_VSR31 = 0xd4
52469- PT_XER = 0x25
52470- RLIMIT_AS = 0x9
52471- RLIMIT_CORE = 0x4
52472- RLIMIT_CPU = 0x0
52473- RLIMIT_DATA = 0x2
52474- RLIMIT_FSIZE = 0x1
52475- RLIMIT_LOCKS = 0xa
52476- RLIMIT_MEMLOCK = 0x8
52477- RLIMIT_MSGQUEUE = 0xc
52478- RLIMIT_NICE = 0xd
52479- RLIMIT_NOFILE = 0x7
52480- RLIMIT_NPROC = 0x6
52481- RLIMIT_RSS = 0x5
52482- RLIMIT_RTPRIO = 0xe
52483- RLIMIT_RTTIME = 0xf
52484- RLIMIT_SIGPENDING = 0xb
52485- RLIMIT_STACK = 0x3
52486- RLIM_INFINITY = -0x1
52487- RTAX_ADVMSS = 0x8
52488- RTAX_CC_ALGO = 0x10
52489- RTAX_CWND = 0x7
52490- RTAX_FEATURES = 0xc
52491- RTAX_FEATURE_ALLFRAG = 0x8
52492- RTAX_FEATURE_ECN = 0x1
52493- RTAX_FEATURE_MASK = 0xf
52494- RTAX_FEATURE_SACK = 0x2
52495- RTAX_FEATURE_TIMESTAMP = 0x4
52496- RTAX_HOPLIMIT = 0xa
52497- RTAX_INITCWND = 0xb
52498- RTAX_INITRWND = 0xe
52499- RTAX_LOCK = 0x1
52500- RTAX_MAX = 0x10
52501- RTAX_MTU = 0x2
52502- RTAX_QUICKACK = 0xf
52503- RTAX_REORDERING = 0x9
52504- RTAX_RTO_MIN = 0xd
52505- RTAX_RTT = 0x4
52506- RTAX_RTTVAR = 0x5
52507- RTAX_SSTHRESH = 0x6
52508- RTAX_UNSPEC = 0x0
52509- RTAX_WINDOW = 0x3
52510- RTA_ALIGNTO = 0x4
52511- RTA_MAX = 0x19
52512- RTCF_DIRECTSRC = 0x4000000
52513- RTCF_DOREDIRECT = 0x1000000
52514- RTCF_LOG = 0x2000000
52515- RTCF_MASQ = 0x400000
52516- RTCF_NAT = 0x800000
52517- RTCF_VALVE = 0x200000
52518- RTF_ADDRCLASSMASK = 0xf8000000
52519- RTF_ADDRCONF = 0x40000
52520- RTF_ALLONLINK = 0x20000
52521- RTF_BROADCAST = 0x10000000
52522- RTF_CACHE = 0x1000000
52523- RTF_DEFAULT = 0x10000
52524- RTF_DYNAMIC = 0x10
52525- RTF_FLOW = 0x2000000
52526- RTF_GATEWAY = 0x2
52527- RTF_HOST = 0x4
52528- RTF_INTERFACE = 0x40000000
52529- RTF_IRTT = 0x100
52530- RTF_LINKRT = 0x100000
52531- RTF_LOCAL = 0x80000000
52532- RTF_MODIFIED = 0x20
52533- RTF_MSS = 0x40
52534- RTF_MTU = 0x40
52535- RTF_MULTICAST = 0x20000000
52536- RTF_NAT = 0x8000000
52537- RTF_NOFORWARD = 0x1000
52538- RTF_NONEXTHOP = 0x200000
52539- RTF_NOPMTUDISC = 0x4000
52540- RTF_POLICY = 0x4000000
52541- RTF_REINSTATE = 0x8
52542- RTF_REJECT = 0x200
52543- RTF_STATIC = 0x400
52544- RTF_THROW = 0x2000
52545- RTF_UP = 0x1
52546- RTF_WINDOW = 0x80
52547- RTF_XRESOLVE = 0x800
52548- RTM_BASE = 0x10
52549- RTM_DELACTION = 0x31
52550- RTM_DELADDR = 0x15
52551- RTM_DELADDRLABEL = 0x49
52552- RTM_DELLINK = 0x11
52553- RTM_DELMDB = 0x55
52554- RTM_DELNEIGH = 0x1d
52555- RTM_DELNSID = 0x59
52556- RTM_DELQDISC = 0x25
52557- RTM_DELROUTE = 0x19
52558- RTM_DELRULE = 0x21
52559- RTM_DELTCLASS = 0x29
52560- RTM_DELTFILTER = 0x2d
52561- RTM_F_CLONED = 0x200
52562- RTM_F_EQUALIZE = 0x400
52563- RTM_F_LOOKUP_TABLE = 0x1000
52564- RTM_F_NOTIFY = 0x100
52565- RTM_F_PREFIX = 0x800
52566- RTM_GETACTION = 0x32
52567- RTM_GETADDR = 0x16
52568- RTM_GETADDRLABEL = 0x4a
52569- RTM_GETANYCAST = 0x3e
52570- RTM_GETDCB = 0x4e
52571- RTM_GETLINK = 0x12
52572- RTM_GETMDB = 0x56
52573- RTM_GETMULTICAST = 0x3a
52574- RTM_GETNEIGH = 0x1e
52575- RTM_GETNEIGHTBL = 0x42
52576- RTM_GETNETCONF = 0x52
52577- RTM_GETNSID = 0x5a
52578- RTM_GETQDISC = 0x26
52579- RTM_GETROUTE = 0x1a
52580- RTM_GETRULE = 0x22
52581- RTM_GETSTATS = 0x5e
52582- RTM_GETTCLASS = 0x2a
52583- RTM_GETTFILTER = 0x2e
52584- RTM_MAX = 0x5f
52585- RTM_NEWACTION = 0x30
52586- RTM_NEWADDR = 0x14
52587- RTM_NEWADDRLABEL = 0x48
52588- RTM_NEWLINK = 0x10
52589- RTM_NEWMDB = 0x54
52590- RTM_NEWNDUSEROPT = 0x44
52591- RTM_NEWNEIGH = 0x1c
52592- RTM_NEWNEIGHTBL = 0x40
52593- RTM_NEWNETCONF = 0x50
52594- RTM_NEWNSID = 0x58
52595- RTM_NEWPREFIX = 0x34
52596- RTM_NEWQDISC = 0x24
52597- RTM_NEWROUTE = 0x18
52598- RTM_NEWRULE = 0x20
52599- RTM_NEWSTATS = 0x5c
52600- RTM_NEWTCLASS = 0x28
52601- RTM_NEWTFILTER = 0x2c
52602- RTM_NR_FAMILIES = 0x14
52603- RTM_NR_MSGTYPES = 0x50
52604- RTM_SETDCB = 0x4f
52605- RTM_SETLINK = 0x13
52606- RTM_SETNEIGHTBL = 0x43
52607- RTNH_ALIGNTO = 0x4
52608- RTNH_COMPARE_MASK = 0x19
52609- RTNH_F_DEAD = 0x1
52610- RTNH_F_LINKDOWN = 0x10
52611- RTNH_F_OFFLOAD = 0x8
52612- RTNH_F_ONLINK = 0x4
52613- RTNH_F_PERVASIVE = 0x2
52614- RTN_MAX = 0xb
52615- RTPROT_BABEL = 0x2a
52616- RTPROT_BIRD = 0xc
52617- RTPROT_BOOT = 0x3
52618- RTPROT_DHCP = 0x10
52619- RTPROT_DNROUTED = 0xd
52620- RTPROT_GATED = 0x8
52621- RTPROT_KERNEL = 0x2
52622- RTPROT_MROUTED = 0x11
52623- RTPROT_MRT = 0xa
52624- RTPROT_NTK = 0xf
52625- RTPROT_RA = 0x9
52626- RTPROT_REDIRECT = 0x1
52627- RTPROT_STATIC = 0x4
52628- RTPROT_UNSPEC = 0x0
52629- RTPROT_XORP = 0xe
52630- RTPROT_ZEBRA = 0xb
52631- RT_CLASS_DEFAULT = 0xfd
52632- RT_CLASS_LOCAL = 0xff
52633- RT_CLASS_MAIN = 0xfe
52634- RT_CLASS_MAX = 0xff
52635- RT_CLASS_UNSPEC = 0x0
52636- RUSAGE_CHILDREN = -0x1
52637- RUSAGE_SELF = 0x0
52638- RUSAGE_THREAD = 0x1
52639- SCM_CREDENTIALS = 0x2
52640- SCM_RIGHTS = 0x1
52641- SCM_TIMESTAMP = 0x1d
52642- SCM_TIMESTAMPING = 0x25
52643- SCM_TIMESTAMPING_OPT_STATS = 0x36
52644- SCM_TIMESTAMPNS = 0x23
52645- SCM_WIFI_STATUS = 0x29
52646- SECCOMP_MODE_DISABLED = 0x0
52647- SECCOMP_MODE_FILTER = 0x2
52648- SECCOMP_MODE_STRICT = 0x1
52649- SHUT_RD = 0x0
52650- SHUT_RDWR = 0x2
52651- SHUT_WR = 0x1
52652- SIOCADDDLCI = 0x8980
52653- SIOCADDMULTI = 0x8931
52654- SIOCADDRT = 0x890b
52655- SIOCATMARK = 0x8905
52656- SIOCBONDCHANGEACTIVE = 0x8995
52657- SIOCBONDENSLAVE = 0x8990
52658- SIOCBONDINFOQUERY = 0x8994
52659- SIOCBONDRELEASE = 0x8991
52660- SIOCBONDSETHWADDR = 0x8992
52661- SIOCBONDSLAVEINFOQUERY = 0x8993
52662- SIOCBRADDBR = 0x89a0
52663- SIOCBRADDIF = 0x89a2
52664- SIOCBRDELBR = 0x89a1
52665- SIOCBRDELIF = 0x89a3
52666- SIOCDARP = 0x8953
52667- SIOCDELDLCI = 0x8981
52668- SIOCDELMULTI = 0x8932
52669- SIOCDELRT = 0x890c
52670- SIOCDEVPRIVATE = 0x89f0
52671- SIOCDIFADDR = 0x8936
52672- SIOCDRARP = 0x8960
52673- SIOCETHTOOL = 0x8946
52674- SIOCGARP = 0x8954
52675- SIOCGHWTSTAMP = 0x89b1
52676- SIOCGIFADDR = 0x8915
52677- SIOCGIFBR = 0x8940
52678- SIOCGIFBRDADDR = 0x8919
52679- SIOCGIFCONF = 0x8912
52680- SIOCGIFCOUNT = 0x8938
52681- SIOCGIFDSTADDR = 0x8917
52682- SIOCGIFENCAP = 0x8925
52683- SIOCGIFFLAGS = 0x8913
52684- SIOCGIFHWADDR = 0x8927
52685- SIOCGIFINDEX = 0x8933
52686- SIOCGIFMAP = 0x8970
52687- SIOCGIFMEM = 0x891f
52688- SIOCGIFMETRIC = 0x891d
52689- SIOCGIFMTU = 0x8921
52690- SIOCGIFNAME = 0x8910
52691- SIOCGIFNETMASK = 0x891b
52692- SIOCGIFPFLAGS = 0x8935
52693- SIOCGIFSLAVE = 0x8929
52694- SIOCGIFTXQLEN = 0x8942
52695- SIOCGIFVLAN = 0x8982
52696- SIOCGMIIPHY = 0x8947
52697- SIOCGMIIREG = 0x8948
52698- SIOCGPGRP = 0x8904
52699- SIOCGRARP = 0x8961
52700- SIOCGSKNS = 0x894c
52701- SIOCGSTAMP = 0x8906
52702- SIOCGSTAMPNS = 0x8907
52703- SIOCINQ = 0x4004667f
52704- SIOCOUTQ = 0x40047473
52705- SIOCOUTQNSD = 0x894b
52706- SIOCPROTOPRIVATE = 0x89e0
52707- SIOCRTMSG = 0x890d
52708- SIOCSARP = 0x8955
52709- SIOCSHWTSTAMP = 0x89b0
52710- SIOCSIFADDR = 0x8916
52711- SIOCSIFBR = 0x8941
52712- SIOCSIFBRDADDR = 0x891a
52713- SIOCSIFDSTADDR = 0x8918
52714- SIOCSIFENCAP = 0x8926
52715- SIOCSIFFLAGS = 0x8914
52716- SIOCSIFHWADDR = 0x8924
52717- SIOCSIFHWBROADCAST = 0x8937
52718- SIOCSIFLINK = 0x8911
52719- SIOCSIFMAP = 0x8971
52720- SIOCSIFMEM = 0x8920
52721- SIOCSIFMETRIC = 0x891e
52722- SIOCSIFMTU = 0x8922
52723- SIOCSIFNAME = 0x8923
52724- SIOCSIFNETMASK = 0x891c
52725- SIOCSIFPFLAGS = 0x8934
52726- SIOCSIFSLAVE = 0x8930
52727- SIOCSIFTXQLEN = 0x8943
52728- SIOCSIFVLAN = 0x8983
52729- SIOCSMIIREG = 0x8949
52730- SIOCSPGRP = 0x8902
52731- SIOCSRARP = 0x8962
52732- SIOCWANDEV = 0x894a
52733- SOCK_CLOEXEC = 0x80000
52734- SOCK_DCCP = 0x6
52735- SOCK_DGRAM = 0x2
52736- SOCK_IOC_TYPE = 0x89
52737- SOCK_NONBLOCK = 0x800
52738- SOCK_PACKET = 0xa
52739- SOCK_RAW = 0x3
52740- SOCK_RDM = 0x4
52741- SOCK_SEQPACKET = 0x5
52742- SOCK_STREAM = 0x1
52743- SOL_AAL = 0x109
52744- SOL_ALG = 0x117
52745- SOL_ATM = 0x108
52746- SOL_CAIF = 0x116
52747- SOL_CAN_BASE = 0x64
52748- SOL_DCCP = 0x10d
52749- SOL_DECNET = 0x105
52750- SOL_ICMPV6 = 0x3a
52751- SOL_IP = 0x0
52752- SOL_IPV6 = 0x29
52753- SOL_IRDA = 0x10a
52754- SOL_IUCV = 0x115
52755- SOL_KCM = 0x119
52756- SOL_LLC = 0x10c
52757- SOL_NETBEUI = 0x10b
52758- SOL_NETLINK = 0x10e
52759- SOL_NFC = 0x118
52760- SOL_PACKET = 0x107
52761- SOL_PNPIPE = 0x113
52762- SOL_PPPOL2TP = 0x111
52763- SOL_RAW = 0xff
52764- SOL_RDS = 0x114
52765- SOL_RXRPC = 0x110
52766- SOL_SOCKET = 0x1
52767- SOL_TCP = 0x6
52768- SOL_TIPC = 0x10f
52769- SOL_X25 = 0x106
52770- SOMAXCONN = 0x80
52771- SO_ACCEPTCONN = 0x1e
52772- SO_ATTACH_BPF = 0x32
52773- SO_ATTACH_FILTER = 0x1a
52774- SO_ATTACH_REUSEPORT_CBPF = 0x33
52775- SO_ATTACH_REUSEPORT_EBPF = 0x34
52776- SO_BINDTODEVICE = 0x19
52777- SO_BPF_EXTENSIONS = 0x30
52778- SO_BROADCAST = 0x6
52779- SO_BSDCOMPAT = 0xe
52780- SO_BUSY_POLL = 0x2e
52781- SO_CNX_ADVICE = 0x35
52782- SO_DEBUG = 0x1
52783- SO_DETACH_BPF = 0x1b
52784- SO_DETACH_FILTER = 0x1b
52785- SO_DOMAIN = 0x27
52786- SO_DONTROUTE = 0x5
52787- SO_ERROR = 0x4
52788- SO_GET_FILTER = 0x1a
52789- SO_INCOMING_CPU = 0x31
52790- SO_KEEPALIVE = 0x9
52791- SO_LINGER = 0xd
52792- SO_LOCK_FILTER = 0x2c
52793- SO_MARK = 0x24
52794- SO_MAX_PACING_RATE = 0x2f
52795- SO_NOFCS = 0x2b
52796- SO_NO_CHECK = 0xb
52797- SO_OOBINLINE = 0xa
52798- SO_PASSCRED = 0x14
52799- SO_PASSSEC = 0x22
52800- SO_PEEK_OFF = 0x2a
52801- SO_PEERCRED = 0x15
52802- SO_PEERNAME = 0x1c
52803- SO_PEERSEC = 0x1f
52804- SO_PRIORITY = 0xc
52805- SO_PROTOCOL = 0x26
52806- SO_RCVBUF = 0x8
52807- SO_RCVBUFFORCE = 0x21
52808- SO_RCVLOWAT = 0x10
52809- SO_RCVTIMEO = 0x12
52810- SO_REUSEADDR = 0x2
52811- SO_REUSEPORT = 0xf
52812- SO_RXQ_OVFL = 0x28
52813- SO_SECURITY_AUTHENTICATION = 0x16
52814- SO_SECURITY_ENCRYPTION_NETWORK = 0x18
52815- SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
52816- SO_SELECT_ERR_QUEUE = 0x2d
52817- SO_SNDBUF = 0x7
52818- SO_SNDBUFFORCE = 0x20
52819- SO_SNDLOWAT = 0x11
52820- SO_SNDTIMEO = 0x13
52821- SO_TIMESTAMP = 0x1d
52822- SO_TIMESTAMPING = 0x25
52823- SO_TIMESTAMPNS = 0x23
52824- SO_TYPE = 0x3
52825- SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
52826- SO_VM_SOCKETS_BUFFER_MIN_SIZE = 0x1
52827- SO_VM_SOCKETS_BUFFER_SIZE = 0x0
52828- SO_VM_SOCKETS_CONNECT_TIMEOUT = 0x6
52829- SO_VM_SOCKETS_NONBLOCK_TXRX = 0x7
52830- SO_VM_SOCKETS_PEER_HOST_VM_ID = 0x3
52831- SO_VM_SOCKETS_TRUSTED = 0x5
52832- SO_WIFI_STATUS = 0x29
52833- SPLICE_F_GIFT = 0x8
52834- SPLICE_F_MORE = 0x4
52835- SPLICE_F_MOVE = 0x1
52836- SPLICE_F_NONBLOCK = 0x2
52837- S_BLKSIZE = 0x200
52838- S_IEXEC = 0x40
52839- S_IFBLK = 0x6000
52840- S_IFCHR = 0x2000
52841- S_IFDIR = 0x4000
52842- S_IFIFO = 0x1000
52843- S_IFLNK = 0xa000
52844- S_IFMT = 0xf000
52845- S_IFREG = 0x8000
52846- S_IFSOCK = 0xc000
52847- S_IREAD = 0x100
52848- S_IRGRP = 0x20
52849- S_IROTH = 0x4
52850- S_IRUSR = 0x100
52851- S_IRWXG = 0x38
52852- S_IRWXO = 0x7
52853- S_IRWXU = 0x1c0
52854- S_ISGID = 0x400
52855- S_ISUID = 0x800
52856- S_ISVTX = 0x200
52857- S_IWGRP = 0x10
52858- S_IWOTH = 0x2
52859- S_IWRITE = 0x80
52860- S_IWUSR = 0x80
52861- S_IXGRP = 0x8
52862- S_IXOTH = 0x1
52863- S_IXUSR = 0x40
52864- TAB0 = 0x0
52865- TAB1 = 0x400
52866- TAB2 = 0x800
52867- TAB3 = 0xc00
52868- TABDLY = 0xc00
52869- TASKSTATS_CMD_ATTR_MAX = 0x4
52870- TASKSTATS_CMD_MAX = 0x2
52871- TASKSTATS_GENL_NAME = "TASKSTATS"
52872- TASKSTATS_GENL_VERSION = 0x1
52873- TASKSTATS_TYPE_MAX = 0x6
52874- TASKSTATS_VERSION = 0x8
52875- TCFLSH = 0x2000741f
52876- TCGETA = 0x40147417
52877- TCGETS = 0x402c7413
52878- TCIFLUSH = 0x0
52879- TCIOFF = 0x2
52880- TCIOFLUSH = 0x2
52881- TCION = 0x3
52882- TCOFLUSH = 0x1
52883- TCOOFF = 0x0
52884- TCOON = 0x1
52885- TCP_CC_INFO = 0x1a
52886- TCP_CONGESTION = 0xd
52887- TCP_COOKIE_IN_ALWAYS = 0x1
52888- TCP_COOKIE_MAX = 0x10
52889- TCP_COOKIE_MIN = 0x8
52890- TCP_COOKIE_OUT_NEVER = 0x2
52891- TCP_COOKIE_PAIR_SIZE = 0x20
52892- TCP_COOKIE_TRANSACTIONS = 0xf
52893- TCP_CORK = 0x3
52894- TCP_DEFER_ACCEPT = 0x9
52895- TCP_FASTOPEN = 0x17
52896- TCP_INFO = 0xb
52897- TCP_KEEPCNT = 0x6
52898- TCP_KEEPIDLE = 0x4
52899- TCP_KEEPINTVL = 0x5
52900- TCP_LINGER2 = 0x8
52901- TCP_MAXSEG = 0x2
52902- TCP_MAXWIN = 0xffff
52903- TCP_MAX_WINSHIFT = 0xe
52904- TCP_MD5SIG = 0xe
52905- TCP_MD5SIG_MAXKEYLEN = 0x50
52906- TCP_MSS = 0x200
52907- TCP_MSS_DEFAULT = 0x218
52908- TCP_MSS_DESIRED = 0x4c4
52909- TCP_NODELAY = 0x1
52910- TCP_NOTSENT_LOWAT = 0x19
52911- TCP_QUEUE_SEQ = 0x15
52912- TCP_QUICKACK = 0xc
52913- TCP_REPAIR = 0x13
52914- TCP_REPAIR_OPTIONS = 0x16
52915- TCP_REPAIR_QUEUE = 0x14
52916- TCP_REPAIR_WINDOW = 0x1d
52917- TCP_SAVED_SYN = 0x1c
52918- TCP_SAVE_SYN = 0x1b
52919- TCP_SYNCNT = 0x7
52920- TCP_S_DATA_IN = 0x4
52921- TCP_S_DATA_OUT = 0x8
52922- TCP_THIN_DUPACK = 0x11
52923- TCP_THIN_LINEAR_TIMEOUTS = 0x10
52924- TCP_TIMESTAMP = 0x18
52925- TCP_USER_TIMEOUT = 0x12
52926- TCP_WINDOW_CLAMP = 0xa
52927- TCSAFLUSH = 0x2
52928- TCSBRK = 0x2000741d
52929- TCSBRKP = 0x5425
52930- TCSETA = 0x80147418
52931- TCSETAF = 0x8014741c
52932- TCSETAW = 0x80147419
52933- TCSETS = 0x802c7414
52934- TCSETSF = 0x802c7416
52935- TCSETSW = 0x802c7415
52936- TCXONC = 0x2000741e
52937- TIOCCBRK = 0x5428
52938- TIOCCONS = 0x541d
52939- TIOCEXCL = 0x540c
52940- TIOCGDEV = 0x40045432
52941- TIOCGETC = 0x40067412
52942- TIOCGETD = 0x5424
52943- TIOCGETP = 0x40067408
52944- TIOCGEXCL = 0x40045440
52945- TIOCGICOUNT = 0x545d
52946- TIOCGLCKTRMIOS = 0x5456
52947- TIOCGLTC = 0x40067474
52948- TIOCGPGRP = 0x40047477
52949- TIOCGPKT = 0x40045438
52950- TIOCGPTLCK = 0x40045439
52951- TIOCGPTN = 0x40045430
52952- TIOCGRS485 = 0x542e
52953- TIOCGSERIAL = 0x541e
52954- TIOCGSID = 0x5429
52955- TIOCGSOFTCAR = 0x5419
52956- TIOCGWINSZ = 0x40087468
52957- TIOCINQ = 0x4004667f
52958- TIOCLINUX = 0x541c
52959- TIOCMBIC = 0x5417
52960- TIOCMBIS = 0x5416
52961- TIOCMGET = 0x5415
52962- TIOCMIWAIT = 0x545c
52963- TIOCMSET = 0x5418
52964- TIOCM_CAR = 0x40
52965- TIOCM_CD = 0x40
52966- TIOCM_CTS = 0x20
52967- TIOCM_DSR = 0x100
52968- TIOCM_DTR = 0x2
52969- TIOCM_LE = 0x1
52970- TIOCM_LOOP = 0x8000
52971- TIOCM_OUT1 = 0x2000
52972- TIOCM_OUT2 = 0x4000
52973- TIOCM_RI = 0x80
52974- TIOCM_RNG = 0x80
52975- TIOCM_RTS = 0x4
52976- TIOCM_SR = 0x10
52977- TIOCM_ST = 0x8
52978- TIOCNOTTY = 0x5422
52979- TIOCNXCL = 0x540d
52980- TIOCOUTQ = 0x40047473
52981- TIOCPKT = 0x5420
52982- TIOCPKT_DATA = 0x0
52983- TIOCPKT_DOSTOP = 0x20
52984- TIOCPKT_FLUSHREAD = 0x1
52985- TIOCPKT_FLUSHWRITE = 0x2
52986- TIOCPKT_IOCTL = 0x40
52987- TIOCPKT_NOSTOP = 0x10
52988- TIOCPKT_START = 0x8
52989- TIOCPKT_STOP = 0x4
52990- TIOCSBRK = 0x5427
52991- TIOCSCTTY = 0x540e
52992- TIOCSERCONFIG = 0x5453
52993- TIOCSERGETLSR = 0x5459
52994- TIOCSERGETMULTI = 0x545a
52995- TIOCSERGSTRUCT = 0x5458
52996- TIOCSERGWILD = 0x5454
52997- TIOCSERSETMULTI = 0x545b
52998- TIOCSERSWILD = 0x5455
52999- TIOCSER_TEMT = 0x1
53000- TIOCSETC = 0x80067411
53001- TIOCSETD = 0x5423
53002- TIOCSETN = 0x8006740a
53003- TIOCSETP = 0x80067409
53004- TIOCSIG = 0x80045436
53005- TIOCSLCKTRMIOS = 0x5457
53006- TIOCSLTC = 0x80067475
53007- TIOCSPGRP = 0x80047476
53008- TIOCSPTLCK = 0x80045431
53009- TIOCSRS485 = 0x542f
53010- TIOCSSERIAL = 0x541f
53011- TIOCSSOFTCAR = 0x541a
53012- TIOCSTART = 0x2000746e
53013- TIOCSTI = 0x5412
53014- TIOCSTOP = 0x2000746f
53015- TIOCSWINSZ = 0x80087467
53016- TIOCVHANGUP = 0x5437
53017- TOSTOP = 0x400000
53018- TS_COMM_LEN = 0x20
53019- TUNATTACHFILTER = 0x801054d5
53020- TUNDETACHFILTER = 0x801054d6
53021- TUNGETFEATURES = 0x400454cf
53022- TUNGETFILTER = 0x401054db
53023- TUNGETIFF = 0x400454d2
53024- TUNGETSNDBUF = 0x400454d3
53025- TUNGETVNETBE = 0x400454df
53026- TUNGETVNETHDRSZ = 0x400454d7
53027- TUNGETVNETLE = 0x400454dd
53028- TUNSETDEBUG = 0x800454c9
53029- TUNSETGROUP = 0x800454ce
53030- TUNSETIFF = 0x800454ca
53031- TUNSETIFINDEX = 0x800454da
53032- TUNSETLINK = 0x800454cd
53033- TUNSETNOCSUM = 0x800454c8
53034- TUNSETOFFLOAD = 0x800454d0
53035- TUNSETOWNER = 0x800454cc
53036- TUNSETPERSIST = 0x800454cb
53037- TUNSETQUEUE = 0x800454d9
53038- TUNSETSNDBUF = 0x800454d4
53039- TUNSETTXFILTER = 0x800454d1
53040- TUNSETVNETBE = 0x800454de
53041- TUNSETVNETHDRSZ = 0x800454d8
53042- TUNSETVNETLE = 0x800454dc
53043- UMOUNT_NOFOLLOW = 0x8
53044- VDISCARD = 0x10
53045- VEOF = 0x4
53046- VEOL = 0x6
53047- VEOL2 = 0x8
53048- VERASE = 0x2
53049- VINTR = 0x0
53050- VKILL = 0x3
53051- VLNEXT = 0xf
53052- VMADDR_CID_ANY = 0xffffffff
53053- VMADDR_CID_HOST = 0x2
53054- VMADDR_CID_HYPERVISOR = 0x0
53055- VMADDR_CID_RESERVED = 0x1
53056- VMADDR_PORT_ANY = 0xffffffff
53057- VMIN = 0x5
53058- VM_SOCKETS_INVALID_VERSION = 0xffffffff
53059- VQUIT = 0x1
53060- VREPRINT = 0xb
53061- VSTART = 0xd
53062- VSTOP = 0xe
53063- VSUSP = 0xc
53064- VSWTC = 0x9
53065- VT0 = 0x0
53066- VT1 = 0x10000
53067- VTDLY = 0x10000
53068- VTIME = 0x7
53069- VWERASE = 0xa
53070- WALL = 0x40000000
53071- WCLONE = 0x80000000
53072- WCONTINUED = 0x8
53073- WEXITED = 0x4
53074- WNOHANG = 0x1
53075- WNOTHREAD = 0x20000000
53076- WNOWAIT = 0x1000000
53077- WORDSIZE = 0x40
53078- WSTOPPED = 0x2
53079- WUNTRACED = 0x2
53080- XATTR_CREATE = 0x1
53081- XATTR_REPLACE = 0x2
53082- XCASE = 0x4000
53083- XTABS = 0xc00
53084+ B1000000 = 0x17
53085+ B115200 = 0x11
53086+ B1152000 = 0x18
53087+ B1500000 = 0x19
53088+ B2000000 = 0x1a
53089+ B230400 = 0x12
53090+ B2500000 = 0x1b
53091+ B3000000 = 0x1c
53092+ B3500000 = 0x1d
53093+ B4000000 = 0x1e
53094+ B460800 = 0x13
53095+ B500000 = 0x14
53096+ B57600 = 0x10
53097+ B576000 = 0x15
53098+ B921600 = 0x16
53099+ BLKBSZGET = 0x40081270
53100+ BLKBSZSET = 0x80081271
53101+ BLKFLSBUF = 0x20001261
53102+ BLKFRAGET = 0x20001265
53103+ BLKFRASET = 0x20001264
53104+ BLKGETSIZE = 0x20001260
53105+ BLKGETSIZE64 = 0x40081272
53106+ BLKPBSZGET = 0x2000127b
53107+ BLKRAGET = 0x20001263
53108+ BLKRASET = 0x20001262
53109+ BLKROGET = 0x2000125e
53110+ BLKROSET = 0x2000125d
53111+ BLKRRPART = 0x2000125f
53112+ BLKSECTGET = 0x20001267
53113+ BLKSECTSET = 0x20001266
53114+ BLKSSZGET = 0x20001268
53115+ BOTHER = 0x1f
53116+ BS1 = 0x8000
53117+ BSDLY = 0x8000
53118+ CBAUD = 0xff
53119+ CBAUDEX = 0x0
53120+ CIBAUD = 0xff0000
53121+ CLOCAL = 0x8000
53122+ CR1 = 0x1000
53123+ CR2 = 0x2000
53124+ CR3 = 0x3000
53125+ CRDLY = 0x3000
53126+ CREAD = 0x800
53127+ CS6 = 0x100
53128+ CS7 = 0x200
53129+ CS8 = 0x300
53130+ CSIZE = 0x300
53131+ CSTOPB = 0x400
53132+ ECHOCTL = 0x40
53133+ ECHOE = 0x2
53134+ ECHOK = 0x4
53135+ ECHOKE = 0x1
53136+ ECHONL = 0x10
53137+ ECHOPRT = 0x20
53138+ EFD_CLOEXEC = 0x80000
53139+ EFD_NONBLOCK = 0x800
53140+ EPOLL_CLOEXEC = 0x80000
53141+ EXTPROC = 0x10000000
53142+ FF1 = 0x4000
53143+ FFDLY = 0x4000
53144+ FLUSHO = 0x800000
53145+ FS_IOC_ENABLE_VERITY = 0x80806685
53146+ FS_IOC_GETFLAGS = 0x40086601
53147+ FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615
53148+ FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614
53149+ FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613
53150+ F_GETLK = 0x5
53151+ F_GETLK64 = 0xc
53152+ F_GETOWN = 0x9
53153+ F_RDLCK = 0x0
53154+ F_SETLK = 0x6
53155+ F_SETLK64 = 0xd
53156+ F_SETLKW = 0x7
53157+ F_SETLKW64 = 0xe
53158+ F_SETOWN = 0x8
53159+ F_UNLCK = 0x2
53160+ F_WRLCK = 0x1
53161+ HUPCL = 0x4000
53162+ ICANON = 0x100
53163+ IEXTEN = 0x400
53164+ IN_CLOEXEC = 0x80000
53165+ IN_NONBLOCK = 0x800
53166+ IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x200007b9
53167+ ISIG = 0x80
53168+ IUCLC = 0x1000
53169+ IXOFF = 0x400
53170+ IXON = 0x200
53171+ MAP_ANON = 0x20
53172+ MAP_ANONYMOUS = 0x20
53173+ MAP_DENYWRITE = 0x800
53174+ MAP_EXECUTABLE = 0x1000
53175+ MAP_GROWSDOWN = 0x100
53176+ MAP_HUGETLB = 0x40000
53177+ MAP_LOCKED = 0x80
53178+ MAP_NONBLOCK = 0x10000
53179+ MAP_NORESERVE = 0x40
53180+ MAP_POPULATE = 0x8000
53181+ MAP_STACK = 0x20000
53182+ MAP_SYNC = 0x80000
53183+ MCL_CURRENT = 0x2000
53184+ MCL_FUTURE = 0x4000
53185+ MCL_ONFAULT = 0x8000
53186+ NFDBITS = 0x40
53187+ NL2 = 0x200
53188+ NL3 = 0x300
53189+ NLDLY = 0x300
53190+ NOFLSH = 0x80000000
53191+ NS_GET_NSTYPE = 0x2000b703
53192+ NS_GET_OWNER_UID = 0x2000b704
53193+ NS_GET_PARENT = 0x2000b702
53194+ NS_GET_USERNS = 0x2000b701
53195+ OLCUC = 0x4
53196+ ONLCR = 0x2
53197+ O_APPEND = 0x400
53198+ O_ASYNC = 0x2000
53199+ O_CLOEXEC = 0x80000
53200+ O_CREAT = 0x40
53201+ O_DIRECT = 0x20000
53202+ O_DIRECTORY = 0x4000
53203+ O_DSYNC = 0x1000
53204+ O_EXCL = 0x80
53205+ O_FSYNC = 0x101000
53206+ O_LARGEFILE = 0x0
53207+ O_NDELAY = 0x800
53208+ O_NOATIME = 0x40000
53209+ O_NOCTTY = 0x100
53210+ O_NOFOLLOW = 0x8000
53211+ O_NONBLOCK = 0x800
53212+ O_PATH = 0x200000
53213+ O_RSYNC = 0x101000
53214+ O_SYNC = 0x101000
53215+ O_TMPFILE = 0x404000
53216+ O_TRUNC = 0x200
53217+ PARENB = 0x1000
53218+ PARODD = 0x2000
53219+ PENDIN = 0x20000000
53220+ PERF_EVENT_IOC_DISABLE = 0x20002401
53221+ PERF_EVENT_IOC_ENABLE = 0x20002400
53222+ PERF_EVENT_IOC_ID = 0x40082407
53223+ PERF_EVENT_IOC_MODIFY_ATTRIBUTES = 0x8008240b
53224+ PERF_EVENT_IOC_PAUSE_OUTPUT = 0x80042409
53225+ PERF_EVENT_IOC_PERIOD = 0x80082404
53226+ PERF_EVENT_IOC_QUERY_BPF = 0xc008240a
53227+ PERF_EVENT_IOC_REFRESH = 0x20002402
53228+ PERF_EVENT_IOC_RESET = 0x20002403
53229+ PERF_EVENT_IOC_SET_BPF = 0x80042408
53230+ PERF_EVENT_IOC_SET_FILTER = 0x80082406
53231+ PERF_EVENT_IOC_SET_OUTPUT = 0x20002405
53232+ PPPIOCATTACH = 0x8004743d
53233+ PPPIOCATTCHAN = 0x80047438
53234+ PPPIOCCONNECT = 0x8004743a
53235+ PPPIOCDETACH = 0x8004743c
53236+ PPPIOCDISCONN = 0x20007439
53237+ PPPIOCGASYNCMAP = 0x40047458
53238+ PPPIOCGCHAN = 0x40047437
53239+ PPPIOCGDEBUG = 0x40047441
53240+ PPPIOCGFLAGS = 0x4004745a
53241+ PPPIOCGIDLE = 0x4010743f
53242+ PPPIOCGIDLE32 = 0x4008743f
53243+ PPPIOCGIDLE64 = 0x4010743f
53244+ PPPIOCGL2TPSTATS = 0x40487436
53245+ PPPIOCGMRU = 0x40047453
53246+ PPPIOCGRASYNCMAP = 0x40047455
53247+ PPPIOCGUNIT = 0x40047456
53248+ PPPIOCGXASYNCMAP = 0x40207450
53249+ PPPIOCSACTIVE = 0x80107446
53250+ PPPIOCSASYNCMAP = 0x80047457
53251+ PPPIOCSCOMPRESS = 0x8010744d
53252+ PPPIOCSDEBUG = 0x80047440
53253+ PPPIOCSFLAGS = 0x80047459
53254+ PPPIOCSMAXCID = 0x80047451
53255+ PPPIOCSMRRU = 0x8004743b
53256+ PPPIOCSMRU = 0x80047452
53257+ PPPIOCSNPMODE = 0x8008744b
53258+ PPPIOCSPASS = 0x80107447
53259+ PPPIOCSRASYNCMAP = 0x80047454
53260+ PPPIOCSXASYNCMAP = 0x8020744f
53261+ PPPIOCXFERUNIT = 0x2000744e
53262+ PROT_SAO = 0x10
53263+ PR_SET_PTRACER_ANY = 0xffffffffffffffff
53264+ PTRACE_GETEVRREGS = 0x14
53265+ PTRACE_GETFPREGS = 0xe
53266+ PTRACE_GETREGS64 = 0x16
53267+ PTRACE_GETVRREGS = 0x12
53268+ PTRACE_GETVSRREGS = 0x1b
53269+ PTRACE_GET_DEBUGREG = 0x19
53270+ PTRACE_SETEVRREGS = 0x15
53271+ PTRACE_SETFPREGS = 0xf
53272+ PTRACE_SETREGS64 = 0x17
53273+ PTRACE_SETVRREGS = 0x13
53274+ PTRACE_SETVSRREGS = 0x1c
53275+ PTRACE_SET_DEBUGREG = 0x1a
53276+ PTRACE_SINGLEBLOCK = 0x100
53277+ PTRACE_SYSEMU = 0x1d
53278+ PTRACE_SYSEMU_SINGLESTEP = 0x1e
53279+ PT_CCR = 0x26
53280+ PT_CTR = 0x23
53281+ PT_DAR = 0x29
53282+ PT_DSCR = 0x2c
53283+ PT_DSISR = 0x2a
53284+ PT_FPR0 = 0x30
53285+ PT_FPSCR = 0x50
53286+ PT_LNK = 0x24
53287+ PT_MSR = 0x21
53288+ PT_NIP = 0x20
53289+ PT_ORIG_R3 = 0x22
53290+ PT_R0 = 0x0
53291+ PT_R1 = 0x1
53292+ PT_R10 = 0xa
53293+ PT_R11 = 0xb
53294+ PT_R12 = 0xc
53295+ PT_R13 = 0xd
53296+ PT_R14 = 0xe
53297+ PT_R15 = 0xf
53298+ PT_R16 = 0x10
53299+ PT_R17 = 0x11
53300+ PT_R18 = 0x12
53301+ PT_R19 = 0x13
53302+ PT_R2 = 0x2
53303+ PT_R20 = 0x14
53304+ PT_R21 = 0x15
53305+ PT_R22 = 0x16
53306+ PT_R23 = 0x17
53307+ PT_R24 = 0x18
53308+ PT_R25 = 0x19
53309+ PT_R26 = 0x1a
53310+ PT_R27 = 0x1b
53311+ PT_R28 = 0x1c
53312+ PT_R29 = 0x1d
53313+ PT_R3 = 0x3
53314+ PT_R30 = 0x1e
53315+ PT_R31 = 0x1f
53316+ PT_R4 = 0x4
53317+ PT_R5 = 0x5
53318+ PT_R6 = 0x6
53319+ PT_R7 = 0x7
53320+ PT_R8 = 0x8
53321+ PT_R9 = 0x9
53322+ PT_REGS_COUNT = 0x2c
53323+ PT_RESULT = 0x2b
53324+ PT_SOFTE = 0x27
53325+ PT_TRAP = 0x28
53326+ PT_VR0 = 0x52
53327+ PT_VRSAVE = 0x94
53328+ PT_VSCR = 0x93
53329+ PT_VSR0 = 0x96
53330+ PT_VSR31 = 0xd4
53331+ PT_XER = 0x25
53332+ RLIMIT_AS = 0x9
53333+ RLIMIT_MEMLOCK = 0x8
53334+ RLIMIT_NOFILE = 0x7
53335+ RLIMIT_NPROC = 0x6
53336+ RLIMIT_RSS = 0x5
53337+ RNDADDENTROPY = 0x80085203
53338+ RNDADDTOENTCNT = 0x80045201
53339+ RNDCLEARPOOL = 0x20005206
53340+ RNDGETENTCNT = 0x40045200
53341+ RNDGETPOOL = 0x40085202
53342+ RNDRESEEDCRNG = 0x20005207
53343+ RNDZAPENTCNT = 0x20005204
53344+ RTC_AIE_OFF = 0x20007002
53345+ RTC_AIE_ON = 0x20007001
53346+ RTC_ALM_READ = 0x40247008
53347+ RTC_ALM_SET = 0x80247007
53348+ RTC_EPOCH_READ = 0x4008700d
53349+ RTC_EPOCH_SET = 0x8008700e
53350+ RTC_IRQP_READ = 0x4008700b
53351+ RTC_IRQP_SET = 0x8008700c
53352+ RTC_PIE_OFF = 0x20007006
53353+ RTC_PIE_ON = 0x20007005
53354+ RTC_PLL_GET = 0x40207011
53355+ RTC_PLL_SET = 0x80207012
53356+ RTC_RD_TIME = 0x40247009
53357+ RTC_SET_TIME = 0x8024700a
53358+ RTC_UIE_OFF = 0x20007004
53359+ RTC_UIE_ON = 0x20007003
53360+ RTC_VL_CLR = 0x20007014
53361+ RTC_VL_READ = 0x40047013
53362+ RTC_WIE_OFF = 0x20007010
53363+ RTC_WIE_ON = 0x2000700f
53364+ RTC_WKALM_RD = 0x40287010
53365+ RTC_WKALM_SET = 0x8028700f
53366+ SCM_TIMESTAMPING = 0x25
53367+ SCM_TIMESTAMPING_OPT_STATS = 0x36
53368+ SCM_TIMESTAMPING_PKTINFO = 0x3a
53369+ SCM_TIMESTAMPNS = 0x23
53370+ SCM_TXTIME = 0x3d
53371+ SCM_WIFI_STATUS = 0x29
53372+ SFD_CLOEXEC = 0x80000
53373+ SFD_NONBLOCK = 0x800
53374+ SIOCATMARK = 0x8905
53375+ SIOCGPGRP = 0x8904
53376+ SIOCGSTAMPNS_NEW = 0x40108907
53377+ SIOCGSTAMP_NEW = 0x40108906
53378+ SIOCINQ = 0x4004667f
53379+ SIOCOUTQ = 0x40047473
53380+ SIOCSPGRP = 0x8902
53381+ SOCK_CLOEXEC = 0x80000
53382+ SOCK_DGRAM = 0x2
53383+ SOCK_NONBLOCK = 0x800
53384+ SOCK_STREAM = 0x1
53385+ SOL_SOCKET = 0x1
53386+ SO_ACCEPTCONN = 0x1e
53387+ SO_ATTACH_BPF = 0x32
53388+ SO_ATTACH_REUSEPORT_CBPF = 0x33
53389+ SO_ATTACH_REUSEPORT_EBPF = 0x34
53390+ SO_BINDTODEVICE = 0x19
53391+ SO_BINDTOIFINDEX = 0x3e
53392+ SO_BPF_EXTENSIONS = 0x30
53393+ SO_BROADCAST = 0x6
53394+ SO_BSDCOMPAT = 0xe
53395+ SO_BUSY_POLL = 0x2e
53396+ SO_CNX_ADVICE = 0x35
53397+ SO_COOKIE = 0x39
53398+ SO_DETACH_REUSEPORT_BPF = 0x44
53399+ SO_DOMAIN = 0x27
53400+ SO_DONTROUTE = 0x5
53401+ SO_ERROR = 0x4
53402+ SO_INCOMING_CPU = 0x31
53403+ SO_INCOMING_NAPI_ID = 0x38
53404+ SO_KEEPALIVE = 0x9
53405+ SO_LINGER = 0xd
53406+ SO_LOCK_FILTER = 0x2c
53407+ SO_MARK = 0x24
53408+ SO_MAX_PACING_RATE = 0x2f
53409+ SO_MEMINFO = 0x37
53410+ SO_NOFCS = 0x2b
53411+ SO_OOBINLINE = 0xa
53412+ SO_PASSCRED = 0x14
53413+ SO_PASSSEC = 0x22
53414+ SO_PEEK_OFF = 0x2a
53415+ SO_PEERCRED = 0x15
53416+ SO_PEERGROUPS = 0x3b
53417+ SO_PEERSEC = 0x1f
53418+ SO_PROTOCOL = 0x26
53419+ SO_RCVBUF = 0x8
53420+ SO_RCVBUFFORCE = 0x21
53421+ SO_RCVLOWAT = 0x10
53422+ SO_RCVTIMEO = 0x12
53423+ SO_RCVTIMEO_NEW = 0x42
53424+ SO_RCVTIMEO_OLD = 0x12
53425+ SO_REUSEADDR = 0x2
53426+ SO_REUSEPORT = 0xf
53427+ SO_RXQ_OVFL = 0x28
53428+ SO_SECURITY_AUTHENTICATION = 0x16
53429+ SO_SECURITY_ENCRYPTION_NETWORK = 0x18
53430+ SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
53431+ SO_SELECT_ERR_QUEUE = 0x2d
53432+ SO_SNDBUF = 0x7
53433+ SO_SNDBUFFORCE = 0x20
53434+ SO_SNDLOWAT = 0x11
53435+ SO_SNDTIMEO = 0x13
53436+ SO_SNDTIMEO_NEW = 0x43
53437+ SO_SNDTIMEO_OLD = 0x13
53438+ SO_TIMESTAMPING = 0x25
53439+ SO_TIMESTAMPING_NEW = 0x41
53440+ SO_TIMESTAMPING_OLD = 0x25
53441+ SO_TIMESTAMPNS = 0x23
53442+ SO_TIMESTAMPNS_NEW = 0x40
53443+ SO_TIMESTAMPNS_OLD = 0x23
53444+ SO_TIMESTAMP_NEW = 0x3f
53445+ SO_TXTIME = 0x3d
53446+ SO_TYPE = 0x3
53447+ SO_WIFI_STATUS = 0x29
53448+ SO_ZEROCOPY = 0x3c
53449+ TAB1 = 0x400
53450+ TAB2 = 0x800
53451+ TAB3 = 0xc00
53452+ TABDLY = 0xc00
53453+ TCFLSH = 0x2000741f
53454+ TCGETA = 0x40147417
53455+ TCGETS = 0x402c7413
53456+ TCSAFLUSH = 0x2
53457+ TCSBRK = 0x2000741d
53458+ TCSBRKP = 0x5425
53459+ TCSETA = 0x80147418
53460+ TCSETAF = 0x8014741c
53461+ TCSETAW = 0x80147419
53462+ TCSETS = 0x802c7414
53463+ TCSETSF = 0x802c7416
53464+ TCSETSW = 0x802c7415
53465+ TCXONC = 0x2000741e
53466+ TIOCCBRK = 0x5428
53467+ TIOCCONS = 0x541d
53468+ TIOCEXCL = 0x540c
53469+ TIOCGDEV = 0x40045432
53470+ TIOCGETC = 0x40067412
53471+ TIOCGETD = 0x5424
53472+ TIOCGETP = 0x40067408
53473+ TIOCGEXCL = 0x40045440
53474+ TIOCGICOUNT = 0x545d
53475+ TIOCGISO7816 = 0x40285442
53476+ TIOCGLCKTRMIOS = 0x5456
53477+ TIOCGLTC = 0x40067474
53478+ TIOCGPGRP = 0x40047477
53479+ TIOCGPKT = 0x40045438
53480+ TIOCGPTLCK = 0x40045439
53481+ TIOCGPTN = 0x40045430
53482+ TIOCGPTPEER = 0x20005441
53483+ TIOCGRS485 = 0x542e
53484+ TIOCGSERIAL = 0x541e
53485+ TIOCGSID = 0x5429
53486+ TIOCGSOFTCAR = 0x5419
53487+ TIOCGWINSZ = 0x40087468
53488+ TIOCINQ = 0x4004667f
53489+ TIOCLINUX = 0x541c
53490+ TIOCMBIC = 0x5417
53491+ TIOCMBIS = 0x5416
53492+ TIOCMGET = 0x5415
53493+ TIOCMIWAIT = 0x545c
53494+ TIOCMSET = 0x5418
53495+ TIOCM_CAR = 0x40
53496+ TIOCM_CD = 0x40
53497+ TIOCM_CTS = 0x20
53498+ TIOCM_DSR = 0x100
53499+ TIOCM_LOOP = 0x8000
53500+ TIOCM_OUT1 = 0x2000
53501+ TIOCM_OUT2 = 0x4000
53502+ TIOCM_RI = 0x80
53503+ TIOCM_RNG = 0x80
53504+ TIOCM_SR = 0x10
53505+ TIOCM_ST = 0x8
53506+ TIOCNOTTY = 0x5422
53507+ TIOCNXCL = 0x540d
53508+ TIOCOUTQ = 0x40047473
53509+ TIOCPKT = 0x5420
53510+ TIOCSBRK = 0x5427
53511+ TIOCSCTTY = 0x540e
53512+ TIOCSERCONFIG = 0x5453
53513+ TIOCSERGETLSR = 0x5459
53514+ TIOCSERGETMULTI = 0x545a
53515+ TIOCSERGSTRUCT = 0x5458
53516+ TIOCSERGWILD = 0x5454
53517+ TIOCSERSETMULTI = 0x545b
53518+ TIOCSERSWILD = 0x5455
53519+ TIOCSER_TEMT = 0x1
53520+ TIOCSETC = 0x80067411
53521+ TIOCSETD = 0x5423
53522+ TIOCSETN = 0x8006740a
53523+ TIOCSETP = 0x80067409
53524+ TIOCSIG = 0x80045436
53525+ TIOCSISO7816 = 0xc0285443
53526+ TIOCSLCKTRMIOS = 0x5457
53527+ TIOCSLTC = 0x80067475
53528+ TIOCSPGRP = 0x80047476
53529+ TIOCSPTLCK = 0x80045431
53530+ TIOCSRS485 = 0x542f
53531+ TIOCSSERIAL = 0x541f
53532+ TIOCSSOFTCAR = 0x541a
53533+ TIOCSTART = 0x2000746e
53534+ TIOCSTI = 0x5412
53535+ TIOCSTOP = 0x2000746f
53536+ TIOCSWINSZ = 0x80087467
53537+ TIOCVHANGUP = 0x5437
53538+ TOSTOP = 0x400000
53539+ TUNATTACHFILTER = 0x801054d5
53540+ TUNDETACHFILTER = 0x801054d6
53541+ TUNGETDEVNETNS = 0x200054e3
53542+ TUNGETFEATURES = 0x400454cf
53543+ TUNGETFILTER = 0x401054db
53544+ TUNGETIFF = 0x400454d2
53545+ TUNGETSNDBUF = 0x400454d3
53546+ TUNGETVNETBE = 0x400454df
53547+ TUNGETVNETHDRSZ = 0x400454d7
53548+ TUNGETVNETLE = 0x400454dd
53549+ TUNSETCARRIER = 0x800454e2
53550+ TUNSETDEBUG = 0x800454c9
53551+ TUNSETFILTEREBPF = 0x400454e1
53552+ TUNSETGROUP = 0x800454ce
53553+ TUNSETIFF = 0x800454ca
53554+ TUNSETIFINDEX = 0x800454da
53555+ TUNSETLINK = 0x800454cd
53556+ TUNSETNOCSUM = 0x800454c8
53557+ TUNSETOFFLOAD = 0x800454d0
53558+ TUNSETOWNER = 0x800454cc
53559+ TUNSETPERSIST = 0x800454cb
53560+ TUNSETQUEUE = 0x800454d9
53561+ TUNSETSNDBUF = 0x800454d4
53562+ TUNSETSTEERINGEBPF = 0x400454e0
53563+ TUNSETTXFILTER = 0x800454d1
53564+ TUNSETVNETBE = 0x800454de
53565+ TUNSETVNETHDRSZ = 0x800454d8
53566+ TUNSETVNETLE = 0x800454dc
53567+ UBI_IOCATT = 0x80186f40
53568+ UBI_IOCDET = 0x80046f41
53569+ UBI_IOCEBCH = 0x80044f02
53570+ UBI_IOCEBER = 0x80044f01
53571+ UBI_IOCEBISMAP = 0x40044f05
53572+ UBI_IOCEBMAP = 0x80084f03
53573+ UBI_IOCEBUNMAP = 0x80044f04
53574+ UBI_IOCMKVOL = 0x80986f00
53575+ UBI_IOCRMVOL = 0x80046f01
53576+ UBI_IOCRNVOL = 0x91106f03
53577+ UBI_IOCRPEB = 0x80046f04
53578+ UBI_IOCRSVOL = 0x800c6f02
53579+ UBI_IOCSETVOLPROP = 0x80104f06
53580+ UBI_IOCSPEB = 0x80046f05
53581+ UBI_IOCVOLCRBLK = 0x80804f07
53582+ UBI_IOCVOLRMBLK = 0x20004f08
53583+ UBI_IOCVOLUP = 0x80084f00
53584+ VDISCARD = 0x10
53585+ VEOF = 0x4
53586+ VEOL = 0x6
53587+ VEOL2 = 0x8
53588+ VMIN = 0x5
53589+ VREPRINT = 0xb
53590+ VSTART = 0xd
53591+ VSTOP = 0xe
53592+ VSUSP = 0xc
53593+ VSWTC = 0x9
53594+ VT1 = 0x10000
53595+ VTDLY = 0x10000
53596+ VTIME = 0x7
53597+ VWERASE = 0xa
53598+ WDIOC_GETBOOTSTATUS = 0x40045702
53599+ WDIOC_GETPRETIMEOUT = 0x40045709
53600+ WDIOC_GETSTATUS = 0x40045701
53601+ WDIOC_GETSUPPORT = 0x40285700
53602+ WDIOC_GETTEMP = 0x40045703
53603+ WDIOC_GETTIMELEFT = 0x4004570a
53604+ WDIOC_GETTIMEOUT = 0x40045707
53605+ WDIOC_KEEPALIVE = 0x40045705
53606+ WDIOC_SETOPTIONS = 0x40045704
53607+ WORDSIZE = 0x40
53608+ XCASE = 0x4000
53609+ XTABS = 0xc00
53610 )
53611
53612 // Errors
53613 const (
53614- E2BIG = syscall.Errno(0x7)
53615- EACCES = syscall.Errno(0xd)
53616 EADDRINUSE = syscall.Errno(0x62)
53617 EADDRNOTAVAIL = syscall.Errno(0x63)
53618 EADV = syscall.Errno(0x44)
53619 EAFNOSUPPORT = syscall.Errno(0x61)
53620- EAGAIN = syscall.Errno(0xb)
53621 EALREADY = syscall.Errno(0x72)
53622 EBADE = syscall.Errno(0x34)
53623- EBADF = syscall.Errno(0x9)
53624 EBADFD = syscall.Errno(0x4d)
53625 EBADMSG = syscall.Errno(0x4a)
53626 EBADR = syscall.Errno(0x35)
53627 EBADRQC = syscall.Errno(0x38)
53628 EBADSLT = syscall.Errno(0x39)
53629 EBFONT = syscall.Errno(0x3b)
53630- EBUSY = syscall.Errno(0x10)
53631 ECANCELED = syscall.Errno(0x7d)
53632- ECHILD = syscall.Errno(0xa)
53633 ECHRNG = syscall.Errno(0x2c)
53634 ECOMM = syscall.Errno(0x46)
53635 ECONNABORTED = syscall.Errno(0x67)
53636@@ -1943,23 +562,15 @@ const (
53637 EDEADLK = syscall.Errno(0x23)
53638 EDEADLOCK = syscall.Errno(0x3a)
53639 EDESTADDRREQ = syscall.Errno(0x59)
53640- EDOM = syscall.Errno(0x21)
53641 EDOTDOT = syscall.Errno(0x49)
53642 EDQUOT = syscall.Errno(0x7a)
53643- EEXIST = syscall.Errno(0x11)
53644- EFAULT = syscall.Errno(0xe)
53645- EFBIG = syscall.Errno(0x1b)
53646 EHOSTDOWN = syscall.Errno(0x70)
53647 EHOSTUNREACH = syscall.Errno(0x71)
53648 EHWPOISON = syscall.Errno(0x85)
53649 EIDRM = syscall.Errno(0x2b)
53650 EILSEQ = syscall.Errno(0x54)
53651 EINPROGRESS = syscall.Errno(0x73)
53652- EINTR = syscall.Errno(0x4)
53653- EINVAL = syscall.Errno(0x16)
53654- EIO = syscall.Errno(0x5)
53655 EISCONN = syscall.Errno(0x6a)
53656- EISDIR = syscall.Errno(0x15)
53657 EISNAM = syscall.Errno(0x78)
53658 EKEYEXPIRED = syscall.Errno(0x7f)
53659 EKEYREJECTED = syscall.Errno(0x81)
53660@@ -1976,8 +587,6 @@ const (
53661 ELNRNG = syscall.Errno(0x30)
53662 ELOOP = syscall.Errno(0x28)
53663 EMEDIUMTYPE = syscall.Errno(0x7c)
53664- EMFILE = syscall.Errno(0x18)
53665- EMLINK = syscall.Errno(0x1f)
53666 EMSGSIZE = syscall.Errno(0x5a)
53667 EMULTIHOP = syscall.Errno(0x48)
53668 ENAMETOOLONG = syscall.Errno(0x24)
53669@@ -1985,103 +594,70 @@ const (
53670 ENETDOWN = syscall.Errno(0x64)
53671 ENETRESET = syscall.Errno(0x66)
53672 ENETUNREACH = syscall.Errno(0x65)
53673- ENFILE = syscall.Errno(0x17)
53674 ENOANO = syscall.Errno(0x37)
53675 ENOBUFS = syscall.Errno(0x69)
53676 ENOCSI = syscall.Errno(0x32)
53677 ENODATA = syscall.Errno(0x3d)
53678- ENODEV = syscall.Errno(0x13)
53679- ENOENT = syscall.Errno(0x2)
53680- ENOEXEC = syscall.Errno(0x8)
53681 ENOKEY = syscall.Errno(0x7e)
53682 ENOLCK = syscall.Errno(0x25)
53683 ENOLINK = syscall.Errno(0x43)
53684 ENOMEDIUM = syscall.Errno(0x7b)
53685- ENOMEM = syscall.Errno(0xc)
53686 ENOMSG = syscall.Errno(0x2a)
53687 ENONET = syscall.Errno(0x40)
53688 ENOPKG = syscall.Errno(0x41)
53689 ENOPROTOOPT = syscall.Errno(0x5c)
53690- ENOSPC = syscall.Errno(0x1c)
53691 ENOSR = syscall.Errno(0x3f)
53692 ENOSTR = syscall.Errno(0x3c)
53693 ENOSYS = syscall.Errno(0x26)
53694- ENOTBLK = syscall.Errno(0xf)
53695 ENOTCONN = syscall.Errno(0x6b)
53696- ENOTDIR = syscall.Errno(0x14)
53697 ENOTEMPTY = syscall.Errno(0x27)
53698 ENOTNAM = syscall.Errno(0x76)
53699 ENOTRECOVERABLE = syscall.Errno(0x83)
53700 ENOTSOCK = syscall.Errno(0x58)
53701 ENOTSUP = syscall.Errno(0x5f)
53702- ENOTTY = syscall.Errno(0x19)
53703 ENOTUNIQ = syscall.Errno(0x4c)
53704- ENXIO = syscall.Errno(0x6)
53705 EOPNOTSUPP = syscall.Errno(0x5f)
53706 EOVERFLOW = syscall.Errno(0x4b)
53707 EOWNERDEAD = syscall.Errno(0x82)
53708- EPERM = syscall.Errno(0x1)
53709 EPFNOSUPPORT = syscall.Errno(0x60)
53710- EPIPE = syscall.Errno(0x20)
53711 EPROTO = syscall.Errno(0x47)
53712 EPROTONOSUPPORT = syscall.Errno(0x5d)
53713 EPROTOTYPE = syscall.Errno(0x5b)
53714- ERANGE = syscall.Errno(0x22)
53715 EREMCHG = syscall.Errno(0x4e)
53716 EREMOTE = syscall.Errno(0x42)
53717 EREMOTEIO = syscall.Errno(0x79)
53718 ERESTART = syscall.Errno(0x55)
53719 ERFKILL = syscall.Errno(0x84)
53720- EROFS = syscall.Errno(0x1e)
53721 ESHUTDOWN = syscall.Errno(0x6c)
53722 ESOCKTNOSUPPORT = syscall.Errno(0x5e)
53723- ESPIPE = syscall.Errno(0x1d)
53724- ESRCH = syscall.Errno(0x3)
53725 ESRMNT = syscall.Errno(0x45)
53726 ESTALE = syscall.Errno(0x74)
53727 ESTRPIPE = syscall.Errno(0x56)
53728 ETIME = syscall.Errno(0x3e)
53729 ETIMEDOUT = syscall.Errno(0x6e)
53730 ETOOMANYREFS = syscall.Errno(0x6d)
53731- ETXTBSY = syscall.Errno(0x1a)
53732 EUCLEAN = syscall.Errno(0x75)
53733 EUNATCH = syscall.Errno(0x31)
53734 EUSERS = syscall.Errno(0x57)
53735- EWOULDBLOCK = syscall.Errno(0xb)
53736- EXDEV = syscall.Errno(0x12)
53737 EXFULL = syscall.Errno(0x36)
53738 )
53739
53740 // Signals
53741 const (
53742- SIGABRT = syscall.Signal(0x6)
53743- SIGALRM = syscall.Signal(0xe)
53744 SIGBUS = syscall.Signal(0x7)
53745 SIGCHLD = syscall.Signal(0x11)
53746 SIGCLD = syscall.Signal(0x11)
53747 SIGCONT = syscall.Signal(0x12)
53748- SIGFPE = syscall.Signal(0x8)
53749- SIGHUP = syscall.Signal(0x1)
53750- SIGILL = syscall.Signal(0x4)
53751- SIGINT = syscall.Signal(0x2)
53752 SIGIO = syscall.Signal(0x1d)
53753- SIGIOT = syscall.Signal(0x6)
53754- SIGKILL = syscall.Signal(0x9)
53755- SIGPIPE = syscall.Signal(0xd)
53756 SIGPOLL = syscall.Signal(0x1d)
53757 SIGPROF = syscall.Signal(0x1b)
53758 SIGPWR = syscall.Signal(0x1e)
53759- SIGQUIT = syscall.Signal(0x3)
53760- SIGSEGV = syscall.Signal(0xb)
53761 SIGSTKFLT = syscall.Signal(0x10)
53762 SIGSTOP = syscall.Signal(0x13)
53763 SIGSYS = syscall.Signal(0x1f)
53764- SIGTERM = syscall.Signal(0xf)
53765- SIGTRAP = syscall.Signal(0x5)
53766 SIGTSTP = syscall.Signal(0x14)
53767 SIGTTIN = syscall.Signal(0x15)
53768 SIGTTOU = syscall.Signal(0x16)
53769- SIGUNUSED = syscall.Signal(0x1f)
53770 SIGURG = syscall.Signal(0x17)
53771 SIGUSR1 = syscall.Signal(0xa)
53772 SIGUSR2 = syscall.Signal(0xc)
53773@@ -2092,172 +668,180 @@ const (
53774 )
53775
53776 // Error table
53777-var errors = [...]string{
53778- 1: "operation not permitted",
53779- 2: "no such file or directory",
53780- 3: "no such process",
53781- 4: "interrupted system call",
53782- 5: "input/output error",
53783- 6: "no such device or address",
53784- 7: "argument list too long",
53785- 8: "exec format error",
53786- 9: "bad file descriptor",
53787- 10: "no child processes",
53788- 11: "resource temporarily unavailable",
53789- 12: "cannot allocate memory",
53790- 13: "permission denied",
53791- 14: "bad address",
53792- 15: "block device required",
53793- 16: "device or resource busy",
53794- 17: "file exists",
53795- 18: "invalid cross-device link",
53796- 19: "no such device",
53797- 20: "not a directory",
53798- 21: "is a directory",
53799- 22: "invalid argument",
53800- 23: "too many open files in system",
53801- 24: "too many open files",
53802- 25: "inappropriate ioctl for device",
53803- 26: "text file busy",
53804- 27: "file too large",
53805- 28: "no space left on device",
53806- 29: "illegal seek",
53807- 30: "read-only file system",
53808- 31: "too many links",
53809- 32: "broken pipe",
53810- 33: "numerical argument out of domain",
53811- 34: "numerical result out of range",
53812- 35: "resource deadlock avoided",
53813- 36: "file name too long",
53814- 37: "no locks available",
53815- 38: "function not implemented",
53816- 39: "directory not empty",
53817- 40: "too many levels of symbolic links",
53818- 42: "no message of desired type",
53819- 43: "identifier removed",
53820- 44: "channel number out of range",
53821- 45: "level 2 not synchronized",
53822- 46: "level 3 halted",
53823- 47: "level 3 reset",
53824- 48: "link number out of range",
53825- 49: "protocol driver not attached",
53826- 50: "no CSI structure available",
53827- 51: "level 2 halted",
53828- 52: "invalid exchange",
53829- 53: "invalid request descriptor",
53830- 54: "exchange full",
53831- 55: "no anode",
53832- 56: "invalid request code",
53833- 57: "invalid slot",
53834- 58: "file locking deadlock error",
53835- 59: "bad font file format",
53836- 60: "device not a stream",
53837- 61: "no data available",
53838- 62: "timer expired",
53839- 63: "out of streams resources",
53840- 64: "machine is not on the network",
53841- 65: "package not installed",
53842- 66: "object is remote",
53843- 67: "link has been severed",
53844- 68: "advertise error",
53845- 69: "srmount error",
53846- 70: "communication error on send",
53847- 71: "protocol error",
53848- 72: "multihop attempted",
53849- 73: "RFS specific error",
53850- 74: "bad message",
53851- 75: "value too large for defined data type",
53852- 76: "name not unique on network",
53853- 77: "file descriptor in bad state",
53854- 78: "remote address changed",
53855- 79: "can not access a needed shared library",
53856- 80: "accessing a corrupted shared library",
53857- 81: ".lib section in a.out corrupted",
53858- 82: "attempting to link in too many shared libraries",
53859- 83: "cannot exec a shared library directly",
53860- 84: "invalid or incomplete multibyte or wide character",
53861- 85: "interrupted system call should be restarted",
53862- 86: "streams pipe error",
53863- 87: "too many users",
53864- 88: "socket operation on non-socket",
53865- 89: "destination address required",
53866- 90: "message too long",
53867- 91: "protocol wrong type for socket",
53868- 92: "protocol not available",
53869- 93: "protocol not supported",
53870- 94: "socket type not supported",
53871- 95: "operation not supported",
53872- 96: "protocol family not supported",
53873- 97: "address family not supported by protocol",
53874- 98: "address already in use",
53875- 99: "cannot assign requested address",
53876- 100: "network is down",
53877- 101: "network is unreachable",
53878- 102: "network dropped connection on reset",
53879- 103: "software caused connection abort",
53880- 104: "connection reset by peer",
53881- 105: "no buffer space available",
53882- 106: "transport endpoint is already connected",
53883- 107: "transport endpoint is not connected",
53884- 108: "cannot send after transport endpoint shutdown",
53885- 109: "too many references: cannot splice",
53886- 110: "connection timed out",
53887- 111: "connection refused",
53888- 112: "host is down",
53889- 113: "no route to host",
53890- 114: "operation already in progress",
53891- 115: "operation now in progress",
53892- 116: "stale file handle",
53893- 117: "structure needs cleaning",
53894- 118: "not a XENIX named type file",
53895- 119: "no XENIX semaphores available",
53896- 120: "is a named type file",
53897- 121: "remote I/O error",
53898- 122: "disk quota exceeded",
53899- 123: "no medium found",
53900- 124: "wrong medium type",
53901- 125: "operation canceled",
53902- 126: "required key not available",
53903- 127: "key has expired",
53904- 128: "key has been revoked",
53905- 129: "key was rejected by service",
53906- 130: "owner died",
53907- 131: "state not recoverable",
53908- 132: "operation not possible due to RF-kill",
53909- 133: "memory page has hardware error",
53910+var errorList = [...]struct {
53911+ num syscall.Errno
53912+ name string
53913+ desc string
53914+}{
53915+ {1, "EPERM", "operation not permitted"},
53916+ {2, "ENOENT", "no such file or directory"},
53917+ {3, "ESRCH", "no such process"},
53918+ {4, "EINTR", "interrupted system call"},
53919+ {5, "EIO", "input/output error"},
53920+ {6, "ENXIO", "no such device or address"},
53921+ {7, "E2BIG", "argument list too long"},
53922+ {8, "ENOEXEC", "exec format error"},
53923+ {9, "EBADF", "bad file descriptor"},
53924+ {10, "ECHILD", "no child processes"},
53925+ {11, "EAGAIN", "resource temporarily unavailable"},
53926+ {12, "ENOMEM", "cannot allocate memory"},
53927+ {13, "EACCES", "permission denied"},
53928+ {14, "EFAULT", "bad address"},
53929+ {15, "ENOTBLK", "block device required"},
53930+ {16, "EBUSY", "device or resource busy"},
53931+ {17, "EEXIST", "file exists"},
53932+ {18, "EXDEV", "invalid cross-device link"},
53933+ {19, "ENODEV", "no such device"},
53934+ {20, "ENOTDIR", "not a directory"},
53935+ {21, "EISDIR", "is a directory"},
53936+ {22, "EINVAL", "invalid argument"},
53937+ {23, "ENFILE", "too many open files in system"},
53938+ {24, "EMFILE", "too many open files"},
53939+ {25, "ENOTTY", "inappropriate ioctl for device"},
53940+ {26, "ETXTBSY", "text file busy"},
53941+ {27, "EFBIG", "file too large"},
53942+ {28, "ENOSPC", "no space left on device"},
53943+ {29, "ESPIPE", "illegal seek"},
53944+ {30, "EROFS", "read-only file system"},
53945+ {31, "EMLINK", "too many links"},
53946+ {32, "EPIPE", "broken pipe"},
53947+ {33, "EDOM", "numerical argument out of domain"},
53948+ {34, "ERANGE", "numerical result out of range"},
53949+ {35, "EDEADLK", "resource deadlock avoided"},
53950+ {36, "ENAMETOOLONG", "file name too long"},
53951+ {37, "ENOLCK", "no locks available"},
53952+ {38, "ENOSYS", "function not implemented"},
53953+ {39, "ENOTEMPTY", "directory not empty"},
53954+ {40, "ELOOP", "too many levels of symbolic links"},
53955+ {42, "ENOMSG", "no message of desired type"},
53956+ {43, "EIDRM", "identifier removed"},
53957+ {44, "ECHRNG", "channel number out of range"},
53958+ {45, "EL2NSYNC", "level 2 not synchronized"},
53959+ {46, "EL3HLT", "level 3 halted"},
53960+ {47, "EL3RST", "level 3 reset"},
53961+ {48, "ELNRNG", "link number out of range"},
53962+ {49, "EUNATCH", "protocol driver not attached"},
53963+ {50, "ENOCSI", "no CSI structure available"},
53964+ {51, "EL2HLT", "level 2 halted"},
53965+ {52, "EBADE", "invalid exchange"},
53966+ {53, "EBADR", "invalid request descriptor"},
53967+ {54, "EXFULL", "exchange full"},
53968+ {55, "ENOANO", "no anode"},
53969+ {56, "EBADRQC", "invalid request code"},
53970+ {57, "EBADSLT", "invalid slot"},
53971+ {58, "EDEADLOCK", "file locking deadlock error"},
53972+ {59, "EBFONT", "bad font file format"},
53973+ {60, "ENOSTR", "device not a stream"},
53974+ {61, "ENODATA", "no data available"},
53975+ {62, "ETIME", "timer expired"},
53976+ {63, "ENOSR", "out of streams resources"},
53977+ {64, "ENONET", "machine is not on the network"},
53978+ {65, "ENOPKG", "package not installed"},
53979+ {66, "EREMOTE", "object is remote"},
53980+ {67, "ENOLINK", "link has been severed"},
53981+ {68, "EADV", "advertise error"},
53982+ {69, "ESRMNT", "srmount error"},
53983+ {70, "ECOMM", "communication error on send"},
53984+ {71, "EPROTO", "protocol error"},
53985+ {72, "EMULTIHOP", "multihop attempted"},
53986+ {73, "EDOTDOT", "RFS specific error"},
53987+ {74, "EBADMSG", "bad message"},
53988+ {75, "EOVERFLOW", "value too large for defined data type"},
53989+ {76, "ENOTUNIQ", "name not unique on network"},
53990+ {77, "EBADFD", "file descriptor in bad state"},
53991+ {78, "EREMCHG", "remote address changed"},
53992+ {79, "ELIBACC", "can not access a needed shared library"},
53993+ {80, "ELIBBAD", "accessing a corrupted shared library"},
53994+ {81, "ELIBSCN", ".lib section in a.out corrupted"},
53995+ {82, "ELIBMAX", "attempting to link in too many shared libraries"},
53996+ {83, "ELIBEXEC", "cannot exec a shared library directly"},
53997+ {84, "EILSEQ", "invalid or incomplete multibyte or wide character"},
53998+ {85, "ERESTART", "interrupted system call should be restarted"},
53999+ {86, "ESTRPIPE", "streams pipe error"},
54000+ {87, "EUSERS", "too many users"},
54001+ {88, "ENOTSOCK", "socket operation on non-socket"},
54002+ {89, "EDESTADDRREQ", "destination address required"},
54003+ {90, "EMSGSIZE", "message too long"},
54004+ {91, "EPROTOTYPE", "protocol wrong type for socket"},
54005+ {92, "ENOPROTOOPT", "protocol not available"},
54006+ {93, "EPROTONOSUPPORT", "protocol not supported"},
54007+ {94, "ESOCKTNOSUPPORT", "socket type not supported"},
54008+ {95, "ENOTSUP", "operation not supported"},
54009+ {96, "EPFNOSUPPORT", "protocol family not supported"},
54010+ {97, "EAFNOSUPPORT", "address family not supported by protocol"},
54011+ {98, "EADDRINUSE", "address already in use"},
54012+ {99, "EADDRNOTAVAIL", "cannot assign requested address"},
54013+ {100, "ENETDOWN", "network is down"},
54014+ {101, "ENETUNREACH", "network is unreachable"},
54015+ {102, "ENETRESET", "network dropped connection on reset"},
54016+ {103, "ECONNABORTED", "software caused connection abort"},
54017+ {104, "ECONNRESET", "connection reset by peer"},
54018+ {105, "ENOBUFS", "no buffer space available"},
54019+ {106, "EISCONN", "transport endpoint is already connected"},
54020+ {107, "ENOTCONN", "transport endpoint is not connected"},
54021+ {108, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
54022+ {109, "ETOOMANYREFS", "too many references: cannot splice"},
54023+ {110, "ETIMEDOUT", "connection timed out"},
54024+ {111, "ECONNREFUSED", "connection refused"},
54025+ {112, "EHOSTDOWN", "host is down"},
54026+ {113, "EHOSTUNREACH", "no route to host"},
54027+ {114, "EALREADY", "operation already in progress"},
54028+ {115, "EINPROGRESS", "operation now in progress"},
54029+ {116, "ESTALE", "stale file handle"},
54030+ {117, "EUCLEAN", "structure needs cleaning"},
54031+ {118, "ENOTNAM", "not a XENIX named type file"},
54032+ {119, "ENAVAIL", "no XENIX semaphores available"},
54033+ {120, "EISNAM", "is a named type file"},
54034+ {121, "EREMOTEIO", "remote I/O error"},
54035+ {122, "EDQUOT", "disk quota exceeded"},
54036+ {123, "ENOMEDIUM", "no medium found"},
54037+ {124, "EMEDIUMTYPE", "wrong medium type"},
54038+ {125, "ECANCELED", "operation canceled"},
54039+ {126, "ENOKEY", "required key not available"},
54040+ {127, "EKEYEXPIRED", "key has expired"},
54041+ {128, "EKEYREVOKED", "key has been revoked"},
54042+ {129, "EKEYREJECTED", "key was rejected by service"},
54043+ {130, "EOWNERDEAD", "owner died"},
54044+ {131, "ENOTRECOVERABLE", "state not recoverable"},
54045+ {132, "ERFKILL", "operation not possible due to RF-kill"},
54046+ {133, "EHWPOISON", "memory page has hardware error"},
54047 }
54048
54049 // Signal table
54050-var signals = [...]string{
54051- 1: "hangup",
54052- 2: "interrupt",
54053- 3: "quit",
54054- 4: "illegal instruction",
54055- 5: "trace/breakpoint trap",
54056- 6: "aborted",
54057- 7: "bus error",
54058- 8: "floating point exception",
54059- 9: "killed",
54060- 10: "user defined signal 1",
54061- 11: "segmentation fault",
54062- 12: "user defined signal 2",
54063- 13: "broken pipe",
54064- 14: "alarm clock",
54065- 15: "terminated",
54066- 16: "stack fault",
54067- 17: "child exited",
54068- 18: "continued",
54069- 19: "stopped (signal)",
54070- 20: "stopped",
54071- 21: "stopped (tty input)",
54072- 22: "stopped (tty output)",
54073- 23: "urgent I/O condition",
54074- 24: "CPU time limit exceeded",
54075- 25: "file size limit exceeded",
54076- 26: "virtual timer expired",
54077- 27: "profiling timer expired",
54078- 28: "window changed",
54079- 29: "I/O possible",
54080- 30: "power failure",
54081- 31: "bad system call",
54082+var signalList = [...]struct {
54083+ num syscall.Signal
54084+ name string
54085+ desc string
54086+}{
54087+ {1, "SIGHUP", "hangup"},
54088+ {2, "SIGINT", "interrupt"},
54089+ {3, "SIGQUIT", "quit"},
54090+ {4, "SIGILL", "illegal instruction"},
54091+ {5, "SIGTRAP", "trace/breakpoint trap"},
54092+ {6, "SIGABRT", "aborted"},
54093+ {7, "SIGBUS", "bus error"},
54094+ {8, "SIGFPE", "floating point exception"},
54095+ {9, "SIGKILL", "killed"},
54096+ {10, "SIGUSR1", "user defined signal 1"},
54097+ {11, "SIGSEGV", "segmentation fault"},
54098+ {12, "SIGUSR2", "user defined signal 2"},
54099+ {13, "SIGPIPE", "broken pipe"},
54100+ {14, "SIGALRM", "alarm clock"},
54101+ {15, "SIGTERM", "terminated"},
54102+ {16, "SIGSTKFLT", "stack fault"},
54103+ {17, "SIGCHLD", "child exited"},
54104+ {18, "SIGCONT", "continued"},
54105+ {19, "SIGSTOP", "stopped (signal)"},
54106+ {20, "SIGTSTP", "stopped"},
54107+ {21, "SIGTTIN", "stopped (tty input)"},
54108+ {22, "SIGTTOU", "stopped (tty output)"},
54109+ {23, "SIGURG", "urgent I/O condition"},
54110+ {24, "SIGXCPU", "CPU time limit exceeded"},
54111+ {25, "SIGXFSZ", "file size limit exceeded"},
54112+ {26, "SIGVTALRM", "virtual timer expired"},
54113+ {27, "SIGPROF", "profiling timer expired"},
54114+ {28, "SIGWINCH", "window changed"},
54115+ {29, "SIGIO", "I/O possible"},
54116+ {30, "SIGPWR", "power failure"},
54117+ {31, "SIGSYS", "bad system call"},
54118 }
54119diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go
54120new file mode 100644
54121index 00000000..6a0b2d29
54122--- /dev/null
54123+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go
54124@@ -0,0 +1,771 @@
54125+// mkerrors.sh -Wall -Werror -static -I/tmp/include
54126+// Code generated by the command above; see README.md. DO NOT EDIT.
54127+
54128+// +build riscv64,linux
54129+
54130+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
54131+// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
54132+
54133+package unix
54134+
54135+import "syscall"
54136+
54137+const (
54138+ B1000000 = 0x1008
54139+ B115200 = 0x1002
54140+ B1152000 = 0x1009
54141+ B1500000 = 0x100a
54142+ B2000000 = 0x100b
54143+ B230400 = 0x1003
54144+ B2500000 = 0x100c
54145+ B3000000 = 0x100d
54146+ B3500000 = 0x100e
54147+ B4000000 = 0x100f
54148+ B460800 = 0x1004
54149+ B500000 = 0x1005
54150+ B57600 = 0x1001
54151+ B576000 = 0x1006
54152+ B921600 = 0x1007
54153+ BLKBSZGET = 0x80081270
54154+ BLKBSZSET = 0x40081271
54155+ BLKFLSBUF = 0x1261
54156+ BLKFRAGET = 0x1265
54157+ BLKFRASET = 0x1264
54158+ BLKGETSIZE = 0x1260
54159+ BLKGETSIZE64 = 0x80081272
54160+ BLKPBSZGET = 0x127b
54161+ BLKRAGET = 0x1263
54162+ BLKRASET = 0x1262
54163+ BLKROGET = 0x125e
54164+ BLKROSET = 0x125d
54165+ BLKRRPART = 0x125f
54166+ BLKSECTGET = 0x1267
54167+ BLKSECTSET = 0x1266
54168+ BLKSSZGET = 0x1268
54169+ BOTHER = 0x1000
54170+ BS1 = 0x2000
54171+ BSDLY = 0x2000
54172+ CBAUD = 0x100f
54173+ CBAUDEX = 0x1000
54174+ CIBAUD = 0x100f0000
54175+ CLOCAL = 0x800
54176+ CR1 = 0x200
54177+ CR2 = 0x400
54178+ CR3 = 0x600
54179+ CRDLY = 0x600
54180+ CREAD = 0x80
54181+ CS6 = 0x10
54182+ CS7 = 0x20
54183+ CS8 = 0x30
54184+ CSIZE = 0x30
54185+ CSTOPB = 0x40
54186+ ECHOCTL = 0x200
54187+ ECHOE = 0x10
54188+ ECHOK = 0x20
54189+ ECHOKE = 0x800
54190+ ECHONL = 0x40
54191+ ECHOPRT = 0x400
54192+ EFD_CLOEXEC = 0x80000
54193+ EFD_NONBLOCK = 0x800
54194+ EPOLL_CLOEXEC = 0x80000
54195+ EXTPROC = 0x10000
54196+ FF1 = 0x8000
54197+ FFDLY = 0x8000
54198+ FLUSHO = 0x1000
54199+ FS_IOC_ENABLE_VERITY = 0x40806685
54200+ FS_IOC_GETFLAGS = 0x80086601
54201+ FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615
54202+ FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614
54203+ FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613
54204+ F_GETLK = 0x5
54205+ F_GETLK64 = 0x5
54206+ F_GETOWN = 0x9
54207+ F_RDLCK = 0x0
54208+ F_SETLK = 0x6
54209+ F_SETLK64 = 0x6
54210+ F_SETLKW = 0x7
54211+ F_SETLKW64 = 0x7
54212+ F_SETOWN = 0x8
54213+ F_UNLCK = 0x2
54214+ F_WRLCK = 0x1
54215+ HUPCL = 0x400
54216+ ICANON = 0x2
54217+ IEXTEN = 0x8000
54218+ IN_CLOEXEC = 0x80000
54219+ IN_NONBLOCK = 0x800
54220+ IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x7b9
54221+ ISIG = 0x1
54222+ IUCLC = 0x200
54223+ IXOFF = 0x1000
54224+ IXON = 0x400
54225+ MAP_ANON = 0x20
54226+ MAP_ANONYMOUS = 0x20
54227+ MAP_DENYWRITE = 0x800
54228+ MAP_EXECUTABLE = 0x1000
54229+ MAP_GROWSDOWN = 0x100
54230+ MAP_HUGETLB = 0x40000
54231+ MAP_LOCKED = 0x2000
54232+ MAP_NONBLOCK = 0x10000
54233+ MAP_NORESERVE = 0x4000
54234+ MAP_POPULATE = 0x8000
54235+ MAP_STACK = 0x20000
54236+ MAP_SYNC = 0x80000
54237+ MCL_CURRENT = 0x1
54238+ MCL_FUTURE = 0x2
54239+ MCL_ONFAULT = 0x4
54240+ NFDBITS = 0x40
54241+ NLDLY = 0x100
54242+ NOFLSH = 0x80
54243+ NS_GET_NSTYPE = 0xb703
54244+ NS_GET_OWNER_UID = 0xb704
54245+ NS_GET_PARENT = 0xb702
54246+ NS_GET_USERNS = 0xb701
54247+ OLCUC = 0x2
54248+ ONLCR = 0x4
54249+ O_APPEND = 0x400
54250+ O_ASYNC = 0x2000
54251+ O_CLOEXEC = 0x80000
54252+ O_CREAT = 0x40
54253+ O_DIRECT = 0x4000
54254+ O_DIRECTORY = 0x10000
54255+ O_DSYNC = 0x1000
54256+ O_EXCL = 0x80
54257+ O_FSYNC = 0x101000
54258+ O_LARGEFILE = 0x0
54259+ O_NDELAY = 0x800
54260+ O_NOATIME = 0x40000
54261+ O_NOCTTY = 0x100
54262+ O_NOFOLLOW = 0x20000
54263+ O_NONBLOCK = 0x800
54264+ O_PATH = 0x200000
54265+ O_RSYNC = 0x101000
54266+ O_SYNC = 0x101000
54267+ O_TMPFILE = 0x410000
54268+ O_TRUNC = 0x200
54269+ PARENB = 0x100
54270+ PARODD = 0x200
54271+ PENDIN = 0x4000
54272+ PERF_EVENT_IOC_DISABLE = 0x2401
54273+ PERF_EVENT_IOC_ENABLE = 0x2400
54274+ PERF_EVENT_IOC_ID = 0x80082407
54275+ PERF_EVENT_IOC_MODIFY_ATTRIBUTES = 0x4008240b
54276+ PERF_EVENT_IOC_PAUSE_OUTPUT = 0x40042409
54277+ PERF_EVENT_IOC_PERIOD = 0x40082404
54278+ PERF_EVENT_IOC_QUERY_BPF = 0xc008240a
54279+ PERF_EVENT_IOC_REFRESH = 0x2402
54280+ PERF_EVENT_IOC_RESET = 0x2403
54281+ PERF_EVENT_IOC_SET_BPF = 0x40042408
54282+ PERF_EVENT_IOC_SET_FILTER = 0x40082406
54283+ PERF_EVENT_IOC_SET_OUTPUT = 0x2405
54284+ PPPIOCATTACH = 0x4004743d
54285+ PPPIOCATTCHAN = 0x40047438
54286+ PPPIOCCONNECT = 0x4004743a
54287+ PPPIOCDETACH = 0x4004743c
54288+ PPPIOCDISCONN = 0x7439
54289+ PPPIOCGASYNCMAP = 0x80047458
54290+ PPPIOCGCHAN = 0x80047437
54291+ PPPIOCGDEBUG = 0x80047441
54292+ PPPIOCGFLAGS = 0x8004745a
54293+ PPPIOCGIDLE = 0x8010743f
54294+ PPPIOCGIDLE32 = 0x8008743f
54295+ PPPIOCGIDLE64 = 0x8010743f
54296+ PPPIOCGL2TPSTATS = 0x80487436
54297+ PPPIOCGMRU = 0x80047453
54298+ PPPIOCGRASYNCMAP = 0x80047455
54299+ PPPIOCGUNIT = 0x80047456
54300+ PPPIOCGXASYNCMAP = 0x80207450
54301+ PPPIOCSACTIVE = 0x40107446
54302+ PPPIOCSASYNCMAP = 0x40047457
54303+ PPPIOCSCOMPRESS = 0x4010744d
54304+ PPPIOCSDEBUG = 0x40047440
54305+ PPPIOCSFLAGS = 0x40047459
54306+ PPPIOCSMAXCID = 0x40047451
54307+ PPPIOCSMRRU = 0x4004743b
54308+ PPPIOCSMRU = 0x40047452
54309+ PPPIOCSNPMODE = 0x4008744b
54310+ PPPIOCSPASS = 0x40107447
54311+ PPPIOCSRASYNCMAP = 0x40047454
54312+ PPPIOCSXASYNCMAP = 0x4020744f
54313+ PPPIOCXFERUNIT = 0x744e
54314+ PR_SET_PTRACER_ANY = 0xffffffffffffffff
54315+ RLIMIT_AS = 0x9
54316+ RLIMIT_MEMLOCK = 0x8
54317+ RLIMIT_NOFILE = 0x7
54318+ RLIMIT_NPROC = 0x6
54319+ RLIMIT_RSS = 0x5
54320+ RNDADDENTROPY = 0x40085203
54321+ RNDADDTOENTCNT = 0x40045201
54322+ RNDCLEARPOOL = 0x5206
54323+ RNDGETENTCNT = 0x80045200
54324+ RNDGETPOOL = 0x80085202
54325+ RNDRESEEDCRNG = 0x5207
54326+ RNDZAPENTCNT = 0x5204
54327+ RTC_AIE_OFF = 0x7002
54328+ RTC_AIE_ON = 0x7001
54329+ RTC_ALM_READ = 0x80247008
54330+ RTC_ALM_SET = 0x40247007
54331+ RTC_EPOCH_READ = 0x8008700d
54332+ RTC_EPOCH_SET = 0x4008700e
54333+ RTC_IRQP_READ = 0x8008700b
54334+ RTC_IRQP_SET = 0x4008700c
54335+ RTC_PIE_OFF = 0x7006
54336+ RTC_PIE_ON = 0x7005
54337+ RTC_PLL_GET = 0x80207011
54338+ RTC_PLL_SET = 0x40207012
54339+ RTC_RD_TIME = 0x80247009
54340+ RTC_SET_TIME = 0x4024700a
54341+ RTC_UIE_OFF = 0x7004
54342+ RTC_UIE_ON = 0x7003
54343+ RTC_VL_CLR = 0x7014
54344+ RTC_VL_READ = 0x80047013
54345+ RTC_WIE_OFF = 0x7010
54346+ RTC_WIE_ON = 0x700f
54347+ RTC_WKALM_RD = 0x80287010
54348+ RTC_WKALM_SET = 0x4028700f
54349+ SCM_TIMESTAMPING = 0x25
54350+ SCM_TIMESTAMPING_OPT_STATS = 0x36
54351+ SCM_TIMESTAMPING_PKTINFO = 0x3a
54352+ SCM_TIMESTAMPNS = 0x23
54353+ SCM_TXTIME = 0x3d
54354+ SCM_WIFI_STATUS = 0x29
54355+ SFD_CLOEXEC = 0x80000
54356+ SFD_NONBLOCK = 0x800
54357+ SIOCATMARK = 0x8905
54358+ SIOCGPGRP = 0x8904
54359+ SIOCGSTAMPNS_NEW = 0x80108907
54360+ SIOCGSTAMP_NEW = 0x80108906
54361+ SIOCINQ = 0x541b
54362+ SIOCOUTQ = 0x5411
54363+ SIOCSPGRP = 0x8902
54364+ SOCK_CLOEXEC = 0x80000
54365+ SOCK_DGRAM = 0x2
54366+ SOCK_NONBLOCK = 0x800
54367+ SOCK_STREAM = 0x1
54368+ SOL_SOCKET = 0x1
54369+ SO_ACCEPTCONN = 0x1e
54370+ SO_ATTACH_BPF = 0x32
54371+ SO_ATTACH_REUSEPORT_CBPF = 0x33
54372+ SO_ATTACH_REUSEPORT_EBPF = 0x34
54373+ SO_BINDTODEVICE = 0x19
54374+ SO_BINDTOIFINDEX = 0x3e
54375+ SO_BPF_EXTENSIONS = 0x30
54376+ SO_BROADCAST = 0x6
54377+ SO_BSDCOMPAT = 0xe
54378+ SO_BUSY_POLL = 0x2e
54379+ SO_CNX_ADVICE = 0x35
54380+ SO_COOKIE = 0x39
54381+ SO_DETACH_REUSEPORT_BPF = 0x44
54382+ SO_DOMAIN = 0x27
54383+ SO_DONTROUTE = 0x5
54384+ SO_ERROR = 0x4
54385+ SO_INCOMING_CPU = 0x31
54386+ SO_INCOMING_NAPI_ID = 0x38
54387+ SO_KEEPALIVE = 0x9
54388+ SO_LINGER = 0xd
54389+ SO_LOCK_FILTER = 0x2c
54390+ SO_MARK = 0x24
54391+ SO_MAX_PACING_RATE = 0x2f
54392+ SO_MEMINFO = 0x37
54393+ SO_NOFCS = 0x2b
54394+ SO_OOBINLINE = 0xa
54395+ SO_PASSCRED = 0x10
54396+ SO_PASSSEC = 0x22
54397+ SO_PEEK_OFF = 0x2a
54398+ SO_PEERCRED = 0x11
54399+ SO_PEERGROUPS = 0x3b
54400+ SO_PEERSEC = 0x1f
54401+ SO_PROTOCOL = 0x26
54402+ SO_RCVBUF = 0x8
54403+ SO_RCVBUFFORCE = 0x21
54404+ SO_RCVLOWAT = 0x12
54405+ SO_RCVTIMEO = 0x14
54406+ SO_RCVTIMEO_NEW = 0x42
54407+ SO_RCVTIMEO_OLD = 0x14
54408+ SO_REUSEADDR = 0x2
54409+ SO_REUSEPORT = 0xf
54410+ SO_RXQ_OVFL = 0x28
54411+ SO_SECURITY_AUTHENTICATION = 0x16
54412+ SO_SECURITY_ENCRYPTION_NETWORK = 0x18
54413+ SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
54414+ SO_SELECT_ERR_QUEUE = 0x2d
54415+ SO_SNDBUF = 0x7
54416+ SO_SNDBUFFORCE = 0x20
54417+ SO_SNDLOWAT = 0x13
54418+ SO_SNDTIMEO = 0x15
54419+ SO_SNDTIMEO_NEW = 0x43
54420+ SO_SNDTIMEO_OLD = 0x15
54421+ SO_TIMESTAMPING = 0x25
54422+ SO_TIMESTAMPING_NEW = 0x41
54423+ SO_TIMESTAMPING_OLD = 0x25
54424+ SO_TIMESTAMPNS = 0x23
54425+ SO_TIMESTAMPNS_NEW = 0x40
54426+ SO_TIMESTAMPNS_OLD = 0x23
54427+ SO_TIMESTAMP_NEW = 0x3f
54428+ SO_TXTIME = 0x3d
54429+ SO_TYPE = 0x3
54430+ SO_WIFI_STATUS = 0x29
54431+ SO_ZEROCOPY = 0x3c
54432+ TAB1 = 0x800
54433+ TAB2 = 0x1000
54434+ TAB3 = 0x1800
54435+ TABDLY = 0x1800
54436+ TCFLSH = 0x540b
54437+ TCGETA = 0x5405
54438+ TCGETS = 0x5401
54439+ TCGETS2 = 0x802c542a
54440+ TCGETX = 0x5432
54441+ TCSAFLUSH = 0x2
54442+ TCSBRK = 0x5409
54443+ TCSBRKP = 0x5425
54444+ TCSETA = 0x5406
54445+ TCSETAF = 0x5408
54446+ TCSETAW = 0x5407
54447+ TCSETS = 0x5402
54448+ TCSETS2 = 0x402c542b
54449+ TCSETSF = 0x5404
54450+ TCSETSF2 = 0x402c542d
54451+ TCSETSW = 0x5403
54452+ TCSETSW2 = 0x402c542c
54453+ TCSETX = 0x5433
54454+ TCSETXF = 0x5434
54455+ TCSETXW = 0x5435
54456+ TCXONC = 0x540a
54457+ TIOCCBRK = 0x5428
54458+ TIOCCONS = 0x541d
54459+ TIOCEXCL = 0x540c
54460+ TIOCGDEV = 0x80045432
54461+ TIOCGETD = 0x5424
54462+ TIOCGEXCL = 0x80045440
54463+ TIOCGICOUNT = 0x545d
54464+ TIOCGISO7816 = 0x80285442
54465+ TIOCGLCKTRMIOS = 0x5456
54466+ TIOCGPGRP = 0x540f
54467+ TIOCGPKT = 0x80045438
54468+ TIOCGPTLCK = 0x80045439
54469+ TIOCGPTN = 0x80045430
54470+ TIOCGPTPEER = 0x5441
54471+ TIOCGRS485 = 0x542e
54472+ TIOCGSERIAL = 0x541e
54473+ TIOCGSID = 0x5429
54474+ TIOCGSOFTCAR = 0x5419
54475+ TIOCGWINSZ = 0x5413
54476+ TIOCINQ = 0x541b
54477+ TIOCLINUX = 0x541c
54478+ TIOCMBIC = 0x5417
54479+ TIOCMBIS = 0x5416
54480+ TIOCMGET = 0x5415
54481+ TIOCMIWAIT = 0x545c
54482+ TIOCMSET = 0x5418
54483+ TIOCM_CAR = 0x40
54484+ TIOCM_CD = 0x40
54485+ TIOCM_CTS = 0x20
54486+ TIOCM_DSR = 0x100
54487+ TIOCM_RI = 0x80
54488+ TIOCM_RNG = 0x80
54489+ TIOCM_SR = 0x10
54490+ TIOCM_ST = 0x8
54491+ TIOCNOTTY = 0x5422
54492+ TIOCNXCL = 0x540d
54493+ TIOCOUTQ = 0x5411
54494+ TIOCPKT = 0x5420
54495+ TIOCSBRK = 0x5427
54496+ TIOCSCTTY = 0x540e
54497+ TIOCSERCONFIG = 0x5453
54498+ TIOCSERGETLSR = 0x5459
54499+ TIOCSERGETMULTI = 0x545a
54500+ TIOCSERGSTRUCT = 0x5458
54501+ TIOCSERGWILD = 0x5454
54502+ TIOCSERSETMULTI = 0x545b
54503+ TIOCSERSWILD = 0x5455
54504+ TIOCSER_TEMT = 0x1
54505+ TIOCSETD = 0x5423
54506+ TIOCSIG = 0x40045436
54507+ TIOCSISO7816 = 0xc0285443
54508+ TIOCSLCKTRMIOS = 0x5457
54509+ TIOCSPGRP = 0x5410
54510+ TIOCSPTLCK = 0x40045431
54511+ TIOCSRS485 = 0x542f
54512+ TIOCSSERIAL = 0x541f
54513+ TIOCSSOFTCAR = 0x541a
54514+ TIOCSTI = 0x5412
54515+ TIOCSWINSZ = 0x5414
54516+ TIOCVHANGUP = 0x5437
54517+ TOSTOP = 0x100
54518+ TUNATTACHFILTER = 0x401054d5
54519+ TUNDETACHFILTER = 0x401054d6
54520+ TUNGETDEVNETNS = 0x54e3
54521+ TUNGETFEATURES = 0x800454cf
54522+ TUNGETFILTER = 0x801054db
54523+ TUNGETIFF = 0x800454d2
54524+ TUNGETSNDBUF = 0x800454d3
54525+ TUNGETVNETBE = 0x800454df
54526+ TUNGETVNETHDRSZ = 0x800454d7
54527+ TUNGETVNETLE = 0x800454dd
54528+ TUNSETCARRIER = 0x400454e2
54529+ TUNSETDEBUG = 0x400454c9
54530+ TUNSETFILTEREBPF = 0x800454e1
54531+ TUNSETGROUP = 0x400454ce
54532+ TUNSETIFF = 0x400454ca
54533+ TUNSETIFINDEX = 0x400454da
54534+ TUNSETLINK = 0x400454cd
54535+ TUNSETNOCSUM = 0x400454c8
54536+ TUNSETOFFLOAD = 0x400454d0
54537+ TUNSETOWNER = 0x400454cc
54538+ TUNSETPERSIST = 0x400454cb
54539+ TUNSETQUEUE = 0x400454d9
54540+ TUNSETSNDBUF = 0x400454d4
54541+ TUNSETSTEERINGEBPF = 0x800454e0
54542+ TUNSETTXFILTER = 0x400454d1
54543+ TUNSETVNETBE = 0x400454de
54544+ TUNSETVNETHDRSZ = 0x400454d8
54545+ TUNSETVNETLE = 0x400454dc
54546+ UBI_IOCATT = 0x40186f40
54547+ UBI_IOCDET = 0x40046f41
54548+ UBI_IOCEBCH = 0x40044f02
54549+ UBI_IOCEBER = 0x40044f01
54550+ UBI_IOCEBISMAP = 0x80044f05
54551+ UBI_IOCEBMAP = 0x40084f03
54552+ UBI_IOCEBUNMAP = 0x40044f04
54553+ UBI_IOCMKVOL = 0x40986f00
54554+ UBI_IOCRMVOL = 0x40046f01
54555+ UBI_IOCRNVOL = 0x51106f03
54556+ UBI_IOCRPEB = 0x40046f04
54557+ UBI_IOCRSVOL = 0x400c6f02
54558+ UBI_IOCSETVOLPROP = 0x40104f06
54559+ UBI_IOCSPEB = 0x40046f05
54560+ UBI_IOCVOLCRBLK = 0x40804f07
54561+ UBI_IOCVOLRMBLK = 0x4f08
54562+ UBI_IOCVOLUP = 0x40084f00
54563+ VDISCARD = 0xd
54564+ VEOF = 0x4
54565+ VEOL = 0xb
54566+ VEOL2 = 0x10
54567+ VMIN = 0x6
54568+ VREPRINT = 0xc
54569+ VSTART = 0x8
54570+ VSTOP = 0x9
54571+ VSUSP = 0xa
54572+ VSWTC = 0x7
54573+ VT1 = 0x4000
54574+ VTDLY = 0x4000
54575+ VTIME = 0x5
54576+ VWERASE = 0xe
54577+ WDIOC_GETBOOTSTATUS = 0x80045702
54578+ WDIOC_GETPRETIMEOUT = 0x80045709
54579+ WDIOC_GETSTATUS = 0x80045701
54580+ WDIOC_GETSUPPORT = 0x80285700
54581+ WDIOC_GETTEMP = 0x80045703
54582+ WDIOC_GETTIMELEFT = 0x8004570a
54583+ WDIOC_GETTIMEOUT = 0x80045707
54584+ WDIOC_KEEPALIVE = 0x80045705
54585+ WDIOC_SETOPTIONS = 0x80045704
54586+ WORDSIZE = 0x40
54587+ XCASE = 0x4
54588+ XTABS = 0x1800
54589+)
54590+
54591+// Errors
54592+const (
54593+ EADDRINUSE = syscall.Errno(0x62)
54594+ EADDRNOTAVAIL = syscall.Errno(0x63)
54595+ EADV = syscall.Errno(0x44)
54596+ EAFNOSUPPORT = syscall.Errno(0x61)
54597+ EALREADY = syscall.Errno(0x72)
54598+ EBADE = syscall.Errno(0x34)
54599+ EBADFD = syscall.Errno(0x4d)
54600+ EBADMSG = syscall.Errno(0x4a)
54601+ EBADR = syscall.Errno(0x35)
54602+ EBADRQC = syscall.Errno(0x38)
54603+ EBADSLT = syscall.Errno(0x39)
54604+ EBFONT = syscall.Errno(0x3b)
54605+ ECANCELED = syscall.Errno(0x7d)
54606+ ECHRNG = syscall.Errno(0x2c)
54607+ ECOMM = syscall.Errno(0x46)
54608+ ECONNABORTED = syscall.Errno(0x67)
54609+ ECONNREFUSED = syscall.Errno(0x6f)
54610+ ECONNRESET = syscall.Errno(0x68)
54611+ EDEADLK = syscall.Errno(0x23)
54612+ EDEADLOCK = syscall.Errno(0x23)
54613+ EDESTADDRREQ = syscall.Errno(0x59)
54614+ EDOTDOT = syscall.Errno(0x49)
54615+ EDQUOT = syscall.Errno(0x7a)
54616+ EHOSTDOWN = syscall.Errno(0x70)
54617+ EHOSTUNREACH = syscall.Errno(0x71)
54618+ EHWPOISON = syscall.Errno(0x85)
54619+ EIDRM = syscall.Errno(0x2b)
54620+ EILSEQ = syscall.Errno(0x54)
54621+ EINPROGRESS = syscall.Errno(0x73)
54622+ EISCONN = syscall.Errno(0x6a)
54623+ EISNAM = syscall.Errno(0x78)
54624+ EKEYEXPIRED = syscall.Errno(0x7f)
54625+ EKEYREJECTED = syscall.Errno(0x81)
54626+ EKEYREVOKED = syscall.Errno(0x80)
54627+ EL2HLT = syscall.Errno(0x33)
54628+ EL2NSYNC = syscall.Errno(0x2d)
54629+ EL3HLT = syscall.Errno(0x2e)
54630+ EL3RST = syscall.Errno(0x2f)
54631+ ELIBACC = syscall.Errno(0x4f)
54632+ ELIBBAD = syscall.Errno(0x50)
54633+ ELIBEXEC = syscall.Errno(0x53)
54634+ ELIBMAX = syscall.Errno(0x52)
54635+ ELIBSCN = syscall.Errno(0x51)
54636+ ELNRNG = syscall.Errno(0x30)
54637+ ELOOP = syscall.Errno(0x28)
54638+ EMEDIUMTYPE = syscall.Errno(0x7c)
54639+ EMSGSIZE = syscall.Errno(0x5a)
54640+ EMULTIHOP = syscall.Errno(0x48)
54641+ ENAMETOOLONG = syscall.Errno(0x24)
54642+ ENAVAIL = syscall.Errno(0x77)
54643+ ENETDOWN = syscall.Errno(0x64)
54644+ ENETRESET = syscall.Errno(0x66)
54645+ ENETUNREACH = syscall.Errno(0x65)
54646+ ENOANO = syscall.Errno(0x37)
54647+ ENOBUFS = syscall.Errno(0x69)
54648+ ENOCSI = syscall.Errno(0x32)
54649+ ENODATA = syscall.Errno(0x3d)
54650+ ENOKEY = syscall.Errno(0x7e)
54651+ ENOLCK = syscall.Errno(0x25)
54652+ ENOLINK = syscall.Errno(0x43)
54653+ ENOMEDIUM = syscall.Errno(0x7b)
54654+ ENOMSG = syscall.Errno(0x2a)
54655+ ENONET = syscall.Errno(0x40)
54656+ ENOPKG = syscall.Errno(0x41)
54657+ ENOPROTOOPT = syscall.Errno(0x5c)
54658+ ENOSR = syscall.Errno(0x3f)
54659+ ENOSTR = syscall.Errno(0x3c)
54660+ ENOSYS = syscall.Errno(0x26)
54661+ ENOTCONN = syscall.Errno(0x6b)
54662+ ENOTEMPTY = syscall.Errno(0x27)
54663+ ENOTNAM = syscall.Errno(0x76)
54664+ ENOTRECOVERABLE = syscall.Errno(0x83)
54665+ ENOTSOCK = syscall.Errno(0x58)
54666+ ENOTSUP = syscall.Errno(0x5f)
54667+ ENOTUNIQ = syscall.Errno(0x4c)
54668+ EOPNOTSUPP = syscall.Errno(0x5f)
54669+ EOVERFLOW = syscall.Errno(0x4b)
54670+ EOWNERDEAD = syscall.Errno(0x82)
54671+ EPFNOSUPPORT = syscall.Errno(0x60)
54672+ EPROTO = syscall.Errno(0x47)
54673+ EPROTONOSUPPORT = syscall.Errno(0x5d)
54674+ EPROTOTYPE = syscall.Errno(0x5b)
54675+ EREMCHG = syscall.Errno(0x4e)
54676+ EREMOTE = syscall.Errno(0x42)
54677+ EREMOTEIO = syscall.Errno(0x79)
54678+ ERESTART = syscall.Errno(0x55)
54679+ ERFKILL = syscall.Errno(0x84)
54680+ ESHUTDOWN = syscall.Errno(0x6c)
54681+ ESOCKTNOSUPPORT = syscall.Errno(0x5e)
54682+ ESRMNT = syscall.Errno(0x45)
54683+ ESTALE = syscall.Errno(0x74)
54684+ ESTRPIPE = syscall.Errno(0x56)
54685+ ETIME = syscall.Errno(0x3e)
54686+ ETIMEDOUT = syscall.Errno(0x6e)
54687+ ETOOMANYREFS = syscall.Errno(0x6d)
54688+ EUCLEAN = syscall.Errno(0x75)
54689+ EUNATCH = syscall.Errno(0x31)
54690+ EUSERS = syscall.Errno(0x57)
54691+ EXFULL = syscall.Errno(0x36)
54692+)
54693+
54694+// Signals
54695+const (
54696+ SIGBUS = syscall.Signal(0x7)
54697+ SIGCHLD = syscall.Signal(0x11)
54698+ SIGCLD = syscall.Signal(0x11)
54699+ SIGCONT = syscall.Signal(0x12)
54700+ SIGIO = syscall.Signal(0x1d)
54701+ SIGPOLL = syscall.Signal(0x1d)
54702+ SIGPROF = syscall.Signal(0x1b)
54703+ SIGPWR = syscall.Signal(0x1e)
54704+ SIGSTKFLT = syscall.Signal(0x10)
54705+ SIGSTOP = syscall.Signal(0x13)
54706+ SIGSYS = syscall.Signal(0x1f)
54707+ SIGTSTP = syscall.Signal(0x14)
54708+ SIGTTIN = syscall.Signal(0x15)
54709+ SIGTTOU = syscall.Signal(0x16)
54710+ SIGURG = syscall.Signal(0x17)
54711+ SIGUSR1 = syscall.Signal(0xa)
54712+ SIGUSR2 = syscall.Signal(0xc)
54713+ SIGVTALRM = syscall.Signal(0x1a)
54714+ SIGWINCH = syscall.Signal(0x1c)
54715+ SIGXCPU = syscall.Signal(0x18)
54716+ SIGXFSZ = syscall.Signal(0x19)
54717+)
54718+
54719+// Error table
54720+var errorList = [...]struct {
54721+ num syscall.Errno
54722+ name string
54723+ desc string
54724+}{
54725+ {1, "EPERM", "operation not permitted"},
54726+ {2, "ENOENT", "no such file or directory"},
54727+ {3, "ESRCH", "no such process"},
54728+ {4, "EINTR", "interrupted system call"},
54729+ {5, "EIO", "input/output error"},
54730+ {6, "ENXIO", "no such device or address"},
54731+ {7, "E2BIG", "argument list too long"},
54732+ {8, "ENOEXEC", "exec format error"},
54733+ {9, "EBADF", "bad file descriptor"},
54734+ {10, "ECHILD", "no child processes"},
54735+ {11, "EAGAIN", "resource temporarily unavailable"},
54736+ {12, "ENOMEM", "cannot allocate memory"},
54737+ {13, "EACCES", "permission denied"},
54738+ {14, "EFAULT", "bad address"},
54739+ {15, "ENOTBLK", "block device required"},
54740+ {16, "EBUSY", "device or resource busy"},
54741+ {17, "EEXIST", "file exists"},
54742+ {18, "EXDEV", "invalid cross-device link"},
54743+ {19, "ENODEV", "no such device"},
54744+ {20, "ENOTDIR", "not a directory"},
54745+ {21, "EISDIR", "is a directory"},
54746+ {22, "EINVAL", "invalid argument"},
54747+ {23, "ENFILE", "too many open files in system"},
54748+ {24, "EMFILE", "too many open files"},
54749+ {25, "ENOTTY", "inappropriate ioctl for device"},
54750+ {26, "ETXTBSY", "text file busy"},
54751+ {27, "EFBIG", "file too large"},
54752+ {28, "ENOSPC", "no space left on device"},
54753+ {29, "ESPIPE", "illegal seek"},
54754+ {30, "EROFS", "read-only file system"},
54755+ {31, "EMLINK", "too many links"},
54756+ {32, "EPIPE", "broken pipe"},
54757+ {33, "EDOM", "numerical argument out of domain"},
54758+ {34, "ERANGE", "numerical result out of range"},
54759+ {35, "EDEADLK", "resource deadlock avoided"},
54760+ {36, "ENAMETOOLONG", "file name too long"},
54761+ {37, "ENOLCK", "no locks available"},
54762+ {38, "ENOSYS", "function not implemented"},
54763+ {39, "ENOTEMPTY", "directory not empty"},
54764+ {40, "ELOOP", "too many levels of symbolic links"},
54765+ {42, "ENOMSG", "no message of desired type"},
54766+ {43, "EIDRM", "identifier removed"},
54767+ {44, "ECHRNG", "channel number out of range"},
54768+ {45, "EL2NSYNC", "level 2 not synchronized"},
54769+ {46, "EL3HLT", "level 3 halted"},
54770+ {47, "EL3RST", "level 3 reset"},
54771+ {48, "ELNRNG", "link number out of range"},
54772+ {49, "EUNATCH", "protocol driver not attached"},
54773+ {50, "ENOCSI", "no CSI structure available"},
54774+ {51, "EL2HLT", "level 2 halted"},
54775+ {52, "EBADE", "invalid exchange"},
54776+ {53, "EBADR", "invalid request descriptor"},
54777+ {54, "EXFULL", "exchange full"},
54778+ {55, "ENOANO", "no anode"},
54779+ {56, "EBADRQC", "invalid request code"},
54780+ {57, "EBADSLT", "invalid slot"},
54781+ {59, "EBFONT", "bad font file format"},
54782+ {60, "ENOSTR", "device not a stream"},
54783+ {61, "ENODATA", "no data available"},
54784+ {62, "ETIME", "timer expired"},
54785+ {63, "ENOSR", "out of streams resources"},
54786+ {64, "ENONET", "machine is not on the network"},
54787+ {65, "ENOPKG", "package not installed"},
54788+ {66, "EREMOTE", "object is remote"},
54789+ {67, "ENOLINK", "link has been severed"},
54790+ {68, "EADV", "advertise error"},
54791+ {69, "ESRMNT", "srmount error"},
54792+ {70, "ECOMM", "communication error on send"},
54793+ {71, "EPROTO", "protocol error"},
54794+ {72, "EMULTIHOP", "multihop attempted"},
54795+ {73, "EDOTDOT", "RFS specific error"},
54796+ {74, "EBADMSG", "bad message"},
54797+ {75, "EOVERFLOW", "value too large for defined data type"},
54798+ {76, "ENOTUNIQ", "name not unique on network"},
54799+ {77, "EBADFD", "file descriptor in bad state"},
54800+ {78, "EREMCHG", "remote address changed"},
54801+ {79, "ELIBACC", "can not access a needed shared library"},
54802+ {80, "ELIBBAD", "accessing a corrupted shared library"},
54803+ {81, "ELIBSCN", ".lib section in a.out corrupted"},
54804+ {82, "ELIBMAX", "attempting to link in too many shared libraries"},
54805+ {83, "ELIBEXEC", "cannot exec a shared library directly"},
54806+ {84, "EILSEQ", "invalid or incomplete multibyte or wide character"},
54807+ {85, "ERESTART", "interrupted system call should be restarted"},
54808+ {86, "ESTRPIPE", "streams pipe error"},
54809+ {87, "EUSERS", "too many users"},
54810+ {88, "ENOTSOCK", "socket operation on non-socket"},
54811+ {89, "EDESTADDRREQ", "destination address required"},
54812+ {90, "EMSGSIZE", "message too long"},
54813+ {91, "EPROTOTYPE", "protocol wrong type for socket"},
54814+ {92, "ENOPROTOOPT", "protocol not available"},
54815+ {93, "EPROTONOSUPPORT", "protocol not supported"},
54816+ {94, "ESOCKTNOSUPPORT", "socket type not supported"},
54817+ {95, "ENOTSUP", "operation not supported"},
54818+ {96, "EPFNOSUPPORT", "protocol family not supported"},
54819+ {97, "EAFNOSUPPORT", "address family not supported by protocol"},
54820+ {98, "EADDRINUSE", "address already in use"},
54821+ {99, "EADDRNOTAVAIL", "cannot assign requested address"},
54822+ {100, "ENETDOWN", "network is down"},
54823+ {101, "ENETUNREACH", "network is unreachable"},
54824+ {102, "ENETRESET", "network dropped connection on reset"},
54825+ {103, "ECONNABORTED", "software caused connection abort"},
54826+ {104, "ECONNRESET", "connection reset by peer"},
54827+ {105, "ENOBUFS", "no buffer space available"},
54828+ {106, "EISCONN", "transport endpoint is already connected"},
54829+ {107, "ENOTCONN", "transport endpoint is not connected"},
54830+ {108, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
54831+ {109, "ETOOMANYREFS", "too many references: cannot splice"},
54832+ {110, "ETIMEDOUT", "connection timed out"},
54833+ {111, "ECONNREFUSED", "connection refused"},
54834+ {112, "EHOSTDOWN", "host is down"},
54835+ {113, "EHOSTUNREACH", "no route to host"},
54836+ {114, "EALREADY", "operation already in progress"},
54837+ {115, "EINPROGRESS", "operation now in progress"},
54838+ {116, "ESTALE", "stale file handle"},
54839+ {117, "EUCLEAN", "structure needs cleaning"},
54840+ {118, "ENOTNAM", "not a XENIX named type file"},
54841+ {119, "ENAVAIL", "no XENIX semaphores available"},
54842+ {120, "EISNAM", "is a named type file"},
54843+ {121, "EREMOTEIO", "remote I/O error"},
54844+ {122, "EDQUOT", "disk quota exceeded"},
54845+ {123, "ENOMEDIUM", "no medium found"},
54846+ {124, "EMEDIUMTYPE", "wrong medium type"},
54847+ {125, "ECANCELED", "operation canceled"},
54848+ {126, "ENOKEY", "required key not available"},
54849+ {127, "EKEYEXPIRED", "key has expired"},
54850+ {128, "EKEYREVOKED", "key has been revoked"},
54851+ {129, "EKEYREJECTED", "key was rejected by service"},
54852+ {130, "EOWNERDEAD", "owner died"},
54853+ {131, "ENOTRECOVERABLE", "state not recoverable"},
54854+ {132, "ERFKILL", "operation not possible due to RF-kill"},
54855+ {133, "EHWPOISON", "memory page has hardware error"},
54856+}
54857+
54858+// Signal table
54859+var signalList = [...]struct {
54860+ num syscall.Signal
54861+ name string
54862+ desc string
54863+}{
54864+ {1, "SIGHUP", "hangup"},
54865+ {2, "SIGINT", "interrupt"},
54866+ {3, "SIGQUIT", "quit"},
54867+ {4, "SIGILL", "illegal instruction"},
54868+ {5, "SIGTRAP", "trace/breakpoint trap"},
54869+ {6, "SIGABRT", "aborted"},
54870+ {7, "SIGBUS", "bus error"},
54871+ {8, "SIGFPE", "floating point exception"},
54872+ {9, "SIGKILL", "killed"},
54873+ {10, "SIGUSR1", "user defined signal 1"},
54874+ {11, "SIGSEGV", "segmentation fault"},
54875+ {12, "SIGUSR2", "user defined signal 2"},
54876+ {13, "SIGPIPE", "broken pipe"},
54877+ {14, "SIGALRM", "alarm clock"},
54878+ {15, "SIGTERM", "terminated"},
54879+ {16, "SIGSTKFLT", "stack fault"},
54880+ {17, "SIGCHLD", "child exited"},
54881+ {18, "SIGCONT", "continued"},
54882+ {19, "SIGSTOP", "stopped (signal)"},
54883+ {20, "SIGTSTP", "stopped"},
54884+ {21, "SIGTTIN", "stopped (tty input)"},
54885+ {22, "SIGTTOU", "stopped (tty output)"},
54886+ {23, "SIGURG", "urgent I/O condition"},
54887+ {24, "SIGXCPU", "CPU time limit exceeded"},
54888+ {25, "SIGXFSZ", "file size limit exceeded"},
54889+ {26, "SIGVTALRM", "virtual timer expired"},
54890+ {27, "SIGPROF", "profiling timer expired"},
54891+ {28, "SIGWINCH", "window changed"},
54892+ {29, "SIGIO", "I/O possible"},
54893+ {30, "SIGPWR", "power failure"},
54894+ {31, "SIGSYS", "bad system call"},
54895+}
54896diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go b/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go
54897index 3b570754..95e950fc 100644
54898--- a/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go
54899+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go
54900@@ -3,7 +3,7 @@
54901
54902 // +build s390x,linux
54903
54904-// Created by cgo -godefs - DO NOT EDIT
54905+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
54906 // cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char _const.go
54907
54908 package unix
54909@@ -11,1930 +11,547 @@ package unix
54910 import "syscall"
54911
54912 const (
54913- AF_ALG = 0x26
54914- AF_APPLETALK = 0x5
54915- AF_ASH = 0x12
54916- AF_ATMPVC = 0x8
54917- AF_ATMSVC = 0x14
54918- AF_AX25 = 0x3
54919- AF_BLUETOOTH = 0x1f
54920- AF_BRIDGE = 0x7
54921- AF_CAIF = 0x25
54922- AF_CAN = 0x1d
54923- AF_DECnet = 0xc
54924- AF_ECONET = 0x13
54925- AF_FILE = 0x1
54926- AF_IB = 0x1b
54927- AF_IEEE802154 = 0x24
54928- AF_INET = 0x2
54929- AF_INET6 = 0xa
54930- AF_IPX = 0x4
54931- AF_IRDA = 0x17
54932- AF_ISDN = 0x22
54933- AF_IUCV = 0x20
54934- AF_KCM = 0x29
54935- AF_KEY = 0xf
54936- AF_LLC = 0x1a
54937- AF_LOCAL = 0x1
54938- AF_MAX = 0x2b
54939- AF_MPLS = 0x1c
54940- AF_NETBEUI = 0xd
54941- AF_NETLINK = 0x10
54942- AF_NETROM = 0x6
54943- AF_NFC = 0x27
54944- AF_PACKET = 0x11
54945- AF_PHONET = 0x23
54946- AF_PPPOX = 0x18
54947- AF_QIPCRTR = 0x2a
54948- AF_RDS = 0x15
54949- AF_ROSE = 0xb
54950- AF_ROUTE = 0x10
54951- AF_RXRPC = 0x21
54952- AF_SECURITY = 0xe
54953- AF_SNA = 0x16
54954- AF_TIPC = 0x1e
54955- AF_UNIX = 0x1
54956- AF_UNSPEC = 0x0
54957- AF_VSOCK = 0x28
54958- AF_WANPIPE = 0x19
54959- AF_X25 = 0x9
54960- ALG_OP_DECRYPT = 0x0
54961- ALG_OP_ENCRYPT = 0x1
54962- ALG_SET_AEAD_ASSOCLEN = 0x4
54963- ALG_SET_AEAD_AUTHSIZE = 0x5
54964- ALG_SET_IV = 0x2
54965- ALG_SET_KEY = 0x1
54966- ALG_SET_OP = 0x3
54967- ARPHRD_6LOWPAN = 0x339
54968- ARPHRD_ADAPT = 0x108
54969- ARPHRD_APPLETLK = 0x8
54970- ARPHRD_ARCNET = 0x7
54971- ARPHRD_ASH = 0x30d
54972- ARPHRD_ATM = 0x13
54973- ARPHRD_AX25 = 0x3
54974- ARPHRD_BIF = 0x307
54975- ARPHRD_CAIF = 0x336
54976- ARPHRD_CAN = 0x118
54977- ARPHRD_CHAOS = 0x5
54978- ARPHRD_CISCO = 0x201
54979- ARPHRD_CSLIP = 0x101
54980- ARPHRD_CSLIP6 = 0x103
54981- ARPHRD_DDCMP = 0x205
54982- ARPHRD_DLCI = 0xf
54983- ARPHRD_ECONET = 0x30e
54984- ARPHRD_EETHER = 0x2
54985- ARPHRD_ETHER = 0x1
54986- ARPHRD_EUI64 = 0x1b
54987- ARPHRD_FCAL = 0x311
54988- ARPHRD_FCFABRIC = 0x313
54989- ARPHRD_FCPL = 0x312
54990- ARPHRD_FCPP = 0x310
54991- ARPHRD_FDDI = 0x306
54992- ARPHRD_FRAD = 0x302
54993- ARPHRD_HDLC = 0x201
54994- ARPHRD_HIPPI = 0x30c
54995- ARPHRD_HWX25 = 0x110
54996- ARPHRD_IEEE1394 = 0x18
54997- ARPHRD_IEEE802 = 0x6
54998- ARPHRD_IEEE80211 = 0x321
54999- ARPHRD_IEEE80211_PRISM = 0x322
55000- ARPHRD_IEEE80211_RADIOTAP = 0x323
55001- ARPHRD_IEEE802154 = 0x324
55002- ARPHRD_IEEE802154_MONITOR = 0x325
55003- ARPHRD_IEEE802_TR = 0x320
55004- ARPHRD_INFINIBAND = 0x20
55005- ARPHRD_IP6GRE = 0x337
55006- ARPHRD_IPDDP = 0x309
55007- ARPHRD_IPGRE = 0x30a
55008- ARPHRD_IRDA = 0x30f
55009- ARPHRD_LAPB = 0x204
55010- ARPHRD_LOCALTLK = 0x305
55011- ARPHRD_LOOPBACK = 0x304
55012- ARPHRD_METRICOM = 0x17
55013- ARPHRD_NETLINK = 0x338
55014- ARPHRD_NETROM = 0x0
55015- ARPHRD_NONE = 0xfffe
55016- ARPHRD_PHONET = 0x334
55017- ARPHRD_PHONET_PIPE = 0x335
55018- ARPHRD_PIMREG = 0x30b
55019- ARPHRD_PPP = 0x200
55020- ARPHRD_PRONET = 0x4
55021- ARPHRD_RAWHDLC = 0x206
55022- ARPHRD_ROSE = 0x10e
55023- ARPHRD_RSRVD = 0x104
55024- ARPHRD_SIT = 0x308
55025- ARPHRD_SKIP = 0x303
55026- ARPHRD_SLIP = 0x100
55027- ARPHRD_SLIP6 = 0x102
55028- ARPHRD_TUNNEL = 0x300
55029- ARPHRD_TUNNEL6 = 0x301
55030- ARPHRD_VOID = 0xffff
55031- ARPHRD_X25 = 0x10f
55032- B0 = 0x0
55033- B1000000 = 0x1008
55034- B110 = 0x3
55035- B115200 = 0x1002
55036- B1152000 = 0x1009
55037- B1200 = 0x9
55038- B134 = 0x4
55039- B150 = 0x5
55040- B1500000 = 0x100a
55041- B1800 = 0xa
55042- B19200 = 0xe
55043- B200 = 0x6
55044- B2000000 = 0x100b
55045- B230400 = 0x1003
55046- B2400 = 0xb
55047- B2500000 = 0x100c
55048- B300 = 0x7
55049- B3000000 = 0x100d
55050- B3500000 = 0x100e
55051- B38400 = 0xf
55052- B4000000 = 0x100f
55053- B460800 = 0x1004
55054- B4800 = 0xc
55055- B50 = 0x1
55056- B500000 = 0x1005
55057- B57600 = 0x1001
55058- B576000 = 0x1006
55059- B600 = 0x8
55060- B75 = 0x2
55061- B921600 = 0x1007
55062- B9600 = 0xd
55063- BLKBSZGET = 0x80081270
55064- BLKBSZSET = 0x40081271
55065- BLKFLSBUF = 0x1261
55066- BLKFRAGET = 0x1265
55067- BLKFRASET = 0x1264
55068- BLKGETSIZE = 0x1260
55069- BLKGETSIZE64 = 0x80081272
55070- BLKPBSZGET = 0x127b
55071- BLKRAGET = 0x1263
55072- BLKRASET = 0x1262
55073- BLKROGET = 0x125e
55074- BLKROSET = 0x125d
55075- BLKRRPART = 0x125f
55076- BLKSECTGET = 0x1267
55077- BLKSECTSET = 0x1266
55078- BLKSSZGET = 0x1268
55079- BOTHER = 0x1000
55080- BPF_A = 0x10
55081- BPF_ABS = 0x20
55082- BPF_ADD = 0x0
55083- BPF_ALU = 0x4
55084- BPF_AND = 0x50
55085- BPF_B = 0x10
55086- BPF_DIV = 0x30
55087- BPF_H = 0x8
55088- BPF_IMM = 0x0
55089- BPF_IND = 0x40
55090- BPF_JA = 0x0
55091- BPF_JEQ = 0x10
55092- BPF_JGE = 0x30
55093- BPF_JGT = 0x20
55094- BPF_JMP = 0x5
55095- BPF_JSET = 0x40
55096- BPF_K = 0x0
55097- BPF_LD = 0x0
55098- BPF_LDX = 0x1
55099- BPF_LEN = 0x80
55100- BPF_LL_OFF = -0x200000
55101- BPF_LSH = 0x60
55102- BPF_MAJOR_VERSION = 0x1
55103- BPF_MAXINSNS = 0x1000
55104- BPF_MEM = 0x60
55105- BPF_MEMWORDS = 0x10
55106- BPF_MINOR_VERSION = 0x1
55107- BPF_MISC = 0x7
55108- BPF_MOD = 0x90
55109- BPF_MSH = 0xa0
55110- BPF_MUL = 0x20
55111- BPF_NEG = 0x80
55112- BPF_NET_OFF = -0x100000
55113- BPF_OR = 0x40
55114- BPF_RET = 0x6
55115- BPF_RSH = 0x70
55116- BPF_ST = 0x2
55117- BPF_STX = 0x3
55118- BPF_SUB = 0x10
55119- BPF_TAX = 0x0
55120- BPF_TXA = 0x80
55121- BPF_W = 0x0
55122- BPF_X = 0x8
55123- BPF_XOR = 0xa0
55124- BRKINT = 0x2
55125- BS0 = 0x0
55126- BS1 = 0x2000
55127- BSDLY = 0x2000
55128- CAN_BCM = 0x2
55129- CAN_EFF_FLAG = 0x80000000
55130- CAN_EFF_ID_BITS = 0x1d
55131- CAN_EFF_MASK = 0x1fffffff
55132- CAN_ERR_FLAG = 0x20000000
55133- CAN_ERR_MASK = 0x1fffffff
55134- CAN_INV_FILTER = 0x20000000
55135- CAN_ISOTP = 0x6
55136- CAN_MAX_DLC = 0x8
55137- CAN_MAX_DLEN = 0x8
55138- CAN_MCNET = 0x5
55139- CAN_MTU = 0x10
55140- CAN_NPROTO = 0x7
55141- CAN_RAW = 0x1
55142- CAN_RAW_FILTER_MAX = 0x200
55143- CAN_RTR_FLAG = 0x40000000
55144- CAN_SFF_ID_BITS = 0xb
55145- CAN_SFF_MASK = 0x7ff
55146- CAN_TP16 = 0x3
55147- CAN_TP20 = 0x4
55148- CBAUD = 0x100f
55149- CBAUDEX = 0x1000
55150- CFLUSH = 0xf
55151- CIBAUD = 0x100f0000
55152- CLOCAL = 0x800
55153- CLOCK_BOOTTIME = 0x7
55154- CLOCK_BOOTTIME_ALARM = 0x9
55155- CLOCK_DEFAULT = 0x0
55156- CLOCK_EXT = 0x1
55157- CLOCK_INT = 0x2
55158- CLOCK_MONOTONIC = 0x1
55159- CLOCK_MONOTONIC_COARSE = 0x6
55160- CLOCK_MONOTONIC_RAW = 0x4
55161- CLOCK_PROCESS_CPUTIME_ID = 0x2
55162- CLOCK_REALTIME = 0x0
55163- CLOCK_REALTIME_ALARM = 0x8
55164- CLOCK_REALTIME_COARSE = 0x5
55165- CLOCK_TAI = 0xb
55166- CLOCK_THREAD_CPUTIME_ID = 0x3
55167- CLOCK_TXFROMRX = 0x4
55168- CLOCK_TXINT = 0x3
55169- CLONE_CHILD_CLEARTID = 0x200000
55170- CLONE_CHILD_SETTID = 0x1000000
55171- CLONE_DETACHED = 0x400000
55172- CLONE_FILES = 0x400
55173- CLONE_FS = 0x200
55174- CLONE_IO = 0x80000000
55175- CLONE_NEWCGROUP = 0x2000000
55176- CLONE_NEWIPC = 0x8000000
55177- CLONE_NEWNET = 0x40000000
55178- CLONE_NEWNS = 0x20000
55179- CLONE_NEWPID = 0x20000000
55180- CLONE_NEWUSER = 0x10000000
55181- CLONE_NEWUTS = 0x4000000
55182- CLONE_PARENT = 0x8000
55183- CLONE_PARENT_SETTID = 0x100000
55184- CLONE_PTRACE = 0x2000
55185- CLONE_SETTLS = 0x80000
55186- CLONE_SIGHAND = 0x800
55187- CLONE_SYSVSEM = 0x40000
55188- CLONE_THREAD = 0x10000
55189- CLONE_UNTRACED = 0x800000
55190- CLONE_VFORK = 0x4000
55191- CLONE_VM = 0x100
55192- CMSPAR = 0x40000000
55193- CR0 = 0x0
55194- CR1 = 0x200
55195- CR2 = 0x400
55196- CR3 = 0x600
55197- CRDLY = 0x600
55198- CREAD = 0x80
55199- CRTSCTS = 0x80000000
55200- CS5 = 0x0
55201- CS6 = 0x10
55202- CS7 = 0x20
55203- CS8 = 0x30
55204- CSIGNAL = 0xff
55205- CSIZE = 0x30
55206- CSTART = 0x11
55207- CSTATUS = 0x0
55208- CSTOP = 0x13
55209- CSTOPB = 0x40
55210- CSUSP = 0x1a
55211- DT_BLK = 0x6
55212- DT_CHR = 0x2
55213- DT_DIR = 0x4
55214- DT_FIFO = 0x1
55215- DT_LNK = 0xa
55216- DT_REG = 0x8
55217- DT_SOCK = 0xc
55218- DT_UNKNOWN = 0x0
55219- DT_WHT = 0xe
55220- ECHO = 0x8
55221- ECHOCTL = 0x200
55222- ECHOE = 0x10
55223- ECHOK = 0x20
55224- ECHOKE = 0x800
55225- ECHONL = 0x40
55226- ECHOPRT = 0x400
55227- EFD_CLOEXEC = 0x80000
55228- EFD_NONBLOCK = 0x800
55229- EFD_SEMAPHORE = 0x1
55230- ENCODING_DEFAULT = 0x0
55231- ENCODING_FM_MARK = 0x3
55232- ENCODING_FM_SPACE = 0x4
55233- ENCODING_MANCHESTER = 0x5
55234- ENCODING_NRZ = 0x1
55235- ENCODING_NRZI = 0x2
55236- EPOLLERR = 0x8
55237- EPOLLET = 0x80000000
55238- EPOLLEXCLUSIVE = 0x10000000
55239- EPOLLHUP = 0x10
55240- EPOLLIN = 0x1
55241- EPOLLMSG = 0x400
55242- EPOLLONESHOT = 0x40000000
55243- EPOLLOUT = 0x4
55244- EPOLLPRI = 0x2
55245- EPOLLRDBAND = 0x80
55246- EPOLLRDHUP = 0x2000
55247- EPOLLRDNORM = 0x40
55248- EPOLLWAKEUP = 0x20000000
55249- EPOLLWRBAND = 0x200
55250- EPOLLWRNORM = 0x100
55251- EPOLL_CLOEXEC = 0x80000
55252- EPOLL_CTL_ADD = 0x1
55253- EPOLL_CTL_DEL = 0x2
55254- EPOLL_CTL_MOD = 0x3
55255- ETH_P_1588 = 0x88f7
55256- ETH_P_8021AD = 0x88a8
55257- ETH_P_8021AH = 0x88e7
55258- ETH_P_8021Q = 0x8100
55259- ETH_P_80221 = 0x8917
55260- ETH_P_802_2 = 0x4
55261- ETH_P_802_3 = 0x1
55262- ETH_P_802_3_MIN = 0x600
55263- ETH_P_802_EX1 = 0x88b5
55264- ETH_P_AARP = 0x80f3
55265- ETH_P_AF_IUCV = 0xfbfb
55266- ETH_P_ALL = 0x3
55267- ETH_P_AOE = 0x88a2
55268- ETH_P_ARCNET = 0x1a
55269- ETH_P_ARP = 0x806
55270- ETH_P_ATALK = 0x809b
55271- ETH_P_ATMFATE = 0x8884
55272- ETH_P_ATMMPOA = 0x884c
55273- ETH_P_AX25 = 0x2
55274- ETH_P_BATMAN = 0x4305
55275- ETH_P_BPQ = 0x8ff
55276- ETH_P_CAIF = 0xf7
55277- ETH_P_CAN = 0xc
55278- ETH_P_CANFD = 0xd
55279- ETH_P_CONTROL = 0x16
55280- ETH_P_CUST = 0x6006
55281- ETH_P_DDCMP = 0x6
55282- ETH_P_DEC = 0x6000
55283- ETH_P_DIAG = 0x6005
55284- ETH_P_DNA_DL = 0x6001
55285- ETH_P_DNA_RC = 0x6002
55286- ETH_P_DNA_RT = 0x6003
55287- ETH_P_DSA = 0x1b
55288- ETH_P_ECONET = 0x18
55289- ETH_P_EDSA = 0xdada
55290- ETH_P_FCOE = 0x8906
55291- ETH_P_FIP = 0x8914
55292- ETH_P_HDLC = 0x19
55293- ETH_P_HSR = 0x892f
55294- ETH_P_IEEE802154 = 0xf6
55295- ETH_P_IEEEPUP = 0xa00
55296- ETH_P_IEEEPUPAT = 0xa01
55297- ETH_P_IP = 0x800
55298- ETH_P_IPV6 = 0x86dd
55299- ETH_P_IPX = 0x8137
55300- ETH_P_IRDA = 0x17
55301- ETH_P_LAT = 0x6004
55302- ETH_P_LINK_CTL = 0x886c
55303- ETH_P_LOCALTALK = 0x9
55304- ETH_P_LOOP = 0x60
55305- ETH_P_LOOPBACK = 0x9000
55306- ETH_P_MACSEC = 0x88e5
55307- ETH_P_MOBITEX = 0x15
55308- ETH_P_MPLS_MC = 0x8848
55309- ETH_P_MPLS_UC = 0x8847
55310- ETH_P_MVRP = 0x88f5
55311- ETH_P_NCSI = 0x88f8
55312- ETH_P_PAE = 0x888e
55313- ETH_P_PAUSE = 0x8808
55314- ETH_P_PHONET = 0xf5
55315- ETH_P_PPPTALK = 0x10
55316- ETH_P_PPP_DISC = 0x8863
55317- ETH_P_PPP_MP = 0x8
55318- ETH_P_PPP_SES = 0x8864
55319- ETH_P_PRP = 0x88fb
55320- ETH_P_PUP = 0x200
55321- ETH_P_PUPAT = 0x201
55322- ETH_P_QINQ1 = 0x9100
55323- ETH_P_QINQ2 = 0x9200
55324- ETH_P_QINQ3 = 0x9300
55325- ETH_P_RARP = 0x8035
55326- ETH_P_SCA = 0x6007
55327- ETH_P_SLOW = 0x8809
55328- ETH_P_SNAP = 0x5
55329- ETH_P_TDLS = 0x890d
55330- ETH_P_TEB = 0x6558
55331- ETH_P_TIPC = 0x88ca
55332- ETH_P_TRAILER = 0x1c
55333- ETH_P_TR_802_2 = 0x11
55334- ETH_P_TSN = 0x22f0
55335- ETH_P_WAN_PPP = 0x7
55336- ETH_P_WCCP = 0x883e
55337- ETH_P_X25 = 0x805
55338- ETH_P_XDSA = 0xf8
55339- EXTA = 0xe
55340- EXTB = 0xf
55341- EXTPROC = 0x10000
55342- FALLOC_FL_COLLAPSE_RANGE = 0x8
55343- FALLOC_FL_INSERT_RANGE = 0x20
55344- FALLOC_FL_KEEP_SIZE = 0x1
55345- FALLOC_FL_NO_HIDE_STALE = 0x4
55346- FALLOC_FL_PUNCH_HOLE = 0x2
55347- FALLOC_FL_UNSHARE_RANGE = 0x40
55348- FALLOC_FL_ZERO_RANGE = 0x10
55349- FD_CLOEXEC = 0x1
55350- FD_SETSIZE = 0x400
55351- FF0 = 0x0
55352- FF1 = 0x8000
55353- FFDLY = 0x8000
55354- FLUSHO = 0x1000
55355- FS_ENCRYPTION_MODE_AES_256_CBC = 0x3
55356- FS_ENCRYPTION_MODE_AES_256_CTS = 0x4
55357- FS_ENCRYPTION_MODE_AES_256_GCM = 0x2
55358- FS_ENCRYPTION_MODE_AES_256_XTS = 0x1
55359- FS_ENCRYPTION_MODE_INVALID = 0x0
55360- FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615
55361- FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614
55362- FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613
55363- FS_KEY_DESCRIPTOR_SIZE = 0x8
55364- FS_KEY_DESC_PREFIX = "fscrypt:"
55365- FS_KEY_DESC_PREFIX_SIZE = 0x8
55366- FS_MAX_KEY_SIZE = 0x40
55367- FS_POLICY_FLAGS_PAD_16 = 0x2
55368- FS_POLICY_FLAGS_PAD_32 = 0x3
55369- FS_POLICY_FLAGS_PAD_4 = 0x0
55370- FS_POLICY_FLAGS_PAD_8 = 0x1
55371- FS_POLICY_FLAGS_PAD_MASK = 0x3
55372- FS_POLICY_FLAGS_VALID = 0x3
55373- F_DUPFD = 0x0
55374- F_DUPFD_CLOEXEC = 0x406
55375- F_EXLCK = 0x4
55376- F_GETFD = 0x1
55377- F_GETFL = 0x3
55378- F_GETLEASE = 0x401
55379- F_GETLK = 0x5
55380- F_GETLK64 = 0x5
55381- F_GETOWN = 0x9
55382- F_GETOWN_EX = 0x10
55383- F_GETPIPE_SZ = 0x408
55384- F_GETSIG = 0xb
55385- F_LOCK = 0x1
55386- F_NOTIFY = 0x402
55387- F_OFD_GETLK = 0x24
55388- F_OFD_SETLK = 0x25
55389- F_OFD_SETLKW = 0x26
55390- F_OK = 0x0
55391- F_RDLCK = 0x0
55392- F_SETFD = 0x2
55393- F_SETFL = 0x4
55394- F_SETLEASE = 0x400
55395- F_SETLK = 0x6
55396- F_SETLK64 = 0x6
55397- F_SETLKW = 0x7
55398- F_SETLKW64 = 0x7
55399- F_SETOWN = 0x8
55400- F_SETOWN_EX = 0xf
55401- F_SETPIPE_SZ = 0x407
55402- F_SETSIG = 0xa
55403- F_SHLCK = 0x8
55404- F_TEST = 0x3
55405- F_TLOCK = 0x2
55406- F_ULOCK = 0x0
55407- F_UNLCK = 0x2
55408- F_WRLCK = 0x1
55409- GENL_ADMIN_PERM = 0x1
55410- GENL_CMD_CAP_DO = 0x2
55411- GENL_CMD_CAP_DUMP = 0x4
55412- GENL_CMD_CAP_HASPOL = 0x8
55413- GENL_HDRLEN = 0x4
55414- GENL_ID_CTRL = 0x10
55415- GENL_ID_PMCRAID = 0x12
55416- GENL_ID_VFS_DQUOT = 0x11
55417- GENL_MAX_ID = 0x3ff
55418- GENL_MIN_ID = 0x10
55419- GENL_NAMSIZ = 0x10
55420- GENL_START_ALLOC = 0x13
55421- GENL_UNS_ADMIN_PERM = 0x10
55422- GRND_NONBLOCK = 0x1
55423- GRND_RANDOM = 0x2
55424- HUPCL = 0x400
55425- IBSHIFT = 0x10
55426- ICANON = 0x2
55427- ICMPV6_FILTER = 0x1
55428- ICRNL = 0x100
55429- IEXTEN = 0x8000
55430- IFA_F_DADFAILED = 0x8
55431- IFA_F_DEPRECATED = 0x20
55432- IFA_F_HOMEADDRESS = 0x10
55433- IFA_F_MANAGETEMPADDR = 0x100
55434- IFA_F_MCAUTOJOIN = 0x400
55435- IFA_F_NODAD = 0x2
55436- IFA_F_NOPREFIXROUTE = 0x200
55437- IFA_F_OPTIMISTIC = 0x4
55438- IFA_F_PERMANENT = 0x80
55439- IFA_F_SECONDARY = 0x1
55440- IFA_F_STABLE_PRIVACY = 0x800
55441- IFA_F_TEMPORARY = 0x1
55442- IFA_F_TENTATIVE = 0x40
55443- IFA_MAX = 0x8
55444- IFF_ALLMULTI = 0x200
55445- IFF_ATTACH_QUEUE = 0x200
55446- IFF_AUTOMEDIA = 0x4000
55447- IFF_BROADCAST = 0x2
55448- IFF_DEBUG = 0x4
55449- IFF_DETACH_QUEUE = 0x400
55450- IFF_DORMANT = 0x20000
55451- IFF_DYNAMIC = 0x8000
55452- IFF_ECHO = 0x40000
55453- IFF_LOOPBACK = 0x8
55454- IFF_LOWER_UP = 0x10000
55455- IFF_MASTER = 0x400
55456- IFF_MULTICAST = 0x1000
55457- IFF_MULTI_QUEUE = 0x100
55458- IFF_NOARP = 0x80
55459- IFF_NOFILTER = 0x1000
55460- IFF_NOTRAILERS = 0x20
55461- IFF_NO_PI = 0x1000
55462- IFF_ONE_QUEUE = 0x2000
55463- IFF_PERSIST = 0x800
55464- IFF_POINTOPOINT = 0x10
55465- IFF_PORTSEL = 0x2000
55466- IFF_PROMISC = 0x100
55467- IFF_RUNNING = 0x40
55468- IFF_SLAVE = 0x800
55469- IFF_TAP = 0x2
55470- IFF_TUN = 0x1
55471- IFF_TUN_EXCL = 0x8000
55472- IFF_UP = 0x1
55473- IFF_VNET_HDR = 0x4000
55474- IFF_VOLATILE = 0x70c5a
55475- IFNAMSIZ = 0x10
55476- IGNBRK = 0x1
55477- IGNCR = 0x80
55478- IGNPAR = 0x4
55479- IMAXBEL = 0x2000
55480- INLCR = 0x40
55481- INPCK = 0x10
55482- IN_ACCESS = 0x1
55483- IN_ALL_EVENTS = 0xfff
55484- IN_ATTRIB = 0x4
55485- IN_CLASSA_HOST = 0xffffff
55486- IN_CLASSA_MAX = 0x80
55487- IN_CLASSA_NET = 0xff000000
55488- IN_CLASSA_NSHIFT = 0x18
55489- IN_CLASSB_HOST = 0xffff
55490- IN_CLASSB_MAX = 0x10000
55491- IN_CLASSB_NET = 0xffff0000
55492- IN_CLASSB_NSHIFT = 0x10
55493- IN_CLASSC_HOST = 0xff
55494- IN_CLASSC_NET = 0xffffff00
55495- IN_CLASSC_NSHIFT = 0x8
55496- IN_CLOEXEC = 0x80000
55497- IN_CLOSE = 0x18
55498- IN_CLOSE_NOWRITE = 0x10
55499- IN_CLOSE_WRITE = 0x8
55500- IN_CREATE = 0x100
55501- IN_DELETE = 0x200
55502- IN_DELETE_SELF = 0x400
55503- IN_DONT_FOLLOW = 0x2000000
55504- IN_EXCL_UNLINK = 0x4000000
55505- IN_IGNORED = 0x8000
55506- IN_ISDIR = 0x40000000
55507- IN_LOOPBACKNET = 0x7f
55508- IN_MASK_ADD = 0x20000000
55509- IN_MODIFY = 0x2
55510- IN_MOVE = 0xc0
55511- IN_MOVED_FROM = 0x40
55512- IN_MOVED_TO = 0x80
55513- IN_MOVE_SELF = 0x800
55514- IN_NONBLOCK = 0x800
55515- IN_ONESHOT = 0x80000000
55516- IN_ONLYDIR = 0x1000000
55517- IN_OPEN = 0x20
55518- IN_Q_OVERFLOW = 0x4000
55519- IN_UNMOUNT = 0x2000
55520- IPPROTO_AH = 0x33
55521- IPPROTO_BEETPH = 0x5e
55522- IPPROTO_COMP = 0x6c
55523- IPPROTO_DCCP = 0x21
55524- IPPROTO_DSTOPTS = 0x3c
55525- IPPROTO_EGP = 0x8
55526- IPPROTO_ENCAP = 0x62
55527- IPPROTO_ESP = 0x32
55528- IPPROTO_FRAGMENT = 0x2c
55529- IPPROTO_GRE = 0x2f
55530- IPPROTO_HOPOPTS = 0x0
55531- IPPROTO_ICMP = 0x1
55532- IPPROTO_ICMPV6 = 0x3a
55533- IPPROTO_IDP = 0x16
55534- IPPROTO_IGMP = 0x2
55535- IPPROTO_IP = 0x0
55536- IPPROTO_IPIP = 0x4
55537- IPPROTO_IPV6 = 0x29
55538- IPPROTO_MH = 0x87
55539- IPPROTO_MPLS = 0x89
55540- IPPROTO_MTP = 0x5c
55541- IPPROTO_NONE = 0x3b
55542- IPPROTO_PIM = 0x67
55543- IPPROTO_PUP = 0xc
55544- IPPROTO_RAW = 0xff
55545- IPPROTO_ROUTING = 0x2b
55546- IPPROTO_RSVP = 0x2e
55547- IPPROTO_SCTP = 0x84
55548- IPPROTO_TCP = 0x6
55549- IPPROTO_TP = 0x1d
55550- IPPROTO_UDP = 0x11
55551- IPPROTO_UDPLITE = 0x88
55552- IPV6_2292DSTOPTS = 0x4
55553- IPV6_2292HOPLIMIT = 0x8
55554- IPV6_2292HOPOPTS = 0x3
55555- IPV6_2292PKTINFO = 0x2
55556- IPV6_2292PKTOPTIONS = 0x6
55557- IPV6_2292RTHDR = 0x5
55558- IPV6_ADDRFORM = 0x1
55559- IPV6_ADD_MEMBERSHIP = 0x14
55560- IPV6_AUTHHDR = 0xa
55561- IPV6_CHECKSUM = 0x7
55562- IPV6_DONTFRAG = 0x3e
55563- IPV6_DROP_MEMBERSHIP = 0x15
55564- IPV6_DSTOPTS = 0x3b
55565- IPV6_HDRINCL = 0x24
55566- IPV6_HOPLIMIT = 0x34
55567- IPV6_HOPOPTS = 0x36
55568- IPV6_IPSEC_POLICY = 0x22
55569- IPV6_JOIN_ANYCAST = 0x1b
55570- IPV6_JOIN_GROUP = 0x14
55571- IPV6_LEAVE_ANYCAST = 0x1c
55572- IPV6_LEAVE_GROUP = 0x15
55573- IPV6_MTU = 0x18
55574- IPV6_MTU_DISCOVER = 0x17
55575- IPV6_MULTICAST_HOPS = 0x12
55576- IPV6_MULTICAST_IF = 0x11
55577- IPV6_MULTICAST_LOOP = 0x13
55578- IPV6_NEXTHOP = 0x9
55579- IPV6_PATHMTU = 0x3d
55580- IPV6_PKTINFO = 0x32
55581- IPV6_PMTUDISC_DO = 0x2
55582- IPV6_PMTUDISC_DONT = 0x0
55583- IPV6_PMTUDISC_INTERFACE = 0x4
55584- IPV6_PMTUDISC_OMIT = 0x5
55585- IPV6_PMTUDISC_PROBE = 0x3
55586- IPV6_PMTUDISC_WANT = 0x1
55587- IPV6_RECVDSTOPTS = 0x3a
55588- IPV6_RECVERR = 0x19
55589- IPV6_RECVHOPLIMIT = 0x33
55590- IPV6_RECVHOPOPTS = 0x35
55591- IPV6_RECVPATHMTU = 0x3c
55592- IPV6_RECVPKTINFO = 0x31
55593- IPV6_RECVRTHDR = 0x38
55594- IPV6_RECVTCLASS = 0x42
55595- IPV6_ROUTER_ALERT = 0x16
55596- IPV6_RTHDR = 0x39
55597- IPV6_RTHDRDSTOPTS = 0x37
55598- IPV6_RTHDR_LOOSE = 0x0
55599- IPV6_RTHDR_STRICT = 0x1
55600- IPV6_RTHDR_TYPE_0 = 0x0
55601- IPV6_RXDSTOPTS = 0x3b
55602- IPV6_RXHOPOPTS = 0x36
55603- IPV6_TCLASS = 0x43
55604- IPV6_UNICAST_HOPS = 0x10
55605- IPV6_V6ONLY = 0x1a
55606- IPV6_XFRM_POLICY = 0x23
55607- IP_ADD_MEMBERSHIP = 0x23
55608- IP_ADD_SOURCE_MEMBERSHIP = 0x27
55609- IP_BIND_ADDRESS_NO_PORT = 0x18
55610- IP_BLOCK_SOURCE = 0x26
55611- IP_CHECKSUM = 0x17
55612- IP_DEFAULT_MULTICAST_LOOP = 0x1
55613- IP_DEFAULT_MULTICAST_TTL = 0x1
55614- IP_DF = 0x4000
55615- IP_DROP_MEMBERSHIP = 0x24
55616- IP_DROP_SOURCE_MEMBERSHIP = 0x28
55617- IP_FREEBIND = 0xf
55618- IP_HDRINCL = 0x3
55619- IP_IPSEC_POLICY = 0x10
55620- IP_MAXPACKET = 0xffff
55621- IP_MAX_MEMBERSHIPS = 0x14
55622- IP_MF = 0x2000
55623- IP_MINTTL = 0x15
55624- IP_MSFILTER = 0x29
55625- IP_MSS = 0x240
55626- IP_MTU = 0xe
55627- IP_MTU_DISCOVER = 0xa
55628- IP_MULTICAST_ALL = 0x31
55629- IP_MULTICAST_IF = 0x20
55630- IP_MULTICAST_LOOP = 0x22
55631- IP_MULTICAST_TTL = 0x21
55632- IP_NODEFRAG = 0x16
55633- IP_OFFMASK = 0x1fff
55634- IP_OPTIONS = 0x4
55635- IP_ORIGDSTADDR = 0x14
55636- IP_PASSSEC = 0x12
55637- IP_PKTINFO = 0x8
55638- IP_PKTOPTIONS = 0x9
55639- IP_PMTUDISC = 0xa
55640- IP_PMTUDISC_DO = 0x2
55641- IP_PMTUDISC_DONT = 0x0
55642- IP_PMTUDISC_INTERFACE = 0x4
55643- IP_PMTUDISC_OMIT = 0x5
55644- IP_PMTUDISC_PROBE = 0x3
55645- IP_PMTUDISC_WANT = 0x1
55646- IP_RECVERR = 0xb
55647- IP_RECVOPTS = 0x6
55648- IP_RECVORIGDSTADDR = 0x14
55649- IP_RECVRETOPTS = 0x7
55650- IP_RECVTOS = 0xd
55651- IP_RECVTTL = 0xc
55652- IP_RETOPTS = 0x7
55653- IP_RF = 0x8000
55654- IP_ROUTER_ALERT = 0x5
55655- IP_TOS = 0x1
55656- IP_TRANSPARENT = 0x13
55657- IP_TTL = 0x2
55658- IP_UNBLOCK_SOURCE = 0x25
55659- IP_UNICAST_IF = 0x32
55660- IP_XFRM_POLICY = 0x11
55661- ISIG = 0x1
55662- ISTRIP = 0x20
55663- IUCLC = 0x200
55664- IUTF8 = 0x4000
55665- IXANY = 0x800
55666- IXOFF = 0x1000
55667- IXON = 0x400
55668- KEYCTL_ASSUME_AUTHORITY = 0x10
55669- KEYCTL_CHOWN = 0x4
55670- KEYCTL_CLEAR = 0x7
55671- KEYCTL_DESCRIBE = 0x6
55672- KEYCTL_DH_COMPUTE = 0x17
55673- KEYCTL_GET_KEYRING_ID = 0x0
55674- KEYCTL_GET_PERSISTENT = 0x16
55675- KEYCTL_GET_SECURITY = 0x11
55676- KEYCTL_INSTANTIATE = 0xc
55677- KEYCTL_INSTANTIATE_IOV = 0x14
55678- KEYCTL_INVALIDATE = 0x15
55679- KEYCTL_JOIN_SESSION_KEYRING = 0x1
55680- KEYCTL_LINK = 0x8
55681- KEYCTL_NEGATE = 0xd
55682- KEYCTL_READ = 0xb
55683- KEYCTL_REJECT = 0x13
55684- KEYCTL_REVOKE = 0x3
55685- KEYCTL_SEARCH = 0xa
55686- KEYCTL_SESSION_TO_PARENT = 0x12
55687- KEYCTL_SETPERM = 0x5
55688- KEYCTL_SET_REQKEY_KEYRING = 0xe
55689- KEYCTL_SET_TIMEOUT = 0xf
55690- KEYCTL_UNLINK = 0x9
55691- KEYCTL_UPDATE = 0x2
55692- KEY_REQKEY_DEFL_DEFAULT = 0x0
55693- KEY_REQKEY_DEFL_GROUP_KEYRING = 0x6
55694- KEY_REQKEY_DEFL_NO_CHANGE = -0x1
55695- KEY_REQKEY_DEFL_PROCESS_KEYRING = 0x2
55696- KEY_REQKEY_DEFL_REQUESTOR_KEYRING = 0x7
55697- KEY_REQKEY_DEFL_SESSION_KEYRING = 0x3
55698- KEY_REQKEY_DEFL_THREAD_KEYRING = 0x1
55699- KEY_REQKEY_DEFL_USER_KEYRING = 0x4
55700- KEY_REQKEY_DEFL_USER_SESSION_KEYRING = 0x5
55701- KEY_SPEC_GROUP_KEYRING = -0x6
55702- KEY_SPEC_PROCESS_KEYRING = -0x2
55703- KEY_SPEC_REQKEY_AUTH_KEY = -0x7
55704- KEY_SPEC_REQUESTOR_KEYRING = -0x8
55705- KEY_SPEC_SESSION_KEYRING = -0x3
55706- KEY_SPEC_THREAD_KEYRING = -0x1
55707- KEY_SPEC_USER_KEYRING = -0x4
55708- KEY_SPEC_USER_SESSION_KEYRING = -0x5
55709- LINUX_REBOOT_CMD_CAD_OFF = 0x0
55710- LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
55711- LINUX_REBOOT_CMD_HALT = 0xcdef0123
55712- LINUX_REBOOT_CMD_KEXEC = 0x45584543
55713- LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
55714- LINUX_REBOOT_CMD_RESTART = 0x1234567
55715- LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
55716- LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
55717- LINUX_REBOOT_MAGIC1 = 0xfee1dead
55718- LINUX_REBOOT_MAGIC2 = 0x28121969
55719- LOCK_EX = 0x2
55720- LOCK_NB = 0x4
55721- LOCK_SH = 0x1
55722- LOCK_UN = 0x8
55723- MADV_DODUMP = 0x11
55724- MADV_DOFORK = 0xb
55725- MADV_DONTDUMP = 0x10
55726- MADV_DONTFORK = 0xa
55727- MADV_DONTNEED = 0x4
55728- MADV_FREE = 0x8
55729- MADV_HUGEPAGE = 0xe
55730- MADV_HWPOISON = 0x64
55731- MADV_MERGEABLE = 0xc
55732- MADV_NOHUGEPAGE = 0xf
55733- MADV_NORMAL = 0x0
55734- MADV_RANDOM = 0x1
55735- MADV_REMOVE = 0x9
55736- MADV_SEQUENTIAL = 0x2
55737- MADV_UNMERGEABLE = 0xd
55738- MADV_WILLNEED = 0x3
55739- MAP_ANON = 0x20
55740- MAP_ANONYMOUS = 0x20
55741- MAP_DENYWRITE = 0x800
55742- MAP_EXECUTABLE = 0x1000
55743- MAP_FILE = 0x0
55744- MAP_FIXED = 0x10
55745- MAP_GROWSDOWN = 0x100
55746- MAP_HUGETLB = 0x40000
55747- MAP_HUGE_MASK = 0x3f
55748- MAP_HUGE_SHIFT = 0x1a
55749- MAP_LOCKED = 0x2000
55750- MAP_NONBLOCK = 0x10000
55751- MAP_NORESERVE = 0x4000
55752- MAP_POPULATE = 0x8000
55753- MAP_PRIVATE = 0x2
55754- MAP_SHARED = 0x1
55755- MAP_STACK = 0x20000
55756- MAP_TYPE = 0xf
55757- MCL_CURRENT = 0x1
55758- MCL_FUTURE = 0x2
55759- MCL_ONFAULT = 0x4
55760- MNT_DETACH = 0x2
55761- MNT_EXPIRE = 0x4
55762- MNT_FORCE = 0x1
55763- MSG_BATCH = 0x40000
55764- MSG_CMSG_CLOEXEC = 0x40000000
55765- MSG_CONFIRM = 0x800
55766- MSG_CTRUNC = 0x8
55767- MSG_DONTROUTE = 0x4
55768- MSG_DONTWAIT = 0x40
55769- MSG_EOR = 0x80
55770- MSG_ERRQUEUE = 0x2000
55771- MSG_FASTOPEN = 0x20000000
55772- MSG_FIN = 0x200
55773- MSG_MORE = 0x8000
55774- MSG_NOSIGNAL = 0x4000
55775- MSG_OOB = 0x1
55776- MSG_PEEK = 0x2
55777- MSG_PROXY = 0x10
55778- MSG_RST = 0x1000
55779- MSG_SYN = 0x400
55780- MSG_TRUNC = 0x20
55781- MSG_TRYHARD = 0x4
55782- MSG_WAITALL = 0x100
55783- MSG_WAITFORONE = 0x10000
55784- MS_ACTIVE = 0x40000000
55785- MS_ASYNC = 0x1
55786- MS_BIND = 0x1000
55787- MS_BORN = 0x20000000
55788- MS_DIRSYNC = 0x80
55789- MS_INVALIDATE = 0x2
55790- MS_I_VERSION = 0x800000
55791- MS_KERNMOUNT = 0x400000
55792- MS_LAZYTIME = 0x2000000
55793- MS_MANDLOCK = 0x40
55794- MS_MGC_MSK = 0xffff0000
55795- MS_MGC_VAL = 0xc0ed0000
55796- MS_MOVE = 0x2000
55797- MS_NOATIME = 0x400
55798- MS_NODEV = 0x4
55799- MS_NODIRATIME = 0x800
55800- MS_NOEXEC = 0x8
55801- MS_NOREMOTELOCK = 0x8000000
55802- MS_NOSEC = 0x10000000
55803- MS_NOSUID = 0x2
55804- MS_NOUSER = -0x80000000
55805- MS_POSIXACL = 0x10000
55806- MS_PRIVATE = 0x40000
55807- MS_RDONLY = 0x1
55808- MS_REC = 0x4000
55809- MS_RELATIME = 0x200000
55810- MS_REMOUNT = 0x20
55811- MS_RMT_MASK = 0x2800051
55812- MS_SHARED = 0x100000
55813- MS_SILENT = 0x8000
55814- MS_SLAVE = 0x80000
55815- MS_STRICTATIME = 0x1000000
55816- MS_SYNC = 0x4
55817- MS_SYNCHRONOUS = 0x10
55818- MS_UNBINDABLE = 0x20000
55819- MS_VERBOSE = 0x8000
55820- NAME_MAX = 0xff
55821- NETLINK_ADD_MEMBERSHIP = 0x1
55822- NETLINK_AUDIT = 0x9
55823- NETLINK_BROADCAST_ERROR = 0x4
55824- NETLINK_CAP_ACK = 0xa
55825- NETLINK_CONNECTOR = 0xb
55826- NETLINK_CRYPTO = 0x15
55827- NETLINK_DNRTMSG = 0xe
55828- NETLINK_DROP_MEMBERSHIP = 0x2
55829- NETLINK_ECRYPTFS = 0x13
55830- NETLINK_FIB_LOOKUP = 0xa
55831- NETLINK_FIREWALL = 0x3
55832- NETLINK_GENERIC = 0x10
55833- NETLINK_INET_DIAG = 0x4
55834- NETLINK_IP6_FW = 0xd
55835- NETLINK_ISCSI = 0x8
55836- NETLINK_KOBJECT_UEVENT = 0xf
55837- NETLINK_LISTEN_ALL_NSID = 0x8
55838- NETLINK_LIST_MEMBERSHIPS = 0x9
55839- NETLINK_NETFILTER = 0xc
55840- NETLINK_NFLOG = 0x5
55841- NETLINK_NO_ENOBUFS = 0x5
55842- NETLINK_PKTINFO = 0x3
55843- NETLINK_RDMA = 0x14
55844- NETLINK_ROUTE = 0x0
55845- NETLINK_RX_RING = 0x6
55846- NETLINK_SCSITRANSPORT = 0x12
55847- NETLINK_SELINUX = 0x7
55848- NETLINK_SOCK_DIAG = 0x4
55849- NETLINK_TX_RING = 0x7
55850- NETLINK_UNUSED = 0x1
55851- NETLINK_USERSOCK = 0x2
55852- NETLINK_XFRM = 0x6
55853- NL0 = 0x0
55854- NL1 = 0x100
55855- NLA_ALIGNTO = 0x4
55856- NLA_F_NESTED = 0x8000
55857- NLA_F_NET_BYTEORDER = 0x4000
55858- NLA_HDRLEN = 0x4
55859- NLDLY = 0x100
55860- NLMSG_ALIGNTO = 0x4
55861- NLMSG_DONE = 0x3
55862- NLMSG_ERROR = 0x2
55863- NLMSG_HDRLEN = 0x10
55864- NLMSG_MIN_TYPE = 0x10
55865- NLMSG_NOOP = 0x1
55866- NLMSG_OVERRUN = 0x4
55867- NLM_F_ACK = 0x4
55868- NLM_F_APPEND = 0x800
55869- NLM_F_ATOMIC = 0x400
55870- NLM_F_CREATE = 0x400
55871- NLM_F_DUMP = 0x300
55872- NLM_F_DUMP_FILTERED = 0x20
55873- NLM_F_DUMP_INTR = 0x10
55874- NLM_F_ECHO = 0x8
55875- NLM_F_EXCL = 0x200
55876- NLM_F_MATCH = 0x200
55877- NLM_F_MULTI = 0x2
55878- NLM_F_REPLACE = 0x100
55879- NLM_F_REQUEST = 0x1
55880- NLM_F_ROOT = 0x100
55881- NOFLSH = 0x80
55882- OCRNL = 0x8
55883- OFDEL = 0x80
55884- OFILL = 0x40
55885- OLCUC = 0x2
55886- ONLCR = 0x4
55887- ONLRET = 0x20
55888- ONOCR = 0x10
55889- OPOST = 0x1
55890- O_ACCMODE = 0x3
55891- O_APPEND = 0x400
55892- O_ASYNC = 0x2000
55893- O_CLOEXEC = 0x80000
55894- O_CREAT = 0x40
55895- O_DIRECT = 0x4000
55896- O_DIRECTORY = 0x10000
55897- O_DSYNC = 0x1000
55898- O_EXCL = 0x80
55899- O_FSYNC = 0x101000
55900- O_LARGEFILE = 0x0
55901- O_NDELAY = 0x800
55902- O_NOATIME = 0x40000
55903- O_NOCTTY = 0x100
55904- O_NOFOLLOW = 0x20000
55905- O_NONBLOCK = 0x800
55906- O_PATH = 0x200000
55907- O_RDONLY = 0x0
55908- O_RDWR = 0x2
55909- O_RSYNC = 0x101000
55910- O_SYNC = 0x101000
55911- O_TMPFILE = 0x410000
55912- O_TRUNC = 0x200
55913- O_WRONLY = 0x1
55914- PACKET_ADD_MEMBERSHIP = 0x1
55915- PACKET_AUXDATA = 0x8
55916- PACKET_BROADCAST = 0x1
55917- PACKET_COPY_THRESH = 0x7
55918- PACKET_DROP_MEMBERSHIP = 0x2
55919- PACKET_FANOUT = 0x12
55920- PACKET_FANOUT_CBPF = 0x6
55921- PACKET_FANOUT_CPU = 0x2
55922- PACKET_FANOUT_DATA = 0x16
55923- PACKET_FANOUT_EBPF = 0x7
55924- PACKET_FANOUT_FLAG_DEFRAG = 0x8000
55925- PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
55926- PACKET_FANOUT_HASH = 0x0
55927- PACKET_FANOUT_LB = 0x1
55928- PACKET_FANOUT_QM = 0x5
55929- PACKET_FANOUT_RND = 0x4
55930- PACKET_FANOUT_ROLLOVER = 0x3
55931- PACKET_FASTROUTE = 0x6
55932- PACKET_HDRLEN = 0xb
55933- PACKET_HOST = 0x0
55934- PACKET_KERNEL = 0x7
55935- PACKET_LOOPBACK = 0x5
55936- PACKET_LOSS = 0xe
55937- PACKET_MR_ALLMULTI = 0x2
55938- PACKET_MR_MULTICAST = 0x0
55939- PACKET_MR_PROMISC = 0x1
55940- PACKET_MR_UNICAST = 0x3
55941- PACKET_MULTICAST = 0x2
55942- PACKET_ORIGDEV = 0x9
55943- PACKET_OTHERHOST = 0x3
55944- PACKET_OUTGOING = 0x4
55945- PACKET_QDISC_BYPASS = 0x14
55946- PACKET_RECV_OUTPUT = 0x3
55947- PACKET_RESERVE = 0xc
55948- PACKET_ROLLOVER_STATS = 0x15
55949- PACKET_RX_RING = 0x5
55950- PACKET_STATISTICS = 0x6
55951- PACKET_TIMESTAMP = 0x11
55952- PACKET_TX_HAS_OFF = 0x13
55953- PACKET_TX_RING = 0xd
55954- PACKET_TX_TIMESTAMP = 0x10
55955- PACKET_USER = 0x6
55956- PACKET_VERSION = 0xa
55957- PACKET_VNET_HDR = 0xf
55958- PARENB = 0x100
55959- PARITY_CRC16_PR0 = 0x2
55960- PARITY_CRC16_PR0_CCITT = 0x4
55961- PARITY_CRC16_PR1 = 0x3
55962- PARITY_CRC16_PR1_CCITT = 0x5
55963- PARITY_CRC32_PR0_CCITT = 0x6
55964- PARITY_CRC32_PR1_CCITT = 0x7
55965- PARITY_DEFAULT = 0x0
55966- PARITY_NONE = 0x1
55967- PARMRK = 0x8
55968- PARODD = 0x200
55969- PENDIN = 0x4000
55970- PERF_EVENT_IOC_DISABLE = 0x2401
55971- PERF_EVENT_IOC_ENABLE = 0x2400
55972- PERF_EVENT_IOC_ID = 0x80082407
55973- PERF_EVENT_IOC_PAUSE_OUTPUT = 0x40042409
55974- PERF_EVENT_IOC_PERIOD = 0x40082404
55975- PERF_EVENT_IOC_REFRESH = 0x2402
55976- PERF_EVENT_IOC_RESET = 0x2403
55977- PERF_EVENT_IOC_SET_BPF = 0x40042408
55978- PERF_EVENT_IOC_SET_FILTER = 0x40082406
55979- PERF_EVENT_IOC_SET_OUTPUT = 0x2405
55980- PRIO_PGRP = 0x1
55981- PRIO_PROCESS = 0x0
55982- PRIO_USER = 0x2
55983- PROT_EXEC = 0x4
55984- PROT_GROWSDOWN = 0x1000000
55985- PROT_GROWSUP = 0x2000000
55986- PROT_NONE = 0x0
55987- PROT_READ = 0x1
55988- PROT_WRITE = 0x2
55989- PR_CAPBSET_DROP = 0x18
55990- PR_CAPBSET_READ = 0x17
55991- PR_CAP_AMBIENT = 0x2f
55992- PR_CAP_AMBIENT_CLEAR_ALL = 0x4
55993- PR_CAP_AMBIENT_IS_SET = 0x1
55994- PR_CAP_AMBIENT_LOWER = 0x3
55995- PR_CAP_AMBIENT_RAISE = 0x2
55996- PR_ENDIAN_BIG = 0x0
55997- PR_ENDIAN_LITTLE = 0x1
55998- PR_ENDIAN_PPC_LITTLE = 0x2
55999- PR_FPEMU_NOPRINT = 0x1
56000- PR_FPEMU_SIGFPE = 0x2
56001- PR_FP_EXC_ASYNC = 0x2
56002- PR_FP_EXC_DISABLED = 0x0
56003- PR_FP_EXC_DIV = 0x10000
56004- PR_FP_EXC_INV = 0x100000
56005- PR_FP_EXC_NONRECOV = 0x1
56006- PR_FP_EXC_OVF = 0x20000
56007- PR_FP_EXC_PRECISE = 0x3
56008- PR_FP_EXC_RES = 0x80000
56009- PR_FP_EXC_SW_ENABLE = 0x80
56010- PR_FP_EXC_UND = 0x40000
56011- PR_FP_MODE_FR = 0x1
56012- PR_FP_MODE_FRE = 0x2
56013- PR_GET_CHILD_SUBREAPER = 0x25
56014- PR_GET_DUMPABLE = 0x3
56015- PR_GET_ENDIAN = 0x13
56016- PR_GET_FPEMU = 0x9
56017- PR_GET_FPEXC = 0xb
56018- PR_GET_FP_MODE = 0x2e
56019- PR_GET_KEEPCAPS = 0x7
56020- PR_GET_NAME = 0x10
56021- PR_GET_NO_NEW_PRIVS = 0x27
56022- PR_GET_PDEATHSIG = 0x2
56023- PR_GET_SECCOMP = 0x15
56024- PR_GET_SECUREBITS = 0x1b
56025- PR_GET_THP_DISABLE = 0x2a
56026- PR_GET_TID_ADDRESS = 0x28
56027- PR_GET_TIMERSLACK = 0x1e
56028- PR_GET_TIMING = 0xd
56029- PR_GET_TSC = 0x19
56030- PR_GET_UNALIGN = 0x5
56031- PR_MCE_KILL = 0x21
56032- PR_MCE_KILL_CLEAR = 0x0
56033- PR_MCE_KILL_DEFAULT = 0x2
56034- PR_MCE_KILL_EARLY = 0x1
56035- PR_MCE_KILL_GET = 0x22
56036- PR_MCE_KILL_LATE = 0x0
56037- PR_MCE_KILL_SET = 0x1
56038- PR_MPX_DISABLE_MANAGEMENT = 0x2c
56039- PR_MPX_ENABLE_MANAGEMENT = 0x2b
56040- PR_SET_CHILD_SUBREAPER = 0x24
56041- PR_SET_DUMPABLE = 0x4
56042- PR_SET_ENDIAN = 0x14
56043- PR_SET_FPEMU = 0xa
56044- PR_SET_FPEXC = 0xc
56045- PR_SET_FP_MODE = 0x2d
56046- PR_SET_KEEPCAPS = 0x8
56047- PR_SET_MM = 0x23
56048- PR_SET_MM_ARG_END = 0x9
56049- PR_SET_MM_ARG_START = 0x8
56050- PR_SET_MM_AUXV = 0xc
56051- PR_SET_MM_BRK = 0x7
56052- PR_SET_MM_END_CODE = 0x2
56053- PR_SET_MM_END_DATA = 0x4
56054- PR_SET_MM_ENV_END = 0xb
56055- PR_SET_MM_ENV_START = 0xa
56056- PR_SET_MM_EXE_FILE = 0xd
56057- PR_SET_MM_MAP = 0xe
56058- PR_SET_MM_MAP_SIZE = 0xf
56059- PR_SET_MM_START_BRK = 0x6
56060- PR_SET_MM_START_CODE = 0x1
56061- PR_SET_MM_START_DATA = 0x3
56062- PR_SET_MM_START_STACK = 0x5
56063- PR_SET_NAME = 0xf
56064- PR_SET_NO_NEW_PRIVS = 0x26
56065- PR_SET_PDEATHSIG = 0x1
56066- PR_SET_PTRACER = 0x59616d61
56067- PR_SET_PTRACER_ANY = -0x1
56068- PR_SET_SECCOMP = 0x16
56069- PR_SET_SECUREBITS = 0x1c
56070- PR_SET_THP_DISABLE = 0x29
56071- PR_SET_TIMERSLACK = 0x1d
56072- PR_SET_TIMING = 0xe
56073- PR_SET_TSC = 0x1a
56074- PR_SET_UNALIGN = 0x6
56075- PR_TASK_PERF_EVENTS_DISABLE = 0x1f
56076- PR_TASK_PERF_EVENTS_ENABLE = 0x20
56077- PR_TIMING_STATISTICAL = 0x0
56078- PR_TIMING_TIMESTAMP = 0x1
56079- PR_TSC_ENABLE = 0x1
56080- PR_TSC_SIGSEGV = 0x2
56081- PR_UNALIGN_NOPRINT = 0x1
56082- PR_UNALIGN_SIGBUS = 0x2
56083- PTRACE_ATTACH = 0x10
56084- PTRACE_CONT = 0x7
56085- PTRACE_DETACH = 0x11
56086- PTRACE_DISABLE_TE = 0x5010
56087- PTRACE_ENABLE_TE = 0x5009
56088- PTRACE_EVENT_CLONE = 0x3
56089- PTRACE_EVENT_EXEC = 0x4
56090- PTRACE_EVENT_EXIT = 0x6
56091- PTRACE_EVENT_FORK = 0x1
56092- PTRACE_EVENT_SECCOMP = 0x7
56093- PTRACE_EVENT_STOP = 0x80
56094- PTRACE_EVENT_VFORK = 0x2
56095- PTRACE_EVENT_VFORK_DONE = 0x5
56096- PTRACE_GETEVENTMSG = 0x4201
56097- PTRACE_GETREGS = 0xc
56098- PTRACE_GETREGSET = 0x4204
56099- PTRACE_GETSIGINFO = 0x4202
56100- PTRACE_GETSIGMASK = 0x420a
56101- PTRACE_GET_LAST_BREAK = 0x5006
56102- PTRACE_INTERRUPT = 0x4207
56103- PTRACE_KILL = 0x8
56104- PTRACE_LISTEN = 0x4208
56105- PTRACE_OLDSETOPTIONS = 0x15
56106- PTRACE_O_EXITKILL = 0x100000
56107- PTRACE_O_MASK = 0x3000ff
56108- PTRACE_O_SUSPEND_SECCOMP = 0x200000
56109- PTRACE_O_TRACECLONE = 0x8
56110- PTRACE_O_TRACEEXEC = 0x10
56111- PTRACE_O_TRACEEXIT = 0x40
56112- PTRACE_O_TRACEFORK = 0x2
56113- PTRACE_O_TRACESECCOMP = 0x80
56114- PTRACE_O_TRACESYSGOOD = 0x1
56115- PTRACE_O_TRACEVFORK = 0x4
56116- PTRACE_O_TRACEVFORKDONE = 0x20
56117- PTRACE_PEEKDATA = 0x2
56118- PTRACE_PEEKDATA_AREA = 0x5003
56119- PTRACE_PEEKSIGINFO = 0x4209
56120- PTRACE_PEEKSIGINFO_SHARED = 0x1
56121- PTRACE_PEEKTEXT = 0x1
56122- PTRACE_PEEKTEXT_AREA = 0x5002
56123- PTRACE_PEEKUSR = 0x3
56124- PTRACE_PEEKUSR_AREA = 0x5000
56125- PTRACE_PEEK_SYSTEM_CALL = 0x5007
56126- PTRACE_POKEDATA = 0x5
56127- PTRACE_POKEDATA_AREA = 0x5005
56128- PTRACE_POKETEXT = 0x4
56129- PTRACE_POKETEXT_AREA = 0x5004
56130- PTRACE_POKEUSR = 0x6
56131- PTRACE_POKEUSR_AREA = 0x5001
56132- PTRACE_POKE_SYSTEM_CALL = 0x5008
56133- PTRACE_PROT = 0x15
56134- PTRACE_SECCOMP_GET_FILTER = 0x420c
56135- PTRACE_SEIZE = 0x4206
56136- PTRACE_SETOPTIONS = 0x4200
56137- PTRACE_SETREGS = 0xd
56138- PTRACE_SETREGSET = 0x4205
56139- PTRACE_SETSIGINFO = 0x4203
56140- PTRACE_SETSIGMASK = 0x420b
56141- PTRACE_SINGLEBLOCK = 0xc
56142- PTRACE_SINGLESTEP = 0x9
56143- PTRACE_SYSCALL = 0x18
56144- PTRACE_TE_ABORT_RAND = 0x5011
56145- PTRACE_TRACEME = 0x0
56146- PT_ACR0 = 0x90
56147- PT_ACR1 = 0x94
56148- PT_ACR10 = 0xb8
56149- PT_ACR11 = 0xbc
56150- PT_ACR12 = 0xc0
56151- PT_ACR13 = 0xc4
56152- PT_ACR14 = 0xc8
56153- PT_ACR15 = 0xcc
56154- PT_ACR2 = 0x98
56155- PT_ACR3 = 0x9c
56156- PT_ACR4 = 0xa0
56157- PT_ACR5 = 0xa4
56158- PT_ACR6 = 0xa8
56159- PT_ACR7 = 0xac
56160- PT_ACR8 = 0xb0
56161- PT_ACR9 = 0xb4
56162- PT_CR_10 = 0x168
56163- PT_CR_11 = 0x170
56164- PT_CR_9 = 0x160
56165- PT_ENDREGS = 0x1af
56166- PT_FPC = 0xd8
56167- PT_FPR0 = 0xe0
56168- PT_FPR1 = 0xe8
56169- PT_FPR10 = 0x130
56170- PT_FPR11 = 0x138
56171- PT_FPR12 = 0x140
56172- PT_FPR13 = 0x148
56173- PT_FPR14 = 0x150
56174- PT_FPR15 = 0x158
56175- PT_FPR2 = 0xf0
56176- PT_FPR3 = 0xf8
56177- PT_FPR4 = 0x100
56178- PT_FPR5 = 0x108
56179- PT_FPR6 = 0x110
56180- PT_FPR7 = 0x118
56181- PT_FPR8 = 0x120
56182- PT_FPR9 = 0x128
56183- PT_GPR0 = 0x10
56184- PT_GPR1 = 0x18
56185- PT_GPR10 = 0x60
56186- PT_GPR11 = 0x68
56187- PT_GPR12 = 0x70
56188- PT_GPR13 = 0x78
56189- PT_GPR14 = 0x80
56190- PT_GPR15 = 0x88
56191- PT_GPR2 = 0x20
56192- PT_GPR3 = 0x28
56193- PT_GPR4 = 0x30
56194- PT_GPR5 = 0x38
56195- PT_GPR6 = 0x40
56196- PT_GPR7 = 0x48
56197- PT_GPR8 = 0x50
56198- PT_GPR9 = 0x58
56199- PT_IEEE_IP = 0x1a8
56200- PT_LASTOFF = 0x1a8
56201- PT_ORIGGPR2 = 0xd0
56202- PT_PSWADDR = 0x8
56203- PT_PSWMASK = 0x0
56204- RLIMIT_AS = 0x9
56205- RLIMIT_CORE = 0x4
56206- RLIMIT_CPU = 0x0
56207- RLIMIT_DATA = 0x2
56208- RLIMIT_FSIZE = 0x1
56209- RLIMIT_LOCKS = 0xa
56210- RLIMIT_MEMLOCK = 0x8
56211- RLIMIT_MSGQUEUE = 0xc
56212- RLIMIT_NICE = 0xd
56213- RLIMIT_NOFILE = 0x7
56214- RLIMIT_NPROC = 0x6
56215- RLIMIT_RSS = 0x5
56216- RLIMIT_RTPRIO = 0xe
56217- RLIMIT_RTTIME = 0xf
56218- RLIMIT_SIGPENDING = 0xb
56219- RLIMIT_STACK = 0x3
56220- RLIM_INFINITY = -0x1
56221- RTAX_ADVMSS = 0x8
56222- RTAX_CC_ALGO = 0x10
56223- RTAX_CWND = 0x7
56224- RTAX_FEATURES = 0xc
56225- RTAX_FEATURE_ALLFRAG = 0x8
56226- RTAX_FEATURE_ECN = 0x1
56227- RTAX_FEATURE_MASK = 0xf
56228- RTAX_FEATURE_SACK = 0x2
56229- RTAX_FEATURE_TIMESTAMP = 0x4
56230- RTAX_HOPLIMIT = 0xa
56231- RTAX_INITCWND = 0xb
56232- RTAX_INITRWND = 0xe
56233- RTAX_LOCK = 0x1
56234- RTAX_MAX = 0x10
56235- RTAX_MTU = 0x2
56236- RTAX_QUICKACK = 0xf
56237- RTAX_REORDERING = 0x9
56238- RTAX_RTO_MIN = 0xd
56239- RTAX_RTT = 0x4
56240- RTAX_RTTVAR = 0x5
56241- RTAX_SSTHRESH = 0x6
56242- RTAX_UNSPEC = 0x0
56243- RTAX_WINDOW = 0x3
56244- RTA_ALIGNTO = 0x4
56245- RTA_MAX = 0x19
56246- RTCF_DIRECTSRC = 0x4000000
56247- RTCF_DOREDIRECT = 0x1000000
56248- RTCF_LOG = 0x2000000
56249- RTCF_MASQ = 0x400000
56250- RTCF_NAT = 0x800000
56251- RTCF_VALVE = 0x200000
56252- RTF_ADDRCLASSMASK = 0xf8000000
56253- RTF_ADDRCONF = 0x40000
56254- RTF_ALLONLINK = 0x20000
56255- RTF_BROADCAST = 0x10000000
56256- RTF_CACHE = 0x1000000
56257- RTF_DEFAULT = 0x10000
56258- RTF_DYNAMIC = 0x10
56259- RTF_FLOW = 0x2000000
56260- RTF_GATEWAY = 0x2
56261- RTF_HOST = 0x4
56262- RTF_INTERFACE = 0x40000000
56263- RTF_IRTT = 0x100
56264- RTF_LINKRT = 0x100000
56265- RTF_LOCAL = 0x80000000
56266- RTF_MODIFIED = 0x20
56267- RTF_MSS = 0x40
56268- RTF_MTU = 0x40
56269- RTF_MULTICAST = 0x20000000
56270- RTF_NAT = 0x8000000
56271- RTF_NOFORWARD = 0x1000
56272- RTF_NONEXTHOP = 0x200000
56273- RTF_NOPMTUDISC = 0x4000
56274- RTF_POLICY = 0x4000000
56275- RTF_REINSTATE = 0x8
56276- RTF_REJECT = 0x200
56277- RTF_STATIC = 0x400
56278- RTF_THROW = 0x2000
56279- RTF_UP = 0x1
56280- RTF_WINDOW = 0x80
56281- RTF_XRESOLVE = 0x800
56282- RTM_BASE = 0x10
56283- RTM_DELACTION = 0x31
56284- RTM_DELADDR = 0x15
56285- RTM_DELADDRLABEL = 0x49
56286- RTM_DELLINK = 0x11
56287- RTM_DELMDB = 0x55
56288- RTM_DELNEIGH = 0x1d
56289- RTM_DELNSID = 0x59
56290- RTM_DELQDISC = 0x25
56291- RTM_DELROUTE = 0x19
56292- RTM_DELRULE = 0x21
56293- RTM_DELTCLASS = 0x29
56294- RTM_DELTFILTER = 0x2d
56295- RTM_F_CLONED = 0x200
56296- RTM_F_EQUALIZE = 0x400
56297- RTM_F_LOOKUP_TABLE = 0x1000
56298- RTM_F_NOTIFY = 0x100
56299- RTM_F_PREFIX = 0x800
56300- RTM_GETACTION = 0x32
56301- RTM_GETADDR = 0x16
56302- RTM_GETADDRLABEL = 0x4a
56303- RTM_GETANYCAST = 0x3e
56304- RTM_GETDCB = 0x4e
56305- RTM_GETLINK = 0x12
56306- RTM_GETMDB = 0x56
56307- RTM_GETMULTICAST = 0x3a
56308- RTM_GETNEIGH = 0x1e
56309- RTM_GETNEIGHTBL = 0x42
56310- RTM_GETNETCONF = 0x52
56311- RTM_GETNSID = 0x5a
56312- RTM_GETQDISC = 0x26
56313- RTM_GETROUTE = 0x1a
56314- RTM_GETRULE = 0x22
56315- RTM_GETSTATS = 0x5e
56316- RTM_GETTCLASS = 0x2a
56317- RTM_GETTFILTER = 0x2e
56318- RTM_MAX = 0x5f
56319- RTM_NEWACTION = 0x30
56320- RTM_NEWADDR = 0x14
56321- RTM_NEWADDRLABEL = 0x48
56322- RTM_NEWLINK = 0x10
56323- RTM_NEWMDB = 0x54
56324- RTM_NEWNDUSEROPT = 0x44
56325- RTM_NEWNEIGH = 0x1c
56326- RTM_NEWNEIGHTBL = 0x40
56327- RTM_NEWNETCONF = 0x50
56328- RTM_NEWNSID = 0x58
56329- RTM_NEWPREFIX = 0x34
56330- RTM_NEWQDISC = 0x24
56331- RTM_NEWROUTE = 0x18
56332- RTM_NEWRULE = 0x20
56333- RTM_NEWSTATS = 0x5c
56334- RTM_NEWTCLASS = 0x28
56335- RTM_NEWTFILTER = 0x2c
56336- RTM_NR_FAMILIES = 0x14
56337- RTM_NR_MSGTYPES = 0x50
56338- RTM_SETDCB = 0x4f
56339- RTM_SETLINK = 0x13
56340- RTM_SETNEIGHTBL = 0x43
56341- RTNH_ALIGNTO = 0x4
56342- RTNH_COMPARE_MASK = 0x19
56343- RTNH_F_DEAD = 0x1
56344- RTNH_F_LINKDOWN = 0x10
56345- RTNH_F_OFFLOAD = 0x8
56346- RTNH_F_ONLINK = 0x4
56347- RTNH_F_PERVASIVE = 0x2
56348- RTN_MAX = 0xb
56349- RTPROT_BABEL = 0x2a
56350- RTPROT_BIRD = 0xc
56351- RTPROT_BOOT = 0x3
56352- RTPROT_DHCP = 0x10
56353- RTPROT_DNROUTED = 0xd
56354- RTPROT_GATED = 0x8
56355- RTPROT_KERNEL = 0x2
56356- RTPROT_MROUTED = 0x11
56357- RTPROT_MRT = 0xa
56358- RTPROT_NTK = 0xf
56359- RTPROT_RA = 0x9
56360- RTPROT_REDIRECT = 0x1
56361- RTPROT_STATIC = 0x4
56362- RTPROT_UNSPEC = 0x0
56363- RTPROT_XORP = 0xe
56364- RTPROT_ZEBRA = 0xb
56365- RT_CLASS_DEFAULT = 0xfd
56366- RT_CLASS_LOCAL = 0xff
56367- RT_CLASS_MAIN = 0xfe
56368- RT_CLASS_MAX = 0xff
56369- RT_CLASS_UNSPEC = 0x0
56370- RUSAGE_CHILDREN = -0x1
56371- RUSAGE_SELF = 0x0
56372- RUSAGE_THREAD = 0x1
56373- SCM_CREDENTIALS = 0x2
56374- SCM_RIGHTS = 0x1
56375- SCM_TIMESTAMP = 0x1d
56376- SCM_TIMESTAMPING = 0x25
56377- SCM_TIMESTAMPING_OPT_STATS = 0x36
56378- SCM_TIMESTAMPNS = 0x23
56379- SCM_WIFI_STATUS = 0x29
56380- SECCOMP_MODE_DISABLED = 0x0
56381- SECCOMP_MODE_FILTER = 0x2
56382- SECCOMP_MODE_STRICT = 0x1
56383- SHUT_RD = 0x0
56384- SHUT_RDWR = 0x2
56385- SHUT_WR = 0x1
56386- SIOCADDDLCI = 0x8980
56387- SIOCADDMULTI = 0x8931
56388- SIOCADDRT = 0x890b
56389- SIOCATMARK = 0x8905
56390- SIOCBONDCHANGEACTIVE = 0x8995
56391- SIOCBONDENSLAVE = 0x8990
56392- SIOCBONDINFOQUERY = 0x8994
56393- SIOCBONDRELEASE = 0x8991
56394- SIOCBONDSETHWADDR = 0x8992
56395- SIOCBONDSLAVEINFOQUERY = 0x8993
56396- SIOCBRADDBR = 0x89a0
56397- SIOCBRADDIF = 0x89a2
56398- SIOCBRDELBR = 0x89a1
56399- SIOCBRDELIF = 0x89a3
56400- SIOCDARP = 0x8953
56401- SIOCDELDLCI = 0x8981
56402- SIOCDELMULTI = 0x8932
56403- SIOCDELRT = 0x890c
56404- SIOCDEVPRIVATE = 0x89f0
56405- SIOCDIFADDR = 0x8936
56406- SIOCDRARP = 0x8960
56407- SIOCETHTOOL = 0x8946
56408- SIOCGARP = 0x8954
56409- SIOCGHWTSTAMP = 0x89b1
56410- SIOCGIFADDR = 0x8915
56411- SIOCGIFBR = 0x8940
56412- SIOCGIFBRDADDR = 0x8919
56413- SIOCGIFCONF = 0x8912
56414- SIOCGIFCOUNT = 0x8938
56415- SIOCGIFDSTADDR = 0x8917
56416- SIOCGIFENCAP = 0x8925
56417- SIOCGIFFLAGS = 0x8913
56418- SIOCGIFHWADDR = 0x8927
56419- SIOCGIFINDEX = 0x8933
56420- SIOCGIFMAP = 0x8970
56421- SIOCGIFMEM = 0x891f
56422- SIOCGIFMETRIC = 0x891d
56423- SIOCGIFMTU = 0x8921
56424- SIOCGIFNAME = 0x8910
56425- SIOCGIFNETMASK = 0x891b
56426- SIOCGIFPFLAGS = 0x8935
56427- SIOCGIFSLAVE = 0x8929
56428- SIOCGIFTXQLEN = 0x8942
56429- SIOCGIFVLAN = 0x8982
56430- SIOCGMIIPHY = 0x8947
56431- SIOCGMIIREG = 0x8948
56432- SIOCGPGRP = 0x8904
56433- SIOCGRARP = 0x8961
56434- SIOCGSKNS = 0x894c
56435- SIOCGSTAMP = 0x8906
56436- SIOCGSTAMPNS = 0x8907
56437- SIOCINQ = 0x541b
56438- SIOCOUTQ = 0x5411
56439- SIOCOUTQNSD = 0x894b
56440- SIOCPROTOPRIVATE = 0x89e0
56441- SIOCRTMSG = 0x890d
56442- SIOCSARP = 0x8955
56443- SIOCSHWTSTAMP = 0x89b0
56444- SIOCSIFADDR = 0x8916
56445- SIOCSIFBR = 0x8941
56446- SIOCSIFBRDADDR = 0x891a
56447- SIOCSIFDSTADDR = 0x8918
56448- SIOCSIFENCAP = 0x8926
56449- SIOCSIFFLAGS = 0x8914
56450- SIOCSIFHWADDR = 0x8924
56451- SIOCSIFHWBROADCAST = 0x8937
56452- SIOCSIFLINK = 0x8911
56453- SIOCSIFMAP = 0x8971
56454- SIOCSIFMEM = 0x8920
56455- SIOCSIFMETRIC = 0x891e
56456- SIOCSIFMTU = 0x8922
56457- SIOCSIFNAME = 0x8923
56458- SIOCSIFNETMASK = 0x891c
56459- SIOCSIFPFLAGS = 0x8934
56460- SIOCSIFSLAVE = 0x8930
56461- SIOCSIFTXQLEN = 0x8943
56462- SIOCSIFVLAN = 0x8983
56463- SIOCSMIIREG = 0x8949
56464- SIOCSPGRP = 0x8902
56465- SIOCSRARP = 0x8962
56466- SIOCWANDEV = 0x894a
56467- SOCK_CLOEXEC = 0x80000
56468- SOCK_DCCP = 0x6
56469- SOCK_DGRAM = 0x2
56470- SOCK_IOC_TYPE = 0x89
56471- SOCK_NONBLOCK = 0x800
56472- SOCK_PACKET = 0xa
56473- SOCK_RAW = 0x3
56474- SOCK_RDM = 0x4
56475- SOCK_SEQPACKET = 0x5
56476- SOCK_STREAM = 0x1
56477- SOL_AAL = 0x109
56478- SOL_ALG = 0x117
56479- SOL_ATM = 0x108
56480- SOL_CAIF = 0x116
56481- SOL_CAN_BASE = 0x64
56482- SOL_DCCP = 0x10d
56483- SOL_DECNET = 0x105
56484- SOL_ICMPV6 = 0x3a
56485- SOL_IP = 0x0
56486- SOL_IPV6 = 0x29
56487- SOL_IRDA = 0x10a
56488- SOL_IUCV = 0x115
56489- SOL_KCM = 0x119
56490- SOL_LLC = 0x10c
56491- SOL_NETBEUI = 0x10b
56492- SOL_NETLINK = 0x10e
56493- SOL_NFC = 0x118
56494- SOL_PACKET = 0x107
56495- SOL_PNPIPE = 0x113
56496- SOL_PPPOL2TP = 0x111
56497- SOL_RAW = 0xff
56498- SOL_RDS = 0x114
56499- SOL_RXRPC = 0x110
56500- SOL_SOCKET = 0x1
56501- SOL_TCP = 0x6
56502- SOL_TIPC = 0x10f
56503- SOL_X25 = 0x106
56504- SOMAXCONN = 0x80
56505- SO_ACCEPTCONN = 0x1e
56506- SO_ATTACH_BPF = 0x32
56507- SO_ATTACH_FILTER = 0x1a
56508- SO_ATTACH_REUSEPORT_CBPF = 0x33
56509- SO_ATTACH_REUSEPORT_EBPF = 0x34
56510- SO_BINDTODEVICE = 0x19
56511- SO_BPF_EXTENSIONS = 0x30
56512- SO_BROADCAST = 0x6
56513- SO_BSDCOMPAT = 0xe
56514- SO_BUSY_POLL = 0x2e
56515- SO_CNX_ADVICE = 0x35
56516- SO_DEBUG = 0x1
56517- SO_DETACH_BPF = 0x1b
56518- SO_DETACH_FILTER = 0x1b
56519- SO_DOMAIN = 0x27
56520- SO_DONTROUTE = 0x5
56521- SO_ERROR = 0x4
56522- SO_GET_FILTER = 0x1a
56523- SO_INCOMING_CPU = 0x31
56524- SO_KEEPALIVE = 0x9
56525- SO_LINGER = 0xd
56526- SO_LOCK_FILTER = 0x2c
56527- SO_MARK = 0x24
56528- SO_MAX_PACING_RATE = 0x2f
56529- SO_NOFCS = 0x2b
56530- SO_NO_CHECK = 0xb
56531- SO_OOBINLINE = 0xa
56532- SO_PASSCRED = 0x10
56533- SO_PASSSEC = 0x22
56534- SO_PEEK_OFF = 0x2a
56535- SO_PEERCRED = 0x11
56536- SO_PEERNAME = 0x1c
56537- SO_PEERSEC = 0x1f
56538- SO_PRIORITY = 0xc
56539- SO_PROTOCOL = 0x26
56540- SO_RCVBUF = 0x8
56541- SO_RCVBUFFORCE = 0x21
56542- SO_RCVLOWAT = 0x12
56543- SO_RCVTIMEO = 0x14
56544- SO_REUSEADDR = 0x2
56545- SO_REUSEPORT = 0xf
56546- SO_RXQ_OVFL = 0x28
56547- SO_SECURITY_AUTHENTICATION = 0x16
56548- SO_SECURITY_ENCRYPTION_NETWORK = 0x18
56549- SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
56550- SO_SELECT_ERR_QUEUE = 0x2d
56551- SO_SNDBUF = 0x7
56552- SO_SNDBUFFORCE = 0x20
56553- SO_SNDLOWAT = 0x13
56554- SO_SNDTIMEO = 0x15
56555- SO_TIMESTAMP = 0x1d
56556- SO_TIMESTAMPING = 0x25
56557- SO_TIMESTAMPNS = 0x23
56558- SO_TYPE = 0x3
56559- SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
56560- SO_VM_SOCKETS_BUFFER_MIN_SIZE = 0x1
56561- SO_VM_SOCKETS_BUFFER_SIZE = 0x0
56562- SO_VM_SOCKETS_CONNECT_TIMEOUT = 0x6
56563- SO_VM_SOCKETS_NONBLOCK_TXRX = 0x7
56564- SO_VM_SOCKETS_PEER_HOST_VM_ID = 0x3
56565- SO_VM_SOCKETS_TRUSTED = 0x5
56566- SO_WIFI_STATUS = 0x29
56567- SPLICE_F_GIFT = 0x8
56568- SPLICE_F_MORE = 0x4
56569- SPLICE_F_MOVE = 0x1
56570- SPLICE_F_NONBLOCK = 0x2
56571- S_BLKSIZE = 0x200
56572- S_IEXEC = 0x40
56573- S_IFBLK = 0x6000
56574- S_IFCHR = 0x2000
56575- S_IFDIR = 0x4000
56576- S_IFIFO = 0x1000
56577- S_IFLNK = 0xa000
56578- S_IFMT = 0xf000
56579- S_IFREG = 0x8000
56580- S_IFSOCK = 0xc000
56581- S_IREAD = 0x100
56582- S_IRGRP = 0x20
56583- S_IROTH = 0x4
56584- S_IRUSR = 0x100
56585- S_IRWXG = 0x38
56586- S_IRWXO = 0x7
56587- S_IRWXU = 0x1c0
56588- S_ISGID = 0x400
56589- S_ISUID = 0x800
56590- S_ISVTX = 0x200
56591- S_IWGRP = 0x10
56592- S_IWOTH = 0x2
56593- S_IWRITE = 0x80
56594- S_IWUSR = 0x80
56595- S_IXGRP = 0x8
56596- S_IXOTH = 0x1
56597- S_IXUSR = 0x40
56598- TAB0 = 0x0
56599- TAB1 = 0x800
56600- TAB2 = 0x1000
56601- TAB3 = 0x1800
56602- TABDLY = 0x1800
56603- TASKSTATS_CMD_ATTR_MAX = 0x4
56604- TASKSTATS_CMD_MAX = 0x2
56605- TASKSTATS_GENL_NAME = "TASKSTATS"
56606- TASKSTATS_GENL_VERSION = 0x1
56607- TASKSTATS_TYPE_MAX = 0x6
56608- TASKSTATS_VERSION = 0x8
56609- TCFLSH = 0x540b
56610- TCGETA = 0x5405
56611- TCGETS = 0x5401
56612- TCGETS2 = 0x802c542a
56613- TCGETX = 0x5432
56614- TCIFLUSH = 0x0
56615- TCIOFF = 0x2
56616- TCIOFLUSH = 0x2
56617- TCION = 0x3
56618- TCOFLUSH = 0x1
56619- TCOOFF = 0x0
56620- TCOON = 0x1
56621- TCP_CC_INFO = 0x1a
56622- TCP_CONGESTION = 0xd
56623- TCP_COOKIE_IN_ALWAYS = 0x1
56624- TCP_COOKIE_MAX = 0x10
56625- TCP_COOKIE_MIN = 0x8
56626- TCP_COOKIE_OUT_NEVER = 0x2
56627- TCP_COOKIE_PAIR_SIZE = 0x20
56628- TCP_COOKIE_TRANSACTIONS = 0xf
56629- TCP_CORK = 0x3
56630- TCP_DEFER_ACCEPT = 0x9
56631- TCP_FASTOPEN = 0x17
56632- TCP_INFO = 0xb
56633- TCP_KEEPCNT = 0x6
56634- TCP_KEEPIDLE = 0x4
56635- TCP_KEEPINTVL = 0x5
56636- TCP_LINGER2 = 0x8
56637- TCP_MAXSEG = 0x2
56638- TCP_MAXWIN = 0xffff
56639- TCP_MAX_WINSHIFT = 0xe
56640- TCP_MD5SIG = 0xe
56641- TCP_MD5SIG_MAXKEYLEN = 0x50
56642- TCP_MSS = 0x200
56643- TCP_MSS_DEFAULT = 0x218
56644- TCP_MSS_DESIRED = 0x4c4
56645- TCP_NODELAY = 0x1
56646- TCP_NOTSENT_LOWAT = 0x19
56647- TCP_QUEUE_SEQ = 0x15
56648- TCP_QUICKACK = 0xc
56649- TCP_REPAIR = 0x13
56650- TCP_REPAIR_OPTIONS = 0x16
56651- TCP_REPAIR_QUEUE = 0x14
56652- TCP_REPAIR_WINDOW = 0x1d
56653- TCP_SAVED_SYN = 0x1c
56654- TCP_SAVE_SYN = 0x1b
56655- TCP_SYNCNT = 0x7
56656- TCP_S_DATA_IN = 0x4
56657- TCP_S_DATA_OUT = 0x8
56658- TCP_THIN_DUPACK = 0x11
56659- TCP_THIN_LINEAR_TIMEOUTS = 0x10
56660- TCP_TIMESTAMP = 0x18
56661- TCP_USER_TIMEOUT = 0x12
56662- TCP_WINDOW_CLAMP = 0xa
56663- TCSAFLUSH = 0x2
56664- TCSBRK = 0x5409
56665- TCSBRKP = 0x5425
56666- TCSETA = 0x5406
56667- TCSETAF = 0x5408
56668- TCSETAW = 0x5407
56669- TCSETS = 0x5402
56670- TCSETS2 = 0x402c542b
56671- TCSETSF = 0x5404
56672- TCSETSF2 = 0x402c542d
56673- TCSETSW = 0x5403
56674- TCSETSW2 = 0x402c542c
56675- TCSETX = 0x5433
56676- TCSETXF = 0x5434
56677- TCSETXW = 0x5435
56678- TCXONC = 0x540a
56679- TIOCCBRK = 0x5428
56680- TIOCCONS = 0x541d
56681- TIOCEXCL = 0x540c
56682- TIOCGDEV = 0x80045432
56683- TIOCGETD = 0x5424
56684- TIOCGEXCL = 0x80045440
56685- TIOCGICOUNT = 0x545d
56686- TIOCGLCKTRMIOS = 0x5456
56687- TIOCGPGRP = 0x540f
56688- TIOCGPKT = 0x80045438
56689- TIOCGPTLCK = 0x80045439
56690- TIOCGPTN = 0x80045430
56691- TIOCGRS485 = 0x542e
56692- TIOCGSERIAL = 0x541e
56693- TIOCGSID = 0x5429
56694- TIOCGSOFTCAR = 0x5419
56695- TIOCGWINSZ = 0x5413
56696- TIOCINQ = 0x541b
56697- TIOCLINUX = 0x541c
56698- TIOCMBIC = 0x5417
56699- TIOCMBIS = 0x5416
56700- TIOCMGET = 0x5415
56701- TIOCMIWAIT = 0x545c
56702- TIOCMSET = 0x5418
56703- TIOCM_CAR = 0x40
56704- TIOCM_CD = 0x40
56705- TIOCM_CTS = 0x20
56706- TIOCM_DSR = 0x100
56707- TIOCM_DTR = 0x2
56708- TIOCM_LE = 0x1
56709- TIOCM_RI = 0x80
56710- TIOCM_RNG = 0x80
56711- TIOCM_RTS = 0x4
56712- TIOCM_SR = 0x10
56713- TIOCM_ST = 0x8
56714- TIOCNOTTY = 0x5422
56715- TIOCNXCL = 0x540d
56716- TIOCOUTQ = 0x5411
56717- TIOCPKT = 0x5420
56718- TIOCPKT_DATA = 0x0
56719- TIOCPKT_DOSTOP = 0x20
56720- TIOCPKT_FLUSHREAD = 0x1
56721- TIOCPKT_FLUSHWRITE = 0x2
56722- TIOCPKT_IOCTL = 0x40
56723- TIOCPKT_NOSTOP = 0x10
56724- TIOCPKT_START = 0x8
56725- TIOCPKT_STOP = 0x4
56726- TIOCSBRK = 0x5427
56727- TIOCSCTTY = 0x540e
56728- TIOCSERCONFIG = 0x5453
56729- TIOCSERGETLSR = 0x5459
56730- TIOCSERGETMULTI = 0x545a
56731- TIOCSERGSTRUCT = 0x5458
56732- TIOCSERGWILD = 0x5454
56733- TIOCSERSETMULTI = 0x545b
56734- TIOCSERSWILD = 0x5455
56735- TIOCSER_TEMT = 0x1
56736- TIOCSETD = 0x5423
56737- TIOCSIG = 0x40045436
56738- TIOCSLCKTRMIOS = 0x5457
56739- TIOCSPGRP = 0x5410
56740- TIOCSPTLCK = 0x40045431
56741- TIOCSRS485 = 0x542f
56742- TIOCSSERIAL = 0x541f
56743- TIOCSSOFTCAR = 0x541a
56744- TIOCSTI = 0x5412
56745- TIOCSWINSZ = 0x5414
56746- TIOCVHANGUP = 0x5437
56747- TOSTOP = 0x100
56748- TS_COMM_LEN = 0x20
56749- TUNATTACHFILTER = 0x401054d5
56750- TUNDETACHFILTER = 0x401054d6
56751- TUNGETFEATURES = 0x800454cf
56752- TUNGETFILTER = 0x801054db
56753- TUNGETIFF = 0x800454d2
56754- TUNGETSNDBUF = 0x800454d3
56755- TUNGETVNETBE = 0x800454df
56756- TUNGETVNETHDRSZ = 0x800454d7
56757- TUNGETVNETLE = 0x800454dd
56758- TUNSETDEBUG = 0x400454c9
56759- TUNSETGROUP = 0x400454ce
56760- TUNSETIFF = 0x400454ca
56761- TUNSETIFINDEX = 0x400454da
56762- TUNSETLINK = 0x400454cd
56763- TUNSETNOCSUM = 0x400454c8
56764- TUNSETOFFLOAD = 0x400454d0
56765- TUNSETOWNER = 0x400454cc
56766- TUNSETPERSIST = 0x400454cb
56767- TUNSETQUEUE = 0x400454d9
56768- TUNSETSNDBUF = 0x400454d4
56769- TUNSETTXFILTER = 0x400454d1
56770- TUNSETVNETBE = 0x400454de
56771- TUNSETVNETHDRSZ = 0x400454d8
56772- TUNSETVNETLE = 0x400454dc
56773- UMOUNT_NOFOLLOW = 0x8
56774- VDISCARD = 0xd
56775- VEOF = 0x4
56776- VEOL = 0xb
56777- VEOL2 = 0x10
56778- VERASE = 0x2
56779- VINTR = 0x0
56780- VKILL = 0x3
56781- VLNEXT = 0xf
56782- VMADDR_CID_ANY = 0xffffffff
56783- VMADDR_CID_HOST = 0x2
56784- VMADDR_CID_HYPERVISOR = 0x0
56785- VMADDR_CID_RESERVED = 0x1
56786- VMADDR_PORT_ANY = 0xffffffff
56787- VMIN = 0x6
56788- VM_SOCKETS_INVALID_VERSION = 0xffffffff
56789- VQUIT = 0x1
56790- VREPRINT = 0xc
56791- VSTART = 0x8
56792- VSTOP = 0x9
56793- VSUSP = 0xa
56794- VSWTC = 0x7
56795- VT0 = 0x0
56796- VT1 = 0x4000
56797- VTDLY = 0x4000
56798- VTIME = 0x5
56799- VWERASE = 0xe
56800- WALL = 0x40000000
56801- WCLONE = 0x80000000
56802- WCONTINUED = 0x8
56803- WEXITED = 0x4
56804- WNOHANG = 0x1
56805- WNOTHREAD = 0x20000000
56806- WNOWAIT = 0x1000000
56807- WORDSIZE = 0x40
56808- WSTOPPED = 0x2
56809- WUNTRACED = 0x2
56810- XATTR_CREATE = 0x1
56811- XATTR_REPLACE = 0x2
56812- XCASE = 0x4
56813- XTABS = 0x1800
56814+ B1000000 = 0x1008
56815+ B115200 = 0x1002
56816+ B1152000 = 0x1009
56817+ B1500000 = 0x100a
56818+ B2000000 = 0x100b
56819+ B230400 = 0x1003
56820+ B2500000 = 0x100c
56821+ B3000000 = 0x100d
56822+ B3500000 = 0x100e
56823+ B4000000 = 0x100f
56824+ B460800 = 0x1004
56825+ B500000 = 0x1005
56826+ B57600 = 0x1001
56827+ B576000 = 0x1006
56828+ B921600 = 0x1007
56829+ BLKBSZGET = 0x80081270
56830+ BLKBSZSET = 0x40081271
56831+ BLKFLSBUF = 0x1261
56832+ BLKFRAGET = 0x1265
56833+ BLKFRASET = 0x1264
56834+ BLKGETSIZE = 0x1260
56835+ BLKGETSIZE64 = 0x80081272
56836+ BLKPBSZGET = 0x127b
56837+ BLKRAGET = 0x1263
56838+ BLKRASET = 0x1262
56839+ BLKROGET = 0x125e
56840+ BLKROSET = 0x125d
56841+ BLKRRPART = 0x125f
56842+ BLKSECTGET = 0x1267
56843+ BLKSECTSET = 0x1266
56844+ BLKSSZGET = 0x1268
56845+ BOTHER = 0x1000
56846+ BS1 = 0x2000
56847+ BSDLY = 0x2000
56848+ CBAUD = 0x100f
56849+ CBAUDEX = 0x1000
56850+ CIBAUD = 0x100f0000
56851+ CLOCAL = 0x800
56852+ CR1 = 0x200
56853+ CR2 = 0x400
56854+ CR3 = 0x600
56855+ CRDLY = 0x600
56856+ CREAD = 0x80
56857+ CS6 = 0x10
56858+ CS7 = 0x20
56859+ CS8 = 0x30
56860+ CSIZE = 0x30
56861+ CSTOPB = 0x40
56862+ ECHOCTL = 0x200
56863+ ECHOE = 0x10
56864+ ECHOK = 0x20
56865+ ECHOKE = 0x800
56866+ ECHONL = 0x40
56867+ ECHOPRT = 0x400
56868+ EFD_CLOEXEC = 0x80000
56869+ EFD_NONBLOCK = 0x800
56870+ EPOLL_CLOEXEC = 0x80000
56871+ EXTPROC = 0x10000
56872+ FF1 = 0x8000
56873+ FFDLY = 0x8000
56874+ FLUSHO = 0x1000
56875+ FS_IOC_ENABLE_VERITY = 0x40806685
56876+ FS_IOC_GETFLAGS = 0x80086601
56877+ FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615
56878+ FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614
56879+ FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613
56880+ F_GETLK = 0x5
56881+ F_GETLK64 = 0x5
56882+ F_GETOWN = 0x9
56883+ F_RDLCK = 0x0
56884+ F_SETLK = 0x6
56885+ F_SETLK64 = 0x6
56886+ F_SETLKW = 0x7
56887+ F_SETLKW64 = 0x7
56888+ F_SETOWN = 0x8
56889+ F_UNLCK = 0x2
56890+ F_WRLCK = 0x1
56891+ HUPCL = 0x400
56892+ ICANON = 0x2
56893+ IEXTEN = 0x8000
56894+ IN_CLOEXEC = 0x80000
56895+ IN_NONBLOCK = 0x800
56896+ IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x7b9
56897+ ISIG = 0x1
56898+ IUCLC = 0x200
56899+ IXOFF = 0x1000
56900+ IXON = 0x400
56901+ MAP_ANON = 0x20
56902+ MAP_ANONYMOUS = 0x20
56903+ MAP_DENYWRITE = 0x800
56904+ MAP_EXECUTABLE = 0x1000
56905+ MAP_GROWSDOWN = 0x100
56906+ MAP_HUGETLB = 0x40000
56907+ MAP_LOCKED = 0x2000
56908+ MAP_NONBLOCK = 0x10000
56909+ MAP_NORESERVE = 0x4000
56910+ MAP_POPULATE = 0x8000
56911+ MAP_STACK = 0x20000
56912+ MAP_SYNC = 0x80000
56913+ MCL_CURRENT = 0x1
56914+ MCL_FUTURE = 0x2
56915+ MCL_ONFAULT = 0x4
56916+ NFDBITS = 0x40
56917+ NLDLY = 0x100
56918+ NOFLSH = 0x80
56919+ NS_GET_NSTYPE = 0xb703
56920+ NS_GET_OWNER_UID = 0xb704
56921+ NS_GET_PARENT = 0xb702
56922+ NS_GET_USERNS = 0xb701
56923+ OLCUC = 0x2
56924+ ONLCR = 0x4
56925+ O_APPEND = 0x400
56926+ O_ASYNC = 0x2000
56927+ O_CLOEXEC = 0x80000
56928+ O_CREAT = 0x40
56929+ O_DIRECT = 0x4000
56930+ O_DIRECTORY = 0x10000
56931+ O_DSYNC = 0x1000
56932+ O_EXCL = 0x80
56933+ O_FSYNC = 0x101000
56934+ O_LARGEFILE = 0x0
56935+ O_NDELAY = 0x800
56936+ O_NOATIME = 0x40000
56937+ O_NOCTTY = 0x100
56938+ O_NOFOLLOW = 0x20000
56939+ O_NONBLOCK = 0x800
56940+ O_PATH = 0x200000
56941+ O_RSYNC = 0x101000
56942+ O_SYNC = 0x101000
56943+ O_TMPFILE = 0x410000
56944+ O_TRUNC = 0x200
56945+ PARENB = 0x100
56946+ PARODD = 0x200
56947+ PENDIN = 0x4000
56948+ PERF_EVENT_IOC_DISABLE = 0x2401
56949+ PERF_EVENT_IOC_ENABLE = 0x2400
56950+ PERF_EVENT_IOC_ID = 0x80082407
56951+ PERF_EVENT_IOC_MODIFY_ATTRIBUTES = 0x4008240b
56952+ PERF_EVENT_IOC_PAUSE_OUTPUT = 0x40042409
56953+ PERF_EVENT_IOC_PERIOD = 0x40082404
56954+ PERF_EVENT_IOC_QUERY_BPF = 0xc008240a
56955+ PERF_EVENT_IOC_REFRESH = 0x2402
56956+ PERF_EVENT_IOC_RESET = 0x2403
56957+ PERF_EVENT_IOC_SET_BPF = 0x40042408
56958+ PERF_EVENT_IOC_SET_FILTER = 0x40082406
56959+ PERF_EVENT_IOC_SET_OUTPUT = 0x2405
56960+ PPPIOCATTACH = 0x4004743d
56961+ PPPIOCATTCHAN = 0x40047438
56962+ PPPIOCCONNECT = 0x4004743a
56963+ PPPIOCDETACH = 0x4004743c
56964+ PPPIOCDISCONN = 0x7439
56965+ PPPIOCGASYNCMAP = 0x80047458
56966+ PPPIOCGCHAN = 0x80047437
56967+ PPPIOCGDEBUG = 0x80047441
56968+ PPPIOCGFLAGS = 0x8004745a
56969+ PPPIOCGIDLE = 0x8010743f
56970+ PPPIOCGIDLE32 = 0x8008743f
56971+ PPPIOCGIDLE64 = 0x8010743f
56972+ PPPIOCGL2TPSTATS = 0x80487436
56973+ PPPIOCGMRU = 0x80047453
56974+ PPPIOCGRASYNCMAP = 0x80047455
56975+ PPPIOCGUNIT = 0x80047456
56976+ PPPIOCGXASYNCMAP = 0x80207450
56977+ PPPIOCSACTIVE = 0x40107446
56978+ PPPIOCSASYNCMAP = 0x40047457
56979+ PPPIOCSCOMPRESS = 0x4010744d
56980+ PPPIOCSDEBUG = 0x40047440
56981+ PPPIOCSFLAGS = 0x40047459
56982+ PPPIOCSMAXCID = 0x40047451
56983+ PPPIOCSMRRU = 0x4004743b
56984+ PPPIOCSMRU = 0x40047452
56985+ PPPIOCSNPMODE = 0x4008744b
56986+ PPPIOCSPASS = 0x40107447
56987+ PPPIOCSRASYNCMAP = 0x40047454
56988+ PPPIOCSXASYNCMAP = 0x4020744f
56989+ PPPIOCXFERUNIT = 0x744e
56990+ PR_SET_PTRACER_ANY = 0xffffffffffffffff
56991+ PTRACE_DISABLE_TE = 0x5010
56992+ PTRACE_ENABLE_TE = 0x5009
56993+ PTRACE_GET_LAST_BREAK = 0x5006
56994+ PTRACE_OLDSETOPTIONS = 0x15
56995+ PTRACE_PEEKDATA_AREA = 0x5003
56996+ PTRACE_PEEKTEXT_AREA = 0x5002
56997+ PTRACE_PEEKUSR_AREA = 0x5000
56998+ PTRACE_PEEK_SYSTEM_CALL = 0x5007
56999+ PTRACE_POKEDATA_AREA = 0x5005
57000+ PTRACE_POKETEXT_AREA = 0x5004
57001+ PTRACE_POKEUSR_AREA = 0x5001
57002+ PTRACE_POKE_SYSTEM_CALL = 0x5008
57003+ PTRACE_PROT = 0x15
57004+ PTRACE_SINGLEBLOCK = 0xc
57005+ PTRACE_TE_ABORT_RAND = 0x5011
57006+ PT_ACR0 = 0x90
57007+ PT_ACR1 = 0x94
57008+ PT_ACR10 = 0xb8
57009+ PT_ACR11 = 0xbc
57010+ PT_ACR12 = 0xc0
57011+ PT_ACR13 = 0xc4
57012+ PT_ACR14 = 0xc8
57013+ PT_ACR15 = 0xcc
57014+ PT_ACR2 = 0x98
57015+ PT_ACR3 = 0x9c
57016+ PT_ACR4 = 0xa0
57017+ PT_ACR5 = 0xa4
57018+ PT_ACR6 = 0xa8
57019+ PT_ACR7 = 0xac
57020+ PT_ACR8 = 0xb0
57021+ PT_ACR9 = 0xb4
57022+ PT_CR_10 = 0x168
57023+ PT_CR_11 = 0x170
57024+ PT_CR_9 = 0x160
57025+ PT_ENDREGS = 0x1af
57026+ PT_FPC = 0xd8
57027+ PT_FPR0 = 0xe0
57028+ PT_FPR1 = 0xe8
57029+ PT_FPR10 = 0x130
57030+ PT_FPR11 = 0x138
57031+ PT_FPR12 = 0x140
57032+ PT_FPR13 = 0x148
57033+ PT_FPR14 = 0x150
57034+ PT_FPR15 = 0x158
57035+ PT_FPR2 = 0xf0
57036+ PT_FPR3 = 0xf8
57037+ PT_FPR4 = 0x100
57038+ PT_FPR5 = 0x108
57039+ PT_FPR6 = 0x110
57040+ PT_FPR7 = 0x118
57041+ PT_FPR8 = 0x120
57042+ PT_FPR9 = 0x128
57043+ PT_GPR0 = 0x10
57044+ PT_GPR1 = 0x18
57045+ PT_GPR10 = 0x60
57046+ PT_GPR11 = 0x68
57047+ PT_GPR12 = 0x70
57048+ PT_GPR13 = 0x78
57049+ PT_GPR14 = 0x80
57050+ PT_GPR15 = 0x88
57051+ PT_GPR2 = 0x20
57052+ PT_GPR3 = 0x28
57053+ PT_GPR4 = 0x30
57054+ PT_GPR5 = 0x38
57055+ PT_GPR6 = 0x40
57056+ PT_GPR7 = 0x48
57057+ PT_GPR8 = 0x50
57058+ PT_GPR9 = 0x58
57059+ PT_IEEE_IP = 0x1a8
57060+ PT_LASTOFF = 0x1a8
57061+ PT_ORIGGPR2 = 0xd0
57062+ PT_PSWADDR = 0x8
57063+ PT_PSWMASK = 0x0
57064+ RLIMIT_AS = 0x9
57065+ RLIMIT_MEMLOCK = 0x8
57066+ RLIMIT_NOFILE = 0x7
57067+ RLIMIT_NPROC = 0x6
57068+ RLIMIT_RSS = 0x5
57069+ RNDADDENTROPY = 0x40085203
57070+ RNDADDTOENTCNT = 0x40045201
57071+ RNDCLEARPOOL = 0x5206
57072+ RNDGETENTCNT = 0x80045200
57073+ RNDGETPOOL = 0x80085202
57074+ RNDRESEEDCRNG = 0x5207
57075+ RNDZAPENTCNT = 0x5204
57076+ RTC_AIE_OFF = 0x7002
57077+ RTC_AIE_ON = 0x7001
57078+ RTC_ALM_READ = 0x80247008
57079+ RTC_ALM_SET = 0x40247007
57080+ RTC_EPOCH_READ = 0x8008700d
57081+ RTC_EPOCH_SET = 0x4008700e
57082+ RTC_IRQP_READ = 0x8008700b
57083+ RTC_IRQP_SET = 0x4008700c
57084+ RTC_PIE_OFF = 0x7006
57085+ RTC_PIE_ON = 0x7005
57086+ RTC_PLL_GET = 0x80207011
57087+ RTC_PLL_SET = 0x40207012
57088+ RTC_RD_TIME = 0x80247009
57089+ RTC_SET_TIME = 0x4024700a
57090+ RTC_UIE_OFF = 0x7004
57091+ RTC_UIE_ON = 0x7003
57092+ RTC_VL_CLR = 0x7014
57093+ RTC_VL_READ = 0x80047013
57094+ RTC_WIE_OFF = 0x7010
57095+ RTC_WIE_ON = 0x700f
57096+ RTC_WKALM_RD = 0x80287010
57097+ RTC_WKALM_SET = 0x4028700f
57098+ SCM_TIMESTAMPING = 0x25
57099+ SCM_TIMESTAMPING_OPT_STATS = 0x36
57100+ SCM_TIMESTAMPING_PKTINFO = 0x3a
57101+ SCM_TIMESTAMPNS = 0x23
57102+ SCM_TXTIME = 0x3d
57103+ SCM_WIFI_STATUS = 0x29
57104+ SFD_CLOEXEC = 0x80000
57105+ SFD_NONBLOCK = 0x800
57106+ SIOCATMARK = 0x8905
57107+ SIOCGPGRP = 0x8904
57108+ SIOCGSTAMPNS_NEW = 0x80108907
57109+ SIOCGSTAMP_NEW = 0x80108906
57110+ SIOCINQ = 0x541b
57111+ SIOCOUTQ = 0x5411
57112+ SIOCSPGRP = 0x8902
57113+ SOCK_CLOEXEC = 0x80000
57114+ SOCK_DGRAM = 0x2
57115+ SOCK_NONBLOCK = 0x800
57116+ SOCK_STREAM = 0x1
57117+ SOL_SOCKET = 0x1
57118+ SO_ACCEPTCONN = 0x1e
57119+ SO_ATTACH_BPF = 0x32
57120+ SO_ATTACH_REUSEPORT_CBPF = 0x33
57121+ SO_ATTACH_REUSEPORT_EBPF = 0x34
57122+ SO_BINDTODEVICE = 0x19
57123+ SO_BINDTOIFINDEX = 0x3e
57124+ SO_BPF_EXTENSIONS = 0x30
57125+ SO_BROADCAST = 0x6
57126+ SO_BSDCOMPAT = 0xe
57127+ SO_BUSY_POLL = 0x2e
57128+ SO_CNX_ADVICE = 0x35
57129+ SO_COOKIE = 0x39
57130+ SO_DETACH_REUSEPORT_BPF = 0x44
57131+ SO_DOMAIN = 0x27
57132+ SO_DONTROUTE = 0x5
57133+ SO_ERROR = 0x4
57134+ SO_INCOMING_CPU = 0x31
57135+ SO_INCOMING_NAPI_ID = 0x38
57136+ SO_KEEPALIVE = 0x9
57137+ SO_LINGER = 0xd
57138+ SO_LOCK_FILTER = 0x2c
57139+ SO_MARK = 0x24
57140+ SO_MAX_PACING_RATE = 0x2f
57141+ SO_MEMINFO = 0x37
57142+ SO_NOFCS = 0x2b
57143+ SO_OOBINLINE = 0xa
57144+ SO_PASSCRED = 0x10
57145+ SO_PASSSEC = 0x22
57146+ SO_PEEK_OFF = 0x2a
57147+ SO_PEERCRED = 0x11
57148+ SO_PEERGROUPS = 0x3b
57149+ SO_PEERSEC = 0x1f
57150+ SO_PROTOCOL = 0x26
57151+ SO_RCVBUF = 0x8
57152+ SO_RCVBUFFORCE = 0x21
57153+ SO_RCVLOWAT = 0x12
57154+ SO_RCVTIMEO = 0x14
57155+ SO_RCVTIMEO_NEW = 0x42
57156+ SO_RCVTIMEO_OLD = 0x14
57157+ SO_REUSEADDR = 0x2
57158+ SO_REUSEPORT = 0xf
57159+ SO_RXQ_OVFL = 0x28
57160+ SO_SECURITY_AUTHENTICATION = 0x16
57161+ SO_SECURITY_ENCRYPTION_NETWORK = 0x18
57162+ SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
57163+ SO_SELECT_ERR_QUEUE = 0x2d
57164+ SO_SNDBUF = 0x7
57165+ SO_SNDBUFFORCE = 0x20
57166+ SO_SNDLOWAT = 0x13
57167+ SO_SNDTIMEO = 0x15
57168+ SO_SNDTIMEO_NEW = 0x43
57169+ SO_SNDTIMEO_OLD = 0x15
57170+ SO_TIMESTAMPING = 0x25
57171+ SO_TIMESTAMPING_NEW = 0x41
57172+ SO_TIMESTAMPING_OLD = 0x25
57173+ SO_TIMESTAMPNS = 0x23
57174+ SO_TIMESTAMPNS_NEW = 0x40
57175+ SO_TIMESTAMPNS_OLD = 0x23
57176+ SO_TIMESTAMP_NEW = 0x3f
57177+ SO_TXTIME = 0x3d
57178+ SO_TYPE = 0x3
57179+ SO_WIFI_STATUS = 0x29
57180+ SO_ZEROCOPY = 0x3c
57181+ TAB1 = 0x800
57182+ TAB2 = 0x1000
57183+ TAB3 = 0x1800
57184+ TABDLY = 0x1800
57185+ TCFLSH = 0x540b
57186+ TCGETA = 0x5405
57187+ TCGETS = 0x5401
57188+ TCGETS2 = 0x802c542a
57189+ TCGETX = 0x5432
57190+ TCSAFLUSH = 0x2
57191+ TCSBRK = 0x5409
57192+ TCSBRKP = 0x5425
57193+ TCSETA = 0x5406
57194+ TCSETAF = 0x5408
57195+ TCSETAW = 0x5407
57196+ TCSETS = 0x5402
57197+ TCSETS2 = 0x402c542b
57198+ TCSETSF = 0x5404
57199+ TCSETSF2 = 0x402c542d
57200+ TCSETSW = 0x5403
57201+ TCSETSW2 = 0x402c542c
57202+ TCSETX = 0x5433
57203+ TCSETXF = 0x5434
57204+ TCSETXW = 0x5435
57205+ TCXONC = 0x540a
57206+ TIOCCBRK = 0x5428
57207+ TIOCCONS = 0x541d
57208+ TIOCEXCL = 0x540c
57209+ TIOCGDEV = 0x80045432
57210+ TIOCGETD = 0x5424
57211+ TIOCGEXCL = 0x80045440
57212+ TIOCGICOUNT = 0x545d
57213+ TIOCGISO7816 = 0x80285442
57214+ TIOCGLCKTRMIOS = 0x5456
57215+ TIOCGPGRP = 0x540f
57216+ TIOCGPKT = 0x80045438
57217+ TIOCGPTLCK = 0x80045439
57218+ TIOCGPTN = 0x80045430
57219+ TIOCGPTPEER = 0x5441
57220+ TIOCGRS485 = 0x542e
57221+ TIOCGSERIAL = 0x541e
57222+ TIOCGSID = 0x5429
57223+ TIOCGSOFTCAR = 0x5419
57224+ TIOCGWINSZ = 0x5413
57225+ TIOCINQ = 0x541b
57226+ TIOCLINUX = 0x541c
57227+ TIOCMBIC = 0x5417
57228+ TIOCMBIS = 0x5416
57229+ TIOCMGET = 0x5415
57230+ TIOCMIWAIT = 0x545c
57231+ TIOCMSET = 0x5418
57232+ TIOCM_CAR = 0x40
57233+ TIOCM_CD = 0x40
57234+ TIOCM_CTS = 0x20
57235+ TIOCM_DSR = 0x100
57236+ TIOCM_RI = 0x80
57237+ TIOCM_RNG = 0x80
57238+ TIOCM_SR = 0x10
57239+ TIOCM_ST = 0x8
57240+ TIOCNOTTY = 0x5422
57241+ TIOCNXCL = 0x540d
57242+ TIOCOUTQ = 0x5411
57243+ TIOCPKT = 0x5420
57244+ TIOCSBRK = 0x5427
57245+ TIOCSCTTY = 0x540e
57246+ TIOCSERCONFIG = 0x5453
57247+ TIOCSERGETLSR = 0x5459
57248+ TIOCSERGETMULTI = 0x545a
57249+ TIOCSERGSTRUCT = 0x5458
57250+ TIOCSERGWILD = 0x5454
57251+ TIOCSERSETMULTI = 0x545b
57252+ TIOCSERSWILD = 0x5455
57253+ TIOCSER_TEMT = 0x1
57254+ TIOCSETD = 0x5423
57255+ TIOCSIG = 0x40045436
57256+ TIOCSISO7816 = 0xc0285443
57257+ TIOCSLCKTRMIOS = 0x5457
57258+ TIOCSPGRP = 0x5410
57259+ TIOCSPTLCK = 0x40045431
57260+ TIOCSRS485 = 0x542f
57261+ TIOCSSERIAL = 0x541f
57262+ TIOCSSOFTCAR = 0x541a
57263+ TIOCSTI = 0x5412
57264+ TIOCSWINSZ = 0x5414
57265+ TIOCVHANGUP = 0x5437
57266+ TOSTOP = 0x100
57267+ TUNATTACHFILTER = 0x401054d5
57268+ TUNDETACHFILTER = 0x401054d6
57269+ TUNGETDEVNETNS = 0x54e3
57270+ TUNGETFEATURES = 0x800454cf
57271+ TUNGETFILTER = 0x801054db
57272+ TUNGETIFF = 0x800454d2
57273+ TUNGETSNDBUF = 0x800454d3
57274+ TUNGETVNETBE = 0x800454df
57275+ TUNGETVNETHDRSZ = 0x800454d7
57276+ TUNGETVNETLE = 0x800454dd
57277+ TUNSETCARRIER = 0x400454e2
57278+ TUNSETDEBUG = 0x400454c9
57279+ TUNSETFILTEREBPF = 0x800454e1
57280+ TUNSETGROUP = 0x400454ce
57281+ TUNSETIFF = 0x400454ca
57282+ TUNSETIFINDEX = 0x400454da
57283+ TUNSETLINK = 0x400454cd
57284+ TUNSETNOCSUM = 0x400454c8
57285+ TUNSETOFFLOAD = 0x400454d0
57286+ TUNSETOWNER = 0x400454cc
57287+ TUNSETPERSIST = 0x400454cb
57288+ TUNSETQUEUE = 0x400454d9
57289+ TUNSETSNDBUF = 0x400454d4
57290+ TUNSETSTEERINGEBPF = 0x800454e0
57291+ TUNSETTXFILTER = 0x400454d1
57292+ TUNSETVNETBE = 0x400454de
57293+ TUNSETVNETHDRSZ = 0x400454d8
57294+ TUNSETVNETLE = 0x400454dc
57295+ UBI_IOCATT = 0x40186f40
57296+ UBI_IOCDET = 0x40046f41
57297+ UBI_IOCEBCH = 0x40044f02
57298+ UBI_IOCEBER = 0x40044f01
57299+ UBI_IOCEBISMAP = 0x80044f05
57300+ UBI_IOCEBMAP = 0x40084f03
57301+ UBI_IOCEBUNMAP = 0x40044f04
57302+ UBI_IOCMKVOL = 0x40986f00
57303+ UBI_IOCRMVOL = 0x40046f01
57304+ UBI_IOCRNVOL = 0x51106f03
57305+ UBI_IOCRPEB = 0x40046f04
57306+ UBI_IOCRSVOL = 0x400c6f02
57307+ UBI_IOCSETVOLPROP = 0x40104f06
57308+ UBI_IOCSPEB = 0x40046f05
57309+ UBI_IOCVOLCRBLK = 0x40804f07
57310+ UBI_IOCVOLRMBLK = 0x4f08
57311+ UBI_IOCVOLUP = 0x40084f00
57312+ VDISCARD = 0xd
57313+ VEOF = 0x4
57314+ VEOL = 0xb
57315+ VEOL2 = 0x10
57316+ VMIN = 0x6
57317+ VREPRINT = 0xc
57318+ VSTART = 0x8
57319+ VSTOP = 0x9
57320+ VSUSP = 0xa
57321+ VSWTC = 0x7
57322+ VT1 = 0x4000
57323+ VTDLY = 0x4000
57324+ VTIME = 0x5
57325+ VWERASE = 0xe
57326+ WDIOC_GETBOOTSTATUS = 0x80045702
57327+ WDIOC_GETPRETIMEOUT = 0x80045709
57328+ WDIOC_GETSTATUS = 0x80045701
57329+ WDIOC_GETSUPPORT = 0x80285700
57330+ WDIOC_GETTEMP = 0x80045703
57331+ WDIOC_GETTIMELEFT = 0x8004570a
57332+ WDIOC_GETTIMEOUT = 0x80045707
57333+ WDIOC_KEEPALIVE = 0x80045705
57334+ WDIOC_SETOPTIONS = 0x80045704
57335+ WORDSIZE = 0x40
57336+ XCASE = 0x4
57337+ XTABS = 0x1800
57338 )
57339
57340 // Errors
57341 const (
57342- E2BIG = syscall.Errno(0x7)
57343- EACCES = syscall.Errno(0xd)
57344 EADDRINUSE = syscall.Errno(0x62)
57345 EADDRNOTAVAIL = syscall.Errno(0x63)
57346 EADV = syscall.Errno(0x44)
57347 EAFNOSUPPORT = syscall.Errno(0x61)
57348- EAGAIN = syscall.Errno(0xb)
57349 EALREADY = syscall.Errno(0x72)
57350 EBADE = syscall.Errno(0x34)
57351- EBADF = syscall.Errno(0x9)
57352 EBADFD = syscall.Errno(0x4d)
57353 EBADMSG = syscall.Errno(0x4a)
57354 EBADR = syscall.Errno(0x35)
57355 EBADRQC = syscall.Errno(0x38)
57356 EBADSLT = syscall.Errno(0x39)
57357 EBFONT = syscall.Errno(0x3b)
57358- EBUSY = syscall.Errno(0x10)
57359 ECANCELED = syscall.Errno(0x7d)
57360- ECHILD = syscall.Errno(0xa)
57361 ECHRNG = syscall.Errno(0x2c)
57362 ECOMM = syscall.Errno(0x46)
57363 ECONNABORTED = syscall.Errno(0x67)
57364@@ -1943,23 +560,15 @@ const (
57365 EDEADLK = syscall.Errno(0x23)
57366 EDEADLOCK = syscall.Errno(0x23)
57367 EDESTADDRREQ = syscall.Errno(0x59)
57368- EDOM = syscall.Errno(0x21)
57369 EDOTDOT = syscall.Errno(0x49)
57370 EDQUOT = syscall.Errno(0x7a)
57371- EEXIST = syscall.Errno(0x11)
57372- EFAULT = syscall.Errno(0xe)
57373- EFBIG = syscall.Errno(0x1b)
57374 EHOSTDOWN = syscall.Errno(0x70)
57375 EHOSTUNREACH = syscall.Errno(0x71)
57376 EHWPOISON = syscall.Errno(0x85)
57377 EIDRM = syscall.Errno(0x2b)
57378 EILSEQ = syscall.Errno(0x54)
57379 EINPROGRESS = syscall.Errno(0x73)
57380- EINTR = syscall.Errno(0x4)
57381- EINVAL = syscall.Errno(0x16)
57382- EIO = syscall.Errno(0x5)
57383 EISCONN = syscall.Errno(0x6a)
57384- EISDIR = syscall.Errno(0x15)
57385 EISNAM = syscall.Errno(0x78)
57386 EKEYEXPIRED = syscall.Errno(0x7f)
57387 EKEYREJECTED = syscall.Errno(0x81)
57388@@ -1976,8 +585,6 @@ const (
57389 ELNRNG = syscall.Errno(0x30)
57390 ELOOP = syscall.Errno(0x28)
57391 EMEDIUMTYPE = syscall.Errno(0x7c)
57392- EMFILE = syscall.Errno(0x18)
57393- EMLINK = syscall.Errno(0x1f)
57394 EMSGSIZE = syscall.Errno(0x5a)
57395 EMULTIHOP = syscall.Errno(0x48)
57396 ENAMETOOLONG = syscall.Errno(0x24)
57397@@ -1985,103 +592,70 @@ const (
57398 ENETDOWN = syscall.Errno(0x64)
57399 ENETRESET = syscall.Errno(0x66)
57400 ENETUNREACH = syscall.Errno(0x65)
57401- ENFILE = syscall.Errno(0x17)
57402 ENOANO = syscall.Errno(0x37)
57403 ENOBUFS = syscall.Errno(0x69)
57404 ENOCSI = syscall.Errno(0x32)
57405 ENODATA = syscall.Errno(0x3d)
57406- ENODEV = syscall.Errno(0x13)
57407- ENOENT = syscall.Errno(0x2)
57408- ENOEXEC = syscall.Errno(0x8)
57409 ENOKEY = syscall.Errno(0x7e)
57410 ENOLCK = syscall.Errno(0x25)
57411 ENOLINK = syscall.Errno(0x43)
57412 ENOMEDIUM = syscall.Errno(0x7b)
57413- ENOMEM = syscall.Errno(0xc)
57414 ENOMSG = syscall.Errno(0x2a)
57415 ENONET = syscall.Errno(0x40)
57416 ENOPKG = syscall.Errno(0x41)
57417 ENOPROTOOPT = syscall.Errno(0x5c)
57418- ENOSPC = syscall.Errno(0x1c)
57419 ENOSR = syscall.Errno(0x3f)
57420 ENOSTR = syscall.Errno(0x3c)
57421 ENOSYS = syscall.Errno(0x26)
57422- ENOTBLK = syscall.Errno(0xf)
57423 ENOTCONN = syscall.Errno(0x6b)
57424- ENOTDIR = syscall.Errno(0x14)
57425 ENOTEMPTY = syscall.Errno(0x27)
57426 ENOTNAM = syscall.Errno(0x76)
57427 ENOTRECOVERABLE = syscall.Errno(0x83)
57428 ENOTSOCK = syscall.Errno(0x58)
57429 ENOTSUP = syscall.Errno(0x5f)
57430- ENOTTY = syscall.Errno(0x19)
57431 ENOTUNIQ = syscall.Errno(0x4c)
57432- ENXIO = syscall.Errno(0x6)
57433 EOPNOTSUPP = syscall.Errno(0x5f)
57434 EOVERFLOW = syscall.Errno(0x4b)
57435 EOWNERDEAD = syscall.Errno(0x82)
57436- EPERM = syscall.Errno(0x1)
57437 EPFNOSUPPORT = syscall.Errno(0x60)
57438- EPIPE = syscall.Errno(0x20)
57439 EPROTO = syscall.Errno(0x47)
57440 EPROTONOSUPPORT = syscall.Errno(0x5d)
57441 EPROTOTYPE = syscall.Errno(0x5b)
57442- ERANGE = syscall.Errno(0x22)
57443 EREMCHG = syscall.Errno(0x4e)
57444 EREMOTE = syscall.Errno(0x42)
57445 EREMOTEIO = syscall.Errno(0x79)
57446 ERESTART = syscall.Errno(0x55)
57447 ERFKILL = syscall.Errno(0x84)
57448- EROFS = syscall.Errno(0x1e)
57449 ESHUTDOWN = syscall.Errno(0x6c)
57450 ESOCKTNOSUPPORT = syscall.Errno(0x5e)
57451- ESPIPE = syscall.Errno(0x1d)
57452- ESRCH = syscall.Errno(0x3)
57453 ESRMNT = syscall.Errno(0x45)
57454 ESTALE = syscall.Errno(0x74)
57455 ESTRPIPE = syscall.Errno(0x56)
57456 ETIME = syscall.Errno(0x3e)
57457 ETIMEDOUT = syscall.Errno(0x6e)
57458 ETOOMANYREFS = syscall.Errno(0x6d)
57459- ETXTBSY = syscall.Errno(0x1a)
57460 EUCLEAN = syscall.Errno(0x75)
57461 EUNATCH = syscall.Errno(0x31)
57462 EUSERS = syscall.Errno(0x57)
57463- EWOULDBLOCK = syscall.Errno(0xb)
57464- EXDEV = syscall.Errno(0x12)
57465 EXFULL = syscall.Errno(0x36)
57466 )
57467
57468 // Signals
57469 const (
57470- SIGABRT = syscall.Signal(0x6)
57471- SIGALRM = syscall.Signal(0xe)
57472 SIGBUS = syscall.Signal(0x7)
57473 SIGCHLD = syscall.Signal(0x11)
57474 SIGCLD = syscall.Signal(0x11)
57475 SIGCONT = syscall.Signal(0x12)
57476- SIGFPE = syscall.Signal(0x8)
57477- SIGHUP = syscall.Signal(0x1)
57478- SIGILL = syscall.Signal(0x4)
57479- SIGINT = syscall.Signal(0x2)
57480 SIGIO = syscall.Signal(0x1d)
57481- SIGIOT = syscall.Signal(0x6)
57482- SIGKILL = syscall.Signal(0x9)
57483- SIGPIPE = syscall.Signal(0xd)
57484 SIGPOLL = syscall.Signal(0x1d)
57485 SIGPROF = syscall.Signal(0x1b)
57486 SIGPWR = syscall.Signal(0x1e)
57487- SIGQUIT = syscall.Signal(0x3)
57488- SIGSEGV = syscall.Signal(0xb)
57489 SIGSTKFLT = syscall.Signal(0x10)
57490 SIGSTOP = syscall.Signal(0x13)
57491 SIGSYS = syscall.Signal(0x1f)
57492- SIGTERM = syscall.Signal(0xf)
57493- SIGTRAP = syscall.Signal(0x5)
57494 SIGTSTP = syscall.Signal(0x14)
57495 SIGTTIN = syscall.Signal(0x15)
57496 SIGTTOU = syscall.Signal(0x16)
57497- SIGUNUSED = syscall.Signal(0x1f)
57498 SIGURG = syscall.Signal(0x17)
57499 SIGUSR1 = syscall.Signal(0xa)
57500 SIGUSR2 = syscall.Signal(0xc)
57501@@ -2092,171 +666,179 @@ const (
57502 )
57503
57504 // Error table
57505-var errors = [...]string{
57506- 1: "operation not permitted",
57507- 2: "no such file or directory",
57508- 3: "no such process",
57509- 4: "interrupted system call",
57510- 5: "input/output error",
57511- 6: "no such device or address",
57512- 7: "argument list too long",
57513- 8: "exec format error",
57514- 9: "bad file descriptor",
57515- 10: "no child processes",
57516- 11: "resource temporarily unavailable",
57517- 12: "cannot allocate memory",
57518- 13: "permission denied",
57519- 14: "bad address",
57520- 15: "block device required",
57521- 16: "device or resource busy",
57522- 17: "file exists",
57523- 18: "invalid cross-device link",
57524- 19: "no such device",
57525- 20: "not a directory",
57526- 21: "is a directory",
57527- 22: "invalid argument",
57528- 23: "too many open files in system",
57529- 24: "too many open files",
57530- 25: "inappropriate ioctl for device",
57531- 26: "text file busy",
57532- 27: "file too large",
57533- 28: "no space left on device",
57534- 29: "illegal seek",
57535- 30: "read-only file system",
57536- 31: "too many links",
57537- 32: "broken pipe",
57538- 33: "numerical argument out of domain",
57539- 34: "numerical result out of range",
57540- 35: "resource deadlock avoided",
57541- 36: "file name too long",
57542- 37: "no locks available",
57543- 38: "function not implemented",
57544- 39: "directory not empty",
57545- 40: "too many levels of symbolic links",
57546- 42: "no message of desired type",
57547- 43: "identifier removed",
57548- 44: "channel number out of range",
57549- 45: "level 2 not synchronized",
57550- 46: "level 3 halted",
57551- 47: "level 3 reset",
57552- 48: "link number out of range",
57553- 49: "protocol driver not attached",
57554- 50: "no CSI structure available",
57555- 51: "level 2 halted",
57556- 52: "invalid exchange",
57557- 53: "invalid request descriptor",
57558- 54: "exchange full",
57559- 55: "no anode",
57560- 56: "invalid request code",
57561- 57: "invalid slot",
57562- 59: "bad font file format",
57563- 60: "device not a stream",
57564- 61: "no data available",
57565- 62: "timer expired",
57566- 63: "out of streams resources",
57567- 64: "machine is not on the network",
57568- 65: "package not installed",
57569- 66: "object is remote",
57570- 67: "link has been severed",
57571- 68: "advertise error",
57572- 69: "srmount error",
57573- 70: "communication error on send",
57574- 71: "protocol error",
57575- 72: "multihop attempted",
57576- 73: "RFS specific error",
57577- 74: "bad message",
57578- 75: "value too large for defined data type",
57579- 76: "name not unique on network",
57580- 77: "file descriptor in bad state",
57581- 78: "remote address changed",
57582- 79: "can not access a needed shared library",
57583- 80: "accessing a corrupted shared library",
57584- 81: ".lib section in a.out corrupted",
57585- 82: "attempting to link in too many shared libraries",
57586- 83: "cannot exec a shared library directly",
57587- 84: "invalid or incomplete multibyte or wide character",
57588- 85: "interrupted system call should be restarted",
57589- 86: "streams pipe error",
57590- 87: "too many users",
57591- 88: "socket operation on non-socket",
57592- 89: "destination address required",
57593- 90: "message too long",
57594- 91: "protocol wrong type for socket",
57595- 92: "protocol not available",
57596- 93: "protocol not supported",
57597- 94: "socket type not supported",
57598- 95: "operation not supported",
57599- 96: "protocol family not supported",
57600- 97: "address family not supported by protocol",
57601- 98: "address already in use",
57602- 99: "cannot assign requested address",
57603- 100: "network is down",
57604- 101: "network is unreachable",
57605- 102: "network dropped connection on reset",
57606- 103: "software caused connection abort",
57607- 104: "connection reset by peer",
57608- 105: "no buffer space available",
57609- 106: "transport endpoint is already connected",
57610- 107: "transport endpoint is not connected",
57611- 108: "cannot send after transport endpoint shutdown",
57612- 109: "too many references: cannot splice",
57613- 110: "connection timed out",
57614- 111: "connection refused",
57615- 112: "host is down",
57616- 113: "no route to host",
57617- 114: "operation already in progress",
57618- 115: "operation now in progress",
57619- 116: "stale file handle",
57620- 117: "structure needs cleaning",
57621- 118: "not a XENIX named type file",
57622- 119: "no XENIX semaphores available",
57623- 120: "is a named type file",
57624- 121: "remote I/O error",
57625- 122: "disk quota exceeded",
57626- 123: "no medium found",
57627- 124: "wrong medium type",
57628- 125: "operation canceled",
57629- 126: "required key not available",
57630- 127: "key has expired",
57631- 128: "key has been revoked",
57632- 129: "key was rejected by service",
57633- 130: "owner died",
57634- 131: "state not recoverable",
57635- 132: "operation not possible due to RF-kill",
57636- 133: "memory page has hardware error",
57637+var errorList = [...]struct {
57638+ num syscall.Errno
57639+ name string
57640+ desc string
57641+}{
57642+ {1, "EPERM", "operation not permitted"},
57643+ {2, "ENOENT", "no such file or directory"},
57644+ {3, "ESRCH", "no such process"},
57645+ {4, "EINTR", "interrupted system call"},
57646+ {5, "EIO", "input/output error"},
57647+ {6, "ENXIO", "no such device or address"},
57648+ {7, "E2BIG", "argument list too long"},
57649+ {8, "ENOEXEC", "exec format error"},
57650+ {9, "EBADF", "bad file descriptor"},
57651+ {10, "ECHILD", "no child processes"},
57652+ {11, "EAGAIN", "resource temporarily unavailable"},
57653+ {12, "ENOMEM", "cannot allocate memory"},
57654+ {13, "EACCES", "permission denied"},
57655+ {14, "EFAULT", "bad address"},
57656+ {15, "ENOTBLK", "block device required"},
57657+ {16, "EBUSY", "device or resource busy"},
57658+ {17, "EEXIST", "file exists"},
57659+ {18, "EXDEV", "invalid cross-device link"},
57660+ {19, "ENODEV", "no such device"},
57661+ {20, "ENOTDIR", "not a directory"},
57662+ {21, "EISDIR", "is a directory"},
57663+ {22, "EINVAL", "invalid argument"},
57664+ {23, "ENFILE", "too many open files in system"},
57665+ {24, "EMFILE", "too many open files"},
57666+ {25, "ENOTTY", "inappropriate ioctl for device"},
57667+ {26, "ETXTBSY", "text file busy"},
57668+ {27, "EFBIG", "file too large"},
57669+ {28, "ENOSPC", "no space left on device"},
57670+ {29, "ESPIPE", "illegal seek"},
57671+ {30, "EROFS", "read-only file system"},
57672+ {31, "EMLINK", "too many links"},
57673+ {32, "EPIPE", "broken pipe"},
57674+ {33, "EDOM", "numerical argument out of domain"},
57675+ {34, "ERANGE", "numerical result out of range"},
57676+ {35, "EDEADLK", "resource deadlock avoided"},
57677+ {36, "ENAMETOOLONG", "file name too long"},
57678+ {37, "ENOLCK", "no locks available"},
57679+ {38, "ENOSYS", "function not implemented"},
57680+ {39, "ENOTEMPTY", "directory not empty"},
57681+ {40, "ELOOP", "too many levels of symbolic links"},
57682+ {42, "ENOMSG", "no message of desired type"},
57683+ {43, "EIDRM", "identifier removed"},
57684+ {44, "ECHRNG", "channel number out of range"},
57685+ {45, "EL2NSYNC", "level 2 not synchronized"},
57686+ {46, "EL3HLT", "level 3 halted"},
57687+ {47, "EL3RST", "level 3 reset"},
57688+ {48, "ELNRNG", "link number out of range"},
57689+ {49, "EUNATCH", "protocol driver not attached"},
57690+ {50, "ENOCSI", "no CSI structure available"},
57691+ {51, "EL2HLT", "level 2 halted"},
57692+ {52, "EBADE", "invalid exchange"},
57693+ {53, "EBADR", "invalid request descriptor"},
57694+ {54, "EXFULL", "exchange full"},
57695+ {55, "ENOANO", "no anode"},
57696+ {56, "EBADRQC", "invalid request code"},
57697+ {57, "EBADSLT", "invalid slot"},
57698+ {59, "EBFONT", "bad font file format"},
57699+ {60, "ENOSTR", "device not a stream"},
57700+ {61, "ENODATA", "no data available"},
57701+ {62, "ETIME", "timer expired"},
57702+ {63, "ENOSR", "out of streams resources"},
57703+ {64, "ENONET", "machine is not on the network"},
57704+ {65, "ENOPKG", "package not installed"},
57705+ {66, "EREMOTE", "object is remote"},
57706+ {67, "ENOLINK", "link has been severed"},
57707+ {68, "EADV", "advertise error"},
57708+ {69, "ESRMNT", "srmount error"},
57709+ {70, "ECOMM", "communication error on send"},
57710+ {71, "EPROTO", "protocol error"},
57711+ {72, "EMULTIHOP", "multihop attempted"},
57712+ {73, "EDOTDOT", "RFS specific error"},
57713+ {74, "EBADMSG", "bad message"},
57714+ {75, "EOVERFLOW", "value too large for defined data type"},
57715+ {76, "ENOTUNIQ", "name not unique on network"},
57716+ {77, "EBADFD", "file descriptor in bad state"},
57717+ {78, "EREMCHG", "remote address changed"},
57718+ {79, "ELIBACC", "can not access a needed shared library"},
57719+ {80, "ELIBBAD", "accessing a corrupted shared library"},
57720+ {81, "ELIBSCN", ".lib section in a.out corrupted"},
57721+ {82, "ELIBMAX", "attempting to link in too many shared libraries"},
57722+ {83, "ELIBEXEC", "cannot exec a shared library directly"},
57723+ {84, "EILSEQ", "invalid or incomplete multibyte or wide character"},
57724+ {85, "ERESTART", "interrupted system call should be restarted"},
57725+ {86, "ESTRPIPE", "streams pipe error"},
57726+ {87, "EUSERS", "too many users"},
57727+ {88, "ENOTSOCK", "socket operation on non-socket"},
57728+ {89, "EDESTADDRREQ", "destination address required"},
57729+ {90, "EMSGSIZE", "message too long"},
57730+ {91, "EPROTOTYPE", "protocol wrong type for socket"},
57731+ {92, "ENOPROTOOPT", "protocol not available"},
57732+ {93, "EPROTONOSUPPORT", "protocol not supported"},
57733+ {94, "ESOCKTNOSUPPORT", "socket type not supported"},
57734+ {95, "ENOTSUP", "operation not supported"},
57735+ {96, "EPFNOSUPPORT", "protocol family not supported"},
57736+ {97, "EAFNOSUPPORT", "address family not supported by protocol"},
57737+ {98, "EADDRINUSE", "address already in use"},
57738+ {99, "EADDRNOTAVAIL", "cannot assign requested address"},
57739+ {100, "ENETDOWN", "network is down"},
57740+ {101, "ENETUNREACH", "network is unreachable"},
57741+ {102, "ENETRESET", "network dropped connection on reset"},
57742+ {103, "ECONNABORTED", "software caused connection abort"},
57743+ {104, "ECONNRESET", "connection reset by peer"},
57744+ {105, "ENOBUFS", "no buffer space available"},
57745+ {106, "EISCONN", "transport endpoint is already connected"},
57746+ {107, "ENOTCONN", "transport endpoint is not connected"},
57747+ {108, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
57748+ {109, "ETOOMANYREFS", "too many references: cannot splice"},
57749+ {110, "ETIMEDOUT", "connection timed out"},
57750+ {111, "ECONNREFUSED", "connection refused"},
57751+ {112, "EHOSTDOWN", "host is down"},
57752+ {113, "EHOSTUNREACH", "no route to host"},
57753+ {114, "EALREADY", "operation already in progress"},
57754+ {115, "EINPROGRESS", "operation now in progress"},
57755+ {116, "ESTALE", "stale file handle"},
57756+ {117, "EUCLEAN", "structure needs cleaning"},
57757+ {118, "ENOTNAM", "not a XENIX named type file"},
57758+ {119, "ENAVAIL", "no XENIX semaphores available"},
57759+ {120, "EISNAM", "is a named type file"},
57760+ {121, "EREMOTEIO", "remote I/O error"},
57761+ {122, "EDQUOT", "disk quota exceeded"},
57762+ {123, "ENOMEDIUM", "no medium found"},
57763+ {124, "EMEDIUMTYPE", "wrong medium type"},
57764+ {125, "ECANCELED", "operation canceled"},
57765+ {126, "ENOKEY", "required key not available"},
57766+ {127, "EKEYEXPIRED", "key has expired"},
57767+ {128, "EKEYREVOKED", "key has been revoked"},
57768+ {129, "EKEYREJECTED", "key was rejected by service"},
57769+ {130, "EOWNERDEAD", "owner died"},
57770+ {131, "ENOTRECOVERABLE", "state not recoverable"},
57771+ {132, "ERFKILL", "operation not possible due to RF-kill"},
57772+ {133, "EHWPOISON", "memory page has hardware error"},
57773 }
57774
57775 // Signal table
57776-var signals = [...]string{
57777- 1: "hangup",
57778- 2: "interrupt",
57779- 3: "quit",
57780- 4: "illegal instruction",
57781- 5: "trace/breakpoint trap",
57782- 6: "aborted",
57783- 7: "bus error",
57784- 8: "floating point exception",
57785- 9: "killed",
57786- 10: "user defined signal 1",
57787- 11: "segmentation fault",
57788- 12: "user defined signal 2",
57789- 13: "broken pipe",
57790- 14: "alarm clock",
57791- 15: "terminated",
57792- 16: "stack fault",
57793- 17: "child exited",
57794- 18: "continued",
57795- 19: "stopped (signal)",
57796- 20: "stopped",
57797- 21: "stopped (tty input)",
57798- 22: "stopped (tty output)",
57799- 23: "urgent I/O condition",
57800- 24: "CPU time limit exceeded",
57801- 25: "file size limit exceeded",
57802- 26: "virtual timer expired",
57803- 27: "profiling timer expired",
57804- 28: "window changed",
57805- 29: "I/O possible",
57806- 30: "power failure",
57807- 31: "bad system call",
57808+var signalList = [...]struct {
57809+ num syscall.Signal
57810+ name string
57811+ desc string
57812+}{
57813+ {1, "SIGHUP", "hangup"},
57814+ {2, "SIGINT", "interrupt"},
57815+ {3, "SIGQUIT", "quit"},
57816+ {4, "SIGILL", "illegal instruction"},
57817+ {5, "SIGTRAP", "trace/breakpoint trap"},
57818+ {6, "SIGABRT", "aborted"},
57819+ {7, "SIGBUS", "bus error"},
57820+ {8, "SIGFPE", "floating point exception"},
57821+ {9, "SIGKILL", "killed"},
57822+ {10, "SIGUSR1", "user defined signal 1"},
57823+ {11, "SIGSEGV", "segmentation fault"},
57824+ {12, "SIGUSR2", "user defined signal 2"},
57825+ {13, "SIGPIPE", "broken pipe"},
57826+ {14, "SIGALRM", "alarm clock"},
57827+ {15, "SIGTERM", "terminated"},
57828+ {16, "SIGSTKFLT", "stack fault"},
57829+ {17, "SIGCHLD", "child exited"},
57830+ {18, "SIGCONT", "continued"},
57831+ {19, "SIGSTOP", "stopped (signal)"},
57832+ {20, "SIGTSTP", "stopped"},
57833+ {21, "SIGTTIN", "stopped (tty input)"},
57834+ {22, "SIGTTOU", "stopped (tty output)"},
57835+ {23, "SIGURG", "urgent I/O condition"},
57836+ {24, "SIGXCPU", "CPU time limit exceeded"},
57837+ {25, "SIGXFSZ", "file size limit exceeded"},
57838+ {26, "SIGVTALRM", "virtual timer expired"},
57839+ {27, "SIGPROF", "profiling timer expired"},
57840+ {28, "SIGWINCH", "window changed"},
57841+ {29, "SIGIO", "I/O possible"},
57842+ {30, "SIGPWR", "power failure"},
57843+ {31, "SIGSYS", "bad system call"},
57844 }
57845diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go
57846index 95de199f..079762fa 100644
57847--- a/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go
57848+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go
57849@@ -1,915 +1,132 @@
57850-// mkerrors.sh -m64
57851-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
57852+// mkerrors.sh -Wall -Werror -static -I/tmp/include
57853+// Code generated by the command above; see README.md. DO NOT EDIT.
57854
57855 // +build sparc64,linux
57856
57857-// Created by cgo -godefs - DO NOT EDIT
57858-// cgo -godefs -- -m64 _const.go
57859+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
57860+// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
57861
57862 package unix
57863
57864 import "syscall"
57865
57866 const (
57867- AF_ALG = 0x26
57868- AF_APPLETALK = 0x5
57869- AF_ASH = 0x12
57870- AF_ATMPVC = 0x8
57871- AF_ATMSVC = 0x14
57872- AF_AX25 = 0x3
57873- AF_BLUETOOTH = 0x1f
57874- AF_BRIDGE = 0x7
57875- AF_CAIF = 0x25
57876- AF_CAN = 0x1d
57877- AF_DECnet = 0xc
57878- AF_ECONET = 0x13
57879- AF_FILE = 0x1
57880- AF_IB = 0x1b
57881- AF_IEEE802154 = 0x24
57882- AF_INET = 0x2
57883- AF_INET6 = 0xa
57884- AF_IPX = 0x4
57885- AF_IRDA = 0x17
57886- AF_ISDN = 0x22
57887- AF_IUCV = 0x20
57888- AF_KCM = 0x29
57889- AF_KEY = 0xf
57890- AF_LLC = 0x1a
57891- AF_LOCAL = 0x1
57892- AF_MAX = 0x2a
57893- AF_MPLS = 0x1c
57894- AF_NETBEUI = 0xd
57895- AF_NETLINK = 0x10
57896- AF_NETROM = 0x6
57897- AF_NFC = 0x27
57898- AF_PACKET = 0x11
57899- AF_PHONET = 0x23
57900- AF_PPPOX = 0x18
57901- AF_RDS = 0x15
57902- AF_ROSE = 0xb
57903- AF_ROUTE = 0x10
57904- AF_RXRPC = 0x21
57905- AF_SECURITY = 0xe
57906- AF_SNA = 0x16
57907- AF_TIPC = 0x1e
57908- AF_UNIX = 0x1
57909- AF_UNSPEC = 0x0
57910- AF_VSOCK = 0x28
57911- AF_WANPIPE = 0x19
57912- AF_X25 = 0x9
57913- ALG_OP_DECRYPT = 0x0
57914- ALG_OP_ENCRYPT = 0x1
57915- ALG_SET_AEAD_ASSOCLEN = 0x4
57916- ALG_SET_AEAD_AUTHSIZE = 0x5
57917- ALG_SET_IV = 0x2
57918- ALG_SET_KEY = 0x1
57919- ALG_SET_OP = 0x3
57920- ARPHRD_6LOWPAN = 0x339
57921- ARPHRD_ADAPT = 0x108
57922- ARPHRD_APPLETLK = 0x8
57923- ARPHRD_ARCNET = 0x7
57924- ARPHRD_ASH = 0x30d
57925- ARPHRD_ATM = 0x13
57926- ARPHRD_AX25 = 0x3
57927- ARPHRD_BIF = 0x307
57928- ARPHRD_CAIF = 0x336
57929- ARPHRD_CAN = 0x118
57930- ARPHRD_CHAOS = 0x5
57931- ARPHRD_CISCO = 0x201
57932- ARPHRD_CSLIP = 0x101
57933- ARPHRD_CSLIP6 = 0x103
57934- ARPHRD_DDCMP = 0x205
57935- ARPHRD_DLCI = 0xf
57936- ARPHRD_ECONET = 0x30e
57937- ARPHRD_EETHER = 0x2
57938- ARPHRD_ETHER = 0x1
57939- ARPHRD_EUI64 = 0x1b
57940- ARPHRD_FCAL = 0x311
57941- ARPHRD_FCFABRIC = 0x313
57942- ARPHRD_FCPL = 0x312
57943- ARPHRD_FCPP = 0x310
57944- ARPHRD_FDDI = 0x306
57945- ARPHRD_FRAD = 0x302
57946- ARPHRD_HDLC = 0x201
57947- ARPHRD_HIPPI = 0x30c
57948- ARPHRD_HWX25 = 0x110
57949- ARPHRD_IEEE1394 = 0x18
57950- ARPHRD_IEEE802 = 0x6
57951- ARPHRD_IEEE80211 = 0x321
57952- ARPHRD_IEEE80211_PRISM = 0x322
57953- ARPHRD_IEEE80211_RADIOTAP = 0x323
57954- ARPHRD_IEEE802154 = 0x324
57955- ARPHRD_IEEE802154_MONITOR = 0x325
57956- ARPHRD_IEEE802_TR = 0x320
57957- ARPHRD_INFINIBAND = 0x20
57958- ARPHRD_IP6GRE = 0x337
57959- ARPHRD_IPDDP = 0x309
57960- ARPHRD_IPGRE = 0x30a
57961- ARPHRD_IRDA = 0x30f
57962- ARPHRD_LAPB = 0x204
57963- ARPHRD_LOCALTLK = 0x305
57964- ARPHRD_LOOPBACK = 0x304
57965- ARPHRD_METRICOM = 0x17
57966- ARPHRD_NETLINK = 0x338
57967- ARPHRD_NETROM = 0x0
57968- ARPHRD_NONE = 0xfffe
57969- ARPHRD_PHONET = 0x334
57970- ARPHRD_PHONET_PIPE = 0x335
57971- ARPHRD_PIMREG = 0x30b
57972- ARPHRD_PPP = 0x200
57973- ARPHRD_PRONET = 0x4
57974- ARPHRD_RAWHDLC = 0x206
57975- ARPHRD_ROSE = 0x10e
57976- ARPHRD_RSRVD = 0x104
57977- ARPHRD_SIT = 0x308
57978- ARPHRD_SKIP = 0x303
57979- ARPHRD_SLIP = 0x100
57980- ARPHRD_SLIP6 = 0x102
57981- ARPHRD_TUNNEL = 0x300
57982- ARPHRD_TUNNEL6 = 0x301
57983- ARPHRD_VOID = 0xffff
57984- ARPHRD_X25 = 0x10f
57985 ASI_LEON_DFLUSH = 0x11
57986 ASI_LEON_IFLUSH = 0x10
57987 ASI_LEON_MMUFLUSH = 0x18
57988- B0 = 0x0
57989- B1000000 = 0x100c
57990- B110 = 0x3
57991+ B1000000 = 0x1008
57992 B115200 = 0x1002
57993- B1152000 = 0x100d
57994- B1200 = 0x9
57995- B134 = 0x4
57996- B150 = 0x5
57997- B1500000 = 0x100e
57998- B153600 = 0x1006
57999- B1800 = 0xa
58000- B19200 = 0xe
58001- B200 = 0x6
58002- B2000000 = 0x100f
58003+ B1152000 = 0x1009
58004+ B1500000 = 0x100a
58005+ B2000000 = 0x100b
58006 B230400 = 0x1003
58007- B2400 = 0xb
58008- B300 = 0x7
58009- B307200 = 0x1007
58010- B38400 = 0xf
58011+ B2500000 = 0x100c
58012+ B3000000 = 0x100d
58013+ B3500000 = 0x100e
58014+ B4000000 = 0x100f
58015 B460800 = 0x1004
58016- B4800 = 0xc
58017- B50 = 0x1
58018- B500000 = 0x100a
58019+ B500000 = 0x1005
58020 B57600 = 0x1001
58021- B576000 = 0x100b
58022- B600 = 0x8
58023- B614400 = 0x1008
58024- B75 = 0x2
58025- B76800 = 0x1005
58026- B921600 = 0x1009
58027- B9600 = 0xd
58028- BLKBSZGET = 0x80081270
58029- BLKBSZSET = 0x40081271
58030- BLKFLSBUF = 0x1261
58031- BLKFRAGET = 0x1265
58032- BLKFRASET = 0x1264
58033- BLKGETSIZE = 0x1260
58034- BLKGETSIZE64 = 0x80081272
58035- BLKRAGET = 0x1263
58036- BLKRASET = 0x1262
58037- BLKROGET = 0x125e
58038- BLKROSET = 0x125d
58039- BLKRRPART = 0x125f
58040- BLKSECTGET = 0x1267
58041- BLKSECTSET = 0x1266
58042- BLKSSZGET = 0x1268
58043+ B576000 = 0x1006
58044+ B921600 = 0x1007
58045+ BLKBSZGET = 0x40081270
58046+ BLKBSZSET = 0x80081271
58047+ BLKFLSBUF = 0x20001261
58048+ BLKFRAGET = 0x20001265
58049+ BLKFRASET = 0x20001264
58050+ BLKGETSIZE = 0x20001260
58051+ BLKGETSIZE64 = 0x40081272
58052+ BLKPBSZGET = 0x2000127b
58053+ BLKRAGET = 0x20001263
58054+ BLKRASET = 0x20001262
58055+ BLKROGET = 0x2000125e
58056+ BLKROSET = 0x2000125d
58057+ BLKRRPART = 0x2000125f
58058+ BLKSECTGET = 0x20001267
58059+ BLKSECTSET = 0x20001266
58060+ BLKSSZGET = 0x20001268
58061 BOTHER = 0x1000
58062- BPF_A = 0x10
58063- BPF_ABS = 0x20
58064- BPF_ADD = 0x0
58065- BPF_ALU = 0x4
58066- BPF_AND = 0x50
58067- BPF_B = 0x10
58068- BPF_DIV = 0x30
58069- BPF_H = 0x8
58070- BPF_IMM = 0x0
58071- BPF_IND = 0x40
58072- BPF_JA = 0x0
58073- BPF_JEQ = 0x10
58074- BPF_JGE = 0x30
58075- BPF_JGT = 0x20
58076- BPF_JMP = 0x5
58077- BPF_JSET = 0x40
58078- BPF_K = 0x0
58079- BPF_LD = 0x0
58080- BPF_LDX = 0x1
58081- BPF_LEN = 0x80
58082- BPF_LL_OFF = -0x200000
58083- BPF_LSH = 0x60
58084- BPF_MAJOR_VERSION = 0x1
58085- BPF_MAXINSNS = 0x1000
58086- BPF_MEM = 0x60
58087- BPF_MEMWORDS = 0x10
58088- BPF_MINOR_VERSION = 0x1
58089- BPF_MISC = 0x7
58090- BPF_MOD = 0x90
58091- BPF_MSH = 0xa0
58092- BPF_MUL = 0x20
58093- BPF_NEG = 0x80
58094- BPF_NET_OFF = -0x100000
58095- BPF_OR = 0x40
58096- BPF_RET = 0x6
58097- BPF_RSH = 0x70
58098- BPF_ST = 0x2
58099- BPF_STX = 0x3
58100- BPF_SUB = 0x10
58101- BPF_TAX = 0x0
58102- BPF_TXA = 0x80
58103- BPF_W = 0x0
58104- BPF_X = 0x8
58105- BPF_XOR = 0xa0
58106- BRKINT = 0x2
58107- BS0 = 0x0
58108 BS1 = 0x2000
58109 BSDLY = 0x2000
58110- CAN_BCM = 0x2
58111- CAN_EFF_FLAG = 0x80000000
58112- CAN_EFF_ID_BITS = 0x1d
58113- CAN_EFF_MASK = 0x1fffffff
58114- CAN_ERR_FLAG = 0x20000000
58115- CAN_ERR_MASK = 0x1fffffff
58116- CAN_INV_FILTER = 0x20000000
58117- CAN_ISOTP = 0x6
58118- CAN_MAX_DLC = 0x8
58119- CAN_MAX_DLEN = 0x8
58120- CAN_MCNET = 0x5
58121- CAN_MTU = 0x10
58122- CAN_NPROTO = 0x7
58123- CAN_RAW = 0x1
58124- CAN_RTR_FLAG = 0x40000000
58125- CAN_SFF_ID_BITS = 0xb
58126- CAN_SFF_MASK = 0x7ff
58127- CAN_TP16 = 0x3
58128- CAN_TP20 = 0x4
58129 CBAUD = 0x100f
58130 CBAUDEX = 0x1000
58131- CFLUSH = 0xf
58132 CIBAUD = 0x100f0000
58133 CLOCAL = 0x800
58134- CLOCK_BOOTTIME = 0x7
58135- CLOCK_BOOTTIME_ALARM = 0x9
58136- CLOCK_DEFAULT = 0x0
58137- CLOCK_EXT = 0x1
58138- CLOCK_INT = 0x2
58139- CLOCK_MONOTONIC = 0x1
58140- CLOCK_MONOTONIC_COARSE = 0x6
58141- CLOCK_MONOTONIC_RAW = 0x4
58142- CLOCK_PROCESS_CPUTIME_ID = 0x2
58143- CLOCK_REALTIME = 0x0
58144- CLOCK_REALTIME_ALARM = 0x8
58145- CLOCK_REALTIME_COARSE = 0x5
58146- CLOCK_TAI = 0xb
58147- CLOCK_THREAD_CPUTIME_ID = 0x3
58148- CLOCK_TXFROMRX = 0x4
58149- CLOCK_TXINT = 0x3
58150- CLONE_CHILD_CLEARTID = 0x200000
58151- CLONE_CHILD_SETTID = 0x1000000
58152- CLONE_DETACHED = 0x400000
58153- CLONE_FILES = 0x400
58154- CLONE_FS = 0x200
58155- CLONE_IO = 0x80000000
58156- CLONE_NEWCGROUP = 0x2000000
58157- CLONE_NEWIPC = 0x8000000
58158- CLONE_NEWNET = 0x40000000
58159- CLONE_NEWNS = 0x20000
58160- CLONE_NEWPID = 0x20000000
58161- CLONE_NEWUSER = 0x10000000
58162- CLONE_NEWUTS = 0x4000000
58163- CLONE_PARENT = 0x8000
58164- CLONE_PARENT_SETTID = 0x100000
58165- CLONE_PTRACE = 0x2000
58166- CLONE_SETTLS = 0x80000
58167- CLONE_SIGHAND = 0x800
58168- CLONE_SYSVSEM = 0x40000
58169- CLONE_THREAD = 0x10000
58170- CLONE_UNTRACED = 0x800000
58171- CLONE_VFORK = 0x4000
58172- CLONE_VM = 0x100
58173- CMSPAR = 0x40000000
58174- CR0 = 0x0
58175 CR1 = 0x200
58176 CR2 = 0x400
58177 CR3 = 0x600
58178 CRDLY = 0x600
58179 CREAD = 0x80
58180- CRTSCTS = 0x80000000
58181- CS5 = 0x0
58182 CS6 = 0x10
58183 CS7 = 0x20
58184 CS8 = 0x30
58185- CSIGNAL = 0xff
58186 CSIZE = 0x30
58187- CSTART = 0x11
58188- CSTATUS = 0x0
58189- CSTOP = 0x13
58190 CSTOPB = 0x40
58191- CSUSP = 0x1a
58192- DT_BLK = 0x6
58193- DT_CHR = 0x2
58194- DT_DIR = 0x4
58195- DT_FIFO = 0x1
58196- DT_LNK = 0xa
58197- DT_REG = 0x8
58198- DT_SOCK = 0xc
58199- DT_UNKNOWN = 0x0
58200- DT_WHT = 0xe
58201- ECHO = 0x8
58202 ECHOCTL = 0x200
58203 ECHOE = 0x10
58204 ECHOK = 0x20
58205 ECHOKE = 0x800
58206 ECHONL = 0x40
58207 ECHOPRT = 0x400
58208+ EFD_CLOEXEC = 0x400000
58209+ EFD_NONBLOCK = 0x4000
58210 EMT_TAGOVF = 0x1
58211- ENCODING_DEFAULT = 0x0
58212- ENCODING_FM_MARK = 0x3
58213- ENCODING_FM_SPACE = 0x4
58214- ENCODING_MANCHESTER = 0x5
58215- ENCODING_NRZ = 0x1
58216- ENCODING_NRZI = 0x2
58217- EPOLLERR = 0x8
58218- EPOLLET = 0x80000000
58219- EPOLLEXCLUSIVE = 0x10000000
58220- EPOLLHUP = 0x10
58221- EPOLLIN = 0x1
58222- EPOLLMSG = 0x400
58223- EPOLLONESHOT = 0x40000000
58224- EPOLLOUT = 0x4
58225- EPOLLPRI = 0x2
58226- EPOLLRDBAND = 0x80
58227- EPOLLRDHUP = 0x2000
58228- EPOLLRDNORM = 0x40
58229- EPOLLWAKEUP = 0x20000000
58230- EPOLLWRBAND = 0x200
58231- EPOLLWRNORM = 0x100
58232 EPOLL_CLOEXEC = 0x400000
58233- EPOLL_CTL_ADD = 0x1
58234- EPOLL_CTL_DEL = 0x2
58235- EPOLL_CTL_MOD = 0x3
58236- ETH_P_1588 = 0x88f7
58237- ETH_P_8021AD = 0x88a8
58238- ETH_P_8021AH = 0x88e7
58239- ETH_P_8021Q = 0x8100
58240- ETH_P_80221 = 0x8917
58241- ETH_P_802_2 = 0x4
58242- ETH_P_802_3 = 0x1
58243- ETH_P_802_3_MIN = 0x600
58244- ETH_P_802_EX1 = 0x88b5
58245- ETH_P_AARP = 0x80f3
58246- ETH_P_AF_IUCV = 0xfbfb
58247- ETH_P_ALL = 0x3
58248- ETH_P_AOE = 0x88a2
58249- ETH_P_ARCNET = 0x1a
58250- ETH_P_ARP = 0x806
58251- ETH_P_ATALK = 0x809b
58252- ETH_P_ATMFATE = 0x8884
58253- ETH_P_ATMMPOA = 0x884c
58254- ETH_P_AX25 = 0x2
58255- ETH_P_BATMAN = 0x4305
58256- ETH_P_BPQ = 0x8ff
58257- ETH_P_CAIF = 0xf7
58258- ETH_P_CAN = 0xc
58259- ETH_P_CANFD = 0xd
58260- ETH_P_CONTROL = 0x16
58261- ETH_P_CUST = 0x6006
58262- ETH_P_DDCMP = 0x6
58263- ETH_P_DEC = 0x6000
58264- ETH_P_DIAG = 0x6005
58265- ETH_P_DNA_DL = 0x6001
58266- ETH_P_DNA_RC = 0x6002
58267- ETH_P_DNA_RT = 0x6003
58268- ETH_P_DSA = 0x1b
58269- ETH_P_ECONET = 0x18
58270- ETH_P_EDSA = 0xdada
58271- ETH_P_FCOE = 0x8906
58272- ETH_P_FIP = 0x8914
58273- ETH_P_HDLC = 0x19
58274- ETH_P_HSR = 0x892f
58275- ETH_P_IEEE802154 = 0xf6
58276- ETH_P_IEEEPUP = 0xa00
58277- ETH_P_IEEEPUPAT = 0xa01
58278- ETH_P_IP = 0x800
58279- ETH_P_IPV6 = 0x86dd
58280- ETH_P_IPX = 0x8137
58281- ETH_P_IRDA = 0x17
58282- ETH_P_LAT = 0x6004
58283- ETH_P_LINK_CTL = 0x886c
58284- ETH_P_LOCALTALK = 0x9
58285- ETH_P_LOOP = 0x60
58286- ETH_P_LOOPBACK = 0x9000
58287- ETH_P_MACSEC = 0x88e5
58288- ETH_P_MOBITEX = 0x15
58289- ETH_P_MPLS_MC = 0x8848
58290- ETH_P_MPLS_UC = 0x8847
58291- ETH_P_MVRP = 0x88f5
58292- ETH_P_PAE = 0x888e
58293- ETH_P_PAUSE = 0x8808
58294- ETH_P_PHONET = 0xf5
58295- ETH_P_PPPTALK = 0x10
58296- ETH_P_PPP_DISC = 0x8863
58297- ETH_P_PPP_MP = 0x8
58298- ETH_P_PPP_SES = 0x8864
58299- ETH_P_PRP = 0x88fb
58300- ETH_P_PUP = 0x200
58301- ETH_P_PUPAT = 0x201
58302- ETH_P_QINQ1 = 0x9100
58303- ETH_P_QINQ2 = 0x9200
58304- ETH_P_QINQ3 = 0x9300
58305- ETH_P_RARP = 0x8035
58306- ETH_P_SCA = 0x6007
58307- ETH_P_SLOW = 0x8809
58308- ETH_P_SNAP = 0x5
58309- ETH_P_TDLS = 0x890d
58310- ETH_P_TEB = 0x6558
58311- ETH_P_TIPC = 0x88ca
58312- ETH_P_TRAILER = 0x1c
58313- ETH_P_TR_802_2 = 0x11
58314- ETH_P_TSN = 0x22f0
58315- ETH_P_WAN_PPP = 0x7
58316- ETH_P_WCCP = 0x883e
58317- ETH_P_X25 = 0x805
58318- ETH_P_XDSA = 0xf8
58319- EXTA = 0xe
58320- EXTB = 0xf
58321 EXTPROC = 0x10000
58322- FALLOC_FL_COLLAPSE_RANGE = 0x8
58323- FALLOC_FL_INSERT_RANGE = 0x20
58324- FALLOC_FL_KEEP_SIZE = 0x1
58325- FALLOC_FL_NO_HIDE_STALE = 0x4
58326- FALLOC_FL_PUNCH_HOLE = 0x2
58327- FALLOC_FL_ZERO_RANGE = 0x10
58328- FD_CLOEXEC = 0x1
58329- FD_SETSIZE = 0x400
58330- FF0 = 0x0
58331 FF1 = 0x8000
58332 FFDLY = 0x8000
58333- FLUSHO = 0x2000
58334- F_DUPFD = 0x0
58335- F_DUPFD_CLOEXEC = 0x406
58336- F_EXLCK = 0x4
58337- F_GETFD = 0x1
58338- F_GETFL = 0x3
58339- F_GETLEASE = 0x401
58340+ FLUSHO = 0x1000
58341+ FS_IOC_ENABLE_VERITY = 0x80806685
58342+ FS_IOC_GETFLAGS = 0x40086601
58343+ FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615
58344+ FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614
58345+ FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613
58346 F_GETLK = 0x7
58347 F_GETLK64 = 0x7
58348 F_GETOWN = 0x5
58349- F_GETOWN_EX = 0x10
58350- F_GETPIPE_SZ = 0x408
58351- F_GETSIG = 0xb
58352- F_LOCK = 0x1
58353- F_NOTIFY = 0x402
58354- F_OFD_GETLK = 0x24
58355- F_OFD_SETLK = 0x25
58356- F_OFD_SETLKW = 0x26
58357- F_OK = 0x0
58358 F_RDLCK = 0x1
58359- F_SETFD = 0x2
58360- F_SETFL = 0x4
58361- F_SETLEASE = 0x400
58362 F_SETLK = 0x8
58363 F_SETLK64 = 0x8
58364 F_SETLKW = 0x9
58365 F_SETLKW64 = 0x9
58366 F_SETOWN = 0x6
58367- F_SETOWN_EX = 0xf
58368- F_SETPIPE_SZ = 0x407
58369- F_SETSIG = 0xa
58370- F_SHLCK = 0x8
58371- F_TEST = 0x3
58372- F_TLOCK = 0x2
58373- F_ULOCK = 0x0
58374 F_UNLCK = 0x3
58375 F_WRLCK = 0x2
58376- GRND_NONBLOCK = 0x1
58377- GRND_RANDOM = 0x2
58378 HUPCL = 0x400
58379- IBSHIFT = 0x10
58380 ICANON = 0x2
58381- ICMPV6_FILTER = 0x1
58382- ICRNL = 0x100
58383 IEXTEN = 0x8000
58384- IFA_F_DADFAILED = 0x8
58385- IFA_F_DEPRECATED = 0x20
58386- IFA_F_HOMEADDRESS = 0x10
58387- IFA_F_MANAGETEMPADDR = 0x100
58388- IFA_F_MCAUTOJOIN = 0x400
58389- IFA_F_NODAD = 0x2
58390- IFA_F_NOPREFIXROUTE = 0x200
58391- IFA_F_OPTIMISTIC = 0x4
58392- IFA_F_PERMANENT = 0x80
58393- IFA_F_SECONDARY = 0x1
58394- IFA_F_STABLE_PRIVACY = 0x800
58395- IFA_F_TEMPORARY = 0x1
58396- IFA_F_TENTATIVE = 0x40
58397- IFA_MAX = 0x8
58398- IFF_ALLMULTI = 0x200
58399- IFF_ATTACH_QUEUE = 0x200
58400- IFF_AUTOMEDIA = 0x4000
58401- IFF_BROADCAST = 0x2
58402- IFF_DEBUG = 0x4
58403- IFF_DETACH_QUEUE = 0x400
58404- IFF_DORMANT = 0x20000
58405- IFF_DYNAMIC = 0x8000
58406- IFF_ECHO = 0x40000
58407- IFF_LOOPBACK = 0x8
58408- IFF_LOWER_UP = 0x10000
58409- IFF_MASTER = 0x400
58410- IFF_MULTICAST = 0x1000
58411- IFF_MULTI_QUEUE = 0x100
58412- IFF_NOARP = 0x80
58413- IFF_NOFILTER = 0x1000
58414- IFF_NOTRAILERS = 0x20
58415- IFF_NO_PI = 0x1000
58416- IFF_ONE_QUEUE = 0x2000
58417- IFF_PERSIST = 0x800
58418- IFF_POINTOPOINT = 0x10
58419- IFF_PORTSEL = 0x2000
58420- IFF_PROMISC = 0x100
58421- IFF_RUNNING = 0x40
58422- IFF_SLAVE = 0x800
58423- IFF_TAP = 0x2
58424- IFF_TUN = 0x1
58425- IFF_TUN_EXCL = 0x8000
58426- IFF_UP = 0x1
58427- IFF_VNET_HDR = 0x4000
58428- IFF_VOLATILE = 0x70c5a
58429- IFNAMSIZ = 0x10
58430- IGNBRK = 0x1
58431- IGNCR = 0x80
58432- IGNPAR = 0x4
58433- IMAXBEL = 0x2000
58434- INLCR = 0x40
58435- INPCK = 0x10
58436- IN_ACCESS = 0x1
58437- IN_ALL_EVENTS = 0xfff
58438- IN_ATTRIB = 0x4
58439- IN_CLASSA_HOST = 0xffffff
58440- IN_CLASSA_MAX = 0x80
58441- IN_CLASSA_NET = 0xff000000
58442- IN_CLASSA_NSHIFT = 0x18
58443- IN_CLASSB_HOST = 0xffff
58444- IN_CLASSB_MAX = 0x10000
58445- IN_CLASSB_NET = 0xffff0000
58446- IN_CLASSB_NSHIFT = 0x10
58447- IN_CLASSC_HOST = 0xff
58448- IN_CLASSC_NET = 0xffffff00
58449- IN_CLASSC_NSHIFT = 0x8
58450 IN_CLOEXEC = 0x400000
58451- IN_CLOSE = 0x18
58452- IN_CLOSE_NOWRITE = 0x10
58453- IN_CLOSE_WRITE = 0x8
58454- IN_CREATE = 0x100
58455- IN_DELETE = 0x200
58456- IN_DELETE_SELF = 0x400
58457- IN_DONT_FOLLOW = 0x2000000
58458- IN_EXCL_UNLINK = 0x4000000
58459- IN_IGNORED = 0x8000
58460- IN_ISDIR = 0x40000000
58461- IN_LOOPBACKNET = 0x7f
58462- IN_MASK_ADD = 0x20000000
58463- IN_MODIFY = 0x2
58464- IN_MOVE = 0xc0
58465- IN_MOVED_FROM = 0x40
58466- IN_MOVED_TO = 0x80
58467- IN_MOVE_SELF = 0x800
58468 IN_NONBLOCK = 0x4000
58469- IN_ONESHOT = 0x80000000
58470- IN_ONLYDIR = 0x1000000
58471- IN_OPEN = 0x20
58472- IN_Q_OVERFLOW = 0x4000
58473- IN_UNMOUNT = 0x2000
58474- IPPROTO_AH = 0x33
58475- IPPROTO_BEETPH = 0x5e
58476- IPPROTO_COMP = 0x6c
58477- IPPROTO_DCCP = 0x21
58478- IPPROTO_DSTOPTS = 0x3c
58479- IPPROTO_EGP = 0x8
58480- IPPROTO_ENCAP = 0x62
58481- IPPROTO_ESP = 0x32
58482- IPPROTO_FRAGMENT = 0x2c
58483- IPPROTO_GRE = 0x2f
58484- IPPROTO_HOPOPTS = 0x0
58485- IPPROTO_ICMP = 0x1
58486- IPPROTO_ICMPV6 = 0x3a
58487- IPPROTO_IDP = 0x16
58488- IPPROTO_IGMP = 0x2
58489- IPPROTO_IP = 0x0
58490- IPPROTO_IPIP = 0x4
58491- IPPROTO_IPV6 = 0x29
58492- IPPROTO_MH = 0x87
58493- IPPROTO_MPLS = 0x89
58494- IPPROTO_MTP = 0x5c
58495- IPPROTO_NONE = 0x3b
58496- IPPROTO_PIM = 0x67
58497- IPPROTO_PUP = 0xc
58498- IPPROTO_RAW = 0xff
58499- IPPROTO_ROUTING = 0x2b
58500- IPPROTO_RSVP = 0x2e
58501- IPPROTO_SCTP = 0x84
58502- IPPROTO_TCP = 0x6
58503- IPPROTO_TP = 0x1d
58504- IPPROTO_UDP = 0x11
58505- IPPROTO_UDPLITE = 0x88
58506- IPV6_2292DSTOPTS = 0x4
58507- IPV6_2292HOPLIMIT = 0x8
58508- IPV6_2292HOPOPTS = 0x3
58509- IPV6_2292PKTINFO = 0x2
58510- IPV6_2292PKTOPTIONS = 0x6
58511- IPV6_2292RTHDR = 0x5
58512- IPV6_ADDRFORM = 0x1
58513- IPV6_ADD_MEMBERSHIP = 0x14
58514- IPV6_AUTHHDR = 0xa
58515- IPV6_CHECKSUM = 0x7
58516- IPV6_DONTFRAG = 0x3e
58517- IPV6_DROP_MEMBERSHIP = 0x15
58518- IPV6_DSTOPTS = 0x3b
58519- IPV6_HDRINCL = 0x24
58520- IPV6_HOPLIMIT = 0x34
58521- IPV6_HOPOPTS = 0x36
58522- IPV6_IPSEC_POLICY = 0x22
58523- IPV6_JOIN_ANYCAST = 0x1b
58524- IPV6_JOIN_GROUP = 0x14
58525- IPV6_LEAVE_ANYCAST = 0x1c
58526- IPV6_LEAVE_GROUP = 0x15
58527- IPV6_MTU = 0x18
58528- IPV6_MTU_DISCOVER = 0x17
58529- IPV6_MULTICAST_HOPS = 0x12
58530- IPV6_MULTICAST_IF = 0x11
58531- IPV6_MULTICAST_LOOP = 0x13
58532- IPV6_NEXTHOP = 0x9
58533- IPV6_PATHMTU = 0x3d
58534- IPV6_PKTINFO = 0x32
58535- IPV6_PMTUDISC_DO = 0x2
58536- IPV6_PMTUDISC_DONT = 0x0
58537- IPV6_PMTUDISC_INTERFACE = 0x4
58538- IPV6_PMTUDISC_OMIT = 0x5
58539- IPV6_PMTUDISC_PROBE = 0x3
58540- IPV6_PMTUDISC_WANT = 0x1
58541- IPV6_RECVDSTOPTS = 0x3a
58542- IPV6_RECVERR = 0x19
58543- IPV6_RECVHOPLIMIT = 0x33
58544- IPV6_RECVHOPOPTS = 0x35
58545- IPV6_RECVPATHMTU = 0x3c
58546- IPV6_RECVPKTINFO = 0x31
58547- IPV6_RECVRTHDR = 0x38
58548- IPV6_RECVTCLASS = 0x42
58549- IPV6_ROUTER_ALERT = 0x16
58550- IPV6_RTHDR = 0x39
58551- IPV6_RTHDRDSTOPTS = 0x37
58552- IPV6_RTHDR_LOOSE = 0x0
58553- IPV6_RTHDR_STRICT = 0x1
58554- IPV6_RTHDR_TYPE_0 = 0x0
58555- IPV6_RXDSTOPTS = 0x3b
58556- IPV6_RXHOPOPTS = 0x36
58557- IPV6_TCLASS = 0x43
58558- IPV6_UNICAST_HOPS = 0x10
58559- IPV6_V6ONLY = 0x1a
58560- IPV6_XFRM_POLICY = 0x23
58561- IP_ADD_MEMBERSHIP = 0x23
58562- IP_ADD_SOURCE_MEMBERSHIP = 0x27
58563- IP_BIND_ADDRESS_NO_PORT = 0x18
58564- IP_BLOCK_SOURCE = 0x26
58565- IP_CHECKSUM = 0x17
58566- IP_DEFAULT_MULTICAST_LOOP = 0x1
58567- IP_DEFAULT_MULTICAST_TTL = 0x1
58568- IP_DF = 0x4000
58569- IP_DROP_MEMBERSHIP = 0x24
58570- IP_DROP_SOURCE_MEMBERSHIP = 0x28
58571- IP_FREEBIND = 0xf
58572- IP_HDRINCL = 0x3
58573- IP_IPSEC_POLICY = 0x10
58574- IP_MAXPACKET = 0xffff
58575- IP_MAX_MEMBERSHIPS = 0x14
58576- IP_MF = 0x2000
58577- IP_MINTTL = 0x15
58578- IP_MSFILTER = 0x29
58579- IP_MSS = 0x240
58580- IP_MTU = 0xe
58581- IP_MTU_DISCOVER = 0xa
58582- IP_MULTICAST_ALL = 0x31
58583- IP_MULTICAST_IF = 0x20
58584- IP_MULTICAST_LOOP = 0x22
58585- IP_MULTICAST_TTL = 0x21
58586- IP_NODEFRAG = 0x16
58587- IP_OFFMASK = 0x1fff
58588- IP_OPTIONS = 0x4
58589- IP_ORIGDSTADDR = 0x14
58590- IP_PASSSEC = 0x12
58591- IP_PKTINFO = 0x8
58592- IP_PKTOPTIONS = 0x9
58593- IP_PMTUDISC = 0xa
58594- IP_PMTUDISC_DO = 0x2
58595- IP_PMTUDISC_DONT = 0x0
58596- IP_PMTUDISC_INTERFACE = 0x4
58597- IP_PMTUDISC_OMIT = 0x5
58598- IP_PMTUDISC_PROBE = 0x3
58599- IP_PMTUDISC_WANT = 0x1
58600- IP_RECVERR = 0xb
58601- IP_RECVOPTS = 0x6
58602- IP_RECVORIGDSTADDR = 0x14
58603- IP_RECVRETOPTS = 0x7
58604- IP_RECVTOS = 0xd
58605- IP_RECVTTL = 0xc
58606- IP_RETOPTS = 0x7
58607- IP_RF = 0x8000
58608- IP_ROUTER_ALERT = 0x5
58609- IP_TOS = 0x1
58610- IP_TRANSPARENT = 0x13
58611- IP_TTL = 0x2
58612- IP_UNBLOCK_SOURCE = 0x25
58613- IP_UNICAST_IF = 0x32
58614- IP_XFRM_POLICY = 0x11
58615+ IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x200007b9
58616 ISIG = 0x1
58617- ISTRIP = 0x20
58618 IUCLC = 0x200
58619- IUTF8 = 0x4000
58620- IXANY = 0x800
58621 IXOFF = 0x1000
58622 IXON = 0x400
58623- LINUX_REBOOT_CMD_CAD_OFF = 0x0
58624- LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
58625- LINUX_REBOOT_CMD_HALT = 0xcdef0123
58626- LINUX_REBOOT_CMD_KEXEC = 0x45584543
58627- LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
58628- LINUX_REBOOT_CMD_RESTART = 0x1234567
58629- LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
58630- LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
58631- LINUX_REBOOT_MAGIC1 = 0xfee1dead
58632- LINUX_REBOOT_MAGIC2 = 0x28121969
58633- LOCK_EX = 0x2
58634- LOCK_NB = 0x4
58635- LOCK_SH = 0x1
58636- LOCK_UN = 0x8
58637- MADV_DODUMP = 0x11
58638- MADV_DOFORK = 0xb
58639- MADV_DONTDUMP = 0x10
58640- MADV_DONTFORK = 0xa
58641- MADV_DONTNEED = 0x4
58642- MADV_FREE = 0x8
58643- MADV_HUGEPAGE = 0xe
58644- MADV_HWPOISON = 0x64
58645- MADV_MERGEABLE = 0xc
58646- MADV_NOHUGEPAGE = 0xf
58647- MADV_NORMAL = 0x0
58648- MADV_RANDOM = 0x1
58649- MADV_REMOVE = 0x9
58650- MADV_SEQUENTIAL = 0x2
58651- MADV_UNMERGEABLE = 0xd
58652- MADV_WILLNEED = 0x3
58653 MAP_ANON = 0x20
58654 MAP_ANONYMOUS = 0x20
58655 MAP_DENYWRITE = 0x800
58656 MAP_EXECUTABLE = 0x1000
58657- MAP_FILE = 0x0
58658- MAP_FIXED = 0x10
58659 MAP_GROWSDOWN = 0x200
58660 MAP_HUGETLB = 0x40000
58661- MAP_HUGE_MASK = 0x3f
58662- MAP_HUGE_SHIFT = 0x1a
58663 MAP_LOCKED = 0x100
58664 MAP_NONBLOCK = 0x10000
58665 MAP_NORESERVE = 0x40
58666 MAP_POPULATE = 0x8000
58667- MAP_PRIVATE = 0x2
58668 MAP_RENAME = 0x20
58669- MAP_SHARED = 0x1
58670 MAP_STACK = 0x20000
58671- MAP_TYPE = 0xf
58672+ MAP_SYNC = 0x80000
58673 MCL_CURRENT = 0x2000
58674 MCL_FUTURE = 0x4000
58675 MCL_ONFAULT = 0x8000
58676- MNT_DETACH = 0x2
58677- MNT_EXPIRE = 0x4
58678- MNT_FORCE = 0x1
58679- MSG_BATCH = 0x40000
58680- MSG_CMSG_CLOEXEC = 0x40000000
58681- MSG_CONFIRM = 0x800
58682- MSG_CTRUNC = 0x8
58683- MSG_DONTROUTE = 0x4
58684- MSG_DONTWAIT = 0x40
58685- MSG_EOR = 0x80
58686- MSG_ERRQUEUE = 0x2000
58687- MSG_FASTOPEN = 0x20000000
58688- MSG_FIN = 0x200
58689- MSG_MORE = 0x8000
58690- MSG_NOSIGNAL = 0x4000
58691- MSG_OOB = 0x1
58692- MSG_PEEK = 0x2
58693- MSG_PROXY = 0x10
58694- MSG_RST = 0x1000
58695- MSG_SYN = 0x400
58696- MSG_TRUNC = 0x20
58697- MSG_TRYHARD = 0x4
58698- MSG_WAITALL = 0x100
58699- MSG_WAITFORONE = 0x10000
58700- MS_ACTIVE = 0x40000000
58701- MS_ASYNC = 0x1
58702- MS_BIND = 0x1000
58703- MS_DIRSYNC = 0x80
58704- MS_INVALIDATE = 0x2
58705- MS_I_VERSION = 0x800000
58706- MS_KERNMOUNT = 0x400000
58707- MS_LAZYTIME = 0x2000000
58708- MS_MANDLOCK = 0x40
58709- MS_MGC_MSK = 0xffff0000
58710- MS_MGC_VAL = 0xc0ed0000
58711- MS_MOVE = 0x2000
58712- MS_NOATIME = 0x400
58713- MS_NODEV = 0x4
58714- MS_NODIRATIME = 0x800
58715- MS_NOEXEC = 0x8
58716- MS_NOSUID = 0x2
58717- MS_NOUSER = -0x80000000
58718- MS_POSIXACL = 0x10000
58719- MS_PRIVATE = 0x40000
58720- MS_RDONLY = 0x1
58721- MS_REC = 0x4000
58722- MS_RELATIME = 0x200000
58723- MS_REMOUNT = 0x20
58724- MS_RMT_MASK = 0x2800051
58725- MS_SHARED = 0x100000
58726- MS_SILENT = 0x8000
58727- MS_SLAVE = 0x80000
58728- MS_STRICTATIME = 0x1000000
58729- MS_SYNC = 0x4
58730- MS_SYNCHRONOUS = 0x10
58731- MS_UNBINDABLE = 0x20000
58732- NAME_MAX = 0xff
58733- NETLINK_ADD_MEMBERSHIP = 0x1
58734- NETLINK_AUDIT = 0x9
58735- NETLINK_BROADCAST_ERROR = 0x4
58736- NETLINK_CAP_ACK = 0xa
58737- NETLINK_CONNECTOR = 0xb
58738- NETLINK_CRYPTO = 0x15
58739- NETLINK_DNRTMSG = 0xe
58740- NETLINK_DROP_MEMBERSHIP = 0x2
58741- NETLINK_ECRYPTFS = 0x13
58742- NETLINK_FIB_LOOKUP = 0xa
58743- NETLINK_FIREWALL = 0x3
58744- NETLINK_GENERIC = 0x10
58745- NETLINK_INET_DIAG = 0x4
58746- NETLINK_IP6_FW = 0xd
58747- NETLINK_ISCSI = 0x8
58748- NETLINK_KOBJECT_UEVENT = 0xf
58749- NETLINK_LISTEN_ALL_NSID = 0x8
58750- NETLINK_LIST_MEMBERSHIPS = 0x9
58751- NETLINK_NETFILTER = 0xc
58752- NETLINK_NFLOG = 0x5
58753- NETLINK_NO_ENOBUFS = 0x5
58754- NETLINK_PKTINFO = 0x3
58755- NETLINK_RDMA = 0x14
58756- NETLINK_ROUTE = 0x0
58757- NETLINK_RX_RING = 0x6
58758- NETLINK_SCSITRANSPORT = 0x12
58759- NETLINK_SELINUX = 0x7
58760- NETLINK_SOCK_DIAG = 0x4
58761- NETLINK_TX_RING = 0x7
58762- NETLINK_UNUSED = 0x1
58763- NETLINK_USERSOCK = 0x2
58764- NETLINK_XFRM = 0x6
58765- NL0 = 0x0
58766- NL1 = 0x100
58767- NLA_ALIGNTO = 0x4
58768- NLA_F_NESTED = 0x8000
58769- NLA_F_NET_BYTEORDER = 0x4000
58770- NLA_HDRLEN = 0x4
58771+ NFDBITS = 0x40
58772 NLDLY = 0x100
58773- NLMSG_ALIGNTO = 0x4
58774- NLMSG_DONE = 0x3
58775- NLMSG_ERROR = 0x2
58776- NLMSG_HDRLEN = 0x10
58777- NLMSG_MIN_TYPE = 0x10
58778- NLMSG_NOOP = 0x1
58779- NLMSG_OVERRUN = 0x4
58780- NLM_F_ACK = 0x4
58781- NLM_F_APPEND = 0x800
58782- NLM_F_ATOMIC = 0x400
58783- NLM_F_CREATE = 0x400
58784- NLM_F_DUMP = 0x300
58785- NLM_F_DUMP_FILTERED = 0x20
58786- NLM_F_DUMP_INTR = 0x10
58787- NLM_F_ECHO = 0x8
58788- NLM_F_EXCL = 0x200
58789- NLM_F_MATCH = 0x200
58790- NLM_F_MULTI = 0x2
58791- NLM_F_REPLACE = 0x100
58792- NLM_F_REQUEST = 0x1
58793- NLM_F_ROOT = 0x100
58794 NOFLSH = 0x80
58795- OCRNL = 0x8
58796- OFDEL = 0x80
58797- OFILL = 0x40
58798+ NS_GET_NSTYPE = 0x2000b703
58799+ NS_GET_OWNER_UID = 0x2000b704
58800+ NS_GET_PARENT = 0x2000b702
58801+ NS_GET_USERNS = 0x2000b701
58802 OLCUC = 0x2
58803 ONLCR = 0x4
58804- ONLRET = 0x20
58805- ONOCR = 0x10
58806- OPOST = 0x1
58807- O_ACCMODE = 0x3
58808 O_APPEND = 0x8
58809 O_ASYNC = 0x40
58810 O_CLOEXEC = 0x400000
58811@@ -926,231 +143,67 @@ const (
58812 O_NOFOLLOW = 0x20000
58813 O_NONBLOCK = 0x4000
58814 O_PATH = 0x1000000
58815- O_RDONLY = 0x0
58816- O_RDWR = 0x2
58817 O_RSYNC = 0x802000
58818 O_SYNC = 0x802000
58819 O_TMPFILE = 0x2010000
58820 O_TRUNC = 0x400
58821- O_WRONLY = 0x1
58822- PACKET_ADD_MEMBERSHIP = 0x1
58823- PACKET_AUXDATA = 0x8
58824- PACKET_BROADCAST = 0x1
58825- PACKET_COPY_THRESH = 0x7
58826- PACKET_DROP_MEMBERSHIP = 0x2
58827- PACKET_FANOUT = 0x12
58828- PACKET_FANOUT_CBPF = 0x6
58829- PACKET_FANOUT_CPU = 0x2
58830- PACKET_FANOUT_DATA = 0x16
58831- PACKET_FANOUT_EBPF = 0x7
58832- PACKET_FANOUT_FLAG_DEFRAG = 0x8000
58833- PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
58834- PACKET_FANOUT_HASH = 0x0
58835- PACKET_FANOUT_LB = 0x1
58836- PACKET_FANOUT_QM = 0x5
58837- PACKET_FANOUT_RND = 0x4
58838- PACKET_FANOUT_ROLLOVER = 0x3
58839- PACKET_FASTROUTE = 0x6
58840- PACKET_HDRLEN = 0xb
58841- PACKET_HOST = 0x0
58842- PACKET_KERNEL = 0x7
58843- PACKET_LOOPBACK = 0x5
58844- PACKET_LOSS = 0xe
58845- PACKET_MR_ALLMULTI = 0x2
58846- PACKET_MR_MULTICAST = 0x0
58847- PACKET_MR_PROMISC = 0x1
58848- PACKET_MR_UNICAST = 0x3
58849- PACKET_MULTICAST = 0x2
58850- PACKET_ORIGDEV = 0x9
58851- PACKET_OTHERHOST = 0x3
58852- PACKET_OUTGOING = 0x4
58853- PACKET_QDISC_BYPASS = 0x14
58854- PACKET_RECV_OUTPUT = 0x3
58855- PACKET_RESERVE = 0xc
58856- PACKET_ROLLOVER_STATS = 0x15
58857- PACKET_RX_RING = 0x5
58858- PACKET_STATISTICS = 0x6
58859- PACKET_TIMESTAMP = 0x11
58860- PACKET_TX_HAS_OFF = 0x13
58861- PACKET_TX_RING = 0xd
58862- PACKET_TX_TIMESTAMP = 0x10
58863- PACKET_USER = 0x6
58864- PACKET_VERSION = 0xa
58865- PACKET_VNET_HDR = 0xf
58866 PARENB = 0x100
58867- PARITY_CRC16_PR0 = 0x2
58868- PARITY_CRC16_PR0_CCITT = 0x4
58869- PARITY_CRC16_PR1 = 0x3
58870- PARITY_CRC16_PR1_CCITT = 0x5
58871- PARITY_CRC32_PR0_CCITT = 0x6
58872- PARITY_CRC32_PR1_CCITT = 0x7
58873- PARITY_DEFAULT = 0x0
58874- PARITY_NONE = 0x1
58875- PARMRK = 0x8
58876 PARODD = 0x200
58877 PENDIN = 0x4000
58878- PRIO_PGRP = 0x1
58879- PRIO_PROCESS = 0x0
58880- PRIO_USER = 0x2
58881- PROT_EXEC = 0x4
58882- PROT_GROWSDOWN = 0x1000000
58883- PROT_GROWSUP = 0x2000000
58884- PROT_NONE = 0x0
58885- PROT_READ = 0x1
58886- PROT_WRITE = 0x2
58887- PR_CAPBSET_DROP = 0x18
58888- PR_CAPBSET_READ = 0x17
58889- PR_CAP_AMBIENT = 0x2f
58890- PR_CAP_AMBIENT_CLEAR_ALL = 0x4
58891- PR_CAP_AMBIENT_IS_SET = 0x1
58892- PR_CAP_AMBIENT_LOWER = 0x3
58893- PR_CAP_AMBIENT_RAISE = 0x2
58894- PR_ENDIAN_BIG = 0x0
58895- PR_ENDIAN_LITTLE = 0x1
58896- PR_ENDIAN_PPC_LITTLE = 0x2
58897- PR_FPEMU_NOPRINT = 0x1
58898- PR_FPEMU_SIGFPE = 0x2
58899- PR_FP_EXC_ASYNC = 0x2
58900- PR_FP_EXC_DISABLED = 0x0
58901- PR_FP_EXC_DIV = 0x10000
58902- PR_FP_EXC_INV = 0x100000
58903- PR_FP_EXC_NONRECOV = 0x1
58904- PR_FP_EXC_OVF = 0x20000
58905- PR_FP_EXC_PRECISE = 0x3
58906- PR_FP_EXC_RES = 0x80000
58907- PR_FP_EXC_SW_ENABLE = 0x80
58908- PR_FP_EXC_UND = 0x40000
58909- PR_FP_MODE_FR = 0x1
58910- PR_FP_MODE_FRE = 0x2
58911- PR_GET_CHILD_SUBREAPER = 0x25
58912- PR_GET_DUMPABLE = 0x3
58913- PR_GET_ENDIAN = 0x13
58914- PR_GET_FPEMU = 0x9
58915- PR_GET_FPEXC = 0xb
58916- PR_GET_FP_MODE = 0x2e
58917- PR_GET_KEEPCAPS = 0x7
58918- PR_GET_NAME = 0x10
58919- PR_GET_NO_NEW_PRIVS = 0x27
58920- PR_GET_PDEATHSIG = 0x2
58921- PR_GET_SECCOMP = 0x15
58922- PR_GET_SECUREBITS = 0x1b
58923- PR_GET_THP_DISABLE = 0x2a
58924- PR_GET_TID_ADDRESS = 0x28
58925- PR_GET_TIMERSLACK = 0x1e
58926- PR_GET_TIMING = 0xd
58927- PR_GET_TSC = 0x19
58928- PR_GET_UNALIGN = 0x5
58929- PR_MCE_KILL = 0x21
58930- PR_MCE_KILL_CLEAR = 0x0
58931- PR_MCE_KILL_DEFAULT = 0x2
58932- PR_MCE_KILL_EARLY = 0x1
58933- PR_MCE_KILL_GET = 0x22
58934- PR_MCE_KILL_LATE = 0x0
58935- PR_MCE_KILL_SET = 0x1
58936- PR_MPX_DISABLE_MANAGEMENT = 0x2c
58937- PR_MPX_ENABLE_MANAGEMENT = 0x2b
58938- PR_SET_CHILD_SUBREAPER = 0x24
58939- PR_SET_DUMPABLE = 0x4
58940- PR_SET_ENDIAN = 0x14
58941- PR_SET_FPEMU = 0xa
58942- PR_SET_FPEXC = 0xc
58943- PR_SET_FP_MODE = 0x2d
58944- PR_SET_KEEPCAPS = 0x8
58945- PR_SET_MM = 0x23
58946- PR_SET_MM_ARG_END = 0x9
58947- PR_SET_MM_ARG_START = 0x8
58948- PR_SET_MM_AUXV = 0xc
58949- PR_SET_MM_BRK = 0x7
58950- PR_SET_MM_END_CODE = 0x2
58951- PR_SET_MM_END_DATA = 0x4
58952- PR_SET_MM_ENV_END = 0xb
58953- PR_SET_MM_ENV_START = 0xa
58954- PR_SET_MM_EXE_FILE = 0xd
58955- PR_SET_MM_MAP = 0xe
58956- PR_SET_MM_MAP_SIZE = 0xf
58957- PR_SET_MM_START_BRK = 0x6
58958- PR_SET_MM_START_CODE = 0x1
58959- PR_SET_MM_START_DATA = 0x3
58960- PR_SET_MM_START_STACK = 0x5
58961- PR_SET_NAME = 0xf
58962- PR_SET_NO_NEW_PRIVS = 0x26
58963- PR_SET_PDEATHSIG = 0x1
58964- PR_SET_PTRACER = 0x59616d61
58965- PR_SET_PTRACER_ANY = -0x1
58966- PR_SET_SECCOMP = 0x16
58967- PR_SET_SECUREBITS = 0x1c
58968- PR_SET_THP_DISABLE = 0x29
58969- PR_SET_TIMERSLACK = 0x1d
58970- PR_SET_TIMING = 0xe
58971- PR_SET_TSC = 0x1a
58972- PR_SET_UNALIGN = 0x6
58973- PR_TASK_PERF_EVENTS_DISABLE = 0x1f
58974- PR_TASK_PERF_EVENTS_ENABLE = 0x20
58975- PR_TIMING_STATISTICAL = 0x0
58976- PR_TIMING_TIMESTAMP = 0x1
58977- PR_TSC_ENABLE = 0x1
58978- PR_TSC_SIGSEGV = 0x2
58979- PR_UNALIGN_NOPRINT = 0x1
58980- PR_UNALIGN_SIGBUS = 0x2
58981- PTRACE_ATTACH = 0x10
58982- PTRACE_CONT = 0x7
58983- PTRACE_DETACH = 0x11
58984- PTRACE_EVENT_CLONE = 0x3
58985- PTRACE_EVENT_EXEC = 0x4
58986- PTRACE_EVENT_EXIT = 0x6
58987- PTRACE_EVENT_FORK = 0x1
58988- PTRACE_EVENT_SECCOMP = 0x7
58989- PTRACE_EVENT_STOP = 0x80
58990- PTRACE_EVENT_VFORK = 0x2
58991- PTRACE_EVENT_VFORK_DONE = 0x5
58992- PTRACE_GETEVENTMSG = 0x4201
58993+ PERF_EVENT_IOC_DISABLE = 0x20002401
58994+ PERF_EVENT_IOC_ENABLE = 0x20002400
58995+ PERF_EVENT_IOC_ID = 0x40082407
58996+ PERF_EVENT_IOC_MODIFY_ATTRIBUTES = 0x8008240b
58997+ PERF_EVENT_IOC_PAUSE_OUTPUT = 0x80042409
58998+ PERF_EVENT_IOC_PERIOD = 0x80082404
58999+ PERF_EVENT_IOC_QUERY_BPF = 0xc008240a
59000+ PERF_EVENT_IOC_REFRESH = 0x20002402
59001+ PERF_EVENT_IOC_RESET = 0x20002403
59002+ PERF_EVENT_IOC_SET_BPF = 0x80042408
59003+ PERF_EVENT_IOC_SET_FILTER = 0x80082406
59004+ PERF_EVENT_IOC_SET_OUTPUT = 0x20002405
59005+ PPPIOCATTACH = 0x8004743d
59006+ PPPIOCATTCHAN = 0x80047438
59007+ PPPIOCCONNECT = 0x8004743a
59008+ PPPIOCDETACH = 0x8004743c
59009+ PPPIOCDISCONN = 0x20007439
59010+ PPPIOCGASYNCMAP = 0x40047458
59011+ PPPIOCGCHAN = 0x40047437
59012+ PPPIOCGDEBUG = 0x40047441
59013+ PPPIOCGFLAGS = 0x4004745a
59014+ PPPIOCGIDLE = 0x4010743f
59015+ PPPIOCGIDLE32 = 0x4008743f
59016+ PPPIOCGIDLE64 = 0x4010743f
59017+ PPPIOCGL2TPSTATS = 0x40487436
59018+ PPPIOCGMRU = 0x40047453
59019+ PPPIOCGRASYNCMAP = 0x40047455
59020+ PPPIOCGUNIT = 0x40047456
59021+ PPPIOCGXASYNCMAP = 0x40207450
59022+ PPPIOCSACTIVE = 0x80107446
59023+ PPPIOCSASYNCMAP = 0x80047457
59024+ PPPIOCSCOMPRESS = 0x8010744d
59025+ PPPIOCSDEBUG = 0x80047440
59026+ PPPIOCSFLAGS = 0x80047459
59027+ PPPIOCSMAXCID = 0x80047451
59028+ PPPIOCSMRRU = 0x8004743b
59029+ PPPIOCSMRU = 0x80047452
59030+ PPPIOCSNPMODE = 0x8008744b
59031+ PPPIOCSPASS = 0x80107447
59032+ PPPIOCSRASYNCMAP = 0x80047454
59033+ PPPIOCSXASYNCMAP = 0x8020744f
59034+ PPPIOCXFERUNIT = 0x2000744e
59035+ PR_SET_PTRACER_ANY = 0xffffffffffffffff
59036 PTRACE_GETFPAREGS = 0x14
59037 PTRACE_GETFPREGS = 0xe
59038 PTRACE_GETFPREGS64 = 0x19
59039- PTRACE_GETREGS = 0xc
59040 PTRACE_GETREGS64 = 0x16
59041- PTRACE_GETREGSET = 0x4204
59042- PTRACE_GETSIGINFO = 0x4202
59043- PTRACE_GETSIGMASK = 0x420a
59044- PTRACE_INTERRUPT = 0x4207
59045- PTRACE_KILL = 0x8
59046- PTRACE_LISTEN = 0x4208
59047- PTRACE_O_EXITKILL = 0x100000
59048- PTRACE_O_MASK = 0x3000ff
59049- PTRACE_O_SUSPEND_SECCOMP = 0x200000
59050- PTRACE_O_TRACECLONE = 0x8
59051- PTRACE_O_TRACEEXEC = 0x10
59052- PTRACE_O_TRACEEXIT = 0x40
59053- PTRACE_O_TRACEFORK = 0x2
59054- PTRACE_O_TRACESECCOMP = 0x80
59055- PTRACE_O_TRACESYSGOOD = 0x1
59056- PTRACE_O_TRACEVFORK = 0x4
59057- PTRACE_O_TRACEVFORKDONE = 0x20
59058- PTRACE_PEEKDATA = 0x2
59059- PTRACE_PEEKSIGINFO = 0x4209
59060- PTRACE_PEEKSIGINFO_SHARED = 0x1
59061- PTRACE_PEEKTEXT = 0x1
59062- PTRACE_PEEKUSR = 0x3
59063- PTRACE_POKEDATA = 0x5
59064- PTRACE_POKETEXT = 0x4
59065- PTRACE_POKEUSR = 0x6
59066 PTRACE_READDATA = 0x10
59067 PTRACE_READTEXT = 0x12
59068- PTRACE_SECCOMP_GET_FILTER = 0x420c
59069- PTRACE_SEIZE = 0x4206
59070 PTRACE_SETFPAREGS = 0x15
59071 PTRACE_SETFPREGS = 0xf
59072 PTRACE_SETFPREGS64 = 0x1a
59073- PTRACE_SETOPTIONS = 0x4200
59074- PTRACE_SETREGS = 0xd
59075 PTRACE_SETREGS64 = 0x17
59076- PTRACE_SETREGSET = 0x4205
59077- PTRACE_SETSIGINFO = 0x4203
59078- PTRACE_SETSIGMASK = 0x420b
59079- PTRACE_SINGLESTEP = 0x9
59080 PTRACE_SPARC_DETACH = 0xb
59081- PTRACE_SYSCALL = 0x18
59082- PTRACE_TRACEME = 0x0
59083 PTRACE_WRITEDATA = 0x11
59084 PTRACE_WRITETEXT = 0x13
59085 PT_FP = 0x48
59086@@ -1202,329 +255,98 @@ const (
59087 PT_WIM = 0x10
59088 PT_Y = 0xc
59089 RLIMIT_AS = 0x9
59090- RLIMIT_CORE = 0x4
59091- RLIMIT_CPU = 0x0
59092- RLIMIT_DATA = 0x2
59093- RLIMIT_FSIZE = 0x1
59094+ RLIMIT_MEMLOCK = 0x8
59095 RLIMIT_NOFILE = 0x6
59096- RLIMIT_STACK = 0x3
59097- RLIM_INFINITY = -0x1
59098- RTAX_ADVMSS = 0x8
59099- RTAX_CC_ALGO = 0x10
59100- RTAX_CWND = 0x7
59101- RTAX_FEATURES = 0xc
59102- RTAX_FEATURE_ALLFRAG = 0x8
59103- RTAX_FEATURE_ECN = 0x1
59104- RTAX_FEATURE_MASK = 0xf
59105- RTAX_FEATURE_SACK = 0x2
59106- RTAX_FEATURE_TIMESTAMP = 0x4
59107- RTAX_HOPLIMIT = 0xa
59108- RTAX_INITCWND = 0xb
59109- RTAX_INITRWND = 0xe
59110- RTAX_LOCK = 0x1
59111- RTAX_MAX = 0x10
59112- RTAX_MTU = 0x2
59113- RTAX_QUICKACK = 0xf
59114- RTAX_REORDERING = 0x9
59115- RTAX_RTO_MIN = 0xd
59116- RTAX_RTT = 0x4
59117- RTAX_RTTVAR = 0x5
59118- RTAX_SSTHRESH = 0x6
59119- RTAX_UNSPEC = 0x0
59120- RTAX_WINDOW = 0x3
59121- RTA_ALIGNTO = 0x4
59122- RTA_MAX = 0x18
59123- RTCF_DIRECTSRC = 0x4000000
59124- RTCF_DOREDIRECT = 0x1000000
59125- RTCF_LOG = 0x2000000
59126- RTCF_MASQ = 0x400000
59127- RTCF_NAT = 0x800000
59128- RTCF_VALVE = 0x200000
59129- RTF_ADDRCLASSMASK = 0xf8000000
59130- RTF_ADDRCONF = 0x40000
59131- RTF_ALLONLINK = 0x20000
59132- RTF_BROADCAST = 0x10000000
59133- RTF_CACHE = 0x1000000
59134- RTF_DEFAULT = 0x10000
59135- RTF_DYNAMIC = 0x10
59136- RTF_FLOW = 0x2000000
59137- RTF_GATEWAY = 0x2
59138- RTF_HOST = 0x4
59139- RTF_INTERFACE = 0x40000000
59140- RTF_IRTT = 0x100
59141- RTF_LINKRT = 0x100000
59142- RTF_LOCAL = 0x80000000
59143- RTF_MODIFIED = 0x20
59144- RTF_MSS = 0x40
59145- RTF_MTU = 0x40
59146- RTF_MULTICAST = 0x20000000
59147- RTF_NAT = 0x8000000
59148- RTF_NOFORWARD = 0x1000
59149- RTF_NONEXTHOP = 0x200000
59150- RTF_NOPMTUDISC = 0x4000
59151- RTF_POLICY = 0x4000000
59152- RTF_REINSTATE = 0x8
59153- RTF_REJECT = 0x200
59154- RTF_STATIC = 0x400
59155- RTF_THROW = 0x2000
59156- RTF_UP = 0x1
59157- RTF_WINDOW = 0x80
59158- RTF_XRESOLVE = 0x800
59159- RTM_BASE = 0x10
59160- RTM_DELACTION = 0x31
59161- RTM_DELADDR = 0x15
59162- RTM_DELADDRLABEL = 0x49
59163- RTM_DELLINK = 0x11
59164- RTM_DELMDB = 0x55
59165- RTM_DELNEIGH = 0x1d
59166- RTM_DELNSID = 0x59
59167- RTM_DELQDISC = 0x25
59168- RTM_DELROUTE = 0x19
59169- RTM_DELRULE = 0x21
59170- RTM_DELTCLASS = 0x29
59171- RTM_DELTFILTER = 0x2d
59172- RTM_F_CLONED = 0x200
59173- RTM_F_EQUALIZE = 0x400
59174- RTM_F_LOOKUP_TABLE = 0x1000
59175- RTM_F_NOTIFY = 0x100
59176- RTM_F_PREFIX = 0x800
59177- RTM_GETACTION = 0x32
59178- RTM_GETADDR = 0x16
59179- RTM_GETADDRLABEL = 0x4a
59180- RTM_GETANYCAST = 0x3e
59181- RTM_GETDCB = 0x4e
59182- RTM_GETLINK = 0x12
59183- RTM_GETMDB = 0x56
59184- RTM_GETMULTICAST = 0x3a
59185- RTM_GETNEIGH = 0x1e
59186- RTM_GETNEIGHTBL = 0x42
59187- RTM_GETNETCONF = 0x52
59188- RTM_GETNSID = 0x5a
59189- RTM_GETQDISC = 0x26
59190- RTM_GETROUTE = 0x1a
59191- RTM_GETRULE = 0x22
59192- RTM_GETSTATS = 0x5e
59193- RTM_GETTCLASS = 0x2a
59194- RTM_GETTFILTER = 0x2e
59195- RTM_MAX = 0x5f
59196- RTM_NEWACTION = 0x30
59197- RTM_NEWADDR = 0x14
59198- RTM_NEWADDRLABEL = 0x48
59199- RTM_NEWLINK = 0x10
59200- RTM_NEWMDB = 0x54
59201- RTM_NEWNDUSEROPT = 0x44
59202- RTM_NEWNEIGH = 0x1c
59203- RTM_NEWNEIGHTBL = 0x40
59204- RTM_NEWNETCONF = 0x50
59205- RTM_NEWNSID = 0x58
59206- RTM_NEWPREFIX = 0x34
59207- RTM_NEWQDISC = 0x24
59208- RTM_NEWROUTE = 0x18
59209- RTM_NEWRULE = 0x20
59210- RTM_NEWSTATS = 0x5c
59211- RTM_NEWTCLASS = 0x28
59212- RTM_NEWTFILTER = 0x2c
59213- RTM_NR_FAMILIES = 0x14
59214- RTM_NR_MSGTYPES = 0x50
59215- RTM_SETDCB = 0x4f
59216- RTM_SETLINK = 0x13
59217- RTM_SETNEIGHTBL = 0x43
59218- RTNH_ALIGNTO = 0x4
59219- RTNH_COMPARE_MASK = 0x11
59220- RTNH_F_DEAD = 0x1
59221- RTNH_F_LINKDOWN = 0x10
59222- RTNH_F_OFFLOAD = 0x8
59223- RTNH_F_ONLINK = 0x4
59224- RTNH_F_PERVASIVE = 0x2
59225- RTN_MAX = 0xb
59226- RTPROT_BABEL = 0x2a
59227- RTPROT_BIRD = 0xc
59228- RTPROT_BOOT = 0x3
59229- RTPROT_DHCP = 0x10
59230- RTPROT_DNROUTED = 0xd
59231- RTPROT_GATED = 0x8
59232- RTPROT_KERNEL = 0x2
59233- RTPROT_MROUTED = 0x11
59234- RTPROT_MRT = 0xa
59235- RTPROT_NTK = 0xf
59236- RTPROT_RA = 0x9
59237- RTPROT_REDIRECT = 0x1
59238- RTPROT_STATIC = 0x4
59239- RTPROT_UNSPEC = 0x0
59240- RTPROT_XORP = 0xe
59241- RTPROT_ZEBRA = 0xb
59242- RT_CLASS_DEFAULT = 0xfd
59243- RT_CLASS_LOCAL = 0xff
59244- RT_CLASS_MAIN = 0xfe
59245- RT_CLASS_MAX = 0xff
59246- RT_CLASS_UNSPEC = 0x0
59247- RUSAGE_CHILDREN = -0x1
59248- RUSAGE_SELF = 0x0
59249- RUSAGE_THREAD = 0x1
59250- SCM_CREDENTIALS = 0x2
59251- SCM_RIGHTS = 0x1
59252- SCM_TIMESTAMP = 0x1d
59253+ RLIMIT_NPROC = 0x7
59254+ RLIMIT_RSS = 0x5
59255+ RNDADDENTROPY = 0x80085203
59256+ RNDADDTOENTCNT = 0x80045201
59257+ RNDCLEARPOOL = 0x20005206
59258+ RNDGETENTCNT = 0x40045200
59259+ RNDGETPOOL = 0x40085202
59260+ RNDRESEEDCRNG = 0x20005207
59261+ RNDZAPENTCNT = 0x20005204
59262+ RTC_AIE_OFF = 0x20007002
59263+ RTC_AIE_ON = 0x20007001
59264+ RTC_ALM_READ = 0x40247008
59265+ RTC_ALM_SET = 0x80247007
59266+ RTC_EPOCH_READ = 0x4008700d
59267+ RTC_EPOCH_SET = 0x8008700e
59268+ RTC_IRQP_READ = 0x4008700b
59269+ RTC_IRQP_SET = 0x8008700c
59270+ RTC_PIE_OFF = 0x20007006
59271+ RTC_PIE_ON = 0x20007005
59272+ RTC_PLL_GET = 0x40207011
59273+ RTC_PLL_SET = 0x80207012
59274+ RTC_RD_TIME = 0x40247009
59275+ RTC_SET_TIME = 0x8024700a
59276+ RTC_UIE_OFF = 0x20007004
59277+ RTC_UIE_ON = 0x20007003
59278+ RTC_VL_CLR = 0x20007014
59279+ RTC_VL_READ = 0x40047013
59280+ RTC_WIE_OFF = 0x20007010
59281+ RTC_WIE_ON = 0x2000700f
59282+ RTC_WKALM_RD = 0x40287010
59283+ RTC_WKALM_SET = 0x8028700f
59284 SCM_TIMESTAMPING = 0x23
59285+ SCM_TIMESTAMPING_OPT_STATS = 0x38
59286+ SCM_TIMESTAMPING_PKTINFO = 0x3c
59287 SCM_TIMESTAMPNS = 0x21
59288+ SCM_TXTIME = 0x3f
59289 SCM_WIFI_STATUS = 0x25
59290- SHUT_RD = 0x0
59291- SHUT_RDWR = 0x2
59292- SHUT_WR = 0x1
59293- SIOCADDDLCI = 0x8980
59294- SIOCADDMULTI = 0x8931
59295- SIOCADDRT = 0x890b
59296+ SFD_CLOEXEC = 0x400000
59297+ SFD_NONBLOCK = 0x4000
59298 SIOCATMARK = 0x8905
59299- SIOCBONDCHANGEACTIVE = 0x8995
59300- SIOCBONDENSLAVE = 0x8990
59301- SIOCBONDINFOQUERY = 0x8994
59302- SIOCBONDRELEASE = 0x8991
59303- SIOCBONDSETHWADDR = 0x8992
59304- SIOCBONDSLAVEINFOQUERY = 0x8993
59305- SIOCBRADDBR = 0x89a0
59306- SIOCBRADDIF = 0x89a2
59307- SIOCBRDELBR = 0x89a1
59308- SIOCBRDELIF = 0x89a3
59309- SIOCDARP = 0x8953
59310- SIOCDELDLCI = 0x8981
59311- SIOCDELMULTI = 0x8932
59312- SIOCDELRT = 0x890c
59313- SIOCDEVPRIVATE = 0x89f0
59314- SIOCDIFADDR = 0x8936
59315- SIOCDRARP = 0x8960
59316- SIOCETHTOOL = 0x8946
59317- SIOCGARP = 0x8954
59318- SIOCGHWTSTAMP = 0x89b1
59319- SIOCGIFADDR = 0x8915
59320- SIOCGIFBR = 0x8940
59321- SIOCGIFBRDADDR = 0x8919
59322- SIOCGIFCONF = 0x8912
59323- SIOCGIFCOUNT = 0x8938
59324- SIOCGIFDSTADDR = 0x8917
59325- SIOCGIFENCAP = 0x8925
59326- SIOCGIFFLAGS = 0x8913
59327- SIOCGIFHWADDR = 0x8927
59328- SIOCGIFINDEX = 0x8933
59329- SIOCGIFMAP = 0x8970
59330- SIOCGIFMEM = 0x891f
59331- SIOCGIFMETRIC = 0x891d
59332- SIOCGIFMTU = 0x8921
59333- SIOCGIFNAME = 0x8910
59334- SIOCGIFNETMASK = 0x891b
59335- SIOCGIFPFLAGS = 0x8935
59336- SIOCGIFSLAVE = 0x8929
59337- SIOCGIFTXQLEN = 0x8942
59338- SIOCGIFVLAN = 0x8982
59339- SIOCGMIIPHY = 0x8947
59340- SIOCGMIIREG = 0x8948
59341 SIOCGPGRP = 0x8904
59342- SIOCGRARP = 0x8961
59343- SIOCGSTAMP = 0x8906
59344- SIOCGSTAMPNS = 0x8907
59345+ SIOCGSTAMPNS_NEW = 0x40108907
59346+ SIOCGSTAMP_NEW = 0x40108906
59347 SIOCINQ = 0x4004667f
59348 SIOCOUTQ = 0x40047473
59349- SIOCOUTQNSD = 0x894b
59350- SIOCPROTOPRIVATE = 0x89e0
59351- SIOCRTMSG = 0x890d
59352- SIOCSARP = 0x8955
59353- SIOCSHWTSTAMP = 0x89b0
59354- SIOCSIFADDR = 0x8916
59355- SIOCSIFBR = 0x8941
59356- SIOCSIFBRDADDR = 0x891a
59357- SIOCSIFDSTADDR = 0x8918
59358- SIOCSIFENCAP = 0x8926
59359- SIOCSIFFLAGS = 0x8914
59360- SIOCSIFHWADDR = 0x8924
59361- SIOCSIFHWBROADCAST = 0x8937
59362- SIOCSIFLINK = 0x8911
59363- SIOCSIFMAP = 0x8971
59364- SIOCSIFMEM = 0x8920
59365- SIOCSIFMETRIC = 0x891e
59366- SIOCSIFMTU = 0x8922
59367- SIOCSIFNAME = 0x8923
59368- SIOCSIFNETMASK = 0x891c
59369- SIOCSIFPFLAGS = 0x8934
59370- SIOCSIFSLAVE = 0x8930
59371- SIOCSIFTXQLEN = 0x8943
59372- SIOCSIFVLAN = 0x8983
59373- SIOCSMIIREG = 0x8949
59374 SIOCSPGRP = 0x8902
59375- SIOCSRARP = 0x8962
59376- SIOCWANDEV = 0x894a
59377 SOCK_CLOEXEC = 0x400000
59378- SOCK_DCCP = 0x6
59379 SOCK_DGRAM = 0x2
59380 SOCK_NONBLOCK = 0x4000
59381- SOCK_PACKET = 0xa
59382- SOCK_RAW = 0x3
59383- SOCK_RDM = 0x4
59384- SOCK_SEQPACKET = 0x5
59385 SOCK_STREAM = 0x1
59386- SOL_AAL = 0x109
59387- SOL_ALG = 0x117
59388- SOL_ATM = 0x108
59389- SOL_CAIF = 0x116
59390- SOL_DCCP = 0x10d
59391- SOL_DECNET = 0x105
59392- SOL_ICMPV6 = 0x3a
59393- SOL_IP = 0x0
59394- SOL_IPV6 = 0x29
59395- SOL_IRDA = 0x10a
59396- SOL_IUCV = 0x115
59397- SOL_KCM = 0x119
59398- SOL_LLC = 0x10c
59399- SOL_NETBEUI = 0x10b
59400- SOL_NETLINK = 0x10e
59401- SOL_NFC = 0x118
59402- SOL_PACKET = 0x107
59403- SOL_PNPIPE = 0x113
59404- SOL_PPPOL2TP = 0x111
59405- SOL_RAW = 0xff
59406- SOL_RDS = 0x114
59407- SOL_RXRPC = 0x110
59408 SOL_SOCKET = 0xffff
59409- SOL_TCP = 0x6
59410- SOL_TIPC = 0x10f
59411- SOL_X25 = 0x106
59412- SOMAXCONN = 0x80
59413 SO_ACCEPTCONN = 0x8000
59414 SO_ATTACH_BPF = 0x34
59415- SO_ATTACH_FILTER = 0x1a
59416 SO_ATTACH_REUSEPORT_CBPF = 0x35
59417 SO_ATTACH_REUSEPORT_EBPF = 0x36
59418 SO_BINDTODEVICE = 0xd
59419+ SO_BINDTOIFINDEX = 0x41
59420 SO_BPF_EXTENSIONS = 0x32
59421 SO_BROADCAST = 0x20
59422 SO_BSDCOMPAT = 0x400
59423 SO_BUSY_POLL = 0x30
59424 SO_CNX_ADVICE = 0x37
59425- SO_DEBUG = 0x1
59426- SO_DETACH_BPF = 0x1b
59427- SO_DETACH_FILTER = 0x1b
59428+ SO_COOKIE = 0x3b
59429+ SO_DETACH_REUSEPORT_BPF = 0x47
59430 SO_DOMAIN = 0x1029
59431 SO_DONTROUTE = 0x10
59432 SO_ERROR = 0x1007
59433- SO_GET_FILTER = 0x1a
59434 SO_INCOMING_CPU = 0x33
59435+ SO_INCOMING_NAPI_ID = 0x3a
59436 SO_KEEPALIVE = 0x8
59437 SO_LINGER = 0x80
59438 SO_LOCK_FILTER = 0x28
59439 SO_MARK = 0x22
59440 SO_MAX_PACING_RATE = 0x31
59441+ SO_MEMINFO = 0x39
59442 SO_NOFCS = 0x27
59443- SO_NO_CHECK = 0xb
59444 SO_OOBINLINE = 0x100
59445 SO_PASSCRED = 0x2
59446 SO_PASSSEC = 0x1f
59447 SO_PEEK_OFF = 0x26
59448 SO_PEERCRED = 0x40
59449- SO_PEERNAME = 0x1c
59450+ SO_PEERGROUPS = 0x3d
59451 SO_PEERSEC = 0x1e
59452- SO_PRIORITY = 0xc
59453 SO_PROTOCOL = 0x1028
59454 SO_RCVBUF = 0x1002
59455 SO_RCVBUFFORCE = 0x100b
59456 SO_RCVLOWAT = 0x800
59457 SO_RCVTIMEO = 0x2000
59458+ SO_RCVTIMEO_NEW = 0x44
59459+ SO_RCVTIMEO_OLD = 0x2000
59460 SO_REUSEADDR = 0x4
59461 SO_REUSEPORT = 0x200
59462 SO_RXQ_OVFL = 0x24
59463@@ -1536,50 +358,19 @@ const (
59464 SO_SNDBUFFORCE = 0x100a
59465 SO_SNDLOWAT = 0x1000
59466 SO_SNDTIMEO = 0x4000
59467- SO_TIMESTAMP = 0x1d
59468+ SO_SNDTIMEO_NEW = 0x45
59469+ SO_SNDTIMEO_OLD = 0x4000
59470 SO_TIMESTAMPING = 0x23
59471+ SO_TIMESTAMPING_NEW = 0x43
59472+ SO_TIMESTAMPING_OLD = 0x23
59473 SO_TIMESTAMPNS = 0x21
59474+ SO_TIMESTAMPNS_NEW = 0x42
59475+ SO_TIMESTAMPNS_OLD = 0x21
59476+ SO_TIMESTAMP_NEW = 0x46
59477+ SO_TXTIME = 0x3f
59478 SO_TYPE = 0x1008
59479- SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
59480- SO_VM_SOCKETS_BUFFER_MIN_SIZE = 0x1
59481- SO_VM_SOCKETS_BUFFER_SIZE = 0x0
59482- SO_VM_SOCKETS_CONNECT_TIMEOUT = 0x6
59483- SO_VM_SOCKETS_NONBLOCK_TXRX = 0x7
59484- SO_VM_SOCKETS_PEER_HOST_VM_ID = 0x3
59485- SO_VM_SOCKETS_TRUSTED = 0x5
59486 SO_WIFI_STATUS = 0x25
59487- SPLICE_F_GIFT = 0x8
59488- SPLICE_F_MORE = 0x4
59489- SPLICE_F_MOVE = 0x1
59490- SPLICE_F_NONBLOCK = 0x2
59491- S_BLKSIZE = 0x200
59492- S_IEXEC = 0x40
59493- S_IFBLK = 0x6000
59494- S_IFCHR = 0x2000
59495- S_IFDIR = 0x4000
59496- S_IFIFO = 0x1000
59497- S_IFLNK = 0xa000
59498- S_IFMT = 0xf000
59499- S_IFREG = 0x8000
59500- S_IFSOCK = 0xc000
59501- S_IREAD = 0x100
59502- S_IRGRP = 0x20
59503- S_IROTH = 0x4
59504- S_IRUSR = 0x100
59505- S_IRWXG = 0x38
59506- S_IRWXO = 0x7
59507- S_IRWXU = 0x1c0
59508- S_ISGID = 0x400
59509- S_ISUID = 0x800
59510- S_ISVTX = 0x200
59511- S_IWGRP = 0x10
59512- S_IWOTH = 0x2
59513- S_IWRITE = 0x80
59514- S_IWUSR = 0x80
59515- S_IXGRP = 0x8
59516- S_IXOTH = 0x1
59517- S_IXUSR = 0x40
59518- TAB0 = 0x0
59519+ SO_ZEROCOPY = 0x3e
59520 TAB1 = 0x800
59521 TAB2 = 0x1000
59522 TAB3 = 0x1800
59523@@ -1588,54 +379,6 @@ const (
59524 TCGETA = 0x40125401
59525 TCGETS = 0x40245408
59526 TCGETS2 = 0x402c540c
59527- TCIFLUSH = 0x0
59528- TCIOFF = 0x2
59529- TCIOFLUSH = 0x2
59530- TCION = 0x3
59531- TCOFLUSH = 0x1
59532- TCOOFF = 0x0
59533- TCOON = 0x1
59534- TCP_CC_INFO = 0x1a
59535- TCP_CONGESTION = 0xd
59536- TCP_COOKIE_IN_ALWAYS = 0x1
59537- TCP_COOKIE_MAX = 0x10
59538- TCP_COOKIE_MIN = 0x8
59539- TCP_COOKIE_OUT_NEVER = 0x2
59540- TCP_COOKIE_PAIR_SIZE = 0x20
59541- TCP_COOKIE_TRANSACTIONS = 0xf
59542- TCP_CORK = 0x3
59543- TCP_DEFER_ACCEPT = 0x9
59544- TCP_FASTOPEN = 0x17
59545- TCP_INFO = 0xb
59546- TCP_KEEPCNT = 0x6
59547- TCP_KEEPIDLE = 0x4
59548- TCP_KEEPINTVL = 0x5
59549- TCP_LINGER2 = 0x8
59550- TCP_MAXSEG = 0x2
59551- TCP_MAXWIN = 0xffff
59552- TCP_MAX_WINSHIFT = 0xe
59553- TCP_MD5SIG = 0xe
59554- TCP_MD5SIG_MAXKEYLEN = 0x50
59555- TCP_MSS = 0x200
59556- TCP_MSS_DEFAULT = 0x218
59557- TCP_MSS_DESIRED = 0x4c4
59558- TCP_NODELAY = 0x1
59559- TCP_NOTSENT_LOWAT = 0x19
59560- TCP_QUEUE_SEQ = 0x15
59561- TCP_QUICKACK = 0xc
59562- TCP_REPAIR = 0x13
59563- TCP_REPAIR_OPTIONS = 0x16
59564- TCP_REPAIR_QUEUE = 0x14
59565- TCP_SAVED_SYN = 0x1c
59566- TCP_SAVE_SYN = 0x1b
59567- TCP_SYNCNT = 0x7
59568- TCP_S_DATA_IN = 0x4
59569- TCP_S_DATA_OUT = 0x8
59570- TCP_THIN_DUPACK = 0x11
59571- TCP_THIN_LINEAR_TIMEOUTS = 0x10
59572- TCP_TIMESTAMP = 0x18
59573- TCP_USER_TIMEOUT = 0x12
59574- TCP_WINDOW_CLAMP = 0xa
59575 TCSAFLUSH = 0x2
59576 TCSBRK = 0x20005405
59577 TCSBRKP = 0x5425
59578@@ -1656,11 +399,13 @@ const (
59579 TIOCGETD = 0x40047400
59580 TIOCGEXCL = 0x40045440
59581 TIOCGICOUNT = 0x545d
59582+ TIOCGISO7816 = 0x40285443
59583 TIOCGLCKTRMIOS = 0x5456
59584 TIOCGPGRP = 0x40047483
59585 TIOCGPKT = 0x40045438
59586 TIOCGPTLCK = 0x40045439
59587 TIOCGPTN = 0x40047486
59588+ TIOCGPTPEER = 0x20007489
59589 TIOCGRS485 = 0x40205441
59590 TIOCGSERIAL = 0x541e
59591 TIOCGSID = 0x40047485
59592@@ -1677,28 +422,14 @@ const (
59593 TIOCM_CD = 0x40
59594 TIOCM_CTS = 0x20
59595 TIOCM_DSR = 0x100
59596- TIOCM_DTR = 0x2
59597- TIOCM_LE = 0x1
59598- TIOCM_LOOP = 0x8000
59599- TIOCM_OUT1 = 0x2000
59600- TIOCM_OUT2 = 0x4000
59601 TIOCM_RI = 0x80
59602 TIOCM_RNG = 0x80
59603- TIOCM_RTS = 0x4
59604 TIOCM_SR = 0x10
59605 TIOCM_ST = 0x8
59606 TIOCNOTTY = 0x20007471
59607 TIOCNXCL = 0x2000740e
59608 TIOCOUTQ = 0x40047473
59609 TIOCPKT = 0x80047470
59610- TIOCPKT_DATA = 0x0
59611- TIOCPKT_DOSTOP = 0x20
59612- TIOCPKT_FLUSHREAD = 0x1
59613- TIOCPKT_FLUSHWRITE = 0x2
59614- TIOCPKT_IOCTL = 0x40
59615- TIOCPKT_NOSTOP = 0x10
59616- TIOCPKT_START = 0x8
59617- TIOCPKT_STOP = 0x4
59618 TIOCSBRK = 0x2000747b
59619 TIOCSCTTY = 0x20007484
59620 TIOCSERCONFIG = 0x5453
59621@@ -1708,9 +439,9 @@ const (
59622 TIOCSERGWILD = 0x5454
59623 TIOCSERSETMULTI = 0x545b
59624 TIOCSERSWILD = 0x5455
59625- TIOCSER_TEMT = 0x1
59626 TIOCSETD = 0x80047401
59627 TIOCSIG = 0x80047488
59628+ TIOCSISO7816 = 0xc0285444
59629 TIOCSLCKTRMIOS = 0x5457
59630 TIOCSPGRP = 0x80047482
59631 TIOCSPTLCK = 0x80047487
59632@@ -1725,6 +456,7 @@ const (
59633 TOSTOP = 0x100
59634 TUNATTACHFILTER = 0x801054d5
59635 TUNDETACHFILTER = 0x801054d6
59636+ TUNGETDEVNETNS = 0x200054e3
59637 TUNGETFEATURES = 0x400454cf
59638 TUNGETFILTER = 0x401054db
59639 TUNGETIFF = 0x400454d2
59640@@ -1732,7 +464,9 @@ const (
59641 TUNGETVNETBE = 0x400454df
59642 TUNGETVNETHDRSZ = 0x400454d7
59643 TUNGETVNETLE = 0x400454dd
59644+ TUNSETCARRIER = 0x800454e2
59645 TUNSETDEBUG = 0x800454c9
59646+ TUNSETFILTEREBPF = 0x400454e1
59647 TUNSETGROUP = 0x800454ce
59648 TUNSETIFF = 0x800454ca
59649 TUNSETIFINDEX = 0x800454da
59650@@ -1743,47 +477,52 @@ const (
59651 TUNSETPERSIST = 0x800454cb
59652 TUNSETQUEUE = 0x800454d9
59653 TUNSETSNDBUF = 0x800454d4
59654+ TUNSETSTEERINGEBPF = 0x400454e0
59655 TUNSETTXFILTER = 0x800454d1
59656 TUNSETVNETBE = 0x800454de
59657 TUNSETVNETHDRSZ = 0x800454d8
59658 TUNSETVNETLE = 0x800454dc
59659+ UBI_IOCATT = 0x80186f40
59660+ UBI_IOCDET = 0x80046f41
59661+ UBI_IOCEBCH = 0x80044f02
59662+ UBI_IOCEBER = 0x80044f01
59663+ UBI_IOCEBISMAP = 0x40044f05
59664+ UBI_IOCEBMAP = 0x80084f03
59665+ UBI_IOCEBUNMAP = 0x80044f04
59666+ UBI_IOCMKVOL = 0x80986f00
59667+ UBI_IOCRMVOL = 0x80046f01
59668+ UBI_IOCRNVOL = 0x91106f03
59669+ UBI_IOCRPEB = 0x80046f04
59670+ UBI_IOCRSVOL = 0x800c6f02
59671+ UBI_IOCSETVOLPROP = 0x80104f06
59672+ UBI_IOCSPEB = 0x80046f05
59673+ UBI_IOCVOLCRBLK = 0x80804f07
59674+ UBI_IOCVOLRMBLK = 0x20004f08
59675+ UBI_IOCVOLUP = 0x80084f00
59676 VDISCARD = 0xd
59677- VDSUSP = 0xb
59678 VEOF = 0x4
59679- VEOL = 0x5
59680- VEOL2 = 0x6
59681- VERASE = 0x2
59682- VINTR = 0x0
59683- VKILL = 0x3
59684- VLNEXT = 0xf
59685- VMADDR_CID_ANY = 0xffffffff
59686- VMADDR_CID_HOST = 0x2
59687- VMADDR_CID_HYPERVISOR = 0x0
59688- VMADDR_CID_RESERVED = 0x1
59689- VMADDR_PORT_ANY = 0xffffffff
59690- VMIN = 0x4
59691- VQUIT = 0x1
59692+ VEOL = 0xb
59693+ VEOL2 = 0x10
59694+ VMIN = 0x6
59695 VREPRINT = 0xc
59696 VSTART = 0x8
59697 VSTOP = 0x9
59698 VSUSP = 0xa
59699 VSWTC = 0x7
59700- VT0 = 0x0
59701 VT1 = 0x4000
59702 VTDLY = 0x4000
59703 VTIME = 0x5
59704 VWERASE = 0xe
59705- WALL = 0x40000000
59706- WCLONE = 0x80000000
59707- WCONTINUED = 0x8
59708- WEXITED = 0x4
59709- WNOHANG = 0x1
59710- WNOTHREAD = 0x20000000
59711- WNOWAIT = 0x1000000
59712+ WDIOC_GETBOOTSTATUS = 0x40045702
59713+ WDIOC_GETPRETIMEOUT = 0x40045709
59714+ WDIOC_GETSTATUS = 0x40045701
59715+ WDIOC_GETSUPPORT = 0x40285700
59716+ WDIOC_GETTEMP = 0x40045703
59717+ WDIOC_GETTIMELEFT = 0x4004570a
59718+ WDIOC_GETTIMEOUT = 0x40045707
59719+ WDIOC_KEEPALIVE = 0x40045705
59720+ WDIOC_SETOPTIONS = 0x40045704
59721 WORDSIZE = 0x40
59722- WRAP = 0x20000
59723- WSTOPPED = 0x2
59724- WUNTRACED = 0x2
59725 XCASE = 0x4
59726 XTABS = 0x1800
59727 __TIOCFLUSH = 0x80047410
59728@@ -1791,25 +530,19 @@ const (
59729
59730 // Errors
59731 const (
59732- E2BIG = syscall.Errno(0x7)
59733- EACCES = syscall.Errno(0xd)
59734 EADDRINUSE = syscall.Errno(0x30)
59735 EADDRNOTAVAIL = syscall.Errno(0x31)
59736 EADV = syscall.Errno(0x53)
59737 EAFNOSUPPORT = syscall.Errno(0x2f)
59738- EAGAIN = syscall.Errno(0xb)
59739 EALREADY = syscall.Errno(0x25)
59740 EBADE = syscall.Errno(0x66)
59741- EBADF = syscall.Errno(0x9)
59742 EBADFD = syscall.Errno(0x5d)
59743 EBADMSG = syscall.Errno(0x4c)
59744 EBADR = syscall.Errno(0x67)
59745 EBADRQC = syscall.Errno(0x6a)
59746 EBADSLT = syscall.Errno(0x6b)
59747 EBFONT = syscall.Errno(0x6d)
59748- EBUSY = syscall.Errno(0x10)
59749 ECANCELED = syscall.Errno(0x7f)
59750- ECHILD = syscall.Errno(0xa)
59751 ECHRNG = syscall.Errno(0x5e)
59752 ECOMM = syscall.Errno(0x55)
59753 ECONNABORTED = syscall.Errno(0x35)
59754@@ -1818,23 +551,15 @@ const (
59755 EDEADLK = syscall.Errno(0x4e)
59756 EDEADLOCK = syscall.Errno(0x6c)
59757 EDESTADDRREQ = syscall.Errno(0x27)
59758- EDOM = syscall.Errno(0x21)
59759 EDOTDOT = syscall.Errno(0x58)
59760 EDQUOT = syscall.Errno(0x45)
59761- EEXIST = syscall.Errno(0x11)
59762- EFAULT = syscall.Errno(0xe)
59763- EFBIG = syscall.Errno(0x1b)
59764 EHOSTDOWN = syscall.Errno(0x40)
59765 EHOSTUNREACH = syscall.Errno(0x41)
59766 EHWPOISON = syscall.Errno(0x87)
59767 EIDRM = syscall.Errno(0x4d)
59768 EILSEQ = syscall.Errno(0x7a)
59769 EINPROGRESS = syscall.Errno(0x24)
59770- EINTR = syscall.Errno(0x4)
59771- EINVAL = syscall.Errno(0x16)
59772- EIO = syscall.Errno(0x5)
59773 EISCONN = syscall.Errno(0x38)
59774- EISDIR = syscall.Errno(0x15)
59775 EISNAM = syscall.Errno(0x78)
59776 EKEYEXPIRED = syscall.Errno(0x81)
59777 EKEYREJECTED = syscall.Errno(0x83)
59778@@ -1851,8 +576,6 @@ const (
59779 ELNRNG = syscall.Errno(0x62)
59780 ELOOP = syscall.Errno(0x3e)
59781 EMEDIUMTYPE = syscall.Errno(0x7e)
59782- EMFILE = syscall.Errno(0x18)
59783- EMLINK = syscall.Errno(0x1f)
59784 EMSGSIZE = syscall.Errno(0x28)
59785 EMULTIHOP = syscall.Errno(0x57)
59786 ENAMETOOLONG = syscall.Errno(0x3f)
59787@@ -1860,102 +583,70 @@ const (
59788 ENETDOWN = syscall.Errno(0x32)
59789 ENETRESET = syscall.Errno(0x34)
59790 ENETUNREACH = syscall.Errno(0x33)
59791- ENFILE = syscall.Errno(0x17)
59792 ENOANO = syscall.Errno(0x69)
59793 ENOBUFS = syscall.Errno(0x37)
59794 ENOCSI = syscall.Errno(0x64)
59795 ENODATA = syscall.Errno(0x6f)
59796- ENODEV = syscall.Errno(0x13)
59797- ENOENT = syscall.Errno(0x2)
59798- ENOEXEC = syscall.Errno(0x8)
59799 ENOKEY = syscall.Errno(0x80)
59800 ENOLCK = syscall.Errno(0x4f)
59801 ENOLINK = syscall.Errno(0x52)
59802 ENOMEDIUM = syscall.Errno(0x7d)
59803- ENOMEM = syscall.Errno(0xc)
59804 ENOMSG = syscall.Errno(0x4b)
59805 ENONET = syscall.Errno(0x50)
59806 ENOPKG = syscall.Errno(0x71)
59807 ENOPROTOOPT = syscall.Errno(0x2a)
59808- ENOSPC = syscall.Errno(0x1c)
59809 ENOSR = syscall.Errno(0x4a)
59810 ENOSTR = syscall.Errno(0x48)
59811 ENOSYS = syscall.Errno(0x5a)
59812- ENOTBLK = syscall.Errno(0xf)
59813 ENOTCONN = syscall.Errno(0x39)
59814- ENOTDIR = syscall.Errno(0x14)
59815 ENOTEMPTY = syscall.Errno(0x42)
59816 ENOTNAM = syscall.Errno(0x76)
59817 ENOTRECOVERABLE = syscall.Errno(0x85)
59818 ENOTSOCK = syscall.Errno(0x26)
59819 ENOTSUP = syscall.Errno(0x2d)
59820- ENOTTY = syscall.Errno(0x19)
59821 ENOTUNIQ = syscall.Errno(0x73)
59822- ENXIO = syscall.Errno(0x6)
59823 EOPNOTSUPP = syscall.Errno(0x2d)
59824 EOVERFLOW = syscall.Errno(0x5c)
59825 EOWNERDEAD = syscall.Errno(0x84)
59826- EPERM = syscall.Errno(0x1)
59827 EPFNOSUPPORT = syscall.Errno(0x2e)
59828- EPIPE = syscall.Errno(0x20)
59829 EPROCLIM = syscall.Errno(0x43)
59830 EPROTO = syscall.Errno(0x56)
59831 EPROTONOSUPPORT = syscall.Errno(0x2b)
59832 EPROTOTYPE = syscall.Errno(0x29)
59833- ERANGE = syscall.Errno(0x22)
59834 EREMCHG = syscall.Errno(0x59)
59835 EREMOTE = syscall.Errno(0x47)
59836 EREMOTEIO = syscall.Errno(0x79)
59837 ERESTART = syscall.Errno(0x74)
59838 ERFKILL = syscall.Errno(0x86)
59839- EROFS = syscall.Errno(0x1e)
59840 ERREMOTE = syscall.Errno(0x51)
59841 ESHUTDOWN = syscall.Errno(0x3a)
59842 ESOCKTNOSUPPORT = syscall.Errno(0x2c)
59843- ESPIPE = syscall.Errno(0x1d)
59844- ESRCH = syscall.Errno(0x3)
59845 ESRMNT = syscall.Errno(0x54)
59846 ESTALE = syscall.Errno(0x46)
59847 ESTRPIPE = syscall.Errno(0x5b)
59848 ETIME = syscall.Errno(0x49)
59849 ETIMEDOUT = syscall.Errno(0x3c)
59850 ETOOMANYREFS = syscall.Errno(0x3b)
59851- ETXTBSY = syscall.Errno(0x1a)
59852 EUCLEAN = syscall.Errno(0x75)
59853 EUNATCH = syscall.Errno(0x63)
59854 EUSERS = syscall.Errno(0x44)
59855- EWOULDBLOCK = syscall.Errno(0xb)
59856- EXDEV = syscall.Errno(0x12)
59857 EXFULL = syscall.Errno(0x68)
59858 )
59859
59860 // Signals
59861 const (
59862- SIGABRT = syscall.Signal(0x6)
59863- SIGALRM = syscall.Signal(0xe)
59864 SIGBUS = syscall.Signal(0xa)
59865 SIGCHLD = syscall.Signal(0x14)
59866 SIGCLD = syscall.Signal(0x14)
59867 SIGCONT = syscall.Signal(0x13)
59868 SIGEMT = syscall.Signal(0x7)
59869- SIGFPE = syscall.Signal(0x8)
59870- SIGHUP = syscall.Signal(0x1)
59871- SIGILL = syscall.Signal(0x4)
59872- SIGINT = syscall.Signal(0x2)
59873 SIGIO = syscall.Signal(0x17)
59874- SIGIOT = syscall.Signal(0x6)
59875- SIGKILL = syscall.Signal(0x9)
59876 SIGLOST = syscall.Signal(0x1d)
59877- SIGPIPE = syscall.Signal(0xd)
59878 SIGPOLL = syscall.Signal(0x17)
59879 SIGPROF = syscall.Signal(0x1b)
59880 SIGPWR = syscall.Signal(0x1d)
59881- SIGQUIT = syscall.Signal(0x3)
59882- SIGSEGV = syscall.Signal(0xb)
59883 SIGSTOP = syscall.Signal(0x11)
59884 SIGSYS = syscall.Signal(0xc)
59885- SIGTERM = syscall.Signal(0xf)
59886- SIGTRAP = syscall.Signal(0x5)
59887 SIGTSTP = syscall.Signal(0x12)
59888 SIGTTIN = syscall.Signal(0x15)
59889 SIGTTOU = syscall.Signal(0x16)
59890@@ -1969,174 +660,182 @@ const (
59891 )
59892
59893 // Error table
59894-var errors = [...]string{
59895- 1: "operation not permitted",
59896- 2: "no such file or directory",
59897- 3: "no such process",
59898- 4: "interrupted system call",
59899- 5: "input/output error",
59900- 6: "no such device or address",
59901- 7: "argument list too long",
59902- 8: "exec format error",
59903- 9: "bad file descriptor",
59904- 10: "no child processes",
59905- 11: "resource temporarily unavailable",
59906- 12: "cannot allocate memory",
59907- 13: "permission denied",
59908- 14: "bad address",
59909- 15: "block device required",
59910- 16: "device or resource busy",
59911- 17: "file exists",
59912- 18: "invalid cross-device link",
59913- 19: "no such device",
59914- 20: "not a directory",
59915- 21: "is a directory",
59916- 22: "invalid argument",
59917- 23: "too many open files in system",
59918- 24: "too many open files",
59919- 25: "inappropriate ioctl for device",
59920- 26: "text file busy",
59921- 27: "file too large",
59922- 28: "no space left on device",
59923- 29: "illegal seek",
59924- 30: "read-only file system",
59925- 31: "too many links",
59926- 32: "broken pipe",
59927- 33: "numerical argument out of domain",
59928- 34: "numerical result out of range",
59929- 36: "operation now in progress",
59930- 37: "operation already in progress",
59931- 38: "socket operation on non-socket",
59932- 39: "destination address required",
59933- 40: "message too long",
59934- 41: "protocol wrong type for socket",
59935- 42: "protocol not available",
59936- 43: "protocol not supported",
59937- 44: "socket type not supported",
59938- 45: "operation not supported",
59939- 46: "protocol family not supported",
59940- 47: "address family not supported by protocol",
59941- 48: "address already in use",
59942- 49: "cannot assign requested address",
59943- 50: "network is down",
59944- 51: "network is unreachable",
59945- 52: "network dropped connection on reset",
59946- 53: "software caused connection abort",
59947- 54: "connection reset by peer",
59948- 55: "no buffer space available",
59949- 56: "transport endpoint is already connected",
59950- 57: "transport endpoint is not connected",
59951- 58: "cannot send after transport endpoint shutdown",
59952- 59: "too many references: cannot splice",
59953- 60: "connection timed out",
59954- 61: "connection refused",
59955- 62: "too many levels of symbolic links",
59956- 63: "file name too long",
59957- 64: "host is down",
59958- 65: "no route to host",
59959- 66: "directory not empty",
59960- 67: "too many processes",
59961- 68: "too many users",
59962- 69: "disk quota exceeded",
59963- 70: "stale file handle",
59964- 71: "object is remote",
59965- 72: "device not a stream",
59966- 73: "timer expired",
59967- 74: "out of streams resources",
59968- 75: "no message of desired type",
59969- 76: "bad message",
59970- 77: "identifier removed",
59971- 78: "resource deadlock avoided",
59972- 79: "no locks available",
59973- 80: "machine is not on the network",
59974- 81: "unknown error 81",
59975- 82: "link has been severed",
59976- 83: "advertise error",
59977- 84: "srmount error",
59978- 85: "communication error on send",
59979- 86: "protocol error",
59980- 87: "multihop attempted",
59981- 88: "RFS specific error",
59982- 89: "remote address changed",
59983- 90: "function not implemented",
59984- 91: "streams pipe error",
59985- 92: "value too large for defined data type",
59986- 93: "file descriptor in bad state",
59987- 94: "channel number out of range",
59988- 95: "level 2 not synchronized",
59989- 96: "level 3 halted",
59990- 97: "level 3 reset",
59991- 98: "link number out of range",
59992- 99: "protocol driver not attached",
59993- 100: "no CSI structure available",
59994- 101: "level 2 halted",
59995- 102: "invalid exchange",
59996- 103: "invalid request descriptor",
59997- 104: "exchange full",
59998- 105: "no anode",
59999- 106: "invalid request code",
60000- 107: "invalid slot",
60001- 108: "file locking deadlock error",
60002- 109: "bad font file format",
60003- 110: "cannot exec a shared library directly",
60004- 111: "no data available",
60005- 112: "accessing a corrupted shared library",
60006- 113: "package not installed",
60007- 114: "can not access a needed shared library",
60008- 115: "name not unique on network",
60009- 116: "interrupted system call should be restarted",
60010- 117: "structure needs cleaning",
60011- 118: "not a XENIX named type file",
60012- 119: "no XENIX semaphores available",
60013- 120: "is a named type file",
60014- 121: "remote I/O error",
60015- 122: "invalid or incomplete multibyte or wide character",
60016- 123: "attempting to link in too many shared libraries",
60017- 124: ".lib section in a.out corrupted",
60018- 125: "no medium found",
60019- 126: "wrong medium type",
60020- 127: "operation canceled",
60021- 128: "required key not available",
60022- 129: "key has expired",
60023- 130: "key has been revoked",
60024- 131: "key was rejected by service",
60025- 132: "owner died",
60026- 133: "state not recoverable",
60027- 134: "operation not possible due to RF-kill",
60028- 135: "memory page has hardware error",
60029+var errorList = [...]struct {
60030+ num syscall.Errno
60031+ name string
60032+ desc string
60033+}{
60034+ {1, "EPERM", "operation not permitted"},
60035+ {2, "ENOENT", "no such file or directory"},
60036+ {3, "ESRCH", "no such process"},
60037+ {4, "EINTR", "interrupted system call"},
60038+ {5, "EIO", "input/output error"},
60039+ {6, "ENXIO", "no such device or address"},
60040+ {7, "E2BIG", "argument list too long"},
60041+ {8, "ENOEXEC", "exec format error"},
60042+ {9, "EBADF", "bad file descriptor"},
60043+ {10, "ECHILD", "no child processes"},
60044+ {11, "EAGAIN", "resource temporarily unavailable"},
60045+ {12, "ENOMEM", "cannot allocate memory"},
60046+ {13, "EACCES", "permission denied"},
60047+ {14, "EFAULT", "bad address"},
60048+ {15, "ENOTBLK", "block device required"},
60049+ {16, "EBUSY", "device or resource busy"},
60050+ {17, "EEXIST", "file exists"},
60051+ {18, "EXDEV", "invalid cross-device link"},
60052+ {19, "ENODEV", "no such device"},
60053+ {20, "ENOTDIR", "not a directory"},
60054+ {21, "EISDIR", "is a directory"},
60055+ {22, "EINVAL", "invalid argument"},
60056+ {23, "ENFILE", "too many open files in system"},
60057+ {24, "EMFILE", "too many open files"},
60058+ {25, "ENOTTY", "inappropriate ioctl for device"},
60059+ {26, "ETXTBSY", "text file busy"},
60060+ {27, "EFBIG", "file too large"},
60061+ {28, "ENOSPC", "no space left on device"},
60062+ {29, "ESPIPE", "illegal seek"},
60063+ {30, "EROFS", "read-only file system"},
60064+ {31, "EMLINK", "too many links"},
60065+ {32, "EPIPE", "broken pipe"},
60066+ {33, "EDOM", "numerical argument out of domain"},
60067+ {34, "ERANGE", "numerical result out of range"},
60068+ {36, "EINPROGRESS", "operation now in progress"},
60069+ {37, "EALREADY", "operation already in progress"},
60070+ {38, "ENOTSOCK", "socket operation on non-socket"},
60071+ {39, "EDESTADDRREQ", "destination address required"},
60072+ {40, "EMSGSIZE", "message too long"},
60073+ {41, "EPROTOTYPE", "protocol wrong type for socket"},
60074+ {42, "ENOPROTOOPT", "protocol not available"},
60075+ {43, "EPROTONOSUPPORT", "protocol not supported"},
60076+ {44, "ESOCKTNOSUPPORT", "socket type not supported"},
60077+ {45, "ENOTSUP", "operation not supported"},
60078+ {46, "EPFNOSUPPORT", "protocol family not supported"},
60079+ {47, "EAFNOSUPPORT", "address family not supported by protocol"},
60080+ {48, "EADDRINUSE", "address already in use"},
60081+ {49, "EADDRNOTAVAIL", "cannot assign requested address"},
60082+ {50, "ENETDOWN", "network is down"},
60083+ {51, "ENETUNREACH", "network is unreachable"},
60084+ {52, "ENETRESET", "network dropped connection on reset"},
60085+ {53, "ECONNABORTED", "software caused connection abort"},
60086+ {54, "ECONNRESET", "connection reset by peer"},
60087+ {55, "ENOBUFS", "no buffer space available"},
60088+ {56, "EISCONN", "transport endpoint is already connected"},
60089+ {57, "ENOTCONN", "transport endpoint is not connected"},
60090+ {58, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
60091+ {59, "ETOOMANYREFS", "too many references: cannot splice"},
60092+ {60, "ETIMEDOUT", "connection timed out"},
60093+ {61, "ECONNREFUSED", "connection refused"},
60094+ {62, "ELOOP", "too many levels of symbolic links"},
60095+ {63, "ENAMETOOLONG", "file name too long"},
60096+ {64, "EHOSTDOWN", "host is down"},
60097+ {65, "EHOSTUNREACH", "no route to host"},
60098+ {66, "ENOTEMPTY", "directory not empty"},
60099+ {67, "EPROCLIM", "too many processes"},
60100+ {68, "EUSERS", "too many users"},
60101+ {69, "EDQUOT", "disk quota exceeded"},
60102+ {70, "ESTALE", "stale file handle"},
60103+ {71, "EREMOTE", "object is remote"},
60104+ {72, "ENOSTR", "device not a stream"},
60105+ {73, "ETIME", "timer expired"},
60106+ {74, "ENOSR", "out of streams resources"},
60107+ {75, "ENOMSG", "no message of desired type"},
60108+ {76, "EBADMSG", "bad message"},
60109+ {77, "EIDRM", "identifier removed"},
60110+ {78, "EDEADLK", "resource deadlock avoided"},
60111+ {79, "ENOLCK", "no locks available"},
60112+ {80, "ENONET", "machine is not on the network"},
60113+ {81, "ERREMOTE", "unknown error 81"},
60114+ {82, "ENOLINK", "link has been severed"},
60115+ {83, "EADV", "advertise error"},
60116+ {84, "ESRMNT", "srmount error"},
60117+ {85, "ECOMM", "communication error on send"},
60118+ {86, "EPROTO", "protocol error"},
60119+ {87, "EMULTIHOP", "multihop attempted"},
60120+ {88, "EDOTDOT", "RFS specific error"},
60121+ {89, "EREMCHG", "remote address changed"},
60122+ {90, "ENOSYS", "function not implemented"},
60123+ {91, "ESTRPIPE", "streams pipe error"},
60124+ {92, "EOVERFLOW", "value too large for defined data type"},
60125+ {93, "EBADFD", "file descriptor in bad state"},
60126+ {94, "ECHRNG", "channel number out of range"},
60127+ {95, "EL2NSYNC", "level 2 not synchronized"},
60128+ {96, "EL3HLT", "level 3 halted"},
60129+ {97, "EL3RST", "level 3 reset"},
60130+ {98, "ELNRNG", "link number out of range"},
60131+ {99, "EUNATCH", "protocol driver not attached"},
60132+ {100, "ENOCSI", "no CSI structure available"},
60133+ {101, "EL2HLT", "level 2 halted"},
60134+ {102, "EBADE", "invalid exchange"},
60135+ {103, "EBADR", "invalid request descriptor"},
60136+ {104, "EXFULL", "exchange full"},
60137+ {105, "ENOANO", "no anode"},
60138+ {106, "EBADRQC", "invalid request code"},
60139+ {107, "EBADSLT", "invalid slot"},
60140+ {108, "EDEADLOCK", "file locking deadlock error"},
60141+ {109, "EBFONT", "bad font file format"},
60142+ {110, "ELIBEXEC", "cannot exec a shared library directly"},
60143+ {111, "ENODATA", "no data available"},
60144+ {112, "ELIBBAD", "accessing a corrupted shared library"},
60145+ {113, "ENOPKG", "package not installed"},
60146+ {114, "ELIBACC", "can not access a needed shared library"},
60147+ {115, "ENOTUNIQ", "name not unique on network"},
60148+ {116, "ERESTART", "interrupted system call should be restarted"},
60149+ {117, "EUCLEAN", "structure needs cleaning"},
60150+ {118, "ENOTNAM", "not a XENIX named type file"},
60151+ {119, "ENAVAIL", "no XENIX semaphores available"},
60152+ {120, "EISNAM", "is a named type file"},
60153+ {121, "EREMOTEIO", "remote I/O error"},
60154+ {122, "EILSEQ", "invalid or incomplete multibyte or wide character"},
60155+ {123, "ELIBMAX", "attempting to link in too many shared libraries"},
60156+ {124, "ELIBSCN", ".lib section in a.out corrupted"},
60157+ {125, "ENOMEDIUM", "no medium found"},
60158+ {126, "EMEDIUMTYPE", "wrong medium type"},
60159+ {127, "ECANCELED", "operation canceled"},
60160+ {128, "ENOKEY", "required key not available"},
60161+ {129, "EKEYEXPIRED", "key has expired"},
60162+ {130, "EKEYREVOKED", "key has been revoked"},
60163+ {131, "EKEYREJECTED", "key was rejected by service"},
60164+ {132, "EOWNERDEAD", "owner died"},
60165+ {133, "ENOTRECOVERABLE", "state not recoverable"},
60166+ {134, "ERFKILL", "operation not possible due to RF-kill"},
60167+ {135, "EHWPOISON", "memory page has hardware error"},
60168 }
60169
60170 // Signal table
60171-var signals = [...]string{
60172- 1: "hangup",
60173- 2: "interrupt",
60174- 3: "quit",
60175- 4: "illegal instruction",
60176- 5: "trace/breakpoint trap",
60177- 6: "aborted",
60178- 7: "EMT trap",
60179- 8: "floating point exception",
60180- 9: "killed",
60181- 10: "bus error",
60182- 11: "segmentation fault",
60183- 12: "bad system call",
60184- 13: "broken pipe",
60185- 14: "alarm clock",
60186- 15: "terminated",
60187- 16: "urgent I/O condition",
60188- 17: "stopped (signal)",
60189- 18: "stopped",
60190- 19: "continued",
60191- 20: "child exited",
60192- 21: "stopped (tty input)",
60193- 22: "stopped (tty output)",
60194- 23: "I/O possible",
60195- 24: "CPU time limit exceeded",
60196- 25: "file size limit exceeded",
60197- 26: "virtual timer expired",
60198- 27: "profiling timer expired",
60199- 28: "window changed",
60200- 29: "resource lost",
60201- 30: "user defined signal 1",
60202- 31: "user defined signal 2",
60203+var signalList = [...]struct {
60204+ num syscall.Signal
60205+ name string
60206+ desc string
60207+}{
60208+ {1, "SIGHUP", "hangup"},
60209+ {2, "SIGINT", "interrupt"},
60210+ {3, "SIGQUIT", "quit"},
60211+ {4, "SIGILL", "illegal instruction"},
60212+ {5, "SIGTRAP", "trace/breakpoint trap"},
60213+ {6, "SIGABRT", "aborted"},
60214+ {7, "SIGEMT", "EMT trap"},
60215+ {8, "SIGFPE", "floating point exception"},
60216+ {9, "SIGKILL", "killed"},
60217+ {10, "SIGBUS", "bus error"},
60218+ {11, "SIGSEGV", "segmentation fault"},
60219+ {12, "SIGSYS", "bad system call"},
60220+ {13, "SIGPIPE", "broken pipe"},
60221+ {14, "SIGALRM", "alarm clock"},
60222+ {15, "SIGTERM", "terminated"},
60223+ {16, "SIGURG", "urgent I/O condition"},
60224+ {17, "SIGSTOP", "stopped (signal)"},
60225+ {18, "SIGTSTP", "stopped"},
60226+ {19, "SIGCONT", "continued"},
60227+ {20, "SIGCHLD", "child exited"},
60228+ {21, "SIGTTIN", "stopped (tty input)"},
60229+ {22, "SIGTTOU", "stopped (tty output)"},
60230+ {23, "SIGIO", "I/O possible"},
60231+ {24, "SIGXCPU", "CPU time limit exceeded"},
60232+ {25, "SIGXFSZ", "file size limit exceeded"},
60233+ {26, "SIGVTALRM", "virtual timer expired"},
60234+ {27, "SIGPROF", "profiling timer expired"},
60235+ {28, "SIGWINCH", "window changed"},
60236+ {29, "SIGLOST", "power failure"},
60237+ {30, "SIGUSR1", "user defined signal 1"},
60238+ {31, "SIGUSR2", "user defined signal 2"},
60239 }
60240diff --git a/vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go b/vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go
60241index b4338d5f..96b9b8ab 100644
60242--- a/vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go
60243+++ b/vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go
60244@@ -1,9 +1,9 @@
60245 // mkerrors.sh -m32
60246-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
60247+// Code generated by the command above; see README.md. DO NOT EDIT.
60248
60249 // +build 386,netbsd
60250
60251-// Created by cgo -godefs - DO NOT EDIT
60252+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
60253 // cgo -godefs -- -m32 _const.go
60254
60255 package unix
60256@@ -159,6 +159,7 @@ const (
60257 CLONE_VFORK = 0x4000
60258 CLONE_VM = 0x100
60259 CREAD = 0x800
60260+ CRTSCTS = 0x10000
60261 CS5 = 0x0
60262 CS6 = 0x100
60263 CS7 = 0x200
60264@@ -169,6 +170,8 @@ const (
60265 CSTOP = 0x13
60266 CSTOPB = 0x400
60267 CSUSP = 0x1a
60268+ CTL_HW = 0x6
60269+ CTL_KERN = 0x1
60270 CTL_MAXNAME = 0xc
60271 CTL_NET = 0x4
60272 CTL_QUERY = -0x2
60273@@ -547,6 +550,10 @@ const (
60274 EV_ONESHOT = 0x10
60275 EV_SYSFLAGS = 0xf000
60276 EXTA = 0x4b00
60277+ EXTATTR_CMD_START = 0x1
60278+ EXTATTR_CMD_STOP = 0x2
60279+ EXTATTR_NAMESPACE_SYSTEM = 0x2
60280+ EXTATTR_NAMESPACE_USER = 0x1
60281 EXTB = 0x9600
60282 EXTPROC = 0x800
60283 FD_CLOEXEC = 0x1
60284@@ -581,6 +588,7 @@ const (
60285 F_UNLCK = 0x2
60286 F_WRLCK = 0x3
60287 HUPCL = 0x4000
60288+ HW_MACHINE = 0x1
60289 ICANON = 0x100
60290 ICMP6_FILTER = 0x12
60291 ICRNL = 0x100
60292@@ -970,6 +978,10 @@ const (
60293 IXANY = 0x800
60294 IXOFF = 0x400
60295 IXON = 0x200
60296+ KERN_HOSTNAME = 0xa
60297+ KERN_OSRELEASE = 0x2
60298+ KERN_OSTYPE = 0x1
60299+ KERN_VERSION = 0x4
60300 LOCK_EX = 0x2
60301 LOCK_NB = 0x4
60302 LOCK_SH = 0x1
60303@@ -1008,6 +1020,43 @@ const (
60304 MAP_WIRED = 0x800
60305 MCL_CURRENT = 0x1
60306 MCL_FUTURE = 0x2
60307+ MNT_ASYNC = 0x40
60308+ MNT_BASIC_FLAGS = 0xe782807f
60309+ MNT_DEFEXPORTED = 0x200
60310+ MNT_DISCARD = 0x800000
60311+ MNT_EXKERB = 0x800
60312+ MNT_EXNORESPORT = 0x8000000
60313+ MNT_EXPORTANON = 0x400
60314+ MNT_EXPORTED = 0x100
60315+ MNT_EXPUBLIC = 0x10000000
60316+ MNT_EXRDONLY = 0x80
60317+ MNT_EXTATTR = 0x1000000
60318+ MNT_FORCE = 0x80000
60319+ MNT_GETARGS = 0x400000
60320+ MNT_IGNORE = 0x100000
60321+ MNT_LAZY = 0x3
60322+ MNT_LOCAL = 0x1000
60323+ MNT_LOG = 0x2000000
60324+ MNT_NOATIME = 0x4000000
60325+ MNT_NOCOREDUMP = 0x8000
60326+ MNT_NODEV = 0x10
60327+ MNT_NODEVMTIME = 0x40000000
60328+ MNT_NOEXEC = 0x4
60329+ MNT_NOSUID = 0x8
60330+ MNT_NOWAIT = 0x2
60331+ MNT_OP_FLAGS = 0x4d0000
60332+ MNT_QUOTA = 0x2000
60333+ MNT_RDONLY = 0x1
60334+ MNT_RELATIME = 0x20000
60335+ MNT_RELOAD = 0x40000
60336+ MNT_ROOTFS = 0x4000
60337+ MNT_SOFTDEP = 0x80000000
60338+ MNT_SYMPERM = 0x20000000
60339+ MNT_SYNCHRONOUS = 0x2
60340+ MNT_UNION = 0x20
60341+ MNT_UPDATE = 0x10000
60342+ MNT_VISFLAGMASK = 0xff90ffff
60343+ MNT_WAIT = 0x1
60344 MSG_BCAST = 0x100
60345 MSG_CMSG_CLOEXEC = 0x800
60346 MSG_CONTROLMBUF = 0x2000000
60347@@ -1036,6 +1085,7 @@ const (
60348 NET_RT_MAXID = 0x6
60349 NET_RT_OIFLIST = 0x4
60350 NET_RT_OOIFLIST = 0x3
60351+ NFDBITS = 0x20
60352 NOFLSH = 0x80000000
60353 NOTE_ATTRIB = 0x8
60354 NOTE_CHILD = 0x4
60355@@ -1101,7 +1151,10 @@ const (
60356 RLIMIT_CPU = 0x0
60357 RLIMIT_DATA = 0x2
60358 RLIMIT_FSIZE = 0x1
60359+ RLIMIT_MEMLOCK = 0x6
60360 RLIMIT_NOFILE = 0x8
60361+ RLIMIT_NPROC = 0x7
60362+ RLIMIT_RSS = 0x5
60363 RLIMIT_STACK = 0x3
60364 RLIM_INFINITY = 0x7fffffffffffffff
60365 RTAX_AUTHOR = 0x6
60366@@ -1576,137 +1629,145 @@ const (
60367 )
60368
60369 // Error table
60370-var errors = [...]string{
60371- 1: "operation not permitted",
60372- 2: "no such file or directory",
60373- 3: "no such process",
60374- 4: "interrupted system call",
60375- 5: "input/output error",
60376- 6: "device not configured",
60377- 7: "argument list too long",
60378- 8: "exec format error",
60379- 9: "bad file descriptor",
60380- 10: "no child processes",
60381- 11: "resource deadlock avoided",
60382- 12: "cannot allocate memory",
60383- 13: "permission denied",
60384- 14: "bad address",
60385- 15: "block device required",
60386- 16: "device busy",
60387- 17: "file exists",
60388- 18: "cross-device link",
60389- 19: "operation not supported by device",
60390- 20: "not a directory",
60391- 21: "is a directory",
60392- 22: "invalid argument",
60393- 23: "too many open files in system",
60394- 24: "too many open files",
60395- 25: "inappropriate ioctl for device",
60396- 26: "text file busy",
60397- 27: "file too large",
60398- 28: "no space left on device",
60399- 29: "illegal seek",
60400- 30: "read-only file system",
60401- 31: "too many links",
60402- 32: "broken pipe",
60403- 33: "numerical argument out of domain",
60404- 34: "result too large or too small",
60405- 35: "resource temporarily unavailable",
60406- 36: "operation now in progress",
60407- 37: "operation already in progress",
60408- 38: "socket operation on non-socket",
60409- 39: "destination address required",
60410- 40: "message too long",
60411- 41: "protocol wrong type for socket",
60412- 42: "protocol option not available",
60413- 43: "protocol not supported",
60414- 44: "socket type not supported",
60415- 45: "operation not supported",
60416- 46: "protocol family not supported",
60417- 47: "address family not supported by protocol family",
60418- 48: "address already in use",
60419- 49: "can't assign requested address",
60420- 50: "network is down",
60421- 51: "network is unreachable",
60422- 52: "network dropped connection on reset",
60423- 53: "software caused connection abort",
60424- 54: "connection reset by peer",
60425- 55: "no buffer space available",
60426- 56: "socket is already connected",
60427- 57: "socket is not connected",
60428- 58: "can't send after socket shutdown",
60429- 59: "too many references: can't splice",
60430- 60: "connection timed out",
60431- 61: "connection refused",
60432- 62: "too many levels of symbolic links",
60433- 63: "file name too long",
60434- 64: "host is down",
60435- 65: "no route to host",
60436- 66: "directory not empty",
60437- 67: "too many processes",
60438- 68: "too many users",
60439- 69: "disc quota exceeded",
60440- 70: "stale NFS file handle",
60441- 71: "too many levels of remote in path",
60442- 72: "RPC struct is bad",
60443- 73: "RPC version wrong",
60444- 74: "RPC prog. not avail",
60445- 75: "program version wrong",
60446- 76: "bad procedure for program",
60447- 77: "no locks available",
60448- 78: "function not implemented",
60449- 79: "inappropriate file type or format",
60450- 80: "authentication error",
60451- 81: "need authenticator",
60452- 82: "identifier removed",
60453- 83: "no message of desired type",
60454- 84: "value too large to be stored in data type",
60455- 85: "illegal byte sequence",
60456- 86: "not supported",
60457- 87: "operation Canceled",
60458- 88: "bad or Corrupt message",
60459- 89: "no message available",
60460- 90: "no STREAM resources",
60461- 91: "not a STREAM",
60462- 92: "STREAM ioctl timeout",
60463- 93: "attribute not found",
60464- 94: "multihop attempted",
60465- 95: "link has been severed",
60466- 96: "protocol error",
60467+var errorList = [...]struct {
60468+ num syscall.Errno
60469+ name string
60470+ desc string
60471+}{
60472+ {1, "EPERM", "operation not permitted"},
60473+ {2, "ENOENT", "no such file or directory"},
60474+ {3, "ESRCH", "no such process"},
60475+ {4, "EINTR", "interrupted system call"},
60476+ {5, "EIO", "input/output error"},
60477+ {6, "ENXIO", "device not configured"},
60478+ {7, "E2BIG", "argument list too long"},
60479+ {8, "ENOEXEC", "exec format error"},
60480+ {9, "EBADF", "bad file descriptor"},
60481+ {10, "ECHILD", "no child processes"},
60482+ {11, "EDEADLK", "resource deadlock avoided"},
60483+ {12, "ENOMEM", "cannot allocate memory"},
60484+ {13, "EACCES", "permission denied"},
60485+ {14, "EFAULT", "bad address"},
60486+ {15, "ENOTBLK", "block device required"},
60487+ {16, "EBUSY", "device busy"},
60488+ {17, "EEXIST", "file exists"},
60489+ {18, "EXDEV", "cross-device link"},
60490+ {19, "ENODEV", "operation not supported by device"},
60491+ {20, "ENOTDIR", "not a directory"},
60492+ {21, "EISDIR", "is a directory"},
60493+ {22, "EINVAL", "invalid argument"},
60494+ {23, "ENFILE", "too many open files in system"},
60495+ {24, "EMFILE", "too many open files"},
60496+ {25, "ENOTTY", "inappropriate ioctl for device"},
60497+ {26, "ETXTBSY", "text file busy"},
60498+ {27, "EFBIG", "file too large"},
60499+ {28, "ENOSPC", "no space left on device"},
60500+ {29, "ESPIPE", "illegal seek"},
60501+ {30, "EROFS", "read-only file system"},
60502+ {31, "EMLINK", "too many links"},
60503+ {32, "EPIPE", "broken pipe"},
60504+ {33, "EDOM", "numerical argument out of domain"},
60505+ {34, "ERANGE", "result too large or too small"},
60506+ {35, "EAGAIN", "resource temporarily unavailable"},
60507+ {36, "EINPROGRESS", "operation now in progress"},
60508+ {37, "EALREADY", "operation already in progress"},
60509+ {38, "ENOTSOCK", "socket operation on non-socket"},
60510+ {39, "EDESTADDRREQ", "destination address required"},
60511+ {40, "EMSGSIZE", "message too long"},
60512+ {41, "EPROTOTYPE", "protocol wrong type for socket"},
60513+ {42, "ENOPROTOOPT", "protocol option not available"},
60514+ {43, "EPROTONOSUPPORT", "protocol not supported"},
60515+ {44, "ESOCKTNOSUPPORT", "socket type not supported"},
60516+ {45, "EOPNOTSUPP", "operation not supported"},
60517+ {46, "EPFNOSUPPORT", "protocol family not supported"},
60518+ {47, "EAFNOSUPPORT", "address family not supported by protocol family"},
60519+ {48, "EADDRINUSE", "address already in use"},
60520+ {49, "EADDRNOTAVAIL", "can't assign requested address"},
60521+ {50, "ENETDOWN", "network is down"},
60522+ {51, "ENETUNREACH", "network is unreachable"},
60523+ {52, "ENETRESET", "network dropped connection on reset"},
60524+ {53, "ECONNABORTED", "software caused connection abort"},
60525+ {54, "ECONNRESET", "connection reset by peer"},
60526+ {55, "ENOBUFS", "no buffer space available"},
60527+ {56, "EISCONN", "socket is already connected"},
60528+ {57, "ENOTCONN", "socket is not connected"},
60529+ {58, "ESHUTDOWN", "can't send after socket shutdown"},
60530+ {59, "ETOOMANYREFS", "too many references: can't splice"},
60531+ {60, "ETIMEDOUT", "connection timed out"},
60532+ {61, "ECONNREFUSED", "connection refused"},
60533+ {62, "ELOOP", "too many levels of symbolic links"},
60534+ {63, "ENAMETOOLONG", "file name too long"},
60535+ {64, "EHOSTDOWN", "host is down"},
60536+ {65, "EHOSTUNREACH", "no route to host"},
60537+ {66, "ENOTEMPTY", "directory not empty"},
60538+ {67, "EPROCLIM", "too many processes"},
60539+ {68, "EUSERS", "too many users"},
60540+ {69, "EDQUOT", "disc quota exceeded"},
60541+ {70, "ESTALE", "stale NFS file handle"},
60542+ {71, "EREMOTE", "too many levels of remote in path"},
60543+ {72, "EBADRPC", "RPC struct is bad"},
60544+ {73, "ERPCMISMATCH", "RPC version wrong"},
60545+ {74, "EPROGUNAVAIL", "RPC prog. not avail"},
60546+ {75, "EPROGMISMATCH", "program version wrong"},
60547+ {76, "EPROCUNAVAIL", "bad procedure for program"},
60548+ {77, "ENOLCK", "no locks available"},
60549+ {78, "ENOSYS", "function not implemented"},
60550+ {79, "EFTYPE", "inappropriate file type or format"},
60551+ {80, "EAUTH", "authentication error"},
60552+ {81, "ENEEDAUTH", "need authenticator"},
60553+ {82, "EIDRM", "identifier removed"},
60554+ {83, "ENOMSG", "no message of desired type"},
60555+ {84, "EOVERFLOW", "value too large to be stored in data type"},
60556+ {85, "EILSEQ", "illegal byte sequence"},
60557+ {86, "ENOTSUP", "not supported"},
60558+ {87, "ECANCELED", "operation Canceled"},
60559+ {88, "EBADMSG", "bad or Corrupt message"},
60560+ {89, "ENODATA", "no message available"},
60561+ {90, "ENOSR", "no STREAM resources"},
60562+ {91, "ENOSTR", "not a STREAM"},
60563+ {92, "ETIME", "STREAM ioctl timeout"},
60564+ {93, "ENOATTR", "attribute not found"},
60565+ {94, "EMULTIHOP", "multihop attempted"},
60566+ {95, "ENOLINK", "link has been severed"},
60567+ {96, "ELAST", "protocol error"},
60568 }
60569
60570 // Signal table
60571-var signals = [...]string{
60572- 1: "hangup",
60573- 2: "interrupt",
60574- 3: "quit",
60575- 4: "illegal instruction",
60576- 5: "trace/BPT trap",
60577- 6: "abort trap",
60578- 7: "EMT trap",
60579- 8: "floating point exception",
60580- 9: "killed",
60581- 10: "bus error",
60582- 11: "segmentation fault",
60583- 12: "bad system call",
60584- 13: "broken pipe",
60585- 14: "alarm clock",
60586- 15: "terminated",
60587- 16: "urgent I/O condition",
60588- 17: "stopped (signal)",
60589- 18: "stopped",
60590- 19: "continued",
60591- 20: "child exited",
60592- 21: "stopped (tty input)",
60593- 22: "stopped (tty output)",
60594- 23: "I/O possible",
60595- 24: "cputime limit exceeded",
60596- 25: "filesize limit exceeded",
60597- 26: "virtual timer expired",
60598- 27: "profiling timer expired",
60599- 28: "window size changes",
60600- 29: "information request",
60601- 30: "user defined signal 1",
60602- 31: "user defined signal 2",
60603- 32: "power fail/restart",
60604+var signalList = [...]struct {
60605+ num syscall.Signal
60606+ name string
60607+ desc string
60608+}{
60609+ {1, "SIGHUP", "hangup"},
60610+ {2, "SIGINT", "interrupt"},
60611+ {3, "SIGQUIT", "quit"},
60612+ {4, "SIGILL", "illegal instruction"},
60613+ {5, "SIGTRAP", "trace/BPT trap"},
60614+ {6, "SIGIOT", "abort trap"},
60615+ {7, "SIGEMT", "EMT trap"},
60616+ {8, "SIGFPE", "floating point exception"},
60617+ {9, "SIGKILL", "killed"},
60618+ {10, "SIGBUS", "bus error"},
60619+ {11, "SIGSEGV", "segmentation fault"},
60620+ {12, "SIGSYS", "bad system call"},
60621+ {13, "SIGPIPE", "broken pipe"},
60622+ {14, "SIGALRM", "alarm clock"},
60623+ {15, "SIGTERM", "terminated"},
60624+ {16, "SIGURG", "urgent I/O condition"},
60625+ {17, "SIGSTOP", "stopped (signal)"},
60626+ {18, "SIGTSTP", "stopped"},
60627+ {19, "SIGCONT", "continued"},
60628+ {20, "SIGCHLD", "child exited"},
60629+ {21, "SIGTTIN", "stopped (tty input)"},
60630+ {22, "SIGTTOU", "stopped (tty output)"},
60631+ {23, "SIGIO", "I/O possible"},
60632+ {24, "SIGXCPU", "cputime limit exceeded"},
60633+ {25, "SIGXFSZ", "filesize limit exceeded"},
60634+ {26, "SIGVTALRM", "virtual timer expired"},
60635+ {27, "SIGPROF", "profiling timer expired"},
60636+ {28, "SIGWINCH", "window size changes"},
60637+ {29, "SIGINFO", "information request"},
60638+ {30, "SIGUSR1", "user defined signal 1"},
60639+ {31, "SIGUSR2", "user defined signal 2"},
60640+ {32, "SIGPWR", "power fail/restart"},
60641 }
60642diff --git a/vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go
60643index 4994437b..ed522a84 100644
60644--- a/vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go
60645+++ b/vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go
60646@@ -1,9 +1,9 @@
60647 // mkerrors.sh -m64
60648-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
60649+// Code generated by the command above; see README.md. DO NOT EDIT.
60650
60651 // +build amd64,netbsd
60652
60653-// Created by cgo -godefs - DO NOT EDIT
60654+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
60655 // cgo -godefs -- -m64 _const.go
60656
60657 package unix
60658@@ -159,6 +159,7 @@ const (
60659 CLONE_VFORK = 0x4000
60660 CLONE_VM = 0x100
60661 CREAD = 0x800
60662+ CRTSCTS = 0x10000
60663 CS5 = 0x0
60664 CS6 = 0x100
60665 CS7 = 0x200
60666@@ -169,6 +170,8 @@ const (
60667 CSTOP = 0x13
60668 CSTOPB = 0x400
60669 CSUSP = 0x1a
60670+ CTL_HW = 0x6
60671+ CTL_KERN = 0x1
60672 CTL_MAXNAME = 0xc
60673 CTL_NET = 0x4
60674 CTL_QUERY = -0x2
60675@@ -537,6 +540,10 @@ const (
60676 EV_ONESHOT = 0x10
60677 EV_SYSFLAGS = 0xf000
60678 EXTA = 0x4b00
60679+ EXTATTR_CMD_START = 0x1
60680+ EXTATTR_CMD_STOP = 0x2
60681+ EXTATTR_NAMESPACE_SYSTEM = 0x2
60682+ EXTATTR_NAMESPACE_USER = 0x1
60683 EXTB = 0x9600
60684 EXTPROC = 0x800
60685 FD_CLOEXEC = 0x1
60686@@ -571,6 +578,7 @@ const (
60687 F_UNLCK = 0x2
60688 F_WRLCK = 0x3
60689 HUPCL = 0x4000
60690+ HW_MACHINE = 0x1
60691 ICANON = 0x100
60692 ICMP6_FILTER = 0x12
60693 ICRNL = 0x100
60694@@ -960,6 +968,10 @@ const (
60695 IXANY = 0x800
60696 IXOFF = 0x400
60697 IXON = 0x200
60698+ KERN_HOSTNAME = 0xa
60699+ KERN_OSRELEASE = 0x2
60700+ KERN_OSTYPE = 0x1
60701+ KERN_VERSION = 0x4
60702 LOCK_EX = 0x2
60703 LOCK_NB = 0x4
60704 LOCK_SH = 0x1
60705@@ -998,6 +1010,43 @@ const (
60706 MAP_WIRED = 0x800
60707 MCL_CURRENT = 0x1
60708 MCL_FUTURE = 0x2
60709+ MNT_ASYNC = 0x40
60710+ MNT_BASIC_FLAGS = 0xe782807f
60711+ MNT_DEFEXPORTED = 0x200
60712+ MNT_DISCARD = 0x800000
60713+ MNT_EXKERB = 0x800
60714+ MNT_EXNORESPORT = 0x8000000
60715+ MNT_EXPORTANON = 0x400
60716+ MNT_EXPORTED = 0x100
60717+ MNT_EXPUBLIC = 0x10000000
60718+ MNT_EXRDONLY = 0x80
60719+ MNT_EXTATTR = 0x1000000
60720+ MNT_FORCE = 0x80000
60721+ MNT_GETARGS = 0x400000
60722+ MNT_IGNORE = 0x100000
60723+ MNT_LAZY = 0x3
60724+ MNT_LOCAL = 0x1000
60725+ MNT_LOG = 0x2000000
60726+ MNT_NOATIME = 0x4000000
60727+ MNT_NOCOREDUMP = 0x8000
60728+ MNT_NODEV = 0x10
60729+ MNT_NODEVMTIME = 0x40000000
60730+ MNT_NOEXEC = 0x4
60731+ MNT_NOSUID = 0x8
60732+ MNT_NOWAIT = 0x2
60733+ MNT_OP_FLAGS = 0x4d0000
60734+ MNT_QUOTA = 0x2000
60735+ MNT_RDONLY = 0x1
60736+ MNT_RELATIME = 0x20000
60737+ MNT_RELOAD = 0x40000
60738+ MNT_ROOTFS = 0x4000
60739+ MNT_SOFTDEP = 0x80000000
60740+ MNT_SYMPERM = 0x20000000
60741+ MNT_SYNCHRONOUS = 0x2
60742+ MNT_UNION = 0x20
60743+ MNT_UPDATE = 0x10000
60744+ MNT_VISFLAGMASK = 0xff90ffff
60745+ MNT_WAIT = 0x1
60746 MSG_BCAST = 0x100
60747 MSG_CMSG_CLOEXEC = 0x800
60748 MSG_CONTROLMBUF = 0x2000000
60749@@ -1026,6 +1075,7 @@ const (
60750 NET_RT_MAXID = 0x6
60751 NET_RT_OIFLIST = 0x4
60752 NET_RT_OOIFLIST = 0x3
60753+ NFDBITS = 0x20
60754 NOFLSH = 0x80000000
60755 NOTE_ATTRIB = 0x8
60756 NOTE_CHILD = 0x4
60757@@ -1091,7 +1141,10 @@ const (
60758 RLIMIT_CPU = 0x0
60759 RLIMIT_DATA = 0x2
60760 RLIMIT_FSIZE = 0x1
60761+ RLIMIT_MEMLOCK = 0x6
60762 RLIMIT_NOFILE = 0x8
60763+ RLIMIT_NPROC = 0x7
60764+ RLIMIT_RSS = 0x5
60765 RLIMIT_STACK = 0x3
60766 RLIM_INFINITY = 0x7fffffffffffffff
60767 RTAX_AUTHOR = 0x6
60768@@ -1566,137 +1619,145 @@ const (
60769 )
60770
60771 // Error table
60772-var errors = [...]string{
60773- 1: "operation not permitted",
60774- 2: "no such file or directory",
60775- 3: "no such process",
60776- 4: "interrupted system call",
60777- 5: "input/output error",
60778- 6: "device not configured",
60779- 7: "argument list too long",
60780- 8: "exec format error",
60781- 9: "bad file descriptor",
60782- 10: "no child processes",
60783- 11: "resource deadlock avoided",
60784- 12: "cannot allocate memory",
60785- 13: "permission denied",
60786- 14: "bad address",
60787- 15: "block device required",
60788- 16: "device busy",
60789- 17: "file exists",
60790- 18: "cross-device link",
60791- 19: "operation not supported by device",
60792- 20: "not a directory",
60793- 21: "is a directory",
60794- 22: "invalid argument",
60795- 23: "too many open files in system",
60796- 24: "too many open files",
60797- 25: "inappropriate ioctl for device",
60798- 26: "text file busy",
60799- 27: "file too large",
60800- 28: "no space left on device",
60801- 29: "illegal seek",
60802- 30: "read-only file system",
60803- 31: "too many links",
60804- 32: "broken pipe",
60805- 33: "numerical argument out of domain",
60806- 34: "result too large or too small",
60807- 35: "resource temporarily unavailable",
60808- 36: "operation now in progress",
60809- 37: "operation already in progress",
60810- 38: "socket operation on non-socket",
60811- 39: "destination address required",
60812- 40: "message too long",
60813- 41: "protocol wrong type for socket",
60814- 42: "protocol option not available",
60815- 43: "protocol not supported",
60816- 44: "socket type not supported",
60817- 45: "operation not supported",
60818- 46: "protocol family not supported",
60819- 47: "address family not supported by protocol family",
60820- 48: "address already in use",
60821- 49: "can't assign requested address",
60822- 50: "network is down",
60823- 51: "network is unreachable",
60824- 52: "network dropped connection on reset",
60825- 53: "software caused connection abort",
60826- 54: "connection reset by peer",
60827- 55: "no buffer space available",
60828- 56: "socket is already connected",
60829- 57: "socket is not connected",
60830- 58: "can't send after socket shutdown",
60831- 59: "too many references: can't splice",
60832- 60: "connection timed out",
60833- 61: "connection refused",
60834- 62: "too many levels of symbolic links",
60835- 63: "file name too long",
60836- 64: "host is down",
60837- 65: "no route to host",
60838- 66: "directory not empty",
60839- 67: "too many processes",
60840- 68: "too many users",
60841- 69: "disc quota exceeded",
60842- 70: "stale NFS file handle",
60843- 71: "too many levels of remote in path",
60844- 72: "RPC struct is bad",
60845- 73: "RPC version wrong",
60846- 74: "RPC prog. not avail",
60847- 75: "program version wrong",
60848- 76: "bad procedure for program",
60849- 77: "no locks available",
60850- 78: "function not implemented",
60851- 79: "inappropriate file type or format",
60852- 80: "authentication error",
60853- 81: "need authenticator",
60854- 82: "identifier removed",
60855- 83: "no message of desired type",
60856- 84: "value too large to be stored in data type",
60857- 85: "illegal byte sequence",
60858- 86: "not supported",
60859- 87: "operation Canceled",
60860- 88: "bad or Corrupt message",
60861- 89: "no message available",
60862- 90: "no STREAM resources",
60863- 91: "not a STREAM",
60864- 92: "STREAM ioctl timeout",
60865- 93: "attribute not found",
60866- 94: "multihop attempted",
60867- 95: "link has been severed",
60868- 96: "protocol error",
60869+var errorList = [...]struct {
60870+ num syscall.Errno
60871+ name string
60872+ desc string
60873+}{
60874+ {1, "EPERM", "operation not permitted"},
60875+ {2, "ENOENT", "no such file or directory"},
60876+ {3, "ESRCH", "no such process"},
60877+ {4, "EINTR", "interrupted system call"},
60878+ {5, "EIO", "input/output error"},
60879+ {6, "ENXIO", "device not configured"},
60880+ {7, "E2BIG", "argument list too long"},
60881+ {8, "ENOEXEC", "exec format error"},
60882+ {9, "EBADF", "bad file descriptor"},
60883+ {10, "ECHILD", "no child processes"},
60884+ {11, "EDEADLK", "resource deadlock avoided"},
60885+ {12, "ENOMEM", "cannot allocate memory"},
60886+ {13, "EACCES", "permission denied"},
60887+ {14, "EFAULT", "bad address"},
60888+ {15, "ENOTBLK", "block device required"},
60889+ {16, "EBUSY", "device busy"},
60890+ {17, "EEXIST", "file exists"},
60891+ {18, "EXDEV", "cross-device link"},
60892+ {19, "ENODEV", "operation not supported by device"},
60893+ {20, "ENOTDIR", "not a directory"},
60894+ {21, "EISDIR", "is a directory"},
60895+ {22, "EINVAL", "invalid argument"},
60896+ {23, "ENFILE", "too many open files in system"},
60897+ {24, "EMFILE", "too many open files"},
60898+ {25, "ENOTTY", "inappropriate ioctl for device"},
60899+ {26, "ETXTBSY", "text file busy"},
60900+ {27, "EFBIG", "file too large"},
60901+ {28, "ENOSPC", "no space left on device"},
60902+ {29, "ESPIPE", "illegal seek"},
60903+ {30, "EROFS", "read-only file system"},
60904+ {31, "EMLINK", "too many links"},
60905+ {32, "EPIPE", "broken pipe"},
60906+ {33, "EDOM", "numerical argument out of domain"},
60907+ {34, "ERANGE", "result too large or too small"},
60908+ {35, "EAGAIN", "resource temporarily unavailable"},
60909+ {36, "EINPROGRESS", "operation now in progress"},
60910+ {37, "EALREADY", "operation already in progress"},
60911+ {38, "ENOTSOCK", "socket operation on non-socket"},
60912+ {39, "EDESTADDRREQ", "destination address required"},
60913+ {40, "EMSGSIZE", "message too long"},
60914+ {41, "EPROTOTYPE", "protocol wrong type for socket"},
60915+ {42, "ENOPROTOOPT", "protocol option not available"},
60916+ {43, "EPROTONOSUPPORT", "protocol not supported"},
60917+ {44, "ESOCKTNOSUPPORT", "socket type not supported"},
60918+ {45, "EOPNOTSUPP", "operation not supported"},
60919+ {46, "EPFNOSUPPORT", "protocol family not supported"},
60920+ {47, "EAFNOSUPPORT", "address family not supported by protocol family"},
60921+ {48, "EADDRINUSE", "address already in use"},
60922+ {49, "EADDRNOTAVAIL", "can't assign requested address"},
60923+ {50, "ENETDOWN", "network is down"},
60924+ {51, "ENETUNREACH", "network is unreachable"},
60925+ {52, "ENETRESET", "network dropped connection on reset"},
60926+ {53, "ECONNABORTED", "software caused connection abort"},
60927+ {54, "ECONNRESET", "connection reset by peer"},
60928+ {55, "ENOBUFS", "no buffer space available"},
60929+ {56, "EISCONN", "socket is already connected"},
60930+ {57, "ENOTCONN", "socket is not connected"},
60931+ {58, "ESHUTDOWN", "can't send after socket shutdown"},
60932+ {59, "ETOOMANYREFS", "too many references: can't splice"},
60933+ {60, "ETIMEDOUT", "connection timed out"},
60934+ {61, "ECONNREFUSED", "connection refused"},
60935+ {62, "ELOOP", "too many levels of symbolic links"},
60936+ {63, "ENAMETOOLONG", "file name too long"},
60937+ {64, "EHOSTDOWN", "host is down"},
60938+ {65, "EHOSTUNREACH", "no route to host"},
60939+ {66, "ENOTEMPTY", "directory not empty"},
60940+ {67, "EPROCLIM", "too many processes"},
60941+ {68, "EUSERS", "too many users"},
60942+ {69, "EDQUOT", "disc quota exceeded"},
60943+ {70, "ESTALE", "stale NFS file handle"},
60944+ {71, "EREMOTE", "too many levels of remote in path"},
60945+ {72, "EBADRPC", "RPC struct is bad"},
60946+ {73, "ERPCMISMATCH", "RPC version wrong"},
60947+ {74, "EPROGUNAVAIL", "RPC prog. not avail"},
60948+ {75, "EPROGMISMATCH", "program version wrong"},
60949+ {76, "EPROCUNAVAIL", "bad procedure for program"},
60950+ {77, "ENOLCK", "no locks available"},
60951+ {78, "ENOSYS", "function not implemented"},
60952+ {79, "EFTYPE", "inappropriate file type or format"},
60953+ {80, "EAUTH", "authentication error"},
60954+ {81, "ENEEDAUTH", "need authenticator"},
60955+ {82, "EIDRM", "identifier removed"},
60956+ {83, "ENOMSG", "no message of desired type"},
60957+ {84, "EOVERFLOW", "value too large to be stored in data type"},
60958+ {85, "EILSEQ", "illegal byte sequence"},
60959+ {86, "ENOTSUP", "not supported"},
60960+ {87, "ECANCELED", "operation Canceled"},
60961+ {88, "EBADMSG", "bad or Corrupt message"},
60962+ {89, "ENODATA", "no message available"},
60963+ {90, "ENOSR", "no STREAM resources"},
60964+ {91, "ENOSTR", "not a STREAM"},
60965+ {92, "ETIME", "STREAM ioctl timeout"},
60966+ {93, "ENOATTR", "attribute not found"},
60967+ {94, "EMULTIHOP", "multihop attempted"},
60968+ {95, "ENOLINK", "link has been severed"},
60969+ {96, "ELAST", "protocol error"},
60970 }
60971
60972 // Signal table
60973-var signals = [...]string{
60974- 1: "hangup",
60975- 2: "interrupt",
60976- 3: "quit",
60977- 4: "illegal instruction",
60978- 5: "trace/BPT trap",
60979- 6: "abort trap",
60980- 7: "EMT trap",
60981- 8: "floating point exception",
60982- 9: "killed",
60983- 10: "bus error",
60984- 11: "segmentation fault",
60985- 12: "bad system call",
60986- 13: "broken pipe",
60987- 14: "alarm clock",
60988- 15: "terminated",
60989- 16: "urgent I/O condition",
60990- 17: "stopped (signal)",
60991- 18: "stopped",
60992- 19: "continued",
60993- 20: "child exited",
60994- 21: "stopped (tty input)",
60995- 22: "stopped (tty output)",
60996- 23: "I/O possible",
60997- 24: "cputime limit exceeded",
60998- 25: "filesize limit exceeded",
60999- 26: "virtual timer expired",
61000- 27: "profiling timer expired",
61001- 28: "window size changes",
61002- 29: "information request",
61003- 30: "user defined signal 1",
61004- 31: "user defined signal 2",
61005- 32: "power fail/restart",
61006+var signalList = [...]struct {
61007+ num syscall.Signal
61008+ name string
61009+ desc string
61010+}{
61011+ {1, "SIGHUP", "hangup"},
61012+ {2, "SIGINT", "interrupt"},
61013+ {3, "SIGQUIT", "quit"},
61014+ {4, "SIGILL", "illegal instruction"},
61015+ {5, "SIGTRAP", "trace/BPT trap"},
61016+ {6, "SIGIOT", "abort trap"},
61017+ {7, "SIGEMT", "EMT trap"},
61018+ {8, "SIGFPE", "floating point exception"},
61019+ {9, "SIGKILL", "killed"},
61020+ {10, "SIGBUS", "bus error"},
61021+ {11, "SIGSEGV", "segmentation fault"},
61022+ {12, "SIGSYS", "bad system call"},
61023+ {13, "SIGPIPE", "broken pipe"},
61024+ {14, "SIGALRM", "alarm clock"},
61025+ {15, "SIGTERM", "terminated"},
61026+ {16, "SIGURG", "urgent I/O condition"},
61027+ {17, "SIGSTOP", "stopped (signal)"},
61028+ {18, "SIGTSTP", "stopped"},
61029+ {19, "SIGCONT", "continued"},
61030+ {20, "SIGCHLD", "child exited"},
61031+ {21, "SIGTTIN", "stopped (tty input)"},
61032+ {22, "SIGTTOU", "stopped (tty output)"},
61033+ {23, "SIGIO", "I/O possible"},
61034+ {24, "SIGXCPU", "cputime limit exceeded"},
61035+ {25, "SIGXFSZ", "filesize limit exceeded"},
61036+ {26, "SIGVTALRM", "virtual timer expired"},
61037+ {27, "SIGPROF", "profiling timer expired"},
61038+ {28, "SIGWINCH", "window size changes"},
61039+ {29, "SIGINFO", "information request"},
61040+ {30, "SIGUSR1", "user defined signal 1"},
61041+ {31, "SIGUSR2", "user defined signal 2"},
61042+ {32, "SIGPWR", "power fail/restart"},
61043 }
61044diff --git a/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go b/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go
61045index 206c75f0..c8d36fe9 100644
61046--- a/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go
61047+++ b/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go
61048@@ -1,9 +1,9 @@
61049 // mkerrors.sh -marm
61050-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
61051+// Code generated by the command above; see README.md. DO NOT EDIT.
61052
61053 // +build arm,netbsd
61054
61055-// Created by cgo -godefs - DO NOT EDIT
61056+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
61057 // cgo -godefs -- -marm _const.go
61058
61059 package unix
61060@@ -151,6 +151,7 @@ const (
61061 CFLUSH = 0xf
61062 CLOCAL = 0x8000
61063 CREAD = 0x800
61064+ CRTSCTS = 0x10000
61065 CS5 = 0x0
61066 CS6 = 0x100
61067 CS7 = 0x200
61068@@ -161,6 +162,8 @@ const (
61069 CSTOP = 0x13
61070 CSTOPB = 0x400
61071 CSUSP = 0x1a
61072+ CTL_HW = 0x6
61073+ CTL_KERN = 0x1
61074 CTL_MAXNAME = 0xc
61075 CTL_NET = 0x4
61076 CTL_QUERY = -0x2
61077@@ -529,6 +532,10 @@ const (
61078 EV_ONESHOT = 0x10
61079 EV_SYSFLAGS = 0xf000
61080 EXTA = 0x4b00
61081+ EXTATTR_CMD_START = 0x1
61082+ EXTATTR_CMD_STOP = 0x2
61083+ EXTATTR_NAMESPACE_SYSTEM = 0x2
61084+ EXTATTR_NAMESPACE_USER = 0x1
61085 EXTB = 0x9600
61086 EXTPROC = 0x800
61087 FD_CLOEXEC = 0x1
61088@@ -563,6 +570,7 @@ const (
61089 F_UNLCK = 0x2
61090 F_WRLCK = 0x3
61091 HUPCL = 0x4000
61092+ HW_MACHINE = 0x1
61093 ICANON = 0x100
61094 ICMP6_FILTER = 0x12
61095 ICRNL = 0x100
61096@@ -952,6 +960,10 @@ const (
61097 IXANY = 0x800
61098 IXOFF = 0x400
61099 IXON = 0x200
61100+ KERN_HOSTNAME = 0xa
61101+ KERN_OSRELEASE = 0x2
61102+ KERN_OSTYPE = 0x1
61103+ KERN_VERSION = 0x4
61104 LOCK_EX = 0x2
61105 LOCK_NB = 0x4
61106 LOCK_SH = 0x1
61107@@ -988,6 +1000,43 @@ const (
61108 MAP_STACK = 0x2000
61109 MAP_TRYFIXED = 0x400
61110 MAP_WIRED = 0x800
61111+ MNT_ASYNC = 0x40
61112+ MNT_BASIC_FLAGS = 0xe782807f
61113+ MNT_DEFEXPORTED = 0x200
61114+ MNT_DISCARD = 0x800000
61115+ MNT_EXKERB = 0x800
61116+ MNT_EXNORESPORT = 0x8000000
61117+ MNT_EXPORTANON = 0x400
61118+ MNT_EXPORTED = 0x100
61119+ MNT_EXPUBLIC = 0x10000000
61120+ MNT_EXRDONLY = 0x80
61121+ MNT_EXTATTR = 0x1000000
61122+ MNT_FORCE = 0x80000
61123+ MNT_GETARGS = 0x400000
61124+ MNT_IGNORE = 0x100000
61125+ MNT_LAZY = 0x3
61126+ MNT_LOCAL = 0x1000
61127+ MNT_LOG = 0x2000000
61128+ MNT_NOATIME = 0x4000000
61129+ MNT_NOCOREDUMP = 0x8000
61130+ MNT_NODEV = 0x10
61131+ MNT_NODEVMTIME = 0x40000000
61132+ MNT_NOEXEC = 0x4
61133+ MNT_NOSUID = 0x8
61134+ MNT_NOWAIT = 0x2
61135+ MNT_OP_FLAGS = 0x4d0000
61136+ MNT_QUOTA = 0x2000
61137+ MNT_RDONLY = 0x1
61138+ MNT_RELATIME = 0x20000
61139+ MNT_RELOAD = 0x40000
61140+ MNT_ROOTFS = 0x4000
61141+ MNT_SOFTDEP = 0x80000000
61142+ MNT_SYMPERM = 0x20000000
61143+ MNT_SYNCHRONOUS = 0x2
61144+ MNT_UNION = 0x20
61145+ MNT_UPDATE = 0x10000
61146+ MNT_VISFLAGMASK = 0xff90ffff
61147+ MNT_WAIT = 0x1
61148 MSG_BCAST = 0x100
61149 MSG_CMSG_CLOEXEC = 0x800
61150 MSG_CONTROLMBUF = 0x2000000
61151@@ -1016,6 +1065,7 @@ const (
61152 NET_RT_MAXID = 0x6
61153 NET_RT_OIFLIST = 0x4
61154 NET_RT_OOIFLIST = 0x3
61155+ NFDBITS = 0x20
61156 NOFLSH = 0x80000000
61157 NOTE_ATTRIB = 0x8
61158 NOTE_CHILD = 0x4
61159@@ -1081,7 +1131,10 @@ const (
61160 RLIMIT_CPU = 0x0
61161 RLIMIT_DATA = 0x2
61162 RLIMIT_FSIZE = 0x1
61163+ RLIMIT_MEMLOCK = 0x6
61164 RLIMIT_NOFILE = 0x8
61165+ RLIMIT_NPROC = 0x7
61166+ RLIMIT_RSS = 0x5
61167 RLIMIT_STACK = 0x3
61168 RLIM_INFINITY = 0x7fffffffffffffff
61169 RTAX_AUTHOR = 0x6
61170@@ -1555,137 +1608,145 @@ const (
61171 )
61172
61173 // Error table
61174-var errors = [...]string{
61175- 1: "operation not permitted",
61176- 2: "no such file or directory",
61177- 3: "no such process",
61178- 4: "interrupted system call",
61179- 5: "input/output error",
61180- 6: "device not configured",
61181- 7: "argument list too long",
61182- 8: "exec format error",
61183- 9: "bad file descriptor",
61184- 10: "no child processes",
61185- 11: "resource deadlock avoided",
61186- 12: "cannot allocate memory",
61187- 13: "permission denied",
61188- 14: "bad address",
61189- 15: "block device required",
61190- 16: "device busy",
61191- 17: "file exists",
61192- 18: "cross-device link",
61193- 19: "operation not supported by device",
61194- 20: "not a directory",
61195- 21: "is a directory",
61196- 22: "invalid argument",
61197- 23: "too many open files in system",
61198- 24: "too many open files",
61199- 25: "inappropriate ioctl for device",
61200- 26: "text file busy",
61201- 27: "file too large",
61202- 28: "no space left on device",
61203- 29: "illegal seek",
61204- 30: "read-only file system",
61205- 31: "too many links",
61206- 32: "broken pipe",
61207- 33: "numerical argument out of domain",
61208- 34: "result too large or too small",
61209- 35: "resource temporarily unavailable",
61210- 36: "operation now in progress",
61211- 37: "operation already in progress",
61212- 38: "socket operation on non-socket",
61213- 39: "destination address required",
61214- 40: "message too long",
61215- 41: "protocol wrong type for socket",
61216- 42: "protocol option not available",
61217- 43: "protocol not supported",
61218- 44: "socket type not supported",
61219- 45: "operation not supported",
61220- 46: "protocol family not supported",
61221- 47: "address family not supported by protocol family",
61222- 48: "address already in use",
61223- 49: "can't assign requested address",
61224- 50: "network is down",
61225- 51: "network is unreachable",
61226- 52: "network dropped connection on reset",
61227- 53: "software caused connection abort",
61228- 54: "connection reset by peer",
61229- 55: "no buffer space available",
61230- 56: "socket is already connected",
61231- 57: "socket is not connected",
61232- 58: "can't send after socket shutdown",
61233- 59: "too many references: can't splice",
61234- 60: "connection timed out",
61235- 61: "connection refused",
61236- 62: "too many levels of symbolic links",
61237- 63: "file name too long",
61238- 64: "host is down",
61239- 65: "no route to host",
61240- 66: "directory not empty",
61241- 67: "too many processes",
61242- 68: "too many users",
61243- 69: "disc quota exceeded",
61244- 70: "stale NFS file handle",
61245- 71: "too many levels of remote in path",
61246- 72: "RPC struct is bad",
61247- 73: "RPC version wrong",
61248- 74: "RPC prog. not avail",
61249- 75: "program version wrong",
61250- 76: "bad procedure for program",
61251- 77: "no locks available",
61252- 78: "function not implemented",
61253- 79: "inappropriate file type or format",
61254- 80: "authentication error",
61255- 81: "need authenticator",
61256- 82: "identifier removed",
61257- 83: "no message of desired type",
61258- 84: "value too large to be stored in data type",
61259- 85: "illegal byte sequence",
61260- 86: "not supported",
61261- 87: "operation Canceled",
61262- 88: "bad or Corrupt message",
61263- 89: "no message available",
61264- 90: "no STREAM resources",
61265- 91: "not a STREAM",
61266- 92: "STREAM ioctl timeout",
61267- 93: "attribute not found",
61268- 94: "multihop attempted",
61269- 95: "link has been severed",
61270- 96: "protocol error",
61271+var errorList = [...]struct {
61272+ num syscall.Errno
61273+ name string
61274+ desc string
61275+}{
61276+ {1, "EPERM", "operation not permitted"},
61277+ {2, "ENOENT", "no such file or directory"},
61278+ {3, "ESRCH", "no such process"},
61279+ {4, "EINTR", "interrupted system call"},
61280+ {5, "EIO", "input/output error"},
61281+ {6, "ENXIO", "device not configured"},
61282+ {7, "E2BIG", "argument list too long"},
61283+ {8, "ENOEXEC", "exec format error"},
61284+ {9, "EBADF", "bad file descriptor"},
61285+ {10, "ECHILD", "no child processes"},
61286+ {11, "EDEADLK", "resource deadlock avoided"},
61287+ {12, "ENOMEM", "cannot allocate memory"},
61288+ {13, "EACCES", "permission denied"},
61289+ {14, "EFAULT", "bad address"},
61290+ {15, "ENOTBLK", "block device required"},
61291+ {16, "EBUSY", "device busy"},
61292+ {17, "EEXIST", "file exists"},
61293+ {18, "EXDEV", "cross-device link"},
61294+ {19, "ENODEV", "operation not supported by device"},
61295+ {20, "ENOTDIR", "not a directory"},
61296+ {21, "EISDIR", "is a directory"},
61297+ {22, "EINVAL", "invalid argument"},
61298+ {23, "ENFILE", "too many open files in system"},
61299+ {24, "EMFILE", "too many open files"},
61300+ {25, "ENOTTY", "inappropriate ioctl for device"},
61301+ {26, "ETXTBSY", "text file busy"},
61302+ {27, "EFBIG", "file too large"},
61303+ {28, "ENOSPC", "no space left on device"},
61304+ {29, "ESPIPE", "illegal seek"},
61305+ {30, "EROFS", "read-only file system"},
61306+ {31, "EMLINK", "too many links"},
61307+ {32, "EPIPE", "broken pipe"},
61308+ {33, "EDOM", "numerical argument out of domain"},
61309+ {34, "ERANGE", "result too large or too small"},
61310+ {35, "EAGAIN", "resource temporarily unavailable"},
61311+ {36, "EINPROGRESS", "operation now in progress"},
61312+ {37, "EALREADY", "operation already in progress"},
61313+ {38, "ENOTSOCK", "socket operation on non-socket"},
61314+ {39, "EDESTADDRREQ", "destination address required"},
61315+ {40, "EMSGSIZE", "message too long"},
61316+ {41, "EPROTOTYPE", "protocol wrong type for socket"},
61317+ {42, "ENOPROTOOPT", "protocol option not available"},
61318+ {43, "EPROTONOSUPPORT", "protocol not supported"},
61319+ {44, "ESOCKTNOSUPPORT", "socket type not supported"},
61320+ {45, "EOPNOTSUPP", "operation not supported"},
61321+ {46, "EPFNOSUPPORT", "protocol family not supported"},
61322+ {47, "EAFNOSUPPORT", "address family not supported by protocol family"},
61323+ {48, "EADDRINUSE", "address already in use"},
61324+ {49, "EADDRNOTAVAIL", "can't assign requested address"},
61325+ {50, "ENETDOWN", "network is down"},
61326+ {51, "ENETUNREACH", "network is unreachable"},
61327+ {52, "ENETRESET", "network dropped connection on reset"},
61328+ {53, "ECONNABORTED", "software caused connection abort"},
61329+ {54, "ECONNRESET", "connection reset by peer"},
61330+ {55, "ENOBUFS", "no buffer space available"},
61331+ {56, "EISCONN", "socket is already connected"},
61332+ {57, "ENOTCONN", "socket is not connected"},
61333+ {58, "ESHUTDOWN", "can't send after socket shutdown"},
61334+ {59, "ETOOMANYREFS", "too many references: can't splice"},
61335+ {60, "ETIMEDOUT", "connection timed out"},
61336+ {61, "ECONNREFUSED", "connection refused"},
61337+ {62, "ELOOP", "too many levels of symbolic links"},
61338+ {63, "ENAMETOOLONG", "file name too long"},
61339+ {64, "EHOSTDOWN", "host is down"},
61340+ {65, "EHOSTUNREACH", "no route to host"},
61341+ {66, "ENOTEMPTY", "directory not empty"},
61342+ {67, "EPROCLIM", "too many processes"},
61343+ {68, "EUSERS", "too many users"},
61344+ {69, "EDQUOT", "disc quota exceeded"},
61345+ {70, "ESTALE", "stale NFS file handle"},
61346+ {71, "EREMOTE", "too many levels of remote in path"},
61347+ {72, "EBADRPC", "RPC struct is bad"},
61348+ {73, "ERPCMISMATCH", "RPC version wrong"},
61349+ {74, "EPROGUNAVAIL", "RPC prog. not avail"},
61350+ {75, "EPROGMISMATCH", "program version wrong"},
61351+ {76, "EPROCUNAVAIL", "bad procedure for program"},
61352+ {77, "ENOLCK", "no locks available"},
61353+ {78, "ENOSYS", "function not implemented"},
61354+ {79, "EFTYPE", "inappropriate file type or format"},
61355+ {80, "EAUTH", "authentication error"},
61356+ {81, "ENEEDAUTH", "need authenticator"},
61357+ {82, "EIDRM", "identifier removed"},
61358+ {83, "ENOMSG", "no message of desired type"},
61359+ {84, "EOVERFLOW", "value too large to be stored in data type"},
61360+ {85, "EILSEQ", "illegal byte sequence"},
61361+ {86, "ENOTSUP", "not supported"},
61362+ {87, "ECANCELED", "operation Canceled"},
61363+ {88, "EBADMSG", "bad or Corrupt message"},
61364+ {89, "ENODATA", "no message available"},
61365+ {90, "ENOSR", "no STREAM resources"},
61366+ {91, "ENOSTR", "not a STREAM"},
61367+ {92, "ETIME", "STREAM ioctl timeout"},
61368+ {93, "ENOATTR", "attribute not found"},
61369+ {94, "EMULTIHOP", "multihop attempted"},
61370+ {95, "ENOLINK", "link has been severed"},
61371+ {96, "ELAST", "protocol error"},
61372 }
61373
61374 // Signal table
61375-var signals = [...]string{
61376- 1: "hangup",
61377- 2: "interrupt",
61378- 3: "quit",
61379- 4: "illegal instruction",
61380- 5: "trace/BPT trap",
61381- 6: "abort trap",
61382- 7: "EMT trap",
61383- 8: "floating point exception",
61384- 9: "killed",
61385- 10: "bus error",
61386- 11: "segmentation fault",
61387- 12: "bad system call",
61388- 13: "broken pipe",
61389- 14: "alarm clock",
61390- 15: "terminated",
61391- 16: "urgent I/O condition",
61392- 17: "stopped (signal)",
61393- 18: "stopped",
61394- 19: "continued",
61395- 20: "child exited",
61396- 21: "stopped (tty input)",
61397- 22: "stopped (tty output)",
61398- 23: "I/O possible",
61399- 24: "cputime limit exceeded",
61400- 25: "filesize limit exceeded",
61401- 26: "virtual timer expired",
61402- 27: "profiling timer expired",
61403- 28: "window size changes",
61404- 29: "information request",
61405- 30: "user defined signal 1",
61406- 31: "user defined signal 2",
61407- 32: "power fail/restart",
61408+var signalList = [...]struct {
61409+ num syscall.Signal
61410+ name string
61411+ desc string
61412+}{
61413+ {1, "SIGHUP", "hangup"},
61414+ {2, "SIGINT", "interrupt"},
61415+ {3, "SIGQUIT", "quit"},
61416+ {4, "SIGILL", "illegal instruction"},
61417+ {5, "SIGTRAP", "trace/BPT trap"},
61418+ {6, "SIGIOT", "abort trap"},
61419+ {7, "SIGEMT", "EMT trap"},
61420+ {8, "SIGFPE", "floating point exception"},
61421+ {9, "SIGKILL", "killed"},
61422+ {10, "SIGBUS", "bus error"},
61423+ {11, "SIGSEGV", "segmentation fault"},
61424+ {12, "SIGSYS", "bad system call"},
61425+ {13, "SIGPIPE", "broken pipe"},
61426+ {14, "SIGALRM", "alarm clock"},
61427+ {15, "SIGTERM", "terminated"},
61428+ {16, "SIGURG", "urgent I/O condition"},
61429+ {17, "SIGSTOP", "stopped (signal)"},
61430+ {18, "SIGTSTP", "stopped"},
61431+ {19, "SIGCONT", "continued"},
61432+ {20, "SIGCHLD", "child exited"},
61433+ {21, "SIGTTIN", "stopped (tty input)"},
61434+ {22, "SIGTTOU", "stopped (tty output)"},
61435+ {23, "SIGIO", "I/O possible"},
61436+ {24, "SIGXCPU", "cputime limit exceeded"},
61437+ {25, "SIGXFSZ", "filesize limit exceeded"},
61438+ {26, "SIGVTALRM", "virtual timer expired"},
61439+ {27, "SIGPROF", "profiling timer expired"},
61440+ {28, "SIGWINCH", "window size changes"},
61441+ {29, "SIGINFO", "information request"},
61442+ {30, "SIGUSR1", "user defined signal 1"},
61443+ {31, "SIGUSR2", "user defined signal 2"},
61444+ {32, "SIGPWR", "power fail/restart"},
61445 }
61446diff --git a/vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm64.go
61447similarity index 89%
61448copy from vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go
61449copy to vendor/golang.org/x/sys/unix/zerrors_netbsd_arm64.go
61450index 4994437b..f1c146a7 100644
61451--- a/vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go
61452+++ b/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm64.go
61453@@ -1,9 +1,9 @@
61454 // mkerrors.sh -m64
61455-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
61456+// Code generated by the command above; see README.md. DO NOT EDIT.
61457
61458-// +build amd64,netbsd
61459+// +build arm64,netbsd
61460
61461-// Created by cgo -godefs - DO NOT EDIT
61462+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
61463 // cgo -godefs -- -m64 _const.go
61464
61465 package unix
61466@@ -159,6 +159,7 @@ const (
61467 CLONE_VFORK = 0x4000
61468 CLONE_VM = 0x100
61469 CREAD = 0x800
61470+ CRTSCTS = 0x10000
61471 CS5 = 0x0
61472 CS6 = 0x100
61473 CS7 = 0x200
61474@@ -169,6 +170,8 @@ const (
61475 CSTOP = 0x13
61476 CSTOPB = 0x400
61477 CSUSP = 0x1a
61478+ CTL_HW = 0x6
61479+ CTL_KERN = 0x1
61480 CTL_MAXNAME = 0xc
61481 CTL_NET = 0x4
61482 CTL_QUERY = -0x2
61483@@ -537,6 +540,10 @@ const (
61484 EV_ONESHOT = 0x10
61485 EV_SYSFLAGS = 0xf000
61486 EXTA = 0x4b00
61487+ EXTATTR_CMD_START = 0x1
61488+ EXTATTR_CMD_STOP = 0x2
61489+ EXTATTR_NAMESPACE_SYSTEM = 0x2
61490+ EXTATTR_NAMESPACE_USER = 0x1
61491 EXTB = 0x9600
61492 EXTPROC = 0x800
61493 FD_CLOEXEC = 0x1
61494@@ -571,6 +578,7 @@ const (
61495 F_UNLCK = 0x2
61496 F_WRLCK = 0x3
61497 HUPCL = 0x4000
61498+ HW_MACHINE = 0x1
61499 ICANON = 0x100
61500 ICMP6_FILTER = 0x12
61501 ICRNL = 0x100
61502@@ -960,6 +968,10 @@ const (
61503 IXANY = 0x800
61504 IXOFF = 0x400
61505 IXON = 0x200
61506+ KERN_HOSTNAME = 0xa
61507+ KERN_OSRELEASE = 0x2
61508+ KERN_OSTYPE = 0x1
61509+ KERN_VERSION = 0x4
61510 LOCK_EX = 0x2
61511 LOCK_NB = 0x4
61512 LOCK_SH = 0x1
61513@@ -998,6 +1010,43 @@ const (
61514 MAP_WIRED = 0x800
61515 MCL_CURRENT = 0x1
61516 MCL_FUTURE = 0x2
61517+ MNT_ASYNC = 0x40
61518+ MNT_BASIC_FLAGS = 0xe782807f
61519+ MNT_DEFEXPORTED = 0x200
61520+ MNT_DISCARD = 0x800000
61521+ MNT_EXKERB = 0x800
61522+ MNT_EXNORESPORT = 0x8000000
61523+ MNT_EXPORTANON = 0x400
61524+ MNT_EXPORTED = 0x100
61525+ MNT_EXPUBLIC = 0x10000000
61526+ MNT_EXRDONLY = 0x80
61527+ MNT_EXTATTR = 0x1000000
61528+ MNT_FORCE = 0x80000
61529+ MNT_GETARGS = 0x400000
61530+ MNT_IGNORE = 0x100000
61531+ MNT_LAZY = 0x3
61532+ MNT_LOCAL = 0x1000
61533+ MNT_LOG = 0x2000000
61534+ MNT_NOATIME = 0x4000000
61535+ MNT_NOCOREDUMP = 0x8000
61536+ MNT_NODEV = 0x10
61537+ MNT_NODEVMTIME = 0x40000000
61538+ MNT_NOEXEC = 0x4
61539+ MNT_NOSUID = 0x8
61540+ MNT_NOWAIT = 0x2
61541+ MNT_OP_FLAGS = 0x4d0000
61542+ MNT_QUOTA = 0x2000
61543+ MNT_RDONLY = 0x1
61544+ MNT_RELATIME = 0x20000
61545+ MNT_RELOAD = 0x40000
61546+ MNT_ROOTFS = 0x4000
61547+ MNT_SOFTDEP = 0x80000000
61548+ MNT_SYMPERM = 0x20000000
61549+ MNT_SYNCHRONOUS = 0x2
61550+ MNT_UNION = 0x20
61551+ MNT_UPDATE = 0x10000
61552+ MNT_VISFLAGMASK = 0xff90ffff
61553+ MNT_WAIT = 0x1
61554 MSG_BCAST = 0x100
61555 MSG_CMSG_CLOEXEC = 0x800
61556 MSG_CONTROLMBUF = 0x2000000
61557@@ -1026,6 +1075,7 @@ const (
61558 NET_RT_MAXID = 0x6
61559 NET_RT_OIFLIST = 0x4
61560 NET_RT_OOIFLIST = 0x3
61561+ NFDBITS = 0x20
61562 NOFLSH = 0x80000000
61563 NOTE_ATTRIB = 0x8
61564 NOTE_CHILD = 0x4
61565@@ -1091,7 +1141,10 @@ const (
61566 RLIMIT_CPU = 0x0
61567 RLIMIT_DATA = 0x2
61568 RLIMIT_FSIZE = 0x1
61569+ RLIMIT_MEMLOCK = 0x6
61570 RLIMIT_NOFILE = 0x8
61571+ RLIMIT_NPROC = 0x7
61572+ RLIMIT_RSS = 0x5
61573 RLIMIT_STACK = 0x3
61574 RLIM_INFINITY = 0x7fffffffffffffff
61575 RTAX_AUTHOR = 0x6
61576@@ -1566,137 +1619,145 @@ const (
61577 )
61578
61579 // Error table
61580-var errors = [...]string{
61581- 1: "operation not permitted",
61582- 2: "no such file or directory",
61583- 3: "no such process",
61584- 4: "interrupted system call",
61585- 5: "input/output error",
61586- 6: "device not configured",
61587- 7: "argument list too long",
61588- 8: "exec format error",
61589- 9: "bad file descriptor",
61590- 10: "no child processes",
61591- 11: "resource deadlock avoided",
61592- 12: "cannot allocate memory",
61593- 13: "permission denied",
61594- 14: "bad address",
61595- 15: "block device required",
61596- 16: "device busy",
61597- 17: "file exists",
61598- 18: "cross-device link",
61599- 19: "operation not supported by device",
61600- 20: "not a directory",
61601- 21: "is a directory",
61602- 22: "invalid argument",
61603- 23: "too many open files in system",
61604- 24: "too many open files",
61605- 25: "inappropriate ioctl for device",
61606- 26: "text file busy",
61607- 27: "file too large",
61608- 28: "no space left on device",
61609- 29: "illegal seek",
61610- 30: "read-only file system",
61611- 31: "too many links",
61612- 32: "broken pipe",
61613- 33: "numerical argument out of domain",
61614- 34: "result too large or too small",
61615- 35: "resource temporarily unavailable",
61616- 36: "operation now in progress",
61617- 37: "operation already in progress",
61618- 38: "socket operation on non-socket",
61619- 39: "destination address required",
61620- 40: "message too long",
61621- 41: "protocol wrong type for socket",
61622- 42: "protocol option not available",
61623- 43: "protocol not supported",
61624- 44: "socket type not supported",
61625- 45: "operation not supported",
61626- 46: "protocol family not supported",
61627- 47: "address family not supported by protocol family",
61628- 48: "address already in use",
61629- 49: "can't assign requested address",
61630- 50: "network is down",
61631- 51: "network is unreachable",
61632- 52: "network dropped connection on reset",
61633- 53: "software caused connection abort",
61634- 54: "connection reset by peer",
61635- 55: "no buffer space available",
61636- 56: "socket is already connected",
61637- 57: "socket is not connected",
61638- 58: "can't send after socket shutdown",
61639- 59: "too many references: can't splice",
61640- 60: "connection timed out",
61641- 61: "connection refused",
61642- 62: "too many levels of symbolic links",
61643- 63: "file name too long",
61644- 64: "host is down",
61645- 65: "no route to host",
61646- 66: "directory not empty",
61647- 67: "too many processes",
61648- 68: "too many users",
61649- 69: "disc quota exceeded",
61650- 70: "stale NFS file handle",
61651- 71: "too many levels of remote in path",
61652- 72: "RPC struct is bad",
61653- 73: "RPC version wrong",
61654- 74: "RPC prog. not avail",
61655- 75: "program version wrong",
61656- 76: "bad procedure for program",
61657- 77: "no locks available",
61658- 78: "function not implemented",
61659- 79: "inappropriate file type or format",
61660- 80: "authentication error",
61661- 81: "need authenticator",
61662- 82: "identifier removed",
61663- 83: "no message of desired type",
61664- 84: "value too large to be stored in data type",
61665- 85: "illegal byte sequence",
61666- 86: "not supported",
61667- 87: "operation Canceled",
61668- 88: "bad or Corrupt message",
61669- 89: "no message available",
61670- 90: "no STREAM resources",
61671- 91: "not a STREAM",
61672- 92: "STREAM ioctl timeout",
61673- 93: "attribute not found",
61674- 94: "multihop attempted",
61675- 95: "link has been severed",
61676- 96: "protocol error",
61677+var errorList = [...]struct {
61678+ num syscall.Errno
61679+ name string
61680+ desc string
61681+}{
61682+ {1, "EPERM", "operation not permitted"},
61683+ {2, "ENOENT", "no such file or directory"},
61684+ {3, "ESRCH", "no such process"},
61685+ {4, "EINTR", "interrupted system call"},
61686+ {5, "EIO", "input/output error"},
61687+ {6, "ENXIO", "device not configured"},
61688+ {7, "E2BIG", "argument list too long"},
61689+ {8, "ENOEXEC", "exec format error"},
61690+ {9, "EBADF", "bad file descriptor"},
61691+ {10, "ECHILD", "no child processes"},
61692+ {11, "EDEADLK", "resource deadlock avoided"},
61693+ {12, "ENOMEM", "cannot allocate memory"},
61694+ {13, "EACCES", "permission denied"},
61695+ {14, "EFAULT", "bad address"},
61696+ {15, "ENOTBLK", "block device required"},
61697+ {16, "EBUSY", "device busy"},
61698+ {17, "EEXIST", "file exists"},
61699+ {18, "EXDEV", "cross-device link"},
61700+ {19, "ENODEV", "operation not supported by device"},
61701+ {20, "ENOTDIR", "not a directory"},
61702+ {21, "EISDIR", "is a directory"},
61703+ {22, "EINVAL", "invalid argument"},
61704+ {23, "ENFILE", "too many open files in system"},
61705+ {24, "EMFILE", "too many open files"},
61706+ {25, "ENOTTY", "inappropriate ioctl for device"},
61707+ {26, "ETXTBSY", "text file busy"},
61708+ {27, "EFBIG", "file too large"},
61709+ {28, "ENOSPC", "no space left on device"},
61710+ {29, "ESPIPE", "illegal seek"},
61711+ {30, "EROFS", "read-only file system"},
61712+ {31, "EMLINK", "too many links"},
61713+ {32, "EPIPE", "broken pipe"},
61714+ {33, "EDOM", "numerical argument out of domain"},
61715+ {34, "ERANGE", "result too large or too small"},
61716+ {35, "EAGAIN", "resource temporarily unavailable"},
61717+ {36, "EINPROGRESS", "operation now in progress"},
61718+ {37, "EALREADY", "operation already in progress"},
61719+ {38, "ENOTSOCK", "socket operation on non-socket"},
61720+ {39, "EDESTADDRREQ", "destination address required"},
61721+ {40, "EMSGSIZE", "message too long"},
61722+ {41, "EPROTOTYPE", "protocol wrong type for socket"},
61723+ {42, "ENOPROTOOPT", "protocol option not available"},
61724+ {43, "EPROTONOSUPPORT", "protocol not supported"},
61725+ {44, "ESOCKTNOSUPPORT", "socket type not supported"},
61726+ {45, "EOPNOTSUPP", "operation not supported"},
61727+ {46, "EPFNOSUPPORT", "protocol family not supported"},
61728+ {47, "EAFNOSUPPORT", "address family not supported by protocol family"},
61729+ {48, "EADDRINUSE", "address already in use"},
61730+ {49, "EADDRNOTAVAIL", "can't assign requested address"},
61731+ {50, "ENETDOWN", "network is down"},
61732+ {51, "ENETUNREACH", "network is unreachable"},
61733+ {52, "ENETRESET", "network dropped connection on reset"},
61734+ {53, "ECONNABORTED", "software caused connection abort"},
61735+ {54, "ECONNRESET", "connection reset by peer"},
61736+ {55, "ENOBUFS", "no buffer space available"},
61737+ {56, "EISCONN", "socket is already connected"},
61738+ {57, "ENOTCONN", "socket is not connected"},
61739+ {58, "ESHUTDOWN", "can't send after socket shutdown"},
61740+ {59, "ETOOMANYREFS", "too many references: can't splice"},
61741+ {60, "ETIMEDOUT", "connection timed out"},
61742+ {61, "ECONNREFUSED", "connection refused"},
61743+ {62, "ELOOP", "too many levels of symbolic links"},
61744+ {63, "ENAMETOOLONG", "file name too long"},
61745+ {64, "EHOSTDOWN", "host is down"},
61746+ {65, "EHOSTUNREACH", "no route to host"},
61747+ {66, "ENOTEMPTY", "directory not empty"},
61748+ {67, "EPROCLIM", "too many processes"},
61749+ {68, "EUSERS", "too many users"},
61750+ {69, "EDQUOT", "disc quota exceeded"},
61751+ {70, "ESTALE", "stale NFS file handle"},
61752+ {71, "EREMOTE", "too many levels of remote in path"},
61753+ {72, "EBADRPC", "RPC struct is bad"},
61754+ {73, "ERPCMISMATCH", "RPC version wrong"},
61755+ {74, "EPROGUNAVAIL", "RPC prog. not avail"},
61756+ {75, "EPROGMISMATCH", "program version wrong"},
61757+ {76, "EPROCUNAVAIL", "bad procedure for program"},
61758+ {77, "ENOLCK", "no locks available"},
61759+ {78, "ENOSYS", "function not implemented"},
61760+ {79, "EFTYPE", "inappropriate file type or format"},
61761+ {80, "EAUTH", "authentication error"},
61762+ {81, "ENEEDAUTH", "need authenticator"},
61763+ {82, "EIDRM", "identifier removed"},
61764+ {83, "ENOMSG", "no message of desired type"},
61765+ {84, "EOVERFLOW", "value too large to be stored in data type"},
61766+ {85, "EILSEQ", "illegal byte sequence"},
61767+ {86, "ENOTSUP", "not supported"},
61768+ {87, "ECANCELED", "operation Canceled"},
61769+ {88, "EBADMSG", "bad or Corrupt message"},
61770+ {89, "ENODATA", "no message available"},
61771+ {90, "ENOSR", "no STREAM resources"},
61772+ {91, "ENOSTR", "not a STREAM"},
61773+ {92, "ETIME", "STREAM ioctl timeout"},
61774+ {93, "ENOATTR", "attribute not found"},
61775+ {94, "EMULTIHOP", "multihop attempted"},
61776+ {95, "ENOLINK", "link has been severed"},
61777+ {96, "ELAST", "protocol error"},
61778 }
61779
61780 // Signal table
61781-var signals = [...]string{
61782- 1: "hangup",
61783- 2: "interrupt",
61784- 3: "quit",
61785- 4: "illegal instruction",
61786- 5: "trace/BPT trap",
61787- 6: "abort trap",
61788- 7: "EMT trap",
61789- 8: "floating point exception",
61790- 9: "killed",
61791- 10: "bus error",
61792- 11: "segmentation fault",
61793- 12: "bad system call",
61794- 13: "broken pipe",
61795- 14: "alarm clock",
61796- 15: "terminated",
61797- 16: "urgent I/O condition",
61798- 17: "stopped (signal)",
61799- 18: "stopped",
61800- 19: "continued",
61801- 20: "child exited",
61802- 21: "stopped (tty input)",
61803- 22: "stopped (tty output)",
61804- 23: "I/O possible",
61805- 24: "cputime limit exceeded",
61806- 25: "filesize limit exceeded",
61807- 26: "virtual timer expired",
61808- 27: "profiling timer expired",
61809- 28: "window size changes",
61810- 29: "information request",
61811- 30: "user defined signal 1",
61812- 31: "user defined signal 2",
61813- 32: "power fail/restart",
61814+var signalList = [...]struct {
61815+ num syscall.Signal
61816+ name string
61817+ desc string
61818+}{
61819+ {1, "SIGHUP", "hangup"},
61820+ {2, "SIGINT", "interrupt"},
61821+ {3, "SIGQUIT", "quit"},
61822+ {4, "SIGILL", "illegal instruction"},
61823+ {5, "SIGTRAP", "trace/BPT trap"},
61824+ {6, "SIGIOT", "abort trap"},
61825+ {7, "SIGEMT", "EMT trap"},
61826+ {8, "SIGFPE", "floating point exception"},
61827+ {9, "SIGKILL", "killed"},
61828+ {10, "SIGBUS", "bus error"},
61829+ {11, "SIGSEGV", "segmentation fault"},
61830+ {12, "SIGSYS", "bad system call"},
61831+ {13, "SIGPIPE", "broken pipe"},
61832+ {14, "SIGALRM", "alarm clock"},
61833+ {15, "SIGTERM", "terminated"},
61834+ {16, "SIGURG", "urgent I/O condition"},
61835+ {17, "SIGSTOP", "stopped (signal)"},
61836+ {18, "SIGTSTP", "stopped"},
61837+ {19, "SIGCONT", "continued"},
61838+ {20, "SIGCHLD", "child exited"},
61839+ {21, "SIGTTIN", "stopped (tty input)"},
61840+ {22, "SIGTTOU", "stopped (tty output)"},
61841+ {23, "SIGIO", "I/O possible"},
61842+ {24, "SIGXCPU", "cputime limit exceeded"},
61843+ {25, "SIGXFSZ", "filesize limit exceeded"},
61844+ {26, "SIGVTALRM", "virtual timer expired"},
61845+ {27, "SIGPROF", "profiling timer expired"},
61846+ {28, "SIGWINCH", "window size changes"},
61847+ {29, "SIGINFO", "information request"},
61848+ {30, "SIGUSR1", "user defined signal 1"},
61849+ {31, "SIGUSR2", "user defined signal 2"},
61850+ {32, "SIGPWR", "power fail/restart"},
61851 }
61852diff --git a/vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go b/vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go
61853index 3322e998..5402bd55 100644
61854--- a/vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go
61855+++ b/vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go
61856@@ -1,9 +1,9 @@
61857 // mkerrors.sh -m32
61858-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
61859+// Code generated by the command above; see README.md. DO NOT EDIT.
61860
61861 // +build 386,openbsd
61862
61863-// Created by cgo -godefs - DO NOT EDIT
61864+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
61865 // cgo -godefs -- -m32 _const.go
61866
61867 package unix
61868@@ -147,6 +147,7 @@ const (
61869 CFLUSH = 0xf
61870 CLOCAL = 0x8000
61871 CREAD = 0x800
61872+ CRTSCTS = 0x10000
61873 CS5 = 0x0
61874 CS6 = 0x100
61875 CS7 = 0x200
61876@@ -157,6 +158,8 @@ const (
61877 CSTOP = 0x13
61878 CSTOPB = 0x400
61879 CSUSP = 0x1a
61880+ CTL_HW = 0x6
61881+ CTL_KERN = 0x1
61882 CTL_MAXNAME = 0xc
61883 CTL_NET = 0x4
61884 DIOCOSFPFLUSH = 0x2000444e
61885@@ -442,6 +445,7 @@ const (
61886 F_UNLCK = 0x2
61887 F_WRLCK = 0x3
61888 HUPCL = 0x4000
61889+ HW_MACHINE = 0x1
61890 ICANON = 0x100
61891 ICMP6_FILTER = 0x12
61892 ICRNL = 0x100
61893@@ -860,6 +864,10 @@ const (
61894 IXANY = 0x800
61895 IXOFF = 0x400
61896 IXON = 0x200
61897+ KERN_HOSTNAME = 0xa
61898+ KERN_OSRELEASE = 0x2
61899+ KERN_OSTYPE = 0x1
61900+ KERN_VERSION = 0x4
61901 LCNT_OVERLOAD_FLUSH = 0x6
61902 LOCK_EX = 0x2
61903 LOCK_NB = 0x4
61904@@ -873,14 +881,15 @@ const (
61905 MADV_SPACEAVAIL = 0x5
61906 MADV_WILLNEED = 0x3
61907 MAP_ANON = 0x1000
61908- MAP_COPY = 0x4
61909+ MAP_ANONYMOUS = 0x1000
61910+ MAP_CONCEAL = 0x8000
61911+ MAP_COPY = 0x2
61912 MAP_FILE = 0x0
61913 MAP_FIXED = 0x10
61914- MAP_FLAGMASK = 0x1ff7
61915- MAP_HASSEMAPHORE = 0x200
61916- MAP_INHERIT = 0x80
61917+ MAP_FLAGMASK = 0xfff7
61918+ MAP_HASSEMAPHORE = 0x0
61919+ MAP_INHERIT = 0x0
61920 MAP_INHERIT_COPY = 0x1
61921- MAP_INHERIT_DONATE_COPY = 0x3
61922 MAP_INHERIT_NONE = 0x2
61923 MAP_INHERIT_SHARE = 0x0
61924 MAP_NOEXTEND = 0x100
61925@@ -888,9 +897,36 @@ const (
61926 MAP_PRIVATE = 0x2
61927 MAP_RENAME = 0x20
61928 MAP_SHARED = 0x1
61929- MAP_TRYFIXED = 0x400
61930+ MAP_STACK = 0x4000
61931+ MAP_TRYFIXED = 0x0
61932 MCL_CURRENT = 0x1
61933 MCL_FUTURE = 0x2
61934+ MNT_ASYNC = 0x40
61935+ MNT_DEFEXPORTED = 0x200
61936+ MNT_DELEXPORT = 0x20000
61937+ MNT_DOOMED = 0x8000000
61938+ MNT_EXPORTANON = 0x400
61939+ MNT_EXPORTED = 0x100
61940+ MNT_EXRDONLY = 0x80
61941+ MNT_FORCE = 0x80000
61942+ MNT_LAZY = 0x3
61943+ MNT_LOCAL = 0x1000
61944+ MNT_NOATIME = 0x8000
61945+ MNT_NODEV = 0x10
61946+ MNT_NOEXEC = 0x4
61947+ MNT_NOSUID = 0x8
61948+ MNT_NOWAIT = 0x2
61949+ MNT_QUOTA = 0x2000
61950+ MNT_RDONLY = 0x1
61951+ MNT_RELOAD = 0x40000
61952+ MNT_ROOTFS = 0x4000
61953+ MNT_SOFTDEP = 0x4000000
61954+ MNT_SYNCHRONOUS = 0x2
61955+ MNT_UPDATE = 0x10000
61956+ MNT_VISFLAGMASK = 0x400ffff
61957+ MNT_WAIT = 0x1
61958+ MNT_WANTRDWR = 0x2000000
61959+ MNT_WXALLOWED = 0x800
61960 MSG_BCAST = 0x100
61961 MSG_CTRUNC = 0x20
61962 MSG_DONTROUTE = 0x4
61963@@ -912,6 +948,7 @@ const (
61964 NET_RT_MAXID = 0x6
61965 NET_RT_STATS = 0x4
61966 NET_RT_TABLE = 0x5
61967+ NFDBITS = 0x20
61968 NOFLSH = 0x80000000
61969 NOTE_ATTRIB = 0x8
61970 NOTE_CHILD = 0x4
61971@@ -1210,6 +1247,34 @@ const (
61972 SO_TIMESTAMP = 0x800
61973 SO_TYPE = 0x1008
61974 SO_USELOOPBACK = 0x40
61975+ S_BLKSIZE = 0x200
61976+ S_IEXEC = 0x40
61977+ S_IFBLK = 0x6000
61978+ S_IFCHR = 0x2000
61979+ S_IFDIR = 0x4000
61980+ S_IFIFO = 0x1000
61981+ S_IFLNK = 0xa000
61982+ S_IFMT = 0xf000
61983+ S_IFREG = 0x8000
61984+ S_IFSOCK = 0xc000
61985+ S_IREAD = 0x100
61986+ S_IRGRP = 0x20
61987+ S_IROTH = 0x4
61988+ S_IRUSR = 0x100
61989+ S_IRWXG = 0x38
61990+ S_IRWXO = 0x7
61991+ S_IRWXU = 0x1c0
61992+ S_ISGID = 0x400
61993+ S_ISTXT = 0x200
61994+ S_ISUID = 0x800
61995+ S_ISVTX = 0x200
61996+ S_IWGRP = 0x10
61997+ S_IWOTH = 0x2
61998+ S_IWRITE = 0x80
61999+ S_IWUSR = 0x80
62000+ S_IXGRP = 0x8
62001+ S_IXOTH = 0x1
62002+ S_IXUSR = 0x40
62003 TCIFLUSH = 0x1
62004 TCIOFLUSH = 0x3
62005 TCOFLUSH = 0x2
62006@@ -1453,132 +1518,140 @@ const (
62007 )
62008
62009 // Error table
62010-var errors = [...]string{
62011- 1: "operation not permitted",
62012- 2: "no such file or directory",
62013- 3: "no such process",
62014- 4: "interrupted system call",
62015- 5: "input/output error",
62016- 6: "device not configured",
62017- 7: "argument list too long",
62018- 8: "exec format error",
62019- 9: "bad file descriptor",
62020- 10: "no child processes",
62021- 11: "resource deadlock avoided",
62022- 12: "cannot allocate memory",
62023- 13: "permission denied",
62024- 14: "bad address",
62025- 15: "block device required",
62026- 16: "device busy",
62027- 17: "file exists",
62028- 18: "cross-device link",
62029- 19: "operation not supported by device",
62030- 20: "not a directory",
62031- 21: "is a directory",
62032- 22: "invalid argument",
62033- 23: "too many open files in system",
62034- 24: "too many open files",
62035- 25: "inappropriate ioctl for device",
62036- 26: "text file busy",
62037- 27: "file too large",
62038- 28: "no space left on device",
62039- 29: "illegal seek",
62040- 30: "read-only file system",
62041- 31: "too many links",
62042- 32: "broken pipe",
62043- 33: "numerical argument out of domain",
62044- 34: "result too large",
62045- 35: "resource temporarily unavailable",
62046- 36: "operation now in progress",
62047- 37: "operation already in progress",
62048- 38: "socket operation on non-socket",
62049- 39: "destination address required",
62050- 40: "message too long",
62051- 41: "protocol wrong type for socket",
62052- 42: "protocol not available",
62053- 43: "protocol not supported",
62054- 44: "socket type not supported",
62055- 45: "operation not supported",
62056- 46: "protocol family not supported",
62057- 47: "address family not supported by protocol family",
62058- 48: "address already in use",
62059- 49: "can't assign requested address",
62060- 50: "network is down",
62061- 51: "network is unreachable",
62062- 52: "network dropped connection on reset",
62063- 53: "software caused connection abort",
62064- 54: "connection reset by peer",
62065- 55: "no buffer space available",
62066- 56: "socket is already connected",
62067- 57: "socket is not connected",
62068- 58: "can't send after socket shutdown",
62069- 59: "too many references: can't splice",
62070- 60: "connection timed out",
62071- 61: "connection refused",
62072- 62: "too many levels of symbolic links",
62073- 63: "file name too long",
62074- 64: "host is down",
62075- 65: "no route to host",
62076- 66: "directory not empty",
62077- 67: "too many processes",
62078- 68: "too many users",
62079- 69: "disc quota exceeded",
62080- 70: "stale NFS file handle",
62081- 71: "too many levels of remote in path",
62082- 72: "RPC struct is bad",
62083- 73: "RPC version wrong",
62084- 74: "RPC prog. not avail",
62085- 75: "program version wrong",
62086- 76: "bad procedure for program",
62087- 77: "no locks available",
62088- 78: "function not implemented",
62089- 79: "inappropriate file type or format",
62090- 80: "authentication error",
62091- 81: "need authenticator",
62092- 82: "IPsec processing failure",
62093- 83: "attribute not found",
62094- 84: "illegal byte sequence",
62095- 85: "no medium found",
62096- 86: "wrong medium type",
62097- 87: "value too large to be stored in data type",
62098- 88: "operation canceled",
62099- 89: "identifier removed",
62100- 90: "no message of desired type",
62101- 91: "not supported",
62102+var errorList = [...]struct {
62103+ num syscall.Errno
62104+ name string
62105+ desc string
62106+}{
62107+ {1, "EPERM", "operation not permitted"},
62108+ {2, "ENOENT", "no such file or directory"},
62109+ {3, "ESRCH", "no such process"},
62110+ {4, "EINTR", "interrupted system call"},
62111+ {5, "EIO", "input/output error"},
62112+ {6, "ENXIO", "device not configured"},
62113+ {7, "E2BIG", "argument list too long"},
62114+ {8, "ENOEXEC", "exec format error"},
62115+ {9, "EBADF", "bad file descriptor"},
62116+ {10, "ECHILD", "no child processes"},
62117+ {11, "EDEADLK", "resource deadlock avoided"},
62118+ {12, "ENOMEM", "cannot allocate memory"},
62119+ {13, "EACCES", "permission denied"},
62120+ {14, "EFAULT", "bad address"},
62121+ {15, "ENOTBLK", "block device required"},
62122+ {16, "EBUSY", "device busy"},
62123+ {17, "EEXIST", "file exists"},
62124+ {18, "EXDEV", "cross-device link"},
62125+ {19, "ENODEV", "operation not supported by device"},
62126+ {20, "ENOTDIR", "not a directory"},
62127+ {21, "EISDIR", "is a directory"},
62128+ {22, "EINVAL", "invalid argument"},
62129+ {23, "ENFILE", "too many open files in system"},
62130+ {24, "EMFILE", "too many open files"},
62131+ {25, "ENOTTY", "inappropriate ioctl for device"},
62132+ {26, "ETXTBSY", "text file busy"},
62133+ {27, "EFBIG", "file too large"},
62134+ {28, "ENOSPC", "no space left on device"},
62135+ {29, "ESPIPE", "illegal seek"},
62136+ {30, "EROFS", "read-only file system"},
62137+ {31, "EMLINK", "too many links"},
62138+ {32, "EPIPE", "broken pipe"},
62139+ {33, "EDOM", "numerical argument out of domain"},
62140+ {34, "ERANGE", "result too large"},
62141+ {35, "EWOULDBLOCK", "resource temporarily unavailable"},
62142+ {36, "EINPROGRESS", "operation now in progress"},
62143+ {37, "EALREADY", "operation already in progress"},
62144+ {38, "ENOTSOCK", "socket operation on non-socket"},
62145+ {39, "EDESTADDRREQ", "destination address required"},
62146+ {40, "EMSGSIZE", "message too long"},
62147+ {41, "EPROTOTYPE", "protocol wrong type for socket"},
62148+ {42, "ENOPROTOOPT", "protocol not available"},
62149+ {43, "EPROTONOSUPPORT", "protocol not supported"},
62150+ {44, "ESOCKTNOSUPPORT", "socket type not supported"},
62151+ {45, "EOPNOTSUPP", "operation not supported"},
62152+ {46, "EPFNOSUPPORT", "protocol family not supported"},
62153+ {47, "EAFNOSUPPORT", "address family not supported by protocol family"},
62154+ {48, "EADDRINUSE", "address already in use"},
62155+ {49, "EADDRNOTAVAIL", "can't assign requested address"},
62156+ {50, "ENETDOWN", "network is down"},
62157+ {51, "ENETUNREACH", "network is unreachable"},
62158+ {52, "ENETRESET", "network dropped connection on reset"},
62159+ {53, "ECONNABORTED", "software caused connection abort"},
62160+ {54, "ECONNRESET", "connection reset by peer"},
62161+ {55, "ENOBUFS", "no buffer space available"},
62162+ {56, "EISCONN", "socket is already connected"},
62163+ {57, "ENOTCONN", "socket is not connected"},
62164+ {58, "ESHUTDOWN", "can't send after socket shutdown"},
62165+ {59, "ETOOMANYREFS", "too many references: can't splice"},
62166+ {60, "ETIMEDOUT", "operation timed out"},
62167+ {61, "ECONNREFUSED", "connection refused"},
62168+ {62, "ELOOP", "too many levels of symbolic links"},
62169+ {63, "ENAMETOOLONG", "file name too long"},
62170+ {64, "EHOSTDOWN", "host is down"},
62171+ {65, "EHOSTUNREACH", "no route to host"},
62172+ {66, "ENOTEMPTY", "directory not empty"},
62173+ {67, "EPROCLIM", "too many processes"},
62174+ {68, "EUSERS", "too many users"},
62175+ {69, "EDQUOT", "disk quota exceeded"},
62176+ {70, "ESTALE", "stale NFS file handle"},
62177+ {71, "EREMOTE", "too many levels of remote in path"},
62178+ {72, "EBADRPC", "RPC struct is bad"},
62179+ {73, "ERPCMISMATCH", "RPC version wrong"},
62180+ {74, "EPROGUNAVAIL", "RPC program not available"},
62181+ {75, "EPROGMISMATCH", "program version wrong"},
62182+ {76, "EPROCUNAVAIL", "bad procedure for program"},
62183+ {77, "ENOLCK", "no locks available"},
62184+ {78, "ENOSYS", "function not implemented"},
62185+ {79, "EFTYPE", "inappropriate file type or format"},
62186+ {80, "EAUTH", "authentication error"},
62187+ {81, "ENEEDAUTH", "need authenticator"},
62188+ {82, "EIPSEC", "IPsec processing failure"},
62189+ {83, "ENOATTR", "attribute not found"},
62190+ {84, "EILSEQ", "illegal byte sequence"},
62191+ {85, "ENOMEDIUM", "no medium found"},
62192+ {86, "EMEDIUMTYPE", "wrong medium type"},
62193+ {87, "EOVERFLOW", "value too large to be stored in data type"},
62194+ {88, "ECANCELED", "operation canceled"},
62195+ {89, "EIDRM", "identifier removed"},
62196+ {90, "ENOMSG", "no message of desired type"},
62197+ {91, "ELAST", "not supported"},
62198 }
62199
62200 // Signal table
62201-var signals = [...]string{
62202- 1: "hangup",
62203- 2: "interrupt",
62204- 3: "quit",
62205- 4: "illegal instruction",
62206- 5: "trace/BPT trap",
62207- 6: "abort trap",
62208- 7: "EMT trap",
62209- 8: "floating point exception",
62210- 9: "killed",
62211- 10: "bus error",
62212- 11: "segmentation fault",
62213- 12: "bad system call",
62214- 13: "broken pipe",
62215- 14: "alarm clock",
62216- 15: "terminated",
62217- 16: "urgent I/O condition",
62218- 17: "stopped (signal)",
62219- 18: "stopped",
62220- 19: "continued",
62221- 20: "child exited",
62222- 21: "stopped (tty input)",
62223- 22: "stopped (tty output)",
62224- 23: "I/O possible",
62225- 24: "cputime limit exceeded",
62226- 25: "filesize limit exceeded",
62227- 26: "virtual timer expired",
62228- 27: "profiling timer expired",
62229- 28: "window size changes",
62230- 29: "information request",
62231- 30: "user defined signal 1",
62232- 31: "user defined signal 2",
62233- 32: "thread AST",
62234+var signalList = [...]struct {
62235+ num syscall.Signal
62236+ name string
62237+ desc string
62238+}{
62239+ {1, "SIGHUP", "hangup"},
62240+ {2, "SIGINT", "interrupt"},
62241+ {3, "SIGQUIT", "quit"},
62242+ {4, "SIGILL", "illegal instruction"},
62243+ {5, "SIGTRAP", "trace/BPT trap"},
62244+ {6, "SIGABRT", "abort trap"},
62245+ {7, "SIGEMT", "EMT trap"},
62246+ {8, "SIGFPE", "floating point exception"},
62247+ {9, "SIGKILL", "killed"},
62248+ {10, "SIGBUS", "bus error"},
62249+ {11, "SIGSEGV", "segmentation fault"},
62250+ {12, "SIGSYS", "bad system call"},
62251+ {13, "SIGPIPE", "broken pipe"},
62252+ {14, "SIGALRM", "alarm clock"},
62253+ {15, "SIGTERM", "terminated"},
62254+ {16, "SIGURG", "urgent I/O condition"},
62255+ {17, "SIGSTOP", "suspended (signal)"},
62256+ {18, "SIGTSTP", "suspended"},
62257+ {19, "SIGCONT", "continued"},
62258+ {20, "SIGCHLD", "child exited"},
62259+ {21, "SIGTTIN", "stopped (tty input)"},
62260+ {22, "SIGTTOU", "stopped (tty output)"},
62261+ {23, "SIGIO", "I/O possible"},
62262+ {24, "SIGXCPU", "cputime limit exceeded"},
62263+ {25, "SIGXFSZ", "filesize limit exceeded"},
62264+ {26, "SIGVTALRM", "virtual timer expired"},
62265+ {27, "SIGPROF", "profiling timer expired"},
62266+ {28, "SIGWINCH", "window size changes"},
62267+ {29, "SIGINFO", "information request"},
62268+ {30, "SIGUSR1", "user defined signal 1"},
62269+ {31, "SIGUSR2", "user defined signal 2"},
62270+ {32, "SIGTHR", "thread AST"},
62271 }
62272diff --git a/vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go
62273index 1758ecca..ffaf2d2f 100644
62274--- a/vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go
62275+++ b/vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go
62276@@ -1,9 +1,9 @@
62277 // mkerrors.sh -m64
62278-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
62279+// Code generated by the command above; see README.md. DO NOT EDIT.
62280
62281 // +build amd64,openbsd
62282
62283-// Created by cgo -godefs - DO NOT EDIT
62284+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
62285 // cgo -godefs -- -m64 _const.go
62286
62287 package unix
62288@@ -45,6 +45,7 @@ const (
62289 AF_SNA = 0xb
62290 AF_UNIX = 0x1
62291 AF_UNSPEC = 0x0
62292+ ALTWERASE = 0x200
62293 ARPHRD_ETHER = 0x1
62294 ARPHRD_FRELAY = 0xf
62295 ARPHRD_IEEE1394 = 0x18
62296@@ -146,7 +147,14 @@ const (
62297 BRKINT = 0x2
62298 CFLUSH = 0xf
62299 CLOCAL = 0x8000
62300+ CLOCK_BOOTTIME = 0x6
62301+ CLOCK_MONOTONIC = 0x3
62302+ CLOCK_PROCESS_CPUTIME_ID = 0x2
62303+ CLOCK_REALTIME = 0x0
62304+ CLOCK_THREAD_CPUTIME_ID = 0x4
62305+ CLOCK_UPTIME = 0x5
62306 CREAD = 0x800
62307+ CRTSCTS = 0x10000
62308 CS5 = 0x0
62309 CS6 = 0x100
62310 CS7 = 0x200
62311@@ -157,6 +165,8 @@ const (
62312 CSTOP = 0x13
62313 CSTOPB = 0x400
62314 CSUSP = 0x1a
62315+ CTL_HW = 0x6
62316+ CTL_KERN = 0x1
62317 CTL_MAXNAME = 0xc
62318 CTL_NET = 0x4
62319 DIOCOSFPFLUSH = 0x2000444e
62320@@ -175,6 +185,7 @@ const (
62321 DLT_LOOP = 0xc
62322 DLT_MPLS = 0xdb
62323 DLT_NULL = 0x0
62324+ DLT_OPENFLOW = 0x10b
62325 DLT_PFLOG = 0x75
62326 DLT_PFSYNC = 0x12
62327 DLT_PPP = 0x9
62328@@ -185,6 +196,23 @@ const (
62329 DLT_RAW = 0xe
62330 DLT_SLIP = 0x8
62331 DLT_SLIP_BSDOS = 0xf
62332+ DLT_USBPCAP = 0xf9
62333+ DLT_USER0 = 0x93
62334+ DLT_USER1 = 0x94
62335+ DLT_USER10 = 0x9d
62336+ DLT_USER11 = 0x9e
62337+ DLT_USER12 = 0x9f
62338+ DLT_USER13 = 0xa0
62339+ DLT_USER14 = 0xa1
62340+ DLT_USER15 = 0xa2
62341+ DLT_USER2 = 0x95
62342+ DLT_USER3 = 0x96
62343+ DLT_USER4 = 0x97
62344+ DLT_USER5 = 0x98
62345+ DLT_USER6 = 0x99
62346+ DLT_USER7 = 0x9a
62347+ DLT_USER8 = 0x9b
62348+ DLT_USER9 = 0x9c
62349 DT_BLK = 0x6
62350 DT_CHR = 0x2
62351 DT_DIR = 0x4
62352@@ -398,27 +426,38 @@ const (
62353 ETHER_CRC_POLY_LE = 0xedb88320
62354 ETHER_HDR_LEN = 0xe
62355 ETHER_MAX_DIX_LEN = 0x600
62356+ ETHER_MAX_HARDMTU_LEN = 0xff9b
62357 ETHER_MAX_LEN = 0x5ee
62358 ETHER_MIN_LEN = 0x40
62359 ETHER_TYPE_LEN = 0x2
62360 ETHER_VLAN_ENCAP_LEN = 0x4
62361 EVFILT_AIO = -0x3
62362+ EVFILT_DEVICE = -0x8
62363 EVFILT_PROC = -0x5
62364 EVFILT_READ = -0x1
62365 EVFILT_SIGNAL = -0x6
62366- EVFILT_SYSCOUNT = 0x7
62367+ EVFILT_SYSCOUNT = 0x8
62368 EVFILT_TIMER = -0x7
62369 EVFILT_VNODE = -0x4
62370 EVFILT_WRITE = -0x2
62371+ EVL_ENCAPLEN = 0x4
62372+ EVL_PRIO_BITS = 0xd
62373+ EVL_PRIO_MAX = 0x7
62374+ EVL_VLID_MASK = 0xfff
62375+ EVL_VLID_MAX = 0xffe
62376+ EVL_VLID_MIN = 0x1
62377+ EVL_VLID_NULL = 0x0
62378 EV_ADD = 0x1
62379 EV_CLEAR = 0x20
62380 EV_DELETE = 0x2
62381 EV_DISABLE = 0x8
62382+ EV_DISPATCH = 0x80
62383 EV_ENABLE = 0x4
62384 EV_EOF = 0x8000
62385 EV_ERROR = 0x4000
62386 EV_FLAG1 = 0x2000
62387 EV_ONESHOT = 0x10
62388+ EV_RECEIPT = 0x40
62389 EV_SYSFLAGS = 0xf000
62390 EXTA = 0x4b00
62391 EXTB = 0x9600
62392@@ -432,6 +471,7 @@ const (
62393 F_GETFL = 0x3
62394 F_GETLK = 0x7
62395 F_GETOWN = 0x5
62396+ F_ISATTY = 0xb
62397 F_OK = 0x0
62398 F_RDLCK = 0x1
62399 F_SETFD = 0x2
62400@@ -442,13 +482,13 @@ const (
62401 F_UNLCK = 0x2
62402 F_WRLCK = 0x3
62403 HUPCL = 0x4000
62404+ HW_MACHINE = 0x1
62405 ICANON = 0x100
62406 ICMP6_FILTER = 0x12
62407 ICRNL = 0x100
62408 IEXTEN = 0x400
62409 IFAN_ARRIVAL = 0x0
62410 IFAN_DEPARTURE = 0x1
62411- IFA_ROUTE = 0x1
62412 IFF_ALLMULTI = 0x200
62413 IFF_BROADCAST = 0x2
62414 IFF_CANTCHANGE = 0x8e52
62415@@ -459,12 +499,12 @@ const (
62416 IFF_LOOPBACK = 0x8
62417 IFF_MULTICAST = 0x8000
62418 IFF_NOARP = 0x80
62419- IFF_NOTRAILERS = 0x20
62420 IFF_OACTIVE = 0x400
62421 IFF_POINTOPOINT = 0x10
62422 IFF_PROMISC = 0x100
62423 IFF_RUNNING = 0x40
62424 IFF_SIMPLEX = 0x800
62425+ IFF_STATICARP = 0x20
62426 IFF_UP = 0x1
62427 IFNAMSIZ = 0x10
62428 IFT_1822 = 0x2
62429@@ -593,6 +633,7 @@ const (
62430 IFT_LINEGROUP = 0xd2
62431 IFT_LOCALTALK = 0x2a
62432 IFT_LOOP = 0x18
62433+ IFT_MBIM = 0xfa
62434 IFT_MEDIAMAILOVERIP = 0x8b
62435 IFT_MFSIGLINK = 0xa7
62436 IFT_MIOX25 = 0x26
62437@@ -717,8 +758,6 @@ const (
62438 IPPROTO_AH = 0x33
62439 IPPROTO_CARP = 0x70
62440 IPPROTO_DIVERT = 0x102
62441- IPPROTO_DIVERT_INIT = 0x2
62442- IPPROTO_DIVERT_RESP = 0x1
62443 IPPROTO_DONE = 0x101
62444 IPPROTO_DSTOPTS = 0x3c
62445 IPPROTO_EGP = 0x8
62446@@ -775,6 +814,7 @@ const (
62447 IPV6_LEAVE_GROUP = 0xd
62448 IPV6_MAXHLIM = 0xff
62449 IPV6_MAXPACKET = 0xffff
62450+ IPV6_MINHOPCOUNT = 0x41
62451 IPV6_MMTU = 0x500
62452 IPV6_MULTICAST_HOPS = 0xa
62453 IPV6_MULTICAST_IF = 0x9
62454@@ -814,12 +854,12 @@ const (
62455 IP_DEFAULT_MULTICAST_LOOP = 0x1
62456 IP_DEFAULT_MULTICAST_TTL = 0x1
62457 IP_DF = 0x4000
62458- IP_DIVERTFL = 0x1022
62459 IP_DROP_MEMBERSHIP = 0xd
62460 IP_ESP_NETWORK_LEVEL = 0x16
62461 IP_ESP_TRANS_LEVEL = 0x15
62462 IP_HDRINCL = 0x2
62463 IP_IPCOMP_LEVEL = 0x1d
62464+ IP_IPDEFTTL = 0x25
62465 IP_IPSECFLOWINFO = 0x24
62466 IP_IPSEC_LOCAL_AUTH = 0x1b
62467 IP_IPSEC_LOCAL_CRED = 0x19
62468@@ -853,13 +893,19 @@ const (
62469 IP_RETOPTS = 0x8
62470 IP_RF = 0x8000
62471 IP_RTABLE = 0x1021
62472+ IP_SENDSRCADDR = 0x7
62473 IP_TOS = 0x3
62474 IP_TTL = 0x4
62475 ISIG = 0x80
62476 ISTRIP = 0x20
62477+ IUCLC = 0x1000
62478 IXANY = 0x800
62479 IXOFF = 0x400
62480 IXON = 0x200
62481+ KERN_HOSTNAME = 0xa
62482+ KERN_OSRELEASE = 0x2
62483+ KERN_OSTYPE = 0x1
62484+ KERN_VERSION = 0x4
62485 LCNT_OVERLOAD_FLUSH = 0x6
62486 LOCK_EX = 0x2
62487 LOCK_NB = 0x4
62488@@ -873,25 +919,57 @@ const (
62489 MADV_SPACEAVAIL = 0x5
62490 MADV_WILLNEED = 0x3
62491 MAP_ANON = 0x1000
62492- MAP_COPY = 0x4
62493+ MAP_ANONYMOUS = 0x1000
62494+ MAP_CONCEAL = 0x8000
62495+ MAP_COPY = 0x2
62496 MAP_FILE = 0x0
62497 MAP_FIXED = 0x10
62498- MAP_FLAGMASK = 0x1ff7
62499- MAP_HASSEMAPHORE = 0x200
62500- MAP_INHERIT = 0x80
62501+ MAP_FLAGMASK = 0xfff7
62502+ MAP_HASSEMAPHORE = 0x0
62503+ MAP_INHERIT = 0x0
62504 MAP_INHERIT_COPY = 0x1
62505- MAP_INHERIT_DONATE_COPY = 0x3
62506 MAP_INHERIT_NONE = 0x2
62507 MAP_INHERIT_SHARE = 0x0
62508- MAP_NOEXTEND = 0x100
62509- MAP_NORESERVE = 0x40
62510+ MAP_INHERIT_ZERO = 0x3
62511+ MAP_NOEXTEND = 0x0
62512+ MAP_NORESERVE = 0x0
62513 MAP_PRIVATE = 0x2
62514- MAP_RENAME = 0x20
62515+ MAP_RENAME = 0x0
62516 MAP_SHARED = 0x1
62517- MAP_TRYFIXED = 0x400
62518+ MAP_STACK = 0x4000
62519+ MAP_TRYFIXED = 0x0
62520 MCL_CURRENT = 0x1
62521 MCL_FUTURE = 0x2
62522+ MNT_ASYNC = 0x40
62523+ MNT_DEFEXPORTED = 0x200
62524+ MNT_DELEXPORT = 0x20000
62525+ MNT_DOOMED = 0x8000000
62526+ MNT_EXPORTANON = 0x400
62527+ MNT_EXPORTED = 0x100
62528+ MNT_EXRDONLY = 0x80
62529+ MNT_FORCE = 0x80000
62530+ MNT_LAZY = 0x3
62531+ MNT_LOCAL = 0x1000
62532+ MNT_NOATIME = 0x8000
62533+ MNT_NODEV = 0x10
62534+ MNT_NOEXEC = 0x4
62535+ MNT_NOPERM = 0x20
62536+ MNT_NOSUID = 0x8
62537+ MNT_NOWAIT = 0x2
62538+ MNT_QUOTA = 0x2000
62539+ MNT_RDONLY = 0x1
62540+ MNT_RELOAD = 0x40000
62541+ MNT_ROOTFS = 0x4000
62542+ MNT_SOFTDEP = 0x4000000
62543+ MNT_STALLED = 0x100000
62544+ MNT_SYNCHRONOUS = 0x2
62545+ MNT_UPDATE = 0x10000
62546+ MNT_VISFLAGMASK = 0x400ffff
62547+ MNT_WAIT = 0x1
62548+ MNT_WANTRDWR = 0x2000000
62549+ MNT_WXALLOWED = 0x800
62550 MSG_BCAST = 0x100
62551+ MSG_CMSG_CLOEXEC = 0x800
62552 MSG_CTRUNC = 0x20
62553 MSG_DONTROUTE = 0x4
62554 MSG_DONTWAIT = 0x80
62555@@ -909,11 +987,15 @@ const (
62556 NET_RT_DUMP = 0x1
62557 NET_RT_FLAGS = 0x2
62558 NET_RT_IFLIST = 0x3
62559- NET_RT_MAXID = 0x6
62560+ NET_RT_IFNAMES = 0x6
62561+ NET_RT_MAXID = 0x7
62562 NET_RT_STATS = 0x4
62563 NET_RT_TABLE = 0x5
62564+ NFDBITS = 0x20
62565 NOFLSH = 0x80000000
62566+ NOKERNINFO = 0x2000000
62567 NOTE_ATTRIB = 0x8
62568+ NOTE_CHANGE = 0x1
62569 NOTE_CHILD = 0x4
62570 NOTE_DELETE = 0x1
62571 NOTE_EOF = 0x2
62572@@ -932,11 +1014,13 @@ const (
62573 NOTE_TRUNCATE = 0x80
62574 NOTE_WRITE = 0x2
62575 OCRNL = 0x10
62576+ OLCUC = 0x20
62577 ONLCR = 0x2
62578 ONLRET = 0x80
62579 ONOCR = 0x40
62580 ONOEOT = 0x8
62581 OPOST = 0x1
62582+ OXTABS = 0x4
62583 O_ACCMODE = 0x3
62584 O_APPEND = 0x8
62585 O_ASYNC = 0x40
62586@@ -974,23 +1058,32 @@ const (
62587 RLIMIT_CPU = 0x0
62588 RLIMIT_DATA = 0x2
62589 RLIMIT_FSIZE = 0x1
62590+ RLIMIT_MEMLOCK = 0x6
62591 RLIMIT_NOFILE = 0x8
62592+ RLIMIT_NPROC = 0x7
62593+ RLIMIT_RSS = 0x5
62594 RLIMIT_STACK = 0x3
62595 RLIM_INFINITY = 0x7fffffffffffffff
62596 RTAX_AUTHOR = 0x6
62597+ RTAX_BFD = 0xb
62598 RTAX_BRD = 0x7
62599+ RTAX_DNS = 0xc
62600 RTAX_DST = 0x0
62601 RTAX_GATEWAY = 0x1
62602 RTAX_GENMASK = 0x3
62603 RTAX_IFA = 0x5
62604 RTAX_IFP = 0x4
62605 RTAX_LABEL = 0xa
62606- RTAX_MAX = 0xb
62607+ RTAX_MAX = 0xf
62608 RTAX_NETMASK = 0x2
62609+ RTAX_SEARCH = 0xe
62610 RTAX_SRC = 0x8
62611 RTAX_SRCMASK = 0x9
62612+ RTAX_STATIC = 0xd
62613 RTA_AUTHOR = 0x40
62614+ RTA_BFD = 0x800
62615 RTA_BRD = 0x80
62616+ RTA_DNS = 0x1000
62617 RTA_DST = 0x1
62618 RTA_GATEWAY = 0x2
62619 RTA_GENMASK = 0x8
62620@@ -998,34 +1091,39 @@ const (
62621 RTA_IFP = 0x10
62622 RTA_LABEL = 0x400
62623 RTA_NETMASK = 0x4
62624+ RTA_SEARCH = 0x4000
62625 RTA_SRC = 0x100
62626 RTA_SRCMASK = 0x200
62627+ RTA_STATIC = 0x2000
62628 RTF_ANNOUNCE = 0x4000
62629+ RTF_BFD = 0x1000000
62630 RTF_BLACKHOLE = 0x1000
62631+ RTF_BROADCAST = 0x400000
62632+ RTF_CACHED = 0x20000
62633 RTF_CLONED = 0x10000
62634 RTF_CLONING = 0x100
62635+ RTF_CONNECTED = 0x800000
62636 RTF_DONE = 0x40
62637 RTF_DYNAMIC = 0x10
62638- RTF_FMASK = 0x10f808
62639+ RTF_FMASK = 0x110fc08
62640 RTF_GATEWAY = 0x2
62641 RTF_HOST = 0x4
62642 RTF_LLINFO = 0x400
62643- RTF_MASK = 0x80
62644+ RTF_LOCAL = 0x200000
62645 RTF_MODIFIED = 0x20
62646 RTF_MPATH = 0x40000
62647 RTF_MPLS = 0x100000
62648+ RTF_MULTICAST = 0x200
62649 RTF_PERMANENT_ARP = 0x2000
62650 RTF_PROTO1 = 0x8000
62651 RTF_PROTO2 = 0x4000
62652 RTF_PROTO3 = 0x2000
62653 RTF_REJECT = 0x8
62654- RTF_SOURCE = 0x20000
62655 RTF_STATIC = 0x800
62656- RTF_TUNNEL = 0x100000
62657 RTF_UP = 0x1
62658 RTF_USETRAILERS = 0x8000
62659- RTF_XRESOLVE = 0x200
62660 RTM_ADD = 0x1
62661+ RTM_BFD = 0x12
62662 RTM_CHANGE = 0x3
62663 RTM_DELADDR = 0xd
62664 RTM_DELETE = 0x2
62665@@ -1033,11 +1131,13 @@ const (
62666 RTM_GET = 0x4
62667 RTM_IFANNOUNCE = 0xf
62668 RTM_IFINFO = 0xe
62669+ RTM_INVALIDATE = 0x11
62670 RTM_LOCK = 0x8
62671 RTM_LOSING = 0x5
62672 RTM_MAXSIZE = 0x800
62673 RTM_MISS = 0x7
62674 RTM_NEWADDR = 0xc
62675+ RTM_PROPOSAL = 0x13
62676 RTM_REDIRECT = 0x6
62677 RTM_RESOLVE = 0xb
62678 RTM_RTTUNIT = 0xf4240
62679@@ -1050,6 +1150,8 @@ const (
62680 RTV_RTTVAR = 0x80
62681 RTV_SPIPE = 0x10
62682 RTV_SSTHRESH = 0x20
62683+ RT_TABLEID_BITS = 0x8
62684+ RT_TABLEID_MASK = 0xff
62685 RT_TABLEID_MAX = 0xff
62686 RUSAGE_CHILDREN = -0x1
62687 RUSAGE_SELF = 0x0
62688@@ -1062,55 +1164,55 @@ const (
62689 SIOCADDMULTI = 0x80206931
62690 SIOCAIFADDR = 0x8040691a
62691 SIOCAIFGROUP = 0x80286987
62692- SIOCALIFADDR = 0x8218691c
62693 SIOCATMARK = 0x40047307
62694- SIOCBRDGADD = 0x8058693c
62695- SIOCBRDGADDS = 0x80586941
62696- SIOCBRDGARL = 0x806e694d
62697+ SIOCBRDGADD = 0x8060693c
62698+ SIOCBRDGADDL = 0x80606949
62699+ SIOCBRDGADDS = 0x80606941
62700+ SIOCBRDGARL = 0x808c694d
62701 SIOCBRDGDADDR = 0x81286947
62702- SIOCBRDGDEL = 0x8058693d
62703- SIOCBRDGDELS = 0x80586942
62704- SIOCBRDGFLUSH = 0x80586948
62705- SIOCBRDGFRL = 0x806e694e
62706- SIOCBRDGGCACHE = 0xc0146941
62707- SIOCBRDGGFD = 0xc0146952
62708- SIOCBRDGGHT = 0xc0146951
62709- SIOCBRDGGIFFLGS = 0xc058693e
62710- SIOCBRDGGMA = 0xc0146953
62711+ SIOCBRDGDEL = 0x8060693d
62712+ SIOCBRDGDELS = 0x80606942
62713+ SIOCBRDGFLUSH = 0x80606948
62714+ SIOCBRDGFRL = 0x808c694e
62715+ SIOCBRDGGCACHE = 0xc0186941
62716+ SIOCBRDGGFD = 0xc0186952
62717+ SIOCBRDGGHT = 0xc0186951
62718+ SIOCBRDGGIFFLGS = 0xc060693e
62719+ SIOCBRDGGMA = 0xc0186953
62720 SIOCBRDGGPARAM = 0xc0406958
62721- SIOCBRDGGPRI = 0xc0146950
62722+ SIOCBRDGGPRI = 0xc0186950
62723 SIOCBRDGGRL = 0xc030694f
62724- SIOCBRDGGSIFS = 0xc058693c
62725- SIOCBRDGGTO = 0xc0146946
62726- SIOCBRDGIFS = 0xc0586942
62727+ SIOCBRDGGTO = 0xc0186946
62728+ SIOCBRDGIFS = 0xc0606942
62729 SIOCBRDGRTS = 0xc0206943
62730 SIOCBRDGSADDR = 0xc1286944
62731- SIOCBRDGSCACHE = 0x80146940
62732- SIOCBRDGSFD = 0x80146952
62733- SIOCBRDGSHT = 0x80146951
62734- SIOCBRDGSIFCOST = 0x80586955
62735- SIOCBRDGSIFFLGS = 0x8058693f
62736- SIOCBRDGSIFPRIO = 0x80586954
62737- SIOCBRDGSMA = 0x80146953
62738- SIOCBRDGSPRI = 0x80146950
62739- SIOCBRDGSPROTO = 0x8014695a
62740- SIOCBRDGSTO = 0x80146945
62741- SIOCBRDGSTXHC = 0x80146959
62742+ SIOCBRDGSCACHE = 0x80186940
62743+ SIOCBRDGSFD = 0x80186952
62744+ SIOCBRDGSHT = 0x80186951
62745+ SIOCBRDGSIFCOST = 0x80606955
62746+ SIOCBRDGSIFFLGS = 0x8060693f
62747+ SIOCBRDGSIFPRIO = 0x80606954
62748+ SIOCBRDGSIFPROT = 0x8060694a
62749+ SIOCBRDGSMA = 0x80186953
62750+ SIOCBRDGSPRI = 0x80186950
62751+ SIOCBRDGSPROTO = 0x8018695a
62752+ SIOCBRDGSTO = 0x80186945
62753+ SIOCBRDGSTXHC = 0x80186959
62754 SIOCDELMULTI = 0x80206932
62755 SIOCDIFADDR = 0x80206919
62756 SIOCDIFGROUP = 0x80286989
62757+ SIOCDIFPARENT = 0x802069b4
62758 SIOCDIFPHYADDR = 0x80206949
62759- SIOCDLIFADDR = 0x8218691e
62760+ SIOCDVNETID = 0x802069af
62761 SIOCGETKALIVE = 0xc01869a4
62762 SIOCGETLABEL = 0x8020699a
62763+ SIOCGETMPWCFG = 0xc02069ae
62764 SIOCGETPFLOW = 0xc02069fe
62765 SIOCGETPFSYNC = 0xc02069f8
62766 SIOCGETSGCNT = 0xc0207534
62767 SIOCGETVIFCNT = 0xc0287533
62768 SIOCGETVLAN = 0xc0206990
62769- SIOCGHIWAT = 0x40047301
62770 SIOCGIFADDR = 0xc0206921
62771- SIOCGIFASYNCMAP = 0xc020697c
62772 SIOCGIFBRDADDR = 0xc0206923
62773 SIOCGIFCONF = 0xc0106924
62774 SIOCGIFDATA = 0xc020691b
62775@@ -1122,37 +1224,41 @@ const (
62776 SIOCGIFGMEMB = 0xc028698a
62777 SIOCGIFGROUP = 0xc0286988
62778 SIOCGIFHARDMTU = 0xc02069a5
62779- SIOCGIFMEDIA = 0xc0306936
62780+ SIOCGIFLLPRIO = 0xc02069b6
62781+ SIOCGIFMEDIA = 0xc0406938
62782 SIOCGIFMETRIC = 0xc0206917
62783 SIOCGIFMTU = 0xc020697e
62784 SIOCGIFNETMASK = 0xc0206925
62785- SIOCGIFPDSTADDR = 0xc0206948
62786+ SIOCGIFPAIR = 0xc02069b1
62787+ SIOCGIFPARENT = 0xc02069b3
62788 SIOCGIFPRIORITY = 0xc020699c
62789- SIOCGIFPSRCADDR = 0xc0206947
62790 SIOCGIFRDOMAIN = 0xc02069a0
62791 SIOCGIFRTLABEL = 0xc0206983
62792- SIOCGIFTIMESLOT = 0xc0206986
62793+ SIOCGIFRXR = 0x802069aa
62794 SIOCGIFXFLAGS = 0xc020699e
62795- SIOCGLIFADDR = 0xc218691d
62796 SIOCGLIFPHYADDR = 0xc218694b
62797+ SIOCGLIFPHYDF = 0xc02069c2
62798 SIOCGLIFPHYRTABLE = 0xc02069a2
62799 SIOCGLIFPHYTTL = 0xc02069a9
62800- SIOCGLOWAT = 0x40047303
62801 SIOCGPGRP = 0x40047309
62802 SIOCGSPPPPARAMS = 0xc0206994
62803+ SIOCGUMBINFO = 0xc02069be
62804+ SIOCGUMBPARAM = 0xc02069c0
62805 SIOCGVH = 0xc02069f6
62806+ SIOCGVNETFLOWID = 0xc02069c4
62807 SIOCGVNETID = 0xc02069a7
62808+ SIOCIFAFATTACH = 0x801169ab
62809+ SIOCIFAFDETACH = 0x801169ac
62810 SIOCIFCREATE = 0x8020697a
62811 SIOCIFDESTROY = 0x80206979
62812 SIOCIFGCLONERS = 0xc0106978
62813 SIOCSETKALIVE = 0x801869a3
62814 SIOCSETLABEL = 0x80206999
62815+ SIOCSETMPWCFG = 0x802069ad
62816 SIOCSETPFLOW = 0x802069fd
62817 SIOCSETPFSYNC = 0x802069f7
62818 SIOCSETVLAN = 0x8020698f
62819- SIOCSHIWAT = 0x80047300
62820 SIOCSIFADDR = 0x8020690c
62821- SIOCSIFASYNCMAP = 0x8020697d
62822 SIOCSIFBRDADDR = 0x80206913
62823 SIOCSIFDESCR = 0x80206980
62824 SIOCSIFDSTADDR = 0x8020690e
62825@@ -1160,25 +1266,36 @@ const (
62826 SIOCSIFGATTR = 0x8028698c
62827 SIOCSIFGENERIC = 0x80206939
62828 SIOCSIFLLADDR = 0x8020691f
62829- SIOCSIFMEDIA = 0xc0206935
62830+ SIOCSIFLLPRIO = 0x802069b5
62831+ SIOCSIFMEDIA = 0xc0206937
62832 SIOCSIFMETRIC = 0x80206918
62833 SIOCSIFMTU = 0x8020697f
62834 SIOCSIFNETMASK = 0x80206916
62835- SIOCSIFPHYADDR = 0x80406946
62836+ SIOCSIFPAIR = 0x802069b0
62837+ SIOCSIFPARENT = 0x802069b2
62838 SIOCSIFPRIORITY = 0x8020699b
62839 SIOCSIFRDOMAIN = 0x8020699f
62840 SIOCSIFRTLABEL = 0x80206982
62841- SIOCSIFTIMESLOT = 0x80206985
62842 SIOCSIFXFLAGS = 0x8020699d
62843 SIOCSLIFPHYADDR = 0x8218694a
62844+ SIOCSLIFPHYDF = 0x802069c1
62845 SIOCSLIFPHYRTABLE = 0x802069a1
62846 SIOCSLIFPHYTTL = 0x802069a8
62847- SIOCSLOWAT = 0x80047302
62848 SIOCSPGRP = 0x80047308
62849 SIOCSSPPPPARAMS = 0x80206993
62850+ SIOCSUMBPARAM = 0x802069bf
62851 SIOCSVH = 0xc02069f5
62852+ SIOCSVNETFLOWID = 0x802069c3
62853 SIOCSVNETID = 0x802069a6
62854+ SIOCSWGDPID = 0xc018695b
62855+ SIOCSWGMAXFLOW = 0xc0186960
62856+ SIOCSWGMAXGROUP = 0xc018695d
62857+ SIOCSWSDPID = 0x8018695c
62858+ SIOCSWSPORTNO = 0xc060695f
62859+ SOCK_CLOEXEC = 0x8000
62860 SOCK_DGRAM = 0x2
62861+ SOCK_DNS = 0x1000
62862+ SOCK_NONBLOCK = 0x4000
62863 SOCK_RAW = 0x3
62864 SOCK_RDM = 0x4
62865 SOCK_SEQPACKET = 0x5
62866@@ -1209,9 +1326,42 @@ const (
62867 SO_TIMESTAMP = 0x800
62868 SO_TYPE = 0x1008
62869 SO_USELOOPBACK = 0x40
62870+ SO_ZEROIZE = 0x2000
62871+ S_BLKSIZE = 0x200
62872+ S_IEXEC = 0x40
62873+ S_IFBLK = 0x6000
62874+ S_IFCHR = 0x2000
62875+ S_IFDIR = 0x4000
62876+ S_IFIFO = 0x1000
62877+ S_IFLNK = 0xa000
62878+ S_IFMT = 0xf000
62879+ S_IFREG = 0x8000
62880+ S_IFSOCK = 0xc000
62881+ S_IREAD = 0x100
62882+ S_IRGRP = 0x20
62883+ S_IROTH = 0x4
62884+ S_IRUSR = 0x100
62885+ S_IRWXG = 0x38
62886+ S_IRWXO = 0x7
62887+ S_IRWXU = 0x1c0
62888+ S_ISGID = 0x400
62889+ S_ISTXT = 0x200
62890+ S_ISUID = 0x800
62891+ S_ISVTX = 0x200
62892+ S_IWGRP = 0x10
62893+ S_IWOTH = 0x2
62894+ S_IWRITE = 0x80
62895+ S_IWUSR = 0x80
62896+ S_IXGRP = 0x8
62897+ S_IXOTH = 0x1
62898+ S_IXUSR = 0x40
62899 TCIFLUSH = 0x1
62900+ TCIOFF = 0x3
62901 TCIOFLUSH = 0x3
62902+ TCION = 0x4
62903 TCOFLUSH = 0x2
62904+ TCOOFF = 0x1
62905+ TCOON = 0x2
62906 TCP_MAXBURST = 0x4
62907 TCP_MAXSEG = 0x2
62908 TCP_MAXWIN = 0xffff
62909@@ -1221,11 +1371,12 @@ const (
62910 TCP_MSS = 0x200
62911 TCP_NODELAY = 0x1
62912 TCP_NOPUSH = 0x10
62913- TCP_NSTATES = 0xb
62914 TCP_SACK_ENABLE = 0x8
62915 TCSAFLUSH = 0x2
62916 TIOCCBRK = 0x2000747a
62917 TIOCCDTR = 0x20007478
62918+ TIOCCHKVERAUTH = 0x2000741e
62919+ TIOCCLRVERAUTH = 0x2000741d
62920 TIOCCONS = 0x80047462
62921 TIOCDRAIN = 0x2000745e
62922 TIOCEXCL = 0x2000740d
62923@@ -1280,17 +1431,22 @@ const (
62924 TIOCSETAF = 0x802c7416
62925 TIOCSETAW = 0x802c7415
62926 TIOCSETD = 0x8004741b
62927+ TIOCSETVERAUTH = 0x8004741c
62928 TIOCSFLAGS = 0x8004745c
62929 TIOCSIG = 0x8004745f
62930 TIOCSPGRP = 0x80047476
62931 TIOCSTART = 0x2000746e
62932- TIOCSTAT = 0x80047465
62933+ TIOCSTAT = 0x20007465
62934 TIOCSTI = 0x80017472
62935 TIOCSTOP = 0x2000746f
62936 TIOCSTSTAMP = 0x8008745a
62937 TIOCSWINSZ = 0x80087467
62938 TIOCUCNTL = 0x80047466
62939+ TIOCUCNTL_CBRK = 0x7a
62940+ TIOCUCNTL_SBRK = 0x7b
62941 TOSTOP = 0x400000
62942+ UTIME_NOW = -0x2
62943+ UTIME_OMIT = -0x1
62944 VDISCARD = 0xf
62945 VDSUSP = 0xb
62946 VEOF = 0x0
62947@@ -1301,6 +1457,18 @@ const (
62948 VKILL = 0x5
62949 VLNEXT = 0xe
62950 VMIN = 0x10
62951+ VM_ANONMIN = 0x7
62952+ VM_LOADAVG = 0x2
62953+ VM_MAXID = 0xc
62954+ VM_MAXSLP = 0xa
62955+ VM_METER = 0x1
62956+ VM_NKMEMPAGES = 0x6
62957+ VM_PSSTRINGS = 0x3
62958+ VM_SWAPENCRYPT = 0x5
62959+ VM_USPACE = 0xb
62960+ VM_UVMEXP = 0x4
62961+ VM_VNODEMIN = 0x9
62962+ VM_VTEXTMIN = 0x8
62963 VQUIT = 0x9
62964 VREPRINT = 0x6
62965 VSTART = 0xc
62966@@ -1313,8 +1481,8 @@ const (
62967 WCONTINUED = 0x8
62968 WCOREFLAG = 0x80
62969 WNOHANG = 0x1
62970- WSTOPPED = 0x7f
62971 WUNTRACED = 0x2
62972+ XCASE = 0x1000000
62973 )
62974
62975 // Errors
62976@@ -1328,6 +1496,7 @@ const (
62977 EALREADY = syscall.Errno(0x25)
62978 EAUTH = syscall.Errno(0x50)
62979 EBADF = syscall.Errno(0x9)
62980+ EBADMSG = syscall.Errno(0x5c)
62981 EBADRPC = syscall.Errno(0x48)
62982 EBUSY = syscall.Errno(0x10)
62983 ECANCELED = syscall.Errno(0x58)
62984@@ -1354,7 +1523,7 @@ const (
62985 EIPSEC = syscall.Errno(0x52)
62986 EISCONN = syscall.Errno(0x38)
62987 EISDIR = syscall.Errno(0x15)
62988- ELAST = syscall.Errno(0x5b)
62989+ ELAST = syscall.Errno(0x5f)
62990 ELOOP = syscall.Errno(0x3e)
62991 EMEDIUMTYPE = syscall.Errno(0x56)
62992 EMFILE = syscall.Errno(0x18)
62993@@ -1382,12 +1551,14 @@ const (
62994 ENOTCONN = syscall.Errno(0x39)
62995 ENOTDIR = syscall.Errno(0x14)
62996 ENOTEMPTY = syscall.Errno(0x42)
62997+ ENOTRECOVERABLE = syscall.Errno(0x5d)
62998 ENOTSOCK = syscall.Errno(0x26)
62999 ENOTSUP = syscall.Errno(0x5b)
63000 ENOTTY = syscall.Errno(0x19)
63001 ENXIO = syscall.Errno(0x6)
63002 EOPNOTSUPP = syscall.Errno(0x2d)
63003 EOVERFLOW = syscall.Errno(0x57)
63004+ EOWNERDEAD = syscall.Errno(0x5e)
63005 EPERM = syscall.Errno(0x1)
63006 EPFNOSUPPORT = syscall.Errno(0x2e)
63007 EPIPE = syscall.Errno(0x20)
63008@@ -1395,6 +1566,7 @@ const (
63009 EPROCUNAVAIL = syscall.Errno(0x4c)
63010 EPROGMISMATCH = syscall.Errno(0x4b)
63011 EPROGUNAVAIL = syscall.Errno(0x4a)
63012+ EPROTO = syscall.Errno(0x5f)
63013 EPROTONOSUPPORT = syscall.Errno(0x2b)
63014 EPROTOTYPE = syscall.Errno(0x29)
63015 ERANGE = syscall.Errno(0x22)
63016@@ -1452,132 +1624,144 @@ const (
63017 )
63018
63019 // Error table
63020-var errors = [...]string{
63021- 1: "operation not permitted",
63022- 2: "no such file or directory",
63023- 3: "no such process",
63024- 4: "interrupted system call",
63025- 5: "input/output error",
63026- 6: "device not configured",
63027- 7: "argument list too long",
63028- 8: "exec format error",
63029- 9: "bad file descriptor",
63030- 10: "no child processes",
63031- 11: "resource deadlock avoided",
63032- 12: "cannot allocate memory",
63033- 13: "permission denied",
63034- 14: "bad address",
63035- 15: "block device required",
63036- 16: "device busy",
63037- 17: "file exists",
63038- 18: "cross-device link",
63039- 19: "operation not supported by device",
63040- 20: "not a directory",
63041- 21: "is a directory",
63042- 22: "invalid argument",
63043- 23: "too many open files in system",
63044- 24: "too many open files",
63045- 25: "inappropriate ioctl for device",
63046- 26: "text file busy",
63047- 27: "file too large",
63048- 28: "no space left on device",
63049- 29: "illegal seek",
63050- 30: "read-only file system",
63051- 31: "too many links",
63052- 32: "broken pipe",
63053- 33: "numerical argument out of domain",
63054- 34: "result too large",
63055- 35: "resource temporarily unavailable",
63056- 36: "operation now in progress",
63057- 37: "operation already in progress",
63058- 38: "socket operation on non-socket",
63059- 39: "destination address required",
63060- 40: "message too long",
63061- 41: "protocol wrong type for socket",
63062- 42: "protocol not available",
63063- 43: "protocol not supported",
63064- 44: "socket type not supported",
63065- 45: "operation not supported",
63066- 46: "protocol family not supported",
63067- 47: "address family not supported by protocol family",
63068- 48: "address already in use",
63069- 49: "can't assign requested address",
63070- 50: "network is down",
63071- 51: "network is unreachable",
63072- 52: "network dropped connection on reset",
63073- 53: "software caused connection abort",
63074- 54: "connection reset by peer",
63075- 55: "no buffer space available",
63076- 56: "socket is already connected",
63077- 57: "socket is not connected",
63078- 58: "can't send after socket shutdown",
63079- 59: "too many references: can't splice",
63080- 60: "connection timed out",
63081- 61: "connection refused",
63082- 62: "too many levels of symbolic links",
63083- 63: "file name too long",
63084- 64: "host is down",
63085- 65: "no route to host",
63086- 66: "directory not empty",
63087- 67: "too many processes",
63088- 68: "too many users",
63089- 69: "disc quota exceeded",
63090- 70: "stale NFS file handle",
63091- 71: "too many levels of remote in path",
63092- 72: "RPC struct is bad",
63093- 73: "RPC version wrong",
63094- 74: "RPC prog. not avail",
63095- 75: "program version wrong",
63096- 76: "bad procedure for program",
63097- 77: "no locks available",
63098- 78: "function not implemented",
63099- 79: "inappropriate file type or format",
63100- 80: "authentication error",
63101- 81: "need authenticator",
63102- 82: "IPsec processing failure",
63103- 83: "attribute not found",
63104- 84: "illegal byte sequence",
63105- 85: "no medium found",
63106- 86: "wrong medium type",
63107- 87: "value too large to be stored in data type",
63108- 88: "operation canceled",
63109- 89: "identifier removed",
63110- 90: "no message of desired type",
63111- 91: "not supported",
63112+var errorList = [...]struct {
63113+ num syscall.Errno
63114+ name string
63115+ desc string
63116+}{
63117+ {1, "EPERM", "operation not permitted"},
63118+ {2, "ENOENT", "no such file or directory"},
63119+ {3, "ESRCH", "no such process"},
63120+ {4, "EINTR", "interrupted system call"},
63121+ {5, "EIO", "input/output error"},
63122+ {6, "ENXIO", "device not configured"},
63123+ {7, "E2BIG", "argument list too long"},
63124+ {8, "ENOEXEC", "exec format error"},
63125+ {9, "EBADF", "bad file descriptor"},
63126+ {10, "ECHILD", "no child processes"},
63127+ {11, "EDEADLK", "resource deadlock avoided"},
63128+ {12, "ENOMEM", "cannot allocate memory"},
63129+ {13, "EACCES", "permission denied"},
63130+ {14, "EFAULT", "bad address"},
63131+ {15, "ENOTBLK", "block device required"},
63132+ {16, "EBUSY", "device busy"},
63133+ {17, "EEXIST", "file exists"},
63134+ {18, "EXDEV", "cross-device link"},
63135+ {19, "ENODEV", "operation not supported by device"},
63136+ {20, "ENOTDIR", "not a directory"},
63137+ {21, "EISDIR", "is a directory"},
63138+ {22, "EINVAL", "invalid argument"},
63139+ {23, "ENFILE", "too many open files in system"},
63140+ {24, "EMFILE", "too many open files"},
63141+ {25, "ENOTTY", "inappropriate ioctl for device"},
63142+ {26, "ETXTBSY", "text file busy"},
63143+ {27, "EFBIG", "file too large"},
63144+ {28, "ENOSPC", "no space left on device"},
63145+ {29, "ESPIPE", "illegal seek"},
63146+ {30, "EROFS", "read-only file system"},
63147+ {31, "EMLINK", "too many links"},
63148+ {32, "EPIPE", "broken pipe"},
63149+ {33, "EDOM", "numerical argument out of domain"},
63150+ {34, "ERANGE", "result too large"},
63151+ {35, "EAGAIN", "resource temporarily unavailable"},
63152+ {36, "EINPROGRESS", "operation now in progress"},
63153+ {37, "EALREADY", "operation already in progress"},
63154+ {38, "ENOTSOCK", "socket operation on non-socket"},
63155+ {39, "EDESTADDRREQ", "destination address required"},
63156+ {40, "EMSGSIZE", "message too long"},
63157+ {41, "EPROTOTYPE", "protocol wrong type for socket"},
63158+ {42, "ENOPROTOOPT", "protocol not available"},
63159+ {43, "EPROTONOSUPPORT", "protocol not supported"},
63160+ {44, "ESOCKTNOSUPPORT", "socket type not supported"},
63161+ {45, "EOPNOTSUPP", "operation not supported"},
63162+ {46, "EPFNOSUPPORT", "protocol family not supported"},
63163+ {47, "EAFNOSUPPORT", "address family not supported by protocol family"},
63164+ {48, "EADDRINUSE", "address already in use"},
63165+ {49, "EADDRNOTAVAIL", "can't assign requested address"},
63166+ {50, "ENETDOWN", "network is down"},
63167+ {51, "ENETUNREACH", "network is unreachable"},
63168+ {52, "ENETRESET", "network dropped connection on reset"},
63169+ {53, "ECONNABORTED", "software caused connection abort"},
63170+ {54, "ECONNRESET", "connection reset by peer"},
63171+ {55, "ENOBUFS", "no buffer space available"},
63172+ {56, "EISCONN", "socket is already connected"},
63173+ {57, "ENOTCONN", "socket is not connected"},
63174+ {58, "ESHUTDOWN", "can't send after socket shutdown"},
63175+ {59, "ETOOMANYREFS", "too many references: can't splice"},
63176+ {60, "ETIMEDOUT", "operation timed out"},
63177+ {61, "ECONNREFUSED", "connection refused"},
63178+ {62, "ELOOP", "too many levels of symbolic links"},
63179+ {63, "ENAMETOOLONG", "file name too long"},
63180+ {64, "EHOSTDOWN", "host is down"},
63181+ {65, "EHOSTUNREACH", "no route to host"},
63182+ {66, "ENOTEMPTY", "directory not empty"},
63183+ {67, "EPROCLIM", "too many processes"},
63184+ {68, "EUSERS", "too many users"},
63185+ {69, "EDQUOT", "disk quota exceeded"},
63186+ {70, "ESTALE", "stale NFS file handle"},
63187+ {71, "EREMOTE", "too many levels of remote in path"},
63188+ {72, "EBADRPC", "RPC struct is bad"},
63189+ {73, "ERPCMISMATCH", "RPC version wrong"},
63190+ {74, "EPROGUNAVAIL", "RPC program not available"},
63191+ {75, "EPROGMISMATCH", "program version wrong"},
63192+ {76, "EPROCUNAVAIL", "bad procedure for program"},
63193+ {77, "ENOLCK", "no locks available"},
63194+ {78, "ENOSYS", "function not implemented"},
63195+ {79, "EFTYPE", "inappropriate file type or format"},
63196+ {80, "EAUTH", "authentication error"},
63197+ {81, "ENEEDAUTH", "need authenticator"},
63198+ {82, "EIPSEC", "IPsec processing failure"},
63199+ {83, "ENOATTR", "attribute not found"},
63200+ {84, "EILSEQ", "illegal byte sequence"},
63201+ {85, "ENOMEDIUM", "no medium found"},
63202+ {86, "EMEDIUMTYPE", "wrong medium type"},
63203+ {87, "EOVERFLOW", "value too large to be stored in data type"},
63204+ {88, "ECANCELED", "operation canceled"},
63205+ {89, "EIDRM", "identifier removed"},
63206+ {90, "ENOMSG", "no message of desired type"},
63207+ {91, "ENOTSUP", "not supported"},
63208+ {92, "EBADMSG", "bad message"},
63209+ {93, "ENOTRECOVERABLE", "state not recoverable"},
63210+ {94, "EOWNERDEAD", "previous owner died"},
63211+ {95, "ELAST", "protocol error"},
63212 }
63213
63214 // Signal table
63215-var signals = [...]string{
63216- 1: "hangup",
63217- 2: "interrupt",
63218- 3: "quit",
63219- 4: "illegal instruction",
63220- 5: "trace/BPT trap",
63221- 6: "abort trap",
63222- 7: "EMT trap",
63223- 8: "floating point exception",
63224- 9: "killed",
63225- 10: "bus error",
63226- 11: "segmentation fault",
63227- 12: "bad system call",
63228- 13: "broken pipe",
63229- 14: "alarm clock",
63230- 15: "terminated",
63231- 16: "urgent I/O condition",
63232- 17: "stopped (signal)",
63233- 18: "stopped",
63234- 19: "continued",
63235- 20: "child exited",
63236- 21: "stopped (tty input)",
63237- 22: "stopped (tty output)",
63238- 23: "I/O possible",
63239- 24: "cputime limit exceeded",
63240- 25: "filesize limit exceeded",
63241- 26: "virtual timer expired",
63242- 27: "profiling timer expired",
63243- 28: "window size changes",
63244- 29: "information request",
63245- 30: "user defined signal 1",
63246- 31: "user defined signal 2",
63247- 32: "thread AST",
63248+var signalList = [...]struct {
63249+ num syscall.Signal
63250+ name string
63251+ desc string
63252+}{
63253+ {1, "SIGHUP", "hangup"},
63254+ {2, "SIGINT", "interrupt"},
63255+ {3, "SIGQUIT", "quit"},
63256+ {4, "SIGILL", "illegal instruction"},
63257+ {5, "SIGTRAP", "trace/BPT trap"},
63258+ {6, "SIGABRT", "abort trap"},
63259+ {7, "SIGEMT", "EMT trap"},
63260+ {8, "SIGFPE", "floating point exception"},
63261+ {9, "SIGKILL", "killed"},
63262+ {10, "SIGBUS", "bus error"},
63263+ {11, "SIGSEGV", "segmentation fault"},
63264+ {12, "SIGSYS", "bad system call"},
63265+ {13, "SIGPIPE", "broken pipe"},
63266+ {14, "SIGALRM", "alarm clock"},
63267+ {15, "SIGTERM", "terminated"},
63268+ {16, "SIGURG", "urgent I/O condition"},
63269+ {17, "SIGSTOP", "suspended (signal)"},
63270+ {18, "SIGTSTP", "suspended"},
63271+ {19, "SIGCONT", "continued"},
63272+ {20, "SIGCHLD", "child exited"},
63273+ {21, "SIGTTIN", "stopped (tty input)"},
63274+ {22, "SIGTTOU", "stopped (tty output)"},
63275+ {23, "SIGIO", "I/O possible"},
63276+ {24, "SIGXCPU", "cputime limit exceeded"},
63277+ {25, "SIGXFSZ", "filesize limit exceeded"},
63278+ {26, "SIGVTALRM", "virtual timer expired"},
63279+ {27, "SIGPROF", "profiling timer expired"},
63280+ {28, "SIGWINCH", "window size changes"},
63281+ {29, "SIGINFO", "information request"},
63282+ {30, "SIGUSR1", "user defined signal 1"},
63283+ {31, "SIGUSR2", "user defined signal 2"},
63284+ {32, "SIGTHR", "thread AST"},
63285 }
63286diff --git a/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go b/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go
63287index 3ed0b260..7aa796a6 100644
63288--- a/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go
63289+++ b/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go
63290@@ -1,11 +1,11 @@
63291 // mkerrors.sh
63292-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
63293-
63294-// Created by cgo -godefs - DO NOT EDIT
63295-// cgo -godefs -- _const.go
63296+// Code generated by the command above; see README.md. DO NOT EDIT.
63297
63298 // +build arm,openbsd
63299
63300+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
63301+// cgo -godefs -- _const.go
63302+
63303 package unix
63304
63305 import "syscall"
63306@@ -147,6 +147,7 @@ const (
63307 CFLUSH = 0xf
63308 CLOCAL = 0x8000
63309 CREAD = 0x800
63310+ CRTSCTS = 0x10000
63311 CS5 = 0x0
63312 CS6 = 0x100
63313 CS7 = 0x200
63314@@ -157,6 +158,8 @@ const (
63315 CSTOP = 0x13
63316 CSTOPB = 0x400
63317 CSUSP = 0x1a
63318+ CTL_HW = 0x6
63319+ CTL_KERN = 0x1
63320 CTL_MAXNAME = 0xc
63321 CTL_NET = 0x4
63322 DIOCOSFPFLUSH = 0x2000444e
63323@@ -441,6 +444,7 @@ const (
63324 F_UNLCK = 0x2
63325 F_WRLCK = 0x3
63326 HUPCL = 0x4000
63327+ HW_MACHINE = 0x1
63328 ICANON = 0x100
63329 ICMP6_FILTER = 0x12
63330 ICRNL = 0x100
63331@@ -859,6 +863,10 @@ const (
63332 IXANY = 0x800
63333 IXOFF = 0x400
63334 IXON = 0x200
63335+ KERN_HOSTNAME = 0xa
63336+ KERN_OSRELEASE = 0x2
63337+ KERN_OSTYPE = 0x1
63338+ KERN_VERSION = 0x4
63339 LCNT_OVERLOAD_FLUSH = 0x6
63340 LOCK_EX = 0x2
63341 LOCK_NB = 0x4
63342@@ -873,10 +881,11 @@ const (
63343 MADV_WILLNEED = 0x3
63344 MAP_ANON = 0x1000
63345 MAP_ANONYMOUS = 0x1000
63346+ MAP_CONCEAL = 0x8000
63347 MAP_COPY = 0x2
63348 MAP_FILE = 0x0
63349 MAP_FIXED = 0x10
63350- MAP_FLAGMASK = 0x3ff7
63351+ MAP_FLAGMASK = 0xfff7
63352 MAP_HASSEMAPHORE = 0x0
63353 MAP_INHERIT = 0x0
63354 MAP_INHERIT_COPY = 0x1
63355@@ -888,9 +897,36 @@ const (
63356 MAP_PRIVATE = 0x2
63357 MAP_RENAME = 0x0
63358 MAP_SHARED = 0x1
63359+ MAP_STACK = 0x4000
63360 MAP_TRYFIXED = 0x0
63361 MCL_CURRENT = 0x1
63362 MCL_FUTURE = 0x2
63363+ MNT_ASYNC = 0x40
63364+ MNT_DEFEXPORTED = 0x200
63365+ MNT_DELEXPORT = 0x20000
63366+ MNT_DOOMED = 0x8000000
63367+ MNT_EXPORTANON = 0x400
63368+ MNT_EXPORTED = 0x100
63369+ MNT_EXRDONLY = 0x80
63370+ MNT_FORCE = 0x80000
63371+ MNT_LAZY = 0x3
63372+ MNT_LOCAL = 0x1000
63373+ MNT_NOATIME = 0x8000
63374+ MNT_NODEV = 0x10
63375+ MNT_NOEXEC = 0x4
63376+ MNT_NOSUID = 0x8
63377+ MNT_NOWAIT = 0x2
63378+ MNT_QUOTA = 0x2000
63379+ MNT_RDONLY = 0x1
63380+ MNT_RELOAD = 0x40000
63381+ MNT_ROOTFS = 0x4000
63382+ MNT_SOFTDEP = 0x4000000
63383+ MNT_SYNCHRONOUS = 0x2
63384+ MNT_UPDATE = 0x10000
63385+ MNT_VISFLAGMASK = 0x400ffff
63386+ MNT_WAIT = 0x1
63387+ MNT_WANTRDWR = 0x2000000
63388+ MNT_WXALLOWED = 0x800
63389 MSG_BCAST = 0x100
63390 MSG_CMSG_CLOEXEC = 0x800
63391 MSG_CTRUNC = 0x20
63392@@ -913,6 +949,7 @@ const (
63393 NET_RT_MAXID = 0x6
63394 NET_RT_STATS = 0x4
63395 NET_RT_TABLE = 0x5
63396+ NFDBITS = 0x20
63397 NOFLSH = 0x80000000
63398 NOTE_ATTRIB = 0x8
63399 NOTE_CHILD = 0x4
63400@@ -1213,6 +1250,34 @@ const (
63401 SO_TIMESTAMP = 0x800
63402 SO_TYPE = 0x1008
63403 SO_USELOOPBACK = 0x40
63404+ S_BLKSIZE = 0x200
63405+ S_IEXEC = 0x40
63406+ S_IFBLK = 0x6000
63407+ S_IFCHR = 0x2000
63408+ S_IFDIR = 0x4000
63409+ S_IFIFO = 0x1000
63410+ S_IFLNK = 0xa000
63411+ S_IFMT = 0xf000
63412+ S_IFREG = 0x8000
63413+ S_IFSOCK = 0xc000
63414+ S_IREAD = 0x100
63415+ S_IRGRP = 0x20
63416+ S_IROTH = 0x4
63417+ S_IRUSR = 0x100
63418+ S_IRWXG = 0x38
63419+ S_IRWXO = 0x7
63420+ S_IRWXU = 0x1c0
63421+ S_ISGID = 0x400
63422+ S_ISTXT = 0x200
63423+ S_ISUID = 0x800
63424+ S_ISVTX = 0x200
63425+ S_IWGRP = 0x10
63426+ S_IWOTH = 0x2
63427+ S_IWRITE = 0x80
63428+ S_IWUSR = 0x80
63429+ S_IXGRP = 0x8
63430+ S_IXOTH = 0x1
63431+ S_IXUSR = 0x40
63432 TCIFLUSH = 0x1
63433 TCIOFLUSH = 0x3
63434 TCOFLUSH = 0x2
63435@@ -1455,132 +1520,140 @@ const (
63436 )
63437
63438 // Error table
63439-var errors = [...]string{
63440- 1: "operation not permitted",
63441- 2: "no such file or directory",
63442- 3: "no such process",
63443- 4: "interrupted system call",
63444- 5: "input/output error",
63445- 6: "device not configured",
63446- 7: "argument list too long",
63447- 8: "exec format error",
63448- 9: "bad file descriptor",
63449- 10: "no child processes",
63450- 11: "resource deadlock avoided",
63451- 12: "cannot allocate memory",
63452- 13: "permission denied",
63453- 14: "bad address",
63454- 15: "block device required",
63455- 16: "device busy",
63456- 17: "file exists",
63457- 18: "cross-device link",
63458- 19: "operation not supported by device",
63459- 20: "not a directory",
63460- 21: "is a directory",
63461- 22: "invalid argument",
63462- 23: "too many open files in system",
63463- 24: "too many open files",
63464- 25: "inappropriate ioctl for device",
63465- 26: "text file busy",
63466- 27: "file too large",
63467- 28: "no space left on device",
63468- 29: "illegal seek",
63469- 30: "read-only file system",
63470- 31: "too many links",
63471- 32: "broken pipe",
63472- 33: "numerical argument out of domain",
63473- 34: "result too large",
63474- 35: "resource temporarily unavailable",
63475- 36: "operation now in progress",
63476- 37: "operation already in progress",
63477- 38: "socket operation on non-socket",
63478- 39: "destination address required",
63479- 40: "message too long",
63480- 41: "protocol wrong type for socket",
63481- 42: "protocol not available",
63482- 43: "protocol not supported",
63483- 44: "socket type not supported",
63484- 45: "operation not supported",
63485- 46: "protocol family not supported",
63486- 47: "address family not supported by protocol family",
63487- 48: "address already in use",
63488- 49: "can't assign requested address",
63489- 50: "network is down",
63490- 51: "network is unreachable",
63491- 52: "network dropped connection on reset",
63492- 53: "software caused connection abort",
63493- 54: "connection reset by peer",
63494- 55: "no buffer space available",
63495- 56: "socket is already connected",
63496- 57: "socket is not connected",
63497- 58: "can't send after socket shutdown",
63498- 59: "too many references: can't splice",
63499- 60: "connection timed out",
63500- 61: "connection refused",
63501- 62: "too many levels of symbolic links",
63502- 63: "file name too long",
63503- 64: "host is down",
63504- 65: "no route to host",
63505- 66: "directory not empty",
63506- 67: "too many processes",
63507- 68: "too many users",
63508- 69: "disc quota exceeded",
63509- 70: "stale NFS file handle",
63510- 71: "too many levels of remote in path",
63511- 72: "RPC struct is bad",
63512- 73: "RPC version wrong",
63513- 74: "RPC prog. not avail",
63514- 75: "program version wrong",
63515- 76: "bad procedure for program",
63516- 77: "no locks available",
63517- 78: "function not implemented",
63518- 79: "inappropriate file type or format",
63519- 80: "authentication error",
63520- 81: "need authenticator",
63521- 82: "IPsec processing failure",
63522- 83: "attribute not found",
63523- 84: "illegal byte sequence",
63524- 85: "no medium found",
63525- 86: "wrong medium type",
63526- 87: "value too large to be stored in data type",
63527- 88: "operation canceled",
63528- 89: "identifier removed",
63529- 90: "no message of desired type",
63530- 91: "not supported",
63531+var errorList = [...]struct {
63532+ num syscall.Errno
63533+ name string
63534+ desc string
63535+}{
63536+ {1, "EPERM", "operation not permitted"},
63537+ {2, "ENOENT", "no such file or directory"},
63538+ {3, "ESRCH", "no such process"},
63539+ {4, "EINTR", "interrupted system call"},
63540+ {5, "EIO", "input/output error"},
63541+ {6, "ENXIO", "device not configured"},
63542+ {7, "E2BIG", "argument list too long"},
63543+ {8, "ENOEXEC", "exec format error"},
63544+ {9, "EBADF", "bad file descriptor"},
63545+ {10, "ECHILD", "no child processes"},
63546+ {11, "EDEADLK", "resource deadlock avoided"},
63547+ {12, "ENOMEM", "cannot allocate memory"},
63548+ {13, "EACCES", "permission denied"},
63549+ {14, "EFAULT", "bad address"},
63550+ {15, "ENOTBLK", "block device required"},
63551+ {16, "EBUSY", "device busy"},
63552+ {17, "EEXIST", "file exists"},
63553+ {18, "EXDEV", "cross-device link"},
63554+ {19, "ENODEV", "operation not supported by device"},
63555+ {20, "ENOTDIR", "not a directory"},
63556+ {21, "EISDIR", "is a directory"},
63557+ {22, "EINVAL", "invalid argument"},
63558+ {23, "ENFILE", "too many open files in system"},
63559+ {24, "EMFILE", "too many open files"},
63560+ {25, "ENOTTY", "inappropriate ioctl for device"},
63561+ {26, "ETXTBSY", "text file busy"},
63562+ {27, "EFBIG", "file too large"},
63563+ {28, "ENOSPC", "no space left on device"},
63564+ {29, "ESPIPE", "illegal seek"},
63565+ {30, "EROFS", "read-only file system"},
63566+ {31, "EMLINK", "too many links"},
63567+ {32, "EPIPE", "broken pipe"},
63568+ {33, "EDOM", "numerical argument out of domain"},
63569+ {34, "ERANGE", "result too large"},
63570+ {35, "EWOULDBLOCK", "resource temporarily unavailable"},
63571+ {36, "EINPROGRESS", "operation now in progress"},
63572+ {37, "EALREADY", "operation already in progress"},
63573+ {38, "ENOTSOCK", "socket operation on non-socket"},
63574+ {39, "EDESTADDRREQ", "destination address required"},
63575+ {40, "EMSGSIZE", "message too long"},
63576+ {41, "EPROTOTYPE", "protocol wrong type for socket"},
63577+ {42, "ENOPROTOOPT", "protocol not available"},
63578+ {43, "EPROTONOSUPPORT", "protocol not supported"},
63579+ {44, "ESOCKTNOSUPPORT", "socket type not supported"},
63580+ {45, "EOPNOTSUPP", "operation not supported"},
63581+ {46, "EPFNOSUPPORT", "protocol family not supported"},
63582+ {47, "EAFNOSUPPORT", "address family not supported by protocol family"},
63583+ {48, "EADDRINUSE", "address already in use"},
63584+ {49, "EADDRNOTAVAIL", "can't assign requested address"},
63585+ {50, "ENETDOWN", "network is down"},
63586+ {51, "ENETUNREACH", "network is unreachable"},
63587+ {52, "ENETRESET", "network dropped connection on reset"},
63588+ {53, "ECONNABORTED", "software caused connection abort"},
63589+ {54, "ECONNRESET", "connection reset by peer"},
63590+ {55, "ENOBUFS", "no buffer space available"},
63591+ {56, "EISCONN", "socket is already connected"},
63592+ {57, "ENOTCONN", "socket is not connected"},
63593+ {58, "ESHUTDOWN", "can't send after socket shutdown"},
63594+ {59, "ETOOMANYREFS", "too many references: can't splice"},
63595+ {60, "ETIMEDOUT", "operation timed out"},
63596+ {61, "ECONNREFUSED", "connection refused"},
63597+ {62, "ELOOP", "too many levels of symbolic links"},
63598+ {63, "ENAMETOOLONG", "file name too long"},
63599+ {64, "EHOSTDOWN", "host is down"},
63600+ {65, "EHOSTUNREACH", "no route to host"},
63601+ {66, "ENOTEMPTY", "directory not empty"},
63602+ {67, "EPROCLIM", "too many processes"},
63603+ {68, "EUSERS", "too many users"},
63604+ {69, "EDQUOT", "disk quota exceeded"},
63605+ {70, "ESTALE", "stale NFS file handle"},
63606+ {71, "EREMOTE", "too many levels of remote in path"},
63607+ {72, "EBADRPC", "RPC struct is bad"},
63608+ {73, "ERPCMISMATCH", "RPC version wrong"},
63609+ {74, "EPROGUNAVAIL", "RPC program not available"},
63610+ {75, "EPROGMISMATCH", "program version wrong"},
63611+ {76, "EPROCUNAVAIL", "bad procedure for program"},
63612+ {77, "ENOLCK", "no locks available"},
63613+ {78, "ENOSYS", "function not implemented"},
63614+ {79, "EFTYPE", "inappropriate file type or format"},
63615+ {80, "EAUTH", "authentication error"},
63616+ {81, "ENEEDAUTH", "need authenticator"},
63617+ {82, "EIPSEC", "IPsec processing failure"},
63618+ {83, "ENOATTR", "attribute not found"},
63619+ {84, "EILSEQ", "illegal byte sequence"},
63620+ {85, "ENOMEDIUM", "no medium found"},
63621+ {86, "EMEDIUMTYPE", "wrong medium type"},
63622+ {87, "EOVERFLOW", "value too large to be stored in data type"},
63623+ {88, "ECANCELED", "operation canceled"},
63624+ {89, "EIDRM", "identifier removed"},
63625+ {90, "ENOMSG", "no message of desired type"},
63626+ {91, "ELAST", "not supported"},
63627 }
63628
63629 // Signal table
63630-var signals = [...]string{
63631- 1: "hangup",
63632- 2: "interrupt",
63633- 3: "quit",
63634- 4: "illegal instruction",
63635- 5: "trace/BPT trap",
63636- 6: "abort trap",
63637- 7: "EMT trap",
63638- 8: "floating point exception",
63639- 9: "killed",
63640- 10: "bus error",
63641- 11: "segmentation fault",
63642- 12: "bad system call",
63643- 13: "broken pipe",
63644- 14: "alarm clock",
63645- 15: "terminated",
63646- 16: "urgent I/O condition",
63647- 17: "stopped (signal)",
63648- 18: "stopped",
63649- 19: "continued",
63650- 20: "child exited",
63651- 21: "stopped (tty input)",
63652- 22: "stopped (tty output)",
63653- 23: "I/O possible",
63654- 24: "cputime limit exceeded",
63655- 25: "filesize limit exceeded",
63656- 26: "virtual timer expired",
63657- 27: "profiling timer expired",
63658- 28: "window size changes",
63659- 29: "information request",
63660- 30: "user defined signal 1",
63661- 31: "user defined signal 2",
63662- 32: "thread AST",
63663+var signalList = [...]struct {
63664+ num syscall.Signal
63665+ name string
63666+ desc string
63667+}{
63668+ {1, "SIGHUP", "hangup"},
63669+ {2, "SIGINT", "interrupt"},
63670+ {3, "SIGQUIT", "quit"},
63671+ {4, "SIGILL", "illegal instruction"},
63672+ {5, "SIGTRAP", "trace/BPT trap"},
63673+ {6, "SIGABRT", "abort trap"},
63674+ {7, "SIGEMT", "EMT trap"},
63675+ {8, "SIGFPE", "floating point exception"},
63676+ {9, "SIGKILL", "killed"},
63677+ {10, "SIGBUS", "bus error"},
63678+ {11, "SIGSEGV", "segmentation fault"},
63679+ {12, "SIGSYS", "bad system call"},
63680+ {13, "SIGPIPE", "broken pipe"},
63681+ {14, "SIGALRM", "alarm clock"},
63682+ {15, "SIGTERM", "terminated"},
63683+ {16, "SIGURG", "urgent I/O condition"},
63684+ {17, "SIGSTOP", "suspended (signal)"},
63685+ {18, "SIGTSTP", "suspended"},
63686+ {19, "SIGCONT", "continued"},
63687+ {20, "SIGCHLD", "child exited"},
63688+ {21, "SIGTTIN", "stopped (tty input)"},
63689+ {22, "SIGTTOU", "stopped (tty output)"},
63690+ {23, "SIGIO", "I/O possible"},
63691+ {24, "SIGXCPU", "cputime limit exceeded"},
63692+ {25, "SIGXFSZ", "filesize limit exceeded"},
63693+ {26, "SIGVTALRM", "virtual timer expired"},
63694+ {27, "SIGPROF", "profiling timer expired"},
63695+ {28, "SIGWINCH", "window size changes"},
63696+ {29, "SIGINFO", "information request"},
63697+ {30, "SIGUSR1", "user defined signal 1"},
63698+ {31, "SIGUSR2", "user defined signal 2"},
63699+ {32, "SIGTHR", "thread AST"},
63700 }
63701diff --git a/vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm64.go
63702similarity index 76%
63703copy from vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go
63704copy to vendor/golang.org/x/sys/unix/zerrors_openbsd_arm64.go
63705index 1758ecca..1792d3f1 100644
63706--- a/vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go
63707+++ b/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm64.go
63708@@ -1,9 +1,9 @@
63709 // mkerrors.sh -m64
63710-// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
63711+// Code generated by the command above; see README.md. DO NOT EDIT.
63712
63713-// +build amd64,openbsd
63714+// +build arm64,openbsd
63715
63716-// Created by cgo -godefs - DO NOT EDIT
63717+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
63718 // cgo -godefs -- -m64 _const.go
63719
63720 package unix
63721@@ -45,6 +45,7 @@ const (
63722 AF_SNA = 0xb
63723 AF_UNIX = 0x1
63724 AF_UNSPEC = 0x0
63725+ ALTWERASE = 0x200
63726 ARPHRD_ETHER = 0x1
63727 ARPHRD_FRELAY = 0xf
63728 ARPHRD_IEEE1394 = 0x18
63729@@ -107,6 +108,9 @@ const (
63730 BPF_DIRECTION_IN = 0x1
63731 BPF_DIRECTION_OUT = 0x2
63732 BPF_DIV = 0x30
63733+ BPF_FILDROP_CAPTURE = 0x1
63734+ BPF_FILDROP_DROP = 0x2
63735+ BPF_FILDROP_PASS = 0x0
63736 BPF_H = 0x8
63737 BPF_IMM = 0x0
63738 BPF_IND = 0x40
63739@@ -146,7 +150,14 @@ const (
63740 BRKINT = 0x2
63741 CFLUSH = 0xf
63742 CLOCAL = 0x8000
63743+ CLOCK_BOOTTIME = 0x6
63744+ CLOCK_MONOTONIC = 0x3
63745+ CLOCK_PROCESS_CPUTIME_ID = 0x2
63746+ CLOCK_REALTIME = 0x0
63747+ CLOCK_THREAD_CPUTIME_ID = 0x4
63748+ CLOCK_UPTIME = 0x5
63749 CREAD = 0x800
63750+ CRTSCTS = 0x10000
63751 CS5 = 0x0
63752 CS6 = 0x100
63753 CS7 = 0x200
63754@@ -157,6 +168,8 @@ const (
63755 CSTOP = 0x13
63756 CSTOPB = 0x400
63757 CSUSP = 0x1a
63758+ CTL_HW = 0x6
63759+ CTL_KERN = 0x1
63760 CTL_MAXNAME = 0xc
63761 CTL_NET = 0x4
63762 DIOCOSFPFLUSH = 0x2000444e
63763@@ -175,6 +188,7 @@ const (
63764 DLT_LOOP = 0xc
63765 DLT_MPLS = 0xdb
63766 DLT_NULL = 0x0
63767+ DLT_OPENFLOW = 0x10b
63768 DLT_PFLOG = 0x75
63769 DLT_PFSYNC = 0x12
63770 DLT_PPP = 0x9
63771@@ -185,6 +199,23 @@ const (
63772 DLT_RAW = 0xe
63773 DLT_SLIP = 0x8
63774 DLT_SLIP_BSDOS = 0xf
63775+ DLT_USBPCAP = 0xf9
63776+ DLT_USER0 = 0x93
63777+ DLT_USER1 = 0x94
63778+ DLT_USER10 = 0x9d
63779+ DLT_USER11 = 0x9e
63780+ DLT_USER12 = 0x9f
63781+ DLT_USER13 = 0xa0
63782+ DLT_USER14 = 0xa1
63783+ DLT_USER15 = 0xa2
63784+ DLT_USER2 = 0x95
63785+ DLT_USER3 = 0x96
63786+ DLT_USER4 = 0x97
63787+ DLT_USER5 = 0x98
63788+ DLT_USER6 = 0x99
63789+ DLT_USER7 = 0x9a
63790+ DLT_USER8 = 0x9b
63791+ DLT_USER9 = 0x9c
63792 DT_BLK = 0x6
63793 DT_CHR = 0x2
63794 DT_DIR = 0x4
63795@@ -324,6 +355,7 @@ const (
63796 ETHERTYPE_OS9NET = 0x7009
63797 ETHERTYPE_PACER = 0x80c6
63798 ETHERTYPE_PAE = 0x888e
63799+ ETHERTYPE_PBB = 0x88e7
63800 ETHERTYPE_PCS = 0x4242
63801 ETHERTYPE_PLANNING = 0x8044
63802 ETHERTYPE_PPP = 0x880b
63803@@ -398,27 +430,38 @@ const (
63804 ETHER_CRC_POLY_LE = 0xedb88320
63805 ETHER_HDR_LEN = 0xe
63806 ETHER_MAX_DIX_LEN = 0x600
63807+ ETHER_MAX_HARDMTU_LEN = 0xff9b
63808 ETHER_MAX_LEN = 0x5ee
63809 ETHER_MIN_LEN = 0x40
63810 ETHER_TYPE_LEN = 0x2
63811 ETHER_VLAN_ENCAP_LEN = 0x4
63812 EVFILT_AIO = -0x3
63813+ EVFILT_DEVICE = -0x8
63814 EVFILT_PROC = -0x5
63815 EVFILT_READ = -0x1
63816 EVFILT_SIGNAL = -0x6
63817- EVFILT_SYSCOUNT = 0x7
63818+ EVFILT_SYSCOUNT = 0x8
63819 EVFILT_TIMER = -0x7
63820 EVFILT_VNODE = -0x4
63821 EVFILT_WRITE = -0x2
63822+ EVL_ENCAPLEN = 0x4
63823+ EVL_PRIO_BITS = 0xd
63824+ EVL_PRIO_MAX = 0x7
63825+ EVL_VLID_MASK = 0xfff
63826+ EVL_VLID_MAX = 0xffe
63827+ EVL_VLID_MIN = 0x1
63828+ EVL_VLID_NULL = 0x0
63829 EV_ADD = 0x1
63830 EV_CLEAR = 0x20
63831 EV_DELETE = 0x2
63832 EV_DISABLE = 0x8
63833+ EV_DISPATCH = 0x80
63834 EV_ENABLE = 0x4
63835 EV_EOF = 0x8000
63836 EV_ERROR = 0x4000
63837 EV_FLAG1 = 0x2000
63838 EV_ONESHOT = 0x10
63839+ EV_RECEIPT = 0x40
63840 EV_SYSFLAGS = 0xf000
63841 EXTA = 0x4b00
63842 EXTB = 0x9600
63843@@ -432,6 +475,7 @@ const (
63844 F_GETFL = 0x3
63845 F_GETLK = 0x7
63846 F_GETOWN = 0x5
63847+ F_ISATTY = 0xb
63848 F_OK = 0x0
63849 F_RDLCK = 0x1
63850 F_SETFD = 0x2
63851@@ -442,13 +486,13 @@ const (
63852 F_UNLCK = 0x2
63853 F_WRLCK = 0x3
63854 HUPCL = 0x4000
63855+ HW_MACHINE = 0x1
63856 ICANON = 0x100
63857 ICMP6_FILTER = 0x12
63858 ICRNL = 0x100
63859 IEXTEN = 0x400
63860 IFAN_ARRIVAL = 0x0
63861 IFAN_DEPARTURE = 0x1
63862- IFA_ROUTE = 0x1
63863 IFF_ALLMULTI = 0x200
63864 IFF_BROADCAST = 0x2
63865 IFF_CANTCHANGE = 0x8e52
63866@@ -459,12 +503,12 @@ const (
63867 IFF_LOOPBACK = 0x8
63868 IFF_MULTICAST = 0x8000
63869 IFF_NOARP = 0x80
63870- IFF_NOTRAILERS = 0x20
63871 IFF_OACTIVE = 0x400
63872 IFF_POINTOPOINT = 0x10
63873 IFF_PROMISC = 0x100
63874 IFF_RUNNING = 0x40
63875 IFF_SIMPLEX = 0x800
63876+ IFF_STATICARP = 0x20
63877 IFF_UP = 0x1
63878 IFNAMSIZ = 0x10
63879 IFT_1822 = 0x2
63880@@ -593,6 +637,7 @@ const (
63881 IFT_LINEGROUP = 0xd2
63882 IFT_LOCALTALK = 0x2a
63883 IFT_LOOP = 0x18
63884+ IFT_MBIM = 0xfa
63885 IFT_MEDIAMAILOVERIP = 0x8b
63886 IFT_MFSIGLINK = 0xa7
63887 IFT_MIOX25 = 0x26
63888@@ -717,8 +762,6 @@ const (
63889 IPPROTO_AH = 0x33
63890 IPPROTO_CARP = 0x70
63891 IPPROTO_DIVERT = 0x102
63892- IPPROTO_DIVERT_INIT = 0x2
63893- IPPROTO_DIVERT_RESP = 0x1
63894 IPPROTO_DONE = 0x101
63895 IPPROTO_DSTOPTS = 0x3c
63896 IPPROTO_EGP = 0x8
63897@@ -775,6 +818,7 @@ const (
63898 IPV6_LEAVE_GROUP = 0xd
63899 IPV6_MAXHLIM = 0xff
63900 IPV6_MAXPACKET = 0xffff
63901+ IPV6_MINHOPCOUNT = 0x41
63902 IPV6_MMTU = 0x500
63903 IPV6_MULTICAST_HOPS = 0xa
63904 IPV6_MULTICAST_IF = 0x9
63905@@ -814,12 +858,12 @@ const (
63906 IP_DEFAULT_MULTICAST_LOOP = 0x1
63907 IP_DEFAULT_MULTICAST_TTL = 0x1
63908 IP_DF = 0x4000
63909- IP_DIVERTFL = 0x1022
63910 IP_DROP_MEMBERSHIP = 0xd
63911 IP_ESP_NETWORK_LEVEL = 0x16
63912 IP_ESP_TRANS_LEVEL = 0x15
63913 IP_HDRINCL = 0x2
63914 IP_IPCOMP_LEVEL = 0x1d
63915+ IP_IPDEFTTL = 0x25
63916 IP_IPSECFLOWINFO = 0x24
63917 IP_IPSEC_LOCAL_AUTH = 0x1b
63918 IP_IPSEC_LOCAL_CRED = 0x19
63919@@ -853,13 +897,19 @@ const (
63920 IP_RETOPTS = 0x8
63921 IP_RF = 0x8000
63922 IP_RTABLE = 0x1021
63923+ IP_SENDSRCADDR = 0x7
63924 IP_TOS = 0x3
63925 IP_TTL = 0x4
63926 ISIG = 0x80
63927 ISTRIP = 0x20
63928+ IUCLC = 0x1000
63929 IXANY = 0x800
63930 IXOFF = 0x400
63931 IXON = 0x200
63932+ KERN_HOSTNAME = 0xa
63933+ KERN_OSRELEASE = 0x2
63934+ KERN_OSTYPE = 0x1
63935+ KERN_VERSION = 0x4
63936 LCNT_OVERLOAD_FLUSH = 0x6
63937 LOCK_EX = 0x2
63938 LOCK_NB = 0x4
63939@@ -873,25 +923,58 @@ const (
63940 MADV_SPACEAVAIL = 0x5
63941 MADV_WILLNEED = 0x3
63942 MAP_ANON = 0x1000
63943- MAP_COPY = 0x4
63944+ MAP_ANONYMOUS = 0x1000
63945+ MAP_CONCEAL = 0x8000
63946+ MAP_COPY = 0x2
63947 MAP_FILE = 0x0
63948 MAP_FIXED = 0x10
63949- MAP_FLAGMASK = 0x1ff7
63950- MAP_HASSEMAPHORE = 0x200
63951- MAP_INHERIT = 0x80
63952+ MAP_FLAGMASK = 0xfff7
63953+ MAP_HASSEMAPHORE = 0x0
63954+ MAP_INHERIT = 0x0
63955 MAP_INHERIT_COPY = 0x1
63956- MAP_INHERIT_DONATE_COPY = 0x3
63957 MAP_INHERIT_NONE = 0x2
63958 MAP_INHERIT_SHARE = 0x0
63959- MAP_NOEXTEND = 0x100
63960- MAP_NORESERVE = 0x40
63961+ MAP_INHERIT_ZERO = 0x3
63962+ MAP_NOEXTEND = 0x0
63963+ MAP_NORESERVE = 0x0
63964 MAP_PRIVATE = 0x2
63965- MAP_RENAME = 0x20
63966+ MAP_RENAME = 0x0
63967 MAP_SHARED = 0x1
63968- MAP_TRYFIXED = 0x400
63969+ MAP_STACK = 0x4000
63970+ MAP_TRYFIXED = 0x0
63971 MCL_CURRENT = 0x1
63972 MCL_FUTURE = 0x2
63973+ MNT_ASYNC = 0x40
63974+ MNT_DEFEXPORTED = 0x200
63975+ MNT_DELEXPORT = 0x20000
63976+ MNT_DOOMED = 0x8000000
63977+ MNT_EXPORTANON = 0x400
63978+ MNT_EXPORTED = 0x100
63979+ MNT_EXRDONLY = 0x80
63980+ MNT_FORCE = 0x80000
63981+ MNT_LAZY = 0x3
63982+ MNT_LOCAL = 0x1000
63983+ MNT_NOATIME = 0x8000
63984+ MNT_NODEV = 0x10
63985+ MNT_NOEXEC = 0x4
63986+ MNT_NOPERM = 0x20
63987+ MNT_NOSUID = 0x8
63988+ MNT_NOWAIT = 0x2
63989+ MNT_QUOTA = 0x2000
63990+ MNT_RDONLY = 0x1
63991+ MNT_RELOAD = 0x40000
63992+ MNT_ROOTFS = 0x4000
63993+ MNT_SOFTDEP = 0x4000000
63994+ MNT_STALLED = 0x100000
63995+ MNT_SWAPPABLE = 0x200000
63996+ MNT_SYNCHRONOUS = 0x2
63997+ MNT_UPDATE = 0x10000
63998+ MNT_VISFLAGMASK = 0x400ffff
63999+ MNT_WAIT = 0x1
64000+ MNT_WANTRDWR = 0x2000000
64001+ MNT_WXALLOWED = 0x800
64002 MSG_BCAST = 0x100
64003+ MSG_CMSG_CLOEXEC = 0x800
64004 MSG_CTRUNC = 0x20
64005 MSG_DONTROUTE = 0x4
64006 MSG_DONTWAIT = 0x80
64007@@ -909,11 +992,15 @@ const (
64008 NET_RT_DUMP = 0x1
64009 NET_RT_FLAGS = 0x2
64010 NET_RT_IFLIST = 0x3
64011- NET_RT_MAXID = 0x6
64012+ NET_RT_IFNAMES = 0x6
64013+ NET_RT_MAXID = 0x7
64014 NET_RT_STATS = 0x4
64015 NET_RT_TABLE = 0x5
64016+ NFDBITS = 0x20
64017 NOFLSH = 0x80000000
64018+ NOKERNINFO = 0x2000000
64019 NOTE_ATTRIB = 0x8
64020+ NOTE_CHANGE = 0x1
64021 NOTE_CHILD = 0x4
64022 NOTE_DELETE = 0x1
64023 NOTE_EOF = 0x2
64024@@ -932,11 +1019,13 @@ const (
64025 NOTE_TRUNCATE = 0x80
64026 NOTE_WRITE = 0x2
64027 OCRNL = 0x10
64028+ OLCUC = 0x20
64029 ONLCR = 0x2
64030 ONLRET = 0x80
64031 ONOCR = 0x40
64032 ONOEOT = 0x8
64033 OPOST = 0x1
64034+ OXTABS = 0x4
64035 O_ACCMODE = 0x3
64036 O_APPEND = 0x8
64037 O_ASYNC = 0x40
64038@@ -974,23 +1063,32 @@ const (
64039 RLIMIT_CPU = 0x0
64040 RLIMIT_DATA = 0x2
64041 RLIMIT_FSIZE = 0x1
64042+ RLIMIT_MEMLOCK = 0x6
64043 RLIMIT_NOFILE = 0x8
64044+ RLIMIT_NPROC = 0x7
64045+ RLIMIT_RSS = 0x5
64046 RLIMIT_STACK = 0x3
64047 RLIM_INFINITY = 0x7fffffffffffffff
64048 RTAX_AUTHOR = 0x6
64049+ RTAX_BFD = 0xb
64050 RTAX_BRD = 0x7
64051+ RTAX_DNS = 0xc
64052 RTAX_DST = 0x0
64053 RTAX_GATEWAY = 0x1
64054 RTAX_GENMASK = 0x3
64055 RTAX_IFA = 0x5
64056 RTAX_IFP = 0x4
64057 RTAX_LABEL = 0xa
64058- RTAX_MAX = 0xb
64059+ RTAX_MAX = 0xf
64060 RTAX_NETMASK = 0x2
64061+ RTAX_SEARCH = 0xe
64062 RTAX_SRC = 0x8
64063 RTAX_SRCMASK = 0x9
64064+ RTAX_STATIC = 0xd
64065 RTA_AUTHOR = 0x40
64066+ RTA_BFD = 0x800
64067 RTA_BRD = 0x80
64068+ RTA_DNS = 0x1000
64069 RTA_DST = 0x1
64070 RTA_GATEWAY = 0x2
64071 RTA_GENMASK = 0x8
64072@@ -998,46 +1096,54 @@ const (
64073 RTA_IFP = 0x10
64074 RTA_LABEL = 0x400
64075 RTA_NETMASK = 0x4
64076+ RTA_SEARCH = 0x4000
64077 RTA_SRC = 0x100
64078 RTA_SRCMASK = 0x200
64079+ RTA_STATIC = 0x2000
64080 RTF_ANNOUNCE = 0x4000
64081+ RTF_BFD = 0x1000000
64082 RTF_BLACKHOLE = 0x1000
64083+ RTF_BROADCAST = 0x400000
64084+ RTF_CACHED = 0x20000
64085 RTF_CLONED = 0x10000
64086 RTF_CLONING = 0x100
64087+ RTF_CONNECTED = 0x800000
64088 RTF_DONE = 0x40
64089 RTF_DYNAMIC = 0x10
64090- RTF_FMASK = 0x10f808
64091+ RTF_FMASK = 0x110fc08
64092 RTF_GATEWAY = 0x2
64093 RTF_HOST = 0x4
64094 RTF_LLINFO = 0x400
64095- RTF_MASK = 0x80
64096+ RTF_LOCAL = 0x200000
64097 RTF_MODIFIED = 0x20
64098 RTF_MPATH = 0x40000
64099 RTF_MPLS = 0x100000
64100+ RTF_MULTICAST = 0x200
64101 RTF_PERMANENT_ARP = 0x2000
64102 RTF_PROTO1 = 0x8000
64103 RTF_PROTO2 = 0x4000
64104 RTF_PROTO3 = 0x2000
64105 RTF_REJECT = 0x8
64106- RTF_SOURCE = 0x20000
64107 RTF_STATIC = 0x800
64108- RTF_TUNNEL = 0x100000
64109 RTF_UP = 0x1
64110 RTF_USETRAILERS = 0x8000
64111- RTF_XRESOLVE = 0x200
64112+ RTM_80211INFO = 0x15
64113 RTM_ADD = 0x1
64114+ RTM_BFD = 0x12
64115 RTM_CHANGE = 0x3
64116+ RTM_CHGADDRATTR = 0x14
64117 RTM_DELADDR = 0xd
64118 RTM_DELETE = 0x2
64119 RTM_DESYNC = 0x10
64120 RTM_GET = 0x4
64121 RTM_IFANNOUNCE = 0xf
64122 RTM_IFINFO = 0xe
64123- RTM_LOCK = 0x8
64124+ RTM_INVALIDATE = 0x11
64125 RTM_LOSING = 0x5
64126 RTM_MAXSIZE = 0x800
64127 RTM_MISS = 0x7
64128 RTM_NEWADDR = 0xc
64129+ RTM_PROPOSAL = 0x13
64130 RTM_REDIRECT = 0x6
64131 RTM_RESOLVE = 0xb
64132 RTM_RTTUNIT = 0xf4240
64133@@ -1050,6 +1156,8 @@ const (
64134 RTV_RTTVAR = 0x80
64135 RTV_SPIPE = 0x10
64136 RTV_SSTHRESH = 0x20
64137+ RT_TABLEID_BITS = 0x8
64138+ RT_TABLEID_MASK = 0xff
64139 RT_TABLEID_MAX = 0xff
64140 RUSAGE_CHILDREN = -0x1
64141 RUSAGE_SELF = 0x0
64142@@ -1062,55 +1170,57 @@ const (
64143 SIOCADDMULTI = 0x80206931
64144 SIOCAIFADDR = 0x8040691a
64145 SIOCAIFGROUP = 0x80286987
64146- SIOCALIFADDR = 0x8218691c
64147 SIOCATMARK = 0x40047307
64148- SIOCBRDGADD = 0x8058693c
64149- SIOCBRDGADDS = 0x80586941
64150- SIOCBRDGARL = 0x806e694d
64151+ SIOCBRDGADD = 0x8060693c
64152+ SIOCBRDGADDL = 0x80606949
64153+ SIOCBRDGADDS = 0x80606941
64154+ SIOCBRDGARL = 0x808c694d
64155 SIOCBRDGDADDR = 0x81286947
64156- SIOCBRDGDEL = 0x8058693d
64157- SIOCBRDGDELS = 0x80586942
64158- SIOCBRDGFLUSH = 0x80586948
64159- SIOCBRDGFRL = 0x806e694e
64160- SIOCBRDGGCACHE = 0xc0146941
64161- SIOCBRDGGFD = 0xc0146952
64162- SIOCBRDGGHT = 0xc0146951
64163- SIOCBRDGGIFFLGS = 0xc058693e
64164- SIOCBRDGGMA = 0xc0146953
64165+ SIOCBRDGDEL = 0x8060693d
64166+ SIOCBRDGDELS = 0x80606942
64167+ SIOCBRDGFLUSH = 0x80606948
64168+ SIOCBRDGFRL = 0x808c694e
64169+ SIOCBRDGGCACHE = 0xc0186941
64170+ SIOCBRDGGFD = 0xc0186952
64171+ SIOCBRDGGHT = 0xc0186951
64172+ SIOCBRDGGIFFLGS = 0xc060693e
64173+ SIOCBRDGGMA = 0xc0186953
64174 SIOCBRDGGPARAM = 0xc0406958
64175- SIOCBRDGGPRI = 0xc0146950
64176+ SIOCBRDGGPRI = 0xc0186950
64177 SIOCBRDGGRL = 0xc030694f
64178- SIOCBRDGGSIFS = 0xc058693c
64179- SIOCBRDGGTO = 0xc0146946
64180- SIOCBRDGIFS = 0xc0586942
64181+ SIOCBRDGGTO = 0xc0186946
64182+ SIOCBRDGIFS = 0xc0606942
64183 SIOCBRDGRTS = 0xc0206943
64184 SIOCBRDGSADDR = 0xc1286944
64185- SIOCBRDGSCACHE = 0x80146940
64186- SIOCBRDGSFD = 0x80146952
64187- SIOCBRDGSHT = 0x80146951
64188- SIOCBRDGSIFCOST = 0x80586955
64189- SIOCBRDGSIFFLGS = 0x8058693f
64190- SIOCBRDGSIFPRIO = 0x80586954
64191- SIOCBRDGSMA = 0x80146953
64192- SIOCBRDGSPRI = 0x80146950
64193- SIOCBRDGSPROTO = 0x8014695a
64194- SIOCBRDGSTO = 0x80146945
64195- SIOCBRDGSTXHC = 0x80146959
64196+ SIOCBRDGSCACHE = 0x80186940
64197+ SIOCBRDGSFD = 0x80186952
64198+ SIOCBRDGSHT = 0x80186951
64199+ SIOCBRDGSIFCOST = 0x80606955
64200+ SIOCBRDGSIFFLGS = 0x8060693f
64201+ SIOCBRDGSIFPRIO = 0x80606954
64202+ SIOCBRDGSIFPROT = 0x8060694a
64203+ SIOCBRDGSMA = 0x80186953
64204+ SIOCBRDGSPRI = 0x80186950
64205+ SIOCBRDGSPROTO = 0x8018695a
64206+ SIOCBRDGSTO = 0x80186945
64207+ SIOCBRDGSTXHC = 0x80186959
64208+ SIOCDELLABEL = 0x80206997
64209 SIOCDELMULTI = 0x80206932
64210 SIOCDIFADDR = 0x80206919
64211 SIOCDIFGROUP = 0x80286989
64212+ SIOCDIFPARENT = 0x802069b4
64213 SIOCDIFPHYADDR = 0x80206949
64214- SIOCDLIFADDR = 0x8218691e
64215+ SIOCDPWE3NEIGHBOR = 0x802069de
64216+ SIOCDVNETID = 0x802069af
64217 SIOCGETKALIVE = 0xc01869a4
64218 SIOCGETLABEL = 0x8020699a
64219+ SIOCGETMPWCFG = 0xc02069ae
64220 SIOCGETPFLOW = 0xc02069fe
64221 SIOCGETPFSYNC = 0xc02069f8
64222 SIOCGETSGCNT = 0xc0207534
64223 SIOCGETVIFCNT = 0xc0287533
64224 SIOCGETVLAN = 0xc0206990
64225- SIOCGHIWAT = 0x40047301
64226 SIOCGIFADDR = 0xc0206921
64227- SIOCGIFASYNCMAP = 0xc020697c
64228 SIOCGIFBRDADDR = 0xc0206923
64229 SIOCGIFCONF = 0xc0106924
64230 SIOCGIFDATA = 0xc020691b
64231@@ -1119,40 +1229,52 @@ const (
64232 SIOCGIFFLAGS = 0xc0206911
64233 SIOCGIFGATTR = 0xc028698b
64234 SIOCGIFGENERIC = 0xc020693a
64235+ SIOCGIFGLIST = 0xc028698d
64236 SIOCGIFGMEMB = 0xc028698a
64237 SIOCGIFGROUP = 0xc0286988
64238 SIOCGIFHARDMTU = 0xc02069a5
64239- SIOCGIFMEDIA = 0xc0306936
64240+ SIOCGIFLLPRIO = 0xc02069b6
64241+ SIOCGIFMEDIA = 0xc0406938
64242 SIOCGIFMETRIC = 0xc0206917
64243 SIOCGIFMTU = 0xc020697e
64244 SIOCGIFNETMASK = 0xc0206925
64245- SIOCGIFPDSTADDR = 0xc0206948
64246+ SIOCGIFPAIR = 0xc02069b1
64247+ SIOCGIFPARENT = 0xc02069b3
64248 SIOCGIFPRIORITY = 0xc020699c
64249- SIOCGIFPSRCADDR = 0xc0206947
64250 SIOCGIFRDOMAIN = 0xc02069a0
64251 SIOCGIFRTLABEL = 0xc0206983
64252- SIOCGIFTIMESLOT = 0xc0206986
64253+ SIOCGIFRXR = 0x802069aa
64254+ SIOCGIFSFFPAGE = 0xc1126939
64255 SIOCGIFXFLAGS = 0xc020699e
64256- SIOCGLIFADDR = 0xc218691d
64257 SIOCGLIFPHYADDR = 0xc218694b
64258+ SIOCGLIFPHYDF = 0xc02069c2
64259+ SIOCGLIFPHYECN = 0xc02069c8
64260 SIOCGLIFPHYRTABLE = 0xc02069a2
64261 SIOCGLIFPHYTTL = 0xc02069a9
64262- SIOCGLOWAT = 0x40047303
64263 SIOCGPGRP = 0x40047309
64264+ SIOCGPWE3 = 0xc0206998
64265+ SIOCGPWE3CTRLWORD = 0xc02069dc
64266+ SIOCGPWE3FAT = 0xc02069dd
64267+ SIOCGPWE3NEIGHBOR = 0xc21869de
64268 SIOCGSPPPPARAMS = 0xc0206994
64269+ SIOCGTXHPRIO = 0xc02069c6
64270+ SIOCGUMBINFO = 0xc02069be
64271+ SIOCGUMBPARAM = 0xc02069c0
64272 SIOCGVH = 0xc02069f6
64273+ SIOCGVNETFLOWID = 0xc02069c4
64274 SIOCGVNETID = 0xc02069a7
64275+ SIOCIFAFATTACH = 0x801169ab
64276+ SIOCIFAFDETACH = 0x801169ac
64277 SIOCIFCREATE = 0x8020697a
64278 SIOCIFDESTROY = 0x80206979
64279 SIOCIFGCLONERS = 0xc0106978
64280 SIOCSETKALIVE = 0x801869a3
64281 SIOCSETLABEL = 0x80206999
64282+ SIOCSETMPWCFG = 0x802069ad
64283 SIOCSETPFLOW = 0x802069fd
64284 SIOCSETPFSYNC = 0x802069f7
64285 SIOCSETVLAN = 0x8020698f
64286- SIOCSHIWAT = 0x80047300
64287 SIOCSIFADDR = 0x8020690c
64288- SIOCSIFASYNCMAP = 0x8020697d
64289 SIOCSIFBRDADDR = 0x80206913
64290 SIOCSIFDESCR = 0x80206980
64291 SIOCSIFDSTADDR = 0x8020690e
64292@@ -1160,25 +1282,41 @@ const (
64293 SIOCSIFGATTR = 0x8028698c
64294 SIOCSIFGENERIC = 0x80206939
64295 SIOCSIFLLADDR = 0x8020691f
64296- SIOCSIFMEDIA = 0xc0206935
64297+ SIOCSIFLLPRIO = 0x802069b5
64298+ SIOCSIFMEDIA = 0xc0206937
64299 SIOCSIFMETRIC = 0x80206918
64300 SIOCSIFMTU = 0x8020697f
64301 SIOCSIFNETMASK = 0x80206916
64302- SIOCSIFPHYADDR = 0x80406946
64303+ SIOCSIFPAIR = 0x802069b0
64304+ SIOCSIFPARENT = 0x802069b2
64305 SIOCSIFPRIORITY = 0x8020699b
64306 SIOCSIFRDOMAIN = 0x8020699f
64307 SIOCSIFRTLABEL = 0x80206982
64308- SIOCSIFTIMESLOT = 0x80206985
64309 SIOCSIFXFLAGS = 0x8020699d
64310 SIOCSLIFPHYADDR = 0x8218694a
64311+ SIOCSLIFPHYDF = 0x802069c1
64312+ SIOCSLIFPHYECN = 0x802069c7
64313 SIOCSLIFPHYRTABLE = 0x802069a1
64314 SIOCSLIFPHYTTL = 0x802069a8
64315- SIOCSLOWAT = 0x80047302
64316 SIOCSPGRP = 0x80047308
64317+ SIOCSPWE3CTRLWORD = 0x802069dc
64318+ SIOCSPWE3FAT = 0x802069dd
64319+ SIOCSPWE3NEIGHBOR = 0x821869de
64320 SIOCSSPPPPARAMS = 0x80206993
64321+ SIOCSTXHPRIO = 0x802069c5
64322+ SIOCSUMBPARAM = 0x802069bf
64323 SIOCSVH = 0xc02069f5
64324+ SIOCSVNETFLOWID = 0x802069c3
64325 SIOCSVNETID = 0x802069a6
64326+ SIOCSWGDPID = 0xc018695b
64327+ SIOCSWGMAXFLOW = 0xc0186960
64328+ SIOCSWGMAXGROUP = 0xc018695d
64329+ SIOCSWSDPID = 0x8018695c
64330+ SIOCSWSPORTNO = 0xc060695f
64331+ SOCK_CLOEXEC = 0x8000
64332 SOCK_DGRAM = 0x2
64333+ SOCK_DNS = 0x1000
64334+ SOCK_NONBLOCK = 0x4000
64335 SOCK_RAW = 0x3
64336 SOCK_RDM = 0x4
64337 SOCK_SEQPACKET = 0x5
64338@@ -1209,9 +1347,42 @@ const (
64339 SO_TIMESTAMP = 0x800
64340 SO_TYPE = 0x1008
64341 SO_USELOOPBACK = 0x40
64342+ SO_ZEROIZE = 0x2000
64343+ S_BLKSIZE = 0x200
64344+ S_IEXEC = 0x40
64345+ S_IFBLK = 0x6000
64346+ S_IFCHR = 0x2000
64347+ S_IFDIR = 0x4000
64348+ S_IFIFO = 0x1000
64349+ S_IFLNK = 0xa000
64350+ S_IFMT = 0xf000
64351+ S_IFREG = 0x8000
64352+ S_IFSOCK = 0xc000
64353+ S_IREAD = 0x100
64354+ S_IRGRP = 0x20
64355+ S_IROTH = 0x4
64356+ S_IRUSR = 0x100
64357+ S_IRWXG = 0x38
64358+ S_IRWXO = 0x7
64359+ S_IRWXU = 0x1c0
64360+ S_ISGID = 0x400
64361+ S_ISTXT = 0x200
64362+ S_ISUID = 0x800
64363+ S_ISVTX = 0x200
64364+ S_IWGRP = 0x10
64365+ S_IWOTH = 0x2
64366+ S_IWRITE = 0x80
64367+ S_IWUSR = 0x80
64368+ S_IXGRP = 0x8
64369+ S_IXOTH = 0x1
64370+ S_IXUSR = 0x40
64371 TCIFLUSH = 0x1
64372+ TCIOFF = 0x3
64373 TCIOFLUSH = 0x3
64374+ TCION = 0x4
64375 TCOFLUSH = 0x2
64376+ TCOOFF = 0x1
64377+ TCOON = 0x2
64378 TCP_MAXBURST = 0x4
64379 TCP_MAXSEG = 0x2
64380 TCP_MAXWIN = 0xffff
64381@@ -1221,11 +1392,14 @@ const (
64382 TCP_MSS = 0x200
64383 TCP_NODELAY = 0x1
64384 TCP_NOPUSH = 0x10
64385- TCP_NSTATES = 0xb
64386 TCP_SACK_ENABLE = 0x8
64387 TCSAFLUSH = 0x2
64388+ TIMER_ABSTIME = 0x1
64389+ TIMER_RELTIME = 0x0
64390 TIOCCBRK = 0x2000747a
64391 TIOCCDTR = 0x20007478
64392+ TIOCCHKVERAUTH = 0x2000741e
64393+ TIOCCLRVERAUTH = 0x2000741d
64394 TIOCCONS = 0x80047462
64395 TIOCDRAIN = 0x2000745e
64396 TIOCEXCL = 0x2000740d
64397@@ -1280,17 +1454,21 @@ const (
64398 TIOCSETAF = 0x802c7416
64399 TIOCSETAW = 0x802c7415
64400 TIOCSETD = 0x8004741b
64401+ TIOCSETVERAUTH = 0x8004741c
64402 TIOCSFLAGS = 0x8004745c
64403 TIOCSIG = 0x8004745f
64404 TIOCSPGRP = 0x80047476
64405 TIOCSTART = 0x2000746e
64406- TIOCSTAT = 0x80047465
64407- TIOCSTI = 0x80017472
64408+ TIOCSTAT = 0x20007465
64409 TIOCSTOP = 0x2000746f
64410 TIOCSTSTAMP = 0x8008745a
64411 TIOCSWINSZ = 0x80087467
64412 TIOCUCNTL = 0x80047466
64413+ TIOCUCNTL_CBRK = 0x7a
64414+ TIOCUCNTL_SBRK = 0x7b
64415 TOSTOP = 0x400000
64416+ UTIME_NOW = -0x2
64417+ UTIME_OMIT = -0x1
64418 VDISCARD = 0xf
64419 VDSUSP = 0xb
64420 VEOF = 0x0
64421@@ -1301,6 +1479,19 @@ const (
64422 VKILL = 0x5
64423 VLNEXT = 0xe
64424 VMIN = 0x10
64425+ VM_ANONMIN = 0x7
64426+ VM_LOADAVG = 0x2
64427+ VM_MALLOC_CONF = 0xc
64428+ VM_MAXID = 0xd
64429+ VM_MAXSLP = 0xa
64430+ VM_METER = 0x1
64431+ VM_NKMEMPAGES = 0x6
64432+ VM_PSSTRINGS = 0x3
64433+ VM_SWAPENCRYPT = 0x5
64434+ VM_USPACE = 0xb
64435+ VM_UVMEXP = 0x4
64436+ VM_VNODEMIN = 0x9
64437+ VM_VTEXTMIN = 0x8
64438 VQUIT = 0x9
64439 VREPRINT = 0x6
64440 VSTART = 0xc
64441@@ -1313,8 +1504,8 @@ const (
64442 WCONTINUED = 0x8
64443 WCOREFLAG = 0x80
64444 WNOHANG = 0x1
64445- WSTOPPED = 0x7f
64446 WUNTRACED = 0x2
64447+ XCASE = 0x1000000
64448 )
64449
64450 // Errors
64451@@ -1328,6 +1519,7 @@ const (
64452 EALREADY = syscall.Errno(0x25)
64453 EAUTH = syscall.Errno(0x50)
64454 EBADF = syscall.Errno(0x9)
64455+ EBADMSG = syscall.Errno(0x5c)
64456 EBADRPC = syscall.Errno(0x48)
64457 EBUSY = syscall.Errno(0x10)
64458 ECANCELED = syscall.Errno(0x58)
64459@@ -1354,7 +1546,7 @@ const (
64460 EIPSEC = syscall.Errno(0x52)
64461 EISCONN = syscall.Errno(0x38)
64462 EISDIR = syscall.Errno(0x15)
64463- ELAST = syscall.Errno(0x5b)
64464+ ELAST = syscall.Errno(0x5f)
64465 ELOOP = syscall.Errno(0x3e)
64466 EMEDIUMTYPE = syscall.Errno(0x56)
64467 EMFILE = syscall.Errno(0x18)
64468@@ -1382,12 +1574,14 @@ const (
64469 ENOTCONN = syscall.Errno(0x39)
64470 ENOTDIR = syscall.Errno(0x14)
64471 ENOTEMPTY = syscall.Errno(0x42)
64472+ ENOTRECOVERABLE = syscall.Errno(0x5d)
64473 ENOTSOCK = syscall.Errno(0x26)
64474 ENOTSUP = syscall.Errno(0x5b)
64475 ENOTTY = syscall.Errno(0x19)
64476 ENXIO = syscall.Errno(0x6)
64477 EOPNOTSUPP = syscall.Errno(0x2d)
64478 EOVERFLOW = syscall.Errno(0x57)
64479+ EOWNERDEAD = syscall.Errno(0x5e)
64480 EPERM = syscall.Errno(0x1)
64481 EPFNOSUPPORT = syscall.Errno(0x2e)
64482 EPIPE = syscall.Errno(0x20)
64483@@ -1395,6 +1589,7 @@ const (
64484 EPROCUNAVAIL = syscall.Errno(0x4c)
64485 EPROGMISMATCH = syscall.Errno(0x4b)
64486 EPROGUNAVAIL = syscall.Errno(0x4a)
64487+ EPROTO = syscall.Errno(0x5f)
64488 EPROTONOSUPPORT = syscall.Errno(0x2b)
64489 EPROTOTYPE = syscall.Errno(0x29)
64490 ERANGE = syscall.Errno(0x22)
64491@@ -1452,132 +1647,144 @@ const (
64492 )
64493
64494 // Error table
64495-var errors = [...]string{
64496- 1: "operation not permitted",
64497- 2: "no such file or directory",
64498- 3: "no such process",
64499- 4: "interrupted system call",
64500- 5: "input/output error",
64501- 6: "device not configured",
64502- 7: "argument list too long",
64503- 8: "exec format error",
64504- 9: "bad file descriptor",
64505- 10: "no child processes",
64506- 11: "resource deadlock avoided",
64507- 12: "cannot allocate memory",
64508- 13: "permission denied",
64509- 14: "bad address",
64510- 15: "block device required",
64511- 16: "device busy",
64512- 17: "file exists",
64513- 18: "cross-device link",
64514- 19: "operation not supported by device",
64515- 20: "not a directory",
64516- 21: "is a directory",
64517- 22: "invalid argument",
64518- 23: "too many open files in system",
64519- 24: "too many open files",
64520- 25: "inappropriate ioctl for device",
64521- 26: "text file busy",
64522- 27: "file too large",
64523- 28: "no space left on device",
64524- 29: "illegal seek",
64525- 30: "read-only file system",
64526- 31: "too many links",
64527- 32: "broken pipe",
64528- 33: "numerical argument out of domain",
64529- 34: "result too large",
64530- 35: "resource temporarily unavailable",
64531- 36: "operation now in progress",
64532- 37: "operation already in progress",
64533- 38: "socket operation on non-socket",
64534- 39: "destination address required",
64535- 40: "message too long",
64536- 41: "protocol wrong type for socket",
64537- 42: "protocol not available",
64538- 43: "protocol not supported",
64539- 44: "socket type not supported",
64540- 45: "operation not supported",
64541- 46: "protocol family not supported",
64542- 47: "address family not supported by protocol family",
64543- 48: "address already in use",
64544- 49: "can't assign requested address",
64545- 50: "network is down",
64546- 51: "network is unreachable",
64547- 52: "network dropped connection on reset",
64548- 53: "software caused connection abort",
64549- 54: "connection reset by peer",
64550- 55: "no buffer space available",
64551- 56: "socket is already connected",
64552- 57: "socket is not connected",
64553- 58: "can't send after socket shutdown",
64554- 59: "too many references: can't splice",
64555- 60: "connection timed out",
64556- 61: "connection refused",
64557- 62: "too many levels of symbolic links",
64558- 63: "file name too long",
64559- 64: "host is down",
64560- 65: "no route to host",
64561- 66: "directory not empty",
64562- 67: "too many processes",
64563- 68: "too many users",
64564- 69: "disc quota exceeded",
64565- 70: "stale NFS file handle",
64566- 71: "too many levels of remote in path",
64567- 72: "RPC struct is bad",
64568- 73: "RPC version wrong",
64569- 74: "RPC prog. not avail",
64570- 75: "program version wrong",
64571- 76: "bad procedure for program",
64572- 77: "no locks available",
64573- 78: "function not implemented",
64574- 79: "inappropriate file type or format",
64575- 80: "authentication error",
64576- 81: "need authenticator",
64577- 82: "IPsec processing failure",
64578- 83: "attribute not found",
64579- 84: "illegal byte sequence",
64580- 85: "no medium found",
64581- 86: "wrong medium type",
64582- 87: "value too large to be stored in data type",
64583- 88: "operation canceled",
64584- 89: "identifier removed",
64585- 90: "no message of desired type",
64586- 91: "not supported",
64587+var errorList = [...]struct {
64588+ num syscall.Errno
64589+ name string
64590+ desc string
64591+}{
64592+ {1, "EPERM", "operation not permitted"},
64593+ {2, "ENOENT", "no such file or directory"},
64594+ {3, "ESRCH", "no such process"},
64595+ {4, "EINTR", "interrupted system call"},
64596+ {5, "EIO", "input/output error"},
64597+ {6, "ENXIO", "device not configured"},
64598+ {7, "E2BIG", "argument list too long"},
64599+ {8, "ENOEXEC", "exec format error"},
64600+ {9, "EBADF", "bad file descriptor"},
64601+ {10, "ECHILD", "no child processes"},
64602+ {11, "EDEADLK", "resource deadlock avoided"},
64603+ {12, "ENOMEM", "cannot allocate memory"},
64604+ {13, "EACCES", "permission denied"},
64605+ {14, "EFAULT", "bad address"},
64606+ {15, "ENOTBLK", "block device required"},
64607+ {16, "EBUSY", "device busy"},
64608+ {17, "EEXIST", "file exists"},
64609+ {18, "EXDEV", "cross-device link"},
64610+ {19, "ENODEV", "operation not supported by device"},
64611+ {20, "ENOTDIR", "not a directory"},
64612+ {21, "EISDIR", "is a directory"},
64613+ {22, "EINVAL", "invalid argument"},
64614+ {23, "ENFILE", "too many open files in system"},
64615+ {24, "EMFILE", "too many open files"},
64616+ {25, "ENOTTY", "inappropriate ioctl for device"},
64617+ {26, "ETXTBSY", "text file busy"},
64618+ {27, "EFBIG", "file too large"},
64619+ {28, "ENOSPC", "no space left on device"},
64620+ {29, "ESPIPE", "illegal seek"},
64621+ {30, "EROFS", "read-only file system"},
64622+ {31, "EMLINK", "too many links"},
64623+ {32, "EPIPE", "broken pipe"},
64624+ {33, "EDOM", "numerical argument out of domain"},
64625+ {34, "ERANGE", "result too large"},
64626+ {35, "EAGAIN", "resource temporarily unavailable"},
64627+ {36, "EINPROGRESS", "operation now in progress"},
64628+ {37, "EALREADY", "operation already in progress"},
64629+ {38, "ENOTSOCK", "socket operation on non-socket"},
64630+ {39, "EDESTADDRREQ", "destination address required"},
64631+ {40, "EMSGSIZE", "message too long"},
64632+ {41, "EPROTOTYPE", "protocol wrong type for socket"},
64633+ {42, "ENOPROTOOPT", "protocol not available"},
64634+ {43, "EPROTONOSUPPORT", "protocol not supported"},
64635+ {44, "ESOCKTNOSUPPORT", "socket type not supported"},
64636+ {45, "EOPNOTSUPP", "operation not supported"},
64637+ {46, "EPFNOSUPPORT", "protocol family not supported"},
64638+ {47, "EAFNOSUPPORT", "address family not supported by protocol family"},
64639+ {48, "EADDRINUSE", "address already in use"},
64640+ {49, "EADDRNOTAVAIL", "can't assign requested address"},
64641+ {50, "ENETDOWN", "network is down"},
64642+ {51, "ENETUNREACH", "network is unreachable"},
64643+ {52, "ENETRESET", "network dropped connection on reset"},
64644+ {53, "ECONNABORTED", "software caused connection abort"},
64645+ {54, "ECONNRESET", "connection reset by peer"},
64646+ {55, "ENOBUFS", "no buffer space available"},
64647+ {56, "EISCONN", "socket is already connected"},
64648+ {57, "ENOTCONN", "socket is not connected"},
64649+ {58, "ESHUTDOWN", "can't send after socket shutdown"},
64650+ {59, "ETOOMANYREFS", "too many references: can't splice"},
64651+ {60, "ETIMEDOUT", "operation timed out"},
64652+ {61, "ECONNREFUSED", "connection refused"},
64653+ {62, "ELOOP", "too many levels of symbolic links"},
64654+ {63, "ENAMETOOLONG", "file name too long"},
64655+ {64, "EHOSTDOWN", "host is down"},
64656+ {65, "EHOSTUNREACH", "no route to host"},
64657+ {66, "ENOTEMPTY", "directory not empty"},
64658+ {67, "EPROCLIM", "too many processes"},
64659+ {68, "EUSERS", "too many users"},
64660+ {69, "EDQUOT", "disk quota exceeded"},
64661+ {70, "ESTALE", "stale NFS file handle"},
64662+ {71, "EREMOTE", "too many levels of remote in path"},
64663+ {72, "EBADRPC", "RPC struct is bad"},
64664+ {73, "ERPCMISMATCH", "RPC version wrong"},
64665+ {74, "EPROGUNAVAIL", "RPC program not available"},
64666+ {75, "EPROGMISMATCH", "program version wrong"},
64667+ {76, "EPROCUNAVAIL", "bad procedure for program"},
64668+ {77, "ENOLCK", "no locks available"},
64669+ {78, "ENOSYS", "function not implemented"},
64670+ {79, "EFTYPE", "inappropriate file type or format"},
64671+ {80, "EAUTH", "authentication error"},
64672+ {81, "ENEEDAUTH", "need authenticator"},
64673+ {82, "EIPSEC", "IPsec processing failure"},
64674+ {83, "ENOATTR", "attribute not found"},
64675+ {84, "EILSEQ", "illegal byte sequence"},
64676+ {85, "ENOMEDIUM", "no medium found"},
64677+ {86, "EMEDIUMTYPE", "wrong medium type"},
64678+ {87, "EOVERFLOW", "value too large to be stored in data type"},
64679+ {88, "ECANCELED", "operation canceled"},
64680+ {89, "EIDRM", "identifier removed"},
64681+ {90, "ENOMSG", "no message of desired type"},
64682+ {91, "ENOTSUP", "not supported"},
64683+ {92, "EBADMSG", "bad message"},
64684+ {93, "ENOTRECOVERABLE", "state not recoverable"},
64685+ {94, "EOWNERDEAD", "previous owner died"},
64686+ {95, "ELAST", "protocol error"},
64687 }
64688
64689 // Signal table
64690-var signals = [...]string{
64691- 1: "hangup",
64692- 2: "interrupt",
64693- 3: "quit",
64694- 4: "illegal instruction",
64695- 5: "trace/BPT trap",
64696- 6: "abort trap",
64697- 7: "EMT trap",
64698- 8: "floating point exception",
64699- 9: "killed",
64700- 10: "bus error",
64701- 11: "segmentation fault",
64702- 12: "bad system call",
64703- 13: "broken pipe",
64704- 14: "alarm clock",
64705- 15: "terminated",
64706- 16: "urgent I/O condition",
64707- 17: "stopped (signal)",
64708- 18: "stopped",
64709- 19: "continued",
64710- 20: "child exited",
64711- 21: "stopped (tty input)",
64712- 22: "stopped (tty output)",
64713- 23: "I/O possible",
64714- 24: "cputime limit exceeded",
64715- 25: "filesize limit exceeded",
64716- 26: "virtual timer expired",
64717- 27: "profiling timer expired",
64718- 28: "window size changes",
64719- 29: "information request",
64720- 30: "user defined signal 1",
64721- 31: "user defined signal 2",
64722- 32: "thread AST",
64723+var signalList = [...]struct {
64724+ num syscall.Signal
64725+ name string
64726+ desc string
64727+}{
64728+ {1, "SIGHUP", "hangup"},
64729+ {2, "SIGINT", "interrupt"},
64730+ {3, "SIGQUIT", "quit"},
64731+ {4, "SIGILL", "illegal instruction"},
64732+ {5, "SIGTRAP", "trace/BPT trap"},
64733+ {6, "SIGABRT", "abort trap"},
64734+ {7, "SIGEMT", "EMT trap"},
64735+ {8, "SIGFPE", "floating point exception"},
64736+ {9, "SIGKILL", "killed"},
64737+ {10, "SIGBUS", "bus error"},
64738+ {11, "SIGSEGV", "segmentation fault"},
64739+ {12, "SIGSYS", "bad system call"},
64740+ {13, "SIGPIPE", "broken pipe"},
64741+ {14, "SIGALRM", "alarm clock"},
64742+ {15, "SIGTERM", "terminated"},
64743+ {16, "SIGURG", "urgent I/O condition"},
64744+ {17, "SIGSTOP", "suspended (signal)"},
64745+ {18, "SIGTSTP", "suspended"},
64746+ {19, "SIGCONT", "continued"},
64747+ {20, "SIGCHLD", "child exited"},
64748+ {21, "SIGTTIN", "stopped (tty input)"},
64749+ {22, "SIGTTOU", "stopped (tty output)"},
64750+ {23, "SIGIO", "I/O possible"},
64751+ {24, "SIGXCPU", "cputime limit exceeded"},
64752+ {25, "SIGXFSZ", "filesize limit exceeded"},
64753+ {26, "SIGVTALRM", "virtual timer expired"},
64754+ {27, "SIGPROF", "profiling timer expired"},
64755+ {28, "SIGWINCH", "window size changes"},
64756+ {29, "SIGINFO", "information request"},
64757+ {30, "SIGUSR1", "user defined signal 1"},
64758+ {31, "SIGUSR2", "user defined signal 2"},
64759+ {32, "SIGTHR", "thread AST"},
64760 }
64761diff --git a/vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go
64762index 81e83d78..46e054cc 100644
64763--- a/vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go
64764+++ b/vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go
64765@@ -3,7 +3,7 @@
64766
64767 // +build amd64,solaris
64768
64769-// Created by cgo -godefs - DO NOT EDIT
64770+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
64771 // cgo -godefs -- -m64 _const.go
64772
64773 package unix
64774@@ -664,6 +664,9 @@ const (
64775 MS_OLDSYNC = 0x0
64776 MS_SYNC = 0x4
64777 M_FLUSH = 0x86
64778+ NAME_MAX = 0xff
64779+ NEWDEV = 0x1
64780+ NFDBITS = 0x40
64781 NL0 = 0x0
64782 NL1 = 0x100
64783 NLDLY = 0x100
64784@@ -672,6 +675,9 @@ const (
64785 OFDEL = 0x80
64786 OFILL = 0x40
64787 OLCUC = 0x2
64788+ OLDDEV = 0x0
64789+ ONBITSMAJOR = 0x7
64790+ ONBITSMINOR = 0x8
64791 ONLCR = 0x4
64792 ONLRET = 0x20
64793 ONOCR = 0x10
64794@@ -991,6 +997,39 @@ const (
64795 SO_USELOOPBACK = 0x40
64796 SO_VRRP = 0x1017
64797 SO_WROFF = 0x2
64798+ S_ENFMT = 0x400
64799+ S_IAMB = 0x1ff
64800+ S_IEXEC = 0x40
64801+ S_IFBLK = 0x6000
64802+ S_IFCHR = 0x2000
64803+ S_IFDIR = 0x4000
64804+ S_IFDOOR = 0xd000
64805+ S_IFIFO = 0x1000
64806+ S_IFLNK = 0xa000
64807+ S_IFMT = 0xf000
64808+ S_IFNAM = 0x5000
64809+ S_IFPORT = 0xe000
64810+ S_IFREG = 0x8000
64811+ S_IFSOCK = 0xc000
64812+ S_INSEM = 0x1
64813+ S_INSHD = 0x2
64814+ S_IREAD = 0x100
64815+ S_IRGRP = 0x20
64816+ S_IROTH = 0x4
64817+ S_IRUSR = 0x100
64818+ S_IRWXG = 0x38
64819+ S_IRWXO = 0x7
64820+ S_IRWXU = 0x1c0
64821+ S_ISGID = 0x400
64822+ S_ISUID = 0x800
64823+ S_ISVTX = 0x200
64824+ S_IWGRP = 0x10
64825+ S_IWOTH = 0x2
64826+ S_IWRITE = 0x80
64827+ S_IWUSR = 0x80
64828+ S_IXGRP = 0x8
64829+ S_IXOTH = 0x1
64830+ S_IXUSR = 0x40
64831 TAB0 = 0x0
64832 TAB1 = 0x800
64833 TAB2 = 0x1000
64834@@ -1097,6 +1136,8 @@ const (
64835 TIOCSTOP = 0x746f
64836 TIOCSWINSZ = 0x5467
64837 TOSTOP = 0x100
64838+ UTIME_NOW = -0x1
64839+ UTIME_OMIT = -0x2
64840 VCEOF = 0x8
64841 VCEOL = 0x9
64842 VDISCARD = 0xd
64843@@ -1105,6 +1146,7 @@ const (
64844 VEOL = 0x5
64845 VEOL2 = 0x6
64846 VERASE = 0x2
64847+ VERASE2 = 0x11
64848 VINTR = 0x0
64849 VKILL = 0x3
64850 VLNEXT = 0xf
64851@@ -1313,171 +1355,179 @@ const (
64852 )
64853
64854 // Error table
64855-var errors = [...]string{
64856- 1: "not owner",
64857- 2: "no such file or directory",
64858- 3: "no such process",
64859- 4: "interrupted system call",
64860- 5: "I/O error",
64861- 6: "no such device or address",
64862- 7: "arg list too long",
64863- 8: "exec format error",
64864- 9: "bad file number",
64865- 10: "no child processes",
64866- 11: "resource temporarily unavailable",
64867- 12: "not enough space",
64868- 13: "permission denied",
64869- 14: "bad address",
64870- 15: "block device required",
64871- 16: "device busy",
64872- 17: "file exists",
64873- 18: "cross-device link",
64874- 19: "no such device",
64875- 20: "not a directory",
64876- 21: "is a directory",
64877- 22: "invalid argument",
64878- 23: "file table overflow",
64879- 24: "too many open files",
64880- 25: "inappropriate ioctl for device",
64881- 26: "text file busy",
64882- 27: "file too large",
64883- 28: "no space left on device",
64884- 29: "illegal seek",
64885- 30: "read-only file system",
64886- 31: "too many links",
64887- 32: "broken pipe",
64888- 33: "argument out of domain",
64889- 34: "result too large",
64890- 35: "no message of desired type",
64891- 36: "identifier removed",
64892- 37: "channel number out of range",
64893- 38: "level 2 not synchronized",
64894- 39: "level 3 halted",
64895- 40: "level 3 reset",
64896- 41: "link number out of range",
64897- 42: "protocol driver not attached",
64898- 43: "no CSI structure available",
64899- 44: "level 2 halted",
64900- 45: "deadlock situation detected/avoided",
64901- 46: "no record locks available",
64902- 47: "operation canceled",
64903- 48: "operation not supported",
64904- 49: "disc quota exceeded",
64905- 50: "bad exchange descriptor",
64906- 51: "bad request descriptor",
64907- 52: "message tables full",
64908- 53: "anode table overflow",
64909- 54: "bad request code",
64910- 55: "invalid slot",
64911- 56: "file locking deadlock",
64912- 57: "bad font file format",
64913- 58: "owner of the lock died",
64914- 59: "lock is not recoverable",
64915- 60: "not a stream device",
64916- 61: "no data available",
64917- 62: "timer expired",
64918- 63: "out of stream resources",
64919- 64: "machine is not on the network",
64920- 65: "package not installed",
64921- 66: "object is remote",
64922- 67: "link has been severed",
64923- 68: "advertise error",
64924- 69: "srmount error",
64925- 70: "communication error on send",
64926- 71: "protocol error",
64927- 72: "locked lock was unmapped ",
64928- 73: "facility is not active",
64929- 74: "multihop attempted",
64930- 77: "not a data message",
64931- 78: "file name too long",
64932- 79: "value too large for defined data type",
64933- 80: "name not unique on network",
64934- 81: "file descriptor in bad state",
64935- 82: "remote address changed",
64936- 83: "can not access a needed shared library",
64937- 84: "accessing a corrupted shared library",
64938- 85: ".lib section in a.out corrupted",
64939- 86: "attempting to link in more shared libraries than system limit",
64940- 87: "can not exec a shared library directly",
64941- 88: "illegal byte sequence",
64942- 89: "operation not applicable",
64943- 90: "number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS",
64944- 91: "error 91",
64945- 92: "error 92",
64946- 93: "directory not empty",
64947- 94: "too many users",
64948- 95: "socket operation on non-socket",
64949- 96: "destination address required",
64950- 97: "message too long",
64951- 98: "protocol wrong type for socket",
64952- 99: "option not supported by protocol",
64953- 120: "protocol not supported",
64954- 121: "socket type not supported",
64955- 122: "operation not supported on transport endpoint",
64956- 123: "protocol family not supported",
64957- 124: "address family not supported by protocol family",
64958- 125: "address already in use",
64959- 126: "cannot assign requested address",
64960- 127: "network is down",
64961- 128: "network is unreachable",
64962- 129: "network dropped connection because of reset",
64963- 130: "software caused connection abort",
64964- 131: "connection reset by peer",
64965- 132: "no buffer space available",
64966- 133: "transport endpoint is already connected",
64967- 134: "transport endpoint is not connected",
64968- 143: "cannot send after socket shutdown",
64969- 144: "too many references: cannot splice",
64970- 145: "connection timed out",
64971- 146: "connection refused",
64972- 147: "host is down",
64973- 148: "no route to host",
64974- 149: "operation already in progress",
64975- 150: "operation now in progress",
64976- 151: "stale NFS file handle",
64977+var errorList = [...]struct {
64978+ num syscall.Errno
64979+ name string
64980+ desc string
64981+}{
64982+ {1, "EPERM", "not owner"},
64983+ {2, "ENOENT", "no such file or directory"},
64984+ {3, "ESRCH", "no such process"},
64985+ {4, "EINTR", "interrupted system call"},
64986+ {5, "EIO", "I/O error"},
64987+ {6, "ENXIO", "no such device or address"},
64988+ {7, "E2BIG", "arg list too long"},
64989+ {8, "ENOEXEC", "exec format error"},
64990+ {9, "EBADF", "bad file number"},
64991+ {10, "ECHILD", "no child processes"},
64992+ {11, "EAGAIN", "resource temporarily unavailable"},
64993+ {12, "ENOMEM", "not enough space"},
64994+ {13, "EACCES", "permission denied"},
64995+ {14, "EFAULT", "bad address"},
64996+ {15, "ENOTBLK", "block device required"},
64997+ {16, "EBUSY", "device busy"},
64998+ {17, "EEXIST", "file exists"},
64999+ {18, "EXDEV", "cross-device link"},
65000+ {19, "ENODEV", "no such device"},
65001+ {20, "ENOTDIR", "not a directory"},
65002+ {21, "EISDIR", "is a directory"},
65003+ {22, "EINVAL", "invalid argument"},
65004+ {23, "ENFILE", "file table overflow"},
65005+ {24, "EMFILE", "too many open files"},
65006+ {25, "ENOTTY", "inappropriate ioctl for device"},
65007+ {26, "ETXTBSY", "text file busy"},
65008+ {27, "EFBIG", "file too large"},
65009+ {28, "ENOSPC", "no space left on device"},
65010+ {29, "ESPIPE", "illegal seek"},
65011+ {30, "EROFS", "read-only file system"},
65012+ {31, "EMLINK", "too many links"},
65013+ {32, "EPIPE", "broken pipe"},
65014+ {33, "EDOM", "argument out of domain"},
65015+ {34, "ERANGE", "result too large"},
65016+ {35, "ENOMSG", "no message of desired type"},
65017+ {36, "EIDRM", "identifier removed"},
65018+ {37, "ECHRNG", "channel number out of range"},
65019+ {38, "EL2NSYNC", "level 2 not synchronized"},
65020+ {39, "EL3HLT", "level 3 halted"},
65021+ {40, "EL3RST", "level 3 reset"},
65022+ {41, "ELNRNG", "link number out of range"},
65023+ {42, "EUNATCH", "protocol driver not attached"},
65024+ {43, "ENOCSI", "no CSI structure available"},
65025+ {44, "EL2HLT", "level 2 halted"},
65026+ {45, "EDEADLK", "deadlock situation detected/avoided"},
65027+ {46, "ENOLCK", "no record locks available"},
65028+ {47, "ECANCELED", "operation canceled"},
65029+ {48, "ENOTSUP", "operation not supported"},
65030+ {49, "EDQUOT", "disc quota exceeded"},
65031+ {50, "EBADE", "bad exchange descriptor"},
65032+ {51, "EBADR", "bad request descriptor"},
65033+ {52, "EXFULL", "message tables full"},
65034+ {53, "ENOANO", "anode table overflow"},
65035+ {54, "EBADRQC", "bad request code"},
65036+ {55, "EBADSLT", "invalid slot"},
65037+ {56, "EDEADLOCK", "file locking deadlock"},
65038+ {57, "EBFONT", "bad font file format"},
65039+ {58, "EOWNERDEAD", "owner of the lock died"},
65040+ {59, "ENOTRECOVERABLE", "lock is not recoverable"},
65041+ {60, "ENOSTR", "not a stream device"},
65042+ {61, "ENODATA", "no data available"},
65043+ {62, "ETIME", "timer expired"},
65044+ {63, "ENOSR", "out of stream resources"},
65045+ {64, "ENONET", "machine is not on the network"},
65046+ {65, "ENOPKG", "package not installed"},
65047+ {66, "EREMOTE", "object is remote"},
65048+ {67, "ENOLINK", "link has been severed"},
65049+ {68, "EADV", "advertise error"},
65050+ {69, "ESRMNT", "srmount error"},
65051+ {70, "ECOMM", "communication error on send"},
65052+ {71, "EPROTO", "protocol error"},
65053+ {72, "ELOCKUNMAPPED", "locked lock was unmapped "},
65054+ {73, "ENOTACTIVE", "facility is not active"},
65055+ {74, "EMULTIHOP", "multihop attempted"},
65056+ {77, "EBADMSG", "not a data message"},
65057+ {78, "ENAMETOOLONG", "file name too long"},
65058+ {79, "EOVERFLOW", "value too large for defined data type"},
65059+ {80, "ENOTUNIQ", "name not unique on network"},
65060+ {81, "EBADFD", "file descriptor in bad state"},
65061+ {82, "EREMCHG", "remote address changed"},
65062+ {83, "ELIBACC", "can not access a needed shared library"},
65063+ {84, "ELIBBAD", "accessing a corrupted shared library"},
65064+ {85, "ELIBSCN", ".lib section in a.out corrupted"},
65065+ {86, "ELIBMAX", "attempting to link in more shared libraries than system limit"},
65066+ {87, "ELIBEXEC", "can not exec a shared library directly"},
65067+ {88, "EILSEQ", "illegal byte sequence"},
65068+ {89, "ENOSYS", "operation not applicable"},
65069+ {90, "ELOOP", "number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS"},
65070+ {91, "ERESTART", "error 91"},
65071+ {92, "ESTRPIPE", "error 92"},
65072+ {93, "ENOTEMPTY", "directory not empty"},
65073+ {94, "EUSERS", "too many users"},
65074+ {95, "ENOTSOCK", "socket operation on non-socket"},
65075+ {96, "EDESTADDRREQ", "destination address required"},
65076+ {97, "EMSGSIZE", "message too long"},
65077+ {98, "EPROTOTYPE", "protocol wrong type for socket"},
65078+ {99, "ENOPROTOOPT", "option not supported by protocol"},
65079+ {120, "EPROTONOSUPPORT", "protocol not supported"},
65080+ {121, "ESOCKTNOSUPPORT", "socket type not supported"},
65081+ {122, "EOPNOTSUPP", "operation not supported on transport endpoint"},
65082+ {123, "EPFNOSUPPORT", "protocol family not supported"},
65083+ {124, "EAFNOSUPPORT", "address family not supported by protocol family"},
65084+ {125, "EADDRINUSE", "address already in use"},
65085+ {126, "EADDRNOTAVAIL", "cannot assign requested address"},
65086+ {127, "ENETDOWN", "network is down"},
65087+ {128, "ENETUNREACH", "network is unreachable"},
65088+ {129, "ENETRESET", "network dropped connection because of reset"},
65089+ {130, "ECONNABORTED", "software caused connection abort"},
65090+ {131, "ECONNRESET", "connection reset by peer"},
65091+ {132, "ENOBUFS", "no buffer space available"},
65092+ {133, "EISCONN", "transport endpoint is already connected"},
65093+ {134, "ENOTCONN", "transport endpoint is not connected"},
65094+ {143, "ESHUTDOWN", "cannot send after socket shutdown"},
65095+ {144, "ETOOMANYREFS", "too many references: cannot splice"},
65096+ {145, "ETIMEDOUT", "connection timed out"},
65097+ {146, "ECONNREFUSED", "connection refused"},
65098+ {147, "EHOSTDOWN", "host is down"},
65099+ {148, "EHOSTUNREACH", "no route to host"},
65100+ {149, "EALREADY", "operation already in progress"},
65101+ {150, "EINPROGRESS", "operation now in progress"},
65102+ {151, "ESTALE", "stale NFS file handle"},
65103 }
65104
65105 // Signal table
65106-var signals = [...]string{
65107- 1: "hangup",
65108- 2: "interrupt",
65109- 3: "quit",
65110- 4: "illegal Instruction",
65111- 5: "trace/Breakpoint Trap",
65112- 6: "abort",
65113- 7: "emulation Trap",
65114- 8: "arithmetic Exception",
65115- 9: "killed",
65116- 10: "bus Error",
65117- 11: "segmentation Fault",
65118- 12: "bad System Call",
65119- 13: "broken Pipe",
65120- 14: "alarm Clock",
65121- 15: "terminated",
65122- 16: "user Signal 1",
65123- 17: "user Signal 2",
65124- 18: "child Status Changed",
65125- 19: "power-Fail/Restart",
65126- 20: "window Size Change",
65127- 21: "urgent Socket Condition",
65128- 22: "pollable Event",
65129- 23: "stopped (signal)",
65130- 24: "stopped (user)",
65131- 25: "continued",
65132- 26: "stopped (tty input)",
65133- 27: "stopped (tty output)",
65134- 28: "virtual Timer Expired",
65135- 29: "profiling Timer Expired",
65136- 30: "cpu Limit Exceeded",
65137- 31: "file Size Limit Exceeded",
65138- 32: "no runnable lwp",
65139- 33: "inter-lwp signal",
65140- 34: "checkpoint Freeze",
65141- 35: "checkpoint Thaw",
65142- 36: "thread Cancellation",
65143- 37: "resource Lost",
65144- 38: "resource Control Exceeded",
65145- 39: "reserved for JVM 1",
65146- 40: "reserved for JVM 2",
65147- 41: "information Request",
65148+var signalList = [...]struct {
65149+ num syscall.Signal
65150+ name string
65151+ desc string
65152+}{
65153+ {1, "SIGHUP", "hangup"},
65154+ {2, "SIGINT", "interrupt"},
65155+ {3, "SIGQUIT", "quit"},
65156+ {4, "SIGILL", "illegal Instruction"},
65157+ {5, "SIGTRAP", "trace/Breakpoint Trap"},
65158+ {6, "SIGABRT", "abort"},
65159+ {7, "SIGEMT", "emulation Trap"},
65160+ {8, "SIGFPE", "arithmetic Exception"},
65161+ {9, "SIGKILL", "killed"},
65162+ {10, "SIGBUS", "bus Error"},
65163+ {11, "SIGSEGV", "segmentation Fault"},
65164+ {12, "SIGSYS", "bad System Call"},
65165+ {13, "SIGPIPE", "broken Pipe"},
65166+ {14, "SIGALRM", "alarm Clock"},
65167+ {15, "SIGTERM", "terminated"},
65168+ {16, "SIGUSR1", "user Signal 1"},
65169+ {17, "SIGUSR2", "user Signal 2"},
65170+ {18, "SIGCHLD", "child Status Changed"},
65171+ {19, "SIGPWR", "power-Fail/Restart"},
65172+ {20, "SIGWINCH", "window Size Change"},
65173+ {21, "SIGURG", "urgent Socket Condition"},
65174+ {22, "SIGIO", "pollable Event"},
65175+ {23, "SIGSTOP", "stopped (signal)"},
65176+ {24, "SIGTSTP", "stopped (user)"},
65177+ {25, "SIGCONT", "continued"},
65178+ {26, "SIGTTIN", "stopped (tty input)"},
65179+ {27, "SIGTTOU", "stopped (tty output)"},
65180+ {28, "SIGVTALRM", "virtual Timer Expired"},
65181+ {29, "SIGPROF", "profiling Timer Expired"},
65182+ {30, "SIGXCPU", "cpu Limit Exceeded"},
65183+ {31, "SIGXFSZ", "file Size Limit Exceeded"},
65184+ {32, "SIGWAITING", "no runnable lwp"},
65185+ {33, "SIGLWP", "inter-lwp signal"},
65186+ {34, "SIGFREEZE", "checkpoint Freeze"},
65187+ {35, "SIGTHAW", "checkpoint Thaw"},
65188+ {36, "SIGCANCEL", "thread Cancellation"},
65189+ {37, "SIGLOST", "resource Lost"},
65190+ {38, "SIGXRES", "resource Control Exceeded"},
65191+ {39, "SIGJVM1", "reserved for JVM 1"},
65192+ {40, "SIGJVM2", "reserved for JVM 2"},
65193+ {41, "SIGINFO", "information Request"},
65194 }
65195diff --git a/vendor/golang.org/x/sys/unix/zptrace_armnn_linux.go b/vendor/golang.org/x/sys/unix/zptrace_armnn_linux.go
65196new file mode 100644
65197index 00000000..89c5920e
65198--- /dev/null
65199+++ b/vendor/golang.org/x/sys/unix/zptrace_armnn_linux.go
65200@@ -0,0 +1,41 @@
65201+// Code generated by linux/mkall.go generatePtracePair("arm", "arm64"). DO NOT EDIT.
65202+
65203+// +build linux
65204+// +build arm arm64
65205+
65206+package unix
65207+
65208+import "unsafe"
65209+
65210+// PtraceRegsArm is the registers used by arm binaries.
65211+type PtraceRegsArm struct {
65212+ Uregs [18]uint32
65213+}
65214+
65215+// PtraceGetRegsArm fetches the registers used by arm binaries.
65216+func PtraceGetRegsArm(pid int, regsout *PtraceRegsArm) error {
65217+ return ptrace(PTRACE_GETREGS, pid, 0, uintptr(unsafe.Pointer(regsout)))
65218+}
65219+
65220+// PtraceSetRegsArm sets the registers used by arm binaries.
65221+func PtraceSetRegsArm(pid int, regs *PtraceRegsArm) error {
65222+ return ptrace(PTRACE_SETREGS, pid, 0, uintptr(unsafe.Pointer(regs)))
65223+}
65224+
65225+// PtraceRegsArm64 is the registers used by arm64 binaries.
65226+type PtraceRegsArm64 struct {
65227+ Regs [31]uint64
65228+ Sp uint64
65229+ Pc uint64
65230+ Pstate uint64
65231+}
65232+
65233+// PtraceGetRegsArm64 fetches the registers used by arm64 binaries.
65234+func PtraceGetRegsArm64(pid int, regsout *PtraceRegsArm64) error {
65235+ return ptrace(PTRACE_GETREGS, pid, 0, uintptr(unsafe.Pointer(regsout)))
65236+}
65237+
65238+// PtraceSetRegsArm64 sets the registers used by arm64 binaries.
65239+func PtraceSetRegsArm64(pid int, regs *PtraceRegsArm64) error {
65240+ return ptrace(PTRACE_SETREGS, pid, 0, uintptr(unsafe.Pointer(regs)))
65241+}
65242diff --git a/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go b/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go
65243new file mode 100644
65244index 00000000..6cb6d688
65245--- /dev/null
65246+++ b/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go
65247@@ -0,0 +1,17 @@
65248+// Code generated by linux/mkall.go generatePtraceRegSet("arm64"). DO NOT EDIT.
65249+
65250+package unix
65251+
65252+import "unsafe"
65253+
65254+// PtraceGetRegSetArm64 fetches the registers used by arm64 binaries.
65255+func PtraceGetRegSetArm64(pid, addr int, regsout *PtraceRegsArm64) error {
65256+ iovec := Iovec{(*byte)(unsafe.Pointer(regsout)), uint64(unsafe.Sizeof(*regsout))}
65257+ return ptrace(PTRACE_GETREGSET, pid, uintptr(addr), uintptr(unsafe.Pointer(&iovec)))
65258+}
65259+
65260+// PtraceSetRegSetArm64 sets the registers used by arm64 binaries.
65261+func PtraceSetRegSetArm64(pid, addr int, regs *PtraceRegsArm64) error {
65262+ iovec := Iovec{(*byte)(unsafe.Pointer(regs)), uint64(unsafe.Sizeof(*regs))}
65263+ return ptrace(PTRACE_SETREGSET, pid, uintptr(addr), uintptr(unsafe.Pointer(&iovec)))
65264+}
65265diff --git a/vendor/golang.org/x/sys/unix/zptrace_mipsnn_linux.go b/vendor/golang.org/x/sys/unix/zptrace_mipsnn_linux.go
65266new file mode 100644
65267index 00000000..24b841ee
65268--- /dev/null
65269+++ b/vendor/golang.org/x/sys/unix/zptrace_mipsnn_linux.go
65270@@ -0,0 +1,50 @@
65271+// Code generated by linux/mkall.go generatePtracePair("mips", "mips64"). DO NOT EDIT.
65272+
65273+// +build linux
65274+// +build mips mips64
65275+
65276+package unix
65277+
65278+import "unsafe"
65279+
65280+// PtraceRegsMips is the registers used by mips binaries.
65281+type PtraceRegsMips struct {
65282+ Regs [32]uint64
65283+ Lo uint64
65284+ Hi uint64
65285+ Epc uint64
65286+ Badvaddr uint64
65287+ Status uint64
65288+ Cause uint64
65289+}
65290+
65291+// PtraceGetRegsMips fetches the registers used by mips binaries.
65292+func PtraceGetRegsMips(pid int, regsout *PtraceRegsMips) error {
65293+ return ptrace(PTRACE_GETREGS, pid, 0, uintptr(unsafe.Pointer(regsout)))
65294+}
65295+
65296+// PtraceSetRegsMips sets the registers used by mips binaries.
65297+func PtraceSetRegsMips(pid int, regs *PtraceRegsMips) error {
65298+ return ptrace(PTRACE_SETREGS, pid, 0, uintptr(unsafe.Pointer(regs)))
65299+}
65300+
65301+// PtraceRegsMips64 is the registers used by mips64 binaries.
65302+type PtraceRegsMips64 struct {
65303+ Regs [32]uint64
65304+ Lo uint64
65305+ Hi uint64
65306+ Epc uint64
65307+ Badvaddr uint64
65308+ Status uint64
65309+ Cause uint64
65310+}
65311+
65312+// PtraceGetRegsMips64 fetches the registers used by mips64 binaries.
65313+func PtraceGetRegsMips64(pid int, regsout *PtraceRegsMips64) error {
65314+ return ptrace(PTRACE_GETREGS, pid, 0, uintptr(unsafe.Pointer(regsout)))
65315+}
65316+
65317+// PtraceSetRegsMips64 sets the registers used by mips64 binaries.
65318+func PtraceSetRegsMips64(pid int, regs *PtraceRegsMips64) error {
65319+ return ptrace(PTRACE_SETREGS, pid, 0, uintptr(unsafe.Pointer(regs)))
65320+}
65321diff --git a/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go b/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go
65322new file mode 100644
65323index 00000000..47b04895
65324--- /dev/null
65325+++ b/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go
65326@@ -0,0 +1,50 @@
65327+// Code generated by linux/mkall.go generatePtracePair("mipsle", "mips64le"). DO NOT EDIT.
65328+
65329+// +build linux
65330+// +build mipsle mips64le
65331+
65332+package unix
65333+
65334+import "unsafe"
65335+
65336+// PtraceRegsMipsle is the registers used by mipsle binaries.
65337+type PtraceRegsMipsle struct {
65338+ Regs [32]uint64
65339+ Lo uint64
65340+ Hi uint64
65341+ Epc uint64
65342+ Badvaddr uint64
65343+ Status uint64
65344+ Cause uint64
65345+}
65346+
65347+// PtraceGetRegsMipsle fetches the registers used by mipsle binaries.
65348+func PtraceGetRegsMipsle(pid int, regsout *PtraceRegsMipsle) error {
65349+ return ptrace(PTRACE_GETREGS, pid, 0, uintptr(unsafe.Pointer(regsout)))
65350+}
65351+
65352+// PtraceSetRegsMipsle sets the registers used by mipsle binaries.
65353+func PtraceSetRegsMipsle(pid int, regs *PtraceRegsMipsle) error {
65354+ return ptrace(PTRACE_SETREGS, pid, 0, uintptr(unsafe.Pointer(regs)))
65355+}
65356+
65357+// PtraceRegsMips64le is the registers used by mips64le binaries.
65358+type PtraceRegsMips64le struct {
65359+ Regs [32]uint64
65360+ Lo uint64
65361+ Hi uint64
65362+ Epc uint64
65363+ Badvaddr uint64
65364+ Status uint64
65365+ Cause uint64
65366+}
65367+
65368+// PtraceGetRegsMips64le fetches the registers used by mips64le binaries.
65369+func PtraceGetRegsMips64le(pid int, regsout *PtraceRegsMips64le) error {
65370+ return ptrace(PTRACE_GETREGS, pid, 0, uintptr(unsafe.Pointer(regsout)))
65371+}
65372+
65373+// PtraceSetRegsMips64le sets the registers used by mips64le binaries.
65374+func PtraceSetRegsMips64le(pid int, regs *PtraceRegsMips64le) error {
65375+ return ptrace(PTRACE_SETREGS, pid, 0, uintptr(unsafe.Pointer(regs)))
65376+}
65377diff --git a/vendor/golang.org/x/sys/unix/zptrace_x86_linux.go b/vendor/golang.org/x/sys/unix/zptrace_x86_linux.go
65378new file mode 100644
65379index 00000000..ea5d9cb5
65380--- /dev/null
65381+++ b/vendor/golang.org/x/sys/unix/zptrace_x86_linux.go
65382@@ -0,0 +1,80 @@
65383+// Code generated by linux/mkall.go generatePtracePair("386", "amd64"). DO NOT EDIT.
65384+
65385+// +build linux
65386+// +build 386 amd64
65387+
65388+package unix
65389+
65390+import "unsafe"
65391+
65392+// PtraceRegs386 is the registers used by 386 binaries.
65393+type PtraceRegs386 struct {
65394+ Ebx int32
65395+ Ecx int32
65396+ Edx int32
65397+ Esi int32
65398+ Edi int32
65399+ Ebp int32
65400+ Eax int32
65401+ Xds int32
65402+ Xes int32
65403+ Xfs int32
65404+ Xgs int32
65405+ Orig_eax int32
65406+ Eip int32
65407+ Xcs int32
65408+ Eflags int32
65409+ Esp int32
65410+ Xss int32
65411+}
65412+
65413+// PtraceGetRegs386 fetches the registers used by 386 binaries.
65414+func PtraceGetRegs386(pid int, regsout *PtraceRegs386) error {
65415+ return ptrace(PTRACE_GETREGS, pid, 0, uintptr(unsafe.Pointer(regsout)))
65416+}
65417+
65418+// PtraceSetRegs386 sets the registers used by 386 binaries.
65419+func PtraceSetRegs386(pid int, regs *PtraceRegs386) error {
65420+ return ptrace(PTRACE_SETREGS, pid, 0, uintptr(unsafe.Pointer(regs)))
65421+}
65422+
65423+// PtraceRegsAmd64 is the registers used by amd64 binaries.
65424+type PtraceRegsAmd64 struct {
65425+ R15 uint64
65426+ R14 uint64
65427+ R13 uint64
65428+ R12 uint64
65429+ Rbp uint64
65430+ Rbx uint64
65431+ R11 uint64
65432+ R10 uint64
65433+ R9 uint64
65434+ R8 uint64
65435+ Rax uint64
65436+ Rcx uint64
65437+ Rdx uint64
65438+ Rsi uint64
65439+ Rdi uint64
65440+ Orig_rax uint64
65441+ Rip uint64
65442+ Cs uint64
65443+ Eflags uint64
65444+ Rsp uint64
65445+ Ss uint64
65446+ Fs_base uint64
65447+ Gs_base uint64
65448+ Ds uint64
65449+ Es uint64
65450+ Fs uint64
65451+ Gs uint64
65452+}
65453+
65454+// PtraceGetRegsAmd64 fetches the registers used by amd64 binaries.
65455+func PtraceGetRegsAmd64(pid int, regsout *PtraceRegsAmd64) error {
65456+ return ptrace(PTRACE_GETREGS, pid, 0, uintptr(unsafe.Pointer(regsout)))
65457+}
65458+
65459+// PtraceSetRegsAmd64 sets the registers used by amd64 binaries.
65460+func PtraceSetRegsAmd64(pid int, regs *PtraceRegsAmd64) error {
65461+ return ptrace(PTRACE_SETREGS, pid, 0, uintptr(unsafe.Pointer(regs)))
65462+}
65463diff --git a/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go
65464new file mode 100644
65465index 00000000..ed657ff1
65466--- /dev/null
65467+++ b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go
65468@@ -0,0 +1,1484 @@
65469+// go run mksyscall_aix_ppc.go -aix -tags aix,ppc syscall_aix.go syscall_aix_ppc.go
65470+// Code generated by the command above; see README.md. DO NOT EDIT.
65471+
65472+// +build aix,ppc
65473+
65474+package unix
65475+
65476+/*
65477+#include <stdint.h>
65478+#include <stddef.h>
65479+int utimes(uintptr_t, uintptr_t);
65480+int utimensat(int, uintptr_t, uintptr_t, int);
65481+int getcwd(uintptr_t, size_t);
65482+int accept(int, uintptr_t, uintptr_t);
65483+int getdirent(int, uintptr_t, size_t);
65484+int wait4(int, uintptr_t, int, uintptr_t);
65485+int ioctl(int, int, uintptr_t);
65486+int fcntl(uintptr_t, int, uintptr_t);
65487+int acct(uintptr_t);
65488+int chdir(uintptr_t);
65489+int chroot(uintptr_t);
65490+int close(int);
65491+int dup(int);
65492+void exit(int);
65493+int faccessat(int, uintptr_t, unsigned int, int);
65494+int fchdir(int);
65495+int fchmod(int, unsigned int);
65496+int fchmodat(int, uintptr_t, unsigned int, int);
65497+int fchownat(int, uintptr_t, int, int, int);
65498+int fdatasync(int);
65499+int fsync(int);
65500+int getpgid(int);
65501+int getpgrp();
65502+int getpid();
65503+int getppid();
65504+int getpriority(int, int);
65505+int getrusage(int, uintptr_t);
65506+int getsid(int);
65507+int kill(int, int);
65508+int syslog(int, uintptr_t, size_t);
65509+int mkdir(int, uintptr_t, unsigned int);
65510+int mkdirat(int, uintptr_t, unsigned int);
65511+int mkfifo(uintptr_t, unsigned int);
65512+int mknod(uintptr_t, unsigned int, int);
65513+int mknodat(int, uintptr_t, unsigned int, int);
65514+int nanosleep(uintptr_t, uintptr_t);
65515+int open64(uintptr_t, int, unsigned int);
65516+int openat(int, uintptr_t, int, unsigned int);
65517+int read(int, uintptr_t, size_t);
65518+int readlink(uintptr_t, uintptr_t, size_t);
65519+int renameat(int, uintptr_t, int, uintptr_t);
65520+int setdomainname(uintptr_t, size_t);
65521+int sethostname(uintptr_t, size_t);
65522+int setpgid(int, int);
65523+int setsid();
65524+int settimeofday(uintptr_t);
65525+int setuid(int);
65526+int setgid(int);
65527+int setpriority(int, int, int);
65528+int statx(int, uintptr_t, int, int, uintptr_t);
65529+int sync();
65530+uintptr_t times(uintptr_t);
65531+int umask(int);
65532+int uname(uintptr_t);
65533+int unlink(uintptr_t);
65534+int unlinkat(int, uintptr_t, int);
65535+int ustat(int, uintptr_t);
65536+int write(int, uintptr_t, size_t);
65537+int dup2(int, int);
65538+int posix_fadvise64(int, long long, long long, int);
65539+int fchown(int, int, int);
65540+int fstat(int, uintptr_t);
65541+int fstatat(int, uintptr_t, uintptr_t, int);
65542+int fstatfs(int, uintptr_t);
65543+int ftruncate(int, long long);
65544+int getegid();
65545+int geteuid();
65546+int getgid();
65547+int getuid();
65548+int lchown(uintptr_t, int, int);
65549+int listen(int, int);
65550+int lstat(uintptr_t, uintptr_t);
65551+int pause();
65552+int pread64(int, uintptr_t, size_t, long long);
65553+int pwrite64(int, uintptr_t, size_t, long long);
65554+#define c_select select
65555+int select(int, uintptr_t, uintptr_t, uintptr_t, uintptr_t);
65556+int pselect(int, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t);
65557+int setregid(int, int);
65558+int setreuid(int, int);
65559+int shutdown(int, int);
65560+long long splice(int, uintptr_t, int, uintptr_t, int, int);
65561+int stat(uintptr_t, uintptr_t);
65562+int statfs(uintptr_t, uintptr_t);
65563+int truncate(uintptr_t, long long);
65564+int bind(int, uintptr_t, uintptr_t);
65565+int connect(int, uintptr_t, uintptr_t);
65566+int getgroups(int, uintptr_t);
65567+int setgroups(int, uintptr_t);
65568+int getsockopt(int, int, int, uintptr_t, uintptr_t);
65569+int setsockopt(int, int, int, uintptr_t, uintptr_t);
65570+int socket(int, int, int);
65571+int socketpair(int, int, int, uintptr_t);
65572+int getpeername(int, uintptr_t, uintptr_t);
65573+int getsockname(int, uintptr_t, uintptr_t);
65574+int recvfrom(int, uintptr_t, size_t, int, uintptr_t, uintptr_t);
65575+int sendto(int, uintptr_t, size_t, int, uintptr_t, uintptr_t);
65576+int nrecvmsg(int, uintptr_t, int);
65577+int nsendmsg(int, uintptr_t, int);
65578+int munmap(uintptr_t, uintptr_t);
65579+int madvise(uintptr_t, size_t, int);
65580+int mprotect(uintptr_t, size_t, int);
65581+int mlock(uintptr_t, size_t);
65582+int mlockall(int);
65583+int msync(uintptr_t, size_t, int);
65584+int munlock(uintptr_t, size_t);
65585+int munlockall();
65586+int pipe(uintptr_t);
65587+int poll(uintptr_t, int, int);
65588+int gettimeofday(uintptr_t, uintptr_t);
65589+int time(uintptr_t);
65590+int utime(uintptr_t, uintptr_t);
65591+unsigned long long getsystemcfg(int);
65592+int umount(uintptr_t);
65593+int getrlimit64(int, uintptr_t);
65594+int setrlimit64(int, uintptr_t);
65595+long long lseek64(int, long long, int);
65596+uintptr_t mmap(uintptr_t, uintptr_t, int, int, int, long long);
65597+
65598+*/
65599+import "C"
65600+import (
65601+ "unsafe"
65602+)
65603+
65604+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65605+
65606+func utimes(path string, times *[2]Timeval) (err error) {
65607+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
65608+ r0, er := C.utimes(C.uintptr_t(_p0), C.uintptr_t(uintptr(unsafe.Pointer(times))))
65609+ if r0 == -1 && er != nil {
65610+ err = er
65611+ }
65612+ return
65613+}
65614+
65615+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65616+
65617+func utimensat(dirfd int, path string, times *[2]Timespec, flag int) (err error) {
65618+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
65619+ r0, er := C.utimensat(C.int(dirfd), C.uintptr_t(_p0), C.uintptr_t(uintptr(unsafe.Pointer(times))), C.int(flag))
65620+ if r0 == -1 && er != nil {
65621+ err = er
65622+ }
65623+ return
65624+}
65625+
65626+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65627+
65628+func getcwd(buf []byte) (err error) {
65629+ var _p0 *byte
65630+ if len(buf) > 0 {
65631+ _p0 = &buf[0]
65632+ }
65633+ var _p1 int
65634+ _p1 = len(buf)
65635+ r0, er := C.getcwd(C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1))
65636+ if r0 == -1 && er != nil {
65637+ err = er
65638+ }
65639+ return
65640+}
65641+
65642+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65643+
65644+func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
65645+ r0, er := C.accept(C.int(s), C.uintptr_t(uintptr(unsafe.Pointer(rsa))), C.uintptr_t(uintptr(unsafe.Pointer(addrlen))))
65646+ fd = int(r0)
65647+ if r0 == -1 && er != nil {
65648+ err = er
65649+ }
65650+ return
65651+}
65652+
65653+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65654+
65655+func getdirent(fd int, buf []byte) (n int, err error) {
65656+ var _p0 *byte
65657+ if len(buf) > 0 {
65658+ _p0 = &buf[0]
65659+ }
65660+ var _p1 int
65661+ _p1 = len(buf)
65662+ r0, er := C.getdirent(C.int(fd), C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1))
65663+ n = int(r0)
65664+ if r0 == -1 && er != nil {
65665+ err = er
65666+ }
65667+ return
65668+}
65669+
65670+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65671+
65672+func wait4(pid Pid_t, status *_C_int, options int, rusage *Rusage) (wpid Pid_t, err error) {
65673+ r0, er := C.wait4(C.int(pid), C.uintptr_t(uintptr(unsafe.Pointer(status))), C.int(options), C.uintptr_t(uintptr(unsafe.Pointer(rusage))))
65674+ wpid = Pid_t(r0)
65675+ if r0 == -1 && er != nil {
65676+ err = er
65677+ }
65678+ return
65679+}
65680+
65681+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65682+
65683+func ioctl(fd int, req uint, arg uintptr) (err error) {
65684+ r0, er := C.ioctl(C.int(fd), C.int(req), C.uintptr_t(arg))
65685+ if r0 == -1 && er != nil {
65686+ err = er
65687+ }
65688+ return
65689+}
65690+
65691+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65692+
65693+func FcntlInt(fd uintptr, cmd int, arg int) (r int, err error) {
65694+ r0, er := C.fcntl(C.uintptr_t(fd), C.int(cmd), C.uintptr_t(arg))
65695+ r = int(r0)
65696+ if r0 == -1 && er != nil {
65697+ err = er
65698+ }
65699+ return
65700+}
65701+
65702+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65703+
65704+func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) (err error) {
65705+ r0, er := C.fcntl(C.uintptr_t(fd), C.int(cmd), C.uintptr_t(uintptr(unsafe.Pointer(lk))))
65706+ if r0 == -1 && er != nil {
65707+ err = er
65708+ }
65709+ return
65710+}
65711+
65712+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65713+
65714+func fcntl(fd int, cmd int, arg int) (val int, err error) {
65715+ r0, er := C.fcntl(C.uintptr_t(fd), C.int(cmd), C.uintptr_t(arg))
65716+ val = int(r0)
65717+ if r0 == -1 && er != nil {
65718+ err = er
65719+ }
65720+ return
65721+}
65722+
65723+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65724+
65725+func Acct(path string) (err error) {
65726+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
65727+ r0, er := C.acct(C.uintptr_t(_p0))
65728+ if r0 == -1 && er != nil {
65729+ err = er
65730+ }
65731+ return
65732+}
65733+
65734+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65735+
65736+func Chdir(path string) (err error) {
65737+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
65738+ r0, er := C.chdir(C.uintptr_t(_p0))
65739+ if r0 == -1 && er != nil {
65740+ err = er
65741+ }
65742+ return
65743+}
65744+
65745+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65746+
65747+func Chroot(path string) (err error) {
65748+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
65749+ r0, er := C.chroot(C.uintptr_t(_p0))
65750+ if r0 == -1 && er != nil {
65751+ err = er
65752+ }
65753+ return
65754+}
65755+
65756+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65757+
65758+func Close(fd int) (err error) {
65759+ r0, er := C.close(C.int(fd))
65760+ if r0 == -1 && er != nil {
65761+ err = er
65762+ }
65763+ return
65764+}
65765+
65766+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65767+
65768+func Dup(oldfd int) (fd int, err error) {
65769+ r0, er := C.dup(C.int(oldfd))
65770+ fd = int(r0)
65771+ if r0 == -1 && er != nil {
65772+ err = er
65773+ }
65774+ return
65775+}
65776+
65777+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65778+
65779+func Exit(code int) {
65780+ C.exit(C.int(code))
65781+ return
65782+}
65783+
65784+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65785+
65786+func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
65787+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
65788+ r0, er := C.faccessat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode), C.int(flags))
65789+ if r0 == -1 && er != nil {
65790+ err = er
65791+ }
65792+ return
65793+}
65794+
65795+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65796+
65797+func Fchdir(fd int) (err error) {
65798+ r0, er := C.fchdir(C.int(fd))
65799+ if r0 == -1 && er != nil {
65800+ err = er
65801+ }
65802+ return
65803+}
65804+
65805+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65806+
65807+func Fchmod(fd int, mode uint32) (err error) {
65808+ r0, er := C.fchmod(C.int(fd), C.uint(mode))
65809+ if r0 == -1 && er != nil {
65810+ err = er
65811+ }
65812+ return
65813+}
65814+
65815+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65816+
65817+func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
65818+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
65819+ r0, er := C.fchmodat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode), C.int(flags))
65820+ if r0 == -1 && er != nil {
65821+ err = er
65822+ }
65823+ return
65824+}
65825+
65826+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65827+
65828+func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
65829+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
65830+ r0, er := C.fchownat(C.int(dirfd), C.uintptr_t(_p0), C.int(uid), C.int(gid), C.int(flags))
65831+ if r0 == -1 && er != nil {
65832+ err = er
65833+ }
65834+ return
65835+}
65836+
65837+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65838+
65839+func Fdatasync(fd int) (err error) {
65840+ r0, er := C.fdatasync(C.int(fd))
65841+ if r0 == -1 && er != nil {
65842+ err = er
65843+ }
65844+ return
65845+}
65846+
65847+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65848+
65849+func Fsync(fd int) (err error) {
65850+ r0, er := C.fsync(C.int(fd))
65851+ if r0 == -1 && er != nil {
65852+ err = er
65853+ }
65854+ return
65855+}
65856+
65857+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65858+
65859+func Getpgid(pid int) (pgid int, err error) {
65860+ r0, er := C.getpgid(C.int(pid))
65861+ pgid = int(r0)
65862+ if r0 == -1 && er != nil {
65863+ err = er
65864+ }
65865+ return
65866+}
65867+
65868+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65869+
65870+func Getpgrp() (pid int) {
65871+ r0, _ := C.getpgrp()
65872+ pid = int(r0)
65873+ return
65874+}
65875+
65876+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65877+
65878+func Getpid() (pid int) {
65879+ r0, _ := C.getpid()
65880+ pid = int(r0)
65881+ return
65882+}
65883+
65884+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65885+
65886+func Getppid() (ppid int) {
65887+ r0, _ := C.getppid()
65888+ ppid = int(r0)
65889+ return
65890+}
65891+
65892+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65893+
65894+func Getpriority(which int, who int) (prio int, err error) {
65895+ r0, er := C.getpriority(C.int(which), C.int(who))
65896+ prio = int(r0)
65897+ if r0 == -1 && er != nil {
65898+ err = er
65899+ }
65900+ return
65901+}
65902+
65903+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65904+
65905+func Getrusage(who int, rusage *Rusage) (err error) {
65906+ r0, er := C.getrusage(C.int(who), C.uintptr_t(uintptr(unsafe.Pointer(rusage))))
65907+ if r0 == -1 && er != nil {
65908+ err = er
65909+ }
65910+ return
65911+}
65912+
65913+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65914+
65915+func Getsid(pid int) (sid int, err error) {
65916+ r0, er := C.getsid(C.int(pid))
65917+ sid = int(r0)
65918+ if r0 == -1 && er != nil {
65919+ err = er
65920+ }
65921+ return
65922+}
65923+
65924+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65925+
65926+func Kill(pid int, sig Signal) (err error) {
65927+ r0, er := C.kill(C.int(pid), C.int(sig))
65928+ if r0 == -1 && er != nil {
65929+ err = er
65930+ }
65931+ return
65932+}
65933+
65934+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65935+
65936+func Klogctl(typ int, buf []byte) (n int, err error) {
65937+ var _p0 *byte
65938+ if len(buf) > 0 {
65939+ _p0 = &buf[0]
65940+ }
65941+ var _p1 int
65942+ _p1 = len(buf)
65943+ r0, er := C.syslog(C.int(typ), C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1))
65944+ n = int(r0)
65945+ if r0 == -1 && er != nil {
65946+ err = er
65947+ }
65948+ return
65949+}
65950+
65951+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65952+
65953+func Mkdir(dirfd int, path string, mode uint32) (err error) {
65954+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
65955+ r0, er := C.mkdir(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode))
65956+ if r0 == -1 && er != nil {
65957+ err = er
65958+ }
65959+ return
65960+}
65961+
65962+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65963+
65964+func Mkdirat(dirfd int, path string, mode uint32) (err error) {
65965+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
65966+ r0, er := C.mkdirat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode))
65967+ if r0 == -1 && er != nil {
65968+ err = er
65969+ }
65970+ return
65971+}
65972+
65973+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65974+
65975+func Mkfifo(path string, mode uint32) (err error) {
65976+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
65977+ r0, er := C.mkfifo(C.uintptr_t(_p0), C.uint(mode))
65978+ if r0 == -1 && er != nil {
65979+ err = er
65980+ }
65981+ return
65982+}
65983+
65984+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65985+
65986+func Mknod(path string, mode uint32, dev int) (err error) {
65987+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
65988+ r0, er := C.mknod(C.uintptr_t(_p0), C.uint(mode), C.int(dev))
65989+ if r0 == -1 && er != nil {
65990+ err = er
65991+ }
65992+ return
65993+}
65994+
65995+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
65996+
65997+func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
65998+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
65999+ r0, er := C.mknodat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode), C.int(dev))
66000+ if r0 == -1 && er != nil {
66001+ err = er
66002+ }
66003+ return
66004+}
66005+
66006+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66007+
66008+func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
66009+ r0, er := C.nanosleep(C.uintptr_t(uintptr(unsafe.Pointer(time))), C.uintptr_t(uintptr(unsafe.Pointer(leftover))))
66010+ if r0 == -1 && er != nil {
66011+ err = er
66012+ }
66013+ return
66014+}
66015+
66016+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66017+
66018+func Open(path string, mode int, perm uint32) (fd int, err error) {
66019+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
66020+ r0, er := C.open64(C.uintptr_t(_p0), C.int(mode), C.uint(perm))
66021+ fd = int(r0)
66022+ if r0 == -1 && er != nil {
66023+ err = er
66024+ }
66025+ return
66026+}
66027+
66028+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66029+
66030+func Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
66031+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
66032+ r0, er := C.openat(C.int(dirfd), C.uintptr_t(_p0), C.int(flags), C.uint(mode))
66033+ fd = int(r0)
66034+ if r0 == -1 && er != nil {
66035+ err = er
66036+ }
66037+ return
66038+}
66039+
66040+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66041+
66042+func read(fd int, p []byte) (n int, err error) {
66043+ var _p0 *byte
66044+ if len(p) > 0 {
66045+ _p0 = &p[0]
66046+ }
66047+ var _p1 int
66048+ _p1 = len(p)
66049+ r0, er := C.read(C.int(fd), C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1))
66050+ n = int(r0)
66051+ if r0 == -1 && er != nil {
66052+ err = er
66053+ }
66054+ return
66055+}
66056+
66057+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66058+
66059+func Readlink(path string, buf []byte) (n int, err error) {
66060+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
66061+ var _p1 *byte
66062+ if len(buf) > 0 {
66063+ _p1 = &buf[0]
66064+ }
66065+ var _p2 int
66066+ _p2 = len(buf)
66067+ r0, er := C.readlink(C.uintptr_t(_p0), C.uintptr_t(uintptr(unsafe.Pointer(_p1))), C.size_t(_p2))
66068+ n = int(r0)
66069+ if r0 == -1 && er != nil {
66070+ err = er
66071+ }
66072+ return
66073+}
66074+
66075+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66076+
66077+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
66078+ _p0 := uintptr(unsafe.Pointer(C.CString(oldpath)))
66079+ _p1 := uintptr(unsafe.Pointer(C.CString(newpath)))
66080+ r0, er := C.renameat(C.int(olddirfd), C.uintptr_t(_p0), C.int(newdirfd), C.uintptr_t(_p1))
66081+ if r0 == -1 && er != nil {
66082+ err = er
66083+ }
66084+ return
66085+}
66086+
66087+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66088+
66089+func Setdomainname(p []byte) (err error) {
66090+ var _p0 *byte
66091+ if len(p) > 0 {
66092+ _p0 = &p[0]
66093+ }
66094+ var _p1 int
66095+ _p1 = len(p)
66096+ r0, er := C.setdomainname(C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1))
66097+ if r0 == -1 && er != nil {
66098+ err = er
66099+ }
66100+ return
66101+}
66102+
66103+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66104+
66105+func Sethostname(p []byte) (err error) {
66106+ var _p0 *byte
66107+ if len(p) > 0 {
66108+ _p0 = &p[0]
66109+ }
66110+ var _p1 int
66111+ _p1 = len(p)
66112+ r0, er := C.sethostname(C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1))
66113+ if r0 == -1 && er != nil {
66114+ err = er
66115+ }
66116+ return
66117+}
66118+
66119+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66120+
66121+func Setpgid(pid int, pgid int) (err error) {
66122+ r0, er := C.setpgid(C.int(pid), C.int(pgid))
66123+ if r0 == -1 && er != nil {
66124+ err = er
66125+ }
66126+ return
66127+}
66128+
66129+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66130+
66131+func Setsid() (pid int, err error) {
66132+ r0, er := C.setsid()
66133+ pid = int(r0)
66134+ if r0 == -1 && er != nil {
66135+ err = er
66136+ }
66137+ return
66138+}
66139+
66140+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66141+
66142+func Settimeofday(tv *Timeval) (err error) {
66143+ r0, er := C.settimeofday(C.uintptr_t(uintptr(unsafe.Pointer(tv))))
66144+ if r0 == -1 && er != nil {
66145+ err = er
66146+ }
66147+ return
66148+}
66149+
66150+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66151+
66152+func Setuid(uid int) (err error) {
66153+ r0, er := C.setuid(C.int(uid))
66154+ if r0 == -1 && er != nil {
66155+ err = er
66156+ }
66157+ return
66158+}
66159+
66160+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66161+
66162+func Setgid(uid int) (err error) {
66163+ r0, er := C.setgid(C.int(uid))
66164+ if r0 == -1 && er != nil {
66165+ err = er
66166+ }
66167+ return
66168+}
66169+
66170+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66171+
66172+func Setpriority(which int, who int, prio int) (err error) {
66173+ r0, er := C.setpriority(C.int(which), C.int(who), C.int(prio))
66174+ if r0 == -1 && er != nil {
66175+ err = er
66176+ }
66177+ return
66178+}
66179+
66180+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66181+
66182+func Statx(dirfd int, path string, flags int, mask int, stat *Statx_t) (err error) {
66183+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
66184+ r0, er := C.statx(C.int(dirfd), C.uintptr_t(_p0), C.int(flags), C.int(mask), C.uintptr_t(uintptr(unsafe.Pointer(stat))))
66185+ if r0 == -1 && er != nil {
66186+ err = er
66187+ }
66188+ return
66189+}
66190+
66191+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66192+
66193+func Sync() {
66194+ C.sync()
66195+ return
66196+}
66197+
66198+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66199+
66200+func Times(tms *Tms) (ticks uintptr, err error) {
66201+ r0, er := C.times(C.uintptr_t(uintptr(unsafe.Pointer(tms))))
66202+ ticks = uintptr(r0)
66203+ if uintptr(r0) == ^uintptr(0) && er != nil {
66204+ err = er
66205+ }
66206+ return
66207+}
66208+
66209+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66210+
66211+func Umask(mask int) (oldmask int) {
66212+ r0, _ := C.umask(C.int(mask))
66213+ oldmask = int(r0)
66214+ return
66215+}
66216+
66217+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66218+
66219+func Uname(buf *Utsname) (err error) {
66220+ r0, er := C.uname(C.uintptr_t(uintptr(unsafe.Pointer(buf))))
66221+ if r0 == -1 && er != nil {
66222+ err = er
66223+ }
66224+ return
66225+}
66226+
66227+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66228+
66229+func Unlink(path string) (err error) {
66230+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
66231+ r0, er := C.unlink(C.uintptr_t(_p0))
66232+ if r0 == -1 && er != nil {
66233+ err = er
66234+ }
66235+ return
66236+}
66237+
66238+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66239+
66240+func Unlinkat(dirfd int, path string, flags int) (err error) {
66241+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
66242+ r0, er := C.unlinkat(C.int(dirfd), C.uintptr_t(_p0), C.int(flags))
66243+ if r0 == -1 && er != nil {
66244+ err = er
66245+ }
66246+ return
66247+}
66248+
66249+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66250+
66251+func Ustat(dev int, ubuf *Ustat_t) (err error) {
66252+ r0, er := C.ustat(C.int(dev), C.uintptr_t(uintptr(unsafe.Pointer(ubuf))))
66253+ if r0 == -1 && er != nil {
66254+ err = er
66255+ }
66256+ return
66257+}
66258+
66259+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66260+
66261+func write(fd int, p []byte) (n int, err error) {
66262+ var _p0 *byte
66263+ if len(p) > 0 {
66264+ _p0 = &p[0]
66265+ }
66266+ var _p1 int
66267+ _p1 = len(p)
66268+ r0, er := C.write(C.int(fd), C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1))
66269+ n = int(r0)
66270+ if r0 == -1 && er != nil {
66271+ err = er
66272+ }
66273+ return
66274+}
66275+
66276+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66277+
66278+func readlen(fd int, p *byte, np int) (n int, err error) {
66279+ r0, er := C.read(C.int(fd), C.uintptr_t(uintptr(unsafe.Pointer(p))), C.size_t(np))
66280+ n = int(r0)
66281+ if r0 == -1 && er != nil {
66282+ err = er
66283+ }
66284+ return
66285+}
66286+
66287+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66288+
66289+func writelen(fd int, p *byte, np int) (n int, err error) {
66290+ r0, er := C.write(C.int(fd), C.uintptr_t(uintptr(unsafe.Pointer(p))), C.size_t(np))
66291+ n = int(r0)
66292+ if r0 == -1 && er != nil {
66293+ err = er
66294+ }
66295+ return
66296+}
66297+
66298+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66299+
66300+func Dup2(oldfd int, newfd int) (err error) {
66301+ r0, er := C.dup2(C.int(oldfd), C.int(newfd))
66302+ if r0 == -1 && er != nil {
66303+ err = er
66304+ }
66305+ return
66306+}
66307+
66308+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66309+
66310+func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
66311+ r0, er := C.posix_fadvise64(C.int(fd), C.longlong(offset), C.longlong(length), C.int(advice))
66312+ if r0 == -1 && er != nil {
66313+ err = er
66314+ }
66315+ return
66316+}
66317+
66318+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66319+
66320+func Fchown(fd int, uid int, gid int) (err error) {
66321+ r0, er := C.fchown(C.int(fd), C.int(uid), C.int(gid))
66322+ if r0 == -1 && er != nil {
66323+ err = er
66324+ }
66325+ return
66326+}
66327+
66328+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66329+
66330+func fstat(fd int, stat *Stat_t) (err error) {
66331+ r0, er := C.fstat(C.int(fd), C.uintptr_t(uintptr(unsafe.Pointer(stat))))
66332+ if r0 == -1 && er != nil {
66333+ err = er
66334+ }
66335+ return
66336+}
66337+
66338+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66339+
66340+func fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) {
66341+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
66342+ r0, er := C.fstatat(C.int(dirfd), C.uintptr_t(_p0), C.uintptr_t(uintptr(unsafe.Pointer(stat))), C.int(flags))
66343+ if r0 == -1 && er != nil {
66344+ err = er
66345+ }
66346+ return
66347+}
66348+
66349+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66350+
66351+func Fstatfs(fd int, buf *Statfs_t) (err error) {
66352+ r0, er := C.fstatfs(C.int(fd), C.uintptr_t(uintptr(unsafe.Pointer(buf))))
66353+ if r0 == -1 && er != nil {
66354+ err = er
66355+ }
66356+ return
66357+}
66358+
66359+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66360+
66361+func Ftruncate(fd int, length int64) (err error) {
66362+ r0, er := C.ftruncate(C.int(fd), C.longlong(length))
66363+ if r0 == -1 && er != nil {
66364+ err = er
66365+ }
66366+ return
66367+}
66368+
66369+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66370+
66371+func Getegid() (egid int) {
66372+ r0, _ := C.getegid()
66373+ egid = int(r0)
66374+ return
66375+}
66376+
66377+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66378+
66379+func Geteuid() (euid int) {
66380+ r0, _ := C.geteuid()
66381+ euid = int(r0)
66382+ return
66383+}
66384+
66385+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66386+
66387+func Getgid() (gid int) {
66388+ r0, _ := C.getgid()
66389+ gid = int(r0)
66390+ return
66391+}
66392+
66393+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66394+
66395+func Getuid() (uid int) {
66396+ r0, _ := C.getuid()
66397+ uid = int(r0)
66398+ return
66399+}
66400+
66401+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66402+
66403+func Lchown(path string, uid int, gid int) (err error) {
66404+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
66405+ r0, er := C.lchown(C.uintptr_t(_p0), C.int(uid), C.int(gid))
66406+ if r0 == -1 && er != nil {
66407+ err = er
66408+ }
66409+ return
66410+}
66411+
66412+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66413+
66414+func Listen(s int, n int) (err error) {
66415+ r0, er := C.listen(C.int(s), C.int(n))
66416+ if r0 == -1 && er != nil {
66417+ err = er
66418+ }
66419+ return
66420+}
66421+
66422+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66423+
66424+func lstat(path string, stat *Stat_t) (err error) {
66425+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
66426+ r0, er := C.lstat(C.uintptr_t(_p0), C.uintptr_t(uintptr(unsafe.Pointer(stat))))
66427+ if r0 == -1 && er != nil {
66428+ err = er
66429+ }
66430+ return
66431+}
66432+
66433+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66434+
66435+func Pause() (err error) {
66436+ r0, er := C.pause()
66437+ if r0 == -1 && er != nil {
66438+ err = er
66439+ }
66440+ return
66441+}
66442+
66443+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66444+
66445+func Pread(fd int, p []byte, offset int64) (n int, err error) {
66446+ var _p0 *byte
66447+ if len(p) > 0 {
66448+ _p0 = &p[0]
66449+ }
66450+ var _p1 int
66451+ _p1 = len(p)
66452+ r0, er := C.pread64(C.int(fd), C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1), C.longlong(offset))
66453+ n = int(r0)
66454+ if r0 == -1 && er != nil {
66455+ err = er
66456+ }
66457+ return
66458+}
66459+
66460+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66461+
66462+func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
66463+ var _p0 *byte
66464+ if len(p) > 0 {
66465+ _p0 = &p[0]
66466+ }
66467+ var _p1 int
66468+ _p1 = len(p)
66469+ r0, er := C.pwrite64(C.int(fd), C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1), C.longlong(offset))
66470+ n = int(r0)
66471+ if r0 == -1 && er != nil {
66472+ err = er
66473+ }
66474+ return
66475+}
66476+
66477+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66478+
66479+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
66480+ r0, er := C.c_select(C.int(nfd), C.uintptr_t(uintptr(unsafe.Pointer(r))), C.uintptr_t(uintptr(unsafe.Pointer(w))), C.uintptr_t(uintptr(unsafe.Pointer(e))), C.uintptr_t(uintptr(unsafe.Pointer(timeout))))
66481+ n = int(r0)
66482+ if r0 == -1 && er != nil {
66483+ err = er
66484+ }
66485+ return
66486+}
66487+
66488+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66489+
66490+func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
66491+ r0, er := C.pselect(C.int(nfd), C.uintptr_t(uintptr(unsafe.Pointer(r))), C.uintptr_t(uintptr(unsafe.Pointer(w))), C.uintptr_t(uintptr(unsafe.Pointer(e))), C.uintptr_t(uintptr(unsafe.Pointer(timeout))), C.uintptr_t(uintptr(unsafe.Pointer(sigmask))))
66492+ n = int(r0)
66493+ if r0 == -1 && er != nil {
66494+ err = er
66495+ }
66496+ return
66497+}
66498+
66499+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66500+
66501+func Setregid(rgid int, egid int) (err error) {
66502+ r0, er := C.setregid(C.int(rgid), C.int(egid))
66503+ if r0 == -1 && er != nil {
66504+ err = er
66505+ }
66506+ return
66507+}
66508+
66509+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66510+
66511+func Setreuid(ruid int, euid int) (err error) {
66512+ r0, er := C.setreuid(C.int(ruid), C.int(euid))
66513+ if r0 == -1 && er != nil {
66514+ err = er
66515+ }
66516+ return
66517+}
66518+
66519+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66520+
66521+func Shutdown(fd int, how int) (err error) {
66522+ r0, er := C.shutdown(C.int(fd), C.int(how))
66523+ if r0 == -1 && er != nil {
66524+ err = er
66525+ }
66526+ return
66527+}
66528+
66529+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66530+
66531+func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
66532+ r0, er := C.splice(C.int(rfd), C.uintptr_t(uintptr(unsafe.Pointer(roff))), C.int(wfd), C.uintptr_t(uintptr(unsafe.Pointer(woff))), C.int(len), C.int(flags))
66533+ n = int64(r0)
66534+ if r0 == -1 && er != nil {
66535+ err = er
66536+ }
66537+ return
66538+}
66539+
66540+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66541+
66542+func stat(path string, statptr *Stat_t) (err error) {
66543+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
66544+ r0, er := C.stat(C.uintptr_t(_p0), C.uintptr_t(uintptr(unsafe.Pointer(statptr))))
66545+ if r0 == -1 && er != nil {
66546+ err = er
66547+ }
66548+ return
66549+}
66550+
66551+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66552+
66553+func Statfs(path string, buf *Statfs_t) (err error) {
66554+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
66555+ r0, er := C.statfs(C.uintptr_t(_p0), C.uintptr_t(uintptr(unsafe.Pointer(buf))))
66556+ if r0 == -1 && er != nil {
66557+ err = er
66558+ }
66559+ return
66560+}
66561+
66562+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66563+
66564+func Truncate(path string, length int64) (err error) {
66565+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
66566+ r0, er := C.truncate(C.uintptr_t(_p0), C.longlong(length))
66567+ if r0 == -1 && er != nil {
66568+ err = er
66569+ }
66570+ return
66571+}
66572+
66573+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66574+
66575+func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
66576+ r0, er := C.bind(C.int(s), C.uintptr_t(uintptr(addr)), C.uintptr_t(uintptr(addrlen)))
66577+ if r0 == -1 && er != nil {
66578+ err = er
66579+ }
66580+ return
66581+}
66582+
66583+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66584+
66585+func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
66586+ r0, er := C.connect(C.int(s), C.uintptr_t(uintptr(addr)), C.uintptr_t(uintptr(addrlen)))
66587+ if r0 == -1 && er != nil {
66588+ err = er
66589+ }
66590+ return
66591+}
66592+
66593+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66594+
66595+func getgroups(n int, list *_Gid_t) (nn int, err error) {
66596+ r0, er := C.getgroups(C.int(n), C.uintptr_t(uintptr(unsafe.Pointer(list))))
66597+ nn = int(r0)
66598+ if r0 == -1 && er != nil {
66599+ err = er
66600+ }
66601+ return
66602+}
66603+
66604+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66605+
66606+func setgroups(n int, list *_Gid_t) (err error) {
66607+ r0, er := C.setgroups(C.int(n), C.uintptr_t(uintptr(unsafe.Pointer(list))))
66608+ if r0 == -1 && er != nil {
66609+ err = er
66610+ }
66611+ return
66612+}
66613+
66614+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66615+
66616+func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
66617+ r0, er := C.getsockopt(C.int(s), C.int(level), C.int(name), C.uintptr_t(uintptr(val)), C.uintptr_t(uintptr(unsafe.Pointer(vallen))))
66618+ if r0 == -1 && er != nil {
66619+ err = er
66620+ }
66621+ return
66622+}
66623+
66624+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66625+
66626+func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
66627+ r0, er := C.setsockopt(C.int(s), C.int(level), C.int(name), C.uintptr_t(uintptr(val)), C.uintptr_t(vallen))
66628+ if r0 == -1 && er != nil {
66629+ err = er
66630+ }
66631+ return
66632+}
66633+
66634+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66635+
66636+func socket(domain int, typ int, proto int) (fd int, err error) {
66637+ r0, er := C.socket(C.int(domain), C.int(typ), C.int(proto))
66638+ fd = int(r0)
66639+ if r0 == -1 && er != nil {
66640+ err = er
66641+ }
66642+ return
66643+}
66644+
66645+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66646+
66647+func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
66648+ r0, er := C.socketpair(C.int(domain), C.int(typ), C.int(proto), C.uintptr_t(uintptr(unsafe.Pointer(fd))))
66649+ if r0 == -1 && er != nil {
66650+ err = er
66651+ }
66652+ return
66653+}
66654+
66655+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66656+
66657+func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
66658+ r0, er := C.getpeername(C.int(fd), C.uintptr_t(uintptr(unsafe.Pointer(rsa))), C.uintptr_t(uintptr(unsafe.Pointer(addrlen))))
66659+ if r0 == -1 && er != nil {
66660+ err = er
66661+ }
66662+ return
66663+}
66664+
66665+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66666+
66667+func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
66668+ r0, er := C.getsockname(C.int(fd), C.uintptr_t(uintptr(unsafe.Pointer(rsa))), C.uintptr_t(uintptr(unsafe.Pointer(addrlen))))
66669+ if r0 == -1 && er != nil {
66670+ err = er
66671+ }
66672+ return
66673+}
66674+
66675+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66676+
66677+func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
66678+ var _p0 *byte
66679+ if len(p) > 0 {
66680+ _p0 = &p[0]
66681+ }
66682+ var _p1 int
66683+ _p1 = len(p)
66684+ r0, er := C.recvfrom(C.int(fd), C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1), C.int(flags), C.uintptr_t(uintptr(unsafe.Pointer(from))), C.uintptr_t(uintptr(unsafe.Pointer(fromlen))))
66685+ n = int(r0)
66686+ if r0 == -1 && er != nil {
66687+ err = er
66688+ }
66689+ return
66690+}
66691+
66692+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66693+
66694+func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
66695+ var _p0 *byte
66696+ if len(buf) > 0 {
66697+ _p0 = &buf[0]
66698+ }
66699+ var _p1 int
66700+ _p1 = len(buf)
66701+ r0, er := C.sendto(C.int(s), C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1), C.int(flags), C.uintptr_t(uintptr(to)), C.uintptr_t(uintptr(addrlen)))
66702+ if r0 == -1 && er != nil {
66703+ err = er
66704+ }
66705+ return
66706+}
66707+
66708+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66709+
66710+func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
66711+ r0, er := C.nrecvmsg(C.int(s), C.uintptr_t(uintptr(unsafe.Pointer(msg))), C.int(flags))
66712+ n = int(r0)
66713+ if r0 == -1 && er != nil {
66714+ err = er
66715+ }
66716+ return
66717+}
66718+
66719+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66720+
66721+func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
66722+ r0, er := C.nsendmsg(C.int(s), C.uintptr_t(uintptr(unsafe.Pointer(msg))), C.int(flags))
66723+ n = int(r0)
66724+ if r0 == -1 && er != nil {
66725+ err = er
66726+ }
66727+ return
66728+}
66729+
66730+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66731+
66732+func munmap(addr uintptr, length uintptr) (err error) {
66733+ r0, er := C.munmap(C.uintptr_t(addr), C.uintptr_t(length))
66734+ if r0 == -1 && er != nil {
66735+ err = er
66736+ }
66737+ return
66738+}
66739+
66740+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66741+
66742+func Madvise(b []byte, advice int) (err error) {
66743+ var _p0 *byte
66744+ if len(b) > 0 {
66745+ _p0 = &b[0]
66746+ }
66747+ var _p1 int
66748+ _p1 = len(b)
66749+ r0, er := C.madvise(C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1), C.int(advice))
66750+ if r0 == -1 && er != nil {
66751+ err = er
66752+ }
66753+ return
66754+}
66755+
66756+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66757+
66758+func Mprotect(b []byte, prot int) (err error) {
66759+ var _p0 *byte
66760+ if len(b) > 0 {
66761+ _p0 = &b[0]
66762+ }
66763+ var _p1 int
66764+ _p1 = len(b)
66765+ r0, er := C.mprotect(C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1), C.int(prot))
66766+ if r0 == -1 && er != nil {
66767+ err = er
66768+ }
66769+ return
66770+}
66771+
66772+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66773+
66774+func Mlock(b []byte) (err error) {
66775+ var _p0 *byte
66776+ if len(b) > 0 {
66777+ _p0 = &b[0]
66778+ }
66779+ var _p1 int
66780+ _p1 = len(b)
66781+ r0, er := C.mlock(C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1))
66782+ if r0 == -1 && er != nil {
66783+ err = er
66784+ }
66785+ return
66786+}
66787+
66788+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66789+
66790+func Mlockall(flags int) (err error) {
66791+ r0, er := C.mlockall(C.int(flags))
66792+ if r0 == -1 && er != nil {
66793+ err = er
66794+ }
66795+ return
66796+}
66797+
66798+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66799+
66800+func Msync(b []byte, flags int) (err error) {
66801+ var _p0 *byte
66802+ if len(b) > 0 {
66803+ _p0 = &b[0]
66804+ }
66805+ var _p1 int
66806+ _p1 = len(b)
66807+ r0, er := C.msync(C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1), C.int(flags))
66808+ if r0 == -1 && er != nil {
66809+ err = er
66810+ }
66811+ return
66812+}
66813+
66814+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66815+
66816+func Munlock(b []byte) (err error) {
66817+ var _p0 *byte
66818+ if len(b) > 0 {
66819+ _p0 = &b[0]
66820+ }
66821+ var _p1 int
66822+ _p1 = len(b)
66823+ r0, er := C.munlock(C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1))
66824+ if r0 == -1 && er != nil {
66825+ err = er
66826+ }
66827+ return
66828+}
66829+
66830+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66831+
66832+func Munlockall() (err error) {
66833+ r0, er := C.munlockall()
66834+ if r0 == -1 && er != nil {
66835+ err = er
66836+ }
66837+ return
66838+}
66839+
66840+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66841+
66842+func pipe(p *[2]_C_int) (err error) {
66843+ r0, er := C.pipe(C.uintptr_t(uintptr(unsafe.Pointer(p))))
66844+ if r0 == -1 && er != nil {
66845+ err = er
66846+ }
66847+ return
66848+}
66849+
66850+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66851+
66852+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
66853+ r0, er := C.poll(C.uintptr_t(uintptr(unsafe.Pointer(fds))), C.int(nfds), C.int(timeout))
66854+ n = int(r0)
66855+ if r0 == -1 && er != nil {
66856+ err = er
66857+ }
66858+ return
66859+}
66860+
66861+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66862+
66863+func gettimeofday(tv *Timeval, tzp *Timezone) (err error) {
66864+ r0, er := C.gettimeofday(C.uintptr_t(uintptr(unsafe.Pointer(tv))), C.uintptr_t(uintptr(unsafe.Pointer(tzp))))
66865+ if r0 == -1 && er != nil {
66866+ err = er
66867+ }
66868+ return
66869+}
66870+
66871+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66872+
66873+func Time(t *Time_t) (tt Time_t, err error) {
66874+ r0, er := C.time(C.uintptr_t(uintptr(unsafe.Pointer(t))))
66875+ tt = Time_t(r0)
66876+ if r0 == -1 && er != nil {
66877+ err = er
66878+ }
66879+ return
66880+}
66881+
66882+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66883+
66884+func Utime(path string, buf *Utimbuf) (err error) {
66885+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
66886+ r0, er := C.utime(C.uintptr_t(_p0), C.uintptr_t(uintptr(unsafe.Pointer(buf))))
66887+ if r0 == -1 && er != nil {
66888+ err = er
66889+ }
66890+ return
66891+}
66892+
66893+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66894+
66895+func Getsystemcfg(label int) (n uint64) {
66896+ r0, _ := C.getsystemcfg(C.int(label))
66897+ n = uint64(r0)
66898+ return
66899+}
66900+
66901+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66902+
66903+func umount(target string) (err error) {
66904+ _p0 := uintptr(unsafe.Pointer(C.CString(target)))
66905+ r0, er := C.umount(C.uintptr_t(_p0))
66906+ if r0 == -1 && er != nil {
66907+ err = er
66908+ }
66909+ return
66910+}
66911+
66912+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66913+
66914+func Getrlimit(resource int, rlim *Rlimit) (err error) {
66915+ r0, er := C.getrlimit64(C.int(resource), C.uintptr_t(uintptr(unsafe.Pointer(rlim))))
66916+ if r0 == -1 && er != nil {
66917+ err = er
66918+ }
66919+ return
66920+}
66921+
66922+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66923+
66924+func Setrlimit(resource int, rlim *Rlimit) (err error) {
66925+ r0, er := C.setrlimit64(C.int(resource), C.uintptr_t(uintptr(unsafe.Pointer(rlim))))
66926+ if r0 == -1 && er != nil {
66927+ err = er
66928+ }
66929+ return
66930+}
66931+
66932+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66933+
66934+func Seek(fd int, offset int64, whence int) (off int64, err error) {
66935+ r0, er := C.lseek64(C.int(fd), C.longlong(offset), C.int(whence))
66936+ off = int64(r0)
66937+ if r0 == -1 && er != nil {
66938+ err = er
66939+ }
66940+ return
66941+}
66942+
66943+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66944+
66945+func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
66946+ r0, er := C.mmap(C.uintptr_t(addr), C.uintptr_t(length), C.int(prot), C.int(flags), C.int(fd), C.longlong(offset))
66947+ xaddr = uintptr(r0)
66948+ if uintptr(r0) == ^uintptr(0) && er != nil {
66949+ err = er
66950+ }
66951+ return
66952+}
66953diff --git a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go
66954similarity index 57%
66955copy from vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go
66956copy to vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go
66957index 7b6c2c87..664b293b 100644
66958--- a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go
66959+++ b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go
66960@@ -1,22 +1,23 @@
66961-// mksyscall.pl -netbsd -tags netbsd,amd64 syscall_bsd.go syscall_netbsd.go syscall_netbsd_amd64.go
66962+// go run mksyscall_aix_ppc64.go -aix -tags aix,ppc64 syscall_aix.go syscall_aix_ppc64.go
66963 // Code generated by the command above; see README.md. DO NOT EDIT.
66964
66965-// +build netbsd,amd64
66966+// +build aix,ppc64
66967
66968 package unix
66969
66970 import (
66971- "syscall"
66972 "unsafe"
66973 )
66974
66975-var _ syscall.Errno
66976-
66977 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66978
66979-func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
66980- r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
66981- n = int(r0)
66982+func utimes(path string, times *[2]Timeval) (err error) {
66983+ var _p0 *byte
66984+ _p0, err = BytePtrFromString(path)
66985+ if err != nil {
66986+ return
66987+ }
66988+ _, e1 := callutimes(uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)))
66989 if e1 != 0 {
66990 err = errnoErr(e1)
66991 }
66992@@ -25,8 +26,13 @@ func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
66993
66994 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
66995
66996-func setgroups(ngid int, gid *_Gid_t) (err error) {
66997- _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
66998+func utimensat(dirfd int, path string, times *[2]Timespec, flag int) (err error) {
66999+ var _p0 *byte
67000+ _p0, err = BytePtrFromString(path)
67001+ if err != nil {
67002+ return
67003+ }
67004+ _, e1 := callutimensat(dirfd, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), flag)
67005 if e1 != 0 {
67006 err = errnoErr(e1)
67007 }
67008@@ -35,9 +41,12 @@ func setgroups(ngid int, gid *_Gid_t) (err error) {
67009
67010 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67011
67012-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
67013- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
67014- wpid = int(r0)
67015+func getcwd(buf []byte) (err error) {
67016+ var _p0 *byte
67017+ if len(buf) > 0 {
67018+ _p0 = &buf[0]
67019+ }
67020+ _, e1 := callgetcwd(uintptr(unsafe.Pointer(_p0)), len(buf))
67021 if e1 != 0 {
67022 err = errnoErr(e1)
67023 }
67024@@ -47,7 +56,7 @@ func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err
67025 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67026
67027 func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
67028- r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
67029+ r0, e1 := callaccept(s, uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
67030 fd = int(r0)
67031 if e1 != 0 {
67032 err = errnoErr(e1)
67033@@ -57,8 +66,13 @@ func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
67034
67035 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67036
67037-func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
67038- _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
67039+func getdirent(fd int, buf []byte) (n int, err error) {
67040+ var _p0 *byte
67041+ if len(buf) > 0 {
67042+ _p0 = &buf[0]
67043+ }
67044+ r0, e1 := callgetdirent(fd, uintptr(unsafe.Pointer(_p0)), len(buf))
67045+ n = int(r0)
67046 if e1 != 0 {
67047 err = errnoErr(e1)
67048 }
67049@@ -67,8 +81,9 @@ func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
67050
67051 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67052
67053-func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
67054- _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
67055+func wait4(pid Pid_t, status *_C_int, options int, rusage *Rusage) (wpid Pid_t, err error) {
67056+ r0, e1 := callwait4(int(pid), uintptr(unsafe.Pointer(status)), options, uintptr(unsafe.Pointer(rusage)))
67057+ wpid = Pid_t(r0)
67058 if e1 != 0 {
67059 err = errnoErr(e1)
67060 }
67061@@ -77,9 +92,8 @@ func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
67062
67063 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67064
67065-func socket(domain int, typ int, proto int) (fd int, err error) {
67066- r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
67067- fd = int(r0)
67068+func ioctl(fd int, req uint, arg uintptr) (err error) {
67069+ _, e1 := callioctl(fd, int(req), arg)
67070 if e1 != 0 {
67071 err = errnoErr(e1)
67072 }
67073@@ -88,8 +102,9 @@ func socket(domain int, typ int, proto int) (fd int, err error) {
67074
67075 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67076
67077-func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
67078- _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
67079+func FcntlInt(fd uintptr, cmd int, arg int) (r int, err error) {
67080+ r0, e1 := callfcntl(fd, cmd, uintptr(arg))
67081+ r = int(r0)
67082 if e1 != 0 {
67083 err = errnoErr(e1)
67084 }
67085@@ -98,8 +113,8 @@ func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen
67086
67087 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67088
67089-func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
67090- _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
67091+func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) (err error) {
67092+ _, e1 := callfcntl(fd, cmd, uintptr(unsafe.Pointer(lk)))
67093 if e1 != 0 {
67094 err = errnoErr(e1)
67095 }
67096@@ -108,8 +123,9 @@ func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr)
67097
67098 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67099
67100-func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
67101- _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
67102+func fcntl(fd int, cmd int, arg int) (val int, err error) {
67103+ r0, e1 := callfcntl(uintptr(fd), cmd, uintptr(arg))
67104+ val = int(r0)
67105 if e1 != 0 {
67106 err = errnoErr(e1)
67107 }
67108@@ -118,8 +134,13 @@ func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
67109
67110 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67111
67112-func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
67113- _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
67114+func Acct(path string) (err error) {
67115+ var _p0 *byte
67116+ _p0, err = BytePtrFromString(path)
67117+ if err != nil {
67118+ return
67119+ }
67120+ _, e1 := callacct(uintptr(unsafe.Pointer(_p0)))
67121 if e1 != 0 {
67122 err = errnoErr(e1)
67123 }
67124@@ -128,8 +149,13 @@ func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
67125
67126 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67127
67128-func Shutdown(s int, how int) (err error) {
67129- _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
67130+func Chdir(path string) (err error) {
67131+ var _p0 *byte
67132+ _p0, err = BytePtrFromString(path)
67133+ if err != nil {
67134+ return
67135+ }
67136+ _, e1 := callchdir(uintptr(unsafe.Pointer(_p0)))
67137 if e1 != 0 {
67138 err = errnoErr(e1)
67139 }
67140@@ -138,8 +164,13 @@ func Shutdown(s int, how int) (err error) {
67141
67142 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67143
67144-func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
67145- _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
67146+func Chroot(path string) (err error) {
67147+ var _p0 *byte
67148+ _p0, err = BytePtrFromString(path)
67149+ if err != nil {
67150+ return
67151+ }
67152+ _, e1 := callchroot(uintptr(unsafe.Pointer(_p0)))
67153 if e1 != 0 {
67154 err = errnoErr(e1)
67155 }
67156@@ -148,15 +179,8 @@ func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
67157
67158 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67159
67160-func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
67161- var _p0 unsafe.Pointer
67162- if len(p) > 0 {
67163- _p0 = unsafe.Pointer(&p[0])
67164- } else {
67165- _p0 = unsafe.Pointer(&_zero)
67166- }
67167- r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
67168- n = int(r0)
67169+func Close(fd int) (err error) {
67170+ _, e1 := callclose(fd)
67171 if e1 != 0 {
67172 err = errnoErr(e1)
67173 }
67174@@ -165,14 +189,9 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl
67175
67176 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67177
67178-func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
67179- var _p0 unsafe.Pointer
67180- if len(buf) > 0 {
67181- _p0 = unsafe.Pointer(&buf[0])
67182- } else {
67183- _p0 = unsafe.Pointer(&_zero)
67184- }
67185- _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
67186+func Dup(oldfd int) (fd int, err error) {
67187+ r0, e1 := calldup(oldfd)
67188+ fd = int(r0)
67189 if e1 != 0 {
67190 err = errnoErr(e1)
67191 }
67192@@ -181,9 +200,20 @@ func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (
67193
67194 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67195
67196-func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
67197- r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
67198- n = int(r0)
67199+func Exit(code int) {
67200+ callexit(code)
67201+ return
67202+}
67203+
67204+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67205+
67206+func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
67207+ var _p0 *byte
67208+ _p0, err = BytePtrFromString(path)
67209+ if err != nil {
67210+ return
67211+ }
67212+ _, e1 := callfaccessat(dirfd, uintptr(unsafe.Pointer(_p0)), mode, flags)
67213 if e1 != 0 {
67214 err = errnoErr(e1)
67215 }
67216@@ -192,9 +222,8 @@ func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
67217
67218 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67219
67220-func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
67221- r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
67222- n = int(r0)
67223+func Fchdir(fd int) (err error) {
67224+ _, e1 := callfchdir(fd)
67225 if e1 != 0 {
67226 err = errnoErr(e1)
67227 }
67228@@ -203,9 +232,8 @@ func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
67229
67230 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67231
67232-func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
67233- r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
67234- n = int(r0)
67235+func Fchmod(fd int, mode uint32) (err error) {
67236+ _, e1 := callfchmod(fd, mode)
67237 if e1 != 0 {
67238 err = errnoErr(e1)
67239 }
67240@@ -214,14 +242,13 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
67241
67242 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67243
67244-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
67245- var _p0 unsafe.Pointer
67246- if len(mib) > 0 {
67247- _p0 = unsafe.Pointer(&mib[0])
67248- } else {
67249- _p0 = unsafe.Pointer(&_zero)
67250+func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
67251+ var _p0 *byte
67252+ _p0, err = BytePtrFromString(path)
67253+ if err != nil {
67254+ return
67255 }
67256- _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
67257+ _, e1 := callfchmodat(dirfd, uintptr(unsafe.Pointer(_p0)), mode, flags)
67258 if e1 != 0 {
67259 err = errnoErr(e1)
67260 }
67261@@ -230,13 +257,13 @@ func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr)
67262
67263 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67264
67265-func utimes(path string, timeval *[2]Timeval) (err error) {
67266+func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
67267 var _p0 *byte
67268 _p0, err = BytePtrFromString(path)
67269 if err != nil {
67270 return
67271 }
67272- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
67273+ _, e1 := callfchownat(dirfd, uintptr(unsafe.Pointer(_p0)), uid, gid, flags)
67274 if e1 != 0 {
67275 err = errnoErr(e1)
67276 }
67277@@ -245,8 +272,8 @@ func utimes(path string, timeval *[2]Timeval) (err error) {
67278
67279 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67280
67281-func futimes(fd int, timeval *[2]Timeval) (err error) {
67282- _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
67283+func Fdatasync(fd int) (err error) {
67284+ _, e1 := callfdatasync(fd)
67285 if e1 != 0 {
67286 err = errnoErr(e1)
67287 }
67288@@ -255,9 +282,8 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
67289
67290 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67291
67292-func fcntl(fd int, cmd int, arg int) (val int, err error) {
67293- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
67294- val = int(r0)
67295+func Fsync(fd int) (err error) {
67296+ _, e1 := callfsync(fd)
67297 if e1 != 0 {
67298 err = errnoErr(e1)
67299 }
67300@@ -266,14 +292,9 @@ func fcntl(fd int, cmd int, arg int) (val int, err error) {
67301
67302 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67303
67304-func Madvise(b []byte, behav int) (err error) {
67305- var _p0 unsafe.Pointer
67306- if len(b) > 0 {
67307- _p0 = unsafe.Pointer(&b[0])
67308- } else {
67309- _p0 = unsafe.Pointer(&_zero)
67310- }
67311- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(behav))
67312+func Getpgid(pid int) (pgid int, err error) {
67313+ r0, e1 := callgetpgid(pid)
67314+ pgid = int(r0)
67315 if e1 != 0 {
67316 err = errnoErr(e1)
67317 }
67318@@ -282,56 +303,33 @@ func Madvise(b []byte, behav int) (err error) {
67319
67320 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67321
67322-func Mlock(b []byte) (err error) {
67323- var _p0 unsafe.Pointer
67324- if len(b) > 0 {
67325- _p0 = unsafe.Pointer(&b[0])
67326- } else {
67327- _p0 = unsafe.Pointer(&_zero)
67328- }
67329- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
67330- if e1 != 0 {
67331- err = errnoErr(e1)
67332- }
67333+func Getpgrp() (pid int) {
67334+ r0, _ := callgetpgrp()
67335+ pid = int(r0)
67336 return
67337 }
67338
67339 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67340
67341-func Mlockall(flags int) (err error) {
67342- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
67343- if e1 != 0 {
67344- err = errnoErr(e1)
67345- }
67346+func Getpid() (pid int) {
67347+ r0, _ := callgetpid()
67348+ pid = int(r0)
67349 return
67350 }
67351
67352 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67353
67354-func Mprotect(b []byte, prot int) (err error) {
67355- var _p0 unsafe.Pointer
67356- if len(b) > 0 {
67357- _p0 = unsafe.Pointer(&b[0])
67358- } else {
67359- _p0 = unsafe.Pointer(&_zero)
67360- }
67361- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
67362- if e1 != 0 {
67363- err = errnoErr(e1)
67364- }
67365+func Getppid() (ppid int) {
67366+ r0, _ := callgetppid()
67367+ ppid = int(r0)
67368 return
67369 }
67370
67371 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67372
67373-func Msync(b []byte, flags int) (err error) {
67374- var _p0 unsafe.Pointer
67375- if len(b) > 0 {
67376- _p0 = unsafe.Pointer(&b[0])
67377- } else {
67378- _p0 = unsafe.Pointer(&_zero)
67379- }
67380- _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags))
67381+func Getpriority(which int, who int) (prio int, err error) {
67382+ r0, e1 := callgetpriority(which, who)
67383+ prio = int(r0)
67384 if e1 != 0 {
67385 err = errnoErr(e1)
67386 }
67387@@ -340,14 +338,8 @@ func Msync(b []byte, flags int) (err error) {
67388
67389 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67390
67391-func Munlock(b []byte) (err error) {
67392- var _p0 unsafe.Pointer
67393- if len(b) > 0 {
67394- _p0 = unsafe.Pointer(&b[0])
67395- } else {
67396- _p0 = unsafe.Pointer(&_zero)
67397- }
67398- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
67399+func Getrusage(who int, rusage *Rusage) (err error) {
67400+ _, e1 := callgetrusage(who, uintptr(unsafe.Pointer(rusage)))
67401 if e1 != 0 {
67402 err = errnoErr(e1)
67403 }
67404@@ -356,8 +348,9 @@ func Munlock(b []byte) (err error) {
67405
67406 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67407
67408-func Munlockall() (err error) {
67409- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
67410+func Getsid(pid int) (sid int, err error) {
67411+ r0, e1 := callgetsid(pid)
67412+ sid = int(r0)
67413 if e1 != 0 {
67414 err = errnoErr(e1)
67415 }
67416@@ -366,10 +359,8 @@ func Munlockall() (err error) {
67417
67418 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67419
67420-func pipe() (fd1 int, fd2 int, err error) {
67421- r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
67422- fd1 = int(r0)
67423- fd2 = int(r1)
67424+func Kill(pid int, sig Signal) (err error) {
67425+ _, e1 := callkill(pid, int(sig))
67426 if e1 != 0 {
67427 err = errnoErr(e1)
67428 }
67429@@ -378,14 +369,12 @@ func pipe() (fd1 int, fd2 int, err error) {
67430
67431 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67432
67433-func getdents(fd int, buf []byte) (n int, err error) {
67434- var _p0 unsafe.Pointer
67435+func Klogctl(typ int, buf []byte) (n int, err error) {
67436+ var _p0 *byte
67437 if len(buf) > 0 {
67438- _p0 = unsafe.Pointer(&buf[0])
67439- } else {
67440- _p0 = unsafe.Pointer(&_zero)
67441+ _p0 = &buf[0]
67442 }
67443- r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
67444+ r0, e1 := callsyslog(typ, uintptr(unsafe.Pointer(_p0)), len(buf))
67445 n = int(r0)
67446 if e1 != 0 {
67447 err = errnoErr(e1)
67448@@ -395,13 +384,13 @@ func getdents(fd int, buf []byte) (n int, err error) {
67449
67450 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67451
67452-func Access(path string, mode uint32) (err error) {
67453+func Mkdir(dirfd int, path string, mode uint32) (err error) {
67454 var _p0 *byte
67455 _p0, err = BytePtrFromString(path)
67456 if err != nil {
67457 return
67458 }
67459- _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
67460+ _, e1 := callmkdir(dirfd, uintptr(unsafe.Pointer(_p0)), mode)
67461 if e1 != 0 {
67462 err = errnoErr(e1)
67463 }
67464@@ -410,8 +399,13 @@ func Access(path string, mode uint32) (err error) {
67465
67466 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67467
67468-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
67469- _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
67470+func Mkdirat(dirfd int, path string, mode uint32) (err error) {
67471+ var _p0 *byte
67472+ _p0, err = BytePtrFromString(path)
67473+ if err != nil {
67474+ return
67475+ }
67476+ _, e1 := callmkdirat(dirfd, uintptr(unsafe.Pointer(_p0)), mode)
67477 if e1 != 0 {
67478 err = errnoErr(e1)
67479 }
67480@@ -420,13 +414,13 @@ func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
67481
67482 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67483
67484-func Chdir(path string) (err error) {
67485+func Mkfifo(path string, mode uint32) (err error) {
67486 var _p0 *byte
67487 _p0, err = BytePtrFromString(path)
67488 if err != nil {
67489 return
67490 }
67491- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
67492+ _, e1 := callmkfifo(uintptr(unsafe.Pointer(_p0)), mode)
67493 if e1 != 0 {
67494 err = errnoErr(e1)
67495 }
67496@@ -435,13 +429,13 @@ func Chdir(path string) (err error) {
67497
67498 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67499
67500-func Chflags(path string, flags int) (err error) {
67501+func Mknod(path string, mode uint32, dev int) (err error) {
67502 var _p0 *byte
67503 _p0, err = BytePtrFromString(path)
67504 if err != nil {
67505 return
67506 }
67507- _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
67508+ _, e1 := callmknod(uintptr(unsafe.Pointer(_p0)), mode, dev)
67509 if e1 != 0 {
67510 err = errnoErr(e1)
67511 }
67512@@ -450,13 +444,13 @@ func Chflags(path string, flags int) (err error) {
67513
67514 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67515
67516-func Chmod(path string, mode uint32) (err error) {
67517+func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
67518 var _p0 *byte
67519 _p0, err = BytePtrFromString(path)
67520 if err != nil {
67521 return
67522 }
67523- _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
67524+ _, e1 := callmknodat(dirfd, uintptr(unsafe.Pointer(_p0)), mode, dev)
67525 if e1 != 0 {
67526 err = errnoErr(e1)
67527 }
67528@@ -465,13 +459,8 @@ func Chmod(path string, mode uint32) (err error) {
67529
67530 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67531
67532-func Chown(path string, uid int, gid int) (err error) {
67533- var _p0 *byte
67534- _p0, err = BytePtrFromString(path)
67535- if err != nil {
67536- return
67537- }
67538- _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
67539+func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
67540+ _, e1 := callnanosleep(uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)))
67541 if e1 != 0 {
67542 err = errnoErr(e1)
67543 }
67544@@ -480,13 +469,14 @@ func Chown(path string, uid int, gid int) (err error) {
67545
67546 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67547
67548-func Chroot(path string) (err error) {
67549+func Open(path string, mode int, perm uint32) (fd int, err error) {
67550 var _p0 *byte
67551 _p0, err = BytePtrFromString(path)
67552 if err != nil {
67553 return
67554 }
67555- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
67556+ r0, e1 := callopen64(uintptr(unsafe.Pointer(_p0)), mode, perm)
67557+ fd = int(r0)
67558 if e1 != 0 {
67559 err = errnoErr(e1)
67560 }
67561@@ -495,8 +485,14 @@ func Chroot(path string) (err error) {
67562
67563 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67564
67565-func Close(fd int) (err error) {
67566- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
67567+func Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
67568+ var _p0 *byte
67569+ _p0, err = BytePtrFromString(path)
67570+ if err != nil {
67571+ return
67572+ }
67573+ r0, e1 := callopenat(dirfd, uintptr(unsafe.Pointer(_p0)), flags, mode)
67574+ fd = int(r0)
67575 if e1 != 0 {
67576 err = errnoErr(e1)
67577 }
67578@@ -505,9 +501,13 @@ func Close(fd int) (err error) {
67579
67580 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67581
67582-func Dup(fd int) (nfd int, err error) {
67583- r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
67584- nfd = int(r0)
67585+func read(fd int, p []byte) (n int, err error) {
67586+ var _p0 *byte
67587+ if len(p) > 0 {
67588+ _p0 = &p[0]
67589+ }
67590+ r0, e1 := callread(fd, uintptr(unsafe.Pointer(_p0)), len(p))
67591+ n = int(r0)
67592 if e1 != 0 {
67593 err = errnoErr(e1)
67594 }
67595@@ -516,8 +516,18 @@ func Dup(fd int) (nfd int, err error) {
67596
67597 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67598
67599-func Dup2(from int, to int) (err error) {
67600- _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
67601+func Readlink(path string, buf []byte) (n int, err error) {
67602+ var _p0 *byte
67603+ _p0, err = BytePtrFromString(path)
67604+ if err != nil {
67605+ return
67606+ }
67607+ var _p1 *byte
67608+ if len(buf) > 0 {
67609+ _p1 = &buf[0]
67610+ }
67611+ r0, e1 := callreadlink(uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), len(buf))
67612+ n = int(r0)
67613 if e1 != 0 {
67614 err = errnoErr(e1)
67615 }
67616@@ -526,15 +536,32 @@ func Dup2(from int, to int) (err error) {
67617
67618 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67619
67620-func Exit(code int) {
67621- Syscall(SYS_EXIT, uintptr(code), 0, 0)
67622+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
67623+ var _p0 *byte
67624+ _p0, err = BytePtrFromString(oldpath)
67625+ if err != nil {
67626+ return
67627+ }
67628+ var _p1 *byte
67629+ _p1, err = BytePtrFromString(newpath)
67630+ if err != nil {
67631+ return
67632+ }
67633+ _, e1 := callrenameat(olddirfd, uintptr(unsafe.Pointer(_p0)), newdirfd, uintptr(unsafe.Pointer(_p1)))
67634+ if e1 != 0 {
67635+ err = errnoErr(e1)
67636+ }
67637 return
67638 }
67639
67640 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67641
67642-func Fchdir(fd int) (err error) {
67643- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
67644+func Setdomainname(p []byte) (err error) {
67645+ var _p0 *byte
67646+ if len(p) > 0 {
67647+ _p0 = &p[0]
67648+ }
67649+ _, e1 := callsetdomainname(uintptr(unsafe.Pointer(_p0)), len(p))
67650 if e1 != 0 {
67651 err = errnoErr(e1)
67652 }
67653@@ -543,8 +570,12 @@ func Fchdir(fd int) (err error) {
67654
67655 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67656
67657-func Fchflags(fd int, flags int) (err error) {
67658- _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
67659+func Sethostname(p []byte) (err error) {
67660+ var _p0 *byte
67661+ if len(p) > 0 {
67662+ _p0 = &p[0]
67663+ }
67664+ _, e1 := callsethostname(uintptr(unsafe.Pointer(_p0)), len(p))
67665 if e1 != 0 {
67666 err = errnoErr(e1)
67667 }
67668@@ -553,8 +584,8 @@ func Fchflags(fd int, flags int) (err error) {
67669
67670 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67671
67672-func Fchmod(fd int, mode uint32) (err error) {
67673- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
67674+func Setpgid(pid int, pgid int) (err error) {
67675+ _, e1 := callsetpgid(pid, pgid)
67676 if e1 != 0 {
67677 err = errnoErr(e1)
67678 }
67679@@ -563,8 +594,9 @@ func Fchmod(fd int, mode uint32) (err error) {
67680
67681 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67682
67683-func Fchown(fd int, uid int, gid int) (err error) {
67684- _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
67685+func Setsid() (pid int, err error) {
67686+ r0, e1 := callsetsid()
67687+ pid = int(r0)
67688 if e1 != 0 {
67689 err = errnoErr(e1)
67690 }
67691@@ -573,8 +605,8 @@ func Fchown(fd int, uid int, gid int) (err error) {
67692
67693 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67694
67695-func Flock(fd int, how int) (err error) {
67696- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
67697+func Settimeofday(tv *Timeval) (err error) {
67698+ _, e1 := callsettimeofday(uintptr(unsafe.Pointer(tv)))
67699 if e1 != 0 {
67700 err = errnoErr(e1)
67701 }
67702@@ -583,9 +615,8 @@ func Flock(fd int, how int) (err error) {
67703
67704 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67705
67706-func Fpathconf(fd int, name int) (val int, err error) {
67707- r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
67708- val = int(r0)
67709+func Setuid(uid int) (err error) {
67710+ _, e1 := callsetuid(uid)
67711 if e1 != 0 {
67712 err = errnoErr(e1)
67713 }
67714@@ -594,8 +625,8 @@ func Fpathconf(fd int, name int) (val int, err error) {
67715
67716 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67717
67718-func Fstat(fd int, stat *Stat_t) (err error) {
67719- _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
67720+func Setgid(uid int) (err error) {
67721+ _, e1 := callsetgid(uid)
67722 if e1 != 0 {
67723 err = errnoErr(e1)
67724 }
67725@@ -604,8 +635,8 @@ func Fstat(fd int, stat *Stat_t) (err error) {
67726
67727 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67728
67729-func Fsync(fd int) (err error) {
67730- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
67731+func Setpriority(which int, who int, prio int) (err error) {
67732+ _, e1 := callsetpriority(which, who, prio)
67733 if e1 != 0 {
67734 err = errnoErr(e1)
67735 }
67736@@ -614,8 +645,13 @@ func Fsync(fd int) (err error) {
67737
67738 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67739
67740-func Ftruncate(fd int, length int64) (err error) {
67741- _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length))
67742+func Statx(dirfd int, path string, flags int, mask int, stat *Statx_t) (err error) {
67743+ var _p0 *byte
67744+ _p0, err = BytePtrFromString(path)
67745+ if err != nil {
67746+ return
67747+ }
67748+ _, e1 := callstatx(dirfd, uintptr(unsafe.Pointer(_p0)), flags, mask, uintptr(unsafe.Pointer(stat)))
67749 if e1 != 0 {
67750 err = errnoErr(e1)
67751 }
67752@@ -624,33 +660,34 @@ func Ftruncate(fd int, length int64) (err error) {
67753
67754 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67755
67756-func Getegid() (egid int) {
67757- r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
67758- egid = int(r0)
67759+func Sync() {
67760+ callsync()
67761 return
67762 }
67763
67764 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67765
67766-func Geteuid() (uid int) {
67767- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
67768- uid = int(r0)
67769+func Times(tms *Tms) (ticks uintptr, err error) {
67770+ r0, e1 := calltimes(uintptr(unsafe.Pointer(tms)))
67771+ ticks = uintptr(r0)
67772+ if e1 != 0 {
67773+ err = errnoErr(e1)
67774+ }
67775 return
67776 }
67777
67778 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67779
67780-func Getgid() (gid int) {
67781- r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
67782- gid = int(r0)
67783+func Umask(mask int) (oldmask int) {
67784+ r0, _ := callumask(mask)
67785+ oldmask = int(r0)
67786 return
67787 }
67788
67789 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67790
67791-func Getpgid(pid int) (pgid int, err error) {
67792- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
67793- pgid = int(r0)
67794+func Uname(buf *Utsname) (err error) {
67795+ _, e1 := calluname(uintptr(unsafe.Pointer(buf)))
67796 if e1 != 0 {
67797 err = errnoErr(e1)
67798 }
67799@@ -659,33 +696,53 @@ func Getpgid(pid int) (pgid int, err error) {
67800
67801 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67802
67803-func Getpgrp() (pgrp int) {
67804- r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
67805- pgrp = int(r0)
67806+func Unlink(path string) (err error) {
67807+ var _p0 *byte
67808+ _p0, err = BytePtrFromString(path)
67809+ if err != nil {
67810+ return
67811+ }
67812+ _, e1 := callunlink(uintptr(unsafe.Pointer(_p0)))
67813+ if e1 != 0 {
67814+ err = errnoErr(e1)
67815+ }
67816 return
67817 }
67818
67819 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67820
67821-func Getpid() (pid int) {
67822- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
67823- pid = int(r0)
67824+func Unlinkat(dirfd int, path string, flags int) (err error) {
67825+ var _p0 *byte
67826+ _p0, err = BytePtrFromString(path)
67827+ if err != nil {
67828+ return
67829+ }
67830+ _, e1 := callunlinkat(dirfd, uintptr(unsafe.Pointer(_p0)), flags)
67831+ if e1 != 0 {
67832+ err = errnoErr(e1)
67833+ }
67834 return
67835 }
67836
67837 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67838
67839-func Getppid() (ppid int) {
67840- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
67841- ppid = int(r0)
67842+func Ustat(dev int, ubuf *Ustat_t) (err error) {
67843+ _, e1 := callustat(dev, uintptr(unsafe.Pointer(ubuf)))
67844+ if e1 != 0 {
67845+ err = errnoErr(e1)
67846+ }
67847 return
67848 }
67849
67850 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67851
67852-func Getpriority(which int, who int) (prio int, err error) {
67853- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
67854- prio = int(r0)
67855+func write(fd int, p []byte) (n int, err error) {
67856+ var _p0 *byte
67857+ if len(p) > 0 {
67858+ _p0 = &p[0]
67859+ }
67860+ r0, e1 := callwrite(fd, uintptr(unsafe.Pointer(_p0)), len(p))
67861+ n = int(r0)
67862 if e1 != 0 {
67863 err = errnoErr(e1)
67864 }
67865@@ -694,8 +751,9 @@ func Getpriority(which int, who int) (prio int, err error) {
67866
67867 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67868
67869-func Getrlimit(which int, lim *Rlimit) (err error) {
67870- _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
67871+func readlen(fd int, p *byte, np int) (n int, err error) {
67872+ r0, e1 := callread(fd, uintptr(unsafe.Pointer(p)), np)
67873+ n = int(r0)
67874 if e1 != 0 {
67875 err = errnoErr(e1)
67876 }
67877@@ -704,8 +762,9 @@ func Getrlimit(which int, lim *Rlimit) (err error) {
67878
67879 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67880
67881-func Getrusage(who int, rusage *Rusage) (err error) {
67882- _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
67883+func writelen(fd int, p *byte, np int) (n int, err error) {
67884+ r0, e1 := callwrite(fd, uintptr(unsafe.Pointer(p)), np)
67885+ n = int(r0)
67886 if e1 != 0 {
67887 err = errnoErr(e1)
67888 }
67889@@ -714,9 +773,8 @@ func Getrusage(who int, rusage *Rusage) (err error) {
67890
67891 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67892
67893-func Getsid(pid int) (sid int, err error) {
67894- r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
67895- sid = int(r0)
67896+func Dup2(oldfd int, newfd int) (err error) {
67897+ _, e1 := calldup2(oldfd, newfd)
67898 if e1 != 0 {
67899 err = errnoErr(e1)
67900 }
67901@@ -725,8 +783,8 @@ func Getsid(pid int) (sid int, err error) {
67902
67903 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67904
67905-func Gettimeofday(tv *Timeval) (err error) {
67906- _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
67907+func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
67908+ _, e1 := callposix_fadvise64(fd, offset, length, advice)
67909 if e1 != 0 {
67910 err = errnoErr(e1)
67911 }
67912@@ -735,24 +793,33 @@ func Gettimeofday(tv *Timeval) (err error) {
67913
67914 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67915
67916-func Getuid() (uid int) {
67917- r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
67918- uid = int(r0)
67919+func Fchown(fd int, uid int, gid int) (err error) {
67920+ _, e1 := callfchown(fd, uid, gid)
67921+ if e1 != 0 {
67922+ err = errnoErr(e1)
67923+ }
67924 return
67925 }
67926
67927 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67928
67929-func Issetugid() (tainted bool) {
67930- r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
67931- tainted = bool(r0 != 0)
67932+func fstat(fd int, stat *Stat_t) (err error) {
67933+ _, e1 := callfstat(fd, uintptr(unsafe.Pointer(stat)))
67934+ if e1 != 0 {
67935+ err = errnoErr(e1)
67936+ }
67937 return
67938 }
67939
67940 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67941
67942-func Kill(pid int, signum syscall.Signal) (err error) {
67943- _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
67944+func fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) {
67945+ var _p0 *byte
67946+ _p0, err = BytePtrFromString(path)
67947+ if err != nil {
67948+ return
67949+ }
67950+ _, e1 := callfstatat(dirfd, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), flags)
67951 if e1 != 0 {
67952 err = errnoErr(e1)
67953 }
67954@@ -761,9 +828,8 @@ func Kill(pid int, signum syscall.Signal) (err error) {
67955
67956 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67957
67958-func Kqueue() (fd int, err error) {
67959- r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
67960- fd = int(r0)
67961+func Fstatfs(fd int, buf *Statfs_t) (err error) {
67962+ _, e1 := callfstatfs(fd, uintptr(unsafe.Pointer(buf)))
67963 if e1 != 0 {
67964 err = errnoErr(e1)
67965 }
67966@@ -772,13 +838,8 @@ func Kqueue() (fd int, err error) {
67967
67968 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67969
67970-func Lchown(path string, uid int, gid int) (err error) {
67971- var _p0 *byte
67972- _p0, err = BytePtrFromString(path)
67973- if err != nil {
67974- return
67975- }
67976- _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
67977+func Ftruncate(fd int, length int64) (err error) {
67978+ _, e1 := callftruncate(fd, length)
67979 if e1 != 0 {
67980 err = errnoErr(e1)
67981 }
67982@@ -787,18 +848,45 @@ func Lchown(path string, uid int, gid int) (err error) {
67983
67984 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67985
67986-func Link(path string, link string) (err error) {
67987+func Getegid() (egid int) {
67988+ r0, _ := callgetegid()
67989+ egid = int(r0)
67990+ return
67991+}
67992+
67993+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
67994+
67995+func Geteuid() (euid int) {
67996+ r0, _ := callgeteuid()
67997+ euid = int(r0)
67998+ return
67999+}
68000+
68001+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68002+
68003+func Getgid() (gid int) {
68004+ r0, _ := callgetgid()
68005+ gid = int(r0)
68006+ return
68007+}
68008+
68009+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68010+
68011+func Getuid() (uid int) {
68012+ r0, _ := callgetuid()
68013+ uid = int(r0)
68014+ return
68015+}
68016+
68017+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68018+
68019+func Lchown(path string, uid int, gid int) (err error) {
68020 var _p0 *byte
68021 _p0, err = BytePtrFromString(path)
68022 if err != nil {
68023 return
68024 }
68025- var _p1 *byte
68026- _p1, err = BytePtrFromString(link)
68027- if err != nil {
68028- return
68029- }
68030- _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
68031+ _, e1 := calllchown(uintptr(unsafe.Pointer(_p0)), uid, gid)
68032 if e1 != 0 {
68033 err = errnoErr(e1)
68034 }
68035@@ -807,8 +895,8 @@ func Link(path string, link string) (err error) {
68036
68037 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68038
68039-func Listen(s int, backlog int) (err error) {
68040- _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
68041+func Listen(s int, n int) (err error) {
68042+ _, e1 := calllisten(s, n)
68043 if e1 != 0 {
68044 err = errnoErr(e1)
68045 }
68046@@ -817,13 +905,13 @@ func Listen(s int, backlog int) (err error) {
68047
68048 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68049
68050-func Lstat(path string, stat *Stat_t) (err error) {
68051+func lstat(path string, stat *Stat_t) (err error) {
68052 var _p0 *byte
68053 _p0, err = BytePtrFromString(path)
68054 if err != nil {
68055 return
68056 }
68057- _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
68058+ _, e1 := calllstat(uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)))
68059 if e1 != 0 {
68060 err = errnoErr(e1)
68061 }
68062@@ -832,13 +920,8 @@ func Lstat(path string, stat *Stat_t) (err error) {
68063
68064 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68065
68066-func Mkdir(path string, mode uint32) (err error) {
68067- var _p0 *byte
68068- _p0, err = BytePtrFromString(path)
68069- if err != nil {
68070- return
68071- }
68072- _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
68073+func Pause() (err error) {
68074+ _, e1 := callpause()
68075 if e1 != 0 {
68076 err = errnoErr(e1)
68077 }
68078@@ -847,13 +930,13 @@ func Mkdir(path string, mode uint32) (err error) {
68079
68080 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68081
68082-func Mkfifo(path string, mode uint32) (err error) {
68083+func Pread(fd int, p []byte, offset int64) (n int, err error) {
68084 var _p0 *byte
68085- _p0, err = BytePtrFromString(path)
68086- if err != nil {
68087- return
68088+ if len(p) > 0 {
68089+ _p0 = &p[0]
68090 }
68091- _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
68092+ r0, e1 := callpread64(fd, uintptr(unsafe.Pointer(_p0)), len(p), offset)
68093+ n = int(r0)
68094 if e1 != 0 {
68095 err = errnoErr(e1)
68096 }
68097@@ -862,13 +945,13 @@ func Mkfifo(path string, mode uint32) (err error) {
68098
68099 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68100
68101-func Mknod(path string, mode uint32, dev int) (err error) {
68102+func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
68103 var _p0 *byte
68104- _p0, err = BytePtrFromString(path)
68105- if err != nil {
68106- return
68107+ if len(p) > 0 {
68108+ _p0 = &p[0]
68109 }
68110- _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
68111+ r0, e1 := callpwrite64(fd, uintptr(unsafe.Pointer(_p0)), len(p), offset)
68112+ n = int(r0)
68113 if e1 != 0 {
68114 err = errnoErr(e1)
68115 }
68116@@ -877,8 +960,9 @@ func Mknod(path string, mode uint32, dev int) (err error) {
68117
68118 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68119
68120-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
68121- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
68122+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
68123+ r0, e1 := callselect(nfd, uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)))
68124+ n = int(r0)
68125 if e1 != 0 {
68126 err = errnoErr(e1)
68127 }
68128@@ -887,14 +971,9 @@ func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
68129
68130 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68131
68132-func Open(path string, mode int, perm uint32) (fd int, err error) {
68133- var _p0 *byte
68134- _p0, err = BytePtrFromString(path)
68135- if err != nil {
68136- return
68137- }
68138- r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
68139- fd = int(r0)
68140+func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
68141+ r0, e1 := callpselect(nfd, uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)))
68142+ n = int(r0)
68143 if e1 != 0 {
68144 err = errnoErr(e1)
68145 }
68146@@ -903,14 +982,8 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
68147
68148 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68149
68150-func Pathconf(path string, name int) (val int, err error) {
68151- var _p0 *byte
68152- _p0, err = BytePtrFromString(path)
68153- if err != nil {
68154- return
68155- }
68156- r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
68157- val = int(r0)
68158+func Setregid(rgid int, egid int) (err error) {
68159+ _, e1 := callsetregid(rgid, egid)
68160 if e1 != 0 {
68161 err = errnoErr(e1)
68162 }
68163@@ -919,15 +992,8 @@ func Pathconf(path string, name int) (val int, err error) {
68164
68165 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68166
68167-func Pread(fd int, p []byte, offset int64) (n int, err error) {
68168- var _p0 unsafe.Pointer
68169- if len(p) > 0 {
68170- _p0 = unsafe.Pointer(&p[0])
68171- } else {
68172- _p0 = unsafe.Pointer(&_zero)
68173- }
68174- r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), 0)
68175- n = int(r0)
68176+func Setreuid(ruid int, euid int) (err error) {
68177+ _, e1 := callsetreuid(ruid, euid)
68178 if e1 != 0 {
68179 err = errnoErr(e1)
68180 }
68181@@ -936,15 +1002,8 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
68182
68183 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68184
68185-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
68186- var _p0 unsafe.Pointer
68187- if len(p) > 0 {
68188- _p0 = unsafe.Pointer(&p[0])
68189- } else {
68190- _p0 = unsafe.Pointer(&_zero)
68191- }
68192- r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), 0)
68193- n = int(r0)
68194+func Shutdown(fd int, how int) (err error) {
68195+ _, e1 := callshutdown(fd, how)
68196 if e1 != 0 {
68197 err = errnoErr(e1)
68198 }
68199@@ -953,15 +1012,9 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
68200
68201 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68202
68203-func read(fd int, p []byte) (n int, err error) {
68204- var _p0 unsafe.Pointer
68205- if len(p) > 0 {
68206- _p0 = unsafe.Pointer(&p[0])
68207- } else {
68208- _p0 = unsafe.Pointer(&_zero)
68209- }
68210- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
68211- n = int(r0)
68212+func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
68213+ r0, e1 := callsplice(rfd, uintptr(unsafe.Pointer(roff)), wfd, uintptr(unsafe.Pointer(woff)), len, flags)
68214+ n = int64(r0)
68215 if e1 != 0 {
68216 err = errnoErr(e1)
68217 }
68218@@ -970,20 +1023,13 @@ func read(fd int, p []byte) (n int, err error) {
68219
68220 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68221
68222-func Readlink(path string, buf []byte) (n int, err error) {
68223+func stat(path string, statptr *Stat_t) (err error) {
68224 var _p0 *byte
68225 _p0, err = BytePtrFromString(path)
68226 if err != nil {
68227 return
68228 }
68229- var _p1 unsafe.Pointer
68230- if len(buf) > 0 {
68231- _p1 = unsafe.Pointer(&buf[0])
68232- } else {
68233- _p1 = unsafe.Pointer(&_zero)
68234- }
68235- r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
68236- n = int(r0)
68237+ _, e1 := callstat(uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(statptr)))
68238 if e1 != 0 {
68239 err = errnoErr(e1)
68240 }
68241@@ -992,18 +1038,13 @@ func Readlink(path string, buf []byte) (n int, err error) {
68242
68243 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68244
68245-func Rename(from string, to string) (err error) {
68246+func Statfs(path string, buf *Statfs_t) (err error) {
68247 var _p0 *byte
68248- _p0, err = BytePtrFromString(from)
68249- if err != nil {
68250- return
68251- }
68252- var _p1 *byte
68253- _p1, err = BytePtrFromString(to)
68254+ _p0, err = BytePtrFromString(path)
68255 if err != nil {
68256 return
68257 }
68258- _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
68259+ _, e1 := callstatfs(uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)))
68260 if e1 != 0 {
68261 err = errnoErr(e1)
68262 }
68263@@ -1012,13 +1053,13 @@ func Rename(from string, to string) (err error) {
68264
68265 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68266
68267-func Revoke(path string) (err error) {
68268+func Truncate(path string, length int64) (err error) {
68269 var _p0 *byte
68270 _p0, err = BytePtrFromString(path)
68271 if err != nil {
68272 return
68273 }
68274- _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
68275+ _, e1 := calltruncate(uintptr(unsafe.Pointer(_p0)), length)
68276 if e1 != 0 {
68277 err = errnoErr(e1)
68278 }
68279@@ -1027,13 +1068,8 @@ func Revoke(path string) (err error) {
68280
68281 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68282
68283-func Rmdir(path string) (err error) {
68284- var _p0 *byte
68285- _p0, err = BytePtrFromString(path)
68286- if err != nil {
68287- return
68288- }
68289- _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
68290+func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
68291+ _, e1 := callbind(s, uintptr(addr), uintptr(addrlen))
68292 if e1 != 0 {
68293 err = errnoErr(e1)
68294 }
68295@@ -1042,9 +1078,8 @@ func Rmdir(path string) (err error) {
68296
68297 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68298
68299-func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
68300- r0, _, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(whence), 0, 0)
68301- newoffset = int64(r0)
68302+func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
68303+ _, e1 := callconnect(s, uintptr(addr), uintptr(addrlen))
68304 if e1 != 0 {
68305 err = errnoErr(e1)
68306 }
68307@@ -1053,8 +1088,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
68308
68309 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68310
68311-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
68312- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
68313+func getgroups(n int, list *_Gid_t) (nn int, err error) {
68314+ r0, e1 := callgetgroups(n, uintptr(unsafe.Pointer(list)))
68315+ nn = int(r0)
68316 if e1 != 0 {
68317 err = errnoErr(e1)
68318 }
68319@@ -1063,8 +1099,8 @@ func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
68320
68321 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68322
68323-func Setegid(egid int) (err error) {
68324- _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
68325+func setgroups(n int, list *_Gid_t) (err error) {
68326+ _, e1 := callsetgroups(n, uintptr(unsafe.Pointer(list)))
68327 if e1 != 0 {
68328 err = errnoErr(e1)
68329 }
68330@@ -1073,8 +1109,8 @@ func Setegid(egid int) (err error) {
68331
68332 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68333
68334-func Seteuid(euid int) (err error) {
68335- _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
68336+func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
68337+ _, e1 := callgetsockopt(s, level, name, uintptr(val), uintptr(unsafe.Pointer(vallen)))
68338 if e1 != 0 {
68339 err = errnoErr(e1)
68340 }
68341@@ -1083,8 +1119,8 @@ func Seteuid(euid int) (err error) {
68342
68343 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68344
68345-func Setgid(gid int) (err error) {
68346- _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
68347+func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
68348+ _, e1 := callsetsockopt(s, level, name, uintptr(val), vallen)
68349 if e1 != 0 {
68350 err = errnoErr(e1)
68351 }
68352@@ -1093,8 +1129,9 @@ func Setgid(gid int) (err error) {
68353
68354 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68355
68356-func Setpgid(pid int, pgid int) (err error) {
68357- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
68358+func socket(domain int, typ int, proto int) (fd int, err error) {
68359+ r0, e1 := callsocket(domain, typ, proto)
68360+ fd = int(r0)
68361 if e1 != 0 {
68362 err = errnoErr(e1)
68363 }
68364@@ -1103,8 +1140,8 @@ func Setpgid(pid int, pgid int) (err error) {
68365
68366 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68367
68368-func Setpriority(which int, who int, prio int) (err error) {
68369- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
68370+func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
68371+ _, e1 := callsocketpair(domain, typ, proto, uintptr(unsafe.Pointer(fd)))
68372 if e1 != 0 {
68373 err = errnoErr(e1)
68374 }
68375@@ -1113,8 +1150,8 @@ func Setpriority(which int, who int, prio int) (err error) {
68376
68377 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68378
68379-func Setregid(rgid int, egid int) (err error) {
68380- _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
68381+func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
68382+ _, e1 := callgetpeername(fd, uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
68383 if e1 != 0 {
68384 err = errnoErr(e1)
68385 }
68386@@ -1123,8 +1160,8 @@ func Setregid(rgid int, egid int) (err error) {
68387
68388 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68389
68390-func Setreuid(ruid int, euid int) (err error) {
68391- _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
68392+func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
68393+ _, e1 := callgetsockname(fd, uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
68394 if e1 != 0 {
68395 err = errnoErr(e1)
68396 }
68397@@ -1133,8 +1170,13 @@ func Setreuid(ruid int, euid int) (err error) {
68398
68399 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68400
68401-func Setrlimit(which int, lim *Rlimit) (err error) {
68402- _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
68403+func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
68404+ var _p0 *byte
68405+ if len(p) > 0 {
68406+ _p0 = &p[0]
68407+ }
68408+ r0, e1 := callrecvfrom(fd, uintptr(unsafe.Pointer(_p0)), len(p), flags, uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
68409+ n = int(r0)
68410 if e1 != 0 {
68411 err = errnoErr(e1)
68412 }
68413@@ -1143,9 +1185,12 @@ func Setrlimit(which int, lim *Rlimit) (err error) {
68414
68415 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68416
68417-func Setsid() (pid int, err error) {
68418- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
68419- pid = int(r0)
68420+func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
68421+ var _p0 *byte
68422+ if len(buf) > 0 {
68423+ _p0 = &buf[0]
68424+ }
68425+ _, e1 := callsendto(s, uintptr(unsafe.Pointer(_p0)), len(buf), flags, uintptr(to), uintptr(addrlen))
68426 if e1 != 0 {
68427 err = errnoErr(e1)
68428 }
68429@@ -1154,8 +1199,9 @@ func Setsid() (pid int, err error) {
68430
68431 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68432
68433-func Settimeofday(tp *Timeval) (err error) {
68434- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
68435+func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
68436+ r0, e1 := callnrecvmsg(s, uintptr(unsafe.Pointer(msg)), flags)
68437+ n = int(r0)
68438 if e1 != 0 {
68439 err = errnoErr(e1)
68440 }
68441@@ -1164,8 +1210,9 @@ func Settimeofday(tp *Timeval) (err error) {
68442
68443 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68444
68445-func Setuid(uid int) (err error) {
68446- _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
68447+func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
68448+ r0, e1 := callnsendmsg(s, uintptr(unsafe.Pointer(msg)), flags)
68449+ n = int(r0)
68450 if e1 != 0 {
68451 err = errnoErr(e1)
68452 }
68453@@ -1174,13 +1221,8 @@ func Setuid(uid int) (err error) {
68454
68455 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68456
68457-func Stat(path string, stat *Stat_t) (err error) {
68458- var _p0 *byte
68459- _p0, err = BytePtrFromString(path)
68460- if err != nil {
68461- return
68462- }
68463- _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
68464+func munmap(addr uintptr, length uintptr) (err error) {
68465+ _, e1 := callmunmap(addr, length)
68466 if e1 != 0 {
68467 err = errnoErr(e1)
68468 }
68469@@ -1189,18 +1231,12 @@ func Stat(path string, stat *Stat_t) (err error) {
68470
68471 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68472
68473-func Symlink(path string, link string) (err error) {
68474+func Madvise(b []byte, advice int) (err error) {
68475 var _p0 *byte
68476- _p0, err = BytePtrFromString(path)
68477- if err != nil {
68478- return
68479- }
68480- var _p1 *byte
68481- _p1, err = BytePtrFromString(link)
68482- if err != nil {
68483- return
68484+ if len(b) > 0 {
68485+ _p0 = &b[0]
68486 }
68487- _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
68488+ _, e1 := callmadvise(uintptr(unsafe.Pointer(_p0)), len(b), advice)
68489 if e1 != 0 {
68490 err = errnoErr(e1)
68491 }
68492@@ -1209,8 +1245,12 @@ func Symlink(path string, link string) (err error) {
68493
68494 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68495
68496-func Sync() (err error) {
68497- _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
68498+func Mprotect(b []byte, prot int) (err error) {
68499+ var _p0 *byte
68500+ if len(b) > 0 {
68501+ _p0 = &b[0]
68502+ }
68503+ _, e1 := callmprotect(uintptr(unsafe.Pointer(_p0)), len(b), prot)
68504 if e1 != 0 {
68505 err = errnoErr(e1)
68506 }
68507@@ -1219,13 +1259,12 @@ func Sync() (err error) {
68508
68509 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68510
68511-func Truncate(path string, length int64) (err error) {
68512+func Mlock(b []byte) (err error) {
68513 var _p0 *byte
68514- _p0, err = BytePtrFromString(path)
68515- if err != nil {
68516- return
68517+ if len(b) > 0 {
68518+ _p0 = &b[0]
68519 }
68520- _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length))
68521+ _, e1 := callmlock(uintptr(unsafe.Pointer(_p0)), len(b))
68522 if e1 != 0 {
68523 err = errnoErr(e1)
68524 }
68525@@ -1234,21 +1273,22 @@ func Truncate(path string, length int64) (err error) {
68526
68527 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68528
68529-func Umask(newmask int) (oldmask int) {
68530- r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
68531- oldmask = int(r0)
68532+func Mlockall(flags int) (err error) {
68533+ _, e1 := callmlockall(flags)
68534+ if e1 != 0 {
68535+ err = errnoErr(e1)
68536+ }
68537 return
68538 }
68539
68540 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68541
68542-func Unlink(path string) (err error) {
68543+func Msync(b []byte, flags int) (err error) {
68544 var _p0 *byte
68545- _p0, err = BytePtrFromString(path)
68546- if err != nil {
68547- return
68548+ if len(b) > 0 {
68549+ _p0 = &b[0]
68550 }
68551- _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
68552+ _, e1 := callmsync(uintptr(unsafe.Pointer(_p0)), len(b), flags)
68553 if e1 != 0 {
68554 err = errnoErr(e1)
68555 }
68556@@ -1257,13 +1297,12 @@ func Unlink(path string) (err error) {
68557
68558 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68559
68560-func Unmount(path string, flags int) (err error) {
68561+func Munlock(b []byte) (err error) {
68562 var _p0 *byte
68563- _p0, err = BytePtrFromString(path)
68564- if err != nil {
68565- return
68566+ if len(b) > 0 {
68567+ _p0 = &b[0]
68568 }
68569- _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
68570+ _, e1 := callmunlock(uintptr(unsafe.Pointer(_p0)), len(b))
68571 if e1 != 0 {
68572 err = errnoErr(e1)
68573 }
68574@@ -1272,15 +1311,8 @@ func Unmount(path string, flags int) (err error) {
68575
68576 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68577
68578-func write(fd int, p []byte) (n int, err error) {
68579- var _p0 unsafe.Pointer
68580- if len(p) > 0 {
68581- _p0 = unsafe.Pointer(&p[0])
68582- } else {
68583- _p0 = unsafe.Pointer(&_zero)
68584- }
68585- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
68586- n = int(r0)
68587+func Munlockall() (err error) {
68588+ _, e1 := callmunlockall()
68589 if e1 != 0 {
68590 err = errnoErr(e1)
68591 }
68592@@ -1289,9 +1321,8 @@ func write(fd int, p []byte) (n int, err error) {
68593
68594 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68595
68596-func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
68597- r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), 0, 0)
68598- ret = uintptr(r0)
68599+func pipe(p *[2]_C_int) (err error) {
68600+ _, e1 := callpipe(uintptr(unsafe.Pointer(p)))
68601 if e1 != 0 {
68602 err = errnoErr(e1)
68603 }
68604@@ -1300,8 +1331,9 @@ func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (
68605
68606 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68607
68608-func munmap(addr uintptr, length uintptr) (err error) {
68609- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
68610+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
68611+ r0, e1 := callpoll(uintptr(unsafe.Pointer(fds)), nfds, timeout)
68612+ n = int(r0)
68613 if e1 != 0 {
68614 err = errnoErr(e1)
68615 }
68616@@ -1310,9 +1342,8 @@ func munmap(addr uintptr, length uintptr) (err error) {
68617
68618 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68619
68620-func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
68621- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
68622- n = int(r0)
68623+func gettimeofday(tv *Timeval, tzp *Timezone) (err error) {
68624+ _, e1 := callgettimeofday(uintptr(unsafe.Pointer(tv)), uintptr(unsafe.Pointer(tzp)))
68625 if e1 != 0 {
68626 err = errnoErr(e1)
68627 }
68628@@ -1321,9 +1352,9 @@ func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
68629
68630 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68631
68632-func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
68633- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
68634- n = int(r0)
68635+func Time(t *Time_t) (tt Time_t, err error) {
68636+ r0, e1 := calltime(uintptr(unsafe.Pointer(t)))
68637+ tt = Time_t(r0)
68638 if e1 != 0 {
68639 err = errnoErr(e1)
68640 }
68641@@ -1332,13 +1363,78 @@ func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
68642
68643 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68644
68645-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
68646+func Utime(path string, buf *Utimbuf) (err error) {
68647 var _p0 *byte
68648 _p0, err = BytePtrFromString(path)
68649 if err != nil {
68650 return
68651 }
68652- _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
68653+ _, e1 := callutime(uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)))
68654+ if e1 != 0 {
68655+ err = errnoErr(e1)
68656+ }
68657+ return
68658+}
68659+
68660+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68661+
68662+func Getsystemcfg(label int) (n uint64) {
68663+ r0, _ := callgetsystemcfg(label)
68664+ n = uint64(r0)
68665+ return
68666+}
68667+
68668+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68669+
68670+func umount(target string) (err error) {
68671+ var _p0 *byte
68672+ _p0, err = BytePtrFromString(target)
68673+ if err != nil {
68674+ return
68675+ }
68676+ _, e1 := callumount(uintptr(unsafe.Pointer(_p0)))
68677+ if e1 != 0 {
68678+ err = errnoErr(e1)
68679+ }
68680+ return
68681+}
68682+
68683+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68684+
68685+func Getrlimit(resource int, rlim *Rlimit) (err error) {
68686+ _, e1 := callgetrlimit(resource, uintptr(unsafe.Pointer(rlim)))
68687+ if e1 != 0 {
68688+ err = errnoErr(e1)
68689+ }
68690+ return
68691+}
68692+
68693+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68694+
68695+func Setrlimit(resource int, rlim *Rlimit) (err error) {
68696+ _, e1 := callsetrlimit(resource, uintptr(unsafe.Pointer(rlim)))
68697+ if e1 != 0 {
68698+ err = errnoErr(e1)
68699+ }
68700+ return
68701+}
68702+
68703+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68704+
68705+func Seek(fd int, offset int64, whence int) (off int64, err error) {
68706+ r0, e1 := calllseek(fd, offset, whence)
68707+ off = int64(r0)
68708+ if e1 != 0 {
68709+ err = errnoErr(e1)
68710+ }
68711+ return
68712+}
68713+
68714+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
68715+
68716+func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
68717+ r0, e1 := callmmap64(addr, length, prot, flags, fd, offset)
68718+ xaddr = uintptr(r0)
68719 if e1 != 0 {
68720 err = errnoErr(e1)
68721 }
68722diff --git a/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go
68723new file mode 100644
68724index 00000000..4b3a8ad7
68725--- /dev/null
68726+++ b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go
68727@@ -0,0 +1,1192 @@
68728+// go run mksyscall_aix_ppc64.go -aix -tags aix,ppc64 syscall_aix.go syscall_aix_ppc64.go
68729+// Code generated by the command above; see README.md. DO NOT EDIT.
68730+
68731+// +build aix,ppc64
68732+// +build !gccgo
68733+
68734+package unix
68735+
68736+import (
68737+ "unsafe"
68738+)
68739+
68740+//go:cgo_import_dynamic libc_utimes utimes "libc.a/shr_64.o"
68741+//go:cgo_import_dynamic libc_utimensat utimensat "libc.a/shr_64.o"
68742+//go:cgo_import_dynamic libc_getcwd getcwd "libc.a/shr_64.o"
68743+//go:cgo_import_dynamic libc_accept accept "libc.a/shr_64.o"
68744+//go:cgo_import_dynamic libc_getdirent getdirent "libc.a/shr_64.o"
68745+//go:cgo_import_dynamic libc_wait4 wait4 "libc.a/shr_64.o"
68746+//go:cgo_import_dynamic libc_ioctl ioctl "libc.a/shr_64.o"
68747+//go:cgo_import_dynamic libc_fcntl fcntl "libc.a/shr_64.o"
68748+//go:cgo_import_dynamic libc_acct acct "libc.a/shr_64.o"
68749+//go:cgo_import_dynamic libc_chdir chdir "libc.a/shr_64.o"
68750+//go:cgo_import_dynamic libc_chroot chroot "libc.a/shr_64.o"
68751+//go:cgo_import_dynamic libc_close close "libc.a/shr_64.o"
68752+//go:cgo_import_dynamic libc_dup dup "libc.a/shr_64.o"
68753+//go:cgo_import_dynamic libc_exit exit "libc.a/shr_64.o"
68754+//go:cgo_import_dynamic libc_faccessat faccessat "libc.a/shr_64.o"
68755+//go:cgo_import_dynamic libc_fchdir fchdir "libc.a/shr_64.o"
68756+//go:cgo_import_dynamic libc_fchmod fchmod "libc.a/shr_64.o"
68757+//go:cgo_import_dynamic libc_fchmodat fchmodat "libc.a/shr_64.o"
68758+//go:cgo_import_dynamic libc_fchownat fchownat "libc.a/shr_64.o"
68759+//go:cgo_import_dynamic libc_fdatasync fdatasync "libc.a/shr_64.o"
68760+//go:cgo_import_dynamic libc_fsync fsync "libc.a/shr_64.o"
68761+//go:cgo_import_dynamic libc_getpgid getpgid "libc.a/shr_64.o"
68762+//go:cgo_import_dynamic libc_getpgrp getpgrp "libc.a/shr_64.o"
68763+//go:cgo_import_dynamic libc_getpid getpid "libc.a/shr_64.o"
68764+//go:cgo_import_dynamic libc_getppid getppid "libc.a/shr_64.o"
68765+//go:cgo_import_dynamic libc_getpriority getpriority "libc.a/shr_64.o"
68766+//go:cgo_import_dynamic libc_getrusage getrusage "libc.a/shr_64.o"
68767+//go:cgo_import_dynamic libc_getsid getsid "libc.a/shr_64.o"
68768+//go:cgo_import_dynamic libc_kill kill "libc.a/shr_64.o"
68769+//go:cgo_import_dynamic libc_syslog syslog "libc.a/shr_64.o"
68770+//go:cgo_import_dynamic libc_mkdir mkdir "libc.a/shr_64.o"
68771+//go:cgo_import_dynamic libc_mkdirat mkdirat "libc.a/shr_64.o"
68772+//go:cgo_import_dynamic libc_mkfifo mkfifo "libc.a/shr_64.o"
68773+//go:cgo_import_dynamic libc_mknod mknod "libc.a/shr_64.o"
68774+//go:cgo_import_dynamic libc_mknodat mknodat "libc.a/shr_64.o"
68775+//go:cgo_import_dynamic libc_nanosleep nanosleep "libc.a/shr_64.o"
68776+//go:cgo_import_dynamic libc_open64 open64 "libc.a/shr_64.o"
68777+//go:cgo_import_dynamic libc_openat openat "libc.a/shr_64.o"
68778+//go:cgo_import_dynamic libc_read read "libc.a/shr_64.o"
68779+//go:cgo_import_dynamic libc_readlink readlink "libc.a/shr_64.o"
68780+//go:cgo_import_dynamic libc_renameat renameat "libc.a/shr_64.o"
68781+//go:cgo_import_dynamic libc_setdomainname setdomainname "libc.a/shr_64.o"
68782+//go:cgo_import_dynamic libc_sethostname sethostname "libc.a/shr_64.o"
68783+//go:cgo_import_dynamic libc_setpgid setpgid "libc.a/shr_64.o"
68784+//go:cgo_import_dynamic libc_setsid setsid "libc.a/shr_64.o"
68785+//go:cgo_import_dynamic libc_settimeofday settimeofday "libc.a/shr_64.o"
68786+//go:cgo_import_dynamic libc_setuid setuid "libc.a/shr_64.o"
68787+//go:cgo_import_dynamic libc_setgid setgid "libc.a/shr_64.o"
68788+//go:cgo_import_dynamic libc_setpriority setpriority "libc.a/shr_64.o"
68789+//go:cgo_import_dynamic libc_statx statx "libc.a/shr_64.o"
68790+//go:cgo_import_dynamic libc_sync sync "libc.a/shr_64.o"
68791+//go:cgo_import_dynamic libc_times times "libc.a/shr_64.o"
68792+//go:cgo_import_dynamic libc_umask umask "libc.a/shr_64.o"
68793+//go:cgo_import_dynamic libc_uname uname "libc.a/shr_64.o"
68794+//go:cgo_import_dynamic libc_unlink unlink "libc.a/shr_64.o"
68795+//go:cgo_import_dynamic libc_unlinkat unlinkat "libc.a/shr_64.o"
68796+//go:cgo_import_dynamic libc_ustat ustat "libc.a/shr_64.o"
68797+//go:cgo_import_dynamic libc_write write "libc.a/shr_64.o"
68798+//go:cgo_import_dynamic libc_dup2 dup2 "libc.a/shr_64.o"
68799+//go:cgo_import_dynamic libc_posix_fadvise64 posix_fadvise64 "libc.a/shr_64.o"
68800+//go:cgo_import_dynamic libc_fchown fchown "libc.a/shr_64.o"
68801+//go:cgo_import_dynamic libc_fstat fstat "libc.a/shr_64.o"
68802+//go:cgo_import_dynamic libc_fstatat fstatat "libc.a/shr_64.o"
68803+//go:cgo_import_dynamic libc_fstatfs fstatfs "libc.a/shr_64.o"
68804+//go:cgo_import_dynamic libc_ftruncate ftruncate "libc.a/shr_64.o"
68805+//go:cgo_import_dynamic libc_getegid getegid "libc.a/shr_64.o"
68806+//go:cgo_import_dynamic libc_geteuid geteuid "libc.a/shr_64.o"
68807+//go:cgo_import_dynamic libc_getgid getgid "libc.a/shr_64.o"
68808+//go:cgo_import_dynamic libc_getuid getuid "libc.a/shr_64.o"
68809+//go:cgo_import_dynamic libc_lchown lchown "libc.a/shr_64.o"
68810+//go:cgo_import_dynamic libc_listen listen "libc.a/shr_64.o"
68811+//go:cgo_import_dynamic libc_lstat lstat "libc.a/shr_64.o"
68812+//go:cgo_import_dynamic libc_pause pause "libc.a/shr_64.o"
68813+//go:cgo_import_dynamic libc_pread64 pread64 "libc.a/shr_64.o"
68814+//go:cgo_import_dynamic libc_pwrite64 pwrite64 "libc.a/shr_64.o"
68815+//go:cgo_import_dynamic libc_select select "libc.a/shr_64.o"
68816+//go:cgo_import_dynamic libc_pselect pselect "libc.a/shr_64.o"
68817+//go:cgo_import_dynamic libc_setregid setregid "libc.a/shr_64.o"
68818+//go:cgo_import_dynamic libc_setreuid setreuid "libc.a/shr_64.o"
68819+//go:cgo_import_dynamic libc_shutdown shutdown "libc.a/shr_64.o"
68820+//go:cgo_import_dynamic libc_splice splice "libc.a/shr_64.o"
68821+//go:cgo_import_dynamic libc_stat stat "libc.a/shr_64.o"
68822+//go:cgo_import_dynamic libc_statfs statfs "libc.a/shr_64.o"
68823+//go:cgo_import_dynamic libc_truncate truncate "libc.a/shr_64.o"
68824+//go:cgo_import_dynamic libc_bind bind "libc.a/shr_64.o"
68825+//go:cgo_import_dynamic libc_connect connect "libc.a/shr_64.o"
68826+//go:cgo_import_dynamic libc_getgroups getgroups "libc.a/shr_64.o"
68827+//go:cgo_import_dynamic libc_setgroups setgroups "libc.a/shr_64.o"
68828+//go:cgo_import_dynamic libc_getsockopt getsockopt "libc.a/shr_64.o"
68829+//go:cgo_import_dynamic libc_setsockopt setsockopt "libc.a/shr_64.o"
68830+//go:cgo_import_dynamic libc_socket socket "libc.a/shr_64.o"
68831+//go:cgo_import_dynamic libc_socketpair socketpair "libc.a/shr_64.o"
68832+//go:cgo_import_dynamic libc_getpeername getpeername "libc.a/shr_64.o"
68833+//go:cgo_import_dynamic libc_getsockname getsockname "libc.a/shr_64.o"
68834+//go:cgo_import_dynamic libc_recvfrom recvfrom "libc.a/shr_64.o"
68835+//go:cgo_import_dynamic libc_sendto sendto "libc.a/shr_64.o"
68836+//go:cgo_import_dynamic libc_nrecvmsg nrecvmsg "libc.a/shr_64.o"
68837+//go:cgo_import_dynamic libc_nsendmsg nsendmsg "libc.a/shr_64.o"
68838+//go:cgo_import_dynamic libc_munmap munmap "libc.a/shr_64.o"
68839+//go:cgo_import_dynamic libc_madvise madvise "libc.a/shr_64.o"
68840+//go:cgo_import_dynamic libc_mprotect mprotect "libc.a/shr_64.o"
68841+//go:cgo_import_dynamic libc_mlock mlock "libc.a/shr_64.o"
68842+//go:cgo_import_dynamic libc_mlockall mlockall "libc.a/shr_64.o"
68843+//go:cgo_import_dynamic libc_msync msync "libc.a/shr_64.o"
68844+//go:cgo_import_dynamic libc_munlock munlock "libc.a/shr_64.o"
68845+//go:cgo_import_dynamic libc_munlockall munlockall "libc.a/shr_64.o"
68846+//go:cgo_import_dynamic libc_pipe pipe "libc.a/shr_64.o"
68847+//go:cgo_import_dynamic libc_poll poll "libc.a/shr_64.o"
68848+//go:cgo_import_dynamic libc_gettimeofday gettimeofday "libc.a/shr_64.o"
68849+//go:cgo_import_dynamic libc_time time "libc.a/shr_64.o"
68850+//go:cgo_import_dynamic libc_utime utime "libc.a/shr_64.o"
68851+//go:cgo_import_dynamic libc_getsystemcfg getsystemcfg "libc.a/shr_64.o"
68852+//go:cgo_import_dynamic libc_umount umount "libc.a/shr_64.o"
68853+//go:cgo_import_dynamic libc_getrlimit getrlimit "libc.a/shr_64.o"
68854+//go:cgo_import_dynamic libc_setrlimit setrlimit "libc.a/shr_64.o"
68855+//go:cgo_import_dynamic libc_lseek lseek "libc.a/shr_64.o"
68856+//go:cgo_import_dynamic libc_mmap64 mmap64 "libc.a/shr_64.o"
68857+
68858+//go:linkname libc_utimes libc_utimes
68859+//go:linkname libc_utimensat libc_utimensat
68860+//go:linkname libc_getcwd libc_getcwd
68861+//go:linkname libc_accept libc_accept
68862+//go:linkname libc_getdirent libc_getdirent
68863+//go:linkname libc_wait4 libc_wait4
68864+//go:linkname libc_ioctl libc_ioctl
68865+//go:linkname libc_fcntl libc_fcntl
68866+//go:linkname libc_acct libc_acct
68867+//go:linkname libc_chdir libc_chdir
68868+//go:linkname libc_chroot libc_chroot
68869+//go:linkname libc_close libc_close
68870+//go:linkname libc_dup libc_dup
68871+//go:linkname libc_exit libc_exit
68872+//go:linkname libc_faccessat libc_faccessat
68873+//go:linkname libc_fchdir libc_fchdir
68874+//go:linkname libc_fchmod libc_fchmod
68875+//go:linkname libc_fchmodat libc_fchmodat
68876+//go:linkname libc_fchownat libc_fchownat
68877+//go:linkname libc_fdatasync libc_fdatasync
68878+//go:linkname libc_fsync libc_fsync
68879+//go:linkname libc_getpgid libc_getpgid
68880+//go:linkname libc_getpgrp libc_getpgrp
68881+//go:linkname libc_getpid libc_getpid
68882+//go:linkname libc_getppid libc_getppid
68883+//go:linkname libc_getpriority libc_getpriority
68884+//go:linkname libc_getrusage libc_getrusage
68885+//go:linkname libc_getsid libc_getsid
68886+//go:linkname libc_kill libc_kill
68887+//go:linkname libc_syslog libc_syslog
68888+//go:linkname libc_mkdir libc_mkdir
68889+//go:linkname libc_mkdirat libc_mkdirat
68890+//go:linkname libc_mkfifo libc_mkfifo
68891+//go:linkname libc_mknod libc_mknod
68892+//go:linkname libc_mknodat libc_mknodat
68893+//go:linkname libc_nanosleep libc_nanosleep
68894+//go:linkname libc_open64 libc_open64
68895+//go:linkname libc_openat libc_openat
68896+//go:linkname libc_read libc_read
68897+//go:linkname libc_readlink libc_readlink
68898+//go:linkname libc_renameat libc_renameat
68899+//go:linkname libc_setdomainname libc_setdomainname
68900+//go:linkname libc_sethostname libc_sethostname
68901+//go:linkname libc_setpgid libc_setpgid
68902+//go:linkname libc_setsid libc_setsid
68903+//go:linkname libc_settimeofday libc_settimeofday
68904+//go:linkname libc_setuid libc_setuid
68905+//go:linkname libc_setgid libc_setgid
68906+//go:linkname libc_setpriority libc_setpriority
68907+//go:linkname libc_statx libc_statx
68908+//go:linkname libc_sync libc_sync
68909+//go:linkname libc_times libc_times
68910+//go:linkname libc_umask libc_umask
68911+//go:linkname libc_uname libc_uname
68912+//go:linkname libc_unlink libc_unlink
68913+//go:linkname libc_unlinkat libc_unlinkat
68914+//go:linkname libc_ustat libc_ustat
68915+//go:linkname libc_write libc_write
68916+//go:linkname libc_dup2 libc_dup2
68917+//go:linkname libc_posix_fadvise64 libc_posix_fadvise64
68918+//go:linkname libc_fchown libc_fchown
68919+//go:linkname libc_fstat libc_fstat
68920+//go:linkname libc_fstatat libc_fstatat
68921+//go:linkname libc_fstatfs libc_fstatfs
68922+//go:linkname libc_ftruncate libc_ftruncate
68923+//go:linkname libc_getegid libc_getegid
68924+//go:linkname libc_geteuid libc_geteuid
68925+//go:linkname libc_getgid libc_getgid
68926+//go:linkname libc_getuid libc_getuid
68927+//go:linkname libc_lchown libc_lchown
68928+//go:linkname libc_listen libc_listen
68929+//go:linkname libc_lstat libc_lstat
68930+//go:linkname libc_pause libc_pause
68931+//go:linkname libc_pread64 libc_pread64
68932+//go:linkname libc_pwrite64 libc_pwrite64
68933+//go:linkname libc_select libc_select
68934+//go:linkname libc_pselect libc_pselect
68935+//go:linkname libc_setregid libc_setregid
68936+//go:linkname libc_setreuid libc_setreuid
68937+//go:linkname libc_shutdown libc_shutdown
68938+//go:linkname libc_splice libc_splice
68939+//go:linkname libc_stat libc_stat
68940+//go:linkname libc_statfs libc_statfs
68941+//go:linkname libc_truncate libc_truncate
68942+//go:linkname libc_bind libc_bind
68943+//go:linkname libc_connect libc_connect
68944+//go:linkname libc_getgroups libc_getgroups
68945+//go:linkname libc_setgroups libc_setgroups
68946+//go:linkname libc_getsockopt libc_getsockopt
68947+//go:linkname libc_setsockopt libc_setsockopt
68948+//go:linkname libc_socket libc_socket
68949+//go:linkname libc_socketpair libc_socketpair
68950+//go:linkname libc_getpeername libc_getpeername
68951+//go:linkname libc_getsockname libc_getsockname
68952+//go:linkname libc_recvfrom libc_recvfrom
68953+//go:linkname libc_sendto libc_sendto
68954+//go:linkname libc_nrecvmsg libc_nrecvmsg
68955+//go:linkname libc_nsendmsg libc_nsendmsg
68956+//go:linkname libc_munmap libc_munmap
68957+//go:linkname libc_madvise libc_madvise
68958+//go:linkname libc_mprotect libc_mprotect
68959+//go:linkname libc_mlock libc_mlock
68960+//go:linkname libc_mlockall libc_mlockall
68961+//go:linkname libc_msync libc_msync
68962+//go:linkname libc_munlock libc_munlock
68963+//go:linkname libc_munlockall libc_munlockall
68964+//go:linkname libc_pipe libc_pipe
68965+//go:linkname libc_poll libc_poll
68966+//go:linkname libc_gettimeofday libc_gettimeofday
68967+//go:linkname libc_time libc_time
68968+//go:linkname libc_utime libc_utime
68969+//go:linkname libc_getsystemcfg libc_getsystemcfg
68970+//go:linkname libc_umount libc_umount
68971+//go:linkname libc_getrlimit libc_getrlimit
68972+//go:linkname libc_setrlimit libc_setrlimit
68973+//go:linkname libc_lseek libc_lseek
68974+//go:linkname libc_mmap64 libc_mmap64
68975+
68976+type syscallFunc uintptr
68977+
68978+var (
68979+ libc_utimes,
68980+ libc_utimensat,
68981+ libc_getcwd,
68982+ libc_accept,
68983+ libc_getdirent,
68984+ libc_wait4,
68985+ libc_ioctl,
68986+ libc_fcntl,
68987+ libc_acct,
68988+ libc_chdir,
68989+ libc_chroot,
68990+ libc_close,
68991+ libc_dup,
68992+ libc_exit,
68993+ libc_faccessat,
68994+ libc_fchdir,
68995+ libc_fchmod,
68996+ libc_fchmodat,
68997+ libc_fchownat,
68998+ libc_fdatasync,
68999+ libc_fsync,
69000+ libc_getpgid,
69001+ libc_getpgrp,
69002+ libc_getpid,
69003+ libc_getppid,
69004+ libc_getpriority,
69005+ libc_getrusage,
69006+ libc_getsid,
69007+ libc_kill,
69008+ libc_syslog,
69009+ libc_mkdir,
69010+ libc_mkdirat,
69011+ libc_mkfifo,
69012+ libc_mknod,
69013+ libc_mknodat,
69014+ libc_nanosleep,
69015+ libc_open64,
69016+ libc_openat,
69017+ libc_read,
69018+ libc_readlink,
69019+ libc_renameat,
69020+ libc_setdomainname,
69021+ libc_sethostname,
69022+ libc_setpgid,
69023+ libc_setsid,
69024+ libc_settimeofday,
69025+ libc_setuid,
69026+ libc_setgid,
69027+ libc_setpriority,
69028+ libc_statx,
69029+ libc_sync,
69030+ libc_times,
69031+ libc_umask,
69032+ libc_uname,
69033+ libc_unlink,
69034+ libc_unlinkat,
69035+ libc_ustat,
69036+ libc_write,
69037+ libc_dup2,
69038+ libc_posix_fadvise64,
69039+ libc_fchown,
69040+ libc_fstat,
69041+ libc_fstatat,
69042+ libc_fstatfs,
69043+ libc_ftruncate,
69044+ libc_getegid,
69045+ libc_geteuid,
69046+ libc_getgid,
69047+ libc_getuid,
69048+ libc_lchown,
69049+ libc_listen,
69050+ libc_lstat,
69051+ libc_pause,
69052+ libc_pread64,
69053+ libc_pwrite64,
69054+ libc_select,
69055+ libc_pselect,
69056+ libc_setregid,
69057+ libc_setreuid,
69058+ libc_shutdown,
69059+ libc_splice,
69060+ libc_stat,
69061+ libc_statfs,
69062+ libc_truncate,
69063+ libc_bind,
69064+ libc_connect,
69065+ libc_getgroups,
69066+ libc_setgroups,
69067+ libc_getsockopt,
69068+ libc_setsockopt,
69069+ libc_socket,
69070+ libc_socketpair,
69071+ libc_getpeername,
69072+ libc_getsockname,
69073+ libc_recvfrom,
69074+ libc_sendto,
69075+ libc_nrecvmsg,
69076+ libc_nsendmsg,
69077+ libc_munmap,
69078+ libc_madvise,
69079+ libc_mprotect,
69080+ libc_mlock,
69081+ libc_mlockall,
69082+ libc_msync,
69083+ libc_munlock,
69084+ libc_munlockall,
69085+ libc_pipe,
69086+ libc_poll,
69087+ libc_gettimeofday,
69088+ libc_time,
69089+ libc_utime,
69090+ libc_getsystemcfg,
69091+ libc_umount,
69092+ libc_getrlimit,
69093+ libc_setrlimit,
69094+ libc_lseek,
69095+ libc_mmap64 syscallFunc
69096+)
69097+
69098+// Implemented in runtime/syscall_aix.go.
69099+func rawSyscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
69100+func syscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
69101+
69102+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69103+
69104+func callutimes(_p0 uintptr, times uintptr) (r1 uintptr, e1 Errno) {
69105+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_utimes)), 2, _p0, times, 0, 0, 0, 0)
69106+ return
69107+}
69108+
69109+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69110+
69111+func callutimensat(dirfd int, _p0 uintptr, times uintptr, flag int) (r1 uintptr, e1 Errno) {
69112+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_utimensat)), 4, uintptr(dirfd), _p0, times, uintptr(flag), 0, 0)
69113+ return
69114+}
69115+
69116+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69117+
69118+func callgetcwd(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
69119+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_getcwd)), 2, _p0, uintptr(_lenp0), 0, 0, 0, 0)
69120+ return
69121+}
69122+
69123+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69124+
69125+func callaccept(s int, rsa uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
69126+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_accept)), 3, uintptr(s), rsa, addrlen, 0, 0, 0)
69127+ return
69128+}
69129+
69130+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69131+
69132+func callgetdirent(fd int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
69133+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_getdirent)), 3, uintptr(fd), _p0, uintptr(_lenp0), 0, 0, 0)
69134+ return
69135+}
69136+
69137+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69138+
69139+func callwait4(pid int, status uintptr, options int, rusage uintptr) (r1 uintptr, e1 Errno) {
69140+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_wait4)), 4, uintptr(pid), status, uintptr(options), rusage, 0, 0)
69141+ return
69142+}
69143+
69144+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69145+
69146+func callioctl(fd int, req int, arg uintptr) (r1 uintptr, e1 Errno) {
69147+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_ioctl)), 3, uintptr(fd), uintptr(req), arg, 0, 0, 0)
69148+ return
69149+}
69150+
69151+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69152+
69153+func callfcntl(fd uintptr, cmd int, arg uintptr) (r1 uintptr, e1 Errno) {
69154+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fcntl)), 3, fd, uintptr(cmd), arg, 0, 0, 0)
69155+ return
69156+}
69157+
69158+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69159+
69160+func callacct(_p0 uintptr) (r1 uintptr, e1 Errno) {
69161+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_acct)), 1, _p0, 0, 0, 0, 0, 0)
69162+ return
69163+}
69164+
69165+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69166+
69167+func callchdir(_p0 uintptr) (r1 uintptr, e1 Errno) {
69168+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_chdir)), 1, _p0, 0, 0, 0, 0, 0)
69169+ return
69170+}
69171+
69172+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69173+
69174+func callchroot(_p0 uintptr) (r1 uintptr, e1 Errno) {
69175+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_chroot)), 1, _p0, 0, 0, 0, 0, 0)
69176+ return
69177+}
69178+
69179+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69180+
69181+func callclose(fd int) (r1 uintptr, e1 Errno) {
69182+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_close)), 1, uintptr(fd), 0, 0, 0, 0, 0)
69183+ return
69184+}
69185+
69186+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69187+
69188+func calldup(oldfd int) (r1 uintptr, e1 Errno) {
69189+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_dup)), 1, uintptr(oldfd), 0, 0, 0, 0, 0)
69190+ return
69191+}
69192+
69193+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69194+
69195+func callexit(code int) (r1 uintptr, e1 Errno) {
69196+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_exit)), 1, uintptr(code), 0, 0, 0, 0, 0)
69197+ return
69198+}
69199+
69200+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69201+
69202+func callfaccessat(dirfd int, _p0 uintptr, mode uint32, flags int) (r1 uintptr, e1 Errno) {
69203+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_faccessat)), 4, uintptr(dirfd), _p0, uintptr(mode), uintptr(flags), 0, 0)
69204+ return
69205+}
69206+
69207+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69208+
69209+func callfchdir(fd int) (r1 uintptr, e1 Errno) {
69210+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fchdir)), 1, uintptr(fd), 0, 0, 0, 0, 0)
69211+ return
69212+}
69213+
69214+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69215+
69216+func callfchmod(fd int, mode uint32) (r1 uintptr, e1 Errno) {
69217+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fchmod)), 2, uintptr(fd), uintptr(mode), 0, 0, 0, 0)
69218+ return
69219+}
69220+
69221+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69222+
69223+func callfchmodat(dirfd int, _p0 uintptr, mode uint32, flags int) (r1 uintptr, e1 Errno) {
69224+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fchmodat)), 4, uintptr(dirfd), _p0, uintptr(mode), uintptr(flags), 0, 0)
69225+ return
69226+}
69227+
69228+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69229+
69230+func callfchownat(dirfd int, _p0 uintptr, uid int, gid int, flags int) (r1 uintptr, e1 Errno) {
69231+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fchownat)), 5, uintptr(dirfd), _p0, uintptr(uid), uintptr(gid), uintptr(flags), 0)
69232+ return
69233+}
69234+
69235+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69236+
69237+func callfdatasync(fd int) (r1 uintptr, e1 Errno) {
69238+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fdatasync)), 1, uintptr(fd), 0, 0, 0, 0, 0)
69239+ return
69240+}
69241+
69242+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69243+
69244+func callfsync(fd int) (r1 uintptr, e1 Errno) {
69245+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fsync)), 1, uintptr(fd), 0, 0, 0, 0, 0)
69246+ return
69247+}
69248+
69249+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69250+
69251+func callgetpgid(pid int) (r1 uintptr, e1 Errno) {
69252+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getpgid)), 1, uintptr(pid), 0, 0, 0, 0, 0)
69253+ return
69254+}
69255+
69256+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69257+
69258+func callgetpgrp() (r1 uintptr, e1 Errno) {
69259+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_getpgrp)), 0, 0, 0, 0, 0, 0, 0)
69260+ return
69261+}
69262+
69263+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69264+
69265+func callgetpid() (r1 uintptr, e1 Errno) {
69266+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getpid)), 0, 0, 0, 0, 0, 0, 0)
69267+ return
69268+}
69269+
69270+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69271+
69272+func callgetppid() (r1 uintptr, e1 Errno) {
69273+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getppid)), 0, 0, 0, 0, 0, 0, 0)
69274+ return
69275+}
69276+
69277+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69278+
69279+func callgetpriority(which int, who int) (r1 uintptr, e1 Errno) {
69280+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_getpriority)), 2, uintptr(which), uintptr(who), 0, 0, 0, 0)
69281+ return
69282+}
69283+
69284+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69285+
69286+func callgetrusage(who int, rusage uintptr) (r1 uintptr, e1 Errno) {
69287+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getrusage)), 2, uintptr(who), rusage, 0, 0, 0, 0)
69288+ return
69289+}
69290+
69291+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69292+
69293+func callgetsid(pid int) (r1 uintptr, e1 Errno) {
69294+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getsid)), 1, uintptr(pid), 0, 0, 0, 0, 0)
69295+ return
69296+}
69297+
69298+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69299+
69300+func callkill(pid int, sig int) (r1 uintptr, e1 Errno) {
69301+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_kill)), 2, uintptr(pid), uintptr(sig), 0, 0, 0, 0)
69302+ return
69303+}
69304+
69305+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69306+
69307+func callsyslog(typ int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
69308+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_syslog)), 3, uintptr(typ), _p0, uintptr(_lenp0), 0, 0, 0)
69309+ return
69310+}
69311+
69312+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69313+
69314+func callmkdir(dirfd int, _p0 uintptr, mode uint32) (r1 uintptr, e1 Errno) {
69315+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_mkdir)), 3, uintptr(dirfd), _p0, uintptr(mode), 0, 0, 0)
69316+ return
69317+}
69318+
69319+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69320+
69321+func callmkdirat(dirfd int, _p0 uintptr, mode uint32) (r1 uintptr, e1 Errno) {
69322+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_mkdirat)), 3, uintptr(dirfd), _p0, uintptr(mode), 0, 0, 0)
69323+ return
69324+}
69325+
69326+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69327+
69328+func callmkfifo(_p0 uintptr, mode uint32) (r1 uintptr, e1 Errno) {
69329+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_mkfifo)), 2, _p0, uintptr(mode), 0, 0, 0, 0)
69330+ return
69331+}
69332+
69333+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69334+
69335+func callmknod(_p0 uintptr, mode uint32, dev int) (r1 uintptr, e1 Errno) {
69336+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_mknod)), 3, _p0, uintptr(mode), uintptr(dev), 0, 0, 0)
69337+ return
69338+}
69339+
69340+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69341+
69342+func callmknodat(dirfd int, _p0 uintptr, mode uint32, dev int) (r1 uintptr, e1 Errno) {
69343+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_mknodat)), 4, uintptr(dirfd), _p0, uintptr(mode), uintptr(dev), 0, 0)
69344+ return
69345+}
69346+
69347+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69348+
69349+func callnanosleep(time uintptr, leftover uintptr) (r1 uintptr, e1 Errno) {
69350+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_nanosleep)), 2, time, leftover, 0, 0, 0, 0)
69351+ return
69352+}
69353+
69354+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69355+
69356+func callopen64(_p0 uintptr, mode int, perm uint32) (r1 uintptr, e1 Errno) {
69357+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_open64)), 3, _p0, uintptr(mode), uintptr(perm), 0, 0, 0)
69358+ return
69359+}
69360+
69361+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69362+
69363+func callopenat(dirfd int, _p0 uintptr, flags int, mode uint32) (r1 uintptr, e1 Errno) {
69364+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_openat)), 4, uintptr(dirfd), _p0, uintptr(flags), uintptr(mode), 0, 0)
69365+ return
69366+}
69367+
69368+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69369+
69370+func callread(fd int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
69371+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_read)), 3, uintptr(fd), _p0, uintptr(_lenp0), 0, 0, 0)
69372+ return
69373+}
69374+
69375+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69376+
69377+func callreadlink(_p0 uintptr, _p1 uintptr, _lenp1 int) (r1 uintptr, e1 Errno) {
69378+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_readlink)), 3, _p0, _p1, uintptr(_lenp1), 0, 0, 0)
69379+ return
69380+}
69381+
69382+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69383+
69384+func callrenameat(olddirfd int, _p0 uintptr, newdirfd int, _p1 uintptr) (r1 uintptr, e1 Errno) {
69385+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_renameat)), 4, uintptr(olddirfd), _p0, uintptr(newdirfd), _p1, 0, 0)
69386+ return
69387+}
69388+
69389+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69390+
69391+func callsetdomainname(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
69392+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_setdomainname)), 2, _p0, uintptr(_lenp0), 0, 0, 0, 0)
69393+ return
69394+}
69395+
69396+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69397+
69398+func callsethostname(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
69399+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_sethostname)), 2, _p0, uintptr(_lenp0), 0, 0, 0, 0)
69400+ return
69401+}
69402+
69403+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69404+
69405+func callsetpgid(pid int, pgid int) (r1 uintptr, e1 Errno) {
69406+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_setpgid)), 2, uintptr(pid), uintptr(pgid), 0, 0, 0, 0)
69407+ return
69408+}
69409+
69410+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69411+
69412+func callsetsid() (r1 uintptr, e1 Errno) {
69413+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_setsid)), 0, 0, 0, 0, 0, 0, 0)
69414+ return
69415+}
69416+
69417+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69418+
69419+func callsettimeofday(tv uintptr) (r1 uintptr, e1 Errno) {
69420+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_settimeofday)), 1, tv, 0, 0, 0, 0, 0)
69421+ return
69422+}
69423+
69424+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69425+
69426+func callsetuid(uid int) (r1 uintptr, e1 Errno) {
69427+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_setuid)), 1, uintptr(uid), 0, 0, 0, 0, 0)
69428+ return
69429+}
69430+
69431+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69432+
69433+func callsetgid(uid int) (r1 uintptr, e1 Errno) {
69434+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_setgid)), 1, uintptr(uid), 0, 0, 0, 0, 0)
69435+ return
69436+}
69437+
69438+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69439+
69440+func callsetpriority(which int, who int, prio int) (r1 uintptr, e1 Errno) {
69441+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_setpriority)), 3, uintptr(which), uintptr(who), uintptr(prio), 0, 0, 0)
69442+ return
69443+}
69444+
69445+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69446+
69447+func callstatx(dirfd int, _p0 uintptr, flags int, mask int, stat uintptr) (r1 uintptr, e1 Errno) {
69448+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_statx)), 5, uintptr(dirfd), _p0, uintptr(flags), uintptr(mask), stat, 0)
69449+ return
69450+}
69451+
69452+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69453+
69454+func callsync() (r1 uintptr, e1 Errno) {
69455+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_sync)), 0, 0, 0, 0, 0, 0, 0)
69456+ return
69457+}
69458+
69459+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69460+
69461+func calltimes(tms uintptr) (r1 uintptr, e1 Errno) {
69462+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_times)), 1, tms, 0, 0, 0, 0, 0)
69463+ return
69464+}
69465+
69466+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69467+
69468+func callumask(mask int) (r1 uintptr, e1 Errno) {
69469+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_umask)), 1, uintptr(mask), 0, 0, 0, 0, 0)
69470+ return
69471+}
69472+
69473+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69474+
69475+func calluname(buf uintptr) (r1 uintptr, e1 Errno) {
69476+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_uname)), 1, buf, 0, 0, 0, 0, 0)
69477+ return
69478+}
69479+
69480+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69481+
69482+func callunlink(_p0 uintptr) (r1 uintptr, e1 Errno) {
69483+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_unlink)), 1, _p0, 0, 0, 0, 0, 0)
69484+ return
69485+}
69486+
69487+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69488+
69489+func callunlinkat(dirfd int, _p0 uintptr, flags int) (r1 uintptr, e1 Errno) {
69490+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_unlinkat)), 3, uintptr(dirfd), _p0, uintptr(flags), 0, 0, 0)
69491+ return
69492+}
69493+
69494+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69495+
69496+func callustat(dev int, ubuf uintptr) (r1 uintptr, e1 Errno) {
69497+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_ustat)), 2, uintptr(dev), ubuf, 0, 0, 0, 0)
69498+ return
69499+}
69500+
69501+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69502+
69503+func callwrite(fd int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
69504+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_write)), 3, uintptr(fd), _p0, uintptr(_lenp0), 0, 0, 0)
69505+ return
69506+}
69507+
69508+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69509+
69510+func calldup2(oldfd int, newfd int) (r1 uintptr, e1 Errno) {
69511+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_dup2)), 2, uintptr(oldfd), uintptr(newfd), 0, 0, 0, 0)
69512+ return
69513+}
69514+
69515+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69516+
69517+func callposix_fadvise64(fd int, offset int64, length int64, advice int) (r1 uintptr, e1 Errno) {
69518+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_posix_fadvise64)), 4, uintptr(fd), uintptr(offset), uintptr(length), uintptr(advice), 0, 0)
69519+ return
69520+}
69521+
69522+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69523+
69524+func callfchown(fd int, uid int, gid int) (r1 uintptr, e1 Errno) {
69525+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fchown)), 3, uintptr(fd), uintptr(uid), uintptr(gid), 0, 0, 0)
69526+ return
69527+}
69528+
69529+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69530+
69531+func callfstat(fd int, stat uintptr) (r1 uintptr, e1 Errno) {
69532+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fstat)), 2, uintptr(fd), stat, 0, 0, 0, 0)
69533+ return
69534+}
69535+
69536+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69537+
69538+func callfstatat(dirfd int, _p0 uintptr, stat uintptr, flags int) (r1 uintptr, e1 Errno) {
69539+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fstatat)), 4, uintptr(dirfd), _p0, stat, uintptr(flags), 0, 0)
69540+ return
69541+}
69542+
69543+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69544+
69545+func callfstatfs(fd int, buf uintptr) (r1 uintptr, e1 Errno) {
69546+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fstatfs)), 2, uintptr(fd), buf, 0, 0, 0, 0)
69547+ return
69548+}
69549+
69550+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69551+
69552+func callftruncate(fd int, length int64) (r1 uintptr, e1 Errno) {
69553+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_ftruncate)), 2, uintptr(fd), uintptr(length), 0, 0, 0, 0)
69554+ return
69555+}
69556+
69557+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69558+
69559+func callgetegid() (r1 uintptr, e1 Errno) {
69560+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getegid)), 0, 0, 0, 0, 0, 0, 0)
69561+ return
69562+}
69563+
69564+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69565+
69566+func callgeteuid() (r1 uintptr, e1 Errno) {
69567+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_geteuid)), 0, 0, 0, 0, 0, 0, 0)
69568+ return
69569+}
69570+
69571+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69572+
69573+func callgetgid() (r1 uintptr, e1 Errno) {
69574+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getgid)), 0, 0, 0, 0, 0, 0, 0)
69575+ return
69576+}
69577+
69578+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69579+
69580+func callgetuid() (r1 uintptr, e1 Errno) {
69581+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getuid)), 0, 0, 0, 0, 0, 0, 0)
69582+ return
69583+}
69584+
69585+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69586+
69587+func calllchown(_p0 uintptr, uid int, gid int) (r1 uintptr, e1 Errno) {
69588+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_lchown)), 3, _p0, uintptr(uid), uintptr(gid), 0, 0, 0)
69589+ return
69590+}
69591+
69592+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69593+
69594+func calllisten(s int, n int) (r1 uintptr, e1 Errno) {
69595+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_listen)), 2, uintptr(s), uintptr(n), 0, 0, 0, 0)
69596+ return
69597+}
69598+
69599+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69600+
69601+func calllstat(_p0 uintptr, stat uintptr) (r1 uintptr, e1 Errno) {
69602+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_lstat)), 2, _p0, stat, 0, 0, 0, 0)
69603+ return
69604+}
69605+
69606+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69607+
69608+func callpause() (r1 uintptr, e1 Errno) {
69609+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_pause)), 0, 0, 0, 0, 0, 0, 0)
69610+ return
69611+}
69612+
69613+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69614+
69615+func callpread64(fd int, _p0 uintptr, _lenp0 int, offset int64) (r1 uintptr, e1 Errno) {
69616+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_pread64)), 4, uintptr(fd), _p0, uintptr(_lenp0), uintptr(offset), 0, 0)
69617+ return
69618+}
69619+
69620+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69621+
69622+func callpwrite64(fd int, _p0 uintptr, _lenp0 int, offset int64) (r1 uintptr, e1 Errno) {
69623+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_pwrite64)), 4, uintptr(fd), _p0, uintptr(_lenp0), uintptr(offset), 0, 0)
69624+ return
69625+}
69626+
69627+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69628+
69629+func callselect(nfd int, r uintptr, w uintptr, e uintptr, timeout uintptr) (r1 uintptr, e1 Errno) {
69630+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_select)), 5, uintptr(nfd), r, w, e, timeout, 0)
69631+ return
69632+}
69633+
69634+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69635+
69636+func callpselect(nfd int, r uintptr, w uintptr, e uintptr, timeout uintptr, sigmask uintptr) (r1 uintptr, e1 Errno) {
69637+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_pselect)), 6, uintptr(nfd), r, w, e, timeout, sigmask)
69638+ return
69639+}
69640+
69641+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69642+
69643+func callsetregid(rgid int, egid int) (r1 uintptr, e1 Errno) {
69644+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_setregid)), 2, uintptr(rgid), uintptr(egid), 0, 0, 0, 0)
69645+ return
69646+}
69647+
69648+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69649+
69650+func callsetreuid(ruid int, euid int) (r1 uintptr, e1 Errno) {
69651+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_setreuid)), 2, uintptr(ruid), uintptr(euid), 0, 0, 0, 0)
69652+ return
69653+}
69654+
69655+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69656+
69657+func callshutdown(fd int, how int) (r1 uintptr, e1 Errno) {
69658+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_shutdown)), 2, uintptr(fd), uintptr(how), 0, 0, 0, 0)
69659+ return
69660+}
69661+
69662+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69663+
69664+func callsplice(rfd int, roff uintptr, wfd int, woff uintptr, len int, flags int) (r1 uintptr, e1 Errno) {
69665+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_splice)), 6, uintptr(rfd), roff, uintptr(wfd), woff, uintptr(len), uintptr(flags))
69666+ return
69667+}
69668+
69669+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69670+
69671+func callstat(_p0 uintptr, statptr uintptr) (r1 uintptr, e1 Errno) {
69672+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_stat)), 2, _p0, statptr, 0, 0, 0, 0)
69673+ return
69674+}
69675+
69676+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69677+
69678+func callstatfs(_p0 uintptr, buf uintptr) (r1 uintptr, e1 Errno) {
69679+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_statfs)), 2, _p0, buf, 0, 0, 0, 0)
69680+ return
69681+}
69682+
69683+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69684+
69685+func calltruncate(_p0 uintptr, length int64) (r1 uintptr, e1 Errno) {
69686+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_truncate)), 2, _p0, uintptr(length), 0, 0, 0, 0)
69687+ return
69688+}
69689+
69690+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69691+
69692+func callbind(s int, addr uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
69693+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_bind)), 3, uintptr(s), addr, addrlen, 0, 0, 0)
69694+ return
69695+}
69696+
69697+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69698+
69699+func callconnect(s int, addr uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
69700+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_connect)), 3, uintptr(s), addr, addrlen, 0, 0, 0)
69701+ return
69702+}
69703+
69704+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69705+
69706+func callgetgroups(n int, list uintptr) (r1 uintptr, e1 Errno) {
69707+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getgroups)), 2, uintptr(n), list, 0, 0, 0, 0)
69708+ return
69709+}
69710+
69711+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69712+
69713+func callsetgroups(n int, list uintptr) (r1 uintptr, e1 Errno) {
69714+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_setgroups)), 2, uintptr(n), list, 0, 0, 0, 0)
69715+ return
69716+}
69717+
69718+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69719+
69720+func callgetsockopt(s int, level int, name int, val uintptr, vallen uintptr) (r1 uintptr, e1 Errno) {
69721+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_getsockopt)), 5, uintptr(s), uintptr(level), uintptr(name), val, vallen, 0)
69722+ return
69723+}
69724+
69725+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69726+
69727+func callsetsockopt(s int, level int, name int, val uintptr, vallen uintptr) (r1 uintptr, e1 Errno) {
69728+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_setsockopt)), 5, uintptr(s), uintptr(level), uintptr(name), val, vallen, 0)
69729+ return
69730+}
69731+
69732+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69733+
69734+func callsocket(domain int, typ int, proto int) (r1 uintptr, e1 Errno) {
69735+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_socket)), 3, uintptr(domain), uintptr(typ), uintptr(proto), 0, 0, 0)
69736+ return
69737+}
69738+
69739+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69740+
69741+func callsocketpair(domain int, typ int, proto int, fd uintptr) (r1 uintptr, e1 Errno) {
69742+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_socketpair)), 4, uintptr(domain), uintptr(typ), uintptr(proto), fd, 0, 0)
69743+ return
69744+}
69745+
69746+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69747+
69748+func callgetpeername(fd int, rsa uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
69749+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getpeername)), 3, uintptr(fd), rsa, addrlen, 0, 0, 0)
69750+ return
69751+}
69752+
69753+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69754+
69755+func callgetsockname(fd int, rsa uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
69756+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getsockname)), 3, uintptr(fd), rsa, addrlen, 0, 0, 0)
69757+ return
69758+}
69759+
69760+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69761+
69762+func callrecvfrom(fd int, _p0 uintptr, _lenp0 int, flags int, from uintptr, fromlen uintptr) (r1 uintptr, e1 Errno) {
69763+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_recvfrom)), 6, uintptr(fd), _p0, uintptr(_lenp0), uintptr(flags), from, fromlen)
69764+ return
69765+}
69766+
69767+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69768+
69769+func callsendto(s int, _p0 uintptr, _lenp0 int, flags int, to uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
69770+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_sendto)), 6, uintptr(s), _p0, uintptr(_lenp0), uintptr(flags), to, addrlen)
69771+ return
69772+}
69773+
69774+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69775+
69776+func callnrecvmsg(s int, msg uintptr, flags int) (r1 uintptr, e1 Errno) {
69777+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_nrecvmsg)), 3, uintptr(s), msg, uintptr(flags), 0, 0, 0)
69778+ return
69779+}
69780+
69781+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69782+
69783+func callnsendmsg(s int, msg uintptr, flags int) (r1 uintptr, e1 Errno) {
69784+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_nsendmsg)), 3, uintptr(s), msg, uintptr(flags), 0, 0, 0)
69785+ return
69786+}
69787+
69788+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69789+
69790+func callmunmap(addr uintptr, length uintptr) (r1 uintptr, e1 Errno) {
69791+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_munmap)), 2, addr, length, 0, 0, 0, 0)
69792+ return
69793+}
69794+
69795+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69796+
69797+func callmadvise(_p0 uintptr, _lenp0 int, advice int) (r1 uintptr, e1 Errno) {
69798+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_madvise)), 3, _p0, uintptr(_lenp0), uintptr(advice), 0, 0, 0)
69799+ return
69800+}
69801+
69802+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69803+
69804+func callmprotect(_p0 uintptr, _lenp0 int, prot int) (r1 uintptr, e1 Errno) {
69805+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_mprotect)), 3, _p0, uintptr(_lenp0), uintptr(prot), 0, 0, 0)
69806+ return
69807+}
69808+
69809+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69810+
69811+func callmlock(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
69812+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_mlock)), 2, _p0, uintptr(_lenp0), 0, 0, 0, 0)
69813+ return
69814+}
69815+
69816+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69817+
69818+func callmlockall(flags int) (r1 uintptr, e1 Errno) {
69819+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_mlockall)), 1, uintptr(flags), 0, 0, 0, 0, 0)
69820+ return
69821+}
69822+
69823+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69824+
69825+func callmsync(_p0 uintptr, _lenp0 int, flags int) (r1 uintptr, e1 Errno) {
69826+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_msync)), 3, _p0, uintptr(_lenp0), uintptr(flags), 0, 0, 0)
69827+ return
69828+}
69829+
69830+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69831+
69832+func callmunlock(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
69833+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_munlock)), 2, _p0, uintptr(_lenp0), 0, 0, 0, 0)
69834+ return
69835+}
69836+
69837+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69838+
69839+func callmunlockall() (r1 uintptr, e1 Errno) {
69840+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_munlockall)), 0, 0, 0, 0, 0, 0, 0)
69841+ return
69842+}
69843+
69844+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69845+
69846+func callpipe(p uintptr) (r1 uintptr, e1 Errno) {
69847+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_pipe)), 1, p, 0, 0, 0, 0, 0)
69848+ return
69849+}
69850+
69851+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69852+
69853+func callpoll(fds uintptr, nfds int, timeout int) (r1 uintptr, e1 Errno) {
69854+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_poll)), 3, fds, uintptr(nfds), uintptr(timeout), 0, 0, 0)
69855+ return
69856+}
69857+
69858+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69859+
69860+func callgettimeofday(tv uintptr, tzp uintptr) (r1 uintptr, e1 Errno) {
69861+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_gettimeofday)), 2, tv, tzp, 0, 0, 0, 0)
69862+ return
69863+}
69864+
69865+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69866+
69867+func calltime(t uintptr) (r1 uintptr, e1 Errno) {
69868+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_time)), 1, t, 0, 0, 0, 0, 0)
69869+ return
69870+}
69871+
69872+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69873+
69874+func callutime(_p0 uintptr, buf uintptr) (r1 uintptr, e1 Errno) {
69875+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_utime)), 2, _p0, buf, 0, 0, 0, 0)
69876+ return
69877+}
69878+
69879+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69880+
69881+func callgetsystemcfg(label int) (r1 uintptr, e1 Errno) {
69882+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_getsystemcfg)), 1, uintptr(label), 0, 0, 0, 0, 0)
69883+ return
69884+}
69885+
69886+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69887+
69888+func callumount(_p0 uintptr) (r1 uintptr, e1 Errno) {
69889+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_umount)), 1, _p0, 0, 0, 0, 0, 0)
69890+ return
69891+}
69892+
69893+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69894+
69895+func callgetrlimit(resource int, rlim uintptr) (r1 uintptr, e1 Errno) {
69896+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getrlimit)), 2, uintptr(resource), rlim, 0, 0, 0, 0)
69897+ return
69898+}
69899+
69900+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69901+
69902+func callsetrlimit(resource int, rlim uintptr) (r1 uintptr, e1 Errno) {
69903+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_setrlimit)), 2, uintptr(resource), rlim, 0, 0, 0, 0)
69904+ return
69905+}
69906+
69907+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69908+
69909+func calllseek(fd int, offset int64, whence int) (r1 uintptr, e1 Errno) {
69910+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_lseek)), 3, uintptr(fd), uintptr(offset), uintptr(whence), 0, 0, 0)
69911+ return
69912+}
69913+
69914+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
69915+
69916+func callmmap64(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (r1 uintptr, e1 Errno) {
69917+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_mmap64)), 6, addr, length, uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset))
69918+ return
69919+}
69920diff --git a/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go
69921new file mode 100644
69922index 00000000..cde4dbc5
69923--- /dev/null
69924+++ b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go
69925@@ -0,0 +1,1070 @@
69926+// go run mksyscall_aix_ppc64.go -aix -tags aix,ppc64 syscall_aix.go syscall_aix_ppc64.go
69927+// Code generated by the command above; see README.md. DO NOT EDIT.
69928+
69929+// +build aix,ppc64
69930+// +build gccgo
69931+
69932+package unix
69933+
69934+/*
69935+#include <stdint.h>
69936+int utimes(uintptr_t, uintptr_t);
69937+int utimensat(int, uintptr_t, uintptr_t, int);
69938+int getcwd(uintptr_t, size_t);
69939+int accept(int, uintptr_t, uintptr_t);
69940+int getdirent(int, uintptr_t, size_t);
69941+int wait4(int, uintptr_t, int, uintptr_t);
69942+int ioctl(int, int, uintptr_t);
69943+int fcntl(uintptr_t, int, uintptr_t);
69944+int acct(uintptr_t);
69945+int chdir(uintptr_t);
69946+int chroot(uintptr_t);
69947+int close(int);
69948+int dup(int);
69949+void exit(int);
69950+int faccessat(int, uintptr_t, unsigned int, int);
69951+int fchdir(int);
69952+int fchmod(int, unsigned int);
69953+int fchmodat(int, uintptr_t, unsigned int, int);
69954+int fchownat(int, uintptr_t, int, int, int);
69955+int fdatasync(int);
69956+int fsync(int);
69957+int getpgid(int);
69958+int getpgrp();
69959+int getpid();
69960+int getppid();
69961+int getpriority(int, int);
69962+int getrusage(int, uintptr_t);
69963+int getsid(int);
69964+int kill(int, int);
69965+int syslog(int, uintptr_t, size_t);
69966+int mkdir(int, uintptr_t, unsigned int);
69967+int mkdirat(int, uintptr_t, unsigned int);
69968+int mkfifo(uintptr_t, unsigned int);
69969+int mknod(uintptr_t, unsigned int, int);
69970+int mknodat(int, uintptr_t, unsigned int, int);
69971+int nanosleep(uintptr_t, uintptr_t);
69972+int open64(uintptr_t, int, unsigned int);
69973+int openat(int, uintptr_t, int, unsigned int);
69974+int read(int, uintptr_t, size_t);
69975+int readlink(uintptr_t, uintptr_t, size_t);
69976+int renameat(int, uintptr_t, int, uintptr_t);
69977+int setdomainname(uintptr_t, size_t);
69978+int sethostname(uintptr_t, size_t);
69979+int setpgid(int, int);
69980+int setsid();
69981+int settimeofday(uintptr_t);
69982+int setuid(int);
69983+int setgid(int);
69984+int setpriority(int, int, int);
69985+int statx(int, uintptr_t, int, int, uintptr_t);
69986+int sync();
69987+uintptr_t times(uintptr_t);
69988+int umask(int);
69989+int uname(uintptr_t);
69990+int unlink(uintptr_t);
69991+int unlinkat(int, uintptr_t, int);
69992+int ustat(int, uintptr_t);
69993+int write(int, uintptr_t, size_t);
69994+int dup2(int, int);
69995+int posix_fadvise64(int, long long, long long, int);
69996+int fchown(int, int, int);
69997+int fstat(int, uintptr_t);
69998+int fstatat(int, uintptr_t, uintptr_t, int);
69999+int fstatfs(int, uintptr_t);
70000+int ftruncate(int, long long);
70001+int getegid();
70002+int geteuid();
70003+int getgid();
70004+int getuid();
70005+int lchown(uintptr_t, int, int);
70006+int listen(int, int);
70007+int lstat(uintptr_t, uintptr_t);
70008+int pause();
70009+int pread64(int, uintptr_t, size_t, long long);
70010+int pwrite64(int, uintptr_t, size_t, long long);
70011+#define c_select select
70012+int select(int, uintptr_t, uintptr_t, uintptr_t, uintptr_t);
70013+int pselect(int, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t);
70014+int setregid(int, int);
70015+int setreuid(int, int);
70016+int shutdown(int, int);
70017+long long splice(int, uintptr_t, int, uintptr_t, int, int);
70018+int stat(uintptr_t, uintptr_t);
70019+int statfs(uintptr_t, uintptr_t);
70020+int truncate(uintptr_t, long long);
70021+int bind(int, uintptr_t, uintptr_t);
70022+int connect(int, uintptr_t, uintptr_t);
70023+int getgroups(int, uintptr_t);
70024+int setgroups(int, uintptr_t);
70025+int getsockopt(int, int, int, uintptr_t, uintptr_t);
70026+int setsockopt(int, int, int, uintptr_t, uintptr_t);
70027+int socket(int, int, int);
70028+int socketpair(int, int, int, uintptr_t);
70029+int getpeername(int, uintptr_t, uintptr_t);
70030+int getsockname(int, uintptr_t, uintptr_t);
70031+int recvfrom(int, uintptr_t, size_t, int, uintptr_t, uintptr_t);
70032+int sendto(int, uintptr_t, size_t, int, uintptr_t, uintptr_t);
70033+int nrecvmsg(int, uintptr_t, int);
70034+int nsendmsg(int, uintptr_t, int);
70035+int munmap(uintptr_t, uintptr_t);
70036+int madvise(uintptr_t, size_t, int);
70037+int mprotect(uintptr_t, size_t, int);
70038+int mlock(uintptr_t, size_t);
70039+int mlockall(int);
70040+int msync(uintptr_t, size_t, int);
70041+int munlock(uintptr_t, size_t);
70042+int munlockall();
70043+int pipe(uintptr_t);
70044+int poll(uintptr_t, int, int);
70045+int gettimeofday(uintptr_t, uintptr_t);
70046+int time(uintptr_t);
70047+int utime(uintptr_t, uintptr_t);
70048+unsigned long long getsystemcfg(int);
70049+int umount(uintptr_t);
70050+int getrlimit(int, uintptr_t);
70051+int setrlimit(int, uintptr_t);
70052+long long lseek(int, long long, int);
70053+uintptr_t mmap64(uintptr_t, uintptr_t, int, int, int, long long);
70054+
70055+*/
70056+import "C"
70057+import (
70058+ "syscall"
70059+)
70060+
70061+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70062+
70063+func callutimes(_p0 uintptr, times uintptr) (r1 uintptr, e1 Errno) {
70064+ r1 = uintptr(C.utimes(C.uintptr_t(_p0), C.uintptr_t(times)))
70065+ e1 = syscall.GetErrno()
70066+ return
70067+}
70068+
70069+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70070+
70071+func callutimensat(dirfd int, _p0 uintptr, times uintptr, flag int) (r1 uintptr, e1 Errno) {
70072+ r1 = uintptr(C.utimensat(C.int(dirfd), C.uintptr_t(_p0), C.uintptr_t(times), C.int(flag)))
70073+ e1 = syscall.GetErrno()
70074+ return
70075+}
70076+
70077+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70078+
70079+func callgetcwd(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
70080+ r1 = uintptr(C.getcwd(C.uintptr_t(_p0), C.size_t(_lenp0)))
70081+ e1 = syscall.GetErrno()
70082+ return
70083+}
70084+
70085+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70086+
70087+func callaccept(s int, rsa uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
70088+ r1 = uintptr(C.accept(C.int(s), C.uintptr_t(rsa), C.uintptr_t(addrlen)))
70089+ e1 = syscall.GetErrno()
70090+ return
70091+}
70092+
70093+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70094+
70095+func callgetdirent(fd int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
70096+ r1 = uintptr(C.getdirent(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0)))
70097+ e1 = syscall.GetErrno()
70098+ return
70099+}
70100+
70101+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70102+
70103+func callwait4(pid int, status uintptr, options int, rusage uintptr) (r1 uintptr, e1 Errno) {
70104+ r1 = uintptr(C.wait4(C.int(pid), C.uintptr_t(status), C.int(options), C.uintptr_t(rusage)))
70105+ e1 = syscall.GetErrno()
70106+ return
70107+}
70108+
70109+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70110+
70111+func callioctl(fd int, req int, arg uintptr) (r1 uintptr, e1 Errno) {
70112+ r1 = uintptr(C.ioctl(C.int(fd), C.int(req), C.uintptr_t(arg)))
70113+ e1 = syscall.GetErrno()
70114+ return
70115+}
70116+
70117+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70118+
70119+func callfcntl(fd uintptr, cmd int, arg uintptr) (r1 uintptr, e1 Errno) {
70120+ r1 = uintptr(C.fcntl(C.uintptr_t(fd), C.int(cmd), C.uintptr_t(arg)))
70121+ e1 = syscall.GetErrno()
70122+ return
70123+}
70124+
70125+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70126+
70127+func callacct(_p0 uintptr) (r1 uintptr, e1 Errno) {
70128+ r1 = uintptr(C.acct(C.uintptr_t(_p0)))
70129+ e1 = syscall.GetErrno()
70130+ return
70131+}
70132+
70133+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70134+
70135+func callchdir(_p0 uintptr) (r1 uintptr, e1 Errno) {
70136+ r1 = uintptr(C.chdir(C.uintptr_t(_p0)))
70137+ e1 = syscall.GetErrno()
70138+ return
70139+}
70140+
70141+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70142+
70143+func callchroot(_p0 uintptr) (r1 uintptr, e1 Errno) {
70144+ r1 = uintptr(C.chroot(C.uintptr_t(_p0)))
70145+ e1 = syscall.GetErrno()
70146+ return
70147+}
70148+
70149+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70150+
70151+func callclose(fd int) (r1 uintptr, e1 Errno) {
70152+ r1 = uintptr(C.close(C.int(fd)))
70153+ e1 = syscall.GetErrno()
70154+ return
70155+}
70156+
70157+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70158+
70159+func calldup(oldfd int) (r1 uintptr, e1 Errno) {
70160+ r1 = uintptr(C.dup(C.int(oldfd)))
70161+ e1 = syscall.GetErrno()
70162+ return
70163+}
70164+
70165+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70166+
70167+func callexit(code int) (r1 uintptr, e1 Errno) {
70168+ r1 = uintptr(C.exit(C.int(code)))
70169+ e1 = syscall.GetErrno()
70170+ return
70171+}
70172+
70173+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70174+
70175+func callfaccessat(dirfd int, _p0 uintptr, mode uint32, flags int) (r1 uintptr, e1 Errno) {
70176+ r1 = uintptr(C.faccessat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode), C.int(flags)))
70177+ e1 = syscall.GetErrno()
70178+ return
70179+}
70180+
70181+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70182+
70183+func callfchdir(fd int) (r1 uintptr, e1 Errno) {
70184+ r1 = uintptr(C.fchdir(C.int(fd)))
70185+ e1 = syscall.GetErrno()
70186+ return
70187+}
70188+
70189+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70190+
70191+func callfchmod(fd int, mode uint32) (r1 uintptr, e1 Errno) {
70192+ r1 = uintptr(C.fchmod(C.int(fd), C.uint(mode)))
70193+ e1 = syscall.GetErrno()
70194+ return
70195+}
70196+
70197+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70198+
70199+func callfchmodat(dirfd int, _p0 uintptr, mode uint32, flags int) (r1 uintptr, e1 Errno) {
70200+ r1 = uintptr(C.fchmodat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode), C.int(flags)))
70201+ e1 = syscall.GetErrno()
70202+ return
70203+}
70204+
70205+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70206+
70207+func callfchownat(dirfd int, _p0 uintptr, uid int, gid int, flags int) (r1 uintptr, e1 Errno) {
70208+ r1 = uintptr(C.fchownat(C.int(dirfd), C.uintptr_t(_p0), C.int(uid), C.int(gid), C.int(flags)))
70209+ e1 = syscall.GetErrno()
70210+ return
70211+}
70212+
70213+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70214+
70215+func callfdatasync(fd int) (r1 uintptr, e1 Errno) {
70216+ r1 = uintptr(C.fdatasync(C.int(fd)))
70217+ e1 = syscall.GetErrno()
70218+ return
70219+}
70220+
70221+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70222+
70223+func callfsync(fd int) (r1 uintptr, e1 Errno) {
70224+ r1 = uintptr(C.fsync(C.int(fd)))
70225+ e1 = syscall.GetErrno()
70226+ return
70227+}
70228+
70229+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70230+
70231+func callgetpgid(pid int) (r1 uintptr, e1 Errno) {
70232+ r1 = uintptr(C.getpgid(C.int(pid)))
70233+ e1 = syscall.GetErrno()
70234+ return
70235+}
70236+
70237+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70238+
70239+func callgetpgrp() (r1 uintptr, e1 Errno) {
70240+ r1 = uintptr(C.getpgrp())
70241+ e1 = syscall.GetErrno()
70242+ return
70243+}
70244+
70245+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70246+
70247+func callgetpid() (r1 uintptr, e1 Errno) {
70248+ r1 = uintptr(C.getpid())
70249+ e1 = syscall.GetErrno()
70250+ return
70251+}
70252+
70253+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70254+
70255+func callgetppid() (r1 uintptr, e1 Errno) {
70256+ r1 = uintptr(C.getppid())
70257+ e1 = syscall.GetErrno()
70258+ return
70259+}
70260+
70261+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70262+
70263+func callgetpriority(which int, who int) (r1 uintptr, e1 Errno) {
70264+ r1 = uintptr(C.getpriority(C.int(which), C.int(who)))
70265+ e1 = syscall.GetErrno()
70266+ return
70267+}
70268+
70269+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70270+
70271+func callgetrusage(who int, rusage uintptr) (r1 uintptr, e1 Errno) {
70272+ r1 = uintptr(C.getrusage(C.int(who), C.uintptr_t(rusage)))
70273+ e1 = syscall.GetErrno()
70274+ return
70275+}
70276+
70277+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70278+
70279+func callgetsid(pid int) (r1 uintptr, e1 Errno) {
70280+ r1 = uintptr(C.getsid(C.int(pid)))
70281+ e1 = syscall.GetErrno()
70282+ return
70283+}
70284+
70285+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70286+
70287+func callkill(pid int, sig int) (r1 uintptr, e1 Errno) {
70288+ r1 = uintptr(C.kill(C.int(pid), C.int(sig)))
70289+ e1 = syscall.GetErrno()
70290+ return
70291+}
70292+
70293+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70294+
70295+func callsyslog(typ int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
70296+ r1 = uintptr(C.syslog(C.int(typ), C.uintptr_t(_p0), C.size_t(_lenp0)))
70297+ e1 = syscall.GetErrno()
70298+ return
70299+}
70300+
70301+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70302+
70303+func callmkdir(dirfd int, _p0 uintptr, mode uint32) (r1 uintptr, e1 Errno) {
70304+ r1 = uintptr(C.mkdir(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode)))
70305+ e1 = syscall.GetErrno()
70306+ return
70307+}
70308+
70309+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70310+
70311+func callmkdirat(dirfd int, _p0 uintptr, mode uint32) (r1 uintptr, e1 Errno) {
70312+ r1 = uintptr(C.mkdirat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode)))
70313+ e1 = syscall.GetErrno()
70314+ return
70315+}
70316+
70317+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70318+
70319+func callmkfifo(_p0 uintptr, mode uint32) (r1 uintptr, e1 Errno) {
70320+ r1 = uintptr(C.mkfifo(C.uintptr_t(_p0), C.uint(mode)))
70321+ e1 = syscall.GetErrno()
70322+ return
70323+}
70324+
70325+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70326+
70327+func callmknod(_p0 uintptr, mode uint32, dev int) (r1 uintptr, e1 Errno) {
70328+ r1 = uintptr(C.mknod(C.uintptr_t(_p0), C.uint(mode), C.int(dev)))
70329+ e1 = syscall.GetErrno()
70330+ return
70331+}
70332+
70333+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70334+
70335+func callmknodat(dirfd int, _p0 uintptr, mode uint32, dev int) (r1 uintptr, e1 Errno) {
70336+ r1 = uintptr(C.mknodat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode), C.int(dev)))
70337+ e1 = syscall.GetErrno()
70338+ return
70339+}
70340+
70341+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70342+
70343+func callnanosleep(time uintptr, leftover uintptr) (r1 uintptr, e1 Errno) {
70344+ r1 = uintptr(C.nanosleep(C.uintptr_t(time), C.uintptr_t(leftover)))
70345+ e1 = syscall.GetErrno()
70346+ return
70347+}
70348+
70349+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70350+
70351+func callopen64(_p0 uintptr, mode int, perm uint32) (r1 uintptr, e1 Errno) {
70352+ r1 = uintptr(C.open64(C.uintptr_t(_p0), C.int(mode), C.uint(perm)))
70353+ e1 = syscall.GetErrno()
70354+ return
70355+}
70356+
70357+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70358+
70359+func callopenat(dirfd int, _p0 uintptr, flags int, mode uint32) (r1 uintptr, e1 Errno) {
70360+ r1 = uintptr(C.openat(C.int(dirfd), C.uintptr_t(_p0), C.int(flags), C.uint(mode)))
70361+ e1 = syscall.GetErrno()
70362+ return
70363+}
70364+
70365+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70366+
70367+func callread(fd int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
70368+ r1 = uintptr(C.read(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0)))
70369+ e1 = syscall.GetErrno()
70370+ return
70371+}
70372+
70373+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70374+
70375+func callreadlink(_p0 uintptr, _p1 uintptr, _lenp1 int) (r1 uintptr, e1 Errno) {
70376+ r1 = uintptr(C.readlink(C.uintptr_t(_p0), C.uintptr_t(_p1), C.size_t(_lenp1)))
70377+ e1 = syscall.GetErrno()
70378+ return
70379+}
70380+
70381+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70382+
70383+func callrenameat(olddirfd int, _p0 uintptr, newdirfd int, _p1 uintptr) (r1 uintptr, e1 Errno) {
70384+ r1 = uintptr(C.renameat(C.int(olddirfd), C.uintptr_t(_p0), C.int(newdirfd), C.uintptr_t(_p1)))
70385+ e1 = syscall.GetErrno()
70386+ return
70387+}
70388+
70389+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70390+
70391+func callsetdomainname(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
70392+ r1 = uintptr(C.setdomainname(C.uintptr_t(_p0), C.size_t(_lenp0)))
70393+ e1 = syscall.GetErrno()
70394+ return
70395+}
70396+
70397+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70398+
70399+func callsethostname(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
70400+ r1 = uintptr(C.sethostname(C.uintptr_t(_p0), C.size_t(_lenp0)))
70401+ e1 = syscall.GetErrno()
70402+ return
70403+}
70404+
70405+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70406+
70407+func callsetpgid(pid int, pgid int) (r1 uintptr, e1 Errno) {
70408+ r1 = uintptr(C.setpgid(C.int(pid), C.int(pgid)))
70409+ e1 = syscall.GetErrno()
70410+ return
70411+}
70412+
70413+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70414+
70415+func callsetsid() (r1 uintptr, e1 Errno) {
70416+ r1 = uintptr(C.setsid())
70417+ e1 = syscall.GetErrno()
70418+ return
70419+}
70420+
70421+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70422+
70423+func callsettimeofday(tv uintptr) (r1 uintptr, e1 Errno) {
70424+ r1 = uintptr(C.settimeofday(C.uintptr_t(tv)))
70425+ e1 = syscall.GetErrno()
70426+ return
70427+}
70428+
70429+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70430+
70431+func callsetuid(uid int) (r1 uintptr, e1 Errno) {
70432+ r1 = uintptr(C.setuid(C.int(uid)))
70433+ e1 = syscall.GetErrno()
70434+ return
70435+}
70436+
70437+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70438+
70439+func callsetgid(uid int) (r1 uintptr, e1 Errno) {
70440+ r1 = uintptr(C.setgid(C.int(uid)))
70441+ e1 = syscall.GetErrno()
70442+ return
70443+}
70444+
70445+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70446+
70447+func callsetpriority(which int, who int, prio int) (r1 uintptr, e1 Errno) {
70448+ r1 = uintptr(C.setpriority(C.int(which), C.int(who), C.int(prio)))
70449+ e1 = syscall.GetErrno()
70450+ return
70451+}
70452+
70453+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70454+
70455+func callstatx(dirfd int, _p0 uintptr, flags int, mask int, stat uintptr) (r1 uintptr, e1 Errno) {
70456+ r1 = uintptr(C.statx(C.int(dirfd), C.uintptr_t(_p0), C.int(flags), C.int(mask), C.uintptr_t(stat)))
70457+ e1 = syscall.GetErrno()
70458+ return
70459+}
70460+
70461+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70462+
70463+func callsync() (r1 uintptr, e1 Errno) {
70464+ r1 = uintptr(C.sync())
70465+ e1 = syscall.GetErrno()
70466+ return
70467+}
70468+
70469+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70470+
70471+func calltimes(tms uintptr) (r1 uintptr, e1 Errno) {
70472+ r1 = uintptr(C.times(C.uintptr_t(tms)))
70473+ e1 = syscall.GetErrno()
70474+ return
70475+}
70476+
70477+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70478+
70479+func callumask(mask int) (r1 uintptr, e1 Errno) {
70480+ r1 = uintptr(C.umask(C.int(mask)))
70481+ e1 = syscall.GetErrno()
70482+ return
70483+}
70484+
70485+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70486+
70487+func calluname(buf uintptr) (r1 uintptr, e1 Errno) {
70488+ r1 = uintptr(C.uname(C.uintptr_t(buf)))
70489+ e1 = syscall.GetErrno()
70490+ return
70491+}
70492+
70493+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70494+
70495+func callunlink(_p0 uintptr) (r1 uintptr, e1 Errno) {
70496+ r1 = uintptr(C.unlink(C.uintptr_t(_p0)))
70497+ e1 = syscall.GetErrno()
70498+ return
70499+}
70500+
70501+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70502+
70503+func callunlinkat(dirfd int, _p0 uintptr, flags int) (r1 uintptr, e1 Errno) {
70504+ r1 = uintptr(C.unlinkat(C.int(dirfd), C.uintptr_t(_p0), C.int(flags)))
70505+ e1 = syscall.GetErrno()
70506+ return
70507+}
70508+
70509+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70510+
70511+func callustat(dev int, ubuf uintptr) (r1 uintptr, e1 Errno) {
70512+ r1 = uintptr(C.ustat(C.int(dev), C.uintptr_t(ubuf)))
70513+ e1 = syscall.GetErrno()
70514+ return
70515+}
70516+
70517+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70518+
70519+func callwrite(fd int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
70520+ r1 = uintptr(C.write(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0)))
70521+ e1 = syscall.GetErrno()
70522+ return
70523+}
70524+
70525+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70526+
70527+func calldup2(oldfd int, newfd int) (r1 uintptr, e1 Errno) {
70528+ r1 = uintptr(C.dup2(C.int(oldfd), C.int(newfd)))
70529+ e1 = syscall.GetErrno()
70530+ return
70531+}
70532+
70533+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70534+
70535+func callposix_fadvise64(fd int, offset int64, length int64, advice int) (r1 uintptr, e1 Errno) {
70536+ r1 = uintptr(C.posix_fadvise64(C.int(fd), C.longlong(offset), C.longlong(length), C.int(advice)))
70537+ e1 = syscall.GetErrno()
70538+ return
70539+}
70540+
70541+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70542+
70543+func callfchown(fd int, uid int, gid int) (r1 uintptr, e1 Errno) {
70544+ r1 = uintptr(C.fchown(C.int(fd), C.int(uid), C.int(gid)))
70545+ e1 = syscall.GetErrno()
70546+ return
70547+}
70548+
70549+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70550+
70551+func callfstat(fd int, stat uintptr) (r1 uintptr, e1 Errno) {
70552+ r1 = uintptr(C.fstat(C.int(fd), C.uintptr_t(stat)))
70553+ e1 = syscall.GetErrno()
70554+ return
70555+}
70556+
70557+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70558+
70559+func callfstatat(dirfd int, _p0 uintptr, stat uintptr, flags int) (r1 uintptr, e1 Errno) {
70560+ r1 = uintptr(C.fstatat(C.int(dirfd), C.uintptr_t(_p0), C.uintptr_t(stat), C.int(flags)))
70561+ e1 = syscall.GetErrno()
70562+ return
70563+}
70564+
70565+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70566+
70567+func callfstatfs(fd int, buf uintptr) (r1 uintptr, e1 Errno) {
70568+ r1 = uintptr(C.fstatfs(C.int(fd), C.uintptr_t(buf)))
70569+ e1 = syscall.GetErrno()
70570+ return
70571+}
70572+
70573+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70574+
70575+func callftruncate(fd int, length int64) (r1 uintptr, e1 Errno) {
70576+ r1 = uintptr(C.ftruncate(C.int(fd), C.longlong(length)))
70577+ e1 = syscall.GetErrno()
70578+ return
70579+}
70580+
70581+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70582+
70583+func callgetegid() (r1 uintptr, e1 Errno) {
70584+ r1 = uintptr(C.getegid())
70585+ e1 = syscall.GetErrno()
70586+ return
70587+}
70588+
70589+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70590+
70591+func callgeteuid() (r1 uintptr, e1 Errno) {
70592+ r1 = uintptr(C.geteuid())
70593+ e1 = syscall.GetErrno()
70594+ return
70595+}
70596+
70597+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70598+
70599+func callgetgid() (r1 uintptr, e1 Errno) {
70600+ r1 = uintptr(C.getgid())
70601+ e1 = syscall.GetErrno()
70602+ return
70603+}
70604+
70605+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70606+
70607+func callgetuid() (r1 uintptr, e1 Errno) {
70608+ r1 = uintptr(C.getuid())
70609+ e1 = syscall.GetErrno()
70610+ return
70611+}
70612+
70613+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70614+
70615+func calllchown(_p0 uintptr, uid int, gid int) (r1 uintptr, e1 Errno) {
70616+ r1 = uintptr(C.lchown(C.uintptr_t(_p0), C.int(uid), C.int(gid)))
70617+ e1 = syscall.GetErrno()
70618+ return
70619+}
70620+
70621+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70622+
70623+func calllisten(s int, n int) (r1 uintptr, e1 Errno) {
70624+ r1 = uintptr(C.listen(C.int(s), C.int(n)))
70625+ e1 = syscall.GetErrno()
70626+ return
70627+}
70628+
70629+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70630+
70631+func calllstat(_p0 uintptr, stat uintptr) (r1 uintptr, e1 Errno) {
70632+ r1 = uintptr(C.lstat(C.uintptr_t(_p0), C.uintptr_t(stat)))
70633+ e1 = syscall.GetErrno()
70634+ return
70635+}
70636+
70637+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70638+
70639+func callpause() (r1 uintptr, e1 Errno) {
70640+ r1 = uintptr(C.pause())
70641+ e1 = syscall.GetErrno()
70642+ return
70643+}
70644+
70645+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70646+
70647+func callpread64(fd int, _p0 uintptr, _lenp0 int, offset int64) (r1 uintptr, e1 Errno) {
70648+ r1 = uintptr(C.pread64(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0), C.longlong(offset)))
70649+ e1 = syscall.GetErrno()
70650+ return
70651+}
70652+
70653+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70654+
70655+func callpwrite64(fd int, _p0 uintptr, _lenp0 int, offset int64) (r1 uintptr, e1 Errno) {
70656+ r1 = uintptr(C.pwrite64(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0), C.longlong(offset)))
70657+ e1 = syscall.GetErrno()
70658+ return
70659+}
70660+
70661+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70662+
70663+func callselect(nfd int, r uintptr, w uintptr, e uintptr, timeout uintptr) (r1 uintptr, e1 Errno) {
70664+ r1 = uintptr(C.c_select(C.int(nfd), C.uintptr_t(r), C.uintptr_t(w), C.uintptr_t(e), C.uintptr_t(timeout)))
70665+ e1 = syscall.GetErrno()
70666+ return
70667+}
70668+
70669+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70670+
70671+func callpselect(nfd int, r uintptr, w uintptr, e uintptr, timeout uintptr, sigmask uintptr) (r1 uintptr, e1 Errno) {
70672+ r1 = uintptr(C.pselect(C.int(nfd), C.uintptr_t(r), C.uintptr_t(w), C.uintptr_t(e), C.uintptr_t(timeout), C.uintptr_t(sigmask)))
70673+ e1 = syscall.GetErrno()
70674+ return
70675+}
70676+
70677+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70678+
70679+func callsetregid(rgid int, egid int) (r1 uintptr, e1 Errno) {
70680+ r1 = uintptr(C.setregid(C.int(rgid), C.int(egid)))
70681+ e1 = syscall.GetErrno()
70682+ return
70683+}
70684+
70685+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70686+
70687+func callsetreuid(ruid int, euid int) (r1 uintptr, e1 Errno) {
70688+ r1 = uintptr(C.setreuid(C.int(ruid), C.int(euid)))
70689+ e1 = syscall.GetErrno()
70690+ return
70691+}
70692+
70693+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70694+
70695+func callshutdown(fd int, how int) (r1 uintptr, e1 Errno) {
70696+ r1 = uintptr(C.shutdown(C.int(fd), C.int(how)))
70697+ e1 = syscall.GetErrno()
70698+ return
70699+}
70700+
70701+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70702+
70703+func callsplice(rfd int, roff uintptr, wfd int, woff uintptr, len int, flags int) (r1 uintptr, e1 Errno) {
70704+ r1 = uintptr(C.splice(C.int(rfd), C.uintptr_t(roff), C.int(wfd), C.uintptr_t(woff), C.int(len), C.int(flags)))
70705+ e1 = syscall.GetErrno()
70706+ return
70707+}
70708+
70709+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70710+
70711+func callstat(_p0 uintptr, statptr uintptr) (r1 uintptr, e1 Errno) {
70712+ r1 = uintptr(C.stat(C.uintptr_t(_p0), C.uintptr_t(statptr)))
70713+ e1 = syscall.GetErrno()
70714+ return
70715+}
70716+
70717+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70718+
70719+func callstatfs(_p0 uintptr, buf uintptr) (r1 uintptr, e1 Errno) {
70720+ r1 = uintptr(C.statfs(C.uintptr_t(_p0), C.uintptr_t(buf)))
70721+ e1 = syscall.GetErrno()
70722+ return
70723+}
70724+
70725+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70726+
70727+func calltruncate(_p0 uintptr, length int64) (r1 uintptr, e1 Errno) {
70728+ r1 = uintptr(C.truncate(C.uintptr_t(_p0), C.longlong(length)))
70729+ e1 = syscall.GetErrno()
70730+ return
70731+}
70732+
70733+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70734+
70735+func callbind(s int, addr uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
70736+ r1 = uintptr(C.bind(C.int(s), C.uintptr_t(addr), C.uintptr_t(addrlen)))
70737+ e1 = syscall.GetErrno()
70738+ return
70739+}
70740+
70741+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70742+
70743+func callconnect(s int, addr uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
70744+ r1 = uintptr(C.connect(C.int(s), C.uintptr_t(addr), C.uintptr_t(addrlen)))
70745+ e1 = syscall.GetErrno()
70746+ return
70747+}
70748+
70749+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70750+
70751+func callgetgroups(n int, list uintptr) (r1 uintptr, e1 Errno) {
70752+ r1 = uintptr(C.getgroups(C.int(n), C.uintptr_t(list)))
70753+ e1 = syscall.GetErrno()
70754+ return
70755+}
70756+
70757+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70758+
70759+func callsetgroups(n int, list uintptr) (r1 uintptr, e1 Errno) {
70760+ r1 = uintptr(C.setgroups(C.int(n), C.uintptr_t(list)))
70761+ e1 = syscall.GetErrno()
70762+ return
70763+}
70764+
70765+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70766+
70767+func callgetsockopt(s int, level int, name int, val uintptr, vallen uintptr) (r1 uintptr, e1 Errno) {
70768+ r1 = uintptr(C.getsockopt(C.int(s), C.int(level), C.int(name), C.uintptr_t(val), C.uintptr_t(vallen)))
70769+ e1 = syscall.GetErrno()
70770+ return
70771+}
70772+
70773+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70774+
70775+func callsetsockopt(s int, level int, name int, val uintptr, vallen uintptr) (r1 uintptr, e1 Errno) {
70776+ r1 = uintptr(C.setsockopt(C.int(s), C.int(level), C.int(name), C.uintptr_t(val), C.uintptr_t(vallen)))
70777+ e1 = syscall.GetErrno()
70778+ return
70779+}
70780+
70781+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70782+
70783+func callsocket(domain int, typ int, proto int) (r1 uintptr, e1 Errno) {
70784+ r1 = uintptr(C.socket(C.int(domain), C.int(typ), C.int(proto)))
70785+ e1 = syscall.GetErrno()
70786+ return
70787+}
70788+
70789+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70790+
70791+func callsocketpair(domain int, typ int, proto int, fd uintptr) (r1 uintptr, e1 Errno) {
70792+ r1 = uintptr(C.socketpair(C.int(domain), C.int(typ), C.int(proto), C.uintptr_t(fd)))
70793+ e1 = syscall.GetErrno()
70794+ return
70795+}
70796+
70797+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70798+
70799+func callgetpeername(fd int, rsa uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
70800+ r1 = uintptr(C.getpeername(C.int(fd), C.uintptr_t(rsa), C.uintptr_t(addrlen)))
70801+ e1 = syscall.GetErrno()
70802+ return
70803+}
70804+
70805+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70806+
70807+func callgetsockname(fd int, rsa uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
70808+ r1 = uintptr(C.getsockname(C.int(fd), C.uintptr_t(rsa), C.uintptr_t(addrlen)))
70809+ e1 = syscall.GetErrno()
70810+ return
70811+}
70812+
70813+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70814+
70815+func callrecvfrom(fd int, _p0 uintptr, _lenp0 int, flags int, from uintptr, fromlen uintptr) (r1 uintptr, e1 Errno) {
70816+ r1 = uintptr(C.recvfrom(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0), C.int(flags), C.uintptr_t(from), C.uintptr_t(fromlen)))
70817+ e1 = syscall.GetErrno()
70818+ return
70819+}
70820+
70821+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70822+
70823+func callsendto(s int, _p0 uintptr, _lenp0 int, flags int, to uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
70824+ r1 = uintptr(C.sendto(C.int(s), C.uintptr_t(_p0), C.size_t(_lenp0), C.int(flags), C.uintptr_t(to), C.uintptr_t(addrlen)))
70825+ e1 = syscall.GetErrno()
70826+ return
70827+}
70828+
70829+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70830+
70831+func callnrecvmsg(s int, msg uintptr, flags int) (r1 uintptr, e1 Errno) {
70832+ r1 = uintptr(C.nrecvmsg(C.int(s), C.uintptr_t(msg), C.int(flags)))
70833+ e1 = syscall.GetErrno()
70834+ return
70835+}
70836+
70837+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70838+
70839+func callnsendmsg(s int, msg uintptr, flags int) (r1 uintptr, e1 Errno) {
70840+ r1 = uintptr(C.nsendmsg(C.int(s), C.uintptr_t(msg), C.int(flags)))
70841+ e1 = syscall.GetErrno()
70842+ return
70843+}
70844+
70845+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70846+
70847+func callmunmap(addr uintptr, length uintptr) (r1 uintptr, e1 Errno) {
70848+ r1 = uintptr(C.munmap(C.uintptr_t(addr), C.uintptr_t(length)))
70849+ e1 = syscall.GetErrno()
70850+ return
70851+}
70852+
70853+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70854+
70855+func callmadvise(_p0 uintptr, _lenp0 int, advice int) (r1 uintptr, e1 Errno) {
70856+ r1 = uintptr(C.madvise(C.uintptr_t(_p0), C.size_t(_lenp0), C.int(advice)))
70857+ e1 = syscall.GetErrno()
70858+ return
70859+}
70860+
70861+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70862+
70863+func callmprotect(_p0 uintptr, _lenp0 int, prot int) (r1 uintptr, e1 Errno) {
70864+ r1 = uintptr(C.mprotect(C.uintptr_t(_p0), C.size_t(_lenp0), C.int(prot)))
70865+ e1 = syscall.GetErrno()
70866+ return
70867+}
70868+
70869+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70870+
70871+func callmlock(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
70872+ r1 = uintptr(C.mlock(C.uintptr_t(_p0), C.size_t(_lenp0)))
70873+ e1 = syscall.GetErrno()
70874+ return
70875+}
70876+
70877+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70878+
70879+func callmlockall(flags int) (r1 uintptr, e1 Errno) {
70880+ r1 = uintptr(C.mlockall(C.int(flags)))
70881+ e1 = syscall.GetErrno()
70882+ return
70883+}
70884+
70885+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70886+
70887+func callmsync(_p0 uintptr, _lenp0 int, flags int) (r1 uintptr, e1 Errno) {
70888+ r1 = uintptr(C.msync(C.uintptr_t(_p0), C.size_t(_lenp0), C.int(flags)))
70889+ e1 = syscall.GetErrno()
70890+ return
70891+}
70892+
70893+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70894+
70895+func callmunlock(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
70896+ r1 = uintptr(C.munlock(C.uintptr_t(_p0), C.size_t(_lenp0)))
70897+ e1 = syscall.GetErrno()
70898+ return
70899+}
70900+
70901+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70902+
70903+func callmunlockall() (r1 uintptr, e1 Errno) {
70904+ r1 = uintptr(C.munlockall())
70905+ e1 = syscall.GetErrno()
70906+ return
70907+}
70908+
70909+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70910+
70911+func callpipe(p uintptr) (r1 uintptr, e1 Errno) {
70912+ r1 = uintptr(C.pipe(C.uintptr_t(p)))
70913+ e1 = syscall.GetErrno()
70914+ return
70915+}
70916+
70917+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70918+
70919+func callpoll(fds uintptr, nfds int, timeout int) (r1 uintptr, e1 Errno) {
70920+ r1 = uintptr(C.poll(C.uintptr_t(fds), C.int(nfds), C.int(timeout)))
70921+ e1 = syscall.GetErrno()
70922+ return
70923+}
70924+
70925+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70926+
70927+func callgettimeofday(tv uintptr, tzp uintptr) (r1 uintptr, e1 Errno) {
70928+ r1 = uintptr(C.gettimeofday(C.uintptr_t(tv), C.uintptr_t(tzp)))
70929+ e1 = syscall.GetErrno()
70930+ return
70931+}
70932+
70933+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70934+
70935+func calltime(t uintptr) (r1 uintptr, e1 Errno) {
70936+ r1 = uintptr(C.time(C.uintptr_t(t)))
70937+ e1 = syscall.GetErrno()
70938+ return
70939+}
70940+
70941+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70942+
70943+func callutime(_p0 uintptr, buf uintptr) (r1 uintptr, e1 Errno) {
70944+ r1 = uintptr(C.utime(C.uintptr_t(_p0), C.uintptr_t(buf)))
70945+ e1 = syscall.GetErrno()
70946+ return
70947+}
70948+
70949+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70950+
70951+func callgetsystemcfg(label int) (r1 uintptr, e1 Errno) {
70952+ r1 = uintptr(C.getsystemcfg(C.int(label)))
70953+ e1 = syscall.GetErrno()
70954+ return
70955+}
70956+
70957+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70958+
70959+func callumount(_p0 uintptr) (r1 uintptr, e1 Errno) {
70960+ r1 = uintptr(C.umount(C.uintptr_t(_p0)))
70961+ e1 = syscall.GetErrno()
70962+ return
70963+}
70964+
70965+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70966+
70967+func callgetrlimit(resource int, rlim uintptr) (r1 uintptr, e1 Errno) {
70968+ r1 = uintptr(C.getrlimit(C.int(resource), C.uintptr_t(rlim)))
70969+ e1 = syscall.GetErrno()
70970+ return
70971+}
70972+
70973+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70974+
70975+func callsetrlimit(resource int, rlim uintptr) (r1 uintptr, e1 Errno) {
70976+ r1 = uintptr(C.setrlimit(C.int(resource), C.uintptr_t(rlim)))
70977+ e1 = syscall.GetErrno()
70978+ return
70979+}
70980+
70981+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70982+
70983+func calllseek(fd int, offset int64, whence int) (r1 uintptr, e1 Errno) {
70984+ r1 = uintptr(C.lseek(C.int(fd), C.longlong(offset), C.int(whence)))
70985+ e1 = syscall.GetErrno()
70986+ return
70987+}
70988+
70989+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
70990+
70991+func callmmap64(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (r1 uintptr, e1 Errno) {
70992+ r1 = uintptr(C.mmap64(C.uintptr_t(addr), C.uintptr_t(length), C.int(prot), C.int(flags), C.int(fd), C.longlong(offset)))
70993+ e1 = syscall.GetErrno()
70994+ return
70995+}
70996diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_11.go
70997similarity index 85%
70998copy from vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go
70999copy to vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_11.go
71000index 7a409745..c1cc0a41 100644
71001--- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go
71002+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_11.go
71003@@ -1,7 +1,7 @@
71004-// mksyscall.pl -tags darwin,arm syscall_bsd.go syscall_darwin.go syscall_darwin_arm.go
71005+// go run mksyscall.go -l32 -tags darwin,386,!go1.12 syscall_bsd.go syscall_darwin.go syscall_darwin_386.1_11.go syscall_darwin_386.go
71006 // Code generated by the command above; see README.md. DO NOT EDIT.
71007
71008-// +build darwin,arm
71009+// +build darwin,386,!go1.12
71010
71011 package unix
71012
71013@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
71014
71015 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71016
71017-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
71018- var _p0 unsafe.Pointer
71019- if len(mib) > 0 {
71020- _p0 = unsafe.Pointer(&mib[0])
71021- } else {
71022- _p0 = unsafe.Pointer(&_zero)
71023- }
71024- _, _, e1 := Syscall6(SYS_SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
71025- if e1 != 0 {
71026- err = errnoErr(e1)
71027- }
71028- return
71029-}
71030-
71031-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71032-
71033 func utimes(path string, timeval *[2]Timeval) (err error) {
71034 var _p0 *byte
71035 _p0, err = BytePtrFromString(path)
71036@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
71037
71038 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71039
71040-func fcntl(fd int, cmd int, arg int) (val int, err error) {
71041- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
71042- val = int(r0)
71043+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
71044+ r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
71045+ n = int(r0)
71046 if e1 != 0 {
71047 err = errnoErr(e1)
71048 }
71049@@ -366,8 +350,8 @@ func Munlockall() (err error) {
71050
71051 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71052
71053-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
71054- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
71055+func getattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
71056+ _, _, e1 := Syscall6(SYS_GETATTRLIST, uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
71057 if e1 != 0 {
71058 err = errnoErr(e1)
71059 }
71060@@ -388,6 +372,161 @@ func pipe() (r int, w int, err error) {
71061
71062 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71063
71064+func getxattr(path string, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
71065+ var _p0 *byte
71066+ _p0, err = BytePtrFromString(path)
71067+ if err != nil {
71068+ return
71069+ }
71070+ var _p1 *byte
71071+ _p1, err = BytePtrFromString(attr)
71072+ if err != nil {
71073+ return
71074+ }
71075+ r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
71076+ sz = int(r0)
71077+ if e1 != 0 {
71078+ err = errnoErr(e1)
71079+ }
71080+ return
71081+}
71082+
71083+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71084+
71085+func fgetxattr(fd int, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
71086+ var _p0 *byte
71087+ _p0, err = BytePtrFromString(attr)
71088+ if err != nil {
71089+ return
71090+ }
71091+ r0, _, e1 := Syscall6(SYS_FGETXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
71092+ sz = int(r0)
71093+ if e1 != 0 {
71094+ err = errnoErr(e1)
71095+ }
71096+ return
71097+}
71098+
71099+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71100+
71101+func setxattr(path string, attr string, data *byte, size int, position uint32, options int) (err error) {
71102+ var _p0 *byte
71103+ _p0, err = BytePtrFromString(path)
71104+ if err != nil {
71105+ return
71106+ }
71107+ var _p1 *byte
71108+ _p1, err = BytePtrFromString(attr)
71109+ if err != nil {
71110+ return
71111+ }
71112+ _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
71113+ if e1 != 0 {
71114+ err = errnoErr(e1)
71115+ }
71116+ return
71117+}
71118+
71119+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71120+
71121+func fsetxattr(fd int, attr string, data *byte, size int, position uint32, options int) (err error) {
71122+ var _p0 *byte
71123+ _p0, err = BytePtrFromString(attr)
71124+ if err != nil {
71125+ return
71126+ }
71127+ _, _, e1 := Syscall6(SYS_FSETXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
71128+ if e1 != 0 {
71129+ err = errnoErr(e1)
71130+ }
71131+ return
71132+}
71133+
71134+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71135+
71136+func removexattr(path string, attr string, options int) (err error) {
71137+ var _p0 *byte
71138+ _p0, err = BytePtrFromString(path)
71139+ if err != nil {
71140+ return
71141+ }
71142+ var _p1 *byte
71143+ _p1, err = BytePtrFromString(attr)
71144+ if err != nil {
71145+ return
71146+ }
71147+ _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
71148+ if e1 != 0 {
71149+ err = errnoErr(e1)
71150+ }
71151+ return
71152+}
71153+
71154+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71155+
71156+func fremovexattr(fd int, attr string, options int) (err error) {
71157+ var _p0 *byte
71158+ _p0, err = BytePtrFromString(attr)
71159+ if err != nil {
71160+ return
71161+ }
71162+ _, _, e1 := Syscall(SYS_FREMOVEXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(options))
71163+ if e1 != 0 {
71164+ err = errnoErr(e1)
71165+ }
71166+ return
71167+}
71168+
71169+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71170+
71171+func listxattr(path string, dest *byte, size int, options int) (sz int, err error) {
71172+ var _p0 *byte
71173+ _p0, err = BytePtrFromString(path)
71174+ if err != nil {
71175+ return
71176+ }
71177+ r0, _, e1 := Syscall6(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
71178+ sz = int(r0)
71179+ if e1 != 0 {
71180+ err = errnoErr(e1)
71181+ }
71182+ return
71183+}
71184+
71185+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71186+
71187+func flistxattr(fd int, dest *byte, size int, options int) (sz int, err error) {
71188+ r0, _, e1 := Syscall6(SYS_FLISTXATTR, uintptr(fd), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
71189+ sz = int(r0)
71190+ if e1 != 0 {
71191+ err = errnoErr(e1)
71192+ }
71193+ return
71194+}
71195+
71196+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71197+
71198+func setattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
71199+ _, _, e1 := Syscall6(SYS_SETATTRLIST, uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
71200+ if e1 != 0 {
71201+ err = errnoErr(e1)
71202+ }
71203+ return
71204+}
71205+
71206+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71207+
71208+func fcntl(fd int, cmd int, arg int) (val int, err error) {
71209+ r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
71210+ val = int(r0)
71211+ if e1 != 0 {
71212+ err = errnoErr(e1)
71213+ }
71214+ return
71215+}
71216+
71217+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71218+
71219 func kill(pid int, signum int, posix int) (err error) {
71220 _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
71221 if e1 != 0 {
71222@@ -408,6 +547,32 @@ func ioctl(fd int, req uint, arg uintptr) (err error) {
71223
71224 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71225
71226+func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
71227+ var _p0 unsafe.Pointer
71228+ if len(mib) > 0 {
71229+ _p0 = unsafe.Pointer(&mib[0])
71230+ } else {
71231+ _p0 = unsafe.Pointer(&_zero)
71232+ }
71233+ _, _, e1 := Syscall6(SYS_SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
71234+ if e1 != 0 {
71235+ err = errnoErr(e1)
71236+ }
71237+ return
71238+}
71239+
71240+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71241+
71242+func sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) {
71243+ _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(offset), uintptr(offset>>32), uintptr(unsafe.Pointer(len)), uintptr(hdtr), uintptr(flags), 0, 0)
71244+ if e1 != 0 {
71245+ err = errnoErr(e1)
71246+ }
71247+ return
71248+}
71249+
71250+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71251+
71252 func Access(path string, mode uint32) (err error) {
71253 var _p0 *byte
71254 _p0, err = BytePtrFromString(path)
71255@@ -672,26 +837,6 @@ func Fpathconf(fd int, name int) (val int, err error) {
71256
71257 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71258
71259-func Fstat(fd int, stat *Stat_t) (err error) {
71260- _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
71261- if e1 != 0 {
71262- err = errnoErr(e1)
71263- }
71264- return
71265-}
71266-
71267-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71268-
71269-func Fstatfs(fd int, stat *Statfs_t) (err error) {
71270- _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
71271- if e1 != 0 {
71272- err = errnoErr(e1)
71273- }
71274- return
71275-}
71276-
71277-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71278-
71279 func Fsync(fd int) (err error) {
71280 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
71281 if e1 != 0 {
71282@@ -712,23 +857,6 @@ func Ftruncate(fd int, length int64) (err error) {
71283
71284 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71285
71286-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
71287- var _p0 unsafe.Pointer
71288- if len(buf) > 0 {
71289- _p0 = unsafe.Pointer(&buf[0])
71290- } else {
71291- _p0 = unsafe.Pointer(&_zero)
71292- }
71293- r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
71294- n = int(r0)
71295- if e1 != 0 {
71296- err = errnoErr(e1)
71297- }
71298- return
71299-}
71300-
71301-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71302-
71303 func Getdtablesize() (size int) {
71304 r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
71305 size = int(r0)
71306@@ -930,21 +1058,6 @@ func Listen(s int, backlog int) (err error) {
71307
71308 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71309
71310-func Lstat(path string, stat *Stat_t) (err error) {
71311- var _p0 *byte
71312- _p0, err = BytePtrFromString(path)
71313- if err != nil {
71314- return
71315- }
71316- _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
71317- if e1 != 0 {
71318- err = errnoErr(e1)
71319- }
71320- return
71321-}
71322-
71323-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71324-
71325 func Mkdir(path string, mode uint32) (err error) {
71326 var _p0 *byte
71327 _p0, err = BytePtrFromString(path)
71328@@ -1229,8 +1342,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
71329
71330 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71331
71332-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
71333- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
71334+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
71335+ r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
71336+ n = int(r0)
71337 if e1 != 0 {
71338 err = errnoErr(e1)
71339 }
71340@@ -1375,36 +1489,6 @@ func Setuid(uid int) (err error) {
71341
71342 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71343
71344-func Stat(path string, stat *Stat_t) (err error) {
71345- var _p0 *byte
71346- _p0, err = BytePtrFromString(path)
71347- if err != nil {
71348- return
71349- }
71350- _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
71351- if e1 != 0 {
71352- err = errnoErr(e1)
71353- }
71354- return
71355-}
71356-
71357-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71358-
71359-func Statfs(path string, stat *Statfs_t) (err error) {
71360- var _p0 *byte
71361- _p0, err = BytePtrFromString(path)
71362- if err != nil {
71363- return
71364- }
71365- _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
71366- if e1 != 0 {
71367- err = errnoErr(e1)
71368- }
71369- return
71370-}
71371-
71372-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71373-
71374 func Symlink(path string, link string) (err error) {
71375 var _p0 *byte
71376 _p0, err = BytePtrFromString(path)
71377@@ -1598,6 +1682,33 @@ func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
71378
71379 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71380
71381+func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
71382+ var _p0 unsafe.Pointer
71383+ if len(buf) > 0 {
71384+ _p0 = unsafe.Pointer(&buf[0])
71385+ } else {
71386+ _p0 = unsafe.Pointer(&_zero)
71387+ }
71388+ r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
71389+ n = int(r0)
71390+ if e1 != 0 {
71391+ err = errnoErr(e1)
71392+ }
71393+ return
71394+}
71395+
71396+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71397+
71398+func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
71399+ _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
71400+ if e1 != 0 {
71401+ err = errnoErr(e1)
71402+ }
71403+ return
71404+}
71405+
71406+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71407+
71408 func gettimeofday(tp *Timeval) (sec int32, usec int32, err error) {
71409 r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
71410 sec = int32(r0)
71411@@ -1607,3 +1718,94 @@ func gettimeofday(tp *Timeval) (sec int32, usec int32, err error) {
71412 }
71413 return
71414 }
71415+
71416+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71417+
71418+func Fstat(fd int, stat *Stat_t) (err error) {
71419+ _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
71420+ if e1 != 0 {
71421+ err = errnoErr(e1)
71422+ }
71423+ return
71424+}
71425+
71426+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71427+
71428+func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
71429+ var _p0 *byte
71430+ _p0, err = BytePtrFromString(path)
71431+ if err != nil {
71432+ return
71433+ }
71434+ _, _, e1 := Syscall6(SYS_FSTATAT64, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
71435+ if e1 != 0 {
71436+ err = errnoErr(e1)
71437+ }
71438+ return
71439+}
71440+
71441+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71442+
71443+func Fstatfs(fd int, stat *Statfs_t) (err error) {
71444+ _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
71445+ if e1 != 0 {
71446+ err = errnoErr(e1)
71447+ }
71448+ return
71449+}
71450+
71451+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71452+
71453+func getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) {
71454+ r0, _, e1 := Syscall(SYS_GETFSSTAT64, uintptr(buf), uintptr(size), uintptr(flags))
71455+ n = int(r0)
71456+ if e1 != 0 {
71457+ err = errnoErr(e1)
71458+ }
71459+ return
71460+}
71461+
71462+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71463+
71464+func Lstat(path string, stat *Stat_t) (err error) {
71465+ var _p0 *byte
71466+ _p0, err = BytePtrFromString(path)
71467+ if err != nil {
71468+ return
71469+ }
71470+ _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
71471+ if e1 != 0 {
71472+ err = errnoErr(e1)
71473+ }
71474+ return
71475+}
71476+
71477+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71478+
71479+func Stat(path string, stat *Stat_t) (err error) {
71480+ var _p0 *byte
71481+ _p0, err = BytePtrFromString(path)
71482+ if err != nil {
71483+ return
71484+ }
71485+ _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
71486+ if e1 != 0 {
71487+ err = errnoErr(e1)
71488+ }
71489+ return
71490+}
71491+
71492+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71493+
71494+func Statfs(path string, stat *Statfs_t) (err error) {
71495+ var _p0 *byte
71496+ _p0, err = BytePtrFromString(path)
71497+ if err != nil {
71498+ return
71499+ }
71500+ _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
71501+ if e1 != 0 {
71502+ err = errnoErr(e1)
71503+ }
71504+ return
71505+}
71506diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_13.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_13.go
71507new file mode 100644
71508index 00000000..e263fbdb
71509--- /dev/null
71510+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_13.go
71511@@ -0,0 +1,41 @@
71512+// go run mksyscall.go -l32 -tags darwin,386,go1.13 syscall_darwin.1_13.go
71513+// Code generated by the command above; see README.md. DO NOT EDIT.
71514+
71515+// +build darwin,386,go1.13
71516+
71517+package unix
71518+
71519+import (
71520+ "syscall"
71521+ "unsafe"
71522+)
71523+
71524+var _ syscall.Errno
71525+
71526+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71527+
71528+func closedir(dir uintptr) (err error) {
71529+ _, _, e1 := syscall_syscall(funcPC(libc_closedir_trampoline), uintptr(dir), 0, 0)
71530+ if e1 != 0 {
71531+ err = errnoErr(e1)
71532+ }
71533+ return
71534+}
71535+
71536+func libc_closedir_trampoline()
71537+
71538+//go:linkname libc_closedir libc_closedir
71539+//go:cgo_import_dynamic libc_closedir closedir "/usr/lib/libSystem.B.dylib"
71540+
71541+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71542+
71543+func readdir_r(dir uintptr, entry *Dirent, result **Dirent) (res Errno) {
71544+ r0, _, _ := syscall_syscall(funcPC(libc_readdir_r_trampoline), uintptr(dir), uintptr(unsafe.Pointer(entry)), uintptr(unsafe.Pointer(result)))
71545+ res = Errno(r0)
71546+ return
71547+}
71548+
71549+func libc_readdir_r_trampoline()
71550+
71551+//go:linkname libc_readdir_r libc_readdir_r
71552+//go:cgo_import_dynamic libc_readdir_r readdir_r "/usr/lib/libSystem.B.dylib"
71553diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_13.s b/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_13.s
71554new file mode 100644
71555index 00000000..00da1ebf
71556--- /dev/null
71557+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_13.s
71558@@ -0,0 +1,12 @@
71559+// go run mkasm_darwin.go 386
71560+// Code generated by the command above; DO NOT EDIT.
71561+
71562+// +build go1.13
71563+
71564+#include "textflag.h"
71565+TEXT ·libc_fdopendir_trampoline(SB),NOSPLIT,$0-0
71566+ JMP libc_fdopendir(SB)
71567+TEXT ·libc_closedir_trampoline(SB),NOSPLIT,$0-0
71568+ JMP libc_closedir(SB)
71569+TEXT ·libc_readdir_r_trampoline(SB),NOSPLIT,$0-0
71570+ JMP libc_readdir_r(SB)
71571diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go
71572index 10491e9e..a3fc4900 100644
71573--- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go
71574+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go
71575@@ -1,7 +1,7 @@
71576-// mksyscall.pl -l32 -tags darwin,386 syscall_bsd.go syscall_darwin.go syscall_darwin_386.go
71577+// go run mksyscall.go -l32 -tags darwin,386,go1.12 syscall_bsd.go syscall_darwin.go syscall_darwin_386.go
71578 // Code generated by the command above; see README.md. DO NOT EDIT.
71579
71580-// +build darwin,386
71581+// +build darwin,386,go1.12
71582
71583 package unix
71584
71585@@ -15,7 +15,7 @@ var _ syscall.Errno
71586 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71587
71588 func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
71589- r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
71590+ r0, _, e1 := syscall_rawSyscall(funcPC(libc_getgroups_trampoline), uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
71591 n = int(r0)
71592 if e1 != 0 {
71593 err = errnoErr(e1)
71594@@ -23,20 +23,30 @@ func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
71595 return
71596 }
71597
71598+func libc_getgroups_trampoline()
71599+
71600+//go:linkname libc_getgroups libc_getgroups
71601+//go:cgo_import_dynamic libc_getgroups getgroups "/usr/lib/libSystem.B.dylib"
71602+
71603 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71604
71605 func setgroups(ngid int, gid *_Gid_t) (err error) {
71606- _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
71607+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setgroups_trampoline), uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
71608 if e1 != 0 {
71609 err = errnoErr(e1)
71610 }
71611 return
71612 }
71613
71614+func libc_setgroups_trampoline()
71615+
71616+//go:linkname libc_setgroups libc_setgroups
71617+//go:cgo_import_dynamic libc_setgroups setgroups "/usr/lib/libSystem.B.dylib"
71618+
71619 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71620
71621 func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
71622- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
71623+ r0, _, e1 := syscall_syscall6(funcPC(libc_wait4_trampoline), uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
71624 wpid = int(r0)
71625 if e1 != 0 {
71626 err = errnoErr(e1)
71627@@ -44,10 +54,15 @@ func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err
71628 return
71629 }
71630
71631+func libc_wait4_trampoline()
71632+
71633+//go:linkname libc_wait4 libc_wait4
71634+//go:cgo_import_dynamic libc_wait4 wait4 "/usr/lib/libSystem.B.dylib"
71635+
71636 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71637
71638 func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
71639- r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
71640+ r0, _, e1 := syscall_syscall(funcPC(libc_accept_trampoline), uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
71641 fd = int(r0)
71642 if e1 != 0 {
71643 err = errnoErr(e1)
71644@@ -55,30 +70,45 @@ func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
71645 return
71646 }
71647
71648+func libc_accept_trampoline()
71649+
71650+//go:linkname libc_accept libc_accept
71651+//go:cgo_import_dynamic libc_accept accept "/usr/lib/libSystem.B.dylib"
71652+
71653 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71654
71655 func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
71656- _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
71657+ _, _, e1 := syscall_syscall(funcPC(libc_bind_trampoline), uintptr(s), uintptr(addr), uintptr(addrlen))
71658 if e1 != 0 {
71659 err = errnoErr(e1)
71660 }
71661 return
71662 }
71663
71664+func libc_bind_trampoline()
71665+
71666+//go:linkname libc_bind libc_bind
71667+//go:cgo_import_dynamic libc_bind bind "/usr/lib/libSystem.B.dylib"
71668+
71669 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71670
71671 func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
71672- _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
71673+ _, _, e1 := syscall_syscall(funcPC(libc_connect_trampoline), uintptr(s), uintptr(addr), uintptr(addrlen))
71674 if e1 != 0 {
71675 err = errnoErr(e1)
71676 }
71677 return
71678 }
71679
71680+func libc_connect_trampoline()
71681+
71682+//go:linkname libc_connect libc_connect
71683+//go:cgo_import_dynamic libc_connect connect "/usr/lib/libSystem.B.dylib"
71684+
71685 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71686
71687 func socket(domain int, typ int, proto int) (fd int, err error) {
71688- r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
71689+ r0, _, e1 := syscall_rawSyscall(funcPC(libc_socket_trampoline), uintptr(domain), uintptr(typ), uintptr(proto))
71690 fd = int(r0)
71691 if e1 != 0 {
71692 err = errnoErr(e1)
71693@@ -86,66 +116,101 @@ func socket(domain int, typ int, proto int) (fd int, err error) {
71694 return
71695 }
71696
71697+func libc_socket_trampoline()
71698+
71699+//go:linkname libc_socket libc_socket
71700+//go:cgo_import_dynamic libc_socket socket "/usr/lib/libSystem.B.dylib"
71701+
71702 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71703
71704 func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
71705- _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
71706+ _, _, e1 := syscall_syscall6(funcPC(libc_getsockopt_trampoline), uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
71707 if e1 != 0 {
71708 err = errnoErr(e1)
71709 }
71710 return
71711 }
71712
71713+func libc_getsockopt_trampoline()
71714+
71715+//go:linkname libc_getsockopt libc_getsockopt
71716+//go:cgo_import_dynamic libc_getsockopt getsockopt "/usr/lib/libSystem.B.dylib"
71717+
71718 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71719
71720 func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
71721- _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
71722+ _, _, e1 := syscall_syscall6(funcPC(libc_setsockopt_trampoline), uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
71723 if e1 != 0 {
71724 err = errnoErr(e1)
71725 }
71726 return
71727 }
71728
71729+func libc_setsockopt_trampoline()
71730+
71731+//go:linkname libc_setsockopt libc_setsockopt
71732+//go:cgo_import_dynamic libc_setsockopt setsockopt "/usr/lib/libSystem.B.dylib"
71733+
71734 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71735
71736 func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
71737- _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
71738+ _, _, e1 := syscall_rawSyscall(funcPC(libc_getpeername_trampoline), uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
71739 if e1 != 0 {
71740 err = errnoErr(e1)
71741 }
71742 return
71743 }
71744
71745+func libc_getpeername_trampoline()
71746+
71747+//go:linkname libc_getpeername libc_getpeername
71748+//go:cgo_import_dynamic libc_getpeername getpeername "/usr/lib/libSystem.B.dylib"
71749+
71750 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71751
71752 func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
71753- _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
71754+ _, _, e1 := syscall_rawSyscall(funcPC(libc_getsockname_trampoline), uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
71755 if e1 != 0 {
71756 err = errnoErr(e1)
71757 }
71758 return
71759 }
71760
71761+func libc_getsockname_trampoline()
71762+
71763+//go:linkname libc_getsockname libc_getsockname
71764+//go:cgo_import_dynamic libc_getsockname getsockname "/usr/lib/libSystem.B.dylib"
71765+
71766 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71767
71768 func Shutdown(s int, how int) (err error) {
71769- _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
71770+ _, _, e1 := syscall_syscall(funcPC(libc_shutdown_trampoline), uintptr(s), uintptr(how), 0)
71771 if e1 != 0 {
71772 err = errnoErr(e1)
71773 }
71774 return
71775 }
71776
71777+func libc_shutdown_trampoline()
71778+
71779+//go:linkname libc_shutdown libc_shutdown
71780+//go:cgo_import_dynamic libc_shutdown shutdown "/usr/lib/libSystem.B.dylib"
71781+
71782 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71783
71784 func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
71785- _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
71786+ _, _, e1 := syscall_rawSyscall6(funcPC(libc_socketpair_trampoline), uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
71787 if e1 != 0 {
71788 err = errnoErr(e1)
71789 }
71790 return
71791 }
71792
71793+func libc_socketpair_trampoline()
71794+
71795+//go:linkname libc_socketpair libc_socketpair
71796+//go:cgo_import_dynamic libc_socketpair socketpair "/usr/lib/libSystem.B.dylib"
71797+
71798 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71799
71800 func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
71801@@ -155,7 +220,7 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl
71802 } else {
71803 _p0 = unsafe.Pointer(&_zero)
71804 }
71805- r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
71806+ r0, _, e1 := syscall_syscall6(funcPC(libc_recvfrom_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
71807 n = int(r0)
71808 if e1 != 0 {
71809 err = errnoErr(e1)
71810@@ -163,6 +228,11 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl
71811 return
71812 }
71813
71814+func libc_recvfrom_trampoline()
71815+
71816+//go:linkname libc_recvfrom libc_recvfrom
71817+//go:cgo_import_dynamic libc_recvfrom recvfrom "/usr/lib/libSystem.B.dylib"
71818+
71819 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71820
71821 func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
71822@@ -172,17 +242,22 @@ func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (
71823 } else {
71824 _p0 = unsafe.Pointer(&_zero)
71825 }
71826- _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
71827+ _, _, e1 := syscall_syscall6(funcPC(libc_sendto_trampoline), uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
71828 if e1 != 0 {
71829 err = errnoErr(e1)
71830 }
71831 return
71832 }
71833
71834+func libc_sendto_trampoline()
71835+
71836+//go:linkname libc_sendto libc_sendto
71837+//go:cgo_import_dynamic libc_sendto sendto "/usr/lib/libSystem.B.dylib"
71838+
71839 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71840
71841 func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
71842- r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
71843+ r0, _, e1 := syscall_syscall(funcPC(libc_recvmsg_trampoline), uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
71844 n = int(r0)
71845 if e1 != 0 {
71846 err = errnoErr(e1)
71847@@ -190,10 +265,15 @@ func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
71848 return
71849 }
71850
71851+func libc_recvmsg_trampoline()
71852+
71853+//go:linkname libc_recvmsg libc_recvmsg
71854+//go:cgo_import_dynamic libc_recvmsg recvmsg "/usr/lib/libSystem.B.dylib"
71855+
71856 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71857
71858 func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
71859- r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
71860+ r0, _, e1 := syscall_syscall(funcPC(libc_sendmsg_trampoline), uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
71861 n = int(r0)
71862 if e1 != 0 {
71863 err = errnoErr(e1)
71864@@ -201,10 +281,15 @@ func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
71865 return
71866 }
71867
71868+func libc_sendmsg_trampoline()
71869+
71870+//go:linkname libc_sendmsg libc_sendmsg
71871+//go:cgo_import_dynamic libc_sendmsg sendmsg "/usr/lib/libSystem.B.dylib"
71872+
71873 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71874
71875 func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
71876- r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
71877+ r0, _, e1 := syscall_syscall6(funcPC(libc_kevent_trampoline), uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
71878 n = int(r0)
71879 if e1 != 0 {
71880 err = errnoErr(e1)
71881@@ -212,21 +297,10 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
71882 return
71883 }
71884
71885-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71886+func libc_kevent_trampoline()
71887
71888-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
71889- var _p0 unsafe.Pointer
71890- if len(mib) > 0 {
71891- _p0 = unsafe.Pointer(&mib[0])
71892- } else {
71893- _p0 = unsafe.Pointer(&_zero)
71894- }
71895- _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
71896- if e1 != 0 {
71897- err = errnoErr(e1)
71898- }
71899- return
71900-}
71901+//go:linkname libc_kevent libc_kevent
71902+//go:cgo_import_dynamic libc_kevent kevent "/usr/lib/libSystem.B.dylib"
71903
71904 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71905
71906@@ -236,34 +310,49 @@ func utimes(path string, timeval *[2]Timeval) (err error) {
71907 if err != nil {
71908 return
71909 }
71910- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
71911+ _, _, e1 := syscall_syscall(funcPC(libc_utimes_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
71912 if e1 != 0 {
71913 err = errnoErr(e1)
71914 }
71915 return
71916 }
71917
71918+func libc_utimes_trampoline()
71919+
71920+//go:linkname libc_utimes libc_utimes
71921+//go:cgo_import_dynamic libc_utimes utimes "/usr/lib/libSystem.B.dylib"
71922+
71923 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71924
71925 func futimes(fd int, timeval *[2]Timeval) (err error) {
71926- _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
71927+ _, _, e1 := syscall_syscall(funcPC(libc_futimes_trampoline), uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
71928 if e1 != 0 {
71929 err = errnoErr(e1)
71930 }
71931 return
71932 }
71933
71934+func libc_futimes_trampoline()
71935+
71936+//go:linkname libc_futimes libc_futimes
71937+//go:cgo_import_dynamic libc_futimes futimes "/usr/lib/libSystem.B.dylib"
71938+
71939 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71940
71941-func fcntl(fd int, cmd int, arg int) (val int, err error) {
71942- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
71943- val = int(r0)
71944+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
71945+ r0, _, e1 := syscall_syscall(funcPC(libc_poll_trampoline), uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
71946+ n = int(r0)
71947 if e1 != 0 {
71948 err = errnoErr(e1)
71949 }
71950 return
71951 }
71952
71953+func libc_poll_trampoline()
71954+
71955+//go:linkname libc_poll libc_poll
71956+//go:cgo_import_dynamic libc_poll poll "/usr/lib/libSystem.B.dylib"
71957+
71958 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71959
71960 func Madvise(b []byte, behav int) (err error) {
71961@@ -273,13 +362,18 @@ func Madvise(b []byte, behav int) (err error) {
71962 } else {
71963 _p0 = unsafe.Pointer(&_zero)
71964 }
71965- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(behav))
71966+ _, _, e1 := syscall_syscall(funcPC(libc_madvise_trampoline), uintptr(_p0), uintptr(len(b)), uintptr(behav))
71967 if e1 != 0 {
71968 err = errnoErr(e1)
71969 }
71970 return
71971 }
71972
71973+func libc_madvise_trampoline()
71974+
71975+//go:linkname libc_madvise libc_madvise
71976+//go:cgo_import_dynamic libc_madvise madvise "/usr/lib/libSystem.B.dylib"
71977+
71978 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71979
71980 func Mlock(b []byte) (err error) {
71981@@ -289,23 +383,33 @@ func Mlock(b []byte) (err error) {
71982 } else {
71983 _p0 = unsafe.Pointer(&_zero)
71984 }
71985- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
71986+ _, _, e1 := syscall_syscall(funcPC(libc_mlock_trampoline), uintptr(_p0), uintptr(len(b)), 0)
71987 if e1 != 0 {
71988 err = errnoErr(e1)
71989 }
71990 return
71991 }
71992
71993+func libc_mlock_trampoline()
71994+
71995+//go:linkname libc_mlock libc_mlock
71996+//go:cgo_import_dynamic libc_mlock mlock "/usr/lib/libSystem.B.dylib"
71997+
71998 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
71999
72000 func Mlockall(flags int) (err error) {
72001- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
72002+ _, _, e1 := syscall_syscall(funcPC(libc_mlockall_trampoline), uintptr(flags), 0, 0)
72003 if e1 != 0 {
72004 err = errnoErr(e1)
72005 }
72006 return
72007 }
72008
72009+func libc_mlockall_trampoline()
72010+
72011+//go:linkname libc_mlockall libc_mlockall
72012+//go:cgo_import_dynamic libc_mlockall mlockall "/usr/lib/libSystem.B.dylib"
72013+
72014 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72015
72016 func Mprotect(b []byte, prot int) (err error) {
72017@@ -315,13 +419,18 @@ func Mprotect(b []byte, prot int) (err error) {
72018 } else {
72019 _p0 = unsafe.Pointer(&_zero)
72020 }
72021- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
72022+ _, _, e1 := syscall_syscall(funcPC(libc_mprotect_trampoline), uintptr(_p0), uintptr(len(b)), uintptr(prot))
72023 if e1 != 0 {
72024 err = errnoErr(e1)
72025 }
72026 return
72027 }
72028
72029+func libc_mprotect_trampoline()
72030+
72031+//go:linkname libc_mprotect libc_mprotect
72032+//go:cgo_import_dynamic libc_mprotect mprotect "/usr/lib/libSystem.B.dylib"
72033+
72034 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72035
72036 func Msync(b []byte, flags int) (err error) {
72037@@ -331,13 +440,18 @@ func Msync(b []byte, flags int) (err error) {
72038 } else {
72039 _p0 = unsafe.Pointer(&_zero)
72040 }
72041- _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags))
72042+ _, _, e1 := syscall_syscall(funcPC(libc_msync_trampoline), uintptr(_p0), uintptr(len(b)), uintptr(flags))
72043 if e1 != 0 {
72044 err = errnoErr(e1)
72045 }
72046 return
72047 }
72048
72049+func libc_msync_trampoline()
72050+
72051+//go:linkname libc_msync libc_msync
72052+//go:cgo_import_dynamic libc_msync msync "/usr/lib/libSystem.B.dylib"
72053+
72054 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72055
72056 func Munlock(b []byte) (err error) {
72057@@ -347,37 +461,52 @@ func Munlock(b []byte) (err error) {
72058 } else {
72059 _p0 = unsafe.Pointer(&_zero)
72060 }
72061- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
72062+ _, _, e1 := syscall_syscall(funcPC(libc_munlock_trampoline), uintptr(_p0), uintptr(len(b)), 0)
72063 if e1 != 0 {
72064 err = errnoErr(e1)
72065 }
72066 return
72067 }
72068
72069+func libc_munlock_trampoline()
72070+
72071+//go:linkname libc_munlock libc_munlock
72072+//go:cgo_import_dynamic libc_munlock munlock "/usr/lib/libSystem.B.dylib"
72073+
72074 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72075
72076 func Munlockall() (err error) {
72077- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
72078+ _, _, e1 := syscall_syscall(funcPC(libc_munlockall_trampoline), 0, 0, 0)
72079 if e1 != 0 {
72080 err = errnoErr(e1)
72081 }
72082 return
72083 }
72084
72085+func libc_munlockall_trampoline()
72086+
72087+//go:linkname libc_munlockall libc_munlockall
72088+//go:cgo_import_dynamic libc_munlockall munlockall "/usr/lib/libSystem.B.dylib"
72089+
72090 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72091
72092-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
72093- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
72094+func getattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
72095+ _, _, e1 := syscall_syscall6(funcPC(libc_getattrlist_trampoline), uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
72096 if e1 != 0 {
72097 err = errnoErr(e1)
72098 }
72099 return
72100 }
72101
72102+func libc_getattrlist_trampoline()
72103+
72104+//go:linkname libc_getattrlist libc_getattrlist
72105+//go:cgo_import_dynamic libc_getattrlist getattrlist "/usr/lib/libSystem.B.dylib"
72106+
72107 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72108
72109 func pipe() (r int, w int, err error) {
72110- r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
72111+ r0, r1, e1 := syscall_rawSyscall(funcPC(libc_pipe_trampoline), 0, 0, 0)
72112 r = int(r0)
72113 w = int(r1)
72114 if e1 != 0 {
72115@@ -386,26 +515,282 @@ func pipe() (r int, w int, err error) {
72116 return
72117 }
72118
72119+func libc_pipe_trampoline()
72120+
72121+//go:linkname libc_pipe libc_pipe
72122+//go:cgo_import_dynamic libc_pipe pipe "/usr/lib/libSystem.B.dylib"
72123+
72124+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72125+
72126+func getxattr(path string, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
72127+ var _p0 *byte
72128+ _p0, err = BytePtrFromString(path)
72129+ if err != nil {
72130+ return
72131+ }
72132+ var _p1 *byte
72133+ _p1, err = BytePtrFromString(attr)
72134+ if err != nil {
72135+ return
72136+ }
72137+ r0, _, e1 := syscall_syscall6(funcPC(libc_getxattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
72138+ sz = int(r0)
72139+ if e1 != 0 {
72140+ err = errnoErr(e1)
72141+ }
72142+ return
72143+}
72144+
72145+func libc_getxattr_trampoline()
72146+
72147+//go:linkname libc_getxattr libc_getxattr
72148+//go:cgo_import_dynamic libc_getxattr getxattr "/usr/lib/libSystem.B.dylib"
72149+
72150+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72151+
72152+func fgetxattr(fd int, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
72153+ var _p0 *byte
72154+ _p0, err = BytePtrFromString(attr)
72155+ if err != nil {
72156+ return
72157+ }
72158+ r0, _, e1 := syscall_syscall6(funcPC(libc_fgetxattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
72159+ sz = int(r0)
72160+ if e1 != 0 {
72161+ err = errnoErr(e1)
72162+ }
72163+ return
72164+}
72165+
72166+func libc_fgetxattr_trampoline()
72167+
72168+//go:linkname libc_fgetxattr libc_fgetxattr
72169+//go:cgo_import_dynamic libc_fgetxattr fgetxattr "/usr/lib/libSystem.B.dylib"
72170+
72171+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72172+
72173+func setxattr(path string, attr string, data *byte, size int, position uint32, options int) (err error) {
72174+ var _p0 *byte
72175+ _p0, err = BytePtrFromString(path)
72176+ if err != nil {
72177+ return
72178+ }
72179+ var _p1 *byte
72180+ _p1, err = BytePtrFromString(attr)
72181+ if err != nil {
72182+ return
72183+ }
72184+ _, _, e1 := syscall_syscall6(funcPC(libc_setxattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
72185+ if e1 != 0 {
72186+ err = errnoErr(e1)
72187+ }
72188+ return
72189+}
72190+
72191+func libc_setxattr_trampoline()
72192+
72193+//go:linkname libc_setxattr libc_setxattr
72194+//go:cgo_import_dynamic libc_setxattr setxattr "/usr/lib/libSystem.B.dylib"
72195+
72196+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72197+
72198+func fsetxattr(fd int, attr string, data *byte, size int, position uint32, options int) (err error) {
72199+ var _p0 *byte
72200+ _p0, err = BytePtrFromString(attr)
72201+ if err != nil {
72202+ return
72203+ }
72204+ _, _, e1 := syscall_syscall6(funcPC(libc_fsetxattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
72205+ if e1 != 0 {
72206+ err = errnoErr(e1)
72207+ }
72208+ return
72209+}
72210+
72211+func libc_fsetxattr_trampoline()
72212+
72213+//go:linkname libc_fsetxattr libc_fsetxattr
72214+//go:cgo_import_dynamic libc_fsetxattr fsetxattr "/usr/lib/libSystem.B.dylib"
72215+
72216+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72217+
72218+func removexattr(path string, attr string, options int) (err error) {
72219+ var _p0 *byte
72220+ _p0, err = BytePtrFromString(path)
72221+ if err != nil {
72222+ return
72223+ }
72224+ var _p1 *byte
72225+ _p1, err = BytePtrFromString(attr)
72226+ if err != nil {
72227+ return
72228+ }
72229+ _, _, e1 := syscall_syscall(funcPC(libc_removexattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
72230+ if e1 != 0 {
72231+ err = errnoErr(e1)
72232+ }
72233+ return
72234+}
72235+
72236+func libc_removexattr_trampoline()
72237+
72238+//go:linkname libc_removexattr libc_removexattr
72239+//go:cgo_import_dynamic libc_removexattr removexattr "/usr/lib/libSystem.B.dylib"
72240+
72241+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72242+
72243+func fremovexattr(fd int, attr string, options int) (err error) {
72244+ var _p0 *byte
72245+ _p0, err = BytePtrFromString(attr)
72246+ if err != nil {
72247+ return
72248+ }
72249+ _, _, e1 := syscall_syscall(funcPC(libc_fremovexattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(options))
72250+ if e1 != 0 {
72251+ err = errnoErr(e1)
72252+ }
72253+ return
72254+}
72255+
72256+func libc_fremovexattr_trampoline()
72257+
72258+//go:linkname libc_fremovexattr libc_fremovexattr
72259+//go:cgo_import_dynamic libc_fremovexattr fremovexattr "/usr/lib/libSystem.B.dylib"
72260+
72261+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72262+
72263+func listxattr(path string, dest *byte, size int, options int) (sz int, err error) {
72264+ var _p0 *byte
72265+ _p0, err = BytePtrFromString(path)
72266+ if err != nil {
72267+ return
72268+ }
72269+ r0, _, e1 := syscall_syscall6(funcPC(libc_listxattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
72270+ sz = int(r0)
72271+ if e1 != 0 {
72272+ err = errnoErr(e1)
72273+ }
72274+ return
72275+}
72276+
72277+func libc_listxattr_trampoline()
72278+
72279+//go:linkname libc_listxattr libc_listxattr
72280+//go:cgo_import_dynamic libc_listxattr listxattr "/usr/lib/libSystem.B.dylib"
72281+
72282+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72283+
72284+func flistxattr(fd int, dest *byte, size int, options int) (sz int, err error) {
72285+ r0, _, e1 := syscall_syscall6(funcPC(libc_flistxattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
72286+ sz = int(r0)
72287+ if e1 != 0 {
72288+ err = errnoErr(e1)
72289+ }
72290+ return
72291+}
72292+
72293+func libc_flistxattr_trampoline()
72294+
72295+//go:linkname libc_flistxattr libc_flistxattr
72296+//go:cgo_import_dynamic libc_flistxattr flistxattr "/usr/lib/libSystem.B.dylib"
72297+
72298+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72299+
72300+func setattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
72301+ _, _, e1 := syscall_syscall6(funcPC(libc_setattrlist_trampoline), uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
72302+ if e1 != 0 {
72303+ err = errnoErr(e1)
72304+ }
72305+ return
72306+}
72307+
72308+func libc_setattrlist_trampoline()
72309+
72310+//go:linkname libc_setattrlist libc_setattrlist
72311+//go:cgo_import_dynamic libc_setattrlist setattrlist "/usr/lib/libSystem.B.dylib"
72312+
72313+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72314+
72315+func fcntl(fd int, cmd int, arg int) (val int, err error) {
72316+ r0, _, e1 := syscall_syscall(funcPC(libc_fcntl_trampoline), uintptr(fd), uintptr(cmd), uintptr(arg))
72317+ val = int(r0)
72318+ if e1 != 0 {
72319+ err = errnoErr(e1)
72320+ }
72321+ return
72322+}
72323+
72324+func libc_fcntl_trampoline()
72325+
72326+//go:linkname libc_fcntl libc_fcntl
72327+//go:cgo_import_dynamic libc_fcntl fcntl "/usr/lib/libSystem.B.dylib"
72328+
72329 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72330
72331 func kill(pid int, signum int, posix int) (err error) {
72332- _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
72333+ _, _, e1 := syscall_syscall(funcPC(libc_kill_trampoline), uintptr(pid), uintptr(signum), uintptr(posix))
72334 if e1 != 0 {
72335 err = errnoErr(e1)
72336 }
72337 return
72338 }
72339
72340+func libc_kill_trampoline()
72341+
72342+//go:linkname libc_kill libc_kill
72343+//go:cgo_import_dynamic libc_kill kill "/usr/lib/libSystem.B.dylib"
72344+
72345 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72346
72347 func ioctl(fd int, req uint, arg uintptr) (err error) {
72348- _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
72349+ _, _, e1 := syscall_syscall(funcPC(libc_ioctl_trampoline), uintptr(fd), uintptr(req), uintptr(arg))
72350+ if e1 != 0 {
72351+ err = errnoErr(e1)
72352+ }
72353+ return
72354+}
72355+
72356+func libc_ioctl_trampoline()
72357+
72358+//go:linkname libc_ioctl libc_ioctl
72359+//go:cgo_import_dynamic libc_ioctl ioctl "/usr/lib/libSystem.B.dylib"
72360+
72361+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72362+
72363+func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
72364+ var _p0 unsafe.Pointer
72365+ if len(mib) > 0 {
72366+ _p0 = unsafe.Pointer(&mib[0])
72367+ } else {
72368+ _p0 = unsafe.Pointer(&_zero)
72369+ }
72370+ _, _, e1 := syscall_syscall6(funcPC(libc_sysctl_trampoline), uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
72371 if e1 != 0 {
72372 err = errnoErr(e1)
72373 }
72374 return
72375 }
72376
72377+func libc_sysctl_trampoline()
72378+
72379+//go:linkname libc_sysctl libc_sysctl
72380+//go:cgo_import_dynamic libc_sysctl sysctl "/usr/lib/libSystem.B.dylib"
72381+
72382+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72383+
72384+func sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) {
72385+ _, _, e1 := syscall_syscall9(funcPC(libc_sendfile_trampoline), uintptr(infd), uintptr(outfd), uintptr(offset), uintptr(offset>>32), uintptr(unsafe.Pointer(len)), uintptr(hdtr), uintptr(flags), 0, 0)
72386+ if e1 != 0 {
72387+ err = errnoErr(e1)
72388+ }
72389+ return
72390+}
72391+
72392+func libc_sendfile_trampoline()
72393+
72394+//go:linkname libc_sendfile libc_sendfile
72395+//go:cgo_import_dynamic libc_sendfile sendfile "/usr/lib/libSystem.B.dylib"
72396+
72397 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72398
72399 func Access(path string, mode uint32) (err error) {
72400@@ -414,23 +799,33 @@ func Access(path string, mode uint32) (err error) {
72401 if err != nil {
72402 return
72403 }
72404- _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
72405+ _, _, e1 := syscall_syscall(funcPC(libc_access_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
72406 if e1 != 0 {
72407 err = errnoErr(e1)
72408 }
72409 return
72410 }
72411
72412+func libc_access_trampoline()
72413+
72414+//go:linkname libc_access libc_access
72415+//go:cgo_import_dynamic libc_access access "/usr/lib/libSystem.B.dylib"
72416+
72417 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72418
72419 func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
72420- _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
72421+ _, _, e1 := syscall_syscall(funcPC(libc_adjtime_trampoline), uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
72422 if e1 != 0 {
72423 err = errnoErr(e1)
72424 }
72425 return
72426 }
72427
72428+func libc_adjtime_trampoline()
72429+
72430+//go:linkname libc_adjtime libc_adjtime
72431+//go:cgo_import_dynamic libc_adjtime adjtime "/usr/lib/libSystem.B.dylib"
72432+
72433 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72434
72435 func Chdir(path string) (err error) {
72436@@ -439,13 +834,18 @@ func Chdir(path string) (err error) {
72437 if err != nil {
72438 return
72439 }
72440- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
72441+ _, _, e1 := syscall_syscall(funcPC(libc_chdir_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
72442 if e1 != 0 {
72443 err = errnoErr(e1)
72444 }
72445 return
72446 }
72447
72448+func libc_chdir_trampoline()
72449+
72450+//go:linkname libc_chdir libc_chdir
72451+//go:cgo_import_dynamic libc_chdir chdir "/usr/lib/libSystem.B.dylib"
72452+
72453 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72454
72455 func Chflags(path string, flags int) (err error) {
72456@@ -454,13 +854,18 @@ func Chflags(path string, flags int) (err error) {
72457 if err != nil {
72458 return
72459 }
72460- _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
72461+ _, _, e1 := syscall_syscall(funcPC(libc_chflags_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
72462 if e1 != 0 {
72463 err = errnoErr(e1)
72464 }
72465 return
72466 }
72467
72468+func libc_chflags_trampoline()
72469+
72470+//go:linkname libc_chflags libc_chflags
72471+//go:cgo_import_dynamic libc_chflags chflags "/usr/lib/libSystem.B.dylib"
72472+
72473 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72474
72475 func Chmod(path string, mode uint32) (err error) {
72476@@ -469,13 +874,18 @@ func Chmod(path string, mode uint32) (err error) {
72477 if err != nil {
72478 return
72479 }
72480- _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
72481+ _, _, e1 := syscall_syscall(funcPC(libc_chmod_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
72482 if e1 != 0 {
72483 err = errnoErr(e1)
72484 }
72485 return
72486 }
72487
72488+func libc_chmod_trampoline()
72489+
72490+//go:linkname libc_chmod libc_chmod
72491+//go:cgo_import_dynamic libc_chmod chmod "/usr/lib/libSystem.B.dylib"
72492+
72493 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72494
72495 func Chown(path string, uid int, gid int) (err error) {
72496@@ -484,13 +894,18 @@ func Chown(path string, uid int, gid int) (err error) {
72497 if err != nil {
72498 return
72499 }
72500- _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
72501+ _, _, e1 := syscall_syscall(funcPC(libc_chown_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
72502 if e1 != 0 {
72503 err = errnoErr(e1)
72504 }
72505 return
72506 }
72507
72508+func libc_chown_trampoline()
72509+
72510+//go:linkname libc_chown libc_chown
72511+//go:cgo_import_dynamic libc_chown chown "/usr/lib/libSystem.B.dylib"
72512+
72513 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72514
72515 func Chroot(path string) (err error) {
72516@@ -499,27 +914,52 @@ func Chroot(path string) (err error) {
72517 if err != nil {
72518 return
72519 }
72520- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
72521+ _, _, e1 := syscall_syscall(funcPC(libc_chroot_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
72522+ if e1 != 0 {
72523+ err = errnoErr(e1)
72524+ }
72525+ return
72526+}
72527+
72528+func libc_chroot_trampoline()
72529+
72530+//go:linkname libc_chroot libc_chroot
72531+//go:cgo_import_dynamic libc_chroot chroot "/usr/lib/libSystem.B.dylib"
72532+
72533+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72534+
72535+func ClockGettime(clockid int32, time *Timespec) (err error) {
72536+ _, _, e1 := syscall_syscall(funcPC(libc_clock_gettime_trampoline), uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
72537 if e1 != 0 {
72538 err = errnoErr(e1)
72539 }
72540 return
72541 }
72542
72543+func libc_clock_gettime_trampoline()
72544+
72545+//go:linkname libc_clock_gettime libc_clock_gettime
72546+//go:cgo_import_dynamic libc_clock_gettime clock_gettime "/usr/lib/libSystem.B.dylib"
72547+
72548 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72549
72550 func Close(fd int) (err error) {
72551- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
72552+ _, _, e1 := syscall_syscall(funcPC(libc_close_trampoline), uintptr(fd), 0, 0)
72553 if e1 != 0 {
72554 err = errnoErr(e1)
72555 }
72556 return
72557 }
72558
72559+func libc_close_trampoline()
72560+
72561+//go:linkname libc_close libc_close
72562+//go:cgo_import_dynamic libc_close close "/usr/lib/libSystem.B.dylib"
72563+
72564 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72565
72566 func Dup(fd int) (nfd int, err error) {
72567- r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
72568+ r0, _, e1 := syscall_syscall(funcPC(libc_dup_trampoline), uintptr(fd), 0, 0)
72569 nfd = int(r0)
72570 if e1 != 0 {
72571 err = errnoErr(e1)
72572@@ -527,16 +967,26 @@ func Dup(fd int) (nfd int, err error) {
72573 return
72574 }
72575
72576+func libc_dup_trampoline()
72577+
72578+//go:linkname libc_dup libc_dup
72579+//go:cgo_import_dynamic libc_dup dup "/usr/lib/libSystem.B.dylib"
72580+
72581 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72582
72583 func Dup2(from int, to int) (err error) {
72584- _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
72585+ _, _, e1 := syscall_syscall(funcPC(libc_dup2_trampoline), uintptr(from), uintptr(to), 0)
72586 if e1 != 0 {
72587 err = errnoErr(e1)
72588 }
72589 return
72590 }
72591
72592+func libc_dup2_trampoline()
72593+
72594+//go:linkname libc_dup2 libc_dup2
72595+//go:cgo_import_dynamic libc_dup2 dup2 "/usr/lib/libSystem.B.dylib"
72596+
72597 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72598
72599 func Exchangedata(path1 string, path2 string, options int) (err error) {
72600@@ -550,20 +1000,30 @@ func Exchangedata(path1 string, path2 string, options int) (err error) {
72601 if err != nil {
72602 return
72603 }
72604- _, _, e1 := Syscall(SYS_EXCHANGEDATA, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
72605+ _, _, e1 := syscall_syscall(funcPC(libc_exchangedata_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
72606 if e1 != 0 {
72607 err = errnoErr(e1)
72608 }
72609 return
72610 }
72611
72612+func libc_exchangedata_trampoline()
72613+
72614+//go:linkname libc_exchangedata libc_exchangedata
72615+//go:cgo_import_dynamic libc_exchangedata exchangedata "/usr/lib/libSystem.B.dylib"
72616+
72617 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72618
72619 func Exit(code int) {
72620- Syscall(SYS_EXIT, uintptr(code), 0, 0)
72621+ syscall_syscall(funcPC(libc_exit_trampoline), uintptr(code), 0, 0)
72622 return
72623 }
72624
72625+func libc_exit_trampoline()
72626+
72627+//go:linkname libc_exit libc_exit
72628+//go:cgo_import_dynamic libc_exit exit "/usr/lib/libSystem.B.dylib"
72629+
72630 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72631
72632 func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
72633@@ -572,43 +1032,63 @@ func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
72634 if err != nil {
72635 return
72636 }
72637- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
72638+ _, _, e1 := syscall_syscall6(funcPC(libc_faccessat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
72639 if e1 != 0 {
72640 err = errnoErr(e1)
72641 }
72642 return
72643 }
72644
72645+func libc_faccessat_trampoline()
72646+
72647+//go:linkname libc_faccessat libc_faccessat
72648+//go:cgo_import_dynamic libc_faccessat faccessat "/usr/lib/libSystem.B.dylib"
72649+
72650 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72651
72652 func Fchdir(fd int) (err error) {
72653- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
72654+ _, _, e1 := syscall_syscall(funcPC(libc_fchdir_trampoline), uintptr(fd), 0, 0)
72655 if e1 != 0 {
72656 err = errnoErr(e1)
72657 }
72658 return
72659 }
72660
72661+func libc_fchdir_trampoline()
72662+
72663+//go:linkname libc_fchdir libc_fchdir
72664+//go:cgo_import_dynamic libc_fchdir fchdir "/usr/lib/libSystem.B.dylib"
72665+
72666 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72667
72668 func Fchflags(fd int, flags int) (err error) {
72669- _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
72670+ _, _, e1 := syscall_syscall(funcPC(libc_fchflags_trampoline), uintptr(fd), uintptr(flags), 0)
72671 if e1 != 0 {
72672 err = errnoErr(e1)
72673 }
72674 return
72675 }
72676
72677+func libc_fchflags_trampoline()
72678+
72679+//go:linkname libc_fchflags libc_fchflags
72680+//go:cgo_import_dynamic libc_fchflags fchflags "/usr/lib/libSystem.B.dylib"
72681+
72682 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72683
72684 func Fchmod(fd int, mode uint32) (err error) {
72685- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
72686+ _, _, e1 := syscall_syscall(funcPC(libc_fchmod_trampoline), uintptr(fd), uintptr(mode), 0)
72687 if e1 != 0 {
72688 err = errnoErr(e1)
72689 }
72690 return
72691 }
72692
72693+func libc_fchmod_trampoline()
72694+
72695+//go:linkname libc_fchmod libc_fchmod
72696+//go:cgo_import_dynamic libc_fchmod fchmod "/usr/lib/libSystem.B.dylib"
72697+
72698 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72699
72700 func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
72701@@ -617,23 +1097,33 @@ func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
72702 if err != nil {
72703 return
72704 }
72705- _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
72706+ _, _, e1 := syscall_syscall6(funcPC(libc_fchmodat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
72707 if e1 != 0 {
72708 err = errnoErr(e1)
72709 }
72710 return
72711 }
72712
72713+func libc_fchmodat_trampoline()
72714+
72715+//go:linkname libc_fchmodat libc_fchmodat
72716+//go:cgo_import_dynamic libc_fchmodat fchmodat "/usr/lib/libSystem.B.dylib"
72717+
72718 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72719
72720 func Fchown(fd int, uid int, gid int) (err error) {
72721- _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
72722+ _, _, e1 := syscall_syscall(funcPC(libc_fchown_trampoline), uintptr(fd), uintptr(uid), uintptr(gid))
72723 if e1 != 0 {
72724 err = errnoErr(e1)
72725 }
72726 return
72727 }
72728
72729+func libc_fchown_trampoline()
72730+
72731+//go:linkname libc_fchown libc_fchown
72732+//go:cgo_import_dynamic libc_fchown fchown "/usr/lib/libSystem.B.dylib"
72733+
72734 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72735
72736 func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
72737@@ -642,27 +1132,37 @@ func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
72738 if err != nil {
72739 return
72740 }
72741- _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
72742+ _, _, e1 := syscall_syscall6(funcPC(libc_fchownat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
72743 if e1 != 0 {
72744 err = errnoErr(e1)
72745 }
72746 return
72747 }
72748
72749+func libc_fchownat_trampoline()
72750+
72751+//go:linkname libc_fchownat libc_fchownat
72752+//go:cgo_import_dynamic libc_fchownat fchownat "/usr/lib/libSystem.B.dylib"
72753+
72754 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72755
72756 func Flock(fd int, how int) (err error) {
72757- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
72758+ _, _, e1 := syscall_syscall(funcPC(libc_flock_trampoline), uintptr(fd), uintptr(how), 0)
72759 if e1 != 0 {
72760 err = errnoErr(e1)
72761 }
72762 return
72763 }
72764
72765+func libc_flock_trampoline()
72766+
72767+//go:linkname libc_flock libc_flock
72768+//go:cgo_import_dynamic libc_flock flock "/usr/lib/libSystem.B.dylib"
72769+
72770 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72771
72772 func Fpathconf(fd int, name int) (val int, err error) {
72773- r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
72774+ r0, _, e1 := syscall_syscall(funcPC(libc_fpathconf_trampoline), uintptr(fd), uintptr(name), 0)
72775 val = int(r0)
72776 if e1 != 0 {
72777 err = errnoErr(e1)
72778@@ -670,99 +1170,97 @@ func Fpathconf(fd int, name int) (val int, err error) {
72779 return
72780 }
72781
72782-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72783+func libc_fpathconf_trampoline()
72784
72785-func Fstat(fd int, stat *Stat_t) (err error) {
72786- _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
72787- if e1 != 0 {
72788- err = errnoErr(e1)
72789- }
72790- return
72791-}
72792+//go:linkname libc_fpathconf libc_fpathconf
72793+//go:cgo_import_dynamic libc_fpathconf fpathconf "/usr/lib/libSystem.B.dylib"
72794
72795 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72796
72797-func Fstatfs(fd int, stat *Statfs_t) (err error) {
72798- _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
72799+func Fsync(fd int) (err error) {
72800+ _, _, e1 := syscall_syscall(funcPC(libc_fsync_trampoline), uintptr(fd), 0, 0)
72801 if e1 != 0 {
72802 err = errnoErr(e1)
72803 }
72804 return
72805 }
72806
72807-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72808+func libc_fsync_trampoline()
72809
72810-func Fsync(fd int) (err error) {
72811- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
72812- if e1 != 0 {
72813- err = errnoErr(e1)
72814- }
72815- return
72816-}
72817+//go:linkname libc_fsync libc_fsync
72818+//go:cgo_import_dynamic libc_fsync fsync "/usr/lib/libSystem.B.dylib"
72819
72820 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72821
72822 func Ftruncate(fd int, length int64) (err error) {
72823- _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), uintptr(length>>32))
72824+ _, _, e1 := syscall_syscall(funcPC(libc_ftruncate_trampoline), uintptr(fd), uintptr(length), uintptr(length>>32))
72825 if e1 != 0 {
72826 err = errnoErr(e1)
72827 }
72828 return
72829 }
72830
72831-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72832+func libc_ftruncate_trampoline()
72833
72834-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
72835- var _p0 unsafe.Pointer
72836- if len(buf) > 0 {
72837- _p0 = unsafe.Pointer(&buf[0])
72838- } else {
72839- _p0 = unsafe.Pointer(&_zero)
72840- }
72841- r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
72842- n = int(r0)
72843- if e1 != 0 {
72844- err = errnoErr(e1)
72845- }
72846- return
72847-}
72848+//go:linkname libc_ftruncate libc_ftruncate
72849+//go:cgo_import_dynamic libc_ftruncate ftruncate "/usr/lib/libSystem.B.dylib"
72850
72851 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72852
72853 func Getdtablesize() (size int) {
72854- r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
72855+ r0, _, _ := syscall_syscall(funcPC(libc_getdtablesize_trampoline), 0, 0, 0)
72856 size = int(r0)
72857 return
72858 }
72859
72860+func libc_getdtablesize_trampoline()
72861+
72862+//go:linkname libc_getdtablesize libc_getdtablesize
72863+//go:cgo_import_dynamic libc_getdtablesize getdtablesize "/usr/lib/libSystem.B.dylib"
72864+
72865 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72866
72867 func Getegid() (egid int) {
72868- r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
72869+ r0, _, _ := syscall_rawSyscall(funcPC(libc_getegid_trampoline), 0, 0, 0)
72870 egid = int(r0)
72871 return
72872 }
72873
72874+func libc_getegid_trampoline()
72875+
72876+//go:linkname libc_getegid libc_getegid
72877+//go:cgo_import_dynamic libc_getegid getegid "/usr/lib/libSystem.B.dylib"
72878+
72879 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72880
72881 func Geteuid() (uid int) {
72882- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
72883+ r0, _, _ := syscall_rawSyscall(funcPC(libc_geteuid_trampoline), 0, 0, 0)
72884 uid = int(r0)
72885 return
72886 }
72887
72888+func libc_geteuid_trampoline()
72889+
72890+//go:linkname libc_geteuid libc_geteuid
72891+//go:cgo_import_dynamic libc_geteuid geteuid "/usr/lib/libSystem.B.dylib"
72892+
72893 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72894
72895 func Getgid() (gid int) {
72896- r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
72897+ r0, _, _ := syscall_rawSyscall(funcPC(libc_getgid_trampoline), 0, 0, 0)
72898 gid = int(r0)
72899 return
72900 }
72901
72902+func libc_getgid_trampoline()
72903+
72904+//go:linkname libc_getgid libc_getgid
72905+//go:cgo_import_dynamic libc_getgid getgid "/usr/lib/libSystem.B.dylib"
72906+
72907 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72908
72909 func Getpgid(pid int) (pgid int, err error) {
72910- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
72911+ r0, _, e1 := syscall_rawSyscall(funcPC(libc_getpgid_trampoline), uintptr(pid), 0, 0)
72912 pgid = int(r0)
72913 if e1 != 0 {
72914 err = errnoErr(e1)
72915@@ -770,34 +1268,54 @@ func Getpgid(pid int) (pgid int, err error) {
72916 return
72917 }
72918
72919+func libc_getpgid_trampoline()
72920+
72921+//go:linkname libc_getpgid libc_getpgid
72922+//go:cgo_import_dynamic libc_getpgid getpgid "/usr/lib/libSystem.B.dylib"
72923+
72924 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72925
72926 func Getpgrp() (pgrp int) {
72927- r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
72928+ r0, _, _ := syscall_rawSyscall(funcPC(libc_getpgrp_trampoline), 0, 0, 0)
72929 pgrp = int(r0)
72930 return
72931 }
72932
72933+func libc_getpgrp_trampoline()
72934+
72935+//go:linkname libc_getpgrp libc_getpgrp
72936+//go:cgo_import_dynamic libc_getpgrp getpgrp "/usr/lib/libSystem.B.dylib"
72937+
72938 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72939
72940 func Getpid() (pid int) {
72941- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
72942+ r0, _, _ := syscall_rawSyscall(funcPC(libc_getpid_trampoline), 0, 0, 0)
72943 pid = int(r0)
72944 return
72945 }
72946
72947+func libc_getpid_trampoline()
72948+
72949+//go:linkname libc_getpid libc_getpid
72950+//go:cgo_import_dynamic libc_getpid getpid "/usr/lib/libSystem.B.dylib"
72951+
72952 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72953
72954 func Getppid() (ppid int) {
72955- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
72956+ r0, _, _ := syscall_rawSyscall(funcPC(libc_getppid_trampoline), 0, 0, 0)
72957 ppid = int(r0)
72958 return
72959 }
72960
72961+func libc_getppid_trampoline()
72962+
72963+//go:linkname libc_getppid libc_getppid
72964+//go:cgo_import_dynamic libc_getppid getppid "/usr/lib/libSystem.B.dylib"
72965+
72966 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72967
72968 func Getpriority(which int, who int) (prio int, err error) {
72969- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
72970+ r0, _, e1 := syscall_syscall(funcPC(libc_getpriority_trampoline), uintptr(which), uintptr(who), 0)
72971 prio = int(r0)
72972 if e1 != 0 {
72973 err = errnoErr(e1)
72974@@ -805,30 +1323,45 @@ func Getpriority(which int, who int) (prio int, err error) {
72975 return
72976 }
72977
72978+func libc_getpriority_trampoline()
72979+
72980+//go:linkname libc_getpriority libc_getpriority
72981+//go:cgo_import_dynamic libc_getpriority getpriority "/usr/lib/libSystem.B.dylib"
72982+
72983 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
72984
72985 func Getrlimit(which int, lim *Rlimit) (err error) {
72986- _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
72987+ _, _, e1 := syscall_rawSyscall(funcPC(libc_getrlimit_trampoline), uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
72988 if e1 != 0 {
72989 err = errnoErr(e1)
72990 }
72991 return
72992 }
72993
72994+func libc_getrlimit_trampoline()
72995+
72996+//go:linkname libc_getrlimit libc_getrlimit
72997+//go:cgo_import_dynamic libc_getrlimit getrlimit "/usr/lib/libSystem.B.dylib"
72998+
72999 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73000
73001 func Getrusage(who int, rusage *Rusage) (err error) {
73002- _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
73003+ _, _, e1 := syscall_rawSyscall(funcPC(libc_getrusage_trampoline), uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
73004 if e1 != 0 {
73005 err = errnoErr(e1)
73006 }
73007 return
73008 }
73009
73010+func libc_getrusage_trampoline()
73011+
73012+//go:linkname libc_getrusage libc_getrusage
73013+//go:cgo_import_dynamic libc_getrusage getrusage "/usr/lib/libSystem.B.dylib"
73014+
73015 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73016
73017 func Getsid(pid int) (sid int, err error) {
73018- r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
73019+ r0, _, e1 := syscall_rawSyscall(funcPC(libc_getsid_trampoline), uintptr(pid), 0, 0)
73020 sid = int(r0)
73021 if e1 != 0 {
73022 err = errnoErr(e1)
73023@@ -836,26 +1369,41 @@ func Getsid(pid int) (sid int, err error) {
73024 return
73025 }
73026
73027+func libc_getsid_trampoline()
73028+
73029+//go:linkname libc_getsid libc_getsid
73030+//go:cgo_import_dynamic libc_getsid getsid "/usr/lib/libSystem.B.dylib"
73031+
73032 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73033
73034 func Getuid() (uid int) {
73035- r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
73036+ r0, _, _ := syscall_rawSyscall(funcPC(libc_getuid_trampoline), 0, 0, 0)
73037 uid = int(r0)
73038 return
73039 }
73040
73041+func libc_getuid_trampoline()
73042+
73043+//go:linkname libc_getuid libc_getuid
73044+//go:cgo_import_dynamic libc_getuid getuid "/usr/lib/libSystem.B.dylib"
73045+
73046 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73047
73048 func Issetugid() (tainted bool) {
73049- r0, _, _ := RawSyscall(SYS_ISSETUGID, 0, 0, 0)
73050+ r0, _, _ := syscall_rawSyscall(funcPC(libc_issetugid_trampoline), 0, 0, 0)
73051 tainted = bool(r0 != 0)
73052 return
73053 }
73054
73055+func libc_issetugid_trampoline()
73056+
73057+//go:linkname libc_issetugid libc_issetugid
73058+//go:cgo_import_dynamic libc_issetugid issetugid "/usr/lib/libSystem.B.dylib"
73059+
73060 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73061
73062 func Kqueue() (fd int, err error) {
73063- r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
73064+ r0, _, e1 := syscall_syscall(funcPC(libc_kqueue_trampoline), 0, 0, 0)
73065 fd = int(r0)
73066 if e1 != 0 {
73067 err = errnoErr(e1)
73068@@ -863,6 +1411,11 @@ func Kqueue() (fd int, err error) {
73069 return
73070 }
73071
73072+func libc_kqueue_trampoline()
73073+
73074+//go:linkname libc_kqueue libc_kqueue
73075+//go:cgo_import_dynamic libc_kqueue kqueue "/usr/lib/libSystem.B.dylib"
73076+
73077 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73078
73079 func Lchown(path string, uid int, gid int) (err error) {
73080@@ -871,13 +1424,18 @@ func Lchown(path string, uid int, gid int) (err error) {
73081 if err != nil {
73082 return
73083 }
73084- _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
73085+ _, _, e1 := syscall_syscall(funcPC(libc_lchown_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
73086 if e1 != 0 {
73087 err = errnoErr(e1)
73088 }
73089 return
73090 }
73091
73092+func libc_lchown_trampoline()
73093+
73094+//go:linkname libc_lchown libc_lchown
73095+//go:cgo_import_dynamic libc_lchown lchown "/usr/lib/libSystem.B.dylib"
73096+
73097 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73098
73099 func Link(path string, link string) (err error) {
73100@@ -891,13 +1449,18 @@ func Link(path string, link string) (err error) {
73101 if err != nil {
73102 return
73103 }
73104- _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
73105+ _, _, e1 := syscall_syscall(funcPC(libc_link_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
73106 if e1 != 0 {
73107 err = errnoErr(e1)
73108 }
73109 return
73110 }
73111
73112+func libc_link_trampoline()
73113+
73114+//go:linkname libc_link libc_link
73115+//go:cgo_import_dynamic libc_link link "/usr/lib/libSystem.B.dylib"
73116+
73117 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73118
73119 func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error) {
73120@@ -911,37 +1474,32 @@ func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err er
73121 if err != nil {
73122 return
73123 }
73124- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
73125+ _, _, e1 := syscall_syscall6(funcPC(libc_linkat_trampoline), uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
73126 if e1 != 0 {
73127 err = errnoErr(e1)
73128 }
73129 return
73130 }
73131
73132+func libc_linkat_trampoline()
73133+
73134+//go:linkname libc_linkat libc_linkat
73135+//go:cgo_import_dynamic libc_linkat linkat "/usr/lib/libSystem.B.dylib"
73136+
73137 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73138
73139 func Listen(s int, backlog int) (err error) {
73140- _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
73141+ _, _, e1 := syscall_syscall(funcPC(libc_listen_trampoline), uintptr(s), uintptr(backlog), 0)
73142 if e1 != 0 {
73143 err = errnoErr(e1)
73144 }
73145 return
73146 }
73147
73148-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73149+func libc_listen_trampoline()
73150
73151-func Lstat(path string, stat *Stat_t) (err error) {
73152- var _p0 *byte
73153- _p0, err = BytePtrFromString(path)
73154- if err != nil {
73155- return
73156- }
73157- _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
73158- if e1 != 0 {
73159- err = errnoErr(e1)
73160- }
73161- return
73162-}
73163+//go:linkname libc_listen libc_listen
73164+//go:cgo_import_dynamic libc_listen listen "/usr/lib/libSystem.B.dylib"
73165
73166 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73167
73168@@ -951,13 +1509,18 @@ func Mkdir(path string, mode uint32) (err error) {
73169 if err != nil {
73170 return
73171 }
73172- _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
73173+ _, _, e1 := syscall_syscall(funcPC(libc_mkdir_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
73174 if e1 != 0 {
73175 err = errnoErr(e1)
73176 }
73177 return
73178 }
73179
73180+func libc_mkdir_trampoline()
73181+
73182+//go:linkname libc_mkdir libc_mkdir
73183+//go:cgo_import_dynamic libc_mkdir mkdir "/usr/lib/libSystem.B.dylib"
73184+
73185 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73186
73187 func Mkdirat(dirfd int, path string, mode uint32) (err error) {
73188@@ -966,13 +1529,18 @@ func Mkdirat(dirfd int, path string, mode uint32) (err error) {
73189 if err != nil {
73190 return
73191 }
73192- _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
73193+ _, _, e1 := syscall_syscall(funcPC(libc_mkdirat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
73194 if e1 != 0 {
73195 err = errnoErr(e1)
73196 }
73197 return
73198 }
73199
73200+func libc_mkdirat_trampoline()
73201+
73202+//go:linkname libc_mkdirat libc_mkdirat
73203+//go:cgo_import_dynamic libc_mkdirat mkdirat "/usr/lib/libSystem.B.dylib"
73204+
73205 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73206
73207 func Mkfifo(path string, mode uint32) (err error) {
73208@@ -981,13 +1549,18 @@ func Mkfifo(path string, mode uint32) (err error) {
73209 if err != nil {
73210 return
73211 }
73212- _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
73213+ _, _, e1 := syscall_syscall(funcPC(libc_mkfifo_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
73214 if e1 != 0 {
73215 err = errnoErr(e1)
73216 }
73217 return
73218 }
73219
73220+func libc_mkfifo_trampoline()
73221+
73222+//go:linkname libc_mkfifo libc_mkfifo
73223+//go:cgo_import_dynamic libc_mkfifo mkfifo "/usr/lib/libSystem.B.dylib"
73224+
73225 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73226
73227 func Mknod(path string, mode uint32, dev int) (err error) {
73228@@ -996,13 +1569,18 @@ func Mknod(path string, mode uint32, dev int) (err error) {
73229 if err != nil {
73230 return
73231 }
73232- _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
73233+ _, _, e1 := syscall_syscall(funcPC(libc_mknod_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
73234 if e1 != 0 {
73235 err = errnoErr(e1)
73236 }
73237 return
73238 }
73239
73240+func libc_mknod_trampoline()
73241+
73242+//go:linkname libc_mknod libc_mknod
73243+//go:cgo_import_dynamic libc_mknod mknod "/usr/lib/libSystem.B.dylib"
73244+
73245 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73246
73247 func Open(path string, mode int, perm uint32) (fd int, err error) {
73248@@ -1011,7 +1589,7 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
73249 if err != nil {
73250 return
73251 }
73252- r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
73253+ r0, _, e1 := syscall_syscall(funcPC(libc_open_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
73254 fd = int(r0)
73255 if e1 != 0 {
73256 err = errnoErr(e1)
73257@@ -1019,6 +1597,11 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
73258 return
73259 }
73260
73261+func libc_open_trampoline()
73262+
73263+//go:linkname libc_open libc_open
73264+//go:cgo_import_dynamic libc_open open "/usr/lib/libSystem.B.dylib"
73265+
73266 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73267
73268 func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
73269@@ -1027,7 +1610,7 @@ func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
73270 if err != nil {
73271 return
73272 }
73273- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
73274+ r0, _, e1 := syscall_syscall6(funcPC(libc_openat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
73275 fd = int(r0)
73276 if e1 != 0 {
73277 err = errnoErr(e1)
73278@@ -1035,6 +1618,11 @@ func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
73279 return
73280 }
73281
73282+func libc_openat_trampoline()
73283+
73284+//go:linkname libc_openat libc_openat
73285+//go:cgo_import_dynamic libc_openat openat "/usr/lib/libSystem.B.dylib"
73286+
73287 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73288
73289 func Pathconf(path string, name int) (val int, err error) {
73290@@ -1043,7 +1631,7 @@ func Pathconf(path string, name int) (val int, err error) {
73291 if err != nil {
73292 return
73293 }
73294- r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
73295+ r0, _, e1 := syscall_syscall(funcPC(libc_pathconf_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
73296 val = int(r0)
73297 if e1 != 0 {
73298 err = errnoErr(e1)
73299@@ -1051,6 +1639,11 @@ func Pathconf(path string, name int) (val int, err error) {
73300 return
73301 }
73302
73303+func libc_pathconf_trampoline()
73304+
73305+//go:linkname libc_pathconf libc_pathconf
73306+//go:cgo_import_dynamic libc_pathconf pathconf "/usr/lib/libSystem.B.dylib"
73307+
73308 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73309
73310 func Pread(fd int, p []byte, offset int64) (n int, err error) {
73311@@ -1060,7 +1653,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
73312 } else {
73313 _p0 = unsafe.Pointer(&_zero)
73314 }
73315- r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
73316+ r0, _, e1 := syscall_syscall6(funcPC(libc_pread_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
73317 n = int(r0)
73318 if e1 != 0 {
73319 err = errnoErr(e1)
73320@@ -1068,6 +1661,11 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
73321 return
73322 }
73323
73324+func libc_pread_trampoline()
73325+
73326+//go:linkname libc_pread libc_pread
73327+//go:cgo_import_dynamic libc_pread pread "/usr/lib/libSystem.B.dylib"
73328+
73329 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73330
73331 func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
73332@@ -1077,7 +1675,7 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
73333 } else {
73334 _p0 = unsafe.Pointer(&_zero)
73335 }
73336- r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
73337+ r0, _, e1 := syscall_syscall6(funcPC(libc_pwrite_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
73338 n = int(r0)
73339 if e1 != 0 {
73340 err = errnoErr(e1)
73341@@ -1085,6 +1683,11 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
73342 return
73343 }
73344
73345+func libc_pwrite_trampoline()
73346+
73347+//go:linkname libc_pwrite libc_pwrite
73348+//go:cgo_import_dynamic libc_pwrite pwrite "/usr/lib/libSystem.B.dylib"
73349+
73350 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73351
73352 func read(fd int, p []byte) (n int, err error) {
73353@@ -1094,7 +1697,7 @@ func read(fd int, p []byte) (n int, err error) {
73354 } else {
73355 _p0 = unsafe.Pointer(&_zero)
73356 }
73357- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
73358+ r0, _, e1 := syscall_syscall(funcPC(libc_read_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)))
73359 n = int(r0)
73360 if e1 != 0 {
73361 err = errnoErr(e1)
73362@@ -1102,6 +1705,11 @@ func read(fd int, p []byte) (n int, err error) {
73363 return
73364 }
73365
73366+func libc_read_trampoline()
73367+
73368+//go:linkname libc_read libc_read
73369+//go:cgo_import_dynamic libc_read read "/usr/lib/libSystem.B.dylib"
73370+
73371 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73372
73373 func Readlink(path string, buf []byte) (n int, err error) {
73374@@ -1116,7 +1724,7 @@ func Readlink(path string, buf []byte) (n int, err error) {
73375 } else {
73376 _p1 = unsafe.Pointer(&_zero)
73377 }
73378- r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
73379+ r0, _, e1 := syscall_syscall(funcPC(libc_readlink_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
73380 n = int(r0)
73381 if e1 != 0 {
73382 err = errnoErr(e1)
73383@@ -1124,6 +1732,11 @@ func Readlink(path string, buf []byte) (n int, err error) {
73384 return
73385 }
73386
73387+func libc_readlink_trampoline()
73388+
73389+//go:linkname libc_readlink libc_readlink
73390+//go:cgo_import_dynamic libc_readlink readlink "/usr/lib/libSystem.B.dylib"
73391+
73392 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73393
73394 func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
73395@@ -1138,7 +1751,7 @@ func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
73396 } else {
73397 _p1 = unsafe.Pointer(&_zero)
73398 }
73399- r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
73400+ r0, _, e1 := syscall_syscall6(funcPC(libc_readlinkat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
73401 n = int(r0)
73402 if e1 != 0 {
73403 err = errnoErr(e1)
73404@@ -1146,6 +1759,11 @@ func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
73405 return
73406 }
73407
73408+func libc_readlinkat_trampoline()
73409+
73410+//go:linkname libc_readlinkat libc_readlinkat
73411+//go:cgo_import_dynamic libc_readlinkat readlinkat "/usr/lib/libSystem.B.dylib"
73412+
73413 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73414
73415 func Rename(from string, to string) (err error) {
73416@@ -1159,13 +1777,18 @@ func Rename(from string, to string) (err error) {
73417 if err != nil {
73418 return
73419 }
73420- _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
73421+ _, _, e1 := syscall_syscall(funcPC(libc_rename_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
73422 if e1 != 0 {
73423 err = errnoErr(e1)
73424 }
73425 return
73426 }
73427
73428+func libc_rename_trampoline()
73429+
73430+//go:linkname libc_rename libc_rename
73431+//go:cgo_import_dynamic libc_rename rename "/usr/lib/libSystem.B.dylib"
73432+
73433 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73434
73435 func Renameat(fromfd int, from string, tofd int, to string) (err error) {
73436@@ -1179,13 +1802,18 @@ func Renameat(fromfd int, from string, tofd int, to string) (err error) {
73437 if err != nil {
73438 return
73439 }
73440- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0)
73441+ _, _, e1 := syscall_syscall6(funcPC(libc_renameat_trampoline), uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0)
73442 if e1 != 0 {
73443 err = errnoErr(e1)
73444 }
73445 return
73446 }
73447
73448+func libc_renameat_trampoline()
73449+
73450+//go:linkname libc_renameat libc_renameat
73451+//go:cgo_import_dynamic libc_renameat renameat "/usr/lib/libSystem.B.dylib"
73452+
73453 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73454
73455 func Revoke(path string) (err error) {
73456@@ -1194,13 +1822,18 @@ func Revoke(path string) (err error) {
73457 if err != nil {
73458 return
73459 }
73460- _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
73461+ _, _, e1 := syscall_syscall(funcPC(libc_revoke_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
73462 if e1 != 0 {
73463 err = errnoErr(e1)
73464 }
73465 return
73466 }
73467
73468+func libc_revoke_trampoline()
73469+
73470+//go:linkname libc_revoke libc_revoke
73471+//go:cgo_import_dynamic libc_revoke revoke "/usr/lib/libSystem.B.dylib"
73472+
73473 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73474
73475 func Rmdir(path string) (err error) {
73476@@ -1209,17 +1842,22 @@ func Rmdir(path string) (err error) {
73477 if err != nil {
73478 return
73479 }
73480- _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
73481+ _, _, e1 := syscall_syscall(funcPC(libc_rmdir_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
73482 if e1 != 0 {
73483 err = errnoErr(e1)
73484 }
73485 return
73486 }
73487
73488+func libc_rmdir_trampoline()
73489+
73490+//go:linkname libc_rmdir libc_rmdir
73491+//go:cgo_import_dynamic libc_rmdir rmdir "/usr/lib/libSystem.B.dylib"
73492+
73493 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73494
73495 func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
73496- r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(whence), 0, 0)
73497+ r0, r1, e1 := syscall_syscall6(funcPC(libc_lseek_trampoline), uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(whence), 0, 0)
73498 newoffset = int64(int64(r1)<<32 | int64(r0))
73499 if e1 != 0 {
73500 err = errnoErr(e1)
73501@@ -1227,46 +1865,72 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
73502 return
73503 }
73504
73505+func libc_lseek_trampoline()
73506+
73507+//go:linkname libc_lseek libc_lseek
73508+//go:cgo_import_dynamic libc_lseek lseek "/usr/lib/libSystem.B.dylib"
73509+
73510 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73511
73512-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
73513- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
73514+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
73515+ r0, _, e1 := syscall_syscall6(funcPC(libc_select_trampoline), uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
73516+ n = int(r0)
73517 if e1 != 0 {
73518 err = errnoErr(e1)
73519 }
73520 return
73521 }
73522
73523+func libc_select_trampoline()
73524+
73525+//go:linkname libc_select libc_select
73526+//go:cgo_import_dynamic libc_select select "/usr/lib/libSystem.B.dylib"
73527+
73528 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73529
73530 func Setegid(egid int) (err error) {
73531- _, _, e1 := Syscall(SYS_SETEGID, uintptr(egid), 0, 0)
73532+ _, _, e1 := syscall_syscall(funcPC(libc_setegid_trampoline), uintptr(egid), 0, 0)
73533 if e1 != 0 {
73534 err = errnoErr(e1)
73535 }
73536 return
73537 }
73538
73539+func libc_setegid_trampoline()
73540+
73541+//go:linkname libc_setegid libc_setegid
73542+//go:cgo_import_dynamic libc_setegid setegid "/usr/lib/libSystem.B.dylib"
73543+
73544 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73545
73546 func Seteuid(euid int) (err error) {
73547- _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
73548+ _, _, e1 := syscall_rawSyscall(funcPC(libc_seteuid_trampoline), uintptr(euid), 0, 0)
73549 if e1 != 0 {
73550 err = errnoErr(e1)
73551 }
73552 return
73553 }
73554
73555+func libc_seteuid_trampoline()
73556+
73557+//go:linkname libc_seteuid libc_seteuid
73558+//go:cgo_import_dynamic libc_seteuid seteuid "/usr/lib/libSystem.B.dylib"
73559+
73560 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73561
73562 func Setgid(gid int) (err error) {
73563- _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
73564+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setgid_trampoline), uintptr(gid), 0, 0)
73565 if e1 != 0 {
73566 err = errnoErr(e1)
73567 }
73568 return
73569 }
73570
73571+func libc_setgid_trampoline()
73572+
73573+//go:linkname libc_setgid libc_setgid
73574+//go:cgo_import_dynamic libc_setgid setgid "/usr/lib/libSystem.B.dylib"
73575+
73576 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73577
73578 func Setlogin(name string) (err error) {
73579@@ -1275,77 +1939,112 @@ func Setlogin(name string) (err error) {
73580 if err != nil {
73581 return
73582 }
73583- _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
73584+ _, _, e1 := syscall_syscall(funcPC(libc_setlogin_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
73585 if e1 != 0 {
73586 err = errnoErr(e1)
73587 }
73588 return
73589 }
73590
73591+func libc_setlogin_trampoline()
73592+
73593+//go:linkname libc_setlogin libc_setlogin
73594+//go:cgo_import_dynamic libc_setlogin setlogin "/usr/lib/libSystem.B.dylib"
73595+
73596 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73597
73598 func Setpgid(pid int, pgid int) (err error) {
73599- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
73600+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setpgid_trampoline), uintptr(pid), uintptr(pgid), 0)
73601 if e1 != 0 {
73602 err = errnoErr(e1)
73603 }
73604 return
73605 }
73606
73607+func libc_setpgid_trampoline()
73608+
73609+//go:linkname libc_setpgid libc_setpgid
73610+//go:cgo_import_dynamic libc_setpgid setpgid "/usr/lib/libSystem.B.dylib"
73611+
73612 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73613
73614 func Setpriority(which int, who int, prio int) (err error) {
73615- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
73616+ _, _, e1 := syscall_syscall(funcPC(libc_setpriority_trampoline), uintptr(which), uintptr(who), uintptr(prio))
73617 if e1 != 0 {
73618 err = errnoErr(e1)
73619 }
73620 return
73621 }
73622
73623+func libc_setpriority_trampoline()
73624+
73625+//go:linkname libc_setpriority libc_setpriority
73626+//go:cgo_import_dynamic libc_setpriority setpriority "/usr/lib/libSystem.B.dylib"
73627+
73628 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73629
73630 func Setprivexec(flag int) (err error) {
73631- _, _, e1 := Syscall(SYS_SETPRIVEXEC, uintptr(flag), 0, 0)
73632+ _, _, e1 := syscall_syscall(funcPC(libc_setprivexec_trampoline), uintptr(flag), 0, 0)
73633 if e1 != 0 {
73634 err = errnoErr(e1)
73635 }
73636 return
73637 }
73638
73639+func libc_setprivexec_trampoline()
73640+
73641+//go:linkname libc_setprivexec libc_setprivexec
73642+//go:cgo_import_dynamic libc_setprivexec setprivexec "/usr/lib/libSystem.B.dylib"
73643+
73644 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73645
73646 func Setregid(rgid int, egid int) (err error) {
73647- _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
73648+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setregid_trampoline), uintptr(rgid), uintptr(egid), 0)
73649 if e1 != 0 {
73650 err = errnoErr(e1)
73651 }
73652 return
73653 }
73654
73655+func libc_setregid_trampoline()
73656+
73657+//go:linkname libc_setregid libc_setregid
73658+//go:cgo_import_dynamic libc_setregid setregid "/usr/lib/libSystem.B.dylib"
73659+
73660 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73661
73662 func Setreuid(ruid int, euid int) (err error) {
73663- _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
73664+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setreuid_trampoline), uintptr(ruid), uintptr(euid), 0)
73665 if e1 != 0 {
73666 err = errnoErr(e1)
73667 }
73668 return
73669 }
73670
73671+func libc_setreuid_trampoline()
73672+
73673+//go:linkname libc_setreuid libc_setreuid
73674+//go:cgo_import_dynamic libc_setreuid setreuid "/usr/lib/libSystem.B.dylib"
73675+
73676 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73677
73678 func Setrlimit(which int, lim *Rlimit) (err error) {
73679- _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
73680+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setrlimit_trampoline), uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
73681 if e1 != 0 {
73682 err = errnoErr(e1)
73683 }
73684 return
73685 }
73686
73687+func libc_setrlimit_trampoline()
73688+
73689+//go:linkname libc_setrlimit libc_setrlimit
73690+//go:cgo_import_dynamic libc_setrlimit setrlimit "/usr/lib/libSystem.B.dylib"
73691+
73692 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73693
73694 func Setsid() (pid int, err error) {
73695- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
73696+ r0, _, e1 := syscall_rawSyscall(funcPC(libc_setsid_trampoline), 0, 0, 0)
73697 pid = int(r0)
73698 if e1 != 0 {
73699 err = errnoErr(e1)
73700@@ -1353,55 +2052,40 @@ func Setsid() (pid int, err error) {
73701 return
73702 }
73703
73704+func libc_setsid_trampoline()
73705+
73706+//go:linkname libc_setsid libc_setsid
73707+//go:cgo_import_dynamic libc_setsid setsid "/usr/lib/libSystem.B.dylib"
73708+
73709 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73710
73711 func Settimeofday(tp *Timeval) (err error) {
73712- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
73713+ _, _, e1 := syscall_rawSyscall(funcPC(libc_settimeofday_trampoline), uintptr(unsafe.Pointer(tp)), 0, 0)
73714 if e1 != 0 {
73715 err = errnoErr(e1)
73716 }
73717 return
73718 }
73719
73720-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73721+func libc_settimeofday_trampoline()
73722
73723-func Setuid(uid int) (err error) {
73724- _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
73725- if e1 != 0 {
73726- err = errnoErr(e1)
73727- }
73728- return
73729-}
73730+//go:linkname libc_settimeofday libc_settimeofday
73731+//go:cgo_import_dynamic libc_settimeofday settimeofday "/usr/lib/libSystem.B.dylib"
73732
73733 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73734
73735-func Stat(path string, stat *Stat_t) (err error) {
73736- var _p0 *byte
73737- _p0, err = BytePtrFromString(path)
73738- if err != nil {
73739- return
73740- }
73741- _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
73742+func Setuid(uid int) (err error) {
73743+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setuid_trampoline), uintptr(uid), 0, 0)
73744 if e1 != 0 {
73745 err = errnoErr(e1)
73746 }
73747 return
73748 }
73749
73750-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73751+func libc_setuid_trampoline()
73752
73753-func Statfs(path string, stat *Statfs_t) (err error) {
73754- var _p0 *byte
73755- _p0, err = BytePtrFromString(path)
73756- if err != nil {
73757- return
73758- }
73759- _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
73760- if e1 != 0 {
73761- err = errnoErr(e1)
73762- }
73763- return
73764-}
73765+//go:linkname libc_setuid libc_setuid
73766+//go:cgo_import_dynamic libc_setuid setuid "/usr/lib/libSystem.B.dylib"
73767
73768 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73769
73770@@ -1416,13 +2100,18 @@ func Symlink(path string, link string) (err error) {
73771 if err != nil {
73772 return
73773 }
73774- _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
73775+ _, _, e1 := syscall_syscall(funcPC(libc_symlink_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
73776 if e1 != 0 {
73777 err = errnoErr(e1)
73778 }
73779 return
73780 }
73781
73782+func libc_symlink_trampoline()
73783+
73784+//go:linkname libc_symlink libc_symlink
73785+//go:cgo_import_dynamic libc_symlink symlink "/usr/lib/libSystem.B.dylib"
73786+
73787 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73788
73789 func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
73790@@ -1436,23 +2125,33 @@ func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
73791 if err != nil {
73792 return
73793 }
73794- _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
73795+ _, _, e1 := syscall_syscall(funcPC(libc_symlinkat_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
73796 if e1 != 0 {
73797 err = errnoErr(e1)
73798 }
73799 return
73800 }
73801
73802+func libc_symlinkat_trampoline()
73803+
73804+//go:linkname libc_symlinkat libc_symlinkat
73805+//go:cgo_import_dynamic libc_symlinkat symlinkat "/usr/lib/libSystem.B.dylib"
73806+
73807 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73808
73809 func Sync() (err error) {
73810- _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
73811+ _, _, e1 := syscall_syscall(funcPC(libc_sync_trampoline), 0, 0, 0)
73812 if e1 != 0 {
73813 err = errnoErr(e1)
73814 }
73815 return
73816 }
73817
73818+func libc_sync_trampoline()
73819+
73820+//go:linkname libc_sync libc_sync
73821+//go:cgo_import_dynamic libc_sync sync "/usr/lib/libSystem.B.dylib"
73822+
73823 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73824
73825 func Truncate(path string, length int64) (err error) {
73826@@ -1461,21 +2160,31 @@ func Truncate(path string, length int64) (err error) {
73827 if err != nil {
73828 return
73829 }
73830- _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), uintptr(length>>32))
73831+ _, _, e1 := syscall_syscall(funcPC(libc_truncate_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(length), uintptr(length>>32))
73832 if e1 != 0 {
73833 err = errnoErr(e1)
73834 }
73835 return
73836 }
73837
73838+func libc_truncate_trampoline()
73839+
73840+//go:linkname libc_truncate libc_truncate
73841+//go:cgo_import_dynamic libc_truncate truncate "/usr/lib/libSystem.B.dylib"
73842+
73843 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73844
73845 func Umask(newmask int) (oldmask int) {
73846- r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
73847+ r0, _, _ := syscall_syscall(funcPC(libc_umask_trampoline), uintptr(newmask), 0, 0)
73848 oldmask = int(r0)
73849 return
73850 }
73851
73852+func libc_umask_trampoline()
73853+
73854+//go:linkname libc_umask libc_umask
73855+//go:cgo_import_dynamic libc_umask umask "/usr/lib/libSystem.B.dylib"
73856+
73857 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73858
73859 func Undelete(path string) (err error) {
73860@@ -1484,13 +2193,18 @@ func Undelete(path string) (err error) {
73861 if err != nil {
73862 return
73863 }
73864- _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
73865+ _, _, e1 := syscall_syscall(funcPC(libc_undelete_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
73866 if e1 != 0 {
73867 err = errnoErr(e1)
73868 }
73869 return
73870 }
73871
73872+func libc_undelete_trampoline()
73873+
73874+//go:linkname libc_undelete libc_undelete
73875+//go:cgo_import_dynamic libc_undelete undelete "/usr/lib/libSystem.B.dylib"
73876+
73877 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73878
73879 func Unlink(path string) (err error) {
73880@@ -1499,13 +2213,18 @@ func Unlink(path string) (err error) {
73881 if err != nil {
73882 return
73883 }
73884- _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
73885+ _, _, e1 := syscall_syscall(funcPC(libc_unlink_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
73886 if e1 != 0 {
73887 err = errnoErr(e1)
73888 }
73889 return
73890 }
73891
73892+func libc_unlink_trampoline()
73893+
73894+//go:linkname libc_unlink libc_unlink
73895+//go:cgo_import_dynamic libc_unlink unlink "/usr/lib/libSystem.B.dylib"
73896+
73897 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73898
73899 func Unlinkat(dirfd int, path string, flags int) (err error) {
73900@@ -1514,13 +2233,18 @@ func Unlinkat(dirfd int, path string, flags int) (err error) {
73901 if err != nil {
73902 return
73903 }
73904- _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
73905+ _, _, e1 := syscall_syscall(funcPC(libc_unlinkat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
73906 if e1 != 0 {
73907 err = errnoErr(e1)
73908 }
73909 return
73910 }
73911
73912+func libc_unlinkat_trampoline()
73913+
73914+//go:linkname libc_unlinkat libc_unlinkat
73915+//go:cgo_import_dynamic libc_unlinkat unlinkat "/usr/lib/libSystem.B.dylib"
73916+
73917 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73918
73919 func Unmount(path string, flags int) (err error) {
73920@@ -1529,13 +2253,18 @@ func Unmount(path string, flags int) (err error) {
73921 if err != nil {
73922 return
73923 }
73924- _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
73925+ _, _, e1 := syscall_syscall(funcPC(libc_unmount_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
73926 if e1 != 0 {
73927 err = errnoErr(e1)
73928 }
73929 return
73930 }
73931
73932+func libc_unmount_trampoline()
73933+
73934+//go:linkname libc_unmount libc_unmount
73935+//go:cgo_import_dynamic libc_unmount unmount "/usr/lib/libSystem.B.dylib"
73936+
73937 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73938
73939 func write(fd int, p []byte) (n int, err error) {
73940@@ -1545,7 +2274,7 @@ func write(fd int, p []byte) (n int, err error) {
73941 } else {
73942 _p0 = unsafe.Pointer(&_zero)
73943 }
73944- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
73945+ r0, _, e1 := syscall_syscall(funcPC(libc_write_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)))
73946 n = int(r0)
73947 if e1 != 0 {
73948 err = errnoErr(e1)
73949@@ -1553,10 +2282,15 @@ func write(fd int, p []byte) (n int, err error) {
73950 return
73951 }
73952
73953+func libc_write_trampoline()
73954+
73955+//go:linkname libc_write libc_write
73956+//go:cgo_import_dynamic libc_write write "/usr/lib/libSystem.B.dylib"
73957+
73958 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73959
73960 func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
73961- r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos), uintptr(pos>>32), 0, 0)
73962+ r0, _, e1 := syscall_syscall9(funcPC(libc_mmap_trampoline), uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos), uintptr(pos>>32), 0, 0)
73963 ret = uintptr(r0)
73964 if e1 != 0 {
73965 err = errnoErr(e1)
73966@@ -1564,20 +2298,30 @@ func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (
73967 return
73968 }
73969
73970+func libc_mmap_trampoline()
73971+
73972+//go:linkname libc_mmap libc_mmap
73973+//go:cgo_import_dynamic libc_mmap mmap "/usr/lib/libSystem.B.dylib"
73974+
73975 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73976
73977 func munmap(addr uintptr, length uintptr) (err error) {
73978- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
73979+ _, _, e1 := syscall_syscall(funcPC(libc_munmap_trampoline), uintptr(addr), uintptr(length), 0)
73980 if e1 != 0 {
73981 err = errnoErr(e1)
73982 }
73983 return
73984 }
73985
73986+func libc_munmap_trampoline()
73987+
73988+//go:linkname libc_munmap libc_munmap
73989+//go:cgo_import_dynamic libc_munmap munmap "/usr/lib/libSystem.B.dylib"
73990+
73991 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
73992
73993 func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
73994- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
73995+ r0, _, e1 := syscall_syscall(funcPC(libc_read_trampoline), uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
73996 n = int(r0)
73997 if e1 != 0 {
73998 err = errnoErr(e1)
73999@@ -1588,7 +2332,7 @@ func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
74000 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74001
74002 func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
74003- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
74004+ r0, _, e1 := syscall_syscall(funcPC(libc_write_trampoline), uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
74005 n = int(r0)
74006 if e1 != 0 {
74007 err = errnoErr(e1)
74008@@ -1598,8 +2342,23 @@ func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
74009
74010 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74011
74012+func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
74013+ _, _, e1 := syscall_syscall6(funcPC(libc_ptrace_trampoline), uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
74014+ if e1 != 0 {
74015+ err = errnoErr(e1)
74016+ }
74017+ return
74018+}
74019+
74020+func libc_ptrace_trampoline()
74021+
74022+//go:linkname libc_ptrace libc_ptrace
74023+//go:cgo_import_dynamic libc_ptrace ptrace "/usr/lib/libSystem.B.dylib"
74024+
74025+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74026+
74027 func gettimeofday(tp *Timeval) (sec int32, usec int32, err error) {
74028- r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
74029+ r0, r1, e1 := syscall_rawSyscall(funcPC(libc_gettimeofday_trampoline), uintptr(unsafe.Pointer(tp)), 0, 0)
74030 sec = int32(r0)
74031 usec = int32(r1)
74032 if e1 != 0 {
74033@@ -1607,3 +2366,134 @@ func gettimeofday(tp *Timeval) (sec int32, usec int32, err error) {
74034 }
74035 return
74036 }
74037+
74038+func libc_gettimeofday_trampoline()
74039+
74040+//go:linkname libc_gettimeofday libc_gettimeofday
74041+//go:cgo_import_dynamic libc_gettimeofday gettimeofday "/usr/lib/libSystem.B.dylib"
74042+
74043+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74044+
74045+func Fstat(fd int, stat *Stat_t) (err error) {
74046+ _, _, e1 := syscall_syscall(funcPC(libc_fstat64_trampoline), uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
74047+ if e1 != 0 {
74048+ err = errnoErr(e1)
74049+ }
74050+ return
74051+}
74052+
74053+func libc_fstat64_trampoline()
74054+
74055+//go:linkname libc_fstat64 libc_fstat64
74056+//go:cgo_import_dynamic libc_fstat64 fstat64 "/usr/lib/libSystem.B.dylib"
74057+
74058+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74059+
74060+func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
74061+ var _p0 *byte
74062+ _p0, err = BytePtrFromString(path)
74063+ if err != nil {
74064+ return
74065+ }
74066+ _, _, e1 := syscall_syscall6(funcPC(libc_fstatat64_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
74067+ if e1 != 0 {
74068+ err = errnoErr(e1)
74069+ }
74070+ return
74071+}
74072+
74073+func libc_fstatat64_trampoline()
74074+
74075+//go:linkname libc_fstatat64 libc_fstatat64
74076+//go:cgo_import_dynamic libc_fstatat64 fstatat64 "/usr/lib/libSystem.B.dylib"
74077+
74078+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74079+
74080+func Fstatfs(fd int, stat *Statfs_t) (err error) {
74081+ _, _, e1 := syscall_syscall(funcPC(libc_fstatfs64_trampoline), uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
74082+ if e1 != 0 {
74083+ err = errnoErr(e1)
74084+ }
74085+ return
74086+}
74087+
74088+func libc_fstatfs64_trampoline()
74089+
74090+//go:linkname libc_fstatfs64 libc_fstatfs64
74091+//go:cgo_import_dynamic libc_fstatfs64 fstatfs64 "/usr/lib/libSystem.B.dylib"
74092+
74093+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74094+
74095+func getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) {
74096+ r0, _, e1 := syscall_syscall(funcPC(libc_getfsstat64_trampoline), uintptr(buf), uintptr(size), uintptr(flags))
74097+ n = int(r0)
74098+ if e1 != 0 {
74099+ err = errnoErr(e1)
74100+ }
74101+ return
74102+}
74103+
74104+func libc_getfsstat64_trampoline()
74105+
74106+//go:linkname libc_getfsstat64 libc_getfsstat64
74107+//go:cgo_import_dynamic libc_getfsstat64 getfsstat64 "/usr/lib/libSystem.B.dylib"
74108+
74109+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74110+
74111+func Lstat(path string, stat *Stat_t) (err error) {
74112+ var _p0 *byte
74113+ _p0, err = BytePtrFromString(path)
74114+ if err != nil {
74115+ return
74116+ }
74117+ _, _, e1 := syscall_syscall(funcPC(libc_lstat64_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
74118+ if e1 != 0 {
74119+ err = errnoErr(e1)
74120+ }
74121+ return
74122+}
74123+
74124+func libc_lstat64_trampoline()
74125+
74126+//go:linkname libc_lstat64 libc_lstat64
74127+//go:cgo_import_dynamic libc_lstat64 lstat64 "/usr/lib/libSystem.B.dylib"
74128+
74129+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74130+
74131+func Stat(path string, stat *Stat_t) (err error) {
74132+ var _p0 *byte
74133+ _p0, err = BytePtrFromString(path)
74134+ if err != nil {
74135+ return
74136+ }
74137+ _, _, e1 := syscall_syscall(funcPC(libc_stat64_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
74138+ if e1 != 0 {
74139+ err = errnoErr(e1)
74140+ }
74141+ return
74142+}
74143+
74144+func libc_stat64_trampoline()
74145+
74146+//go:linkname libc_stat64 libc_stat64
74147+//go:cgo_import_dynamic libc_stat64 stat64 "/usr/lib/libSystem.B.dylib"
74148+
74149+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74150+
74151+func Statfs(path string, stat *Statfs_t) (err error) {
74152+ var _p0 *byte
74153+ _p0, err = BytePtrFromString(path)
74154+ if err != nil {
74155+ return
74156+ }
74157+ _, _, e1 := syscall_syscall(funcPC(libc_statfs64_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
74158+ if e1 != 0 {
74159+ err = errnoErr(e1)
74160+ }
74161+ return
74162+}
74163+
74164+func libc_statfs64_trampoline()
74165+
74166+//go:linkname libc_statfs64 libc_statfs64
74167+//go:cgo_import_dynamic libc_statfs64 statfs64 "/usr/lib/libSystem.B.dylib"
74168diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.s b/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.s
74169new file mode 100644
74170index 00000000..6836a412
74171--- /dev/null
74172+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.s
74173@@ -0,0 +1,284 @@
74174+// go run mkasm_darwin.go 386
74175+// Code generated by the command above; DO NOT EDIT.
74176+
74177+// +build go1.12
74178+
74179+#include "textflag.h"
74180+TEXT ·libc_getgroups_trampoline(SB),NOSPLIT,$0-0
74181+ JMP libc_getgroups(SB)
74182+TEXT ·libc_setgroups_trampoline(SB),NOSPLIT,$0-0
74183+ JMP libc_setgroups(SB)
74184+TEXT ·libc_wait4_trampoline(SB),NOSPLIT,$0-0
74185+ JMP libc_wait4(SB)
74186+TEXT ·libc_accept_trampoline(SB),NOSPLIT,$0-0
74187+ JMP libc_accept(SB)
74188+TEXT ·libc_bind_trampoline(SB),NOSPLIT,$0-0
74189+ JMP libc_bind(SB)
74190+TEXT ·libc_connect_trampoline(SB),NOSPLIT,$0-0
74191+ JMP libc_connect(SB)
74192+TEXT ·libc_socket_trampoline(SB),NOSPLIT,$0-0
74193+ JMP libc_socket(SB)
74194+TEXT ·libc_getsockopt_trampoline(SB),NOSPLIT,$0-0
74195+ JMP libc_getsockopt(SB)
74196+TEXT ·libc_setsockopt_trampoline(SB),NOSPLIT,$0-0
74197+ JMP libc_setsockopt(SB)
74198+TEXT ·libc_getpeername_trampoline(SB),NOSPLIT,$0-0
74199+ JMP libc_getpeername(SB)
74200+TEXT ·libc_getsockname_trampoline(SB),NOSPLIT,$0-0
74201+ JMP libc_getsockname(SB)
74202+TEXT ·libc_shutdown_trampoline(SB),NOSPLIT,$0-0
74203+ JMP libc_shutdown(SB)
74204+TEXT ·libc_socketpair_trampoline(SB),NOSPLIT,$0-0
74205+ JMP libc_socketpair(SB)
74206+TEXT ·libc_recvfrom_trampoline(SB),NOSPLIT,$0-0
74207+ JMP libc_recvfrom(SB)
74208+TEXT ·libc_sendto_trampoline(SB),NOSPLIT,$0-0
74209+ JMP libc_sendto(SB)
74210+TEXT ·libc_recvmsg_trampoline(SB),NOSPLIT,$0-0
74211+ JMP libc_recvmsg(SB)
74212+TEXT ·libc_sendmsg_trampoline(SB),NOSPLIT,$0-0
74213+ JMP libc_sendmsg(SB)
74214+TEXT ·libc_kevent_trampoline(SB),NOSPLIT,$0-0
74215+ JMP libc_kevent(SB)
74216+TEXT ·libc_utimes_trampoline(SB),NOSPLIT,$0-0
74217+ JMP libc_utimes(SB)
74218+TEXT ·libc_futimes_trampoline(SB),NOSPLIT,$0-0
74219+ JMP libc_futimes(SB)
74220+TEXT ·libc_poll_trampoline(SB),NOSPLIT,$0-0
74221+ JMP libc_poll(SB)
74222+TEXT ·libc_madvise_trampoline(SB),NOSPLIT,$0-0
74223+ JMP libc_madvise(SB)
74224+TEXT ·libc_mlock_trampoline(SB),NOSPLIT,$0-0
74225+ JMP libc_mlock(SB)
74226+TEXT ·libc_mlockall_trampoline(SB),NOSPLIT,$0-0
74227+ JMP libc_mlockall(SB)
74228+TEXT ·libc_mprotect_trampoline(SB),NOSPLIT,$0-0
74229+ JMP libc_mprotect(SB)
74230+TEXT ·libc_msync_trampoline(SB),NOSPLIT,$0-0
74231+ JMP libc_msync(SB)
74232+TEXT ·libc_munlock_trampoline(SB),NOSPLIT,$0-0
74233+ JMP libc_munlock(SB)
74234+TEXT ·libc_munlockall_trampoline(SB),NOSPLIT,$0-0
74235+ JMP libc_munlockall(SB)
74236+TEXT ·libc_getattrlist_trampoline(SB),NOSPLIT,$0-0
74237+ JMP libc_getattrlist(SB)
74238+TEXT ·libc_pipe_trampoline(SB),NOSPLIT,$0-0
74239+ JMP libc_pipe(SB)
74240+TEXT ·libc_getxattr_trampoline(SB),NOSPLIT,$0-0
74241+ JMP libc_getxattr(SB)
74242+TEXT ·libc_fgetxattr_trampoline(SB),NOSPLIT,$0-0
74243+ JMP libc_fgetxattr(SB)
74244+TEXT ·libc_setxattr_trampoline(SB),NOSPLIT,$0-0
74245+ JMP libc_setxattr(SB)
74246+TEXT ·libc_fsetxattr_trampoline(SB),NOSPLIT,$0-0
74247+ JMP libc_fsetxattr(SB)
74248+TEXT ·libc_removexattr_trampoline(SB),NOSPLIT,$0-0
74249+ JMP libc_removexattr(SB)
74250+TEXT ·libc_fremovexattr_trampoline(SB),NOSPLIT,$0-0
74251+ JMP libc_fremovexattr(SB)
74252+TEXT ·libc_listxattr_trampoline(SB),NOSPLIT,$0-0
74253+ JMP libc_listxattr(SB)
74254+TEXT ·libc_flistxattr_trampoline(SB),NOSPLIT,$0-0
74255+ JMP libc_flistxattr(SB)
74256+TEXT ·libc_setattrlist_trampoline(SB),NOSPLIT,$0-0
74257+ JMP libc_setattrlist(SB)
74258+TEXT ·libc_fcntl_trampoline(SB),NOSPLIT,$0-0
74259+ JMP libc_fcntl(SB)
74260+TEXT ·libc_kill_trampoline(SB),NOSPLIT,$0-0
74261+ JMP libc_kill(SB)
74262+TEXT ·libc_ioctl_trampoline(SB),NOSPLIT,$0-0
74263+ JMP libc_ioctl(SB)
74264+TEXT ·libc_sysctl_trampoline(SB),NOSPLIT,$0-0
74265+ JMP libc_sysctl(SB)
74266+TEXT ·libc_sendfile_trampoline(SB),NOSPLIT,$0-0
74267+ JMP libc_sendfile(SB)
74268+TEXT ·libc_access_trampoline(SB),NOSPLIT,$0-0
74269+ JMP libc_access(SB)
74270+TEXT ·libc_adjtime_trampoline(SB),NOSPLIT,$0-0
74271+ JMP libc_adjtime(SB)
74272+TEXT ·libc_chdir_trampoline(SB),NOSPLIT,$0-0
74273+ JMP libc_chdir(SB)
74274+TEXT ·libc_chflags_trampoline(SB),NOSPLIT,$0-0
74275+ JMP libc_chflags(SB)
74276+TEXT ·libc_chmod_trampoline(SB),NOSPLIT,$0-0
74277+ JMP libc_chmod(SB)
74278+TEXT ·libc_chown_trampoline(SB),NOSPLIT,$0-0
74279+ JMP libc_chown(SB)
74280+TEXT ·libc_chroot_trampoline(SB),NOSPLIT,$0-0
74281+ JMP libc_chroot(SB)
74282+TEXT ·libc_clock_gettime_trampoline(SB),NOSPLIT,$0-0
74283+ JMP libc_clock_gettime(SB)
74284+TEXT ·libc_close_trampoline(SB),NOSPLIT,$0-0
74285+ JMP libc_close(SB)
74286+TEXT ·libc_dup_trampoline(SB),NOSPLIT,$0-0
74287+ JMP libc_dup(SB)
74288+TEXT ·libc_dup2_trampoline(SB),NOSPLIT,$0-0
74289+ JMP libc_dup2(SB)
74290+TEXT ·libc_exchangedata_trampoline(SB),NOSPLIT,$0-0
74291+ JMP libc_exchangedata(SB)
74292+TEXT ·libc_exit_trampoline(SB),NOSPLIT,$0-0
74293+ JMP libc_exit(SB)
74294+TEXT ·libc_faccessat_trampoline(SB),NOSPLIT,$0-0
74295+ JMP libc_faccessat(SB)
74296+TEXT ·libc_fchdir_trampoline(SB),NOSPLIT,$0-0
74297+ JMP libc_fchdir(SB)
74298+TEXT ·libc_fchflags_trampoline(SB),NOSPLIT,$0-0
74299+ JMP libc_fchflags(SB)
74300+TEXT ·libc_fchmod_trampoline(SB),NOSPLIT,$0-0
74301+ JMP libc_fchmod(SB)
74302+TEXT ·libc_fchmodat_trampoline(SB),NOSPLIT,$0-0
74303+ JMP libc_fchmodat(SB)
74304+TEXT ·libc_fchown_trampoline(SB),NOSPLIT,$0-0
74305+ JMP libc_fchown(SB)
74306+TEXT ·libc_fchownat_trampoline(SB),NOSPLIT,$0-0
74307+ JMP libc_fchownat(SB)
74308+TEXT ·libc_flock_trampoline(SB),NOSPLIT,$0-0
74309+ JMP libc_flock(SB)
74310+TEXT ·libc_fpathconf_trampoline(SB),NOSPLIT,$0-0
74311+ JMP libc_fpathconf(SB)
74312+TEXT ·libc_fsync_trampoline(SB),NOSPLIT,$0-0
74313+ JMP libc_fsync(SB)
74314+TEXT ·libc_ftruncate_trampoline(SB),NOSPLIT,$0-0
74315+ JMP libc_ftruncate(SB)
74316+TEXT ·libc_getdtablesize_trampoline(SB),NOSPLIT,$0-0
74317+ JMP libc_getdtablesize(SB)
74318+TEXT ·libc_getegid_trampoline(SB),NOSPLIT,$0-0
74319+ JMP libc_getegid(SB)
74320+TEXT ·libc_geteuid_trampoline(SB),NOSPLIT,$0-0
74321+ JMP libc_geteuid(SB)
74322+TEXT ·libc_getgid_trampoline(SB),NOSPLIT,$0-0
74323+ JMP libc_getgid(SB)
74324+TEXT ·libc_getpgid_trampoline(SB),NOSPLIT,$0-0
74325+ JMP libc_getpgid(SB)
74326+TEXT ·libc_getpgrp_trampoline(SB),NOSPLIT,$0-0
74327+ JMP libc_getpgrp(SB)
74328+TEXT ·libc_getpid_trampoline(SB),NOSPLIT,$0-0
74329+ JMP libc_getpid(SB)
74330+TEXT ·libc_getppid_trampoline(SB),NOSPLIT,$0-0
74331+ JMP libc_getppid(SB)
74332+TEXT ·libc_getpriority_trampoline(SB),NOSPLIT,$0-0
74333+ JMP libc_getpriority(SB)
74334+TEXT ·libc_getrlimit_trampoline(SB),NOSPLIT,$0-0
74335+ JMP libc_getrlimit(SB)
74336+TEXT ·libc_getrusage_trampoline(SB),NOSPLIT,$0-0
74337+ JMP libc_getrusage(SB)
74338+TEXT ·libc_getsid_trampoline(SB),NOSPLIT,$0-0
74339+ JMP libc_getsid(SB)
74340+TEXT ·libc_getuid_trampoline(SB),NOSPLIT,$0-0
74341+ JMP libc_getuid(SB)
74342+TEXT ·libc_issetugid_trampoline(SB),NOSPLIT,$0-0
74343+ JMP libc_issetugid(SB)
74344+TEXT ·libc_kqueue_trampoline(SB),NOSPLIT,$0-0
74345+ JMP libc_kqueue(SB)
74346+TEXT ·libc_lchown_trampoline(SB),NOSPLIT,$0-0
74347+ JMP libc_lchown(SB)
74348+TEXT ·libc_link_trampoline(SB),NOSPLIT,$0-0
74349+ JMP libc_link(SB)
74350+TEXT ·libc_linkat_trampoline(SB),NOSPLIT,$0-0
74351+ JMP libc_linkat(SB)
74352+TEXT ·libc_listen_trampoline(SB),NOSPLIT,$0-0
74353+ JMP libc_listen(SB)
74354+TEXT ·libc_mkdir_trampoline(SB),NOSPLIT,$0-0
74355+ JMP libc_mkdir(SB)
74356+TEXT ·libc_mkdirat_trampoline(SB),NOSPLIT,$0-0
74357+ JMP libc_mkdirat(SB)
74358+TEXT ·libc_mkfifo_trampoline(SB),NOSPLIT,$0-0
74359+ JMP libc_mkfifo(SB)
74360+TEXT ·libc_mknod_trampoline(SB),NOSPLIT,$0-0
74361+ JMP libc_mknod(SB)
74362+TEXT ·libc_open_trampoline(SB),NOSPLIT,$0-0
74363+ JMP libc_open(SB)
74364+TEXT ·libc_openat_trampoline(SB),NOSPLIT,$0-0
74365+ JMP libc_openat(SB)
74366+TEXT ·libc_pathconf_trampoline(SB),NOSPLIT,$0-0
74367+ JMP libc_pathconf(SB)
74368+TEXT ·libc_pread_trampoline(SB),NOSPLIT,$0-0
74369+ JMP libc_pread(SB)
74370+TEXT ·libc_pwrite_trampoline(SB),NOSPLIT,$0-0
74371+ JMP libc_pwrite(SB)
74372+TEXT ·libc_read_trampoline(SB),NOSPLIT,$0-0
74373+ JMP libc_read(SB)
74374+TEXT ·libc_readlink_trampoline(SB),NOSPLIT,$0-0
74375+ JMP libc_readlink(SB)
74376+TEXT ·libc_readlinkat_trampoline(SB),NOSPLIT,$0-0
74377+ JMP libc_readlinkat(SB)
74378+TEXT ·libc_rename_trampoline(SB),NOSPLIT,$0-0
74379+ JMP libc_rename(SB)
74380+TEXT ·libc_renameat_trampoline(SB),NOSPLIT,$0-0
74381+ JMP libc_renameat(SB)
74382+TEXT ·libc_revoke_trampoline(SB),NOSPLIT,$0-0
74383+ JMP libc_revoke(SB)
74384+TEXT ·libc_rmdir_trampoline(SB),NOSPLIT,$0-0
74385+ JMP libc_rmdir(SB)
74386+TEXT ·libc_lseek_trampoline(SB),NOSPLIT,$0-0
74387+ JMP libc_lseek(SB)
74388+TEXT ·libc_select_trampoline(SB),NOSPLIT,$0-0
74389+ JMP libc_select(SB)
74390+TEXT ·libc_setegid_trampoline(SB),NOSPLIT,$0-0
74391+ JMP libc_setegid(SB)
74392+TEXT ·libc_seteuid_trampoline(SB),NOSPLIT,$0-0
74393+ JMP libc_seteuid(SB)
74394+TEXT ·libc_setgid_trampoline(SB),NOSPLIT,$0-0
74395+ JMP libc_setgid(SB)
74396+TEXT ·libc_setlogin_trampoline(SB),NOSPLIT,$0-0
74397+ JMP libc_setlogin(SB)
74398+TEXT ·libc_setpgid_trampoline(SB),NOSPLIT,$0-0
74399+ JMP libc_setpgid(SB)
74400+TEXT ·libc_setpriority_trampoline(SB),NOSPLIT,$0-0
74401+ JMP libc_setpriority(SB)
74402+TEXT ·libc_setprivexec_trampoline(SB),NOSPLIT,$0-0
74403+ JMP libc_setprivexec(SB)
74404+TEXT ·libc_setregid_trampoline(SB),NOSPLIT,$0-0
74405+ JMP libc_setregid(SB)
74406+TEXT ·libc_setreuid_trampoline(SB),NOSPLIT,$0-0
74407+ JMP libc_setreuid(SB)
74408+TEXT ·libc_setrlimit_trampoline(SB),NOSPLIT,$0-0
74409+ JMP libc_setrlimit(SB)
74410+TEXT ·libc_setsid_trampoline(SB),NOSPLIT,$0-0
74411+ JMP libc_setsid(SB)
74412+TEXT ·libc_settimeofday_trampoline(SB),NOSPLIT,$0-0
74413+ JMP libc_settimeofday(SB)
74414+TEXT ·libc_setuid_trampoline(SB),NOSPLIT,$0-0
74415+ JMP libc_setuid(SB)
74416+TEXT ·libc_symlink_trampoline(SB),NOSPLIT,$0-0
74417+ JMP libc_symlink(SB)
74418+TEXT ·libc_symlinkat_trampoline(SB),NOSPLIT,$0-0
74419+ JMP libc_symlinkat(SB)
74420+TEXT ·libc_sync_trampoline(SB),NOSPLIT,$0-0
74421+ JMP libc_sync(SB)
74422+TEXT ·libc_truncate_trampoline(SB),NOSPLIT,$0-0
74423+ JMP libc_truncate(SB)
74424+TEXT ·libc_umask_trampoline(SB),NOSPLIT,$0-0
74425+ JMP libc_umask(SB)
74426+TEXT ·libc_undelete_trampoline(SB),NOSPLIT,$0-0
74427+ JMP libc_undelete(SB)
74428+TEXT ·libc_unlink_trampoline(SB),NOSPLIT,$0-0
74429+ JMP libc_unlink(SB)
74430+TEXT ·libc_unlinkat_trampoline(SB),NOSPLIT,$0-0
74431+ JMP libc_unlinkat(SB)
74432+TEXT ·libc_unmount_trampoline(SB),NOSPLIT,$0-0
74433+ JMP libc_unmount(SB)
74434+TEXT ·libc_write_trampoline(SB),NOSPLIT,$0-0
74435+ JMP libc_write(SB)
74436+TEXT ·libc_mmap_trampoline(SB),NOSPLIT,$0-0
74437+ JMP libc_mmap(SB)
74438+TEXT ·libc_munmap_trampoline(SB),NOSPLIT,$0-0
74439+ JMP libc_munmap(SB)
74440+TEXT ·libc_ptrace_trampoline(SB),NOSPLIT,$0-0
74441+ JMP libc_ptrace(SB)
74442+TEXT ·libc_gettimeofday_trampoline(SB),NOSPLIT,$0-0
74443+ JMP libc_gettimeofday(SB)
74444+TEXT ·libc_fstat64_trampoline(SB),NOSPLIT,$0-0
74445+ JMP libc_fstat64(SB)
74446+TEXT ·libc_fstatat64_trampoline(SB),NOSPLIT,$0-0
74447+ JMP libc_fstatat64(SB)
74448+TEXT ·libc_fstatfs64_trampoline(SB),NOSPLIT,$0-0
74449+ JMP libc_fstatfs64(SB)
74450+TEXT ·libc_getfsstat64_trampoline(SB),NOSPLIT,$0-0
74451+ JMP libc_getfsstat64(SB)
74452+TEXT ·libc_lstat64_trampoline(SB),NOSPLIT,$0-0
74453+ JMP libc_lstat64(SB)
74454+TEXT ·libc_stat64_trampoline(SB),NOSPLIT,$0-0
74455+ JMP libc_stat64(SB)
74456+TEXT ·libc_statfs64_trampoline(SB),NOSPLIT,$0-0
74457+ JMP libc_statfs64(SB)
74458diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_11.go
74459similarity index 85%
74460copy from vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
74461copy to vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_11.go
74462index 07c6ebc9..f8e5c37c 100644
74463--- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
74464+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_11.go
74465@@ -1,7 +1,7 @@
74466-// mksyscall.pl -tags darwin,arm64 syscall_bsd.go syscall_darwin.go syscall_darwin_arm64.go
74467+// go run mksyscall.go -tags darwin,amd64,!go1.12 syscall_bsd.go syscall_darwin.go syscall_darwin_amd64.1_11.go syscall_darwin_amd64.go
74468 // Code generated by the command above; see README.md. DO NOT EDIT.
74469
74470-// +build darwin,arm64
74471+// +build darwin,amd64,!go1.12
74472
74473 package unix
74474
74475@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
74476
74477 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74478
74479-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
74480- var _p0 unsafe.Pointer
74481- if len(mib) > 0 {
74482- _p0 = unsafe.Pointer(&mib[0])
74483- } else {
74484- _p0 = unsafe.Pointer(&_zero)
74485- }
74486- _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
74487- if e1 != 0 {
74488- err = errnoErr(e1)
74489- }
74490- return
74491-}
74492-
74493-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74494-
74495 func utimes(path string, timeval *[2]Timeval) (err error) {
74496 var _p0 *byte
74497 _p0, err = BytePtrFromString(path)
74498@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
74499
74500 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74501
74502-func fcntl(fd int, cmd int, arg int) (val int, err error) {
74503- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
74504- val = int(r0)
74505+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
74506+ r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
74507+ n = int(r0)
74508 if e1 != 0 {
74509 err = errnoErr(e1)
74510 }
74511@@ -366,8 +350,8 @@ func Munlockall() (err error) {
74512
74513 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74514
74515-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
74516- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
74517+func getattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
74518+ _, _, e1 := Syscall6(SYS_GETATTRLIST, uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
74519 if e1 != 0 {
74520 err = errnoErr(e1)
74521 }
74522@@ -388,6 +372,161 @@ func pipe() (r int, w int, err error) {
74523
74524 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74525
74526+func getxattr(path string, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
74527+ var _p0 *byte
74528+ _p0, err = BytePtrFromString(path)
74529+ if err != nil {
74530+ return
74531+ }
74532+ var _p1 *byte
74533+ _p1, err = BytePtrFromString(attr)
74534+ if err != nil {
74535+ return
74536+ }
74537+ r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
74538+ sz = int(r0)
74539+ if e1 != 0 {
74540+ err = errnoErr(e1)
74541+ }
74542+ return
74543+}
74544+
74545+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74546+
74547+func fgetxattr(fd int, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
74548+ var _p0 *byte
74549+ _p0, err = BytePtrFromString(attr)
74550+ if err != nil {
74551+ return
74552+ }
74553+ r0, _, e1 := Syscall6(SYS_FGETXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
74554+ sz = int(r0)
74555+ if e1 != 0 {
74556+ err = errnoErr(e1)
74557+ }
74558+ return
74559+}
74560+
74561+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74562+
74563+func setxattr(path string, attr string, data *byte, size int, position uint32, options int) (err error) {
74564+ var _p0 *byte
74565+ _p0, err = BytePtrFromString(path)
74566+ if err != nil {
74567+ return
74568+ }
74569+ var _p1 *byte
74570+ _p1, err = BytePtrFromString(attr)
74571+ if err != nil {
74572+ return
74573+ }
74574+ _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
74575+ if e1 != 0 {
74576+ err = errnoErr(e1)
74577+ }
74578+ return
74579+}
74580+
74581+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74582+
74583+func fsetxattr(fd int, attr string, data *byte, size int, position uint32, options int) (err error) {
74584+ var _p0 *byte
74585+ _p0, err = BytePtrFromString(attr)
74586+ if err != nil {
74587+ return
74588+ }
74589+ _, _, e1 := Syscall6(SYS_FSETXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
74590+ if e1 != 0 {
74591+ err = errnoErr(e1)
74592+ }
74593+ return
74594+}
74595+
74596+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74597+
74598+func removexattr(path string, attr string, options int) (err error) {
74599+ var _p0 *byte
74600+ _p0, err = BytePtrFromString(path)
74601+ if err != nil {
74602+ return
74603+ }
74604+ var _p1 *byte
74605+ _p1, err = BytePtrFromString(attr)
74606+ if err != nil {
74607+ return
74608+ }
74609+ _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
74610+ if e1 != 0 {
74611+ err = errnoErr(e1)
74612+ }
74613+ return
74614+}
74615+
74616+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74617+
74618+func fremovexattr(fd int, attr string, options int) (err error) {
74619+ var _p0 *byte
74620+ _p0, err = BytePtrFromString(attr)
74621+ if err != nil {
74622+ return
74623+ }
74624+ _, _, e1 := Syscall(SYS_FREMOVEXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(options))
74625+ if e1 != 0 {
74626+ err = errnoErr(e1)
74627+ }
74628+ return
74629+}
74630+
74631+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74632+
74633+func listxattr(path string, dest *byte, size int, options int) (sz int, err error) {
74634+ var _p0 *byte
74635+ _p0, err = BytePtrFromString(path)
74636+ if err != nil {
74637+ return
74638+ }
74639+ r0, _, e1 := Syscall6(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
74640+ sz = int(r0)
74641+ if e1 != 0 {
74642+ err = errnoErr(e1)
74643+ }
74644+ return
74645+}
74646+
74647+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74648+
74649+func flistxattr(fd int, dest *byte, size int, options int) (sz int, err error) {
74650+ r0, _, e1 := Syscall6(SYS_FLISTXATTR, uintptr(fd), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
74651+ sz = int(r0)
74652+ if e1 != 0 {
74653+ err = errnoErr(e1)
74654+ }
74655+ return
74656+}
74657+
74658+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74659+
74660+func setattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
74661+ _, _, e1 := Syscall6(SYS_SETATTRLIST, uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
74662+ if e1 != 0 {
74663+ err = errnoErr(e1)
74664+ }
74665+ return
74666+}
74667+
74668+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74669+
74670+func fcntl(fd int, cmd int, arg int) (val int, err error) {
74671+ r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
74672+ val = int(r0)
74673+ if e1 != 0 {
74674+ err = errnoErr(e1)
74675+ }
74676+ return
74677+}
74678+
74679+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74680+
74681 func kill(pid int, signum int, posix int) (err error) {
74682 _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
74683 if e1 != 0 {
74684@@ -408,6 +547,32 @@ func ioctl(fd int, req uint, arg uintptr) (err error) {
74685
74686 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74687
74688+func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
74689+ var _p0 unsafe.Pointer
74690+ if len(mib) > 0 {
74691+ _p0 = unsafe.Pointer(&mib[0])
74692+ } else {
74693+ _p0 = unsafe.Pointer(&_zero)
74694+ }
74695+ _, _, e1 := Syscall6(SYS_SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
74696+ if e1 != 0 {
74697+ err = errnoErr(e1)
74698+ }
74699+ return
74700+}
74701+
74702+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74703+
74704+func sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) {
74705+ _, _, e1 := Syscall6(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(offset), uintptr(unsafe.Pointer(len)), uintptr(hdtr), uintptr(flags))
74706+ if e1 != 0 {
74707+ err = errnoErr(e1)
74708+ }
74709+ return
74710+}
74711+
74712+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74713+
74714 func Access(path string, mode uint32) (err error) {
74715 var _p0 *byte
74716 _p0, err = BytePtrFromString(path)
74717@@ -672,26 +837,6 @@ func Fpathconf(fd int, name int) (val int, err error) {
74718
74719 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74720
74721-func Fstat(fd int, stat *Stat_t) (err error) {
74722- _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
74723- if e1 != 0 {
74724- err = errnoErr(e1)
74725- }
74726- return
74727-}
74728-
74729-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74730-
74731-func Fstatfs(fd int, stat *Statfs_t) (err error) {
74732- _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
74733- if e1 != 0 {
74734- err = errnoErr(e1)
74735- }
74736- return
74737-}
74738-
74739-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74740-
74741 func Fsync(fd int) (err error) {
74742 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
74743 if e1 != 0 {
74744@@ -712,23 +857,6 @@ func Ftruncate(fd int, length int64) (err error) {
74745
74746 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74747
74748-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
74749- var _p0 unsafe.Pointer
74750- if len(buf) > 0 {
74751- _p0 = unsafe.Pointer(&buf[0])
74752- } else {
74753- _p0 = unsafe.Pointer(&_zero)
74754- }
74755- r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
74756- n = int(r0)
74757- if e1 != 0 {
74758- err = errnoErr(e1)
74759- }
74760- return
74761-}
74762-
74763-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74764-
74765 func Getdtablesize() (size int) {
74766 r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
74767 size = int(r0)
74768@@ -930,21 +1058,6 @@ func Listen(s int, backlog int) (err error) {
74769
74770 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74771
74772-func Lstat(path string, stat *Stat_t) (err error) {
74773- var _p0 *byte
74774- _p0, err = BytePtrFromString(path)
74775- if err != nil {
74776- return
74777- }
74778- _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
74779- if e1 != 0 {
74780- err = errnoErr(e1)
74781- }
74782- return
74783-}
74784-
74785-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74786-
74787 func Mkdir(path string, mode uint32) (err error) {
74788 var _p0 *byte
74789 _p0, err = BytePtrFromString(path)
74790@@ -1229,8 +1342,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
74791
74792 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74793
74794-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
74795- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
74796+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
74797+ r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
74798+ n = int(r0)
74799 if e1 != 0 {
74800 err = errnoErr(e1)
74801 }
74802@@ -1375,36 +1489,6 @@ func Setuid(uid int) (err error) {
74803
74804 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74805
74806-func Stat(path string, stat *Stat_t) (err error) {
74807- var _p0 *byte
74808- _p0, err = BytePtrFromString(path)
74809- if err != nil {
74810- return
74811- }
74812- _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
74813- if e1 != 0 {
74814- err = errnoErr(e1)
74815- }
74816- return
74817-}
74818-
74819-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74820-
74821-func Statfs(path string, stat *Statfs_t) (err error) {
74822- var _p0 *byte
74823- _p0, err = BytePtrFromString(path)
74824- if err != nil {
74825- return
74826- }
74827- _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
74828- if e1 != 0 {
74829- err = errnoErr(e1)
74830- }
74831- return
74832-}
74833-
74834-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74835-
74836 func Symlink(path string, link string) (err error) {
74837 var _p0 *byte
74838 _p0, err = BytePtrFromString(path)
74839@@ -1598,6 +1682,33 @@ func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
74840
74841 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74842
74843+func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
74844+ var _p0 unsafe.Pointer
74845+ if len(buf) > 0 {
74846+ _p0 = unsafe.Pointer(&buf[0])
74847+ } else {
74848+ _p0 = unsafe.Pointer(&_zero)
74849+ }
74850+ r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
74851+ n = int(r0)
74852+ if e1 != 0 {
74853+ err = errnoErr(e1)
74854+ }
74855+ return
74856+}
74857+
74858+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74859+
74860+func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
74861+ _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
74862+ if e1 != 0 {
74863+ err = errnoErr(e1)
74864+ }
74865+ return
74866+}
74867+
74868+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74869+
74870 func gettimeofday(tp *Timeval) (sec int64, usec int32, err error) {
74871 r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
74872 sec = int64(r0)
74873@@ -1607,3 +1718,94 @@ func gettimeofday(tp *Timeval) (sec int64, usec int32, err error) {
74874 }
74875 return
74876 }
74877+
74878+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74879+
74880+func Fstat(fd int, stat *Stat_t) (err error) {
74881+ _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
74882+ if e1 != 0 {
74883+ err = errnoErr(e1)
74884+ }
74885+ return
74886+}
74887+
74888+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74889+
74890+func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
74891+ var _p0 *byte
74892+ _p0, err = BytePtrFromString(path)
74893+ if err != nil {
74894+ return
74895+ }
74896+ _, _, e1 := Syscall6(SYS_FSTATAT64, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
74897+ if e1 != 0 {
74898+ err = errnoErr(e1)
74899+ }
74900+ return
74901+}
74902+
74903+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74904+
74905+func Fstatfs(fd int, stat *Statfs_t) (err error) {
74906+ _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
74907+ if e1 != 0 {
74908+ err = errnoErr(e1)
74909+ }
74910+ return
74911+}
74912+
74913+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74914+
74915+func getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) {
74916+ r0, _, e1 := Syscall(SYS_GETFSSTAT64, uintptr(buf), uintptr(size), uintptr(flags))
74917+ n = int(r0)
74918+ if e1 != 0 {
74919+ err = errnoErr(e1)
74920+ }
74921+ return
74922+}
74923+
74924+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74925+
74926+func Lstat(path string, stat *Stat_t) (err error) {
74927+ var _p0 *byte
74928+ _p0, err = BytePtrFromString(path)
74929+ if err != nil {
74930+ return
74931+ }
74932+ _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
74933+ if e1 != 0 {
74934+ err = errnoErr(e1)
74935+ }
74936+ return
74937+}
74938+
74939+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74940+
74941+func Stat(path string, stat *Stat_t) (err error) {
74942+ var _p0 *byte
74943+ _p0, err = BytePtrFromString(path)
74944+ if err != nil {
74945+ return
74946+ }
74947+ _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
74948+ if e1 != 0 {
74949+ err = errnoErr(e1)
74950+ }
74951+ return
74952+}
74953+
74954+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74955+
74956+func Statfs(path string, stat *Statfs_t) (err error) {
74957+ var _p0 *byte
74958+ _p0, err = BytePtrFromString(path)
74959+ if err != nil {
74960+ return
74961+ }
74962+ _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
74963+ if e1 != 0 {
74964+ err = errnoErr(e1)
74965+ }
74966+ return
74967+}
74968diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_13.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_13.go
74969new file mode 100644
74970index 00000000..314042a9
74971--- /dev/null
74972+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_13.go
74973@@ -0,0 +1,41 @@
74974+// go run mksyscall.go -tags darwin,amd64,go1.13 syscall_darwin.1_13.go
74975+// Code generated by the command above; see README.md. DO NOT EDIT.
74976+
74977+// +build darwin,amd64,go1.13
74978+
74979+package unix
74980+
74981+import (
74982+ "syscall"
74983+ "unsafe"
74984+)
74985+
74986+var _ syscall.Errno
74987+
74988+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
74989+
74990+func closedir(dir uintptr) (err error) {
74991+ _, _, e1 := syscall_syscall(funcPC(libc_closedir_trampoline), uintptr(dir), 0, 0)
74992+ if e1 != 0 {
74993+ err = errnoErr(e1)
74994+ }
74995+ return
74996+}
74997+
74998+func libc_closedir_trampoline()
74999+
75000+//go:linkname libc_closedir libc_closedir
75001+//go:cgo_import_dynamic libc_closedir closedir "/usr/lib/libSystem.B.dylib"
75002+
75003+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75004+
75005+func readdir_r(dir uintptr, entry *Dirent, result **Dirent) (res Errno) {
75006+ r0, _, _ := syscall_syscall(funcPC(libc_readdir_r_trampoline), uintptr(dir), uintptr(unsafe.Pointer(entry)), uintptr(unsafe.Pointer(result)))
75007+ res = Errno(r0)
75008+ return
75009+}
75010+
75011+func libc_readdir_r_trampoline()
75012+
75013+//go:linkname libc_readdir_r libc_readdir_r
75014+//go:cgo_import_dynamic libc_readdir_r readdir_r "/usr/lib/libSystem.B.dylib"
75015diff --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
75016new file mode 100644
75017index 00000000..d671e831
75018--- /dev/null
75019+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_13.s
75020@@ -0,0 +1,12 @@
75021+// go run mkasm_darwin.go amd64
75022+// Code generated by the command above; DO NOT EDIT.
75023+
75024+// +build go1.13
75025+
75026+#include "textflag.h"
75027+TEXT ·libc_fdopendir_trampoline(SB),NOSPLIT,$0-0
75028+ JMP libc_fdopendir(SB)
75029+TEXT ·libc_closedir_trampoline(SB),NOSPLIT,$0-0
75030+ JMP libc_closedir(SB)
75031+TEXT ·libc_readdir_r_trampoline(SB),NOSPLIT,$0-0
75032+ JMP libc_readdir_r(SB)
75033diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go
75034index 5f1f6bfe..50d6437e 100644
75035--- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go
75036+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go
75037@@ -1,7 +1,7 @@
75038-// mksyscall.pl -tags darwin,amd64 syscall_bsd.go syscall_darwin.go syscall_darwin_amd64.go
75039+// go run mksyscall.go -tags darwin,amd64,go1.12 syscall_bsd.go syscall_darwin.go syscall_darwin_amd64.go
75040 // Code generated by the command above; see README.md. DO NOT EDIT.
75041
75042-// +build darwin,amd64
75043+// +build darwin,amd64,go1.12
75044
75045 package unix
75046
75047@@ -15,7 +15,7 @@ var _ syscall.Errno
75048 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75049
75050 func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
75051- r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
75052+ r0, _, e1 := syscall_rawSyscall(funcPC(libc_getgroups_trampoline), uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
75053 n = int(r0)
75054 if e1 != 0 {
75055 err = errnoErr(e1)
75056@@ -23,20 +23,30 @@ func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
75057 return
75058 }
75059
75060+func libc_getgroups_trampoline()
75061+
75062+//go:linkname libc_getgroups libc_getgroups
75063+//go:cgo_import_dynamic libc_getgroups getgroups "/usr/lib/libSystem.B.dylib"
75064+
75065 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75066
75067 func setgroups(ngid int, gid *_Gid_t) (err error) {
75068- _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
75069+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setgroups_trampoline), uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
75070 if e1 != 0 {
75071 err = errnoErr(e1)
75072 }
75073 return
75074 }
75075
75076+func libc_setgroups_trampoline()
75077+
75078+//go:linkname libc_setgroups libc_setgroups
75079+//go:cgo_import_dynamic libc_setgroups setgroups "/usr/lib/libSystem.B.dylib"
75080+
75081 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75082
75083 func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
75084- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
75085+ r0, _, e1 := syscall_syscall6(funcPC(libc_wait4_trampoline), uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
75086 wpid = int(r0)
75087 if e1 != 0 {
75088 err = errnoErr(e1)
75089@@ -44,10 +54,15 @@ func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err
75090 return
75091 }
75092
75093+func libc_wait4_trampoline()
75094+
75095+//go:linkname libc_wait4 libc_wait4
75096+//go:cgo_import_dynamic libc_wait4 wait4 "/usr/lib/libSystem.B.dylib"
75097+
75098 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75099
75100 func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
75101- r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
75102+ r0, _, e1 := syscall_syscall(funcPC(libc_accept_trampoline), uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
75103 fd = int(r0)
75104 if e1 != 0 {
75105 err = errnoErr(e1)
75106@@ -55,30 +70,45 @@ func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
75107 return
75108 }
75109
75110+func libc_accept_trampoline()
75111+
75112+//go:linkname libc_accept libc_accept
75113+//go:cgo_import_dynamic libc_accept accept "/usr/lib/libSystem.B.dylib"
75114+
75115 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75116
75117 func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
75118- _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
75119+ _, _, e1 := syscall_syscall(funcPC(libc_bind_trampoline), uintptr(s), uintptr(addr), uintptr(addrlen))
75120 if e1 != 0 {
75121 err = errnoErr(e1)
75122 }
75123 return
75124 }
75125
75126+func libc_bind_trampoline()
75127+
75128+//go:linkname libc_bind libc_bind
75129+//go:cgo_import_dynamic libc_bind bind "/usr/lib/libSystem.B.dylib"
75130+
75131 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75132
75133 func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
75134- _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
75135+ _, _, e1 := syscall_syscall(funcPC(libc_connect_trampoline), uintptr(s), uintptr(addr), uintptr(addrlen))
75136 if e1 != 0 {
75137 err = errnoErr(e1)
75138 }
75139 return
75140 }
75141
75142+func libc_connect_trampoline()
75143+
75144+//go:linkname libc_connect libc_connect
75145+//go:cgo_import_dynamic libc_connect connect "/usr/lib/libSystem.B.dylib"
75146+
75147 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75148
75149 func socket(domain int, typ int, proto int) (fd int, err error) {
75150- r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
75151+ r0, _, e1 := syscall_rawSyscall(funcPC(libc_socket_trampoline), uintptr(domain), uintptr(typ), uintptr(proto))
75152 fd = int(r0)
75153 if e1 != 0 {
75154 err = errnoErr(e1)
75155@@ -86,66 +116,101 @@ func socket(domain int, typ int, proto int) (fd int, err error) {
75156 return
75157 }
75158
75159+func libc_socket_trampoline()
75160+
75161+//go:linkname libc_socket libc_socket
75162+//go:cgo_import_dynamic libc_socket socket "/usr/lib/libSystem.B.dylib"
75163+
75164 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75165
75166 func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
75167- _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
75168+ _, _, e1 := syscall_syscall6(funcPC(libc_getsockopt_trampoline), uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
75169 if e1 != 0 {
75170 err = errnoErr(e1)
75171 }
75172 return
75173 }
75174
75175+func libc_getsockopt_trampoline()
75176+
75177+//go:linkname libc_getsockopt libc_getsockopt
75178+//go:cgo_import_dynamic libc_getsockopt getsockopt "/usr/lib/libSystem.B.dylib"
75179+
75180 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75181
75182 func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
75183- _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
75184+ _, _, e1 := syscall_syscall6(funcPC(libc_setsockopt_trampoline), uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
75185 if e1 != 0 {
75186 err = errnoErr(e1)
75187 }
75188 return
75189 }
75190
75191+func libc_setsockopt_trampoline()
75192+
75193+//go:linkname libc_setsockopt libc_setsockopt
75194+//go:cgo_import_dynamic libc_setsockopt setsockopt "/usr/lib/libSystem.B.dylib"
75195+
75196 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75197
75198 func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
75199- _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
75200+ _, _, e1 := syscall_rawSyscall(funcPC(libc_getpeername_trampoline), uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
75201 if e1 != 0 {
75202 err = errnoErr(e1)
75203 }
75204 return
75205 }
75206
75207+func libc_getpeername_trampoline()
75208+
75209+//go:linkname libc_getpeername libc_getpeername
75210+//go:cgo_import_dynamic libc_getpeername getpeername "/usr/lib/libSystem.B.dylib"
75211+
75212 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75213
75214 func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
75215- _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
75216+ _, _, e1 := syscall_rawSyscall(funcPC(libc_getsockname_trampoline), uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
75217 if e1 != 0 {
75218 err = errnoErr(e1)
75219 }
75220 return
75221 }
75222
75223+func libc_getsockname_trampoline()
75224+
75225+//go:linkname libc_getsockname libc_getsockname
75226+//go:cgo_import_dynamic libc_getsockname getsockname "/usr/lib/libSystem.B.dylib"
75227+
75228 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75229
75230 func Shutdown(s int, how int) (err error) {
75231- _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
75232+ _, _, e1 := syscall_syscall(funcPC(libc_shutdown_trampoline), uintptr(s), uintptr(how), 0)
75233 if e1 != 0 {
75234 err = errnoErr(e1)
75235 }
75236 return
75237 }
75238
75239+func libc_shutdown_trampoline()
75240+
75241+//go:linkname libc_shutdown libc_shutdown
75242+//go:cgo_import_dynamic libc_shutdown shutdown "/usr/lib/libSystem.B.dylib"
75243+
75244 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75245
75246 func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
75247- _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
75248+ _, _, e1 := syscall_rawSyscall6(funcPC(libc_socketpair_trampoline), uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
75249 if e1 != 0 {
75250 err = errnoErr(e1)
75251 }
75252 return
75253 }
75254
75255+func libc_socketpair_trampoline()
75256+
75257+//go:linkname libc_socketpair libc_socketpair
75258+//go:cgo_import_dynamic libc_socketpair socketpair "/usr/lib/libSystem.B.dylib"
75259+
75260 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75261
75262 func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
75263@@ -155,7 +220,7 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl
75264 } else {
75265 _p0 = unsafe.Pointer(&_zero)
75266 }
75267- r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
75268+ r0, _, e1 := syscall_syscall6(funcPC(libc_recvfrom_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
75269 n = int(r0)
75270 if e1 != 0 {
75271 err = errnoErr(e1)
75272@@ -163,6 +228,11 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl
75273 return
75274 }
75275
75276+func libc_recvfrom_trampoline()
75277+
75278+//go:linkname libc_recvfrom libc_recvfrom
75279+//go:cgo_import_dynamic libc_recvfrom recvfrom "/usr/lib/libSystem.B.dylib"
75280+
75281 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75282
75283 func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
75284@@ -172,17 +242,22 @@ func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (
75285 } else {
75286 _p0 = unsafe.Pointer(&_zero)
75287 }
75288- _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
75289+ _, _, e1 := syscall_syscall6(funcPC(libc_sendto_trampoline), uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
75290 if e1 != 0 {
75291 err = errnoErr(e1)
75292 }
75293 return
75294 }
75295
75296+func libc_sendto_trampoline()
75297+
75298+//go:linkname libc_sendto libc_sendto
75299+//go:cgo_import_dynamic libc_sendto sendto "/usr/lib/libSystem.B.dylib"
75300+
75301 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75302
75303 func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
75304- r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
75305+ r0, _, e1 := syscall_syscall(funcPC(libc_recvmsg_trampoline), uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
75306 n = int(r0)
75307 if e1 != 0 {
75308 err = errnoErr(e1)
75309@@ -190,10 +265,15 @@ func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
75310 return
75311 }
75312
75313+func libc_recvmsg_trampoline()
75314+
75315+//go:linkname libc_recvmsg libc_recvmsg
75316+//go:cgo_import_dynamic libc_recvmsg recvmsg "/usr/lib/libSystem.B.dylib"
75317+
75318 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75319
75320 func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
75321- r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
75322+ r0, _, e1 := syscall_syscall(funcPC(libc_sendmsg_trampoline), uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
75323 n = int(r0)
75324 if e1 != 0 {
75325 err = errnoErr(e1)
75326@@ -201,10 +281,15 @@ func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
75327 return
75328 }
75329
75330+func libc_sendmsg_trampoline()
75331+
75332+//go:linkname libc_sendmsg libc_sendmsg
75333+//go:cgo_import_dynamic libc_sendmsg sendmsg "/usr/lib/libSystem.B.dylib"
75334+
75335 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75336
75337 func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
75338- r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
75339+ r0, _, e1 := syscall_syscall6(funcPC(libc_kevent_trampoline), uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
75340 n = int(r0)
75341 if e1 != 0 {
75342 err = errnoErr(e1)
75343@@ -212,21 +297,10 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
75344 return
75345 }
75346
75347-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75348+func libc_kevent_trampoline()
75349
75350-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
75351- var _p0 unsafe.Pointer
75352- if len(mib) > 0 {
75353- _p0 = unsafe.Pointer(&mib[0])
75354- } else {
75355- _p0 = unsafe.Pointer(&_zero)
75356- }
75357- _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
75358- if e1 != 0 {
75359- err = errnoErr(e1)
75360- }
75361- return
75362-}
75363+//go:linkname libc_kevent libc_kevent
75364+//go:cgo_import_dynamic libc_kevent kevent "/usr/lib/libSystem.B.dylib"
75365
75366 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75367
75368@@ -236,34 +310,49 @@ func utimes(path string, timeval *[2]Timeval) (err error) {
75369 if err != nil {
75370 return
75371 }
75372- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
75373+ _, _, e1 := syscall_syscall(funcPC(libc_utimes_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
75374 if e1 != 0 {
75375 err = errnoErr(e1)
75376 }
75377 return
75378 }
75379
75380+func libc_utimes_trampoline()
75381+
75382+//go:linkname libc_utimes libc_utimes
75383+//go:cgo_import_dynamic libc_utimes utimes "/usr/lib/libSystem.B.dylib"
75384+
75385 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75386
75387 func futimes(fd int, timeval *[2]Timeval) (err error) {
75388- _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
75389+ _, _, e1 := syscall_syscall(funcPC(libc_futimes_trampoline), uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
75390 if e1 != 0 {
75391 err = errnoErr(e1)
75392 }
75393 return
75394 }
75395
75396+func libc_futimes_trampoline()
75397+
75398+//go:linkname libc_futimes libc_futimes
75399+//go:cgo_import_dynamic libc_futimes futimes "/usr/lib/libSystem.B.dylib"
75400+
75401 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75402
75403-func fcntl(fd int, cmd int, arg int) (val int, err error) {
75404- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
75405- val = int(r0)
75406+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
75407+ r0, _, e1 := syscall_syscall(funcPC(libc_poll_trampoline), uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
75408+ n = int(r0)
75409 if e1 != 0 {
75410 err = errnoErr(e1)
75411 }
75412 return
75413 }
75414
75415+func libc_poll_trampoline()
75416+
75417+//go:linkname libc_poll libc_poll
75418+//go:cgo_import_dynamic libc_poll poll "/usr/lib/libSystem.B.dylib"
75419+
75420 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75421
75422 func Madvise(b []byte, behav int) (err error) {
75423@@ -273,13 +362,18 @@ func Madvise(b []byte, behav int) (err error) {
75424 } else {
75425 _p0 = unsafe.Pointer(&_zero)
75426 }
75427- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(behav))
75428+ _, _, e1 := syscall_syscall(funcPC(libc_madvise_trampoline), uintptr(_p0), uintptr(len(b)), uintptr(behav))
75429 if e1 != 0 {
75430 err = errnoErr(e1)
75431 }
75432 return
75433 }
75434
75435+func libc_madvise_trampoline()
75436+
75437+//go:linkname libc_madvise libc_madvise
75438+//go:cgo_import_dynamic libc_madvise madvise "/usr/lib/libSystem.B.dylib"
75439+
75440 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75441
75442 func Mlock(b []byte) (err error) {
75443@@ -289,23 +383,33 @@ func Mlock(b []byte) (err error) {
75444 } else {
75445 _p0 = unsafe.Pointer(&_zero)
75446 }
75447- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
75448+ _, _, e1 := syscall_syscall(funcPC(libc_mlock_trampoline), uintptr(_p0), uintptr(len(b)), 0)
75449 if e1 != 0 {
75450 err = errnoErr(e1)
75451 }
75452 return
75453 }
75454
75455+func libc_mlock_trampoline()
75456+
75457+//go:linkname libc_mlock libc_mlock
75458+//go:cgo_import_dynamic libc_mlock mlock "/usr/lib/libSystem.B.dylib"
75459+
75460 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75461
75462 func Mlockall(flags int) (err error) {
75463- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
75464+ _, _, e1 := syscall_syscall(funcPC(libc_mlockall_trampoline), uintptr(flags), 0, 0)
75465 if e1 != 0 {
75466 err = errnoErr(e1)
75467 }
75468 return
75469 }
75470
75471+func libc_mlockall_trampoline()
75472+
75473+//go:linkname libc_mlockall libc_mlockall
75474+//go:cgo_import_dynamic libc_mlockall mlockall "/usr/lib/libSystem.B.dylib"
75475+
75476 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75477
75478 func Mprotect(b []byte, prot int) (err error) {
75479@@ -315,13 +419,18 @@ func Mprotect(b []byte, prot int) (err error) {
75480 } else {
75481 _p0 = unsafe.Pointer(&_zero)
75482 }
75483- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
75484+ _, _, e1 := syscall_syscall(funcPC(libc_mprotect_trampoline), uintptr(_p0), uintptr(len(b)), uintptr(prot))
75485 if e1 != 0 {
75486 err = errnoErr(e1)
75487 }
75488 return
75489 }
75490
75491+func libc_mprotect_trampoline()
75492+
75493+//go:linkname libc_mprotect libc_mprotect
75494+//go:cgo_import_dynamic libc_mprotect mprotect "/usr/lib/libSystem.B.dylib"
75495+
75496 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75497
75498 func Msync(b []byte, flags int) (err error) {
75499@@ -331,13 +440,18 @@ func Msync(b []byte, flags int) (err error) {
75500 } else {
75501 _p0 = unsafe.Pointer(&_zero)
75502 }
75503- _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags))
75504+ _, _, e1 := syscall_syscall(funcPC(libc_msync_trampoline), uintptr(_p0), uintptr(len(b)), uintptr(flags))
75505 if e1 != 0 {
75506 err = errnoErr(e1)
75507 }
75508 return
75509 }
75510
75511+func libc_msync_trampoline()
75512+
75513+//go:linkname libc_msync libc_msync
75514+//go:cgo_import_dynamic libc_msync msync "/usr/lib/libSystem.B.dylib"
75515+
75516 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75517
75518 func Munlock(b []byte) (err error) {
75519@@ -347,37 +461,52 @@ func Munlock(b []byte) (err error) {
75520 } else {
75521 _p0 = unsafe.Pointer(&_zero)
75522 }
75523- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
75524+ _, _, e1 := syscall_syscall(funcPC(libc_munlock_trampoline), uintptr(_p0), uintptr(len(b)), 0)
75525 if e1 != 0 {
75526 err = errnoErr(e1)
75527 }
75528 return
75529 }
75530
75531+func libc_munlock_trampoline()
75532+
75533+//go:linkname libc_munlock libc_munlock
75534+//go:cgo_import_dynamic libc_munlock munlock "/usr/lib/libSystem.B.dylib"
75535+
75536 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75537
75538 func Munlockall() (err error) {
75539- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
75540+ _, _, e1 := syscall_syscall(funcPC(libc_munlockall_trampoline), 0, 0, 0)
75541 if e1 != 0 {
75542 err = errnoErr(e1)
75543 }
75544 return
75545 }
75546
75547+func libc_munlockall_trampoline()
75548+
75549+//go:linkname libc_munlockall libc_munlockall
75550+//go:cgo_import_dynamic libc_munlockall munlockall "/usr/lib/libSystem.B.dylib"
75551+
75552 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75553
75554-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
75555- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
75556+func getattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
75557+ _, _, e1 := syscall_syscall6(funcPC(libc_getattrlist_trampoline), uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
75558 if e1 != 0 {
75559 err = errnoErr(e1)
75560 }
75561 return
75562 }
75563
75564+func libc_getattrlist_trampoline()
75565+
75566+//go:linkname libc_getattrlist libc_getattrlist
75567+//go:cgo_import_dynamic libc_getattrlist getattrlist "/usr/lib/libSystem.B.dylib"
75568+
75569 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75570
75571 func pipe() (r int, w int, err error) {
75572- r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
75573+ r0, r1, e1 := syscall_rawSyscall(funcPC(libc_pipe_trampoline), 0, 0, 0)
75574 r = int(r0)
75575 w = int(r1)
75576 if e1 != 0 {
75577@@ -386,26 +515,282 @@ func pipe() (r int, w int, err error) {
75578 return
75579 }
75580
75581+func libc_pipe_trampoline()
75582+
75583+//go:linkname libc_pipe libc_pipe
75584+//go:cgo_import_dynamic libc_pipe pipe "/usr/lib/libSystem.B.dylib"
75585+
75586+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75587+
75588+func getxattr(path string, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
75589+ var _p0 *byte
75590+ _p0, err = BytePtrFromString(path)
75591+ if err != nil {
75592+ return
75593+ }
75594+ var _p1 *byte
75595+ _p1, err = BytePtrFromString(attr)
75596+ if err != nil {
75597+ return
75598+ }
75599+ r0, _, e1 := syscall_syscall6(funcPC(libc_getxattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
75600+ sz = int(r0)
75601+ if e1 != 0 {
75602+ err = errnoErr(e1)
75603+ }
75604+ return
75605+}
75606+
75607+func libc_getxattr_trampoline()
75608+
75609+//go:linkname libc_getxattr libc_getxattr
75610+//go:cgo_import_dynamic libc_getxattr getxattr "/usr/lib/libSystem.B.dylib"
75611+
75612+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75613+
75614+func fgetxattr(fd int, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
75615+ var _p0 *byte
75616+ _p0, err = BytePtrFromString(attr)
75617+ if err != nil {
75618+ return
75619+ }
75620+ r0, _, e1 := syscall_syscall6(funcPC(libc_fgetxattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
75621+ sz = int(r0)
75622+ if e1 != 0 {
75623+ err = errnoErr(e1)
75624+ }
75625+ return
75626+}
75627+
75628+func libc_fgetxattr_trampoline()
75629+
75630+//go:linkname libc_fgetxattr libc_fgetxattr
75631+//go:cgo_import_dynamic libc_fgetxattr fgetxattr "/usr/lib/libSystem.B.dylib"
75632+
75633+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75634+
75635+func setxattr(path string, attr string, data *byte, size int, position uint32, options int) (err error) {
75636+ var _p0 *byte
75637+ _p0, err = BytePtrFromString(path)
75638+ if err != nil {
75639+ return
75640+ }
75641+ var _p1 *byte
75642+ _p1, err = BytePtrFromString(attr)
75643+ if err != nil {
75644+ return
75645+ }
75646+ _, _, e1 := syscall_syscall6(funcPC(libc_setxattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
75647+ if e1 != 0 {
75648+ err = errnoErr(e1)
75649+ }
75650+ return
75651+}
75652+
75653+func libc_setxattr_trampoline()
75654+
75655+//go:linkname libc_setxattr libc_setxattr
75656+//go:cgo_import_dynamic libc_setxattr setxattr "/usr/lib/libSystem.B.dylib"
75657+
75658+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75659+
75660+func fsetxattr(fd int, attr string, data *byte, size int, position uint32, options int) (err error) {
75661+ var _p0 *byte
75662+ _p0, err = BytePtrFromString(attr)
75663+ if err != nil {
75664+ return
75665+ }
75666+ _, _, e1 := syscall_syscall6(funcPC(libc_fsetxattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
75667+ if e1 != 0 {
75668+ err = errnoErr(e1)
75669+ }
75670+ return
75671+}
75672+
75673+func libc_fsetxattr_trampoline()
75674+
75675+//go:linkname libc_fsetxattr libc_fsetxattr
75676+//go:cgo_import_dynamic libc_fsetxattr fsetxattr "/usr/lib/libSystem.B.dylib"
75677+
75678+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75679+
75680+func removexattr(path string, attr string, options int) (err error) {
75681+ var _p0 *byte
75682+ _p0, err = BytePtrFromString(path)
75683+ if err != nil {
75684+ return
75685+ }
75686+ var _p1 *byte
75687+ _p1, err = BytePtrFromString(attr)
75688+ if err != nil {
75689+ return
75690+ }
75691+ _, _, e1 := syscall_syscall(funcPC(libc_removexattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
75692+ if e1 != 0 {
75693+ err = errnoErr(e1)
75694+ }
75695+ return
75696+}
75697+
75698+func libc_removexattr_trampoline()
75699+
75700+//go:linkname libc_removexattr libc_removexattr
75701+//go:cgo_import_dynamic libc_removexattr removexattr "/usr/lib/libSystem.B.dylib"
75702+
75703+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75704+
75705+func fremovexattr(fd int, attr string, options int) (err error) {
75706+ var _p0 *byte
75707+ _p0, err = BytePtrFromString(attr)
75708+ if err != nil {
75709+ return
75710+ }
75711+ _, _, e1 := syscall_syscall(funcPC(libc_fremovexattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(options))
75712+ if e1 != 0 {
75713+ err = errnoErr(e1)
75714+ }
75715+ return
75716+}
75717+
75718+func libc_fremovexattr_trampoline()
75719+
75720+//go:linkname libc_fremovexattr libc_fremovexattr
75721+//go:cgo_import_dynamic libc_fremovexattr fremovexattr "/usr/lib/libSystem.B.dylib"
75722+
75723+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75724+
75725+func listxattr(path string, dest *byte, size int, options int) (sz int, err error) {
75726+ var _p0 *byte
75727+ _p0, err = BytePtrFromString(path)
75728+ if err != nil {
75729+ return
75730+ }
75731+ r0, _, e1 := syscall_syscall6(funcPC(libc_listxattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
75732+ sz = int(r0)
75733+ if e1 != 0 {
75734+ err = errnoErr(e1)
75735+ }
75736+ return
75737+}
75738+
75739+func libc_listxattr_trampoline()
75740+
75741+//go:linkname libc_listxattr libc_listxattr
75742+//go:cgo_import_dynamic libc_listxattr listxattr "/usr/lib/libSystem.B.dylib"
75743+
75744+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75745+
75746+func flistxattr(fd int, dest *byte, size int, options int) (sz int, err error) {
75747+ r0, _, e1 := syscall_syscall6(funcPC(libc_flistxattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
75748+ sz = int(r0)
75749+ if e1 != 0 {
75750+ err = errnoErr(e1)
75751+ }
75752+ return
75753+}
75754+
75755+func libc_flistxattr_trampoline()
75756+
75757+//go:linkname libc_flistxattr libc_flistxattr
75758+//go:cgo_import_dynamic libc_flistxattr flistxattr "/usr/lib/libSystem.B.dylib"
75759+
75760+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75761+
75762+func setattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
75763+ _, _, e1 := syscall_syscall6(funcPC(libc_setattrlist_trampoline), uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
75764+ if e1 != 0 {
75765+ err = errnoErr(e1)
75766+ }
75767+ return
75768+}
75769+
75770+func libc_setattrlist_trampoline()
75771+
75772+//go:linkname libc_setattrlist libc_setattrlist
75773+//go:cgo_import_dynamic libc_setattrlist setattrlist "/usr/lib/libSystem.B.dylib"
75774+
75775+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75776+
75777+func fcntl(fd int, cmd int, arg int) (val int, err error) {
75778+ r0, _, e1 := syscall_syscall(funcPC(libc_fcntl_trampoline), uintptr(fd), uintptr(cmd), uintptr(arg))
75779+ val = int(r0)
75780+ if e1 != 0 {
75781+ err = errnoErr(e1)
75782+ }
75783+ return
75784+}
75785+
75786+func libc_fcntl_trampoline()
75787+
75788+//go:linkname libc_fcntl libc_fcntl
75789+//go:cgo_import_dynamic libc_fcntl fcntl "/usr/lib/libSystem.B.dylib"
75790+
75791 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75792
75793 func kill(pid int, signum int, posix int) (err error) {
75794- _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
75795+ _, _, e1 := syscall_syscall(funcPC(libc_kill_trampoline), uintptr(pid), uintptr(signum), uintptr(posix))
75796 if e1 != 0 {
75797 err = errnoErr(e1)
75798 }
75799 return
75800 }
75801
75802+func libc_kill_trampoline()
75803+
75804+//go:linkname libc_kill libc_kill
75805+//go:cgo_import_dynamic libc_kill kill "/usr/lib/libSystem.B.dylib"
75806+
75807 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75808
75809 func ioctl(fd int, req uint, arg uintptr) (err error) {
75810- _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
75811+ _, _, e1 := syscall_syscall(funcPC(libc_ioctl_trampoline), uintptr(fd), uintptr(req), uintptr(arg))
75812+ if e1 != 0 {
75813+ err = errnoErr(e1)
75814+ }
75815+ return
75816+}
75817+
75818+func libc_ioctl_trampoline()
75819+
75820+//go:linkname libc_ioctl libc_ioctl
75821+//go:cgo_import_dynamic libc_ioctl ioctl "/usr/lib/libSystem.B.dylib"
75822+
75823+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75824+
75825+func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
75826+ var _p0 unsafe.Pointer
75827+ if len(mib) > 0 {
75828+ _p0 = unsafe.Pointer(&mib[0])
75829+ } else {
75830+ _p0 = unsafe.Pointer(&_zero)
75831+ }
75832+ _, _, e1 := syscall_syscall6(funcPC(libc_sysctl_trampoline), uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
75833 if e1 != 0 {
75834 err = errnoErr(e1)
75835 }
75836 return
75837 }
75838
75839+func libc_sysctl_trampoline()
75840+
75841+//go:linkname libc_sysctl libc_sysctl
75842+//go:cgo_import_dynamic libc_sysctl sysctl "/usr/lib/libSystem.B.dylib"
75843+
75844+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75845+
75846+func sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) {
75847+ _, _, e1 := syscall_syscall6(funcPC(libc_sendfile_trampoline), uintptr(infd), uintptr(outfd), uintptr(offset), uintptr(unsafe.Pointer(len)), uintptr(hdtr), uintptr(flags))
75848+ if e1 != 0 {
75849+ err = errnoErr(e1)
75850+ }
75851+ return
75852+}
75853+
75854+func libc_sendfile_trampoline()
75855+
75856+//go:linkname libc_sendfile libc_sendfile
75857+//go:cgo_import_dynamic libc_sendfile sendfile "/usr/lib/libSystem.B.dylib"
75858+
75859 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75860
75861 func Access(path string, mode uint32) (err error) {
75862@@ -414,23 +799,33 @@ func Access(path string, mode uint32) (err error) {
75863 if err != nil {
75864 return
75865 }
75866- _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
75867+ _, _, e1 := syscall_syscall(funcPC(libc_access_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
75868 if e1 != 0 {
75869 err = errnoErr(e1)
75870 }
75871 return
75872 }
75873
75874+func libc_access_trampoline()
75875+
75876+//go:linkname libc_access libc_access
75877+//go:cgo_import_dynamic libc_access access "/usr/lib/libSystem.B.dylib"
75878+
75879 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75880
75881 func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
75882- _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
75883+ _, _, e1 := syscall_syscall(funcPC(libc_adjtime_trampoline), uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
75884 if e1 != 0 {
75885 err = errnoErr(e1)
75886 }
75887 return
75888 }
75889
75890+func libc_adjtime_trampoline()
75891+
75892+//go:linkname libc_adjtime libc_adjtime
75893+//go:cgo_import_dynamic libc_adjtime adjtime "/usr/lib/libSystem.B.dylib"
75894+
75895 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75896
75897 func Chdir(path string) (err error) {
75898@@ -439,13 +834,18 @@ func Chdir(path string) (err error) {
75899 if err != nil {
75900 return
75901 }
75902- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
75903+ _, _, e1 := syscall_syscall(funcPC(libc_chdir_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
75904 if e1 != 0 {
75905 err = errnoErr(e1)
75906 }
75907 return
75908 }
75909
75910+func libc_chdir_trampoline()
75911+
75912+//go:linkname libc_chdir libc_chdir
75913+//go:cgo_import_dynamic libc_chdir chdir "/usr/lib/libSystem.B.dylib"
75914+
75915 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75916
75917 func Chflags(path string, flags int) (err error) {
75918@@ -454,13 +854,18 @@ func Chflags(path string, flags int) (err error) {
75919 if err != nil {
75920 return
75921 }
75922- _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
75923+ _, _, e1 := syscall_syscall(funcPC(libc_chflags_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
75924 if e1 != 0 {
75925 err = errnoErr(e1)
75926 }
75927 return
75928 }
75929
75930+func libc_chflags_trampoline()
75931+
75932+//go:linkname libc_chflags libc_chflags
75933+//go:cgo_import_dynamic libc_chflags chflags "/usr/lib/libSystem.B.dylib"
75934+
75935 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75936
75937 func Chmod(path string, mode uint32) (err error) {
75938@@ -469,13 +874,18 @@ func Chmod(path string, mode uint32) (err error) {
75939 if err != nil {
75940 return
75941 }
75942- _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
75943+ _, _, e1 := syscall_syscall(funcPC(libc_chmod_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
75944 if e1 != 0 {
75945 err = errnoErr(e1)
75946 }
75947 return
75948 }
75949
75950+func libc_chmod_trampoline()
75951+
75952+//go:linkname libc_chmod libc_chmod
75953+//go:cgo_import_dynamic libc_chmod chmod "/usr/lib/libSystem.B.dylib"
75954+
75955 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75956
75957 func Chown(path string, uid int, gid int) (err error) {
75958@@ -484,13 +894,18 @@ func Chown(path string, uid int, gid int) (err error) {
75959 if err != nil {
75960 return
75961 }
75962- _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
75963+ _, _, e1 := syscall_syscall(funcPC(libc_chown_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
75964 if e1 != 0 {
75965 err = errnoErr(e1)
75966 }
75967 return
75968 }
75969
75970+func libc_chown_trampoline()
75971+
75972+//go:linkname libc_chown libc_chown
75973+//go:cgo_import_dynamic libc_chown chown "/usr/lib/libSystem.B.dylib"
75974+
75975 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75976
75977 func Chroot(path string) (err error) {
75978@@ -499,27 +914,52 @@ func Chroot(path string) (err error) {
75979 if err != nil {
75980 return
75981 }
75982- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
75983+ _, _, e1 := syscall_syscall(funcPC(libc_chroot_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
75984+ if e1 != 0 {
75985+ err = errnoErr(e1)
75986+ }
75987+ return
75988+}
75989+
75990+func libc_chroot_trampoline()
75991+
75992+//go:linkname libc_chroot libc_chroot
75993+//go:cgo_import_dynamic libc_chroot chroot "/usr/lib/libSystem.B.dylib"
75994+
75995+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
75996+
75997+func ClockGettime(clockid int32, time *Timespec) (err error) {
75998+ _, _, e1 := syscall_syscall(funcPC(libc_clock_gettime_trampoline), uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
75999 if e1 != 0 {
76000 err = errnoErr(e1)
76001 }
76002 return
76003 }
76004
76005+func libc_clock_gettime_trampoline()
76006+
76007+//go:linkname libc_clock_gettime libc_clock_gettime
76008+//go:cgo_import_dynamic libc_clock_gettime clock_gettime "/usr/lib/libSystem.B.dylib"
76009+
76010 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76011
76012 func Close(fd int) (err error) {
76013- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
76014+ _, _, e1 := syscall_syscall(funcPC(libc_close_trampoline), uintptr(fd), 0, 0)
76015 if e1 != 0 {
76016 err = errnoErr(e1)
76017 }
76018 return
76019 }
76020
76021+func libc_close_trampoline()
76022+
76023+//go:linkname libc_close libc_close
76024+//go:cgo_import_dynamic libc_close close "/usr/lib/libSystem.B.dylib"
76025+
76026 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76027
76028 func Dup(fd int) (nfd int, err error) {
76029- r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
76030+ r0, _, e1 := syscall_syscall(funcPC(libc_dup_trampoline), uintptr(fd), 0, 0)
76031 nfd = int(r0)
76032 if e1 != 0 {
76033 err = errnoErr(e1)
76034@@ -527,16 +967,26 @@ func Dup(fd int) (nfd int, err error) {
76035 return
76036 }
76037
76038+func libc_dup_trampoline()
76039+
76040+//go:linkname libc_dup libc_dup
76041+//go:cgo_import_dynamic libc_dup dup "/usr/lib/libSystem.B.dylib"
76042+
76043 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76044
76045 func Dup2(from int, to int) (err error) {
76046- _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
76047+ _, _, e1 := syscall_syscall(funcPC(libc_dup2_trampoline), uintptr(from), uintptr(to), 0)
76048 if e1 != 0 {
76049 err = errnoErr(e1)
76050 }
76051 return
76052 }
76053
76054+func libc_dup2_trampoline()
76055+
76056+//go:linkname libc_dup2 libc_dup2
76057+//go:cgo_import_dynamic libc_dup2 dup2 "/usr/lib/libSystem.B.dylib"
76058+
76059 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76060
76061 func Exchangedata(path1 string, path2 string, options int) (err error) {
76062@@ -550,20 +1000,30 @@ func Exchangedata(path1 string, path2 string, options int) (err error) {
76063 if err != nil {
76064 return
76065 }
76066- _, _, e1 := Syscall(SYS_EXCHANGEDATA, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
76067+ _, _, e1 := syscall_syscall(funcPC(libc_exchangedata_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
76068 if e1 != 0 {
76069 err = errnoErr(e1)
76070 }
76071 return
76072 }
76073
76074+func libc_exchangedata_trampoline()
76075+
76076+//go:linkname libc_exchangedata libc_exchangedata
76077+//go:cgo_import_dynamic libc_exchangedata exchangedata "/usr/lib/libSystem.B.dylib"
76078+
76079 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76080
76081 func Exit(code int) {
76082- Syscall(SYS_EXIT, uintptr(code), 0, 0)
76083+ syscall_syscall(funcPC(libc_exit_trampoline), uintptr(code), 0, 0)
76084 return
76085 }
76086
76087+func libc_exit_trampoline()
76088+
76089+//go:linkname libc_exit libc_exit
76090+//go:cgo_import_dynamic libc_exit exit "/usr/lib/libSystem.B.dylib"
76091+
76092 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76093
76094 func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
76095@@ -572,43 +1032,63 @@ func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
76096 if err != nil {
76097 return
76098 }
76099- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
76100+ _, _, e1 := syscall_syscall6(funcPC(libc_faccessat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
76101 if e1 != 0 {
76102 err = errnoErr(e1)
76103 }
76104 return
76105 }
76106
76107+func libc_faccessat_trampoline()
76108+
76109+//go:linkname libc_faccessat libc_faccessat
76110+//go:cgo_import_dynamic libc_faccessat faccessat "/usr/lib/libSystem.B.dylib"
76111+
76112 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76113
76114 func Fchdir(fd int) (err error) {
76115- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
76116+ _, _, e1 := syscall_syscall(funcPC(libc_fchdir_trampoline), uintptr(fd), 0, 0)
76117 if e1 != 0 {
76118 err = errnoErr(e1)
76119 }
76120 return
76121 }
76122
76123+func libc_fchdir_trampoline()
76124+
76125+//go:linkname libc_fchdir libc_fchdir
76126+//go:cgo_import_dynamic libc_fchdir fchdir "/usr/lib/libSystem.B.dylib"
76127+
76128 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76129
76130 func Fchflags(fd int, flags int) (err error) {
76131- _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
76132+ _, _, e1 := syscall_syscall(funcPC(libc_fchflags_trampoline), uintptr(fd), uintptr(flags), 0)
76133 if e1 != 0 {
76134 err = errnoErr(e1)
76135 }
76136 return
76137 }
76138
76139+func libc_fchflags_trampoline()
76140+
76141+//go:linkname libc_fchflags libc_fchflags
76142+//go:cgo_import_dynamic libc_fchflags fchflags "/usr/lib/libSystem.B.dylib"
76143+
76144 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76145
76146 func Fchmod(fd int, mode uint32) (err error) {
76147- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
76148+ _, _, e1 := syscall_syscall(funcPC(libc_fchmod_trampoline), uintptr(fd), uintptr(mode), 0)
76149 if e1 != 0 {
76150 err = errnoErr(e1)
76151 }
76152 return
76153 }
76154
76155+func libc_fchmod_trampoline()
76156+
76157+//go:linkname libc_fchmod libc_fchmod
76158+//go:cgo_import_dynamic libc_fchmod fchmod "/usr/lib/libSystem.B.dylib"
76159+
76160 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76161
76162 func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
76163@@ -617,23 +1097,33 @@ func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
76164 if err != nil {
76165 return
76166 }
76167- _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
76168+ _, _, e1 := syscall_syscall6(funcPC(libc_fchmodat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
76169 if e1 != 0 {
76170 err = errnoErr(e1)
76171 }
76172 return
76173 }
76174
76175+func libc_fchmodat_trampoline()
76176+
76177+//go:linkname libc_fchmodat libc_fchmodat
76178+//go:cgo_import_dynamic libc_fchmodat fchmodat "/usr/lib/libSystem.B.dylib"
76179+
76180 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76181
76182 func Fchown(fd int, uid int, gid int) (err error) {
76183- _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
76184+ _, _, e1 := syscall_syscall(funcPC(libc_fchown_trampoline), uintptr(fd), uintptr(uid), uintptr(gid))
76185 if e1 != 0 {
76186 err = errnoErr(e1)
76187 }
76188 return
76189 }
76190
76191+func libc_fchown_trampoline()
76192+
76193+//go:linkname libc_fchown libc_fchown
76194+//go:cgo_import_dynamic libc_fchown fchown "/usr/lib/libSystem.B.dylib"
76195+
76196 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76197
76198 func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
76199@@ -642,27 +1132,37 @@ func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
76200 if err != nil {
76201 return
76202 }
76203- _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
76204+ _, _, e1 := syscall_syscall6(funcPC(libc_fchownat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
76205 if e1 != 0 {
76206 err = errnoErr(e1)
76207 }
76208 return
76209 }
76210
76211+func libc_fchownat_trampoline()
76212+
76213+//go:linkname libc_fchownat libc_fchownat
76214+//go:cgo_import_dynamic libc_fchownat fchownat "/usr/lib/libSystem.B.dylib"
76215+
76216 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76217
76218 func Flock(fd int, how int) (err error) {
76219- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
76220+ _, _, e1 := syscall_syscall(funcPC(libc_flock_trampoline), uintptr(fd), uintptr(how), 0)
76221 if e1 != 0 {
76222 err = errnoErr(e1)
76223 }
76224 return
76225 }
76226
76227+func libc_flock_trampoline()
76228+
76229+//go:linkname libc_flock libc_flock
76230+//go:cgo_import_dynamic libc_flock flock "/usr/lib/libSystem.B.dylib"
76231+
76232 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76233
76234 func Fpathconf(fd int, name int) (val int, err error) {
76235- r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
76236+ r0, _, e1 := syscall_syscall(funcPC(libc_fpathconf_trampoline), uintptr(fd), uintptr(name), 0)
76237 val = int(r0)
76238 if e1 != 0 {
76239 err = errnoErr(e1)
76240@@ -670,99 +1170,97 @@ func Fpathconf(fd int, name int) (val int, err error) {
76241 return
76242 }
76243
76244-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76245+func libc_fpathconf_trampoline()
76246
76247-func Fstat(fd int, stat *Stat_t) (err error) {
76248- _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
76249- if e1 != 0 {
76250- err = errnoErr(e1)
76251- }
76252- return
76253-}
76254+//go:linkname libc_fpathconf libc_fpathconf
76255+//go:cgo_import_dynamic libc_fpathconf fpathconf "/usr/lib/libSystem.B.dylib"
76256
76257 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76258
76259-func Fstatfs(fd int, stat *Statfs_t) (err error) {
76260- _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
76261+func Fsync(fd int) (err error) {
76262+ _, _, e1 := syscall_syscall(funcPC(libc_fsync_trampoline), uintptr(fd), 0, 0)
76263 if e1 != 0 {
76264 err = errnoErr(e1)
76265 }
76266 return
76267 }
76268
76269-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76270+func libc_fsync_trampoline()
76271
76272-func Fsync(fd int) (err error) {
76273- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
76274- if e1 != 0 {
76275- err = errnoErr(e1)
76276- }
76277- return
76278-}
76279+//go:linkname libc_fsync libc_fsync
76280+//go:cgo_import_dynamic libc_fsync fsync "/usr/lib/libSystem.B.dylib"
76281
76282 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76283
76284 func Ftruncate(fd int, length int64) (err error) {
76285- _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
76286+ _, _, e1 := syscall_syscall(funcPC(libc_ftruncate_trampoline), uintptr(fd), uintptr(length), 0)
76287 if e1 != 0 {
76288 err = errnoErr(e1)
76289 }
76290 return
76291 }
76292
76293-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76294+func libc_ftruncate_trampoline()
76295
76296-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
76297- var _p0 unsafe.Pointer
76298- if len(buf) > 0 {
76299- _p0 = unsafe.Pointer(&buf[0])
76300- } else {
76301- _p0 = unsafe.Pointer(&_zero)
76302- }
76303- r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
76304- n = int(r0)
76305- if e1 != 0 {
76306- err = errnoErr(e1)
76307- }
76308- return
76309-}
76310+//go:linkname libc_ftruncate libc_ftruncate
76311+//go:cgo_import_dynamic libc_ftruncate ftruncate "/usr/lib/libSystem.B.dylib"
76312
76313 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76314
76315 func Getdtablesize() (size int) {
76316- r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
76317+ r0, _, _ := syscall_syscall(funcPC(libc_getdtablesize_trampoline), 0, 0, 0)
76318 size = int(r0)
76319 return
76320 }
76321
76322+func libc_getdtablesize_trampoline()
76323+
76324+//go:linkname libc_getdtablesize libc_getdtablesize
76325+//go:cgo_import_dynamic libc_getdtablesize getdtablesize "/usr/lib/libSystem.B.dylib"
76326+
76327 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76328
76329 func Getegid() (egid int) {
76330- r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
76331+ r0, _, _ := syscall_rawSyscall(funcPC(libc_getegid_trampoline), 0, 0, 0)
76332 egid = int(r0)
76333 return
76334 }
76335
76336+func libc_getegid_trampoline()
76337+
76338+//go:linkname libc_getegid libc_getegid
76339+//go:cgo_import_dynamic libc_getegid getegid "/usr/lib/libSystem.B.dylib"
76340+
76341 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76342
76343 func Geteuid() (uid int) {
76344- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
76345+ r0, _, _ := syscall_rawSyscall(funcPC(libc_geteuid_trampoline), 0, 0, 0)
76346 uid = int(r0)
76347 return
76348 }
76349
76350+func libc_geteuid_trampoline()
76351+
76352+//go:linkname libc_geteuid libc_geteuid
76353+//go:cgo_import_dynamic libc_geteuid geteuid "/usr/lib/libSystem.B.dylib"
76354+
76355 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76356
76357 func Getgid() (gid int) {
76358- r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
76359+ r0, _, _ := syscall_rawSyscall(funcPC(libc_getgid_trampoline), 0, 0, 0)
76360 gid = int(r0)
76361 return
76362 }
76363
76364+func libc_getgid_trampoline()
76365+
76366+//go:linkname libc_getgid libc_getgid
76367+//go:cgo_import_dynamic libc_getgid getgid "/usr/lib/libSystem.B.dylib"
76368+
76369 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76370
76371 func Getpgid(pid int) (pgid int, err error) {
76372- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
76373+ r0, _, e1 := syscall_rawSyscall(funcPC(libc_getpgid_trampoline), uintptr(pid), 0, 0)
76374 pgid = int(r0)
76375 if e1 != 0 {
76376 err = errnoErr(e1)
76377@@ -770,34 +1268,54 @@ func Getpgid(pid int) (pgid int, err error) {
76378 return
76379 }
76380
76381+func libc_getpgid_trampoline()
76382+
76383+//go:linkname libc_getpgid libc_getpgid
76384+//go:cgo_import_dynamic libc_getpgid getpgid "/usr/lib/libSystem.B.dylib"
76385+
76386 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76387
76388 func Getpgrp() (pgrp int) {
76389- r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
76390+ r0, _, _ := syscall_rawSyscall(funcPC(libc_getpgrp_trampoline), 0, 0, 0)
76391 pgrp = int(r0)
76392 return
76393 }
76394
76395+func libc_getpgrp_trampoline()
76396+
76397+//go:linkname libc_getpgrp libc_getpgrp
76398+//go:cgo_import_dynamic libc_getpgrp getpgrp "/usr/lib/libSystem.B.dylib"
76399+
76400 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76401
76402 func Getpid() (pid int) {
76403- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
76404+ r0, _, _ := syscall_rawSyscall(funcPC(libc_getpid_trampoline), 0, 0, 0)
76405 pid = int(r0)
76406 return
76407 }
76408
76409+func libc_getpid_trampoline()
76410+
76411+//go:linkname libc_getpid libc_getpid
76412+//go:cgo_import_dynamic libc_getpid getpid "/usr/lib/libSystem.B.dylib"
76413+
76414 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76415
76416 func Getppid() (ppid int) {
76417- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
76418+ r0, _, _ := syscall_rawSyscall(funcPC(libc_getppid_trampoline), 0, 0, 0)
76419 ppid = int(r0)
76420 return
76421 }
76422
76423+func libc_getppid_trampoline()
76424+
76425+//go:linkname libc_getppid libc_getppid
76426+//go:cgo_import_dynamic libc_getppid getppid "/usr/lib/libSystem.B.dylib"
76427+
76428 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76429
76430 func Getpriority(which int, who int) (prio int, err error) {
76431- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
76432+ r0, _, e1 := syscall_syscall(funcPC(libc_getpriority_trampoline), uintptr(which), uintptr(who), 0)
76433 prio = int(r0)
76434 if e1 != 0 {
76435 err = errnoErr(e1)
76436@@ -805,30 +1323,45 @@ func Getpriority(which int, who int) (prio int, err error) {
76437 return
76438 }
76439
76440+func libc_getpriority_trampoline()
76441+
76442+//go:linkname libc_getpriority libc_getpriority
76443+//go:cgo_import_dynamic libc_getpriority getpriority "/usr/lib/libSystem.B.dylib"
76444+
76445 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76446
76447 func Getrlimit(which int, lim *Rlimit) (err error) {
76448- _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
76449+ _, _, e1 := syscall_rawSyscall(funcPC(libc_getrlimit_trampoline), uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
76450 if e1 != 0 {
76451 err = errnoErr(e1)
76452 }
76453 return
76454 }
76455
76456+func libc_getrlimit_trampoline()
76457+
76458+//go:linkname libc_getrlimit libc_getrlimit
76459+//go:cgo_import_dynamic libc_getrlimit getrlimit "/usr/lib/libSystem.B.dylib"
76460+
76461 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76462
76463 func Getrusage(who int, rusage *Rusage) (err error) {
76464- _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
76465+ _, _, e1 := syscall_rawSyscall(funcPC(libc_getrusage_trampoline), uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
76466 if e1 != 0 {
76467 err = errnoErr(e1)
76468 }
76469 return
76470 }
76471
76472+func libc_getrusage_trampoline()
76473+
76474+//go:linkname libc_getrusage libc_getrusage
76475+//go:cgo_import_dynamic libc_getrusage getrusage "/usr/lib/libSystem.B.dylib"
76476+
76477 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76478
76479 func Getsid(pid int) (sid int, err error) {
76480- r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
76481+ r0, _, e1 := syscall_rawSyscall(funcPC(libc_getsid_trampoline), uintptr(pid), 0, 0)
76482 sid = int(r0)
76483 if e1 != 0 {
76484 err = errnoErr(e1)
76485@@ -836,26 +1369,41 @@ func Getsid(pid int) (sid int, err error) {
76486 return
76487 }
76488
76489+func libc_getsid_trampoline()
76490+
76491+//go:linkname libc_getsid libc_getsid
76492+//go:cgo_import_dynamic libc_getsid getsid "/usr/lib/libSystem.B.dylib"
76493+
76494 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76495
76496 func Getuid() (uid int) {
76497- r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
76498+ r0, _, _ := syscall_rawSyscall(funcPC(libc_getuid_trampoline), 0, 0, 0)
76499 uid = int(r0)
76500 return
76501 }
76502
76503+func libc_getuid_trampoline()
76504+
76505+//go:linkname libc_getuid libc_getuid
76506+//go:cgo_import_dynamic libc_getuid getuid "/usr/lib/libSystem.B.dylib"
76507+
76508 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76509
76510 func Issetugid() (tainted bool) {
76511- r0, _, _ := RawSyscall(SYS_ISSETUGID, 0, 0, 0)
76512+ r0, _, _ := syscall_rawSyscall(funcPC(libc_issetugid_trampoline), 0, 0, 0)
76513 tainted = bool(r0 != 0)
76514 return
76515 }
76516
76517+func libc_issetugid_trampoline()
76518+
76519+//go:linkname libc_issetugid libc_issetugid
76520+//go:cgo_import_dynamic libc_issetugid issetugid "/usr/lib/libSystem.B.dylib"
76521+
76522 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76523
76524 func Kqueue() (fd int, err error) {
76525- r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
76526+ r0, _, e1 := syscall_syscall(funcPC(libc_kqueue_trampoline), 0, 0, 0)
76527 fd = int(r0)
76528 if e1 != 0 {
76529 err = errnoErr(e1)
76530@@ -863,6 +1411,11 @@ func Kqueue() (fd int, err error) {
76531 return
76532 }
76533
76534+func libc_kqueue_trampoline()
76535+
76536+//go:linkname libc_kqueue libc_kqueue
76537+//go:cgo_import_dynamic libc_kqueue kqueue "/usr/lib/libSystem.B.dylib"
76538+
76539 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76540
76541 func Lchown(path string, uid int, gid int) (err error) {
76542@@ -871,13 +1424,18 @@ func Lchown(path string, uid int, gid int) (err error) {
76543 if err != nil {
76544 return
76545 }
76546- _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
76547+ _, _, e1 := syscall_syscall(funcPC(libc_lchown_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
76548 if e1 != 0 {
76549 err = errnoErr(e1)
76550 }
76551 return
76552 }
76553
76554+func libc_lchown_trampoline()
76555+
76556+//go:linkname libc_lchown libc_lchown
76557+//go:cgo_import_dynamic libc_lchown lchown "/usr/lib/libSystem.B.dylib"
76558+
76559 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76560
76561 func Link(path string, link string) (err error) {
76562@@ -891,13 +1449,18 @@ func Link(path string, link string) (err error) {
76563 if err != nil {
76564 return
76565 }
76566- _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
76567+ _, _, e1 := syscall_syscall(funcPC(libc_link_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
76568 if e1 != 0 {
76569 err = errnoErr(e1)
76570 }
76571 return
76572 }
76573
76574+func libc_link_trampoline()
76575+
76576+//go:linkname libc_link libc_link
76577+//go:cgo_import_dynamic libc_link link "/usr/lib/libSystem.B.dylib"
76578+
76579 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76580
76581 func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error) {
76582@@ -911,37 +1474,32 @@ func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err er
76583 if err != nil {
76584 return
76585 }
76586- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
76587+ _, _, e1 := syscall_syscall6(funcPC(libc_linkat_trampoline), uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
76588 if e1 != 0 {
76589 err = errnoErr(e1)
76590 }
76591 return
76592 }
76593
76594+func libc_linkat_trampoline()
76595+
76596+//go:linkname libc_linkat libc_linkat
76597+//go:cgo_import_dynamic libc_linkat linkat "/usr/lib/libSystem.B.dylib"
76598+
76599 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76600
76601 func Listen(s int, backlog int) (err error) {
76602- _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
76603+ _, _, e1 := syscall_syscall(funcPC(libc_listen_trampoline), uintptr(s), uintptr(backlog), 0)
76604 if e1 != 0 {
76605 err = errnoErr(e1)
76606 }
76607 return
76608 }
76609
76610-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76611+func libc_listen_trampoline()
76612
76613-func Lstat(path string, stat *Stat_t) (err error) {
76614- var _p0 *byte
76615- _p0, err = BytePtrFromString(path)
76616- if err != nil {
76617- return
76618- }
76619- _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
76620- if e1 != 0 {
76621- err = errnoErr(e1)
76622- }
76623- return
76624-}
76625+//go:linkname libc_listen libc_listen
76626+//go:cgo_import_dynamic libc_listen listen "/usr/lib/libSystem.B.dylib"
76627
76628 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76629
76630@@ -951,13 +1509,18 @@ func Mkdir(path string, mode uint32) (err error) {
76631 if err != nil {
76632 return
76633 }
76634- _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
76635+ _, _, e1 := syscall_syscall(funcPC(libc_mkdir_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
76636 if e1 != 0 {
76637 err = errnoErr(e1)
76638 }
76639 return
76640 }
76641
76642+func libc_mkdir_trampoline()
76643+
76644+//go:linkname libc_mkdir libc_mkdir
76645+//go:cgo_import_dynamic libc_mkdir mkdir "/usr/lib/libSystem.B.dylib"
76646+
76647 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76648
76649 func Mkdirat(dirfd int, path string, mode uint32) (err error) {
76650@@ -966,13 +1529,18 @@ func Mkdirat(dirfd int, path string, mode uint32) (err error) {
76651 if err != nil {
76652 return
76653 }
76654- _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
76655+ _, _, e1 := syscall_syscall(funcPC(libc_mkdirat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
76656 if e1 != 0 {
76657 err = errnoErr(e1)
76658 }
76659 return
76660 }
76661
76662+func libc_mkdirat_trampoline()
76663+
76664+//go:linkname libc_mkdirat libc_mkdirat
76665+//go:cgo_import_dynamic libc_mkdirat mkdirat "/usr/lib/libSystem.B.dylib"
76666+
76667 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76668
76669 func Mkfifo(path string, mode uint32) (err error) {
76670@@ -981,13 +1549,18 @@ func Mkfifo(path string, mode uint32) (err error) {
76671 if err != nil {
76672 return
76673 }
76674- _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
76675+ _, _, e1 := syscall_syscall(funcPC(libc_mkfifo_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
76676 if e1 != 0 {
76677 err = errnoErr(e1)
76678 }
76679 return
76680 }
76681
76682+func libc_mkfifo_trampoline()
76683+
76684+//go:linkname libc_mkfifo libc_mkfifo
76685+//go:cgo_import_dynamic libc_mkfifo mkfifo "/usr/lib/libSystem.B.dylib"
76686+
76687 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76688
76689 func Mknod(path string, mode uint32, dev int) (err error) {
76690@@ -996,13 +1569,18 @@ func Mknod(path string, mode uint32, dev int) (err error) {
76691 if err != nil {
76692 return
76693 }
76694- _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
76695+ _, _, e1 := syscall_syscall(funcPC(libc_mknod_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
76696 if e1 != 0 {
76697 err = errnoErr(e1)
76698 }
76699 return
76700 }
76701
76702+func libc_mknod_trampoline()
76703+
76704+//go:linkname libc_mknod libc_mknod
76705+//go:cgo_import_dynamic libc_mknod mknod "/usr/lib/libSystem.B.dylib"
76706+
76707 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76708
76709 func Open(path string, mode int, perm uint32) (fd int, err error) {
76710@@ -1011,7 +1589,7 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
76711 if err != nil {
76712 return
76713 }
76714- r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
76715+ r0, _, e1 := syscall_syscall(funcPC(libc_open_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
76716 fd = int(r0)
76717 if e1 != 0 {
76718 err = errnoErr(e1)
76719@@ -1019,6 +1597,11 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
76720 return
76721 }
76722
76723+func libc_open_trampoline()
76724+
76725+//go:linkname libc_open libc_open
76726+//go:cgo_import_dynamic libc_open open "/usr/lib/libSystem.B.dylib"
76727+
76728 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76729
76730 func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
76731@@ -1027,7 +1610,7 @@ func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
76732 if err != nil {
76733 return
76734 }
76735- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
76736+ r0, _, e1 := syscall_syscall6(funcPC(libc_openat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
76737 fd = int(r0)
76738 if e1 != 0 {
76739 err = errnoErr(e1)
76740@@ -1035,6 +1618,11 @@ func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
76741 return
76742 }
76743
76744+func libc_openat_trampoline()
76745+
76746+//go:linkname libc_openat libc_openat
76747+//go:cgo_import_dynamic libc_openat openat "/usr/lib/libSystem.B.dylib"
76748+
76749 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76750
76751 func Pathconf(path string, name int) (val int, err error) {
76752@@ -1043,7 +1631,7 @@ func Pathconf(path string, name int) (val int, err error) {
76753 if err != nil {
76754 return
76755 }
76756- r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
76757+ r0, _, e1 := syscall_syscall(funcPC(libc_pathconf_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
76758 val = int(r0)
76759 if e1 != 0 {
76760 err = errnoErr(e1)
76761@@ -1051,6 +1639,11 @@ func Pathconf(path string, name int) (val int, err error) {
76762 return
76763 }
76764
76765+func libc_pathconf_trampoline()
76766+
76767+//go:linkname libc_pathconf libc_pathconf
76768+//go:cgo_import_dynamic libc_pathconf pathconf "/usr/lib/libSystem.B.dylib"
76769+
76770 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76771
76772 func Pread(fd int, p []byte, offset int64) (n int, err error) {
76773@@ -1060,7 +1653,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
76774 } else {
76775 _p0 = unsafe.Pointer(&_zero)
76776 }
76777- r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
76778+ r0, _, e1 := syscall_syscall6(funcPC(libc_pread_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
76779 n = int(r0)
76780 if e1 != 0 {
76781 err = errnoErr(e1)
76782@@ -1068,6 +1661,11 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
76783 return
76784 }
76785
76786+func libc_pread_trampoline()
76787+
76788+//go:linkname libc_pread libc_pread
76789+//go:cgo_import_dynamic libc_pread pread "/usr/lib/libSystem.B.dylib"
76790+
76791 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76792
76793 func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
76794@@ -1077,7 +1675,7 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
76795 } else {
76796 _p0 = unsafe.Pointer(&_zero)
76797 }
76798- r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
76799+ r0, _, e1 := syscall_syscall6(funcPC(libc_pwrite_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
76800 n = int(r0)
76801 if e1 != 0 {
76802 err = errnoErr(e1)
76803@@ -1085,6 +1683,11 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
76804 return
76805 }
76806
76807+func libc_pwrite_trampoline()
76808+
76809+//go:linkname libc_pwrite libc_pwrite
76810+//go:cgo_import_dynamic libc_pwrite pwrite "/usr/lib/libSystem.B.dylib"
76811+
76812 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76813
76814 func read(fd int, p []byte) (n int, err error) {
76815@@ -1094,7 +1697,7 @@ func read(fd int, p []byte) (n int, err error) {
76816 } else {
76817 _p0 = unsafe.Pointer(&_zero)
76818 }
76819- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
76820+ r0, _, e1 := syscall_syscall(funcPC(libc_read_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)))
76821 n = int(r0)
76822 if e1 != 0 {
76823 err = errnoErr(e1)
76824@@ -1102,6 +1705,11 @@ func read(fd int, p []byte) (n int, err error) {
76825 return
76826 }
76827
76828+func libc_read_trampoline()
76829+
76830+//go:linkname libc_read libc_read
76831+//go:cgo_import_dynamic libc_read read "/usr/lib/libSystem.B.dylib"
76832+
76833 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76834
76835 func Readlink(path string, buf []byte) (n int, err error) {
76836@@ -1116,7 +1724,7 @@ func Readlink(path string, buf []byte) (n int, err error) {
76837 } else {
76838 _p1 = unsafe.Pointer(&_zero)
76839 }
76840- r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
76841+ r0, _, e1 := syscall_syscall(funcPC(libc_readlink_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
76842 n = int(r0)
76843 if e1 != 0 {
76844 err = errnoErr(e1)
76845@@ -1124,6 +1732,11 @@ func Readlink(path string, buf []byte) (n int, err error) {
76846 return
76847 }
76848
76849+func libc_readlink_trampoline()
76850+
76851+//go:linkname libc_readlink libc_readlink
76852+//go:cgo_import_dynamic libc_readlink readlink "/usr/lib/libSystem.B.dylib"
76853+
76854 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76855
76856 func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
76857@@ -1138,7 +1751,7 @@ func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
76858 } else {
76859 _p1 = unsafe.Pointer(&_zero)
76860 }
76861- r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
76862+ r0, _, e1 := syscall_syscall6(funcPC(libc_readlinkat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
76863 n = int(r0)
76864 if e1 != 0 {
76865 err = errnoErr(e1)
76866@@ -1146,6 +1759,11 @@ func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
76867 return
76868 }
76869
76870+func libc_readlinkat_trampoline()
76871+
76872+//go:linkname libc_readlinkat libc_readlinkat
76873+//go:cgo_import_dynamic libc_readlinkat readlinkat "/usr/lib/libSystem.B.dylib"
76874+
76875 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76876
76877 func Rename(from string, to string) (err error) {
76878@@ -1159,13 +1777,18 @@ func Rename(from string, to string) (err error) {
76879 if err != nil {
76880 return
76881 }
76882- _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
76883+ _, _, e1 := syscall_syscall(funcPC(libc_rename_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
76884 if e1 != 0 {
76885 err = errnoErr(e1)
76886 }
76887 return
76888 }
76889
76890+func libc_rename_trampoline()
76891+
76892+//go:linkname libc_rename libc_rename
76893+//go:cgo_import_dynamic libc_rename rename "/usr/lib/libSystem.B.dylib"
76894+
76895 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76896
76897 func Renameat(fromfd int, from string, tofd int, to string) (err error) {
76898@@ -1179,13 +1802,18 @@ func Renameat(fromfd int, from string, tofd int, to string) (err error) {
76899 if err != nil {
76900 return
76901 }
76902- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0)
76903+ _, _, e1 := syscall_syscall6(funcPC(libc_renameat_trampoline), uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0)
76904 if e1 != 0 {
76905 err = errnoErr(e1)
76906 }
76907 return
76908 }
76909
76910+func libc_renameat_trampoline()
76911+
76912+//go:linkname libc_renameat libc_renameat
76913+//go:cgo_import_dynamic libc_renameat renameat "/usr/lib/libSystem.B.dylib"
76914+
76915 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76916
76917 func Revoke(path string) (err error) {
76918@@ -1194,13 +1822,18 @@ func Revoke(path string) (err error) {
76919 if err != nil {
76920 return
76921 }
76922- _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
76923+ _, _, e1 := syscall_syscall(funcPC(libc_revoke_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
76924 if e1 != 0 {
76925 err = errnoErr(e1)
76926 }
76927 return
76928 }
76929
76930+func libc_revoke_trampoline()
76931+
76932+//go:linkname libc_revoke libc_revoke
76933+//go:cgo_import_dynamic libc_revoke revoke "/usr/lib/libSystem.B.dylib"
76934+
76935 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76936
76937 func Rmdir(path string) (err error) {
76938@@ -1209,17 +1842,22 @@ func Rmdir(path string) (err error) {
76939 if err != nil {
76940 return
76941 }
76942- _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
76943+ _, _, e1 := syscall_syscall(funcPC(libc_rmdir_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
76944 if e1 != 0 {
76945 err = errnoErr(e1)
76946 }
76947 return
76948 }
76949
76950+func libc_rmdir_trampoline()
76951+
76952+//go:linkname libc_rmdir libc_rmdir
76953+//go:cgo_import_dynamic libc_rmdir rmdir "/usr/lib/libSystem.B.dylib"
76954+
76955 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76956
76957 func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
76958- r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
76959+ r0, _, e1 := syscall_syscall(funcPC(libc_lseek_trampoline), uintptr(fd), uintptr(offset), uintptr(whence))
76960 newoffset = int64(r0)
76961 if e1 != 0 {
76962 err = errnoErr(e1)
76963@@ -1227,46 +1865,72 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
76964 return
76965 }
76966
76967+func libc_lseek_trampoline()
76968+
76969+//go:linkname libc_lseek libc_lseek
76970+//go:cgo_import_dynamic libc_lseek lseek "/usr/lib/libSystem.B.dylib"
76971+
76972 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76973
76974-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
76975- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
76976+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
76977+ r0, _, e1 := syscall_syscall6(funcPC(libc_select_trampoline), uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
76978+ n = int(r0)
76979 if e1 != 0 {
76980 err = errnoErr(e1)
76981 }
76982 return
76983 }
76984
76985+func libc_select_trampoline()
76986+
76987+//go:linkname libc_select libc_select
76988+//go:cgo_import_dynamic libc_select select "/usr/lib/libSystem.B.dylib"
76989+
76990 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
76991
76992 func Setegid(egid int) (err error) {
76993- _, _, e1 := Syscall(SYS_SETEGID, uintptr(egid), 0, 0)
76994+ _, _, e1 := syscall_syscall(funcPC(libc_setegid_trampoline), uintptr(egid), 0, 0)
76995 if e1 != 0 {
76996 err = errnoErr(e1)
76997 }
76998 return
76999 }
77000
77001+func libc_setegid_trampoline()
77002+
77003+//go:linkname libc_setegid libc_setegid
77004+//go:cgo_import_dynamic libc_setegid setegid "/usr/lib/libSystem.B.dylib"
77005+
77006 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77007
77008 func Seteuid(euid int) (err error) {
77009- _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
77010+ _, _, e1 := syscall_rawSyscall(funcPC(libc_seteuid_trampoline), uintptr(euid), 0, 0)
77011 if e1 != 0 {
77012 err = errnoErr(e1)
77013 }
77014 return
77015 }
77016
77017+func libc_seteuid_trampoline()
77018+
77019+//go:linkname libc_seteuid libc_seteuid
77020+//go:cgo_import_dynamic libc_seteuid seteuid "/usr/lib/libSystem.B.dylib"
77021+
77022 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77023
77024 func Setgid(gid int) (err error) {
77025- _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
77026+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setgid_trampoline), uintptr(gid), 0, 0)
77027 if e1 != 0 {
77028 err = errnoErr(e1)
77029 }
77030 return
77031 }
77032
77033+func libc_setgid_trampoline()
77034+
77035+//go:linkname libc_setgid libc_setgid
77036+//go:cgo_import_dynamic libc_setgid setgid "/usr/lib/libSystem.B.dylib"
77037+
77038 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77039
77040 func Setlogin(name string) (err error) {
77041@@ -1275,77 +1939,112 @@ func Setlogin(name string) (err error) {
77042 if err != nil {
77043 return
77044 }
77045- _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
77046+ _, _, e1 := syscall_syscall(funcPC(libc_setlogin_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
77047 if e1 != 0 {
77048 err = errnoErr(e1)
77049 }
77050 return
77051 }
77052
77053+func libc_setlogin_trampoline()
77054+
77055+//go:linkname libc_setlogin libc_setlogin
77056+//go:cgo_import_dynamic libc_setlogin setlogin "/usr/lib/libSystem.B.dylib"
77057+
77058 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77059
77060 func Setpgid(pid int, pgid int) (err error) {
77061- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
77062+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setpgid_trampoline), uintptr(pid), uintptr(pgid), 0)
77063 if e1 != 0 {
77064 err = errnoErr(e1)
77065 }
77066 return
77067 }
77068
77069+func libc_setpgid_trampoline()
77070+
77071+//go:linkname libc_setpgid libc_setpgid
77072+//go:cgo_import_dynamic libc_setpgid setpgid "/usr/lib/libSystem.B.dylib"
77073+
77074 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77075
77076 func Setpriority(which int, who int, prio int) (err error) {
77077- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
77078+ _, _, e1 := syscall_syscall(funcPC(libc_setpriority_trampoline), uintptr(which), uintptr(who), uintptr(prio))
77079 if e1 != 0 {
77080 err = errnoErr(e1)
77081 }
77082 return
77083 }
77084
77085+func libc_setpriority_trampoline()
77086+
77087+//go:linkname libc_setpriority libc_setpriority
77088+//go:cgo_import_dynamic libc_setpriority setpriority "/usr/lib/libSystem.B.dylib"
77089+
77090 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77091
77092 func Setprivexec(flag int) (err error) {
77093- _, _, e1 := Syscall(SYS_SETPRIVEXEC, uintptr(flag), 0, 0)
77094+ _, _, e1 := syscall_syscall(funcPC(libc_setprivexec_trampoline), uintptr(flag), 0, 0)
77095 if e1 != 0 {
77096 err = errnoErr(e1)
77097 }
77098 return
77099 }
77100
77101+func libc_setprivexec_trampoline()
77102+
77103+//go:linkname libc_setprivexec libc_setprivexec
77104+//go:cgo_import_dynamic libc_setprivexec setprivexec "/usr/lib/libSystem.B.dylib"
77105+
77106 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77107
77108 func Setregid(rgid int, egid int) (err error) {
77109- _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
77110+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setregid_trampoline), uintptr(rgid), uintptr(egid), 0)
77111 if e1 != 0 {
77112 err = errnoErr(e1)
77113 }
77114 return
77115 }
77116
77117+func libc_setregid_trampoline()
77118+
77119+//go:linkname libc_setregid libc_setregid
77120+//go:cgo_import_dynamic libc_setregid setregid "/usr/lib/libSystem.B.dylib"
77121+
77122 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77123
77124 func Setreuid(ruid int, euid int) (err error) {
77125- _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
77126+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setreuid_trampoline), uintptr(ruid), uintptr(euid), 0)
77127 if e1 != 0 {
77128 err = errnoErr(e1)
77129 }
77130 return
77131 }
77132
77133+func libc_setreuid_trampoline()
77134+
77135+//go:linkname libc_setreuid libc_setreuid
77136+//go:cgo_import_dynamic libc_setreuid setreuid "/usr/lib/libSystem.B.dylib"
77137+
77138 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77139
77140 func Setrlimit(which int, lim *Rlimit) (err error) {
77141- _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
77142+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setrlimit_trampoline), uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
77143 if e1 != 0 {
77144 err = errnoErr(e1)
77145 }
77146 return
77147 }
77148
77149+func libc_setrlimit_trampoline()
77150+
77151+//go:linkname libc_setrlimit libc_setrlimit
77152+//go:cgo_import_dynamic libc_setrlimit setrlimit "/usr/lib/libSystem.B.dylib"
77153+
77154 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77155
77156 func Setsid() (pid int, err error) {
77157- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
77158+ r0, _, e1 := syscall_rawSyscall(funcPC(libc_setsid_trampoline), 0, 0, 0)
77159 pid = int(r0)
77160 if e1 != 0 {
77161 err = errnoErr(e1)
77162@@ -1353,55 +2052,40 @@ func Setsid() (pid int, err error) {
77163 return
77164 }
77165
77166+func libc_setsid_trampoline()
77167+
77168+//go:linkname libc_setsid libc_setsid
77169+//go:cgo_import_dynamic libc_setsid setsid "/usr/lib/libSystem.B.dylib"
77170+
77171 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77172
77173 func Settimeofday(tp *Timeval) (err error) {
77174- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
77175+ _, _, e1 := syscall_rawSyscall(funcPC(libc_settimeofday_trampoline), uintptr(unsafe.Pointer(tp)), 0, 0)
77176 if e1 != 0 {
77177 err = errnoErr(e1)
77178 }
77179 return
77180 }
77181
77182-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77183+func libc_settimeofday_trampoline()
77184
77185-func Setuid(uid int) (err error) {
77186- _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
77187- if e1 != 0 {
77188- err = errnoErr(e1)
77189- }
77190- return
77191-}
77192+//go:linkname libc_settimeofday libc_settimeofday
77193+//go:cgo_import_dynamic libc_settimeofday settimeofday "/usr/lib/libSystem.B.dylib"
77194
77195 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77196
77197-func Stat(path string, stat *Stat_t) (err error) {
77198- var _p0 *byte
77199- _p0, err = BytePtrFromString(path)
77200- if err != nil {
77201- return
77202- }
77203- _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
77204+func Setuid(uid int) (err error) {
77205+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setuid_trampoline), uintptr(uid), 0, 0)
77206 if e1 != 0 {
77207 err = errnoErr(e1)
77208 }
77209 return
77210 }
77211
77212-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77213+func libc_setuid_trampoline()
77214
77215-func Statfs(path string, stat *Statfs_t) (err error) {
77216- var _p0 *byte
77217- _p0, err = BytePtrFromString(path)
77218- if err != nil {
77219- return
77220- }
77221- _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
77222- if e1 != 0 {
77223- err = errnoErr(e1)
77224- }
77225- return
77226-}
77227+//go:linkname libc_setuid libc_setuid
77228+//go:cgo_import_dynamic libc_setuid setuid "/usr/lib/libSystem.B.dylib"
77229
77230 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77231
77232@@ -1416,13 +2100,18 @@ func Symlink(path string, link string) (err error) {
77233 if err != nil {
77234 return
77235 }
77236- _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
77237+ _, _, e1 := syscall_syscall(funcPC(libc_symlink_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
77238 if e1 != 0 {
77239 err = errnoErr(e1)
77240 }
77241 return
77242 }
77243
77244+func libc_symlink_trampoline()
77245+
77246+//go:linkname libc_symlink libc_symlink
77247+//go:cgo_import_dynamic libc_symlink symlink "/usr/lib/libSystem.B.dylib"
77248+
77249 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77250
77251 func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
77252@@ -1436,23 +2125,33 @@ func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
77253 if err != nil {
77254 return
77255 }
77256- _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
77257+ _, _, e1 := syscall_syscall(funcPC(libc_symlinkat_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
77258 if e1 != 0 {
77259 err = errnoErr(e1)
77260 }
77261 return
77262 }
77263
77264+func libc_symlinkat_trampoline()
77265+
77266+//go:linkname libc_symlinkat libc_symlinkat
77267+//go:cgo_import_dynamic libc_symlinkat symlinkat "/usr/lib/libSystem.B.dylib"
77268+
77269 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77270
77271 func Sync() (err error) {
77272- _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
77273+ _, _, e1 := syscall_syscall(funcPC(libc_sync_trampoline), 0, 0, 0)
77274 if e1 != 0 {
77275 err = errnoErr(e1)
77276 }
77277 return
77278 }
77279
77280+func libc_sync_trampoline()
77281+
77282+//go:linkname libc_sync libc_sync
77283+//go:cgo_import_dynamic libc_sync sync "/usr/lib/libSystem.B.dylib"
77284+
77285 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77286
77287 func Truncate(path string, length int64) (err error) {
77288@@ -1461,21 +2160,31 @@ func Truncate(path string, length int64) (err error) {
77289 if err != nil {
77290 return
77291 }
77292- _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
77293+ _, _, e1 := syscall_syscall(funcPC(libc_truncate_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
77294 if e1 != 0 {
77295 err = errnoErr(e1)
77296 }
77297 return
77298 }
77299
77300+func libc_truncate_trampoline()
77301+
77302+//go:linkname libc_truncate libc_truncate
77303+//go:cgo_import_dynamic libc_truncate truncate "/usr/lib/libSystem.B.dylib"
77304+
77305 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77306
77307 func Umask(newmask int) (oldmask int) {
77308- r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
77309+ r0, _, _ := syscall_syscall(funcPC(libc_umask_trampoline), uintptr(newmask), 0, 0)
77310 oldmask = int(r0)
77311 return
77312 }
77313
77314+func libc_umask_trampoline()
77315+
77316+//go:linkname libc_umask libc_umask
77317+//go:cgo_import_dynamic libc_umask umask "/usr/lib/libSystem.B.dylib"
77318+
77319 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77320
77321 func Undelete(path string) (err error) {
77322@@ -1484,13 +2193,18 @@ func Undelete(path string) (err error) {
77323 if err != nil {
77324 return
77325 }
77326- _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
77327+ _, _, e1 := syscall_syscall(funcPC(libc_undelete_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
77328 if e1 != 0 {
77329 err = errnoErr(e1)
77330 }
77331 return
77332 }
77333
77334+func libc_undelete_trampoline()
77335+
77336+//go:linkname libc_undelete libc_undelete
77337+//go:cgo_import_dynamic libc_undelete undelete "/usr/lib/libSystem.B.dylib"
77338+
77339 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77340
77341 func Unlink(path string) (err error) {
77342@@ -1499,13 +2213,18 @@ func Unlink(path string) (err error) {
77343 if err != nil {
77344 return
77345 }
77346- _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
77347+ _, _, e1 := syscall_syscall(funcPC(libc_unlink_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
77348 if e1 != 0 {
77349 err = errnoErr(e1)
77350 }
77351 return
77352 }
77353
77354+func libc_unlink_trampoline()
77355+
77356+//go:linkname libc_unlink libc_unlink
77357+//go:cgo_import_dynamic libc_unlink unlink "/usr/lib/libSystem.B.dylib"
77358+
77359 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77360
77361 func Unlinkat(dirfd int, path string, flags int) (err error) {
77362@@ -1514,13 +2233,18 @@ func Unlinkat(dirfd int, path string, flags int) (err error) {
77363 if err != nil {
77364 return
77365 }
77366- _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
77367+ _, _, e1 := syscall_syscall(funcPC(libc_unlinkat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
77368 if e1 != 0 {
77369 err = errnoErr(e1)
77370 }
77371 return
77372 }
77373
77374+func libc_unlinkat_trampoline()
77375+
77376+//go:linkname libc_unlinkat libc_unlinkat
77377+//go:cgo_import_dynamic libc_unlinkat unlinkat "/usr/lib/libSystem.B.dylib"
77378+
77379 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77380
77381 func Unmount(path string, flags int) (err error) {
77382@@ -1529,13 +2253,18 @@ func Unmount(path string, flags int) (err error) {
77383 if err != nil {
77384 return
77385 }
77386- _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
77387+ _, _, e1 := syscall_syscall(funcPC(libc_unmount_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
77388 if e1 != 0 {
77389 err = errnoErr(e1)
77390 }
77391 return
77392 }
77393
77394+func libc_unmount_trampoline()
77395+
77396+//go:linkname libc_unmount libc_unmount
77397+//go:cgo_import_dynamic libc_unmount unmount "/usr/lib/libSystem.B.dylib"
77398+
77399 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77400
77401 func write(fd int, p []byte) (n int, err error) {
77402@@ -1545,7 +2274,7 @@ func write(fd int, p []byte) (n int, err error) {
77403 } else {
77404 _p0 = unsafe.Pointer(&_zero)
77405 }
77406- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
77407+ r0, _, e1 := syscall_syscall(funcPC(libc_write_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)))
77408 n = int(r0)
77409 if e1 != 0 {
77410 err = errnoErr(e1)
77411@@ -1553,10 +2282,15 @@ func write(fd int, p []byte) (n int, err error) {
77412 return
77413 }
77414
77415+func libc_write_trampoline()
77416+
77417+//go:linkname libc_write libc_write
77418+//go:cgo_import_dynamic libc_write write "/usr/lib/libSystem.B.dylib"
77419+
77420 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77421
77422 func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
77423- r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos))
77424+ r0, _, e1 := syscall_syscall6(funcPC(libc_mmap_trampoline), uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos))
77425 ret = uintptr(r0)
77426 if e1 != 0 {
77427 err = errnoErr(e1)
77428@@ -1564,20 +2298,30 @@ func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (
77429 return
77430 }
77431
77432+func libc_mmap_trampoline()
77433+
77434+//go:linkname libc_mmap libc_mmap
77435+//go:cgo_import_dynamic libc_mmap mmap "/usr/lib/libSystem.B.dylib"
77436+
77437 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77438
77439 func munmap(addr uintptr, length uintptr) (err error) {
77440- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
77441+ _, _, e1 := syscall_syscall(funcPC(libc_munmap_trampoline), uintptr(addr), uintptr(length), 0)
77442 if e1 != 0 {
77443 err = errnoErr(e1)
77444 }
77445 return
77446 }
77447
77448+func libc_munmap_trampoline()
77449+
77450+//go:linkname libc_munmap libc_munmap
77451+//go:cgo_import_dynamic libc_munmap munmap "/usr/lib/libSystem.B.dylib"
77452+
77453 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77454
77455 func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
77456- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
77457+ r0, _, e1 := syscall_syscall(funcPC(libc_read_trampoline), uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
77458 n = int(r0)
77459 if e1 != 0 {
77460 err = errnoErr(e1)
77461@@ -1588,7 +2332,7 @@ func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
77462 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77463
77464 func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
77465- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
77466+ r0, _, e1 := syscall_syscall(funcPC(libc_write_trampoline), uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
77467 n = int(r0)
77468 if e1 != 0 {
77469 err = errnoErr(e1)
77470@@ -1598,8 +2342,23 @@ func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
77471
77472 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77473
77474+func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
77475+ _, _, e1 := syscall_syscall6(funcPC(libc_ptrace_trampoline), uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
77476+ if e1 != 0 {
77477+ err = errnoErr(e1)
77478+ }
77479+ return
77480+}
77481+
77482+func libc_ptrace_trampoline()
77483+
77484+//go:linkname libc_ptrace libc_ptrace
77485+//go:cgo_import_dynamic libc_ptrace ptrace "/usr/lib/libSystem.B.dylib"
77486+
77487+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77488+
77489 func gettimeofday(tp *Timeval) (sec int64, usec int32, err error) {
77490- r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
77491+ r0, r1, e1 := syscall_rawSyscall(funcPC(libc_gettimeofday_trampoline), uintptr(unsafe.Pointer(tp)), 0, 0)
77492 sec = int64(r0)
77493 usec = int32(r1)
77494 if e1 != 0 {
77495@@ -1607,3 +2366,134 @@ func gettimeofday(tp *Timeval) (sec int64, usec int32, err error) {
77496 }
77497 return
77498 }
77499+
77500+func libc_gettimeofday_trampoline()
77501+
77502+//go:linkname libc_gettimeofday libc_gettimeofday
77503+//go:cgo_import_dynamic libc_gettimeofday gettimeofday "/usr/lib/libSystem.B.dylib"
77504+
77505+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77506+
77507+func Fstat(fd int, stat *Stat_t) (err error) {
77508+ _, _, e1 := syscall_syscall(funcPC(libc_fstat64_trampoline), uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
77509+ if e1 != 0 {
77510+ err = errnoErr(e1)
77511+ }
77512+ return
77513+}
77514+
77515+func libc_fstat64_trampoline()
77516+
77517+//go:linkname libc_fstat64 libc_fstat64
77518+//go:cgo_import_dynamic libc_fstat64 fstat64 "/usr/lib/libSystem.B.dylib"
77519+
77520+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77521+
77522+func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
77523+ var _p0 *byte
77524+ _p0, err = BytePtrFromString(path)
77525+ if err != nil {
77526+ return
77527+ }
77528+ _, _, e1 := syscall_syscall6(funcPC(libc_fstatat64_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
77529+ if e1 != 0 {
77530+ err = errnoErr(e1)
77531+ }
77532+ return
77533+}
77534+
77535+func libc_fstatat64_trampoline()
77536+
77537+//go:linkname libc_fstatat64 libc_fstatat64
77538+//go:cgo_import_dynamic libc_fstatat64 fstatat64 "/usr/lib/libSystem.B.dylib"
77539+
77540+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77541+
77542+func Fstatfs(fd int, stat *Statfs_t) (err error) {
77543+ _, _, e1 := syscall_syscall(funcPC(libc_fstatfs64_trampoline), uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
77544+ if e1 != 0 {
77545+ err = errnoErr(e1)
77546+ }
77547+ return
77548+}
77549+
77550+func libc_fstatfs64_trampoline()
77551+
77552+//go:linkname libc_fstatfs64 libc_fstatfs64
77553+//go:cgo_import_dynamic libc_fstatfs64 fstatfs64 "/usr/lib/libSystem.B.dylib"
77554+
77555+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77556+
77557+func getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) {
77558+ r0, _, e1 := syscall_syscall(funcPC(libc_getfsstat64_trampoline), uintptr(buf), uintptr(size), uintptr(flags))
77559+ n = int(r0)
77560+ if e1 != 0 {
77561+ err = errnoErr(e1)
77562+ }
77563+ return
77564+}
77565+
77566+func libc_getfsstat64_trampoline()
77567+
77568+//go:linkname libc_getfsstat64 libc_getfsstat64
77569+//go:cgo_import_dynamic libc_getfsstat64 getfsstat64 "/usr/lib/libSystem.B.dylib"
77570+
77571+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77572+
77573+func Lstat(path string, stat *Stat_t) (err error) {
77574+ var _p0 *byte
77575+ _p0, err = BytePtrFromString(path)
77576+ if err != nil {
77577+ return
77578+ }
77579+ _, _, e1 := syscall_syscall(funcPC(libc_lstat64_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
77580+ if e1 != 0 {
77581+ err = errnoErr(e1)
77582+ }
77583+ return
77584+}
77585+
77586+func libc_lstat64_trampoline()
77587+
77588+//go:linkname libc_lstat64 libc_lstat64
77589+//go:cgo_import_dynamic libc_lstat64 lstat64 "/usr/lib/libSystem.B.dylib"
77590+
77591+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77592+
77593+func Stat(path string, stat *Stat_t) (err error) {
77594+ var _p0 *byte
77595+ _p0, err = BytePtrFromString(path)
77596+ if err != nil {
77597+ return
77598+ }
77599+ _, _, e1 := syscall_syscall(funcPC(libc_stat64_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
77600+ if e1 != 0 {
77601+ err = errnoErr(e1)
77602+ }
77603+ return
77604+}
77605+
77606+func libc_stat64_trampoline()
77607+
77608+//go:linkname libc_stat64 libc_stat64
77609+//go:cgo_import_dynamic libc_stat64 stat64 "/usr/lib/libSystem.B.dylib"
77610+
77611+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77612+
77613+func Statfs(path string, stat *Statfs_t) (err error) {
77614+ var _p0 *byte
77615+ _p0, err = BytePtrFromString(path)
77616+ if err != nil {
77617+ return
77618+ }
77619+ _, _, e1 := syscall_syscall(funcPC(libc_statfs64_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
77620+ if e1 != 0 {
77621+ err = errnoErr(e1)
77622+ }
77623+ return
77624+}
77625+
77626+func libc_statfs64_trampoline()
77627+
77628+//go:linkname libc_statfs64 libc_statfs64
77629+//go:cgo_import_dynamic libc_statfs64 statfs64 "/usr/lib/libSystem.B.dylib"
77630diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s
77631new file mode 100644
77632index 00000000..a3fdf099
77633--- /dev/null
77634+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s
77635@@ -0,0 +1,284 @@
77636+// go run mkasm_darwin.go amd64
77637+// Code generated by the command above; DO NOT EDIT.
77638+
77639+// +build go1.12
77640+
77641+#include "textflag.h"
77642+TEXT ·libc_getgroups_trampoline(SB),NOSPLIT,$0-0
77643+ JMP libc_getgroups(SB)
77644+TEXT ·libc_setgroups_trampoline(SB),NOSPLIT,$0-0
77645+ JMP libc_setgroups(SB)
77646+TEXT ·libc_wait4_trampoline(SB),NOSPLIT,$0-0
77647+ JMP libc_wait4(SB)
77648+TEXT ·libc_accept_trampoline(SB),NOSPLIT,$0-0
77649+ JMP libc_accept(SB)
77650+TEXT ·libc_bind_trampoline(SB),NOSPLIT,$0-0
77651+ JMP libc_bind(SB)
77652+TEXT ·libc_connect_trampoline(SB),NOSPLIT,$0-0
77653+ JMP libc_connect(SB)
77654+TEXT ·libc_socket_trampoline(SB),NOSPLIT,$0-0
77655+ JMP libc_socket(SB)
77656+TEXT ·libc_getsockopt_trampoline(SB),NOSPLIT,$0-0
77657+ JMP libc_getsockopt(SB)
77658+TEXT ·libc_setsockopt_trampoline(SB),NOSPLIT,$0-0
77659+ JMP libc_setsockopt(SB)
77660+TEXT ·libc_getpeername_trampoline(SB),NOSPLIT,$0-0
77661+ JMP libc_getpeername(SB)
77662+TEXT ·libc_getsockname_trampoline(SB),NOSPLIT,$0-0
77663+ JMP libc_getsockname(SB)
77664+TEXT ·libc_shutdown_trampoline(SB),NOSPLIT,$0-0
77665+ JMP libc_shutdown(SB)
77666+TEXT ·libc_socketpair_trampoline(SB),NOSPLIT,$0-0
77667+ JMP libc_socketpair(SB)
77668+TEXT ·libc_recvfrom_trampoline(SB),NOSPLIT,$0-0
77669+ JMP libc_recvfrom(SB)
77670+TEXT ·libc_sendto_trampoline(SB),NOSPLIT,$0-0
77671+ JMP libc_sendto(SB)
77672+TEXT ·libc_recvmsg_trampoline(SB),NOSPLIT,$0-0
77673+ JMP libc_recvmsg(SB)
77674+TEXT ·libc_sendmsg_trampoline(SB),NOSPLIT,$0-0
77675+ JMP libc_sendmsg(SB)
77676+TEXT ·libc_kevent_trampoline(SB),NOSPLIT,$0-0
77677+ JMP libc_kevent(SB)
77678+TEXT ·libc_utimes_trampoline(SB),NOSPLIT,$0-0
77679+ JMP libc_utimes(SB)
77680+TEXT ·libc_futimes_trampoline(SB),NOSPLIT,$0-0
77681+ JMP libc_futimes(SB)
77682+TEXT ·libc_poll_trampoline(SB),NOSPLIT,$0-0
77683+ JMP libc_poll(SB)
77684+TEXT ·libc_madvise_trampoline(SB),NOSPLIT,$0-0
77685+ JMP libc_madvise(SB)
77686+TEXT ·libc_mlock_trampoline(SB),NOSPLIT,$0-0
77687+ JMP libc_mlock(SB)
77688+TEXT ·libc_mlockall_trampoline(SB),NOSPLIT,$0-0
77689+ JMP libc_mlockall(SB)
77690+TEXT ·libc_mprotect_trampoline(SB),NOSPLIT,$0-0
77691+ JMP libc_mprotect(SB)
77692+TEXT ·libc_msync_trampoline(SB),NOSPLIT,$0-0
77693+ JMP libc_msync(SB)
77694+TEXT ·libc_munlock_trampoline(SB),NOSPLIT,$0-0
77695+ JMP libc_munlock(SB)
77696+TEXT ·libc_munlockall_trampoline(SB),NOSPLIT,$0-0
77697+ JMP libc_munlockall(SB)
77698+TEXT ·libc_getattrlist_trampoline(SB),NOSPLIT,$0-0
77699+ JMP libc_getattrlist(SB)
77700+TEXT ·libc_pipe_trampoline(SB),NOSPLIT,$0-0
77701+ JMP libc_pipe(SB)
77702+TEXT ·libc_getxattr_trampoline(SB),NOSPLIT,$0-0
77703+ JMP libc_getxattr(SB)
77704+TEXT ·libc_fgetxattr_trampoline(SB),NOSPLIT,$0-0
77705+ JMP libc_fgetxattr(SB)
77706+TEXT ·libc_setxattr_trampoline(SB),NOSPLIT,$0-0
77707+ JMP libc_setxattr(SB)
77708+TEXT ·libc_fsetxattr_trampoline(SB),NOSPLIT,$0-0
77709+ JMP libc_fsetxattr(SB)
77710+TEXT ·libc_removexattr_trampoline(SB),NOSPLIT,$0-0
77711+ JMP libc_removexattr(SB)
77712+TEXT ·libc_fremovexattr_trampoline(SB),NOSPLIT,$0-0
77713+ JMP libc_fremovexattr(SB)
77714+TEXT ·libc_listxattr_trampoline(SB),NOSPLIT,$0-0
77715+ JMP libc_listxattr(SB)
77716+TEXT ·libc_flistxattr_trampoline(SB),NOSPLIT,$0-0
77717+ JMP libc_flistxattr(SB)
77718+TEXT ·libc_setattrlist_trampoline(SB),NOSPLIT,$0-0
77719+ JMP libc_setattrlist(SB)
77720+TEXT ·libc_fcntl_trampoline(SB),NOSPLIT,$0-0
77721+ JMP libc_fcntl(SB)
77722+TEXT ·libc_kill_trampoline(SB),NOSPLIT,$0-0
77723+ JMP libc_kill(SB)
77724+TEXT ·libc_ioctl_trampoline(SB),NOSPLIT,$0-0
77725+ JMP libc_ioctl(SB)
77726+TEXT ·libc_sysctl_trampoline(SB),NOSPLIT,$0-0
77727+ JMP libc_sysctl(SB)
77728+TEXT ·libc_sendfile_trampoline(SB),NOSPLIT,$0-0
77729+ JMP libc_sendfile(SB)
77730+TEXT ·libc_access_trampoline(SB),NOSPLIT,$0-0
77731+ JMP libc_access(SB)
77732+TEXT ·libc_adjtime_trampoline(SB),NOSPLIT,$0-0
77733+ JMP libc_adjtime(SB)
77734+TEXT ·libc_chdir_trampoline(SB),NOSPLIT,$0-0
77735+ JMP libc_chdir(SB)
77736+TEXT ·libc_chflags_trampoline(SB),NOSPLIT,$0-0
77737+ JMP libc_chflags(SB)
77738+TEXT ·libc_chmod_trampoline(SB),NOSPLIT,$0-0
77739+ JMP libc_chmod(SB)
77740+TEXT ·libc_chown_trampoline(SB),NOSPLIT,$0-0
77741+ JMP libc_chown(SB)
77742+TEXT ·libc_chroot_trampoline(SB),NOSPLIT,$0-0
77743+ JMP libc_chroot(SB)
77744+TEXT ·libc_clock_gettime_trampoline(SB),NOSPLIT,$0-0
77745+ JMP libc_clock_gettime(SB)
77746+TEXT ·libc_close_trampoline(SB),NOSPLIT,$0-0
77747+ JMP libc_close(SB)
77748+TEXT ·libc_dup_trampoline(SB),NOSPLIT,$0-0
77749+ JMP libc_dup(SB)
77750+TEXT ·libc_dup2_trampoline(SB),NOSPLIT,$0-0
77751+ JMP libc_dup2(SB)
77752+TEXT ·libc_exchangedata_trampoline(SB),NOSPLIT,$0-0
77753+ JMP libc_exchangedata(SB)
77754+TEXT ·libc_exit_trampoline(SB),NOSPLIT,$0-0
77755+ JMP libc_exit(SB)
77756+TEXT ·libc_faccessat_trampoline(SB),NOSPLIT,$0-0
77757+ JMP libc_faccessat(SB)
77758+TEXT ·libc_fchdir_trampoline(SB),NOSPLIT,$0-0
77759+ JMP libc_fchdir(SB)
77760+TEXT ·libc_fchflags_trampoline(SB),NOSPLIT,$0-0
77761+ JMP libc_fchflags(SB)
77762+TEXT ·libc_fchmod_trampoline(SB),NOSPLIT,$0-0
77763+ JMP libc_fchmod(SB)
77764+TEXT ·libc_fchmodat_trampoline(SB),NOSPLIT,$0-0
77765+ JMP libc_fchmodat(SB)
77766+TEXT ·libc_fchown_trampoline(SB),NOSPLIT,$0-0
77767+ JMP libc_fchown(SB)
77768+TEXT ·libc_fchownat_trampoline(SB),NOSPLIT,$0-0
77769+ JMP libc_fchownat(SB)
77770+TEXT ·libc_flock_trampoline(SB),NOSPLIT,$0-0
77771+ JMP libc_flock(SB)
77772+TEXT ·libc_fpathconf_trampoline(SB),NOSPLIT,$0-0
77773+ JMP libc_fpathconf(SB)
77774+TEXT ·libc_fsync_trampoline(SB),NOSPLIT,$0-0
77775+ JMP libc_fsync(SB)
77776+TEXT ·libc_ftruncate_trampoline(SB),NOSPLIT,$0-0
77777+ JMP libc_ftruncate(SB)
77778+TEXT ·libc_getdtablesize_trampoline(SB),NOSPLIT,$0-0
77779+ JMP libc_getdtablesize(SB)
77780+TEXT ·libc_getegid_trampoline(SB),NOSPLIT,$0-0
77781+ JMP libc_getegid(SB)
77782+TEXT ·libc_geteuid_trampoline(SB),NOSPLIT,$0-0
77783+ JMP libc_geteuid(SB)
77784+TEXT ·libc_getgid_trampoline(SB),NOSPLIT,$0-0
77785+ JMP libc_getgid(SB)
77786+TEXT ·libc_getpgid_trampoline(SB),NOSPLIT,$0-0
77787+ JMP libc_getpgid(SB)
77788+TEXT ·libc_getpgrp_trampoline(SB),NOSPLIT,$0-0
77789+ JMP libc_getpgrp(SB)
77790+TEXT ·libc_getpid_trampoline(SB),NOSPLIT,$0-0
77791+ JMP libc_getpid(SB)
77792+TEXT ·libc_getppid_trampoline(SB),NOSPLIT,$0-0
77793+ JMP libc_getppid(SB)
77794+TEXT ·libc_getpriority_trampoline(SB),NOSPLIT,$0-0
77795+ JMP libc_getpriority(SB)
77796+TEXT ·libc_getrlimit_trampoline(SB),NOSPLIT,$0-0
77797+ JMP libc_getrlimit(SB)
77798+TEXT ·libc_getrusage_trampoline(SB),NOSPLIT,$0-0
77799+ JMP libc_getrusage(SB)
77800+TEXT ·libc_getsid_trampoline(SB),NOSPLIT,$0-0
77801+ JMP libc_getsid(SB)
77802+TEXT ·libc_getuid_trampoline(SB),NOSPLIT,$0-0
77803+ JMP libc_getuid(SB)
77804+TEXT ·libc_issetugid_trampoline(SB),NOSPLIT,$0-0
77805+ JMP libc_issetugid(SB)
77806+TEXT ·libc_kqueue_trampoline(SB),NOSPLIT,$0-0
77807+ JMP libc_kqueue(SB)
77808+TEXT ·libc_lchown_trampoline(SB),NOSPLIT,$0-0
77809+ JMP libc_lchown(SB)
77810+TEXT ·libc_link_trampoline(SB),NOSPLIT,$0-0
77811+ JMP libc_link(SB)
77812+TEXT ·libc_linkat_trampoline(SB),NOSPLIT,$0-0
77813+ JMP libc_linkat(SB)
77814+TEXT ·libc_listen_trampoline(SB),NOSPLIT,$0-0
77815+ JMP libc_listen(SB)
77816+TEXT ·libc_mkdir_trampoline(SB),NOSPLIT,$0-0
77817+ JMP libc_mkdir(SB)
77818+TEXT ·libc_mkdirat_trampoline(SB),NOSPLIT,$0-0
77819+ JMP libc_mkdirat(SB)
77820+TEXT ·libc_mkfifo_trampoline(SB),NOSPLIT,$0-0
77821+ JMP libc_mkfifo(SB)
77822+TEXT ·libc_mknod_trampoline(SB),NOSPLIT,$0-0
77823+ JMP libc_mknod(SB)
77824+TEXT ·libc_open_trampoline(SB),NOSPLIT,$0-0
77825+ JMP libc_open(SB)
77826+TEXT ·libc_openat_trampoline(SB),NOSPLIT,$0-0
77827+ JMP libc_openat(SB)
77828+TEXT ·libc_pathconf_trampoline(SB),NOSPLIT,$0-0
77829+ JMP libc_pathconf(SB)
77830+TEXT ·libc_pread_trampoline(SB),NOSPLIT,$0-0
77831+ JMP libc_pread(SB)
77832+TEXT ·libc_pwrite_trampoline(SB),NOSPLIT,$0-0
77833+ JMP libc_pwrite(SB)
77834+TEXT ·libc_read_trampoline(SB),NOSPLIT,$0-0
77835+ JMP libc_read(SB)
77836+TEXT ·libc_readlink_trampoline(SB),NOSPLIT,$0-0
77837+ JMP libc_readlink(SB)
77838+TEXT ·libc_readlinkat_trampoline(SB),NOSPLIT,$0-0
77839+ JMP libc_readlinkat(SB)
77840+TEXT ·libc_rename_trampoline(SB),NOSPLIT,$0-0
77841+ JMP libc_rename(SB)
77842+TEXT ·libc_renameat_trampoline(SB),NOSPLIT,$0-0
77843+ JMP libc_renameat(SB)
77844+TEXT ·libc_revoke_trampoline(SB),NOSPLIT,$0-0
77845+ JMP libc_revoke(SB)
77846+TEXT ·libc_rmdir_trampoline(SB),NOSPLIT,$0-0
77847+ JMP libc_rmdir(SB)
77848+TEXT ·libc_lseek_trampoline(SB),NOSPLIT,$0-0
77849+ JMP libc_lseek(SB)
77850+TEXT ·libc_select_trampoline(SB),NOSPLIT,$0-0
77851+ JMP libc_select(SB)
77852+TEXT ·libc_setegid_trampoline(SB),NOSPLIT,$0-0
77853+ JMP libc_setegid(SB)
77854+TEXT ·libc_seteuid_trampoline(SB),NOSPLIT,$0-0
77855+ JMP libc_seteuid(SB)
77856+TEXT ·libc_setgid_trampoline(SB),NOSPLIT,$0-0
77857+ JMP libc_setgid(SB)
77858+TEXT ·libc_setlogin_trampoline(SB),NOSPLIT,$0-0
77859+ JMP libc_setlogin(SB)
77860+TEXT ·libc_setpgid_trampoline(SB),NOSPLIT,$0-0
77861+ JMP libc_setpgid(SB)
77862+TEXT ·libc_setpriority_trampoline(SB),NOSPLIT,$0-0
77863+ JMP libc_setpriority(SB)
77864+TEXT ·libc_setprivexec_trampoline(SB),NOSPLIT,$0-0
77865+ JMP libc_setprivexec(SB)
77866+TEXT ·libc_setregid_trampoline(SB),NOSPLIT,$0-0
77867+ JMP libc_setregid(SB)
77868+TEXT ·libc_setreuid_trampoline(SB),NOSPLIT,$0-0
77869+ JMP libc_setreuid(SB)
77870+TEXT ·libc_setrlimit_trampoline(SB),NOSPLIT,$0-0
77871+ JMP libc_setrlimit(SB)
77872+TEXT ·libc_setsid_trampoline(SB),NOSPLIT,$0-0
77873+ JMP libc_setsid(SB)
77874+TEXT ·libc_settimeofday_trampoline(SB),NOSPLIT,$0-0
77875+ JMP libc_settimeofday(SB)
77876+TEXT ·libc_setuid_trampoline(SB),NOSPLIT,$0-0
77877+ JMP libc_setuid(SB)
77878+TEXT ·libc_symlink_trampoline(SB),NOSPLIT,$0-0
77879+ JMP libc_symlink(SB)
77880+TEXT ·libc_symlinkat_trampoline(SB),NOSPLIT,$0-0
77881+ JMP libc_symlinkat(SB)
77882+TEXT ·libc_sync_trampoline(SB),NOSPLIT,$0-0
77883+ JMP libc_sync(SB)
77884+TEXT ·libc_truncate_trampoline(SB),NOSPLIT,$0-0
77885+ JMP libc_truncate(SB)
77886+TEXT ·libc_umask_trampoline(SB),NOSPLIT,$0-0
77887+ JMP libc_umask(SB)
77888+TEXT ·libc_undelete_trampoline(SB),NOSPLIT,$0-0
77889+ JMP libc_undelete(SB)
77890+TEXT ·libc_unlink_trampoline(SB),NOSPLIT,$0-0
77891+ JMP libc_unlink(SB)
77892+TEXT ·libc_unlinkat_trampoline(SB),NOSPLIT,$0-0
77893+ JMP libc_unlinkat(SB)
77894+TEXT ·libc_unmount_trampoline(SB),NOSPLIT,$0-0
77895+ JMP libc_unmount(SB)
77896+TEXT ·libc_write_trampoline(SB),NOSPLIT,$0-0
77897+ JMP libc_write(SB)
77898+TEXT ·libc_mmap_trampoline(SB),NOSPLIT,$0-0
77899+ JMP libc_mmap(SB)
77900+TEXT ·libc_munmap_trampoline(SB),NOSPLIT,$0-0
77901+ JMP libc_munmap(SB)
77902+TEXT ·libc_ptrace_trampoline(SB),NOSPLIT,$0-0
77903+ JMP libc_ptrace(SB)
77904+TEXT ·libc_gettimeofday_trampoline(SB),NOSPLIT,$0-0
77905+ JMP libc_gettimeofday(SB)
77906+TEXT ·libc_fstat64_trampoline(SB),NOSPLIT,$0-0
77907+ JMP libc_fstat64(SB)
77908+TEXT ·libc_fstatat64_trampoline(SB),NOSPLIT,$0-0
77909+ JMP libc_fstatat64(SB)
77910+TEXT ·libc_fstatfs64_trampoline(SB),NOSPLIT,$0-0
77911+ JMP libc_fstatfs64(SB)
77912+TEXT ·libc_getfsstat64_trampoline(SB),NOSPLIT,$0-0
77913+ JMP libc_getfsstat64(SB)
77914+TEXT ·libc_lstat64_trampoline(SB),NOSPLIT,$0-0
77915+ JMP libc_lstat64(SB)
77916+TEXT ·libc_stat64_trampoline(SB),NOSPLIT,$0-0
77917+ JMP libc_stat64(SB)
77918+TEXT ·libc_statfs64_trampoline(SB),NOSPLIT,$0-0
77919+ JMP libc_statfs64(SB)
77920diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_11.go
77921similarity index 85%
77922copy from vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go
77923copy to vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_11.go
77924index 7a409745..cea04e04 100644
77925--- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go
77926+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_11.go
77927@@ -1,7 +1,7 @@
77928-// mksyscall.pl -tags darwin,arm syscall_bsd.go syscall_darwin.go syscall_darwin_arm.go
77929+// go run mksyscall.go -l32 -tags darwin,arm,!go1.12 syscall_bsd.go syscall_darwin.go syscall_darwin_arm.1_11.go syscall_darwin_arm.go
77930 // Code generated by the command above; see README.md. DO NOT EDIT.
77931
77932-// +build darwin,arm
77933+// +build darwin,arm,!go1.12
77934
77935 package unix
77936
77937@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
77938
77939 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77940
77941-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
77942- var _p0 unsafe.Pointer
77943- if len(mib) > 0 {
77944- _p0 = unsafe.Pointer(&mib[0])
77945- } else {
77946- _p0 = unsafe.Pointer(&_zero)
77947- }
77948- _, _, e1 := Syscall6(SYS_SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
77949- if e1 != 0 {
77950- err = errnoErr(e1)
77951- }
77952- return
77953-}
77954-
77955-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77956-
77957 func utimes(path string, timeval *[2]Timeval) (err error) {
77958 var _p0 *byte
77959 _p0, err = BytePtrFromString(path)
77960@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
77961
77962 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77963
77964-func fcntl(fd int, cmd int, arg int) (val int, err error) {
77965- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
77966- val = int(r0)
77967+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
77968+ r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
77969+ n = int(r0)
77970 if e1 != 0 {
77971 err = errnoErr(e1)
77972 }
77973@@ -366,8 +350,8 @@ func Munlockall() (err error) {
77974
77975 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77976
77977-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
77978- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
77979+func getattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
77980+ _, _, e1 := Syscall6(SYS_GETATTRLIST, uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
77981 if e1 != 0 {
77982 err = errnoErr(e1)
77983 }
77984@@ -388,6 +372,161 @@ func pipe() (r int, w int, err error) {
77985
77986 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
77987
77988+func getxattr(path string, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
77989+ var _p0 *byte
77990+ _p0, err = BytePtrFromString(path)
77991+ if err != nil {
77992+ return
77993+ }
77994+ var _p1 *byte
77995+ _p1, err = BytePtrFromString(attr)
77996+ if err != nil {
77997+ return
77998+ }
77999+ r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
78000+ sz = int(r0)
78001+ if e1 != 0 {
78002+ err = errnoErr(e1)
78003+ }
78004+ return
78005+}
78006+
78007+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78008+
78009+func fgetxattr(fd int, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
78010+ var _p0 *byte
78011+ _p0, err = BytePtrFromString(attr)
78012+ if err != nil {
78013+ return
78014+ }
78015+ r0, _, e1 := Syscall6(SYS_FGETXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
78016+ sz = int(r0)
78017+ if e1 != 0 {
78018+ err = errnoErr(e1)
78019+ }
78020+ return
78021+}
78022+
78023+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78024+
78025+func setxattr(path string, attr string, data *byte, size int, position uint32, options int) (err error) {
78026+ var _p0 *byte
78027+ _p0, err = BytePtrFromString(path)
78028+ if err != nil {
78029+ return
78030+ }
78031+ var _p1 *byte
78032+ _p1, err = BytePtrFromString(attr)
78033+ if err != nil {
78034+ return
78035+ }
78036+ _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
78037+ if e1 != 0 {
78038+ err = errnoErr(e1)
78039+ }
78040+ return
78041+}
78042+
78043+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78044+
78045+func fsetxattr(fd int, attr string, data *byte, size int, position uint32, options int) (err error) {
78046+ var _p0 *byte
78047+ _p0, err = BytePtrFromString(attr)
78048+ if err != nil {
78049+ return
78050+ }
78051+ _, _, e1 := Syscall6(SYS_FSETXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
78052+ if e1 != 0 {
78053+ err = errnoErr(e1)
78054+ }
78055+ return
78056+}
78057+
78058+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78059+
78060+func removexattr(path string, attr string, options int) (err error) {
78061+ var _p0 *byte
78062+ _p0, err = BytePtrFromString(path)
78063+ if err != nil {
78064+ return
78065+ }
78066+ var _p1 *byte
78067+ _p1, err = BytePtrFromString(attr)
78068+ if err != nil {
78069+ return
78070+ }
78071+ _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
78072+ if e1 != 0 {
78073+ err = errnoErr(e1)
78074+ }
78075+ return
78076+}
78077+
78078+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78079+
78080+func fremovexattr(fd int, attr string, options int) (err error) {
78081+ var _p0 *byte
78082+ _p0, err = BytePtrFromString(attr)
78083+ if err != nil {
78084+ return
78085+ }
78086+ _, _, e1 := Syscall(SYS_FREMOVEXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(options))
78087+ if e1 != 0 {
78088+ err = errnoErr(e1)
78089+ }
78090+ return
78091+}
78092+
78093+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78094+
78095+func listxattr(path string, dest *byte, size int, options int) (sz int, err error) {
78096+ var _p0 *byte
78097+ _p0, err = BytePtrFromString(path)
78098+ if err != nil {
78099+ return
78100+ }
78101+ r0, _, e1 := Syscall6(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
78102+ sz = int(r0)
78103+ if e1 != 0 {
78104+ err = errnoErr(e1)
78105+ }
78106+ return
78107+}
78108+
78109+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78110+
78111+func flistxattr(fd int, dest *byte, size int, options int) (sz int, err error) {
78112+ r0, _, e1 := Syscall6(SYS_FLISTXATTR, uintptr(fd), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
78113+ sz = int(r0)
78114+ if e1 != 0 {
78115+ err = errnoErr(e1)
78116+ }
78117+ return
78118+}
78119+
78120+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78121+
78122+func setattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
78123+ _, _, e1 := Syscall6(SYS_SETATTRLIST, uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
78124+ if e1 != 0 {
78125+ err = errnoErr(e1)
78126+ }
78127+ return
78128+}
78129+
78130+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78131+
78132+func fcntl(fd int, cmd int, arg int) (val int, err error) {
78133+ r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
78134+ val = int(r0)
78135+ if e1 != 0 {
78136+ err = errnoErr(e1)
78137+ }
78138+ return
78139+}
78140+
78141+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78142+
78143 func kill(pid int, signum int, posix int) (err error) {
78144 _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
78145 if e1 != 0 {
78146@@ -408,6 +547,32 @@ func ioctl(fd int, req uint, arg uintptr) (err error) {
78147
78148 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78149
78150+func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
78151+ var _p0 unsafe.Pointer
78152+ if len(mib) > 0 {
78153+ _p0 = unsafe.Pointer(&mib[0])
78154+ } else {
78155+ _p0 = unsafe.Pointer(&_zero)
78156+ }
78157+ _, _, e1 := Syscall6(SYS_SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
78158+ if e1 != 0 {
78159+ err = errnoErr(e1)
78160+ }
78161+ return
78162+}
78163+
78164+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78165+
78166+func sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) {
78167+ _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(offset), uintptr(offset>>32), uintptr(unsafe.Pointer(len)), uintptr(hdtr), uintptr(flags), 0, 0)
78168+ if e1 != 0 {
78169+ err = errnoErr(e1)
78170+ }
78171+ return
78172+}
78173+
78174+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78175+
78176 func Access(path string, mode uint32) (err error) {
78177 var _p0 *byte
78178 _p0, err = BytePtrFromString(path)
78179@@ -672,26 +837,6 @@ func Fpathconf(fd int, name int) (val int, err error) {
78180
78181 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78182
78183-func Fstat(fd int, stat *Stat_t) (err error) {
78184- _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
78185- if e1 != 0 {
78186- err = errnoErr(e1)
78187- }
78188- return
78189-}
78190-
78191-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78192-
78193-func Fstatfs(fd int, stat *Statfs_t) (err error) {
78194- _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
78195- if e1 != 0 {
78196- err = errnoErr(e1)
78197- }
78198- return
78199-}
78200-
78201-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78202-
78203 func Fsync(fd int) (err error) {
78204 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
78205 if e1 != 0 {
78206@@ -712,23 +857,6 @@ func Ftruncate(fd int, length int64) (err error) {
78207
78208 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78209
78210-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
78211- var _p0 unsafe.Pointer
78212- if len(buf) > 0 {
78213- _p0 = unsafe.Pointer(&buf[0])
78214- } else {
78215- _p0 = unsafe.Pointer(&_zero)
78216- }
78217- r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
78218- n = int(r0)
78219- if e1 != 0 {
78220- err = errnoErr(e1)
78221- }
78222- return
78223-}
78224-
78225-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78226-
78227 func Getdtablesize() (size int) {
78228 r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
78229 size = int(r0)
78230@@ -930,21 +1058,6 @@ func Listen(s int, backlog int) (err error) {
78231
78232 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78233
78234-func Lstat(path string, stat *Stat_t) (err error) {
78235- var _p0 *byte
78236- _p0, err = BytePtrFromString(path)
78237- if err != nil {
78238- return
78239- }
78240- _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
78241- if e1 != 0 {
78242- err = errnoErr(e1)
78243- }
78244- return
78245-}
78246-
78247-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78248-
78249 func Mkdir(path string, mode uint32) (err error) {
78250 var _p0 *byte
78251 _p0, err = BytePtrFromString(path)
78252@@ -1229,8 +1342,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
78253
78254 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78255
78256-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
78257- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
78258+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
78259+ r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
78260+ n = int(r0)
78261 if e1 != 0 {
78262 err = errnoErr(e1)
78263 }
78264@@ -1375,36 +1489,6 @@ func Setuid(uid int) (err error) {
78265
78266 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78267
78268-func Stat(path string, stat *Stat_t) (err error) {
78269- var _p0 *byte
78270- _p0, err = BytePtrFromString(path)
78271- if err != nil {
78272- return
78273- }
78274- _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
78275- if e1 != 0 {
78276- err = errnoErr(e1)
78277- }
78278- return
78279-}
78280-
78281-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78282-
78283-func Statfs(path string, stat *Statfs_t) (err error) {
78284- var _p0 *byte
78285- _p0, err = BytePtrFromString(path)
78286- if err != nil {
78287- return
78288- }
78289- _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
78290- if e1 != 0 {
78291- err = errnoErr(e1)
78292- }
78293- return
78294-}
78295-
78296-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78297-
78298 func Symlink(path string, link string) (err error) {
78299 var _p0 *byte
78300 _p0, err = BytePtrFromString(path)
78301@@ -1607,3 +1691,94 @@ func gettimeofday(tp *Timeval) (sec int32, usec int32, err error) {
78302 }
78303 return
78304 }
78305+
78306+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78307+
78308+func Fstat(fd int, stat *Stat_t) (err error) {
78309+ _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
78310+ if e1 != 0 {
78311+ err = errnoErr(e1)
78312+ }
78313+ return
78314+}
78315+
78316+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78317+
78318+func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
78319+ var _p0 *byte
78320+ _p0, err = BytePtrFromString(path)
78321+ if err != nil {
78322+ return
78323+ }
78324+ _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
78325+ if e1 != 0 {
78326+ err = errnoErr(e1)
78327+ }
78328+ return
78329+}
78330+
78331+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78332+
78333+func Fstatfs(fd int, stat *Statfs_t) (err error) {
78334+ _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
78335+ if e1 != 0 {
78336+ err = errnoErr(e1)
78337+ }
78338+ return
78339+}
78340+
78341+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78342+
78343+func getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) {
78344+ r0, _, e1 := Syscall(SYS_GETFSSTAT, uintptr(buf), uintptr(size), uintptr(flags))
78345+ n = int(r0)
78346+ if e1 != 0 {
78347+ err = errnoErr(e1)
78348+ }
78349+ return
78350+}
78351+
78352+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78353+
78354+func Lstat(path string, stat *Stat_t) (err error) {
78355+ var _p0 *byte
78356+ _p0, err = BytePtrFromString(path)
78357+ if err != nil {
78358+ return
78359+ }
78360+ _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
78361+ if e1 != 0 {
78362+ err = errnoErr(e1)
78363+ }
78364+ return
78365+}
78366+
78367+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78368+
78369+func Stat(path string, stat *Stat_t) (err error) {
78370+ var _p0 *byte
78371+ _p0, err = BytePtrFromString(path)
78372+ if err != nil {
78373+ return
78374+ }
78375+ _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
78376+ if e1 != 0 {
78377+ err = errnoErr(e1)
78378+ }
78379+ return
78380+}
78381+
78382+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78383+
78384+func Statfs(path string, stat *Statfs_t) (err error) {
78385+ var _p0 *byte
78386+ _p0, err = BytePtrFromString(path)
78387+ if err != nil {
78388+ return
78389+ }
78390+ _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
78391+ if e1 != 0 {
78392+ err = errnoErr(e1)
78393+ }
78394+ return
78395+}
78396diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_13.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_13.go
78397new file mode 100644
78398index 00000000..f519ce9a
78399--- /dev/null
78400+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_13.go
78401@@ -0,0 +1,41 @@
78402+// go run mksyscall.go -l32 -tags darwin,arm,go1.13 syscall_darwin.1_13.go
78403+// Code generated by the command above; see README.md. DO NOT EDIT.
78404+
78405+// +build darwin,arm,go1.13
78406+
78407+package unix
78408+
78409+import (
78410+ "syscall"
78411+ "unsafe"
78412+)
78413+
78414+var _ syscall.Errno
78415+
78416+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78417+
78418+func closedir(dir uintptr) (err error) {
78419+ _, _, e1 := syscall_syscall(funcPC(libc_closedir_trampoline), uintptr(dir), 0, 0)
78420+ if e1 != 0 {
78421+ err = errnoErr(e1)
78422+ }
78423+ return
78424+}
78425+
78426+func libc_closedir_trampoline()
78427+
78428+//go:linkname libc_closedir libc_closedir
78429+//go:cgo_import_dynamic libc_closedir closedir "/usr/lib/libSystem.B.dylib"
78430+
78431+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78432+
78433+func readdir_r(dir uintptr, entry *Dirent, result **Dirent) (res Errno) {
78434+ r0, _, _ := syscall_syscall(funcPC(libc_readdir_r_trampoline), uintptr(dir), uintptr(unsafe.Pointer(entry)), uintptr(unsafe.Pointer(result)))
78435+ res = Errno(r0)
78436+ return
78437+}
78438+
78439+func libc_readdir_r_trampoline()
78440+
78441+//go:linkname libc_readdir_r libc_readdir_r
78442+//go:cgo_import_dynamic libc_readdir_r readdir_r "/usr/lib/libSystem.B.dylib"
78443diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_13.s b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_13.s
78444new file mode 100644
78445index 00000000..488e5570
78446--- /dev/null
78447+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_13.s
78448@@ -0,0 +1,12 @@
78449+// go run mkasm_darwin.go arm
78450+// Code generated by the command above; DO NOT EDIT.
78451+
78452+// +build go1.13
78453+
78454+#include "textflag.h"
78455+TEXT ·libc_fdopendir_trampoline(SB),NOSPLIT,$0-0
78456+ JMP libc_fdopendir(SB)
78457+TEXT ·libc_closedir_trampoline(SB),NOSPLIT,$0-0
78458+ JMP libc_closedir(SB)
78459+TEXT ·libc_readdir_r_trampoline(SB),NOSPLIT,$0-0
78460+ JMP libc_readdir_r(SB)
78461diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go
78462index 7a409745..63103950 100644
78463--- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go
78464+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go
78465@@ -1,7 +1,7 @@
78466-// mksyscall.pl -tags darwin,arm syscall_bsd.go syscall_darwin.go syscall_darwin_arm.go
78467+// go run mksyscall.go -l32 -tags darwin,arm,go1.12 syscall_bsd.go syscall_darwin.go syscall_darwin_arm.go
78468 // Code generated by the command above; see README.md. DO NOT EDIT.
78469
78470-// +build darwin,arm
78471+// +build darwin,arm,go1.12
78472
78473 package unix
78474
78475@@ -15,7 +15,7 @@ var _ syscall.Errno
78476 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78477
78478 func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
78479- r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
78480+ r0, _, e1 := syscall_rawSyscall(funcPC(libc_getgroups_trampoline), uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
78481 n = int(r0)
78482 if e1 != 0 {
78483 err = errnoErr(e1)
78484@@ -23,20 +23,30 @@ func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
78485 return
78486 }
78487
78488+func libc_getgroups_trampoline()
78489+
78490+//go:linkname libc_getgroups libc_getgroups
78491+//go:cgo_import_dynamic libc_getgroups getgroups "/usr/lib/libSystem.B.dylib"
78492+
78493 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78494
78495 func setgroups(ngid int, gid *_Gid_t) (err error) {
78496- _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
78497+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setgroups_trampoline), uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
78498 if e1 != 0 {
78499 err = errnoErr(e1)
78500 }
78501 return
78502 }
78503
78504+func libc_setgroups_trampoline()
78505+
78506+//go:linkname libc_setgroups libc_setgroups
78507+//go:cgo_import_dynamic libc_setgroups setgroups "/usr/lib/libSystem.B.dylib"
78508+
78509 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78510
78511 func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
78512- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
78513+ r0, _, e1 := syscall_syscall6(funcPC(libc_wait4_trampoline), uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
78514 wpid = int(r0)
78515 if e1 != 0 {
78516 err = errnoErr(e1)
78517@@ -44,10 +54,15 @@ func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err
78518 return
78519 }
78520
78521+func libc_wait4_trampoline()
78522+
78523+//go:linkname libc_wait4 libc_wait4
78524+//go:cgo_import_dynamic libc_wait4 wait4 "/usr/lib/libSystem.B.dylib"
78525+
78526 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78527
78528 func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
78529- r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
78530+ r0, _, e1 := syscall_syscall(funcPC(libc_accept_trampoline), uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
78531 fd = int(r0)
78532 if e1 != 0 {
78533 err = errnoErr(e1)
78534@@ -55,30 +70,45 @@ func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
78535 return
78536 }
78537
78538+func libc_accept_trampoline()
78539+
78540+//go:linkname libc_accept libc_accept
78541+//go:cgo_import_dynamic libc_accept accept "/usr/lib/libSystem.B.dylib"
78542+
78543 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78544
78545 func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
78546- _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
78547+ _, _, e1 := syscall_syscall(funcPC(libc_bind_trampoline), uintptr(s), uintptr(addr), uintptr(addrlen))
78548 if e1 != 0 {
78549 err = errnoErr(e1)
78550 }
78551 return
78552 }
78553
78554+func libc_bind_trampoline()
78555+
78556+//go:linkname libc_bind libc_bind
78557+//go:cgo_import_dynamic libc_bind bind "/usr/lib/libSystem.B.dylib"
78558+
78559 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78560
78561 func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
78562- _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
78563+ _, _, e1 := syscall_syscall(funcPC(libc_connect_trampoline), uintptr(s), uintptr(addr), uintptr(addrlen))
78564 if e1 != 0 {
78565 err = errnoErr(e1)
78566 }
78567 return
78568 }
78569
78570+func libc_connect_trampoline()
78571+
78572+//go:linkname libc_connect libc_connect
78573+//go:cgo_import_dynamic libc_connect connect "/usr/lib/libSystem.B.dylib"
78574+
78575 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78576
78577 func socket(domain int, typ int, proto int) (fd int, err error) {
78578- r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
78579+ r0, _, e1 := syscall_rawSyscall(funcPC(libc_socket_trampoline), uintptr(domain), uintptr(typ), uintptr(proto))
78580 fd = int(r0)
78581 if e1 != 0 {
78582 err = errnoErr(e1)
78583@@ -86,66 +116,101 @@ func socket(domain int, typ int, proto int) (fd int, err error) {
78584 return
78585 }
78586
78587+func libc_socket_trampoline()
78588+
78589+//go:linkname libc_socket libc_socket
78590+//go:cgo_import_dynamic libc_socket socket "/usr/lib/libSystem.B.dylib"
78591+
78592 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78593
78594 func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
78595- _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
78596+ _, _, e1 := syscall_syscall6(funcPC(libc_getsockopt_trampoline), uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
78597 if e1 != 0 {
78598 err = errnoErr(e1)
78599 }
78600 return
78601 }
78602
78603+func libc_getsockopt_trampoline()
78604+
78605+//go:linkname libc_getsockopt libc_getsockopt
78606+//go:cgo_import_dynamic libc_getsockopt getsockopt "/usr/lib/libSystem.B.dylib"
78607+
78608 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78609
78610 func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
78611- _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
78612+ _, _, e1 := syscall_syscall6(funcPC(libc_setsockopt_trampoline), uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
78613 if e1 != 0 {
78614 err = errnoErr(e1)
78615 }
78616 return
78617 }
78618
78619+func libc_setsockopt_trampoline()
78620+
78621+//go:linkname libc_setsockopt libc_setsockopt
78622+//go:cgo_import_dynamic libc_setsockopt setsockopt "/usr/lib/libSystem.B.dylib"
78623+
78624 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78625
78626 func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
78627- _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
78628+ _, _, e1 := syscall_rawSyscall(funcPC(libc_getpeername_trampoline), uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
78629 if e1 != 0 {
78630 err = errnoErr(e1)
78631 }
78632 return
78633 }
78634
78635+func libc_getpeername_trampoline()
78636+
78637+//go:linkname libc_getpeername libc_getpeername
78638+//go:cgo_import_dynamic libc_getpeername getpeername "/usr/lib/libSystem.B.dylib"
78639+
78640 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78641
78642 func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
78643- _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
78644+ _, _, e1 := syscall_rawSyscall(funcPC(libc_getsockname_trampoline), uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
78645 if e1 != 0 {
78646 err = errnoErr(e1)
78647 }
78648 return
78649 }
78650
78651+func libc_getsockname_trampoline()
78652+
78653+//go:linkname libc_getsockname libc_getsockname
78654+//go:cgo_import_dynamic libc_getsockname getsockname "/usr/lib/libSystem.B.dylib"
78655+
78656 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78657
78658 func Shutdown(s int, how int) (err error) {
78659- _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
78660+ _, _, e1 := syscall_syscall(funcPC(libc_shutdown_trampoline), uintptr(s), uintptr(how), 0)
78661 if e1 != 0 {
78662 err = errnoErr(e1)
78663 }
78664 return
78665 }
78666
78667+func libc_shutdown_trampoline()
78668+
78669+//go:linkname libc_shutdown libc_shutdown
78670+//go:cgo_import_dynamic libc_shutdown shutdown "/usr/lib/libSystem.B.dylib"
78671+
78672 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78673
78674 func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
78675- _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
78676+ _, _, e1 := syscall_rawSyscall6(funcPC(libc_socketpair_trampoline), uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
78677 if e1 != 0 {
78678 err = errnoErr(e1)
78679 }
78680 return
78681 }
78682
78683+func libc_socketpair_trampoline()
78684+
78685+//go:linkname libc_socketpair libc_socketpair
78686+//go:cgo_import_dynamic libc_socketpair socketpair "/usr/lib/libSystem.B.dylib"
78687+
78688 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78689
78690 func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
78691@@ -155,7 +220,7 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl
78692 } else {
78693 _p0 = unsafe.Pointer(&_zero)
78694 }
78695- r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
78696+ r0, _, e1 := syscall_syscall6(funcPC(libc_recvfrom_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
78697 n = int(r0)
78698 if e1 != 0 {
78699 err = errnoErr(e1)
78700@@ -163,6 +228,11 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl
78701 return
78702 }
78703
78704+func libc_recvfrom_trampoline()
78705+
78706+//go:linkname libc_recvfrom libc_recvfrom
78707+//go:cgo_import_dynamic libc_recvfrom recvfrom "/usr/lib/libSystem.B.dylib"
78708+
78709 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78710
78711 func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
78712@@ -172,17 +242,22 @@ func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (
78713 } else {
78714 _p0 = unsafe.Pointer(&_zero)
78715 }
78716- _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
78717+ _, _, e1 := syscall_syscall6(funcPC(libc_sendto_trampoline), uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
78718 if e1 != 0 {
78719 err = errnoErr(e1)
78720 }
78721 return
78722 }
78723
78724+func libc_sendto_trampoline()
78725+
78726+//go:linkname libc_sendto libc_sendto
78727+//go:cgo_import_dynamic libc_sendto sendto "/usr/lib/libSystem.B.dylib"
78728+
78729 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78730
78731 func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
78732- r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
78733+ r0, _, e1 := syscall_syscall(funcPC(libc_recvmsg_trampoline), uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
78734 n = int(r0)
78735 if e1 != 0 {
78736 err = errnoErr(e1)
78737@@ -190,10 +265,15 @@ func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
78738 return
78739 }
78740
78741+func libc_recvmsg_trampoline()
78742+
78743+//go:linkname libc_recvmsg libc_recvmsg
78744+//go:cgo_import_dynamic libc_recvmsg recvmsg "/usr/lib/libSystem.B.dylib"
78745+
78746 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78747
78748 func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
78749- r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
78750+ r0, _, e1 := syscall_syscall(funcPC(libc_sendmsg_trampoline), uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
78751 n = int(r0)
78752 if e1 != 0 {
78753 err = errnoErr(e1)
78754@@ -201,10 +281,15 @@ func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
78755 return
78756 }
78757
78758+func libc_sendmsg_trampoline()
78759+
78760+//go:linkname libc_sendmsg libc_sendmsg
78761+//go:cgo_import_dynamic libc_sendmsg sendmsg "/usr/lib/libSystem.B.dylib"
78762+
78763 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78764
78765 func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
78766- r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
78767+ r0, _, e1 := syscall_syscall6(funcPC(libc_kevent_trampoline), uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
78768 n = int(r0)
78769 if e1 != 0 {
78770 err = errnoErr(e1)
78771@@ -212,21 +297,10 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
78772 return
78773 }
78774
78775-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78776+func libc_kevent_trampoline()
78777
78778-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
78779- var _p0 unsafe.Pointer
78780- if len(mib) > 0 {
78781- _p0 = unsafe.Pointer(&mib[0])
78782- } else {
78783- _p0 = unsafe.Pointer(&_zero)
78784- }
78785- _, _, e1 := Syscall6(SYS_SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
78786- if e1 != 0 {
78787- err = errnoErr(e1)
78788- }
78789- return
78790-}
78791+//go:linkname libc_kevent libc_kevent
78792+//go:cgo_import_dynamic libc_kevent kevent "/usr/lib/libSystem.B.dylib"
78793
78794 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78795
78796@@ -236,34 +310,49 @@ func utimes(path string, timeval *[2]Timeval) (err error) {
78797 if err != nil {
78798 return
78799 }
78800- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
78801+ _, _, e1 := syscall_syscall(funcPC(libc_utimes_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
78802 if e1 != 0 {
78803 err = errnoErr(e1)
78804 }
78805 return
78806 }
78807
78808+func libc_utimes_trampoline()
78809+
78810+//go:linkname libc_utimes libc_utimes
78811+//go:cgo_import_dynamic libc_utimes utimes "/usr/lib/libSystem.B.dylib"
78812+
78813 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78814
78815 func futimes(fd int, timeval *[2]Timeval) (err error) {
78816- _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
78817+ _, _, e1 := syscall_syscall(funcPC(libc_futimes_trampoline), uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
78818 if e1 != 0 {
78819 err = errnoErr(e1)
78820 }
78821 return
78822 }
78823
78824+func libc_futimes_trampoline()
78825+
78826+//go:linkname libc_futimes libc_futimes
78827+//go:cgo_import_dynamic libc_futimes futimes "/usr/lib/libSystem.B.dylib"
78828+
78829 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78830
78831-func fcntl(fd int, cmd int, arg int) (val int, err error) {
78832- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
78833- val = int(r0)
78834+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
78835+ r0, _, e1 := syscall_syscall(funcPC(libc_poll_trampoline), uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
78836+ n = int(r0)
78837 if e1 != 0 {
78838 err = errnoErr(e1)
78839 }
78840 return
78841 }
78842
78843+func libc_poll_trampoline()
78844+
78845+//go:linkname libc_poll libc_poll
78846+//go:cgo_import_dynamic libc_poll poll "/usr/lib/libSystem.B.dylib"
78847+
78848 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78849
78850 func Madvise(b []byte, behav int) (err error) {
78851@@ -273,13 +362,18 @@ func Madvise(b []byte, behav int) (err error) {
78852 } else {
78853 _p0 = unsafe.Pointer(&_zero)
78854 }
78855- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(behav))
78856+ _, _, e1 := syscall_syscall(funcPC(libc_madvise_trampoline), uintptr(_p0), uintptr(len(b)), uintptr(behav))
78857 if e1 != 0 {
78858 err = errnoErr(e1)
78859 }
78860 return
78861 }
78862
78863+func libc_madvise_trampoline()
78864+
78865+//go:linkname libc_madvise libc_madvise
78866+//go:cgo_import_dynamic libc_madvise madvise "/usr/lib/libSystem.B.dylib"
78867+
78868 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78869
78870 func Mlock(b []byte) (err error) {
78871@@ -289,23 +383,33 @@ func Mlock(b []byte) (err error) {
78872 } else {
78873 _p0 = unsafe.Pointer(&_zero)
78874 }
78875- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
78876+ _, _, e1 := syscall_syscall(funcPC(libc_mlock_trampoline), uintptr(_p0), uintptr(len(b)), 0)
78877 if e1 != 0 {
78878 err = errnoErr(e1)
78879 }
78880 return
78881 }
78882
78883+func libc_mlock_trampoline()
78884+
78885+//go:linkname libc_mlock libc_mlock
78886+//go:cgo_import_dynamic libc_mlock mlock "/usr/lib/libSystem.B.dylib"
78887+
78888 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78889
78890 func Mlockall(flags int) (err error) {
78891- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
78892+ _, _, e1 := syscall_syscall(funcPC(libc_mlockall_trampoline), uintptr(flags), 0, 0)
78893 if e1 != 0 {
78894 err = errnoErr(e1)
78895 }
78896 return
78897 }
78898
78899+func libc_mlockall_trampoline()
78900+
78901+//go:linkname libc_mlockall libc_mlockall
78902+//go:cgo_import_dynamic libc_mlockall mlockall "/usr/lib/libSystem.B.dylib"
78903+
78904 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78905
78906 func Mprotect(b []byte, prot int) (err error) {
78907@@ -315,13 +419,18 @@ func Mprotect(b []byte, prot int) (err error) {
78908 } else {
78909 _p0 = unsafe.Pointer(&_zero)
78910 }
78911- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
78912+ _, _, e1 := syscall_syscall(funcPC(libc_mprotect_trampoline), uintptr(_p0), uintptr(len(b)), uintptr(prot))
78913 if e1 != 0 {
78914 err = errnoErr(e1)
78915 }
78916 return
78917 }
78918
78919+func libc_mprotect_trampoline()
78920+
78921+//go:linkname libc_mprotect libc_mprotect
78922+//go:cgo_import_dynamic libc_mprotect mprotect "/usr/lib/libSystem.B.dylib"
78923+
78924 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78925
78926 func Msync(b []byte, flags int) (err error) {
78927@@ -331,13 +440,18 @@ func Msync(b []byte, flags int) (err error) {
78928 } else {
78929 _p0 = unsafe.Pointer(&_zero)
78930 }
78931- _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags))
78932+ _, _, e1 := syscall_syscall(funcPC(libc_msync_trampoline), uintptr(_p0), uintptr(len(b)), uintptr(flags))
78933 if e1 != 0 {
78934 err = errnoErr(e1)
78935 }
78936 return
78937 }
78938
78939+func libc_msync_trampoline()
78940+
78941+//go:linkname libc_msync libc_msync
78942+//go:cgo_import_dynamic libc_msync msync "/usr/lib/libSystem.B.dylib"
78943+
78944 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78945
78946 func Munlock(b []byte) (err error) {
78947@@ -347,37 +461,52 @@ func Munlock(b []byte) (err error) {
78948 } else {
78949 _p0 = unsafe.Pointer(&_zero)
78950 }
78951- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
78952+ _, _, e1 := syscall_syscall(funcPC(libc_munlock_trampoline), uintptr(_p0), uintptr(len(b)), 0)
78953 if e1 != 0 {
78954 err = errnoErr(e1)
78955 }
78956 return
78957 }
78958
78959+func libc_munlock_trampoline()
78960+
78961+//go:linkname libc_munlock libc_munlock
78962+//go:cgo_import_dynamic libc_munlock munlock "/usr/lib/libSystem.B.dylib"
78963+
78964 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78965
78966 func Munlockall() (err error) {
78967- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
78968+ _, _, e1 := syscall_syscall(funcPC(libc_munlockall_trampoline), 0, 0, 0)
78969 if e1 != 0 {
78970 err = errnoErr(e1)
78971 }
78972 return
78973 }
78974
78975+func libc_munlockall_trampoline()
78976+
78977+//go:linkname libc_munlockall libc_munlockall
78978+//go:cgo_import_dynamic libc_munlockall munlockall "/usr/lib/libSystem.B.dylib"
78979+
78980 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78981
78982-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
78983- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
78984+func getattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
78985+ _, _, e1 := syscall_syscall6(funcPC(libc_getattrlist_trampoline), uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
78986 if e1 != 0 {
78987 err = errnoErr(e1)
78988 }
78989 return
78990 }
78991
78992+func libc_getattrlist_trampoline()
78993+
78994+//go:linkname libc_getattrlist libc_getattrlist
78995+//go:cgo_import_dynamic libc_getattrlist getattrlist "/usr/lib/libSystem.B.dylib"
78996+
78997 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
78998
78999 func pipe() (r int, w int, err error) {
79000- r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
79001+ r0, r1, e1 := syscall_rawSyscall(funcPC(libc_pipe_trampoline), 0, 0, 0)
79002 r = int(r0)
79003 w = int(r1)
79004 if e1 != 0 {
79005@@ -386,26 +515,282 @@ func pipe() (r int, w int, err error) {
79006 return
79007 }
79008
79009+func libc_pipe_trampoline()
79010+
79011+//go:linkname libc_pipe libc_pipe
79012+//go:cgo_import_dynamic libc_pipe pipe "/usr/lib/libSystem.B.dylib"
79013+
79014+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79015+
79016+func getxattr(path string, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
79017+ var _p0 *byte
79018+ _p0, err = BytePtrFromString(path)
79019+ if err != nil {
79020+ return
79021+ }
79022+ var _p1 *byte
79023+ _p1, err = BytePtrFromString(attr)
79024+ if err != nil {
79025+ return
79026+ }
79027+ r0, _, e1 := syscall_syscall6(funcPC(libc_getxattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
79028+ sz = int(r0)
79029+ if e1 != 0 {
79030+ err = errnoErr(e1)
79031+ }
79032+ return
79033+}
79034+
79035+func libc_getxattr_trampoline()
79036+
79037+//go:linkname libc_getxattr libc_getxattr
79038+//go:cgo_import_dynamic libc_getxattr getxattr "/usr/lib/libSystem.B.dylib"
79039+
79040+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79041+
79042+func fgetxattr(fd int, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
79043+ var _p0 *byte
79044+ _p0, err = BytePtrFromString(attr)
79045+ if err != nil {
79046+ return
79047+ }
79048+ r0, _, e1 := syscall_syscall6(funcPC(libc_fgetxattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
79049+ sz = int(r0)
79050+ if e1 != 0 {
79051+ err = errnoErr(e1)
79052+ }
79053+ return
79054+}
79055+
79056+func libc_fgetxattr_trampoline()
79057+
79058+//go:linkname libc_fgetxattr libc_fgetxattr
79059+//go:cgo_import_dynamic libc_fgetxattr fgetxattr "/usr/lib/libSystem.B.dylib"
79060+
79061+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79062+
79063+func setxattr(path string, attr string, data *byte, size int, position uint32, options int) (err error) {
79064+ var _p0 *byte
79065+ _p0, err = BytePtrFromString(path)
79066+ if err != nil {
79067+ return
79068+ }
79069+ var _p1 *byte
79070+ _p1, err = BytePtrFromString(attr)
79071+ if err != nil {
79072+ return
79073+ }
79074+ _, _, e1 := syscall_syscall6(funcPC(libc_setxattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
79075+ if e1 != 0 {
79076+ err = errnoErr(e1)
79077+ }
79078+ return
79079+}
79080+
79081+func libc_setxattr_trampoline()
79082+
79083+//go:linkname libc_setxattr libc_setxattr
79084+//go:cgo_import_dynamic libc_setxattr setxattr "/usr/lib/libSystem.B.dylib"
79085+
79086+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79087+
79088+func fsetxattr(fd int, attr string, data *byte, size int, position uint32, options int) (err error) {
79089+ var _p0 *byte
79090+ _p0, err = BytePtrFromString(attr)
79091+ if err != nil {
79092+ return
79093+ }
79094+ _, _, e1 := syscall_syscall6(funcPC(libc_fsetxattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
79095+ if e1 != 0 {
79096+ err = errnoErr(e1)
79097+ }
79098+ return
79099+}
79100+
79101+func libc_fsetxattr_trampoline()
79102+
79103+//go:linkname libc_fsetxattr libc_fsetxattr
79104+//go:cgo_import_dynamic libc_fsetxattr fsetxattr "/usr/lib/libSystem.B.dylib"
79105+
79106+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79107+
79108+func removexattr(path string, attr string, options int) (err error) {
79109+ var _p0 *byte
79110+ _p0, err = BytePtrFromString(path)
79111+ if err != nil {
79112+ return
79113+ }
79114+ var _p1 *byte
79115+ _p1, err = BytePtrFromString(attr)
79116+ if err != nil {
79117+ return
79118+ }
79119+ _, _, e1 := syscall_syscall(funcPC(libc_removexattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
79120+ if e1 != 0 {
79121+ err = errnoErr(e1)
79122+ }
79123+ return
79124+}
79125+
79126+func libc_removexattr_trampoline()
79127+
79128+//go:linkname libc_removexattr libc_removexattr
79129+//go:cgo_import_dynamic libc_removexattr removexattr "/usr/lib/libSystem.B.dylib"
79130+
79131+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79132+
79133+func fremovexattr(fd int, attr string, options int) (err error) {
79134+ var _p0 *byte
79135+ _p0, err = BytePtrFromString(attr)
79136+ if err != nil {
79137+ return
79138+ }
79139+ _, _, e1 := syscall_syscall(funcPC(libc_fremovexattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(options))
79140+ if e1 != 0 {
79141+ err = errnoErr(e1)
79142+ }
79143+ return
79144+}
79145+
79146+func libc_fremovexattr_trampoline()
79147+
79148+//go:linkname libc_fremovexattr libc_fremovexattr
79149+//go:cgo_import_dynamic libc_fremovexattr fremovexattr "/usr/lib/libSystem.B.dylib"
79150+
79151+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79152+
79153+func listxattr(path string, dest *byte, size int, options int) (sz int, err error) {
79154+ var _p0 *byte
79155+ _p0, err = BytePtrFromString(path)
79156+ if err != nil {
79157+ return
79158+ }
79159+ r0, _, e1 := syscall_syscall6(funcPC(libc_listxattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
79160+ sz = int(r0)
79161+ if e1 != 0 {
79162+ err = errnoErr(e1)
79163+ }
79164+ return
79165+}
79166+
79167+func libc_listxattr_trampoline()
79168+
79169+//go:linkname libc_listxattr libc_listxattr
79170+//go:cgo_import_dynamic libc_listxattr listxattr "/usr/lib/libSystem.B.dylib"
79171+
79172+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79173+
79174+func flistxattr(fd int, dest *byte, size int, options int) (sz int, err error) {
79175+ r0, _, e1 := syscall_syscall6(funcPC(libc_flistxattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
79176+ sz = int(r0)
79177+ if e1 != 0 {
79178+ err = errnoErr(e1)
79179+ }
79180+ return
79181+}
79182+
79183+func libc_flistxattr_trampoline()
79184+
79185+//go:linkname libc_flistxattr libc_flistxattr
79186+//go:cgo_import_dynamic libc_flistxattr flistxattr "/usr/lib/libSystem.B.dylib"
79187+
79188+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79189+
79190+func setattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
79191+ _, _, e1 := syscall_syscall6(funcPC(libc_setattrlist_trampoline), uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
79192+ if e1 != 0 {
79193+ err = errnoErr(e1)
79194+ }
79195+ return
79196+}
79197+
79198+func libc_setattrlist_trampoline()
79199+
79200+//go:linkname libc_setattrlist libc_setattrlist
79201+//go:cgo_import_dynamic libc_setattrlist setattrlist "/usr/lib/libSystem.B.dylib"
79202+
79203+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79204+
79205+func fcntl(fd int, cmd int, arg int) (val int, err error) {
79206+ r0, _, e1 := syscall_syscall(funcPC(libc_fcntl_trampoline), uintptr(fd), uintptr(cmd), uintptr(arg))
79207+ val = int(r0)
79208+ if e1 != 0 {
79209+ err = errnoErr(e1)
79210+ }
79211+ return
79212+}
79213+
79214+func libc_fcntl_trampoline()
79215+
79216+//go:linkname libc_fcntl libc_fcntl
79217+//go:cgo_import_dynamic libc_fcntl fcntl "/usr/lib/libSystem.B.dylib"
79218+
79219 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79220
79221 func kill(pid int, signum int, posix int) (err error) {
79222- _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
79223+ _, _, e1 := syscall_syscall(funcPC(libc_kill_trampoline), uintptr(pid), uintptr(signum), uintptr(posix))
79224 if e1 != 0 {
79225 err = errnoErr(e1)
79226 }
79227 return
79228 }
79229
79230+func libc_kill_trampoline()
79231+
79232+//go:linkname libc_kill libc_kill
79233+//go:cgo_import_dynamic libc_kill kill "/usr/lib/libSystem.B.dylib"
79234+
79235 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79236
79237 func ioctl(fd int, req uint, arg uintptr) (err error) {
79238- _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
79239+ _, _, e1 := syscall_syscall(funcPC(libc_ioctl_trampoline), uintptr(fd), uintptr(req), uintptr(arg))
79240 if e1 != 0 {
79241 err = errnoErr(e1)
79242 }
79243 return
79244 }
79245
79246+func libc_ioctl_trampoline()
79247+
79248+//go:linkname libc_ioctl libc_ioctl
79249+//go:cgo_import_dynamic libc_ioctl ioctl "/usr/lib/libSystem.B.dylib"
79250+
79251+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79252+
79253+func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
79254+ var _p0 unsafe.Pointer
79255+ if len(mib) > 0 {
79256+ _p0 = unsafe.Pointer(&mib[0])
79257+ } else {
79258+ _p0 = unsafe.Pointer(&_zero)
79259+ }
79260+ _, _, e1 := syscall_syscall6(funcPC(libc_sysctl_trampoline), uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
79261+ if e1 != 0 {
79262+ err = errnoErr(e1)
79263+ }
79264+ return
79265+}
79266+
79267+func libc_sysctl_trampoline()
79268+
79269+//go:linkname libc_sysctl libc_sysctl
79270+//go:cgo_import_dynamic libc_sysctl sysctl "/usr/lib/libSystem.B.dylib"
79271+
79272+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79273+
79274+func sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) {
79275+ _, _, e1 := syscall_syscall9(funcPC(libc_sendfile_trampoline), uintptr(infd), uintptr(outfd), uintptr(offset), uintptr(offset>>32), uintptr(unsafe.Pointer(len)), uintptr(hdtr), uintptr(flags), 0, 0)
79276+ if e1 != 0 {
79277+ err = errnoErr(e1)
79278+ }
79279+ return
79280+}
79281+
79282+func libc_sendfile_trampoline()
79283+
79284+//go:linkname libc_sendfile libc_sendfile
79285+//go:cgo_import_dynamic libc_sendfile sendfile "/usr/lib/libSystem.B.dylib"
79286+
79287 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79288
79289 func Access(path string, mode uint32) (err error) {
79290@@ -414,23 +799,33 @@ func Access(path string, mode uint32) (err error) {
79291 if err != nil {
79292 return
79293 }
79294- _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
79295+ _, _, e1 := syscall_syscall(funcPC(libc_access_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
79296 if e1 != 0 {
79297 err = errnoErr(e1)
79298 }
79299 return
79300 }
79301
79302+func libc_access_trampoline()
79303+
79304+//go:linkname libc_access libc_access
79305+//go:cgo_import_dynamic libc_access access "/usr/lib/libSystem.B.dylib"
79306+
79307 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79308
79309 func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
79310- _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
79311+ _, _, e1 := syscall_syscall(funcPC(libc_adjtime_trampoline), uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
79312 if e1 != 0 {
79313 err = errnoErr(e1)
79314 }
79315 return
79316 }
79317
79318+func libc_adjtime_trampoline()
79319+
79320+//go:linkname libc_adjtime libc_adjtime
79321+//go:cgo_import_dynamic libc_adjtime adjtime "/usr/lib/libSystem.B.dylib"
79322+
79323 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79324
79325 func Chdir(path string) (err error) {
79326@@ -439,13 +834,18 @@ func Chdir(path string) (err error) {
79327 if err != nil {
79328 return
79329 }
79330- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
79331+ _, _, e1 := syscall_syscall(funcPC(libc_chdir_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
79332 if e1 != 0 {
79333 err = errnoErr(e1)
79334 }
79335 return
79336 }
79337
79338+func libc_chdir_trampoline()
79339+
79340+//go:linkname libc_chdir libc_chdir
79341+//go:cgo_import_dynamic libc_chdir chdir "/usr/lib/libSystem.B.dylib"
79342+
79343 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79344
79345 func Chflags(path string, flags int) (err error) {
79346@@ -454,13 +854,18 @@ func Chflags(path string, flags int) (err error) {
79347 if err != nil {
79348 return
79349 }
79350- _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
79351+ _, _, e1 := syscall_syscall(funcPC(libc_chflags_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
79352 if e1 != 0 {
79353 err = errnoErr(e1)
79354 }
79355 return
79356 }
79357
79358+func libc_chflags_trampoline()
79359+
79360+//go:linkname libc_chflags libc_chflags
79361+//go:cgo_import_dynamic libc_chflags chflags "/usr/lib/libSystem.B.dylib"
79362+
79363 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79364
79365 func Chmod(path string, mode uint32) (err error) {
79366@@ -469,13 +874,18 @@ func Chmod(path string, mode uint32) (err error) {
79367 if err != nil {
79368 return
79369 }
79370- _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
79371+ _, _, e1 := syscall_syscall(funcPC(libc_chmod_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
79372 if e1 != 0 {
79373 err = errnoErr(e1)
79374 }
79375 return
79376 }
79377
79378+func libc_chmod_trampoline()
79379+
79380+//go:linkname libc_chmod libc_chmod
79381+//go:cgo_import_dynamic libc_chmod chmod "/usr/lib/libSystem.B.dylib"
79382+
79383 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79384
79385 func Chown(path string, uid int, gid int) (err error) {
79386@@ -484,13 +894,18 @@ func Chown(path string, uid int, gid int) (err error) {
79387 if err != nil {
79388 return
79389 }
79390- _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
79391+ _, _, e1 := syscall_syscall(funcPC(libc_chown_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
79392 if e1 != 0 {
79393 err = errnoErr(e1)
79394 }
79395 return
79396 }
79397
79398+func libc_chown_trampoline()
79399+
79400+//go:linkname libc_chown libc_chown
79401+//go:cgo_import_dynamic libc_chown chown "/usr/lib/libSystem.B.dylib"
79402+
79403 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79404
79405 func Chroot(path string) (err error) {
79406@@ -499,27 +914,52 @@ func Chroot(path string) (err error) {
79407 if err != nil {
79408 return
79409 }
79410- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
79411+ _, _, e1 := syscall_syscall(funcPC(libc_chroot_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
79412 if e1 != 0 {
79413 err = errnoErr(e1)
79414 }
79415 return
79416 }
79417
79418+func libc_chroot_trampoline()
79419+
79420+//go:linkname libc_chroot libc_chroot
79421+//go:cgo_import_dynamic libc_chroot chroot "/usr/lib/libSystem.B.dylib"
79422+
79423+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79424+
79425+func ClockGettime(clockid int32, time *Timespec) (err error) {
79426+ _, _, e1 := syscall_syscall(funcPC(libc_clock_gettime_trampoline), uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
79427+ if e1 != 0 {
79428+ err = errnoErr(e1)
79429+ }
79430+ return
79431+}
79432+
79433+func libc_clock_gettime_trampoline()
79434+
79435+//go:linkname libc_clock_gettime libc_clock_gettime
79436+//go:cgo_import_dynamic libc_clock_gettime clock_gettime "/usr/lib/libSystem.B.dylib"
79437+
79438 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79439
79440 func Close(fd int) (err error) {
79441- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
79442+ _, _, e1 := syscall_syscall(funcPC(libc_close_trampoline), uintptr(fd), 0, 0)
79443 if e1 != 0 {
79444 err = errnoErr(e1)
79445 }
79446 return
79447 }
79448
79449+func libc_close_trampoline()
79450+
79451+//go:linkname libc_close libc_close
79452+//go:cgo_import_dynamic libc_close close "/usr/lib/libSystem.B.dylib"
79453+
79454 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79455
79456 func Dup(fd int) (nfd int, err error) {
79457- r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
79458+ r0, _, e1 := syscall_syscall(funcPC(libc_dup_trampoline), uintptr(fd), 0, 0)
79459 nfd = int(r0)
79460 if e1 != 0 {
79461 err = errnoErr(e1)
79462@@ -527,16 +967,26 @@ func Dup(fd int) (nfd int, err error) {
79463 return
79464 }
79465
79466+func libc_dup_trampoline()
79467+
79468+//go:linkname libc_dup libc_dup
79469+//go:cgo_import_dynamic libc_dup dup "/usr/lib/libSystem.B.dylib"
79470+
79471 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79472
79473 func Dup2(from int, to int) (err error) {
79474- _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
79475+ _, _, e1 := syscall_syscall(funcPC(libc_dup2_trampoline), uintptr(from), uintptr(to), 0)
79476 if e1 != 0 {
79477 err = errnoErr(e1)
79478 }
79479 return
79480 }
79481
79482+func libc_dup2_trampoline()
79483+
79484+//go:linkname libc_dup2 libc_dup2
79485+//go:cgo_import_dynamic libc_dup2 dup2 "/usr/lib/libSystem.B.dylib"
79486+
79487 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79488
79489 func Exchangedata(path1 string, path2 string, options int) (err error) {
79490@@ -550,20 +1000,30 @@ func Exchangedata(path1 string, path2 string, options int) (err error) {
79491 if err != nil {
79492 return
79493 }
79494- _, _, e1 := Syscall(SYS_EXCHANGEDATA, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
79495+ _, _, e1 := syscall_syscall(funcPC(libc_exchangedata_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
79496 if e1 != 0 {
79497 err = errnoErr(e1)
79498 }
79499 return
79500 }
79501
79502+func libc_exchangedata_trampoline()
79503+
79504+//go:linkname libc_exchangedata libc_exchangedata
79505+//go:cgo_import_dynamic libc_exchangedata exchangedata "/usr/lib/libSystem.B.dylib"
79506+
79507 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79508
79509 func Exit(code int) {
79510- Syscall(SYS_EXIT, uintptr(code), 0, 0)
79511+ syscall_syscall(funcPC(libc_exit_trampoline), uintptr(code), 0, 0)
79512 return
79513 }
79514
79515+func libc_exit_trampoline()
79516+
79517+//go:linkname libc_exit libc_exit
79518+//go:cgo_import_dynamic libc_exit exit "/usr/lib/libSystem.B.dylib"
79519+
79520 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79521
79522 func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
79523@@ -572,43 +1032,63 @@ func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
79524 if err != nil {
79525 return
79526 }
79527- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
79528+ _, _, e1 := syscall_syscall6(funcPC(libc_faccessat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
79529 if e1 != 0 {
79530 err = errnoErr(e1)
79531 }
79532 return
79533 }
79534
79535+func libc_faccessat_trampoline()
79536+
79537+//go:linkname libc_faccessat libc_faccessat
79538+//go:cgo_import_dynamic libc_faccessat faccessat "/usr/lib/libSystem.B.dylib"
79539+
79540 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79541
79542 func Fchdir(fd int) (err error) {
79543- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
79544+ _, _, e1 := syscall_syscall(funcPC(libc_fchdir_trampoline), uintptr(fd), 0, 0)
79545 if e1 != 0 {
79546 err = errnoErr(e1)
79547 }
79548 return
79549 }
79550
79551+func libc_fchdir_trampoline()
79552+
79553+//go:linkname libc_fchdir libc_fchdir
79554+//go:cgo_import_dynamic libc_fchdir fchdir "/usr/lib/libSystem.B.dylib"
79555+
79556 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79557
79558 func Fchflags(fd int, flags int) (err error) {
79559- _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
79560+ _, _, e1 := syscall_syscall(funcPC(libc_fchflags_trampoline), uintptr(fd), uintptr(flags), 0)
79561 if e1 != 0 {
79562 err = errnoErr(e1)
79563 }
79564 return
79565 }
79566
79567+func libc_fchflags_trampoline()
79568+
79569+//go:linkname libc_fchflags libc_fchflags
79570+//go:cgo_import_dynamic libc_fchflags fchflags "/usr/lib/libSystem.B.dylib"
79571+
79572 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79573
79574 func Fchmod(fd int, mode uint32) (err error) {
79575- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
79576+ _, _, e1 := syscall_syscall(funcPC(libc_fchmod_trampoline), uintptr(fd), uintptr(mode), 0)
79577 if e1 != 0 {
79578 err = errnoErr(e1)
79579 }
79580 return
79581 }
79582
79583+func libc_fchmod_trampoline()
79584+
79585+//go:linkname libc_fchmod libc_fchmod
79586+//go:cgo_import_dynamic libc_fchmod fchmod "/usr/lib/libSystem.B.dylib"
79587+
79588 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79589
79590 func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
79591@@ -617,23 +1097,33 @@ func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
79592 if err != nil {
79593 return
79594 }
79595- _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
79596+ _, _, e1 := syscall_syscall6(funcPC(libc_fchmodat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
79597 if e1 != 0 {
79598 err = errnoErr(e1)
79599 }
79600 return
79601 }
79602
79603+func libc_fchmodat_trampoline()
79604+
79605+//go:linkname libc_fchmodat libc_fchmodat
79606+//go:cgo_import_dynamic libc_fchmodat fchmodat "/usr/lib/libSystem.B.dylib"
79607+
79608 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79609
79610 func Fchown(fd int, uid int, gid int) (err error) {
79611- _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
79612+ _, _, e1 := syscall_syscall(funcPC(libc_fchown_trampoline), uintptr(fd), uintptr(uid), uintptr(gid))
79613 if e1 != 0 {
79614 err = errnoErr(e1)
79615 }
79616 return
79617 }
79618
79619+func libc_fchown_trampoline()
79620+
79621+//go:linkname libc_fchown libc_fchown
79622+//go:cgo_import_dynamic libc_fchown fchown "/usr/lib/libSystem.B.dylib"
79623+
79624 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79625
79626 func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
79627@@ -642,27 +1132,37 @@ func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
79628 if err != nil {
79629 return
79630 }
79631- _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
79632+ _, _, e1 := syscall_syscall6(funcPC(libc_fchownat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
79633 if e1 != 0 {
79634 err = errnoErr(e1)
79635 }
79636 return
79637 }
79638
79639+func libc_fchownat_trampoline()
79640+
79641+//go:linkname libc_fchownat libc_fchownat
79642+//go:cgo_import_dynamic libc_fchownat fchownat "/usr/lib/libSystem.B.dylib"
79643+
79644 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79645
79646 func Flock(fd int, how int) (err error) {
79647- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
79648+ _, _, e1 := syscall_syscall(funcPC(libc_flock_trampoline), uintptr(fd), uintptr(how), 0)
79649 if e1 != 0 {
79650 err = errnoErr(e1)
79651 }
79652 return
79653 }
79654
79655+func libc_flock_trampoline()
79656+
79657+//go:linkname libc_flock libc_flock
79658+//go:cgo_import_dynamic libc_flock flock "/usr/lib/libSystem.B.dylib"
79659+
79660 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79661
79662 func Fpathconf(fd int, name int) (val int, err error) {
79663- r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
79664+ r0, _, e1 := syscall_syscall(funcPC(libc_fpathconf_trampoline), uintptr(fd), uintptr(name), 0)
79665 val = int(r0)
79666 if e1 != 0 {
79667 err = errnoErr(e1)
79668@@ -670,99 +1170,97 @@ func Fpathconf(fd int, name int) (val int, err error) {
79669 return
79670 }
79671
79672-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79673+func libc_fpathconf_trampoline()
79674
79675-func Fstat(fd int, stat *Stat_t) (err error) {
79676- _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
79677- if e1 != 0 {
79678- err = errnoErr(e1)
79679- }
79680- return
79681-}
79682+//go:linkname libc_fpathconf libc_fpathconf
79683+//go:cgo_import_dynamic libc_fpathconf fpathconf "/usr/lib/libSystem.B.dylib"
79684
79685 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79686
79687-func Fstatfs(fd int, stat *Statfs_t) (err error) {
79688- _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
79689+func Fsync(fd int) (err error) {
79690+ _, _, e1 := syscall_syscall(funcPC(libc_fsync_trampoline), uintptr(fd), 0, 0)
79691 if e1 != 0 {
79692 err = errnoErr(e1)
79693 }
79694 return
79695 }
79696
79697-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79698+func libc_fsync_trampoline()
79699
79700-func Fsync(fd int) (err error) {
79701- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
79702- if e1 != 0 {
79703- err = errnoErr(e1)
79704- }
79705- return
79706-}
79707+//go:linkname libc_fsync libc_fsync
79708+//go:cgo_import_dynamic libc_fsync fsync "/usr/lib/libSystem.B.dylib"
79709
79710 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79711
79712 func Ftruncate(fd int, length int64) (err error) {
79713- _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), uintptr(length>>32))
79714+ _, _, e1 := syscall_syscall(funcPC(libc_ftruncate_trampoline), uintptr(fd), uintptr(length), uintptr(length>>32))
79715 if e1 != 0 {
79716 err = errnoErr(e1)
79717 }
79718 return
79719 }
79720
79721-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79722-
79723-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
79724- var _p0 unsafe.Pointer
79725- if len(buf) > 0 {
79726- _p0 = unsafe.Pointer(&buf[0])
79727- } else {
79728- _p0 = unsafe.Pointer(&_zero)
79729- }
79730- r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
79731- n = int(r0)
79732- if e1 != 0 {
79733- err = errnoErr(e1)
79734- }
79735- return
79736-}
79737+func libc_ftruncate_trampoline()
79738+
79739+//go:linkname libc_ftruncate libc_ftruncate
79740+//go:cgo_import_dynamic libc_ftruncate ftruncate "/usr/lib/libSystem.B.dylib"
79741
79742 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79743
79744 func Getdtablesize() (size int) {
79745- r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
79746+ r0, _, _ := syscall_syscall(funcPC(libc_getdtablesize_trampoline), 0, 0, 0)
79747 size = int(r0)
79748 return
79749 }
79750
79751+func libc_getdtablesize_trampoline()
79752+
79753+//go:linkname libc_getdtablesize libc_getdtablesize
79754+//go:cgo_import_dynamic libc_getdtablesize getdtablesize "/usr/lib/libSystem.B.dylib"
79755+
79756 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79757
79758 func Getegid() (egid int) {
79759- r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
79760+ r0, _, _ := syscall_rawSyscall(funcPC(libc_getegid_trampoline), 0, 0, 0)
79761 egid = int(r0)
79762 return
79763 }
79764
79765+func libc_getegid_trampoline()
79766+
79767+//go:linkname libc_getegid libc_getegid
79768+//go:cgo_import_dynamic libc_getegid getegid "/usr/lib/libSystem.B.dylib"
79769+
79770 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79771
79772 func Geteuid() (uid int) {
79773- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
79774+ r0, _, _ := syscall_rawSyscall(funcPC(libc_geteuid_trampoline), 0, 0, 0)
79775 uid = int(r0)
79776 return
79777 }
79778
79779+func libc_geteuid_trampoline()
79780+
79781+//go:linkname libc_geteuid libc_geteuid
79782+//go:cgo_import_dynamic libc_geteuid geteuid "/usr/lib/libSystem.B.dylib"
79783+
79784 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79785
79786 func Getgid() (gid int) {
79787- r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
79788+ r0, _, _ := syscall_rawSyscall(funcPC(libc_getgid_trampoline), 0, 0, 0)
79789 gid = int(r0)
79790 return
79791 }
79792
79793+func libc_getgid_trampoline()
79794+
79795+//go:linkname libc_getgid libc_getgid
79796+//go:cgo_import_dynamic libc_getgid getgid "/usr/lib/libSystem.B.dylib"
79797+
79798 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79799
79800 func Getpgid(pid int) (pgid int, err error) {
79801- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
79802+ r0, _, e1 := syscall_rawSyscall(funcPC(libc_getpgid_trampoline), uintptr(pid), 0, 0)
79803 pgid = int(r0)
79804 if e1 != 0 {
79805 err = errnoErr(e1)
79806@@ -770,34 +1268,54 @@ func Getpgid(pid int) (pgid int, err error) {
79807 return
79808 }
79809
79810+func libc_getpgid_trampoline()
79811+
79812+//go:linkname libc_getpgid libc_getpgid
79813+//go:cgo_import_dynamic libc_getpgid getpgid "/usr/lib/libSystem.B.dylib"
79814+
79815 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79816
79817 func Getpgrp() (pgrp int) {
79818- r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
79819+ r0, _, _ := syscall_rawSyscall(funcPC(libc_getpgrp_trampoline), 0, 0, 0)
79820 pgrp = int(r0)
79821 return
79822 }
79823
79824+func libc_getpgrp_trampoline()
79825+
79826+//go:linkname libc_getpgrp libc_getpgrp
79827+//go:cgo_import_dynamic libc_getpgrp getpgrp "/usr/lib/libSystem.B.dylib"
79828+
79829 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79830
79831 func Getpid() (pid int) {
79832- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
79833+ r0, _, _ := syscall_rawSyscall(funcPC(libc_getpid_trampoline), 0, 0, 0)
79834 pid = int(r0)
79835 return
79836 }
79837
79838+func libc_getpid_trampoline()
79839+
79840+//go:linkname libc_getpid libc_getpid
79841+//go:cgo_import_dynamic libc_getpid getpid "/usr/lib/libSystem.B.dylib"
79842+
79843 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79844
79845 func Getppid() (ppid int) {
79846- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
79847+ r0, _, _ := syscall_rawSyscall(funcPC(libc_getppid_trampoline), 0, 0, 0)
79848 ppid = int(r0)
79849 return
79850 }
79851
79852+func libc_getppid_trampoline()
79853+
79854+//go:linkname libc_getppid libc_getppid
79855+//go:cgo_import_dynamic libc_getppid getppid "/usr/lib/libSystem.B.dylib"
79856+
79857 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79858
79859 func Getpriority(which int, who int) (prio int, err error) {
79860- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
79861+ r0, _, e1 := syscall_syscall(funcPC(libc_getpriority_trampoline), uintptr(which), uintptr(who), 0)
79862 prio = int(r0)
79863 if e1 != 0 {
79864 err = errnoErr(e1)
79865@@ -805,30 +1323,45 @@ func Getpriority(which int, who int) (prio int, err error) {
79866 return
79867 }
79868
79869+func libc_getpriority_trampoline()
79870+
79871+//go:linkname libc_getpriority libc_getpriority
79872+//go:cgo_import_dynamic libc_getpriority getpriority "/usr/lib/libSystem.B.dylib"
79873+
79874 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79875
79876 func Getrlimit(which int, lim *Rlimit) (err error) {
79877- _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
79878+ _, _, e1 := syscall_rawSyscall(funcPC(libc_getrlimit_trampoline), uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
79879 if e1 != 0 {
79880 err = errnoErr(e1)
79881 }
79882 return
79883 }
79884
79885+func libc_getrlimit_trampoline()
79886+
79887+//go:linkname libc_getrlimit libc_getrlimit
79888+//go:cgo_import_dynamic libc_getrlimit getrlimit "/usr/lib/libSystem.B.dylib"
79889+
79890 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79891
79892 func Getrusage(who int, rusage *Rusage) (err error) {
79893- _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
79894+ _, _, e1 := syscall_rawSyscall(funcPC(libc_getrusage_trampoline), uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
79895 if e1 != 0 {
79896 err = errnoErr(e1)
79897 }
79898 return
79899 }
79900
79901+func libc_getrusage_trampoline()
79902+
79903+//go:linkname libc_getrusage libc_getrusage
79904+//go:cgo_import_dynamic libc_getrusage getrusage "/usr/lib/libSystem.B.dylib"
79905+
79906 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79907
79908 func Getsid(pid int) (sid int, err error) {
79909- r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
79910+ r0, _, e1 := syscall_rawSyscall(funcPC(libc_getsid_trampoline), uintptr(pid), 0, 0)
79911 sid = int(r0)
79912 if e1 != 0 {
79913 err = errnoErr(e1)
79914@@ -836,26 +1369,41 @@ func Getsid(pid int) (sid int, err error) {
79915 return
79916 }
79917
79918+func libc_getsid_trampoline()
79919+
79920+//go:linkname libc_getsid libc_getsid
79921+//go:cgo_import_dynamic libc_getsid getsid "/usr/lib/libSystem.B.dylib"
79922+
79923 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79924
79925 func Getuid() (uid int) {
79926- r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
79927+ r0, _, _ := syscall_rawSyscall(funcPC(libc_getuid_trampoline), 0, 0, 0)
79928 uid = int(r0)
79929 return
79930 }
79931
79932+func libc_getuid_trampoline()
79933+
79934+//go:linkname libc_getuid libc_getuid
79935+//go:cgo_import_dynamic libc_getuid getuid "/usr/lib/libSystem.B.dylib"
79936+
79937 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79938
79939 func Issetugid() (tainted bool) {
79940- r0, _, _ := RawSyscall(SYS_ISSETUGID, 0, 0, 0)
79941+ r0, _, _ := syscall_rawSyscall(funcPC(libc_issetugid_trampoline), 0, 0, 0)
79942 tainted = bool(r0 != 0)
79943 return
79944 }
79945
79946+func libc_issetugid_trampoline()
79947+
79948+//go:linkname libc_issetugid libc_issetugid
79949+//go:cgo_import_dynamic libc_issetugid issetugid "/usr/lib/libSystem.B.dylib"
79950+
79951 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79952
79953 func Kqueue() (fd int, err error) {
79954- r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
79955+ r0, _, e1 := syscall_syscall(funcPC(libc_kqueue_trampoline), 0, 0, 0)
79956 fd = int(r0)
79957 if e1 != 0 {
79958 err = errnoErr(e1)
79959@@ -863,6 +1411,11 @@ func Kqueue() (fd int, err error) {
79960 return
79961 }
79962
79963+func libc_kqueue_trampoline()
79964+
79965+//go:linkname libc_kqueue libc_kqueue
79966+//go:cgo_import_dynamic libc_kqueue kqueue "/usr/lib/libSystem.B.dylib"
79967+
79968 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79969
79970 func Lchown(path string, uid int, gid int) (err error) {
79971@@ -871,13 +1424,18 @@ func Lchown(path string, uid int, gid int) (err error) {
79972 if err != nil {
79973 return
79974 }
79975- _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
79976+ _, _, e1 := syscall_syscall(funcPC(libc_lchown_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
79977 if e1 != 0 {
79978 err = errnoErr(e1)
79979 }
79980 return
79981 }
79982
79983+func libc_lchown_trampoline()
79984+
79985+//go:linkname libc_lchown libc_lchown
79986+//go:cgo_import_dynamic libc_lchown lchown "/usr/lib/libSystem.B.dylib"
79987+
79988 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
79989
79990 func Link(path string, link string) (err error) {
79991@@ -891,13 +1449,18 @@ func Link(path string, link string) (err error) {
79992 if err != nil {
79993 return
79994 }
79995- _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
79996+ _, _, e1 := syscall_syscall(funcPC(libc_link_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
79997 if e1 != 0 {
79998 err = errnoErr(e1)
79999 }
80000 return
80001 }
80002
80003+func libc_link_trampoline()
80004+
80005+//go:linkname libc_link libc_link
80006+//go:cgo_import_dynamic libc_link link "/usr/lib/libSystem.B.dylib"
80007+
80008 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80009
80010 func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error) {
80011@@ -911,37 +1474,32 @@ func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err er
80012 if err != nil {
80013 return
80014 }
80015- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
80016+ _, _, e1 := syscall_syscall6(funcPC(libc_linkat_trampoline), uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
80017 if e1 != 0 {
80018 err = errnoErr(e1)
80019 }
80020 return
80021 }
80022
80023+func libc_linkat_trampoline()
80024+
80025+//go:linkname libc_linkat libc_linkat
80026+//go:cgo_import_dynamic libc_linkat linkat "/usr/lib/libSystem.B.dylib"
80027+
80028 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80029
80030 func Listen(s int, backlog int) (err error) {
80031- _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
80032+ _, _, e1 := syscall_syscall(funcPC(libc_listen_trampoline), uintptr(s), uintptr(backlog), 0)
80033 if e1 != 0 {
80034 err = errnoErr(e1)
80035 }
80036 return
80037 }
80038
80039-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80040+func libc_listen_trampoline()
80041
80042-func Lstat(path string, stat *Stat_t) (err error) {
80043- var _p0 *byte
80044- _p0, err = BytePtrFromString(path)
80045- if err != nil {
80046- return
80047- }
80048- _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
80049- if e1 != 0 {
80050- err = errnoErr(e1)
80051- }
80052- return
80053-}
80054+//go:linkname libc_listen libc_listen
80055+//go:cgo_import_dynamic libc_listen listen "/usr/lib/libSystem.B.dylib"
80056
80057 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80058
80059@@ -951,13 +1509,18 @@ func Mkdir(path string, mode uint32) (err error) {
80060 if err != nil {
80061 return
80062 }
80063- _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
80064+ _, _, e1 := syscall_syscall(funcPC(libc_mkdir_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
80065 if e1 != 0 {
80066 err = errnoErr(e1)
80067 }
80068 return
80069 }
80070
80071+func libc_mkdir_trampoline()
80072+
80073+//go:linkname libc_mkdir libc_mkdir
80074+//go:cgo_import_dynamic libc_mkdir mkdir "/usr/lib/libSystem.B.dylib"
80075+
80076 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80077
80078 func Mkdirat(dirfd int, path string, mode uint32) (err error) {
80079@@ -966,13 +1529,18 @@ func Mkdirat(dirfd int, path string, mode uint32) (err error) {
80080 if err != nil {
80081 return
80082 }
80083- _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
80084+ _, _, e1 := syscall_syscall(funcPC(libc_mkdirat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
80085 if e1 != 0 {
80086 err = errnoErr(e1)
80087 }
80088 return
80089 }
80090
80091+func libc_mkdirat_trampoline()
80092+
80093+//go:linkname libc_mkdirat libc_mkdirat
80094+//go:cgo_import_dynamic libc_mkdirat mkdirat "/usr/lib/libSystem.B.dylib"
80095+
80096 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80097
80098 func Mkfifo(path string, mode uint32) (err error) {
80099@@ -981,13 +1549,18 @@ func Mkfifo(path string, mode uint32) (err error) {
80100 if err != nil {
80101 return
80102 }
80103- _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
80104+ _, _, e1 := syscall_syscall(funcPC(libc_mkfifo_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
80105 if e1 != 0 {
80106 err = errnoErr(e1)
80107 }
80108 return
80109 }
80110
80111+func libc_mkfifo_trampoline()
80112+
80113+//go:linkname libc_mkfifo libc_mkfifo
80114+//go:cgo_import_dynamic libc_mkfifo mkfifo "/usr/lib/libSystem.B.dylib"
80115+
80116 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80117
80118 func Mknod(path string, mode uint32, dev int) (err error) {
80119@@ -996,13 +1569,18 @@ func Mknod(path string, mode uint32, dev int) (err error) {
80120 if err != nil {
80121 return
80122 }
80123- _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
80124+ _, _, e1 := syscall_syscall(funcPC(libc_mknod_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
80125 if e1 != 0 {
80126 err = errnoErr(e1)
80127 }
80128 return
80129 }
80130
80131+func libc_mknod_trampoline()
80132+
80133+//go:linkname libc_mknod libc_mknod
80134+//go:cgo_import_dynamic libc_mknod mknod "/usr/lib/libSystem.B.dylib"
80135+
80136 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80137
80138 func Open(path string, mode int, perm uint32) (fd int, err error) {
80139@@ -1011,7 +1589,7 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
80140 if err != nil {
80141 return
80142 }
80143- r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
80144+ r0, _, e1 := syscall_syscall(funcPC(libc_open_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
80145 fd = int(r0)
80146 if e1 != 0 {
80147 err = errnoErr(e1)
80148@@ -1019,6 +1597,11 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
80149 return
80150 }
80151
80152+func libc_open_trampoline()
80153+
80154+//go:linkname libc_open libc_open
80155+//go:cgo_import_dynamic libc_open open "/usr/lib/libSystem.B.dylib"
80156+
80157 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80158
80159 func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
80160@@ -1027,7 +1610,7 @@ func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
80161 if err != nil {
80162 return
80163 }
80164- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
80165+ r0, _, e1 := syscall_syscall6(funcPC(libc_openat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
80166 fd = int(r0)
80167 if e1 != 0 {
80168 err = errnoErr(e1)
80169@@ -1035,6 +1618,11 @@ func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
80170 return
80171 }
80172
80173+func libc_openat_trampoline()
80174+
80175+//go:linkname libc_openat libc_openat
80176+//go:cgo_import_dynamic libc_openat openat "/usr/lib/libSystem.B.dylib"
80177+
80178 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80179
80180 func Pathconf(path string, name int) (val int, err error) {
80181@@ -1043,7 +1631,7 @@ func Pathconf(path string, name int) (val int, err error) {
80182 if err != nil {
80183 return
80184 }
80185- r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
80186+ r0, _, e1 := syscall_syscall(funcPC(libc_pathconf_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
80187 val = int(r0)
80188 if e1 != 0 {
80189 err = errnoErr(e1)
80190@@ -1051,6 +1639,11 @@ func Pathconf(path string, name int) (val int, err error) {
80191 return
80192 }
80193
80194+func libc_pathconf_trampoline()
80195+
80196+//go:linkname libc_pathconf libc_pathconf
80197+//go:cgo_import_dynamic libc_pathconf pathconf "/usr/lib/libSystem.B.dylib"
80198+
80199 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80200
80201 func Pread(fd int, p []byte, offset int64) (n int, err error) {
80202@@ -1060,7 +1653,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
80203 } else {
80204 _p0 = unsafe.Pointer(&_zero)
80205 }
80206- r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
80207+ r0, _, e1 := syscall_syscall6(funcPC(libc_pread_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
80208 n = int(r0)
80209 if e1 != 0 {
80210 err = errnoErr(e1)
80211@@ -1068,6 +1661,11 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
80212 return
80213 }
80214
80215+func libc_pread_trampoline()
80216+
80217+//go:linkname libc_pread libc_pread
80218+//go:cgo_import_dynamic libc_pread pread "/usr/lib/libSystem.B.dylib"
80219+
80220 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80221
80222 func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
80223@@ -1077,7 +1675,7 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
80224 } else {
80225 _p0 = unsafe.Pointer(&_zero)
80226 }
80227- r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
80228+ r0, _, e1 := syscall_syscall6(funcPC(libc_pwrite_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
80229 n = int(r0)
80230 if e1 != 0 {
80231 err = errnoErr(e1)
80232@@ -1085,6 +1683,11 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
80233 return
80234 }
80235
80236+func libc_pwrite_trampoline()
80237+
80238+//go:linkname libc_pwrite libc_pwrite
80239+//go:cgo_import_dynamic libc_pwrite pwrite "/usr/lib/libSystem.B.dylib"
80240+
80241 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80242
80243 func read(fd int, p []byte) (n int, err error) {
80244@@ -1094,7 +1697,7 @@ func read(fd int, p []byte) (n int, err error) {
80245 } else {
80246 _p0 = unsafe.Pointer(&_zero)
80247 }
80248- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
80249+ r0, _, e1 := syscall_syscall(funcPC(libc_read_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)))
80250 n = int(r0)
80251 if e1 != 0 {
80252 err = errnoErr(e1)
80253@@ -1102,6 +1705,11 @@ func read(fd int, p []byte) (n int, err error) {
80254 return
80255 }
80256
80257+func libc_read_trampoline()
80258+
80259+//go:linkname libc_read libc_read
80260+//go:cgo_import_dynamic libc_read read "/usr/lib/libSystem.B.dylib"
80261+
80262 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80263
80264 func Readlink(path string, buf []byte) (n int, err error) {
80265@@ -1116,7 +1724,7 @@ func Readlink(path string, buf []byte) (n int, err error) {
80266 } else {
80267 _p1 = unsafe.Pointer(&_zero)
80268 }
80269- r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
80270+ r0, _, e1 := syscall_syscall(funcPC(libc_readlink_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
80271 n = int(r0)
80272 if e1 != 0 {
80273 err = errnoErr(e1)
80274@@ -1124,6 +1732,11 @@ func Readlink(path string, buf []byte) (n int, err error) {
80275 return
80276 }
80277
80278+func libc_readlink_trampoline()
80279+
80280+//go:linkname libc_readlink libc_readlink
80281+//go:cgo_import_dynamic libc_readlink readlink "/usr/lib/libSystem.B.dylib"
80282+
80283 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80284
80285 func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
80286@@ -1138,7 +1751,7 @@ func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
80287 } else {
80288 _p1 = unsafe.Pointer(&_zero)
80289 }
80290- r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
80291+ r0, _, e1 := syscall_syscall6(funcPC(libc_readlinkat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
80292 n = int(r0)
80293 if e1 != 0 {
80294 err = errnoErr(e1)
80295@@ -1146,6 +1759,11 @@ func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
80296 return
80297 }
80298
80299+func libc_readlinkat_trampoline()
80300+
80301+//go:linkname libc_readlinkat libc_readlinkat
80302+//go:cgo_import_dynamic libc_readlinkat readlinkat "/usr/lib/libSystem.B.dylib"
80303+
80304 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80305
80306 func Rename(from string, to string) (err error) {
80307@@ -1159,13 +1777,18 @@ func Rename(from string, to string) (err error) {
80308 if err != nil {
80309 return
80310 }
80311- _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
80312+ _, _, e1 := syscall_syscall(funcPC(libc_rename_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
80313 if e1 != 0 {
80314 err = errnoErr(e1)
80315 }
80316 return
80317 }
80318
80319+func libc_rename_trampoline()
80320+
80321+//go:linkname libc_rename libc_rename
80322+//go:cgo_import_dynamic libc_rename rename "/usr/lib/libSystem.B.dylib"
80323+
80324 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80325
80326 func Renameat(fromfd int, from string, tofd int, to string) (err error) {
80327@@ -1179,13 +1802,18 @@ func Renameat(fromfd int, from string, tofd int, to string) (err error) {
80328 if err != nil {
80329 return
80330 }
80331- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0)
80332+ _, _, e1 := syscall_syscall6(funcPC(libc_renameat_trampoline), uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0)
80333 if e1 != 0 {
80334 err = errnoErr(e1)
80335 }
80336 return
80337 }
80338
80339+func libc_renameat_trampoline()
80340+
80341+//go:linkname libc_renameat libc_renameat
80342+//go:cgo_import_dynamic libc_renameat renameat "/usr/lib/libSystem.B.dylib"
80343+
80344 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80345
80346 func Revoke(path string) (err error) {
80347@@ -1194,13 +1822,18 @@ func Revoke(path string) (err error) {
80348 if err != nil {
80349 return
80350 }
80351- _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
80352+ _, _, e1 := syscall_syscall(funcPC(libc_revoke_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
80353 if e1 != 0 {
80354 err = errnoErr(e1)
80355 }
80356 return
80357 }
80358
80359+func libc_revoke_trampoline()
80360+
80361+//go:linkname libc_revoke libc_revoke
80362+//go:cgo_import_dynamic libc_revoke revoke "/usr/lib/libSystem.B.dylib"
80363+
80364 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80365
80366 func Rmdir(path string) (err error) {
80367@@ -1209,17 +1842,22 @@ func Rmdir(path string) (err error) {
80368 if err != nil {
80369 return
80370 }
80371- _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
80372+ _, _, e1 := syscall_syscall(funcPC(libc_rmdir_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
80373 if e1 != 0 {
80374 err = errnoErr(e1)
80375 }
80376 return
80377 }
80378
80379+func libc_rmdir_trampoline()
80380+
80381+//go:linkname libc_rmdir libc_rmdir
80382+//go:cgo_import_dynamic libc_rmdir rmdir "/usr/lib/libSystem.B.dylib"
80383+
80384 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80385
80386 func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
80387- r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(whence), 0, 0)
80388+ r0, r1, e1 := syscall_syscall6(funcPC(libc_lseek_trampoline), uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(whence), 0, 0)
80389 newoffset = int64(int64(r1)<<32 | int64(r0))
80390 if e1 != 0 {
80391 err = errnoErr(e1)
80392@@ -1227,46 +1865,72 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
80393 return
80394 }
80395
80396+func libc_lseek_trampoline()
80397+
80398+//go:linkname libc_lseek libc_lseek
80399+//go:cgo_import_dynamic libc_lseek lseek "/usr/lib/libSystem.B.dylib"
80400+
80401 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80402
80403-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
80404- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
80405+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
80406+ r0, _, e1 := syscall_syscall6(funcPC(libc_select_trampoline), uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
80407+ n = int(r0)
80408 if e1 != 0 {
80409 err = errnoErr(e1)
80410 }
80411 return
80412 }
80413
80414+func libc_select_trampoline()
80415+
80416+//go:linkname libc_select libc_select
80417+//go:cgo_import_dynamic libc_select select "/usr/lib/libSystem.B.dylib"
80418+
80419 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80420
80421 func Setegid(egid int) (err error) {
80422- _, _, e1 := Syscall(SYS_SETEGID, uintptr(egid), 0, 0)
80423+ _, _, e1 := syscall_syscall(funcPC(libc_setegid_trampoline), uintptr(egid), 0, 0)
80424 if e1 != 0 {
80425 err = errnoErr(e1)
80426 }
80427 return
80428 }
80429
80430+func libc_setegid_trampoline()
80431+
80432+//go:linkname libc_setegid libc_setegid
80433+//go:cgo_import_dynamic libc_setegid setegid "/usr/lib/libSystem.B.dylib"
80434+
80435 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80436
80437 func Seteuid(euid int) (err error) {
80438- _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
80439+ _, _, e1 := syscall_rawSyscall(funcPC(libc_seteuid_trampoline), uintptr(euid), 0, 0)
80440 if e1 != 0 {
80441 err = errnoErr(e1)
80442 }
80443 return
80444 }
80445
80446+func libc_seteuid_trampoline()
80447+
80448+//go:linkname libc_seteuid libc_seteuid
80449+//go:cgo_import_dynamic libc_seteuid seteuid "/usr/lib/libSystem.B.dylib"
80450+
80451 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80452
80453 func Setgid(gid int) (err error) {
80454- _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
80455+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setgid_trampoline), uintptr(gid), 0, 0)
80456 if e1 != 0 {
80457 err = errnoErr(e1)
80458 }
80459 return
80460 }
80461
80462+func libc_setgid_trampoline()
80463+
80464+//go:linkname libc_setgid libc_setgid
80465+//go:cgo_import_dynamic libc_setgid setgid "/usr/lib/libSystem.B.dylib"
80466+
80467 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80468
80469 func Setlogin(name string) (err error) {
80470@@ -1275,77 +1939,112 @@ func Setlogin(name string) (err error) {
80471 if err != nil {
80472 return
80473 }
80474- _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
80475+ _, _, e1 := syscall_syscall(funcPC(libc_setlogin_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
80476 if e1 != 0 {
80477 err = errnoErr(e1)
80478 }
80479 return
80480 }
80481
80482+func libc_setlogin_trampoline()
80483+
80484+//go:linkname libc_setlogin libc_setlogin
80485+//go:cgo_import_dynamic libc_setlogin setlogin "/usr/lib/libSystem.B.dylib"
80486+
80487 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80488
80489 func Setpgid(pid int, pgid int) (err error) {
80490- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
80491+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setpgid_trampoline), uintptr(pid), uintptr(pgid), 0)
80492 if e1 != 0 {
80493 err = errnoErr(e1)
80494 }
80495 return
80496 }
80497
80498+func libc_setpgid_trampoline()
80499+
80500+//go:linkname libc_setpgid libc_setpgid
80501+//go:cgo_import_dynamic libc_setpgid setpgid "/usr/lib/libSystem.B.dylib"
80502+
80503 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80504
80505 func Setpriority(which int, who int, prio int) (err error) {
80506- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
80507+ _, _, e1 := syscall_syscall(funcPC(libc_setpriority_trampoline), uintptr(which), uintptr(who), uintptr(prio))
80508 if e1 != 0 {
80509 err = errnoErr(e1)
80510 }
80511 return
80512 }
80513
80514+func libc_setpriority_trampoline()
80515+
80516+//go:linkname libc_setpriority libc_setpriority
80517+//go:cgo_import_dynamic libc_setpriority setpriority "/usr/lib/libSystem.B.dylib"
80518+
80519 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80520
80521 func Setprivexec(flag int) (err error) {
80522- _, _, e1 := Syscall(SYS_SETPRIVEXEC, uintptr(flag), 0, 0)
80523+ _, _, e1 := syscall_syscall(funcPC(libc_setprivexec_trampoline), uintptr(flag), 0, 0)
80524 if e1 != 0 {
80525 err = errnoErr(e1)
80526 }
80527 return
80528 }
80529
80530+func libc_setprivexec_trampoline()
80531+
80532+//go:linkname libc_setprivexec libc_setprivexec
80533+//go:cgo_import_dynamic libc_setprivexec setprivexec "/usr/lib/libSystem.B.dylib"
80534+
80535 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80536
80537 func Setregid(rgid int, egid int) (err error) {
80538- _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
80539+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setregid_trampoline), uintptr(rgid), uintptr(egid), 0)
80540 if e1 != 0 {
80541 err = errnoErr(e1)
80542 }
80543 return
80544 }
80545
80546+func libc_setregid_trampoline()
80547+
80548+//go:linkname libc_setregid libc_setregid
80549+//go:cgo_import_dynamic libc_setregid setregid "/usr/lib/libSystem.B.dylib"
80550+
80551 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80552
80553 func Setreuid(ruid int, euid int) (err error) {
80554- _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
80555+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setreuid_trampoline), uintptr(ruid), uintptr(euid), 0)
80556 if e1 != 0 {
80557 err = errnoErr(e1)
80558 }
80559 return
80560 }
80561
80562+func libc_setreuid_trampoline()
80563+
80564+//go:linkname libc_setreuid libc_setreuid
80565+//go:cgo_import_dynamic libc_setreuid setreuid "/usr/lib/libSystem.B.dylib"
80566+
80567 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80568
80569 func Setrlimit(which int, lim *Rlimit) (err error) {
80570- _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
80571+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setrlimit_trampoline), uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
80572 if e1 != 0 {
80573 err = errnoErr(e1)
80574 }
80575 return
80576 }
80577
80578+func libc_setrlimit_trampoline()
80579+
80580+//go:linkname libc_setrlimit libc_setrlimit
80581+//go:cgo_import_dynamic libc_setrlimit setrlimit "/usr/lib/libSystem.B.dylib"
80582+
80583 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80584
80585 func Setsid() (pid int, err error) {
80586- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
80587+ r0, _, e1 := syscall_rawSyscall(funcPC(libc_setsid_trampoline), 0, 0, 0)
80588 pid = int(r0)
80589 if e1 != 0 {
80590 err = errnoErr(e1)
80591@@ -1353,55 +2052,40 @@ func Setsid() (pid int, err error) {
80592 return
80593 }
80594
80595+func libc_setsid_trampoline()
80596+
80597+//go:linkname libc_setsid libc_setsid
80598+//go:cgo_import_dynamic libc_setsid setsid "/usr/lib/libSystem.B.dylib"
80599+
80600 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80601
80602 func Settimeofday(tp *Timeval) (err error) {
80603- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
80604+ _, _, e1 := syscall_rawSyscall(funcPC(libc_settimeofday_trampoline), uintptr(unsafe.Pointer(tp)), 0, 0)
80605 if e1 != 0 {
80606 err = errnoErr(e1)
80607 }
80608 return
80609 }
80610
80611-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80612+func libc_settimeofday_trampoline()
80613
80614-func Setuid(uid int) (err error) {
80615- _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
80616- if e1 != 0 {
80617- err = errnoErr(e1)
80618- }
80619- return
80620-}
80621+//go:linkname libc_settimeofday libc_settimeofday
80622+//go:cgo_import_dynamic libc_settimeofday settimeofday "/usr/lib/libSystem.B.dylib"
80623
80624 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80625
80626-func Stat(path string, stat *Stat_t) (err error) {
80627- var _p0 *byte
80628- _p0, err = BytePtrFromString(path)
80629- if err != nil {
80630- return
80631- }
80632- _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
80633+func Setuid(uid int) (err error) {
80634+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setuid_trampoline), uintptr(uid), 0, 0)
80635 if e1 != 0 {
80636 err = errnoErr(e1)
80637 }
80638 return
80639 }
80640
80641-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80642+func libc_setuid_trampoline()
80643
80644-func Statfs(path string, stat *Statfs_t) (err error) {
80645- var _p0 *byte
80646- _p0, err = BytePtrFromString(path)
80647- if err != nil {
80648- return
80649- }
80650- _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
80651- if e1 != 0 {
80652- err = errnoErr(e1)
80653- }
80654- return
80655-}
80656+//go:linkname libc_setuid libc_setuid
80657+//go:cgo_import_dynamic libc_setuid setuid "/usr/lib/libSystem.B.dylib"
80658
80659 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80660
80661@@ -1416,13 +2100,18 @@ func Symlink(path string, link string) (err error) {
80662 if err != nil {
80663 return
80664 }
80665- _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
80666+ _, _, e1 := syscall_syscall(funcPC(libc_symlink_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
80667 if e1 != 0 {
80668 err = errnoErr(e1)
80669 }
80670 return
80671 }
80672
80673+func libc_symlink_trampoline()
80674+
80675+//go:linkname libc_symlink libc_symlink
80676+//go:cgo_import_dynamic libc_symlink symlink "/usr/lib/libSystem.B.dylib"
80677+
80678 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80679
80680 func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
80681@@ -1436,23 +2125,33 @@ func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
80682 if err != nil {
80683 return
80684 }
80685- _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
80686+ _, _, e1 := syscall_syscall(funcPC(libc_symlinkat_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
80687 if e1 != 0 {
80688 err = errnoErr(e1)
80689 }
80690 return
80691 }
80692
80693+func libc_symlinkat_trampoline()
80694+
80695+//go:linkname libc_symlinkat libc_symlinkat
80696+//go:cgo_import_dynamic libc_symlinkat symlinkat "/usr/lib/libSystem.B.dylib"
80697+
80698 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80699
80700 func Sync() (err error) {
80701- _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
80702+ _, _, e1 := syscall_syscall(funcPC(libc_sync_trampoline), 0, 0, 0)
80703 if e1 != 0 {
80704 err = errnoErr(e1)
80705 }
80706 return
80707 }
80708
80709+func libc_sync_trampoline()
80710+
80711+//go:linkname libc_sync libc_sync
80712+//go:cgo_import_dynamic libc_sync sync "/usr/lib/libSystem.B.dylib"
80713+
80714 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80715
80716 func Truncate(path string, length int64) (err error) {
80717@@ -1461,21 +2160,31 @@ func Truncate(path string, length int64) (err error) {
80718 if err != nil {
80719 return
80720 }
80721- _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), uintptr(length>>32))
80722+ _, _, e1 := syscall_syscall(funcPC(libc_truncate_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(length), uintptr(length>>32))
80723 if e1 != 0 {
80724 err = errnoErr(e1)
80725 }
80726 return
80727 }
80728
80729+func libc_truncate_trampoline()
80730+
80731+//go:linkname libc_truncate libc_truncate
80732+//go:cgo_import_dynamic libc_truncate truncate "/usr/lib/libSystem.B.dylib"
80733+
80734 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80735
80736 func Umask(newmask int) (oldmask int) {
80737- r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
80738+ r0, _, _ := syscall_syscall(funcPC(libc_umask_trampoline), uintptr(newmask), 0, 0)
80739 oldmask = int(r0)
80740 return
80741 }
80742
80743+func libc_umask_trampoline()
80744+
80745+//go:linkname libc_umask libc_umask
80746+//go:cgo_import_dynamic libc_umask umask "/usr/lib/libSystem.B.dylib"
80747+
80748 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80749
80750 func Undelete(path string) (err error) {
80751@@ -1484,13 +2193,18 @@ func Undelete(path string) (err error) {
80752 if err != nil {
80753 return
80754 }
80755- _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
80756+ _, _, e1 := syscall_syscall(funcPC(libc_undelete_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
80757 if e1 != 0 {
80758 err = errnoErr(e1)
80759 }
80760 return
80761 }
80762
80763+func libc_undelete_trampoline()
80764+
80765+//go:linkname libc_undelete libc_undelete
80766+//go:cgo_import_dynamic libc_undelete undelete "/usr/lib/libSystem.B.dylib"
80767+
80768 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80769
80770 func Unlink(path string) (err error) {
80771@@ -1499,13 +2213,18 @@ func Unlink(path string) (err error) {
80772 if err != nil {
80773 return
80774 }
80775- _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
80776+ _, _, e1 := syscall_syscall(funcPC(libc_unlink_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
80777 if e1 != 0 {
80778 err = errnoErr(e1)
80779 }
80780 return
80781 }
80782
80783+func libc_unlink_trampoline()
80784+
80785+//go:linkname libc_unlink libc_unlink
80786+//go:cgo_import_dynamic libc_unlink unlink "/usr/lib/libSystem.B.dylib"
80787+
80788 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80789
80790 func Unlinkat(dirfd int, path string, flags int) (err error) {
80791@@ -1514,13 +2233,18 @@ func Unlinkat(dirfd int, path string, flags int) (err error) {
80792 if err != nil {
80793 return
80794 }
80795- _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
80796+ _, _, e1 := syscall_syscall(funcPC(libc_unlinkat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
80797 if e1 != 0 {
80798 err = errnoErr(e1)
80799 }
80800 return
80801 }
80802
80803+func libc_unlinkat_trampoline()
80804+
80805+//go:linkname libc_unlinkat libc_unlinkat
80806+//go:cgo_import_dynamic libc_unlinkat unlinkat "/usr/lib/libSystem.B.dylib"
80807+
80808 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80809
80810 func Unmount(path string, flags int) (err error) {
80811@@ -1529,13 +2253,18 @@ func Unmount(path string, flags int) (err error) {
80812 if err != nil {
80813 return
80814 }
80815- _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
80816+ _, _, e1 := syscall_syscall(funcPC(libc_unmount_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
80817 if e1 != 0 {
80818 err = errnoErr(e1)
80819 }
80820 return
80821 }
80822
80823+func libc_unmount_trampoline()
80824+
80825+//go:linkname libc_unmount libc_unmount
80826+//go:cgo_import_dynamic libc_unmount unmount "/usr/lib/libSystem.B.dylib"
80827+
80828 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80829
80830 func write(fd int, p []byte) (n int, err error) {
80831@@ -1545,7 +2274,7 @@ func write(fd int, p []byte) (n int, err error) {
80832 } else {
80833 _p0 = unsafe.Pointer(&_zero)
80834 }
80835- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
80836+ r0, _, e1 := syscall_syscall(funcPC(libc_write_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)))
80837 n = int(r0)
80838 if e1 != 0 {
80839 err = errnoErr(e1)
80840@@ -1553,10 +2282,15 @@ func write(fd int, p []byte) (n int, err error) {
80841 return
80842 }
80843
80844+func libc_write_trampoline()
80845+
80846+//go:linkname libc_write libc_write
80847+//go:cgo_import_dynamic libc_write write "/usr/lib/libSystem.B.dylib"
80848+
80849 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80850
80851 func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
80852- r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos), uintptr(pos>>32), 0, 0)
80853+ r0, _, e1 := syscall_syscall9(funcPC(libc_mmap_trampoline), uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos), uintptr(pos>>32), 0, 0)
80854 ret = uintptr(r0)
80855 if e1 != 0 {
80856 err = errnoErr(e1)
80857@@ -1564,20 +2298,30 @@ func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (
80858 return
80859 }
80860
80861+func libc_mmap_trampoline()
80862+
80863+//go:linkname libc_mmap libc_mmap
80864+//go:cgo_import_dynamic libc_mmap mmap "/usr/lib/libSystem.B.dylib"
80865+
80866 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80867
80868 func munmap(addr uintptr, length uintptr) (err error) {
80869- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
80870+ _, _, e1 := syscall_syscall(funcPC(libc_munmap_trampoline), uintptr(addr), uintptr(length), 0)
80871 if e1 != 0 {
80872 err = errnoErr(e1)
80873 }
80874 return
80875 }
80876
80877+func libc_munmap_trampoline()
80878+
80879+//go:linkname libc_munmap libc_munmap
80880+//go:cgo_import_dynamic libc_munmap munmap "/usr/lib/libSystem.B.dylib"
80881+
80882 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80883
80884 func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
80885- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
80886+ r0, _, e1 := syscall_syscall(funcPC(libc_read_trampoline), uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
80887 n = int(r0)
80888 if e1 != 0 {
80889 err = errnoErr(e1)
80890@@ -1588,7 +2332,7 @@ func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
80891 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80892
80893 func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
80894- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
80895+ r0, _, e1 := syscall_syscall(funcPC(libc_write_trampoline), uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
80896 n = int(r0)
80897 if e1 != 0 {
80898 err = errnoErr(e1)
80899@@ -1599,7 +2343,7 @@ func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
80900 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80901
80902 func gettimeofday(tp *Timeval) (sec int32, usec int32, err error) {
80903- r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
80904+ r0, r1, e1 := syscall_rawSyscall(funcPC(libc_gettimeofday_trampoline), uintptr(unsafe.Pointer(tp)), 0, 0)
80905 sec = int32(r0)
80906 usec = int32(r1)
80907 if e1 != 0 {
80908@@ -1607,3 +2351,134 @@ func gettimeofday(tp *Timeval) (sec int32, usec int32, err error) {
80909 }
80910 return
80911 }
80912+
80913+func libc_gettimeofday_trampoline()
80914+
80915+//go:linkname libc_gettimeofday libc_gettimeofday
80916+//go:cgo_import_dynamic libc_gettimeofday gettimeofday "/usr/lib/libSystem.B.dylib"
80917+
80918+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80919+
80920+func Fstat(fd int, stat *Stat_t) (err error) {
80921+ _, _, e1 := syscall_syscall(funcPC(libc_fstat_trampoline), uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
80922+ if e1 != 0 {
80923+ err = errnoErr(e1)
80924+ }
80925+ return
80926+}
80927+
80928+func libc_fstat_trampoline()
80929+
80930+//go:linkname libc_fstat libc_fstat
80931+//go:cgo_import_dynamic libc_fstat fstat "/usr/lib/libSystem.B.dylib"
80932+
80933+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80934+
80935+func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
80936+ var _p0 *byte
80937+ _p0, err = BytePtrFromString(path)
80938+ if err != nil {
80939+ return
80940+ }
80941+ _, _, e1 := syscall_syscall6(funcPC(libc_fstatat_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
80942+ if e1 != 0 {
80943+ err = errnoErr(e1)
80944+ }
80945+ return
80946+}
80947+
80948+func libc_fstatat_trampoline()
80949+
80950+//go:linkname libc_fstatat libc_fstatat
80951+//go:cgo_import_dynamic libc_fstatat fstatat "/usr/lib/libSystem.B.dylib"
80952+
80953+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80954+
80955+func Fstatfs(fd int, stat *Statfs_t) (err error) {
80956+ _, _, e1 := syscall_syscall(funcPC(libc_fstatfs_trampoline), uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
80957+ if e1 != 0 {
80958+ err = errnoErr(e1)
80959+ }
80960+ return
80961+}
80962+
80963+func libc_fstatfs_trampoline()
80964+
80965+//go:linkname libc_fstatfs libc_fstatfs
80966+//go:cgo_import_dynamic libc_fstatfs fstatfs "/usr/lib/libSystem.B.dylib"
80967+
80968+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80969+
80970+func getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) {
80971+ r0, _, e1 := syscall_syscall(funcPC(libc_getfsstat_trampoline), uintptr(buf), uintptr(size), uintptr(flags))
80972+ n = int(r0)
80973+ if e1 != 0 {
80974+ err = errnoErr(e1)
80975+ }
80976+ return
80977+}
80978+
80979+func libc_getfsstat_trampoline()
80980+
80981+//go:linkname libc_getfsstat libc_getfsstat
80982+//go:cgo_import_dynamic libc_getfsstat getfsstat "/usr/lib/libSystem.B.dylib"
80983+
80984+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
80985+
80986+func Lstat(path string, stat *Stat_t) (err error) {
80987+ var _p0 *byte
80988+ _p0, err = BytePtrFromString(path)
80989+ if err != nil {
80990+ return
80991+ }
80992+ _, _, e1 := syscall_syscall(funcPC(libc_lstat_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
80993+ if e1 != 0 {
80994+ err = errnoErr(e1)
80995+ }
80996+ return
80997+}
80998+
80999+func libc_lstat_trampoline()
81000+
81001+//go:linkname libc_lstat libc_lstat
81002+//go:cgo_import_dynamic libc_lstat lstat "/usr/lib/libSystem.B.dylib"
81003+
81004+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81005+
81006+func Stat(path string, stat *Stat_t) (err error) {
81007+ var _p0 *byte
81008+ _p0, err = BytePtrFromString(path)
81009+ if err != nil {
81010+ return
81011+ }
81012+ _, _, e1 := syscall_syscall(funcPC(libc_stat_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
81013+ if e1 != 0 {
81014+ err = errnoErr(e1)
81015+ }
81016+ return
81017+}
81018+
81019+func libc_stat_trampoline()
81020+
81021+//go:linkname libc_stat libc_stat
81022+//go:cgo_import_dynamic libc_stat stat "/usr/lib/libSystem.B.dylib"
81023+
81024+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81025+
81026+func Statfs(path string, stat *Statfs_t) (err error) {
81027+ var _p0 *byte
81028+ _p0, err = BytePtrFromString(path)
81029+ if err != nil {
81030+ return
81031+ }
81032+ _, _, e1 := syscall_syscall(funcPC(libc_statfs_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
81033+ if e1 != 0 {
81034+ err = errnoErr(e1)
81035+ }
81036+ return
81037+}
81038+
81039+func libc_statfs_trampoline()
81040+
81041+//go:linkname libc_statfs libc_statfs
81042+//go:cgo_import_dynamic libc_statfs statfs "/usr/lib/libSystem.B.dylib"
81043diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.s b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.s
81044new file mode 100644
81045index 00000000..b67f518f
81046--- /dev/null
81047+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.s
81048@@ -0,0 +1,282 @@
81049+// go run mkasm_darwin.go arm
81050+// Code generated by the command above; DO NOT EDIT.
81051+
81052+// +build go1.12
81053+
81054+#include "textflag.h"
81055+TEXT ·libc_getgroups_trampoline(SB),NOSPLIT,$0-0
81056+ JMP libc_getgroups(SB)
81057+TEXT ·libc_setgroups_trampoline(SB),NOSPLIT,$0-0
81058+ JMP libc_setgroups(SB)
81059+TEXT ·libc_wait4_trampoline(SB),NOSPLIT,$0-0
81060+ JMP libc_wait4(SB)
81061+TEXT ·libc_accept_trampoline(SB),NOSPLIT,$0-0
81062+ JMP libc_accept(SB)
81063+TEXT ·libc_bind_trampoline(SB),NOSPLIT,$0-0
81064+ JMP libc_bind(SB)
81065+TEXT ·libc_connect_trampoline(SB),NOSPLIT,$0-0
81066+ JMP libc_connect(SB)
81067+TEXT ·libc_socket_trampoline(SB),NOSPLIT,$0-0
81068+ JMP libc_socket(SB)
81069+TEXT ·libc_getsockopt_trampoline(SB),NOSPLIT,$0-0
81070+ JMP libc_getsockopt(SB)
81071+TEXT ·libc_setsockopt_trampoline(SB),NOSPLIT,$0-0
81072+ JMP libc_setsockopt(SB)
81073+TEXT ·libc_getpeername_trampoline(SB),NOSPLIT,$0-0
81074+ JMP libc_getpeername(SB)
81075+TEXT ·libc_getsockname_trampoline(SB),NOSPLIT,$0-0
81076+ JMP libc_getsockname(SB)
81077+TEXT ·libc_shutdown_trampoline(SB),NOSPLIT,$0-0
81078+ JMP libc_shutdown(SB)
81079+TEXT ·libc_socketpair_trampoline(SB),NOSPLIT,$0-0
81080+ JMP libc_socketpair(SB)
81081+TEXT ·libc_recvfrom_trampoline(SB),NOSPLIT,$0-0
81082+ JMP libc_recvfrom(SB)
81083+TEXT ·libc_sendto_trampoline(SB),NOSPLIT,$0-0
81084+ JMP libc_sendto(SB)
81085+TEXT ·libc_recvmsg_trampoline(SB),NOSPLIT,$0-0
81086+ JMP libc_recvmsg(SB)
81087+TEXT ·libc_sendmsg_trampoline(SB),NOSPLIT,$0-0
81088+ JMP libc_sendmsg(SB)
81089+TEXT ·libc_kevent_trampoline(SB),NOSPLIT,$0-0
81090+ JMP libc_kevent(SB)
81091+TEXT ·libc_utimes_trampoline(SB),NOSPLIT,$0-0
81092+ JMP libc_utimes(SB)
81093+TEXT ·libc_futimes_trampoline(SB),NOSPLIT,$0-0
81094+ JMP libc_futimes(SB)
81095+TEXT ·libc_poll_trampoline(SB),NOSPLIT,$0-0
81096+ JMP libc_poll(SB)
81097+TEXT ·libc_madvise_trampoline(SB),NOSPLIT,$0-0
81098+ JMP libc_madvise(SB)
81099+TEXT ·libc_mlock_trampoline(SB),NOSPLIT,$0-0
81100+ JMP libc_mlock(SB)
81101+TEXT ·libc_mlockall_trampoline(SB),NOSPLIT,$0-0
81102+ JMP libc_mlockall(SB)
81103+TEXT ·libc_mprotect_trampoline(SB),NOSPLIT,$0-0
81104+ JMP libc_mprotect(SB)
81105+TEXT ·libc_msync_trampoline(SB),NOSPLIT,$0-0
81106+ JMP libc_msync(SB)
81107+TEXT ·libc_munlock_trampoline(SB),NOSPLIT,$0-0
81108+ JMP libc_munlock(SB)
81109+TEXT ·libc_munlockall_trampoline(SB),NOSPLIT,$0-0
81110+ JMP libc_munlockall(SB)
81111+TEXT ·libc_getattrlist_trampoline(SB),NOSPLIT,$0-0
81112+ JMP libc_getattrlist(SB)
81113+TEXT ·libc_pipe_trampoline(SB),NOSPLIT,$0-0
81114+ JMP libc_pipe(SB)
81115+TEXT ·libc_getxattr_trampoline(SB),NOSPLIT,$0-0
81116+ JMP libc_getxattr(SB)
81117+TEXT ·libc_fgetxattr_trampoline(SB),NOSPLIT,$0-0
81118+ JMP libc_fgetxattr(SB)
81119+TEXT ·libc_setxattr_trampoline(SB),NOSPLIT,$0-0
81120+ JMP libc_setxattr(SB)
81121+TEXT ·libc_fsetxattr_trampoline(SB),NOSPLIT,$0-0
81122+ JMP libc_fsetxattr(SB)
81123+TEXT ·libc_removexattr_trampoline(SB),NOSPLIT,$0-0
81124+ JMP libc_removexattr(SB)
81125+TEXT ·libc_fremovexattr_trampoline(SB),NOSPLIT,$0-0
81126+ JMP libc_fremovexattr(SB)
81127+TEXT ·libc_listxattr_trampoline(SB),NOSPLIT,$0-0
81128+ JMP libc_listxattr(SB)
81129+TEXT ·libc_flistxattr_trampoline(SB),NOSPLIT,$0-0
81130+ JMP libc_flistxattr(SB)
81131+TEXT ·libc_setattrlist_trampoline(SB),NOSPLIT,$0-0
81132+ JMP libc_setattrlist(SB)
81133+TEXT ·libc_fcntl_trampoline(SB),NOSPLIT,$0-0
81134+ JMP libc_fcntl(SB)
81135+TEXT ·libc_kill_trampoline(SB),NOSPLIT,$0-0
81136+ JMP libc_kill(SB)
81137+TEXT ·libc_ioctl_trampoline(SB),NOSPLIT,$0-0
81138+ JMP libc_ioctl(SB)
81139+TEXT ·libc_sysctl_trampoline(SB),NOSPLIT,$0-0
81140+ JMP libc_sysctl(SB)
81141+TEXT ·libc_sendfile_trampoline(SB),NOSPLIT,$0-0
81142+ JMP libc_sendfile(SB)
81143+TEXT ·libc_access_trampoline(SB),NOSPLIT,$0-0
81144+ JMP libc_access(SB)
81145+TEXT ·libc_adjtime_trampoline(SB),NOSPLIT,$0-0
81146+ JMP libc_adjtime(SB)
81147+TEXT ·libc_chdir_trampoline(SB),NOSPLIT,$0-0
81148+ JMP libc_chdir(SB)
81149+TEXT ·libc_chflags_trampoline(SB),NOSPLIT,$0-0
81150+ JMP libc_chflags(SB)
81151+TEXT ·libc_chmod_trampoline(SB),NOSPLIT,$0-0
81152+ JMP libc_chmod(SB)
81153+TEXT ·libc_chown_trampoline(SB),NOSPLIT,$0-0
81154+ JMP libc_chown(SB)
81155+TEXT ·libc_chroot_trampoline(SB),NOSPLIT,$0-0
81156+ JMP libc_chroot(SB)
81157+TEXT ·libc_clock_gettime_trampoline(SB),NOSPLIT,$0-0
81158+ JMP libc_clock_gettime(SB)
81159+TEXT ·libc_close_trampoline(SB),NOSPLIT,$0-0
81160+ JMP libc_close(SB)
81161+TEXT ·libc_dup_trampoline(SB),NOSPLIT,$0-0
81162+ JMP libc_dup(SB)
81163+TEXT ·libc_dup2_trampoline(SB),NOSPLIT,$0-0
81164+ JMP libc_dup2(SB)
81165+TEXT ·libc_exchangedata_trampoline(SB),NOSPLIT,$0-0
81166+ JMP libc_exchangedata(SB)
81167+TEXT ·libc_exit_trampoline(SB),NOSPLIT,$0-0
81168+ JMP libc_exit(SB)
81169+TEXT ·libc_faccessat_trampoline(SB),NOSPLIT,$0-0
81170+ JMP libc_faccessat(SB)
81171+TEXT ·libc_fchdir_trampoline(SB),NOSPLIT,$0-0
81172+ JMP libc_fchdir(SB)
81173+TEXT ·libc_fchflags_trampoline(SB),NOSPLIT,$0-0
81174+ JMP libc_fchflags(SB)
81175+TEXT ·libc_fchmod_trampoline(SB),NOSPLIT,$0-0
81176+ JMP libc_fchmod(SB)
81177+TEXT ·libc_fchmodat_trampoline(SB),NOSPLIT,$0-0
81178+ JMP libc_fchmodat(SB)
81179+TEXT ·libc_fchown_trampoline(SB),NOSPLIT,$0-0
81180+ JMP libc_fchown(SB)
81181+TEXT ·libc_fchownat_trampoline(SB),NOSPLIT,$0-0
81182+ JMP libc_fchownat(SB)
81183+TEXT ·libc_flock_trampoline(SB),NOSPLIT,$0-0
81184+ JMP libc_flock(SB)
81185+TEXT ·libc_fpathconf_trampoline(SB),NOSPLIT,$0-0
81186+ JMP libc_fpathconf(SB)
81187+TEXT ·libc_fsync_trampoline(SB),NOSPLIT,$0-0
81188+ JMP libc_fsync(SB)
81189+TEXT ·libc_ftruncate_trampoline(SB),NOSPLIT,$0-0
81190+ JMP libc_ftruncate(SB)
81191+TEXT ·libc_getdtablesize_trampoline(SB),NOSPLIT,$0-0
81192+ JMP libc_getdtablesize(SB)
81193+TEXT ·libc_getegid_trampoline(SB),NOSPLIT,$0-0
81194+ JMP libc_getegid(SB)
81195+TEXT ·libc_geteuid_trampoline(SB),NOSPLIT,$0-0
81196+ JMP libc_geteuid(SB)
81197+TEXT ·libc_getgid_trampoline(SB),NOSPLIT,$0-0
81198+ JMP libc_getgid(SB)
81199+TEXT ·libc_getpgid_trampoline(SB),NOSPLIT,$0-0
81200+ JMP libc_getpgid(SB)
81201+TEXT ·libc_getpgrp_trampoline(SB),NOSPLIT,$0-0
81202+ JMP libc_getpgrp(SB)
81203+TEXT ·libc_getpid_trampoline(SB),NOSPLIT,$0-0
81204+ JMP libc_getpid(SB)
81205+TEXT ·libc_getppid_trampoline(SB),NOSPLIT,$0-0
81206+ JMP libc_getppid(SB)
81207+TEXT ·libc_getpriority_trampoline(SB),NOSPLIT,$0-0
81208+ JMP libc_getpriority(SB)
81209+TEXT ·libc_getrlimit_trampoline(SB),NOSPLIT,$0-0
81210+ JMP libc_getrlimit(SB)
81211+TEXT ·libc_getrusage_trampoline(SB),NOSPLIT,$0-0
81212+ JMP libc_getrusage(SB)
81213+TEXT ·libc_getsid_trampoline(SB),NOSPLIT,$0-0
81214+ JMP libc_getsid(SB)
81215+TEXT ·libc_getuid_trampoline(SB),NOSPLIT,$0-0
81216+ JMP libc_getuid(SB)
81217+TEXT ·libc_issetugid_trampoline(SB),NOSPLIT,$0-0
81218+ JMP libc_issetugid(SB)
81219+TEXT ·libc_kqueue_trampoline(SB),NOSPLIT,$0-0
81220+ JMP libc_kqueue(SB)
81221+TEXT ·libc_lchown_trampoline(SB),NOSPLIT,$0-0
81222+ JMP libc_lchown(SB)
81223+TEXT ·libc_link_trampoline(SB),NOSPLIT,$0-0
81224+ JMP libc_link(SB)
81225+TEXT ·libc_linkat_trampoline(SB),NOSPLIT,$0-0
81226+ JMP libc_linkat(SB)
81227+TEXT ·libc_listen_trampoline(SB),NOSPLIT,$0-0
81228+ JMP libc_listen(SB)
81229+TEXT ·libc_mkdir_trampoline(SB),NOSPLIT,$0-0
81230+ JMP libc_mkdir(SB)
81231+TEXT ·libc_mkdirat_trampoline(SB),NOSPLIT,$0-0
81232+ JMP libc_mkdirat(SB)
81233+TEXT ·libc_mkfifo_trampoline(SB),NOSPLIT,$0-0
81234+ JMP libc_mkfifo(SB)
81235+TEXT ·libc_mknod_trampoline(SB),NOSPLIT,$0-0
81236+ JMP libc_mknod(SB)
81237+TEXT ·libc_open_trampoline(SB),NOSPLIT,$0-0
81238+ JMP libc_open(SB)
81239+TEXT ·libc_openat_trampoline(SB),NOSPLIT,$0-0
81240+ JMP libc_openat(SB)
81241+TEXT ·libc_pathconf_trampoline(SB),NOSPLIT,$0-0
81242+ JMP libc_pathconf(SB)
81243+TEXT ·libc_pread_trampoline(SB),NOSPLIT,$0-0
81244+ JMP libc_pread(SB)
81245+TEXT ·libc_pwrite_trampoline(SB),NOSPLIT,$0-0
81246+ JMP libc_pwrite(SB)
81247+TEXT ·libc_read_trampoline(SB),NOSPLIT,$0-0
81248+ JMP libc_read(SB)
81249+TEXT ·libc_readlink_trampoline(SB),NOSPLIT,$0-0
81250+ JMP libc_readlink(SB)
81251+TEXT ·libc_readlinkat_trampoline(SB),NOSPLIT,$0-0
81252+ JMP libc_readlinkat(SB)
81253+TEXT ·libc_rename_trampoline(SB),NOSPLIT,$0-0
81254+ JMP libc_rename(SB)
81255+TEXT ·libc_renameat_trampoline(SB),NOSPLIT,$0-0
81256+ JMP libc_renameat(SB)
81257+TEXT ·libc_revoke_trampoline(SB),NOSPLIT,$0-0
81258+ JMP libc_revoke(SB)
81259+TEXT ·libc_rmdir_trampoline(SB),NOSPLIT,$0-0
81260+ JMP libc_rmdir(SB)
81261+TEXT ·libc_lseek_trampoline(SB),NOSPLIT,$0-0
81262+ JMP libc_lseek(SB)
81263+TEXT ·libc_select_trampoline(SB),NOSPLIT,$0-0
81264+ JMP libc_select(SB)
81265+TEXT ·libc_setegid_trampoline(SB),NOSPLIT,$0-0
81266+ JMP libc_setegid(SB)
81267+TEXT ·libc_seteuid_trampoline(SB),NOSPLIT,$0-0
81268+ JMP libc_seteuid(SB)
81269+TEXT ·libc_setgid_trampoline(SB),NOSPLIT,$0-0
81270+ JMP libc_setgid(SB)
81271+TEXT ·libc_setlogin_trampoline(SB),NOSPLIT,$0-0
81272+ JMP libc_setlogin(SB)
81273+TEXT ·libc_setpgid_trampoline(SB),NOSPLIT,$0-0
81274+ JMP libc_setpgid(SB)
81275+TEXT ·libc_setpriority_trampoline(SB),NOSPLIT,$0-0
81276+ JMP libc_setpriority(SB)
81277+TEXT ·libc_setprivexec_trampoline(SB),NOSPLIT,$0-0
81278+ JMP libc_setprivexec(SB)
81279+TEXT ·libc_setregid_trampoline(SB),NOSPLIT,$0-0
81280+ JMP libc_setregid(SB)
81281+TEXT ·libc_setreuid_trampoline(SB),NOSPLIT,$0-0
81282+ JMP libc_setreuid(SB)
81283+TEXT ·libc_setrlimit_trampoline(SB),NOSPLIT,$0-0
81284+ JMP libc_setrlimit(SB)
81285+TEXT ·libc_setsid_trampoline(SB),NOSPLIT,$0-0
81286+ JMP libc_setsid(SB)
81287+TEXT ·libc_settimeofday_trampoline(SB),NOSPLIT,$0-0
81288+ JMP libc_settimeofday(SB)
81289+TEXT ·libc_setuid_trampoline(SB),NOSPLIT,$0-0
81290+ JMP libc_setuid(SB)
81291+TEXT ·libc_symlink_trampoline(SB),NOSPLIT,$0-0
81292+ JMP libc_symlink(SB)
81293+TEXT ·libc_symlinkat_trampoline(SB),NOSPLIT,$0-0
81294+ JMP libc_symlinkat(SB)
81295+TEXT ·libc_sync_trampoline(SB),NOSPLIT,$0-0
81296+ JMP libc_sync(SB)
81297+TEXT ·libc_truncate_trampoline(SB),NOSPLIT,$0-0
81298+ JMP libc_truncate(SB)
81299+TEXT ·libc_umask_trampoline(SB),NOSPLIT,$0-0
81300+ JMP libc_umask(SB)
81301+TEXT ·libc_undelete_trampoline(SB),NOSPLIT,$0-0
81302+ JMP libc_undelete(SB)
81303+TEXT ·libc_unlink_trampoline(SB),NOSPLIT,$0-0
81304+ JMP libc_unlink(SB)
81305+TEXT ·libc_unlinkat_trampoline(SB),NOSPLIT,$0-0
81306+ JMP libc_unlinkat(SB)
81307+TEXT ·libc_unmount_trampoline(SB),NOSPLIT,$0-0
81308+ JMP libc_unmount(SB)
81309+TEXT ·libc_write_trampoline(SB),NOSPLIT,$0-0
81310+ JMP libc_write(SB)
81311+TEXT ·libc_mmap_trampoline(SB),NOSPLIT,$0-0
81312+ JMP libc_mmap(SB)
81313+TEXT ·libc_munmap_trampoline(SB),NOSPLIT,$0-0
81314+ JMP libc_munmap(SB)
81315+TEXT ·libc_gettimeofday_trampoline(SB),NOSPLIT,$0-0
81316+ JMP libc_gettimeofday(SB)
81317+TEXT ·libc_fstat_trampoline(SB),NOSPLIT,$0-0
81318+ JMP libc_fstat(SB)
81319+TEXT ·libc_fstatat_trampoline(SB),NOSPLIT,$0-0
81320+ JMP libc_fstatat(SB)
81321+TEXT ·libc_fstatfs_trampoline(SB),NOSPLIT,$0-0
81322+ JMP libc_fstatfs(SB)
81323+TEXT ·libc_getfsstat_trampoline(SB),NOSPLIT,$0-0
81324+ JMP libc_getfsstat(SB)
81325+TEXT ·libc_lstat_trampoline(SB),NOSPLIT,$0-0
81326+ JMP libc_lstat(SB)
81327+TEXT ·libc_stat_trampoline(SB),NOSPLIT,$0-0
81328+ JMP libc_stat(SB)
81329+TEXT ·libc_statfs_trampoline(SB),NOSPLIT,$0-0
81330+ JMP libc_statfs(SB)
81331diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_11.go
81332similarity index 84%
81333copy from vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
81334copy to vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_11.go
81335index 07c6ebc9..8c3bb3a2 100644
81336--- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
81337+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_11.go
81338@@ -1,7 +1,7 @@
81339-// mksyscall.pl -tags darwin,arm64 syscall_bsd.go syscall_darwin.go syscall_darwin_arm64.go
81340+// go run mksyscall.go -tags darwin,arm64,!go1.12 syscall_bsd.go syscall_darwin.go syscall_darwin_arm64.1_11.go syscall_darwin_arm64.go
81341 // Code generated by the command above; see README.md. DO NOT EDIT.
81342
81343-// +build darwin,arm64
81344+// +build darwin,arm64,!go1.12
81345
81346 package unix
81347
81348@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
81349
81350 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81351
81352-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
81353- var _p0 unsafe.Pointer
81354- if len(mib) > 0 {
81355- _p0 = unsafe.Pointer(&mib[0])
81356- } else {
81357- _p0 = unsafe.Pointer(&_zero)
81358- }
81359- _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
81360- if e1 != 0 {
81361- err = errnoErr(e1)
81362- }
81363- return
81364-}
81365-
81366-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81367-
81368 func utimes(path string, timeval *[2]Timeval) (err error) {
81369 var _p0 *byte
81370 _p0, err = BytePtrFromString(path)
81371@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
81372
81373 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81374
81375-func fcntl(fd int, cmd int, arg int) (val int, err error) {
81376- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
81377- val = int(r0)
81378+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
81379+ r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
81380+ n = int(r0)
81381 if e1 != 0 {
81382 err = errnoErr(e1)
81383 }
81384@@ -366,8 +350,8 @@ func Munlockall() (err error) {
81385
81386 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81387
81388-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
81389- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
81390+func getattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
81391+ _, _, e1 := Syscall6(SYS_GETATTRLIST, uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
81392 if e1 != 0 {
81393 err = errnoErr(e1)
81394 }
81395@@ -388,6 +372,161 @@ func pipe() (r int, w int, err error) {
81396
81397 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81398
81399+func getxattr(path string, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
81400+ var _p0 *byte
81401+ _p0, err = BytePtrFromString(path)
81402+ if err != nil {
81403+ return
81404+ }
81405+ var _p1 *byte
81406+ _p1, err = BytePtrFromString(attr)
81407+ if err != nil {
81408+ return
81409+ }
81410+ r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
81411+ sz = int(r0)
81412+ if e1 != 0 {
81413+ err = errnoErr(e1)
81414+ }
81415+ return
81416+}
81417+
81418+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81419+
81420+func fgetxattr(fd int, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
81421+ var _p0 *byte
81422+ _p0, err = BytePtrFromString(attr)
81423+ if err != nil {
81424+ return
81425+ }
81426+ r0, _, e1 := Syscall6(SYS_FGETXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
81427+ sz = int(r0)
81428+ if e1 != 0 {
81429+ err = errnoErr(e1)
81430+ }
81431+ return
81432+}
81433+
81434+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81435+
81436+func setxattr(path string, attr string, data *byte, size int, position uint32, options int) (err error) {
81437+ var _p0 *byte
81438+ _p0, err = BytePtrFromString(path)
81439+ if err != nil {
81440+ return
81441+ }
81442+ var _p1 *byte
81443+ _p1, err = BytePtrFromString(attr)
81444+ if err != nil {
81445+ return
81446+ }
81447+ _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
81448+ if e1 != 0 {
81449+ err = errnoErr(e1)
81450+ }
81451+ return
81452+}
81453+
81454+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81455+
81456+func fsetxattr(fd int, attr string, data *byte, size int, position uint32, options int) (err error) {
81457+ var _p0 *byte
81458+ _p0, err = BytePtrFromString(attr)
81459+ if err != nil {
81460+ return
81461+ }
81462+ _, _, e1 := Syscall6(SYS_FSETXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
81463+ if e1 != 0 {
81464+ err = errnoErr(e1)
81465+ }
81466+ return
81467+}
81468+
81469+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81470+
81471+func removexattr(path string, attr string, options int) (err error) {
81472+ var _p0 *byte
81473+ _p0, err = BytePtrFromString(path)
81474+ if err != nil {
81475+ return
81476+ }
81477+ var _p1 *byte
81478+ _p1, err = BytePtrFromString(attr)
81479+ if err != nil {
81480+ return
81481+ }
81482+ _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
81483+ if e1 != 0 {
81484+ err = errnoErr(e1)
81485+ }
81486+ return
81487+}
81488+
81489+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81490+
81491+func fremovexattr(fd int, attr string, options int) (err error) {
81492+ var _p0 *byte
81493+ _p0, err = BytePtrFromString(attr)
81494+ if err != nil {
81495+ return
81496+ }
81497+ _, _, e1 := Syscall(SYS_FREMOVEXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(options))
81498+ if e1 != 0 {
81499+ err = errnoErr(e1)
81500+ }
81501+ return
81502+}
81503+
81504+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81505+
81506+func listxattr(path string, dest *byte, size int, options int) (sz int, err error) {
81507+ var _p0 *byte
81508+ _p0, err = BytePtrFromString(path)
81509+ if err != nil {
81510+ return
81511+ }
81512+ r0, _, e1 := Syscall6(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
81513+ sz = int(r0)
81514+ if e1 != 0 {
81515+ err = errnoErr(e1)
81516+ }
81517+ return
81518+}
81519+
81520+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81521+
81522+func flistxattr(fd int, dest *byte, size int, options int) (sz int, err error) {
81523+ r0, _, e1 := Syscall6(SYS_FLISTXATTR, uintptr(fd), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
81524+ sz = int(r0)
81525+ if e1 != 0 {
81526+ err = errnoErr(e1)
81527+ }
81528+ return
81529+}
81530+
81531+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81532+
81533+func setattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
81534+ _, _, e1 := Syscall6(SYS_SETATTRLIST, uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
81535+ if e1 != 0 {
81536+ err = errnoErr(e1)
81537+ }
81538+ return
81539+}
81540+
81541+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81542+
81543+func fcntl(fd int, cmd int, arg int) (val int, err error) {
81544+ r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
81545+ val = int(r0)
81546+ if e1 != 0 {
81547+ err = errnoErr(e1)
81548+ }
81549+ return
81550+}
81551+
81552+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81553+
81554 func kill(pid int, signum int, posix int) (err error) {
81555 _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
81556 if e1 != 0 {
81557@@ -408,6 +547,32 @@ func ioctl(fd int, req uint, arg uintptr) (err error) {
81558
81559 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81560
81561+func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
81562+ var _p0 unsafe.Pointer
81563+ if len(mib) > 0 {
81564+ _p0 = unsafe.Pointer(&mib[0])
81565+ } else {
81566+ _p0 = unsafe.Pointer(&_zero)
81567+ }
81568+ _, _, e1 := Syscall6(SYS_SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
81569+ if e1 != 0 {
81570+ err = errnoErr(e1)
81571+ }
81572+ return
81573+}
81574+
81575+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81576+
81577+func sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) {
81578+ _, _, e1 := Syscall6(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(offset), uintptr(unsafe.Pointer(len)), uintptr(hdtr), uintptr(flags))
81579+ if e1 != 0 {
81580+ err = errnoErr(e1)
81581+ }
81582+ return
81583+}
81584+
81585+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81586+
81587 func Access(path string, mode uint32) (err error) {
81588 var _p0 *byte
81589 _p0, err = BytePtrFromString(path)
81590@@ -672,26 +837,6 @@ func Fpathconf(fd int, name int) (val int, err error) {
81591
81592 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81593
81594-func Fstat(fd int, stat *Stat_t) (err error) {
81595- _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
81596- if e1 != 0 {
81597- err = errnoErr(e1)
81598- }
81599- return
81600-}
81601-
81602-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81603-
81604-func Fstatfs(fd int, stat *Statfs_t) (err error) {
81605- _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
81606- if e1 != 0 {
81607- err = errnoErr(e1)
81608- }
81609- return
81610-}
81611-
81612-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81613-
81614 func Fsync(fd int) (err error) {
81615 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
81616 if e1 != 0 {
81617@@ -712,23 +857,6 @@ func Ftruncate(fd int, length int64) (err error) {
81618
81619 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81620
81621-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
81622- var _p0 unsafe.Pointer
81623- if len(buf) > 0 {
81624- _p0 = unsafe.Pointer(&buf[0])
81625- } else {
81626- _p0 = unsafe.Pointer(&_zero)
81627- }
81628- r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
81629- n = int(r0)
81630- if e1 != 0 {
81631- err = errnoErr(e1)
81632- }
81633- return
81634-}
81635-
81636-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81637-
81638 func Getdtablesize() (size int) {
81639 r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
81640 size = int(r0)
81641@@ -930,21 +1058,6 @@ func Listen(s int, backlog int) (err error) {
81642
81643 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81644
81645-func Lstat(path string, stat *Stat_t) (err error) {
81646- var _p0 *byte
81647- _p0, err = BytePtrFromString(path)
81648- if err != nil {
81649- return
81650- }
81651- _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
81652- if e1 != 0 {
81653- err = errnoErr(e1)
81654- }
81655- return
81656-}
81657-
81658-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81659-
81660 func Mkdir(path string, mode uint32) (err error) {
81661 var _p0 *byte
81662 _p0, err = BytePtrFromString(path)
81663@@ -1229,8 +1342,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
81664
81665 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81666
81667-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
81668- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
81669+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
81670+ r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
81671+ n = int(r0)
81672 if e1 != 0 {
81673 err = errnoErr(e1)
81674 }
81675@@ -1375,36 +1489,6 @@ func Setuid(uid int) (err error) {
81676
81677 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81678
81679-func Stat(path string, stat *Stat_t) (err error) {
81680- var _p0 *byte
81681- _p0, err = BytePtrFromString(path)
81682- if err != nil {
81683- return
81684- }
81685- _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
81686- if e1 != 0 {
81687- err = errnoErr(e1)
81688- }
81689- return
81690-}
81691-
81692-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81693-
81694-func Statfs(path string, stat *Statfs_t) (err error) {
81695- var _p0 *byte
81696- _p0, err = BytePtrFromString(path)
81697- if err != nil {
81698- return
81699- }
81700- _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
81701- if e1 != 0 {
81702- err = errnoErr(e1)
81703- }
81704- return
81705-}
81706-
81707-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81708-
81709 func Symlink(path string, link string) (err error) {
81710 var _p0 *byte
81711 _p0, err = BytePtrFromString(path)
81712@@ -1607,3 +1691,94 @@ func gettimeofday(tp *Timeval) (sec int64, usec int32, err error) {
81713 }
81714 return
81715 }
81716+
81717+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81718+
81719+func Fstat(fd int, stat *Stat_t) (err error) {
81720+ _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
81721+ if e1 != 0 {
81722+ err = errnoErr(e1)
81723+ }
81724+ return
81725+}
81726+
81727+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81728+
81729+func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
81730+ var _p0 *byte
81731+ _p0, err = BytePtrFromString(path)
81732+ if err != nil {
81733+ return
81734+ }
81735+ _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
81736+ if e1 != 0 {
81737+ err = errnoErr(e1)
81738+ }
81739+ return
81740+}
81741+
81742+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81743+
81744+func Fstatfs(fd int, stat *Statfs_t) (err error) {
81745+ _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
81746+ if e1 != 0 {
81747+ err = errnoErr(e1)
81748+ }
81749+ return
81750+}
81751+
81752+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81753+
81754+func getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) {
81755+ r0, _, e1 := Syscall(SYS_GETFSSTAT, uintptr(buf), uintptr(size), uintptr(flags))
81756+ n = int(r0)
81757+ if e1 != 0 {
81758+ err = errnoErr(e1)
81759+ }
81760+ return
81761+}
81762+
81763+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81764+
81765+func Lstat(path string, stat *Stat_t) (err error) {
81766+ var _p0 *byte
81767+ _p0, err = BytePtrFromString(path)
81768+ if err != nil {
81769+ return
81770+ }
81771+ _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
81772+ if e1 != 0 {
81773+ err = errnoErr(e1)
81774+ }
81775+ return
81776+}
81777+
81778+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81779+
81780+func Stat(path string, stat *Stat_t) (err error) {
81781+ var _p0 *byte
81782+ _p0, err = BytePtrFromString(path)
81783+ if err != nil {
81784+ return
81785+ }
81786+ _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
81787+ if e1 != 0 {
81788+ err = errnoErr(e1)
81789+ }
81790+ return
81791+}
81792+
81793+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81794+
81795+func Statfs(path string, stat *Statfs_t) (err error) {
81796+ var _p0 *byte
81797+ _p0, err = BytePtrFromString(path)
81798+ if err != nil {
81799+ return
81800+ }
81801+ _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
81802+ if e1 != 0 {
81803+ err = errnoErr(e1)
81804+ }
81805+ return
81806+}
81807diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_13.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_13.go
81808new file mode 100644
81809index 00000000..d64e6c80
81810--- /dev/null
81811+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_13.go
81812@@ -0,0 +1,41 @@
81813+// go run mksyscall.go -tags darwin,arm64,go1.13 syscall_darwin.1_13.go
81814+// Code generated by the command above; see README.md. DO NOT EDIT.
81815+
81816+// +build darwin,arm64,go1.13
81817+
81818+package unix
81819+
81820+import (
81821+ "syscall"
81822+ "unsafe"
81823+)
81824+
81825+var _ syscall.Errno
81826+
81827+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81828+
81829+func closedir(dir uintptr) (err error) {
81830+ _, _, e1 := syscall_syscall(funcPC(libc_closedir_trampoline), uintptr(dir), 0, 0)
81831+ if e1 != 0 {
81832+ err = errnoErr(e1)
81833+ }
81834+ return
81835+}
81836+
81837+func libc_closedir_trampoline()
81838+
81839+//go:linkname libc_closedir libc_closedir
81840+//go:cgo_import_dynamic libc_closedir closedir "/usr/lib/libSystem.B.dylib"
81841+
81842+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81843+
81844+func readdir_r(dir uintptr, entry *Dirent, result **Dirent) (res Errno) {
81845+ r0, _, _ := syscall_syscall(funcPC(libc_readdir_r_trampoline), uintptr(dir), uintptr(unsafe.Pointer(entry)), uintptr(unsafe.Pointer(result)))
81846+ res = Errno(r0)
81847+ return
81848+}
81849+
81850+func libc_readdir_r_trampoline()
81851+
81852+//go:linkname libc_readdir_r libc_readdir_r
81853+//go:cgo_import_dynamic libc_readdir_r readdir_r "/usr/lib/libSystem.B.dylib"
81854diff --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
81855new file mode 100644
81856index 00000000..b29dabb0
81857--- /dev/null
81858+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_13.s
81859@@ -0,0 +1,12 @@
81860+// go run mkasm_darwin.go arm64
81861+// Code generated by the command above; DO NOT EDIT.
81862+
81863+// +build go1.13
81864+
81865+#include "textflag.h"
81866+TEXT ·libc_fdopendir_trampoline(SB),NOSPLIT,$0-0
81867+ JMP libc_fdopendir(SB)
81868+TEXT ·libc_closedir_trampoline(SB),NOSPLIT,$0-0
81869+ JMP libc_closedir(SB)
81870+TEXT ·libc_readdir_r_trampoline(SB),NOSPLIT,$0-0
81871+ JMP libc_readdir_r(SB)
81872diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
81873index 07c6ebc9..a8709f72 100644
81874--- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
81875+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
81876@@ -1,7 +1,7 @@
81877-// mksyscall.pl -tags darwin,arm64 syscall_bsd.go syscall_darwin.go syscall_darwin_arm64.go
81878+// go run mksyscall.go -tags darwin,arm64,go1.12 syscall_bsd.go syscall_darwin.go syscall_darwin_arm64.go
81879 // Code generated by the command above; see README.md. DO NOT EDIT.
81880
81881-// +build darwin,arm64
81882+// +build darwin,arm64,go1.12
81883
81884 package unix
81885
81886@@ -15,7 +15,7 @@ var _ syscall.Errno
81887 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81888
81889 func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
81890- r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
81891+ r0, _, e1 := syscall_rawSyscall(funcPC(libc_getgroups_trampoline), uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
81892 n = int(r0)
81893 if e1 != 0 {
81894 err = errnoErr(e1)
81895@@ -23,20 +23,30 @@ func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
81896 return
81897 }
81898
81899+func libc_getgroups_trampoline()
81900+
81901+//go:linkname libc_getgroups libc_getgroups
81902+//go:cgo_import_dynamic libc_getgroups getgroups "/usr/lib/libSystem.B.dylib"
81903+
81904 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81905
81906 func setgroups(ngid int, gid *_Gid_t) (err error) {
81907- _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
81908+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setgroups_trampoline), uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
81909 if e1 != 0 {
81910 err = errnoErr(e1)
81911 }
81912 return
81913 }
81914
81915+func libc_setgroups_trampoline()
81916+
81917+//go:linkname libc_setgroups libc_setgroups
81918+//go:cgo_import_dynamic libc_setgroups setgroups "/usr/lib/libSystem.B.dylib"
81919+
81920 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81921
81922 func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
81923- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
81924+ r0, _, e1 := syscall_syscall6(funcPC(libc_wait4_trampoline), uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
81925 wpid = int(r0)
81926 if e1 != 0 {
81927 err = errnoErr(e1)
81928@@ -44,10 +54,15 @@ func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err
81929 return
81930 }
81931
81932+func libc_wait4_trampoline()
81933+
81934+//go:linkname libc_wait4 libc_wait4
81935+//go:cgo_import_dynamic libc_wait4 wait4 "/usr/lib/libSystem.B.dylib"
81936+
81937 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81938
81939 func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
81940- r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
81941+ r0, _, e1 := syscall_syscall(funcPC(libc_accept_trampoline), uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
81942 fd = int(r0)
81943 if e1 != 0 {
81944 err = errnoErr(e1)
81945@@ -55,30 +70,45 @@ func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
81946 return
81947 }
81948
81949+func libc_accept_trampoline()
81950+
81951+//go:linkname libc_accept libc_accept
81952+//go:cgo_import_dynamic libc_accept accept "/usr/lib/libSystem.B.dylib"
81953+
81954 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81955
81956 func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
81957- _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
81958+ _, _, e1 := syscall_syscall(funcPC(libc_bind_trampoline), uintptr(s), uintptr(addr), uintptr(addrlen))
81959 if e1 != 0 {
81960 err = errnoErr(e1)
81961 }
81962 return
81963 }
81964
81965+func libc_bind_trampoline()
81966+
81967+//go:linkname libc_bind libc_bind
81968+//go:cgo_import_dynamic libc_bind bind "/usr/lib/libSystem.B.dylib"
81969+
81970 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81971
81972 func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
81973- _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
81974+ _, _, e1 := syscall_syscall(funcPC(libc_connect_trampoline), uintptr(s), uintptr(addr), uintptr(addrlen))
81975 if e1 != 0 {
81976 err = errnoErr(e1)
81977 }
81978 return
81979 }
81980
81981+func libc_connect_trampoline()
81982+
81983+//go:linkname libc_connect libc_connect
81984+//go:cgo_import_dynamic libc_connect connect "/usr/lib/libSystem.B.dylib"
81985+
81986 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
81987
81988 func socket(domain int, typ int, proto int) (fd int, err error) {
81989- r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
81990+ r0, _, e1 := syscall_rawSyscall(funcPC(libc_socket_trampoline), uintptr(domain), uintptr(typ), uintptr(proto))
81991 fd = int(r0)
81992 if e1 != 0 {
81993 err = errnoErr(e1)
81994@@ -86,66 +116,101 @@ func socket(domain int, typ int, proto int) (fd int, err error) {
81995 return
81996 }
81997
81998+func libc_socket_trampoline()
81999+
82000+//go:linkname libc_socket libc_socket
82001+//go:cgo_import_dynamic libc_socket socket "/usr/lib/libSystem.B.dylib"
82002+
82003 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82004
82005 func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
82006- _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
82007+ _, _, e1 := syscall_syscall6(funcPC(libc_getsockopt_trampoline), uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
82008 if e1 != 0 {
82009 err = errnoErr(e1)
82010 }
82011 return
82012 }
82013
82014+func libc_getsockopt_trampoline()
82015+
82016+//go:linkname libc_getsockopt libc_getsockopt
82017+//go:cgo_import_dynamic libc_getsockopt getsockopt "/usr/lib/libSystem.B.dylib"
82018+
82019 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82020
82021 func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
82022- _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
82023+ _, _, e1 := syscall_syscall6(funcPC(libc_setsockopt_trampoline), uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
82024 if e1 != 0 {
82025 err = errnoErr(e1)
82026 }
82027 return
82028 }
82029
82030+func libc_setsockopt_trampoline()
82031+
82032+//go:linkname libc_setsockopt libc_setsockopt
82033+//go:cgo_import_dynamic libc_setsockopt setsockopt "/usr/lib/libSystem.B.dylib"
82034+
82035 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82036
82037 func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
82038- _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
82039+ _, _, e1 := syscall_rawSyscall(funcPC(libc_getpeername_trampoline), uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
82040 if e1 != 0 {
82041 err = errnoErr(e1)
82042 }
82043 return
82044 }
82045
82046+func libc_getpeername_trampoline()
82047+
82048+//go:linkname libc_getpeername libc_getpeername
82049+//go:cgo_import_dynamic libc_getpeername getpeername "/usr/lib/libSystem.B.dylib"
82050+
82051 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82052
82053 func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
82054- _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
82055+ _, _, e1 := syscall_rawSyscall(funcPC(libc_getsockname_trampoline), uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
82056 if e1 != 0 {
82057 err = errnoErr(e1)
82058 }
82059 return
82060 }
82061
82062+func libc_getsockname_trampoline()
82063+
82064+//go:linkname libc_getsockname libc_getsockname
82065+//go:cgo_import_dynamic libc_getsockname getsockname "/usr/lib/libSystem.B.dylib"
82066+
82067 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82068
82069 func Shutdown(s int, how int) (err error) {
82070- _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0)
82071+ _, _, e1 := syscall_syscall(funcPC(libc_shutdown_trampoline), uintptr(s), uintptr(how), 0)
82072 if e1 != 0 {
82073 err = errnoErr(e1)
82074 }
82075 return
82076 }
82077
82078+func libc_shutdown_trampoline()
82079+
82080+//go:linkname libc_shutdown libc_shutdown
82081+//go:cgo_import_dynamic libc_shutdown shutdown "/usr/lib/libSystem.B.dylib"
82082+
82083 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82084
82085 func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
82086- _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
82087+ _, _, e1 := syscall_rawSyscall6(funcPC(libc_socketpair_trampoline), uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
82088 if e1 != 0 {
82089 err = errnoErr(e1)
82090 }
82091 return
82092 }
82093
82094+func libc_socketpair_trampoline()
82095+
82096+//go:linkname libc_socketpair libc_socketpair
82097+//go:cgo_import_dynamic libc_socketpair socketpair "/usr/lib/libSystem.B.dylib"
82098+
82099 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82100
82101 func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
82102@@ -155,7 +220,7 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl
82103 } else {
82104 _p0 = unsafe.Pointer(&_zero)
82105 }
82106- r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
82107+ r0, _, e1 := syscall_syscall6(funcPC(libc_recvfrom_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
82108 n = int(r0)
82109 if e1 != 0 {
82110 err = errnoErr(e1)
82111@@ -163,6 +228,11 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl
82112 return
82113 }
82114
82115+func libc_recvfrom_trampoline()
82116+
82117+//go:linkname libc_recvfrom libc_recvfrom
82118+//go:cgo_import_dynamic libc_recvfrom recvfrom "/usr/lib/libSystem.B.dylib"
82119+
82120 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82121
82122 func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
82123@@ -172,17 +242,22 @@ func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (
82124 } else {
82125 _p0 = unsafe.Pointer(&_zero)
82126 }
82127- _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
82128+ _, _, e1 := syscall_syscall6(funcPC(libc_sendto_trampoline), uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
82129 if e1 != 0 {
82130 err = errnoErr(e1)
82131 }
82132 return
82133 }
82134
82135+func libc_sendto_trampoline()
82136+
82137+//go:linkname libc_sendto libc_sendto
82138+//go:cgo_import_dynamic libc_sendto sendto "/usr/lib/libSystem.B.dylib"
82139+
82140 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82141
82142 func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
82143- r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
82144+ r0, _, e1 := syscall_syscall(funcPC(libc_recvmsg_trampoline), uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
82145 n = int(r0)
82146 if e1 != 0 {
82147 err = errnoErr(e1)
82148@@ -190,10 +265,15 @@ func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
82149 return
82150 }
82151
82152+func libc_recvmsg_trampoline()
82153+
82154+//go:linkname libc_recvmsg libc_recvmsg
82155+//go:cgo_import_dynamic libc_recvmsg recvmsg "/usr/lib/libSystem.B.dylib"
82156+
82157 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82158
82159 func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
82160- r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
82161+ r0, _, e1 := syscall_syscall(funcPC(libc_sendmsg_trampoline), uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
82162 n = int(r0)
82163 if e1 != 0 {
82164 err = errnoErr(e1)
82165@@ -201,10 +281,15 @@ func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
82166 return
82167 }
82168
82169+func libc_sendmsg_trampoline()
82170+
82171+//go:linkname libc_sendmsg libc_sendmsg
82172+//go:cgo_import_dynamic libc_sendmsg sendmsg "/usr/lib/libSystem.B.dylib"
82173+
82174 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82175
82176 func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
82177- r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
82178+ r0, _, e1 := syscall_syscall6(funcPC(libc_kevent_trampoline), uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
82179 n = int(r0)
82180 if e1 != 0 {
82181 err = errnoErr(e1)
82182@@ -212,21 +297,10 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
82183 return
82184 }
82185
82186-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82187+func libc_kevent_trampoline()
82188
82189-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
82190- var _p0 unsafe.Pointer
82191- if len(mib) > 0 {
82192- _p0 = unsafe.Pointer(&mib[0])
82193- } else {
82194- _p0 = unsafe.Pointer(&_zero)
82195- }
82196- _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
82197- if e1 != 0 {
82198- err = errnoErr(e1)
82199- }
82200- return
82201-}
82202+//go:linkname libc_kevent libc_kevent
82203+//go:cgo_import_dynamic libc_kevent kevent "/usr/lib/libSystem.B.dylib"
82204
82205 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82206
82207@@ -236,34 +310,49 @@ func utimes(path string, timeval *[2]Timeval) (err error) {
82208 if err != nil {
82209 return
82210 }
82211- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
82212+ _, _, e1 := syscall_syscall(funcPC(libc_utimes_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
82213 if e1 != 0 {
82214 err = errnoErr(e1)
82215 }
82216 return
82217 }
82218
82219+func libc_utimes_trampoline()
82220+
82221+//go:linkname libc_utimes libc_utimes
82222+//go:cgo_import_dynamic libc_utimes utimes "/usr/lib/libSystem.B.dylib"
82223+
82224 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82225
82226 func futimes(fd int, timeval *[2]Timeval) (err error) {
82227- _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
82228+ _, _, e1 := syscall_syscall(funcPC(libc_futimes_trampoline), uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
82229 if e1 != 0 {
82230 err = errnoErr(e1)
82231 }
82232 return
82233 }
82234
82235+func libc_futimes_trampoline()
82236+
82237+//go:linkname libc_futimes libc_futimes
82238+//go:cgo_import_dynamic libc_futimes futimes "/usr/lib/libSystem.B.dylib"
82239+
82240 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82241
82242-func fcntl(fd int, cmd int, arg int) (val int, err error) {
82243- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
82244- val = int(r0)
82245+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
82246+ r0, _, e1 := syscall_syscall(funcPC(libc_poll_trampoline), uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
82247+ n = int(r0)
82248 if e1 != 0 {
82249 err = errnoErr(e1)
82250 }
82251 return
82252 }
82253
82254+func libc_poll_trampoline()
82255+
82256+//go:linkname libc_poll libc_poll
82257+//go:cgo_import_dynamic libc_poll poll "/usr/lib/libSystem.B.dylib"
82258+
82259 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82260
82261 func Madvise(b []byte, behav int) (err error) {
82262@@ -273,13 +362,18 @@ func Madvise(b []byte, behav int) (err error) {
82263 } else {
82264 _p0 = unsafe.Pointer(&_zero)
82265 }
82266- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(behav))
82267+ _, _, e1 := syscall_syscall(funcPC(libc_madvise_trampoline), uintptr(_p0), uintptr(len(b)), uintptr(behav))
82268 if e1 != 0 {
82269 err = errnoErr(e1)
82270 }
82271 return
82272 }
82273
82274+func libc_madvise_trampoline()
82275+
82276+//go:linkname libc_madvise libc_madvise
82277+//go:cgo_import_dynamic libc_madvise madvise "/usr/lib/libSystem.B.dylib"
82278+
82279 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82280
82281 func Mlock(b []byte) (err error) {
82282@@ -289,23 +383,33 @@ func Mlock(b []byte) (err error) {
82283 } else {
82284 _p0 = unsafe.Pointer(&_zero)
82285 }
82286- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
82287+ _, _, e1 := syscall_syscall(funcPC(libc_mlock_trampoline), uintptr(_p0), uintptr(len(b)), 0)
82288 if e1 != 0 {
82289 err = errnoErr(e1)
82290 }
82291 return
82292 }
82293
82294+func libc_mlock_trampoline()
82295+
82296+//go:linkname libc_mlock libc_mlock
82297+//go:cgo_import_dynamic libc_mlock mlock "/usr/lib/libSystem.B.dylib"
82298+
82299 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82300
82301 func Mlockall(flags int) (err error) {
82302- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
82303+ _, _, e1 := syscall_syscall(funcPC(libc_mlockall_trampoline), uintptr(flags), 0, 0)
82304 if e1 != 0 {
82305 err = errnoErr(e1)
82306 }
82307 return
82308 }
82309
82310+func libc_mlockall_trampoline()
82311+
82312+//go:linkname libc_mlockall libc_mlockall
82313+//go:cgo_import_dynamic libc_mlockall mlockall "/usr/lib/libSystem.B.dylib"
82314+
82315 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82316
82317 func Mprotect(b []byte, prot int) (err error) {
82318@@ -315,13 +419,18 @@ func Mprotect(b []byte, prot int) (err error) {
82319 } else {
82320 _p0 = unsafe.Pointer(&_zero)
82321 }
82322- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
82323+ _, _, e1 := syscall_syscall(funcPC(libc_mprotect_trampoline), uintptr(_p0), uintptr(len(b)), uintptr(prot))
82324 if e1 != 0 {
82325 err = errnoErr(e1)
82326 }
82327 return
82328 }
82329
82330+func libc_mprotect_trampoline()
82331+
82332+//go:linkname libc_mprotect libc_mprotect
82333+//go:cgo_import_dynamic libc_mprotect mprotect "/usr/lib/libSystem.B.dylib"
82334+
82335 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82336
82337 func Msync(b []byte, flags int) (err error) {
82338@@ -331,13 +440,18 @@ func Msync(b []byte, flags int) (err error) {
82339 } else {
82340 _p0 = unsafe.Pointer(&_zero)
82341 }
82342- _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags))
82343+ _, _, e1 := syscall_syscall(funcPC(libc_msync_trampoline), uintptr(_p0), uintptr(len(b)), uintptr(flags))
82344 if e1 != 0 {
82345 err = errnoErr(e1)
82346 }
82347 return
82348 }
82349
82350+func libc_msync_trampoline()
82351+
82352+//go:linkname libc_msync libc_msync
82353+//go:cgo_import_dynamic libc_msync msync "/usr/lib/libSystem.B.dylib"
82354+
82355 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82356
82357 func Munlock(b []byte) (err error) {
82358@@ -347,37 +461,52 @@ func Munlock(b []byte) (err error) {
82359 } else {
82360 _p0 = unsafe.Pointer(&_zero)
82361 }
82362- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
82363+ _, _, e1 := syscall_syscall(funcPC(libc_munlock_trampoline), uintptr(_p0), uintptr(len(b)), 0)
82364 if e1 != 0 {
82365 err = errnoErr(e1)
82366 }
82367 return
82368 }
82369
82370+func libc_munlock_trampoline()
82371+
82372+//go:linkname libc_munlock libc_munlock
82373+//go:cgo_import_dynamic libc_munlock munlock "/usr/lib/libSystem.B.dylib"
82374+
82375 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82376
82377 func Munlockall() (err error) {
82378- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
82379+ _, _, e1 := syscall_syscall(funcPC(libc_munlockall_trampoline), 0, 0, 0)
82380 if e1 != 0 {
82381 err = errnoErr(e1)
82382 }
82383 return
82384 }
82385
82386+func libc_munlockall_trampoline()
82387+
82388+//go:linkname libc_munlockall libc_munlockall
82389+//go:cgo_import_dynamic libc_munlockall munlockall "/usr/lib/libSystem.B.dylib"
82390+
82391 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82392
82393-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
82394- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
82395+func getattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
82396+ _, _, e1 := syscall_syscall6(funcPC(libc_getattrlist_trampoline), uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
82397 if e1 != 0 {
82398 err = errnoErr(e1)
82399 }
82400 return
82401 }
82402
82403+func libc_getattrlist_trampoline()
82404+
82405+//go:linkname libc_getattrlist libc_getattrlist
82406+//go:cgo_import_dynamic libc_getattrlist getattrlist "/usr/lib/libSystem.B.dylib"
82407+
82408 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82409
82410 func pipe() (r int, w int, err error) {
82411- r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
82412+ r0, r1, e1 := syscall_rawSyscall(funcPC(libc_pipe_trampoline), 0, 0, 0)
82413 r = int(r0)
82414 w = int(r1)
82415 if e1 != 0 {
82416@@ -386,26 +515,282 @@ func pipe() (r int, w int, err error) {
82417 return
82418 }
82419
82420+func libc_pipe_trampoline()
82421+
82422+//go:linkname libc_pipe libc_pipe
82423+//go:cgo_import_dynamic libc_pipe pipe "/usr/lib/libSystem.B.dylib"
82424+
82425+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82426+
82427+func getxattr(path string, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
82428+ var _p0 *byte
82429+ _p0, err = BytePtrFromString(path)
82430+ if err != nil {
82431+ return
82432+ }
82433+ var _p1 *byte
82434+ _p1, err = BytePtrFromString(attr)
82435+ if err != nil {
82436+ return
82437+ }
82438+ r0, _, e1 := syscall_syscall6(funcPC(libc_getxattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
82439+ sz = int(r0)
82440+ if e1 != 0 {
82441+ err = errnoErr(e1)
82442+ }
82443+ return
82444+}
82445+
82446+func libc_getxattr_trampoline()
82447+
82448+//go:linkname libc_getxattr libc_getxattr
82449+//go:cgo_import_dynamic libc_getxattr getxattr "/usr/lib/libSystem.B.dylib"
82450+
82451+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82452+
82453+func fgetxattr(fd int, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
82454+ var _p0 *byte
82455+ _p0, err = BytePtrFromString(attr)
82456+ if err != nil {
82457+ return
82458+ }
82459+ r0, _, e1 := syscall_syscall6(funcPC(libc_fgetxattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
82460+ sz = int(r0)
82461+ if e1 != 0 {
82462+ err = errnoErr(e1)
82463+ }
82464+ return
82465+}
82466+
82467+func libc_fgetxattr_trampoline()
82468+
82469+//go:linkname libc_fgetxattr libc_fgetxattr
82470+//go:cgo_import_dynamic libc_fgetxattr fgetxattr "/usr/lib/libSystem.B.dylib"
82471+
82472+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82473+
82474+func setxattr(path string, attr string, data *byte, size int, position uint32, options int) (err error) {
82475+ var _p0 *byte
82476+ _p0, err = BytePtrFromString(path)
82477+ if err != nil {
82478+ return
82479+ }
82480+ var _p1 *byte
82481+ _p1, err = BytePtrFromString(attr)
82482+ if err != nil {
82483+ return
82484+ }
82485+ _, _, e1 := syscall_syscall6(funcPC(libc_setxattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
82486+ if e1 != 0 {
82487+ err = errnoErr(e1)
82488+ }
82489+ return
82490+}
82491+
82492+func libc_setxattr_trampoline()
82493+
82494+//go:linkname libc_setxattr libc_setxattr
82495+//go:cgo_import_dynamic libc_setxattr setxattr "/usr/lib/libSystem.B.dylib"
82496+
82497+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82498+
82499+func fsetxattr(fd int, attr string, data *byte, size int, position uint32, options int) (err error) {
82500+ var _p0 *byte
82501+ _p0, err = BytePtrFromString(attr)
82502+ if err != nil {
82503+ return
82504+ }
82505+ _, _, e1 := syscall_syscall6(funcPC(libc_fsetxattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
82506+ if e1 != 0 {
82507+ err = errnoErr(e1)
82508+ }
82509+ return
82510+}
82511+
82512+func libc_fsetxattr_trampoline()
82513+
82514+//go:linkname libc_fsetxattr libc_fsetxattr
82515+//go:cgo_import_dynamic libc_fsetxattr fsetxattr "/usr/lib/libSystem.B.dylib"
82516+
82517+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82518+
82519+func removexattr(path string, attr string, options int) (err error) {
82520+ var _p0 *byte
82521+ _p0, err = BytePtrFromString(path)
82522+ if err != nil {
82523+ return
82524+ }
82525+ var _p1 *byte
82526+ _p1, err = BytePtrFromString(attr)
82527+ if err != nil {
82528+ return
82529+ }
82530+ _, _, e1 := syscall_syscall(funcPC(libc_removexattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
82531+ if e1 != 0 {
82532+ err = errnoErr(e1)
82533+ }
82534+ return
82535+}
82536+
82537+func libc_removexattr_trampoline()
82538+
82539+//go:linkname libc_removexattr libc_removexattr
82540+//go:cgo_import_dynamic libc_removexattr removexattr "/usr/lib/libSystem.B.dylib"
82541+
82542+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82543+
82544+func fremovexattr(fd int, attr string, options int) (err error) {
82545+ var _p0 *byte
82546+ _p0, err = BytePtrFromString(attr)
82547+ if err != nil {
82548+ return
82549+ }
82550+ _, _, e1 := syscall_syscall(funcPC(libc_fremovexattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(options))
82551+ if e1 != 0 {
82552+ err = errnoErr(e1)
82553+ }
82554+ return
82555+}
82556+
82557+func libc_fremovexattr_trampoline()
82558+
82559+//go:linkname libc_fremovexattr libc_fremovexattr
82560+//go:cgo_import_dynamic libc_fremovexattr fremovexattr "/usr/lib/libSystem.B.dylib"
82561+
82562+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82563+
82564+func listxattr(path string, dest *byte, size int, options int) (sz int, err error) {
82565+ var _p0 *byte
82566+ _p0, err = BytePtrFromString(path)
82567+ if err != nil {
82568+ return
82569+ }
82570+ r0, _, e1 := syscall_syscall6(funcPC(libc_listxattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
82571+ sz = int(r0)
82572+ if e1 != 0 {
82573+ err = errnoErr(e1)
82574+ }
82575+ return
82576+}
82577+
82578+func libc_listxattr_trampoline()
82579+
82580+//go:linkname libc_listxattr libc_listxattr
82581+//go:cgo_import_dynamic libc_listxattr listxattr "/usr/lib/libSystem.B.dylib"
82582+
82583+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82584+
82585+func flistxattr(fd int, dest *byte, size int, options int) (sz int, err error) {
82586+ r0, _, e1 := syscall_syscall6(funcPC(libc_flistxattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
82587+ sz = int(r0)
82588+ if e1 != 0 {
82589+ err = errnoErr(e1)
82590+ }
82591+ return
82592+}
82593+
82594+func libc_flistxattr_trampoline()
82595+
82596+//go:linkname libc_flistxattr libc_flistxattr
82597+//go:cgo_import_dynamic libc_flistxattr flistxattr "/usr/lib/libSystem.B.dylib"
82598+
82599+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82600+
82601+func setattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
82602+ _, _, e1 := syscall_syscall6(funcPC(libc_setattrlist_trampoline), uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
82603+ if e1 != 0 {
82604+ err = errnoErr(e1)
82605+ }
82606+ return
82607+}
82608+
82609+func libc_setattrlist_trampoline()
82610+
82611+//go:linkname libc_setattrlist libc_setattrlist
82612+//go:cgo_import_dynamic libc_setattrlist setattrlist "/usr/lib/libSystem.B.dylib"
82613+
82614+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82615+
82616+func fcntl(fd int, cmd int, arg int) (val int, err error) {
82617+ r0, _, e1 := syscall_syscall(funcPC(libc_fcntl_trampoline), uintptr(fd), uintptr(cmd), uintptr(arg))
82618+ val = int(r0)
82619+ if e1 != 0 {
82620+ err = errnoErr(e1)
82621+ }
82622+ return
82623+}
82624+
82625+func libc_fcntl_trampoline()
82626+
82627+//go:linkname libc_fcntl libc_fcntl
82628+//go:cgo_import_dynamic libc_fcntl fcntl "/usr/lib/libSystem.B.dylib"
82629+
82630 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82631
82632 func kill(pid int, signum int, posix int) (err error) {
82633- _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
82634+ _, _, e1 := syscall_syscall(funcPC(libc_kill_trampoline), uintptr(pid), uintptr(signum), uintptr(posix))
82635 if e1 != 0 {
82636 err = errnoErr(e1)
82637 }
82638 return
82639 }
82640
82641+func libc_kill_trampoline()
82642+
82643+//go:linkname libc_kill libc_kill
82644+//go:cgo_import_dynamic libc_kill kill "/usr/lib/libSystem.B.dylib"
82645+
82646 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82647
82648 func ioctl(fd int, req uint, arg uintptr) (err error) {
82649- _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
82650+ _, _, e1 := syscall_syscall(funcPC(libc_ioctl_trampoline), uintptr(fd), uintptr(req), uintptr(arg))
82651 if e1 != 0 {
82652 err = errnoErr(e1)
82653 }
82654 return
82655 }
82656
82657+func libc_ioctl_trampoline()
82658+
82659+//go:linkname libc_ioctl libc_ioctl
82660+//go:cgo_import_dynamic libc_ioctl ioctl "/usr/lib/libSystem.B.dylib"
82661+
82662+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82663+
82664+func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
82665+ var _p0 unsafe.Pointer
82666+ if len(mib) > 0 {
82667+ _p0 = unsafe.Pointer(&mib[0])
82668+ } else {
82669+ _p0 = unsafe.Pointer(&_zero)
82670+ }
82671+ _, _, e1 := syscall_syscall6(funcPC(libc_sysctl_trampoline), uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
82672+ if e1 != 0 {
82673+ err = errnoErr(e1)
82674+ }
82675+ return
82676+}
82677+
82678+func libc_sysctl_trampoline()
82679+
82680+//go:linkname libc_sysctl libc_sysctl
82681+//go:cgo_import_dynamic libc_sysctl sysctl "/usr/lib/libSystem.B.dylib"
82682+
82683+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82684+
82685+func sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) {
82686+ _, _, e1 := syscall_syscall6(funcPC(libc_sendfile_trampoline), uintptr(infd), uintptr(outfd), uintptr(offset), uintptr(unsafe.Pointer(len)), uintptr(hdtr), uintptr(flags))
82687+ if e1 != 0 {
82688+ err = errnoErr(e1)
82689+ }
82690+ return
82691+}
82692+
82693+func libc_sendfile_trampoline()
82694+
82695+//go:linkname libc_sendfile libc_sendfile
82696+//go:cgo_import_dynamic libc_sendfile sendfile "/usr/lib/libSystem.B.dylib"
82697+
82698 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82699
82700 func Access(path string, mode uint32) (err error) {
82701@@ -414,23 +799,33 @@ func Access(path string, mode uint32) (err error) {
82702 if err != nil {
82703 return
82704 }
82705- _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
82706+ _, _, e1 := syscall_syscall(funcPC(libc_access_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
82707 if e1 != 0 {
82708 err = errnoErr(e1)
82709 }
82710 return
82711 }
82712
82713+func libc_access_trampoline()
82714+
82715+//go:linkname libc_access libc_access
82716+//go:cgo_import_dynamic libc_access access "/usr/lib/libSystem.B.dylib"
82717+
82718 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82719
82720 func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
82721- _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
82722+ _, _, e1 := syscall_syscall(funcPC(libc_adjtime_trampoline), uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
82723 if e1 != 0 {
82724 err = errnoErr(e1)
82725 }
82726 return
82727 }
82728
82729+func libc_adjtime_trampoline()
82730+
82731+//go:linkname libc_adjtime libc_adjtime
82732+//go:cgo_import_dynamic libc_adjtime adjtime "/usr/lib/libSystem.B.dylib"
82733+
82734 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82735
82736 func Chdir(path string) (err error) {
82737@@ -439,13 +834,18 @@ func Chdir(path string) (err error) {
82738 if err != nil {
82739 return
82740 }
82741- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
82742+ _, _, e1 := syscall_syscall(funcPC(libc_chdir_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
82743 if e1 != 0 {
82744 err = errnoErr(e1)
82745 }
82746 return
82747 }
82748
82749+func libc_chdir_trampoline()
82750+
82751+//go:linkname libc_chdir libc_chdir
82752+//go:cgo_import_dynamic libc_chdir chdir "/usr/lib/libSystem.B.dylib"
82753+
82754 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82755
82756 func Chflags(path string, flags int) (err error) {
82757@@ -454,13 +854,18 @@ func Chflags(path string, flags int) (err error) {
82758 if err != nil {
82759 return
82760 }
82761- _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
82762+ _, _, e1 := syscall_syscall(funcPC(libc_chflags_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
82763 if e1 != 0 {
82764 err = errnoErr(e1)
82765 }
82766 return
82767 }
82768
82769+func libc_chflags_trampoline()
82770+
82771+//go:linkname libc_chflags libc_chflags
82772+//go:cgo_import_dynamic libc_chflags chflags "/usr/lib/libSystem.B.dylib"
82773+
82774 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82775
82776 func Chmod(path string, mode uint32) (err error) {
82777@@ -469,13 +874,18 @@ func Chmod(path string, mode uint32) (err error) {
82778 if err != nil {
82779 return
82780 }
82781- _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
82782+ _, _, e1 := syscall_syscall(funcPC(libc_chmod_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
82783 if e1 != 0 {
82784 err = errnoErr(e1)
82785 }
82786 return
82787 }
82788
82789+func libc_chmod_trampoline()
82790+
82791+//go:linkname libc_chmod libc_chmod
82792+//go:cgo_import_dynamic libc_chmod chmod "/usr/lib/libSystem.B.dylib"
82793+
82794 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82795
82796 func Chown(path string, uid int, gid int) (err error) {
82797@@ -484,13 +894,18 @@ func Chown(path string, uid int, gid int) (err error) {
82798 if err != nil {
82799 return
82800 }
82801- _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
82802+ _, _, e1 := syscall_syscall(funcPC(libc_chown_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
82803 if e1 != 0 {
82804 err = errnoErr(e1)
82805 }
82806 return
82807 }
82808
82809+func libc_chown_trampoline()
82810+
82811+//go:linkname libc_chown libc_chown
82812+//go:cgo_import_dynamic libc_chown chown "/usr/lib/libSystem.B.dylib"
82813+
82814 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82815
82816 func Chroot(path string) (err error) {
82817@@ -499,27 +914,52 @@ func Chroot(path string) (err error) {
82818 if err != nil {
82819 return
82820 }
82821- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
82822+ _, _, e1 := syscall_syscall(funcPC(libc_chroot_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
82823 if e1 != 0 {
82824 err = errnoErr(e1)
82825 }
82826 return
82827 }
82828
82829+func libc_chroot_trampoline()
82830+
82831+//go:linkname libc_chroot libc_chroot
82832+//go:cgo_import_dynamic libc_chroot chroot "/usr/lib/libSystem.B.dylib"
82833+
82834+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82835+
82836+func ClockGettime(clockid int32, time *Timespec) (err error) {
82837+ _, _, e1 := syscall_syscall(funcPC(libc_clock_gettime_trampoline), uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
82838+ if e1 != 0 {
82839+ err = errnoErr(e1)
82840+ }
82841+ return
82842+}
82843+
82844+func libc_clock_gettime_trampoline()
82845+
82846+//go:linkname libc_clock_gettime libc_clock_gettime
82847+//go:cgo_import_dynamic libc_clock_gettime clock_gettime "/usr/lib/libSystem.B.dylib"
82848+
82849 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82850
82851 func Close(fd int) (err error) {
82852- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
82853+ _, _, e1 := syscall_syscall(funcPC(libc_close_trampoline), uintptr(fd), 0, 0)
82854 if e1 != 0 {
82855 err = errnoErr(e1)
82856 }
82857 return
82858 }
82859
82860+func libc_close_trampoline()
82861+
82862+//go:linkname libc_close libc_close
82863+//go:cgo_import_dynamic libc_close close "/usr/lib/libSystem.B.dylib"
82864+
82865 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82866
82867 func Dup(fd int) (nfd int, err error) {
82868- r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0)
82869+ r0, _, e1 := syscall_syscall(funcPC(libc_dup_trampoline), uintptr(fd), 0, 0)
82870 nfd = int(r0)
82871 if e1 != 0 {
82872 err = errnoErr(e1)
82873@@ -527,16 +967,26 @@ func Dup(fd int) (nfd int, err error) {
82874 return
82875 }
82876
82877+func libc_dup_trampoline()
82878+
82879+//go:linkname libc_dup libc_dup
82880+//go:cgo_import_dynamic libc_dup dup "/usr/lib/libSystem.B.dylib"
82881+
82882 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82883
82884 func Dup2(from int, to int) (err error) {
82885- _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0)
82886+ _, _, e1 := syscall_syscall(funcPC(libc_dup2_trampoline), uintptr(from), uintptr(to), 0)
82887 if e1 != 0 {
82888 err = errnoErr(e1)
82889 }
82890 return
82891 }
82892
82893+func libc_dup2_trampoline()
82894+
82895+//go:linkname libc_dup2 libc_dup2
82896+//go:cgo_import_dynamic libc_dup2 dup2 "/usr/lib/libSystem.B.dylib"
82897+
82898 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82899
82900 func Exchangedata(path1 string, path2 string, options int) (err error) {
82901@@ -550,20 +1000,30 @@ func Exchangedata(path1 string, path2 string, options int) (err error) {
82902 if err != nil {
82903 return
82904 }
82905- _, _, e1 := Syscall(SYS_EXCHANGEDATA, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
82906+ _, _, e1 := syscall_syscall(funcPC(libc_exchangedata_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
82907 if e1 != 0 {
82908 err = errnoErr(e1)
82909 }
82910 return
82911 }
82912
82913+func libc_exchangedata_trampoline()
82914+
82915+//go:linkname libc_exchangedata libc_exchangedata
82916+//go:cgo_import_dynamic libc_exchangedata exchangedata "/usr/lib/libSystem.B.dylib"
82917+
82918 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82919
82920 func Exit(code int) {
82921- Syscall(SYS_EXIT, uintptr(code), 0, 0)
82922+ syscall_syscall(funcPC(libc_exit_trampoline), uintptr(code), 0, 0)
82923 return
82924 }
82925
82926+func libc_exit_trampoline()
82927+
82928+//go:linkname libc_exit libc_exit
82929+//go:cgo_import_dynamic libc_exit exit "/usr/lib/libSystem.B.dylib"
82930+
82931 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82932
82933 func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
82934@@ -572,43 +1032,63 @@ func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
82935 if err != nil {
82936 return
82937 }
82938- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
82939+ _, _, e1 := syscall_syscall6(funcPC(libc_faccessat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
82940 if e1 != 0 {
82941 err = errnoErr(e1)
82942 }
82943 return
82944 }
82945
82946+func libc_faccessat_trampoline()
82947+
82948+//go:linkname libc_faccessat libc_faccessat
82949+//go:cgo_import_dynamic libc_faccessat faccessat "/usr/lib/libSystem.B.dylib"
82950+
82951 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82952
82953 func Fchdir(fd int) (err error) {
82954- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
82955+ _, _, e1 := syscall_syscall(funcPC(libc_fchdir_trampoline), uintptr(fd), 0, 0)
82956 if e1 != 0 {
82957 err = errnoErr(e1)
82958 }
82959 return
82960 }
82961
82962+func libc_fchdir_trampoline()
82963+
82964+//go:linkname libc_fchdir libc_fchdir
82965+//go:cgo_import_dynamic libc_fchdir fchdir "/usr/lib/libSystem.B.dylib"
82966+
82967 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82968
82969 func Fchflags(fd int, flags int) (err error) {
82970- _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0)
82971+ _, _, e1 := syscall_syscall(funcPC(libc_fchflags_trampoline), uintptr(fd), uintptr(flags), 0)
82972 if e1 != 0 {
82973 err = errnoErr(e1)
82974 }
82975 return
82976 }
82977
82978+func libc_fchflags_trampoline()
82979+
82980+//go:linkname libc_fchflags libc_fchflags
82981+//go:cgo_import_dynamic libc_fchflags fchflags "/usr/lib/libSystem.B.dylib"
82982+
82983 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
82984
82985 func Fchmod(fd int, mode uint32) (err error) {
82986- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
82987+ _, _, e1 := syscall_syscall(funcPC(libc_fchmod_trampoline), uintptr(fd), uintptr(mode), 0)
82988 if e1 != 0 {
82989 err = errnoErr(e1)
82990 }
82991 return
82992 }
82993
82994+func libc_fchmod_trampoline()
82995+
82996+//go:linkname libc_fchmod libc_fchmod
82997+//go:cgo_import_dynamic libc_fchmod fchmod "/usr/lib/libSystem.B.dylib"
82998+
82999 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83000
83001 func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
83002@@ -617,23 +1097,33 @@ func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
83003 if err != nil {
83004 return
83005 }
83006- _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
83007+ _, _, e1 := syscall_syscall6(funcPC(libc_fchmodat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
83008 if e1 != 0 {
83009 err = errnoErr(e1)
83010 }
83011 return
83012 }
83013
83014+func libc_fchmodat_trampoline()
83015+
83016+//go:linkname libc_fchmodat libc_fchmodat
83017+//go:cgo_import_dynamic libc_fchmodat fchmodat "/usr/lib/libSystem.B.dylib"
83018+
83019 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83020
83021 func Fchown(fd int, uid int, gid int) (err error) {
83022- _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
83023+ _, _, e1 := syscall_syscall(funcPC(libc_fchown_trampoline), uintptr(fd), uintptr(uid), uintptr(gid))
83024 if e1 != 0 {
83025 err = errnoErr(e1)
83026 }
83027 return
83028 }
83029
83030+func libc_fchown_trampoline()
83031+
83032+//go:linkname libc_fchown libc_fchown
83033+//go:cgo_import_dynamic libc_fchown fchown "/usr/lib/libSystem.B.dylib"
83034+
83035 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83036
83037 func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
83038@@ -642,27 +1132,37 @@ func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
83039 if err != nil {
83040 return
83041 }
83042- _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
83043+ _, _, e1 := syscall_syscall6(funcPC(libc_fchownat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
83044 if e1 != 0 {
83045 err = errnoErr(e1)
83046 }
83047 return
83048 }
83049
83050+func libc_fchownat_trampoline()
83051+
83052+//go:linkname libc_fchownat libc_fchownat
83053+//go:cgo_import_dynamic libc_fchownat fchownat "/usr/lib/libSystem.B.dylib"
83054+
83055 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83056
83057 func Flock(fd int, how int) (err error) {
83058- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
83059+ _, _, e1 := syscall_syscall(funcPC(libc_flock_trampoline), uintptr(fd), uintptr(how), 0)
83060 if e1 != 0 {
83061 err = errnoErr(e1)
83062 }
83063 return
83064 }
83065
83066+func libc_flock_trampoline()
83067+
83068+//go:linkname libc_flock libc_flock
83069+//go:cgo_import_dynamic libc_flock flock "/usr/lib/libSystem.B.dylib"
83070+
83071 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83072
83073 func Fpathconf(fd int, name int) (val int, err error) {
83074- r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0)
83075+ r0, _, e1 := syscall_syscall(funcPC(libc_fpathconf_trampoline), uintptr(fd), uintptr(name), 0)
83076 val = int(r0)
83077 if e1 != 0 {
83078 err = errnoErr(e1)
83079@@ -670,99 +1170,97 @@ func Fpathconf(fd int, name int) (val int, err error) {
83080 return
83081 }
83082
83083-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83084+func libc_fpathconf_trampoline()
83085
83086-func Fstat(fd int, stat *Stat_t) (err error) {
83087- _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
83088- if e1 != 0 {
83089- err = errnoErr(e1)
83090- }
83091- return
83092-}
83093+//go:linkname libc_fpathconf libc_fpathconf
83094+//go:cgo_import_dynamic libc_fpathconf fpathconf "/usr/lib/libSystem.B.dylib"
83095
83096 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83097
83098-func Fstatfs(fd int, stat *Statfs_t) (err error) {
83099- _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
83100+func Fsync(fd int) (err error) {
83101+ _, _, e1 := syscall_syscall(funcPC(libc_fsync_trampoline), uintptr(fd), 0, 0)
83102 if e1 != 0 {
83103 err = errnoErr(e1)
83104 }
83105 return
83106 }
83107
83108-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83109+func libc_fsync_trampoline()
83110
83111-func Fsync(fd int) (err error) {
83112- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
83113- if e1 != 0 {
83114- err = errnoErr(e1)
83115- }
83116- return
83117-}
83118+//go:linkname libc_fsync libc_fsync
83119+//go:cgo_import_dynamic libc_fsync fsync "/usr/lib/libSystem.B.dylib"
83120
83121 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83122
83123 func Ftruncate(fd int, length int64) (err error) {
83124- _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
83125+ _, _, e1 := syscall_syscall(funcPC(libc_ftruncate_trampoline), uintptr(fd), uintptr(length), 0)
83126 if e1 != 0 {
83127 err = errnoErr(e1)
83128 }
83129 return
83130 }
83131
83132-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83133-
83134-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
83135- var _p0 unsafe.Pointer
83136- if len(buf) > 0 {
83137- _p0 = unsafe.Pointer(&buf[0])
83138- } else {
83139- _p0 = unsafe.Pointer(&_zero)
83140- }
83141- r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
83142- n = int(r0)
83143- if e1 != 0 {
83144- err = errnoErr(e1)
83145- }
83146- return
83147-}
83148+func libc_ftruncate_trampoline()
83149+
83150+//go:linkname libc_ftruncate libc_ftruncate
83151+//go:cgo_import_dynamic libc_ftruncate ftruncate "/usr/lib/libSystem.B.dylib"
83152
83153 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83154
83155 func Getdtablesize() (size int) {
83156- r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
83157+ r0, _, _ := syscall_syscall(funcPC(libc_getdtablesize_trampoline), 0, 0, 0)
83158 size = int(r0)
83159 return
83160 }
83161
83162+func libc_getdtablesize_trampoline()
83163+
83164+//go:linkname libc_getdtablesize libc_getdtablesize
83165+//go:cgo_import_dynamic libc_getdtablesize getdtablesize "/usr/lib/libSystem.B.dylib"
83166+
83167 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83168
83169 func Getegid() (egid int) {
83170- r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
83171+ r0, _, _ := syscall_rawSyscall(funcPC(libc_getegid_trampoline), 0, 0, 0)
83172 egid = int(r0)
83173 return
83174 }
83175
83176+func libc_getegid_trampoline()
83177+
83178+//go:linkname libc_getegid libc_getegid
83179+//go:cgo_import_dynamic libc_getegid getegid "/usr/lib/libSystem.B.dylib"
83180+
83181 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83182
83183 func Geteuid() (uid int) {
83184- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
83185+ r0, _, _ := syscall_rawSyscall(funcPC(libc_geteuid_trampoline), 0, 0, 0)
83186 uid = int(r0)
83187 return
83188 }
83189
83190+func libc_geteuid_trampoline()
83191+
83192+//go:linkname libc_geteuid libc_geteuid
83193+//go:cgo_import_dynamic libc_geteuid geteuid "/usr/lib/libSystem.B.dylib"
83194+
83195 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83196
83197 func Getgid() (gid int) {
83198- r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
83199+ r0, _, _ := syscall_rawSyscall(funcPC(libc_getgid_trampoline), 0, 0, 0)
83200 gid = int(r0)
83201 return
83202 }
83203
83204+func libc_getgid_trampoline()
83205+
83206+//go:linkname libc_getgid libc_getgid
83207+//go:cgo_import_dynamic libc_getgid getgid "/usr/lib/libSystem.B.dylib"
83208+
83209 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83210
83211 func Getpgid(pid int) (pgid int, err error) {
83212- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
83213+ r0, _, e1 := syscall_rawSyscall(funcPC(libc_getpgid_trampoline), uintptr(pid), 0, 0)
83214 pgid = int(r0)
83215 if e1 != 0 {
83216 err = errnoErr(e1)
83217@@ -770,34 +1268,54 @@ func Getpgid(pid int) (pgid int, err error) {
83218 return
83219 }
83220
83221+func libc_getpgid_trampoline()
83222+
83223+//go:linkname libc_getpgid libc_getpgid
83224+//go:cgo_import_dynamic libc_getpgid getpgid "/usr/lib/libSystem.B.dylib"
83225+
83226 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83227
83228 func Getpgrp() (pgrp int) {
83229- r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0)
83230+ r0, _, _ := syscall_rawSyscall(funcPC(libc_getpgrp_trampoline), 0, 0, 0)
83231 pgrp = int(r0)
83232 return
83233 }
83234
83235+func libc_getpgrp_trampoline()
83236+
83237+//go:linkname libc_getpgrp libc_getpgrp
83238+//go:cgo_import_dynamic libc_getpgrp getpgrp "/usr/lib/libSystem.B.dylib"
83239+
83240 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83241
83242 func Getpid() (pid int) {
83243- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
83244+ r0, _, _ := syscall_rawSyscall(funcPC(libc_getpid_trampoline), 0, 0, 0)
83245 pid = int(r0)
83246 return
83247 }
83248
83249+func libc_getpid_trampoline()
83250+
83251+//go:linkname libc_getpid libc_getpid
83252+//go:cgo_import_dynamic libc_getpid getpid "/usr/lib/libSystem.B.dylib"
83253+
83254 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83255
83256 func Getppid() (ppid int) {
83257- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
83258+ r0, _, _ := syscall_rawSyscall(funcPC(libc_getppid_trampoline), 0, 0, 0)
83259 ppid = int(r0)
83260 return
83261 }
83262
83263+func libc_getppid_trampoline()
83264+
83265+//go:linkname libc_getppid libc_getppid
83266+//go:cgo_import_dynamic libc_getppid getppid "/usr/lib/libSystem.B.dylib"
83267+
83268 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83269
83270 func Getpriority(which int, who int) (prio int, err error) {
83271- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
83272+ r0, _, e1 := syscall_syscall(funcPC(libc_getpriority_trampoline), uintptr(which), uintptr(who), 0)
83273 prio = int(r0)
83274 if e1 != 0 {
83275 err = errnoErr(e1)
83276@@ -805,30 +1323,45 @@ func Getpriority(which int, who int) (prio int, err error) {
83277 return
83278 }
83279
83280+func libc_getpriority_trampoline()
83281+
83282+//go:linkname libc_getpriority libc_getpriority
83283+//go:cgo_import_dynamic libc_getpriority getpriority "/usr/lib/libSystem.B.dylib"
83284+
83285 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83286
83287 func Getrlimit(which int, lim *Rlimit) (err error) {
83288- _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
83289+ _, _, e1 := syscall_rawSyscall(funcPC(libc_getrlimit_trampoline), uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
83290 if e1 != 0 {
83291 err = errnoErr(e1)
83292 }
83293 return
83294 }
83295
83296+func libc_getrlimit_trampoline()
83297+
83298+//go:linkname libc_getrlimit libc_getrlimit
83299+//go:cgo_import_dynamic libc_getrlimit getrlimit "/usr/lib/libSystem.B.dylib"
83300+
83301 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83302
83303 func Getrusage(who int, rusage *Rusage) (err error) {
83304- _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
83305+ _, _, e1 := syscall_rawSyscall(funcPC(libc_getrusage_trampoline), uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
83306 if e1 != 0 {
83307 err = errnoErr(e1)
83308 }
83309 return
83310 }
83311
83312+func libc_getrusage_trampoline()
83313+
83314+//go:linkname libc_getrusage libc_getrusage
83315+//go:cgo_import_dynamic libc_getrusage getrusage "/usr/lib/libSystem.B.dylib"
83316+
83317 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83318
83319 func Getsid(pid int) (sid int, err error) {
83320- r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
83321+ r0, _, e1 := syscall_rawSyscall(funcPC(libc_getsid_trampoline), uintptr(pid), 0, 0)
83322 sid = int(r0)
83323 if e1 != 0 {
83324 err = errnoErr(e1)
83325@@ -836,26 +1369,41 @@ func Getsid(pid int) (sid int, err error) {
83326 return
83327 }
83328
83329+func libc_getsid_trampoline()
83330+
83331+//go:linkname libc_getsid libc_getsid
83332+//go:cgo_import_dynamic libc_getsid getsid "/usr/lib/libSystem.B.dylib"
83333+
83334 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83335
83336 func Getuid() (uid int) {
83337- r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
83338+ r0, _, _ := syscall_rawSyscall(funcPC(libc_getuid_trampoline), 0, 0, 0)
83339 uid = int(r0)
83340 return
83341 }
83342
83343+func libc_getuid_trampoline()
83344+
83345+//go:linkname libc_getuid libc_getuid
83346+//go:cgo_import_dynamic libc_getuid getuid "/usr/lib/libSystem.B.dylib"
83347+
83348 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83349
83350 func Issetugid() (tainted bool) {
83351- r0, _, _ := RawSyscall(SYS_ISSETUGID, 0, 0, 0)
83352+ r0, _, _ := syscall_rawSyscall(funcPC(libc_issetugid_trampoline), 0, 0, 0)
83353 tainted = bool(r0 != 0)
83354 return
83355 }
83356
83357+func libc_issetugid_trampoline()
83358+
83359+//go:linkname libc_issetugid libc_issetugid
83360+//go:cgo_import_dynamic libc_issetugid issetugid "/usr/lib/libSystem.B.dylib"
83361+
83362 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83363
83364 func Kqueue() (fd int, err error) {
83365- r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
83366+ r0, _, e1 := syscall_syscall(funcPC(libc_kqueue_trampoline), 0, 0, 0)
83367 fd = int(r0)
83368 if e1 != 0 {
83369 err = errnoErr(e1)
83370@@ -863,6 +1411,11 @@ func Kqueue() (fd int, err error) {
83371 return
83372 }
83373
83374+func libc_kqueue_trampoline()
83375+
83376+//go:linkname libc_kqueue libc_kqueue
83377+//go:cgo_import_dynamic libc_kqueue kqueue "/usr/lib/libSystem.B.dylib"
83378+
83379 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83380
83381 func Lchown(path string, uid int, gid int) (err error) {
83382@@ -871,13 +1424,18 @@ func Lchown(path string, uid int, gid int) (err error) {
83383 if err != nil {
83384 return
83385 }
83386- _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
83387+ _, _, e1 := syscall_syscall(funcPC(libc_lchown_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
83388 if e1 != 0 {
83389 err = errnoErr(e1)
83390 }
83391 return
83392 }
83393
83394+func libc_lchown_trampoline()
83395+
83396+//go:linkname libc_lchown libc_lchown
83397+//go:cgo_import_dynamic libc_lchown lchown "/usr/lib/libSystem.B.dylib"
83398+
83399 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83400
83401 func Link(path string, link string) (err error) {
83402@@ -891,13 +1449,18 @@ func Link(path string, link string) (err error) {
83403 if err != nil {
83404 return
83405 }
83406- _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
83407+ _, _, e1 := syscall_syscall(funcPC(libc_link_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
83408 if e1 != 0 {
83409 err = errnoErr(e1)
83410 }
83411 return
83412 }
83413
83414+func libc_link_trampoline()
83415+
83416+//go:linkname libc_link libc_link
83417+//go:cgo_import_dynamic libc_link link "/usr/lib/libSystem.B.dylib"
83418+
83419 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83420
83421 func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error) {
83422@@ -911,37 +1474,32 @@ func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err er
83423 if err != nil {
83424 return
83425 }
83426- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
83427+ _, _, e1 := syscall_syscall6(funcPC(libc_linkat_trampoline), uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
83428 if e1 != 0 {
83429 err = errnoErr(e1)
83430 }
83431 return
83432 }
83433
83434+func libc_linkat_trampoline()
83435+
83436+//go:linkname libc_linkat libc_linkat
83437+//go:cgo_import_dynamic libc_linkat linkat "/usr/lib/libSystem.B.dylib"
83438+
83439 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83440
83441 func Listen(s int, backlog int) (err error) {
83442- _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
83443+ _, _, e1 := syscall_syscall(funcPC(libc_listen_trampoline), uintptr(s), uintptr(backlog), 0)
83444 if e1 != 0 {
83445 err = errnoErr(e1)
83446 }
83447 return
83448 }
83449
83450-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83451+func libc_listen_trampoline()
83452
83453-func Lstat(path string, stat *Stat_t) (err error) {
83454- var _p0 *byte
83455- _p0, err = BytePtrFromString(path)
83456- if err != nil {
83457- return
83458- }
83459- _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
83460- if e1 != 0 {
83461- err = errnoErr(e1)
83462- }
83463- return
83464-}
83465+//go:linkname libc_listen libc_listen
83466+//go:cgo_import_dynamic libc_listen listen "/usr/lib/libSystem.B.dylib"
83467
83468 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83469
83470@@ -951,13 +1509,18 @@ func Mkdir(path string, mode uint32) (err error) {
83471 if err != nil {
83472 return
83473 }
83474- _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
83475+ _, _, e1 := syscall_syscall(funcPC(libc_mkdir_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
83476 if e1 != 0 {
83477 err = errnoErr(e1)
83478 }
83479 return
83480 }
83481
83482+func libc_mkdir_trampoline()
83483+
83484+//go:linkname libc_mkdir libc_mkdir
83485+//go:cgo_import_dynamic libc_mkdir mkdir "/usr/lib/libSystem.B.dylib"
83486+
83487 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83488
83489 func Mkdirat(dirfd int, path string, mode uint32) (err error) {
83490@@ -966,13 +1529,18 @@ func Mkdirat(dirfd int, path string, mode uint32) (err error) {
83491 if err != nil {
83492 return
83493 }
83494- _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
83495+ _, _, e1 := syscall_syscall(funcPC(libc_mkdirat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
83496 if e1 != 0 {
83497 err = errnoErr(e1)
83498 }
83499 return
83500 }
83501
83502+func libc_mkdirat_trampoline()
83503+
83504+//go:linkname libc_mkdirat libc_mkdirat
83505+//go:cgo_import_dynamic libc_mkdirat mkdirat "/usr/lib/libSystem.B.dylib"
83506+
83507 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83508
83509 func Mkfifo(path string, mode uint32) (err error) {
83510@@ -981,13 +1549,18 @@ func Mkfifo(path string, mode uint32) (err error) {
83511 if err != nil {
83512 return
83513 }
83514- _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
83515+ _, _, e1 := syscall_syscall(funcPC(libc_mkfifo_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
83516 if e1 != 0 {
83517 err = errnoErr(e1)
83518 }
83519 return
83520 }
83521
83522+func libc_mkfifo_trampoline()
83523+
83524+//go:linkname libc_mkfifo libc_mkfifo
83525+//go:cgo_import_dynamic libc_mkfifo mkfifo "/usr/lib/libSystem.B.dylib"
83526+
83527 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83528
83529 func Mknod(path string, mode uint32, dev int) (err error) {
83530@@ -996,13 +1569,18 @@ func Mknod(path string, mode uint32, dev int) (err error) {
83531 if err != nil {
83532 return
83533 }
83534- _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
83535+ _, _, e1 := syscall_syscall(funcPC(libc_mknod_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
83536 if e1 != 0 {
83537 err = errnoErr(e1)
83538 }
83539 return
83540 }
83541
83542+func libc_mknod_trampoline()
83543+
83544+//go:linkname libc_mknod libc_mknod
83545+//go:cgo_import_dynamic libc_mknod mknod "/usr/lib/libSystem.B.dylib"
83546+
83547 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83548
83549 func Open(path string, mode int, perm uint32) (fd int, err error) {
83550@@ -1011,7 +1589,7 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
83551 if err != nil {
83552 return
83553 }
83554- r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
83555+ r0, _, e1 := syscall_syscall(funcPC(libc_open_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
83556 fd = int(r0)
83557 if e1 != 0 {
83558 err = errnoErr(e1)
83559@@ -1019,6 +1597,11 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
83560 return
83561 }
83562
83563+func libc_open_trampoline()
83564+
83565+//go:linkname libc_open libc_open
83566+//go:cgo_import_dynamic libc_open open "/usr/lib/libSystem.B.dylib"
83567+
83568 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83569
83570 func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
83571@@ -1027,7 +1610,7 @@ func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
83572 if err != nil {
83573 return
83574 }
83575- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
83576+ r0, _, e1 := syscall_syscall6(funcPC(libc_openat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
83577 fd = int(r0)
83578 if e1 != 0 {
83579 err = errnoErr(e1)
83580@@ -1035,6 +1618,11 @@ func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
83581 return
83582 }
83583
83584+func libc_openat_trampoline()
83585+
83586+//go:linkname libc_openat libc_openat
83587+//go:cgo_import_dynamic libc_openat openat "/usr/lib/libSystem.B.dylib"
83588+
83589 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83590
83591 func Pathconf(path string, name int) (val int, err error) {
83592@@ -1043,7 +1631,7 @@ func Pathconf(path string, name int) (val int, err error) {
83593 if err != nil {
83594 return
83595 }
83596- r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
83597+ r0, _, e1 := syscall_syscall(funcPC(libc_pathconf_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
83598 val = int(r0)
83599 if e1 != 0 {
83600 err = errnoErr(e1)
83601@@ -1051,6 +1639,11 @@ func Pathconf(path string, name int) (val int, err error) {
83602 return
83603 }
83604
83605+func libc_pathconf_trampoline()
83606+
83607+//go:linkname libc_pathconf libc_pathconf
83608+//go:cgo_import_dynamic libc_pathconf pathconf "/usr/lib/libSystem.B.dylib"
83609+
83610 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83611
83612 func Pread(fd int, p []byte, offset int64) (n int, err error) {
83613@@ -1060,7 +1653,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
83614 } else {
83615 _p0 = unsafe.Pointer(&_zero)
83616 }
83617- r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
83618+ r0, _, e1 := syscall_syscall6(funcPC(libc_pread_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
83619 n = int(r0)
83620 if e1 != 0 {
83621 err = errnoErr(e1)
83622@@ -1068,6 +1661,11 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
83623 return
83624 }
83625
83626+func libc_pread_trampoline()
83627+
83628+//go:linkname libc_pread libc_pread
83629+//go:cgo_import_dynamic libc_pread pread "/usr/lib/libSystem.B.dylib"
83630+
83631 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83632
83633 func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
83634@@ -1077,7 +1675,7 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
83635 } else {
83636 _p0 = unsafe.Pointer(&_zero)
83637 }
83638- r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
83639+ r0, _, e1 := syscall_syscall6(funcPC(libc_pwrite_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
83640 n = int(r0)
83641 if e1 != 0 {
83642 err = errnoErr(e1)
83643@@ -1085,6 +1683,11 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
83644 return
83645 }
83646
83647+func libc_pwrite_trampoline()
83648+
83649+//go:linkname libc_pwrite libc_pwrite
83650+//go:cgo_import_dynamic libc_pwrite pwrite "/usr/lib/libSystem.B.dylib"
83651+
83652 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83653
83654 func read(fd int, p []byte) (n int, err error) {
83655@@ -1094,7 +1697,7 @@ func read(fd int, p []byte) (n int, err error) {
83656 } else {
83657 _p0 = unsafe.Pointer(&_zero)
83658 }
83659- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
83660+ r0, _, e1 := syscall_syscall(funcPC(libc_read_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)))
83661 n = int(r0)
83662 if e1 != 0 {
83663 err = errnoErr(e1)
83664@@ -1102,6 +1705,11 @@ func read(fd int, p []byte) (n int, err error) {
83665 return
83666 }
83667
83668+func libc_read_trampoline()
83669+
83670+//go:linkname libc_read libc_read
83671+//go:cgo_import_dynamic libc_read read "/usr/lib/libSystem.B.dylib"
83672+
83673 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83674
83675 func Readlink(path string, buf []byte) (n int, err error) {
83676@@ -1116,7 +1724,7 @@ func Readlink(path string, buf []byte) (n int, err error) {
83677 } else {
83678 _p1 = unsafe.Pointer(&_zero)
83679 }
83680- r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
83681+ r0, _, e1 := syscall_syscall(funcPC(libc_readlink_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
83682 n = int(r0)
83683 if e1 != 0 {
83684 err = errnoErr(e1)
83685@@ -1124,6 +1732,11 @@ func Readlink(path string, buf []byte) (n int, err error) {
83686 return
83687 }
83688
83689+func libc_readlink_trampoline()
83690+
83691+//go:linkname libc_readlink libc_readlink
83692+//go:cgo_import_dynamic libc_readlink readlink "/usr/lib/libSystem.B.dylib"
83693+
83694 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83695
83696 func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
83697@@ -1138,7 +1751,7 @@ func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
83698 } else {
83699 _p1 = unsafe.Pointer(&_zero)
83700 }
83701- r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
83702+ r0, _, e1 := syscall_syscall6(funcPC(libc_readlinkat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
83703 n = int(r0)
83704 if e1 != 0 {
83705 err = errnoErr(e1)
83706@@ -1146,6 +1759,11 @@ func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
83707 return
83708 }
83709
83710+func libc_readlinkat_trampoline()
83711+
83712+//go:linkname libc_readlinkat libc_readlinkat
83713+//go:cgo_import_dynamic libc_readlinkat readlinkat "/usr/lib/libSystem.B.dylib"
83714+
83715 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83716
83717 func Rename(from string, to string) (err error) {
83718@@ -1159,13 +1777,18 @@ func Rename(from string, to string) (err error) {
83719 if err != nil {
83720 return
83721 }
83722- _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
83723+ _, _, e1 := syscall_syscall(funcPC(libc_rename_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
83724 if e1 != 0 {
83725 err = errnoErr(e1)
83726 }
83727 return
83728 }
83729
83730+func libc_rename_trampoline()
83731+
83732+//go:linkname libc_rename libc_rename
83733+//go:cgo_import_dynamic libc_rename rename "/usr/lib/libSystem.B.dylib"
83734+
83735 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83736
83737 func Renameat(fromfd int, from string, tofd int, to string) (err error) {
83738@@ -1179,13 +1802,18 @@ func Renameat(fromfd int, from string, tofd int, to string) (err error) {
83739 if err != nil {
83740 return
83741 }
83742- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0)
83743+ _, _, e1 := syscall_syscall6(funcPC(libc_renameat_trampoline), uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0)
83744 if e1 != 0 {
83745 err = errnoErr(e1)
83746 }
83747 return
83748 }
83749
83750+func libc_renameat_trampoline()
83751+
83752+//go:linkname libc_renameat libc_renameat
83753+//go:cgo_import_dynamic libc_renameat renameat "/usr/lib/libSystem.B.dylib"
83754+
83755 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83756
83757 func Revoke(path string) (err error) {
83758@@ -1194,13 +1822,18 @@ func Revoke(path string) (err error) {
83759 if err != nil {
83760 return
83761 }
83762- _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
83763+ _, _, e1 := syscall_syscall(funcPC(libc_revoke_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
83764 if e1 != 0 {
83765 err = errnoErr(e1)
83766 }
83767 return
83768 }
83769
83770+func libc_revoke_trampoline()
83771+
83772+//go:linkname libc_revoke libc_revoke
83773+//go:cgo_import_dynamic libc_revoke revoke "/usr/lib/libSystem.B.dylib"
83774+
83775 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83776
83777 func Rmdir(path string) (err error) {
83778@@ -1209,17 +1842,22 @@ func Rmdir(path string) (err error) {
83779 if err != nil {
83780 return
83781 }
83782- _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
83783+ _, _, e1 := syscall_syscall(funcPC(libc_rmdir_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
83784 if e1 != 0 {
83785 err = errnoErr(e1)
83786 }
83787 return
83788 }
83789
83790+func libc_rmdir_trampoline()
83791+
83792+//go:linkname libc_rmdir libc_rmdir
83793+//go:cgo_import_dynamic libc_rmdir rmdir "/usr/lib/libSystem.B.dylib"
83794+
83795 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83796
83797 func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
83798- r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
83799+ r0, _, e1 := syscall_syscall(funcPC(libc_lseek_trampoline), uintptr(fd), uintptr(offset), uintptr(whence))
83800 newoffset = int64(r0)
83801 if e1 != 0 {
83802 err = errnoErr(e1)
83803@@ -1227,46 +1865,72 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
83804 return
83805 }
83806
83807+func libc_lseek_trampoline()
83808+
83809+//go:linkname libc_lseek libc_lseek
83810+//go:cgo_import_dynamic libc_lseek lseek "/usr/lib/libSystem.B.dylib"
83811+
83812 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83813
83814-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
83815- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
83816+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
83817+ r0, _, e1 := syscall_syscall6(funcPC(libc_select_trampoline), uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
83818+ n = int(r0)
83819 if e1 != 0 {
83820 err = errnoErr(e1)
83821 }
83822 return
83823 }
83824
83825+func libc_select_trampoline()
83826+
83827+//go:linkname libc_select libc_select
83828+//go:cgo_import_dynamic libc_select select "/usr/lib/libSystem.B.dylib"
83829+
83830 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83831
83832 func Setegid(egid int) (err error) {
83833- _, _, e1 := Syscall(SYS_SETEGID, uintptr(egid), 0, 0)
83834+ _, _, e1 := syscall_syscall(funcPC(libc_setegid_trampoline), uintptr(egid), 0, 0)
83835 if e1 != 0 {
83836 err = errnoErr(e1)
83837 }
83838 return
83839 }
83840
83841+func libc_setegid_trampoline()
83842+
83843+//go:linkname libc_setegid libc_setegid
83844+//go:cgo_import_dynamic libc_setegid setegid "/usr/lib/libSystem.B.dylib"
83845+
83846 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83847
83848 func Seteuid(euid int) (err error) {
83849- _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0)
83850+ _, _, e1 := syscall_rawSyscall(funcPC(libc_seteuid_trampoline), uintptr(euid), 0, 0)
83851 if e1 != 0 {
83852 err = errnoErr(e1)
83853 }
83854 return
83855 }
83856
83857+func libc_seteuid_trampoline()
83858+
83859+//go:linkname libc_seteuid libc_seteuid
83860+//go:cgo_import_dynamic libc_seteuid seteuid "/usr/lib/libSystem.B.dylib"
83861+
83862 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83863
83864 func Setgid(gid int) (err error) {
83865- _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0)
83866+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setgid_trampoline), uintptr(gid), 0, 0)
83867 if e1 != 0 {
83868 err = errnoErr(e1)
83869 }
83870 return
83871 }
83872
83873+func libc_setgid_trampoline()
83874+
83875+//go:linkname libc_setgid libc_setgid
83876+//go:cgo_import_dynamic libc_setgid setgid "/usr/lib/libSystem.B.dylib"
83877+
83878 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83879
83880 func Setlogin(name string) (err error) {
83881@@ -1275,77 +1939,112 @@ func Setlogin(name string) (err error) {
83882 if err != nil {
83883 return
83884 }
83885- _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
83886+ _, _, e1 := syscall_syscall(funcPC(libc_setlogin_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
83887 if e1 != 0 {
83888 err = errnoErr(e1)
83889 }
83890 return
83891 }
83892
83893+func libc_setlogin_trampoline()
83894+
83895+//go:linkname libc_setlogin libc_setlogin
83896+//go:cgo_import_dynamic libc_setlogin setlogin "/usr/lib/libSystem.B.dylib"
83897+
83898 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83899
83900 func Setpgid(pid int, pgid int) (err error) {
83901- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
83902+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setpgid_trampoline), uintptr(pid), uintptr(pgid), 0)
83903 if e1 != 0 {
83904 err = errnoErr(e1)
83905 }
83906 return
83907 }
83908
83909+func libc_setpgid_trampoline()
83910+
83911+//go:linkname libc_setpgid libc_setpgid
83912+//go:cgo_import_dynamic libc_setpgid setpgid "/usr/lib/libSystem.B.dylib"
83913+
83914 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83915
83916 func Setpriority(which int, who int, prio int) (err error) {
83917- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
83918+ _, _, e1 := syscall_syscall(funcPC(libc_setpriority_trampoline), uintptr(which), uintptr(who), uintptr(prio))
83919 if e1 != 0 {
83920 err = errnoErr(e1)
83921 }
83922 return
83923 }
83924
83925+func libc_setpriority_trampoline()
83926+
83927+//go:linkname libc_setpriority libc_setpriority
83928+//go:cgo_import_dynamic libc_setpriority setpriority "/usr/lib/libSystem.B.dylib"
83929+
83930 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83931
83932 func Setprivexec(flag int) (err error) {
83933- _, _, e1 := Syscall(SYS_SETPRIVEXEC, uintptr(flag), 0, 0)
83934+ _, _, e1 := syscall_syscall(funcPC(libc_setprivexec_trampoline), uintptr(flag), 0, 0)
83935 if e1 != 0 {
83936 err = errnoErr(e1)
83937 }
83938 return
83939 }
83940
83941+func libc_setprivexec_trampoline()
83942+
83943+//go:linkname libc_setprivexec libc_setprivexec
83944+//go:cgo_import_dynamic libc_setprivexec setprivexec "/usr/lib/libSystem.B.dylib"
83945+
83946 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83947
83948 func Setregid(rgid int, egid int) (err error) {
83949- _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
83950+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setregid_trampoline), uintptr(rgid), uintptr(egid), 0)
83951 if e1 != 0 {
83952 err = errnoErr(e1)
83953 }
83954 return
83955 }
83956
83957+func libc_setregid_trampoline()
83958+
83959+//go:linkname libc_setregid libc_setregid
83960+//go:cgo_import_dynamic libc_setregid setregid "/usr/lib/libSystem.B.dylib"
83961+
83962 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83963
83964 func Setreuid(ruid int, euid int) (err error) {
83965- _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
83966+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setreuid_trampoline), uintptr(ruid), uintptr(euid), 0)
83967 if e1 != 0 {
83968 err = errnoErr(e1)
83969 }
83970 return
83971 }
83972
83973+func libc_setreuid_trampoline()
83974+
83975+//go:linkname libc_setreuid libc_setreuid
83976+//go:cgo_import_dynamic libc_setreuid setreuid "/usr/lib/libSystem.B.dylib"
83977+
83978 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83979
83980 func Setrlimit(which int, lim *Rlimit) (err error) {
83981- _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
83982+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setrlimit_trampoline), uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
83983 if e1 != 0 {
83984 err = errnoErr(e1)
83985 }
83986 return
83987 }
83988
83989+func libc_setrlimit_trampoline()
83990+
83991+//go:linkname libc_setrlimit libc_setrlimit
83992+//go:cgo_import_dynamic libc_setrlimit setrlimit "/usr/lib/libSystem.B.dylib"
83993+
83994 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
83995
83996 func Setsid() (pid int, err error) {
83997- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
83998+ r0, _, e1 := syscall_rawSyscall(funcPC(libc_setsid_trampoline), 0, 0, 0)
83999 pid = int(r0)
84000 if e1 != 0 {
84001 err = errnoErr(e1)
84002@@ -1353,55 +2052,40 @@ func Setsid() (pid int, err error) {
84003 return
84004 }
84005
84006+func libc_setsid_trampoline()
84007+
84008+//go:linkname libc_setsid libc_setsid
84009+//go:cgo_import_dynamic libc_setsid setsid "/usr/lib/libSystem.B.dylib"
84010+
84011 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84012
84013 func Settimeofday(tp *Timeval) (err error) {
84014- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
84015+ _, _, e1 := syscall_rawSyscall(funcPC(libc_settimeofday_trampoline), uintptr(unsafe.Pointer(tp)), 0, 0)
84016 if e1 != 0 {
84017 err = errnoErr(e1)
84018 }
84019 return
84020 }
84021
84022-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84023+func libc_settimeofday_trampoline()
84024
84025-func Setuid(uid int) (err error) {
84026- _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
84027- if e1 != 0 {
84028- err = errnoErr(e1)
84029- }
84030- return
84031-}
84032+//go:linkname libc_settimeofday libc_settimeofday
84033+//go:cgo_import_dynamic libc_settimeofday settimeofday "/usr/lib/libSystem.B.dylib"
84034
84035 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84036
84037-func Stat(path string, stat *Stat_t) (err error) {
84038- var _p0 *byte
84039- _p0, err = BytePtrFromString(path)
84040- if err != nil {
84041- return
84042- }
84043- _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
84044+func Setuid(uid int) (err error) {
84045+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setuid_trampoline), uintptr(uid), 0, 0)
84046 if e1 != 0 {
84047 err = errnoErr(e1)
84048 }
84049 return
84050 }
84051
84052-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84053+func libc_setuid_trampoline()
84054
84055-func Statfs(path string, stat *Statfs_t) (err error) {
84056- var _p0 *byte
84057- _p0, err = BytePtrFromString(path)
84058- if err != nil {
84059- return
84060- }
84061- _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
84062- if e1 != 0 {
84063- err = errnoErr(e1)
84064- }
84065- return
84066-}
84067+//go:linkname libc_setuid libc_setuid
84068+//go:cgo_import_dynamic libc_setuid setuid "/usr/lib/libSystem.B.dylib"
84069
84070 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84071
84072@@ -1416,13 +2100,18 @@ func Symlink(path string, link string) (err error) {
84073 if err != nil {
84074 return
84075 }
84076- _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
84077+ _, _, e1 := syscall_syscall(funcPC(libc_symlink_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
84078 if e1 != 0 {
84079 err = errnoErr(e1)
84080 }
84081 return
84082 }
84083
84084+func libc_symlink_trampoline()
84085+
84086+//go:linkname libc_symlink libc_symlink
84087+//go:cgo_import_dynamic libc_symlink symlink "/usr/lib/libSystem.B.dylib"
84088+
84089 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84090
84091 func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
84092@@ -1436,23 +2125,33 @@ func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
84093 if err != nil {
84094 return
84095 }
84096- _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
84097+ _, _, e1 := syscall_syscall(funcPC(libc_symlinkat_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
84098 if e1 != 0 {
84099 err = errnoErr(e1)
84100 }
84101 return
84102 }
84103
84104+func libc_symlinkat_trampoline()
84105+
84106+//go:linkname libc_symlinkat libc_symlinkat
84107+//go:cgo_import_dynamic libc_symlinkat symlinkat "/usr/lib/libSystem.B.dylib"
84108+
84109 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84110
84111 func Sync() (err error) {
84112- _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
84113+ _, _, e1 := syscall_syscall(funcPC(libc_sync_trampoline), 0, 0, 0)
84114 if e1 != 0 {
84115 err = errnoErr(e1)
84116 }
84117 return
84118 }
84119
84120+func libc_sync_trampoline()
84121+
84122+//go:linkname libc_sync libc_sync
84123+//go:cgo_import_dynamic libc_sync sync "/usr/lib/libSystem.B.dylib"
84124+
84125 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84126
84127 func Truncate(path string, length int64) (err error) {
84128@@ -1461,21 +2160,31 @@ func Truncate(path string, length int64) (err error) {
84129 if err != nil {
84130 return
84131 }
84132- _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
84133+ _, _, e1 := syscall_syscall(funcPC(libc_truncate_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
84134 if e1 != 0 {
84135 err = errnoErr(e1)
84136 }
84137 return
84138 }
84139
84140+func libc_truncate_trampoline()
84141+
84142+//go:linkname libc_truncate libc_truncate
84143+//go:cgo_import_dynamic libc_truncate truncate "/usr/lib/libSystem.B.dylib"
84144+
84145 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84146
84147 func Umask(newmask int) (oldmask int) {
84148- r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0)
84149+ r0, _, _ := syscall_syscall(funcPC(libc_umask_trampoline), uintptr(newmask), 0, 0)
84150 oldmask = int(r0)
84151 return
84152 }
84153
84154+func libc_umask_trampoline()
84155+
84156+//go:linkname libc_umask libc_umask
84157+//go:cgo_import_dynamic libc_umask umask "/usr/lib/libSystem.B.dylib"
84158+
84159 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84160
84161 func Undelete(path string) (err error) {
84162@@ -1484,13 +2193,18 @@ func Undelete(path string) (err error) {
84163 if err != nil {
84164 return
84165 }
84166- _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
84167+ _, _, e1 := syscall_syscall(funcPC(libc_undelete_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
84168 if e1 != 0 {
84169 err = errnoErr(e1)
84170 }
84171 return
84172 }
84173
84174+func libc_undelete_trampoline()
84175+
84176+//go:linkname libc_undelete libc_undelete
84177+//go:cgo_import_dynamic libc_undelete undelete "/usr/lib/libSystem.B.dylib"
84178+
84179 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84180
84181 func Unlink(path string) (err error) {
84182@@ -1499,13 +2213,18 @@ func Unlink(path string) (err error) {
84183 if err != nil {
84184 return
84185 }
84186- _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
84187+ _, _, e1 := syscall_syscall(funcPC(libc_unlink_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
84188 if e1 != 0 {
84189 err = errnoErr(e1)
84190 }
84191 return
84192 }
84193
84194+func libc_unlink_trampoline()
84195+
84196+//go:linkname libc_unlink libc_unlink
84197+//go:cgo_import_dynamic libc_unlink unlink "/usr/lib/libSystem.B.dylib"
84198+
84199 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84200
84201 func Unlinkat(dirfd int, path string, flags int) (err error) {
84202@@ -1514,13 +2233,18 @@ func Unlinkat(dirfd int, path string, flags int) (err error) {
84203 if err != nil {
84204 return
84205 }
84206- _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
84207+ _, _, e1 := syscall_syscall(funcPC(libc_unlinkat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
84208 if e1 != 0 {
84209 err = errnoErr(e1)
84210 }
84211 return
84212 }
84213
84214+func libc_unlinkat_trampoline()
84215+
84216+//go:linkname libc_unlinkat libc_unlinkat
84217+//go:cgo_import_dynamic libc_unlinkat unlinkat "/usr/lib/libSystem.B.dylib"
84218+
84219 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84220
84221 func Unmount(path string, flags int) (err error) {
84222@@ -1529,13 +2253,18 @@ func Unmount(path string, flags int) (err error) {
84223 if err != nil {
84224 return
84225 }
84226- _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
84227+ _, _, e1 := syscall_syscall(funcPC(libc_unmount_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
84228 if e1 != 0 {
84229 err = errnoErr(e1)
84230 }
84231 return
84232 }
84233
84234+func libc_unmount_trampoline()
84235+
84236+//go:linkname libc_unmount libc_unmount
84237+//go:cgo_import_dynamic libc_unmount unmount "/usr/lib/libSystem.B.dylib"
84238+
84239 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84240
84241 func write(fd int, p []byte) (n int, err error) {
84242@@ -1545,7 +2274,7 @@ func write(fd int, p []byte) (n int, err error) {
84243 } else {
84244 _p0 = unsafe.Pointer(&_zero)
84245 }
84246- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
84247+ r0, _, e1 := syscall_syscall(funcPC(libc_write_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)))
84248 n = int(r0)
84249 if e1 != 0 {
84250 err = errnoErr(e1)
84251@@ -1553,10 +2282,15 @@ func write(fd int, p []byte) (n int, err error) {
84252 return
84253 }
84254
84255+func libc_write_trampoline()
84256+
84257+//go:linkname libc_write libc_write
84258+//go:cgo_import_dynamic libc_write write "/usr/lib/libSystem.B.dylib"
84259+
84260 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84261
84262 func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
84263- r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos))
84264+ r0, _, e1 := syscall_syscall6(funcPC(libc_mmap_trampoline), uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos))
84265 ret = uintptr(r0)
84266 if e1 != 0 {
84267 err = errnoErr(e1)
84268@@ -1564,20 +2298,30 @@ func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (
84269 return
84270 }
84271
84272+func libc_mmap_trampoline()
84273+
84274+//go:linkname libc_mmap libc_mmap
84275+//go:cgo_import_dynamic libc_mmap mmap "/usr/lib/libSystem.B.dylib"
84276+
84277 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84278
84279 func munmap(addr uintptr, length uintptr) (err error) {
84280- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
84281+ _, _, e1 := syscall_syscall(funcPC(libc_munmap_trampoline), uintptr(addr), uintptr(length), 0)
84282 if e1 != 0 {
84283 err = errnoErr(e1)
84284 }
84285 return
84286 }
84287
84288+func libc_munmap_trampoline()
84289+
84290+//go:linkname libc_munmap libc_munmap
84291+//go:cgo_import_dynamic libc_munmap munmap "/usr/lib/libSystem.B.dylib"
84292+
84293 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84294
84295 func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
84296- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
84297+ r0, _, e1 := syscall_syscall(funcPC(libc_read_trampoline), uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
84298 n = int(r0)
84299 if e1 != 0 {
84300 err = errnoErr(e1)
84301@@ -1588,7 +2332,7 @@ func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
84302 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84303
84304 func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
84305- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
84306+ r0, _, e1 := syscall_syscall(funcPC(libc_write_trampoline), uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
84307 n = int(r0)
84308 if e1 != 0 {
84309 err = errnoErr(e1)
84310@@ -1599,7 +2343,7 @@ func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
84311 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84312
84313 func gettimeofday(tp *Timeval) (sec int64, usec int32, err error) {
84314- r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
84315+ r0, r1, e1 := syscall_rawSyscall(funcPC(libc_gettimeofday_trampoline), uintptr(unsafe.Pointer(tp)), 0, 0)
84316 sec = int64(r0)
84317 usec = int32(r1)
84318 if e1 != 0 {
84319@@ -1607,3 +2351,134 @@ func gettimeofday(tp *Timeval) (sec int64, usec int32, err error) {
84320 }
84321 return
84322 }
84323+
84324+func libc_gettimeofday_trampoline()
84325+
84326+//go:linkname libc_gettimeofday libc_gettimeofday
84327+//go:cgo_import_dynamic libc_gettimeofday gettimeofday "/usr/lib/libSystem.B.dylib"
84328+
84329+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84330+
84331+func Fstat(fd int, stat *Stat_t) (err error) {
84332+ _, _, e1 := syscall_syscall(funcPC(libc_fstat_trampoline), uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
84333+ if e1 != 0 {
84334+ err = errnoErr(e1)
84335+ }
84336+ return
84337+}
84338+
84339+func libc_fstat_trampoline()
84340+
84341+//go:linkname libc_fstat libc_fstat
84342+//go:cgo_import_dynamic libc_fstat fstat "/usr/lib/libSystem.B.dylib"
84343+
84344+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84345+
84346+func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
84347+ var _p0 *byte
84348+ _p0, err = BytePtrFromString(path)
84349+ if err != nil {
84350+ return
84351+ }
84352+ _, _, e1 := syscall_syscall6(funcPC(libc_fstatat_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
84353+ if e1 != 0 {
84354+ err = errnoErr(e1)
84355+ }
84356+ return
84357+}
84358+
84359+func libc_fstatat_trampoline()
84360+
84361+//go:linkname libc_fstatat libc_fstatat
84362+//go:cgo_import_dynamic libc_fstatat fstatat "/usr/lib/libSystem.B.dylib"
84363+
84364+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84365+
84366+func Fstatfs(fd int, stat *Statfs_t) (err error) {
84367+ _, _, e1 := syscall_syscall(funcPC(libc_fstatfs_trampoline), uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
84368+ if e1 != 0 {
84369+ err = errnoErr(e1)
84370+ }
84371+ return
84372+}
84373+
84374+func libc_fstatfs_trampoline()
84375+
84376+//go:linkname libc_fstatfs libc_fstatfs
84377+//go:cgo_import_dynamic libc_fstatfs fstatfs "/usr/lib/libSystem.B.dylib"
84378+
84379+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84380+
84381+func getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) {
84382+ r0, _, e1 := syscall_syscall(funcPC(libc_getfsstat_trampoline), uintptr(buf), uintptr(size), uintptr(flags))
84383+ n = int(r0)
84384+ if e1 != 0 {
84385+ err = errnoErr(e1)
84386+ }
84387+ return
84388+}
84389+
84390+func libc_getfsstat_trampoline()
84391+
84392+//go:linkname libc_getfsstat libc_getfsstat
84393+//go:cgo_import_dynamic libc_getfsstat getfsstat "/usr/lib/libSystem.B.dylib"
84394+
84395+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84396+
84397+func Lstat(path string, stat *Stat_t) (err error) {
84398+ var _p0 *byte
84399+ _p0, err = BytePtrFromString(path)
84400+ if err != nil {
84401+ return
84402+ }
84403+ _, _, e1 := syscall_syscall(funcPC(libc_lstat_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
84404+ if e1 != 0 {
84405+ err = errnoErr(e1)
84406+ }
84407+ return
84408+}
84409+
84410+func libc_lstat_trampoline()
84411+
84412+//go:linkname libc_lstat libc_lstat
84413+//go:cgo_import_dynamic libc_lstat lstat "/usr/lib/libSystem.B.dylib"
84414+
84415+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84416+
84417+func Stat(path string, stat *Stat_t) (err error) {
84418+ var _p0 *byte
84419+ _p0, err = BytePtrFromString(path)
84420+ if err != nil {
84421+ return
84422+ }
84423+ _, _, e1 := syscall_syscall(funcPC(libc_stat_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
84424+ if e1 != 0 {
84425+ err = errnoErr(e1)
84426+ }
84427+ return
84428+}
84429+
84430+func libc_stat_trampoline()
84431+
84432+//go:linkname libc_stat libc_stat
84433+//go:cgo_import_dynamic libc_stat stat "/usr/lib/libSystem.B.dylib"
84434+
84435+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84436+
84437+func Statfs(path string, stat *Statfs_t) (err error) {
84438+ var _p0 *byte
84439+ _p0, err = BytePtrFromString(path)
84440+ if err != nil {
84441+ return
84442+ }
84443+ _, _, e1 := syscall_syscall(funcPC(libc_statfs_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
84444+ if e1 != 0 {
84445+ err = errnoErr(e1)
84446+ }
84447+ return
84448+}
84449+
84450+func libc_statfs_trampoline()
84451+
84452+//go:linkname libc_statfs libc_statfs
84453+//go:cgo_import_dynamic libc_statfs statfs "/usr/lib/libSystem.B.dylib"
84454diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s
84455new file mode 100644
84456index 00000000..40cce1bb
84457--- /dev/null
84458+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s
84459@@ -0,0 +1,282 @@
84460+// go run mkasm_darwin.go arm64
84461+// Code generated by the command above; DO NOT EDIT.
84462+
84463+// +build go1.12
84464+
84465+#include "textflag.h"
84466+TEXT ·libc_getgroups_trampoline(SB),NOSPLIT,$0-0
84467+ JMP libc_getgroups(SB)
84468+TEXT ·libc_setgroups_trampoline(SB),NOSPLIT,$0-0
84469+ JMP libc_setgroups(SB)
84470+TEXT ·libc_wait4_trampoline(SB),NOSPLIT,$0-0
84471+ JMP libc_wait4(SB)
84472+TEXT ·libc_accept_trampoline(SB),NOSPLIT,$0-0
84473+ JMP libc_accept(SB)
84474+TEXT ·libc_bind_trampoline(SB),NOSPLIT,$0-0
84475+ JMP libc_bind(SB)
84476+TEXT ·libc_connect_trampoline(SB),NOSPLIT,$0-0
84477+ JMP libc_connect(SB)
84478+TEXT ·libc_socket_trampoline(SB),NOSPLIT,$0-0
84479+ JMP libc_socket(SB)
84480+TEXT ·libc_getsockopt_trampoline(SB),NOSPLIT,$0-0
84481+ JMP libc_getsockopt(SB)
84482+TEXT ·libc_setsockopt_trampoline(SB),NOSPLIT,$0-0
84483+ JMP libc_setsockopt(SB)
84484+TEXT ·libc_getpeername_trampoline(SB),NOSPLIT,$0-0
84485+ JMP libc_getpeername(SB)
84486+TEXT ·libc_getsockname_trampoline(SB),NOSPLIT,$0-0
84487+ JMP libc_getsockname(SB)
84488+TEXT ·libc_shutdown_trampoline(SB),NOSPLIT,$0-0
84489+ JMP libc_shutdown(SB)
84490+TEXT ·libc_socketpair_trampoline(SB),NOSPLIT,$0-0
84491+ JMP libc_socketpair(SB)
84492+TEXT ·libc_recvfrom_trampoline(SB),NOSPLIT,$0-0
84493+ JMP libc_recvfrom(SB)
84494+TEXT ·libc_sendto_trampoline(SB),NOSPLIT,$0-0
84495+ JMP libc_sendto(SB)
84496+TEXT ·libc_recvmsg_trampoline(SB),NOSPLIT,$0-0
84497+ JMP libc_recvmsg(SB)
84498+TEXT ·libc_sendmsg_trampoline(SB),NOSPLIT,$0-0
84499+ JMP libc_sendmsg(SB)
84500+TEXT ·libc_kevent_trampoline(SB),NOSPLIT,$0-0
84501+ JMP libc_kevent(SB)
84502+TEXT ·libc_utimes_trampoline(SB),NOSPLIT,$0-0
84503+ JMP libc_utimes(SB)
84504+TEXT ·libc_futimes_trampoline(SB),NOSPLIT,$0-0
84505+ JMP libc_futimes(SB)
84506+TEXT ·libc_poll_trampoline(SB),NOSPLIT,$0-0
84507+ JMP libc_poll(SB)
84508+TEXT ·libc_madvise_trampoline(SB),NOSPLIT,$0-0
84509+ JMP libc_madvise(SB)
84510+TEXT ·libc_mlock_trampoline(SB),NOSPLIT,$0-0
84511+ JMP libc_mlock(SB)
84512+TEXT ·libc_mlockall_trampoline(SB),NOSPLIT,$0-0
84513+ JMP libc_mlockall(SB)
84514+TEXT ·libc_mprotect_trampoline(SB),NOSPLIT,$0-0
84515+ JMP libc_mprotect(SB)
84516+TEXT ·libc_msync_trampoline(SB),NOSPLIT,$0-0
84517+ JMP libc_msync(SB)
84518+TEXT ·libc_munlock_trampoline(SB),NOSPLIT,$0-0
84519+ JMP libc_munlock(SB)
84520+TEXT ·libc_munlockall_trampoline(SB),NOSPLIT,$0-0
84521+ JMP libc_munlockall(SB)
84522+TEXT ·libc_getattrlist_trampoline(SB),NOSPLIT,$0-0
84523+ JMP libc_getattrlist(SB)
84524+TEXT ·libc_pipe_trampoline(SB),NOSPLIT,$0-0
84525+ JMP libc_pipe(SB)
84526+TEXT ·libc_getxattr_trampoline(SB),NOSPLIT,$0-0
84527+ JMP libc_getxattr(SB)
84528+TEXT ·libc_fgetxattr_trampoline(SB),NOSPLIT,$0-0
84529+ JMP libc_fgetxattr(SB)
84530+TEXT ·libc_setxattr_trampoline(SB),NOSPLIT,$0-0
84531+ JMP libc_setxattr(SB)
84532+TEXT ·libc_fsetxattr_trampoline(SB),NOSPLIT,$0-0
84533+ JMP libc_fsetxattr(SB)
84534+TEXT ·libc_removexattr_trampoline(SB),NOSPLIT,$0-0
84535+ JMP libc_removexattr(SB)
84536+TEXT ·libc_fremovexattr_trampoline(SB),NOSPLIT,$0-0
84537+ JMP libc_fremovexattr(SB)
84538+TEXT ·libc_listxattr_trampoline(SB),NOSPLIT,$0-0
84539+ JMP libc_listxattr(SB)
84540+TEXT ·libc_flistxattr_trampoline(SB),NOSPLIT,$0-0
84541+ JMP libc_flistxattr(SB)
84542+TEXT ·libc_setattrlist_trampoline(SB),NOSPLIT,$0-0
84543+ JMP libc_setattrlist(SB)
84544+TEXT ·libc_fcntl_trampoline(SB),NOSPLIT,$0-0
84545+ JMP libc_fcntl(SB)
84546+TEXT ·libc_kill_trampoline(SB),NOSPLIT,$0-0
84547+ JMP libc_kill(SB)
84548+TEXT ·libc_ioctl_trampoline(SB),NOSPLIT,$0-0
84549+ JMP libc_ioctl(SB)
84550+TEXT ·libc_sysctl_trampoline(SB),NOSPLIT,$0-0
84551+ JMP libc_sysctl(SB)
84552+TEXT ·libc_sendfile_trampoline(SB),NOSPLIT,$0-0
84553+ JMP libc_sendfile(SB)
84554+TEXT ·libc_access_trampoline(SB),NOSPLIT,$0-0
84555+ JMP libc_access(SB)
84556+TEXT ·libc_adjtime_trampoline(SB),NOSPLIT,$0-0
84557+ JMP libc_adjtime(SB)
84558+TEXT ·libc_chdir_trampoline(SB),NOSPLIT,$0-0
84559+ JMP libc_chdir(SB)
84560+TEXT ·libc_chflags_trampoline(SB),NOSPLIT,$0-0
84561+ JMP libc_chflags(SB)
84562+TEXT ·libc_chmod_trampoline(SB),NOSPLIT,$0-0
84563+ JMP libc_chmod(SB)
84564+TEXT ·libc_chown_trampoline(SB),NOSPLIT,$0-0
84565+ JMP libc_chown(SB)
84566+TEXT ·libc_chroot_trampoline(SB),NOSPLIT,$0-0
84567+ JMP libc_chroot(SB)
84568+TEXT ·libc_clock_gettime_trampoline(SB),NOSPLIT,$0-0
84569+ JMP libc_clock_gettime(SB)
84570+TEXT ·libc_close_trampoline(SB),NOSPLIT,$0-0
84571+ JMP libc_close(SB)
84572+TEXT ·libc_dup_trampoline(SB),NOSPLIT,$0-0
84573+ JMP libc_dup(SB)
84574+TEXT ·libc_dup2_trampoline(SB),NOSPLIT,$0-0
84575+ JMP libc_dup2(SB)
84576+TEXT ·libc_exchangedata_trampoline(SB),NOSPLIT,$0-0
84577+ JMP libc_exchangedata(SB)
84578+TEXT ·libc_exit_trampoline(SB),NOSPLIT,$0-0
84579+ JMP libc_exit(SB)
84580+TEXT ·libc_faccessat_trampoline(SB),NOSPLIT,$0-0
84581+ JMP libc_faccessat(SB)
84582+TEXT ·libc_fchdir_trampoline(SB),NOSPLIT,$0-0
84583+ JMP libc_fchdir(SB)
84584+TEXT ·libc_fchflags_trampoline(SB),NOSPLIT,$0-0
84585+ JMP libc_fchflags(SB)
84586+TEXT ·libc_fchmod_trampoline(SB),NOSPLIT,$0-0
84587+ JMP libc_fchmod(SB)
84588+TEXT ·libc_fchmodat_trampoline(SB),NOSPLIT,$0-0
84589+ JMP libc_fchmodat(SB)
84590+TEXT ·libc_fchown_trampoline(SB),NOSPLIT,$0-0
84591+ JMP libc_fchown(SB)
84592+TEXT ·libc_fchownat_trampoline(SB),NOSPLIT,$0-0
84593+ JMP libc_fchownat(SB)
84594+TEXT ·libc_flock_trampoline(SB),NOSPLIT,$0-0
84595+ JMP libc_flock(SB)
84596+TEXT ·libc_fpathconf_trampoline(SB),NOSPLIT,$0-0
84597+ JMP libc_fpathconf(SB)
84598+TEXT ·libc_fsync_trampoline(SB),NOSPLIT,$0-0
84599+ JMP libc_fsync(SB)
84600+TEXT ·libc_ftruncate_trampoline(SB),NOSPLIT,$0-0
84601+ JMP libc_ftruncate(SB)
84602+TEXT ·libc_getdtablesize_trampoline(SB),NOSPLIT,$0-0
84603+ JMP libc_getdtablesize(SB)
84604+TEXT ·libc_getegid_trampoline(SB),NOSPLIT,$0-0
84605+ JMP libc_getegid(SB)
84606+TEXT ·libc_geteuid_trampoline(SB),NOSPLIT,$0-0
84607+ JMP libc_geteuid(SB)
84608+TEXT ·libc_getgid_trampoline(SB),NOSPLIT,$0-0
84609+ JMP libc_getgid(SB)
84610+TEXT ·libc_getpgid_trampoline(SB),NOSPLIT,$0-0
84611+ JMP libc_getpgid(SB)
84612+TEXT ·libc_getpgrp_trampoline(SB),NOSPLIT,$0-0
84613+ JMP libc_getpgrp(SB)
84614+TEXT ·libc_getpid_trampoline(SB),NOSPLIT,$0-0
84615+ JMP libc_getpid(SB)
84616+TEXT ·libc_getppid_trampoline(SB),NOSPLIT,$0-0
84617+ JMP libc_getppid(SB)
84618+TEXT ·libc_getpriority_trampoline(SB),NOSPLIT,$0-0
84619+ JMP libc_getpriority(SB)
84620+TEXT ·libc_getrlimit_trampoline(SB),NOSPLIT,$0-0
84621+ JMP libc_getrlimit(SB)
84622+TEXT ·libc_getrusage_trampoline(SB),NOSPLIT,$0-0
84623+ JMP libc_getrusage(SB)
84624+TEXT ·libc_getsid_trampoline(SB),NOSPLIT,$0-0
84625+ JMP libc_getsid(SB)
84626+TEXT ·libc_getuid_trampoline(SB),NOSPLIT,$0-0
84627+ JMP libc_getuid(SB)
84628+TEXT ·libc_issetugid_trampoline(SB),NOSPLIT,$0-0
84629+ JMP libc_issetugid(SB)
84630+TEXT ·libc_kqueue_trampoline(SB),NOSPLIT,$0-0
84631+ JMP libc_kqueue(SB)
84632+TEXT ·libc_lchown_trampoline(SB),NOSPLIT,$0-0
84633+ JMP libc_lchown(SB)
84634+TEXT ·libc_link_trampoline(SB),NOSPLIT,$0-0
84635+ JMP libc_link(SB)
84636+TEXT ·libc_linkat_trampoline(SB),NOSPLIT,$0-0
84637+ JMP libc_linkat(SB)
84638+TEXT ·libc_listen_trampoline(SB),NOSPLIT,$0-0
84639+ JMP libc_listen(SB)
84640+TEXT ·libc_mkdir_trampoline(SB),NOSPLIT,$0-0
84641+ JMP libc_mkdir(SB)
84642+TEXT ·libc_mkdirat_trampoline(SB),NOSPLIT,$0-0
84643+ JMP libc_mkdirat(SB)
84644+TEXT ·libc_mkfifo_trampoline(SB),NOSPLIT,$0-0
84645+ JMP libc_mkfifo(SB)
84646+TEXT ·libc_mknod_trampoline(SB),NOSPLIT,$0-0
84647+ JMP libc_mknod(SB)
84648+TEXT ·libc_open_trampoline(SB),NOSPLIT,$0-0
84649+ JMP libc_open(SB)
84650+TEXT ·libc_openat_trampoline(SB),NOSPLIT,$0-0
84651+ JMP libc_openat(SB)
84652+TEXT ·libc_pathconf_trampoline(SB),NOSPLIT,$0-0
84653+ JMP libc_pathconf(SB)
84654+TEXT ·libc_pread_trampoline(SB),NOSPLIT,$0-0
84655+ JMP libc_pread(SB)
84656+TEXT ·libc_pwrite_trampoline(SB),NOSPLIT,$0-0
84657+ JMP libc_pwrite(SB)
84658+TEXT ·libc_read_trampoline(SB),NOSPLIT,$0-0
84659+ JMP libc_read(SB)
84660+TEXT ·libc_readlink_trampoline(SB),NOSPLIT,$0-0
84661+ JMP libc_readlink(SB)
84662+TEXT ·libc_readlinkat_trampoline(SB),NOSPLIT,$0-0
84663+ JMP libc_readlinkat(SB)
84664+TEXT ·libc_rename_trampoline(SB),NOSPLIT,$0-0
84665+ JMP libc_rename(SB)
84666+TEXT ·libc_renameat_trampoline(SB),NOSPLIT,$0-0
84667+ JMP libc_renameat(SB)
84668+TEXT ·libc_revoke_trampoline(SB),NOSPLIT,$0-0
84669+ JMP libc_revoke(SB)
84670+TEXT ·libc_rmdir_trampoline(SB),NOSPLIT,$0-0
84671+ JMP libc_rmdir(SB)
84672+TEXT ·libc_lseek_trampoline(SB),NOSPLIT,$0-0
84673+ JMP libc_lseek(SB)
84674+TEXT ·libc_select_trampoline(SB),NOSPLIT,$0-0
84675+ JMP libc_select(SB)
84676+TEXT ·libc_setegid_trampoline(SB),NOSPLIT,$0-0
84677+ JMP libc_setegid(SB)
84678+TEXT ·libc_seteuid_trampoline(SB),NOSPLIT,$0-0
84679+ JMP libc_seteuid(SB)
84680+TEXT ·libc_setgid_trampoline(SB),NOSPLIT,$0-0
84681+ JMP libc_setgid(SB)
84682+TEXT ·libc_setlogin_trampoline(SB),NOSPLIT,$0-0
84683+ JMP libc_setlogin(SB)
84684+TEXT ·libc_setpgid_trampoline(SB),NOSPLIT,$0-0
84685+ JMP libc_setpgid(SB)
84686+TEXT ·libc_setpriority_trampoline(SB),NOSPLIT,$0-0
84687+ JMP libc_setpriority(SB)
84688+TEXT ·libc_setprivexec_trampoline(SB),NOSPLIT,$0-0
84689+ JMP libc_setprivexec(SB)
84690+TEXT ·libc_setregid_trampoline(SB),NOSPLIT,$0-0
84691+ JMP libc_setregid(SB)
84692+TEXT ·libc_setreuid_trampoline(SB),NOSPLIT,$0-0
84693+ JMP libc_setreuid(SB)
84694+TEXT ·libc_setrlimit_trampoline(SB),NOSPLIT,$0-0
84695+ JMP libc_setrlimit(SB)
84696+TEXT ·libc_setsid_trampoline(SB),NOSPLIT,$0-0
84697+ JMP libc_setsid(SB)
84698+TEXT ·libc_settimeofday_trampoline(SB),NOSPLIT,$0-0
84699+ JMP libc_settimeofday(SB)
84700+TEXT ·libc_setuid_trampoline(SB),NOSPLIT,$0-0
84701+ JMP libc_setuid(SB)
84702+TEXT ·libc_symlink_trampoline(SB),NOSPLIT,$0-0
84703+ JMP libc_symlink(SB)
84704+TEXT ·libc_symlinkat_trampoline(SB),NOSPLIT,$0-0
84705+ JMP libc_symlinkat(SB)
84706+TEXT ·libc_sync_trampoline(SB),NOSPLIT,$0-0
84707+ JMP libc_sync(SB)
84708+TEXT ·libc_truncate_trampoline(SB),NOSPLIT,$0-0
84709+ JMP libc_truncate(SB)
84710+TEXT ·libc_umask_trampoline(SB),NOSPLIT,$0-0
84711+ JMP libc_umask(SB)
84712+TEXT ·libc_undelete_trampoline(SB),NOSPLIT,$0-0
84713+ JMP libc_undelete(SB)
84714+TEXT ·libc_unlink_trampoline(SB),NOSPLIT,$0-0
84715+ JMP libc_unlink(SB)
84716+TEXT ·libc_unlinkat_trampoline(SB),NOSPLIT,$0-0
84717+ JMP libc_unlinkat(SB)
84718+TEXT ·libc_unmount_trampoline(SB),NOSPLIT,$0-0
84719+ JMP libc_unmount(SB)
84720+TEXT ·libc_write_trampoline(SB),NOSPLIT,$0-0
84721+ JMP libc_write(SB)
84722+TEXT ·libc_mmap_trampoline(SB),NOSPLIT,$0-0
84723+ JMP libc_mmap(SB)
84724+TEXT ·libc_munmap_trampoline(SB),NOSPLIT,$0-0
84725+ JMP libc_munmap(SB)
84726+TEXT ·libc_gettimeofday_trampoline(SB),NOSPLIT,$0-0
84727+ JMP libc_gettimeofday(SB)
84728+TEXT ·libc_fstat_trampoline(SB),NOSPLIT,$0-0
84729+ JMP libc_fstat(SB)
84730+TEXT ·libc_fstatat_trampoline(SB),NOSPLIT,$0-0
84731+ JMP libc_fstatat(SB)
84732+TEXT ·libc_fstatfs_trampoline(SB),NOSPLIT,$0-0
84733+ JMP libc_fstatfs(SB)
84734+TEXT ·libc_getfsstat_trampoline(SB),NOSPLIT,$0-0
84735+ JMP libc_getfsstat(SB)
84736+TEXT ·libc_lstat_trampoline(SB),NOSPLIT,$0-0
84737+ JMP libc_lstat(SB)
84738+TEXT ·libc_stat_trampoline(SB),NOSPLIT,$0-0
84739+ JMP libc_stat(SB)
84740+TEXT ·libc_statfs_trampoline(SB),NOSPLIT,$0-0
84741+ JMP libc_statfs(SB)
84742diff --git a/vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go
84743index 7fa205cd..fe1fdd78 100644
84744--- a/vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go
84745+++ b/vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go
84746@@ -1,4 +1,4 @@
84747-// mksyscall.pl -dragonfly -tags dragonfly,amd64 syscall_bsd.go syscall_dragonfly.go syscall_dragonfly_amd64.go
84748+// go run mksyscall.go -dragonfly -tags dragonfly,amd64 syscall_bsd.go syscall_dragonfly.go syscall_dragonfly_amd64.go
84749 // Code generated by the command above; see README.md. DO NOT EDIT.
84750
84751 // +build dragonfly,amd64
84752@@ -255,9 +255,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
84753
84754 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84755
84756-func fcntl(fd int, cmd int, arg int) (val int, err error) {
84757- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
84758- val = int(r0)
84759+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
84760+ r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
84761+ n = int(r0)
84762 if e1 != 0 {
84763 err = errnoErr(e1)
84764 }
84765@@ -412,6 +412,33 @@ func extpwrite(fd int, p []byte, flags int, offset int64) (n int, err error) {
84766
84767 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84768
84769+func Getcwd(buf []byte) (n int, err error) {
84770+ var _p0 unsafe.Pointer
84771+ if len(buf) > 0 {
84772+ _p0 = unsafe.Pointer(&buf[0])
84773+ } else {
84774+ _p0 = unsafe.Pointer(&_zero)
84775+ }
84776+ r0, _, e1 := Syscall(SYS___GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
84777+ n = int(r0)
84778+ if e1 != 0 {
84779+ err = errnoErr(e1)
84780+ }
84781+ return
84782+}
84783+
84784+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84785+
84786+func ioctl(fd int, req uint, arg uintptr) (err error) {
84787+ _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
84788+ if e1 != 0 {
84789+ err = errnoErr(e1)
84790+ }
84791+ return
84792+}
84793+
84794+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84795+
84796 func Access(path string, mode uint32) (err error) {
84797 var _p0 *byte
84798 _p0, err = BytePtrFromString(path)
84799@@ -550,6 +577,21 @@ func Exit(code int) {
84800
84801 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84802
84803+func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
84804+ var _p0 *byte
84805+ _p0, err = BytePtrFromString(path)
84806+ if err != nil {
84807+ return
84808+ }
84809+ _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
84810+ if e1 != 0 {
84811+ err = errnoErr(e1)
84812+ }
84813+ return
84814+}
84815+
84816+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84817+
84818 func Fchdir(fd int) (err error) {
84819 _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
84820 if e1 != 0 {
84821@@ -580,6 +622,21 @@ func Fchmod(fd int, mode uint32) (err error) {
84822
84823 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84824
84825+func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
84826+ var _p0 *byte
84827+ _p0, err = BytePtrFromString(path)
84828+ if err != nil {
84829+ return
84830+ }
84831+ _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
84832+ if e1 != 0 {
84833+ err = errnoErr(e1)
84834+ }
84835+ return
84836+}
84837+
84838+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84839+
84840 func Fchown(fd int, uid int, gid int) (err error) {
84841 _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
84842 if e1 != 0 {
84843@@ -590,6 +647,21 @@ func Fchown(fd int, uid int, gid int) (err error) {
84844
84845 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84846
84847+func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
84848+ var _p0 *byte
84849+ _p0, err = BytePtrFromString(path)
84850+ if err != nil {
84851+ return
84852+ }
84853+ _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
84854+ if e1 != 0 {
84855+ err = errnoErr(e1)
84856+ }
84857+ return
84858+}
84859+
84860+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84861+
84862 func Flock(fd int, how int) (err error) {
84863 _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
84864 if e1 != 0 {
84865@@ -621,6 +693,21 @@ func Fstat(fd int, stat *Stat_t) (err error) {
84866
84867 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84868
84869+func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
84870+ var _p0 *byte
84871+ _p0, err = BytePtrFromString(path)
84872+ if err != nil {
84873+ return
84874+ }
84875+ _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
84876+ if e1 != 0 {
84877+ err = errnoErr(e1)
84878+ }
84879+ return
84880+}
84881+
84882+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84883+
84884 func Fstatfs(fd int, stat *Statfs_t) (err error) {
84885 _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
84886 if e1 != 0 {
84887@@ -651,6 +738,23 @@ func Ftruncate(fd int, length int64) (err error) {
84888
84889 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84890
84891+func Getdents(fd int, buf []byte) (n int, err error) {
84892+ var _p0 unsafe.Pointer
84893+ if len(buf) > 0 {
84894+ _p0 = unsafe.Pointer(&buf[0])
84895+ } else {
84896+ _p0 = unsafe.Pointer(&_zero)
84897+ }
84898+ r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
84899+ n = int(r0)
84900+ if e1 != 0 {
84901+ err = errnoErr(e1)
84902+ }
84903+ return
84904+}
84905+
84906+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84907+
84908 func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
84909 var _p0 unsafe.Pointer
84910 if len(buf) > 0 {
84911@@ -859,6 +963,26 @@ func Link(path string, link string) (err error) {
84912
84913 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84914
84915+func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error) {
84916+ var _p0 *byte
84917+ _p0, err = BytePtrFromString(path)
84918+ if err != nil {
84919+ return
84920+ }
84921+ var _p1 *byte
84922+ _p1, err = BytePtrFromString(link)
84923+ if err != nil {
84924+ return
84925+ }
84926+ _, _, e1 := Syscall6(SYS_LINKAT, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
84927+ if e1 != 0 {
84928+ err = errnoErr(e1)
84929+ }
84930+ return
84931+}
84932+
84933+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84934+
84935 func Listen(s int, backlog int) (err error) {
84936 _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
84937 if e1 != 0 {
84938@@ -899,6 +1023,21 @@ func Mkdir(path string, mode uint32) (err error) {
84939
84940 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84941
84942+func Mkdirat(dirfd int, path string, mode uint32) (err error) {
84943+ var _p0 *byte
84944+ _p0, err = BytePtrFromString(path)
84945+ if err != nil {
84946+ return
84947+ }
84948+ _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
84949+ if e1 != 0 {
84950+ err = errnoErr(e1)
84951+ }
84952+ return
84953+}
84954+
84955+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84956+
84957 func Mkfifo(path string, mode uint32) (err error) {
84958 var _p0 *byte
84959 _p0, err = BytePtrFromString(path)
84960@@ -929,6 +1068,21 @@ func Mknod(path string, mode uint32, dev int) (err error) {
84961
84962 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84963
84964+func Mknodat(fd int, path string, mode uint32, dev int) (err error) {
84965+ var _p0 *byte
84966+ _p0, err = BytePtrFromString(path)
84967+ if err != nil {
84968+ return
84969+ }
84970+ _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
84971+ if e1 != 0 {
84972+ err = errnoErr(e1)
84973+ }
84974+ return
84975+}
84976+
84977+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84978+
84979 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
84980 _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
84981 if e1 != 0 {
84982@@ -955,6 +1109,22 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
84983
84984 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
84985
84986+func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
84987+ var _p0 *byte
84988+ _p0, err = BytePtrFromString(path)
84989+ if err != nil {
84990+ return
84991+ }
84992+ r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
84993+ fd = int(r0)
84994+ if e1 != 0 {
84995+ err = errnoErr(e1)
84996+ }
84997+ return
84998+}
84999+
85000+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85001+
85002 func Pathconf(path string, name int) (val int, err error) {
85003 var _p0 *byte
85004 _p0, err = BytePtrFromString(path)
85005@@ -1030,6 +1200,26 @@ func Rename(from string, to string) (err error) {
85006
85007 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85008
85009+func Renameat(fromfd int, from string, tofd int, to string) (err error) {
85010+ var _p0 *byte
85011+ _p0, err = BytePtrFromString(from)
85012+ if err != nil {
85013+ return
85014+ }
85015+ var _p1 *byte
85016+ _p1, err = BytePtrFromString(to)
85017+ if err != nil {
85018+ return
85019+ }
85020+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0)
85021+ if e1 != 0 {
85022+ err = errnoErr(e1)
85023+ }
85024+ return
85025+}
85026+
85027+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85028+
85029 func Revoke(path string) (err error) {
85030 var _p0 *byte
85031 _p0, err = BytePtrFromString(path)
85032@@ -1071,8 +1261,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
85033
85034 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85035
85036-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
85037- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
85038+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
85039+ r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
85040+ n = int(r0)
85041 if e1 != 0 {
85042 err = errnoErr(e1)
85043 }
85044@@ -1277,6 +1468,26 @@ func Symlink(path string, link string) (err error) {
85045
85046 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85047
85048+func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
85049+ var _p0 *byte
85050+ _p0, err = BytePtrFromString(oldpath)
85051+ if err != nil {
85052+ return
85053+ }
85054+ var _p1 *byte
85055+ _p1, err = BytePtrFromString(newpath)
85056+ if err != nil {
85057+ return
85058+ }
85059+ _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
85060+ if e1 != 0 {
85061+ err = errnoErr(e1)
85062+ }
85063+ return
85064+}
85065+
85066+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85067+
85068 func Sync() (err error) {
85069 _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
85070 if e1 != 0 {
85071@@ -1340,6 +1551,21 @@ func Unlink(path string) (err error) {
85072
85073 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85074
85075+func Unlinkat(dirfd int, path string, flags int) (err error) {
85076+ var _p0 *byte
85077+ _p0, err = BytePtrFromString(path)
85078+ if err != nil {
85079+ return
85080+ }
85081+ _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
85082+ if e1 != 0 {
85083+ err = errnoErr(e1)
85084+ }
85085+ return
85086+}
85087+
85088+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85089+
85090 func Unmount(path string, flags int) (err error) {
85091 var _p0 *byte
85092 _p0, err = BytePtrFromString(path)
85093diff --git a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go
85094index 1a0bb4cb..600f1d26 100644
85095--- a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go
85096+++ b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go
85097@@ -1,4 +1,4 @@
85098-// mksyscall.pl -l32 -tags freebsd,386 syscall_bsd.go syscall_freebsd.go syscall_freebsd_386.go
85099+// go run mksyscall.go -l32 -tags freebsd,386 syscall_bsd.go syscall_freebsd.go syscall_freebsd_386.go
85100 // Code generated by the command above; see README.md. DO NOT EDIT.
85101
85102 // +build freebsd,386
85103@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
85104
85105 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85106
85107-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
85108- var _p0 unsafe.Pointer
85109- if len(mib) > 0 {
85110- _p0 = unsafe.Pointer(&mib[0])
85111- } else {
85112- _p0 = unsafe.Pointer(&_zero)
85113- }
85114- _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
85115- if e1 != 0 {
85116- err = errnoErr(e1)
85117- }
85118- return
85119-}
85120-
85121-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85122-
85123 func utimes(path string, timeval *[2]Timeval) (err error) {
85124 var _p0 *byte
85125 _p0, err = BytePtrFromString(path)
85126@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
85127
85128 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85129
85130-func fcntl(fd int, cmd int, arg int) (val int, err error) {
85131- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
85132- val = int(r0)
85133+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
85134+ r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
85135+ n = int(r0)
85136 if e1 != 0 {
85137 err = errnoErr(e1)
85138 }
85139@@ -366,10 +350,25 @@ func Munlockall() (err error) {
85140
85141 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85142
85143-func pipe() (r int, w int, err error) {
85144- r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
85145- r = int(r0)
85146- w = int(r1)
85147+func pipe2(p *[2]_C_int, flags int) (err error) {
85148+ _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
85149+ if e1 != 0 {
85150+ err = errnoErr(e1)
85151+ }
85152+ return
85153+}
85154+
85155+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85156+
85157+func Getcwd(buf []byte) (n int, err error) {
85158+ var _p0 unsafe.Pointer
85159+ if len(buf) > 0 {
85160+ _p0 = unsafe.Pointer(&buf[0])
85161+ } else {
85162+ _p0 = unsafe.Pointer(&_zero)
85163+ }
85164+ r0, _, e1 := Syscall(SYS___GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
85165+ n = int(r0)
85166 if e1 != 0 {
85167 err = errnoErr(e1)
85168 }
85169@@ -388,6 +387,32 @@ func ioctl(fd int, req uint, arg uintptr) (err error) {
85170
85171 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85172
85173+func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
85174+ var _p0 unsafe.Pointer
85175+ if len(mib) > 0 {
85176+ _p0 = unsafe.Pointer(&mib[0])
85177+ } else {
85178+ _p0 = unsafe.Pointer(&_zero)
85179+ }
85180+ _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
85181+ if e1 != 0 {
85182+ err = errnoErr(e1)
85183+ }
85184+ return
85185+}
85186+
85187+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85188+
85189+func ptrace(request int, pid int, addr uintptr, data int) (err error) {
85190+ _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
85191+ if e1 != 0 {
85192+ err = errnoErr(e1)
85193+ }
85194+ return
85195+}
85196+
85197+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85198+
85199 func Access(path string, mode uint32) (err error) {
85200 var _p0 *byte
85201 _p0, err = BytePtrFromString(path)
85202@@ -886,7 +911,7 @@ func Fpathconf(fd int, name int) (val int, err error) {
85203
85204 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85205
85206-func Fstat(fd int, stat *Stat_t) (err error) {
85207+func fstat(fd int, stat *stat_freebsd11_t) (err error) {
85208 _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
85209 if e1 != 0 {
85210 err = errnoErr(e1)
85211@@ -896,7 +921,47 @@ func Fstat(fd int, stat *Stat_t) (err error) {
85212
85213 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85214
85215-func Fstatfs(fd int, stat *Statfs_t) (err error) {
85216+func fstat_freebsd12(fd int, stat *Stat_t) (err error) {
85217+ _, _, e1 := Syscall(SYS_FSTAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
85218+ if e1 != 0 {
85219+ err = errnoErr(e1)
85220+ }
85221+ return
85222+}
85223+
85224+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85225+
85226+func fstatat(fd int, path string, stat *stat_freebsd11_t, flags int) (err error) {
85227+ var _p0 *byte
85228+ _p0, err = BytePtrFromString(path)
85229+ if err != nil {
85230+ return
85231+ }
85232+ _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
85233+ if e1 != 0 {
85234+ err = errnoErr(e1)
85235+ }
85236+ return
85237+}
85238+
85239+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85240+
85241+func fstatat_freebsd12(fd int, path string, stat *Stat_t, flags int) (err error) {
85242+ var _p0 *byte
85243+ _p0, err = BytePtrFromString(path)
85244+ if err != nil {
85245+ return
85246+ }
85247+ _, _, e1 := Syscall6(SYS_FSTATAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
85248+ if e1 != 0 {
85249+ err = errnoErr(e1)
85250+ }
85251+ return
85252+}
85253+
85254+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85255+
85256+func fstatfs(fd int, stat *statfs_freebsd11_t) (err error) {
85257 _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
85258 if e1 != 0 {
85259 err = errnoErr(e1)
85260@@ -906,6 +971,16 @@ func Fstatfs(fd int, stat *Statfs_t) (err error) {
85261
85262 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85263
85264+func fstatfs_freebsd12(fd int, stat *Statfs_t) (err error) {
85265+ _, _, e1 := Syscall(SYS_FSTATFS_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
85266+ if e1 != 0 {
85267+ err = errnoErr(e1)
85268+ }
85269+ return
85270+}
85271+
85272+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85273+
85274 func Fsync(fd int) (err error) {
85275 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
85276 if e1 != 0 {
85277@@ -926,7 +1001,7 @@ func Ftruncate(fd int, length int64) (err error) {
85278
85279 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85280
85281-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
85282+func getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
85283 var _p0 unsafe.Pointer
85284 if len(buf) > 0 {
85285 _p0 = unsafe.Pointer(&buf[0])
85286@@ -943,6 +1018,23 @@ func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
85287
85288 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85289
85290+func getdirentries_freebsd12(fd int, buf []byte, basep *uint64) (n int, err error) {
85291+ var _p0 unsafe.Pointer
85292+ if len(buf) > 0 {
85293+ _p0 = unsafe.Pointer(&buf[0])
85294+ } else {
85295+ _p0 = unsafe.Pointer(&_zero)
85296+ }
85297+ r0, _, e1 := Syscall6(SYS_GETDIRENTRIES_FREEBSD12, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
85298+ n = int(r0)
85299+ if e1 != 0 {
85300+ err = errnoErr(e1)
85301+ }
85302+ return
85303+}
85304+
85305+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85306+
85307 func Getdtablesize() (size int) {
85308 r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
85309 size = int(r0)
85310@@ -1164,7 +1256,7 @@ func Listen(s int, backlog int) (err error) {
85311
85312 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85313
85314-func Lstat(path string, stat *Stat_t) (err error) {
85315+func lstat(path string, stat *stat_freebsd11_t) (err error) {
85316 var _p0 *byte
85317 _p0, err = BytePtrFromString(path)
85318 if err != nil {
85319@@ -1224,7 +1316,7 @@ func Mkfifo(path string, mode uint32) (err error) {
85320
85321 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85322
85323-func Mknod(path string, mode uint32, dev int) (err error) {
85324+func mknod(path string, mode uint32, dev int) (err error) {
85325 var _p0 *byte
85326 _p0, err = BytePtrFromString(path)
85327 if err != nil {
85328@@ -1239,6 +1331,36 @@ func Mknod(path string, mode uint32, dev int) (err error) {
85329
85330 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85331
85332+func mknodat(fd int, path string, mode uint32, dev int) (err error) {
85333+ var _p0 *byte
85334+ _p0, err = BytePtrFromString(path)
85335+ if err != nil {
85336+ return
85337+ }
85338+ _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
85339+ if e1 != 0 {
85340+ err = errnoErr(e1)
85341+ }
85342+ return
85343+}
85344+
85345+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85346+
85347+func mknodat_freebsd12(fd int, path string, mode uint32, dev uint64) (err error) {
85348+ var _p0 *byte
85349+ _p0, err = BytePtrFromString(path)
85350+ if err != nil {
85351+ return
85352+ }
85353+ _, _, e1 := Syscall6(SYS_MKNODAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), uintptr(dev>>32), 0)
85354+ if e1 != 0 {
85355+ err = errnoErr(e1)
85356+ }
85357+ return
85358+}
85359+
85360+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85361+
85362 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
85363 _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
85364 if e1 != 0 {
85365@@ -1473,8 +1595,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
85366
85367 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85368
85369-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
85370- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
85371+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
85372+ r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
85373+ n = int(r0)
85374 if e1 != 0 {
85375 err = errnoErr(e1)
85376 }
85377@@ -1629,7 +1752,7 @@ func Setuid(uid int) (err error) {
85378
85379 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85380
85381-func Stat(path string, stat *Stat_t) (err error) {
85382+func stat(path string, stat *stat_freebsd11_t) (err error) {
85383 var _p0 *byte
85384 _p0, err = BytePtrFromString(path)
85385 if err != nil {
85386@@ -1644,7 +1767,7 @@ func Stat(path string, stat *Stat_t) (err error) {
85387
85388 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85389
85390-func Statfs(path string, stat *Statfs_t) (err error) {
85391+func statfs(path string, stat *statfs_freebsd11_t) (err error) {
85392 var _p0 *byte
85393 _p0, err = BytePtrFromString(path)
85394 if err != nil {
85395@@ -1659,6 +1782,21 @@ func Statfs(path string, stat *Statfs_t) (err error) {
85396
85397 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85398
85399+func statfs_freebsd12(path string, stat *Statfs_t) (err error) {
85400+ var _p0 *byte
85401+ _p0, err = BytePtrFromString(path)
85402+ if err != nil {
85403+ return
85404+ }
85405+ _, _, e1 := Syscall(SYS_STATFS_FREEBSD12, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
85406+ if e1 != 0 {
85407+ err = errnoErr(e1)
85408+ }
85409+ return
85410+}
85411+
85412+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85413+
85414 func Symlink(path string, link string) (err error) {
85415 var _p0 *byte
85416 _p0, err = BytePtrFromString(path)
85417diff --git a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go
85418index ac1e8e01..064934b0 100644
85419--- a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go
85420+++ b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go
85421@@ -1,4 +1,4 @@
85422-// mksyscall.pl -tags freebsd,amd64 syscall_bsd.go syscall_freebsd.go syscall_freebsd_amd64.go
85423+// go run mksyscall.go -tags freebsd,amd64 syscall_bsd.go syscall_freebsd.go syscall_freebsd_amd64.go
85424 // Code generated by the command above; see README.md. DO NOT EDIT.
85425
85426 // +build freebsd,amd64
85427@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
85428
85429 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85430
85431-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
85432- var _p0 unsafe.Pointer
85433- if len(mib) > 0 {
85434- _p0 = unsafe.Pointer(&mib[0])
85435- } else {
85436- _p0 = unsafe.Pointer(&_zero)
85437- }
85438- _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
85439- if e1 != 0 {
85440- err = errnoErr(e1)
85441- }
85442- return
85443-}
85444-
85445-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85446-
85447 func utimes(path string, timeval *[2]Timeval) (err error) {
85448 var _p0 *byte
85449 _p0, err = BytePtrFromString(path)
85450@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
85451
85452 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85453
85454-func fcntl(fd int, cmd int, arg int) (val int, err error) {
85455- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
85456- val = int(r0)
85457+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
85458+ r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
85459+ n = int(r0)
85460 if e1 != 0 {
85461 err = errnoErr(e1)
85462 }
85463@@ -366,10 +350,25 @@ func Munlockall() (err error) {
85464
85465 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85466
85467-func pipe() (r int, w int, err error) {
85468- r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
85469- r = int(r0)
85470- w = int(r1)
85471+func pipe2(p *[2]_C_int, flags int) (err error) {
85472+ _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
85473+ if e1 != 0 {
85474+ err = errnoErr(e1)
85475+ }
85476+ return
85477+}
85478+
85479+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85480+
85481+func Getcwd(buf []byte) (n int, err error) {
85482+ var _p0 unsafe.Pointer
85483+ if len(buf) > 0 {
85484+ _p0 = unsafe.Pointer(&buf[0])
85485+ } else {
85486+ _p0 = unsafe.Pointer(&_zero)
85487+ }
85488+ r0, _, e1 := Syscall(SYS___GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
85489+ n = int(r0)
85490 if e1 != 0 {
85491 err = errnoErr(e1)
85492 }
85493@@ -388,6 +387,32 @@ func ioctl(fd int, req uint, arg uintptr) (err error) {
85494
85495 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85496
85497+func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
85498+ var _p0 unsafe.Pointer
85499+ if len(mib) > 0 {
85500+ _p0 = unsafe.Pointer(&mib[0])
85501+ } else {
85502+ _p0 = unsafe.Pointer(&_zero)
85503+ }
85504+ _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
85505+ if e1 != 0 {
85506+ err = errnoErr(e1)
85507+ }
85508+ return
85509+}
85510+
85511+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85512+
85513+func ptrace(request int, pid int, addr uintptr, data int) (err error) {
85514+ _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
85515+ if e1 != 0 {
85516+ err = errnoErr(e1)
85517+ }
85518+ return
85519+}
85520+
85521+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85522+
85523 func Access(path string, mode uint32) (err error) {
85524 var _p0 *byte
85525 _p0, err = BytePtrFromString(path)
85526@@ -886,7 +911,7 @@ func Fpathconf(fd int, name int) (val int, err error) {
85527
85528 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85529
85530-func Fstat(fd int, stat *Stat_t) (err error) {
85531+func fstat(fd int, stat *stat_freebsd11_t) (err error) {
85532 _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
85533 if e1 != 0 {
85534 err = errnoErr(e1)
85535@@ -896,7 +921,47 @@ func Fstat(fd int, stat *Stat_t) (err error) {
85536
85537 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85538
85539-func Fstatfs(fd int, stat *Statfs_t) (err error) {
85540+func fstat_freebsd12(fd int, stat *Stat_t) (err error) {
85541+ _, _, e1 := Syscall(SYS_FSTAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
85542+ if e1 != 0 {
85543+ err = errnoErr(e1)
85544+ }
85545+ return
85546+}
85547+
85548+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85549+
85550+func fstatat(fd int, path string, stat *stat_freebsd11_t, flags int) (err error) {
85551+ var _p0 *byte
85552+ _p0, err = BytePtrFromString(path)
85553+ if err != nil {
85554+ return
85555+ }
85556+ _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
85557+ if e1 != 0 {
85558+ err = errnoErr(e1)
85559+ }
85560+ return
85561+}
85562+
85563+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85564+
85565+func fstatat_freebsd12(fd int, path string, stat *Stat_t, flags int) (err error) {
85566+ var _p0 *byte
85567+ _p0, err = BytePtrFromString(path)
85568+ if err != nil {
85569+ return
85570+ }
85571+ _, _, e1 := Syscall6(SYS_FSTATAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
85572+ if e1 != 0 {
85573+ err = errnoErr(e1)
85574+ }
85575+ return
85576+}
85577+
85578+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85579+
85580+func fstatfs(fd int, stat *statfs_freebsd11_t) (err error) {
85581 _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
85582 if e1 != 0 {
85583 err = errnoErr(e1)
85584@@ -906,6 +971,16 @@ func Fstatfs(fd int, stat *Statfs_t) (err error) {
85585
85586 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85587
85588+func fstatfs_freebsd12(fd int, stat *Statfs_t) (err error) {
85589+ _, _, e1 := Syscall(SYS_FSTATFS_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
85590+ if e1 != 0 {
85591+ err = errnoErr(e1)
85592+ }
85593+ return
85594+}
85595+
85596+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85597+
85598 func Fsync(fd int) (err error) {
85599 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
85600 if e1 != 0 {
85601@@ -926,7 +1001,7 @@ func Ftruncate(fd int, length int64) (err error) {
85602
85603 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85604
85605-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
85606+func getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
85607 var _p0 unsafe.Pointer
85608 if len(buf) > 0 {
85609 _p0 = unsafe.Pointer(&buf[0])
85610@@ -943,6 +1018,23 @@ func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
85611
85612 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85613
85614+func getdirentries_freebsd12(fd int, buf []byte, basep *uint64) (n int, err error) {
85615+ var _p0 unsafe.Pointer
85616+ if len(buf) > 0 {
85617+ _p0 = unsafe.Pointer(&buf[0])
85618+ } else {
85619+ _p0 = unsafe.Pointer(&_zero)
85620+ }
85621+ r0, _, e1 := Syscall6(SYS_GETDIRENTRIES_FREEBSD12, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
85622+ n = int(r0)
85623+ if e1 != 0 {
85624+ err = errnoErr(e1)
85625+ }
85626+ return
85627+}
85628+
85629+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85630+
85631 func Getdtablesize() (size int) {
85632 r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
85633 size = int(r0)
85634@@ -1164,7 +1256,7 @@ func Listen(s int, backlog int) (err error) {
85635
85636 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85637
85638-func Lstat(path string, stat *Stat_t) (err error) {
85639+func lstat(path string, stat *stat_freebsd11_t) (err error) {
85640 var _p0 *byte
85641 _p0, err = BytePtrFromString(path)
85642 if err != nil {
85643@@ -1224,7 +1316,7 @@ func Mkfifo(path string, mode uint32) (err error) {
85644
85645 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85646
85647-func Mknod(path string, mode uint32, dev int) (err error) {
85648+func mknod(path string, mode uint32, dev int) (err error) {
85649 var _p0 *byte
85650 _p0, err = BytePtrFromString(path)
85651 if err != nil {
85652@@ -1239,6 +1331,36 @@ func Mknod(path string, mode uint32, dev int) (err error) {
85653
85654 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85655
85656+func mknodat(fd int, path string, mode uint32, dev int) (err error) {
85657+ var _p0 *byte
85658+ _p0, err = BytePtrFromString(path)
85659+ if err != nil {
85660+ return
85661+ }
85662+ _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
85663+ if e1 != 0 {
85664+ err = errnoErr(e1)
85665+ }
85666+ return
85667+}
85668+
85669+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85670+
85671+func mknodat_freebsd12(fd int, path string, mode uint32, dev uint64) (err error) {
85672+ var _p0 *byte
85673+ _p0, err = BytePtrFromString(path)
85674+ if err != nil {
85675+ return
85676+ }
85677+ _, _, e1 := Syscall6(SYS_MKNODAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
85678+ if e1 != 0 {
85679+ err = errnoErr(e1)
85680+ }
85681+ return
85682+}
85683+
85684+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85685+
85686 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
85687 _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
85688 if e1 != 0 {
85689@@ -1473,8 +1595,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
85690
85691 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85692
85693-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
85694- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
85695+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
85696+ r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
85697+ n = int(r0)
85698 if e1 != 0 {
85699 err = errnoErr(e1)
85700 }
85701@@ -1629,7 +1752,7 @@ func Setuid(uid int) (err error) {
85702
85703 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85704
85705-func Stat(path string, stat *Stat_t) (err error) {
85706+func stat(path string, stat *stat_freebsd11_t) (err error) {
85707 var _p0 *byte
85708 _p0, err = BytePtrFromString(path)
85709 if err != nil {
85710@@ -1644,7 +1767,7 @@ func Stat(path string, stat *Stat_t) (err error) {
85711
85712 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85713
85714-func Statfs(path string, stat *Statfs_t) (err error) {
85715+func statfs(path string, stat *statfs_freebsd11_t) (err error) {
85716 var _p0 *byte
85717 _p0, err = BytePtrFromString(path)
85718 if err != nil {
85719@@ -1659,6 +1782,21 @@ func Statfs(path string, stat *Statfs_t) (err error) {
85720
85721 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85722
85723+func statfs_freebsd12(path string, stat *Statfs_t) (err error) {
85724+ var _p0 *byte
85725+ _p0, err = BytePtrFromString(path)
85726+ if err != nil {
85727+ return
85728+ }
85729+ _, _, e1 := Syscall(SYS_STATFS_FREEBSD12, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
85730+ if e1 != 0 {
85731+ err = errnoErr(e1)
85732+ }
85733+ return
85734+}
85735+
85736+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85737+
85738 func Symlink(path string, link string) (err error) {
85739 var _p0 *byte
85740 _p0, err = BytePtrFromString(path)
85741diff --git a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go
85742index 2b4e6acf..31d2c461 100644
85743--- a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go
85744+++ b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go
85745@@ -1,4 +1,4 @@
85746-// mksyscall.pl -l32 -arm -tags freebsd,arm syscall_bsd.go syscall_freebsd.go syscall_freebsd_arm.go
85747+// go run mksyscall.go -l32 -arm -tags freebsd,arm syscall_bsd.go syscall_freebsd.go syscall_freebsd_arm.go
85748 // Code generated by the command above; see README.md. DO NOT EDIT.
85749
85750 // +build freebsd,arm
85751@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
85752
85753 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85754
85755-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
85756- var _p0 unsafe.Pointer
85757- if len(mib) > 0 {
85758- _p0 = unsafe.Pointer(&mib[0])
85759- } else {
85760- _p0 = unsafe.Pointer(&_zero)
85761- }
85762- _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
85763- if e1 != 0 {
85764- err = errnoErr(e1)
85765- }
85766- return
85767-}
85768-
85769-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85770-
85771 func utimes(path string, timeval *[2]Timeval) (err error) {
85772 var _p0 *byte
85773 _p0, err = BytePtrFromString(path)
85774@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
85775
85776 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85777
85778-func fcntl(fd int, cmd int, arg int) (val int, err error) {
85779- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
85780- val = int(r0)
85781+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
85782+ r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
85783+ n = int(r0)
85784 if e1 != 0 {
85785 err = errnoErr(e1)
85786 }
85787@@ -366,10 +350,41 @@ func Munlockall() (err error) {
85788
85789 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85790
85791-func pipe() (r int, w int, err error) {
85792- r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
85793- r = int(r0)
85794- w = int(r1)
85795+func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
85796+ var _p0 unsafe.Pointer
85797+ if len(mib) > 0 {
85798+ _p0 = unsafe.Pointer(&mib[0])
85799+ } else {
85800+ _p0 = unsafe.Pointer(&_zero)
85801+ }
85802+ _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
85803+ if e1 != 0 {
85804+ err = errnoErr(e1)
85805+ }
85806+ return
85807+}
85808+
85809+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85810+
85811+func pipe2(p *[2]_C_int, flags int) (err error) {
85812+ _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
85813+ if e1 != 0 {
85814+ err = errnoErr(e1)
85815+ }
85816+ return
85817+}
85818+
85819+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85820+
85821+func Getcwd(buf []byte) (n int, err error) {
85822+ var _p0 unsafe.Pointer
85823+ if len(buf) > 0 {
85824+ _p0 = unsafe.Pointer(&buf[0])
85825+ } else {
85826+ _p0 = unsafe.Pointer(&_zero)
85827+ }
85828+ r0, _, e1 := Syscall(SYS___GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
85829+ n = int(r0)
85830 if e1 != 0 {
85831 err = errnoErr(e1)
85832 }
85833@@ -388,6 +403,16 @@ func ioctl(fd int, req uint, arg uintptr) (err error) {
85834
85835 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85836
85837+func ptrace(request int, pid int, addr uintptr, data int) (err error) {
85838+ _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
85839+ if e1 != 0 {
85840+ err = errnoErr(e1)
85841+ }
85842+ return
85843+}
85844+
85845+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85846+
85847 func Access(path string, mode uint32) (err error) {
85848 var _p0 *byte
85849 _p0, err = BytePtrFromString(path)
85850@@ -886,7 +911,7 @@ func Fpathconf(fd int, name int) (val int, err error) {
85851
85852 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85853
85854-func Fstat(fd int, stat *Stat_t) (err error) {
85855+func fstat(fd int, stat *stat_freebsd11_t) (err error) {
85856 _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
85857 if e1 != 0 {
85858 err = errnoErr(e1)
85859@@ -896,7 +921,47 @@ func Fstat(fd int, stat *Stat_t) (err error) {
85860
85861 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85862
85863-func Fstatfs(fd int, stat *Statfs_t) (err error) {
85864+func fstat_freebsd12(fd int, stat *Stat_t) (err error) {
85865+ _, _, e1 := Syscall(SYS_FSTAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
85866+ if e1 != 0 {
85867+ err = errnoErr(e1)
85868+ }
85869+ return
85870+}
85871+
85872+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85873+
85874+func fstatat(fd int, path string, stat *stat_freebsd11_t, flags int) (err error) {
85875+ var _p0 *byte
85876+ _p0, err = BytePtrFromString(path)
85877+ if err != nil {
85878+ return
85879+ }
85880+ _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
85881+ if e1 != 0 {
85882+ err = errnoErr(e1)
85883+ }
85884+ return
85885+}
85886+
85887+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85888+
85889+func fstatat_freebsd12(fd int, path string, stat *Stat_t, flags int) (err error) {
85890+ var _p0 *byte
85891+ _p0, err = BytePtrFromString(path)
85892+ if err != nil {
85893+ return
85894+ }
85895+ _, _, e1 := Syscall6(SYS_FSTATAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
85896+ if e1 != 0 {
85897+ err = errnoErr(e1)
85898+ }
85899+ return
85900+}
85901+
85902+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85903+
85904+func fstatfs(fd int, stat *statfs_freebsd11_t) (err error) {
85905 _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
85906 if e1 != 0 {
85907 err = errnoErr(e1)
85908@@ -906,6 +971,16 @@ func Fstatfs(fd int, stat *Statfs_t) (err error) {
85909
85910 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85911
85912+func fstatfs_freebsd12(fd int, stat *Statfs_t) (err error) {
85913+ _, _, e1 := Syscall(SYS_FSTATFS_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
85914+ if e1 != 0 {
85915+ err = errnoErr(e1)
85916+ }
85917+ return
85918+}
85919+
85920+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85921+
85922 func Fsync(fd int) (err error) {
85923 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
85924 if e1 != 0 {
85925@@ -926,7 +1001,7 @@ func Ftruncate(fd int, length int64) (err error) {
85926
85927 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85928
85929-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
85930+func getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
85931 var _p0 unsafe.Pointer
85932 if len(buf) > 0 {
85933 _p0 = unsafe.Pointer(&buf[0])
85934@@ -943,6 +1018,23 @@ func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
85935
85936 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85937
85938+func getdirentries_freebsd12(fd int, buf []byte, basep *uint64) (n int, err error) {
85939+ var _p0 unsafe.Pointer
85940+ if len(buf) > 0 {
85941+ _p0 = unsafe.Pointer(&buf[0])
85942+ } else {
85943+ _p0 = unsafe.Pointer(&_zero)
85944+ }
85945+ r0, _, e1 := Syscall6(SYS_GETDIRENTRIES_FREEBSD12, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
85946+ n = int(r0)
85947+ if e1 != 0 {
85948+ err = errnoErr(e1)
85949+ }
85950+ return
85951+}
85952+
85953+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85954+
85955 func Getdtablesize() (size int) {
85956 r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
85957 size = int(r0)
85958@@ -1164,7 +1256,7 @@ func Listen(s int, backlog int) (err error) {
85959
85960 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85961
85962-func Lstat(path string, stat *Stat_t) (err error) {
85963+func lstat(path string, stat *stat_freebsd11_t) (err error) {
85964 var _p0 *byte
85965 _p0, err = BytePtrFromString(path)
85966 if err != nil {
85967@@ -1224,7 +1316,7 @@ func Mkfifo(path string, mode uint32) (err error) {
85968
85969 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85970
85971-func Mknod(path string, mode uint32, dev int) (err error) {
85972+func mknod(path string, mode uint32, dev int) (err error) {
85973 var _p0 *byte
85974 _p0, err = BytePtrFromString(path)
85975 if err != nil {
85976@@ -1239,6 +1331,36 @@ func Mknod(path string, mode uint32, dev int) (err error) {
85977
85978 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85979
85980+func mknodat(fd int, path string, mode uint32, dev int) (err error) {
85981+ var _p0 *byte
85982+ _p0, err = BytePtrFromString(path)
85983+ if err != nil {
85984+ return
85985+ }
85986+ _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
85987+ if e1 != 0 {
85988+ err = errnoErr(e1)
85989+ }
85990+ return
85991+}
85992+
85993+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
85994+
85995+func mknodat_freebsd12(fd int, path string, mode uint32, dev uint64) (err error) {
85996+ var _p0 *byte
85997+ _p0, err = BytePtrFromString(path)
85998+ if err != nil {
85999+ return
86000+ }
86001+ _, _, e1 := Syscall6(SYS_MKNODAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
86002+ if e1 != 0 {
86003+ err = errnoErr(e1)
86004+ }
86005+ return
86006+}
86007+
86008+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86009+
86010 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
86011 _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
86012 if e1 != 0 {
86013@@ -1473,8 +1595,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
86014
86015 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86016
86017-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
86018- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
86019+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
86020+ r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
86021+ n = int(r0)
86022 if e1 != 0 {
86023 err = errnoErr(e1)
86024 }
86025@@ -1629,7 +1752,7 @@ func Setuid(uid int) (err error) {
86026
86027 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86028
86029-func Stat(path string, stat *Stat_t) (err error) {
86030+func stat(path string, stat *stat_freebsd11_t) (err error) {
86031 var _p0 *byte
86032 _p0, err = BytePtrFromString(path)
86033 if err != nil {
86034@@ -1644,7 +1767,7 @@ func Stat(path string, stat *Stat_t) (err error) {
86035
86036 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86037
86038-func Statfs(path string, stat *Statfs_t) (err error) {
86039+func statfs(path string, stat *statfs_freebsd11_t) (err error) {
86040 var _p0 *byte
86041 _p0, err = BytePtrFromString(path)
86042 if err != nil {
86043@@ -1659,6 +1782,21 @@ func Statfs(path string, stat *Statfs_t) (err error) {
86044
86045 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86046
86047+func statfs_freebsd12(path string, stat *Statfs_t) (err error) {
86048+ var _p0 *byte
86049+ _p0, err = BytePtrFromString(path)
86050+ if err != nil {
86051+ return
86052+ }
86053+ _, _, e1 := Syscall(SYS_STATFS_FREEBSD12, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
86054+ if e1 != 0 {
86055+ err = errnoErr(e1)
86056+ }
86057+ return
86058+}
86059+
86060+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86061+
86062 func Symlink(path string, link string) (err error) {
86063 var _p0 *byte
86064 _p0, err = BytePtrFromString(path)
86065diff --git a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go
86066similarity index 90%
86067copy from vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go
86068copy to vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go
86069index ac1e8e01..4adaaa56 100644
86070--- a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go
86071+++ b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go
86072@@ -1,7 +1,7 @@
86073-// mksyscall.pl -tags freebsd,amd64 syscall_bsd.go syscall_freebsd.go syscall_freebsd_amd64.go
86074+// go run mksyscall.go -tags freebsd,arm64 syscall_bsd.go syscall_freebsd.go syscall_freebsd_arm64.go
86075 // Code generated by the command above; see README.md. DO NOT EDIT.
86076
86077-// +build freebsd,amd64
86078+// +build freebsd,arm64
86079
86080 package unix
86081
86082@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
86083
86084 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86085
86086-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
86087- var _p0 unsafe.Pointer
86088- if len(mib) > 0 {
86089- _p0 = unsafe.Pointer(&mib[0])
86090- } else {
86091- _p0 = unsafe.Pointer(&_zero)
86092- }
86093- _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
86094- if e1 != 0 {
86095- err = errnoErr(e1)
86096- }
86097- return
86098-}
86099-
86100-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86101-
86102 func utimes(path string, timeval *[2]Timeval) (err error) {
86103 var _p0 *byte
86104 _p0, err = BytePtrFromString(path)
86105@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
86106
86107 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86108
86109-func fcntl(fd int, cmd int, arg int) (val int, err error) {
86110- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
86111- val = int(r0)
86112+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
86113+ r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
86114+ n = int(r0)
86115 if e1 != 0 {
86116 err = errnoErr(e1)
86117 }
86118@@ -366,10 +350,25 @@ func Munlockall() (err error) {
86119
86120 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86121
86122-func pipe() (r int, w int, err error) {
86123- r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
86124- r = int(r0)
86125- w = int(r1)
86126+func pipe2(p *[2]_C_int, flags int) (err error) {
86127+ _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
86128+ if e1 != 0 {
86129+ err = errnoErr(e1)
86130+ }
86131+ return
86132+}
86133+
86134+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86135+
86136+func Getcwd(buf []byte) (n int, err error) {
86137+ var _p0 unsafe.Pointer
86138+ if len(buf) > 0 {
86139+ _p0 = unsafe.Pointer(&buf[0])
86140+ } else {
86141+ _p0 = unsafe.Pointer(&_zero)
86142+ }
86143+ r0, _, e1 := Syscall(SYS___GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
86144+ n = int(r0)
86145 if e1 != 0 {
86146 err = errnoErr(e1)
86147 }
86148@@ -388,6 +387,32 @@ func ioctl(fd int, req uint, arg uintptr) (err error) {
86149
86150 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86151
86152+func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
86153+ var _p0 unsafe.Pointer
86154+ if len(mib) > 0 {
86155+ _p0 = unsafe.Pointer(&mib[0])
86156+ } else {
86157+ _p0 = unsafe.Pointer(&_zero)
86158+ }
86159+ _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
86160+ if e1 != 0 {
86161+ err = errnoErr(e1)
86162+ }
86163+ return
86164+}
86165+
86166+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86167+
86168+func ptrace(request int, pid int, addr uintptr, data int) (err error) {
86169+ _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
86170+ if e1 != 0 {
86171+ err = errnoErr(e1)
86172+ }
86173+ return
86174+}
86175+
86176+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86177+
86178 func Access(path string, mode uint32) (err error) {
86179 var _p0 *byte
86180 _p0, err = BytePtrFromString(path)
86181@@ -886,7 +911,7 @@ func Fpathconf(fd int, name int) (val int, err error) {
86182
86183 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86184
86185-func Fstat(fd int, stat *Stat_t) (err error) {
86186+func fstat(fd int, stat *stat_freebsd11_t) (err error) {
86187 _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
86188 if e1 != 0 {
86189 err = errnoErr(e1)
86190@@ -896,7 +921,47 @@ func Fstat(fd int, stat *Stat_t) (err error) {
86191
86192 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86193
86194-func Fstatfs(fd int, stat *Statfs_t) (err error) {
86195+func fstat_freebsd12(fd int, stat *Stat_t) (err error) {
86196+ _, _, e1 := Syscall(SYS_FSTAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
86197+ if e1 != 0 {
86198+ err = errnoErr(e1)
86199+ }
86200+ return
86201+}
86202+
86203+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86204+
86205+func fstatat(fd int, path string, stat *stat_freebsd11_t, flags int) (err error) {
86206+ var _p0 *byte
86207+ _p0, err = BytePtrFromString(path)
86208+ if err != nil {
86209+ return
86210+ }
86211+ _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
86212+ if e1 != 0 {
86213+ err = errnoErr(e1)
86214+ }
86215+ return
86216+}
86217+
86218+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86219+
86220+func fstatat_freebsd12(fd int, path string, stat *Stat_t, flags int) (err error) {
86221+ var _p0 *byte
86222+ _p0, err = BytePtrFromString(path)
86223+ if err != nil {
86224+ return
86225+ }
86226+ _, _, e1 := Syscall6(SYS_FSTATAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
86227+ if e1 != 0 {
86228+ err = errnoErr(e1)
86229+ }
86230+ return
86231+}
86232+
86233+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86234+
86235+func fstatfs(fd int, stat *statfs_freebsd11_t) (err error) {
86236 _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
86237 if e1 != 0 {
86238 err = errnoErr(e1)
86239@@ -906,6 +971,16 @@ func Fstatfs(fd int, stat *Statfs_t) (err error) {
86240
86241 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86242
86243+func fstatfs_freebsd12(fd int, stat *Statfs_t) (err error) {
86244+ _, _, e1 := Syscall(SYS_FSTATFS_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
86245+ if e1 != 0 {
86246+ err = errnoErr(e1)
86247+ }
86248+ return
86249+}
86250+
86251+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86252+
86253 func Fsync(fd int) (err error) {
86254 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
86255 if e1 != 0 {
86256@@ -926,7 +1001,7 @@ func Ftruncate(fd int, length int64) (err error) {
86257
86258 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86259
86260-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
86261+func getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
86262 var _p0 unsafe.Pointer
86263 if len(buf) > 0 {
86264 _p0 = unsafe.Pointer(&buf[0])
86265@@ -943,6 +1018,23 @@ func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
86266
86267 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86268
86269+func getdirentries_freebsd12(fd int, buf []byte, basep *uint64) (n int, err error) {
86270+ var _p0 unsafe.Pointer
86271+ if len(buf) > 0 {
86272+ _p0 = unsafe.Pointer(&buf[0])
86273+ } else {
86274+ _p0 = unsafe.Pointer(&_zero)
86275+ }
86276+ r0, _, e1 := Syscall6(SYS_GETDIRENTRIES_FREEBSD12, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
86277+ n = int(r0)
86278+ if e1 != 0 {
86279+ err = errnoErr(e1)
86280+ }
86281+ return
86282+}
86283+
86284+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86285+
86286 func Getdtablesize() (size int) {
86287 r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
86288 size = int(r0)
86289@@ -1164,7 +1256,7 @@ func Listen(s int, backlog int) (err error) {
86290
86291 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86292
86293-func Lstat(path string, stat *Stat_t) (err error) {
86294+func lstat(path string, stat *stat_freebsd11_t) (err error) {
86295 var _p0 *byte
86296 _p0, err = BytePtrFromString(path)
86297 if err != nil {
86298@@ -1224,7 +1316,7 @@ func Mkfifo(path string, mode uint32) (err error) {
86299
86300 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86301
86302-func Mknod(path string, mode uint32, dev int) (err error) {
86303+func mknod(path string, mode uint32, dev int) (err error) {
86304 var _p0 *byte
86305 _p0, err = BytePtrFromString(path)
86306 if err != nil {
86307@@ -1239,6 +1331,36 @@ func Mknod(path string, mode uint32, dev int) (err error) {
86308
86309 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86310
86311+func mknodat(fd int, path string, mode uint32, dev int) (err error) {
86312+ var _p0 *byte
86313+ _p0, err = BytePtrFromString(path)
86314+ if err != nil {
86315+ return
86316+ }
86317+ _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
86318+ if e1 != 0 {
86319+ err = errnoErr(e1)
86320+ }
86321+ return
86322+}
86323+
86324+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86325+
86326+func mknodat_freebsd12(fd int, path string, mode uint32, dev uint64) (err error) {
86327+ var _p0 *byte
86328+ _p0, err = BytePtrFromString(path)
86329+ if err != nil {
86330+ return
86331+ }
86332+ _, _, e1 := Syscall6(SYS_MKNODAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
86333+ if e1 != 0 {
86334+ err = errnoErr(e1)
86335+ }
86336+ return
86337+}
86338+
86339+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86340+
86341 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
86342 _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
86343 if e1 != 0 {
86344@@ -1473,8 +1595,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
86345
86346 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86347
86348-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
86349- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
86350+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
86351+ r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
86352+ n = int(r0)
86353 if e1 != 0 {
86354 err = errnoErr(e1)
86355 }
86356@@ -1629,7 +1752,7 @@ func Setuid(uid int) (err error) {
86357
86358 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86359
86360-func Stat(path string, stat *Stat_t) (err error) {
86361+func stat(path string, stat *stat_freebsd11_t) (err error) {
86362 var _p0 *byte
86363 _p0, err = BytePtrFromString(path)
86364 if err != nil {
86365@@ -1644,7 +1767,7 @@ func Stat(path string, stat *Stat_t) (err error) {
86366
86367 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86368
86369-func Statfs(path string, stat *Statfs_t) (err error) {
86370+func statfs(path string, stat *statfs_freebsd11_t) (err error) {
86371 var _p0 *byte
86372 _p0, err = BytePtrFromString(path)
86373 if err != nil {
86374@@ -1659,6 +1782,21 @@ func Statfs(path string, stat *Statfs_t) (err error) {
86375
86376 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86377
86378+func statfs_freebsd12(path string, stat *Statfs_t) (err error) {
86379+ var _p0 *byte
86380+ _p0, err = BytePtrFromString(path)
86381+ if err != nil {
86382+ return
86383+ }
86384+ _, _, e1 := Syscall(SYS_STATFS_FREEBSD12, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
86385+ if e1 != 0 {
86386+ err = errnoErr(e1)
86387+ }
86388+ return
86389+}
86390+
86391+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86392+
86393 func Symlink(path string, link string) (err error) {
86394 var _p0 *byte
86395 _p0, err = BytePtrFromString(path)
86396diff --git a/vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go
86397new file mode 100644
86398index 00000000..92efa1da
86399--- /dev/null
86400+++ b/vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go
86401@@ -0,0 +1,87 @@
86402+// go run mksyscall_solaris.go -illumos -tags illumos,amd64 syscall_illumos.go
86403+// Code generated by the command above; see README.md. DO NOT EDIT.
86404+
86405+// +build illumos,amd64
86406+
86407+package unix
86408+
86409+import (
86410+ "unsafe"
86411+)
86412+
86413+//go:cgo_import_dynamic libc_readv readv "libc.so"
86414+//go:cgo_import_dynamic libc_preadv preadv "libc.so"
86415+//go:cgo_import_dynamic libc_writev writev "libc.so"
86416+//go:cgo_import_dynamic libc_pwritev pwritev "libc.so"
86417+
86418+//go:linkname procreadv libc_readv
86419+//go:linkname procpreadv libc_preadv
86420+//go:linkname procwritev libc_writev
86421+//go:linkname procpwritev libc_pwritev
86422+
86423+var (
86424+ procreadv,
86425+ procpreadv,
86426+ procwritev,
86427+ procpwritev syscallFunc
86428+)
86429+
86430+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86431+
86432+func readv(fd int, iovs []Iovec) (n int, err error) {
86433+ var _p0 *Iovec
86434+ if len(iovs) > 0 {
86435+ _p0 = &iovs[0]
86436+ }
86437+ r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procreadv)), 3, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(iovs)), 0, 0, 0)
86438+ n = int(r0)
86439+ if e1 != 0 {
86440+ err = e1
86441+ }
86442+ return
86443+}
86444+
86445+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86446+
86447+func preadv(fd int, iovs []Iovec, off int64) (n int, err error) {
86448+ var _p0 *Iovec
86449+ if len(iovs) > 0 {
86450+ _p0 = &iovs[0]
86451+ }
86452+ r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procpreadv)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(iovs)), uintptr(off), 0, 0)
86453+ n = int(r0)
86454+ if e1 != 0 {
86455+ err = e1
86456+ }
86457+ return
86458+}
86459+
86460+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86461+
86462+func writev(fd int, iovs []Iovec) (n int, err error) {
86463+ var _p0 *Iovec
86464+ if len(iovs) > 0 {
86465+ _p0 = &iovs[0]
86466+ }
86467+ r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procwritev)), 3, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(iovs)), 0, 0, 0)
86468+ n = int(r0)
86469+ if e1 != 0 {
86470+ err = e1
86471+ }
86472+ return
86473+}
86474+
86475+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86476+
86477+func pwritev(fd int, iovs []Iovec, off int64) (n int, err error) {
86478+ var _p0 *Iovec
86479+ if len(iovs) > 0 {
86480+ _p0 = &iovs[0]
86481+ }
86482+ r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procpwritev)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(iovs)), uintptr(off), 0, 0)
86483+ n = int(r0)
86484+ if e1 != 0 {
86485+ err = e1
86486+ }
86487+ return
86488+}
86489diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go b/vendor/golang.org/x/sys/unix/zsyscall_linux.go
86490similarity index 79%
86491copy from vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go
86492copy to vendor/golang.org/x/sys/unix/zsyscall_linux.go
86493index b6ff9e39..fd2dae8e 100644
86494--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go
86495+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux.go
86496@@ -1,7 +1,6 @@
86497-// mksyscall.pl -tags linux,s390x syscall_linux.go syscall_linux_s390x.go
86498-// Code generated by the command above; see README.md. DO NOT EDIT.
86499+// Code generated by mkmerge.go; DO NOT EDIT.
86500
86501-// +build linux,s390x
86502+// +build linux
86503
86504 package unix
86505
86506@@ -10,7 +9,16 @@ import (
86507 "unsafe"
86508 )
86509
86510-var _ syscall.Errno
86511+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86512+
86513+func FanotifyInit(flags uint, event_f_flags uint) (fd int, err error) {
86514+ r0, _, e1 := Syscall(SYS_FANOTIFY_INIT, uintptr(flags), uintptr(event_f_flags), 0)
86515+ fd = int(r0)
86516+ if e1 != 0 {
86517+ err = errnoErr(e1)
86518+ }
86519+ return
86520+}
86521
86522 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86523
86524@@ -143,21 +151,6 @@ func Unlinkat(dirfd int, path string, flags int) (err error) {
86525
86526 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86527
86528-func utimes(path string, times *[2]Timeval) (err error) {
86529- var _p0 *byte
86530- _p0, err = BytePtrFromString(path)
86531- if err != nil {
86532- return
86533- }
86534- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
86535- if e1 != 0 {
86536- err = errnoErr(e1)
86537- }
86538- return
86539-}
86540-
86541-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86542-
86543 func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
86544 var _p0 *byte
86545 _p0, err = BytePtrFromString(path)
86546@@ -173,16 +166,6 @@ func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error
86547
86548 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86549
86550-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
86551- _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
86552- if e1 != 0 {
86553- err = errnoErr(e1)
86554- }
86555- return
86556-}
86557-
86558-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86559-
86560 func Getcwd(buf []byte) (n int, err error) {
86561 var _p0 unsafe.Pointer
86562 if len(buf) > 0 {
86563@@ -309,6 +292,36 @@ func keyctlDH(cmd int, arg2 *KeyctlDHParams, buf []byte) (ret int, err error) {
86564
86565 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86566
86567+func keyctlRestrictKeyringByType(cmd int, arg2 int, keyType string, restriction string) (err error) {
86568+ var _p0 *byte
86569+ _p0, err = BytePtrFromString(keyType)
86570+ if err != nil {
86571+ return
86572+ }
86573+ var _p1 *byte
86574+ _p1, err = BytePtrFromString(restriction)
86575+ if err != nil {
86576+ return
86577+ }
86578+ _, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0, 0)
86579+ if e1 != 0 {
86580+ err = errnoErr(e1)
86581+ }
86582+ return
86583+}
86584+
86585+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86586+
86587+func keyctlRestrictKeyring(cmd int, arg2 int) (err error) {
86588+ _, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), 0)
86589+ if e1 != 0 {
86590+ err = errnoErr(e1)
86591+ }
86592+ return
86593+}
86594+
86595+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86596+
86597 func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
86598 _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
86599 if e1 != 0 {
86600@@ -412,6 +425,26 @@ func Adjtimex(buf *Timex) (state int, err error) {
86601
86602 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86603
86604+func Capget(hdr *CapUserHeader, data *CapUserData) (err error) {
86605+ _, _, e1 := RawSyscall(SYS_CAPGET, uintptr(unsafe.Pointer(hdr)), uintptr(unsafe.Pointer(data)), 0)
86606+ if e1 != 0 {
86607+ err = errnoErr(e1)
86608+ }
86609+ return
86610+}
86611+
86612+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86613+
86614+func Capset(hdr *CapUserHeader, data *CapUserData) (err error) {
86615+ _, _, e1 := RawSyscall(SYS_CAPSET, uintptr(unsafe.Pointer(hdr)), uintptr(unsafe.Pointer(data)), 0)
86616+ if e1 != 0 {
86617+ err = errnoErr(e1)
86618+ }
86619+ return
86620+}
86621+
86622+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86623+
86624 func Chdir(path string) (err error) {
86625 var _p0 *byte
86626 _p0, err = BytePtrFromString(path)
86627@@ -442,6 +475,16 @@ func Chroot(path string) (err error) {
86628
86629 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86630
86631+func ClockGetres(clockid int32, res *Timespec) (err error) {
86632+ _, _, e1 := Syscall(SYS_CLOCK_GETRES, uintptr(clockid), uintptr(unsafe.Pointer(res)), 0)
86633+ if e1 != 0 {
86634+ err = errnoErr(e1)
86635+ }
86636+ return
86637+}
86638+
86639+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86640+
86641 func ClockGettime(clockid int32, time *Timespec) (err error) {
86642 _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
86643 if e1 != 0 {
86644@@ -452,6 +495,16 @@ func ClockGettime(clockid int32, time *Timespec) (err error) {
86645
86646 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86647
86648+func ClockNanosleep(clockid int32, flags int, request *Timespec, remain *Timespec) (err error) {
86649+ _, _, e1 := Syscall6(SYS_CLOCK_NANOSLEEP, uintptr(clockid), uintptr(flags), uintptr(unsafe.Pointer(request)), uintptr(unsafe.Pointer(remain)), 0, 0)
86650+ if e1 != 0 {
86651+ err = errnoErr(e1)
86652+ }
86653+ return
86654+}
86655+
86656+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86657+
86658 func Close(fd int) (err error) {
86659 _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
86660 if e1 != 0 {
86661@@ -473,9 +526,13 @@ func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags in
86662
86663 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86664
86665-func Dup(oldfd int) (fd int, err error) {
86666- r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
86667- fd = int(r0)
86668+func DeleteModule(name string, flags int) (err error) {
86669+ var _p0 *byte
86670+ _p0, err = BytePtrFromString(name)
86671+ if err != nil {
86672+ return
86673+ }
86674+ _, _, e1 := Syscall(SYS_DELETE_MODULE, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
86675 if e1 != 0 {
86676 err = errnoErr(e1)
86677 }
86678@@ -484,8 +541,9 @@ func Dup(oldfd int) (fd int, err error) {
86679
86680 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86681
86682-func Dup3(oldfd int, newfd int, flags int) (err error) {
86683- _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
86684+func Dup(oldfd int) (fd int, err error) {
86685+ r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
86686+ fd = int(r0)
86687 if e1 != 0 {
86688 err = errnoErr(e1)
86689 }
86690@@ -494,9 +552,8 @@ func Dup3(oldfd int, newfd int, flags int) (err error) {
86691
86692 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86693
86694-func EpollCreate(size int) (fd int, err error) {
86695- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
86696- fd = int(r0)
86697+func Dup3(oldfd int, newfd int, flags int) (err error) {
86698+ _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
86699 if e1 != 0 {
86700 err = errnoErr(e1)
86701 }
86702@@ -538,19 +595,14 @@ func Eventfd(initval uint, flags int) (fd int, err error) {
86703 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86704
86705 func Exit(code int) {
86706- Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
86707+ SyscallNoError(SYS_EXIT_GROUP, uintptr(code), 0, 0)
86708 return
86709 }
86710
86711 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86712
86713-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
86714- var _p0 *byte
86715- _p0, err = BytePtrFromString(path)
86716- if err != nil {
86717- return
86718- }
86719- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
86720+func Fchdir(fd int) (err error) {
86721+ _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
86722 if e1 != 0 {
86723 err = errnoErr(e1)
86724 }
86725@@ -559,8 +611,8 @@ func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
86726
86727 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86728
86729-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
86730- _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
86731+func Fchmod(fd int, mode uint32) (err error) {
86732+ _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
86733 if e1 != 0 {
86734 err = errnoErr(e1)
86735 }
86736@@ -569,8 +621,13 @@ func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
86737
86738 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86739
86740-func Fchdir(fd int) (err error) {
86741- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
86742+func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
86743+ var _p0 *byte
86744+ _p0, err = BytePtrFromString(path)
86745+ if err != nil {
86746+ return
86747+ }
86748+ _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
86749 if e1 != 0 {
86750 err = errnoErr(e1)
86751 }
86752@@ -579,8 +636,8 @@ func Fchdir(fd int) (err error) {
86753
86754 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86755
86756-func Fchmod(fd int, mode uint32) (err error) {
86757- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
86758+func Fdatasync(fd int) (err error) {
86759+ _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
86760 if e1 != 0 {
86761 err = errnoErr(e1)
86762 }
86763@@ -589,13 +646,20 @@ func Fchmod(fd int, mode uint32) (err error) {
86764
86765 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86766
86767-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
86768+func Fgetxattr(fd int, attr string, dest []byte) (sz int, err error) {
86769 var _p0 *byte
86770- _p0, err = BytePtrFromString(path)
86771+ _p0, err = BytePtrFromString(attr)
86772 if err != nil {
86773 return
86774 }
86775- _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
86776+ var _p1 unsafe.Pointer
86777+ if len(dest) > 0 {
86778+ _p1 = unsafe.Pointer(&dest[0])
86779+ } else {
86780+ _p1 = unsafe.Pointer(&_zero)
86781+ }
86782+ r0, _, e1 := Syscall6(SYS_FGETXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)), 0, 0)
86783+ sz = int(r0)
86784 if e1 != 0 {
86785 err = errnoErr(e1)
86786 }
86787@@ -604,9 +668,13 @@ func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
86788
86789 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86790
86791-func fcntl(fd int, cmd int, arg int) (val int, err error) {
86792- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
86793- val = int(r0)
86794+func FinitModule(fd int, params string, flags int) (err error) {
86795+ var _p0 *byte
86796+ _p0, err = BytePtrFromString(params)
86797+ if err != nil {
86798+ return
86799+ }
86800+ _, _, e1 := Syscall(SYS_FINIT_MODULE, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
86801 if e1 != 0 {
86802 err = errnoErr(e1)
86803 }
86804@@ -615,8 +683,15 @@ func fcntl(fd int, cmd int, arg int) (val int, err error) {
86805
86806 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86807
86808-func Fdatasync(fd int) (err error) {
86809- _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
86810+func Flistxattr(fd int, dest []byte) (sz int, err error) {
86811+ var _p0 unsafe.Pointer
86812+ if len(dest) > 0 {
86813+ _p0 = unsafe.Pointer(&dest[0])
86814+ } else {
86815+ _p0 = unsafe.Pointer(&_zero)
86816+ }
86817+ r0, _, e1 := Syscall(SYS_FLISTXATTR, uintptr(fd), uintptr(_p0), uintptr(len(dest)))
86818+ sz = int(r0)
86819 if e1 != 0 {
86820 err = errnoErr(e1)
86821 }
86822@@ -635,6 +710,42 @@ func Flock(fd int, how int) (err error) {
86823
86824 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86825
86826+func Fremovexattr(fd int, attr string) (err error) {
86827+ var _p0 *byte
86828+ _p0, err = BytePtrFromString(attr)
86829+ if err != nil {
86830+ return
86831+ }
86832+ _, _, e1 := Syscall(SYS_FREMOVEXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), 0)
86833+ if e1 != 0 {
86834+ err = errnoErr(e1)
86835+ }
86836+ return
86837+}
86838+
86839+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86840+
86841+func Fsetxattr(fd int, attr string, dest []byte, flags int) (err error) {
86842+ var _p0 *byte
86843+ _p0, err = BytePtrFromString(attr)
86844+ if err != nil {
86845+ return
86846+ }
86847+ var _p1 unsafe.Pointer
86848+ if len(dest) > 0 {
86849+ _p1 = unsafe.Pointer(&dest[0])
86850+ } else {
86851+ _p1 = unsafe.Pointer(&_zero)
86852+ }
86853+ _, _, e1 := Syscall6(SYS_FSETXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)), uintptr(flags), 0)
86854+ if e1 != 0 {
86855+ err = errnoErr(e1)
86856+ }
86857+ return
86858+}
86859+
86860+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86861+
86862 func Fsync(fd int) (err error) {
86863 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
86864 if e1 != 0 {
86865@@ -674,7 +785,7 @@ func Getpgid(pid int) (pgid int, err error) {
86866 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86867
86868 func Getpid() (pid int) {
86869- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
86870+ r0, _ := RawSyscallNoError(SYS_GETPID, 0, 0, 0)
86871 pid = int(r0)
86872 return
86873 }
86874@@ -682,7 +793,7 @@ func Getpid() (pid int) {
86875 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86876
86877 func Getppid() (ppid int) {
86878- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
86879+ r0, _ := RawSyscallNoError(SYS_GETPPID, 0, 0, 0)
86880 ppid = int(r0)
86881 return
86882 }
86883@@ -739,7 +850,7 @@ func Getsid(pid int) (sid int, err error) {
86884 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86885
86886 func Gettid() (tid int) {
86887- r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
86888+ r0, _ := RawSyscallNoError(SYS_GETTID, 0, 0, 0)
86889 tid = int(r0)
86890 return
86891 }
86892@@ -773,6 +884,27 @@ func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
86893
86894 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86895
86896+func InitModule(moduleImage []byte, params string) (err error) {
86897+ var _p0 unsafe.Pointer
86898+ if len(moduleImage) > 0 {
86899+ _p0 = unsafe.Pointer(&moduleImage[0])
86900+ } else {
86901+ _p0 = unsafe.Pointer(&_zero)
86902+ }
86903+ var _p1 *byte
86904+ _p1, err = BytePtrFromString(params)
86905+ if err != nil {
86906+ return
86907+ }
86908+ _, _, e1 := Syscall(SYS_INIT_MODULE, uintptr(_p0), uintptr(len(moduleImage)), uintptr(unsafe.Pointer(_p1)))
86909+ if e1 != 0 {
86910+ err = errnoErr(e1)
86911+ }
86912+ return
86913+}
86914+
86915+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86916+
86917 func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
86918 var _p0 *byte
86919 _p0, err = BytePtrFromString(pathname)
86920@@ -955,6 +1087,22 @@ func Lsetxattr(path string, attr string, data []byte, flags int) (err error) {
86921
86922 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86923
86924+func MemfdCreate(name string, flags int) (fd int, err error) {
86925+ var _p0 *byte
86926+ _p0, err = BytePtrFromString(name)
86927+ if err != nil {
86928+ return
86929+ }
86930+ r0, _, e1 := Syscall(SYS_MEMFD_CREATE, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
86931+ fd = int(r0)
86932+ if e1 != 0 {
86933+ err = errnoErr(e1)
86934+ }
86935+ return
86936+}
86937+
86938+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86939+
86940 func Mkdirat(dirfd int, path string, mode uint32) (err error) {
86941 var _p0 *byte
86942 _p0, err = BytePtrFromString(path)
86943@@ -995,6 +1143,17 @@ func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
86944
86945 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86946
86947+func PerfEventOpen(attr *PerfEventAttr, pid int, cpu int, groupFd int, flags int) (fd int, err error) {
86948+ r0, _, e1 := Syscall6(SYS_PERF_EVENT_OPEN, uintptr(unsafe.Pointer(attr)), uintptr(pid), uintptr(cpu), uintptr(groupFd), uintptr(flags), 0)
86949+ fd = int(r0)
86950+ if e1 != 0 {
86951+ err = errnoErr(e1)
86952+ }
86953+ return
86954+}
86955+
86956+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86957+
86958 func PivotRoot(newroot string, putold string) (err error) {
86959 var _p0 *byte
86960 _p0, err = BytePtrFromString(newroot)
86961@@ -1035,6 +1194,17 @@ func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (
86962
86963 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86964
86965+func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
86966+ r0, _, e1 := Syscall6(SYS_PSELECT6, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)))
86967+ n = int(r0)
86968+ if e1 != 0 {
86969+ err = errnoErr(e1)
86970+ }
86971+ return
86972+}
86973+
86974+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86975+
86976 func read(fd int, p []byte) (n int, err error) {
86977 var _p0 unsafe.Pointer
86978 if len(p) > 0 {
86979@@ -1072,7 +1242,7 @@ func Removexattr(path string, attr string) (err error) {
86980
86981 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
86982
86983-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
86984+func Renameat2(olddirfd int, oldpath string, newdirfd int, newpath string, flags uint) (err error) {
86985 var _p0 *byte
86986 _p0, err = BytePtrFromString(oldpath)
86987 if err != nil {
86988@@ -1083,7 +1253,7 @@ func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err e
86989 if err != nil {
86990 return
86991 }
86992- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
86993+ _, _, e1 := Syscall6(SYS_RENAMEAT2, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
86994 if e1 != 0 {
86995 err = errnoErr(e1)
86996 }
86997@@ -1227,15 +1397,24 @@ func Setxattr(path string, attr string, data []byte, flags int) (err error) {
86998
86999 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87000
87001-func Sync() {
87002- Syscall(SYS_SYNC, 0, 0, 0)
87003+func signalfd(fd int, sigmask *Sigset_t, maskSize uintptr, flags int) (newfd int, err error) {
87004+ r0, _, e1 := Syscall6(SYS_SIGNALFD4, uintptr(fd), uintptr(unsafe.Pointer(sigmask)), uintptr(maskSize), uintptr(flags), 0, 0)
87005+ newfd = int(r0)
87006+ if e1 != 0 {
87007+ err = errnoErr(e1)
87008+ }
87009 return
87010 }
87011
87012 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87013
87014-func Syncfs(fd int) (err error) {
87015- _, _, e1 := Syscall(SYS_SYNCFS, uintptr(fd), 0, 0)
87016+func Statx(dirfd int, path string, flags int, mask int, stat *Statx_t) (err error) {
87017+ var _p0 *byte
87018+ _p0, err = BytePtrFromString(path)
87019+ if err != nil {
87020+ return
87021+ }
87022+ _, _, e1 := Syscall6(SYS_STATX, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mask), uintptr(unsafe.Pointer(stat)), 0)
87023 if e1 != 0 {
87024 err = errnoErr(e1)
87025 }
87026@@ -1244,8 +1423,15 @@ func Syncfs(fd int) (err error) {
87027
87028 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87029
87030-func Sysinfo(info *Sysinfo_t) (err error) {
87031- _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
87032+func Sync() {
87033+ SyscallNoError(SYS_SYNC, 0, 0, 0)
87034+ return
87035+}
87036+
87037+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87038+
87039+func Syncfs(fd int) (err error) {
87040+ _, _, e1 := Syscall(SYS_SYNCFS, uintptr(fd), 0, 0)
87041 if e1 != 0 {
87042 err = errnoErr(e1)
87043 }
87044@@ -1254,9 +1440,8 @@ func Sysinfo(info *Sysinfo_t) (err error) {
87045
87046 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87047
87048-func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
87049- r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
87050- n = int64(r0)
87051+func Sysinfo(info *Sysinfo_t) (err error) {
87052+ _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
87053 if e1 != 0 {
87054 err = errnoErr(e1)
87055 }
87056@@ -1287,7 +1472,7 @@ func Times(tms *Tms) (ticks uintptr, err error) {
87057 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87058
87059 func Umask(mask int) (oldmask int) {
87060- r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
87061+ r0, _ := RawSyscallNoError(SYS_UMASK, uintptr(mask), 0, 0)
87062 oldmask = int(r0)
87063 return
87064 }
87065@@ -1329,16 +1514,6 @@ func Unshare(flags int) (err error) {
87066
87067 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87068
87069-func Ustat(dev int, ubuf *Ustat_t) (err error) {
87070- _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
87071- if e1 != 0 {
87072- err = errnoErr(e1)
87073- }
87074- return
87075-}
87076-
87077-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87078-
87079 func write(fd int, p []byte) (n int, err error) {
87080 var _p0 unsafe.Pointer
87081 if len(p) > 0 {
87082@@ -1388,24 +1563,15 @@ func writelen(fd int, p *byte, np int) (n int, err error) {
87083
87084 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87085
87086-func munmap(addr uintptr, length uintptr) (err error) {
87087- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
87088- if e1 != 0 {
87089- err = errnoErr(e1)
87090- }
87091- return
87092-}
87093-
87094-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87095-
87096-func Madvise(b []byte, advice int) (err error) {
87097+func readv(fd int, iovs []Iovec) (n int, err error) {
87098 var _p0 unsafe.Pointer
87099- if len(b) > 0 {
87100- _p0 = unsafe.Pointer(&b[0])
87101+ if len(iovs) > 0 {
87102+ _p0 = unsafe.Pointer(&iovs[0])
87103 } else {
87104 _p0 = unsafe.Pointer(&_zero)
87105 }
87106- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
87107+ r0, _, e1 := Syscall(SYS_READV, uintptr(fd), uintptr(_p0), uintptr(len(iovs)))
87108+ n = int(r0)
87109 if e1 != 0 {
87110 err = errnoErr(e1)
87111 }
87112@@ -1414,14 +1580,15 @@ func Madvise(b []byte, advice int) (err error) {
87113
87114 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87115
87116-func Mprotect(b []byte, prot int) (err error) {
87117+func writev(fd int, iovs []Iovec) (n int, err error) {
87118 var _p0 unsafe.Pointer
87119- if len(b) > 0 {
87120- _p0 = unsafe.Pointer(&b[0])
87121+ if len(iovs) > 0 {
87122+ _p0 = unsafe.Pointer(&iovs[0])
87123 } else {
87124 _p0 = unsafe.Pointer(&_zero)
87125 }
87126- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
87127+ r0, _, e1 := Syscall(SYS_WRITEV, uintptr(fd), uintptr(_p0), uintptr(len(iovs)))
87128+ n = int(r0)
87129 if e1 != 0 {
87130 err = errnoErr(e1)
87131 }
87132@@ -1430,14 +1597,15 @@ func Mprotect(b []byte, prot int) (err error) {
87133
87134 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87135
87136-func Mlock(b []byte) (err error) {
87137+func preadv(fd int, iovs []Iovec, offs_l uintptr, offs_h uintptr) (n int, err error) {
87138 var _p0 unsafe.Pointer
87139- if len(b) > 0 {
87140- _p0 = unsafe.Pointer(&b[0])
87141+ if len(iovs) > 0 {
87142+ _p0 = unsafe.Pointer(&iovs[0])
87143 } else {
87144 _p0 = unsafe.Pointer(&_zero)
87145 }
87146- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
87147+ r0, _, e1 := Syscall6(SYS_PREADV, uintptr(fd), uintptr(_p0), uintptr(len(iovs)), uintptr(offs_l), uintptr(offs_h), 0)
87148+ n = int(r0)
87149 if e1 != 0 {
87150 err = errnoErr(e1)
87151 }
87152@@ -1446,24 +1614,15 @@ func Mlock(b []byte) (err error) {
87153
87154 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87155
87156-func Munlock(b []byte) (err error) {
87157+func pwritev(fd int, iovs []Iovec, offs_l uintptr, offs_h uintptr) (n int, err error) {
87158 var _p0 unsafe.Pointer
87159- if len(b) > 0 {
87160- _p0 = unsafe.Pointer(&b[0])
87161+ if len(iovs) > 0 {
87162+ _p0 = unsafe.Pointer(&iovs[0])
87163 } else {
87164 _p0 = unsafe.Pointer(&_zero)
87165 }
87166- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
87167- if e1 != 0 {
87168- err = errnoErr(e1)
87169- }
87170- return
87171-}
87172-
87173-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87174-
87175-func Mlockall(flags int) (err error) {
87176- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
87177+ r0, _, e1 := Syscall6(SYS_PWRITEV, uintptr(fd), uintptr(_p0), uintptr(len(iovs)), uintptr(offs_l), uintptr(offs_h), 0)
87178+ n = int(r0)
87179 if e1 != 0 {
87180 err = errnoErr(e1)
87181 }
87182@@ -1472,34 +1631,15 @@ func Mlockall(flags int) (err error) {
87183
87184 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87185
87186-func Msync(b []byte, flags int) (err error) {
87187+func preadv2(fd int, iovs []Iovec, offs_l uintptr, offs_h uintptr, flags int) (n int, err error) {
87188 var _p0 unsafe.Pointer
87189- if len(b) > 0 {
87190- _p0 = unsafe.Pointer(&b[0])
87191+ if len(iovs) > 0 {
87192+ _p0 = unsafe.Pointer(&iovs[0])
87193 } else {
87194 _p0 = unsafe.Pointer(&_zero)
87195 }
87196- _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags))
87197- if e1 != 0 {
87198- err = errnoErr(e1)
87199- }
87200- return
87201-}
87202-
87203-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87204-
87205-func Munlockall() (err error) {
87206- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
87207- if e1 != 0 {
87208- err = errnoErr(e1)
87209- }
87210- return
87211-}
87212-
87213-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87214-
87215-func Dup2(oldfd int, newfd int) (err error) {
87216- _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
87217+ r0, _, e1 := Syscall6(SYS_PREADV2, uintptr(fd), uintptr(_p0), uintptr(len(iovs)), uintptr(offs_l), uintptr(offs_h), uintptr(flags))
87218+ n = int(r0)
87219 if e1 != 0 {
87220 err = errnoErr(e1)
87221 }
87222@@ -1508,14 +1648,14 @@ func Dup2(oldfd int, newfd int) (err error) {
87223
87224 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87225
87226-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
87227+func pwritev2(fd int, iovs []Iovec, offs_l uintptr, offs_h uintptr, flags int) (n int, err error) {
87228 var _p0 unsafe.Pointer
87229- if len(events) > 0 {
87230- _p0 = unsafe.Pointer(&events[0])
87231+ if len(iovs) > 0 {
87232+ _p0 = unsafe.Pointer(&iovs[0])
87233 } else {
87234 _p0 = unsafe.Pointer(&_zero)
87235 }
87236- r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
87237+ r0, _, e1 := Syscall6(SYS_PWRITEV2, uintptr(fd), uintptr(_p0), uintptr(len(iovs)), uintptr(offs_l), uintptr(offs_h), uintptr(flags))
87238 n = int(r0)
87239 if e1 != 0 {
87240 err = errnoErr(e1)
87241@@ -1525,141 +1665,8 @@ func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
87242
87243 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87244
87245-func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
87246- _, _, e1 := Syscall6(SYS_FADVISE64, uintptr(fd), uintptr(offset), uintptr(length), uintptr(advice), 0, 0)
87247- if e1 != 0 {
87248- err = errnoErr(e1)
87249- }
87250- return
87251-}
87252-
87253-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87254-
87255-func Fchown(fd int, uid int, gid int) (err error) {
87256- _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
87257- if e1 != 0 {
87258- err = errnoErr(e1)
87259- }
87260- return
87261-}
87262-
87263-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87264-
87265-func Fstat(fd int, stat *Stat_t) (err error) {
87266- _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
87267- if e1 != 0 {
87268- err = errnoErr(e1)
87269- }
87270- return
87271-}
87272-
87273-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87274-
87275-func Fstatfs(fd int, buf *Statfs_t) (err error) {
87276- _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
87277- if e1 != 0 {
87278- err = errnoErr(e1)
87279- }
87280- return
87281-}
87282-
87283-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87284-
87285-func Ftruncate(fd int, length int64) (err error) {
87286- _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
87287- if e1 != 0 {
87288- err = errnoErr(e1)
87289- }
87290- return
87291-}
87292-
87293-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87294-
87295-func Getegid() (egid int) {
87296- r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
87297- egid = int(r0)
87298- return
87299-}
87300-
87301-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87302-
87303-func Geteuid() (euid int) {
87304- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
87305- euid = int(r0)
87306- return
87307-}
87308-
87309-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87310-
87311-func Getgid() (gid int) {
87312- r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
87313- gid = int(r0)
87314- return
87315-}
87316-
87317-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87318-
87319-func Getrlimit(resource int, rlim *Rlimit) (err error) {
87320- _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
87321- if e1 != 0 {
87322- err = errnoErr(e1)
87323- }
87324- return
87325-}
87326-
87327-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87328-
87329-func Getuid() (uid int) {
87330- r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
87331- uid = int(r0)
87332- return
87333-}
87334-
87335-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87336-
87337-func InotifyInit() (fd int, err error) {
87338- r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT, 0, 0, 0)
87339- fd = int(r0)
87340- if e1 != 0 {
87341- err = errnoErr(e1)
87342- }
87343- return
87344-}
87345-
87346-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87347-
87348-func Lchown(path string, uid int, gid int) (err error) {
87349- var _p0 *byte
87350- _p0, err = BytePtrFromString(path)
87351- if err != nil {
87352- return
87353- }
87354- _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
87355- if e1 != 0 {
87356- err = errnoErr(e1)
87357- }
87358- return
87359-}
87360-
87361-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87362-
87363-func Lstat(path string, stat *Stat_t) (err error) {
87364- var _p0 *byte
87365- _p0, err = BytePtrFromString(path)
87366- if err != nil {
87367- return
87368- }
87369- _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
87370- if e1 != 0 {
87371- err = errnoErr(e1)
87372- }
87373- return
87374-}
87375-
87376-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87377-
87378-func Pause() (err error) {
87379- _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
87380+func munmap(addr uintptr, length uintptr) (err error) {
87381+ _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
87382 if e1 != 0 {
87383 err = errnoErr(e1)
87384 }
87385@@ -1668,15 +1675,14 @@ func Pause() (err error) {
87386
87387 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87388
87389-func Pread(fd int, p []byte, offset int64) (n int, err error) {
87390+func Madvise(b []byte, advice int) (err error) {
87391 var _p0 unsafe.Pointer
87392- if len(p) > 0 {
87393- _p0 = unsafe.Pointer(&p[0])
87394+ if len(b) > 0 {
87395+ _p0 = unsafe.Pointer(&b[0])
87396 } else {
87397 _p0 = unsafe.Pointer(&_zero)
87398 }
87399- r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
87400- n = int(r0)
87401+ _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
87402 if e1 != 0 {
87403 err = errnoErr(e1)
87404 }
87405@@ -1685,58 +1691,14 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
87406
87407 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87408
87409-func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
87410+func Mprotect(b []byte, prot int) (err error) {
87411 var _p0 unsafe.Pointer
87412- if len(p) > 0 {
87413- _p0 = unsafe.Pointer(&p[0])
87414+ if len(b) > 0 {
87415+ _p0 = unsafe.Pointer(&b[0])
87416 } else {
87417 _p0 = unsafe.Pointer(&_zero)
87418 }
87419- r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
87420- n = int(r0)
87421- if e1 != 0 {
87422- err = errnoErr(e1)
87423- }
87424- return
87425-}
87426-
87427-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87428-
87429-func Seek(fd int, offset int64, whence int) (off int64, err error) {
87430- r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
87431- off = int64(r0)
87432- if e1 != 0 {
87433- err = errnoErr(e1)
87434- }
87435- return
87436-}
87437-
87438-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87439-
87440-func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
87441- r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
87442- n = int(r0)
87443- if e1 != 0 {
87444- err = errnoErr(e1)
87445- }
87446- return
87447-}
87448-
87449-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87450-
87451-func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
87452- r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
87453- written = int(r0)
87454- if e1 != 0 {
87455- err = errnoErr(e1)
87456- }
87457- return
87458-}
87459-
87460-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87461-
87462-func Setfsgid(gid int) (err error) {
87463- _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
87464+ _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
87465 if e1 != 0 {
87466 err = errnoErr(e1)
87467 }
87468@@ -1745,18 +1707,14 @@ func Setfsgid(gid int) (err error) {
87469
87470 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87471
87472-func Setfsuid(uid int) (err error) {
87473- _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
87474- if e1 != 0 {
87475- err = errnoErr(e1)
87476+func Mlock(b []byte) (err error) {
87477+ var _p0 unsafe.Pointer
87478+ if len(b) > 0 {
87479+ _p0 = unsafe.Pointer(&b[0])
87480+ } else {
87481+ _p0 = unsafe.Pointer(&_zero)
87482 }
87483- return
87484-}
87485-
87486-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87487-
87488-func Setregid(rgid int, egid int) (err error) {
87489- _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
87490+ _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
87491 if e1 != 0 {
87492 err = errnoErr(e1)
87493 }
87494@@ -1765,8 +1723,8 @@ func Setregid(rgid int, egid int) (err error) {
87495
87496 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87497
87498-func Setresgid(rgid int, egid int, sgid int) (err error) {
87499- _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
87500+func Mlockall(flags int) (err error) {
87501+ _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
87502 if e1 != 0 {
87503 err = errnoErr(e1)
87504 }
87505@@ -1775,18 +1733,14 @@ func Setresgid(rgid int, egid int, sgid int) (err error) {
87506
87507 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87508
87509-func Setresuid(ruid int, euid int, suid int) (err error) {
87510- _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
87511- if e1 != 0 {
87512- err = errnoErr(e1)
87513+func Msync(b []byte, flags int) (err error) {
87514+ var _p0 unsafe.Pointer
87515+ if len(b) > 0 {
87516+ _p0 = unsafe.Pointer(&b[0])
87517+ } else {
87518+ _p0 = unsafe.Pointer(&_zero)
87519 }
87520- return
87521-}
87522-
87523-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87524-
87525-func Setrlimit(resource int, rlim *Rlimit) (err error) {
87526- _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
87527+ _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags))
87528 if e1 != 0 {
87529 err = errnoErr(e1)
87530 }
87531@@ -1795,19 +1749,14 @@ func Setrlimit(resource int, rlim *Rlimit) (err error) {
87532
87533 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87534
87535-func Setreuid(ruid int, euid int) (err error) {
87536- _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
87537- if e1 != 0 {
87538- err = errnoErr(e1)
87539+func Munlock(b []byte) (err error) {
87540+ var _p0 unsafe.Pointer
87541+ if len(b) > 0 {
87542+ _p0 = unsafe.Pointer(&b[0])
87543+ } else {
87544+ _p0 = unsafe.Pointer(&_zero)
87545 }
87546- return
87547-}
87548-
87549-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87550-
87551-func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
87552- r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
87553- n = int64(r0)
87554+ _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
87555 if e1 != 0 {
87556 err = errnoErr(e1)
87557 }
87558@@ -1816,13 +1765,8 @@ func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n i
87559
87560 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87561
87562-func Stat(path string, stat *Stat_t) (err error) {
87563- var _p0 *byte
87564- _p0, err = BytePtrFromString(path)
87565- if err != nil {
87566- return
87567- }
87568- _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
87569+func Munlockall() (err error) {
87570+ _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
87571 if e1 != 0 {
87572 err = errnoErr(e1)
87573 }
87574@@ -1831,13 +1775,13 @@ func Stat(path string, stat *Stat_t) (err error) {
87575
87576 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87577
87578-func Statfs(path string, buf *Statfs_t) (err error) {
87579+func faccessat(dirfd int, path string, mode uint32) (err error) {
87580 var _p0 *byte
87581 _p0, err = BytePtrFromString(path)
87582 if err != nil {
87583 return
87584 }
87585- _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
87586+ _, _, e1 := Syscall(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
87587 if e1 != 0 {
87588 err = errnoErr(e1)
87589 }
87590@@ -1846,23 +1790,13 @@ func Statfs(path string, buf *Statfs_t) (err error) {
87591
87592 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87593
87594-func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
87595- _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0)
87596- if e1 != 0 {
87597- err = errnoErr(e1)
87598- }
87599- return
87600-}
87601-
87602-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87603-
87604-func Truncate(path string, length int64) (err error) {
87605+func nameToHandleAt(dirFD int, pathname string, fh *fileHandle, mountID *_C_int, flags int) (err error) {
87606 var _p0 *byte
87607- _p0, err = BytePtrFromString(path)
87608+ _p0, err = BytePtrFromString(pathname)
87609 if err != nil {
87610 return
87611 }
87612- _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
87613+ _, _, e1 := Syscall6(SYS_NAME_TO_HANDLE_AT, uintptr(dirFD), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(fh)), uintptr(unsafe.Pointer(mountID)), uintptr(flags), 0)
87614 if e1 != 0 {
87615 err = errnoErr(e1)
87616 }
87617@@ -1871,44 +1805,9 @@ func Truncate(path string, length int64) (err error) {
87618
87619 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87620
87621-func getgroups(n int, list *_Gid_t) (nn int, err error) {
87622- r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
87623- nn = int(r0)
87624- if e1 != 0 {
87625- err = errnoErr(e1)
87626- }
87627- return
87628-}
87629-
87630-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87631-
87632-func setgroups(n int, list *_Gid_t) (err error) {
87633- _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
87634- if e1 != 0 {
87635- err = errnoErr(e1)
87636- }
87637- return
87638-}
87639-
87640-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87641-
87642-func Gettimeofday(tv *Timeval) (err error) {
87643- _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
87644- if e1 != 0 {
87645- err = errnoErr(e1)
87646- }
87647- return
87648-}
87649-
87650-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87651-
87652-func Utime(path string, buf *Utimbuf) (err error) {
87653- var _p0 *byte
87654- _p0, err = BytePtrFromString(path)
87655- if err != nil {
87656- return
87657- }
87658- _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
87659+func openByHandleAt(mountFD int, fh *fileHandle, flags int) (fd int, err error) {
87660+ r0, _, e1 := Syscall(SYS_OPEN_BY_HANDLE_AT, uintptr(mountFD), uintptr(unsafe.Pointer(fh)), uintptr(flags))
87661+ fd = int(r0)
87662 if e1 != 0 {
87663 err = errnoErr(e1)
87664 }
87665@@ -1924,14 +1823,3 @@ func pipe2(p *[2]_C_int, flags int) (err error) {
87666 }
87667 return
87668 }
87669-
87670-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87671-
87672-func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
87673- r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
87674- n = int(r0)
87675- if e1 != 0 {
87676- err = errnoErr(e1)
87677- }
87678- return
87679-}
87680diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go
87681index 38c1bbdf..ba63af7b 100644
87682--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go
87683+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go
87684@@ -1,4 +1,4 @@
87685-// mksyscall.pl -l32 -tags linux,386 syscall_linux.go syscall_linux_386.go
87686+// go run mksyscall.go -l32 -tags linux,386 syscall_linux.go syscall_linux_386.go
87687 // Code generated by the command above; see README.md. DO NOT EDIT.
87688
87689 // +build linux,386
87690@@ -14,1259 +14,8 @@ var _ syscall.Errno
87691
87692 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87693
87694-func fchmodat(dirfd int, path string, mode uint32) (err error) {
87695- var _p0 *byte
87696- _p0, err = BytePtrFromString(path)
87697- if err != nil {
87698- return
87699- }
87700- _, _, e1 := Syscall(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
87701- if e1 != 0 {
87702- err = errnoErr(e1)
87703- }
87704- return
87705-}
87706-
87707-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87708-
87709-func ioctl(fd int, req uint, arg uintptr) (err error) {
87710- _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
87711- if e1 != 0 {
87712- err = errnoErr(e1)
87713- }
87714- return
87715-}
87716-
87717-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87718-
87719-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
87720- var _p0 *byte
87721- _p0, err = BytePtrFromString(oldpath)
87722- if err != nil {
87723- return
87724- }
87725- var _p1 *byte
87726- _p1, err = BytePtrFromString(newpath)
87727- if err != nil {
87728- return
87729- }
87730- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
87731- if e1 != 0 {
87732- err = errnoErr(e1)
87733- }
87734- return
87735-}
87736-
87737-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87738-
87739-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
87740- var _p0 *byte
87741- _p0, err = BytePtrFromString(path)
87742- if err != nil {
87743- return
87744- }
87745- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
87746- fd = int(r0)
87747- if e1 != 0 {
87748- err = errnoErr(e1)
87749- }
87750- return
87751-}
87752-
87753-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87754-
87755-func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
87756- r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
87757- n = int(r0)
87758- if e1 != 0 {
87759- err = errnoErr(e1)
87760- }
87761- return
87762-}
87763-
87764-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87765-
87766-func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
87767- var _p0 *byte
87768- _p0, err = BytePtrFromString(path)
87769- if err != nil {
87770- return
87771- }
87772- var _p1 unsafe.Pointer
87773- if len(buf) > 0 {
87774- _p1 = unsafe.Pointer(&buf[0])
87775- } else {
87776- _p1 = unsafe.Pointer(&_zero)
87777- }
87778- r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
87779- n = int(r0)
87780- if e1 != 0 {
87781- err = errnoErr(e1)
87782- }
87783- return
87784-}
87785-
87786-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87787-
87788-func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
87789- var _p0 *byte
87790- _p0, err = BytePtrFromString(oldpath)
87791- if err != nil {
87792- return
87793- }
87794- var _p1 *byte
87795- _p1, err = BytePtrFromString(newpath)
87796- if err != nil {
87797- return
87798- }
87799- _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
87800- if e1 != 0 {
87801- err = errnoErr(e1)
87802- }
87803- return
87804-}
87805-
87806-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87807-
87808-func Unlinkat(dirfd int, path string, flags int) (err error) {
87809- var _p0 *byte
87810- _p0, err = BytePtrFromString(path)
87811- if err != nil {
87812- return
87813- }
87814- _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
87815- if e1 != 0 {
87816- err = errnoErr(e1)
87817- }
87818- return
87819-}
87820-
87821-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87822-
87823-func utimes(path string, times *[2]Timeval) (err error) {
87824- var _p0 *byte
87825- _p0, err = BytePtrFromString(path)
87826- if err != nil {
87827- return
87828- }
87829- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
87830- if e1 != 0 {
87831- err = errnoErr(e1)
87832- }
87833- return
87834-}
87835-
87836-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87837-
87838-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
87839- var _p0 *byte
87840- _p0, err = BytePtrFromString(path)
87841- if err != nil {
87842- return
87843- }
87844- _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
87845- if e1 != 0 {
87846- err = errnoErr(e1)
87847- }
87848- return
87849-}
87850-
87851-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87852-
87853-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
87854- _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
87855- if e1 != 0 {
87856- err = errnoErr(e1)
87857- }
87858- return
87859-}
87860-
87861-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87862-
87863-func Getcwd(buf []byte) (n int, err error) {
87864- var _p0 unsafe.Pointer
87865- if len(buf) > 0 {
87866- _p0 = unsafe.Pointer(&buf[0])
87867- } else {
87868- _p0 = unsafe.Pointer(&_zero)
87869- }
87870- r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
87871- n = int(r0)
87872- if e1 != 0 {
87873- err = errnoErr(e1)
87874- }
87875- return
87876-}
87877-
87878-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87879-
87880-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
87881- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
87882- wpid = int(r0)
87883- if e1 != 0 {
87884- err = errnoErr(e1)
87885- }
87886- return
87887-}
87888-
87889-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87890-
87891-func KeyctlInt(cmd int, arg2 int, arg3 int, arg4 int, arg5 int) (ret int, err error) {
87892- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
87893- ret = int(r0)
87894- if e1 != 0 {
87895- err = errnoErr(e1)
87896- }
87897- return
87898-}
87899-
87900-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87901-
87902-func KeyctlBuffer(cmd int, arg2 int, buf []byte, arg5 int) (ret int, err error) {
87903- var _p0 unsafe.Pointer
87904- if len(buf) > 0 {
87905- _p0 = unsafe.Pointer(&buf[0])
87906- } else {
87907- _p0 = unsafe.Pointer(&_zero)
87908- }
87909- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(buf)), uintptr(arg5), 0)
87910- ret = int(r0)
87911- if e1 != 0 {
87912- err = errnoErr(e1)
87913- }
87914- return
87915-}
87916-
87917-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87918-
87919-func keyctlJoin(cmd int, arg2 string) (ret int, err error) {
87920- var _p0 *byte
87921- _p0, err = BytePtrFromString(arg2)
87922- if err != nil {
87923- return
87924- }
87925- r0, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0)
87926- ret = int(r0)
87927- if e1 != 0 {
87928- err = errnoErr(e1)
87929- }
87930- return
87931-}
87932-
87933-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87934-
87935-func keyctlSearch(cmd int, arg2 int, arg3 string, arg4 string, arg5 int) (ret int, err error) {
87936- var _p0 *byte
87937- _p0, err = BytePtrFromString(arg3)
87938- if err != nil {
87939- return
87940- }
87941- var _p1 *byte
87942- _p1, err = BytePtrFromString(arg4)
87943- if err != nil {
87944- return
87945- }
87946- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(arg5), 0)
87947- ret = int(r0)
87948- if e1 != 0 {
87949- err = errnoErr(e1)
87950- }
87951- return
87952-}
87953-
87954-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87955-
87956-func keyctlIOV(cmd int, arg2 int, payload []Iovec, arg5 int) (err error) {
87957- var _p0 unsafe.Pointer
87958- if len(payload) > 0 {
87959- _p0 = unsafe.Pointer(&payload[0])
87960- } else {
87961- _p0 = unsafe.Pointer(&_zero)
87962- }
87963- _, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(payload)), uintptr(arg5), 0)
87964- if e1 != 0 {
87965- err = errnoErr(e1)
87966- }
87967- return
87968-}
87969-
87970-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87971-
87972-func keyctlDH(cmd int, arg2 *KeyctlDHParams, buf []byte) (ret int, err error) {
87973- var _p0 unsafe.Pointer
87974- if len(buf) > 0 {
87975- _p0 = unsafe.Pointer(&buf[0])
87976- } else {
87977- _p0 = unsafe.Pointer(&_zero)
87978- }
87979- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(arg2)), uintptr(_p0), uintptr(len(buf)), 0, 0)
87980- ret = int(r0)
87981- if e1 != 0 {
87982- err = errnoErr(e1)
87983- }
87984- return
87985-}
87986-
87987-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87988-
87989-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
87990- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
87991- if e1 != 0 {
87992- err = errnoErr(e1)
87993- }
87994- return
87995-}
87996-
87997-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
87998-
87999-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
88000- var _p0 *byte
88001- _p0, err = BytePtrFromString(arg)
88002- if err != nil {
88003- return
88004- }
88005- _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
88006- if e1 != 0 {
88007- err = errnoErr(e1)
88008- }
88009- return
88010-}
88011-
88012-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88013-
88014-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
88015- var _p0 *byte
88016- _p0, err = BytePtrFromString(source)
88017- if err != nil {
88018- return
88019- }
88020- var _p1 *byte
88021- _p1, err = BytePtrFromString(target)
88022- if err != nil {
88023- return
88024- }
88025- var _p2 *byte
88026- _p2, err = BytePtrFromString(fstype)
88027- if err != nil {
88028- return
88029- }
88030- _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
88031- if e1 != 0 {
88032- err = errnoErr(e1)
88033- }
88034- return
88035-}
88036-
88037-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88038-
88039-func Acct(path string) (err error) {
88040- var _p0 *byte
88041- _p0, err = BytePtrFromString(path)
88042- if err != nil {
88043- return
88044- }
88045- _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
88046- if e1 != 0 {
88047- err = errnoErr(e1)
88048- }
88049- return
88050-}
88051-
88052-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88053-
88054-func AddKey(keyType string, description string, payload []byte, ringid int) (id int, err error) {
88055- var _p0 *byte
88056- _p0, err = BytePtrFromString(keyType)
88057- if err != nil {
88058- return
88059- }
88060- var _p1 *byte
88061- _p1, err = BytePtrFromString(description)
88062- if err != nil {
88063- return
88064- }
88065- var _p2 unsafe.Pointer
88066- if len(payload) > 0 {
88067- _p2 = unsafe.Pointer(&payload[0])
88068- } else {
88069- _p2 = unsafe.Pointer(&_zero)
88070- }
88071- r0, _, e1 := Syscall6(SYS_ADD_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(payload)), uintptr(ringid), 0)
88072- id = int(r0)
88073- if e1 != 0 {
88074- err = errnoErr(e1)
88075- }
88076- return
88077-}
88078-
88079-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88080-
88081-func Adjtimex(buf *Timex) (state int, err error) {
88082- r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
88083- state = int(r0)
88084- if e1 != 0 {
88085- err = errnoErr(e1)
88086- }
88087- return
88088-}
88089-
88090-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88091-
88092-func Chdir(path string) (err error) {
88093- var _p0 *byte
88094- _p0, err = BytePtrFromString(path)
88095- if err != nil {
88096- return
88097- }
88098- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
88099- if e1 != 0 {
88100- err = errnoErr(e1)
88101- }
88102- return
88103-}
88104-
88105-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88106-
88107-func Chroot(path string) (err error) {
88108- var _p0 *byte
88109- _p0, err = BytePtrFromString(path)
88110- if err != nil {
88111- return
88112- }
88113- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
88114- if e1 != 0 {
88115- err = errnoErr(e1)
88116- }
88117- return
88118-}
88119-
88120-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88121-
88122-func ClockGettime(clockid int32, time *Timespec) (err error) {
88123- _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
88124- if e1 != 0 {
88125- err = errnoErr(e1)
88126- }
88127- return
88128-}
88129-
88130-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88131-
88132-func Close(fd int) (err error) {
88133- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
88134- if e1 != 0 {
88135- err = errnoErr(e1)
88136- }
88137- return
88138-}
88139-
88140-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88141-
88142-func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
88143- r0, _, e1 := Syscall6(SYS_COPY_FILE_RANGE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
88144- n = int(r0)
88145- if e1 != 0 {
88146- err = errnoErr(e1)
88147- }
88148- return
88149-}
88150-
88151-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88152-
88153-func Dup(oldfd int) (fd int, err error) {
88154- r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
88155- fd = int(r0)
88156- if e1 != 0 {
88157- err = errnoErr(e1)
88158- }
88159- return
88160-}
88161-
88162-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88163-
88164-func Dup3(oldfd int, newfd int, flags int) (err error) {
88165- _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
88166- if e1 != 0 {
88167- err = errnoErr(e1)
88168- }
88169- return
88170-}
88171-
88172-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88173-
88174-func EpollCreate(size int) (fd int, err error) {
88175- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
88176- fd = int(r0)
88177- if e1 != 0 {
88178- err = errnoErr(e1)
88179- }
88180- return
88181-}
88182-
88183-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88184-
88185-func EpollCreate1(flag int) (fd int, err error) {
88186- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
88187- fd = int(r0)
88188- if e1 != 0 {
88189- err = errnoErr(e1)
88190- }
88191- return
88192-}
88193-
88194-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88195-
88196-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
88197- _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
88198- if e1 != 0 {
88199- err = errnoErr(e1)
88200- }
88201- return
88202-}
88203-
88204-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88205-
88206-func Eventfd(initval uint, flags int) (fd int, err error) {
88207- r0, _, e1 := Syscall(SYS_EVENTFD2, uintptr(initval), uintptr(flags), 0)
88208- fd = int(r0)
88209- if e1 != 0 {
88210- err = errnoErr(e1)
88211- }
88212- return
88213-}
88214-
88215-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88216-
88217-func Exit(code int) {
88218- Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
88219- return
88220-}
88221-
88222-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88223-
88224-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
88225- var _p0 *byte
88226- _p0, err = BytePtrFromString(path)
88227- if err != nil {
88228- return
88229- }
88230- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
88231- if e1 != 0 {
88232- err = errnoErr(e1)
88233- }
88234- return
88235-}
88236-
88237-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88238-
88239-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
88240- _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(off>>32), uintptr(len), uintptr(len>>32))
88241- if e1 != 0 {
88242- err = errnoErr(e1)
88243- }
88244- return
88245-}
88246-
88247-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88248-
88249-func Fchdir(fd int) (err error) {
88250- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
88251- if e1 != 0 {
88252- err = errnoErr(e1)
88253- }
88254- return
88255-}
88256-
88257-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88258-
88259-func Fchmod(fd int, mode uint32) (err error) {
88260- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
88261- if e1 != 0 {
88262- err = errnoErr(e1)
88263- }
88264- return
88265-}
88266-
88267-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88268-
88269-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
88270- var _p0 *byte
88271- _p0, err = BytePtrFromString(path)
88272- if err != nil {
88273- return
88274- }
88275- _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
88276- if e1 != 0 {
88277- err = errnoErr(e1)
88278- }
88279- return
88280-}
88281-
88282-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88283-
88284-func fcntl(fd int, cmd int, arg int) (val int, err error) {
88285- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
88286- val = int(r0)
88287- if e1 != 0 {
88288- err = errnoErr(e1)
88289- }
88290- return
88291-}
88292-
88293-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88294-
88295-func Fdatasync(fd int) (err error) {
88296- _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
88297- if e1 != 0 {
88298- err = errnoErr(e1)
88299- }
88300- return
88301-}
88302-
88303-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88304-
88305-func Flock(fd int, how int) (err error) {
88306- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
88307- if e1 != 0 {
88308- err = errnoErr(e1)
88309- }
88310- return
88311-}
88312-
88313-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88314-
88315-func Fsync(fd int) (err error) {
88316- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
88317- if e1 != 0 {
88318- err = errnoErr(e1)
88319- }
88320- return
88321-}
88322-
88323-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88324-
88325-func Getdents(fd int, buf []byte) (n int, err error) {
88326- var _p0 unsafe.Pointer
88327- if len(buf) > 0 {
88328- _p0 = unsafe.Pointer(&buf[0])
88329- } else {
88330- _p0 = unsafe.Pointer(&_zero)
88331- }
88332- r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
88333- n = int(r0)
88334- if e1 != 0 {
88335- err = errnoErr(e1)
88336- }
88337- return
88338-}
88339-
88340-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88341-
88342-func Getpgid(pid int) (pgid int, err error) {
88343- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
88344- pgid = int(r0)
88345- if e1 != 0 {
88346- err = errnoErr(e1)
88347- }
88348- return
88349-}
88350-
88351-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88352-
88353-func Getpid() (pid int) {
88354- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
88355- pid = int(r0)
88356- return
88357-}
88358-
88359-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88360-
88361-func Getppid() (ppid int) {
88362- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
88363- ppid = int(r0)
88364- return
88365-}
88366-
88367-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88368-
88369-func Getpriority(which int, who int) (prio int, err error) {
88370- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
88371- prio = int(r0)
88372- if e1 != 0 {
88373- err = errnoErr(e1)
88374- }
88375- return
88376-}
88377-
88378-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88379-
88380-func Getrandom(buf []byte, flags int) (n int, err error) {
88381- var _p0 unsafe.Pointer
88382- if len(buf) > 0 {
88383- _p0 = unsafe.Pointer(&buf[0])
88384- } else {
88385- _p0 = unsafe.Pointer(&_zero)
88386- }
88387- r0, _, e1 := Syscall(SYS_GETRANDOM, uintptr(_p0), uintptr(len(buf)), uintptr(flags))
88388- n = int(r0)
88389- if e1 != 0 {
88390- err = errnoErr(e1)
88391- }
88392- return
88393-}
88394-
88395-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88396-
88397-func Getrusage(who int, rusage *Rusage) (err error) {
88398- _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
88399- if e1 != 0 {
88400- err = errnoErr(e1)
88401- }
88402- return
88403-}
88404-
88405-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88406-
88407-func Getsid(pid int) (sid int, err error) {
88408- r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
88409- sid = int(r0)
88410- if e1 != 0 {
88411- err = errnoErr(e1)
88412- }
88413- return
88414-}
88415-
88416-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88417-
88418-func Gettid() (tid int) {
88419- r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
88420- tid = int(r0)
88421- return
88422-}
88423-
88424-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88425-
88426-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
88427- var _p0 *byte
88428- _p0, err = BytePtrFromString(path)
88429- if err != nil {
88430- return
88431- }
88432- var _p1 *byte
88433- _p1, err = BytePtrFromString(attr)
88434- if err != nil {
88435- return
88436- }
88437- var _p2 unsafe.Pointer
88438- if len(dest) > 0 {
88439- _p2 = unsafe.Pointer(&dest[0])
88440- } else {
88441- _p2 = unsafe.Pointer(&_zero)
88442- }
88443- r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
88444- sz = int(r0)
88445- if e1 != 0 {
88446- err = errnoErr(e1)
88447- }
88448- return
88449-}
88450-
88451-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88452-
88453-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
88454- var _p0 *byte
88455- _p0, err = BytePtrFromString(pathname)
88456- if err != nil {
88457- return
88458- }
88459- r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
88460- watchdesc = int(r0)
88461- if e1 != 0 {
88462- err = errnoErr(e1)
88463- }
88464- return
88465-}
88466-
88467-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88468-
88469-func InotifyInit1(flags int) (fd int, err error) {
88470- r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
88471- fd = int(r0)
88472- if e1 != 0 {
88473- err = errnoErr(e1)
88474- }
88475- return
88476-}
88477-
88478-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88479-
88480-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
88481- r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
88482- success = int(r0)
88483- if e1 != 0 {
88484- err = errnoErr(e1)
88485- }
88486- return
88487-}
88488-
88489-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88490-
88491-func Kill(pid int, sig syscall.Signal) (err error) {
88492- _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
88493- if e1 != 0 {
88494- err = errnoErr(e1)
88495- }
88496- return
88497-}
88498-
88499-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88500-
88501-func Klogctl(typ int, buf []byte) (n int, err error) {
88502- var _p0 unsafe.Pointer
88503- if len(buf) > 0 {
88504- _p0 = unsafe.Pointer(&buf[0])
88505- } else {
88506- _p0 = unsafe.Pointer(&_zero)
88507- }
88508- r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
88509- n = int(r0)
88510- if e1 != 0 {
88511- err = errnoErr(e1)
88512- }
88513- return
88514-}
88515-
88516-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88517-
88518-func Lgetxattr(path string, attr string, dest []byte) (sz int, err error) {
88519- var _p0 *byte
88520- _p0, err = BytePtrFromString(path)
88521- if err != nil {
88522- return
88523- }
88524- var _p1 *byte
88525- _p1, err = BytePtrFromString(attr)
88526- if err != nil {
88527- return
88528- }
88529- var _p2 unsafe.Pointer
88530- if len(dest) > 0 {
88531- _p2 = unsafe.Pointer(&dest[0])
88532- } else {
88533- _p2 = unsafe.Pointer(&_zero)
88534- }
88535- r0, _, e1 := Syscall6(SYS_LGETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
88536- sz = int(r0)
88537- if e1 != 0 {
88538- err = errnoErr(e1)
88539- }
88540- return
88541-}
88542-
88543-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88544-
88545-func Listxattr(path string, dest []byte) (sz int, err error) {
88546- var _p0 *byte
88547- _p0, err = BytePtrFromString(path)
88548- if err != nil {
88549- return
88550- }
88551- var _p1 unsafe.Pointer
88552- if len(dest) > 0 {
88553- _p1 = unsafe.Pointer(&dest[0])
88554- } else {
88555- _p1 = unsafe.Pointer(&_zero)
88556- }
88557- r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
88558- sz = int(r0)
88559- if e1 != 0 {
88560- err = errnoErr(e1)
88561- }
88562- return
88563-}
88564-
88565-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88566-
88567-func Llistxattr(path string, dest []byte) (sz int, err error) {
88568- var _p0 *byte
88569- _p0, err = BytePtrFromString(path)
88570- if err != nil {
88571- return
88572- }
88573- var _p1 unsafe.Pointer
88574- if len(dest) > 0 {
88575- _p1 = unsafe.Pointer(&dest[0])
88576- } else {
88577- _p1 = unsafe.Pointer(&_zero)
88578- }
88579- r0, _, e1 := Syscall(SYS_LLISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
88580- sz = int(r0)
88581- if e1 != 0 {
88582- err = errnoErr(e1)
88583- }
88584- return
88585-}
88586-
88587-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88588-
88589-func Lremovexattr(path string, attr string) (err error) {
88590- var _p0 *byte
88591- _p0, err = BytePtrFromString(path)
88592- if err != nil {
88593- return
88594- }
88595- var _p1 *byte
88596- _p1, err = BytePtrFromString(attr)
88597- if err != nil {
88598- return
88599- }
88600- _, _, e1 := Syscall(SYS_LREMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
88601- if e1 != 0 {
88602- err = errnoErr(e1)
88603- }
88604- return
88605-}
88606-
88607-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88608-
88609-func Lsetxattr(path string, attr string, data []byte, flags int) (err error) {
88610- var _p0 *byte
88611- _p0, err = BytePtrFromString(path)
88612- if err != nil {
88613- return
88614- }
88615- var _p1 *byte
88616- _p1, err = BytePtrFromString(attr)
88617- if err != nil {
88618- return
88619- }
88620- var _p2 unsafe.Pointer
88621- if len(data) > 0 {
88622- _p2 = unsafe.Pointer(&data[0])
88623- } else {
88624- _p2 = unsafe.Pointer(&_zero)
88625- }
88626- _, _, e1 := Syscall6(SYS_LSETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
88627- if e1 != 0 {
88628- err = errnoErr(e1)
88629- }
88630- return
88631-}
88632-
88633-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88634-
88635-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
88636- var _p0 *byte
88637- _p0, err = BytePtrFromString(path)
88638- if err != nil {
88639- return
88640- }
88641- _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
88642- if e1 != 0 {
88643- err = errnoErr(e1)
88644- }
88645- return
88646-}
88647-
88648-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88649-
88650-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
88651- var _p0 *byte
88652- _p0, err = BytePtrFromString(path)
88653- if err != nil {
88654- return
88655- }
88656- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
88657- if e1 != 0 {
88658- err = errnoErr(e1)
88659- }
88660- return
88661-}
88662-
88663-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88664-
88665-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
88666- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
88667- if e1 != 0 {
88668- err = errnoErr(e1)
88669- }
88670- return
88671-}
88672-
88673-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88674-
88675-func PivotRoot(newroot string, putold string) (err error) {
88676- var _p0 *byte
88677- _p0, err = BytePtrFromString(newroot)
88678- if err != nil {
88679- return
88680- }
88681- var _p1 *byte
88682- _p1, err = BytePtrFromString(putold)
88683- if err != nil {
88684- return
88685- }
88686- _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
88687- if e1 != 0 {
88688- err = errnoErr(e1)
88689- }
88690- return
88691-}
88692-
88693-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88694-
88695-func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
88696- _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0)
88697- if e1 != 0 {
88698- err = errnoErr(e1)
88699- }
88700- return
88701-}
88702-
88703-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88704-
88705-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
88706- _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
88707- if e1 != 0 {
88708- err = errnoErr(e1)
88709- }
88710- return
88711-}
88712-
88713-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88714-
88715-func read(fd int, p []byte) (n int, err error) {
88716- var _p0 unsafe.Pointer
88717- if len(p) > 0 {
88718- _p0 = unsafe.Pointer(&p[0])
88719- } else {
88720- _p0 = unsafe.Pointer(&_zero)
88721- }
88722- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
88723- n = int(r0)
88724- if e1 != 0 {
88725- err = errnoErr(e1)
88726- }
88727- return
88728-}
88729-
88730-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88731-
88732-func Removexattr(path string, attr string) (err error) {
88733- var _p0 *byte
88734- _p0, err = BytePtrFromString(path)
88735- if err != nil {
88736- return
88737- }
88738- var _p1 *byte
88739- _p1, err = BytePtrFromString(attr)
88740- if err != nil {
88741- return
88742- }
88743- _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
88744- if e1 != 0 {
88745- err = errnoErr(e1)
88746- }
88747- return
88748-}
88749-
88750-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88751-
88752-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
88753- var _p0 *byte
88754- _p0, err = BytePtrFromString(oldpath)
88755- if err != nil {
88756- return
88757- }
88758- var _p1 *byte
88759- _p1, err = BytePtrFromString(newpath)
88760- if err != nil {
88761- return
88762- }
88763- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
88764- if e1 != 0 {
88765- err = errnoErr(e1)
88766- }
88767- return
88768-}
88769-
88770-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88771-
88772-func RequestKey(keyType string, description string, callback string, destRingid int) (id int, err error) {
88773- var _p0 *byte
88774- _p0, err = BytePtrFromString(keyType)
88775- if err != nil {
88776- return
88777- }
88778- var _p1 *byte
88779- _p1, err = BytePtrFromString(description)
88780- if err != nil {
88781- return
88782- }
88783- var _p2 *byte
88784- _p2, err = BytePtrFromString(callback)
88785- if err != nil {
88786- return
88787- }
88788- r0, _, e1 := Syscall6(SYS_REQUEST_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(destRingid), 0, 0)
88789- id = int(r0)
88790- if e1 != 0 {
88791- err = errnoErr(e1)
88792- }
88793- return
88794-}
88795-
88796-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88797-
88798-func Setdomainname(p []byte) (err error) {
88799- var _p0 unsafe.Pointer
88800- if len(p) > 0 {
88801- _p0 = unsafe.Pointer(&p[0])
88802- } else {
88803- _p0 = unsafe.Pointer(&_zero)
88804- }
88805- _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
88806- if e1 != 0 {
88807- err = errnoErr(e1)
88808- }
88809- return
88810-}
88811-
88812-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88813-
88814-func Sethostname(p []byte) (err error) {
88815- var _p0 unsafe.Pointer
88816- if len(p) > 0 {
88817- _p0 = unsafe.Pointer(&p[0])
88818- } else {
88819- _p0 = unsafe.Pointer(&_zero)
88820- }
88821- _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
88822- if e1 != 0 {
88823- err = errnoErr(e1)
88824- }
88825- return
88826-}
88827-
88828-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88829-
88830-func Setpgid(pid int, pgid int) (err error) {
88831- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
88832- if e1 != 0 {
88833- err = errnoErr(e1)
88834- }
88835- return
88836-}
88837-
88838-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88839-
88840-func Setsid() (pid int, err error) {
88841- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
88842- pid = int(r0)
88843- if e1 != 0 {
88844- err = errnoErr(e1)
88845- }
88846- return
88847-}
88848-
88849-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88850-
88851-func Settimeofday(tv *Timeval) (err error) {
88852- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
88853- if e1 != 0 {
88854- err = errnoErr(e1)
88855- }
88856- return
88857-}
88858-
88859-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88860-
88861-func Setns(fd int, nstype int) (err error) {
88862- _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
88863- if e1 != 0 {
88864- err = errnoErr(e1)
88865- }
88866- return
88867-}
88868-
88869-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88870-
88871-func Setpriority(which int, who int, prio int) (err error) {
88872- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
88873- if e1 != 0 {
88874- err = errnoErr(e1)
88875- }
88876- return
88877-}
88878-
88879-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88880-
88881-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
88882- var _p0 *byte
88883- _p0, err = BytePtrFromString(path)
88884- if err != nil {
88885- return
88886- }
88887- var _p1 *byte
88888- _p1, err = BytePtrFromString(attr)
88889- if err != nil {
88890- return
88891- }
88892- var _p2 unsafe.Pointer
88893- if len(data) > 0 {
88894- _p2 = unsafe.Pointer(&data[0])
88895- } else {
88896- _p2 = unsafe.Pointer(&_zero)
88897- }
88898- _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
88899- if e1 != 0 {
88900- err = errnoErr(e1)
88901- }
88902- return
88903-}
88904-
88905-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88906-
88907-func Sync() {
88908- Syscall(SYS_SYNC, 0, 0, 0)
88909- return
88910-}
88911-
88912-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88913-
88914-func Syncfs(fd int) (err error) {
88915- _, _, e1 := Syscall(SYS_SYNCFS, uintptr(fd), 0, 0)
88916- if e1 != 0 {
88917- err = errnoErr(e1)
88918- }
88919- return
88920-}
88921-
88922-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88923-
88924-func Sysinfo(info *Sysinfo_t) (err error) {
88925- _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
88926- if e1 != 0 {
88927- err = errnoErr(e1)
88928- }
88929- return
88930-}
88931-
88932-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88933-
88934-func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
88935- r0, r1, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
88936- n = int64(int64(r1)<<32 | int64(r0))
88937- if e1 != 0 {
88938- err = errnoErr(e1)
88939- }
88940- return
88941-}
88942-
88943-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88944-
88945-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
88946- _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
88947+func fanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname *byte) (err error) {
88948+ _, _, e1 := Syscall6(SYS_FANOTIFY_MARK, uintptr(fd), uintptr(flags), uintptr(mask), uintptr(mask>>32), uintptr(dirFd), uintptr(unsafe.Pointer(pathname)))
88949 if e1 != 0 {
88950 err = errnoErr(e1)
88951 }
88952@@ -1275,9 +24,8 @@ func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
88953
88954 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88955
88956-func Times(tms *Tms) (ticks uintptr, err error) {
88957- r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
88958- ticks = uintptr(r0)
88959+func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
88960+ _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(off>>32), uintptr(len), uintptr(len>>32))
88961 if e1 != 0 {
88962 err = errnoErr(e1)
88963 }
88964@@ -1286,16 +34,9 @@ func Times(tms *Tms) (ticks uintptr, err error) {
88965
88966 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88967
88968-func Umask(mask int) (oldmask int) {
88969- r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
88970- oldmask = int(r0)
88971- return
88972-}
88973-
88974-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88975-
88976-func Uname(buf *Utsname) (err error) {
88977- _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
88978+func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
88979+ r0, r1, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
88980+ n = int64(int64(r1)<<32 | int64(r0))
88981 if e1 != 0 {
88982 err = errnoErr(e1)
88983 }
88984@@ -1304,13 +45,8 @@ func Uname(buf *Utsname) (err error) {
88985
88986 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
88987
88988-func Unmount(target string, flags int) (err error) {
88989- var _p0 *byte
88990- _p0, err = BytePtrFromString(target)
88991- if err != nil {
88992- return
88993- }
88994- _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
88995+func pipe(p *[2]_C_int) (err error) {
88996+ _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
88997 if e1 != 0 {
88998 err = errnoErr(e1)
88999 }
89000@@ -1319,8 +55,8 @@ func Unmount(target string, flags int) (err error) {
89001
89002 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89003
89004-func Unshare(flags int) (err error) {
89005- _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
89006+func Dup2(oldfd int, newfd int) (err error) {
89007+ _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
89008 if e1 != 0 {
89009 err = errnoErr(e1)
89010 }
89011@@ -1329,8 +65,9 @@ func Unshare(flags int) (err error) {
89012
89013 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89014
89015-func Ustat(dev int, ubuf *Ustat_t) (err error) {
89016- _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
89017+func EpollCreate(size int) (fd int, err error) {
89018+ r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
89019+ fd = int(r0)
89020 if e1 != 0 {
89021 err = errnoErr(e1)
89022 }
89023@@ -1339,46 +76,14 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) {
89024
89025 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89026
89027-func write(fd int, p []byte) (n int, err error) {
89028+func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
89029 var _p0 unsafe.Pointer
89030- if len(p) > 0 {
89031- _p0 = unsafe.Pointer(&p[0])
89032+ if len(events) > 0 {
89033+ _p0 = unsafe.Pointer(&events[0])
89034 } else {
89035 _p0 = unsafe.Pointer(&_zero)
89036 }
89037- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
89038- n = int(r0)
89039- if e1 != 0 {
89040- err = errnoErr(e1)
89041- }
89042- return
89043-}
89044-
89045-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89046-
89047-func exitThread(code int) (err error) {
89048- _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
89049- if e1 != 0 {
89050- err = errnoErr(e1)
89051- }
89052- return
89053-}
89054-
89055-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89056-
89057-func readlen(fd int, p *byte, np int) (n int, err error) {
89058- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
89059- n = int(r0)
89060- if e1 != 0 {
89061- err = errnoErr(e1)
89062- }
89063- return
89064-}
89065-
89066-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89067-
89068-func writelen(fd int, p *byte, np int) (n int, err error) {
89069- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
89070+ r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
89071 n = int(r0)
89072 if e1 != 0 {
89073 err = errnoErr(e1)
89074@@ -1388,128 +93,8 @@ func writelen(fd int, p *byte, np int) (n int, err error) {
89075
89076 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89077
89078-func munmap(addr uintptr, length uintptr) (err error) {
89079- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
89080- if e1 != 0 {
89081- err = errnoErr(e1)
89082- }
89083- return
89084-}
89085-
89086-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89087-
89088-func Madvise(b []byte, advice int) (err error) {
89089- var _p0 unsafe.Pointer
89090- if len(b) > 0 {
89091- _p0 = unsafe.Pointer(&b[0])
89092- } else {
89093- _p0 = unsafe.Pointer(&_zero)
89094- }
89095- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
89096- if e1 != 0 {
89097- err = errnoErr(e1)
89098- }
89099- return
89100-}
89101-
89102-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89103-
89104-func Mprotect(b []byte, prot int) (err error) {
89105- var _p0 unsafe.Pointer
89106- if len(b) > 0 {
89107- _p0 = unsafe.Pointer(&b[0])
89108- } else {
89109- _p0 = unsafe.Pointer(&_zero)
89110- }
89111- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
89112- if e1 != 0 {
89113- err = errnoErr(e1)
89114- }
89115- return
89116-}
89117-
89118-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89119-
89120-func Mlock(b []byte) (err error) {
89121- var _p0 unsafe.Pointer
89122- if len(b) > 0 {
89123- _p0 = unsafe.Pointer(&b[0])
89124- } else {
89125- _p0 = unsafe.Pointer(&_zero)
89126- }
89127- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
89128- if e1 != 0 {
89129- err = errnoErr(e1)
89130- }
89131- return
89132-}
89133-
89134-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89135-
89136-func Munlock(b []byte) (err error) {
89137- var _p0 unsafe.Pointer
89138- if len(b) > 0 {
89139- _p0 = unsafe.Pointer(&b[0])
89140- } else {
89141- _p0 = unsafe.Pointer(&_zero)
89142- }
89143- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
89144- if e1 != 0 {
89145- err = errnoErr(e1)
89146- }
89147- return
89148-}
89149-
89150-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89151-
89152-func Mlockall(flags int) (err error) {
89153- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
89154- if e1 != 0 {
89155- err = errnoErr(e1)
89156- }
89157- return
89158-}
89159-
89160-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89161-
89162-func Msync(b []byte, flags int) (err error) {
89163- var _p0 unsafe.Pointer
89164- if len(b) > 0 {
89165- _p0 = unsafe.Pointer(&b[0])
89166- } else {
89167- _p0 = unsafe.Pointer(&_zero)
89168- }
89169- _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags))
89170- if e1 != 0 {
89171- err = errnoErr(e1)
89172- }
89173- return
89174-}
89175-
89176-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89177-
89178-func Munlockall() (err error) {
89179- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
89180- if e1 != 0 {
89181- err = errnoErr(e1)
89182- }
89183- return
89184-}
89185-
89186-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89187-
89188-func pipe(p *[2]_C_int) (err error) {
89189- _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
89190- if e1 != 0 {
89191- err = errnoErr(e1)
89192- }
89193- return
89194-}
89195-
89196-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89197-
89198-func pipe2(p *[2]_C_int, flags int) (err error) {
89199- _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
89200+func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
89201+ _, _, e1 := Syscall6(SYS_FADVISE64_64, uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(length), uintptr(length>>32), uintptr(advice))
89202 if e1 != 0 {
89203 err = errnoErr(e1)
89204 }
89205@@ -1518,8 +103,8 @@ func pipe2(p *[2]_C_int, flags int) (err error) {
89206
89207 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89208
89209-func Dup2(oldfd int, newfd int) (err error) {
89210- _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
89211+func Fchown(fd int, uid int, gid int) (err error) {
89212+ _, _, e1 := Syscall(SYS_FCHOWN32, uintptr(fd), uintptr(uid), uintptr(gid))
89213 if e1 != 0 {
89214 err = errnoErr(e1)
89215 }
89216@@ -1528,8 +113,8 @@ func Dup2(oldfd int, newfd int) (err error) {
89217
89218 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89219
89220-func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
89221- _, _, e1 := Syscall6(SYS_FADVISE64_64, uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(length), uintptr(length>>32), uintptr(advice))
89222+func Fstat(fd int, stat *Stat_t) (err error) {
89223+ _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
89224 if e1 != 0 {
89225 err = errnoErr(e1)
89226 }
89227@@ -1538,18 +123,13 @@ func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
89228
89229 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89230
89231-func Fchown(fd int, uid int, gid int) (err error) {
89232- _, _, e1 := Syscall(SYS_FCHOWN32, uintptr(fd), uintptr(uid), uintptr(gid))
89233- if e1 != 0 {
89234- err = errnoErr(e1)
89235+func Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) {
89236+ var _p0 *byte
89237+ _p0, err = BytePtrFromString(path)
89238+ if err != nil {
89239+ return
89240 }
89241- return
89242-}
89243-
89244-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89245-
89246-func Fstat(fd int, stat *Stat_t) (err error) {
89247- _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
89248+ _, _, e1 := Syscall6(SYS_FSTATAT64, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
89249 if e1 != 0 {
89250 err = errnoErr(e1)
89251 }
89252@@ -1569,7 +149,7 @@ func Ftruncate(fd int, length int64) (err error) {
89253 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89254
89255 func Getegid() (egid int) {
89256- r0, _, _ := RawSyscall(SYS_GETEGID32, 0, 0, 0)
89257+ r0, _ := RawSyscallNoError(SYS_GETEGID32, 0, 0, 0)
89258 egid = int(r0)
89259 return
89260 }
89261@@ -1577,7 +157,7 @@ func Getegid() (egid int) {
89262 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89263
89264 func Geteuid() (euid int) {
89265- r0, _, _ := RawSyscall(SYS_GETEUID32, 0, 0, 0)
89266+ r0, _ := RawSyscallNoError(SYS_GETEUID32, 0, 0, 0)
89267 euid = int(r0)
89268 return
89269 }
89270@@ -1585,7 +165,7 @@ func Geteuid() (euid int) {
89271 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89272
89273 func Getgid() (gid int) {
89274- r0, _, _ := RawSyscall(SYS_GETGID32, 0, 0, 0)
89275+ r0, _ := RawSyscallNoError(SYS_GETGID32, 0, 0, 0)
89276 gid = int(r0)
89277 return
89278 }
89279@@ -1593,7 +173,7 @@ func Getgid() (gid int) {
89280 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89281
89282 func Getuid() (uid int) {
89283- r0, _, _ := RawSyscall(SYS_GETUID32, 0, 0, 0)
89284+ r0, _ := RawSyscallNoError(SYS_GETUID32, 0, 0, 0)
89285 uid = int(r0)
89286 return
89287 }
89288@@ -1695,6 +275,26 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
89289
89290 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89291
89292+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
89293+ var _p0 *byte
89294+ _p0, err = BytePtrFromString(oldpath)
89295+ if err != nil {
89296+ return
89297+ }
89298+ var _p1 *byte
89299+ _p1, err = BytePtrFromString(newpath)
89300+ if err != nil {
89301+ return
89302+ }
89303+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
89304+ if e1 != 0 {
89305+ err = errnoErr(e1)
89306+ }
89307+ return
89308+}
89309+
89310+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89311+
89312 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
89313 r0, _, e1 := Syscall6(SYS_SENDFILE64, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
89314 written = int(r0)
89315@@ -1706,8 +306,9 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
89316
89317 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89318
89319-func Setfsgid(gid int) (err error) {
89320- _, _, e1 := Syscall(SYS_SETFSGID32, uintptr(gid), 0, 0)
89321+func setfsgid(gid int) (prev int, err error) {
89322+ r0, _, e1 := Syscall(SYS_SETFSGID32, uintptr(gid), 0, 0)
89323+ prev = int(r0)
89324 if e1 != 0 {
89325 err = errnoErr(e1)
89326 }
89327@@ -1716,8 +317,9 @@ func Setfsgid(gid int) (err error) {
89328
89329 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89330
89331-func Setfsuid(uid int) (err error) {
89332- _, _, e1 := Syscall(SYS_SETFSUID32, uintptr(uid), 0, 0)
89333+func setfsuid(uid int) (prev int, err error) {
89334+ r0, _, e1 := Syscall(SYS_SETFSUID32, uintptr(uid), 0, 0)
89335+ prev = int(r0)
89336 if e1 != 0 {
89337 err = errnoErr(e1)
89338 }
89339@@ -1817,6 +419,16 @@ func Truncate(path string, length int64) (err error) {
89340
89341 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89342
89343+func Ustat(dev int, ubuf *Ustat_t) (err error) {
89344+ _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
89345+ if e1 != 0 {
89346+ err = errnoErr(e1)
89347+ }
89348+ return
89349+}
89350+
89351+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89352+
89353 func getgroups(n int, list *_Gid_t) (nn int, err error) {
89354 r0, _, e1 := RawSyscall(SYS_GETGROUPS32, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
89355 nn = int(r0)
89356@@ -1860,15 +472,8 @@ func mmap2(addr uintptr, length uintptr, prot int, flags int, fd int, pageOffset
89357
89358 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89359
89360-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
89361- var _p0 unsafe.Pointer
89362- if len(events) > 0 {
89363- _p0 = unsafe.Pointer(&events[0])
89364- } else {
89365- _p0 = unsafe.Pointer(&_zero)
89366- }
89367- r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
89368- n = int(r0)
89369+func Pause() (err error) {
89370+ _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
89371 if e1 != 0 {
89372 err = errnoErr(e1)
89373 }
89374@@ -1877,8 +482,8 @@ func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
89375
89376 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89377
89378-func Pause() (err error) {
89379- _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
89380+func getrlimit(resource int, rlim *rlimit32) (err error) {
89381+ _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
89382 if e1 != 0 {
89383 err = errnoErr(e1)
89384 }
89385@@ -1887,8 +492,8 @@ func Pause() (err error) {
89386
89387 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89388
89389-func getrlimit(resource int, rlim *rlimit32) (err error) {
89390- _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
89391+func setrlimit(resource int, rlim *rlimit32) (err error) {
89392+ _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
89393 if e1 != 0 {
89394 err = errnoErr(e1)
89395 }
89396@@ -1897,8 +502,13 @@ func getrlimit(resource int, rlim *rlimit32) (err error) {
89397
89398 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89399
89400-func setrlimit(resource int, rlim *rlimit32) (err error) {
89401- _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
89402+func futimesat(dirfd int, path string, times *[2]Timeval) (err error) {
89403+ var _p0 *byte
89404+ _p0, err = BytePtrFromString(path)
89405+ if err != nil {
89406+ return
89407+ }
89408+ _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)))
89409 if e1 != 0 {
89410 err = errnoErr(e1)
89411 }
89412@@ -1943,6 +553,21 @@ func Utime(path string, buf *Utimbuf) (err error) {
89413
89414 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89415
89416+func utimes(path string, times *[2]Timeval) (err error) {
89417+ var _p0 *byte
89418+ _p0, err = BytePtrFromString(path)
89419+ if err != nil {
89420+ return
89421+ }
89422+ _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
89423+ if e1 != 0 {
89424+ err = errnoErr(e1)
89425+ }
89426+ return
89427+}
89428+
89429+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89430+
89431 func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
89432 r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
89433 n = int(r0)
89434diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go
89435index dc8fe0a8..f64adef4 100644
89436--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go
89437+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go
89438@@ -1,4 +1,4 @@
89439-// mksyscall.pl -tags linux,amd64 syscall_linux.go syscall_linux_amd64.go
89440+// go run mksyscall.go -tags linux,amd64 syscall_linux.go syscall_linux_amd64.go
89441 // Code generated by the command above; see README.md. DO NOT EDIT.
89442
89443 // +build linux,amd64
89444@@ -14,1446 +14,8 @@ var _ syscall.Errno
89445
89446 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89447
89448-func fchmodat(dirfd int, path string, mode uint32) (err error) {
89449- var _p0 *byte
89450- _p0, err = BytePtrFromString(path)
89451- if err != nil {
89452- return
89453- }
89454- _, _, e1 := Syscall(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
89455- if e1 != 0 {
89456- err = errnoErr(e1)
89457- }
89458- return
89459-}
89460-
89461-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89462-
89463-func ioctl(fd int, req uint, arg uintptr) (err error) {
89464- _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
89465- if e1 != 0 {
89466- err = errnoErr(e1)
89467- }
89468- return
89469-}
89470-
89471-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89472-
89473-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
89474- var _p0 *byte
89475- _p0, err = BytePtrFromString(oldpath)
89476- if err != nil {
89477- return
89478- }
89479- var _p1 *byte
89480- _p1, err = BytePtrFromString(newpath)
89481- if err != nil {
89482- return
89483- }
89484- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
89485- if e1 != 0 {
89486- err = errnoErr(e1)
89487- }
89488- return
89489-}
89490-
89491-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89492-
89493-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
89494- var _p0 *byte
89495- _p0, err = BytePtrFromString(path)
89496- if err != nil {
89497- return
89498- }
89499- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
89500- fd = int(r0)
89501- if e1 != 0 {
89502- err = errnoErr(e1)
89503- }
89504- return
89505-}
89506-
89507-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89508-
89509-func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
89510- r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
89511- n = int(r0)
89512- if e1 != 0 {
89513- err = errnoErr(e1)
89514- }
89515- return
89516-}
89517-
89518-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89519-
89520-func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
89521- var _p0 *byte
89522- _p0, err = BytePtrFromString(path)
89523- if err != nil {
89524- return
89525- }
89526- var _p1 unsafe.Pointer
89527- if len(buf) > 0 {
89528- _p1 = unsafe.Pointer(&buf[0])
89529- } else {
89530- _p1 = unsafe.Pointer(&_zero)
89531- }
89532- r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
89533- n = int(r0)
89534- if e1 != 0 {
89535- err = errnoErr(e1)
89536- }
89537- return
89538-}
89539-
89540-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89541-
89542-func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
89543- var _p0 *byte
89544- _p0, err = BytePtrFromString(oldpath)
89545- if err != nil {
89546- return
89547- }
89548- var _p1 *byte
89549- _p1, err = BytePtrFromString(newpath)
89550- if err != nil {
89551- return
89552- }
89553- _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
89554- if e1 != 0 {
89555- err = errnoErr(e1)
89556- }
89557- return
89558-}
89559-
89560-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89561-
89562-func Unlinkat(dirfd int, path string, flags int) (err error) {
89563- var _p0 *byte
89564- _p0, err = BytePtrFromString(path)
89565- if err != nil {
89566- return
89567- }
89568- _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
89569- if e1 != 0 {
89570- err = errnoErr(e1)
89571- }
89572- return
89573-}
89574-
89575-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89576-
89577-func utimes(path string, times *[2]Timeval) (err error) {
89578- var _p0 *byte
89579- _p0, err = BytePtrFromString(path)
89580- if err != nil {
89581- return
89582- }
89583- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
89584- if e1 != 0 {
89585- err = errnoErr(e1)
89586- }
89587- return
89588-}
89589-
89590-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89591-
89592-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
89593- var _p0 *byte
89594- _p0, err = BytePtrFromString(path)
89595- if err != nil {
89596- return
89597- }
89598- _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
89599- if e1 != 0 {
89600- err = errnoErr(e1)
89601- }
89602- return
89603-}
89604-
89605-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89606-
89607-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
89608- _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
89609- if e1 != 0 {
89610- err = errnoErr(e1)
89611- }
89612- return
89613-}
89614-
89615-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89616-
89617-func Getcwd(buf []byte) (n int, err error) {
89618- var _p0 unsafe.Pointer
89619- if len(buf) > 0 {
89620- _p0 = unsafe.Pointer(&buf[0])
89621- } else {
89622- _p0 = unsafe.Pointer(&_zero)
89623- }
89624- r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
89625- n = int(r0)
89626- if e1 != 0 {
89627- err = errnoErr(e1)
89628- }
89629- return
89630-}
89631-
89632-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89633-
89634-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
89635- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
89636- wpid = int(r0)
89637- if e1 != 0 {
89638- err = errnoErr(e1)
89639- }
89640- return
89641-}
89642-
89643-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89644-
89645-func KeyctlInt(cmd int, arg2 int, arg3 int, arg4 int, arg5 int) (ret int, err error) {
89646- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
89647- ret = int(r0)
89648- if e1 != 0 {
89649- err = errnoErr(e1)
89650- }
89651- return
89652-}
89653-
89654-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89655-
89656-func KeyctlBuffer(cmd int, arg2 int, buf []byte, arg5 int) (ret int, err error) {
89657- var _p0 unsafe.Pointer
89658- if len(buf) > 0 {
89659- _p0 = unsafe.Pointer(&buf[0])
89660- } else {
89661- _p0 = unsafe.Pointer(&_zero)
89662- }
89663- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(buf)), uintptr(arg5), 0)
89664- ret = int(r0)
89665- if e1 != 0 {
89666- err = errnoErr(e1)
89667- }
89668- return
89669-}
89670-
89671-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89672-
89673-func keyctlJoin(cmd int, arg2 string) (ret int, err error) {
89674- var _p0 *byte
89675- _p0, err = BytePtrFromString(arg2)
89676- if err != nil {
89677- return
89678- }
89679- r0, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0)
89680- ret = int(r0)
89681- if e1 != 0 {
89682- err = errnoErr(e1)
89683- }
89684- return
89685-}
89686-
89687-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89688-
89689-func keyctlSearch(cmd int, arg2 int, arg3 string, arg4 string, arg5 int) (ret int, err error) {
89690- var _p0 *byte
89691- _p0, err = BytePtrFromString(arg3)
89692- if err != nil {
89693- return
89694- }
89695- var _p1 *byte
89696- _p1, err = BytePtrFromString(arg4)
89697- if err != nil {
89698- return
89699- }
89700- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(arg5), 0)
89701- ret = int(r0)
89702- if e1 != 0 {
89703- err = errnoErr(e1)
89704- }
89705- return
89706-}
89707-
89708-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89709-
89710-func keyctlIOV(cmd int, arg2 int, payload []Iovec, arg5 int) (err error) {
89711- var _p0 unsafe.Pointer
89712- if len(payload) > 0 {
89713- _p0 = unsafe.Pointer(&payload[0])
89714- } else {
89715- _p0 = unsafe.Pointer(&_zero)
89716- }
89717- _, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(payload)), uintptr(arg5), 0)
89718- if e1 != 0 {
89719- err = errnoErr(e1)
89720- }
89721- return
89722-}
89723-
89724-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89725-
89726-func keyctlDH(cmd int, arg2 *KeyctlDHParams, buf []byte) (ret int, err error) {
89727- var _p0 unsafe.Pointer
89728- if len(buf) > 0 {
89729- _p0 = unsafe.Pointer(&buf[0])
89730- } else {
89731- _p0 = unsafe.Pointer(&_zero)
89732- }
89733- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(arg2)), uintptr(_p0), uintptr(len(buf)), 0, 0)
89734- ret = int(r0)
89735- if e1 != 0 {
89736- err = errnoErr(e1)
89737- }
89738- return
89739-}
89740-
89741-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89742-
89743-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
89744- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
89745- if e1 != 0 {
89746- err = errnoErr(e1)
89747- }
89748- return
89749-}
89750-
89751-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89752-
89753-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
89754- var _p0 *byte
89755- _p0, err = BytePtrFromString(arg)
89756- if err != nil {
89757- return
89758- }
89759- _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
89760- if e1 != 0 {
89761- err = errnoErr(e1)
89762- }
89763- return
89764-}
89765-
89766-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89767-
89768-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
89769- var _p0 *byte
89770- _p0, err = BytePtrFromString(source)
89771- if err != nil {
89772- return
89773- }
89774- var _p1 *byte
89775- _p1, err = BytePtrFromString(target)
89776- if err != nil {
89777- return
89778- }
89779- var _p2 *byte
89780- _p2, err = BytePtrFromString(fstype)
89781- if err != nil {
89782- return
89783- }
89784- _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
89785- if e1 != 0 {
89786- err = errnoErr(e1)
89787- }
89788- return
89789-}
89790-
89791-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89792-
89793-func Acct(path string) (err error) {
89794- var _p0 *byte
89795- _p0, err = BytePtrFromString(path)
89796- if err != nil {
89797- return
89798- }
89799- _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
89800- if e1 != 0 {
89801- err = errnoErr(e1)
89802- }
89803- return
89804-}
89805-
89806-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89807-
89808-func AddKey(keyType string, description string, payload []byte, ringid int) (id int, err error) {
89809- var _p0 *byte
89810- _p0, err = BytePtrFromString(keyType)
89811- if err != nil {
89812- return
89813- }
89814- var _p1 *byte
89815- _p1, err = BytePtrFromString(description)
89816- if err != nil {
89817- return
89818- }
89819- var _p2 unsafe.Pointer
89820- if len(payload) > 0 {
89821- _p2 = unsafe.Pointer(&payload[0])
89822- } else {
89823- _p2 = unsafe.Pointer(&_zero)
89824- }
89825- r0, _, e1 := Syscall6(SYS_ADD_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(payload)), uintptr(ringid), 0)
89826- id = int(r0)
89827- if e1 != 0 {
89828- err = errnoErr(e1)
89829- }
89830- return
89831-}
89832-
89833-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89834-
89835-func Adjtimex(buf *Timex) (state int, err error) {
89836- r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
89837- state = int(r0)
89838- if e1 != 0 {
89839- err = errnoErr(e1)
89840- }
89841- return
89842-}
89843-
89844-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89845-
89846-func Chdir(path string) (err error) {
89847- var _p0 *byte
89848- _p0, err = BytePtrFromString(path)
89849- if err != nil {
89850- return
89851- }
89852- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
89853- if e1 != 0 {
89854- err = errnoErr(e1)
89855- }
89856- return
89857-}
89858-
89859-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89860-
89861-func Chroot(path string) (err error) {
89862- var _p0 *byte
89863- _p0, err = BytePtrFromString(path)
89864- if err != nil {
89865- return
89866- }
89867- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
89868- if e1 != 0 {
89869- err = errnoErr(e1)
89870- }
89871- return
89872-}
89873-
89874-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89875-
89876-func ClockGettime(clockid int32, time *Timespec) (err error) {
89877- _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
89878- if e1 != 0 {
89879- err = errnoErr(e1)
89880- }
89881- return
89882-}
89883-
89884-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89885-
89886-func Close(fd int) (err error) {
89887- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
89888- if e1 != 0 {
89889- err = errnoErr(e1)
89890- }
89891- return
89892-}
89893-
89894-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89895-
89896-func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
89897- r0, _, e1 := Syscall6(SYS_COPY_FILE_RANGE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
89898- n = int(r0)
89899- if e1 != 0 {
89900- err = errnoErr(e1)
89901- }
89902- return
89903-}
89904-
89905-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89906-
89907-func Dup(oldfd int) (fd int, err error) {
89908- r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
89909- fd = int(r0)
89910- if e1 != 0 {
89911- err = errnoErr(e1)
89912- }
89913- return
89914-}
89915-
89916-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89917-
89918-func Dup3(oldfd int, newfd int, flags int) (err error) {
89919- _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
89920- if e1 != 0 {
89921- err = errnoErr(e1)
89922- }
89923- return
89924-}
89925-
89926-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89927-
89928-func EpollCreate(size int) (fd int, err error) {
89929- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
89930- fd = int(r0)
89931- if e1 != 0 {
89932- err = errnoErr(e1)
89933- }
89934- return
89935-}
89936-
89937-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89938-
89939-func EpollCreate1(flag int) (fd int, err error) {
89940- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
89941- fd = int(r0)
89942- if e1 != 0 {
89943- err = errnoErr(e1)
89944- }
89945- return
89946-}
89947-
89948-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89949-
89950-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
89951- _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
89952- if e1 != 0 {
89953- err = errnoErr(e1)
89954- }
89955- return
89956-}
89957-
89958-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89959-
89960-func Eventfd(initval uint, flags int) (fd int, err error) {
89961- r0, _, e1 := Syscall(SYS_EVENTFD2, uintptr(initval), uintptr(flags), 0)
89962- fd = int(r0)
89963- if e1 != 0 {
89964- err = errnoErr(e1)
89965- }
89966- return
89967-}
89968-
89969-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89970-
89971-func Exit(code int) {
89972- Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
89973- return
89974-}
89975-
89976-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89977-
89978-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
89979- var _p0 *byte
89980- _p0, err = BytePtrFromString(path)
89981- if err != nil {
89982- return
89983- }
89984- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
89985- if e1 != 0 {
89986- err = errnoErr(e1)
89987- }
89988- return
89989-}
89990-
89991-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
89992-
89993-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
89994- _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
89995- if e1 != 0 {
89996- err = errnoErr(e1)
89997- }
89998- return
89999-}
90000-
90001-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90002-
90003-func Fchdir(fd int) (err error) {
90004- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
90005- if e1 != 0 {
90006- err = errnoErr(e1)
90007- }
90008- return
90009-}
90010-
90011-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90012-
90013-func Fchmod(fd int, mode uint32) (err error) {
90014- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
90015- if e1 != 0 {
90016- err = errnoErr(e1)
90017- }
90018- return
90019-}
90020-
90021-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90022-
90023-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
90024- var _p0 *byte
90025- _p0, err = BytePtrFromString(path)
90026- if err != nil {
90027- return
90028- }
90029- _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
90030- if e1 != 0 {
90031- err = errnoErr(e1)
90032- }
90033- return
90034-}
90035-
90036-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90037-
90038-func fcntl(fd int, cmd int, arg int) (val int, err error) {
90039- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
90040- val = int(r0)
90041- if e1 != 0 {
90042- err = errnoErr(e1)
90043- }
90044- return
90045-}
90046-
90047-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90048-
90049-func Fdatasync(fd int) (err error) {
90050- _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
90051- if e1 != 0 {
90052- err = errnoErr(e1)
90053- }
90054- return
90055-}
90056-
90057-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90058-
90059-func Flock(fd int, how int) (err error) {
90060- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
90061- if e1 != 0 {
90062- err = errnoErr(e1)
90063- }
90064- return
90065-}
90066-
90067-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90068-
90069-func Fsync(fd int) (err error) {
90070- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
90071- if e1 != 0 {
90072- err = errnoErr(e1)
90073- }
90074- return
90075-}
90076-
90077-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90078-
90079-func Getdents(fd int, buf []byte) (n int, err error) {
90080- var _p0 unsafe.Pointer
90081- if len(buf) > 0 {
90082- _p0 = unsafe.Pointer(&buf[0])
90083- } else {
90084- _p0 = unsafe.Pointer(&_zero)
90085- }
90086- r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
90087- n = int(r0)
90088- if e1 != 0 {
90089- err = errnoErr(e1)
90090- }
90091- return
90092-}
90093-
90094-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90095-
90096-func Getpgid(pid int) (pgid int, err error) {
90097- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
90098- pgid = int(r0)
90099- if e1 != 0 {
90100- err = errnoErr(e1)
90101- }
90102- return
90103-}
90104-
90105-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90106-
90107-func Getpid() (pid int) {
90108- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
90109- pid = int(r0)
90110- return
90111-}
90112-
90113-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90114-
90115-func Getppid() (ppid int) {
90116- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
90117- ppid = int(r0)
90118- return
90119-}
90120-
90121-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90122-
90123-func Getpriority(which int, who int) (prio int, err error) {
90124- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
90125- prio = int(r0)
90126- if e1 != 0 {
90127- err = errnoErr(e1)
90128- }
90129- return
90130-}
90131-
90132-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90133-
90134-func Getrandom(buf []byte, flags int) (n int, err error) {
90135- var _p0 unsafe.Pointer
90136- if len(buf) > 0 {
90137- _p0 = unsafe.Pointer(&buf[0])
90138- } else {
90139- _p0 = unsafe.Pointer(&_zero)
90140- }
90141- r0, _, e1 := Syscall(SYS_GETRANDOM, uintptr(_p0), uintptr(len(buf)), uintptr(flags))
90142- n = int(r0)
90143- if e1 != 0 {
90144- err = errnoErr(e1)
90145- }
90146- return
90147-}
90148-
90149-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90150-
90151-func Getrusage(who int, rusage *Rusage) (err error) {
90152- _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
90153- if e1 != 0 {
90154- err = errnoErr(e1)
90155- }
90156- return
90157-}
90158-
90159-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90160-
90161-func Getsid(pid int) (sid int, err error) {
90162- r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
90163- sid = int(r0)
90164- if e1 != 0 {
90165- err = errnoErr(e1)
90166- }
90167- return
90168-}
90169-
90170-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90171-
90172-func Gettid() (tid int) {
90173- r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
90174- tid = int(r0)
90175- return
90176-}
90177-
90178-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90179-
90180-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
90181- var _p0 *byte
90182- _p0, err = BytePtrFromString(path)
90183- if err != nil {
90184- return
90185- }
90186- var _p1 *byte
90187- _p1, err = BytePtrFromString(attr)
90188- if err != nil {
90189- return
90190- }
90191- var _p2 unsafe.Pointer
90192- if len(dest) > 0 {
90193- _p2 = unsafe.Pointer(&dest[0])
90194- } else {
90195- _p2 = unsafe.Pointer(&_zero)
90196- }
90197- r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
90198- sz = int(r0)
90199- if e1 != 0 {
90200- err = errnoErr(e1)
90201- }
90202- return
90203-}
90204-
90205-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90206-
90207-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
90208- var _p0 *byte
90209- _p0, err = BytePtrFromString(pathname)
90210- if err != nil {
90211- return
90212- }
90213- r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
90214- watchdesc = int(r0)
90215- if e1 != 0 {
90216- err = errnoErr(e1)
90217- }
90218- return
90219-}
90220-
90221-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90222-
90223-func InotifyInit1(flags int) (fd int, err error) {
90224- r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
90225- fd = int(r0)
90226- if e1 != 0 {
90227- err = errnoErr(e1)
90228- }
90229- return
90230-}
90231-
90232-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90233-
90234-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
90235- r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
90236- success = int(r0)
90237- if e1 != 0 {
90238- err = errnoErr(e1)
90239- }
90240- return
90241-}
90242-
90243-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90244-
90245-func Kill(pid int, sig syscall.Signal) (err error) {
90246- _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
90247- if e1 != 0 {
90248- err = errnoErr(e1)
90249- }
90250- return
90251-}
90252-
90253-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90254-
90255-func Klogctl(typ int, buf []byte) (n int, err error) {
90256- var _p0 unsafe.Pointer
90257- if len(buf) > 0 {
90258- _p0 = unsafe.Pointer(&buf[0])
90259- } else {
90260- _p0 = unsafe.Pointer(&_zero)
90261- }
90262- r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
90263- n = int(r0)
90264- if e1 != 0 {
90265- err = errnoErr(e1)
90266- }
90267- return
90268-}
90269-
90270-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90271-
90272-func Lgetxattr(path string, attr string, dest []byte) (sz int, err error) {
90273- var _p0 *byte
90274- _p0, err = BytePtrFromString(path)
90275- if err != nil {
90276- return
90277- }
90278- var _p1 *byte
90279- _p1, err = BytePtrFromString(attr)
90280- if err != nil {
90281- return
90282- }
90283- var _p2 unsafe.Pointer
90284- if len(dest) > 0 {
90285- _p2 = unsafe.Pointer(&dest[0])
90286- } else {
90287- _p2 = unsafe.Pointer(&_zero)
90288- }
90289- r0, _, e1 := Syscall6(SYS_LGETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
90290- sz = int(r0)
90291- if e1 != 0 {
90292- err = errnoErr(e1)
90293- }
90294- return
90295-}
90296-
90297-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90298-
90299-func Listxattr(path string, dest []byte) (sz int, err error) {
90300- var _p0 *byte
90301- _p0, err = BytePtrFromString(path)
90302- if err != nil {
90303- return
90304- }
90305- var _p1 unsafe.Pointer
90306- if len(dest) > 0 {
90307- _p1 = unsafe.Pointer(&dest[0])
90308- } else {
90309- _p1 = unsafe.Pointer(&_zero)
90310- }
90311- r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
90312- sz = int(r0)
90313- if e1 != 0 {
90314- err = errnoErr(e1)
90315- }
90316- return
90317-}
90318-
90319-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90320-
90321-func Llistxattr(path string, dest []byte) (sz int, err error) {
90322- var _p0 *byte
90323- _p0, err = BytePtrFromString(path)
90324- if err != nil {
90325- return
90326- }
90327- var _p1 unsafe.Pointer
90328- if len(dest) > 0 {
90329- _p1 = unsafe.Pointer(&dest[0])
90330- } else {
90331- _p1 = unsafe.Pointer(&_zero)
90332- }
90333- r0, _, e1 := Syscall(SYS_LLISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
90334- sz = int(r0)
90335- if e1 != 0 {
90336- err = errnoErr(e1)
90337- }
90338- return
90339-}
90340-
90341-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90342-
90343-func Lremovexattr(path string, attr string) (err error) {
90344- var _p0 *byte
90345- _p0, err = BytePtrFromString(path)
90346- if err != nil {
90347- return
90348- }
90349- var _p1 *byte
90350- _p1, err = BytePtrFromString(attr)
90351- if err != nil {
90352- return
90353- }
90354- _, _, e1 := Syscall(SYS_LREMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
90355- if e1 != 0 {
90356- err = errnoErr(e1)
90357- }
90358- return
90359-}
90360-
90361-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90362-
90363-func Lsetxattr(path string, attr string, data []byte, flags int) (err error) {
90364- var _p0 *byte
90365- _p0, err = BytePtrFromString(path)
90366- if err != nil {
90367- return
90368- }
90369- var _p1 *byte
90370- _p1, err = BytePtrFromString(attr)
90371- if err != nil {
90372- return
90373- }
90374- var _p2 unsafe.Pointer
90375- if len(data) > 0 {
90376- _p2 = unsafe.Pointer(&data[0])
90377- } else {
90378- _p2 = unsafe.Pointer(&_zero)
90379- }
90380- _, _, e1 := Syscall6(SYS_LSETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
90381- if e1 != 0 {
90382- err = errnoErr(e1)
90383- }
90384- return
90385-}
90386-
90387-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90388-
90389-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
90390- var _p0 *byte
90391- _p0, err = BytePtrFromString(path)
90392- if err != nil {
90393- return
90394- }
90395- _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
90396- if e1 != 0 {
90397- err = errnoErr(e1)
90398- }
90399- return
90400-}
90401-
90402-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90403-
90404-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
90405- var _p0 *byte
90406- _p0, err = BytePtrFromString(path)
90407- if err != nil {
90408- return
90409- }
90410- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
90411- if e1 != 0 {
90412- err = errnoErr(e1)
90413- }
90414- return
90415-}
90416-
90417-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90418-
90419-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
90420- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
90421- if e1 != 0 {
90422- err = errnoErr(e1)
90423- }
90424- return
90425-}
90426-
90427-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90428-
90429-func PivotRoot(newroot string, putold string) (err error) {
90430- var _p0 *byte
90431- _p0, err = BytePtrFromString(newroot)
90432- if err != nil {
90433- return
90434- }
90435- var _p1 *byte
90436- _p1, err = BytePtrFromString(putold)
90437- if err != nil {
90438- return
90439- }
90440- _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
90441- if e1 != 0 {
90442- err = errnoErr(e1)
90443- }
90444- return
90445-}
90446-
90447-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90448-
90449-func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
90450- _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0)
90451- if e1 != 0 {
90452- err = errnoErr(e1)
90453- }
90454- return
90455-}
90456-
90457-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90458-
90459-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
90460- _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
90461- if e1 != 0 {
90462- err = errnoErr(e1)
90463- }
90464- return
90465-}
90466-
90467-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90468-
90469-func read(fd int, p []byte) (n int, err error) {
90470- var _p0 unsafe.Pointer
90471- if len(p) > 0 {
90472- _p0 = unsafe.Pointer(&p[0])
90473- } else {
90474- _p0 = unsafe.Pointer(&_zero)
90475- }
90476- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
90477- n = int(r0)
90478- if e1 != 0 {
90479- err = errnoErr(e1)
90480- }
90481- return
90482-}
90483-
90484-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90485-
90486-func Removexattr(path string, attr string) (err error) {
90487- var _p0 *byte
90488- _p0, err = BytePtrFromString(path)
90489- if err != nil {
90490- return
90491- }
90492- var _p1 *byte
90493- _p1, err = BytePtrFromString(attr)
90494- if err != nil {
90495- return
90496- }
90497- _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
90498- if e1 != 0 {
90499- err = errnoErr(e1)
90500- }
90501- return
90502-}
90503-
90504-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90505-
90506-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
90507- var _p0 *byte
90508- _p0, err = BytePtrFromString(oldpath)
90509- if err != nil {
90510- return
90511- }
90512- var _p1 *byte
90513- _p1, err = BytePtrFromString(newpath)
90514- if err != nil {
90515- return
90516- }
90517- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
90518- if e1 != 0 {
90519- err = errnoErr(e1)
90520- }
90521- return
90522-}
90523-
90524-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90525-
90526-func RequestKey(keyType string, description string, callback string, destRingid int) (id int, err error) {
90527- var _p0 *byte
90528- _p0, err = BytePtrFromString(keyType)
90529- if err != nil {
90530- return
90531- }
90532- var _p1 *byte
90533- _p1, err = BytePtrFromString(description)
90534- if err != nil {
90535- return
90536- }
90537- var _p2 *byte
90538- _p2, err = BytePtrFromString(callback)
90539- if err != nil {
90540- return
90541- }
90542- r0, _, e1 := Syscall6(SYS_REQUEST_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(destRingid), 0, 0)
90543- id = int(r0)
90544- if e1 != 0 {
90545- err = errnoErr(e1)
90546- }
90547- return
90548-}
90549-
90550-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90551-
90552-func Setdomainname(p []byte) (err error) {
90553- var _p0 unsafe.Pointer
90554- if len(p) > 0 {
90555- _p0 = unsafe.Pointer(&p[0])
90556- } else {
90557- _p0 = unsafe.Pointer(&_zero)
90558- }
90559- _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
90560- if e1 != 0 {
90561- err = errnoErr(e1)
90562- }
90563- return
90564-}
90565-
90566-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90567-
90568-func Sethostname(p []byte) (err error) {
90569- var _p0 unsafe.Pointer
90570- if len(p) > 0 {
90571- _p0 = unsafe.Pointer(&p[0])
90572- } else {
90573- _p0 = unsafe.Pointer(&_zero)
90574- }
90575- _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
90576- if e1 != 0 {
90577- err = errnoErr(e1)
90578- }
90579- return
90580-}
90581-
90582-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90583-
90584-func Setpgid(pid int, pgid int) (err error) {
90585- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
90586- if e1 != 0 {
90587- err = errnoErr(e1)
90588- }
90589- return
90590-}
90591-
90592-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90593-
90594-func Setsid() (pid int, err error) {
90595- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
90596- pid = int(r0)
90597- if e1 != 0 {
90598- err = errnoErr(e1)
90599- }
90600- return
90601-}
90602-
90603-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90604-
90605-func Settimeofday(tv *Timeval) (err error) {
90606- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
90607- if e1 != 0 {
90608- err = errnoErr(e1)
90609- }
90610- return
90611-}
90612-
90613-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90614-
90615-func Setns(fd int, nstype int) (err error) {
90616- _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
90617- if e1 != 0 {
90618- err = errnoErr(e1)
90619- }
90620- return
90621-}
90622-
90623-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90624-
90625-func Setpriority(which int, who int, prio int) (err error) {
90626- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
90627- if e1 != 0 {
90628- err = errnoErr(e1)
90629- }
90630- return
90631-}
90632-
90633-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90634-
90635-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
90636- var _p0 *byte
90637- _p0, err = BytePtrFromString(path)
90638- if err != nil {
90639- return
90640- }
90641- var _p1 *byte
90642- _p1, err = BytePtrFromString(attr)
90643- if err != nil {
90644- return
90645- }
90646- var _p2 unsafe.Pointer
90647- if len(data) > 0 {
90648- _p2 = unsafe.Pointer(&data[0])
90649- } else {
90650- _p2 = unsafe.Pointer(&_zero)
90651- }
90652- _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
90653- if e1 != 0 {
90654- err = errnoErr(e1)
90655- }
90656- return
90657-}
90658-
90659-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90660-
90661-func Sync() {
90662- Syscall(SYS_SYNC, 0, 0, 0)
90663- return
90664-}
90665-
90666-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90667-
90668-func Syncfs(fd int) (err error) {
90669- _, _, e1 := Syscall(SYS_SYNCFS, uintptr(fd), 0, 0)
90670- if e1 != 0 {
90671- err = errnoErr(e1)
90672- }
90673- return
90674-}
90675-
90676-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90677-
90678-func Sysinfo(info *Sysinfo_t) (err error) {
90679- _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
90680- if e1 != 0 {
90681- err = errnoErr(e1)
90682- }
90683- return
90684-}
90685-
90686-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90687-
90688-func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
90689- r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
90690- n = int64(r0)
90691- if e1 != 0 {
90692- err = errnoErr(e1)
90693- }
90694- return
90695-}
90696-
90697-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90698-
90699-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
90700- _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
90701- if e1 != 0 {
90702- err = errnoErr(e1)
90703- }
90704- return
90705-}
90706-
90707-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90708-
90709-func Times(tms *Tms) (ticks uintptr, err error) {
90710- r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
90711- ticks = uintptr(r0)
90712- if e1 != 0 {
90713- err = errnoErr(e1)
90714- }
90715- return
90716-}
90717-
90718-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90719-
90720-func Umask(mask int) (oldmask int) {
90721- r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
90722- oldmask = int(r0)
90723- return
90724-}
90725-
90726-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90727-
90728-func Uname(buf *Utsname) (err error) {
90729- _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
90730- if e1 != 0 {
90731- err = errnoErr(e1)
90732- }
90733- return
90734-}
90735-
90736-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90737-
90738-func Unmount(target string, flags int) (err error) {
90739- var _p0 *byte
90740- _p0, err = BytePtrFromString(target)
90741- if err != nil {
90742- return
90743- }
90744- _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
90745- if e1 != 0 {
90746- err = errnoErr(e1)
90747- }
90748- return
90749-}
90750-
90751-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90752-
90753-func Unshare(flags int) (err error) {
90754- _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
90755- if e1 != 0 {
90756- err = errnoErr(e1)
90757- }
90758- return
90759-}
90760-
90761-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90762-
90763-func Ustat(dev int, ubuf *Ustat_t) (err error) {
90764- _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
90765- if e1 != 0 {
90766- err = errnoErr(e1)
90767- }
90768- return
90769-}
90770-
90771-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90772-
90773-func write(fd int, p []byte) (n int, err error) {
90774- var _p0 unsafe.Pointer
90775- if len(p) > 0 {
90776- _p0 = unsafe.Pointer(&p[0])
90777- } else {
90778- _p0 = unsafe.Pointer(&_zero)
90779- }
90780- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
90781- n = int(r0)
90782- if e1 != 0 {
90783- err = errnoErr(e1)
90784- }
90785- return
90786-}
90787-
90788-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90789-
90790-func exitThread(code int) (err error) {
90791- _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
90792- if e1 != 0 {
90793- err = errnoErr(e1)
90794- }
90795- return
90796-}
90797-
90798-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90799-
90800-func readlen(fd int, p *byte, np int) (n int, err error) {
90801- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
90802- n = int(r0)
90803- if e1 != 0 {
90804- err = errnoErr(e1)
90805- }
90806- return
90807-}
90808-
90809-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90810-
90811-func writelen(fd int, p *byte, np int) (n int, err error) {
90812- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
90813- n = int(r0)
90814- if e1 != 0 {
90815- err = errnoErr(e1)
90816- }
90817- return
90818-}
90819-
90820-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90821-
90822-func munmap(addr uintptr, length uintptr) (err error) {
90823- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
90824- if e1 != 0 {
90825- err = errnoErr(e1)
90826- }
90827- return
90828-}
90829-
90830-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90831-
90832-func Madvise(b []byte, advice int) (err error) {
90833- var _p0 unsafe.Pointer
90834- if len(b) > 0 {
90835- _p0 = unsafe.Pointer(&b[0])
90836- } else {
90837- _p0 = unsafe.Pointer(&_zero)
90838- }
90839- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
90840- if e1 != 0 {
90841- err = errnoErr(e1)
90842- }
90843- return
90844-}
90845-
90846-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90847-
90848-func Mprotect(b []byte, prot int) (err error) {
90849- var _p0 unsafe.Pointer
90850- if len(b) > 0 {
90851- _p0 = unsafe.Pointer(&b[0])
90852- } else {
90853- _p0 = unsafe.Pointer(&_zero)
90854- }
90855- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
90856- if e1 != 0 {
90857- err = errnoErr(e1)
90858- }
90859- return
90860-}
90861-
90862-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90863-
90864-func Mlock(b []byte) (err error) {
90865- var _p0 unsafe.Pointer
90866- if len(b) > 0 {
90867- _p0 = unsafe.Pointer(&b[0])
90868- } else {
90869- _p0 = unsafe.Pointer(&_zero)
90870- }
90871- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
90872- if e1 != 0 {
90873- err = errnoErr(e1)
90874- }
90875- return
90876-}
90877-
90878-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90879-
90880-func Munlock(b []byte) (err error) {
90881- var _p0 unsafe.Pointer
90882- if len(b) > 0 {
90883- _p0 = unsafe.Pointer(&b[0])
90884- } else {
90885- _p0 = unsafe.Pointer(&_zero)
90886- }
90887- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
90888+func fanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname *byte) (err error) {
90889+ _, _, e1 := Syscall6(SYS_FANOTIFY_MARK, uintptr(fd), uintptr(flags), uintptr(mask), uintptr(dirFd), uintptr(unsafe.Pointer(pathname)), 0)
90890 if e1 != 0 {
90891 err = errnoErr(e1)
90892 }
90893@@ -1462,8 +24,8 @@ func Munlock(b []byte) (err error) {
90894
90895 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90896
90897-func Mlockall(flags int) (err error) {
90898- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
90899+func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
90900+ _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
90901 if e1 != 0 {
90902 err = errnoErr(e1)
90903 }
90904@@ -1472,14 +34,9 @@ func Mlockall(flags int) (err error) {
90905
90906 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90907
90908-func Msync(b []byte, flags int) (err error) {
90909- var _p0 unsafe.Pointer
90910- if len(b) > 0 {
90911- _p0 = unsafe.Pointer(&b[0])
90912- } else {
90913- _p0 = unsafe.Pointer(&_zero)
90914- }
90915- _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags))
90916+func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
90917+ r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
90918+ n = int64(r0)
90919 if e1 != 0 {
90920 err = errnoErr(e1)
90921 }
90922@@ -1488,8 +45,8 @@ func Msync(b []byte, flags int) (err error) {
90923
90924 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90925
90926-func Munlockall() (err error) {
90927- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
90928+func Dup2(oldfd int, newfd int) (err error) {
90929+ _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
90930 if e1 != 0 {
90931 err = errnoErr(e1)
90932 }
90933@@ -1498,8 +55,9 @@ func Munlockall() (err error) {
90934
90935 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90936
90937-func Dup2(oldfd int, newfd int) (err error) {
90938- _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
90939+func EpollCreate(size int) (fd int, err error) {
90940+ r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
90941+ fd = int(r0)
90942 if e1 != 0 {
90943 err = errnoErr(e1)
90944 }
90945@@ -1555,6 +113,21 @@ func Fstat(fd int, stat *Stat_t) (err error) {
90946
90947 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90948
90949+func Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) {
90950+ var _p0 *byte
90951+ _p0, err = BytePtrFromString(path)
90952+ if err != nil {
90953+ return
90954+ }
90955+ _, _, e1 := Syscall6(SYS_NEWFSTATAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
90956+ if e1 != 0 {
90957+ err = errnoErr(e1)
90958+ }
90959+ return
90960+}
90961+
90962+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90963+
90964 func Fstatfs(fd int, buf *Statfs_t) (err error) {
90965 _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
90966 if e1 != 0 {
90967@@ -1576,7 +149,7 @@ func Ftruncate(fd int, length int64) (err error) {
90968 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90969
90970 func Getegid() (egid int) {
90971- r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
90972+ r0, _ := RawSyscallNoError(SYS_GETEGID, 0, 0, 0)
90973 egid = int(r0)
90974 return
90975 }
90976@@ -1584,7 +157,7 @@ func Getegid() (egid int) {
90977 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90978
90979 func Geteuid() (euid int) {
90980- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
90981+ r0, _ := RawSyscallNoError(SYS_GETEUID, 0, 0, 0)
90982 euid = int(r0)
90983 return
90984 }
90985@@ -1592,7 +165,7 @@ func Geteuid() (euid int) {
90986 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90987
90988 func Getgid() (gid int) {
90989- r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
90990+ r0, _ := RawSyscallNoError(SYS_GETGID, 0, 0, 0)
90991 gid = int(r0)
90992 return
90993 }
90994@@ -1610,14 +183,14 @@ func Getrlimit(resource int, rlim *Rlimit) (err error) {
90995 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
90996
90997 func Getuid() (uid int) {
90998- r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
90999+ r0, _ := RawSyscallNoError(SYS_GETUID, 0, 0, 0)
91000 uid = int(r0)
91001 return
91002 }
91003
91004 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91005
91006-func InotifyInit() (fd int, err error) {
91007+func inotifyInit() (fd int, err error) {
91008 r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT, 0, 0, 0)
91009 fd = int(r0)
91010 if e1 != 0 {
91011@@ -1673,21 +246,6 @@ func Listen(s int, n int) (err error) {
91012
91013 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91014
91015-func Lstat(path string, stat *Stat_t) (err error) {
91016- var _p0 *byte
91017- _p0, err = BytePtrFromString(path)
91018- if err != nil {
91019- return
91020- }
91021- _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
91022- if e1 != 0 {
91023- err = errnoErr(e1)
91024- }
91025- return
91026-}
91027-
91028-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91029-
91030 func Pause() (err error) {
91031 _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
91032 if e1 != 0 {
91033@@ -1732,9 +290,18 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
91034
91035 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91036
91037-func Seek(fd int, offset int64, whence int) (off int64, err error) {
91038- r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
91039- off = int64(r0)
91040+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
91041+ var _p0 *byte
91042+ _p0, err = BytePtrFromString(oldpath)
91043+ if err != nil {
91044+ return
91045+ }
91046+ var _p1 *byte
91047+ _p1, err = BytePtrFromString(newpath)
91048+ if err != nil {
91049+ return
91050+ }
91051+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
91052 if e1 != 0 {
91053 err = errnoErr(e1)
91054 }
91055@@ -1743,9 +310,9 @@ func Seek(fd int, offset int64, whence int) (off int64, err error) {
91056
91057 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91058
91059-func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
91060- r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
91061- n = int(r0)
91062+func Seek(fd int, offset int64, whence int) (off int64, err error) {
91063+ r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
91064+ off = int64(r0)
91065 if e1 != 0 {
91066 err = errnoErr(e1)
91067 }
91068@@ -1765,8 +332,9 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
91069
91070 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91071
91072-func Setfsgid(gid int) (err error) {
91073- _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
91074+func setfsgid(gid int) (prev int, err error) {
91075+ r0, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
91076+ prev = int(r0)
91077 if e1 != 0 {
91078 err = errnoErr(e1)
91079 }
91080@@ -1775,8 +343,9 @@ func Setfsgid(gid int) (err error) {
91081
91082 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91083
91084-func Setfsuid(uid int) (err error) {
91085- _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
91086+func setfsuid(uid int) (prev int, err error) {
91087+ r0, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
91088+ prev = int(r0)
91089 if e1 != 0 {
91090 err = errnoErr(e1)
91091 }
91092@@ -1856,21 +425,6 @@ func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n i
91093
91094 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91095
91096-func Stat(path string, stat *Stat_t) (err error) {
91097- var _p0 *byte
91098- _p0, err = BytePtrFromString(path)
91099- if err != nil {
91100- return
91101- }
91102- _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
91103- if e1 != 0 {
91104- err = errnoErr(e1)
91105- }
91106- return
91107-}
91108-
91109-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91110-
91111 func Statfs(path string, buf *Statfs_t) (err error) {
91112 var _p0 *byte
91113 _p0, err = BytePtrFromString(path)
91114@@ -1911,6 +465,16 @@ func Truncate(path string, length int64) (err error) {
91115
91116 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91117
91118+func Ustat(dev int, ubuf *Ustat_t) (err error) {
91119+ _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
91120+ if e1 != 0 {
91121+ err = errnoErr(e1)
91122+ }
91123+ return
91124+}
91125+
91126+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91127+
91128 func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
91129 r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
91130 fd = int(r0)
91131@@ -2101,6 +665,21 @@ func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int6
91132
91133 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91134
91135+func futimesat(dirfd int, path string, times *[2]Timeval) (err error) {
91136+ var _p0 *byte
91137+ _p0, err = BytePtrFromString(path)
91138+ if err != nil {
91139+ return
91140+ }
91141+ _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)))
91142+ if e1 != 0 {
91143+ err = errnoErr(e1)
91144+ }
91145+ return
91146+}
91147+
91148+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91149+
91150 func Utime(path string, buf *Utimbuf) (err error) {
91151 var _p0 *byte
91152 _p0, err = BytePtrFromString(path)
91153@@ -2116,8 +695,13 @@ func Utime(path string, buf *Utimbuf) (err error) {
91154
91155 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91156
91157-func pipe(p *[2]_C_int) (err error) {
91158- _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
91159+func utimes(path string, times *[2]Timeval) (err error) {
91160+ var _p0 *byte
91161+ _p0, err = BytePtrFromString(path)
91162+ if err != nil {
91163+ return
91164+ }
91165+ _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
91166 if e1 != 0 {
91167 err = errnoErr(e1)
91168 }
91169@@ -2126,8 +710,8 @@ func pipe(p *[2]_C_int) (err error) {
91170
91171 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91172
91173-func pipe2(p *[2]_C_int, flags int) (err error) {
91174- _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
91175+func pipe(p *[2]_C_int) (err error) {
91176+ _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
91177 if e1 != 0 {
91178 err = errnoErr(e1)
91179 }
91180@@ -2144,3 +728,18 @@ func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
91181 }
91182 return
91183 }
91184+
91185+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91186+
91187+func kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error) {
91188+ var _p0 *byte
91189+ _p0, err = BytePtrFromString(cmdline)
91190+ if err != nil {
91191+ return
91192+ }
91193+ _, _, e1 := Syscall6(SYS_KEXEC_FILE_LOAD, uintptr(kernelFd), uintptr(initrdFd), uintptr(cmdlineLen), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
91194+ if e1 != 0 {
91195+ err = errnoErr(e1)
91196+ }
91197+ return
91198+}
91199diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go
91200index 4d280427..ac19523e 100644
91201--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go
91202+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go
91203@@ -1,4 +1,4 @@
91204-// mksyscall.pl -l32 -arm -tags linux,arm syscall_linux.go syscall_linux_arm.go
91205+// go run mksyscall.go -l32 -arm -tags linux,arm syscall_linux.go syscall_linux_arm.go
91206 // Code generated by the command above; see README.md. DO NOT EDIT.
91207
91208 // +build linux,arm
91209@@ -14,1456 +14,8 @@ var _ syscall.Errno
91210
91211 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91212
91213-func fchmodat(dirfd int, path string, mode uint32) (err error) {
91214- var _p0 *byte
91215- _p0, err = BytePtrFromString(path)
91216- if err != nil {
91217- return
91218- }
91219- _, _, e1 := Syscall(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
91220- if e1 != 0 {
91221- err = errnoErr(e1)
91222- }
91223- return
91224-}
91225-
91226-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91227-
91228-func ioctl(fd int, req uint, arg uintptr) (err error) {
91229- _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
91230- if e1 != 0 {
91231- err = errnoErr(e1)
91232- }
91233- return
91234-}
91235-
91236-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91237-
91238-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
91239- var _p0 *byte
91240- _p0, err = BytePtrFromString(oldpath)
91241- if err != nil {
91242- return
91243- }
91244- var _p1 *byte
91245- _p1, err = BytePtrFromString(newpath)
91246- if err != nil {
91247- return
91248- }
91249- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
91250- if e1 != 0 {
91251- err = errnoErr(e1)
91252- }
91253- return
91254-}
91255-
91256-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91257-
91258-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
91259- var _p0 *byte
91260- _p0, err = BytePtrFromString(path)
91261- if err != nil {
91262- return
91263- }
91264- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
91265- fd = int(r0)
91266- if e1 != 0 {
91267- err = errnoErr(e1)
91268- }
91269- return
91270-}
91271-
91272-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91273-
91274-func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
91275- r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
91276- n = int(r0)
91277- if e1 != 0 {
91278- err = errnoErr(e1)
91279- }
91280- return
91281-}
91282-
91283-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91284-
91285-func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
91286- var _p0 *byte
91287- _p0, err = BytePtrFromString(path)
91288- if err != nil {
91289- return
91290- }
91291- var _p1 unsafe.Pointer
91292- if len(buf) > 0 {
91293- _p1 = unsafe.Pointer(&buf[0])
91294- } else {
91295- _p1 = unsafe.Pointer(&_zero)
91296- }
91297- r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
91298- n = int(r0)
91299- if e1 != 0 {
91300- err = errnoErr(e1)
91301- }
91302- return
91303-}
91304-
91305-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91306-
91307-func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
91308- var _p0 *byte
91309- _p0, err = BytePtrFromString(oldpath)
91310- if err != nil {
91311- return
91312- }
91313- var _p1 *byte
91314- _p1, err = BytePtrFromString(newpath)
91315- if err != nil {
91316- return
91317- }
91318- _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
91319- if e1 != 0 {
91320- err = errnoErr(e1)
91321- }
91322- return
91323-}
91324-
91325-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91326-
91327-func Unlinkat(dirfd int, path string, flags int) (err error) {
91328- var _p0 *byte
91329- _p0, err = BytePtrFromString(path)
91330- if err != nil {
91331- return
91332- }
91333- _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
91334- if e1 != 0 {
91335- err = errnoErr(e1)
91336- }
91337- return
91338-}
91339-
91340-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91341-
91342-func utimes(path string, times *[2]Timeval) (err error) {
91343- var _p0 *byte
91344- _p0, err = BytePtrFromString(path)
91345- if err != nil {
91346- return
91347- }
91348- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
91349- if e1 != 0 {
91350- err = errnoErr(e1)
91351- }
91352- return
91353-}
91354-
91355-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91356-
91357-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
91358- var _p0 *byte
91359- _p0, err = BytePtrFromString(path)
91360- if err != nil {
91361- return
91362- }
91363- _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
91364- if e1 != 0 {
91365- err = errnoErr(e1)
91366- }
91367- return
91368-}
91369-
91370-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91371-
91372-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
91373- _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
91374- if e1 != 0 {
91375- err = errnoErr(e1)
91376- }
91377- return
91378-}
91379-
91380-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91381-
91382-func Getcwd(buf []byte) (n int, err error) {
91383- var _p0 unsafe.Pointer
91384- if len(buf) > 0 {
91385- _p0 = unsafe.Pointer(&buf[0])
91386- } else {
91387- _p0 = unsafe.Pointer(&_zero)
91388- }
91389- r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
91390- n = int(r0)
91391- if e1 != 0 {
91392- err = errnoErr(e1)
91393- }
91394- return
91395-}
91396-
91397-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91398-
91399-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
91400- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
91401- wpid = int(r0)
91402- if e1 != 0 {
91403- err = errnoErr(e1)
91404- }
91405- return
91406-}
91407-
91408-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91409-
91410-func KeyctlInt(cmd int, arg2 int, arg3 int, arg4 int, arg5 int) (ret int, err error) {
91411- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
91412- ret = int(r0)
91413- if e1 != 0 {
91414- err = errnoErr(e1)
91415- }
91416- return
91417-}
91418-
91419-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91420-
91421-func KeyctlBuffer(cmd int, arg2 int, buf []byte, arg5 int) (ret int, err error) {
91422- var _p0 unsafe.Pointer
91423- if len(buf) > 0 {
91424- _p0 = unsafe.Pointer(&buf[0])
91425- } else {
91426- _p0 = unsafe.Pointer(&_zero)
91427- }
91428- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(buf)), uintptr(arg5), 0)
91429- ret = int(r0)
91430- if e1 != 0 {
91431- err = errnoErr(e1)
91432- }
91433- return
91434-}
91435-
91436-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91437-
91438-func keyctlJoin(cmd int, arg2 string) (ret int, err error) {
91439- var _p0 *byte
91440- _p0, err = BytePtrFromString(arg2)
91441- if err != nil {
91442- return
91443- }
91444- r0, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0)
91445- ret = int(r0)
91446- if e1 != 0 {
91447- err = errnoErr(e1)
91448- }
91449- return
91450-}
91451-
91452-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91453-
91454-func keyctlSearch(cmd int, arg2 int, arg3 string, arg4 string, arg5 int) (ret int, err error) {
91455- var _p0 *byte
91456- _p0, err = BytePtrFromString(arg3)
91457- if err != nil {
91458- return
91459- }
91460- var _p1 *byte
91461- _p1, err = BytePtrFromString(arg4)
91462- if err != nil {
91463- return
91464- }
91465- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(arg5), 0)
91466- ret = int(r0)
91467- if e1 != 0 {
91468- err = errnoErr(e1)
91469- }
91470- return
91471-}
91472-
91473-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91474-
91475-func keyctlIOV(cmd int, arg2 int, payload []Iovec, arg5 int) (err error) {
91476- var _p0 unsafe.Pointer
91477- if len(payload) > 0 {
91478- _p0 = unsafe.Pointer(&payload[0])
91479- } else {
91480- _p0 = unsafe.Pointer(&_zero)
91481- }
91482- _, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(payload)), uintptr(arg5), 0)
91483- if e1 != 0 {
91484- err = errnoErr(e1)
91485- }
91486- return
91487-}
91488-
91489-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91490-
91491-func keyctlDH(cmd int, arg2 *KeyctlDHParams, buf []byte) (ret int, err error) {
91492- var _p0 unsafe.Pointer
91493- if len(buf) > 0 {
91494- _p0 = unsafe.Pointer(&buf[0])
91495- } else {
91496- _p0 = unsafe.Pointer(&_zero)
91497- }
91498- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(arg2)), uintptr(_p0), uintptr(len(buf)), 0, 0)
91499- ret = int(r0)
91500- if e1 != 0 {
91501- err = errnoErr(e1)
91502- }
91503- return
91504-}
91505-
91506-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91507-
91508-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
91509- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
91510- if e1 != 0 {
91511- err = errnoErr(e1)
91512- }
91513- return
91514-}
91515-
91516-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91517-
91518-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
91519- var _p0 *byte
91520- _p0, err = BytePtrFromString(arg)
91521- if err != nil {
91522- return
91523- }
91524- _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
91525- if e1 != 0 {
91526- err = errnoErr(e1)
91527- }
91528- return
91529-}
91530-
91531-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91532-
91533-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
91534- var _p0 *byte
91535- _p0, err = BytePtrFromString(source)
91536- if err != nil {
91537- return
91538- }
91539- var _p1 *byte
91540- _p1, err = BytePtrFromString(target)
91541- if err != nil {
91542- return
91543- }
91544- var _p2 *byte
91545- _p2, err = BytePtrFromString(fstype)
91546- if err != nil {
91547- return
91548- }
91549- _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
91550- if e1 != 0 {
91551- err = errnoErr(e1)
91552- }
91553- return
91554-}
91555-
91556-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91557-
91558-func Acct(path string) (err error) {
91559- var _p0 *byte
91560- _p0, err = BytePtrFromString(path)
91561- if err != nil {
91562- return
91563- }
91564- _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
91565- if e1 != 0 {
91566- err = errnoErr(e1)
91567- }
91568- return
91569-}
91570-
91571-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91572-
91573-func AddKey(keyType string, description string, payload []byte, ringid int) (id int, err error) {
91574- var _p0 *byte
91575- _p0, err = BytePtrFromString(keyType)
91576- if err != nil {
91577- return
91578- }
91579- var _p1 *byte
91580- _p1, err = BytePtrFromString(description)
91581- if err != nil {
91582- return
91583- }
91584- var _p2 unsafe.Pointer
91585- if len(payload) > 0 {
91586- _p2 = unsafe.Pointer(&payload[0])
91587- } else {
91588- _p2 = unsafe.Pointer(&_zero)
91589- }
91590- r0, _, e1 := Syscall6(SYS_ADD_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(payload)), uintptr(ringid), 0)
91591- id = int(r0)
91592- if e1 != 0 {
91593- err = errnoErr(e1)
91594- }
91595- return
91596-}
91597-
91598-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91599-
91600-func Adjtimex(buf *Timex) (state int, err error) {
91601- r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
91602- state = int(r0)
91603- if e1 != 0 {
91604- err = errnoErr(e1)
91605- }
91606- return
91607-}
91608-
91609-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91610-
91611-func Chdir(path string) (err error) {
91612- var _p0 *byte
91613- _p0, err = BytePtrFromString(path)
91614- if err != nil {
91615- return
91616- }
91617- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
91618- if e1 != 0 {
91619- err = errnoErr(e1)
91620- }
91621- return
91622-}
91623-
91624-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91625-
91626-func Chroot(path string) (err error) {
91627- var _p0 *byte
91628- _p0, err = BytePtrFromString(path)
91629- if err != nil {
91630- return
91631- }
91632- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
91633- if e1 != 0 {
91634- err = errnoErr(e1)
91635- }
91636- return
91637-}
91638-
91639-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91640-
91641-func ClockGettime(clockid int32, time *Timespec) (err error) {
91642- _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
91643- if e1 != 0 {
91644- err = errnoErr(e1)
91645- }
91646- return
91647-}
91648-
91649-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91650-
91651-func Close(fd int) (err error) {
91652- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
91653- if e1 != 0 {
91654- err = errnoErr(e1)
91655- }
91656- return
91657-}
91658-
91659-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91660-
91661-func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
91662- r0, _, e1 := Syscall6(SYS_COPY_FILE_RANGE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
91663- n = int(r0)
91664- if e1 != 0 {
91665- err = errnoErr(e1)
91666- }
91667- return
91668-}
91669-
91670-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91671-
91672-func Dup(oldfd int) (fd int, err error) {
91673- r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
91674- fd = int(r0)
91675- if e1 != 0 {
91676- err = errnoErr(e1)
91677- }
91678- return
91679-}
91680-
91681-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91682-
91683-func Dup3(oldfd int, newfd int, flags int) (err error) {
91684- _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
91685- if e1 != 0 {
91686- err = errnoErr(e1)
91687- }
91688- return
91689-}
91690-
91691-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91692-
91693-func EpollCreate(size int) (fd int, err error) {
91694- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
91695- fd = int(r0)
91696- if e1 != 0 {
91697- err = errnoErr(e1)
91698- }
91699- return
91700-}
91701-
91702-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91703-
91704-func EpollCreate1(flag int) (fd int, err error) {
91705- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
91706- fd = int(r0)
91707- if e1 != 0 {
91708- err = errnoErr(e1)
91709- }
91710- return
91711-}
91712-
91713-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91714-
91715-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
91716- _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
91717- if e1 != 0 {
91718- err = errnoErr(e1)
91719- }
91720- return
91721-}
91722-
91723-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91724-
91725-func Eventfd(initval uint, flags int) (fd int, err error) {
91726- r0, _, e1 := Syscall(SYS_EVENTFD2, uintptr(initval), uintptr(flags), 0)
91727- fd = int(r0)
91728- if e1 != 0 {
91729- err = errnoErr(e1)
91730- }
91731- return
91732-}
91733-
91734-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91735-
91736-func Exit(code int) {
91737- Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
91738- return
91739-}
91740-
91741-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91742-
91743-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
91744- var _p0 *byte
91745- _p0, err = BytePtrFromString(path)
91746- if err != nil {
91747- return
91748- }
91749- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
91750- if e1 != 0 {
91751- err = errnoErr(e1)
91752- }
91753- return
91754-}
91755-
91756-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91757-
91758-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
91759- _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(off>>32), uintptr(len), uintptr(len>>32))
91760- if e1 != 0 {
91761- err = errnoErr(e1)
91762- }
91763- return
91764-}
91765-
91766-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91767-
91768-func Fchdir(fd int) (err error) {
91769- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
91770- if e1 != 0 {
91771- err = errnoErr(e1)
91772- }
91773- return
91774-}
91775-
91776-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91777-
91778-func Fchmod(fd int, mode uint32) (err error) {
91779- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
91780- if e1 != 0 {
91781- err = errnoErr(e1)
91782- }
91783- return
91784-}
91785-
91786-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91787-
91788-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
91789- var _p0 *byte
91790- _p0, err = BytePtrFromString(path)
91791- if err != nil {
91792- return
91793- }
91794- _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
91795- if e1 != 0 {
91796- err = errnoErr(e1)
91797- }
91798- return
91799-}
91800-
91801-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91802-
91803-func fcntl(fd int, cmd int, arg int) (val int, err error) {
91804- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
91805- val = int(r0)
91806- if e1 != 0 {
91807- err = errnoErr(e1)
91808- }
91809- return
91810-}
91811-
91812-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91813-
91814-func Fdatasync(fd int) (err error) {
91815- _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
91816- if e1 != 0 {
91817- err = errnoErr(e1)
91818- }
91819- return
91820-}
91821-
91822-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91823-
91824-func Flock(fd int, how int) (err error) {
91825- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
91826- if e1 != 0 {
91827- err = errnoErr(e1)
91828- }
91829- return
91830-}
91831-
91832-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91833-
91834-func Fsync(fd int) (err error) {
91835- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
91836- if e1 != 0 {
91837- err = errnoErr(e1)
91838- }
91839- return
91840-}
91841-
91842-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91843-
91844-func Getdents(fd int, buf []byte) (n int, err error) {
91845- var _p0 unsafe.Pointer
91846- if len(buf) > 0 {
91847- _p0 = unsafe.Pointer(&buf[0])
91848- } else {
91849- _p0 = unsafe.Pointer(&_zero)
91850- }
91851- r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
91852- n = int(r0)
91853- if e1 != 0 {
91854- err = errnoErr(e1)
91855- }
91856- return
91857-}
91858-
91859-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91860-
91861-func Getpgid(pid int) (pgid int, err error) {
91862- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
91863- pgid = int(r0)
91864- if e1 != 0 {
91865- err = errnoErr(e1)
91866- }
91867- return
91868-}
91869-
91870-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91871-
91872-func Getpid() (pid int) {
91873- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
91874- pid = int(r0)
91875- return
91876-}
91877-
91878-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91879-
91880-func Getppid() (ppid int) {
91881- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
91882- ppid = int(r0)
91883- return
91884-}
91885-
91886-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91887-
91888-func Getpriority(which int, who int) (prio int, err error) {
91889- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
91890- prio = int(r0)
91891- if e1 != 0 {
91892- err = errnoErr(e1)
91893- }
91894- return
91895-}
91896-
91897-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91898-
91899-func Getrandom(buf []byte, flags int) (n int, err error) {
91900- var _p0 unsafe.Pointer
91901- if len(buf) > 0 {
91902- _p0 = unsafe.Pointer(&buf[0])
91903- } else {
91904- _p0 = unsafe.Pointer(&_zero)
91905- }
91906- r0, _, e1 := Syscall(SYS_GETRANDOM, uintptr(_p0), uintptr(len(buf)), uintptr(flags))
91907- n = int(r0)
91908- if e1 != 0 {
91909- err = errnoErr(e1)
91910- }
91911- return
91912-}
91913-
91914-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91915-
91916-func Getrusage(who int, rusage *Rusage) (err error) {
91917- _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
91918- if e1 != 0 {
91919- err = errnoErr(e1)
91920- }
91921- return
91922-}
91923-
91924-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91925-
91926-func Getsid(pid int) (sid int, err error) {
91927- r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
91928- sid = int(r0)
91929- if e1 != 0 {
91930- err = errnoErr(e1)
91931- }
91932- return
91933-}
91934-
91935-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91936-
91937-func Gettid() (tid int) {
91938- r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
91939- tid = int(r0)
91940- return
91941-}
91942-
91943-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91944-
91945-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
91946- var _p0 *byte
91947- _p0, err = BytePtrFromString(path)
91948- if err != nil {
91949- return
91950- }
91951- var _p1 *byte
91952- _p1, err = BytePtrFromString(attr)
91953- if err != nil {
91954- return
91955- }
91956- var _p2 unsafe.Pointer
91957- if len(dest) > 0 {
91958- _p2 = unsafe.Pointer(&dest[0])
91959- } else {
91960- _p2 = unsafe.Pointer(&_zero)
91961- }
91962- r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
91963- sz = int(r0)
91964- if e1 != 0 {
91965- err = errnoErr(e1)
91966- }
91967- return
91968-}
91969-
91970-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91971-
91972-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
91973- var _p0 *byte
91974- _p0, err = BytePtrFromString(pathname)
91975- if err != nil {
91976- return
91977- }
91978- r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
91979- watchdesc = int(r0)
91980- if e1 != 0 {
91981- err = errnoErr(e1)
91982- }
91983- return
91984-}
91985-
91986-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91987-
91988-func InotifyInit1(flags int) (fd int, err error) {
91989- r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
91990- fd = int(r0)
91991- if e1 != 0 {
91992- err = errnoErr(e1)
91993- }
91994- return
91995-}
91996-
91997-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
91998-
91999-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
92000- r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
92001- success = int(r0)
92002- if e1 != 0 {
92003- err = errnoErr(e1)
92004- }
92005- return
92006-}
92007-
92008-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92009-
92010-func Kill(pid int, sig syscall.Signal) (err error) {
92011- _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
92012- if e1 != 0 {
92013- err = errnoErr(e1)
92014- }
92015- return
92016-}
92017-
92018-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92019-
92020-func Klogctl(typ int, buf []byte) (n int, err error) {
92021- var _p0 unsafe.Pointer
92022- if len(buf) > 0 {
92023- _p0 = unsafe.Pointer(&buf[0])
92024- } else {
92025- _p0 = unsafe.Pointer(&_zero)
92026- }
92027- r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
92028- n = int(r0)
92029- if e1 != 0 {
92030- err = errnoErr(e1)
92031- }
92032- return
92033-}
92034-
92035-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92036-
92037-func Lgetxattr(path string, attr string, dest []byte) (sz int, err error) {
92038- var _p0 *byte
92039- _p0, err = BytePtrFromString(path)
92040- if err != nil {
92041- return
92042- }
92043- var _p1 *byte
92044- _p1, err = BytePtrFromString(attr)
92045- if err != nil {
92046- return
92047- }
92048- var _p2 unsafe.Pointer
92049- if len(dest) > 0 {
92050- _p2 = unsafe.Pointer(&dest[0])
92051- } else {
92052- _p2 = unsafe.Pointer(&_zero)
92053- }
92054- r0, _, e1 := Syscall6(SYS_LGETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
92055- sz = int(r0)
92056- if e1 != 0 {
92057- err = errnoErr(e1)
92058- }
92059- return
92060-}
92061-
92062-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92063-
92064-func Listxattr(path string, dest []byte) (sz int, err error) {
92065- var _p0 *byte
92066- _p0, err = BytePtrFromString(path)
92067- if err != nil {
92068- return
92069- }
92070- var _p1 unsafe.Pointer
92071- if len(dest) > 0 {
92072- _p1 = unsafe.Pointer(&dest[0])
92073- } else {
92074- _p1 = unsafe.Pointer(&_zero)
92075- }
92076- r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
92077- sz = int(r0)
92078- if e1 != 0 {
92079- err = errnoErr(e1)
92080- }
92081- return
92082-}
92083-
92084-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92085-
92086-func Llistxattr(path string, dest []byte) (sz int, err error) {
92087- var _p0 *byte
92088- _p0, err = BytePtrFromString(path)
92089- if err != nil {
92090- return
92091- }
92092- var _p1 unsafe.Pointer
92093- if len(dest) > 0 {
92094- _p1 = unsafe.Pointer(&dest[0])
92095- } else {
92096- _p1 = unsafe.Pointer(&_zero)
92097- }
92098- r0, _, e1 := Syscall(SYS_LLISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
92099- sz = int(r0)
92100- if e1 != 0 {
92101- err = errnoErr(e1)
92102- }
92103- return
92104-}
92105-
92106-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92107-
92108-func Lremovexattr(path string, attr string) (err error) {
92109- var _p0 *byte
92110- _p0, err = BytePtrFromString(path)
92111- if err != nil {
92112- return
92113- }
92114- var _p1 *byte
92115- _p1, err = BytePtrFromString(attr)
92116- if err != nil {
92117- return
92118- }
92119- _, _, e1 := Syscall(SYS_LREMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
92120- if e1 != 0 {
92121- err = errnoErr(e1)
92122- }
92123- return
92124-}
92125-
92126-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92127-
92128-func Lsetxattr(path string, attr string, data []byte, flags int) (err error) {
92129- var _p0 *byte
92130- _p0, err = BytePtrFromString(path)
92131- if err != nil {
92132- return
92133- }
92134- var _p1 *byte
92135- _p1, err = BytePtrFromString(attr)
92136- if err != nil {
92137- return
92138- }
92139- var _p2 unsafe.Pointer
92140- if len(data) > 0 {
92141- _p2 = unsafe.Pointer(&data[0])
92142- } else {
92143- _p2 = unsafe.Pointer(&_zero)
92144- }
92145- _, _, e1 := Syscall6(SYS_LSETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
92146- if e1 != 0 {
92147- err = errnoErr(e1)
92148- }
92149- return
92150-}
92151-
92152-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92153-
92154-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
92155- var _p0 *byte
92156- _p0, err = BytePtrFromString(path)
92157- if err != nil {
92158- return
92159- }
92160- _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
92161- if e1 != 0 {
92162- err = errnoErr(e1)
92163- }
92164- return
92165-}
92166-
92167-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92168-
92169-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
92170- var _p0 *byte
92171- _p0, err = BytePtrFromString(path)
92172- if err != nil {
92173- return
92174- }
92175- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
92176- if e1 != 0 {
92177- err = errnoErr(e1)
92178- }
92179- return
92180-}
92181-
92182-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92183-
92184-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
92185- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
92186- if e1 != 0 {
92187- err = errnoErr(e1)
92188- }
92189- return
92190-}
92191-
92192-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92193-
92194-func PivotRoot(newroot string, putold string) (err error) {
92195- var _p0 *byte
92196- _p0, err = BytePtrFromString(newroot)
92197- if err != nil {
92198- return
92199- }
92200- var _p1 *byte
92201- _p1, err = BytePtrFromString(putold)
92202- if err != nil {
92203- return
92204- }
92205- _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
92206- if e1 != 0 {
92207- err = errnoErr(e1)
92208- }
92209- return
92210-}
92211-
92212-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92213-
92214-func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
92215- _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0)
92216- if e1 != 0 {
92217- err = errnoErr(e1)
92218- }
92219- return
92220-}
92221-
92222-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92223-
92224-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
92225- _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
92226- if e1 != 0 {
92227- err = errnoErr(e1)
92228- }
92229- return
92230-}
92231-
92232-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92233-
92234-func read(fd int, p []byte) (n int, err error) {
92235- var _p0 unsafe.Pointer
92236- if len(p) > 0 {
92237- _p0 = unsafe.Pointer(&p[0])
92238- } else {
92239- _p0 = unsafe.Pointer(&_zero)
92240- }
92241- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
92242- n = int(r0)
92243- if e1 != 0 {
92244- err = errnoErr(e1)
92245- }
92246- return
92247-}
92248-
92249-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92250-
92251-func Removexattr(path string, attr string) (err error) {
92252- var _p0 *byte
92253- _p0, err = BytePtrFromString(path)
92254- if err != nil {
92255- return
92256- }
92257- var _p1 *byte
92258- _p1, err = BytePtrFromString(attr)
92259- if err != nil {
92260- return
92261- }
92262- _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
92263- if e1 != 0 {
92264- err = errnoErr(e1)
92265- }
92266- return
92267-}
92268-
92269-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92270-
92271-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
92272- var _p0 *byte
92273- _p0, err = BytePtrFromString(oldpath)
92274- if err != nil {
92275- return
92276- }
92277- var _p1 *byte
92278- _p1, err = BytePtrFromString(newpath)
92279- if err != nil {
92280- return
92281- }
92282- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
92283- if e1 != 0 {
92284- err = errnoErr(e1)
92285- }
92286- return
92287-}
92288-
92289-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92290-
92291-func RequestKey(keyType string, description string, callback string, destRingid int) (id int, err error) {
92292- var _p0 *byte
92293- _p0, err = BytePtrFromString(keyType)
92294- if err != nil {
92295- return
92296- }
92297- var _p1 *byte
92298- _p1, err = BytePtrFromString(description)
92299- if err != nil {
92300- return
92301- }
92302- var _p2 *byte
92303- _p2, err = BytePtrFromString(callback)
92304- if err != nil {
92305- return
92306- }
92307- r0, _, e1 := Syscall6(SYS_REQUEST_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(destRingid), 0, 0)
92308- id = int(r0)
92309- if e1 != 0 {
92310- err = errnoErr(e1)
92311- }
92312- return
92313-}
92314-
92315-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92316-
92317-func Setdomainname(p []byte) (err error) {
92318- var _p0 unsafe.Pointer
92319- if len(p) > 0 {
92320- _p0 = unsafe.Pointer(&p[0])
92321- } else {
92322- _p0 = unsafe.Pointer(&_zero)
92323- }
92324- _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
92325- if e1 != 0 {
92326- err = errnoErr(e1)
92327- }
92328- return
92329-}
92330-
92331-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92332-
92333-func Sethostname(p []byte) (err error) {
92334- var _p0 unsafe.Pointer
92335- if len(p) > 0 {
92336- _p0 = unsafe.Pointer(&p[0])
92337- } else {
92338- _p0 = unsafe.Pointer(&_zero)
92339- }
92340- _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
92341- if e1 != 0 {
92342- err = errnoErr(e1)
92343- }
92344- return
92345-}
92346-
92347-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92348-
92349-func Setpgid(pid int, pgid int) (err error) {
92350- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
92351- if e1 != 0 {
92352- err = errnoErr(e1)
92353- }
92354- return
92355-}
92356-
92357-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92358-
92359-func Setsid() (pid int, err error) {
92360- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
92361- pid = int(r0)
92362- if e1 != 0 {
92363- err = errnoErr(e1)
92364- }
92365- return
92366-}
92367-
92368-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92369-
92370-func Settimeofday(tv *Timeval) (err error) {
92371- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
92372- if e1 != 0 {
92373- err = errnoErr(e1)
92374- }
92375- return
92376-}
92377-
92378-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92379-
92380-func Setns(fd int, nstype int) (err error) {
92381- _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
92382- if e1 != 0 {
92383- err = errnoErr(e1)
92384- }
92385- return
92386-}
92387-
92388-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92389-
92390-func Setpriority(which int, who int, prio int) (err error) {
92391- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
92392- if e1 != 0 {
92393- err = errnoErr(e1)
92394- }
92395- return
92396-}
92397-
92398-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92399-
92400-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
92401- var _p0 *byte
92402- _p0, err = BytePtrFromString(path)
92403- if err != nil {
92404- return
92405- }
92406- var _p1 *byte
92407- _p1, err = BytePtrFromString(attr)
92408- if err != nil {
92409- return
92410- }
92411- var _p2 unsafe.Pointer
92412- if len(data) > 0 {
92413- _p2 = unsafe.Pointer(&data[0])
92414- } else {
92415- _p2 = unsafe.Pointer(&_zero)
92416- }
92417- _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
92418- if e1 != 0 {
92419- err = errnoErr(e1)
92420- }
92421- return
92422-}
92423-
92424-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92425-
92426-func Sync() {
92427- Syscall(SYS_SYNC, 0, 0, 0)
92428- return
92429-}
92430-
92431-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92432-
92433-func Syncfs(fd int) (err error) {
92434- _, _, e1 := Syscall(SYS_SYNCFS, uintptr(fd), 0, 0)
92435- if e1 != 0 {
92436- err = errnoErr(e1)
92437- }
92438- return
92439-}
92440-
92441-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92442-
92443-func Sysinfo(info *Sysinfo_t) (err error) {
92444- _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
92445- if e1 != 0 {
92446- err = errnoErr(e1)
92447- }
92448- return
92449-}
92450-
92451-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92452-
92453-func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
92454- r0, r1, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
92455- n = int64(int64(r1)<<32 | int64(r0))
92456- if e1 != 0 {
92457- err = errnoErr(e1)
92458- }
92459- return
92460-}
92461-
92462-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92463-
92464-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
92465- _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
92466- if e1 != 0 {
92467- err = errnoErr(e1)
92468- }
92469- return
92470-}
92471-
92472-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92473-
92474-func Times(tms *Tms) (ticks uintptr, err error) {
92475- r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
92476- ticks = uintptr(r0)
92477- if e1 != 0 {
92478- err = errnoErr(e1)
92479- }
92480- return
92481-}
92482-
92483-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92484-
92485-func Umask(mask int) (oldmask int) {
92486- r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
92487- oldmask = int(r0)
92488- return
92489-}
92490-
92491-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92492-
92493-func Uname(buf *Utsname) (err error) {
92494- _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
92495- if e1 != 0 {
92496- err = errnoErr(e1)
92497- }
92498- return
92499-}
92500-
92501-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92502-
92503-func Unmount(target string, flags int) (err error) {
92504- var _p0 *byte
92505- _p0, err = BytePtrFromString(target)
92506- if err != nil {
92507- return
92508- }
92509- _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
92510- if e1 != 0 {
92511- err = errnoErr(e1)
92512- }
92513- return
92514-}
92515-
92516-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92517-
92518-func Unshare(flags int) (err error) {
92519- _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
92520- if e1 != 0 {
92521- err = errnoErr(e1)
92522- }
92523- return
92524-}
92525-
92526-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92527-
92528-func Ustat(dev int, ubuf *Ustat_t) (err error) {
92529- _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
92530- if e1 != 0 {
92531- err = errnoErr(e1)
92532- }
92533- return
92534-}
92535-
92536-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92537-
92538-func write(fd int, p []byte) (n int, err error) {
92539- var _p0 unsafe.Pointer
92540- if len(p) > 0 {
92541- _p0 = unsafe.Pointer(&p[0])
92542- } else {
92543- _p0 = unsafe.Pointer(&_zero)
92544- }
92545- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
92546- n = int(r0)
92547- if e1 != 0 {
92548- err = errnoErr(e1)
92549- }
92550- return
92551-}
92552-
92553-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92554-
92555-func exitThread(code int) (err error) {
92556- _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
92557- if e1 != 0 {
92558- err = errnoErr(e1)
92559- }
92560- return
92561-}
92562-
92563-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92564-
92565-func readlen(fd int, p *byte, np int) (n int, err error) {
92566- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
92567- n = int(r0)
92568- if e1 != 0 {
92569- err = errnoErr(e1)
92570- }
92571- return
92572-}
92573-
92574-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92575-
92576-func writelen(fd int, p *byte, np int) (n int, err error) {
92577- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
92578- n = int(r0)
92579- if e1 != 0 {
92580- err = errnoErr(e1)
92581- }
92582- return
92583-}
92584-
92585-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92586-
92587-func munmap(addr uintptr, length uintptr) (err error) {
92588- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
92589- if e1 != 0 {
92590- err = errnoErr(e1)
92591- }
92592- return
92593-}
92594-
92595-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92596-
92597-func Madvise(b []byte, advice int) (err error) {
92598- var _p0 unsafe.Pointer
92599- if len(b) > 0 {
92600- _p0 = unsafe.Pointer(&b[0])
92601- } else {
92602- _p0 = unsafe.Pointer(&_zero)
92603- }
92604- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
92605- if e1 != 0 {
92606- err = errnoErr(e1)
92607- }
92608- return
92609-}
92610-
92611-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92612-
92613-func Mprotect(b []byte, prot int) (err error) {
92614- var _p0 unsafe.Pointer
92615- if len(b) > 0 {
92616- _p0 = unsafe.Pointer(&b[0])
92617- } else {
92618- _p0 = unsafe.Pointer(&_zero)
92619- }
92620- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
92621- if e1 != 0 {
92622- err = errnoErr(e1)
92623- }
92624- return
92625-}
92626-
92627-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92628-
92629-func Mlock(b []byte) (err error) {
92630- var _p0 unsafe.Pointer
92631- if len(b) > 0 {
92632- _p0 = unsafe.Pointer(&b[0])
92633- } else {
92634- _p0 = unsafe.Pointer(&_zero)
92635- }
92636- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
92637- if e1 != 0 {
92638- err = errnoErr(e1)
92639- }
92640- return
92641-}
92642-
92643-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92644-
92645-func Munlock(b []byte) (err error) {
92646- var _p0 unsafe.Pointer
92647- if len(b) > 0 {
92648- _p0 = unsafe.Pointer(&b[0])
92649- } else {
92650- _p0 = unsafe.Pointer(&_zero)
92651- }
92652- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
92653- if e1 != 0 {
92654- err = errnoErr(e1)
92655- }
92656- return
92657-}
92658-
92659-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92660-
92661-func Mlockall(flags int) (err error) {
92662- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
92663+func fanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname *byte) (err error) {
92664+ _, _, e1 := Syscall6(SYS_FANOTIFY_MARK, uintptr(fd), uintptr(flags), uintptr(mask), uintptr(mask>>32), uintptr(dirFd), uintptr(unsafe.Pointer(pathname)))
92665 if e1 != 0 {
92666 err = errnoErr(e1)
92667 }
92668@@ -1472,14 +24,8 @@ func Mlockall(flags int) (err error) {
92669
92670 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92671
92672-func Msync(b []byte, flags int) (err error) {
92673- var _p0 unsafe.Pointer
92674- if len(b) > 0 {
92675- _p0 = unsafe.Pointer(&b[0])
92676- } else {
92677- _p0 = unsafe.Pointer(&_zero)
92678- }
92679- _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags))
92680+func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
92681+ _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(off>>32), uintptr(len), uintptr(len>>32))
92682 if e1 != 0 {
92683 err = errnoErr(e1)
92684 }
92685@@ -1488,8 +34,9 @@ func Msync(b []byte, flags int) (err error) {
92686
92687 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92688
92689-func Munlockall() (err error) {
92690- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
92691+func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
92692+ r0, r1, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
92693+ n = int64(int64(r1)<<32 | int64(r0))
92694 if e1 != 0 {
92695 err = errnoErr(e1)
92696 }
92697@@ -1498,8 +45,8 @@ func Munlockall() (err error) {
92698
92699 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92700
92701-func pipe2(p *[2]_C_int, flags int) (err error) {
92702- _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
92703+func pipe(p *[2]_C_int) (err error) {
92704+ _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
92705 if e1 != 0 {
92706 err = errnoErr(e1)
92707 }
92708@@ -1697,6 +244,34 @@ func Dup2(oldfd int, newfd int) (err error) {
92709
92710 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92711
92712+func EpollCreate(size int) (fd int, err error) {
92713+ r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
92714+ fd = int(r0)
92715+ if e1 != 0 {
92716+ err = errnoErr(e1)
92717+ }
92718+ return
92719+}
92720+
92721+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92722+
92723+func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
92724+ var _p0 unsafe.Pointer
92725+ if len(events) > 0 {
92726+ _p0 = unsafe.Pointer(&events[0])
92727+ } else {
92728+ _p0 = unsafe.Pointer(&_zero)
92729+ }
92730+ r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
92731+ n = int(r0)
92732+ if e1 != 0 {
92733+ err = errnoErr(e1)
92734+ }
92735+ return
92736+}
92737+
92738+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92739+
92740 func Fchown(fd int, uid int, gid int) (err error) {
92741 _, _, e1 := Syscall(SYS_FCHOWN32, uintptr(fd), uintptr(uid), uintptr(gid))
92742 if e1 != 0 {
92743@@ -1717,8 +292,23 @@ func Fstat(fd int, stat *Stat_t) (err error) {
92744
92745 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92746
92747+func Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) {
92748+ var _p0 *byte
92749+ _p0, err = BytePtrFromString(path)
92750+ if err != nil {
92751+ return
92752+ }
92753+ _, _, e1 := Syscall6(SYS_FSTATAT64, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
92754+ if e1 != 0 {
92755+ err = errnoErr(e1)
92756+ }
92757+ return
92758+}
92759+
92760+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92761+
92762 func Getegid() (egid int) {
92763- r0, _, _ := RawSyscall(SYS_GETEGID32, 0, 0, 0)
92764+ r0, _ := RawSyscallNoError(SYS_GETEGID32, 0, 0, 0)
92765 egid = int(r0)
92766 return
92767 }
92768@@ -1726,7 +316,7 @@ func Getegid() (egid int) {
92769 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92770
92771 func Geteuid() (euid int) {
92772- r0, _, _ := RawSyscall(SYS_GETEUID32, 0, 0, 0)
92773+ r0, _ := RawSyscallNoError(SYS_GETEUID32, 0, 0, 0)
92774 euid = int(r0)
92775 return
92776 }
92777@@ -1734,7 +324,7 @@ func Geteuid() (euid int) {
92778 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92779
92780 func Getgid() (gid int) {
92781- r0, _, _ := RawSyscall(SYS_GETGID32, 0, 0, 0)
92782+ r0, _ := RawSyscallNoError(SYS_GETGID32, 0, 0, 0)
92783 gid = int(r0)
92784 return
92785 }
92786@@ -1742,7 +332,7 @@ func Getgid() (gid int) {
92787 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92788
92789 func Getuid() (uid int) {
92790- r0, _, _ := RawSyscall(SYS_GETUID32, 0, 0, 0)
92791+ r0, _ := RawSyscallNoError(SYS_GETUID32, 0, 0, 0)
92792 uid = int(r0)
92793 return
92794 }
92795@@ -1800,6 +390,36 @@ func Lstat(path string, stat *Stat_t) (err error) {
92796
92797 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92798
92799+func Pause() (err error) {
92800+ _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
92801+ if e1 != 0 {
92802+ err = errnoErr(e1)
92803+ }
92804+ return
92805+}
92806+
92807+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92808+
92809+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
92810+ var _p0 *byte
92811+ _p0, err = BytePtrFromString(oldpath)
92812+ if err != nil {
92813+ return
92814+ }
92815+ var _p1 *byte
92816+ _p1, err = BytePtrFromString(newpath)
92817+ if err != nil {
92818+ return
92819+ }
92820+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
92821+ if e1 != 0 {
92822+ err = errnoErr(e1)
92823+ }
92824+ return
92825+}
92826+
92827+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92828+
92829 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
92830 r0, _, e1 := Syscall6(SYS_SENDFILE64, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
92831 written = int(r0)
92832@@ -1822,8 +442,9 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err
92833
92834 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92835
92836-func Setfsgid(gid int) (err error) {
92837- _, _, e1 := Syscall(SYS_SETFSGID32, uintptr(gid), 0, 0)
92838+func setfsgid(gid int) (prev int, err error) {
92839+ r0, _, e1 := Syscall(SYS_SETFSGID32, uintptr(gid), 0, 0)
92840+ prev = int(r0)
92841 if e1 != 0 {
92842 err = errnoErr(e1)
92843 }
92844@@ -1832,8 +453,9 @@ func Setfsgid(gid int) (err error) {
92845
92846 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92847
92848-func Setfsuid(uid int) (err error) {
92849- _, _, e1 := Syscall(SYS_SETFSUID32, uintptr(uid), 0, 0)
92850+func setfsuid(uid int) (prev int, err error) {
92851+ r0, _, e1 := Syscall(SYS_SETFSUID32, uintptr(uid), 0, 0)
92852+ prev = int(r0)
92853 if e1 != 0 {
92854 err = errnoErr(e1)
92855 }
92856@@ -1918,8 +540,8 @@ func Stat(path string, stat *Stat_t) (err error) {
92857
92858 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92859
92860-func Gettimeofday(tv *Timeval) (err error) {
92861- _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
92862+func Ustat(dev int, ubuf *Ustat_t) (err error) {
92863+ _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
92864 if e1 != 0 {
92865 err = errnoErr(e1)
92866 }
92867@@ -1928,15 +550,13 @@ func Gettimeofday(tv *Timeval) (err error) {
92868
92869 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92870
92871-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
92872- var _p0 unsafe.Pointer
92873- if len(events) > 0 {
92874- _p0 = unsafe.Pointer(&events[0])
92875- } else {
92876- _p0 = unsafe.Pointer(&_zero)
92877+func futimesat(dirfd int, path string, times *[2]Timeval) (err error) {
92878+ var _p0 *byte
92879+ _p0, err = BytePtrFromString(path)
92880+ if err != nil {
92881+ return
92882 }
92883- r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
92884- n = int(r0)
92885+ _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)))
92886 if e1 != 0 {
92887 err = errnoErr(e1)
92888 }
92889@@ -1945,8 +565,23 @@ func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
92890
92891 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92892
92893-func Pause() (err error) {
92894- _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
92895+func Gettimeofday(tv *Timeval) (err error) {
92896+ _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
92897+ if e1 != 0 {
92898+ err = errnoErr(e1)
92899+ }
92900+ return
92901+}
92902+
92903+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92904+
92905+func utimes(path string, times *[2]Timeval) (err error) {
92906+ var _p0 *byte
92907+ _p0, err = BytePtrFromString(path)
92908+ if err != nil {
92909+ return
92910+ }
92911+ _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
92912 if e1 != 0 {
92913 err = errnoErr(e1)
92914 }
92915@@ -2053,3 +688,28 @@ func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
92916 }
92917 return
92918 }
92919+
92920+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92921+
92922+func armSyncFileRange(fd int, flags int, off int64, n int64) (err error) {
92923+ _, _, e1 := Syscall6(SYS_ARM_SYNC_FILE_RANGE, uintptr(fd), uintptr(flags), uintptr(off), uintptr(off>>32), uintptr(n), uintptr(n>>32))
92924+ if e1 != 0 {
92925+ err = errnoErr(e1)
92926+ }
92927+ return
92928+}
92929+
92930+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92931+
92932+func kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error) {
92933+ var _p0 *byte
92934+ _p0, err = BytePtrFromString(cmdline)
92935+ if err != nil {
92936+ return
92937+ }
92938+ _, _, e1 := Syscall6(SYS_KEXEC_FILE_LOAD, uintptr(kernelFd), uintptr(initrdFd), uintptr(cmdlineLen), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
92939+ if e1 != 0 {
92940+ err = errnoErr(e1)
92941+ }
92942+ return
92943+}
92944diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go
92945index 20ad4b6c..f0d2890b 100644
92946--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go
92947+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go
92948@@ -1,4 +1,4 @@
92949-// mksyscall.pl -tags linux,arm64 syscall_linux.go syscall_linux_arm64.go
92950+// go run mksyscall.go -tags linux,arm64 syscall_linux.go syscall_linux_arm64.go
92951 // Code generated by the command above; see README.md. DO NOT EDIT.
92952
92953 // +build linux,arm64
92954@@ -14,1228 +14,8 @@ var _ syscall.Errno
92955
92956 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92957
92958-func fchmodat(dirfd int, path string, mode uint32) (err error) {
92959- var _p0 *byte
92960- _p0, err = BytePtrFromString(path)
92961- if err != nil {
92962- return
92963- }
92964- _, _, e1 := Syscall(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
92965- if e1 != 0 {
92966- err = errnoErr(e1)
92967- }
92968- return
92969-}
92970-
92971-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92972-
92973-func ioctl(fd int, req uint, arg uintptr) (err error) {
92974- _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
92975- if e1 != 0 {
92976- err = errnoErr(e1)
92977- }
92978- return
92979-}
92980-
92981-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
92982-
92983-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
92984- var _p0 *byte
92985- _p0, err = BytePtrFromString(oldpath)
92986- if err != nil {
92987- return
92988- }
92989- var _p1 *byte
92990- _p1, err = BytePtrFromString(newpath)
92991- if err != nil {
92992- return
92993- }
92994- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
92995- if e1 != 0 {
92996- err = errnoErr(e1)
92997- }
92998- return
92999-}
93000-
93001-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93002-
93003-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
93004- var _p0 *byte
93005- _p0, err = BytePtrFromString(path)
93006- if err != nil {
93007- return
93008- }
93009- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
93010- fd = int(r0)
93011- if e1 != 0 {
93012- err = errnoErr(e1)
93013- }
93014- return
93015-}
93016-
93017-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93018-
93019-func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
93020- r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
93021- n = int(r0)
93022- if e1 != 0 {
93023- err = errnoErr(e1)
93024- }
93025- return
93026-}
93027-
93028-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93029-
93030-func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
93031- var _p0 *byte
93032- _p0, err = BytePtrFromString(path)
93033- if err != nil {
93034- return
93035- }
93036- var _p1 unsafe.Pointer
93037- if len(buf) > 0 {
93038- _p1 = unsafe.Pointer(&buf[0])
93039- } else {
93040- _p1 = unsafe.Pointer(&_zero)
93041- }
93042- r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
93043- n = int(r0)
93044- if e1 != 0 {
93045- err = errnoErr(e1)
93046- }
93047- return
93048-}
93049-
93050-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93051-
93052-func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
93053- var _p0 *byte
93054- _p0, err = BytePtrFromString(oldpath)
93055- if err != nil {
93056- return
93057- }
93058- var _p1 *byte
93059- _p1, err = BytePtrFromString(newpath)
93060- if err != nil {
93061- return
93062- }
93063- _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
93064- if e1 != 0 {
93065- err = errnoErr(e1)
93066- }
93067- return
93068-}
93069-
93070-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93071-
93072-func Unlinkat(dirfd int, path string, flags int) (err error) {
93073- var _p0 *byte
93074- _p0, err = BytePtrFromString(path)
93075- if err != nil {
93076- return
93077- }
93078- _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
93079- if e1 != 0 {
93080- err = errnoErr(e1)
93081- }
93082- return
93083-}
93084-
93085-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93086-
93087-func utimes(path string, times *[2]Timeval) (err error) {
93088- var _p0 *byte
93089- _p0, err = BytePtrFromString(path)
93090- if err != nil {
93091- return
93092- }
93093- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
93094- if e1 != 0 {
93095- err = errnoErr(e1)
93096- }
93097- return
93098-}
93099-
93100-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93101-
93102-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
93103- var _p0 *byte
93104- _p0, err = BytePtrFromString(path)
93105- if err != nil {
93106- return
93107- }
93108- _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
93109- if e1 != 0 {
93110- err = errnoErr(e1)
93111- }
93112- return
93113-}
93114-
93115-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93116-
93117-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
93118- _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
93119- if e1 != 0 {
93120- err = errnoErr(e1)
93121- }
93122- return
93123-}
93124-
93125-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93126-
93127-func Getcwd(buf []byte) (n int, err error) {
93128- var _p0 unsafe.Pointer
93129- if len(buf) > 0 {
93130- _p0 = unsafe.Pointer(&buf[0])
93131- } else {
93132- _p0 = unsafe.Pointer(&_zero)
93133- }
93134- r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
93135- n = int(r0)
93136- if e1 != 0 {
93137- err = errnoErr(e1)
93138- }
93139- return
93140-}
93141-
93142-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93143-
93144-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
93145- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
93146- wpid = int(r0)
93147- if e1 != 0 {
93148- err = errnoErr(e1)
93149- }
93150- return
93151-}
93152-
93153-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93154-
93155-func KeyctlInt(cmd int, arg2 int, arg3 int, arg4 int, arg5 int) (ret int, err error) {
93156- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
93157- ret = int(r0)
93158- if e1 != 0 {
93159- err = errnoErr(e1)
93160- }
93161- return
93162-}
93163-
93164-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93165-
93166-func KeyctlBuffer(cmd int, arg2 int, buf []byte, arg5 int) (ret int, err error) {
93167- var _p0 unsafe.Pointer
93168- if len(buf) > 0 {
93169- _p0 = unsafe.Pointer(&buf[0])
93170- } else {
93171- _p0 = unsafe.Pointer(&_zero)
93172- }
93173- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(buf)), uintptr(arg5), 0)
93174- ret = int(r0)
93175- if e1 != 0 {
93176- err = errnoErr(e1)
93177- }
93178- return
93179-}
93180-
93181-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93182-
93183-func keyctlJoin(cmd int, arg2 string) (ret int, err error) {
93184- var _p0 *byte
93185- _p0, err = BytePtrFromString(arg2)
93186- if err != nil {
93187- return
93188- }
93189- r0, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0)
93190- ret = int(r0)
93191- if e1 != 0 {
93192- err = errnoErr(e1)
93193- }
93194- return
93195-}
93196-
93197-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93198-
93199-func keyctlSearch(cmd int, arg2 int, arg3 string, arg4 string, arg5 int) (ret int, err error) {
93200- var _p0 *byte
93201- _p0, err = BytePtrFromString(arg3)
93202- if err != nil {
93203- return
93204- }
93205- var _p1 *byte
93206- _p1, err = BytePtrFromString(arg4)
93207- if err != nil {
93208- return
93209- }
93210- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(arg5), 0)
93211- ret = int(r0)
93212- if e1 != 0 {
93213- err = errnoErr(e1)
93214- }
93215- return
93216-}
93217-
93218-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93219-
93220-func keyctlIOV(cmd int, arg2 int, payload []Iovec, arg5 int) (err error) {
93221- var _p0 unsafe.Pointer
93222- if len(payload) > 0 {
93223- _p0 = unsafe.Pointer(&payload[0])
93224- } else {
93225- _p0 = unsafe.Pointer(&_zero)
93226- }
93227- _, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(payload)), uintptr(arg5), 0)
93228- if e1 != 0 {
93229- err = errnoErr(e1)
93230- }
93231- return
93232-}
93233-
93234-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93235-
93236-func keyctlDH(cmd int, arg2 *KeyctlDHParams, buf []byte) (ret int, err error) {
93237- var _p0 unsafe.Pointer
93238- if len(buf) > 0 {
93239- _p0 = unsafe.Pointer(&buf[0])
93240- } else {
93241- _p0 = unsafe.Pointer(&_zero)
93242- }
93243- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(arg2)), uintptr(_p0), uintptr(len(buf)), 0, 0)
93244- ret = int(r0)
93245- if e1 != 0 {
93246- err = errnoErr(e1)
93247- }
93248- return
93249-}
93250-
93251-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93252-
93253-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
93254- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
93255- if e1 != 0 {
93256- err = errnoErr(e1)
93257- }
93258- return
93259-}
93260-
93261-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93262-
93263-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
93264- var _p0 *byte
93265- _p0, err = BytePtrFromString(arg)
93266- if err != nil {
93267- return
93268- }
93269- _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
93270- if e1 != 0 {
93271- err = errnoErr(e1)
93272- }
93273- return
93274-}
93275-
93276-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93277-
93278-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
93279- var _p0 *byte
93280- _p0, err = BytePtrFromString(source)
93281- if err != nil {
93282- return
93283- }
93284- var _p1 *byte
93285- _p1, err = BytePtrFromString(target)
93286- if err != nil {
93287- return
93288- }
93289- var _p2 *byte
93290- _p2, err = BytePtrFromString(fstype)
93291- if err != nil {
93292- return
93293- }
93294- _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
93295- if e1 != 0 {
93296- err = errnoErr(e1)
93297- }
93298- return
93299-}
93300-
93301-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93302-
93303-func Acct(path string) (err error) {
93304- var _p0 *byte
93305- _p0, err = BytePtrFromString(path)
93306- if err != nil {
93307- return
93308- }
93309- _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
93310- if e1 != 0 {
93311- err = errnoErr(e1)
93312- }
93313- return
93314-}
93315-
93316-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93317-
93318-func AddKey(keyType string, description string, payload []byte, ringid int) (id int, err error) {
93319- var _p0 *byte
93320- _p0, err = BytePtrFromString(keyType)
93321- if err != nil {
93322- return
93323- }
93324- var _p1 *byte
93325- _p1, err = BytePtrFromString(description)
93326- if err != nil {
93327- return
93328- }
93329- var _p2 unsafe.Pointer
93330- if len(payload) > 0 {
93331- _p2 = unsafe.Pointer(&payload[0])
93332- } else {
93333- _p2 = unsafe.Pointer(&_zero)
93334- }
93335- r0, _, e1 := Syscall6(SYS_ADD_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(payload)), uintptr(ringid), 0)
93336- id = int(r0)
93337- if e1 != 0 {
93338- err = errnoErr(e1)
93339- }
93340- return
93341-}
93342-
93343-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93344-
93345-func Adjtimex(buf *Timex) (state int, err error) {
93346- r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
93347- state = int(r0)
93348- if e1 != 0 {
93349- err = errnoErr(e1)
93350- }
93351- return
93352-}
93353-
93354-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93355-
93356-func Chdir(path string) (err error) {
93357- var _p0 *byte
93358- _p0, err = BytePtrFromString(path)
93359- if err != nil {
93360- return
93361- }
93362- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
93363- if e1 != 0 {
93364- err = errnoErr(e1)
93365- }
93366- return
93367-}
93368-
93369-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93370-
93371-func Chroot(path string) (err error) {
93372- var _p0 *byte
93373- _p0, err = BytePtrFromString(path)
93374- if err != nil {
93375- return
93376- }
93377- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
93378- if e1 != 0 {
93379- err = errnoErr(e1)
93380- }
93381- return
93382-}
93383-
93384-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93385-
93386-func ClockGettime(clockid int32, time *Timespec) (err error) {
93387- _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
93388- if e1 != 0 {
93389- err = errnoErr(e1)
93390- }
93391- return
93392-}
93393-
93394-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93395-
93396-func Close(fd int) (err error) {
93397- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
93398- if e1 != 0 {
93399- err = errnoErr(e1)
93400- }
93401- return
93402-}
93403-
93404-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93405-
93406-func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
93407- r0, _, e1 := Syscall6(SYS_COPY_FILE_RANGE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
93408- n = int(r0)
93409- if e1 != 0 {
93410- err = errnoErr(e1)
93411- }
93412- return
93413-}
93414-
93415-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93416-
93417-func Dup(oldfd int) (fd int, err error) {
93418- r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
93419- fd = int(r0)
93420- if e1 != 0 {
93421- err = errnoErr(e1)
93422- }
93423- return
93424-}
93425-
93426-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93427-
93428-func Dup3(oldfd int, newfd int, flags int) (err error) {
93429- _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
93430- if e1 != 0 {
93431- err = errnoErr(e1)
93432- }
93433- return
93434-}
93435-
93436-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93437-
93438-func EpollCreate(size int) (fd int, err error) {
93439- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
93440- fd = int(r0)
93441- if e1 != 0 {
93442- err = errnoErr(e1)
93443- }
93444- return
93445-}
93446-
93447-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93448-
93449-func EpollCreate1(flag int) (fd int, err error) {
93450- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
93451- fd = int(r0)
93452- if e1 != 0 {
93453- err = errnoErr(e1)
93454- }
93455- return
93456-}
93457-
93458-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93459-
93460-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
93461- _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
93462- if e1 != 0 {
93463- err = errnoErr(e1)
93464- }
93465- return
93466-}
93467-
93468-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93469-
93470-func Eventfd(initval uint, flags int) (fd int, err error) {
93471- r0, _, e1 := Syscall(SYS_EVENTFD2, uintptr(initval), uintptr(flags), 0)
93472- fd = int(r0)
93473- if e1 != 0 {
93474- err = errnoErr(e1)
93475- }
93476- return
93477-}
93478-
93479-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93480-
93481-func Exit(code int) {
93482- Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
93483- return
93484-}
93485-
93486-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93487-
93488-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
93489- var _p0 *byte
93490- _p0, err = BytePtrFromString(path)
93491- if err != nil {
93492- return
93493- }
93494- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
93495- if e1 != 0 {
93496- err = errnoErr(e1)
93497- }
93498- return
93499-}
93500-
93501-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93502-
93503-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
93504- _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
93505- if e1 != 0 {
93506- err = errnoErr(e1)
93507- }
93508- return
93509-}
93510-
93511-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93512-
93513-func Fchdir(fd int) (err error) {
93514- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
93515- if e1 != 0 {
93516- err = errnoErr(e1)
93517- }
93518- return
93519-}
93520-
93521-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93522-
93523-func Fchmod(fd int, mode uint32) (err error) {
93524- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
93525- if e1 != 0 {
93526- err = errnoErr(e1)
93527- }
93528- return
93529-}
93530-
93531-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93532-
93533-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
93534- var _p0 *byte
93535- _p0, err = BytePtrFromString(path)
93536- if err != nil {
93537- return
93538- }
93539- _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
93540- if e1 != 0 {
93541- err = errnoErr(e1)
93542- }
93543- return
93544-}
93545-
93546-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93547-
93548-func fcntl(fd int, cmd int, arg int) (val int, err error) {
93549- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
93550- val = int(r0)
93551- if e1 != 0 {
93552- err = errnoErr(e1)
93553- }
93554- return
93555-}
93556-
93557-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93558-
93559-func Fdatasync(fd int) (err error) {
93560- _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
93561- if e1 != 0 {
93562- err = errnoErr(e1)
93563- }
93564- return
93565-}
93566-
93567-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93568-
93569-func Flock(fd int, how int) (err error) {
93570- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
93571- if e1 != 0 {
93572- err = errnoErr(e1)
93573- }
93574- return
93575-}
93576-
93577-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93578-
93579-func Fsync(fd int) (err error) {
93580- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
93581- if e1 != 0 {
93582- err = errnoErr(e1)
93583- }
93584- return
93585-}
93586-
93587-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93588-
93589-func Getdents(fd int, buf []byte) (n int, err error) {
93590- var _p0 unsafe.Pointer
93591- if len(buf) > 0 {
93592- _p0 = unsafe.Pointer(&buf[0])
93593- } else {
93594- _p0 = unsafe.Pointer(&_zero)
93595- }
93596- r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
93597- n = int(r0)
93598- if e1 != 0 {
93599- err = errnoErr(e1)
93600- }
93601- return
93602-}
93603-
93604-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93605-
93606-func Getpgid(pid int) (pgid int, err error) {
93607- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
93608- pgid = int(r0)
93609- if e1 != 0 {
93610- err = errnoErr(e1)
93611- }
93612- return
93613-}
93614-
93615-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93616-
93617-func Getpid() (pid int) {
93618- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
93619- pid = int(r0)
93620- return
93621-}
93622-
93623-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93624-
93625-func Getppid() (ppid int) {
93626- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
93627- ppid = int(r0)
93628- return
93629-}
93630-
93631-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93632-
93633-func Getpriority(which int, who int) (prio int, err error) {
93634- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
93635- prio = int(r0)
93636- if e1 != 0 {
93637- err = errnoErr(e1)
93638- }
93639- return
93640-}
93641-
93642-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93643-
93644-func Getrandom(buf []byte, flags int) (n int, err error) {
93645- var _p0 unsafe.Pointer
93646- if len(buf) > 0 {
93647- _p0 = unsafe.Pointer(&buf[0])
93648- } else {
93649- _p0 = unsafe.Pointer(&_zero)
93650- }
93651- r0, _, e1 := Syscall(SYS_GETRANDOM, uintptr(_p0), uintptr(len(buf)), uintptr(flags))
93652- n = int(r0)
93653- if e1 != 0 {
93654- err = errnoErr(e1)
93655- }
93656- return
93657-}
93658-
93659-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93660-
93661-func Getrusage(who int, rusage *Rusage) (err error) {
93662- _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
93663- if e1 != 0 {
93664- err = errnoErr(e1)
93665- }
93666- return
93667-}
93668-
93669-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93670-
93671-func Getsid(pid int) (sid int, err error) {
93672- r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
93673- sid = int(r0)
93674- if e1 != 0 {
93675- err = errnoErr(e1)
93676- }
93677- return
93678-}
93679-
93680-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93681-
93682-func Gettid() (tid int) {
93683- r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
93684- tid = int(r0)
93685- return
93686-}
93687-
93688-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93689-
93690-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
93691- var _p0 *byte
93692- _p0, err = BytePtrFromString(path)
93693- if err != nil {
93694- return
93695- }
93696- var _p1 *byte
93697- _p1, err = BytePtrFromString(attr)
93698- if err != nil {
93699- return
93700- }
93701- var _p2 unsafe.Pointer
93702- if len(dest) > 0 {
93703- _p2 = unsafe.Pointer(&dest[0])
93704- } else {
93705- _p2 = unsafe.Pointer(&_zero)
93706- }
93707- r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
93708- sz = int(r0)
93709- if e1 != 0 {
93710- err = errnoErr(e1)
93711- }
93712- return
93713-}
93714-
93715-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93716-
93717-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
93718- var _p0 *byte
93719- _p0, err = BytePtrFromString(pathname)
93720- if err != nil {
93721- return
93722- }
93723- r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
93724- watchdesc = int(r0)
93725- if e1 != 0 {
93726- err = errnoErr(e1)
93727- }
93728- return
93729-}
93730-
93731-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93732-
93733-func InotifyInit1(flags int) (fd int, err error) {
93734- r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
93735- fd = int(r0)
93736- if e1 != 0 {
93737- err = errnoErr(e1)
93738- }
93739- return
93740-}
93741-
93742-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93743-
93744-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
93745- r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
93746- success = int(r0)
93747- if e1 != 0 {
93748- err = errnoErr(e1)
93749- }
93750- return
93751-}
93752-
93753-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93754-
93755-func Kill(pid int, sig syscall.Signal) (err error) {
93756- _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
93757- if e1 != 0 {
93758- err = errnoErr(e1)
93759- }
93760- return
93761-}
93762-
93763-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93764-
93765-func Klogctl(typ int, buf []byte) (n int, err error) {
93766- var _p0 unsafe.Pointer
93767- if len(buf) > 0 {
93768- _p0 = unsafe.Pointer(&buf[0])
93769- } else {
93770- _p0 = unsafe.Pointer(&_zero)
93771- }
93772- r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
93773- n = int(r0)
93774- if e1 != 0 {
93775- err = errnoErr(e1)
93776- }
93777- return
93778-}
93779-
93780-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93781-
93782-func Lgetxattr(path string, attr string, dest []byte) (sz int, err error) {
93783- var _p0 *byte
93784- _p0, err = BytePtrFromString(path)
93785- if err != nil {
93786- return
93787- }
93788- var _p1 *byte
93789- _p1, err = BytePtrFromString(attr)
93790- if err != nil {
93791- return
93792- }
93793- var _p2 unsafe.Pointer
93794- if len(dest) > 0 {
93795- _p2 = unsafe.Pointer(&dest[0])
93796- } else {
93797- _p2 = unsafe.Pointer(&_zero)
93798- }
93799- r0, _, e1 := Syscall6(SYS_LGETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
93800- sz = int(r0)
93801- if e1 != 0 {
93802- err = errnoErr(e1)
93803- }
93804- return
93805-}
93806-
93807-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93808-
93809-func Listxattr(path string, dest []byte) (sz int, err error) {
93810- var _p0 *byte
93811- _p0, err = BytePtrFromString(path)
93812- if err != nil {
93813- return
93814- }
93815- var _p1 unsafe.Pointer
93816- if len(dest) > 0 {
93817- _p1 = unsafe.Pointer(&dest[0])
93818- } else {
93819- _p1 = unsafe.Pointer(&_zero)
93820- }
93821- r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
93822- sz = int(r0)
93823- if e1 != 0 {
93824- err = errnoErr(e1)
93825- }
93826- return
93827-}
93828-
93829-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93830-
93831-func Llistxattr(path string, dest []byte) (sz int, err error) {
93832- var _p0 *byte
93833- _p0, err = BytePtrFromString(path)
93834- if err != nil {
93835- return
93836- }
93837- var _p1 unsafe.Pointer
93838- if len(dest) > 0 {
93839- _p1 = unsafe.Pointer(&dest[0])
93840- } else {
93841- _p1 = unsafe.Pointer(&_zero)
93842- }
93843- r0, _, e1 := Syscall(SYS_LLISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
93844- sz = int(r0)
93845- if e1 != 0 {
93846- err = errnoErr(e1)
93847- }
93848- return
93849-}
93850-
93851-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93852-
93853-func Lremovexattr(path string, attr string) (err error) {
93854- var _p0 *byte
93855- _p0, err = BytePtrFromString(path)
93856- if err != nil {
93857- return
93858- }
93859- var _p1 *byte
93860- _p1, err = BytePtrFromString(attr)
93861- if err != nil {
93862- return
93863- }
93864- _, _, e1 := Syscall(SYS_LREMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
93865- if e1 != 0 {
93866- err = errnoErr(e1)
93867- }
93868- return
93869-}
93870-
93871-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93872-
93873-func Lsetxattr(path string, attr string, data []byte, flags int) (err error) {
93874- var _p0 *byte
93875- _p0, err = BytePtrFromString(path)
93876- if err != nil {
93877- return
93878- }
93879- var _p1 *byte
93880- _p1, err = BytePtrFromString(attr)
93881- if err != nil {
93882- return
93883- }
93884- var _p2 unsafe.Pointer
93885- if len(data) > 0 {
93886- _p2 = unsafe.Pointer(&data[0])
93887- } else {
93888- _p2 = unsafe.Pointer(&_zero)
93889- }
93890- _, _, e1 := Syscall6(SYS_LSETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
93891- if e1 != 0 {
93892- err = errnoErr(e1)
93893- }
93894- return
93895-}
93896-
93897-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93898-
93899-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
93900- var _p0 *byte
93901- _p0, err = BytePtrFromString(path)
93902- if err != nil {
93903- return
93904- }
93905- _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
93906- if e1 != 0 {
93907- err = errnoErr(e1)
93908- }
93909- return
93910-}
93911-
93912-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93913-
93914-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
93915- var _p0 *byte
93916- _p0, err = BytePtrFromString(path)
93917- if err != nil {
93918- return
93919- }
93920- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
93921- if e1 != 0 {
93922- err = errnoErr(e1)
93923- }
93924- return
93925-}
93926-
93927-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93928-
93929-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
93930- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
93931- if e1 != 0 {
93932- err = errnoErr(e1)
93933- }
93934- return
93935-}
93936-
93937-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93938-
93939-func PivotRoot(newroot string, putold string) (err error) {
93940- var _p0 *byte
93941- _p0, err = BytePtrFromString(newroot)
93942- if err != nil {
93943- return
93944- }
93945- var _p1 *byte
93946- _p1, err = BytePtrFromString(putold)
93947- if err != nil {
93948- return
93949- }
93950- _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
93951- if e1 != 0 {
93952- err = errnoErr(e1)
93953- }
93954- return
93955-}
93956-
93957-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93958-
93959-func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
93960- _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0)
93961- if e1 != 0 {
93962- err = errnoErr(e1)
93963- }
93964- return
93965-}
93966-
93967-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93968-
93969-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
93970- _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
93971- if e1 != 0 {
93972- err = errnoErr(e1)
93973- }
93974- return
93975-}
93976-
93977-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93978-
93979-func read(fd int, p []byte) (n int, err error) {
93980- var _p0 unsafe.Pointer
93981- if len(p) > 0 {
93982- _p0 = unsafe.Pointer(&p[0])
93983- } else {
93984- _p0 = unsafe.Pointer(&_zero)
93985- }
93986- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
93987- n = int(r0)
93988- if e1 != 0 {
93989- err = errnoErr(e1)
93990- }
93991- return
93992-}
93993-
93994-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
93995-
93996-func Removexattr(path string, attr string) (err error) {
93997- var _p0 *byte
93998- _p0, err = BytePtrFromString(path)
93999- if err != nil {
94000- return
94001- }
94002- var _p1 *byte
94003- _p1, err = BytePtrFromString(attr)
94004- if err != nil {
94005- return
94006- }
94007- _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
94008- if e1 != 0 {
94009- err = errnoErr(e1)
94010- }
94011- return
94012-}
94013-
94014-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94015-
94016-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
94017- var _p0 *byte
94018- _p0, err = BytePtrFromString(oldpath)
94019- if err != nil {
94020- return
94021- }
94022- var _p1 *byte
94023- _p1, err = BytePtrFromString(newpath)
94024- if err != nil {
94025- return
94026- }
94027- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
94028- if e1 != 0 {
94029- err = errnoErr(e1)
94030- }
94031- return
94032-}
94033-
94034-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94035-
94036-func RequestKey(keyType string, description string, callback string, destRingid int) (id int, err error) {
94037- var _p0 *byte
94038- _p0, err = BytePtrFromString(keyType)
94039- if err != nil {
94040- return
94041- }
94042- var _p1 *byte
94043- _p1, err = BytePtrFromString(description)
94044- if err != nil {
94045- return
94046- }
94047- var _p2 *byte
94048- _p2, err = BytePtrFromString(callback)
94049- if err != nil {
94050- return
94051- }
94052- r0, _, e1 := Syscall6(SYS_REQUEST_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(destRingid), 0, 0)
94053- id = int(r0)
94054- if e1 != 0 {
94055- err = errnoErr(e1)
94056- }
94057- return
94058-}
94059-
94060-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94061-
94062-func Setdomainname(p []byte) (err error) {
94063- var _p0 unsafe.Pointer
94064- if len(p) > 0 {
94065- _p0 = unsafe.Pointer(&p[0])
94066- } else {
94067- _p0 = unsafe.Pointer(&_zero)
94068- }
94069- _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
94070- if e1 != 0 {
94071- err = errnoErr(e1)
94072- }
94073- return
94074-}
94075-
94076-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94077-
94078-func Sethostname(p []byte) (err error) {
94079- var _p0 unsafe.Pointer
94080- if len(p) > 0 {
94081- _p0 = unsafe.Pointer(&p[0])
94082- } else {
94083- _p0 = unsafe.Pointer(&_zero)
94084- }
94085- _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
94086- if e1 != 0 {
94087- err = errnoErr(e1)
94088- }
94089- return
94090-}
94091-
94092-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94093-
94094-func Setpgid(pid int, pgid int) (err error) {
94095- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
94096- if e1 != 0 {
94097- err = errnoErr(e1)
94098- }
94099- return
94100-}
94101-
94102-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94103-
94104-func Setsid() (pid int, err error) {
94105- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
94106- pid = int(r0)
94107- if e1 != 0 {
94108- err = errnoErr(e1)
94109- }
94110- return
94111-}
94112-
94113-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94114-
94115-func Settimeofday(tv *Timeval) (err error) {
94116- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
94117- if e1 != 0 {
94118- err = errnoErr(e1)
94119- }
94120- return
94121-}
94122-
94123-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94124-
94125-func Setns(fd int, nstype int) (err error) {
94126- _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
94127- if e1 != 0 {
94128- err = errnoErr(e1)
94129- }
94130- return
94131-}
94132-
94133-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94134-
94135-func Setpriority(which int, who int, prio int) (err error) {
94136- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
94137- if e1 != 0 {
94138- err = errnoErr(e1)
94139- }
94140- return
94141-}
94142-
94143-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94144-
94145-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
94146- var _p0 *byte
94147- _p0, err = BytePtrFromString(path)
94148- if err != nil {
94149- return
94150- }
94151- var _p1 *byte
94152- _p1, err = BytePtrFromString(attr)
94153- if err != nil {
94154- return
94155- }
94156- var _p2 unsafe.Pointer
94157- if len(data) > 0 {
94158- _p2 = unsafe.Pointer(&data[0])
94159- } else {
94160- _p2 = unsafe.Pointer(&_zero)
94161- }
94162- _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
94163- if e1 != 0 {
94164- err = errnoErr(e1)
94165- }
94166- return
94167-}
94168-
94169-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94170-
94171-func Sync() {
94172- Syscall(SYS_SYNC, 0, 0, 0)
94173- return
94174-}
94175-
94176-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94177-
94178-func Syncfs(fd int) (err error) {
94179- _, _, e1 := Syscall(SYS_SYNCFS, uintptr(fd), 0, 0)
94180+func fanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname *byte) (err error) {
94181+ _, _, e1 := Syscall6(SYS_FANOTIFY_MARK, uintptr(fd), uintptr(flags), uintptr(mask), uintptr(dirFd), uintptr(unsafe.Pointer(pathname)), 0)
94182 if e1 != 0 {
94183 err = errnoErr(e1)
94184 }
94185@@ -1244,8 +24,8 @@ func Syncfs(fd int) (err error) {
94186
94187 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94188
94189-func Sysinfo(info *Sysinfo_t) (err error) {
94190- _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
94191+func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
94192+ _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
94193 if e1 != 0 {
94194 err = errnoErr(e1)
94195 }
94196@@ -1265,120 +45,14 @@ func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
94197
94198 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94199
94200-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
94201- _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
94202- if e1 != 0 {
94203- err = errnoErr(e1)
94204- }
94205- return
94206-}
94207-
94208-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94209-
94210-func Times(tms *Tms) (ticks uintptr, err error) {
94211- r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
94212- ticks = uintptr(r0)
94213- if e1 != 0 {
94214- err = errnoErr(e1)
94215- }
94216- return
94217-}
94218-
94219-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94220-
94221-func Umask(mask int) (oldmask int) {
94222- r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
94223- oldmask = int(r0)
94224- return
94225-}
94226-
94227-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94228-
94229-func Uname(buf *Utsname) (err error) {
94230- _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
94231- if e1 != 0 {
94232- err = errnoErr(e1)
94233- }
94234- return
94235-}
94236-
94237-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94238-
94239-func Unmount(target string, flags int) (err error) {
94240- var _p0 *byte
94241- _p0, err = BytePtrFromString(target)
94242- if err != nil {
94243- return
94244- }
94245- _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
94246- if e1 != 0 {
94247- err = errnoErr(e1)
94248- }
94249- return
94250-}
94251-
94252-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94253-
94254-func Unshare(flags int) (err error) {
94255- _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
94256- if e1 != 0 {
94257- err = errnoErr(e1)
94258- }
94259- return
94260-}
94261-
94262-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94263-
94264-func Ustat(dev int, ubuf *Ustat_t) (err error) {
94265- _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
94266- if e1 != 0 {
94267- err = errnoErr(e1)
94268- }
94269- return
94270-}
94271-
94272-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94273-
94274-func write(fd int, p []byte) (n int, err error) {
94275+func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
94276 var _p0 unsafe.Pointer
94277- if len(p) > 0 {
94278- _p0 = unsafe.Pointer(&p[0])
94279+ if len(events) > 0 {
94280+ _p0 = unsafe.Pointer(&events[0])
94281 } else {
94282 _p0 = unsafe.Pointer(&_zero)
94283 }
94284- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
94285- n = int(r0)
94286- if e1 != 0 {
94287- err = errnoErr(e1)
94288- }
94289- return
94290-}
94291-
94292-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94293-
94294-func exitThread(code int) (err error) {
94295- _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
94296- if e1 != 0 {
94297- err = errnoErr(e1)
94298- }
94299- return
94300-}
94301-
94302-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94303-
94304-func readlen(fd int, p *byte, np int) (n int, err error) {
94305- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
94306- n = int(r0)
94307- if e1 != 0 {
94308- err = errnoErr(e1)
94309- }
94310- return
94311-}
94312-
94313-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94314-
94315-func writelen(fd int, p *byte, np int) (n int, err error) {
94316- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
94317+ r0, _, e1 := Syscall6(SYS_EPOLL_PWAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
94318 n = int(r0)
94319 if e1 != 0 {
94320 err = errnoErr(e1)
94321@@ -1388,125 +62,8 @@ func writelen(fd int, p *byte, np int) (n int, err error) {
94322
94323 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94324
94325-func munmap(addr uintptr, length uintptr) (err error) {
94326- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
94327- if e1 != 0 {
94328- err = errnoErr(e1)
94329- }
94330- return
94331-}
94332-
94333-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94334-
94335-func Madvise(b []byte, advice int) (err error) {
94336- var _p0 unsafe.Pointer
94337- if len(b) > 0 {
94338- _p0 = unsafe.Pointer(&b[0])
94339- } else {
94340- _p0 = unsafe.Pointer(&_zero)
94341- }
94342- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
94343- if e1 != 0 {
94344- err = errnoErr(e1)
94345- }
94346- return
94347-}
94348-
94349-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94350-
94351-func Mprotect(b []byte, prot int) (err error) {
94352- var _p0 unsafe.Pointer
94353- if len(b) > 0 {
94354- _p0 = unsafe.Pointer(&b[0])
94355- } else {
94356- _p0 = unsafe.Pointer(&_zero)
94357- }
94358- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
94359- if e1 != 0 {
94360- err = errnoErr(e1)
94361- }
94362- return
94363-}
94364-
94365-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94366-
94367-func Mlock(b []byte) (err error) {
94368- var _p0 unsafe.Pointer
94369- if len(b) > 0 {
94370- _p0 = unsafe.Pointer(&b[0])
94371- } else {
94372- _p0 = unsafe.Pointer(&_zero)
94373- }
94374- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
94375- if e1 != 0 {
94376- err = errnoErr(e1)
94377- }
94378- return
94379-}
94380-
94381-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94382-
94383-func Munlock(b []byte) (err error) {
94384- var _p0 unsafe.Pointer
94385- if len(b) > 0 {
94386- _p0 = unsafe.Pointer(&b[0])
94387- } else {
94388- _p0 = unsafe.Pointer(&_zero)
94389- }
94390- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
94391- if e1 != 0 {
94392- err = errnoErr(e1)
94393- }
94394- return
94395-}
94396-
94397-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94398-
94399-func Mlockall(flags int) (err error) {
94400- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
94401- if e1 != 0 {
94402- err = errnoErr(e1)
94403- }
94404- return
94405-}
94406-
94407-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94408-
94409-func Msync(b []byte, flags int) (err error) {
94410- var _p0 unsafe.Pointer
94411- if len(b) > 0 {
94412- _p0 = unsafe.Pointer(&b[0])
94413- } else {
94414- _p0 = unsafe.Pointer(&_zero)
94415- }
94416- _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags))
94417- if e1 != 0 {
94418- err = errnoErr(e1)
94419- }
94420- return
94421-}
94422-
94423-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94424-
94425-func Munlockall() (err error) {
94426- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
94427- if e1 != 0 {
94428- err = errnoErr(e1)
94429- }
94430- return
94431-}
94432-
94433-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94434-
94435-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
94436- var _p0 unsafe.Pointer
94437- if len(events) > 0 {
94438- _p0 = unsafe.Pointer(&events[0])
94439- } else {
94440- _p0 = unsafe.Pointer(&_zero)
94441- }
94442- r0, _, e1 := Syscall6(SYS_EPOLL_PWAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
94443- n = int(r0)
94444+func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
94445+ _, _, e1 := Syscall6(SYS_FADVISE64, uintptr(fd), uintptr(offset), uintptr(length), uintptr(advice), 0, 0)
94446 if e1 != 0 {
94447 err = errnoErr(e1)
94448 }
94449@@ -1571,7 +128,7 @@ func Ftruncate(fd int, length int64) (err error) {
94450 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94451
94452 func Getegid() (egid int) {
94453- r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
94454+ r0, _ := RawSyscallNoError(SYS_GETEGID, 0, 0, 0)
94455 egid = int(r0)
94456 return
94457 }
94458@@ -1579,7 +136,7 @@ func Getegid() (egid int) {
94459 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94460
94461 func Geteuid() (euid int) {
94462- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
94463+ r0, _ := RawSyscallNoError(SYS_GETEUID, 0, 0, 0)
94464 euid = int(r0)
94465 return
94466 }
94467@@ -1587,7 +144,7 @@ func Geteuid() (euid int) {
94468 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94469
94470 func Getgid() (gid int) {
94471- r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
94472+ r0, _ := RawSyscallNoError(SYS_GETGID, 0, 0, 0)
94473 gid = int(r0)
94474 return
94475 }
94476@@ -1605,7 +162,7 @@ func Getrlimit(resource int, rlim *Rlimit) (err error) {
94477 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94478
94479 func Getuid() (uid int) {
94480- r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
94481+ r0, _ := RawSyscallNoError(SYS_GETUID, 0, 0, 0)
94482 uid = int(r0)
94483 return
94484 }
94485@@ -1656,9 +213,18 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
94486
94487 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94488
94489-func Seek(fd int, offset int64, whence int) (off int64, err error) {
94490- r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
94491- off = int64(r0)
94492+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
94493+ var _p0 *byte
94494+ _p0, err = BytePtrFromString(oldpath)
94495+ if err != nil {
94496+ return
94497+ }
94498+ var _p1 *byte
94499+ _p1, err = BytePtrFromString(newpath)
94500+ if err != nil {
94501+ return
94502+ }
94503+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
94504 if e1 != 0 {
94505 err = errnoErr(e1)
94506 }
94507@@ -1667,9 +233,9 @@ func Seek(fd int, offset int64, whence int) (off int64, err error) {
94508
94509 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94510
94511-func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
94512- r0, _, e1 := Syscall6(SYS_PSELECT6, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
94513- n = int(r0)
94514+func Seek(fd int, offset int64, whence int) (off int64, err error) {
94515+ r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
94516+ off = int64(r0)
94517 if e1 != 0 {
94518 err = errnoErr(e1)
94519 }
94520@@ -1689,8 +255,9 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
94521
94522 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94523
94524-func Setfsgid(gid int) (err error) {
94525- _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
94526+func setfsgid(gid int) (prev int, err error) {
94527+ r0, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
94528+ prev = int(r0)
94529 if e1 != 0 {
94530 err = errnoErr(e1)
94531 }
94532@@ -1699,8 +266,9 @@ func Setfsgid(gid int) (err error) {
94533
94534 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94535
94536-func Setfsuid(uid int) (err error) {
94537- _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
94538+func setfsuid(uid int) (prev int, err error) {
94539+ r0, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
94540+ prev = int(r0)
94541 if e1 != 0 {
94542 err = errnoErr(e1)
94543 }
94544@@ -2020,8 +588,13 @@ func Gettimeofday(tv *Timeval) (err error) {
94545
94546 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94547
94548-func pipe2(p *[2]_C_int, flags int) (err error) {
94549- _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
94550+func kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error) {
94551+ var _p0 *byte
94552+ _p0, err = BytePtrFromString(cmdline)
94553+ if err != nil {
94554+ return
94555+ }
94556+ _, _, e1 := Syscall6(SYS_KEXEC_FILE_LOAD, uintptr(kernelFd), uintptr(initrdFd), uintptr(cmdlineLen), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
94557 if e1 != 0 {
94558 err = errnoErr(e1)
94559 }
94560diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go
94561index 9f194dc4..aecbbca7 100644
94562--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go
94563+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go
94564@@ -1,4 +1,4 @@
94565-// mksyscall.pl -b32 -arm -tags linux,mips syscall_linux.go syscall_linux_mipsx.go
94566+// go run mksyscall.go -b32 -arm -tags linux,mips syscall_linux.go syscall_linux_mipsx.go
94567 // Code generated by the command above; see README.md. DO NOT EDIT.
94568
94569 // +build linux,mips
94570@@ -14,1228 +14,8 @@ var _ syscall.Errno
94571
94572 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94573
94574-func fchmodat(dirfd int, path string, mode uint32) (err error) {
94575- var _p0 *byte
94576- _p0, err = BytePtrFromString(path)
94577- if err != nil {
94578- return
94579- }
94580- _, _, e1 := Syscall(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
94581- if e1 != 0 {
94582- err = errnoErr(e1)
94583- }
94584- return
94585-}
94586-
94587-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94588-
94589-func ioctl(fd int, req uint, arg uintptr) (err error) {
94590- _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
94591- if e1 != 0 {
94592- err = errnoErr(e1)
94593- }
94594- return
94595-}
94596-
94597-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94598-
94599-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
94600- var _p0 *byte
94601- _p0, err = BytePtrFromString(oldpath)
94602- if err != nil {
94603- return
94604- }
94605- var _p1 *byte
94606- _p1, err = BytePtrFromString(newpath)
94607- if err != nil {
94608- return
94609- }
94610- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
94611- if e1 != 0 {
94612- err = errnoErr(e1)
94613- }
94614- return
94615-}
94616-
94617-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94618-
94619-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
94620- var _p0 *byte
94621- _p0, err = BytePtrFromString(path)
94622- if err != nil {
94623- return
94624- }
94625- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
94626- fd = int(r0)
94627- if e1 != 0 {
94628- err = errnoErr(e1)
94629- }
94630- return
94631-}
94632-
94633-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94634-
94635-func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
94636- r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
94637- n = int(r0)
94638- if e1 != 0 {
94639- err = errnoErr(e1)
94640- }
94641- return
94642-}
94643-
94644-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94645-
94646-func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
94647- var _p0 *byte
94648- _p0, err = BytePtrFromString(path)
94649- if err != nil {
94650- return
94651- }
94652- var _p1 unsafe.Pointer
94653- if len(buf) > 0 {
94654- _p1 = unsafe.Pointer(&buf[0])
94655- } else {
94656- _p1 = unsafe.Pointer(&_zero)
94657- }
94658- r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
94659- n = int(r0)
94660- if e1 != 0 {
94661- err = errnoErr(e1)
94662- }
94663- return
94664-}
94665-
94666-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94667-
94668-func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
94669- var _p0 *byte
94670- _p0, err = BytePtrFromString(oldpath)
94671- if err != nil {
94672- return
94673- }
94674- var _p1 *byte
94675- _p1, err = BytePtrFromString(newpath)
94676- if err != nil {
94677- return
94678- }
94679- _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
94680- if e1 != 0 {
94681- err = errnoErr(e1)
94682- }
94683- return
94684-}
94685-
94686-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94687-
94688-func Unlinkat(dirfd int, path string, flags int) (err error) {
94689- var _p0 *byte
94690- _p0, err = BytePtrFromString(path)
94691- if err != nil {
94692- return
94693- }
94694- _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
94695- if e1 != 0 {
94696- err = errnoErr(e1)
94697- }
94698- return
94699-}
94700-
94701-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94702-
94703-func utimes(path string, times *[2]Timeval) (err error) {
94704- var _p0 *byte
94705- _p0, err = BytePtrFromString(path)
94706- if err != nil {
94707- return
94708- }
94709- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
94710- if e1 != 0 {
94711- err = errnoErr(e1)
94712- }
94713- return
94714-}
94715-
94716-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94717-
94718-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
94719- var _p0 *byte
94720- _p0, err = BytePtrFromString(path)
94721- if err != nil {
94722- return
94723- }
94724- _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
94725- if e1 != 0 {
94726- err = errnoErr(e1)
94727- }
94728- return
94729-}
94730-
94731-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94732-
94733-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
94734- _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
94735- if e1 != 0 {
94736- err = errnoErr(e1)
94737- }
94738- return
94739-}
94740-
94741-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94742-
94743-func Getcwd(buf []byte) (n int, err error) {
94744- var _p0 unsafe.Pointer
94745- if len(buf) > 0 {
94746- _p0 = unsafe.Pointer(&buf[0])
94747- } else {
94748- _p0 = unsafe.Pointer(&_zero)
94749- }
94750- r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
94751- n = int(r0)
94752- if e1 != 0 {
94753- err = errnoErr(e1)
94754- }
94755- return
94756-}
94757-
94758-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94759-
94760-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
94761- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
94762- wpid = int(r0)
94763- if e1 != 0 {
94764- err = errnoErr(e1)
94765- }
94766- return
94767-}
94768-
94769-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94770-
94771-func KeyctlInt(cmd int, arg2 int, arg3 int, arg4 int, arg5 int) (ret int, err error) {
94772- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
94773- ret = int(r0)
94774- if e1 != 0 {
94775- err = errnoErr(e1)
94776- }
94777- return
94778-}
94779-
94780-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94781-
94782-func KeyctlBuffer(cmd int, arg2 int, buf []byte, arg5 int) (ret int, err error) {
94783- var _p0 unsafe.Pointer
94784- if len(buf) > 0 {
94785- _p0 = unsafe.Pointer(&buf[0])
94786- } else {
94787- _p0 = unsafe.Pointer(&_zero)
94788- }
94789- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(buf)), uintptr(arg5), 0)
94790- ret = int(r0)
94791- if e1 != 0 {
94792- err = errnoErr(e1)
94793- }
94794- return
94795-}
94796-
94797-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94798-
94799-func keyctlJoin(cmd int, arg2 string) (ret int, err error) {
94800- var _p0 *byte
94801- _p0, err = BytePtrFromString(arg2)
94802- if err != nil {
94803- return
94804- }
94805- r0, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0)
94806- ret = int(r0)
94807- if e1 != 0 {
94808- err = errnoErr(e1)
94809- }
94810- return
94811-}
94812-
94813-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94814-
94815-func keyctlSearch(cmd int, arg2 int, arg3 string, arg4 string, arg5 int) (ret int, err error) {
94816- var _p0 *byte
94817- _p0, err = BytePtrFromString(arg3)
94818- if err != nil {
94819- return
94820- }
94821- var _p1 *byte
94822- _p1, err = BytePtrFromString(arg4)
94823- if err != nil {
94824- return
94825- }
94826- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(arg5), 0)
94827- ret = int(r0)
94828- if e1 != 0 {
94829- err = errnoErr(e1)
94830- }
94831- return
94832-}
94833-
94834-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94835-
94836-func keyctlIOV(cmd int, arg2 int, payload []Iovec, arg5 int) (err error) {
94837- var _p0 unsafe.Pointer
94838- if len(payload) > 0 {
94839- _p0 = unsafe.Pointer(&payload[0])
94840- } else {
94841- _p0 = unsafe.Pointer(&_zero)
94842- }
94843- _, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(payload)), uintptr(arg5), 0)
94844- if e1 != 0 {
94845- err = errnoErr(e1)
94846- }
94847- return
94848-}
94849-
94850-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94851-
94852-func keyctlDH(cmd int, arg2 *KeyctlDHParams, buf []byte) (ret int, err error) {
94853- var _p0 unsafe.Pointer
94854- if len(buf) > 0 {
94855- _p0 = unsafe.Pointer(&buf[0])
94856- } else {
94857- _p0 = unsafe.Pointer(&_zero)
94858- }
94859- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(arg2)), uintptr(_p0), uintptr(len(buf)), 0, 0)
94860- ret = int(r0)
94861- if e1 != 0 {
94862- err = errnoErr(e1)
94863- }
94864- return
94865-}
94866-
94867-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94868-
94869-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
94870- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
94871- if e1 != 0 {
94872- err = errnoErr(e1)
94873- }
94874- return
94875-}
94876-
94877-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94878-
94879-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
94880- var _p0 *byte
94881- _p0, err = BytePtrFromString(arg)
94882- if err != nil {
94883- return
94884- }
94885- _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
94886- if e1 != 0 {
94887- err = errnoErr(e1)
94888- }
94889- return
94890-}
94891-
94892-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94893-
94894-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
94895- var _p0 *byte
94896- _p0, err = BytePtrFromString(source)
94897- if err != nil {
94898- return
94899- }
94900- var _p1 *byte
94901- _p1, err = BytePtrFromString(target)
94902- if err != nil {
94903- return
94904- }
94905- var _p2 *byte
94906- _p2, err = BytePtrFromString(fstype)
94907- if err != nil {
94908- return
94909- }
94910- _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
94911- if e1 != 0 {
94912- err = errnoErr(e1)
94913- }
94914- return
94915-}
94916-
94917-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94918-
94919-func Acct(path string) (err error) {
94920- var _p0 *byte
94921- _p0, err = BytePtrFromString(path)
94922- if err != nil {
94923- return
94924- }
94925- _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
94926- if e1 != 0 {
94927- err = errnoErr(e1)
94928- }
94929- return
94930-}
94931-
94932-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94933-
94934-func AddKey(keyType string, description string, payload []byte, ringid int) (id int, err error) {
94935- var _p0 *byte
94936- _p0, err = BytePtrFromString(keyType)
94937- if err != nil {
94938- return
94939- }
94940- var _p1 *byte
94941- _p1, err = BytePtrFromString(description)
94942- if err != nil {
94943- return
94944- }
94945- var _p2 unsafe.Pointer
94946- if len(payload) > 0 {
94947- _p2 = unsafe.Pointer(&payload[0])
94948- } else {
94949- _p2 = unsafe.Pointer(&_zero)
94950- }
94951- r0, _, e1 := Syscall6(SYS_ADD_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(payload)), uintptr(ringid), 0)
94952- id = int(r0)
94953- if e1 != 0 {
94954- err = errnoErr(e1)
94955- }
94956- return
94957-}
94958-
94959-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94960-
94961-func Adjtimex(buf *Timex) (state int, err error) {
94962- r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
94963- state = int(r0)
94964- if e1 != 0 {
94965- err = errnoErr(e1)
94966- }
94967- return
94968-}
94969-
94970-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94971-
94972-func Chdir(path string) (err error) {
94973- var _p0 *byte
94974- _p0, err = BytePtrFromString(path)
94975- if err != nil {
94976- return
94977- }
94978- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
94979- if e1 != 0 {
94980- err = errnoErr(e1)
94981- }
94982- return
94983-}
94984-
94985-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
94986-
94987-func Chroot(path string) (err error) {
94988- var _p0 *byte
94989- _p0, err = BytePtrFromString(path)
94990- if err != nil {
94991- return
94992- }
94993- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
94994- if e1 != 0 {
94995- err = errnoErr(e1)
94996- }
94997- return
94998-}
94999-
95000-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95001-
95002-func ClockGettime(clockid int32, time *Timespec) (err error) {
95003- _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
95004- if e1 != 0 {
95005- err = errnoErr(e1)
95006- }
95007- return
95008-}
95009-
95010-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95011-
95012-func Close(fd int) (err error) {
95013- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
95014- if e1 != 0 {
95015- err = errnoErr(e1)
95016- }
95017- return
95018-}
95019-
95020-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95021-
95022-func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
95023- r0, _, e1 := Syscall6(SYS_COPY_FILE_RANGE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
95024- n = int(r0)
95025- if e1 != 0 {
95026- err = errnoErr(e1)
95027- }
95028- return
95029-}
95030-
95031-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95032-
95033-func Dup(oldfd int) (fd int, err error) {
95034- r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
95035- fd = int(r0)
95036- if e1 != 0 {
95037- err = errnoErr(e1)
95038- }
95039- return
95040-}
95041-
95042-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95043-
95044-func Dup3(oldfd int, newfd int, flags int) (err error) {
95045- _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
95046- if e1 != 0 {
95047- err = errnoErr(e1)
95048- }
95049- return
95050-}
95051-
95052-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95053-
95054-func EpollCreate(size int) (fd int, err error) {
95055- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
95056- fd = int(r0)
95057- if e1 != 0 {
95058- err = errnoErr(e1)
95059- }
95060- return
95061-}
95062-
95063-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95064-
95065-func EpollCreate1(flag int) (fd int, err error) {
95066- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
95067- fd = int(r0)
95068- if e1 != 0 {
95069- err = errnoErr(e1)
95070- }
95071- return
95072-}
95073-
95074-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95075-
95076-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
95077- _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
95078- if e1 != 0 {
95079- err = errnoErr(e1)
95080- }
95081- return
95082-}
95083-
95084-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95085-
95086-func Eventfd(initval uint, flags int) (fd int, err error) {
95087- r0, _, e1 := Syscall(SYS_EVENTFD2, uintptr(initval), uintptr(flags), 0)
95088- fd = int(r0)
95089- if e1 != 0 {
95090- err = errnoErr(e1)
95091- }
95092- return
95093-}
95094-
95095-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95096-
95097-func Exit(code int) {
95098- Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
95099- return
95100-}
95101-
95102-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95103-
95104-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
95105- var _p0 *byte
95106- _p0, err = BytePtrFromString(path)
95107- if err != nil {
95108- return
95109- }
95110- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
95111- if e1 != 0 {
95112- err = errnoErr(e1)
95113- }
95114- return
95115-}
95116-
95117-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95118-
95119-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
95120- _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off>>32), uintptr(off), uintptr(len>>32), uintptr(len))
95121- if e1 != 0 {
95122- err = errnoErr(e1)
95123- }
95124- return
95125-}
95126-
95127-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95128-
95129-func Fchdir(fd int) (err error) {
95130- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
95131- if e1 != 0 {
95132- err = errnoErr(e1)
95133- }
95134- return
95135-}
95136-
95137-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95138-
95139-func Fchmod(fd int, mode uint32) (err error) {
95140- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
95141- if e1 != 0 {
95142- err = errnoErr(e1)
95143- }
95144- return
95145-}
95146-
95147-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95148-
95149-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
95150- var _p0 *byte
95151- _p0, err = BytePtrFromString(path)
95152- if err != nil {
95153- return
95154- }
95155- _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
95156- if e1 != 0 {
95157- err = errnoErr(e1)
95158- }
95159- return
95160-}
95161-
95162-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95163-
95164-func fcntl(fd int, cmd int, arg int) (val int, err error) {
95165- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
95166- val = int(r0)
95167- if e1 != 0 {
95168- err = errnoErr(e1)
95169- }
95170- return
95171-}
95172-
95173-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95174-
95175-func Fdatasync(fd int) (err error) {
95176- _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
95177- if e1 != 0 {
95178- err = errnoErr(e1)
95179- }
95180- return
95181-}
95182-
95183-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95184-
95185-func Flock(fd int, how int) (err error) {
95186- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
95187- if e1 != 0 {
95188- err = errnoErr(e1)
95189- }
95190- return
95191-}
95192-
95193-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95194-
95195-func Fsync(fd int) (err error) {
95196- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
95197- if e1 != 0 {
95198- err = errnoErr(e1)
95199- }
95200- return
95201-}
95202-
95203-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95204-
95205-func Getdents(fd int, buf []byte) (n int, err error) {
95206- var _p0 unsafe.Pointer
95207- if len(buf) > 0 {
95208- _p0 = unsafe.Pointer(&buf[0])
95209- } else {
95210- _p0 = unsafe.Pointer(&_zero)
95211- }
95212- r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
95213- n = int(r0)
95214- if e1 != 0 {
95215- err = errnoErr(e1)
95216- }
95217- return
95218-}
95219-
95220-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95221-
95222-func Getpgid(pid int) (pgid int, err error) {
95223- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
95224- pgid = int(r0)
95225- if e1 != 0 {
95226- err = errnoErr(e1)
95227- }
95228- return
95229-}
95230-
95231-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95232-
95233-func Getpid() (pid int) {
95234- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
95235- pid = int(r0)
95236- return
95237-}
95238-
95239-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95240-
95241-func Getppid() (ppid int) {
95242- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
95243- ppid = int(r0)
95244- return
95245-}
95246-
95247-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95248-
95249-func Getpriority(which int, who int) (prio int, err error) {
95250- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
95251- prio = int(r0)
95252- if e1 != 0 {
95253- err = errnoErr(e1)
95254- }
95255- return
95256-}
95257-
95258-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95259-
95260-func Getrandom(buf []byte, flags int) (n int, err error) {
95261- var _p0 unsafe.Pointer
95262- if len(buf) > 0 {
95263- _p0 = unsafe.Pointer(&buf[0])
95264- } else {
95265- _p0 = unsafe.Pointer(&_zero)
95266- }
95267- r0, _, e1 := Syscall(SYS_GETRANDOM, uintptr(_p0), uintptr(len(buf)), uintptr(flags))
95268- n = int(r0)
95269- if e1 != 0 {
95270- err = errnoErr(e1)
95271- }
95272- return
95273-}
95274-
95275-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95276-
95277-func Getrusage(who int, rusage *Rusage) (err error) {
95278- _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
95279- if e1 != 0 {
95280- err = errnoErr(e1)
95281- }
95282- return
95283-}
95284-
95285-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95286-
95287-func Getsid(pid int) (sid int, err error) {
95288- r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
95289- sid = int(r0)
95290- if e1 != 0 {
95291- err = errnoErr(e1)
95292- }
95293- return
95294-}
95295-
95296-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95297-
95298-func Gettid() (tid int) {
95299- r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
95300- tid = int(r0)
95301- return
95302-}
95303-
95304-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95305-
95306-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
95307- var _p0 *byte
95308- _p0, err = BytePtrFromString(path)
95309- if err != nil {
95310- return
95311- }
95312- var _p1 *byte
95313- _p1, err = BytePtrFromString(attr)
95314- if err != nil {
95315- return
95316- }
95317- var _p2 unsafe.Pointer
95318- if len(dest) > 0 {
95319- _p2 = unsafe.Pointer(&dest[0])
95320- } else {
95321- _p2 = unsafe.Pointer(&_zero)
95322- }
95323- r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
95324- sz = int(r0)
95325- if e1 != 0 {
95326- err = errnoErr(e1)
95327- }
95328- return
95329-}
95330-
95331-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95332-
95333-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
95334- var _p0 *byte
95335- _p0, err = BytePtrFromString(pathname)
95336- if err != nil {
95337- return
95338- }
95339- r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
95340- watchdesc = int(r0)
95341- if e1 != 0 {
95342- err = errnoErr(e1)
95343- }
95344- return
95345-}
95346-
95347-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95348-
95349-func InotifyInit1(flags int) (fd int, err error) {
95350- r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
95351- fd = int(r0)
95352- if e1 != 0 {
95353- err = errnoErr(e1)
95354- }
95355- return
95356-}
95357-
95358-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95359-
95360-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
95361- r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
95362- success = int(r0)
95363- if e1 != 0 {
95364- err = errnoErr(e1)
95365- }
95366- return
95367-}
95368-
95369-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95370-
95371-func Kill(pid int, sig syscall.Signal) (err error) {
95372- _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
95373- if e1 != 0 {
95374- err = errnoErr(e1)
95375- }
95376- return
95377-}
95378-
95379-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95380-
95381-func Klogctl(typ int, buf []byte) (n int, err error) {
95382- var _p0 unsafe.Pointer
95383- if len(buf) > 0 {
95384- _p0 = unsafe.Pointer(&buf[0])
95385- } else {
95386- _p0 = unsafe.Pointer(&_zero)
95387- }
95388- r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
95389- n = int(r0)
95390- if e1 != 0 {
95391- err = errnoErr(e1)
95392- }
95393- return
95394-}
95395-
95396-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95397-
95398-func Lgetxattr(path string, attr string, dest []byte) (sz int, err error) {
95399- var _p0 *byte
95400- _p0, err = BytePtrFromString(path)
95401- if err != nil {
95402- return
95403- }
95404- var _p1 *byte
95405- _p1, err = BytePtrFromString(attr)
95406- if err != nil {
95407- return
95408- }
95409- var _p2 unsafe.Pointer
95410- if len(dest) > 0 {
95411- _p2 = unsafe.Pointer(&dest[0])
95412- } else {
95413- _p2 = unsafe.Pointer(&_zero)
95414- }
95415- r0, _, e1 := Syscall6(SYS_LGETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
95416- sz = int(r0)
95417- if e1 != 0 {
95418- err = errnoErr(e1)
95419- }
95420- return
95421-}
95422-
95423-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95424-
95425-func Listxattr(path string, dest []byte) (sz int, err error) {
95426- var _p0 *byte
95427- _p0, err = BytePtrFromString(path)
95428- if err != nil {
95429- return
95430- }
95431- var _p1 unsafe.Pointer
95432- if len(dest) > 0 {
95433- _p1 = unsafe.Pointer(&dest[0])
95434- } else {
95435- _p1 = unsafe.Pointer(&_zero)
95436- }
95437- r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
95438- sz = int(r0)
95439- if e1 != 0 {
95440- err = errnoErr(e1)
95441- }
95442- return
95443-}
95444-
95445-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95446-
95447-func Llistxattr(path string, dest []byte) (sz int, err error) {
95448- var _p0 *byte
95449- _p0, err = BytePtrFromString(path)
95450- if err != nil {
95451- return
95452- }
95453- var _p1 unsafe.Pointer
95454- if len(dest) > 0 {
95455- _p1 = unsafe.Pointer(&dest[0])
95456- } else {
95457- _p1 = unsafe.Pointer(&_zero)
95458- }
95459- r0, _, e1 := Syscall(SYS_LLISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
95460- sz = int(r0)
95461- if e1 != 0 {
95462- err = errnoErr(e1)
95463- }
95464- return
95465-}
95466-
95467-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95468-
95469-func Lremovexattr(path string, attr string) (err error) {
95470- var _p0 *byte
95471- _p0, err = BytePtrFromString(path)
95472- if err != nil {
95473- return
95474- }
95475- var _p1 *byte
95476- _p1, err = BytePtrFromString(attr)
95477- if err != nil {
95478- return
95479- }
95480- _, _, e1 := Syscall(SYS_LREMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
95481- if e1 != 0 {
95482- err = errnoErr(e1)
95483- }
95484- return
95485-}
95486-
95487-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95488-
95489-func Lsetxattr(path string, attr string, data []byte, flags int) (err error) {
95490- var _p0 *byte
95491- _p0, err = BytePtrFromString(path)
95492- if err != nil {
95493- return
95494- }
95495- var _p1 *byte
95496- _p1, err = BytePtrFromString(attr)
95497- if err != nil {
95498- return
95499- }
95500- var _p2 unsafe.Pointer
95501- if len(data) > 0 {
95502- _p2 = unsafe.Pointer(&data[0])
95503- } else {
95504- _p2 = unsafe.Pointer(&_zero)
95505- }
95506- _, _, e1 := Syscall6(SYS_LSETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
95507- if e1 != 0 {
95508- err = errnoErr(e1)
95509- }
95510- return
95511-}
95512-
95513-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95514-
95515-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
95516- var _p0 *byte
95517- _p0, err = BytePtrFromString(path)
95518- if err != nil {
95519- return
95520- }
95521- _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
95522- if e1 != 0 {
95523- err = errnoErr(e1)
95524- }
95525- return
95526-}
95527-
95528-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95529-
95530-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
95531- var _p0 *byte
95532- _p0, err = BytePtrFromString(path)
95533- if err != nil {
95534- return
95535- }
95536- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
95537- if e1 != 0 {
95538- err = errnoErr(e1)
95539- }
95540- return
95541-}
95542-
95543-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95544-
95545-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
95546- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
95547- if e1 != 0 {
95548- err = errnoErr(e1)
95549- }
95550- return
95551-}
95552-
95553-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95554-
95555-func PivotRoot(newroot string, putold string) (err error) {
95556- var _p0 *byte
95557- _p0, err = BytePtrFromString(newroot)
95558- if err != nil {
95559- return
95560- }
95561- var _p1 *byte
95562- _p1, err = BytePtrFromString(putold)
95563- if err != nil {
95564- return
95565- }
95566- _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
95567- if e1 != 0 {
95568- err = errnoErr(e1)
95569- }
95570- return
95571-}
95572-
95573-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95574-
95575-func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
95576- _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0)
95577- if e1 != 0 {
95578- err = errnoErr(e1)
95579- }
95580- return
95581-}
95582-
95583-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95584-
95585-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
95586- _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
95587- if e1 != 0 {
95588- err = errnoErr(e1)
95589- }
95590- return
95591-}
95592-
95593-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95594-
95595-func read(fd int, p []byte) (n int, err error) {
95596- var _p0 unsafe.Pointer
95597- if len(p) > 0 {
95598- _p0 = unsafe.Pointer(&p[0])
95599- } else {
95600- _p0 = unsafe.Pointer(&_zero)
95601- }
95602- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
95603- n = int(r0)
95604- if e1 != 0 {
95605- err = errnoErr(e1)
95606- }
95607- return
95608-}
95609-
95610-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95611-
95612-func Removexattr(path string, attr string) (err error) {
95613- var _p0 *byte
95614- _p0, err = BytePtrFromString(path)
95615- if err != nil {
95616- return
95617- }
95618- var _p1 *byte
95619- _p1, err = BytePtrFromString(attr)
95620- if err != nil {
95621- return
95622- }
95623- _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
95624- if e1 != 0 {
95625- err = errnoErr(e1)
95626- }
95627- return
95628-}
95629-
95630-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95631-
95632-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
95633- var _p0 *byte
95634- _p0, err = BytePtrFromString(oldpath)
95635- if err != nil {
95636- return
95637- }
95638- var _p1 *byte
95639- _p1, err = BytePtrFromString(newpath)
95640- if err != nil {
95641- return
95642- }
95643- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
95644- if e1 != 0 {
95645- err = errnoErr(e1)
95646- }
95647- return
95648-}
95649-
95650-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95651-
95652-func RequestKey(keyType string, description string, callback string, destRingid int) (id int, err error) {
95653- var _p0 *byte
95654- _p0, err = BytePtrFromString(keyType)
95655- if err != nil {
95656- return
95657- }
95658- var _p1 *byte
95659- _p1, err = BytePtrFromString(description)
95660- if err != nil {
95661- return
95662- }
95663- var _p2 *byte
95664- _p2, err = BytePtrFromString(callback)
95665- if err != nil {
95666- return
95667- }
95668- r0, _, e1 := Syscall6(SYS_REQUEST_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(destRingid), 0, 0)
95669- id = int(r0)
95670- if e1 != 0 {
95671- err = errnoErr(e1)
95672- }
95673- return
95674-}
95675-
95676-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95677-
95678-func Setdomainname(p []byte) (err error) {
95679- var _p0 unsafe.Pointer
95680- if len(p) > 0 {
95681- _p0 = unsafe.Pointer(&p[0])
95682- } else {
95683- _p0 = unsafe.Pointer(&_zero)
95684- }
95685- _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
95686- if e1 != 0 {
95687- err = errnoErr(e1)
95688- }
95689- return
95690-}
95691-
95692-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95693-
95694-func Sethostname(p []byte) (err error) {
95695- var _p0 unsafe.Pointer
95696- if len(p) > 0 {
95697- _p0 = unsafe.Pointer(&p[0])
95698- } else {
95699- _p0 = unsafe.Pointer(&_zero)
95700- }
95701- _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
95702- if e1 != 0 {
95703- err = errnoErr(e1)
95704- }
95705- return
95706-}
95707-
95708-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95709-
95710-func Setpgid(pid int, pgid int) (err error) {
95711- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
95712- if e1 != 0 {
95713- err = errnoErr(e1)
95714- }
95715- return
95716-}
95717-
95718-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95719-
95720-func Setsid() (pid int, err error) {
95721- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
95722- pid = int(r0)
95723- if e1 != 0 {
95724- err = errnoErr(e1)
95725- }
95726- return
95727-}
95728-
95729-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95730-
95731-func Settimeofday(tv *Timeval) (err error) {
95732- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
95733- if e1 != 0 {
95734- err = errnoErr(e1)
95735- }
95736- return
95737-}
95738-
95739-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95740-
95741-func Setns(fd int, nstype int) (err error) {
95742- _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
95743- if e1 != 0 {
95744- err = errnoErr(e1)
95745- }
95746- return
95747-}
95748-
95749-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95750-
95751-func Setpriority(which int, who int, prio int) (err error) {
95752- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
95753- if e1 != 0 {
95754- err = errnoErr(e1)
95755- }
95756- return
95757-}
95758-
95759-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95760-
95761-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
95762- var _p0 *byte
95763- _p0, err = BytePtrFromString(path)
95764- if err != nil {
95765- return
95766- }
95767- var _p1 *byte
95768- _p1, err = BytePtrFromString(attr)
95769- if err != nil {
95770- return
95771- }
95772- var _p2 unsafe.Pointer
95773- if len(data) > 0 {
95774- _p2 = unsafe.Pointer(&data[0])
95775- } else {
95776- _p2 = unsafe.Pointer(&_zero)
95777- }
95778- _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
95779- if e1 != 0 {
95780- err = errnoErr(e1)
95781- }
95782- return
95783-}
95784-
95785-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95786-
95787-func Sync() {
95788- Syscall(SYS_SYNC, 0, 0, 0)
95789- return
95790-}
95791-
95792-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95793-
95794-func Syncfs(fd int) (err error) {
95795- _, _, e1 := Syscall(SYS_SYNCFS, uintptr(fd), 0, 0)
95796+func fanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname *byte) (err error) {
95797+ _, _, e1 := Syscall6(SYS_FANOTIFY_MARK, uintptr(fd), uintptr(flags), uintptr(mask>>32), uintptr(mask), uintptr(dirFd), uintptr(unsafe.Pointer(pathname)))
95798 if e1 != 0 {
95799 err = errnoErr(e1)
95800 }
95801@@ -1244,8 +24,8 @@ func Syncfs(fd int) (err error) {
95802
95803 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95804
95805-func Sysinfo(info *Sysinfo_t) (err error) {
95806- _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
95807+func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
95808+ _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off>>32), uintptr(off), uintptr(len>>32), uintptr(len))
95809 if e1 != 0 {
95810 err = errnoErr(e1)
95811 }
95812@@ -1265,62 +45,8 @@ func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
95813
95814 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95815
95816-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
95817- _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
95818- if e1 != 0 {
95819- err = errnoErr(e1)
95820- }
95821- return
95822-}
95823-
95824-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95825-
95826-func Times(tms *Tms) (ticks uintptr, err error) {
95827- r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
95828- ticks = uintptr(r0)
95829- if e1 != 0 {
95830- err = errnoErr(e1)
95831- }
95832- return
95833-}
95834-
95835-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95836-
95837-func Umask(mask int) (oldmask int) {
95838- r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
95839- oldmask = int(r0)
95840- return
95841-}
95842-
95843-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95844-
95845-func Uname(buf *Utsname) (err error) {
95846- _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
95847- if e1 != 0 {
95848- err = errnoErr(e1)
95849- }
95850- return
95851-}
95852-
95853-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95854-
95855-func Unmount(target string, flags int) (err error) {
95856- var _p0 *byte
95857- _p0, err = BytePtrFromString(target)
95858- if err != nil {
95859- return
95860- }
95861- _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
95862- if e1 != 0 {
95863- err = errnoErr(e1)
95864- }
95865- return
95866-}
95867-
95868-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95869-
95870-func Unshare(flags int) (err error) {
95871- _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
95872+func Dup2(oldfd int, newfd int) (err error) {
95873+ _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
95874 if e1 != 0 {
95875 err = errnoErr(e1)
95876 }
95877@@ -1329,8 +55,9 @@ func Unshare(flags int) (err error) {
95878
95879 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95880
95881-func Ustat(dev int, ubuf *Ustat_t) (err error) {
95882- _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
95883+func EpollCreate(size int) (fd int, err error) {
95884+ r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
95885+ fd = int(r0)
95886 if e1 != 0 {
95887 err = errnoErr(e1)
95888 }
95889@@ -1339,46 +66,14 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) {
95890
95891 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95892
95893-func write(fd int, p []byte) (n int, err error) {
95894+func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
95895 var _p0 unsafe.Pointer
95896- if len(p) > 0 {
95897- _p0 = unsafe.Pointer(&p[0])
95898+ if len(events) > 0 {
95899+ _p0 = unsafe.Pointer(&events[0])
95900 } else {
95901 _p0 = unsafe.Pointer(&_zero)
95902 }
95903- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
95904- n = int(r0)
95905- if e1 != 0 {
95906- err = errnoErr(e1)
95907- }
95908- return
95909-}
95910-
95911-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95912-
95913-func exitThread(code int) (err error) {
95914- _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
95915- if e1 != 0 {
95916- err = errnoErr(e1)
95917- }
95918- return
95919-}
95920-
95921-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95922-
95923-func readlen(fd int, p *byte, np int) (n int, err error) {
95924- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
95925- n = int(r0)
95926- if e1 != 0 {
95927- err = errnoErr(e1)
95928- }
95929- return
95930-}
95931-
95932-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95933-
95934-func writelen(fd int, p *byte, np int) (n int, err error) {
95935- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
95936+ r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
95937 n = int(r0)
95938 if e1 != 0 {
95939 err = errnoErr(e1)
95940@@ -1388,118 +83,8 @@ func writelen(fd int, p *byte, np int) (n int, err error) {
95941
95942 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95943
95944-func munmap(addr uintptr, length uintptr) (err error) {
95945- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
95946- if e1 != 0 {
95947- err = errnoErr(e1)
95948- }
95949- return
95950-}
95951-
95952-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95953-
95954-func Madvise(b []byte, advice int) (err error) {
95955- var _p0 unsafe.Pointer
95956- if len(b) > 0 {
95957- _p0 = unsafe.Pointer(&b[0])
95958- } else {
95959- _p0 = unsafe.Pointer(&_zero)
95960- }
95961- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
95962- if e1 != 0 {
95963- err = errnoErr(e1)
95964- }
95965- return
95966-}
95967-
95968-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95969-
95970-func Mprotect(b []byte, prot int) (err error) {
95971- var _p0 unsafe.Pointer
95972- if len(b) > 0 {
95973- _p0 = unsafe.Pointer(&b[0])
95974- } else {
95975- _p0 = unsafe.Pointer(&_zero)
95976- }
95977- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
95978- if e1 != 0 {
95979- err = errnoErr(e1)
95980- }
95981- return
95982-}
95983-
95984-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
95985-
95986-func Mlock(b []byte) (err error) {
95987- var _p0 unsafe.Pointer
95988- if len(b) > 0 {
95989- _p0 = unsafe.Pointer(&b[0])
95990- } else {
95991- _p0 = unsafe.Pointer(&_zero)
95992- }
95993- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
95994- if e1 != 0 {
95995- err = errnoErr(e1)
95996- }
95997- return
95998-}
95999-
96000-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96001-
96002-func Munlock(b []byte) (err error) {
96003- var _p0 unsafe.Pointer
96004- if len(b) > 0 {
96005- _p0 = unsafe.Pointer(&b[0])
96006- } else {
96007- _p0 = unsafe.Pointer(&_zero)
96008- }
96009- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
96010- if e1 != 0 {
96011- err = errnoErr(e1)
96012- }
96013- return
96014-}
96015-
96016-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96017-
96018-func Mlockall(flags int) (err error) {
96019- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
96020- if e1 != 0 {
96021- err = errnoErr(e1)
96022- }
96023- return
96024-}
96025-
96026-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96027-
96028-func Msync(b []byte, flags int) (err error) {
96029- var _p0 unsafe.Pointer
96030- if len(b) > 0 {
96031- _p0 = unsafe.Pointer(&b[0])
96032- } else {
96033- _p0 = unsafe.Pointer(&_zero)
96034- }
96035- _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags))
96036- if e1 != 0 {
96037- err = errnoErr(e1)
96038- }
96039- return
96040-}
96041-
96042-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96043-
96044-func Munlockall() (err error) {
96045- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
96046- if e1 != 0 {
96047- err = errnoErr(e1)
96048- }
96049- return
96050-}
96051-
96052-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96053-
96054-func Dup2(oldfd int, newfd int) (err error) {
96055- _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
96056+func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
96057+ _, _, e1 := Syscall9(SYS_FADVISE64, uintptr(fd), 0, uintptr(offset>>32), uintptr(offset), uintptr(length>>32), uintptr(length), uintptr(advice), 0, 0)
96058 if e1 != 0 {
96059 err = errnoErr(e1)
96060 }
96061@@ -1529,7 +114,7 @@ func Ftruncate(fd int, length int64) (err error) {
96062 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96063
96064 func Getegid() (egid int) {
96065- r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
96066+ r0, _ := RawSyscallNoError(SYS_GETEGID, 0, 0, 0)
96067 egid = int(r0)
96068 return
96069 }
96070@@ -1537,7 +122,7 @@ func Getegid() (egid int) {
96071 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96072
96073 func Geteuid() (euid int) {
96074- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
96075+ r0, _ := RawSyscallNoError(SYS_GETEUID, 0, 0, 0)
96076 euid = int(r0)
96077 return
96078 }
96079@@ -1545,7 +130,7 @@ func Geteuid() (euid int) {
96080 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96081
96082 func Getgid() (gid int) {
96083- r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
96084+ r0, _ := RawSyscallNoError(SYS_GETGID, 0, 0, 0)
96085 gid = int(r0)
96086 return
96087 }
96088@@ -1553,7 +138,7 @@ func Getgid() (gid int) {
96089 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96090
96091 func Getuid() (uid int) {
96092- r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
96093+ r0, _ := RawSyscallNoError(SYS_GETUID, 0, 0, 0)
96094 uid = int(r0)
96095 return
96096 }
96097@@ -1619,6 +204,26 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
96098
96099 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96100
96101+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
96102+ var _p0 *byte
96103+ _p0, err = BytePtrFromString(oldpath)
96104+ if err != nil {
96105+ return
96106+ }
96107+ var _p1 *byte
96108+ _p1, err = BytePtrFromString(newpath)
96109+ if err != nil {
96110+ return
96111+ }
96112+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
96113+ if e1 != 0 {
96114+ err = errnoErr(e1)
96115+ }
96116+ return
96117+}
96118+
96119+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96120+
96121 func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
96122 r0, _, e1 := Syscall6(SYS__NEWSELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
96123 n = int(r0)
96124@@ -1641,8 +246,9 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
96125
96126 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96127
96128-func Setfsgid(gid int) (err error) {
96129- _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
96130+func setfsgid(gid int) (prev int, err error) {
96131+ r0, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
96132+ prev = int(r0)
96133 if e1 != 0 {
96134 err = errnoErr(e1)
96135 }
96136@@ -1651,8 +257,9 @@ func Setfsgid(gid int) (err error) {
96137
96138 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96139
96140-func Setfsuid(uid int) (err error) {
96141- _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
96142+func setfsuid(uid int) (prev int, err error) {
96143+ r0, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
96144+ prev = int(r0)
96145 if e1 != 0 {
96146 err = errnoErr(e1)
96147 }
96148@@ -1711,9 +318,9 @@ func Shutdown(fd int, how int) (err error) {
96149
96150 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96151
96152-func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
96153- r0, r1, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
96154- n = int64(int64(r0)<<32 | int64(r1))
96155+func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
96156+ r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
96157+ n = int(r0)
96158 if e1 != 0 {
96159 err = errnoErr(e1)
96160 }
96161@@ -1747,6 +354,16 @@ func Truncate(path string, length int64) (err error) {
96162
96163 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96164
96165+func Ustat(dev int, ubuf *Ustat_t) (err error) {
96166+ _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
96167+ if e1 != 0 {
96168+ err = errnoErr(e1)
96169+ }
96170+ return
96171+}
96172+
96173+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96174+
96175 func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
96176 r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
96177 fd = int(r0)
96178@@ -1957,6 +574,21 @@ func Iopl(level int) (err error) {
96179
96180 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96181
96182+func futimesat(dirfd int, path string, times *[2]Timeval) (err error) {
96183+ var _p0 *byte
96184+ _p0, err = BytePtrFromString(path)
96185+ if err != nil {
96186+ return
96187+ }
96188+ _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)))
96189+ if e1 != 0 {
96190+ err = errnoErr(e1)
96191+ }
96192+ return
96193+}
96194+
96195+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96196+
96197 func Gettimeofday(tv *Timeval) (err error) {
96198 _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
96199 if e1 != 0 {
96200@@ -1978,13 +610,13 @@ func Time(t *Time_t) (tt Time_t, err error) {
96201
96202 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96203
96204-func Lstat(path string, stat *Stat_t) (err error) {
96205+func Utime(path string, buf *Utimbuf) (err error) {
96206 var _p0 *byte
96207 _p0, err = BytePtrFromString(path)
96208 if err != nil {
96209 return
96210 }
96211- _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
96212+ _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
96213 if e1 != 0 {
96214 err = errnoErr(e1)
96215 }
96216@@ -1993,8 +625,13 @@ func Lstat(path string, stat *Stat_t) (err error) {
96217
96218 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96219
96220-func Fstat(fd int, stat *Stat_t) (err error) {
96221- _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
96222+func utimes(path string, times *[2]Timeval) (err error) {
96223+ var _p0 *byte
96224+ _p0, err = BytePtrFromString(path)
96225+ if err != nil {
96226+ return
96227+ }
96228+ _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
96229 if e1 != 0 {
96230 err = errnoErr(e1)
96231 }
96232@@ -2003,13 +640,13 @@ func Fstat(fd int, stat *Stat_t) (err error) {
96233
96234 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96235
96236-func Stat(path string, stat *Stat_t) (err error) {
96237+func Lstat(path string, stat *Stat_t) (err error) {
96238 var _p0 *byte
96239 _p0, err = BytePtrFromString(path)
96240 if err != nil {
96241 return
96242 }
96243- _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
96244+ _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
96245 if e1 != 0 {
96246 err = errnoErr(e1)
96247 }
96248@@ -2018,13 +655,23 @@ func Stat(path string, stat *Stat_t) (err error) {
96249
96250 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96251
96252-func Utime(path string, buf *Utimbuf) (err error) {
96253+func Fstat(fd int, stat *Stat_t) (err error) {
96254+ _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
96255+ if e1 != 0 {
96256+ err = errnoErr(e1)
96257+ }
96258+ return
96259+}
96260+
96261+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96262+
96263+func Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) {
96264 var _p0 *byte
96265 _p0, err = BytePtrFromString(path)
96266 if err != nil {
96267 return
96268 }
96269- _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
96270+ _, _, e1 := Syscall6(SYS_FSTATAT64, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
96271 if e1 != 0 {
96272 err = errnoErr(e1)
96273 }
96274@@ -2033,15 +680,13 @@ func Utime(path string, buf *Utimbuf) (err error) {
96275
96276 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96277
96278-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
96279- var _p0 unsafe.Pointer
96280- if len(events) > 0 {
96281- _p0 = unsafe.Pointer(&events[0])
96282- } else {
96283- _p0 = unsafe.Pointer(&_zero)
96284+func Stat(path string, stat *Stat_t) (err error) {
96285+ var _p0 *byte
96286+ _p0, err = BytePtrFromString(path)
96287+ if err != nil {
96288+ return
96289 }
96290- r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
96291- n = int(r0)
96292+ _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
96293 if e1 != 0 {
96294 err = errnoErr(e1)
96295 }
96296@@ -2060,8 +705,10 @@ func Pause() (err error) {
96297
96298 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96299
96300-func pipe2(p *[2]_C_int, flags int) (err error) {
96301- _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
96302+func pipe() (p1 int, p2 int, err error) {
96303+ r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
96304+ p1 = int(r0)
96305+ p2 = int(r1)
96306 if e1 != 0 {
96307 err = errnoErr(e1)
96308 }
96309diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go
96310index 4fde3ef0..424fb7fb 100644
96311--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go
96312+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go
96313@@ -1,4 +1,4 @@
96314-// mksyscall.pl -tags linux,mips64 syscall_linux.go syscall_linux_mips64x.go
96315+// go run mksyscall.go -tags linux,mips64 syscall_linux.go syscall_linux_mips64x.go
96316 // Code generated by the command above; see README.md. DO NOT EDIT.
96317
96318 // +build linux,mips64
96319@@ -14,1228 +14,8 @@ var _ syscall.Errno
96320
96321 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96322
96323-func fchmodat(dirfd int, path string, mode uint32) (err error) {
96324- var _p0 *byte
96325- _p0, err = BytePtrFromString(path)
96326- if err != nil {
96327- return
96328- }
96329- _, _, e1 := Syscall(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
96330- if e1 != 0 {
96331- err = errnoErr(e1)
96332- }
96333- return
96334-}
96335-
96336-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96337-
96338-func ioctl(fd int, req uint, arg uintptr) (err error) {
96339- _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
96340- if e1 != 0 {
96341- err = errnoErr(e1)
96342- }
96343- return
96344-}
96345-
96346-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96347-
96348-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
96349- var _p0 *byte
96350- _p0, err = BytePtrFromString(oldpath)
96351- if err != nil {
96352- return
96353- }
96354- var _p1 *byte
96355- _p1, err = BytePtrFromString(newpath)
96356- if err != nil {
96357- return
96358- }
96359- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
96360- if e1 != 0 {
96361- err = errnoErr(e1)
96362- }
96363- return
96364-}
96365-
96366-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96367-
96368-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
96369- var _p0 *byte
96370- _p0, err = BytePtrFromString(path)
96371- if err != nil {
96372- return
96373- }
96374- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
96375- fd = int(r0)
96376- if e1 != 0 {
96377- err = errnoErr(e1)
96378- }
96379- return
96380-}
96381-
96382-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96383-
96384-func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
96385- r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
96386- n = int(r0)
96387- if e1 != 0 {
96388- err = errnoErr(e1)
96389- }
96390- return
96391-}
96392-
96393-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96394-
96395-func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
96396- var _p0 *byte
96397- _p0, err = BytePtrFromString(path)
96398- if err != nil {
96399- return
96400- }
96401- var _p1 unsafe.Pointer
96402- if len(buf) > 0 {
96403- _p1 = unsafe.Pointer(&buf[0])
96404- } else {
96405- _p1 = unsafe.Pointer(&_zero)
96406- }
96407- r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
96408- n = int(r0)
96409- if e1 != 0 {
96410- err = errnoErr(e1)
96411- }
96412- return
96413-}
96414-
96415-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96416-
96417-func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
96418- var _p0 *byte
96419- _p0, err = BytePtrFromString(oldpath)
96420- if err != nil {
96421- return
96422- }
96423- var _p1 *byte
96424- _p1, err = BytePtrFromString(newpath)
96425- if err != nil {
96426- return
96427- }
96428- _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
96429- if e1 != 0 {
96430- err = errnoErr(e1)
96431- }
96432- return
96433-}
96434-
96435-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96436-
96437-func Unlinkat(dirfd int, path string, flags int) (err error) {
96438- var _p0 *byte
96439- _p0, err = BytePtrFromString(path)
96440- if err != nil {
96441- return
96442- }
96443- _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
96444- if e1 != 0 {
96445- err = errnoErr(e1)
96446- }
96447- return
96448-}
96449-
96450-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96451-
96452-func utimes(path string, times *[2]Timeval) (err error) {
96453- var _p0 *byte
96454- _p0, err = BytePtrFromString(path)
96455- if err != nil {
96456- return
96457- }
96458- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
96459- if e1 != 0 {
96460- err = errnoErr(e1)
96461- }
96462- return
96463-}
96464-
96465-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96466-
96467-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
96468- var _p0 *byte
96469- _p0, err = BytePtrFromString(path)
96470- if err != nil {
96471- return
96472- }
96473- _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
96474- if e1 != 0 {
96475- err = errnoErr(e1)
96476- }
96477- return
96478-}
96479-
96480-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96481-
96482-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
96483- _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
96484- if e1 != 0 {
96485- err = errnoErr(e1)
96486- }
96487- return
96488-}
96489-
96490-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96491-
96492-func Getcwd(buf []byte) (n int, err error) {
96493- var _p0 unsafe.Pointer
96494- if len(buf) > 0 {
96495- _p0 = unsafe.Pointer(&buf[0])
96496- } else {
96497- _p0 = unsafe.Pointer(&_zero)
96498- }
96499- r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
96500- n = int(r0)
96501- if e1 != 0 {
96502- err = errnoErr(e1)
96503- }
96504- return
96505-}
96506-
96507-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96508-
96509-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
96510- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
96511- wpid = int(r0)
96512- if e1 != 0 {
96513- err = errnoErr(e1)
96514- }
96515- return
96516-}
96517-
96518-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96519-
96520-func KeyctlInt(cmd int, arg2 int, arg3 int, arg4 int, arg5 int) (ret int, err error) {
96521- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
96522- ret = int(r0)
96523- if e1 != 0 {
96524- err = errnoErr(e1)
96525- }
96526- return
96527-}
96528-
96529-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96530-
96531-func KeyctlBuffer(cmd int, arg2 int, buf []byte, arg5 int) (ret int, err error) {
96532- var _p0 unsafe.Pointer
96533- if len(buf) > 0 {
96534- _p0 = unsafe.Pointer(&buf[0])
96535- } else {
96536- _p0 = unsafe.Pointer(&_zero)
96537- }
96538- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(buf)), uintptr(arg5), 0)
96539- ret = int(r0)
96540- if e1 != 0 {
96541- err = errnoErr(e1)
96542- }
96543- return
96544-}
96545-
96546-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96547-
96548-func keyctlJoin(cmd int, arg2 string) (ret int, err error) {
96549- var _p0 *byte
96550- _p0, err = BytePtrFromString(arg2)
96551- if err != nil {
96552- return
96553- }
96554- r0, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0)
96555- ret = int(r0)
96556- if e1 != 0 {
96557- err = errnoErr(e1)
96558- }
96559- return
96560-}
96561-
96562-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96563-
96564-func keyctlSearch(cmd int, arg2 int, arg3 string, arg4 string, arg5 int) (ret int, err error) {
96565- var _p0 *byte
96566- _p0, err = BytePtrFromString(arg3)
96567- if err != nil {
96568- return
96569- }
96570- var _p1 *byte
96571- _p1, err = BytePtrFromString(arg4)
96572- if err != nil {
96573- return
96574- }
96575- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(arg5), 0)
96576- ret = int(r0)
96577- if e1 != 0 {
96578- err = errnoErr(e1)
96579- }
96580- return
96581-}
96582-
96583-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96584-
96585-func keyctlIOV(cmd int, arg2 int, payload []Iovec, arg5 int) (err error) {
96586- var _p0 unsafe.Pointer
96587- if len(payload) > 0 {
96588- _p0 = unsafe.Pointer(&payload[0])
96589- } else {
96590- _p0 = unsafe.Pointer(&_zero)
96591- }
96592- _, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(payload)), uintptr(arg5), 0)
96593- if e1 != 0 {
96594- err = errnoErr(e1)
96595- }
96596- return
96597-}
96598-
96599-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96600-
96601-func keyctlDH(cmd int, arg2 *KeyctlDHParams, buf []byte) (ret int, err error) {
96602- var _p0 unsafe.Pointer
96603- if len(buf) > 0 {
96604- _p0 = unsafe.Pointer(&buf[0])
96605- } else {
96606- _p0 = unsafe.Pointer(&_zero)
96607- }
96608- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(arg2)), uintptr(_p0), uintptr(len(buf)), 0, 0)
96609- ret = int(r0)
96610- if e1 != 0 {
96611- err = errnoErr(e1)
96612- }
96613- return
96614-}
96615-
96616-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96617-
96618-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
96619- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
96620- if e1 != 0 {
96621- err = errnoErr(e1)
96622- }
96623- return
96624-}
96625-
96626-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96627-
96628-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
96629- var _p0 *byte
96630- _p0, err = BytePtrFromString(arg)
96631- if err != nil {
96632- return
96633- }
96634- _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
96635- if e1 != 0 {
96636- err = errnoErr(e1)
96637- }
96638- return
96639-}
96640-
96641-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96642-
96643-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
96644- var _p0 *byte
96645- _p0, err = BytePtrFromString(source)
96646- if err != nil {
96647- return
96648- }
96649- var _p1 *byte
96650- _p1, err = BytePtrFromString(target)
96651- if err != nil {
96652- return
96653- }
96654- var _p2 *byte
96655- _p2, err = BytePtrFromString(fstype)
96656- if err != nil {
96657- return
96658- }
96659- _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
96660- if e1 != 0 {
96661- err = errnoErr(e1)
96662- }
96663- return
96664-}
96665-
96666-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96667-
96668-func Acct(path string) (err error) {
96669- var _p0 *byte
96670- _p0, err = BytePtrFromString(path)
96671- if err != nil {
96672- return
96673- }
96674- _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
96675- if e1 != 0 {
96676- err = errnoErr(e1)
96677- }
96678- return
96679-}
96680-
96681-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96682-
96683-func AddKey(keyType string, description string, payload []byte, ringid int) (id int, err error) {
96684- var _p0 *byte
96685- _p0, err = BytePtrFromString(keyType)
96686- if err != nil {
96687- return
96688- }
96689- var _p1 *byte
96690- _p1, err = BytePtrFromString(description)
96691- if err != nil {
96692- return
96693- }
96694- var _p2 unsafe.Pointer
96695- if len(payload) > 0 {
96696- _p2 = unsafe.Pointer(&payload[0])
96697- } else {
96698- _p2 = unsafe.Pointer(&_zero)
96699- }
96700- r0, _, e1 := Syscall6(SYS_ADD_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(payload)), uintptr(ringid), 0)
96701- id = int(r0)
96702- if e1 != 0 {
96703- err = errnoErr(e1)
96704- }
96705- return
96706-}
96707-
96708-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96709-
96710-func Adjtimex(buf *Timex) (state int, err error) {
96711- r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
96712- state = int(r0)
96713- if e1 != 0 {
96714- err = errnoErr(e1)
96715- }
96716- return
96717-}
96718-
96719-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96720-
96721-func Chdir(path string) (err error) {
96722- var _p0 *byte
96723- _p0, err = BytePtrFromString(path)
96724- if err != nil {
96725- return
96726- }
96727- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
96728- if e1 != 0 {
96729- err = errnoErr(e1)
96730- }
96731- return
96732-}
96733-
96734-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96735-
96736-func Chroot(path string) (err error) {
96737- var _p0 *byte
96738- _p0, err = BytePtrFromString(path)
96739- if err != nil {
96740- return
96741- }
96742- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
96743- if e1 != 0 {
96744- err = errnoErr(e1)
96745- }
96746- return
96747-}
96748-
96749-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96750-
96751-func ClockGettime(clockid int32, time *Timespec) (err error) {
96752- _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
96753- if e1 != 0 {
96754- err = errnoErr(e1)
96755- }
96756- return
96757-}
96758-
96759-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96760-
96761-func Close(fd int) (err error) {
96762- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
96763- if e1 != 0 {
96764- err = errnoErr(e1)
96765- }
96766- return
96767-}
96768-
96769-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96770-
96771-func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
96772- r0, _, e1 := Syscall6(SYS_COPY_FILE_RANGE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
96773- n = int(r0)
96774- if e1 != 0 {
96775- err = errnoErr(e1)
96776- }
96777- return
96778-}
96779-
96780-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96781-
96782-func Dup(oldfd int) (fd int, err error) {
96783- r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
96784- fd = int(r0)
96785- if e1 != 0 {
96786- err = errnoErr(e1)
96787- }
96788- return
96789-}
96790-
96791-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96792-
96793-func Dup3(oldfd int, newfd int, flags int) (err error) {
96794- _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
96795- if e1 != 0 {
96796- err = errnoErr(e1)
96797- }
96798- return
96799-}
96800-
96801-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96802-
96803-func EpollCreate(size int) (fd int, err error) {
96804- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
96805- fd = int(r0)
96806- if e1 != 0 {
96807- err = errnoErr(e1)
96808- }
96809- return
96810-}
96811-
96812-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96813-
96814-func EpollCreate1(flag int) (fd int, err error) {
96815- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
96816- fd = int(r0)
96817- if e1 != 0 {
96818- err = errnoErr(e1)
96819- }
96820- return
96821-}
96822-
96823-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96824-
96825-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
96826- _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
96827- if e1 != 0 {
96828- err = errnoErr(e1)
96829- }
96830- return
96831-}
96832-
96833-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96834-
96835-func Eventfd(initval uint, flags int) (fd int, err error) {
96836- r0, _, e1 := Syscall(SYS_EVENTFD2, uintptr(initval), uintptr(flags), 0)
96837- fd = int(r0)
96838- if e1 != 0 {
96839- err = errnoErr(e1)
96840- }
96841- return
96842-}
96843-
96844-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96845-
96846-func Exit(code int) {
96847- Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
96848- return
96849-}
96850-
96851-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96852-
96853-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
96854- var _p0 *byte
96855- _p0, err = BytePtrFromString(path)
96856- if err != nil {
96857- return
96858- }
96859- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
96860- if e1 != 0 {
96861- err = errnoErr(e1)
96862- }
96863- return
96864-}
96865-
96866-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96867-
96868-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
96869- _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
96870- if e1 != 0 {
96871- err = errnoErr(e1)
96872- }
96873- return
96874-}
96875-
96876-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96877-
96878-func Fchdir(fd int) (err error) {
96879- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
96880- if e1 != 0 {
96881- err = errnoErr(e1)
96882- }
96883- return
96884-}
96885-
96886-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96887-
96888-func Fchmod(fd int, mode uint32) (err error) {
96889- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
96890- if e1 != 0 {
96891- err = errnoErr(e1)
96892- }
96893- return
96894-}
96895-
96896-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96897-
96898-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
96899- var _p0 *byte
96900- _p0, err = BytePtrFromString(path)
96901- if err != nil {
96902- return
96903- }
96904- _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
96905- if e1 != 0 {
96906- err = errnoErr(e1)
96907- }
96908- return
96909-}
96910-
96911-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96912-
96913-func fcntl(fd int, cmd int, arg int) (val int, err error) {
96914- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
96915- val = int(r0)
96916- if e1 != 0 {
96917- err = errnoErr(e1)
96918- }
96919- return
96920-}
96921-
96922-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96923-
96924-func Fdatasync(fd int) (err error) {
96925- _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
96926- if e1 != 0 {
96927- err = errnoErr(e1)
96928- }
96929- return
96930-}
96931-
96932-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96933-
96934-func Flock(fd int, how int) (err error) {
96935- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
96936- if e1 != 0 {
96937- err = errnoErr(e1)
96938- }
96939- return
96940-}
96941-
96942-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96943-
96944-func Fsync(fd int) (err error) {
96945- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
96946- if e1 != 0 {
96947- err = errnoErr(e1)
96948- }
96949- return
96950-}
96951-
96952-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96953-
96954-func Getdents(fd int, buf []byte) (n int, err error) {
96955- var _p0 unsafe.Pointer
96956- if len(buf) > 0 {
96957- _p0 = unsafe.Pointer(&buf[0])
96958- } else {
96959- _p0 = unsafe.Pointer(&_zero)
96960- }
96961- r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
96962- n = int(r0)
96963- if e1 != 0 {
96964- err = errnoErr(e1)
96965- }
96966- return
96967-}
96968-
96969-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96970-
96971-func Getpgid(pid int) (pgid int, err error) {
96972- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
96973- pgid = int(r0)
96974- if e1 != 0 {
96975- err = errnoErr(e1)
96976- }
96977- return
96978-}
96979-
96980-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96981-
96982-func Getpid() (pid int) {
96983- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
96984- pid = int(r0)
96985- return
96986-}
96987-
96988-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96989-
96990-func Getppid() (ppid int) {
96991- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
96992- ppid = int(r0)
96993- return
96994-}
96995-
96996-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
96997-
96998-func Getpriority(which int, who int) (prio int, err error) {
96999- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
97000- prio = int(r0)
97001- if e1 != 0 {
97002- err = errnoErr(e1)
97003- }
97004- return
97005-}
97006-
97007-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97008-
97009-func Getrandom(buf []byte, flags int) (n int, err error) {
97010- var _p0 unsafe.Pointer
97011- if len(buf) > 0 {
97012- _p0 = unsafe.Pointer(&buf[0])
97013- } else {
97014- _p0 = unsafe.Pointer(&_zero)
97015- }
97016- r0, _, e1 := Syscall(SYS_GETRANDOM, uintptr(_p0), uintptr(len(buf)), uintptr(flags))
97017- n = int(r0)
97018- if e1 != 0 {
97019- err = errnoErr(e1)
97020- }
97021- return
97022-}
97023-
97024-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97025-
97026-func Getrusage(who int, rusage *Rusage) (err error) {
97027- _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
97028- if e1 != 0 {
97029- err = errnoErr(e1)
97030- }
97031- return
97032-}
97033-
97034-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97035-
97036-func Getsid(pid int) (sid int, err error) {
97037- r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
97038- sid = int(r0)
97039- if e1 != 0 {
97040- err = errnoErr(e1)
97041- }
97042- return
97043-}
97044-
97045-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97046-
97047-func Gettid() (tid int) {
97048- r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
97049- tid = int(r0)
97050- return
97051-}
97052-
97053-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97054-
97055-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
97056- var _p0 *byte
97057- _p0, err = BytePtrFromString(path)
97058- if err != nil {
97059- return
97060- }
97061- var _p1 *byte
97062- _p1, err = BytePtrFromString(attr)
97063- if err != nil {
97064- return
97065- }
97066- var _p2 unsafe.Pointer
97067- if len(dest) > 0 {
97068- _p2 = unsafe.Pointer(&dest[0])
97069- } else {
97070- _p2 = unsafe.Pointer(&_zero)
97071- }
97072- r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
97073- sz = int(r0)
97074- if e1 != 0 {
97075- err = errnoErr(e1)
97076- }
97077- return
97078-}
97079-
97080-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97081-
97082-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
97083- var _p0 *byte
97084- _p0, err = BytePtrFromString(pathname)
97085- if err != nil {
97086- return
97087- }
97088- r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
97089- watchdesc = int(r0)
97090- if e1 != 0 {
97091- err = errnoErr(e1)
97092- }
97093- return
97094-}
97095-
97096-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97097-
97098-func InotifyInit1(flags int) (fd int, err error) {
97099- r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
97100- fd = int(r0)
97101- if e1 != 0 {
97102- err = errnoErr(e1)
97103- }
97104- return
97105-}
97106-
97107-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97108-
97109-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
97110- r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
97111- success = int(r0)
97112- if e1 != 0 {
97113- err = errnoErr(e1)
97114- }
97115- return
97116-}
97117-
97118-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97119-
97120-func Kill(pid int, sig syscall.Signal) (err error) {
97121- _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
97122- if e1 != 0 {
97123- err = errnoErr(e1)
97124- }
97125- return
97126-}
97127-
97128-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97129-
97130-func Klogctl(typ int, buf []byte) (n int, err error) {
97131- var _p0 unsafe.Pointer
97132- if len(buf) > 0 {
97133- _p0 = unsafe.Pointer(&buf[0])
97134- } else {
97135- _p0 = unsafe.Pointer(&_zero)
97136- }
97137- r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
97138- n = int(r0)
97139- if e1 != 0 {
97140- err = errnoErr(e1)
97141- }
97142- return
97143-}
97144-
97145-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97146-
97147-func Lgetxattr(path string, attr string, dest []byte) (sz int, err error) {
97148- var _p0 *byte
97149- _p0, err = BytePtrFromString(path)
97150- if err != nil {
97151- return
97152- }
97153- var _p1 *byte
97154- _p1, err = BytePtrFromString(attr)
97155- if err != nil {
97156- return
97157- }
97158- var _p2 unsafe.Pointer
97159- if len(dest) > 0 {
97160- _p2 = unsafe.Pointer(&dest[0])
97161- } else {
97162- _p2 = unsafe.Pointer(&_zero)
97163- }
97164- r0, _, e1 := Syscall6(SYS_LGETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
97165- sz = int(r0)
97166- if e1 != 0 {
97167- err = errnoErr(e1)
97168- }
97169- return
97170-}
97171-
97172-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97173-
97174-func Listxattr(path string, dest []byte) (sz int, err error) {
97175- var _p0 *byte
97176- _p0, err = BytePtrFromString(path)
97177- if err != nil {
97178- return
97179- }
97180- var _p1 unsafe.Pointer
97181- if len(dest) > 0 {
97182- _p1 = unsafe.Pointer(&dest[0])
97183- } else {
97184- _p1 = unsafe.Pointer(&_zero)
97185- }
97186- r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
97187- sz = int(r0)
97188- if e1 != 0 {
97189- err = errnoErr(e1)
97190- }
97191- return
97192-}
97193-
97194-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97195-
97196-func Llistxattr(path string, dest []byte) (sz int, err error) {
97197- var _p0 *byte
97198- _p0, err = BytePtrFromString(path)
97199- if err != nil {
97200- return
97201- }
97202- var _p1 unsafe.Pointer
97203- if len(dest) > 0 {
97204- _p1 = unsafe.Pointer(&dest[0])
97205- } else {
97206- _p1 = unsafe.Pointer(&_zero)
97207- }
97208- r0, _, e1 := Syscall(SYS_LLISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
97209- sz = int(r0)
97210- if e1 != 0 {
97211- err = errnoErr(e1)
97212- }
97213- return
97214-}
97215-
97216-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97217-
97218-func Lremovexattr(path string, attr string) (err error) {
97219- var _p0 *byte
97220- _p0, err = BytePtrFromString(path)
97221- if err != nil {
97222- return
97223- }
97224- var _p1 *byte
97225- _p1, err = BytePtrFromString(attr)
97226- if err != nil {
97227- return
97228- }
97229- _, _, e1 := Syscall(SYS_LREMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
97230- if e1 != 0 {
97231- err = errnoErr(e1)
97232- }
97233- return
97234-}
97235-
97236-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97237-
97238-func Lsetxattr(path string, attr string, data []byte, flags int) (err error) {
97239- var _p0 *byte
97240- _p0, err = BytePtrFromString(path)
97241- if err != nil {
97242- return
97243- }
97244- var _p1 *byte
97245- _p1, err = BytePtrFromString(attr)
97246- if err != nil {
97247- return
97248- }
97249- var _p2 unsafe.Pointer
97250- if len(data) > 0 {
97251- _p2 = unsafe.Pointer(&data[0])
97252- } else {
97253- _p2 = unsafe.Pointer(&_zero)
97254- }
97255- _, _, e1 := Syscall6(SYS_LSETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
97256- if e1 != 0 {
97257- err = errnoErr(e1)
97258- }
97259- return
97260-}
97261-
97262-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97263-
97264-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
97265- var _p0 *byte
97266- _p0, err = BytePtrFromString(path)
97267- if err != nil {
97268- return
97269- }
97270- _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
97271- if e1 != 0 {
97272- err = errnoErr(e1)
97273- }
97274- return
97275-}
97276-
97277-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97278-
97279-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
97280- var _p0 *byte
97281- _p0, err = BytePtrFromString(path)
97282- if err != nil {
97283- return
97284- }
97285- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
97286- if e1 != 0 {
97287- err = errnoErr(e1)
97288- }
97289- return
97290-}
97291-
97292-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97293-
97294-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
97295- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
97296- if e1 != 0 {
97297- err = errnoErr(e1)
97298- }
97299- return
97300-}
97301-
97302-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97303-
97304-func PivotRoot(newroot string, putold string) (err error) {
97305- var _p0 *byte
97306- _p0, err = BytePtrFromString(newroot)
97307- if err != nil {
97308- return
97309- }
97310- var _p1 *byte
97311- _p1, err = BytePtrFromString(putold)
97312- if err != nil {
97313- return
97314- }
97315- _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
97316- if e1 != 0 {
97317- err = errnoErr(e1)
97318- }
97319- return
97320-}
97321-
97322-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97323-
97324-func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
97325- _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0)
97326- if e1 != 0 {
97327- err = errnoErr(e1)
97328- }
97329- return
97330-}
97331-
97332-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97333-
97334-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
97335- _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
97336- if e1 != 0 {
97337- err = errnoErr(e1)
97338- }
97339- return
97340-}
97341-
97342-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97343-
97344-func read(fd int, p []byte) (n int, err error) {
97345- var _p0 unsafe.Pointer
97346- if len(p) > 0 {
97347- _p0 = unsafe.Pointer(&p[0])
97348- } else {
97349- _p0 = unsafe.Pointer(&_zero)
97350- }
97351- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
97352- n = int(r0)
97353- if e1 != 0 {
97354- err = errnoErr(e1)
97355- }
97356- return
97357-}
97358-
97359-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97360-
97361-func Removexattr(path string, attr string) (err error) {
97362- var _p0 *byte
97363- _p0, err = BytePtrFromString(path)
97364- if err != nil {
97365- return
97366- }
97367- var _p1 *byte
97368- _p1, err = BytePtrFromString(attr)
97369- if err != nil {
97370- return
97371- }
97372- _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
97373- if e1 != 0 {
97374- err = errnoErr(e1)
97375- }
97376- return
97377-}
97378-
97379-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97380-
97381-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
97382- var _p0 *byte
97383- _p0, err = BytePtrFromString(oldpath)
97384- if err != nil {
97385- return
97386- }
97387- var _p1 *byte
97388- _p1, err = BytePtrFromString(newpath)
97389- if err != nil {
97390- return
97391- }
97392- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
97393- if e1 != 0 {
97394- err = errnoErr(e1)
97395- }
97396- return
97397-}
97398-
97399-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97400-
97401-func RequestKey(keyType string, description string, callback string, destRingid int) (id int, err error) {
97402- var _p0 *byte
97403- _p0, err = BytePtrFromString(keyType)
97404- if err != nil {
97405- return
97406- }
97407- var _p1 *byte
97408- _p1, err = BytePtrFromString(description)
97409- if err != nil {
97410- return
97411- }
97412- var _p2 *byte
97413- _p2, err = BytePtrFromString(callback)
97414- if err != nil {
97415- return
97416- }
97417- r0, _, e1 := Syscall6(SYS_REQUEST_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(destRingid), 0, 0)
97418- id = int(r0)
97419- if e1 != 0 {
97420- err = errnoErr(e1)
97421- }
97422- return
97423-}
97424-
97425-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97426-
97427-func Setdomainname(p []byte) (err error) {
97428- var _p0 unsafe.Pointer
97429- if len(p) > 0 {
97430- _p0 = unsafe.Pointer(&p[0])
97431- } else {
97432- _p0 = unsafe.Pointer(&_zero)
97433- }
97434- _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
97435- if e1 != 0 {
97436- err = errnoErr(e1)
97437- }
97438- return
97439-}
97440-
97441-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97442-
97443-func Sethostname(p []byte) (err error) {
97444- var _p0 unsafe.Pointer
97445- if len(p) > 0 {
97446- _p0 = unsafe.Pointer(&p[0])
97447- } else {
97448- _p0 = unsafe.Pointer(&_zero)
97449- }
97450- _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
97451- if e1 != 0 {
97452- err = errnoErr(e1)
97453- }
97454- return
97455-}
97456-
97457-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97458-
97459-func Setpgid(pid int, pgid int) (err error) {
97460- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
97461- if e1 != 0 {
97462- err = errnoErr(e1)
97463- }
97464- return
97465-}
97466-
97467-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97468-
97469-func Setsid() (pid int, err error) {
97470- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
97471- pid = int(r0)
97472- if e1 != 0 {
97473- err = errnoErr(e1)
97474- }
97475- return
97476-}
97477-
97478-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97479-
97480-func Settimeofday(tv *Timeval) (err error) {
97481- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
97482- if e1 != 0 {
97483- err = errnoErr(e1)
97484- }
97485- return
97486-}
97487-
97488-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97489-
97490-func Setns(fd int, nstype int) (err error) {
97491- _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
97492- if e1 != 0 {
97493- err = errnoErr(e1)
97494- }
97495- return
97496-}
97497-
97498-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97499-
97500-func Setpriority(which int, who int, prio int) (err error) {
97501- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
97502- if e1 != 0 {
97503- err = errnoErr(e1)
97504- }
97505- return
97506-}
97507-
97508-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97509-
97510-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
97511- var _p0 *byte
97512- _p0, err = BytePtrFromString(path)
97513- if err != nil {
97514- return
97515- }
97516- var _p1 *byte
97517- _p1, err = BytePtrFromString(attr)
97518- if err != nil {
97519- return
97520- }
97521- var _p2 unsafe.Pointer
97522- if len(data) > 0 {
97523- _p2 = unsafe.Pointer(&data[0])
97524- } else {
97525- _p2 = unsafe.Pointer(&_zero)
97526- }
97527- _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
97528- if e1 != 0 {
97529- err = errnoErr(e1)
97530- }
97531- return
97532-}
97533-
97534-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97535-
97536-func Sync() {
97537- Syscall(SYS_SYNC, 0, 0, 0)
97538- return
97539-}
97540-
97541-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97542-
97543-func Syncfs(fd int) (err error) {
97544- _, _, e1 := Syscall(SYS_SYNCFS, uintptr(fd), 0, 0)
97545+func fanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname *byte) (err error) {
97546+ _, _, e1 := Syscall6(SYS_FANOTIFY_MARK, uintptr(fd), uintptr(flags), uintptr(mask), uintptr(dirFd), uintptr(unsafe.Pointer(pathname)), 0)
97547 if e1 != 0 {
97548 err = errnoErr(e1)
97549 }
97550@@ -1244,8 +24,8 @@ func Syncfs(fd int) (err error) {
97551
97552 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97553
97554-func Sysinfo(info *Sysinfo_t) (err error) {
97555- _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
97556+func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
97557+ _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
97558 if e1 != 0 {
97559 err = errnoErr(e1)
97560 }
97561@@ -1265,62 +45,8 @@ func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
97562
97563 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97564
97565-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
97566- _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
97567- if e1 != 0 {
97568- err = errnoErr(e1)
97569- }
97570- return
97571-}
97572-
97573-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97574-
97575-func Times(tms *Tms) (ticks uintptr, err error) {
97576- r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
97577- ticks = uintptr(r0)
97578- if e1 != 0 {
97579- err = errnoErr(e1)
97580- }
97581- return
97582-}
97583-
97584-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97585-
97586-func Umask(mask int) (oldmask int) {
97587- r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
97588- oldmask = int(r0)
97589- return
97590-}
97591-
97592-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97593-
97594-func Uname(buf *Utsname) (err error) {
97595- _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
97596- if e1 != 0 {
97597- err = errnoErr(e1)
97598- }
97599- return
97600-}
97601-
97602-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97603-
97604-func Unmount(target string, flags int) (err error) {
97605- var _p0 *byte
97606- _p0, err = BytePtrFromString(target)
97607- if err != nil {
97608- return
97609- }
97610- _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
97611- if e1 != 0 {
97612- err = errnoErr(e1)
97613- }
97614- return
97615-}
97616-
97617-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97618-
97619-func Unshare(flags int) (err error) {
97620- _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
97621+func Dup2(oldfd int, newfd int) (err error) {
97622+ _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
97623 if e1 != 0 {
97624 err = errnoErr(e1)
97625 }
97626@@ -1329,8 +55,9 @@ func Unshare(flags int) (err error) {
97627
97628 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97629
97630-func Ustat(dev int, ubuf *Ustat_t) (err error) {
97631- _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
97632+func EpollCreate(size int) (fd int, err error) {
97633+ r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
97634+ fd = int(r0)
97635 if e1 != 0 {
97636 err = errnoErr(e1)
97637 }
97638@@ -1339,46 +66,14 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) {
97639
97640 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97641
97642-func write(fd int, p []byte) (n int, err error) {
97643+func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
97644 var _p0 unsafe.Pointer
97645- if len(p) > 0 {
97646- _p0 = unsafe.Pointer(&p[0])
97647+ if len(events) > 0 {
97648+ _p0 = unsafe.Pointer(&events[0])
97649 } else {
97650 _p0 = unsafe.Pointer(&_zero)
97651 }
97652- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
97653- n = int(r0)
97654- if e1 != 0 {
97655- err = errnoErr(e1)
97656- }
97657- return
97658-}
97659-
97660-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97661-
97662-func exitThread(code int) (err error) {
97663- _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
97664- if e1 != 0 {
97665- err = errnoErr(e1)
97666- }
97667- return
97668-}
97669-
97670-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97671-
97672-func readlen(fd int, p *byte, np int) (n int, err error) {
97673- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
97674- n = int(r0)
97675- if e1 != 0 {
97676- err = errnoErr(e1)
97677- }
97678- return
97679-}
97680-
97681-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97682-
97683-func writelen(fd int, p *byte, np int) (n int, err error) {
97684- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
97685+ r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
97686 n = int(r0)
97687 if e1 != 0 {
97688 err = errnoErr(e1)
97689@@ -1388,135 +83,8 @@ func writelen(fd int, p *byte, np int) (n int, err error) {
97690
97691 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97692
97693-func munmap(addr uintptr, length uintptr) (err error) {
97694- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
97695- if e1 != 0 {
97696- err = errnoErr(e1)
97697- }
97698- return
97699-}
97700-
97701-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97702-
97703-func Madvise(b []byte, advice int) (err error) {
97704- var _p0 unsafe.Pointer
97705- if len(b) > 0 {
97706- _p0 = unsafe.Pointer(&b[0])
97707- } else {
97708- _p0 = unsafe.Pointer(&_zero)
97709- }
97710- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
97711- if e1 != 0 {
97712- err = errnoErr(e1)
97713- }
97714- return
97715-}
97716-
97717-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97718-
97719-func Mprotect(b []byte, prot int) (err error) {
97720- var _p0 unsafe.Pointer
97721- if len(b) > 0 {
97722- _p0 = unsafe.Pointer(&b[0])
97723- } else {
97724- _p0 = unsafe.Pointer(&_zero)
97725- }
97726- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
97727- if e1 != 0 {
97728- err = errnoErr(e1)
97729- }
97730- return
97731-}
97732-
97733-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97734-
97735-func Mlock(b []byte) (err error) {
97736- var _p0 unsafe.Pointer
97737- if len(b) > 0 {
97738- _p0 = unsafe.Pointer(&b[0])
97739- } else {
97740- _p0 = unsafe.Pointer(&_zero)
97741- }
97742- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
97743- if e1 != 0 {
97744- err = errnoErr(e1)
97745- }
97746- return
97747-}
97748-
97749-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97750-
97751-func Munlock(b []byte) (err error) {
97752- var _p0 unsafe.Pointer
97753- if len(b) > 0 {
97754- _p0 = unsafe.Pointer(&b[0])
97755- } else {
97756- _p0 = unsafe.Pointer(&_zero)
97757- }
97758- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
97759- if e1 != 0 {
97760- err = errnoErr(e1)
97761- }
97762- return
97763-}
97764-
97765-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97766-
97767-func Mlockall(flags int) (err error) {
97768- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
97769- if e1 != 0 {
97770- err = errnoErr(e1)
97771- }
97772- return
97773-}
97774-
97775-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97776-
97777-func Msync(b []byte, flags int) (err error) {
97778- var _p0 unsafe.Pointer
97779- if len(b) > 0 {
97780- _p0 = unsafe.Pointer(&b[0])
97781- } else {
97782- _p0 = unsafe.Pointer(&_zero)
97783- }
97784- _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags))
97785- if e1 != 0 {
97786- err = errnoErr(e1)
97787- }
97788- return
97789-}
97790-
97791-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97792-
97793-func Munlockall() (err error) {
97794- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
97795- if e1 != 0 {
97796- err = errnoErr(e1)
97797- }
97798- return
97799-}
97800-
97801-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97802-
97803-func Dup2(oldfd int, newfd int) (err error) {
97804- _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
97805- if e1 != 0 {
97806- err = errnoErr(e1)
97807- }
97808- return
97809-}
97810-
97811-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97812-
97813-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
97814- var _p0 unsafe.Pointer
97815- if len(events) > 0 {
97816- _p0 = unsafe.Pointer(&events[0])
97817- } else {
97818- _p0 = unsafe.Pointer(&_zero)
97819- }
97820- r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
97821- n = int(r0)
97822+func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
97823+ _, _, e1 := Syscall6(SYS_FADVISE64, uintptr(fd), uintptr(offset), uintptr(length), uintptr(advice), 0, 0)
97824 if e1 != 0 {
97825 err = errnoErr(e1)
97826 }
97827@@ -1556,7 +124,7 @@ func Ftruncate(fd int, length int64) (err error) {
97828 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97829
97830 func Getegid() (egid int) {
97831- r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
97832+ r0, _ := RawSyscallNoError(SYS_GETEGID, 0, 0, 0)
97833 egid = int(r0)
97834 return
97835 }
97836@@ -1564,7 +132,7 @@ func Getegid() (egid int) {
97837 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97838
97839 func Geteuid() (euid int) {
97840- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
97841+ r0, _ := RawSyscallNoError(SYS_GETEUID, 0, 0, 0)
97842 euid = int(r0)
97843 return
97844 }
97845@@ -1572,7 +140,7 @@ func Geteuid() (euid int) {
97846 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97847
97848 func Getgid() (gid int) {
97849- r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
97850+ r0, _ := RawSyscallNoError(SYS_GETGID, 0, 0, 0)
97851 gid = int(r0)
97852 return
97853 }
97854@@ -1590,7 +158,7 @@ func Getrlimit(resource int, rlim *Rlimit) (err error) {
97855 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97856
97857 func Getuid() (uid int) {
97858- r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
97859+ r0, _ := RawSyscallNoError(SYS_GETUID, 0, 0, 0)
97860 uid = int(r0)
97861 return
97862 }
97863@@ -1666,9 +234,18 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
97864
97865 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97866
97867-func Seek(fd int, offset int64, whence int) (off int64, err error) {
97868- r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
97869- off = int64(r0)
97870+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
97871+ var _p0 *byte
97872+ _p0, err = BytePtrFromString(oldpath)
97873+ if err != nil {
97874+ return
97875+ }
97876+ var _p1 *byte
97877+ _p1, err = BytePtrFromString(newpath)
97878+ if err != nil {
97879+ return
97880+ }
97881+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
97882 if e1 != 0 {
97883 err = errnoErr(e1)
97884 }
97885@@ -1677,9 +254,9 @@ func Seek(fd int, offset int64, whence int) (off int64, err error) {
97886
97887 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97888
97889-func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
97890- r0, _, e1 := Syscall6(SYS_PSELECT6, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
97891- n = int(r0)
97892+func Seek(fd int, offset int64, whence int) (off int64, err error) {
97893+ r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
97894+ off = int64(r0)
97895 if e1 != 0 {
97896 err = errnoErr(e1)
97897 }
97898@@ -1699,8 +276,9 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
97899
97900 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97901
97902-func Setfsgid(gid int) (err error) {
97903- _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
97904+func setfsgid(gid int) (prev int, err error) {
97905+ r0, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
97906+ prev = int(r0)
97907 if e1 != 0 {
97908 err = errnoErr(e1)
97909 }
97910@@ -1709,8 +287,9 @@ func Setfsgid(gid int) (err error) {
97911
97912 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97913
97914-func Setfsuid(uid int) (err error) {
97915- _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
97916+func setfsuid(uid int) (prev int, err error) {
97917+ r0, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
97918+ prev = int(r0)
97919 if e1 != 0 {
97920 err = errnoErr(e1)
97921 }
97922@@ -1830,6 +409,16 @@ func Truncate(path string, length int64) (err error) {
97923
97924 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97925
97926+func Ustat(dev int, ubuf *Ustat_t) (err error) {
97927+ _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
97928+ if e1 != 0 {
97929+ err = errnoErr(e1)
97930+ }
97931+ return
97932+}
97933+
97934+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97935+
97936 func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
97937 r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
97938 fd = int(r0)
97939@@ -2020,6 +609,21 @@ func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int6
97940
97941 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97942
97943+func futimesat(dirfd int, path string, times *[2]Timeval) (err error) {
97944+ var _p0 *byte
97945+ _p0, err = BytePtrFromString(path)
97946+ if err != nil {
97947+ return
97948+ }
97949+ _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)))
97950+ if e1 != 0 {
97951+ err = errnoErr(e1)
97952+ }
97953+ return
97954+}
97955+
97956+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97957+
97958 func Gettimeofday(tv *Timeval) (err error) {
97959 _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
97960 if e1 != 0 {
97961@@ -2045,8 +649,13 @@ func Utime(path string, buf *Utimbuf) (err error) {
97962
97963 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97964
97965-func pipe2(p *[2]_C_int, flags int) (err error) {
97966- _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
97967+func utimes(path string, times *[2]Timeval) (err error) {
97968+ var _p0 *byte
97969+ _p0, err = BytePtrFromString(path)
97970+ if err != nil {
97971+ return
97972+ }
97973+ _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
97974 if e1 != 0 {
97975 err = errnoErr(e1)
97976 }
97977@@ -2065,6 +674,21 @@ func fstat(fd int, st *stat_t) (err error) {
97978
97979 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97980
97981+func fstatat(dirfd int, path string, st *stat_t, flags int) (err error) {
97982+ var _p0 *byte
97983+ _p0, err = BytePtrFromString(path)
97984+ if err != nil {
97985+ return
97986+ }
97987+ _, _, e1 := Syscall6(SYS_NEWFSTATAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(st)), uintptr(flags), 0, 0)
97988+ if e1 != 0 {
97989+ err = errnoErr(e1)
97990+ }
97991+ return
97992+}
97993+
97994+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
97995+
97996 func lstat(path string, st *stat_t) (err error) {
97997 var _p0 *byte
97998 _p0, err = BytePtrFromString(path)
97999diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go
98000index f6463423..28c7239c 100644
98001--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go
98002+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go
98003@@ -1,4 +1,4 @@
98004-// mksyscall.pl -tags linux,mips64le syscall_linux.go syscall_linux_mips64x.go
98005+// go run mksyscall.go -tags linux,mips64le syscall_linux.go syscall_linux_mips64x.go
98006 // Code generated by the command above; see README.md. DO NOT EDIT.
98007
98008 // +build linux,mips64le
98009@@ -14,1228 +14,8 @@ var _ syscall.Errno
98010
98011 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98012
98013-func fchmodat(dirfd int, path string, mode uint32) (err error) {
98014- var _p0 *byte
98015- _p0, err = BytePtrFromString(path)
98016- if err != nil {
98017- return
98018- }
98019- _, _, e1 := Syscall(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
98020- if e1 != 0 {
98021- err = errnoErr(e1)
98022- }
98023- return
98024-}
98025-
98026-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98027-
98028-func ioctl(fd int, req uint, arg uintptr) (err error) {
98029- _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
98030- if e1 != 0 {
98031- err = errnoErr(e1)
98032- }
98033- return
98034-}
98035-
98036-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98037-
98038-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
98039- var _p0 *byte
98040- _p0, err = BytePtrFromString(oldpath)
98041- if err != nil {
98042- return
98043- }
98044- var _p1 *byte
98045- _p1, err = BytePtrFromString(newpath)
98046- if err != nil {
98047- return
98048- }
98049- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
98050- if e1 != 0 {
98051- err = errnoErr(e1)
98052- }
98053- return
98054-}
98055-
98056-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98057-
98058-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
98059- var _p0 *byte
98060- _p0, err = BytePtrFromString(path)
98061- if err != nil {
98062- return
98063- }
98064- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
98065- fd = int(r0)
98066- if e1 != 0 {
98067- err = errnoErr(e1)
98068- }
98069- return
98070-}
98071-
98072-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98073-
98074-func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
98075- r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
98076- n = int(r0)
98077- if e1 != 0 {
98078- err = errnoErr(e1)
98079- }
98080- return
98081-}
98082-
98083-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98084-
98085-func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
98086- var _p0 *byte
98087- _p0, err = BytePtrFromString(path)
98088- if err != nil {
98089- return
98090- }
98091- var _p1 unsafe.Pointer
98092- if len(buf) > 0 {
98093- _p1 = unsafe.Pointer(&buf[0])
98094- } else {
98095- _p1 = unsafe.Pointer(&_zero)
98096- }
98097- r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
98098- n = int(r0)
98099- if e1 != 0 {
98100- err = errnoErr(e1)
98101- }
98102- return
98103-}
98104-
98105-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98106-
98107-func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
98108- var _p0 *byte
98109- _p0, err = BytePtrFromString(oldpath)
98110- if err != nil {
98111- return
98112- }
98113- var _p1 *byte
98114- _p1, err = BytePtrFromString(newpath)
98115- if err != nil {
98116- return
98117- }
98118- _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
98119- if e1 != 0 {
98120- err = errnoErr(e1)
98121- }
98122- return
98123-}
98124-
98125-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98126-
98127-func Unlinkat(dirfd int, path string, flags int) (err error) {
98128- var _p0 *byte
98129- _p0, err = BytePtrFromString(path)
98130- if err != nil {
98131- return
98132- }
98133- _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
98134- if e1 != 0 {
98135- err = errnoErr(e1)
98136- }
98137- return
98138-}
98139-
98140-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98141-
98142-func utimes(path string, times *[2]Timeval) (err error) {
98143- var _p0 *byte
98144- _p0, err = BytePtrFromString(path)
98145- if err != nil {
98146- return
98147- }
98148- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
98149- if e1 != 0 {
98150- err = errnoErr(e1)
98151- }
98152- return
98153-}
98154-
98155-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98156-
98157-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
98158- var _p0 *byte
98159- _p0, err = BytePtrFromString(path)
98160- if err != nil {
98161- return
98162- }
98163- _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
98164- if e1 != 0 {
98165- err = errnoErr(e1)
98166- }
98167- return
98168-}
98169-
98170-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98171-
98172-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
98173- _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
98174- if e1 != 0 {
98175- err = errnoErr(e1)
98176- }
98177- return
98178-}
98179-
98180-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98181-
98182-func Getcwd(buf []byte) (n int, err error) {
98183- var _p0 unsafe.Pointer
98184- if len(buf) > 0 {
98185- _p0 = unsafe.Pointer(&buf[0])
98186- } else {
98187- _p0 = unsafe.Pointer(&_zero)
98188- }
98189- r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
98190- n = int(r0)
98191- if e1 != 0 {
98192- err = errnoErr(e1)
98193- }
98194- return
98195-}
98196-
98197-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98198-
98199-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
98200- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
98201- wpid = int(r0)
98202- if e1 != 0 {
98203- err = errnoErr(e1)
98204- }
98205- return
98206-}
98207-
98208-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98209-
98210-func KeyctlInt(cmd int, arg2 int, arg3 int, arg4 int, arg5 int) (ret int, err error) {
98211- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
98212- ret = int(r0)
98213- if e1 != 0 {
98214- err = errnoErr(e1)
98215- }
98216- return
98217-}
98218-
98219-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98220-
98221-func KeyctlBuffer(cmd int, arg2 int, buf []byte, arg5 int) (ret int, err error) {
98222- var _p0 unsafe.Pointer
98223- if len(buf) > 0 {
98224- _p0 = unsafe.Pointer(&buf[0])
98225- } else {
98226- _p0 = unsafe.Pointer(&_zero)
98227- }
98228- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(buf)), uintptr(arg5), 0)
98229- ret = int(r0)
98230- if e1 != 0 {
98231- err = errnoErr(e1)
98232- }
98233- return
98234-}
98235-
98236-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98237-
98238-func keyctlJoin(cmd int, arg2 string) (ret int, err error) {
98239- var _p0 *byte
98240- _p0, err = BytePtrFromString(arg2)
98241- if err != nil {
98242- return
98243- }
98244- r0, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0)
98245- ret = int(r0)
98246- if e1 != 0 {
98247- err = errnoErr(e1)
98248- }
98249- return
98250-}
98251-
98252-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98253-
98254-func keyctlSearch(cmd int, arg2 int, arg3 string, arg4 string, arg5 int) (ret int, err error) {
98255- var _p0 *byte
98256- _p0, err = BytePtrFromString(arg3)
98257- if err != nil {
98258- return
98259- }
98260- var _p1 *byte
98261- _p1, err = BytePtrFromString(arg4)
98262- if err != nil {
98263- return
98264- }
98265- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(arg5), 0)
98266- ret = int(r0)
98267- if e1 != 0 {
98268- err = errnoErr(e1)
98269- }
98270- return
98271-}
98272-
98273-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98274-
98275-func keyctlIOV(cmd int, arg2 int, payload []Iovec, arg5 int) (err error) {
98276- var _p0 unsafe.Pointer
98277- if len(payload) > 0 {
98278- _p0 = unsafe.Pointer(&payload[0])
98279- } else {
98280- _p0 = unsafe.Pointer(&_zero)
98281- }
98282- _, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(payload)), uintptr(arg5), 0)
98283- if e1 != 0 {
98284- err = errnoErr(e1)
98285- }
98286- return
98287-}
98288-
98289-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98290-
98291-func keyctlDH(cmd int, arg2 *KeyctlDHParams, buf []byte) (ret int, err error) {
98292- var _p0 unsafe.Pointer
98293- if len(buf) > 0 {
98294- _p0 = unsafe.Pointer(&buf[0])
98295- } else {
98296- _p0 = unsafe.Pointer(&_zero)
98297- }
98298- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(arg2)), uintptr(_p0), uintptr(len(buf)), 0, 0)
98299- ret = int(r0)
98300- if e1 != 0 {
98301- err = errnoErr(e1)
98302- }
98303- return
98304-}
98305-
98306-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98307-
98308-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
98309- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
98310- if e1 != 0 {
98311- err = errnoErr(e1)
98312- }
98313- return
98314-}
98315-
98316-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98317-
98318-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
98319- var _p0 *byte
98320- _p0, err = BytePtrFromString(arg)
98321- if err != nil {
98322- return
98323- }
98324- _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
98325- if e1 != 0 {
98326- err = errnoErr(e1)
98327- }
98328- return
98329-}
98330-
98331-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98332-
98333-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
98334- var _p0 *byte
98335- _p0, err = BytePtrFromString(source)
98336- if err != nil {
98337- return
98338- }
98339- var _p1 *byte
98340- _p1, err = BytePtrFromString(target)
98341- if err != nil {
98342- return
98343- }
98344- var _p2 *byte
98345- _p2, err = BytePtrFromString(fstype)
98346- if err != nil {
98347- return
98348- }
98349- _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
98350- if e1 != 0 {
98351- err = errnoErr(e1)
98352- }
98353- return
98354-}
98355-
98356-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98357-
98358-func Acct(path string) (err error) {
98359- var _p0 *byte
98360- _p0, err = BytePtrFromString(path)
98361- if err != nil {
98362- return
98363- }
98364- _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
98365- if e1 != 0 {
98366- err = errnoErr(e1)
98367- }
98368- return
98369-}
98370-
98371-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98372-
98373-func AddKey(keyType string, description string, payload []byte, ringid int) (id int, err error) {
98374- var _p0 *byte
98375- _p0, err = BytePtrFromString(keyType)
98376- if err != nil {
98377- return
98378- }
98379- var _p1 *byte
98380- _p1, err = BytePtrFromString(description)
98381- if err != nil {
98382- return
98383- }
98384- var _p2 unsafe.Pointer
98385- if len(payload) > 0 {
98386- _p2 = unsafe.Pointer(&payload[0])
98387- } else {
98388- _p2 = unsafe.Pointer(&_zero)
98389- }
98390- r0, _, e1 := Syscall6(SYS_ADD_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(payload)), uintptr(ringid), 0)
98391- id = int(r0)
98392- if e1 != 0 {
98393- err = errnoErr(e1)
98394- }
98395- return
98396-}
98397-
98398-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98399-
98400-func Adjtimex(buf *Timex) (state int, err error) {
98401- r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
98402- state = int(r0)
98403- if e1 != 0 {
98404- err = errnoErr(e1)
98405- }
98406- return
98407-}
98408-
98409-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98410-
98411-func Chdir(path string) (err error) {
98412- var _p0 *byte
98413- _p0, err = BytePtrFromString(path)
98414- if err != nil {
98415- return
98416- }
98417- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
98418- if e1 != 0 {
98419- err = errnoErr(e1)
98420- }
98421- return
98422-}
98423-
98424-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98425-
98426-func Chroot(path string) (err error) {
98427- var _p0 *byte
98428- _p0, err = BytePtrFromString(path)
98429- if err != nil {
98430- return
98431- }
98432- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
98433- if e1 != 0 {
98434- err = errnoErr(e1)
98435- }
98436- return
98437-}
98438-
98439-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98440-
98441-func ClockGettime(clockid int32, time *Timespec) (err error) {
98442- _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
98443- if e1 != 0 {
98444- err = errnoErr(e1)
98445- }
98446- return
98447-}
98448-
98449-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98450-
98451-func Close(fd int) (err error) {
98452- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
98453- if e1 != 0 {
98454- err = errnoErr(e1)
98455- }
98456- return
98457-}
98458-
98459-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98460-
98461-func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
98462- r0, _, e1 := Syscall6(SYS_COPY_FILE_RANGE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
98463- n = int(r0)
98464- if e1 != 0 {
98465- err = errnoErr(e1)
98466- }
98467- return
98468-}
98469-
98470-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98471-
98472-func Dup(oldfd int) (fd int, err error) {
98473- r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
98474- fd = int(r0)
98475- if e1 != 0 {
98476- err = errnoErr(e1)
98477- }
98478- return
98479-}
98480-
98481-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98482-
98483-func Dup3(oldfd int, newfd int, flags int) (err error) {
98484- _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
98485- if e1 != 0 {
98486- err = errnoErr(e1)
98487- }
98488- return
98489-}
98490-
98491-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98492-
98493-func EpollCreate(size int) (fd int, err error) {
98494- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
98495- fd = int(r0)
98496- if e1 != 0 {
98497- err = errnoErr(e1)
98498- }
98499- return
98500-}
98501-
98502-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98503-
98504-func EpollCreate1(flag int) (fd int, err error) {
98505- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
98506- fd = int(r0)
98507- if e1 != 0 {
98508- err = errnoErr(e1)
98509- }
98510- return
98511-}
98512-
98513-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98514-
98515-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
98516- _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
98517- if e1 != 0 {
98518- err = errnoErr(e1)
98519- }
98520- return
98521-}
98522-
98523-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98524-
98525-func Eventfd(initval uint, flags int) (fd int, err error) {
98526- r0, _, e1 := Syscall(SYS_EVENTFD2, uintptr(initval), uintptr(flags), 0)
98527- fd = int(r0)
98528- if e1 != 0 {
98529- err = errnoErr(e1)
98530- }
98531- return
98532-}
98533-
98534-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98535-
98536-func Exit(code int) {
98537- Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
98538- return
98539-}
98540-
98541-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98542-
98543-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
98544- var _p0 *byte
98545- _p0, err = BytePtrFromString(path)
98546- if err != nil {
98547- return
98548- }
98549- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
98550- if e1 != 0 {
98551- err = errnoErr(e1)
98552- }
98553- return
98554-}
98555-
98556-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98557-
98558-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
98559- _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
98560- if e1 != 0 {
98561- err = errnoErr(e1)
98562- }
98563- return
98564-}
98565-
98566-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98567-
98568-func Fchdir(fd int) (err error) {
98569- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
98570- if e1 != 0 {
98571- err = errnoErr(e1)
98572- }
98573- return
98574-}
98575-
98576-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98577-
98578-func Fchmod(fd int, mode uint32) (err error) {
98579- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
98580- if e1 != 0 {
98581- err = errnoErr(e1)
98582- }
98583- return
98584-}
98585-
98586-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98587-
98588-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
98589- var _p0 *byte
98590- _p0, err = BytePtrFromString(path)
98591- if err != nil {
98592- return
98593- }
98594- _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
98595- if e1 != 0 {
98596- err = errnoErr(e1)
98597- }
98598- return
98599-}
98600-
98601-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98602-
98603-func fcntl(fd int, cmd int, arg int) (val int, err error) {
98604- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
98605- val = int(r0)
98606- if e1 != 0 {
98607- err = errnoErr(e1)
98608- }
98609- return
98610-}
98611-
98612-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98613-
98614-func Fdatasync(fd int) (err error) {
98615- _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
98616- if e1 != 0 {
98617- err = errnoErr(e1)
98618- }
98619- return
98620-}
98621-
98622-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98623-
98624-func Flock(fd int, how int) (err error) {
98625- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
98626- if e1 != 0 {
98627- err = errnoErr(e1)
98628- }
98629- return
98630-}
98631-
98632-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98633-
98634-func Fsync(fd int) (err error) {
98635- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
98636- if e1 != 0 {
98637- err = errnoErr(e1)
98638- }
98639- return
98640-}
98641-
98642-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98643-
98644-func Getdents(fd int, buf []byte) (n int, err error) {
98645- var _p0 unsafe.Pointer
98646- if len(buf) > 0 {
98647- _p0 = unsafe.Pointer(&buf[0])
98648- } else {
98649- _p0 = unsafe.Pointer(&_zero)
98650- }
98651- r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
98652- n = int(r0)
98653- if e1 != 0 {
98654- err = errnoErr(e1)
98655- }
98656- return
98657-}
98658-
98659-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98660-
98661-func Getpgid(pid int) (pgid int, err error) {
98662- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
98663- pgid = int(r0)
98664- if e1 != 0 {
98665- err = errnoErr(e1)
98666- }
98667- return
98668-}
98669-
98670-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98671-
98672-func Getpid() (pid int) {
98673- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
98674- pid = int(r0)
98675- return
98676-}
98677-
98678-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98679-
98680-func Getppid() (ppid int) {
98681- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
98682- ppid = int(r0)
98683- return
98684-}
98685-
98686-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98687-
98688-func Getpriority(which int, who int) (prio int, err error) {
98689- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
98690- prio = int(r0)
98691- if e1 != 0 {
98692- err = errnoErr(e1)
98693- }
98694- return
98695-}
98696-
98697-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98698-
98699-func Getrandom(buf []byte, flags int) (n int, err error) {
98700- var _p0 unsafe.Pointer
98701- if len(buf) > 0 {
98702- _p0 = unsafe.Pointer(&buf[0])
98703- } else {
98704- _p0 = unsafe.Pointer(&_zero)
98705- }
98706- r0, _, e1 := Syscall(SYS_GETRANDOM, uintptr(_p0), uintptr(len(buf)), uintptr(flags))
98707- n = int(r0)
98708- if e1 != 0 {
98709- err = errnoErr(e1)
98710- }
98711- return
98712-}
98713-
98714-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98715-
98716-func Getrusage(who int, rusage *Rusage) (err error) {
98717- _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
98718- if e1 != 0 {
98719- err = errnoErr(e1)
98720- }
98721- return
98722-}
98723-
98724-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98725-
98726-func Getsid(pid int) (sid int, err error) {
98727- r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
98728- sid = int(r0)
98729- if e1 != 0 {
98730- err = errnoErr(e1)
98731- }
98732- return
98733-}
98734-
98735-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98736-
98737-func Gettid() (tid int) {
98738- r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
98739- tid = int(r0)
98740- return
98741-}
98742-
98743-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98744-
98745-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
98746- var _p0 *byte
98747- _p0, err = BytePtrFromString(path)
98748- if err != nil {
98749- return
98750- }
98751- var _p1 *byte
98752- _p1, err = BytePtrFromString(attr)
98753- if err != nil {
98754- return
98755- }
98756- var _p2 unsafe.Pointer
98757- if len(dest) > 0 {
98758- _p2 = unsafe.Pointer(&dest[0])
98759- } else {
98760- _p2 = unsafe.Pointer(&_zero)
98761- }
98762- r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
98763- sz = int(r0)
98764- if e1 != 0 {
98765- err = errnoErr(e1)
98766- }
98767- return
98768-}
98769-
98770-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98771-
98772-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
98773- var _p0 *byte
98774- _p0, err = BytePtrFromString(pathname)
98775- if err != nil {
98776- return
98777- }
98778- r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
98779- watchdesc = int(r0)
98780- if e1 != 0 {
98781- err = errnoErr(e1)
98782- }
98783- return
98784-}
98785-
98786-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98787-
98788-func InotifyInit1(flags int) (fd int, err error) {
98789- r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
98790- fd = int(r0)
98791- if e1 != 0 {
98792- err = errnoErr(e1)
98793- }
98794- return
98795-}
98796-
98797-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98798-
98799-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
98800- r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
98801- success = int(r0)
98802- if e1 != 0 {
98803- err = errnoErr(e1)
98804- }
98805- return
98806-}
98807-
98808-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98809-
98810-func Kill(pid int, sig syscall.Signal) (err error) {
98811- _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
98812- if e1 != 0 {
98813- err = errnoErr(e1)
98814- }
98815- return
98816-}
98817-
98818-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98819-
98820-func Klogctl(typ int, buf []byte) (n int, err error) {
98821- var _p0 unsafe.Pointer
98822- if len(buf) > 0 {
98823- _p0 = unsafe.Pointer(&buf[0])
98824- } else {
98825- _p0 = unsafe.Pointer(&_zero)
98826- }
98827- r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
98828- n = int(r0)
98829- if e1 != 0 {
98830- err = errnoErr(e1)
98831- }
98832- return
98833-}
98834-
98835-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98836-
98837-func Lgetxattr(path string, attr string, dest []byte) (sz int, err error) {
98838- var _p0 *byte
98839- _p0, err = BytePtrFromString(path)
98840- if err != nil {
98841- return
98842- }
98843- var _p1 *byte
98844- _p1, err = BytePtrFromString(attr)
98845- if err != nil {
98846- return
98847- }
98848- var _p2 unsafe.Pointer
98849- if len(dest) > 0 {
98850- _p2 = unsafe.Pointer(&dest[0])
98851- } else {
98852- _p2 = unsafe.Pointer(&_zero)
98853- }
98854- r0, _, e1 := Syscall6(SYS_LGETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
98855- sz = int(r0)
98856- if e1 != 0 {
98857- err = errnoErr(e1)
98858- }
98859- return
98860-}
98861-
98862-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98863-
98864-func Listxattr(path string, dest []byte) (sz int, err error) {
98865- var _p0 *byte
98866- _p0, err = BytePtrFromString(path)
98867- if err != nil {
98868- return
98869- }
98870- var _p1 unsafe.Pointer
98871- if len(dest) > 0 {
98872- _p1 = unsafe.Pointer(&dest[0])
98873- } else {
98874- _p1 = unsafe.Pointer(&_zero)
98875- }
98876- r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
98877- sz = int(r0)
98878- if e1 != 0 {
98879- err = errnoErr(e1)
98880- }
98881- return
98882-}
98883-
98884-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98885-
98886-func Llistxattr(path string, dest []byte) (sz int, err error) {
98887- var _p0 *byte
98888- _p0, err = BytePtrFromString(path)
98889- if err != nil {
98890- return
98891- }
98892- var _p1 unsafe.Pointer
98893- if len(dest) > 0 {
98894- _p1 = unsafe.Pointer(&dest[0])
98895- } else {
98896- _p1 = unsafe.Pointer(&_zero)
98897- }
98898- r0, _, e1 := Syscall(SYS_LLISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
98899- sz = int(r0)
98900- if e1 != 0 {
98901- err = errnoErr(e1)
98902- }
98903- return
98904-}
98905-
98906-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98907-
98908-func Lremovexattr(path string, attr string) (err error) {
98909- var _p0 *byte
98910- _p0, err = BytePtrFromString(path)
98911- if err != nil {
98912- return
98913- }
98914- var _p1 *byte
98915- _p1, err = BytePtrFromString(attr)
98916- if err != nil {
98917- return
98918- }
98919- _, _, e1 := Syscall(SYS_LREMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
98920- if e1 != 0 {
98921- err = errnoErr(e1)
98922- }
98923- return
98924-}
98925-
98926-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98927-
98928-func Lsetxattr(path string, attr string, data []byte, flags int) (err error) {
98929- var _p0 *byte
98930- _p0, err = BytePtrFromString(path)
98931- if err != nil {
98932- return
98933- }
98934- var _p1 *byte
98935- _p1, err = BytePtrFromString(attr)
98936- if err != nil {
98937- return
98938- }
98939- var _p2 unsafe.Pointer
98940- if len(data) > 0 {
98941- _p2 = unsafe.Pointer(&data[0])
98942- } else {
98943- _p2 = unsafe.Pointer(&_zero)
98944- }
98945- _, _, e1 := Syscall6(SYS_LSETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
98946- if e1 != 0 {
98947- err = errnoErr(e1)
98948- }
98949- return
98950-}
98951-
98952-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98953-
98954-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
98955- var _p0 *byte
98956- _p0, err = BytePtrFromString(path)
98957- if err != nil {
98958- return
98959- }
98960- _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
98961- if e1 != 0 {
98962- err = errnoErr(e1)
98963- }
98964- return
98965-}
98966-
98967-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98968-
98969-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
98970- var _p0 *byte
98971- _p0, err = BytePtrFromString(path)
98972- if err != nil {
98973- return
98974- }
98975- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
98976- if e1 != 0 {
98977- err = errnoErr(e1)
98978- }
98979- return
98980-}
98981-
98982-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98983-
98984-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
98985- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
98986- if e1 != 0 {
98987- err = errnoErr(e1)
98988- }
98989- return
98990-}
98991-
98992-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
98993-
98994-func PivotRoot(newroot string, putold string) (err error) {
98995- var _p0 *byte
98996- _p0, err = BytePtrFromString(newroot)
98997- if err != nil {
98998- return
98999- }
99000- var _p1 *byte
99001- _p1, err = BytePtrFromString(putold)
99002- if err != nil {
99003- return
99004- }
99005- _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
99006- if e1 != 0 {
99007- err = errnoErr(e1)
99008- }
99009- return
99010-}
99011-
99012-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99013-
99014-func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
99015- _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0)
99016- if e1 != 0 {
99017- err = errnoErr(e1)
99018- }
99019- return
99020-}
99021-
99022-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99023-
99024-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
99025- _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
99026- if e1 != 0 {
99027- err = errnoErr(e1)
99028- }
99029- return
99030-}
99031-
99032-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99033-
99034-func read(fd int, p []byte) (n int, err error) {
99035- var _p0 unsafe.Pointer
99036- if len(p) > 0 {
99037- _p0 = unsafe.Pointer(&p[0])
99038- } else {
99039- _p0 = unsafe.Pointer(&_zero)
99040- }
99041- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
99042- n = int(r0)
99043- if e1 != 0 {
99044- err = errnoErr(e1)
99045- }
99046- return
99047-}
99048-
99049-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99050-
99051-func Removexattr(path string, attr string) (err error) {
99052- var _p0 *byte
99053- _p0, err = BytePtrFromString(path)
99054- if err != nil {
99055- return
99056- }
99057- var _p1 *byte
99058- _p1, err = BytePtrFromString(attr)
99059- if err != nil {
99060- return
99061- }
99062- _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
99063- if e1 != 0 {
99064- err = errnoErr(e1)
99065- }
99066- return
99067-}
99068-
99069-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99070-
99071-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
99072- var _p0 *byte
99073- _p0, err = BytePtrFromString(oldpath)
99074- if err != nil {
99075- return
99076- }
99077- var _p1 *byte
99078- _p1, err = BytePtrFromString(newpath)
99079- if err != nil {
99080- return
99081- }
99082- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
99083- if e1 != 0 {
99084- err = errnoErr(e1)
99085- }
99086- return
99087-}
99088-
99089-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99090-
99091-func RequestKey(keyType string, description string, callback string, destRingid int) (id int, err error) {
99092- var _p0 *byte
99093- _p0, err = BytePtrFromString(keyType)
99094- if err != nil {
99095- return
99096- }
99097- var _p1 *byte
99098- _p1, err = BytePtrFromString(description)
99099- if err != nil {
99100- return
99101- }
99102- var _p2 *byte
99103- _p2, err = BytePtrFromString(callback)
99104- if err != nil {
99105- return
99106- }
99107- r0, _, e1 := Syscall6(SYS_REQUEST_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(destRingid), 0, 0)
99108- id = int(r0)
99109- if e1 != 0 {
99110- err = errnoErr(e1)
99111- }
99112- return
99113-}
99114-
99115-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99116-
99117-func Setdomainname(p []byte) (err error) {
99118- var _p0 unsafe.Pointer
99119- if len(p) > 0 {
99120- _p0 = unsafe.Pointer(&p[0])
99121- } else {
99122- _p0 = unsafe.Pointer(&_zero)
99123- }
99124- _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
99125- if e1 != 0 {
99126- err = errnoErr(e1)
99127- }
99128- return
99129-}
99130-
99131-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99132-
99133-func Sethostname(p []byte) (err error) {
99134- var _p0 unsafe.Pointer
99135- if len(p) > 0 {
99136- _p0 = unsafe.Pointer(&p[0])
99137- } else {
99138- _p0 = unsafe.Pointer(&_zero)
99139- }
99140- _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
99141- if e1 != 0 {
99142- err = errnoErr(e1)
99143- }
99144- return
99145-}
99146-
99147-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99148-
99149-func Setpgid(pid int, pgid int) (err error) {
99150- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
99151- if e1 != 0 {
99152- err = errnoErr(e1)
99153- }
99154- return
99155-}
99156-
99157-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99158-
99159-func Setsid() (pid int, err error) {
99160- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
99161- pid = int(r0)
99162- if e1 != 0 {
99163- err = errnoErr(e1)
99164- }
99165- return
99166-}
99167-
99168-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99169-
99170-func Settimeofday(tv *Timeval) (err error) {
99171- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
99172- if e1 != 0 {
99173- err = errnoErr(e1)
99174- }
99175- return
99176-}
99177-
99178-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99179-
99180-func Setns(fd int, nstype int) (err error) {
99181- _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
99182- if e1 != 0 {
99183- err = errnoErr(e1)
99184- }
99185- return
99186-}
99187-
99188-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99189-
99190-func Setpriority(which int, who int, prio int) (err error) {
99191- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
99192- if e1 != 0 {
99193- err = errnoErr(e1)
99194- }
99195- return
99196-}
99197-
99198-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99199-
99200-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
99201- var _p0 *byte
99202- _p0, err = BytePtrFromString(path)
99203- if err != nil {
99204- return
99205- }
99206- var _p1 *byte
99207- _p1, err = BytePtrFromString(attr)
99208- if err != nil {
99209- return
99210- }
99211- var _p2 unsafe.Pointer
99212- if len(data) > 0 {
99213- _p2 = unsafe.Pointer(&data[0])
99214- } else {
99215- _p2 = unsafe.Pointer(&_zero)
99216- }
99217- _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
99218- if e1 != 0 {
99219- err = errnoErr(e1)
99220- }
99221- return
99222-}
99223-
99224-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99225-
99226-func Sync() {
99227- Syscall(SYS_SYNC, 0, 0, 0)
99228- return
99229-}
99230-
99231-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99232-
99233-func Syncfs(fd int) (err error) {
99234- _, _, e1 := Syscall(SYS_SYNCFS, uintptr(fd), 0, 0)
99235+func fanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname *byte) (err error) {
99236+ _, _, e1 := Syscall6(SYS_FANOTIFY_MARK, uintptr(fd), uintptr(flags), uintptr(mask), uintptr(dirFd), uintptr(unsafe.Pointer(pathname)), 0)
99237 if e1 != 0 {
99238 err = errnoErr(e1)
99239 }
99240@@ -1244,8 +24,8 @@ func Syncfs(fd int) (err error) {
99241
99242 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99243
99244-func Sysinfo(info *Sysinfo_t) (err error) {
99245- _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
99246+func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
99247+ _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
99248 if e1 != 0 {
99249 err = errnoErr(e1)
99250 }
99251@@ -1265,62 +45,8 @@ func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
99252
99253 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99254
99255-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
99256- _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
99257- if e1 != 0 {
99258- err = errnoErr(e1)
99259- }
99260- return
99261-}
99262-
99263-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99264-
99265-func Times(tms *Tms) (ticks uintptr, err error) {
99266- r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
99267- ticks = uintptr(r0)
99268- if e1 != 0 {
99269- err = errnoErr(e1)
99270- }
99271- return
99272-}
99273-
99274-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99275-
99276-func Umask(mask int) (oldmask int) {
99277- r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
99278- oldmask = int(r0)
99279- return
99280-}
99281-
99282-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99283-
99284-func Uname(buf *Utsname) (err error) {
99285- _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
99286- if e1 != 0 {
99287- err = errnoErr(e1)
99288- }
99289- return
99290-}
99291-
99292-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99293-
99294-func Unmount(target string, flags int) (err error) {
99295- var _p0 *byte
99296- _p0, err = BytePtrFromString(target)
99297- if err != nil {
99298- return
99299- }
99300- _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
99301- if e1 != 0 {
99302- err = errnoErr(e1)
99303- }
99304- return
99305-}
99306-
99307-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99308-
99309-func Unshare(flags int) (err error) {
99310- _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
99311+func Dup2(oldfd int, newfd int) (err error) {
99312+ _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
99313 if e1 != 0 {
99314 err = errnoErr(e1)
99315 }
99316@@ -1329,8 +55,9 @@ func Unshare(flags int) (err error) {
99317
99318 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99319
99320-func Ustat(dev int, ubuf *Ustat_t) (err error) {
99321- _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
99322+func EpollCreate(size int) (fd int, err error) {
99323+ r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
99324+ fd = int(r0)
99325 if e1 != 0 {
99326 err = errnoErr(e1)
99327 }
99328@@ -1339,46 +66,14 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) {
99329
99330 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99331
99332-func write(fd int, p []byte) (n int, err error) {
99333+func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
99334 var _p0 unsafe.Pointer
99335- if len(p) > 0 {
99336- _p0 = unsafe.Pointer(&p[0])
99337+ if len(events) > 0 {
99338+ _p0 = unsafe.Pointer(&events[0])
99339 } else {
99340 _p0 = unsafe.Pointer(&_zero)
99341 }
99342- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
99343- n = int(r0)
99344- if e1 != 0 {
99345- err = errnoErr(e1)
99346- }
99347- return
99348-}
99349-
99350-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99351-
99352-func exitThread(code int) (err error) {
99353- _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
99354- if e1 != 0 {
99355- err = errnoErr(e1)
99356- }
99357- return
99358-}
99359-
99360-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99361-
99362-func readlen(fd int, p *byte, np int) (n int, err error) {
99363- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
99364- n = int(r0)
99365- if e1 != 0 {
99366- err = errnoErr(e1)
99367- }
99368- return
99369-}
99370-
99371-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99372-
99373-func writelen(fd int, p *byte, np int) (n int, err error) {
99374- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
99375+ r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
99376 n = int(r0)
99377 if e1 != 0 {
99378 err = errnoErr(e1)
99379@@ -1388,135 +83,8 @@ func writelen(fd int, p *byte, np int) (n int, err error) {
99380
99381 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99382
99383-func munmap(addr uintptr, length uintptr) (err error) {
99384- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
99385- if e1 != 0 {
99386- err = errnoErr(e1)
99387- }
99388- return
99389-}
99390-
99391-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99392-
99393-func Madvise(b []byte, advice int) (err error) {
99394- var _p0 unsafe.Pointer
99395- if len(b) > 0 {
99396- _p0 = unsafe.Pointer(&b[0])
99397- } else {
99398- _p0 = unsafe.Pointer(&_zero)
99399- }
99400- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
99401- if e1 != 0 {
99402- err = errnoErr(e1)
99403- }
99404- return
99405-}
99406-
99407-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99408-
99409-func Mprotect(b []byte, prot int) (err error) {
99410- var _p0 unsafe.Pointer
99411- if len(b) > 0 {
99412- _p0 = unsafe.Pointer(&b[0])
99413- } else {
99414- _p0 = unsafe.Pointer(&_zero)
99415- }
99416- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
99417- if e1 != 0 {
99418- err = errnoErr(e1)
99419- }
99420- return
99421-}
99422-
99423-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99424-
99425-func Mlock(b []byte) (err error) {
99426- var _p0 unsafe.Pointer
99427- if len(b) > 0 {
99428- _p0 = unsafe.Pointer(&b[0])
99429- } else {
99430- _p0 = unsafe.Pointer(&_zero)
99431- }
99432- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
99433- if e1 != 0 {
99434- err = errnoErr(e1)
99435- }
99436- return
99437-}
99438-
99439-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99440-
99441-func Munlock(b []byte) (err error) {
99442- var _p0 unsafe.Pointer
99443- if len(b) > 0 {
99444- _p0 = unsafe.Pointer(&b[0])
99445- } else {
99446- _p0 = unsafe.Pointer(&_zero)
99447- }
99448- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
99449- if e1 != 0 {
99450- err = errnoErr(e1)
99451- }
99452- return
99453-}
99454-
99455-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99456-
99457-func Mlockall(flags int) (err error) {
99458- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
99459- if e1 != 0 {
99460- err = errnoErr(e1)
99461- }
99462- return
99463-}
99464-
99465-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99466-
99467-func Msync(b []byte, flags int) (err error) {
99468- var _p0 unsafe.Pointer
99469- if len(b) > 0 {
99470- _p0 = unsafe.Pointer(&b[0])
99471- } else {
99472- _p0 = unsafe.Pointer(&_zero)
99473- }
99474- _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags))
99475- if e1 != 0 {
99476- err = errnoErr(e1)
99477- }
99478- return
99479-}
99480-
99481-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99482-
99483-func Munlockall() (err error) {
99484- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
99485- if e1 != 0 {
99486- err = errnoErr(e1)
99487- }
99488- return
99489-}
99490-
99491-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99492-
99493-func Dup2(oldfd int, newfd int) (err error) {
99494- _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
99495- if e1 != 0 {
99496- err = errnoErr(e1)
99497- }
99498- return
99499-}
99500-
99501-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99502-
99503-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
99504- var _p0 unsafe.Pointer
99505- if len(events) > 0 {
99506- _p0 = unsafe.Pointer(&events[0])
99507- } else {
99508- _p0 = unsafe.Pointer(&_zero)
99509- }
99510- r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
99511- n = int(r0)
99512+func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
99513+ _, _, e1 := Syscall6(SYS_FADVISE64, uintptr(fd), uintptr(offset), uintptr(length), uintptr(advice), 0, 0)
99514 if e1 != 0 {
99515 err = errnoErr(e1)
99516 }
99517@@ -1556,7 +124,7 @@ func Ftruncate(fd int, length int64) (err error) {
99518 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99519
99520 func Getegid() (egid int) {
99521- r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
99522+ r0, _ := RawSyscallNoError(SYS_GETEGID, 0, 0, 0)
99523 egid = int(r0)
99524 return
99525 }
99526@@ -1564,7 +132,7 @@ func Getegid() (egid int) {
99527 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99528
99529 func Geteuid() (euid int) {
99530- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
99531+ r0, _ := RawSyscallNoError(SYS_GETEUID, 0, 0, 0)
99532 euid = int(r0)
99533 return
99534 }
99535@@ -1572,7 +140,7 @@ func Geteuid() (euid int) {
99536 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99537
99538 func Getgid() (gid int) {
99539- r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
99540+ r0, _ := RawSyscallNoError(SYS_GETGID, 0, 0, 0)
99541 gid = int(r0)
99542 return
99543 }
99544@@ -1590,7 +158,7 @@ func Getrlimit(resource int, rlim *Rlimit) (err error) {
99545 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99546
99547 func Getuid() (uid int) {
99548- r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
99549+ r0, _ := RawSyscallNoError(SYS_GETUID, 0, 0, 0)
99550 uid = int(r0)
99551 return
99552 }
99553@@ -1666,9 +234,18 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
99554
99555 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99556
99557-func Seek(fd int, offset int64, whence int) (off int64, err error) {
99558- r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
99559- off = int64(r0)
99560+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
99561+ var _p0 *byte
99562+ _p0, err = BytePtrFromString(oldpath)
99563+ if err != nil {
99564+ return
99565+ }
99566+ var _p1 *byte
99567+ _p1, err = BytePtrFromString(newpath)
99568+ if err != nil {
99569+ return
99570+ }
99571+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
99572 if e1 != 0 {
99573 err = errnoErr(e1)
99574 }
99575@@ -1677,9 +254,9 @@ func Seek(fd int, offset int64, whence int) (off int64, err error) {
99576
99577 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99578
99579-func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
99580- r0, _, e1 := Syscall6(SYS_PSELECT6, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
99581- n = int(r0)
99582+func Seek(fd int, offset int64, whence int) (off int64, err error) {
99583+ r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
99584+ off = int64(r0)
99585 if e1 != 0 {
99586 err = errnoErr(e1)
99587 }
99588@@ -1699,8 +276,9 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
99589
99590 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99591
99592-func Setfsgid(gid int) (err error) {
99593- _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
99594+func setfsgid(gid int) (prev int, err error) {
99595+ r0, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
99596+ prev = int(r0)
99597 if e1 != 0 {
99598 err = errnoErr(e1)
99599 }
99600@@ -1709,8 +287,9 @@ func Setfsgid(gid int) (err error) {
99601
99602 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99603
99604-func Setfsuid(uid int) (err error) {
99605- _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
99606+func setfsuid(uid int) (prev int, err error) {
99607+ r0, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
99608+ prev = int(r0)
99609 if e1 != 0 {
99610 err = errnoErr(e1)
99611 }
99612@@ -1830,6 +409,16 @@ func Truncate(path string, length int64) (err error) {
99613
99614 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99615
99616+func Ustat(dev int, ubuf *Ustat_t) (err error) {
99617+ _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
99618+ if e1 != 0 {
99619+ err = errnoErr(e1)
99620+ }
99621+ return
99622+}
99623+
99624+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99625+
99626 func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
99627 r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
99628 fd = int(r0)
99629@@ -2020,6 +609,21 @@ func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int6
99630
99631 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99632
99633+func futimesat(dirfd int, path string, times *[2]Timeval) (err error) {
99634+ var _p0 *byte
99635+ _p0, err = BytePtrFromString(path)
99636+ if err != nil {
99637+ return
99638+ }
99639+ _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)))
99640+ if e1 != 0 {
99641+ err = errnoErr(e1)
99642+ }
99643+ return
99644+}
99645+
99646+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99647+
99648 func Gettimeofday(tv *Timeval) (err error) {
99649 _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
99650 if e1 != 0 {
99651@@ -2045,8 +649,13 @@ func Utime(path string, buf *Utimbuf) (err error) {
99652
99653 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99654
99655-func pipe2(p *[2]_C_int, flags int) (err error) {
99656- _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
99657+func utimes(path string, times *[2]Timeval) (err error) {
99658+ var _p0 *byte
99659+ _p0, err = BytePtrFromString(path)
99660+ if err != nil {
99661+ return
99662+ }
99663+ _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
99664 if e1 != 0 {
99665 err = errnoErr(e1)
99666 }
99667@@ -2065,6 +674,21 @@ func fstat(fd int, st *stat_t) (err error) {
99668
99669 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99670
99671+func fstatat(dirfd int, path string, st *stat_t, flags int) (err error) {
99672+ var _p0 *byte
99673+ _p0, err = BytePtrFromString(path)
99674+ if err != nil {
99675+ return
99676+ }
99677+ _, _, e1 := Syscall6(SYS_NEWFSTATAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(st)), uintptr(flags), 0, 0)
99678+ if e1 != 0 {
99679+ err = errnoErr(e1)
99680+ }
99681+ return
99682+}
99683+
99684+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99685+
99686 func lstat(path string, st *stat_t) (err error) {
99687 var _p0 *byte
99688 _p0, err = BytePtrFromString(path)
99689diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go
99690index 964591e5..84596b30 100644
99691--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go
99692+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go
99693@@ -1,4 +1,4 @@
99694-// mksyscall.pl -l32 -arm -tags linux,mipsle syscall_linux.go syscall_linux_mipsx.go
99695+// go run mksyscall.go -l32 -arm -tags linux,mipsle syscall_linux.go syscall_linux_mipsx.go
99696 // Code generated by the command above; see README.md. DO NOT EDIT.
99697
99698 // +build linux,mipsle
99699@@ -14,1228 +14,8 @@ var _ syscall.Errno
99700
99701 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99702
99703-func fchmodat(dirfd int, path string, mode uint32) (err error) {
99704- var _p0 *byte
99705- _p0, err = BytePtrFromString(path)
99706- if err != nil {
99707- return
99708- }
99709- _, _, e1 := Syscall(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
99710- if e1 != 0 {
99711- err = errnoErr(e1)
99712- }
99713- return
99714-}
99715-
99716-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99717-
99718-func ioctl(fd int, req uint, arg uintptr) (err error) {
99719- _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
99720- if e1 != 0 {
99721- err = errnoErr(e1)
99722- }
99723- return
99724-}
99725-
99726-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99727-
99728-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
99729- var _p0 *byte
99730- _p0, err = BytePtrFromString(oldpath)
99731- if err != nil {
99732- return
99733- }
99734- var _p1 *byte
99735- _p1, err = BytePtrFromString(newpath)
99736- if err != nil {
99737- return
99738- }
99739- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
99740- if e1 != 0 {
99741- err = errnoErr(e1)
99742- }
99743- return
99744-}
99745-
99746-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99747-
99748-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
99749- var _p0 *byte
99750- _p0, err = BytePtrFromString(path)
99751- if err != nil {
99752- return
99753- }
99754- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
99755- fd = int(r0)
99756- if e1 != 0 {
99757- err = errnoErr(e1)
99758- }
99759- return
99760-}
99761-
99762-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99763-
99764-func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
99765- r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
99766- n = int(r0)
99767- if e1 != 0 {
99768- err = errnoErr(e1)
99769- }
99770- return
99771-}
99772-
99773-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99774-
99775-func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
99776- var _p0 *byte
99777- _p0, err = BytePtrFromString(path)
99778- if err != nil {
99779- return
99780- }
99781- var _p1 unsafe.Pointer
99782- if len(buf) > 0 {
99783- _p1 = unsafe.Pointer(&buf[0])
99784- } else {
99785- _p1 = unsafe.Pointer(&_zero)
99786- }
99787- r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
99788- n = int(r0)
99789- if e1 != 0 {
99790- err = errnoErr(e1)
99791- }
99792- return
99793-}
99794-
99795-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99796-
99797-func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
99798- var _p0 *byte
99799- _p0, err = BytePtrFromString(oldpath)
99800- if err != nil {
99801- return
99802- }
99803- var _p1 *byte
99804- _p1, err = BytePtrFromString(newpath)
99805- if err != nil {
99806- return
99807- }
99808- _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
99809- if e1 != 0 {
99810- err = errnoErr(e1)
99811- }
99812- return
99813-}
99814-
99815-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99816-
99817-func Unlinkat(dirfd int, path string, flags int) (err error) {
99818- var _p0 *byte
99819- _p0, err = BytePtrFromString(path)
99820- if err != nil {
99821- return
99822- }
99823- _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
99824- if e1 != 0 {
99825- err = errnoErr(e1)
99826- }
99827- return
99828-}
99829-
99830-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99831-
99832-func utimes(path string, times *[2]Timeval) (err error) {
99833- var _p0 *byte
99834- _p0, err = BytePtrFromString(path)
99835- if err != nil {
99836- return
99837- }
99838- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
99839- if e1 != 0 {
99840- err = errnoErr(e1)
99841- }
99842- return
99843-}
99844-
99845-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99846-
99847-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
99848- var _p0 *byte
99849- _p0, err = BytePtrFromString(path)
99850- if err != nil {
99851- return
99852- }
99853- _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
99854- if e1 != 0 {
99855- err = errnoErr(e1)
99856- }
99857- return
99858-}
99859-
99860-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99861-
99862-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
99863- _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
99864- if e1 != 0 {
99865- err = errnoErr(e1)
99866- }
99867- return
99868-}
99869-
99870-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99871-
99872-func Getcwd(buf []byte) (n int, err error) {
99873- var _p0 unsafe.Pointer
99874- if len(buf) > 0 {
99875- _p0 = unsafe.Pointer(&buf[0])
99876- } else {
99877- _p0 = unsafe.Pointer(&_zero)
99878- }
99879- r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
99880- n = int(r0)
99881- if e1 != 0 {
99882- err = errnoErr(e1)
99883- }
99884- return
99885-}
99886-
99887-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99888-
99889-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
99890- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
99891- wpid = int(r0)
99892- if e1 != 0 {
99893- err = errnoErr(e1)
99894- }
99895- return
99896-}
99897-
99898-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99899-
99900-func KeyctlInt(cmd int, arg2 int, arg3 int, arg4 int, arg5 int) (ret int, err error) {
99901- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
99902- ret = int(r0)
99903- if e1 != 0 {
99904- err = errnoErr(e1)
99905- }
99906- return
99907-}
99908-
99909-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99910-
99911-func KeyctlBuffer(cmd int, arg2 int, buf []byte, arg5 int) (ret int, err error) {
99912- var _p0 unsafe.Pointer
99913- if len(buf) > 0 {
99914- _p0 = unsafe.Pointer(&buf[0])
99915- } else {
99916- _p0 = unsafe.Pointer(&_zero)
99917- }
99918- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(buf)), uintptr(arg5), 0)
99919- ret = int(r0)
99920- if e1 != 0 {
99921- err = errnoErr(e1)
99922- }
99923- return
99924-}
99925-
99926-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99927-
99928-func keyctlJoin(cmd int, arg2 string) (ret int, err error) {
99929- var _p0 *byte
99930- _p0, err = BytePtrFromString(arg2)
99931- if err != nil {
99932- return
99933- }
99934- r0, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0)
99935- ret = int(r0)
99936- if e1 != 0 {
99937- err = errnoErr(e1)
99938- }
99939- return
99940-}
99941-
99942-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99943-
99944-func keyctlSearch(cmd int, arg2 int, arg3 string, arg4 string, arg5 int) (ret int, err error) {
99945- var _p0 *byte
99946- _p0, err = BytePtrFromString(arg3)
99947- if err != nil {
99948- return
99949- }
99950- var _p1 *byte
99951- _p1, err = BytePtrFromString(arg4)
99952- if err != nil {
99953- return
99954- }
99955- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(arg5), 0)
99956- ret = int(r0)
99957- if e1 != 0 {
99958- err = errnoErr(e1)
99959- }
99960- return
99961-}
99962-
99963-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99964-
99965-func keyctlIOV(cmd int, arg2 int, payload []Iovec, arg5 int) (err error) {
99966- var _p0 unsafe.Pointer
99967- if len(payload) > 0 {
99968- _p0 = unsafe.Pointer(&payload[0])
99969- } else {
99970- _p0 = unsafe.Pointer(&_zero)
99971- }
99972- _, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(payload)), uintptr(arg5), 0)
99973- if e1 != 0 {
99974- err = errnoErr(e1)
99975- }
99976- return
99977-}
99978-
99979-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99980-
99981-func keyctlDH(cmd int, arg2 *KeyctlDHParams, buf []byte) (ret int, err error) {
99982- var _p0 unsafe.Pointer
99983- if len(buf) > 0 {
99984- _p0 = unsafe.Pointer(&buf[0])
99985- } else {
99986- _p0 = unsafe.Pointer(&_zero)
99987- }
99988- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(arg2)), uintptr(_p0), uintptr(len(buf)), 0, 0)
99989- ret = int(r0)
99990- if e1 != 0 {
99991- err = errnoErr(e1)
99992- }
99993- return
99994-}
99995-
99996-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
99997-
99998-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
99999- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
100000- if e1 != 0 {
100001- err = errnoErr(e1)
100002- }
100003- return
100004-}
100005-
100006-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100007-
100008-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
100009- var _p0 *byte
100010- _p0, err = BytePtrFromString(arg)
100011- if err != nil {
100012- return
100013- }
100014- _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
100015- if e1 != 0 {
100016- err = errnoErr(e1)
100017- }
100018- return
100019-}
100020-
100021-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100022-
100023-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
100024- var _p0 *byte
100025- _p0, err = BytePtrFromString(source)
100026- if err != nil {
100027- return
100028- }
100029- var _p1 *byte
100030- _p1, err = BytePtrFromString(target)
100031- if err != nil {
100032- return
100033- }
100034- var _p2 *byte
100035- _p2, err = BytePtrFromString(fstype)
100036- if err != nil {
100037- return
100038- }
100039- _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
100040- if e1 != 0 {
100041- err = errnoErr(e1)
100042- }
100043- return
100044-}
100045-
100046-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100047-
100048-func Acct(path string) (err error) {
100049- var _p0 *byte
100050- _p0, err = BytePtrFromString(path)
100051- if err != nil {
100052- return
100053- }
100054- _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
100055- if e1 != 0 {
100056- err = errnoErr(e1)
100057- }
100058- return
100059-}
100060-
100061-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100062-
100063-func AddKey(keyType string, description string, payload []byte, ringid int) (id int, err error) {
100064- var _p0 *byte
100065- _p0, err = BytePtrFromString(keyType)
100066- if err != nil {
100067- return
100068- }
100069- var _p1 *byte
100070- _p1, err = BytePtrFromString(description)
100071- if err != nil {
100072- return
100073- }
100074- var _p2 unsafe.Pointer
100075- if len(payload) > 0 {
100076- _p2 = unsafe.Pointer(&payload[0])
100077- } else {
100078- _p2 = unsafe.Pointer(&_zero)
100079- }
100080- r0, _, e1 := Syscall6(SYS_ADD_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(payload)), uintptr(ringid), 0)
100081- id = int(r0)
100082- if e1 != 0 {
100083- err = errnoErr(e1)
100084- }
100085- return
100086-}
100087-
100088-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100089-
100090-func Adjtimex(buf *Timex) (state int, err error) {
100091- r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
100092- state = int(r0)
100093- if e1 != 0 {
100094- err = errnoErr(e1)
100095- }
100096- return
100097-}
100098-
100099-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100100-
100101-func Chdir(path string) (err error) {
100102- var _p0 *byte
100103- _p0, err = BytePtrFromString(path)
100104- if err != nil {
100105- return
100106- }
100107- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
100108- if e1 != 0 {
100109- err = errnoErr(e1)
100110- }
100111- return
100112-}
100113-
100114-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100115-
100116-func Chroot(path string) (err error) {
100117- var _p0 *byte
100118- _p0, err = BytePtrFromString(path)
100119- if err != nil {
100120- return
100121- }
100122- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
100123- if e1 != 0 {
100124- err = errnoErr(e1)
100125- }
100126- return
100127-}
100128-
100129-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100130-
100131-func ClockGettime(clockid int32, time *Timespec) (err error) {
100132- _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
100133- if e1 != 0 {
100134- err = errnoErr(e1)
100135- }
100136- return
100137-}
100138-
100139-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100140-
100141-func Close(fd int) (err error) {
100142- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
100143- if e1 != 0 {
100144- err = errnoErr(e1)
100145- }
100146- return
100147-}
100148-
100149-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100150-
100151-func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
100152- r0, _, e1 := Syscall6(SYS_COPY_FILE_RANGE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
100153- n = int(r0)
100154- if e1 != 0 {
100155- err = errnoErr(e1)
100156- }
100157- return
100158-}
100159-
100160-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100161-
100162-func Dup(oldfd int) (fd int, err error) {
100163- r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
100164- fd = int(r0)
100165- if e1 != 0 {
100166- err = errnoErr(e1)
100167- }
100168- return
100169-}
100170-
100171-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100172-
100173-func Dup3(oldfd int, newfd int, flags int) (err error) {
100174- _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
100175- if e1 != 0 {
100176- err = errnoErr(e1)
100177- }
100178- return
100179-}
100180-
100181-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100182-
100183-func EpollCreate(size int) (fd int, err error) {
100184- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
100185- fd = int(r0)
100186- if e1 != 0 {
100187- err = errnoErr(e1)
100188- }
100189- return
100190-}
100191-
100192-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100193-
100194-func EpollCreate1(flag int) (fd int, err error) {
100195- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
100196- fd = int(r0)
100197- if e1 != 0 {
100198- err = errnoErr(e1)
100199- }
100200- return
100201-}
100202-
100203-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100204-
100205-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
100206- _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
100207- if e1 != 0 {
100208- err = errnoErr(e1)
100209- }
100210- return
100211-}
100212-
100213-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100214-
100215-func Eventfd(initval uint, flags int) (fd int, err error) {
100216- r0, _, e1 := Syscall(SYS_EVENTFD2, uintptr(initval), uintptr(flags), 0)
100217- fd = int(r0)
100218- if e1 != 0 {
100219- err = errnoErr(e1)
100220- }
100221- return
100222-}
100223-
100224-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100225-
100226-func Exit(code int) {
100227- Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
100228- return
100229-}
100230-
100231-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100232-
100233-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
100234- var _p0 *byte
100235- _p0, err = BytePtrFromString(path)
100236- if err != nil {
100237- return
100238- }
100239- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
100240- if e1 != 0 {
100241- err = errnoErr(e1)
100242- }
100243- return
100244-}
100245-
100246-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100247-
100248-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
100249- _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(off>>32), uintptr(len), uintptr(len>>32))
100250- if e1 != 0 {
100251- err = errnoErr(e1)
100252- }
100253- return
100254-}
100255-
100256-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100257-
100258-func Fchdir(fd int) (err error) {
100259- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
100260- if e1 != 0 {
100261- err = errnoErr(e1)
100262- }
100263- return
100264-}
100265-
100266-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100267-
100268-func Fchmod(fd int, mode uint32) (err error) {
100269- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
100270- if e1 != 0 {
100271- err = errnoErr(e1)
100272- }
100273- return
100274-}
100275-
100276-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100277-
100278-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
100279- var _p0 *byte
100280- _p0, err = BytePtrFromString(path)
100281- if err != nil {
100282- return
100283- }
100284- _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
100285- if e1 != 0 {
100286- err = errnoErr(e1)
100287- }
100288- return
100289-}
100290-
100291-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100292-
100293-func fcntl(fd int, cmd int, arg int) (val int, err error) {
100294- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
100295- val = int(r0)
100296- if e1 != 0 {
100297- err = errnoErr(e1)
100298- }
100299- return
100300-}
100301-
100302-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100303-
100304-func Fdatasync(fd int) (err error) {
100305- _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
100306- if e1 != 0 {
100307- err = errnoErr(e1)
100308- }
100309- return
100310-}
100311-
100312-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100313-
100314-func Flock(fd int, how int) (err error) {
100315- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
100316- if e1 != 0 {
100317- err = errnoErr(e1)
100318- }
100319- return
100320-}
100321-
100322-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100323-
100324-func Fsync(fd int) (err error) {
100325- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
100326- if e1 != 0 {
100327- err = errnoErr(e1)
100328- }
100329- return
100330-}
100331-
100332-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100333-
100334-func Getdents(fd int, buf []byte) (n int, err error) {
100335- var _p0 unsafe.Pointer
100336- if len(buf) > 0 {
100337- _p0 = unsafe.Pointer(&buf[0])
100338- } else {
100339- _p0 = unsafe.Pointer(&_zero)
100340- }
100341- r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
100342- n = int(r0)
100343- if e1 != 0 {
100344- err = errnoErr(e1)
100345- }
100346- return
100347-}
100348-
100349-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100350-
100351-func Getpgid(pid int) (pgid int, err error) {
100352- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
100353- pgid = int(r0)
100354- if e1 != 0 {
100355- err = errnoErr(e1)
100356- }
100357- return
100358-}
100359-
100360-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100361-
100362-func Getpid() (pid int) {
100363- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
100364- pid = int(r0)
100365- return
100366-}
100367-
100368-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100369-
100370-func Getppid() (ppid int) {
100371- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
100372- ppid = int(r0)
100373- return
100374-}
100375-
100376-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100377-
100378-func Getpriority(which int, who int) (prio int, err error) {
100379- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
100380- prio = int(r0)
100381- if e1 != 0 {
100382- err = errnoErr(e1)
100383- }
100384- return
100385-}
100386-
100387-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100388-
100389-func Getrandom(buf []byte, flags int) (n int, err error) {
100390- var _p0 unsafe.Pointer
100391- if len(buf) > 0 {
100392- _p0 = unsafe.Pointer(&buf[0])
100393- } else {
100394- _p0 = unsafe.Pointer(&_zero)
100395- }
100396- r0, _, e1 := Syscall(SYS_GETRANDOM, uintptr(_p0), uintptr(len(buf)), uintptr(flags))
100397- n = int(r0)
100398- if e1 != 0 {
100399- err = errnoErr(e1)
100400- }
100401- return
100402-}
100403-
100404-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100405-
100406-func Getrusage(who int, rusage *Rusage) (err error) {
100407- _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
100408- if e1 != 0 {
100409- err = errnoErr(e1)
100410- }
100411- return
100412-}
100413-
100414-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100415-
100416-func Getsid(pid int) (sid int, err error) {
100417- r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
100418- sid = int(r0)
100419- if e1 != 0 {
100420- err = errnoErr(e1)
100421- }
100422- return
100423-}
100424-
100425-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100426-
100427-func Gettid() (tid int) {
100428- r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
100429- tid = int(r0)
100430- return
100431-}
100432-
100433-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100434-
100435-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
100436- var _p0 *byte
100437- _p0, err = BytePtrFromString(path)
100438- if err != nil {
100439- return
100440- }
100441- var _p1 *byte
100442- _p1, err = BytePtrFromString(attr)
100443- if err != nil {
100444- return
100445- }
100446- var _p2 unsafe.Pointer
100447- if len(dest) > 0 {
100448- _p2 = unsafe.Pointer(&dest[0])
100449- } else {
100450- _p2 = unsafe.Pointer(&_zero)
100451- }
100452- r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
100453- sz = int(r0)
100454- if e1 != 0 {
100455- err = errnoErr(e1)
100456- }
100457- return
100458-}
100459-
100460-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100461-
100462-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
100463- var _p0 *byte
100464- _p0, err = BytePtrFromString(pathname)
100465- if err != nil {
100466- return
100467- }
100468- r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
100469- watchdesc = int(r0)
100470- if e1 != 0 {
100471- err = errnoErr(e1)
100472- }
100473- return
100474-}
100475-
100476-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100477-
100478-func InotifyInit1(flags int) (fd int, err error) {
100479- r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
100480- fd = int(r0)
100481- if e1 != 0 {
100482- err = errnoErr(e1)
100483- }
100484- return
100485-}
100486-
100487-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100488-
100489-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
100490- r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
100491- success = int(r0)
100492- if e1 != 0 {
100493- err = errnoErr(e1)
100494- }
100495- return
100496-}
100497-
100498-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100499-
100500-func Kill(pid int, sig syscall.Signal) (err error) {
100501- _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
100502- if e1 != 0 {
100503- err = errnoErr(e1)
100504- }
100505- return
100506-}
100507-
100508-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100509-
100510-func Klogctl(typ int, buf []byte) (n int, err error) {
100511- var _p0 unsafe.Pointer
100512- if len(buf) > 0 {
100513- _p0 = unsafe.Pointer(&buf[0])
100514- } else {
100515- _p0 = unsafe.Pointer(&_zero)
100516- }
100517- r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
100518- n = int(r0)
100519- if e1 != 0 {
100520- err = errnoErr(e1)
100521- }
100522- return
100523-}
100524-
100525-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100526-
100527-func Lgetxattr(path string, attr string, dest []byte) (sz int, err error) {
100528- var _p0 *byte
100529- _p0, err = BytePtrFromString(path)
100530- if err != nil {
100531- return
100532- }
100533- var _p1 *byte
100534- _p1, err = BytePtrFromString(attr)
100535- if err != nil {
100536- return
100537- }
100538- var _p2 unsafe.Pointer
100539- if len(dest) > 0 {
100540- _p2 = unsafe.Pointer(&dest[0])
100541- } else {
100542- _p2 = unsafe.Pointer(&_zero)
100543- }
100544- r0, _, e1 := Syscall6(SYS_LGETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
100545- sz = int(r0)
100546- if e1 != 0 {
100547- err = errnoErr(e1)
100548- }
100549- return
100550-}
100551-
100552-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100553-
100554-func Listxattr(path string, dest []byte) (sz int, err error) {
100555- var _p0 *byte
100556- _p0, err = BytePtrFromString(path)
100557- if err != nil {
100558- return
100559- }
100560- var _p1 unsafe.Pointer
100561- if len(dest) > 0 {
100562- _p1 = unsafe.Pointer(&dest[0])
100563- } else {
100564- _p1 = unsafe.Pointer(&_zero)
100565- }
100566- r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
100567- sz = int(r0)
100568- if e1 != 0 {
100569- err = errnoErr(e1)
100570- }
100571- return
100572-}
100573-
100574-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100575-
100576-func Llistxattr(path string, dest []byte) (sz int, err error) {
100577- var _p0 *byte
100578- _p0, err = BytePtrFromString(path)
100579- if err != nil {
100580- return
100581- }
100582- var _p1 unsafe.Pointer
100583- if len(dest) > 0 {
100584- _p1 = unsafe.Pointer(&dest[0])
100585- } else {
100586- _p1 = unsafe.Pointer(&_zero)
100587- }
100588- r0, _, e1 := Syscall(SYS_LLISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
100589- sz = int(r0)
100590- if e1 != 0 {
100591- err = errnoErr(e1)
100592- }
100593- return
100594-}
100595-
100596-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100597-
100598-func Lremovexattr(path string, attr string) (err error) {
100599- var _p0 *byte
100600- _p0, err = BytePtrFromString(path)
100601- if err != nil {
100602- return
100603- }
100604- var _p1 *byte
100605- _p1, err = BytePtrFromString(attr)
100606- if err != nil {
100607- return
100608- }
100609- _, _, e1 := Syscall(SYS_LREMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
100610- if e1 != 0 {
100611- err = errnoErr(e1)
100612- }
100613- return
100614-}
100615-
100616-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100617-
100618-func Lsetxattr(path string, attr string, data []byte, flags int) (err error) {
100619- var _p0 *byte
100620- _p0, err = BytePtrFromString(path)
100621- if err != nil {
100622- return
100623- }
100624- var _p1 *byte
100625- _p1, err = BytePtrFromString(attr)
100626- if err != nil {
100627- return
100628- }
100629- var _p2 unsafe.Pointer
100630- if len(data) > 0 {
100631- _p2 = unsafe.Pointer(&data[0])
100632- } else {
100633- _p2 = unsafe.Pointer(&_zero)
100634- }
100635- _, _, e1 := Syscall6(SYS_LSETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
100636- if e1 != 0 {
100637- err = errnoErr(e1)
100638- }
100639- return
100640-}
100641-
100642-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100643-
100644-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
100645- var _p0 *byte
100646- _p0, err = BytePtrFromString(path)
100647- if err != nil {
100648- return
100649- }
100650- _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
100651- if e1 != 0 {
100652- err = errnoErr(e1)
100653- }
100654- return
100655-}
100656-
100657-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100658-
100659-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
100660- var _p0 *byte
100661- _p0, err = BytePtrFromString(path)
100662- if err != nil {
100663- return
100664- }
100665- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
100666- if e1 != 0 {
100667- err = errnoErr(e1)
100668- }
100669- return
100670-}
100671-
100672-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100673-
100674-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
100675- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
100676- if e1 != 0 {
100677- err = errnoErr(e1)
100678- }
100679- return
100680-}
100681-
100682-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100683-
100684-func PivotRoot(newroot string, putold string) (err error) {
100685- var _p0 *byte
100686- _p0, err = BytePtrFromString(newroot)
100687- if err != nil {
100688- return
100689- }
100690- var _p1 *byte
100691- _p1, err = BytePtrFromString(putold)
100692- if err != nil {
100693- return
100694- }
100695- _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
100696- if e1 != 0 {
100697- err = errnoErr(e1)
100698- }
100699- return
100700-}
100701-
100702-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100703-
100704-func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
100705- _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0)
100706- if e1 != 0 {
100707- err = errnoErr(e1)
100708- }
100709- return
100710-}
100711-
100712-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100713-
100714-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
100715- _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
100716- if e1 != 0 {
100717- err = errnoErr(e1)
100718- }
100719- return
100720-}
100721-
100722-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100723-
100724-func read(fd int, p []byte) (n int, err error) {
100725- var _p0 unsafe.Pointer
100726- if len(p) > 0 {
100727- _p0 = unsafe.Pointer(&p[0])
100728- } else {
100729- _p0 = unsafe.Pointer(&_zero)
100730- }
100731- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
100732- n = int(r0)
100733- if e1 != 0 {
100734- err = errnoErr(e1)
100735- }
100736- return
100737-}
100738-
100739-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100740-
100741-func Removexattr(path string, attr string) (err error) {
100742- var _p0 *byte
100743- _p0, err = BytePtrFromString(path)
100744- if err != nil {
100745- return
100746- }
100747- var _p1 *byte
100748- _p1, err = BytePtrFromString(attr)
100749- if err != nil {
100750- return
100751- }
100752- _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
100753- if e1 != 0 {
100754- err = errnoErr(e1)
100755- }
100756- return
100757-}
100758-
100759-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100760-
100761-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
100762- var _p0 *byte
100763- _p0, err = BytePtrFromString(oldpath)
100764- if err != nil {
100765- return
100766- }
100767- var _p1 *byte
100768- _p1, err = BytePtrFromString(newpath)
100769- if err != nil {
100770- return
100771- }
100772- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
100773- if e1 != 0 {
100774- err = errnoErr(e1)
100775- }
100776- return
100777-}
100778-
100779-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100780-
100781-func RequestKey(keyType string, description string, callback string, destRingid int) (id int, err error) {
100782- var _p0 *byte
100783- _p0, err = BytePtrFromString(keyType)
100784- if err != nil {
100785- return
100786- }
100787- var _p1 *byte
100788- _p1, err = BytePtrFromString(description)
100789- if err != nil {
100790- return
100791- }
100792- var _p2 *byte
100793- _p2, err = BytePtrFromString(callback)
100794- if err != nil {
100795- return
100796- }
100797- r0, _, e1 := Syscall6(SYS_REQUEST_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(destRingid), 0, 0)
100798- id = int(r0)
100799- if e1 != 0 {
100800- err = errnoErr(e1)
100801- }
100802- return
100803-}
100804-
100805-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100806-
100807-func Setdomainname(p []byte) (err error) {
100808- var _p0 unsafe.Pointer
100809- if len(p) > 0 {
100810- _p0 = unsafe.Pointer(&p[0])
100811- } else {
100812- _p0 = unsafe.Pointer(&_zero)
100813- }
100814- _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
100815- if e1 != 0 {
100816- err = errnoErr(e1)
100817- }
100818- return
100819-}
100820-
100821-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100822-
100823-func Sethostname(p []byte) (err error) {
100824- var _p0 unsafe.Pointer
100825- if len(p) > 0 {
100826- _p0 = unsafe.Pointer(&p[0])
100827- } else {
100828- _p0 = unsafe.Pointer(&_zero)
100829- }
100830- _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
100831- if e1 != 0 {
100832- err = errnoErr(e1)
100833- }
100834- return
100835-}
100836-
100837-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100838-
100839-func Setpgid(pid int, pgid int) (err error) {
100840- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
100841- if e1 != 0 {
100842- err = errnoErr(e1)
100843- }
100844- return
100845-}
100846-
100847-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100848-
100849-func Setsid() (pid int, err error) {
100850- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
100851- pid = int(r0)
100852- if e1 != 0 {
100853- err = errnoErr(e1)
100854- }
100855- return
100856-}
100857-
100858-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100859-
100860-func Settimeofday(tv *Timeval) (err error) {
100861- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
100862- if e1 != 0 {
100863- err = errnoErr(e1)
100864- }
100865- return
100866-}
100867-
100868-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100869-
100870-func Setns(fd int, nstype int) (err error) {
100871- _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
100872- if e1 != 0 {
100873- err = errnoErr(e1)
100874- }
100875- return
100876-}
100877-
100878-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100879-
100880-func Setpriority(which int, who int, prio int) (err error) {
100881- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
100882- if e1 != 0 {
100883- err = errnoErr(e1)
100884- }
100885- return
100886-}
100887-
100888-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100889-
100890-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
100891- var _p0 *byte
100892- _p0, err = BytePtrFromString(path)
100893- if err != nil {
100894- return
100895- }
100896- var _p1 *byte
100897- _p1, err = BytePtrFromString(attr)
100898- if err != nil {
100899- return
100900- }
100901- var _p2 unsafe.Pointer
100902- if len(data) > 0 {
100903- _p2 = unsafe.Pointer(&data[0])
100904- } else {
100905- _p2 = unsafe.Pointer(&_zero)
100906- }
100907- _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
100908- if e1 != 0 {
100909- err = errnoErr(e1)
100910- }
100911- return
100912-}
100913-
100914-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100915-
100916-func Sync() {
100917- Syscall(SYS_SYNC, 0, 0, 0)
100918- return
100919-}
100920-
100921-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100922-
100923-func Syncfs(fd int) (err error) {
100924- _, _, e1 := Syscall(SYS_SYNCFS, uintptr(fd), 0, 0)
100925+func fanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname *byte) (err error) {
100926+ _, _, e1 := Syscall6(SYS_FANOTIFY_MARK, uintptr(fd), uintptr(flags), uintptr(mask), uintptr(mask>>32), uintptr(dirFd), uintptr(unsafe.Pointer(pathname)))
100927 if e1 != 0 {
100928 err = errnoErr(e1)
100929 }
100930@@ -1244,8 +24,8 @@ func Syncfs(fd int) (err error) {
100931
100932 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100933
100934-func Sysinfo(info *Sysinfo_t) (err error) {
100935- _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
100936+func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
100937+ _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(off>>32), uintptr(len), uintptr(len>>32))
100938 if e1 != 0 {
100939 err = errnoErr(e1)
100940 }
100941@@ -1265,62 +45,8 @@ func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
100942
100943 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100944
100945-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
100946- _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
100947- if e1 != 0 {
100948- err = errnoErr(e1)
100949- }
100950- return
100951-}
100952-
100953-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100954-
100955-func Times(tms *Tms) (ticks uintptr, err error) {
100956- r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
100957- ticks = uintptr(r0)
100958- if e1 != 0 {
100959- err = errnoErr(e1)
100960- }
100961- return
100962-}
100963-
100964-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100965-
100966-func Umask(mask int) (oldmask int) {
100967- r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
100968- oldmask = int(r0)
100969- return
100970-}
100971-
100972-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100973-
100974-func Uname(buf *Utsname) (err error) {
100975- _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
100976- if e1 != 0 {
100977- err = errnoErr(e1)
100978- }
100979- return
100980-}
100981-
100982-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100983-
100984-func Unmount(target string, flags int) (err error) {
100985- var _p0 *byte
100986- _p0, err = BytePtrFromString(target)
100987- if err != nil {
100988- return
100989- }
100990- _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
100991- if e1 != 0 {
100992- err = errnoErr(e1)
100993- }
100994- return
100995-}
100996-
100997-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
100998-
100999-func Unshare(flags int) (err error) {
101000- _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
101001+func Dup2(oldfd int, newfd int) (err error) {
101002+ _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
101003 if e1 != 0 {
101004 err = errnoErr(e1)
101005 }
101006@@ -1329,8 +55,9 @@ func Unshare(flags int) (err error) {
101007
101008 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101009
101010-func Ustat(dev int, ubuf *Ustat_t) (err error) {
101011- _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
101012+func EpollCreate(size int) (fd int, err error) {
101013+ r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
101014+ fd = int(r0)
101015 if e1 != 0 {
101016 err = errnoErr(e1)
101017 }
101018@@ -1339,46 +66,14 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) {
101019
101020 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101021
101022-func write(fd int, p []byte) (n int, err error) {
101023+func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
101024 var _p0 unsafe.Pointer
101025- if len(p) > 0 {
101026- _p0 = unsafe.Pointer(&p[0])
101027+ if len(events) > 0 {
101028+ _p0 = unsafe.Pointer(&events[0])
101029 } else {
101030 _p0 = unsafe.Pointer(&_zero)
101031 }
101032- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
101033- n = int(r0)
101034- if e1 != 0 {
101035- err = errnoErr(e1)
101036- }
101037- return
101038-}
101039-
101040-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101041-
101042-func exitThread(code int) (err error) {
101043- _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
101044- if e1 != 0 {
101045- err = errnoErr(e1)
101046- }
101047- return
101048-}
101049-
101050-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101051-
101052-func readlen(fd int, p *byte, np int) (n int, err error) {
101053- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
101054- n = int(r0)
101055- if e1 != 0 {
101056- err = errnoErr(e1)
101057- }
101058- return
101059-}
101060-
101061-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101062-
101063-func writelen(fd int, p *byte, np int) (n int, err error) {
101064- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
101065+ r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
101066 n = int(r0)
101067 if e1 != 0 {
101068 err = errnoErr(e1)
101069@@ -1388,118 +83,8 @@ func writelen(fd int, p *byte, np int) (n int, err error) {
101070
101071 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101072
101073-func munmap(addr uintptr, length uintptr) (err error) {
101074- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
101075- if e1 != 0 {
101076- err = errnoErr(e1)
101077- }
101078- return
101079-}
101080-
101081-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101082-
101083-func Madvise(b []byte, advice int) (err error) {
101084- var _p0 unsafe.Pointer
101085- if len(b) > 0 {
101086- _p0 = unsafe.Pointer(&b[0])
101087- } else {
101088- _p0 = unsafe.Pointer(&_zero)
101089- }
101090- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
101091- if e1 != 0 {
101092- err = errnoErr(e1)
101093- }
101094- return
101095-}
101096-
101097-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101098-
101099-func Mprotect(b []byte, prot int) (err error) {
101100- var _p0 unsafe.Pointer
101101- if len(b) > 0 {
101102- _p0 = unsafe.Pointer(&b[0])
101103- } else {
101104- _p0 = unsafe.Pointer(&_zero)
101105- }
101106- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
101107- if e1 != 0 {
101108- err = errnoErr(e1)
101109- }
101110- return
101111-}
101112-
101113-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101114-
101115-func Mlock(b []byte) (err error) {
101116- var _p0 unsafe.Pointer
101117- if len(b) > 0 {
101118- _p0 = unsafe.Pointer(&b[0])
101119- } else {
101120- _p0 = unsafe.Pointer(&_zero)
101121- }
101122- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
101123- if e1 != 0 {
101124- err = errnoErr(e1)
101125- }
101126- return
101127-}
101128-
101129-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101130-
101131-func Munlock(b []byte) (err error) {
101132- var _p0 unsafe.Pointer
101133- if len(b) > 0 {
101134- _p0 = unsafe.Pointer(&b[0])
101135- } else {
101136- _p0 = unsafe.Pointer(&_zero)
101137- }
101138- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
101139- if e1 != 0 {
101140- err = errnoErr(e1)
101141- }
101142- return
101143-}
101144-
101145-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101146-
101147-func Mlockall(flags int) (err error) {
101148- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
101149- if e1 != 0 {
101150- err = errnoErr(e1)
101151- }
101152- return
101153-}
101154-
101155-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101156-
101157-func Msync(b []byte, flags int) (err error) {
101158- var _p0 unsafe.Pointer
101159- if len(b) > 0 {
101160- _p0 = unsafe.Pointer(&b[0])
101161- } else {
101162- _p0 = unsafe.Pointer(&_zero)
101163- }
101164- _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags))
101165- if e1 != 0 {
101166- err = errnoErr(e1)
101167- }
101168- return
101169-}
101170-
101171-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101172-
101173-func Munlockall() (err error) {
101174- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
101175- if e1 != 0 {
101176- err = errnoErr(e1)
101177- }
101178- return
101179-}
101180-
101181-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101182-
101183-func Dup2(oldfd int, newfd int) (err error) {
101184- _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
101185+func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
101186+ _, _, e1 := Syscall9(SYS_FADVISE64, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), uintptr(length), uintptr(length>>32), uintptr(advice), 0, 0)
101187 if e1 != 0 {
101188 err = errnoErr(e1)
101189 }
101190@@ -1529,7 +114,7 @@ func Ftruncate(fd int, length int64) (err error) {
101191 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101192
101193 func Getegid() (egid int) {
101194- r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
101195+ r0, _ := RawSyscallNoError(SYS_GETEGID, 0, 0, 0)
101196 egid = int(r0)
101197 return
101198 }
101199@@ -1537,7 +122,7 @@ func Getegid() (egid int) {
101200 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101201
101202 func Geteuid() (euid int) {
101203- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
101204+ r0, _ := RawSyscallNoError(SYS_GETEUID, 0, 0, 0)
101205 euid = int(r0)
101206 return
101207 }
101208@@ -1545,7 +130,7 @@ func Geteuid() (euid int) {
101209 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101210
101211 func Getgid() (gid int) {
101212- r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
101213+ r0, _ := RawSyscallNoError(SYS_GETGID, 0, 0, 0)
101214 gid = int(r0)
101215 return
101216 }
101217@@ -1553,7 +138,7 @@ func Getgid() (gid int) {
101218 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101219
101220 func Getuid() (uid int) {
101221- r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
101222+ r0, _ := RawSyscallNoError(SYS_GETUID, 0, 0, 0)
101223 uid = int(r0)
101224 return
101225 }
101226@@ -1619,6 +204,26 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
101227
101228 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101229
101230+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
101231+ var _p0 *byte
101232+ _p0, err = BytePtrFromString(oldpath)
101233+ if err != nil {
101234+ return
101235+ }
101236+ var _p1 *byte
101237+ _p1, err = BytePtrFromString(newpath)
101238+ if err != nil {
101239+ return
101240+ }
101241+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
101242+ if e1 != 0 {
101243+ err = errnoErr(e1)
101244+ }
101245+ return
101246+}
101247+
101248+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101249+
101250 func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
101251 r0, _, e1 := Syscall6(SYS__NEWSELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
101252 n = int(r0)
101253@@ -1641,8 +246,9 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
101254
101255 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101256
101257-func Setfsgid(gid int) (err error) {
101258- _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
101259+func setfsgid(gid int) (prev int, err error) {
101260+ r0, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
101261+ prev = int(r0)
101262 if e1 != 0 {
101263 err = errnoErr(e1)
101264 }
101265@@ -1651,8 +257,9 @@ func Setfsgid(gid int) (err error) {
101266
101267 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101268
101269-func Setfsuid(uid int) (err error) {
101270- _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
101271+func setfsuid(uid int) (prev int, err error) {
101272+ r0, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
101273+ prev = int(r0)
101274 if e1 != 0 {
101275 err = errnoErr(e1)
101276 }
101277@@ -1711,9 +318,9 @@ func Shutdown(fd int, how int) (err error) {
101278
101279 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101280
101281-func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
101282- r0, r1, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
101283- n = int64(int64(r1)<<32 | int64(r0))
101284+func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
101285+ r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
101286+ n = int(r0)
101287 if e1 != 0 {
101288 err = errnoErr(e1)
101289 }
101290@@ -1747,6 +354,16 @@ func Truncate(path string, length int64) (err error) {
101291
101292 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101293
101294+func Ustat(dev int, ubuf *Ustat_t) (err error) {
101295+ _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
101296+ if e1 != 0 {
101297+ err = errnoErr(e1)
101298+ }
101299+ return
101300+}
101301+
101302+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101303+
101304 func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
101305 r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
101306 fd = int(r0)
101307@@ -1957,6 +574,21 @@ func Iopl(level int) (err error) {
101308
101309 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101310
101311+func futimesat(dirfd int, path string, times *[2]Timeval) (err error) {
101312+ var _p0 *byte
101313+ _p0, err = BytePtrFromString(path)
101314+ if err != nil {
101315+ return
101316+ }
101317+ _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)))
101318+ if e1 != 0 {
101319+ err = errnoErr(e1)
101320+ }
101321+ return
101322+}
101323+
101324+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101325+
101326 func Gettimeofday(tv *Timeval) (err error) {
101327 _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
101328 if e1 != 0 {
101329@@ -1978,13 +610,13 @@ func Time(t *Time_t) (tt Time_t, err error) {
101330
101331 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101332
101333-func Lstat(path string, stat *Stat_t) (err error) {
101334+func Utime(path string, buf *Utimbuf) (err error) {
101335 var _p0 *byte
101336 _p0, err = BytePtrFromString(path)
101337 if err != nil {
101338 return
101339 }
101340- _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
101341+ _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
101342 if e1 != 0 {
101343 err = errnoErr(e1)
101344 }
101345@@ -1993,8 +625,13 @@ func Lstat(path string, stat *Stat_t) (err error) {
101346
101347 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101348
101349-func Fstat(fd int, stat *Stat_t) (err error) {
101350- _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
101351+func utimes(path string, times *[2]Timeval) (err error) {
101352+ var _p0 *byte
101353+ _p0, err = BytePtrFromString(path)
101354+ if err != nil {
101355+ return
101356+ }
101357+ _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
101358 if e1 != 0 {
101359 err = errnoErr(e1)
101360 }
101361@@ -2003,13 +640,13 @@ func Fstat(fd int, stat *Stat_t) (err error) {
101362
101363 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101364
101365-func Stat(path string, stat *Stat_t) (err error) {
101366+func Lstat(path string, stat *Stat_t) (err error) {
101367 var _p0 *byte
101368 _p0, err = BytePtrFromString(path)
101369 if err != nil {
101370 return
101371 }
101372- _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
101373+ _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
101374 if e1 != 0 {
101375 err = errnoErr(e1)
101376 }
101377@@ -2018,13 +655,23 @@ func Stat(path string, stat *Stat_t) (err error) {
101378
101379 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101380
101381-func Utime(path string, buf *Utimbuf) (err error) {
101382+func Fstat(fd int, stat *Stat_t) (err error) {
101383+ _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
101384+ if e1 != 0 {
101385+ err = errnoErr(e1)
101386+ }
101387+ return
101388+}
101389+
101390+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101391+
101392+func Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) {
101393 var _p0 *byte
101394 _p0, err = BytePtrFromString(path)
101395 if err != nil {
101396 return
101397 }
101398- _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
101399+ _, _, e1 := Syscall6(SYS_FSTATAT64, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
101400 if e1 != 0 {
101401 err = errnoErr(e1)
101402 }
101403@@ -2033,15 +680,13 @@ func Utime(path string, buf *Utimbuf) (err error) {
101404
101405 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101406
101407-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
101408- var _p0 unsafe.Pointer
101409- if len(events) > 0 {
101410- _p0 = unsafe.Pointer(&events[0])
101411- } else {
101412- _p0 = unsafe.Pointer(&_zero)
101413+func Stat(path string, stat *Stat_t) (err error) {
101414+ var _p0 *byte
101415+ _p0, err = BytePtrFromString(path)
101416+ if err != nil {
101417+ return
101418 }
101419- r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
101420- n = int(r0)
101421+ _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
101422 if e1 != 0 {
101423 err = errnoErr(e1)
101424 }
101425@@ -2060,8 +705,10 @@ func Pause() (err error) {
101426
101427 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101428
101429-func pipe2(p *[2]_C_int, flags int) (err error) {
101430- _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
101431+func pipe() (p1 int, p2 int, err error) {
101432+ r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
101433+ p1 = int(r0)
101434+ p2 = int(r1)
101435 if e1 != 0 {
101436 err = errnoErr(e1)
101437 }
101438diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go
101439index 204ab1ae..de022639 100644
101440--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go
101441+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go
101442@@ -1,4 +1,4 @@
101443-// mksyscall.pl -tags linux,ppc64 syscall_linux.go syscall_linux_ppc64x.go
101444+// go run mksyscall.go -tags linux,ppc64 syscall_linux.go syscall_linux_ppc64x.go
101445 // Code generated by the command above; see README.md. DO NOT EDIT.
101446
101447 // +build linux,ppc64
101448@@ -14,1270 +14,8 @@ var _ syscall.Errno
101449
101450 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101451
101452-func fchmodat(dirfd int, path string, mode uint32) (err error) {
101453- var _p0 *byte
101454- _p0, err = BytePtrFromString(path)
101455- if err != nil {
101456- return
101457- }
101458- _, _, e1 := Syscall(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
101459- if e1 != 0 {
101460- err = errnoErr(e1)
101461- }
101462- return
101463-}
101464-
101465-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101466-
101467-func ioctl(fd int, req uint, arg uintptr) (err error) {
101468- _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
101469- if e1 != 0 {
101470- err = errnoErr(e1)
101471- }
101472- return
101473-}
101474-
101475-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101476-
101477-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
101478- var _p0 *byte
101479- _p0, err = BytePtrFromString(oldpath)
101480- if err != nil {
101481- return
101482- }
101483- var _p1 *byte
101484- _p1, err = BytePtrFromString(newpath)
101485- if err != nil {
101486- return
101487- }
101488- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
101489- if e1 != 0 {
101490- err = errnoErr(e1)
101491- }
101492- return
101493-}
101494-
101495-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101496-
101497-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
101498- var _p0 *byte
101499- _p0, err = BytePtrFromString(path)
101500- if err != nil {
101501- return
101502- }
101503- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
101504- fd = int(r0)
101505- if e1 != 0 {
101506- err = errnoErr(e1)
101507- }
101508- return
101509-}
101510-
101511-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101512-
101513-func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
101514- r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
101515- n = int(r0)
101516- if e1 != 0 {
101517- err = errnoErr(e1)
101518- }
101519- return
101520-}
101521-
101522-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101523-
101524-func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
101525- var _p0 *byte
101526- _p0, err = BytePtrFromString(path)
101527- if err != nil {
101528- return
101529- }
101530- var _p1 unsafe.Pointer
101531- if len(buf) > 0 {
101532- _p1 = unsafe.Pointer(&buf[0])
101533- } else {
101534- _p1 = unsafe.Pointer(&_zero)
101535- }
101536- r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
101537- n = int(r0)
101538- if e1 != 0 {
101539- err = errnoErr(e1)
101540- }
101541- return
101542-}
101543-
101544-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101545-
101546-func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
101547- var _p0 *byte
101548- _p0, err = BytePtrFromString(oldpath)
101549- if err != nil {
101550- return
101551- }
101552- var _p1 *byte
101553- _p1, err = BytePtrFromString(newpath)
101554- if err != nil {
101555- return
101556- }
101557- _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
101558- if e1 != 0 {
101559- err = errnoErr(e1)
101560- }
101561- return
101562-}
101563-
101564-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101565-
101566-func Unlinkat(dirfd int, path string, flags int) (err error) {
101567- var _p0 *byte
101568- _p0, err = BytePtrFromString(path)
101569- if err != nil {
101570- return
101571- }
101572- _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
101573- if e1 != 0 {
101574- err = errnoErr(e1)
101575- }
101576- return
101577-}
101578-
101579-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101580-
101581-func utimes(path string, times *[2]Timeval) (err error) {
101582- var _p0 *byte
101583- _p0, err = BytePtrFromString(path)
101584- if err != nil {
101585- return
101586- }
101587- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
101588- if e1 != 0 {
101589- err = errnoErr(e1)
101590- }
101591- return
101592-}
101593-
101594-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101595-
101596-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
101597- var _p0 *byte
101598- _p0, err = BytePtrFromString(path)
101599- if err != nil {
101600- return
101601- }
101602- _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
101603- if e1 != 0 {
101604- err = errnoErr(e1)
101605- }
101606- return
101607-}
101608-
101609-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101610-
101611-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
101612- _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
101613- if e1 != 0 {
101614- err = errnoErr(e1)
101615- }
101616- return
101617-}
101618-
101619-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101620-
101621-func Getcwd(buf []byte) (n int, err error) {
101622- var _p0 unsafe.Pointer
101623- if len(buf) > 0 {
101624- _p0 = unsafe.Pointer(&buf[0])
101625- } else {
101626- _p0 = unsafe.Pointer(&_zero)
101627- }
101628- r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
101629- n = int(r0)
101630- if e1 != 0 {
101631- err = errnoErr(e1)
101632- }
101633- return
101634-}
101635-
101636-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101637-
101638-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
101639- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
101640- wpid = int(r0)
101641- if e1 != 0 {
101642- err = errnoErr(e1)
101643- }
101644- return
101645-}
101646-
101647-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101648-
101649-func KeyctlInt(cmd int, arg2 int, arg3 int, arg4 int, arg5 int) (ret int, err error) {
101650- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
101651- ret = int(r0)
101652- if e1 != 0 {
101653- err = errnoErr(e1)
101654- }
101655- return
101656-}
101657-
101658-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101659-
101660-func KeyctlBuffer(cmd int, arg2 int, buf []byte, arg5 int) (ret int, err error) {
101661- var _p0 unsafe.Pointer
101662- if len(buf) > 0 {
101663- _p0 = unsafe.Pointer(&buf[0])
101664- } else {
101665- _p0 = unsafe.Pointer(&_zero)
101666- }
101667- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(buf)), uintptr(arg5), 0)
101668- ret = int(r0)
101669- if e1 != 0 {
101670- err = errnoErr(e1)
101671- }
101672- return
101673-}
101674-
101675-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101676-
101677-func keyctlJoin(cmd int, arg2 string) (ret int, err error) {
101678- var _p0 *byte
101679- _p0, err = BytePtrFromString(arg2)
101680- if err != nil {
101681- return
101682- }
101683- r0, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0)
101684- ret = int(r0)
101685- if e1 != 0 {
101686- err = errnoErr(e1)
101687- }
101688- return
101689-}
101690-
101691-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101692-
101693-func keyctlSearch(cmd int, arg2 int, arg3 string, arg4 string, arg5 int) (ret int, err error) {
101694- var _p0 *byte
101695- _p0, err = BytePtrFromString(arg3)
101696- if err != nil {
101697- return
101698- }
101699- var _p1 *byte
101700- _p1, err = BytePtrFromString(arg4)
101701- if err != nil {
101702- return
101703- }
101704- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(arg5), 0)
101705- ret = int(r0)
101706- if e1 != 0 {
101707- err = errnoErr(e1)
101708- }
101709- return
101710-}
101711-
101712-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101713-
101714-func keyctlIOV(cmd int, arg2 int, payload []Iovec, arg5 int) (err error) {
101715- var _p0 unsafe.Pointer
101716- if len(payload) > 0 {
101717- _p0 = unsafe.Pointer(&payload[0])
101718- } else {
101719- _p0 = unsafe.Pointer(&_zero)
101720- }
101721- _, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(payload)), uintptr(arg5), 0)
101722- if e1 != 0 {
101723- err = errnoErr(e1)
101724- }
101725- return
101726-}
101727-
101728-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101729-
101730-func keyctlDH(cmd int, arg2 *KeyctlDHParams, buf []byte) (ret int, err error) {
101731- var _p0 unsafe.Pointer
101732- if len(buf) > 0 {
101733- _p0 = unsafe.Pointer(&buf[0])
101734- } else {
101735- _p0 = unsafe.Pointer(&_zero)
101736- }
101737- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(arg2)), uintptr(_p0), uintptr(len(buf)), 0, 0)
101738- ret = int(r0)
101739- if e1 != 0 {
101740- err = errnoErr(e1)
101741- }
101742- return
101743-}
101744-
101745-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101746-
101747-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
101748- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
101749- if e1 != 0 {
101750- err = errnoErr(e1)
101751- }
101752- return
101753-}
101754-
101755-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101756-
101757-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
101758- var _p0 *byte
101759- _p0, err = BytePtrFromString(arg)
101760- if err != nil {
101761- return
101762- }
101763- _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
101764- if e1 != 0 {
101765- err = errnoErr(e1)
101766- }
101767- return
101768-}
101769-
101770-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101771-
101772-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
101773- var _p0 *byte
101774- _p0, err = BytePtrFromString(source)
101775- if err != nil {
101776- return
101777- }
101778- var _p1 *byte
101779- _p1, err = BytePtrFromString(target)
101780- if err != nil {
101781- return
101782- }
101783- var _p2 *byte
101784- _p2, err = BytePtrFromString(fstype)
101785- if err != nil {
101786- return
101787- }
101788- _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
101789- if e1 != 0 {
101790- err = errnoErr(e1)
101791- }
101792- return
101793-}
101794-
101795-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101796-
101797-func Acct(path string) (err error) {
101798- var _p0 *byte
101799- _p0, err = BytePtrFromString(path)
101800- if err != nil {
101801- return
101802- }
101803- _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
101804- if e1 != 0 {
101805- err = errnoErr(e1)
101806- }
101807- return
101808-}
101809-
101810-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101811-
101812-func AddKey(keyType string, description string, payload []byte, ringid int) (id int, err error) {
101813- var _p0 *byte
101814- _p0, err = BytePtrFromString(keyType)
101815- if err != nil {
101816- return
101817- }
101818- var _p1 *byte
101819- _p1, err = BytePtrFromString(description)
101820- if err != nil {
101821- return
101822- }
101823- var _p2 unsafe.Pointer
101824- if len(payload) > 0 {
101825- _p2 = unsafe.Pointer(&payload[0])
101826- } else {
101827- _p2 = unsafe.Pointer(&_zero)
101828- }
101829- r0, _, e1 := Syscall6(SYS_ADD_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(payload)), uintptr(ringid), 0)
101830- id = int(r0)
101831- if e1 != 0 {
101832- err = errnoErr(e1)
101833- }
101834- return
101835-}
101836-
101837-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101838-
101839-func Adjtimex(buf *Timex) (state int, err error) {
101840- r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
101841- state = int(r0)
101842- if e1 != 0 {
101843- err = errnoErr(e1)
101844- }
101845- return
101846-}
101847-
101848-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101849-
101850-func Chdir(path string) (err error) {
101851- var _p0 *byte
101852- _p0, err = BytePtrFromString(path)
101853- if err != nil {
101854- return
101855- }
101856- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
101857- if e1 != 0 {
101858- err = errnoErr(e1)
101859- }
101860- return
101861-}
101862-
101863-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101864-
101865-func Chroot(path string) (err error) {
101866- var _p0 *byte
101867- _p0, err = BytePtrFromString(path)
101868- if err != nil {
101869- return
101870- }
101871- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
101872- if e1 != 0 {
101873- err = errnoErr(e1)
101874- }
101875- return
101876-}
101877-
101878-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101879-
101880-func ClockGettime(clockid int32, time *Timespec) (err error) {
101881- _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
101882- if e1 != 0 {
101883- err = errnoErr(e1)
101884- }
101885- return
101886-}
101887-
101888-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101889-
101890-func Close(fd int) (err error) {
101891- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
101892- if e1 != 0 {
101893- err = errnoErr(e1)
101894- }
101895- return
101896-}
101897-
101898-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101899-
101900-func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
101901- r0, _, e1 := Syscall6(SYS_COPY_FILE_RANGE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
101902- n = int(r0)
101903- if e1 != 0 {
101904- err = errnoErr(e1)
101905- }
101906- return
101907-}
101908-
101909-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101910-
101911-func Dup(oldfd int) (fd int, err error) {
101912- r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
101913- fd = int(r0)
101914- if e1 != 0 {
101915- err = errnoErr(e1)
101916- }
101917- return
101918-}
101919-
101920-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101921-
101922-func Dup3(oldfd int, newfd int, flags int) (err error) {
101923- _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
101924- if e1 != 0 {
101925- err = errnoErr(e1)
101926- }
101927- return
101928-}
101929-
101930-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101931-
101932-func EpollCreate(size int) (fd int, err error) {
101933- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
101934- fd = int(r0)
101935- if e1 != 0 {
101936- err = errnoErr(e1)
101937- }
101938- return
101939-}
101940-
101941-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101942-
101943-func EpollCreate1(flag int) (fd int, err error) {
101944- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
101945- fd = int(r0)
101946- if e1 != 0 {
101947- err = errnoErr(e1)
101948- }
101949- return
101950-}
101951-
101952-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101953-
101954-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
101955- _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
101956- if e1 != 0 {
101957- err = errnoErr(e1)
101958- }
101959- return
101960-}
101961-
101962-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101963-
101964-func Eventfd(initval uint, flags int) (fd int, err error) {
101965- r0, _, e1 := Syscall(SYS_EVENTFD2, uintptr(initval), uintptr(flags), 0)
101966- fd = int(r0)
101967- if e1 != 0 {
101968- err = errnoErr(e1)
101969- }
101970- return
101971-}
101972-
101973-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101974-
101975-func Exit(code int) {
101976- Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
101977- return
101978-}
101979-
101980-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101981-
101982-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
101983- var _p0 *byte
101984- _p0, err = BytePtrFromString(path)
101985- if err != nil {
101986- return
101987- }
101988- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
101989- if e1 != 0 {
101990- err = errnoErr(e1)
101991- }
101992- return
101993-}
101994-
101995-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
101996-
101997-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
101998- _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
101999- if e1 != 0 {
102000- err = errnoErr(e1)
102001- }
102002- return
102003-}
102004-
102005-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102006-
102007-func Fchdir(fd int) (err error) {
102008- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
102009- if e1 != 0 {
102010- err = errnoErr(e1)
102011- }
102012- return
102013-}
102014-
102015-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102016-
102017-func Fchmod(fd int, mode uint32) (err error) {
102018- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
102019- if e1 != 0 {
102020- err = errnoErr(e1)
102021- }
102022- return
102023-}
102024-
102025-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102026-
102027-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
102028- var _p0 *byte
102029- _p0, err = BytePtrFromString(path)
102030- if err != nil {
102031- return
102032- }
102033- _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
102034- if e1 != 0 {
102035- err = errnoErr(e1)
102036- }
102037- return
102038-}
102039-
102040-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102041-
102042-func fcntl(fd int, cmd int, arg int) (val int, err error) {
102043- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
102044- val = int(r0)
102045- if e1 != 0 {
102046- err = errnoErr(e1)
102047- }
102048- return
102049-}
102050-
102051-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102052-
102053-func Fdatasync(fd int) (err error) {
102054- _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
102055- if e1 != 0 {
102056- err = errnoErr(e1)
102057- }
102058- return
102059-}
102060-
102061-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102062-
102063-func Flock(fd int, how int) (err error) {
102064- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
102065- if e1 != 0 {
102066- err = errnoErr(e1)
102067- }
102068- return
102069-}
102070-
102071-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102072-
102073-func Fsync(fd int) (err error) {
102074- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
102075- if e1 != 0 {
102076- err = errnoErr(e1)
102077- }
102078- return
102079-}
102080-
102081-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102082-
102083-func Getdents(fd int, buf []byte) (n int, err error) {
102084- var _p0 unsafe.Pointer
102085- if len(buf) > 0 {
102086- _p0 = unsafe.Pointer(&buf[0])
102087- } else {
102088- _p0 = unsafe.Pointer(&_zero)
102089- }
102090- r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
102091- n = int(r0)
102092- if e1 != 0 {
102093- err = errnoErr(e1)
102094- }
102095- return
102096-}
102097-
102098-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102099-
102100-func Getpgid(pid int) (pgid int, err error) {
102101- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
102102- pgid = int(r0)
102103- if e1 != 0 {
102104- err = errnoErr(e1)
102105- }
102106- return
102107-}
102108-
102109-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102110-
102111-func Getpid() (pid int) {
102112- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
102113- pid = int(r0)
102114- return
102115-}
102116-
102117-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102118-
102119-func Getppid() (ppid int) {
102120- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
102121- ppid = int(r0)
102122- return
102123-}
102124-
102125-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102126-
102127-func Getpriority(which int, who int) (prio int, err error) {
102128- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
102129- prio = int(r0)
102130- if e1 != 0 {
102131- err = errnoErr(e1)
102132- }
102133- return
102134-}
102135-
102136-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102137-
102138-func Getrandom(buf []byte, flags int) (n int, err error) {
102139- var _p0 unsafe.Pointer
102140- if len(buf) > 0 {
102141- _p0 = unsafe.Pointer(&buf[0])
102142- } else {
102143- _p0 = unsafe.Pointer(&_zero)
102144- }
102145- r0, _, e1 := Syscall(SYS_GETRANDOM, uintptr(_p0), uintptr(len(buf)), uintptr(flags))
102146- n = int(r0)
102147- if e1 != 0 {
102148- err = errnoErr(e1)
102149- }
102150- return
102151-}
102152-
102153-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102154-
102155-func Getrusage(who int, rusage *Rusage) (err error) {
102156- _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
102157- if e1 != 0 {
102158- err = errnoErr(e1)
102159- }
102160- return
102161-}
102162-
102163-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102164-
102165-func Getsid(pid int) (sid int, err error) {
102166- r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
102167- sid = int(r0)
102168- if e1 != 0 {
102169- err = errnoErr(e1)
102170- }
102171- return
102172-}
102173-
102174-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102175-
102176-func Gettid() (tid int) {
102177- r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
102178- tid = int(r0)
102179- return
102180-}
102181-
102182-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102183-
102184-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
102185- var _p0 *byte
102186- _p0, err = BytePtrFromString(path)
102187- if err != nil {
102188- return
102189- }
102190- var _p1 *byte
102191- _p1, err = BytePtrFromString(attr)
102192- if err != nil {
102193- return
102194- }
102195- var _p2 unsafe.Pointer
102196- if len(dest) > 0 {
102197- _p2 = unsafe.Pointer(&dest[0])
102198- } else {
102199- _p2 = unsafe.Pointer(&_zero)
102200- }
102201- r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
102202- sz = int(r0)
102203- if e1 != 0 {
102204- err = errnoErr(e1)
102205- }
102206- return
102207-}
102208-
102209-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102210-
102211-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
102212- var _p0 *byte
102213- _p0, err = BytePtrFromString(pathname)
102214- if err != nil {
102215- return
102216- }
102217- r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
102218- watchdesc = int(r0)
102219- if e1 != 0 {
102220- err = errnoErr(e1)
102221- }
102222- return
102223-}
102224-
102225-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102226-
102227-func InotifyInit1(flags int) (fd int, err error) {
102228- r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
102229- fd = int(r0)
102230- if e1 != 0 {
102231- err = errnoErr(e1)
102232- }
102233- return
102234-}
102235-
102236-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102237-
102238-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
102239- r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
102240- success = int(r0)
102241- if e1 != 0 {
102242- err = errnoErr(e1)
102243- }
102244- return
102245-}
102246-
102247-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102248-
102249-func Kill(pid int, sig syscall.Signal) (err error) {
102250- _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
102251- if e1 != 0 {
102252- err = errnoErr(e1)
102253- }
102254- return
102255-}
102256-
102257-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102258-
102259-func Klogctl(typ int, buf []byte) (n int, err error) {
102260- var _p0 unsafe.Pointer
102261- if len(buf) > 0 {
102262- _p0 = unsafe.Pointer(&buf[0])
102263- } else {
102264- _p0 = unsafe.Pointer(&_zero)
102265- }
102266- r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
102267- n = int(r0)
102268- if e1 != 0 {
102269- err = errnoErr(e1)
102270- }
102271- return
102272-}
102273-
102274-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102275-
102276-func Lgetxattr(path string, attr string, dest []byte) (sz int, err error) {
102277- var _p0 *byte
102278- _p0, err = BytePtrFromString(path)
102279- if err != nil {
102280- return
102281- }
102282- var _p1 *byte
102283- _p1, err = BytePtrFromString(attr)
102284- if err != nil {
102285- return
102286- }
102287- var _p2 unsafe.Pointer
102288- if len(dest) > 0 {
102289- _p2 = unsafe.Pointer(&dest[0])
102290- } else {
102291- _p2 = unsafe.Pointer(&_zero)
102292- }
102293- r0, _, e1 := Syscall6(SYS_LGETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
102294- sz = int(r0)
102295- if e1 != 0 {
102296- err = errnoErr(e1)
102297- }
102298- return
102299-}
102300-
102301-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102302-
102303-func Listxattr(path string, dest []byte) (sz int, err error) {
102304- var _p0 *byte
102305- _p0, err = BytePtrFromString(path)
102306- if err != nil {
102307- return
102308- }
102309- var _p1 unsafe.Pointer
102310- if len(dest) > 0 {
102311- _p1 = unsafe.Pointer(&dest[0])
102312- } else {
102313- _p1 = unsafe.Pointer(&_zero)
102314- }
102315- r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
102316- sz = int(r0)
102317- if e1 != 0 {
102318- err = errnoErr(e1)
102319- }
102320- return
102321-}
102322-
102323-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102324-
102325-func Llistxattr(path string, dest []byte) (sz int, err error) {
102326- var _p0 *byte
102327- _p0, err = BytePtrFromString(path)
102328- if err != nil {
102329- return
102330- }
102331- var _p1 unsafe.Pointer
102332- if len(dest) > 0 {
102333- _p1 = unsafe.Pointer(&dest[0])
102334- } else {
102335- _p1 = unsafe.Pointer(&_zero)
102336- }
102337- r0, _, e1 := Syscall(SYS_LLISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
102338- sz = int(r0)
102339- if e1 != 0 {
102340- err = errnoErr(e1)
102341- }
102342- return
102343-}
102344-
102345-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102346-
102347-func Lremovexattr(path string, attr string) (err error) {
102348- var _p0 *byte
102349- _p0, err = BytePtrFromString(path)
102350- if err != nil {
102351- return
102352- }
102353- var _p1 *byte
102354- _p1, err = BytePtrFromString(attr)
102355- if err != nil {
102356- return
102357- }
102358- _, _, e1 := Syscall(SYS_LREMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
102359- if e1 != 0 {
102360- err = errnoErr(e1)
102361- }
102362- return
102363-}
102364-
102365-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102366-
102367-func Lsetxattr(path string, attr string, data []byte, flags int) (err error) {
102368- var _p0 *byte
102369- _p0, err = BytePtrFromString(path)
102370- if err != nil {
102371- return
102372- }
102373- var _p1 *byte
102374- _p1, err = BytePtrFromString(attr)
102375- if err != nil {
102376- return
102377- }
102378- var _p2 unsafe.Pointer
102379- if len(data) > 0 {
102380- _p2 = unsafe.Pointer(&data[0])
102381- } else {
102382- _p2 = unsafe.Pointer(&_zero)
102383- }
102384- _, _, e1 := Syscall6(SYS_LSETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
102385- if e1 != 0 {
102386- err = errnoErr(e1)
102387- }
102388- return
102389-}
102390-
102391-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102392-
102393-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
102394- var _p0 *byte
102395- _p0, err = BytePtrFromString(path)
102396- if err != nil {
102397- return
102398- }
102399- _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
102400- if e1 != 0 {
102401- err = errnoErr(e1)
102402- }
102403- return
102404-}
102405-
102406-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102407-
102408-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
102409- var _p0 *byte
102410- _p0, err = BytePtrFromString(path)
102411- if err != nil {
102412- return
102413- }
102414- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
102415- if e1 != 0 {
102416- err = errnoErr(e1)
102417- }
102418- return
102419-}
102420-
102421-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102422-
102423-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
102424- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
102425- if e1 != 0 {
102426- err = errnoErr(e1)
102427- }
102428- return
102429-}
102430-
102431-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102432-
102433-func PivotRoot(newroot string, putold string) (err error) {
102434- var _p0 *byte
102435- _p0, err = BytePtrFromString(newroot)
102436- if err != nil {
102437- return
102438- }
102439- var _p1 *byte
102440- _p1, err = BytePtrFromString(putold)
102441- if err != nil {
102442- return
102443- }
102444- _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
102445- if e1 != 0 {
102446- err = errnoErr(e1)
102447- }
102448- return
102449-}
102450-
102451-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102452-
102453-func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
102454- _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0)
102455- if e1 != 0 {
102456- err = errnoErr(e1)
102457- }
102458- return
102459-}
102460-
102461-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102462-
102463-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
102464- _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
102465- if e1 != 0 {
102466- err = errnoErr(e1)
102467- }
102468- return
102469-}
102470-
102471-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102472-
102473-func read(fd int, p []byte) (n int, err error) {
102474- var _p0 unsafe.Pointer
102475- if len(p) > 0 {
102476- _p0 = unsafe.Pointer(&p[0])
102477- } else {
102478- _p0 = unsafe.Pointer(&_zero)
102479- }
102480- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
102481- n = int(r0)
102482- if e1 != 0 {
102483- err = errnoErr(e1)
102484- }
102485- return
102486-}
102487-
102488-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102489-
102490-func Removexattr(path string, attr string) (err error) {
102491- var _p0 *byte
102492- _p0, err = BytePtrFromString(path)
102493- if err != nil {
102494- return
102495- }
102496- var _p1 *byte
102497- _p1, err = BytePtrFromString(attr)
102498- if err != nil {
102499- return
102500- }
102501- _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
102502- if e1 != 0 {
102503- err = errnoErr(e1)
102504- }
102505- return
102506-}
102507-
102508-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102509-
102510-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
102511- var _p0 *byte
102512- _p0, err = BytePtrFromString(oldpath)
102513- if err != nil {
102514- return
102515- }
102516- var _p1 *byte
102517- _p1, err = BytePtrFromString(newpath)
102518- if err != nil {
102519- return
102520- }
102521- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
102522- if e1 != 0 {
102523- err = errnoErr(e1)
102524- }
102525- return
102526-}
102527-
102528-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102529-
102530-func RequestKey(keyType string, description string, callback string, destRingid int) (id int, err error) {
102531- var _p0 *byte
102532- _p0, err = BytePtrFromString(keyType)
102533- if err != nil {
102534- return
102535- }
102536- var _p1 *byte
102537- _p1, err = BytePtrFromString(description)
102538- if err != nil {
102539- return
102540- }
102541- var _p2 *byte
102542- _p2, err = BytePtrFromString(callback)
102543- if err != nil {
102544- return
102545- }
102546- r0, _, e1 := Syscall6(SYS_REQUEST_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(destRingid), 0, 0)
102547- id = int(r0)
102548- if e1 != 0 {
102549- err = errnoErr(e1)
102550- }
102551- return
102552-}
102553-
102554-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102555-
102556-func Setdomainname(p []byte) (err error) {
102557- var _p0 unsafe.Pointer
102558- if len(p) > 0 {
102559- _p0 = unsafe.Pointer(&p[0])
102560- } else {
102561- _p0 = unsafe.Pointer(&_zero)
102562- }
102563- _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
102564- if e1 != 0 {
102565- err = errnoErr(e1)
102566- }
102567- return
102568-}
102569-
102570-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102571-
102572-func Sethostname(p []byte) (err error) {
102573- var _p0 unsafe.Pointer
102574- if len(p) > 0 {
102575- _p0 = unsafe.Pointer(&p[0])
102576- } else {
102577- _p0 = unsafe.Pointer(&_zero)
102578- }
102579- _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
102580- if e1 != 0 {
102581- err = errnoErr(e1)
102582- }
102583- return
102584-}
102585-
102586-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102587-
102588-func Setpgid(pid int, pgid int) (err error) {
102589- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
102590- if e1 != 0 {
102591- err = errnoErr(e1)
102592- }
102593- return
102594-}
102595-
102596-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102597-
102598-func Setsid() (pid int, err error) {
102599- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
102600- pid = int(r0)
102601- if e1 != 0 {
102602- err = errnoErr(e1)
102603- }
102604- return
102605-}
102606-
102607-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102608-
102609-func Settimeofday(tv *Timeval) (err error) {
102610- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
102611- if e1 != 0 {
102612- err = errnoErr(e1)
102613- }
102614- return
102615-}
102616-
102617-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102618-
102619-func Setns(fd int, nstype int) (err error) {
102620- _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
102621- if e1 != 0 {
102622- err = errnoErr(e1)
102623- }
102624- return
102625-}
102626-
102627-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102628-
102629-func Setpriority(which int, who int, prio int) (err error) {
102630- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
102631- if e1 != 0 {
102632- err = errnoErr(e1)
102633- }
102634- return
102635-}
102636-
102637-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102638-
102639-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
102640- var _p0 *byte
102641- _p0, err = BytePtrFromString(path)
102642- if err != nil {
102643- return
102644- }
102645- var _p1 *byte
102646- _p1, err = BytePtrFromString(attr)
102647- if err != nil {
102648- return
102649- }
102650- var _p2 unsafe.Pointer
102651- if len(data) > 0 {
102652- _p2 = unsafe.Pointer(&data[0])
102653- } else {
102654- _p2 = unsafe.Pointer(&_zero)
102655- }
102656- _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
102657- if e1 != 0 {
102658- err = errnoErr(e1)
102659- }
102660- return
102661-}
102662-
102663-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102664-
102665-func Sync() {
102666- Syscall(SYS_SYNC, 0, 0, 0)
102667- return
102668-}
102669-
102670-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102671-
102672-func Syncfs(fd int) (err error) {
102673- _, _, e1 := Syscall(SYS_SYNCFS, uintptr(fd), 0, 0)
102674- if e1 != 0 {
102675- err = errnoErr(e1)
102676- }
102677- return
102678-}
102679-
102680-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102681-
102682-func Sysinfo(info *Sysinfo_t) (err error) {
102683- _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
102684- if e1 != 0 {
102685- err = errnoErr(e1)
102686- }
102687- return
102688-}
102689-
102690-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102691-
102692-func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
102693- r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
102694- n = int64(r0)
102695- if e1 != 0 {
102696- err = errnoErr(e1)
102697- }
102698- return
102699-}
102700-
102701-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102702-
102703-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
102704- _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
102705- if e1 != 0 {
102706- err = errnoErr(e1)
102707- }
102708- return
102709-}
102710-
102711-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102712-
102713-func Times(tms *Tms) (ticks uintptr, err error) {
102714- r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
102715- ticks = uintptr(r0)
102716+func fanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname *byte) (err error) {
102717+ _, _, e1 := Syscall6(SYS_FANOTIFY_MARK, uintptr(fd), uintptr(flags), uintptr(mask), uintptr(dirFd), uintptr(unsafe.Pointer(pathname)), 0)
102718 if e1 != 0 {
102719 err = errnoErr(e1)
102720 }
102721@@ -1286,16 +24,8 @@ func Times(tms *Tms) (ticks uintptr, err error) {
102722
102723 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102724
102725-func Umask(mask int) (oldmask int) {
102726- r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
102727- oldmask = int(r0)
102728- return
102729-}
102730-
102731-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102732-
102733-func Uname(buf *Utsname) (err error) {
102734- _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
102735+func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
102736+ _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
102737 if e1 != 0 {
102738 err = errnoErr(e1)
102739 }
102740@@ -1304,13 +34,9 @@ func Uname(buf *Utsname) (err error) {
102741
102742 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102743
102744-func Unmount(target string, flags int) (err error) {
102745- var _p0 *byte
102746- _p0, err = BytePtrFromString(target)
102747- if err != nil {
102748- return
102749- }
102750- _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
102751+func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
102752+ r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
102753+ n = int64(r0)
102754 if e1 != 0 {
102755 err = errnoErr(e1)
102756 }
102757@@ -1319,8 +45,8 @@ func Unmount(target string, flags int) (err error) {
102758
102759 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102760
102761-func Unshare(flags int) (err error) {
102762- _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
102763+func Dup2(oldfd int, newfd int) (err error) {
102764+ _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
102765 if e1 != 0 {
102766 err = errnoErr(e1)
102767 }
102768@@ -1329,8 +55,9 @@ func Unshare(flags int) (err error) {
102769
102770 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102771
102772-func Ustat(dev int, ubuf *Ustat_t) (err error) {
102773- _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
102774+func EpollCreate(size int) (fd int, err error) {
102775+ r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
102776+ fd = int(r0)
102777 if e1 != 0 {
102778 err = errnoErr(e1)
102779 }
102780@@ -1339,46 +66,14 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) {
102781
102782 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102783
102784-func write(fd int, p []byte) (n int, err error) {
102785+func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
102786 var _p0 unsafe.Pointer
102787- if len(p) > 0 {
102788- _p0 = unsafe.Pointer(&p[0])
102789+ if len(events) > 0 {
102790+ _p0 = unsafe.Pointer(&events[0])
102791 } else {
102792 _p0 = unsafe.Pointer(&_zero)
102793 }
102794- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
102795- n = int(r0)
102796- if e1 != 0 {
102797- err = errnoErr(e1)
102798- }
102799- return
102800-}
102801-
102802-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102803-
102804-func exitThread(code int) (err error) {
102805- _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
102806- if e1 != 0 {
102807- err = errnoErr(e1)
102808- }
102809- return
102810-}
102811-
102812-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102813-
102814-func readlen(fd int, p *byte, np int) (n int, err error) {
102815- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
102816- n = int(r0)
102817- if e1 != 0 {
102818- err = errnoErr(e1)
102819- }
102820- return
102821-}
102822-
102823-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102824-
102825-func writelen(fd int, p *byte, np int) (n int, err error) {
102826- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
102827+ r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
102828 n = int(r0)
102829 if e1 != 0 {
102830 err = errnoErr(e1)
102831@@ -1388,108 +83,8 @@ func writelen(fd int, p *byte, np int) (n int, err error) {
102832
102833 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102834
102835-func munmap(addr uintptr, length uintptr) (err error) {
102836- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
102837- if e1 != 0 {
102838- err = errnoErr(e1)
102839- }
102840- return
102841-}
102842-
102843-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102844-
102845-func Madvise(b []byte, advice int) (err error) {
102846- var _p0 unsafe.Pointer
102847- if len(b) > 0 {
102848- _p0 = unsafe.Pointer(&b[0])
102849- } else {
102850- _p0 = unsafe.Pointer(&_zero)
102851- }
102852- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
102853- if e1 != 0 {
102854- err = errnoErr(e1)
102855- }
102856- return
102857-}
102858-
102859-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102860-
102861-func Mprotect(b []byte, prot int) (err error) {
102862- var _p0 unsafe.Pointer
102863- if len(b) > 0 {
102864- _p0 = unsafe.Pointer(&b[0])
102865- } else {
102866- _p0 = unsafe.Pointer(&_zero)
102867- }
102868- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
102869- if e1 != 0 {
102870- err = errnoErr(e1)
102871- }
102872- return
102873-}
102874-
102875-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102876-
102877-func Mlock(b []byte) (err error) {
102878- var _p0 unsafe.Pointer
102879- if len(b) > 0 {
102880- _p0 = unsafe.Pointer(&b[0])
102881- } else {
102882- _p0 = unsafe.Pointer(&_zero)
102883- }
102884- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
102885- if e1 != 0 {
102886- err = errnoErr(e1)
102887- }
102888- return
102889-}
102890-
102891-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102892-
102893-func Munlock(b []byte) (err error) {
102894- var _p0 unsafe.Pointer
102895- if len(b) > 0 {
102896- _p0 = unsafe.Pointer(&b[0])
102897- } else {
102898- _p0 = unsafe.Pointer(&_zero)
102899- }
102900- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
102901- if e1 != 0 {
102902- err = errnoErr(e1)
102903- }
102904- return
102905-}
102906-
102907-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102908-
102909-func Mlockall(flags int) (err error) {
102910- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
102911- if e1 != 0 {
102912- err = errnoErr(e1)
102913- }
102914- return
102915-}
102916-
102917-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102918-
102919-func Msync(b []byte, flags int) (err error) {
102920- var _p0 unsafe.Pointer
102921- if len(b) > 0 {
102922- _p0 = unsafe.Pointer(&b[0])
102923- } else {
102924- _p0 = unsafe.Pointer(&_zero)
102925- }
102926- _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags))
102927- if e1 != 0 {
102928- err = errnoErr(e1)
102929- }
102930- return
102931-}
102932-
102933-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102934-
102935-func Munlockall() (err error) {
102936- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
102937+func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
102938+ _, _, e1 := Syscall6(SYS_FADVISE64, uintptr(fd), uintptr(offset), uintptr(length), uintptr(advice), 0, 0)
102939 if e1 != 0 {
102940 err = errnoErr(e1)
102941 }
102942@@ -1498,15 +93,8 @@ func Munlockall() (err error) {
102943
102944 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102945
102946-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
102947- var _p0 unsafe.Pointer
102948- if len(events) > 0 {
102949- _p0 = unsafe.Pointer(&events[0])
102950- } else {
102951- _p0 = unsafe.Pointer(&_zero)
102952- }
102953- r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
102954- n = int(r0)
102955+func Fchown(fd int, uid int, gid int) (err error) {
102956+ _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
102957 if e1 != 0 {
102958 err = errnoErr(e1)
102959 }
102960@@ -1515,8 +103,8 @@ func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
102961
102962 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102963
102964-func Dup2(oldfd int, newfd int) (err error) {
102965- _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
102966+func Fstat(fd int, stat *Stat_t) (err error) {
102967+ _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
102968 if e1 != 0 {
102969 err = errnoErr(e1)
102970 }
102971@@ -1525,18 +113,13 @@ func Dup2(oldfd int, newfd int) (err error) {
102972
102973 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102974
102975-func Fchown(fd int, uid int, gid int) (err error) {
102976- _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
102977- if e1 != 0 {
102978- err = errnoErr(e1)
102979+func Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) {
102980+ var _p0 *byte
102981+ _p0, err = BytePtrFromString(path)
102982+ if err != nil {
102983+ return
102984 }
102985- return
102986-}
102987-
102988-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102989-
102990-func Fstat(fd int, stat *Stat_t) (err error) {
102991- _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
102992+ _, _, e1 := Syscall6(SYS_NEWFSTATAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
102993 if e1 != 0 {
102994 err = errnoErr(e1)
102995 }
102996@@ -1566,7 +149,7 @@ func Ftruncate(fd int, length int64) (err error) {
102997 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
102998
102999 func Getegid() (egid int) {
103000- r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
103001+ r0, _ := RawSyscallNoError(SYS_GETEGID, 0, 0, 0)
103002 egid = int(r0)
103003 return
103004 }
103005@@ -1574,7 +157,7 @@ func Getegid() (egid int) {
103006 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103007
103008 func Geteuid() (euid int) {
103009- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
103010+ r0, _ := RawSyscallNoError(SYS_GETEUID, 0, 0, 0)
103011 euid = int(r0)
103012 return
103013 }
103014@@ -1582,7 +165,7 @@ func Geteuid() (euid int) {
103015 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103016
103017 func Getgid() (gid int) {
103018- r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
103019+ r0, _ := RawSyscallNoError(SYS_GETGID, 0, 0, 0)
103020 gid = int(r0)
103021 return
103022 }
103023@@ -1600,7 +183,7 @@ func Getrlimit(resource int, rlim *Rlimit) (err error) {
103024 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103025
103026 func Getuid() (uid int) {
103027- r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
103028+ r0, _ := RawSyscallNoError(SYS_GETUID, 0, 0, 0)
103029 uid = int(r0)
103030 return
103031 }
103032@@ -1722,6 +305,26 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
103033
103034 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103035
103036+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
103037+ var _p0 *byte
103038+ _p0, err = BytePtrFromString(oldpath)
103039+ if err != nil {
103040+ return
103041+ }
103042+ var _p1 *byte
103043+ _p1, err = BytePtrFromString(newpath)
103044+ if err != nil {
103045+ return
103046+ }
103047+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
103048+ if e1 != 0 {
103049+ err = errnoErr(e1)
103050+ }
103051+ return
103052+}
103053+
103054+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103055+
103056 func Seek(fd int, offset int64, whence int) (off int64, err error) {
103057 r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
103058 off = int64(r0)
103059@@ -1734,7 +337,7 @@ func Seek(fd int, offset int64, whence int) (off int64, err error) {
103060 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103061
103062 func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
103063- r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
103064+ r0, _, e1 := Syscall6(SYS__NEWSELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
103065 n = int(r0)
103066 if e1 != 0 {
103067 err = errnoErr(e1)
103068@@ -1755,8 +358,9 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
103069
103070 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103071
103072-func Setfsgid(gid int) (err error) {
103073- _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
103074+func setfsgid(gid int) (prev int, err error) {
103075+ r0, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
103076+ prev = int(r0)
103077 if e1 != 0 {
103078 err = errnoErr(e1)
103079 }
103080@@ -1765,8 +369,9 @@ func Setfsgid(gid int) (err error) {
103081
103082 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103083
103084-func Setfsuid(uid int) (err error) {
103085- _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
103086+func setfsuid(uid int) (prev int, err error) {
103087+ r0, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
103088+ prev = int(r0)
103089 if e1 != 0 {
103090 err = errnoErr(e1)
103091 }
103092@@ -1876,8 +481,13 @@ func Statfs(path string, buf *Statfs_t) (err error) {
103093
103094 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103095
103096-func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
103097- _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE2, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0)
103098+func Truncate(path string, length int64) (err error) {
103099+ var _p0 *byte
103100+ _p0, err = BytePtrFromString(path)
103101+ if err != nil {
103102+ return
103103+ }
103104+ _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
103105 if e1 != 0 {
103106 err = errnoErr(e1)
103107 }
103108@@ -1886,13 +496,8 @@ func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
103109
103110 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103111
103112-func Truncate(path string, length int64) (err error) {
103113- var _p0 *byte
103114- _p0, err = BytePtrFromString(path)
103115- if err != nil {
103116- return
103117- }
103118- _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
103119+func Ustat(dev int, ubuf *Ustat_t) (err error) {
103120+ _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
103121 if e1 != 0 {
103122 err = errnoErr(e1)
103123 }
103124@@ -2091,6 +696,21 @@ func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int6
103125
103126 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103127
103128+func futimesat(dirfd int, path string, times *[2]Timeval) (err error) {
103129+ var _p0 *byte
103130+ _p0, err = BytePtrFromString(path)
103131+ if err != nil {
103132+ return
103133+ }
103134+ _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)))
103135+ if e1 != 0 {
103136+ err = errnoErr(e1)
103137+ }
103138+ return
103139+}
103140+
103141+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103142+
103143 func Gettimeofday(tv *Timeval) (err error) {
103144 _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
103145 if e1 != 0 {
103146@@ -2127,8 +747,13 @@ func Utime(path string, buf *Utimbuf) (err error) {
103147
103148 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103149
103150-func pipe(p *[2]_C_int) (err error) {
103151- _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
103152+func utimes(path string, times *[2]Timeval) (err error) {
103153+ var _p0 *byte
103154+ _p0, err = BytePtrFromString(path)
103155+ if err != nil {
103156+ return
103157+ }
103158+ _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
103159 if e1 != 0 {
103160 err = errnoErr(e1)
103161 }
103162@@ -2137,8 +762,8 @@ func pipe(p *[2]_C_int) (err error) {
103163
103164 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103165
103166-func pipe2(p *[2]_C_int, flags int) (err error) {
103167- _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
103168+func pipe(p *[2]_C_int) (err error) {
103169+ _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
103170 if e1 != 0 {
103171 err = errnoErr(e1)
103172 }
103173@@ -2155,3 +780,28 @@ func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
103174 }
103175 return
103176 }
103177+
103178+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103179+
103180+func syncFileRange2(fd int, flags int, off int64, n int64) (err error) {
103181+ _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE2, uintptr(fd), uintptr(flags), uintptr(off), uintptr(n), 0, 0)
103182+ if e1 != 0 {
103183+ err = errnoErr(e1)
103184+ }
103185+ return
103186+}
103187+
103188+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103189+
103190+func kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error) {
103191+ var _p0 *byte
103192+ _p0, err = BytePtrFromString(cmdline)
103193+ if err != nil {
103194+ return
103195+ }
103196+ _, _, e1 := Syscall6(SYS_KEXEC_FILE_LOAD, uintptr(kernelFd), uintptr(initrdFd), uintptr(cmdlineLen), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
103197+ if e1 != 0 {
103198+ err = errnoErr(e1)
103199+ }
103200+ return
103201+}
103202diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go
103203index a8a2b0b0..888f21d3 100644
103204--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go
103205+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go
103206@@ -1,4 +1,4 @@
103207-// mksyscall.pl -tags linux,ppc64le syscall_linux.go syscall_linux_ppc64x.go
103208+// go run mksyscall.go -tags linux,ppc64le syscall_linux.go syscall_linux_ppc64x.go
103209 // Code generated by the command above; see README.md. DO NOT EDIT.
103210
103211 // +build linux,ppc64le
103212@@ -14,1270 +14,8 @@ var _ syscall.Errno
103213
103214 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103215
103216-func fchmodat(dirfd int, path string, mode uint32) (err error) {
103217- var _p0 *byte
103218- _p0, err = BytePtrFromString(path)
103219- if err != nil {
103220- return
103221- }
103222- _, _, e1 := Syscall(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
103223- if e1 != 0 {
103224- err = errnoErr(e1)
103225- }
103226- return
103227-}
103228-
103229-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103230-
103231-func ioctl(fd int, req uint, arg uintptr) (err error) {
103232- _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
103233- if e1 != 0 {
103234- err = errnoErr(e1)
103235- }
103236- return
103237-}
103238-
103239-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103240-
103241-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
103242- var _p0 *byte
103243- _p0, err = BytePtrFromString(oldpath)
103244- if err != nil {
103245- return
103246- }
103247- var _p1 *byte
103248- _p1, err = BytePtrFromString(newpath)
103249- if err != nil {
103250- return
103251- }
103252- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
103253- if e1 != 0 {
103254- err = errnoErr(e1)
103255- }
103256- return
103257-}
103258-
103259-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103260-
103261-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
103262- var _p0 *byte
103263- _p0, err = BytePtrFromString(path)
103264- if err != nil {
103265- return
103266- }
103267- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
103268- fd = int(r0)
103269- if e1 != 0 {
103270- err = errnoErr(e1)
103271- }
103272- return
103273-}
103274-
103275-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103276-
103277-func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
103278- r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
103279- n = int(r0)
103280- if e1 != 0 {
103281- err = errnoErr(e1)
103282- }
103283- return
103284-}
103285-
103286-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103287-
103288-func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
103289- var _p0 *byte
103290- _p0, err = BytePtrFromString(path)
103291- if err != nil {
103292- return
103293- }
103294- var _p1 unsafe.Pointer
103295- if len(buf) > 0 {
103296- _p1 = unsafe.Pointer(&buf[0])
103297- } else {
103298- _p1 = unsafe.Pointer(&_zero)
103299- }
103300- r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
103301- n = int(r0)
103302- if e1 != 0 {
103303- err = errnoErr(e1)
103304- }
103305- return
103306-}
103307-
103308-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103309-
103310-func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
103311- var _p0 *byte
103312- _p0, err = BytePtrFromString(oldpath)
103313- if err != nil {
103314- return
103315- }
103316- var _p1 *byte
103317- _p1, err = BytePtrFromString(newpath)
103318- if err != nil {
103319- return
103320- }
103321- _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
103322- if e1 != 0 {
103323- err = errnoErr(e1)
103324- }
103325- return
103326-}
103327-
103328-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103329-
103330-func Unlinkat(dirfd int, path string, flags int) (err error) {
103331- var _p0 *byte
103332- _p0, err = BytePtrFromString(path)
103333- if err != nil {
103334- return
103335- }
103336- _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
103337- if e1 != 0 {
103338- err = errnoErr(e1)
103339- }
103340- return
103341-}
103342-
103343-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103344-
103345-func utimes(path string, times *[2]Timeval) (err error) {
103346- var _p0 *byte
103347- _p0, err = BytePtrFromString(path)
103348- if err != nil {
103349- return
103350- }
103351- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
103352- if e1 != 0 {
103353- err = errnoErr(e1)
103354- }
103355- return
103356-}
103357-
103358-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103359-
103360-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
103361- var _p0 *byte
103362- _p0, err = BytePtrFromString(path)
103363- if err != nil {
103364- return
103365- }
103366- _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
103367- if e1 != 0 {
103368- err = errnoErr(e1)
103369- }
103370- return
103371-}
103372-
103373-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103374-
103375-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
103376- _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
103377- if e1 != 0 {
103378- err = errnoErr(e1)
103379- }
103380- return
103381-}
103382-
103383-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103384-
103385-func Getcwd(buf []byte) (n int, err error) {
103386- var _p0 unsafe.Pointer
103387- if len(buf) > 0 {
103388- _p0 = unsafe.Pointer(&buf[0])
103389- } else {
103390- _p0 = unsafe.Pointer(&_zero)
103391- }
103392- r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
103393- n = int(r0)
103394- if e1 != 0 {
103395- err = errnoErr(e1)
103396- }
103397- return
103398-}
103399-
103400-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103401-
103402-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
103403- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
103404- wpid = int(r0)
103405- if e1 != 0 {
103406- err = errnoErr(e1)
103407- }
103408- return
103409-}
103410-
103411-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103412-
103413-func KeyctlInt(cmd int, arg2 int, arg3 int, arg4 int, arg5 int) (ret int, err error) {
103414- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
103415- ret = int(r0)
103416- if e1 != 0 {
103417- err = errnoErr(e1)
103418- }
103419- return
103420-}
103421-
103422-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103423-
103424-func KeyctlBuffer(cmd int, arg2 int, buf []byte, arg5 int) (ret int, err error) {
103425- var _p0 unsafe.Pointer
103426- if len(buf) > 0 {
103427- _p0 = unsafe.Pointer(&buf[0])
103428- } else {
103429- _p0 = unsafe.Pointer(&_zero)
103430- }
103431- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(buf)), uintptr(arg5), 0)
103432- ret = int(r0)
103433- if e1 != 0 {
103434- err = errnoErr(e1)
103435- }
103436- return
103437-}
103438-
103439-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103440-
103441-func keyctlJoin(cmd int, arg2 string) (ret int, err error) {
103442- var _p0 *byte
103443- _p0, err = BytePtrFromString(arg2)
103444- if err != nil {
103445- return
103446- }
103447- r0, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0)
103448- ret = int(r0)
103449- if e1 != 0 {
103450- err = errnoErr(e1)
103451- }
103452- return
103453-}
103454-
103455-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103456-
103457-func keyctlSearch(cmd int, arg2 int, arg3 string, arg4 string, arg5 int) (ret int, err error) {
103458- var _p0 *byte
103459- _p0, err = BytePtrFromString(arg3)
103460- if err != nil {
103461- return
103462- }
103463- var _p1 *byte
103464- _p1, err = BytePtrFromString(arg4)
103465- if err != nil {
103466- return
103467- }
103468- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(arg5), 0)
103469- ret = int(r0)
103470- if e1 != 0 {
103471- err = errnoErr(e1)
103472- }
103473- return
103474-}
103475-
103476-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103477-
103478-func keyctlIOV(cmd int, arg2 int, payload []Iovec, arg5 int) (err error) {
103479- var _p0 unsafe.Pointer
103480- if len(payload) > 0 {
103481- _p0 = unsafe.Pointer(&payload[0])
103482- } else {
103483- _p0 = unsafe.Pointer(&_zero)
103484- }
103485- _, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(payload)), uintptr(arg5), 0)
103486- if e1 != 0 {
103487- err = errnoErr(e1)
103488- }
103489- return
103490-}
103491-
103492-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103493-
103494-func keyctlDH(cmd int, arg2 *KeyctlDHParams, buf []byte) (ret int, err error) {
103495- var _p0 unsafe.Pointer
103496- if len(buf) > 0 {
103497- _p0 = unsafe.Pointer(&buf[0])
103498- } else {
103499- _p0 = unsafe.Pointer(&_zero)
103500- }
103501- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(arg2)), uintptr(_p0), uintptr(len(buf)), 0, 0)
103502- ret = int(r0)
103503- if e1 != 0 {
103504- err = errnoErr(e1)
103505- }
103506- return
103507-}
103508-
103509-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103510-
103511-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
103512- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
103513- if e1 != 0 {
103514- err = errnoErr(e1)
103515- }
103516- return
103517-}
103518-
103519-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103520-
103521-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
103522- var _p0 *byte
103523- _p0, err = BytePtrFromString(arg)
103524- if err != nil {
103525- return
103526- }
103527- _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
103528- if e1 != 0 {
103529- err = errnoErr(e1)
103530- }
103531- return
103532-}
103533-
103534-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103535-
103536-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
103537- var _p0 *byte
103538- _p0, err = BytePtrFromString(source)
103539- if err != nil {
103540- return
103541- }
103542- var _p1 *byte
103543- _p1, err = BytePtrFromString(target)
103544- if err != nil {
103545- return
103546- }
103547- var _p2 *byte
103548- _p2, err = BytePtrFromString(fstype)
103549- if err != nil {
103550- return
103551- }
103552- _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
103553- if e1 != 0 {
103554- err = errnoErr(e1)
103555- }
103556- return
103557-}
103558-
103559-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103560-
103561-func Acct(path string) (err error) {
103562- var _p0 *byte
103563- _p0, err = BytePtrFromString(path)
103564- if err != nil {
103565- return
103566- }
103567- _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
103568- if e1 != 0 {
103569- err = errnoErr(e1)
103570- }
103571- return
103572-}
103573-
103574-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103575-
103576-func AddKey(keyType string, description string, payload []byte, ringid int) (id int, err error) {
103577- var _p0 *byte
103578- _p0, err = BytePtrFromString(keyType)
103579- if err != nil {
103580- return
103581- }
103582- var _p1 *byte
103583- _p1, err = BytePtrFromString(description)
103584- if err != nil {
103585- return
103586- }
103587- var _p2 unsafe.Pointer
103588- if len(payload) > 0 {
103589- _p2 = unsafe.Pointer(&payload[0])
103590- } else {
103591- _p2 = unsafe.Pointer(&_zero)
103592- }
103593- r0, _, e1 := Syscall6(SYS_ADD_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(payload)), uintptr(ringid), 0)
103594- id = int(r0)
103595- if e1 != 0 {
103596- err = errnoErr(e1)
103597- }
103598- return
103599-}
103600-
103601-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103602-
103603-func Adjtimex(buf *Timex) (state int, err error) {
103604- r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
103605- state = int(r0)
103606- if e1 != 0 {
103607- err = errnoErr(e1)
103608- }
103609- return
103610-}
103611-
103612-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103613-
103614-func Chdir(path string) (err error) {
103615- var _p0 *byte
103616- _p0, err = BytePtrFromString(path)
103617- if err != nil {
103618- return
103619- }
103620- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
103621- if e1 != 0 {
103622- err = errnoErr(e1)
103623- }
103624- return
103625-}
103626-
103627-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103628-
103629-func Chroot(path string) (err error) {
103630- var _p0 *byte
103631- _p0, err = BytePtrFromString(path)
103632- if err != nil {
103633- return
103634- }
103635- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
103636- if e1 != 0 {
103637- err = errnoErr(e1)
103638- }
103639- return
103640-}
103641-
103642-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103643-
103644-func ClockGettime(clockid int32, time *Timespec) (err error) {
103645- _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
103646- if e1 != 0 {
103647- err = errnoErr(e1)
103648- }
103649- return
103650-}
103651-
103652-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103653-
103654-func Close(fd int) (err error) {
103655- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
103656- if e1 != 0 {
103657- err = errnoErr(e1)
103658- }
103659- return
103660-}
103661-
103662-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103663-
103664-func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
103665- r0, _, e1 := Syscall6(SYS_COPY_FILE_RANGE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
103666- n = int(r0)
103667- if e1 != 0 {
103668- err = errnoErr(e1)
103669- }
103670- return
103671-}
103672-
103673-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103674-
103675-func Dup(oldfd int) (fd int, err error) {
103676- r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
103677- fd = int(r0)
103678- if e1 != 0 {
103679- err = errnoErr(e1)
103680- }
103681- return
103682-}
103683-
103684-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103685-
103686-func Dup3(oldfd int, newfd int, flags int) (err error) {
103687- _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
103688- if e1 != 0 {
103689- err = errnoErr(e1)
103690- }
103691- return
103692-}
103693-
103694-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103695-
103696-func EpollCreate(size int) (fd int, err error) {
103697- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
103698- fd = int(r0)
103699- if e1 != 0 {
103700- err = errnoErr(e1)
103701- }
103702- return
103703-}
103704-
103705-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103706-
103707-func EpollCreate1(flag int) (fd int, err error) {
103708- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
103709- fd = int(r0)
103710- if e1 != 0 {
103711- err = errnoErr(e1)
103712- }
103713- return
103714-}
103715-
103716-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103717-
103718-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
103719- _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
103720- if e1 != 0 {
103721- err = errnoErr(e1)
103722- }
103723- return
103724-}
103725-
103726-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103727-
103728-func Eventfd(initval uint, flags int) (fd int, err error) {
103729- r0, _, e1 := Syscall(SYS_EVENTFD2, uintptr(initval), uintptr(flags), 0)
103730- fd = int(r0)
103731- if e1 != 0 {
103732- err = errnoErr(e1)
103733- }
103734- return
103735-}
103736-
103737-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103738-
103739-func Exit(code int) {
103740- Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
103741- return
103742-}
103743-
103744-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103745-
103746-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
103747- var _p0 *byte
103748- _p0, err = BytePtrFromString(path)
103749- if err != nil {
103750- return
103751- }
103752- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
103753- if e1 != 0 {
103754- err = errnoErr(e1)
103755- }
103756- return
103757-}
103758-
103759-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103760-
103761-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
103762- _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
103763- if e1 != 0 {
103764- err = errnoErr(e1)
103765- }
103766- return
103767-}
103768-
103769-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103770-
103771-func Fchdir(fd int) (err error) {
103772- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
103773- if e1 != 0 {
103774- err = errnoErr(e1)
103775- }
103776- return
103777-}
103778-
103779-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103780-
103781-func Fchmod(fd int, mode uint32) (err error) {
103782- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
103783- if e1 != 0 {
103784- err = errnoErr(e1)
103785- }
103786- return
103787-}
103788-
103789-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103790-
103791-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
103792- var _p0 *byte
103793- _p0, err = BytePtrFromString(path)
103794- if err != nil {
103795- return
103796- }
103797- _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
103798- if e1 != 0 {
103799- err = errnoErr(e1)
103800- }
103801- return
103802-}
103803-
103804-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103805-
103806-func fcntl(fd int, cmd int, arg int) (val int, err error) {
103807- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
103808- val = int(r0)
103809- if e1 != 0 {
103810- err = errnoErr(e1)
103811- }
103812- return
103813-}
103814-
103815-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103816-
103817-func Fdatasync(fd int) (err error) {
103818- _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
103819- if e1 != 0 {
103820- err = errnoErr(e1)
103821- }
103822- return
103823-}
103824-
103825-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103826-
103827-func Flock(fd int, how int) (err error) {
103828- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
103829- if e1 != 0 {
103830- err = errnoErr(e1)
103831- }
103832- return
103833-}
103834-
103835-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103836-
103837-func Fsync(fd int) (err error) {
103838- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
103839- if e1 != 0 {
103840- err = errnoErr(e1)
103841- }
103842- return
103843-}
103844-
103845-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103846-
103847-func Getdents(fd int, buf []byte) (n int, err error) {
103848- var _p0 unsafe.Pointer
103849- if len(buf) > 0 {
103850- _p0 = unsafe.Pointer(&buf[0])
103851- } else {
103852- _p0 = unsafe.Pointer(&_zero)
103853- }
103854- r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
103855- n = int(r0)
103856- if e1 != 0 {
103857- err = errnoErr(e1)
103858- }
103859- return
103860-}
103861-
103862-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103863-
103864-func Getpgid(pid int) (pgid int, err error) {
103865- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
103866- pgid = int(r0)
103867- if e1 != 0 {
103868- err = errnoErr(e1)
103869- }
103870- return
103871-}
103872-
103873-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103874-
103875-func Getpid() (pid int) {
103876- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
103877- pid = int(r0)
103878- return
103879-}
103880-
103881-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103882-
103883-func Getppid() (ppid int) {
103884- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
103885- ppid = int(r0)
103886- return
103887-}
103888-
103889-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103890-
103891-func Getpriority(which int, who int) (prio int, err error) {
103892- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
103893- prio = int(r0)
103894- if e1 != 0 {
103895- err = errnoErr(e1)
103896- }
103897- return
103898-}
103899-
103900-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103901-
103902-func Getrandom(buf []byte, flags int) (n int, err error) {
103903- var _p0 unsafe.Pointer
103904- if len(buf) > 0 {
103905- _p0 = unsafe.Pointer(&buf[0])
103906- } else {
103907- _p0 = unsafe.Pointer(&_zero)
103908- }
103909- r0, _, e1 := Syscall(SYS_GETRANDOM, uintptr(_p0), uintptr(len(buf)), uintptr(flags))
103910- n = int(r0)
103911- if e1 != 0 {
103912- err = errnoErr(e1)
103913- }
103914- return
103915-}
103916-
103917-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103918-
103919-func Getrusage(who int, rusage *Rusage) (err error) {
103920- _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
103921- if e1 != 0 {
103922- err = errnoErr(e1)
103923- }
103924- return
103925-}
103926-
103927-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103928-
103929-func Getsid(pid int) (sid int, err error) {
103930- r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
103931- sid = int(r0)
103932- if e1 != 0 {
103933- err = errnoErr(e1)
103934- }
103935- return
103936-}
103937-
103938-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103939-
103940-func Gettid() (tid int) {
103941- r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
103942- tid = int(r0)
103943- return
103944-}
103945-
103946-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103947-
103948-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
103949- var _p0 *byte
103950- _p0, err = BytePtrFromString(path)
103951- if err != nil {
103952- return
103953- }
103954- var _p1 *byte
103955- _p1, err = BytePtrFromString(attr)
103956- if err != nil {
103957- return
103958- }
103959- var _p2 unsafe.Pointer
103960- if len(dest) > 0 {
103961- _p2 = unsafe.Pointer(&dest[0])
103962- } else {
103963- _p2 = unsafe.Pointer(&_zero)
103964- }
103965- r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
103966- sz = int(r0)
103967- if e1 != 0 {
103968- err = errnoErr(e1)
103969- }
103970- return
103971-}
103972-
103973-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103974-
103975-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
103976- var _p0 *byte
103977- _p0, err = BytePtrFromString(pathname)
103978- if err != nil {
103979- return
103980- }
103981- r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
103982- watchdesc = int(r0)
103983- if e1 != 0 {
103984- err = errnoErr(e1)
103985- }
103986- return
103987-}
103988-
103989-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
103990-
103991-func InotifyInit1(flags int) (fd int, err error) {
103992- r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
103993- fd = int(r0)
103994- if e1 != 0 {
103995- err = errnoErr(e1)
103996- }
103997- return
103998-}
103999-
104000-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104001-
104002-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
104003- r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
104004- success = int(r0)
104005- if e1 != 0 {
104006- err = errnoErr(e1)
104007- }
104008- return
104009-}
104010-
104011-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104012-
104013-func Kill(pid int, sig syscall.Signal) (err error) {
104014- _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
104015- if e1 != 0 {
104016- err = errnoErr(e1)
104017- }
104018- return
104019-}
104020-
104021-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104022-
104023-func Klogctl(typ int, buf []byte) (n int, err error) {
104024- var _p0 unsafe.Pointer
104025- if len(buf) > 0 {
104026- _p0 = unsafe.Pointer(&buf[0])
104027- } else {
104028- _p0 = unsafe.Pointer(&_zero)
104029- }
104030- r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
104031- n = int(r0)
104032- if e1 != 0 {
104033- err = errnoErr(e1)
104034- }
104035- return
104036-}
104037-
104038-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104039-
104040-func Lgetxattr(path string, attr string, dest []byte) (sz int, err error) {
104041- var _p0 *byte
104042- _p0, err = BytePtrFromString(path)
104043- if err != nil {
104044- return
104045- }
104046- var _p1 *byte
104047- _p1, err = BytePtrFromString(attr)
104048- if err != nil {
104049- return
104050- }
104051- var _p2 unsafe.Pointer
104052- if len(dest) > 0 {
104053- _p2 = unsafe.Pointer(&dest[0])
104054- } else {
104055- _p2 = unsafe.Pointer(&_zero)
104056- }
104057- r0, _, e1 := Syscall6(SYS_LGETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
104058- sz = int(r0)
104059- if e1 != 0 {
104060- err = errnoErr(e1)
104061- }
104062- return
104063-}
104064-
104065-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104066-
104067-func Listxattr(path string, dest []byte) (sz int, err error) {
104068- var _p0 *byte
104069- _p0, err = BytePtrFromString(path)
104070- if err != nil {
104071- return
104072- }
104073- var _p1 unsafe.Pointer
104074- if len(dest) > 0 {
104075- _p1 = unsafe.Pointer(&dest[0])
104076- } else {
104077- _p1 = unsafe.Pointer(&_zero)
104078- }
104079- r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
104080- sz = int(r0)
104081- if e1 != 0 {
104082- err = errnoErr(e1)
104083- }
104084- return
104085-}
104086-
104087-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104088-
104089-func Llistxattr(path string, dest []byte) (sz int, err error) {
104090- var _p0 *byte
104091- _p0, err = BytePtrFromString(path)
104092- if err != nil {
104093- return
104094- }
104095- var _p1 unsafe.Pointer
104096- if len(dest) > 0 {
104097- _p1 = unsafe.Pointer(&dest[0])
104098- } else {
104099- _p1 = unsafe.Pointer(&_zero)
104100- }
104101- r0, _, e1 := Syscall(SYS_LLISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
104102- sz = int(r0)
104103- if e1 != 0 {
104104- err = errnoErr(e1)
104105- }
104106- return
104107-}
104108-
104109-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104110-
104111-func Lremovexattr(path string, attr string) (err error) {
104112- var _p0 *byte
104113- _p0, err = BytePtrFromString(path)
104114- if err != nil {
104115- return
104116- }
104117- var _p1 *byte
104118- _p1, err = BytePtrFromString(attr)
104119- if err != nil {
104120- return
104121- }
104122- _, _, e1 := Syscall(SYS_LREMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
104123- if e1 != 0 {
104124- err = errnoErr(e1)
104125- }
104126- return
104127-}
104128-
104129-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104130-
104131-func Lsetxattr(path string, attr string, data []byte, flags int) (err error) {
104132- var _p0 *byte
104133- _p0, err = BytePtrFromString(path)
104134- if err != nil {
104135- return
104136- }
104137- var _p1 *byte
104138- _p1, err = BytePtrFromString(attr)
104139- if err != nil {
104140- return
104141- }
104142- var _p2 unsafe.Pointer
104143- if len(data) > 0 {
104144- _p2 = unsafe.Pointer(&data[0])
104145- } else {
104146- _p2 = unsafe.Pointer(&_zero)
104147- }
104148- _, _, e1 := Syscall6(SYS_LSETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
104149- if e1 != 0 {
104150- err = errnoErr(e1)
104151- }
104152- return
104153-}
104154-
104155-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104156-
104157-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
104158- var _p0 *byte
104159- _p0, err = BytePtrFromString(path)
104160- if err != nil {
104161- return
104162- }
104163- _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
104164- if e1 != 0 {
104165- err = errnoErr(e1)
104166- }
104167- return
104168-}
104169-
104170-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104171-
104172-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
104173- var _p0 *byte
104174- _p0, err = BytePtrFromString(path)
104175- if err != nil {
104176- return
104177- }
104178- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
104179- if e1 != 0 {
104180- err = errnoErr(e1)
104181- }
104182- return
104183-}
104184-
104185-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104186-
104187-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
104188- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
104189- if e1 != 0 {
104190- err = errnoErr(e1)
104191- }
104192- return
104193-}
104194-
104195-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104196-
104197-func PivotRoot(newroot string, putold string) (err error) {
104198- var _p0 *byte
104199- _p0, err = BytePtrFromString(newroot)
104200- if err != nil {
104201- return
104202- }
104203- var _p1 *byte
104204- _p1, err = BytePtrFromString(putold)
104205- if err != nil {
104206- return
104207- }
104208- _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
104209- if e1 != 0 {
104210- err = errnoErr(e1)
104211- }
104212- return
104213-}
104214-
104215-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104216-
104217-func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
104218- _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0)
104219- if e1 != 0 {
104220- err = errnoErr(e1)
104221- }
104222- return
104223-}
104224-
104225-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104226-
104227-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
104228- _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
104229- if e1 != 0 {
104230- err = errnoErr(e1)
104231- }
104232- return
104233-}
104234-
104235-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104236-
104237-func read(fd int, p []byte) (n int, err error) {
104238- var _p0 unsafe.Pointer
104239- if len(p) > 0 {
104240- _p0 = unsafe.Pointer(&p[0])
104241- } else {
104242- _p0 = unsafe.Pointer(&_zero)
104243- }
104244- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
104245- n = int(r0)
104246- if e1 != 0 {
104247- err = errnoErr(e1)
104248- }
104249- return
104250-}
104251-
104252-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104253-
104254-func Removexattr(path string, attr string) (err error) {
104255- var _p0 *byte
104256- _p0, err = BytePtrFromString(path)
104257- if err != nil {
104258- return
104259- }
104260- var _p1 *byte
104261- _p1, err = BytePtrFromString(attr)
104262- if err != nil {
104263- return
104264- }
104265- _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
104266- if e1 != 0 {
104267- err = errnoErr(e1)
104268- }
104269- return
104270-}
104271-
104272-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104273-
104274-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
104275- var _p0 *byte
104276- _p0, err = BytePtrFromString(oldpath)
104277- if err != nil {
104278- return
104279- }
104280- var _p1 *byte
104281- _p1, err = BytePtrFromString(newpath)
104282- if err != nil {
104283- return
104284- }
104285- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
104286- if e1 != 0 {
104287- err = errnoErr(e1)
104288- }
104289- return
104290-}
104291-
104292-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104293-
104294-func RequestKey(keyType string, description string, callback string, destRingid int) (id int, err error) {
104295- var _p0 *byte
104296- _p0, err = BytePtrFromString(keyType)
104297- if err != nil {
104298- return
104299- }
104300- var _p1 *byte
104301- _p1, err = BytePtrFromString(description)
104302- if err != nil {
104303- return
104304- }
104305- var _p2 *byte
104306- _p2, err = BytePtrFromString(callback)
104307- if err != nil {
104308- return
104309- }
104310- r0, _, e1 := Syscall6(SYS_REQUEST_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(destRingid), 0, 0)
104311- id = int(r0)
104312- if e1 != 0 {
104313- err = errnoErr(e1)
104314- }
104315- return
104316-}
104317-
104318-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104319-
104320-func Setdomainname(p []byte) (err error) {
104321- var _p0 unsafe.Pointer
104322- if len(p) > 0 {
104323- _p0 = unsafe.Pointer(&p[0])
104324- } else {
104325- _p0 = unsafe.Pointer(&_zero)
104326- }
104327- _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
104328- if e1 != 0 {
104329- err = errnoErr(e1)
104330- }
104331- return
104332-}
104333-
104334-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104335-
104336-func Sethostname(p []byte) (err error) {
104337- var _p0 unsafe.Pointer
104338- if len(p) > 0 {
104339- _p0 = unsafe.Pointer(&p[0])
104340- } else {
104341- _p0 = unsafe.Pointer(&_zero)
104342- }
104343- _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
104344- if e1 != 0 {
104345- err = errnoErr(e1)
104346- }
104347- return
104348-}
104349-
104350-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104351-
104352-func Setpgid(pid int, pgid int) (err error) {
104353- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
104354- if e1 != 0 {
104355- err = errnoErr(e1)
104356- }
104357- return
104358-}
104359-
104360-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104361-
104362-func Setsid() (pid int, err error) {
104363- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
104364- pid = int(r0)
104365- if e1 != 0 {
104366- err = errnoErr(e1)
104367- }
104368- return
104369-}
104370-
104371-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104372-
104373-func Settimeofday(tv *Timeval) (err error) {
104374- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
104375- if e1 != 0 {
104376- err = errnoErr(e1)
104377- }
104378- return
104379-}
104380-
104381-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104382-
104383-func Setns(fd int, nstype int) (err error) {
104384- _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
104385- if e1 != 0 {
104386- err = errnoErr(e1)
104387- }
104388- return
104389-}
104390-
104391-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104392-
104393-func Setpriority(which int, who int, prio int) (err error) {
104394- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
104395- if e1 != 0 {
104396- err = errnoErr(e1)
104397- }
104398- return
104399-}
104400-
104401-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104402-
104403-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
104404- var _p0 *byte
104405- _p0, err = BytePtrFromString(path)
104406- if err != nil {
104407- return
104408- }
104409- var _p1 *byte
104410- _p1, err = BytePtrFromString(attr)
104411- if err != nil {
104412- return
104413- }
104414- var _p2 unsafe.Pointer
104415- if len(data) > 0 {
104416- _p2 = unsafe.Pointer(&data[0])
104417- } else {
104418- _p2 = unsafe.Pointer(&_zero)
104419- }
104420- _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
104421- if e1 != 0 {
104422- err = errnoErr(e1)
104423- }
104424- return
104425-}
104426-
104427-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104428-
104429-func Sync() {
104430- Syscall(SYS_SYNC, 0, 0, 0)
104431- return
104432-}
104433-
104434-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104435-
104436-func Syncfs(fd int) (err error) {
104437- _, _, e1 := Syscall(SYS_SYNCFS, uintptr(fd), 0, 0)
104438- if e1 != 0 {
104439- err = errnoErr(e1)
104440- }
104441- return
104442-}
104443-
104444-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104445-
104446-func Sysinfo(info *Sysinfo_t) (err error) {
104447- _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
104448- if e1 != 0 {
104449- err = errnoErr(e1)
104450- }
104451- return
104452-}
104453-
104454-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104455-
104456-func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
104457- r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
104458- n = int64(r0)
104459- if e1 != 0 {
104460- err = errnoErr(e1)
104461- }
104462- return
104463-}
104464-
104465-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104466-
104467-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
104468- _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
104469- if e1 != 0 {
104470- err = errnoErr(e1)
104471- }
104472- return
104473-}
104474-
104475-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104476-
104477-func Times(tms *Tms) (ticks uintptr, err error) {
104478- r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
104479- ticks = uintptr(r0)
104480+func fanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname *byte) (err error) {
104481+ _, _, e1 := Syscall6(SYS_FANOTIFY_MARK, uintptr(fd), uintptr(flags), uintptr(mask), uintptr(dirFd), uintptr(unsafe.Pointer(pathname)), 0)
104482 if e1 != 0 {
104483 err = errnoErr(e1)
104484 }
104485@@ -1286,16 +24,8 @@ func Times(tms *Tms) (ticks uintptr, err error) {
104486
104487 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104488
104489-func Umask(mask int) (oldmask int) {
104490- r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
104491- oldmask = int(r0)
104492- return
104493-}
104494-
104495-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104496-
104497-func Uname(buf *Utsname) (err error) {
104498- _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
104499+func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
104500+ _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
104501 if e1 != 0 {
104502 err = errnoErr(e1)
104503 }
104504@@ -1304,13 +34,9 @@ func Uname(buf *Utsname) (err error) {
104505
104506 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104507
104508-func Unmount(target string, flags int) (err error) {
104509- var _p0 *byte
104510- _p0, err = BytePtrFromString(target)
104511- if err != nil {
104512- return
104513- }
104514- _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
104515+func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
104516+ r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
104517+ n = int64(r0)
104518 if e1 != 0 {
104519 err = errnoErr(e1)
104520 }
104521@@ -1319,8 +45,8 @@ func Unmount(target string, flags int) (err error) {
104522
104523 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104524
104525-func Unshare(flags int) (err error) {
104526- _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
104527+func Dup2(oldfd int, newfd int) (err error) {
104528+ _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
104529 if e1 != 0 {
104530 err = errnoErr(e1)
104531 }
104532@@ -1329,8 +55,9 @@ func Unshare(flags int) (err error) {
104533
104534 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104535
104536-func Ustat(dev int, ubuf *Ustat_t) (err error) {
104537- _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
104538+func EpollCreate(size int) (fd int, err error) {
104539+ r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
104540+ fd = int(r0)
104541 if e1 != 0 {
104542 err = errnoErr(e1)
104543 }
104544@@ -1339,46 +66,14 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) {
104545
104546 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104547
104548-func write(fd int, p []byte) (n int, err error) {
104549+func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
104550 var _p0 unsafe.Pointer
104551- if len(p) > 0 {
104552- _p0 = unsafe.Pointer(&p[0])
104553+ if len(events) > 0 {
104554+ _p0 = unsafe.Pointer(&events[0])
104555 } else {
104556 _p0 = unsafe.Pointer(&_zero)
104557 }
104558- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
104559- n = int(r0)
104560- if e1 != 0 {
104561- err = errnoErr(e1)
104562- }
104563- return
104564-}
104565-
104566-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104567-
104568-func exitThread(code int) (err error) {
104569- _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
104570- if e1 != 0 {
104571- err = errnoErr(e1)
104572- }
104573- return
104574-}
104575-
104576-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104577-
104578-func readlen(fd int, p *byte, np int) (n int, err error) {
104579- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
104580- n = int(r0)
104581- if e1 != 0 {
104582- err = errnoErr(e1)
104583- }
104584- return
104585-}
104586-
104587-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104588-
104589-func writelen(fd int, p *byte, np int) (n int, err error) {
104590- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
104591+ r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
104592 n = int(r0)
104593 if e1 != 0 {
104594 err = errnoErr(e1)
104595@@ -1388,108 +83,8 @@ func writelen(fd int, p *byte, np int) (n int, err error) {
104596
104597 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104598
104599-func munmap(addr uintptr, length uintptr) (err error) {
104600- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
104601- if e1 != 0 {
104602- err = errnoErr(e1)
104603- }
104604- return
104605-}
104606-
104607-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104608-
104609-func Madvise(b []byte, advice int) (err error) {
104610- var _p0 unsafe.Pointer
104611- if len(b) > 0 {
104612- _p0 = unsafe.Pointer(&b[0])
104613- } else {
104614- _p0 = unsafe.Pointer(&_zero)
104615- }
104616- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
104617- if e1 != 0 {
104618- err = errnoErr(e1)
104619- }
104620- return
104621-}
104622-
104623-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104624-
104625-func Mprotect(b []byte, prot int) (err error) {
104626- var _p0 unsafe.Pointer
104627- if len(b) > 0 {
104628- _p0 = unsafe.Pointer(&b[0])
104629- } else {
104630- _p0 = unsafe.Pointer(&_zero)
104631- }
104632- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
104633- if e1 != 0 {
104634- err = errnoErr(e1)
104635- }
104636- return
104637-}
104638-
104639-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104640-
104641-func Mlock(b []byte) (err error) {
104642- var _p0 unsafe.Pointer
104643- if len(b) > 0 {
104644- _p0 = unsafe.Pointer(&b[0])
104645- } else {
104646- _p0 = unsafe.Pointer(&_zero)
104647- }
104648- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
104649- if e1 != 0 {
104650- err = errnoErr(e1)
104651- }
104652- return
104653-}
104654-
104655-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104656-
104657-func Munlock(b []byte) (err error) {
104658- var _p0 unsafe.Pointer
104659- if len(b) > 0 {
104660- _p0 = unsafe.Pointer(&b[0])
104661- } else {
104662- _p0 = unsafe.Pointer(&_zero)
104663- }
104664- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
104665- if e1 != 0 {
104666- err = errnoErr(e1)
104667- }
104668- return
104669-}
104670-
104671-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104672-
104673-func Mlockall(flags int) (err error) {
104674- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
104675- if e1 != 0 {
104676- err = errnoErr(e1)
104677- }
104678- return
104679-}
104680-
104681-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104682-
104683-func Msync(b []byte, flags int) (err error) {
104684- var _p0 unsafe.Pointer
104685- if len(b) > 0 {
104686- _p0 = unsafe.Pointer(&b[0])
104687- } else {
104688- _p0 = unsafe.Pointer(&_zero)
104689- }
104690- _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags))
104691- if e1 != 0 {
104692- err = errnoErr(e1)
104693- }
104694- return
104695-}
104696-
104697-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104698-
104699-func Munlockall() (err error) {
104700- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
104701+func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
104702+ _, _, e1 := Syscall6(SYS_FADVISE64, uintptr(fd), uintptr(offset), uintptr(length), uintptr(advice), 0, 0)
104703 if e1 != 0 {
104704 err = errnoErr(e1)
104705 }
104706@@ -1498,15 +93,8 @@ func Munlockall() (err error) {
104707
104708 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104709
104710-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
104711- var _p0 unsafe.Pointer
104712- if len(events) > 0 {
104713- _p0 = unsafe.Pointer(&events[0])
104714- } else {
104715- _p0 = unsafe.Pointer(&_zero)
104716- }
104717- r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
104718- n = int(r0)
104719+func Fchown(fd int, uid int, gid int) (err error) {
104720+ _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
104721 if e1 != 0 {
104722 err = errnoErr(e1)
104723 }
104724@@ -1515,8 +103,8 @@ func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
104725
104726 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104727
104728-func Dup2(oldfd int, newfd int) (err error) {
104729- _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
104730+func Fstat(fd int, stat *Stat_t) (err error) {
104731+ _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
104732 if e1 != 0 {
104733 err = errnoErr(e1)
104734 }
104735@@ -1525,18 +113,13 @@ func Dup2(oldfd int, newfd int) (err error) {
104736
104737 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104738
104739-func Fchown(fd int, uid int, gid int) (err error) {
104740- _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
104741- if e1 != 0 {
104742- err = errnoErr(e1)
104743+func Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) {
104744+ var _p0 *byte
104745+ _p0, err = BytePtrFromString(path)
104746+ if err != nil {
104747+ return
104748 }
104749- return
104750-}
104751-
104752-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104753-
104754-func Fstat(fd int, stat *Stat_t) (err error) {
104755- _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
104756+ _, _, e1 := Syscall6(SYS_NEWFSTATAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
104757 if e1 != 0 {
104758 err = errnoErr(e1)
104759 }
104760@@ -1566,7 +149,7 @@ func Ftruncate(fd int, length int64) (err error) {
104761 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104762
104763 func Getegid() (egid int) {
104764- r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
104765+ r0, _ := RawSyscallNoError(SYS_GETEGID, 0, 0, 0)
104766 egid = int(r0)
104767 return
104768 }
104769@@ -1574,7 +157,7 @@ func Getegid() (egid int) {
104770 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104771
104772 func Geteuid() (euid int) {
104773- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
104774+ r0, _ := RawSyscallNoError(SYS_GETEUID, 0, 0, 0)
104775 euid = int(r0)
104776 return
104777 }
104778@@ -1582,7 +165,7 @@ func Geteuid() (euid int) {
104779 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104780
104781 func Getgid() (gid int) {
104782- r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
104783+ r0, _ := RawSyscallNoError(SYS_GETGID, 0, 0, 0)
104784 gid = int(r0)
104785 return
104786 }
104787@@ -1600,7 +183,7 @@ func Getrlimit(resource int, rlim *Rlimit) (err error) {
104788 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104789
104790 func Getuid() (uid int) {
104791- r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
104792+ r0, _ := RawSyscallNoError(SYS_GETUID, 0, 0, 0)
104793 uid = int(r0)
104794 return
104795 }
104796@@ -1722,6 +305,26 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
104797
104798 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104799
104800+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
104801+ var _p0 *byte
104802+ _p0, err = BytePtrFromString(oldpath)
104803+ if err != nil {
104804+ return
104805+ }
104806+ var _p1 *byte
104807+ _p1, err = BytePtrFromString(newpath)
104808+ if err != nil {
104809+ return
104810+ }
104811+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
104812+ if e1 != 0 {
104813+ err = errnoErr(e1)
104814+ }
104815+ return
104816+}
104817+
104818+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104819+
104820 func Seek(fd int, offset int64, whence int) (off int64, err error) {
104821 r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
104822 off = int64(r0)
104823@@ -1734,7 +337,7 @@ func Seek(fd int, offset int64, whence int) (off int64, err error) {
104824 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104825
104826 func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
104827- r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
104828+ r0, _, e1 := Syscall6(SYS__NEWSELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
104829 n = int(r0)
104830 if e1 != 0 {
104831 err = errnoErr(e1)
104832@@ -1755,8 +358,9 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
104833
104834 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104835
104836-func Setfsgid(gid int) (err error) {
104837- _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
104838+func setfsgid(gid int) (prev int, err error) {
104839+ r0, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
104840+ prev = int(r0)
104841 if e1 != 0 {
104842 err = errnoErr(e1)
104843 }
104844@@ -1765,8 +369,9 @@ func Setfsgid(gid int) (err error) {
104845
104846 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104847
104848-func Setfsuid(uid int) (err error) {
104849- _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
104850+func setfsuid(uid int) (prev int, err error) {
104851+ r0, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
104852+ prev = int(r0)
104853 if e1 != 0 {
104854 err = errnoErr(e1)
104855 }
104856@@ -1876,8 +481,13 @@ func Statfs(path string, buf *Statfs_t) (err error) {
104857
104858 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104859
104860-func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
104861- _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE2, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0)
104862+func Truncate(path string, length int64) (err error) {
104863+ var _p0 *byte
104864+ _p0, err = BytePtrFromString(path)
104865+ if err != nil {
104866+ return
104867+ }
104868+ _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
104869 if e1 != 0 {
104870 err = errnoErr(e1)
104871 }
104872@@ -1886,13 +496,8 @@ func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
104873
104874 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104875
104876-func Truncate(path string, length int64) (err error) {
104877- var _p0 *byte
104878- _p0, err = BytePtrFromString(path)
104879- if err != nil {
104880- return
104881- }
104882- _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
104883+func Ustat(dev int, ubuf *Ustat_t) (err error) {
104884+ _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
104885 if e1 != 0 {
104886 err = errnoErr(e1)
104887 }
104888@@ -2091,6 +696,21 @@ func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int6
104889
104890 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104891
104892+func futimesat(dirfd int, path string, times *[2]Timeval) (err error) {
104893+ var _p0 *byte
104894+ _p0, err = BytePtrFromString(path)
104895+ if err != nil {
104896+ return
104897+ }
104898+ _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)))
104899+ if e1 != 0 {
104900+ err = errnoErr(e1)
104901+ }
104902+ return
104903+}
104904+
104905+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104906+
104907 func Gettimeofday(tv *Timeval) (err error) {
104908 _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
104909 if e1 != 0 {
104910@@ -2127,8 +747,13 @@ func Utime(path string, buf *Utimbuf) (err error) {
104911
104912 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104913
104914-func pipe(p *[2]_C_int) (err error) {
104915- _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
104916+func utimes(path string, times *[2]Timeval) (err error) {
104917+ var _p0 *byte
104918+ _p0, err = BytePtrFromString(path)
104919+ if err != nil {
104920+ return
104921+ }
104922+ _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
104923 if e1 != 0 {
104924 err = errnoErr(e1)
104925 }
104926@@ -2137,8 +762,8 @@ func pipe(p *[2]_C_int) (err error) {
104927
104928 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104929
104930-func pipe2(p *[2]_C_int, flags int) (err error) {
104931- _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
104932+func pipe(p *[2]_C_int) (err error) {
104933+ _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
104934 if e1 != 0 {
104935 err = errnoErr(e1)
104936 }
104937@@ -2155,3 +780,28 @@ func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
104938 }
104939 return
104940 }
104941+
104942+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104943+
104944+func syncFileRange2(fd int, flags int, off int64, n int64) (err error) {
104945+ _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE2, uintptr(fd), uintptr(flags), uintptr(off), uintptr(n), 0, 0)
104946+ if e1 != 0 {
104947+ err = errnoErr(e1)
104948+ }
104949+ return
104950+}
104951+
104952+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104953+
104954+func kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error) {
104955+ var _p0 *byte
104956+ _p0, err = BytePtrFromString(cmdline)
104957+ if err != nil {
104958+ return
104959+ }
104960+ _, _, e1 := Syscall6(SYS_KEXEC_FILE_LOAD, uintptr(kernelFd), uintptr(initrdFd), uintptr(cmdlineLen), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
104961+ if e1 != 0 {
104962+ err = errnoErr(e1)
104963+ }
104964+ return
104965+}
104966diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go
104967new file mode 100644
104968index 00000000..b7613344
104969--- /dev/null
104970+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go
104971@@ -0,0 +1,582 @@
104972+// go run mksyscall.go -tags linux,riscv64 syscall_linux.go syscall_linux_riscv64.go
104973+// Code generated by the command above; see README.md. DO NOT EDIT.
104974+
104975+// +build linux,riscv64
104976+
104977+package unix
104978+
104979+import (
104980+ "syscall"
104981+ "unsafe"
104982+)
104983+
104984+var _ syscall.Errno
104985+
104986+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104987+
104988+func fanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname *byte) (err error) {
104989+ _, _, e1 := Syscall6(SYS_FANOTIFY_MARK, uintptr(fd), uintptr(flags), uintptr(mask), uintptr(dirFd), uintptr(unsafe.Pointer(pathname)), 0)
104990+ if e1 != 0 {
104991+ err = errnoErr(e1)
104992+ }
104993+ return
104994+}
104995+
104996+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
104997+
104998+func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
104999+ _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
105000+ if e1 != 0 {
105001+ err = errnoErr(e1)
105002+ }
105003+ return
105004+}
105005+
105006+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105007+
105008+func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
105009+ r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
105010+ n = int64(r0)
105011+ if e1 != 0 {
105012+ err = errnoErr(e1)
105013+ }
105014+ return
105015+}
105016+
105017+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105018+
105019+func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
105020+ var _p0 unsafe.Pointer
105021+ if len(events) > 0 {
105022+ _p0 = unsafe.Pointer(&events[0])
105023+ } else {
105024+ _p0 = unsafe.Pointer(&_zero)
105025+ }
105026+ r0, _, e1 := Syscall6(SYS_EPOLL_PWAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
105027+ n = int(r0)
105028+ if e1 != 0 {
105029+ err = errnoErr(e1)
105030+ }
105031+ return
105032+}
105033+
105034+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105035+
105036+func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
105037+ _, _, e1 := Syscall6(SYS_FADVISE64, uintptr(fd), uintptr(offset), uintptr(length), uintptr(advice), 0, 0)
105038+ if e1 != 0 {
105039+ err = errnoErr(e1)
105040+ }
105041+ return
105042+}
105043+
105044+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105045+
105046+func Fchown(fd int, uid int, gid int) (err error) {
105047+ _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
105048+ if e1 != 0 {
105049+ err = errnoErr(e1)
105050+ }
105051+ return
105052+}
105053+
105054+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105055+
105056+func Fstat(fd int, stat *Stat_t) (err error) {
105057+ _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
105058+ if e1 != 0 {
105059+ err = errnoErr(e1)
105060+ }
105061+ return
105062+}
105063+
105064+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105065+
105066+func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
105067+ var _p0 *byte
105068+ _p0, err = BytePtrFromString(path)
105069+ if err != nil {
105070+ return
105071+ }
105072+ _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
105073+ if e1 != 0 {
105074+ err = errnoErr(e1)
105075+ }
105076+ return
105077+}
105078+
105079+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105080+
105081+func Fstatfs(fd int, buf *Statfs_t) (err error) {
105082+ _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
105083+ if e1 != 0 {
105084+ err = errnoErr(e1)
105085+ }
105086+ return
105087+}
105088+
105089+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105090+
105091+func Ftruncate(fd int, length int64) (err error) {
105092+ _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
105093+ if e1 != 0 {
105094+ err = errnoErr(e1)
105095+ }
105096+ return
105097+}
105098+
105099+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105100+
105101+func Getegid() (egid int) {
105102+ r0, _ := RawSyscallNoError(SYS_GETEGID, 0, 0, 0)
105103+ egid = int(r0)
105104+ return
105105+}
105106+
105107+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105108+
105109+func Geteuid() (euid int) {
105110+ r0, _ := RawSyscallNoError(SYS_GETEUID, 0, 0, 0)
105111+ euid = int(r0)
105112+ return
105113+}
105114+
105115+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105116+
105117+func Getgid() (gid int) {
105118+ r0, _ := RawSyscallNoError(SYS_GETGID, 0, 0, 0)
105119+ gid = int(r0)
105120+ return
105121+}
105122+
105123+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105124+
105125+func Getrlimit(resource int, rlim *Rlimit) (err error) {
105126+ _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
105127+ if e1 != 0 {
105128+ err = errnoErr(e1)
105129+ }
105130+ return
105131+}
105132+
105133+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105134+
105135+func Getuid() (uid int) {
105136+ r0, _ := RawSyscallNoError(SYS_GETUID, 0, 0, 0)
105137+ uid = int(r0)
105138+ return
105139+}
105140+
105141+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105142+
105143+func Listen(s int, n int) (err error) {
105144+ _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(n), 0)
105145+ if e1 != 0 {
105146+ err = errnoErr(e1)
105147+ }
105148+ return
105149+}
105150+
105151+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105152+
105153+func Pread(fd int, p []byte, offset int64) (n int, err error) {
105154+ var _p0 unsafe.Pointer
105155+ if len(p) > 0 {
105156+ _p0 = unsafe.Pointer(&p[0])
105157+ } else {
105158+ _p0 = unsafe.Pointer(&_zero)
105159+ }
105160+ r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
105161+ n = int(r0)
105162+ if e1 != 0 {
105163+ err = errnoErr(e1)
105164+ }
105165+ return
105166+}
105167+
105168+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105169+
105170+func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
105171+ var _p0 unsafe.Pointer
105172+ if len(p) > 0 {
105173+ _p0 = unsafe.Pointer(&p[0])
105174+ } else {
105175+ _p0 = unsafe.Pointer(&_zero)
105176+ }
105177+ r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
105178+ n = int(r0)
105179+ if e1 != 0 {
105180+ err = errnoErr(e1)
105181+ }
105182+ return
105183+}
105184+
105185+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105186+
105187+func Seek(fd int, offset int64, whence int) (off int64, err error) {
105188+ r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
105189+ off = int64(r0)
105190+ if e1 != 0 {
105191+ err = errnoErr(e1)
105192+ }
105193+ return
105194+}
105195+
105196+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105197+
105198+func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
105199+ r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
105200+ written = int(r0)
105201+ if e1 != 0 {
105202+ err = errnoErr(e1)
105203+ }
105204+ return
105205+}
105206+
105207+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105208+
105209+func setfsgid(gid int) (prev int, err error) {
105210+ r0, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
105211+ prev = int(r0)
105212+ if e1 != 0 {
105213+ err = errnoErr(e1)
105214+ }
105215+ return
105216+}
105217+
105218+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105219+
105220+func setfsuid(uid int) (prev int, err error) {
105221+ r0, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
105222+ prev = int(r0)
105223+ if e1 != 0 {
105224+ err = errnoErr(e1)
105225+ }
105226+ return
105227+}
105228+
105229+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105230+
105231+func Setregid(rgid int, egid int) (err error) {
105232+ _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
105233+ if e1 != 0 {
105234+ err = errnoErr(e1)
105235+ }
105236+ return
105237+}
105238+
105239+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105240+
105241+func Setresgid(rgid int, egid int, sgid int) (err error) {
105242+ _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
105243+ if e1 != 0 {
105244+ err = errnoErr(e1)
105245+ }
105246+ return
105247+}
105248+
105249+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105250+
105251+func Setresuid(ruid int, euid int, suid int) (err error) {
105252+ _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
105253+ if e1 != 0 {
105254+ err = errnoErr(e1)
105255+ }
105256+ return
105257+}
105258+
105259+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105260+
105261+func Setrlimit(resource int, rlim *Rlimit) (err error) {
105262+ _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
105263+ if e1 != 0 {
105264+ err = errnoErr(e1)
105265+ }
105266+ return
105267+}
105268+
105269+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105270+
105271+func Setreuid(ruid int, euid int) (err error) {
105272+ _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
105273+ if e1 != 0 {
105274+ err = errnoErr(e1)
105275+ }
105276+ return
105277+}
105278+
105279+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105280+
105281+func Shutdown(fd int, how int) (err error) {
105282+ _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
105283+ if e1 != 0 {
105284+ err = errnoErr(e1)
105285+ }
105286+ return
105287+}
105288+
105289+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105290+
105291+func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
105292+ r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
105293+ n = int64(r0)
105294+ if e1 != 0 {
105295+ err = errnoErr(e1)
105296+ }
105297+ return
105298+}
105299+
105300+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105301+
105302+func Statfs(path string, buf *Statfs_t) (err error) {
105303+ var _p0 *byte
105304+ _p0, err = BytePtrFromString(path)
105305+ if err != nil {
105306+ return
105307+ }
105308+ _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
105309+ if e1 != 0 {
105310+ err = errnoErr(e1)
105311+ }
105312+ return
105313+}
105314+
105315+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105316+
105317+func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
105318+ _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0)
105319+ if e1 != 0 {
105320+ err = errnoErr(e1)
105321+ }
105322+ return
105323+}
105324+
105325+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105326+
105327+func Truncate(path string, length int64) (err error) {
105328+ var _p0 *byte
105329+ _p0, err = BytePtrFromString(path)
105330+ if err != nil {
105331+ return
105332+ }
105333+ _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
105334+ if e1 != 0 {
105335+ err = errnoErr(e1)
105336+ }
105337+ return
105338+}
105339+
105340+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105341+
105342+func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
105343+ r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
105344+ fd = int(r0)
105345+ if e1 != 0 {
105346+ err = errnoErr(e1)
105347+ }
105348+ return
105349+}
105350+
105351+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105352+
105353+func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
105354+ r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
105355+ fd = int(r0)
105356+ if e1 != 0 {
105357+ err = errnoErr(e1)
105358+ }
105359+ return
105360+}
105361+
105362+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105363+
105364+func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
105365+ _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
105366+ if e1 != 0 {
105367+ err = errnoErr(e1)
105368+ }
105369+ return
105370+}
105371+
105372+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105373+
105374+func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
105375+ _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
105376+ if e1 != 0 {
105377+ err = errnoErr(e1)
105378+ }
105379+ return
105380+}
105381+
105382+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105383+
105384+func getgroups(n int, list *_Gid_t) (nn int, err error) {
105385+ r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
105386+ nn = int(r0)
105387+ if e1 != 0 {
105388+ err = errnoErr(e1)
105389+ }
105390+ return
105391+}
105392+
105393+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105394+
105395+func setgroups(n int, list *_Gid_t) (err error) {
105396+ _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
105397+ if e1 != 0 {
105398+ err = errnoErr(e1)
105399+ }
105400+ return
105401+}
105402+
105403+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105404+
105405+func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
105406+ _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
105407+ if e1 != 0 {
105408+ err = errnoErr(e1)
105409+ }
105410+ return
105411+}
105412+
105413+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105414+
105415+func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
105416+ _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
105417+ if e1 != 0 {
105418+ err = errnoErr(e1)
105419+ }
105420+ return
105421+}
105422+
105423+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105424+
105425+func socket(domain int, typ int, proto int) (fd int, err error) {
105426+ r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
105427+ fd = int(r0)
105428+ if e1 != 0 {
105429+ err = errnoErr(e1)
105430+ }
105431+ return
105432+}
105433+
105434+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105435+
105436+func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
105437+ _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
105438+ if e1 != 0 {
105439+ err = errnoErr(e1)
105440+ }
105441+ return
105442+}
105443+
105444+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105445+
105446+func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
105447+ _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
105448+ if e1 != 0 {
105449+ err = errnoErr(e1)
105450+ }
105451+ return
105452+}
105453+
105454+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105455+
105456+func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
105457+ _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
105458+ if e1 != 0 {
105459+ err = errnoErr(e1)
105460+ }
105461+ return
105462+}
105463+
105464+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105465+
105466+func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
105467+ var _p0 unsafe.Pointer
105468+ if len(p) > 0 {
105469+ _p0 = unsafe.Pointer(&p[0])
105470+ } else {
105471+ _p0 = unsafe.Pointer(&_zero)
105472+ }
105473+ r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
105474+ n = int(r0)
105475+ if e1 != 0 {
105476+ err = errnoErr(e1)
105477+ }
105478+ return
105479+}
105480+
105481+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105482+
105483+func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
105484+ var _p0 unsafe.Pointer
105485+ if len(buf) > 0 {
105486+ _p0 = unsafe.Pointer(&buf[0])
105487+ } else {
105488+ _p0 = unsafe.Pointer(&_zero)
105489+ }
105490+ _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
105491+ if e1 != 0 {
105492+ err = errnoErr(e1)
105493+ }
105494+ return
105495+}
105496+
105497+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105498+
105499+func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
105500+ r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
105501+ n = int(r0)
105502+ if e1 != 0 {
105503+ err = errnoErr(e1)
105504+ }
105505+ return
105506+}
105507+
105508+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105509+
105510+func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
105511+ r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
105512+ n = int(r0)
105513+ if e1 != 0 {
105514+ err = errnoErr(e1)
105515+ }
105516+ return
105517+}
105518+
105519+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105520+
105521+func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
105522+ r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset))
105523+ xaddr = uintptr(r0)
105524+ if e1 != 0 {
105525+ err = errnoErr(e1)
105526+ }
105527+ return
105528+}
105529+
105530+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105531+
105532+func Gettimeofday(tv *Timeval) (err error) {
105533+ _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
105534+ if e1 != 0 {
105535+ err = errnoErr(e1)
105536+ }
105537+ return
105538+}
105539+
105540+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105541+
105542+func kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error) {
105543+ var _p0 *byte
105544+ _p0, err = BytePtrFromString(cmdline)
105545+ if err != nil {
105546+ return
105547+ }
105548+ _, _, e1 := Syscall6(SYS_KEXEC_FILE_LOAD, uintptr(kernelFd), uintptr(initrdFd), uintptr(cmdlineLen), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
105549+ if e1 != 0 {
105550+ err = errnoErr(e1)
105551+ }
105552+ return
105553+}
105554diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go
105555index b6ff9e39..9bc353f0 100644
105556--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go
105557+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go
105558@@ -1,4 +1,4 @@
105559-// mksyscall.pl -tags linux,s390x syscall_linux.go syscall_linux_s390x.go
105560+// go run mksyscall.go -tags linux,s390x syscall_linux.go syscall_linux_s390x.go
105561 // Code generated by the command above; see README.md. DO NOT EDIT.
105562
105563 // +build linux,s390x
105564@@ -14,1446 +14,8 @@ var _ syscall.Errno
105565
105566 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105567
105568-func fchmodat(dirfd int, path string, mode uint32) (err error) {
105569- var _p0 *byte
105570- _p0, err = BytePtrFromString(path)
105571- if err != nil {
105572- return
105573- }
105574- _, _, e1 := Syscall(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
105575- if e1 != 0 {
105576- err = errnoErr(e1)
105577- }
105578- return
105579-}
105580-
105581-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105582-
105583-func ioctl(fd int, req uint, arg uintptr) (err error) {
105584- _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
105585- if e1 != 0 {
105586- err = errnoErr(e1)
105587- }
105588- return
105589-}
105590-
105591-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105592-
105593-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
105594- var _p0 *byte
105595- _p0, err = BytePtrFromString(oldpath)
105596- if err != nil {
105597- return
105598- }
105599- var _p1 *byte
105600- _p1, err = BytePtrFromString(newpath)
105601- if err != nil {
105602- return
105603- }
105604- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
105605- if e1 != 0 {
105606- err = errnoErr(e1)
105607- }
105608- return
105609-}
105610-
105611-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105612-
105613-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
105614- var _p0 *byte
105615- _p0, err = BytePtrFromString(path)
105616- if err != nil {
105617- return
105618- }
105619- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
105620- fd = int(r0)
105621- if e1 != 0 {
105622- err = errnoErr(e1)
105623- }
105624- return
105625-}
105626-
105627-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105628-
105629-func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
105630- r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
105631- n = int(r0)
105632- if e1 != 0 {
105633- err = errnoErr(e1)
105634- }
105635- return
105636-}
105637-
105638-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105639-
105640-func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
105641- var _p0 *byte
105642- _p0, err = BytePtrFromString(path)
105643- if err != nil {
105644- return
105645- }
105646- var _p1 unsafe.Pointer
105647- if len(buf) > 0 {
105648- _p1 = unsafe.Pointer(&buf[0])
105649- } else {
105650- _p1 = unsafe.Pointer(&_zero)
105651- }
105652- r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
105653- n = int(r0)
105654- if e1 != 0 {
105655- err = errnoErr(e1)
105656- }
105657- return
105658-}
105659-
105660-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105661-
105662-func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
105663- var _p0 *byte
105664- _p0, err = BytePtrFromString(oldpath)
105665- if err != nil {
105666- return
105667- }
105668- var _p1 *byte
105669- _p1, err = BytePtrFromString(newpath)
105670- if err != nil {
105671- return
105672- }
105673- _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
105674- if e1 != 0 {
105675- err = errnoErr(e1)
105676- }
105677- return
105678-}
105679-
105680-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105681-
105682-func Unlinkat(dirfd int, path string, flags int) (err error) {
105683- var _p0 *byte
105684- _p0, err = BytePtrFromString(path)
105685- if err != nil {
105686- return
105687- }
105688- _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
105689- if e1 != 0 {
105690- err = errnoErr(e1)
105691- }
105692- return
105693-}
105694-
105695-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105696-
105697-func utimes(path string, times *[2]Timeval) (err error) {
105698- var _p0 *byte
105699- _p0, err = BytePtrFromString(path)
105700- if err != nil {
105701- return
105702- }
105703- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
105704- if e1 != 0 {
105705- err = errnoErr(e1)
105706- }
105707- return
105708-}
105709-
105710-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105711-
105712-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
105713- var _p0 *byte
105714- _p0, err = BytePtrFromString(path)
105715- if err != nil {
105716- return
105717- }
105718- _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
105719- if e1 != 0 {
105720- err = errnoErr(e1)
105721- }
105722- return
105723-}
105724-
105725-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105726-
105727-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
105728- _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
105729- if e1 != 0 {
105730- err = errnoErr(e1)
105731- }
105732- return
105733-}
105734-
105735-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105736-
105737-func Getcwd(buf []byte) (n int, err error) {
105738- var _p0 unsafe.Pointer
105739- if len(buf) > 0 {
105740- _p0 = unsafe.Pointer(&buf[0])
105741- } else {
105742- _p0 = unsafe.Pointer(&_zero)
105743- }
105744- r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
105745- n = int(r0)
105746- if e1 != 0 {
105747- err = errnoErr(e1)
105748- }
105749- return
105750-}
105751-
105752-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105753-
105754-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
105755- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
105756- wpid = int(r0)
105757- if e1 != 0 {
105758- err = errnoErr(e1)
105759- }
105760- return
105761-}
105762-
105763-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105764-
105765-func KeyctlInt(cmd int, arg2 int, arg3 int, arg4 int, arg5 int) (ret int, err error) {
105766- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
105767- ret = int(r0)
105768- if e1 != 0 {
105769- err = errnoErr(e1)
105770- }
105771- return
105772-}
105773-
105774-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105775-
105776-func KeyctlBuffer(cmd int, arg2 int, buf []byte, arg5 int) (ret int, err error) {
105777- var _p0 unsafe.Pointer
105778- if len(buf) > 0 {
105779- _p0 = unsafe.Pointer(&buf[0])
105780- } else {
105781- _p0 = unsafe.Pointer(&_zero)
105782- }
105783- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(buf)), uintptr(arg5), 0)
105784- ret = int(r0)
105785- if e1 != 0 {
105786- err = errnoErr(e1)
105787- }
105788- return
105789-}
105790-
105791-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105792-
105793-func keyctlJoin(cmd int, arg2 string) (ret int, err error) {
105794- var _p0 *byte
105795- _p0, err = BytePtrFromString(arg2)
105796- if err != nil {
105797- return
105798- }
105799- r0, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0)
105800- ret = int(r0)
105801- if e1 != 0 {
105802- err = errnoErr(e1)
105803- }
105804- return
105805-}
105806-
105807-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105808-
105809-func keyctlSearch(cmd int, arg2 int, arg3 string, arg4 string, arg5 int) (ret int, err error) {
105810- var _p0 *byte
105811- _p0, err = BytePtrFromString(arg3)
105812- if err != nil {
105813- return
105814- }
105815- var _p1 *byte
105816- _p1, err = BytePtrFromString(arg4)
105817- if err != nil {
105818- return
105819- }
105820- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(arg5), 0)
105821- ret = int(r0)
105822- if e1 != 0 {
105823- err = errnoErr(e1)
105824- }
105825- return
105826-}
105827-
105828-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105829-
105830-func keyctlIOV(cmd int, arg2 int, payload []Iovec, arg5 int) (err error) {
105831- var _p0 unsafe.Pointer
105832- if len(payload) > 0 {
105833- _p0 = unsafe.Pointer(&payload[0])
105834- } else {
105835- _p0 = unsafe.Pointer(&_zero)
105836- }
105837- _, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(payload)), uintptr(arg5), 0)
105838- if e1 != 0 {
105839- err = errnoErr(e1)
105840- }
105841- return
105842-}
105843-
105844-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105845-
105846-func keyctlDH(cmd int, arg2 *KeyctlDHParams, buf []byte) (ret int, err error) {
105847- var _p0 unsafe.Pointer
105848- if len(buf) > 0 {
105849- _p0 = unsafe.Pointer(&buf[0])
105850- } else {
105851- _p0 = unsafe.Pointer(&_zero)
105852- }
105853- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(arg2)), uintptr(_p0), uintptr(len(buf)), 0, 0)
105854- ret = int(r0)
105855- if e1 != 0 {
105856- err = errnoErr(e1)
105857- }
105858- return
105859-}
105860-
105861-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105862-
105863-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
105864- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
105865- if e1 != 0 {
105866- err = errnoErr(e1)
105867- }
105868- return
105869-}
105870-
105871-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105872-
105873-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
105874- var _p0 *byte
105875- _p0, err = BytePtrFromString(arg)
105876- if err != nil {
105877- return
105878- }
105879- _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
105880- if e1 != 0 {
105881- err = errnoErr(e1)
105882- }
105883- return
105884-}
105885-
105886-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105887-
105888-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
105889- var _p0 *byte
105890- _p0, err = BytePtrFromString(source)
105891- if err != nil {
105892- return
105893- }
105894- var _p1 *byte
105895- _p1, err = BytePtrFromString(target)
105896- if err != nil {
105897- return
105898- }
105899- var _p2 *byte
105900- _p2, err = BytePtrFromString(fstype)
105901- if err != nil {
105902- return
105903- }
105904- _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
105905- if e1 != 0 {
105906- err = errnoErr(e1)
105907- }
105908- return
105909-}
105910-
105911-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105912-
105913-func Acct(path string) (err error) {
105914- var _p0 *byte
105915- _p0, err = BytePtrFromString(path)
105916- if err != nil {
105917- return
105918- }
105919- _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
105920- if e1 != 0 {
105921- err = errnoErr(e1)
105922- }
105923- return
105924-}
105925-
105926-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105927-
105928-func AddKey(keyType string, description string, payload []byte, ringid int) (id int, err error) {
105929- var _p0 *byte
105930- _p0, err = BytePtrFromString(keyType)
105931- if err != nil {
105932- return
105933- }
105934- var _p1 *byte
105935- _p1, err = BytePtrFromString(description)
105936- if err != nil {
105937- return
105938- }
105939- var _p2 unsafe.Pointer
105940- if len(payload) > 0 {
105941- _p2 = unsafe.Pointer(&payload[0])
105942- } else {
105943- _p2 = unsafe.Pointer(&_zero)
105944- }
105945- r0, _, e1 := Syscall6(SYS_ADD_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(payload)), uintptr(ringid), 0)
105946- id = int(r0)
105947- if e1 != 0 {
105948- err = errnoErr(e1)
105949- }
105950- return
105951-}
105952-
105953-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105954-
105955-func Adjtimex(buf *Timex) (state int, err error) {
105956- r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
105957- state = int(r0)
105958- if e1 != 0 {
105959- err = errnoErr(e1)
105960- }
105961- return
105962-}
105963-
105964-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105965-
105966-func Chdir(path string) (err error) {
105967- var _p0 *byte
105968- _p0, err = BytePtrFromString(path)
105969- if err != nil {
105970- return
105971- }
105972- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
105973- if e1 != 0 {
105974- err = errnoErr(e1)
105975- }
105976- return
105977-}
105978-
105979-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105980-
105981-func Chroot(path string) (err error) {
105982- var _p0 *byte
105983- _p0, err = BytePtrFromString(path)
105984- if err != nil {
105985- return
105986- }
105987- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
105988- if e1 != 0 {
105989- err = errnoErr(e1)
105990- }
105991- return
105992-}
105993-
105994-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
105995-
105996-func ClockGettime(clockid int32, time *Timespec) (err error) {
105997- _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
105998- if e1 != 0 {
105999- err = errnoErr(e1)
106000- }
106001- return
106002-}
106003-
106004-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106005-
106006-func Close(fd int) (err error) {
106007- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
106008- if e1 != 0 {
106009- err = errnoErr(e1)
106010- }
106011- return
106012-}
106013-
106014-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106015-
106016-func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
106017- r0, _, e1 := Syscall6(SYS_COPY_FILE_RANGE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
106018- n = int(r0)
106019- if e1 != 0 {
106020- err = errnoErr(e1)
106021- }
106022- return
106023-}
106024-
106025-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106026-
106027-func Dup(oldfd int) (fd int, err error) {
106028- r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
106029- fd = int(r0)
106030- if e1 != 0 {
106031- err = errnoErr(e1)
106032- }
106033- return
106034-}
106035-
106036-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106037-
106038-func Dup3(oldfd int, newfd int, flags int) (err error) {
106039- _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
106040- if e1 != 0 {
106041- err = errnoErr(e1)
106042- }
106043- return
106044-}
106045-
106046-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106047-
106048-func EpollCreate(size int) (fd int, err error) {
106049- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
106050- fd = int(r0)
106051- if e1 != 0 {
106052- err = errnoErr(e1)
106053- }
106054- return
106055-}
106056-
106057-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106058-
106059-func EpollCreate1(flag int) (fd int, err error) {
106060- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
106061- fd = int(r0)
106062- if e1 != 0 {
106063- err = errnoErr(e1)
106064- }
106065- return
106066-}
106067-
106068-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106069-
106070-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
106071- _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
106072- if e1 != 0 {
106073- err = errnoErr(e1)
106074- }
106075- return
106076-}
106077-
106078-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106079-
106080-func Eventfd(initval uint, flags int) (fd int, err error) {
106081- r0, _, e1 := Syscall(SYS_EVENTFD2, uintptr(initval), uintptr(flags), 0)
106082- fd = int(r0)
106083- if e1 != 0 {
106084- err = errnoErr(e1)
106085- }
106086- return
106087-}
106088-
106089-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106090-
106091-func Exit(code int) {
106092- Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
106093- return
106094-}
106095-
106096-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106097-
106098-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
106099- var _p0 *byte
106100- _p0, err = BytePtrFromString(path)
106101- if err != nil {
106102- return
106103- }
106104- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
106105- if e1 != 0 {
106106- err = errnoErr(e1)
106107- }
106108- return
106109-}
106110-
106111-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106112-
106113-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
106114- _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
106115- if e1 != 0 {
106116- err = errnoErr(e1)
106117- }
106118- return
106119-}
106120-
106121-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106122-
106123-func Fchdir(fd int) (err error) {
106124- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
106125- if e1 != 0 {
106126- err = errnoErr(e1)
106127- }
106128- return
106129-}
106130-
106131-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106132-
106133-func Fchmod(fd int, mode uint32) (err error) {
106134- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
106135- if e1 != 0 {
106136- err = errnoErr(e1)
106137- }
106138- return
106139-}
106140-
106141-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106142-
106143-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
106144- var _p0 *byte
106145- _p0, err = BytePtrFromString(path)
106146- if err != nil {
106147- return
106148- }
106149- _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
106150- if e1 != 0 {
106151- err = errnoErr(e1)
106152- }
106153- return
106154-}
106155-
106156-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106157-
106158-func fcntl(fd int, cmd int, arg int) (val int, err error) {
106159- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
106160- val = int(r0)
106161- if e1 != 0 {
106162- err = errnoErr(e1)
106163- }
106164- return
106165-}
106166-
106167-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106168-
106169-func Fdatasync(fd int) (err error) {
106170- _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
106171- if e1 != 0 {
106172- err = errnoErr(e1)
106173- }
106174- return
106175-}
106176-
106177-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106178-
106179-func Flock(fd int, how int) (err error) {
106180- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
106181- if e1 != 0 {
106182- err = errnoErr(e1)
106183- }
106184- return
106185-}
106186-
106187-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106188-
106189-func Fsync(fd int) (err error) {
106190- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
106191- if e1 != 0 {
106192- err = errnoErr(e1)
106193- }
106194- return
106195-}
106196-
106197-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106198-
106199-func Getdents(fd int, buf []byte) (n int, err error) {
106200- var _p0 unsafe.Pointer
106201- if len(buf) > 0 {
106202- _p0 = unsafe.Pointer(&buf[0])
106203- } else {
106204- _p0 = unsafe.Pointer(&_zero)
106205- }
106206- r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
106207- n = int(r0)
106208- if e1 != 0 {
106209- err = errnoErr(e1)
106210- }
106211- return
106212-}
106213-
106214-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106215-
106216-func Getpgid(pid int) (pgid int, err error) {
106217- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
106218- pgid = int(r0)
106219- if e1 != 0 {
106220- err = errnoErr(e1)
106221- }
106222- return
106223-}
106224-
106225-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106226-
106227-func Getpid() (pid int) {
106228- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
106229- pid = int(r0)
106230- return
106231-}
106232-
106233-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106234-
106235-func Getppid() (ppid int) {
106236- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
106237- ppid = int(r0)
106238- return
106239-}
106240-
106241-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106242-
106243-func Getpriority(which int, who int) (prio int, err error) {
106244- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
106245- prio = int(r0)
106246- if e1 != 0 {
106247- err = errnoErr(e1)
106248- }
106249- return
106250-}
106251-
106252-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106253-
106254-func Getrandom(buf []byte, flags int) (n int, err error) {
106255- var _p0 unsafe.Pointer
106256- if len(buf) > 0 {
106257- _p0 = unsafe.Pointer(&buf[0])
106258- } else {
106259- _p0 = unsafe.Pointer(&_zero)
106260- }
106261- r0, _, e1 := Syscall(SYS_GETRANDOM, uintptr(_p0), uintptr(len(buf)), uintptr(flags))
106262- n = int(r0)
106263- if e1 != 0 {
106264- err = errnoErr(e1)
106265- }
106266- return
106267-}
106268-
106269-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106270-
106271-func Getrusage(who int, rusage *Rusage) (err error) {
106272- _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
106273- if e1 != 0 {
106274- err = errnoErr(e1)
106275- }
106276- return
106277-}
106278-
106279-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106280-
106281-func Getsid(pid int) (sid int, err error) {
106282- r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
106283- sid = int(r0)
106284- if e1 != 0 {
106285- err = errnoErr(e1)
106286- }
106287- return
106288-}
106289-
106290-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106291-
106292-func Gettid() (tid int) {
106293- r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
106294- tid = int(r0)
106295- return
106296-}
106297-
106298-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106299-
106300-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
106301- var _p0 *byte
106302- _p0, err = BytePtrFromString(path)
106303- if err != nil {
106304- return
106305- }
106306- var _p1 *byte
106307- _p1, err = BytePtrFromString(attr)
106308- if err != nil {
106309- return
106310- }
106311- var _p2 unsafe.Pointer
106312- if len(dest) > 0 {
106313- _p2 = unsafe.Pointer(&dest[0])
106314- } else {
106315- _p2 = unsafe.Pointer(&_zero)
106316- }
106317- r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
106318- sz = int(r0)
106319- if e1 != 0 {
106320- err = errnoErr(e1)
106321- }
106322- return
106323-}
106324-
106325-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106326-
106327-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
106328- var _p0 *byte
106329- _p0, err = BytePtrFromString(pathname)
106330- if err != nil {
106331- return
106332- }
106333- r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
106334- watchdesc = int(r0)
106335- if e1 != 0 {
106336- err = errnoErr(e1)
106337- }
106338- return
106339-}
106340-
106341-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106342-
106343-func InotifyInit1(flags int) (fd int, err error) {
106344- r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
106345- fd = int(r0)
106346- if e1 != 0 {
106347- err = errnoErr(e1)
106348- }
106349- return
106350-}
106351-
106352-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106353-
106354-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
106355- r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
106356- success = int(r0)
106357- if e1 != 0 {
106358- err = errnoErr(e1)
106359- }
106360- return
106361-}
106362-
106363-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106364-
106365-func Kill(pid int, sig syscall.Signal) (err error) {
106366- _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
106367- if e1 != 0 {
106368- err = errnoErr(e1)
106369- }
106370- return
106371-}
106372-
106373-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106374-
106375-func Klogctl(typ int, buf []byte) (n int, err error) {
106376- var _p0 unsafe.Pointer
106377- if len(buf) > 0 {
106378- _p0 = unsafe.Pointer(&buf[0])
106379- } else {
106380- _p0 = unsafe.Pointer(&_zero)
106381- }
106382- r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
106383- n = int(r0)
106384- if e1 != 0 {
106385- err = errnoErr(e1)
106386- }
106387- return
106388-}
106389-
106390-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106391-
106392-func Lgetxattr(path string, attr string, dest []byte) (sz int, err error) {
106393- var _p0 *byte
106394- _p0, err = BytePtrFromString(path)
106395- if err != nil {
106396- return
106397- }
106398- var _p1 *byte
106399- _p1, err = BytePtrFromString(attr)
106400- if err != nil {
106401- return
106402- }
106403- var _p2 unsafe.Pointer
106404- if len(dest) > 0 {
106405- _p2 = unsafe.Pointer(&dest[0])
106406- } else {
106407- _p2 = unsafe.Pointer(&_zero)
106408- }
106409- r0, _, e1 := Syscall6(SYS_LGETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
106410- sz = int(r0)
106411- if e1 != 0 {
106412- err = errnoErr(e1)
106413- }
106414- return
106415-}
106416-
106417-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106418-
106419-func Listxattr(path string, dest []byte) (sz int, err error) {
106420- var _p0 *byte
106421- _p0, err = BytePtrFromString(path)
106422- if err != nil {
106423- return
106424- }
106425- var _p1 unsafe.Pointer
106426- if len(dest) > 0 {
106427- _p1 = unsafe.Pointer(&dest[0])
106428- } else {
106429- _p1 = unsafe.Pointer(&_zero)
106430- }
106431- r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
106432- sz = int(r0)
106433- if e1 != 0 {
106434- err = errnoErr(e1)
106435- }
106436- return
106437-}
106438-
106439-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106440-
106441-func Llistxattr(path string, dest []byte) (sz int, err error) {
106442- var _p0 *byte
106443- _p0, err = BytePtrFromString(path)
106444- if err != nil {
106445- return
106446- }
106447- var _p1 unsafe.Pointer
106448- if len(dest) > 0 {
106449- _p1 = unsafe.Pointer(&dest[0])
106450- } else {
106451- _p1 = unsafe.Pointer(&_zero)
106452- }
106453- r0, _, e1 := Syscall(SYS_LLISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
106454- sz = int(r0)
106455- if e1 != 0 {
106456- err = errnoErr(e1)
106457- }
106458- return
106459-}
106460-
106461-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106462-
106463-func Lremovexattr(path string, attr string) (err error) {
106464- var _p0 *byte
106465- _p0, err = BytePtrFromString(path)
106466- if err != nil {
106467- return
106468- }
106469- var _p1 *byte
106470- _p1, err = BytePtrFromString(attr)
106471- if err != nil {
106472- return
106473- }
106474- _, _, e1 := Syscall(SYS_LREMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
106475- if e1 != 0 {
106476- err = errnoErr(e1)
106477- }
106478- return
106479-}
106480-
106481-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106482-
106483-func Lsetxattr(path string, attr string, data []byte, flags int) (err error) {
106484- var _p0 *byte
106485- _p0, err = BytePtrFromString(path)
106486- if err != nil {
106487- return
106488- }
106489- var _p1 *byte
106490- _p1, err = BytePtrFromString(attr)
106491- if err != nil {
106492- return
106493- }
106494- var _p2 unsafe.Pointer
106495- if len(data) > 0 {
106496- _p2 = unsafe.Pointer(&data[0])
106497- } else {
106498- _p2 = unsafe.Pointer(&_zero)
106499- }
106500- _, _, e1 := Syscall6(SYS_LSETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
106501- if e1 != 0 {
106502- err = errnoErr(e1)
106503- }
106504- return
106505-}
106506-
106507-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106508-
106509-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
106510- var _p0 *byte
106511- _p0, err = BytePtrFromString(path)
106512- if err != nil {
106513- return
106514- }
106515- _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
106516- if e1 != 0 {
106517- err = errnoErr(e1)
106518- }
106519- return
106520-}
106521-
106522-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106523-
106524-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
106525- var _p0 *byte
106526- _p0, err = BytePtrFromString(path)
106527- if err != nil {
106528- return
106529- }
106530- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
106531- if e1 != 0 {
106532- err = errnoErr(e1)
106533- }
106534- return
106535-}
106536-
106537-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106538-
106539-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
106540- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
106541- if e1 != 0 {
106542- err = errnoErr(e1)
106543- }
106544- return
106545-}
106546-
106547-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106548-
106549-func PivotRoot(newroot string, putold string) (err error) {
106550- var _p0 *byte
106551- _p0, err = BytePtrFromString(newroot)
106552- if err != nil {
106553- return
106554- }
106555- var _p1 *byte
106556- _p1, err = BytePtrFromString(putold)
106557- if err != nil {
106558- return
106559- }
106560- _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
106561- if e1 != 0 {
106562- err = errnoErr(e1)
106563- }
106564- return
106565-}
106566-
106567-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106568-
106569-func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
106570- _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0)
106571- if e1 != 0 {
106572- err = errnoErr(e1)
106573- }
106574- return
106575-}
106576-
106577-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106578-
106579-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
106580- _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
106581- if e1 != 0 {
106582- err = errnoErr(e1)
106583- }
106584- return
106585-}
106586-
106587-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106588-
106589-func read(fd int, p []byte) (n int, err error) {
106590- var _p0 unsafe.Pointer
106591- if len(p) > 0 {
106592- _p0 = unsafe.Pointer(&p[0])
106593- } else {
106594- _p0 = unsafe.Pointer(&_zero)
106595- }
106596- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
106597- n = int(r0)
106598- if e1 != 0 {
106599- err = errnoErr(e1)
106600- }
106601- return
106602-}
106603-
106604-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106605-
106606-func Removexattr(path string, attr string) (err error) {
106607- var _p0 *byte
106608- _p0, err = BytePtrFromString(path)
106609- if err != nil {
106610- return
106611- }
106612- var _p1 *byte
106613- _p1, err = BytePtrFromString(attr)
106614- if err != nil {
106615- return
106616- }
106617- _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
106618- if e1 != 0 {
106619- err = errnoErr(e1)
106620- }
106621- return
106622-}
106623-
106624-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106625-
106626-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
106627- var _p0 *byte
106628- _p0, err = BytePtrFromString(oldpath)
106629- if err != nil {
106630- return
106631- }
106632- var _p1 *byte
106633- _p1, err = BytePtrFromString(newpath)
106634- if err != nil {
106635- return
106636- }
106637- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
106638- if e1 != 0 {
106639- err = errnoErr(e1)
106640- }
106641- return
106642-}
106643-
106644-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106645-
106646-func RequestKey(keyType string, description string, callback string, destRingid int) (id int, err error) {
106647- var _p0 *byte
106648- _p0, err = BytePtrFromString(keyType)
106649- if err != nil {
106650- return
106651- }
106652- var _p1 *byte
106653- _p1, err = BytePtrFromString(description)
106654- if err != nil {
106655- return
106656- }
106657- var _p2 *byte
106658- _p2, err = BytePtrFromString(callback)
106659- if err != nil {
106660- return
106661- }
106662- r0, _, e1 := Syscall6(SYS_REQUEST_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(destRingid), 0, 0)
106663- id = int(r0)
106664- if e1 != 0 {
106665- err = errnoErr(e1)
106666- }
106667- return
106668-}
106669-
106670-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106671-
106672-func Setdomainname(p []byte) (err error) {
106673- var _p0 unsafe.Pointer
106674- if len(p) > 0 {
106675- _p0 = unsafe.Pointer(&p[0])
106676- } else {
106677- _p0 = unsafe.Pointer(&_zero)
106678- }
106679- _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
106680- if e1 != 0 {
106681- err = errnoErr(e1)
106682- }
106683- return
106684-}
106685-
106686-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106687-
106688-func Sethostname(p []byte) (err error) {
106689- var _p0 unsafe.Pointer
106690- if len(p) > 0 {
106691- _p0 = unsafe.Pointer(&p[0])
106692- } else {
106693- _p0 = unsafe.Pointer(&_zero)
106694- }
106695- _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
106696- if e1 != 0 {
106697- err = errnoErr(e1)
106698- }
106699- return
106700-}
106701-
106702-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106703-
106704-func Setpgid(pid int, pgid int) (err error) {
106705- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
106706- if e1 != 0 {
106707- err = errnoErr(e1)
106708- }
106709- return
106710-}
106711-
106712-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106713-
106714-func Setsid() (pid int, err error) {
106715- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
106716- pid = int(r0)
106717- if e1 != 0 {
106718- err = errnoErr(e1)
106719- }
106720- return
106721-}
106722-
106723-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106724-
106725-func Settimeofday(tv *Timeval) (err error) {
106726- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
106727- if e1 != 0 {
106728- err = errnoErr(e1)
106729- }
106730- return
106731-}
106732-
106733-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106734-
106735-func Setns(fd int, nstype int) (err error) {
106736- _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
106737- if e1 != 0 {
106738- err = errnoErr(e1)
106739- }
106740- return
106741-}
106742-
106743-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106744-
106745-func Setpriority(which int, who int, prio int) (err error) {
106746- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
106747- if e1 != 0 {
106748- err = errnoErr(e1)
106749- }
106750- return
106751-}
106752-
106753-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106754-
106755-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
106756- var _p0 *byte
106757- _p0, err = BytePtrFromString(path)
106758- if err != nil {
106759- return
106760- }
106761- var _p1 *byte
106762- _p1, err = BytePtrFromString(attr)
106763- if err != nil {
106764- return
106765- }
106766- var _p2 unsafe.Pointer
106767- if len(data) > 0 {
106768- _p2 = unsafe.Pointer(&data[0])
106769- } else {
106770- _p2 = unsafe.Pointer(&_zero)
106771- }
106772- _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
106773- if e1 != 0 {
106774- err = errnoErr(e1)
106775- }
106776- return
106777-}
106778-
106779-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106780-
106781-func Sync() {
106782- Syscall(SYS_SYNC, 0, 0, 0)
106783- return
106784-}
106785-
106786-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106787-
106788-func Syncfs(fd int) (err error) {
106789- _, _, e1 := Syscall(SYS_SYNCFS, uintptr(fd), 0, 0)
106790- if e1 != 0 {
106791- err = errnoErr(e1)
106792- }
106793- return
106794-}
106795-
106796-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106797-
106798-func Sysinfo(info *Sysinfo_t) (err error) {
106799- _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
106800- if e1 != 0 {
106801- err = errnoErr(e1)
106802- }
106803- return
106804-}
106805-
106806-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106807-
106808-func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
106809- r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
106810- n = int64(r0)
106811- if e1 != 0 {
106812- err = errnoErr(e1)
106813- }
106814- return
106815-}
106816-
106817-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106818-
106819-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
106820- _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
106821- if e1 != 0 {
106822- err = errnoErr(e1)
106823- }
106824- return
106825-}
106826-
106827-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106828-
106829-func Times(tms *Tms) (ticks uintptr, err error) {
106830- r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
106831- ticks = uintptr(r0)
106832- if e1 != 0 {
106833- err = errnoErr(e1)
106834- }
106835- return
106836-}
106837-
106838-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106839-
106840-func Umask(mask int) (oldmask int) {
106841- r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
106842- oldmask = int(r0)
106843- return
106844-}
106845-
106846-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106847-
106848-func Uname(buf *Utsname) (err error) {
106849- _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
106850- if e1 != 0 {
106851- err = errnoErr(e1)
106852- }
106853- return
106854-}
106855-
106856-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106857-
106858-func Unmount(target string, flags int) (err error) {
106859- var _p0 *byte
106860- _p0, err = BytePtrFromString(target)
106861- if err != nil {
106862- return
106863- }
106864- _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
106865- if e1 != 0 {
106866- err = errnoErr(e1)
106867- }
106868- return
106869-}
106870-
106871-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106872-
106873-func Unshare(flags int) (err error) {
106874- _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
106875- if e1 != 0 {
106876- err = errnoErr(e1)
106877- }
106878- return
106879-}
106880-
106881-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106882-
106883-func Ustat(dev int, ubuf *Ustat_t) (err error) {
106884- _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
106885- if e1 != 0 {
106886- err = errnoErr(e1)
106887- }
106888- return
106889-}
106890-
106891-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106892-
106893-func write(fd int, p []byte) (n int, err error) {
106894- var _p0 unsafe.Pointer
106895- if len(p) > 0 {
106896- _p0 = unsafe.Pointer(&p[0])
106897- } else {
106898- _p0 = unsafe.Pointer(&_zero)
106899- }
106900- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
106901- n = int(r0)
106902- if e1 != 0 {
106903- err = errnoErr(e1)
106904- }
106905- return
106906-}
106907-
106908-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106909-
106910-func exitThread(code int) (err error) {
106911- _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
106912- if e1 != 0 {
106913- err = errnoErr(e1)
106914- }
106915- return
106916-}
106917-
106918-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106919-
106920-func readlen(fd int, p *byte, np int) (n int, err error) {
106921- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
106922- n = int(r0)
106923- if e1 != 0 {
106924- err = errnoErr(e1)
106925- }
106926- return
106927-}
106928-
106929-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106930-
106931-func writelen(fd int, p *byte, np int) (n int, err error) {
106932- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
106933- n = int(r0)
106934- if e1 != 0 {
106935- err = errnoErr(e1)
106936- }
106937- return
106938-}
106939-
106940-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106941-
106942-func munmap(addr uintptr, length uintptr) (err error) {
106943- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
106944- if e1 != 0 {
106945- err = errnoErr(e1)
106946- }
106947- return
106948-}
106949-
106950-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106951-
106952-func Madvise(b []byte, advice int) (err error) {
106953- var _p0 unsafe.Pointer
106954- if len(b) > 0 {
106955- _p0 = unsafe.Pointer(&b[0])
106956- } else {
106957- _p0 = unsafe.Pointer(&_zero)
106958- }
106959- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
106960- if e1 != 0 {
106961- err = errnoErr(e1)
106962- }
106963- return
106964-}
106965-
106966-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106967-
106968-func Mprotect(b []byte, prot int) (err error) {
106969- var _p0 unsafe.Pointer
106970- if len(b) > 0 {
106971- _p0 = unsafe.Pointer(&b[0])
106972- } else {
106973- _p0 = unsafe.Pointer(&_zero)
106974- }
106975- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
106976- if e1 != 0 {
106977- err = errnoErr(e1)
106978- }
106979- return
106980-}
106981-
106982-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106983-
106984-func Mlock(b []byte) (err error) {
106985- var _p0 unsafe.Pointer
106986- if len(b) > 0 {
106987- _p0 = unsafe.Pointer(&b[0])
106988- } else {
106989- _p0 = unsafe.Pointer(&_zero)
106990- }
106991- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
106992- if e1 != 0 {
106993- err = errnoErr(e1)
106994- }
106995- return
106996-}
106997-
106998-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
106999-
107000-func Munlock(b []byte) (err error) {
107001- var _p0 unsafe.Pointer
107002- if len(b) > 0 {
107003- _p0 = unsafe.Pointer(&b[0])
107004- } else {
107005- _p0 = unsafe.Pointer(&_zero)
107006- }
107007- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
107008+func fanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname *byte) (err error) {
107009+ _, _, e1 := Syscall6(SYS_FANOTIFY_MARK, uintptr(fd), uintptr(flags), uintptr(mask), uintptr(dirFd), uintptr(unsafe.Pointer(pathname)), 0)
107010 if e1 != 0 {
107011 err = errnoErr(e1)
107012 }
107013@@ -1462,8 +24,8 @@ func Munlock(b []byte) (err error) {
107014
107015 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107016
107017-func Mlockall(flags int) (err error) {
107018- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
107019+func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
107020+ _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
107021 if e1 != 0 {
107022 err = errnoErr(e1)
107023 }
107024@@ -1472,14 +34,9 @@ func Mlockall(flags int) (err error) {
107025
107026 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107027
107028-func Msync(b []byte, flags int) (err error) {
107029- var _p0 unsafe.Pointer
107030- if len(b) > 0 {
107031- _p0 = unsafe.Pointer(&b[0])
107032- } else {
107033- _p0 = unsafe.Pointer(&_zero)
107034- }
107035- _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags))
107036+func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
107037+ r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
107038+ n = int64(r0)
107039 if e1 != 0 {
107040 err = errnoErr(e1)
107041 }
107042@@ -1488,8 +45,8 @@ func Msync(b []byte, flags int) (err error) {
107043
107044 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107045
107046-func Munlockall() (err error) {
107047- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
107048+func Dup2(oldfd int, newfd int) (err error) {
107049+ _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
107050 if e1 != 0 {
107051 err = errnoErr(e1)
107052 }
107053@@ -1498,8 +55,9 @@ func Munlockall() (err error) {
107054
107055 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107056
107057-func Dup2(oldfd int, newfd int) (err error) {
107058- _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
107059+func EpollCreate(size int) (fd int, err error) {
107060+ r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
107061+ fd = int(r0)
107062 if e1 != 0 {
107063 err = errnoErr(e1)
107064 }
107065@@ -1555,6 +113,21 @@ func Fstat(fd int, stat *Stat_t) (err error) {
107066
107067 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107068
107069+func Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) {
107070+ var _p0 *byte
107071+ _p0, err = BytePtrFromString(path)
107072+ if err != nil {
107073+ return
107074+ }
107075+ _, _, e1 := Syscall6(SYS_NEWFSTATAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
107076+ if e1 != 0 {
107077+ err = errnoErr(e1)
107078+ }
107079+ return
107080+}
107081+
107082+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107083+
107084 func Fstatfs(fd int, buf *Statfs_t) (err error) {
107085 _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
107086 if e1 != 0 {
107087@@ -1576,7 +149,7 @@ func Ftruncate(fd int, length int64) (err error) {
107088 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107089
107090 func Getegid() (egid int) {
107091- r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
107092+ r0, _ := RawSyscallNoError(SYS_GETEGID, 0, 0, 0)
107093 egid = int(r0)
107094 return
107095 }
107096@@ -1584,7 +157,7 @@ func Getegid() (egid int) {
107097 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107098
107099 func Geteuid() (euid int) {
107100- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
107101+ r0, _ := RawSyscallNoError(SYS_GETEUID, 0, 0, 0)
107102 euid = int(r0)
107103 return
107104 }
107105@@ -1592,7 +165,7 @@ func Geteuid() (euid int) {
107106 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107107
107108 func Getgid() (gid int) {
107109- r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
107110+ r0, _ := RawSyscallNoError(SYS_GETGID, 0, 0, 0)
107111 gid = int(r0)
107112 return
107113 }
107114@@ -1610,7 +183,7 @@ func Getrlimit(resource int, rlim *Rlimit) (err error) {
107115 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107116
107117 func Getuid() (uid int) {
107118- r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
107119+ r0, _ := RawSyscallNoError(SYS_GETUID, 0, 0, 0)
107120 uid = int(r0)
107121 return
107122 }
107123@@ -1702,6 +275,26 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
107124
107125 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107126
107127+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
107128+ var _p0 *byte
107129+ _p0, err = BytePtrFromString(oldpath)
107130+ if err != nil {
107131+ return
107132+ }
107133+ var _p1 *byte
107134+ _p1, err = BytePtrFromString(newpath)
107135+ if err != nil {
107136+ return
107137+ }
107138+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
107139+ if e1 != 0 {
107140+ err = errnoErr(e1)
107141+ }
107142+ return
107143+}
107144+
107145+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107146+
107147 func Seek(fd int, offset int64, whence int) (off int64, err error) {
107148 r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
107149 off = int64(r0)
107150@@ -1735,8 +328,9 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
107151
107152 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107153
107154-func Setfsgid(gid int) (err error) {
107155- _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
107156+func setfsgid(gid int) (prev int, err error) {
107157+ r0, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
107158+ prev = int(r0)
107159 if e1 != 0 {
107160 err = errnoErr(e1)
107161 }
107162@@ -1745,8 +339,9 @@ func Setfsgid(gid int) (err error) {
107163
107164 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107165
107166-func Setfsuid(uid int) (err error) {
107167- _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
107168+func setfsuid(uid int) (prev int, err error) {
107169+ r0, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
107170+ prev = int(r0)
107171 if e1 != 0 {
107172 err = errnoErr(e1)
107173 }
107174@@ -1871,6 +466,16 @@ func Truncate(path string, length int64) (err error) {
107175
107176 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107177
107178+func Ustat(dev int, ubuf *Ustat_t) (err error) {
107179+ _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
107180+ if e1 != 0 {
107181+ err = errnoErr(e1)
107182+ }
107183+ return
107184+}
107185+
107186+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107187+
107188 func getgroups(n int, list *_Gid_t) (nn int, err error) {
107189 r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
107190 nn = int(r0)
107191@@ -1892,6 +497,21 @@ func setgroups(n int, list *_Gid_t) (err error) {
107192
107193 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107194
107195+func futimesat(dirfd int, path string, times *[2]Timeval) (err error) {
107196+ var _p0 *byte
107197+ _p0, err = BytePtrFromString(path)
107198+ if err != nil {
107199+ return
107200+ }
107201+ _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)))
107202+ if e1 != 0 {
107203+ err = errnoErr(e1)
107204+ }
107205+ return
107206+}
107207+
107208+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107209+
107210 func Gettimeofday(tv *Timeval) (err error) {
107211 _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
107212 if e1 != 0 {
107213@@ -1917,8 +537,13 @@ func Utime(path string, buf *Utimbuf) (err error) {
107214
107215 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107216
107217-func pipe2(p *[2]_C_int, flags int) (err error) {
107218- _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
107219+func utimes(path string, times *[2]Timeval) (err error) {
107220+ var _p0 *byte
107221+ _p0, err = BytePtrFromString(path)
107222+ if err != nil {
107223+ return
107224+ }
107225+ _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
107226 if e1 != 0 {
107227 err = errnoErr(e1)
107228 }
107229@@ -1935,3 +560,18 @@ func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
107230 }
107231 return
107232 }
107233+
107234+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107235+
107236+func kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error) {
107237+ var _p0 *byte
107238+ _p0, err = BytePtrFromString(cmdline)
107239+ if err != nil {
107240+ return
107241+ }
107242+ _, _, e1 := Syscall6(SYS_KEXEC_FILE_LOAD, uintptr(kernelFd), uintptr(initrdFd), uintptr(cmdlineLen), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
107243+ if e1 != 0 {
107244+ err = errnoErr(e1)
107245+ }
107246+ return
107247+}
107248diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go
107249index 2dd98434..854e816d 100644
107250--- a/vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go
107251+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go
107252@@ -1,4 +1,4 @@
107253-// mksyscall.pl -tags linux,sparc64 syscall_linux.go syscall_linux_sparc64.go
107254+// go run mksyscall.go -tags linux,sparc64 syscall_linux.go syscall_linux_sparc64.go
107255 // Code generated by the command above; see README.md. DO NOT EDIT.
107256
107257 // +build linux,sparc64
107258@@ -14,944 +14,8 @@ var _ syscall.Errno
107259
107260 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107261
107262-func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
107263- var _p0 *byte
107264- _p0, err = BytePtrFromString(oldpath)
107265- if err != nil {
107266- return
107267- }
107268- var _p1 *byte
107269- _p1, err = BytePtrFromString(newpath)
107270- if err != nil {
107271- return
107272- }
107273- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
107274- if e1 != 0 {
107275- err = errnoErr(e1)
107276- }
107277- return
107278-}
107279-
107280-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107281-
107282-func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
107283- var _p0 *byte
107284- _p0, err = BytePtrFromString(path)
107285- if err != nil {
107286- return
107287- }
107288- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
107289- fd = int(r0)
107290- if e1 != 0 {
107291- err = errnoErr(e1)
107292- }
107293- return
107294-}
107295-
107296-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107297-
107298-func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
107299- r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
107300- n = int(r0)
107301- if e1 != 0 {
107302- err = errnoErr(e1)
107303- }
107304- return
107305-}
107306-
107307-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107308-
107309-func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
107310- var _p0 *byte
107311- _p0, err = BytePtrFromString(path)
107312- if err != nil {
107313- return
107314- }
107315- var _p1 unsafe.Pointer
107316- if len(buf) > 0 {
107317- _p1 = unsafe.Pointer(&buf[0])
107318- } else {
107319- _p1 = unsafe.Pointer(&_zero)
107320- }
107321- r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
107322- n = int(r0)
107323- if e1 != 0 {
107324- err = errnoErr(e1)
107325- }
107326- return
107327-}
107328-
107329-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107330-
107331-func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
107332- var _p0 *byte
107333- _p0, err = BytePtrFromString(oldpath)
107334- if err != nil {
107335- return
107336- }
107337- var _p1 *byte
107338- _p1, err = BytePtrFromString(newpath)
107339- if err != nil {
107340- return
107341- }
107342- _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
107343- if e1 != 0 {
107344- err = errnoErr(e1)
107345- }
107346- return
107347-}
107348-
107349-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107350-
107351-func Unlinkat(dirfd int, path string, flags int) (err error) {
107352- var _p0 *byte
107353- _p0, err = BytePtrFromString(path)
107354- if err != nil {
107355- return
107356- }
107357- _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
107358- if e1 != 0 {
107359- err = errnoErr(e1)
107360- }
107361- return
107362-}
107363-
107364-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107365-
107366-func utimes(path string, times *[2]Timeval) (err error) {
107367- var _p0 *byte
107368- _p0, err = BytePtrFromString(path)
107369- if err != nil {
107370- return
107371- }
107372- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
107373- if e1 != 0 {
107374- err = errnoErr(e1)
107375- }
107376- return
107377-}
107378-
107379-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107380-
107381-func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
107382- var _p0 *byte
107383- _p0, err = BytePtrFromString(path)
107384- if err != nil {
107385- return
107386- }
107387- _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
107388- if e1 != 0 {
107389- err = errnoErr(e1)
107390- }
107391- return
107392-}
107393-
107394-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107395-
107396-func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
107397- _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
107398- if e1 != 0 {
107399- err = errnoErr(e1)
107400- }
107401- return
107402-}
107403-
107404-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107405-
107406-func Getcwd(buf []byte) (n int, err error) {
107407- var _p0 unsafe.Pointer
107408- if len(buf) > 0 {
107409- _p0 = unsafe.Pointer(&buf[0])
107410- } else {
107411- _p0 = unsafe.Pointer(&_zero)
107412- }
107413- r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
107414- n = int(r0)
107415- if e1 != 0 {
107416- err = errnoErr(e1)
107417- }
107418- return
107419-}
107420-
107421-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107422-
107423-func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
107424- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
107425- wpid = int(r0)
107426- if e1 != 0 {
107427- err = errnoErr(e1)
107428- }
107429- return
107430-}
107431-
107432-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107433-
107434-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
107435- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
107436- if e1 != 0 {
107437- err = errnoErr(e1)
107438- }
107439- return
107440-}
107441-
107442-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107443-
107444-func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
107445- var _p0 *byte
107446- _p0, err = BytePtrFromString(arg)
107447- if err != nil {
107448- return
107449- }
107450- _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
107451- if e1 != 0 {
107452- err = errnoErr(e1)
107453- }
107454- return
107455-}
107456-
107457-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107458-
107459-func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
107460- var _p0 *byte
107461- _p0, err = BytePtrFromString(source)
107462- if err != nil {
107463- return
107464- }
107465- var _p1 *byte
107466- _p1, err = BytePtrFromString(target)
107467- if err != nil {
107468- return
107469- }
107470- var _p2 *byte
107471- _p2, err = BytePtrFromString(fstype)
107472- if err != nil {
107473- return
107474- }
107475- _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
107476- if e1 != 0 {
107477- err = errnoErr(e1)
107478- }
107479- return
107480-}
107481-
107482-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107483-
107484-func Acct(path string) (err error) {
107485- var _p0 *byte
107486- _p0, err = BytePtrFromString(path)
107487- if err != nil {
107488- return
107489- }
107490- _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
107491- if e1 != 0 {
107492- err = errnoErr(e1)
107493- }
107494- return
107495-}
107496-
107497-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107498-
107499-func Adjtimex(buf *Timex) (state int, err error) {
107500- r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
107501- state = int(r0)
107502- if e1 != 0 {
107503- err = errnoErr(e1)
107504- }
107505- return
107506-}
107507-
107508-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107509-
107510-func Chdir(path string) (err error) {
107511- var _p0 *byte
107512- _p0, err = BytePtrFromString(path)
107513- if err != nil {
107514- return
107515- }
107516- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
107517- if e1 != 0 {
107518- err = errnoErr(e1)
107519- }
107520- return
107521-}
107522-
107523-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107524-
107525-func Chroot(path string) (err error) {
107526- var _p0 *byte
107527- _p0, err = BytePtrFromString(path)
107528- if err != nil {
107529- return
107530- }
107531- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
107532- if e1 != 0 {
107533- err = errnoErr(e1)
107534- }
107535- return
107536-}
107537-
107538-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107539-
107540-func ClockGettime(clockid int32, time *Timespec) (err error) {
107541- _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
107542- if e1 != 0 {
107543- err = errnoErr(e1)
107544- }
107545- return
107546-}
107547-
107548-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107549-
107550-func Close(fd int) (err error) {
107551- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
107552- if e1 != 0 {
107553- err = errnoErr(e1)
107554- }
107555- return
107556-}
107557-
107558-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107559-
107560-func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
107561- r0, _, e1 := Syscall6(SYS_COPY_FILE_RANGE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
107562- n = int(r0)
107563- if e1 != 0 {
107564- err = errnoErr(e1)
107565- }
107566- return
107567-}
107568-
107569-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107570-
107571-func Dup(oldfd int) (fd int, err error) {
107572- r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
107573- fd = int(r0)
107574- if e1 != 0 {
107575- err = errnoErr(e1)
107576- }
107577- return
107578-}
107579-
107580-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107581-
107582-func Dup3(oldfd int, newfd int, flags int) (err error) {
107583- _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
107584- if e1 != 0 {
107585- err = errnoErr(e1)
107586- }
107587- return
107588-}
107589-
107590-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107591-
107592-func EpollCreate(size int) (fd int, err error) {
107593- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
107594- fd = int(r0)
107595- if e1 != 0 {
107596- err = errnoErr(e1)
107597- }
107598- return
107599-}
107600-
107601-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107602-
107603-func EpollCreate1(flag int) (fd int, err error) {
107604- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
107605- fd = int(r0)
107606- if e1 != 0 {
107607- err = errnoErr(e1)
107608- }
107609- return
107610-}
107611-
107612-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107613-
107614-func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
107615- _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
107616- if e1 != 0 {
107617- err = errnoErr(e1)
107618- }
107619- return
107620-}
107621-
107622-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107623-
107624-func Exit(code int) {
107625- Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
107626- return
107627-}
107628-
107629-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107630-
107631-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
107632- var _p0 *byte
107633- _p0, err = BytePtrFromString(path)
107634- if err != nil {
107635- return
107636- }
107637- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
107638- if e1 != 0 {
107639- err = errnoErr(e1)
107640- }
107641- return
107642-}
107643-
107644-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107645-
107646-func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
107647- _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
107648- if e1 != 0 {
107649- err = errnoErr(e1)
107650- }
107651- return
107652-}
107653-
107654-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107655-
107656-func Fchdir(fd int) (err error) {
107657- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
107658- if e1 != 0 {
107659- err = errnoErr(e1)
107660- }
107661- return
107662-}
107663-
107664-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107665-
107666-func Fchmod(fd int, mode uint32) (err error) {
107667- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
107668- if e1 != 0 {
107669- err = errnoErr(e1)
107670- }
107671- return
107672-}
107673-
107674-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107675-
107676-func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
107677- var _p0 *byte
107678- _p0, err = BytePtrFromString(path)
107679- if err != nil {
107680- return
107681- }
107682- _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
107683- if e1 != 0 {
107684- err = errnoErr(e1)
107685- }
107686- return
107687-}
107688-
107689-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107690-
107691-func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
107692- var _p0 *byte
107693- _p0, err = BytePtrFromString(path)
107694- if err != nil {
107695- return
107696- }
107697- _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
107698- if e1 != 0 {
107699- err = errnoErr(e1)
107700- }
107701- return
107702-}
107703-
107704-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107705-
107706-func fcntl(fd int, cmd int, arg int) (val int, err error) {
107707- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
107708- val = int(r0)
107709- if e1 != 0 {
107710- err = errnoErr(e1)
107711- }
107712- return
107713-}
107714-
107715-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107716-
107717-func Fdatasync(fd int) (err error) {
107718- _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
107719- if e1 != 0 {
107720- err = errnoErr(e1)
107721- }
107722- return
107723-}
107724-
107725-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107726-
107727-func Flock(fd int, how int) (err error) {
107728- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
107729- if e1 != 0 {
107730- err = errnoErr(e1)
107731- }
107732- return
107733-}
107734-
107735-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107736-
107737-func Fsync(fd int) (err error) {
107738- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
107739- if e1 != 0 {
107740- err = errnoErr(e1)
107741- }
107742- return
107743-}
107744-
107745-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107746-
107747-func Getdents(fd int, buf []byte) (n int, err error) {
107748- var _p0 unsafe.Pointer
107749- if len(buf) > 0 {
107750- _p0 = unsafe.Pointer(&buf[0])
107751- } else {
107752- _p0 = unsafe.Pointer(&_zero)
107753- }
107754- r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
107755- n = int(r0)
107756- if e1 != 0 {
107757- err = errnoErr(e1)
107758- }
107759- return
107760-}
107761-
107762-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107763-
107764-func Getpgid(pid int) (pgid int, err error) {
107765- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
107766- pgid = int(r0)
107767- if e1 != 0 {
107768- err = errnoErr(e1)
107769- }
107770- return
107771-}
107772-
107773-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107774-
107775-func Getpid() (pid int) {
107776- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
107777- pid = int(r0)
107778- return
107779-}
107780-
107781-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107782-
107783-func Getppid() (ppid int) {
107784- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
107785- ppid = int(r0)
107786- return
107787-}
107788-
107789-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107790-
107791-func Getpriority(which int, who int) (prio int, err error) {
107792- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
107793- prio = int(r0)
107794- if e1 != 0 {
107795- err = errnoErr(e1)
107796- }
107797- return
107798-}
107799-
107800-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107801-
107802-func Getrandom(buf []byte, flags int) (n int, err error) {
107803- var _p0 unsafe.Pointer
107804- if len(buf) > 0 {
107805- _p0 = unsafe.Pointer(&buf[0])
107806- } else {
107807- _p0 = unsafe.Pointer(&_zero)
107808- }
107809- r0, _, e1 := Syscall(SYS_GETRANDOM, uintptr(_p0), uintptr(len(buf)), uintptr(flags))
107810- n = int(r0)
107811- if e1 != 0 {
107812- err = errnoErr(e1)
107813- }
107814- return
107815-}
107816-
107817-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107818-
107819-func Getrusage(who int, rusage *Rusage) (err error) {
107820- _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
107821- if e1 != 0 {
107822- err = errnoErr(e1)
107823- }
107824- return
107825-}
107826-
107827-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107828-
107829-func Getsid(pid int) (sid int, err error) {
107830- r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
107831- sid = int(r0)
107832- if e1 != 0 {
107833- err = errnoErr(e1)
107834- }
107835- return
107836-}
107837-
107838-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107839-
107840-func Gettid() (tid int) {
107841- r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
107842- tid = int(r0)
107843- return
107844-}
107845-
107846-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107847-
107848-func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
107849- var _p0 *byte
107850- _p0, err = BytePtrFromString(path)
107851- if err != nil {
107852- return
107853- }
107854- var _p1 *byte
107855- _p1, err = BytePtrFromString(attr)
107856- if err != nil {
107857- return
107858- }
107859- var _p2 unsafe.Pointer
107860- if len(dest) > 0 {
107861- _p2 = unsafe.Pointer(&dest[0])
107862- } else {
107863- _p2 = unsafe.Pointer(&_zero)
107864- }
107865- r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
107866- sz = int(r0)
107867- if e1 != 0 {
107868- err = errnoErr(e1)
107869- }
107870- return
107871-}
107872-
107873-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107874-
107875-func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
107876- var _p0 *byte
107877- _p0, err = BytePtrFromString(pathname)
107878- if err != nil {
107879- return
107880- }
107881- r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
107882- watchdesc = int(r0)
107883- if e1 != 0 {
107884- err = errnoErr(e1)
107885- }
107886- return
107887-}
107888-
107889-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107890-
107891-func InotifyInit1(flags int) (fd int, err error) {
107892- r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
107893- fd = int(r0)
107894- if e1 != 0 {
107895- err = errnoErr(e1)
107896- }
107897- return
107898-}
107899-
107900-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107901-
107902-func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
107903- r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
107904- success = int(r0)
107905- if e1 != 0 {
107906- err = errnoErr(e1)
107907- }
107908- return
107909-}
107910-
107911-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107912-
107913-func Kill(pid int, sig syscall.Signal) (err error) {
107914- _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
107915- if e1 != 0 {
107916- err = errnoErr(e1)
107917- }
107918- return
107919-}
107920-
107921-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107922-
107923-func Klogctl(typ int, buf []byte) (n int, err error) {
107924- var _p0 unsafe.Pointer
107925- if len(buf) > 0 {
107926- _p0 = unsafe.Pointer(&buf[0])
107927- } else {
107928- _p0 = unsafe.Pointer(&_zero)
107929- }
107930- r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
107931- n = int(r0)
107932- if e1 != 0 {
107933- err = errnoErr(e1)
107934- }
107935- return
107936-}
107937-
107938-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107939-
107940-func Listxattr(path string, dest []byte) (sz int, err error) {
107941- var _p0 *byte
107942- _p0, err = BytePtrFromString(path)
107943- if err != nil {
107944- return
107945- }
107946- var _p1 unsafe.Pointer
107947- if len(dest) > 0 {
107948- _p1 = unsafe.Pointer(&dest[0])
107949- } else {
107950- _p1 = unsafe.Pointer(&_zero)
107951- }
107952- r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
107953- sz = int(r0)
107954- if e1 != 0 {
107955- err = errnoErr(e1)
107956- }
107957- return
107958-}
107959-
107960-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107961-
107962-func Mkdirat(dirfd int, path string, mode uint32) (err error) {
107963- var _p0 *byte
107964- _p0, err = BytePtrFromString(path)
107965- if err != nil {
107966- return
107967- }
107968- _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
107969- if e1 != 0 {
107970- err = errnoErr(e1)
107971- }
107972- return
107973-}
107974-
107975-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107976-
107977-func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
107978- var _p0 *byte
107979- _p0, err = BytePtrFromString(path)
107980- if err != nil {
107981- return
107982- }
107983- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
107984- if e1 != 0 {
107985- err = errnoErr(e1)
107986- }
107987- return
107988-}
107989-
107990-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
107991-
107992-func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
107993- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
107994- if e1 != 0 {
107995- err = errnoErr(e1)
107996- }
107997- return
107998-}
107999-
108000-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108001-
108002-func PivotRoot(newroot string, putold string) (err error) {
108003- var _p0 *byte
108004- _p0, err = BytePtrFromString(newroot)
108005- if err != nil {
108006- return
108007- }
108008- var _p1 *byte
108009- _p1, err = BytePtrFromString(putold)
108010- if err != nil {
108011- return
108012- }
108013- _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
108014- if e1 != 0 {
108015- err = errnoErr(e1)
108016- }
108017- return
108018-}
108019-
108020-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108021-
108022-func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) {
108023- _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0)
108024- if e1 != 0 {
108025- err = errnoErr(e1)
108026- }
108027- return
108028-}
108029-
108030-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108031-
108032-func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
108033- _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
108034- if e1 != 0 {
108035- err = errnoErr(e1)
108036- }
108037- return
108038-}
108039-
108040-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108041-
108042-func read(fd int, p []byte) (n int, err error) {
108043- var _p0 unsafe.Pointer
108044- if len(p) > 0 {
108045- _p0 = unsafe.Pointer(&p[0])
108046- } else {
108047- _p0 = unsafe.Pointer(&_zero)
108048- }
108049- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
108050- n = int(r0)
108051- if e1 != 0 {
108052- err = errnoErr(e1)
108053- }
108054- return
108055-}
108056-
108057-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108058-
108059-func Removexattr(path string, attr string) (err error) {
108060- var _p0 *byte
108061- _p0, err = BytePtrFromString(path)
108062- if err != nil {
108063- return
108064- }
108065- var _p1 *byte
108066- _p1, err = BytePtrFromString(attr)
108067- if err != nil {
108068- return
108069- }
108070- _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
108071- if e1 != 0 {
108072- err = errnoErr(e1)
108073- }
108074- return
108075-}
108076-
108077-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108078-
108079-func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
108080- var _p0 *byte
108081- _p0, err = BytePtrFromString(oldpath)
108082- if err != nil {
108083- return
108084- }
108085- var _p1 *byte
108086- _p1, err = BytePtrFromString(newpath)
108087- if err != nil {
108088- return
108089- }
108090- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
108091- if e1 != 0 {
108092- err = errnoErr(e1)
108093- }
108094- return
108095-}
108096-
108097-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108098-
108099-func Setdomainname(p []byte) (err error) {
108100- var _p0 unsafe.Pointer
108101- if len(p) > 0 {
108102- _p0 = unsafe.Pointer(&p[0])
108103- } else {
108104- _p0 = unsafe.Pointer(&_zero)
108105- }
108106- _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
108107- if e1 != 0 {
108108- err = errnoErr(e1)
108109- }
108110- return
108111-}
108112-
108113-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108114-
108115-func Sethostname(p []byte) (err error) {
108116- var _p0 unsafe.Pointer
108117- if len(p) > 0 {
108118- _p0 = unsafe.Pointer(&p[0])
108119- } else {
108120- _p0 = unsafe.Pointer(&_zero)
108121- }
108122- _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
108123- if e1 != 0 {
108124- err = errnoErr(e1)
108125- }
108126- return
108127-}
108128-
108129-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108130-
108131-func Setpgid(pid int, pgid int) (err error) {
108132- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
108133- if e1 != 0 {
108134- err = errnoErr(e1)
108135- }
108136- return
108137-}
108138-
108139-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108140-
108141-func Setsid() (pid int, err error) {
108142- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
108143- pid = int(r0)
108144- if e1 != 0 {
108145- err = errnoErr(e1)
108146- }
108147- return
108148-}
108149-
108150-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108151-
108152-func Settimeofday(tv *Timeval) (err error) {
108153- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
108154- if e1 != 0 {
108155- err = errnoErr(e1)
108156- }
108157- return
108158-}
108159-
108160-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108161-
108162-func Setns(fd int, nstype int) (err error) {
108163- _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
108164- if e1 != 0 {
108165- err = errnoErr(e1)
108166- }
108167- return
108168-}
108169-
108170-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108171-
108172-func Setpriority(which int, who int, prio int) (err error) {
108173- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
108174- if e1 != 0 {
108175- err = errnoErr(e1)
108176- }
108177- return
108178-}
108179-
108180-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108181-
108182-func Setxattr(path string, attr string, data []byte, flags int) (err error) {
108183- var _p0 *byte
108184- _p0, err = BytePtrFromString(path)
108185- if err != nil {
108186- return
108187- }
108188- var _p1 *byte
108189- _p1, err = BytePtrFromString(attr)
108190- if err != nil {
108191- return
108192- }
108193- var _p2 unsafe.Pointer
108194- if len(data) > 0 {
108195- _p2 = unsafe.Pointer(&data[0])
108196- } else {
108197- _p2 = unsafe.Pointer(&_zero)
108198- }
108199- _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
108200+func fanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname *byte) (err error) {
108201+ _, _, e1 := Syscall6(SYS_FANOTIFY_MARK, uintptr(fd), uintptr(flags), uintptr(mask), uintptr(dirFd), uintptr(unsafe.Pointer(pathname)), 0)
108202 if e1 != 0 {
108203 err = errnoErr(e1)
108204 }
108205@@ -960,15 +24,8 @@ func Setxattr(path string, attr string, data []byte, flags int) (err error) {
108206
108207 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108208
108209-func Sync() {
108210- Syscall(SYS_SYNC, 0, 0, 0)
108211- return
108212-}
108213-
108214-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108215-
108216-func Sysinfo(info *Sysinfo_t) (err error) {
108217- _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
108218+func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
108219+ _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
108220 if e1 != 0 {
108221 err = errnoErr(e1)
108222 }
108223@@ -988,120 +45,14 @@ func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
108224
108225 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108226
108227-func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
108228- _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
108229- if e1 != 0 {
108230- err = errnoErr(e1)
108231- }
108232- return
108233-}
108234-
108235-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108236-
108237-func Times(tms *Tms) (ticks uintptr, err error) {
108238- r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
108239- ticks = uintptr(r0)
108240- if e1 != 0 {
108241- err = errnoErr(e1)
108242- }
108243- return
108244-}
108245-
108246-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108247-
108248-func Umask(mask int) (oldmask int) {
108249- r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
108250- oldmask = int(r0)
108251- return
108252-}
108253-
108254-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108255-
108256-func Uname(buf *Utsname) (err error) {
108257- _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
108258- if e1 != 0 {
108259- err = errnoErr(e1)
108260- }
108261- return
108262-}
108263-
108264-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108265-
108266-func Unmount(target string, flags int) (err error) {
108267- var _p0 *byte
108268- _p0, err = BytePtrFromString(target)
108269- if err != nil {
108270- return
108271- }
108272- _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
108273- if e1 != 0 {
108274- err = errnoErr(e1)
108275- }
108276- return
108277-}
108278-
108279-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108280-
108281-func Unshare(flags int) (err error) {
108282- _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
108283- if e1 != 0 {
108284- err = errnoErr(e1)
108285- }
108286- return
108287-}
108288-
108289-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108290-
108291-func Ustat(dev int, ubuf *Ustat_t) (err error) {
108292- _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
108293- if e1 != 0 {
108294- err = errnoErr(e1)
108295- }
108296- return
108297-}
108298-
108299-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108300-
108301-func write(fd int, p []byte) (n int, err error) {
108302+func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
108303 var _p0 unsafe.Pointer
108304- if len(p) > 0 {
108305- _p0 = unsafe.Pointer(&p[0])
108306+ if len(events) > 0 {
108307+ _p0 = unsafe.Pointer(&events[0])
108308 } else {
108309 _p0 = unsafe.Pointer(&_zero)
108310 }
108311- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
108312- n = int(r0)
108313- if e1 != 0 {
108314- err = errnoErr(e1)
108315- }
108316- return
108317-}
108318-
108319-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108320-
108321-func exitThread(code int) (err error) {
108322- _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
108323- if e1 != 0 {
108324- err = errnoErr(e1)
108325- }
108326- return
108327-}
108328-
108329-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108330-
108331-func readlen(fd int, p *byte, np int) (n int, err error) {
108332- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
108333- n = int(r0)
108334- if e1 != 0 {
108335- err = errnoErr(e1)
108336- }
108337- return
108338-}
108339-
108340-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108341-
108342-func writelen(fd int, p *byte, np int) (n int, err error) {
108343- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
108344+ r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
108345 n = int(r0)
108346 if e1 != 0 {
108347 err = errnoErr(e1)
108348@@ -1111,82 +62,8 @@ func writelen(fd int, p *byte, np int) (n int, err error) {
108349
108350 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108351
108352-func munmap(addr uintptr, length uintptr) (err error) {
108353- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
108354- if e1 != 0 {
108355- err = errnoErr(e1)
108356- }
108357- return
108358-}
108359-
108360-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108361-
108362-func Madvise(b []byte, advice int) (err error) {
108363- var _p0 unsafe.Pointer
108364- if len(b) > 0 {
108365- _p0 = unsafe.Pointer(&b[0])
108366- } else {
108367- _p0 = unsafe.Pointer(&_zero)
108368- }
108369- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
108370- if e1 != 0 {
108371- err = errnoErr(e1)
108372- }
108373- return
108374-}
108375-
108376-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108377-
108378-func Mprotect(b []byte, prot int) (err error) {
108379- var _p0 unsafe.Pointer
108380- if len(b) > 0 {
108381- _p0 = unsafe.Pointer(&b[0])
108382- } else {
108383- _p0 = unsafe.Pointer(&_zero)
108384- }
108385- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
108386- if e1 != 0 {
108387- err = errnoErr(e1)
108388- }
108389- return
108390-}
108391-
108392-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108393-
108394-func Mlock(b []byte) (err error) {
108395- var _p0 unsafe.Pointer
108396- if len(b) > 0 {
108397- _p0 = unsafe.Pointer(&b[0])
108398- } else {
108399- _p0 = unsafe.Pointer(&_zero)
108400- }
108401- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
108402- if e1 != 0 {
108403- err = errnoErr(e1)
108404- }
108405- return
108406-}
108407-
108408-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108409-
108410-func Munlock(b []byte) (err error) {
108411- var _p0 unsafe.Pointer
108412- if len(b) > 0 {
108413- _p0 = unsafe.Pointer(&b[0])
108414- } else {
108415- _p0 = unsafe.Pointer(&_zero)
108416- }
108417- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
108418- if e1 != 0 {
108419- err = errnoErr(e1)
108420- }
108421- return
108422-}
108423-
108424-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108425-
108426-func Mlockall(flags int) (err error) {
108427- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
108428+func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
108429+ _, _, e1 := Syscall6(SYS_FADVISE64, uintptr(fd), uintptr(offset), uintptr(length), uintptr(advice), 0, 0)
108430 if e1 != 0 {
108431 err = errnoErr(e1)
108432 }
108433@@ -1195,8 +72,8 @@ func Mlockall(flags int) (err error) {
108434
108435 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108436
108437-func Munlockall() (err error) {
108438- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
108439+func Dup2(oldfd int, newfd int) (err error) {
108440+ _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
108441 if e1 != 0 {
108442 err = errnoErr(e1)
108443 }
108444@@ -1205,15 +82,8 @@ func Munlockall() (err error) {
108445
108446 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108447
108448-func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
108449- var _p0 unsafe.Pointer
108450- if len(events) > 0 {
108451- _p0 = unsafe.Pointer(&events[0])
108452- } else {
108453- _p0 = unsafe.Pointer(&_zero)
108454- }
108455- r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
108456- n = int(r0)
108457+func Fchown(fd int, uid int, gid int) (err error) {
108458+ _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
108459 if e1 != 0 {
108460 err = errnoErr(e1)
108461 }
108462@@ -1222,8 +92,8 @@ func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
108463
108464 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108465
108466-func Dup2(oldfd int, newfd int) (err error) {
108467- _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
108468+func Fstat(fd int, stat *Stat_t) (err error) {
108469+ _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
108470 if e1 != 0 {
108471 err = errnoErr(e1)
108472 }
108473@@ -1232,18 +102,13 @@ func Dup2(oldfd int, newfd int) (err error) {
108474
108475 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108476
108477-func Fchown(fd int, uid int, gid int) (err error) {
108478- _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
108479- if e1 != 0 {
108480- err = errnoErr(e1)
108481+func Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) {
108482+ var _p0 *byte
108483+ _p0, err = BytePtrFromString(path)
108484+ if err != nil {
108485+ return
108486 }
108487- return
108488-}
108489-
108490-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108491-
108492-func Fstat(fd int, stat *Stat_t) (err error) {
108493- _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
108494+ _, _, e1 := Syscall6(SYS_FSTATAT64, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
108495 if e1 != 0 {
108496 err = errnoErr(e1)
108497 }
108498@@ -1273,7 +138,7 @@ func Ftruncate(fd int, length int64) (err error) {
108499 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108500
108501 func Getegid() (egid int) {
108502- r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
108503+ r0, _ := RawSyscallNoError(SYS_GETEGID, 0, 0, 0)
108504 egid = int(r0)
108505 return
108506 }
108507@@ -1281,7 +146,7 @@ func Getegid() (egid int) {
108508 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108509
108510 func Geteuid() (euid int) {
108511- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
108512+ r0, _ := RawSyscallNoError(SYS_GETEUID, 0, 0, 0)
108513 euid = int(r0)
108514 return
108515 }
108516@@ -1289,7 +154,7 @@ func Geteuid() (euid int) {
108517 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108518
108519 func Getgid() (gid int) {
108520- r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
108521+ r0, _ := RawSyscallNoError(SYS_GETGID, 0, 0, 0)
108522 gid = int(r0)
108523 return
108524 }
108525@@ -1307,7 +172,7 @@ func Getrlimit(resource int, rlim *Rlimit) (err error) {
108526 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108527
108528 func Getuid() (uid int) {
108529- r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
108530+ r0, _ := RawSyscallNoError(SYS_GETUID, 0, 0, 0)
108531 uid = int(r0)
108532 return
108533 }
108534@@ -1409,6 +274,26 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
108535
108536 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108537
108538+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
108539+ var _p0 *byte
108540+ _p0, err = BytePtrFromString(oldpath)
108541+ if err != nil {
108542+ return
108543+ }
108544+ var _p1 *byte
108545+ _p1, err = BytePtrFromString(newpath)
108546+ if err != nil {
108547+ return
108548+ }
108549+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
108550+ if e1 != 0 {
108551+ err = errnoErr(e1)
108552+ }
108553+ return
108554+}
108555+
108556+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108557+
108558 func Seek(fd int, offset int64, whence int) (off int64, err error) {
108559 r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
108560 off = int64(r0)
108561@@ -1442,8 +327,9 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
108562
108563 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108564
108565-func Setfsgid(gid int) (err error) {
108566- _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
108567+func setfsgid(gid int) (prev int, err error) {
108568+ r0, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
108569+ prev = int(r0)
108570 if e1 != 0 {
108571 err = errnoErr(e1)
108572 }
108573@@ -1452,8 +338,9 @@ func Setfsgid(gid int) (err error) {
108574
108575 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108576
108577-func Setfsuid(uid int) (err error) {
108578- _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
108579+func setfsuid(uid int) (prev int, err error) {
108580+ r0, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
108581+ prev = int(r0)
108582 if e1 != 0 {
108583 err = errnoErr(e1)
108584 }
108585@@ -1778,6 +665,21 @@ func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int6
108586
108587 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108588
108589+func futimesat(dirfd int, path string, times *[2]Timeval) (err error) {
108590+ var _p0 *byte
108591+ _p0, err = BytePtrFromString(path)
108592+ if err != nil {
108593+ return
108594+ }
108595+ _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)))
108596+ if e1 != 0 {
108597+ err = errnoErr(e1)
108598+ }
108599+ return
108600+}
108601+
108602+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108603+
108604 func Gettimeofday(tv *Timeval) (err error) {
108605 _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
108606 if e1 != 0 {
108607@@ -1803,8 +705,13 @@ func Utime(path string, buf *Utimbuf) (err error) {
108608
108609 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108610
108611-func pipe(p *[2]_C_int) (err error) {
108612- _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
108613+func utimes(path string, times *[2]Timeval) (err error) {
108614+ var _p0 *byte
108615+ _p0, err = BytePtrFromString(path)
108616+ if err != nil {
108617+ return
108618+ }
108619+ _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
108620 if e1 != 0 {
108621 err = errnoErr(e1)
108622 }
108623@@ -1813,8 +720,8 @@ func pipe(p *[2]_C_int) (err error) {
108624
108625 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108626
108627-func pipe2(p *[2]_C_int, flags int) (err error) {
108628- _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
108629+func pipe(p *[2]_C_int) (err error) {
108630+ _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
108631 if e1 != 0 {
108632 err = errnoErr(e1)
108633 }
108634diff --git a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go
108635index db99fd0c..3bbd9e39 100644
108636--- a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go
108637+++ b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go
108638@@ -1,4 +1,4 @@
108639-// mksyscall.pl -l32 -netbsd -tags netbsd,386 syscall_bsd.go syscall_netbsd.go syscall_netbsd_386.go
108640+// go run mksyscall.go -l32 -netbsd -tags netbsd,386 syscall_bsd.go syscall_netbsd.go syscall_netbsd_386.go
108641 // Code generated by the command above; see README.md. DO NOT EDIT.
108642
108643 // +build netbsd,386
108644@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
108645
108646 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108647
108648-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
108649- var _p0 unsafe.Pointer
108650- if len(mib) > 0 {
108651- _p0 = unsafe.Pointer(&mib[0])
108652- } else {
108653- _p0 = unsafe.Pointer(&_zero)
108654- }
108655- _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
108656- if e1 != 0 {
108657- err = errnoErr(e1)
108658- }
108659- return
108660-}
108661-
108662-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108663-
108664 func utimes(path string, timeval *[2]Timeval) (err error) {
108665 var _p0 *byte
108666 _p0, err = BytePtrFromString(path)
108667@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
108668
108669 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108670
108671-func fcntl(fd int, cmd int, arg int) (val int, err error) {
108672- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
108673- val = int(r0)
108674+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
108675+ r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
108676+ n = int(r0)
108677 if e1 != 0 {
108678 err = errnoErr(e1)
108679 }
108680@@ -378,7 +362,7 @@ func pipe() (fd1 int, fd2 int, err error) {
108681
108682 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108683
108684-func getdents(fd int, buf []byte) (n int, err error) {
108685+func Getdents(fd int, buf []byte) (n int, err error) {
108686 var _p0 unsafe.Pointer
108687 if len(buf) > 0 {
108688 _p0 = unsafe.Pointer(&buf[0])
108689@@ -395,6 +379,49 @@ func getdents(fd int, buf []byte) (n int, err error) {
108690
108691 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108692
108693+func Getcwd(buf []byte) (n int, err error) {
108694+ var _p0 unsafe.Pointer
108695+ if len(buf) > 0 {
108696+ _p0 = unsafe.Pointer(&buf[0])
108697+ } else {
108698+ _p0 = unsafe.Pointer(&_zero)
108699+ }
108700+ r0, _, e1 := Syscall(SYS___GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
108701+ n = int(r0)
108702+ if e1 != 0 {
108703+ err = errnoErr(e1)
108704+ }
108705+ return
108706+}
108707+
108708+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108709+
108710+func ioctl(fd int, req uint, arg uintptr) (err error) {
108711+ _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
108712+ if e1 != 0 {
108713+ err = errnoErr(e1)
108714+ }
108715+ return
108716+}
108717+
108718+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108719+
108720+func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
108721+ var _p0 unsafe.Pointer
108722+ if len(mib) > 0 {
108723+ _p0 = unsafe.Pointer(&mib[0])
108724+ } else {
108725+ _p0 = unsafe.Pointer(&_zero)
108726+ }
108727+ _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
108728+ if e1 != 0 {
108729+ err = errnoErr(e1)
108730+ }
108731+ return
108732+}
108733+
108734+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108735+
108736 func Access(path string, mode uint32) (err error) {
108737 var _p0 *byte
108738 _p0, err = BytePtrFromString(path)
108739@@ -526,6 +553,16 @@ func Dup2(from int, to int) (err error) {
108740
108741 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108742
108743+func Dup3(from int, to int, flags int) (err error) {
108744+ _, _, e1 := Syscall(SYS_DUP3, uintptr(from), uintptr(to), uintptr(flags))
108745+ if e1 != 0 {
108746+ err = errnoErr(e1)
108747+ }
108748+ return
108749+}
108750+
108751+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108752+
108753 func Exit(code int) {
108754 Syscall(SYS_EXIT, uintptr(code), 0, 0)
108755 return
108756@@ -533,6 +570,245 @@ func Exit(code int) {
108757
108758 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108759
108760+func ExtattrGetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
108761+ var _p0 *byte
108762+ _p0, err = BytePtrFromString(attrname)
108763+ if err != nil {
108764+ return
108765+ }
108766+ r0, _, e1 := Syscall6(SYS_EXTATTR_GET_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)), uintptr(data), uintptr(nbytes), 0)
108767+ ret = int(r0)
108768+ if e1 != 0 {
108769+ err = errnoErr(e1)
108770+ }
108771+ return
108772+}
108773+
108774+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108775+
108776+func ExtattrSetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
108777+ var _p0 *byte
108778+ _p0, err = BytePtrFromString(attrname)
108779+ if err != nil {
108780+ return
108781+ }
108782+ r0, _, e1 := Syscall6(SYS_EXTATTR_SET_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)), uintptr(data), uintptr(nbytes), 0)
108783+ ret = int(r0)
108784+ if e1 != 0 {
108785+ err = errnoErr(e1)
108786+ }
108787+ return
108788+}
108789+
108790+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108791+
108792+func ExtattrDeleteFd(fd int, attrnamespace int, attrname string) (err error) {
108793+ var _p0 *byte
108794+ _p0, err = BytePtrFromString(attrname)
108795+ if err != nil {
108796+ return
108797+ }
108798+ _, _, e1 := Syscall(SYS_EXTATTR_DELETE_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)))
108799+ if e1 != 0 {
108800+ err = errnoErr(e1)
108801+ }
108802+ return
108803+}
108804+
108805+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108806+
108807+func ExtattrListFd(fd int, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
108808+ r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_FD, uintptr(fd), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
108809+ ret = int(r0)
108810+ if e1 != 0 {
108811+ err = errnoErr(e1)
108812+ }
108813+ return
108814+}
108815+
108816+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108817+
108818+func ExtattrGetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
108819+ var _p0 *byte
108820+ _p0, err = BytePtrFromString(file)
108821+ if err != nil {
108822+ return
108823+ }
108824+ var _p1 *byte
108825+ _p1, err = BytePtrFromString(attrname)
108826+ if err != nil {
108827+ return
108828+ }
108829+ r0, _, e1 := Syscall6(SYS_EXTATTR_GET_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
108830+ ret = int(r0)
108831+ if e1 != 0 {
108832+ err = errnoErr(e1)
108833+ }
108834+ return
108835+}
108836+
108837+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108838+
108839+func ExtattrSetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
108840+ var _p0 *byte
108841+ _p0, err = BytePtrFromString(file)
108842+ if err != nil {
108843+ return
108844+ }
108845+ var _p1 *byte
108846+ _p1, err = BytePtrFromString(attrname)
108847+ if err != nil {
108848+ return
108849+ }
108850+ r0, _, e1 := Syscall6(SYS_EXTATTR_SET_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
108851+ ret = int(r0)
108852+ if e1 != 0 {
108853+ err = errnoErr(e1)
108854+ }
108855+ return
108856+}
108857+
108858+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108859+
108860+func ExtattrDeleteFile(file string, attrnamespace int, attrname string) (err error) {
108861+ var _p0 *byte
108862+ _p0, err = BytePtrFromString(file)
108863+ if err != nil {
108864+ return
108865+ }
108866+ var _p1 *byte
108867+ _p1, err = BytePtrFromString(attrname)
108868+ if err != nil {
108869+ return
108870+ }
108871+ _, _, e1 := Syscall(SYS_EXTATTR_DELETE_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)))
108872+ if e1 != 0 {
108873+ err = errnoErr(e1)
108874+ }
108875+ return
108876+}
108877+
108878+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108879+
108880+func ExtattrListFile(file string, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
108881+ var _p0 *byte
108882+ _p0, err = BytePtrFromString(file)
108883+ if err != nil {
108884+ return
108885+ }
108886+ r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
108887+ ret = int(r0)
108888+ if e1 != 0 {
108889+ err = errnoErr(e1)
108890+ }
108891+ return
108892+}
108893+
108894+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108895+
108896+func ExtattrGetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
108897+ var _p0 *byte
108898+ _p0, err = BytePtrFromString(link)
108899+ if err != nil {
108900+ return
108901+ }
108902+ var _p1 *byte
108903+ _p1, err = BytePtrFromString(attrname)
108904+ if err != nil {
108905+ return
108906+ }
108907+ r0, _, e1 := Syscall6(SYS_EXTATTR_GET_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
108908+ ret = int(r0)
108909+ if e1 != 0 {
108910+ err = errnoErr(e1)
108911+ }
108912+ return
108913+}
108914+
108915+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108916+
108917+func ExtattrSetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
108918+ var _p0 *byte
108919+ _p0, err = BytePtrFromString(link)
108920+ if err != nil {
108921+ return
108922+ }
108923+ var _p1 *byte
108924+ _p1, err = BytePtrFromString(attrname)
108925+ if err != nil {
108926+ return
108927+ }
108928+ r0, _, e1 := Syscall6(SYS_EXTATTR_SET_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
108929+ ret = int(r0)
108930+ if e1 != 0 {
108931+ err = errnoErr(e1)
108932+ }
108933+ return
108934+}
108935+
108936+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108937+
108938+func ExtattrDeleteLink(link string, attrnamespace int, attrname string) (err error) {
108939+ var _p0 *byte
108940+ _p0, err = BytePtrFromString(link)
108941+ if err != nil {
108942+ return
108943+ }
108944+ var _p1 *byte
108945+ _p1, err = BytePtrFromString(attrname)
108946+ if err != nil {
108947+ return
108948+ }
108949+ _, _, e1 := Syscall(SYS_EXTATTR_DELETE_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)))
108950+ if e1 != 0 {
108951+ err = errnoErr(e1)
108952+ }
108953+ return
108954+}
108955+
108956+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108957+
108958+func ExtattrListLink(link string, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
108959+ var _p0 *byte
108960+ _p0, err = BytePtrFromString(link)
108961+ if err != nil {
108962+ return
108963+ }
108964+ r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
108965+ ret = int(r0)
108966+ if e1 != 0 {
108967+ err = errnoErr(e1)
108968+ }
108969+ return
108970+}
108971+
108972+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108973+
108974+func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
108975+ var _p0 *byte
108976+ _p0, err = BytePtrFromString(path)
108977+ if err != nil {
108978+ return
108979+ }
108980+ _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
108981+ if e1 != 0 {
108982+ err = errnoErr(e1)
108983+ }
108984+ return
108985+}
108986+
108987+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108988+
108989+func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
108990+ _, _, e1 := Syscall9(SYS_POSIX_FADVISE, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), 0, uintptr(length), uintptr(length>>32), uintptr(advice), 0)
108991+ if e1 != 0 {
108992+ err = errnoErr(e1)
108993+ }
108994+ return
108995+}
108996+
108997+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
108998+
108999 func Fchdir(fd int) (err error) {
109000 _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
109001 if e1 != 0 {
109002@@ -563,6 +839,21 @@ func Fchmod(fd int, mode uint32) (err error) {
109003
109004 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109005
109006+func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
109007+ var _p0 *byte
109008+ _p0, err = BytePtrFromString(path)
109009+ if err != nil {
109010+ return
109011+ }
109012+ _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
109013+ if e1 != 0 {
109014+ err = errnoErr(e1)
109015+ }
109016+ return
109017+}
109018+
109019+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109020+
109021 func Fchown(fd int, uid int, gid int) (err error) {
109022 _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
109023 if e1 != 0 {
109024@@ -573,6 +864,21 @@ func Fchown(fd int, uid int, gid int) (err error) {
109025
109026 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109027
109028+func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
109029+ var _p0 *byte
109030+ _p0, err = BytePtrFromString(path)
109031+ if err != nil {
109032+ return
109033+ }
109034+ _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
109035+ if e1 != 0 {
109036+ err = errnoErr(e1)
109037+ }
109038+ return
109039+}
109040+
109041+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109042+
109043 func Flock(fd int, how int) (err error) {
109044 _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
109045 if e1 != 0 {
109046@@ -604,6 +910,31 @@ func Fstat(fd int, stat *Stat_t) (err error) {
109047
109048 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109049
109050+func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
109051+ var _p0 *byte
109052+ _p0, err = BytePtrFromString(path)
109053+ if err != nil {
109054+ return
109055+ }
109056+ _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
109057+ if e1 != 0 {
109058+ err = errnoErr(e1)
109059+ }
109060+ return
109061+}
109062+
109063+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109064+
109065+func Fstatvfs1(fd int, buf *Statvfs_t, flags int) (err error) {
109066+ _, _, e1 := Syscall(SYS_FSTATVFS1, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(flags))
109067+ if e1 != 0 {
109068+ err = errnoErr(e1)
109069+ }
109070+ return
109071+}
109072+
109073+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109074+
109075 func Fsync(fd int) (err error) {
109076 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
109077 if e1 != 0 {
109078@@ -807,6 +1138,26 @@ func Link(path string, link string) (err error) {
109079
109080 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109081
109082+func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error) {
109083+ var _p0 *byte
109084+ _p0, err = BytePtrFromString(path)
109085+ if err != nil {
109086+ return
109087+ }
109088+ var _p1 *byte
109089+ _p1, err = BytePtrFromString(link)
109090+ if err != nil {
109091+ return
109092+ }
109093+ _, _, e1 := Syscall6(SYS_LINKAT, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
109094+ if e1 != 0 {
109095+ err = errnoErr(e1)
109096+ }
109097+ return
109098+}
109099+
109100+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109101+
109102 func Listen(s int, backlog int) (err error) {
109103 _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
109104 if e1 != 0 {
109105@@ -847,6 +1198,21 @@ func Mkdir(path string, mode uint32) (err error) {
109106
109107 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109108
109109+func Mkdirat(dirfd int, path string, mode uint32) (err error) {
109110+ var _p0 *byte
109111+ _p0, err = BytePtrFromString(path)
109112+ if err != nil {
109113+ return
109114+ }
109115+ _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
109116+ if e1 != 0 {
109117+ err = errnoErr(e1)
109118+ }
109119+ return
109120+}
109121+
109122+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109123+
109124 func Mkfifo(path string, mode uint32) (err error) {
109125 var _p0 *byte
109126 _p0, err = BytePtrFromString(path)
109127@@ -862,6 +1228,21 @@ func Mkfifo(path string, mode uint32) (err error) {
109128
109129 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109130
109131+func Mkfifoat(dirfd int, path string, mode uint32) (err error) {
109132+ var _p0 *byte
109133+ _p0, err = BytePtrFromString(path)
109134+ if err != nil {
109135+ return
109136+ }
109137+ _, _, e1 := Syscall(SYS_MKFIFOAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
109138+ if e1 != 0 {
109139+ err = errnoErr(e1)
109140+ }
109141+ return
109142+}
109143+
109144+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109145+
109146 func Mknod(path string, mode uint32, dev int) (err error) {
109147 var _p0 *byte
109148 _p0, err = BytePtrFromString(path)
109149@@ -877,6 +1258,21 @@ func Mknod(path string, mode uint32, dev int) (err error) {
109150
109151 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109152
109153+func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
109154+ var _p0 *byte
109155+ _p0, err = BytePtrFromString(path)
109156+ if err != nil {
109157+ return
109158+ }
109159+ _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
109160+ if e1 != 0 {
109161+ err = errnoErr(e1)
109162+ }
109163+ return
109164+}
109165+
109166+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109167+
109168 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
109169 _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
109170 if e1 != 0 {
109171@@ -903,6 +1299,22 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
109172
109173 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109174
109175+func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
109176+ var _p0 *byte
109177+ _p0, err = BytePtrFromString(path)
109178+ if err != nil {
109179+ return
109180+ }
109181+ r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
109182+ fd = int(r0)
109183+ if e1 != 0 {
109184+ err = errnoErr(e1)
109185+ }
109186+ return
109187+}
109188+
109189+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109190+
109191 func Pathconf(path string, name int) (val int, err error) {
109192 var _p0 *byte
109193 _p0, err = BytePtrFromString(path)
109194@@ -992,6 +1404,28 @@ func Readlink(path string, buf []byte) (n int, err error) {
109195
109196 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109197
109198+func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
109199+ var _p0 *byte
109200+ _p0, err = BytePtrFromString(path)
109201+ if err != nil {
109202+ return
109203+ }
109204+ var _p1 unsafe.Pointer
109205+ if len(buf) > 0 {
109206+ _p1 = unsafe.Pointer(&buf[0])
109207+ } else {
109208+ _p1 = unsafe.Pointer(&_zero)
109209+ }
109210+ r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
109211+ n = int(r0)
109212+ if e1 != 0 {
109213+ err = errnoErr(e1)
109214+ }
109215+ return
109216+}
109217+
109218+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109219+
109220 func Rename(from string, to string) (err error) {
109221 var _p0 *byte
109222 _p0, err = BytePtrFromString(from)
109223@@ -1012,6 +1446,26 @@ func Rename(from string, to string) (err error) {
109224
109225 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109226
109227+func Renameat(fromfd int, from string, tofd int, to string) (err error) {
109228+ var _p0 *byte
109229+ _p0, err = BytePtrFromString(from)
109230+ if err != nil {
109231+ return
109232+ }
109233+ var _p1 *byte
109234+ _p1, err = BytePtrFromString(to)
109235+ if err != nil {
109236+ return
109237+ }
109238+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0)
109239+ if e1 != 0 {
109240+ err = errnoErr(e1)
109241+ }
109242+ return
109243+}
109244+
109245+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109246+
109247 func Revoke(path string) (err error) {
109248 var _p0 *byte
109249 _p0, err = BytePtrFromString(path)
109250@@ -1053,8 +1507,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
109251
109252 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109253
109254-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
109255- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
109256+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
109257+ r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
109258+ n = int(r0)
109259 if e1 != 0 {
109260 err = errnoErr(e1)
109261 }
109262@@ -1189,6 +1644,21 @@ func Stat(path string, stat *Stat_t) (err error) {
109263
109264 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109265
109266+func Statvfs1(path string, buf *Statvfs_t, flags int) (err error) {
109267+ var _p0 *byte
109268+ _p0, err = BytePtrFromString(path)
109269+ if err != nil {
109270+ return
109271+ }
109272+ _, _, e1 := Syscall(SYS_STATVFS1, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), uintptr(flags))
109273+ if e1 != 0 {
109274+ err = errnoErr(e1)
109275+ }
109276+ return
109277+}
109278+
109279+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109280+
109281 func Symlink(path string, link string) (err error) {
109282 var _p0 *byte
109283 _p0, err = BytePtrFromString(path)
109284@@ -1209,6 +1679,26 @@ func Symlink(path string, link string) (err error) {
109285
109286 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109287
109288+func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
109289+ var _p0 *byte
109290+ _p0, err = BytePtrFromString(oldpath)
109291+ if err != nil {
109292+ return
109293+ }
109294+ var _p1 *byte
109295+ _p1, err = BytePtrFromString(newpath)
109296+ if err != nil {
109297+ return
109298+ }
109299+ _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
109300+ if e1 != 0 {
109301+ err = errnoErr(e1)
109302+ }
109303+ return
109304+}
109305+
109306+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109307+
109308 func Sync() (err error) {
109309 _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
109310 if e1 != 0 {
109311@@ -1257,6 +1747,21 @@ func Unlink(path string) (err error) {
109312
109313 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109314
109315+func Unlinkat(dirfd int, path string, flags int) (err error) {
109316+ var _p0 *byte
109317+ _p0, err = BytePtrFromString(path)
109318+ if err != nil {
109319+ return
109320+ }
109321+ _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
109322+ if e1 != 0 {
109323+ err = errnoErr(e1)
109324+ }
109325+ return
109326+}
109327+
109328+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109329+
109330 func Unmount(path string, flags int) (err error) {
109331 var _p0 *byte
109332 _p0, err = BytePtrFromString(path)
109333diff --git a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go
109334index 7b6c2c87..d8cf5012 100644
109335--- a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go
109336+++ b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go
109337@@ -1,4 +1,4 @@
109338-// mksyscall.pl -netbsd -tags netbsd,amd64 syscall_bsd.go syscall_netbsd.go syscall_netbsd_amd64.go
109339+// go run mksyscall.go -netbsd -tags netbsd,amd64 syscall_bsd.go syscall_netbsd.go syscall_netbsd_amd64.go
109340 // Code generated by the command above; see README.md. DO NOT EDIT.
109341
109342 // +build netbsd,amd64
109343@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
109344
109345 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109346
109347-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
109348- var _p0 unsafe.Pointer
109349- if len(mib) > 0 {
109350- _p0 = unsafe.Pointer(&mib[0])
109351- } else {
109352- _p0 = unsafe.Pointer(&_zero)
109353- }
109354- _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
109355- if e1 != 0 {
109356- err = errnoErr(e1)
109357- }
109358- return
109359-}
109360-
109361-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109362-
109363 func utimes(path string, timeval *[2]Timeval) (err error) {
109364 var _p0 *byte
109365 _p0, err = BytePtrFromString(path)
109366@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
109367
109368 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109369
109370-func fcntl(fd int, cmd int, arg int) (val int, err error) {
109371- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
109372- val = int(r0)
109373+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
109374+ r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
109375+ n = int(r0)
109376 if e1 != 0 {
109377 err = errnoErr(e1)
109378 }
109379@@ -378,7 +362,7 @@ func pipe() (fd1 int, fd2 int, err error) {
109380
109381 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109382
109383-func getdents(fd int, buf []byte) (n int, err error) {
109384+func Getdents(fd int, buf []byte) (n int, err error) {
109385 var _p0 unsafe.Pointer
109386 if len(buf) > 0 {
109387 _p0 = unsafe.Pointer(&buf[0])
109388@@ -395,6 +379,49 @@ func getdents(fd int, buf []byte) (n int, err error) {
109389
109390 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109391
109392+func Getcwd(buf []byte) (n int, err error) {
109393+ var _p0 unsafe.Pointer
109394+ if len(buf) > 0 {
109395+ _p0 = unsafe.Pointer(&buf[0])
109396+ } else {
109397+ _p0 = unsafe.Pointer(&_zero)
109398+ }
109399+ r0, _, e1 := Syscall(SYS___GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
109400+ n = int(r0)
109401+ if e1 != 0 {
109402+ err = errnoErr(e1)
109403+ }
109404+ return
109405+}
109406+
109407+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109408+
109409+func ioctl(fd int, req uint, arg uintptr) (err error) {
109410+ _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
109411+ if e1 != 0 {
109412+ err = errnoErr(e1)
109413+ }
109414+ return
109415+}
109416+
109417+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109418+
109419+func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
109420+ var _p0 unsafe.Pointer
109421+ if len(mib) > 0 {
109422+ _p0 = unsafe.Pointer(&mib[0])
109423+ } else {
109424+ _p0 = unsafe.Pointer(&_zero)
109425+ }
109426+ _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
109427+ if e1 != 0 {
109428+ err = errnoErr(e1)
109429+ }
109430+ return
109431+}
109432+
109433+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109434+
109435 func Access(path string, mode uint32) (err error) {
109436 var _p0 *byte
109437 _p0, err = BytePtrFromString(path)
109438@@ -526,6 +553,16 @@ func Dup2(from int, to int) (err error) {
109439
109440 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109441
109442+func Dup3(from int, to int, flags int) (err error) {
109443+ _, _, e1 := Syscall(SYS_DUP3, uintptr(from), uintptr(to), uintptr(flags))
109444+ if e1 != 0 {
109445+ err = errnoErr(e1)
109446+ }
109447+ return
109448+}
109449+
109450+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109451+
109452 func Exit(code int) {
109453 Syscall(SYS_EXIT, uintptr(code), 0, 0)
109454 return
109455@@ -533,6 +570,245 @@ func Exit(code int) {
109456
109457 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109458
109459+func ExtattrGetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
109460+ var _p0 *byte
109461+ _p0, err = BytePtrFromString(attrname)
109462+ if err != nil {
109463+ return
109464+ }
109465+ r0, _, e1 := Syscall6(SYS_EXTATTR_GET_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)), uintptr(data), uintptr(nbytes), 0)
109466+ ret = int(r0)
109467+ if e1 != 0 {
109468+ err = errnoErr(e1)
109469+ }
109470+ return
109471+}
109472+
109473+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109474+
109475+func ExtattrSetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
109476+ var _p0 *byte
109477+ _p0, err = BytePtrFromString(attrname)
109478+ if err != nil {
109479+ return
109480+ }
109481+ r0, _, e1 := Syscall6(SYS_EXTATTR_SET_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)), uintptr(data), uintptr(nbytes), 0)
109482+ ret = int(r0)
109483+ if e1 != 0 {
109484+ err = errnoErr(e1)
109485+ }
109486+ return
109487+}
109488+
109489+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109490+
109491+func ExtattrDeleteFd(fd int, attrnamespace int, attrname string) (err error) {
109492+ var _p0 *byte
109493+ _p0, err = BytePtrFromString(attrname)
109494+ if err != nil {
109495+ return
109496+ }
109497+ _, _, e1 := Syscall(SYS_EXTATTR_DELETE_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)))
109498+ if e1 != 0 {
109499+ err = errnoErr(e1)
109500+ }
109501+ return
109502+}
109503+
109504+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109505+
109506+func ExtattrListFd(fd int, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
109507+ r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_FD, uintptr(fd), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
109508+ ret = int(r0)
109509+ if e1 != 0 {
109510+ err = errnoErr(e1)
109511+ }
109512+ return
109513+}
109514+
109515+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109516+
109517+func ExtattrGetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
109518+ var _p0 *byte
109519+ _p0, err = BytePtrFromString(file)
109520+ if err != nil {
109521+ return
109522+ }
109523+ var _p1 *byte
109524+ _p1, err = BytePtrFromString(attrname)
109525+ if err != nil {
109526+ return
109527+ }
109528+ r0, _, e1 := Syscall6(SYS_EXTATTR_GET_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
109529+ ret = int(r0)
109530+ if e1 != 0 {
109531+ err = errnoErr(e1)
109532+ }
109533+ return
109534+}
109535+
109536+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109537+
109538+func ExtattrSetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
109539+ var _p0 *byte
109540+ _p0, err = BytePtrFromString(file)
109541+ if err != nil {
109542+ return
109543+ }
109544+ var _p1 *byte
109545+ _p1, err = BytePtrFromString(attrname)
109546+ if err != nil {
109547+ return
109548+ }
109549+ r0, _, e1 := Syscall6(SYS_EXTATTR_SET_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
109550+ ret = int(r0)
109551+ if e1 != 0 {
109552+ err = errnoErr(e1)
109553+ }
109554+ return
109555+}
109556+
109557+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109558+
109559+func ExtattrDeleteFile(file string, attrnamespace int, attrname string) (err error) {
109560+ var _p0 *byte
109561+ _p0, err = BytePtrFromString(file)
109562+ if err != nil {
109563+ return
109564+ }
109565+ var _p1 *byte
109566+ _p1, err = BytePtrFromString(attrname)
109567+ if err != nil {
109568+ return
109569+ }
109570+ _, _, e1 := Syscall(SYS_EXTATTR_DELETE_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)))
109571+ if e1 != 0 {
109572+ err = errnoErr(e1)
109573+ }
109574+ return
109575+}
109576+
109577+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109578+
109579+func ExtattrListFile(file string, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
109580+ var _p0 *byte
109581+ _p0, err = BytePtrFromString(file)
109582+ if err != nil {
109583+ return
109584+ }
109585+ r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
109586+ ret = int(r0)
109587+ if e1 != 0 {
109588+ err = errnoErr(e1)
109589+ }
109590+ return
109591+}
109592+
109593+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109594+
109595+func ExtattrGetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
109596+ var _p0 *byte
109597+ _p0, err = BytePtrFromString(link)
109598+ if err != nil {
109599+ return
109600+ }
109601+ var _p1 *byte
109602+ _p1, err = BytePtrFromString(attrname)
109603+ if err != nil {
109604+ return
109605+ }
109606+ r0, _, e1 := Syscall6(SYS_EXTATTR_GET_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
109607+ ret = int(r0)
109608+ if e1 != 0 {
109609+ err = errnoErr(e1)
109610+ }
109611+ return
109612+}
109613+
109614+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109615+
109616+func ExtattrSetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
109617+ var _p0 *byte
109618+ _p0, err = BytePtrFromString(link)
109619+ if err != nil {
109620+ return
109621+ }
109622+ var _p1 *byte
109623+ _p1, err = BytePtrFromString(attrname)
109624+ if err != nil {
109625+ return
109626+ }
109627+ r0, _, e1 := Syscall6(SYS_EXTATTR_SET_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
109628+ ret = int(r0)
109629+ if e1 != 0 {
109630+ err = errnoErr(e1)
109631+ }
109632+ return
109633+}
109634+
109635+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109636+
109637+func ExtattrDeleteLink(link string, attrnamespace int, attrname string) (err error) {
109638+ var _p0 *byte
109639+ _p0, err = BytePtrFromString(link)
109640+ if err != nil {
109641+ return
109642+ }
109643+ var _p1 *byte
109644+ _p1, err = BytePtrFromString(attrname)
109645+ if err != nil {
109646+ return
109647+ }
109648+ _, _, e1 := Syscall(SYS_EXTATTR_DELETE_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)))
109649+ if e1 != 0 {
109650+ err = errnoErr(e1)
109651+ }
109652+ return
109653+}
109654+
109655+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109656+
109657+func ExtattrListLink(link string, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
109658+ var _p0 *byte
109659+ _p0, err = BytePtrFromString(link)
109660+ if err != nil {
109661+ return
109662+ }
109663+ r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
109664+ ret = int(r0)
109665+ if e1 != 0 {
109666+ err = errnoErr(e1)
109667+ }
109668+ return
109669+}
109670+
109671+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109672+
109673+func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
109674+ var _p0 *byte
109675+ _p0, err = BytePtrFromString(path)
109676+ if err != nil {
109677+ return
109678+ }
109679+ _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
109680+ if e1 != 0 {
109681+ err = errnoErr(e1)
109682+ }
109683+ return
109684+}
109685+
109686+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109687+
109688+func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
109689+ _, _, e1 := Syscall6(SYS_POSIX_FADVISE, uintptr(fd), 0, uintptr(offset), 0, uintptr(length), uintptr(advice))
109690+ if e1 != 0 {
109691+ err = errnoErr(e1)
109692+ }
109693+ return
109694+}
109695+
109696+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109697+
109698 func Fchdir(fd int) (err error) {
109699 _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
109700 if e1 != 0 {
109701@@ -563,6 +839,21 @@ func Fchmod(fd int, mode uint32) (err error) {
109702
109703 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109704
109705+func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
109706+ var _p0 *byte
109707+ _p0, err = BytePtrFromString(path)
109708+ if err != nil {
109709+ return
109710+ }
109711+ _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
109712+ if e1 != 0 {
109713+ err = errnoErr(e1)
109714+ }
109715+ return
109716+}
109717+
109718+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109719+
109720 func Fchown(fd int, uid int, gid int) (err error) {
109721 _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
109722 if e1 != 0 {
109723@@ -573,6 +864,21 @@ func Fchown(fd int, uid int, gid int) (err error) {
109724
109725 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109726
109727+func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
109728+ var _p0 *byte
109729+ _p0, err = BytePtrFromString(path)
109730+ if err != nil {
109731+ return
109732+ }
109733+ _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
109734+ if e1 != 0 {
109735+ err = errnoErr(e1)
109736+ }
109737+ return
109738+}
109739+
109740+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109741+
109742 func Flock(fd int, how int) (err error) {
109743 _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
109744 if e1 != 0 {
109745@@ -604,6 +910,31 @@ func Fstat(fd int, stat *Stat_t) (err error) {
109746
109747 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109748
109749+func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
109750+ var _p0 *byte
109751+ _p0, err = BytePtrFromString(path)
109752+ if err != nil {
109753+ return
109754+ }
109755+ _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
109756+ if e1 != 0 {
109757+ err = errnoErr(e1)
109758+ }
109759+ return
109760+}
109761+
109762+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109763+
109764+func Fstatvfs1(fd int, buf *Statvfs_t, flags int) (err error) {
109765+ _, _, e1 := Syscall(SYS_FSTATVFS1, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(flags))
109766+ if e1 != 0 {
109767+ err = errnoErr(e1)
109768+ }
109769+ return
109770+}
109771+
109772+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109773+
109774 func Fsync(fd int) (err error) {
109775 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
109776 if e1 != 0 {
109777@@ -807,6 +1138,26 @@ func Link(path string, link string) (err error) {
109778
109779 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109780
109781+func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error) {
109782+ var _p0 *byte
109783+ _p0, err = BytePtrFromString(path)
109784+ if err != nil {
109785+ return
109786+ }
109787+ var _p1 *byte
109788+ _p1, err = BytePtrFromString(link)
109789+ if err != nil {
109790+ return
109791+ }
109792+ _, _, e1 := Syscall6(SYS_LINKAT, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
109793+ if e1 != 0 {
109794+ err = errnoErr(e1)
109795+ }
109796+ return
109797+}
109798+
109799+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109800+
109801 func Listen(s int, backlog int) (err error) {
109802 _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
109803 if e1 != 0 {
109804@@ -847,6 +1198,21 @@ func Mkdir(path string, mode uint32) (err error) {
109805
109806 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109807
109808+func Mkdirat(dirfd int, path string, mode uint32) (err error) {
109809+ var _p0 *byte
109810+ _p0, err = BytePtrFromString(path)
109811+ if err != nil {
109812+ return
109813+ }
109814+ _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
109815+ if e1 != 0 {
109816+ err = errnoErr(e1)
109817+ }
109818+ return
109819+}
109820+
109821+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109822+
109823 func Mkfifo(path string, mode uint32) (err error) {
109824 var _p0 *byte
109825 _p0, err = BytePtrFromString(path)
109826@@ -862,6 +1228,21 @@ func Mkfifo(path string, mode uint32) (err error) {
109827
109828 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109829
109830+func Mkfifoat(dirfd int, path string, mode uint32) (err error) {
109831+ var _p0 *byte
109832+ _p0, err = BytePtrFromString(path)
109833+ if err != nil {
109834+ return
109835+ }
109836+ _, _, e1 := Syscall(SYS_MKFIFOAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
109837+ if e1 != 0 {
109838+ err = errnoErr(e1)
109839+ }
109840+ return
109841+}
109842+
109843+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109844+
109845 func Mknod(path string, mode uint32, dev int) (err error) {
109846 var _p0 *byte
109847 _p0, err = BytePtrFromString(path)
109848@@ -877,6 +1258,21 @@ func Mknod(path string, mode uint32, dev int) (err error) {
109849
109850 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109851
109852+func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
109853+ var _p0 *byte
109854+ _p0, err = BytePtrFromString(path)
109855+ if err != nil {
109856+ return
109857+ }
109858+ _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
109859+ if e1 != 0 {
109860+ err = errnoErr(e1)
109861+ }
109862+ return
109863+}
109864+
109865+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109866+
109867 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
109868 _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
109869 if e1 != 0 {
109870@@ -903,6 +1299,22 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
109871
109872 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109873
109874+func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
109875+ var _p0 *byte
109876+ _p0, err = BytePtrFromString(path)
109877+ if err != nil {
109878+ return
109879+ }
109880+ r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
109881+ fd = int(r0)
109882+ if e1 != 0 {
109883+ err = errnoErr(e1)
109884+ }
109885+ return
109886+}
109887+
109888+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109889+
109890 func Pathconf(path string, name int) (val int, err error) {
109891 var _p0 *byte
109892 _p0, err = BytePtrFromString(path)
109893@@ -992,6 +1404,28 @@ func Readlink(path string, buf []byte) (n int, err error) {
109894
109895 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109896
109897+func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
109898+ var _p0 *byte
109899+ _p0, err = BytePtrFromString(path)
109900+ if err != nil {
109901+ return
109902+ }
109903+ var _p1 unsafe.Pointer
109904+ if len(buf) > 0 {
109905+ _p1 = unsafe.Pointer(&buf[0])
109906+ } else {
109907+ _p1 = unsafe.Pointer(&_zero)
109908+ }
109909+ r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
109910+ n = int(r0)
109911+ if e1 != 0 {
109912+ err = errnoErr(e1)
109913+ }
109914+ return
109915+}
109916+
109917+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109918+
109919 func Rename(from string, to string) (err error) {
109920 var _p0 *byte
109921 _p0, err = BytePtrFromString(from)
109922@@ -1012,6 +1446,26 @@ func Rename(from string, to string) (err error) {
109923
109924 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109925
109926+func Renameat(fromfd int, from string, tofd int, to string) (err error) {
109927+ var _p0 *byte
109928+ _p0, err = BytePtrFromString(from)
109929+ if err != nil {
109930+ return
109931+ }
109932+ var _p1 *byte
109933+ _p1, err = BytePtrFromString(to)
109934+ if err != nil {
109935+ return
109936+ }
109937+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0)
109938+ if e1 != 0 {
109939+ err = errnoErr(e1)
109940+ }
109941+ return
109942+}
109943+
109944+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109945+
109946 func Revoke(path string) (err error) {
109947 var _p0 *byte
109948 _p0, err = BytePtrFromString(path)
109949@@ -1053,8 +1507,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
109950
109951 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109952
109953-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
109954- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
109955+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
109956+ r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
109957+ n = int(r0)
109958 if e1 != 0 {
109959 err = errnoErr(e1)
109960 }
109961@@ -1189,6 +1644,21 @@ func Stat(path string, stat *Stat_t) (err error) {
109962
109963 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109964
109965+func Statvfs1(path string, buf *Statvfs_t, flags int) (err error) {
109966+ var _p0 *byte
109967+ _p0, err = BytePtrFromString(path)
109968+ if err != nil {
109969+ return
109970+ }
109971+ _, _, e1 := Syscall(SYS_STATVFS1, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), uintptr(flags))
109972+ if e1 != 0 {
109973+ err = errnoErr(e1)
109974+ }
109975+ return
109976+}
109977+
109978+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109979+
109980 func Symlink(path string, link string) (err error) {
109981 var _p0 *byte
109982 _p0, err = BytePtrFromString(path)
109983@@ -1209,6 +1679,26 @@ func Symlink(path string, link string) (err error) {
109984
109985 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
109986
109987+func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
109988+ var _p0 *byte
109989+ _p0, err = BytePtrFromString(oldpath)
109990+ if err != nil {
109991+ return
109992+ }
109993+ var _p1 *byte
109994+ _p1, err = BytePtrFromString(newpath)
109995+ if err != nil {
109996+ return
109997+ }
109998+ _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
109999+ if e1 != 0 {
110000+ err = errnoErr(e1)
110001+ }
110002+ return
110003+}
110004+
110005+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110006+
110007 func Sync() (err error) {
110008 _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
110009 if e1 != 0 {
110010@@ -1257,6 +1747,21 @@ func Unlink(path string) (err error) {
110011
110012 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110013
110014+func Unlinkat(dirfd int, path string, flags int) (err error) {
110015+ var _p0 *byte
110016+ _p0, err = BytePtrFromString(path)
110017+ if err != nil {
110018+ return
110019+ }
110020+ _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
110021+ if e1 != 0 {
110022+ err = errnoErr(e1)
110023+ }
110024+ return
110025+}
110026+
110027+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110028+
110029 func Unmount(path string, flags int) (err error) {
110030 var _p0 *byte
110031 _p0, err = BytePtrFromString(path)
110032diff --git a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go
110033index 0f4cc3b5..1153fe69 100644
110034--- a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go
110035+++ b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go
110036@@ -1,4 +1,4 @@
110037-// mksyscall.pl -l32 -netbsd -arm -tags netbsd,arm syscall_bsd.go syscall_netbsd.go syscall_netbsd_arm.go
110038+// go run mksyscall.go -l32 -netbsd -arm -tags netbsd,arm syscall_bsd.go syscall_netbsd.go syscall_netbsd_arm.go
110039 // Code generated by the command above; see README.md. DO NOT EDIT.
110040
110041 // +build netbsd,arm
110042@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
110043
110044 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110045
110046-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
110047- var _p0 unsafe.Pointer
110048- if len(mib) > 0 {
110049- _p0 = unsafe.Pointer(&mib[0])
110050- } else {
110051- _p0 = unsafe.Pointer(&_zero)
110052- }
110053- _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
110054- if e1 != 0 {
110055- err = errnoErr(e1)
110056- }
110057- return
110058-}
110059-
110060-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110061-
110062 func utimes(path string, timeval *[2]Timeval) (err error) {
110063 var _p0 *byte
110064 _p0, err = BytePtrFromString(path)
110065@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
110066
110067 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110068
110069-func fcntl(fd int, cmd int, arg int) (val int, err error) {
110070- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
110071- val = int(r0)
110072+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
110073+ r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
110074+ n = int(r0)
110075 if e1 != 0 {
110076 err = errnoErr(e1)
110077 }
110078@@ -378,7 +362,7 @@ func pipe() (fd1 int, fd2 int, err error) {
110079
110080 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110081
110082-func getdents(fd int, buf []byte) (n int, err error) {
110083+func Getdents(fd int, buf []byte) (n int, err error) {
110084 var _p0 unsafe.Pointer
110085 if len(buf) > 0 {
110086 _p0 = unsafe.Pointer(&buf[0])
110087@@ -395,6 +379,49 @@ func getdents(fd int, buf []byte) (n int, err error) {
110088
110089 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110090
110091+func Getcwd(buf []byte) (n int, err error) {
110092+ var _p0 unsafe.Pointer
110093+ if len(buf) > 0 {
110094+ _p0 = unsafe.Pointer(&buf[0])
110095+ } else {
110096+ _p0 = unsafe.Pointer(&_zero)
110097+ }
110098+ r0, _, e1 := Syscall(SYS___GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
110099+ n = int(r0)
110100+ if e1 != 0 {
110101+ err = errnoErr(e1)
110102+ }
110103+ return
110104+}
110105+
110106+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110107+
110108+func ioctl(fd int, req uint, arg uintptr) (err error) {
110109+ _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
110110+ if e1 != 0 {
110111+ err = errnoErr(e1)
110112+ }
110113+ return
110114+}
110115+
110116+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110117+
110118+func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
110119+ var _p0 unsafe.Pointer
110120+ if len(mib) > 0 {
110121+ _p0 = unsafe.Pointer(&mib[0])
110122+ } else {
110123+ _p0 = unsafe.Pointer(&_zero)
110124+ }
110125+ _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
110126+ if e1 != 0 {
110127+ err = errnoErr(e1)
110128+ }
110129+ return
110130+}
110131+
110132+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110133+
110134 func Access(path string, mode uint32) (err error) {
110135 var _p0 *byte
110136 _p0, err = BytePtrFromString(path)
110137@@ -526,6 +553,16 @@ func Dup2(from int, to int) (err error) {
110138
110139 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110140
110141+func Dup3(from int, to int, flags int) (err error) {
110142+ _, _, e1 := Syscall(SYS_DUP3, uintptr(from), uintptr(to), uintptr(flags))
110143+ if e1 != 0 {
110144+ err = errnoErr(e1)
110145+ }
110146+ return
110147+}
110148+
110149+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110150+
110151 func Exit(code int) {
110152 Syscall(SYS_EXIT, uintptr(code), 0, 0)
110153 return
110154@@ -533,6 +570,245 @@ func Exit(code int) {
110155
110156 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110157
110158+func ExtattrGetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
110159+ var _p0 *byte
110160+ _p0, err = BytePtrFromString(attrname)
110161+ if err != nil {
110162+ return
110163+ }
110164+ r0, _, e1 := Syscall6(SYS_EXTATTR_GET_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)), uintptr(data), uintptr(nbytes), 0)
110165+ ret = int(r0)
110166+ if e1 != 0 {
110167+ err = errnoErr(e1)
110168+ }
110169+ return
110170+}
110171+
110172+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110173+
110174+func ExtattrSetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
110175+ var _p0 *byte
110176+ _p0, err = BytePtrFromString(attrname)
110177+ if err != nil {
110178+ return
110179+ }
110180+ r0, _, e1 := Syscall6(SYS_EXTATTR_SET_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)), uintptr(data), uintptr(nbytes), 0)
110181+ ret = int(r0)
110182+ if e1 != 0 {
110183+ err = errnoErr(e1)
110184+ }
110185+ return
110186+}
110187+
110188+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110189+
110190+func ExtattrDeleteFd(fd int, attrnamespace int, attrname string) (err error) {
110191+ var _p0 *byte
110192+ _p0, err = BytePtrFromString(attrname)
110193+ if err != nil {
110194+ return
110195+ }
110196+ _, _, e1 := Syscall(SYS_EXTATTR_DELETE_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)))
110197+ if e1 != 0 {
110198+ err = errnoErr(e1)
110199+ }
110200+ return
110201+}
110202+
110203+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110204+
110205+func ExtattrListFd(fd int, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
110206+ r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_FD, uintptr(fd), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
110207+ ret = int(r0)
110208+ if e1 != 0 {
110209+ err = errnoErr(e1)
110210+ }
110211+ return
110212+}
110213+
110214+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110215+
110216+func ExtattrGetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
110217+ var _p0 *byte
110218+ _p0, err = BytePtrFromString(file)
110219+ if err != nil {
110220+ return
110221+ }
110222+ var _p1 *byte
110223+ _p1, err = BytePtrFromString(attrname)
110224+ if err != nil {
110225+ return
110226+ }
110227+ r0, _, e1 := Syscall6(SYS_EXTATTR_GET_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
110228+ ret = int(r0)
110229+ if e1 != 0 {
110230+ err = errnoErr(e1)
110231+ }
110232+ return
110233+}
110234+
110235+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110236+
110237+func ExtattrSetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
110238+ var _p0 *byte
110239+ _p0, err = BytePtrFromString(file)
110240+ if err != nil {
110241+ return
110242+ }
110243+ var _p1 *byte
110244+ _p1, err = BytePtrFromString(attrname)
110245+ if err != nil {
110246+ return
110247+ }
110248+ r0, _, e1 := Syscall6(SYS_EXTATTR_SET_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
110249+ ret = int(r0)
110250+ if e1 != 0 {
110251+ err = errnoErr(e1)
110252+ }
110253+ return
110254+}
110255+
110256+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110257+
110258+func ExtattrDeleteFile(file string, attrnamespace int, attrname string) (err error) {
110259+ var _p0 *byte
110260+ _p0, err = BytePtrFromString(file)
110261+ if err != nil {
110262+ return
110263+ }
110264+ var _p1 *byte
110265+ _p1, err = BytePtrFromString(attrname)
110266+ if err != nil {
110267+ return
110268+ }
110269+ _, _, e1 := Syscall(SYS_EXTATTR_DELETE_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)))
110270+ if e1 != 0 {
110271+ err = errnoErr(e1)
110272+ }
110273+ return
110274+}
110275+
110276+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110277+
110278+func ExtattrListFile(file string, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
110279+ var _p0 *byte
110280+ _p0, err = BytePtrFromString(file)
110281+ if err != nil {
110282+ return
110283+ }
110284+ r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
110285+ ret = int(r0)
110286+ if e1 != 0 {
110287+ err = errnoErr(e1)
110288+ }
110289+ return
110290+}
110291+
110292+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110293+
110294+func ExtattrGetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
110295+ var _p0 *byte
110296+ _p0, err = BytePtrFromString(link)
110297+ if err != nil {
110298+ return
110299+ }
110300+ var _p1 *byte
110301+ _p1, err = BytePtrFromString(attrname)
110302+ if err != nil {
110303+ return
110304+ }
110305+ r0, _, e1 := Syscall6(SYS_EXTATTR_GET_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
110306+ ret = int(r0)
110307+ if e1 != 0 {
110308+ err = errnoErr(e1)
110309+ }
110310+ return
110311+}
110312+
110313+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110314+
110315+func ExtattrSetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) {
110316+ var _p0 *byte
110317+ _p0, err = BytePtrFromString(link)
110318+ if err != nil {
110319+ return
110320+ }
110321+ var _p1 *byte
110322+ _p1, err = BytePtrFromString(attrname)
110323+ if err != nil {
110324+ return
110325+ }
110326+ r0, _, e1 := Syscall6(SYS_EXTATTR_SET_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0)
110327+ ret = int(r0)
110328+ if e1 != 0 {
110329+ err = errnoErr(e1)
110330+ }
110331+ return
110332+}
110333+
110334+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110335+
110336+func ExtattrDeleteLink(link string, attrnamespace int, attrname string) (err error) {
110337+ var _p0 *byte
110338+ _p0, err = BytePtrFromString(link)
110339+ if err != nil {
110340+ return
110341+ }
110342+ var _p1 *byte
110343+ _p1, err = BytePtrFromString(attrname)
110344+ if err != nil {
110345+ return
110346+ }
110347+ _, _, e1 := Syscall(SYS_EXTATTR_DELETE_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)))
110348+ if e1 != 0 {
110349+ err = errnoErr(e1)
110350+ }
110351+ return
110352+}
110353+
110354+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110355+
110356+func ExtattrListLink(link string, attrnamespace int, data uintptr, nbytes int) (ret int, err error) {
110357+ var _p0 *byte
110358+ _p0, err = BytePtrFromString(link)
110359+ if err != nil {
110360+ return
110361+ }
110362+ r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0)
110363+ ret = int(r0)
110364+ if e1 != 0 {
110365+ err = errnoErr(e1)
110366+ }
110367+ return
110368+}
110369+
110370+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110371+
110372+func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
110373+ var _p0 *byte
110374+ _p0, err = BytePtrFromString(path)
110375+ if err != nil {
110376+ return
110377+ }
110378+ _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
110379+ if e1 != 0 {
110380+ err = errnoErr(e1)
110381+ }
110382+ return
110383+}
110384+
110385+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110386+
110387+func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
110388+ _, _, e1 := Syscall9(SYS_POSIX_FADVISE, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), 0, uintptr(length), uintptr(length>>32), uintptr(advice), 0)
110389+ if e1 != 0 {
110390+ err = errnoErr(e1)
110391+ }
110392+ return
110393+}
110394+
110395+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110396+
110397 func Fchdir(fd int) (err error) {
110398 _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
110399 if e1 != 0 {
110400@@ -563,6 +839,21 @@ func Fchmod(fd int, mode uint32) (err error) {
110401
110402 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110403
110404+func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
110405+ var _p0 *byte
110406+ _p0, err = BytePtrFromString(path)
110407+ if err != nil {
110408+ return
110409+ }
110410+ _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
110411+ if e1 != 0 {
110412+ err = errnoErr(e1)
110413+ }
110414+ return
110415+}
110416+
110417+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110418+
110419 func Fchown(fd int, uid int, gid int) (err error) {
110420 _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
110421 if e1 != 0 {
110422@@ -573,6 +864,21 @@ func Fchown(fd int, uid int, gid int) (err error) {
110423
110424 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110425
110426+func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
110427+ var _p0 *byte
110428+ _p0, err = BytePtrFromString(path)
110429+ if err != nil {
110430+ return
110431+ }
110432+ _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
110433+ if e1 != 0 {
110434+ err = errnoErr(e1)
110435+ }
110436+ return
110437+}
110438+
110439+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110440+
110441 func Flock(fd int, how int) (err error) {
110442 _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
110443 if e1 != 0 {
110444@@ -604,6 +910,31 @@ func Fstat(fd int, stat *Stat_t) (err error) {
110445
110446 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110447
110448+func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
110449+ var _p0 *byte
110450+ _p0, err = BytePtrFromString(path)
110451+ if err != nil {
110452+ return
110453+ }
110454+ _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
110455+ if e1 != 0 {
110456+ err = errnoErr(e1)
110457+ }
110458+ return
110459+}
110460+
110461+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110462+
110463+func Fstatvfs1(fd int, buf *Statvfs_t, flags int) (err error) {
110464+ _, _, e1 := Syscall(SYS_FSTATVFS1, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(flags))
110465+ if e1 != 0 {
110466+ err = errnoErr(e1)
110467+ }
110468+ return
110469+}
110470+
110471+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110472+
110473 func Fsync(fd int) (err error) {
110474 _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
110475 if e1 != 0 {
110476@@ -807,6 +1138,26 @@ func Link(path string, link string) (err error) {
110477
110478 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110479
110480+func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error) {
110481+ var _p0 *byte
110482+ _p0, err = BytePtrFromString(path)
110483+ if err != nil {
110484+ return
110485+ }
110486+ var _p1 *byte
110487+ _p1, err = BytePtrFromString(link)
110488+ if err != nil {
110489+ return
110490+ }
110491+ _, _, e1 := Syscall6(SYS_LINKAT, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
110492+ if e1 != 0 {
110493+ err = errnoErr(e1)
110494+ }
110495+ return
110496+}
110497+
110498+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110499+
110500 func Listen(s int, backlog int) (err error) {
110501 _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
110502 if e1 != 0 {
110503@@ -847,6 +1198,21 @@ func Mkdir(path string, mode uint32) (err error) {
110504
110505 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110506
110507+func Mkdirat(dirfd int, path string, mode uint32) (err error) {
110508+ var _p0 *byte
110509+ _p0, err = BytePtrFromString(path)
110510+ if err != nil {
110511+ return
110512+ }
110513+ _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
110514+ if e1 != 0 {
110515+ err = errnoErr(e1)
110516+ }
110517+ return
110518+}
110519+
110520+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110521+
110522 func Mkfifo(path string, mode uint32) (err error) {
110523 var _p0 *byte
110524 _p0, err = BytePtrFromString(path)
110525@@ -862,6 +1228,21 @@ func Mkfifo(path string, mode uint32) (err error) {
110526
110527 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110528
110529+func Mkfifoat(dirfd int, path string, mode uint32) (err error) {
110530+ var _p0 *byte
110531+ _p0, err = BytePtrFromString(path)
110532+ if err != nil {
110533+ return
110534+ }
110535+ _, _, e1 := Syscall(SYS_MKFIFOAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
110536+ if e1 != 0 {
110537+ err = errnoErr(e1)
110538+ }
110539+ return
110540+}
110541+
110542+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110543+
110544 func Mknod(path string, mode uint32, dev int) (err error) {
110545 var _p0 *byte
110546 _p0, err = BytePtrFromString(path)
110547@@ -877,6 +1258,21 @@ func Mknod(path string, mode uint32, dev int) (err error) {
110548
110549 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110550
110551+func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
110552+ var _p0 *byte
110553+ _p0, err = BytePtrFromString(path)
110554+ if err != nil {
110555+ return
110556+ }
110557+ _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
110558+ if e1 != 0 {
110559+ err = errnoErr(e1)
110560+ }
110561+ return
110562+}
110563+
110564+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110565+
110566 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
110567 _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
110568 if e1 != 0 {
110569@@ -903,6 +1299,22 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
110570
110571 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110572
110573+func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
110574+ var _p0 *byte
110575+ _p0, err = BytePtrFromString(path)
110576+ if err != nil {
110577+ return
110578+ }
110579+ r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
110580+ fd = int(r0)
110581+ if e1 != 0 {
110582+ err = errnoErr(e1)
110583+ }
110584+ return
110585+}
110586+
110587+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110588+
110589 func Pathconf(path string, name int) (val int, err error) {
110590 var _p0 *byte
110591 _p0, err = BytePtrFromString(path)
110592@@ -992,6 +1404,28 @@ func Readlink(path string, buf []byte) (n int, err error) {
110593
110594 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110595
110596+func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
110597+ var _p0 *byte
110598+ _p0, err = BytePtrFromString(path)
110599+ if err != nil {
110600+ return
110601+ }
110602+ var _p1 unsafe.Pointer
110603+ if len(buf) > 0 {
110604+ _p1 = unsafe.Pointer(&buf[0])
110605+ } else {
110606+ _p1 = unsafe.Pointer(&_zero)
110607+ }
110608+ r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
110609+ n = int(r0)
110610+ if e1 != 0 {
110611+ err = errnoErr(e1)
110612+ }
110613+ return
110614+}
110615+
110616+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110617+
110618 func Rename(from string, to string) (err error) {
110619 var _p0 *byte
110620 _p0, err = BytePtrFromString(from)
110621@@ -1012,6 +1446,26 @@ func Rename(from string, to string) (err error) {
110622
110623 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110624
110625+func Renameat(fromfd int, from string, tofd int, to string) (err error) {
110626+ var _p0 *byte
110627+ _p0, err = BytePtrFromString(from)
110628+ if err != nil {
110629+ return
110630+ }
110631+ var _p1 *byte
110632+ _p1, err = BytePtrFromString(to)
110633+ if err != nil {
110634+ return
110635+ }
110636+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0)
110637+ if e1 != 0 {
110638+ err = errnoErr(e1)
110639+ }
110640+ return
110641+}
110642+
110643+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110644+
110645 func Revoke(path string) (err error) {
110646 var _p0 *byte
110647 _p0, err = BytePtrFromString(path)
110648@@ -1053,8 +1507,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
110649
110650 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110651
110652-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
110653- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
110654+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
110655+ r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
110656+ n = int(r0)
110657 if e1 != 0 {
110658 err = errnoErr(e1)
110659 }
110660@@ -1189,6 +1644,21 @@ func Stat(path string, stat *Stat_t) (err error) {
110661
110662 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110663
110664+func Statvfs1(path string, buf *Statvfs_t, flags int) (err error) {
110665+ var _p0 *byte
110666+ _p0, err = BytePtrFromString(path)
110667+ if err != nil {
110668+ return
110669+ }
110670+ _, _, e1 := Syscall(SYS_STATVFS1, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), uintptr(flags))
110671+ if e1 != 0 {
110672+ err = errnoErr(e1)
110673+ }
110674+ return
110675+}
110676+
110677+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110678+
110679 func Symlink(path string, link string) (err error) {
110680 var _p0 *byte
110681 _p0, err = BytePtrFromString(path)
110682@@ -1209,6 +1679,26 @@ func Symlink(path string, link string) (err error) {
110683
110684 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110685
110686+func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
110687+ var _p0 *byte
110688+ _p0, err = BytePtrFromString(oldpath)
110689+ if err != nil {
110690+ return
110691+ }
110692+ var _p1 *byte
110693+ _p1, err = BytePtrFromString(newpath)
110694+ if err != nil {
110695+ return
110696+ }
110697+ _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
110698+ if e1 != 0 {
110699+ err = errnoErr(e1)
110700+ }
110701+ return
110702+}
110703+
110704+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110705+
110706 func Sync() (err error) {
110707 _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
110708 if e1 != 0 {
110709@@ -1257,6 +1747,21 @@ func Unlink(path string) (err error) {
110710
110711 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110712
110713+func Unlinkat(dirfd int, path string, flags int) (err error) {
110714+ var _p0 *byte
110715+ _p0, err = BytePtrFromString(path)
110716+ if err != nil {
110717+ return
110718+ }
110719+ _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
110720+ if e1 != 0 {
110721+ err = errnoErr(e1)
110722+ }
110723+ return
110724+}
110725+
110726+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110727+
110728 func Unmount(path string, flags int) (err error) {
110729 var _p0 *byte
110730 _p0, err = BytePtrFromString(path)
110731diff --git a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go
110732similarity index 92%
110733copy from vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go
110734copy to vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go
110735index ac1e8e01..24b4ebb4 100644
110736--- a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go
110737+++ b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go
110738@@ -1,7 +1,7 @@
110739-// mksyscall.pl -tags freebsd,amd64 syscall_bsd.go syscall_freebsd.go syscall_freebsd_amd64.go
110740+// go run mksyscall.go -netbsd -tags netbsd,arm64 syscall_bsd.go syscall_netbsd.go syscall_netbsd_arm64.go
110741 // Code generated by the command above; see README.md. DO NOT EDIT.
110742
110743-// +build freebsd,amd64
110744+// +build netbsd,arm64
110745
110746 package unix
110747
110748@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
110749
110750 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110751
110752-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
110753- var _p0 unsafe.Pointer
110754- if len(mib) > 0 {
110755- _p0 = unsafe.Pointer(&mib[0])
110756- } else {
110757- _p0 = unsafe.Pointer(&_zero)
110758- }
110759- _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
110760- if e1 != 0 {
110761- err = errnoErr(e1)
110762- }
110763- return
110764-}
110765-
110766-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110767-
110768 func utimes(path string, timeval *[2]Timeval) (err error) {
110769 var _p0 *byte
110770 _p0, err = BytePtrFromString(path)
110771@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
110772
110773 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110774
110775-func fcntl(fd int, cmd int, arg int) (val int, err error) {
110776- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
110777- val = int(r0)
110778+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
110779+ r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
110780+ n = int(r0)
110781 if e1 != 0 {
110782 err = errnoErr(e1)
110783 }
110784@@ -366,10 +350,10 @@ func Munlockall() (err error) {
110785
110786 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110787
110788-func pipe() (r int, w int, err error) {
110789+func pipe() (fd1 int, fd2 int, err error) {
110790 r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
110791- r = int(r0)
110792- w = int(r1)
110793+ fd1 = int(r0)
110794+ fd2 = int(r1)
110795 if e1 != 0 {
110796 err = errnoErr(e1)
110797 }
110798@@ -378,8 +362,15 @@ func pipe() (r int, w int, err error) {
110799
110800 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110801
110802-func ioctl(fd int, req uint, arg uintptr) (err error) {
110803- _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
110804+func Getdents(fd int, buf []byte) (n int, err error) {
110805+ var _p0 unsafe.Pointer
110806+ if len(buf) > 0 {
110807+ _p0 = unsafe.Pointer(&buf[0])
110808+ } else {
110809+ _p0 = unsafe.Pointer(&_zero)
110810+ }
110811+ r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
110812+ n = int(r0)
110813 if e1 != 0 {
110814 err = errnoErr(e1)
110815 }
110816@@ -388,13 +379,15 @@ func ioctl(fd int, req uint, arg uintptr) (err error) {
110817
110818 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110819
110820-func Access(path string, mode uint32) (err error) {
110821- var _p0 *byte
110822- _p0, err = BytePtrFromString(path)
110823- if err != nil {
110824- return
110825+func Getcwd(buf []byte) (n int, err error) {
110826+ var _p0 unsafe.Pointer
110827+ if len(buf) > 0 {
110828+ _p0 = unsafe.Pointer(&buf[0])
110829+ } else {
110830+ _p0 = unsafe.Pointer(&_zero)
110831 }
110832- _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
110833+ r0, _, e1 := Syscall(SYS___GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
110834+ n = int(r0)
110835 if e1 != 0 {
110836 err = errnoErr(e1)
110837 }
110838@@ -403,8 +396,8 @@ func Access(path string, mode uint32) (err error) {
110839
110840 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110841
110842-func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
110843- _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
110844+func ioctl(fd int, req uint, arg uintptr) (err error) {
110845+ _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
110846 if e1 != 0 {
110847 err = errnoErr(e1)
110848 }
110849@@ -413,8 +406,14 @@ func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
110850
110851 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110852
110853-func CapEnter() (err error) {
110854- _, _, e1 := Syscall(SYS_CAP_ENTER, 0, 0, 0)
110855+func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
110856+ var _p0 unsafe.Pointer
110857+ if len(mib) > 0 {
110858+ _p0 = unsafe.Pointer(&mib[0])
110859+ } else {
110860+ _p0 = unsafe.Pointer(&_zero)
110861+ }
110862+ _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
110863 if e1 != 0 {
110864 err = errnoErr(e1)
110865 }
110866@@ -423,8 +422,13 @@ func CapEnter() (err error) {
110867
110868 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110869
110870-func capRightsGet(version int, fd int, rightsp *CapRights) (err error) {
110871- _, _, e1 := Syscall(SYS___CAP_RIGHTS_GET, uintptr(version), uintptr(fd), uintptr(unsafe.Pointer(rightsp)))
110872+func Access(path string, mode uint32) (err error) {
110873+ var _p0 *byte
110874+ _p0, err = BytePtrFromString(path)
110875+ if err != nil {
110876+ return
110877+ }
110878+ _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
110879 if e1 != 0 {
110880 err = errnoErr(e1)
110881 }
110882@@ -433,8 +437,8 @@ func capRightsGet(version int, fd int, rightsp *CapRights) (err error) {
110883
110884 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110885
110886-func capRightsLimit(fd int, rightsp *CapRights) (err error) {
110887- _, _, e1 := Syscall(SYS_CAP_RIGHTS_LIMIT, uintptr(fd), uintptr(unsafe.Pointer(rightsp)), 0)
110888+func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
110889+ _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
110890 if e1 != 0 {
110891 err = errnoErr(e1)
110892 }
110893@@ -549,6 +553,16 @@ func Dup2(from int, to int) (err error) {
110894
110895 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110896
110897+func Dup3(from int, to int, flags int) (err error) {
110898+ _, _, e1 := Syscall(SYS_DUP3, uintptr(from), uintptr(to), uintptr(flags))
110899+ if e1 != 0 {
110900+ err = errnoErr(e1)
110901+ }
110902+ return
110903+}
110904+
110905+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110906+
110907 func Exit(code int) {
110908 Syscall(SYS_EXIT, uintptr(code), 0, 0)
110909 return
110910@@ -770,8 +784,13 @@ func ExtattrListLink(link string, attrnamespace int, data uintptr, nbytes int) (
110911
110912 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110913
110914-func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
110915- _, _, e1 := Syscall6(SYS_POSIX_FADVISE, uintptr(fd), uintptr(offset), uintptr(length), uintptr(advice), 0, 0)
110916+func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
110917+ var _p0 *byte
110918+ _p0, err = BytePtrFromString(path)
110919+ if err != nil {
110920+ return
110921+ }
110922+ _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
110923 if e1 != 0 {
110924 err = errnoErr(e1)
110925 }
110926@@ -780,13 +799,8 @@ func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
110927
110928 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110929
110930-func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
110931- var _p0 *byte
110932- _p0, err = BytePtrFromString(path)
110933- if err != nil {
110934- return
110935- }
110936- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
110937+func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
110938+ _, _, e1 := Syscall6(SYS_POSIX_FADVISE, uintptr(fd), 0, uintptr(offset), 0, uintptr(length), uintptr(advice))
110939 if e1 != 0 {
110940 err = errnoErr(e1)
110941 }
110942@@ -896,8 +910,13 @@ func Fstat(fd int, stat *Stat_t) (err error) {
110943
110944 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110945
110946-func Fstatfs(fd int, stat *Statfs_t) (err error) {
110947- _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
110948+func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
110949+ var _p0 *byte
110950+ _p0, err = BytePtrFromString(path)
110951+ if err != nil {
110952+ return
110953+ }
110954+ _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
110955 if e1 != 0 {
110956 err = errnoErr(e1)
110957 }
110958@@ -906,8 +925,8 @@ func Fstatfs(fd int, stat *Statfs_t) (err error) {
110959
110960 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110961
110962-func Fsync(fd int) (err error) {
110963- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
110964+func Fstatvfs1(fd int, buf *Statvfs_t, flags int) (err error) {
110965+ _, _, e1 := Syscall(SYS_FSTATVFS1, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(flags))
110966 if e1 != 0 {
110967 err = errnoErr(e1)
110968 }
110969@@ -916,8 +935,8 @@ func Fsync(fd int) (err error) {
110970
110971 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110972
110973-func Ftruncate(fd int, length int64) (err error) {
110974- _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
110975+func Fsync(fd int) (err error) {
110976+ _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
110977 if e1 != 0 {
110978 err = errnoErr(e1)
110979 }
110980@@ -926,15 +945,8 @@ func Ftruncate(fd int, length int64) (err error) {
110981
110982 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
110983
110984-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
110985- var _p0 unsafe.Pointer
110986- if len(buf) > 0 {
110987- _p0 = unsafe.Pointer(&buf[0])
110988- } else {
110989- _p0 = unsafe.Pointer(&_zero)
110990- }
110991- r0, _, e1 := Syscall6(SYS_GETDIRENTRIES, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
110992- n = int(r0)
110993+func Ftruncate(fd int, length int64) (err error) {
110994+ _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length))
110995 if e1 != 0 {
110996 err = errnoErr(e1)
110997 }
110998@@ -943,14 +955,6 @@ func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
110999
111000 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111001
111002-func Getdtablesize() (size int) {
111003- r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
111004- size = int(r0)
111005- return
111006-}
111007-
111008-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111009-
111010 func Getegid() (egid int) {
111011 r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
111012 egid = int(r0)
111013@@ -1224,6 +1228,21 @@ func Mkfifo(path string, mode uint32) (err error) {
111014
111015 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111016
111017+func Mkfifoat(dirfd int, path string, mode uint32) (err error) {
111018+ var _p0 *byte
111019+ _p0, err = BytePtrFromString(path)
111020+ if err != nil {
111021+ return
111022+ }
111023+ _, _, e1 := Syscall(SYS_MKFIFOAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
111024+ if e1 != 0 {
111025+ err = errnoErr(e1)
111026+ }
111027+ return
111028+}
111029+
111030+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111031+
111032 func Mknod(path string, mode uint32, dev int) (err error) {
111033 var _p0 *byte
111034 _p0, err = BytePtrFromString(path)
111035@@ -1239,6 +1258,21 @@ func Mknod(path string, mode uint32, dev int) (err error) {
111036
111037 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111038
111039+func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
111040+ var _p0 *byte
111041+ _p0, err = BytePtrFromString(path)
111042+ if err != nil {
111043+ return
111044+ }
111045+ _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
111046+ if e1 != 0 {
111047+ err = errnoErr(e1)
111048+ }
111049+ return
111050+}
111051+
111052+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111053+
111054 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
111055 _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
111056 if e1 != 0 {
111057@@ -1265,13 +1299,13 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
111058
111059 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111060
111061-func Openat(fdat int, path string, mode int, perm uint32) (fd int, err error) {
111062+func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
111063 var _p0 *byte
111064 _p0, err = BytePtrFromString(path)
111065 if err != nil {
111066 return
111067 }
111068- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(fdat), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
111069+ r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
111070 fd = int(r0)
111071 if e1 != 0 {
111072 err = errnoErr(e1)
111073@@ -1304,7 +1338,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
111074 } else {
111075 _p0 = unsafe.Pointer(&_zero)
111076 }
111077- r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
111078+ r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), 0)
111079 n = int(r0)
111080 if e1 != 0 {
111081 err = errnoErr(e1)
111082@@ -1321,7 +1355,7 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
111083 } else {
111084 _p0 = unsafe.Pointer(&_zero)
111085 }
111086- r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
111087+ r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), 0)
111088 n = int(r0)
111089 if e1 != 0 {
111090 err = errnoErr(e1)
111091@@ -1463,7 +1497,7 @@ func Rmdir(path string) (err error) {
111092 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111093
111094 func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
111095- r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
111096+ r0, _, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(whence), 0, 0)
111097 newoffset = int64(r0)
111098 if e1 != 0 {
111099 err = errnoErr(e1)
111100@@ -1473,8 +1507,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
111101
111102 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111103
111104-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
111105- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
111106+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
111107+ r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
111108+ n = int(r0)
111109 if e1 != 0 {
111110 err = errnoErr(e1)
111111 }
111112@@ -1513,21 +1548,6 @@ func Setgid(gid int) (err error) {
111113
111114 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111115
111116-func Setlogin(name string) (err error) {
111117- var _p0 *byte
111118- _p0, err = BytePtrFromString(name)
111119- if err != nil {
111120- return
111121- }
111122- _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
111123- if e1 != 0 {
111124- err = errnoErr(e1)
111125- }
111126- return
111127-}
111128-
111129-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111130-
111131 func Setpgid(pid int, pgid int) (err error) {
111132 _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
111133 if e1 != 0 {
111134@@ -1568,26 +1588,6 @@ func Setreuid(ruid int, euid int) (err error) {
111135
111136 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111137
111138-func Setresgid(rgid int, egid int, sgid int) (err error) {
111139- _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
111140- if e1 != 0 {
111141- err = errnoErr(e1)
111142- }
111143- return
111144-}
111145-
111146-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111147-
111148-func Setresuid(ruid int, euid int, suid int) (err error) {
111149- _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
111150- if e1 != 0 {
111151- err = errnoErr(e1)
111152- }
111153- return
111154-}
111155-
111156-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111157-
111158 func Setrlimit(which int, lim *Rlimit) (err error) {
111159 _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
111160 if e1 != 0 {
111161@@ -1644,13 +1644,13 @@ func Stat(path string, stat *Stat_t) (err error) {
111162
111163 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111164
111165-func Statfs(path string, stat *Statfs_t) (err error) {
111166+func Statvfs1(path string, buf *Statvfs_t, flags int) (err error) {
111167 var _p0 *byte
111168 _p0, err = BytePtrFromString(path)
111169 if err != nil {
111170 return
111171 }
111172- _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
111173+ _, _, e1 := Syscall(SYS_STATVFS1, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), uintptr(flags))
111174 if e1 != 0 {
111175 err = errnoErr(e1)
111176 }
111177@@ -1715,7 +1715,7 @@ func Truncate(path string, length int64) (err error) {
111178 if err != nil {
111179 return
111180 }
111181- _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
111182+ _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length))
111183 if e1 != 0 {
111184 err = errnoErr(e1)
111185 }
111186@@ -1732,21 +1732,6 @@ func Umask(newmask int) (oldmask int) {
111187
111188 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111189
111190-func Undelete(path string) (err error) {
111191- var _p0 *byte
111192- _p0, err = BytePtrFromString(path)
111193- if err != nil {
111194- return
111195- }
111196- _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
111197- if e1 != 0 {
111198- err = errnoErr(e1)
111199- }
111200- return
111201-}
111202-
111203-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111204-
111205 func Unlink(path string) (err error) {
111206 var _p0 *byte
111207 _p0, err = BytePtrFromString(path)
111208@@ -1810,7 +1795,7 @@ func write(fd int, p []byte) (n int, err error) {
111209 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111210
111211 func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
111212- r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos))
111213+ r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), 0, 0)
111214 ret = uintptr(r0)
111215 if e1 != 0 {
111216 err = errnoErr(e1)
111217@@ -1852,17 +1837,6 @@ func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
111218
111219 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111220
111221-func accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error) {
111222- r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
111223- nfd = int(r0)
111224- if e1 != 0 {
111225- err = errnoErr(e1)
111226- }
111227- return
111228-}
111229-
111230-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111231-
111232 func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
111233 var _p0 *byte
111234 _p0, err = BytePtrFromString(path)
111235diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go
111236index 7baea87c..b44b31ae 100644
111237--- a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go
111238+++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go
111239@@ -1,4 +1,4 @@
111240-// mksyscall.pl -l32 -openbsd -tags openbsd,386 syscall_bsd.go syscall_openbsd.go syscall_openbsd_386.go
111241+// go run mksyscall.go -l32 -openbsd -tags openbsd,386 syscall_bsd.go syscall_openbsd.go syscall_openbsd_386.go
111242 // Code generated by the command above; see README.md. DO NOT EDIT.
111243
111244 // +build openbsd,386
111245@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
111246
111247 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111248
111249-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
111250- var _p0 unsafe.Pointer
111251- if len(mib) > 0 {
111252- _p0 = unsafe.Pointer(&mib[0])
111253- } else {
111254- _p0 = unsafe.Pointer(&_zero)
111255- }
111256- _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
111257- if e1 != 0 {
111258- err = errnoErr(e1)
111259- }
111260- return
111261-}
111262-
111263-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111264-
111265 func utimes(path string, timeval *[2]Timeval) (err error) {
111266 var _p0 *byte
111267 _p0, err = BytePtrFromString(path)
111268@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
111269
111270 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111271
111272-func fcntl(fd int, cmd int, arg int) (val int, err error) {
111273- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
111274- val = int(r0)
111275+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
111276+ r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
111277+ n = int(r0)
111278 if e1 != 0 {
111279 err = errnoErr(e1)
111280 }
111281@@ -366,8 +350,8 @@ func Munlockall() (err error) {
111282
111283 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111284
111285-func pipe(p *[2]_C_int) (err error) {
111286- _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
111287+func pipe2(p *[2]_C_int, flags int) (err error) {
111288+ _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
111289 if e1 != 0 {
111290 err = errnoErr(e1)
111291 }
111292@@ -376,7 +360,7 @@ func pipe(p *[2]_C_int) (err error) {
111293
111294 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111295
111296-func getdents(fd int, buf []byte) (n int, err error) {
111297+func Getdents(fd int, buf []byte) (n int, err error) {
111298 var _p0 unsafe.Pointer
111299 if len(buf) > 0 {
111300 _p0 = unsafe.Pointer(&buf[0])
111301@@ -393,6 +377,60 @@ func getdents(fd int, buf []byte) (n int, err error) {
111302
111303 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111304
111305+func Getcwd(buf []byte) (n int, err error) {
111306+ var _p0 unsafe.Pointer
111307+ if len(buf) > 0 {
111308+ _p0 = unsafe.Pointer(&buf[0])
111309+ } else {
111310+ _p0 = unsafe.Pointer(&_zero)
111311+ }
111312+ r0, _, e1 := Syscall(SYS___GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
111313+ n = int(r0)
111314+ if e1 != 0 {
111315+ err = errnoErr(e1)
111316+ }
111317+ return
111318+}
111319+
111320+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111321+
111322+func ioctl(fd int, req uint, arg uintptr) (err error) {
111323+ _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
111324+ if e1 != 0 {
111325+ err = errnoErr(e1)
111326+ }
111327+ return
111328+}
111329+
111330+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111331+
111332+func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
111333+ var _p0 unsafe.Pointer
111334+ if len(mib) > 0 {
111335+ _p0 = unsafe.Pointer(&mib[0])
111336+ } else {
111337+ _p0 = unsafe.Pointer(&_zero)
111338+ }
111339+ _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
111340+ if e1 != 0 {
111341+ err = errnoErr(e1)
111342+ }
111343+ return
111344+}
111345+
111346+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111347+
111348+func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
111349+ r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
111350+ n = int(r0)
111351+ if e1 != 0 {
111352+ err = errnoErr(e1)
111353+ }
111354+ return
111355+}
111356+
111357+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111358+
111359 func Access(path string, mode uint32) (err error) {
111360 var _p0 *byte
111361 _p0, err = BytePtrFromString(path)
111362@@ -524,6 +562,16 @@ func Dup2(from int, to int) (err error) {
111363
111364 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111365
111366+func Dup3(from int, to int, flags int) (err error) {
111367+ _, _, e1 := Syscall(SYS_DUP3, uintptr(from), uintptr(to), uintptr(flags))
111368+ if e1 != 0 {
111369+ err = errnoErr(e1)
111370+ }
111371+ return
111372+}
111373+
111374+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111375+
111376 func Exit(code int) {
111377 Syscall(SYS_EXIT, uintptr(code), 0, 0)
111378 return
111379@@ -531,6 +579,21 @@ func Exit(code int) {
111380
111381 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111382
111383+func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
111384+ var _p0 *byte
111385+ _p0, err = BytePtrFromString(path)
111386+ if err != nil {
111387+ return
111388+ }
111389+ _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
111390+ if e1 != 0 {
111391+ err = errnoErr(e1)
111392+ }
111393+ return
111394+}
111395+
111396+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111397+
111398 func Fchdir(fd int) (err error) {
111399 _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
111400 if e1 != 0 {
111401@@ -561,6 +624,21 @@ func Fchmod(fd int, mode uint32) (err error) {
111402
111403 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111404
111405+func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
111406+ var _p0 *byte
111407+ _p0, err = BytePtrFromString(path)
111408+ if err != nil {
111409+ return
111410+ }
111411+ _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
111412+ if e1 != 0 {
111413+ err = errnoErr(e1)
111414+ }
111415+ return
111416+}
111417+
111418+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111419+
111420 func Fchown(fd int, uid int, gid int) (err error) {
111421 _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
111422 if e1 != 0 {
111423@@ -571,6 +649,21 @@ func Fchown(fd int, uid int, gid int) (err error) {
111424
111425 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111426
111427+func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
111428+ var _p0 *byte
111429+ _p0, err = BytePtrFromString(path)
111430+ if err != nil {
111431+ return
111432+ }
111433+ _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
111434+ if e1 != 0 {
111435+ err = errnoErr(e1)
111436+ }
111437+ return
111438+}
111439+
111440+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111441+
111442 func Flock(fd int, how int) (err error) {
111443 _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
111444 if e1 != 0 {
111445@@ -602,6 +695,21 @@ func Fstat(fd int, stat *Stat_t) (err error) {
111446
111447 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111448
111449+func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
111450+ var _p0 *byte
111451+ _p0, err = BytePtrFromString(path)
111452+ if err != nil {
111453+ return
111454+ }
111455+ _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
111456+ if e1 != 0 {
111457+ err = errnoErr(e1)
111458+ }
111459+ return
111460+}
111461+
111462+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111463+
111464 func Fstatfs(fd int, stat *Statfs_t) (err error) {
111465 _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
111466 if e1 != 0 {
111467@@ -712,6 +820,17 @@ func Getrlimit(which int, lim *Rlimit) (err error) {
111468
111469 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111470
111471+func Getrtable() (rtable int, err error) {
111472+ r0, _, e1 := RawSyscall(SYS_GETRTABLE, 0, 0, 0)
111473+ rtable = int(r0)
111474+ if e1 != 0 {
111475+ err = errnoErr(e1)
111476+ }
111477+ return
111478+}
111479+
111480+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111481+
111482 func Getrusage(who int, rusage *Rusage) (err error) {
111483 _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
111484 if e1 != 0 {
111485@@ -815,6 +934,26 @@ func Link(path string, link string) (err error) {
111486
111487 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111488
111489+func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error) {
111490+ var _p0 *byte
111491+ _p0, err = BytePtrFromString(path)
111492+ if err != nil {
111493+ return
111494+ }
111495+ var _p1 *byte
111496+ _p1, err = BytePtrFromString(link)
111497+ if err != nil {
111498+ return
111499+ }
111500+ _, _, e1 := Syscall6(SYS_LINKAT, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
111501+ if e1 != 0 {
111502+ err = errnoErr(e1)
111503+ }
111504+ return
111505+}
111506+
111507+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111508+
111509 func Listen(s int, backlog int) (err error) {
111510 _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
111511 if e1 != 0 {
111512@@ -855,6 +994,21 @@ func Mkdir(path string, mode uint32) (err error) {
111513
111514 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111515
111516+func Mkdirat(dirfd int, path string, mode uint32) (err error) {
111517+ var _p0 *byte
111518+ _p0, err = BytePtrFromString(path)
111519+ if err != nil {
111520+ return
111521+ }
111522+ _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
111523+ if e1 != 0 {
111524+ err = errnoErr(e1)
111525+ }
111526+ return
111527+}
111528+
111529+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111530+
111531 func Mkfifo(path string, mode uint32) (err error) {
111532 var _p0 *byte
111533 _p0, err = BytePtrFromString(path)
111534@@ -870,6 +1024,21 @@ func Mkfifo(path string, mode uint32) (err error) {
111535
111536 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111537
111538+func Mkfifoat(dirfd int, path string, mode uint32) (err error) {
111539+ var _p0 *byte
111540+ _p0, err = BytePtrFromString(path)
111541+ if err != nil {
111542+ return
111543+ }
111544+ _, _, e1 := Syscall(SYS_MKFIFOAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
111545+ if e1 != 0 {
111546+ err = errnoErr(e1)
111547+ }
111548+ return
111549+}
111550+
111551+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111552+
111553 func Mknod(path string, mode uint32, dev int) (err error) {
111554 var _p0 *byte
111555 _p0, err = BytePtrFromString(path)
111556@@ -885,6 +1054,21 @@ func Mknod(path string, mode uint32, dev int) (err error) {
111557
111558 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111559
111560+func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
111561+ var _p0 *byte
111562+ _p0, err = BytePtrFromString(path)
111563+ if err != nil {
111564+ return
111565+ }
111566+ _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
111567+ if e1 != 0 {
111568+ err = errnoErr(e1)
111569+ }
111570+ return
111571+}
111572+
111573+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111574+
111575 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
111576 _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
111577 if e1 != 0 {
111578@@ -911,6 +1095,22 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
111579
111580 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111581
111582+func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
111583+ var _p0 *byte
111584+ _p0, err = BytePtrFromString(path)
111585+ if err != nil {
111586+ return
111587+ }
111588+ r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
111589+ fd = int(r0)
111590+ if e1 != 0 {
111591+ err = errnoErr(e1)
111592+ }
111593+ return
111594+}
111595+
111596+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111597+
111598 func Pathconf(path string, name int) (val int, err error) {
111599 var _p0 *byte
111600 _p0, err = BytePtrFromString(path)
111601@@ -1000,6 +1200,28 @@ func Readlink(path string, buf []byte) (n int, err error) {
111602
111603 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111604
111605+func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
111606+ var _p0 *byte
111607+ _p0, err = BytePtrFromString(path)
111608+ if err != nil {
111609+ return
111610+ }
111611+ var _p1 unsafe.Pointer
111612+ if len(buf) > 0 {
111613+ _p1 = unsafe.Pointer(&buf[0])
111614+ } else {
111615+ _p1 = unsafe.Pointer(&_zero)
111616+ }
111617+ r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
111618+ n = int(r0)
111619+ if e1 != 0 {
111620+ err = errnoErr(e1)
111621+ }
111622+ return
111623+}
111624+
111625+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111626+
111627 func Rename(from string, to string) (err error) {
111628 var _p0 *byte
111629 _p0, err = BytePtrFromString(from)
111630@@ -1020,6 +1242,26 @@ func Rename(from string, to string) (err error) {
111631
111632 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111633
111634+func Renameat(fromfd int, from string, tofd int, to string) (err error) {
111635+ var _p0 *byte
111636+ _p0, err = BytePtrFromString(from)
111637+ if err != nil {
111638+ return
111639+ }
111640+ var _p1 *byte
111641+ _p1, err = BytePtrFromString(to)
111642+ if err != nil {
111643+ return
111644+ }
111645+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0)
111646+ if e1 != 0 {
111647+ err = errnoErr(e1)
111648+ }
111649+ return
111650+}
111651+
111652+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111653+
111654 func Revoke(path string) (err error) {
111655 var _p0 *byte
111656 _p0, err = BytePtrFromString(path)
111657@@ -1061,8 +1303,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
111658
111659 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111660
111661-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
111662- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
111663+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
111664+ r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
111665+ n = int(r0)
111666 if e1 != 0 {
111667 err = errnoErr(e1)
111668 }
111669@@ -1186,6 +1429,16 @@ func Setrlimit(which int, lim *Rlimit) (err error) {
111670
111671 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111672
111673+func Setrtable(rtable int) (err error) {
111674+ _, _, e1 := RawSyscall(SYS_SETRTABLE, uintptr(rtable), 0, 0)
111675+ if e1 != 0 {
111676+ err = errnoErr(e1)
111677+ }
111678+ return
111679+}
111680+
111681+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111682+
111683 func Setsid() (pid int, err error) {
111684 r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
111685 pid = int(r0)
111686@@ -1267,6 +1520,26 @@ func Symlink(path string, link string) (err error) {
111687
111688 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111689
111690+func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
111691+ var _p0 *byte
111692+ _p0, err = BytePtrFromString(oldpath)
111693+ if err != nil {
111694+ return
111695+ }
111696+ var _p1 *byte
111697+ _p1, err = BytePtrFromString(newpath)
111698+ if err != nil {
111699+ return
111700+ }
111701+ _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
111702+ if e1 != 0 {
111703+ err = errnoErr(e1)
111704+ }
111705+ return
111706+}
111707+
111708+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111709+
111710 func Sync() (err error) {
111711 _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
111712 if e1 != 0 {
111713@@ -1315,6 +1588,21 @@ func Unlink(path string) (err error) {
111714
111715 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111716
111717+func Unlinkat(dirfd int, path string, flags int) (err error) {
111718+ var _p0 *byte
111719+ _p0, err = BytePtrFromString(path)
111720+ if err != nil {
111721+ return
111722+ }
111723+ _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
111724+ if e1 != 0 {
111725+ err = errnoErr(e1)
111726+ }
111727+ return
111728+}
111729+
111730+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111731+
111732 func Unmount(path string, flags int) (err error) {
111733 var _p0 *byte
111734 _p0, err = BytePtrFromString(path)
111735diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go
111736index 0d69ce6b..67f93ee7 100644
111737--- a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go
111738+++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go
111739@@ -1,4 +1,4 @@
111740-// mksyscall.pl -openbsd -tags openbsd,amd64 syscall_bsd.go syscall_openbsd.go syscall_openbsd_amd64.go
111741+// go run mksyscall.go -openbsd -tags openbsd,amd64 syscall_bsd.go syscall_openbsd.go syscall_openbsd_amd64.go
111742 // Code generated by the command above; see README.md. DO NOT EDIT.
111743
111744 // +build openbsd,amd64
111745@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
111746
111747 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111748
111749-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
111750- var _p0 unsafe.Pointer
111751- if len(mib) > 0 {
111752- _p0 = unsafe.Pointer(&mib[0])
111753- } else {
111754- _p0 = unsafe.Pointer(&_zero)
111755- }
111756- _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
111757- if e1 != 0 {
111758- err = errnoErr(e1)
111759- }
111760- return
111761-}
111762-
111763-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111764-
111765 func utimes(path string, timeval *[2]Timeval) (err error) {
111766 var _p0 *byte
111767 _p0, err = BytePtrFromString(path)
111768@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
111769
111770 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111771
111772-func fcntl(fd int, cmd int, arg int) (val int, err error) {
111773- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
111774- val = int(r0)
111775+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
111776+ r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
111777+ n = int(r0)
111778 if e1 != 0 {
111779 err = errnoErr(e1)
111780 }
111781@@ -366,8 +350,8 @@ func Munlockall() (err error) {
111782
111783 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111784
111785-func pipe(p *[2]_C_int) (err error) {
111786- _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
111787+func pipe2(p *[2]_C_int, flags int) (err error) {
111788+ _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
111789 if e1 != 0 {
111790 err = errnoErr(e1)
111791 }
111792@@ -376,7 +360,7 @@ func pipe(p *[2]_C_int) (err error) {
111793
111794 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111795
111796-func getdents(fd int, buf []byte) (n int, err error) {
111797+func Getdents(fd int, buf []byte) (n int, err error) {
111798 var _p0 unsafe.Pointer
111799 if len(buf) > 0 {
111800 _p0 = unsafe.Pointer(&buf[0])
111801@@ -393,6 +377,60 @@ func getdents(fd int, buf []byte) (n int, err error) {
111802
111803 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111804
111805+func Getcwd(buf []byte) (n int, err error) {
111806+ var _p0 unsafe.Pointer
111807+ if len(buf) > 0 {
111808+ _p0 = unsafe.Pointer(&buf[0])
111809+ } else {
111810+ _p0 = unsafe.Pointer(&_zero)
111811+ }
111812+ r0, _, e1 := Syscall(SYS___GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
111813+ n = int(r0)
111814+ if e1 != 0 {
111815+ err = errnoErr(e1)
111816+ }
111817+ return
111818+}
111819+
111820+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111821+
111822+func ioctl(fd int, req uint, arg uintptr) (err error) {
111823+ _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
111824+ if e1 != 0 {
111825+ err = errnoErr(e1)
111826+ }
111827+ return
111828+}
111829+
111830+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111831+
111832+func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
111833+ var _p0 unsafe.Pointer
111834+ if len(mib) > 0 {
111835+ _p0 = unsafe.Pointer(&mib[0])
111836+ } else {
111837+ _p0 = unsafe.Pointer(&_zero)
111838+ }
111839+ _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
111840+ if e1 != 0 {
111841+ err = errnoErr(e1)
111842+ }
111843+ return
111844+}
111845+
111846+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111847+
111848+func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
111849+ r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
111850+ n = int(r0)
111851+ if e1 != 0 {
111852+ err = errnoErr(e1)
111853+ }
111854+ return
111855+}
111856+
111857+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111858+
111859 func Access(path string, mode uint32) (err error) {
111860 var _p0 *byte
111861 _p0, err = BytePtrFromString(path)
111862@@ -524,6 +562,16 @@ func Dup2(from int, to int) (err error) {
111863
111864 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111865
111866+func Dup3(from int, to int, flags int) (err error) {
111867+ _, _, e1 := Syscall(SYS_DUP3, uintptr(from), uintptr(to), uintptr(flags))
111868+ if e1 != 0 {
111869+ err = errnoErr(e1)
111870+ }
111871+ return
111872+}
111873+
111874+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111875+
111876 func Exit(code int) {
111877 Syscall(SYS_EXIT, uintptr(code), 0, 0)
111878 return
111879@@ -531,6 +579,21 @@ func Exit(code int) {
111880
111881 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111882
111883+func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
111884+ var _p0 *byte
111885+ _p0, err = BytePtrFromString(path)
111886+ if err != nil {
111887+ return
111888+ }
111889+ _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
111890+ if e1 != 0 {
111891+ err = errnoErr(e1)
111892+ }
111893+ return
111894+}
111895+
111896+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111897+
111898 func Fchdir(fd int) (err error) {
111899 _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
111900 if e1 != 0 {
111901@@ -561,6 +624,21 @@ func Fchmod(fd int, mode uint32) (err error) {
111902
111903 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111904
111905+func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
111906+ var _p0 *byte
111907+ _p0, err = BytePtrFromString(path)
111908+ if err != nil {
111909+ return
111910+ }
111911+ _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
111912+ if e1 != 0 {
111913+ err = errnoErr(e1)
111914+ }
111915+ return
111916+}
111917+
111918+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111919+
111920 func Fchown(fd int, uid int, gid int) (err error) {
111921 _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
111922 if e1 != 0 {
111923@@ -571,6 +649,21 @@ func Fchown(fd int, uid int, gid int) (err error) {
111924
111925 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111926
111927+func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
111928+ var _p0 *byte
111929+ _p0, err = BytePtrFromString(path)
111930+ if err != nil {
111931+ return
111932+ }
111933+ _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
111934+ if e1 != 0 {
111935+ err = errnoErr(e1)
111936+ }
111937+ return
111938+}
111939+
111940+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111941+
111942 func Flock(fd int, how int) (err error) {
111943 _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
111944 if e1 != 0 {
111945@@ -602,6 +695,21 @@ func Fstat(fd int, stat *Stat_t) (err error) {
111946
111947 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111948
111949+func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
111950+ var _p0 *byte
111951+ _p0, err = BytePtrFromString(path)
111952+ if err != nil {
111953+ return
111954+ }
111955+ _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
111956+ if e1 != 0 {
111957+ err = errnoErr(e1)
111958+ }
111959+ return
111960+}
111961+
111962+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111963+
111964 func Fstatfs(fd int, stat *Statfs_t) (err error) {
111965 _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
111966 if e1 != 0 {
111967@@ -712,6 +820,17 @@ func Getrlimit(which int, lim *Rlimit) (err error) {
111968
111969 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111970
111971+func Getrtable() (rtable int, err error) {
111972+ r0, _, e1 := RawSyscall(SYS_GETRTABLE, 0, 0, 0)
111973+ rtable = int(r0)
111974+ if e1 != 0 {
111975+ err = errnoErr(e1)
111976+ }
111977+ return
111978+}
111979+
111980+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111981+
111982 func Getrusage(who int, rusage *Rusage) (err error) {
111983 _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
111984 if e1 != 0 {
111985@@ -815,6 +934,26 @@ func Link(path string, link string) (err error) {
111986
111987 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
111988
111989+func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error) {
111990+ var _p0 *byte
111991+ _p0, err = BytePtrFromString(path)
111992+ if err != nil {
111993+ return
111994+ }
111995+ var _p1 *byte
111996+ _p1, err = BytePtrFromString(link)
111997+ if err != nil {
111998+ return
111999+ }
112000+ _, _, e1 := Syscall6(SYS_LINKAT, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
112001+ if e1 != 0 {
112002+ err = errnoErr(e1)
112003+ }
112004+ return
112005+}
112006+
112007+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112008+
112009 func Listen(s int, backlog int) (err error) {
112010 _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
112011 if e1 != 0 {
112012@@ -855,6 +994,21 @@ func Mkdir(path string, mode uint32) (err error) {
112013
112014 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112015
112016+func Mkdirat(dirfd int, path string, mode uint32) (err error) {
112017+ var _p0 *byte
112018+ _p0, err = BytePtrFromString(path)
112019+ if err != nil {
112020+ return
112021+ }
112022+ _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
112023+ if e1 != 0 {
112024+ err = errnoErr(e1)
112025+ }
112026+ return
112027+}
112028+
112029+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112030+
112031 func Mkfifo(path string, mode uint32) (err error) {
112032 var _p0 *byte
112033 _p0, err = BytePtrFromString(path)
112034@@ -870,6 +1024,21 @@ func Mkfifo(path string, mode uint32) (err error) {
112035
112036 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112037
112038+func Mkfifoat(dirfd int, path string, mode uint32) (err error) {
112039+ var _p0 *byte
112040+ _p0, err = BytePtrFromString(path)
112041+ if err != nil {
112042+ return
112043+ }
112044+ _, _, e1 := Syscall(SYS_MKFIFOAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
112045+ if e1 != 0 {
112046+ err = errnoErr(e1)
112047+ }
112048+ return
112049+}
112050+
112051+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112052+
112053 func Mknod(path string, mode uint32, dev int) (err error) {
112054 var _p0 *byte
112055 _p0, err = BytePtrFromString(path)
112056@@ -885,6 +1054,21 @@ func Mknod(path string, mode uint32, dev int) (err error) {
112057
112058 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112059
112060+func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
112061+ var _p0 *byte
112062+ _p0, err = BytePtrFromString(path)
112063+ if err != nil {
112064+ return
112065+ }
112066+ _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
112067+ if e1 != 0 {
112068+ err = errnoErr(e1)
112069+ }
112070+ return
112071+}
112072+
112073+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112074+
112075 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
112076 _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
112077 if e1 != 0 {
112078@@ -911,6 +1095,22 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
112079
112080 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112081
112082+func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
112083+ var _p0 *byte
112084+ _p0, err = BytePtrFromString(path)
112085+ if err != nil {
112086+ return
112087+ }
112088+ r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
112089+ fd = int(r0)
112090+ if e1 != 0 {
112091+ err = errnoErr(e1)
112092+ }
112093+ return
112094+}
112095+
112096+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112097+
112098 func Pathconf(path string, name int) (val int, err error) {
112099 var _p0 *byte
112100 _p0, err = BytePtrFromString(path)
112101@@ -1000,6 +1200,28 @@ func Readlink(path string, buf []byte) (n int, err error) {
112102
112103 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112104
112105+func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
112106+ var _p0 *byte
112107+ _p0, err = BytePtrFromString(path)
112108+ if err != nil {
112109+ return
112110+ }
112111+ var _p1 unsafe.Pointer
112112+ if len(buf) > 0 {
112113+ _p1 = unsafe.Pointer(&buf[0])
112114+ } else {
112115+ _p1 = unsafe.Pointer(&_zero)
112116+ }
112117+ r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
112118+ n = int(r0)
112119+ if e1 != 0 {
112120+ err = errnoErr(e1)
112121+ }
112122+ return
112123+}
112124+
112125+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112126+
112127 func Rename(from string, to string) (err error) {
112128 var _p0 *byte
112129 _p0, err = BytePtrFromString(from)
112130@@ -1020,6 +1242,26 @@ func Rename(from string, to string) (err error) {
112131
112132 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112133
112134+func Renameat(fromfd int, from string, tofd int, to string) (err error) {
112135+ var _p0 *byte
112136+ _p0, err = BytePtrFromString(from)
112137+ if err != nil {
112138+ return
112139+ }
112140+ var _p1 *byte
112141+ _p1, err = BytePtrFromString(to)
112142+ if err != nil {
112143+ return
112144+ }
112145+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0)
112146+ if e1 != 0 {
112147+ err = errnoErr(e1)
112148+ }
112149+ return
112150+}
112151+
112152+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112153+
112154 func Revoke(path string) (err error) {
112155 var _p0 *byte
112156 _p0, err = BytePtrFromString(path)
112157@@ -1061,8 +1303,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
112158
112159 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112160
112161-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
112162- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
112163+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
112164+ r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
112165+ n = int(r0)
112166 if e1 != 0 {
112167 err = errnoErr(e1)
112168 }
112169@@ -1186,6 +1429,16 @@ func Setrlimit(which int, lim *Rlimit) (err error) {
112170
112171 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112172
112173+func Setrtable(rtable int) (err error) {
112174+ _, _, e1 := RawSyscall(SYS_SETRTABLE, uintptr(rtable), 0, 0)
112175+ if e1 != 0 {
112176+ err = errnoErr(e1)
112177+ }
112178+ return
112179+}
112180+
112181+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112182+
112183 func Setsid() (pid int, err error) {
112184 r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
112185 pid = int(r0)
112186@@ -1267,6 +1520,26 @@ func Symlink(path string, link string) (err error) {
112187
112188 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112189
112190+func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
112191+ var _p0 *byte
112192+ _p0, err = BytePtrFromString(oldpath)
112193+ if err != nil {
112194+ return
112195+ }
112196+ var _p1 *byte
112197+ _p1, err = BytePtrFromString(newpath)
112198+ if err != nil {
112199+ return
112200+ }
112201+ _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
112202+ if e1 != 0 {
112203+ err = errnoErr(e1)
112204+ }
112205+ return
112206+}
112207+
112208+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112209+
112210 func Sync() (err error) {
112211 _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
112212 if e1 != 0 {
112213@@ -1315,6 +1588,21 @@ func Unlink(path string) (err error) {
112214
112215 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112216
112217+func Unlinkat(dirfd int, path string, flags int) (err error) {
112218+ var _p0 *byte
112219+ _p0, err = BytePtrFromString(path)
112220+ if err != nil {
112221+ return
112222+ }
112223+ _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
112224+ if e1 != 0 {
112225+ err = errnoErr(e1)
112226+ }
112227+ return
112228+}
112229+
112230+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112231+
112232 func Unmount(path string, flags int) (err error) {
112233 var _p0 *byte
112234 _p0, err = BytePtrFromString(path)
112235diff --git a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go
112236index 41572c26..d7c878b1 100644
112237--- a/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go
112238+++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go
112239@@ -1,4 +1,4 @@
112240-// mksyscall.pl -l32 -openbsd -arm -tags openbsd,arm syscall_bsd.go syscall_openbsd.go syscall_openbsd_arm.go
112241+// go run mksyscall.go -l32 -openbsd -arm -tags openbsd,arm syscall_bsd.go syscall_openbsd.go syscall_openbsd_arm.go
112242 // Code generated by the command above; see README.md. DO NOT EDIT.
112243
112244 // +build openbsd,arm
112245@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
112246
112247 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112248
112249-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
112250- var _p0 unsafe.Pointer
112251- if len(mib) > 0 {
112252- _p0 = unsafe.Pointer(&mib[0])
112253- } else {
112254- _p0 = unsafe.Pointer(&_zero)
112255- }
112256- _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
112257- if e1 != 0 {
112258- err = errnoErr(e1)
112259- }
112260- return
112261-}
112262-
112263-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112264-
112265 func utimes(path string, timeval *[2]Timeval) (err error) {
112266 var _p0 *byte
112267 _p0, err = BytePtrFromString(path)
112268@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
112269
112270 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112271
112272-func fcntl(fd int, cmd int, arg int) (val int, err error) {
112273- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
112274- val = int(r0)
112275+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
112276+ r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
112277+ n = int(r0)
112278 if e1 != 0 {
112279 err = errnoErr(e1)
112280 }
112281@@ -366,8 +350,8 @@ func Munlockall() (err error) {
112282
112283 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112284
112285-func pipe(p *[2]_C_int) (err error) {
112286- _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
112287+func pipe2(p *[2]_C_int, flags int) (err error) {
112288+ _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
112289 if e1 != 0 {
112290 err = errnoErr(e1)
112291 }
112292@@ -376,7 +360,7 @@ func pipe(p *[2]_C_int) (err error) {
112293
112294 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112295
112296-func getdents(fd int, buf []byte) (n int, err error) {
112297+func Getdents(fd int, buf []byte) (n int, err error) {
112298 var _p0 unsafe.Pointer
112299 if len(buf) > 0 {
112300 _p0 = unsafe.Pointer(&buf[0])
112301@@ -393,6 +377,60 @@ func getdents(fd int, buf []byte) (n int, err error) {
112302
112303 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112304
112305+func Getcwd(buf []byte) (n int, err error) {
112306+ var _p0 unsafe.Pointer
112307+ if len(buf) > 0 {
112308+ _p0 = unsafe.Pointer(&buf[0])
112309+ } else {
112310+ _p0 = unsafe.Pointer(&_zero)
112311+ }
112312+ r0, _, e1 := Syscall(SYS___GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
112313+ n = int(r0)
112314+ if e1 != 0 {
112315+ err = errnoErr(e1)
112316+ }
112317+ return
112318+}
112319+
112320+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112321+
112322+func ioctl(fd int, req uint, arg uintptr) (err error) {
112323+ _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
112324+ if e1 != 0 {
112325+ err = errnoErr(e1)
112326+ }
112327+ return
112328+}
112329+
112330+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112331+
112332+func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
112333+ var _p0 unsafe.Pointer
112334+ if len(mib) > 0 {
112335+ _p0 = unsafe.Pointer(&mib[0])
112336+ } else {
112337+ _p0 = unsafe.Pointer(&_zero)
112338+ }
112339+ _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
112340+ if e1 != 0 {
112341+ err = errnoErr(e1)
112342+ }
112343+ return
112344+}
112345+
112346+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112347+
112348+func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
112349+ r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
112350+ n = int(r0)
112351+ if e1 != 0 {
112352+ err = errnoErr(e1)
112353+ }
112354+ return
112355+}
112356+
112357+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112358+
112359 func Access(path string, mode uint32) (err error) {
112360 var _p0 *byte
112361 _p0, err = BytePtrFromString(path)
112362@@ -524,6 +562,16 @@ func Dup2(from int, to int) (err error) {
112363
112364 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112365
112366+func Dup3(from int, to int, flags int) (err error) {
112367+ _, _, e1 := Syscall(SYS_DUP3, uintptr(from), uintptr(to), uintptr(flags))
112368+ if e1 != 0 {
112369+ err = errnoErr(e1)
112370+ }
112371+ return
112372+}
112373+
112374+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112375+
112376 func Exit(code int) {
112377 Syscall(SYS_EXIT, uintptr(code), 0, 0)
112378 return
112379@@ -531,6 +579,21 @@ func Exit(code int) {
112380
112381 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112382
112383+func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
112384+ var _p0 *byte
112385+ _p0, err = BytePtrFromString(path)
112386+ if err != nil {
112387+ return
112388+ }
112389+ _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
112390+ if e1 != 0 {
112391+ err = errnoErr(e1)
112392+ }
112393+ return
112394+}
112395+
112396+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112397+
112398 func Fchdir(fd int) (err error) {
112399 _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
112400 if e1 != 0 {
112401@@ -561,6 +624,21 @@ func Fchmod(fd int, mode uint32) (err error) {
112402
112403 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112404
112405+func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
112406+ var _p0 *byte
112407+ _p0, err = BytePtrFromString(path)
112408+ if err != nil {
112409+ return
112410+ }
112411+ _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
112412+ if e1 != 0 {
112413+ err = errnoErr(e1)
112414+ }
112415+ return
112416+}
112417+
112418+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112419+
112420 func Fchown(fd int, uid int, gid int) (err error) {
112421 _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
112422 if e1 != 0 {
112423@@ -571,6 +649,21 @@ func Fchown(fd int, uid int, gid int) (err error) {
112424
112425 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112426
112427+func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
112428+ var _p0 *byte
112429+ _p0, err = BytePtrFromString(path)
112430+ if err != nil {
112431+ return
112432+ }
112433+ _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
112434+ if e1 != 0 {
112435+ err = errnoErr(e1)
112436+ }
112437+ return
112438+}
112439+
112440+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112441+
112442 func Flock(fd int, how int) (err error) {
112443 _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
112444 if e1 != 0 {
112445@@ -602,6 +695,21 @@ func Fstat(fd int, stat *Stat_t) (err error) {
112446
112447 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112448
112449+func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
112450+ var _p0 *byte
112451+ _p0, err = BytePtrFromString(path)
112452+ if err != nil {
112453+ return
112454+ }
112455+ _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
112456+ if e1 != 0 {
112457+ err = errnoErr(e1)
112458+ }
112459+ return
112460+}
112461+
112462+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112463+
112464 func Fstatfs(fd int, stat *Statfs_t) (err error) {
112465 _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
112466 if e1 != 0 {
112467@@ -712,6 +820,17 @@ func Getrlimit(which int, lim *Rlimit) (err error) {
112468
112469 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112470
112471+func Getrtable() (rtable int, err error) {
112472+ r0, _, e1 := RawSyscall(SYS_GETRTABLE, 0, 0, 0)
112473+ rtable = int(r0)
112474+ if e1 != 0 {
112475+ err = errnoErr(e1)
112476+ }
112477+ return
112478+}
112479+
112480+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112481+
112482 func Getrusage(who int, rusage *Rusage) (err error) {
112483 _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
112484 if e1 != 0 {
112485@@ -815,6 +934,26 @@ func Link(path string, link string) (err error) {
112486
112487 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112488
112489+func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error) {
112490+ var _p0 *byte
112491+ _p0, err = BytePtrFromString(path)
112492+ if err != nil {
112493+ return
112494+ }
112495+ var _p1 *byte
112496+ _p1, err = BytePtrFromString(link)
112497+ if err != nil {
112498+ return
112499+ }
112500+ _, _, e1 := Syscall6(SYS_LINKAT, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
112501+ if e1 != 0 {
112502+ err = errnoErr(e1)
112503+ }
112504+ return
112505+}
112506+
112507+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112508+
112509 func Listen(s int, backlog int) (err error) {
112510 _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0)
112511 if e1 != 0 {
112512@@ -855,6 +994,21 @@ func Mkdir(path string, mode uint32) (err error) {
112513
112514 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112515
112516+func Mkdirat(dirfd int, path string, mode uint32) (err error) {
112517+ var _p0 *byte
112518+ _p0, err = BytePtrFromString(path)
112519+ if err != nil {
112520+ return
112521+ }
112522+ _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
112523+ if e1 != 0 {
112524+ err = errnoErr(e1)
112525+ }
112526+ return
112527+}
112528+
112529+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112530+
112531 func Mkfifo(path string, mode uint32) (err error) {
112532 var _p0 *byte
112533 _p0, err = BytePtrFromString(path)
112534@@ -870,6 +1024,21 @@ func Mkfifo(path string, mode uint32) (err error) {
112535
112536 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112537
112538+func Mkfifoat(dirfd int, path string, mode uint32) (err error) {
112539+ var _p0 *byte
112540+ _p0, err = BytePtrFromString(path)
112541+ if err != nil {
112542+ return
112543+ }
112544+ _, _, e1 := Syscall(SYS_MKFIFOAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
112545+ if e1 != 0 {
112546+ err = errnoErr(e1)
112547+ }
112548+ return
112549+}
112550+
112551+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112552+
112553 func Mknod(path string, mode uint32, dev int) (err error) {
112554 var _p0 *byte
112555 _p0, err = BytePtrFromString(path)
112556@@ -885,6 +1054,21 @@ func Mknod(path string, mode uint32, dev int) (err error) {
112557
112558 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112559
112560+func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
112561+ var _p0 *byte
112562+ _p0, err = BytePtrFromString(path)
112563+ if err != nil {
112564+ return
112565+ }
112566+ _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
112567+ if e1 != 0 {
112568+ err = errnoErr(e1)
112569+ }
112570+ return
112571+}
112572+
112573+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112574+
112575 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
112576 _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
112577 if e1 != 0 {
112578@@ -911,6 +1095,22 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
112579
112580 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112581
112582+func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
112583+ var _p0 *byte
112584+ _p0, err = BytePtrFromString(path)
112585+ if err != nil {
112586+ return
112587+ }
112588+ r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
112589+ fd = int(r0)
112590+ if e1 != 0 {
112591+ err = errnoErr(e1)
112592+ }
112593+ return
112594+}
112595+
112596+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112597+
112598 func Pathconf(path string, name int) (val int, err error) {
112599 var _p0 *byte
112600 _p0, err = BytePtrFromString(path)
112601@@ -1000,6 +1200,28 @@ func Readlink(path string, buf []byte) (n int, err error) {
112602
112603 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112604
112605+func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
112606+ var _p0 *byte
112607+ _p0, err = BytePtrFromString(path)
112608+ if err != nil {
112609+ return
112610+ }
112611+ var _p1 unsafe.Pointer
112612+ if len(buf) > 0 {
112613+ _p1 = unsafe.Pointer(&buf[0])
112614+ } else {
112615+ _p1 = unsafe.Pointer(&_zero)
112616+ }
112617+ r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
112618+ n = int(r0)
112619+ if e1 != 0 {
112620+ err = errnoErr(e1)
112621+ }
112622+ return
112623+}
112624+
112625+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112626+
112627 func Rename(from string, to string) (err error) {
112628 var _p0 *byte
112629 _p0, err = BytePtrFromString(from)
112630@@ -1020,6 +1242,26 @@ func Rename(from string, to string) (err error) {
112631
112632 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112633
112634+func Renameat(fromfd int, from string, tofd int, to string) (err error) {
112635+ var _p0 *byte
112636+ _p0, err = BytePtrFromString(from)
112637+ if err != nil {
112638+ return
112639+ }
112640+ var _p1 *byte
112641+ _p1, err = BytePtrFromString(to)
112642+ if err != nil {
112643+ return
112644+ }
112645+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0)
112646+ if e1 != 0 {
112647+ err = errnoErr(e1)
112648+ }
112649+ return
112650+}
112651+
112652+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112653+
112654 func Revoke(path string) (err error) {
112655 var _p0 *byte
112656 _p0, err = BytePtrFromString(path)
112657@@ -1061,8 +1303,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
112658
112659 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112660
112661-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
112662- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
112663+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
112664+ r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
112665+ n = int(r0)
112666 if e1 != 0 {
112667 err = errnoErr(e1)
112668 }
112669@@ -1186,6 +1429,16 @@ func Setrlimit(which int, lim *Rlimit) (err error) {
112670
112671 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112672
112673+func Setrtable(rtable int) (err error) {
112674+ _, _, e1 := RawSyscall(SYS_SETRTABLE, uintptr(rtable), 0, 0)
112675+ if e1 != 0 {
112676+ err = errnoErr(e1)
112677+ }
112678+ return
112679+}
112680+
112681+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112682+
112683 func Setsid() (pid int, err error) {
112684 r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
112685 pid = int(r0)
112686@@ -1267,6 +1520,26 @@ func Symlink(path string, link string) (err error) {
112687
112688 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112689
112690+func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
112691+ var _p0 *byte
112692+ _p0, err = BytePtrFromString(oldpath)
112693+ if err != nil {
112694+ return
112695+ }
112696+ var _p1 *byte
112697+ _p1, err = BytePtrFromString(newpath)
112698+ if err != nil {
112699+ return
112700+ }
112701+ _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
112702+ if e1 != 0 {
112703+ err = errnoErr(e1)
112704+ }
112705+ return
112706+}
112707+
112708+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112709+
112710 func Sync() (err error) {
112711 _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
112712 if e1 != 0 {
112713@@ -1315,6 +1588,21 @@ func Unlink(path string) (err error) {
112714
112715 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112716
112717+func Unlinkat(dirfd int, path string, flags int) (err error) {
112718+ var _p0 *byte
112719+ _p0, err = BytePtrFromString(path)
112720+ if err != nil {
112721+ return
112722+ }
112723+ _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
112724+ if e1 != 0 {
112725+ err = errnoErr(e1)
112726+ }
112727+ return
112728+}
112729+
112730+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112731+
112732 func Unmount(path string, flags int) (err error) {
112733 var _p0 *byte
112734 _p0, err = BytePtrFromString(path)
112735diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go
112736similarity index 87%
112737copy from vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go
112738copy to vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go
112739index 10491e9e..8facd695 100644
112740--- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go
112741+++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go
112742@@ -1,7 +1,7 @@
112743-// mksyscall.pl -l32 -tags darwin,386 syscall_bsd.go syscall_darwin.go syscall_darwin_386.go
112744+// go run mksyscall.go -openbsd -tags openbsd,arm64 syscall_bsd.go syscall_openbsd.go syscall_openbsd_arm64.go
112745 // Code generated by the command above; see README.md. DO NOT EDIT.
112746
112747-// +build darwin,386
112748+// +build openbsd,arm64
112749
112750 package unix
112751
112752@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
112753
112754 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112755
112756-func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
112757- var _p0 unsafe.Pointer
112758- if len(mib) > 0 {
112759- _p0 = unsafe.Pointer(&mib[0])
112760- } else {
112761- _p0 = unsafe.Pointer(&_zero)
112762- }
112763- _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
112764- if e1 != 0 {
112765- err = errnoErr(e1)
112766- }
112767- return
112768-}
112769-
112770-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112771-
112772 func utimes(path string, timeval *[2]Timeval) (err error) {
112773 var _p0 *byte
112774 _p0, err = BytePtrFromString(path)
112775@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
112776
112777 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112778
112779-func fcntl(fd int, cmd int, arg int) (val int, err error) {
112780- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
112781- val = int(r0)
112782+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
112783+ r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
112784+ n = int(r0)
112785 if e1 != 0 {
112786 err = errnoErr(e1)
112787 }
112788@@ -366,8 +350,8 @@ func Munlockall() (err error) {
112789
112790 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112791
112792-func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
112793- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
112794+func pipe2(p *[2]_C_int, flags int) (err error) {
112795+ _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
112796 if e1 != 0 {
112797 err = errnoErr(e1)
112798 }
112799@@ -376,10 +360,15 @@ func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
112800
112801 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112802
112803-func pipe() (r int, w int, err error) {
112804- r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
112805- r = int(r0)
112806- w = int(r1)
112807+func Getdents(fd int, buf []byte) (n int, err error) {
112808+ var _p0 unsafe.Pointer
112809+ if len(buf) > 0 {
112810+ _p0 = unsafe.Pointer(&buf[0])
112811+ } else {
112812+ _p0 = unsafe.Pointer(&_zero)
112813+ }
112814+ r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
112815+ n = int(r0)
112816 if e1 != 0 {
112817 err = errnoErr(e1)
112818 }
112819@@ -388,8 +377,15 @@ func pipe() (r int, w int, err error) {
112820
112821 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112822
112823-func kill(pid int, signum int, posix int) (err error) {
112824- _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
112825+func Getcwd(buf []byte) (n int, err error) {
112826+ var _p0 unsafe.Pointer
112827+ if len(buf) > 0 {
112828+ _p0 = unsafe.Pointer(&buf[0])
112829+ } else {
112830+ _p0 = unsafe.Pointer(&_zero)
112831+ }
112832+ r0, _, e1 := Syscall(SYS___GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
112833+ n = int(r0)
112834 if e1 != 0 {
112835 err = errnoErr(e1)
112836 }
112837@@ -408,6 +404,33 @@ func ioctl(fd int, req uint, arg uintptr) (err error) {
112838
112839 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112840
112841+func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
112842+ var _p0 unsafe.Pointer
112843+ if len(mib) > 0 {
112844+ _p0 = unsafe.Pointer(&mib[0])
112845+ } else {
112846+ _p0 = unsafe.Pointer(&_zero)
112847+ }
112848+ _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
112849+ if e1 != 0 {
112850+ err = errnoErr(e1)
112851+ }
112852+ return
112853+}
112854+
112855+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112856+
112857+func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
112858+ r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0)
112859+ n = int(r0)
112860+ if e1 != 0 {
112861+ err = errnoErr(e1)
112862+ }
112863+ return
112864+}
112865+
112866+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112867+
112868 func Access(path string, mode uint32) (err error) {
112869 var _p0 *byte
112870 _p0, err = BytePtrFromString(path)
112871@@ -539,18 +562,8 @@ func Dup2(from int, to int) (err error) {
112872
112873 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112874
112875-func Exchangedata(path1 string, path2 string, options int) (err error) {
112876- var _p0 *byte
112877- _p0, err = BytePtrFromString(path1)
112878- if err != nil {
112879- return
112880- }
112881- var _p1 *byte
112882- _p1, err = BytePtrFromString(path2)
112883- if err != nil {
112884- return
112885- }
112886- _, _, e1 := Syscall(SYS_EXCHANGEDATA, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
112887+func Dup3(from int, to int, flags int) (err error) {
112888+ _, _, e1 := Syscall(SYS_DUP3, uintptr(from), uintptr(to), uintptr(flags))
112889 if e1 != 0 {
112890 err = errnoErr(e1)
112891 }
112892@@ -673,7 +686,7 @@ func Fpathconf(fd int, name int) (val int, err error) {
112893 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112894
112895 func Fstat(fd int, stat *Stat_t) (err error) {
112896- _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
112897+ _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
112898 if e1 != 0 {
112899 err = errnoErr(e1)
112900 }
112901@@ -682,8 +695,13 @@ func Fstat(fd int, stat *Stat_t) (err error) {
112902
112903 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112904
112905-func Fstatfs(fd int, stat *Statfs_t) (err error) {
112906- _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
112907+func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
112908+ var _p0 *byte
112909+ _p0, err = BytePtrFromString(path)
112910+ if err != nil {
112911+ return
112912+ }
112913+ _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
112914 if e1 != 0 {
112915 err = errnoErr(e1)
112916 }
112917@@ -692,8 +710,8 @@ func Fstatfs(fd int, stat *Statfs_t) (err error) {
112918
112919 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112920
112921-func Fsync(fd int) (err error) {
112922- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
112923+func Fstatfs(fd int, stat *Statfs_t) (err error) {
112924+ _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
112925 if e1 != 0 {
112926 err = errnoErr(e1)
112927 }
112928@@ -702,8 +720,8 @@ func Fsync(fd int) (err error) {
112929
112930 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112931
112932-func Ftruncate(fd int, length int64) (err error) {
112933- _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), uintptr(length>>32))
112934+func Fsync(fd int) (err error) {
112935+ _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
112936 if e1 != 0 {
112937 err = errnoErr(e1)
112938 }
112939@@ -712,15 +730,8 @@ func Ftruncate(fd int, length int64) (err error) {
112940
112941 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112942
112943-func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
112944- var _p0 unsafe.Pointer
112945- if len(buf) > 0 {
112946- _p0 = unsafe.Pointer(&buf[0])
112947- } else {
112948- _p0 = unsafe.Pointer(&_zero)
112949- }
112950- r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
112951- n = int(r0)
112952+func Ftruncate(fd int, length int64) (err error) {
112953+ _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length))
112954 if e1 != 0 {
112955 err = errnoErr(e1)
112956 }
112957@@ -729,14 +740,6 @@ func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
112958
112959 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112960
112961-func Getdtablesize() (size int) {
112962- r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
112963- size = int(r0)
112964- return
112965-}
112966-
112967-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112968-
112969 func Getegid() (egid int) {
112970 r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
112971 egid = int(r0)
112972@@ -817,6 +820,17 @@ func Getrlimit(which int, lim *Rlimit) (err error) {
112973
112974 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112975
112976+func Getrtable() (rtable int, err error) {
112977+ r0, _, e1 := RawSyscall(SYS_GETRTABLE, 0, 0, 0)
112978+ rtable = int(r0)
112979+ if e1 != 0 {
112980+ err = errnoErr(e1)
112981+ }
112982+ return
112983+}
112984+
112985+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112986+
112987 func Getrusage(who int, rusage *Rusage) (err error) {
112988 _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
112989 if e1 != 0 {
112990@@ -838,6 +852,16 @@ func Getsid(pid int) (sid int, err error) {
112991
112992 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
112993
112994+func Gettimeofday(tv *Timeval) (err error) {
112995+ _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
112996+ if e1 != 0 {
112997+ err = errnoErr(e1)
112998+ }
112999+ return
113000+}
113001+
113002+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113003+
113004 func Getuid() (uid int) {
113005 r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
113006 uid = int(r0)
113007@@ -847,13 +871,23 @@ func Getuid() (uid int) {
113008 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113009
113010 func Issetugid() (tainted bool) {
113011- r0, _, _ := RawSyscall(SYS_ISSETUGID, 0, 0, 0)
113012+ r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0)
113013 tainted = bool(r0 != 0)
113014 return
113015 }
113016
113017 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113018
113019+func Kill(pid int, signum syscall.Signal) (err error) {
113020+ _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
113021+ if e1 != 0 {
113022+ err = errnoErr(e1)
113023+ }
113024+ return
113025+}
113026+
113027+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113028+
113029 func Kqueue() (fd int, err error) {
113030 r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0)
113031 fd = int(r0)
113032@@ -936,7 +970,7 @@ func Lstat(path string, stat *Stat_t) (err error) {
113033 if err != nil {
113034 return
113035 }
113036- _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
113037+ _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
113038 if e1 != 0 {
113039 err = errnoErr(e1)
113040 }
113041@@ -990,6 +1024,21 @@ func Mkfifo(path string, mode uint32) (err error) {
113042
113043 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113044
113045+func Mkfifoat(dirfd int, path string, mode uint32) (err error) {
113046+ var _p0 *byte
113047+ _p0, err = BytePtrFromString(path)
113048+ if err != nil {
113049+ return
113050+ }
113051+ _, _, e1 := Syscall(SYS_MKFIFOAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
113052+ if e1 != 0 {
113053+ err = errnoErr(e1)
113054+ }
113055+ return
113056+}
113057+
113058+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113059+
113060 func Mknod(path string, mode uint32, dev int) (err error) {
113061 var _p0 *byte
113062 _p0, err = BytePtrFromString(path)
113063@@ -1005,6 +1054,31 @@ func Mknod(path string, mode uint32, dev int) (err error) {
113064
113065 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113066
113067+func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
113068+ var _p0 *byte
113069+ _p0, err = BytePtrFromString(path)
113070+ if err != nil {
113071+ return
113072+ }
113073+ _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
113074+ if e1 != 0 {
113075+ err = errnoErr(e1)
113076+ }
113077+ return
113078+}
113079+
113080+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113081+
113082+func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
113083+ _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
113084+ if e1 != 0 {
113085+ err = errnoErr(e1)
113086+ }
113087+ return
113088+}
113089+
113090+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113091+
113092 func Open(path string, mode int, perm uint32) (fd int, err error) {
113093 var _p0 *byte
113094 _p0, err = BytePtrFromString(path)
113095@@ -1060,7 +1134,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
113096 } else {
113097 _p0 = unsafe.Pointer(&_zero)
113098 }
113099- r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
113100+ r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), 0)
113101 n = int(r0)
113102 if e1 != 0 {
113103 err = errnoErr(e1)
113104@@ -1077,7 +1151,7 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
113105 } else {
113106 _p0 = unsafe.Pointer(&_zero)
113107 }
113108- r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
113109+ r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), 0)
113110 n = int(r0)
113111 if e1 != 0 {
113112 err = errnoErr(e1)
113113@@ -1219,8 +1293,8 @@ func Rmdir(path string) (err error) {
113114 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113115
113116 func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
113117- r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(whence), 0, 0)
113118- newoffset = int64(int64(r1)<<32 | int64(r0))
113119+ r0, _, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(whence), 0, 0)
113120+ newoffset = int64(r0)
113121 if e1 != 0 {
113122 err = errnoErr(e1)
113123 }
113124@@ -1229,8 +1303,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
113125
113126 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113127
113128-func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
113129- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
113130+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
113131+ r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
113132+ n = int(r0)
113133 if e1 != 0 {
113134 err = errnoErr(e1)
113135 }
113136@@ -1240,7 +1315,7 @@ func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
113137 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113138
113139 func Setegid(egid int) (err error) {
113140- _, _, e1 := Syscall(SYS_SETEGID, uintptr(egid), 0, 0)
113141+ _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
113142 if e1 != 0 {
113143 err = errnoErr(e1)
113144 }
113145@@ -1304,8 +1379,8 @@ func Setpriority(which int, who int, prio int) (err error) {
113146
113147 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113148
113149-func Setprivexec(flag int) (err error) {
113150- _, _, e1 := Syscall(SYS_SETPRIVEXEC, uintptr(flag), 0, 0)
113151+func Setregid(rgid int, egid int) (err error) {
113152+ _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
113153 if e1 != 0 {
113154 err = errnoErr(e1)
113155 }
113156@@ -1314,8 +1389,8 @@ func Setprivexec(flag int) (err error) {
113157
113158 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113159
113160-func Setregid(rgid int, egid int) (err error) {
113161- _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
113162+func Setreuid(ruid int, euid int) (err error) {
113163+ _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
113164 if e1 != 0 {
113165 err = errnoErr(e1)
113166 }
113167@@ -1324,8 +1399,18 @@ func Setregid(rgid int, egid int) (err error) {
113168
113169 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113170
113171-func Setreuid(ruid int, euid int) (err error) {
113172- _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
113173+func Setresgid(rgid int, egid int, sgid int) (err error) {
113174+ _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
113175+ if e1 != 0 {
113176+ err = errnoErr(e1)
113177+ }
113178+ return
113179+}
113180+
113181+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113182+
113183+func Setresuid(ruid int, euid int, suid int) (err error) {
113184+ _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
113185 if e1 != 0 {
113186 err = errnoErr(e1)
113187 }
113188@@ -1344,6 +1429,16 @@ func Setrlimit(which int, lim *Rlimit) (err error) {
113189
113190 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113191
113192+func Setrtable(rtable int) (err error) {
113193+ _, _, e1 := RawSyscall(SYS_SETRTABLE, uintptr(rtable), 0, 0)
113194+ if e1 != 0 {
113195+ err = errnoErr(e1)
113196+ }
113197+ return
113198+}
113199+
113200+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113201+
113202 func Setsid() (pid int, err error) {
113203 r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
113204 pid = int(r0)
113205@@ -1381,7 +1476,7 @@ func Stat(path string, stat *Stat_t) (err error) {
113206 if err != nil {
113207 return
113208 }
113209- _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
113210+ _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
113211 if e1 != 0 {
113212 err = errnoErr(e1)
113213 }
113214@@ -1396,7 +1491,7 @@ func Statfs(path string, stat *Statfs_t) (err error) {
113215 if err != nil {
113216 return
113217 }
113218- _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
113219+ _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
113220 if e1 != 0 {
113221 err = errnoErr(e1)
113222 }
113223@@ -1461,7 +1556,7 @@ func Truncate(path string, length int64) (err error) {
113224 if err != nil {
113225 return
113226 }
113227- _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), uintptr(length>>32))
113228+ _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length))
113229 if e1 != 0 {
113230 err = errnoErr(e1)
113231 }
113232@@ -1478,21 +1573,6 @@ func Umask(newmask int) (oldmask int) {
113233
113234 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113235
113236-func Undelete(path string) (err error) {
113237- var _p0 *byte
113238- _p0, err = BytePtrFromString(path)
113239- if err != nil {
113240- return
113241- }
113242- _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
113243- if e1 != 0 {
113244- err = errnoErr(e1)
113245- }
113246- return
113247-}
113248-
113249-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113250-
113251 func Unlink(path string) (err error) {
113252 var _p0 *byte
113253 _p0, err = BytePtrFromString(path)
113254@@ -1556,7 +1636,7 @@ func write(fd int, p []byte) (n int, err error) {
113255 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113256
113257 func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
113258- r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos), uintptr(pos>>32), 0, 0)
113259+ r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), 0, 0)
113260 ret = uintptr(r0)
113261 if e1 != 0 {
113262 err = errnoErr(e1)
113263@@ -1598,10 +1678,13 @@ func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
113264
113265 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113266
113267-func gettimeofday(tp *Timeval) (sec int32, usec int32, err error) {
113268- r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
113269- sec = int32(r0)
113270- usec = int32(r1)
113271+func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
113272+ var _p0 *byte
113273+ _p0, err = BytePtrFromString(path)
113274+ if err != nil {
113275+ return
113276+ }
113277+ _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
113278 if e1 != 0 {
113279 err = errnoErr(e1)
113280 }
113281diff --git a/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go
113282index 4287133d..a96165d4 100644
113283--- a/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go
113284+++ b/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go
113285@@ -1,4 +1,4 @@
113286-// mksyscall_solaris.pl -tags solaris,amd64 syscall_solaris.go syscall_solaris_amd64.go
113287+// go run mksyscall_solaris.go -tags solaris,amd64 syscall_solaris.go syscall_solaris_amd64.go
113288 // Code generated by the command above; see README.md. DO NOT EDIT.
113289
113290 // +build solaris,amd64
113291@@ -25,7 +25,11 @@ import (
113292 //go:cgo_import_dynamic libc___xnet_recvmsg __xnet_recvmsg "libsocket.so"
113293 //go:cgo_import_dynamic libc___xnet_sendmsg __xnet_sendmsg "libsocket.so"
113294 //go:cgo_import_dynamic libc_acct acct "libc.so"
113295+//go:cgo_import_dynamic libc___makedev __makedev "libc.so"
113296+//go:cgo_import_dynamic libc___major __major "libc.so"
113297+//go:cgo_import_dynamic libc___minor __minor "libc.so"
113298 //go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
113299+//go:cgo_import_dynamic libc_poll poll "libc.so"
113300 //go:cgo_import_dynamic libc_access access "libc.so"
113301 //go:cgo_import_dynamic libc_adjtime adjtime "libc.so"
113302 //go:cgo_import_dynamic libc_chdir chdir "libc.so"
113303@@ -37,6 +41,7 @@ import (
113304 //go:cgo_import_dynamic libc_dup dup "libc.so"
113305 //go:cgo_import_dynamic libc_dup2 dup2 "libc.so"
113306 //go:cgo_import_dynamic libc_exit exit "libc.so"
113307+//go:cgo_import_dynamic libc_faccessat faccessat "libc.so"
113308 //go:cgo_import_dynamic libc_fchdir fchdir "libc.so"
113309 //go:cgo_import_dynamic libc_fchmod fchmod "libc.so"
113310 //go:cgo_import_dynamic libc_fchmodat fchmodat "libc.so"
113311@@ -46,6 +51,7 @@ import (
113312 //go:cgo_import_dynamic libc_flock flock "libc.so"
113313 //go:cgo_import_dynamic libc_fpathconf fpathconf "libc.so"
113314 //go:cgo_import_dynamic libc_fstat fstat "libc.so"
113315+//go:cgo_import_dynamic libc_fstatat fstatat "libc.so"
113316 //go:cgo_import_dynamic libc_fstatvfs fstatvfs "libc.so"
113317 //go:cgo_import_dynamic libc_getdents getdents "libc.so"
113318 //go:cgo_import_dynamic libc_getgid getgid "libc.so"
113319@@ -75,6 +81,7 @@ import (
113320 //go:cgo_import_dynamic libc_mlock mlock "libc.so"
113321 //go:cgo_import_dynamic libc_mlockall mlockall "libc.so"
113322 //go:cgo_import_dynamic libc_mprotect mprotect "libc.so"
113323+//go:cgo_import_dynamic libc_msync msync "libc.so"
113324 //go:cgo_import_dynamic libc_munlock munlock "libc.so"
113325 //go:cgo_import_dynamic libc_munlockall munlockall "libc.so"
113326 //go:cgo_import_dynamic libc_nanosleep nanosleep "libc.so"
113327@@ -90,6 +97,7 @@ import (
113328 //go:cgo_import_dynamic libc_renameat renameat "libc.so"
113329 //go:cgo_import_dynamic libc_rmdir rmdir "libc.so"
113330 //go:cgo_import_dynamic libc_lseek lseek "libc.so"
113331+//go:cgo_import_dynamic libc_select select "libc.so"
113332 //go:cgo_import_dynamic libc_setegid setegid "libc.so"
113333 //go:cgo_import_dynamic libc_seteuid seteuid "libc.so"
113334 //go:cgo_import_dynamic libc_setgid setgid "libc.so"
113335@@ -121,6 +129,7 @@ import (
113336 //go:cgo_import_dynamic libc___xnet_connect __xnet_connect "libsocket.so"
113337 //go:cgo_import_dynamic libc_mmap mmap "libc.so"
113338 //go:cgo_import_dynamic libc_munmap munmap "libc.so"
113339+//go:cgo_import_dynamic libc_sendfile sendfile "libsendfile.so"
113340 //go:cgo_import_dynamic libc___xnet_sendto __xnet_sendto "libsocket.so"
113341 //go:cgo_import_dynamic libc___xnet_socket __xnet_socket "libsocket.so"
113342 //go:cgo_import_dynamic libc___xnet_socketpair __xnet_socketpair "libsocket.so"
113343@@ -129,7 +138,6 @@ import (
113344 //go:cgo_import_dynamic libc_getpeername getpeername "libsocket.so"
113345 //go:cgo_import_dynamic libc_setsockopt setsockopt "libsocket.so"
113346 //go:cgo_import_dynamic libc_recvfrom recvfrom "libsocket.so"
113347-//go:cgo_import_dynamic libc_sysconf sysconf "libc.so"
113348
113349 //go:linkname procpipe libc_pipe
113350 //go:linkname procgetsockname libc_getsockname
113351@@ -146,7 +154,11 @@ import (
113352 //go:linkname proc__xnet_recvmsg libc___xnet_recvmsg
113353 //go:linkname proc__xnet_sendmsg libc___xnet_sendmsg
113354 //go:linkname procacct libc_acct
113355+//go:linkname proc__makedev libc___makedev
113356+//go:linkname proc__major libc___major
113357+//go:linkname proc__minor libc___minor
113358 //go:linkname procioctl libc_ioctl
113359+//go:linkname procpoll libc_poll
113360 //go:linkname procAccess libc_access
113361 //go:linkname procAdjtime libc_adjtime
113362 //go:linkname procChdir libc_chdir
113363@@ -158,6 +170,7 @@ import (
113364 //go:linkname procDup libc_dup
113365 //go:linkname procDup2 libc_dup2
113366 //go:linkname procExit libc_exit
113367+//go:linkname procFaccessat libc_faccessat
113368 //go:linkname procFchdir libc_fchdir
113369 //go:linkname procFchmod libc_fchmod
113370 //go:linkname procFchmodat libc_fchmodat
113371@@ -167,6 +180,7 @@ import (
113372 //go:linkname procFlock libc_flock
113373 //go:linkname procFpathconf libc_fpathconf
113374 //go:linkname procFstat libc_fstat
113375+//go:linkname procFstatat libc_fstatat
113376 //go:linkname procFstatvfs libc_fstatvfs
113377 //go:linkname procGetdents libc_getdents
113378 //go:linkname procGetgid libc_getgid
113379@@ -196,6 +210,7 @@ import (
113380 //go:linkname procMlock libc_mlock
113381 //go:linkname procMlockall libc_mlockall
113382 //go:linkname procMprotect libc_mprotect
113383+//go:linkname procMsync libc_msync
113384 //go:linkname procMunlock libc_munlock
113385 //go:linkname procMunlockall libc_munlockall
113386 //go:linkname procNanosleep libc_nanosleep
113387@@ -211,6 +226,7 @@ import (
113388 //go:linkname procRenameat libc_renameat
113389 //go:linkname procRmdir libc_rmdir
113390 //go:linkname proclseek libc_lseek
113391+//go:linkname procSelect libc_select
113392 //go:linkname procSetegid libc_setegid
113393 //go:linkname procSeteuid libc_seteuid
113394 //go:linkname procSetgid libc_setgid
113395@@ -242,6 +258,7 @@ import (
113396 //go:linkname proc__xnet_connect libc___xnet_connect
113397 //go:linkname procmmap libc_mmap
113398 //go:linkname procmunmap libc_munmap
113399+//go:linkname procsendfile libc_sendfile
113400 //go:linkname proc__xnet_sendto libc___xnet_sendto
113401 //go:linkname proc__xnet_socket libc___xnet_socket
113402 //go:linkname proc__xnet_socketpair libc___xnet_socketpair
113403@@ -250,7 +267,6 @@ import (
113404 //go:linkname procgetpeername libc_getpeername
113405 //go:linkname procsetsockopt libc_setsockopt
113406 //go:linkname procrecvfrom libc_recvfrom
113407-//go:linkname procsysconf libc_sysconf
113408
113409 var (
113410 procpipe,
113411@@ -268,7 +284,11 @@ var (
113412 proc__xnet_recvmsg,
113413 proc__xnet_sendmsg,
113414 procacct,
113415+ proc__makedev,
113416+ proc__major,
113417+ proc__minor,
113418 procioctl,
113419+ procpoll,
113420 procAccess,
113421 procAdjtime,
113422 procChdir,
113423@@ -280,6 +300,7 @@ var (
113424 procDup,
113425 procDup2,
113426 procExit,
113427+ procFaccessat,
113428 procFchdir,
113429 procFchmod,
113430 procFchmodat,
113431@@ -289,6 +310,7 @@ var (
113432 procFlock,
113433 procFpathconf,
113434 procFstat,
113435+ procFstatat,
113436 procFstatvfs,
113437 procGetdents,
113438 procGetgid,
113439@@ -318,6 +340,7 @@ var (
113440 procMlock,
113441 procMlockall,
113442 procMprotect,
113443+ procMsync,
113444 procMunlock,
113445 procMunlockall,
113446 procNanosleep,
113447@@ -333,6 +356,7 @@ var (
113448 procRenameat,
113449 procRmdir,
113450 proclseek,
113451+ procSelect,
113452 procSetegid,
113453 procSeteuid,
113454 procSetgid,
113455@@ -364,6 +388,7 @@ var (
113456 proc__xnet_connect,
113457 procmmap,
113458 procmunmap,
113459+ procsendfile,
113460 proc__xnet_sendto,
113461 proc__xnet_socket,
113462 proc__xnet_socketpair,
113463@@ -371,10 +396,11 @@ var (
113464 proc__xnet_getsockopt,
113465 procgetpeername,
113466 procsetsockopt,
113467- procrecvfrom,
113468- procsysconf syscallFunc
113469+ procrecvfrom syscallFunc
113470 )
113471
113472+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113473+
113474 func pipe(p *[2]_C_int) (n int, err error) {
113475 r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procpipe)), 1, uintptr(unsafe.Pointer(p)), 0, 0, 0, 0, 0)
113476 n = int(r0)
113477@@ -384,6 +410,8 @@ func pipe(p *[2]_C_int) (n int, err error) {
113478 return
113479 }
113480
113481+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113482+
113483 func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
113484 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procgetsockname)), 3, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
113485 if e1 != 0 {
113486@@ -392,6 +420,8 @@ func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
113487 return
113488 }
113489
113490+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113491+
113492 func Getcwd(buf []byte) (n int, err error) {
113493 var _p0 *byte
113494 if len(buf) > 0 {
113495@@ -405,6 +435,8 @@ func Getcwd(buf []byte) (n int, err error) {
113496 return
113497 }
113498
113499+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113500+
113501 func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
113502 r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procgetgroups)), 2, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0, 0, 0, 0)
113503 n = int(r0)
113504@@ -414,6 +446,8 @@ func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
113505 return
113506 }
113507
113508+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113509+
113510 func setgroups(ngid int, gid *_Gid_t) (err error) {
113511 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procsetgroups)), 2, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0, 0, 0, 0)
113512 if e1 != 0 {
113513@@ -422,6 +456,8 @@ func setgroups(ngid int, gid *_Gid_t) (err error) {
113514 return
113515 }
113516
113517+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113518+
113519 func wait4(pid int32, statusp *_C_int, options int, rusage *Rusage) (wpid int32, err error) {
113520 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procwait4)), 4, uintptr(pid), uintptr(unsafe.Pointer(statusp)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
113521 wpid = int32(r0)
113522@@ -431,6 +467,8 @@ func wait4(pid int32, statusp *_C_int, options int, rusage *Rusage) (wpid int32,
113523 return
113524 }
113525
113526+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113527+
113528 func gethostname(buf []byte) (n int, err error) {
113529 var _p0 *byte
113530 if len(buf) > 0 {
113531@@ -444,6 +482,8 @@ func gethostname(buf []byte) (n int, err error) {
113532 return
113533 }
113534
113535+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113536+
113537 func utimes(path string, times *[2]Timeval) (err error) {
113538 var _p0 *byte
113539 _p0, err = BytePtrFromString(path)
113540@@ -457,6 +497,8 @@ func utimes(path string, times *[2]Timeval) (err error) {
113541 return
113542 }
113543
113544+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113545+
113546 func utimensat(fd int, path string, times *[2]Timespec, flag int) (err error) {
113547 var _p0 *byte
113548 _p0, err = BytePtrFromString(path)
113549@@ -470,6 +512,8 @@ func utimensat(fd int, path string, times *[2]Timespec, flag int) (err error) {
113550 return
113551 }
113552
113553+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113554+
113555 func fcntl(fd int, cmd int, arg int) (val int, err error) {
113556 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procfcntl)), 3, uintptr(fd), uintptr(cmd), uintptr(arg), 0, 0, 0)
113557 val = int(r0)
113558@@ -479,6 +523,8 @@ func fcntl(fd int, cmd int, arg int) (val int, err error) {
113559 return
113560 }
113561
113562+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113563+
113564 func futimesat(fildes int, path *byte, times *[2]Timeval) (err error) {
113565 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procfutimesat)), 3, uintptr(fildes), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)), 0, 0, 0)
113566 if e1 != 0 {
113567@@ -487,6 +533,8 @@ func futimesat(fildes int, path *byte, times *[2]Timeval) (err error) {
113568 return
113569 }
113570
113571+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113572+
113573 func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
113574 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procaccept)), 3, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
113575 fd = int(r0)
113576@@ -496,6 +544,8 @@ func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
113577 return
113578 }
113579
113580+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113581+
113582 func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
113583 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_recvmsg)), 3, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags), 0, 0, 0)
113584 n = int(r0)
113585@@ -505,6 +555,8 @@ func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
113586 return
113587 }
113588
113589+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113590+
113591 func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
113592 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_sendmsg)), 3, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags), 0, 0, 0)
113593 n = int(r0)
113594@@ -514,6 +566,8 @@ func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
113595 return
113596 }
113597
113598+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113599+
113600 func acct(path *byte) (err error) {
113601 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procacct)), 1, uintptr(unsafe.Pointer(path)), 0, 0, 0, 0, 0)
113602 if e1 != 0 {
113603@@ -522,6 +576,32 @@ func acct(path *byte) (err error) {
113604 return
113605 }
113606
113607+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113608+
113609+func __makedev(version int, major uint, minor uint) (val uint64) {
113610+ r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&proc__makedev)), 3, uintptr(version), uintptr(major), uintptr(minor), 0, 0, 0)
113611+ val = uint64(r0)
113612+ return
113613+}
113614+
113615+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113616+
113617+func __major(version int, dev uint64) (val uint) {
113618+ r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&proc__major)), 2, uintptr(version), uintptr(dev), 0, 0, 0, 0)
113619+ val = uint(r0)
113620+ return
113621+}
113622+
113623+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113624+
113625+func __minor(version int, dev uint64) (val uint) {
113626+ r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&proc__minor)), 2, uintptr(version), uintptr(dev), 0, 0, 0, 0)
113627+ val = uint(r0)
113628+ return
113629+}
113630+
113631+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113632+
113633 func ioctl(fd int, req uint, arg uintptr) (err error) {
113634 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procioctl)), 3, uintptr(fd), uintptr(req), uintptr(arg), 0, 0, 0)
113635 if e1 != 0 {
113636@@ -530,6 +610,19 @@ func ioctl(fd int, req uint, arg uintptr) (err error) {
113637 return
113638 }
113639
113640+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113641+
113642+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
113643+ r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procpoll)), 3, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout), 0, 0, 0)
113644+ n = int(r0)
113645+ if e1 != 0 {
113646+ err = e1
113647+ }
113648+ return
113649+}
113650+
113651+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113652+
113653 func Access(path string, mode uint32) (err error) {
113654 var _p0 *byte
113655 _p0, err = BytePtrFromString(path)
113656@@ -543,6 +636,8 @@ func Access(path string, mode uint32) (err error) {
113657 return
113658 }
113659
113660+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113661+
113662 func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
113663 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procAdjtime)), 2, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0, 0, 0, 0)
113664 if e1 != 0 {
113665@@ -551,6 +646,8 @@ func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
113666 return
113667 }
113668
113669+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113670+
113671 func Chdir(path string) (err error) {
113672 var _p0 *byte
113673 _p0, err = BytePtrFromString(path)
113674@@ -564,6 +661,8 @@ func Chdir(path string) (err error) {
113675 return
113676 }
113677
113678+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113679+
113680 func Chmod(path string, mode uint32) (err error) {
113681 var _p0 *byte
113682 _p0, err = BytePtrFromString(path)
113683@@ -577,6 +676,8 @@ func Chmod(path string, mode uint32) (err error) {
113684 return
113685 }
113686
113687+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113688+
113689 func Chown(path string, uid int, gid int) (err error) {
113690 var _p0 *byte
113691 _p0, err = BytePtrFromString(path)
113692@@ -590,6 +691,8 @@ func Chown(path string, uid int, gid int) (err error) {
113693 return
113694 }
113695
113696+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113697+
113698 func Chroot(path string) (err error) {
113699 var _p0 *byte
113700 _p0, err = BytePtrFromString(path)
113701@@ -603,6 +706,8 @@ func Chroot(path string) (err error) {
113702 return
113703 }
113704
113705+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113706+
113707 func Close(fd int) (err error) {
113708 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procClose)), 1, uintptr(fd), 0, 0, 0, 0, 0)
113709 if e1 != 0 {
113710@@ -611,6 +716,8 @@ func Close(fd int) (err error) {
113711 return
113712 }
113713
113714+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113715+
113716 func Creat(path string, mode uint32) (fd int, err error) {
113717 var _p0 *byte
113718 _p0, err = BytePtrFromString(path)
113719@@ -625,6 +732,8 @@ func Creat(path string, mode uint32) (fd int, err error) {
113720 return
113721 }
113722
113723+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113724+
113725 func Dup(fd int) (nfd int, err error) {
113726 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procDup)), 1, uintptr(fd), 0, 0, 0, 0, 0)
113727 nfd = int(r0)
113728@@ -634,6 +743,8 @@ func Dup(fd int) (nfd int, err error) {
113729 return
113730 }
113731
113732+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113733+
113734 func Dup2(oldfd int, newfd int) (err error) {
113735 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procDup2)), 2, uintptr(oldfd), uintptr(newfd), 0, 0, 0, 0)
113736 if e1 != 0 {
113737@@ -642,11 +753,30 @@ func Dup2(oldfd int, newfd int) (err error) {
113738 return
113739 }
113740
113741+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113742+
113743 func Exit(code int) {
113744 sysvicall6(uintptr(unsafe.Pointer(&procExit)), 1, uintptr(code), 0, 0, 0, 0, 0)
113745 return
113746 }
113747
113748+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113749+
113750+func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
113751+ var _p0 *byte
113752+ _p0, err = BytePtrFromString(path)
113753+ if err != nil {
113754+ return
113755+ }
113756+ _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFaccessat)), 4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
113757+ if e1 != 0 {
113758+ err = e1
113759+ }
113760+ return
113761+}
113762+
113763+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113764+
113765 func Fchdir(fd int) (err error) {
113766 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchdir)), 1, uintptr(fd), 0, 0, 0, 0, 0)
113767 if e1 != 0 {
113768@@ -655,6 +785,8 @@ func Fchdir(fd int) (err error) {
113769 return
113770 }
113771
113772+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113773+
113774 func Fchmod(fd int, mode uint32) (err error) {
113775 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchmod)), 2, uintptr(fd), uintptr(mode), 0, 0, 0, 0)
113776 if e1 != 0 {
113777@@ -663,6 +795,8 @@ func Fchmod(fd int, mode uint32) (err error) {
113778 return
113779 }
113780
113781+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113782+
113783 func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
113784 var _p0 *byte
113785 _p0, err = BytePtrFromString(path)
113786@@ -676,6 +810,8 @@ func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
113787 return
113788 }
113789
113790+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113791+
113792 func Fchown(fd int, uid int, gid int) (err error) {
113793 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchown)), 3, uintptr(fd), uintptr(uid), uintptr(gid), 0, 0, 0)
113794 if e1 != 0 {
113795@@ -684,6 +820,8 @@ func Fchown(fd int, uid int, gid int) (err error) {
113796 return
113797 }
113798
113799+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113800+
113801 func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
113802 var _p0 *byte
113803 _p0, err = BytePtrFromString(path)
113804@@ -697,6 +835,8 @@ func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
113805 return
113806 }
113807
113808+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113809+
113810 func Fdatasync(fd int) (err error) {
113811 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFdatasync)), 1, uintptr(fd), 0, 0, 0, 0, 0)
113812 if e1 != 0 {
113813@@ -705,6 +845,8 @@ func Fdatasync(fd int) (err error) {
113814 return
113815 }
113816
113817+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113818+
113819 func Flock(fd int, how int) (err error) {
113820 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFlock)), 2, uintptr(fd), uintptr(how), 0, 0, 0, 0)
113821 if e1 != 0 {
113822@@ -713,6 +855,8 @@ func Flock(fd int, how int) (err error) {
113823 return
113824 }
113825
113826+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113827+
113828 func Fpathconf(fd int, name int) (val int, err error) {
113829 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFpathconf)), 2, uintptr(fd), uintptr(name), 0, 0, 0, 0)
113830 val = int(r0)
113831@@ -722,6 +866,8 @@ func Fpathconf(fd int, name int) (val int, err error) {
113832 return
113833 }
113834
113835+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113836+
113837 func Fstat(fd int, stat *Stat_t) (err error) {
113838 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFstat)), 2, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0, 0, 0, 0)
113839 if e1 != 0 {
113840@@ -730,6 +876,23 @@ func Fstat(fd int, stat *Stat_t) (err error) {
113841 return
113842 }
113843
113844+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113845+
113846+func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) {
113847+ var _p0 *byte
113848+ _p0, err = BytePtrFromString(path)
113849+ if err != nil {
113850+ return
113851+ }
113852+ _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFstatat)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
113853+ if e1 != 0 {
113854+ err = e1
113855+ }
113856+ return
113857+}
113858+
113859+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113860+
113861 func Fstatvfs(fd int, vfsstat *Statvfs_t) (err error) {
113862 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFstatvfs)), 2, uintptr(fd), uintptr(unsafe.Pointer(vfsstat)), 0, 0, 0, 0)
113863 if e1 != 0 {
113864@@ -738,6 +901,8 @@ func Fstatvfs(fd int, vfsstat *Statvfs_t) (err error) {
113865 return
113866 }
113867
113868+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113869+
113870 func Getdents(fd int, buf []byte, basep *uintptr) (n int, err error) {
113871 var _p0 *byte
113872 if len(buf) > 0 {
113873@@ -751,18 +916,24 @@ func Getdents(fd int, buf []byte, basep *uintptr) (n int, err error) {
113874 return
113875 }
113876
113877+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113878+
113879 func Getgid() (gid int) {
113880 r0, _, _ := rawSysvicall6(uintptr(unsafe.Pointer(&procGetgid)), 0, 0, 0, 0, 0, 0, 0)
113881 gid = int(r0)
113882 return
113883 }
113884
113885+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113886+
113887 func Getpid() (pid int) {
113888 r0, _, _ := rawSysvicall6(uintptr(unsafe.Pointer(&procGetpid)), 0, 0, 0, 0, 0, 0, 0)
113889 pid = int(r0)
113890 return
113891 }
113892
113893+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113894+
113895 func Getpgid(pid int) (pgid int, err error) {
113896 r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetpgid)), 1, uintptr(pid), 0, 0, 0, 0, 0)
113897 pgid = int(r0)
113898@@ -772,6 +943,8 @@ func Getpgid(pid int) (pgid int, err error) {
113899 return
113900 }
113901
113902+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113903+
113904 func Getpgrp() (pgid int, err error) {
113905 r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetpgrp)), 0, 0, 0, 0, 0, 0, 0)
113906 pgid = int(r0)
113907@@ -781,24 +954,32 @@ func Getpgrp() (pgid int, err error) {
113908 return
113909 }
113910
113911+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113912+
113913 func Geteuid() (euid int) {
113914 r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procGeteuid)), 0, 0, 0, 0, 0, 0, 0)
113915 euid = int(r0)
113916 return
113917 }
113918
113919+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113920+
113921 func Getegid() (egid int) {
113922 r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procGetegid)), 0, 0, 0, 0, 0, 0, 0)
113923 egid = int(r0)
113924 return
113925 }
113926
113927+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113928+
113929 func Getppid() (ppid int) {
113930 r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procGetppid)), 0, 0, 0, 0, 0, 0, 0)
113931 ppid = int(r0)
113932 return
113933 }
113934
113935+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113936+
113937 func Getpriority(which int, who int) (n int, err error) {
113938 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procGetpriority)), 2, uintptr(which), uintptr(who), 0, 0, 0, 0)
113939 n = int(r0)
113940@@ -808,6 +989,8 @@ func Getpriority(which int, who int) (n int, err error) {
113941 return
113942 }
113943
113944+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113945+
113946 func Getrlimit(which int, lim *Rlimit) (err error) {
113947 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetrlimit)), 2, uintptr(which), uintptr(unsafe.Pointer(lim)), 0, 0, 0, 0)
113948 if e1 != 0 {
113949@@ -816,6 +999,8 @@ func Getrlimit(which int, lim *Rlimit) (err error) {
113950 return
113951 }
113952
113953+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113954+
113955 func Getrusage(who int, rusage *Rusage) (err error) {
113956 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetrusage)), 2, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0, 0, 0, 0)
113957 if e1 != 0 {
113958@@ -824,6 +1009,8 @@ func Getrusage(who int, rusage *Rusage) (err error) {
113959 return
113960 }
113961
113962+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113963+
113964 func Gettimeofday(tv *Timeval) (err error) {
113965 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGettimeofday)), 1, uintptr(unsafe.Pointer(tv)), 0, 0, 0, 0, 0)
113966 if e1 != 0 {
113967@@ -832,12 +1019,16 @@ func Gettimeofday(tv *Timeval) (err error) {
113968 return
113969 }
113970
113971+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113972+
113973 func Getuid() (uid int) {
113974 r0, _, _ := rawSysvicall6(uintptr(unsafe.Pointer(&procGetuid)), 0, 0, 0, 0, 0, 0, 0)
113975 uid = int(r0)
113976 return
113977 }
113978
113979+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113980+
113981 func Kill(pid int, signum syscall.Signal) (err error) {
113982 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procKill)), 2, uintptr(pid), uintptr(signum), 0, 0, 0, 0)
113983 if e1 != 0 {
113984@@ -846,6 +1037,8 @@ func Kill(pid int, signum syscall.Signal) (err error) {
113985 return
113986 }
113987
113988+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113989+
113990 func Lchown(path string, uid int, gid int) (err error) {
113991 var _p0 *byte
113992 _p0, err = BytePtrFromString(path)
113993@@ -859,6 +1052,8 @@ func Lchown(path string, uid int, gid int) (err error) {
113994 return
113995 }
113996
113997+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
113998+
113999 func Link(path string, link string) (err error) {
114000 var _p0 *byte
114001 _p0, err = BytePtrFromString(path)
114002@@ -877,6 +1072,8 @@ func Link(path string, link string) (err error) {
114003 return
114004 }
114005
114006+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114007+
114008 func Listen(s int, backlog int) (err error) {
114009 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_llisten)), 2, uintptr(s), uintptr(backlog), 0, 0, 0, 0)
114010 if e1 != 0 {
114011@@ -885,6 +1082,8 @@ func Listen(s int, backlog int) (err error) {
114012 return
114013 }
114014
114015+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114016+
114017 func Lstat(path string, stat *Stat_t) (err error) {
114018 var _p0 *byte
114019 _p0, err = BytePtrFromString(path)
114020@@ -898,6 +1097,8 @@ func Lstat(path string, stat *Stat_t) (err error) {
114021 return
114022 }
114023
114024+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114025+
114026 func Madvise(b []byte, advice int) (err error) {
114027 var _p0 *byte
114028 if len(b) > 0 {
114029@@ -910,6 +1111,8 @@ func Madvise(b []byte, advice int) (err error) {
114030 return
114031 }
114032
114033+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114034+
114035 func Mkdir(path string, mode uint32) (err error) {
114036 var _p0 *byte
114037 _p0, err = BytePtrFromString(path)
114038@@ -923,6 +1126,8 @@ func Mkdir(path string, mode uint32) (err error) {
114039 return
114040 }
114041
114042+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114043+
114044 func Mkdirat(dirfd int, path string, mode uint32) (err error) {
114045 var _p0 *byte
114046 _p0, err = BytePtrFromString(path)
114047@@ -936,6 +1141,8 @@ func Mkdirat(dirfd int, path string, mode uint32) (err error) {
114048 return
114049 }
114050
114051+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114052+
114053 func Mkfifo(path string, mode uint32) (err error) {
114054 var _p0 *byte
114055 _p0, err = BytePtrFromString(path)
114056@@ -949,6 +1156,8 @@ func Mkfifo(path string, mode uint32) (err error) {
114057 return
114058 }
114059
114060+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114061+
114062 func Mkfifoat(dirfd int, path string, mode uint32) (err error) {
114063 var _p0 *byte
114064 _p0, err = BytePtrFromString(path)
114065@@ -962,6 +1171,8 @@ func Mkfifoat(dirfd int, path string, mode uint32) (err error) {
114066 return
114067 }
114068
114069+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114070+
114071 func Mknod(path string, mode uint32, dev int) (err error) {
114072 var _p0 *byte
114073 _p0, err = BytePtrFromString(path)
114074@@ -975,6 +1186,8 @@ func Mknod(path string, mode uint32, dev int) (err error) {
114075 return
114076 }
114077
114078+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114079+
114080 func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
114081 var _p0 *byte
114082 _p0, err = BytePtrFromString(path)
114083@@ -988,6 +1201,8 @@ func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
114084 return
114085 }
114086
114087+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114088+
114089 func Mlock(b []byte) (err error) {
114090 var _p0 *byte
114091 if len(b) > 0 {
114092@@ -1000,6 +1215,8 @@ func Mlock(b []byte) (err error) {
114093 return
114094 }
114095
114096+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114097+
114098 func Mlockall(flags int) (err error) {
114099 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMlockall)), 1, uintptr(flags), 0, 0, 0, 0, 0)
114100 if e1 != 0 {
114101@@ -1008,6 +1225,8 @@ func Mlockall(flags int) (err error) {
114102 return
114103 }
114104
114105+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114106+
114107 func Mprotect(b []byte, prot int) (err error) {
114108 var _p0 *byte
114109 if len(b) > 0 {
114110@@ -1020,6 +1239,22 @@ func Mprotect(b []byte, prot int) (err error) {
114111 return
114112 }
114113
114114+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114115+
114116+func Msync(b []byte, flags int) (err error) {
114117+ var _p0 *byte
114118+ if len(b) > 0 {
114119+ _p0 = &b[0]
114120+ }
114121+ _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMsync)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(len(b)), uintptr(flags), 0, 0, 0)
114122+ if e1 != 0 {
114123+ err = e1
114124+ }
114125+ return
114126+}
114127+
114128+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114129+
114130 func Munlock(b []byte) (err error) {
114131 var _p0 *byte
114132 if len(b) > 0 {
114133@@ -1032,6 +1267,8 @@ func Munlock(b []byte) (err error) {
114134 return
114135 }
114136
114137+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114138+
114139 func Munlockall() (err error) {
114140 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMunlockall)), 0, 0, 0, 0, 0, 0, 0)
114141 if e1 != 0 {
114142@@ -1040,6 +1277,8 @@ func Munlockall() (err error) {
114143 return
114144 }
114145
114146+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114147+
114148 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
114149 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procNanosleep)), 2, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0, 0, 0, 0)
114150 if e1 != 0 {
114151@@ -1048,6 +1287,8 @@ func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
114152 return
114153 }
114154
114155+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114156+
114157 func Open(path string, mode int, perm uint32) (fd int, err error) {
114158 var _p0 *byte
114159 _p0, err = BytePtrFromString(path)
114160@@ -1062,6 +1303,8 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
114161 return
114162 }
114163
114164+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114165+
114166 func Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
114167 var _p0 *byte
114168 _p0, err = BytePtrFromString(path)
114169@@ -1076,6 +1319,8 @@ func Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error)
114170 return
114171 }
114172
114173+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114174+
114175 func Pathconf(path string, name int) (val int, err error) {
114176 var _p0 *byte
114177 _p0, err = BytePtrFromString(path)
114178@@ -1090,6 +1335,8 @@ func Pathconf(path string, name int) (val int, err error) {
114179 return
114180 }
114181
114182+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114183+
114184 func Pause() (err error) {
114185 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procPause)), 0, 0, 0, 0, 0, 0, 0)
114186 if e1 != 0 {
114187@@ -1098,6 +1345,8 @@ func Pause() (err error) {
114188 return
114189 }
114190
114191+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114192+
114193 func Pread(fd int, p []byte, offset int64) (n int, err error) {
114194 var _p0 *byte
114195 if len(p) > 0 {
114196@@ -1111,6 +1360,8 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
114197 return
114198 }
114199
114200+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114201+
114202 func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
114203 var _p0 *byte
114204 if len(p) > 0 {
114205@@ -1124,6 +1375,8 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
114206 return
114207 }
114208
114209+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114210+
114211 func read(fd int, p []byte) (n int, err error) {
114212 var _p0 *byte
114213 if len(p) > 0 {
114214@@ -1137,6 +1390,8 @@ func read(fd int, p []byte) (n int, err error) {
114215 return
114216 }
114217
114218+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114219+
114220 func Readlink(path string, buf []byte) (n int, err error) {
114221 var _p0 *byte
114222 _p0, err = BytePtrFromString(path)
114223@@ -1155,6 +1410,8 @@ func Readlink(path string, buf []byte) (n int, err error) {
114224 return
114225 }
114226
114227+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114228+
114229 func Rename(from string, to string) (err error) {
114230 var _p0 *byte
114231 _p0, err = BytePtrFromString(from)
114232@@ -1173,6 +1430,8 @@ func Rename(from string, to string) (err error) {
114233 return
114234 }
114235
114236+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114237+
114238 func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
114239 var _p0 *byte
114240 _p0, err = BytePtrFromString(oldpath)
114241@@ -1191,6 +1450,8 @@ func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err e
114242 return
114243 }
114244
114245+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114246+
114247 func Rmdir(path string) (err error) {
114248 var _p0 *byte
114249 _p0, err = BytePtrFromString(path)
114250@@ -1204,6 +1465,8 @@ func Rmdir(path string) (err error) {
114251 return
114252 }
114253
114254+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114255+
114256 func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
114257 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proclseek)), 3, uintptr(fd), uintptr(offset), uintptr(whence), 0, 0, 0)
114258 newoffset = int64(r0)
114259@@ -1213,6 +1476,19 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
114260 return
114261 }
114262
114263+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114264+
114265+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
114266+ r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procSelect)), 5, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
114267+ n = int(r0)
114268+ if e1 != 0 {
114269+ err = e1
114270+ }
114271+ return
114272+}
114273+
114274+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114275+
114276 func Setegid(egid int) (err error) {
114277 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetegid)), 1, uintptr(egid), 0, 0, 0, 0, 0)
114278 if e1 != 0 {
114279@@ -1221,6 +1497,8 @@ func Setegid(egid int) (err error) {
114280 return
114281 }
114282
114283+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114284+
114285 func Seteuid(euid int) (err error) {
114286 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSeteuid)), 1, uintptr(euid), 0, 0, 0, 0, 0)
114287 if e1 != 0 {
114288@@ -1229,6 +1507,8 @@ func Seteuid(euid int) (err error) {
114289 return
114290 }
114291
114292+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114293+
114294 func Setgid(gid int) (err error) {
114295 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetgid)), 1, uintptr(gid), 0, 0, 0, 0, 0)
114296 if e1 != 0 {
114297@@ -1237,6 +1517,8 @@ func Setgid(gid int) (err error) {
114298 return
114299 }
114300
114301+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114302+
114303 func Sethostname(p []byte) (err error) {
114304 var _p0 *byte
114305 if len(p) > 0 {
114306@@ -1249,6 +1531,8 @@ func Sethostname(p []byte) (err error) {
114307 return
114308 }
114309
114310+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114311+
114312 func Setpgid(pid int, pgid int) (err error) {
114313 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetpgid)), 2, uintptr(pid), uintptr(pgid), 0, 0, 0, 0)
114314 if e1 != 0 {
114315@@ -1257,6 +1541,8 @@ func Setpgid(pid int, pgid int) (err error) {
114316 return
114317 }
114318
114319+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114320+
114321 func Setpriority(which int, who int, prio int) (err error) {
114322 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procSetpriority)), 3, uintptr(which), uintptr(who), uintptr(prio), 0, 0, 0)
114323 if e1 != 0 {
114324@@ -1265,6 +1551,8 @@ func Setpriority(which int, who int, prio int) (err error) {
114325 return
114326 }
114327
114328+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114329+
114330 func Setregid(rgid int, egid int) (err error) {
114331 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetregid)), 2, uintptr(rgid), uintptr(egid), 0, 0, 0, 0)
114332 if e1 != 0 {
114333@@ -1273,6 +1561,8 @@ func Setregid(rgid int, egid int) (err error) {
114334 return
114335 }
114336
114337+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114338+
114339 func Setreuid(ruid int, euid int) (err error) {
114340 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetreuid)), 2, uintptr(ruid), uintptr(euid), 0, 0, 0, 0)
114341 if e1 != 0 {
114342@@ -1281,6 +1571,8 @@ func Setreuid(ruid int, euid int) (err error) {
114343 return
114344 }
114345
114346+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114347+
114348 func Setrlimit(which int, lim *Rlimit) (err error) {
114349 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetrlimit)), 2, uintptr(which), uintptr(unsafe.Pointer(lim)), 0, 0, 0, 0)
114350 if e1 != 0 {
114351@@ -1289,6 +1581,8 @@ func Setrlimit(which int, lim *Rlimit) (err error) {
114352 return
114353 }
114354
114355+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114356+
114357 func Setsid() (pid int, err error) {
114358 r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetsid)), 0, 0, 0, 0, 0, 0, 0)
114359 pid = int(r0)
114360@@ -1298,6 +1592,8 @@ func Setsid() (pid int, err error) {
114361 return
114362 }
114363
114364+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114365+
114366 func Setuid(uid int) (err error) {
114367 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetuid)), 1, uintptr(uid), 0, 0, 0, 0, 0)
114368 if e1 != 0 {
114369@@ -1306,6 +1602,8 @@ func Setuid(uid int) (err error) {
114370 return
114371 }
114372
114373+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114374+
114375 func Shutdown(s int, how int) (err error) {
114376 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procshutdown)), 2, uintptr(s), uintptr(how), 0, 0, 0, 0)
114377 if e1 != 0 {
114378@@ -1314,6 +1612,8 @@ func Shutdown(s int, how int) (err error) {
114379 return
114380 }
114381
114382+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114383+
114384 func Stat(path string, stat *Stat_t) (err error) {
114385 var _p0 *byte
114386 _p0, err = BytePtrFromString(path)
114387@@ -1327,6 +1627,8 @@ func Stat(path string, stat *Stat_t) (err error) {
114388 return
114389 }
114390
114391+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114392+
114393 func Statvfs(path string, vfsstat *Statvfs_t) (err error) {
114394 var _p0 *byte
114395 _p0, err = BytePtrFromString(path)
114396@@ -1340,6 +1642,8 @@ func Statvfs(path string, vfsstat *Statvfs_t) (err error) {
114397 return
114398 }
114399
114400+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114401+
114402 func Symlink(path string, link string) (err error) {
114403 var _p0 *byte
114404 _p0, err = BytePtrFromString(path)
114405@@ -1358,6 +1662,8 @@ func Symlink(path string, link string) (err error) {
114406 return
114407 }
114408
114409+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114410+
114411 func Sync() (err error) {
114412 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procSync)), 0, 0, 0, 0, 0, 0, 0)
114413 if e1 != 0 {
114414@@ -1366,6 +1672,8 @@ func Sync() (err error) {
114415 return
114416 }
114417
114418+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114419+
114420 func Times(tms *Tms) (ticks uintptr, err error) {
114421 r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procTimes)), 1, uintptr(unsafe.Pointer(tms)), 0, 0, 0, 0, 0)
114422 ticks = uintptr(r0)
114423@@ -1375,6 +1683,8 @@ func Times(tms *Tms) (ticks uintptr, err error) {
114424 return
114425 }
114426
114427+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114428+
114429 func Truncate(path string, length int64) (err error) {
114430 var _p0 *byte
114431 _p0, err = BytePtrFromString(path)
114432@@ -1388,6 +1698,8 @@ func Truncate(path string, length int64) (err error) {
114433 return
114434 }
114435
114436+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114437+
114438 func Fsync(fd int) (err error) {
114439 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFsync)), 1, uintptr(fd), 0, 0, 0, 0, 0)
114440 if e1 != 0 {
114441@@ -1396,6 +1708,8 @@ func Fsync(fd int) (err error) {
114442 return
114443 }
114444
114445+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114446+
114447 func Ftruncate(fd int, length int64) (err error) {
114448 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFtruncate)), 2, uintptr(fd), uintptr(length), 0, 0, 0, 0)
114449 if e1 != 0 {
114450@@ -1404,12 +1718,16 @@ func Ftruncate(fd int, length int64) (err error) {
114451 return
114452 }
114453
114454+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114455+
114456 func Umask(mask int) (oldmask int) {
114457 r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procUmask)), 1, uintptr(mask), 0, 0, 0, 0, 0)
114458 oldmask = int(r0)
114459 return
114460 }
114461
114462+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114463+
114464 func Uname(buf *Utsname) (err error) {
114465 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procUname)), 1, uintptr(unsafe.Pointer(buf)), 0, 0, 0, 0, 0)
114466 if e1 != 0 {
114467@@ -1418,6 +1736,8 @@ func Uname(buf *Utsname) (err error) {
114468 return
114469 }
114470
114471+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114472+
114473 func Unmount(target string, flags int) (err error) {
114474 var _p0 *byte
114475 _p0, err = BytePtrFromString(target)
114476@@ -1431,6 +1751,8 @@ func Unmount(target string, flags int) (err error) {
114477 return
114478 }
114479
114480+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114481+
114482 func Unlink(path string) (err error) {
114483 var _p0 *byte
114484 _p0, err = BytePtrFromString(path)
114485@@ -1444,6 +1766,8 @@ func Unlink(path string) (err error) {
114486 return
114487 }
114488
114489+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114490+
114491 func Unlinkat(dirfd int, path string, flags int) (err error) {
114492 var _p0 *byte
114493 _p0, err = BytePtrFromString(path)
114494@@ -1457,6 +1781,8 @@ func Unlinkat(dirfd int, path string, flags int) (err error) {
114495 return
114496 }
114497
114498+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114499+
114500 func Ustat(dev int, ubuf *Ustat_t) (err error) {
114501 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procUstat)), 2, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0, 0, 0, 0)
114502 if e1 != 0 {
114503@@ -1465,6 +1791,8 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) {
114504 return
114505 }
114506
114507+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114508+
114509 func Utime(path string, buf *Utimbuf) (err error) {
114510 var _p0 *byte
114511 _p0, err = BytePtrFromString(path)
114512@@ -1478,6 +1806,8 @@ func Utime(path string, buf *Utimbuf) (err error) {
114513 return
114514 }
114515
114516+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114517+
114518 func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
114519 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_bind)), 3, uintptr(s), uintptr(addr), uintptr(addrlen), 0, 0, 0)
114520 if e1 != 0 {
114521@@ -1486,6 +1816,8 @@ func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
114522 return
114523 }
114524
114525+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114526+
114527 func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
114528 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_connect)), 3, uintptr(s), uintptr(addr), uintptr(addrlen), 0, 0, 0)
114529 if e1 != 0 {
114530@@ -1494,6 +1826,8 @@ func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
114531 return
114532 }
114533
114534+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114535+
114536 func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
114537 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procmmap)), 6, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos))
114538 ret = uintptr(r0)
114539@@ -1503,6 +1837,8 @@ func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (
114540 return
114541 }
114542
114543+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114544+
114545 func munmap(addr uintptr, length uintptr) (err error) {
114546 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procmunmap)), 2, uintptr(addr), uintptr(length), 0, 0, 0, 0)
114547 if e1 != 0 {
114548@@ -1511,6 +1847,19 @@ func munmap(addr uintptr, length uintptr) (err error) {
114549 return
114550 }
114551
114552+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114553+
114554+func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
114555+ r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procsendfile)), 4, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
114556+ written = int(r0)
114557+ if e1 != 0 {
114558+ err = e1
114559+ }
114560+ return
114561+}
114562+
114563+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114564+
114565 func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
114566 var _p0 *byte
114567 if len(buf) > 0 {
114568@@ -1523,6 +1872,8 @@ func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (
114569 return
114570 }
114571
114572+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114573+
114574 func socket(domain int, typ int, proto int) (fd int, err error) {
114575 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_socket)), 3, uintptr(domain), uintptr(typ), uintptr(proto), 0, 0, 0)
114576 fd = int(r0)
114577@@ -1532,6 +1883,8 @@ func socket(domain int, typ int, proto int) (fd int, err error) {
114578 return
114579 }
114580
114581+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114582+
114583 func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
114584 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&proc__xnet_socketpair)), 4, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
114585 if e1 != 0 {
114586@@ -1540,6 +1893,8 @@ func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
114587 return
114588 }
114589
114590+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114591+
114592 func write(fd int, p []byte) (n int, err error) {
114593 var _p0 *byte
114594 if len(p) > 0 {
114595@@ -1553,6 +1908,8 @@ func write(fd int, p []byte) (n int, err error) {
114596 return
114597 }
114598
114599+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114600+
114601 func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
114602 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_getsockopt)), 5, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
114603 if e1 != 0 {
114604@@ -1561,6 +1918,8 @@ func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen
114605 return
114606 }
114607
114608+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114609+
114610 func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
114611 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procgetpeername)), 3, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
114612 if e1 != 0 {
114613@@ -1569,6 +1928,8 @@ func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
114614 return
114615 }
114616
114617+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114618+
114619 func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
114620 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procsetsockopt)), 5, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
114621 if e1 != 0 {
114622@@ -1577,6 +1938,8 @@ func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr)
114623 return
114624 }
114625
114626+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
114627+
114628 func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
114629 var _p0 *byte
114630 if len(p) > 0 {
114631@@ -1589,12 +1952,3 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl
114632 }
114633 return
114634 }
114635-
114636-func sysconf(name int) (n int64, err error) {
114637- r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procsysconf)), 1, uintptr(name), 0, 0, 0, 0, 0)
114638- n = int64(r0)
114639- if e1 != 0 {
114640- err = e1
114641- }
114642- return
114643-}
114644diff --git a/vendor/golang.org/x/sys/unix/zsysctl_openbsd.go b/vendor/golang.org/x/sys/unix/zsysctl_openbsd_386.go
114645similarity index 99%
114646copy from vendor/golang.org/x/sys/unix/zsysctl_openbsd.go
114647copy to vendor/golang.org/x/sys/unix/zsysctl_openbsd_386.go
114648index 83bb935b..37dcc74c 100644
114649--- a/vendor/golang.org/x/sys/unix/zsysctl_openbsd.go
114650+++ b/vendor/golang.org/x/sys/unix/zsysctl_openbsd_386.go
114651@@ -1,5 +1,7 @@
114652 // mksysctl_openbsd.pl
114653-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
114654+// Code generated by the command above; DO NOT EDIT.
114655+
114656+// +build 386,openbsd
114657
114658 package unix
114659
114660diff --git a/vendor/golang.org/x/sys/unix/zsysctl_openbsd.go b/vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go
114661similarity index 91%
114662copy from vendor/golang.org/x/sys/unix/zsysctl_openbsd.go
114663copy to vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go
114664index 83bb935b..fe6caa6e 100644
114665--- a/vendor/golang.org/x/sys/unix/zsysctl_openbsd.go
114666+++ b/vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go
114667@@ -1,5 +1,7 @@
114668-// mksysctl_openbsd.pl
114669-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
114670+// go run mksysctl_openbsd.go
114671+// Code generated by the command above; DO NOT EDIT.
114672+
114673+// +build amd64,openbsd
114674
114675 package unix
114676
114677@@ -14,6 +16,7 @@ var sysctlMib = []mibentry{
114678 {"ddb.max_line", []_C_int{9, 3}},
114679 {"ddb.max_width", []_C_int{9, 2}},
114680 {"ddb.panic", []_C_int{9, 5}},
114681+ {"ddb.profile", []_C_int{9, 9}},
114682 {"ddb.radix", []_C_int{9, 1}},
114683 {"ddb.tab_stop_width", []_C_int{9, 4}},
114684 {"ddb.trigger", []_C_int{9, 8}},
114685@@ -29,6 +32,7 @@ var sysctlMib = []mibentry{
114686 {"hw.ncpu", []_C_int{6, 3}},
114687 {"hw.ncpufound", []_C_int{6, 21}},
114688 {"hw.pagesize", []_C_int{6, 7}},
114689+ {"hw.perfpolicy", []_C_int{6, 23}},
114690 {"hw.physmem", []_C_int{6, 19}},
114691 {"hw.product", []_C_int{6, 15}},
114692 {"hw.serialno", []_C_int{6, 17}},
114693@@ -37,7 +41,7 @@ var sysctlMib = []mibentry{
114694 {"hw.uuid", []_C_int{6, 18}},
114695 {"hw.vendor", []_C_int{6, 14}},
114696 {"hw.version", []_C_int{6, 16}},
114697- {"kern.arandom", []_C_int{1, 37}},
114698+ {"kern.allowkmem", []_C_int{1, 52}},
114699 {"kern.argmax", []_C_int{1, 8}},
114700 {"kern.boottime", []_C_int{1, 21}},
114701 {"kern.bufcachepercent", []_C_int{1, 72}},
114702@@ -46,12 +50,13 @@ var sysctlMib = []mibentry{
114703 {"kern.consdev", []_C_int{1, 75}},
114704 {"kern.cp_time", []_C_int{1, 40}},
114705 {"kern.cp_time2", []_C_int{1, 71}},
114706- {"kern.cryptodevallowsoft", []_C_int{1, 53}},
114707+ {"kern.dnsjackport", []_C_int{1, 13}},
114708 {"kern.domainname", []_C_int{1, 22}},
114709 {"kern.file", []_C_int{1, 73}},
114710 {"kern.forkstat", []_C_int{1, 42}},
114711 {"kern.fscale", []_C_int{1, 46}},
114712 {"kern.fsync", []_C_int{1, 33}},
114713+ {"kern.global_ptrace", []_C_int{1, 81}},
114714 {"kern.hostid", []_C_int{1, 11}},
114715 {"kern.hostname", []_C_int{1, 10}},
114716 {"kern.intrcnt.nintrcnt", []_C_int{1, 63, 1}},
114717@@ -84,7 +89,6 @@ var sysctlMib = []mibentry{
114718 {"kern.pool_debug", []_C_int{1, 77}},
114719 {"kern.posix1version", []_C_int{1, 17}},
114720 {"kern.proc", []_C_int{1, 66}},
114721- {"kern.random", []_C_int{1, 31}},
114722 {"kern.rawpartition", []_C_int{1, 24}},
114723 {"kern.saved_ids", []_C_int{1, 20}},
114724 {"kern.securelevel", []_C_int{1, 9}},
114725@@ -102,21 +106,16 @@ var sysctlMib = []mibentry{
114726 {"kern.timecounter.hardware", []_C_int{1, 69, 3}},
114727 {"kern.timecounter.tick", []_C_int{1, 69, 1}},
114728 {"kern.timecounter.timestepwarnings", []_C_int{1, 69, 2}},
114729- {"kern.tty.maxptys", []_C_int{1, 44, 6}},
114730- {"kern.tty.nptys", []_C_int{1, 44, 7}},
114731 {"kern.tty.tk_cancc", []_C_int{1, 44, 4}},
114732 {"kern.tty.tk_nin", []_C_int{1, 44, 1}},
114733 {"kern.tty.tk_nout", []_C_int{1, 44, 2}},
114734 {"kern.tty.tk_rawcc", []_C_int{1, 44, 3}},
114735 {"kern.tty.ttyinfo", []_C_int{1, 44, 5}},
114736 {"kern.ttycount", []_C_int{1, 57}},
114737- {"kern.userasymcrypto", []_C_int{1, 60}},
114738- {"kern.usercrypto", []_C_int{1, 52}},
114739- {"kern.usermount", []_C_int{1, 30}},
114740 {"kern.version", []_C_int{1, 4}},
114741- {"kern.vnode", []_C_int{1, 13}},
114742 {"kern.watchdog.auto", []_C_int{1, 64, 2}},
114743 {"kern.watchdog.period", []_C_int{1, 64, 1}},
114744+ {"kern.wxabort", []_C_int{1, 74}},
114745 {"net.bpf.bufsize", []_C_int{4, 31, 1}},
114746 {"net.bpf.maxbufsize", []_C_int{4, 31, 2}},
114747 {"net.inet.ah.enable", []_C_int{4, 2, 51, 1}},
114748@@ -144,7 +143,9 @@ var sysctlMib = []mibentry{
114749 {"net.inet.icmp.stats", []_C_int{4, 2, 1, 7}},
114750 {"net.inet.icmp.tstamprepl", []_C_int{4, 2, 1, 6}},
114751 {"net.inet.igmp.stats", []_C_int{4, 2, 2, 1}},
114752+ {"net.inet.ip.arpdown", []_C_int{4, 2, 0, 40}},
114753 {"net.inet.ip.arpqueued", []_C_int{4, 2, 0, 36}},
114754+ {"net.inet.ip.arptimeout", []_C_int{4, 2, 0, 39}},
114755 {"net.inet.ip.encdebug", []_C_int{4, 2, 0, 12}},
114756 {"net.inet.ip.forwarding", []_C_int{4, 2, 0, 1}},
114757 {"net.inet.ip.ifq.congestion", []_C_int{4, 2, 0, 30, 4}},
114758@@ -153,8 +154,10 @@ var sysctlMib = []mibentry{
114759 {"net.inet.ip.ifq.maxlen", []_C_int{4, 2, 0, 30, 2}},
114760 {"net.inet.ip.maxqueue", []_C_int{4, 2, 0, 11}},
114761 {"net.inet.ip.mforwarding", []_C_int{4, 2, 0, 31}},
114762+ {"net.inet.ip.mrtmfc", []_C_int{4, 2, 0, 37}},
114763 {"net.inet.ip.mrtproto", []_C_int{4, 2, 0, 34}},
114764 {"net.inet.ip.mrtstats", []_C_int{4, 2, 0, 35}},
114765+ {"net.inet.ip.mrtvif", []_C_int{4, 2, 0, 38}},
114766 {"net.inet.ip.mtu", []_C_int{4, 2, 0, 4}},
114767 {"net.inet.ip.mtudisc", []_C_int{4, 2, 0, 27}},
114768 {"net.inet.ip.mtudisctimeout", []_C_int{4, 2, 0, 28}},
114769@@ -173,7 +176,6 @@ var sysctlMib = []mibentry{
114770 {"net.inet.ipip.stats", []_C_int{4, 2, 4, 2}},
114771 {"net.inet.mobileip.allow", []_C_int{4, 2, 55, 1}},
114772 {"net.inet.pfsync.stats", []_C_int{4, 2, 240, 1}},
114773- {"net.inet.pim.stats", []_C_int{4, 2, 103, 1}},
114774 {"net.inet.tcp.ackonpush", []_C_int{4, 2, 6, 13}},
114775 {"net.inet.tcp.always_keepalive", []_C_int{4, 2, 6, 22}},
114776 {"net.inet.tcp.baddynamic", []_C_int{4, 2, 6, 6}},
114777@@ -187,6 +189,7 @@ var sysctlMib = []mibentry{
114778 {"net.inet.tcp.reasslimit", []_C_int{4, 2, 6, 18}},
114779 {"net.inet.tcp.rfc1323", []_C_int{4, 2, 6, 1}},
114780 {"net.inet.tcp.rfc3390", []_C_int{4, 2, 6, 17}},
114781+ {"net.inet.tcp.rootonly", []_C_int{4, 2, 6, 24}},
114782 {"net.inet.tcp.rstppslimit", []_C_int{4, 2, 6, 12}},
114783 {"net.inet.tcp.sack", []_C_int{4, 2, 6, 10}},
114784 {"net.inet.tcp.sackholelimit", []_C_int{4, 2, 6, 20}},
114785@@ -194,9 +197,12 @@ var sysctlMib = []mibentry{
114786 {"net.inet.tcp.stats", []_C_int{4, 2, 6, 21}},
114787 {"net.inet.tcp.synbucketlimit", []_C_int{4, 2, 6, 16}},
114788 {"net.inet.tcp.syncachelimit", []_C_int{4, 2, 6, 15}},
114789+ {"net.inet.tcp.synhashsize", []_C_int{4, 2, 6, 25}},
114790+ {"net.inet.tcp.synuselimit", []_C_int{4, 2, 6, 23}},
114791 {"net.inet.udp.baddynamic", []_C_int{4, 2, 17, 2}},
114792 {"net.inet.udp.checksum", []_C_int{4, 2, 17, 1}},
114793 {"net.inet.udp.recvspace", []_C_int{4, 2, 17, 3}},
114794+ {"net.inet.udp.rootonly", []_C_int{4, 2, 17, 6}},
114795 {"net.inet.udp.sendspace", []_C_int{4, 2, 17, 4}},
114796 {"net.inet.udp.stats", []_C_int{4, 2, 17, 5}},
114797 {"net.inet6.divert.recvspace", []_C_int{4, 24, 86, 1}},
114798@@ -209,13 +215,8 @@ var sysctlMib = []mibentry{
114799 {"net.inet6.icmp6.nd6_delay", []_C_int{4, 24, 30, 8}},
114800 {"net.inet6.icmp6.nd6_maxnudhint", []_C_int{4, 24, 30, 15}},
114801 {"net.inet6.icmp6.nd6_mmaxtries", []_C_int{4, 24, 30, 10}},
114802- {"net.inet6.icmp6.nd6_prune", []_C_int{4, 24, 30, 6}},
114803 {"net.inet6.icmp6.nd6_umaxtries", []_C_int{4, 24, 30, 9}},
114804- {"net.inet6.icmp6.nd6_useloopback", []_C_int{4, 24, 30, 11}},
114805- {"net.inet6.icmp6.nodeinfo", []_C_int{4, 24, 30, 13}},
114806- {"net.inet6.icmp6.rediraccept", []_C_int{4, 24, 30, 2}},
114807 {"net.inet6.icmp6.redirtimeout", []_C_int{4, 24, 30, 3}},
114808- {"net.inet6.ip6.accept_rtadv", []_C_int{4, 24, 17, 12}},
114809 {"net.inet6.ip6.auto_flowlabel", []_C_int{4, 24, 17, 17}},
114810 {"net.inet6.ip6.dad_count", []_C_int{4, 24, 17, 16}},
114811 {"net.inet6.ip6.dad_pending", []_C_int{4, 24, 17, 49}},
114812@@ -228,20 +229,19 @@ var sysctlMib = []mibentry{
114813 {"net.inet6.ip6.maxdynroutes", []_C_int{4, 24, 17, 48}},
114814 {"net.inet6.ip6.maxfragpackets", []_C_int{4, 24, 17, 9}},
114815 {"net.inet6.ip6.maxfrags", []_C_int{4, 24, 17, 41}},
114816- {"net.inet6.ip6.maxifdefrouters", []_C_int{4, 24, 17, 47}},
114817- {"net.inet6.ip6.maxifprefixes", []_C_int{4, 24, 17, 46}},
114818 {"net.inet6.ip6.mforwarding", []_C_int{4, 24, 17, 42}},
114819+ {"net.inet6.ip6.mrtmfc", []_C_int{4, 24, 17, 53}},
114820+ {"net.inet6.ip6.mrtmif", []_C_int{4, 24, 17, 52}},
114821 {"net.inet6.ip6.mrtproto", []_C_int{4, 24, 17, 8}},
114822 {"net.inet6.ip6.mtudisctimeout", []_C_int{4, 24, 17, 50}},
114823 {"net.inet6.ip6.multicast_mtudisc", []_C_int{4, 24, 17, 44}},
114824 {"net.inet6.ip6.multipath", []_C_int{4, 24, 17, 43}},
114825 {"net.inet6.ip6.neighborgcthresh", []_C_int{4, 24, 17, 45}},
114826 {"net.inet6.ip6.redirect", []_C_int{4, 24, 17, 2}},
114827- {"net.inet6.ip6.rr_prune", []_C_int{4, 24, 17, 22}},
114828+ {"net.inet6.ip6.soiikey", []_C_int{4, 24, 17, 54}},
114829 {"net.inet6.ip6.sourcecheck", []_C_int{4, 24, 17, 10}},
114830 {"net.inet6.ip6.sourcecheck_logint", []_C_int{4, 24, 17, 11}},
114831 {"net.inet6.ip6.use_deprecated", []_C_int{4, 24, 17, 21}},
114832- {"net.inet6.ip6.v6only", []_C_int{4, 24, 17, 24}},
114833 {"net.key.sadb_dump", []_C_int{4, 30, 1}},
114834 {"net.key.spd_dump", []_C_int{4, 30, 2}},
114835 {"net.mpls.ifq.congestion", []_C_int{4, 33, 3, 4}},
114836diff --git a/vendor/golang.org/x/sys/unix/zsysctl_openbsd.go b/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm.go
114837similarity index 99%
114838copy from vendor/golang.org/x/sys/unix/zsysctl_openbsd.go
114839copy to vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm.go
114840index 83bb935b..6eb8c0b0 100644
114841--- a/vendor/golang.org/x/sys/unix/zsysctl_openbsd.go
114842+++ b/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm.go
114843@@ -1,5 +1,7 @@
114844-// mksysctl_openbsd.pl
114845-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
114846+// go run mksysctl_openbsd.go
114847+// Code generated by the command above; DO NOT EDIT.
114848+
114849+// +build arm,openbsd
114850
114851 package unix
114852
114853diff --git a/vendor/golang.org/x/sys/unix/zsysctl_openbsd.go b/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm64.go
114854similarity index 91%
114855rename from vendor/golang.org/x/sys/unix/zsysctl_openbsd.go
114856rename to vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm64.go
114857index 83bb935b..ba4304fd 100644
114858--- a/vendor/golang.org/x/sys/unix/zsysctl_openbsd.go
114859+++ b/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm64.go
114860@@ -1,5 +1,7 @@
114861-// mksysctl_openbsd.pl
114862-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
114863+// go run mksysctl_openbsd.go
114864+// Code generated by the command above; DO NOT EDIT.
114865+
114866+// +build arm64,openbsd
114867
114868 package unix
114869
114870@@ -14,6 +16,7 @@ var sysctlMib = []mibentry{
114871 {"ddb.max_line", []_C_int{9, 3}},
114872 {"ddb.max_width", []_C_int{9, 2}},
114873 {"ddb.panic", []_C_int{9, 5}},
114874+ {"ddb.profile", []_C_int{9, 9}},
114875 {"ddb.radix", []_C_int{9, 1}},
114876 {"ddb.tab_stop_width", []_C_int{9, 4}},
114877 {"ddb.trigger", []_C_int{9, 8}},
114878@@ -28,17 +31,21 @@ var sysctlMib = []mibentry{
114879 {"hw.model", []_C_int{6, 2}},
114880 {"hw.ncpu", []_C_int{6, 3}},
114881 {"hw.ncpufound", []_C_int{6, 21}},
114882+ {"hw.ncpuonline", []_C_int{6, 25}},
114883 {"hw.pagesize", []_C_int{6, 7}},
114884+ {"hw.perfpolicy", []_C_int{6, 23}},
114885 {"hw.physmem", []_C_int{6, 19}},
114886 {"hw.product", []_C_int{6, 15}},
114887 {"hw.serialno", []_C_int{6, 17}},
114888 {"hw.setperf", []_C_int{6, 13}},
114889+ {"hw.smt", []_C_int{6, 24}},
114890 {"hw.usermem", []_C_int{6, 20}},
114891 {"hw.uuid", []_C_int{6, 18}},
114892 {"hw.vendor", []_C_int{6, 14}},
114893 {"hw.version", []_C_int{6, 16}},
114894- {"kern.arandom", []_C_int{1, 37}},
114895+ {"kern.allowkmem", []_C_int{1, 52}},
114896 {"kern.argmax", []_C_int{1, 8}},
114897+ {"kern.audio", []_C_int{1, 84}},
114898 {"kern.boottime", []_C_int{1, 21}},
114899 {"kern.bufcachepercent", []_C_int{1, 72}},
114900 {"kern.ccpu", []_C_int{1, 45}},
114901@@ -46,12 +53,13 @@ var sysctlMib = []mibentry{
114902 {"kern.consdev", []_C_int{1, 75}},
114903 {"kern.cp_time", []_C_int{1, 40}},
114904 {"kern.cp_time2", []_C_int{1, 71}},
114905- {"kern.cryptodevallowsoft", []_C_int{1, 53}},
114906+ {"kern.cpustats", []_C_int{1, 85}},
114907 {"kern.domainname", []_C_int{1, 22}},
114908 {"kern.file", []_C_int{1, 73}},
114909 {"kern.forkstat", []_C_int{1, 42}},
114910 {"kern.fscale", []_C_int{1, 46}},
114911 {"kern.fsync", []_C_int{1, 33}},
114912+ {"kern.global_ptrace", []_C_int{1, 81}},
114913 {"kern.hostid", []_C_int{1, 11}},
114914 {"kern.hostname", []_C_int{1, 10}},
114915 {"kern.intrcnt.nintrcnt", []_C_int{1, 63, 1}},
114916@@ -84,7 +92,6 @@ var sysctlMib = []mibentry{
114917 {"kern.pool_debug", []_C_int{1, 77}},
114918 {"kern.posix1version", []_C_int{1, 17}},
114919 {"kern.proc", []_C_int{1, 66}},
114920- {"kern.random", []_C_int{1, 31}},
114921 {"kern.rawpartition", []_C_int{1, 24}},
114922 {"kern.saved_ids", []_C_int{1, 20}},
114923 {"kern.securelevel", []_C_int{1, 9}},
114924@@ -102,21 +109,17 @@ var sysctlMib = []mibentry{
114925 {"kern.timecounter.hardware", []_C_int{1, 69, 3}},
114926 {"kern.timecounter.tick", []_C_int{1, 69, 1}},
114927 {"kern.timecounter.timestepwarnings", []_C_int{1, 69, 2}},
114928- {"kern.tty.maxptys", []_C_int{1, 44, 6}},
114929- {"kern.tty.nptys", []_C_int{1, 44, 7}},
114930 {"kern.tty.tk_cancc", []_C_int{1, 44, 4}},
114931 {"kern.tty.tk_nin", []_C_int{1, 44, 1}},
114932 {"kern.tty.tk_nout", []_C_int{1, 44, 2}},
114933 {"kern.tty.tk_rawcc", []_C_int{1, 44, 3}},
114934 {"kern.tty.ttyinfo", []_C_int{1, 44, 5}},
114935 {"kern.ttycount", []_C_int{1, 57}},
114936- {"kern.userasymcrypto", []_C_int{1, 60}},
114937- {"kern.usercrypto", []_C_int{1, 52}},
114938- {"kern.usermount", []_C_int{1, 30}},
114939 {"kern.version", []_C_int{1, 4}},
114940- {"kern.vnode", []_C_int{1, 13}},
114941 {"kern.watchdog.auto", []_C_int{1, 64, 2}},
114942 {"kern.watchdog.period", []_C_int{1, 64, 1}},
114943+ {"kern.witnesswatch", []_C_int{1, 53}},
114944+ {"kern.wxabort", []_C_int{1, 74}},
114945 {"net.bpf.bufsize", []_C_int{4, 31, 1}},
114946 {"net.bpf.maxbufsize", []_C_int{4, 31, 2}},
114947 {"net.inet.ah.enable", []_C_int{4, 2, 51, 1}},
114948@@ -144,7 +147,9 @@ var sysctlMib = []mibentry{
114949 {"net.inet.icmp.stats", []_C_int{4, 2, 1, 7}},
114950 {"net.inet.icmp.tstamprepl", []_C_int{4, 2, 1, 6}},
114951 {"net.inet.igmp.stats", []_C_int{4, 2, 2, 1}},
114952+ {"net.inet.ip.arpdown", []_C_int{4, 2, 0, 40}},
114953 {"net.inet.ip.arpqueued", []_C_int{4, 2, 0, 36}},
114954+ {"net.inet.ip.arptimeout", []_C_int{4, 2, 0, 39}},
114955 {"net.inet.ip.encdebug", []_C_int{4, 2, 0, 12}},
114956 {"net.inet.ip.forwarding", []_C_int{4, 2, 0, 1}},
114957 {"net.inet.ip.ifq.congestion", []_C_int{4, 2, 0, 30, 4}},
114958@@ -153,8 +158,10 @@ var sysctlMib = []mibentry{
114959 {"net.inet.ip.ifq.maxlen", []_C_int{4, 2, 0, 30, 2}},
114960 {"net.inet.ip.maxqueue", []_C_int{4, 2, 0, 11}},
114961 {"net.inet.ip.mforwarding", []_C_int{4, 2, 0, 31}},
114962+ {"net.inet.ip.mrtmfc", []_C_int{4, 2, 0, 37}},
114963 {"net.inet.ip.mrtproto", []_C_int{4, 2, 0, 34}},
114964 {"net.inet.ip.mrtstats", []_C_int{4, 2, 0, 35}},
114965+ {"net.inet.ip.mrtvif", []_C_int{4, 2, 0, 38}},
114966 {"net.inet.ip.mtu", []_C_int{4, 2, 0, 4}},
114967 {"net.inet.ip.mtudisc", []_C_int{4, 2, 0, 27}},
114968 {"net.inet.ip.mtudisctimeout", []_C_int{4, 2, 0, 28}},
114969@@ -173,7 +180,6 @@ var sysctlMib = []mibentry{
114970 {"net.inet.ipip.stats", []_C_int{4, 2, 4, 2}},
114971 {"net.inet.mobileip.allow", []_C_int{4, 2, 55, 1}},
114972 {"net.inet.pfsync.stats", []_C_int{4, 2, 240, 1}},
114973- {"net.inet.pim.stats", []_C_int{4, 2, 103, 1}},
114974 {"net.inet.tcp.ackonpush", []_C_int{4, 2, 6, 13}},
114975 {"net.inet.tcp.always_keepalive", []_C_int{4, 2, 6, 22}},
114976 {"net.inet.tcp.baddynamic", []_C_int{4, 2, 6, 6}},
114977@@ -187,6 +193,7 @@ var sysctlMib = []mibentry{
114978 {"net.inet.tcp.reasslimit", []_C_int{4, 2, 6, 18}},
114979 {"net.inet.tcp.rfc1323", []_C_int{4, 2, 6, 1}},
114980 {"net.inet.tcp.rfc3390", []_C_int{4, 2, 6, 17}},
114981+ {"net.inet.tcp.rootonly", []_C_int{4, 2, 6, 24}},
114982 {"net.inet.tcp.rstppslimit", []_C_int{4, 2, 6, 12}},
114983 {"net.inet.tcp.sack", []_C_int{4, 2, 6, 10}},
114984 {"net.inet.tcp.sackholelimit", []_C_int{4, 2, 6, 20}},
114985@@ -194,9 +201,12 @@ var sysctlMib = []mibentry{
114986 {"net.inet.tcp.stats", []_C_int{4, 2, 6, 21}},
114987 {"net.inet.tcp.synbucketlimit", []_C_int{4, 2, 6, 16}},
114988 {"net.inet.tcp.syncachelimit", []_C_int{4, 2, 6, 15}},
114989+ {"net.inet.tcp.synhashsize", []_C_int{4, 2, 6, 25}},
114990+ {"net.inet.tcp.synuselimit", []_C_int{4, 2, 6, 23}},
114991 {"net.inet.udp.baddynamic", []_C_int{4, 2, 17, 2}},
114992 {"net.inet.udp.checksum", []_C_int{4, 2, 17, 1}},
114993 {"net.inet.udp.recvspace", []_C_int{4, 2, 17, 3}},
114994+ {"net.inet.udp.rootonly", []_C_int{4, 2, 17, 6}},
114995 {"net.inet.udp.sendspace", []_C_int{4, 2, 17, 4}},
114996 {"net.inet.udp.stats", []_C_int{4, 2, 17, 5}},
114997 {"net.inet6.divert.recvspace", []_C_int{4, 24, 86, 1}},
114998@@ -209,13 +219,8 @@ var sysctlMib = []mibentry{
114999 {"net.inet6.icmp6.nd6_delay", []_C_int{4, 24, 30, 8}},
115000 {"net.inet6.icmp6.nd6_maxnudhint", []_C_int{4, 24, 30, 15}},
115001 {"net.inet6.icmp6.nd6_mmaxtries", []_C_int{4, 24, 30, 10}},
115002- {"net.inet6.icmp6.nd6_prune", []_C_int{4, 24, 30, 6}},
115003 {"net.inet6.icmp6.nd6_umaxtries", []_C_int{4, 24, 30, 9}},
115004- {"net.inet6.icmp6.nd6_useloopback", []_C_int{4, 24, 30, 11}},
115005- {"net.inet6.icmp6.nodeinfo", []_C_int{4, 24, 30, 13}},
115006- {"net.inet6.icmp6.rediraccept", []_C_int{4, 24, 30, 2}},
115007 {"net.inet6.icmp6.redirtimeout", []_C_int{4, 24, 30, 3}},
115008- {"net.inet6.ip6.accept_rtadv", []_C_int{4, 24, 17, 12}},
115009 {"net.inet6.ip6.auto_flowlabel", []_C_int{4, 24, 17, 17}},
115010 {"net.inet6.ip6.dad_count", []_C_int{4, 24, 17, 16}},
115011 {"net.inet6.ip6.dad_pending", []_C_int{4, 24, 17, 49}},
115012@@ -228,20 +233,19 @@ var sysctlMib = []mibentry{
115013 {"net.inet6.ip6.maxdynroutes", []_C_int{4, 24, 17, 48}},
115014 {"net.inet6.ip6.maxfragpackets", []_C_int{4, 24, 17, 9}},
115015 {"net.inet6.ip6.maxfrags", []_C_int{4, 24, 17, 41}},
115016- {"net.inet6.ip6.maxifdefrouters", []_C_int{4, 24, 17, 47}},
115017- {"net.inet6.ip6.maxifprefixes", []_C_int{4, 24, 17, 46}},
115018 {"net.inet6.ip6.mforwarding", []_C_int{4, 24, 17, 42}},
115019+ {"net.inet6.ip6.mrtmfc", []_C_int{4, 24, 17, 53}},
115020+ {"net.inet6.ip6.mrtmif", []_C_int{4, 24, 17, 52}},
115021 {"net.inet6.ip6.mrtproto", []_C_int{4, 24, 17, 8}},
115022 {"net.inet6.ip6.mtudisctimeout", []_C_int{4, 24, 17, 50}},
115023 {"net.inet6.ip6.multicast_mtudisc", []_C_int{4, 24, 17, 44}},
115024 {"net.inet6.ip6.multipath", []_C_int{4, 24, 17, 43}},
115025 {"net.inet6.ip6.neighborgcthresh", []_C_int{4, 24, 17, 45}},
115026 {"net.inet6.ip6.redirect", []_C_int{4, 24, 17, 2}},
115027- {"net.inet6.ip6.rr_prune", []_C_int{4, 24, 17, 22}},
115028+ {"net.inet6.ip6.soiikey", []_C_int{4, 24, 17, 54}},
115029 {"net.inet6.ip6.sourcecheck", []_C_int{4, 24, 17, 10}},
115030 {"net.inet6.ip6.sourcecheck_logint", []_C_int{4, 24, 17, 11}},
115031 {"net.inet6.ip6.use_deprecated", []_C_int{4, 24, 17, 21}},
115032- {"net.inet6.ip6.v6only", []_C_int{4, 24, 17, 24}},
115033 {"net.key.sadb_dump", []_C_int{4, 30, 1}},
115034 {"net.key.spd_dump", []_C_int{4, 30, 2}},
115035 {"net.mpls.ifq.congestion", []_C_int{4, 33, 3, 4}},
115036@@ -256,6 +260,7 @@ var sysctlMib = []mibentry{
115037 {"net.pipex.enable", []_C_int{4, 35, 1}},
115038 {"vm.anonmin", []_C_int{2, 7}},
115039 {"vm.loadavg", []_C_int{2, 2}},
115040+ {"vm.malloc_conf", []_C_int{2, 12}},
115041 {"vm.maxslp", []_C_int{2, 10}},
115042 {"vm.nkmempages", []_C_int{2, 6}},
115043 {"vm.psstrings", []_C_int{2, 3}},
115044diff --git a/vendor/golang.org/x/sys/unix/zsysnum_darwin_386.go b/vendor/golang.org/x/sys/unix/zsysnum_darwin_386.go
115045index 2786773b..f3361453 100644
115046--- a/vendor/golang.org/x/sys/unix/zsysnum_darwin_386.go
115047+++ b/vendor/golang.org/x/sys/unix/zsysnum_darwin_386.go
115048@@ -1,5 +1,5 @@
115049-// mksysnum_darwin.pl /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/syscall.h
115050-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
115051+// go run mksysnum.go /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/sys/syscall.h
115052+// Code generated by the command above; see README.md. DO NOT EDIT.
115053
115054 // +build 386,darwin
115055
115056@@ -121,13 +121,15 @@ const (
115057 SYS_CSOPS = 169
115058 SYS_CSOPS_AUDITTOKEN = 170
115059 SYS_WAITID = 173
115060+ SYS_KDEBUG_TYPEFILTER = 177
115061+ SYS_KDEBUG_TRACE_STRING = 178
115062 SYS_KDEBUG_TRACE64 = 179
115063 SYS_KDEBUG_TRACE = 180
115064 SYS_SETGID = 181
115065 SYS_SETEGID = 182
115066 SYS_SETEUID = 183
115067 SYS_SIGRETURN = 184
115068- SYS_CHUD = 185
115069+ SYS_THREAD_SELFCOUNTS = 186
115070 SYS_FDATASYNC = 187
115071 SYS_STAT = 188
115072 SYS_FSTAT = 189
115073@@ -278,7 +280,6 @@ const (
115074 SYS_KQUEUE = 362
115075 SYS_KEVENT = 363
115076 SYS_LCHOWN = 364
115077- SYS_STACK_SNAPSHOT = 365
115078 SYS_BSDTHREAD_REGISTER = 366
115079 SYS_WORKQ_OPEN = 367
115080 SYS_WORKQ_KERNRETURN = 368
115081@@ -287,6 +288,8 @@ const (
115082 SYS___OLD_SEMWAIT_SIGNAL_NOCANCEL = 371
115083 SYS_THREAD_SELFID = 372
115084 SYS_LEDGER = 373
115085+ SYS_KEVENT_QOS = 374
115086+ SYS_KEVENT_ID = 375
115087 SYS___MAC_EXECVE = 380
115088 SYS___MAC_SYSCALL = 381
115089 SYS___MAC_GET_FILE = 382
115090@@ -298,11 +301,8 @@ const (
115091 SYS___MAC_GET_FD = 388
115092 SYS___MAC_SET_FD = 389
115093 SYS___MAC_GET_PID = 390
115094- SYS___MAC_GET_LCID = 391
115095- SYS___MAC_GET_LCTX = 392
115096- SYS___MAC_SET_LCTX = 393
115097- SYS_SETLCID = 394
115098- SYS_GETLCID = 395
115099+ SYS_PSELECT = 394
115100+ SYS_PSELECT_NOCANCEL = 395
115101 SYS_READ_NOCANCEL = 396
115102 SYS_WRITE_NOCANCEL = 397
115103 SYS_OPEN_NOCANCEL = 398
115104@@ -351,6 +351,7 @@ const (
115105 SYS_GUARDED_CLOSE_NP = 442
115106 SYS_GUARDED_KQUEUE_NP = 443
115107 SYS_CHANGE_FDGUARD_NP = 444
115108+ SYS_USRCTL = 445
115109 SYS_PROC_RLIMIT_CONTROL = 446
115110 SYS_CONNECTX = 447
115111 SYS_DISCONNECTX = 448
115112@@ -367,6 +368,7 @@ const (
115113 SYS_COALITION_INFO = 459
115114 SYS_NECP_MATCH_POLICY = 460
115115 SYS_GETATTRLISTBULK = 461
115116+ SYS_CLONEFILEAT = 462
115117 SYS_OPENAT = 463
115118 SYS_OPENAT_NOCANCEL = 464
115119 SYS_RENAMEAT = 465
115120@@ -392,7 +394,43 @@ const (
115121 SYS_GUARDED_WRITE_NP = 485
115122 SYS_GUARDED_PWRITE_NP = 486
115123 SYS_GUARDED_WRITEV_NP = 487
115124- SYS_RENAME_EXT = 488
115125+ SYS_RENAMEATX_NP = 488
115126 SYS_MREMAP_ENCRYPTED = 489
115127- SYS_MAXSYSCALL = 490
115128+ SYS_NETAGENT_TRIGGER = 490
115129+ SYS_STACK_SNAPSHOT_WITH_CONFIG = 491
115130+ SYS_MICROSTACKSHOT = 492
115131+ SYS_GRAB_PGO_DATA = 493
115132+ SYS_PERSONA = 494
115133+ SYS_WORK_INTERVAL_CTL = 499
115134+ SYS_GETENTROPY = 500
115135+ SYS_NECP_OPEN = 501
115136+ SYS_NECP_CLIENT_ACTION = 502
115137+ SYS___NEXUS_OPEN = 503
115138+ SYS___NEXUS_REGISTER = 504
115139+ SYS___NEXUS_DEREGISTER = 505
115140+ SYS___NEXUS_CREATE = 506
115141+ SYS___NEXUS_DESTROY = 507
115142+ SYS___NEXUS_GET_OPT = 508
115143+ SYS___NEXUS_SET_OPT = 509
115144+ SYS___CHANNEL_OPEN = 510
115145+ SYS___CHANNEL_GET_INFO = 511
115146+ SYS___CHANNEL_SYNC = 512
115147+ SYS___CHANNEL_GET_OPT = 513
115148+ SYS___CHANNEL_SET_OPT = 514
115149+ SYS_ULOCK_WAIT = 515
115150+ SYS_ULOCK_WAKE = 516
115151+ SYS_FCLONEFILEAT = 517
115152+ SYS_FS_SNAPSHOT = 518
115153+ SYS_TERMINATE_WITH_PAYLOAD = 520
115154+ SYS_ABORT_WITH_PAYLOAD = 521
115155+ SYS_NECP_SESSION_OPEN = 522
115156+ SYS_NECP_SESSION_ACTION = 523
115157+ SYS_SETATTRLISTAT = 524
115158+ SYS_NET_QOS_GUIDELINE = 525
115159+ SYS_FMOUNT = 526
115160+ SYS_NTP_ADJTIME = 527
115161+ SYS_NTP_GETTIME = 528
115162+ SYS_OS_FAULT_WITH_PAYLOAD = 529
115163+ SYS_MAXSYSCALL = 530
115164+ SYS_INVALID = 63
115165 )
115166diff --git a/vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go
115167index 09de240c..654dd3da 100644
115168--- a/vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go
115169+++ b/vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go
115170@@ -1,5 +1,5 @@
115171-// mksysnum_darwin.pl /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/syscall.h
115172-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
115173+// go run mksysnum.go /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/syscall.h
115174+// Code generated by the command above; see README.md. DO NOT EDIT.
115175
115176 // +build amd64,darwin
115177
115178@@ -121,13 +121,15 @@ const (
115179 SYS_CSOPS = 169
115180 SYS_CSOPS_AUDITTOKEN = 170
115181 SYS_WAITID = 173
115182+ SYS_KDEBUG_TYPEFILTER = 177
115183+ SYS_KDEBUG_TRACE_STRING = 178
115184 SYS_KDEBUG_TRACE64 = 179
115185 SYS_KDEBUG_TRACE = 180
115186 SYS_SETGID = 181
115187 SYS_SETEGID = 182
115188 SYS_SETEUID = 183
115189 SYS_SIGRETURN = 184
115190- SYS_CHUD = 185
115191+ SYS_THREAD_SELFCOUNTS = 186
115192 SYS_FDATASYNC = 187
115193 SYS_STAT = 188
115194 SYS_FSTAT = 189
115195@@ -278,7 +280,6 @@ const (
115196 SYS_KQUEUE = 362
115197 SYS_KEVENT = 363
115198 SYS_LCHOWN = 364
115199- SYS_STACK_SNAPSHOT = 365
115200 SYS_BSDTHREAD_REGISTER = 366
115201 SYS_WORKQ_OPEN = 367
115202 SYS_WORKQ_KERNRETURN = 368
115203@@ -287,6 +288,8 @@ const (
115204 SYS___OLD_SEMWAIT_SIGNAL_NOCANCEL = 371
115205 SYS_THREAD_SELFID = 372
115206 SYS_LEDGER = 373
115207+ SYS_KEVENT_QOS = 374
115208+ SYS_KEVENT_ID = 375
115209 SYS___MAC_EXECVE = 380
115210 SYS___MAC_SYSCALL = 381
115211 SYS___MAC_GET_FILE = 382
115212@@ -298,11 +301,8 @@ const (
115213 SYS___MAC_GET_FD = 388
115214 SYS___MAC_SET_FD = 389
115215 SYS___MAC_GET_PID = 390
115216- SYS___MAC_GET_LCID = 391
115217- SYS___MAC_GET_LCTX = 392
115218- SYS___MAC_SET_LCTX = 393
115219- SYS_SETLCID = 394
115220- SYS_GETLCID = 395
115221+ SYS_PSELECT = 394
115222+ SYS_PSELECT_NOCANCEL = 395
115223 SYS_READ_NOCANCEL = 396
115224 SYS_WRITE_NOCANCEL = 397
115225 SYS_OPEN_NOCANCEL = 398
115226@@ -351,6 +351,7 @@ const (
115227 SYS_GUARDED_CLOSE_NP = 442
115228 SYS_GUARDED_KQUEUE_NP = 443
115229 SYS_CHANGE_FDGUARD_NP = 444
115230+ SYS_USRCTL = 445
115231 SYS_PROC_RLIMIT_CONTROL = 446
115232 SYS_CONNECTX = 447
115233 SYS_DISCONNECTX = 448
115234@@ -367,6 +368,7 @@ const (
115235 SYS_COALITION_INFO = 459
115236 SYS_NECP_MATCH_POLICY = 460
115237 SYS_GETATTRLISTBULK = 461
115238+ SYS_CLONEFILEAT = 462
115239 SYS_OPENAT = 463
115240 SYS_OPENAT_NOCANCEL = 464
115241 SYS_RENAMEAT = 465
115242@@ -392,7 +394,45 @@ const (
115243 SYS_GUARDED_WRITE_NP = 485
115244 SYS_GUARDED_PWRITE_NP = 486
115245 SYS_GUARDED_WRITEV_NP = 487
115246- SYS_RENAME_EXT = 488
115247+ SYS_RENAMEATX_NP = 488
115248 SYS_MREMAP_ENCRYPTED = 489
115249- SYS_MAXSYSCALL = 490
115250+ SYS_NETAGENT_TRIGGER = 490
115251+ SYS_STACK_SNAPSHOT_WITH_CONFIG = 491
115252+ SYS_MICROSTACKSHOT = 492
115253+ SYS_GRAB_PGO_DATA = 493
115254+ SYS_PERSONA = 494
115255+ SYS_WORK_INTERVAL_CTL = 499
115256+ SYS_GETENTROPY = 500
115257+ SYS_NECP_OPEN = 501
115258+ SYS_NECP_CLIENT_ACTION = 502
115259+ SYS___NEXUS_OPEN = 503
115260+ SYS___NEXUS_REGISTER = 504
115261+ SYS___NEXUS_DEREGISTER = 505
115262+ SYS___NEXUS_CREATE = 506
115263+ SYS___NEXUS_DESTROY = 507
115264+ SYS___NEXUS_GET_OPT = 508
115265+ SYS___NEXUS_SET_OPT = 509
115266+ SYS___CHANNEL_OPEN = 510
115267+ SYS___CHANNEL_GET_INFO = 511
115268+ SYS___CHANNEL_SYNC = 512
115269+ SYS___CHANNEL_GET_OPT = 513
115270+ SYS___CHANNEL_SET_OPT = 514
115271+ SYS_ULOCK_WAIT = 515
115272+ SYS_ULOCK_WAKE = 516
115273+ SYS_FCLONEFILEAT = 517
115274+ SYS_FS_SNAPSHOT = 518
115275+ SYS_TERMINATE_WITH_PAYLOAD = 520
115276+ SYS_ABORT_WITH_PAYLOAD = 521
115277+ SYS_NECP_SESSION_OPEN = 522
115278+ SYS_NECP_SESSION_ACTION = 523
115279+ SYS_SETATTRLISTAT = 524
115280+ SYS_NET_QOS_GUIDELINE = 525
115281+ SYS_FMOUNT = 526
115282+ SYS_NTP_ADJTIME = 527
115283+ SYS_NTP_GETTIME = 528
115284+ SYS_OS_FAULT_WITH_PAYLOAD = 529
115285+ SYS_KQUEUE_WORKLOOP_CTL = 530
115286+ SYS___MACH_BRIDGE_REMOTE_TIME = 531
115287+ SYS_MAXSYSCALL = 532
115288+ SYS_INVALID = 63
115289 )
115290diff --git a/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm.go b/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm.go
115291index 41cb6ed3..103a72ed 100644
115292--- a/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm.go
115293+++ b/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm.go
115294@@ -1,4 +1,4 @@
115295-// mksysnum_darwin.pl /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/usr/include/sys/syscall.h
115296+// go run mksysnum.go /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.1.sdk/usr/include/sys/syscall.h
115297 // Code generated by the command above; see README.md. DO NOT EDIT.
115298
115299 // +build arm,darwin
115300@@ -129,6 +129,7 @@ const (
115301 SYS_SETEGID = 182
115302 SYS_SETEUID = 183
115303 SYS_SIGRETURN = 184
115304+ SYS_THREAD_SELFCOUNTS = 186
115305 SYS_FDATASYNC = 187
115306 SYS_STAT = 188
115307 SYS_FSTAT = 189
115308@@ -288,6 +289,7 @@ const (
115309 SYS_THREAD_SELFID = 372
115310 SYS_LEDGER = 373
115311 SYS_KEVENT_QOS = 374
115312+ SYS_KEVENT_ID = 375
115313 SYS___MAC_EXECVE = 380
115314 SYS___MAC_SYSCALL = 381
115315 SYS___MAC_GET_FILE = 382
115316@@ -421,6 +423,14 @@ const (
115317 SYS_FS_SNAPSHOT = 518
115318 SYS_TERMINATE_WITH_PAYLOAD = 520
115319 SYS_ABORT_WITH_PAYLOAD = 521
115320- SYS_MAXSYSCALL = 522
115321+ SYS_NECP_SESSION_OPEN = 522
115322+ SYS_NECP_SESSION_ACTION = 523
115323+ SYS_SETATTRLISTAT = 524
115324+ SYS_NET_QOS_GUIDELINE = 525
115325+ SYS_FMOUNT = 526
115326+ SYS_NTP_ADJTIME = 527
115327+ SYS_NTP_GETTIME = 528
115328+ SYS_OS_FAULT_WITH_PAYLOAD = 529
115329+ SYS_MAXSYSCALL = 530
115330 SYS_INVALID = 63
115331 )
115332diff --git a/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go b/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go
115333index 075816c3..7ab2130b 100644
115334--- a/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go
115335+++ b/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go
115336@@ -1,4 +1,4 @@
115337-// mksysnum_darwin.pl /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/usr/include/sys/syscall.h
115338+// go run mksysnum.go /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.1.sdk/usr/include/sys/syscall.h
115339 // Code generated by the command above; see README.md. DO NOT EDIT.
115340
115341 // +build arm64,darwin
115342@@ -129,6 +129,7 @@ const (
115343 SYS_SETEGID = 182
115344 SYS_SETEUID = 183
115345 SYS_SIGRETURN = 184
115346+ SYS_THREAD_SELFCOUNTS = 186
115347 SYS_FDATASYNC = 187
115348 SYS_STAT = 188
115349 SYS_FSTAT = 189
115350@@ -288,6 +289,7 @@ const (
115351 SYS_THREAD_SELFID = 372
115352 SYS_LEDGER = 373
115353 SYS_KEVENT_QOS = 374
115354+ SYS_KEVENT_ID = 375
115355 SYS___MAC_EXECVE = 380
115356 SYS___MAC_SYSCALL = 381
115357 SYS___MAC_GET_FILE = 382
115358@@ -421,6 +423,14 @@ const (
115359 SYS_FS_SNAPSHOT = 518
115360 SYS_TERMINATE_WITH_PAYLOAD = 520
115361 SYS_ABORT_WITH_PAYLOAD = 521
115362- SYS_MAXSYSCALL = 522
115363+ SYS_NECP_SESSION_OPEN = 522
115364+ SYS_NECP_SESSION_ACTION = 523
115365+ SYS_SETATTRLISTAT = 524
115366+ SYS_NET_QOS_GUIDELINE = 525
115367+ SYS_FMOUNT = 526
115368+ SYS_NTP_ADJTIME = 527
115369+ SYS_NTP_GETTIME = 528
115370+ SYS_OS_FAULT_WITH_PAYLOAD = 529
115371+ SYS_MAXSYSCALL = 530
115372 SYS_INVALID = 63
115373 )
115374diff --git a/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go
115375index b2c9ef81..464c9a98 100644
115376--- a/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go
115377+++ b/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go
115378@@ -1,4 +1,4 @@
115379-// mksysnum_dragonfly.pl
115380+// go run mksysnum.go https://gitweb.dragonflybsd.org/dragonfly.git/blob_plain/HEAD:/sys/kern/syscalls.master
115381 // Code generated by the command above; see README.md. DO NOT EDIT.
115382
115383 // +build amd64,dragonfly
115384@@ -13,7 +13,7 @@ const (
115385 SYS_WRITE = 4 // { ssize_t write(int fd, const void *buf, size_t nbyte); }
115386 SYS_OPEN = 5 // { int open(char *path, int flags, int mode); }
115387 SYS_CLOSE = 6 // { int close(int fd); }
115388- SYS_WAIT4 = 7 // { int wait4(int pid, int *status, int options, \
115389+ SYS_WAIT4 = 7 // { int wait4(int pid, int *status, int options, struct rusage *rusage); } wait4 wait_args int
115390 SYS_LINK = 9 // { int link(char *path, char *link); }
115391 SYS_UNLINK = 10 // { int unlink(char *path); }
115392 SYS_CHDIR = 12 // { int chdir(char *path); }
115393@@ -22,17 +22,17 @@ const (
115394 SYS_CHMOD = 15 // { int chmod(char *path, int mode); }
115395 SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); }
115396 SYS_OBREAK = 17 // { int obreak(char *nsize); } break obreak_args int
115397- SYS_GETFSSTAT = 18 // { int getfsstat(struct statfs *buf, long bufsize, \
115398+ SYS_GETFSSTAT = 18 // { int getfsstat(struct statfs *buf, long bufsize, int flags); }
115399 SYS_GETPID = 20 // { pid_t getpid(void); }
115400- SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, \
115401+ SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, caddr_t data); }
115402 SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); }
115403 SYS_SETUID = 23 // { int setuid(uid_t uid); }
115404 SYS_GETUID = 24 // { uid_t getuid(void); }
115405 SYS_GETEUID = 25 // { uid_t geteuid(void); }
115406- SYS_PTRACE = 26 // { int ptrace(int req, pid_t pid, caddr_t addr, \
115407+ SYS_PTRACE = 26 // { int ptrace(int req, pid_t pid, caddr_t addr, int data); }
115408 SYS_RECVMSG = 27 // { int recvmsg(int s, struct msghdr *msg, int flags); }
115409 SYS_SENDMSG = 28 // { int sendmsg(int s, caddr_t msg, int flags); }
115410- SYS_RECVFROM = 29 // { int recvfrom(int s, caddr_t buf, size_t len, \
115411+ SYS_RECVFROM = 29 // { int recvfrom(int s, caddr_t buf, size_t len, int flags, caddr_t from, int *fromlenaddr); }
115412 SYS_ACCEPT = 30 // { int accept(int s, caddr_t name, int *anamelen); }
115413 SYS_GETPEERNAME = 31 // { int getpeername(int fdes, caddr_t asa, int *alen); }
115414 SYS_GETSOCKNAME = 32 // { int getsockname(int fdes, caddr_t asa, int *alen); }
115415@@ -45,8 +45,8 @@ const (
115416 SYS_DUP = 41 // { int dup(int fd); }
115417 SYS_PIPE = 42 // { int pipe(void); }
115418 SYS_GETEGID = 43 // { gid_t getegid(void); }
115419- SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, \
115420- SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, \
115421+ SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, size_t offset, u_int scale); }
115422+ SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, int pid); }
115423 SYS_GETGID = 47 // { gid_t getgid(void); }
115424 SYS_GETLOGIN = 49 // { int getlogin(char *namebuf, u_int namelen); }
115425 SYS_SETLOGIN = 50 // { int setlogin(char *namebuf); }
115426@@ -67,32 +67,32 @@ const (
115427 SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); }
115428 SYS_MPROTECT = 74 // { int mprotect(void *addr, size_t len, int prot); }
115429 SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, int behav); }
115430- SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, \
115431+ SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, char *vec); }
115432 SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, gid_t *gidset); }
115433 SYS_SETGROUPS = 80 // { int setgroups(u_int gidsetsize, gid_t *gidset); }
115434 SYS_GETPGRP = 81 // { int getpgrp(void); }
115435 SYS_SETPGID = 82 // { int setpgid(int pid, int pgid); }
115436- SYS_SETITIMER = 83 // { int setitimer(u_int which, struct itimerval *itv, \
115437+ SYS_SETITIMER = 83 // { int setitimer(u_int which, struct itimerval *itv, struct itimerval *oitv); }
115438 SYS_SWAPON = 85 // { int swapon(char *name); }
115439 SYS_GETITIMER = 86 // { int getitimer(u_int which, struct itimerval *itv); }
115440 SYS_GETDTABLESIZE = 89 // { int getdtablesize(void); }
115441 SYS_DUP2 = 90 // { int dup2(int from, int to); }
115442 SYS_FCNTL = 92 // { int fcntl(int fd, int cmd, long arg); }
115443- SYS_SELECT = 93 // { int select(int nd, fd_set *in, fd_set *ou, \
115444+ SYS_SELECT = 93 // { int select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); }
115445 SYS_FSYNC = 95 // { int fsync(int fd); }
115446 SYS_SETPRIORITY = 96 // { int setpriority(int which, int who, int prio); }
115447 SYS_SOCKET = 97 // { int socket(int domain, int type, int protocol); }
115448 SYS_CONNECT = 98 // { int connect(int s, caddr_t name, int namelen); }
115449 SYS_GETPRIORITY = 100 // { int getpriority(int which, int who); }
115450 SYS_BIND = 104 // { int bind(int s, caddr_t name, int namelen); }
115451- SYS_SETSOCKOPT = 105 // { int setsockopt(int s, int level, int name, \
115452+ SYS_SETSOCKOPT = 105 // { int setsockopt(int s, int level, int name, caddr_t val, int valsize); }
115453 SYS_LISTEN = 106 // { int listen(int s, int backlog); }
115454- SYS_GETTIMEOFDAY = 116 // { int gettimeofday(struct timeval *tp, \
115455+ SYS_GETTIMEOFDAY = 116 // { int gettimeofday(struct timeval *tp, struct timezone *tzp); }
115456 SYS_GETRUSAGE = 117 // { int getrusage(int who, struct rusage *rusage); }
115457- SYS_GETSOCKOPT = 118 // { int getsockopt(int s, int level, int name, \
115458+ SYS_GETSOCKOPT = 118 // { int getsockopt(int s, int level, int name, caddr_t val, int *avalsize); }
115459 SYS_READV = 120 // { int readv(int fd, struct iovec *iovp, u_int iovcnt); }
115460- SYS_WRITEV = 121 // { int writev(int fd, struct iovec *iovp, \
115461- SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, \
115462+ SYS_WRITEV = 121 // { int writev(int fd, struct iovec *iovp, u_int iovcnt); }
115463+ SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, struct timezone *tzp); }
115464 SYS_FCHOWN = 123 // { int fchown(int fd, int uid, int gid); }
115465 SYS_FCHMOD = 124 // { int fchmod(int fd, int mode); }
115466 SYS_SETREUID = 126 // { int setreuid(int ruid, int euid); }
115467@@ -100,15 +100,15 @@ const (
115468 SYS_RENAME = 128 // { int rename(char *from, char *to); }
115469 SYS_FLOCK = 131 // { int flock(int fd, int how); }
115470 SYS_MKFIFO = 132 // { int mkfifo(char *path, int mode); }
115471- SYS_SENDTO = 133 // { int sendto(int s, caddr_t buf, size_t len, \
115472+ SYS_SENDTO = 133 // { int sendto(int s, caddr_t buf, size_t len, int flags, caddr_t to, int tolen); }
115473 SYS_SHUTDOWN = 134 // { int shutdown(int s, int how); }
115474- SYS_SOCKETPAIR = 135 // { int socketpair(int domain, int type, int protocol, \
115475+ SYS_SOCKETPAIR = 135 // { int socketpair(int domain, int type, int protocol, int *rsv); }
115476 SYS_MKDIR = 136 // { int mkdir(char *path, int mode); }
115477 SYS_RMDIR = 137 // { int rmdir(char *path); }
115478 SYS_UTIMES = 138 // { int utimes(char *path, struct timeval *tptr); }
115479- SYS_ADJTIME = 140 // { int adjtime(struct timeval *delta, \
115480+ SYS_ADJTIME = 140 // { int adjtime(struct timeval *delta, struct timeval *olddelta); }
115481 SYS_SETSID = 147 // { int setsid(void); }
115482- SYS_QUOTACTL = 148 // { int quotactl(char *path, int cmd, int uid, \
115483+ SYS_QUOTACTL = 148 // { int quotactl(char *path, int cmd, int uid, caddr_t arg); }
115484 SYS_STATFS = 157 // { int statfs(char *path, struct statfs *buf); }
115485 SYS_FSTATFS = 158 // { int fstatfs(int fd, struct statfs *buf); }
115486 SYS_GETFH = 161 // { int getfh(char *fname, struct fhandle *fhp); }
115487@@ -116,53 +116,53 @@ const (
115488 SYS_SETDOMAINNAME = 163 // { int setdomainname(char *domainname, int len); }
115489 SYS_UNAME = 164 // { int uname(struct utsname *name); }
115490 SYS_SYSARCH = 165 // { int sysarch(int op, char *parms); }
115491- SYS_RTPRIO = 166 // { int rtprio(int function, pid_t pid, \
115492- SYS_EXTPREAD = 173 // { ssize_t extpread(int fd, void *buf, \
115493- SYS_EXTPWRITE = 174 // { ssize_t extpwrite(int fd, const void *buf, \
115494+ SYS_RTPRIO = 166 // { int rtprio(int function, pid_t pid, struct rtprio *rtp); }
115495+ SYS_EXTPREAD = 173 // { ssize_t extpread(int fd, void *buf, size_t nbyte, int flags, off_t offset); }
115496+ SYS_EXTPWRITE = 174 // { ssize_t extpwrite(int fd, const void *buf, size_t nbyte, int flags, off_t offset); }
115497 SYS_NTP_ADJTIME = 176 // { int ntp_adjtime(struct timex *tp); }
115498 SYS_SETGID = 181 // { int setgid(gid_t gid); }
115499 SYS_SETEGID = 182 // { int setegid(gid_t egid); }
115500 SYS_SETEUID = 183 // { int seteuid(uid_t euid); }
115501 SYS_PATHCONF = 191 // { int pathconf(char *path, int name); }
115502 SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); }
115503- SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, \
115504- SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, \
115505- SYS_MMAP = 197 // { caddr_t mmap(caddr_t addr, size_t len, int prot, \
115506+ SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, struct rlimit *rlp); } getrlimit __getrlimit_args int
115507+ SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int
115508+ SYS_MMAP = 197 // { caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, int pad, off_t pos); }
115509 // SYS_NOSYS = 198; // { int nosys(void); } __syscall __syscall_args int
115510- SYS_LSEEK = 199 // { off_t lseek(int fd, int pad, off_t offset, \
115511+ SYS_LSEEK = 199 // { off_t lseek(int fd, int pad, off_t offset, int whence); }
115512 SYS_TRUNCATE = 200 // { int truncate(char *path, int pad, off_t length); }
115513 SYS_FTRUNCATE = 201 // { int ftruncate(int fd, int pad, off_t length); }
115514- SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, void *old, \
115515+ SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } __sysctl sysctl_args int
115516 SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); }
115517 SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); }
115518 SYS_UNDELETE = 205 // { int undelete(char *path); }
115519 SYS_FUTIMES = 206 // { int futimes(int fd, struct timeval *tptr); }
115520 SYS_GETPGID = 207 // { int getpgid(pid_t pid); }
115521- SYS_POLL = 209 // { int poll(struct pollfd *fds, u_int nfds, \
115522- SYS___SEMCTL = 220 // { int __semctl(int semid, int semnum, int cmd, \
115523+ SYS_POLL = 209 // { int poll(struct pollfd *fds, u_int nfds, int timeout); }
115524+ SYS___SEMCTL = 220 // { int __semctl(int semid, int semnum, int cmd, union semun *arg); }
115525 SYS_SEMGET = 221 // { int semget(key_t key, int nsems, int semflg); }
115526- SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, \
115527- SYS_MSGCTL = 224 // { int msgctl(int msqid, int cmd, \
115528+ SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, u_int nsops); }
115529+ SYS_MSGCTL = 224 // { int msgctl(int msqid, int cmd, struct msqid_ds *buf); }
115530 SYS_MSGGET = 225 // { int msgget(key_t key, int msgflg); }
115531- SYS_MSGSND = 226 // { int msgsnd(int msqid, const void *msgp, size_t msgsz, \
115532- SYS_MSGRCV = 227 // { int msgrcv(int msqid, void *msgp, size_t msgsz, \
115533- SYS_SHMAT = 228 // { caddr_t shmat(int shmid, const void *shmaddr, \
115534- SYS_SHMCTL = 229 // { int shmctl(int shmid, int cmd, \
115535+ SYS_MSGSND = 226 // { int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); }
115536+ SYS_MSGRCV = 227 // { int msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
115537+ SYS_SHMAT = 228 // { caddr_t shmat(int shmid, const void *shmaddr, int shmflg); }
115538+ SYS_SHMCTL = 229 // { int shmctl(int shmid, int cmd, struct shmid_ds *buf); }
115539 SYS_SHMDT = 230 // { int shmdt(const void *shmaddr); }
115540 SYS_SHMGET = 231 // { int shmget(key_t key, size_t size, int shmflg); }
115541- SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, \
115542- SYS_CLOCK_SETTIME = 233 // { int clock_settime(clockid_t clock_id, \
115543- SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, \
115544- SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, \
115545+ SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, struct timespec *tp); }
115546+ SYS_CLOCK_SETTIME = 233 // { int clock_settime(clockid_t clock_id, const struct timespec *tp); }
115547+ SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, struct timespec *tp); }
115548+ SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); }
115549 SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, int inherit); }
115550 SYS_RFORK = 251 // { int rfork(int flags); }
115551- SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, u_int nfds, \
115552+ SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, u_int nfds, int timeout); }
115553 SYS_ISSETUGID = 253 // { int issetugid(void); }
115554 SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); }
115555 SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); }
115556 SYS_LUTIMES = 276 // { int lutimes(char *path, struct timeval *tptr); }
115557- SYS_EXTPREADV = 289 // { ssize_t extpreadv(int fd, struct iovec *iovp, \
115558- SYS_EXTPWRITEV = 290 // { ssize_t extpwritev(int fd, struct iovec *iovp,\
115559+ SYS_EXTPREADV = 289 // { ssize_t extpreadv(int fd, struct iovec *iovp, u_int iovcnt, int flags, off_t offset); }
115560+ SYS_EXTPWRITEV = 290 // { ssize_t extpwritev(int fd, struct iovec *iovp,u_int iovcnt, int flags, off_t offset); }
115561 SYS_FHSTATFS = 297 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); }
115562 SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); }
115563 SYS_MODNEXT = 300 // { int modnext(int modid); }
115564@@ -200,34 +200,34 @@ const (
115565 SYS_UTRACE = 335 // { int utrace(const void *addr, size_t len); }
115566 SYS_KLDSYM = 337 // { int kldsym(int fileid, int cmd, void *data); }
115567 SYS_JAIL = 338 // { int jail(struct jail *jail); }
115568- SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, const sigset_t *set, \
115569+ SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, const sigset_t *set, sigset_t *oset); }
115570 SYS_SIGSUSPEND = 341 // { int sigsuspend(const sigset_t *sigmask); }
115571- SYS_SIGACTION = 342 // { int sigaction(int sig, const struct sigaction *act, \
115572+ SYS_SIGACTION = 342 // { int sigaction(int sig, const struct sigaction *act, struct sigaction *oact); }
115573 SYS_SIGPENDING = 343 // { int sigpending(sigset_t *set); }
115574 SYS_SIGRETURN = 344 // { int sigreturn(ucontext_t *sigcntxp); }
115575- SYS_SIGTIMEDWAIT = 345 // { int sigtimedwait(const sigset_t *set,\
115576- SYS_SIGWAITINFO = 346 // { int sigwaitinfo(const sigset_t *set,\
115577- SYS___ACL_GET_FILE = 347 // { int __acl_get_file(const char *path, \
115578- SYS___ACL_SET_FILE = 348 // { int __acl_set_file(const char *path, \
115579- SYS___ACL_GET_FD = 349 // { int __acl_get_fd(int filedes, acl_type_t type, \
115580- SYS___ACL_SET_FD = 350 // { int __acl_set_fd(int filedes, acl_type_t type, \
115581- SYS___ACL_DELETE_FILE = 351 // { int __acl_delete_file(const char *path, \
115582+ SYS_SIGTIMEDWAIT = 345 // { int sigtimedwait(const sigset_t *set,siginfo_t *info, const struct timespec *timeout); }
115583+ SYS_SIGWAITINFO = 346 // { int sigwaitinfo(const sigset_t *set,siginfo_t *info); }
115584+ SYS___ACL_GET_FILE = 347 // { int __acl_get_file(const char *path, acl_type_t type, struct acl *aclp); }
115585+ SYS___ACL_SET_FILE = 348 // { int __acl_set_file(const char *path, acl_type_t type, struct acl *aclp); }
115586+ SYS___ACL_GET_FD = 349 // { int __acl_get_fd(int filedes, acl_type_t type, struct acl *aclp); }
115587+ SYS___ACL_SET_FD = 350 // { int __acl_set_fd(int filedes, acl_type_t type, struct acl *aclp); }
115588+ SYS___ACL_DELETE_FILE = 351 // { int __acl_delete_file(const char *path, acl_type_t type); }
115589 SYS___ACL_DELETE_FD = 352 // { int __acl_delete_fd(int filedes, acl_type_t type); }
115590- SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, \
115591- SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, \
115592- SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, \
115593- SYS_EXTATTR_SET_FILE = 356 // { int extattr_set_file(const char *path, \
115594- SYS_EXTATTR_GET_FILE = 357 // { int extattr_get_file(const char *path, \
115595- SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, \
115596+ SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, acl_type_t type, struct acl *aclp); }
115597+ SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, struct acl *aclp); }
115598+ SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); }
115599+ SYS_EXTATTR_SET_FILE = 356 // { int extattr_set_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
115600+ SYS_EXTATTR_GET_FILE = 357 // { int extattr_get_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
115601+ SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, int attrnamespace, const char *attrname); }
115602 SYS_AIO_WAITCOMPLETE = 359 // { int aio_waitcomplete(struct aiocb **aiocbp, struct timespec *timeout); }
115603 SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); }
115604 SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
115605 SYS_KQUEUE = 362 // { int kqueue(void); }
115606- SYS_KEVENT = 363 // { int kevent(int fd, \
115607+ SYS_KEVENT = 363 // { int kevent(int fd, const struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); }
115608 SYS_KENV = 390 // { int kenv(int what, const char *name, char *value, int len); }
115609 SYS_LCHFLAGS = 391 // { int lchflags(char *path, int flags); }
115610 SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, int count); }
115611- SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, \
115612+ SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, struct sf_hdtr *hdtr, off_t *sbytes, int flags); }
115613 SYS_VARSYM_SET = 450 // { int varsym_set(int level, const char *name, const char *data); }
115614 SYS_VARSYM_GET = 451 // { int varsym_get(int mask, const char *wild, char *buf, int bufsize); }
115615 SYS_VARSYM_LIST = 452 // { int varsym_list(int level, char *buf, int maxsize, int *marker); }
115616@@ -245,58 +245,58 @@ const (
115617 SYS_FSTAT = 476 // { int fstat(int fd, struct stat *sb); }
115618 SYS_LSTAT = 477 // { int lstat(const char *path, struct stat *ub); }
115619 SYS_FHSTAT = 478 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); }
115620- SYS_GETDIRENTRIES = 479 // { int getdirentries(int fd, char *buf, u_int count, \
115621+ SYS_GETDIRENTRIES = 479 // { int getdirentries(int fd, char *buf, u_int count, long *basep); }
115622 SYS_GETDENTS = 480 // { int getdents(int fd, char *buf, size_t count); }
115623- SYS_USCHED_SET = 481 // { int usched_set(pid_t pid, int cmd, void *data, \
115624+ SYS_USCHED_SET = 481 // { int usched_set(pid_t pid, int cmd, void *data, int bytes); }
115625 SYS_EXTACCEPT = 482 // { int extaccept(int s, int flags, caddr_t name, int *anamelen); }
115626 SYS_EXTCONNECT = 483 // { int extconnect(int s, int flags, caddr_t name, int namelen); }
115627 SYS_MCONTROL = 485 // { int mcontrol(void *addr, size_t len, int behav, off_t value); }
115628 SYS_VMSPACE_CREATE = 486 // { int vmspace_create(void *id, int type, void *data); }
115629 SYS_VMSPACE_DESTROY = 487 // { int vmspace_destroy(void *id); }
115630- SYS_VMSPACE_CTL = 488 // { int vmspace_ctl(void *id, int cmd, \
115631- SYS_VMSPACE_MMAP = 489 // { int vmspace_mmap(void *id, void *addr, size_t len, \
115632- SYS_VMSPACE_MUNMAP = 490 // { int vmspace_munmap(void *id, void *addr, \
115633- SYS_VMSPACE_MCONTROL = 491 // { int vmspace_mcontrol(void *id, void *addr, \
115634- SYS_VMSPACE_PREAD = 492 // { ssize_t vmspace_pread(void *id, void *buf, \
115635- SYS_VMSPACE_PWRITE = 493 // { ssize_t vmspace_pwrite(void *id, const void *buf, \
115636+ SYS_VMSPACE_CTL = 488 // { int vmspace_ctl(void *id, int cmd, struct trapframe *tframe, struct vextframe *vframe); }
115637+ SYS_VMSPACE_MMAP = 489 // { int vmspace_mmap(void *id, void *addr, size_t len, int prot, int flags, int fd, off_t offset); }
115638+ SYS_VMSPACE_MUNMAP = 490 // { int vmspace_munmap(void *id, void *addr, size_t len); }
115639+ SYS_VMSPACE_MCONTROL = 491 // { int vmspace_mcontrol(void *id, void *addr, size_t len, int behav, off_t value); }
115640+ SYS_VMSPACE_PREAD = 492 // { ssize_t vmspace_pread(void *id, void *buf, size_t nbyte, int flags, off_t offset); }
115641+ SYS_VMSPACE_PWRITE = 493 // { ssize_t vmspace_pwrite(void *id, const void *buf, size_t nbyte, int flags, off_t offset); }
115642 SYS_EXTEXIT = 494 // { void extexit(int how, int status, void *addr); }
115643 SYS_LWP_CREATE = 495 // { int lwp_create(struct lwp_params *params); }
115644 SYS_LWP_GETTID = 496 // { lwpid_t lwp_gettid(void); }
115645 SYS_LWP_KILL = 497 // { int lwp_kill(pid_t pid, lwpid_t tid, int signum); }
115646 SYS_LWP_RTPRIO = 498 // { int lwp_rtprio(int function, pid_t pid, lwpid_t tid, struct rtprio *rtp); }
115647- SYS_PSELECT = 499 // { int pselect(int nd, fd_set *in, fd_set *ou, \
115648+ SYS_PSELECT = 499 // { int pselect(int nd, fd_set *in, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *sigmask); }
115649 SYS_STATVFS = 500 // { int statvfs(const char *path, struct statvfs *buf); }
115650 SYS_FSTATVFS = 501 // { int fstatvfs(int fd, struct statvfs *buf); }
115651 SYS_FHSTATVFS = 502 // { int fhstatvfs(const struct fhandle *u_fhp, struct statvfs *buf); }
115652- SYS_GETVFSSTAT = 503 // { int getvfsstat(struct statfs *buf, \
115653+ SYS_GETVFSSTAT = 503 // { int getvfsstat(struct statfs *buf, struct statvfs *vbuf, long vbufsize, int flags); }
115654 SYS_OPENAT = 504 // { int openat(int fd, char *path, int flags, int mode); }
115655- SYS_FSTATAT = 505 // { int fstatat(int fd, char *path, \
115656- SYS_FCHMODAT = 506 // { int fchmodat(int fd, char *path, int mode, \
115657- SYS_FCHOWNAT = 507 // { int fchownat(int fd, char *path, int uid, int gid, \
115658+ SYS_FSTATAT = 505 // { int fstatat(int fd, char *path, struct stat *sb, int flags); }
115659+ SYS_FCHMODAT = 506 // { int fchmodat(int fd, char *path, int mode, int flags); }
115660+ SYS_FCHOWNAT = 507 // { int fchownat(int fd, char *path, int uid, int gid, int flags); }
115661 SYS_UNLINKAT = 508 // { int unlinkat(int fd, char *path, int flags); }
115662- SYS_FACCESSAT = 509 // { int faccessat(int fd, char *path, int amode, \
115663- SYS_MQ_OPEN = 510 // { mqd_t mq_open(const char * name, int oflag, \
115664+ SYS_FACCESSAT = 509 // { int faccessat(int fd, char *path, int amode, int flags); }
115665+ SYS_MQ_OPEN = 510 // { mqd_t mq_open(const char * name, int oflag, mode_t mode, struct mq_attr *attr); }
115666 SYS_MQ_CLOSE = 511 // { int mq_close(mqd_t mqdes); }
115667 SYS_MQ_UNLINK = 512 // { int mq_unlink(const char *name); }
115668- SYS_MQ_GETATTR = 513 // { int mq_getattr(mqd_t mqdes, \
115669- SYS_MQ_SETATTR = 514 // { int mq_setattr(mqd_t mqdes, \
115670- SYS_MQ_NOTIFY = 515 // { int mq_notify(mqd_t mqdes, \
115671- SYS_MQ_SEND = 516 // { int mq_send(mqd_t mqdes, const char *msg_ptr, \
115672- SYS_MQ_RECEIVE = 517 // { ssize_t mq_receive(mqd_t mqdes, char *msg_ptr, \
115673- SYS_MQ_TIMEDSEND = 518 // { int mq_timedsend(mqd_t mqdes, \
115674- SYS_MQ_TIMEDRECEIVE = 519 // { ssize_t mq_timedreceive(mqd_t mqdes, \
115675+ SYS_MQ_GETATTR = 513 // { int mq_getattr(mqd_t mqdes, struct mq_attr *mqstat); }
115676+ SYS_MQ_SETATTR = 514 // { int mq_setattr(mqd_t mqdes, const struct mq_attr *mqstat, struct mq_attr *omqstat); }
115677+ SYS_MQ_NOTIFY = 515 // { int mq_notify(mqd_t mqdes, const struct sigevent *notification); }
115678+ SYS_MQ_SEND = 516 // { int mq_send(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned msg_prio); }
115679+ SYS_MQ_RECEIVE = 517 // { ssize_t mq_receive(mqd_t mqdes, char *msg_ptr, size_t msg_len, unsigned *msg_prio); }
115680+ SYS_MQ_TIMEDSEND = 518 // { int mq_timedsend(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abs_timeout); }
115681+ SYS_MQ_TIMEDRECEIVE = 519 // { ssize_t mq_timedreceive(mqd_t mqdes, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); }
115682 SYS_IOPRIO_SET = 520 // { int ioprio_set(int which, int who, int prio); }
115683 SYS_IOPRIO_GET = 521 // { int ioprio_get(int which, int who); }
115684 SYS_CHROOT_KERNEL = 522 // { int chroot_kernel(char *path); }
115685- SYS_RENAMEAT = 523 // { int renameat(int oldfd, char *old, int newfd, \
115686+ SYS_RENAMEAT = 523 // { int renameat(int oldfd, char *old, int newfd, char *new); }
115687 SYS_MKDIRAT = 524 // { int mkdirat(int fd, char *path, mode_t mode); }
115688 SYS_MKFIFOAT = 525 // { int mkfifoat(int fd, char *path, mode_t mode); }
115689- SYS_MKNODAT = 526 // { int mknodat(int fd, char *path, mode_t mode, \
115690- SYS_READLINKAT = 527 // { int readlinkat(int fd, char *path, char *buf, \
115691+ SYS_MKNODAT = 526 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); }
115692+ SYS_READLINKAT = 527 // { int readlinkat(int fd, char *path, char *buf, size_t bufsize); }
115693 SYS_SYMLINKAT = 528 // { int symlinkat(char *path1, int fd, char *path2); }
115694 SYS_SWAPOFF = 529 // { int swapoff(char *name); }
115695- SYS_VQUOTACTL = 530 // { int vquotactl(const char *path, \
115696- SYS_LINKAT = 531 // { int linkat(int fd1, char *path1, int fd2, \
115697+ SYS_VQUOTACTL = 530 // { int vquotactl(const char *path, struct plistref *pref); }
115698+ SYS_LINKAT = 531 // { int linkat(int fd1, char *path1, int fd2, char *path2, int flags); }
115699 SYS_EACCESS = 532 // { int eaccess(char *path, int flags); }
115700 SYS_LPATHCONF = 533 // { int lpathconf(char *path, int name); }
115701 SYS_VMM_GUEST_CTL = 534 // { int vmm_guest_ctl(int op, struct vmm_guest_options *options); }
115702@@ -308,7 +308,7 @@ const (
115703 SYS_FUTIMENS = 540 // { int futimens(int fd, const struct timespec *ts); }
115704 SYS_ACCEPT4 = 541 // { int accept4(int s, caddr_t name, int *anamelen, int flags); }
115705 SYS_LWP_SETNAME = 542 // { int lwp_setname(lwpid_t tid, const char *name); }
115706- SYS_PPOLL = 543 // { int ppoll(struct pollfd *fds, u_int nfds, \
115707+ SYS_PPOLL = 543 // { int ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *sigmask); }
115708 SYS_LWP_SETAFFINITY = 544 // { int lwp_setaffinity(pid_t pid, lwpid_t tid, const cpumask_t *mask); }
115709 SYS_LWP_GETAFFINITY = 545 // { int lwp_getaffinity(pid_t pid, lwpid_t tid, cpumask_t *mask); }
115710 SYS_LWP_CREATE2 = 546 // { int lwp_create2(struct lwp_params *params, const cpumask_t *mask); }
115711diff --git a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go
115712index b64a8122..9474974b 100644
115713--- a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go
115714+++ b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go
115715@@ -1,4 +1,4 @@
115716-// mksysnum_freebsd.pl
115717+// go run mksysnum.go https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master
115718 // Code generated by the command above; see README.md. DO NOT EDIT.
115719
115720 // +build 386,freebsd
115721@@ -7,347 +7,390 @@ package unix
115722
115723 const (
115724 // SYS_NOSYS = 0; // { int nosys(void); } syscall nosys_args int
115725- SYS_EXIT = 1 // { void sys_exit(int rval); } exit \
115726- SYS_FORK = 2 // { int fork(void); }
115727- SYS_READ = 3 // { ssize_t read(int fd, void *buf, \
115728- SYS_WRITE = 4 // { ssize_t write(int fd, const void *buf, \
115729- SYS_OPEN = 5 // { int open(char *path, int flags, int mode); }
115730- SYS_CLOSE = 6 // { int close(int fd); }
115731- SYS_WAIT4 = 7 // { int wait4(int pid, int *status, \
115732- SYS_LINK = 9 // { int link(char *path, char *link); }
115733- SYS_UNLINK = 10 // { int unlink(char *path); }
115734- SYS_CHDIR = 12 // { int chdir(char *path); }
115735- SYS_FCHDIR = 13 // { int fchdir(int fd); }
115736- SYS_MKNOD = 14 // { int mknod(char *path, int mode, int dev); }
115737- SYS_CHMOD = 15 // { int chmod(char *path, int mode); }
115738- SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); }
115739- SYS_OBREAK = 17 // { int obreak(char *nsize); } break \
115740- SYS_GETPID = 20 // { pid_t getpid(void); }
115741- SYS_MOUNT = 21 // { int mount(char *type, char *path, \
115742- SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); }
115743- SYS_SETUID = 23 // { int setuid(uid_t uid); }
115744- SYS_GETUID = 24 // { uid_t getuid(void); }
115745- SYS_GETEUID = 25 // { uid_t geteuid(void); }
115746- SYS_PTRACE = 26 // { int ptrace(int req, pid_t pid, \
115747- SYS_RECVMSG = 27 // { int recvmsg(int s, struct msghdr *msg, \
115748- SYS_SENDMSG = 28 // { int sendmsg(int s, struct msghdr *msg, \
115749- SYS_RECVFROM = 29 // { int recvfrom(int s, caddr_t buf, \
115750- SYS_ACCEPT = 30 // { int accept(int s, \
115751- SYS_GETPEERNAME = 31 // { int getpeername(int fdes, \
115752- SYS_GETSOCKNAME = 32 // { int getsockname(int fdes, \
115753- SYS_ACCESS = 33 // { int access(char *path, int amode); }
115754- SYS_CHFLAGS = 34 // { int chflags(const char *path, u_long flags); }
115755- SYS_FCHFLAGS = 35 // { int fchflags(int fd, u_long flags); }
115756- SYS_SYNC = 36 // { int sync(void); }
115757- SYS_KILL = 37 // { int kill(int pid, int signum); }
115758- SYS_GETPPID = 39 // { pid_t getppid(void); }
115759- SYS_DUP = 41 // { int dup(u_int fd); }
115760- SYS_PIPE = 42 // { int pipe(void); }
115761- SYS_GETEGID = 43 // { gid_t getegid(void); }
115762- SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, \
115763- SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, \
115764- SYS_GETGID = 47 // { gid_t getgid(void); }
115765- SYS_GETLOGIN = 49 // { int getlogin(char *namebuf, u_int \
115766- SYS_SETLOGIN = 50 // { int setlogin(char *namebuf); }
115767- SYS_ACCT = 51 // { int acct(char *path); }
115768- SYS_SIGALTSTACK = 53 // { int sigaltstack(stack_t *ss, \
115769- SYS_IOCTL = 54 // { int ioctl(int fd, u_long com, \
115770- SYS_REBOOT = 55 // { int reboot(int opt); }
115771- SYS_REVOKE = 56 // { int revoke(char *path); }
115772- SYS_SYMLINK = 57 // { int symlink(char *path, char *link); }
115773- SYS_READLINK = 58 // { ssize_t readlink(char *path, char *buf, \
115774- SYS_EXECVE = 59 // { int execve(char *fname, char **argv, \
115775- SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args \
115776- SYS_CHROOT = 61 // { int chroot(char *path); }
115777- SYS_MSYNC = 65 // { int msync(void *addr, size_t len, \
115778- SYS_VFORK = 66 // { int vfork(void); }
115779- SYS_SBRK = 69 // { int sbrk(int incr); }
115780- SYS_SSTK = 70 // { int sstk(int incr); }
115781- SYS_OVADVISE = 72 // { int ovadvise(int anom); } vadvise \
115782- SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); }
115783- SYS_MPROTECT = 74 // { int mprotect(const void *addr, size_t len, \
115784- SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, \
115785- SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, \
115786- SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, \
115787- SYS_SETGROUPS = 80 // { int setgroups(u_int gidsetsize, \
115788- SYS_GETPGRP = 81 // { int getpgrp(void); }
115789- SYS_SETPGID = 82 // { int setpgid(int pid, int pgid); }
115790- SYS_SETITIMER = 83 // { int setitimer(u_int which, struct \
115791- SYS_SWAPON = 85 // { int swapon(char *name); }
115792- SYS_GETITIMER = 86 // { int getitimer(u_int which, \
115793- SYS_GETDTABLESIZE = 89 // { int getdtablesize(void); }
115794- SYS_DUP2 = 90 // { int dup2(u_int from, u_int to); }
115795- SYS_FCNTL = 92 // { int fcntl(int fd, int cmd, long arg); }
115796- SYS_SELECT = 93 // { int select(int nd, fd_set *in, fd_set *ou, \
115797- SYS_FSYNC = 95 // { int fsync(int fd); }
115798- SYS_SETPRIORITY = 96 // { int setpriority(int which, int who, \
115799- SYS_SOCKET = 97 // { int socket(int domain, int type, \
115800- SYS_CONNECT = 98 // { int connect(int s, caddr_t name, \
115801- SYS_GETPRIORITY = 100 // { int getpriority(int which, int who); }
115802- SYS_BIND = 104 // { int bind(int s, caddr_t name, \
115803- SYS_SETSOCKOPT = 105 // { int setsockopt(int s, int level, int name, \
115804- SYS_LISTEN = 106 // { int listen(int s, int backlog); }
115805- SYS_GETTIMEOFDAY = 116 // { int gettimeofday(struct timeval *tp, \
115806- SYS_GETRUSAGE = 117 // { int getrusage(int who, \
115807- SYS_GETSOCKOPT = 118 // { int getsockopt(int s, int level, int name, \
115808- SYS_READV = 120 // { int readv(int fd, struct iovec *iovp, \
115809- SYS_WRITEV = 121 // { int writev(int fd, struct iovec *iovp, \
115810- SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, \
115811- SYS_FCHOWN = 123 // { int fchown(int fd, int uid, int gid); }
115812- SYS_FCHMOD = 124 // { int fchmod(int fd, int mode); }
115813- SYS_SETREUID = 126 // { int setreuid(int ruid, int euid); }
115814- SYS_SETREGID = 127 // { int setregid(int rgid, int egid); }
115815- SYS_RENAME = 128 // { int rename(char *from, char *to); }
115816- SYS_FLOCK = 131 // { int flock(int fd, int how); }
115817- SYS_MKFIFO = 132 // { int mkfifo(char *path, int mode); }
115818- SYS_SENDTO = 133 // { int sendto(int s, caddr_t buf, size_t len, \
115819- SYS_SHUTDOWN = 134 // { int shutdown(int s, int how); }
115820- SYS_SOCKETPAIR = 135 // { int socketpair(int domain, int type, \
115821- SYS_MKDIR = 136 // { int mkdir(char *path, int mode); }
115822- SYS_RMDIR = 137 // { int rmdir(char *path); }
115823- SYS_UTIMES = 138 // { int utimes(char *path, \
115824- SYS_ADJTIME = 140 // { int adjtime(struct timeval *delta, \
115825- SYS_SETSID = 147 // { int setsid(void); }
115826- SYS_QUOTACTL = 148 // { int quotactl(char *path, int cmd, int uid, \
115827- SYS_LGETFH = 160 // { int lgetfh(char *fname, \
115828- SYS_GETFH = 161 // { int getfh(char *fname, \
115829- SYS_SYSARCH = 165 // { int sysarch(int op, char *parms); }
115830- SYS_RTPRIO = 166 // { int rtprio(int function, pid_t pid, \
115831- SYS_FREEBSD6_PREAD = 173 // { ssize_t freebsd6_pread(int fd, void *buf, \
115832- SYS_FREEBSD6_PWRITE = 174 // { ssize_t freebsd6_pwrite(int fd, \
115833- SYS_SETFIB = 175 // { int setfib(int fibnum); }
115834- SYS_NTP_ADJTIME = 176 // { int ntp_adjtime(struct timex *tp); }
115835- SYS_SETGID = 181 // { int setgid(gid_t gid); }
115836- SYS_SETEGID = 182 // { int setegid(gid_t egid); }
115837- SYS_SETEUID = 183 // { int seteuid(uid_t euid); }
115838- SYS_STAT = 188 // { int stat(char *path, struct stat *ub); }
115839- SYS_FSTAT = 189 // { int fstat(int fd, struct stat *sb); }
115840- SYS_LSTAT = 190 // { int lstat(char *path, struct stat *ub); }
115841- SYS_PATHCONF = 191 // { int pathconf(char *path, int name); }
115842- SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); }
115843- SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, \
115844- SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, \
115845- SYS_GETDIRENTRIES = 196 // { int getdirentries(int fd, char *buf, \
115846- SYS_FREEBSD6_MMAP = 197 // { caddr_t freebsd6_mmap(caddr_t addr, \
115847- SYS_FREEBSD6_LSEEK = 199 // { off_t freebsd6_lseek(int fd, int pad, \
115848- SYS_FREEBSD6_TRUNCATE = 200 // { int freebsd6_truncate(char *path, int pad, \
115849- SYS_FREEBSD6_FTRUNCATE = 201 // { int freebsd6_ftruncate(int fd, int pad, \
115850- SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, \
115851- SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); }
115852- SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); }
115853- SYS_UNDELETE = 205 // { int undelete(char *path); }
115854- SYS_FUTIMES = 206 // { int futimes(int fd, struct timeval *tptr); }
115855- SYS_GETPGID = 207 // { int getpgid(pid_t pid); }
115856- SYS_POLL = 209 // { int poll(struct pollfd *fds, u_int nfds, \
115857- SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, \
115858- SYS_CLOCK_SETTIME = 233 // { int clock_settime( \
115859- SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, \
115860- SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, \
115861- SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); }
115862- SYS_KTIMER_SETTIME = 237 // { int ktimer_settime(int timerid, int flags, \
115863- SYS_KTIMER_GETTIME = 238 // { int ktimer_gettime(int timerid, struct \
115864- SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); }
115865- SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, \
115866- SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); }
115867- SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate( \
115868- SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate( \
115869- SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id,\
115870- SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); }
115871- SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, \
115872- SYS_RFORK = 251 // { int rfork(int flags); }
115873- SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, \
115874- SYS_ISSETUGID = 253 // { int issetugid(void); }
115875- SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); }
115876- SYS_GETDENTS = 272 // { int getdents(int fd, char *buf, \
115877- SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); }
115878- SYS_LUTIMES = 276 // { int lutimes(char *path, \
115879- SYS_NSTAT = 278 // { int nstat(char *path, struct nstat *ub); }
115880- SYS_NFSTAT = 279 // { int nfstat(int fd, struct nstat *sb); }
115881- SYS_NLSTAT = 280 // { int nlstat(char *path, struct nstat *ub); }
115882- SYS_PREADV = 289 // { ssize_t preadv(int fd, struct iovec *iovp, \
115883- SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, \
115884- SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, \
115885- SYS_FHSTAT = 299 // { int fhstat(const struct fhandle *u_fhp, \
115886- SYS_MODNEXT = 300 // { int modnext(int modid); }
115887- SYS_MODSTAT = 301 // { int modstat(int modid, \
115888- SYS_MODFNEXT = 302 // { int modfnext(int modid); }
115889- SYS_MODFIND = 303 // { int modfind(const char *name); }
115890- SYS_KLDLOAD = 304 // { int kldload(const char *file); }
115891- SYS_KLDUNLOAD = 305 // { int kldunload(int fileid); }
115892- SYS_KLDFIND = 306 // { int kldfind(const char *file); }
115893- SYS_KLDNEXT = 307 // { int kldnext(int fileid); }
115894- SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct \
115895- SYS_KLDFIRSTMOD = 309 // { int kldfirstmod(int fileid); }
115896- SYS_GETSID = 310 // { int getsid(pid_t pid); }
115897- SYS_SETRESUID = 311 // { int setresuid(uid_t ruid, uid_t euid, \
115898- SYS_SETRESGID = 312 // { int setresgid(gid_t rgid, gid_t egid, \
115899- SYS_YIELD = 321 // { int yield(void); }
115900- SYS_MLOCKALL = 324 // { int mlockall(int how); }
115901- SYS_MUNLOCKALL = 325 // { int munlockall(void); }
115902- SYS___GETCWD = 326 // { int __getcwd(char *buf, u_int buflen); }
115903- SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, \
115904- SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct \
115905- SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int \
115906- SYS_SCHED_GETSCHEDULER = 330 // { int sched_getscheduler (pid_t pid); }
115907- SYS_SCHED_YIELD = 331 // { int sched_yield (void); }
115908- SYS_SCHED_GET_PRIORITY_MAX = 332 // { int sched_get_priority_max (int policy); }
115909- SYS_SCHED_GET_PRIORITY_MIN = 333 // { int sched_get_priority_min (int policy); }
115910- SYS_SCHED_RR_GET_INTERVAL = 334 // { int sched_rr_get_interval (pid_t pid, \
115911- SYS_UTRACE = 335 // { int utrace(const void *addr, size_t len); }
115912- SYS_KLDSYM = 337 // { int kldsym(int fileid, int cmd, \
115913- SYS_JAIL = 338 // { int jail(struct jail *jail); }
115914- SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, \
115915- SYS_SIGSUSPEND = 341 // { int sigsuspend(const sigset_t *sigmask); }
115916- SYS_SIGPENDING = 343 // { int sigpending(sigset_t *set); }
115917- SYS_SIGTIMEDWAIT = 345 // { int sigtimedwait(const sigset_t *set, \
115918- SYS_SIGWAITINFO = 346 // { int sigwaitinfo(const sigset_t *set, \
115919- SYS___ACL_GET_FILE = 347 // { int __acl_get_file(const char *path, \
115920- SYS___ACL_SET_FILE = 348 // { int __acl_set_file(const char *path, \
115921- SYS___ACL_GET_FD = 349 // { int __acl_get_fd(int filedes, \
115922- SYS___ACL_SET_FD = 350 // { int __acl_set_fd(int filedes, \
115923- SYS___ACL_DELETE_FILE = 351 // { int __acl_delete_file(const char *path, \
115924- SYS___ACL_DELETE_FD = 352 // { int __acl_delete_fd(int filedes, \
115925- SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, \
115926- SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, \
115927- SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, \
115928- SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file( \
115929- SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file( \
115930- SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, \
115931- SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, \
115932- SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, \
115933- SYS_KQUEUE = 362 // { int kqueue(void); }
115934- SYS_KEVENT = 363 // { int kevent(int fd, \
115935- SYS_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, \
115936- SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, \
115937- SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, \
115938- SYS___SETUGID = 374 // { int __setugid(int flag); }
115939- SYS_EACCESS = 376 // { int eaccess(char *path, int amode); }
115940- SYS_NMOUNT = 378 // { int nmount(struct iovec *iovp, \
115941- SYS___MAC_GET_PROC = 384 // { int __mac_get_proc(struct mac *mac_p); }
115942- SYS___MAC_SET_PROC = 385 // { int __mac_set_proc(struct mac *mac_p); }
115943- SYS___MAC_GET_FD = 386 // { int __mac_get_fd(int fd, \
115944- SYS___MAC_GET_FILE = 387 // { int __mac_get_file(const char *path_p, \
115945- SYS___MAC_SET_FD = 388 // { int __mac_set_fd(int fd, \
115946- SYS___MAC_SET_FILE = 389 // { int __mac_set_file(const char *path_p, \
115947- SYS_KENV = 390 // { int kenv(int what, const char *name, \
115948- SYS_LCHFLAGS = 391 // { int lchflags(const char *path, \
115949- SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, \
115950- SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, \
115951- SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, \
115952- SYS_GETFSSTAT = 395 // { int getfsstat(struct statfs *buf, \
115953- SYS_STATFS = 396 // { int statfs(char *path, \
115954- SYS_FSTATFS = 397 // { int fstatfs(int fd, struct statfs *buf); }
115955- SYS_FHSTATFS = 398 // { int fhstatfs(const struct fhandle *u_fhp, \
115956- SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, \
115957- SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, \
115958- SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, \
115959- SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link( \
115960- SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link( \
115961- SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link( \
115962- SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, \
115963- SYS_SIGACTION = 416 // { int sigaction(int sig, \
115964- SYS_SIGRETURN = 417 // { int sigreturn( \
115965- SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); }
115966- SYS_SETCONTEXT = 422 // { int setcontext( \
115967- SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, \
115968- SYS_SWAPOFF = 424 // { int swapoff(const char *name); }
115969- SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, \
115970- SYS___ACL_SET_LINK = 426 // { int __acl_set_link(const char *path, \
115971- SYS___ACL_DELETE_LINK = 427 // { int __acl_delete_link(const char *path, \
115972- SYS___ACL_ACLCHECK_LINK = 428 // { int __acl_aclcheck_link(const char *path, \
115973- SYS_SIGWAIT = 429 // { int sigwait(const sigset_t *set, \
115974- SYS_THR_CREATE = 430 // { int thr_create(ucontext_t *ctx, long *id, \
115975- SYS_THR_EXIT = 431 // { void thr_exit(long *state); }
115976- SYS_THR_SELF = 432 // { int thr_self(long *id); }
115977- SYS_THR_KILL = 433 // { int thr_kill(long id, int sig); }
115978- SYS__UMTX_LOCK = 434 // { int _umtx_lock(struct umtx *umtx); }
115979- SYS__UMTX_UNLOCK = 435 // { int _umtx_unlock(struct umtx *umtx); }
115980- SYS_JAIL_ATTACH = 436 // { int jail_attach(int jid); }
115981- SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, \
115982- SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file( \
115983- SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link( \
115984- SYS_THR_SUSPEND = 442 // { int thr_suspend( \
115985- SYS_THR_WAKE = 443 // { int thr_wake(long id); }
115986- SYS_KLDUNLOADF = 444 // { int kldunloadf(int fileid, int flags); }
115987- SYS_AUDIT = 445 // { int audit(const void *record, \
115988- SYS_AUDITON = 446 // { int auditon(int cmd, void *data, \
115989- SYS_GETAUID = 447 // { int getauid(uid_t *auid); }
115990- SYS_SETAUID = 448 // { int setauid(uid_t *auid); }
115991- SYS_GETAUDIT = 449 // { int getaudit(struct auditinfo *auditinfo); }
115992- SYS_SETAUDIT = 450 // { int setaudit(struct auditinfo *auditinfo); }
115993- SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr( \
115994- SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr( \
115995- SYS_AUDITCTL = 453 // { int auditctl(char *path); }
115996- SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, \
115997- SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, \
115998- SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); }
115999- SYS_ABORT2 = 463 // { int abort2(const char *why, int nargs, void **args); }
116000- SYS_THR_SET_NAME = 464 // { int thr_set_name(long id, const char *name); }
116001- SYS_RTPRIO_THREAD = 466 // { int rtprio_thread(int function, \
116002- SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, \
116003- SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, \
116004- SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, \
116005- SYS_LSEEK = 478 // { off_t lseek(int fd, off_t offset, \
116006- SYS_TRUNCATE = 479 // { int truncate(char *path, off_t length); }
116007- SYS_FTRUNCATE = 480 // { int ftruncate(int fd, off_t length); }
116008- SYS_THR_KILL2 = 481 // { int thr_kill2(pid_t pid, long id, int sig); }
116009- SYS_SHM_OPEN = 482 // { int shm_open(const char *path, int flags, \
116010- SYS_SHM_UNLINK = 483 // { int shm_unlink(const char *path); }
116011- SYS_CPUSET = 484 // { int cpuset(cpusetid_t *setid); }
116012- SYS_CPUSET_SETID = 485 // { int cpuset_setid(cpuwhich_t which, id_t id, \
116013- SYS_CPUSET_GETID = 486 // { int cpuset_getid(cpulevel_t level, \
116014- SYS_CPUSET_GETAFFINITY = 487 // { int cpuset_getaffinity(cpulevel_t level, \
116015- SYS_CPUSET_SETAFFINITY = 488 // { int cpuset_setaffinity(cpulevel_t level, \
116016- SYS_FACCESSAT = 489 // { int faccessat(int fd, char *path, int amode, \
116017- SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, \
116018- SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, \
116019- SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, \
116020- SYS_FSTATAT = 493 // { int fstatat(int fd, char *path, \
116021- SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, \
116022- SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, \
116023- SYS_MKDIRAT = 496 // { int mkdirat(int fd, char *path, mode_t mode); }
116024- SYS_MKFIFOAT = 497 // { int mkfifoat(int fd, char *path, mode_t mode); }
116025- SYS_MKNODAT = 498 // { int mknodat(int fd, char *path, mode_t mode, \
116026- SYS_OPENAT = 499 // { int openat(int fd, char *path, int flag, \
116027- SYS_READLINKAT = 500 // { int readlinkat(int fd, char *path, char *buf, \
116028- SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, \
116029- SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, \
116030- SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); }
116031- SYS_POSIX_OPENPT = 504 // { int posix_openpt(int flags); }
116032- SYS_JAIL_GET = 506 // { int jail_get(struct iovec *iovp, \
116033- SYS_JAIL_SET = 507 // { int jail_set(struct iovec *iovp, \
116034- SYS_JAIL_REMOVE = 508 // { int jail_remove(int jid); }
116035- SYS_CLOSEFROM = 509 // { int closefrom(int lowfd); }
116036- SYS_LPATHCONF = 513 // { int lpathconf(char *path, int name); }
116037- SYS___CAP_RIGHTS_GET = 515 // { int __cap_rights_get(int version, \
116038- SYS_CAP_ENTER = 516 // { int cap_enter(void); }
116039- SYS_CAP_GETMODE = 517 // { int cap_getmode(u_int *modep); }
116040- SYS_PDFORK = 518 // { int pdfork(int *fdp, int flags); }
116041- SYS_PDKILL = 519 // { int pdkill(int fd, int signum); }
116042- SYS_PDGETPID = 520 // { int pdgetpid(int fd, pid_t *pidp); }
116043- SYS_PSELECT = 522 // { int pselect(int nd, fd_set *in, \
116044- SYS_GETLOGINCLASS = 523 // { int getloginclass(char *namebuf, \
116045- SYS_SETLOGINCLASS = 524 // { int setloginclass(const char *namebuf); }
116046- SYS_RCTL_GET_RACCT = 525 // { int rctl_get_racct(const void *inbufp, \
116047- SYS_RCTL_GET_RULES = 526 // { int rctl_get_rules(const void *inbufp, \
116048- SYS_RCTL_GET_LIMITS = 527 // { int rctl_get_limits(const void *inbufp, \
116049- SYS_RCTL_ADD_RULE = 528 // { int rctl_add_rule(const void *inbufp, \
116050- SYS_RCTL_REMOVE_RULE = 529 // { int rctl_remove_rule(const void *inbufp, \
116051- SYS_POSIX_FALLOCATE = 530 // { int posix_fallocate(int fd, \
116052- SYS_POSIX_FADVISE = 531 // { int posix_fadvise(int fd, off_t offset, \
116053- SYS_WAIT6 = 532 // { int wait6(idtype_t idtype, id_t id, \
116054- SYS_CAP_RIGHTS_LIMIT = 533 // { int cap_rights_limit(int fd, \
116055- SYS_CAP_IOCTLS_LIMIT = 534 // { int cap_ioctls_limit(int fd, \
116056- SYS_CAP_IOCTLS_GET = 535 // { ssize_t cap_ioctls_get(int fd, \
116057- SYS_CAP_FCNTLS_LIMIT = 536 // { int cap_fcntls_limit(int fd, \
116058- SYS_CAP_FCNTLS_GET = 537 // { int cap_fcntls_get(int fd, \
116059- SYS_BINDAT = 538 // { int bindat(int fd, int s, caddr_t name, \
116060- SYS_CONNECTAT = 539 // { int connectat(int fd, int s, caddr_t name, \
116061- SYS_CHFLAGSAT = 540 // { int chflagsat(int fd, const char *path, \
116062- SYS_ACCEPT4 = 541 // { int accept4(int s, \
116063- SYS_PIPE2 = 542 // { int pipe2(int *fildes, int flags); }
116064- SYS_PROCCTL = 544 // { int procctl(idtype_t idtype, id_t id, \
116065- SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, \
116066- SYS_FUTIMENS = 546 // { int futimens(int fd, \
116067- SYS_UTIMENSAT = 547 // { int utimensat(int fd, \
116068+ SYS_EXIT = 1 // { void sys_exit(int rval); } exit sys_exit_args void
116069+ SYS_FORK = 2 // { int fork(void); }
116070+ SYS_READ = 3 // { ssize_t read(int fd, void *buf, size_t nbyte); }
116071+ SYS_WRITE = 4 // { ssize_t write(int fd, const void *buf, size_t nbyte); }
116072+ SYS_OPEN = 5 // { int open(char *path, int flags, int mode); }
116073+ SYS_CLOSE = 6 // { int close(int fd); }
116074+ SYS_WAIT4 = 7 // { int wait4(int pid, int *status, int options, struct rusage *rusage); }
116075+ SYS_LINK = 9 // { int link(char *path, char *link); }
116076+ SYS_UNLINK = 10 // { int unlink(char *path); }
116077+ SYS_CHDIR = 12 // { int chdir(char *path); }
116078+ SYS_FCHDIR = 13 // { int fchdir(int fd); }
116079+ SYS_MKNOD = 14 // { int mknod(char *path, int mode, int dev); }
116080+ SYS_CHMOD = 15 // { int chmod(char *path, int mode); }
116081+ SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); }
116082+ SYS_OBREAK = 17 // { int obreak(char *nsize); } break obreak_args int
116083+ SYS_GETPID = 20 // { pid_t getpid(void); }
116084+ SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, caddr_t data); }
116085+ SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); }
116086+ SYS_SETUID = 23 // { int setuid(uid_t uid); }
116087+ SYS_GETUID = 24 // { uid_t getuid(void); }
116088+ SYS_GETEUID = 25 // { uid_t geteuid(void); }
116089+ SYS_PTRACE = 26 // { int ptrace(int req, pid_t pid, caddr_t addr, int data); }
116090+ SYS_RECVMSG = 27 // { int recvmsg(int s, struct msghdr *msg, int flags); }
116091+ SYS_SENDMSG = 28 // { int sendmsg(int s, struct msghdr *msg, int flags); }
116092+ SYS_RECVFROM = 29 // { int recvfrom(int s, caddr_t buf, size_t len, int flags, struct sockaddr * __restrict from, __socklen_t * __restrict fromlenaddr); }
116093+ SYS_ACCEPT = 30 // { int accept(int s, struct sockaddr * __restrict name, __socklen_t * __restrict anamelen); }
116094+ SYS_GETPEERNAME = 31 // { int getpeername(int fdes, struct sockaddr * __restrict asa, __socklen_t * __restrict alen); }
116095+ SYS_GETSOCKNAME = 32 // { int getsockname(int fdes, struct sockaddr * __restrict asa, __socklen_t * __restrict alen); }
116096+ SYS_ACCESS = 33 // { int access(char *path, int amode); }
116097+ SYS_CHFLAGS = 34 // { int chflags(const char *path, u_long flags); }
116098+ SYS_FCHFLAGS = 35 // { int fchflags(int fd, u_long flags); }
116099+ SYS_SYNC = 36 // { int sync(void); }
116100+ SYS_KILL = 37 // { int kill(int pid, int signum); }
116101+ SYS_GETPPID = 39 // { pid_t getppid(void); }
116102+ SYS_DUP = 41 // { int dup(u_int fd); }
116103+ SYS_PIPE = 42 // { int pipe(void); }
116104+ SYS_GETEGID = 43 // { gid_t getegid(void); }
116105+ SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, size_t offset, u_int scale); }
116106+ SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, int pid); }
116107+ SYS_GETGID = 47 // { gid_t getgid(void); }
116108+ SYS_GETLOGIN = 49 // { int getlogin(char *namebuf, u_int namelen); }
116109+ SYS_SETLOGIN = 50 // { int setlogin(char *namebuf); }
116110+ SYS_ACCT = 51 // { int acct(char *path); }
116111+ SYS_SIGALTSTACK = 53 // { int sigaltstack(stack_t *ss, stack_t *oss); }
116112+ SYS_IOCTL = 54 // { int ioctl(int fd, u_long com, caddr_t data); }
116113+ SYS_REBOOT = 55 // { int reboot(int opt); }
116114+ SYS_REVOKE = 56 // { int revoke(char *path); }
116115+ SYS_SYMLINK = 57 // { int symlink(char *path, char *link); }
116116+ SYS_READLINK = 58 // { ssize_t readlink(char *path, char *buf, size_t count); }
116117+ SYS_EXECVE = 59 // { int execve(char *fname, char **argv, char **envv); }
116118+ SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args int
116119+ SYS_CHROOT = 61 // { int chroot(char *path); }
116120+ SYS_MSYNC = 65 // { int msync(void *addr, size_t len, int flags); }
116121+ SYS_VFORK = 66 // { int vfork(void); }
116122+ SYS_SBRK = 69 // { int sbrk(int incr); }
116123+ SYS_SSTK = 70 // { int sstk(int incr); }
116124+ SYS_OVADVISE = 72 // { int ovadvise(int anom); } vadvise ovadvise_args int
116125+ SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); }
116126+ SYS_MPROTECT = 74 // { int mprotect(const void *addr, size_t len, int prot); }
116127+ SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, int behav); }
116128+ SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, char *vec); }
116129+ SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, gid_t *gidset); }
116130+ SYS_SETGROUPS = 80 // { int setgroups(u_int gidsetsize, gid_t *gidset); }
116131+ SYS_GETPGRP = 81 // { int getpgrp(void); }
116132+ SYS_SETPGID = 82 // { int setpgid(int pid, int pgid); }
116133+ SYS_SETITIMER = 83 // { int setitimer(u_int which, struct itimerval *itv, struct itimerval *oitv); }
116134+ SYS_SWAPON = 85 // { int swapon(char *name); }
116135+ SYS_GETITIMER = 86 // { int getitimer(u_int which, struct itimerval *itv); }
116136+ SYS_GETDTABLESIZE = 89 // { int getdtablesize(void); }
116137+ SYS_DUP2 = 90 // { int dup2(u_int from, u_int to); }
116138+ SYS_FCNTL = 92 // { int fcntl(int fd, int cmd, long arg); }
116139+ SYS_SELECT = 93 // { int select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); }
116140+ SYS_FSYNC = 95 // { int fsync(int fd); }
116141+ SYS_SETPRIORITY = 96 // { int setpriority(int which, int who, int prio); }
116142+ SYS_SOCKET = 97 // { int socket(int domain, int type, int protocol); }
116143+ SYS_CONNECT = 98 // { int connect(int s, caddr_t name, int namelen); }
116144+ SYS_GETPRIORITY = 100 // { int getpriority(int which, int who); }
116145+ SYS_BIND = 104 // { int bind(int s, caddr_t name, int namelen); }
116146+ SYS_SETSOCKOPT = 105 // { int setsockopt(int s, int level, int name, caddr_t val, int valsize); }
116147+ SYS_LISTEN = 106 // { int listen(int s, int backlog); }
116148+ SYS_GETTIMEOFDAY = 116 // { int gettimeofday(struct timeval *tp, struct timezone *tzp); }
116149+ SYS_GETRUSAGE = 117 // { int getrusage(int who, struct rusage *rusage); }
116150+ SYS_GETSOCKOPT = 118 // { int getsockopt(int s, int level, int name, caddr_t val, int *avalsize); }
116151+ SYS_READV = 120 // { int readv(int fd, struct iovec *iovp, u_int iovcnt); }
116152+ SYS_WRITEV = 121 // { int writev(int fd, struct iovec *iovp, u_int iovcnt); }
116153+ SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, struct timezone *tzp); }
116154+ SYS_FCHOWN = 123 // { int fchown(int fd, int uid, int gid); }
116155+ SYS_FCHMOD = 124 // { int fchmod(int fd, int mode); }
116156+ SYS_SETREUID = 126 // { int setreuid(int ruid, int euid); }
116157+ SYS_SETREGID = 127 // { int setregid(int rgid, int egid); }
116158+ SYS_RENAME = 128 // { int rename(char *from, char *to); }
116159+ SYS_FLOCK = 131 // { int flock(int fd, int how); }
116160+ SYS_MKFIFO = 132 // { int mkfifo(char *path, int mode); }
116161+ SYS_SENDTO = 133 // { int sendto(int s, caddr_t buf, size_t len, int flags, caddr_t to, int tolen); }
116162+ SYS_SHUTDOWN = 134 // { int shutdown(int s, int how); }
116163+ SYS_SOCKETPAIR = 135 // { int socketpair(int domain, int type, int protocol, int *rsv); }
116164+ SYS_MKDIR = 136 // { int mkdir(char *path, int mode); }
116165+ SYS_RMDIR = 137 // { int rmdir(char *path); }
116166+ SYS_UTIMES = 138 // { int utimes(char *path, struct timeval *tptr); }
116167+ SYS_ADJTIME = 140 // { int adjtime(struct timeval *delta, struct timeval *olddelta); }
116168+ SYS_SETSID = 147 // { int setsid(void); }
116169+ SYS_QUOTACTL = 148 // { int quotactl(char *path, int cmd, int uid, caddr_t arg); }
116170+ SYS_NLM_SYSCALL = 154 // { int nlm_syscall(int debug_level, int grace_period, int addr_count, char **addrs); }
116171+ SYS_NFSSVC = 155 // { int nfssvc(int flag, caddr_t argp); }
116172+ SYS_LGETFH = 160 // { int lgetfh(char *fname, struct fhandle *fhp); }
116173+ SYS_GETFH = 161 // { int getfh(char *fname, struct fhandle *fhp); }
116174+ SYS_SYSARCH = 165 // { int sysarch(int op, char *parms); }
116175+ SYS_RTPRIO = 166 // { int rtprio(int function, pid_t pid, struct rtprio *rtp); }
116176+ SYS_SEMSYS = 169 // { int semsys(int which, int a2, int a3, int a4, int a5); }
116177+ SYS_MSGSYS = 170 // { int msgsys(int which, int a2, int a3, int a4, int a5, int a6); }
116178+ SYS_SHMSYS = 171 // { int shmsys(int which, int a2, int a3, int a4); }
116179+ SYS_SETFIB = 175 // { int setfib(int fibnum); }
116180+ SYS_NTP_ADJTIME = 176 // { int ntp_adjtime(struct timex *tp); }
116181+ SYS_SETGID = 181 // { int setgid(gid_t gid); }
116182+ SYS_SETEGID = 182 // { int setegid(gid_t egid); }
116183+ SYS_SETEUID = 183 // { int seteuid(uid_t euid); }
116184+ SYS_STAT = 188 // { int stat(char *path, struct stat *ub); }
116185+ SYS_FSTAT = 189 // { int fstat(int fd, struct stat *sb); }
116186+ SYS_LSTAT = 190 // { int lstat(char *path, struct stat *ub); }
116187+ SYS_PATHCONF = 191 // { int pathconf(char *path, int name); }
116188+ SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); }
116189+ SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, struct rlimit *rlp); } getrlimit __getrlimit_args int
116190+ SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int
116191+ SYS_GETDIRENTRIES = 196 // { int getdirentries(int fd, char *buf, u_int count, long *basep); }
116192+ SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } __sysctl sysctl_args int
116193+ SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); }
116194+ SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); }
116195+ SYS_UNDELETE = 205 // { int undelete(char *path); }
116196+ SYS_FUTIMES = 206 // { int futimes(int fd, struct timeval *tptr); }
116197+ SYS_GETPGID = 207 // { int getpgid(pid_t pid); }
116198+ SYS_POLL = 209 // { int poll(struct pollfd *fds, u_int nfds, int timeout); }
116199+ SYS_SEMGET = 221 // { int semget(key_t key, int nsems, int semflg); }
116200+ SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, size_t nsops); }
116201+ SYS_MSGGET = 225 // { int msgget(key_t key, int msgflg); }
116202+ SYS_MSGSND = 226 // { int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); }
116203+ SYS_MSGRCV = 227 // { int msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
116204+ SYS_SHMAT = 228 // { int shmat(int shmid, const void *shmaddr, int shmflg); }
116205+ SYS_SHMDT = 230 // { int shmdt(const void *shmaddr); }
116206+ SYS_SHMGET = 231 // { int shmget(key_t key, size_t size, int shmflg); }
116207+ SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, struct timespec *tp); }
116208+ SYS_CLOCK_SETTIME = 233 // { int clock_settime( clockid_t clock_id, const struct timespec *tp); }
116209+ SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, struct timespec *tp); }
116210+ SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, struct sigevent *evp, int *timerid); }
116211+ SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); }
116212+ SYS_KTIMER_SETTIME = 237 // { int ktimer_settime(int timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue); }
116213+ SYS_KTIMER_GETTIME = 238 // { int ktimer_gettime(int timerid, struct itimerspec *value); }
116214+ SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); }
116215+ SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); }
116216+ SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); }
116217+ SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate( struct ffclock_estimate *cest); }
116218+ SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate( struct ffclock_estimate *cest); }
116219+ SYS_CLOCK_NANOSLEEP = 244 // { int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp); }
116220+ SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id,int which, clockid_t *clock_id); }
116221+ SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); }
116222+ SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, int inherit); }
116223+ SYS_RFORK = 251 // { int rfork(int flags); }
116224+ SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, u_int nfds, int timeout); }
116225+ SYS_ISSETUGID = 253 // { int issetugid(void); }
116226+ SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); }
116227+ SYS_AIO_READ = 255 // { int aio_read(struct aiocb *aiocbp); }
116228+ SYS_AIO_WRITE = 256 // { int aio_write(struct aiocb *aiocbp); }
116229+ SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb * const *acb_list, int nent, struct sigevent *sig); }
116230+ SYS_GETDENTS = 272 // { int getdents(int fd, char *buf, size_t count); }
116231+ SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); }
116232+ SYS_LUTIMES = 276 // { int lutimes(char *path, struct timeval *tptr); }
116233+ SYS_NSTAT = 278 // { int nstat(char *path, struct nstat *ub); }
116234+ SYS_NFSTAT = 279 // { int nfstat(int fd, struct nstat *sb); }
116235+ SYS_NLSTAT = 280 // { int nlstat(char *path, struct nstat *ub); }
116236+ SYS_PREADV = 289 // { ssize_t preadv(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); }
116237+ SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); }
116238+ SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); }
116239+ SYS_FHSTAT = 299 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); }
116240+ SYS_MODNEXT = 300 // { int modnext(int modid); }
116241+ SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat *stat); }
116242+ SYS_MODFNEXT = 302 // { int modfnext(int modid); }
116243+ SYS_MODFIND = 303 // { int modfind(const char *name); }
116244+ SYS_KLDLOAD = 304 // { int kldload(const char *file); }
116245+ SYS_KLDUNLOAD = 305 // { int kldunload(int fileid); }
116246+ SYS_KLDFIND = 306 // { int kldfind(const char *file); }
116247+ SYS_KLDNEXT = 307 // { int kldnext(int fileid); }
116248+ SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct kld_file_stat* stat); }
116249+ SYS_KLDFIRSTMOD = 309 // { int kldfirstmod(int fileid); }
116250+ SYS_GETSID = 310 // { int getsid(pid_t pid); }
116251+ SYS_SETRESUID = 311 // { int setresuid(uid_t ruid, uid_t euid, uid_t suid); }
116252+ SYS_SETRESGID = 312 // { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
116253+ SYS_AIO_RETURN = 314 // { ssize_t aio_return(struct aiocb *aiocbp); }
116254+ SYS_AIO_SUSPEND = 315 // { int aio_suspend( struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); }
116255+ SYS_AIO_CANCEL = 316 // { int aio_cancel(int fd, struct aiocb *aiocbp); }
116256+ SYS_AIO_ERROR = 317 // { int aio_error(struct aiocb *aiocbp); }
116257+ SYS_YIELD = 321 // { int yield(void); }
116258+ SYS_MLOCKALL = 324 // { int mlockall(int how); }
116259+ SYS_MUNLOCKALL = 325 // { int munlockall(void); }
116260+ SYS___GETCWD = 326 // { int __getcwd(char *buf, u_int buflen); }
116261+ SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, const struct sched_param *param); }
116262+ SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct sched_param *param); }
116263+ SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); }
116264+ SYS_SCHED_GETSCHEDULER = 330 // { int sched_getscheduler (pid_t pid); }
116265+ SYS_SCHED_YIELD = 331 // { int sched_yield (void); }
116266+ SYS_SCHED_GET_PRIORITY_MAX = 332 // { int sched_get_priority_max (int policy); }
116267+ SYS_SCHED_GET_PRIORITY_MIN = 333 // { int sched_get_priority_min (int policy); }
116268+ SYS_SCHED_RR_GET_INTERVAL = 334 // { int sched_rr_get_interval (pid_t pid, struct timespec *interval); }
116269+ SYS_UTRACE = 335 // { int utrace(const void *addr, size_t len); }
116270+ SYS_KLDSYM = 337 // { int kldsym(int fileid, int cmd, void *data); }
116271+ SYS_JAIL = 338 // { int jail(struct jail *jail); }
116272+ SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, const sigset_t *set, sigset_t *oset); }
116273+ SYS_SIGSUSPEND = 341 // { int sigsuspend(const sigset_t *sigmask); }
116274+ SYS_SIGPENDING = 343 // { int sigpending(sigset_t *set); }
116275+ SYS_SIGTIMEDWAIT = 345 // { int sigtimedwait(const sigset_t *set, siginfo_t *info, const struct timespec *timeout); }
116276+ SYS_SIGWAITINFO = 346 // { int sigwaitinfo(const sigset_t *set, siginfo_t *info); }
116277+ SYS___ACL_GET_FILE = 347 // { int __acl_get_file(const char *path, acl_type_t type, struct acl *aclp); }
116278+ SYS___ACL_SET_FILE = 348 // { int __acl_set_file(const char *path, acl_type_t type, struct acl *aclp); }
116279+ SYS___ACL_GET_FD = 349 // { int __acl_get_fd(int filedes, acl_type_t type, struct acl *aclp); }
116280+ SYS___ACL_SET_FD = 350 // { int __acl_set_fd(int filedes, acl_type_t type, struct acl *aclp); }
116281+ SYS___ACL_DELETE_FILE = 351 // { int __acl_delete_file(const char *path, acl_type_t type); }
116282+ SYS___ACL_DELETE_FD = 352 // { int __acl_delete_fd(int filedes, acl_type_t type); }
116283+ SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, acl_type_t type, struct acl *aclp); }
116284+ SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, struct acl *aclp); }
116285+ SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); }
116286+ SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
116287+ SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
116288+ SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, int attrnamespace, const char *attrname); }
116289+ SYS_AIO_WAITCOMPLETE = 359 // { ssize_t aio_waitcomplete( struct aiocb **aiocbp, struct timespec *timeout); }
116290+ SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); }
116291+ SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
116292+ SYS_KQUEUE = 362 // { int kqueue(void); }
116293+ SYS_KEVENT = 363 // { int kevent(int fd, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); }
116294+ SYS_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
116295+ SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
116296+ SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, int attrnamespace, const char *attrname); }
116297+ SYS___SETUGID = 374 // { int __setugid(int flag); }
116298+ SYS_EACCESS = 376 // { int eaccess(char *path, int amode); }
116299+ SYS_NMOUNT = 378 // { int nmount(struct iovec *iovp, unsigned int iovcnt, int flags); }
116300+ SYS___MAC_GET_PROC = 384 // { int __mac_get_proc(struct mac *mac_p); }
116301+ SYS___MAC_SET_PROC = 385 // { int __mac_set_proc(struct mac *mac_p); }
116302+ SYS___MAC_GET_FD = 386 // { int __mac_get_fd(int fd, struct mac *mac_p); }
116303+ SYS___MAC_GET_FILE = 387 // { int __mac_get_file(const char *path_p, struct mac *mac_p); }
116304+ SYS___MAC_SET_FD = 388 // { int __mac_set_fd(int fd, struct mac *mac_p); }
116305+ SYS___MAC_SET_FILE = 389 // { int __mac_set_file(const char *path_p, struct mac *mac_p); }
116306+ SYS_KENV = 390 // { int kenv(int what, const char *name, char *value, int len); }
116307+ SYS_LCHFLAGS = 391 // { int lchflags(const char *path, u_long flags); }
116308+ SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, int count); }
116309+ SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, struct sf_hdtr *hdtr, off_t *sbytes, int flags); }
116310+ SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, int call, void *arg); }
116311+ SYS_GETFSSTAT = 395 // { int getfsstat(struct statfs *buf, long bufsize, int mode); }
116312+ SYS_STATFS = 396 // { int statfs(char *path, struct statfs *buf); }
116313+ SYS_FSTATFS = 397 // { int fstatfs(int fd, struct statfs *buf); }
116314+ SYS_FHSTATFS = 398 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); }
116315+ SYS_KSEM_CLOSE = 400 // { int ksem_close(semid_t id); }
116316+ SYS_KSEM_POST = 401 // { int ksem_post(semid_t id); }
116317+ SYS_KSEM_WAIT = 402 // { int ksem_wait(semid_t id); }
116318+ SYS_KSEM_TRYWAIT = 403 // { int ksem_trywait(semid_t id); }
116319+ SYS_KSEM_INIT = 404 // { int ksem_init(semid_t *idp, unsigned int value); }
116320+ SYS_KSEM_OPEN = 405 // { int ksem_open(semid_t *idp, const char *name, int oflag, mode_t mode, unsigned int value); }
116321+ SYS_KSEM_UNLINK = 406 // { int ksem_unlink(const char *name); }
116322+ SYS_KSEM_GETVALUE = 407 // { int ksem_getvalue(semid_t id, int *val); }
116323+ SYS_KSEM_DESTROY = 408 // { int ksem_destroy(semid_t id); }
116324+ SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, struct mac *mac_p); }
116325+ SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, struct mac *mac_p); }
116326+ SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, struct mac *mac_p); }
116327+ SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
116328+ SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
116329+ SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link( const char *path, int attrnamespace, const char *attrname); }
116330+ SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, char **envv, struct mac *mac_p); }
116331+ SYS_SIGACTION = 416 // { int sigaction(int sig, const struct sigaction *act, struct sigaction *oact); }
116332+ SYS_SIGRETURN = 417 // { int sigreturn( const struct __ucontext *sigcntxp); }
116333+ SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); }
116334+ SYS_SETCONTEXT = 422 // { int setcontext( const struct __ucontext *ucp); }
116335+ SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, const struct __ucontext *ucp); }
116336+ SYS_SWAPOFF = 424 // { int swapoff(const char *name); }
116337+ SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, acl_type_t type, struct acl *aclp); }
116338+ SYS___ACL_SET_LINK = 426 // { int __acl_set_link(const char *path, acl_type_t type, struct acl *aclp); }
116339+ SYS___ACL_DELETE_LINK = 427 // { int __acl_delete_link(const char *path, acl_type_t type); }
116340+ SYS___ACL_ACLCHECK_LINK = 428 // { int __acl_aclcheck_link(const char *path, acl_type_t type, struct acl *aclp); }
116341+ SYS_SIGWAIT = 429 // { int sigwait(const sigset_t *set, int *sig); }
116342+ SYS_THR_CREATE = 430 // { int thr_create(ucontext_t *ctx, long *id, int flags); }
116343+ SYS_THR_EXIT = 431 // { void thr_exit(long *state); }
116344+ SYS_THR_SELF = 432 // { int thr_self(long *id); }
116345+ SYS_THR_KILL = 433 // { int thr_kill(long id, int sig); }
116346+ SYS_JAIL_ATTACH = 436 // { int jail_attach(int jid); }
116347+ SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); }
116348+ SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file( const char *path, int attrnamespace, void *data, size_t nbytes); }
116349+ SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link( const char *path, int attrnamespace, void *data, size_t nbytes); }
116350+ SYS_KSEM_TIMEDWAIT = 441 // { int ksem_timedwait(semid_t id, const struct timespec *abstime); }
116351+ SYS_THR_SUSPEND = 442 // { int thr_suspend( const struct timespec *timeout); }
116352+ SYS_THR_WAKE = 443 // { int thr_wake(long id); }
116353+ SYS_KLDUNLOADF = 444 // { int kldunloadf(int fileid, int flags); }
116354+ SYS_AUDIT = 445 // { int audit(const void *record, u_int length); }
116355+ SYS_AUDITON = 446 // { int auditon(int cmd, void *data, u_int length); }
116356+ SYS_GETAUID = 447 // { int getauid(uid_t *auid); }
116357+ SYS_SETAUID = 448 // { int setauid(uid_t *auid); }
116358+ SYS_GETAUDIT = 449 // { int getaudit(struct auditinfo *auditinfo); }
116359+ SYS_SETAUDIT = 450 // { int setaudit(struct auditinfo *auditinfo); }
116360+ SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); }
116361+ SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); }
116362+ SYS_AUDITCTL = 453 // { int auditctl(char *path); }
116363+ SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, u_long val, void *uaddr1, void *uaddr2); }
116364+ SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, int param_size); }
116365+ SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); }
116366+ SYS_KMQ_OPEN = 457 // { int kmq_open(const char *path, int flags, mode_t mode, const struct mq_attr *attr); }
116367+ SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); }
116368+ SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); }
116369+ 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);}
116370+ SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); }
116371+ SYS_KMQ_UNLINK = 462 // { int kmq_unlink(const char *path); }
116372+ SYS_ABORT2 = 463 // { int abort2(const char *why, int nargs, void **args); }
116373+ SYS_THR_SET_NAME = 464 // { int thr_set_name(long id, const char *name); }
116374+ SYS_AIO_FSYNC = 465 // { int aio_fsync(int op, struct aiocb *aiocbp); }
116375+ SYS_RTPRIO_THREAD = 466 // { int rtprio_thread(int function, lwpid_t lwpid, struct rtprio *rtp); }
116376+ SYS_SCTP_PEELOFF = 471 // { int sctp_peeloff(int sd, uint32_t name); }
116377+ 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); }
116378+ 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); }
116379+ 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); }
116380+ SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, size_t nbyte, off_t offset); }
116381+ SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, size_t nbyte, off_t offset); }
116382+ SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos); }
116383+ SYS_LSEEK = 478 // { off_t lseek(int fd, off_t offset, int whence); }
116384+ SYS_TRUNCATE = 479 // { int truncate(char *path, off_t length); }
116385+ SYS_FTRUNCATE = 480 // { int ftruncate(int fd, off_t length); }
116386+ SYS_THR_KILL2 = 481 // { int thr_kill2(pid_t pid, long id, int sig); }
116387+ SYS_SHM_OPEN = 482 // { int shm_open(const char *path, int flags, mode_t mode); }
116388+ SYS_SHM_UNLINK = 483 // { int shm_unlink(const char *path); }
116389+ SYS_CPUSET = 484 // { int cpuset(cpusetid_t *setid); }
116390+ SYS_CPUSET_SETID = 485 // { int cpuset_setid(cpuwhich_t which, id_t id, cpusetid_t setid); }
116391+ SYS_CPUSET_GETID = 486 // { int cpuset_getid(cpulevel_t level, cpuwhich_t which, id_t id, cpusetid_t *setid); }
116392+ SYS_CPUSET_GETAFFINITY = 487 // { int cpuset_getaffinity(cpulevel_t level, cpuwhich_t which, id_t id, size_t cpusetsize, cpuset_t *mask); }
116393+ SYS_CPUSET_SETAFFINITY = 488 // { int cpuset_setaffinity(cpulevel_t level, cpuwhich_t which, id_t id, size_t cpusetsize, const cpuset_t *mask); }
116394+ SYS_FACCESSAT = 489 // { int faccessat(int fd, char *path, int amode, int flag); }
116395+ SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, int flag); }
116396+ SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, gid_t gid, int flag); }
116397+ SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, char **envv); }
116398+ SYS_FSTATAT = 493 // { int fstatat(int fd, char *path, struct stat *buf, int flag); }
116399+ SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, struct timeval *times); }
116400+ SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, char *path2, int flag); }
116401+ SYS_MKDIRAT = 496 // { int mkdirat(int fd, char *path, mode_t mode); }
116402+ SYS_MKFIFOAT = 497 // { int mkfifoat(int fd, char *path, mode_t mode); }
116403+ SYS_MKNODAT = 498 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); }
116404+ SYS_OPENAT = 499 // { int openat(int fd, char *path, int flag, mode_t mode); }
116405+ SYS_READLINKAT = 500 // { int readlinkat(int fd, char *path, char *buf, size_t bufsize); }
116406+ SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, char *new); }
116407+ SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, char *path2); }
116408+ SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); }
116409+ SYS_POSIX_OPENPT = 504 // { int posix_openpt(int flags); }
116410+ SYS_GSSD_SYSCALL = 505 // { int gssd_syscall(char *path); }
116411+ SYS_JAIL_GET = 506 // { int jail_get(struct iovec *iovp, unsigned int iovcnt, int flags); }
116412+ SYS_JAIL_SET = 507 // { int jail_set(struct iovec *iovp, unsigned int iovcnt, int flags); }
116413+ SYS_JAIL_REMOVE = 508 // { int jail_remove(int jid); }
116414+ SYS_CLOSEFROM = 509 // { int closefrom(int lowfd); }
116415+ SYS___SEMCTL = 510 // { int __semctl(int semid, int semnum, int cmd, union semun *arg); }
116416+ SYS_MSGCTL = 511 // { int msgctl(int msqid, int cmd, struct msqid_ds *buf); }
116417+ SYS_SHMCTL = 512 // { int shmctl(int shmid, int cmd, struct shmid_ds *buf); }
116418+ SYS_LPATHCONF = 513 // { int lpathconf(char *path, int name); }
116419+ SYS___CAP_RIGHTS_GET = 515 // { int __cap_rights_get(int version, int fd, cap_rights_t *rightsp); }
116420+ SYS_CAP_ENTER = 516 // { int cap_enter(void); }
116421+ SYS_CAP_GETMODE = 517 // { int cap_getmode(u_int *modep); }
116422+ SYS_PDFORK = 518 // { int pdfork(int *fdp, int flags); }
116423+ SYS_PDKILL = 519 // { int pdkill(int fd, int signum); }
116424+ SYS_PDGETPID = 520 // { int pdgetpid(int fd, pid_t *pidp); }
116425+ SYS_PSELECT = 522 // { int pselect(int nd, fd_set *in, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *sm); }
116426+ SYS_GETLOGINCLASS = 523 // { int getloginclass(char *namebuf, size_t namelen); }
116427+ SYS_SETLOGINCLASS = 524 // { int setloginclass(const char *namebuf); }
116428+ SYS_RCTL_GET_RACCT = 525 // { int rctl_get_racct(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); }
116429+ SYS_RCTL_GET_RULES = 526 // { int rctl_get_rules(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); }
116430+ SYS_RCTL_GET_LIMITS = 527 // { int rctl_get_limits(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); }
116431+ SYS_RCTL_ADD_RULE = 528 // { int rctl_add_rule(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); }
116432+ SYS_RCTL_REMOVE_RULE = 529 // { int rctl_remove_rule(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); }
116433+ SYS_POSIX_FALLOCATE = 530 // { int posix_fallocate(int fd, off_t offset, off_t len); }
116434+ SYS_POSIX_FADVISE = 531 // { int posix_fadvise(int fd, off_t offset, off_t len, int advice); }
116435+ SYS_WAIT6 = 532 // { int wait6(idtype_t idtype, id_t id, int *status, int options, struct __wrusage *wrusage, siginfo_t *info); }
116436+ SYS_CAP_RIGHTS_LIMIT = 533 // { int cap_rights_limit(int fd, cap_rights_t *rightsp); }
116437+ SYS_CAP_IOCTLS_LIMIT = 534 // { int cap_ioctls_limit(int fd, const u_long *cmds, size_t ncmds); }
116438+ SYS_CAP_IOCTLS_GET = 535 // { ssize_t cap_ioctls_get(int fd, u_long *cmds, size_t maxcmds); }
116439+ SYS_CAP_FCNTLS_LIMIT = 536 // { int cap_fcntls_limit(int fd, uint32_t fcntlrights); }
116440+ SYS_CAP_FCNTLS_GET = 537 // { int cap_fcntls_get(int fd, uint32_t *fcntlrightsp); }
116441+ SYS_BINDAT = 538 // { int bindat(int fd, int s, caddr_t name, int namelen); }
116442+ SYS_CONNECTAT = 539 // { int connectat(int fd, int s, caddr_t name, int namelen); }
116443+ SYS_CHFLAGSAT = 540 // { int chflagsat(int fd, const char *path, u_long flags, int atflag); }
116444+ SYS_ACCEPT4 = 541 // { int accept4(int s, struct sockaddr * __restrict name, __socklen_t * __restrict anamelen, int flags); }
116445+ SYS_PIPE2 = 542 // { int pipe2(int *fildes, int flags); }
116446+ SYS_AIO_MLOCK = 543 // { int aio_mlock(struct aiocb *aiocbp); }
116447+ SYS_PROCCTL = 544 // { int procctl(idtype_t idtype, id_t id, int com, void *data); }
116448+ SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *set); }
116449+ SYS_FUTIMENS = 546 // { int futimens(int fd, struct timespec *times); }
116450+ SYS_UTIMENSAT = 547 // { int utimensat(int fd, char *path, struct timespec *times, int flag); }
116451+ SYS_NUMA_GETAFFINITY = 548 // { int numa_getaffinity(cpuwhich_t which, id_t id, struct vm_domain_policy_entry *policy); }
116452+ SYS_NUMA_SETAFFINITY = 549 // { int numa_setaffinity(cpuwhich_t which, id_t id, const struct vm_domain_policy_entry *policy); }
116453+ SYS_FDATASYNC = 550 // { int fdatasync(int fd); }
116454 )
116455diff --git a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go
116456index 81722ac9..48a7beae 100644
116457--- a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go
116458+++ b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go
116459@@ -1,4 +1,4 @@
116460-// mksysnum_freebsd.pl
116461+// go run mksysnum.go https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master
116462 // Code generated by the command above; see README.md. DO NOT EDIT.
116463
116464 // +build amd64,freebsd
116465@@ -7,347 +7,390 @@ package unix
116466
116467 const (
116468 // SYS_NOSYS = 0; // { int nosys(void); } syscall nosys_args int
116469- SYS_EXIT = 1 // { void sys_exit(int rval); } exit \
116470- SYS_FORK = 2 // { int fork(void); }
116471- SYS_READ = 3 // { ssize_t read(int fd, void *buf, \
116472- SYS_WRITE = 4 // { ssize_t write(int fd, const void *buf, \
116473- SYS_OPEN = 5 // { int open(char *path, int flags, int mode); }
116474- SYS_CLOSE = 6 // { int close(int fd); }
116475- SYS_WAIT4 = 7 // { int wait4(int pid, int *status, \
116476- SYS_LINK = 9 // { int link(char *path, char *link); }
116477- SYS_UNLINK = 10 // { int unlink(char *path); }
116478- SYS_CHDIR = 12 // { int chdir(char *path); }
116479- SYS_FCHDIR = 13 // { int fchdir(int fd); }
116480- SYS_MKNOD = 14 // { int mknod(char *path, int mode, int dev); }
116481- SYS_CHMOD = 15 // { int chmod(char *path, int mode); }
116482- SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); }
116483- SYS_OBREAK = 17 // { int obreak(char *nsize); } break \
116484- SYS_GETPID = 20 // { pid_t getpid(void); }
116485- SYS_MOUNT = 21 // { int mount(char *type, char *path, \
116486- SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); }
116487- SYS_SETUID = 23 // { int setuid(uid_t uid); }
116488- SYS_GETUID = 24 // { uid_t getuid(void); }
116489- SYS_GETEUID = 25 // { uid_t geteuid(void); }
116490- SYS_PTRACE = 26 // { int ptrace(int req, pid_t pid, \
116491- SYS_RECVMSG = 27 // { int recvmsg(int s, struct msghdr *msg, \
116492- SYS_SENDMSG = 28 // { int sendmsg(int s, struct msghdr *msg, \
116493- SYS_RECVFROM = 29 // { int recvfrom(int s, caddr_t buf, \
116494- SYS_ACCEPT = 30 // { int accept(int s, \
116495- SYS_GETPEERNAME = 31 // { int getpeername(int fdes, \
116496- SYS_GETSOCKNAME = 32 // { int getsockname(int fdes, \
116497- SYS_ACCESS = 33 // { int access(char *path, int amode); }
116498- SYS_CHFLAGS = 34 // { int chflags(const char *path, u_long flags); }
116499- SYS_FCHFLAGS = 35 // { int fchflags(int fd, u_long flags); }
116500- SYS_SYNC = 36 // { int sync(void); }
116501- SYS_KILL = 37 // { int kill(int pid, int signum); }
116502- SYS_GETPPID = 39 // { pid_t getppid(void); }
116503- SYS_DUP = 41 // { int dup(u_int fd); }
116504- SYS_PIPE = 42 // { int pipe(void); }
116505- SYS_GETEGID = 43 // { gid_t getegid(void); }
116506- SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, \
116507- SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, \
116508- SYS_GETGID = 47 // { gid_t getgid(void); }
116509- SYS_GETLOGIN = 49 // { int getlogin(char *namebuf, u_int \
116510- SYS_SETLOGIN = 50 // { int setlogin(char *namebuf); }
116511- SYS_ACCT = 51 // { int acct(char *path); }
116512- SYS_SIGALTSTACK = 53 // { int sigaltstack(stack_t *ss, \
116513- SYS_IOCTL = 54 // { int ioctl(int fd, u_long com, \
116514- SYS_REBOOT = 55 // { int reboot(int opt); }
116515- SYS_REVOKE = 56 // { int revoke(char *path); }
116516- SYS_SYMLINK = 57 // { int symlink(char *path, char *link); }
116517- SYS_READLINK = 58 // { ssize_t readlink(char *path, char *buf, \
116518- SYS_EXECVE = 59 // { int execve(char *fname, char **argv, \
116519- SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args \
116520- SYS_CHROOT = 61 // { int chroot(char *path); }
116521- SYS_MSYNC = 65 // { int msync(void *addr, size_t len, \
116522- SYS_VFORK = 66 // { int vfork(void); }
116523- SYS_SBRK = 69 // { int sbrk(int incr); }
116524- SYS_SSTK = 70 // { int sstk(int incr); }
116525- SYS_OVADVISE = 72 // { int ovadvise(int anom); } vadvise \
116526- SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); }
116527- SYS_MPROTECT = 74 // { int mprotect(const void *addr, size_t len, \
116528- SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, \
116529- SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, \
116530- SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, \
116531- SYS_SETGROUPS = 80 // { int setgroups(u_int gidsetsize, \
116532- SYS_GETPGRP = 81 // { int getpgrp(void); }
116533- SYS_SETPGID = 82 // { int setpgid(int pid, int pgid); }
116534- SYS_SETITIMER = 83 // { int setitimer(u_int which, struct \
116535- SYS_SWAPON = 85 // { int swapon(char *name); }
116536- SYS_GETITIMER = 86 // { int getitimer(u_int which, \
116537- SYS_GETDTABLESIZE = 89 // { int getdtablesize(void); }
116538- SYS_DUP2 = 90 // { int dup2(u_int from, u_int to); }
116539- SYS_FCNTL = 92 // { int fcntl(int fd, int cmd, long arg); }
116540- SYS_SELECT = 93 // { int select(int nd, fd_set *in, fd_set *ou, \
116541- SYS_FSYNC = 95 // { int fsync(int fd); }
116542- SYS_SETPRIORITY = 96 // { int setpriority(int which, int who, \
116543- SYS_SOCKET = 97 // { int socket(int domain, int type, \
116544- SYS_CONNECT = 98 // { int connect(int s, caddr_t name, \
116545- SYS_GETPRIORITY = 100 // { int getpriority(int which, int who); }
116546- SYS_BIND = 104 // { int bind(int s, caddr_t name, \
116547- SYS_SETSOCKOPT = 105 // { int setsockopt(int s, int level, int name, \
116548- SYS_LISTEN = 106 // { int listen(int s, int backlog); }
116549- SYS_GETTIMEOFDAY = 116 // { int gettimeofday(struct timeval *tp, \
116550- SYS_GETRUSAGE = 117 // { int getrusage(int who, \
116551- SYS_GETSOCKOPT = 118 // { int getsockopt(int s, int level, int name, \
116552- SYS_READV = 120 // { int readv(int fd, struct iovec *iovp, \
116553- SYS_WRITEV = 121 // { int writev(int fd, struct iovec *iovp, \
116554- SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, \
116555- SYS_FCHOWN = 123 // { int fchown(int fd, int uid, int gid); }
116556- SYS_FCHMOD = 124 // { int fchmod(int fd, int mode); }
116557- SYS_SETREUID = 126 // { int setreuid(int ruid, int euid); }
116558- SYS_SETREGID = 127 // { int setregid(int rgid, int egid); }
116559- SYS_RENAME = 128 // { int rename(char *from, char *to); }
116560- SYS_FLOCK = 131 // { int flock(int fd, int how); }
116561- SYS_MKFIFO = 132 // { int mkfifo(char *path, int mode); }
116562- SYS_SENDTO = 133 // { int sendto(int s, caddr_t buf, size_t len, \
116563- SYS_SHUTDOWN = 134 // { int shutdown(int s, int how); }
116564- SYS_SOCKETPAIR = 135 // { int socketpair(int domain, int type, \
116565- SYS_MKDIR = 136 // { int mkdir(char *path, int mode); }
116566- SYS_RMDIR = 137 // { int rmdir(char *path); }
116567- SYS_UTIMES = 138 // { int utimes(char *path, \
116568- SYS_ADJTIME = 140 // { int adjtime(struct timeval *delta, \
116569- SYS_SETSID = 147 // { int setsid(void); }
116570- SYS_QUOTACTL = 148 // { int quotactl(char *path, int cmd, int uid, \
116571- SYS_LGETFH = 160 // { int lgetfh(char *fname, \
116572- SYS_GETFH = 161 // { int getfh(char *fname, \
116573- SYS_SYSARCH = 165 // { int sysarch(int op, char *parms); }
116574- SYS_RTPRIO = 166 // { int rtprio(int function, pid_t pid, \
116575- SYS_FREEBSD6_PREAD = 173 // { ssize_t freebsd6_pread(int fd, void *buf, \
116576- SYS_FREEBSD6_PWRITE = 174 // { ssize_t freebsd6_pwrite(int fd, \
116577- SYS_SETFIB = 175 // { int setfib(int fibnum); }
116578- SYS_NTP_ADJTIME = 176 // { int ntp_adjtime(struct timex *tp); }
116579- SYS_SETGID = 181 // { int setgid(gid_t gid); }
116580- SYS_SETEGID = 182 // { int setegid(gid_t egid); }
116581- SYS_SETEUID = 183 // { int seteuid(uid_t euid); }
116582- SYS_STAT = 188 // { int stat(char *path, struct stat *ub); }
116583- SYS_FSTAT = 189 // { int fstat(int fd, struct stat *sb); }
116584- SYS_LSTAT = 190 // { int lstat(char *path, struct stat *ub); }
116585- SYS_PATHCONF = 191 // { int pathconf(char *path, int name); }
116586- SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); }
116587- SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, \
116588- SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, \
116589- SYS_GETDIRENTRIES = 196 // { int getdirentries(int fd, char *buf, \
116590- SYS_FREEBSD6_MMAP = 197 // { caddr_t freebsd6_mmap(caddr_t addr, \
116591- SYS_FREEBSD6_LSEEK = 199 // { off_t freebsd6_lseek(int fd, int pad, \
116592- SYS_FREEBSD6_TRUNCATE = 200 // { int freebsd6_truncate(char *path, int pad, \
116593- SYS_FREEBSD6_FTRUNCATE = 201 // { int freebsd6_ftruncate(int fd, int pad, \
116594- SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, \
116595- SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); }
116596- SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); }
116597- SYS_UNDELETE = 205 // { int undelete(char *path); }
116598- SYS_FUTIMES = 206 // { int futimes(int fd, struct timeval *tptr); }
116599- SYS_GETPGID = 207 // { int getpgid(pid_t pid); }
116600- SYS_POLL = 209 // { int poll(struct pollfd *fds, u_int nfds, \
116601- SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, \
116602- SYS_CLOCK_SETTIME = 233 // { int clock_settime( \
116603- SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, \
116604- SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, \
116605- SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); }
116606- SYS_KTIMER_SETTIME = 237 // { int ktimer_settime(int timerid, int flags, \
116607- SYS_KTIMER_GETTIME = 238 // { int ktimer_gettime(int timerid, struct \
116608- SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); }
116609- SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, \
116610- SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); }
116611- SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate( \
116612- SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate( \
116613- SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id,\
116614- SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); }
116615- SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, \
116616- SYS_RFORK = 251 // { int rfork(int flags); }
116617- SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, \
116618- SYS_ISSETUGID = 253 // { int issetugid(void); }
116619- SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); }
116620- SYS_GETDENTS = 272 // { int getdents(int fd, char *buf, \
116621- SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); }
116622- SYS_LUTIMES = 276 // { int lutimes(char *path, \
116623- SYS_NSTAT = 278 // { int nstat(char *path, struct nstat *ub); }
116624- SYS_NFSTAT = 279 // { int nfstat(int fd, struct nstat *sb); }
116625- SYS_NLSTAT = 280 // { int nlstat(char *path, struct nstat *ub); }
116626- SYS_PREADV = 289 // { ssize_t preadv(int fd, struct iovec *iovp, \
116627- SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, \
116628- SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, \
116629- SYS_FHSTAT = 299 // { int fhstat(const struct fhandle *u_fhp, \
116630- SYS_MODNEXT = 300 // { int modnext(int modid); }
116631- SYS_MODSTAT = 301 // { int modstat(int modid, \
116632- SYS_MODFNEXT = 302 // { int modfnext(int modid); }
116633- SYS_MODFIND = 303 // { int modfind(const char *name); }
116634- SYS_KLDLOAD = 304 // { int kldload(const char *file); }
116635- SYS_KLDUNLOAD = 305 // { int kldunload(int fileid); }
116636- SYS_KLDFIND = 306 // { int kldfind(const char *file); }
116637- SYS_KLDNEXT = 307 // { int kldnext(int fileid); }
116638- SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct \
116639- SYS_KLDFIRSTMOD = 309 // { int kldfirstmod(int fileid); }
116640- SYS_GETSID = 310 // { int getsid(pid_t pid); }
116641- SYS_SETRESUID = 311 // { int setresuid(uid_t ruid, uid_t euid, \
116642- SYS_SETRESGID = 312 // { int setresgid(gid_t rgid, gid_t egid, \
116643- SYS_YIELD = 321 // { int yield(void); }
116644- SYS_MLOCKALL = 324 // { int mlockall(int how); }
116645- SYS_MUNLOCKALL = 325 // { int munlockall(void); }
116646- SYS___GETCWD = 326 // { int __getcwd(char *buf, u_int buflen); }
116647- SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, \
116648- SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct \
116649- SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int \
116650- SYS_SCHED_GETSCHEDULER = 330 // { int sched_getscheduler (pid_t pid); }
116651- SYS_SCHED_YIELD = 331 // { int sched_yield (void); }
116652- SYS_SCHED_GET_PRIORITY_MAX = 332 // { int sched_get_priority_max (int policy); }
116653- SYS_SCHED_GET_PRIORITY_MIN = 333 // { int sched_get_priority_min (int policy); }
116654- SYS_SCHED_RR_GET_INTERVAL = 334 // { int sched_rr_get_interval (pid_t pid, \
116655- SYS_UTRACE = 335 // { int utrace(const void *addr, size_t len); }
116656- SYS_KLDSYM = 337 // { int kldsym(int fileid, int cmd, \
116657- SYS_JAIL = 338 // { int jail(struct jail *jail); }
116658- SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, \
116659- SYS_SIGSUSPEND = 341 // { int sigsuspend(const sigset_t *sigmask); }
116660- SYS_SIGPENDING = 343 // { int sigpending(sigset_t *set); }
116661- SYS_SIGTIMEDWAIT = 345 // { int sigtimedwait(const sigset_t *set, \
116662- SYS_SIGWAITINFO = 346 // { int sigwaitinfo(const sigset_t *set, \
116663- SYS___ACL_GET_FILE = 347 // { int __acl_get_file(const char *path, \
116664- SYS___ACL_SET_FILE = 348 // { int __acl_set_file(const char *path, \
116665- SYS___ACL_GET_FD = 349 // { int __acl_get_fd(int filedes, \
116666- SYS___ACL_SET_FD = 350 // { int __acl_set_fd(int filedes, \
116667- SYS___ACL_DELETE_FILE = 351 // { int __acl_delete_file(const char *path, \
116668- SYS___ACL_DELETE_FD = 352 // { int __acl_delete_fd(int filedes, \
116669- SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, \
116670- SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, \
116671- SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, \
116672- SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file( \
116673- SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file( \
116674- SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, \
116675- SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, \
116676- SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, \
116677- SYS_KQUEUE = 362 // { int kqueue(void); }
116678- SYS_KEVENT = 363 // { int kevent(int fd, \
116679- SYS_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, \
116680- SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, \
116681- SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, \
116682- SYS___SETUGID = 374 // { int __setugid(int flag); }
116683- SYS_EACCESS = 376 // { int eaccess(char *path, int amode); }
116684- SYS_NMOUNT = 378 // { int nmount(struct iovec *iovp, \
116685- SYS___MAC_GET_PROC = 384 // { int __mac_get_proc(struct mac *mac_p); }
116686- SYS___MAC_SET_PROC = 385 // { int __mac_set_proc(struct mac *mac_p); }
116687- SYS___MAC_GET_FD = 386 // { int __mac_get_fd(int fd, \
116688- SYS___MAC_GET_FILE = 387 // { int __mac_get_file(const char *path_p, \
116689- SYS___MAC_SET_FD = 388 // { int __mac_set_fd(int fd, \
116690- SYS___MAC_SET_FILE = 389 // { int __mac_set_file(const char *path_p, \
116691- SYS_KENV = 390 // { int kenv(int what, const char *name, \
116692- SYS_LCHFLAGS = 391 // { int lchflags(const char *path, \
116693- SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, \
116694- SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, \
116695- SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, \
116696- SYS_GETFSSTAT = 395 // { int getfsstat(struct statfs *buf, \
116697- SYS_STATFS = 396 // { int statfs(char *path, \
116698- SYS_FSTATFS = 397 // { int fstatfs(int fd, struct statfs *buf); }
116699- SYS_FHSTATFS = 398 // { int fhstatfs(const struct fhandle *u_fhp, \
116700- SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, \
116701- SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, \
116702- SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, \
116703- SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link( \
116704- SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link( \
116705- SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link( \
116706- SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, \
116707- SYS_SIGACTION = 416 // { int sigaction(int sig, \
116708- SYS_SIGRETURN = 417 // { int sigreturn( \
116709- SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); }
116710- SYS_SETCONTEXT = 422 // { int setcontext( \
116711- SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, \
116712- SYS_SWAPOFF = 424 // { int swapoff(const char *name); }
116713- SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, \
116714- SYS___ACL_SET_LINK = 426 // { int __acl_set_link(const char *path, \
116715- SYS___ACL_DELETE_LINK = 427 // { int __acl_delete_link(const char *path, \
116716- SYS___ACL_ACLCHECK_LINK = 428 // { int __acl_aclcheck_link(const char *path, \
116717- SYS_SIGWAIT = 429 // { int sigwait(const sigset_t *set, \
116718- SYS_THR_CREATE = 430 // { int thr_create(ucontext_t *ctx, long *id, \
116719- SYS_THR_EXIT = 431 // { void thr_exit(long *state); }
116720- SYS_THR_SELF = 432 // { int thr_self(long *id); }
116721- SYS_THR_KILL = 433 // { int thr_kill(long id, int sig); }
116722- SYS__UMTX_LOCK = 434 // { int _umtx_lock(struct umtx *umtx); }
116723- SYS__UMTX_UNLOCK = 435 // { int _umtx_unlock(struct umtx *umtx); }
116724- SYS_JAIL_ATTACH = 436 // { int jail_attach(int jid); }
116725- SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, \
116726- SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file( \
116727- SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link( \
116728- SYS_THR_SUSPEND = 442 // { int thr_suspend( \
116729- SYS_THR_WAKE = 443 // { int thr_wake(long id); }
116730- SYS_KLDUNLOADF = 444 // { int kldunloadf(int fileid, int flags); }
116731- SYS_AUDIT = 445 // { int audit(const void *record, \
116732- SYS_AUDITON = 446 // { int auditon(int cmd, void *data, \
116733- SYS_GETAUID = 447 // { int getauid(uid_t *auid); }
116734- SYS_SETAUID = 448 // { int setauid(uid_t *auid); }
116735- SYS_GETAUDIT = 449 // { int getaudit(struct auditinfo *auditinfo); }
116736- SYS_SETAUDIT = 450 // { int setaudit(struct auditinfo *auditinfo); }
116737- SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr( \
116738- SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr( \
116739- SYS_AUDITCTL = 453 // { int auditctl(char *path); }
116740- SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, \
116741- SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, \
116742- SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); }
116743- SYS_ABORT2 = 463 // { int abort2(const char *why, int nargs, void **args); }
116744- SYS_THR_SET_NAME = 464 // { int thr_set_name(long id, const char *name); }
116745- SYS_RTPRIO_THREAD = 466 // { int rtprio_thread(int function, \
116746- SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, \
116747- SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, \
116748- SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, \
116749- SYS_LSEEK = 478 // { off_t lseek(int fd, off_t offset, \
116750- SYS_TRUNCATE = 479 // { int truncate(char *path, off_t length); }
116751- SYS_FTRUNCATE = 480 // { int ftruncate(int fd, off_t length); }
116752- SYS_THR_KILL2 = 481 // { int thr_kill2(pid_t pid, long id, int sig); }
116753- SYS_SHM_OPEN = 482 // { int shm_open(const char *path, int flags, \
116754- SYS_SHM_UNLINK = 483 // { int shm_unlink(const char *path); }
116755- SYS_CPUSET = 484 // { int cpuset(cpusetid_t *setid); }
116756- SYS_CPUSET_SETID = 485 // { int cpuset_setid(cpuwhich_t which, id_t id, \
116757- SYS_CPUSET_GETID = 486 // { int cpuset_getid(cpulevel_t level, \
116758- SYS_CPUSET_GETAFFINITY = 487 // { int cpuset_getaffinity(cpulevel_t level, \
116759- SYS_CPUSET_SETAFFINITY = 488 // { int cpuset_setaffinity(cpulevel_t level, \
116760- SYS_FACCESSAT = 489 // { int faccessat(int fd, char *path, int amode, \
116761- SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, \
116762- SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, \
116763- SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, \
116764- SYS_FSTATAT = 493 // { int fstatat(int fd, char *path, \
116765- SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, \
116766- SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, \
116767- SYS_MKDIRAT = 496 // { int mkdirat(int fd, char *path, mode_t mode); }
116768- SYS_MKFIFOAT = 497 // { int mkfifoat(int fd, char *path, mode_t mode); }
116769- SYS_MKNODAT = 498 // { int mknodat(int fd, char *path, mode_t mode, \
116770- SYS_OPENAT = 499 // { int openat(int fd, char *path, int flag, \
116771- SYS_READLINKAT = 500 // { int readlinkat(int fd, char *path, char *buf, \
116772- SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, \
116773- SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, \
116774- SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); }
116775- SYS_POSIX_OPENPT = 504 // { int posix_openpt(int flags); }
116776- SYS_JAIL_GET = 506 // { int jail_get(struct iovec *iovp, \
116777- SYS_JAIL_SET = 507 // { int jail_set(struct iovec *iovp, \
116778- SYS_JAIL_REMOVE = 508 // { int jail_remove(int jid); }
116779- SYS_CLOSEFROM = 509 // { int closefrom(int lowfd); }
116780- SYS_LPATHCONF = 513 // { int lpathconf(char *path, int name); }
116781- SYS___CAP_RIGHTS_GET = 515 // { int __cap_rights_get(int version, \
116782- SYS_CAP_ENTER = 516 // { int cap_enter(void); }
116783- SYS_CAP_GETMODE = 517 // { int cap_getmode(u_int *modep); }
116784- SYS_PDFORK = 518 // { int pdfork(int *fdp, int flags); }
116785- SYS_PDKILL = 519 // { int pdkill(int fd, int signum); }
116786- SYS_PDGETPID = 520 // { int pdgetpid(int fd, pid_t *pidp); }
116787- SYS_PSELECT = 522 // { int pselect(int nd, fd_set *in, \
116788- SYS_GETLOGINCLASS = 523 // { int getloginclass(char *namebuf, \
116789- SYS_SETLOGINCLASS = 524 // { int setloginclass(const char *namebuf); }
116790- SYS_RCTL_GET_RACCT = 525 // { int rctl_get_racct(const void *inbufp, \
116791- SYS_RCTL_GET_RULES = 526 // { int rctl_get_rules(const void *inbufp, \
116792- SYS_RCTL_GET_LIMITS = 527 // { int rctl_get_limits(const void *inbufp, \
116793- SYS_RCTL_ADD_RULE = 528 // { int rctl_add_rule(const void *inbufp, \
116794- SYS_RCTL_REMOVE_RULE = 529 // { int rctl_remove_rule(const void *inbufp, \
116795- SYS_POSIX_FALLOCATE = 530 // { int posix_fallocate(int fd, \
116796- SYS_POSIX_FADVISE = 531 // { int posix_fadvise(int fd, off_t offset, \
116797- SYS_WAIT6 = 532 // { int wait6(idtype_t idtype, id_t id, \
116798- SYS_CAP_RIGHTS_LIMIT = 533 // { int cap_rights_limit(int fd, \
116799- SYS_CAP_IOCTLS_LIMIT = 534 // { int cap_ioctls_limit(int fd, \
116800- SYS_CAP_IOCTLS_GET = 535 // { ssize_t cap_ioctls_get(int fd, \
116801- SYS_CAP_FCNTLS_LIMIT = 536 // { int cap_fcntls_limit(int fd, \
116802- SYS_CAP_FCNTLS_GET = 537 // { int cap_fcntls_get(int fd, \
116803- SYS_BINDAT = 538 // { int bindat(int fd, int s, caddr_t name, \
116804- SYS_CONNECTAT = 539 // { int connectat(int fd, int s, caddr_t name, \
116805- SYS_CHFLAGSAT = 540 // { int chflagsat(int fd, const char *path, \
116806- SYS_ACCEPT4 = 541 // { int accept4(int s, \
116807- SYS_PIPE2 = 542 // { int pipe2(int *fildes, int flags); }
116808- SYS_PROCCTL = 544 // { int procctl(idtype_t idtype, id_t id, \
116809- SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, \
116810- SYS_FUTIMENS = 546 // { int futimens(int fd, \
116811- SYS_UTIMENSAT = 547 // { int utimensat(int fd, \
116812+ SYS_EXIT = 1 // { void sys_exit(int rval); } exit sys_exit_args void
116813+ SYS_FORK = 2 // { int fork(void); }
116814+ SYS_READ = 3 // { ssize_t read(int fd, void *buf, size_t nbyte); }
116815+ SYS_WRITE = 4 // { ssize_t write(int fd, const void *buf, size_t nbyte); }
116816+ SYS_OPEN = 5 // { int open(char *path, int flags, int mode); }
116817+ SYS_CLOSE = 6 // { int close(int fd); }
116818+ SYS_WAIT4 = 7 // { int wait4(int pid, int *status, int options, struct rusage *rusage); }
116819+ SYS_LINK = 9 // { int link(char *path, char *link); }
116820+ SYS_UNLINK = 10 // { int unlink(char *path); }
116821+ SYS_CHDIR = 12 // { int chdir(char *path); }
116822+ SYS_FCHDIR = 13 // { int fchdir(int fd); }
116823+ SYS_MKNOD = 14 // { int mknod(char *path, int mode, int dev); }
116824+ SYS_CHMOD = 15 // { int chmod(char *path, int mode); }
116825+ SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); }
116826+ SYS_OBREAK = 17 // { int obreak(char *nsize); } break obreak_args int
116827+ SYS_GETPID = 20 // { pid_t getpid(void); }
116828+ SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, caddr_t data); }
116829+ SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); }
116830+ SYS_SETUID = 23 // { int setuid(uid_t uid); }
116831+ SYS_GETUID = 24 // { uid_t getuid(void); }
116832+ SYS_GETEUID = 25 // { uid_t geteuid(void); }
116833+ SYS_PTRACE = 26 // { int ptrace(int req, pid_t pid, caddr_t addr, int data); }
116834+ SYS_RECVMSG = 27 // { int recvmsg(int s, struct msghdr *msg, int flags); }
116835+ SYS_SENDMSG = 28 // { int sendmsg(int s, struct msghdr *msg, int flags); }
116836+ SYS_RECVFROM = 29 // { int recvfrom(int s, caddr_t buf, size_t len, int flags, struct sockaddr * __restrict from, __socklen_t * __restrict fromlenaddr); }
116837+ SYS_ACCEPT = 30 // { int accept(int s, struct sockaddr * __restrict name, __socklen_t * __restrict anamelen); }
116838+ SYS_GETPEERNAME = 31 // { int getpeername(int fdes, struct sockaddr * __restrict asa, __socklen_t * __restrict alen); }
116839+ SYS_GETSOCKNAME = 32 // { int getsockname(int fdes, struct sockaddr * __restrict asa, __socklen_t * __restrict alen); }
116840+ SYS_ACCESS = 33 // { int access(char *path, int amode); }
116841+ SYS_CHFLAGS = 34 // { int chflags(const char *path, u_long flags); }
116842+ SYS_FCHFLAGS = 35 // { int fchflags(int fd, u_long flags); }
116843+ SYS_SYNC = 36 // { int sync(void); }
116844+ SYS_KILL = 37 // { int kill(int pid, int signum); }
116845+ SYS_GETPPID = 39 // { pid_t getppid(void); }
116846+ SYS_DUP = 41 // { int dup(u_int fd); }
116847+ SYS_PIPE = 42 // { int pipe(void); }
116848+ SYS_GETEGID = 43 // { gid_t getegid(void); }
116849+ SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, size_t offset, u_int scale); }
116850+ SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, int pid); }
116851+ SYS_GETGID = 47 // { gid_t getgid(void); }
116852+ SYS_GETLOGIN = 49 // { int getlogin(char *namebuf, u_int namelen); }
116853+ SYS_SETLOGIN = 50 // { int setlogin(char *namebuf); }
116854+ SYS_ACCT = 51 // { int acct(char *path); }
116855+ SYS_SIGALTSTACK = 53 // { int sigaltstack(stack_t *ss, stack_t *oss); }
116856+ SYS_IOCTL = 54 // { int ioctl(int fd, u_long com, caddr_t data); }
116857+ SYS_REBOOT = 55 // { int reboot(int opt); }
116858+ SYS_REVOKE = 56 // { int revoke(char *path); }
116859+ SYS_SYMLINK = 57 // { int symlink(char *path, char *link); }
116860+ SYS_READLINK = 58 // { ssize_t readlink(char *path, char *buf, size_t count); }
116861+ SYS_EXECVE = 59 // { int execve(char *fname, char **argv, char **envv); }
116862+ SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args int
116863+ SYS_CHROOT = 61 // { int chroot(char *path); }
116864+ SYS_MSYNC = 65 // { int msync(void *addr, size_t len, int flags); }
116865+ SYS_VFORK = 66 // { int vfork(void); }
116866+ SYS_SBRK = 69 // { int sbrk(int incr); }
116867+ SYS_SSTK = 70 // { int sstk(int incr); }
116868+ SYS_OVADVISE = 72 // { int ovadvise(int anom); } vadvise ovadvise_args int
116869+ SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); }
116870+ SYS_MPROTECT = 74 // { int mprotect(const void *addr, size_t len, int prot); }
116871+ SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, int behav); }
116872+ SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, char *vec); }
116873+ SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, gid_t *gidset); }
116874+ SYS_SETGROUPS = 80 // { int setgroups(u_int gidsetsize, gid_t *gidset); }
116875+ SYS_GETPGRP = 81 // { int getpgrp(void); }
116876+ SYS_SETPGID = 82 // { int setpgid(int pid, int pgid); }
116877+ SYS_SETITIMER = 83 // { int setitimer(u_int which, struct itimerval *itv, struct itimerval *oitv); }
116878+ SYS_SWAPON = 85 // { int swapon(char *name); }
116879+ SYS_GETITIMER = 86 // { int getitimer(u_int which, struct itimerval *itv); }
116880+ SYS_GETDTABLESIZE = 89 // { int getdtablesize(void); }
116881+ SYS_DUP2 = 90 // { int dup2(u_int from, u_int to); }
116882+ SYS_FCNTL = 92 // { int fcntl(int fd, int cmd, long arg); }
116883+ SYS_SELECT = 93 // { int select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); }
116884+ SYS_FSYNC = 95 // { int fsync(int fd); }
116885+ SYS_SETPRIORITY = 96 // { int setpriority(int which, int who, int prio); }
116886+ SYS_SOCKET = 97 // { int socket(int domain, int type, int protocol); }
116887+ SYS_CONNECT = 98 // { int connect(int s, caddr_t name, int namelen); }
116888+ SYS_GETPRIORITY = 100 // { int getpriority(int which, int who); }
116889+ SYS_BIND = 104 // { int bind(int s, caddr_t name, int namelen); }
116890+ SYS_SETSOCKOPT = 105 // { int setsockopt(int s, int level, int name, caddr_t val, int valsize); }
116891+ SYS_LISTEN = 106 // { int listen(int s, int backlog); }
116892+ SYS_GETTIMEOFDAY = 116 // { int gettimeofday(struct timeval *tp, struct timezone *tzp); }
116893+ SYS_GETRUSAGE = 117 // { int getrusage(int who, struct rusage *rusage); }
116894+ SYS_GETSOCKOPT = 118 // { int getsockopt(int s, int level, int name, caddr_t val, int *avalsize); }
116895+ SYS_READV = 120 // { int readv(int fd, struct iovec *iovp, u_int iovcnt); }
116896+ SYS_WRITEV = 121 // { int writev(int fd, struct iovec *iovp, u_int iovcnt); }
116897+ SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, struct timezone *tzp); }
116898+ SYS_FCHOWN = 123 // { int fchown(int fd, int uid, int gid); }
116899+ SYS_FCHMOD = 124 // { int fchmod(int fd, int mode); }
116900+ SYS_SETREUID = 126 // { int setreuid(int ruid, int euid); }
116901+ SYS_SETREGID = 127 // { int setregid(int rgid, int egid); }
116902+ SYS_RENAME = 128 // { int rename(char *from, char *to); }
116903+ SYS_FLOCK = 131 // { int flock(int fd, int how); }
116904+ SYS_MKFIFO = 132 // { int mkfifo(char *path, int mode); }
116905+ SYS_SENDTO = 133 // { int sendto(int s, caddr_t buf, size_t len, int flags, caddr_t to, int tolen); }
116906+ SYS_SHUTDOWN = 134 // { int shutdown(int s, int how); }
116907+ SYS_SOCKETPAIR = 135 // { int socketpair(int domain, int type, int protocol, int *rsv); }
116908+ SYS_MKDIR = 136 // { int mkdir(char *path, int mode); }
116909+ SYS_RMDIR = 137 // { int rmdir(char *path); }
116910+ SYS_UTIMES = 138 // { int utimes(char *path, struct timeval *tptr); }
116911+ SYS_ADJTIME = 140 // { int adjtime(struct timeval *delta, struct timeval *olddelta); }
116912+ SYS_SETSID = 147 // { int setsid(void); }
116913+ SYS_QUOTACTL = 148 // { int quotactl(char *path, int cmd, int uid, caddr_t arg); }
116914+ SYS_NLM_SYSCALL = 154 // { int nlm_syscall(int debug_level, int grace_period, int addr_count, char **addrs); }
116915+ SYS_NFSSVC = 155 // { int nfssvc(int flag, caddr_t argp); }
116916+ SYS_LGETFH = 160 // { int lgetfh(char *fname, struct fhandle *fhp); }
116917+ SYS_GETFH = 161 // { int getfh(char *fname, struct fhandle *fhp); }
116918+ SYS_SYSARCH = 165 // { int sysarch(int op, char *parms); }
116919+ SYS_RTPRIO = 166 // { int rtprio(int function, pid_t pid, struct rtprio *rtp); }
116920+ SYS_SEMSYS = 169 // { int semsys(int which, int a2, int a3, int a4, int a5); }
116921+ SYS_MSGSYS = 170 // { int msgsys(int which, int a2, int a3, int a4, int a5, int a6); }
116922+ SYS_SHMSYS = 171 // { int shmsys(int which, int a2, int a3, int a4); }
116923+ SYS_SETFIB = 175 // { int setfib(int fibnum); }
116924+ SYS_NTP_ADJTIME = 176 // { int ntp_adjtime(struct timex *tp); }
116925+ SYS_SETGID = 181 // { int setgid(gid_t gid); }
116926+ SYS_SETEGID = 182 // { int setegid(gid_t egid); }
116927+ SYS_SETEUID = 183 // { int seteuid(uid_t euid); }
116928+ SYS_STAT = 188 // { int stat(char *path, struct stat *ub); }
116929+ SYS_FSTAT = 189 // { int fstat(int fd, struct stat *sb); }
116930+ SYS_LSTAT = 190 // { int lstat(char *path, struct stat *ub); }
116931+ SYS_PATHCONF = 191 // { int pathconf(char *path, int name); }
116932+ SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); }
116933+ SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, struct rlimit *rlp); } getrlimit __getrlimit_args int
116934+ SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int
116935+ SYS_GETDIRENTRIES = 196 // { int getdirentries(int fd, char *buf, u_int count, long *basep); }
116936+ SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } __sysctl sysctl_args int
116937+ SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); }
116938+ SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); }
116939+ SYS_UNDELETE = 205 // { int undelete(char *path); }
116940+ SYS_FUTIMES = 206 // { int futimes(int fd, struct timeval *tptr); }
116941+ SYS_GETPGID = 207 // { int getpgid(pid_t pid); }
116942+ SYS_POLL = 209 // { int poll(struct pollfd *fds, u_int nfds, int timeout); }
116943+ SYS_SEMGET = 221 // { int semget(key_t key, int nsems, int semflg); }
116944+ SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, size_t nsops); }
116945+ SYS_MSGGET = 225 // { int msgget(key_t key, int msgflg); }
116946+ SYS_MSGSND = 226 // { int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); }
116947+ SYS_MSGRCV = 227 // { int msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
116948+ SYS_SHMAT = 228 // { int shmat(int shmid, const void *shmaddr, int shmflg); }
116949+ SYS_SHMDT = 230 // { int shmdt(const void *shmaddr); }
116950+ SYS_SHMGET = 231 // { int shmget(key_t key, size_t size, int shmflg); }
116951+ SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, struct timespec *tp); }
116952+ SYS_CLOCK_SETTIME = 233 // { int clock_settime( clockid_t clock_id, const struct timespec *tp); }
116953+ SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, struct timespec *tp); }
116954+ SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, struct sigevent *evp, int *timerid); }
116955+ SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); }
116956+ SYS_KTIMER_SETTIME = 237 // { int ktimer_settime(int timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue); }
116957+ SYS_KTIMER_GETTIME = 238 // { int ktimer_gettime(int timerid, struct itimerspec *value); }
116958+ SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); }
116959+ SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); }
116960+ SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); }
116961+ SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate( struct ffclock_estimate *cest); }
116962+ SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate( struct ffclock_estimate *cest); }
116963+ SYS_CLOCK_NANOSLEEP = 244 // { int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp); }
116964+ SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id,int which, clockid_t *clock_id); }
116965+ SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); }
116966+ SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, int inherit); }
116967+ SYS_RFORK = 251 // { int rfork(int flags); }
116968+ SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, u_int nfds, int timeout); }
116969+ SYS_ISSETUGID = 253 // { int issetugid(void); }
116970+ SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); }
116971+ SYS_AIO_READ = 255 // { int aio_read(struct aiocb *aiocbp); }
116972+ SYS_AIO_WRITE = 256 // { int aio_write(struct aiocb *aiocbp); }
116973+ SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb * const *acb_list, int nent, struct sigevent *sig); }
116974+ SYS_GETDENTS = 272 // { int getdents(int fd, char *buf, size_t count); }
116975+ SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); }
116976+ SYS_LUTIMES = 276 // { int lutimes(char *path, struct timeval *tptr); }
116977+ SYS_NSTAT = 278 // { int nstat(char *path, struct nstat *ub); }
116978+ SYS_NFSTAT = 279 // { int nfstat(int fd, struct nstat *sb); }
116979+ SYS_NLSTAT = 280 // { int nlstat(char *path, struct nstat *ub); }
116980+ SYS_PREADV = 289 // { ssize_t preadv(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); }
116981+ SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); }
116982+ SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); }
116983+ SYS_FHSTAT = 299 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); }
116984+ SYS_MODNEXT = 300 // { int modnext(int modid); }
116985+ SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat *stat); }
116986+ SYS_MODFNEXT = 302 // { int modfnext(int modid); }
116987+ SYS_MODFIND = 303 // { int modfind(const char *name); }
116988+ SYS_KLDLOAD = 304 // { int kldload(const char *file); }
116989+ SYS_KLDUNLOAD = 305 // { int kldunload(int fileid); }
116990+ SYS_KLDFIND = 306 // { int kldfind(const char *file); }
116991+ SYS_KLDNEXT = 307 // { int kldnext(int fileid); }
116992+ SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct kld_file_stat* stat); }
116993+ SYS_KLDFIRSTMOD = 309 // { int kldfirstmod(int fileid); }
116994+ SYS_GETSID = 310 // { int getsid(pid_t pid); }
116995+ SYS_SETRESUID = 311 // { int setresuid(uid_t ruid, uid_t euid, uid_t suid); }
116996+ SYS_SETRESGID = 312 // { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
116997+ SYS_AIO_RETURN = 314 // { ssize_t aio_return(struct aiocb *aiocbp); }
116998+ SYS_AIO_SUSPEND = 315 // { int aio_suspend( struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); }
116999+ SYS_AIO_CANCEL = 316 // { int aio_cancel(int fd, struct aiocb *aiocbp); }
117000+ SYS_AIO_ERROR = 317 // { int aio_error(struct aiocb *aiocbp); }
117001+ SYS_YIELD = 321 // { int yield(void); }
117002+ SYS_MLOCKALL = 324 // { int mlockall(int how); }
117003+ SYS_MUNLOCKALL = 325 // { int munlockall(void); }
117004+ SYS___GETCWD = 326 // { int __getcwd(char *buf, u_int buflen); }
117005+ SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, const struct sched_param *param); }
117006+ SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct sched_param *param); }
117007+ SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); }
117008+ SYS_SCHED_GETSCHEDULER = 330 // { int sched_getscheduler (pid_t pid); }
117009+ SYS_SCHED_YIELD = 331 // { int sched_yield (void); }
117010+ SYS_SCHED_GET_PRIORITY_MAX = 332 // { int sched_get_priority_max (int policy); }
117011+ SYS_SCHED_GET_PRIORITY_MIN = 333 // { int sched_get_priority_min (int policy); }
117012+ SYS_SCHED_RR_GET_INTERVAL = 334 // { int sched_rr_get_interval (pid_t pid, struct timespec *interval); }
117013+ SYS_UTRACE = 335 // { int utrace(const void *addr, size_t len); }
117014+ SYS_KLDSYM = 337 // { int kldsym(int fileid, int cmd, void *data); }
117015+ SYS_JAIL = 338 // { int jail(struct jail *jail); }
117016+ SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, const sigset_t *set, sigset_t *oset); }
117017+ SYS_SIGSUSPEND = 341 // { int sigsuspend(const sigset_t *sigmask); }
117018+ SYS_SIGPENDING = 343 // { int sigpending(sigset_t *set); }
117019+ SYS_SIGTIMEDWAIT = 345 // { int sigtimedwait(const sigset_t *set, siginfo_t *info, const struct timespec *timeout); }
117020+ SYS_SIGWAITINFO = 346 // { int sigwaitinfo(const sigset_t *set, siginfo_t *info); }
117021+ SYS___ACL_GET_FILE = 347 // { int __acl_get_file(const char *path, acl_type_t type, struct acl *aclp); }
117022+ SYS___ACL_SET_FILE = 348 // { int __acl_set_file(const char *path, acl_type_t type, struct acl *aclp); }
117023+ SYS___ACL_GET_FD = 349 // { int __acl_get_fd(int filedes, acl_type_t type, struct acl *aclp); }
117024+ SYS___ACL_SET_FD = 350 // { int __acl_set_fd(int filedes, acl_type_t type, struct acl *aclp); }
117025+ SYS___ACL_DELETE_FILE = 351 // { int __acl_delete_file(const char *path, acl_type_t type); }
117026+ SYS___ACL_DELETE_FD = 352 // { int __acl_delete_fd(int filedes, acl_type_t type); }
117027+ SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, acl_type_t type, struct acl *aclp); }
117028+ SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, struct acl *aclp); }
117029+ SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); }
117030+ SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
117031+ SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
117032+ SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, int attrnamespace, const char *attrname); }
117033+ SYS_AIO_WAITCOMPLETE = 359 // { ssize_t aio_waitcomplete( struct aiocb **aiocbp, struct timespec *timeout); }
117034+ SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); }
117035+ SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
117036+ SYS_KQUEUE = 362 // { int kqueue(void); }
117037+ SYS_KEVENT = 363 // { int kevent(int fd, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); }
117038+ SYS_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
117039+ SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
117040+ SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, int attrnamespace, const char *attrname); }
117041+ SYS___SETUGID = 374 // { int __setugid(int flag); }
117042+ SYS_EACCESS = 376 // { int eaccess(char *path, int amode); }
117043+ SYS_NMOUNT = 378 // { int nmount(struct iovec *iovp, unsigned int iovcnt, int flags); }
117044+ SYS___MAC_GET_PROC = 384 // { int __mac_get_proc(struct mac *mac_p); }
117045+ SYS___MAC_SET_PROC = 385 // { int __mac_set_proc(struct mac *mac_p); }
117046+ SYS___MAC_GET_FD = 386 // { int __mac_get_fd(int fd, struct mac *mac_p); }
117047+ SYS___MAC_GET_FILE = 387 // { int __mac_get_file(const char *path_p, struct mac *mac_p); }
117048+ SYS___MAC_SET_FD = 388 // { int __mac_set_fd(int fd, struct mac *mac_p); }
117049+ SYS___MAC_SET_FILE = 389 // { int __mac_set_file(const char *path_p, struct mac *mac_p); }
117050+ SYS_KENV = 390 // { int kenv(int what, const char *name, char *value, int len); }
117051+ SYS_LCHFLAGS = 391 // { int lchflags(const char *path, u_long flags); }
117052+ SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, int count); }
117053+ SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, struct sf_hdtr *hdtr, off_t *sbytes, int flags); }
117054+ SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, int call, void *arg); }
117055+ SYS_GETFSSTAT = 395 // { int getfsstat(struct statfs *buf, long bufsize, int mode); }
117056+ SYS_STATFS = 396 // { int statfs(char *path, struct statfs *buf); }
117057+ SYS_FSTATFS = 397 // { int fstatfs(int fd, struct statfs *buf); }
117058+ SYS_FHSTATFS = 398 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); }
117059+ SYS_KSEM_CLOSE = 400 // { int ksem_close(semid_t id); }
117060+ SYS_KSEM_POST = 401 // { int ksem_post(semid_t id); }
117061+ SYS_KSEM_WAIT = 402 // { int ksem_wait(semid_t id); }
117062+ SYS_KSEM_TRYWAIT = 403 // { int ksem_trywait(semid_t id); }
117063+ SYS_KSEM_INIT = 404 // { int ksem_init(semid_t *idp, unsigned int value); }
117064+ SYS_KSEM_OPEN = 405 // { int ksem_open(semid_t *idp, const char *name, int oflag, mode_t mode, unsigned int value); }
117065+ SYS_KSEM_UNLINK = 406 // { int ksem_unlink(const char *name); }
117066+ SYS_KSEM_GETVALUE = 407 // { int ksem_getvalue(semid_t id, int *val); }
117067+ SYS_KSEM_DESTROY = 408 // { int ksem_destroy(semid_t id); }
117068+ SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, struct mac *mac_p); }
117069+ SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, struct mac *mac_p); }
117070+ SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, struct mac *mac_p); }
117071+ SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
117072+ SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
117073+ SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link( const char *path, int attrnamespace, const char *attrname); }
117074+ SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, char **envv, struct mac *mac_p); }
117075+ SYS_SIGACTION = 416 // { int sigaction(int sig, const struct sigaction *act, struct sigaction *oact); }
117076+ SYS_SIGRETURN = 417 // { int sigreturn( const struct __ucontext *sigcntxp); }
117077+ SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); }
117078+ SYS_SETCONTEXT = 422 // { int setcontext( const struct __ucontext *ucp); }
117079+ SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, const struct __ucontext *ucp); }
117080+ SYS_SWAPOFF = 424 // { int swapoff(const char *name); }
117081+ SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, acl_type_t type, struct acl *aclp); }
117082+ SYS___ACL_SET_LINK = 426 // { int __acl_set_link(const char *path, acl_type_t type, struct acl *aclp); }
117083+ SYS___ACL_DELETE_LINK = 427 // { int __acl_delete_link(const char *path, acl_type_t type); }
117084+ SYS___ACL_ACLCHECK_LINK = 428 // { int __acl_aclcheck_link(const char *path, acl_type_t type, struct acl *aclp); }
117085+ SYS_SIGWAIT = 429 // { int sigwait(const sigset_t *set, int *sig); }
117086+ SYS_THR_CREATE = 430 // { int thr_create(ucontext_t *ctx, long *id, int flags); }
117087+ SYS_THR_EXIT = 431 // { void thr_exit(long *state); }
117088+ SYS_THR_SELF = 432 // { int thr_self(long *id); }
117089+ SYS_THR_KILL = 433 // { int thr_kill(long id, int sig); }
117090+ SYS_JAIL_ATTACH = 436 // { int jail_attach(int jid); }
117091+ SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); }
117092+ SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file( const char *path, int attrnamespace, void *data, size_t nbytes); }
117093+ SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link( const char *path, int attrnamespace, void *data, size_t nbytes); }
117094+ SYS_KSEM_TIMEDWAIT = 441 // { int ksem_timedwait(semid_t id, const struct timespec *abstime); }
117095+ SYS_THR_SUSPEND = 442 // { int thr_suspend( const struct timespec *timeout); }
117096+ SYS_THR_WAKE = 443 // { int thr_wake(long id); }
117097+ SYS_KLDUNLOADF = 444 // { int kldunloadf(int fileid, int flags); }
117098+ SYS_AUDIT = 445 // { int audit(const void *record, u_int length); }
117099+ SYS_AUDITON = 446 // { int auditon(int cmd, void *data, u_int length); }
117100+ SYS_GETAUID = 447 // { int getauid(uid_t *auid); }
117101+ SYS_SETAUID = 448 // { int setauid(uid_t *auid); }
117102+ SYS_GETAUDIT = 449 // { int getaudit(struct auditinfo *auditinfo); }
117103+ SYS_SETAUDIT = 450 // { int setaudit(struct auditinfo *auditinfo); }
117104+ SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); }
117105+ SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); }
117106+ SYS_AUDITCTL = 453 // { int auditctl(char *path); }
117107+ SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, u_long val, void *uaddr1, void *uaddr2); }
117108+ SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, int param_size); }
117109+ SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); }
117110+ SYS_KMQ_OPEN = 457 // { int kmq_open(const char *path, int flags, mode_t mode, const struct mq_attr *attr); }
117111+ SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); }
117112+ SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); }
117113+ 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);}
117114+ SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); }
117115+ SYS_KMQ_UNLINK = 462 // { int kmq_unlink(const char *path); }
117116+ SYS_ABORT2 = 463 // { int abort2(const char *why, int nargs, void **args); }
117117+ SYS_THR_SET_NAME = 464 // { int thr_set_name(long id, const char *name); }
117118+ SYS_AIO_FSYNC = 465 // { int aio_fsync(int op, struct aiocb *aiocbp); }
117119+ SYS_RTPRIO_THREAD = 466 // { int rtprio_thread(int function, lwpid_t lwpid, struct rtprio *rtp); }
117120+ SYS_SCTP_PEELOFF = 471 // { int sctp_peeloff(int sd, uint32_t name); }
117121+ 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); }
117122+ 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); }
117123+ 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); }
117124+ SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, size_t nbyte, off_t offset); }
117125+ SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, size_t nbyte, off_t offset); }
117126+ SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos); }
117127+ SYS_LSEEK = 478 // { off_t lseek(int fd, off_t offset, int whence); }
117128+ SYS_TRUNCATE = 479 // { int truncate(char *path, off_t length); }
117129+ SYS_FTRUNCATE = 480 // { int ftruncate(int fd, off_t length); }
117130+ SYS_THR_KILL2 = 481 // { int thr_kill2(pid_t pid, long id, int sig); }
117131+ SYS_SHM_OPEN = 482 // { int shm_open(const char *path, int flags, mode_t mode); }
117132+ SYS_SHM_UNLINK = 483 // { int shm_unlink(const char *path); }
117133+ SYS_CPUSET = 484 // { int cpuset(cpusetid_t *setid); }
117134+ SYS_CPUSET_SETID = 485 // { int cpuset_setid(cpuwhich_t which, id_t id, cpusetid_t setid); }
117135+ SYS_CPUSET_GETID = 486 // { int cpuset_getid(cpulevel_t level, cpuwhich_t which, id_t id, cpusetid_t *setid); }
117136+ SYS_CPUSET_GETAFFINITY = 487 // { int cpuset_getaffinity(cpulevel_t level, cpuwhich_t which, id_t id, size_t cpusetsize, cpuset_t *mask); }
117137+ SYS_CPUSET_SETAFFINITY = 488 // { int cpuset_setaffinity(cpulevel_t level, cpuwhich_t which, id_t id, size_t cpusetsize, const cpuset_t *mask); }
117138+ SYS_FACCESSAT = 489 // { int faccessat(int fd, char *path, int amode, int flag); }
117139+ SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, int flag); }
117140+ SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, gid_t gid, int flag); }
117141+ SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, char **envv); }
117142+ SYS_FSTATAT = 493 // { int fstatat(int fd, char *path, struct stat *buf, int flag); }
117143+ SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, struct timeval *times); }
117144+ SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, char *path2, int flag); }
117145+ SYS_MKDIRAT = 496 // { int mkdirat(int fd, char *path, mode_t mode); }
117146+ SYS_MKFIFOAT = 497 // { int mkfifoat(int fd, char *path, mode_t mode); }
117147+ SYS_MKNODAT = 498 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); }
117148+ SYS_OPENAT = 499 // { int openat(int fd, char *path, int flag, mode_t mode); }
117149+ SYS_READLINKAT = 500 // { int readlinkat(int fd, char *path, char *buf, size_t bufsize); }
117150+ SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, char *new); }
117151+ SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, char *path2); }
117152+ SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); }
117153+ SYS_POSIX_OPENPT = 504 // { int posix_openpt(int flags); }
117154+ SYS_GSSD_SYSCALL = 505 // { int gssd_syscall(char *path); }
117155+ SYS_JAIL_GET = 506 // { int jail_get(struct iovec *iovp, unsigned int iovcnt, int flags); }
117156+ SYS_JAIL_SET = 507 // { int jail_set(struct iovec *iovp, unsigned int iovcnt, int flags); }
117157+ SYS_JAIL_REMOVE = 508 // { int jail_remove(int jid); }
117158+ SYS_CLOSEFROM = 509 // { int closefrom(int lowfd); }
117159+ SYS___SEMCTL = 510 // { int __semctl(int semid, int semnum, int cmd, union semun *arg); }
117160+ SYS_MSGCTL = 511 // { int msgctl(int msqid, int cmd, struct msqid_ds *buf); }
117161+ SYS_SHMCTL = 512 // { int shmctl(int shmid, int cmd, struct shmid_ds *buf); }
117162+ SYS_LPATHCONF = 513 // { int lpathconf(char *path, int name); }
117163+ SYS___CAP_RIGHTS_GET = 515 // { int __cap_rights_get(int version, int fd, cap_rights_t *rightsp); }
117164+ SYS_CAP_ENTER = 516 // { int cap_enter(void); }
117165+ SYS_CAP_GETMODE = 517 // { int cap_getmode(u_int *modep); }
117166+ SYS_PDFORK = 518 // { int pdfork(int *fdp, int flags); }
117167+ SYS_PDKILL = 519 // { int pdkill(int fd, int signum); }
117168+ SYS_PDGETPID = 520 // { int pdgetpid(int fd, pid_t *pidp); }
117169+ SYS_PSELECT = 522 // { int pselect(int nd, fd_set *in, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *sm); }
117170+ SYS_GETLOGINCLASS = 523 // { int getloginclass(char *namebuf, size_t namelen); }
117171+ SYS_SETLOGINCLASS = 524 // { int setloginclass(const char *namebuf); }
117172+ SYS_RCTL_GET_RACCT = 525 // { int rctl_get_racct(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); }
117173+ SYS_RCTL_GET_RULES = 526 // { int rctl_get_rules(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); }
117174+ SYS_RCTL_GET_LIMITS = 527 // { int rctl_get_limits(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); }
117175+ SYS_RCTL_ADD_RULE = 528 // { int rctl_add_rule(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); }
117176+ SYS_RCTL_REMOVE_RULE = 529 // { int rctl_remove_rule(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); }
117177+ SYS_POSIX_FALLOCATE = 530 // { int posix_fallocate(int fd, off_t offset, off_t len); }
117178+ SYS_POSIX_FADVISE = 531 // { int posix_fadvise(int fd, off_t offset, off_t len, int advice); }
117179+ SYS_WAIT6 = 532 // { int wait6(idtype_t idtype, id_t id, int *status, int options, struct __wrusage *wrusage, siginfo_t *info); }
117180+ SYS_CAP_RIGHTS_LIMIT = 533 // { int cap_rights_limit(int fd, cap_rights_t *rightsp); }
117181+ SYS_CAP_IOCTLS_LIMIT = 534 // { int cap_ioctls_limit(int fd, const u_long *cmds, size_t ncmds); }
117182+ SYS_CAP_IOCTLS_GET = 535 // { ssize_t cap_ioctls_get(int fd, u_long *cmds, size_t maxcmds); }
117183+ SYS_CAP_FCNTLS_LIMIT = 536 // { int cap_fcntls_limit(int fd, uint32_t fcntlrights); }
117184+ SYS_CAP_FCNTLS_GET = 537 // { int cap_fcntls_get(int fd, uint32_t *fcntlrightsp); }
117185+ SYS_BINDAT = 538 // { int bindat(int fd, int s, caddr_t name, int namelen); }
117186+ SYS_CONNECTAT = 539 // { int connectat(int fd, int s, caddr_t name, int namelen); }
117187+ SYS_CHFLAGSAT = 540 // { int chflagsat(int fd, const char *path, u_long flags, int atflag); }
117188+ SYS_ACCEPT4 = 541 // { int accept4(int s, struct sockaddr * __restrict name, __socklen_t * __restrict anamelen, int flags); }
117189+ SYS_PIPE2 = 542 // { int pipe2(int *fildes, int flags); }
117190+ SYS_AIO_MLOCK = 543 // { int aio_mlock(struct aiocb *aiocbp); }
117191+ SYS_PROCCTL = 544 // { int procctl(idtype_t idtype, id_t id, int com, void *data); }
117192+ SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *set); }
117193+ SYS_FUTIMENS = 546 // { int futimens(int fd, struct timespec *times); }
117194+ SYS_UTIMENSAT = 547 // { int utimensat(int fd, char *path, struct timespec *times, int flag); }
117195+ SYS_NUMA_GETAFFINITY = 548 // { int numa_getaffinity(cpuwhich_t which, id_t id, struct vm_domain_policy_entry *policy); }
117196+ SYS_NUMA_SETAFFINITY = 549 // { int numa_setaffinity(cpuwhich_t which, id_t id, const struct vm_domain_policy_entry *policy); }
117197+ SYS_FDATASYNC = 550 // { int fdatasync(int fd); }
117198 )
117199diff --git a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go
117200index 44883141..4a6dfd4a 100644
117201--- a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go
117202+++ b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go
117203@@ -1,4 +1,4 @@
117204-// mksysnum_freebsd.pl
117205+// go run mksysnum.go https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master
117206 // Code generated by the command above; see README.md. DO NOT EDIT.
117207
117208 // +build arm,freebsd
117209@@ -7,347 +7,390 @@ package unix
117210
117211 const (
117212 // SYS_NOSYS = 0; // { int nosys(void); } syscall nosys_args int
117213- SYS_EXIT = 1 // { void sys_exit(int rval); } exit \
117214- SYS_FORK = 2 // { int fork(void); }
117215- SYS_READ = 3 // { ssize_t read(int fd, void *buf, \
117216- SYS_WRITE = 4 // { ssize_t write(int fd, const void *buf, \
117217- SYS_OPEN = 5 // { int open(char *path, int flags, int mode); }
117218- SYS_CLOSE = 6 // { int close(int fd); }
117219- SYS_WAIT4 = 7 // { int wait4(int pid, int *status, \
117220- SYS_LINK = 9 // { int link(char *path, char *link); }
117221- SYS_UNLINK = 10 // { int unlink(char *path); }
117222- SYS_CHDIR = 12 // { int chdir(char *path); }
117223- SYS_FCHDIR = 13 // { int fchdir(int fd); }
117224- SYS_MKNOD = 14 // { int mknod(char *path, int mode, int dev); }
117225- SYS_CHMOD = 15 // { int chmod(char *path, int mode); }
117226- SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); }
117227- SYS_OBREAK = 17 // { int obreak(char *nsize); } break \
117228- SYS_GETPID = 20 // { pid_t getpid(void); }
117229- SYS_MOUNT = 21 // { int mount(char *type, char *path, \
117230- SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); }
117231- SYS_SETUID = 23 // { int setuid(uid_t uid); }
117232- SYS_GETUID = 24 // { uid_t getuid(void); }
117233- SYS_GETEUID = 25 // { uid_t geteuid(void); }
117234- SYS_PTRACE = 26 // { int ptrace(int req, pid_t pid, \
117235- SYS_RECVMSG = 27 // { int recvmsg(int s, struct msghdr *msg, \
117236- SYS_SENDMSG = 28 // { int sendmsg(int s, struct msghdr *msg, \
117237- SYS_RECVFROM = 29 // { int recvfrom(int s, caddr_t buf, \
117238- SYS_ACCEPT = 30 // { int accept(int s, \
117239- SYS_GETPEERNAME = 31 // { int getpeername(int fdes, \
117240- SYS_GETSOCKNAME = 32 // { int getsockname(int fdes, \
117241- SYS_ACCESS = 33 // { int access(char *path, int amode); }
117242- SYS_CHFLAGS = 34 // { int chflags(const char *path, u_long flags); }
117243- SYS_FCHFLAGS = 35 // { int fchflags(int fd, u_long flags); }
117244- SYS_SYNC = 36 // { int sync(void); }
117245- SYS_KILL = 37 // { int kill(int pid, int signum); }
117246- SYS_GETPPID = 39 // { pid_t getppid(void); }
117247- SYS_DUP = 41 // { int dup(u_int fd); }
117248- SYS_PIPE = 42 // { int pipe(void); }
117249- SYS_GETEGID = 43 // { gid_t getegid(void); }
117250- SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, \
117251- SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, \
117252- SYS_GETGID = 47 // { gid_t getgid(void); }
117253- SYS_GETLOGIN = 49 // { int getlogin(char *namebuf, u_int \
117254- SYS_SETLOGIN = 50 // { int setlogin(char *namebuf); }
117255- SYS_ACCT = 51 // { int acct(char *path); }
117256- SYS_SIGALTSTACK = 53 // { int sigaltstack(stack_t *ss, \
117257- SYS_IOCTL = 54 // { int ioctl(int fd, u_long com, \
117258- SYS_REBOOT = 55 // { int reboot(int opt); }
117259- SYS_REVOKE = 56 // { int revoke(char *path); }
117260- SYS_SYMLINK = 57 // { int symlink(char *path, char *link); }
117261- SYS_READLINK = 58 // { ssize_t readlink(char *path, char *buf, \
117262- SYS_EXECVE = 59 // { int execve(char *fname, char **argv, \
117263- SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args \
117264- SYS_CHROOT = 61 // { int chroot(char *path); }
117265- SYS_MSYNC = 65 // { int msync(void *addr, size_t len, \
117266- SYS_VFORK = 66 // { int vfork(void); }
117267- SYS_SBRK = 69 // { int sbrk(int incr); }
117268- SYS_SSTK = 70 // { int sstk(int incr); }
117269- SYS_OVADVISE = 72 // { int ovadvise(int anom); } vadvise \
117270- SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); }
117271- SYS_MPROTECT = 74 // { int mprotect(const void *addr, size_t len, \
117272- SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, \
117273- SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, \
117274- SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, \
117275- SYS_SETGROUPS = 80 // { int setgroups(u_int gidsetsize, \
117276- SYS_GETPGRP = 81 // { int getpgrp(void); }
117277- SYS_SETPGID = 82 // { int setpgid(int pid, int pgid); }
117278- SYS_SETITIMER = 83 // { int setitimer(u_int which, struct \
117279- SYS_SWAPON = 85 // { int swapon(char *name); }
117280- SYS_GETITIMER = 86 // { int getitimer(u_int which, \
117281- SYS_GETDTABLESIZE = 89 // { int getdtablesize(void); }
117282- SYS_DUP2 = 90 // { int dup2(u_int from, u_int to); }
117283- SYS_FCNTL = 92 // { int fcntl(int fd, int cmd, long arg); }
117284- SYS_SELECT = 93 // { int select(int nd, fd_set *in, fd_set *ou, \
117285- SYS_FSYNC = 95 // { int fsync(int fd); }
117286- SYS_SETPRIORITY = 96 // { int setpriority(int which, int who, \
117287- SYS_SOCKET = 97 // { int socket(int domain, int type, \
117288- SYS_CONNECT = 98 // { int connect(int s, caddr_t name, \
117289- SYS_GETPRIORITY = 100 // { int getpriority(int which, int who); }
117290- SYS_BIND = 104 // { int bind(int s, caddr_t name, \
117291- SYS_SETSOCKOPT = 105 // { int setsockopt(int s, int level, int name, \
117292- SYS_LISTEN = 106 // { int listen(int s, int backlog); }
117293- SYS_GETTIMEOFDAY = 116 // { int gettimeofday(struct timeval *tp, \
117294- SYS_GETRUSAGE = 117 // { int getrusage(int who, \
117295- SYS_GETSOCKOPT = 118 // { int getsockopt(int s, int level, int name, \
117296- SYS_READV = 120 // { int readv(int fd, struct iovec *iovp, \
117297- SYS_WRITEV = 121 // { int writev(int fd, struct iovec *iovp, \
117298- SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, \
117299- SYS_FCHOWN = 123 // { int fchown(int fd, int uid, int gid); }
117300- SYS_FCHMOD = 124 // { int fchmod(int fd, int mode); }
117301- SYS_SETREUID = 126 // { int setreuid(int ruid, int euid); }
117302- SYS_SETREGID = 127 // { int setregid(int rgid, int egid); }
117303- SYS_RENAME = 128 // { int rename(char *from, char *to); }
117304- SYS_FLOCK = 131 // { int flock(int fd, int how); }
117305- SYS_MKFIFO = 132 // { int mkfifo(char *path, int mode); }
117306- SYS_SENDTO = 133 // { int sendto(int s, caddr_t buf, size_t len, \
117307- SYS_SHUTDOWN = 134 // { int shutdown(int s, int how); }
117308- SYS_SOCKETPAIR = 135 // { int socketpair(int domain, int type, \
117309- SYS_MKDIR = 136 // { int mkdir(char *path, int mode); }
117310- SYS_RMDIR = 137 // { int rmdir(char *path); }
117311- SYS_UTIMES = 138 // { int utimes(char *path, \
117312- SYS_ADJTIME = 140 // { int adjtime(struct timeval *delta, \
117313- SYS_SETSID = 147 // { int setsid(void); }
117314- SYS_QUOTACTL = 148 // { int quotactl(char *path, int cmd, int uid, \
117315- SYS_LGETFH = 160 // { int lgetfh(char *fname, \
117316- SYS_GETFH = 161 // { int getfh(char *fname, \
117317- SYS_SYSARCH = 165 // { int sysarch(int op, char *parms); }
117318- SYS_RTPRIO = 166 // { int rtprio(int function, pid_t pid, \
117319- SYS_FREEBSD6_PREAD = 173 // { ssize_t freebsd6_pread(int fd, void *buf, \
117320- SYS_FREEBSD6_PWRITE = 174 // { ssize_t freebsd6_pwrite(int fd, \
117321- SYS_SETFIB = 175 // { int setfib(int fibnum); }
117322- SYS_NTP_ADJTIME = 176 // { int ntp_adjtime(struct timex *tp); }
117323- SYS_SETGID = 181 // { int setgid(gid_t gid); }
117324- SYS_SETEGID = 182 // { int setegid(gid_t egid); }
117325- SYS_SETEUID = 183 // { int seteuid(uid_t euid); }
117326- SYS_STAT = 188 // { int stat(char *path, struct stat *ub); }
117327- SYS_FSTAT = 189 // { int fstat(int fd, struct stat *sb); }
117328- SYS_LSTAT = 190 // { int lstat(char *path, struct stat *ub); }
117329- SYS_PATHCONF = 191 // { int pathconf(char *path, int name); }
117330- SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); }
117331- SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, \
117332- SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, \
117333- SYS_GETDIRENTRIES = 196 // { int getdirentries(int fd, char *buf, \
117334- SYS_FREEBSD6_MMAP = 197 // { caddr_t freebsd6_mmap(caddr_t addr, \
117335- SYS_FREEBSD6_LSEEK = 199 // { off_t freebsd6_lseek(int fd, int pad, \
117336- SYS_FREEBSD6_TRUNCATE = 200 // { int freebsd6_truncate(char *path, int pad, \
117337- SYS_FREEBSD6_FTRUNCATE = 201 // { int freebsd6_ftruncate(int fd, int pad, \
117338- SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, \
117339- SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); }
117340- SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); }
117341- SYS_UNDELETE = 205 // { int undelete(char *path); }
117342- SYS_FUTIMES = 206 // { int futimes(int fd, struct timeval *tptr); }
117343- SYS_GETPGID = 207 // { int getpgid(pid_t pid); }
117344- SYS_POLL = 209 // { int poll(struct pollfd *fds, u_int nfds, \
117345- SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, \
117346- SYS_CLOCK_SETTIME = 233 // { int clock_settime( \
117347- SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, \
117348- SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, \
117349- SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); }
117350- SYS_KTIMER_SETTIME = 237 // { int ktimer_settime(int timerid, int flags, \
117351- SYS_KTIMER_GETTIME = 238 // { int ktimer_gettime(int timerid, struct \
117352- SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); }
117353- SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, \
117354- SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); }
117355- SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate( \
117356- SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate( \
117357- SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id,\
117358- SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); }
117359- SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, \
117360- SYS_RFORK = 251 // { int rfork(int flags); }
117361- SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, \
117362- SYS_ISSETUGID = 253 // { int issetugid(void); }
117363- SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); }
117364- SYS_GETDENTS = 272 // { int getdents(int fd, char *buf, \
117365- SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); }
117366- SYS_LUTIMES = 276 // { int lutimes(char *path, \
117367- SYS_NSTAT = 278 // { int nstat(char *path, struct nstat *ub); }
117368- SYS_NFSTAT = 279 // { int nfstat(int fd, struct nstat *sb); }
117369- SYS_NLSTAT = 280 // { int nlstat(char *path, struct nstat *ub); }
117370- SYS_PREADV = 289 // { ssize_t preadv(int fd, struct iovec *iovp, \
117371- SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, \
117372- SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, \
117373- SYS_FHSTAT = 299 // { int fhstat(const struct fhandle *u_fhp, \
117374- SYS_MODNEXT = 300 // { int modnext(int modid); }
117375- SYS_MODSTAT = 301 // { int modstat(int modid, \
117376- SYS_MODFNEXT = 302 // { int modfnext(int modid); }
117377- SYS_MODFIND = 303 // { int modfind(const char *name); }
117378- SYS_KLDLOAD = 304 // { int kldload(const char *file); }
117379- SYS_KLDUNLOAD = 305 // { int kldunload(int fileid); }
117380- SYS_KLDFIND = 306 // { int kldfind(const char *file); }
117381- SYS_KLDNEXT = 307 // { int kldnext(int fileid); }
117382- SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct \
117383- SYS_KLDFIRSTMOD = 309 // { int kldfirstmod(int fileid); }
117384- SYS_GETSID = 310 // { int getsid(pid_t pid); }
117385- SYS_SETRESUID = 311 // { int setresuid(uid_t ruid, uid_t euid, \
117386- SYS_SETRESGID = 312 // { int setresgid(gid_t rgid, gid_t egid, \
117387- SYS_YIELD = 321 // { int yield(void); }
117388- SYS_MLOCKALL = 324 // { int mlockall(int how); }
117389- SYS_MUNLOCKALL = 325 // { int munlockall(void); }
117390- SYS___GETCWD = 326 // { int __getcwd(char *buf, u_int buflen); }
117391- SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, \
117392- SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct \
117393- SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int \
117394- SYS_SCHED_GETSCHEDULER = 330 // { int sched_getscheduler (pid_t pid); }
117395- SYS_SCHED_YIELD = 331 // { int sched_yield (void); }
117396- SYS_SCHED_GET_PRIORITY_MAX = 332 // { int sched_get_priority_max (int policy); }
117397- SYS_SCHED_GET_PRIORITY_MIN = 333 // { int sched_get_priority_min (int policy); }
117398- SYS_SCHED_RR_GET_INTERVAL = 334 // { int sched_rr_get_interval (pid_t pid, \
117399- SYS_UTRACE = 335 // { int utrace(const void *addr, size_t len); }
117400- SYS_KLDSYM = 337 // { int kldsym(int fileid, int cmd, \
117401- SYS_JAIL = 338 // { int jail(struct jail *jail); }
117402- SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, \
117403- SYS_SIGSUSPEND = 341 // { int sigsuspend(const sigset_t *sigmask); }
117404- SYS_SIGPENDING = 343 // { int sigpending(sigset_t *set); }
117405- SYS_SIGTIMEDWAIT = 345 // { int sigtimedwait(const sigset_t *set, \
117406- SYS_SIGWAITINFO = 346 // { int sigwaitinfo(const sigset_t *set, \
117407- SYS___ACL_GET_FILE = 347 // { int __acl_get_file(const char *path, \
117408- SYS___ACL_SET_FILE = 348 // { int __acl_set_file(const char *path, \
117409- SYS___ACL_GET_FD = 349 // { int __acl_get_fd(int filedes, \
117410- SYS___ACL_SET_FD = 350 // { int __acl_set_fd(int filedes, \
117411- SYS___ACL_DELETE_FILE = 351 // { int __acl_delete_file(const char *path, \
117412- SYS___ACL_DELETE_FD = 352 // { int __acl_delete_fd(int filedes, \
117413- SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, \
117414- SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, \
117415- SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, \
117416- SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file( \
117417- SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file( \
117418- SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, \
117419- SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, \
117420- SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, \
117421- SYS_KQUEUE = 362 // { int kqueue(void); }
117422- SYS_KEVENT = 363 // { int kevent(int fd, \
117423- SYS_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, \
117424- SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, \
117425- SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, \
117426- SYS___SETUGID = 374 // { int __setugid(int flag); }
117427- SYS_EACCESS = 376 // { int eaccess(char *path, int amode); }
117428- SYS_NMOUNT = 378 // { int nmount(struct iovec *iovp, \
117429- SYS___MAC_GET_PROC = 384 // { int __mac_get_proc(struct mac *mac_p); }
117430- SYS___MAC_SET_PROC = 385 // { int __mac_set_proc(struct mac *mac_p); }
117431- SYS___MAC_GET_FD = 386 // { int __mac_get_fd(int fd, \
117432- SYS___MAC_GET_FILE = 387 // { int __mac_get_file(const char *path_p, \
117433- SYS___MAC_SET_FD = 388 // { int __mac_set_fd(int fd, \
117434- SYS___MAC_SET_FILE = 389 // { int __mac_set_file(const char *path_p, \
117435- SYS_KENV = 390 // { int kenv(int what, const char *name, \
117436- SYS_LCHFLAGS = 391 // { int lchflags(const char *path, \
117437- SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, \
117438- SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, \
117439- SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, \
117440- SYS_GETFSSTAT = 395 // { int getfsstat(struct statfs *buf, \
117441- SYS_STATFS = 396 // { int statfs(char *path, \
117442- SYS_FSTATFS = 397 // { int fstatfs(int fd, struct statfs *buf); }
117443- SYS_FHSTATFS = 398 // { int fhstatfs(const struct fhandle *u_fhp, \
117444- SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, \
117445- SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, \
117446- SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, \
117447- SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link( \
117448- SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link( \
117449- SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link( \
117450- SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, \
117451- SYS_SIGACTION = 416 // { int sigaction(int sig, \
117452- SYS_SIGRETURN = 417 // { int sigreturn( \
117453- SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); }
117454- SYS_SETCONTEXT = 422 // { int setcontext( \
117455- SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, \
117456- SYS_SWAPOFF = 424 // { int swapoff(const char *name); }
117457- SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, \
117458- SYS___ACL_SET_LINK = 426 // { int __acl_set_link(const char *path, \
117459- SYS___ACL_DELETE_LINK = 427 // { int __acl_delete_link(const char *path, \
117460- SYS___ACL_ACLCHECK_LINK = 428 // { int __acl_aclcheck_link(const char *path, \
117461- SYS_SIGWAIT = 429 // { int sigwait(const sigset_t *set, \
117462- SYS_THR_CREATE = 430 // { int thr_create(ucontext_t *ctx, long *id, \
117463- SYS_THR_EXIT = 431 // { void thr_exit(long *state); }
117464- SYS_THR_SELF = 432 // { int thr_self(long *id); }
117465- SYS_THR_KILL = 433 // { int thr_kill(long id, int sig); }
117466- SYS__UMTX_LOCK = 434 // { int _umtx_lock(struct umtx *umtx); }
117467- SYS__UMTX_UNLOCK = 435 // { int _umtx_unlock(struct umtx *umtx); }
117468- SYS_JAIL_ATTACH = 436 // { int jail_attach(int jid); }
117469- SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, \
117470- SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file( \
117471- SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link( \
117472- SYS_THR_SUSPEND = 442 // { int thr_suspend( \
117473- SYS_THR_WAKE = 443 // { int thr_wake(long id); }
117474- SYS_KLDUNLOADF = 444 // { int kldunloadf(int fileid, int flags); }
117475- SYS_AUDIT = 445 // { int audit(const void *record, \
117476- SYS_AUDITON = 446 // { int auditon(int cmd, void *data, \
117477- SYS_GETAUID = 447 // { int getauid(uid_t *auid); }
117478- SYS_SETAUID = 448 // { int setauid(uid_t *auid); }
117479- SYS_GETAUDIT = 449 // { int getaudit(struct auditinfo *auditinfo); }
117480- SYS_SETAUDIT = 450 // { int setaudit(struct auditinfo *auditinfo); }
117481- SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr( \
117482- SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr( \
117483- SYS_AUDITCTL = 453 // { int auditctl(char *path); }
117484- SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, \
117485- SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, \
117486- SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); }
117487- SYS_ABORT2 = 463 // { int abort2(const char *why, int nargs, void **args); }
117488- SYS_THR_SET_NAME = 464 // { int thr_set_name(long id, const char *name); }
117489- SYS_RTPRIO_THREAD = 466 // { int rtprio_thread(int function, \
117490- SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, \
117491- SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, \
117492- SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, \
117493- SYS_LSEEK = 478 // { off_t lseek(int fd, off_t offset, \
117494- SYS_TRUNCATE = 479 // { int truncate(char *path, off_t length); }
117495- SYS_FTRUNCATE = 480 // { int ftruncate(int fd, off_t length); }
117496- SYS_THR_KILL2 = 481 // { int thr_kill2(pid_t pid, long id, int sig); }
117497- SYS_SHM_OPEN = 482 // { int shm_open(const char *path, int flags, \
117498- SYS_SHM_UNLINK = 483 // { int shm_unlink(const char *path); }
117499- SYS_CPUSET = 484 // { int cpuset(cpusetid_t *setid); }
117500- SYS_CPUSET_SETID = 485 // { int cpuset_setid(cpuwhich_t which, id_t id, \
117501- SYS_CPUSET_GETID = 486 // { int cpuset_getid(cpulevel_t level, \
117502- SYS_CPUSET_GETAFFINITY = 487 // { int cpuset_getaffinity(cpulevel_t level, \
117503- SYS_CPUSET_SETAFFINITY = 488 // { int cpuset_setaffinity(cpulevel_t level, \
117504- SYS_FACCESSAT = 489 // { int faccessat(int fd, char *path, int amode, \
117505- SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, \
117506- SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, \
117507- SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, \
117508- SYS_FSTATAT = 493 // { int fstatat(int fd, char *path, \
117509- SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, \
117510- SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, \
117511- SYS_MKDIRAT = 496 // { int mkdirat(int fd, char *path, mode_t mode); }
117512- SYS_MKFIFOAT = 497 // { int mkfifoat(int fd, char *path, mode_t mode); }
117513- SYS_MKNODAT = 498 // { int mknodat(int fd, char *path, mode_t mode, \
117514- SYS_OPENAT = 499 // { int openat(int fd, char *path, int flag, \
117515- SYS_READLINKAT = 500 // { int readlinkat(int fd, char *path, char *buf, \
117516- SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, \
117517- SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, \
117518- SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); }
117519- SYS_POSIX_OPENPT = 504 // { int posix_openpt(int flags); }
117520- SYS_JAIL_GET = 506 // { int jail_get(struct iovec *iovp, \
117521- SYS_JAIL_SET = 507 // { int jail_set(struct iovec *iovp, \
117522- SYS_JAIL_REMOVE = 508 // { int jail_remove(int jid); }
117523- SYS_CLOSEFROM = 509 // { int closefrom(int lowfd); }
117524- SYS_LPATHCONF = 513 // { int lpathconf(char *path, int name); }
117525- SYS___CAP_RIGHTS_GET = 515 // { int __cap_rights_get(int version, \
117526- SYS_CAP_ENTER = 516 // { int cap_enter(void); }
117527- SYS_CAP_GETMODE = 517 // { int cap_getmode(u_int *modep); }
117528- SYS_PDFORK = 518 // { int pdfork(int *fdp, int flags); }
117529- SYS_PDKILL = 519 // { int pdkill(int fd, int signum); }
117530- SYS_PDGETPID = 520 // { int pdgetpid(int fd, pid_t *pidp); }
117531- SYS_PSELECT = 522 // { int pselect(int nd, fd_set *in, \
117532- SYS_GETLOGINCLASS = 523 // { int getloginclass(char *namebuf, \
117533- SYS_SETLOGINCLASS = 524 // { int setloginclass(const char *namebuf); }
117534- SYS_RCTL_GET_RACCT = 525 // { int rctl_get_racct(const void *inbufp, \
117535- SYS_RCTL_GET_RULES = 526 // { int rctl_get_rules(const void *inbufp, \
117536- SYS_RCTL_GET_LIMITS = 527 // { int rctl_get_limits(const void *inbufp, \
117537- SYS_RCTL_ADD_RULE = 528 // { int rctl_add_rule(const void *inbufp, \
117538- SYS_RCTL_REMOVE_RULE = 529 // { int rctl_remove_rule(const void *inbufp, \
117539- SYS_POSIX_FALLOCATE = 530 // { int posix_fallocate(int fd, \
117540- SYS_POSIX_FADVISE = 531 // { int posix_fadvise(int fd, off_t offset, \
117541- SYS_WAIT6 = 532 // { int wait6(idtype_t idtype, id_t id, \
117542- SYS_CAP_RIGHTS_LIMIT = 533 // { int cap_rights_limit(int fd, \
117543- SYS_CAP_IOCTLS_LIMIT = 534 // { int cap_ioctls_limit(int fd, \
117544- SYS_CAP_IOCTLS_GET = 535 // { ssize_t cap_ioctls_get(int fd, \
117545- SYS_CAP_FCNTLS_LIMIT = 536 // { int cap_fcntls_limit(int fd, \
117546- SYS_CAP_FCNTLS_GET = 537 // { int cap_fcntls_get(int fd, \
117547- SYS_BINDAT = 538 // { int bindat(int fd, int s, caddr_t name, \
117548- SYS_CONNECTAT = 539 // { int connectat(int fd, int s, caddr_t name, \
117549- SYS_CHFLAGSAT = 540 // { int chflagsat(int fd, const char *path, \
117550- SYS_ACCEPT4 = 541 // { int accept4(int s, \
117551- SYS_PIPE2 = 542 // { int pipe2(int *fildes, int flags); }
117552- SYS_PROCCTL = 544 // { int procctl(idtype_t idtype, id_t id, \
117553- SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, \
117554- SYS_FUTIMENS = 546 // { int futimens(int fd, \
117555- SYS_UTIMENSAT = 547 // { int utimensat(int fd, \
117556+ SYS_EXIT = 1 // { void sys_exit(int rval); } exit sys_exit_args void
117557+ SYS_FORK = 2 // { int fork(void); }
117558+ SYS_READ = 3 // { ssize_t read(int fd, void *buf, size_t nbyte); }
117559+ SYS_WRITE = 4 // { ssize_t write(int fd, const void *buf, size_t nbyte); }
117560+ SYS_OPEN = 5 // { int open(char *path, int flags, int mode); }
117561+ SYS_CLOSE = 6 // { int close(int fd); }
117562+ SYS_WAIT4 = 7 // { int wait4(int pid, int *status, int options, struct rusage *rusage); }
117563+ SYS_LINK = 9 // { int link(char *path, char *link); }
117564+ SYS_UNLINK = 10 // { int unlink(char *path); }
117565+ SYS_CHDIR = 12 // { int chdir(char *path); }
117566+ SYS_FCHDIR = 13 // { int fchdir(int fd); }
117567+ SYS_MKNOD = 14 // { int mknod(char *path, int mode, int dev); }
117568+ SYS_CHMOD = 15 // { int chmod(char *path, int mode); }
117569+ SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); }
117570+ SYS_OBREAK = 17 // { int obreak(char *nsize); } break obreak_args int
117571+ SYS_GETPID = 20 // { pid_t getpid(void); }
117572+ SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, caddr_t data); }
117573+ SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); }
117574+ SYS_SETUID = 23 // { int setuid(uid_t uid); }
117575+ SYS_GETUID = 24 // { uid_t getuid(void); }
117576+ SYS_GETEUID = 25 // { uid_t geteuid(void); }
117577+ SYS_PTRACE = 26 // { int ptrace(int req, pid_t pid, caddr_t addr, int data); }
117578+ SYS_RECVMSG = 27 // { int recvmsg(int s, struct msghdr *msg, int flags); }
117579+ SYS_SENDMSG = 28 // { int sendmsg(int s, struct msghdr *msg, int flags); }
117580+ SYS_RECVFROM = 29 // { int recvfrom(int s, caddr_t buf, size_t len, int flags, struct sockaddr * __restrict from, __socklen_t * __restrict fromlenaddr); }
117581+ SYS_ACCEPT = 30 // { int accept(int s, struct sockaddr * __restrict name, __socklen_t * __restrict anamelen); }
117582+ SYS_GETPEERNAME = 31 // { int getpeername(int fdes, struct sockaddr * __restrict asa, __socklen_t * __restrict alen); }
117583+ SYS_GETSOCKNAME = 32 // { int getsockname(int fdes, struct sockaddr * __restrict asa, __socklen_t * __restrict alen); }
117584+ SYS_ACCESS = 33 // { int access(char *path, int amode); }
117585+ SYS_CHFLAGS = 34 // { int chflags(const char *path, u_long flags); }
117586+ SYS_FCHFLAGS = 35 // { int fchflags(int fd, u_long flags); }
117587+ SYS_SYNC = 36 // { int sync(void); }
117588+ SYS_KILL = 37 // { int kill(int pid, int signum); }
117589+ SYS_GETPPID = 39 // { pid_t getppid(void); }
117590+ SYS_DUP = 41 // { int dup(u_int fd); }
117591+ SYS_PIPE = 42 // { int pipe(void); }
117592+ SYS_GETEGID = 43 // { gid_t getegid(void); }
117593+ SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, size_t offset, u_int scale); }
117594+ SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, int pid); }
117595+ SYS_GETGID = 47 // { gid_t getgid(void); }
117596+ SYS_GETLOGIN = 49 // { int getlogin(char *namebuf, u_int namelen); }
117597+ SYS_SETLOGIN = 50 // { int setlogin(char *namebuf); }
117598+ SYS_ACCT = 51 // { int acct(char *path); }
117599+ SYS_SIGALTSTACK = 53 // { int sigaltstack(stack_t *ss, stack_t *oss); }
117600+ SYS_IOCTL = 54 // { int ioctl(int fd, u_long com, caddr_t data); }
117601+ SYS_REBOOT = 55 // { int reboot(int opt); }
117602+ SYS_REVOKE = 56 // { int revoke(char *path); }
117603+ SYS_SYMLINK = 57 // { int symlink(char *path, char *link); }
117604+ SYS_READLINK = 58 // { ssize_t readlink(char *path, char *buf, size_t count); }
117605+ SYS_EXECVE = 59 // { int execve(char *fname, char **argv, char **envv); }
117606+ SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args int
117607+ SYS_CHROOT = 61 // { int chroot(char *path); }
117608+ SYS_MSYNC = 65 // { int msync(void *addr, size_t len, int flags); }
117609+ SYS_VFORK = 66 // { int vfork(void); }
117610+ SYS_SBRK = 69 // { int sbrk(int incr); }
117611+ SYS_SSTK = 70 // { int sstk(int incr); }
117612+ SYS_OVADVISE = 72 // { int ovadvise(int anom); } vadvise ovadvise_args int
117613+ SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); }
117614+ SYS_MPROTECT = 74 // { int mprotect(const void *addr, size_t len, int prot); }
117615+ SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, int behav); }
117616+ SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, char *vec); }
117617+ SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, gid_t *gidset); }
117618+ SYS_SETGROUPS = 80 // { int setgroups(u_int gidsetsize, gid_t *gidset); }
117619+ SYS_GETPGRP = 81 // { int getpgrp(void); }
117620+ SYS_SETPGID = 82 // { int setpgid(int pid, int pgid); }
117621+ SYS_SETITIMER = 83 // { int setitimer(u_int which, struct itimerval *itv, struct itimerval *oitv); }
117622+ SYS_SWAPON = 85 // { int swapon(char *name); }
117623+ SYS_GETITIMER = 86 // { int getitimer(u_int which, struct itimerval *itv); }
117624+ SYS_GETDTABLESIZE = 89 // { int getdtablesize(void); }
117625+ SYS_DUP2 = 90 // { int dup2(u_int from, u_int to); }
117626+ SYS_FCNTL = 92 // { int fcntl(int fd, int cmd, long arg); }
117627+ SYS_SELECT = 93 // { int select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); }
117628+ SYS_FSYNC = 95 // { int fsync(int fd); }
117629+ SYS_SETPRIORITY = 96 // { int setpriority(int which, int who, int prio); }
117630+ SYS_SOCKET = 97 // { int socket(int domain, int type, int protocol); }
117631+ SYS_CONNECT = 98 // { int connect(int s, caddr_t name, int namelen); }
117632+ SYS_GETPRIORITY = 100 // { int getpriority(int which, int who); }
117633+ SYS_BIND = 104 // { int bind(int s, caddr_t name, int namelen); }
117634+ SYS_SETSOCKOPT = 105 // { int setsockopt(int s, int level, int name, caddr_t val, int valsize); }
117635+ SYS_LISTEN = 106 // { int listen(int s, int backlog); }
117636+ SYS_GETTIMEOFDAY = 116 // { int gettimeofday(struct timeval *tp, struct timezone *tzp); }
117637+ SYS_GETRUSAGE = 117 // { int getrusage(int who, struct rusage *rusage); }
117638+ SYS_GETSOCKOPT = 118 // { int getsockopt(int s, int level, int name, caddr_t val, int *avalsize); }
117639+ SYS_READV = 120 // { int readv(int fd, struct iovec *iovp, u_int iovcnt); }
117640+ SYS_WRITEV = 121 // { int writev(int fd, struct iovec *iovp, u_int iovcnt); }
117641+ SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, struct timezone *tzp); }
117642+ SYS_FCHOWN = 123 // { int fchown(int fd, int uid, int gid); }
117643+ SYS_FCHMOD = 124 // { int fchmod(int fd, int mode); }
117644+ SYS_SETREUID = 126 // { int setreuid(int ruid, int euid); }
117645+ SYS_SETREGID = 127 // { int setregid(int rgid, int egid); }
117646+ SYS_RENAME = 128 // { int rename(char *from, char *to); }
117647+ SYS_FLOCK = 131 // { int flock(int fd, int how); }
117648+ SYS_MKFIFO = 132 // { int mkfifo(char *path, int mode); }
117649+ SYS_SENDTO = 133 // { int sendto(int s, caddr_t buf, size_t len, int flags, caddr_t to, int tolen); }
117650+ SYS_SHUTDOWN = 134 // { int shutdown(int s, int how); }
117651+ SYS_SOCKETPAIR = 135 // { int socketpair(int domain, int type, int protocol, int *rsv); }
117652+ SYS_MKDIR = 136 // { int mkdir(char *path, int mode); }
117653+ SYS_RMDIR = 137 // { int rmdir(char *path); }
117654+ SYS_UTIMES = 138 // { int utimes(char *path, struct timeval *tptr); }
117655+ SYS_ADJTIME = 140 // { int adjtime(struct timeval *delta, struct timeval *olddelta); }
117656+ SYS_SETSID = 147 // { int setsid(void); }
117657+ SYS_QUOTACTL = 148 // { int quotactl(char *path, int cmd, int uid, caddr_t arg); }
117658+ SYS_NLM_SYSCALL = 154 // { int nlm_syscall(int debug_level, int grace_period, int addr_count, char **addrs); }
117659+ SYS_NFSSVC = 155 // { int nfssvc(int flag, caddr_t argp); }
117660+ SYS_LGETFH = 160 // { int lgetfh(char *fname, struct fhandle *fhp); }
117661+ SYS_GETFH = 161 // { int getfh(char *fname, struct fhandle *fhp); }
117662+ SYS_SYSARCH = 165 // { int sysarch(int op, char *parms); }
117663+ SYS_RTPRIO = 166 // { int rtprio(int function, pid_t pid, struct rtprio *rtp); }
117664+ SYS_SEMSYS = 169 // { int semsys(int which, int a2, int a3, int a4, int a5); }
117665+ SYS_MSGSYS = 170 // { int msgsys(int which, int a2, int a3, int a4, int a5, int a6); }
117666+ SYS_SHMSYS = 171 // { int shmsys(int which, int a2, int a3, int a4); }
117667+ SYS_SETFIB = 175 // { int setfib(int fibnum); }
117668+ SYS_NTP_ADJTIME = 176 // { int ntp_adjtime(struct timex *tp); }
117669+ SYS_SETGID = 181 // { int setgid(gid_t gid); }
117670+ SYS_SETEGID = 182 // { int setegid(gid_t egid); }
117671+ SYS_SETEUID = 183 // { int seteuid(uid_t euid); }
117672+ SYS_STAT = 188 // { int stat(char *path, struct stat *ub); }
117673+ SYS_FSTAT = 189 // { int fstat(int fd, struct stat *sb); }
117674+ SYS_LSTAT = 190 // { int lstat(char *path, struct stat *ub); }
117675+ SYS_PATHCONF = 191 // { int pathconf(char *path, int name); }
117676+ SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); }
117677+ SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, struct rlimit *rlp); } getrlimit __getrlimit_args int
117678+ SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int
117679+ SYS_GETDIRENTRIES = 196 // { int getdirentries(int fd, char *buf, u_int count, long *basep); }
117680+ SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } __sysctl sysctl_args int
117681+ SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); }
117682+ SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); }
117683+ SYS_UNDELETE = 205 // { int undelete(char *path); }
117684+ SYS_FUTIMES = 206 // { int futimes(int fd, struct timeval *tptr); }
117685+ SYS_GETPGID = 207 // { int getpgid(pid_t pid); }
117686+ SYS_POLL = 209 // { int poll(struct pollfd *fds, u_int nfds, int timeout); }
117687+ SYS_SEMGET = 221 // { int semget(key_t key, int nsems, int semflg); }
117688+ SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, size_t nsops); }
117689+ SYS_MSGGET = 225 // { int msgget(key_t key, int msgflg); }
117690+ SYS_MSGSND = 226 // { int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); }
117691+ SYS_MSGRCV = 227 // { int msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
117692+ SYS_SHMAT = 228 // { int shmat(int shmid, const void *shmaddr, int shmflg); }
117693+ SYS_SHMDT = 230 // { int shmdt(const void *shmaddr); }
117694+ SYS_SHMGET = 231 // { int shmget(key_t key, size_t size, int shmflg); }
117695+ SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, struct timespec *tp); }
117696+ SYS_CLOCK_SETTIME = 233 // { int clock_settime( clockid_t clock_id, const struct timespec *tp); }
117697+ SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, struct timespec *tp); }
117698+ SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, struct sigevent *evp, int *timerid); }
117699+ SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); }
117700+ SYS_KTIMER_SETTIME = 237 // { int ktimer_settime(int timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue); }
117701+ SYS_KTIMER_GETTIME = 238 // { int ktimer_gettime(int timerid, struct itimerspec *value); }
117702+ SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); }
117703+ SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); }
117704+ SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); }
117705+ SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate( struct ffclock_estimate *cest); }
117706+ SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate( struct ffclock_estimate *cest); }
117707+ SYS_CLOCK_NANOSLEEP = 244 // { int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp); }
117708+ SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id,int which, clockid_t *clock_id); }
117709+ SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); }
117710+ SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, int inherit); }
117711+ SYS_RFORK = 251 // { int rfork(int flags); }
117712+ SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, u_int nfds, int timeout); }
117713+ SYS_ISSETUGID = 253 // { int issetugid(void); }
117714+ SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); }
117715+ SYS_AIO_READ = 255 // { int aio_read(struct aiocb *aiocbp); }
117716+ SYS_AIO_WRITE = 256 // { int aio_write(struct aiocb *aiocbp); }
117717+ SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb * const *acb_list, int nent, struct sigevent *sig); }
117718+ SYS_GETDENTS = 272 // { int getdents(int fd, char *buf, size_t count); }
117719+ SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); }
117720+ SYS_LUTIMES = 276 // { int lutimes(char *path, struct timeval *tptr); }
117721+ SYS_NSTAT = 278 // { int nstat(char *path, struct nstat *ub); }
117722+ SYS_NFSTAT = 279 // { int nfstat(int fd, struct nstat *sb); }
117723+ SYS_NLSTAT = 280 // { int nlstat(char *path, struct nstat *ub); }
117724+ SYS_PREADV = 289 // { ssize_t preadv(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); }
117725+ SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); }
117726+ SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); }
117727+ SYS_FHSTAT = 299 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); }
117728+ SYS_MODNEXT = 300 // { int modnext(int modid); }
117729+ SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat *stat); }
117730+ SYS_MODFNEXT = 302 // { int modfnext(int modid); }
117731+ SYS_MODFIND = 303 // { int modfind(const char *name); }
117732+ SYS_KLDLOAD = 304 // { int kldload(const char *file); }
117733+ SYS_KLDUNLOAD = 305 // { int kldunload(int fileid); }
117734+ SYS_KLDFIND = 306 // { int kldfind(const char *file); }
117735+ SYS_KLDNEXT = 307 // { int kldnext(int fileid); }
117736+ SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct kld_file_stat* stat); }
117737+ SYS_KLDFIRSTMOD = 309 // { int kldfirstmod(int fileid); }
117738+ SYS_GETSID = 310 // { int getsid(pid_t pid); }
117739+ SYS_SETRESUID = 311 // { int setresuid(uid_t ruid, uid_t euid, uid_t suid); }
117740+ SYS_SETRESGID = 312 // { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
117741+ SYS_AIO_RETURN = 314 // { ssize_t aio_return(struct aiocb *aiocbp); }
117742+ SYS_AIO_SUSPEND = 315 // { int aio_suspend( struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); }
117743+ SYS_AIO_CANCEL = 316 // { int aio_cancel(int fd, struct aiocb *aiocbp); }
117744+ SYS_AIO_ERROR = 317 // { int aio_error(struct aiocb *aiocbp); }
117745+ SYS_YIELD = 321 // { int yield(void); }
117746+ SYS_MLOCKALL = 324 // { int mlockall(int how); }
117747+ SYS_MUNLOCKALL = 325 // { int munlockall(void); }
117748+ SYS___GETCWD = 326 // { int __getcwd(char *buf, u_int buflen); }
117749+ SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, const struct sched_param *param); }
117750+ SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct sched_param *param); }
117751+ SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); }
117752+ SYS_SCHED_GETSCHEDULER = 330 // { int sched_getscheduler (pid_t pid); }
117753+ SYS_SCHED_YIELD = 331 // { int sched_yield (void); }
117754+ SYS_SCHED_GET_PRIORITY_MAX = 332 // { int sched_get_priority_max (int policy); }
117755+ SYS_SCHED_GET_PRIORITY_MIN = 333 // { int sched_get_priority_min (int policy); }
117756+ SYS_SCHED_RR_GET_INTERVAL = 334 // { int sched_rr_get_interval (pid_t pid, struct timespec *interval); }
117757+ SYS_UTRACE = 335 // { int utrace(const void *addr, size_t len); }
117758+ SYS_KLDSYM = 337 // { int kldsym(int fileid, int cmd, void *data); }
117759+ SYS_JAIL = 338 // { int jail(struct jail *jail); }
117760+ SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, const sigset_t *set, sigset_t *oset); }
117761+ SYS_SIGSUSPEND = 341 // { int sigsuspend(const sigset_t *sigmask); }
117762+ SYS_SIGPENDING = 343 // { int sigpending(sigset_t *set); }
117763+ SYS_SIGTIMEDWAIT = 345 // { int sigtimedwait(const sigset_t *set, siginfo_t *info, const struct timespec *timeout); }
117764+ SYS_SIGWAITINFO = 346 // { int sigwaitinfo(const sigset_t *set, siginfo_t *info); }
117765+ SYS___ACL_GET_FILE = 347 // { int __acl_get_file(const char *path, acl_type_t type, struct acl *aclp); }
117766+ SYS___ACL_SET_FILE = 348 // { int __acl_set_file(const char *path, acl_type_t type, struct acl *aclp); }
117767+ SYS___ACL_GET_FD = 349 // { int __acl_get_fd(int filedes, acl_type_t type, struct acl *aclp); }
117768+ SYS___ACL_SET_FD = 350 // { int __acl_set_fd(int filedes, acl_type_t type, struct acl *aclp); }
117769+ SYS___ACL_DELETE_FILE = 351 // { int __acl_delete_file(const char *path, acl_type_t type); }
117770+ SYS___ACL_DELETE_FD = 352 // { int __acl_delete_fd(int filedes, acl_type_t type); }
117771+ SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, acl_type_t type, struct acl *aclp); }
117772+ SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, struct acl *aclp); }
117773+ SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); }
117774+ SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
117775+ SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
117776+ SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, int attrnamespace, const char *attrname); }
117777+ SYS_AIO_WAITCOMPLETE = 359 // { ssize_t aio_waitcomplete( struct aiocb **aiocbp, struct timespec *timeout); }
117778+ SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); }
117779+ SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
117780+ SYS_KQUEUE = 362 // { int kqueue(void); }
117781+ SYS_KEVENT = 363 // { int kevent(int fd, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); }
117782+ SYS_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
117783+ SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
117784+ SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, int attrnamespace, const char *attrname); }
117785+ SYS___SETUGID = 374 // { int __setugid(int flag); }
117786+ SYS_EACCESS = 376 // { int eaccess(char *path, int amode); }
117787+ SYS_NMOUNT = 378 // { int nmount(struct iovec *iovp, unsigned int iovcnt, int flags); }
117788+ SYS___MAC_GET_PROC = 384 // { int __mac_get_proc(struct mac *mac_p); }
117789+ SYS___MAC_SET_PROC = 385 // { int __mac_set_proc(struct mac *mac_p); }
117790+ SYS___MAC_GET_FD = 386 // { int __mac_get_fd(int fd, struct mac *mac_p); }
117791+ SYS___MAC_GET_FILE = 387 // { int __mac_get_file(const char *path_p, struct mac *mac_p); }
117792+ SYS___MAC_SET_FD = 388 // { int __mac_set_fd(int fd, struct mac *mac_p); }
117793+ SYS___MAC_SET_FILE = 389 // { int __mac_set_file(const char *path_p, struct mac *mac_p); }
117794+ SYS_KENV = 390 // { int kenv(int what, const char *name, char *value, int len); }
117795+ SYS_LCHFLAGS = 391 // { int lchflags(const char *path, u_long flags); }
117796+ SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, int count); }
117797+ SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, struct sf_hdtr *hdtr, off_t *sbytes, int flags); }
117798+ SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, int call, void *arg); }
117799+ SYS_GETFSSTAT = 395 // { int getfsstat(struct statfs *buf, long bufsize, int mode); }
117800+ SYS_STATFS = 396 // { int statfs(char *path, struct statfs *buf); }
117801+ SYS_FSTATFS = 397 // { int fstatfs(int fd, struct statfs *buf); }
117802+ SYS_FHSTATFS = 398 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); }
117803+ SYS_KSEM_CLOSE = 400 // { int ksem_close(semid_t id); }
117804+ SYS_KSEM_POST = 401 // { int ksem_post(semid_t id); }
117805+ SYS_KSEM_WAIT = 402 // { int ksem_wait(semid_t id); }
117806+ SYS_KSEM_TRYWAIT = 403 // { int ksem_trywait(semid_t id); }
117807+ SYS_KSEM_INIT = 404 // { int ksem_init(semid_t *idp, unsigned int value); }
117808+ SYS_KSEM_OPEN = 405 // { int ksem_open(semid_t *idp, const char *name, int oflag, mode_t mode, unsigned int value); }
117809+ SYS_KSEM_UNLINK = 406 // { int ksem_unlink(const char *name); }
117810+ SYS_KSEM_GETVALUE = 407 // { int ksem_getvalue(semid_t id, int *val); }
117811+ SYS_KSEM_DESTROY = 408 // { int ksem_destroy(semid_t id); }
117812+ SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, struct mac *mac_p); }
117813+ SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, struct mac *mac_p); }
117814+ SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, struct mac *mac_p); }
117815+ SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
117816+ SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
117817+ SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link( const char *path, int attrnamespace, const char *attrname); }
117818+ SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, char **envv, struct mac *mac_p); }
117819+ SYS_SIGACTION = 416 // { int sigaction(int sig, const struct sigaction *act, struct sigaction *oact); }
117820+ SYS_SIGRETURN = 417 // { int sigreturn( const struct __ucontext *sigcntxp); }
117821+ SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); }
117822+ SYS_SETCONTEXT = 422 // { int setcontext( const struct __ucontext *ucp); }
117823+ SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, const struct __ucontext *ucp); }
117824+ SYS_SWAPOFF = 424 // { int swapoff(const char *name); }
117825+ SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, acl_type_t type, struct acl *aclp); }
117826+ SYS___ACL_SET_LINK = 426 // { int __acl_set_link(const char *path, acl_type_t type, struct acl *aclp); }
117827+ SYS___ACL_DELETE_LINK = 427 // { int __acl_delete_link(const char *path, acl_type_t type); }
117828+ SYS___ACL_ACLCHECK_LINK = 428 // { int __acl_aclcheck_link(const char *path, acl_type_t type, struct acl *aclp); }
117829+ SYS_SIGWAIT = 429 // { int sigwait(const sigset_t *set, int *sig); }
117830+ SYS_THR_CREATE = 430 // { int thr_create(ucontext_t *ctx, long *id, int flags); }
117831+ SYS_THR_EXIT = 431 // { void thr_exit(long *state); }
117832+ SYS_THR_SELF = 432 // { int thr_self(long *id); }
117833+ SYS_THR_KILL = 433 // { int thr_kill(long id, int sig); }
117834+ SYS_JAIL_ATTACH = 436 // { int jail_attach(int jid); }
117835+ SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); }
117836+ SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file( const char *path, int attrnamespace, void *data, size_t nbytes); }
117837+ SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link( const char *path, int attrnamespace, void *data, size_t nbytes); }
117838+ SYS_KSEM_TIMEDWAIT = 441 // { int ksem_timedwait(semid_t id, const struct timespec *abstime); }
117839+ SYS_THR_SUSPEND = 442 // { int thr_suspend( const struct timespec *timeout); }
117840+ SYS_THR_WAKE = 443 // { int thr_wake(long id); }
117841+ SYS_KLDUNLOADF = 444 // { int kldunloadf(int fileid, int flags); }
117842+ SYS_AUDIT = 445 // { int audit(const void *record, u_int length); }
117843+ SYS_AUDITON = 446 // { int auditon(int cmd, void *data, u_int length); }
117844+ SYS_GETAUID = 447 // { int getauid(uid_t *auid); }
117845+ SYS_SETAUID = 448 // { int setauid(uid_t *auid); }
117846+ SYS_GETAUDIT = 449 // { int getaudit(struct auditinfo *auditinfo); }
117847+ SYS_SETAUDIT = 450 // { int setaudit(struct auditinfo *auditinfo); }
117848+ SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); }
117849+ SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); }
117850+ SYS_AUDITCTL = 453 // { int auditctl(char *path); }
117851+ SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, u_long val, void *uaddr1, void *uaddr2); }
117852+ SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, int param_size); }
117853+ SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); }
117854+ SYS_KMQ_OPEN = 457 // { int kmq_open(const char *path, int flags, mode_t mode, const struct mq_attr *attr); }
117855+ SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); }
117856+ SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); }
117857+ 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);}
117858+ SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); }
117859+ SYS_KMQ_UNLINK = 462 // { int kmq_unlink(const char *path); }
117860+ SYS_ABORT2 = 463 // { int abort2(const char *why, int nargs, void **args); }
117861+ SYS_THR_SET_NAME = 464 // { int thr_set_name(long id, const char *name); }
117862+ SYS_AIO_FSYNC = 465 // { int aio_fsync(int op, struct aiocb *aiocbp); }
117863+ SYS_RTPRIO_THREAD = 466 // { int rtprio_thread(int function, lwpid_t lwpid, struct rtprio *rtp); }
117864+ SYS_SCTP_PEELOFF = 471 // { int sctp_peeloff(int sd, uint32_t name); }
117865+ 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); }
117866+ 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); }
117867+ 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); }
117868+ SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, size_t nbyte, off_t offset); }
117869+ SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, size_t nbyte, off_t offset); }
117870+ SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos); }
117871+ SYS_LSEEK = 478 // { off_t lseek(int fd, off_t offset, int whence); }
117872+ SYS_TRUNCATE = 479 // { int truncate(char *path, off_t length); }
117873+ SYS_FTRUNCATE = 480 // { int ftruncate(int fd, off_t length); }
117874+ SYS_THR_KILL2 = 481 // { int thr_kill2(pid_t pid, long id, int sig); }
117875+ SYS_SHM_OPEN = 482 // { int shm_open(const char *path, int flags, mode_t mode); }
117876+ SYS_SHM_UNLINK = 483 // { int shm_unlink(const char *path); }
117877+ SYS_CPUSET = 484 // { int cpuset(cpusetid_t *setid); }
117878+ SYS_CPUSET_SETID = 485 // { int cpuset_setid(cpuwhich_t which, id_t id, cpusetid_t setid); }
117879+ SYS_CPUSET_GETID = 486 // { int cpuset_getid(cpulevel_t level, cpuwhich_t which, id_t id, cpusetid_t *setid); }
117880+ SYS_CPUSET_GETAFFINITY = 487 // { int cpuset_getaffinity(cpulevel_t level, cpuwhich_t which, id_t id, size_t cpusetsize, cpuset_t *mask); }
117881+ SYS_CPUSET_SETAFFINITY = 488 // { int cpuset_setaffinity(cpulevel_t level, cpuwhich_t which, id_t id, size_t cpusetsize, const cpuset_t *mask); }
117882+ SYS_FACCESSAT = 489 // { int faccessat(int fd, char *path, int amode, int flag); }
117883+ SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, int flag); }
117884+ SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, gid_t gid, int flag); }
117885+ SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, char **envv); }
117886+ SYS_FSTATAT = 493 // { int fstatat(int fd, char *path, struct stat *buf, int flag); }
117887+ SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, struct timeval *times); }
117888+ SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, char *path2, int flag); }
117889+ SYS_MKDIRAT = 496 // { int mkdirat(int fd, char *path, mode_t mode); }
117890+ SYS_MKFIFOAT = 497 // { int mkfifoat(int fd, char *path, mode_t mode); }
117891+ SYS_MKNODAT = 498 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); }
117892+ SYS_OPENAT = 499 // { int openat(int fd, char *path, int flag, mode_t mode); }
117893+ SYS_READLINKAT = 500 // { int readlinkat(int fd, char *path, char *buf, size_t bufsize); }
117894+ SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, char *new); }
117895+ SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, char *path2); }
117896+ SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); }
117897+ SYS_POSIX_OPENPT = 504 // { int posix_openpt(int flags); }
117898+ SYS_GSSD_SYSCALL = 505 // { int gssd_syscall(char *path); }
117899+ SYS_JAIL_GET = 506 // { int jail_get(struct iovec *iovp, unsigned int iovcnt, int flags); }
117900+ SYS_JAIL_SET = 507 // { int jail_set(struct iovec *iovp, unsigned int iovcnt, int flags); }
117901+ SYS_JAIL_REMOVE = 508 // { int jail_remove(int jid); }
117902+ SYS_CLOSEFROM = 509 // { int closefrom(int lowfd); }
117903+ SYS___SEMCTL = 510 // { int __semctl(int semid, int semnum, int cmd, union semun *arg); }
117904+ SYS_MSGCTL = 511 // { int msgctl(int msqid, int cmd, struct msqid_ds *buf); }
117905+ SYS_SHMCTL = 512 // { int shmctl(int shmid, int cmd, struct shmid_ds *buf); }
117906+ SYS_LPATHCONF = 513 // { int lpathconf(char *path, int name); }
117907+ SYS___CAP_RIGHTS_GET = 515 // { int __cap_rights_get(int version, int fd, cap_rights_t *rightsp); }
117908+ SYS_CAP_ENTER = 516 // { int cap_enter(void); }
117909+ SYS_CAP_GETMODE = 517 // { int cap_getmode(u_int *modep); }
117910+ SYS_PDFORK = 518 // { int pdfork(int *fdp, int flags); }
117911+ SYS_PDKILL = 519 // { int pdkill(int fd, int signum); }
117912+ SYS_PDGETPID = 520 // { int pdgetpid(int fd, pid_t *pidp); }
117913+ SYS_PSELECT = 522 // { int pselect(int nd, fd_set *in, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *sm); }
117914+ SYS_GETLOGINCLASS = 523 // { int getloginclass(char *namebuf, size_t namelen); }
117915+ SYS_SETLOGINCLASS = 524 // { int setloginclass(const char *namebuf); }
117916+ SYS_RCTL_GET_RACCT = 525 // { int rctl_get_racct(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); }
117917+ SYS_RCTL_GET_RULES = 526 // { int rctl_get_rules(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); }
117918+ SYS_RCTL_GET_LIMITS = 527 // { int rctl_get_limits(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); }
117919+ SYS_RCTL_ADD_RULE = 528 // { int rctl_add_rule(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); }
117920+ SYS_RCTL_REMOVE_RULE = 529 // { int rctl_remove_rule(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); }
117921+ SYS_POSIX_FALLOCATE = 530 // { int posix_fallocate(int fd, off_t offset, off_t len); }
117922+ SYS_POSIX_FADVISE = 531 // { int posix_fadvise(int fd, off_t offset, off_t len, int advice); }
117923+ SYS_WAIT6 = 532 // { int wait6(idtype_t idtype, id_t id, int *status, int options, struct __wrusage *wrusage, siginfo_t *info); }
117924+ SYS_CAP_RIGHTS_LIMIT = 533 // { int cap_rights_limit(int fd, cap_rights_t *rightsp); }
117925+ SYS_CAP_IOCTLS_LIMIT = 534 // { int cap_ioctls_limit(int fd, const u_long *cmds, size_t ncmds); }
117926+ SYS_CAP_IOCTLS_GET = 535 // { ssize_t cap_ioctls_get(int fd, u_long *cmds, size_t maxcmds); }
117927+ SYS_CAP_FCNTLS_LIMIT = 536 // { int cap_fcntls_limit(int fd, uint32_t fcntlrights); }
117928+ SYS_CAP_FCNTLS_GET = 537 // { int cap_fcntls_get(int fd, uint32_t *fcntlrightsp); }
117929+ SYS_BINDAT = 538 // { int bindat(int fd, int s, caddr_t name, int namelen); }
117930+ SYS_CONNECTAT = 539 // { int connectat(int fd, int s, caddr_t name, int namelen); }
117931+ SYS_CHFLAGSAT = 540 // { int chflagsat(int fd, const char *path, u_long flags, int atflag); }
117932+ SYS_ACCEPT4 = 541 // { int accept4(int s, struct sockaddr * __restrict name, __socklen_t * __restrict anamelen, int flags); }
117933+ SYS_PIPE2 = 542 // { int pipe2(int *fildes, int flags); }
117934+ SYS_AIO_MLOCK = 543 // { int aio_mlock(struct aiocb *aiocbp); }
117935+ SYS_PROCCTL = 544 // { int procctl(idtype_t idtype, id_t id, int com, void *data); }
117936+ SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *set); }
117937+ SYS_FUTIMENS = 546 // { int futimens(int fd, struct timespec *times); }
117938+ SYS_UTIMENSAT = 547 // { int utimensat(int fd, char *path, struct timespec *times, int flag); }
117939+ SYS_NUMA_GETAFFINITY = 548 // { int numa_getaffinity(cpuwhich_t which, id_t id, struct vm_domain_policy_entry *policy); }
117940+ SYS_NUMA_SETAFFINITY = 549 // { int numa_setaffinity(cpuwhich_t which, id_t id, const struct vm_domain_policy_entry *policy); }
117941+ SYS_FDATASYNC = 550 // { int fdatasync(int fd); }
117942 )
117943diff --git a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go
117944new file mode 100644
117945index 00000000..3e51af8e
117946--- /dev/null
117947+++ b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go
117948@@ -0,0 +1,396 @@
117949+// go run mksysnum.go https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master
117950+// Code generated by the command above; see README.md. DO NOT EDIT.
117951+
117952+// +build arm64,freebsd
117953+
117954+package unix
117955+
117956+const (
117957+ // SYS_NOSYS = 0; // { int nosys(void); } syscall nosys_args int
117958+ SYS_EXIT = 1 // { void sys_exit(int rval); } exit sys_exit_args void
117959+ SYS_FORK = 2 // { int fork(void); }
117960+ SYS_READ = 3 // { ssize_t read(int fd, void *buf, size_t nbyte); }
117961+ SYS_WRITE = 4 // { ssize_t write(int fd, const void *buf, size_t nbyte); }
117962+ SYS_OPEN = 5 // { int open(char *path, int flags, int mode); }
117963+ SYS_CLOSE = 6 // { int close(int fd); }
117964+ SYS_WAIT4 = 7 // { int wait4(int pid, int *status, int options, struct rusage *rusage); }
117965+ SYS_LINK = 9 // { int link(char *path, char *link); }
117966+ SYS_UNLINK = 10 // { int unlink(char *path); }
117967+ SYS_CHDIR = 12 // { int chdir(char *path); }
117968+ SYS_FCHDIR = 13 // { int fchdir(int fd); }
117969+ SYS_MKNOD = 14 // { int mknod(char *path, int mode, int dev); }
117970+ SYS_CHMOD = 15 // { int chmod(char *path, int mode); }
117971+ SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); }
117972+ SYS_OBREAK = 17 // { int obreak(char *nsize); } break obreak_args int
117973+ SYS_GETPID = 20 // { pid_t getpid(void); }
117974+ SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, caddr_t data); }
117975+ SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); }
117976+ SYS_SETUID = 23 // { int setuid(uid_t uid); }
117977+ SYS_GETUID = 24 // { uid_t getuid(void); }
117978+ SYS_GETEUID = 25 // { uid_t geteuid(void); }
117979+ SYS_PTRACE = 26 // { int ptrace(int req, pid_t pid, caddr_t addr, int data); }
117980+ SYS_RECVMSG = 27 // { int recvmsg(int s, struct msghdr *msg, int flags); }
117981+ SYS_SENDMSG = 28 // { int sendmsg(int s, struct msghdr *msg, int flags); }
117982+ SYS_RECVFROM = 29 // { int recvfrom(int s, caddr_t buf, size_t len, int flags, struct sockaddr * __restrict from, __socklen_t * __restrict fromlenaddr); }
117983+ SYS_ACCEPT = 30 // { int accept(int s, struct sockaddr * __restrict name, __socklen_t * __restrict anamelen); }
117984+ SYS_GETPEERNAME = 31 // { int getpeername(int fdes, struct sockaddr * __restrict asa, __socklen_t * __restrict alen); }
117985+ SYS_GETSOCKNAME = 32 // { int getsockname(int fdes, struct sockaddr * __restrict asa, __socklen_t * __restrict alen); }
117986+ SYS_ACCESS = 33 // { int access(char *path, int amode); }
117987+ SYS_CHFLAGS = 34 // { int chflags(const char *path, u_long flags); }
117988+ SYS_FCHFLAGS = 35 // { int fchflags(int fd, u_long flags); }
117989+ SYS_SYNC = 36 // { int sync(void); }
117990+ SYS_KILL = 37 // { int kill(int pid, int signum); }
117991+ SYS_GETPPID = 39 // { pid_t getppid(void); }
117992+ SYS_DUP = 41 // { int dup(u_int fd); }
117993+ SYS_PIPE = 42 // { int pipe(void); }
117994+ SYS_GETEGID = 43 // { gid_t getegid(void); }
117995+ SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, size_t offset, u_int scale); }
117996+ SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, int pid); }
117997+ SYS_GETGID = 47 // { gid_t getgid(void); }
117998+ SYS_GETLOGIN = 49 // { int getlogin(char *namebuf, u_int namelen); }
117999+ SYS_SETLOGIN = 50 // { int setlogin(char *namebuf); }
118000+ SYS_ACCT = 51 // { int acct(char *path); }
118001+ SYS_SIGALTSTACK = 53 // { int sigaltstack(stack_t *ss, stack_t *oss); }
118002+ SYS_IOCTL = 54 // { int ioctl(int fd, u_long com, caddr_t data); }
118003+ SYS_REBOOT = 55 // { int reboot(int opt); }
118004+ SYS_REVOKE = 56 // { int revoke(char *path); }
118005+ SYS_SYMLINK = 57 // { int symlink(char *path, char *link); }
118006+ SYS_READLINK = 58 // { ssize_t readlink(char *path, char *buf, size_t count); }
118007+ SYS_EXECVE = 59 // { int execve(char *fname, char **argv, char **envv); }
118008+ SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args int
118009+ SYS_CHROOT = 61 // { int chroot(char *path); }
118010+ SYS_MSYNC = 65 // { int msync(void *addr, size_t len, int flags); }
118011+ SYS_VFORK = 66 // { int vfork(void); }
118012+ SYS_SBRK = 69 // { int sbrk(int incr); }
118013+ SYS_SSTK = 70 // { int sstk(int incr); }
118014+ SYS_OVADVISE = 72 // { int ovadvise(int anom); } vadvise ovadvise_args int
118015+ SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); }
118016+ SYS_MPROTECT = 74 // { int mprotect(const void *addr, size_t len, int prot); }
118017+ SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, int behav); }
118018+ SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, char *vec); }
118019+ SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, gid_t *gidset); }
118020+ SYS_SETGROUPS = 80 // { int setgroups(u_int gidsetsize, gid_t *gidset); }
118021+ SYS_GETPGRP = 81 // { int getpgrp(void); }
118022+ SYS_SETPGID = 82 // { int setpgid(int pid, int pgid); }
118023+ SYS_SETITIMER = 83 // { int setitimer(u_int which, struct itimerval *itv, struct itimerval *oitv); }
118024+ SYS_SWAPON = 85 // { int swapon(char *name); }
118025+ SYS_GETITIMER = 86 // { int getitimer(u_int which, struct itimerval *itv); }
118026+ SYS_GETDTABLESIZE = 89 // { int getdtablesize(void); }
118027+ SYS_DUP2 = 90 // { int dup2(u_int from, u_int to); }
118028+ SYS_FCNTL = 92 // { int fcntl(int fd, int cmd, long arg); }
118029+ SYS_SELECT = 93 // { int select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); }
118030+ SYS_FSYNC = 95 // { int fsync(int fd); }
118031+ SYS_SETPRIORITY = 96 // { int setpriority(int which, int who, int prio); }
118032+ SYS_SOCKET = 97 // { int socket(int domain, int type, int protocol); }
118033+ SYS_CONNECT = 98 // { int connect(int s, caddr_t name, int namelen); }
118034+ SYS_GETPRIORITY = 100 // { int getpriority(int which, int who); }
118035+ SYS_BIND = 104 // { int bind(int s, caddr_t name, int namelen); }
118036+ SYS_SETSOCKOPT = 105 // { int setsockopt(int s, int level, int name, caddr_t val, int valsize); }
118037+ SYS_LISTEN = 106 // { int listen(int s, int backlog); }
118038+ SYS_GETTIMEOFDAY = 116 // { int gettimeofday(struct timeval *tp, struct timezone *tzp); }
118039+ SYS_GETRUSAGE = 117 // { int getrusage(int who, struct rusage *rusage); }
118040+ SYS_GETSOCKOPT = 118 // { int getsockopt(int s, int level, int name, caddr_t val, int *avalsize); }
118041+ SYS_READV = 120 // { int readv(int fd, struct iovec *iovp, u_int iovcnt); }
118042+ SYS_WRITEV = 121 // { int writev(int fd, struct iovec *iovp, u_int iovcnt); }
118043+ SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, struct timezone *tzp); }
118044+ SYS_FCHOWN = 123 // { int fchown(int fd, int uid, int gid); }
118045+ SYS_FCHMOD = 124 // { int fchmod(int fd, int mode); }
118046+ SYS_SETREUID = 126 // { int setreuid(int ruid, int euid); }
118047+ SYS_SETREGID = 127 // { int setregid(int rgid, int egid); }
118048+ SYS_RENAME = 128 // { int rename(char *from, char *to); }
118049+ SYS_FLOCK = 131 // { int flock(int fd, int how); }
118050+ SYS_MKFIFO = 132 // { int mkfifo(char *path, int mode); }
118051+ SYS_SENDTO = 133 // { int sendto(int s, caddr_t buf, size_t len, int flags, caddr_t to, int tolen); }
118052+ SYS_SHUTDOWN = 134 // { int shutdown(int s, int how); }
118053+ SYS_SOCKETPAIR = 135 // { int socketpair(int domain, int type, int protocol, int *rsv); }
118054+ SYS_MKDIR = 136 // { int mkdir(char *path, int mode); }
118055+ SYS_RMDIR = 137 // { int rmdir(char *path); }
118056+ SYS_UTIMES = 138 // { int utimes(char *path, struct timeval *tptr); }
118057+ SYS_ADJTIME = 140 // { int adjtime(struct timeval *delta, struct timeval *olddelta); }
118058+ SYS_SETSID = 147 // { int setsid(void); }
118059+ SYS_QUOTACTL = 148 // { int quotactl(char *path, int cmd, int uid, caddr_t arg); }
118060+ SYS_NLM_SYSCALL = 154 // { int nlm_syscall(int debug_level, int grace_period, int addr_count, char **addrs); }
118061+ SYS_NFSSVC = 155 // { int nfssvc(int flag, caddr_t argp); }
118062+ SYS_LGETFH = 160 // { int lgetfh(char *fname, struct fhandle *fhp); }
118063+ SYS_GETFH = 161 // { int getfh(char *fname, struct fhandle *fhp); }
118064+ SYS_SYSARCH = 165 // { int sysarch(int op, char *parms); }
118065+ SYS_RTPRIO = 166 // { int rtprio(int function, pid_t pid, struct rtprio *rtp); }
118066+ SYS_SEMSYS = 169 // { int semsys(int which, int a2, int a3, int a4, int a5); }
118067+ SYS_MSGSYS = 170 // { int msgsys(int which, int a2, int a3, int a4, int a5, int a6); }
118068+ SYS_SHMSYS = 171 // { int shmsys(int which, int a2, int a3, int a4); }
118069+ SYS_SETFIB = 175 // { int setfib(int fibnum); }
118070+ SYS_NTP_ADJTIME = 176 // { int ntp_adjtime(struct timex *tp); }
118071+ SYS_SETGID = 181 // { int setgid(gid_t gid); }
118072+ SYS_SETEGID = 182 // { int setegid(gid_t egid); }
118073+ SYS_SETEUID = 183 // { int seteuid(uid_t euid); }
118074+ SYS_STAT = 188 // { int stat(char *path, struct stat *ub); }
118075+ SYS_FSTAT = 189 // { int fstat(int fd, struct stat *sb); }
118076+ SYS_LSTAT = 190 // { int lstat(char *path, struct stat *ub); }
118077+ SYS_PATHCONF = 191 // { int pathconf(char *path, int name); }
118078+ SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); }
118079+ SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, struct rlimit *rlp); } getrlimit __getrlimit_args int
118080+ SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int
118081+ SYS_GETDIRENTRIES = 196 // { int getdirentries(int fd, char *buf, u_int count, long *basep); }
118082+ SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } __sysctl sysctl_args int
118083+ SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); }
118084+ SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); }
118085+ SYS_UNDELETE = 205 // { int undelete(char *path); }
118086+ SYS_FUTIMES = 206 // { int futimes(int fd, struct timeval *tptr); }
118087+ SYS_GETPGID = 207 // { int getpgid(pid_t pid); }
118088+ SYS_POLL = 209 // { int poll(struct pollfd *fds, u_int nfds, int timeout); }
118089+ SYS_SEMGET = 221 // { int semget(key_t key, int nsems, int semflg); }
118090+ SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, size_t nsops); }
118091+ SYS_MSGGET = 225 // { int msgget(key_t key, int msgflg); }
118092+ SYS_MSGSND = 226 // { int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); }
118093+ SYS_MSGRCV = 227 // { int msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
118094+ SYS_SHMAT = 228 // { int shmat(int shmid, const void *shmaddr, int shmflg); }
118095+ SYS_SHMDT = 230 // { int shmdt(const void *shmaddr); }
118096+ SYS_SHMGET = 231 // { int shmget(key_t key, size_t size, int shmflg); }
118097+ SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, struct timespec *tp); }
118098+ SYS_CLOCK_SETTIME = 233 // { int clock_settime( clockid_t clock_id, const struct timespec *tp); }
118099+ SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, struct timespec *tp); }
118100+ SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, struct sigevent *evp, int *timerid); }
118101+ SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); }
118102+ SYS_KTIMER_SETTIME = 237 // { int ktimer_settime(int timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue); }
118103+ SYS_KTIMER_GETTIME = 238 // { int ktimer_gettime(int timerid, struct itimerspec *value); }
118104+ SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); }
118105+ SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); }
118106+ SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); }
118107+ SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate( struct ffclock_estimate *cest); }
118108+ SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate( struct ffclock_estimate *cest); }
118109+ SYS_CLOCK_NANOSLEEP = 244 // { int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp); }
118110+ SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id,int which, clockid_t *clock_id); }
118111+ SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); }
118112+ SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, int inherit); }
118113+ SYS_RFORK = 251 // { int rfork(int flags); }
118114+ SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, u_int nfds, int timeout); }
118115+ SYS_ISSETUGID = 253 // { int issetugid(void); }
118116+ SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); }
118117+ SYS_AIO_READ = 255 // { int aio_read(struct aiocb *aiocbp); }
118118+ SYS_AIO_WRITE = 256 // { int aio_write(struct aiocb *aiocbp); }
118119+ SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb * const *acb_list, int nent, struct sigevent *sig); }
118120+ SYS_GETDENTS = 272 // { int getdents(int fd, char *buf, size_t count); }
118121+ SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); }
118122+ SYS_LUTIMES = 276 // { int lutimes(char *path, struct timeval *tptr); }
118123+ SYS_NSTAT = 278 // { int nstat(char *path, struct nstat *ub); }
118124+ SYS_NFSTAT = 279 // { int nfstat(int fd, struct nstat *sb); }
118125+ SYS_NLSTAT = 280 // { int nlstat(char *path, struct nstat *ub); }
118126+ SYS_PREADV = 289 // { ssize_t preadv(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); }
118127+ SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); }
118128+ SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); }
118129+ SYS_FHSTAT = 299 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); }
118130+ SYS_MODNEXT = 300 // { int modnext(int modid); }
118131+ SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat *stat); }
118132+ SYS_MODFNEXT = 302 // { int modfnext(int modid); }
118133+ SYS_MODFIND = 303 // { int modfind(const char *name); }
118134+ SYS_KLDLOAD = 304 // { int kldload(const char *file); }
118135+ SYS_KLDUNLOAD = 305 // { int kldunload(int fileid); }
118136+ SYS_KLDFIND = 306 // { int kldfind(const char *file); }
118137+ SYS_KLDNEXT = 307 // { int kldnext(int fileid); }
118138+ SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct kld_file_stat* stat); }
118139+ SYS_KLDFIRSTMOD = 309 // { int kldfirstmod(int fileid); }
118140+ SYS_GETSID = 310 // { int getsid(pid_t pid); }
118141+ SYS_SETRESUID = 311 // { int setresuid(uid_t ruid, uid_t euid, uid_t suid); }
118142+ SYS_SETRESGID = 312 // { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
118143+ SYS_AIO_RETURN = 314 // { ssize_t aio_return(struct aiocb *aiocbp); }
118144+ SYS_AIO_SUSPEND = 315 // { int aio_suspend( struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); }
118145+ SYS_AIO_CANCEL = 316 // { int aio_cancel(int fd, struct aiocb *aiocbp); }
118146+ SYS_AIO_ERROR = 317 // { int aio_error(struct aiocb *aiocbp); }
118147+ SYS_YIELD = 321 // { int yield(void); }
118148+ SYS_MLOCKALL = 324 // { int mlockall(int how); }
118149+ SYS_MUNLOCKALL = 325 // { int munlockall(void); }
118150+ SYS___GETCWD = 326 // { int __getcwd(char *buf, u_int buflen); }
118151+ SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, const struct sched_param *param); }
118152+ SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct sched_param *param); }
118153+ SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); }
118154+ SYS_SCHED_GETSCHEDULER = 330 // { int sched_getscheduler (pid_t pid); }
118155+ SYS_SCHED_YIELD = 331 // { int sched_yield (void); }
118156+ SYS_SCHED_GET_PRIORITY_MAX = 332 // { int sched_get_priority_max (int policy); }
118157+ SYS_SCHED_GET_PRIORITY_MIN = 333 // { int sched_get_priority_min (int policy); }
118158+ SYS_SCHED_RR_GET_INTERVAL = 334 // { int sched_rr_get_interval (pid_t pid, struct timespec *interval); }
118159+ SYS_UTRACE = 335 // { int utrace(const void *addr, size_t len); }
118160+ SYS_KLDSYM = 337 // { int kldsym(int fileid, int cmd, void *data); }
118161+ SYS_JAIL = 338 // { int jail(struct jail *jail); }
118162+ SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, const sigset_t *set, sigset_t *oset); }
118163+ SYS_SIGSUSPEND = 341 // { int sigsuspend(const sigset_t *sigmask); }
118164+ SYS_SIGPENDING = 343 // { int sigpending(sigset_t *set); }
118165+ SYS_SIGTIMEDWAIT = 345 // { int sigtimedwait(const sigset_t *set, siginfo_t *info, const struct timespec *timeout); }
118166+ SYS_SIGWAITINFO = 346 // { int sigwaitinfo(const sigset_t *set, siginfo_t *info); }
118167+ SYS___ACL_GET_FILE = 347 // { int __acl_get_file(const char *path, acl_type_t type, struct acl *aclp); }
118168+ SYS___ACL_SET_FILE = 348 // { int __acl_set_file(const char *path, acl_type_t type, struct acl *aclp); }
118169+ SYS___ACL_GET_FD = 349 // { int __acl_get_fd(int filedes, acl_type_t type, struct acl *aclp); }
118170+ SYS___ACL_SET_FD = 350 // { int __acl_set_fd(int filedes, acl_type_t type, struct acl *aclp); }
118171+ SYS___ACL_DELETE_FILE = 351 // { int __acl_delete_file(const char *path, acl_type_t type); }
118172+ SYS___ACL_DELETE_FD = 352 // { int __acl_delete_fd(int filedes, acl_type_t type); }
118173+ SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, acl_type_t type, struct acl *aclp); }
118174+ SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, struct acl *aclp); }
118175+ SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); }
118176+ SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
118177+ SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
118178+ SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, int attrnamespace, const char *attrname); }
118179+ SYS_AIO_WAITCOMPLETE = 359 // { ssize_t aio_waitcomplete( struct aiocb **aiocbp, struct timespec *timeout); }
118180+ SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); }
118181+ SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
118182+ SYS_KQUEUE = 362 // { int kqueue(void); }
118183+ SYS_KEVENT = 363 // { int kevent(int fd, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); }
118184+ SYS_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
118185+ SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
118186+ SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, int attrnamespace, const char *attrname); }
118187+ SYS___SETUGID = 374 // { int __setugid(int flag); }
118188+ SYS_EACCESS = 376 // { int eaccess(char *path, int amode); }
118189+ SYS_NMOUNT = 378 // { int nmount(struct iovec *iovp, unsigned int iovcnt, int flags); }
118190+ SYS___MAC_GET_PROC = 384 // { int __mac_get_proc(struct mac *mac_p); }
118191+ SYS___MAC_SET_PROC = 385 // { int __mac_set_proc(struct mac *mac_p); }
118192+ SYS___MAC_GET_FD = 386 // { int __mac_get_fd(int fd, struct mac *mac_p); }
118193+ SYS___MAC_GET_FILE = 387 // { int __mac_get_file(const char *path_p, struct mac *mac_p); }
118194+ SYS___MAC_SET_FD = 388 // { int __mac_set_fd(int fd, struct mac *mac_p); }
118195+ SYS___MAC_SET_FILE = 389 // { int __mac_set_file(const char *path_p, struct mac *mac_p); }
118196+ SYS_KENV = 390 // { int kenv(int what, const char *name, char *value, int len); }
118197+ SYS_LCHFLAGS = 391 // { int lchflags(const char *path, u_long flags); }
118198+ SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, int count); }
118199+ SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, struct sf_hdtr *hdtr, off_t *sbytes, int flags); }
118200+ SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, int call, void *arg); }
118201+ SYS_GETFSSTAT = 395 // { int getfsstat(struct statfs *buf, long bufsize, int mode); }
118202+ SYS_STATFS = 396 // { int statfs(char *path, struct statfs *buf); }
118203+ SYS_FSTATFS = 397 // { int fstatfs(int fd, struct statfs *buf); }
118204+ SYS_FHSTATFS = 398 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); }
118205+ SYS_KSEM_CLOSE = 400 // { int ksem_close(semid_t id); }
118206+ SYS_KSEM_POST = 401 // { int ksem_post(semid_t id); }
118207+ SYS_KSEM_WAIT = 402 // { int ksem_wait(semid_t id); }
118208+ SYS_KSEM_TRYWAIT = 403 // { int ksem_trywait(semid_t id); }
118209+ SYS_KSEM_INIT = 404 // { int ksem_init(semid_t *idp, unsigned int value); }
118210+ SYS_KSEM_OPEN = 405 // { int ksem_open(semid_t *idp, const char *name, int oflag, mode_t mode, unsigned int value); }
118211+ SYS_KSEM_UNLINK = 406 // { int ksem_unlink(const char *name); }
118212+ SYS_KSEM_GETVALUE = 407 // { int ksem_getvalue(semid_t id, int *val); }
118213+ SYS_KSEM_DESTROY = 408 // { int ksem_destroy(semid_t id); }
118214+ SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, struct mac *mac_p); }
118215+ SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, struct mac *mac_p); }
118216+ SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, struct mac *mac_p); }
118217+ SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
118218+ SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
118219+ SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link( const char *path, int attrnamespace, const char *attrname); }
118220+ SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, char **envv, struct mac *mac_p); }
118221+ SYS_SIGACTION = 416 // { int sigaction(int sig, const struct sigaction *act, struct sigaction *oact); }
118222+ SYS_SIGRETURN = 417 // { int sigreturn( const struct __ucontext *sigcntxp); }
118223+ SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); }
118224+ SYS_SETCONTEXT = 422 // { int setcontext( const struct __ucontext *ucp); }
118225+ SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, const struct __ucontext *ucp); }
118226+ SYS_SWAPOFF = 424 // { int swapoff(const char *name); }
118227+ SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, acl_type_t type, struct acl *aclp); }
118228+ SYS___ACL_SET_LINK = 426 // { int __acl_set_link(const char *path, acl_type_t type, struct acl *aclp); }
118229+ SYS___ACL_DELETE_LINK = 427 // { int __acl_delete_link(const char *path, acl_type_t type); }
118230+ SYS___ACL_ACLCHECK_LINK = 428 // { int __acl_aclcheck_link(const char *path, acl_type_t type, struct acl *aclp); }
118231+ SYS_SIGWAIT = 429 // { int sigwait(const sigset_t *set, int *sig); }
118232+ SYS_THR_CREATE = 430 // { int thr_create(ucontext_t *ctx, long *id, int flags); }
118233+ SYS_THR_EXIT = 431 // { void thr_exit(long *state); }
118234+ SYS_THR_SELF = 432 // { int thr_self(long *id); }
118235+ SYS_THR_KILL = 433 // { int thr_kill(long id, int sig); }
118236+ SYS_JAIL_ATTACH = 436 // { int jail_attach(int jid); }
118237+ SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); }
118238+ SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file( const char *path, int attrnamespace, void *data, size_t nbytes); }
118239+ SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link( const char *path, int attrnamespace, void *data, size_t nbytes); }
118240+ SYS_KSEM_TIMEDWAIT = 441 // { int ksem_timedwait(semid_t id, const struct timespec *abstime); }
118241+ SYS_THR_SUSPEND = 442 // { int thr_suspend( const struct timespec *timeout); }
118242+ SYS_THR_WAKE = 443 // { int thr_wake(long id); }
118243+ SYS_KLDUNLOADF = 444 // { int kldunloadf(int fileid, int flags); }
118244+ SYS_AUDIT = 445 // { int audit(const void *record, u_int length); }
118245+ SYS_AUDITON = 446 // { int auditon(int cmd, void *data, u_int length); }
118246+ SYS_GETAUID = 447 // { int getauid(uid_t *auid); }
118247+ SYS_SETAUID = 448 // { int setauid(uid_t *auid); }
118248+ SYS_GETAUDIT = 449 // { int getaudit(struct auditinfo *auditinfo); }
118249+ SYS_SETAUDIT = 450 // { int setaudit(struct auditinfo *auditinfo); }
118250+ SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); }
118251+ SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); }
118252+ SYS_AUDITCTL = 453 // { int auditctl(char *path); }
118253+ SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, u_long val, void *uaddr1, void *uaddr2); }
118254+ SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, int param_size); }
118255+ SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); }
118256+ SYS_KMQ_OPEN = 457 // { int kmq_open(const char *path, int flags, mode_t mode, const struct mq_attr *attr); }
118257+ SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); }
118258+ SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); }
118259+ 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);}
118260+ SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); }
118261+ SYS_KMQ_UNLINK = 462 // { int kmq_unlink(const char *path); }
118262+ SYS_ABORT2 = 463 // { int abort2(const char *why, int nargs, void **args); }
118263+ SYS_THR_SET_NAME = 464 // { int thr_set_name(long id, const char *name); }
118264+ SYS_AIO_FSYNC = 465 // { int aio_fsync(int op, struct aiocb *aiocbp); }
118265+ SYS_RTPRIO_THREAD = 466 // { int rtprio_thread(int function, lwpid_t lwpid, struct rtprio *rtp); }
118266+ SYS_SCTP_PEELOFF = 471 // { int sctp_peeloff(int sd, uint32_t name); }
118267+ 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); }
118268+ 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); }
118269+ 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); }
118270+ SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, size_t nbyte, off_t offset); }
118271+ SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, size_t nbyte, off_t offset); }
118272+ SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos); }
118273+ SYS_LSEEK = 478 // { off_t lseek(int fd, off_t offset, int whence); }
118274+ SYS_TRUNCATE = 479 // { int truncate(char *path, off_t length); }
118275+ SYS_FTRUNCATE = 480 // { int ftruncate(int fd, off_t length); }
118276+ SYS_THR_KILL2 = 481 // { int thr_kill2(pid_t pid, long id, int sig); }
118277+ SYS_SHM_OPEN = 482 // { int shm_open(const char *path, int flags, mode_t mode); }
118278+ SYS_SHM_UNLINK = 483 // { int shm_unlink(const char *path); }
118279+ SYS_CPUSET = 484 // { int cpuset(cpusetid_t *setid); }
118280+ SYS_CPUSET_SETID = 485 // { int cpuset_setid(cpuwhich_t which, id_t id, cpusetid_t setid); }
118281+ SYS_CPUSET_GETID = 486 // { int cpuset_getid(cpulevel_t level, cpuwhich_t which, id_t id, cpusetid_t *setid); }
118282+ SYS_CPUSET_GETAFFINITY = 487 // { int cpuset_getaffinity(cpulevel_t level, cpuwhich_t which, id_t id, size_t cpusetsize, cpuset_t *mask); }
118283+ SYS_CPUSET_SETAFFINITY = 488 // { int cpuset_setaffinity(cpulevel_t level, cpuwhich_t which, id_t id, size_t cpusetsize, const cpuset_t *mask); }
118284+ SYS_FACCESSAT = 489 // { int faccessat(int fd, char *path, int amode, int flag); }
118285+ SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, int flag); }
118286+ SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, gid_t gid, int flag); }
118287+ SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, char **envv); }
118288+ SYS_FSTATAT = 493 // { int fstatat(int fd, char *path, struct stat *buf, int flag); }
118289+ SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, struct timeval *times); }
118290+ SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, char *path2, int flag); }
118291+ SYS_MKDIRAT = 496 // { int mkdirat(int fd, char *path, mode_t mode); }
118292+ SYS_MKFIFOAT = 497 // { int mkfifoat(int fd, char *path, mode_t mode); }
118293+ SYS_MKNODAT = 498 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); }
118294+ SYS_OPENAT = 499 // { int openat(int fd, char *path, int flag, mode_t mode); }
118295+ SYS_READLINKAT = 500 // { int readlinkat(int fd, char *path, char *buf, size_t bufsize); }
118296+ SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, char *new); }
118297+ SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, char *path2); }
118298+ SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); }
118299+ SYS_POSIX_OPENPT = 504 // { int posix_openpt(int flags); }
118300+ SYS_GSSD_SYSCALL = 505 // { int gssd_syscall(char *path); }
118301+ SYS_JAIL_GET = 506 // { int jail_get(struct iovec *iovp, unsigned int iovcnt, int flags); }
118302+ SYS_JAIL_SET = 507 // { int jail_set(struct iovec *iovp, unsigned int iovcnt, int flags); }
118303+ SYS_JAIL_REMOVE = 508 // { int jail_remove(int jid); }
118304+ SYS_CLOSEFROM = 509 // { int closefrom(int lowfd); }
118305+ SYS___SEMCTL = 510 // { int __semctl(int semid, int semnum, int cmd, union semun *arg); }
118306+ SYS_MSGCTL = 511 // { int msgctl(int msqid, int cmd, struct msqid_ds *buf); }
118307+ SYS_SHMCTL = 512 // { int shmctl(int shmid, int cmd, struct shmid_ds *buf); }
118308+ SYS_LPATHCONF = 513 // { int lpathconf(char *path, int name); }
118309+ SYS___CAP_RIGHTS_GET = 515 // { int __cap_rights_get(int version, int fd, cap_rights_t *rightsp); }
118310+ SYS_CAP_ENTER = 516 // { int cap_enter(void); }
118311+ SYS_CAP_GETMODE = 517 // { int cap_getmode(u_int *modep); }
118312+ SYS_PDFORK = 518 // { int pdfork(int *fdp, int flags); }
118313+ SYS_PDKILL = 519 // { int pdkill(int fd, int signum); }
118314+ SYS_PDGETPID = 520 // { int pdgetpid(int fd, pid_t *pidp); }
118315+ SYS_PSELECT = 522 // { int pselect(int nd, fd_set *in, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *sm); }
118316+ SYS_GETLOGINCLASS = 523 // { int getloginclass(char *namebuf, size_t namelen); }
118317+ SYS_SETLOGINCLASS = 524 // { int setloginclass(const char *namebuf); }
118318+ SYS_RCTL_GET_RACCT = 525 // { int rctl_get_racct(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); }
118319+ SYS_RCTL_GET_RULES = 526 // { int rctl_get_rules(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); }
118320+ SYS_RCTL_GET_LIMITS = 527 // { int rctl_get_limits(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); }
118321+ SYS_RCTL_ADD_RULE = 528 // { int rctl_add_rule(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); }
118322+ SYS_RCTL_REMOVE_RULE = 529 // { int rctl_remove_rule(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); }
118323+ SYS_POSIX_FALLOCATE = 530 // { int posix_fallocate(int fd, off_t offset, off_t len); }
118324+ SYS_POSIX_FADVISE = 531 // { int posix_fadvise(int fd, off_t offset, off_t len, int advice); }
118325+ SYS_WAIT6 = 532 // { int wait6(idtype_t idtype, id_t id, int *status, int options, struct __wrusage *wrusage, siginfo_t *info); }
118326+ SYS_CAP_RIGHTS_LIMIT = 533 // { int cap_rights_limit(int fd, cap_rights_t *rightsp); }
118327+ SYS_CAP_IOCTLS_LIMIT = 534 // { int cap_ioctls_limit(int fd, const u_long *cmds, size_t ncmds); }
118328+ SYS_CAP_IOCTLS_GET = 535 // { ssize_t cap_ioctls_get(int fd, u_long *cmds, size_t maxcmds); }
118329+ SYS_CAP_FCNTLS_LIMIT = 536 // { int cap_fcntls_limit(int fd, uint32_t fcntlrights); }
118330+ SYS_CAP_FCNTLS_GET = 537 // { int cap_fcntls_get(int fd, uint32_t *fcntlrightsp); }
118331+ SYS_BINDAT = 538 // { int bindat(int fd, int s, caddr_t name, int namelen); }
118332+ SYS_CONNECTAT = 539 // { int connectat(int fd, int s, caddr_t name, int namelen); }
118333+ SYS_CHFLAGSAT = 540 // { int chflagsat(int fd, const char *path, u_long flags, int atflag); }
118334+ SYS_ACCEPT4 = 541 // { int accept4(int s, struct sockaddr * __restrict name, __socklen_t * __restrict anamelen, int flags); }
118335+ SYS_PIPE2 = 542 // { int pipe2(int *fildes, int flags); }
118336+ SYS_AIO_MLOCK = 543 // { int aio_mlock(struct aiocb *aiocbp); }
118337+ SYS_PROCCTL = 544 // { int procctl(idtype_t idtype, id_t id, int com, void *data); }
118338+ SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *set); }
118339+ SYS_FUTIMENS = 546 // { int futimens(int fd, struct timespec *times); }
118340+ SYS_UTIMENSAT = 547 // { int utimensat(int fd, char *path, struct timespec *times, int flag); }
118341+ SYS_NUMA_GETAFFINITY = 548 // { int numa_getaffinity(cpuwhich_t which, id_t id, struct vm_domain_policy_entry *policy); }
118342+ SYS_NUMA_SETAFFINITY = 549 // { int numa_setaffinity(cpuwhich_t which, id_t id, const struct vm_domain_policy_entry *policy); }
118343+ SYS_FDATASYNC = 550 // { int fdatasync(int fd); }
118344+)
118345diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go
118346index cef4fed0..54559a89 100644
118347--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go
118348+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go
118349@@ -1,4 +1,4 @@
118350-// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include -m32 /tmp/include/asm/unistd.h
118351+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include -m32 /tmp/include/asm/unistd.h
118352 // Code generated by the command above; see README.md. DO NOT EDIT.
118353
118354 // +build 386,linux
118355@@ -6,383 +6,431 @@
118356 package unix
118357
118358 const (
118359- SYS_RESTART_SYSCALL = 0
118360- SYS_EXIT = 1
118361- SYS_FORK = 2
118362- SYS_READ = 3
118363- SYS_WRITE = 4
118364- SYS_OPEN = 5
118365- SYS_CLOSE = 6
118366- SYS_WAITPID = 7
118367- SYS_CREAT = 8
118368- SYS_LINK = 9
118369- SYS_UNLINK = 10
118370- SYS_EXECVE = 11
118371- SYS_CHDIR = 12
118372- SYS_TIME = 13
118373- SYS_MKNOD = 14
118374- SYS_CHMOD = 15
118375- SYS_LCHOWN = 16
118376- SYS_BREAK = 17
118377- SYS_OLDSTAT = 18
118378- SYS_LSEEK = 19
118379- SYS_GETPID = 20
118380- SYS_MOUNT = 21
118381- SYS_UMOUNT = 22
118382- SYS_SETUID = 23
118383- SYS_GETUID = 24
118384- SYS_STIME = 25
118385- SYS_PTRACE = 26
118386- SYS_ALARM = 27
118387- SYS_OLDFSTAT = 28
118388- SYS_PAUSE = 29
118389- SYS_UTIME = 30
118390- SYS_STTY = 31
118391- SYS_GTTY = 32
118392- SYS_ACCESS = 33
118393- SYS_NICE = 34
118394- SYS_FTIME = 35
118395- SYS_SYNC = 36
118396- SYS_KILL = 37
118397- SYS_RENAME = 38
118398- SYS_MKDIR = 39
118399- SYS_RMDIR = 40
118400- SYS_DUP = 41
118401- SYS_PIPE = 42
118402- SYS_TIMES = 43
118403- SYS_PROF = 44
118404- SYS_BRK = 45
118405- SYS_SETGID = 46
118406- SYS_GETGID = 47
118407- SYS_SIGNAL = 48
118408- SYS_GETEUID = 49
118409- SYS_GETEGID = 50
118410- SYS_ACCT = 51
118411- SYS_UMOUNT2 = 52
118412- SYS_LOCK = 53
118413- SYS_IOCTL = 54
118414- SYS_FCNTL = 55
118415- SYS_MPX = 56
118416- SYS_SETPGID = 57
118417- SYS_ULIMIT = 58
118418- SYS_OLDOLDUNAME = 59
118419- SYS_UMASK = 60
118420- SYS_CHROOT = 61
118421- SYS_USTAT = 62
118422- SYS_DUP2 = 63
118423- SYS_GETPPID = 64
118424- SYS_GETPGRP = 65
118425- SYS_SETSID = 66
118426- SYS_SIGACTION = 67
118427- SYS_SGETMASK = 68
118428- SYS_SSETMASK = 69
118429- SYS_SETREUID = 70
118430- SYS_SETREGID = 71
118431- SYS_SIGSUSPEND = 72
118432- SYS_SIGPENDING = 73
118433- SYS_SETHOSTNAME = 74
118434- SYS_SETRLIMIT = 75
118435- SYS_GETRLIMIT = 76
118436- SYS_GETRUSAGE = 77
118437- SYS_GETTIMEOFDAY = 78
118438- SYS_SETTIMEOFDAY = 79
118439- SYS_GETGROUPS = 80
118440- SYS_SETGROUPS = 81
118441- SYS_SELECT = 82
118442- SYS_SYMLINK = 83
118443- SYS_OLDLSTAT = 84
118444- SYS_READLINK = 85
118445- SYS_USELIB = 86
118446- SYS_SWAPON = 87
118447- SYS_REBOOT = 88
118448- SYS_READDIR = 89
118449- SYS_MMAP = 90
118450- SYS_MUNMAP = 91
118451- SYS_TRUNCATE = 92
118452- SYS_FTRUNCATE = 93
118453- SYS_FCHMOD = 94
118454- SYS_FCHOWN = 95
118455- SYS_GETPRIORITY = 96
118456- SYS_SETPRIORITY = 97
118457- SYS_PROFIL = 98
118458- SYS_STATFS = 99
118459- SYS_FSTATFS = 100
118460- SYS_IOPERM = 101
118461- SYS_SOCKETCALL = 102
118462- SYS_SYSLOG = 103
118463- SYS_SETITIMER = 104
118464- SYS_GETITIMER = 105
118465- SYS_STAT = 106
118466- SYS_LSTAT = 107
118467- SYS_FSTAT = 108
118468- SYS_OLDUNAME = 109
118469- SYS_IOPL = 110
118470- SYS_VHANGUP = 111
118471- SYS_IDLE = 112
118472- SYS_VM86OLD = 113
118473- SYS_WAIT4 = 114
118474- SYS_SWAPOFF = 115
118475- SYS_SYSINFO = 116
118476- SYS_IPC = 117
118477- SYS_FSYNC = 118
118478- SYS_SIGRETURN = 119
118479- SYS_CLONE = 120
118480- SYS_SETDOMAINNAME = 121
118481- SYS_UNAME = 122
118482- SYS_MODIFY_LDT = 123
118483- SYS_ADJTIMEX = 124
118484- SYS_MPROTECT = 125
118485- SYS_SIGPROCMASK = 126
118486- SYS_CREATE_MODULE = 127
118487- SYS_INIT_MODULE = 128
118488- SYS_DELETE_MODULE = 129
118489- SYS_GET_KERNEL_SYMS = 130
118490- SYS_QUOTACTL = 131
118491- SYS_GETPGID = 132
118492- SYS_FCHDIR = 133
118493- SYS_BDFLUSH = 134
118494- SYS_SYSFS = 135
118495- SYS_PERSONALITY = 136
118496- SYS_AFS_SYSCALL = 137
118497- SYS_SETFSUID = 138
118498- SYS_SETFSGID = 139
118499- SYS__LLSEEK = 140
118500- SYS_GETDENTS = 141
118501- SYS__NEWSELECT = 142
118502- SYS_FLOCK = 143
118503- SYS_MSYNC = 144
118504- SYS_READV = 145
118505- SYS_WRITEV = 146
118506- SYS_GETSID = 147
118507- SYS_FDATASYNC = 148
118508- SYS__SYSCTL = 149
118509- SYS_MLOCK = 150
118510- SYS_MUNLOCK = 151
118511- SYS_MLOCKALL = 152
118512- SYS_MUNLOCKALL = 153
118513- SYS_SCHED_SETPARAM = 154
118514- SYS_SCHED_GETPARAM = 155
118515- SYS_SCHED_SETSCHEDULER = 156
118516- SYS_SCHED_GETSCHEDULER = 157
118517- SYS_SCHED_YIELD = 158
118518- SYS_SCHED_GET_PRIORITY_MAX = 159
118519- SYS_SCHED_GET_PRIORITY_MIN = 160
118520- SYS_SCHED_RR_GET_INTERVAL = 161
118521- SYS_NANOSLEEP = 162
118522- SYS_MREMAP = 163
118523- SYS_SETRESUID = 164
118524- SYS_GETRESUID = 165
118525- SYS_VM86 = 166
118526- SYS_QUERY_MODULE = 167
118527- SYS_POLL = 168
118528- SYS_NFSSERVCTL = 169
118529- SYS_SETRESGID = 170
118530- SYS_GETRESGID = 171
118531- SYS_PRCTL = 172
118532- SYS_RT_SIGRETURN = 173
118533- SYS_RT_SIGACTION = 174
118534- SYS_RT_SIGPROCMASK = 175
118535- SYS_RT_SIGPENDING = 176
118536- SYS_RT_SIGTIMEDWAIT = 177
118537- SYS_RT_SIGQUEUEINFO = 178
118538- SYS_RT_SIGSUSPEND = 179
118539- SYS_PREAD64 = 180
118540- SYS_PWRITE64 = 181
118541- SYS_CHOWN = 182
118542- SYS_GETCWD = 183
118543- SYS_CAPGET = 184
118544- SYS_CAPSET = 185
118545- SYS_SIGALTSTACK = 186
118546- SYS_SENDFILE = 187
118547- SYS_GETPMSG = 188
118548- SYS_PUTPMSG = 189
118549- SYS_VFORK = 190
118550- SYS_UGETRLIMIT = 191
118551- SYS_MMAP2 = 192
118552- SYS_TRUNCATE64 = 193
118553- SYS_FTRUNCATE64 = 194
118554- SYS_STAT64 = 195
118555- SYS_LSTAT64 = 196
118556- SYS_FSTAT64 = 197
118557- SYS_LCHOWN32 = 198
118558- SYS_GETUID32 = 199
118559- SYS_GETGID32 = 200
118560- SYS_GETEUID32 = 201
118561- SYS_GETEGID32 = 202
118562- SYS_SETREUID32 = 203
118563- SYS_SETREGID32 = 204
118564- SYS_GETGROUPS32 = 205
118565- SYS_SETGROUPS32 = 206
118566- SYS_FCHOWN32 = 207
118567- SYS_SETRESUID32 = 208
118568- SYS_GETRESUID32 = 209
118569- SYS_SETRESGID32 = 210
118570- SYS_GETRESGID32 = 211
118571- SYS_CHOWN32 = 212
118572- SYS_SETUID32 = 213
118573- SYS_SETGID32 = 214
118574- SYS_SETFSUID32 = 215
118575- SYS_SETFSGID32 = 216
118576- SYS_PIVOT_ROOT = 217
118577- SYS_MINCORE = 218
118578- SYS_MADVISE = 219
118579- SYS_GETDENTS64 = 220
118580- SYS_FCNTL64 = 221
118581- SYS_GETTID = 224
118582- SYS_READAHEAD = 225
118583- SYS_SETXATTR = 226
118584- SYS_LSETXATTR = 227
118585- SYS_FSETXATTR = 228
118586- SYS_GETXATTR = 229
118587- SYS_LGETXATTR = 230
118588- SYS_FGETXATTR = 231
118589- SYS_LISTXATTR = 232
118590- SYS_LLISTXATTR = 233
118591- SYS_FLISTXATTR = 234
118592- SYS_REMOVEXATTR = 235
118593- SYS_LREMOVEXATTR = 236
118594- SYS_FREMOVEXATTR = 237
118595- SYS_TKILL = 238
118596- SYS_SENDFILE64 = 239
118597- SYS_FUTEX = 240
118598- SYS_SCHED_SETAFFINITY = 241
118599- SYS_SCHED_GETAFFINITY = 242
118600- SYS_SET_THREAD_AREA = 243
118601- SYS_GET_THREAD_AREA = 244
118602- SYS_IO_SETUP = 245
118603- SYS_IO_DESTROY = 246
118604- SYS_IO_GETEVENTS = 247
118605- SYS_IO_SUBMIT = 248
118606- SYS_IO_CANCEL = 249
118607- SYS_FADVISE64 = 250
118608- SYS_EXIT_GROUP = 252
118609- SYS_LOOKUP_DCOOKIE = 253
118610- SYS_EPOLL_CREATE = 254
118611- SYS_EPOLL_CTL = 255
118612- SYS_EPOLL_WAIT = 256
118613- SYS_REMAP_FILE_PAGES = 257
118614- SYS_SET_TID_ADDRESS = 258
118615- SYS_TIMER_CREATE = 259
118616- SYS_TIMER_SETTIME = 260
118617- SYS_TIMER_GETTIME = 261
118618- SYS_TIMER_GETOVERRUN = 262
118619- SYS_TIMER_DELETE = 263
118620- SYS_CLOCK_SETTIME = 264
118621- SYS_CLOCK_GETTIME = 265
118622- SYS_CLOCK_GETRES = 266
118623- SYS_CLOCK_NANOSLEEP = 267
118624- SYS_STATFS64 = 268
118625- SYS_FSTATFS64 = 269
118626- SYS_TGKILL = 270
118627- SYS_UTIMES = 271
118628- SYS_FADVISE64_64 = 272
118629- SYS_VSERVER = 273
118630- SYS_MBIND = 274
118631- SYS_GET_MEMPOLICY = 275
118632- SYS_SET_MEMPOLICY = 276
118633- SYS_MQ_OPEN = 277
118634- SYS_MQ_UNLINK = 278
118635- SYS_MQ_TIMEDSEND = 279
118636- SYS_MQ_TIMEDRECEIVE = 280
118637- SYS_MQ_NOTIFY = 281
118638- SYS_MQ_GETSETATTR = 282
118639- SYS_KEXEC_LOAD = 283
118640- SYS_WAITID = 284
118641- SYS_ADD_KEY = 286
118642- SYS_REQUEST_KEY = 287
118643- SYS_KEYCTL = 288
118644- SYS_IOPRIO_SET = 289
118645- SYS_IOPRIO_GET = 290
118646- SYS_INOTIFY_INIT = 291
118647- SYS_INOTIFY_ADD_WATCH = 292
118648- SYS_INOTIFY_RM_WATCH = 293
118649- SYS_MIGRATE_PAGES = 294
118650- SYS_OPENAT = 295
118651- SYS_MKDIRAT = 296
118652- SYS_MKNODAT = 297
118653- SYS_FCHOWNAT = 298
118654- SYS_FUTIMESAT = 299
118655- SYS_FSTATAT64 = 300
118656- SYS_UNLINKAT = 301
118657- SYS_RENAMEAT = 302
118658- SYS_LINKAT = 303
118659- SYS_SYMLINKAT = 304
118660- SYS_READLINKAT = 305
118661- SYS_FCHMODAT = 306
118662- SYS_FACCESSAT = 307
118663- SYS_PSELECT6 = 308
118664- SYS_PPOLL = 309
118665- SYS_UNSHARE = 310
118666- SYS_SET_ROBUST_LIST = 311
118667- SYS_GET_ROBUST_LIST = 312
118668- SYS_SPLICE = 313
118669- SYS_SYNC_FILE_RANGE = 314
118670- SYS_TEE = 315
118671- SYS_VMSPLICE = 316
118672- SYS_MOVE_PAGES = 317
118673- SYS_GETCPU = 318
118674- SYS_EPOLL_PWAIT = 319
118675- SYS_UTIMENSAT = 320
118676- SYS_SIGNALFD = 321
118677- SYS_TIMERFD_CREATE = 322
118678- SYS_EVENTFD = 323
118679- SYS_FALLOCATE = 324
118680- SYS_TIMERFD_SETTIME = 325
118681- SYS_TIMERFD_GETTIME = 326
118682- SYS_SIGNALFD4 = 327
118683- SYS_EVENTFD2 = 328
118684- SYS_EPOLL_CREATE1 = 329
118685- SYS_DUP3 = 330
118686- SYS_PIPE2 = 331
118687- SYS_INOTIFY_INIT1 = 332
118688- SYS_PREADV = 333
118689- SYS_PWRITEV = 334
118690- SYS_RT_TGSIGQUEUEINFO = 335
118691- SYS_PERF_EVENT_OPEN = 336
118692- SYS_RECVMMSG = 337
118693- SYS_FANOTIFY_INIT = 338
118694- SYS_FANOTIFY_MARK = 339
118695- SYS_PRLIMIT64 = 340
118696- SYS_NAME_TO_HANDLE_AT = 341
118697- SYS_OPEN_BY_HANDLE_AT = 342
118698- SYS_CLOCK_ADJTIME = 343
118699- SYS_SYNCFS = 344
118700- SYS_SENDMMSG = 345
118701- SYS_SETNS = 346
118702- SYS_PROCESS_VM_READV = 347
118703- SYS_PROCESS_VM_WRITEV = 348
118704- SYS_KCMP = 349
118705- SYS_FINIT_MODULE = 350
118706- SYS_SCHED_SETATTR = 351
118707- SYS_SCHED_GETATTR = 352
118708- SYS_RENAMEAT2 = 353
118709- SYS_SECCOMP = 354
118710- SYS_GETRANDOM = 355
118711- SYS_MEMFD_CREATE = 356
118712- SYS_BPF = 357
118713- SYS_EXECVEAT = 358
118714- SYS_SOCKET = 359
118715- SYS_SOCKETPAIR = 360
118716- SYS_BIND = 361
118717- SYS_CONNECT = 362
118718- SYS_LISTEN = 363
118719- SYS_ACCEPT4 = 364
118720- SYS_GETSOCKOPT = 365
118721- SYS_SETSOCKOPT = 366
118722- SYS_GETSOCKNAME = 367
118723- SYS_GETPEERNAME = 368
118724- SYS_SENDTO = 369
118725- SYS_SENDMSG = 370
118726- SYS_RECVFROM = 371
118727- SYS_RECVMSG = 372
118728- SYS_SHUTDOWN = 373
118729- SYS_USERFAULTFD = 374
118730- SYS_MEMBARRIER = 375
118731- SYS_MLOCK2 = 376
118732- SYS_COPY_FILE_RANGE = 377
118733- SYS_PREADV2 = 378
118734- SYS_PWRITEV2 = 379
118735- SYS_PKEY_MPROTECT = 380
118736- SYS_PKEY_ALLOC = 381
118737- SYS_PKEY_FREE = 382
118738+ SYS_RESTART_SYSCALL = 0
118739+ SYS_EXIT = 1
118740+ SYS_FORK = 2
118741+ SYS_READ = 3
118742+ SYS_WRITE = 4
118743+ SYS_OPEN = 5
118744+ SYS_CLOSE = 6
118745+ SYS_WAITPID = 7
118746+ SYS_CREAT = 8
118747+ SYS_LINK = 9
118748+ SYS_UNLINK = 10
118749+ SYS_EXECVE = 11
118750+ SYS_CHDIR = 12
118751+ SYS_TIME = 13
118752+ SYS_MKNOD = 14
118753+ SYS_CHMOD = 15
118754+ SYS_LCHOWN = 16
118755+ SYS_BREAK = 17
118756+ SYS_OLDSTAT = 18
118757+ SYS_LSEEK = 19
118758+ SYS_GETPID = 20
118759+ SYS_MOUNT = 21
118760+ SYS_UMOUNT = 22
118761+ SYS_SETUID = 23
118762+ SYS_GETUID = 24
118763+ SYS_STIME = 25
118764+ SYS_PTRACE = 26
118765+ SYS_ALARM = 27
118766+ SYS_OLDFSTAT = 28
118767+ SYS_PAUSE = 29
118768+ SYS_UTIME = 30
118769+ SYS_STTY = 31
118770+ SYS_GTTY = 32
118771+ SYS_ACCESS = 33
118772+ SYS_NICE = 34
118773+ SYS_FTIME = 35
118774+ SYS_SYNC = 36
118775+ SYS_KILL = 37
118776+ SYS_RENAME = 38
118777+ SYS_MKDIR = 39
118778+ SYS_RMDIR = 40
118779+ SYS_DUP = 41
118780+ SYS_PIPE = 42
118781+ SYS_TIMES = 43
118782+ SYS_PROF = 44
118783+ SYS_BRK = 45
118784+ SYS_SETGID = 46
118785+ SYS_GETGID = 47
118786+ SYS_SIGNAL = 48
118787+ SYS_GETEUID = 49
118788+ SYS_GETEGID = 50
118789+ SYS_ACCT = 51
118790+ SYS_UMOUNT2 = 52
118791+ SYS_LOCK = 53
118792+ SYS_IOCTL = 54
118793+ SYS_FCNTL = 55
118794+ SYS_MPX = 56
118795+ SYS_SETPGID = 57
118796+ SYS_ULIMIT = 58
118797+ SYS_OLDOLDUNAME = 59
118798+ SYS_UMASK = 60
118799+ SYS_CHROOT = 61
118800+ SYS_USTAT = 62
118801+ SYS_DUP2 = 63
118802+ SYS_GETPPID = 64
118803+ SYS_GETPGRP = 65
118804+ SYS_SETSID = 66
118805+ SYS_SIGACTION = 67
118806+ SYS_SGETMASK = 68
118807+ SYS_SSETMASK = 69
118808+ SYS_SETREUID = 70
118809+ SYS_SETREGID = 71
118810+ SYS_SIGSUSPEND = 72
118811+ SYS_SIGPENDING = 73
118812+ SYS_SETHOSTNAME = 74
118813+ SYS_SETRLIMIT = 75
118814+ SYS_GETRLIMIT = 76
118815+ SYS_GETRUSAGE = 77
118816+ SYS_GETTIMEOFDAY = 78
118817+ SYS_SETTIMEOFDAY = 79
118818+ SYS_GETGROUPS = 80
118819+ SYS_SETGROUPS = 81
118820+ SYS_SELECT = 82
118821+ SYS_SYMLINK = 83
118822+ SYS_OLDLSTAT = 84
118823+ SYS_READLINK = 85
118824+ SYS_USELIB = 86
118825+ SYS_SWAPON = 87
118826+ SYS_REBOOT = 88
118827+ SYS_READDIR = 89
118828+ SYS_MMAP = 90
118829+ SYS_MUNMAP = 91
118830+ SYS_TRUNCATE = 92
118831+ SYS_FTRUNCATE = 93
118832+ SYS_FCHMOD = 94
118833+ SYS_FCHOWN = 95
118834+ SYS_GETPRIORITY = 96
118835+ SYS_SETPRIORITY = 97
118836+ SYS_PROFIL = 98
118837+ SYS_STATFS = 99
118838+ SYS_FSTATFS = 100
118839+ SYS_IOPERM = 101
118840+ SYS_SOCKETCALL = 102
118841+ SYS_SYSLOG = 103
118842+ SYS_SETITIMER = 104
118843+ SYS_GETITIMER = 105
118844+ SYS_STAT = 106
118845+ SYS_LSTAT = 107
118846+ SYS_FSTAT = 108
118847+ SYS_OLDUNAME = 109
118848+ SYS_IOPL = 110
118849+ SYS_VHANGUP = 111
118850+ SYS_IDLE = 112
118851+ SYS_VM86OLD = 113
118852+ SYS_WAIT4 = 114
118853+ SYS_SWAPOFF = 115
118854+ SYS_SYSINFO = 116
118855+ SYS_IPC = 117
118856+ SYS_FSYNC = 118
118857+ SYS_SIGRETURN = 119
118858+ SYS_CLONE = 120
118859+ SYS_SETDOMAINNAME = 121
118860+ SYS_UNAME = 122
118861+ SYS_MODIFY_LDT = 123
118862+ SYS_ADJTIMEX = 124
118863+ SYS_MPROTECT = 125
118864+ SYS_SIGPROCMASK = 126
118865+ SYS_CREATE_MODULE = 127
118866+ SYS_INIT_MODULE = 128
118867+ SYS_DELETE_MODULE = 129
118868+ SYS_GET_KERNEL_SYMS = 130
118869+ SYS_QUOTACTL = 131
118870+ SYS_GETPGID = 132
118871+ SYS_FCHDIR = 133
118872+ SYS_BDFLUSH = 134
118873+ SYS_SYSFS = 135
118874+ SYS_PERSONALITY = 136
118875+ SYS_AFS_SYSCALL = 137
118876+ SYS_SETFSUID = 138
118877+ SYS_SETFSGID = 139
118878+ SYS__LLSEEK = 140
118879+ SYS_GETDENTS = 141
118880+ SYS__NEWSELECT = 142
118881+ SYS_FLOCK = 143
118882+ SYS_MSYNC = 144
118883+ SYS_READV = 145
118884+ SYS_WRITEV = 146
118885+ SYS_GETSID = 147
118886+ SYS_FDATASYNC = 148
118887+ SYS__SYSCTL = 149
118888+ SYS_MLOCK = 150
118889+ SYS_MUNLOCK = 151
118890+ SYS_MLOCKALL = 152
118891+ SYS_MUNLOCKALL = 153
118892+ SYS_SCHED_SETPARAM = 154
118893+ SYS_SCHED_GETPARAM = 155
118894+ SYS_SCHED_SETSCHEDULER = 156
118895+ SYS_SCHED_GETSCHEDULER = 157
118896+ SYS_SCHED_YIELD = 158
118897+ SYS_SCHED_GET_PRIORITY_MAX = 159
118898+ SYS_SCHED_GET_PRIORITY_MIN = 160
118899+ SYS_SCHED_RR_GET_INTERVAL = 161
118900+ SYS_NANOSLEEP = 162
118901+ SYS_MREMAP = 163
118902+ SYS_SETRESUID = 164
118903+ SYS_GETRESUID = 165
118904+ SYS_VM86 = 166
118905+ SYS_QUERY_MODULE = 167
118906+ SYS_POLL = 168
118907+ SYS_NFSSERVCTL = 169
118908+ SYS_SETRESGID = 170
118909+ SYS_GETRESGID = 171
118910+ SYS_PRCTL = 172
118911+ SYS_RT_SIGRETURN = 173
118912+ SYS_RT_SIGACTION = 174
118913+ SYS_RT_SIGPROCMASK = 175
118914+ SYS_RT_SIGPENDING = 176
118915+ SYS_RT_SIGTIMEDWAIT = 177
118916+ SYS_RT_SIGQUEUEINFO = 178
118917+ SYS_RT_SIGSUSPEND = 179
118918+ SYS_PREAD64 = 180
118919+ SYS_PWRITE64 = 181
118920+ SYS_CHOWN = 182
118921+ SYS_GETCWD = 183
118922+ SYS_CAPGET = 184
118923+ SYS_CAPSET = 185
118924+ SYS_SIGALTSTACK = 186
118925+ SYS_SENDFILE = 187
118926+ SYS_GETPMSG = 188
118927+ SYS_PUTPMSG = 189
118928+ SYS_VFORK = 190
118929+ SYS_UGETRLIMIT = 191
118930+ SYS_MMAP2 = 192
118931+ SYS_TRUNCATE64 = 193
118932+ SYS_FTRUNCATE64 = 194
118933+ SYS_STAT64 = 195
118934+ SYS_LSTAT64 = 196
118935+ SYS_FSTAT64 = 197
118936+ SYS_LCHOWN32 = 198
118937+ SYS_GETUID32 = 199
118938+ SYS_GETGID32 = 200
118939+ SYS_GETEUID32 = 201
118940+ SYS_GETEGID32 = 202
118941+ SYS_SETREUID32 = 203
118942+ SYS_SETREGID32 = 204
118943+ SYS_GETGROUPS32 = 205
118944+ SYS_SETGROUPS32 = 206
118945+ SYS_FCHOWN32 = 207
118946+ SYS_SETRESUID32 = 208
118947+ SYS_GETRESUID32 = 209
118948+ SYS_SETRESGID32 = 210
118949+ SYS_GETRESGID32 = 211
118950+ SYS_CHOWN32 = 212
118951+ SYS_SETUID32 = 213
118952+ SYS_SETGID32 = 214
118953+ SYS_SETFSUID32 = 215
118954+ SYS_SETFSGID32 = 216
118955+ SYS_PIVOT_ROOT = 217
118956+ SYS_MINCORE = 218
118957+ SYS_MADVISE = 219
118958+ SYS_GETDENTS64 = 220
118959+ SYS_FCNTL64 = 221
118960+ SYS_GETTID = 224
118961+ SYS_READAHEAD = 225
118962+ SYS_SETXATTR = 226
118963+ SYS_LSETXATTR = 227
118964+ SYS_FSETXATTR = 228
118965+ SYS_GETXATTR = 229
118966+ SYS_LGETXATTR = 230
118967+ SYS_FGETXATTR = 231
118968+ SYS_LISTXATTR = 232
118969+ SYS_LLISTXATTR = 233
118970+ SYS_FLISTXATTR = 234
118971+ SYS_REMOVEXATTR = 235
118972+ SYS_LREMOVEXATTR = 236
118973+ SYS_FREMOVEXATTR = 237
118974+ SYS_TKILL = 238
118975+ SYS_SENDFILE64 = 239
118976+ SYS_FUTEX = 240
118977+ SYS_SCHED_SETAFFINITY = 241
118978+ SYS_SCHED_GETAFFINITY = 242
118979+ SYS_SET_THREAD_AREA = 243
118980+ SYS_GET_THREAD_AREA = 244
118981+ SYS_IO_SETUP = 245
118982+ SYS_IO_DESTROY = 246
118983+ SYS_IO_GETEVENTS = 247
118984+ SYS_IO_SUBMIT = 248
118985+ SYS_IO_CANCEL = 249
118986+ SYS_FADVISE64 = 250
118987+ SYS_EXIT_GROUP = 252
118988+ SYS_LOOKUP_DCOOKIE = 253
118989+ SYS_EPOLL_CREATE = 254
118990+ SYS_EPOLL_CTL = 255
118991+ SYS_EPOLL_WAIT = 256
118992+ SYS_REMAP_FILE_PAGES = 257
118993+ SYS_SET_TID_ADDRESS = 258
118994+ SYS_TIMER_CREATE = 259
118995+ SYS_TIMER_SETTIME = 260
118996+ SYS_TIMER_GETTIME = 261
118997+ SYS_TIMER_GETOVERRUN = 262
118998+ SYS_TIMER_DELETE = 263
118999+ SYS_CLOCK_SETTIME = 264
119000+ SYS_CLOCK_GETTIME = 265
119001+ SYS_CLOCK_GETRES = 266
119002+ SYS_CLOCK_NANOSLEEP = 267
119003+ SYS_STATFS64 = 268
119004+ SYS_FSTATFS64 = 269
119005+ SYS_TGKILL = 270
119006+ SYS_UTIMES = 271
119007+ SYS_FADVISE64_64 = 272
119008+ SYS_VSERVER = 273
119009+ SYS_MBIND = 274
119010+ SYS_GET_MEMPOLICY = 275
119011+ SYS_SET_MEMPOLICY = 276
119012+ SYS_MQ_OPEN = 277
119013+ SYS_MQ_UNLINK = 278
119014+ SYS_MQ_TIMEDSEND = 279
119015+ SYS_MQ_TIMEDRECEIVE = 280
119016+ SYS_MQ_NOTIFY = 281
119017+ SYS_MQ_GETSETATTR = 282
119018+ SYS_KEXEC_LOAD = 283
119019+ SYS_WAITID = 284
119020+ SYS_ADD_KEY = 286
119021+ SYS_REQUEST_KEY = 287
119022+ SYS_KEYCTL = 288
119023+ SYS_IOPRIO_SET = 289
119024+ SYS_IOPRIO_GET = 290
119025+ SYS_INOTIFY_INIT = 291
119026+ SYS_INOTIFY_ADD_WATCH = 292
119027+ SYS_INOTIFY_RM_WATCH = 293
119028+ SYS_MIGRATE_PAGES = 294
119029+ SYS_OPENAT = 295
119030+ SYS_MKDIRAT = 296
119031+ SYS_MKNODAT = 297
119032+ SYS_FCHOWNAT = 298
119033+ SYS_FUTIMESAT = 299
119034+ SYS_FSTATAT64 = 300
119035+ SYS_UNLINKAT = 301
119036+ SYS_RENAMEAT = 302
119037+ SYS_LINKAT = 303
119038+ SYS_SYMLINKAT = 304
119039+ SYS_READLINKAT = 305
119040+ SYS_FCHMODAT = 306
119041+ SYS_FACCESSAT = 307
119042+ SYS_PSELECT6 = 308
119043+ SYS_PPOLL = 309
119044+ SYS_UNSHARE = 310
119045+ SYS_SET_ROBUST_LIST = 311
119046+ SYS_GET_ROBUST_LIST = 312
119047+ SYS_SPLICE = 313
119048+ SYS_SYNC_FILE_RANGE = 314
119049+ SYS_TEE = 315
119050+ SYS_VMSPLICE = 316
119051+ SYS_MOVE_PAGES = 317
119052+ SYS_GETCPU = 318
119053+ SYS_EPOLL_PWAIT = 319
119054+ SYS_UTIMENSAT = 320
119055+ SYS_SIGNALFD = 321
119056+ SYS_TIMERFD_CREATE = 322
119057+ SYS_EVENTFD = 323
119058+ SYS_FALLOCATE = 324
119059+ SYS_TIMERFD_SETTIME = 325
119060+ SYS_TIMERFD_GETTIME = 326
119061+ SYS_SIGNALFD4 = 327
119062+ SYS_EVENTFD2 = 328
119063+ SYS_EPOLL_CREATE1 = 329
119064+ SYS_DUP3 = 330
119065+ SYS_PIPE2 = 331
119066+ SYS_INOTIFY_INIT1 = 332
119067+ SYS_PREADV = 333
119068+ SYS_PWRITEV = 334
119069+ SYS_RT_TGSIGQUEUEINFO = 335
119070+ SYS_PERF_EVENT_OPEN = 336
119071+ SYS_RECVMMSG = 337
119072+ SYS_FANOTIFY_INIT = 338
119073+ SYS_FANOTIFY_MARK = 339
119074+ SYS_PRLIMIT64 = 340
119075+ SYS_NAME_TO_HANDLE_AT = 341
119076+ SYS_OPEN_BY_HANDLE_AT = 342
119077+ SYS_CLOCK_ADJTIME = 343
119078+ SYS_SYNCFS = 344
119079+ SYS_SENDMMSG = 345
119080+ SYS_SETNS = 346
119081+ SYS_PROCESS_VM_READV = 347
119082+ SYS_PROCESS_VM_WRITEV = 348
119083+ SYS_KCMP = 349
119084+ SYS_FINIT_MODULE = 350
119085+ SYS_SCHED_SETATTR = 351
119086+ SYS_SCHED_GETATTR = 352
119087+ SYS_RENAMEAT2 = 353
119088+ SYS_SECCOMP = 354
119089+ SYS_GETRANDOM = 355
119090+ SYS_MEMFD_CREATE = 356
119091+ SYS_BPF = 357
119092+ SYS_EXECVEAT = 358
119093+ SYS_SOCKET = 359
119094+ SYS_SOCKETPAIR = 360
119095+ SYS_BIND = 361
119096+ SYS_CONNECT = 362
119097+ SYS_LISTEN = 363
119098+ SYS_ACCEPT4 = 364
119099+ SYS_GETSOCKOPT = 365
119100+ SYS_SETSOCKOPT = 366
119101+ SYS_GETSOCKNAME = 367
119102+ SYS_GETPEERNAME = 368
119103+ SYS_SENDTO = 369
119104+ SYS_SENDMSG = 370
119105+ SYS_RECVFROM = 371
119106+ SYS_RECVMSG = 372
119107+ SYS_SHUTDOWN = 373
119108+ SYS_USERFAULTFD = 374
119109+ SYS_MEMBARRIER = 375
119110+ SYS_MLOCK2 = 376
119111+ SYS_COPY_FILE_RANGE = 377
119112+ SYS_PREADV2 = 378
119113+ SYS_PWRITEV2 = 379
119114+ SYS_PKEY_MPROTECT = 380
119115+ SYS_PKEY_ALLOC = 381
119116+ SYS_PKEY_FREE = 382
119117+ SYS_STATX = 383
119118+ SYS_ARCH_PRCTL = 384
119119+ SYS_IO_PGETEVENTS = 385
119120+ SYS_RSEQ = 386
119121+ SYS_SEMGET = 393
119122+ SYS_SEMCTL = 394
119123+ SYS_SHMGET = 395
119124+ SYS_SHMCTL = 396
119125+ SYS_SHMAT = 397
119126+ SYS_SHMDT = 398
119127+ SYS_MSGGET = 399
119128+ SYS_MSGSND = 400
119129+ SYS_MSGRCV = 401
119130+ SYS_MSGCTL = 402
119131+ SYS_CLOCK_GETTIME64 = 403
119132+ SYS_CLOCK_SETTIME64 = 404
119133+ SYS_CLOCK_ADJTIME64 = 405
119134+ SYS_CLOCK_GETRES_TIME64 = 406
119135+ SYS_CLOCK_NANOSLEEP_TIME64 = 407
119136+ SYS_TIMER_GETTIME64 = 408
119137+ SYS_TIMER_SETTIME64 = 409
119138+ SYS_TIMERFD_GETTIME64 = 410
119139+ SYS_TIMERFD_SETTIME64 = 411
119140+ SYS_UTIMENSAT_TIME64 = 412
119141+ SYS_PSELECT6_TIME64 = 413
119142+ SYS_PPOLL_TIME64 = 414
119143+ SYS_IO_PGETEVENTS_TIME64 = 416
119144+ SYS_RECVMMSG_TIME64 = 417
119145+ SYS_MQ_TIMEDSEND_TIME64 = 418
119146+ SYS_MQ_TIMEDRECEIVE_TIME64 = 419
119147+ SYS_SEMTIMEDOP_TIME64 = 420
119148+ SYS_RT_SIGTIMEDWAIT_TIME64 = 421
119149+ SYS_FUTEX_TIME64 = 422
119150+ SYS_SCHED_RR_GET_INTERVAL_TIME64 = 423
119151+ SYS_PIDFD_SEND_SIGNAL = 424
119152+ SYS_IO_URING_SETUP = 425
119153+ SYS_IO_URING_ENTER = 426
119154+ SYS_IO_URING_REGISTER = 427
119155+ SYS_OPEN_TREE = 428
119156+ SYS_MOVE_MOUNT = 429
119157+ SYS_FSOPEN = 430
119158+ SYS_FSCONFIG = 431
119159+ SYS_FSMOUNT = 432
119160+ SYS_FSPICK = 433
119161+ SYS_PIDFD_OPEN = 434
119162+ SYS_CLONE3 = 435
119163+ SYS_OPENAT2 = 437
119164+ SYS_PIDFD_GETFD = 438
119165 )
119166diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go
119167index 49bfa127..054a741b 100644
119168--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go
119169+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go
119170@@ -1,4 +1,4 @@
119171-// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include -m64 /tmp/include/asm/unistd.h
119172+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include -m64 /tmp/include/asm/unistd.h
119173 // Code generated by the command above; see README.md. DO NOT EDIT.
119174
119175 // +build amd64,linux
119176@@ -338,4 +338,21 @@ const (
119177 SYS_PKEY_MPROTECT = 329
119178 SYS_PKEY_ALLOC = 330
119179 SYS_PKEY_FREE = 331
119180+ SYS_STATX = 332
119181+ SYS_IO_PGETEVENTS = 333
119182+ SYS_RSEQ = 334
119183+ SYS_PIDFD_SEND_SIGNAL = 424
119184+ SYS_IO_URING_SETUP = 425
119185+ SYS_IO_URING_ENTER = 426
119186+ SYS_IO_URING_REGISTER = 427
119187+ SYS_OPEN_TREE = 428
119188+ SYS_MOVE_MOUNT = 429
119189+ SYS_FSOPEN = 430
119190+ SYS_FSCONFIG = 431
119191+ SYS_FSMOUNT = 432
119192+ SYS_FSPICK = 433
119193+ SYS_PIDFD_OPEN = 434
119194+ SYS_CLONE3 = 435
119195+ SYS_OPENAT2 = 437
119196+ SYS_PIDFD_GETFD = 438
119197 )
119198diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go
119199index 97b182ef..307f2ba1 100644
119200--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go
119201+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go
119202@@ -1,4 +1,4 @@
119203-// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
119204+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
119205 // Code generated by the command above; see README.md. DO NOT EDIT.
119206
119207 // +build arm,linux
119208@@ -6,356 +6,395 @@
119209 package unix
119210
119211 const (
119212- SYS_RESTART_SYSCALL = 0
119213- SYS_EXIT = 1
119214- SYS_FORK = 2
119215- SYS_READ = 3
119216- SYS_WRITE = 4
119217- SYS_OPEN = 5
119218- SYS_CLOSE = 6
119219- SYS_CREAT = 8
119220- SYS_LINK = 9
119221- SYS_UNLINK = 10
119222- SYS_EXECVE = 11
119223- SYS_CHDIR = 12
119224- SYS_MKNOD = 14
119225- SYS_CHMOD = 15
119226- SYS_LCHOWN = 16
119227- SYS_LSEEK = 19
119228- SYS_GETPID = 20
119229- SYS_MOUNT = 21
119230- SYS_SETUID = 23
119231- SYS_GETUID = 24
119232- SYS_PTRACE = 26
119233- SYS_PAUSE = 29
119234- SYS_ACCESS = 33
119235- SYS_NICE = 34
119236- SYS_SYNC = 36
119237- SYS_KILL = 37
119238- SYS_RENAME = 38
119239- SYS_MKDIR = 39
119240- SYS_RMDIR = 40
119241- SYS_DUP = 41
119242- SYS_PIPE = 42
119243- SYS_TIMES = 43
119244- SYS_BRK = 45
119245- SYS_SETGID = 46
119246- SYS_GETGID = 47
119247- SYS_GETEUID = 49
119248- SYS_GETEGID = 50
119249- SYS_ACCT = 51
119250- SYS_UMOUNT2 = 52
119251- SYS_IOCTL = 54
119252- SYS_FCNTL = 55
119253- SYS_SETPGID = 57
119254- SYS_UMASK = 60
119255- SYS_CHROOT = 61
119256- SYS_USTAT = 62
119257- SYS_DUP2 = 63
119258- SYS_GETPPID = 64
119259- SYS_GETPGRP = 65
119260- SYS_SETSID = 66
119261- SYS_SIGACTION = 67
119262- SYS_SETREUID = 70
119263- SYS_SETREGID = 71
119264- SYS_SIGSUSPEND = 72
119265- SYS_SIGPENDING = 73
119266- SYS_SETHOSTNAME = 74
119267- SYS_SETRLIMIT = 75
119268- SYS_GETRUSAGE = 77
119269- SYS_GETTIMEOFDAY = 78
119270- SYS_SETTIMEOFDAY = 79
119271- SYS_GETGROUPS = 80
119272- SYS_SETGROUPS = 81
119273- SYS_SYMLINK = 83
119274- SYS_READLINK = 85
119275- SYS_USELIB = 86
119276- SYS_SWAPON = 87
119277- SYS_REBOOT = 88
119278- SYS_MUNMAP = 91
119279- SYS_TRUNCATE = 92
119280- SYS_FTRUNCATE = 93
119281- SYS_FCHMOD = 94
119282- SYS_FCHOWN = 95
119283- SYS_GETPRIORITY = 96
119284- SYS_SETPRIORITY = 97
119285- SYS_STATFS = 99
119286- SYS_FSTATFS = 100
119287- SYS_SYSLOG = 103
119288- SYS_SETITIMER = 104
119289- SYS_GETITIMER = 105
119290- SYS_STAT = 106
119291- SYS_LSTAT = 107
119292- SYS_FSTAT = 108
119293- SYS_VHANGUP = 111
119294- SYS_WAIT4 = 114
119295- SYS_SWAPOFF = 115
119296- SYS_SYSINFO = 116
119297- SYS_FSYNC = 118
119298- SYS_SIGRETURN = 119
119299- SYS_CLONE = 120
119300- SYS_SETDOMAINNAME = 121
119301- SYS_UNAME = 122
119302- SYS_ADJTIMEX = 124
119303- SYS_MPROTECT = 125
119304- SYS_SIGPROCMASK = 126
119305- SYS_INIT_MODULE = 128
119306- SYS_DELETE_MODULE = 129
119307- SYS_QUOTACTL = 131
119308- SYS_GETPGID = 132
119309- SYS_FCHDIR = 133
119310- SYS_BDFLUSH = 134
119311- SYS_SYSFS = 135
119312- SYS_PERSONALITY = 136
119313- SYS_SETFSUID = 138
119314- SYS_SETFSGID = 139
119315- SYS__LLSEEK = 140
119316- SYS_GETDENTS = 141
119317- SYS__NEWSELECT = 142
119318- SYS_FLOCK = 143
119319- SYS_MSYNC = 144
119320- SYS_READV = 145
119321- SYS_WRITEV = 146
119322- SYS_GETSID = 147
119323- SYS_FDATASYNC = 148
119324- SYS__SYSCTL = 149
119325- SYS_MLOCK = 150
119326- SYS_MUNLOCK = 151
119327- SYS_MLOCKALL = 152
119328- SYS_MUNLOCKALL = 153
119329- SYS_SCHED_SETPARAM = 154
119330- SYS_SCHED_GETPARAM = 155
119331- SYS_SCHED_SETSCHEDULER = 156
119332- SYS_SCHED_GETSCHEDULER = 157
119333- SYS_SCHED_YIELD = 158
119334- SYS_SCHED_GET_PRIORITY_MAX = 159
119335- SYS_SCHED_GET_PRIORITY_MIN = 160
119336- SYS_SCHED_RR_GET_INTERVAL = 161
119337- SYS_NANOSLEEP = 162
119338- SYS_MREMAP = 163
119339- SYS_SETRESUID = 164
119340- SYS_GETRESUID = 165
119341- SYS_POLL = 168
119342- SYS_NFSSERVCTL = 169
119343- SYS_SETRESGID = 170
119344- SYS_GETRESGID = 171
119345- SYS_PRCTL = 172
119346- SYS_RT_SIGRETURN = 173
119347- SYS_RT_SIGACTION = 174
119348- SYS_RT_SIGPROCMASK = 175
119349- SYS_RT_SIGPENDING = 176
119350- SYS_RT_SIGTIMEDWAIT = 177
119351- SYS_RT_SIGQUEUEINFO = 178
119352- SYS_RT_SIGSUSPEND = 179
119353- SYS_PREAD64 = 180
119354- SYS_PWRITE64 = 181
119355- SYS_CHOWN = 182
119356- SYS_GETCWD = 183
119357- SYS_CAPGET = 184
119358- SYS_CAPSET = 185
119359- SYS_SIGALTSTACK = 186
119360- SYS_SENDFILE = 187
119361- SYS_VFORK = 190
119362- SYS_UGETRLIMIT = 191
119363- SYS_MMAP2 = 192
119364- SYS_TRUNCATE64 = 193
119365- SYS_FTRUNCATE64 = 194
119366- SYS_STAT64 = 195
119367- SYS_LSTAT64 = 196
119368- SYS_FSTAT64 = 197
119369- SYS_LCHOWN32 = 198
119370- SYS_GETUID32 = 199
119371- SYS_GETGID32 = 200
119372- SYS_GETEUID32 = 201
119373- SYS_GETEGID32 = 202
119374- SYS_SETREUID32 = 203
119375- SYS_SETREGID32 = 204
119376- SYS_GETGROUPS32 = 205
119377- SYS_SETGROUPS32 = 206
119378- SYS_FCHOWN32 = 207
119379- SYS_SETRESUID32 = 208
119380- SYS_GETRESUID32 = 209
119381- SYS_SETRESGID32 = 210
119382- SYS_GETRESGID32 = 211
119383- SYS_CHOWN32 = 212
119384- SYS_SETUID32 = 213
119385- SYS_SETGID32 = 214
119386- SYS_SETFSUID32 = 215
119387- SYS_SETFSGID32 = 216
119388- SYS_GETDENTS64 = 217
119389- SYS_PIVOT_ROOT = 218
119390- SYS_MINCORE = 219
119391- SYS_MADVISE = 220
119392- SYS_FCNTL64 = 221
119393- SYS_GETTID = 224
119394- SYS_READAHEAD = 225
119395- SYS_SETXATTR = 226
119396- SYS_LSETXATTR = 227
119397- SYS_FSETXATTR = 228
119398- SYS_GETXATTR = 229
119399- SYS_LGETXATTR = 230
119400- SYS_FGETXATTR = 231
119401- SYS_LISTXATTR = 232
119402- SYS_LLISTXATTR = 233
119403- SYS_FLISTXATTR = 234
119404- SYS_REMOVEXATTR = 235
119405- SYS_LREMOVEXATTR = 236
119406- SYS_FREMOVEXATTR = 237
119407- SYS_TKILL = 238
119408- SYS_SENDFILE64 = 239
119409- SYS_FUTEX = 240
119410- SYS_SCHED_SETAFFINITY = 241
119411- SYS_SCHED_GETAFFINITY = 242
119412- SYS_IO_SETUP = 243
119413- SYS_IO_DESTROY = 244
119414- SYS_IO_GETEVENTS = 245
119415- SYS_IO_SUBMIT = 246
119416- SYS_IO_CANCEL = 247
119417- SYS_EXIT_GROUP = 248
119418- SYS_LOOKUP_DCOOKIE = 249
119419- SYS_EPOLL_CREATE = 250
119420- SYS_EPOLL_CTL = 251
119421- SYS_EPOLL_WAIT = 252
119422- SYS_REMAP_FILE_PAGES = 253
119423- SYS_SET_TID_ADDRESS = 256
119424- SYS_TIMER_CREATE = 257
119425- SYS_TIMER_SETTIME = 258
119426- SYS_TIMER_GETTIME = 259
119427- SYS_TIMER_GETOVERRUN = 260
119428- SYS_TIMER_DELETE = 261
119429- SYS_CLOCK_SETTIME = 262
119430- SYS_CLOCK_GETTIME = 263
119431- SYS_CLOCK_GETRES = 264
119432- SYS_CLOCK_NANOSLEEP = 265
119433- SYS_STATFS64 = 266
119434- SYS_FSTATFS64 = 267
119435- SYS_TGKILL = 268
119436- SYS_UTIMES = 269
119437- SYS_ARM_FADVISE64_64 = 270
119438- SYS_PCICONFIG_IOBASE = 271
119439- SYS_PCICONFIG_READ = 272
119440- SYS_PCICONFIG_WRITE = 273
119441- SYS_MQ_OPEN = 274
119442- SYS_MQ_UNLINK = 275
119443- SYS_MQ_TIMEDSEND = 276
119444- SYS_MQ_TIMEDRECEIVE = 277
119445- SYS_MQ_NOTIFY = 278
119446- SYS_MQ_GETSETATTR = 279
119447- SYS_WAITID = 280
119448- SYS_SOCKET = 281
119449- SYS_BIND = 282
119450- SYS_CONNECT = 283
119451- SYS_LISTEN = 284
119452- SYS_ACCEPT = 285
119453- SYS_GETSOCKNAME = 286
119454- SYS_GETPEERNAME = 287
119455- SYS_SOCKETPAIR = 288
119456- SYS_SEND = 289
119457- SYS_SENDTO = 290
119458- SYS_RECV = 291
119459- SYS_RECVFROM = 292
119460- SYS_SHUTDOWN = 293
119461- SYS_SETSOCKOPT = 294
119462- SYS_GETSOCKOPT = 295
119463- SYS_SENDMSG = 296
119464- SYS_RECVMSG = 297
119465- SYS_SEMOP = 298
119466- SYS_SEMGET = 299
119467- SYS_SEMCTL = 300
119468- SYS_MSGSND = 301
119469- SYS_MSGRCV = 302
119470- SYS_MSGGET = 303
119471- SYS_MSGCTL = 304
119472- SYS_SHMAT = 305
119473- SYS_SHMDT = 306
119474- SYS_SHMGET = 307
119475- SYS_SHMCTL = 308
119476- SYS_ADD_KEY = 309
119477- SYS_REQUEST_KEY = 310
119478- SYS_KEYCTL = 311
119479- SYS_SEMTIMEDOP = 312
119480- SYS_VSERVER = 313
119481- SYS_IOPRIO_SET = 314
119482- SYS_IOPRIO_GET = 315
119483- SYS_INOTIFY_INIT = 316
119484- SYS_INOTIFY_ADD_WATCH = 317
119485- SYS_INOTIFY_RM_WATCH = 318
119486- SYS_MBIND = 319
119487- SYS_GET_MEMPOLICY = 320
119488- SYS_SET_MEMPOLICY = 321
119489- SYS_OPENAT = 322
119490- SYS_MKDIRAT = 323
119491- SYS_MKNODAT = 324
119492- SYS_FCHOWNAT = 325
119493- SYS_FUTIMESAT = 326
119494- SYS_FSTATAT64 = 327
119495- SYS_UNLINKAT = 328
119496- SYS_RENAMEAT = 329
119497- SYS_LINKAT = 330
119498- SYS_SYMLINKAT = 331
119499- SYS_READLINKAT = 332
119500- SYS_FCHMODAT = 333
119501- SYS_FACCESSAT = 334
119502- SYS_PSELECT6 = 335
119503- SYS_PPOLL = 336
119504- SYS_UNSHARE = 337
119505- SYS_SET_ROBUST_LIST = 338
119506- SYS_GET_ROBUST_LIST = 339
119507- SYS_SPLICE = 340
119508- SYS_ARM_SYNC_FILE_RANGE = 341
119509- SYS_TEE = 342
119510- SYS_VMSPLICE = 343
119511- SYS_MOVE_PAGES = 344
119512- SYS_GETCPU = 345
119513- SYS_EPOLL_PWAIT = 346
119514- SYS_KEXEC_LOAD = 347
119515- SYS_UTIMENSAT = 348
119516- SYS_SIGNALFD = 349
119517- SYS_TIMERFD_CREATE = 350
119518- SYS_EVENTFD = 351
119519- SYS_FALLOCATE = 352
119520- SYS_TIMERFD_SETTIME = 353
119521- SYS_TIMERFD_GETTIME = 354
119522- SYS_SIGNALFD4 = 355
119523- SYS_EVENTFD2 = 356
119524- SYS_EPOLL_CREATE1 = 357
119525- SYS_DUP3 = 358
119526- SYS_PIPE2 = 359
119527- SYS_INOTIFY_INIT1 = 360
119528- SYS_PREADV = 361
119529- SYS_PWRITEV = 362
119530- SYS_RT_TGSIGQUEUEINFO = 363
119531- SYS_PERF_EVENT_OPEN = 364
119532- SYS_RECVMMSG = 365
119533- SYS_ACCEPT4 = 366
119534- SYS_FANOTIFY_INIT = 367
119535- SYS_FANOTIFY_MARK = 368
119536- SYS_PRLIMIT64 = 369
119537- SYS_NAME_TO_HANDLE_AT = 370
119538- SYS_OPEN_BY_HANDLE_AT = 371
119539- SYS_CLOCK_ADJTIME = 372
119540- SYS_SYNCFS = 373
119541- SYS_SENDMMSG = 374
119542- SYS_SETNS = 375
119543- SYS_PROCESS_VM_READV = 376
119544- SYS_PROCESS_VM_WRITEV = 377
119545- SYS_KCMP = 378
119546- SYS_FINIT_MODULE = 379
119547- SYS_SCHED_SETATTR = 380
119548- SYS_SCHED_GETATTR = 381
119549- SYS_RENAMEAT2 = 382
119550- SYS_SECCOMP = 383
119551- SYS_GETRANDOM = 384
119552- SYS_MEMFD_CREATE = 385
119553- SYS_BPF = 386
119554- SYS_EXECVEAT = 387
119555- SYS_USERFAULTFD = 388
119556- SYS_MEMBARRIER = 389
119557- SYS_MLOCK2 = 390
119558- SYS_COPY_FILE_RANGE = 391
119559- SYS_PREADV2 = 392
119560- SYS_PWRITEV2 = 393
119561- SYS_PKEY_MPROTECT = 394
119562- SYS_PKEY_ALLOC = 395
119563- SYS_PKEY_FREE = 396
119564+ SYS_RESTART_SYSCALL = 0
119565+ SYS_EXIT = 1
119566+ SYS_FORK = 2
119567+ SYS_READ = 3
119568+ SYS_WRITE = 4
119569+ SYS_OPEN = 5
119570+ SYS_CLOSE = 6
119571+ SYS_CREAT = 8
119572+ SYS_LINK = 9
119573+ SYS_UNLINK = 10
119574+ SYS_EXECVE = 11
119575+ SYS_CHDIR = 12
119576+ SYS_MKNOD = 14
119577+ SYS_CHMOD = 15
119578+ SYS_LCHOWN = 16
119579+ SYS_LSEEK = 19
119580+ SYS_GETPID = 20
119581+ SYS_MOUNT = 21
119582+ SYS_SETUID = 23
119583+ SYS_GETUID = 24
119584+ SYS_PTRACE = 26
119585+ SYS_PAUSE = 29
119586+ SYS_ACCESS = 33
119587+ SYS_NICE = 34
119588+ SYS_SYNC = 36
119589+ SYS_KILL = 37
119590+ SYS_RENAME = 38
119591+ SYS_MKDIR = 39
119592+ SYS_RMDIR = 40
119593+ SYS_DUP = 41
119594+ SYS_PIPE = 42
119595+ SYS_TIMES = 43
119596+ SYS_BRK = 45
119597+ SYS_SETGID = 46
119598+ SYS_GETGID = 47
119599+ SYS_GETEUID = 49
119600+ SYS_GETEGID = 50
119601+ SYS_ACCT = 51
119602+ SYS_UMOUNT2 = 52
119603+ SYS_IOCTL = 54
119604+ SYS_FCNTL = 55
119605+ SYS_SETPGID = 57
119606+ SYS_UMASK = 60
119607+ SYS_CHROOT = 61
119608+ SYS_USTAT = 62
119609+ SYS_DUP2 = 63
119610+ SYS_GETPPID = 64
119611+ SYS_GETPGRP = 65
119612+ SYS_SETSID = 66
119613+ SYS_SIGACTION = 67
119614+ SYS_SETREUID = 70
119615+ SYS_SETREGID = 71
119616+ SYS_SIGSUSPEND = 72
119617+ SYS_SIGPENDING = 73
119618+ SYS_SETHOSTNAME = 74
119619+ SYS_SETRLIMIT = 75
119620+ SYS_GETRUSAGE = 77
119621+ SYS_GETTIMEOFDAY = 78
119622+ SYS_SETTIMEOFDAY = 79
119623+ SYS_GETGROUPS = 80
119624+ SYS_SETGROUPS = 81
119625+ SYS_SYMLINK = 83
119626+ SYS_READLINK = 85
119627+ SYS_USELIB = 86
119628+ SYS_SWAPON = 87
119629+ SYS_REBOOT = 88
119630+ SYS_MUNMAP = 91
119631+ SYS_TRUNCATE = 92
119632+ SYS_FTRUNCATE = 93
119633+ SYS_FCHMOD = 94
119634+ SYS_FCHOWN = 95
119635+ SYS_GETPRIORITY = 96
119636+ SYS_SETPRIORITY = 97
119637+ SYS_STATFS = 99
119638+ SYS_FSTATFS = 100
119639+ SYS_SYSLOG = 103
119640+ SYS_SETITIMER = 104
119641+ SYS_GETITIMER = 105
119642+ SYS_STAT = 106
119643+ SYS_LSTAT = 107
119644+ SYS_FSTAT = 108
119645+ SYS_VHANGUP = 111
119646+ SYS_WAIT4 = 114
119647+ SYS_SWAPOFF = 115
119648+ SYS_SYSINFO = 116
119649+ SYS_FSYNC = 118
119650+ SYS_SIGRETURN = 119
119651+ SYS_CLONE = 120
119652+ SYS_SETDOMAINNAME = 121
119653+ SYS_UNAME = 122
119654+ SYS_ADJTIMEX = 124
119655+ SYS_MPROTECT = 125
119656+ SYS_SIGPROCMASK = 126
119657+ SYS_INIT_MODULE = 128
119658+ SYS_DELETE_MODULE = 129
119659+ SYS_QUOTACTL = 131
119660+ SYS_GETPGID = 132
119661+ SYS_FCHDIR = 133
119662+ SYS_BDFLUSH = 134
119663+ SYS_SYSFS = 135
119664+ SYS_PERSONALITY = 136
119665+ SYS_SETFSUID = 138
119666+ SYS_SETFSGID = 139
119667+ SYS__LLSEEK = 140
119668+ SYS_GETDENTS = 141
119669+ SYS__NEWSELECT = 142
119670+ SYS_FLOCK = 143
119671+ SYS_MSYNC = 144
119672+ SYS_READV = 145
119673+ SYS_WRITEV = 146
119674+ SYS_GETSID = 147
119675+ SYS_FDATASYNC = 148
119676+ SYS__SYSCTL = 149
119677+ SYS_MLOCK = 150
119678+ SYS_MUNLOCK = 151
119679+ SYS_MLOCKALL = 152
119680+ SYS_MUNLOCKALL = 153
119681+ SYS_SCHED_SETPARAM = 154
119682+ SYS_SCHED_GETPARAM = 155
119683+ SYS_SCHED_SETSCHEDULER = 156
119684+ SYS_SCHED_GETSCHEDULER = 157
119685+ SYS_SCHED_YIELD = 158
119686+ SYS_SCHED_GET_PRIORITY_MAX = 159
119687+ SYS_SCHED_GET_PRIORITY_MIN = 160
119688+ SYS_SCHED_RR_GET_INTERVAL = 161
119689+ SYS_NANOSLEEP = 162
119690+ SYS_MREMAP = 163
119691+ SYS_SETRESUID = 164
119692+ SYS_GETRESUID = 165
119693+ SYS_POLL = 168
119694+ SYS_NFSSERVCTL = 169
119695+ SYS_SETRESGID = 170
119696+ SYS_GETRESGID = 171
119697+ SYS_PRCTL = 172
119698+ SYS_RT_SIGRETURN = 173
119699+ SYS_RT_SIGACTION = 174
119700+ SYS_RT_SIGPROCMASK = 175
119701+ SYS_RT_SIGPENDING = 176
119702+ SYS_RT_SIGTIMEDWAIT = 177
119703+ SYS_RT_SIGQUEUEINFO = 178
119704+ SYS_RT_SIGSUSPEND = 179
119705+ SYS_PREAD64 = 180
119706+ SYS_PWRITE64 = 181
119707+ SYS_CHOWN = 182
119708+ SYS_GETCWD = 183
119709+ SYS_CAPGET = 184
119710+ SYS_CAPSET = 185
119711+ SYS_SIGALTSTACK = 186
119712+ SYS_SENDFILE = 187
119713+ SYS_VFORK = 190
119714+ SYS_UGETRLIMIT = 191
119715+ SYS_MMAP2 = 192
119716+ SYS_TRUNCATE64 = 193
119717+ SYS_FTRUNCATE64 = 194
119718+ SYS_STAT64 = 195
119719+ SYS_LSTAT64 = 196
119720+ SYS_FSTAT64 = 197
119721+ SYS_LCHOWN32 = 198
119722+ SYS_GETUID32 = 199
119723+ SYS_GETGID32 = 200
119724+ SYS_GETEUID32 = 201
119725+ SYS_GETEGID32 = 202
119726+ SYS_SETREUID32 = 203
119727+ SYS_SETREGID32 = 204
119728+ SYS_GETGROUPS32 = 205
119729+ SYS_SETGROUPS32 = 206
119730+ SYS_FCHOWN32 = 207
119731+ SYS_SETRESUID32 = 208
119732+ SYS_GETRESUID32 = 209
119733+ SYS_SETRESGID32 = 210
119734+ SYS_GETRESGID32 = 211
119735+ SYS_CHOWN32 = 212
119736+ SYS_SETUID32 = 213
119737+ SYS_SETGID32 = 214
119738+ SYS_SETFSUID32 = 215
119739+ SYS_SETFSGID32 = 216
119740+ SYS_GETDENTS64 = 217
119741+ SYS_PIVOT_ROOT = 218
119742+ SYS_MINCORE = 219
119743+ SYS_MADVISE = 220
119744+ SYS_FCNTL64 = 221
119745+ SYS_GETTID = 224
119746+ SYS_READAHEAD = 225
119747+ SYS_SETXATTR = 226
119748+ SYS_LSETXATTR = 227
119749+ SYS_FSETXATTR = 228
119750+ SYS_GETXATTR = 229
119751+ SYS_LGETXATTR = 230
119752+ SYS_FGETXATTR = 231
119753+ SYS_LISTXATTR = 232
119754+ SYS_LLISTXATTR = 233
119755+ SYS_FLISTXATTR = 234
119756+ SYS_REMOVEXATTR = 235
119757+ SYS_LREMOVEXATTR = 236
119758+ SYS_FREMOVEXATTR = 237
119759+ SYS_TKILL = 238
119760+ SYS_SENDFILE64 = 239
119761+ SYS_FUTEX = 240
119762+ SYS_SCHED_SETAFFINITY = 241
119763+ SYS_SCHED_GETAFFINITY = 242
119764+ SYS_IO_SETUP = 243
119765+ SYS_IO_DESTROY = 244
119766+ SYS_IO_GETEVENTS = 245
119767+ SYS_IO_SUBMIT = 246
119768+ SYS_IO_CANCEL = 247
119769+ SYS_EXIT_GROUP = 248
119770+ SYS_LOOKUP_DCOOKIE = 249
119771+ SYS_EPOLL_CREATE = 250
119772+ SYS_EPOLL_CTL = 251
119773+ SYS_EPOLL_WAIT = 252
119774+ SYS_REMAP_FILE_PAGES = 253
119775+ SYS_SET_TID_ADDRESS = 256
119776+ SYS_TIMER_CREATE = 257
119777+ SYS_TIMER_SETTIME = 258
119778+ SYS_TIMER_GETTIME = 259
119779+ SYS_TIMER_GETOVERRUN = 260
119780+ SYS_TIMER_DELETE = 261
119781+ SYS_CLOCK_SETTIME = 262
119782+ SYS_CLOCK_GETTIME = 263
119783+ SYS_CLOCK_GETRES = 264
119784+ SYS_CLOCK_NANOSLEEP = 265
119785+ SYS_STATFS64 = 266
119786+ SYS_FSTATFS64 = 267
119787+ SYS_TGKILL = 268
119788+ SYS_UTIMES = 269
119789+ SYS_ARM_FADVISE64_64 = 270
119790+ SYS_PCICONFIG_IOBASE = 271
119791+ SYS_PCICONFIG_READ = 272
119792+ SYS_PCICONFIG_WRITE = 273
119793+ SYS_MQ_OPEN = 274
119794+ SYS_MQ_UNLINK = 275
119795+ SYS_MQ_TIMEDSEND = 276
119796+ SYS_MQ_TIMEDRECEIVE = 277
119797+ SYS_MQ_NOTIFY = 278
119798+ SYS_MQ_GETSETATTR = 279
119799+ SYS_WAITID = 280
119800+ SYS_SOCKET = 281
119801+ SYS_BIND = 282
119802+ SYS_CONNECT = 283
119803+ SYS_LISTEN = 284
119804+ SYS_ACCEPT = 285
119805+ SYS_GETSOCKNAME = 286
119806+ SYS_GETPEERNAME = 287
119807+ SYS_SOCKETPAIR = 288
119808+ SYS_SEND = 289
119809+ SYS_SENDTO = 290
119810+ SYS_RECV = 291
119811+ SYS_RECVFROM = 292
119812+ SYS_SHUTDOWN = 293
119813+ SYS_SETSOCKOPT = 294
119814+ SYS_GETSOCKOPT = 295
119815+ SYS_SENDMSG = 296
119816+ SYS_RECVMSG = 297
119817+ SYS_SEMOP = 298
119818+ SYS_SEMGET = 299
119819+ SYS_SEMCTL = 300
119820+ SYS_MSGSND = 301
119821+ SYS_MSGRCV = 302
119822+ SYS_MSGGET = 303
119823+ SYS_MSGCTL = 304
119824+ SYS_SHMAT = 305
119825+ SYS_SHMDT = 306
119826+ SYS_SHMGET = 307
119827+ SYS_SHMCTL = 308
119828+ SYS_ADD_KEY = 309
119829+ SYS_REQUEST_KEY = 310
119830+ SYS_KEYCTL = 311
119831+ SYS_SEMTIMEDOP = 312
119832+ SYS_VSERVER = 313
119833+ SYS_IOPRIO_SET = 314
119834+ SYS_IOPRIO_GET = 315
119835+ SYS_INOTIFY_INIT = 316
119836+ SYS_INOTIFY_ADD_WATCH = 317
119837+ SYS_INOTIFY_RM_WATCH = 318
119838+ SYS_MBIND = 319
119839+ SYS_GET_MEMPOLICY = 320
119840+ SYS_SET_MEMPOLICY = 321
119841+ SYS_OPENAT = 322
119842+ SYS_MKDIRAT = 323
119843+ SYS_MKNODAT = 324
119844+ SYS_FCHOWNAT = 325
119845+ SYS_FUTIMESAT = 326
119846+ SYS_FSTATAT64 = 327
119847+ SYS_UNLINKAT = 328
119848+ SYS_RENAMEAT = 329
119849+ SYS_LINKAT = 330
119850+ SYS_SYMLINKAT = 331
119851+ SYS_READLINKAT = 332
119852+ SYS_FCHMODAT = 333
119853+ SYS_FACCESSAT = 334
119854+ SYS_PSELECT6 = 335
119855+ SYS_PPOLL = 336
119856+ SYS_UNSHARE = 337
119857+ SYS_SET_ROBUST_LIST = 338
119858+ SYS_GET_ROBUST_LIST = 339
119859+ SYS_SPLICE = 340
119860+ SYS_ARM_SYNC_FILE_RANGE = 341
119861+ SYS_TEE = 342
119862+ SYS_VMSPLICE = 343
119863+ SYS_MOVE_PAGES = 344
119864+ SYS_GETCPU = 345
119865+ SYS_EPOLL_PWAIT = 346
119866+ SYS_KEXEC_LOAD = 347
119867+ SYS_UTIMENSAT = 348
119868+ SYS_SIGNALFD = 349
119869+ SYS_TIMERFD_CREATE = 350
119870+ SYS_EVENTFD = 351
119871+ SYS_FALLOCATE = 352
119872+ SYS_TIMERFD_SETTIME = 353
119873+ SYS_TIMERFD_GETTIME = 354
119874+ SYS_SIGNALFD4 = 355
119875+ SYS_EVENTFD2 = 356
119876+ SYS_EPOLL_CREATE1 = 357
119877+ SYS_DUP3 = 358
119878+ SYS_PIPE2 = 359
119879+ SYS_INOTIFY_INIT1 = 360
119880+ SYS_PREADV = 361
119881+ SYS_PWRITEV = 362
119882+ SYS_RT_TGSIGQUEUEINFO = 363
119883+ SYS_PERF_EVENT_OPEN = 364
119884+ SYS_RECVMMSG = 365
119885+ SYS_ACCEPT4 = 366
119886+ SYS_FANOTIFY_INIT = 367
119887+ SYS_FANOTIFY_MARK = 368
119888+ SYS_PRLIMIT64 = 369
119889+ SYS_NAME_TO_HANDLE_AT = 370
119890+ SYS_OPEN_BY_HANDLE_AT = 371
119891+ SYS_CLOCK_ADJTIME = 372
119892+ SYS_SYNCFS = 373
119893+ SYS_SENDMMSG = 374
119894+ SYS_SETNS = 375
119895+ SYS_PROCESS_VM_READV = 376
119896+ SYS_PROCESS_VM_WRITEV = 377
119897+ SYS_KCMP = 378
119898+ SYS_FINIT_MODULE = 379
119899+ SYS_SCHED_SETATTR = 380
119900+ SYS_SCHED_GETATTR = 381
119901+ SYS_RENAMEAT2 = 382
119902+ SYS_SECCOMP = 383
119903+ SYS_GETRANDOM = 384
119904+ SYS_MEMFD_CREATE = 385
119905+ SYS_BPF = 386
119906+ SYS_EXECVEAT = 387
119907+ SYS_USERFAULTFD = 388
119908+ SYS_MEMBARRIER = 389
119909+ SYS_MLOCK2 = 390
119910+ SYS_COPY_FILE_RANGE = 391
119911+ SYS_PREADV2 = 392
119912+ SYS_PWRITEV2 = 393
119913+ SYS_PKEY_MPROTECT = 394
119914+ SYS_PKEY_ALLOC = 395
119915+ SYS_PKEY_FREE = 396
119916+ SYS_STATX = 397
119917+ SYS_RSEQ = 398
119918+ SYS_IO_PGETEVENTS = 399
119919+ SYS_MIGRATE_PAGES = 400
119920+ SYS_KEXEC_FILE_LOAD = 401
119921+ SYS_CLOCK_GETTIME64 = 403
119922+ SYS_CLOCK_SETTIME64 = 404
119923+ SYS_CLOCK_ADJTIME64 = 405
119924+ SYS_CLOCK_GETRES_TIME64 = 406
119925+ SYS_CLOCK_NANOSLEEP_TIME64 = 407
119926+ SYS_TIMER_GETTIME64 = 408
119927+ SYS_TIMER_SETTIME64 = 409
119928+ SYS_TIMERFD_GETTIME64 = 410
119929+ SYS_TIMERFD_SETTIME64 = 411
119930+ SYS_UTIMENSAT_TIME64 = 412
119931+ SYS_PSELECT6_TIME64 = 413
119932+ SYS_PPOLL_TIME64 = 414
119933+ SYS_IO_PGETEVENTS_TIME64 = 416
119934+ SYS_RECVMMSG_TIME64 = 417
119935+ SYS_MQ_TIMEDSEND_TIME64 = 418
119936+ SYS_MQ_TIMEDRECEIVE_TIME64 = 419
119937+ SYS_SEMTIMEDOP_TIME64 = 420
119938+ SYS_RT_SIGTIMEDWAIT_TIME64 = 421
119939+ SYS_FUTEX_TIME64 = 422
119940+ SYS_SCHED_RR_GET_INTERVAL_TIME64 = 423
119941+ SYS_PIDFD_SEND_SIGNAL = 424
119942+ SYS_IO_URING_SETUP = 425
119943+ SYS_IO_URING_ENTER = 426
119944+ SYS_IO_URING_REGISTER = 427
119945+ SYS_OPEN_TREE = 428
119946+ SYS_MOVE_MOUNT = 429
119947+ SYS_FSOPEN = 430
119948+ SYS_FSCONFIG = 431
119949+ SYS_FSMOUNT = 432
119950+ SYS_FSPICK = 433
119951+ SYS_PIDFD_OPEN = 434
119952+ SYS_CLONE3 = 435
119953+ SYS_OPENAT2 = 437
119954+ SYS_PIDFD_GETFD = 438
119955 )
119956diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go
119957index 64078435..e9404dd5 100644
119958--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go
119959+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go
119960@@ -1,4 +1,4 @@
119961-// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include -fsigned-char /tmp/include/asm/unistd.h
119962+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include -fsigned-char /tmp/include/asm/unistd.h
119963 // Code generated by the command above; see README.md. DO NOT EDIT.
119964
119965 // +build arm64,linux
119966@@ -282,4 +282,22 @@ const (
119967 SYS_PKEY_MPROTECT = 288
119968 SYS_PKEY_ALLOC = 289
119969 SYS_PKEY_FREE = 290
119970+ SYS_STATX = 291
119971+ SYS_IO_PGETEVENTS = 292
119972+ SYS_RSEQ = 293
119973+ SYS_KEXEC_FILE_LOAD = 294
119974+ SYS_PIDFD_SEND_SIGNAL = 424
119975+ SYS_IO_URING_SETUP = 425
119976+ SYS_IO_URING_ENTER = 426
119977+ SYS_IO_URING_REGISTER = 427
119978+ SYS_OPEN_TREE = 428
119979+ SYS_MOVE_MOUNT = 429
119980+ SYS_FSOPEN = 430
119981+ SYS_FSCONFIG = 431
119982+ SYS_FSMOUNT = 432
119983+ SYS_FSPICK = 433
119984+ SYS_PIDFD_OPEN = 434
119985+ SYS_CLONE3 = 435
119986+ SYS_OPENAT2 = 437
119987+ SYS_PIDFD_GETFD = 438
119988 )
119989diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go
119990index 939567c0..68bb6d29 100644
119991--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go
119992+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go
119993@@ -1,4 +1,4 @@
119994-// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
119995+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
119996 // Code generated by the command above; see README.md. DO NOT EDIT.
119997
119998 // +build mips,linux
119999@@ -6,369 +6,416 @@
120000 package unix
120001
120002 const (
120003- SYS_SYSCALL = 4000
120004- SYS_EXIT = 4001
120005- SYS_FORK = 4002
120006- SYS_READ = 4003
120007- SYS_WRITE = 4004
120008- SYS_OPEN = 4005
120009- SYS_CLOSE = 4006
120010- SYS_WAITPID = 4007
120011- SYS_CREAT = 4008
120012- SYS_LINK = 4009
120013- SYS_UNLINK = 4010
120014- SYS_EXECVE = 4011
120015- SYS_CHDIR = 4012
120016- SYS_TIME = 4013
120017- SYS_MKNOD = 4014
120018- SYS_CHMOD = 4015
120019- SYS_LCHOWN = 4016
120020- SYS_BREAK = 4017
120021- SYS_UNUSED18 = 4018
120022- SYS_LSEEK = 4019
120023- SYS_GETPID = 4020
120024- SYS_MOUNT = 4021
120025- SYS_UMOUNT = 4022
120026- SYS_SETUID = 4023
120027- SYS_GETUID = 4024
120028- SYS_STIME = 4025
120029- SYS_PTRACE = 4026
120030- SYS_ALARM = 4027
120031- SYS_UNUSED28 = 4028
120032- SYS_PAUSE = 4029
120033- SYS_UTIME = 4030
120034- SYS_STTY = 4031
120035- SYS_GTTY = 4032
120036- SYS_ACCESS = 4033
120037- SYS_NICE = 4034
120038- SYS_FTIME = 4035
120039- SYS_SYNC = 4036
120040- SYS_KILL = 4037
120041- SYS_RENAME = 4038
120042- SYS_MKDIR = 4039
120043- SYS_RMDIR = 4040
120044- SYS_DUP = 4041
120045- SYS_PIPE = 4042
120046- SYS_TIMES = 4043
120047- SYS_PROF = 4044
120048- SYS_BRK = 4045
120049- SYS_SETGID = 4046
120050- SYS_GETGID = 4047
120051- SYS_SIGNAL = 4048
120052- SYS_GETEUID = 4049
120053- SYS_GETEGID = 4050
120054- SYS_ACCT = 4051
120055- SYS_UMOUNT2 = 4052
120056- SYS_LOCK = 4053
120057- SYS_IOCTL = 4054
120058- SYS_FCNTL = 4055
120059- SYS_MPX = 4056
120060- SYS_SETPGID = 4057
120061- SYS_ULIMIT = 4058
120062- SYS_UNUSED59 = 4059
120063- SYS_UMASK = 4060
120064- SYS_CHROOT = 4061
120065- SYS_USTAT = 4062
120066- SYS_DUP2 = 4063
120067- SYS_GETPPID = 4064
120068- SYS_GETPGRP = 4065
120069- SYS_SETSID = 4066
120070- SYS_SIGACTION = 4067
120071- SYS_SGETMASK = 4068
120072- SYS_SSETMASK = 4069
120073- SYS_SETREUID = 4070
120074- SYS_SETREGID = 4071
120075- SYS_SIGSUSPEND = 4072
120076- SYS_SIGPENDING = 4073
120077- SYS_SETHOSTNAME = 4074
120078- SYS_SETRLIMIT = 4075
120079- SYS_GETRLIMIT = 4076
120080- SYS_GETRUSAGE = 4077
120081- SYS_GETTIMEOFDAY = 4078
120082- SYS_SETTIMEOFDAY = 4079
120083- SYS_GETGROUPS = 4080
120084- SYS_SETGROUPS = 4081
120085- SYS_RESERVED82 = 4082
120086- SYS_SYMLINK = 4083
120087- SYS_UNUSED84 = 4084
120088- SYS_READLINK = 4085
120089- SYS_USELIB = 4086
120090- SYS_SWAPON = 4087
120091- SYS_REBOOT = 4088
120092- SYS_READDIR = 4089
120093- SYS_MMAP = 4090
120094- SYS_MUNMAP = 4091
120095- SYS_TRUNCATE = 4092
120096- SYS_FTRUNCATE = 4093
120097- SYS_FCHMOD = 4094
120098- SYS_FCHOWN = 4095
120099- SYS_GETPRIORITY = 4096
120100- SYS_SETPRIORITY = 4097
120101- SYS_PROFIL = 4098
120102- SYS_STATFS = 4099
120103- SYS_FSTATFS = 4100
120104- SYS_IOPERM = 4101
120105- SYS_SOCKETCALL = 4102
120106- SYS_SYSLOG = 4103
120107- SYS_SETITIMER = 4104
120108- SYS_GETITIMER = 4105
120109- SYS_STAT = 4106
120110- SYS_LSTAT = 4107
120111- SYS_FSTAT = 4108
120112- SYS_UNUSED109 = 4109
120113- SYS_IOPL = 4110
120114- SYS_VHANGUP = 4111
120115- SYS_IDLE = 4112
120116- SYS_VM86 = 4113
120117- SYS_WAIT4 = 4114
120118- SYS_SWAPOFF = 4115
120119- SYS_SYSINFO = 4116
120120- SYS_IPC = 4117
120121- SYS_FSYNC = 4118
120122- SYS_SIGRETURN = 4119
120123- SYS_CLONE = 4120
120124- SYS_SETDOMAINNAME = 4121
120125- SYS_UNAME = 4122
120126- SYS_MODIFY_LDT = 4123
120127- SYS_ADJTIMEX = 4124
120128- SYS_MPROTECT = 4125
120129- SYS_SIGPROCMASK = 4126
120130- SYS_CREATE_MODULE = 4127
120131- SYS_INIT_MODULE = 4128
120132- SYS_DELETE_MODULE = 4129
120133- SYS_GET_KERNEL_SYMS = 4130
120134- SYS_QUOTACTL = 4131
120135- SYS_GETPGID = 4132
120136- SYS_FCHDIR = 4133
120137- SYS_BDFLUSH = 4134
120138- SYS_SYSFS = 4135
120139- SYS_PERSONALITY = 4136
120140- SYS_AFS_SYSCALL = 4137
120141- SYS_SETFSUID = 4138
120142- SYS_SETFSGID = 4139
120143- SYS__LLSEEK = 4140
120144- SYS_GETDENTS = 4141
120145- SYS__NEWSELECT = 4142
120146- SYS_FLOCK = 4143
120147- SYS_MSYNC = 4144
120148- SYS_READV = 4145
120149- SYS_WRITEV = 4146
120150- SYS_CACHEFLUSH = 4147
120151- SYS_CACHECTL = 4148
120152- SYS_SYSMIPS = 4149
120153- SYS_UNUSED150 = 4150
120154- SYS_GETSID = 4151
120155- SYS_FDATASYNC = 4152
120156- SYS__SYSCTL = 4153
120157- SYS_MLOCK = 4154
120158- SYS_MUNLOCK = 4155
120159- SYS_MLOCKALL = 4156
120160- SYS_MUNLOCKALL = 4157
120161- SYS_SCHED_SETPARAM = 4158
120162- SYS_SCHED_GETPARAM = 4159
120163- SYS_SCHED_SETSCHEDULER = 4160
120164- SYS_SCHED_GETSCHEDULER = 4161
120165- SYS_SCHED_YIELD = 4162
120166- SYS_SCHED_GET_PRIORITY_MAX = 4163
120167- SYS_SCHED_GET_PRIORITY_MIN = 4164
120168- SYS_SCHED_RR_GET_INTERVAL = 4165
120169- SYS_NANOSLEEP = 4166
120170- SYS_MREMAP = 4167
120171- SYS_ACCEPT = 4168
120172- SYS_BIND = 4169
120173- SYS_CONNECT = 4170
120174- SYS_GETPEERNAME = 4171
120175- SYS_GETSOCKNAME = 4172
120176- SYS_GETSOCKOPT = 4173
120177- SYS_LISTEN = 4174
120178- SYS_RECV = 4175
120179- SYS_RECVFROM = 4176
120180- SYS_RECVMSG = 4177
120181- SYS_SEND = 4178
120182- SYS_SENDMSG = 4179
120183- SYS_SENDTO = 4180
120184- SYS_SETSOCKOPT = 4181
120185- SYS_SHUTDOWN = 4182
120186- SYS_SOCKET = 4183
120187- SYS_SOCKETPAIR = 4184
120188- SYS_SETRESUID = 4185
120189- SYS_GETRESUID = 4186
120190- SYS_QUERY_MODULE = 4187
120191- SYS_POLL = 4188
120192- SYS_NFSSERVCTL = 4189
120193- SYS_SETRESGID = 4190
120194- SYS_GETRESGID = 4191
120195- SYS_PRCTL = 4192
120196- SYS_RT_SIGRETURN = 4193
120197- SYS_RT_SIGACTION = 4194
120198- SYS_RT_SIGPROCMASK = 4195
120199- SYS_RT_SIGPENDING = 4196
120200- SYS_RT_SIGTIMEDWAIT = 4197
120201- SYS_RT_SIGQUEUEINFO = 4198
120202- SYS_RT_SIGSUSPEND = 4199
120203- SYS_PREAD64 = 4200
120204- SYS_PWRITE64 = 4201
120205- SYS_CHOWN = 4202
120206- SYS_GETCWD = 4203
120207- SYS_CAPGET = 4204
120208- SYS_CAPSET = 4205
120209- SYS_SIGALTSTACK = 4206
120210- SYS_SENDFILE = 4207
120211- SYS_GETPMSG = 4208
120212- SYS_PUTPMSG = 4209
120213- SYS_MMAP2 = 4210
120214- SYS_TRUNCATE64 = 4211
120215- SYS_FTRUNCATE64 = 4212
120216- SYS_STAT64 = 4213
120217- SYS_LSTAT64 = 4214
120218- SYS_FSTAT64 = 4215
120219- SYS_PIVOT_ROOT = 4216
120220- SYS_MINCORE = 4217
120221- SYS_MADVISE = 4218
120222- SYS_GETDENTS64 = 4219
120223- SYS_FCNTL64 = 4220
120224- SYS_RESERVED221 = 4221
120225- SYS_GETTID = 4222
120226- SYS_READAHEAD = 4223
120227- SYS_SETXATTR = 4224
120228- SYS_LSETXATTR = 4225
120229- SYS_FSETXATTR = 4226
120230- SYS_GETXATTR = 4227
120231- SYS_LGETXATTR = 4228
120232- SYS_FGETXATTR = 4229
120233- SYS_LISTXATTR = 4230
120234- SYS_LLISTXATTR = 4231
120235- SYS_FLISTXATTR = 4232
120236- SYS_REMOVEXATTR = 4233
120237- SYS_LREMOVEXATTR = 4234
120238- SYS_FREMOVEXATTR = 4235
120239- SYS_TKILL = 4236
120240- SYS_SENDFILE64 = 4237
120241- SYS_FUTEX = 4238
120242- SYS_SCHED_SETAFFINITY = 4239
120243- SYS_SCHED_GETAFFINITY = 4240
120244- SYS_IO_SETUP = 4241
120245- SYS_IO_DESTROY = 4242
120246- SYS_IO_GETEVENTS = 4243
120247- SYS_IO_SUBMIT = 4244
120248- SYS_IO_CANCEL = 4245
120249- SYS_EXIT_GROUP = 4246
120250- SYS_LOOKUP_DCOOKIE = 4247
120251- SYS_EPOLL_CREATE = 4248
120252- SYS_EPOLL_CTL = 4249
120253- SYS_EPOLL_WAIT = 4250
120254- SYS_REMAP_FILE_PAGES = 4251
120255- SYS_SET_TID_ADDRESS = 4252
120256- SYS_RESTART_SYSCALL = 4253
120257- SYS_FADVISE64 = 4254
120258- SYS_STATFS64 = 4255
120259- SYS_FSTATFS64 = 4256
120260- SYS_TIMER_CREATE = 4257
120261- SYS_TIMER_SETTIME = 4258
120262- SYS_TIMER_GETTIME = 4259
120263- SYS_TIMER_GETOVERRUN = 4260
120264- SYS_TIMER_DELETE = 4261
120265- SYS_CLOCK_SETTIME = 4262
120266- SYS_CLOCK_GETTIME = 4263
120267- SYS_CLOCK_GETRES = 4264
120268- SYS_CLOCK_NANOSLEEP = 4265
120269- SYS_TGKILL = 4266
120270- SYS_UTIMES = 4267
120271- SYS_MBIND = 4268
120272- SYS_GET_MEMPOLICY = 4269
120273- SYS_SET_MEMPOLICY = 4270
120274- SYS_MQ_OPEN = 4271
120275- SYS_MQ_UNLINK = 4272
120276- SYS_MQ_TIMEDSEND = 4273
120277- SYS_MQ_TIMEDRECEIVE = 4274
120278- SYS_MQ_NOTIFY = 4275
120279- SYS_MQ_GETSETATTR = 4276
120280- SYS_VSERVER = 4277
120281- SYS_WAITID = 4278
120282- SYS_ADD_KEY = 4280
120283- SYS_REQUEST_KEY = 4281
120284- SYS_KEYCTL = 4282
120285- SYS_SET_THREAD_AREA = 4283
120286- SYS_INOTIFY_INIT = 4284
120287- SYS_INOTIFY_ADD_WATCH = 4285
120288- SYS_INOTIFY_RM_WATCH = 4286
120289- SYS_MIGRATE_PAGES = 4287
120290- SYS_OPENAT = 4288
120291- SYS_MKDIRAT = 4289
120292- SYS_MKNODAT = 4290
120293- SYS_FCHOWNAT = 4291
120294- SYS_FUTIMESAT = 4292
120295- SYS_FSTATAT64 = 4293
120296- SYS_UNLINKAT = 4294
120297- SYS_RENAMEAT = 4295
120298- SYS_LINKAT = 4296
120299- SYS_SYMLINKAT = 4297
120300- SYS_READLINKAT = 4298
120301- SYS_FCHMODAT = 4299
120302- SYS_FACCESSAT = 4300
120303- SYS_PSELECT6 = 4301
120304- SYS_PPOLL = 4302
120305- SYS_UNSHARE = 4303
120306- SYS_SPLICE = 4304
120307- SYS_SYNC_FILE_RANGE = 4305
120308- SYS_TEE = 4306
120309- SYS_VMSPLICE = 4307
120310- SYS_MOVE_PAGES = 4308
120311- SYS_SET_ROBUST_LIST = 4309
120312- SYS_GET_ROBUST_LIST = 4310
120313- SYS_KEXEC_LOAD = 4311
120314- SYS_GETCPU = 4312
120315- SYS_EPOLL_PWAIT = 4313
120316- SYS_IOPRIO_SET = 4314
120317- SYS_IOPRIO_GET = 4315
120318- SYS_UTIMENSAT = 4316
120319- SYS_SIGNALFD = 4317
120320- SYS_TIMERFD = 4318
120321- SYS_EVENTFD = 4319
120322- SYS_FALLOCATE = 4320
120323- SYS_TIMERFD_CREATE = 4321
120324- SYS_TIMERFD_GETTIME = 4322
120325- SYS_TIMERFD_SETTIME = 4323
120326- SYS_SIGNALFD4 = 4324
120327- SYS_EVENTFD2 = 4325
120328- SYS_EPOLL_CREATE1 = 4326
120329- SYS_DUP3 = 4327
120330- SYS_PIPE2 = 4328
120331- SYS_INOTIFY_INIT1 = 4329
120332- SYS_PREADV = 4330
120333- SYS_PWRITEV = 4331
120334- SYS_RT_TGSIGQUEUEINFO = 4332
120335- SYS_PERF_EVENT_OPEN = 4333
120336- SYS_ACCEPT4 = 4334
120337- SYS_RECVMMSG = 4335
120338- SYS_FANOTIFY_INIT = 4336
120339- SYS_FANOTIFY_MARK = 4337
120340- SYS_PRLIMIT64 = 4338
120341- SYS_NAME_TO_HANDLE_AT = 4339
120342- SYS_OPEN_BY_HANDLE_AT = 4340
120343- SYS_CLOCK_ADJTIME = 4341
120344- SYS_SYNCFS = 4342
120345- SYS_SENDMMSG = 4343
120346- SYS_SETNS = 4344
120347- SYS_PROCESS_VM_READV = 4345
120348- SYS_PROCESS_VM_WRITEV = 4346
120349- SYS_KCMP = 4347
120350- SYS_FINIT_MODULE = 4348
120351- SYS_SCHED_SETATTR = 4349
120352- SYS_SCHED_GETATTR = 4350
120353- SYS_RENAMEAT2 = 4351
120354- SYS_SECCOMP = 4352
120355- SYS_GETRANDOM = 4353
120356- SYS_MEMFD_CREATE = 4354
120357- SYS_BPF = 4355
120358- SYS_EXECVEAT = 4356
120359- SYS_USERFAULTFD = 4357
120360- SYS_MEMBARRIER = 4358
120361- SYS_MLOCK2 = 4359
120362- SYS_COPY_FILE_RANGE = 4360
120363- SYS_PREADV2 = 4361
120364- SYS_PWRITEV2 = 4362
120365- SYS_PKEY_MPROTECT = 4363
120366- SYS_PKEY_ALLOC = 4364
120367- SYS_PKEY_FREE = 4365
120368+ SYS_SYSCALL = 4000
120369+ SYS_EXIT = 4001
120370+ SYS_FORK = 4002
120371+ SYS_READ = 4003
120372+ SYS_WRITE = 4004
120373+ SYS_OPEN = 4005
120374+ SYS_CLOSE = 4006
120375+ SYS_WAITPID = 4007
120376+ SYS_CREAT = 4008
120377+ SYS_LINK = 4009
120378+ SYS_UNLINK = 4010
120379+ SYS_EXECVE = 4011
120380+ SYS_CHDIR = 4012
120381+ SYS_TIME = 4013
120382+ SYS_MKNOD = 4014
120383+ SYS_CHMOD = 4015
120384+ SYS_LCHOWN = 4016
120385+ SYS_BREAK = 4017
120386+ SYS_UNUSED18 = 4018
120387+ SYS_LSEEK = 4019
120388+ SYS_GETPID = 4020
120389+ SYS_MOUNT = 4021
120390+ SYS_UMOUNT = 4022
120391+ SYS_SETUID = 4023
120392+ SYS_GETUID = 4024
120393+ SYS_STIME = 4025
120394+ SYS_PTRACE = 4026
120395+ SYS_ALARM = 4027
120396+ SYS_UNUSED28 = 4028
120397+ SYS_PAUSE = 4029
120398+ SYS_UTIME = 4030
120399+ SYS_STTY = 4031
120400+ SYS_GTTY = 4032
120401+ SYS_ACCESS = 4033
120402+ SYS_NICE = 4034
120403+ SYS_FTIME = 4035
120404+ SYS_SYNC = 4036
120405+ SYS_KILL = 4037
120406+ SYS_RENAME = 4038
120407+ SYS_MKDIR = 4039
120408+ SYS_RMDIR = 4040
120409+ SYS_DUP = 4041
120410+ SYS_PIPE = 4042
120411+ SYS_TIMES = 4043
120412+ SYS_PROF = 4044
120413+ SYS_BRK = 4045
120414+ SYS_SETGID = 4046
120415+ SYS_GETGID = 4047
120416+ SYS_SIGNAL = 4048
120417+ SYS_GETEUID = 4049
120418+ SYS_GETEGID = 4050
120419+ SYS_ACCT = 4051
120420+ SYS_UMOUNT2 = 4052
120421+ SYS_LOCK = 4053
120422+ SYS_IOCTL = 4054
120423+ SYS_FCNTL = 4055
120424+ SYS_MPX = 4056
120425+ SYS_SETPGID = 4057
120426+ SYS_ULIMIT = 4058
120427+ SYS_UNUSED59 = 4059
120428+ SYS_UMASK = 4060
120429+ SYS_CHROOT = 4061
120430+ SYS_USTAT = 4062
120431+ SYS_DUP2 = 4063
120432+ SYS_GETPPID = 4064
120433+ SYS_GETPGRP = 4065
120434+ SYS_SETSID = 4066
120435+ SYS_SIGACTION = 4067
120436+ SYS_SGETMASK = 4068
120437+ SYS_SSETMASK = 4069
120438+ SYS_SETREUID = 4070
120439+ SYS_SETREGID = 4071
120440+ SYS_SIGSUSPEND = 4072
120441+ SYS_SIGPENDING = 4073
120442+ SYS_SETHOSTNAME = 4074
120443+ SYS_SETRLIMIT = 4075
120444+ SYS_GETRLIMIT = 4076
120445+ SYS_GETRUSAGE = 4077
120446+ SYS_GETTIMEOFDAY = 4078
120447+ SYS_SETTIMEOFDAY = 4079
120448+ SYS_GETGROUPS = 4080
120449+ SYS_SETGROUPS = 4081
120450+ SYS_RESERVED82 = 4082
120451+ SYS_SYMLINK = 4083
120452+ SYS_UNUSED84 = 4084
120453+ SYS_READLINK = 4085
120454+ SYS_USELIB = 4086
120455+ SYS_SWAPON = 4087
120456+ SYS_REBOOT = 4088
120457+ SYS_READDIR = 4089
120458+ SYS_MMAP = 4090
120459+ SYS_MUNMAP = 4091
120460+ SYS_TRUNCATE = 4092
120461+ SYS_FTRUNCATE = 4093
120462+ SYS_FCHMOD = 4094
120463+ SYS_FCHOWN = 4095
120464+ SYS_GETPRIORITY = 4096
120465+ SYS_SETPRIORITY = 4097
120466+ SYS_PROFIL = 4098
120467+ SYS_STATFS = 4099
120468+ SYS_FSTATFS = 4100
120469+ SYS_IOPERM = 4101
120470+ SYS_SOCKETCALL = 4102
120471+ SYS_SYSLOG = 4103
120472+ SYS_SETITIMER = 4104
120473+ SYS_GETITIMER = 4105
120474+ SYS_STAT = 4106
120475+ SYS_LSTAT = 4107
120476+ SYS_FSTAT = 4108
120477+ SYS_UNUSED109 = 4109
120478+ SYS_IOPL = 4110
120479+ SYS_VHANGUP = 4111
120480+ SYS_IDLE = 4112
120481+ SYS_VM86 = 4113
120482+ SYS_WAIT4 = 4114
120483+ SYS_SWAPOFF = 4115
120484+ SYS_SYSINFO = 4116
120485+ SYS_IPC = 4117
120486+ SYS_FSYNC = 4118
120487+ SYS_SIGRETURN = 4119
120488+ SYS_CLONE = 4120
120489+ SYS_SETDOMAINNAME = 4121
120490+ SYS_UNAME = 4122
120491+ SYS_MODIFY_LDT = 4123
120492+ SYS_ADJTIMEX = 4124
120493+ SYS_MPROTECT = 4125
120494+ SYS_SIGPROCMASK = 4126
120495+ SYS_CREATE_MODULE = 4127
120496+ SYS_INIT_MODULE = 4128
120497+ SYS_DELETE_MODULE = 4129
120498+ SYS_GET_KERNEL_SYMS = 4130
120499+ SYS_QUOTACTL = 4131
120500+ SYS_GETPGID = 4132
120501+ SYS_FCHDIR = 4133
120502+ SYS_BDFLUSH = 4134
120503+ SYS_SYSFS = 4135
120504+ SYS_PERSONALITY = 4136
120505+ SYS_AFS_SYSCALL = 4137
120506+ SYS_SETFSUID = 4138
120507+ SYS_SETFSGID = 4139
120508+ SYS__LLSEEK = 4140
120509+ SYS_GETDENTS = 4141
120510+ SYS__NEWSELECT = 4142
120511+ SYS_FLOCK = 4143
120512+ SYS_MSYNC = 4144
120513+ SYS_READV = 4145
120514+ SYS_WRITEV = 4146
120515+ SYS_CACHEFLUSH = 4147
120516+ SYS_CACHECTL = 4148
120517+ SYS_SYSMIPS = 4149
120518+ SYS_UNUSED150 = 4150
120519+ SYS_GETSID = 4151
120520+ SYS_FDATASYNC = 4152
120521+ SYS__SYSCTL = 4153
120522+ SYS_MLOCK = 4154
120523+ SYS_MUNLOCK = 4155
120524+ SYS_MLOCKALL = 4156
120525+ SYS_MUNLOCKALL = 4157
120526+ SYS_SCHED_SETPARAM = 4158
120527+ SYS_SCHED_GETPARAM = 4159
120528+ SYS_SCHED_SETSCHEDULER = 4160
120529+ SYS_SCHED_GETSCHEDULER = 4161
120530+ SYS_SCHED_YIELD = 4162
120531+ SYS_SCHED_GET_PRIORITY_MAX = 4163
120532+ SYS_SCHED_GET_PRIORITY_MIN = 4164
120533+ SYS_SCHED_RR_GET_INTERVAL = 4165
120534+ SYS_NANOSLEEP = 4166
120535+ SYS_MREMAP = 4167
120536+ SYS_ACCEPT = 4168
120537+ SYS_BIND = 4169
120538+ SYS_CONNECT = 4170
120539+ SYS_GETPEERNAME = 4171
120540+ SYS_GETSOCKNAME = 4172
120541+ SYS_GETSOCKOPT = 4173
120542+ SYS_LISTEN = 4174
120543+ SYS_RECV = 4175
120544+ SYS_RECVFROM = 4176
120545+ SYS_RECVMSG = 4177
120546+ SYS_SEND = 4178
120547+ SYS_SENDMSG = 4179
120548+ SYS_SENDTO = 4180
120549+ SYS_SETSOCKOPT = 4181
120550+ SYS_SHUTDOWN = 4182
120551+ SYS_SOCKET = 4183
120552+ SYS_SOCKETPAIR = 4184
120553+ SYS_SETRESUID = 4185
120554+ SYS_GETRESUID = 4186
120555+ SYS_QUERY_MODULE = 4187
120556+ SYS_POLL = 4188
120557+ SYS_NFSSERVCTL = 4189
120558+ SYS_SETRESGID = 4190
120559+ SYS_GETRESGID = 4191
120560+ SYS_PRCTL = 4192
120561+ SYS_RT_SIGRETURN = 4193
120562+ SYS_RT_SIGACTION = 4194
120563+ SYS_RT_SIGPROCMASK = 4195
120564+ SYS_RT_SIGPENDING = 4196
120565+ SYS_RT_SIGTIMEDWAIT = 4197
120566+ SYS_RT_SIGQUEUEINFO = 4198
120567+ SYS_RT_SIGSUSPEND = 4199
120568+ SYS_PREAD64 = 4200
120569+ SYS_PWRITE64 = 4201
120570+ SYS_CHOWN = 4202
120571+ SYS_GETCWD = 4203
120572+ SYS_CAPGET = 4204
120573+ SYS_CAPSET = 4205
120574+ SYS_SIGALTSTACK = 4206
120575+ SYS_SENDFILE = 4207
120576+ SYS_GETPMSG = 4208
120577+ SYS_PUTPMSG = 4209
120578+ SYS_MMAP2 = 4210
120579+ SYS_TRUNCATE64 = 4211
120580+ SYS_FTRUNCATE64 = 4212
120581+ SYS_STAT64 = 4213
120582+ SYS_LSTAT64 = 4214
120583+ SYS_FSTAT64 = 4215
120584+ SYS_PIVOT_ROOT = 4216
120585+ SYS_MINCORE = 4217
120586+ SYS_MADVISE = 4218
120587+ SYS_GETDENTS64 = 4219
120588+ SYS_FCNTL64 = 4220
120589+ SYS_RESERVED221 = 4221
120590+ SYS_GETTID = 4222
120591+ SYS_READAHEAD = 4223
120592+ SYS_SETXATTR = 4224
120593+ SYS_LSETXATTR = 4225
120594+ SYS_FSETXATTR = 4226
120595+ SYS_GETXATTR = 4227
120596+ SYS_LGETXATTR = 4228
120597+ SYS_FGETXATTR = 4229
120598+ SYS_LISTXATTR = 4230
120599+ SYS_LLISTXATTR = 4231
120600+ SYS_FLISTXATTR = 4232
120601+ SYS_REMOVEXATTR = 4233
120602+ SYS_LREMOVEXATTR = 4234
120603+ SYS_FREMOVEXATTR = 4235
120604+ SYS_TKILL = 4236
120605+ SYS_SENDFILE64 = 4237
120606+ SYS_FUTEX = 4238
120607+ SYS_SCHED_SETAFFINITY = 4239
120608+ SYS_SCHED_GETAFFINITY = 4240
120609+ SYS_IO_SETUP = 4241
120610+ SYS_IO_DESTROY = 4242
120611+ SYS_IO_GETEVENTS = 4243
120612+ SYS_IO_SUBMIT = 4244
120613+ SYS_IO_CANCEL = 4245
120614+ SYS_EXIT_GROUP = 4246
120615+ SYS_LOOKUP_DCOOKIE = 4247
120616+ SYS_EPOLL_CREATE = 4248
120617+ SYS_EPOLL_CTL = 4249
120618+ SYS_EPOLL_WAIT = 4250
120619+ SYS_REMAP_FILE_PAGES = 4251
120620+ SYS_SET_TID_ADDRESS = 4252
120621+ SYS_RESTART_SYSCALL = 4253
120622+ SYS_FADVISE64 = 4254
120623+ SYS_STATFS64 = 4255
120624+ SYS_FSTATFS64 = 4256
120625+ SYS_TIMER_CREATE = 4257
120626+ SYS_TIMER_SETTIME = 4258
120627+ SYS_TIMER_GETTIME = 4259
120628+ SYS_TIMER_GETOVERRUN = 4260
120629+ SYS_TIMER_DELETE = 4261
120630+ SYS_CLOCK_SETTIME = 4262
120631+ SYS_CLOCK_GETTIME = 4263
120632+ SYS_CLOCK_GETRES = 4264
120633+ SYS_CLOCK_NANOSLEEP = 4265
120634+ SYS_TGKILL = 4266
120635+ SYS_UTIMES = 4267
120636+ SYS_MBIND = 4268
120637+ SYS_GET_MEMPOLICY = 4269
120638+ SYS_SET_MEMPOLICY = 4270
120639+ SYS_MQ_OPEN = 4271
120640+ SYS_MQ_UNLINK = 4272
120641+ SYS_MQ_TIMEDSEND = 4273
120642+ SYS_MQ_TIMEDRECEIVE = 4274
120643+ SYS_MQ_NOTIFY = 4275
120644+ SYS_MQ_GETSETATTR = 4276
120645+ SYS_VSERVER = 4277
120646+ SYS_WAITID = 4278
120647+ SYS_ADD_KEY = 4280
120648+ SYS_REQUEST_KEY = 4281
120649+ SYS_KEYCTL = 4282
120650+ SYS_SET_THREAD_AREA = 4283
120651+ SYS_INOTIFY_INIT = 4284
120652+ SYS_INOTIFY_ADD_WATCH = 4285
120653+ SYS_INOTIFY_RM_WATCH = 4286
120654+ SYS_MIGRATE_PAGES = 4287
120655+ SYS_OPENAT = 4288
120656+ SYS_MKDIRAT = 4289
120657+ SYS_MKNODAT = 4290
120658+ SYS_FCHOWNAT = 4291
120659+ SYS_FUTIMESAT = 4292
120660+ SYS_FSTATAT64 = 4293
120661+ SYS_UNLINKAT = 4294
120662+ SYS_RENAMEAT = 4295
120663+ SYS_LINKAT = 4296
120664+ SYS_SYMLINKAT = 4297
120665+ SYS_READLINKAT = 4298
120666+ SYS_FCHMODAT = 4299
120667+ SYS_FACCESSAT = 4300
120668+ SYS_PSELECT6 = 4301
120669+ SYS_PPOLL = 4302
120670+ SYS_UNSHARE = 4303
120671+ SYS_SPLICE = 4304
120672+ SYS_SYNC_FILE_RANGE = 4305
120673+ SYS_TEE = 4306
120674+ SYS_VMSPLICE = 4307
120675+ SYS_MOVE_PAGES = 4308
120676+ SYS_SET_ROBUST_LIST = 4309
120677+ SYS_GET_ROBUST_LIST = 4310
120678+ SYS_KEXEC_LOAD = 4311
120679+ SYS_GETCPU = 4312
120680+ SYS_EPOLL_PWAIT = 4313
120681+ SYS_IOPRIO_SET = 4314
120682+ SYS_IOPRIO_GET = 4315
120683+ SYS_UTIMENSAT = 4316
120684+ SYS_SIGNALFD = 4317
120685+ SYS_TIMERFD = 4318
120686+ SYS_EVENTFD = 4319
120687+ SYS_FALLOCATE = 4320
120688+ SYS_TIMERFD_CREATE = 4321
120689+ SYS_TIMERFD_GETTIME = 4322
120690+ SYS_TIMERFD_SETTIME = 4323
120691+ SYS_SIGNALFD4 = 4324
120692+ SYS_EVENTFD2 = 4325
120693+ SYS_EPOLL_CREATE1 = 4326
120694+ SYS_DUP3 = 4327
120695+ SYS_PIPE2 = 4328
120696+ SYS_INOTIFY_INIT1 = 4329
120697+ SYS_PREADV = 4330
120698+ SYS_PWRITEV = 4331
120699+ SYS_RT_TGSIGQUEUEINFO = 4332
120700+ SYS_PERF_EVENT_OPEN = 4333
120701+ SYS_ACCEPT4 = 4334
120702+ SYS_RECVMMSG = 4335
120703+ SYS_FANOTIFY_INIT = 4336
120704+ SYS_FANOTIFY_MARK = 4337
120705+ SYS_PRLIMIT64 = 4338
120706+ SYS_NAME_TO_HANDLE_AT = 4339
120707+ SYS_OPEN_BY_HANDLE_AT = 4340
120708+ SYS_CLOCK_ADJTIME = 4341
120709+ SYS_SYNCFS = 4342
120710+ SYS_SENDMMSG = 4343
120711+ SYS_SETNS = 4344
120712+ SYS_PROCESS_VM_READV = 4345
120713+ SYS_PROCESS_VM_WRITEV = 4346
120714+ SYS_KCMP = 4347
120715+ SYS_FINIT_MODULE = 4348
120716+ SYS_SCHED_SETATTR = 4349
120717+ SYS_SCHED_GETATTR = 4350
120718+ SYS_RENAMEAT2 = 4351
120719+ SYS_SECCOMP = 4352
120720+ SYS_GETRANDOM = 4353
120721+ SYS_MEMFD_CREATE = 4354
120722+ SYS_BPF = 4355
120723+ SYS_EXECVEAT = 4356
120724+ SYS_USERFAULTFD = 4357
120725+ SYS_MEMBARRIER = 4358
120726+ SYS_MLOCK2 = 4359
120727+ SYS_COPY_FILE_RANGE = 4360
120728+ SYS_PREADV2 = 4361
120729+ SYS_PWRITEV2 = 4362
120730+ SYS_PKEY_MPROTECT = 4363
120731+ SYS_PKEY_ALLOC = 4364
120732+ SYS_PKEY_FREE = 4365
120733+ SYS_STATX = 4366
120734+ SYS_RSEQ = 4367
120735+ SYS_IO_PGETEVENTS = 4368
120736+ SYS_SEMGET = 4393
120737+ SYS_SEMCTL = 4394
120738+ SYS_SHMGET = 4395
120739+ SYS_SHMCTL = 4396
120740+ SYS_SHMAT = 4397
120741+ SYS_SHMDT = 4398
120742+ SYS_MSGGET = 4399
120743+ SYS_MSGSND = 4400
120744+ SYS_MSGRCV = 4401
120745+ SYS_MSGCTL = 4402
120746+ SYS_CLOCK_GETTIME64 = 4403
120747+ SYS_CLOCK_SETTIME64 = 4404
120748+ SYS_CLOCK_ADJTIME64 = 4405
120749+ SYS_CLOCK_GETRES_TIME64 = 4406
120750+ SYS_CLOCK_NANOSLEEP_TIME64 = 4407
120751+ SYS_TIMER_GETTIME64 = 4408
120752+ SYS_TIMER_SETTIME64 = 4409
120753+ SYS_TIMERFD_GETTIME64 = 4410
120754+ SYS_TIMERFD_SETTIME64 = 4411
120755+ SYS_UTIMENSAT_TIME64 = 4412
120756+ SYS_PSELECT6_TIME64 = 4413
120757+ SYS_PPOLL_TIME64 = 4414
120758+ SYS_IO_PGETEVENTS_TIME64 = 4416
120759+ SYS_RECVMMSG_TIME64 = 4417
120760+ SYS_MQ_TIMEDSEND_TIME64 = 4418
120761+ SYS_MQ_TIMEDRECEIVE_TIME64 = 4419
120762+ SYS_SEMTIMEDOP_TIME64 = 4420
120763+ SYS_RT_SIGTIMEDWAIT_TIME64 = 4421
120764+ SYS_FUTEX_TIME64 = 4422
120765+ SYS_SCHED_RR_GET_INTERVAL_TIME64 = 4423
120766+ SYS_PIDFD_SEND_SIGNAL = 4424
120767+ SYS_IO_URING_SETUP = 4425
120768+ SYS_IO_URING_ENTER = 4426
120769+ SYS_IO_URING_REGISTER = 4427
120770+ SYS_OPEN_TREE = 4428
120771+ SYS_MOVE_MOUNT = 4429
120772+ SYS_FSOPEN = 4430
120773+ SYS_FSCONFIG = 4431
120774+ SYS_FSMOUNT = 4432
120775+ SYS_FSPICK = 4433
120776+ SYS_PIDFD_OPEN = 4434
120777+ SYS_CLONE3 = 4435
120778+ SYS_OPENAT2 = 4437
120779+ SYS_PIDFD_GETFD = 4438
120780 )
120781diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go
120782index 09db9596..4e525118 100644
120783--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go
120784+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go
120785@@ -1,4 +1,4 @@
120786-// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
120787+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
120788 // Code generated by the command above; see README.md. DO NOT EDIT.
120789
120790 // +build mips64,linux
120791@@ -331,4 +331,21 @@ const (
120792 SYS_PKEY_MPROTECT = 5323
120793 SYS_PKEY_ALLOC = 5324
120794 SYS_PKEY_FREE = 5325
120795+ SYS_STATX = 5326
120796+ SYS_RSEQ = 5327
120797+ SYS_IO_PGETEVENTS = 5328
120798+ SYS_PIDFD_SEND_SIGNAL = 5424
120799+ SYS_IO_URING_SETUP = 5425
120800+ SYS_IO_URING_ENTER = 5426
120801+ SYS_IO_URING_REGISTER = 5427
120802+ SYS_OPEN_TREE = 5428
120803+ SYS_MOVE_MOUNT = 5429
120804+ SYS_FSOPEN = 5430
120805+ SYS_FSCONFIG = 5431
120806+ SYS_FSMOUNT = 5432
120807+ SYS_FSPICK = 5433
120808+ SYS_PIDFD_OPEN = 5434
120809+ SYS_CLONE3 = 5435
120810+ SYS_OPENAT2 = 5437
120811+ SYS_PIDFD_GETFD = 5438
120812 )
120813diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go
120814index d1b872a0..4d9aa300 100644
120815--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go
120816+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go
120817@@ -1,4 +1,4 @@
120818-// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
120819+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
120820 // Code generated by the command above; see README.md. DO NOT EDIT.
120821
120822 // +build mips64le,linux
120823@@ -331,4 +331,21 @@ const (
120824 SYS_PKEY_MPROTECT = 5323
120825 SYS_PKEY_ALLOC = 5324
120826 SYS_PKEY_FREE = 5325
120827+ SYS_STATX = 5326
120828+ SYS_RSEQ = 5327
120829+ SYS_IO_PGETEVENTS = 5328
120830+ SYS_PIDFD_SEND_SIGNAL = 5424
120831+ SYS_IO_URING_SETUP = 5425
120832+ SYS_IO_URING_ENTER = 5426
120833+ SYS_IO_URING_REGISTER = 5427
120834+ SYS_OPEN_TREE = 5428
120835+ SYS_MOVE_MOUNT = 5429
120836+ SYS_FSOPEN = 5430
120837+ SYS_FSCONFIG = 5431
120838+ SYS_FSMOUNT = 5432
120839+ SYS_FSPICK = 5433
120840+ SYS_PIDFD_OPEN = 5434
120841+ SYS_CLONE3 = 5435
120842+ SYS_OPENAT2 = 5437
120843+ SYS_PIDFD_GETFD = 5438
120844 )
120845diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go
120846index 82ba20f2..64af0707 100644
120847--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go
120848+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go
120849@@ -1,4 +1,4 @@
120850-// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
120851+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
120852 // Code generated by the command above; see README.md. DO NOT EDIT.
120853
120854 // +build mipsle,linux
120855@@ -6,369 +6,416 @@
120856 package unix
120857
120858 const (
120859- SYS_SYSCALL = 4000
120860- SYS_EXIT = 4001
120861- SYS_FORK = 4002
120862- SYS_READ = 4003
120863- SYS_WRITE = 4004
120864- SYS_OPEN = 4005
120865- SYS_CLOSE = 4006
120866- SYS_WAITPID = 4007
120867- SYS_CREAT = 4008
120868- SYS_LINK = 4009
120869- SYS_UNLINK = 4010
120870- SYS_EXECVE = 4011
120871- SYS_CHDIR = 4012
120872- SYS_TIME = 4013
120873- SYS_MKNOD = 4014
120874- SYS_CHMOD = 4015
120875- SYS_LCHOWN = 4016
120876- SYS_BREAK = 4017
120877- SYS_UNUSED18 = 4018
120878- SYS_LSEEK = 4019
120879- SYS_GETPID = 4020
120880- SYS_MOUNT = 4021
120881- SYS_UMOUNT = 4022
120882- SYS_SETUID = 4023
120883- SYS_GETUID = 4024
120884- SYS_STIME = 4025
120885- SYS_PTRACE = 4026
120886- SYS_ALARM = 4027
120887- SYS_UNUSED28 = 4028
120888- SYS_PAUSE = 4029
120889- SYS_UTIME = 4030
120890- SYS_STTY = 4031
120891- SYS_GTTY = 4032
120892- SYS_ACCESS = 4033
120893- SYS_NICE = 4034
120894- SYS_FTIME = 4035
120895- SYS_SYNC = 4036
120896- SYS_KILL = 4037
120897- SYS_RENAME = 4038
120898- SYS_MKDIR = 4039
120899- SYS_RMDIR = 4040
120900- SYS_DUP = 4041
120901- SYS_PIPE = 4042
120902- SYS_TIMES = 4043
120903- SYS_PROF = 4044
120904- SYS_BRK = 4045
120905- SYS_SETGID = 4046
120906- SYS_GETGID = 4047
120907- SYS_SIGNAL = 4048
120908- SYS_GETEUID = 4049
120909- SYS_GETEGID = 4050
120910- SYS_ACCT = 4051
120911- SYS_UMOUNT2 = 4052
120912- SYS_LOCK = 4053
120913- SYS_IOCTL = 4054
120914- SYS_FCNTL = 4055
120915- SYS_MPX = 4056
120916- SYS_SETPGID = 4057
120917- SYS_ULIMIT = 4058
120918- SYS_UNUSED59 = 4059
120919- SYS_UMASK = 4060
120920- SYS_CHROOT = 4061
120921- SYS_USTAT = 4062
120922- SYS_DUP2 = 4063
120923- SYS_GETPPID = 4064
120924- SYS_GETPGRP = 4065
120925- SYS_SETSID = 4066
120926- SYS_SIGACTION = 4067
120927- SYS_SGETMASK = 4068
120928- SYS_SSETMASK = 4069
120929- SYS_SETREUID = 4070
120930- SYS_SETREGID = 4071
120931- SYS_SIGSUSPEND = 4072
120932- SYS_SIGPENDING = 4073
120933- SYS_SETHOSTNAME = 4074
120934- SYS_SETRLIMIT = 4075
120935- SYS_GETRLIMIT = 4076
120936- SYS_GETRUSAGE = 4077
120937- SYS_GETTIMEOFDAY = 4078
120938- SYS_SETTIMEOFDAY = 4079
120939- SYS_GETGROUPS = 4080
120940- SYS_SETGROUPS = 4081
120941- SYS_RESERVED82 = 4082
120942- SYS_SYMLINK = 4083
120943- SYS_UNUSED84 = 4084
120944- SYS_READLINK = 4085
120945- SYS_USELIB = 4086
120946- SYS_SWAPON = 4087
120947- SYS_REBOOT = 4088
120948- SYS_READDIR = 4089
120949- SYS_MMAP = 4090
120950- SYS_MUNMAP = 4091
120951- SYS_TRUNCATE = 4092
120952- SYS_FTRUNCATE = 4093
120953- SYS_FCHMOD = 4094
120954- SYS_FCHOWN = 4095
120955- SYS_GETPRIORITY = 4096
120956- SYS_SETPRIORITY = 4097
120957- SYS_PROFIL = 4098
120958- SYS_STATFS = 4099
120959- SYS_FSTATFS = 4100
120960- SYS_IOPERM = 4101
120961- SYS_SOCKETCALL = 4102
120962- SYS_SYSLOG = 4103
120963- SYS_SETITIMER = 4104
120964- SYS_GETITIMER = 4105
120965- SYS_STAT = 4106
120966- SYS_LSTAT = 4107
120967- SYS_FSTAT = 4108
120968- SYS_UNUSED109 = 4109
120969- SYS_IOPL = 4110
120970- SYS_VHANGUP = 4111
120971- SYS_IDLE = 4112
120972- SYS_VM86 = 4113
120973- SYS_WAIT4 = 4114
120974- SYS_SWAPOFF = 4115
120975- SYS_SYSINFO = 4116
120976- SYS_IPC = 4117
120977- SYS_FSYNC = 4118
120978- SYS_SIGRETURN = 4119
120979- SYS_CLONE = 4120
120980- SYS_SETDOMAINNAME = 4121
120981- SYS_UNAME = 4122
120982- SYS_MODIFY_LDT = 4123
120983- SYS_ADJTIMEX = 4124
120984- SYS_MPROTECT = 4125
120985- SYS_SIGPROCMASK = 4126
120986- SYS_CREATE_MODULE = 4127
120987- SYS_INIT_MODULE = 4128
120988- SYS_DELETE_MODULE = 4129
120989- SYS_GET_KERNEL_SYMS = 4130
120990- SYS_QUOTACTL = 4131
120991- SYS_GETPGID = 4132
120992- SYS_FCHDIR = 4133
120993- SYS_BDFLUSH = 4134
120994- SYS_SYSFS = 4135
120995- SYS_PERSONALITY = 4136
120996- SYS_AFS_SYSCALL = 4137
120997- SYS_SETFSUID = 4138
120998- SYS_SETFSGID = 4139
120999- SYS__LLSEEK = 4140
121000- SYS_GETDENTS = 4141
121001- SYS__NEWSELECT = 4142
121002- SYS_FLOCK = 4143
121003- SYS_MSYNC = 4144
121004- SYS_READV = 4145
121005- SYS_WRITEV = 4146
121006- SYS_CACHEFLUSH = 4147
121007- SYS_CACHECTL = 4148
121008- SYS_SYSMIPS = 4149
121009- SYS_UNUSED150 = 4150
121010- SYS_GETSID = 4151
121011- SYS_FDATASYNC = 4152
121012- SYS__SYSCTL = 4153
121013- SYS_MLOCK = 4154
121014- SYS_MUNLOCK = 4155
121015- SYS_MLOCKALL = 4156
121016- SYS_MUNLOCKALL = 4157
121017- SYS_SCHED_SETPARAM = 4158
121018- SYS_SCHED_GETPARAM = 4159
121019- SYS_SCHED_SETSCHEDULER = 4160
121020- SYS_SCHED_GETSCHEDULER = 4161
121021- SYS_SCHED_YIELD = 4162
121022- SYS_SCHED_GET_PRIORITY_MAX = 4163
121023- SYS_SCHED_GET_PRIORITY_MIN = 4164
121024- SYS_SCHED_RR_GET_INTERVAL = 4165
121025- SYS_NANOSLEEP = 4166
121026- SYS_MREMAP = 4167
121027- SYS_ACCEPT = 4168
121028- SYS_BIND = 4169
121029- SYS_CONNECT = 4170
121030- SYS_GETPEERNAME = 4171
121031- SYS_GETSOCKNAME = 4172
121032- SYS_GETSOCKOPT = 4173
121033- SYS_LISTEN = 4174
121034- SYS_RECV = 4175
121035- SYS_RECVFROM = 4176
121036- SYS_RECVMSG = 4177
121037- SYS_SEND = 4178
121038- SYS_SENDMSG = 4179
121039- SYS_SENDTO = 4180
121040- SYS_SETSOCKOPT = 4181
121041- SYS_SHUTDOWN = 4182
121042- SYS_SOCKET = 4183
121043- SYS_SOCKETPAIR = 4184
121044- SYS_SETRESUID = 4185
121045- SYS_GETRESUID = 4186
121046- SYS_QUERY_MODULE = 4187
121047- SYS_POLL = 4188
121048- SYS_NFSSERVCTL = 4189
121049- SYS_SETRESGID = 4190
121050- SYS_GETRESGID = 4191
121051- SYS_PRCTL = 4192
121052- SYS_RT_SIGRETURN = 4193
121053- SYS_RT_SIGACTION = 4194
121054- SYS_RT_SIGPROCMASK = 4195
121055- SYS_RT_SIGPENDING = 4196
121056- SYS_RT_SIGTIMEDWAIT = 4197
121057- SYS_RT_SIGQUEUEINFO = 4198
121058- SYS_RT_SIGSUSPEND = 4199
121059- SYS_PREAD64 = 4200
121060- SYS_PWRITE64 = 4201
121061- SYS_CHOWN = 4202
121062- SYS_GETCWD = 4203
121063- SYS_CAPGET = 4204
121064- SYS_CAPSET = 4205
121065- SYS_SIGALTSTACK = 4206
121066- SYS_SENDFILE = 4207
121067- SYS_GETPMSG = 4208
121068- SYS_PUTPMSG = 4209
121069- SYS_MMAP2 = 4210
121070- SYS_TRUNCATE64 = 4211
121071- SYS_FTRUNCATE64 = 4212
121072- SYS_STAT64 = 4213
121073- SYS_LSTAT64 = 4214
121074- SYS_FSTAT64 = 4215
121075- SYS_PIVOT_ROOT = 4216
121076- SYS_MINCORE = 4217
121077- SYS_MADVISE = 4218
121078- SYS_GETDENTS64 = 4219
121079- SYS_FCNTL64 = 4220
121080- SYS_RESERVED221 = 4221
121081- SYS_GETTID = 4222
121082- SYS_READAHEAD = 4223
121083- SYS_SETXATTR = 4224
121084- SYS_LSETXATTR = 4225
121085- SYS_FSETXATTR = 4226
121086- SYS_GETXATTR = 4227
121087- SYS_LGETXATTR = 4228
121088- SYS_FGETXATTR = 4229
121089- SYS_LISTXATTR = 4230
121090- SYS_LLISTXATTR = 4231
121091- SYS_FLISTXATTR = 4232
121092- SYS_REMOVEXATTR = 4233
121093- SYS_LREMOVEXATTR = 4234
121094- SYS_FREMOVEXATTR = 4235
121095- SYS_TKILL = 4236
121096- SYS_SENDFILE64 = 4237
121097- SYS_FUTEX = 4238
121098- SYS_SCHED_SETAFFINITY = 4239
121099- SYS_SCHED_GETAFFINITY = 4240
121100- SYS_IO_SETUP = 4241
121101- SYS_IO_DESTROY = 4242
121102- SYS_IO_GETEVENTS = 4243
121103- SYS_IO_SUBMIT = 4244
121104- SYS_IO_CANCEL = 4245
121105- SYS_EXIT_GROUP = 4246
121106- SYS_LOOKUP_DCOOKIE = 4247
121107- SYS_EPOLL_CREATE = 4248
121108- SYS_EPOLL_CTL = 4249
121109- SYS_EPOLL_WAIT = 4250
121110- SYS_REMAP_FILE_PAGES = 4251
121111- SYS_SET_TID_ADDRESS = 4252
121112- SYS_RESTART_SYSCALL = 4253
121113- SYS_FADVISE64 = 4254
121114- SYS_STATFS64 = 4255
121115- SYS_FSTATFS64 = 4256
121116- SYS_TIMER_CREATE = 4257
121117- SYS_TIMER_SETTIME = 4258
121118- SYS_TIMER_GETTIME = 4259
121119- SYS_TIMER_GETOVERRUN = 4260
121120- SYS_TIMER_DELETE = 4261
121121- SYS_CLOCK_SETTIME = 4262
121122- SYS_CLOCK_GETTIME = 4263
121123- SYS_CLOCK_GETRES = 4264
121124- SYS_CLOCK_NANOSLEEP = 4265
121125- SYS_TGKILL = 4266
121126- SYS_UTIMES = 4267
121127- SYS_MBIND = 4268
121128- SYS_GET_MEMPOLICY = 4269
121129- SYS_SET_MEMPOLICY = 4270
121130- SYS_MQ_OPEN = 4271
121131- SYS_MQ_UNLINK = 4272
121132- SYS_MQ_TIMEDSEND = 4273
121133- SYS_MQ_TIMEDRECEIVE = 4274
121134- SYS_MQ_NOTIFY = 4275
121135- SYS_MQ_GETSETATTR = 4276
121136- SYS_VSERVER = 4277
121137- SYS_WAITID = 4278
121138- SYS_ADD_KEY = 4280
121139- SYS_REQUEST_KEY = 4281
121140- SYS_KEYCTL = 4282
121141- SYS_SET_THREAD_AREA = 4283
121142- SYS_INOTIFY_INIT = 4284
121143- SYS_INOTIFY_ADD_WATCH = 4285
121144- SYS_INOTIFY_RM_WATCH = 4286
121145- SYS_MIGRATE_PAGES = 4287
121146- SYS_OPENAT = 4288
121147- SYS_MKDIRAT = 4289
121148- SYS_MKNODAT = 4290
121149- SYS_FCHOWNAT = 4291
121150- SYS_FUTIMESAT = 4292
121151- SYS_FSTATAT64 = 4293
121152- SYS_UNLINKAT = 4294
121153- SYS_RENAMEAT = 4295
121154- SYS_LINKAT = 4296
121155- SYS_SYMLINKAT = 4297
121156- SYS_READLINKAT = 4298
121157- SYS_FCHMODAT = 4299
121158- SYS_FACCESSAT = 4300
121159- SYS_PSELECT6 = 4301
121160- SYS_PPOLL = 4302
121161- SYS_UNSHARE = 4303
121162- SYS_SPLICE = 4304
121163- SYS_SYNC_FILE_RANGE = 4305
121164- SYS_TEE = 4306
121165- SYS_VMSPLICE = 4307
121166- SYS_MOVE_PAGES = 4308
121167- SYS_SET_ROBUST_LIST = 4309
121168- SYS_GET_ROBUST_LIST = 4310
121169- SYS_KEXEC_LOAD = 4311
121170- SYS_GETCPU = 4312
121171- SYS_EPOLL_PWAIT = 4313
121172- SYS_IOPRIO_SET = 4314
121173- SYS_IOPRIO_GET = 4315
121174- SYS_UTIMENSAT = 4316
121175- SYS_SIGNALFD = 4317
121176- SYS_TIMERFD = 4318
121177- SYS_EVENTFD = 4319
121178- SYS_FALLOCATE = 4320
121179- SYS_TIMERFD_CREATE = 4321
121180- SYS_TIMERFD_GETTIME = 4322
121181- SYS_TIMERFD_SETTIME = 4323
121182- SYS_SIGNALFD4 = 4324
121183- SYS_EVENTFD2 = 4325
121184- SYS_EPOLL_CREATE1 = 4326
121185- SYS_DUP3 = 4327
121186- SYS_PIPE2 = 4328
121187- SYS_INOTIFY_INIT1 = 4329
121188- SYS_PREADV = 4330
121189- SYS_PWRITEV = 4331
121190- SYS_RT_TGSIGQUEUEINFO = 4332
121191- SYS_PERF_EVENT_OPEN = 4333
121192- SYS_ACCEPT4 = 4334
121193- SYS_RECVMMSG = 4335
121194- SYS_FANOTIFY_INIT = 4336
121195- SYS_FANOTIFY_MARK = 4337
121196- SYS_PRLIMIT64 = 4338
121197- SYS_NAME_TO_HANDLE_AT = 4339
121198- SYS_OPEN_BY_HANDLE_AT = 4340
121199- SYS_CLOCK_ADJTIME = 4341
121200- SYS_SYNCFS = 4342
121201- SYS_SENDMMSG = 4343
121202- SYS_SETNS = 4344
121203- SYS_PROCESS_VM_READV = 4345
121204- SYS_PROCESS_VM_WRITEV = 4346
121205- SYS_KCMP = 4347
121206- SYS_FINIT_MODULE = 4348
121207- SYS_SCHED_SETATTR = 4349
121208- SYS_SCHED_GETATTR = 4350
121209- SYS_RENAMEAT2 = 4351
121210- SYS_SECCOMP = 4352
121211- SYS_GETRANDOM = 4353
121212- SYS_MEMFD_CREATE = 4354
121213- SYS_BPF = 4355
121214- SYS_EXECVEAT = 4356
121215- SYS_USERFAULTFD = 4357
121216- SYS_MEMBARRIER = 4358
121217- SYS_MLOCK2 = 4359
121218- SYS_COPY_FILE_RANGE = 4360
121219- SYS_PREADV2 = 4361
121220- SYS_PWRITEV2 = 4362
121221- SYS_PKEY_MPROTECT = 4363
121222- SYS_PKEY_ALLOC = 4364
121223- SYS_PKEY_FREE = 4365
121224+ SYS_SYSCALL = 4000
121225+ SYS_EXIT = 4001
121226+ SYS_FORK = 4002
121227+ SYS_READ = 4003
121228+ SYS_WRITE = 4004
121229+ SYS_OPEN = 4005
121230+ SYS_CLOSE = 4006
121231+ SYS_WAITPID = 4007
121232+ SYS_CREAT = 4008
121233+ SYS_LINK = 4009
121234+ SYS_UNLINK = 4010
121235+ SYS_EXECVE = 4011
121236+ SYS_CHDIR = 4012
121237+ SYS_TIME = 4013
121238+ SYS_MKNOD = 4014
121239+ SYS_CHMOD = 4015
121240+ SYS_LCHOWN = 4016
121241+ SYS_BREAK = 4017
121242+ SYS_UNUSED18 = 4018
121243+ SYS_LSEEK = 4019
121244+ SYS_GETPID = 4020
121245+ SYS_MOUNT = 4021
121246+ SYS_UMOUNT = 4022
121247+ SYS_SETUID = 4023
121248+ SYS_GETUID = 4024
121249+ SYS_STIME = 4025
121250+ SYS_PTRACE = 4026
121251+ SYS_ALARM = 4027
121252+ SYS_UNUSED28 = 4028
121253+ SYS_PAUSE = 4029
121254+ SYS_UTIME = 4030
121255+ SYS_STTY = 4031
121256+ SYS_GTTY = 4032
121257+ SYS_ACCESS = 4033
121258+ SYS_NICE = 4034
121259+ SYS_FTIME = 4035
121260+ SYS_SYNC = 4036
121261+ SYS_KILL = 4037
121262+ SYS_RENAME = 4038
121263+ SYS_MKDIR = 4039
121264+ SYS_RMDIR = 4040
121265+ SYS_DUP = 4041
121266+ SYS_PIPE = 4042
121267+ SYS_TIMES = 4043
121268+ SYS_PROF = 4044
121269+ SYS_BRK = 4045
121270+ SYS_SETGID = 4046
121271+ SYS_GETGID = 4047
121272+ SYS_SIGNAL = 4048
121273+ SYS_GETEUID = 4049
121274+ SYS_GETEGID = 4050
121275+ SYS_ACCT = 4051
121276+ SYS_UMOUNT2 = 4052
121277+ SYS_LOCK = 4053
121278+ SYS_IOCTL = 4054
121279+ SYS_FCNTL = 4055
121280+ SYS_MPX = 4056
121281+ SYS_SETPGID = 4057
121282+ SYS_ULIMIT = 4058
121283+ SYS_UNUSED59 = 4059
121284+ SYS_UMASK = 4060
121285+ SYS_CHROOT = 4061
121286+ SYS_USTAT = 4062
121287+ SYS_DUP2 = 4063
121288+ SYS_GETPPID = 4064
121289+ SYS_GETPGRP = 4065
121290+ SYS_SETSID = 4066
121291+ SYS_SIGACTION = 4067
121292+ SYS_SGETMASK = 4068
121293+ SYS_SSETMASK = 4069
121294+ SYS_SETREUID = 4070
121295+ SYS_SETREGID = 4071
121296+ SYS_SIGSUSPEND = 4072
121297+ SYS_SIGPENDING = 4073
121298+ SYS_SETHOSTNAME = 4074
121299+ SYS_SETRLIMIT = 4075
121300+ SYS_GETRLIMIT = 4076
121301+ SYS_GETRUSAGE = 4077
121302+ SYS_GETTIMEOFDAY = 4078
121303+ SYS_SETTIMEOFDAY = 4079
121304+ SYS_GETGROUPS = 4080
121305+ SYS_SETGROUPS = 4081
121306+ SYS_RESERVED82 = 4082
121307+ SYS_SYMLINK = 4083
121308+ SYS_UNUSED84 = 4084
121309+ SYS_READLINK = 4085
121310+ SYS_USELIB = 4086
121311+ SYS_SWAPON = 4087
121312+ SYS_REBOOT = 4088
121313+ SYS_READDIR = 4089
121314+ SYS_MMAP = 4090
121315+ SYS_MUNMAP = 4091
121316+ SYS_TRUNCATE = 4092
121317+ SYS_FTRUNCATE = 4093
121318+ SYS_FCHMOD = 4094
121319+ SYS_FCHOWN = 4095
121320+ SYS_GETPRIORITY = 4096
121321+ SYS_SETPRIORITY = 4097
121322+ SYS_PROFIL = 4098
121323+ SYS_STATFS = 4099
121324+ SYS_FSTATFS = 4100
121325+ SYS_IOPERM = 4101
121326+ SYS_SOCKETCALL = 4102
121327+ SYS_SYSLOG = 4103
121328+ SYS_SETITIMER = 4104
121329+ SYS_GETITIMER = 4105
121330+ SYS_STAT = 4106
121331+ SYS_LSTAT = 4107
121332+ SYS_FSTAT = 4108
121333+ SYS_UNUSED109 = 4109
121334+ SYS_IOPL = 4110
121335+ SYS_VHANGUP = 4111
121336+ SYS_IDLE = 4112
121337+ SYS_VM86 = 4113
121338+ SYS_WAIT4 = 4114
121339+ SYS_SWAPOFF = 4115
121340+ SYS_SYSINFO = 4116
121341+ SYS_IPC = 4117
121342+ SYS_FSYNC = 4118
121343+ SYS_SIGRETURN = 4119
121344+ SYS_CLONE = 4120
121345+ SYS_SETDOMAINNAME = 4121
121346+ SYS_UNAME = 4122
121347+ SYS_MODIFY_LDT = 4123
121348+ SYS_ADJTIMEX = 4124
121349+ SYS_MPROTECT = 4125
121350+ SYS_SIGPROCMASK = 4126
121351+ SYS_CREATE_MODULE = 4127
121352+ SYS_INIT_MODULE = 4128
121353+ SYS_DELETE_MODULE = 4129
121354+ SYS_GET_KERNEL_SYMS = 4130
121355+ SYS_QUOTACTL = 4131
121356+ SYS_GETPGID = 4132
121357+ SYS_FCHDIR = 4133
121358+ SYS_BDFLUSH = 4134
121359+ SYS_SYSFS = 4135
121360+ SYS_PERSONALITY = 4136
121361+ SYS_AFS_SYSCALL = 4137
121362+ SYS_SETFSUID = 4138
121363+ SYS_SETFSGID = 4139
121364+ SYS__LLSEEK = 4140
121365+ SYS_GETDENTS = 4141
121366+ SYS__NEWSELECT = 4142
121367+ SYS_FLOCK = 4143
121368+ SYS_MSYNC = 4144
121369+ SYS_READV = 4145
121370+ SYS_WRITEV = 4146
121371+ SYS_CACHEFLUSH = 4147
121372+ SYS_CACHECTL = 4148
121373+ SYS_SYSMIPS = 4149
121374+ SYS_UNUSED150 = 4150
121375+ SYS_GETSID = 4151
121376+ SYS_FDATASYNC = 4152
121377+ SYS__SYSCTL = 4153
121378+ SYS_MLOCK = 4154
121379+ SYS_MUNLOCK = 4155
121380+ SYS_MLOCKALL = 4156
121381+ SYS_MUNLOCKALL = 4157
121382+ SYS_SCHED_SETPARAM = 4158
121383+ SYS_SCHED_GETPARAM = 4159
121384+ SYS_SCHED_SETSCHEDULER = 4160
121385+ SYS_SCHED_GETSCHEDULER = 4161
121386+ SYS_SCHED_YIELD = 4162
121387+ SYS_SCHED_GET_PRIORITY_MAX = 4163
121388+ SYS_SCHED_GET_PRIORITY_MIN = 4164
121389+ SYS_SCHED_RR_GET_INTERVAL = 4165
121390+ SYS_NANOSLEEP = 4166
121391+ SYS_MREMAP = 4167
121392+ SYS_ACCEPT = 4168
121393+ SYS_BIND = 4169
121394+ SYS_CONNECT = 4170
121395+ SYS_GETPEERNAME = 4171
121396+ SYS_GETSOCKNAME = 4172
121397+ SYS_GETSOCKOPT = 4173
121398+ SYS_LISTEN = 4174
121399+ SYS_RECV = 4175
121400+ SYS_RECVFROM = 4176
121401+ SYS_RECVMSG = 4177
121402+ SYS_SEND = 4178
121403+ SYS_SENDMSG = 4179
121404+ SYS_SENDTO = 4180
121405+ SYS_SETSOCKOPT = 4181
121406+ SYS_SHUTDOWN = 4182
121407+ SYS_SOCKET = 4183
121408+ SYS_SOCKETPAIR = 4184
121409+ SYS_SETRESUID = 4185
121410+ SYS_GETRESUID = 4186
121411+ SYS_QUERY_MODULE = 4187
121412+ SYS_POLL = 4188
121413+ SYS_NFSSERVCTL = 4189
121414+ SYS_SETRESGID = 4190
121415+ SYS_GETRESGID = 4191
121416+ SYS_PRCTL = 4192
121417+ SYS_RT_SIGRETURN = 4193
121418+ SYS_RT_SIGACTION = 4194
121419+ SYS_RT_SIGPROCMASK = 4195
121420+ SYS_RT_SIGPENDING = 4196
121421+ SYS_RT_SIGTIMEDWAIT = 4197
121422+ SYS_RT_SIGQUEUEINFO = 4198
121423+ SYS_RT_SIGSUSPEND = 4199
121424+ SYS_PREAD64 = 4200
121425+ SYS_PWRITE64 = 4201
121426+ SYS_CHOWN = 4202
121427+ SYS_GETCWD = 4203
121428+ SYS_CAPGET = 4204
121429+ SYS_CAPSET = 4205
121430+ SYS_SIGALTSTACK = 4206
121431+ SYS_SENDFILE = 4207
121432+ SYS_GETPMSG = 4208
121433+ SYS_PUTPMSG = 4209
121434+ SYS_MMAP2 = 4210
121435+ SYS_TRUNCATE64 = 4211
121436+ SYS_FTRUNCATE64 = 4212
121437+ SYS_STAT64 = 4213
121438+ SYS_LSTAT64 = 4214
121439+ SYS_FSTAT64 = 4215
121440+ SYS_PIVOT_ROOT = 4216
121441+ SYS_MINCORE = 4217
121442+ SYS_MADVISE = 4218
121443+ SYS_GETDENTS64 = 4219
121444+ SYS_FCNTL64 = 4220
121445+ SYS_RESERVED221 = 4221
121446+ SYS_GETTID = 4222
121447+ SYS_READAHEAD = 4223
121448+ SYS_SETXATTR = 4224
121449+ SYS_LSETXATTR = 4225
121450+ SYS_FSETXATTR = 4226
121451+ SYS_GETXATTR = 4227
121452+ SYS_LGETXATTR = 4228
121453+ SYS_FGETXATTR = 4229
121454+ SYS_LISTXATTR = 4230
121455+ SYS_LLISTXATTR = 4231
121456+ SYS_FLISTXATTR = 4232
121457+ SYS_REMOVEXATTR = 4233
121458+ SYS_LREMOVEXATTR = 4234
121459+ SYS_FREMOVEXATTR = 4235
121460+ SYS_TKILL = 4236
121461+ SYS_SENDFILE64 = 4237
121462+ SYS_FUTEX = 4238
121463+ SYS_SCHED_SETAFFINITY = 4239
121464+ SYS_SCHED_GETAFFINITY = 4240
121465+ SYS_IO_SETUP = 4241
121466+ SYS_IO_DESTROY = 4242
121467+ SYS_IO_GETEVENTS = 4243
121468+ SYS_IO_SUBMIT = 4244
121469+ SYS_IO_CANCEL = 4245
121470+ SYS_EXIT_GROUP = 4246
121471+ SYS_LOOKUP_DCOOKIE = 4247
121472+ SYS_EPOLL_CREATE = 4248
121473+ SYS_EPOLL_CTL = 4249
121474+ SYS_EPOLL_WAIT = 4250
121475+ SYS_REMAP_FILE_PAGES = 4251
121476+ SYS_SET_TID_ADDRESS = 4252
121477+ SYS_RESTART_SYSCALL = 4253
121478+ SYS_FADVISE64 = 4254
121479+ SYS_STATFS64 = 4255
121480+ SYS_FSTATFS64 = 4256
121481+ SYS_TIMER_CREATE = 4257
121482+ SYS_TIMER_SETTIME = 4258
121483+ SYS_TIMER_GETTIME = 4259
121484+ SYS_TIMER_GETOVERRUN = 4260
121485+ SYS_TIMER_DELETE = 4261
121486+ SYS_CLOCK_SETTIME = 4262
121487+ SYS_CLOCK_GETTIME = 4263
121488+ SYS_CLOCK_GETRES = 4264
121489+ SYS_CLOCK_NANOSLEEP = 4265
121490+ SYS_TGKILL = 4266
121491+ SYS_UTIMES = 4267
121492+ SYS_MBIND = 4268
121493+ SYS_GET_MEMPOLICY = 4269
121494+ SYS_SET_MEMPOLICY = 4270
121495+ SYS_MQ_OPEN = 4271
121496+ SYS_MQ_UNLINK = 4272
121497+ SYS_MQ_TIMEDSEND = 4273
121498+ SYS_MQ_TIMEDRECEIVE = 4274
121499+ SYS_MQ_NOTIFY = 4275
121500+ SYS_MQ_GETSETATTR = 4276
121501+ SYS_VSERVER = 4277
121502+ SYS_WAITID = 4278
121503+ SYS_ADD_KEY = 4280
121504+ SYS_REQUEST_KEY = 4281
121505+ SYS_KEYCTL = 4282
121506+ SYS_SET_THREAD_AREA = 4283
121507+ SYS_INOTIFY_INIT = 4284
121508+ SYS_INOTIFY_ADD_WATCH = 4285
121509+ SYS_INOTIFY_RM_WATCH = 4286
121510+ SYS_MIGRATE_PAGES = 4287
121511+ SYS_OPENAT = 4288
121512+ SYS_MKDIRAT = 4289
121513+ SYS_MKNODAT = 4290
121514+ SYS_FCHOWNAT = 4291
121515+ SYS_FUTIMESAT = 4292
121516+ SYS_FSTATAT64 = 4293
121517+ SYS_UNLINKAT = 4294
121518+ SYS_RENAMEAT = 4295
121519+ SYS_LINKAT = 4296
121520+ SYS_SYMLINKAT = 4297
121521+ SYS_READLINKAT = 4298
121522+ SYS_FCHMODAT = 4299
121523+ SYS_FACCESSAT = 4300
121524+ SYS_PSELECT6 = 4301
121525+ SYS_PPOLL = 4302
121526+ SYS_UNSHARE = 4303
121527+ SYS_SPLICE = 4304
121528+ SYS_SYNC_FILE_RANGE = 4305
121529+ SYS_TEE = 4306
121530+ SYS_VMSPLICE = 4307
121531+ SYS_MOVE_PAGES = 4308
121532+ SYS_SET_ROBUST_LIST = 4309
121533+ SYS_GET_ROBUST_LIST = 4310
121534+ SYS_KEXEC_LOAD = 4311
121535+ SYS_GETCPU = 4312
121536+ SYS_EPOLL_PWAIT = 4313
121537+ SYS_IOPRIO_SET = 4314
121538+ SYS_IOPRIO_GET = 4315
121539+ SYS_UTIMENSAT = 4316
121540+ SYS_SIGNALFD = 4317
121541+ SYS_TIMERFD = 4318
121542+ SYS_EVENTFD = 4319
121543+ SYS_FALLOCATE = 4320
121544+ SYS_TIMERFD_CREATE = 4321
121545+ SYS_TIMERFD_GETTIME = 4322
121546+ SYS_TIMERFD_SETTIME = 4323
121547+ SYS_SIGNALFD4 = 4324
121548+ SYS_EVENTFD2 = 4325
121549+ SYS_EPOLL_CREATE1 = 4326
121550+ SYS_DUP3 = 4327
121551+ SYS_PIPE2 = 4328
121552+ SYS_INOTIFY_INIT1 = 4329
121553+ SYS_PREADV = 4330
121554+ SYS_PWRITEV = 4331
121555+ SYS_RT_TGSIGQUEUEINFO = 4332
121556+ SYS_PERF_EVENT_OPEN = 4333
121557+ SYS_ACCEPT4 = 4334
121558+ SYS_RECVMMSG = 4335
121559+ SYS_FANOTIFY_INIT = 4336
121560+ SYS_FANOTIFY_MARK = 4337
121561+ SYS_PRLIMIT64 = 4338
121562+ SYS_NAME_TO_HANDLE_AT = 4339
121563+ SYS_OPEN_BY_HANDLE_AT = 4340
121564+ SYS_CLOCK_ADJTIME = 4341
121565+ SYS_SYNCFS = 4342
121566+ SYS_SENDMMSG = 4343
121567+ SYS_SETNS = 4344
121568+ SYS_PROCESS_VM_READV = 4345
121569+ SYS_PROCESS_VM_WRITEV = 4346
121570+ SYS_KCMP = 4347
121571+ SYS_FINIT_MODULE = 4348
121572+ SYS_SCHED_SETATTR = 4349
121573+ SYS_SCHED_GETATTR = 4350
121574+ SYS_RENAMEAT2 = 4351
121575+ SYS_SECCOMP = 4352
121576+ SYS_GETRANDOM = 4353
121577+ SYS_MEMFD_CREATE = 4354
121578+ SYS_BPF = 4355
121579+ SYS_EXECVEAT = 4356
121580+ SYS_USERFAULTFD = 4357
121581+ SYS_MEMBARRIER = 4358
121582+ SYS_MLOCK2 = 4359
121583+ SYS_COPY_FILE_RANGE = 4360
121584+ SYS_PREADV2 = 4361
121585+ SYS_PWRITEV2 = 4362
121586+ SYS_PKEY_MPROTECT = 4363
121587+ SYS_PKEY_ALLOC = 4364
121588+ SYS_PKEY_FREE = 4365
121589+ SYS_STATX = 4366
121590+ SYS_RSEQ = 4367
121591+ SYS_IO_PGETEVENTS = 4368
121592+ SYS_SEMGET = 4393
121593+ SYS_SEMCTL = 4394
121594+ SYS_SHMGET = 4395
121595+ SYS_SHMCTL = 4396
121596+ SYS_SHMAT = 4397
121597+ SYS_SHMDT = 4398
121598+ SYS_MSGGET = 4399
121599+ SYS_MSGSND = 4400
121600+ SYS_MSGRCV = 4401
121601+ SYS_MSGCTL = 4402
121602+ SYS_CLOCK_GETTIME64 = 4403
121603+ SYS_CLOCK_SETTIME64 = 4404
121604+ SYS_CLOCK_ADJTIME64 = 4405
121605+ SYS_CLOCK_GETRES_TIME64 = 4406
121606+ SYS_CLOCK_NANOSLEEP_TIME64 = 4407
121607+ SYS_TIMER_GETTIME64 = 4408
121608+ SYS_TIMER_SETTIME64 = 4409
121609+ SYS_TIMERFD_GETTIME64 = 4410
121610+ SYS_TIMERFD_SETTIME64 = 4411
121611+ SYS_UTIMENSAT_TIME64 = 4412
121612+ SYS_PSELECT6_TIME64 = 4413
121613+ SYS_PPOLL_TIME64 = 4414
121614+ SYS_IO_PGETEVENTS_TIME64 = 4416
121615+ SYS_RECVMMSG_TIME64 = 4417
121616+ SYS_MQ_TIMEDSEND_TIME64 = 4418
121617+ SYS_MQ_TIMEDRECEIVE_TIME64 = 4419
121618+ SYS_SEMTIMEDOP_TIME64 = 4420
121619+ SYS_RT_SIGTIMEDWAIT_TIME64 = 4421
121620+ SYS_FUTEX_TIME64 = 4422
121621+ SYS_SCHED_RR_GET_INTERVAL_TIME64 = 4423
121622+ SYS_PIDFD_SEND_SIGNAL = 4424
121623+ SYS_IO_URING_SETUP = 4425
121624+ SYS_IO_URING_ENTER = 4426
121625+ SYS_IO_URING_REGISTER = 4427
121626+ SYS_OPEN_TREE = 4428
121627+ SYS_MOVE_MOUNT = 4429
121628+ SYS_FSOPEN = 4430
121629+ SYS_FSCONFIG = 4431
121630+ SYS_FSMOUNT = 4432
121631+ SYS_FSPICK = 4433
121632+ SYS_PIDFD_OPEN = 4434
121633+ SYS_CLONE3 = 4435
121634+ SYS_OPENAT2 = 4437
121635+ SYS_PIDFD_GETFD = 4438
121636 )
121637diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go
121638index 8944448a..cc3c067b 100644
121639--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go
121640+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go
121641@@ -1,4 +1,4 @@
121642-// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
121643+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
121644 // Code generated by the command above; see README.md. DO NOT EDIT.
121645
121646 // +build ppc64,linux
121647@@ -366,4 +366,35 @@ const (
121648 SYS_PREADV2 = 380
121649 SYS_PWRITEV2 = 381
121650 SYS_KEXEC_FILE_LOAD = 382
121651+ SYS_STATX = 383
121652+ SYS_PKEY_ALLOC = 384
121653+ SYS_PKEY_FREE = 385
121654+ SYS_PKEY_MPROTECT = 386
121655+ SYS_RSEQ = 387
121656+ SYS_IO_PGETEVENTS = 388
121657+ SYS_SEMTIMEDOP = 392
121658+ SYS_SEMGET = 393
121659+ SYS_SEMCTL = 394
121660+ SYS_SHMGET = 395
121661+ SYS_SHMCTL = 396
121662+ SYS_SHMAT = 397
121663+ SYS_SHMDT = 398
121664+ SYS_MSGGET = 399
121665+ SYS_MSGSND = 400
121666+ SYS_MSGRCV = 401
121667+ SYS_MSGCTL = 402
121668+ SYS_PIDFD_SEND_SIGNAL = 424
121669+ SYS_IO_URING_SETUP = 425
121670+ SYS_IO_URING_ENTER = 426
121671+ SYS_IO_URING_REGISTER = 427
121672+ SYS_OPEN_TREE = 428
121673+ SYS_MOVE_MOUNT = 429
121674+ SYS_FSOPEN = 430
121675+ SYS_FSCONFIG = 431
121676+ SYS_FSMOUNT = 432
121677+ SYS_FSPICK = 433
121678+ SYS_PIDFD_OPEN = 434
121679+ SYS_CLONE3 = 435
121680+ SYS_OPENAT2 = 437
121681+ SYS_PIDFD_GETFD = 438
121682 )
121683diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go
121684index 90a039be..4050ff98 100644
121685--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go
121686+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go
121687@@ -1,4 +1,4 @@
121688-// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
121689+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
121690 // Code generated by the command above; see README.md. DO NOT EDIT.
121691
121692 // +build ppc64le,linux
121693@@ -366,4 +366,35 @@ const (
121694 SYS_PREADV2 = 380
121695 SYS_PWRITEV2 = 381
121696 SYS_KEXEC_FILE_LOAD = 382
121697+ SYS_STATX = 383
121698+ SYS_PKEY_ALLOC = 384
121699+ SYS_PKEY_FREE = 385
121700+ SYS_PKEY_MPROTECT = 386
121701+ SYS_RSEQ = 387
121702+ SYS_IO_PGETEVENTS = 388
121703+ SYS_SEMTIMEDOP = 392
121704+ SYS_SEMGET = 393
121705+ SYS_SEMCTL = 394
121706+ SYS_SHMGET = 395
121707+ SYS_SHMCTL = 396
121708+ SYS_SHMAT = 397
121709+ SYS_SHMDT = 398
121710+ SYS_MSGGET = 399
121711+ SYS_MSGSND = 400
121712+ SYS_MSGRCV = 401
121713+ SYS_MSGCTL = 402
121714+ SYS_PIDFD_SEND_SIGNAL = 424
121715+ SYS_IO_URING_SETUP = 425
121716+ SYS_IO_URING_ENTER = 426
121717+ SYS_IO_URING_REGISTER = 427
121718+ SYS_OPEN_TREE = 428
121719+ SYS_MOVE_MOUNT = 429
121720+ SYS_FSOPEN = 430
121721+ SYS_FSCONFIG = 431
121722+ SYS_FSMOUNT = 432
121723+ SYS_FSPICK = 433
121724+ SYS_PIDFD_OPEN = 434
121725+ SYS_CLONE3 = 435
121726+ SYS_OPENAT2 = 437
121727+ SYS_PIDFD_GETFD = 438
121728 )
121729diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go
121730similarity index 92%
121731copy from vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go
121732copy to vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go
121733index 64078435..529abb6a 100644
121734--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go
121735+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go
121736@@ -1,7 +1,7 @@
121737-// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include -fsigned-char /tmp/include/asm/unistd.h
121738+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
121739 // Code generated by the command above; see README.md. DO NOT EDIT.
121740
121741-// +build arm64,linux
121742+// +build riscv64,linux
121743
121744 package unix
121745
121746@@ -44,7 +44,6 @@ const (
121747 SYS_UNLINKAT = 35
121748 SYS_SYMLINKAT = 36
121749 SYS_LINKAT = 37
121750- SYS_RENAMEAT = 38
121751 SYS_UMOUNT2 = 39
121752 SYS_MOUNT = 40
121753 SYS_PIVOT_ROOT = 41
121754@@ -282,4 +281,22 @@ const (
121755 SYS_PKEY_MPROTECT = 288
121756 SYS_PKEY_ALLOC = 289
121757 SYS_PKEY_FREE = 290
121758+ SYS_STATX = 291
121759+ SYS_IO_PGETEVENTS = 292
121760+ SYS_RSEQ = 293
121761+ SYS_KEXEC_FILE_LOAD = 294
121762+ SYS_PIDFD_SEND_SIGNAL = 424
121763+ SYS_IO_URING_SETUP = 425
121764+ SYS_IO_URING_ENTER = 426
121765+ SYS_IO_URING_REGISTER = 427
121766+ SYS_OPEN_TREE = 428
121767+ SYS_MOVE_MOUNT = 429
121768+ SYS_FSOPEN = 430
121769+ SYS_FSCONFIG = 431
121770+ SYS_FSMOUNT = 432
121771+ SYS_FSPICK = 433
121772+ SYS_PIDFD_OPEN = 434
121773+ SYS_CLONE3 = 435
121774+ SYS_OPENAT2 = 437
121775+ SYS_PIDFD_GETFD = 438
121776 )
121777diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go
121778index aab0cdb1..27665001 100644
121779--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go
121780+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go
121781@@ -1,4 +1,4 @@
121782-// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include -fsigned-char /tmp/include/asm/unistd.h
121783+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include -fsigned-char /tmp/include/asm/unistd.h
121784 // Code generated by the command above; see README.md. DO NOT EDIT.
121785
121786 // +build s390x,linux
121787@@ -109,6 +109,7 @@ const (
121788 SYS_PERSONALITY = 136
121789 SYS_AFS_SYSCALL = 137
121790 SYS_GETDENTS = 141
121791+ SYS_SELECT = 142
121792 SYS_FLOCK = 143
121793 SYS_MSYNC = 144
121794 SYS_READV = 145
121795@@ -151,6 +152,26 @@ const (
121796 SYS_GETPMSG = 188
121797 SYS_PUTPMSG = 189
121798 SYS_VFORK = 190
121799+ SYS_GETRLIMIT = 191
121800+ SYS_LCHOWN = 198
121801+ SYS_GETUID = 199
121802+ SYS_GETGID = 200
121803+ SYS_GETEUID = 201
121804+ SYS_GETEGID = 202
121805+ SYS_SETREUID = 203
121806+ SYS_SETREGID = 204
121807+ SYS_GETGROUPS = 205
121808+ SYS_SETGROUPS = 206
121809+ SYS_FCHOWN = 207
121810+ SYS_SETRESUID = 208
121811+ SYS_GETRESUID = 209
121812+ SYS_SETRESGID = 210
121813+ SYS_GETRESGID = 211
121814+ SYS_CHOWN = 212
121815+ SYS_SETUID = 213
121816+ SYS_SETGID = 214
121817+ SYS_SETFSUID = 215
121818+ SYS_SETFSGID = 216
121819 SYS_PIVOT_ROOT = 217
121820 SYS_MINCORE = 218
121821 SYS_MADVISE = 219
121822@@ -222,6 +243,7 @@ const (
121823 SYS_MKNODAT = 290
121824 SYS_FCHOWNAT = 291
121825 SYS_FUTIMESAT = 292
121826+ SYS_NEWFSTATAT = 293
121827 SYS_UNLINKAT = 294
121828 SYS_RENAMEAT = 295
121829 SYS_LINKAT = 296
121830@@ -306,26 +328,38 @@ const (
121831 SYS_COPY_FILE_RANGE = 375
121832 SYS_PREADV2 = 376
121833 SYS_PWRITEV2 = 377
121834- SYS_SELECT = 142
121835- SYS_GETRLIMIT = 191
121836- SYS_LCHOWN = 198
121837- SYS_GETUID = 199
121838- SYS_GETGID = 200
121839- SYS_GETEUID = 201
121840- SYS_GETEGID = 202
121841- SYS_SETREUID = 203
121842- SYS_SETREGID = 204
121843- SYS_GETGROUPS = 205
121844- SYS_SETGROUPS = 206
121845- SYS_FCHOWN = 207
121846- SYS_SETRESUID = 208
121847- SYS_GETRESUID = 209
121848- SYS_SETRESGID = 210
121849- SYS_GETRESGID = 211
121850- SYS_CHOWN = 212
121851- SYS_SETUID = 213
121852- SYS_SETGID = 214
121853- SYS_SETFSUID = 215
121854- SYS_SETFSGID = 216
121855- SYS_NEWFSTATAT = 293
121856+ SYS_S390_GUARDED_STORAGE = 378
121857+ SYS_STATX = 379
121858+ SYS_S390_STHYI = 380
121859+ SYS_KEXEC_FILE_LOAD = 381
121860+ SYS_IO_PGETEVENTS = 382
121861+ SYS_RSEQ = 383
121862+ SYS_PKEY_MPROTECT = 384
121863+ SYS_PKEY_ALLOC = 385
121864+ SYS_PKEY_FREE = 386
121865+ SYS_SEMTIMEDOP = 392
121866+ SYS_SEMGET = 393
121867+ SYS_SEMCTL = 394
121868+ SYS_SHMGET = 395
121869+ SYS_SHMCTL = 396
121870+ SYS_SHMAT = 397
121871+ SYS_SHMDT = 398
121872+ SYS_MSGGET = 399
121873+ SYS_MSGSND = 400
121874+ SYS_MSGRCV = 401
121875+ SYS_MSGCTL = 402
121876+ SYS_PIDFD_SEND_SIGNAL = 424
121877+ SYS_IO_URING_SETUP = 425
121878+ SYS_IO_URING_ENTER = 426
121879+ SYS_IO_URING_REGISTER = 427
121880+ SYS_OPEN_TREE = 428
121881+ SYS_MOVE_MOUNT = 429
121882+ SYS_FSOPEN = 430
121883+ SYS_FSCONFIG = 431
121884+ SYS_FSMOUNT = 432
121885+ SYS_FSPICK = 433
121886+ SYS_PIDFD_OPEN = 434
121887+ SYS_CLONE3 = 435
121888+ SYS_OPENAT2 = 437
121889+ SYS_PIDFD_GETFD = 438
121890 )
121891diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go
121892index c9c129dc..4dc82bb2 100644
121893--- a/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go
121894+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go
121895@@ -1,5 +1,5 @@
121896-// mksysnum_linux.pl -Ilinux/usr/include -m64 -D__arch64__ linux/usr/include/asm/unistd.h
121897-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
121898+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
121899+// Code generated by the command above; see README.md. DO NOT EDIT.
121900
121901 // +build sparc64,linux
121902
121903@@ -253,6 +253,7 @@ const (
121904 SYS_TIMER_GETOVERRUN = 264
121905 SYS_TIMER_DELETE = 265
121906 SYS_TIMER_CREATE = 266
121907+ SYS_VSERVER = 267
121908 SYS_IO_SETUP = 268
121909 SYS_IO_DESTROY = 269
121910 SYS_IO_SUBMIT = 270
121911@@ -345,4 +346,34 @@ const (
121912 SYS_COPY_FILE_RANGE = 357
121913 SYS_PREADV2 = 358
121914 SYS_PWRITEV2 = 359
121915+ SYS_STATX = 360
121916+ SYS_IO_PGETEVENTS = 361
121917+ SYS_PKEY_MPROTECT = 362
121918+ SYS_PKEY_ALLOC = 363
121919+ SYS_PKEY_FREE = 364
121920+ SYS_RSEQ = 365
121921+ SYS_SEMTIMEDOP = 392
121922+ SYS_SEMGET = 393
121923+ SYS_SEMCTL = 394
121924+ SYS_SHMGET = 395
121925+ SYS_SHMCTL = 396
121926+ SYS_SHMAT = 397
121927+ SYS_SHMDT = 398
121928+ SYS_MSGGET = 399
121929+ SYS_MSGSND = 400
121930+ SYS_MSGRCV = 401
121931+ SYS_MSGCTL = 402
121932+ SYS_PIDFD_SEND_SIGNAL = 424
121933+ SYS_IO_URING_SETUP = 425
121934+ SYS_IO_URING_ENTER = 426
121935+ SYS_IO_URING_REGISTER = 427
121936+ SYS_OPEN_TREE = 428
121937+ SYS_MOVE_MOUNT = 429
121938+ SYS_FSOPEN = 430
121939+ SYS_FSCONFIG = 431
121940+ SYS_FSMOUNT = 432
121941+ SYS_FSPICK = 433
121942+ SYS_PIDFD_OPEN = 434
121943+ SYS_OPENAT2 = 437
121944+ SYS_PIDFD_GETFD = 438
121945 )
121946diff --git a/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go b/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go
121947index 8afda9c4..e66a8c9d 100644
121948--- a/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go
121949+++ b/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go
121950@@ -1,5 +1,5 @@
121951-// mksysnum_netbsd.pl
121952-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
121953+// go run mksysnum.go http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/kern/syscalls.master
121954+// Code generated by the command above; see README.md. DO NOT EDIT.
121955
121956 // +build 386,netbsd
121957
121958diff --git a/vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go
121959index aea8dbec..42c788f2 100644
121960--- a/vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go
121961+++ b/vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go
121962@@ -1,5 +1,5 @@
121963-// mksysnum_netbsd.pl
121964-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
121965+// go run mksysnum.go http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/kern/syscalls.master
121966+// Code generated by the command above; see README.md. DO NOT EDIT.
121967
121968 // +build amd64,netbsd
121969
121970diff --git a/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go b/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go
121971index c6158a7e..0a075717 100644
121972--- a/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go
121973+++ b/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go
121974@@ -1,5 +1,5 @@
121975-// mksysnum_netbsd.pl
121976-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
121977+// go run mksysnum.go http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/kern/syscalls.master
121978+// Code generated by the command above; see README.md. DO NOT EDIT.
121979
121980 // +build arm,netbsd
121981
121982diff --git a/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go b/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm64.go
121983similarity index 99%
121984copy from vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go
121985copy to vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm64.go
121986index 8afda9c4..0291c093 100644
121987--- a/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go
121988+++ b/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm64.go
121989@@ -1,7 +1,7 @@
121990-// mksysnum_netbsd.pl
121991-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
121992+// go run mksysnum.go http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/kern/syscalls.master
121993+// Code generated by the command above; DO NOT EDIT.
121994
121995-// +build 386,netbsd
121996+// +build arm64,netbsd
121997
121998 package unix
121999
122000diff --git a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go
122001index 3e8ce2a1..b0207d1c 100644
122002--- a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go
122003+++ b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go
122004@@ -1,5 +1,5 @@
122005-// mksysnum_openbsd.pl
122006-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
122007+// go run mksysnum.go https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master
122008+// Code generated by the command above; see README.md. DO NOT EDIT.
122009
122010 // +build 386,openbsd
122011
122012@@ -9,109 +9,119 @@ const (
122013 SYS_EXIT = 1 // { void sys_exit(int rval); }
122014 SYS_FORK = 2 // { int sys_fork(void); }
122015 SYS_READ = 3 // { ssize_t sys_read(int fd, void *buf, size_t nbyte); }
122016- SYS_WRITE = 4 // { ssize_t sys_write(int fd, const void *buf, \
122017- SYS_OPEN = 5 // { int sys_open(const char *path, \
122018+ SYS_WRITE = 4 // { ssize_t sys_write(int fd, const void *buf, size_t nbyte); }
122019+ SYS_OPEN = 5 // { int sys_open(const char *path, int flags, ... mode_t mode); }
122020 SYS_CLOSE = 6 // { int sys_close(int fd); }
122021- SYS___TFORK = 8 // { int sys___tfork(const struct __tfork *param, \
122022+ SYS_GETENTROPY = 7 // { int sys_getentropy(void *buf, size_t nbyte); }
122023+ SYS___TFORK = 8 // { int sys___tfork(const struct __tfork *param, size_t psize); }
122024 SYS_LINK = 9 // { int sys_link(const char *path, const char *link); }
122025 SYS_UNLINK = 10 // { int sys_unlink(const char *path); }
122026- SYS_WAIT4 = 11 // { pid_t sys_wait4(pid_t pid, int *status, \
122027+ SYS_WAIT4 = 11 // { pid_t sys_wait4(pid_t pid, int *status, int options, struct rusage *rusage); }
122028 SYS_CHDIR = 12 // { int sys_chdir(const char *path); }
122029 SYS_FCHDIR = 13 // { int sys_fchdir(int fd); }
122030- SYS_MKNOD = 14 // { int sys_mknod(const char *path, mode_t mode, \
122031+ SYS_MKNOD = 14 // { int sys_mknod(const char *path, mode_t mode, dev_t dev); }
122032 SYS_CHMOD = 15 // { int sys_chmod(const char *path, mode_t mode); }
122033- SYS_CHOWN = 16 // { int sys_chown(const char *path, uid_t uid, \
122034+ SYS_CHOWN = 16 // { int sys_chown(const char *path, uid_t uid, gid_t gid); }
122035 SYS_OBREAK = 17 // { int sys_obreak(char *nsize); } break
122036 SYS_GETDTABLECOUNT = 18 // { int sys_getdtablecount(void); }
122037- SYS_GETRUSAGE = 19 // { int sys_getrusage(int who, \
122038+ SYS_GETRUSAGE = 19 // { int sys_getrusage(int who, struct rusage *rusage); }
122039 SYS_GETPID = 20 // { pid_t sys_getpid(void); }
122040- SYS_MOUNT = 21 // { int sys_mount(const char *type, const char *path, \
122041+ SYS_MOUNT = 21 // { int sys_mount(const char *type, const char *path, int flags, void *data); }
122042 SYS_UNMOUNT = 22 // { int sys_unmount(const char *path, int flags); }
122043 SYS_SETUID = 23 // { int sys_setuid(uid_t uid); }
122044 SYS_GETUID = 24 // { uid_t sys_getuid(void); }
122045 SYS_GETEUID = 25 // { uid_t sys_geteuid(void); }
122046- SYS_PTRACE = 26 // { int sys_ptrace(int req, pid_t pid, caddr_t addr, \
122047- SYS_RECVMSG = 27 // { ssize_t sys_recvmsg(int s, struct msghdr *msg, \
122048- SYS_SENDMSG = 28 // { ssize_t sys_sendmsg(int s, \
122049- SYS_RECVFROM = 29 // { ssize_t sys_recvfrom(int s, void *buf, size_t len, \
122050- SYS_ACCEPT = 30 // { int sys_accept(int s, struct sockaddr *name, \
122051- SYS_GETPEERNAME = 31 // { int sys_getpeername(int fdes, struct sockaddr *asa, \
122052- SYS_GETSOCKNAME = 32 // { int sys_getsockname(int fdes, struct sockaddr *asa, \
122053- SYS_ACCESS = 33 // { int sys_access(const char *path, int flags); }
122054+ SYS_PTRACE = 26 // { int sys_ptrace(int req, pid_t pid, caddr_t addr, int data); }
122055+ SYS_RECVMSG = 27 // { ssize_t sys_recvmsg(int s, struct msghdr *msg, int flags); }
122056+ SYS_SENDMSG = 28 // { ssize_t sys_sendmsg(int s, const struct msghdr *msg, int flags); }
122057+ SYS_RECVFROM = 29 // { ssize_t sys_recvfrom(int s, void *buf, size_t len, int flags, struct sockaddr *from, socklen_t *fromlenaddr); }
122058+ SYS_ACCEPT = 30 // { int sys_accept(int s, struct sockaddr *name, socklen_t *anamelen); }
122059+ SYS_GETPEERNAME = 31 // { int sys_getpeername(int fdes, struct sockaddr *asa, socklen_t *alen); }
122060+ SYS_GETSOCKNAME = 32 // { int sys_getsockname(int fdes, struct sockaddr *asa, socklen_t *alen); }
122061+ SYS_ACCESS = 33 // { int sys_access(const char *path, int amode); }
122062 SYS_CHFLAGS = 34 // { int sys_chflags(const char *path, u_int flags); }
122063 SYS_FCHFLAGS = 35 // { int sys_fchflags(int fd, u_int flags); }
122064 SYS_SYNC = 36 // { void sys_sync(void); }
122065- SYS_KILL = 37 // { int sys_kill(int pid, int signum); }
122066 SYS_STAT = 38 // { int sys_stat(const char *path, struct stat *ub); }
122067 SYS_GETPPID = 39 // { pid_t sys_getppid(void); }
122068 SYS_LSTAT = 40 // { int sys_lstat(const char *path, struct stat *ub); }
122069 SYS_DUP = 41 // { int sys_dup(int fd); }
122070- SYS_FSTATAT = 42 // { int sys_fstatat(int fd, const char *path, \
122071+ SYS_FSTATAT = 42 // { int sys_fstatat(int fd, const char *path, struct stat *buf, int flag); }
122072 SYS_GETEGID = 43 // { gid_t sys_getegid(void); }
122073- SYS_PROFIL = 44 // { int sys_profil(caddr_t samples, size_t size, \
122074- SYS_KTRACE = 45 // { int sys_ktrace(const char *fname, int ops, \
122075- SYS_SIGACTION = 46 // { int sys_sigaction(int signum, \
122076+ SYS_PROFIL = 44 // { int sys_profil(caddr_t samples, size_t size, u_long offset, u_int scale); }
122077+ SYS_KTRACE = 45 // { int sys_ktrace(const char *fname, int ops, int facs, pid_t pid); }
122078+ SYS_SIGACTION = 46 // { int sys_sigaction(int signum, const struct sigaction *nsa, struct sigaction *osa); }
122079 SYS_GETGID = 47 // { gid_t sys_getgid(void); }
122080 SYS_SIGPROCMASK = 48 // { int sys_sigprocmask(int how, sigset_t mask); }
122081- SYS_GETLOGIN = 49 // { int sys_getlogin(char *namebuf, u_int namelen); }
122082 SYS_SETLOGIN = 50 // { int sys_setlogin(const char *namebuf); }
122083 SYS_ACCT = 51 // { int sys_acct(const char *path); }
122084 SYS_SIGPENDING = 52 // { int sys_sigpending(void); }
122085 SYS_FSTAT = 53 // { int sys_fstat(int fd, struct stat *sb); }
122086- SYS_IOCTL = 54 // { int sys_ioctl(int fd, \
122087+ SYS_IOCTL = 54 // { int sys_ioctl(int fd, u_long com, ... void *data); }
122088 SYS_REBOOT = 55 // { int sys_reboot(int opt); }
122089 SYS_REVOKE = 56 // { int sys_revoke(const char *path); }
122090- SYS_SYMLINK = 57 // { int sys_symlink(const char *path, \
122091- SYS_READLINK = 58 // { int sys_readlink(const char *path, char *buf, \
122092- SYS_EXECVE = 59 // { int sys_execve(const char *path, \
122093+ SYS_SYMLINK = 57 // { int sys_symlink(const char *path, const char *link); }
122094+ SYS_READLINK = 58 // { ssize_t sys_readlink(const char *path, char *buf, size_t count); }
122095+ SYS_EXECVE = 59 // { int sys_execve(const char *path, char * const *argp, char * const *envp); }
122096 SYS_UMASK = 60 // { mode_t sys_umask(mode_t newmask); }
122097 SYS_CHROOT = 61 // { int sys_chroot(const char *path); }
122098- SYS_GETFSSTAT = 62 // { int sys_getfsstat(struct statfs *buf, size_t bufsize, \
122099- SYS_STATFS = 63 // { int sys_statfs(const char *path, \
122100+ SYS_GETFSSTAT = 62 // { int sys_getfsstat(struct statfs *buf, size_t bufsize, int flags); }
122101+ SYS_STATFS = 63 // { int sys_statfs(const char *path, struct statfs *buf); }
122102 SYS_FSTATFS = 64 // { int sys_fstatfs(int fd, struct statfs *buf); }
122103- SYS_FHSTATFS = 65 // { int sys_fhstatfs(const fhandle_t *fhp, \
122104+ SYS_FHSTATFS = 65 // { int sys_fhstatfs(const fhandle_t *fhp, struct statfs *buf); }
122105 SYS_VFORK = 66 // { int sys_vfork(void); }
122106- SYS_GETTIMEOFDAY = 67 // { int sys_gettimeofday(struct timeval *tp, \
122107- SYS_SETTIMEOFDAY = 68 // { int sys_settimeofday(const struct timeval *tv, \
122108- SYS_SETITIMER = 69 // { int sys_setitimer(int which, \
122109- SYS_GETITIMER = 70 // { int sys_getitimer(int which, \
122110- SYS_SELECT = 71 // { int sys_select(int nd, fd_set *in, fd_set *ou, \
122111- SYS_KEVENT = 72 // { int sys_kevent(int fd, \
122112+ SYS_GETTIMEOFDAY = 67 // { int sys_gettimeofday(struct timeval *tp, struct timezone *tzp); }
122113+ SYS_SETTIMEOFDAY = 68 // { int sys_settimeofday(const struct timeval *tv, const struct timezone *tzp); }
122114+ SYS_SETITIMER = 69 // { int sys_setitimer(int which, const struct itimerval *itv, struct itimerval *oitv); }
122115+ SYS_GETITIMER = 70 // { int sys_getitimer(int which, struct itimerval *itv); }
122116+ SYS_SELECT = 71 // { int sys_select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); }
122117+ SYS_KEVENT = 72 // { int sys_kevent(int fd, const struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); }
122118 SYS_MUNMAP = 73 // { int sys_munmap(void *addr, size_t len); }
122119- SYS_MPROTECT = 74 // { int sys_mprotect(void *addr, size_t len, \
122120- SYS_MADVISE = 75 // { int sys_madvise(void *addr, size_t len, \
122121- SYS_UTIMES = 76 // { int sys_utimes(const char *path, \
122122- SYS_FUTIMES = 77 // { int sys_futimes(int fd, \
122123- SYS_MINCORE = 78 // { int sys_mincore(void *addr, size_t len, \
122124- SYS_GETGROUPS = 79 // { int sys_getgroups(int gidsetsize, \
122125- SYS_SETGROUPS = 80 // { int sys_setgroups(int gidsetsize, \
122126+ SYS_MPROTECT = 74 // { int sys_mprotect(void *addr, size_t len, int prot); }
122127+ SYS_MADVISE = 75 // { int sys_madvise(void *addr, size_t len, int behav); }
122128+ SYS_UTIMES = 76 // { int sys_utimes(const char *path, const struct timeval *tptr); }
122129+ SYS_FUTIMES = 77 // { int sys_futimes(int fd, const struct timeval *tptr); }
122130+ SYS_MINCORE = 78 // { int sys_mincore(void *addr, size_t len, char *vec); }
122131+ SYS_GETGROUPS = 79 // { int sys_getgroups(int gidsetsize, gid_t *gidset); }
122132+ SYS_SETGROUPS = 80 // { int sys_setgroups(int gidsetsize, const gid_t *gidset); }
122133 SYS_GETPGRP = 81 // { int sys_getpgrp(void); }
122134- SYS_SETPGID = 82 // { int sys_setpgid(pid_t pid, int pgid); }
122135- SYS_UTIMENSAT = 84 // { int sys_utimensat(int fd, const char *path, \
122136- SYS_FUTIMENS = 85 // { int sys_futimens(int fd, \
122137- SYS_CLOCK_GETTIME = 87 // { int sys_clock_gettime(clockid_t clock_id, \
122138- SYS_CLOCK_SETTIME = 88 // { int sys_clock_settime(clockid_t clock_id, \
122139- SYS_CLOCK_GETRES = 89 // { int sys_clock_getres(clockid_t clock_id, \
122140+ SYS_SETPGID = 82 // { int sys_setpgid(pid_t pid, pid_t pgid); }
122141+ SYS_FUTEX = 83 // { int sys_futex(uint32_t *f, int op, int val, const struct timespec *timeout, uint32_t *g); }
122142+ SYS_UTIMENSAT = 84 // { int sys_utimensat(int fd, const char *path, const struct timespec *times, int flag); }
122143+ SYS_FUTIMENS = 85 // { int sys_futimens(int fd, const struct timespec *times); }
122144+ SYS_KBIND = 86 // { int sys_kbind(const struct __kbind *param, size_t psize, int64_t proc_cookie); }
122145+ SYS_CLOCK_GETTIME = 87 // { int sys_clock_gettime(clockid_t clock_id, struct timespec *tp); }
122146+ SYS_CLOCK_SETTIME = 88 // { int sys_clock_settime(clockid_t clock_id, const struct timespec *tp); }
122147+ SYS_CLOCK_GETRES = 89 // { int sys_clock_getres(clockid_t clock_id, struct timespec *tp); }
122148 SYS_DUP2 = 90 // { int sys_dup2(int from, int to); }
122149- SYS_NANOSLEEP = 91 // { int sys_nanosleep(const struct timespec *rqtp, \
122150+ SYS_NANOSLEEP = 91 // { int sys_nanosleep(const struct timespec *rqtp, struct timespec *rmtp); }
122151 SYS_FCNTL = 92 // { int sys_fcntl(int fd, int cmd, ... void *arg); }
122152- SYS___THRSLEEP = 94 // { int sys___thrsleep(const volatile void *ident, \
122153+ SYS_ACCEPT4 = 93 // { int sys_accept4(int s, struct sockaddr *name, socklen_t *anamelen, int flags); }
122154+ SYS___THRSLEEP = 94 // { int sys___thrsleep(const volatile void *ident, clockid_t clock_id, const struct timespec *tp, void *lock, const int *abort); }
122155 SYS_FSYNC = 95 // { int sys_fsync(int fd); }
122156 SYS_SETPRIORITY = 96 // { int sys_setpriority(int which, id_t who, int prio); }
122157 SYS_SOCKET = 97 // { int sys_socket(int domain, int type, int protocol); }
122158- SYS_CONNECT = 98 // { int sys_connect(int s, const struct sockaddr *name, \
122159+ SYS_CONNECT = 98 // { int sys_connect(int s, const struct sockaddr *name, socklen_t namelen); }
122160 SYS_GETDENTS = 99 // { int sys_getdents(int fd, void *buf, size_t buflen); }
122161 SYS_GETPRIORITY = 100 // { int sys_getpriority(int which, id_t who); }
122162+ SYS_PIPE2 = 101 // { int sys_pipe2(int *fdp, int flags); }
122163+ SYS_DUP3 = 102 // { int sys_dup3(int from, int to, int flags); }
122164 SYS_SIGRETURN = 103 // { int sys_sigreturn(struct sigcontext *sigcntxp); }
122165- SYS_BIND = 104 // { int sys_bind(int s, const struct sockaddr *name, \
122166- SYS_SETSOCKOPT = 105 // { int sys_setsockopt(int s, int level, int name, \
122167+ SYS_BIND = 104 // { int sys_bind(int s, const struct sockaddr *name, socklen_t namelen); }
122168+ SYS_SETSOCKOPT = 105 // { int sys_setsockopt(int s, int level, int name, const void *val, socklen_t valsize); }
122169 SYS_LISTEN = 106 // { int sys_listen(int s, int backlog); }
122170- SYS_PPOLL = 109 // { int sys_ppoll(struct pollfd *fds, \
122171- SYS_PSELECT = 110 // { int sys_pselect(int nd, fd_set *in, fd_set *ou, \
122172+ SYS_CHFLAGSAT = 107 // { int sys_chflagsat(int fd, const char *path, u_int flags, int atflags); }
122173+ SYS_PLEDGE = 108 // { int sys_pledge(const char *promises, const char *execpromises); }
122174+ SYS_PPOLL = 109 // { int sys_ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *mask); }
122175+ SYS_PSELECT = 110 // { int sys_pselect(int nd, fd_set *in, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *mask); }
122176 SYS_SIGSUSPEND = 111 // { int sys_sigsuspend(int mask); }
122177- SYS_GETSOCKOPT = 118 // { int sys_getsockopt(int s, int level, int name, \
122178- SYS_READV = 120 // { ssize_t sys_readv(int fd, \
122179- SYS_WRITEV = 121 // { ssize_t sys_writev(int fd, \
122180+ SYS_SENDSYSLOG = 112 // { int sys_sendsyslog(const char *buf, size_t nbyte, int flags); }
122181+ SYS_UNVEIL = 114 // { int sys_unveil(const char *path, const char *permissions); }
122182+ SYS_GETSOCKOPT = 118 // { int sys_getsockopt(int s, int level, int name, void *val, socklen_t *avalsize); }
122183+ SYS_THRKILL = 119 // { int sys_thrkill(pid_t tid, int signum, void *tcb); }
122184+ SYS_READV = 120 // { ssize_t sys_readv(int fd, const struct iovec *iovp, int iovcnt); }
122185+ SYS_WRITEV = 121 // { ssize_t sys_writev(int fd, const struct iovec *iovp, int iovcnt); }
122186+ SYS_KILL = 122 // { int sys_kill(int pid, int signum); }
122187 SYS_FCHOWN = 123 // { int sys_fchown(int fd, uid_t uid, gid_t gid); }
122188 SYS_FCHMOD = 124 // { int sys_fchmod(int fd, mode_t mode); }
122189 SYS_SETREUID = 126 // { int sys_setreuid(uid_t ruid, uid_t euid); }
122190@@ -119,89 +129,90 @@ const (
122191 SYS_RENAME = 128 // { int sys_rename(const char *from, const char *to); }
122192 SYS_FLOCK = 131 // { int sys_flock(int fd, int how); }
122193 SYS_MKFIFO = 132 // { int sys_mkfifo(const char *path, mode_t mode); }
122194- SYS_SENDTO = 133 // { ssize_t sys_sendto(int s, const void *buf, \
122195+ SYS_SENDTO = 133 // { ssize_t sys_sendto(int s, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen); }
122196 SYS_SHUTDOWN = 134 // { int sys_shutdown(int s, int how); }
122197- SYS_SOCKETPAIR = 135 // { int sys_socketpair(int domain, int type, \
122198+ SYS_SOCKETPAIR = 135 // { int sys_socketpair(int domain, int type, int protocol, int *rsv); }
122199 SYS_MKDIR = 136 // { int sys_mkdir(const char *path, mode_t mode); }
122200 SYS_RMDIR = 137 // { int sys_rmdir(const char *path); }
122201- SYS_ADJTIME = 140 // { int sys_adjtime(const struct timeval *delta, \
122202+ SYS_ADJTIME = 140 // { int sys_adjtime(const struct timeval *delta, struct timeval *olddelta); }
122203+ SYS_GETLOGIN_R = 141 // { int sys_getlogin_r(char *namebuf, u_int namelen); }
122204 SYS_SETSID = 147 // { int sys_setsid(void); }
122205- SYS_QUOTACTL = 148 // { int sys_quotactl(const char *path, int cmd, \
122206+ SYS_QUOTACTL = 148 // { int sys_quotactl(const char *path, int cmd, int uid, char *arg); }
122207 SYS_NFSSVC = 155 // { int sys_nfssvc(int flag, void *argp); }
122208 SYS_GETFH = 161 // { int sys_getfh(const char *fname, fhandle_t *fhp); }
122209 SYS_SYSARCH = 165 // { int sys_sysarch(int op, void *parms); }
122210- SYS_PREAD = 173 // { ssize_t sys_pread(int fd, void *buf, \
122211- SYS_PWRITE = 174 // { ssize_t sys_pwrite(int fd, const void *buf, \
122212+ SYS_PREAD = 173 // { ssize_t sys_pread(int fd, void *buf, size_t nbyte, int pad, off_t offset); }
122213+ SYS_PWRITE = 174 // { ssize_t sys_pwrite(int fd, const void *buf, size_t nbyte, int pad, off_t offset); }
122214 SYS_SETGID = 181 // { int sys_setgid(gid_t gid); }
122215 SYS_SETEGID = 182 // { int sys_setegid(gid_t egid); }
122216 SYS_SETEUID = 183 // { int sys_seteuid(uid_t euid); }
122217 SYS_PATHCONF = 191 // { long sys_pathconf(const char *path, int name); }
122218 SYS_FPATHCONF = 192 // { long sys_fpathconf(int fd, int name); }
122219 SYS_SWAPCTL = 193 // { int sys_swapctl(int cmd, const void *arg, int misc); }
122220- SYS_GETRLIMIT = 194 // { int sys_getrlimit(int which, \
122221- SYS_SETRLIMIT = 195 // { int sys_setrlimit(int which, \
122222- SYS_MMAP = 197 // { void *sys_mmap(void *addr, size_t len, int prot, \
122223- SYS_LSEEK = 199 // { off_t sys_lseek(int fd, int pad, off_t offset, \
122224- SYS_TRUNCATE = 200 // { int sys_truncate(const char *path, int pad, \
122225+ SYS_GETRLIMIT = 194 // { int sys_getrlimit(int which, struct rlimit *rlp); }
122226+ SYS_SETRLIMIT = 195 // { int sys_setrlimit(int which, const struct rlimit *rlp); }
122227+ SYS_MMAP = 197 // { void *sys_mmap(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); }
122228+ SYS_LSEEK = 199 // { off_t sys_lseek(int fd, int pad, off_t offset, int whence); }
122229+ SYS_TRUNCATE = 200 // { int sys_truncate(const char *path, int pad, off_t length); }
122230 SYS_FTRUNCATE = 201 // { int sys_ftruncate(int fd, int pad, off_t length); }
122231- SYS___SYSCTL = 202 // { int sys___sysctl(const int *name, u_int namelen, \
122232+ SYS_SYSCTL = 202 // { int sys_sysctl(const int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); }
122233 SYS_MLOCK = 203 // { int sys_mlock(const void *addr, size_t len); }
122234 SYS_MUNLOCK = 204 // { int sys_munlock(const void *addr, size_t len); }
122235 SYS_GETPGID = 207 // { pid_t sys_getpgid(pid_t pid); }
122236- SYS_UTRACE = 209 // { int sys_utrace(const char *label, const void *addr, \
122237+ SYS_UTRACE = 209 // { int sys_utrace(const char *label, const void *addr, size_t len); }
122238 SYS_SEMGET = 221 // { int sys_semget(key_t key, int nsems, int semflg); }
122239 SYS_MSGGET = 225 // { int sys_msgget(key_t key, int msgflg); }
122240- SYS_MSGSND = 226 // { int sys_msgsnd(int msqid, const void *msgp, size_t msgsz, \
122241- SYS_MSGRCV = 227 // { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, \
122242- SYS_SHMAT = 228 // { void *sys_shmat(int shmid, const void *shmaddr, \
122243+ SYS_MSGSND = 226 // { int sys_msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); }
122244+ SYS_MSGRCV = 227 // { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
122245+ SYS_SHMAT = 228 // { void *sys_shmat(int shmid, const void *shmaddr, int shmflg); }
122246 SYS_SHMDT = 230 // { int sys_shmdt(const void *shmaddr); }
122247- SYS_MINHERIT = 250 // { int sys_minherit(void *addr, size_t len, \
122248- SYS_POLL = 252 // { int sys_poll(struct pollfd *fds, \
122249+ SYS_MINHERIT = 250 // { int sys_minherit(void *addr, size_t len, int inherit); }
122250+ SYS_POLL = 252 // { int sys_poll(struct pollfd *fds, u_int nfds, int timeout); }
122251 SYS_ISSETUGID = 253 // { int sys_issetugid(void); }
122252 SYS_LCHOWN = 254 // { int sys_lchown(const char *path, uid_t uid, gid_t gid); }
122253 SYS_GETSID = 255 // { pid_t sys_getsid(pid_t pid); }
122254 SYS_MSYNC = 256 // { int sys_msync(void *addr, size_t len, int flags); }
122255 SYS_PIPE = 263 // { int sys_pipe(int *fdp); }
122256 SYS_FHOPEN = 264 // { int sys_fhopen(const fhandle_t *fhp, int flags); }
122257- SYS_PREADV = 267 // { ssize_t sys_preadv(int fd, \
122258- SYS_PWRITEV = 268 // { ssize_t sys_pwritev(int fd, \
122259+ SYS_PREADV = 267 // { ssize_t sys_preadv(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); }
122260+ SYS_PWRITEV = 268 // { ssize_t sys_pwritev(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); }
122261 SYS_KQUEUE = 269 // { int sys_kqueue(void); }
122262 SYS_MLOCKALL = 271 // { int sys_mlockall(int flags); }
122263 SYS_MUNLOCKALL = 272 // { int sys_munlockall(void); }
122264- SYS_GETRESUID = 281 // { int sys_getresuid(uid_t *ruid, uid_t *euid, \
122265- SYS_SETRESUID = 282 // { int sys_setresuid(uid_t ruid, uid_t euid, \
122266- SYS_GETRESGID = 283 // { int sys_getresgid(gid_t *rgid, gid_t *egid, \
122267- SYS_SETRESGID = 284 // { int sys_setresgid(gid_t rgid, gid_t egid, \
122268- SYS_MQUERY = 286 // { void *sys_mquery(void *addr, size_t len, int prot, \
122269+ SYS_GETRESUID = 281 // { int sys_getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); }
122270+ SYS_SETRESUID = 282 // { int sys_setresuid(uid_t ruid, uid_t euid, uid_t suid); }
122271+ SYS_GETRESGID = 283 // { int sys_getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
122272+ SYS_SETRESGID = 284 // { int sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
122273+ SYS_MQUERY = 286 // { void *sys_mquery(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); }
122274 SYS_CLOSEFROM = 287 // { int sys_closefrom(int fd); }
122275- SYS_SIGALTSTACK = 288 // { int sys_sigaltstack(const struct sigaltstack *nss, \
122276+ SYS_SIGALTSTACK = 288 // { int sys_sigaltstack(const struct sigaltstack *nss, struct sigaltstack *oss); }
122277 SYS_SHMGET = 289 // { int sys_shmget(key_t key, size_t size, int shmflg); }
122278- SYS_SEMOP = 290 // { int sys_semop(int semid, struct sembuf *sops, \
122279- SYS_FHSTAT = 294 // { int sys_fhstat(const fhandle_t *fhp, \
122280- SYS___SEMCTL = 295 // { int sys___semctl(int semid, int semnum, int cmd, \
122281- SYS_SHMCTL = 296 // { int sys_shmctl(int shmid, int cmd, \
122282- SYS_MSGCTL = 297 // { int sys_msgctl(int msqid, int cmd, \
122283+ SYS_SEMOP = 290 // { int sys_semop(int semid, struct sembuf *sops, size_t nsops); }
122284+ SYS_FHSTAT = 294 // { int sys_fhstat(const fhandle_t *fhp, struct stat *sb); }
122285+ SYS___SEMCTL = 295 // { int sys___semctl(int semid, int semnum, int cmd, union semun *arg); }
122286+ SYS_SHMCTL = 296 // { int sys_shmctl(int shmid, int cmd, struct shmid_ds *buf); }
122287+ SYS_MSGCTL = 297 // { int sys_msgctl(int msqid, int cmd, struct msqid_ds *buf); }
122288 SYS_SCHED_YIELD = 298 // { int sys_sched_yield(void); }
122289 SYS_GETTHRID = 299 // { pid_t sys_getthrid(void); }
122290- SYS___THRWAKEUP = 301 // { int sys___thrwakeup(const volatile void *ident, \
122291+ SYS___THRWAKEUP = 301 // { int sys___thrwakeup(const volatile void *ident, int n); }
122292 SYS___THREXIT = 302 // { void sys___threxit(pid_t *notdead); }
122293- SYS___THRSIGDIVERT = 303 // { int sys___thrsigdivert(sigset_t sigmask, \
122294+ SYS___THRSIGDIVERT = 303 // { int sys___thrsigdivert(sigset_t sigmask, siginfo_t *info, const struct timespec *timeout); }
122295 SYS___GETCWD = 304 // { int sys___getcwd(char *buf, size_t len); }
122296- SYS_ADJFREQ = 305 // { int sys_adjfreq(const int64_t *freq, \
122297+ SYS_ADJFREQ = 305 // { int sys_adjfreq(const int64_t *freq, int64_t *oldfreq); }
122298 SYS_SETRTABLE = 310 // { int sys_setrtable(int rtableid); }
122299 SYS_GETRTABLE = 311 // { int sys_getrtable(void); }
122300- SYS_FACCESSAT = 313 // { int sys_faccessat(int fd, const char *path, \
122301- SYS_FCHMODAT = 314 // { int sys_fchmodat(int fd, const char *path, \
122302- SYS_FCHOWNAT = 315 // { int sys_fchownat(int fd, const char *path, \
122303- SYS_LINKAT = 317 // { int sys_linkat(int fd1, const char *path1, int fd2, \
122304- SYS_MKDIRAT = 318 // { int sys_mkdirat(int fd, const char *path, \
122305- SYS_MKFIFOAT = 319 // { int sys_mkfifoat(int fd, const char *path, \
122306- SYS_MKNODAT = 320 // { int sys_mknodat(int fd, const char *path, \
122307- SYS_OPENAT = 321 // { int sys_openat(int fd, const char *path, int flags, \
122308- SYS_READLINKAT = 322 // { ssize_t sys_readlinkat(int fd, const char *path, \
122309- SYS_RENAMEAT = 323 // { int sys_renameat(int fromfd, const char *from, \
122310- SYS_SYMLINKAT = 324 // { int sys_symlinkat(const char *path, int fd, \
122311- SYS_UNLINKAT = 325 // { int sys_unlinkat(int fd, const char *path, \
122312+ SYS_FACCESSAT = 313 // { int sys_faccessat(int fd, const char *path, int amode, int flag); }
122313+ SYS_FCHMODAT = 314 // { int sys_fchmodat(int fd, const char *path, mode_t mode, int flag); }
122314+ SYS_FCHOWNAT = 315 // { int sys_fchownat(int fd, const char *path, uid_t uid, gid_t gid, int flag); }
122315+ SYS_LINKAT = 317 // { int sys_linkat(int fd1, const char *path1, int fd2, const char *path2, int flag); }
122316+ SYS_MKDIRAT = 318 // { int sys_mkdirat(int fd, const char *path, mode_t mode); }
122317+ SYS_MKFIFOAT = 319 // { int sys_mkfifoat(int fd, const char *path, mode_t mode); }
122318+ SYS_MKNODAT = 320 // { int sys_mknodat(int fd, const char *path, mode_t mode, dev_t dev); }
122319+ SYS_OPENAT = 321 // { int sys_openat(int fd, const char *path, int flags, ... mode_t mode); }
122320+ SYS_READLINKAT = 322 // { ssize_t sys_readlinkat(int fd, const char *path, char *buf, size_t count); }
122321+ SYS_RENAMEAT = 323 // { int sys_renameat(int fromfd, const char *from, int tofd, const char *to); }
122322+ SYS_SYMLINKAT = 324 // { int sys_symlinkat(const char *path, int fd, const char *link); }
122323+ SYS_UNLINKAT = 325 // { int sys_unlinkat(int fd, const char *path, int flag); }
122324 SYS___SET_TCB = 329 // { void sys___set_tcb(void *tcb); }
122325 SYS___GET_TCB = 330 // { void *sys___get_tcb(void); }
122326 )
122327diff --git a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go
122328index bd28146d..f0dec6f0 100644
122329--- a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go
122330+++ b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go
122331@@ -1,5 +1,5 @@
122332-// mksysnum_openbsd.pl
122333-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
122334+// go run mksysnum.go https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master
122335+// Code generated by the command above; see README.md. DO NOT EDIT.
122336
122337 // +build amd64,openbsd
122338
122339@@ -9,109 +9,119 @@ const (
122340 SYS_EXIT = 1 // { void sys_exit(int rval); }
122341 SYS_FORK = 2 // { int sys_fork(void); }
122342 SYS_READ = 3 // { ssize_t sys_read(int fd, void *buf, size_t nbyte); }
122343- SYS_WRITE = 4 // { ssize_t sys_write(int fd, const void *buf, \
122344- SYS_OPEN = 5 // { int sys_open(const char *path, \
122345+ SYS_WRITE = 4 // { ssize_t sys_write(int fd, const void *buf, size_t nbyte); }
122346+ SYS_OPEN = 5 // { int sys_open(const char *path, int flags, ... mode_t mode); }
122347 SYS_CLOSE = 6 // { int sys_close(int fd); }
122348- SYS___TFORK = 8 // { int sys___tfork(const struct __tfork *param, \
122349+ SYS_GETENTROPY = 7 // { int sys_getentropy(void *buf, size_t nbyte); }
122350+ SYS___TFORK = 8 // { int sys___tfork(const struct __tfork *param, size_t psize); }
122351 SYS_LINK = 9 // { int sys_link(const char *path, const char *link); }
122352 SYS_UNLINK = 10 // { int sys_unlink(const char *path); }
122353- SYS_WAIT4 = 11 // { pid_t sys_wait4(pid_t pid, int *status, \
122354+ SYS_WAIT4 = 11 // { pid_t sys_wait4(pid_t pid, int *status, int options, struct rusage *rusage); }
122355 SYS_CHDIR = 12 // { int sys_chdir(const char *path); }
122356 SYS_FCHDIR = 13 // { int sys_fchdir(int fd); }
122357- SYS_MKNOD = 14 // { int sys_mknod(const char *path, mode_t mode, \
122358+ SYS_MKNOD = 14 // { int sys_mknod(const char *path, mode_t mode, dev_t dev); }
122359 SYS_CHMOD = 15 // { int sys_chmod(const char *path, mode_t mode); }
122360- SYS_CHOWN = 16 // { int sys_chown(const char *path, uid_t uid, \
122361+ SYS_CHOWN = 16 // { int sys_chown(const char *path, uid_t uid, gid_t gid); }
122362 SYS_OBREAK = 17 // { int sys_obreak(char *nsize); } break
122363 SYS_GETDTABLECOUNT = 18 // { int sys_getdtablecount(void); }
122364- SYS_GETRUSAGE = 19 // { int sys_getrusage(int who, \
122365+ SYS_GETRUSAGE = 19 // { int sys_getrusage(int who, struct rusage *rusage); }
122366 SYS_GETPID = 20 // { pid_t sys_getpid(void); }
122367- SYS_MOUNT = 21 // { int sys_mount(const char *type, const char *path, \
122368+ SYS_MOUNT = 21 // { int sys_mount(const char *type, const char *path, int flags, void *data); }
122369 SYS_UNMOUNT = 22 // { int sys_unmount(const char *path, int flags); }
122370 SYS_SETUID = 23 // { int sys_setuid(uid_t uid); }
122371 SYS_GETUID = 24 // { uid_t sys_getuid(void); }
122372 SYS_GETEUID = 25 // { uid_t sys_geteuid(void); }
122373- SYS_PTRACE = 26 // { int sys_ptrace(int req, pid_t pid, caddr_t addr, \
122374- SYS_RECVMSG = 27 // { ssize_t sys_recvmsg(int s, struct msghdr *msg, \
122375- SYS_SENDMSG = 28 // { ssize_t sys_sendmsg(int s, \
122376- SYS_RECVFROM = 29 // { ssize_t sys_recvfrom(int s, void *buf, size_t len, \
122377- SYS_ACCEPT = 30 // { int sys_accept(int s, struct sockaddr *name, \
122378- SYS_GETPEERNAME = 31 // { int sys_getpeername(int fdes, struct sockaddr *asa, \
122379- SYS_GETSOCKNAME = 32 // { int sys_getsockname(int fdes, struct sockaddr *asa, \
122380- SYS_ACCESS = 33 // { int sys_access(const char *path, int flags); }
122381+ SYS_PTRACE = 26 // { int sys_ptrace(int req, pid_t pid, caddr_t addr, int data); }
122382+ SYS_RECVMSG = 27 // { ssize_t sys_recvmsg(int s, struct msghdr *msg, int flags); }
122383+ SYS_SENDMSG = 28 // { ssize_t sys_sendmsg(int s, const struct msghdr *msg, int flags); }
122384+ SYS_RECVFROM = 29 // { ssize_t sys_recvfrom(int s, void *buf, size_t len, int flags, struct sockaddr *from, socklen_t *fromlenaddr); }
122385+ SYS_ACCEPT = 30 // { int sys_accept(int s, struct sockaddr *name, socklen_t *anamelen); }
122386+ SYS_GETPEERNAME = 31 // { int sys_getpeername(int fdes, struct sockaddr *asa, socklen_t *alen); }
122387+ SYS_GETSOCKNAME = 32 // { int sys_getsockname(int fdes, struct sockaddr *asa, socklen_t *alen); }
122388+ SYS_ACCESS = 33 // { int sys_access(const char *path, int amode); }
122389 SYS_CHFLAGS = 34 // { int sys_chflags(const char *path, u_int flags); }
122390 SYS_FCHFLAGS = 35 // { int sys_fchflags(int fd, u_int flags); }
122391 SYS_SYNC = 36 // { void sys_sync(void); }
122392- SYS_KILL = 37 // { int sys_kill(int pid, int signum); }
122393 SYS_STAT = 38 // { int sys_stat(const char *path, struct stat *ub); }
122394 SYS_GETPPID = 39 // { pid_t sys_getppid(void); }
122395 SYS_LSTAT = 40 // { int sys_lstat(const char *path, struct stat *ub); }
122396 SYS_DUP = 41 // { int sys_dup(int fd); }
122397- SYS_FSTATAT = 42 // { int sys_fstatat(int fd, const char *path, \
122398+ SYS_FSTATAT = 42 // { int sys_fstatat(int fd, const char *path, struct stat *buf, int flag); }
122399 SYS_GETEGID = 43 // { gid_t sys_getegid(void); }
122400- SYS_PROFIL = 44 // { int sys_profil(caddr_t samples, size_t size, \
122401- SYS_KTRACE = 45 // { int sys_ktrace(const char *fname, int ops, \
122402- SYS_SIGACTION = 46 // { int sys_sigaction(int signum, \
122403+ SYS_PROFIL = 44 // { int sys_profil(caddr_t samples, size_t size, u_long offset, u_int scale); }
122404+ SYS_KTRACE = 45 // { int sys_ktrace(const char *fname, int ops, int facs, pid_t pid); }
122405+ SYS_SIGACTION = 46 // { int sys_sigaction(int signum, const struct sigaction *nsa, struct sigaction *osa); }
122406 SYS_GETGID = 47 // { gid_t sys_getgid(void); }
122407 SYS_SIGPROCMASK = 48 // { int sys_sigprocmask(int how, sigset_t mask); }
122408- SYS_GETLOGIN = 49 // { int sys_getlogin(char *namebuf, u_int namelen); }
122409 SYS_SETLOGIN = 50 // { int sys_setlogin(const char *namebuf); }
122410 SYS_ACCT = 51 // { int sys_acct(const char *path); }
122411 SYS_SIGPENDING = 52 // { int sys_sigpending(void); }
122412 SYS_FSTAT = 53 // { int sys_fstat(int fd, struct stat *sb); }
122413- SYS_IOCTL = 54 // { int sys_ioctl(int fd, \
122414+ SYS_IOCTL = 54 // { int sys_ioctl(int fd, u_long com, ... void *data); }
122415 SYS_REBOOT = 55 // { int sys_reboot(int opt); }
122416 SYS_REVOKE = 56 // { int sys_revoke(const char *path); }
122417- SYS_SYMLINK = 57 // { int sys_symlink(const char *path, \
122418- SYS_READLINK = 58 // { int sys_readlink(const char *path, char *buf, \
122419- SYS_EXECVE = 59 // { int sys_execve(const char *path, \
122420+ SYS_SYMLINK = 57 // { int sys_symlink(const char *path, const char *link); }
122421+ SYS_READLINK = 58 // { ssize_t sys_readlink(const char *path, char *buf, size_t count); }
122422+ SYS_EXECVE = 59 // { int sys_execve(const char *path, char * const *argp, char * const *envp); }
122423 SYS_UMASK = 60 // { mode_t sys_umask(mode_t newmask); }
122424 SYS_CHROOT = 61 // { int sys_chroot(const char *path); }
122425- SYS_GETFSSTAT = 62 // { int sys_getfsstat(struct statfs *buf, size_t bufsize, \
122426- SYS_STATFS = 63 // { int sys_statfs(const char *path, \
122427+ SYS_GETFSSTAT = 62 // { int sys_getfsstat(struct statfs *buf, size_t bufsize, int flags); }
122428+ SYS_STATFS = 63 // { int sys_statfs(const char *path, struct statfs *buf); }
122429 SYS_FSTATFS = 64 // { int sys_fstatfs(int fd, struct statfs *buf); }
122430- SYS_FHSTATFS = 65 // { int sys_fhstatfs(const fhandle_t *fhp, \
122431+ SYS_FHSTATFS = 65 // { int sys_fhstatfs(const fhandle_t *fhp, struct statfs *buf); }
122432 SYS_VFORK = 66 // { int sys_vfork(void); }
122433- SYS_GETTIMEOFDAY = 67 // { int sys_gettimeofday(struct timeval *tp, \
122434- SYS_SETTIMEOFDAY = 68 // { int sys_settimeofday(const struct timeval *tv, \
122435- SYS_SETITIMER = 69 // { int sys_setitimer(int which, \
122436- SYS_GETITIMER = 70 // { int sys_getitimer(int which, \
122437- SYS_SELECT = 71 // { int sys_select(int nd, fd_set *in, fd_set *ou, \
122438- SYS_KEVENT = 72 // { int sys_kevent(int fd, \
122439+ SYS_GETTIMEOFDAY = 67 // { int sys_gettimeofday(struct timeval *tp, struct timezone *tzp); }
122440+ SYS_SETTIMEOFDAY = 68 // { int sys_settimeofday(const struct timeval *tv, const struct timezone *tzp); }
122441+ SYS_SETITIMER = 69 // { int sys_setitimer(int which, const struct itimerval *itv, struct itimerval *oitv); }
122442+ SYS_GETITIMER = 70 // { int sys_getitimer(int which, struct itimerval *itv); }
122443+ SYS_SELECT = 71 // { int sys_select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); }
122444+ SYS_KEVENT = 72 // { int sys_kevent(int fd, const struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); }
122445 SYS_MUNMAP = 73 // { int sys_munmap(void *addr, size_t len); }
122446- SYS_MPROTECT = 74 // { int sys_mprotect(void *addr, size_t len, \
122447- SYS_MADVISE = 75 // { int sys_madvise(void *addr, size_t len, \
122448- SYS_UTIMES = 76 // { int sys_utimes(const char *path, \
122449- SYS_FUTIMES = 77 // { int sys_futimes(int fd, \
122450- SYS_MINCORE = 78 // { int sys_mincore(void *addr, size_t len, \
122451- SYS_GETGROUPS = 79 // { int sys_getgroups(int gidsetsize, \
122452- SYS_SETGROUPS = 80 // { int sys_setgroups(int gidsetsize, \
122453+ SYS_MPROTECT = 74 // { int sys_mprotect(void *addr, size_t len, int prot); }
122454+ SYS_MADVISE = 75 // { int sys_madvise(void *addr, size_t len, int behav); }
122455+ SYS_UTIMES = 76 // { int sys_utimes(const char *path, const struct timeval *tptr); }
122456+ SYS_FUTIMES = 77 // { int sys_futimes(int fd, const struct timeval *tptr); }
122457+ SYS_MINCORE = 78 // { int sys_mincore(void *addr, size_t len, char *vec); }
122458+ SYS_GETGROUPS = 79 // { int sys_getgroups(int gidsetsize, gid_t *gidset); }
122459+ SYS_SETGROUPS = 80 // { int sys_setgroups(int gidsetsize, const gid_t *gidset); }
122460 SYS_GETPGRP = 81 // { int sys_getpgrp(void); }
122461- SYS_SETPGID = 82 // { int sys_setpgid(pid_t pid, int pgid); }
122462- SYS_UTIMENSAT = 84 // { int sys_utimensat(int fd, const char *path, \
122463- SYS_FUTIMENS = 85 // { int sys_futimens(int fd, \
122464- SYS_CLOCK_GETTIME = 87 // { int sys_clock_gettime(clockid_t clock_id, \
122465- SYS_CLOCK_SETTIME = 88 // { int sys_clock_settime(clockid_t clock_id, \
122466- SYS_CLOCK_GETRES = 89 // { int sys_clock_getres(clockid_t clock_id, \
122467+ SYS_SETPGID = 82 // { int sys_setpgid(pid_t pid, pid_t pgid); }
122468+ SYS_FUTEX = 83 // { int sys_futex(uint32_t *f, int op, int val, const struct timespec *timeout, uint32_t *g); }
122469+ SYS_UTIMENSAT = 84 // { int sys_utimensat(int fd, const char *path, const struct timespec *times, int flag); }
122470+ SYS_FUTIMENS = 85 // { int sys_futimens(int fd, const struct timespec *times); }
122471+ SYS_KBIND = 86 // { int sys_kbind(const struct __kbind *param, size_t psize, int64_t proc_cookie); }
122472+ SYS_CLOCK_GETTIME = 87 // { int sys_clock_gettime(clockid_t clock_id, struct timespec *tp); }
122473+ SYS_CLOCK_SETTIME = 88 // { int sys_clock_settime(clockid_t clock_id, const struct timespec *tp); }
122474+ SYS_CLOCK_GETRES = 89 // { int sys_clock_getres(clockid_t clock_id, struct timespec *tp); }
122475 SYS_DUP2 = 90 // { int sys_dup2(int from, int to); }
122476- SYS_NANOSLEEP = 91 // { int sys_nanosleep(const struct timespec *rqtp, \
122477+ SYS_NANOSLEEP = 91 // { int sys_nanosleep(const struct timespec *rqtp, struct timespec *rmtp); }
122478 SYS_FCNTL = 92 // { int sys_fcntl(int fd, int cmd, ... void *arg); }
122479- SYS___THRSLEEP = 94 // { int sys___thrsleep(const volatile void *ident, \
122480+ SYS_ACCEPT4 = 93 // { int sys_accept4(int s, struct sockaddr *name, socklen_t *anamelen, int flags); }
122481+ SYS___THRSLEEP = 94 // { int sys___thrsleep(const volatile void *ident, clockid_t clock_id, const struct timespec *tp, void *lock, const int *abort); }
122482 SYS_FSYNC = 95 // { int sys_fsync(int fd); }
122483 SYS_SETPRIORITY = 96 // { int sys_setpriority(int which, id_t who, int prio); }
122484 SYS_SOCKET = 97 // { int sys_socket(int domain, int type, int protocol); }
122485- SYS_CONNECT = 98 // { int sys_connect(int s, const struct sockaddr *name, \
122486+ SYS_CONNECT = 98 // { int sys_connect(int s, const struct sockaddr *name, socklen_t namelen); }
122487 SYS_GETDENTS = 99 // { int sys_getdents(int fd, void *buf, size_t buflen); }
122488 SYS_GETPRIORITY = 100 // { int sys_getpriority(int which, id_t who); }
122489+ SYS_PIPE2 = 101 // { int sys_pipe2(int *fdp, int flags); }
122490+ SYS_DUP3 = 102 // { int sys_dup3(int from, int to, int flags); }
122491 SYS_SIGRETURN = 103 // { int sys_sigreturn(struct sigcontext *sigcntxp); }
122492- SYS_BIND = 104 // { int sys_bind(int s, const struct sockaddr *name, \
122493- SYS_SETSOCKOPT = 105 // { int sys_setsockopt(int s, int level, int name, \
122494+ SYS_BIND = 104 // { int sys_bind(int s, const struct sockaddr *name, socklen_t namelen); }
122495+ SYS_SETSOCKOPT = 105 // { int sys_setsockopt(int s, int level, int name, const void *val, socklen_t valsize); }
122496 SYS_LISTEN = 106 // { int sys_listen(int s, int backlog); }
122497- SYS_PPOLL = 109 // { int sys_ppoll(struct pollfd *fds, \
122498- SYS_PSELECT = 110 // { int sys_pselect(int nd, fd_set *in, fd_set *ou, \
122499+ SYS_CHFLAGSAT = 107 // { int sys_chflagsat(int fd, const char *path, u_int flags, int atflags); }
122500+ SYS_PLEDGE = 108 // { int sys_pledge(const char *promises, const char *execpromises); }
122501+ SYS_PPOLL = 109 // { int sys_ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *mask); }
122502+ SYS_PSELECT = 110 // { int sys_pselect(int nd, fd_set *in, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *mask); }
122503 SYS_SIGSUSPEND = 111 // { int sys_sigsuspend(int mask); }
122504- SYS_GETSOCKOPT = 118 // { int sys_getsockopt(int s, int level, int name, \
122505- SYS_READV = 120 // { ssize_t sys_readv(int fd, \
122506- SYS_WRITEV = 121 // { ssize_t sys_writev(int fd, \
122507+ SYS_SENDSYSLOG = 112 // { int sys_sendsyslog(const char *buf, size_t nbyte, int flags); }
122508+ SYS_UNVEIL = 114 // { int sys_unveil(const char *path, const char *permissions); }
122509+ SYS_GETSOCKOPT = 118 // { int sys_getsockopt(int s, int level, int name, void *val, socklen_t *avalsize); }
122510+ SYS_THRKILL = 119 // { int sys_thrkill(pid_t tid, int signum, void *tcb); }
122511+ SYS_READV = 120 // { ssize_t sys_readv(int fd, const struct iovec *iovp, int iovcnt); }
122512+ SYS_WRITEV = 121 // { ssize_t sys_writev(int fd, const struct iovec *iovp, int iovcnt); }
122513+ SYS_KILL = 122 // { int sys_kill(int pid, int signum); }
122514 SYS_FCHOWN = 123 // { int sys_fchown(int fd, uid_t uid, gid_t gid); }
122515 SYS_FCHMOD = 124 // { int sys_fchmod(int fd, mode_t mode); }
122516 SYS_SETREUID = 126 // { int sys_setreuid(uid_t ruid, uid_t euid); }
122517@@ -119,89 +129,90 @@ const (
122518 SYS_RENAME = 128 // { int sys_rename(const char *from, const char *to); }
122519 SYS_FLOCK = 131 // { int sys_flock(int fd, int how); }
122520 SYS_MKFIFO = 132 // { int sys_mkfifo(const char *path, mode_t mode); }
122521- SYS_SENDTO = 133 // { ssize_t sys_sendto(int s, const void *buf, \
122522+ SYS_SENDTO = 133 // { ssize_t sys_sendto(int s, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen); }
122523 SYS_SHUTDOWN = 134 // { int sys_shutdown(int s, int how); }
122524- SYS_SOCKETPAIR = 135 // { int sys_socketpair(int domain, int type, \
122525+ SYS_SOCKETPAIR = 135 // { int sys_socketpair(int domain, int type, int protocol, int *rsv); }
122526 SYS_MKDIR = 136 // { int sys_mkdir(const char *path, mode_t mode); }
122527 SYS_RMDIR = 137 // { int sys_rmdir(const char *path); }
122528- SYS_ADJTIME = 140 // { int sys_adjtime(const struct timeval *delta, \
122529+ SYS_ADJTIME = 140 // { int sys_adjtime(const struct timeval *delta, struct timeval *olddelta); }
122530+ SYS_GETLOGIN_R = 141 // { int sys_getlogin_r(char *namebuf, u_int namelen); }
122531 SYS_SETSID = 147 // { int sys_setsid(void); }
122532- SYS_QUOTACTL = 148 // { int sys_quotactl(const char *path, int cmd, \
122533+ SYS_QUOTACTL = 148 // { int sys_quotactl(const char *path, int cmd, int uid, char *arg); }
122534 SYS_NFSSVC = 155 // { int sys_nfssvc(int flag, void *argp); }
122535 SYS_GETFH = 161 // { int sys_getfh(const char *fname, fhandle_t *fhp); }
122536 SYS_SYSARCH = 165 // { int sys_sysarch(int op, void *parms); }
122537- SYS_PREAD = 173 // { ssize_t sys_pread(int fd, void *buf, \
122538- SYS_PWRITE = 174 // { ssize_t sys_pwrite(int fd, const void *buf, \
122539+ SYS_PREAD = 173 // { ssize_t sys_pread(int fd, void *buf, size_t nbyte, int pad, off_t offset); }
122540+ SYS_PWRITE = 174 // { ssize_t sys_pwrite(int fd, const void *buf, size_t nbyte, int pad, off_t offset); }
122541 SYS_SETGID = 181 // { int sys_setgid(gid_t gid); }
122542 SYS_SETEGID = 182 // { int sys_setegid(gid_t egid); }
122543 SYS_SETEUID = 183 // { int sys_seteuid(uid_t euid); }
122544 SYS_PATHCONF = 191 // { long sys_pathconf(const char *path, int name); }
122545 SYS_FPATHCONF = 192 // { long sys_fpathconf(int fd, int name); }
122546 SYS_SWAPCTL = 193 // { int sys_swapctl(int cmd, const void *arg, int misc); }
122547- SYS_GETRLIMIT = 194 // { int sys_getrlimit(int which, \
122548- SYS_SETRLIMIT = 195 // { int sys_setrlimit(int which, \
122549- SYS_MMAP = 197 // { void *sys_mmap(void *addr, size_t len, int prot, \
122550- SYS_LSEEK = 199 // { off_t sys_lseek(int fd, int pad, off_t offset, \
122551- SYS_TRUNCATE = 200 // { int sys_truncate(const char *path, int pad, \
122552+ SYS_GETRLIMIT = 194 // { int sys_getrlimit(int which, struct rlimit *rlp); }
122553+ SYS_SETRLIMIT = 195 // { int sys_setrlimit(int which, const struct rlimit *rlp); }
122554+ SYS_MMAP = 197 // { void *sys_mmap(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); }
122555+ SYS_LSEEK = 199 // { off_t sys_lseek(int fd, int pad, off_t offset, int whence); }
122556+ SYS_TRUNCATE = 200 // { int sys_truncate(const char *path, int pad, off_t length); }
122557 SYS_FTRUNCATE = 201 // { int sys_ftruncate(int fd, int pad, off_t length); }
122558- SYS___SYSCTL = 202 // { int sys___sysctl(const int *name, u_int namelen, \
122559+ SYS_SYSCTL = 202 // { int sys_sysctl(const int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); }
122560 SYS_MLOCK = 203 // { int sys_mlock(const void *addr, size_t len); }
122561 SYS_MUNLOCK = 204 // { int sys_munlock(const void *addr, size_t len); }
122562 SYS_GETPGID = 207 // { pid_t sys_getpgid(pid_t pid); }
122563- SYS_UTRACE = 209 // { int sys_utrace(const char *label, const void *addr, \
122564+ SYS_UTRACE = 209 // { int sys_utrace(const char *label, const void *addr, size_t len); }
122565 SYS_SEMGET = 221 // { int sys_semget(key_t key, int nsems, int semflg); }
122566 SYS_MSGGET = 225 // { int sys_msgget(key_t key, int msgflg); }
122567- SYS_MSGSND = 226 // { int sys_msgsnd(int msqid, const void *msgp, size_t msgsz, \
122568- SYS_MSGRCV = 227 // { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, \
122569- SYS_SHMAT = 228 // { void *sys_shmat(int shmid, const void *shmaddr, \
122570+ SYS_MSGSND = 226 // { int sys_msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); }
122571+ SYS_MSGRCV = 227 // { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
122572+ SYS_SHMAT = 228 // { void *sys_shmat(int shmid, const void *shmaddr, int shmflg); }
122573 SYS_SHMDT = 230 // { int sys_shmdt(const void *shmaddr); }
122574- SYS_MINHERIT = 250 // { int sys_minherit(void *addr, size_t len, \
122575- SYS_POLL = 252 // { int sys_poll(struct pollfd *fds, \
122576+ SYS_MINHERIT = 250 // { int sys_minherit(void *addr, size_t len, int inherit); }
122577+ SYS_POLL = 252 // { int sys_poll(struct pollfd *fds, u_int nfds, int timeout); }
122578 SYS_ISSETUGID = 253 // { int sys_issetugid(void); }
122579 SYS_LCHOWN = 254 // { int sys_lchown(const char *path, uid_t uid, gid_t gid); }
122580 SYS_GETSID = 255 // { pid_t sys_getsid(pid_t pid); }
122581 SYS_MSYNC = 256 // { int sys_msync(void *addr, size_t len, int flags); }
122582 SYS_PIPE = 263 // { int sys_pipe(int *fdp); }
122583 SYS_FHOPEN = 264 // { int sys_fhopen(const fhandle_t *fhp, int flags); }
122584- SYS_PREADV = 267 // { ssize_t sys_preadv(int fd, \
122585- SYS_PWRITEV = 268 // { ssize_t sys_pwritev(int fd, \
122586+ SYS_PREADV = 267 // { ssize_t sys_preadv(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); }
122587+ SYS_PWRITEV = 268 // { ssize_t sys_pwritev(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); }
122588 SYS_KQUEUE = 269 // { int sys_kqueue(void); }
122589 SYS_MLOCKALL = 271 // { int sys_mlockall(int flags); }
122590 SYS_MUNLOCKALL = 272 // { int sys_munlockall(void); }
122591- SYS_GETRESUID = 281 // { int sys_getresuid(uid_t *ruid, uid_t *euid, \
122592- SYS_SETRESUID = 282 // { int sys_setresuid(uid_t ruid, uid_t euid, \
122593- SYS_GETRESGID = 283 // { int sys_getresgid(gid_t *rgid, gid_t *egid, \
122594- SYS_SETRESGID = 284 // { int sys_setresgid(gid_t rgid, gid_t egid, \
122595- SYS_MQUERY = 286 // { void *sys_mquery(void *addr, size_t len, int prot, \
122596+ SYS_GETRESUID = 281 // { int sys_getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); }
122597+ SYS_SETRESUID = 282 // { int sys_setresuid(uid_t ruid, uid_t euid, uid_t suid); }
122598+ SYS_GETRESGID = 283 // { int sys_getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
122599+ SYS_SETRESGID = 284 // { int sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
122600+ SYS_MQUERY = 286 // { void *sys_mquery(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); }
122601 SYS_CLOSEFROM = 287 // { int sys_closefrom(int fd); }
122602- SYS_SIGALTSTACK = 288 // { int sys_sigaltstack(const struct sigaltstack *nss, \
122603+ SYS_SIGALTSTACK = 288 // { int sys_sigaltstack(const struct sigaltstack *nss, struct sigaltstack *oss); }
122604 SYS_SHMGET = 289 // { int sys_shmget(key_t key, size_t size, int shmflg); }
122605- SYS_SEMOP = 290 // { int sys_semop(int semid, struct sembuf *sops, \
122606- SYS_FHSTAT = 294 // { int sys_fhstat(const fhandle_t *fhp, \
122607- SYS___SEMCTL = 295 // { int sys___semctl(int semid, int semnum, int cmd, \
122608- SYS_SHMCTL = 296 // { int sys_shmctl(int shmid, int cmd, \
122609- SYS_MSGCTL = 297 // { int sys_msgctl(int msqid, int cmd, \
122610+ SYS_SEMOP = 290 // { int sys_semop(int semid, struct sembuf *sops, size_t nsops); }
122611+ SYS_FHSTAT = 294 // { int sys_fhstat(const fhandle_t *fhp, struct stat *sb); }
122612+ SYS___SEMCTL = 295 // { int sys___semctl(int semid, int semnum, int cmd, union semun *arg); }
122613+ SYS_SHMCTL = 296 // { int sys_shmctl(int shmid, int cmd, struct shmid_ds *buf); }
122614+ SYS_MSGCTL = 297 // { int sys_msgctl(int msqid, int cmd, struct msqid_ds *buf); }
122615 SYS_SCHED_YIELD = 298 // { int sys_sched_yield(void); }
122616 SYS_GETTHRID = 299 // { pid_t sys_getthrid(void); }
122617- SYS___THRWAKEUP = 301 // { int sys___thrwakeup(const volatile void *ident, \
122618+ SYS___THRWAKEUP = 301 // { int sys___thrwakeup(const volatile void *ident, int n); }
122619 SYS___THREXIT = 302 // { void sys___threxit(pid_t *notdead); }
122620- SYS___THRSIGDIVERT = 303 // { int sys___thrsigdivert(sigset_t sigmask, \
122621+ SYS___THRSIGDIVERT = 303 // { int sys___thrsigdivert(sigset_t sigmask, siginfo_t *info, const struct timespec *timeout); }
122622 SYS___GETCWD = 304 // { int sys___getcwd(char *buf, size_t len); }
122623- SYS_ADJFREQ = 305 // { int sys_adjfreq(const int64_t *freq, \
122624+ SYS_ADJFREQ = 305 // { int sys_adjfreq(const int64_t *freq, int64_t *oldfreq); }
122625 SYS_SETRTABLE = 310 // { int sys_setrtable(int rtableid); }
122626 SYS_GETRTABLE = 311 // { int sys_getrtable(void); }
122627- SYS_FACCESSAT = 313 // { int sys_faccessat(int fd, const char *path, \
122628- SYS_FCHMODAT = 314 // { int sys_fchmodat(int fd, const char *path, \
122629- SYS_FCHOWNAT = 315 // { int sys_fchownat(int fd, const char *path, \
122630- SYS_LINKAT = 317 // { int sys_linkat(int fd1, const char *path1, int fd2, \
122631- SYS_MKDIRAT = 318 // { int sys_mkdirat(int fd, const char *path, \
122632- SYS_MKFIFOAT = 319 // { int sys_mkfifoat(int fd, const char *path, \
122633- SYS_MKNODAT = 320 // { int sys_mknodat(int fd, const char *path, \
122634- SYS_OPENAT = 321 // { int sys_openat(int fd, const char *path, int flags, \
122635- SYS_READLINKAT = 322 // { ssize_t sys_readlinkat(int fd, const char *path, \
122636- SYS_RENAMEAT = 323 // { int sys_renameat(int fromfd, const char *from, \
122637- SYS_SYMLINKAT = 324 // { int sys_symlinkat(const char *path, int fd, \
122638- SYS_UNLINKAT = 325 // { int sys_unlinkat(int fd, const char *path, \
122639+ SYS_FACCESSAT = 313 // { int sys_faccessat(int fd, const char *path, int amode, int flag); }
122640+ SYS_FCHMODAT = 314 // { int sys_fchmodat(int fd, const char *path, mode_t mode, int flag); }
122641+ SYS_FCHOWNAT = 315 // { int sys_fchownat(int fd, const char *path, uid_t uid, gid_t gid, int flag); }
122642+ SYS_LINKAT = 317 // { int sys_linkat(int fd1, const char *path1, int fd2, const char *path2, int flag); }
122643+ SYS_MKDIRAT = 318 // { int sys_mkdirat(int fd, const char *path, mode_t mode); }
122644+ SYS_MKFIFOAT = 319 // { int sys_mkfifoat(int fd, const char *path, mode_t mode); }
122645+ SYS_MKNODAT = 320 // { int sys_mknodat(int fd, const char *path, mode_t mode, dev_t dev); }
122646+ SYS_OPENAT = 321 // { int sys_openat(int fd, const char *path, int flags, ... mode_t mode); }
122647+ SYS_READLINKAT = 322 // { ssize_t sys_readlinkat(int fd, const char *path, char *buf, size_t count); }
122648+ SYS_RENAMEAT = 323 // { int sys_renameat(int fromfd, const char *from, int tofd, const char *to); }
122649+ SYS_SYMLINKAT = 324 // { int sys_symlinkat(const char *path, int fd, const char *link); }
122650+ SYS_UNLINKAT = 325 // { int sys_unlinkat(int fd, const char *path, int flag); }
122651 SYS___SET_TCB = 329 // { void sys___set_tcb(void *tcb); }
122652 SYS___GET_TCB = 330 // { void *sys___get_tcb(void); }
122653 )
122654diff --git a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go
122655index 32653e53..33d1dc54 100644
122656--- a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go
122657+++ b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go
122658@@ -1,5 +1,5 @@
122659-// mksysnum_openbsd.pl
122660-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
122661+// go run mksysnum.go https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master
122662+// Code generated by the command above; see README.md. DO NOT EDIT.
122663
122664 // +build arm,openbsd
122665
122666@@ -9,35 +9,35 @@ const (
122667 SYS_EXIT = 1 // { void sys_exit(int rval); }
122668 SYS_FORK = 2 // { int sys_fork(void); }
122669 SYS_READ = 3 // { ssize_t sys_read(int fd, void *buf, size_t nbyte); }
122670- SYS_WRITE = 4 // { ssize_t sys_write(int fd, const void *buf, \
122671- SYS_OPEN = 5 // { int sys_open(const char *path, \
122672+ SYS_WRITE = 4 // { ssize_t sys_write(int fd, const void *buf, size_t nbyte); }
122673+ SYS_OPEN = 5 // { int sys_open(const char *path, int flags, ... mode_t mode); }
122674 SYS_CLOSE = 6 // { int sys_close(int fd); }
122675 SYS_GETENTROPY = 7 // { int sys_getentropy(void *buf, size_t nbyte); }
122676- SYS___TFORK = 8 // { int sys___tfork(const struct __tfork *param, \
122677+ SYS___TFORK = 8 // { int sys___tfork(const struct __tfork *param, size_t psize); }
122678 SYS_LINK = 9 // { int sys_link(const char *path, const char *link); }
122679 SYS_UNLINK = 10 // { int sys_unlink(const char *path); }
122680- SYS_WAIT4 = 11 // { pid_t sys_wait4(pid_t pid, int *status, \
122681+ SYS_WAIT4 = 11 // { pid_t sys_wait4(pid_t pid, int *status, int options, struct rusage *rusage); }
122682 SYS_CHDIR = 12 // { int sys_chdir(const char *path); }
122683 SYS_FCHDIR = 13 // { int sys_fchdir(int fd); }
122684- SYS_MKNOD = 14 // { int sys_mknod(const char *path, mode_t mode, \
122685+ SYS_MKNOD = 14 // { int sys_mknod(const char *path, mode_t mode, dev_t dev); }
122686 SYS_CHMOD = 15 // { int sys_chmod(const char *path, mode_t mode); }
122687- SYS_CHOWN = 16 // { int sys_chown(const char *path, uid_t uid, \
122688+ SYS_CHOWN = 16 // { int sys_chown(const char *path, uid_t uid, gid_t gid); }
122689 SYS_OBREAK = 17 // { int sys_obreak(char *nsize); } break
122690 SYS_GETDTABLECOUNT = 18 // { int sys_getdtablecount(void); }
122691- SYS_GETRUSAGE = 19 // { int sys_getrusage(int who, \
122692+ SYS_GETRUSAGE = 19 // { int sys_getrusage(int who, struct rusage *rusage); }
122693 SYS_GETPID = 20 // { pid_t sys_getpid(void); }
122694- SYS_MOUNT = 21 // { int sys_mount(const char *type, const char *path, \
122695+ SYS_MOUNT = 21 // { int sys_mount(const char *type, const char *path, int flags, void *data); }
122696 SYS_UNMOUNT = 22 // { int sys_unmount(const char *path, int flags); }
122697 SYS_SETUID = 23 // { int sys_setuid(uid_t uid); }
122698 SYS_GETUID = 24 // { uid_t sys_getuid(void); }
122699 SYS_GETEUID = 25 // { uid_t sys_geteuid(void); }
122700- SYS_PTRACE = 26 // { int sys_ptrace(int req, pid_t pid, caddr_t addr, \
122701- SYS_RECVMSG = 27 // { ssize_t sys_recvmsg(int s, struct msghdr *msg, \
122702- SYS_SENDMSG = 28 // { ssize_t sys_sendmsg(int s, \
122703- SYS_RECVFROM = 29 // { ssize_t sys_recvfrom(int s, void *buf, size_t len, \
122704- SYS_ACCEPT = 30 // { int sys_accept(int s, struct sockaddr *name, \
122705- SYS_GETPEERNAME = 31 // { int sys_getpeername(int fdes, struct sockaddr *asa, \
122706- SYS_GETSOCKNAME = 32 // { int sys_getsockname(int fdes, struct sockaddr *asa, \
122707+ SYS_PTRACE = 26 // { int sys_ptrace(int req, pid_t pid, caddr_t addr, int data); }
122708+ SYS_RECVMSG = 27 // { ssize_t sys_recvmsg(int s, struct msghdr *msg, int flags); }
122709+ SYS_SENDMSG = 28 // { ssize_t sys_sendmsg(int s, const struct msghdr *msg, int flags); }
122710+ SYS_RECVFROM = 29 // { ssize_t sys_recvfrom(int s, void *buf, size_t len, int flags, struct sockaddr *from, socklen_t *fromlenaddr); }
122711+ SYS_ACCEPT = 30 // { int sys_accept(int s, struct sockaddr *name, socklen_t *anamelen); }
122712+ SYS_GETPEERNAME = 31 // { int sys_getpeername(int fdes, struct sockaddr *asa, socklen_t *alen); }
122713+ SYS_GETSOCKNAME = 32 // { int sys_getsockname(int fdes, struct sockaddr *asa, socklen_t *alen); }
122714 SYS_ACCESS = 33 // { int sys_access(const char *path, int amode); }
122715 SYS_CHFLAGS = 34 // { int sys_chflags(const char *path, u_int flags); }
122716 SYS_FCHFLAGS = 35 // { int sys_fchflags(int fd, u_int flags); }
122717@@ -46,77 +46,81 @@ const (
122718 SYS_GETPPID = 39 // { pid_t sys_getppid(void); }
122719 SYS_LSTAT = 40 // { int sys_lstat(const char *path, struct stat *ub); }
122720 SYS_DUP = 41 // { int sys_dup(int fd); }
122721- SYS_FSTATAT = 42 // { int sys_fstatat(int fd, const char *path, \
122722+ SYS_FSTATAT = 42 // { int sys_fstatat(int fd, const char *path, struct stat *buf, int flag); }
122723 SYS_GETEGID = 43 // { gid_t sys_getegid(void); }
122724- SYS_PROFIL = 44 // { int sys_profil(caddr_t samples, size_t size, \
122725- SYS_KTRACE = 45 // { int sys_ktrace(const char *fname, int ops, \
122726- SYS_SIGACTION = 46 // { int sys_sigaction(int signum, \
122727+ SYS_PROFIL = 44 // { int sys_profil(caddr_t samples, size_t size, u_long offset, u_int scale); }
122728+ SYS_KTRACE = 45 // { int sys_ktrace(const char *fname, int ops, int facs, pid_t pid); }
122729+ SYS_SIGACTION = 46 // { int sys_sigaction(int signum, const struct sigaction *nsa, struct sigaction *osa); }
122730 SYS_GETGID = 47 // { gid_t sys_getgid(void); }
122731 SYS_SIGPROCMASK = 48 // { int sys_sigprocmask(int how, sigset_t mask); }
122732- SYS_GETLOGIN = 49 // { int sys_getlogin(char *namebuf, u_int namelen); }
122733 SYS_SETLOGIN = 50 // { int sys_setlogin(const char *namebuf); }
122734 SYS_ACCT = 51 // { int sys_acct(const char *path); }
122735 SYS_SIGPENDING = 52 // { int sys_sigpending(void); }
122736 SYS_FSTAT = 53 // { int sys_fstat(int fd, struct stat *sb); }
122737- SYS_IOCTL = 54 // { int sys_ioctl(int fd, \
122738+ SYS_IOCTL = 54 // { int sys_ioctl(int fd, u_long com, ... void *data); }
122739 SYS_REBOOT = 55 // { int sys_reboot(int opt); }
122740 SYS_REVOKE = 56 // { int sys_revoke(const char *path); }
122741- SYS_SYMLINK = 57 // { int sys_symlink(const char *path, \
122742- SYS_READLINK = 58 // { ssize_t sys_readlink(const char *path, \
122743- SYS_EXECVE = 59 // { int sys_execve(const char *path, \
122744+ SYS_SYMLINK = 57 // { int sys_symlink(const char *path, const char *link); }
122745+ SYS_READLINK = 58 // { ssize_t sys_readlink(const char *path, char *buf, size_t count); }
122746+ SYS_EXECVE = 59 // { int sys_execve(const char *path, char * const *argp, char * const *envp); }
122747 SYS_UMASK = 60 // { mode_t sys_umask(mode_t newmask); }
122748 SYS_CHROOT = 61 // { int sys_chroot(const char *path); }
122749- SYS_GETFSSTAT = 62 // { int sys_getfsstat(struct statfs *buf, size_t bufsize, \
122750- SYS_STATFS = 63 // { int sys_statfs(const char *path, \
122751+ SYS_GETFSSTAT = 62 // { int sys_getfsstat(struct statfs *buf, size_t bufsize, int flags); }
122752+ SYS_STATFS = 63 // { int sys_statfs(const char *path, struct statfs *buf); }
122753 SYS_FSTATFS = 64 // { int sys_fstatfs(int fd, struct statfs *buf); }
122754- SYS_FHSTATFS = 65 // { int sys_fhstatfs(const fhandle_t *fhp, \
122755+ SYS_FHSTATFS = 65 // { int sys_fhstatfs(const fhandle_t *fhp, struct statfs *buf); }
122756 SYS_VFORK = 66 // { int sys_vfork(void); }
122757- SYS_GETTIMEOFDAY = 67 // { int sys_gettimeofday(struct timeval *tp, \
122758- SYS_SETTIMEOFDAY = 68 // { int sys_settimeofday(const struct timeval *tv, \
122759- SYS_SETITIMER = 69 // { int sys_setitimer(int which, \
122760- SYS_GETITIMER = 70 // { int sys_getitimer(int which, \
122761- SYS_SELECT = 71 // { int sys_select(int nd, fd_set *in, fd_set *ou, \
122762- SYS_KEVENT = 72 // { int sys_kevent(int fd, \
122763+ SYS_GETTIMEOFDAY = 67 // { int sys_gettimeofday(struct timeval *tp, struct timezone *tzp); }
122764+ SYS_SETTIMEOFDAY = 68 // { int sys_settimeofday(const struct timeval *tv, const struct timezone *tzp); }
122765+ SYS_SETITIMER = 69 // { int sys_setitimer(int which, const struct itimerval *itv, struct itimerval *oitv); }
122766+ SYS_GETITIMER = 70 // { int sys_getitimer(int which, struct itimerval *itv); }
122767+ SYS_SELECT = 71 // { int sys_select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); }
122768+ SYS_KEVENT = 72 // { int sys_kevent(int fd, const struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); }
122769 SYS_MUNMAP = 73 // { int sys_munmap(void *addr, size_t len); }
122770- SYS_MPROTECT = 74 // { int sys_mprotect(void *addr, size_t len, \
122771- SYS_MADVISE = 75 // { int sys_madvise(void *addr, size_t len, \
122772- SYS_UTIMES = 76 // { int sys_utimes(const char *path, \
122773- SYS_FUTIMES = 77 // { int sys_futimes(int fd, \
122774- SYS_MINCORE = 78 // { int sys_mincore(void *addr, size_t len, \
122775- SYS_GETGROUPS = 79 // { int sys_getgroups(int gidsetsize, \
122776- SYS_SETGROUPS = 80 // { int sys_setgroups(int gidsetsize, \
122777+ SYS_MPROTECT = 74 // { int sys_mprotect(void *addr, size_t len, int prot); }
122778+ SYS_MADVISE = 75 // { int sys_madvise(void *addr, size_t len, int behav); }
122779+ SYS_UTIMES = 76 // { int sys_utimes(const char *path, const struct timeval *tptr); }
122780+ SYS_FUTIMES = 77 // { int sys_futimes(int fd, const struct timeval *tptr); }
122781+ SYS_MINCORE = 78 // { int sys_mincore(void *addr, size_t len, char *vec); }
122782+ SYS_GETGROUPS = 79 // { int sys_getgroups(int gidsetsize, gid_t *gidset); }
122783+ SYS_SETGROUPS = 80 // { int sys_setgroups(int gidsetsize, const gid_t *gidset); }
122784 SYS_GETPGRP = 81 // { int sys_getpgrp(void); }
122785 SYS_SETPGID = 82 // { int sys_setpgid(pid_t pid, pid_t pgid); }
122786- SYS_SENDSYSLOG = 83 // { int sys_sendsyslog(const void *buf, size_t nbyte); }
122787- SYS_UTIMENSAT = 84 // { int sys_utimensat(int fd, const char *path, \
122788- SYS_FUTIMENS = 85 // { int sys_futimens(int fd, \
122789- SYS_CLOCK_GETTIME = 87 // { int sys_clock_gettime(clockid_t clock_id, \
122790- SYS_CLOCK_SETTIME = 88 // { int sys_clock_settime(clockid_t clock_id, \
122791- SYS_CLOCK_GETRES = 89 // { int sys_clock_getres(clockid_t clock_id, \
122792+ SYS_FUTEX = 83 // { int sys_futex(uint32_t *f, int op, int val, const struct timespec *timeout, uint32_t *g); }
122793+ SYS_UTIMENSAT = 84 // { int sys_utimensat(int fd, const char *path, const struct timespec *times, int flag); }
122794+ SYS_FUTIMENS = 85 // { int sys_futimens(int fd, const struct timespec *times); }
122795+ SYS_KBIND = 86 // { int sys_kbind(const struct __kbind *param, size_t psize, int64_t proc_cookie); }
122796+ SYS_CLOCK_GETTIME = 87 // { int sys_clock_gettime(clockid_t clock_id, struct timespec *tp); }
122797+ SYS_CLOCK_SETTIME = 88 // { int sys_clock_settime(clockid_t clock_id, const struct timespec *tp); }
122798+ SYS_CLOCK_GETRES = 89 // { int sys_clock_getres(clockid_t clock_id, struct timespec *tp); }
122799 SYS_DUP2 = 90 // { int sys_dup2(int from, int to); }
122800- SYS_NANOSLEEP = 91 // { int sys_nanosleep(const struct timespec *rqtp, \
122801+ SYS_NANOSLEEP = 91 // { int sys_nanosleep(const struct timespec *rqtp, struct timespec *rmtp); }
122802 SYS_FCNTL = 92 // { int sys_fcntl(int fd, int cmd, ... void *arg); }
122803- SYS_ACCEPT4 = 93 // { int sys_accept4(int s, struct sockaddr *name, \
122804- SYS___THRSLEEP = 94 // { int sys___thrsleep(const volatile void *ident, \
122805+ SYS_ACCEPT4 = 93 // { int sys_accept4(int s, struct sockaddr *name, socklen_t *anamelen, int flags); }
122806+ SYS___THRSLEEP = 94 // { int sys___thrsleep(const volatile void *ident, clockid_t clock_id, const struct timespec *tp, void *lock, const int *abort); }
122807 SYS_FSYNC = 95 // { int sys_fsync(int fd); }
122808 SYS_SETPRIORITY = 96 // { int sys_setpriority(int which, id_t who, int prio); }
122809 SYS_SOCKET = 97 // { int sys_socket(int domain, int type, int protocol); }
122810- SYS_CONNECT = 98 // { int sys_connect(int s, const struct sockaddr *name, \
122811+ SYS_CONNECT = 98 // { int sys_connect(int s, const struct sockaddr *name, socklen_t namelen); }
122812 SYS_GETDENTS = 99 // { int sys_getdents(int fd, void *buf, size_t buflen); }
122813 SYS_GETPRIORITY = 100 // { int sys_getpriority(int which, id_t who); }
122814 SYS_PIPE2 = 101 // { int sys_pipe2(int *fdp, int flags); }
122815 SYS_DUP3 = 102 // { int sys_dup3(int from, int to, int flags); }
122816 SYS_SIGRETURN = 103 // { int sys_sigreturn(struct sigcontext *sigcntxp); }
122817- SYS_BIND = 104 // { int sys_bind(int s, const struct sockaddr *name, \
122818- SYS_SETSOCKOPT = 105 // { int sys_setsockopt(int s, int level, int name, \
122819+ SYS_BIND = 104 // { int sys_bind(int s, const struct sockaddr *name, socklen_t namelen); }
122820+ SYS_SETSOCKOPT = 105 // { int sys_setsockopt(int s, int level, int name, const void *val, socklen_t valsize); }
122821 SYS_LISTEN = 106 // { int sys_listen(int s, int backlog); }
122822- SYS_CHFLAGSAT = 107 // { int sys_chflagsat(int fd, const char *path, \
122823- SYS_PPOLL = 109 // { int sys_ppoll(struct pollfd *fds, \
122824- SYS_PSELECT = 110 // { int sys_pselect(int nd, fd_set *in, fd_set *ou, \
122825+ SYS_CHFLAGSAT = 107 // { int sys_chflagsat(int fd, const char *path, u_int flags, int atflags); }
122826+ SYS_PLEDGE = 108 // { int sys_pledge(const char *promises, const char *execpromises); }
122827+ SYS_PPOLL = 109 // { int sys_ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *mask); }
122828+ SYS_PSELECT = 110 // { int sys_pselect(int nd, fd_set *in, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *mask); }
122829 SYS_SIGSUSPEND = 111 // { int sys_sigsuspend(int mask); }
122830- SYS_GETSOCKOPT = 118 // { int sys_getsockopt(int s, int level, int name, \
122831- SYS_READV = 120 // { ssize_t sys_readv(int fd, \
122832- SYS_WRITEV = 121 // { ssize_t sys_writev(int fd, \
122833+ SYS_SENDSYSLOG = 112 // { int sys_sendsyslog(const char *buf, size_t nbyte, int flags); }
122834+ SYS_UNVEIL = 114 // { int sys_unveil(const char *path, const char *permissions); }
122835+ SYS_GETSOCKOPT = 118 // { int sys_getsockopt(int s, int level, int name, void *val, socklen_t *avalsize); }
122836+ SYS_THRKILL = 119 // { int sys_thrkill(pid_t tid, int signum, void *tcb); }
122837+ SYS_READV = 120 // { ssize_t sys_readv(int fd, const struct iovec *iovp, int iovcnt); }
122838+ SYS_WRITEV = 121 // { ssize_t sys_writev(int fd, const struct iovec *iovp, int iovcnt); }
122839 SYS_KILL = 122 // { int sys_kill(int pid, int signum); }
122840 SYS_FCHOWN = 123 // { int sys_fchown(int fd, uid_t uid, gid_t gid); }
122841 SYS_FCHMOD = 124 // { int sys_fchmod(int fd, mode_t mode); }
122842@@ -125,89 +129,90 @@ const (
122843 SYS_RENAME = 128 // { int sys_rename(const char *from, const char *to); }
122844 SYS_FLOCK = 131 // { int sys_flock(int fd, int how); }
122845 SYS_MKFIFO = 132 // { int sys_mkfifo(const char *path, mode_t mode); }
122846- SYS_SENDTO = 133 // { ssize_t sys_sendto(int s, const void *buf, \
122847+ SYS_SENDTO = 133 // { ssize_t sys_sendto(int s, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen); }
122848 SYS_SHUTDOWN = 134 // { int sys_shutdown(int s, int how); }
122849- SYS_SOCKETPAIR = 135 // { int sys_socketpair(int domain, int type, \
122850+ SYS_SOCKETPAIR = 135 // { int sys_socketpair(int domain, int type, int protocol, int *rsv); }
122851 SYS_MKDIR = 136 // { int sys_mkdir(const char *path, mode_t mode); }
122852 SYS_RMDIR = 137 // { int sys_rmdir(const char *path); }
122853- SYS_ADJTIME = 140 // { int sys_adjtime(const struct timeval *delta, \
122854+ SYS_ADJTIME = 140 // { int sys_adjtime(const struct timeval *delta, struct timeval *olddelta); }
122855+ SYS_GETLOGIN_R = 141 // { int sys_getlogin_r(char *namebuf, u_int namelen); }
122856 SYS_SETSID = 147 // { int sys_setsid(void); }
122857- SYS_QUOTACTL = 148 // { int sys_quotactl(const char *path, int cmd, \
122858+ SYS_QUOTACTL = 148 // { int sys_quotactl(const char *path, int cmd, int uid, char *arg); }
122859 SYS_NFSSVC = 155 // { int sys_nfssvc(int flag, void *argp); }
122860 SYS_GETFH = 161 // { int sys_getfh(const char *fname, fhandle_t *fhp); }
122861 SYS_SYSARCH = 165 // { int sys_sysarch(int op, void *parms); }
122862- SYS_PREAD = 173 // { ssize_t sys_pread(int fd, void *buf, \
122863- SYS_PWRITE = 174 // { ssize_t sys_pwrite(int fd, const void *buf, \
122864+ SYS_PREAD = 173 // { ssize_t sys_pread(int fd, void *buf, size_t nbyte, int pad, off_t offset); }
122865+ SYS_PWRITE = 174 // { ssize_t sys_pwrite(int fd, const void *buf, size_t nbyte, int pad, off_t offset); }
122866 SYS_SETGID = 181 // { int sys_setgid(gid_t gid); }
122867 SYS_SETEGID = 182 // { int sys_setegid(gid_t egid); }
122868 SYS_SETEUID = 183 // { int sys_seteuid(uid_t euid); }
122869 SYS_PATHCONF = 191 // { long sys_pathconf(const char *path, int name); }
122870 SYS_FPATHCONF = 192 // { long sys_fpathconf(int fd, int name); }
122871 SYS_SWAPCTL = 193 // { int sys_swapctl(int cmd, const void *arg, int misc); }
122872- SYS_GETRLIMIT = 194 // { int sys_getrlimit(int which, \
122873- SYS_SETRLIMIT = 195 // { int sys_setrlimit(int which, \
122874- SYS_MMAP = 197 // { void *sys_mmap(void *addr, size_t len, int prot, \
122875- SYS_LSEEK = 199 // { off_t sys_lseek(int fd, int pad, off_t offset, \
122876- SYS_TRUNCATE = 200 // { int sys_truncate(const char *path, int pad, \
122877+ SYS_GETRLIMIT = 194 // { int sys_getrlimit(int which, struct rlimit *rlp); }
122878+ SYS_SETRLIMIT = 195 // { int sys_setrlimit(int which, const struct rlimit *rlp); }
122879+ SYS_MMAP = 197 // { void *sys_mmap(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); }
122880+ SYS_LSEEK = 199 // { off_t sys_lseek(int fd, int pad, off_t offset, int whence); }
122881+ SYS_TRUNCATE = 200 // { int sys_truncate(const char *path, int pad, off_t length); }
122882 SYS_FTRUNCATE = 201 // { int sys_ftruncate(int fd, int pad, off_t length); }
122883- SYS___SYSCTL = 202 // { int sys___sysctl(const int *name, u_int namelen, \
122884+ SYS_SYSCTL = 202 // { int sys_sysctl(const int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); }
122885 SYS_MLOCK = 203 // { int sys_mlock(const void *addr, size_t len); }
122886 SYS_MUNLOCK = 204 // { int sys_munlock(const void *addr, size_t len); }
122887 SYS_GETPGID = 207 // { pid_t sys_getpgid(pid_t pid); }
122888- SYS_UTRACE = 209 // { int sys_utrace(const char *label, const void *addr, \
122889+ SYS_UTRACE = 209 // { int sys_utrace(const char *label, const void *addr, size_t len); }
122890 SYS_SEMGET = 221 // { int sys_semget(key_t key, int nsems, int semflg); }
122891 SYS_MSGGET = 225 // { int sys_msgget(key_t key, int msgflg); }
122892- SYS_MSGSND = 226 // { int sys_msgsnd(int msqid, const void *msgp, size_t msgsz, \
122893- SYS_MSGRCV = 227 // { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, \
122894- SYS_SHMAT = 228 // { void *sys_shmat(int shmid, const void *shmaddr, \
122895+ SYS_MSGSND = 226 // { int sys_msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); }
122896+ SYS_MSGRCV = 227 // { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
122897+ SYS_SHMAT = 228 // { void *sys_shmat(int shmid, const void *shmaddr, int shmflg); }
122898 SYS_SHMDT = 230 // { int sys_shmdt(const void *shmaddr); }
122899- SYS_MINHERIT = 250 // { int sys_minherit(void *addr, size_t len, \
122900- SYS_POLL = 252 // { int sys_poll(struct pollfd *fds, \
122901+ SYS_MINHERIT = 250 // { int sys_minherit(void *addr, size_t len, int inherit); }
122902+ SYS_POLL = 252 // { int sys_poll(struct pollfd *fds, u_int nfds, int timeout); }
122903 SYS_ISSETUGID = 253 // { int sys_issetugid(void); }
122904 SYS_LCHOWN = 254 // { int sys_lchown(const char *path, uid_t uid, gid_t gid); }
122905 SYS_GETSID = 255 // { pid_t sys_getsid(pid_t pid); }
122906 SYS_MSYNC = 256 // { int sys_msync(void *addr, size_t len, int flags); }
122907 SYS_PIPE = 263 // { int sys_pipe(int *fdp); }
122908 SYS_FHOPEN = 264 // { int sys_fhopen(const fhandle_t *fhp, int flags); }
122909- SYS_PREADV = 267 // { ssize_t sys_preadv(int fd, \
122910- SYS_PWRITEV = 268 // { ssize_t sys_pwritev(int fd, \
122911+ SYS_PREADV = 267 // { ssize_t sys_preadv(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); }
122912+ SYS_PWRITEV = 268 // { ssize_t sys_pwritev(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); }
122913 SYS_KQUEUE = 269 // { int sys_kqueue(void); }
122914 SYS_MLOCKALL = 271 // { int sys_mlockall(int flags); }
122915 SYS_MUNLOCKALL = 272 // { int sys_munlockall(void); }
122916- SYS_GETRESUID = 281 // { int sys_getresuid(uid_t *ruid, uid_t *euid, \
122917- SYS_SETRESUID = 282 // { int sys_setresuid(uid_t ruid, uid_t euid, \
122918- SYS_GETRESGID = 283 // { int sys_getresgid(gid_t *rgid, gid_t *egid, \
122919- SYS_SETRESGID = 284 // { int sys_setresgid(gid_t rgid, gid_t egid, \
122920- SYS_MQUERY = 286 // { void *sys_mquery(void *addr, size_t len, int prot, \
122921+ SYS_GETRESUID = 281 // { int sys_getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); }
122922+ SYS_SETRESUID = 282 // { int sys_setresuid(uid_t ruid, uid_t euid, uid_t suid); }
122923+ SYS_GETRESGID = 283 // { int sys_getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
122924+ SYS_SETRESGID = 284 // { int sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
122925+ SYS_MQUERY = 286 // { void *sys_mquery(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); }
122926 SYS_CLOSEFROM = 287 // { int sys_closefrom(int fd); }
122927- SYS_SIGALTSTACK = 288 // { int sys_sigaltstack(const struct sigaltstack *nss, \
122928+ SYS_SIGALTSTACK = 288 // { int sys_sigaltstack(const struct sigaltstack *nss, struct sigaltstack *oss); }
122929 SYS_SHMGET = 289 // { int sys_shmget(key_t key, size_t size, int shmflg); }
122930- SYS_SEMOP = 290 // { int sys_semop(int semid, struct sembuf *sops, \
122931- SYS_FHSTAT = 294 // { int sys_fhstat(const fhandle_t *fhp, \
122932- SYS___SEMCTL = 295 // { int sys___semctl(int semid, int semnum, int cmd, \
122933- SYS_SHMCTL = 296 // { int sys_shmctl(int shmid, int cmd, \
122934- SYS_MSGCTL = 297 // { int sys_msgctl(int msqid, int cmd, \
122935+ SYS_SEMOP = 290 // { int sys_semop(int semid, struct sembuf *sops, size_t nsops); }
122936+ SYS_FHSTAT = 294 // { int sys_fhstat(const fhandle_t *fhp, struct stat *sb); }
122937+ SYS___SEMCTL = 295 // { int sys___semctl(int semid, int semnum, int cmd, union semun *arg); }
122938+ SYS_SHMCTL = 296 // { int sys_shmctl(int shmid, int cmd, struct shmid_ds *buf); }
122939+ SYS_MSGCTL = 297 // { int sys_msgctl(int msqid, int cmd, struct msqid_ds *buf); }
122940 SYS_SCHED_YIELD = 298 // { int sys_sched_yield(void); }
122941 SYS_GETTHRID = 299 // { pid_t sys_getthrid(void); }
122942- SYS___THRWAKEUP = 301 // { int sys___thrwakeup(const volatile void *ident, \
122943+ SYS___THRWAKEUP = 301 // { int sys___thrwakeup(const volatile void *ident, int n); }
122944 SYS___THREXIT = 302 // { void sys___threxit(pid_t *notdead); }
122945- SYS___THRSIGDIVERT = 303 // { int sys___thrsigdivert(sigset_t sigmask, \
122946+ SYS___THRSIGDIVERT = 303 // { int sys___thrsigdivert(sigset_t sigmask, siginfo_t *info, const struct timespec *timeout); }
122947 SYS___GETCWD = 304 // { int sys___getcwd(char *buf, size_t len); }
122948- SYS_ADJFREQ = 305 // { int sys_adjfreq(const int64_t *freq, \
122949+ SYS_ADJFREQ = 305 // { int sys_adjfreq(const int64_t *freq, int64_t *oldfreq); }
122950 SYS_SETRTABLE = 310 // { int sys_setrtable(int rtableid); }
122951 SYS_GETRTABLE = 311 // { int sys_getrtable(void); }
122952- SYS_FACCESSAT = 313 // { int sys_faccessat(int fd, const char *path, \
122953- SYS_FCHMODAT = 314 // { int sys_fchmodat(int fd, const char *path, \
122954- SYS_FCHOWNAT = 315 // { int sys_fchownat(int fd, const char *path, \
122955- SYS_LINKAT = 317 // { int sys_linkat(int fd1, const char *path1, int fd2, \
122956- SYS_MKDIRAT = 318 // { int sys_mkdirat(int fd, const char *path, \
122957- SYS_MKFIFOAT = 319 // { int sys_mkfifoat(int fd, const char *path, \
122958- SYS_MKNODAT = 320 // { int sys_mknodat(int fd, const char *path, \
122959- SYS_OPENAT = 321 // { int sys_openat(int fd, const char *path, int flags, \
122960- SYS_READLINKAT = 322 // { ssize_t sys_readlinkat(int fd, const char *path, \
122961- SYS_RENAMEAT = 323 // { int sys_renameat(int fromfd, const char *from, \
122962- SYS_SYMLINKAT = 324 // { int sys_symlinkat(const char *path, int fd, \
122963- SYS_UNLINKAT = 325 // { int sys_unlinkat(int fd, const char *path, \
122964+ SYS_FACCESSAT = 313 // { int sys_faccessat(int fd, const char *path, int amode, int flag); }
122965+ SYS_FCHMODAT = 314 // { int sys_fchmodat(int fd, const char *path, mode_t mode, int flag); }
122966+ SYS_FCHOWNAT = 315 // { int sys_fchownat(int fd, const char *path, uid_t uid, gid_t gid, int flag); }
122967+ SYS_LINKAT = 317 // { int sys_linkat(int fd1, const char *path1, int fd2, const char *path2, int flag); }
122968+ SYS_MKDIRAT = 318 // { int sys_mkdirat(int fd, const char *path, mode_t mode); }
122969+ SYS_MKFIFOAT = 319 // { int sys_mkfifoat(int fd, const char *path, mode_t mode); }
122970+ SYS_MKNODAT = 320 // { int sys_mknodat(int fd, const char *path, mode_t mode, dev_t dev); }
122971+ SYS_OPENAT = 321 // { int sys_openat(int fd, const char *path, int flags, ... mode_t mode); }
122972+ SYS_READLINKAT = 322 // { ssize_t sys_readlinkat(int fd, const char *path, char *buf, size_t count); }
122973+ SYS_RENAMEAT = 323 // { int sys_renameat(int fromfd, const char *from, int tofd, const char *to); }
122974+ SYS_SYMLINKAT = 324 // { int sys_symlinkat(const char *path, int fd, const char *link); }
122975+ SYS_UNLINKAT = 325 // { int sys_unlinkat(int fd, const char *path, int flag); }
122976 SYS___SET_TCB = 329 // { void sys___set_tcb(void *tcb); }
122977 SYS___GET_TCB = 330 // { void *sys___get_tcb(void); }
122978 )
122979diff --git a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go
122980similarity index 67%
122981copy from vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go
122982copy to vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go
122983index 32653e53..fe2b689b 100644
122984--- a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go
122985+++ b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go
122986@@ -1,7 +1,7 @@
122987-// mksysnum_openbsd.pl
122988-// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
122989+// go run mksysnum.go https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master
122990+// Code generated by the command above; see README.md. DO NOT EDIT.
122991
122992-// +build arm,openbsd
122993+// +build arm64,openbsd
122994
122995 package unix
122996
122997@@ -9,35 +9,35 @@ const (
122998 SYS_EXIT = 1 // { void sys_exit(int rval); }
122999 SYS_FORK = 2 // { int sys_fork(void); }
123000 SYS_READ = 3 // { ssize_t sys_read(int fd, void *buf, size_t nbyte); }
123001- SYS_WRITE = 4 // { ssize_t sys_write(int fd, const void *buf, \
123002- SYS_OPEN = 5 // { int sys_open(const char *path, \
123003+ SYS_WRITE = 4 // { ssize_t sys_write(int fd, const void *buf, size_t nbyte); }
123004+ SYS_OPEN = 5 // { int sys_open(const char *path, int flags, ... mode_t mode); }
123005 SYS_CLOSE = 6 // { int sys_close(int fd); }
123006 SYS_GETENTROPY = 7 // { int sys_getentropy(void *buf, size_t nbyte); }
123007- SYS___TFORK = 8 // { int sys___tfork(const struct __tfork *param, \
123008+ SYS___TFORK = 8 // { int sys___tfork(const struct __tfork *param, size_t psize); }
123009 SYS_LINK = 9 // { int sys_link(const char *path, const char *link); }
123010 SYS_UNLINK = 10 // { int sys_unlink(const char *path); }
123011- SYS_WAIT4 = 11 // { pid_t sys_wait4(pid_t pid, int *status, \
123012+ SYS_WAIT4 = 11 // { pid_t sys_wait4(pid_t pid, int *status, int options, struct rusage *rusage); }
123013 SYS_CHDIR = 12 // { int sys_chdir(const char *path); }
123014 SYS_FCHDIR = 13 // { int sys_fchdir(int fd); }
123015- SYS_MKNOD = 14 // { int sys_mknod(const char *path, mode_t mode, \
123016+ SYS_MKNOD = 14 // { int sys_mknod(const char *path, mode_t mode, dev_t dev); }
123017 SYS_CHMOD = 15 // { int sys_chmod(const char *path, mode_t mode); }
123018- SYS_CHOWN = 16 // { int sys_chown(const char *path, uid_t uid, \
123019+ SYS_CHOWN = 16 // { int sys_chown(const char *path, uid_t uid, gid_t gid); }
123020 SYS_OBREAK = 17 // { int sys_obreak(char *nsize); } break
123021 SYS_GETDTABLECOUNT = 18 // { int sys_getdtablecount(void); }
123022- SYS_GETRUSAGE = 19 // { int sys_getrusage(int who, \
123023+ SYS_GETRUSAGE = 19 // { int sys_getrusage(int who, struct rusage *rusage); }
123024 SYS_GETPID = 20 // { pid_t sys_getpid(void); }
123025- SYS_MOUNT = 21 // { int sys_mount(const char *type, const char *path, \
123026+ SYS_MOUNT = 21 // { int sys_mount(const char *type, const char *path, int flags, void *data); }
123027 SYS_UNMOUNT = 22 // { int sys_unmount(const char *path, int flags); }
123028 SYS_SETUID = 23 // { int sys_setuid(uid_t uid); }
123029 SYS_GETUID = 24 // { uid_t sys_getuid(void); }
123030 SYS_GETEUID = 25 // { uid_t sys_geteuid(void); }
123031- SYS_PTRACE = 26 // { int sys_ptrace(int req, pid_t pid, caddr_t addr, \
123032- SYS_RECVMSG = 27 // { ssize_t sys_recvmsg(int s, struct msghdr *msg, \
123033- SYS_SENDMSG = 28 // { ssize_t sys_sendmsg(int s, \
123034- SYS_RECVFROM = 29 // { ssize_t sys_recvfrom(int s, void *buf, size_t len, \
123035- SYS_ACCEPT = 30 // { int sys_accept(int s, struct sockaddr *name, \
123036- SYS_GETPEERNAME = 31 // { int sys_getpeername(int fdes, struct sockaddr *asa, \
123037- SYS_GETSOCKNAME = 32 // { int sys_getsockname(int fdes, struct sockaddr *asa, \
123038+ SYS_PTRACE = 26 // { int sys_ptrace(int req, pid_t pid, caddr_t addr, int data); }
123039+ SYS_RECVMSG = 27 // { ssize_t sys_recvmsg(int s, struct msghdr *msg, int flags); }
123040+ SYS_SENDMSG = 28 // { ssize_t sys_sendmsg(int s, const struct msghdr *msg, int flags); }
123041+ SYS_RECVFROM = 29 // { ssize_t sys_recvfrom(int s, void *buf, size_t len, int flags, struct sockaddr *from, socklen_t *fromlenaddr); }
123042+ SYS_ACCEPT = 30 // { int sys_accept(int s, struct sockaddr *name, socklen_t *anamelen); }
123043+ SYS_GETPEERNAME = 31 // { int sys_getpeername(int fdes, struct sockaddr *asa, socklen_t *alen); }
123044+ SYS_GETSOCKNAME = 32 // { int sys_getsockname(int fdes, struct sockaddr *asa, socklen_t *alen); }
123045 SYS_ACCESS = 33 // { int sys_access(const char *path, int amode); }
123046 SYS_CHFLAGS = 34 // { int sys_chflags(const char *path, u_int flags); }
123047 SYS_FCHFLAGS = 35 // { int sys_fchflags(int fd, u_int flags); }
123048@@ -46,77 +46,80 @@ const (
123049 SYS_GETPPID = 39 // { pid_t sys_getppid(void); }
123050 SYS_LSTAT = 40 // { int sys_lstat(const char *path, struct stat *ub); }
123051 SYS_DUP = 41 // { int sys_dup(int fd); }
123052- SYS_FSTATAT = 42 // { int sys_fstatat(int fd, const char *path, \
123053+ SYS_FSTATAT = 42 // { int sys_fstatat(int fd, const char *path, struct stat *buf, int flag); }
123054 SYS_GETEGID = 43 // { gid_t sys_getegid(void); }
123055- SYS_PROFIL = 44 // { int sys_profil(caddr_t samples, size_t size, \
123056- SYS_KTRACE = 45 // { int sys_ktrace(const char *fname, int ops, \
123057- SYS_SIGACTION = 46 // { int sys_sigaction(int signum, \
123058+ SYS_PROFIL = 44 // { int sys_profil(caddr_t samples, size_t size, u_long offset, u_int scale); }
123059+ SYS_KTRACE = 45 // { int sys_ktrace(const char *fname, int ops, int facs, pid_t pid); }
123060+ SYS_SIGACTION = 46 // { int sys_sigaction(int signum, const struct sigaction *nsa, struct sigaction *osa); }
123061 SYS_GETGID = 47 // { gid_t sys_getgid(void); }
123062 SYS_SIGPROCMASK = 48 // { int sys_sigprocmask(int how, sigset_t mask); }
123063- SYS_GETLOGIN = 49 // { int sys_getlogin(char *namebuf, u_int namelen); }
123064 SYS_SETLOGIN = 50 // { int sys_setlogin(const char *namebuf); }
123065 SYS_ACCT = 51 // { int sys_acct(const char *path); }
123066 SYS_SIGPENDING = 52 // { int sys_sigpending(void); }
123067 SYS_FSTAT = 53 // { int sys_fstat(int fd, struct stat *sb); }
123068- SYS_IOCTL = 54 // { int sys_ioctl(int fd, \
123069+ SYS_IOCTL = 54 // { int sys_ioctl(int fd, u_long com, ... void *data); }
123070 SYS_REBOOT = 55 // { int sys_reboot(int opt); }
123071 SYS_REVOKE = 56 // { int sys_revoke(const char *path); }
123072- SYS_SYMLINK = 57 // { int sys_symlink(const char *path, \
123073- SYS_READLINK = 58 // { ssize_t sys_readlink(const char *path, \
123074- SYS_EXECVE = 59 // { int sys_execve(const char *path, \
123075+ SYS_SYMLINK = 57 // { int sys_symlink(const char *path, const char *link); }
123076+ SYS_READLINK = 58 // { ssize_t sys_readlink(const char *path, char *buf, size_t count); }
123077+ SYS_EXECVE = 59 // { int sys_execve(const char *path, char * const *argp, char * const *envp); }
123078 SYS_UMASK = 60 // { mode_t sys_umask(mode_t newmask); }
123079 SYS_CHROOT = 61 // { int sys_chroot(const char *path); }
123080- SYS_GETFSSTAT = 62 // { int sys_getfsstat(struct statfs *buf, size_t bufsize, \
123081- SYS_STATFS = 63 // { int sys_statfs(const char *path, \
123082+ SYS_GETFSSTAT = 62 // { int sys_getfsstat(struct statfs *buf, size_t bufsize, int flags); }
123083+ SYS_STATFS = 63 // { int sys_statfs(const char *path, struct statfs *buf); }
123084 SYS_FSTATFS = 64 // { int sys_fstatfs(int fd, struct statfs *buf); }
123085- SYS_FHSTATFS = 65 // { int sys_fhstatfs(const fhandle_t *fhp, \
123086+ SYS_FHSTATFS = 65 // { int sys_fhstatfs(const fhandle_t *fhp, struct statfs *buf); }
123087 SYS_VFORK = 66 // { int sys_vfork(void); }
123088- SYS_GETTIMEOFDAY = 67 // { int sys_gettimeofday(struct timeval *tp, \
123089- SYS_SETTIMEOFDAY = 68 // { int sys_settimeofday(const struct timeval *tv, \
123090- SYS_SETITIMER = 69 // { int sys_setitimer(int which, \
123091- SYS_GETITIMER = 70 // { int sys_getitimer(int which, \
123092- SYS_SELECT = 71 // { int sys_select(int nd, fd_set *in, fd_set *ou, \
123093- SYS_KEVENT = 72 // { int sys_kevent(int fd, \
123094+ SYS_GETTIMEOFDAY = 67 // { int sys_gettimeofday(struct timeval *tp, struct timezone *tzp); }
123095+ SYS_SETTIMEOFDAY = 68 // { int sys_settimeofday(const struct timeval *tv, const struct timezone *tzp); }
123096+ SYS_SETITIMER = 69 // { int sys_setitimer(int which, const struct itimerval *itv, struct itimerval *oitv); }
123097+ SYS_GETITIMER = 70 // { int sys_getitimer(int which, struct itimerval *itv); }
123098+ SYS_SELECT = 71 // { int sys_select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); }
123099+ SYS_KEVENT = 72 // { int sys_kevent(int fd, const struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); }
123100 SYS_MUNMAP = 73 // { int sys_munmap(void *addr, size_t len); }
123101- SYS_MPROTECT = 74 // { int sys_mprotect(void *addr, size_t len, \
123102- SYS_MADVISE = 75 // { int sys_madvise(void *addr, size_t len, \
123103- SYS_UTIMES = 76 // { int sys_utimes(const char *path, \
123104- SYS_FUTIMES = 77 // { int sys_futimes(int fd, \
123105- SYS_MINCORE = 78 // { int sys_mincore(void *addr, size_t len, \
123106- SYS_GETGROUPS = 79 // { int sys_getgroups(int gidsetsize, \
123107- SYS_SETGROUPS = 80 // { int sys_setgroups(int gidsetsize, \
123108+ SYS_MPROTECT = 74 // { int sys_mprotect(void *addr, size_t len, int prot); }
123109+ SYS_MADVISE = 75 // { int sys_madvise(void *addr, size_t len, int behav); }
123110+ SYS_UTIMES = 76 // { int sys_utimes(const char *path, const struct timeval *tptr); }
123111+ SYS_FUTIMES = 77 // { int sys_futimes(int fd, const struct timeval *tptr); }
123112+ SYS_GETGROUPS = 79 // { int sys_getgroups(int gidsetsize, gid_t *gidset); }
123113+ SYS_SETGROUPS = 80 // { int sys_setgroups(int gidsetsize, const gid_t *gidset); }
123114 SYS_GETPGRP = 81 // { int sys_getpgrp(void); }
123115 SYS_SETPGID = 82 // { int sys_setpgid(pid_t pid, pid_t pgid); }
123116- SYS_SENDSYSLOG = 83 // { int sys_sendsyslog(const void *buf, size_t nbyte); }
123117- SYS_UTIMENSAT = 84 // { int sys_utimensat(int fd, const char *path, \
123118- SYS_FUTIMENS = 85 // { int sys_futimens(int fd, \
123119- SYS_CLOCK_GETTIME = 87 // { int sys_clock_gettime(clockid_t clock_id, \
123120- SYS_CLOCK_SETTIME = 88 // { int sys_clock_settime(clockid_t clock_id, \
123121- SYS_CLOCK_GETRES = 89 // { int sys_clock_getres(clockid_t clock_id, \
123122+ SYS_FUTEX = 83 // { int sys_futex(uint32_t *f, int op, int val, const struct timespec *timeout, uint32_t *g); }
123123+ SYS_UTIMENSAT = 84 // { int sys_utimensat(int fd, const char *path, const struct timespec *times, int flag); }
123124+ SYS_FUTIMENS = 85 // { int sys_futimens(int fd, const struct timespec *times); }
123125+ SYS_KBIND = 86 // { int sys_kbind(const struct __kbind *param, size_t psize, int64_t proc_cookie); }
123126+ SYS_CLOCK_GETTIME = 87 // { int sys_clock_gettime(clockid_t clock_id, struct timespec *tp); }
123127+ SYS_CLOCK_SETTIME = 88 // { int sys_clock_settime(clockid_t clock_id, const struct timespec *tp); }
123128+ SYS_CLOCK_GETRES = 89 // { int sys_clock_getres(clockid_t clock_id, struct timespec *tp); }
123129 SYS_DUP2 = 90 // { int sys_dup2(int from, int to); }
123130- SYS_NANOSLEEP = 91 // { int sys_nanosleep(const struct timespec *rqtp, \
123131+ SYS_NANOSLEEP = 91 // { int sys_nanosleep(const struct timespec *rqtp, struct timespec *rmtp); }
123132 SYS_FCNTL = 92 // { int sys_fcntl(int fd, int cmd, ... void *arg); }
123133- SYS_ACCEPT4 = 93 // { int sys_accept4(int s, struct sockaddr *name, \
123134- SYS___THRSLEEP = 94 // { int sys___thrsleep(const volatile void *ident, \
123135+ SYS_ACCEPT4 = 93 // { int sys_accept4(int s, struct sockaddr *name, socklen_t *anamelen, int flags); }
123136+ SYS___THRSLEEP = 94 // { int sys___thrsleep(const volatile void *ident, clockid_t clock_id, const struct timespec *tp, void *lock, const int *abort); }
123137 SYS_FSYNC = 95 // { int sys_fsync(int fd); }
123138 SYS_SETPRIORITY = 96 // { int sys_setpriority(int which, id_t who, int prio); }
123139 SYS_SOCKET = 97 // { int sys_socket(int domain, int type, int protocol); }
123140- SYS_CONNECT = 98 // { int sys_connect(int s, const struct sockaddr *name, \
123141+ SYS_CONNECT = 98 // { int sys_connect(int s, const struct sockaddr *name, socklen_t namelen); }
123142 SYS_GETDENTS = 99 // { int sys_getdents(int fd, void *buf, size_t buflen); }
123143 SYS_GETPRIORITY = 100 // { int sys_getpriority(int which, id_t who); }
123144 SYS_PIPE2 = 101 // { int sys_pipe2(int *fdp, int flags); }
123145 SYS_DUP3 = 102 // { int sys_dup3(int from, int to, int flags); }
123146 SYS_SIGRETURN = 103 // { int sys_sigreturn(struct sigcontext *sigcntxp); }
123147- SYS_BIND = 104 // { int sys_bind(int s, const struct sockaddr *name, \
123148- SYS_SETSOCKOPT = 105 // { int sys_setsockopt(int s, int level, int name, \
123149+ SYS_BIND = 104 // { int sys_bind(int s, const struct sockaddr *name, socklen_t namelen); }
123150+ SYS_SETSOCKOPT = 105 // { int sys_setsockopt(int s, int level, int name, const void *val, socklen_t valsize); }
123151 SYS_LISTEN = 106 // { int sys_listen(int s, int backlog); }
123152- SYS_CHFLAGSAT = 107 // { int sys_chflagsat(int fd, const char *path, \
123153- SYS_PPOLL = 109 // { int sys_ppoll(struct pollfd *fds, \
123154- SYS_PSELECT = 110 // { int sys_pselect(int nd, fd_set *in, fd_set *ou, \
123155+ SYS_CHFLAGSAT = 107 // { int sys_chflagsat(int fd, const char *path, u_int flags, int atflags); }
123156+ SYS_PLEDGE = 108 // { int sys_pledge(const char *promises, const char *execpromises); }
123157+ SYS_PPOLL = 109 // { int sys_ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *mask); }
123158+ SYS_PSELECT = 110 // { int sys_pselect(int nd, fd_set *in, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *mask); }
123159 SYS_SIGSUSPEND = 111 // { int sys_sigsuspend(int mask); }
123160- SYS_GETSOCKOPT = 118 // { int sys_getsockopt(int s, int level, int name, \
123161- SYS_READV = 120 // { ssize_t sys_readv(int fd, \
123162- SYS_WRITEV = 121 // { ssize_t sys_writev(int fd, \
123163+ SYS_SENDSYSLOG = 112 // { int sys_sendsyslog(const char *buf, size_t nbyte, int flags); }
123164+ SYS_UNVEIL = 114 // { int sys_unveil(const char *path, const char *permissions); }
123165+ SYS_GETSOCKOPT = 118 // { int sys_getsockopt(int s, int level, int name, void *val, socklen_t *avalsize); }
123166+ SYS_THRKILL = 119 // { int sys_thrkill(pid_t tid, int signum, void *tcb); }
123167+ SYS_READV = 120 // { ssize_t sys_readv(int fd, const struct iovec *iovp, int iovcnt); }
123168+ SYS_WRITEV = 121 // { ssize_t sys_writev(int fd, const struct iovec *iovp, int iovcnt); }
123169 SYS_KILL = 122 // { int sys_kill(int pid, int signum); }
123170 SYS_FCHOWN = 123 // { int sys_fchown(int fd, uid_t uid, gid_t gid); }
123171 SYS_FCHMOD = 124 // { int sys_fchmod(int fd, mode_t mode); }
123172@@ -125,89 +128,90 @@ const (
123173 SYS_RENAME = 128 // { int sys_rename(const char *from, const char *to); }
123174 SYS_FLOCK = 131 // { int sys_flock(int fd, int how); }
123175 SYS_MKFIFO = 132 // { int sys_mkfifo(const char *path, mode_t mode); }
123176- SYS_SENDTO = 133 // { ssize_t sys_sendto(int s, const void *buf, \
123177+ SYS_SENDTO = 133 // { ssize_t sys_sendto(int s, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen); }
123178 SYS_SHUTDOWN = 134 // { int sys_shutdown(int s, int how); }
123179- SYS_SOCKETPAIR = 135 // { int sys_socketpair(int domain, int type, \
123180+ SYS_SOCKETPAIR = 135 // { int sys_socketpair(int domain, int type, int protocol, int *rsv); }
123181 SYS_MKDIR = 136 // { int sys_mkdir(const char *path, mode_t mode); }
123182 SYS_RMDIR = 137 // { int sys_rmdir(const char *path); }
123183- SYS_ADJTIME = 140 // { int sys_adjtime(const struct timeval *delta, \
123184+ SYS_ADJTIME = 140 // { int sys_adjtime(const struct timeval *delta, struct timeval *olddelta); }
123185+ SYS_GETLOGIN_R = 141 // { int sys_getlogin_r(char *namebuf, u_int namelen); }
123186 SYS_SETSID = 147 // { int sys_setsid(void); }
123187- SYS_QUOTACTL = 148 // { int sys_quotactl(const char *path, int cmd, \
123188+ SYS_QUOTACTL = 148 // { int sys_quotactl(const char *path, int cmd, int uid, char *arg); }
123189 SYS_NFSSVC = 155 // { int sys_nfssvc(int flag, void *argp); }
123190 SYS_GETFH = 161 // { int sys_getfh(const char *fname, fhandle_t *fhp); }
123191 SYS_SYSARCH = 165 // { int sys_sysarch(int op, void *parms); }
123192- SYS_PREAD = 173 // { ssize_t sys_pread(int fd, void *buf, \
123193- SYS_PWRITE = 174 // { ssize_t sys_pwrite(int fd, const void *buf, \
123194+ SYS_PREAD = 173 // { ssize_t sys_pread(int fd, void *buf, size_t nbyte, int pad, off_t offset); }
123195+ SYS_PWRITE = 174 // { ssize_t sys_pwrite(int fd, const void *buf, size_t nbyte, int pad, off_t offset); }
123196 SYS_SETGID = 181 // { int sys_setgid(gid_t gid); }
123197 SYS_SETEGID = 182 // { int sys_setegid(gid_t egid); }
123198 SYS_SETEUID = 183 // { int sys_seteuid(uid_t euid); }
123199 SYS_PATHCONF = 191 // { long sys_pathconf(const char *path, int name); }
123200 SYS_FPATHCONF = 192 // { long sys_fpathconf(int fd, int name); }
123201 SYS_SWAPCTL = 193 // { int sys_swapctl(int cmd, const void *arg, int misc); }
123202- SYS_GETRLIMIT = 194 // { int sys_getrlimit(int which, \
123203- SYS_SETRLIMIT = 195 // { int sys_setrlimit(int which, \
123204- SYS_MMAP = 197 // { void *sys_mmap(void *addr, size_t len, int prot, \
123205- SYS_LSEEK = 199 // { off_t sys_lseek(int fd, int pad, off_t offset, \
123206- SYS_TRUNCATE = 200 // { int sys_truncate(const char *path, int pad, \
123207+ SYS_GETRLIMIT = 194 // { int sys_getrlimit(int which, struct rlimit *rlp); }
123208+ SYS_SETRLIMIT = 195 // { int sys_setrlimit(int which, const struct rlimit *rlp); }
123209+ SYS_MMAP = 197 // { void *sys_mmap(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); }
123210+ SYS_LSEEK = 199 // { off_t sys_lseek(int fd, int pad, off_t offset, int whence); }
123211+ SYS_TRUNCATE = 200 // { int sys_truncate(const char *path, int pad, off_t length); }
123212 SYS_FTRUNCATE = 201 // { int sys_ftruncate(int fd, int pad, off_t length); }
123213- SYS___SYSCTL = 202 // { int sys___sysctl(const int *name, u_int namelen, \
123214+ SYS_SYSCTL = 202 // { int sys_sysctl(const int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); }
123215 SYS_MLOCK = 203 // { int sys_mlock(const void *addr, size_t len); }
123216 SYS_MUNLOCK = 204 // { int sys_munlock(const void *addr, size_t len); }
123217 SYS_GETPGID = 207 // { pid_t sys_getpgid(pid_t pid); }
123218- SYS_UTRACE = 209 // { int sys_utrace(const char *label, const void *addr, \
123219+ SYS_UTRACE = 209 // { int sys_utrace(const char *label, const void *addr, size_t len); }
123220 SYS_SEMGET = 221 // { int sys_semget(key_t key, int nsems, int semflg); }
123221 SYS_MSGGET = 225 // { int sys_msgget(key_t key, int msgflg); }
123222- SYS_MSGSND = 226 // { int sys_msgsnd(int msqid, const void *msgp, size_t msgsz, \
123223- SYS_MSGRCV = 227 // { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, \
123224- SYS_SHMAT = 228 // { void *sys_shmat(int shmid, const void *shmaddr, \
123225+ SYS_MSGSND = 226 // { int sys_msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); }
123226+ SYS_MSGRCV = 227 // { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
123227+ SYS_SHMAT = 228 // { void *sys_shmat(int shmid, const void *shmaddr, int shmflg); }
123228 SYS_SHMDT = 230 // { int sys_shmdt(const void *shmaddr); }
123229- SYS_MINHERIT = 250 // { int sys_minherit(void *addr, size_t len, \
123230- SYS_POLL = 252 // { int sys_poll(struct pollfd *fds, \
123231+ SYS_MINHERIT = 250 // { int sys_minherit(void *addr, size_t len, int inherit); }
123232+ SYS_POLL = 252 // { int sys_poll(struct pollfd *fds, u_int nfds, int timeout); }
123233 SYS_ISSETUGID = 253 // { int sys_issetugid(void); }
123234 SYS_LCHOWN = 254 // { int sys_lchown(const char *path, uid_t uid, gid_t gid); }
123235 SYS_GETSID = 255 // { pid_t sys_getsid(pid_t pid); }
123236 SYS_MSYNC = 256 // { int sys_msync(void *addr, size_t len, int flags); }
123237 SYS_PIPE = 263 // { int sys_pipe(int *fdp); }
123238 SYS_FHOPEN = 264 // { int sys_fhopen(const fhandle_t *fhp, int flags); }
123239- SYS_PREADV = 267 // { ssize_t sys_preadv(int fd, \
123240- SYS_PWRITEV = 268 // { ssize_t sys_pwritev(int fd, \
123241+ SYS_PREADV = 267 // { ssize_t sys_preadv(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); }
123242+ SYS_PWRITEV = 268 // { ssize_t sys_pwritev(int fd, const struct iovec *iovp, int iovcnt, int pad, off_t offset); }
123243 SYS_KQUEUE = 269 // { int sys_kqueue(void); }
123244 SYS_MLOCKALL = 271 // { int sys_mlockall(int flags); }
123245 SYS_MUNLOCKALL = 272 // { int sys_munlockall(void); }
123246- SYS_GETRESUID = 281 // { int sys_getresuid(uid_t *ruid, uid_t *euid, \
123247- SYS_SETRESUID = 282 // { int sys_setresuid(uid_t ruid, uid_t euid, \
123248- SYS_GETRESGID = 283 // { int sys_getresgid(gid_t *rgid, gid_t *egid, \
123249- SYS_SETRESGID = 284 // { int sys_setresgid(gid_t rgid, gid_t egid, \
123250- SYS_MQUERY = 286 // { void *sys_mquery(void *addr, size_t len, int prot, \
123251+ SYS_GETRESUID = 281 // { int sys_getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); }
123252+ SYS_SETRESUID = 282 // { int sys_setresuid(uid_t ruid, uid_t euid, uid_t suid); }
123253+ SYS_GETRESGID = 283 // { int sys_getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
123254+ SYS_SETRESGID = 284 // { int sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
123255+ SYS_MQUERY = 286 // { void *sys_mquery(void *addr, size_t len, int prot, int flags, int fd, long pad, off_t pos); }
123256 SYS_CLOSEFROM = 287 // { int sys_closefrom(int fd); }
123257- SYS_SIGALTSTACK = 288 // { int sys_sigaltstack(const struct sigaltstack *nss, \
123258+ SYS_SIGALTSTACK = 288 // { int sys_sigaltstack(const struct sigaltstack *nss, struct sigaltstack *oss); }
123259 SYS_SHMGET = 289 // { int sys_shmget(key_t key, size_t size, int shmflg); }
123260- SYS_SEMOP = 290 // { int sys_semop(int semid, struct sembuf *sops, \
123261- SYS_FHSTAT = 294 // { int sys_fhstat(const fhandle_t *fhp, \
123262- SYS___SEMCTL = 295 // { int sys___semctl(int semid, int semnum, int cmd, \
123263- SYS_SHMCTL = 296 // { int sys_shmctl(int shmid, int cmd, \
123264- SYS_MSGCTL = 297 // { int sys_msgctl(int msqid, int cmd, \
123265+ SYS_SEMOP = 290 // { int sys_semop(int semid, struct sembuf *sops, size_t nsops); }
123266+ SYS_FHSTAT = 294 // { int sys_fhstat(const fhandle_t *fhp, struct stat *sb); }
123267+ SYS___SEMCTL = 295 // { int sys___semctl(int semid, int semnum, int cmd, union semun *arg); }
123268+ SYS_SHMCTL = 296 // { int sys_shmctl(int shmid, int cmd, struct shmid_ds *buf); }
123269+ SYS_MSGCTL = 297 // { int sys_msgctl(int msqid, int cmd, struct msqid_ds *buf); }
123270 SYS_SCHED_YIELD = 298 // { int sys_sched_yield(void); }
123271 SYS_GETTHRID = 299 // { pid_t sys_getthrid(void); }
123272- SYS___THRWAKEUP = 301 // { int sys___thrwakeup(const volatile void *ident, \
123273+ SYS___THRWAKEUP = 301 // { int sys___thrwakeup(const volatile void *ident, int n); }
123274 SYS___THREXIT = 302 // { void sys___threxit(pid_t *notdead); }
123275- SYS___THRSIGDIVERT = 303 // { int sys___thrsigdivert(sigset_t sigmask, \
123276+ SYS___THRSIGDIVERT = 303 // { int sys___thrsigdivert(sigset_t sigmask, siginfo_t *info, const struct timespec *timeout); }
123277 SYS___GETCWD = 304 // { int sys___getcwd(char *buf, size_t len); }
123278- SYS_ADJFREQ = 305 // { int sys_adjfreq(const int64_t *freq, \
123279+ SYS_ADJFREQ = 305 // { int sys_adjfreq(const int64_t *freq, int64_t *oldfreq); }
123280 SYS_SETRTABLE = 310 // { int sys_setrtable(int rtableid); }
123281 SYS_GETRTABLE = 311 // { int sys_getrtable(void); }
123282- SYS_FACCESSAT = 313 // { int sys_faccessat(int fd, const char *path, \
123283- SYS_FCHMODAT = 314 // { int sys_fchmodat(int fd, const char *path, \
123284- SYS_FCHOWNAT = 315 // { int sys_fchownat(int fd, const char *path, \
123285- SYS_LINKAT = 317 // { int sys_linkat(int fd1, const char *path1, int fd2, \
123286- SYS_MKDIRAT = 318 // { int sys_mkdirat(int fd, const char *path, \
123287- SYS_MKFIFOAT = 319 // { int sys_mkfifoat(int fd, const char *path, \
123288- SYS_MKNODAT = 320 // { int sys_mknodat(int fd, const char *path, \
123289- SYS_OPENAT = 321 // { int sys_openat(int fd, const char *path, int flags, \
123290- SYS_READLINKAT = 322 // { ssize_t sys_readlinkat(int fd, const char *path, \
123291- SYS_RENAMEAT = 323 // { int sys_renameat(int fromfd, const char *from, \
123292- SYS_SYMLINKAT = 324 // { int sys_symlinkat(const char *path, int fd, \
123293- SYS_UNLINKAT = 325 // { int sys_unlinkat(int fd, const char *path, \
123294+ SYS_FACCESSAT = 313 // { int sys_faccessat(int fd, const char *path, int amode, int flag); }
123295+ SYS_FCHMODAT = 314 // { int sys_fchmodat(int fd, const char *path, mode_t mode, int flag); }
123296+ SYS_FCHOWNAT = 315 // { int sys_fchownat(int fd, const char *path, uid_t uid, gid_t gid, int flag); }
123297+ SYS_LINKAT = 317 // { int sys_linkat(int fd1, const char *path1, int fd2, const char *path2, int flag); }
123298+ SYS_MKDIRAT = 318 // { int sys_mkdirat(int fd, const char *path, mode_t mode); }
123299+ SYS_MKFIFOAT = 319 // { int sys_mkfifoat(int fd, const char *path, mode_t mode); }
123300+ SYS_MKNODAT = 320 // { int sys_mknodat(int fd, const char *path, mode_t mode, dev_t dev); }
123301+ SYS_OPENAT = 321 // { int sys_openat(int fd, const char *path, int flags, ... mode_t mode); }
123302+ SYS_READLINKAT = 322 // { ssize_t sys_readlinkat(int fd, const char *path, char *buf, size_t count); }
123303+ SYS_RENAMEAT = 323 // { int sys_renameat(int fromfd, const char *from, int tofd, const char *to); }
123304+ SYS_SYMLINKAT = 324 // { int sys_symlinkat(const char *path, int fd, const char *link); }
123305+ SYS_UNLINKAT = 325 // { int sys_unlinkat(int fd, const char *path, int flag); }
123306 SYS___SET_TCB = 329 // { void sys___set_tcb(void *tcb); }
123307 SYS___GET_TCB = 330 // { void *sys___get_tcb(void); }
123308 )
123309diff --git a/vendor/golang.org/x/sys/unix/zsysnum_solaris_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_solaris_amd64.go
123310deleted file mode 100644
123311index c7086598..00000000
123312--- a/vendor/golang.org/x/sys/unix/zsysnum_solaris_amd64.go
123313+++ /dev/null
123314@@ -1,13 +0,0 @@
123315-// Copyright 2014 The Go Authors. All rights reserved.
123316-// Use of this source code is governed by a BSD-style
123317-// license that can be found in the LICENSE file.
123318-
123319-// +build amd64,solaris
123320-
123321-package unix
123322-
123323-// TODO(aram): remove these before Go 1.3.
123324-const (
123325- SYS_EXECVE = 59
123326- SYS_FCNTL = 62
123327-)
123328diff --git a/vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go b/vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go
123329new file mode 100644
123330index 00000000..2c1f815e
123331--- /dev/null
123332+++ b/vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go
123333@@ -0,0 +1,352 @@
123334+// cgo -godefs types_aix.go | go run mkpost.go
123335+// Code generated by the command above; see README.md. DO NOT EDIT.
123336+
123337+// +build ppc,aix
123338+
123339+package unix
123340+
123341+const (
123342+ SizeofPtr = 0x4
123343+ SizeofShort = 0x2
123344+ SizeofInt = 0x4
123345+ SizeofLong = 0x4
123346+ SizeofLongLong = 0x8
123347+ PathMax = 0x3ff
123348+)
123349+
123350+type (
123351+ _C_short int16
123352+ _C_int int32
123353+ _C_long int32
123354+ _C_long_long int64
123355+)
123356+
123357+type off64 int64
123358+type off int32
123359+type Mode_t uint32
123360+
123361+type Timespec struct {
123362+ Sec int32
123363+ Nsec int32
123364+}
123365+
123366+type Timeval struct {
123367+ Sec int32
123368+ Usec int32
123369+}
123370+
123371+type Timeval32 struct {
123372+ Sec int32
123373+ Usec int32
123374+}
123375+
123376+type Timex struct{}
123377+
123378+type Time_t int32
123379+
123380+type Tms struct{}
123381+
123382+type Utimbuf struct {
123383+ Actime int32
123384+ Modtime int32
123385+}
123386+
123387+type Timezone struct {
123388+ Minuteswest int32
123389+ Dsttime int32
123390+}
123391+
123392+type Rusage struct {
123393+ Utime Timeval
123394+ Stime Timeval
123395+ Maxrss int32
123396+ Ixrss int32
123397+ Idrss int32
123398+ Isrss int32
123399+ Minflt int32
123400+ Majflt int32
123401+ Nswap int32
123402+ Inblock int32
123403+ Oublock int32
123404+ Msgsnd int32
123405+ Msgrcv int32
123406+ Nsignals int32
123407+ Nvcsw int32
123408+ Nivcsw int32
123409+}
123410+
123411+type Rlimit struct {
123412+ Cur uint64
123413+ Max uint64
123414+}
123415+
123416+type Pid_t int32
123417+
123418+type _Gid_t uint32
123419+
123420+type dev_t uint32
123421+
123422+type Stat_t struct {
123423+ Dev uint32
123424+ Ino uint32
123425+ Mode uint32
123426+ Nlink int16
123427+ Flag uint16
123428+ Uid uint32
123429+ Gid uint32
123430+ Rdev uint32
123431+ Size int32
123432+ Atim Timespec
123433+ Mtim Timespec
123434+ Ctim Timespec
123435+ Blksize int32
123436+ Blocks int32
123437+ Vfstype int32
123438+ Vfs uint32
123439+ Type uint32
123440+ Gen uint32
123441+ Reserved [9]uint32
123442+}
123443+
123444+type StatxTimestamp struct{}
123445+
123446+type Statx_t struct{}
123447+
123448+type Dirent struct {
123449+ Offset uint32
123450+ Ino uint32
123451+ Reclen uint16
123452+ Namlen uint16
123453+ Name [256]uint8
123454+}
123455+
123456+type RawSockaddrInet4 struct {
123457+ Len uint8
123458+ Family uint8
123459+ Port uint16
123460+ Addr [4]byte /* in_addr */
123461+ Zero [8]uint8
123462+}
123463+
123464+type RawSockaddrInet6 struct {
123465+ Len uint8
123466+ Family uint8
123467+ Port uint16
123468+ Flowinfo uint32
123469+ Addr [16]byte /* in6_addr */
123470+ Scope_id uint32
123471+}
123472+
123473+type RawSockaddrUnix struct {
123474+ Len uint8
123475+ Family uint8
123476+ Path [1023]uint8
123477+}
123478+
123479+type RawSockaddrDatalink struct {
123480+ Len uint8
123481+ Family uint8
123482+ Index uint16
123483+ Type uint8
123484+ Nlen uint8
123485+ Alen uint8
123486+ Slen uint8
123487+ Data [120]uint8
123488+}
123489+
123490+type RawSockaddr struct {
123491+ Len uint8
123492+ Family uint8
123493+ Data [14]uint8
123494+}
123495+
123496+type RawSockaddrAny struct {
123497+ Addr RawSockaddr
123498+ Pad [1012]uint8
123499+}
123500+
123501+type _Socklen uint32
123502+
123503+type Cmsghdr struct {
123504+ Len uint32
123505+ Level int32
123506+ Type int32
123507+}
123508+
123509+type ICMPv6Filter struct {
123510+ Filt [8]uint32
123511+}
123512+
123513+type Iovec struct {
123514+ Base *byte
123515+ Len uint32
123516+}
123517+
123518+type IPMreq struct {
123519+ Multiaddr [4]byte /* in_addr */
123520+ Interface [4]byte /* in_addr */
123521+}
123522+
123523+type IPv6Mreq struct {
123524+ Multiaddr [16]byte /* in6_addr */
123525+ Interface uint32
123526+}
123527+
123528+type IPv6MTUInfo struct {
123529+ Addr RawSockaddrInet6
123530+ Mtu uint32
123531+}
123532+
123533+type Linger struct {
123534+ Onoff int32
123535+ Linger int32
123536+}
123537+
123538+type Msghdr struct {
123539+ Name *byte
123540+ Namelen uint32
123541+ Iov *Iovec
123542+ Iovlen int32
123543+ Control *byte
123544+ Controllen uint32
123545+ Flags int32
123546+}
123547+
123548+const (
123549+ SizeofSockaddrInet4 = 0x10
123550+ SizeofSockaddrInet6 = 0x1c
123551+ SizeofSockaddrAny = 0x404
123552+ SizeofSockaddrUnix = 0x401
123553+ SizeofSockaddrDatalink = 0x80
123554+ SizeofLinger = 0x8
123555+ SizeofIPMreq = 0x8
123556+ SizeofIPv6Mreq = 0x14
123557+ SizeofIPv6MTUInfo = 0x20
123558+ SizeofMsghdr = 0x1c
123559+ SizeofCmsghdr = 0xc
123560+ SizeofICMPv6Filter = 0x20
123561+)
123562+
123563+const (
123564+ SizeofIfMsghdr = 0x10
123565+)
123566+
123567+type IfMsgHdr struct {
123568+ Msglen uint16
123569+ Version uint8
123570+ Type uint8
123571+ Addrs int32
123572+ Flags int32
123573+ Index uint16
123574+ Addrlen uint8
123575+ _ [1]byte
123576+}
123577+
123578+type FdSet struct {
123579+ Bits [2048]int32
123580+}
123581+
123582+type Utsname struct {
123583+ Sysname [32]byte
123584+ Nodename [32]byte
123585+ Release [32]byte
123586+ Version [32]byte
123587+ Machine [32]byte
123588+}
123589+
123590+type Ustat_t struct{}
123591+
123592+type Sigset_t struct {
123593+ Losigs uint32
123594+ Hisigs uint32
123595+}
123596+
123597+const (
123598+ AT_FDCWD = -0x2
123599+ AT_REMOVEDIR = 0x1
123600+ AT_SYMLINK_NOFOLLOW = 0x1
123601+)
123602+
123603+type Termios struct {
123604+ Iflag uint32
123605+ Oflag uint32
123606+ Cflag uint32
123607+ Lflag uint32
123608+ Cc [16]uint8
123609+}
123610+
123611+type Termio struct {
123612+ Iflag uint16
123613+ Oflag uint16
123614+ Cflag uint16
123615+ Lflag uint16
123616+ Line uint8
123617+ Cc [8]uint8
123618+ _ [1]byte
123619+}
123620+
123621+type Winsize struct {
123622+ Row uint16
123623+ Col uint16
123624+ Xpixel uint16
123625+ Ypixel uint16
123626+}
123627+
123628+type PollFd struct {
123629+ Fd int32
123630+ Events uint16
123631+ Revents uint16
123632+}
123633+
123634+const (
123635+ POLLERR = 0x4000
123636+ POLLHUP = 0x2000
123637+ POLLIN = 0x1
123638+ POLLNVAL = 0x8000
123639+ POLLOUT = 0x2
123640+ POLLPRI = 0x4
123641+ POLLRDBAND = 0x20
123642+ POLLRDNORM = 0x10
123643+ POLLWRBAND = 0x40
123644+ POLLWRNORM = 0x2
123645+)
123646+
123647+type Flock_t struct {
123648+ Type int16
123649+ Whence int16
123650+ Sysid uint32
123651+ Pid int32
123652+ Vfs int32
123653+ Start int64
123654+ Len int64
123655+}
123656+
123657+type Fsid_t struct {
123658+ Val [2]uint32
123659+}
123660+type Fsid64_t struct {
123661+ Val [2]uint64
123662+}
123663+
123664+type Statfs_t struct {
123665+ Version int32
123666+ Type int32
123667+ Bsize uint32
123668+ Blocks uint32
123669+ Bfree uint32
123670+ Bavail uint32
123671+ Files uint32
123672+ Ffree uint32
123673+ Fsid Fsid_t
123674+ Vfstype int32
123675+ Fsize uint32
123676+ Vfsnumber int32
123677+ Vfsoff int32
123678+ Vfslen int32
123679+ Vfsvers int32
123680+ Fname [32]uint8
123681+ Fpack [32]uint8
123682+ Name_max int32
123683+}
123684+
123685+const RNDGETENTCNT = 0x80045200
123686diff --git a/vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go b/vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go
123687new file mode 100644
123688index 00000000..b4a069ec
123689--- /dev/null
123690+++ b/vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go
123691@@ -0,0 +1,356 @@
123692+// cgo -godefs types_aix.go | go run mkpost.go
123693+// Code generated by the command above; see README.md. DO NOT EDIT.
123694+
123695+// +build ppc64,aix
123696+
123697+package unix
123698+
123699+const (
123700+ SizeofPtr = 0x8
123701+ SizeofShort = 0x2
123702+ SizeofInt = 0x4
123703+ SizeofLong = 0x8
123704+ SizeofLongLong = 0x8
123705+ PathMax = 0x3ff
123706+)
123707+
123708+type (
123709+ _C_short int16
123710+ _C_int int32
123711+ _C_long int64
123712+ _C_long_long int64
123713+)
123714+
123715+type off64 int64
123716+type off int64
123717+type Mode_t uint32
123718+
123719+type Timespec struct {
123720+ Sec int64
123721+ Nsec int64
123722+}
123723+
123724+type Timeval struct {
123725+ Sec int64
123726+ Usec int32
123727+ _ [4]byte
123728+}
123729+
123730+type Timeval32 struct {
123731+ Sec int32
123732+ Usec int32
123733+}
123734+
123735+type Timex struct{}
123736+
123737+type Time_t int64
123738+
123739+type Tms struct{}
123740+
123741+type Utimbuf struct {
123742+ Actime int64
123743+ Modtime int64
123744+}
123745+
123746+type Timezone struct {
123747+ Minuteswest int32
123748+ Dsttime int32
123749+}
123750+
123751+type Rusage struct {
123752+ Utime Timeval
123753+ Stime Timeval
123754+ Maxrss int64
123755+ Ixrss int64
123756+ Idrss int64
123757+ Isrss int64
123758+ Minflt int64
123759+ Majflt int64
123760+ Nswap int64
123761+ Inblock int64
123762+ Oublock int64
123763+ Msgsnd int64
123764+ Msgrcv int64
123765+ Nsignals int64
123766+ Nvcsw int64
123767+ Nivcsw int64
123768+}
123769+
123770+type Rlimit struct {
123771+ Cur uint64
123772+ Max uint64
123773+}
123774+
123775+type Pid_t int32
123776+
123777+type _Gid_t uint32
123778+
123779+type dev_t uint64
123780+
123781+type Stat_t struct {
123782+ Dev uint64
123783+ Ino uint64
123784+ Mode uint32
123785+ Nlink int16
123786+ Flag uint16
123787+ Uid uint32
123788+ Gid uint32
123789+ Rdev uint64
123790+ Ssize int32
123791+ Atim Timespec
123792+ Mtim Timespec
123793+ Ctim Timespec
123794+ Blksize int64
123795+ Blocks int64
123796+ Vfstype int32
123797+ Vfs uint32
123798+ Type uint32
123799+ Gen uint32
123800+ Reserved [9]uint32
123801+ Padto_ll uint32
123802+ Size int64
123803+}
123804+
123805+type StatxTimestamp struct{}
123806+
123807+type Statx_t struct{}
123808+
123809+type Dirent struct {
123810+ Offset uint64
123811+ Ino uint64
123812+ Reclen uint16
123813+ Namlen uint16
123814+ Name [256]uint8
123815+ _ [4]byte
123816+}
123817+
123818+type RawSockaddrInet4 struct {
123819+ Len uint8
123820+ Family uint8
123821+ Port uint16
123822+ Addr [4]byte /* in_addr */
123823+ Zero [8]uint8
123824+}
123825+
123826+type RawSockaddrInet6 struct {
123827+ Len uint8
123828+ Family uint8
123829+ Port uint16
123830+ Flowinfo uint32
123831+ Addr [16]byte /* in6_addr */
123832+ Scope_id uint32
123833+}
123834+
123835+type RawSockaddrUnix struct {
123836+ Len uint8
123837+ Family uint8
123838+ Path [1023]uint8
123839+}
123840+
123841+type RawSockaddrDatalink struct {
123842+ Len uint8
123843+ Family uint8
123844+ Index uint16
123845+ Type uint8
123846+ Nlen uint8
123847+ Alen uint8
123848+ Slen uint8
123849+ Data [120]uint8
123850+}
123851+
123852+type RawSockaddr struct {
123853+ Len uint8
123854+ Family uint8
123855+ Data [14]uint8
123856+}
123857+
123858+type RawSockaddrAny struct {
123859+ Addr RawSockaddr
123860+ Pad [1012]uint8
123861+}
123862+
123863+type _Socklen uint32
123864+
123865+type Cmsghdr struct {
123866+ Len uint32
123867+ Level int32
123868+ Type int32
123869+}
123870+
123871+type ICMPv6Filter struct {
123872+ Filt [8]uint32
123873+}
123874+
123875+type Iovec struct {
123876+ Base *byte
123877+ Len uint64
123878+}
123879+
123880+type IPMreq struct {
123881+ Multiaddr [4]byte /* in_addr */
123882+ Interface [4]byte /* in_addr */
123883+}
123884+
123885+type IPv6Mreq struct {
123886+ Multiaddr [16]byte /* in6_addr */
123887+ Interface uint32
123888+}
123889+
123890+type IPv6MTUInfo struct {
123891+ Addr RawSockaddrInet6
123892+ Mtu uint32
123893+}
123894+
123895+type Linger struct {
123896+ Onoff int32
123897+ Linger int32
123898+}
123899+
123900+type Msghdr struct {
123901+ Name *byte
123902+ Namelen uint32
123903+ Iov *Iovec
123904+ Iovlen int32
123905+ Control *byte
123906+ Controllen uint32
123907+ Flags int32
123908+}
123909+
123910+const (
123911+ SizeofSockaddrInet4 = 0x10
123912+ SizeofSockaddrInet6 = 0x1c
123913+ SizeofSockaddrAny = 0x404
123914+ SizeofSockaddrUnix = 0x401
123915+ SizeofSockaddrDatalink = 0x80
123916+ SizeofLinger = 0x8
123917+ SizeofIPMreq = 0x8
123918+ SizeofIPv6Mreq = 0x14
123919+ SizeofIPv6MTUInfo = 0x20
123920+ SizeofMsghdr = 0x30
123921+ SizeofCmsghdr = 0xc
123922+ SizeofICMPv6Filter = 0x20
123923+)
123924+
123925+const (
123926+ SizeofIfMsghdr = 0x10
123927+)
123928+
123929+type IfMsgHdr struct {
123930+ Msglen uint16
123931+ Version uint8
123932+ Type uint8
123933+ Addrs int32
123934+ Flags int32
123935+ Index uint16
123936+ Addrlen uint8
123937+ _ [1]byte
123938+}
123939+
123940+type FdSet struct {
123941+ Bits [1024]int64
123942+}
123943+
123944+type Utsname struct {
123945+ Sysname [32]byte
123946+ Nodename [32]byte
123947+ Release [32]byte
123948+ Version [32]byte
123949+ Machine [32]byte
123950+}
123951+
123952+type Ustat_t struct{}
123953+
123954+type Sigset_t struct {
123955+ Set [4]uint64
123956+}
123957+
123958+const (
123959+ AT_FDCWD = -0x2
123960+ AT_REMOVEDIR = 0x1
123961+ AT_SYMLINK_NOFOLLOW = 0x1
123962+)
123963+
123964+type Termios struct {
123965+ Iflag uint32
123966+ Oflag uint32
123967+ Cflag uint32
123968+ Lflag uint32
123969+ Cc [16]uint8
123970+}
123971+
123972+type Termio struct {
123973+ Iflag uint16
123974+ Oflag uint16
123975+ Cflag uint16
123976+ Lflag uint16
123977+ Line uint8
123978+ Cc [8]uint8
123979+ _ [1]byte
123980+}
123981+
123982+type Winsize struct {
123983+ Row uint16
123984+ Col uint16
123985+ Xpixel uint16
123986+ Ypixel uint16
123987+}
123988+
123989+type PollFd struct {
123990+ Fd int32
123991+ Events uint16
123992+ Revents uint16
123993+}
123994+
123995+const (
123996+ POLLERR = 0x4000
123997+ POLLHUP = 0x2000
123998+ POLLIN = 0x1
123999+ POLLNVAL = 0x8000
124000+ POLLOUT = 0x2
124001+ POLLPRI = 0x4
124002+ POLLRDBAND = 0x20
124003+ POLLRDNORM = 0x10
124004+ POLLWRBAND = 0x40
124005+ POLLWRNORM = 0x2
124006+)
124007+
124008+type Flock_t struct {
124009+ Type int16
124010+ Whence int16
124011+ Sysid uint32
124012+ Pid int32
124013+ Vfs int32
124014+ Start int64
124015+ Len int64
124016+}
124017+
124018+type Fsid_t struct {
124019+ Val [2]uint32
124020+}
124021+type Fsid64_t struct {
124022+ Val [2]uint64
124023+}
124024+
124025+type Statfs_t struct {
124026+ Version int32
124027+ Type int32
124028+ Bsize uint64
124029+ Blocks uint64
124030+ Bfree uint64
124031+ Bavail uint64
124032+ Files uint64
124033+ Ffree uint64
124034+ Fsid Fsid64_t
124035+ Vfstype int32
124036+ Fsize uint64
124037+ Vfsnumber int32
124038+ Vfsoff int32
124039+ Vfslen int32
124040+ Vfsvers int32
124041+ Fname [32]uint8
124042+ Fpack [32]uint8
124043+ Name_max int32
124044+ _ [4]byte
124045+}
124046+
124047+const RNDGETENTCNT = 0x80045200
124048diff --git a/vendor/golang.org/x/sys/unix/ztypes_darwin_386.go b/vendor/golang.org/x/sys/unix/ztypes_darwin_386.go
124049index e61d78a5..9f47b87c 100644
124050--- a/vendor/golang.org/x/sys/unix/ztypes_darwin_386.go
124051+++ b/vendor/golang.org/x/sys/unix/ztypes_darwin_386.go
124052@@ -6,11 +6,11 @@
124053 package unix
124054
124055 const (
124056- sizeofPtr = 0x4
124057- sizeofShort = 0x2
124058- sizeofInt = 0x4
124059- sizeofLong = 0x4
124060- sizeofLongLong = 0x8
124061+ SizeofPtr = 0x4
124062+ SizeofShort = 0x2
124063+ SizeofInt = 0x4
124064+ SizeofLong = 0x4
124065+ SizeofLongLong = 0x8
124066 )
124067
124068 type (
124069@@ -59,24 +59,24 @@ type Rlimit struct {
124070 type _Gid_t uint32
124071
124072 type Stat_t struct {
124073- Dev int32
124074- Mode uint16
124075- Nlink uint16
124076- Ino uint64
124077- Uid uint32
124078- Gid uint32
124079- Rdev int32
124080- Atimespec Timespec
124081- Mtimespec Timespec
124082- Ctimespec Timespec
124083- Birthtimespec Timespec
124084- Size int64
124085- Blocks int64
124086- Blksize int32
124087- Flags uint32
124088- Gen uint32
124089- Lspare int32
124090- Qspare [2]int64
124091+ Dev int32
124092+ Mode uint16
124093+ Nlink uint16
124094+ Ino uint64
124095+ Uid uint32
124096+ Gid uint32
124097+ Rdev int32
124098+ Atim Timespec
124099+ Mtim Timespec
124100+ Ctim Timespec
124101+ Btim Timespec
124102+ Size int64
124103+ Blocks int64
124104+ Blksize int32
124105+ Flags uint32
124106+ Gen uint32
124107+ Lspare int32
124108+ Qspare [2]int64
124109 }
124110
124111 type Statfs_t struct {
124112@@ -136,13 +136,13 @@ type Fsid struct {
124113 }
124114
124115 type Dirent struct {
124116- Ino uint64
124117- Seekoff uint64
124118- Reclen uint16
124119- Namlen uint16
124120- Type uint8
124121- Name [1024]int8
124122- Pad_cgo_0 [3]byte
124123+ Ino uint64
124124+ Seekoff uint64
124125+ Reclen uint16
124126+ Namlen uint16
124127+ Type uint8
124128+ Name [1024]int8
124129+ _ [3]byte
124130 }
124131
124132 type RawSockaddrInet4 struct {
124133@@ -295,14 +295,14 @@ const (
124134 )
124135
124136 type IfMsghdr struct {
124137- Msglen uint16
124138- Version uint8
124139- Type uint8
124140- Addrs int32
124141- Flags int32
124142- Index uint16
124143- Pad_cgo_0 [2]byte
124144- Data IfData
124145+ Msglen uint16
124146+ Version uint8
124147+ Type uint8
124148+ Addrs int32
124149+ Flags int32
124150+ Index uint16
124151+ _ [2]byte
124152+ Data IfData
124153 }
124154
124155 type IfData struct {
124156@@ -338,51 +338,51 @@ type IfData struct {
124157 }
124158
124159 type IfaMsghdr struct {
124160- Msglen uint16
124161- Version uint8
124162- Type uint8
124163- Addrs int32
124164- Flags int32
124165- Index uint16
124166- Pad_cgo_0 [2]byte
124167- Metric int32
124168+ Msglen uint16
124169+ Version uint8
124170+ Type uint8
124171+ Addrs int32
124172+ Flags int32
124173+ Index uint16
124174+ _ [2]byte
124175+ Metric int32
124176 }
124177
124178 type IfmaMsghdr struct {
124179- Msglen uint16
124180- Version uint8
124181- Type uint8
124182- Addrs int32
124183- Flags int32
124184- Index uint16
124185- Pad_cgo_0 [2]byte
124186+ Msglen uint16
124187+ Version uint8
124188+ Type uint8
124189+ Addrs int32
124190+ Flags int32
124191+ Index uint16
124192+ _ [2]byte
124193 }
124194
124195 type IfmaMsghdr2 struct {
124196- Msglen uint16
124197- Version uint8
124198- Type uint8
124199- Addrs int32
124200- Flags int32
124201- Index uint16
124202- Pad_cgo_0 [2]byte
124203- Refcount int32
124204+ Msglen uint16
124205+ Version uint8
124206+ Type uint8
124207+ Addrs int32
124208+ Flags int32
124209+ Index uint16
124210+ _ [2]byte
124211+ Refcount int32
124212 }
124213
124214 type RtMsghdr struct {
124215- Msglen uint16
124216- Version uint8
124217- Type uint8
124218- Index uint16
124219- Pad_cgo_0 [2]byte
124220- Flags int32
124221- Addrs int32
124222- Pid int32
124223- Seq int32
124224- Errno int32
124225- Use int32
124226- Inits uint32
124227- Rmx RtMetrics
124228+ Msglen uint16
124229+ Version uint8
124230+ Type uint8
124231+ Index uint16
124232+ _ [2]byte
124233+ Flags int32
124234+ Addrs int32
124235+ Pid int32
124236+ Seq int32
124237+ Errno int32
124238+ Use int32
124239+ Inits uint32
124240+ Rmx RtMetrics
124241 }
124242
124243 type RtMetrics struct {
124244@@ -430,11 +430,11 @@ type BpfInsn struct {
124245 }
124246
124247 type BpfHdr struct {
124248- Tstamp Timeval
124249- Caplen uint32
124250- Datalen uint32
124251- Hdrlen uint16
124252- Pad_cgo_0 [2]byte
124253+ Tstamp Timeval
124254+ Caplen uint32
124255+ Datalen uint32
124256+ Hdrlen uint16
124257+ _ [2]byte
124258 }
124259
124260 type Termios struct {
124261@@ -460,3 +460,40 @@ const (
124262 AT_SYMLINK_FOLLOW = 0x40
124263 AT_SYMLINK_NOFOLLOW = 0x20
124264 )
124265+
124266+type PollFd struct {
124267+ Fd int32
124268+ Events int16
124269+ Revents int16
124270+}
124271+
124272+const (
124273+ POLLERR = 0x8
124274+ POLLHUP = 0x10
124275+ POLLIN = 0x1
124276+ POLLNVAL = 0x20
124277+ POLLOUT = 0x4
124278+ POLLPRI = 0x2
124279+ POLLRDBAND = 0x80
124280+ POLLRDNORM = 0x40
124281+ POLLWRBAND = 0x100
124282+ POLLWRNORM = 0x4
124283+)
124284+
124285+type Utsname struct {
124286+ Sysname [256]byte
124287+ Nodename [256]byte
124288+ Release [256]byte
124289+ Version [256]byte
124290+ Machine [256]byte
124291+}
124292+
124293+const SizeofClockinfo = 0x14
124294+
124295+type Clockinfo struct {
124296+ Hz int32
124297+ Tick int32
124298+ Tickadj int32
124299+ Stathz int32
124300+ Profhz int32
124301+}
124302diff --git a/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go
124303index 2619155f..966798a8 100644
124304--- a/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go
124305+++ b/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go
124306@@ -6,11 +6,11 @@
124307 package unix
124308
124309 const (
124310- sizeofPtr = 0x8
124311- sizeofShort = 0x2
124312- sizeofInt = 0x4
124313- sizeofLong = 0x8
124314- sizeofLongLong = 0x8
124315+ SizeofPtr = 0x8
124316+ SizeofShort = 0x2
124317+ SizeofInt = 0x4
124318+ SizeofLong = 0x8
124319+ SizeofLongLong = 0x8
124320 )
124321
124322 type (
124323@@ -26,9 +26,9 @@ type Timespec struct {
124324 }
124325
124326 type Timeval struct {
124327- Sec int64
124328- Usec int32
124329- Pad_cgo_0 [4]byte
124330+ Sec int64
124331+ Usec int32
124332+ _ [4]byte
124333 }
124334
124335 type Timeval32 struct {
124336@@ -63,25 +63,25 @@ type Rlimit struct {
124337 type _Gid_t uint32
124338
124339 type Stat_t struct {
124340- Dev int32
124341- Mode uint16
124342- Nlink uint16
124343- Ino uint64
124344- Uid uint32
124345- Gid uint32
124346- Rdev int32
124347- Pad_cgo_0 [4]byte
124348- Atimespec Timespec
124349- Mtimespec Timespec
124350- Ctimespec Timespec
124351- Birthtimespec Timespec
124352- Size int64
124353- Blocks int64
124354- Blksize int32
124355- Flags uint32
124356- Gen uint32
124357- Lspare int32
124358- Qspare [2]int64
124359+ Dev int32
124360+ Mode uint16
124361+ Nlink uint16
124362+ Ino uint64
124363+ Uid uint32
124364+ Gid uint32
124365+ Rdev int32
124366+ _ [4]byte
124367+ Atim Timespec
124368+ Mtim Timespec
124369+ Ctim Timespec
124370+ Btim Timespec
124371+ Size int64
124372+ Blocks int64
124373+ Blksize int32
124374+ Flags uint32
124375+ Gen uint32
124376+ Lspare int32
124377+ Qspare [2]int64
124378 }
124379
124380 type Statfs_t struct {
124381@@ -120,9 +120,9 @@ type Fstore_t struct {
124382 }
124383
124384 type Radvisory_t struct {
124385- Offset int64
124386- Count int32
124387- Pad_cgo_0 [4]byte
124388+ Offset int64
124389+ Count int32
124390+ _ [4]byte
124391 }
124392
124393 type Fbootstraptransfer_t struct {
124394@@ -132,9 +132,9 @@ type Fbootstraptransfer_t struct {
124395 }
124396
124397 type Log2phys_t struct {
124398- Flags uint32
124399- Pad_cgo_0 [8]byte
124400- Pad_cgo_1 [8]byte
124401+ Flags uint32
124402+ _ [8]byte
124403+ _ [8]byte
124404 }
124405
124406 type Fsid struct {
124407@@ -142,13 +142,13 @@ type Fsid struct {
124408 }
124409
124410 type Dirent struct {
124411- Ino uint64
124412- Seekoff uint64
124413- Reclen uint16
124414- Namlen uint16
124415- Type uint8
124416- Name [1024]int8
124417- Pad_cgo_0 [3]byte
124418+ Ino uint64
124419+ Seekoff uint64
124420+ Reclen uint16
124421+ Namlen uint16
124422+ Type uint8
124423+ Name [1024]int8
124424+ _ [3]byte
124425 }
124426
124427 type RawSockaddrInet4 struct {
124428@@ -221,10 +221,10 @@ type IPv6Mreq struct {
124429 type Msghdr struct {
124430 Name *byte
124431 Namelen uint32
124432- Pad_cgo_0 [4]byte
124433+ _ [4]byte
124434 Iov *Iovec
124435 Iovlen int32
124436- Pad_cgo_1 [4]byte
124437+ _ [4]byte
124438 Control *byte
124439 Controllen uint32
124440 Flags int32
124441@@ -303,14 +303,14 @@ const (
124442 )
124443
124444 type IfMsghdr struct {
124445- Msglen uint16
124446- Version uint8
124447- Type uint8
124448- Addrs int32
124449- Flags int32
124450- Index uint16
124451- Pad_cgo_0 [2]byte
124452- Data IfData
124453+ Msglen uint16
124454+ Version uint8
124455+ Type uint8
124456+ Addrs int32
124457+ Flags int32
124458+ Index uint16
124459+ _ [2]byte
124460+ Data IfData
124461 }
124462
124463 type IfData struct {
124464@@ -346,51 +346,51 @@ type IfData struct {
124465 }
124466
124467 type IfaMsghdr struct {
124468- Msglen uint16
124469- Version uint8
124470- Type uint8
124471- Addrs int32
124472- Flags int32
124473- Index uint16
124474- Pad_cgo_0 [2]byte
124475- Metric int32
124476+ Msglen uint16
124477+ Version uint8
124478+ Type uint8
124479+ Addrs int32
124480+ Flags int32
124481+ Index uint16
124482+ _ [2]byte
124483+ Metric int32
124484 }
124485
124486 type IfmaMsghdr struct {
124487- Msglen uint16
124488- Version uint8
124489- Type uint8
124490- Addrs int32
124491- Flags int32
124492- Index uint16
124493- Pad_cgo_0 [2]byte
124494+ Msglen uint16
124495+ Version uint8
124496+ Type uint8
124497+ Addrs int32
124498+ Flags int32
124499+ Index uint16
124500+ _ [2]byte
124501 }
124502
124503 type IfmaMsghdr2 struct {
124504- Msglen uint16
124505- Version uint8
124506- Type uint8
124507- Addrs int32
124508- Flags int32
124509- Index uint16
124510- Pad_cgo_0 [2]byte
124511- Refcount int32
124512+ Msglen uint16
124513+ Version uint8
124514+ Type uint8
124515+ Addrs int32
124516+ Flags int32
124517+ Index uint16
124518+ _ [2]byte
124519+ Refcount int32
124520 }
124521
124522 type RtMsghdr struct {
124523- Msglen uint16
124524- Version uint8
124525- Type uint8
124526- Index uint16
124527- Pad_cgo_0 [2]byte
124528- Flags int32
124529- Addrs int32
124530- Pid int32
124531- Seq int32
124532- Errno int32
124533- Use int32
124534- Inits uint32
124535- Rmx RtMetrics
124536+ Msglen uint16
124537+ Version uint8
124538+ Type uint8
124539+ Index uint16
124540+ _ [2]byte
124541+ Flags int32
124542+ Addrs int32
124543+ Pid int32
124544+ Seq int32
124545+ Errno int32
124546+ Use int32
124547+ Inits uint32
124548+ Rmx RtMetrics
124549 }
124550
124551 type RtMetrics struct {
124552@@ -426,9 +426,9 @@ type BpfStat struct {
124553 }
124554
124555 type BpfProgram struct {
124556- Len uint32
124557- Pad_cgo_0 [4]byte
124558- Insns *BpfInsn
124559+ Len uint32
124560+ _ [4]byte
124561+ Insns *BpfInsn
124562 }
124563
124564 type BpfInsn struct {
124565@@ -439,22 +439,22 @@ type BpfInsn struct {
124566 }
124567
124568 type BpfHdr struct {
124569- Tstamp Timeval32
124570- Caplen uint32
124571- Datalen uint32
124572- Hdrlen uint16
124573- Pad_cgo_0 [2]byte
124574+ Tstamp Timeval32
124575+ Caplen uint32
124576+ Datalen uint32
124577+ Hdrlen uint16
124578+ _ [2]byte
124579 }
124580
124581 type Termios struct {
124582- Iflag uint64
124583- Oflag uint64
124584- Cflag uint64
124585- Lflag uint64
124586- Cc [20]uint8
124587- Pad_cgo_0 [4]byte
124588- Ispeed uint64
124589- Ospeed uint64
124590+ Iflag uint64
124591+ Oflag uint64
124592+ Cflag uint64
124593+ Lflag uint64
124594+ Cc [20]uint8
124595+ _ [4]byte
124596+ Ispeed uint64
124597+ Ospeed uint64
124598 }
124599
124600 type Winsize struct {
124601@@ -470,3 +470,40 @@ const (
124602 AT_SYMLINK_FOLLOW = 0x40
124603 AT_SYMLINK_NOFOLLOW = 0x20
124604 )
124605+
124606+type PollFd struct {
124607+ Fd int32
124608+ Events int16
124609+ Revents int16
124610+}
124611+
124612+const (
124613+ POLLERR = 0x8
124614+ POLLHUP = 0x10
124615+ POLLIN = 0x1
124616+ POLLNVAL = 0x20
124617+ POLLOUT = 0x4
124618+ POLLPRI = 0x2
124619+ POLLRDBAND = 0x80
124620+ POLLRDNORM = 0x40
124621+ POLLWRBAND = 0x100
124622+ POLLWRNORM = 0x4
124623+)
124624+
124625+type Utsname struct {
124626+ Sysname [256]byte
124627+ Nodename [256]byte
124628+ Release [256]byte
124629+ Version [256]byte
124630+ Machine [256]byte
124631+}
124632+
124633+const SizeofClockinfo = 0x14
124634+
124635+type Clockinfo struct {
124636+ Hz int32
124637+ Tick int32
124638+ Tickadj int32
124639+ Stathz int32
124640+ Profhz int32
124641+}
124642diff --git a/vendor/golang.org/x/sys/unix/ztypes_darwin_arm.go b/vendor/golang.org/x/sys/unix/ztypes_darwin_arm.go
124643index 4dca0d4d..4fe4c9cd 100644
124644--- a/vendor/golang.org/x/sys/unix/ztypes_darwin_arm.go
124645+++ b/vendor/golang.org/x/sys/unix/ztypes_darwin_arm.go
124646@@ -7,11 +7,11 @@
124647 package unix
124648
124649 const (
124650- sizeofPtr = 0x4
124651- sizeofShort = 0x2
124652- sizeofInt = 0x4
124653- sizeofLong = 0x4
124654- sizeofLongLong = 0x8
124655+ SizeofPtr = 0x4
124656+ SizeofShort = 0x2
124657+ SizeofInt = 0x4
124658+ SizeofLong = 0x4
124659+ SizeofLongLong = 0x8
124660 )
124661
124662 type (
124663@@ -60,24 +60,24 @@ type Rlimit struct {
124664 type _Gid_t uint32
124665
124666 type Stat_t struct {
124667- Dev int32
124668- Mode uint16
124669- Nlink uint16
124670- Ino uint64
124671- Uid uint32
124672- Gid uint32
124673- Rdev int32
124674- Atimespec Timespec
124675- Mtimespec Timespec
124676- Ctimespec Timespec
124677- Birthtimespec Timespec
124678- Size int64
124679- Blocks int64
124680- Blksize int32
124681- Flags uint32
124682- Gen uint32
124683- Lspare int32
124684- Qspare [2]int64
124685+ Dev int32
124686+ Mode uint16
124687+ Nlink uint16
124688+ Ino uint64
124689+ Uid uint32
124690+ Gid uint32
124691+ Rdev int32
124692+ Atim Timespec
124693+ Mtim Timespec
124694+ Ctim Timespec
124695+ Btim Timespec
124696+ Size int64
124697+ Blocks int64
124698+ Blksize int32
124699+ Flags uint32
124700+ Gen uint32
124701+ Lspare int32
124702+ Qspare [2]int64
124703 }
124704
124705 type Statfs_t struct {
124706@@ -137,13 +137,13 @@ type Fsid struct {
124707 }
124708
124709 type Dirent struct {
124710- Ino uint64
124711- Seekoff uint64
124712- Reclen uint16
124713- Namlen uint16
124714- Type uint8
124715- Name [1024]int8
124716- Pad_cgo_0 [3]byte
124717+ Ino uint64
124718+ Seekoff uint64
124719+ Reclen uint16
124720+ Namlen uint16
124721+ Type uint8
124722+ Name [1024]int8
124723+ _ [3]byte
124724 }
124725
124726 type RawSockaddrInet4 struct {
124727@@ -296,14 +296,14 @@ const (
124728 )
124729
124730 type IfMsghdr struct {
124731- Msglen uint16
124732- Version uint8
124733- Type uint8
124734- Addrs int32
124735- Flags int32
124736- Index uint16
124737- Pad_cgo_0 [2]byte
124738- Data IfData
124739+ Msglen uint16
124740+ Version uint8
124741+ Type uint8
124742+ Addrs int32
124743+ Flags int32
124744+ Index uint16
124745+ _ [2]byte
124746+ Data IfData
124747 }
124748
124749 type IfData struct {
124750@@ -339,51 +339,51 @@ type IfData struct {
124751 }
124752
124753 type IfaMsghdr struct {
124754- Msglen uint16
124755- Version uint8
124756- Type uint8
124757- Addrs int32
124758- Flags int32
124759- Index uint16
124760- Pad_cgo_0 [2]byte
124761- Metric int32
124762+ Msglen uint16
124763+ Version uint8
124764+ Type uint8
124765+ Addrs int32
124766+ Flags int32
124767+ Index uint16
124768+ _ [2]byte
124769+ Metric int32
124770 }
124771
124772 type IfmaMsghdr struct {
124773- Msglen uint16
124774- Version uint8
124775- Type uint8
124776- Addrs int32
124777- Flags int32
124778- Index uint16
124779- Pad_cgo_0 [2]byte
124780+ Msglen uint16
124781+ Version uint8
124782+ Type uint8
124783+ Addrs int32
124784+ Flags int32
124785+ Index uint16
124786+ _ [2]byte
124787 }
124788
124789 type IfmaMsghdr2 struct {
124790- Msglen uint16
124791- Version uint8
124792- Type uint8
124793- Addrs int32
124794- Flags int32
124795- Index uint16
124796- Pad_cgo_0 [2]byte
124797- Refcount int32
124798+ Msglen uint16
124799+ Version uint8
124800+ Type uint8
124801+ Addrs int32
124802+ Flags int32
124803+ Index uint16
124804+ _ [2]byte
124805+ Refcount int32
124806 }
124807
124808 type RtMsghdr struct {
124809- Msglen uint16
124810- Version uint8
124811- Type uint8
124812- Index uint16
124813- Pad_cgo_0 [2]byte
124814- Flags int32
124815- Addrs int32
124816- Pid int32
124817- Seq int32
124818- Errno int32
124819- Use int32
124820- Inits uint32
124821- Rmx RtMetrics
124822+ Msglen uint16
124823+ Version uint8
124824+ Type uint8
124825+ Index uint16
124826+ _ [2]byte
124827+ Flags int32
124828+ Addrs int32
124829+ Pid int32
124830+ Seq int32
124831+ Errno int32
124832+ Use int32
124833+ Inits uint32
124834+ Rmx RtMetrics
124835 }
124836
124837 type RtMetrics struct {
124838@@ -431,11 +431,11 @@ type BpfInsn struct {
124839 }
124840
124841 type BpfHdr struct {
124842- Tstamp Timeval
124843- Caplen uint32
124844- Datalen uint32
124845- Hdrlen uint16
124846- Pad_cgo_0 [2]byte
124847+ Tstamp Timeval
124848+ Caplen uint32
124849+ Datalen uint32
124850+ Hdrlen uint16
124851+ _ [2]byte
124852 }
124853
124854 type Termios struct {
124855@@ -461,3 +461,40 @@ const (
124856 AT_SYMLINK_FOLLOW = 0x40
124857 AT_SYMLINK_NOFOLLOW = 0x20
124858 )
124859+
124860+type PollFd struct {
124861+ Fd int32
124862+ Events int16
124863+ Revents int16
124864+}
124865+
124866+const (
124867+ POLLERR = 0x8
124868+ POLLHUP = 0x10
124869+ POLLIN = 0x1
124870+ POLLNVAL = 0x20
124871+ POLLOUT = 0x4
124872+ POLLPRI = 0x2
124873+ POLLRDBAND = 0x80
124874+ POLLRDNORM = 0x40
124875+ POLLWRBAND = 0x100
124876+ POLLWRNORM = 0x4
124877+)
124878+
124879+type Utsname struct {
124880+ Sysname [256]byte
124881+ Nodename [256]byte
124882+ Release [256]byte
124883+ Version [256]byte
124884+ Machine [256]byte
124885+}
124886+
124887+const SizeofClockinfo = 0x14
124888+
124889+type Clockinfo struct {
124890+ Hz int32
124891+ Tick int32
124892+ Tickadj int32
124893+ Stathz int32
124894+ Profhz int32
124895+}
124896diff --git a/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go b/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go
124897index f2881fd1..21999e4b 100644
124898--- a/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go
124899+++ b/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go
124900@@ -1,15 +1,16 @@
124901+// cgo -godefs types_darwin.go | go run mkpost.go
124902+// Code generated by the command above; see README.md. DO NOT EDIT.
124903+
124904 // +build arm64,darwin
124905-// Created by cgo -godefs - DO NOT EDIT
124906-// cgo -godefs types_darwin.go
124907
124908 package unix
124909
124910 const (
124911- sizeofPtr = 0x8
124912- sizeofShort = 0x2
124913- sizeofInt = 0x4
124914- sizeofLong = 0x8
124915- sizeofLongLong = 0x8
124916+ SizeofPtr = 0x8
124917+ SizeofShort = 0x2
124918+ SizeofInt = 0x4
124919+ SizeofLong = 0x8
124920+ SizeofLongLong = 0x8
124921 )
124922
124923 type (
124924@@ -25,9 +26,9 @@ type Timespec struct {
124925 }
124926
124927 type Timeval struct {
124928- Sec int64
124929- Usec int32
124930- Pad_cgo_0 [4]byte
124931+ Sec int64
124932+ Usec int32
124933+ _ [4]byte
124934 }
124935
124936 type Timeval32 struct {
124937@@ -62,25 +63,25 @@ type Rlimit struct {
124938 type _Gid_t uint32
124939
124940 type Stat_t struct {
124941- Dev int32
124942- Mode uint16
124943- Nlink uint16
124944- Ino uint64
124945- Uid uint32
124946- Gid uint32
124947- Rdev int32
124948- Pad_cgo_0 [4]byte
124949- Atimespec Timespec
124950- Mtimespec Timespec
124951- Ctimespec Timespec
124952- Birthtimespec Timespec
124953- Size int64
124954- Blocks int64
124955- Blksize int32
124956- Flags uint32
124957- Gen uint32
124958- Lspare int32
124959- Qspare [2]int64
124960+ Dev int32
124961+ Mode uint16
124962+ Nlink uint16
124963+ Ino uint64
124964+ Uid uint32
124965+ Gid uint32
124966+ Rdev int32
124967+ _ [4]byte
124968+ Atim Timespec
124969+ Mtim Timespec
124970+ Ctim Timespec
124971+ Btim Timespec
124972+ Size int64
124973+ Blocks int64
124974+ Blksize int32
124975+ Flags uint32
124976+ Gen uint32
124977+ Lspare int32
124978+ Qspare [2]int64
124979 }
124980
124981 type Statfs_t struct {
124982@@ -119,9 +120,9 @@ type Fstore_t struct {
124983 }
124984
124985 type Radvisory_t struct {
124986- Offset int64
124987- Count int32
124988- Pad_cgo_0 [4]byte
124989+ Offset int64
124990+ Count int32
124991+ _ [4]byte
124992 }
124993
124994 type Fbootstraptransfer_t struct {
124995@@ -131,9 +132,9 @@ type Fbootstraptransfer_t struct {
124996 }
124997
124998 type Log2phys_t struct {
124999- Flags uint32
125000- Pad_cgo_0 [8]byte
125001- Pad_cgo_1 [8]byte
125002+ Flags uint32
125003+ _ [8]byte
125004+ _ [8]byte
125005 }
125006
125007 type Fsid struct {
125008@@ -141,13 +142,13 @@ type Fsid struct {
125009 }
125010
125011 type Dirent struct {
125012- Ino uint64
125013- Seekoff uint64
125014- Reclen uint16
125015- Namlen uint16
125016- Type uint8
125017- Name [1024]int8
125018- Pad_cgo_0 [3]byte
125019+ Ino uint64
125020+ Seekoff uint64
125021+ Reclen uint16
125022+ Namlen uint16
125023+ Type uint8
125024+ Name [1024]int8
125025+ _ [3]byte
125026 }
125027
125028 type RawSockaddrInet4 struct {
125029@@ -220,10 +221,10 @@ type IPv6Mreq struct {
125030 type Msghdr struct {
125031 Name *byte
125032 Namelen uint32
125033- Pad_cgo_0 [4]byte
125034+ _ [4]byte
125035 Iov *Iovec
125036 Iovlen int32
125037- Pad_cgo_1 [4]byte
125038+ _ [4]byte
125039 Control *byte
125040 Controllen uint32
125041 Flags int32
125042@@ -302,14 +303,14 @@ const (
125043 )
125044
125045 type IfMsghdr struct {
125046- Msglen uint16
125047- Version uint8
125048- Type uint8
125049- Addrs int32
125050- Flags int32
125051- Index uint16
125052- Pad_cgo_0 [2]byte
125053- Data IfData
125054+ Msglen uint16
125055+ Version uint8
125056+ Type uint8
125057+ Addrs int32
125058+ Flags int32
125059+ Index uint16
125060+ _ [2]byte
125061+ Data IfData
125062 }
125063
125064 type IfData struct {
125065@@ -345,51 +346,51 @@ type IfData struct {
125066 }
125067
125068 type IfaMsghdr struct {
125069- Msglen uint16
125070- Version uint8
125071- Type uint8
125072- Addrs int32
125073- Flags int32
125074- Index uint16
125075- Pad_cgo_0 [2]byte
125076- Metric int32
125077+ Msglen uint16
125078+ Version uint8
125079+ Type uint8
125080+ Addrs int32
125081+ Flags int32
125082+ Index uint16
125083+ _ [2]byte
125084+ Metric int32
125085 }
125086
125087 type IfmaMsghdr struct {
125088- Msglen uint16
125089- Version uint8
125090- Type uint8
125091- Addrs int32
125092- Flags int32
125093- Index uint16
125094- Pad_cgo_0 [2]byte
125095+ Msglen uint16
125096+ Version uint8
125097+ Type uint8
125098+ Addrs int32
125099+ Flags int32
125100+ Index uint16
125101+ _ [2]byte
125102 }
125103
125104 type IfmaMsghdr2 struct {
125105- Msglen uint16
125106- Version uint8
125107- Type uint8
125108- Addrs int32
125109- Flags int32
125110- Index uint16
125111- Pad_cgo_0 [2]byte
125112- Refcount int32
125113+ Msglen uint16
125114+ Version uint8
125115+ Type uint8
125116+ Addrs int32
125117+ Flags int32
125118+ Index uint16
125119+ _ [2]byte
125120+ Refcount int32
125121 }
125122
125123 type RtMsghdr struct {
125124- Msglen uint16
125125- Version uint8
125126- Type uint8
125127- Index uint16
125128- Pad_cgo_0 [2]byte
125129- Flags int32
125130- Addrs int32
125131- Pid int32
125132- Seq int32
125133- Errno int32
125134- Use int32
125135- Inits uint32
125136- Rmx RtMetrics
125137+ Msglen uint16
125138+ Version uint8
125139+ Type uint8
125140+ Index uint16
125141+ _ [2]byte
125142+ Flags int32
125143+ Addrs int32
125144+ Pid int32
125145+ Seq int32
125146+ Errno int32
125147+ Use int32
125148+ Inits uint32
125149+ Rmx RtMetrics
125150 }
125151
125152 type RtMetrics struct {
125153@@ -425,9 +426,9 @@ type BpfStat struct {
125154 }
125155
125156 type BpfProgram struct {
125157- Len uint32
125158- Pad_cgo_0 [4]byte
125159- Insns *BpfInsn
125160+ Len uint32
125161+ _ [4]byte
125162+ Insns *BpfInsn
125163 }
125164
125165 type BpfInsn struct {
125166@@ -438,22 +439,22 @@ type BpfInsn struct {
125167 }
125168
125169 type BpfHdr struct {
125170- Tstamp Timeval32
125171- Caplen uint32
125172- Datalen uint32
125173- Hdrlen uint16
125174- Pad_cgo_0 [2]byte
125175+ Tstamp Timeval32
125176+ Caplen uint32
125177+ Datalen uint32
125178+ Hdrlen uint16
125179+ _ [2]byte
125180 }
125181
125182 type Termios struct {
125183- Iflag uint64
125184- Oflag uint64
125185- Cflag uint64
125186- Lflag uint64
125187- Cc [20]uint8
125188- Pad_cgo_0 [4]byte
125189- Ispeed uint64
125190- Ospeed uint64
125191+ Iflag uint64
125192+ Oflag uint64
125193+ Cflag uint64
125194+ Lflag uint64
125195+ Cc [20]uint8
125196+ _ [4]byte
125197+ Ispeed uint64
125198+ Ospeed uint64
125199 }
125200
125201 type Winsize struct {
125202@@ -469,3 +470,40 @@ const (
125203 AT_SYMLINK_FOLLOW = 0x40
125204 AT_SYMLINK_NOFOLLOW = 0x20
125205 )
125206+
125207+type PollFd struct {
125208+ Fd int32
125209+ Events int16
125210+ Revents int16
125211+}
125212+
125213+const (
125214+ POLLERR = 0x8
125215+ POLLHUP = 0x10
125216+ POLLIN = 0x1
125217+ POLLNVAL = 0x20
125218+ POLLOUT = 0x4
125219+ POLLPRI = 0x2
125220+ POLLRDBAND = 0x80
125221+ POLLRDNORM = 0x40
125222+ POLLWRBAND = 0x100
125223+ POLLWRNORM = 0x4
125224+)
125225+
125226+type Utsname struct {
125227+ Sysname [256]byte
125228+ Nodename [256]byte
125229+ Release [256]byte
125230+ Version [256]byte
125231+ Machine [256]byte
125232+}
125233+
125234+const SizeofClockinfo = 0x14
125235+
125236+type Clockinfo struct {
125237+ Hz int32
125238+ Tick int32
125239+ Tickadj int32
125240+ Stathz int32
125241+ Profhz int32
125242+}
125243diff --git a/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go
125244index 67c6bf88..71ea1d6d 100644
125245--- a/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go
125246+++ b/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go
125247@@ -6,11 +6,11 @@
125248 package unix
125249
125250 const (
125251- sizeofPtr = 0x8
125252- sizeofShort = 0x2
125253- sizeofInt = 0x4
125254- sizeofLong = 0x8
125255- sizeofLongLong = 0x8
125256+ SizeofPtr = 0x8
125257+ SizeofShort = 0x2
125258+ SizeofInt = 0x4
125259+ SizeofLong = 0x8
125260+ SizeofLongLong = 0x8
125261 )
125262
125263 type (
125264@@ -56,43 +56,26 @@ type Rlimit struct {
125265
125266 type _Gid_t uint32
125267
125268-const (
125269- S_IFMT = 0xf000
125270- S_IFIFO = 0x1000
125271- S_IFCHR = 0x2000
125272- S_IFDIR = 0x4000
125273- S_IFBLK = 0x6000
125274- S_IFREG = 0x8000
125275- S_IFLNK = 0xa000
125276- S_IFSOCK = 0xc000
125277- S_ISUID = 0x800
125278- S_ISGID = 0x400
125279- S_ISVTX = 0x200
125280- S_IRUSR = 0x100
125281- S_IWUSR = 0x80
125282- S_IXUSR = 0x40
125283-)
125284-
125285 type Stat_t struct {
125286- Ino uint64
125287- Nlink uint32
125288- Dev uint32
125289- Mode uint16
125290- Padding1 uint16
125291- Uid uint32
125292- Gid uint32
125293- Rdev uint32
125294- Atim Timespec
125295- Mtim Timespec
125296- Ctim Timespec
125297- Size int64
125298- Blocks int64
125299- Blksize uint32
125300- Flags uint32
125301- Gen uint32
125302- Lspare int32
125303- Qspare1 int64
125304- Qspare2 int64
125305+ Ino uint64
125306+ Nlink uint32
125307+ Dev uint32
125308+ Mode uint16
125309+ _1 uint16
125310+ Uid uint32
125311+ Gid uint32
125312+ Rdev uint32
125313+ Atim Timespec
125314+ Mtim Timespec
125315+ Ctim Timespec
125316+ Size int64
125317+ Blocks int64
125318+ Blksize uint32
125319+ Flags uint32
125320+ Gen uint32
125321+ Lspare int32
125322+ Qspare1 int64
125323+ Qspare2 int64
125324 }
125325
125326 type Statfs_t struct {
125327@@ -108,7 +91,7 @@ type Statfs_t struct {
125328 Owner uint32
125329 Type int32
125330 Flags int32
125331- Pad_cgo_0 [4]byte
125332+ _ [4]byte
125333 Syncwrites int64
125334 Asyncwrites int64
125335 Fstypename [16]int8
125336@@ -118,7 +101,7 @@ type Statfs_t struct {
125337 Spares1 int16
125338 Mntfromname [80]int8
125339 Spares2 int16
125340- Pad_cgo_1 [4]byte
125341+ _ [4]byte
125342 Spare [2]int64
125343 }
125344
125345@@ -143,6 +126,10 @@ type Fsid struct {
125346 Val [2]int32
125347 }
125348
125349+const (
125350+ PathMax = 0x400
125351+)
125352+
125353 type RawSockaddrInet4 struct {
125354 Len uint8
125355 Family uint8
125356@@ -215,10 +202,10 @@ type IPv6Mreq struct {
125357 type Msghdr struct {
125358 Name *byte
125359 Namelen uint32
125360- Pad_cgo_0 [4]byte
125361+ _ [4]byte
125362 Iov *Iovec
125363 Iovlen int32
125364- Pad_cgo_1 [4]byte
125365+ _ [4]byte
125366 Control *byte
125367 Controllen uint32
125368 Flags int32
125369@@ -290,14 +277,14 @@ const (
125370 )
125371
125372 type IfMsghdr struct {
125373- Msglen uint16
125374- Version uint8
125375- Type uint8
125376- Addrs int32
125377- Flags int32
125378- Index uint16
125379- Pad_cgo_0 [2]byte
125380- Data IfData
125381+ Msglen uint16
125382+ Version uint8
125383+ Type uint8
125384+ Addrs int32
125385+ Flags int32
125386+ Index uint16
125387+ _ [2]byte
125388+ Data IfData
125389 }
125390
125391 type IfData struct {
125392@@ -307,7 +294,7 @@ type IfData struct {
125393 Hdrlen uint8
125394 Recvquota uint8
125395 Xmitquota uint8
125396- Pad_cgo_0 [2]byte
125397+ _ [2]byte
125398 Mtu uint64
125399 Metric uint64
125400 Link_state uint64
125401@@ -329,24 +316,24 @@ type IfData struct {
125402 }
125403
125404 type IfaMsghdr struct {
125405- Msglen uint16
125406- Version uint8
125407- Type uint8
125408- Addrs int32
125409- Flags int32
125410- Index uint16
125411- Pad_cgo_0 [2]byte
125412- Metric int32
125413+ Msglen uint16
125414+ Version uint8
125415+ Type uint8
125416+ Addrs int32
125417+ Flags int32
125418+ Index uint16
125419+ _ [2]byte
125420+ Metric int32
125421 }
125422
125423 type IfmaMsghdr struct {
125424- Msglen uint16
125425- Version uint8
125426- Type uint8
125427- Addrs int32
125428- Flags int32
125429- Index uint16
125430- Pad_cgo_0 [2]byte
125431+ Msglen uint16
125432+ Version uint8
125433+ Type uint8
125434+ Addrs int32
125435+ Flags int32
125436+ Index uint16
125437+ _ [2]byte
125438 }
125439
125440 type IfAnnounceMsghdr struct {
125441@@ -359,19 +346,19 @@ type IfAnnounceMsghdr struct {
125442 }
125443
125444 type RtMsghdr struct {
125445- Msglen uint16
125446- Version uint8
125447- Type uint8
125448- Index uint16
125449- Pad_cgo_0 [2]byte
125450- Flags int32
125451- Addrs int32
125452- Pid int32
125453- Seq int32
125454- Errno int32
125455- Use int32
125456- Inits uint64
125457- Rmx RtMetrics
125458+ Msglen uint16
125459+ Version uint8
125460+ Type uint8
125461+ Index uint16
125462+ _ [2]byte
125463+ Flags int32
125464+ Addrs int32
125465+ Pid int32
125466+ Seq int32
125467+ Errno int32
125468+ Use int32
125469+ Inits uint64
125470+ Rmx RtMetrics
125471 }
125472
125473 type RtMetrics struct {
125474@@ -387,7 +374,7 @@ type RtMetrics struct {
125475 Hopcount uint64
125476 Mssopt uint16
125477 Pad uint16
125478- Pad_cgo_0 [4]byte
125479+ _ [4]byte
125480 Msl uint64
125481 Iwmaxsegs uint64
125482 Iwcapsegs uint64
125483@@ -412,9 +399,9 @@ type BpfStat struct {
125484 }
125485
125486 type BpfProgram struct {
125487- Len uint32
125488- Pad_cgo_0 [4]byte
125489- Insns *BpfInsn
125490+ Len uint32
125491+ _ [4]byte
125492+ Insns *BpfInsn
125493 }
125494
125495 type BpfInsn struct {
125496@@ -425,11 +412,11 @@ type BpfInsn struct {
125497 }
125498
125499 type BpfHdr struct {
125500- Tstamp Timeval
125501- Caplen uint32
125502- Datalen uint32
125503- Hdrlen uint16
125504- Pad_cgo_0 [6]byte
125505+ Tstamp Timeval
125506+ Caplen uint32
125507+ Datalen uint32
125508+ Hdrlen uint16
125509+ _ [6]byte
125510 }
125511
125512 type Termios struct {
125513@@ -442,7 +429,51 @@ type Termios struct {
125514 Ospeed uint32
125515 }
125516
125517+type Winsize struct {
125518+ Row uint16
125519+ Col uint16
125520+ Xpixel uint16
125521+ Ypixel uint16
125522+}
125523+
125524 const (
125525 AT_FDCWD = 0xfffafdcd
125526 AT_SYMLINK_NOFOLLOW = 0x1
125527 )
125528+
125529+type PollFd struct {
125530+ Fd int32
125531+ Events int16
125532+ Revents int16
125533+}
125534+
125535+const (
125536+ POLLERR = 0x8
125537+ POLLHUP = 0x10
125538+ POLLIN = 0x1
125539+ POLLNVAL = 0x20
125540+ POLLOUT = 0x4
125541+ POLLPRI = 0x2
125542+ POLLRDBAND = 0x80
125543+ POLLRDNORM = 0x40
125544+ POLLWRBAND = 0x100
125545+ POLLWRNORM = 0x4
125546+)
125547+
125548+type Utsname struct {
125549+ Sysname [32]byte
125550+ Nodename [32]byte
125551+ Release [32]byte
125552+ Version [32]byte
125553+ Machine [32]byte
125554+}
125555+
125556+const SizeofClockinfo = 0x14
125557+
125558+type Clockinfo struct {
125559+ Hz int32
125560+ Tick int32
125561+ Tickadj int32
125562+ Stathz int32
125563+ Profhz int32
125564+}
125565diff --git a/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go b/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go
125566index 5b28bcbb..2a3ec615 100644
125567--- a/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go
125568+++ b/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go
125569@@ -6,11 +6,11 @@
125570 package unix
125571
125572 const (
125573- sizeofPtr = 0x4
125574- sizeofShort = 0x2
125575- sizeofInt = 0x4
125576- sizeofLong = 0x4
125577- sizeofLongLong = 0x8
125578+ SizeofPtr = 0x4
125579+ SizeofShort = 0x2
125580+ SizeofInt = 0x4
125581+ SizeofLong = 0x4
125582+ SizeofLongLong = 0x8
125583 )
125584
125585 type (
125586@@ -57,41 +57,55 @@ type Rlimit struct {
125587 type _Gid_t uint32
125588
125589 const (
125590- S_IFMT = 0xf000
125591- S_IFIFO = 0x1000
125592- S_IFCHR = 0x2000
125593- S_IFDIR = 0x4000
125594- S_IFBLK = 0x6000
125595- S_IFREG = 0x8000
125596- S_IFLNK = 0xa000
125597- S_IFSOCK = 0xc000
125598- S_ISUID = 0x800
125599- S_ISGID = 0x400
125600- S_ISVTX = 0x200
125601- S_IRUSR = 0x100
125602- S_IWUSR = 0x80
125603- S_IXUSR = 0x40
125604+ _statfsVersion = 0x20140518
125605+ _dirblksiz = 0x400
125606 )
125607
125608 type Stat_t struct {
125609- Dev uint32
125610- Ino uint32
125611- Mode uint16
125612- Nlink uint16
125613- Uid uint32
125614- Gid uint32
125615- Rdev uint32
125616- Atimespec Timespec
125617- Mtimespec Timespec
125618- Ctimespec Timespec
125619- Size int64
125620- Blocks int64
125621- Blksize int32
125622- Flags uint32
125623- Gen uint32
125624- Lspare int32
125625- Birthtimespec Timespec
125626- Pad_cgo_0 [8]byte
125627+ Dev uint64
125628+ Ino uint64
125629+ Nlink uint64
125630+ Mode uint16
125631+ _0 int16
125632+ Uid uint32
125633+ Gid uint32
125634+ _1 int32
125635+ Rdev uint64
125636+ _ int32
125637+ Atim Timespec
125638+ _ int32
125639+ Mtim Timespec
125640+ _ int32
125641+ Ctim Timespec
125642+ _ int32
125643+ Btim Timespec
125644+ Size int64
125645+ Blocks int64
125646+ Blksize int32
125647+ Flags uint32
125648+ Gen uint64
125649+ Spare [10]uint64
125650+}
125651+
125652+type stat_freebsd11_t struct {
125653+ Dev uint32
125654+ Ino uint32
125655+ Mode uint16
125656+ Nlink uint16
125657+ Uid uint32
125658+ Gid uint32
125659+ Rdev uint32
125660+ Atim Timespec
125661+ Mtim Timespec
125662+ Ctim Timespec
125663+ Size int64
125664+ Blocks int64
125665+ Blksize int32
125666+ Flags uint32
125667+ Gen uint32
125668+ Lspare int32
125669+ Btim Timespec
125670+ _ [8]byte
125671 }
125672
125673 type Statfs_t struct {
125674@@ -114,9 +128,34 @@ type Statfs_t struct {
125675 Owner uint32
125676 Fsid Fsid
125677 Charspare [80]int8
125678- Fstypename [16]int8
125679- Mntfromname [88]int8
125680- Mntonname [88]int8
125681+ Fstypename [16]byte
125682+ Mntfromname [1024]byte
125683+ Mntonname [1024]byte
125684+}
125685+
125686+type statfs_freebsd11_t struct {
125687+ Version uint32
125688+ Type uint32
125689+ Flags uint64
125690+ Bsize uint64
125691+ Iosize uint64
125692+ Blocks uint64
125693+ Bfree uint64
125694+ Bavail int64
125695+ Files uint64
125696+ Ffree int64
125697+ Syncwrites uint64
125698+ Asyncwrites uint64
125699+ Syncreads uint64
125700+ Asyncreads uint64
125701+ Spare [10]uint64
125702+ Namemax uint32
125703+ Owner uint32
125704+ Fsid Fsid
125705+ Charspare [80]int8
125706+ Fstypename [16]byte
125707+ Mntfromname [88]byte
125708+ Mntonname [88]byte
125709 }
125710
125711 type Flock_t struct {
125712@@ -129,6 +168,17 @@ type Flock_t struct {
125713 }
125714
125715 type Dirent struct {
125716+ Fileno uint64
125717+ Off int64
125718+ Reclen uint16
125719+ Type uint8
125720+ Pad0 uint8
125721+ Namlen uint16
125722+ Pad1 uint16
125723+ Name [256]int8
125724+}
125725+
125726+type dirent_freebsd11 struct {
125727 Fileno uint32
125728 Reclen uint16
125729 Type uint8
125730@@ -140,6 +190,10 @@ type Fsid struct {
125731 Val [2]int32
125732 }
125733
125734+const (
125735+ PathMax = 0x400
125736+)
125737+
125738 const (
125739 FADV_NORMAL = 0x0
125740 FADV_RANDOM = 0x1
125741@@ -270,11 +324,108 @@ const (
125742 )
125743
125744 const (
125745- PTRACE_TRACEME = 0x0
125746- PTRACE_CONT = 0x7
125747- PTRACE_KILL = 0x8
125748+ PTRACE_ATTACH = 0xa
125749+ PTRACE_CONT = 0x7
125750+ PTRACE_DETACH = 0xb
125751+ PTRACE_GETFPREGS = 0x23
125752+ PTRACE_GETFSBASE = 0x47
125753+ PTRACE_GETLWPLIST = 0xf
125754+ PTRACE_GETNUMLWPS = 0xe
125755+ PTRACE_GETREGS = 0x21
125756+ PTRACE_GETXSTATE = 0x45
125757+ PTRACE_IO = 0xc
125758+ PTRACE_KILL = 0x8
125759+ PTRACE_LWPEVENTS = 0x18
125760+ PTRACE_LWPINFO = 0xd
125761+ PTRACE_SETFPREGS = 0x24
125762+ PTRACE_SETREGS = 0x22
125763+ PTRACE_SINGLESTEP = 0x9
125764+ PTRACE_TRACEME = 0x0
125765+)
125766+
125767+const (
125768+ PIOD_READ_D = 0x1
125769+ PIOD_WRITE_D = 0x2
125770+ PIOD_READ_I = 0x3
125771+ PIOD_WRITE_I = 0x4
125772+)
125773+
125774+const (
125775+ PL_FLAG_BORN = 0x100
125776+ PL_FLAG_EXITED = 0x200
125777+ PL_FLAG_SI = 0x20
125778+)
125779+
125780+const (
125781+ TRAP_BRKPT = 0x1
125782+ TRAP_TRACE = 0x2
125783 )
125784
125785+type PtraceLwpInfoStruct struct {
125786+ Lwpid int32
125787+ Event int32
125788+ Flags int32
125789+ Sigmask Sigset_t
125790+ Siglist Sigset_t
125791+ Siginfo __Siginfo
125792+ Tdname [20]int8
125793+ Child_pid int32
125794+ Syscall_code uint32
125795+ Syscall_narg uint32
125796+}
125797+
125798+type __Siginfo struct {
125799+ Signo int32
125800+ Errno int32
125801+ Code int32
125802+ Pid int32
125803+ Uid uint32
125804+ Status int32
125805+ Addr *byte
125806+ Value [4]byte
125807+ _ [32]byte
125808+}
125809+
125810+type Sigset_t struct {
125811+ Val [4]uint32
125812+}
125813+
125814+type Reg struct {
125815+ Fs uint32
125816+ Es uint32
125817+ Ds uint32
125818+ Edi uint32
125819+ Esi uint32
125820+ Ebp uint32
125821+ Isp uint32
125822+ Ebx uint32
125823+ Edx uint32
125824+ Ecx uint32
125825+ Eax uint32
125826+ Trapno uint32
125827+ Err uint32
125828+ Eip uint32
125829+ Cs uint32
125830+ Eflags uint32
125831+ Esp uint32
125832+ Ss uint32
125833+ Gs uint32
125834+}
125835+
125836+type FpReg struct {
125837+ Env [7]uint32
125838+ Acc [8][10]uint8
125839+ Ex_sw uint32
125840+ Pad [64]uint8
125841+}
125842+
125843+type PtraceIoDesc struct {
125844+ Op int32
125845+ Offs *byte
125846+ Addr *byte
125847+ Len uint32
125848+}
125849+
125850 type Kevent_t struct {
125851 Ident uint32
125852 Filter int16
125853@@ -285,7 +436,7 @@ type Kevent_t struct {
125854 }
125855
125856 type FdSet struct {
125857- X__fds_bits [32]uint32
125858+ Bits [32]uint32
125859 }
125860
125861 const (
125862@@ -301,53 +452,52 @@ const (
125863 )
125864
125865 type ifMsghdr struct {
125866- Msglen uint16
125867- Version uint8
125868- Type uint8
125869- Addrs int32
125870- Flags int32
125871- Index uint16
125872- Pad_cgo_0 [2]byte
125873- Data ifData
125874+ Msglen uint16
125875+ Version uint8
125876+ Type uint8
125877+ Addrs int32
125878+ Flags int32
125879+ Index uint16
125880+ _ uint16
125881+ Data ifData
125882 }
125883
125884 type IfMsghdr struct {
125885- Msglen uint16
125886- Version uint8
125887- Type uint8
125888- Addrs int32
125889- Flags int32
125890- Index uint16
125891- Pad_cgo_0 [2]byte
125892- Data IfData
125893+ Msglen uint16
125894+ Version uint8
125895+ Type uint8
125896+ Addrs int32
125897+ Flags int32
125898+ Index uint16
125899+ Data IfData
125900 }
125901
125902 type ifData struct {
125903- Type uint8
125904- Physical uint8
125905- Addrlen uint8
125906- Hdrlen uint8
125907- Link_state uint8
125908- Vhid uint8
125909- Datalen uint16
125910- Mtu uint32
125911- Metric uint32
125912- Baudrate uint64
125913- Ipackets uint64
125914- Ierrors uint64
125915- Opackets uint64
125916- Oerrors uint64
125917- Collisions uint64
125918- Ibytes uint64
125919- Obytes uint64
125920- Imcasts uint64
125921- Omcasts uint64
125922- Iqdrops uint64
125923- Oqdrops uint64
125924- Noproto uint64
125925- Hwassist uint64
125926- X__ifi_epoch [8]byte
125927- X__ifi_lastchange [16]byte
125928+ Type uint8
125929+ Physical uint8
125930+ Addrlen uint8
125931+ Hdrlen uint8
125932+ Link_state uint8
125933+ Vhid uint8
125934+ Datalen uint16
125935+ Mtu uint32
125936+ Metric uint32
125937+ Baudrate uint64
125938+ Ipackets uint64
125939+ Ierrors uint64
125940+ Opackets uint64
125941+ Oerrors uint64
125942+ Collisions uint64
125943+ Ibytes uint64
125944+ Obytes uint64
125945+ Imcasts uint64
125946+ Omcasts uint64
125947+ Iqdrops uint64
125948+ Oqdrops uint64
125949+ Noproto uint64
125950+ Hwassist uint64
125951+ _ [8]byte
125952+ _ [16]byte
125953 }
125954
125955 type IfData struct {
125956@@ -379,24 +529,24 @@ type IfData struct {
125957 }
125958
125959 type IfaMsghdr struct {
125960- Msglen uint16
125961- Version uint8
125962- Type uint8
125963- Addrs int32
125964- Flags int32
125965- Index uint16
125966- Pad_cgo_0 [2]byte
125967- Metric int32
125968+ Msglen uint16
125969+ Version uint8
125970+ Type uint8
125971+ Addrs int32
125972+ Flags int32
125973+ Index uint16
125974+ _ uint16
125975+ Metric int32
125976 }
125977
125978 type IfmaMsghdr struct {
125979- Msglen uint16
125980- Version uint8
125981- Type uint8
125982- Addrs int32
125983- Flags int32
125984- Index uint16
125985- Pad_cgo_0 [2]byte
125986+ Msglen uint16
125987+ Version uint8
125988+ Type uint8
125989+ Addrs int32
125990+ Flags int32
125991+ Index uint16
125992+ _ uint16
125993 }
125994
125995 type IfAnnounceMsghdr struct {
125996@@ -409,19 +559,19 @@ type IfAnnounceMsghdr struct {
125997 }
125998
125999 type RtMsghdr struct {
126000- Msglen uint16
126001- Version uint8
126002- Type uint8
126003- Index uint16
126004- Pad_cgo_0 [2]byte
126005- Flags int32
126006- Addrs int32
126007- Pid int32
126008- Seq int32
126009- Errno int32
126010- Fmask int32
126011- Inits uint32
126012- Rmx RtMetrics
126013+ Msglen uint16
126014+ Version uint8
126015+ Type uint8
126016+ Index uint16
126017+ _ uint16
126018+ Flags int32
126019+ Addrs int32
126020+ Pid int32
126021+ Seq int32
126022+ Errno int32
126023+ Fmask int32
126024+ Inits uint32
126025+ Rmx RtMetrics
126026 }
126027
126028 type RtMetrics struct {
126029@@ -478,18 +628,18 @@ type BpfInsn struct {
126030 }
126031
126032 type BpfHdr struct {
126033- Tstamp Timeval
126034- Caplen uint32
126035- Datalen uint32
126036- Hdrlen uint16
126037- Pad_cgo_0 [2]byte
126038+ Tstamp Timeval
126039+ Caplen uint32
126040+ Datalen uint32
126041+ Hdrlen uint16
126042+ _ [2]byte
126043 }
126044
126045 type BpfZbufHeader struct {
126046 Kernel_gen uint32
126047 Kernel_len uint32
126048 User_gen uint32
126049- X_bzh_pad [5]uint32
126050+ _ [5]uint32
126051 }
126052
126053 type Termios struct {
126054@@ -516,6 +666,44 @@ const (
126055 AT_SYMLINK_NOFOLLOW = 0x200
126056 )
126057
126058+type PollFd struct {
126059+ Fd int32
126060+ Events int16
126061+ Revents int16
126062+}
126063+
126064+const (
126065+ POLLERR = 0x8
126066+ POLLHUP = 0x10
126067+ POLLIN = 0x1
126068+ POLLINIGNEOF = 0x2000
126069+ POLLNVAL = 0x20
126070+ POLLOUT = 0x4
126071+ POLLPRI = 0x2
126072+ POLLRDBAND = 0x80
126073+ POLLRDNORM = 0x40
126074+ POLLWRBAND = 0x100
126075+ POLLWRNORM = 0x4
126076+)
126077+
126078 type CapRights struct {
126079 Rights [2]uint64
126080 }
126081+
126082+type Utsname struct {
126083+ Sysname [256]byte
126084+ Nodename [256]byte
126085+ Release [256]byte
126086+ Version [256]byte
126087+ Machine [256]byte
126088+}
126089+
126090+const SizeofClockinfo = 0x14
126091+
126092+type Clockinfo struct {
126093+ Hz int32
126094+ Tick int32
126095+ Spare int32
126096+ Stathz int32
126097+ Profhz int32
126098+}
126099diff --git a/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go
126100index c65d89e4..e11e9549 100644
126101--- a/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go
126102+++ b/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go
126103@@ -6,11 +6,11 @@
126104 package unix
126105
126106 const (
126107- sizeofPtr = 0x8
126108- sizeofShort = 0x2
126109- sizeofInt = 0x4
126110- sizeofLong = 0x8
126111- sizeofLongLong = 0x8
126112+ SizeofPtr = 0x8
126113+ SizeofShort = 0x2
126114+ SizeofInt = 0x4
126115+ SizeofLong = 0x8
126116+ SizeofLongLong = 0x8
126117 )
126118
126119 type (
126120@@ -57,40 +57,50 @@ type Rlimit struct {
126121 type _Gid_t uint32
126122
126123 const (
126124- S_IFMT = 0xf000
126125- S_IFIFO = 0x1000
126126- S_IFCHR = 0x2000
126127- S_IFDIR = 0x4000
126128- S_IFBLK = 0x6000
126129- S_IFREG = 0x8000
126130- S_IFLNK = 0xa000
126131- S_IFSOCK = 0xc000
126132- S_ISUID = 0x800
126133- S_ISGID = 0x400
126134- S_ISVTX = 0x200
126135- S_IRUSR = 0x100
126136- S_IWUSR = 0x80
126137- S_IXUSR = 0x40
126138+ _statfsVersion = 0x20140518
126139+ _dirblksiz = 0x400
126140 )
126141
126142 type Stat_t struct {
126143- Dev uint32
126144- Ino uint32
126145- Mode uint16
126146- Nlink uint16
126147- Uid uint32
126148- Gid uint32
126149- Rdev uint32
126150- Atimespec Timespec
126151- Mtimespec Timespec
126152- Ctimespec Timespec
126153- Size int64
126154- Blocks int64
126155- Blksize int32
126156- Flags uint32
126157- Gen uint32
126158- Lspare int32
126159- Birthtimespec Timespec
126160+ Dev uint64
126161+ Ino uint64
126162+ Nlink uint64
126163+ Mode uint16
126164+ _0 int16
126165+ Uid uint32
126166+ Gid uint32
126167+ _1 int32
126168+ Rdev uint64
126169+ Atim Timespec
126170+ Mtim Timespec
126171+ Ctim Timespec
126172+ Btim Timespec
126173+ Size int64
126174+ Blocks int64
126175+ Blksize int32
126176+ Flags uint32
126177+ Gen uint64
126178+ Spare [10]uint64
126179+}
126180+
126181+type stat_freebsd11_t struct {
126182+ Dev uint32
126183+ Ino uint32
126184+ Mode uint16
126185+ Nlink uint16
126186+ Uid uint32
126187+ Gid uint32
126188+ Rdev uint32
126189+ Atim Timespec
126190+ Mtim Timespec
126191+ Ctim Timespec
126192+ Size int64
126193+ Blocks int64
126194+ Blksize int32
126195+ Flags uint32
126196+ Gen uint32
126197+ Lspare int32
126198+ Btim Timespec
126199 }
126200
126201 type Statfs_t struct {
126202@@ -113,22 +123,58 @@ type Statfs_t struct {
126203 Owner uint32
126204 Fsid Fsid
126205 Charspare [80]int8
126206- Fstypename [16]int8
126207- Mntfromname [88]int8
126208- Mntonname [88]int8
126209+ Fstypename [16]byte
126210+ Mntfromname [1024]byte
126211+ Mntonname [1024]byte
126212+}
126213+
126214+type statfs_freebsd11_t struct {
126215+ Version uint32
126216+ Type uint32
126217+ Flags uint64
126218+ Bsize uint64
126219+ Iosize uint64
126220+ Blocks uint64
126221+ Bfree uint64
126222+ Bavail int64
126223+ Files uint64
126224+ Ffree int64
126225+ Syncwrites uint64
126226+ Asyncwrites uint64
126227+ Syncreads uint64
126228+ Asyncreads uint64
126229+ Spare [10]uint64
126230+ Namemax uint32
126231+ Owner uint32
126232+ Fsid Fsid
126233+ Charspare [80]int8
126234+ Fstypename [16]byte
126235+ Mntfromname [88]byte
126236+ Mntonname [88]byte
126237 }
126238
126239 type Flock_t struct {
126240- Start int64
126241- Len int64
126242- Pid int32
126243- Type int16
126244- Whence int16
126245- Sysid int32
126246- Pad_cgo_0 [4]byte
126247+ Start int64
126248+ Len int64
126249+ Pid int32
126250+ Type int16
126251+ Whence int16
126252+ Sysid int32
126253+ _ [4]byte
126254 }
126255
126256 type Dirent struct {
126257+ Fileno uint64
126258+ Off int64
126259+ Reclen uint16
126260+ Type uint8
126261+ Pad0 uint8
126262+ Namlen uint16
126263+ Pad1 uint16
126264+ Name [256]int8
126265+}
126266+
126267+type dirent_freebsd11 struct {
126268 Fileno uint32
126269 Reclen uint16
126270 Type uint8
126271@@ -140,6 +186,10 @@ type Fsid struct {
126272 Val [2]int32
126273 }
126274
126275+const (
126276+ PathMax = 0x400
126277+)
126278+
126279 const (
126280 FADV_NORMAL = 0x0
126281 FADV_RANDOM = 0x1
126282@@ -225,10 +275,8 @@ type IPv6Mreq struct {
126283 type Msghdr struct {
126284 Name *byte
126285 Namelen uint32
126286- Pad_cgo_0 [4]byte
126287 Iov *Iovec
126288 Iovlen int32
126289- Pad_cgo_1 [4]byte
126290 Control *byte
126291 Controllen uint32
126292 Flags int32
126293@@ -272,11 +320,115 @@ const (
126294 )
126295
126296 const (
126297- PTRACE_TRACEME = 0x0
126298- PTRACE_CONT = 0x7
126299- PTRACE_KILL = 0x8
126300+ PTRACE_ATTACH = 0xa
126301+ PTRACE_CONT = 0x7
126302+ PTRACE_DETACH = 0xb
126303+ PTRACE_GETFPREGS = 0x23
126304+ PTRACE_GETFSBASE = 0x47
126305+ PTRACE_GETLWPLIST = 0xf
126306+ PTRACE_GETNUMLWPS = 0xe
126307+ PTRACE_GETREGS = 0x21
126308+ PTRACE_GETXSTATE = 0x45
126309+ PTRACE_IO = 0xc
126310+ PTRACE_KILL = 0x8
126311+ PTRACE_LWPEVENTS = 0x18
126312+ PTRACE_LWPINFO = 0xd
126313+ PTRACE_SETFPREGS = 0x24
126314+ PTRACE_SETREGS = 0x22
126315+ PTRACE_SINGLESTEP = 0x9
126316+ PTRACE_TRACEME = 0x0
126317+)
126318+
126319+const (
126320+ PIOD_READ_D = 0x1
126321+ PIOD_WRITE_D = 0x2
126322+ PIOD_READ_I = 0x3
126323+ PIOD_WRITE_I = 0x4
126324+)
126325+
126326+const (
126327+ PL_FLAG_BORN = 0x100
126328+ PL_FLAG_EXITED = 0x200
126329+ PL_FLAG_SI = 0x20
126330+)
126331+
126332+const (
126333+ TRAP_BRKPT = 0x1
126334+ TRAP_TRACE = 0x2
126335 )
126336
126337+type PtraceLwpInfoStruct struct {
126338+ Lwpid int32
126339+ Event int32
126340+ Flags int32
126341+ Sigmask Sigset_t
126342+ Siglist Sigset_t
126343+ Siginfo __Siginfo
126344+ Tdname [20]int8
126345+ Child_pid int32
126346+ Syscall_code uint32
126347+ Syscall_narg uint32
126348+}
126349+
126350+type __Siginfo struct {
126351+ Signo int32
126352+ Errno int32
126353+ Code int32
126354+ Pid int32
126355+ Uid uint32
126356+ Status int32
126357+ Addr *byte
126358+ Value [8]byte
126359+ _ [40]byte
126360+}
126361+
126362+type Sigset_t struct {
126363+ Val [4]uint32
126364+}
126365+
126366+type Reg struct {
126367+ R15 int64
126368+ R14 int64
126369+ R13 int64
126370+ R12 int64
126371+ R11 int64
126372+ R10 int64
126373+ R9 int64
126374+ R8 int64
126375+ Rdi int64
126376+ Rsi int64
126377+ Rbp int64
126378+ Rbx int64
126379+ Rdx int64
126380+ Rcx int64
126381+ Rax int64
126382+ Trapno uint32
126383+ Fs uint16
126384+ Gs uint16
126385+ Err uint32
126386+ Es uint16
126387+ Ds uint16
126388+ Rip int64
126389+ Cs int64
126390+ Rflags int64
126391+ Rsp int64
126392+ Ss int64
126393+}
126394+
126395+type FpReg struct {
126396+ Env [4]uint64
126397+ Acc [8][16]uint8
126398+ Xacc [16][16]uint8
126399+ Spare [12]uint64
126400+}
126401+
126402+type PtraceIoDesc struct {
126403+ Op int32
126404+ Offs *byte
126405+ Addr *byte
126406+ Len uint64
126407+}
126408+
126409 type Kevent_t struct {
126410 Ident uint64
126411 Filter int16
126412@@ -287,7 +439,7 @@ type Kevent_t struct {
126413 }
126414
126415 type FdSet struct {
126416- X__fds_bits [16]uint64
126417+ Bits [16]uint64
126418 }
126419
126420 const (
126421@@ -303,53 +455,52 @@ const (
126422 )
126423
126424 type ifMsghdr struct {
126425- Msglen uint16
126426- Version uint8
126427- Type uint8
126428- Addrs int32
126429- Flags int32
126430- Index uint16
126431- Pad_cgo_0 [2]byte
126432- Data ifData
126433+ Msglen uint16
126434+ Version uint8
126435+ Type uint8
126436+ Addrs int32
126437+ Flags int32
126438+ Index uint16
126439+ _ uint16
126440+ Data ifData
126441 }
126442
126443 type IfMsghdr struct {
126444- Msglen uint16
126445- Version uint8
126446- Type uint8
126447- Addrs int32
126448- Flags int32
126449- Index uint16
126450- Pad_cgo_0 [2]byte
126451- Data IfData
126452+ Msglen uint16
126453+ Version uint8
126454+ Type uint8
126455+ Addrs int32
126456+ Flags int32
126457+ Index uint16
126458+ Data IfData
126459 }
126460
126461 type ifData struct {
126462- Type uint8
126463- Physical uint8
126464- Addrlen uint8
126465- Hdrlen uint8
126466- Link_state uint8
126467- Vhid uint8
126468- Datalen uint16
126469- Mtu uint32
126470- Metric uint32
126471- Baudrate uint64
126472- Ipackets uint64
126473- Ierrors uint64
126474- Opackets uint64
126475- Oerrors uint64
126476- Collisions uint64
126477- Ibytes uint64
126478- Obytes uint64
126479- Imcasts uint64
126480- Omcasts uint64
126481- Iqdrops uint64
126482- Oqdrops uint64
126483- Noproto uint64
126484- Hwassist uint64
126485- X__ifi_epoch [8]byte
126486- X__ifi_lastchange [16]byte
126487+ Type uint8
126488+ Physical uint8
126489+ Addrlen uint8
126490+ Hdrlen uint8
126491+ Link_state uint8
126492+ Vhid uint8
126493+ Datalen uint16
126494+ Mtu uint32
126495+ Metric uint32
126496+ Baudrate uint64
126497+ Ipackets uint64
126498+ Ierrors uint64
126499+ Opackets uint64
126500+ Oerrors uint64
126501+ Collisions uint64
126502+ Ibytes uint64
126503+ Obytes uint64
126504+ Imcasts uint64
126505+ Omcasts uint64
126506+ Iqdrops uint64
126507+ Oqdrops uint64
126508+ Noproto uint64
126509+ Hwassist uint64
126510+ _ [8]byte
126511+ _ [16]byte
126512 }
126513
126514 type IfData struct {
126515@@ -381,24 +532,24 @@ type IfData struct {
126516 }
126517
126518 type IfaMsghdr struct {
126519- Msglen uint16
126520- Version uint8
126521- Type uint8
126522- Addrs int32
126523- Flags int32
126524- Index uint16
126525- Pad_cgo_0 [2]byte
126526- Metric int32
126527+ Msglen uint16
126528+ Version uint8
126529+ Type uint8
126530+ Addrs int32
126531+ Flags int32
126532+ Index uint16
126533+ _ uint16
126534+ Metric int32
126535 }
126536
126537 type IfmaMsghdr struct {
126538- Msglen uint16
126539- Version uint8
126540- Type uint8
126541- Addrs int32
126542- Flags int32
126543- Index uint16
126544- Pad_cgo_0 [2]byte
126545+ Msglen uint16
126546+ Version uint8
126547+ Type uint8
126548+ Addrs int32
126549+ Flags int32
126550+ Index uint16
126551+ _ uint16
126552 }
126553
126554 type IfAnnounceMsghdr struct {
126555@@ -411,19 +562,19 @@ type IfAnnounceMsghdr struct {
126556 }
126557
126558 type RtMsghdr struct {
126559- Msglen uint16
126560- Version uint8
126561- Type uint8
126562- Index uint16
126563- Pad_cgo_0 [2]byte
126564- Flags int32
126565- Addrs int32
126566- Pid int32
126567- Seq int32
126568- Errno int32
126569- Fmask int32
126570- Inits uint64
126571- Rmx RtMetrics
126572+ Msglen uint16
126573+ Version uint8
126574+ Type uint8
126575+ Index uint16
126576+ _ uint16
126577+ Flags int32
126578+ Addrs int32
126579+ Pid int32
126580+ Seq int32
126581+ Errno int32
126582+ Fmask int32
126583+ Inits uint64
126584+ Rmx RtMetrics
126585 }
126586
126587 type RtMetrics struct {
126588@@ -468,9 +619,8 @@ type BpfZbuf struct {
126589 }
126590
126591 type BpfProgram struct {
126592- Len uint32
126593- Pad_cgo_0 [4]byte
126594- Insns *BpfInsn
126595+ Len uint32
126596+ Insns *BpfInsn
126597 }
126598
126599 type BpfInsn struct {
126600@@ -481,18 +631,18 @@ type BpfInsn struct {
126601 }
126602
126603 type BpfHdr struct {
126604- Tstamp Timeval
126605- Caplen uint32
126606- Datalen uint32
126607- Hdrlen uint16
126608- Pad_cgo_0 [6]byte
126609+ Tstamp Timeval
126610+ Caplen uint32
126611+ Datalen uint32
126612+ Hdrlen uint16
126613+ _ [6]byte
126614 }
126615
126616 type BpfZbufHeader struct {
126617 Kernel_gen uint32
126618 Kernel_len uint32
126619 User_gen uint32
126620- X_bzh_pad [5]uint32
126621+ _ [5]uint32
126622 }
126623
126624 type Termios struct {
126625@@ -519,6 +669,44 @@ const (
126626 AT_SYMLINK_NOFOLLOW = 0x200
126627 )
126628
126629+type PollFd struct {
126630+ Fd int32
126631+ Events int16
126632+ Revents int16
126633+}
126634+
126635+const (
126636+ POLLERR = 0x8
126637+ POLLHUP = 0x10
126638+ POLLIN = 0x1
126639+ POLLINIGNEOF = 0x2000
126640+ POLLNVAL = 0x20
126641+ POLLOUT = 0x4
126642+ POLLPRI = 0x2
126643+ POLLRDBAND = 0x80
126644+ POLLRDNORM = 0x40
126645+ POLLWRBAND = 0x100
126646+ POLLWRNORM = 0x4
126647+)
126648+
126649 type CapRights struct {
126650 Rights [2]uint64
126651 }
126652+
126653+type Utsname struct {
126654+ Sysname [256]byte
126655+ Nodename [256]byte
126656+ Release [256]byte
126657+ Version [256]byte
126658+ Machine [256]byte
126659+}
126660+
126661+const SizeofClockinfo = 0x14
126662+
126663+type Clockinfo struct {
126664+ Hz int32
126665+ Tick int32
126666+ Spare int32
126667+ Stathz int32
126668+ Profhz int32
126669+}
126670diff --git a/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go b/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go
126671index 42c0a502..6f79227d 100644
126672--- a/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go
126673+++ b/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go
126674@@ -6,11 +6,11 @@
126675 package unix
126676
126677 const (
126678- sizeofPtr = 0x4
126679- sizeofShort = 0x2
126680- sizeofInt = 0x4
126681- sizeofLong = 0x4
126682- sizeofLongLong = 0x8
126683+ SizeofPtr = 0x4
126684+ SizeofShort = 0x2
126685+ SizeofInt = 0x4
126686+ SizeofLong = 0x4
126687+ SizeofLongLong = 0x8
126688 )
126689
126690 type (
126691@@ -21,15 +21,15 @@ type (
126692 )
126693
126694 type Timespec struct {
126695- Sec int64
126696- Nsec int32
126697- Pad_cgo_0 [4]byte
126698+ Sec int64
126699+ Nsec int32
126700+ _ [4]byte
126701 }
126702
126703 type Timeval struct {
126704- Sec int64
126705- Usec int32
126706- Pad_cgo_0 [4]byte
126707+ Sec int64
126708+ Usec int32
126709+ _ [4]byte
126710 }
126711
126712 type Rusage struct {
126713@@ -59,43 +59,78 @@ type Rlimit struct {
126714 type _Gid_t uint32
126715
126716 const (
126717- S_IFMT = 0xf000
126718- S_IFIFO = 0x1000
126719- S_IFCHR = 0x2000
126720- S_IFDIR = 0x4000
126721- S_IFBLK = 0x6000
126722- S_IFREG = 0x8000
126723- S_IFLNK = 0xa000
126724- S_IFSOCK = 0xc000
126725- S_ISUID = 0x800
126726- S_ISGID = 0x400
126727- S_ISVTX = 0x200
126728- S_IRUSR = 0x100
126729- S_IWUSR = 0x80
126730- S_IXUSR = 0x40
126731+ _statfsVersion = 0x20140518
126732+ _dirblksiz = 0x400
126733 )
126734
126735 type Stat_t struct {
126736- Dev uint32
126737- Ino uint32
126738- Mode uint16
126739- Nlink uint16
126740- Uid uint32
126741- Gid uint32
126742- Rdev uint32
126743- Atimespec Timespec
126744- Mtimespec Timespec
126745- Ctimespec Timespec
126746- Size int64
126747- Blocks int64
126748- Blksize int32
126749- Flags uint32
126750- Gen uint32
126751- Lspare int32
126752- Birthtimespec Timespec
126753+ Dev uint64
126754+ Ino uint64
126755+ Nlink uint64
126756+ Mode uint16
126757+ _0 int16
126758+ Uid uint32
126759+ Gid uint32
126760+ _1 int32
126761+ Rdev uint64
126762+ Atim Timespec
126763+ Mtim Timespec
126764+ Ctim Timespec
126765+ Btim Timespec
126766+ Size int64
126767+ Blocks int64
126768+ Blksize int32
126769+ Flags uint32
126770+ Gen uint64
126771+ Spare [10]uint64
126772+}
126773+
126774+type stat_freebsd11_t struct {
126775+ Dev uint32
126776+ Ino uint32
126777+ Mode uint16
126778+ Nlink uint16
126779+ Uid uint32
126780+ Gid uint32
126781+ Rdev uint32
126782+ Atim Timespec
126783+ Mtim Timespec
126784+ Ctim Timespec
126785+ Size int64
126786+ Blocks int64
126787+ Blksize int32
126788+ Flags uint32
126789+ Gen uint32
126790+ Lspare int32
126791+ Btim Timespec
126792 }
126793
126794 type Statfs_t struct {
126795+ Version uint32
126796+ Type uint32
126797+ Flags uint64
126798+ Bsize uint64
126799+ Iosize uint64
126800+ Blocks uint64
126801+ Bfree uint64
126802+ Bavail int64
126803+ Files uint64
126804+ Ffree int64
126805+ Syncwrites uint64
126806+ Asyncwrites uint64
126807+ Syncreads uint64
126808+ Asyncreads uint64
126809+ Spare [10]uint64
126810+ Namemax uint32
126811+ Owner uint32
126812+ Fsid Fsid
126813+ Charspare [80]int8
126814+ Fstypename [16]int8
126815+ Mntfromname [1024]int8
126816+ Mntonname [1024]int8
126817+}
126818+
126819+type statfs_freebsd11_t struct {
126820 Version uint32
126821 Type uint32
126822 Flags uint64
126823@@ -121,16 +156,27 @@ type Statfs_t struct {
126824 }
126825
126826 type Flock_t struct {
126827- Start int64
126828- Len int64
126829- Pid int32
126830- Type int16
126831- Whence int16
126832- Sysid int32
126833- Pad_cgo_0 [4]byte
126834+ Start int64
126835+ Len int64
126836+ Pid int32
126837+ Type int16
126838+ Whence int16
126839+ Sysid int32
126840+ _ [4]byte
126841 }
126842
126843 type Dirent struct {
126844+ Fileno uint64
126845+ Off int64
126846+ Reclen uint16
126847+ Type uint8
126848+ Pad0 uint8
126849+ Namlen uint16
126850+ Pad1 uint16
126851+ Name [256]int8
126852+}
126853+
126854+type dirent_freebsd11 struct {
126855 Fileno uint32
126856 Reclen uint16
126857 Type uint8
126858@@ -142,6 +188,10 @@ type Fsid struct {
126859 Val [2]int32
126860 }
126861
126862+const (
126863+ PathMax = 0x400
126864+)
126865+
126866 const (
126867 FADV_NORMAL = 0x0
126868 FADV_RANDOM = 0x1
126869@@ -272,11 +322,92 @@ const (
126870 )
126871
126872 const (
126873- PTRACE_TRACEME = 0x0
126874- PTRACE_CONT = 0x7
126875- PTRACE_KILL = 0x8
126876+ PTRACE_ATTACH = 0xa
126877+ PTRACE_CONT = 0x7
126878+ PTRACE_DETACH = 0xb
126879+ PTRACE_GETFPREGS = 0x23
126880+ PTRACE_GETFSBASE = 0x47
126881+ PTRACE_GETLWPLIST = 0xf
126882+ PTRACE_GETNUMLWPS = 0xe
126883+ PTRACE_GETREGS = 0x21
126884+ PTRACE_GETXSTATE = 0x45
126885+ PTRACE_IO = 0xc
126886+ PTRACE_KILL = 0x8
126887+ PTRACE_LWPEVENTS = 0x18
126888+ PTRACE_LWPINFO = 0xd
126889+ PTRACE_SETFPREGS = 0x24
126890+ PTRACE_SETREGS = 0x22
126891+ PTRACE_SINGLESTEP = 0x9
126892+ PTRACE_TRACEME = 0x0
126893+)
126894+
126895+const (
126896+ PIOD_READ_D = 0x1
126897+ PIOD_WRITE_D = 0x2
126898+ PIOD_READ_I = 0x3
126899+ PIOD_WRITE_I = 0x4
126900+)
126901+
126902+const (
126903+ PL_FLAG_BORN = 0x100
126904+ PL_FLAG_EXITED = 0x200
126905+ PL_FLAG_SI = 0x20
126906 )
126907
126908+const (
126909+ TRAP_BRKPT = 0x1
126910+ TRAP_TRACE = 0x2
126911+)
126912+
126913+type PtraceLwpInfoStruct struct {
126914+ Lwpid int32
126915+ Event int32
126916+ Flags int32
126917+ Sigmask Sigset_t
126918+ Siglist Sigset_t
126919+ Siginfo __Siginfo
126920+ Tdname [20]int8
126921+ Child_pid int32
126922+ Syscall_code uint32
126923+ Syscall_narg uint32
126924+}
126925+
126926+type __Siginfo struct {
126927+ Signo int32
126928+ Errno int32
126929+ Code int32
126930+ Pid int32
126931+ Uid uint32
126932+ Status int32
126933+ Addr *byte
126934+ Value [4]byte
126935+ X_reason [32]byte
126936+}
126937+
126938+type Sigset_t struct {
126939+ Val [4]uint32
126940+}
126941+
126942+type Reg struct {
126943+ R [13]uint32
126944+ R_sp uint32
126945+ R_lr uint32
126946+ R_pc uint32
126947+ R_cpsr uint32
126948+}
126949+
126950+type FpReg struct {
126951+ Fpr_fpsr uint32
126952+ Fpr [8][3]uint32
126953+}
126954+
126955+type PtraceIoDesc struct {
126956+ Op int32
126957+ Offs *byte
126958+ Addr *byte
126959+ Len uint32
126960+}
126961+
126962 type Kevent_t struct {
126963 Ident uint32
126964 Filter int16
126965@@ -287,7 +418,7 @@ type Kevent_t struct {
126966 }
126967
126968 type FdSet struct {
126969- X__fds_bits [32]uint32
126970+ Bits [32]uint32
126971 }
126972
126973 const (
126974@@ -303,53 +434,53 @@ const (
126975 )
126976
126977 type ifMsghdr struct {
126978- Msglen uint16
126979- Version uint8
126980- Type uint8
126981- Addrs int32
126982- Flags int32
126983- Index uint16
126984- Pad_cgo_0 [2]byte
126985- Data ifData
126986+ Msglen uint16
126987+ Version uint8
126988+ Type uint8
126989+ Addrs int32
126990+ Flags int32
126991+ Index uint16
126992+ _ [2]byte
126993+ Data ifData
126994 }
126995
126996 type IfMsghdr struct {
126997- Msglen uint16
126998- Version uint8
126999- Type uint8
127000- Addrs int32
127001- Flags int32
127002- Index uint16
127003- Pad_cgo_0 [2]byte
127004- Data IfData
127005+ Msglen uint16
127006+ Version uint8
127007+ Type uint8
127008+ Addrs int32
127009+ Flags int32
127010+ Index uint16
127011+ _ [2]byte
127012+ Data IfData
127013 }
127014
127015 type ifData struct {
127016- Type uint8
127017- Physical uint8
127018- Addrlen uint8
127019- Hdrlen uint8
127020- Link_state uint8
127021- Vhid uint8
127022- Datalen uint16
127023- Mtu uint32
127024- Metric uint32
127025- Baudrate uint64
127026- Ipackets uint64
127027- Ierrors uint64
127028- Opackets uint64
127029- Oerrors uint64
127030- Collisions uint64
127031- Ibytes uint64
127032- Obytes uint64
127033- Imcasts uint64
127034- Omcasts uint64
127035- Iqdrops uint64
127036- Oqdrops uint64
127037- Noproto uint64
127038- Hwassist uint64
127039- X__ifi_epoch [8]byte
127040- X__ifi_lastchange [16]byte
127041+ Type uint8
127042+ Physical uint8
127043+ Addrlen uint8
127044+ Hdrlen uint8
127045+ Link_state uint8
127046+ Vhid uint8
127047+ Datalen uint16
127048+ Mtu uint32
127049+ Metric uint32
127050+ Baudrate uint64
127051+ Ipackets uint64
127052+ Ierrors uint64
127053+ Opackets uint64
127054+ Oerrors uint64
127055+ Collisions uint64
127056+ Ibytes uint64
127057+ Obytes uint64
127058+ Imcasts uint64
127059+ Omcasts uint64
127060+ Iqdrops uint64
127061+ Oqdrops uint64
127062+ Noproto uint64
127063+ Hwassist uint64
127064+ _ [8]byte
127065+ _ [16]byte
127066 }
127067
127068 type IfData struct {
127069@@ -376,30 +507,30 @@ type IfData struct {
127070 Iqdrops uint32
127071 Noproto uint32
127072 Hwassist uint32
127073- Pad_cgo_0 [4]byte
127074+ _ [4]byte
127075 Epoch int64
127076 Lastchange Timeval
127077 }
127078
127079 type IfaMsghdr struct {
127080- Msglen uint16
127081- Version uint8
127082- Type uint8
127083- Addrs int32
127084- Flags int32
127085- Index uint16
127086- Pad_cgo_0 [2]byte
127087- Metric int32
127088+ Msglen uint16
127089+ Version uint8
127090+ Type uint8
127091+ Addrs int32
127092+ Flags int32
127093+ Index uint16
127094+ _ [2]byte
127095+ Metric int32
127096 }
127097
127098 type IfmaMsghdr struct {
127099- Msglen uint16
127100- Version uint8
127101- Type uint8
127102- Addrs int32
127103- Flags int32
127104- Index uint16
127105- Pad_cgo_0 [2]byte
127106+ Msglen uint16
127107+ Version uint8
127108+ Type uint8
127109+ Addrs int32
127110+ Flags int32
127111+ Index uint16
127112+ _ [2]byte
127113 }
127114
127115 type IfAnnounceMsghdr struct {
127116@@ -412,19 +543,19 @@ type IfAnnounceMsghdr struct {
127117 }
127118
127119 type RtMsghdr struct {
127120- Msglen uint16
127121- Version uint8
127122- Type uint8
127123- Index uint16
127124- Pad_cgo_0 [2]byte
127125- Flags int32
127126- Addrs int32
127127- Pid int32
127128- Seq int32
127129- Errno int32
127130- Fmask int32
127131- Inits uint32
127132- Rmx RtMetrics
127133+ Msglen uint16
127134+ Version uint8
127135+ Type uint8
127136+ Index uint16
127137+ _ [2]byte
127138+ Flags int32
127139+ Addrs int32
127140+ Pid int32
127141+ Seq int32
127142+ Errno int32
127143+ Fmask int32
127144+ Inits uint32
127145+ Rmx RtMetrics
127146 }
127147
127148 type RtMetrics struct {
127149@@ -481,18 +612,18 @@ type BpfInsn struct {
127150 }
127151
127152 type BpfHdr struct {
127153- Tstamp Timeval
127154- Caplen uint32
127155- Datalen uint32
127156- Hdrlen uint16
127157- Pad_cgo_0 [6]byte
127158+ Tstamp Timeval
127159+ Caplen uint32
127160+ Datalen uint32
127161+ Hdrlen uint16
127162+ _ [6]byte
127163 }
127164
127165 type BpfZbufHeader struct {
127166 Kernel_gen uint32
127167 Kernel_len uint32
127168 User_gen uint32
127169- X_bzh_pad [5]uint32
127170+ _ [5]uint32
127171 }
127172
127173 type Termios struct {
127174@@ -519,6 +650,44 @@ const (
127175 AT_SYMLINK_NOFOLLOW = 0x200
127176 )
127177
127178+type PollFd struct {
127179+ Fd int32
127180+ Events int16
127181+ Revents int16
127182+}
127183+
127184+const (
127185+ POLLERR = 0x8
127186+ POLLHUP = 0x10
127187+ POLLIN = 0x1
127188+ POLLINIGNEOF = 0x2000
127189+ POLLNVAL = 0x20
127190+ POLLOUT = 0x4
127191+ POLLPRI = 0x2
127192+ POLLRDBAND = 0x80
127193+ POLLRDNORM = 0x40
127194+ POLLWRBAND = 0x100
127195+ POLLWRNORM = 0x4
127196+)
127197+
127198 type CapRights struct {
127199 Rights [2]uint64
127200 }
127201+
127202+type Utsname struct {
127203+ Sysname [256]byte
127204+ Nodename [256]byte
127205+ Release [256]byte
127206+ Version [256]byte
127207+ Machine [256]byte
127208+}
127209+
127210+const SizeofClockinfo = 0x14
127211+
127212+type Clockinfo struct {
127213+ Hz int32
127214+ Tick int32
127215+ Spare int32
127216+ Stathz int32
127217+ Profhz int32
127218+}
127219diff --git a/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go
127220similarity index 54%
127221copy from vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go
127222copy to vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go
127223index c65d89e4..c6fe1d09 100644
127224--- a/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go
127225+++ b/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go
127226@@ -1,16 +1,16 @@
127227-// cgo -godefs types_freebsd.go | go run mkpost.go
127228+// cgo -godefs -- -fsigned-char types_freebsd.go | go run mkpost.go
127229 // Code generated by the command above; see README.md. DO NOT EDIT.
127230
127231-// +build amd64,freebsd
127232+// +build arm64,freebsd
127233
127234 package unix
127235
127236 const (
127237- sizeofPtr = 0x8
127238- sizeofShort = 0x2
127239- sizeofInt = 0x4
127240- sizeofLong = 0x8
127241- sizeofLongLong = 0x8
127242+ SizeofPtr = 0x8
127243+ SizeofShort = 0x2
127244+ SizeofInt = 0x4
127245+ SizeofLong = 0x8
127246+ SizeofLongLong = 0x8
127247 )
127248
127249 type (
127250@@ -57,40 +57,50 @@ type Rlimit struct {
127251 type _Gid_t uint32
127252
127253 const (
127254- S_IFMT = 0xf000
127255- S_IFIFO = 0x1000
127256- S_IFCHR = 0x2000
127257- S_IFDIR = 0x4000
127258- S_IFBLK = 0x6000
127259- S_IFREG = 0x8000
127260- S_IFLNK = 0xa000
127261- S_IFSOCK = 0xc000
127262- S_ISUID = 0x800
127263- S_ISGID = 0x400
127264- S_ISVTX = 0x200
127265- S_IRUSR = 0x100
127266- S_IWUSR = 0x80
127267- S_IXUSR = 0x40
127268+ _statfsVersion = 0x20140518
127269+ _dirblksiz = 0x400
127270 )
127271
127272 type Stat_t struct {
127273- Dev uint32
127274- Ino uint32
127275- Mode uint16
127276- Nlink uint16
127277- Uid uint32
127278- Gid uint32
127279- Rdev uint32
127280- Atimespec Timespec
127281- Mtimespec Timespec
127282- Ctimespec Timespec
127283- Size int64
127284- Blocks int64
127285- Blksize int32
127286- Flags uint32
127287- Gen uint32
127288- Lspare int32
127289- Birthtimespec Timespec
127290+ Dev uint64
127291+ Ino uint64
127292+ Nlink uint64
127293+ Mode uint16
127294+ _0 int16
127295+ Uid uint32
127296+ Gid uint32
127297+ _1 int32
127298+ Rdev uint64
127299+ Atim Timespec
127300+ Mtim Timespec
127301+ Ctim Timespec
127302+ Btim Timespec
127303+ Size int64
127304+ Blocks int64
127305+ Blksize int32
127306+ Flags uint32
127307+ Gen uint64
127308+ Spare [10]uint64
127309+}
127310+
127311+type stat_freebsd11_t struct {
127312+ Dev uint32
127313+ Ino uint32
127314+ Mode uint16
127315+ Nlink uint16
127316+ Uid uint32
127317+ Gid uint32
127318+ Rdev uint32
127319+ Atim Timespec
127320+ Mtim Timespec
127321+ Ctim Timespec
127322+ Size int64
127323+ Blocks int64
127324+ Blksize int32
127325+ Flags uint32
127326+ Gen uint32
127327+ Lspare int32
127328+ Btim Timespec
127329 }
127330
127331 type Statfs_t struct {
127332@@ -113,22 +123,58 @@ type Statfs_t struct {
127333 Owner uint32
127334 Fsid Fsid
127335 Charspare [80]int8
127336- Fstypename [16]int8
127337- Mntfromname [88]int8
127338- Mntonname [88]int8
127339+ Fstypename [16]byte
127340+ Mntfromname [1024]byte
127341+ Mntonname [1024]byte
127342+}
127343+
127344+type statfs_freebsd11_t struct {
127345+ Version uint32
127346+ Type uint32
127347+ Flags uint64
127348+ Bsize uint64
127349+ Iosize uint64
127350+ Blocks uint64
127351+ Bfree uint64
127352+ Bavail int64
127353+ Files uint64
127354+ Ffree int64
127355+ Syncwrites uint64
127356+ Asyncwrites uint64
127357+ Syncreads uint64
127358+ Asyncreads uint64
127359+ Spare [10]uint64
127360+ Namemax uint32
127361+ Owner uint32
127362+ Fsid Fsid
127363+ Charspare [80]int8
127364+ Fstypename [16]byte
127365+ Mntfromname [88]byte
127366+ Mntonname [88]byte
127367 }
127368
127369 type Flock_t struct {
127370- Start int64
127371- Len int64
127372- Pid int32
127373- Type int16
127374- Whence int16
127375- Sysid int32
127376- Pad_cgo_0 [4]byte
127377+ Start int64
127378+ Len int64
127379+ Pid int32
127380+ Type int16
127381+ Whence int16
127382+ Sysid int32
127383+ _ [4]byte
127384 }
127385
127386 type Dirent struct {
127387+ Fileno uint64
127388+ Off int64
127389+ Reclen uint16
127390+ Type uint8
127391+ Pad0 uint8
127392+ Namlen uint16
127393+ Pad1 uint16
127394+ Name [256]int8
127395+}
127396+
127397+type dirent_freebsd11 struct {
127398 Fileno uint32
127399 Reclen uint16
127400 Type uint8
127401@@ -140,6 +186,10 @@ type Fsid struct {
127402 Val [2]int32
127403 }
127404
127405+const (
127406+ PathMax = 0x400
127407+)
127408+
127409 const (
127410 FADV_NORMAL = 0x0
127411 FADV_RANDOM = 0x1
127412@@ -225,10 +275,8 @@ type IPv6Mreq struct {
127413 type Msghdr struct {
127414 Name *byte
127415 Namelen uint32
127416- Pad_cgo_0 [4]byte
127417 Iov *Iovec
127418 Iovlen int32
127419- Pad_cgo_1 [4]byte
127420 Control *byte
127421 Controllen uint32
127422 Flags int32
127423@@ -272,11 +320,93 @@ const (
127424 )
127425
127426 const (
127427- PTRACE_TRACEME = 0x0
127428- PTRACE_CONT = 0x7
127429- PTRACE_KILL = 0x8
127430+ PTRACE_ATTACH = 0xa
127431+ PTRACE_CONT = 0x7
127432+ PTRACE_DETACH = 0xb
127433+ PTRACE_GETFPREGS = 0x23
127434+ PTRACE_GETLWPLIST = 0xf
127435+ PTRACE_GETNUMLWPS = 0xe
127436+ PTRACE_GETREGS = 0x21
127437+ PTRACE_IO = 0xc
127438+ PTRACE_KILL = 0x8
127439+ PTRACE_LWPEVENTS = 0x18
127440+ PTRACE_LWPINFO = 0xd
127441+ PTRACE_SETFPREGS = 0x24
127442+ PTRACE_SETREGS = 0x22
127443+ PTRACE_SINGLESTEP = 0x9
127444+ PTRACE_TRACEME = 0x0
127445+)
127446+
127447+const (
127448+ PIOD_READ_D = 0x1
127449+ PIOD_WRITE_D = 0x2
127450+ PIOD_READ_I = 0x3
127451+ PIOD_WRITE_I = 0x4
127452+)
127453+
127454+const (
127455+ PL_FLAG_BORN = 0x100
127456+ PL_FLAG_EXITED = 0x200
127457+ PL_FLAG_SI = 0x20
127458+)
127459+
127460+const (
127461+ TRAP_BRKPT = 0x1
127462+ TRAP_TRACE = 0x2
127463 )
127464
127465+type PtraceLwpInfoStruct struct {
127466+ Lwpid int32
127467+ Event int32
127468+ Flags int32
127469+ Sigmask Sigset_t
127470+ Siglist Sigset_t
127471+ Siginfo __Siginfo
127472+ Tdname [20]int8
127473+ Child_pid int32
127474+ Syscall_code uint32
127475+ Syscall_narg uint32
127476+}
127477+
127478+type __Siginfo struct {
127479+ Signo int32
127480+ Errno int32
127481+ Code int32
127482+ Pid int32
127483+ Uid uint32
127484+ Status int32
127485+ Addr *byte
127486+ Value [8]byte
127487+ _ [40]byte
127488+}
127489+
127490+type Sigset_t struct {
127491+ Val [4]uint32
127492+}
127493+
127494+type Reg struct {
127495+ X [30]uint64
127496+ Lr uint64
127497+ Sp uint64
127498+ Elr uint64
127499+ Spsr uint32
127500+ _ [4]byte
127501+}
127502+
127503+type FpReg struct {
127504+ Q [32][16]uint8
127505+ Sr uint32
127506+ Cr uint32
127507+ _ [8]byte
127508+}
127509+
127510+type PtraceIoDesc struct {
127511+ Op int32
127512+ Offs *byte
127513+ Addr *byte
127514+ Len uint64
127515+}
127516+
127517 type Kevent_t struct {
127518 Ident uint64
127519 Filter int16
127520@@ -287,7 +417,7 @@ type Kevent_t struct {
127521 }
127522
127523 type FdSet struct {
127524- X__fds_bits [16]uint64
127525+ Bits [16]uint64
127526 }
127527
127528 const (
127529@@ -303,53 +433,52 @@ const (
127530 )
127531
127532 type ifMsghdr struct {
127533- Msglen uint16
127534- Version uint8
127535- Type uint8
127536- Addrs int32
127537- Flags int32
127538- Index uint16
127539- Pad_cgo_0 [2]byte
127540- Data ifData
127541+ Msglen uint16
127542+ Version uint8
127543+ Type uint8
127544+ Addrs int32
127545+ Flags int32
127546+ Index uint16
127547+ _ uint16
127548+ Data ifData
127549 }
127550
127551 type IfMsghdr struct {
127552- Msglen uint16
127553- Version uint8
127554- Type uint8
127555- Addrs int32
127556- Flags int32
127557- Index uint16
127558- Pad_cgo_0 [2]byte
127559- Data IfData
127560+ Msglen uint16
127561+ Version uint8
127562+ Type uint8
127563+ Addrs int32
127564+ Flags int32
127565+ Index uint16
127566+ Data IfData
127567 }
127568
127569 type ifData struct {
127570- Type uint8
127571- Physical uint8
127572- Addrlen uint8
127573- Hdrlen uint8
127574- Link_state uint8
127575- Vhid uint8
127576- Datalen uint16
127577- Mtu uint32
127578- Metric uint32
127579- Baudrate uint64
127580- Ipackets uint64
127581- Ierrors uint64
127582- Opackets uint64
127583- Oerrors uint64
127584- Collisions uint64
127585- Ibytes uint64
127586- Obytes uint64
127587- Imcasts uint64
127588- Omcasts uint64
127589- Iqdrops uint64
127590- Oqdrops uint64
127591- Noproto uint64
127592- Hwassist uint64
127593- X__ifi_epoch [8]byte
127594- X__ifi_lastchange [16]byte
127595+ Type uint8
127596+ Physical uint8
127597+ Addrlen uint8
127598+ Hdrlen uint8
127599+ Link_state uint8
127600+ Vhid uint8
127601+ Datalen uint16
127602+ Mtu uint32
127603+ Metric uint32
127604+ Baudrate uint64
127605+ Ipackets uint64
127606+ Ierrors uint64
127607+ Opackets uint64
127608+ Oerrors uint64
127609+ Collisions uint64
127610+ Ibytes uint64
127611+ Obytes uint64
127612+ Imcasts uint64
127613+ Omcasts uint64
127614+ Iqdrops uint64
127615+ Oqdrops uint64
127616+ Noproto uint64
127617+ Hwassist uint64
127618+ _ [8]byte
127619+ _ [16]byte
127620 }
127621
127622 type IfData struct {
127623@@ -381,24 +510,24 @@ type IfData struct {
127624 }
127625
127626 type IfaMsghdr struct {
127627- Msglen uint16
127628- Version uint8
127629- Type uint8
127630- Addrs int32
127631- Flags int32
127632- Index uint16
127633- Pad_cgo_0 [2]byte
127634- Metric int32
127635+ Msglen uint16
127636+ Version uint8
127637+ Type uint8
127638+ Addrs int32
127639+ Flags int32
127640+ Index uint16
127641+ _ uint16
127642+ Metric int32
127643 }
127644
127645 type IfmaMsghdr struct {
127646- Msglen uint16
127647- Version uint8
127648- Type uint8
127649- Addrs int32
127650- Flags int32
127651- Index uint16
127652- Pad_cgo_0 [2]byte
127653+ Msglen uint16
127654+ Version uint8
127655+ Type uint8
127656+ Addrs int32
127657+ Flags int32
127658+ Index uint16
127659+ _ uint16
127660 }
127661
127662 type IfAnnounceMsghdr struct {
127663@@ -411,19 +540,19 @@ type IfAnnounceMsghdr struct {
127664 }
127665
127666 type RtMsghdr struct {
127667- Msglen uint16
127668- Version uint8
127669- Type uint8
127670- Index uint16
127671- Pad_cgo_0 [2]byte
127672- Flags int32
127673- Addrs int32
127674- Pid int32
127675- Seq int32
127676- Errno int32
127677- Fmask int32
127678- Inits uint64
127679- Rmx RtMetrics
127680+ Msglen uint16
127681+ Version uint8
127682+ Type uint8
127683+ Index uint16
127684+ _ uint16
127685+ Flags int32
127686+ Addrs int32
127687+ Pid int32
127688+ Seq int32
127689+ Errno int32
127690+ Fmask int32
127691+ Inits uint64
127692+ Rmx RtMetrics
127693 }
127694
127695 type RtMetrics struct {
127696@@ -468,9 +597,8 @@ type BpfZbuf struct {
127697 }
127698
127699 type BpfProgram struct {
127700- Len uint32
127701- Pad_cgo_0 [4]byte
127702- Insns *BpfInsn
127703+ Len uint32
127704+ Insns *BpfInsn
127705 }
127706
127707 type BpfInsn struct {
127708@@ -481,18 +609,18 @@ type BpfInsn struct {
127709 }
127710
127711 type BpfHdr struct {
127712- Tstamp Timeval
127713- Caplen uint32
127714- Datalen uint32
127715- Hdrlen uint16
127716- Pad_cgo_0 [6]byte
127717+ Tstamp Timeval
127718+ Caplen uint32
127719+ Datalen uint32
127720+ Hdrlen uint16
127721+ _ [6]byte
127722 }
127723
127724 type BpfZbufHeader struct {
127725 Kernel_gen uint32
127726 Kernel_len uint32
127727 User_gen uint32
127728- X_bzh_pad [5]uint32
127729+ _ [5]uint32
127730 }
127731
127732 type Termios struct {
127733@@ -519,6 +647,44 @@ const (
127734 AT_SYMLINK_NOFOLLOW = 0x200
127735 )
127736
127737+type PollFd struct {
127738+ Fd int32
127739+ Events int16
127740+ Revents int16
127741+}
127742+
127743+const (
127744+ POLLERR = 0x8
127745+ POLLHUP = 0x10
127746+ POLLIN = 0x1
127747+ POLLINIGNEOF = 0x2000
127748+ POLLNVAL = 0x20
127749+ POLLOUT = 0x4
127750+ POLLPRI = 0x2
127751+ POLLRDBAND = 0x80
127752+ POLLRDNORM = 0x40
127753+ POLLWRBAND = 0x100
127754+ POLLWRNORM = 0x4
127755+)
127756+
127757 type CapRights struct {
127758 Rights [2]uint64
127759 }
127760+
127761+type Utsname struct {
127762+ Sysname [256]byte
127763+ Nodename [256]byte
127764+ Release [256]byte
127765+ Version [256]byte
127766+ Machine [256]byte
127767+}
127768+
127769+const SizeofClockinfo = 0x14
127770+
127771+type Clockinfo struct {
127772+ Hz int32
127773+ Tick int32
127774+ Spare int32
127775+ Stathz int32
127776+ Profhz int32
127777+}
127778diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux.go b/vendor/golang.org/x/sys/unix/ztypes_linux.go
127779new file mode 100644
127780index 00000000..af5ab455
127781--- /dev/null
127782+++ b/vendor/golang.org/x/sys/unix/ztypes_linux.go
127783@@ -0,0 +1,2340 @@
127784+// Code generated by mkmerge.go; DO NOT EDIT.
127785+
127786+// +build linux
127787+
127788+package unix
127789+
127790+const (
127791+ SizeofShort = 0x2
127792+ SizeofInt = 0x4
127793+ SizeofLongLong = 0x8
127794+ PathMax = 0x1000
127795+)
127796+
127797+type (
127798+ _C_short int16
127799+ _C_int int32
127800+
127801+ _C_long_long int64
127802+)
127803+
127804+const (
127805+ TIME_OK = 0x0
127806+ TIME_INS = 0x1
127807+ TIME_DEL = 0x2
127808+ TIME_OOP = 0x3
127809+ TIME_WAIT = 0x4
127810+ TIME_ERROR = 0x5
127811+ TIME_BAD = 0x5
127812+)
127813+
127814+type Rlimit struct {
127815+ Cur uint64
127816+ Max uint64
127817+}
127818+
127819+type _Gid_t uint32
127820+
127821+type StatxTimestamp struct {
127822+ Sec int64
127823+ Nsec uint32
127824+ _ int32
127825+}
127826+
127827+type Statx_t struct {
127828+ Mask uint32
127829+ Blksize uint32
127830+ Attributes uint64
127831+ Nlink uint32
127832+ Uid uint32
127833+ Gid uint32
127834+ Mode uint16
127835+ _ [1]uint16
127836+ Ino uint64
127837+ Size uint64
127838+ Blocks uint64
127839+ Attributes_mask uint64
127840+ Atime StatxTimestamp
127841+ Btime StatxTimestamp
127842+ Ctime StatxTimestamp
127843+ Mtime StatxTimestamp
127844+ Rdev_major uint32
127845+ Rdev_minor uint32
127846+ Dev_major uint32
127847+ Dev_minor uint32
127848+ _ [14]uint64
127849+}
127850+
127851+type Fsid struct {
127852+ Val [2]int32
127853+}
127854+
127855+type FscryptPolicy struct {
127856+ Version uint8
127857+ Contents_encryption_mode uint8
127858+ Filenames_encryption_mode uint8
127859+ Flags uint8
127860+ Master_key_descriptor [8]uint8
127861+}
127862+
127863+type FscryptKey struct {
127864+ Mode uint32
127865+ Raw [64]uint8
127866+ Size uint32
127867+}
127868+
127869+type FscryptPolicyV1 struct {
127870+ Version uint8
127871+ Contents_encryption_mode uint8
127872+ Filenames_encryption_mode uint8
127873+ Flags uint8
127874+ Master_key_descriptor [8]uint8
127875+}
127876+
127877+type FscryptPolicyV2 struct {
127878+ Version uint8
127879+ Contents_encryption_mode uint8
127880+ Filenames_encryption_mode uint8
127881+ Flags uint8
127882+ _ [4]uint8
127883+ Master_key_identifier [16]uint8
127884+}
127885+
127886+type FscryptGetPolicyExArg struct {
127887+ Size uint64
127888+ Policy [24]byte
127889+}
127890+
127891+type FscryptKeySpecifier struct {
127892+ Type uint32
127893+ _ uint32
127894+ U [32]byte
127895+}
127896+
127897+type FscryptAddKeyArg struct {
127898+ Key_spec FscryptKeySpecifier
127899+ Raw_size uint32
127900+ Key_id uint32
127901+ _ [8]uint32
127902+}
127903+
127904+type FscryptRemoveKeyArg struct {
127905+ Key_spec FscryptKeySpecifier
127906+ Removal_status_flags uint32
127907+ _ [5]uint32
127908+}
127909+
127910+type FscryptGetKeyStatusArg struct {
127911+ Key_spec FscryptKeySpecifier
127912+ _ [6]uint32
127913+ Status uint32
127914+ Status_flags uint32
127915+ User_count uint32
127916+ _ [13]uint32
127917+}
127918+
127919+type KeyctlDHParams struct {
127920+ Private int32
127921+ Prime int32
127922+ Base int32
127923+}
127924+
127925+const (
127926+ FADV_NORMAL = 0x0
127927+ FADV_RANDOM = 0x1
127928+ FADV_SEQUENTIAL = 0x2
127929+ FADV_WILLNEED = 0x3
127930+)
127931+
127932+type RawSockaddrInet4 struct {
127933+ Family uint16
127934+ Port uint16
127935+ Addr [4]byte /* in_addr */
127936+ Zero [8]uint8
127937+}
127938+
127939+type RawSockaddrInet6 struct {
127940+ Family uint16
127941+ Port uint16
127942+ Flowinfo uint32
127943+ Addr [16]byte /* in6_addr */
127944+ Scope_id uint32
127945+}
127946+
127947+type RawSockaddrUnix struct {
127948+ Family uint16
127949+ Path [108]int8
127950+}
127951+
127952+type RawSockaddrLinklayer struct {
127953+ Family uint16
127954+ Protocol uint16
127955+ Ifindex int32
127956+ Hatype uint16
127957+ Pkttype uint8
127958+ Halen uint8
127959+ Addr [8]uint8
127960+}
127961+
127962+type RawSockaddrNetlink struct {
127963+ Family uint16
127964+ Pad uint16
127965+ Pid uint32
127966+ Groups uint32
127967+}
127968+
127969+type RawSockaddrHCI struct {
127970+ Family uint16
127971+ Dev uint16
127972+ Channel uint16
127973+}
127974+
127975+type RawSockaddrL2 struct {
127976+ Family uint16
127977+ Psm uint16
127978+ Bdaddr [6]uint8
127979+ Cid uint16
127980+ Bdaddr_type uint8
127981+ _ [1]byte
127982+}
127983+
127984+type RawSockaddrRFCOMM struct {
127985+ Family uint16
127986+ Bdaddr [6]uint8
127987+ Channel uint8
127988+ _ [1]byte
127989+}
127990+
127991+type RawSockaddrCAN struct {
127992+ Family uint16
127993+ Ifindex int32
127994+ Addr [16]byte
127995+}
127996+
127997+type RawSockaddrALG struct {
127998+ Family uint16
127999+ Type [14]uint8
128000+ Feat uint32
128001+ Mask uint32
128002+ Name [64]uint8
128003+}
128004+
128005+type RawSockaddrVM struct {
128006+ Family uint16
128007+ Reserved1 uint16
128008+ Port uint32
128009+ Cid uint32
128010+ Zero [4]uint8
128011+}
128012+
128013+type RawSockaddrXDP struct {
128014+ Family uint16
128015+ Flags uint16
128016+ Ifindex uint32
128017+ Queue_id uint32
128018+ Shared_umem_fd uint32
128019+}
128020+
128021+type RawSockaddrPPPoX [0x1e]byte
128022+
128023+type RawSockaddrTIPC struct {
128024+ Family uint16
128025+ Addrtype uint8
128026+ Scope int8
128027+ Addr [12]byte
128028+}
128029+
128030+type RawSockaddrL2TPIP struct {
128031+ Family uint16
128032+ Unused uint16
128033+ Addr [4]byte /* in_addr */
128034+ Conn_id uint32
128035+ _ [4]uint8
128036+}
128037+
128038+type RawSockaddrL2TPIP6 struct {
128039+ Family uint16
128040+ Unused uint16
128041+ Flowinfo uint32
128042+ Addr [16]byte /* in6_addr */
128043+ Scope_id uint32
128044+ Conn_id uint32
128045+}
128046+
128047+type _Socklen uint32
128048+
128049+type Linger struct {
128050+ Onoff int32
128051+ Linger int32
128052+}
128053+
128054+type IPMreq struct {
128055+ Multiaddr [4]byte /* in_addr */
128056+ Interface [4]byte /* in_addr */
128057+}
128058+
128059+type IPMreqn struct {
128060+ Multiaddr [4]byte /* in_addr */
128061+ Address [4]byte /* in_addr */
128062+ Ifindex int32
128063+}
128064+
128065+type IPv6Mreq struct {
128066+ Multiaddr [16]byte /* in6_addr */
128067+ Interface uint32
128068+}
128069+
128070+type PacketMreq struct {
128071+ Ifindex int32
128072+ Type uint16
128073+ Alen uint16
128074+ Address [8]uint8
128075+}
128076+
128077+type Inet4Pktinfo struct {
128078+ Ifindex int32
128079+ Spec_dst [4]byte /* in_addr */
128080+ Addr [4]byte /* in_addr */
128081+}
128082+
128083+type Inet6Pktinfo struct {
128084+ Addr [16]byte /* in6_addr */
128085+ Ifindex uint32
128086+}
128087+
128088+type IPv6MTUInfo struct {
128089+ Addr RawSockaddrInet6
128090+ Mtu uint32
128091+}
128092+
128093+type ICMPv6Filter struct {
128094+ Data [8]uint32
128095+}
128096+
128097+type Ucred struct {
128098+ Pid int32
128099+ Uid uint32
128100+ Gid uint32
128101+}
128102+
128103+type TCPInfo struct {
128104+ State uint8
128105+ Ca_state uint8
128106+ Retransmits uint8
128107+ Probes uint8
128108+ Backoff uint8
128109+ Options uint8
128110+ Rto uint32
128111+ Ato uint32
128112+ Snd_mss uint32
128113+ Rcv_mss uint32
128114+ Unacked uint32
128115+ Sacked uint32
128116+ Lost uint32
128117+ Retrans uint32
128118+ Fackets uint32
128119+ Last_data_sent uint32
128120+ Last_ack_sent uint32
128121+ Last_data_recv uint32
128122+ Last_ack_recv uint32
128123+ Pmtu uint32
128124+ Rcv_ssthresh uint32
128125+ Rtt uint32
128126+ Rttvar uint32
128127+ Snd_ssthresh uint32
128128+ Snd_cwnd uint32
128129+ Advmss uint32
128130+ Reordering uint32
128131+ Rcv_rtt uint32
128132+ Rcv_space uint32
128133+ Total_retrans uint32
128134+}
128135+
128136+type CanFilter struct {
128137+ Id uint32
128138+ Mask uint32
128139+}
128140+
128141+const (
128142+ SizeofSockaddrInet4 = 0x10
128143+ SizeofSockaddrInet6 = 0x1c
128144+ SizeofSockaddrAny = 0x70
128145+ SizeofSockaddrUnix = 0x6e
128146+ SizeofSockaddrLinklayer = 0x14
128147+ SizeofSockaddrNetlink = 0xc
128148+ SizeofSockaddrHCI = 0x6
128149+ SizeofSockaddrL2 = 0xe
128150+ SizeofSockaddrRFCOMM = 0xa
128151+ SizeofSockaddrCAN = 0x18
128152+ SizeofSockaddrALG = 0x58
128153+ SizeofSockaddrVM = 0x10
128154+ SizeofSockaddrXDP = 0x10
128155+ SizeofSockaddrPPPoX = 0x1e
128156+ SizeofSockaddrTIPC = 0x10
128157+ SizeofSockaddrL2TPIP = 0x10
128158+ SizeofSockaddrL2TPIP6 = 0x20
128159+ SizeofLinger = 0x8
128160+ SizeofIPMreq = 0x8
128161+ SizeofIPMreqn = 0xc
128162+ SizeofIPv6Mreq = 0x14
128163+ SizeofPacketMreq = 0x10
128164+ SizeofInet4Pktinfo = 0xc
128165+ SizeofInet6Pktinfo = 0x14
128166+ SizeofIPv6MTUInfo = 0x20
128167+ SizeofICMPv6Filter = 0x20
128168+ SizeofUcred = 0xc
128169+ SizeofTCPInfo = 0x68
128170+ SizeofCanFilter = 0x8
128171+)
128172+
128173+const (
128174+ NDA_UNSPEC = 0x0
128175+ NDA_DST = 0x1
128176+ NDA_LLADDR = 0x2
128177+ NDA_CACHEINFO = 0x3
128178+ NDA_PROBES = 0x4
128179+ NDA_VLAN = 0x5
128180+ NDA_PORT = 0x6
128181+ NDA_VNI = 0x7
128182+ NDA_IFINDEX = 0x8
128183+ NDA_MASTER = 0x9
128184+ NDA_LINK_NETNSID = 0xa
128185+ NDA_SRC_VNI = 0xb
128186+ NTF_USE = 0x1
128187+ NTF_SELF = 0x2
128188+ NTF_MASTER = 0x4
128189+ NTF_PROXY = 0x8
128190+ NTF_EXT_LEARNED = 0x10
128191+ NTF_OFFLOADED = 0x20
128192+ NTF_ROUTER = 0x80
128193+ NUD_INCOMPLETE = 0x1
128194+ NUD_REACHABLE = 0x2
128195+ NUD_STALE = 0x4
128196+ NUD_DELAY = 0x8
128197+ NUD_PROBE = 0x10
128198+ NUD_FAILED = 0x20
128199+ NUD_NOARP = 0x40
128200+ NUD_PERMANENT = 0x80
128201+ NUD_NONE = 0x0
128202+ IFA_UNSPEC = 0x0
128203+ IFA_ADDRESS = 0x1
128204+ IFA_LOCAL = 0x2
128205+ IFA_LABEL = 0x3
128206+ IFA_BROADCAST = 0x4
128207+ IFA_ANYCAST = 0x5
128208+ IFA_CACHEINFO = 0x6
128209+ IFA_MULTICAST = 0x7
128210+ IFA_FLAGS = 0x8
128211+ IFA_RT_PRIORITY = 0x9
128212+ IFA_TARGET_NETNSID = 0xa
128213+ IFLA_UNSPEC = 0x0
128214+ IFLA_ADDRESS = 0x1
128215+ IFLA_BROADCAST = 0x2
128216+ IFLA_IFNAME = 0x3
128217+ IFLA_MTU = 0x4
128218+ IFLA_LINK = 0x5
128219+ IFLA_QDISC = 0x6
128220+ IFLA_STATS = 0x7
128221+ IFLA_COST = 0x8
128222+ IFLA_PRIORITY = 0x9
128223+ IFLA_MASTER = 0xa
128224+ IFLA_WIRELESS = 0xb
128225+ IFLA_PROTINFO = 0xc
128226+ IFLA_TXQLEN = 0xd
128227+ IFLA_MAP = 0xe
128228+ IFLA_WEIGHT = 0xf
128229+ IFLA_OPERSTATE = 0x10
128230+ IFLA_LINKMODE = 0x11
128231+ IFLA_LINKINFO = 0x12
128232+ IFLA_NET_NS_PID = 0x13
128233+ IFLA_IFALIAS = 0x14
128234+ IFLA_NUM_VF = 0x15
128235+ IFLA_VFINFO_LIST = 0x16
128236+ IFLA_STATS64 = 0x17
128237+ IFLA_VF_PORTS = 0x18
128238+ IFLA_PORT_SELF = 0x19
128239+ IFLA_AF_SPEC = 0x1a
128240+ IFLA_GROUP = 0x1b
128241+ IFLA_NET_NS_FD = 0x1c
128242+ IFLA_EXT_MASK = 0x1d
128243+ IFLA_PROMISCUITY = 0x1e
128244+ IFLA_NUM_TX_QUEUES = 0x1f
128245+ IFLA_NUM_RX_QUEUES = 0x20
128246+ IFLA_CARRIER = 0x21
128247+ IFLA_PHYS_PORT_ID = 0x22
128248+ IFLA_CARRIER_CHANGES = 0x23
128249+ IFLA_PHYS_SWITCH_ID = 0x24
128250+ IFLA_LINK_NETNSID = 0x25
128251+ IFLA_PHYS_PORT_NAME = 0x26
128252+ IFLA_PROTO_DOWN = 0x27
128253+ IFLA_GSO_MAX_SEGS = 0x28
128254+ IFLA_GSO_MAX_SIZE = 0x29
128255+ IFLA_PAD = 0x2a
128256+ IFLA_XDP = 0x2b
128257+ IFLA_EVENT = 0x2c
128258+ IFLA_NEW_NETNSID = 0x2d
128259+ IFLA_IF_NETNSID = 0x2e
128260+ IFLA_TARGET_NETNSID = 0x2e
128261+ IFLA_CARRIER_UP_COUNT = 0x2f
128262+ IFLA_CARRIER_DOWN_COUNT = 0x30
128263+ IFLA_NEW_IFINDEX = 0x31
128264+ IFLA_MIN_MTU = 0x32
128265+ IFLA_MAX_MTU = 0x33
128266+ IFLA_MAX = 0x36
128267+ IFLA_INFO_KIND = 0x1
128268+ IFLA_INFO_DATA = 0x2
128269+ IFLA_INFO_XSTATS = 0x3
128270+ IFLA_INFO_SLAVE_KIND = 0x4
128271+ IFLA_INFO_SLAVE_DATA = 0x5
128272+ RT_SCOPE_UNIVERSE = 0x0
128273+ RT_SCOPE_SITE = 0xc8
128274+ RT_SCOPE_LINK = 0xfd
128275+ RT_SCOPE_HOST = 0xfe
128276+ RT_SCOPE_NOWHERE = 0xff
128277+ RT_TABLE_UNSPEC = 0x0
128278+ RT_TABLE_COMPAT = 0xfc
128279+ RT_TABLE_DEFAULT = 0xfd
128280+ RT_TABLE_MAIN = 0xfe
128281+ RT_TABLE_LOCAL = 0xff
128282+ RT_TABLE_MAX = 0xffffffff
128283+ RTA_UNSPEC = 0x0
128284+ RTA_DST = 0x1
128285+ RTA_SRC = 0x2
128286+ RTA_IIF = 0x3
128287+ RTA_OIF = 0x4
128288+ RTA_GATEWAY = 0x5
128289+ RTA_PRIORITY = 0x6
128290+ RTA_PREFSRC = 0x7
128291+ RTA_METRICS = 0x8
128292+ RTA_MULTIPATH = 0x9
128293+ RTA_FLOW = 0xb
128294+ RTA_CACHEINFO = 0xc
128295+ RTA_TABLE = 0xf
128296+ RTA_MARK = 0x10
128297+ RTA_MFC_STATS = 0x11
128298+ RTA_VIA = 0x12
128299+ RTA_NEWDST = 0x13
128300+ RTA_PREF = 0x14
128301+ RTA_ENCAP_TYPE = 0x15
128302+ RTA_ENCAP = 0x16
128303+ RTA_EXPIRES = 0x17
128304+ RTA_PAD = 0x18
128305+ RTA_UID = 0x19
128306+ RTA_TTL_PROPAGATE = 0x1a
128307+ RTA_IP_PROTO = 0x1b
128308+ RTA_SPORT = 0x1c
128309+ RTA_DPORT = 0x1d
128310+ RTN_UNSPEC = 0x0
128311+ RTN_UNICAST = 0x1
128312+ RTN_LOCAL = 0x2
128313+ RTN_BROADCAST = 0x3
128314+ RTN_ANYCAST = 0x4
128315+ RTN_MULTICAST = 0x5
128316+ RTN_BLACKHOLE = 0x6
128317+ RTN_UNREACHABLE = 0x7
128318+ RTN_PROHIBIT = 0x8
128319+ RTN_THROW = 0x9
128320+ RTN_NAT = 0xa
128321+ RTN_XRESOLVE = 0xb
128322+ SizeofNlMsghdr = 0x10
128323+ SizeofNlMsgerr = 0x14
128324+ SizeofRtGenmsg = 0x1
128325+ SizeofNlAttr = 0x4
128326+ SizeofRtAttr = 0x4
128327+ SizeofIfInfomsg = 0x10
128328+ SizeofIfAddrmsg = 0x8
128329+ SizeofIfaCacheinfo = 0x10
128330+ SizeofRtMsg = 0xc
128331+ SizeofRtNexthop = 0x8
128332+ SizeofNdUseroptmsg = 0x10
128333+ SizeofNdMsg = 0xc
128334+)
128335+
128336+type NlMsghdr struct {
128337+ Len uint32
128338+ Type uint16
128339+ Flags uint16
128340+ Seq uint32
128341+ Pid uint32
128342+}
128343+
128344+type NlMsgerr struct {
128345+ Error int32
128346+ Msg NlMsghdr
128347+}
128348+
128349+type RtGenmsg struct {
128350+ Family uint8
128351+}
128352+
128353+type NlAttr struct {
128354+ Len uint16
128355+ Type uint16
128356+}
128357+
128358+type RtAttr struct {
128359+ Len uint16
128360+ Type uint16
128361+}
128362+
128363+type IfInfomsg struct {
128364+ Family uint8
128365+ _ uint8
128366+ Type uint16
128367+ Index int32
128368+ Flags uint32
128369+ Change uint32
128370+}
128371+
128372+type IfAddrmsg struct {
128373+ Family uint8
128374+ Prefixlen uint8
128375+ Flags uint8
128376+ Scope uint8
128377+ Index uint32
128378+}
128379+
128380+type IfaCacheinfo struct {
128381+ Prefered uint32
128382+ Valid uint32
128383+ Cstamp uint32
128384+ Tstamp uint32
128385+}
128386+
128387+type RtMsg struct {
128388+ Family uint8
128389+ Dst_len uint8
128390+ Src_len uint8
128391+ Tos uint8
128392+ Table uint8
128393+ Protocol uint8
128394+ Scope uint8
128395+ Type uint8
128396+ Flags uint32
128397+}
128398+
128399+type RtNexthop struct {
128400+ Len uint16
128401+ Flags uint8
128402+ Hops uint8
128403+ Ifindex int32
128404+}
128405+
128406+type NdUseroptmsg struct {
128407+ Family uint8
128408+ Pad1 uint8
128409+ Opts_len uint16
128410+ Ifindex int32
128411+ Icmp_type uint8
128412+ Icmp_code uint8
128413+ Pad2 uint16
128414+ Pad3 uint32
128415+}
128416+
128417+type NdMsg struct {
128418+ Family uint8
128419+ Pad1 uint8
128420+ Pad2 uint16
128421+ Ifindex int32
128422+ State uint16
128423+ Flags uint8
128424+ Type uint8
128425+}
128426+
128427+const (
128428+ SizeofSockFilter = 0x8
128429+)
128430+
128431+type SockFilter struct {
128432+ Code uint16
128433+ Jt uint8
128434+ Jf uint8
128435+ K uint32
128436+}
128437+
128438+type SockFprog struct {
128439+ Len uint16
128440+ Filter *SockFilter
128441+}
128442+
128443+type InotifyEvent struct {
128444+ Wd int32
128445+ Mask uint32
128446+ Cookie uint32
128447+ Len uint32
128448+}
128449+
128450+const SizeofInotifyEvent = 0x10
128451+
128452+type Utsname struct {
128453+ Sysname [65]byte
128454+ Nodename [65]byte
128455+ Release [65]byte
128456+ Version [65]byte
128457+ Machine [65]byte
128458+ Domainname [65]byte
128459+}
128460+
128461+const (
128462+ AT_EMPTY_PATH = 0x1000
128463+ AT_FDCWD = -0x64
128464+ AT_NO_AUTOMOUNT = 0x800
128465+ AT_REMOVEDIR = 0x200
128466+
128467+ AT_STATX_SYNC_AS_STAT = 0x0
128468+ AT_STATX_FORCE_SYNC = 0x2000
128469+ AT_STATX_DONT_SYNC = 0x4000
128470+
128471+ AT_SYMLINK_FOLLOW = 0x400
128472+ AT_SYMLINK_NOFOLLOW = 0x100
128473+
128474+ AT_EACCESS = 0x200
128475+)
128476+
128477+type PollFd struct {
128478+ Fd int32
128479+ Events int16
128480+ Revents int16
128481+}
128482+
128483+const (
128484+ POLLIN = 0x1
128485+ POLLPRI = 0x2
128486+ POLLOUT = 0x4
128487+ POLLERR = 0x8
128488+ POLLHUP = 0x10
128489+ POLLNVAL = 0x20
128490+)
128491+
128492+type SignalfdSiginfo struct {
128493+ Signo uint32
128494+ Errno int32
128495+ Code int32
128496+ Pid uint32
128497+ Uid uint32
128498+ Fd int32
128499+ Tid uint32
128500+ Band uint32
128501+ Overrun uint32
128502+ Trapno uint32
128503+ Status int32
128504+ Int int32
128505+ Ptr uint64
128506+ Utime uint64
128507+ Stime uint64
128508+ Addr uint64
128509+ Addr_lsb uint16
128510+ _ uint16
128511+ Syscall int32
128512+ Call_addr uint64
128513+ Arch uint32
128514+ _ [28]uint8
128515+}
128516+
128517+const PERF_IOC_FLAG_GROUP = 0x1
128518+
128519+type Winsize struct {
128520+ Row uint16
128521+ Col uint16
128522+ Xpixel uint16
128523+ Ypixel uint16
128524+}
128525+
128526+const (
128527+ TASKSTATS_CMD_UNSPEC = 0x0
128528+ TASKSTATS_CMD_GET = 0x1
128529+ TASKSTATS_CMD_NEW = 0x2
128530+ TASKSTATS_TYPE_UNSPEC = 0x0
128531+ TASKSTATS_TYPE_PID = 0x1
128532+ TASKSTATS_TYPE_TGID = 0x2
128533+ TASKSTATS_TYPE_STATS = 0x3
128534+ TASKSTATS_TYPE_AGGR_PID = 0x4
128535+ TASKSTATS_TYPE_AGGR_TGID = 0x5
128536+ TASKSTATS_TYPE_NULL = 0x6
128537+ TASKSTATS_CMD_ATTR_UNSPEC = 0x0
128538+ TASKSTATS_CMD_ATTR_PID = 0x1
128539+ TASKSTATS_CMD_ATTR_TGID = 0x2
128540+ TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 0x3
128541+ TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4
128542+)
128543+
128544+type CGroupStats struct {
128545+ Sleeping uint64
128546+ Running uint64
128547+ Stopped uint64
128548+ Uninterruptible uint64
128549+ Io_wait uint64
128550+}
128551+
128552+const (
128553+ CGROUPSTATS_CMD_UNSPEC = 0x3
128554+ CGROUPSTATS_CMD_GET = 0x4
128555+ CGROUPSTATS_CMD_NEW = 0x5
128556+ CGROUPSTATS_TYPE_UNSPEC = 0x0
128557+ CGROUPSTATS_TYPE_CGROUP_STATS = 0x1
128558+ CGROUPSTATS_CMD_ATTR_UNSPEC = 0x0
128559+ CGROUPSTATS_CMD_ATTR_FD = 0x1
128560+)
128561+
128562+type Genlmsghdr struct {
128563+ Cmd uint8
128564+ Version uint8
128565+ Reserved uint16
128566+}
128567+
128568+const (
128569+ CTRL_CMD_UNSPEC = 0x0
128570+ CTRL_CMD_NEWFAMILY = 0x1
128571+ CTRL_CMD_DELFAMILY = 0x2
128572+ CTRL_CMD_GETFAMILY = 0x3
128573+ CTRL_CMD_NEWOPS = 0x4
128574+ CTRL_CMD_DELOPS = 0x5
128575+ CTRL_CMD_GETOPS = 0x6
128576+ CTRL_CMD_NEWMCAST_GRP = 0x7
128577+ CTRL_CMD_DELMCAST_GRP = 0x8
128578+ CTRL_CMD_GETMCAST_GRP = 0x9
128579+ CTRL_ATTR_UNSPEC = 0x0
128580+ CTRL_ATTR_FAMILY_ID = 0x1
128581+ CTRL_ATTR_FAMILY_NAME = 0x2
128582+ CTRL_ATTR_VERSION = 0x3
128583+ CTRL_ATTR_HDRSIZE = 0x4
128584+ CTRL_ATTR_MAXATTR = 0x5
128585+ CTRL_ATTR_OPS = 0x6
128586+ CTRL_ATTR_MCAST_GROUPS = 0x7
128587+ CTRL_ATTR_OP_UNSPEC = 0x0
128588+ CTRL_ATTR_OP_ID = 0x1
128589+ CTRL_ATTR_OP_FLAGS = 0x2
128590+ CTRL_ATTR_MCAST_GRP_UNSPEC = 0x0
128591+ CTRL_ATTR_MCAST_GRP_NAME = 0x1
128592+ CTRL_ATTR_MCAST_GRP_ID = 0x2
128593+)
128594+
128595+const (
128596+ _CPU_SETSIZE = 0x400
128597+)
128598+
128599+const (
128600+ BDADDR_BREDR = 0x0
128601+ BDADDR_LE_PUBLIC = 0x1
128602+ BDADDR_LE_RANDOM = 0x2
128603+)
128604+
128605+type PerfEventAttr struct {
128606+ Type uint32
128607+ Size uint32
128608+ Config uint64
128609+ Sample uint64
128610+ Sample_type uint64
128611+ Read_format uint64
128612+ Bits uint64
128613+ Wakeup uint32
128614+ Bp_type uint32
128615+ Ext1 uint64
128616+ Ext2 uint64
128617+ Branch_sample_type uint64
128618+ Sample_regs_user uint64
128619+ Sample_stack_user uint32
128620+ Clockid int32
128621+ Sample_regs_intr uint64
128622+ Aux_watermark uint32
128623+ Sample_max_stack uint16
128624+ _ uint16
128625+}
128626+
128627+type PerfEventMmapPage struct {
128628+ Version uint32
128629+ Compat_version uint32
128630+ Lock uint32
128631+ Index uint32
128632+ Offset int64
128633+ Time_enabled uint64
128634+ Time_running uint64
128635+ Capabilities uint64
128636+ Pmc_width uint16
128637+ Time_shift uint16
128638+ Time_mult uint32
128639+ Time_offset uint64
128640+ Time_zero uint64
128641+ Size uint32
128642+ _ [948]uint8
128643+ Data_head uint64
128644+ Data_tail uint64
128645+ Data_offset uint64
128646+ Data_size uint64
128647+ Aux_head uint64
128648+ Aux_tail uint64
128649+ Aux_offset uint64
128650+ Aux_size uint64
128651+}
128652+
128653+const (
128654+ PerfBitDisabled uint64 = CBitFieldMaskBit0
128655+ PerfBitInherit = CBitFieldMaskBit1
128656+ PerfBitPinned = CBitFieldMaskBit2
128657+ PerfBitExclusive = CBitFieldMaskBit3
128658+ PerfBitExcludeUser = CBitFieldMaskBit4
128659+ PerfBitExcludeKernel = CBitFieldMaskBit5
128660+ PerfBitExcludeHv = CBitFieldMaskBit6
128661+ PerfBitExcludeIdle = CBitFieldMaskBit7
128662+ PerfBitMmap = CBitFieldMaskBit8
128663+ PerfBitComm = CBitFieldMaskBit9
128664+ PerfBitFreq = CBitFieldMaskBit10
128665+ PerfBitInheritStat = CBitFieldMaskBit11
128666+ PerfBitEnableOnExec = CBitFieldMaskBit12
128667+ PerfBitTask = CBitFieldMaskBit13
128668+ PerfBitWatermark = CBitFieldMaskBit14
128669+ PerfBitPreciseIPBit1 = CBitFieldMaskBit15
128670+ PerfBitPreciseIPBit2 = CBitFieldMaskBit16
128671+ PerfBitMmapData = CBitFieldMaskBit17
128672+ PerfBitSampleIDAll = CBitFieldMaskBit18
128673+ PerfBitExcludeHost = CBitFieldMaskBit19
128674+ PerfBitExcludeGuest = CBitFieldMaskBit20
128675+ PerfBitExcludeCallchainKernel = CBitFieldMaskBit21
128676+ PerfBitExcludeCallchainUser = CBitFieldMaskBit22
128677+ PerfBitMmap2 = CBitFieldMaskBit23
128678+ PerfBitCommExec = CBitFieldMaskBit24
128679+ PerfBitUseClockID = CBitFieldMaskBit25
128680+ PerfBitContextSwitch = CBitFieldMaskBit26
128681+)
128682+
128683+const (
128684+ PERF_TYPE_HARDWARE = 0x0
128685+ PERF_TYPE_SOFTWARE = 0x1
128686+ PERF_TYPE_TRACEPOINT = 0x2
128687+ PERF_TYPE_HW_CACHE = 0x3
128688+ PERF_TYPE_RAW = 0x4
128689+ PERF_TYPE_BREAKPOINT = 0x5
128690+
128691+ PERF_COUNT_HW_CPU_CYCLES = 0x0
128692+ PERF_COUNT_HW_INSTRUCTIONS = 0x1
128693+ PERF_COUNT_HW_CACHE_REFERENCES = 0x2
128694+ PERF_COUNT_HW_CACHE_MISSES = 0x3
128695+ PERF_COUNT_HW_BRANCH_INSTRUCTIONS = 0x4
128696+ PERF_COUNT_HW_BRANCH_MISSES = 0x5
128697+ PERF_COUNT_HW_BUS_CYCLES = 0x6
128698+ PERF_COUNT_HW_STALLED_CYCLES_FRONTEND = 0x7
128699+ PERF_COUNT_HW_STALLED_CYCLES_BACKEND = 0x8
128700+ PERF_COUNT_HW_REF_CPU_CYCLES = 0x9
128701+
128702+ PERF_COUNT_HW_CACHE_L1D = 0x0
128703+ PERF_COUNT_HW_CACHE_L1I = 0x1
128704+ PERF_COUNT_HW_CACHE_LL = 0x2
128705+ PERF_COUNT_HW_CACHE_DTLB = 0x3
128706+ PERF_COUNT_HW_CACHE_ITLB = 0x4
128707+ PERF_COUNT_HW_CACHE_BPU = 0x5
128708+ PERF_COUNT_HW_CACHE_NODE = 0x6
128709+
128710+ PERF_COUNT_HW_CACHE_OP_READ = 0x0
128711+ PERF_COUNT_HW_CACHE_OP_WRITE = 0x1
128712+ PERF_COUNT_HW_CACHE_OP_PREFETCH = 0x2
128713+
128714+ PERF_COUNT_HW_CACHE_RESULT_ACCESS = 0x0
128715+ PERF_COUNT_HW_CACHE_RESULT_MISS = 0x1
128716+
128717+ PERF_COUNT_SW_CPU_CLOCK = 0x0
128718+ PERF_COUNT_SW_TASK_CLOCK = 0x1
128719+ PERF_COUNT_SW_PAGE_FAULTS = 0x2
128720+ PERF_COUNT_SW_CONTEXT_SWITCHES = 0x3
128721+ PERF_COUNT_SW_CPU_MIGRATIONS = 0x4
128722+ PERF_COUNT_SW_PAGE_FAULTS_MIN = 0x5
128723+ PERF_COUNT_SW_PAGE_FAULTS_MAJ = 0x6
128724+ PERF_COUNT_SW_ALIGNMENT_FAULTS = 0x7
128725+ PERF_COUNT_SW_EMULATION_FAULTS = 0x8
128726+ PERF_COUNT_SW_DUMMY = 0x9
128727+ PERF_COUNT_SW_BPF_OUTPUT = 0xa
128728+
128729+ PERF_SAMPLE_IP = 0x1
128730+ PERF_SAMPLE_TID = 0x2
128731+ PERF_SAMPLE_TIME = 0x4
128732+ PERF_SAMPLE_ADDR = 0x8
128733+ PERF_SAMPLE_READ = 0x10
128734+ PERF_SAMPLE_CALLCHAIN = 0x20
128735+ PERF_SAMPLE_ID = 0x40
128736+ PERF_SAMPLE_CPU = 0x80
128737+ PERF_SAMPLE_PERIOD = 0x100
128738+ PERF_SAMPLE_STREAM_ID = 0x200
128739+ PERF_SAMPLE_RAW = 0x400
128740+ PERF_SAMPLE_BRANCH_STACK = 0x800
128741+
128742+ PERF_SAMPLE_BRANCH_USER = 0x1
128743+ PERF_SAMPLE_BRANCH_KERNEL = 0x2
128744+ PERF_SAMPLE_BRANCH_HV = 0x4
128745+ PERF_SAMPLE_BRANCH_ANY = 0x8
128746+ PERF_SAMPLE_BRANCH_ANY_CALL = 0x10
128747+ PERF_SAMPLE_BRANCH_ANY_RETURN = 0x20
128748+ PERF_SAMPLE_BRANCH_IND_CALL = 0x40
128749+ PERF_SAMPLE_BRANCH_ABORT_TX = 0x80
128750+ PERF_SAMPLE_BRANCH_IN_TX = 0x100
128751+ PERF_SAMPLE_BRANCH_NO_TX = 0x200
128752+ PERF_SAMPLE_BRANCH_COND = 0x400
128753+ PERF_SAMPLE_BRANCH_CALL_STACK = 0x800
128754+ PERF_SAMPLE_BRANCH_IND_JUMP = 0x1000
128755+ PERF_SAMPLE_BRANCH_CALL = 0x2000
128756+ PERF_SAMPLE_BRANCH_NO_FLAGS = 0x4000
128757+ PERF_SAMPLE_BRANCH_NO_CYCLES = 0x8000
128758+ PERF_SAMPLE_BRANCH_TYPE_SAVE = 0x10000
128759+
128760+ PERF_FORMAT_TOTAL_TIME_ENABLED = 0x1
128761+ PERF_FORMAT_TOTAL_TIME_RUNNING = 0x2
128762+ PERF_FORMAT_ID = 0x4
128763+ PERF_FORMAT_GROUP = 0x8
128764+
128765+ PERF_RECORD_MMAP = 0x1
128766+ PERF_RECORD_LOST = 0x2
128767+ PERF_RECORD_COMM = 0x3
128768+ PERF_RECORD_EXIT = 0x4
128769+ PERF_RECORD_THROTTLE = 0x5
128770+ PERF_RECORD_UNTHROTTLE = 0x6
128771+ PERF_RECORD_FORK = 0x7
128772+ PERF_RECORD_READ = 0x8
128773+ PERF_RECORD_SAMPLE = 0x9
128774+ PERF_RECORD_MMAP2 = 0xa
128775+ PERF_RECORD_AUX = 0xb
128776+ PERF_RECORD_ITRACE_START = 0xc
128777+ PERF_RECORD_LOST_SAMPLES = 0xd
128778+ PERF_RECORD_SWITCH = 0xe
128779+ PERF_RECORD_SWITCH_CPU_WIDE = 0xf
128780+ PERF_RECORD_NAMESPACES = 0x10
128781+
128782+ PERF_CONTEXT_HV = -0x20
128783+ PERF_CONTEXT_KERNEL = -0x80
128784+ PERF_CONTEXT_USER = -0x200
128785+
128786+ PERF_CONTEXT_GUEST = -0x800
128787+ PERF_CONTEXT_GUEST_KERNEL = -0x880
128788+ PERF_CONTEXT_GUEST_USER = -0xa00
128789+
128790+ PERF_FLAG_FD_NO_GROUP = 0x1
128791+ PERF_FLAG_FD_OUTPUT = 0x2
128792+ PERF_FLAG_PID_CGROUP = 0x4
128793+ PERF_FLAG_FD_CLOEXEC = 0x8
128794+)
128795+
128796+type TCPMD5Sig struct {
128797+ Addr SockaddrStorage
128798+ Flags uint8
128799+ Prefixlen uint8
128800+ Keylen uint16
128801+ _ uint32
128802+ Key [80]uint8
128803+}
128804+
128805+type HDDriveCmdHdr struct {
128806+ Command uint8
128807+ Number uint8
128808+ Feature uint8
128809+ Count uint8
128810+}
128811+
128812+type HDDriveID struct {
128813+ Config uint16
128814+ Cyls uint16
128815+ Reserved2 uint16
128816+ Heads uint16
128817+ Track_bytes uint16
128818+ Sector_bytes uint16
128819+ Sectors uint16
128820+ Vendor0 uint16
128821+ Vendor1 uint16
128822+ Vendor2 uint16
128823+ Serial_no [20]uint8
128824+ Buf_type uint16
128825+ Buf_size uint16
128826+ Ecc_bytes uint16
128827+ Fw_rev [8]uint8
128828+ Model [40]uint8
128829+ Max_multsect uint8
128830+ Vendor3 uint8
128831+ Dword_io uint16
128832+ Vendor4 uint8
128833+ Capability uint8
128834+ Reserved50 uint16
128835+ Vendor5 uint8
128836+ TPIO uint8
128837+ Vendor6 uint8
128838+ TDMA uint8
128839+ Field_valid uint16
128840+ Cur_cyls uint16
128841+ Cur_heads uint16
128842+ Cur_sectors uint16
128843+ Cur_capacity0 uint16
128844+ Cur_capacity1 uint16
128845+ Multsect uint8
128846+ Multsect_valid uint8
128847+ Lba_capacity uint32
128848+ Dma_1word uint16
128849+ Dma_mword uint16
128850+ Eide_pio_modes uint16
128851+ Eide_dma_min uint16
128852+ Eide_dma_time uint16
128853+ Eide_pio uint16
128854+ Eide_pio_iordy uint16
128855+ Words69_70 [2]uint16
128856+ Words71_74 [4]uint16
128857+ Queue_depth uint16
128858+ Words76_79 [4]uint16
128859+ Major_rev_num uint16
128860+ Minor_rev_num uint16
128861+ Command_set_1 uint16
128862+ Command_set_2 uint16
128863+ Cfsse uint16
128864+ Cfs_enable_1 uint16
128865+ Cfs_enable_2 uint16
128866+ Csf_default uint16
128867+ Dma_ultra uint16
128868+ Trseuc uint16
128869+ TrsEuc uint16
128870+ CurAPMvalues uint16
128871+ Mprc uint16
128872+ Hw_config uint16
128873+ Acoustic uint16
128874+ Msrqs uint16
128875+ Sxfert uint16
128876+ Sal uint16
128877+ Spg uint32
128878+ Lba_capacity_2 uint64
128879+ Words104_125 [22]uint16
128880+ Last_lun uint16
128881+ Word127 uint16
128882+ Dlf uint16
128883+ Csfo uint16
128884+ Words130_155 [26]uint16
128885+ Word156 uint16
128886+ Words157_159 [3]uint16
128887+ Cfa_power uint16
128888+ Words161_175 [15]uint16
128889+ Words176_205 [30]uint16
128890+ Words206_254 [49]uint16
128891+ Integrity_word uint16
128892+}
128893+
128894+const (
128895+ ST_MANDLOCK = 0x40
128896+ ST_NOATIME = 0x400
128897+ ST_NODEV = 0x4
128898+ ST_NODIRATIME = 0x800
128899+ ST_NOEXEC = 0x8
128900+ ST_NOSUID = 0x2
128901+ ST_RDONLY = 0x1
128902+ ST_RELATIME = 0x1000
128903+ ST_SYNCHRONOUS = 0x10
128904+)
128905+
128906+type Tpacket2Hdr struct {
128907+ Status uint32
128908+ Len uint32
128909+ Snaplen uint32
128910+ Mac uint16
128911+ Net uint16
128912+ Sec uint32
128913+ Nsec uint32
128914+ Vlan_tci uint16
128915+ Vlan_tpid uint16
128916+ _ [4]uint8
128917+}
128918+
128919+type Tpacket3Hdr struct {
128920+ Next_offset uint32
128921+ Sec uint32
128922+ Nsec uint32
128923+ Snaplen uint32
128924+ Len uint32
128925+ Status uint32
128926+ Mac uint16
128927+ Net uint16
128928+ Hv1 TpacketHdrVariant1
128929+ _ [8]uint8
128930+}
128931+
128932+type TpacketHdrVariant1 struct {
128933+ Rxhash uint32
128934+ Vlan_tci uint32
128935+ Vlan_tpid uint16
128936+ _ uint16
128937+}
128938+
128939+type TpacketBlockDesc struct {
128940+ Version uint32
128941+ To_priv uint32
128942+ Hdr [40]byte
128943+}
128944+
128945+type TpacketBDTS struct {
128946+ Sec uint32
128947+ Usec uint32
128948+}
128949+
128950+type TpacketHdrV1 struct {
128951+ Block_status uint32
128952+ Num_pkts uint32
128953+ Offset_to_first_pkt uint32
128954+ Blk_len uint32
128955+ Seq_num uint64
128956+ Ts_first_pkt TpacketBDTS
128957+ Ts_last_pkt TpacketBDTS
128958+}
128959+
128960+type TpacketReq struct {
128961+ Block_size uint32
128962+ Block_nr uint32
128963+ Frame_size uint32
128964+ Frame_nr uint32
128965+}
128966+
128967+type TpacketReq3 struct {
128968+ Block_size uint32
128969+ Block_nr uint32
128970+ Frame_size uint32
128971+ Frame_nr uint32
128972+ Retire_blk_tov uint32
128973+ Sizeof_priv uint32
128974+ Feature_req_word uint32
128975+}
128976+
128977+type TpacketStats struct {
128978+ Packets uint32
128979+ Drops uint32
128980+}
128981+
128982+type TpacketStatsV3 struct {
128983+ Packets uint32
128984+ Drops uint32
128985+ Freeze_q_cnt uint32
128986+}
128987+
128988+type TpacketAuxdata struct {
128989+ Status uint32
128990+ Len uint32
128991+ Snaplen uint32
128992+ Mac uint16
128993+ Net uint16
128994+ Vlan_tci uint16
128995+ Vlan_tpid uint16
128996+}
128997+
128998+const (
128999+ TPACKET_V1 = 0x0
129000+ TPACKET_V2 = 0x1
129001+ TPACKET_V3 = 0x2
129002+)
129003+
129004+const (
129005+ SizeofTpacket2Hdr = 0x20
129006+ SizeofTpacket3Hdr = 0x30
129007+
129008+ SizeofTpacketStats = 0x8
129009+ SizeofTpacketStatsV3 = 0xc
129010+)
129011+
129012+const (
129013+ NF_INET_PRE_ROUTING = 0x0
129014+ NF_INET_LOCAL_IN = 0x1
129015+ NF_INET_FORWARD = 0x2
129016+ NF_INET_LOCAL_OUT = 0x3
129017+ NF_INET_POST_ROUTING = 0x4
129018+ NF_INET_NUMHOOKS = 0x5
129019+)
129020+
129021+const (
129022+ NF_NETDEV_INGRESS = 0x0
129023+ NF_NETDEV_NUMHOOKS = 0x1
129024+)
129025+
129026+const (
129027+ NFPROTO_UNSPEC = 0x0
129028+ NFPROTO_INET = 0x1
129029+ NFPROTO_IPV4 = 0x2
129030+ NFPROTO_ARP = 0x3
129031+ NFPROTO_NETDEV = 0x5
129032+ NFPROTO_BRIDGE = 0x7
129033+ NFPROTO_IPV6 = 0xa
129034+ NFPROTO_DECNET = 0xc
129035+ NFPROTO_NUMPROTO = 0xd
129036+)
129037+
129038+type Nfgenmsg struct {
129039+ Nfgen_family uint8
129040+ Version uint8
129041+ Res_id uint16
129042+}
129043+
129044+const (
129045+ NFNL_BATCH_UNSPEC = 0x0
129046+ NFNL_BATCH_GENID = 0x1
129047+)
129048+
129049+const (
129050+ NFT_REG_VERDICT = 0x0
129051+ NFT_REG_1 = 0x1
129052+ NFT_REG_2 = 0x2
129053+ NFT_REG_3 = 0x3
129054+ NFT_REG_4 = 0x4
129055+ NFT_REG32_00 = 0x8
129056+ NFT_REG32_01 = 0x9
129057+ NFT_REG32_02 = 0xa
129058+ NFT_REG32_03 = 0xb
129059+ NFT_REG32_04 = 0xc
129060+ NFT_REG32_05 = 0xd
129061+ NFT_REG32_06 = 0xe
129062+ NFT_REG32_07 = 0xf
129063+ NFT_REG32_08 = 0x10
129064+ NFT_REG32_09 = 0x11
129065+ NFT_REG32_10 = 0x12
129066+ NFT_REG32_11 = 0x13
129067+ NFT_REG32_12 = 0x14
129068+ NFT_REG32_13 = 0x15
129069+ NFT_REG32_14 = 0x16
129070+ NFT_REG32_15 = 0x17
129071+ NFT_CONTINUE = -0x1
129072+ NFT_BREAK = -0x2
129073+ NFT_JUMP = -0x3
129074+ NFT_GOTO = -0x4
129075+ NFT_RETURN = -0x5
129076+ NFT_MSG_NEWTABLE = 0x0
129077+ NFT_MSG_GETTABLE = 0x1
129078+ NFT_MSG_DELTABLE = 0x2
129079+ NFT_MSG_NEWCHAIN = 0x3
129080+ NFT_MSG_GETCHAIN = 0x4
129081+ NFT_MSG_DELCHAIN = 0x5
129082+ NFT_MSG_NEWRULE = 0x6
129083+ NFT_MSG_GETRULE = 0x7
129084+ NFT_MSG_DELRULE = 0x8
129085+ NFT_MSG_NEWSET = 0x9
129086+ NFT_MSG_GETSET = 0xa
129087+ NFT_MSG_DELSET = 0xb
129088+ NFT_MSG_NEWSETELEM = 0xc
129089+ NFT_MSG_GETSETELEM = 0xd
129090+ NFT_MSG_DELSETELEM = 0xe
129091+ NFT_MSG_NEWGEN = 0xf
129092+ NFT_MSG_GETGEN = 0x10
129093+ NFT_MSG_TRACE = 0x11
129094+ NFT_MSG_NEWOBJ = 0x12
129095+ NFT_MSG_GETOBJ = 0x13
129096+ NFT_MSG_DELOBJ = 0x14
129097+ NFT_MSG_GETOBJ_RESET = 0x15
129098+ NFT_MSG_MAX = 0x19
129099+ NFTA_LIST_UNPEC = 0x0
129100+ NFTA_LIST_ELEM = 0x1
129101+ NFTA_HOOK_UNSPEC = 0x0
129102+ NFTA_HOOK_HOOKNUM = 0x1
129103+ NFTA_HOOK_PRIORITY = 0x2
129104+ NFTA_HOOK_DEV = 0x3
129105+ NFT_TABLE_F_DORMANT = 0x1
129106+ NFTA_TABLE_UNSPEC = 0x0
129107+ NFTA_TABLE_NAME = 0x1
129108+ NFTA_TABLE_FLAGS = 0x2
129109+ NFTA_TABLE_USE = 0x3
129110+ NFTA_CHAIN_UNSPEC = 0x0
129111+ NFTA_CHAIN_TABLE = 0x1
129112+ NFTA_CHAIN_HANDLE = 0x2
129113+ NFTA_CHAIN_NAME = 0x3
129114+ NFTA_CHAIN_HOOK = 0x4
129115+ NFTA_CHAIN_POLICY = 0x5
129116+ NFTA_CHAIN_USE = 0x6
129117+ NFTA_CHAIN_TYPE = 0x7
129118+ NFTA_CHAIN_COUNTERS = 0x8
129119+ NFTA_CHAIN_PAD = 0x9
129120+ NFTA_RULE_UNSPEC = 0x0
129121+ NFTA_RULE_TABLE = 0x1
129122+ NFTA_RULE_CHAIN = 0x2
129123+ NFTA_RULE_HANDLE = 0x3
129124+ NFTA_RULE_EXPRESSIONS = 0x4
129125+ NFTA_RULE_COMPAT = 0x5
129126+ NFTA_RULE_POSITION = 0x6
129127+ NFTA_RULE_USERDATA = 0x7
129128+ NFTA_RULE_PAD = 0x8
129129+ NFTA_RULE_ID = 0x9
129130+ NFT_RULE_COMPAT_F_INV = 0x2
129131+ NFT_RULE_COMPAT_F_MASK = 0x2
129132+ NFTA_RULE_COMPAT_UNSPEC = 0x0
129133+ NFTA_RULE_COMPAT_PROTO = 0x1
129134+ NFTA_RULE_COMPAT_FLAGS = 0x2
129135+ NFT_SET_ANONYMOUS = 0x1
129136+ NFT_SET_CONSTANT = 0x2
129137+ NFT_SET_INTERVAL = 0x4
129138+ NFT_SET_MAP = 0x8
129139+ NFT_SET_TIMEOUT = 0x10
129140+ NFT_SET_EVAL = 0x20
129141+ NFT_SET_OBJECT = 0x40
129142+ NFT_SET_POL_PERFORMANCE = 0x0
129143+ NFT_SET_POL_MEMORY = 0x1
129144+ NFTA_SET_DESC_UNSPEC = 0x0
129145+ NFTA_SET_DESC_SIZE = 0x1
129146+ NFTA_SET_UNSPEC = 0x0
129147+ NFTA_SET_TABLE = 0x1
129148+ NFTA_SET_NAME = 0x2
129149+ NFTA_SET_FLAGS = 0x3
129150+ NFTA_SET_KEY_TYPE = 0x4
129151+ NFTA_SET_KEY_LEN = 0x5
129152+ NFTA_SET_DATA_TYPE = 0x6
129153+ NFTA_SET_DATA_LEN = 0x7
129154+ NFTA_SET_POLICY = 0x8
129155+ NFTA_SET_DESC = 0x9
129156+ NFTA_SET_ID = 0xa
129157+ NFTA_SET_TIMEOUT = 0xb
129158+ NFTA_SET_GC_INTERVAL = 0xc
129159+ NFTA_SET_USERDATA = 0xd
129160+ NFTA_SET_PAD = 0xe
129161+ NFTA_SET_OBJ_TYPE = 0xf
129162+ NFT_SET_ELEM_INTERVAL_END = 0x1
129163+ NFTA_SET_ELEM_UNSPEC = 0x0
129164+ NFTA_SET_ELEM_KEY = 0x1
129165+ NFTA_SET_ELEM_DATA = 0x2
129166+ NFTA_SET_ELEM_FLAGS = 0x3
129167+ NFTA_SET_ELEM_TIMEOUT = 0x4
129168+ NFTA_SET_ELEM_EXPIRATION = 0x5
129169+ NFTA_SET_ELEM_USERDATA = 0x6
129170+ NFTA_SET_ELEM_EXPR = 0x7
129171+ NFTA_SET_ELEM_PAD = 0x8
129172+ NFTA_SET_ELEM_OBJREF = 0x9
129173+ NFTA_SET_ELEM_LIST_UNSPEC = 0x0
129174+ NFTA_SET_ELEM_LIST_TABLE = 0x1
129175+ NFTA_SET_ELEM_LIST_SET = 0x2
129176+ NFTA_SET_ELEM_LIST_ELEMENTS = 0x3
129177+ NFTA_SET_ELEM_LIST_SET_ID = 0x4
129178+ NFT_DATA_VALUE = 0x0
129179+ NFT_DATA_VERDICT = 0xffffff00
129180+ NFTA_DATA_UNSPEC = 0x0
129181+ NFTA_DATA_VALUE = 0x1
129182+ NFTA_DATA_VERDICT = 0x2
129183+ NFTA_VERDICT_UNSPEC = 0x0
129184+ NFTA_VERDICT_CODE = 0x1
129185+ NFTA_VERDICT_CHAIN = 0x2
129186+ NFTA_EXPR_UNSPEC = 0x0
129187+ NFTA_EXPR_NAME = 0x1
129188+ NFTA_EXPR_DATA = 0x2
129189+ NFTA_IMMEDIATE_UNSPEC = 0x0
129190+ NFTA_IMMEDIATE_DREG = 0x1
129191+ NFTA_IMMEDIATE_DATA = 0x2
129192+ NFTA_BITWISE_UNSPEC = 0x0
129193+ NFTA_BITWISE_SREG = 0x1
129194+ NFTA_BITWISE_DREG = 0x2
129195+ NFTA_BITWISE_LEN = 0x3
129196+ NFTA_BITWISE_MASK = 0x4
129197+ NFTA_BITWISE_XOR = 0x5
129198+ NFT_BYTEORDER_NTOH = 0x0
129199+ NFT_BYTEORDER_HTON = 0x1
129200+ NFTA_BYTEORDER_UNSPEC = 0x0
129201+ NFTA_BYTEORDER_SREG = 0x1
129202+ NFTA_BYTEORDER_DREG = 0x2
129203+ NFTA_BYTEORDER_OP = 0x3
129204+ NFTA_BYTEORDER_LEN = 0x4
129205+ NFTA_BYTEORDER_SIZE = 0x5
129206+ NFT_CMP_EQ = 0x0
129207+ NFT_CMP_NEQ = 0x1
129208+ NFT_CMP_LT = 0x2
129209+ NFT_CMP_LTE = 0x3
129210+ NFT_CMP_GT = 0x4
129211+ NFT_CMP_GTE = 0x5
129212+ NFTA_CMP_UNSPEC = 0x0
129213+ NFTA_CMP_SREG = 0x1
129214+ NFTA_CMP_OP = 0x2
129215+ NFTA_CMP_DATA = 0x3
129216+ NFT_RANGE_EQ = 0x0
129217+ NFT_RANGE_NEQ = 0x1
129218+ NFTA_RANGE_UNSPEC = 0x0
129219+ NFTA_RANGE_SREG = 0x1
129220+ NFTA_RANGE_OP = 0x2
129221+ NFTA_RANGE_FROM_DATA = 0x3
129222+ NFTA_RANGE_TO_DATA = 0x4
129223+ NFT_LOOKUP_F_INV = 0x1
129224+ NFTA_LOOKUP_UNSPEC = 0x0
129225+ NFTA_LOOKUP_SET = 0x1
129226+ NFTA_LOOKUP_SREG = 0x2
129227+ NFTA_LOOKUP_DREG = 0x3
129228+ NFTA_LOOKUP_SET_ID = 0x4
129229+ NFTA_LOOKUP_FLAGS = 0x5
129230+ NFT_DYNSET_OP_ADD = 0x0
129231+ NFT_DYNSET_OP_UPDATE = 0x1
129232+ NFT_DYNSET_F_INV = 0x1
129233+ NFTA_DYNSET_UNSPEC = 0x0
129234+ NFTA_DYNSET_SET_NAME = 0x1
129235+ NFTA_DYNSET_SET_ID = 0x2
129236+ NFTA_DYNSET_OP = 0x3
129237+ NFTA_DYNSET_SREG_KEY = 0x4
129238+ NFTA_DYNSET_SREG_DATA = 0x5
129239+ NFTA_DYNSET_TIMEOUT = 0x6
129240+ NFTA_DYNSET_EXPR = 0x7
129241+ NFTA_DYNSET_PAD = 0x8
129242+ NFTA_DYNSET_FLAGS = 0x9
129243+ NFT_PAYLOAD_LL_HEADER = 0x0
129244+ NFT_PAYLOAD_NETWORK_HEADER = 0x1
129245+ NFT_PAYLOAD_TRANSPORT_HEADER = 0x2
129246+ NFT_PAYLOAD_CSUM_NONE = 0x0
129247+ NFT_PAYLOAD_CSUM_INET = 0x1
129248+ NFT_PAYLOAD_L4CSUM_PSEUDOHDR = 0x1
129249+ NFTA_PAYLOAD_UNSPEC = 0x0
129250+ NFTA_PAYLOAD_DREG = 0x1
129251+ NFTA_PAYLOAD_BASE = 0x2
129252+ NFTA_PAYLOAD_OFFSET = 0x3
129253+ NFTA_PAYLOAD_LEN = 0x4
129254+ NFTA_PAYLOAD_SREG = 0x5
129255+ NFTA_PAYLOAD_CSUM_TYPE = 0x6
129256+ NFTA_PAYLOAD_CSUM_OFFSET = 0x7
129257+ NFTA_PAYLOAD_CSUM_FLAGS = 0x8
129258+ NFT_EXTHDR_F_PRESENT = 0x1
129259+ NFT_EXTHDR_OP_IPV6 = 0x0
129260+ NFT_EXTHDR_OP_TCPOPT = 0x1
129261+ NFTA_EXTHDR_UNSPEC = 0x0
129262+ NFTA_EXTHDR_DREG = 0x1
129263+ NFTA_EXTHDR_TYPE = 0x2
129264+ NFTA_EXTHDR_OFFSET = 0x3
129265+ NFTA_EXTHDR_LEN = 0x4
129266+ NFTA_EXTHDR_FLAGS = 0x5
129267+ NFTA_EXTHDR_OP = 0x6
129268+ NFTA_EXTHDR_SREG = 0x7
129269+ NFT_META_LEN = 0x0
129270+ NFT_META_PROTOCOL = 0x1
129271+ NFT_META_PRIORITY = 0x2
129272+ NFT_META_MARK = 0x3
129273+ NFT_META_IIF = 0x4
129274+ NFT_META_OIF = 0x5
129275+ NFT_META_IIFNAME = 0x6
129276+ NFT_META_OIFNAME = 0x7
129277+ NFT_META_IIFTYPE = 0x8
129278+ NFT_META_OIFTYPE = 0x9
129279+ NFT_META_SKUID = 0xa
129280+ NFT_META_SKGID = 0xb
129281+ NFT_META_NFTRACE = 0xc
129282+ NFT_META_RTCLASSID = 0xd
129283+ NFT_META_SECMARK = 0xe
129284+ NFT_META_NFPROTO = 0xf
129285+ NFT_META_L4PROTO = 0x10
129286+ NFT_META_BRI_IIFNAME = 0x11
129287+ NFT_META_BRI_OIFNAME = 0x12
129288+ NFT_META_PKTTYPE = 0x13
129289+ NFT_META_CPU = 0x14
129290+ NFT_META_IIFGROUP = 0x15
129291+ NFT_META_OIFGROUP = 0x16
129292+ NFT_META_CGROUP = 0x17
129293+ NFT_META_PRANDOM = 0x18
129294+ NFT_RT_CLASSID = 0x0
129295+ NFT_RT_NEXTHOP4 = 0x1
129296+ NFT_RT_NEXTHOP6 = 0x2
129297+ NFT_RT_TCPMSS = 0x3
129298+ NFT_HASH_JENKINS = 0x0
129299+ NFT_HASH_SYM = 0x1
129300+ NFTA_HASH_UNSPEC = 0x0
129301+ NFTA_HASH_SREG = 0x1
129302+ NFTA_HASH_DREG = 0x2
129303+ NFTA_HASH_LEN = 0x3
129304+ NFTA_HASH_MODULUS = 0x4
129305+ NFTA_HASH_SEED = 0x5
129306+ NFTA_HASH_OFFSET = 0x6
129307+ NFTA_HASH_TYPE = 0x7
129308+ NFTA_META_UNSPEC = 0x0
129309+ NFTA_META_DREG = 0x1
129310+ NFTA_META_KEY = 0x2
129311+ NFTA_META_SREG = 0x3
129312+ NFTA_RT_UNSPEC = 0x0
129313+ NFTA_RT_DREG = 0x1
129314+ NFTA_RT_KEY = 0x2
129315+ NFT_CT_STATE = 0x0
129316+ NFT_CT_DIRECTION = 0x1
129317+ NFT_CT_STATUS = 0x2
129318+ NFT_CT_MARK = 0x3
129319+ NFT_CT_SECMARK = 0x4
129320+ NFT_CT_EXPIRATION = 0x5
129321+ NFT_CT_HELPER = 0x6
129322+ NFT_CT_L3PROTOCOL = 0x7
129323+ NFT_CT_SRC = 0x8
129324+ NFT_CT_DST = 0x9
129325+ NFT_CT_PROTOCOL = 0xa
129326+ NFT_CT_PROTO_SRC = 0xb
129327+ NFT_CT_PROTO_DST = 0xc
129328+ NFT_CT_LABELS = 0xd
129329+ NFT_CT_PKTS = 0xe
129330+ NFT_CT_BYTES = 0xf
129331+ NFT_CT_AVGPKT = 0x10
129332+ NFT_CT_ZONE = 0x11
129333+ NFT_CT_EVENTMASK = 0x12
129334+ NFTA_CT_UNSPEC = 0x0
129335+ NFTA_CT_DREG = 0x1
129336+ NFTA_CT_KEY = 0x2
129337+ NFTA_CT_DIRECTION = 0x3
129338+ NFTA_CT_SREG = 0x4
129339+ NFT_LIMIT_PKTS = 0x0
129340+ NFT_LIMIT_PKT_BYTES = 0x1
129341+ NFT_LIMIT_F_INV = 0x1
129342+ NFTA_LIMIT_UNSPEC = 0x0
129343+ NFTA_LIMIT_RATE = 0x1
129344+ NFTA_LIMIT_UNIT = 0x2
129345+ NFTA_LIMIT_BURST = 0x3
129346+ NFTA_LIMIT_TYPE = 0x4
129347+ NFTA_LIMIT_FLAGS = 0x5
129348+ NFTA_LIMIT_PAD = 0x6
129349+ NFTA_COUNTER_UNSPEC = 0x0
129350+ NFTA_COUNTER_BYTES = 0x1
129351+ NFTA_COUNTER_PACKETS = 0x2
129352+ NFTA_COUNTER_PAD = 0x3
129353+ NFTA_LOG_UNSPEC = 0x0
129354+ NFTA_LOG_GROUP = 0x1
129355+ NFTA_LOG_PREFIX = 0x2
129356+ NFTA_LOG_SNAPLEN = 0x3
129357+ NFTA_LOG_QTHRESHOLD = 0x4
129358+ NFTA_LOG_LEVEL = 0x5
129359+ NFTA_LOG_FLAGS = 0x6
129360+ NFTA_QUEUE_UNSPEC = 0x0
129361+ NFTA_QUEUE_NUM = 0x1
129362+ NFTA_QUEUE_TOTAL = 0x2
129363+ NFTA_QUEUE_FLAGS = 0x3
129364+ NFTA_QUEUE_SREG_QNUM = 0x4
129365+ NFT_QUOTA_F_INV = 0x1
129366+ NFT_QUOTA_F_DEPLETED = 0x2
129367+ NFTA_QUOTA_UNSPEC = 0x0
129368+ NFTA_QUOTA_BYTES = 0x1
129369+ NFTA_QUOTA_FLAGS = 0x2
129370+ NFTA_QUOTA_PAD = 0x3
129371+ NFTA_QUOTA_CONSUMED = 0x4
129372+ NFT_REJECT_ICMP_UNREACH = 0x0
129373+ NFT_REJECT_TCP_RST = 0x1
129374+ NFT_REJECT_ICMPX_UNREACH = 0x2
129375+ NFT_REJECT_ICMPX_NO_ROUTE = 0x0
129376+ NFT_REJECT_ICMPX_PORT_UNREACH = 0x1
129377+ NFT_REJECT_ICMPX_HOST_UNREACH = 0x2
129378+ NFT_REJECT_ICMPX_ADMIN_PROHIBITED = 0x3
129379+ NFTA_REJECT_UNSPEC = 0x0
129380+ NFTA_REJECT_TYPE = 0x1
129381+ NFTA_REJECT_ICMP_CODE = 0x2
129382+ NFT_NAT_SNAT = 0x0
129383+ NFT_NAT_DNAT = 0x1
129384+ NFTA_NAT_UNSPEC = 0x0
129385+ NFTA_NAT_TYPE = 0x1
129386+ NFTA_NAT_FAMILY = 0x2
129387+ NFTA_NAT_REG_ADDR_MIN = 0x3
129388+ NFTA_NAT_REG_ADDR_MAX = 0x4
129389+ NFTA_NAT_REG_PROTO_MIN = 0x5
129390+ NFTA_NAT_REG_PROTO_MAX = 0x6
129391+ NFTA_NAT_FLAGS = 0x7
129392+ NFTA_MASQ_UNSPEC = 0x0
129393+ NFTA_MASQ_FLAGS = 0x1
129394+ NFTA_MASQ_REG_PROTO_MIN = 0x2
129395+ NFTA_MASQ_REG_PROTO_MAX = 0x3
129396+ NFTA_REDIR_UNSPEC = 0x0
129397+ NFTA_REDIR_REG_PROTO_MIN = 0x1
129398+ NFTA_REDIR_REG_PROTO_MAX = 0x2
129399+ NFTA_REDIR_FLAGS = 0x3
129400+ NFTA_DUP_UNSPEC = 0x0
129401+ NFTA_DUP_SREG_ADDR = 0x1
129402+ NFTA_DUP_SREG_DEV = 0x2
129403+ NFTA_FWD_UNSPEC = 0x0
129404+ NFTA_FWD_SREG_DEV = 0x1
129405+ NFTA_OBJREF_UNSPEC = 0x0
129406+ NFTA_OBJREF_IMM_TYPE = 0x1
129407+ NFTA_OBJREF_IMM_NAME = 0x2
129408+ NFTA_OBJREF_SET_SREG = 0x3
129409+ NFTA_OBJREF_SET_NAME = 0x4
129410+ NFTA_OBJREF_SET_ID = 0x5
129411+ NFTA_GEN_UNSPEC = 0x0
129412+ NFTA_GEN_ID = 0x1
129413+ NFTA_GEN_PROC_PID = 0x2
129414+ NFTA_GEN_PROC_NAME = 0x3
129415+ NFTA_FIB_UNSPEC = 0x0
129416+ NFTA_FIB_DREG = 0x1
129417+ NFTA_FIB_RESULT = 0x2
129418+ NFTA_FIB_FLAGS = 0x3
129419+ NFT_FIB_RESULT_UNSPEC = 0x0
129420+ NFT_FIB_RESULT_OIF = 0x1
129421+ NFT_FIB_RESULT_OIFNAME = 0x2
129422+ NFT_FIB_RESULT_ADDRTYPE = 0x3
129423+ NFTA_FIB_F_SADDR = 0x1
129424+ NFTA_FIB_F_DADDR = 0x2
129425+ NFTA_FIB_F_MARK = 0x4
129426+ NFTA_FIB_F_IIF = 0x8
129427+ NFTA_FIB_F_OIF = 0x10
129428+ NFTA_FIB_F_PRESENT = 0x20
129429+ NFTA_CT_HELPER_UNSPEC = 0x0
129430+ NFTA_CT_HELPER_NAME = 0x1
129431+ NFTA_CT_HELPER_L3PROTO = 0x2
129432+ NFTA_CT_HELPER_L4PROTO = 0x3
129433+ NFTA_OBJ_UNSPEC = 0x0
129434+ NFTA_OBJ_TABLE = 0x1
129435+ NFTA_OBJ_NAME = 0x2
129436+ NFTA_OBJ_TYPE = 0x3
129437+ NFTA_OBJ_DATA = 0x4
129438+ NFTA_OBJ_USE = 0x5
129439+ NFTA_TRACE_UNSPEC = 0x0
129440+ NFTA_TRACE_TABLE = 0x1
129441+ NFTA_TRACE_CHAIN = 0x2
129442+ NFTA_TRACE_RULE_HANDLE = 0x3
129443+ NFTA_TRACE_TYPE = 0x4
129444+ NFTA_TRACE_VERDICT = 0x5
129445+ NFTA_TRACE_ID = 0x6
129446+ NFTA_TRACE_LL_HEADER = 0x7
129447+ NFTA_TRACE_NETWORK_HEADER = 0x8
129448+ NFTA_TRACE_TRANSPORT_HEADER = 0x9
129449+ NFTA_TRACE_IIF = 0xa
129450+ NFTA_TRACE_IIFTYPE = 0xb
129451+ NFTA_TRACE_OIF = 0xc
129452+ NFTA_TRACE_OIFTYPE = 0xd
129453+ NFTA_TRACE_MARK = 0xe
129454+ NFTA_TRACE_NFPROTO = 0xf
129455+ NFTA_TRACE_POLICY = 0x10
129456+ NFTA_TRACE_PAD = 0x11
129457+ NFT_TRACETYPE_UNSPEC = 0x0
129458+ NFT_TRACETYPE_POLICY = 0x1
129459+ NFT_TRACETYPE_RETURN = 0x2
129460+ NFT_TRACETYPE_RULE = 0x3
129461+ NFTA_NG_UNSPEC = 0x0
129462+ NFTA_NG_DREG = 0x1
129463+ NFTA_NG_MODULUS = 0x2
129464+ NFTA_NG_TYPE = 0x3
129465+ NFTA_NG_OFFSET = 0x4
129466+ NFT_NG_INCREMENTAL = 0x0
129467+ NFT_NG_RANDOM = 0x1
129468+)
129469+
129470+type RTCTime struct {
129471+ Sec int32
129472+ Min int32
129473+ Hour int32
129474+ Mday int32
129475+ Mon int32
129476+ Year int32
129477+ Wday int32
129478+ Yday int32
129479+ Isdst int32
129480+}
129481+
129482+type RTCWkAlrm struct {
129483+ Enabled uint8
129484+ Pending uint8
129485+ Time RTCTime
129486+}
129487+
129488+type BlkpgIoctlArg struct {
129489+ Op int32
129490+ Flags int32
129491+ Datalen int32
129492+ Data *byte
129493+}
129494+
129495+const (
129496+ BLKPG_ADD_PARTITION = 0x1
129497+ BLKPG_DEL_PARTITION = 0x2
129498+ BLKPG_RESIZE_PARTITION = 0x3
129499+)
129500+
129501+const (
129502+ NETNSA_NONE = 0x0
129503+ NETNSA_NSID = 0x1
129504+ NETNSA_PID = 0x2
129505+ NETNSA_FD = 0x3
129506+)
129507+
129508+type XDPRingOffset struct {
129509+ Producer uint64
129510+ Consumer uint64
129511+ Desc uint64
129512+ Flags uint64
129513+}
129514+
129515+type XDPMmapOffsets struct {
129516+ Rx XDPRingOffset
129517+ Tx XDPRingOffset
129518+ Fr XDPRingOffset
129519+ Cr XDPRingOffset
129520+}
129521+
129522+type XDPStatistics struct {
129523+ Rx_dropped uint64
129524+ Rx_invalid_descs uint64
129525+ Tx_invalid_descs uint64
129526+}
129527+
129528+type XDPDesc struct {
129529+ Addr uint64
129530+ Len uint32
129531+ Options uint32
129532+}
129533+
129534+const (
129535+ NCSI_CMD_UNSPEC = 0x0
129536+ NCSI_CMD_PKG_INFO = 0x1
129537+ NCSI_CMD_SET_INTERFACE = 0x2
129538+ NCSI_CMD_CLEAR_INTERFACE = 0x3
129539+ NCSI_ATTR_UNSPEC = 0x0
129540+ NCSI_ATTR_IFINDEX = 0x1
129541+ NCSI_ATTR_PACKAGE_LIST = 0x2
129542+ NCSI_ATTR_PACKAGE_ID = 0x3
129543+ NCSI_ATTR_CHANNEL_ID = 0x4
129544+ NCSI_PKG_ATTR_UNSPEC = 0x0
129545+ NCSI_PKG_ATTR = 0x1
129546+ NCSI_PKG_ATTR_ID = 0x2
129547+ NCSI_PKG_ATTR_FORCED = 0x3
129548+ NCSI_PKG_ATTR_CHANNEL_LIST = 0x4
129549+ NCSI_CHANNEL_ATTR_UNSPEC = 0x0
129550+ NCSI_CHANNEL_ATTR = 0x1
129551+ NCSI_CHANNEL_ATTR_ID = 0x2
129552+ NCSI_CHANNEL_ATTR_VERSION_MAJOR = 0x3
129553+ NCSI_CHANNEL_ATTR_VERSION_MINOR = 0x4
129554+ NCSI_CHANNEL_ATTR_VERSION_STR = 0x5
129555+ NCSI_CHANNEL_ATTR_LINK_STATE = 0x6
129556+ NCSI_CHANNEL_ATTR_ACTIVE = 0x7
129557+ NCSI_CHANNEL_ATTR_FORCED = 0x8
129558+ NCSI_CHANNEL_ATTR_VLAN_LIST = 0x9
129559+ NCSI_CHANNEL_ATTR_VLAN_ID = 0xa
129560+)
129561+
129562+type ScmTimestamping struct {
129563+ Ts [3]Timespec
129564+}
129565+
129566+const (
129567+ SOF_TIMESTAMPING_TX_HARDWARE = 0x1
129568+ SOF_TIMESTAMPING_TX_SOFTWARE = 0x2
129569+ SOF_TIMESTAMPING_RX_HARDWARE = 0x4
129570+ SOF_TIMESTAMPING_RX_SOFTWARE = 0x8
129571+ SOF_TIMESTAMPING_SOFTWARE = 0x10
129572+ SOF_TIMESTAMPING_SYS_HARDWARE = 0x20
129573+ SOF_TIMESTAMPING_RAW_HARDWARE = 0x40
129574+ SOF_TIMESTAMPING_OPT_ID = 0x80
129575+ SOF_TIMESTAMPING_TX_SCHED = 0x100
129576+ SOF_TIMESTAMPING_TX_ACK = 0x200
129577+ SOF_TIMESTAMPING_OPT_CMSG = 0x400
129578+ SOF_TIMESTAMPING_OPT_TSONLY = 0x800
129579+ SOF_TIMESTAMPING_OPT_STATS = 0x1000
129580+ SOF_TIMESTAMPING_OPT_PKTINFO = 0x2000
129581+ SOF_TIMESTAMPING_OPT_TX_SWHW = 0x4000
129582+
129583+ SOF_TIMESTAMPING_LAST = 0x4000
129584+ SOF_TIMESTAMPING_MASK = 0x7fff
129585+
129586+ SCM_TSTAMP_SND = 0x0
129587+ SCM_TSTAMP_SCHED = 0x1
129588+ SCM_TSTAMP_ACK = 0x2
129589+)
129590+
129591+type SockExtendedErr struct {
129592+ Errno uint32
129593+ Origin uint8
129594+ Type uint8
129595+ Code uint8
129596+ Pad uint8
129597+ Info uint32
129598+ Data uint32
129599+}
129600+
129601+type FanotifyEventMetadata struct {
129602+ Event_len uint32
129603+ Vers uint8
129604+ Reserved uint8
129605+ Metadata_len uint16
129606+ Mask uint64
129607+ Fd int32
129608+ Pid int32
129609+}
129610+
129611+type FanotifyResponse struct {
129612+ Fd int32
129613+ Response uint32
129614+}
129615+
129616+const (
129617+ CRYPTO_MSG_BASE = 0x10
129618+ CRYPTO_MSG_NEWALG = 0x10
129619+ CRYPTO_MSG_DELALG = 0x11
129620+ CRYPTO_MSG_UPDATEALG = 0x12
129621+ CRYPTO_MSG_GETALG = 0x13
129622+ CRYPTO_MSG_DELRNG = 0x14
129623+ CRYPTO_MSG_GETSTAT = 0x15
129624+)
129625+
129626+const (
129627+ CRYPTOCFGA_UNSPEC = 0x0
129628+ CRYPTOCFGA_PRIORITY_VAL = 0x1
129629+ CRYPTOCFGA_REPORT_LARVAL = 0x2
129630+ CRYPTOCFGA_REPORT_HASH = 0x3
129631+ CRYPTOCFGA_REPORT_BLKCIPHER = 0x4
129632+ CRYPTOCFGA_REPORT_AEAD = 0x5
129633+ CRYPTOCFGA_REPORT_COMPRESS = 0x6
129634+ CRYPTOCFGA_REPORT_RNG = 0x7
129635+ CRYPTOCFGA_REPORT_CIPHER = 0x8
129636+ CRYPTOCFGA_REPORT_AKCIPHER = 0x9
129637+ CRYPTOCFGA_REPORT_KPP = 0xa
129638+ CRYPTOCFGA_REPORT_ACOMP = 0xb
129639+ CRYPTOCFGA_STAT_LARVAL = 0xc
129640+ CRYPTOCFGA_STAT_HASH = 0xd
129641+ CRYPTOCFGA_STAT_BLKCIPHER = 0xe
129642+ CRYPTOCFGA_STAT_AEAD = 0xf
129643+ CRYPTOCFGA_STAT_COMPRESS = 0x10
129644+ CRYPTOCFGA_STAT_RNG = 0x11
129645+ CRYPTOCFGA_STAT_CIPHER = 0x12
129646+ CRYPTOCFGA_STAT_AKCIPHER = 0x13
129647+ CRYPTOCFGA_STAT_KPP = 0x14
129648+ CRYPTOCFGA_STAT_ACOMP = 0x15
129649+)
129650+
129651+const (
129652+ BPF_REG_0 = 0x0
129653+ BPF_REG_1 = 0x1
129654+ BPF_REG_2 = 0x2
129655+ BPF_REG_3 = 0x3
129656+ BPF_REG_4 = 0x4
129657+ BPF_REG_5 = 0x5
129658+ BPF_REG_6 = 0x6
129659+ BPF_REG_7 = 0x7
129660+ BPF_REG_8 = 0x8
129661+ BPF_REG_9 = 0x9
129662+ BPF_REG_10 = 0xa
129663+ BPF_MAP_CREATE = 0x0
129664+ BPF_MAP_LOOKUP_ELEM = 0x1
129665+ BPF_MAP_UPDATE_ELEM = 0x2
129666+ BPF_MAP_DELETE_ELEM = 0x3
129667+ BPF_MAP_GET_NEXT_KEY = 0x4
129668+ BPF_PROG_LOAD = 0x5
129669+ BPF_OBJ_PIN = 0x6
129670+ BPF_OBJ_GET = 0x7
129671+ BPF_PROG_ATTACH = 0x8
129672+ BPF_PROG_DETACH = 0x9
129673+ BPF_PROG_TEST_RUN = 0xa
129674+ BPF_PROG_GET_NEXT_ID = 0xb
129675+ BPF_MAP_GET_NEXT_ID = 0xc
129676+ BPF_PROG_GET_FD_BY_ID = 0xd
129677+ BPF_MAP_GET_FD_BY_ID = 0xe
129678+ BPF_OBJ_GET_INFO_BY_FD = 0xf
129679+ BPF_PROG_QUERY = 0x10
129680+ BPF_RAW_TRACEPOINT_OPEN = 0x11
129681+ BPF_BTF_LOAD = 0x12
129682+ BPF_BTF_GET_FD_BY_ID = 0x13
129683+ BPF_TASK_FD_QUERY = 0x14
129684+ BPF_MAP_LOOKUP_AND_DELETE_ELEM = 0x15
129685+ BPF_MAP_FREEZE = 0x16
129686+ BPF_BTF_GET_NEXT_ID = 0x17
129687+ BPF_MAP_TYPE_UNSPEC = 0x0
129688+ BPF_MAP_TYPE_HASH = 0x1
129689+ BPF_MAP_TYPE_ARRAY = 0x2
129690+ BPF_MAP_TYPE_PROG_ARRAY = 0x3
129691+ BPF_MAP_TYPE_PERF_EVENT_ARRAY = 0x4
129692+ BPF_MAP_TYPE_PERCPU_HASH = 0x5
129693+ BPF_MAP_TYPE_PERCPU_ARRAY = 0x6
129694+ BPF_MAP_TYPE_STACK_TRACE = 0x7
129695+ BPF_MAP_TYPE_CGROUP_ARRAY = 0x8
129696+ BPF_MAP_TYPE_LRU_HASH = 0x9
129697+ BPF_MAP_TYPE_LRU_PERCPU_HASH = 0xa
129698+ BPF_MAP_TYPE_LPM_TRIE = 0xb
129699+ BPF_MAP_TYPE_ARRAY_OF_MAPS = 0xc
129700+ BPF_MAP_TYPE_HASH_OF_MAPS = 0xd
129701+ BPF_MAP_TYPE_DEVMAP = 0xe
129702+ BPF_MAP_TYPE_SOCKMAP = 0xf
129703+ BPF_MAP_TYPE_CPUMAP = 0x10
129704+ BPF_MAP_TYPE_XSKMAP = 0x11
129705+ BPF_MAP_TYPE_SOCKHASH = 0x12
129706+ BPF_MAP_TYPE_CGROUP_STORAGE = 0x13
129707+ BPF_MAP_TYPE_REUSEPORT_SOCKARRAY = 0x14
129708+ BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE = 0x15
129709+ BPF_MAP_TYPE_QUEUE = 0x16
129710+ BPF_MAP_TYPE_STACK = 0x17
129711+ BPF_MAP_TYPE_SK_STORAGE = 0x18
129712+ BPF_MAP_TYPE_DEVMAP_HASH = 0x19
129713+ BPF_PROG_TYPE_UNSPEC = 0x0
129714+ BPF_PROG_TYPE_SOCKET_FILTER = 0x1
129715+ BPF_PROG_TYPE_KPROBE = 0x2
129716+ BPF_PROG_TYPE_SCHED_CLS = 0x3
129717+ BPF_PROG_TYPE_SCHED_ACT = 0x4
129718+ BPF_PROG_TYPE_TRACEPOINT = 0x5
129719+ BPF_PROG_TYPE_XDP = 0x6
129720+ BPF_PROG_TYPE_PERF_EVENT = 0x7
129721+ BPF_PROG_TYPE_CGROUP_SKB = 0x8
129722+ BPF_PROG_TYPE_CGROUP_SOCK = 0x9
129723+ BPF_PROG_TYPE_LWT_IN = 0xa
129724+ BPF_PROG_TYPE_LWT_OUT = 0xb
129725+ BPF_PROG_TYPE_LWT_XMIT = 0xc
129726+ BPF_PROG_TYPE_SOCK_OPS = 0xd
129727+ BPF_PROG_TYPE_SK_SKB = 0xe
129728+ BPF_PROG_TYPE_CGROUP_DEVICE = 0xf
129729+ BPF_PROG_TYPE_SK_MSG = 0x10
129730+ BPF_PROG_TYPE_RAW_TRACEPOINT = 0x11
129731+ BPF_PROG_TYPE_CGROUP_SOCK_ADDR = 0x12
129732+ BPF_PROG_TYPE_LWT_SEG6LOCAL = 0x13
129733+ BPF_PROG_TYPE_LIRC_MODE2 = 0x14
129734+ BPF_PROG_TYPE_SK_REUSEPORT = 0x15
129735+ BPF_PROG_TYPE_FLOW_DISSECTOR = 0x16
129736+ BPF_PROG_TYPE_CGROUP_SYSCTL = 0x17
129737+ BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE = 0x18
129738+ BPF_PROG_TYPE_CGROUP_SOCKOPT = 0x19
129739+ BPF_PROG_TYPE_TRACING = 0x1a
129740+ BPF_CGROUP_INET_INGRESS = 0x0
129741+ BPF_CGROUP_INET_EGRESS = 0x1
129742+ BPF_CGROUP_INET_SOCK_CREATE = 0x2
129743+ BPF_CGROUP_SOCK_OPS = 0x3
129744+ BPF_SK_SKB_STREAM_PARSER = 0x4
129745+ BPF_SK_SKB_STREAM_VERDICT = 0x5
129746+ BPF_CGROUP_DEVICE = 0x6
129747+ BPF_SK_MSG_VERDICT = 0x7
129748+ BPF_CGROUP_INET4_BIND = 0x8
129749+ BPF_CGROUP_INET6_BIND = 0x9
129750+ BPF_CGROUP_INET4_CONNECT = 0xa
129751+ BPF_CGROUP_INET6_CONNECT = 0xb
129752+ BPF_CGROUP_INET4_POST_BIND = 0xc
129753+ BPF_CGROUP_INET6_POST_BIND = 0xd
129754+ BPF_CGROUP_UDP4_SENDMSG = 0xe
129755+ BPF_CGROUP_UDP6_SENDMSG = 0xf
129756+ BPF_LIRC_MODE2 = 0x10
129757+ BPF_FLOW_DISSECTOR = 0x11
129758+ BPF_CGROUP_SYSCTL = 0x12
129759+ BPF_CGROUP_UDP4_RECVMSG = 0x13
129760+ BPF_CGROUP_UDP6_RECVMSG = 0x14
129761+ BPF_CGROUP_GETSOCKOPT = 0x15
129762+ BPF_CGROUP_SETSOCKOPT = 0x16
129763+ BPF_TRACE_RAW_TP = 0x17
129764+ BPF_TRACE_FENTRY = 0x18
129765+ BPF_TRACE_FEXIT = 0x19
129766+ BPF_STACK_BUILD_ID_EMPTY = 0x0
129767+ BPF_STACK_BUILD_ID_VALID = 0x1
129768+ BPF_STACK_BUILD_ID_IP = 0x2
129769+ BPF_ADJ_ROOM_NET = 0x0
129770+ BPF_ADJ_ROOM_MAC = 0x1
129771+ BPF_HDR_START_MAC = 0x0
129772+ BPF_HDR_START_NET = 0x1
129773+ BPF_LWT_ENCAP_SEG6 = 0x0
129774+ BPF_LWT_ENCAP_SEG6_INLINE = 0x1
129775+ BPF_LWT_ENCAP_IP = 0x2
129776+ BPF_OK = 0x0
129777+ BPF_DROP = 0x2
129778+ BPF_REDIRECT = 0x7
129779+ BPF_LWT_REROUTE = 0x80
129780+ BPF_SOCK_OPS_VOID = 0x0
129781+ BPF_SOCK_OPS_TIMEOUT_INIT = 0x1
129782+ BPF_SOCK_OPS_RWND_INIT = 0x2
129783+ BPF_SOCK_OPS_TCP_CONNECT_CB = 0x3
129784+ BPF_SOCK_OPS_ACTIVE_ESTABLISHED_CB = 0x4
129785+ BPF_SOCK_OPS_PASSIVE_ESTABLISHED_CB = 0x5
129786+ BPF_SOCK_OPS_NEEDS_ECN = 0x6
129787+ BPF_SOCK_OPS_BASE_RTT = 0x7
129788+ BPF_SOCK_OPS_RTO_CB = 0x8
129789+ BPF_SOCK_OPS_RETRANS_CB = 0x9
129790+ BPF_SOCK_OPS_STATE_CB = 0xa
129791+ BPF_SOCK_OPS_TCP_LISTEN_CB = 0xb
129792+ BPF_SOCK_OPS_RTT_CB = 0xc
129793+ BPF_TCP_ESTABLISHED = 0x1
129794+ BPF_TCP_SYN_SENT = 0x2
129795+ BPF_TCP_SYN_RECV = 0x3
129796+ BPF_TCP_FIN_WAIT1 = 0x4
129797+ BPF_TCP_FIN_WAIT2 = 0x5
129798+ BPF_TCP_TIME_WAIT = 0x6
129799+ BPF_TCP_CLOSE = 0x7
129800+ BPF_TCP_CLOSE_WAIT = 0x8
129801+ BPF_TCP_LAST_ACK = 0x9
129802+ BPF_TCP_LISTEN = 0xa
129803+ BPF_TCP_CLOSING = 0xb
129804+ BPF_TCP_NEW_SYN_RECV = 0xc
129805+ BPF_TCP_MAX_STATES = 0xd
129806+ BPF_FIB_LKUP_RET_SUCCESS = 0x0
129807+ BPF_FIB_LKUP_RET_BLACKHOLE = 0x1
129808+ BPF_FIB_LKUP_RET_UNREACHABLE = 0x2
129809+ BPF_FIB_LKUP_RET_PROHIBIT = 0x3
129810+ BPF_FIB_LKUP_RET_NOT_FWDED = 0x4
129811+ BPF_FIB_LKUP_RET_FWD_DISABLED = 0x5
129812+ BPF_FIB_LKUP_RET_UNSUPP_LWT = 0x6
129813+ BPF_FIB_LKUP_RET_NO_NEIGH = 0x7
129814+ BPF_FIB_LKUP_RET_FRAG_NEEDED = 0x8
129815+ BPF_FD_TYPE_RAW_TRACEPOINT = 0x0
129816+ BPF_FD_TYPE_TRACEPOINT = 0x1
129817+ BPF_FD_TYPE_KPROBE = 0x2
129818+ BPF_FD_TYPE_KRETPROBE = 0x3
129819+ BPF_FD_TYPE_UPROBE = 0x4
129820+ BPF_FD_TYPE_URETPROBE = 0x5
129821+)
129822+
129823+const (
129824+ RTNLGRP_NONE = 0x0
129825+ RTNLGRP_LINK = 0x1
129826+ RTNLGRP_NOTIFY = 0x2
129827+ RTNLGRP_NEIGH = 0x3
129828+ RTNLGRP_TC = 0x4
129829+ RTNLGRP_IPV4_IFADDR = 0x5
129830+ RTNLGRP_IPV4_MROUTE = 0x6
129831+ RTNLGRP_IPV4_ROUTE = 0x7
129832+ RTNLGRP_IPV4_RULE = 0x8
129833+ RTNLGRP_IPV6_IFADDR = 0x9
129834+ RTNLGRP_IPV6_MROUTE = 0xa
129835+ RTNLGRP_IPV6_ROUTE = 0xb
129836+ RTNLGRP_IPV6_IFINFO = 0xc
129837+ RTNLGRP_DECnet_IFADDR = 0xd
129838+ RTNLGRP_NOP2 = 0xe
129839+ RTNLGRP_DECnet_ROUTE = 0xf
129840+ RTNLGRP_DECnet_RULE = 0x10
129841+ RTNLGRP_NOP4 = 0x11
129842+ RTNLGRP_IPV6_PREFIX = 0x12
129843+ RTNLGRP_IPV6_RULE = 0x13
129844+ RTNLGRP_ND_USEROPT = 0x14
129845+ RTNLGRP_PHONET_IFADDR = 0x15
129846+ RTNLGRP_PHONET_ROUTE = 0x16
129847+ RTNLGRP_DCB = 0x17
129848+ RTNLGRP_IPV4_NETCONF = 0x18
129849+ RTNLGRP_IPV6_NETCONF = 0x19
129850+ RTNLGRP_MDB = 0x1a
129851+ RTNLGRP_MPLS_ROUTE = 0x1b
129852+ RTNLGRP_NSID = 0x1c
129853+ RTNLGRP_MPLS_NETCONF = 0x1d
129854+ RTNLGRP_IPV4_MROUTE_R = 0x1e
129855+ RTNLGRP_IPV6_MROUTE_R = 0x1f
129856+ RTNLGRP_NEXTHOP = 0x20
129857+)
129858+
129859+type CapUserHeader struct {
129860+ Version uint32
129861+ Pid int32
129862+}
129863+
129864+type CapUserData struct {
129865+ Effective uint32
129866+ Permitted uint32
129867+ Inheritable uint32
129868+}
129869+
129870+const (
129871+ LINUX_CAPABILITY_VERSION_1 = 0x19980330
129872+ LINUX_CAPABILITY_VERSION_2 = 0x20071026
129873+ LINUX_CAPABILITY_VERSION_3 = 0x20080522
129874+)
129875+
129876+const (
129877+ LO_FLAGS_READ_ONLY = 0x1
129878+ LO_FLAGS_AUTOCLEAR = 0x4
129879+ LO_FLAGS_PARTSCAN = 0x8
129880+ LO_FLAGS_DIRECT_IO = 0x10
129881+)
129882+
129883+type LoopInfo64 struct {
129884+ Device uint64
129885+ Inode uint64
129886+ Rdevice uint64
129887+ Offset uint64
129888+ Sizelimit uint64
129889+ Number uint32
129890+ Encrypt_type uint32
129891+ Encrypt_key_size uint32
129892+ Flags uint32
129893+ File_name [64]uint8
129894+ Crypt_name [64]uint8
129895+ Encrypt_key [32]uint8
129896+ Init [2]uint64
129897+}
129898+
129899+type TIPCSocketAddr struct {
129900+ Ref uint32
129901+ Node uint32
129902+}
129903+
129904+type TIPCServiceRange struct {
129905+ Type uint32
129906+ Lower uint32
129907+ Upper uint32
129908+}
129909+
129910+type TIPCServiceName struct {
129911+ Type uint32
129912+ Instance uint32
129913+ Domain uint32
129914+}
129915+
129916+type TIPCEvent struct {
129917+ Event uint32
129918+ Lower uint32
129919+ Upper uint32
129920+ Port TIPCSocketAddr
129921+ S TIPCSubscr
129922+}
129923+
129924+type TIPCGroupReq struct {
129925+ Type uint32
129926+ Instance uint32
129927+ Scope uint32
129928+ Flags uint32
129929+}
129930+
129931+const (
129932+ TIPC_CLUSTER_SCOPE = 0x2
129933+ TIPC_NODE_SCOPE = 0x3
129934+)
129935+
129936+const (
129937+ SYSLOG_ACTION_CLOSE = 0
129938+ SYSLOG_ACTION_OPEN = 1
129939+ SYSLOG_ACTION_READ = 2
129940+ SYSLOG_ACTION_READ_ALL = 3
129941+ SYSLOG_ACTION_READ_CLEAR = 4
129942+ SYSLOG_ACTION_CLEAR = 5
129943+ SYSLOG_ACTION_CONSOLE_OFF = 6
129944+ SYSLOG_ACTION_CONSOLE_ON = 7
129945+ SYSLOG_ACTION_CONSOLE_LEVEL = 8
129946+ SYSLOG_ACTION_SIZE_UNREAD = 9
129947+ SYSLOG_ACTION_SIZE_BUFFER = 10
129948+)
129949+
129950+const (
129951+ DEVLINK_CMD_UNSPEC = 0x0
129952+ DEVLINK_CMD_GET = 0x1
129953+ DEVLINK_CMD_SET = 0x2
129954+ DEVLINK_CMD_NEW = 0x3
129955+ DEVLINK_CMD_DEL = 0x4
129956+ DEVLINK_CMD_PORT_GET = 0x5
129957+ DEVLINK_CMD_PORT_SET = 0x6
129958+ DEVLINK_CMD_PORT_NEW = 0x7
129959+ DEVLINK_CMD_PORT_DEL = 0x8
129960+ DEVLINK_CMD_PORT_SPLIT = 0x9
129961+ DEVLINK_CMD_PORT_UNSPLIT = 0xa
129962+ DEVLINK_CMD_SB_GET = 0xb
129963+ DEVLINK_CMD_SB_SET = 0xc
129964+ DEVLINK_CMD_SB_NEW = 0xd
129965+ DEVLINK_CMD_SB_DEL = 0xe
129966+ DEVLINK_CMD_SB_POOL_GET = 0xf
129967+ DEVLINK_CMD_SB_POOL_SET = 0x10
129968+ DEVLINK_CMD_SB_POOL_NEW = 0x11
129969+ DEVLINK_CMD_SB_POOL_DEL = 0x12
129970+ DEVLINK_CMD_SB_PORT_POOL_GET = 0x13
129971+ DEVLINK_CMD_SB_PORT_POOL_SET = 0x14
129972+ DEVLINK_CMD_SB_PORT_POOL_NEW = 0x15
129973+ DEVLINK_CMD_SB_PORT_POOL_DEL = 0x16
129974+ DEVLINK_CMD_SB_TC_POOL_BIND_GET = 0x17
129975+ DEVLINK_CMD_SB_TC_POOL_BIND_SET = 0x18
129976+ DEVLINK_CMD_SB_TC_POOL_BIND_NEW = 0x19
129977+ DEVLINK_CMD_SB_TC_POOL_BIND_DEL = 0x1a
129978+ DEVLINK_CMD_SB_OCC_SNAPSHOT = 0x1b
129979+ DEVLINK_CMD_SB_OCC_MAX_CLEAR = 0x1c
129980+ DEVLINK_CMD_ESWITCH_GET = 0x1d
129981+ DEVLINK_CMD_ESWITCH_SET = 0x1e
129982+ DEVLINK_CMD_DPIPE_TABLE_GET = 0x1f
129983+ DEVLINK_CMD_DPIPE_ENTRIES_GET = 0x20
129984+ DEVLINK_CMD_DPIPE_HEADERS_GET = 0x21
129985+ DEVLINK_CMD_DPIPE_TABLE_COUNTERS_SET = 0x22
129986+ DEVLINK_CMD_MAX = 0x44
129987+ DEVLINK_PORT_TYPE_NOTSET = 0x0
129988+ DEVLINK_PORT_TYPE_AUTO = 0x1
129989+ DEVLINK_PORT_TYPE_ETH = 0x2
129990+ DEVLINK_PORT_TYPE_IB = 0x3
129991+ DEVLINK_SB_POOL_TYPE_INGRESS = 0x0
129992+ DEVLINK_SB_POOL_TYPE_EGRESS = 0x1
129993+ DEVLINK_SB_THRESHOLD_TYPE_STATIC = 0x0
129994+ DEVLINK_SB_THRESHOLD_TYPE_DYNAMIC = 0x1
129995+ DEVLINK_ESWITCH_MODE_LEGACY = 0x0
129996+ DEVLINK_ESWITCH_MODE_SWITCHDEV = 0x1
129997+ DEVLINK_ESWITCH_INLINE_MODE_NONE = 0x0
129998+ DEVLINK_ESWITCH_INLINE_MODE_LINK = 0x1
129999+ DEVLINK_ESWITCH_INLINE_MODE_NETWORK = 0x2
130000+ DEVLINK_ESWITCH_INLINE_MODE_TRANSPORT = 0x3
130001+ DEVLINK_ESWITCH_ENCAP_MODE_NONE = 0x0
130002+ DEVLINK_ESWITCH_ENCAP_MODE_BASIC = 0x1
130003+ DEVLINK_ATTR_UNSPEC = 0x0
130004+ DEVLINK_ATTR_BUS_NAME = 0x1
130005+ DEVLINK_ATTR_DEV_NAME = 0x2
130006+ DEVLINK_ATTR_PORT_INDEX = 0x3
130007+ DEVLINK_ATTR_PORT_TYPE = 0x4
130008+ DEVLINK_ATTR_PORT_DESIRED_TYPE = 0x5
130009+ DEVLINK_ATTR_PORT_NETDEV_IFINDEX = 0x6
130010+ DEVLINK_ATTR_PORT_NETDEV_NAME = 0x7
130011+ DEVLINK_ATTR_PORT_IBDEV_NAME = 0x8
130012+ DEVLINK_ATTR_PORT_SPLIT_COUNT = 0x9
130013+ DEVLINK_ATTR_PORT_SPLIT_GROUP = 0xa
130014+ DEVLINK_ATTR_SB_INDEX = 0xb
130015+ DEVLINK_ATTR_SB_SIZE = 0xc
130016+ DEVLINK_ATTR_SB_INGRESS_POOL_COUNT = 0xd
130017+ DEVLINK_ATTR_SB_EGRESS_POOL_COUNT = 0xe
130018+ DEVLINK_ATTR_SB_INGRESS_TC_COUNT = 0xf
130019+ DEVLINK_ATTR_SB_EGRESS_TC_COUNT = 0x10
130020+ DEVLINK_ATTR_SB_POOL_INDEX = 0x11
130021+ DEVLINK_ATTR_SB_POOL_TYPE = 0x12
130022+ DEVLINK_ATTR_SB_POOL_SIZE = 0x13
130023+ DEVLINK_ATTR_SB_POOL_THRESHOLD_TYPE = 0x14
130024+ DEVLINK_ATTR_SB_THRESHOLD = 0x15
130025+ DEVLINK_ATTR_SB_TC_INDEX = 0x16
130026+ DEVLINK_ATTR_SB_OCC_CUR = 0x17
130027+ DEVLINK_ATTR_SB_OCC_MAX = 0x18
130028+ DEVLINK_ATTR_ESWITCH_MODE = 0x19
130029+ DEVLINK_ATTR_ESWITCH_INLINE_MODE = 0x1a
130030+ DEVLINK_ATTR_DPIPE_TABLES = 0x1b
130031+ DEVLINK_ATTR_DPIPE_TABLE = 0x1c
130032+ DEVLINK_ATTR_DPIPE_TABLE_NAME = 0x1d
130033+ DEVLINK_ATTR_DPIPE_TABLE_SIZE = 0x1e
130034+ DEVLINK_ATTR_DPIPE_TABLE_MATCHES = 0x1f
130035+ DEVLINK_ATTR_DPIPE_TABLE_ACTIONS = 0x20
130036+ DEVLINK_ATTR_DPIPE_TABLE_COUNTERS_ENABLED = 0x21
130037+ DEVLINK_ATTR_DPIPE_ENTRIES = 0x22
130038+ DEVLINK_ATTR_DPIPE_ENTRY = 0x23
130039+ DEVLINK_ATTR_DPIPE_ENTRY_INDEX = 0x24
130040+ DEVLINK_ATTR_DPIPE_ENTRY_MATCH_VALUES = 0x25
130041+ DEVLINK_ATTR_DPIPE_ENTRY_ACTION_VALUES = 0x26
130042+ DEVLINK_ATTR_DPIPE_ENTRY_COUNTER = 0x27
130043+ DEVLINK_ATTR_DPIPE_MATCH = 0x28
130044+ DEVLINK_ATTR_DPIPE_MATCH_VALUE = 0x29
130045+ DEVLINK_ATTR_DPIPE_MATCH_TYPE = 0x2a
130046+ DEVLINK_ATTR_DPIPE_ACTION = 0x2b
130047+ DEVLINK_ATTR_DPIPE_ACTION_VALUE = 0x2c
130048+ DEVLINK_ATTR_DPIPE_ACTION_TYPE = 0x2d
130049+ DEVLINK_ATTR_DPIPE_VALUE = 0x2e
130050+ DEVLINK_ATTR_DPIPE_VALUE_MASK = 0x2f
130051+ DEVLINK_ATTR_DPIPE_VALUE_MAPPING = 0x30
130052+ DEVLINK_ATTR_DPIPE_HEADERS = 0x31
130053+ DEVLINK_ATTR_DPIPE_HEADER = 0x32
130054+ DEVLINK_ATTR_DPIPE_HEADER_NAME = 0x33
130055+ DEVLINK_ATTR_DPIPE_HEADER_ID = 0x34
130056+ DEVLINK_ATTR_DPIPE_HEADER_FIELDS = 0x35
130057+ DEVLINK_ATTR_DPIPE_HEADER_GLOBAL = 0x36
130058+ DEVLINK_ATTR_DPIPE_HEADER_INDEX = 0x37
130059+ DEVLINK_ATTR_DPIPE_FIELD = 0x38
130060+ DEVLINK_ATTR_DPIPE_FIELD_NAME = 0x39
130061+ DEVLINK_ATTR_DPIPE_FIELD_ID = 0x3a
130062+ DEVLINK_ATTR_DPIPE_FIELD_BITWIDTH = 0x3b
130063+ DEVLINK_ATTR_DPIPE_FIELD_MAPPING_TYPE = 0x3c
130064+ DEVLINK_ATTR_PAD = 0x3d
130065+ DEVLINK_ATTR_ESWITCH_ENCAP_MODE = 0x3e
130066+ DEVLINK_ATTR_MAX = 0x8c
130067+ DEVLINK_DPIPE_FIELD_MAPPING_TYPE_NONE = 0x0
130068+ DEVLINK_DPIPE_FIELD_MAPPING_TYPE_IFINDEX = 0x1
130069+ DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT = 0x0
130070+ DEVLINK_DPIPE_ACTION_TYPE_FIELD_MODIFY = 0x0
130071+ DEVLINK_DPIPE_FIELD_ETHERNET_DST_MAC = 0x0
130072+ DEVLINK_DPIPE_FIELD_IPV4_DST_IP = 0x0
130073+ DEVLINK_DPIPE_FIELD_IPV6_DST_IP = 0x0
130074+ DEVLINK_DPIPE_HEADER_ETHERNET = 0x0
130075+ DEVLINK_DPIPE_HEADER_IPV4 = 0x1
130076+ DEVLINK_DPIPE_HEADER_IPV6 = 0x2
130077+)
130078+
130079+type FsverityDigest struct {
130080+ Algorithm uint16
130081+ Size uint16
130082+}
130083+
130084+type FsverityEnableArg struct {
130085+ Version uint32
130086+ Hash_algorithm uint32
130087+ Block_size uint32
130088+ Salt_size uint32
130089+ Salt_ptr uint64
130090+ Sig_size uint32
130091+ _ uint32
130092+ Sig_ptr uint64
130093+ _ [11]uint64
130094+}
130095+
130096+type Nhmsg struct {
130097+ Family uint8
130098+ Scope uint8
130099+ Protocol uint8
130100+ Resvd uint8
130101+ Flags uint32
130102+}
130103+
130104+type NexthopGrp struct {
130105+ Id uint32
130106+ Weight uint8
130107+ Resvd1 uint8
130108+ Resvd2 uint16
130109+}
130110+
130111+const (
130112+ NHA_UNSPEC = 0x0
130113+ NHA_ID = 0x1
130114+ NHA_GROUP = 0x2
130115+ NHA_GROUP_TYPE = 0x3
130116+ NHA_BLACKHOLE = 0x4
130117+ NHA_OIF = 0x5
130118+ NHA_GATEWAY = 0x6
130119+ NHA_ENCAP_TYPE = 0x7
130120+ NHA_ENCAP = 0x8
130121+ NHA_GROUPS = 0x9
130122+ NHA_MASTER = 0xa
130123+)
130124diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_386.go b/vendor/golang.org/x/sys/unix/ztypes_linux_386.go
130125index 7b36896e..761b67c8 100644
130126--- a/vendor/golang.org/x/sys/unix/ztypes_linux_386.go
130127+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_386.go
130128@@ -6,19 +6,12 @@
130129 package unix
130130
130131 const (
130132- sizeofPtr = 0x4
130133- sizeofShort = 0x2
130134- sizeofInt = 0x4
130135- sizeofLong = 0x4
130136- sizeofLongLong = 0x8
130137- PathMax = 0x1000
130138+ SizeofPtr = 0x4
130139+ SizeofLong = 0x4
130140 )
130141
130142 type (
130143- _C_short int16
130144- _C_int int32
130145- _C_long int32
130146- _C_long_long int64
130147+ _C_long int32
130148 )
130149
130150 type Timespec struct {
130151@@ -52,7 +45,7 @@ type Timex struct {
130152 Errcnt int32
130153 Stbcnt int32
130154 Tai int32
130155- Pad_cgo_0 [44]byte
130156+ _ [44]byte
130157 }
130158
130159 type Time_t int32
130160@@ -88,60 +81,32 @@ type Rusage struct {
130161 Nivcsw int32
130162 }
130163
130164-type Rlimit struct {
130165- Cur uint64
130166- Max uint64
130167-}
130168-
130169-type _Gid_t uint32
130170-
130171 type Stat_t struct {
130172- Dev uint64
130173- X__pad1 uint16
130174- Pad_cgo_0 [2]byte
130175- X__st_ino uint32
130176- Mode uint32
130177- Nlink uint32
130178- Uid uint32
130179- Gid uint32
130180- Rdev uint64
130181- X__pad2 uint16
130182- Pad_cgo_1 [2]byte
130183- Size int64
130184- Blksize int32
130185- Blocks int64
130186- Atim Timespec
130187- Mtim Timespec
130188- Ctim Timespec
130189- Ino uint64
130190-}
130191-
130192-type Statfs_t struct {
130193- Type int32
130194- Bsize int32
130195- Blocks uint64
130196- Bfree uint64
130197- Bavail uint64
130198- Files uint64
130199- Ffree uint64
130200- Fsid Fsid
130201- Namelen int32
130202- Frsize int32
130203- Flags int32
130204- Spare [4]int32
130205+ Dev uint64
130206+ _ uint16
130207+ _ uint32
130208+ Mode uint32
130209+ Nlink uint32
130210+ Uid uint32
130211+ Gid uint32
130212+ Rdev uint64
130213+ _ uint16
130214+ Size int64
130215+ Blksize int32
130216+ Blocks int64
130217+ Atim Timespec
130218+ Mtim Timespec
130219+ Ctim Timespec
130220+ Ino uint64
130221 }
130222
130223 type Dirent struct {
130224- Ino uint64
130225- Off int64
130226- Reclen uint16
130227- Type uint8
130228- Name [256]int8
130229- Pad_cgo_0 [1]byte
130230-}
130231-
130232-type Fsid struct {
130233- X__val [2]int32
130234+ Ino uint64
130235+ Off int64
130236+ Reclen uint16
130237+ Type uint8
130238+ Name [256]int8
130239+ _ [1]byte
130240 }
130241
130242 type Flock_t struct {
130243@@ -152,101 +117,11 @@ type Flock_t struct {
130244 Pid int32
130245 }
130246
130247-type FscryptPolicy struct {
130248- Version uint8
130249- Contents_encryption_mode uint8
130250- Filenames_encryption_mode uint8
130251- Flags uint8
130252- Master_key_descriptor [8]uint8
130253-}
130254-
130255-type FscryptKey struct {
130256- Mode uint32
130257- Raw [64]uint8
130258- Size uint32
130259-}
130260-
130261-type KeyctlDHParams struct {
130262- Private int32
130263- Prime int32
130264- Base int32
130265-}
130266-
130267 const (
130268- FADV_NORMAL = 0x0
130269- FADV_RANDOM = 0x1
130270- FADV_SEQUENTIAL = 0x2
130271- FADV_WILLNEED = 0x3
130272- FADV_DONTNEED = 0x4
130273- FADV_NOREUSE = 0x5
130274+ FADV_DONTNEED = 0x4
130275+ FADV_NOREUSE = 0x5
130276 )
130277
130278-type RawSockaddrInet4 struct {
130279- Family uint16
130280- Port uint16
130281- Addr [4]byte /* in_addr */
130282- Zero [8]uint8
130283-}
130284-
130285-type RawSockaddrInet6 struct {
130286- Family uint16
130287- Port uint16
130288- Flowinfo uint32
130289- Addr [16]byte /* in6_addr */
130290- Scope_id uint32
130291-}
130292-
130293-type RawSockaddrUnix struct {
130294- Family uint16
130295- Path [108]int8
130296-}
130297-
130298-type RawSockaddrLinklayer struct {
130299- Family uint16
130300- Protocol uint16
130301- Ifindex int32
130302- Hatype uint16
130303- Pkttype uint8
130304- Halen uint8
130305- Addr [8]uint8
130306-}
130307-
130308-type RawSockaddrNetlink struct {
130309- Family uint16
130310- Pad uint16
130311- Pid uint32
130312- Groups uint32
130313-}
130314-
130315-type RawSockaddrHCI struct {
130316- Family uint16
130317- Dev uint16
130318- Channel uint16
130319-}
130320-
130321-type RawSockaddrCAN struct {
130322- Family uint16
130323- Pad_cgo_0 [2]byte
130324- Ifindex int32
130325- Addr [8]byte
130326-}
130327-
130328-type RawSockaddrALG struct {
130329- Family uint16
130330- Type [14]uint8
130331- Feat uint32
130332- Mask uint32
130333- Name [64]uint8
130334-}
130335-
130336-type RawSockaddrVM struct {
130337- Family uint16
130338- Reserved1 uint16
130339- Port uint32
130340- Cid uint32
130341- Zero [4]uint8
130342-}
130343-
130344 type RawSockaddr struct {
130345 Family uint16
130346 Data [14]int8
130347@@ -257,41 +132,11 @@ type RawSockaddrAny struct {
130348 Pad [96]int8
130349 }
130350
130351-type _Socklen uint32
130352-
130353-type Linger struct {
130354- Onoff int32
130355- Linger int32
130356-}
130357-
130358 type Iovec struct {
130359 Base *byte
130360 Len uint32
130361 }
130362
130363-type IPMreq struct {
130364- Multiaddr [4]byte /* in_addr */
130365- Interface [4]byte /* in_addr */
130366-}
130367-
130368-type IPMreqn struct {
130369- Multiaddr [4]byte /* in_addr */
130370- Address [4]byte /* in_addr */
130371- Ifindex int32
130372-}
130373-
130374-type IPv6Mreq struct {
130375- Multiaddr [16]byte /* in6_addr */
130376- Interface uint32
130377-}
130378-
130379-type PacketMreq struct {
130380- Ifindex int32
130381- Type uint16
130382- Alen uint16
130383- Address [8]uint8
130384-}
130385-
130386 type Msghdr struct {
130387 Name *byte
130388 Namelen uint32
130389@@ -308,277 +153,16 @@ type Cmsghdr struct {
130390 Type int32
130391 }
130392
130393-type Inet4Pktinfo struct {
130394- Ifindex int32
130395- Spec_dst [4]byte /* in_addr */
130396- Addr [4]byte /* in_addr */
130397-}
130398-
130399-type Inet6Pktinfo struct {
130400- Addr [16]byte /* in6_addr */
130401- Ifindex uint32
130402-}
130403-
130404-type IPv6MTUInfo struct {
130405- Addr RawSockaddrInet6
130406- Mtu uint32
130407-}
130408-
130409-type ICMPv6Filter struct {
130410- Data [8]uint32
130411-}
130412-
130413-type Ucred struct {
130414- Pid int32
130415- Uid uint32
130416- Gid uint32
130417-}
130418-
130419-type TCPInfo struct {
130420- State uint8
130421- Ca_state uint8
130422- Retransmits uint8
130423- Probes uint8
130424- Backoff uint8
130425- Options uint8
130426- Pad_cgo_0 [2]byte
130427- Rto uint32
130428- Ato uint32
130429- Snd_mss uint32
130430- Rcv_mss uint32
130431- Unacked uint32
130432- Sacked uint32
130433- Lost uint32
130434- Retrans uint32
130435- Fackets uint32
130436- Last_data_sent uint32
130437- Last_ack_sent uint32
130438- Last_data_recv uint32
130439- Last_ack_recv uint32
130440- Pmtu uint32
130441- Rcv_ssthresh uint32
130442- Rtt uint32
130443- Rttvar uint32
130444- Snd_ssthresh uint32
130445- Snd_cwnd uint32
130446- Advmss uint32
130447- Reordering uint32
130448- Rcv_rtt uint32
130449- Rcv_space uint32
130450- Total_retrans uint32
130451-}
130452-
130453 const (
130454- SizeofSockaddrInet4 = 0x10
130455- SizeofSockaddrInet6 = 0x1c
130456- SizeofSockaddrAny = 0x70
130457- SizeofSockaddrUnix = 0x6e
130458- SizeofSockaddrLinklayer = 0x14
130459- SizeofSockaddrNetlink = 0xc
130460- SizeofSockaddrHCI = 0x6
130461- SizeofSockaddrCAN = 0x10
130462- SizeofSockaddrALG = 0x58
130463- SizeofSockaddrVM = 0x10
130464- SizeofLinger = 0x8
130465- SizeofIovec = 0x8
130466- SizeofIPMreq = 0x8
130467- SizeofIPMreqn = 0xc
130468- SizeofIPv6Mreq = 0x14
130469- SizeofPacketMreq = 0x10
130470- SizeofMsghdr = 0x1c
130471- SizeofCmsghdr = 0xc
130472- SizeofInet4Pktinfo = 0xc
130473- SizeofInet6Pktinfo = 0x14
130474- SizeofIPv6MTUInfo = 0x20
130475- SizeofICMPv6Filter = 0x20
130476- SizeofUcred = 0xc
130477- SizeofTCPInfo = 0x68
130478+ SizeofIovec = 0x8
130479+ SizeofMsghdr = 0x1c
130480+ SizeofCmsghdr = 0xc
130481 )
130482
130483 const (
130484- IFA_UNSPEC = 0x0
130485- IFA_ADDRESS = 0x1
130486- IFA_LOCAL = 0x2
130487- IFA_LABEL = 0x3
130488- IFA_BROADCAST = 0x4
130489- IFA_ANYCAST = 0x5
130490- IFA_CACHEINFO = 0x6
130491- IFA_MULTICAST = 0x7
130492- IFLA_UNSPEC = 0x0
130493- IFLA_ADDRESS = 0x1
130494- IFLA_BROADCAST = 0x2
130495- IFLA_IFNAME = 0x3
130496- IFLA_MTU = 0x4
130497- IFLA_LINK = 0x5
130498- IFLA_QDISC = 0x6
130499- IFLA_STATS = 0x7
130500- IFLA_COST = 0x8
130501- IFLA_PRIORITY = 0x9
130502- IFLA_MASTER = 0xa
130503- IFLA_WIRELESS = 0xb
130504- IFLA_PROTINFO = 0xc
130505- IFLA_TXQLEN = 0xd
130506- IFLA_MAP = 0xe
130507- IFLA_WEIGHT = 0xf
130508- IFLA_OPERSTATE = 0x10
130509- IFLA_LINKMODE = 0x11
130510- IFLA_LINKINFO = 0x12
130511- IFLA_NET_NS_PID = 0x13
130512- IFLA_IFALIAS = 0x14
130513- IFLA_MAX = 0x2b
130514- RT_SCOPE_UNIVERSE = 0x0
130515- RT_SCOPE_SITE = 0xc8
130516- RT_SCOPE_LINK = 0xfd
130517- RT_SCOPE_HOST = 0xfe
130518- RT_SCOPE_NOWHERE = 0xff
130519- RT_TABLE_UNSPEC = 0x0
130520- RT_TABLE_COMPAT = 0xfc
130521- RT_TABLE_DEFAULT = 0xfd
130522- RT_TABLE_MAIN = 0xfe
130523- RT_TABLE_LOCAL = 0xff
130524- RT_TABLE_MAX = 0xffffffff
130525- RTA_UNSPEC = 0x0
130526- RTA_DST = 0x1
130527- RTA_SRC = 0x2
130528- RTA_IIF = 0x3
130529- RTA_OIF = 0x4
130530- RTA_GATEWAY = 0x5
130531- RTA_PRIORITY = 0x6
130532- RTA_PREFSRC = 0x7
130533- RTA_METRICS = 0x8
130534- RTA_MULTIPATH = 0x9
130535- RTA_FLOW = 0xb
130536- RTA_CACHEINFO = 0xc
130537- RTA_TABLE = 0xf
130538- RTN_UNSPEC = 0x0
130539- RTN_UNICAST = 0x1
130540- RTN_LOCAL = 0x2
130541- RTN_BROADCAST = 0x3
130542- RTN_ANYCAST = 0x4
130543- RTN_MULTICAST = 0x5
130544- RTN_BLACKHOLE = 0x6
130545- RTN_UNREACHABLE = 0x7
130546- RTN_PROHIBIT = 0x8
130547- RTN_THROW = 0x9
130548- RTN_NAT = 0xa
130549- RTN_XRESOLVE = 0xb
130550- RTNLGRP_NONE = 0x0
130551- RTNLGRP_LINK = 0x1
130552- RTNLGRP_NOTIFY = 0x2
130553- RTNLGRP_NEIGH = 0x3
130554- RTNLGRP_TC = 0x4
130555- RTNLGRP_IPV4_IFADDR = 0x5
130556- RTNLGRP_IPV4_MROUTE = 0x6
130557- RTNLGRP_IPV4_ROUTE = 0x7
130558- RTNLGRP_IPV4_RULE = 0x8
130559- RTNLGRP_IPV6_IFADDR = 0x9
130560- RTNLGRP_IPV6_MROUTE = 0xa
130561- RTNLGRP_IPV6_ROUTE = 0xb
130562- RTNLGRP_IPV6_IFINFO = 0xc
130563- RTNLGRP_IPV6_PREFIX = 0x12
130564- RTNLGRP_IPV6_RULE = 0x13
130565- RTNLGRP_ND_USEROPT = 0x14
130566- SizeofNlMsghdr = 0x10
130567- SizeofNlMsgerr = 0x14
130568- SizeofRtGenmsg = 0x1
130569- SizeofNlAttr = 0x4
130570- SizeofRtAttr = 0x4
130571- SizeofIfInfomsg = 0x10
130572- SizeofIfAddrmsg = 0x8
130573- SizeofRtMsg = 0xc
130574- SizeofRtNexthop = 0x8
130575+ SizeofSockFprog = 0x8
130576 )
130577
130578-type NlMsghdr struct {
130579- Len uint32
130580- Type uint16
130581- Flags uint16
130582- Seq uint32
130583- Pid uint32
130584-}
130585-
130586-type NlMsgerr struct {
130587- Error int32
130588- Msg NlMsghdr
130589-}
130590-
130591-type RtGenmsg struct {
130592- Family uint8
130593-}
130594-
130595-type NlAttr struct {
130596- Len uint16
130597- Type uint16
130598-}
130599-
130600-type RtAttr struct {
130601- Len uint16
130602- Type uint16
130603-}
130604-
130605-type IfInfomsg struct {
130606- Family uint8
130607- X__ifi_pad uint8
130608- Type uint16
130609- Index int32
130610- Flags uint32
130611- Change uint32
130612-}
130613-
130614-type IfAddrmsg struct {
130615- Family uint8
130616- Prefixlen uint8
130617- Flags uint8
130618- Scope uint8
130619- Index uint32
130620-}
130621-
130622-type RtMsg struct {
130623- Family uint8
130624- Dst_len uint8
130625- Src_len uint8
130626- Tos uint8
130627- Table uint8
130628- Protocol uint8
130629- Scope uint8
130630- Type uint8
130631- Flags uint32
130632-}
130633-
130634-type RtNexthop struct {
130635- Len uint16
130636- Flags uint8
130637- Hops uint8
130638- Ifindex int32
130639-}
130640-
130641-const (
130642- SizeofSockFilter = 0x8
130643- SizeofSockFprog = 0x8
130644-)
130645-
130646-type SockFilter struct {
130647- Code uint16
130648- Jt uint8
130649- Jf uint8
130650- K uint32
130651-}
130652-
130653-type SockFprog struct {
130654- Len uint16
130655- Pad_cgo_0 [2]byte
130656- Filter *SockFilter
130657-}
130658-
130659-type InotifyEvent struct {
130660- Wd int32
130661- Mask uint32
130662- Cookie uint32
130663- Len uint32
130664-}
130665-
130666-const SizeofInotifyEvent = 0x10
130667-
130668 type PtraceRegs struct {
130669 Ebx int32
130670 Ecx int32
130671@@ -617,16 +201,7 @@ type Sysinfo_t struct {
130672 Totalhigh uint32
130673 Freehigh uint32
130674 Unit uint32
130675- X_f [8]int8
130676-}
130677-
130678-type Utsname struct {
130679- Sysname [65]int8
130680- Nodename [65]int8
130681- Release [65]int8
130682- Version [65]int8
130683- Machine [65]int8
130684- Domainname [65]int8
130685+ _ [8]int8
130686 }
130687
130688 type Ustat_t struct {
130689@@ -643,37 +218,14 @@ type EpollEvent struct {
130690 }
130691
130692 const (
130693- AT_FDCWD = -0x64
130694- AT_REMOVEDIR = 0x200
130695- AT_SYMLINK_FOLLOW = 0x400
130696- AT_SYMLINK_NOFOLLOW = 0x100
130697-)
130698-
130699-type PollFd struct {
130700- Fd int32
130701- Events int16
130702- Revents int16
130703-}
130704-
130705-const (
130706- POLLIN = 0x1
130707- POLLPRI = 0x2
130708- POLLOUT = 0x4
130709 POLLRDHUP = 0x2000
130710- POLLERR = 0x8
130711- POLLHUP = 0x10
130712- POLLNVAL = 0x20
130713 )
130714
130715 type Sigset_t struct {
130716- X__val [32]uint32
130717+ Val [32]uint32
130718 }
130719
130720-const RNDGETENTCNT = 0x80045200
130721-
130722-const PERF_IOC_FLAG_GROUP = 0x1
130723-
130724-const _SC_PAGESIZE = 0x1e
130725+const _C__NSIG = 0x41
130726
130727 type Termios struct {
130728 Iflag uint32
130729@@ -686,20 +238,12 @@ type Termios struct {
130730 Ospeed uint32
130731 }
130732
130733-type Winsize struct {
130734- Row uint16
130735- Col uint16
130736- Xpixel uint16
130737- Ypixel uint16
130738-}
130739-
130740 type Taskstats struct {
130741 Version uint16
130742- Pad_cgo_0 [2]byte
130743 Ac_exitcode uint32
130744 Ac_flag uint8
130745 Ac_nice uint8
130746- Pad_cgo_1 [6]byte
130747+ _ [4]byte
130748 Cpu_count uint64
130749 Cpu_delay_total uint64
130750 Blkio_count uint64
130751@@ -711,13 +255,13 @@ type Taskstats struct {
130752 Ac_comm [32]int8
130753 Ac_sched uint8
130754 Ac_pad [3]uint8
130755- Pad_cgo_2 [4]byte
130756+ _ [4]byte
130757 Ac_uid uint32
130758 Ac_gid uint32
130759 Ac_pid uint32
130760 Ac_ppid uint32
130761 Ac_btime uint32
130762- Pad_cgo_3 [4]byte
130763+ _ [4]byte
130764 Ac_etime uint64
130765 Ac_utime uint64
130766 Ac_stime uint64
130767@@ -741,55 +285,315 @@ type Taskstats struct {
130768 Cpu_scaled_run_real_total uint64
130769 Freepages_count uint64
130770 Freepages_delay_total uint64
130771+ Thrashing_count uint64
130772+ Thrashing_delay_total uint64
130773+ Ac_btime64 uint64
130774+}
130775+
130776+type cpuMask uint32
130777+
130778+const (
130779+ _NCPUBITS = 0x20
130780+)
130781+
130782+const (
130783+ CBitFieldMaskBit0 = 0x1
130784+ CBitFieldMaskBit1 = 0x2
130785+ CBitFieldMaskBit2 = 0x4
130786+ CBitFieldMaskBit3 = 0x8
130787+ CBitFieldMaskBit4 = 0x10
130788+ CBitFieldMaskBit5 = 0x20
130789+ CBitFieldMaskBit6 = 0x40
130790+ CBitFieldMaskBit7 = 0x80
130791+ CBitFieldMaskBit8 = 0x100
130792+ CBitFieldMaskBit9 = 0x200
130793+ CBitFieldMaskBit10 = 0x400
130794+ CBitFieldMaskBit11 = 0x800
130795+ CBitFieldMaskBit12 = 0x1000
130796+ CBitFieldMaskBit13 = 0x2000
130797+ CBitFieldMaskBit14 = 0x4000
130798+ CBitFieldMaskBit15 = 0x8000
130799+ CBitFieldMaskBit16 = 0x10000
130800+ CBitFieldMaskBit17 = 0x20000
130801+ CBitFieldMaskBit18 = 0x40000
130802+ CBitFieldMaskBit19 = 0x80000
130803+ CBitFieldMaskBit20 = 0x100000
130804+ CBitFieldMaskBit21 = 0x200000
130805+ CBitFieldMaskBit22 = 0x400000
130806+ CBitFieldMaskBit23 = 0x800000
130807+ CBitFieldMaskBit24 = 0x1000000
130808+ CBitFieldMaskBit25 = 0x2000000
130809+ CBitFieldMaskBit26 = 0x4000000
130810+ CBitFieldMaskBit27 = 0x8000000
130811+ CBitFieldMaskBit28 = 0x10000000
130812+ CBitFieldMaskBit29 = 0x20000000
130813+ CBitFieldMaskBit30 = 0x40000000
130814+ CBitFieldMaskBit31 = 0x80000000
130815+ CBitFieldMaskBit32 = 0x100000000
130816+ CBitFieldMaskBit33 = 0x200000000
130817+ CBitFieldMaskBit34 = 0x400000000
130818+ CBitFieldMaskBit35 = 0x800000000
130819+ CBitFieldMaskBit36 = 0x1000000000
130820+ CBitFieldMaskBit37 = 0x2000000000
130821+ CBitFieldMaskBit38 = 0x4000000000
130822+ CBitFieldMaskBit39 = 0x8000000000
130823+ CBitFieldMaskBit40 = 0x10000000000
130824+ CBitFieldMaskBit41 = 0x20000000000
130825+ CBitFieldMaskBit42 = 0x40000000000
130826+ CBitFieldMaskBit43 = 0x80000000000
130827+ CBitFieldMaskBit44 = 0x100000000000
130828+ CBitFieldMaskBit45 = 0x200000000000
130829+ CBitFieldMaskBit46 = 0x400000000000
130830+ CBitFieldMaskBit47 = 0x800000000000
130831+ CBitFieldMaskBit48 = 0x1000000000000
130832+ CBitFieldMaskBit49 = 0x2000000000000
130833+ CBitFieldMaskBit50 = 0x4000000000000
130834+ CBitFieldMaskBit51 = 0x8000000000000
130835+ CBitFieldMaskBit52 = 0x10000000000000
130836+ CBitFieldMaskBit53 = 0x20000000000000
130837+ CBitFieldMaskBit54 = 0x40000000000000
130838+ CBitFieldMaskBit55 = 0x80000000000000
130839+ CBitFieldMaskBit56 = 0x100000000000000
130840+ CBitFieldMaskBit57 = 0x200000000000000
130841+ CBitFieldMaskBit58 = 0x400000000000000
130842+ CBitFieldMaskBit59 = 0x800000000000000
130843+ CBitFieldMaskBit60 = 0x1000000000000000
130844+ CBitFieldMaskBit61 = 0x2000000000000000
130845+ CBitFieldMaskBit62 = 0x4000000000000000
130846+ CBitFieldMaskBit63 = 0x8000000000000000
130847+)
130848+
130849+type SockaddrStorage struct {
130850+ Family uint16
130851+ _ [122]int8
130852+ _ uint32
130853+}
130854+
130855+type HDGeometry struct {
130856+ Heads uint8
130857+ Sectors uint8
130858+ Cylinders uint16
130859+ Start uint32
130860+}
130861+
130862+type Statfs_t struct {
130863+ Type int32
130864+ Bsize int32
130865+ Blocks uint64
130866+ Bfree uint64
130867+ Bavail uint64
130868+ Files uint64
130869+ Ffree uint64
130870+ Fsid Fsid
130871+ Namelen int32
130872+ Frsize int32
130873+ Flags int32
130874+ Spare [4]int32
130875+}
130876+
130877+type TpacketHdr struct {
130878+ Status uint32
130879+ Len uint32
130880+ Snaplen uint32
130881+ Mac uint16
130882+ Net uint16
130883+ Sec uint32
130884+ Usec uint32
130885 }
130886
130887 const (
130888- TASKSTATS_CMD_UNSPEC = 0x0
130889- TASKSTATS_CMD_GET = 0x1
130890- TASKSTATS_CMD_NEW = 0x2
130891- TASKSTATS_TYPE_UNSPEC = 0x0
130892- TASKSTATS_TYPE_PID = 0x1
130893- TASKSTATS_TYPE_TGID = 0x2
130894- TASKSTATS_TYPE_STATS = 0x3
130895- TASKSTATS_TYPE_AGGR_PID = 0x4
130896- TASKSTATS_TYPE_AGGR_TGID = 0x5
130897- TASKSTATS_TYPE_NULL = 0x6
130898- TASKSTATS_CMD_ATTR_UNSPEC = 0x0
130899- TASKSTATS_CMD_ATTR_PID = 0x1
130900- TASKSTATS_CMD_ATTR_TGID = 0x2
130901- TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 0x3
130902- TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4
130903+ SizeofTpacketHdr = 0x18
130904 )
130905
130906-type Genlmsghdr struct {
130907- Cmd uint8
130908- Version uint8
130909- Reserved uint16
130910+type RTCPLLInfo struct {
130911+ Ctrl int32
130912+ Value int32
130913+ Max int32
130914+ Min int32
130915+ Posmult int32
130916+ Negmult int32
130917+ Clock int32
130918+}
130919+
130920+type BlkpgPartition struct {
130921+ Start int64
130922+ Length int64
130923+ Pno int32
130924+ Devname [64]uint8
130925+ Volname [64]uint8
130926 }
130927
130928 const (
130929- CTRL_CMD_UNSPEC = 0x0
130930- CTRL_CMD_NEWFAMILY = 0x1
130931- CTRL_CMD_DELFAMILY = 0x2
130932- CTRL_CMD_GETFAMILY = 0x3
130933- CTRL_CMD_NEWOPS = 0x4
130934- CTRL_CMD_DELOPS = 0x5
130935- CTRL_CMD_GETOPS = 0x6
130936- CTRL_CMD_NEWMCAST_GRP = 0x7
130937- CTRL_CMD_DELMCAST_GRP = 0x8
130938- CTRL_CMD_GETMCAST_GRP = 0x9
130939- CTRL_ATTR_UNSPEC = 0x0
130940- CTRL_ATTR_FAMILY_ID = 0x1
130941- CTRL_ATTR_FAMILY_NAME = 0x2
130942- CTRL_ATTR_VERSION = 0x3
130943- CTRL_ATTR_HDRSIZE = 0x4
130944- CTRL_ATTR_MAXATTR = 0x5
130945- CTRL_ATTR_OPS = 0x6
130946- CTRL_ATTR_MCAST_GROUPS = 0x7
130947- CTRL_ATTR_OP_UNSPEC = 0x0
130948- CTRL_ATTR_OP_ID = 0x1
130949- CTRL_ATTR_OP_FLAGS = 0x2
130950- CTRL_ATTR_MCAST_GRP_UNSPEC = 0x0
130951- CTRL_ATTR_MCAST_GRP_NAME = 0x1
130952- CTRL_ATTR_MCAST_GRP_ID = 0x2
130953+ BLKPG = 0x1269
130954 )
130955+
130956+type XDPUmemReg struct {
130957+ Addr uint64
130958+ Len uint64
130959+ Size uint32
130960+ Headroom uint32
130961+ Flags uint32
130962+}
130963+
130964+type CryptoUserAlg struct {
130965+ Name [64]int8
130966+ Driver_name [64]int8
130967+ Module_name [64]int8
130968+ Type uint32
130969+ Mask uint32
130970+ Refcnt uint32
130971+ Flags uint32
130972+}
130973+
130974+type CryptoStatAEAD struct {
130975+ Type [64]int8
130976+ Encrypt_cnt uint64
130977+ Encrypt_tlen uint64
130978+ Decrypt_cnt uint64
130979+ Decrypt_tlen uint64
130980+ Err_cnt uint64
130981+}
130982+
130983+type CryptoStatAKCipher struct {
130984+ Type [64]int8
130985+ Encrypt_cnt uint64
130986+ Encrypt_tlen uint64
130987+ Decrypt_cnt uint64
130988+ Decrypt_tlen uint64
130989+ Verify_cnt uint64
130990+ Sign_cnt uint64
130991+ Err_cnt uint64
130992+}
130993+
130994+type CryptoStatCipher struct {
130995+ Type [64]int8
130996+ Encrypt_cnt uint64
130997+ Encrypt_tlen uint64
130998+ Decrypt_cnt uint64
130999+ Decrypt_tlen uint64
131000+ Err_cnt uint64
131001+}
131002+
131003+type CryptoStatCompress struct {
131004+ Type [64]int8
131005+ Compress_cnt uint64
131006+ Compress_tlen uint64
131007+ Decompress_cnt uint64
131008+ Decompress_tlen uint64
131009+ Err_cnt uint64
131010+}
131011+
131012+type CryptoStatHash struct {
131013+ Type [64]int8
131014+ Hash_cnt uint64
131015+ Hash_tlen uint64
131016+ Err_cnt uint64
131017+}
131018+
131019+type CryptoStatKPP struct {
131020+ Type [64]int8
131021+ Setsecret_cnt uint64
131022+ Generate_public_key_cnt uint64
131023+ Compute_shared_secret_cnt uint64
131024+ Err_cnt uint64
131025+}
131026+
131027+type CryptoStatRNG struct {
131028+ Type [64]int8
131029+ Generate_cnt uint64
131030+ Generate_tlen uint64
131031+ Seed_cnt uint64
131032+ Err_cnt uint64
131033+}
131034+
131035+type CryptoStatLarval struct {
131036+ Type [64]int8
131037+}
131038+
131039+type CryptoReportLarval struct {
131040+ Type [64]int8
131041+}
131042+
131043+type CryptoReportHash struct {
131044+ Type [64]int8
131045+ Blocksize uint32
131046+ Digestsize uint32
131047+}
131048+
131049+type CryptoReportCipher struct {
131050+ Type [64]int8
131051+ Blocksize uint32
131052+ Min_keysize uint32
131053+ Max_keysize uint32
131054+}
131055+
131056+type CryptoReportBlkCipher struct {
131057+ Type [64]int8
131058+ Geniv [64]int8
131059+ Blocksize uint32
131060+ Min_keysize uint32
131061+ Max_keysize uint32
131062+ Ivsize uint32
131063+}
131064+
131065+type CryptoReportAEAD struct {
131066+ Type [64]int8
131067+ Geniv [64]int8
131068+ Blocksize uint32
131069+ Maxauthsize uint32
131070+ Ivsize uint32
131071+}
131072+
131073+type CryptoReportComp struct {
131074+ Type [64]int8
131075+}
131076+
131077+type CryptoReportRNG struct {
131078+ Type [64]int8
131079+ Seedsize uint32
131080+}
131081+
131082+type CryptoReportAKCipher struct {
131083+ Type [64]int8
131084+}
131085+
131086+type CryptoReportKPP struct {
131087+ Type [64]int8
131088+}
131089+
131090+type CryptoReportAcomp struct {
131091+ Type [64]int8
131092+}
131093+
131094+type LoopInfo struct {
131095+ Number int32
131096+ Device uint16
131097+ Inode uint32
131098+ Rdevice uint16
131099+ Offset int32
131100+ Encrypt_type int32
131101+ Encrypt_key_size int32
131102+ Flags int32
131103+ Name [64]int8
131104+ Encrypt_key [32]uint8
131105+ Init [2]uint32
131106+ Reserved [4]int8
131107+}
131108+
131109+type TIPCSubscr struct {
131110+ Seq TIPCServiceRange
131111+ Timeout uint32
131112+ Filter uint32
131113+ Handle [8]int8
131114+}
131115+
131116+type TIPCSIOCLNReq struct {
131117+ Peer uint32
131118+ Id uint32
131119+ Linkname [68]int8
131120+}
131121+
131122+type TIPCSIOCNodeIDReq struct {
131123+ Peer uint32
131124+ Id [16]int8
131125+}
131126diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go
131127index e54fa984..201fb348 100644
131128--- a/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go
131129+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go
131130@@ -6,19 +6,12 @@
131131 package unix
131132
131133 const (
131134- sizeofPtr = 0x8
131135- sizeofShort = 0x2
131136- sizeofInt = 0x4
131137- sizeofLong = 0x8
131138- sizeofLongLong = 0x8
131139- PathMax = 0x1000
131140+ SizeofPtr = 0x8
131141+ SizeofLong = 0x8
131142 )
131143
131144 type (
131145- _C_short int16
131146- _C_int int32
131147- _C_long int64
131148- _C_long_long int64
131149+ _C_long int64
131150 )
131151
131152 type Timespec struct {
131153@@ -33,13 +26,11 @@ type Timeval struct {
131154
131155 type Timex struct {
131156 Modes uint32
131157- Pad_cgo_0 [4]byte
131158 Offset int64
131159 Freq int64
131160 Maxerror int64
131161 Esterror int64
131162 Status int32
131163- Pad_cgo_1 [4]byte
131164 Constant int64
131165 Precision int64
131166 Tolerance int64
131167@@ -48,14 +39,13 @@ type Timex struct {
131168 Ppsfreq int64
131169 Jitter int64
131170 Shift int32
131171- Pad_cgo_2 [4]byte
131172 Stabil int64
131173 Jitcnt int64
131174 Calcnt int64
131175 Errcnt int64
131176 Stbcnt int64
131177 Tai int32
131178- Pad_cgo_3 [44]byte
131179+ _ [44]byte
131180 }
131181
131182 type Time_t int64
131183@@ -91,13 +81,6 @@ type Rusage struct {
131184 Nivcsw int64
131185 }
131186
131187-type Rlimit struct {
131188- Cur uint64
131189- Max uint64
131190-}
131191-
131192-type _Gid_t uint32
131193-
131194 type Stat_t struct {
131195 Dev uint64
131196 Ino uint64
131197@@ -105,7 +88,7 @@ type Stat_t struct {
131198 Mode uint32
131199 Uid uint32
131200 Gid uint32
131201- X__pad0 int32
131202+ _ int32
131203 Rdev uint64
131204 Size int64
131205 Blksize int64
131206@@ -116,139 +99,29 @@ type Stat_t struct {
131207 _ [3]int64
131208 }
131209
131210-type Statfs_t struct {
131211- Type int64
131212- Bsize int64
131213- Blocks uint64
131214- Bfree uint64
131215- Bavail uint64
131216- Files uint64
131217- Ffree uint64
131218- Fsid Fsid
131219- Namelen int64
131220- Frsize int64
131221- Flags int64
131222- Spare [4]int64
131223-}
131224-
131225 type Dirent struct {
131226- Ino uint64
131227- Off int64
131228- Reclen uint16
131229- Type uint8
131230- Name [256]int8
131231- Pad_cgo_0 [5]byte
131232-}
131233-
131234-type Fsid struct {
131235- X__val [2]int32
131236+ Ino uint64
131237+ Off int64
131238+ Reclen uint16
131239+ Type uint8
131240+ Name [256]int8
131241+ _ [5]byte
131242 }
131243
131244 type Flock_t struct {
131245- Type int16
131246- Whence int16
131247- Pad_cgo_0 [4]byte
131248- Start int64
131249- Len int64
131250- Pid int32
131251- Pad_cgo_1 [4]byte
131252-}
131253-
131254-type FscryptPolicy struct {
131255- Version uint8
131256- Contents_encryption_mode uint8
131257- Filenames_encryption_mode uint8
131258- Flags uint8
131259- Master_key_descriptor [8]uint8
131260-}
131261-
131262-type FscryptKey struct {
131263- Mode uint32
131264- Raw [64]uint8
131265- Size uint32
131266-}
131267-
131268-type KeyctlDHParams struct {
131269- Private int32
131270- Prime int32
131271- Base int32
131272+ Type int16
131273+ Whence int16
131274+ Start int64
131275+ Len int64
131276+ Pid int32
131277+ _ [4]byte
131278 }
131279
131280 const (
131281- FADV_NORMAL = 0x0
131282- FADV_RANDOM = 0x1
131283- FADV_SEQUENTIAL = 0x2
131284- FADV_WILLNEED = 0x3
131285- FADV_DONTNEED = 0x4
131286- FADV_NOREUSE = 0x5
131287+ FADV_DONTNEED = 0x4
131288+ FADV_NOREUSE = 0x5
131289 )
131290
131291-type RawSockaddrInet4 struct {
131292- Family uint16
131293- Port uint16
131294- Addr [4]byte /* in_addr */
131295- Zero [8]uint8
131296-}
131297-
131298-type RawSockaddrInet6 struct {
131299- Family uint16
131300- Port uint16
131301- Flowinfo uint32
131302- Addr [16]byte /* in6_addr */
131303- Scope_id uint32
131304-}
131305-
131306-type RawSockaddrUnix struct {
131307- Family uint16
131308- Path [108]int8
131309-}
131310-
131311-type RawSockaddrLinklayer struct {
131312- Family uint16
131313- Protocol uint16
131314- Ifindex int32
131315- Hatype uint16
131316- Pkttype uint8
131317- Halen uint8
131318- Addr [8]uint8
131319-}
131320-
131321-type RawSockaddrNetlink struct {
131322- Family uint16
131323- Pad uint16
131324- Pid uint32
131325- Groups uint32
131326-}
131327-
131328-type RawSockaddrHCI struct {
131329- Family uint16
131330- Dev uint16
131331- Channel uint16
131332-}
131333-
131334-type RawSockaddrCAN struct {
131335- Family uint16
131336- Pad_cgo_0 [2]byte
131337- Ifindex int32
131338- Addr [8]byte
131339-}
131340-
131341-type RawSockaddrALG struct {
131342- Family uint16
131343- Type [14]uint8
131344- Feat uint32
131345- Mask uint32
131346- Name [64]uint8
131347-}
131348-
131349-type RawSockaddrVM struct {
131350- Family uint16
131351- Reserved1 uint16
131352- Port uint32
131353- Cid uint32
131354- Zero [4]uint8
131355-}
131356-
131357 type RawSockaddr struct {
131358 Family uint16
131359 Data [14]int8
131360@@ -259,51 +132,20 @@ type RawSockaddrAny struct {
131361 Pad [96]int8
131362 }
131363
131364-type _Socklen uint32
131365-
131366-type Linger struct {
131367- Onoff int32
131368- Linger int32
131369-}
131370-
131371 type Iovec struct {
131372 Base *byte
131373 Len uint64
131374 }
131375
131376-type IPMreq struct {
131377- Multiaddr [4]byte /* in_addr */
131378- Interface [4]byte /* in_addr */
131379-}
131380-
131381-type IPMreqn struct {
131382- Multiaddr [4]byte /* in_addr */
131383- Address [4]byte /* in_addr */
131384- Ifindex int32
131385-}
131386-
131387-type IPv6Mreq struct {
131388- Multiaddr [16]byte /* in6_addr */
131389- Interface uint32
131390-}
131391-
131392-type PacketMreq struct {
131393- Ifindex int32
131394- Type uint16
131395- Alen uint16
131396- Address [8]uint8
131397-}
131398-
131399 type Msghdr struct {
131400 Name *byte
131401 Namelen uint32
131402- Pad_cgo_0 [4]byte
131403 Iov *Iovec
131404 Iovlen uint64
131405 Control *byte
131406 Controllen uint64
131407 Flags int32
131408- Pad_cgo_1 [4]byte
131409+ _ [4]byte
131410 }
131411
131412 type Cmsghdr struct {
131413@@ -312,277 +154,16 @@ type Cmsghdr struct {
131414 Type int32
131415 }
131416
131417-type Inet4Pktinfo struct {
131418- Ifindex int32
131419- Spec_dst [4]byte /* in_addr */
131420- Addr [4]byte /* in_addr */
131421-}
131422-
131423-type Inet6Pktinfo struct {
131424- Addr [16]byte /* in6_addr */
131425- Ifindex uint32
131426-}
131427-
131428-type IPv6MTUInfo struct {
131429- Addr RawSockaddrInet6
131430- Mtu uint32
131431-}
131432-
131433-type ICMPv6Filter struct {
131434- Data [8]uint32
131435-}
131436-
131437-type Ucred struct {
131438- Pid int32
131439- Uid uint32
131440- Gid uint32
131441-}
131442-
131443-type TCPInfo struct {
131444- State uint8
131445- Ca_state uint8
131446- Retransmits uint8
131447- Probes uint8
131448- Backoff uint8
131449- Options uint8
131450- Pad_cgo_0 [2]byte
131451- Rto uint32
131452- Ato uint32
131453- Snd_mss uint32
131454- Rcv_mss uint32
131455- Unacked uint32
131456- Sacked uint32
131457- Lost uint32
131458- Retrans uint32
131459- Fackets uint32
131460- Last_data_sent uint32
131461- Last_ack_sent uint32
131462- Last_data_recv uint32
131463- Last_ack_recv uint32
131464- Pmtu uint32
131465- Rcv_ssthresh uint32
131466- Rtt uint32
131467- Rttvar uint32
131468- Snd_ssthresh uint32
131469- Snd_cwnd uint32
131470- Advmss uint32
131471- Reordering uint32
131472- Rcv_rtt uint32
131473- Rcv_space uint32
131474- Total_retrans uint32
131475-}
131476-
131477 const (
131478- SizeofSockaddrInet4 = 0x10
131479- SizeofSockaddrInet6 = 0x1c
131480- SizeofSockaddrAny = 0x70
131481- SizeofSockaddrUnix = 0x6e
131482- SizeofSockaddrLinklayer = 0x14
131483- SizeofSockaddrNetlink = 0xc
131484- SizeofSockaddrHCI = 0x6
131485- SizeofSockaddrCAN = 0x10
131486- SizeofSockaddrALG = 0x58
131487- SizeofSockaddrVM = 0x10
131488- SizeofLinger = 0x8
131489- SizeofIovec = 0x10
131490- SizeofIPMreq = 0x8
131491- SizeofIPMreqn = 0xc
131492- SizeofIPv6Mreq = 0x14
131493- SizeofPacketMreq = 0x10
131494- SizeofMsghdr = 0x38
131495- SizeofCmsghdr = 0x10
131496- SizeofInet4Pktinfo = 0xc
131497- SizeofInet6Pktinfo = 0x14
131498- SizeofIPv6MTUInfo = 0x20
131499- SizeofICMPv6Filter = 0x20
131500- SizeofUcred = 0xc
131501- SizeofTCPInfo = 0x68
131502+ SizeofIovec = 0x10
131503+ SizeofMsghdr = 0x38
131504+ SizeofCmsghdr = 0x10
131505 )
131506
131507 const (
131508- IFA_UNSPEC = 0x0
131509- IFA_ADDRESS = 0x1
131510- IFA_LOCAL = 0x2
131511- IFA_LABEL = 0x3
131512- IFA_BROADCAST = 0x4
131513- IFA_ANYCAST = 0x5
131514- IFA_CACHEINFO = 0x6
131515- IFA_MULTICAST = 0x7
131516- IFLA_UNSPEC = 0x0
131517- IFLA_ADDRESS = 0x1
131518- IFLA_BROADCAST = 0x2
131519- IFLA_IFNAME = 0x3
131520- IFLA_MTU = 0x4
131521- IFLA_LINK = 0x5
131522- IFLA_QDISC = 0x6
131523- IFLA_STATS = 0x7
131524- IFLA_COST = 0x8
131525- IFLA_PRIORITY = 0x9
131526- IFLA_MASTER = 0xa
131527- IFLA_WIRELESS = 0xb
131528- IFLA_PROTINFO = 0xc
131529- IFLA_TXQLEN = 0xd
131530- IFLA_MAP = 0xe
131531- IFLA_WEIGHT = 0xf
131532- IFLA_OPERSTATE = 0x10
131533- IFLA_LINKMODE = 0x11
131534- IFLA_LINKINFO = 0x12
131535- IFLA_NET_NS_PID = 0x13
131536- IFLA_IFALIAS = 0x14
131537- IFLA_MAX = 0x2b
131538- RT_SCOPE_UNIVERSE = 0x0
131539- RT_SCOPE_SITE = 0xc8
131540- RT_SCOPE_LINK = 0xfd
131541- RT_SCOPE_HOST = 0xfe
131542- RT_SCOPE_NOWHERE = 0xff
131543- RT_TABLE_UNSPEC = 0x0
131544- RT_TABLE_COMPAT = 0xfc
131545- RT_TABLE_DEFAULT = 0xfd
131546- RT_TABLE_MAIN = 0xfe
131547- RT_TABLE_LOCAL = 0xff
131548- RT_TABLE_MAX = 0xffffffff
131549- RTA_UNSPEC = 0x0
131550- RTA_DST = 0x1
131551- RTA_SRC = 0x2
131552- RTA_IIF = 0x3
131553- RTA_OIF = 0x4
131554- RTA_GATEWAY = 0x5
131555- RTA_PRIORITY = 0x6
131556- RTA_PREFSRC = 0x7
131557- RTA_METRICS = 0x8
131558- RTA_MULTIPATH = 0x9
131559- RTA_FLOW = 0xb
131560- RTA_CACHEINFO = 0xc
131561- RTA_TABLE = 0xf
131562- RTN_UNSPEC = 0x0
131563- RTN_UNICAST = 0x1
131564- RTN_LOCAL = 0x2
131565- RTN_BROADCAST = 0x3
131566- RTN_ANYCAST = 0x4
131567- RTN_MULTICAST = 0x5
131568- RTN_BLACKHOLE = 0x6
131569- RTN_UNREACHABLE = 0x7
131570- RTN_PROHIBIT = 0x8
131571- RTN_THROW = 0x9
131572- RTN_NAT = 0xa
131573- RTN_XRESOLVE = 0xb
131574- RTNLGRP_NONE = 0x0
131575- RTNLGRP_LINK = 0x1
131576- RTNLGRP_NOTIFY = 0x2
131577- RTNLGRP_NEIGH = 0x3
131578- RTNLGRP_TC = 0x4
131579- RTNLGRP_IPV4_IFADDR = 0x5
131580- RTNLGRP_IPV4_MROUTE = 0x6
131581- RTNLGRP_IPV4_ROUTE = 0x7
131582- RTNLGRP_IPV4_RULE = 0x8
131583- RTNLGRP_IPV6_IFADDR = 0x9
131584- RTNLGRP_IPV6_MROUTE = 0xa
131585- RTNLGRP_IPV6_ROUTE = 0xb
131586- RTNLGRP_IPV6_IFINFO = 0xc
131587- RTNLGRP_IPV6_PREFIX = 0x12
131588- RTNLGRP_IPV6_RULE = 0x13
131589- RTNLGRP_ND_USEROPT = 0x14
131590- SizeofNlMsghdr = 0x10
131591- SizeofNlMsgerr = 0x14
131592- SizeofRtGenmsg = 0x1
131593- SizeofNlAttr = 0x4
131594- SizeofRtAttr = 0x4
131595- SizeofIfInfomsg = 0x10
131596- SizeofIfAddrmsg = 0x8
131597- SizeofRtMsg = 0xc
131598- SizeofRtNexthop = 0x8
131599+ SizeofSockFprog = 0x10
131600 )
131601
131602-type NlMsghdr struct {
131603- Len uint32
131604- Type uint16
131605- Flags uint16
131606- Seq uint32
131607- Pid uint32
131608-}
131609-
131610-type NlMsgerr struct {
131611- Error int32
131612- Msg NlMsghdr
131613-}
131614-
131615-type RtGenmsg struct {
131616- Family uint8
131617-}
131618-
131619-type NlAttr struct {
131620- Len uint16
131621- Type uint16
131622-}
131623-
131624-type RtAttr struct {
131625- Len uint16
131626- Type uint16
131627-}
131628-
131629-type IfInfomsg struct {
131630- Family uint8
131631- X__ifi_pad uint8
131632- Type uint16
131633- Index int32
131634- Flags uint32
131635- Change uint32
131636-}
131637-
131638-type IfAddrmsg struct {
131639- Family uint8
131640- Prefixlen uint8
131641- Flags uint8
131642- Scope uint8
131643- Index uint32
131644-}
131645-
131646-type RtMsg struct {
131647- Family uint8
131648- Dst_len uint8
131649- Src_len uint8
131650- Tos uint8
131651- Table uint8
131652- Protocol uint8
131653- Scope uint8
131654- Type uint8
131655- Flags uint32
131656-}
131657-
131658-type RtNexthop struct {
131659- Len uint16
131660- Flags uint8
131661- Hops uint8
131662- Ifindex int32
131663-}
131664-
131665-const (
131666- SizeofSockFilter = 0x8
131667- SizeofSockFprog = 0x10
131668-)
131669-
131670-type SockFilter struct {
131671- Code uint16
131672- Jt uint8
131673- Jf uint8
131674- K uint32
131675-}
131676-
131677-type SockFprog struct {
131678- Len uint16
131679- Pad_cgo_0 [6]byte
131680- Filter *SockFilter
131681-}
131682-
131683-type InotifyEvent struct {
131684- Wd int32
131685- Mask uint32
131686- Cookie uint32
131687- Len uint32
131688-}
131689-
131690-const SizeofInotifyEvent = 0x10
131691-
131692 type PtraceRegs struct {
131693 R15 uint64
131694 R14 uint64
131695@@ -628,30 +209,19 @@ type Sysinfo_t struct {
131696 Freeswap uint64
131697 Procs uint16
131698 Pad uint16
131699- Pad_cgo_0 [4]byte
131700 Totalhigh uint64
131701 Freehigh uint64
131702 Unit uint32
131703- X_f [0]int8
131704- Pad_cgo_1 [4]byte
131705-}
131706-
131707-type Utsname struct {
131708- Sysname [65]int8
131709- Nodename [65]int8
131710- Release [65]int8
131711- Version [65]int8
131712- Machine [65]int8
131713- Domainname [65]int8
131714+ _ [0]int8
131715+ _ [4]byte
131716 }
131717
131718 type Ustat_t struct {
131719- Tfree int32
131720- Pad_cgo_0 [4]byte
131721- Tinode uint64
131722- Fname [6]int8
131723- Fpack [6]int8
131724- Pad_cgo_1 [4]byte
131725+ Tfree int32
131726+ Tinode uint64
131727+ Fname [6]int8
131728+ Fpack [6]int8
131729+ _ [4]byte
131730 }
131731
131732 type EpollEvent struct {
131733@@ -661,37 +231,14 @@ type EpollEvent struct {
131734 }
131735
131736 const (
131737- AT_FDCWD = -0x64
131738- AT_REMOVEDIR = 0x200
131739- AT_SYMLINK_FOLLOW = 0x400
131740- AT_SYMLINK_NOFOLLOW = 0x100
131741-)
131742-
131743-type PollFd struct {
131744- Fd int32
131745- Events int16
131746- Revents int16
131747-}
131748-
131749-const (
131750- POLLIN = 0x1
131751- POLLPRI = 0x2
131752- POLLOUT = 0x4
131753 POLLRDHUP = 0x2000
131754- POLLERR = 0x8
131755- POLLHUP = 0x10
131756- POLLNVAL = 0x20
131757 )
131758
131759 type Sigset_t struct {
131760- X__val [16]uint64
131761+ Val [16]uint64
131762 }
131763
131764-const RNDGETENTCNT = 0x80045200
131765-
131766-const PERF_IOC_FLAG_GROUP = 0x1
131767-
131768-const _SC_PAGESIZE = 0x1e
131769+const _C__NSIG = 0x41
131770
131771 type Termios struct {
131772 Iflag uint32
131773@@ -704,20 +251,11 @@ type Termios struct {
131774 Ospeed uint32
131775 }
131776
131777-type Winsize struct {
131778- Row uint16
131779- Col uint16
131780- Xpixel uint16
131781- Ypixel uint16
131782-}
131783-
131784 type Taskstats struct {
131785 Version uint16
131786- Pad_cgo_0 [2]byte
131787 Ac_exitcode uint32
131788 Ac_flag uint8
131789 Ac_nice uint8
131790- Pad_cgo_1 [6]byte
131791 Cpu_count uint64
131792 Cpu_delay_total uint64
131793 Blkio_count uint64
131794@@ -729,13 +267,12 @@ type Taskstats struct {
131795 Ac_comm [32]int8
131796 Ac_sched uint8
131797 Ac_pad [3]uint8
131798- Pad_cgo_2 [4]byte
131799+ _ [4]byte
131800 Ac_uid uint32
131801 Ac_gid uint32
131802 Ac_pid uint32
131803 Ac_ppid uint32
131804 Ac_btime uint32
131805- Pad_cgo_3 [4]byte
131806 Ac_etime uint64
131807 Ac_utime uint64
131808 Ac_stime uint64
131809@@ -759,55 +296,319 @@ type Taskstats struct {
131810 Cpu_scaled_run_real_total uint64
131811 Freepages_count uint64
131812 Freepages_delay_total uint64
131813+ Thrashing_count uint64
131814+ Thrashing_delay_total uint64
131815+ Ac_btime64 uint64
131816 }
131817
131818+type cpuMask uint64
131819+
131820 const (
131821- TASKSTATS_CMD_UNSPEC = 0x0
131822- TASKSTATS_CMD_GET = 0x1
131823- TASKSTATS_CMD_NEW = 0x2
131824- TASKSTATS_TYPE_UNSPEC = 0x0
131825- TASKSTATS_TYPE_PID = 0x1
131826- TASKSTATS_TYPE_TGID = 0x2
131827- TASKSTATS_TYPE_STATS = 0x3
131828- TASKSTATS_TYPE_AGGR_PID = 0x4
131829- TASKSTATS_TYPE_AGGR_TGID = 0x5
131830- TASKSTATS_TYPE_NULL = 0x6
131831- TASKSTATS_CMD_ATTR_UNSPEC = 0x0
131832- TASKSTATS_CMD_ATTR_PID = 0x1
131833- TASKSTATS_CMD_ATTR_TGID = 0x2
131834- TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 0x3
131835- TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4
131836+ _NCPUBITS = 0x40
131837 )
131838
131839-type Genlmsghdr struct {
131840- Cmd uint8
131841- Version uint8
131842- Reserved uint16
131843+const (
131844+ CBitFieldMaskBit0 = 0x1
131845+ CBitFieldMaskBit1 = 0x2
131846+ CBitFieldMaskBit2 = 0x4
131847+ CBitFieldMaskBit3 = 0x8
131848+ CBitFieldMaskBit4 = 0x10
131849+ CBitFieldMaskBit5 = 0x20
131850+ CBitFieldMaskBit6 = 0x40
131851+ CBitFieldMaskBit7 = 0x80
131852+ CBitFieldMaskBit8 = 0x100
131853+ CBitFieldMaskBit9 = 0x200
131854+ CBitFieldMaskBit10 = 0x400
131855+ CBitFieldMaskBit11 = 0x800
131856+ CBitFieldMaskBit12 = 0x1000
131857+ CBitFieldMaskBit13 = 0x2000
131858+ CBitFieldMaskBit14 = 0x4000
131859+ CBitFieldMaskBit15 = 0x8000
131860+ CBitFieldMaskBit16 = 0x10000
131861+ CBitFieldMaskBit17 = 0x20000
131862+ CBitFieldMaskBit18 = 0x40000
131863+ CBitFieldMaskBit19 = 0x80000
131864+ CBitFieldMaskBit20 = 0x100000
131865+ CBitFieldMaskBit21 = 0x200000
131866+ CBitFieldMaskBit22 = 0x400000
131867+ CBitFieldMaskBit23 = 0x800000
131868+ CBitFieldMaskBit24 = 0x1000000
131869+ CBitFieldMaskBit25 = 0x2000000
131870+ CBitFieldMaskBit26 = 0x4000000
131871+ CBitFieldMaskBit27 = 0x8000000
131872+ CBitFieldMaskBit28 = 0x10000000
131873+ CBitFieldMaskBit29 = 0x20000000
131874+ CBitFieldMaskBit30 = 0x40000000
131875+ CBitFieldMaskBit31 = 0x80000000
131876+ CBitFieldMaskBit32 = 0x100000000
131877+ CBitFieldMaskBit33 = 0x200000000
131878+ CBitFieldMaskBit34 = 0x400000000
131879+ CBitFieldMaskBit35 = 0x800000000
131880+ CBitFieldMaskBit36 = 0x1000000000
131881+ CBitFieldMaskBit37 = 0x2000000000
131882+ CBitFieldMaskBit38 = 0x4000000000
131883+ CBitFieldMaskBit39 = 0x8000000000
131884+ CBitFieldMaskBit40 = 0x10000000000
131885+ CBitFieldMaskBit41 = 0x20000000000
131886+ CBitFieldMaskBit42 = 0x40000000000
131887+ CBitFieldMaskBit43 = 0x80000000000
131888+ CBitFieldMaskBit44 = 0x100000000000
131889+ CBitFieldMaskBit45 = 0x200000000000
131890+ CBitFieldMaskBit46 = 0x400000000000
131891+ CBitFieldMaskBit47 = 0x800000000000
131892+ CBitFieldMaskBit48 = 0x1000000000000
131893+ CBitFieldMaskBit49 = 0x2000000000000
131894+ CBitFieldMaskBit50 = 0x4000000000000
131895+ CBitFieldMaskBit51 = 0x8000000000000
131896+ CBitFieldMaskBit52 = 0x10000000000000
131897+ CBitFieldMaskBit53 = 0x20000000000000
131898+ CBitFieldMaskBit54 = 0x40000000000000
131899+ CBitFieldMaskBit55 = 0x80000000000000
131900+ CBitFieldMaskBit56 = 0x100000000000000
131901+ CBitFieldMaskBit57 = 0x200000000000000
131902+ CBitFieldMaskBit58 = 0x400000000000000
131903+ CBitFieldMaskBit59 = 0x800000000000000
131904+ CBitFieldMaskBit60 = 0x1000000000000000
131905+ CBitFieldMaskBit61 = 0x2000000000000000
131906+ CBitFieldMaskBit62 = 0x4000000000000000
131907+ CBitFieldMaskBit63 = 0x8000000000000000
131908+)
131909+
131910+type SockaddrStorage struct {
131911+ Family uint16
131912+ _ [118]int8
131913+ _ uint64
131914+}
131915+
131916+type HDGeometry struct {
131917+ Heads uint8
131918+ Sectors uint8
131919+ Cylinders uint16
131920+ Start uint64
131921+}
131922+
131923+type Statfs_t struct {
131924+ Type int64
131925+ Bsize int64
131926+ Blocks uint64
131927+ Bfree uint64
131928+ Bavail uint64
131929+ Files uint64
131930+ Ffree uint64
131931+ Fsid Fsid
131932+ Namelen int64
131933+ Frsize int64
131934+ Flags int64
131935+ Spare [4]int64
131936+}
131937+
131938+type TpacketHdr struct {
131939+ Status uint64
131940+ Len uint32
131941+ Snaplen uint32
131942+ Mac uint16
131943+ Net uint16
131944+ Sec uint32
131945+ Usec uint32
131946+ _ [4]byte
131947 }
131948
131949 const (
131950- CTRL_CMD_UNSPEC = 0x0
131951- CTRL_CMD_NEWFAMILY = 0x1
131952- CTRL_CMD_DELFAMILY = 0x2
131953- CTRL_CMD_GETFAMILY = 0x3
131954- CTRL_CMD_NEWOPS = 0x4
131955- CTRL_CMD_DELOPS = 0x5
131956- CTRL_CMD_GETOPS = 0x6
131957- CTRL_CMD_NEWMCAST_GRP = 0x7
131958- CTRL_CMD_DELMCAST_GRP = 0x8
131959- CTRL_CMD_GETMCAST_GRP = 0x9
131960- CTRL_ATTR_UNSPEC = 0x0
131961- CTRL_ATTR_FAMILY_ID = 0x1
131962- CTRL_ATTR_FAMILY_NAME = 0x2
131963- CTRL_ATTR_VERSION = 0x3
131964- CTRL_ATTR_HDRSIZE = 0x4
131965- CTRL_ATTR_MAXATTR = 0x5
131966- CTRL_ATTR_OPS = 0x6
131967- CTRL_ATTR_MCAST_GROUPS = 0x7
131968- CTRL_ATTR_OP_UNSPEC = 0x0
131969- CTRL_ATTR_OP_ID = 0x1
131970- CTRL_ATTR_OP_FLAGS = 0x2
131971- CTRL_ATTR_MCAST_GRP_UNSPEC = 0x0
131972- CTRL_ATTR_MCAST_GRP_NAME = 0x1
131973- CTRL_ATTR_MCAST_GRP_ID = 0x2
131974+ SizeofTpacketHdr = 0x20
131975 )
131976+
131977+type RTCPLLInfo struct {
131978+ Ctrl int32
131979+ Value int32
131980+ Max int32
131981+ Min int32
131982+ Posmult int32
131983+ Negmult int32
131984+ Clock int64
131985+}
131986+
131987+type BlkpgPartition struct {
131988+ Start int64
131989+ Length int64
131990+ Pno int32
131991+ Devname [64]uint8
131992+ Volname [64]uint8
131993+ _ [4]byte
131994+}
131995+
131996+const (
131997+ BLKPG = 0x1269
131998+)
131999+
132000+type XDPUmemReg struct {
132001+ Addr uint64
132002+ Len uint64
132003+ Size uint32
132004+ Headroom uint32
132005+ Flags uint32
132006+ _ [4]byte
132007+}
132008+
132009+type CryptoUserAlg struct {
132010+ Name [64]int8
132011+ Driver_name [64]int8
132012+ Module_name [64]int8
132013+ Type uint32
132014+ Mask uint32
132015+ Refcnt uint32
132016+ Flags uint32
132017+}
132018+
132019+type CryptoStatAEAD struct {
132020+ Type [64]int8
132021+ Encrypt_cnt uint64
132022+ Encrypt_tlen uint64
132023+ Decrypt_cnt uint64
132024+ Decrypt_tlen uint64
132025+ Err_cnt uint64
132026+}
132027+
132028+type CryptoStatAKCipher struct {
132029+ Type [64]int8
132030+ Encrypt_cnt uint64
132031+ Encrypt_tlen uint64
132032+ Decrypt_cnt uint64
132033+ Decrypt_tlen uint64
132034+ Verify_cnt uint64
132035+ Sign_cnt uint64
132036+ Err_cnt uint64
132037+}
132038+
132039+type CryptoStatCipher struct {
132040+ Type [64]int8
132041+ Encrypt_cnt uint64
132042+ Encrypt_tlen uint64
132043+ Decrypt_cnt uint64
132044+ Decrypt_tlen uint64
132045+ Err_cnt uint64
132046+}
132047+
132048+type CryptoStatCompress struct {
132049+ Type [64]int8
132050+ Compress_cnt uint64
132051+ Compress_tlen uint64
132052+ Decompress_cnt uint64
132053+ Decompress_tlen uint64
132054+ Err_cnt uint64
132055+}
132056+
132057+type CryptoStatHash struct {
132058+ Type [64]int8
132059+ Hash_cnt uint64
132060+ Hash_tlen uint64
132061+ Err_cnt uint64
132062+}
132063+
132064+type CryptoStatKPP struct {
132065+ Type [64]int8
132066+ Setsecret_cnt uint64
132067+ Generate_public_key_cnt uint64
132068+ Compute_shared_secret_cnt uint64
132069+ Err_cnt uint64
132070+}
132071+
132072+type CryptoStatRNG struct {
132073+ Type [64]int8
132074+ Generate_cnt uint64
132075+ Generate_tlen uint64
132076+ Seed_cnt uint64
132077+ Err_cnt uint64
132078+}
132079+
132080+type CryptoStatLarval struct {
132081+ Type [64]int8
132082+}
132083+
132084+type CryptoReportLarval struct {
132085+ Type [64]int8
132086+}
132087+
132088+type CryptoReportHash struct {
132089+ Type [64]int8
132090+ Blocksize uint32
132091+ Digestsize uint32
132092+}
132093+
132094+type CryptoReportCipher struct {
132095+ Type [64]int8
132096+ Blocksize uint32
132097+ Min_keysize uint32
132098+ Max_keysize uint32
132099+}
132100+
132101+type CryptoReportBlkCipher struct {
132102+ Type [64]int8
132103+ Geniv [64]int8
132104+ Blocksize uint32
132105+ Min_keysize uint32
132106+ Max_keysize uint32
132107+ Ivsize uint32
132108+}
132109+
132110+type CryptoReportAEAD struct {
132111+ Type [64]int8
132112+ Geniv [64]int8
132113+ Blocksize uint32
132114+ Maxauthsize uint32
132115+ Ivsize uint32
132116+}
132117+
132118+type CryptoReportComp struct {
132119+ Type [64]int8
132120+}
132121+
132122+type CryptoReportRNG struct {
132123+ Type [64]int8
132124+ Seedsize uint32
132125+}
132126+
132127+type CryptoReportAKCipher struct {
132128+ Type [64]int8
132129+}
132130+
132131+type CryptoReportKPP struct {
132132+ Type [64]int8
132133+}
132134+
132135+type CryptoReportAcomp struct {
132136+ Type [64]int8
132137+}
132138+
132139+type LoopInfo struct {
132140+ Number int32
132141+ Device uint64
132142+ Inode uint64
132143+ Rdevice uint64
132144+ Offset int32
132145+ Encrypt_type int32
132146+ Encrypt_key_size int32
132147+ Flags int32
132148+ Name [64]int8
132149+ Encrypt_key [32]uint8
132150+ Init [2]uint64
132151+ Reserved [4]int8
132152+ _ [4]byte
132153+}
132154+
132155+type TIPCSubscr struct {
132156+ Seq TIPCServiceRange
132157+ Timeout uint32
132158+ Filter uint32
132159+ Handle [8]int8
132160+}
132161+
132162+type TIPCSIOCLNReq struct {
132163+ Peer uint32
132164+ Id uint32
132165+ Linkname [68]int8
132166+}
132167+
132168+type TIPCSIOCNodeIDReq struct {
132169+ Peer uint32
132170+ Id [16]int8
132171+}
132172diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go b/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go
132173index bff6ce25..8051b561 100644
132174--- a/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go
132175+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go
132176@@ -6,19 +6,12 @@
132177 package unix
132178
132179 const (
132180- sizeofPtr = 0x4
132181- sizeofShort = 0x2
132182- sizeofInt = 0x4
132183- sizeofLong = 0x4
132184- sizeofLongLong = 0x8
132185- PathMax = 0x1000
132186+ SizeofPtr = 0x4
132187+ SizeofLong = 0x4
132188 )
132189
132190 type (
132191- _C_short int16
132192- _C_int int32
132193- _C_long int32
132194- _C_long_long int64
132195+ _C_long int32
132196 )
132197
132198 type Timespec struct {
132199@@ -52,7 +45,7 @@ type Timex struct {
132200 Errcnt int32
132201 Stbcnt int32
132202 Tai int32
132203- Pad_cgo_0 [44]byte
132204+ _ [44]byte
132205 }
132206
132207 type Time_t int32
132208@@ -88,169 +81,51 @@ type Rusage struct {
132209 Nivcsw int32
132210 }
132211
132212-type Rlimit struct {
132213- Cur uint64
132214- Max uint64
132215-}
132216-
132217-type _Gid_t uint32
132218-
132219 type Stat_t struct {
132220- Dev uint64
132221- X__pad1 uint16
132222- Pad_cgo_0 [2]byte
132223- X__st_ino uint32
132224- Mode uint32
132225- Nlink uint32
132226- Uid uint32
132227- Gid uint32
132228- Rdev uint64
132229- X__pad2 uint16
132230- Pad_cgo_1 [6]byte
132231- Size int64
132232- Blksize int32
132233- Pad_cgo_2 [4]byte
132234- Blocks int64
132235- Atim Timespec
132236- Mtim Timespec
132237- Ctim Timespec
132238- Ino uint64
132239-}
132240-
132241-type Statfs_t struct {
132242- Type int32
132243- Bsize int32
132244- Blocks uint64
132245- Bfree uint64
132246- Bavail uint64
132247- Files uint64
132248- Ffree uint64
132249- Fsid Fsid
132250- Namelen int32
132251- Frsize int32
132252- Flags int32
132253- Spare [4]int32
132254- Pad_cgo_0 [4]byte
132255+ Dev uint64
132256+ _ uint16
132257+ _ uint32
132258+ Mode uint32
132259+ Nlink uint32
132260+ Uid uint32
132261+ Gid uint32
132262+ Rdev uint64
132263+ _ uint16
132264+ _ [4]byte
132265+ Size int64
132266+ Blksize int32
132267+ _ [4]byte
132268+ Blocks int64
132269+ Atim Timespec
132270+ Mtim Timespec
132271+ Ctim Timespec
132272+ Ino uint64
132273 }
132274
132275 type Dirent struct {
132276- Ino uint64
132277- Off int64
132278- Reclen uint16
132279- Type uint8
132280- Name [256]uint8
132281- Pad_cgo_0 [5]byte
132282-}
132283-
132284-type Fsid struct {
132285- X__val [2]int32
132286+ Ino uint64
132287+ Off int64
132288+ Reclen uint16
132289+ Type uint8
132290+ Name [256]uint8
132291+ _ [5]byte
132292 }
132293
132294 type Flock_t struct {
132295- Type int16
132296- Whence int16
132297- Pad_cgo_0 [4]byte
132298- Start int64
132299- Len int64
132300- Pid int32
132301- Pad_cgo_1 [4]byte
132302-}
132303-
132304-type FscryptPolicy struct {
132305- Version uint8
132306- Contents_encryption_mode uint8
132307- Filenames_encryption_mode uint8
132308- Flags uint8
132309- Master_key_descriptor [8]uint8
132310-}
132311-
132312-type FscryptKey struct {
132313- Mode uint32
132314- Raw [64]uint8
132315- Size uint32
132316-}
132317-
132318-type KeyctlDHParams struct {
132319- Private int32
132320- Prime int32
132321- Base int32
132322+ Type int16
132323+ Whence int16
132324+ _ [4]byte
132325+ Start int64
132326+ Len int64
132327+ Pid int32
132328+ _ [4]byte
132329 }
132330
132331 const (
132332- FADV_NORMAL = 0x0
132333- FADV_RANDOM = 0x1
132334- FADV_SEQUENTIAL = 0x2
132335- FADV_WILLNEED = 0x3
132336- FADV_DONTNEED = 0x4
132337- FADV_NOREUSE = 0x5
132338+ FADV_DONTNEED = 0x4
132339+ FADV_NOREUSE = 0x5
132340 )
132341
132342-type RawSockaddrInet4 struct {
132343- Family uint16
132344- Port uint16
132345- Addr [4]byte /* in_addr */
132346- Zero [8]uint8
132347-}
132348-
132349-type RawSockaddrInet6 struct {
132350- Family uint16
132351- Port uint16
132352- Flowinfo uint32
132353- Addr [16]byte /* in6_addr */
132354- Scope_id uint32
132355-}
132356-
132357-type RawSockaddrUnix struct {
132358- Family uint16
132359- Path [108]int8
132360-}
132361-
132362-type RawSockaddrLinklayer struct {
132363- Family uint16
132364- Protocol uint16
132365- Ifindex int32
132366- Hatype uint16
132367- Pkttype uint8
132368- Halen uint8
132369- Addr [8]uint8
132370-}
132371-
132372-type RawSockaddrNetlink struct {
132373- Family uint16
132374- Pad uint16
132375- Pid uint32
132376- Groups uint32
132377-}
132378-
132379-type RawSockaddrHCI struct {
132380- Family uint16
132381- Dev uint16
132382- Channel uint16
132383-}
132384-
132385-type RawSockaddrCAN struct {
132386- Family uint16
132387- Pad_cgo_0 [2]byte
132388- Ifindex int32
132389- Addr [8]byte
132390-}
132391-
132392-type RawSockaddrALG struct {
132393- Family uint16
132394- Type [14]uint8
132395- Feat uint32
132396- Mask uint32
132397- Name [64]uint8
132398-}
132399-
132400-type RawSockaddrVM struct {
132401- Family uint16
132402- Reserved1 uint16
132403- Port uint32
132404- Cid uint32
132405- Zero [4]uint8
132406-}
132407-
132408 type RawSockaddr struct {
132409 Family uint16
132410 Data [14]uint8
132411@@ -261,41 +136,11 @@ type RawSockaddrAny struct {
132412 Pad [96]uint8
132413 }
132414
132415-type _Socklen uint32
132416-
132417-type Linger struct {
132418- Onoff int32
132419- Linger int32
132420-}
132421-
132422 type Iovec struct {
132423 Base *byte
132424 Len uint32
132425 }
132426
132427-type IPMreq struct {
132428- Multiaddr [4]byte /* in_addr */
132429- Interface [4]byte /* in_addr */
132430-}
132431-
132432-type IPMreqn struct {
132433- Multiaddr [4]byte /* in_addr */
132434- Address [4]byte /* in_addr */
132435- Ifindex int32
132436-}
132437-
132438-type IPv6Mreq struct {
132439- Multiaddr [16]byte /* in6_addr */
132440- Interface uint32
132441-}
132442-
132443-type PacketMreq struct {
132444- Ifindex int32
132445- Type uint16
132446- Alen uint16
132447- Address [8]uint8
132448-}
132449-
132450 type Msghdr struct {
132451 Name *byte
132452 Namelen uint32
132453@@ -312,277 +157,16 @@ type Cmsghdr struct {
132454 Type int32
132455 }
132456
132457-type Inet4Pktinfo struct {
132458- Ifindex int32
132459- Spec_dst [4]byte /* in_addr */
132460- Addr [4]byte /* in_addr */
132461-}
132462-
132463-type Inet6Pktinfo struct {
132464- Addr [16]byte /* in6_addr */
132465- Ifindex uint32
132466-}
132467-
132468-type IPv6MTUInfo struct {
132469- Addr RawSockaddrInet6
132470- Mtu uint32
132471-}
132472-
132473-type ICMPv6Filter struct {
132474- Data [8]uint32
132475-}
132476-
132477-type Ucred struct {
132478- Pid int32
132479- Uid uint32
132480- Gid uint32
132481-}
132482-
132483-type TCPInfo struct {
132484- State uint8
132485- Ca_state uint8
132486- Retransmits uint8
132487- Probes uint8
132488- Backoff uint8
132489- Options uint8
132490- Pad_cgo_0 [2]byte
132491- Rto uint32
132492- Ato uint32
132493- Snd_mss uint32
132494- Rcv_mss uint32
132495- Unacked uint32
132496- Sacked uint32
132497- Lost uint32
132498- Retrans uint32
132499- Fackets uint32
132500- Last_data_sent uint32
132501- Last_ack_sent uint32
132502- Last_data_recv uint32
132503- Last_ack_recv uint32
132504- Pmtu uint32
132505- Rcv_ssthresh uint32
132506- Rtt uint32
132507- Rttvar uint32
132508- Snd_ssthresh uint32
132509- Snd_cwnd uint32
132510- Advmss uint32
132511- Reordering uint32
132512- Rcv_rtt uint32
132513- Rcv_space uint32
132514- Total_retrans uint32
132515-}
132516-
132517 const (
132518- SizeofSockaddrInet4 = 0x10
132519- SizeofSockaddrInet6 = 0x1c
132520- SizeofSockaddrAny = 0x70
132521- SizeofSockaddrUnix = 0x6e
132522- SizeofSockaddrLinklayer = 0x14
132523- SizeofSockaddrNetlink = 0xc
132524- SizeofSockaddrHCI = 0x6
132525- SizeofSockaddrCAN = 0x10
132526- SizeofSockaddrALG = 0x58
132527- SizeofSockaddrVM = 0x10
132528- SizeofLinger = 0x8
132529- SizeofIovec = 0x8
132530- SizeofIPMreq = 0x8
132531- SizeofIPMreqn = 0xc
132532- SizeofIPv6Mreq = 0x14
132533- SizeofPacketMreq = 0x10
132534- SizeofMsghdr = 0x1c
132535- SizeofCmsghdr = 0xc
132536- SizeofInet4Pktinfo = 0xc
132537- SizeofInet6Pktinfo = 0x14
132538- SizeofIPv6MTUInfo = 0x20
132539- SizeofICMPv6Filter = 0x20
132540- SizeofUcred = 0xc
132541- SizeofTCPInfo = 0x68
132542+ SizeofIovec = 0x8
132543+ SizeofMsghdr = 0x1c
132544+ SizeofCmsghdr = 0xc
132545 )
132546
132547 const (
132548- IFA_UNSPEC = 0x0
132549- IFA_ADDRESS = 0x1
132550- IFA_LOCAL = 0x2
132551- IFA_LABEL = 0x3
132552- IFA_BROADCAST = 0x4
132553- IFA_ANYCAST = 0x5
132554- IFA_CACHEINFO = 0x6
132555- IFA_MULTICAST = 0x7
132556- IFLA_UNSPEC = 0x0
132557- IFLA_ADDRESS = 0x1
132558- IFLA_BROADCAST = 0x2
132559- IFLA_IFNAME = 0x3
132560- IFLA_MTU = 0x4
132561- IFLA_LINK = 0x5
132562- IFLA_QDISC = 0x6
132563- IFLA_STATS = 0x7
132564- IFLA_COST = 0x8
132565- IFLA_PRIORITY = 0x9
132566- IFLA_MASTER = 0xa
132567- IFLA_WIRELESS = 0xb
132568- IFLA_PROTINFO = 0xc
132569- IFLA_TXQLEN = 0xd
132570- IFLA_MAP = 0xe
132571- IFLA_WEIGHT = 0xf
132572- IFLA_OPERSTATE = 0x10
132573- IFLA_LINKMODE = 0x11
132574- IFLA_LINKINFO = 0x12
132575- IFLA_NET_NS_PID = 0x13
132576- IFLA_IFALIAS = 0x14
132577- IFLA_MAX = 0x2b
132578- RT_SCOPE_UNIVERSE = 0x0
132579- RT_SCOPE_SITE = 0xc8
132580- RT_SCOPE_LINK = 0xfd
132581- RT_SCOPE_HOST = 0xfe
132582- RT_SCOPE_NOWHERE = 0xff
132583- RT_TABLE_UNSPEC = 0x0
132584- RT_TABLE_COMPAT = 0xfc
132585- RT_TABLE_DEFAULT = 0xfd
132586- RT_TABLE_MAIN = 0xfe
132587- RT_TABLE_LOCAL = 0xff
132588- RT_TABLE_MAX = 0xffffffff
132589- RTA_UNSPEC = 0x0
132590- RTA_DST = 0x1
132591- RTA_SRC = 0x2
132592- RTA_IIF = 0x3
132593- RTA_OIF = 0x4
132594- RTA_GATEWAY = 0x5
132595- RTA_PRIORITY = 0x6
132596- RTA_PREFSRC = 0x7
132597- RTA_METRICS = 0x8
132598- RTA_MULTIPATH = 0x9
132599- RTA_FLOW = 0xb
132600- RTA_CACHEINFO = 0xc
132601- RTA_TABLE = 0xf
132602- RTN_UNSPEC = 0x0
132603- RTN_UNICAST = 0x1
132604- RTN_LOCAL = 0x2
132605- RTN_BROADCAST = 0x3
132606- RTN_ANYCAST = 0x4
132607- RTN_MULTICAST = 0x5
132608- RTN_BLACKHOLE = 0x6
132609- RTN_UNREACHABLE = 0x7
132610- RTN_PROHIBIT = 0x8
132611- RTN_THROW = 0x9
132612- RTN_NAT = 0xa
132613- RTN_XRESOLVE = 0xb
132614- RTNLGRP_NONE = 0x0
132615- RTNLGRP_LINK = 0x1
132616- RTNLGRP_NOTIFY = 0x2
132617- RTNLGRP_NEIGH = 0x3
132618- RTNLGRP_TC = 0x4
132619- RTNLGRP_IPV4_IFADDR = 0x5
132620- RTNLGRP_IPV4_MROUTE = 0x6
132621- RTNLGRP_IPV4_ROUTE = 0x7
132622- RTNLGRP_IPV4_RULE = 0x8
132623- RTNLGRP_IPV6_IFADDR = 0x9
132624- RTNLGRP_IPV6_MROUTE = 0xa
132625- RTNLGRP_IPV6_ROUTE = 0xb
132626- RTNLGRP_IPV6_IFINFO = 0xc
132627- RTNLGRP_IPV6_PREFIX = 0x12
132628- RTNLGRP_IPV6_RULE = 0x13
132629- RTNLGRP_ND_USEROPT = 0x14
132630- SizeofNlMsghdr = 0x10
132631- SizeofNlMsgerr = 0x14
132632- SizeofRtGenmsg = 0x1
132633- SizeofNlAttr = 0x4
132634- SizeofRtAttr = 0x4
132635- SizeofIfInfomsg = 0x10
132636- SizeofIfAddrmsg = 0x8
132637- SizeofRtMsg = 0xc
132638- SizeofRtNexthop = 0x8
132639+ SizeofSockFprog = 0x8
132640 )
132641
132642-type NlMsghdr struct {
132643- Len uint32
132644- Type uint16
132645- Flags uint16
132646- Seq uint32
132647- Pid uint32
132648-}
132649-
132650-type NlMsgerr struct {
132651- Error int32
132652- Msg NlMsghdr
132653-}
132654-
132655-type RtGenmsg struct {
132656- Family uint8
132657-}
132658-
132659-type NlAttr struct {
132660- Len uint16
132661- Type uint16
132662-}
132663-
132664-type RtAttr struct {
132665- Len uint16
132666- Type uint16
132667-}
132668-
132669-type IfInfomsg struct {
132670- Family uint8
132671- X__ifi_pad uint8
132672- Type uint16
132673- Index int32
132674- Flags uint32
132675- Change uint32
132676-}
132677-
132678-type IfAddrmsg struct {
132679- Family uint8
132680- Prefixlen uint8
132681- Flags uint8
132682- Scope uint8
132683- Index uint32
132684-}
132685-
132686-type RtMsg struct {
132687- Family uint8
132688- Dst_len uint8
132689- Src_len uint8
132690- Tos uint8
132691- Table uint8
132692- Protocol uint8
132693- Scope uint8
132694- Type uint8
132695- Flags uint32
132696-}
132697-
132698-type RtNexthop struct {
132699- Len uint16
132700- Flags uint8
132701- Hops uint8
132702- Ifindex int32
132703-}
132704-
132705-const (
132706- SizeofSockFilter = 0x8
132707- SizeofSockFprog = 0x8
132708-)
132709-
132710-type SockFilter struct {
132711- Code uint16
132712- Jt uint8
132713- Jf uint8
132714- K uint32
132715-}
132716-
132717-type SockFprog struct {
132718- Len uint16
132719- Pad_cgo_0 [2]byte
132720- Filter *SockFilter
132721-}
132722-
132723-type InotifyEvent struct {
132724- Wd int32
132725- Mask uint32
132726- Cookie uint32
132727- Len uint32
132728-}
132729-
132730-const SizeofInotifyEvent = 0x10
132731-
132732 type PtraceRegs struct {
132733 Uregs [18]uint32
132734 }
132735@@ -605,16 +189,7 @@ type Sysinfo_t struct {
132736 Totalhigh uint32
132737 Freehigh uint32
132738 Unit uint32
132739- X_f [8]uint8
132740-}
132741-
132742-type Utsname struct {
132743- Sysname [65]uint8
132744- Nodename [65]uint8
132745- Release [65]uint8
132746- Version [65]uint8
132747- Machine [65]uint8
132748- Domainname [65]uint8
132749+ _ [8]uint8
132750 }
132751
132752 type Ustat_t struct {
132753@@ -632,37 +207,14 @@ type EpollEvent struct {
132754 }
132755
132756 const (
132757- AT_FDCWD = -0x64
132758- AT_REMOVEDIR = 0x200
132759- AT_SYMLINK_FOLLOW = 0x400
132760- AT_SYMLINK_NOFOLLOW = 0x100
132761-)
132762-
132763-type PollFd struct {
132764- Fd int32
132765- Events int16
132766- Revents int16
132767-}
132768-
132769-const (
132770- POLLIN = 0x1
132771- POLLPRI = 0x2
132772- POLLOUT = 0x4
132773 POLLRDHUP = 0x2000
132774- POLLERR = 0x8
132775- POLLHUP = 0x10
132776- POLLNVAL = 0x20
132777 )
132778
132779 type Sigset_t struct {
132780- X__val [32]uint32
132781+ Val [32]uint32
132782 }
132783
132784-const RNDGETENTCNT = 0x80045200
132785-
132786-const PERF_IOC_FLAG_GROUP = 0x1
132787-
132788-const _SC_PAGESIZE = 0x1e
132789+const _C__NSIG = 0x41
132790
132791 type Termios struct {
132792 Iflag uint32
132793@@ -675,20 +227,12 @@ type Termios struct {
132794 Ospeed uint32
132795 }
132796
132797-type Winsize struct {
132798- Row uint16
132799- Col uint16
132800- Xpixel uint16
132801- Ypixel uint16
132802-}
132803-
132804 type Taskstats struct {
132805 Version uint16
132806- Pad_cgo_0 [2]byte
132807 Ac_exitcode uint32
132808 Ac_flag uint8
132809 Ac_nice uint8
132810- Pad_cgo_1 [6]byte
132811+ _ [4]byte
132812 Cpu_count uint64
132813 Cpu_delay_total uint64
132814 Blkio_count uint64
132815@@ -700,13 +244,13 @@ type Taskstats struct {
132816 Ac_comm [32]uint8
132817 Ac_sched uint8
132818 Ac_pad [3]uint8
132819- Pad_cgo_2 [4]byte
132820+ _ [4]byte
132821 Ac_uid uint32
132822 Ac_gid uint32
132823 Ac_pid uint32
132824 Ac_ppid uint32
132825 Ac_btime uint32
132826- Pad_cgo_3 [4]byte
132827+ _ [4]byte
132828 Ac_etime uint64
132829 Ac_utime uint64
132830 Ac_stime uint64
132831@@ -730,55 +274,318 @@ type Taskstats struct {
132832 Cpu_scaled_run_real_total uint64
132833 Freepages_count uint64
132834 Freepages_delay_total uint64
132835+ Thrashing_count uint64
132836+ Thrashing_delay_total uint64
132837+ Ac_btime64 uint64
132838 }
132839
132840+type cpuMask uint32
132841+
132842+const (
132843+ _NCPUBITS = 0x20
132844+)
132845+
132846 const (
132847- TASKSTATS_CMD_UNSPEC = 0x0
132848- TASKSTATS_CMD_GET = 0x1
132849- TASKSTATS_CMD_NEW = 0x2
132850- TASKSTATS_TYPE_UNSPEC = 0x0
132851- TASKSTATS_TYPE_PID = 0x1
132852- TASKSTATS_TYPE_TGID = 0x2
132853- TASKSTATS_TYPE_STATS = 0x3
132854- TASKSTATS_TYPE_AGGR_PID = 0x4
132855- TASKSTATS_TYPE_AGGR_TGID = 0x5
132856- TASKSTATS_TYPE_NULL = 0x6
132857- TASKSTATS_CMD_ATTR_UNSPEC = 0x0
132858- TASKSTATS_CMD_ATTR_PID = 0x1
132859- TASKSTATS_CMD_ATTR_TGID = 0x2
132860- TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 0x3
132861- TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4
132862+ CBitFieldMaskBit0 = 0x1
132863+ CBitFieldMaskBit1 = 0x2
132864+ CBitFieldMaskBit2 = 0x4
132865+ CBitFieldMaskBit3 = 0x8
132866+ CBitFieldMaskBit4 = 0x10
132867+ CBitFieldMaskBit5 = 0x20
132868+ CBitFieldMaskBit6 = 0x40
132869+ CBitFieldMaskBit7 = 0x80
132870+ CBitFieldMaskBit8 = 0x100
132871+ CBitFieldMaskBit9 = 0x200
132872+ CBitFieldMaskBit10 = 0x400
132873+ CBitFieldMaskBit11 = 0x800
132874+ CBitFieldMaskBit12 = 0x1000
132875+ CBitFieldMaskBit13 = 0x2000
132876+ CBitFieldMaskBit14 = 0x4000
132877+ CBitFieldMaskBit15 = 0x8000
132878+ CBitFieldMaskBit16 = 0x10000
132879+ CBitFieldMaskBit17 = 0x20000
132880+ CBitFieldMaskBit18 = 0x40000
132881+ CBitFieldMaskBit19 = 0x80000
132882+ CBitFieldMaskBit20 = 0x100000
132883+ CBitFieldMaskBit21 = 0x200000
132884+ CBitFieldMaskBit22 = 0x400000
132885+ CBitFieldMaskBit23 = 0x800000
132886+ CBitFieldMaskBit24 = 0x1000000
132887+ CBitFieldMaskBit25 = 0x2000000
132888+ CBitFieldMaskBit26 = 0x4000000
132889+ CBitFieldMaskBit27 = 0x8000000
132890+ CBitFieldMaskBit28 = 0x10000000
132891+ CBitFieldMaskBit29 = 0x20000000
132892+ CBitFieldMaskBit30 = 0x40000000
132893+ CBitFieldMaskBit31 = 0x80000000
132894+ CBitFieldMaskBit32 = 0x100000000
132895+ CBitFieldMaskBit33 = 0x200000000
132896+ CBitFieldMaskBit34 = 0x400000000
132897+ CBitFieldMaskBit35 = 0x800000000
132898+ CBitFieldMaskBit36 = 0x1000000000
132899+ CBitFieldMaskBit37 = 0x2000000000
132900+ CBitFieldMaskBit38 = 0x4000000000
132901+ CBitFieldMaskBit39 = 0x8000000000
132902+ CBitFieldMaskBit40 = 0x10000000000
132903+ CBitFieldMaskBit41 = 0x20000000000
132904+ CBitFieldMaskBit42 = 0x40000000000
132905+ CBitFieldMaskBit43 = 0x80000000000
132906+ CBitFieldMaskBit44 = 0x100000000000
132907+ CBitFieldMaskBit45 = 0x200000000000
132908+ CBitFieldMaskBit46 = 0x400000000000
132909+ CBitFieldMaskBit47 = 0x800000000000
132910+ CBitFieldMaskBit48 = 0x1000000000000
132911+ CBitFieldMaskBit49 = 0x2000000000000
132912+ CBitFieldMaskBit50 = 0x4000000000000
132913+ CBitFieldMaskBit51 = 0x8000000000000
132914+ CBitFieldMaskBit52 = 0x10000000000000
132915+ CBitFieldMaskBit53 = 0x20000000000000
132916+ CBitFieldMaskBit54 = 0x40000000000000
132917+ CBitFieldMaskBit55 = 0x80000000000000
132918+ CBitFieldMaskBit56 = 0x100000000000000
132919+ CBitFieldMaskBit57 = 0x200000000000000
132920+ CBitFieldMaskBit58 = 0x400000000000000
132921+ CBitFieldMaskBit59 = 0x800000000000000
132922+ CBitFieldMaskBit60 = 0x1000000000000000
132923+ CBitFieldMaskBit61 = 0x2000000000000000
132924+ CBitFieldMaskBit62 = 0x4000000000000000
132925+ CBitFieldMaskBit63 = 0x8000000000000000
132926 )
132927
132928-type Genlmsghdr struct {
132929- Cmd uint8
132930- Version uint8
132931- Reserved uint16
132932+type SockaddrStorage struct {
132933+ Family uint16
132934+ _ [122]uint8
132935+ _ uint32
132936+}
132937+
132938+type HDGeometry struct {
132939+ Heads uint8
132940+ Sectors uint8
132941+ Cylinders uint16
132942+ Start uint32
132943+}
132944+
132945+type Statfs_t struct {
132946+ Type int32
132947+ Bsize int32
132948+ Blocks uint64
132949+ Bfree uint64
132950+ Bavail uint64
132951+ Files uint64
132952+ Ffree uint64
132953+ Fsid Fsid
132954+ Namelen int32
132955+ Frsize int32
132956+ Flags int32
132957+ Spare [4]int32
132958+ _ [4]byte
132959+}
132960+
132961+type TpacketHdr struct {
132962+ Status uint32
132963+ Len uint32
132964+ Snaplen uint32
132965+ Mac uint16
132966+ Net uint16
132967+ Sec uint32
132968+ Usec uint32
132969+}
132970+
132971+const (
132972+ SizeofTpacketHdr = 0x18
132973+)
132974+
132975+type RTCPLLInfo struct {
132976+ Ctrl int32
132977+ Value int32
132978+ Max int32
132979+ Min int32
132980+ Posmult int32
132981+ Negmult int32
132982+ Clock int32
132983+}
132984+
132985+type BlkpgPartition struct {
132986+ Start int64
132987+ Length int64
132988+ Pno int32
132989+ Devname [64]uint8
132990+ Volname [64]uint8
132991+ _ [4]byte
132992 }
132993
132994 const (
132995- CTRL_CMD_UNSPEC = 0x0
132996- CTRL_CMD_NEWFAMILY = 0x1
132997- CTRL_CMD_DELFAMILY = 0x2
132998- CTRL_CMD_GETFAMILY = 0x3
132999- CTRL_CMD_NEWOPS = 0x4
133000- CTRL_CMD_DELOPS = 0x5
133001- CTRL_CMD_GETOPS = 0x6
133002- CTRL_CMD_NEWMCAST_GRP = 0x7
133003- CTRL_CMD_DELMCAST_GRP = 0x8
133004- CTRL_CMD_GETMCAST_GRP = 0x9
133005- CTRL_ATTR_UNSPEC = 0x0
133006- CTRL_ATTR_FAMILY_ID = 0x1
133007- CTRL_ATTR_FAMILY_NAME = 0x2
133008- CTRL_ATTR_VERSION = 0x3
133009- CTRL_ATTR_HDRSIZE = 0x4
133010- CTRL_ATTR_MAXATTR = 0x5
133011- CTRL_ATTR_OPS = 0x6
133012- CTRL_ATTR_MCAST_GROUPS = 0x7
133013- CTRL_ATTR_OP_UNSPEC = 0x0
133014- CTRL_ATTR_OP_ID = 0x1
133015- CTRL_ATTR_OP_FLAGS = 0x2
133016- CTRL_ATTR_MCAST_GRP_UNSPEC = 0x0
133017- CTRL_ATTR_MCAST_GRP_NAME = 0x1
133018- CTRL_ATTR_MCAST_GRP_ID = 0x2
133019+ BLKPG = 0x1269
133020 )
133021+
133022+type XDPUmemReg struct {
133023+ Addr uint64
133024+ Len uint64
133025+ Size uint32
133026+ Headroom uint32
133027+ Flags uint32
133028+ _ [4]byte
133029+}
133030+
133031+type CryptoUserAlg struct {
133032+ Name [64]uint8
133033+ Driver_name [64]uint8
133034+ Module_name [64]uint8
133035+ Type uint32
133036+ Mask uint32
133037+ Refcnt uint32
133038+ Flags uint32
133039+}
133040+
133041+type CryptoStatAEAD struct {
133042+ Type [64]uint8
133043+ Encrypt_cnt uint64
133044+ Encrypt_tlen uint64
133045+ Decrypt_cnt uint64
133046+ Decrypt_tlen uint64
133047+ Err_cnt uint64
133048+}
133049+
133050+type CryptoStatAKCipher struct {
133051+ Type [64]uint8
133052+ Encrypt_cnt uint64
133053+ Encrypt_tlen uint64
133054+ Decrypt_cnt uint64
133055+ Decrypt_tlen uint64
133056+ Verify_cnt uint64
133057+ Sign_cnt uint64
133058+ Err_cnt uint64
133059+}
133060+
133061+type CryptoStatCipher struct {
133062+ Type [64]uint8
133063+ Encrypt_cnt uint64
133064+ Encrypt_tlen uint64
133065+ Decrypt_cnt uint64
133066+ Decrypt_tlen uint64
133067+ Err_cnt uint64
133068+}
133069+
133070+type CryptoStatCompress struct {
133071+ Type [64]uint8
133072+ Compress_cnt uint64
133073+ Compress_tlen uint64
133074+ Decompress_cnt uint64
133075+ Decompress_tlen uint64
133076+ Err_cnt uint64
133077+}
133078+
133079+type CryptoStatHash struct {
133080+ Type [64]uint8
133081+ Hash_cnt uint64
133082+ Hash_tlen uint64
133083+ Err_cnt uint64
133084+}
133085+
133086+type CryptoStatKPP struct {
133087+ Type [64]uint8
133088+ Setsecret_cnt uint64
133089+ Generate_public_key_cnt uint64
133090+ Compute_shared_secret_cnt uint64
133091+ Err_cnt uint64
133092+}
133093+
133094+type CryptoStatRNG struct {
133095+ Type [64]uint8
133096+ Generate_cnt uint64
133097+ Generate_tlen uint64
133098+ Seed_cnt uint64
133099+ Err_cnt uint64
133100+}
133101+
133102+type CryptoStatLarval struct {
133103+ Type [64]uint8
133104+}
133105+
133106+type CryptoReportLarval struct {
133107+ Type [64]uint8
133108+}
133109+
133110+type CryptoReportHash struct {
133111+ Type [64]uint8
133112+ Blocksize uint32
133113+ Digestsize uint32
133114+}
133115+
133116+type CryptoReportCipher struct {
133117+ Type [64]uint8
133118+ Blocksize uint32
133119+ Min_keysize uint32
133120+ Max_keysize uint32
133121+}
133122+
133123+type CryptoReportBlkCipher struct {
133124+ Type [64]uint8
133125+ Geniv [64]uint8
133126+ Blocksize uint32
133127+ Min_keysize uint32
133128+ Max_keysize uint32
133129+ Ivsize uint32
133130+}
133131+
133132+type CryptoReportAEAD struct {
133133+ Type [64]uint8
133134+ Geniv [64]uint8
133135+ Blocksize uint32
133136+ Maxauthsize uint32
133137+ Ivsize uint32
133138+}
133139+
133140+type CryptoReportComp struct {
133141+ Type [64]uint8
133142+}
133143+
133144+type CryptoReportRNG struct {
133145+ Type [64]uint8
133146+ Seedsize uint32
133147+}
133148+
133149+type CryptoReportAKCipher struct {
133150+ Type [64]uint8
133151+}
133152+
133153+type CryptoReportKPP struct {
133154+ Type [64]uint8
133155+}
133156+
133157+type CryptoReportAcomp struct {
133158+ Type [64]uint8
133159+}
133160+
133161+type LoopInfo struct {
133162+ Number int32
133163+ Device uint16
133164+ Inode uint32
133165+ Rdevice uint16
133166+ Offset int32
133167+ Encrypt_type int32
133168+ Encrypt_key_size int32
133169+ Flags int32
133170+ Name [64]uint8
133171+ Encrypt_key [32]uint8
133172+ Init [2]uint32
133173+ Reserved [4]uint8
133174+}
133175+
133176+type TIPCSubscr struct {
133177+ Seq TIPCServiceRange
133178+ Timeout uint32
133179+ Filter uint32
133180+ Handle [8]uint8
133181+}
133182+
133183+type TIPCSIOCLNReq struct {
133184+ Peer uint32
133185+ Id uint32
133186+ Linkname [68]uint8
133187+}
133188+
133189+type TIPCSIOCNodeIDReq struct {
133190+ Peer uint32
133191+ Id [16]uint8
133192+}
133193diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go
133194index a3d0cc4a..a936f216 100644
133195--- a/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go
133196+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go
133197@@ -6,19 +6,12 @@
133198 package unix
133199
133200 const (
133201- sizeofPtr = 0x8
133202- sizeofShort = 0x2
133203- sizeofInt = 0x4
133204- sizeofLong = 0x8
133205- sizeofLongLong = 0x8
133206- PathMax = 0x1000
133207+ SizeofPtr = 0x8
133208+ SizeofLong = 0x8
133209 )
133210
133211 type (
133212- _C_short int16
133213- _C_int int32
133214- _C_long int64
133215- _C_long_long int64
133216+ _C_long int64
133217 )
133218
133219 type Timespec struct {
133220@@ -33,13 +26,11 @@ type Timeval struct {
133221
133222 type Timex struct {
133223 Modes uint32
133224- Pad_cgo_0 [4]byte
133225 Offset int64
133226 Freq int64
133227 Maxerror int64
133228 Esterror int64
133229 Status int32
133230- Pad_cgo_1 [4]byte
133231 Constant int64
133232 Precision int64
133233 Tolerance int64
133234@@ -48,14 +39,13 @@ type Timex struct {
133235 Ppsfreq int64
133236 Jitter int64
133237 Shift int32
133238- Pad_cgo_2 [4]byte
133239 Stabil int64
133240 Jitcnt int64
133241 Calcnt int64
133242 Errcnt int64
133243 Stbcnt int64
133244 Tai int32
133245- Pad_cgo_3 [44]byte
133246+ _ [44]byte
133247 }
133248
133249 type Time_t int64
133250@@ -91,13 +81,6 @@ type Rusage struct {
133251 Nivcsw int64
133252 }
133253
133254-type Rlimit struct {
133255- Cur uint64
133256- Max uint64
133257-}
133258-
133259-type _Gid_t uint32
133260-
133261 type Stat_t struct {
133262 Dev uint64
133263 Ino uint64
133264@@ -106,10 +89,10 @@ type Stat_t struct {
133265 Uid uint32
133266 Gid uint32
133267 Rdev uint64
133268- X__pad1 uint64
133269+ _ uint64
133270 Size int64
133271 Blksize int32
133272- X__pad2 int32
133273+ _ int32
133274 Blocks int64
133275 Atim Timespec
133276 Mtim Timespec
133277@@ -117,139 +100,29 @@ type Stat_t struct {
133278 _ [2]int32
133279 }
133280
133281-type Statfs_t struct {
133282- Type int64
133283- Bsize int64
133284- Blocks uint64
133285- Bfree uint64
133286- Bavail uint64
133287- Files uint64
133288- Ffree uint64
133289- Fsid Fsid
133290- Namelen int64
133291- Frsize int64
133292- Flags int64
133293- Spare [4]int64
133294-}
133295-
133296 type Dirent struct {
133297- Ino uint64
133298- Off int64
133299- Reclen uint16
133300- Type uint8
133301- Name [256]int8
133302- Pad_cgo_0 [5]byte
133303-}
133304-
133305-type Fsid struct {
133306- X__val [2]int32
133307+ Ino uint64
133308+ Off int64
133309+ Reclen uint16
133310+ Type uint8
133311+ Name [256]int8
133312+ _ [5]byte
133313 }
133314
133315 type Flock_t struct {
133316- Type int16
133317- Whence int16
133318- Pad_cgo_0 [4]byte
133319- Start int64
133320- Len int64
133321- Pid int32
133322- Pad_cgo_1 [4]byte
133323-}
133324-
133325-type FscryptPolicy struct {
133326- Version uint8
133327- Contents_encryption_mode uint8
133328- Filenames_encryption_mode uint8
133329- Flags uint8
133330- Master_key_descriptor [8]uint8
133331-}
133332-
133333-type FscryptKey struct {
133334- Mode uint32
133335- Raw [64]uint8
133336- Size uint32
133337-}
133338-
133339-type KeyctlDHParams struct {
133340- Private int32
133341- Prime int32
133342- Base int32
133343+ Type int16
133344+ Whence int16
133345+ Start int64
133346+ Len int64
133347+ Pid int32
133348+ _ [4]byte
133349 }
133350
133351 const (
133352- FADV_NORMAL = 0x0
133353- FADV_RANDOM = 0x1
133354- FADV_SEQUENTIAL = 0x2
133355- FADV_WILLNEED = 0x3
133356- FADV_DONTNEED = 0x4
133357- FADV_NOREUSE = 0x5
133358+ FADV_DONTNEED = 0x4
133359+ FADV_NOREUSE = 0x5
133360 )
133361
133362-type RawSockaddrInet4 struct {
133363- Family uint16
133364- Port uint16
133365- Addr [4]byte /* in_addr */
133366- Zero [8]uint8
133367-}
133368-
133369-type RawSockaddrInet6 struct {
133370- Family uint16
133371- Port uint16
133372- Flowinfo uint32
133373- Addr [16]byte /* in6_addr */
133374- Scope_id uint32
133375-}
133376-
133377-type RawSockaddrUnix struct {
133378- Family uint16
133379- Path [108]int8
133380-}
133381-
133382-type RawSockaddrLinklayer struct {
133383- Family uint16
133384- Protocol uint16
133385- Ifindex int32
133386- Hatype uint16
133387- Pkttype uint8
133388- Halen uint8
133389- Addr [8]uint8
133390-}
133391-
133392-type RawSockaddrNetlink struct {
133393- Family uint16
133394- Pad uint16
133395- Pid uint32
133396- Groups uint32
133397-}
133398-
133399-type RawSockaddrHCI struct {
133400- Family uint16
133401- Dev uint16
133402- Channel uint16
133403-}
133404-
133405-type RawSockaddrCAN struct {
133406- Family uint16
133407- Pad_cgo_0 [2]byte
133408- Ifindex int32
133409- Addr [8]byte
133410-}
133411-
133412-type RawSockaddrALG struct {
133413- Family uint16
133414- Type [14]uint8
133415- Feat uint32
133416- Mask uint32
133417- Name [64]uint8
133418-}
133419-
133420-type RawSockaddrVM struct {
133421- Family uint16
133422- Reserved1 uint16
133423- Port uint32
133424- Cid uint32
133425- Zero [4]uint8
133426-}
133427-
133428 type RawSockaddr struct {
133429 Family uint16
133430 Data [14]int8
133431@@ -260,51 +133,20 @@ type RawSockaddrAny struct {
133432 Pad [96]int8
133433 }
133434
133435-type _Socklen uint32
133436-
133437-type Linger struct {
133438- Onoff int32
133439- Linger int32
133440-}
133441-
133442 type Iovec struct {
133443 Base *byte
133444 Len uint64
133445 }
133446
133447-type IPMreq struct {
133448- Multiaddr [4]byte /* in_addr */
133449- Interface [4]byte /* in_addr */
133450-}
133451-
133452-type IPMreqn struct {
133453- Multiaddr [4]byte /* in_addr */
133454- Address [4]byte /* in_addr */
133455- Ifindex int32
133456-}
133457-
133458-type IPv6Mreq struct {
133459- Multiaddr [16]byte /* in6_addr */
133460- Interface uint32
133461-}
133462-
133463-type PacketMreq struct {
133464- Ifindex int32
133465- Type uint16
133466- Alen uint16
133467- Address [8]uint8
133468-}
133469-
133470 type Msghdr struct {
133471 Name *byte
133472 Namelen uint32
133473- Pad_cgo_0 [4]byte
133474 Iov *Iovec
133475 Iovlen uint64
133476 Control *byte
133477 Controllen uint64
133478 Flags int32
133479- Pad_cgo_1 [4]byte
133480+ _ [4]byte
133481 }
133482
133483 type Cmsghdr struct {
133484@@ -313,277 +155,16 @@ type Cmsghdr struct {
133485 Type int32
133486 }
133487
133488-type Inet4Pktinfo struct {
133489- Ifindex int32
133490- Spec_dst [4]byte /* in_addr */
133491- Addr [4]byte /* in_addr */
133492-}
133493-
133494-type Inet6Pktinfo struct {
133495- Addr [16]byte /* in6_addr */
133496- Ifindex uint32
133497-}
133498-
133499-type IPv6MTUInfo struct {
133500- Addr RawSockaddrInet6
133501- Mtu uint32
133502-}
133503-
133504-type ICMPv6Filter struct {
133505- Data [8]uint32
133506-}
133507-
133508-type Ucred struct {
133509- Pid int32
133510- Uid uint32
133511- Gid uint32
133512-}
133513-
133514-type TCPInfo struct {
133515- State uint8
133516- Ca_state uint8
133517- Retransmits uint8
133518- Probes uint8
133519- Backoff uint8
133520- Options uint8
133521- Pad_cgo_0 [2]byte
133522- Rto uint32
133523- Ato uint32
133524- Snd_mss uint32
133525- Rcv_mss uint32
133526- Unacked uint32
133527- Sacked uint32
133528- Lost uint32
133529- Retrans uint32
133530- Fackets uint32
133531- Last_data_sent uint32
133532- Last_ack_sent uint32
133533- Last_data_recv uint32
133534- Last_ack_recv uint32
133535- Pmtu uint32
133536- Rcv_ssthresh uint32
133537- Rtt uint32
133538- Rttvar uint32
133539- Snd_ssthresh uint32
133540- Snd_cwnd uint32
133541- Advmss uint32
133542- Reordering uint32
133543- Rcv_rtt uint32
133544- Rcv_space uint32
133545- Total_retrans uint32
133546-}
133547-
133548 const (
133549- SizeofSockaddrInet4 = 0x10
133550- SizeofSockaddrInet6 = 0x1c
133551- SizeofSockaddrAny = 0x70
133552- SizeofSockaddrUnix = 0x6e
133553- SizeofSockaddrLinklayer = 0x14
133554- SizeofSockaddrNetlink = 0xc
133555- SizeofSockaddrHCI = 0x6
133556- SizeofSockaddrCAN = 0x10
133557- SizeofSockaddrALG = 0x58
133558- SizeofSockaddrVM = 0x10
133559- SizeofLinger = 0x8
133560- SizeofIovec = 0x10
133561- SizeofIPMreq = 0x8
133562- SizeofIPMreqn = 0xc
133563- SizeofIPv6Mreq = 0x14
133564- SizeofPacketMreq = 0x10
133565- SizeofMsghdr = 0x38
133566- SizeofCmsghdr = 0x10
133567- SizeofInet4Pktinfo = 0xc
133568- SizeofInet6Pktinfo = 0x14
133569- SizeofIPv6MTUInfo = 0x20
133570- SizeofICMPv6Filter = 0x20
133571- SizeofUcred = 0xc
133572- SizeofTCPInfo = 0x68
133573+ SizeofIovec = 0x10
133574+ SizeofMsghdr = 0x38
133575+ SizeofCmsghdr = 0x10
133576 )
133577
133578 const (
133579- IFA_UNSPEC = 0x0
133580- IFA_ADDRESS = 0x1
133581- IFA_LOCAL = 0x2
133582- IFA_LABEL = 0x3
133583- IFA_BROADCAST = 0x4
133584- IFA_ANYCAST = 0x5
133585- IFA_CACHEINFO = 0x6
133586- IFA_MULTICAST = 0x7
133587- IFLA_UNSPEC = 0x0
133588- IFLA_ADDRESS = 0x1
133589- IFLA_BROADCAST = 0x2
133590- IFLA_IFNAME = 0x3
133591- IFLA_MTU = 0x4
133592- IFLA_LINK = 0x5
133593- IFLA_QDISC = 0x6
133594- IFLA_STATS = 0x7
133595- IFLA_COST = 0x8
133596- IFLA_PRIORITY = 0x9
133597- IFLA_MASTER = 0xa
133598- IFLA_WIRELESS = 0xb
133599- IFLA_PROTINFO = 0xc
133600- IFLA_TXQLEN = 0xd
133601- IFLA_MAP = 0xe
133602- IFLA_WEIGHT = 0xf
133603- IFLA_OPERSTATE = 0x10
133604- IFLA_LINKMODE = 0x11
133605- IFLA_LINKINFO = 0x12
133606- IFLA_NET_NS_PID = 0x13
133607- IFLA_IFALIAS = 0x14
133608- IFLA_MAX = 0x2b
133609- RT_SCOPE_UNIVERSE = 0x0
133610- RT_SCOPE_SITE = 0xc8
133611- RT_SCOPE_LINK = 0xfd
133612- RT_SCOPE_HOST = 0xfe
133613- RT_SCOPE_NOWHERE = 0xff
133614- RT_TABLE_UNSPEC = 0x0
133615- RT_TABLE_COMPAT = 0xfc
133616- RT_TABLE_DEFAULT = 0xfd
133617- RT_TABLE_MAIN = 0xfe
133618- RT_TABLE_LOCAL = 0xff
133619- RT_TABLE_MAX = 0xffffffff
133620- RTA_UNSPEC = 0x0
133621- RTA_DST = 0x1
133622- RTA_SRC = 0x2
133623- RTA_IIF = 0x3
133624- RTA_OIF = 0x4
133625- RTA_GATEWAY = 0x5
133626- RTA_PRIORITY = 0x6
133627- RTA_PREFSRC = 0x7
133628- RTA_METRICS = 0x8
133629- RTA_MULTIPATH = 0x9
133630- RTA_FLOW = 0xb
133631- RTA_CACHEINFO = 0xc
133632- RTA_TABLE = 0xf
133633- RTN_UNSPEC = 0x0
133634- RTN_UNICAST = 0x1
133635- RTN_LOCAL = 0x2
133636- RTN_BROADCAST = 0x3
133637- RTN_ANYCAST = 0x4
133638- RTN_MULTICAST = 0x5
133639- RTN_BLACKHOLE = 0x6
133640- RTN_UNREACHABLE = 0x7
133641- RTN_PROHIBIT = 0x8
133642- RTN_THROW = 0x9
133643- RTN_NAT = 0xa
133644- RTN_XRESOLVE = 0xb
133645- RTNLGRP_NONE = 0x0
133646- RTNLGRP_LINK = 0x1
133647- RTNLGRP_NOTIFY = 0x2
133648- RTNLGRP_NEIGH = 0x3
133649- RTNLGRP_TC = 0x4
133650- RTNLGRP_IPV4_IFADDR = 0x5
133651- RTNLGRP_IPV4_MROUTE = 0x6
133652- RTNLGRP_IPV4_ROUTE = 0x7
133653- RTNLGRP_IPV4_RULE = 0x8
133654- RTNLGRP_IPV6_IFADDR = 0x9
133655- RTNLGRP_IPV6_MROUTE = 0xa
133656- RTNLGRP_IPV6_ROUTE = 0xb
133657- RTNLGRP_IPV6_IFINFO = 0xc
133658- RTNLGRP_IPV6_PREFIX = 0x12
133659- RTNLGRP_IPV6_RULE = 0x13
133660- RTNLGRP_ND_USEROPT = 0x14
133661- SizeofNlMsghdr = 0x10
133662- SizeofNlMsgerr = 0x14
133663- SizeofRtGenmsg = 0x1
133664- SizeofNlAttr = 0x4
133665- SizeofRtAttr = 0x4
133666- SizeofIfInfomsg = 0x10
133667- SizeofIfAddrmsg = 0x8
133668- SizeofRtMsg = 0xc
133669- SizeofRtNexthop = 0x8
133670+ SizeofSockFprog = 0x10
133671 )
133672
133673-type NlMsghdr struct {
133674- Len uint32
133675- Type uint16
133676- Flags uint16
133677- Seq uint32
133678- Pid uint32
133679-}
133680-
133681-type NlMsgerr struct {
133682- Error int32
133683- Msg NlMsghdr
133684-}
133685-
133686-type RtGenmsg struct {
133687- Family uint8
133688-}
133689-
133690-type NlAttr struct {
133691- Len uint16
133692- Type uint16
133693-}
133694-
133695-type RtAttr struct {
133696- Len uint16
133697- Type uint16
133698-}
133699-
133700-type IfInfomsg struct {
133701- Family uint8
133702- X__ifi_pad uint8
133703- Type uint16
133704- Index int32
133705- Flags uint32
133706- Change uint32
133707-}
133708-
133709-type IfAddrmsg struct {
133710- Family uint8
133711- Prefixlen uint8
133712- Flags uint8
133713- Scope uint8
133714- Index uint32
133715-}
133716-
133717-type RtMsg struct {
133718- Family uint8
133719- Dst_len uint8
133720- Src_len uint8
133721- Tos uint8
133722- Table uint8
133723- Protocol uint8
133724- Scope uint8
133725- Type uint8
133726- Flags uint32
133727-}
133728-
133729-type RtNexthop struct {
133730- Len uint16
133731- Flags uint8
133732- Hops uint8
133733- Ifindex int32
133734-}
133735-
133736-const (
133737- SizeofSockFilter = 0x8
133738- SizeofSockFprog = 0x10
133739-)
133740-
133741-type SockFilter struct {
133742- Code uint16
133743- Jt uint8
133744- Jf uint8
133745- K uint32
133746-}
133747-
133748-type SockFprog struct {
133749- Len uint16
133750- Pad_cgo_0 [6]byte
133751- Filter *SockFilter
133752-}
133753-
133754-type InotifyEvent struct {
133755- Wd int32
133756- Mask uint32
133757- Cookie uint32
133758- Len uint32
133759-}
133760-
133761-const SizeofInotifyEvent = 0x10
133762-
133763 type PtraceRegs struct {
133764 Regs [31]uint64
133765 Sp uint64
133766@@ -606,30 +187,19 @@ type Sysinfo_t struct {
133767 Freeswap uint64
133768 Procs uint16
133769 Pad uint16
133770- Pad_cgo_0 [4]byte
133771 Totalhigh uint64
133772 Freehigh uint64
133773 Unit uint32
133774- X_f [0]int8
133775- Pad_cgo_1 [4]byte
133776-}
133777-
133778-type Utsname struct {
133779- Sysname [65]int8
133780- Nodename [65]int8
133781- Release [65]int8
133782- Version [65]int8
133783- Machine [65]int8
133784- Domainname [65]int8
133785+ _ [0]int8
133786+ _ [4]byte
133787 }
133788
133789 type Ustat_t struct {
133790- Tfree int32
133791- Pad_cgo_0 [4]byte
133792- Tinode uint64
133793- Fname [6]int8
133794- Fpack [6]int8
133795- Pad_cgo_1 [4]byte
133796+ Tfree int32
133797+ Tinode uint64
133798+ Fname [6]int8
133799+ Fpack [6]int8
133800+ _ [4]byte
133801 }
133802
133803 type EpollEvent struct {
133804@@ -640,37 +210,14 @@ type EpollEvent struct {
133805 }
133806
133807 const (
133808- AT_FDCWD = -0x64
133809- AT_REMOVEDIR = 0x200
133810- AT_SYMLINK_FOLLOW = 0x400
133811- AT_SYMLINK_NOFOLLOW = 0x100
133812-)
133813-
133814-type PollFd struct {
133815- Fd int32
133816- Events int16
133817- Revents int16
133818-}
133819-
133820-const (
133821- POLLIN = 0x1
133822- POLLPRI = 0x2
133823- POLLOUT = 0x4
133824 POLLRDHUP = 0x2000
133825- POLLERR = 0x8
133826- POLLHUP = 0x10
133827- POLLNVAL = 0x20
133828 )
133829
133830 type Sigset_t struct {
133831- X__val [16]uint64
133832+ Val [16]uint64
133833 }
133834
133835-const RNDGETENTCNT = 0x80045200
133836-
133837-const PERF_IOC_FLAG_GROUP = 0x1
133838-
133839-const _SC_PAGESIZE = 0x1e
133840+const _C__NSIG = 0x41
133841
133842 type Termios struct {
133843 Iflag uint32
133844@@ -683,20 +230,11 @@ type Termios struct {
133845 Ospeed uint32
133846 }
133847
133848-type Winsize struct {
133849- Row uint16
133850- Col uint16
133851- Xpixel uint16
133852- Ypixel uint16
133853-}
133854-
133855 type Taskstats struct {
133856 Version uint16
133857- Pad_cgo_0 [2]byte
133858 Ac_exitcode uint32
133859 Ac_flag uint8
133860 Ac_nice uint8
133861- Pad_cgo_1 [6]byte
133862 Cpu_count uint64
133863 Cpu_delay_total uint64
133864 Blkio_count uint64
133865@@ -708,13 +246,12 @@ type Taskstats struct {
133866 Ac_comm [32]int8
133867 Ac_sched uint8
133868 Ac_pad [3]uint8
133869- Pad_cgo_2 [4]byte
133870+ _ [4]byte
133871 Ac_uid uint32
133872 Ac_gid uint32
133873 Ac_pid uint32
133874 Ac_ppid uint32
133875 Ac_btime uint32
133876- Pad_cgo_3 [4]byte
133877 Ac_etime uint64
133878 Ac_utime uint64
133879 Ac_stime uint64
133880@@ -738,55 +275,319 @@ type Taskstats struct {
133881 Cpu_scaled_run_real_total uint64
133882 Freepages_count uint64
133883 Freepages_delay_total uint64
133884+ Thrashing_count uint64
133885+ Thrashing_delay_total uint64
133886+ Ac_btime64 uint64
133887 }
133888
133889+type cpuMask uint64
133890+
133891 const (
133892- TASKSTATS_CMD_UNSPEC = 0x0
133893- TASKSTATS_CMD_GET = 0x1
133894- TASKSTATS_CMD_NEW = 0x2
133895- TASKSTATS_TYPE_UNSPEC = 0x0
133896- TASKSTATS_TYPE_PID = 0x1
133897- TASKSTATS_TYPE_TGID = 0x2
133898- TASKSTATS_TYPE_STATS = 0x3
133899- TASKSTATS_TYPE_AGGR_PID = 0x4
133900- TASKSTATS_TYPE_AGGR_TGID = 0x5
133901- TASKSTATS_TYPE_NULL = 0x6
133902- TASKSTATS_CMD_ATTR_UNSPEC = 0x0
133903- TASKSTATS_CMD_ATTR_PID = 0x1
133904- TASKSTATS_CMD_ATTR_TGID = 0x2
133905- TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 0x3
133906- TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4
133907+ _NCPUBITS = 0x40
133908 )
133909
133910-type Genlmsghdr struct {
133911- Cmd uint8
133912- Version uint8
133913- Reserved uint16
133914+const (
133915+ CBitFieldMaskBit0 = 0x1
133916+ CBitFieldMaskBit1 = 0x2
133917+ CBitFieldMaskBit2 = 0x4
133918+ CBitFieldMaskBit3 = 0x8
133919+ CBitFieldMaskBit4 = 0x10
133920+ CBitFieldMaskBit5 = 0x20
133921+ CBitFieldMaskBit6 = 0x40
133922+ CBitFieldMaskBit7 = 0x80
133923+ CBitFieldMaskBit8 = 0x100
133924+ CBitFieldMaskBit9 = 0x200
133925+ CBitFieldMaskBit10 = 0x400
133926+ CBitFieldMaskBit11 = 0x800
133927+ CBitFieldMaskBit12 = 0x1000
133928+ CBitFieldMaskBit13 = 0x2000
133929+ CBitFieldMaskBit14 = 0x4000
133930+ CBitFieldMaskBit15 = 0x8000
133931+ CBitFieldMaskBit16 = 0x10000
133932+ CBitFieldMaskBit17 = 0x20000
133933+ CBitFieldMaskBit18 = 0x40000
133934+ CBitFieldMaskBit19 = 0x80000
133935+ CBitFieldMaskBit20 = 0x100000
133936+ CBitFieldMaskBit21 = 0x200000
133937+ CBitFieldMaskBit22 = 0x400000
133938+ CBitFieldMaskBit23 = 0x800000
133939+ CBitFieldMaskBit24 = 0x1000000
133940+ CBitFieldMaskBit25 = 0x2000000
133941+ CBitFieldMaskBit26 = 0x4000000
133942+ CBitFieldMaskBit27 = 0x8000000
133943+ CBitFieldMaskBit28 = 0x10000000
133944+ CBitFieldMaskBit29 = 0x20000000
133945+ CBitFieldMaskBit30 = 0x40000000
133946+ CBitFieldMaskBit31 = 0x80000000
133947+ CBitFieldMaskBit32 = 0x100000000
133948+ CBitFieldMaskBit33 = 0x200000000
133949+ CBitFieldMaskBit34 = 0x400000000
133950+ CBitFieldMaskBit35 = 0x800000000
133951+ CBitFieldMaskBit36 = 0x1000000000
133952+ CBitFieldMaskBit37 = 0x2000000000
133953+ CBitFieldMaskBit38 = 0x4000000000
133954+ CBitFieldMaskBit39 = 0x8000000000
133955+ CBitFieldMaskBit40 = 0x10000000000
133956+ CBitFieldMaskBit41 = 0x20000000000
133957+ CBitFieldMaskBit42 = 0x40000000000
133958+ CBitFieldMaskBit43 = 0x80000000000
133959+ CBitFieldMaskBit44 = 0x100000000000
133960+ CBitFieldMaskBit45 = 0x200000000000
133961+ CBitFieldMaskBit46 = 0x400000000000
133962+ CBitFieldMaskBit47 = 0x800000000000
133963+ CBitFieldMaskBit48 = 0x1000000000000
133964+ CBitFieldMaskBit49 = 0x2000000000000
133965+ CBitFieldMaskBit50 = 0x4000000000000
133966+ CBitFieldMaskBit51 = 0x8000000000000
133967+ CBitFieldMaskBit52 = 0x10000000000000
133968+ CBitFieldMaskBit53 = 0x20000000000000
133969+ CBitFieldMaskBit54 = 0x40000000000000
133970+ CBitFieldMaskBit55 = 0x80000000000000
133971+ CBitFieldMaskBit56 = 0x100000000000000
133972+ CBitFieldMaskBit57 = 0x200000000000000
133973+ CBitFieldMaskBit58 = 0x400000000000000
133974+ CBitFieldMaskBit59 = 0x800000000000000
133975+ CBitFieldMaskBit60 = 0x1000000000000000
133976+ CBitFieldMaskBit61 = 0x2000000000000000
133977+ CBitFieldMaskBit62 = 0x4000000000000000
133978+ CBitFieldMaskBit63 = 0x8000000000000000
133979+)
133980+
133981+type SockaddrStorage struct {
133982+ Family uint16
133983+ _ [118]int8
133984+ _ uint64
133985+}
133986+
133987+type HDGeometry struct {
133988+ Heads uint8
133989+ Sectors uint8
133990+ Cylinders uint16
133991+ Start uint64
133992+}
133993+
133994+type Statfs_t struct {
133995+ Type int64
133996+ Bsize int64
133997+ Blocks uint64
133998+ Bfree uint64
133999+ Bavail uint64
134000+ Files uint64
134001+ Ffree uint64
134002+ Fsid Fsid
134003+ Namelen int64
134004+ Frsize int64
134005+ Flags int64
134006+ Spare [4]int64
134007+}
134008+
134009+type TpacketHdr struct {
134010+ Status uint64
134011+ Len uint32
134012+ Snaplen uint32
134013+ Mac uint16
134014+ Net uint16
134015+ Sec uint32
134016+ Usec uint32
134017+ _ [4]byte
134018 }
134019
134020 const (
134021- CTRL_CMD_UNSPEC = 0x0
134022- CTRL_CMD_NEWFAMILY = 0x1
134023- CTRL_CMD_DELFAMILY = 0x2
134024- CTRL_CMD_GETFAMILY = 0x3
134025- CTRL_CMD_NEWOPS = 0x4
134026- CTRL_CMD_DELOPS = 0x5
134027- CTRL_CMD_GETOPS = 0x6
134028- CTRL_CMD_NEWMCAST_GRP = 0x7
134029- CTRL_CMD_DELMCAST_GRP = 0x8
134030- CTRL_CMD_GETMCAST_GRP = 0x9
134031- CTRL_ATTR_UNSPEC = 0x0
134032- CTRL_ATTR_FAMILY_ID = 0x1
134033- CTRL_ATTR_FAMILY_NAME = 0x2
134034- CTRL_ATTR_VERSION = 0x3
134035- CTRL_ATTR_HDRSIZE = 0x4
134036- CTRL_ATTR_MAXATTR = 0x5
134037- CTRL_ATTR_OPS = 0x6
134038- CTRL_ATTR_MCAST_GROUPS = 0x7
134039- CTRL_ATTR_OP_UNSPEC = 0x0
134040- CTRL_ATTR_OP_ID = 0x1
134041- CTRL_ATTR_OP_FLAGS = 0x2
134042- CTRL_ATTR_MCAST_GRP_UNSPEC = 0x0
134043- CTRL_ATTR_MCAST_GRP_NAME = 0x1
134044- CTRL_ATTR_MCAST_GRP_ID = 0x2
134045+ SizeofTpacketHdr = 0x20
134046 )
134047+
134048+type RTCPLLInfo struct {
134049+ Ctrl int32
134050+ Value int32
134051+ Max int32
134052+ Min int32
134053+ Posmult int32
134054+ Negmult int32
134055+ Clock int64
134056+}
134057+
134058+type BlkpgPartition struct {
134059+ Start int64
134060+ Length int64
134061+ Pno int32
134062+ Devname [64]uint8
134063+ Volname [64]uint8
134064+ _ [4]byte
134065+}
134066+
134067+const (
134068+ BLKPG = 0x1269
134069+)
134070+
134071+type XDPUmemReg struct {
134072+ Addr uint64
134073+ Len uint64
134074+ Size uint32
134075+ Headroom uint32
134076+ Flags uint32
134077+ _ [4]byte
134078+}
134079+
134080+type CryptoUserAlg struct {
134081+ Name [64]int8
134082+ Driver_name [64]int8
134083+ Module_name [64]int8
134084+ Type uint32
134085+ Mask uint32
134086+ Refcnt uint32
134087+ Flags uint32
134088+}
134089+
134090+type CryptoStatAEAD struct {
134091+ Type [64]int8
134092+ Encrypt_cnt uint64
134093+ Encrypt_tlen uint64
134094+ Decrypt_cnt uint64
134095+ Decrypt_tlen uint64
134096+ Err_cnt uint64
134097+}
134098+
134099+type CryptoStatAKCipher struct {
134100+ Type [64]int8
134101+ Encrypt_cnt uint64
134102+ Encrypt_tlen uint64
134103+ Decrypt_cnt uint64
134104+ Decrypt_tlen uint64
134105+ Verify_cnt uint64
134106+ Sign_cnt uint64
134107+ Err_cnt uint64
134108+}
134109+
134110+type CryptoStatCipher struct {
134111+ Type [64]int8
134112+ Encrypt_cnt uint64
134113+ Encrypt_tlen uint64
134114+ Decrypt_cnt uint64
134115+ Decrypt_tlen uint64
134116+ Err_cnt uint64
134117+}
134118+
134119+type CryptoStatCompress struct {
134120+ Type [64]int8
134121+ Compress_cnt uint64
134122+ Compress_tlen uint64
134123+ Decompress_cnt uint64
134124+ Decompress_tlen uint64
134125+ Err_cnt uint64
134126+}
134127+
134128+type CryptoStatHash struct {
134129+ Type [64]int8
134130+ Hash_cnt uint64
134131+ Hash_tlen uint64
134132+ Err_cnt uint64
134133+}
134134+
134135+type CryptoStatKPP struct {
134136+ Type [64]int8
134137+ Setsecret_cnt uint64
134138+ Generate_public_key_cnt uint64
134139+ Compute_shared_secret_cnt uint64
134140+ Err_cnt uint64
134141+}
134142+
134143+type CryptoStatRNG struct {
134144+ Type [64]int8
134145+ Generate_cnt uint64
134146+ Generate_tlen uint64
134147+ Seed_cnt uint64
134148+ Err_cnt uint64
134149+}
134150+
134151+type CryptoStatLarval struct {
134152+ Type [64]int8
134153+}
134154+
134155+type CryptoReportLarval struct {
134156+ Type [64]int8
134157+}
134158+
134159+type CryptoReportHash struct {
134160+ Type [64]int8
134161+ Blocksize uint32
134162+ Digestsize uint32
134163+}
134164+
134165+type CryptoReportCipher struct {
134166+ Type [64]int8
134167+ Blocksize uint32
134168+ Min_keysize uint32
134169+ Max_keysize uint32
134170+}
134171+
134172+type CryptoReportBlkCipher struct {
134173+ Type [64]int8
134174+ Geniv [64]int8
134175+ Blocksize uint32
134176+ Min_keysize uint32
134177+ Max_keysize uint32
134178+ Ivsize uint32
134179+}
134180+
134181+type CryptoReportAEAD struct {
134182+ Type [64]int8
134183+ Geniv [64]int8
134184+ Blocksize uint32
134185+ Maxauthsize uint32
134186+ Ivsize uint32
134187+}
134188+
134189+type CryptoReportComp struct {
134190+ Type [64]int8
134191+}
134192+
134193+type CryptoReportRNG struct {
134194+ Type [64]int8
134195+ Seedsize uint32
134196+}
134197+
134198+type CryptoReportAKCipher struct {
134199+ Type [64]int8
134200+}
134201+
134202+type CryptoReportKPP struct {
134203+ Type [64]int8
134204+}
134205+
134206+type CryptoReportAcomp struct {
134207+ Type [64]int8
134208+}
134209+
134210+type LoopInfo struct {
134211+ Number int32
134212+ Device uint32
134213+ Inode uint64
134214+ Rdevice uint32
134215+ Offset int32
134216+ Encrypt_type int32
134217+ Encrypt_key_size int32
134218+ Flags int32
134219+ Name [64]int8
134220+ Encrypt_key [32]uint8
134221+ Init [2]uint64
134222+ Reserved [4]int8
134223+ _ [4]byte
134224+}
134225+
134226+type TIPCSubscr struct {
134227+ Seq TIPCServiceRange
134228+ Timeout uint32
134229+ Filter uint32
134230+ Handle [8]int8
134231+}
134232+
134233+type TIPCSIOCLNReq struct {
134234+ Peer uint32
134235+ Id uint32
134236+ Linkname [68]int8
134237+}
134238+
134239+type TIPCSIOCNodeIDReq struct {
134240+ Peer uint32
134241+ Id [16]int8
134242+}
134243diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go b/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go
134244index 8fa6603f..aaca03dd 100644
134245--- a/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go
134246+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go
134247@@ -6,19 +6,12 @@
134248 package unix
134249
134250 const (
134251- sizeofPtr = 0x4
134252- sizeofShort = 0x2
134253- sizeofInt = 0x4
134254- sizeofLong = 0x4
134255- sizeofLongLong = 0x8
134256- PathMax = 0x1000
134257+ SizeofPtr = 0x4
134258+ SizeofLong = 0x4
134259 )
134260
134261 type (
134262- _C_short int16
134263- _C_int int32
134264- _C_long int32
134265- _C_long_long int64
134266+ _C_long int32
134267 )
134268
134269 type Timespec struct {
134270@@ -52,7 +45,7 @@ type Timex struct {
134271 Errcnt int32
134272 Stbcnt int32
134273 Tai int32
134274- Pad_cgo_0 [44]byte
134275+ _ [44]byte
134276 }
134277
134278 type Time_t int32
134279@@ -88,13 +81,6 @@ type Rusage struct {
134280 Nivcsw int32
134281 }
134282
134283-type Rlimit struct {
134284- Cur uint64
134285- Max uint64
134286-}
134287-
134288-type _Gid_t uint32
134289-
134290 type Stat_t struct {
134291 Dev uint32
134292 Pad1 [3]int32
134293@@ -115,141 +101,30 @@ type Stat_t struct {
134294 Pad5 [14]int32
134295 }
134296
134297-type Statfs_t struct {
134298- Type int32
134299- Bsize int32
134300- Frsize int32
134301- Pad_cgo_0 [4]byte
134302- Blocks uint64
134303- Bfree uint64
134304- Files uint64
134305- Ffree uint64
134306- Bavail uint64
134307- Fsid Fsid
134308- Namelen int32
134309- Flags int32
134310- Spare [5]int32
134311- Pad_cgo_1 [4]byte
134312-}
134313-
134314 type Dirent struct {
134315- Ino uint64
134316- Off int64
134317- Reclen uint16
134318- Type uint8
134319- Name [256]int8
134320- Pad_cgo_0 [5]byte
134321-}
134322-
134323-type Fsid struct {
134324- X__val [2]int32
134325+ Ino uint64
134326+ Off int64
134327+ Reclen uint16
134328+ Type uint8
134329+ Name [256]int8
134330+ _ [5]byte
134331 }
134332
134333 type Flock_t struct {
134334- Type int16
134335- Whence int16
134336- Pad_cgo_0 [4]byte
134337- Start int64
134338- Len int64
134339- Pid int32
134340- Pad_cgo_1 [4]byte
134341-}
134342-
134343-type FscryptPolicy struct {
134344- Version uint8
134345- Contents_encryption_mode uint8
134346- Filenames_encryption_mode uint8
134347- Flags uint8
134348- Master_key_descriptor [8]uint8
134349-}
134350-
134351-type FscryptKey struct {
134352- Mode uint32
134353- Raw [64]uint8
134354- Size uint32
134355-}
134356-
134357-type KeyctlDHParams struct {
134358- Private int32
134359- Prime int32
134360- Base int32
134361+ Type int16
134362+ Whence int16
134363+ _ [4]byte
134364+ Start int64
134365+ Len int64
134366+ Pid int32
134367+ _ [4]byte
134368 }
134369
134370 const (
134371- FADV_NORMAL = 0x0
134372- FADV_RANDOM = 0x1
134373- FADV_SEQUENTIAL = 0x2
134374- FADV_WILLNEED = 0x3
134375- FADV_DONTNEED = 0x4
134376- FADV_NOREUSE = 0x5
134377+ FADV_DONTNEED = 0x4
134378+ FADV_NOREUSE = 0x5
134379 )
134380
134381-type RawSockaddrInet4 struct {
134382- Family uint16
134383- Port uint16
134384- Addr [4]byte /* in_addr */
134385- Zero [8]uint8
134386-}
134387-
134388-type RawSockaddrInet6 struct {
134389- Family uint16
134390- Port uint16
134391- Flowinfo uint32
134392- Addr [16]byte /* in6_addr */
134393- Scope_id uint32
134394-}
134395-
134396-type RawSockaddrUnix struct {
134397- Family uint16
134398- Path [108]int8
134399-}
134400-
134401-type RawSockaddrLinklayer struct {
134402- Family uint16
134403- Protocol uint16
134404- Ifindex int32
134405- Hatype uint16
134406- Pkttype uint8
134407- Halen uint8
134408- Addr [8]uint8
134409-}
134410-
134411-type RawSockaddrNetlink struct {
134412- Family uint16
134413- Pad uint16
134414- Pid uint32
134415- Groups uint32
134416-}
134417-
134418-type RawSockaddrHCI struct {
134419- Family uint16
134420- Dev uint16
134421- Channel uint16
134422-}
134423-
134424-type RawSockaddrCAN struct {
134425- Family uint16
134426- Pad_cgo_0 [2]byte
134427- Ifindex int32
134428- Addr [8]byte
134429-}
134430-
134431-type RawSockaddrALG struct {
134432- Family uint16
134433- Type [14]uint8
134434- Feat uint32
134435- Mask uint32
134436- Name [64]uint8
134437-}
134438-
134439-type RawSockaddrVM struct {
134440- Family uint16
134441- Reserved1 uint16
134442- Port uint32
134443- Cid uint32
134444- Zero [4]uint8
134445-}
134446-
134447 type RawSockaddr struct {
134448 Family uint16
134449 Data [14]int8
134450@@ -260,41 +135,11 @@ type RawSockaddrAny struct {
134451 Pad [96]int8
134452 }
134453
134454-type _Socklen uint32
134455-
134456-type Linger struct {
134457- Onoff int32
134458- Linger int32
134459-}
134460-
134461 type Iovec struct {
134462 Base *byte
134463 Len uint32
134464 }
134465
134466-type IPMreq struct {
134467- Multiaddr [4]byte /* in_addr */
134468- Interface [4]byte /* in_addr */
134469-}
134470-
134471-type IPMreqn struct {
134472- Multiaddr [4]byte /* in_addr */
134473- Address [4]byte /* in_addr */
134474- Ifindex int32
134475-}
134476-
134477-type IPv6Mreq struct {
134478- Multiaddr [16]byte /* in6_addr */
134479- Interface uint32
134480-}
134481-
134482-type PacketMreq struct {
134483- Ifindex int32
134484- Type uint16
134485- Alen uint16
134486- Address [8]uint8
134487-}
134488-
134489 type Msghdr struct {
134490 Name *byte
134491 Namelen uint32
134492@@ -311,277 +156,16 @@ type Cmsghdr struct {
134493 Type int32
134494 }
134495
134496-type Inet4Pktinfo struct {
134497- Ifindex int32
134498- Spec_dst [4]byte /* in_addr */
134499- Addr [4]byte /* in_addr */
134500-}
134501-
134502-type Inet6Pktinfo struct {
134503- Addr [16]byte /* in6_addr */
134504- Ifindex uint32
134505-}
134506-
134507-type IPv6MTUInfo struct {
134508- Addr RawSockaddrInet6
134509- Mtu uint32
134510-}
134511-
134512-type ICMPv6Filter struct {
134513- Data [8]uint32
134514-}
134515-
134516-type Ucred struct {
134517- Pid int32
134518- Uid uint32
134519- Gid uint32
134520-}
134521-
134522-type TCPInfo struct {
134523- State uint8
134524- Ca_state uint8
134525- Retransmits uint8
134526- Probes uint8
134527- Backoff uint8
134528- Options uint8
134529- Pad_cgo_0 [2]byte
134530- Rto uint32
134531- Ato uint32
134532- Snd_mss uint32
134533- Rcv_mss uint32
134534- Unacked uint32
134535- Sacked uint32
134536- Lost uint32
134537- Retrans uint32
134538- Fackets uint32
134539- Last_data_sent uint32
134540- Last_ack_sent uint32
134541- Last_data_recv uint32
134542- Last_ack_recv uint32
134543- Pmtu uint32
134544- Rcv_ssthresh uint32
134545- Rtt uint32
134546- Rttvar uint32
134547- Snd_ssthresh uint32
134548- Snd_cwnd uint32
134549- Advmss uint32
134550- Reordering uint32
134551- Rcv_rtt uint32
134552- Rcv_space uint32
134553- Total_retrans uint32
134554-}
134555-
134556 const (
134557- SizeofSockaddrInet4 = 0x10
134558- SizeofSockaddrInet6 = 0x1c
134559- SizeofSockaddrAny = 0x70
134560- SizeofSockaddrUnix = 0x6e
134561- SizeofSockaddrLinklayer = 0x14
134562- SizeofSockaddrNetlink = 0xc
134563- SizeofSockaddrHCI = 0x6
134564- SizeofSockaddrCAN = 0x10
134565- SizeofSockaddrALG = 0x58
134566- SizeofSockaddrVM = 0x10
134567- SizeofLinger = 0x8
134568- SizeofIovec = 0x8
134569- SizeofIPMreq = 0x8
134570- SizeofIPMreqn = 0xc
134571- SizeofIPv6Mreq = 0x14
134572- SizeofPacketMreq = 0x10
134573- SizeofMsghdr = 0x1c
134574- SizeofCmsghdr = 0xc
134575- SizeofInet4Pktinfo = 0xc
134576- SizeofInet6Pktinfo = 0x14
134577- SizeofIPv6MTUInfo = 0x20
134578- SizeofICMPv6Filter = 0x20
134579- SizeofUcred = 0xc
134580- SizeofTCPInfo = 0x68
134581+ SizeofIovec = 0x8
134582+ SizeofMsghdr = 0x1c
134583+ SizeofCmsghdr = 0xc
134584 )
134585
134586 const (
134587- IFA_UNSPEC = 0x0
134588- IFA_ADDRESS = 0x1
134589- IFA_LOCAL = 0x2
134590- IFA_LABEL = 0x3
134591- IFA_BROADCAST = 0x4
134592- IFA_ANYCAST = 0x5
134593- IFA_CACHEINFO = 0x6
134594- IFA_MULTICAST = 0x7
134595- IFLA_UNSPEC = 0x0
134596- IFLA_ADDRESS = 0x1
134597- IFLA_BROADCAST = 0x2
134598- IFLA_IFNAME = 0x3
134599- IFLA_MTU = 0x4
134600- IFLA_LINK = 0x5
134601- IFLA_QDISC = 0x6
134602- IFLA_STATS = 0x7
134603- IFLA_COST = 0x8
134604- IFLA_PRIORITY = 0x9
134605- IFLA_MASTER = 0xa
134606- IFLA_WIRELESS = 0xb
134607- IFLA_PROTINFO = 0xc
134608- IFLA_TXQLEN = 0xd
134609- IFLA_MAP = 0xe
134610- IFLA_WEIGHT = 0xf
134611- IFLA_OPERSTATE = 0x10
134612- IFLA_LINKMODE = 0x11
134613- IFLA_LINKINFO = 0x12
134614- IFLA_NET_NS_PID = 0x13
134615- IFLA_IFALIAS = 0x14
134616- IFLA_MAX = 0x2b
134617- RT_SCOPE_UNIVERSE = 0x0
134618- RT_SCOPE_SITE = 0xc8
134619- RT_SCOPE_LINK = 0xfd
134620- RT_SCOPE_HOST = 0xfe
134621- RT_SCOPE_NOWHERE = 0xff
134622- RT_TABLE_UNSPEC = 0x0
134623- RT_TABLE_COMPAT = 0xfc
134624- RT_TABLE_DEFAULT = 0xfd
134625- RT_TABLE_MAIN = 0xfe
134626- RT_TABLE_LOCAL = 0xff
134627- RT_TABLE_MAX = 0xffffffff
134628- RTA_UNSPEC = 0x0
134629- RTA_DST = 0x1
134630- RTA_SRC = 0x2
134631- RTA_IIF = 0x3
134632- RTA_OIF = 0x4
134633- RTA_GATEWAY = 0x5
134634- RTA_PRIORITY = 0x6
134635- RTA_PREFSRC = 0x7
134636- RTA_METRICS = 0x8
134637- RTA_MULTIPATH = 0x9
134638- RTA_FLOW = 0xb
134639- RTA_CACHEINFO = 0xc
134640- RTA_TABLE = 0xf
134641- RTN_UNSPEC = 0x0
134642- RTN_UNICAST = 0x1
134643- RTN_LOCAL = 0x2
134644- RTN_BROADCAST = 0x3
134645- RTN_ANYCAST = 0x4
134646- RTN_MULTICAST = 0x5
134647- RTN_BLACKHOLE = 0x6
134648- RTN_UNREACHABLE = 0x7
134649- RTN_PROHIBIT = 0x8
134650- RTN_THROW = 0x9
134651- RTN_NAT = 0xa
134652- RTN_XRESOLVE = 0xb
134653- RTNLGRP_NONE = 0x0
134654- RTNLGRP_LINK = 0x1
134655- RTNLGRP_NOTIFY = 0x2
134656- RTNLGRP_NEIGH = 0x3
134657- RTNLGRP_TC = 0x4
134658- RTNLGRP_IPV4_IFADDR = 0x5
134659- RTNLGRP_IPV4_MROUTE = 0x6
134660- RTNLGRP_IPV4_ROUTE = 0x7
134661- RTNLGRP_IPV4_RULE = 0x8
134662- RTNLGRP_IPV6_IFADDR = 0x9
134663- RTNLGRP_IPV6_MROUTE = 0xa
134664- RTNLGRP_IPV6_ROUTE = 0xb
134665- RTNLGRP_IPV6_IFINFO = 0xc
134666- RTNLGRP_IPV6_PREFIX = 0x12
134667- RTNLGRP_IPV6_RULE = 0x13
134668- RTNLGRP_ND_USEROPT = 0x14
134669- SizeofNlMsghdr = 0x10
134670- SizeofNlMsgerr = 0x14
134671- SizeofRtGenmsg = 0x1
134672- SizeofNlAttr = 0x4
134673- SizeofRtAttr = 0x4
134674- SizeofIfInfomsg = 0x10
134675- SizeofIfAddrmsg = 0x8
134676- SizeofRtMsg = 0xc
134677- SizeofRtNexthop = 0x8
134678+ SizeofSockFprog = 0x8
134679 )
134680
134681-type NlMsghdr struct {
134682- Len uint32
134683- Type uint16
134684- Flags uint16
134685- Seq uint32
134686- Pid uint32
134687-}
134688-
134689-type NlMsgerr struct {
134690- Error int32
134691- Msg NlMsghdr
134692-}
134693-
134694-type RtGenmsg struct {
134695- Family uint8
134696-}
134697-
134698-type NlAttr struct {
134699- Len uint16
134700- Type uint16
134701-}
134702-
134703-type RtAttr struct {
134704- Len uint16
134705- Type uint16
134706-}
134707-
134708-type IfInfomsg struct {
134709- Family uint8
134710- X__ifi_pad uint8
134711- Type uint16
134712- Index int32
134713- Flags uint32
134714- Change uint32
134715-}
134716-
134717-type IfAddrmsg struct {
134718- Family uint8
134719- Prefixlen uint8
134720- Flags uint8
134721- Scope uint8
134722- Index uint32
134723-}
134724-
134725-type RtMsg struct {
134726- Family uint8
134727- Dst_len uint8
134728- Src_len uint8
134729- Tos uint8
134730- Table uint8
134731- Protocol uint8
134732- Scope uint8
134733- Type uint8
134734- Flags uint32
134735-}
134736-
134737-type RtNexthop struct {
134738- Len uint16
134739- Flags uint8
134740- Hops uint8
134741- Ifindex int32
134742-}
134743-
134744-const (
134745- SizeofSockFilter = 0x8
134746- SizeofSockFprog = 0x8
134747-)
134748-
134749-type SockFilter struct {
134750- Code uint16
134751- Jt uint8
134752- Jf uint8
134753- K uint32
134754-}
134755-
134756-type SockFprog struct {
134757- Len uint16
134758- Pad_cgo_0 [2]byte
134759- Filter *SockFilter
134760-}
134761-
134762-type InotifyEvent struct {
134763- Wd int32
134764- Mask uint32
134765- Cookie uint32
134766- Len uint32
134767-}
134768-
134769-const SizeofInotifyEvent = 0x10
134770-
134771 type PtraceRegs struct {
134772 Regs [32]uint64
134773 Lo uint64
134774@@ -610,16 +194,7 @@ type Sysinfo_t struct {
134775 Totalhigh uint32
134776 Freehigh uint32
134777 Unit uint32
134778- X_f [8]int8
134779-}
134780-
134781-type Utsname struct {
134782- Sysname [65]int8
134783- Nodename [65]int8
134784- Release [65]int8
134785- Version [65]int8
134786- Machine [65]int8
134787- Domainname [65]int8
134788+ _ [8]int8
134789 }
134790
134791 type Ustat_t struct {
134792@@ -637,37 +212,14 @@ type EpollEvent struct {
134793 }
134794
134795 const (
134796- AT_FDCWD = -0x64
134797- AT_REMOVEDIR = 0x200
134798- AT_SYMLINK_FOLLOW = 0x400
134799- AT_SYMLINK_NOFOLLOW = 0x100
134800-)
134801-
134802-type PollFd struct {
134803- Fd int32
134804- Events int16
134805- Revents int16
134806-}
134807-
134808-const (
134809- POLLIN = 0x1
134810- POLLPRI = 0x2
134811- POLLOUT = 0x4
134812 POLLRDHUP = 0x2000
134813- POLLERR = 0x8
134814- POLLHUP = 0x10
134815- POLLNVAL = 0x20
134816 )
134817
134818 type Sigset_t struct {
134819- X__val [32]uint32
134820+ Val [32]uint32
134821 }
134822
134823-const RNDGETENTCNT = 0x40045200
134824-
134825-const PERF_IOC_FLAG_GROUP = 0x1
134826-
134827-const _SC_PAGESIZE = 0x1e
134828+const _C__NSIG = 0x80
134829
134830 type Termios struct {
134831 Iflag uint32
134832@@ -680,20 +232,12 @@ type Termios struct {
134833 Ospeed uint32
134834 }
134835
134836-type Winsize struct {
134837- Row uint16
134838- Col uint16
134839- Xpixel uint16
134840- Ypixel uint16
134841-}
134842-
134843 type Taskstats struct {
134844 Version uint16
134845- Pad_cgo_0 [2]byte
134846 Ac_exitcode uint32
134847 Ac_flag uint8
134848 Ac_nice uint8
134849- Pad_cgo_1 [6]byte
134850+ _ [4]byte
134851 Cpu_count uint64
134852 Cpu_delay_total uint64
134853 Blkio_count uint64
134854@@ -705,13 +249,13 @@ type Taskstats struct {
134855 Ac_comm [32]int8
134856 Ac_sched uint8
134857 Ac_pad [3]uint8
134858- Pad_cgo_2 [4]byte
134859+ _ [4]byte
134860 Ac_uid uint32
134861 Ac_gid uint32
134862 Ac_pid uint32
134863 Ac_ppid uint32
134864 Ac_btime uint32
134865- Pad_cgo_3 [4]byte
134866+ _ [4]byte
134867 Ac_etime uint64
134868 Ac_utime uint64
134869 Ac_stime uint64
134870@@ -735,55 +279,319 @@ type Taskstats struct {
134871 Cpu_scaled_run_real_total uint64
134872 Freepages_count uint64
134873 Freepages_delay_total uint64
134874+ Thrashing_count uint64
134875+ Thrashing_delay_total uint64
134876+ Ac_btime64 uint64
134877 }
134878
134879+type cpuMask uint32
134880+
134881+const (
134882+ _NCPUBITS = 0x20
134883+)
134884+
134885 const (
134886- TASKSTATS_CMD_UNSPEC = 0x0
134887- TASKSTATS_CMD_GET = 0x1
134888- TASKSTATS_CMD_NEW = 0x2
134889- TASKSTATS_TYPE_UNSPEC = 0x0
134890- TASKSTATS_TYPE_PID = 0x1
134891- TASKSTATS_TYPE_TGID = 0x2
134892- TASKSTATS_TYPE_STATS = 0x3
134893- TASKSTATS_TYPE_AGGR_PID = 0x4
134894- TASKSTATS_TYPE_AGGR_TGID = 0x5
134895- TASKSTATS_TYPE_NULL = 0x6
134896- TASKSTATS_CMD_ATTR_UNSPEC = 0x0
134897- TASKSTATS_CMD_ATTR_PID = 0x1
134898- TASKSTATS_CMD_ATTR_TGID = 0x2
134899- TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 0x3
134900- TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4
134901+ CBitFieldMaskBit0 = 0x8000000000000000
134902+ CBitFieldMaskBit1 = 0x4000000000000000
134903+ CBitFieldMaskBit2 = 0x2000000000000000
134904+ CBitFieldMaskBit3 = 0x1000000000000000
134905+ CBitFieldMaskBit4 = 0x800000000000000
134906+ CBitFieldMaskBit5 = 0x400000000000000
134907+ CBitFieldMaskBit6 = 0x200000000000000
134908+ CBitFieldMaskBit7 = 0x100000000000000
134909+ CBitFieldMaskBit8 = 0x80000000000000
134910+ CBitFieldMaskBit9 = 0x40000000000000
134911+ CBitFieldMaskBit10 = 0x20000000000000
134912+ CBitFieldMaskBit11 = 0x10000000000000
134913+ CBitFieldMaskBit12 = 0x8000000000000
134914+ CBitFieldMaskBit13 = 0x4000000000000
134915+ CBitFieldMaskBit14 = 0x2000000000000
134916+ CBitFieldMaskBit15 = 0x1000000000000
134917+ CBitFieldMaskBit16 = 0x800000000000
134918+ CBitFieldMaskBit17 = 0x400000000000
134919+ CBitFieldMaskBit18 = 0x200000000000
134920+ CBitFieldMaskBit19 = 0x100000000000
134921+ CBitFieldMaskBit20 = 0x80000000000
134922+ CBitFieldMaskBit21 = 0x40000000000
134923+ CBitFieldMaskBit22 = 0x20000000000
134924+ CBitFieldMaskBit23 = 0x10000000000
134925+ CBitFieldMaskBit24 = 0x8000000000
134926+ CBitFieldMaskBit25 = 0x4000000000
134927+ CBitFieldMaskBit26 = 0x2000000000
134928+ CBitFieldMaskBit27 = 0x1000000000
134929+ CBitFieldMaskBit28 = 0x800000000
134930+ CBitFieldMaskBit29 = 0x400000000
134931+ CBitFieldMaskBit30 = 0x200000000
134932+ CBitFieldMaskBit31 = 0x100000000
134933+ CBitFieldMaskBit32 = 0x80000000
134934+ CBitFieldMaskBit33 = 0x40000000
134935+ CBitFieldMaskBit34 = 0x20000000
134936+ CBitFieldMaskBit35 = 0x10000000
134937+ CBitFieldMaskBit36 = 0x8000000
134938+ CBitFieldMaskBit37 = 0x4000000
134939+ CBitFieldMaskBit38 = 0x2000000
134940+ CBitFieldMaskBit39 = 0x1000000
134941+ CBitFieldMaskBit40 = 0x800000
134942+ CBitFieldMaskBit41 = 0x400000
134943+ CBitFieldMaskBit42 = 0x200000
134944+ CBitFieldMaskBit43 = 0x100000
134945+ CBitFieldMaskBit44 = 0x80000
134946+ CBitFieldMaskBit45 = 0x40000
134947+ CBitFieldMaskBit46 = 0x20000
134948+ CBitFieldMaskBit47 = 0x10000
134949+ CBitFieldMaskBit48 = 0x8000
134950+ CBitFieldMaskBit49 = 0x4000
134951+ CBitFieldMaskBit50 = 0x2000
134952+ CBitFieldMaskBit51 = 0x1000
134953+ CBitFieldMaskBit52 = 0x800
134954+ CBitFieldMaskBit53 = 0x400
134955+ CBitFieldMaskBit54 = 0x200
134956+ CBitFieldMaskBit55 = 0x100
134957+ CBitFieldMaskBit56 = 0x80
134958+ CBitFieldMaskBit57 = 0x40
134959+ CBitFieldMaskBit58 = 0x20
134960+ CBitFieldMaskBit59 = 0x10
134961+ CBitFieldMaskBit60 = 0x8
134962+ CBitFieldMaskBit61 = 0x4
134963+ CBitFieldMaskBit62 = 0x2
134964+ CBitFieldMaskBit63 = 0x1
134965 )
134966
134967-type Genlmsghdr struct {
134968- Cmd uint8
134969- Version uint8
134970- Reserved uint16
134971+type SockaddrStorage struct {
134972+ Family uint16
134973+ _ [122]int8
134974+ _ uint32
134975+}
134976+
134977+type HDGeometry struct {
134978+ Heads uint8
134979+ Sectors uint8
134980+ Cylinders uint16
134981+ Start uint32
134982+}
134983+
134984+type Statfs_t struct {
134985+ Type int32
134986+ Bsize int32
134987+ Frsize int32
134988+ _ [4]byte
134989+ Blocks uint64
134990+ Bfree uint64
134991+ Files uint64
134992+ Ffree uint64
134993+ Bavail uint64
134994+ Fsid Fsid
134995+ Namelen int32
134996+ Flags int32
134997+ Spare [5]int32
134998+ _ [4]byte
134999+}
135000+
135001+type TpacketHdr struct {
135002+ Status uint32
135003+ Len uint32
135004+ Snaplen uint32
135005+ Mac uint16
135006+ Net uint16
135007+ Sec uint32
135008+ Usec uint32
135009+}
135010+
135011+const (
135012+ SizeofTpacketHdr = 0x18
135013+)
135014+
135015+type RTCPLLInfo struct {
135016+ Ctrl int32
135017+ Value int32
135018+ Max int32
135019+ Min int32
135020+ Posmult int32
135021+ Negmult int32
135022+ Clock int32
135023+}
135024+
135025+type BlkpgPartition struct {
135026+ Start int64
135027+ Length int64
135028+ Pno int32
135029+ Devname [64]uint8
135030+ Volname [64]uint8
135031+ _ [4]byte
135032 }
135033
135034 const (
135035- CTRL_CMD_UNSPEC = 0x0
135036- CTRL_CMD_NEWFAMILY = 0x1
135037- CTRL_CMD_DELFAMILY = 0x2
135038- CTRL_CMD_GETFAMILY = 0x3
135039- CTRL_CMD_NEWOPS = 0x4
135040- CTRL_CMD_DELOPS = 0x5
135041- CTRL_CMD_GETOPS = 0x6
135042- CTRL_CMD_NEWMCAST_GRP = 0x7
135043- CTRL_CMD_DELMCAST_GRP = 0x8
135044- CTRL_CMD_GETMCAST_GRP = 0x9
135045- CTRL_ATTR_UNSPEC = 0x0
135046- CTRL_ATTR_FAMILY_ID = 0x1
135047- CTRL_ATTR_FAMILY_NAME = 0x2
135048- CTRL_ATTR_VERSION = 0x3
135049- CTRL_ATTR_HDRSIZE = 0x4
135050- CTRL_ATTR_MAXATTR = 0x5
135051- CTRL_ATTR_OPS = 0x6
135052- CTRL_ATTR_MCAST_GROUPS = 0x7
135053- CTRL_ATTR_OP_UNSPEC = 0x0
135054- CTRL_ATTR_OP_ID = 0x1
135055- CTRL_ATTR_OP_FLAGS = 0x2
135056- CTRL_ATTR_MCAST_GRP_UNSPEC = 0x0
135057- CTRL_ATTR_MCAST_GRP_NAME = 0x1
135058- CTRL_ATTR_MCAST_GRP_ID = 0x2
135059+ BLKPG = 0x20001269
135060 )
135061+
135062+type XDPUmemReg struct {
135063+ Addr uint64
135064+ Len uint64
135065+ Size uint32
135066+ Headroom uint32
135067+ Flags uint32
135068+ _ [4]byte
135069+}
135070+
135071+type CryptoUserAlg struct {
135072+ Name [64]int8
135073+ Driver_name [64]int8
135074+ Module_name [64]int8
135075+ Type uint32
135076+ Mask uint32
135077+ Refcnt uint32
135078+ Flags uint32
135079+}
135080+
135081+type CryptoStatAEAD struct {
135082+ Type [64]int8
135083+ Encrypt_cnt uint64
135084+ Encrypt_tlen uint64
135085+ Decrypt_cnt uint64
135086+ Decrypt_tlen uint64
135087+ Err_cnt uint64
135088+}
135089+
135090+type CryptoStatAKCipher struct {
135091+ Type [64]int8
135092+ Encrypt_cnt uint64
135093+ Encrypt_tlen uint64
135094+ Decrypt_cnt uint64
135095+ Decrypt_tlen uint64
135096+ Verify_cnt uint64
135097+ Sign_cnt uint64
135098+ Err_cnt uint64
135099+}
135100+
135101+type CryptoStatCipher struct {
135102+ Type [64]int8
135103+ Encrypt_cnt uint64
135104+ Encrypt_tlen uint64
135105+ Decrypt_cnt uint64
135106+ Decrypt_tlen uint64
135107+ Err_cnt uint64
135108+}
135109+
135110+type CryptoStatCompress struct {
135111+ Type [64]int8
135112+ Compress_cnt uint64
135113+ Compress_tlen uint64
135114+ Decompress_cnt uint64
135115+ Decompress_tlen uint64
135116+ Err_cnt uint64
135117+}
135118+
135119+type CryptoStatHash struct {
135120+ Type [64]int8
135121+ Hash_cnt uint64
135122+ Hash_tlen uint64
135123+ Err_cnt uint64
135124+}
135125+
135126+type CryptoStatKPP struct {
135127+ Type [64]int8
135128+ Setsecret_cnt uint64
135129+ Generate_public_key_cnt uint64
135130+ Compute_shared_secret_cnt uint64
135131+ Err_cnt uint64
135132+}
135133+
135134+type CryptoStatRNG struct {
135135+ Type [64]int8
135136+ Generate_cnt uint64
135137+ Generate_tlen uint64
135138+ Seed_cnt uint64
135139+ Err_cnt uint64
135140+}
135141+
135142+type CryptoStatLarval struct {
135143+ Type [64]int8
135144+}
135145+
135146+type CryptoReportLarval struct {
135147+ Type [64]int8
135148+}
135149+
135150+type CryptoReportHash struct {
135151+ Type [64]int8
135152+ Blocksize uint32
135153+ Digestsize uint32
135154+}
135155+
135156+type CryptoReportCipher struct {
135157+ Type [64]int8
135158+ Blocksize uint32
135159+ Min_keysize uint32
135160+ Max_keysize uint32
135161+}
135162+
135163+type CryptoReportBlkCipher struct {
135164+ Type [64]int8
135165+ Geniv [64]int8
135166+ Blocksize uint32
135167+ Min_keysize uint32
135168+ Max_keysize uint32
135169+ Ivsize uint32
135170+}
135171+
135172+type CryptoReportAEAD struct {
135173+ Type [64]int8
135174+ Geniv [64]int8
135175+ Blocksize uint32
135176+ Maxauthsize uint32
135177+ Ivsize uint32
135178+}
135179+
135180+type CryptoReportComp struct {
135181+ Type [64]int8
135182+}
135183+
135184+type CryptoReportRNG struct {
135185+ Type [64]int8
135186+ Seedsize uint32
135187+}
135188+
135189+type CryptoReportAKCipher struct {
135190+ Type [64]int8
135191+}
135192+
135193+type CryptoReportKPP struct {
135194+ Type [64]int8
135195+}
135196+
135197+type CryptoReportAcomp struct {
135198+ Type [64]int8
135199+}
135200+
135201+type LoopInfo struct {
135202+ Number int32
135203+ Device uint32
135204+ Inode uint32
135205+ Rdevice uint32
135206+ Offset int32
135207+ Encrypt_type int32
135208+ Encrypt_key_size int32
135209+ Flags int32
135210+ Name [64]int8
135211+ Encrypt_key [32]uint8
135212+ Init [2]uint32
135213+ Reserved [4]int8
135214+}
135215+
135216+type TIPCSubscr struct {
135217+ Seq TIPCServiceRange
135218+ Timeout uint32
135219+ Filter uint32
135220+ Handle [8]int8
135221+}
135222+
135223+type TIPCSIOCLNReq struct {
135224+ Peer uint32
135225+ Id uint32
135226+ Linkname [68]int8
135227+}
135228+
135229+type TIPCSIOCNodeIDReq struct {
135230+ Peer uint32
135231+ Id [16]int8
135232+}
135233diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go
135234index 3e5fc625..2e7f3b8c 100644
135235--- a/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go
135236+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go
135237@@ -6,19 +6,12 @@
135238 package unix
135239
135240 const (
135241- sizeofPtr = 0x8
135242- sizeofShort = 0x2
135243- sizeofInt = 0x4
135244- sizeofLong = 0x8
135245- sizeofLongLong = 0x8
135246- PathMax = 0x1000
135247+ SizeofPtr = 0x8
135248+ SizeofLong = 0x8
135249 )
135250
135251 type (
135252- _C_short int16
135253- _C_int int32
135254- _C_long int64
135255- _C_long_long int64
135256+ _C_long int64
135257 )
135258
135259 type Timespec struct {
135260@@ -33,13 +26,11 @@ type Timeval struct {
135261
135262 type Timex struct {
135263 Modes uint32
135264- Pad_cgo_0 [4]byte
135265 Offset int64
135266 Freq int64
135267 Maxerror int64
135268 Esterror int64
135269 Status int32
135270- Pad_cgo_1 [4]byte
135271 Constant int64
135272 Precision int64
135273 Tolerance int64
135274@@ -48,14 +39,13 @@ type Timex struct {
135275 Ppsfreq int64
135276 Jitter int64
135277 Shift int32
135278- Pad_cgo_2 [4]byte
135279 Stabil int64
135280 Jitcnt int64
135281 Calcnt int64
135282 Errcnt int64
135283 Stbcnt int64
135284 Tai int32
135285- Pad_cgo_3 [44]byte
135286+ _ [44]byte
135287 }
135288
135289 type Time_t int64
135290@@ -91,13 +81,6 @@ type Rusage struct {
135291 Nivcsw int64
135292 }
135293
135294-type Rlimit struct {
135295- Cur uint64
135296- Max uint64
135297-}
135298-
135299-type _Gid_t uint32
135300-
135301 type Stat_t struct {
135302 Dev uint32
135303 Pad1 [3]uint32
135304@@ -117,139 +100,29 @@ type Stat_t struct {
135305 Blocks int64
135306 }
135307
135308-type Statfs_t struct {
135309- Type int64
135310- Bsize int64
135311- Frsize int64
135312- Blocks uint64
135313- Bfree uint64
135314- Files uint64
135315- Ffree uint64
135316- Bavail uint64
135317- Fsid Fsid
135318- Namelen int64
135319- Flags int64
135320- Spare [5]int64
135321-}
135322-
135323 type Dirent struct {
135324- Ino uint64
135325- Off int64
135326- Reclen uint16
135327- Type uint8
135328- Name [256]int8
135329- Pad_cgo_0 [5]byte
135330-}
135331-
135332-type Fsid struct {
135333- X__val [2]int32
135334+ Ino uint64
135335+ Off int64
135336+ Reclen uint16
135337+ Type uint8
135338+ Name [256]int8
135339+ _ [5]byte
135340 }
135341
135342 type Flock_t struct {
135343- Type int16
135344- Whence int16
135345- Pad_cgo_0 [4]byte
135346- Start int64
135347- Len int64
135348- Pid int32
135349- Pad_cgo_1 [4]byte
135350-}
135351-
135352-type FscryptPolicy struct {
135353- Version uint8
135354- Contents_encryption_mode uint8
135355- Filenames_encryption_mode uint8
135356- Flags uint8
135357- Master_key_descriptor [8]uint8
135358-}
135359-
135360-type FscryptKey struct {
135361- Mode uint32
135362- Raw [64]uint8
135363- Size uint32
135364-}
135365-
135366-type KeyctlDHParams struct {
135367- Private int32
135368- Prime int32
135369- Base int32
135370+ Type int16
135371+ Whence int16
135372+ Start int64
135373+ Len int64
135374+ Pid int32
135375+ _ [4]byte
135376 }
135377
135378 const (
135379- FADV_NORMAL = 0x0
135380- FADV_RANDOM = 0x1
135381- FADV_SEQUENTIAL = 0x2
135382- FADV_WILLNEED = 0x3
135383- FADV_DONTNEED = 0x4
135384- FADV_NOREUSE = 0x5
135385+ FADV_DONTNEED = 0x4
135386+ FADV_NOREUSE = 0x5
135387 )
135388
135389-type RawSockaddrInet4 struct {
135390- Family uint16
135391- Port uint16
135392- Addr [4]byte /* in_addr */
135393- Zero [8]uint8
135394-}
135395-
135396-type RawSockaddrInet6 struct {
135397- Family uint16
135398- Port uint16
135399- Flowinfo uint32
135400- Addr [16]byte /* in6_addr */
135401- Scope_id uint32
135402-}
135403-
135404-type RawSockaddrUnix struct {
135405- Family uint16
135406- Path [108]int8
135407-}
135408-
135409-type RawSockaddrLinklayer struct {
135410- Family uint16
135411- Protocol uint16
135412- Ifindex int32
135413- Hatype uint16
135414- Pkttype uint8
135415- Halen uint8
135416- Addr [8]uint8
135417-}
135418-
135419-type RawSockaddrNetlink struct {
135420- Family uint16
135421- Pad uint16
135422- Pid uint32
135423- Groups uint32
135424-}
135425-
135426-type RawSockaddrHCI struct {
135427- Family uint16
135428- Dev uint16
135429- Channel uint16
135430-}
135431-
135432-type RawSockaddrCAN struct {
135433- Family uint16
135434- Pad_cgo_0 [2]byte
135435- Ifindex int32
135436- Addr [8]byte
135437-}
135438-
135439-type RawSockaddrALG struct {
135440- Family uint16
135441- Type [14]uint8
135442- Feat uint32
135443- Mask uint32
135444- Name [64]uint8
135445-}
135446-
135447-type RawSockaddrVM struct {
135448- Family uint16
135449- Reserved1 uint16
135450- Port uint32
135451- Cid uint32
135452- Zero [4]uint8
135453-}
135454-
135455 type RawSockaddr struct {
135456 Family uint16
135457 Data [14]int8
135458@@ -260,51 +133,20 @@ type RawSockaddrAny struct {
135459 Pad [96]int8
135460 }
135461
135462-type _Socklen uint32
135463-
135464-type Linger struct {
135465- Onoff int32
135466- Linger int32
135467-}
135468-
135469 type Iovec struct {
135470 Base *byte
135471 Len uint64
135472 }
135473
135474-type IPMreq struct {
135475- Multiaddr [4]byte /* in_addr */
135476- Interface [4]byte /* in_addr */
135477-}
135478-
135479-type IPMreqn struct {
135480- Multiaddr [4]byte /* in_addr */
135481- Address [4]byte /* in_addr */
135482- Ifindex int32
135483-}
135484-
135485-type IPv6Mreq struct {
135486- Multiaddr [16]byte /* in6_addr */
135487- Interface uint32
135488-}
135489-
135490-type PacketMreq struct {
135491- Ifindex int32
135492- Type uint16
135493- Alen uint16
135494- Address [8]uint8
135495-}
135496-
135497 type Msghdr struct {
135498 Name *byte
135499 Namelen uint32
135500- Pad_cgo_0 [4]byte
135501 Iov *Iovec
135502 Iovlen uint64
135503 Control *byte
135504 Controllen uint64
135505 Flags int32
135506- Pad_cgo_1 [4]byte
135507+ _ [4]byte
135508 }
135509
135510 type Cmsghdr struct {
135511@@ -313,277 +155,16 @@ type Cmsghdr struct {
135512 Type int32
135513 }
135514
135515-type Inet4Pktinfo struct {
135516- Ifindex int32
135517- Spec_dst [4]byte /* in_addr */
135518- Addr [4]byte /* in_addr */
135519-}
135520-
135521-type Inet6Pktinfo struct {
135522- Addr [16]byte /* in6_addr */
135523- Ifindex uint32
135524-}
135525-
135526-type IPv6MTUInfo struct {
135527- Addr RawSockaddrInet6
135528- Mtu uint32
135529-}
135530-
135531-type ICMPv6Filter struct {
135532- Data [8]uint32
135533-}
135534-
135535-type Ucred struct {
135536- Pid int32
135537- Uid uint32
135538- Gid uint32
135539-}
135540-
135541-type TCPInfo struct {
135542- State uint8
135543- Ca_state uint8
135544- Retransmits uint8
135545- Probes uint8
135546- Backoff uint8
135547- Options uint8
135548- Pad_cgo_0 [2]byte
135549- Rto uint32
135550- Ato uint32
135551- Snd_mss uint32
135552- Rcv_mss uint32
135553- Unacked uint32
135554- Sacked uint32
135555- Lost uint32
135556- Retrans uint32
135557- Fackets uint32
135558- Last_data_sent uint32
135559- Last_ack_sent uint32
135560- Last_data_recv uint32
135561- Last_ack_recv uint32
135562- Pmtu uint32
135563- Rcv_ssthresh uint32
135564- Rtt uint32
135565- Rttvar uint32
135566- Snd_ssthresh uint32
135567- Snd_cwnd uint32
135568- Advmss uint32
135569- Reordering uint32
135570- Rcv_rtt uint32
135571- Rcv_space uint32
135572- Total_retrans uint32
135573-}
135574-
135575 const (
135576- SizeofSockaddrInet4 = 0x10
135577- SizeofSockaddrInet6 = 0x1c
135578- SizeofSockaddrAny = 0x70
135579- SizeofSockaddrUnix = 0x6e
135580- SizeofSockaddrLinklayer = 0x14
135581- SizeofSockaddrNetlink = 0xc
135582- SizeofSockaddrHCI = 0x6
135583- SizeofSockaddrCAN = 0x10
135584- SizeofSockaddrALG = 0x58
135585- SizeofSockaddrVM = 0x10
135586- SizeofLinger = 0x8
135587- SizeofIovec = 0x10
135588- SizeofIPMreq = 0x8
135589- SizeofIPMreqn = 0xc
135590- SizeofIPv6Mreq = 0x14
135591- SizeofPacketMreq = 0x10
135592- SizeofMsghdr = 0x38
135593- SizeofCmsghdr = 0x10
135594- SizeofInet4Pktinfo = 0xc
135595- SizeofInet6Pktinfo = 0x14
135596- SizeofIPv6MTUInfo = 0x20
135597- SizeofICMPv6Filter = 0x20
135598- SizeofUcred = 0xc
135599- SizeofTCPInfo = 0x68
135600+ SizeofIovec = 0x10
135601+ SizeofMsghdr = 0x38
135602+ SizeofCmsghdr = 0x10
135603 )
135604
135605 const (
135606- IFA_UNSPEC = 0x0
135607- IFA_ADDRESS = 0x1
135608- IFA_LOCAL = 0x2
135609- IFA_LABEL = 0x3
135610- IFA_BROADCAST = 0x4
135611- IFA_ANYCAST = 0x5
135612- IFA_CACHEINFO = 0x6
135613- IFA_MULTICAST = 0x7
135614- IFLA_UNSPEC = 0x0
135615- IFLA_ADDRESS = 0x1
135616- IFLA_BROADCAST = 0x2
135617- IFLA_IFNAME = 0x3
135618- IFLA_MTU = 0x4
135619- IFLA_LINK = 0x5
135620- IFLA_QDISC = 0x6
135621- IFLA_STATS = 0x7
135622- IFLA_COST = 0x8
135623- IFLA_PRIORITY = 0x9
135624- IFLA_MASTER = 0xa
135625- IFLA_WIRELESS = 0xb
135626- IFLA_PROTINFO = 0xc
135627- IFLA_TXQLEN = 0xd
135628- IFLA_MAP = 0xe
135629- IFLA_WEIGHT = 0xf
135630- IFLA_OPERSTATE = 0x10
135631- IFLA_LINKMODE = 0x11
135632- IFLA_LINKINFO = 0x12
135633- IFLA_NET_NS_PID = 0x13
135634- IFLA_IFALIAS = 0x14
135635- IFLA_MAX = 0x2b
135636- RT_SCOPE_UNIVERSE = 0x0
135637- RT_SCOPE_SITE = 0xc8
135638- RT_SCOPE_LINK = 0xfd
135639- RT_SCOPE_HOST = 0xfe
135640- RT_SCOPE_NOWHERE = 0xff
135641- RT_TABLE_UNSPEC = 0x0
135642- RT_TABLE_COMPAT = 0xfc
135643- RT_TABLE_DEFAULT = 0xfd
135644- RT_TABLE_MAIN = 0xfe
135645- RT_TABLE_LOCAL = 0xff
135646- RT_TABLE_MAX = 0xffffffff
135647- RTA_UNSPEC = 0x0
135648- RTA_DST = 0x1
135649- RTA_SRC = 0x2
135650- RTA_IIF = 0x3
135651- RTA_OIF = 0x4
135652- RTA_GATEWAY = 0x5
135653- RTA_PRIORITY = 0x6
135654- RTA_PREFSRC = 0x7
135655- RTA_METRICS = 0x8
135656- RTA_MULTIPATH = 0x9
135657- RTA_FLOW = 0xb
135658- RTA_CACHEINFO = 0xc
135659- RTA_TABLE = 0xf
135660- RTN_UNSPEC = 0x0
135661- RTN_UNICAST = 0x1
135662- RTN_LOCAL = 0x2
135663- RTN_BROADCAST = 0x3
135664- RTN_ANYCAST = 0x4
135665- RTN_MULTICAST = 0x5
135666- RTN_BLACKHOLE = 0x6
135667- RTN_UNREACHABLE = 0x7
135668- RTN_PROHIBIT = 0x8
135669- RTN_THROW = 0x9
135670- RTN_NAT = 0xa
135671- RTN_XRESOLVE = 0xb
135672- RTNLGRP_NONE = 0x0
135673- RTNLGRP_LINK = 0x1
135674- RTNLGRP_NOTIFY = 0x2
135675- RTNLGRP_NEIGH = 0x3
135676- RTNLGRP_TC = 0x4
135677- RTNLGRP_IPV4_IFADDR = 0x5
135678- RTNLGRP_IPV4_MROUTE = 0x6
135679- RTNLGRP_IPV4_ROUTE = 0x7
135680- RTNLGRP_IPV4_RULE = 0x8
135681- RTNLGRP_IPV6_IFADDR = 0x9
135682- RTNLGRP_IPV6_MROUTE = 0xa
135683- RTNLGRP_IPV6_ROUTE = 0xb
135684- RTNLGRP_IPV6_IFINFO = 0xc
135685- RTNLGRP_IPV6_PREFIX = 0x12
135686- RTNLGRP_IPV6_RULE = 0x13
135687- RTNLGRP_ND_USEROPT = 0x14
135688- SizeofNlMsghdr = 0x10
135689- SizeofNlMsgerr = 0x14
135690- SizeofRtGenmsg = 0x1
135691- SizeofNlAttr = 0x4
135692- SizeofRtAttr = 0x4
135693- SizeofIfInfomsg = 0x10
135694- SizeofIfAddrmsg = 0x8
135695- SizeofRtMsg = 0xc
135696- SizeofRtNexthop = 0x8
135697+ SizeofSockFprog = 0x10
135698 )
135699
135700-type NlMsghdr struct {
135701- Len uint32
135702- Type uint16
135703- Flags uint16
135704- Seq uint32
135705- Pid uint32
135706-}
135707-
135708-type NlMsgerr struct {
135709- Error int32
135710- Msg NlMsghdr
135711-}
135712-
135713-type RtGenmsg struct {
135714- Family uint8
135715-}
135716-
135717-type NlAttr struct {
135718- Len uint16
135719- Type uint16
135720-}
135721-
135722-type RtAttr struct {
135723- Len uint16
135724- Type uint16
135725-}
135726-
135727-type IfInfomsg struct {
135728- Family uint8
135729- X__ifi_pad uint8
135730- Type uint16
135731- Index int32
135732- Flags uint32
135733- Change uint32
135734-}
135735-
135736-type IfAddrmsg struct {
135737- Family uint8
135738- Prefixlen uint8
135739- Flags uint8
135740- Scope uint8
135741- Index uint32
135742-}
135743-
135744-type RtMsg struct {
135745- Family uint8
135746- Dst_len uint8
135747- Src_len uint8
135748- Tos uint8
135749- Table uint8
135750- Protocol uint8
135751- Scope uint8
135752- Type uint8
135753- Flags uint32
135754-}
135755-
135756-type RtNexthop struct {
135757- Len uint16
135758- Flags uint8
135759- Hops uint8
135760- Ifindex int32
135761-}
135762-
135763-const (
135764- SizeofSockFilter = 0x8
135765- SizeofSockFprog = 0x10
135766-)
135767-
135768-type SockFilter struct {
135769- Code uint16
135770- Jt uint8
135771- Jf uint8
135772- K uint32
135773-}
135774-
135775-type SockFprog struct {
135776- Len uint16
135777- Pad_cgo_0 [6]byte
135778- Filter *SockFilter
135779-}
135780-
135781-type InotifyEvent struct {
135782- Wd int32
135783- Mask uint32
135784- Cookie uint32
135785- Len uint32
135786-}
135787-
135788-const SizeofInotifyEvent = 0x10
135789-
135790 type PtraceRegs struct {
135791 Regs [32]uint64
135792 Lo uint64
135793@@ -609,70 +190,37 @@ type Sysinfo_t struct {
135794 Freeswap uint64
135795 Procs uint16
135796 Pad uint16
135797- Pad_cgo_0 [4]byte
135798 Totalhigh uint64
135799 Freehigh uint64
135800 Unit uint32
135801- X_f [0]int8
135802- Pad_cgo_1 [4]byte
135803-}
135804-
135805-type Utsname struct {
135806- Sysname [65]int8
135807- Nodename [65]int8
135808- Release [65]int8
135809- Version [65]int8
135810- Machine [65]int8
135811- Domainname [65]int8
135812+ _ [0]int8
135813+ _ [4]byte
135814 }
135815
135816 type Ustat_t struct {
135817- Tfree int32
135818- Pad_cgo_0 [4]byte
135819- Tinode uint64
135820- Fname [6]int8
135821- Fpack [6]int8
135822- Pad_cgo_1 [4]byte
135823+ Tfree int32
135824+ Tinode uint64
135825+ Fname [6]int8
135826+ Fpack [6]int8
135827+ _ [4]byte
135828 }
135829
135830 type EpollEvent struct {
135831 Events uint32
135832+ _ int32
135833 Fd int32
135834 Pad int32
135835 }
135836
135837 const (
135838- AT_FDCWD = -0x64
135839- AT_REMOVEDIR = 0x200
135840- AT_SYMLINK_FOLLOW = 0x400
135841- AT_SYMLINK_NOFOLLOW = 0x100
135842-)
135843-
135844-type PollFd struct {
135845- Fd int32
135846- Events int16
135847- Revents int16
135848-}
135849-
135850-const (
135851- POLLIN = 0x1
135852- POLLPRI = 0x2
135853- POLLOUT = 0x4
135854 POLLRDHUP = 0x2000
135855- POLLERR = 0x8
135856- POLLHUP = 0x10
135857- POLLNVAL = 0x20
135858 )
135859
135860 type Sigset_t struct {
135861- X__val [16]uint64
135862+ Val [16]uint64
135863 }
135864
135865-const RNDGETENTCNT = 0x40045200
135866-
135867-const PERF_IOC_FLAG_GROUP = 0x1
135868-
135869-const _SC_PAGESIZE = 0x1e
135870+const _C__NSIG = 0x80
135871
135872 type Termios struct {
135873 Iflag uint32
135874@@ -685,20 +233,11 @@ type Termios struct {
135875 Ospeed uint32
135876 }
135877
135878-type Winsize struct {
135879- Row uint16
135880- Col uint16
135881- Xpixel uint16
135882- Ypixel uint16
135883-}
135884-
135885 type Taskstats struct {
135886 Version uint16
135887- Pad_cgo_0 [2]byte
135888 Ac_exitcode uint32
135889 Ac_flag uint8
135890 Ac_nice uint8
135891- Pad_cgo_1 [6]byte
135892 Cpu_count uint64
135893 Cpu_delay_total uint64
135894 Blkio_count uint64
135895@@ -710,13 +249,12 @@ type Taskstats struct {
135896 Ac_comm [32]int8
135897 Ac_sched uint8
135898 Ac_pad [3]uint8
135899- Pad_cgo_2 [4]byte
135900+ _ [4]byte
135901 Ac_uid uint32
135902 Ac_gid uint32
135903 Ac_pid uint32
135904 Ac_ppid uint32
135905 Ac_btime uint32
135906- Pad_cgo_3 [4]byte
135907 Ac_etime uint64
135908 Ac_utime uint64
135909 Ac_stime uint64
135910@@ -740,55 +278,319 @@ type Taskstats struct {
135911 Cpu_scaled_run_real_total uint64
135912 Freepages_count uint64
135913 Freepages_delay_total uint64
135914+ Thrashing_count uint64
135915+ Thrashing_delay_total uint64
135916+ Ac_btime64 uint64
135917 }
135918
135919+type cpuMask uint64
135920+
135921 const (
135922- TASKSTATS_CMD_UNSPEC = 0x0
135923- TASKSTATS_CMD_GET = 0x1
135924- TASKSTATS_CMD_NEW = 0x2
135925- TASKSTATS_TYPE_UNSPEC = 0x0
135926- TASKSTATS_TYPE_PID = 0x1
135927- TASKSTATS_TYPE_TGID = 0x2
135928- TASKSTATS_TYPE_STATS = 0x3
135929- TASKSTATS_TYPE_AGGR_PID = 0x4
135930- TASKSTATS_TYPE_AGGR_TGID = 0x5
135931- TASKSTATS_TYPE_NULL = 0x6
135932- TASKSTATS_CMD_ATTR_UNSPEC = 0x0
135933- TASKSTATS_CMD_ATTR_PID = 0x1
135934- TASKSTATS_CMD_ATTR_TGID = 0x2
135935- TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 0x3
135936- TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4
135937+ _NCPUBITS = 0x40
135938 )
135939
135940-type Genlmsghdr struct {
135941- Cmd uint8
135942- Version uint8
135943- Reserved uint16
135944+const (
135945+ CBitFieldMaskBit0 = 0x8000000000000000
135946+ CBitFieldMaskBit1 = 0x4000000000000000
135947+ CBitFieldMaskBit2 = 0x2000000000000000
135948+ CBitFieldMaskBit3 = 0x1000000000000000
135949+ CBitFieldMaskBit4 = 0x800000000000000
135950+ CBitFieldMaskBit5 = 0x400000000000000
135951+ CBitFieldMaskBit6 = 0x200000000000000
135952+ CBitFieldMaskBit7 = 0x100000000000000
135953+ CBitFieldMaskBit8 = 0x80000000000000
135954+ CBitFieldMaskBit9 = 0x40000000000000
135955+ CBitFieldMaskBit10 = 0x20000000000000
135956+ CBitFieldMaskBit11 = 0x10000000000000
135957+ CBitFieldMaskBit12 = 0x8000000000000
135958+ CBitFieldMaskBit13 = 0x4000000000000
135959+ CBitFieldMaskBit14 = 0x2000000000000
135960+ CBitFieldMaskBit15 = 0x1000000000000
135961+ CBitFieldMaskBit16 = 0x800000000000
135962+ CBitFieldMaskBit17 = 0x400000000000
135963+ CBitFieldMaskBit18 = 0x200000000000
135964+ CBitFieldMaskBit19 = 0x100000000000
135965+ CBitFieldMaskBit20 = 0x80000000000
135966+ CBitFieldMaskBit21 = 0x40000000000
135967+ CBitFieldMaskBit22 = 0x20000000000
135968+ CBitFieldMaskBit23 = 0x10000000000
135969+ CBitFieldMaskBit24 = 0x8000000000
135970+ CBitFieldMaskBit25 = 0x4000000000
135971+ CBitFieldMaskBit26 = 0x2000000000
135972+ CBitFieldMaskBit27 = 0x1000000000
135973+ CBitFieldMaskBit28 = 0x800000000
135974+ CBitFieldMaskBit29 = 0x400000000
135975+ CBitFieldMaskBit30 = 0x200000000
135976+ CBitFieldMaskBit31 = 0x100000000
135977+ CBitFieldMaskBit32 = 0x80000000
135978+ CBitFieldMaskBit33 = 0x40000000
135979+ CBitFieldMaskBit34 = 0x20000000
135980+ CBitFieldMaskBit35 = 0x10000000
135981+ CBitFieldMaskBit36 = 0x8000000
135982+ CBitFieldMaskBit37 = 0x4000000
135983+ CBitFieldMaskBit38 = 0x2000000
135984+ CBitFieldMaskBit39 = 0x1000000
135985+ CBitFieldMaskBit40 = 0x800000
135986+ CBitFieldMaskBit41 = 0x400000
135987+ CBitFieldMaskBit42 = 0x200000
135988+ CBitFieldMaskBit43 = 0x100000
135989+ CBitFieldMaskBit44 = 0x80000
135990+ CBitFieldMaskBit45 = 0x40000
135991+ CBitFieldMaskBit46 = 0x20000
135992+ CBitFieldMaskBit47 = 0x10000
135993+ CBitFieldMaskBit48 = 0x8000
135994+ CBitFieldMaskBit49 = 0x4000
135995+ CBitFieldMaskBit50 = 0x2000
135996+ CBitFieldMaskBit51 = 0x1000
135997+ CBitFieldMaskBit52 = 0x800
135998+ CBitFieldMaskBit53 = 0x400
135999+ CBitFieldMaskBit54 = 0x200
136000+ CBitFieldMaskBit55 = 0x100
136001+ CBitFieldMaskBit56 = 0x80
136002+ CBitFieldMaskBit57 = 0x40
136003+ CBitFieldMaskBit58 = 0x20
136004+ CBitFieldMaskBit59 = 0x10
136005+ CBitFieldMaskBit60 = 0x8
136006+ CBitFieldMaskBit61 = 0x4
136007+ CBitFieldMaskBit62 = 0x2
136008+ CBitFieldMaskBit63 = 0x1
136009+)
136010+
136011+type SockaddrStorage struct {
136012+ Family uint16
136013+ _ [118]int8
136014+ _ uint64
136015+}
136016+
136017+type HDGeometry struct {
136018+ Heads uint8
136019+ Sectors uint8
136020+ Cylinders uint16
136021+ Start uint64
136022+}
136023+
136024+type Statfs_t struct {
136025+ Type int64
136026+ Bsize int64
136027+ Frsize int64
136028+ Blocks uint64
136029+ Bfree uint64
136030+ Files uint64
136031+ Ffree uint64
136032+ Bavail uint64
136033+ Fsid Fsid
136034+ Namelen int64
136035+ Flags int64
136036+ Spare [5]int64
136037+}
136038+
136039+type TpacketHdr struct {
136040+ Status uint64
136041+ Len uint32
136042+ Snaplen uint32
136043+ Mac uint16
136044+ Net uint16
136045+ Sec uint32
136046+ Usec uint32
136047+ _ [4]byte
136048 }
136049
136050 const (
136051- CTRL_CMD_UNSPEC = 0x0
136052- CTRL_CMD_NEWFAMILY = 0x1
136053- CTRL_CMD_DELFAMILY = 0x2
136054- CTRL_CMD_GETFAMILY = 0x3
136055- CTRL_CMD_NEWOPS = 0x4
136056- CTRL_CMD_DELOPS = 0x5
136057- CTRL_CMD_GETOPS = 0x6
136058- CTRL_CMD_NEWMCAST_GRP = 0x7
136059- CTRL_CMD_DELMCAST_GRP = 0x8
136060- CTRL_CMD_GETMCAST_GRP = 0x9
136061- CTRL_ATTR_UNSPEC = 0x0
136062- CTRL_ATTR_FAMILY_ID = 0x1
136063- CTRL_ATTR_FAMILY_NAME = 0x2
136064- CTRL_ATTR_VERSION = 0x3
136065- CTRL_ATTR_HDRSIZE = 0x4
136066- CTRL_ATTR_MAXATTR = 0x5
136067- CTRL_ATTR_OPS = 0x6
136068- CTRL_ATTR_MCAST_GROUPS = 0x7
136069- CTRL_ATTR_OP_UNSPEC = 0x0
136070- CTRL_ATTR_OP_ID = 0x1
136071- CTRL_ATTR_OP_FLAGS = 0x2
136072- CTRL_ATTR_MCAST_GRP_UNSPEC = 0x0
136073- CTRL_ATTR_MCAST_GRP_NAME = 0x1
136074- CTRL_ATTR_MCAST_GRP_ID = 0x2
136075+ SizeofTpacketHdr = 0x20
136076 )
136077+
136078+type RTCPLLInfo struct {
136079+ Ctrl int32
136080+ Value int32
136081+ Max int32
136082+ Min int32
136083+ Posmult int32
136084+ Negmult int32
136085+ Clock int64
136086+}
136087+
136088+type BlkpgPartition struct {
136089+ Start int64
136090+ Length int64
136091+ Pno int32
136092+ Devname [64]uint8
136093+ Volname [64]uint8
136094+ _ [4]byte
136095+}
136096+
136097+const (
136098+ BLKPG = 0x20001269
136099+)
136100+
136101+type XDPUmemReg struct {
136102+ Addr uint64
136103+ Len uint64
136104+ Size uint32
136105+ Headroom uint32
136106+ Flags uint32
136107+ _ [4]byte
136108+}
136109+
136110+type CryptoUserAlg struct {
136111+ Name [64]int8
136112+ Driver_name [64]int8
136113+ Module_name [64]int8
136114+ Type uint32
136115+ Mask uint32
136116+ Refcnt uint32
136117+ Flags uint32
136118+}
136119+
136120+type CryptoStatAEAD struct {
136121+ Type [64]int8
136122+ Encrypt_cnt uint64
136123+ Encrypt_tlen uint64
136124+ Decrypt_cnt uint64
136125+ Decrypt_tlen uint64
136126+ Err_cnt uint64
136127+}
136128+
136129+type CryptoStatAKCipher struct {
136130+ Type [64]int8
136131+ Encrypt_cnt uint64
136132+ Encrypt_tlen uint64
136133+ Decrypt_cnt uint64
136134+ Decrypt_tlen uint64
136135+ Verify_cnt uint64
136136+ Sign_cnt uint64
136137+ Err_cnt uint64
136138+}
136139+
136140+type CryptoStatCipher struct {
136141+ Type [64]int8
136142+ Encrypt_cnt uint64
136143+ Encrypt_tlen uint64
136144+ Decrypt_cnt uint64
136145+ Decrypt_tlen uint64
136146+ Err_cnt uint64
136147+}
136148+
136149+type CryptoStatCompress struct {
136150+ Type [64]int8
136151+ Compress_cnt uint64
136152+ Compress_tlen uint64
136153+ Decompress_cnt uint64
136154+ Decompress_tlen uint64
136155+ Err_cnt uint64
136156+}
136157+
136158+type CryptoStatHash struct {
136159+ Type [64]int8
136160+ Hash_cnt uint64
136161+ Hash_tlen uint64
136162+ Err_cnt uint64
136163+}
136164+
136165+type CryptoStatKPP struct {
136166+ Type [64]int8
136167+ Setsecret_cnt uint64
136168+ Generate_public_key_cnt uint64
136169+ Compute_shared_secret_cnt uint64
136170+ Err_cnt uint64
136171+}
136172+
136173+type CryptoStatRNG struct {
136174+ Type [64]int8
136175+ Generate_cnt uint64
136176+ Generate_tlen uint64
136177+ Seed_cnt uint64
136178+ Err_cnt uint64
136179+}
136180+
136181+type CryptoStatLarval struct {
136182+ Type [64]int8
136183+}
136184+
136185+type CryptoReportLarval struct {
136186+ Type [64]int8
136187+}
136188+
136189+type CryptoReportHash struct {
136190+ Type [64]int8
136191+ Blocksize uint32
136192+ Digestsize uint32
136193+}
136194+
136195+type CryptoReportCipher struct {
136196+ Type [64]int8
136197+ Blocksize uint32
136198+ Min_keysize uint32
136199+ Max_keysize uint32
136200+}
136201+
136202+type CryptoReportBlkCipher struct {
136203+ Type [64]int8
136204+ Geniv [64]int8
136205+ Blocksize uint32
136206+ Min_keysize uint32
136207+ Max_keysize uint32
136208+ Ivsize uint32
136209+}
136210+
136211+type CryptoReportAEAD struct {
136212+ Type [64]int8
136213+ Geniv [64]int8
136214+ Blocksize uint32
136215+ Maxauthsize uint32
136216+ Ivsize uint32
136217+}
136218+
136219+type CryptoReportComp struct {
136220+ Type [64]int8
136221+}
136222+
136223+type CryptoReportRNG struct {
136224+ Type [64]int8
136225+ Seedsize uint32
136226+}
136227+
136228+type CryptoReportAKCipher struct {
136229+ Type [64]int8
136230+}
136231+
136232+type CryptoReportKPP struct {
136233+ Type [64]int8
136234+}
136235+
136236+type CryptoReportAcomp struct {
136237+ Type [64]int8
136238+}
136239+
136240+type LoopInfo struct {
136241+ Number int32
136242+ Device uint32
136243+ Inode uint64
136244+ Rdevice uint32
136245+ Offset int32
136246+ Encrypt_type int32
136247+ Encrypt_key_size int32
136248+ Flags int32
136249+ Name [64]int8
136250+ Encrypt_key [32]uint8
136251+ Init [2]uint64
136252+ Reserved [4]int8
136253+ _ [4]byte
136254+}
136255+
136256+type TIPCSubscr struct {
136257+ Seq TIPCServiceRange
136258+ Timeout uint32
136259+ Filter uint32
136260+ Handle [8]int8
136261+}
136262+
136263+type TIPCSIOCLNReq struct {
136264+ Peer uint32
136265+ Id uint32
136266+ Linkname [68]int8
136267+}
136268+
136269+type TIPCSIOCNodeIDReq struct {
136270+ Peer uint32
136271+ Id [16]int8
136272+}
136273diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go b/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go
136274index f9bd1ab0..16add5a2 100644
136275--- a/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go
136276+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go
136277@@ -6,19 +6,12 @@
136278 package unix
136279
136280 const (
136281- sizeofPtr = 0x8
136282- sizeofShort = 0x2
136283- sizeofInt = 0x4
136284- sizeofLong = 0x8
136285- sizeofLongLong = 0x8
136286- PathMax = 0x1000
136287+ SizeofPtr = 0x8
136288+ SizeofLong = 0x8
136289 )
136290
136291 type (
136292- _C_short int16
136293- _C_int int32
136294- _C_long int64
136295- _C_long_long int64
136296+ _C_long int64
136297 )
136298
136299 type Timespec struct {
136300@@ -33,13 +26,11 @@ type Timeval struct {
136301
136302 type Timex struct {
136303 Modes uint32
136304- Pad_cgo_0 [4]byte
136305 Offset int64
136306 Freq int64
136307 Maxerror int64
136308 Esterror int64
136309 Status int32
136310- Pad_cgo_1 [4]byte
136311 Constant int64
136312 Precision int64
136313 Tolerance int64
136314@@ -48,14 +39,13 @@ type Timex struct {
136315 Ppsfreq int64
136316 Jitter int64
136317 Shift int32
136318- Pad_cgo_2 [4]byte
136319 Stabil int64
136320 Jitcnt int64
136321 Calcnt int64
136322 Errcnt int64
136323 Stbcnt int64
136324 Tai int32
136325- Pad_cgo_3 [44]byte
136326+ _ [44]byte
136327 }
136328
136329 type Time_t int64
136330@@ -91,13 +81,6 @@ type Rusage struct {
136331 Nivcsw int64
136332 }
136333
136334-type Rlimit struct {
136335- Cur uint64
136336- Max uint64
136337-}
136338-
136339-type _Gid_t uint32
136340-
136341 type Stat_t struct {
136342 Dev uint32
136343 Pad1 [3]uint32
136344@@ -117,139 +100,29 @@ type Stat_t struct {
136345 Blocks int64
136346 }
136347
136348-type Statfs_t struct {
136349- Type int64
136350- Bsize int64
136351- Frsize int64
136352- Blocks uint64
136353- Bfree uint64
136354- Files uint64
136355- Ffree uint64
136356- Bavail uint64
136357- Fsid Fsid
136358- Namelen int64
136359- Flags int64
136360- Spare [5]int64
136361-}
136362-
136363 type Dirent struct {
136364- Ino uint64
136365- Off int64
136366- Reclen uint16
136367- Type uint8
136368- Name [256]int8
136369- Pad_cgo_0 [5]byte
136370-}
136371-
136372-type Fsid struct {
136373- X__val [2]int32
136374+ Ino uint64
136375+ Off int64
136376+ Reclen uint16
136377+ Type uint8
136378+ Name [256]int8
136379+ _ [5]byte
136380 }
136381
136382 type Flock_t struct {
136383- Type int16
136384- Whence int16
136385- Pad_cgo_0 [4]byte
136386- Start int64
136387- Len int64
136388- Pid int32
136389- Pad_cgo_1 [4]byte
136390-}
136391-
136392-type FscryptPolicy struct {
136393- Version uint8
136394- Contents_encryption_mode uint8
136395- Filenames_encryption_mode uint8
136396- Flags uint8
136397- Master_key_descriptor [8]uint8
136398-}
136399-
136400-type FscryptKey struct {
136401- Mode uint32
136402- Raw [64]uint8
136403- Size uint32
136404-}
136405-
136406-type KeyctlDHParams struct {
136407- Private int32
136408- Prime int32
136409- Base int32
136410+ Type int16
136411+ Whence int16
136412+ Start int64
136413+ Len int64
136414+ Pid int32
136415+ _ [4]byte
136416 }
136417
136418 const (
136419- FADV_NORMAL = 0x0
136420- FADV_RANDOM = 0x1
136421- FADV_SEQUENTIAL = 0x2
136422- FADV_WILLNEED = 0x3
136423- FADV_DONTNEED = 0x4
136424- FADV_NOREUSE = 0x5
136425+ FADV_DONTNEED = 0x4
136426+ FADV_NOREUSE = 0x5
136427 )
136428
136429-type RawSockaddrInet4 struct {
136430- Family uint16
136431- Port uint16
136432- Addr [4]byte /* in_addr */
136433- Zero [8]uint8
136434-}
136435-
136436-type RawSockaddrInet6 struct {
136437- Family uint16
136438- Port uint16
136439- Flowinfo uint32
136440- Addr [16]byte /* in6_addr */
136441- Scope_id uint32
136442-}
136443-
136444-type RawSockaddrUnix struct {
136445- Family uint16
136446- Path [108]int8
136447-}
136448-
136449-type RawSockaddrLinklayer struct {
136450- Family uint16
136451- Protocol uint16
136452- Ifindex int32
136453- Hatype uint16
136454- Pkttype uint8
136455- Halen uint8
136456- Addr [8]uint8
136457-}
136458-
136459-type RawSockaddrNetlink struct {
136460- Family uint16
136461- Pad uint16
136462- Pid uint32
136463- Groups uint32
136464-}
136465-
136466-type RawSockaddrHCI struct {
136467- Family uint16
136468- Dev uint16
136469- Channel uint16
136470-}
136471-
136472-type RawSockaddrCAN struct {
136473- Family uint16
136474- Pad_cgo_0 [2]byte
136475- Ifindex int32
136476- Addr [8]byte
136477-}
136478-
136479-type RawSockaddrALG struct {
136480- Family uint16
136481- Type [14]uint8
136482- Feat uint32
136483- Mask uint32
136484- Name [64]uint8
136485-}
136486-
136487-type RawSockaddrVM struct {
136488- Family uint16
136489- Reserved1 uint16
136490- Port uint32
136491- Cid uint32
136492- Zero [4]uint8
136493-}
136494-
136495 type RawSockaddr struct {
136496 Family uint16
136497 Data [14]int8
136498@@ -260,51 +133,20 @@ type RawSockaddrAny struct {
136499 Pad [96]int8
136500 }
136501
136502-type _Socklen uint32
136503-
136504-type Linger struct {
136505- Onoff int32
136506- Linger int32
136507-}
136508-
136509 type Iovec struct {
136510 Base *byte
136511 Len uint64
136512 }
136513
136514-type IPMreq struct {
136515- Multiaddr [4]byte /* in_addr */
136516- Interface [4]byte /* in_addr */
136517-}
136518-
136519-type IPMreqn struct {
136520- Multiaddr [4]byte /* in_addr */
136521- Address [4]byte /* in_addr */
136522- Ifindex int32
136523-}
136524-
136525-type IPv6Mreq struct {
136526- Multiaddr [16]byte /* in6_addr */
136527- Interface uint32
136528-}
136529-
136530-type PacketMreq struct {
136531- Ifindex int32
136532- Type uint16
136533- Alen uint16
136534- Address [8]uint8
136535-}
136536-
136537 type Msghdr struct {
136538 Name *byte
136539 Namelen uint32
136540- Pad_cgo_0 [4]byte
136541 Iov *Iovec
136542 Iovlen uint64
136543 Control *byte
136544 Controllen uint64
136545 Flags int32
136546- Pad_cgo_1 [4]byte
136547+ _ [4]byte
136548 }
136549
136550 type Cmsghdr struct {
136551@@ -313,277 +155,16 @@ type Cmsghdr struct {
136552 Type int32
136553 }
136554
136555-type Inet4Pktinfo struct {
136556- Ifindex int32
136557- Spec_dst [4]byte /* in_addr */
136558- Addr [4]byte /* in_addr */
136559-}
136560-
136561-type Inet6Pktinfo struct {
136562- Addr [16]byte /* in6_addr */
136563- Ifindex uint32
136564-}
136565-
136566-type IPv6MTUInfo struct {
136567- Addr RawSockaddrInet6
136568- Mtu uint32
136569-}
136570-
136571-type ICMPv6Filter struct {
136572- Data [8]uint32
136573-}
136574-
136575-type Ucred struct {
136576- Pid int32
136577- Uid uint32
136578- Gid uint32
136579-}
136580-
136581-type TCPInfo struct {
136582- State uint8
136583- Ca_state uint8
136584- Retransmits uint8
136585- Probes uint8
136586- Backoff uint8
136587- Options uint8
136588- Pad_cgo_0 [2]byte
136589- Rto uint32
136590- Ato uint32
136591- Snd_mss uint32
136592- Rcv_mss uint32
136593- Unacked uint32
136594- Sacked uint32
136595- Lost uint32
136596- Retrans uint32
136597- Fackets uint32
136598- Last_data_sent uint32
136599- Last_ack_sent uint32
136600- Last_data_recv uint32
136601- Last_ack_recv uint32
136602- Pmtu uint32
136603- Rcv_ssthresh uint32
136604- Rtt uint32
136605- Rttvar uint32
136606- Snd_ssthresh uint32
136607- Snd_cwnd uint32
136608- Advmss uint32
136609- Reordering uint32
136610- Rcv_rtt uint32
136611- Rcv_space uint32
136612- Total_retrans uint32
136613-}
136614-
136615 const (
136616- SizeofSockaddrInet4 = 0x10
136617- SizeofSockaddrInet6 = 0x1c
136618- SizeofSockaddrAny = 0x70
136619- SizeofSockaddrUnix = 0x6e
136620- SizeofSockaddrLinklayer = 0x14
136621- SizeofSockaddrNetlink = 0xc
136622- SizeofSockaddrHCI = 0x6
136623- SizeofSockaddrCAN = 0x10
136624- SizeofSockaddrALG = 0x58
136625- SizeofSockaddrVM = 0x10
136626- SizeofLinger = 0x8
136627- SizeofIovec = 0x10
136628- SizeofIPMreq = 0x8
136629- SizeofIPMreqn = 0xc
136630- SizeofIPv6Mreq = 0x14
136631- SizeofPacketMreq = 0x10
136632- SizeofMsghdr = 0x38
136633- SizeofCmsghdr = 0x10
136634- SizeofInet4Pktinfo = 0xc
136635- SizeofInet6Pktinfo = 0x14
136636- SizeofIPv6MTUInfo = 0x20
136637- SizeofICMPv6Filter = 0x20
136638- SizeofUcred = 0xc
136639- SizeofTCPInfo = 0x68
136640+ SizeofIovec = 0x10
136641+ SizeofMsghdr = 0x38
136642+ SizeofCmsghdr = 0x10
136643 )
136644
136645 const (
136646- IFA_UNSPEC = 0x0
136647- IFA_ADDRESS = 0x1
136648- IFA_LOCAL = 0x2
136649- IFA_LABEL = 0x3
136650- IFA_BROADCAST = 0x4
136651- IFA_ANYCAST = 0x5
136652- IFA_CACHEINFO = 0x6
136653- IFA_MULTICAST = 0x7
136654- IFLA_UNSPEC = 0x0
136655- IFLA_ADDRESS = 0x1
136656- IFLA_BROADCAST = 0x2
136657- IFLA_IFNAME = 0x3
136658- IFLA_MTU = 0x4
136659- IFLA_LINK = 0x5
136660- IFLA_QDISC = 0x6
136661- IFLA_STATS = 0x7
136662- IFLA_COST = 0x8
136663- IFLA_PRIORITY = 0x9
136664- IFLA_MASTER = 0xa
136665- IFLA_WIRELESS = 0xb
136666- IFLA_PROTINFO = 0xc
136667- IFLA_TXQLEN = 0xd
136668- IFLA_MAP = 0xe
136669- IFLA_WEIGHT = 0xf
136670- IFLA_OPERSTATE = 0x10
136671- IFLA_LINKMODE = 0x11
136672- IFLA_LINKINFO = 0x12
136673- IFLA_NET_NS_PID = 0x13
136674- IFLA_IFALIAS = 0x14
136675- IFLA_MAX = 0x2b
136676- RT_SCOPE_UNIVERSE = 0x0
136677- RT_SCOPE_SITE = 0xc8
136678- RT_SCOPE_LINK = 0xfd
136679- RT_SCOPE_HOST = 0xfe
136680- RT_SCOPE_NOWHERE = 0xff
136681- RT_TABLE_UNSPEC = 0x0
136682- RT_TABLE_COMPAT = 0xfc
136683- RT_TABLE_DEFAULT = 0xfd
136684- RT_TABLE_MAIN = 0xfe
136685- RT_TABLE_LOCAL = 0xff
136686- RT_TABLE_MAX = 0xffffffff
136687- RTA_UNSPEC = 0x0
136688- RTA_DST = 0x1
136689- RTA_SRC = 0x2
136690- RTA_IIF = 0x3
136691- RTA_OIF = 0x4
136692- RTA_GATEWAY = 0x5
136693- RTA_PRIORITY = 0x6
136694- RTA_PREFSRC = 0x7
136695- RTA_METRICS = 0x8
136696- RTA_MULTIPATH = 0x9
136697- RTA_FLOW = 0xb
136698- RTA_CACHEINFO = 0xc
136699- RTA_TABLE = 0xf
136700- RTN_UNSPEC = 0x0
136701- RTN_UNICAST = 0x1
136702- RTN_LOCAL = 0x2
136703- RTN_BROADCAST = 0x3
136704- RTN_ANYCAST = 0x4
136705- RTN_MULTICAST = 0x5
136706- RTN_BLACKHOLE = 0x6
136707- RTN_UNREACHABLE = 0x7
136708- RTN_PROHIBIT = 0x8
136709- RTN_THROW = 0x9
136710- RTN_NAT = 0xa
136711- RTN_XRESOLVE = 0xb
136712- RTNLGRP_NONE = 0x0
136713- RTNLGRP_LINK = 0x1
136714- RTNLGRP_NOTIFY = 0x2
136715- RTNLGRP_NEIGH = 0x3
136716- RTNLGRP_TC = 0x4
136717- RTNLGRP_IPV4_IFADDR = 0x5
136718- RTNLGRP_IPV4_MROUTE = 0x6
136719- RTNLGRP_IPV4_ROUTE = 0x7
136720- RTNLGRP_IPV4_RULE = 0x8
136721- RTNLGRP_IPV6_IFADDR = 0x9
136722- RTNLGRP_IPV6_MROUTE = 0xa
136723- RTNLGRP_IPV6_ROUTE = 0xb
136724- RTNLGRP_IPV6_IFINFO = 0xc
136725- RTNLGRP_IPV6_PREFIX = 0x12
136726- RTNLGRP_IPV6_RULE = 0x13
136727- RTNLGRP_ND_USEROPT = 0x14
136728- SizeofNlMsghdr = 0x10
136729- SizeofNlMsgerr = 0x14
136730- SizeofRtGenmsg = 0x1
136731- SizeofNlAttr = 0x4
136732- SizeofRtAttr = 0x4
136733- SizeofIfInfomsg = 0x10
136734- SizeofIfAddrmsg = 0x8
136735- SizeofRtMsg = 0xc
136736- SizeofRtNexthop = 0x8
136737+ SizeofSockFprog = 0x10
136738 )
136739
136740-type NlMsghdr struct {
136741- Len uint32
136742- Type uint16
136743- Flags uint16
136744- Seq uint32
136745- Pid uint32
136746-}
136747-
136748-type NlMsgerr struct {
136749- Error int32
136750- Msg NlMsghdr
136751-}
136752-
136753-type RtGenmsg struct {
136754- Family uint8
136755-}
136756-
136757-type NlAttr struct {
136758- Len uint16
136759- Type uint16
136760-}
136761-
136762-type RtAttr struct {
136763- Len uint16
136764- Type uint16
136765-}
136766-
136767-type IfInfomsg struct {
136768- Family uint8
136769- X__ifi_pad uint8
136770- Type uint16
136771- Index int32
136772- Flags uint32
136773- Change uint32
136774-}
136775-
136776-type IfAddrmsg struct {
136777- Family uint8
136778- Prefixlen uint8
136779- Flags uint8
136780- Scope uint8
136781- Index uint32
136782-}
136783-
136784-type RtMsg struct {
136785- Family uint8
136786- Dst_len uint8
136787- Src_len uint8
136788- Tos uint8
136789- Table uint8
136790- Protocol uint8
136791- Scope uint8
136792- Type uint8
136793- Flags uint32
136794-}
136795-
136796-type RtNexthop struct {
136797- Len uint16
136798- Flags uint8
136799- Hops uint8
136800- Ifindex int32
136801-}
136802-
136803-const (
136804- SizeofSockFilter = 0x8
136805- SizeofSockFprog = 0x10
136806-)
136807-
136808-type SockFilter struct {
136809- Code uint16
136810- Jt uint8
136811- Jf uint8
136812- K uint32
136813-}
136814-
136815-type SockFprog struct {
136816- Len uint16
136817- Pad_cgo_0 [6]byte
136818- Filter *SockFilter
136819-}
136820-
136821-type InotifyEvent struct {
136822- Wd int32
136823- Mask uint32
136824- Cookie uint32
136825- Len uint32
136826-}
136827-
136828-const SizeofInotifyEvent = 0x10
136829-
136830 type PtraceRegs struct {
136831 Regs [32]uint64
136832 Lo uint64
136833@@ -609,70 +190,37 @@ type Sysinfo_t struct {
136834 Freeswap uint64
136835 Procs uint16
136836 Pad uint16
136837- Pad_cgo_0 [4]byte
136838 Totalhigh uint64
136839 Freehigh uint64
136840 Unit uint32
136841- X_f [0]int8
136842- Pad_cgo_1 [4]byte
136843-}
136844-
136845-type Utsname struct {
136846- Sysname [65]int8
136847- Nodename [65]int8
136848- Release [65]int8
136849- Version [65]int8
136850- Machine [65]int8
136851- Domainname [65]int8
136852+ _ [0]int8
136853+ _ [4]byte
136854 }
136855
136856 type Ustat_t struct {
136857- Tfree int32
136858- Pad_cgo_0 [4]byte
136859- Tinode uint64
136860- Fname [6]int8
136861- Fpack [6]int8
136862- Pad_cgo_1 [4]byte
136863+ Tfree int32
136864+ Tinode uint64
136865+ Fname [6]int8
136866+ Fpack [6]int8
136867+ _ [4]byte
136868 }
136869
136870 type EpollEvent struct {
136871 Events uint32
136872+ _ int32
136873 Fd int32
136874 Pad int32
136875 }
136876
136877 const (
136878- AT_FDCWD = -0x64
136879- AT_REMOVEDIR = 0x200
136880- AT_SYMLINK_FOLLOW = 0x400
136881- AT_SYMLINK_NOFOLLOW = 0x100
136882-)
136883-
136884-type PollFd struct {
136885- Fd int32
136886- Events int16
136887- Revents int16
136888-}
136889-
136890-const (
136891- POLLIN = 0x1
136892- POLLPRI = 0x2
136893- POLLOUT = 0x4
136894 POLLRDHUP = 0x2000
136895- POLLERR = 0x8
136896- POLLHUP = 0x10
136897- POLLNVAL = 0x20
136898 )
136899
136900 type Sigset_t struct {
136901- X__val [16]uint64
136902+ Val [16]uint64
136903 }
136904
136905-const RNDGETENTCNT = 0x40045200
136906-
136907-const PERF_IOC_FLAG_GROUP = 0x1
136908-
136909-const _SC_PAGESIZE = 0x1e
136910+const _C__NSIG = 0x80
136911
136912 type Termios struct {
136913 Iflag uint32
136914@@ -685,20 +233,11 @@ type Termios struct {
136915 Ospeed uint32
136916 }
136917
136918-type Winsize struct {
136919- Row uint16
136920- Col uint16
136921- Xpixel uint16
136922- Ypixel uint16
136923-}
136924-
136925 type Taskstats struct {
136926 Version uint16
136927- Pad_cgo_0 [2]byte
136928 Ac_exitcode uint32
136929 Ac_flag uint8
136930 Ac_nice uint8
136931- Pad_cgo_1 [6]byte
136932 Cpu_count uint64
136933 Cpu_delay_total uint64
136934 Blkio_count uint64
136935@@ -710,13 +249,12 @@ type Taskstats struct {
136936 Ac_comm [32]int8
136937 Ac_sched uint8
136938 Ac_pad [3]uint8
136939- Pad_cgo_2 [4]byte
136940+ _ [4]byte
136941 Ac_uid uint32
136942 Ac_gid uint32
136943 Ac_pid uint32
136944 Ac_ppid uint32
136945 Ac_btime uint32
136946- Pad_cgo_3 [4]byte
136947 Ac_etime uint64
136948 Ac_utime uint64
136949 Ac_stime uint64
136950@@ -740,55 +278,319 @@ type Taskstats struct {
136951 Cpu_scaled_run_real_total uint64
136952 Freepages_count uint64
136953 Freepages_delay_total uint64
136954+ Thrashing_count uint64
136955+ Thrashing_delay_total uint64
136956+ Ac_btime64 uint64
136957 }
136958
136959+type cpuMask uint64
136960+
136961 const (
136962- TASKSTATS_CMD_UNSPEC = 0x0
136963- TASKSTATS_CMD_GET = 0x1
136964- TASKSTATS_CMD_NEW = 0x2
136965- TASKSTATS_TYPE_UNSPEC = 0x0
136966- TASKSTATS_TYPE_PID = 0x1
136967- TASKSTATS_TYPE_TGID = 0x2
136968- TASKSTATS_TYPE_STATS = 0x3
136969- TASKSTATS_TYPE_AGGR_PID = 0x4
136970- TASKSTATS_TYPE_AGGR_TGID = 0x5
136971- TASKSTATS_TYPE_NULL = 0x6
136972- TASKSTATS_CMD_ATTR_UNSPEC = 0x0
136973- TASKSTATS_CMD_ATTR_PID = 0x1
136974- TASKSTATS_CMD_ATTR_TGID = 0x2
136975- TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 0x3
136976- TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4
136977+ _NCPUBITS = 0x40
136978 )
136979
136980-type Genlmsghdr struct {
136981- Cmd uint8
136982- Version uint8
136983- Reserved uint16
136984+const (
136985+ CBitFieldMaskBit0 = 0x1
136986+ CBitFieldMaskBit1 = 0x2
136987+ CBitFieldMaskBit2 = 0x4
136988+ CBitFieldMaskBit3 = 0x8
136989+ CBitFieldMaskBit4 = 0x10
136990+ CBitFieldMaskBit5 = 0x20
136991+ CBitFieldMaskBit6 = 0x40
136992+ CBitFieldMaskBit7 = 0x80
136993+ CBitFieldMaskBit8 = 0x100
136994+ CBitFieldMaskBit9 = 0x200
136995+ CBitFieldMaskBit10 = 0x400
136996+ CBitFieldMaskBit11 = 0x800
136997+ CBitFieldMaskBit12 = 0x1000
136998+ CBitFieldMaskBit13 = 0x2000
136999+ CBitFieldMaskBit14 = 0x4000
137000+ CBitFieldMaskBit15 = 0x8000
137001+ CBitFieldMaskBit16 = 0x10000
137002+ CBitFieldMaskBit17 = 0x20000
137003+ CBitFieldMaskBit18 = 0x40000
137004+ CBitFieldMaskBit19 = 0x80000
137005+ CBitFieldMaskBit20 = 0x100000
137006+ CBitFieldMaskBit21 = 0x200000
137007+ CBitFieldMaskBit22 = 0x400000
137008+ CBitFieldMaskBit23 = 0x800000
137009+ CBitFieldMaskBit24 = 0x1000000
137010+ CBitFieldMaskBit25 = 0x2000000
137011+ CBitFieldMaskBit26 = 0x4000000
137012+ CBitFieldMaskBit27 = 0x8000000
137013+ CBitFieldMaskBit28 = 0x10000000
137014+ CBitFieldMaskBit29 = 0x20000000
137015+ CBitFieldMaskBit30 = 0x40000000
137016+ CBitFieldMaskBit31 = 0x80000000
137017+ CBitFieldMaskBit32 = 0x100000000
137018+ CBitFieldMaskBit33 = 0x200000000
137019+ CBitFieldMaskBit34 = 0x400000000
137020+ CBitFieldMaskBit35 = 0x800000000
137021+ CBitFieldMaskBit36 = 0x1000000000
137022+ CBitFieldMaskBit37 = 0x2000000000
137023+ CBitFieldMaskBit38 = 0x4000000000
137024+ CBitFieldMaskBit39 = 0x8000000000
137025+ CBitFieldMaskBit40 = 0x10000000000
137026+ CBitFieldMaskBit41 = 0x20000000000
137027+ CBitFieldMaskBit42 = 0x40000000000
137028+ CBitFieldMaskBit43 = 0x80000000000
137029+ CBitFieldMaskBit44 = 0x100000000000
137030+ CBitFieldMaskBit45 = 0x200000000000
137031+ CBitFieldMaskBit46 = 0x400000000000
137032+ CBitFieldMaskBit47 = 0x800000000000
137033+ CBitFieldMaskBit48 = 0x1000000000000
137034+ CBitFieldMaskBit49 = 0x2000000000000
137035+ CBitFieldMaskBit50 = 0x4000000000000
137036+ CBitFieldMaskBit51 = 0x8000000000000
137037+ CBitFieldMaskBit52 = 0x10000000000000
137038+ CBitFieldMaskBit53 = 0x20000000000000
137039+ CBitFieldMaskBit54 = 0x40000000000000
137040+ CBitFieldMaskBit55 = 0x80000000000000
137041+ CBitFieldMaskBit56 = 0x100000000000000
137042+ CBitFieldMaskBit57 = 0x200000000000000
137043+ CBitFieldMaskBit58 = 0x400000000000000
137044+ CBitFieldMaskBit59 = 0x800000000000000
137045+ CBitFieldMaskBit60 = 0x1000000000000000
137046+ CBitFieldMaskBit61 = 0x2000000000000000
137047+ CBitFieldMaskBit62 = 0x4000000000000000
137048+ CBitFieldMaskBit63 = 0x8000000000000000
137049+)
137050+
137051+type SockaddrStorage struct {
137052+ Family uint16
137053+ _ [118]int8
137054+ _ uint64
137055+}
137056+
137057+type HDGeometry struct {
137058+ Heads uint8
137059+ Sectors uint8
137060+ Cylinders uint16
137061+ Start uint64
137062+}
137063+
137064+type Statfs_t struct {
137065+ Type int64
137066+ Bsize int64
137067+ Frsize int64
137068+ Blocks uint64
137069+ Bfree uint64
137070+ Files uint64
137071+ Ffree uint64
137072+ Bavail uint64
137073+ Fsid Fsid
137074+ Namelen int64
137075+ Flags int64
137076+ Spare [5]int64
137077+}
137078+
137079+type TpacketHdr struct {
137080+ Status uint64
137081+ Len uint32
137082+ Snaplen uint32
137083+ Mac uint16
137084+ Net uint16
137085+ Sec uint32
137086+ Usec uint32
137087+ _ [4]byte
137088 }
137089
137090 const (
137091- CTRL_CMD_UNSPEC = 0x0
137092- CTRL_CMD_NEWFAMILY = 0x1
137093- CTRL_CMD_DELFAMILY = 0x2
137094- CTRL_CMD_GETFAMILY = 0x3
137095- CTRL_CMD_NEWOPS = 0x4
137096- CTRL_CMD_DELOPS = 0x5
137097- CTRL_CMD_GETOPS = 0x6
137098- CTRL_CMD_NEWMCAST_GRP = 0x7
137099- CTRL_CMD_DELMCAST_GRP = 0x8
137100- CTRL_CMD_GETMCAST_GRP = 0x9
137101- CTRL_ATTR_UNSPEC = 0x0
137102- CTRL_ATTR_FAMILY_ID = 0x1
137103- CTRL_ATTR_FAMILY_NAME = 0x2
137104- CTRL_ATTR_VERSION = 0x3
137105- CTRL_ATTR_HDRSIZE = 0x4
137106- CTRL_ATTR_MAXATTR = 0x5
137107- CTRL_ATTR_OPS = 0x6
137108- CTRL_ATTR_MCAST_GROUPS = 0x7
137109- CTRL_ATTR_OP_UNSPEC = 0x0
137110- CTRL_ATTR_OP_ID = 0x1
137111- CTRL_ATTR_OP_FLAGS = 0x2
137112- CTRL_ATTR_MCAST_GRP_UNSPEC = 0x0
137113- CTRL_ATTR_MCAST_GRP_NAME = 0x1
137114- CTRL_ATTR_MCAST_GRP_ID = 0x2
137115+ SizeofTpacketHdr = 0x20
137116 )
137117+
137118+type RTCPLLInfo struct {
137119+ Ctrl int32
137120+ Value int32
137121+ Max int32
137122+ Min int32
137123+ Posmult int32
137124+ Negmult int32
137125+ Clock int64
137126+}
137127+
137128+type BlkpgPartition struct {
137129+ Start int64
137130+ Length int64
137131+ Pno int32
137132+ Devname [64]uint8
137133+ Volname [64]uint8
137134+ _ [4]byte
137135+}
137136+
137137+const (
137138+ BLKPG = 0x20001269
137139+)
137140+
137141+type XDPUmemReg struct {
137142+ Addr uint64
137143+ Len uint64
137144+ Size uint32
137145+ Headroom uint32
137146+ Flags uint32
137147+ _ [4]byte
137148+}
137149+
137150+type CryptoUserAlg struct {
137151+ Name [64]int8
137152+ Driver_name [64]int8
137153+ Module_name [64]int8
137154+ Type uint32
137155+ Mask uint32
137156+ Refcnt uint32
137157+ Flags uint32
137158+}
137159+
137160+type CryptoStatAEAD struct {
137161+ Type [64]int8
137162+ Encrypt_cnt uint64
137163+ Encrypt_tlen uint64
137164+ Decrypt_cnt uint64
137165+ Decrypt_tlen uint64
137166+ Err_cnt uint64
137167+}
137168+
137169+type CryptoStatAKCipher struct {
137170+ Type [64]int8
137171+ Encrypt_cnt uint64
137172+ Encrypt_tlen uint64
137173+ Decrypt_cnt uint64
137174+ Decrypt_tlen uint64
137175+ Verify_cnt uint64
137176+ Sign_cnt uint64
137177+ Err_cnt uint64
137178+}
137179+
137180+type CryptoStatCipher struct {
137181+ Type [64]int8
137182+ Encrypt_cnt uint64
137183+ Encrypt_tlen uint64
137184+ Decrypt_cnt uint64
137185+ Decrypt_tlen uint64
137186+ Err_cnt uint64
137187+}
137188+
137189+type CryptoStatCompress struct {
137190+ Type [64]int8
137191+ Compress_cnt uint64
137192+ Compress_tlen uint64
137193+ Decompress_cnt uint64
137194+ Decompress_tlen uint64
137195+ Err_cnt uint64
137196+}
137197+
137198+type CryptoStatHash struct {
137199+ Type [64]int8
137200+ Hash_cnt uint64
137201+ Hash_tlen uint64
137202+ Err_cnt uint64
137203+}
137204+
137205+type CryptoStatKPP struct {
137206+ Type [64]int8
137207+ Setsecret_cnt uint64
137208+ Generate_public_key_cnt uint64
137209+ Compute_shared_secret_cnt uint64
137210+ Err_cnt uint64
137211+}
137212+
137213+type CryptoStatRNG struct {
137214+ Type [64]int8
137215+ Generate_cnt uint64
137216+ Generate_tlen uint64
137217+ Seed_cnt uint64
137218+ Err_cnt uint64
137219+}
137220+
137221+type CryptoStatLarval struct {
137222+ Type [64]int8
137223+}
137224+
137225+type CryptoReportLarval struct {
137226+ Type [64]int8
137227+}
137228+
137229+type CryptoReportHash struct {
137230+ Type [64]int8
137231+ Blocksize uint32
137232+ Digestsize uint32
137233+}
137234+
137235+type CryptoReportCipher struct {
137236+ Type [64]int8
137237+ Blocksize uint32
137238+ Min_keysize uint32
137239+ Max_keysize uint32
137240+}
137241+
137242+type CryptoReportBlkCipher struct {
137243+ Type [64]int8
137244+ Geniv [64]int8
137245+ Blocksize uint32
137246+ Min_keysize uint32
137247+ Max_keysize uint32
137248+ Ivsize uint32
137249+}
137250+
137251+type CryptoReportAEAD struct {
137252+ Type [64]int8
137253+ Geniv [64]int8
137254+ Blocksize uint32
137255+ Maxauthsize uint32
137256+ Ivsize uint32
137257+}
137258+
137259+type CryptoReportComp struct {
137260+ Type [64]int8
137261+}
137262+
137263+type CryptoReportRNG struct {
137264+ Type [64]int8
137265+ Seedsize uint32
137266+}
137267+
137268+type CryptoReportAKCipher struct {
137269+ Type [64]int8
137270+}
137271+
137272+type CryptoReportKPP struct {
137273+ Type [64]int8
137274+}
137275+
137276+type CryptoReportAcomp struct {
137277+ Type [64]int8
137278+}
137279+
137280+type LoopInfo struct {
137281+ Number int32
137282+ Device uint32
137283+ Inode uint64
137284+ Rdevice uint32
137285+ Offset int32
137286+ Encrypt_type int32
137287+ Encrypt_key_size int32
137288+ Flags int32
137289+ Name [64]int8
137290+ Encrypt_key [32]uint8
137291+ Init [2]uint64
137292+ Reserved [4]int8
137293+ _ [4]byte
137294+}
137295+
137296+type TIPCSubscr struct {
137297+ Seq TIPCServiceRange
137298+ Timeout uint32
137299+ Filter uint32
137300+ Handle [8]int8
137301+}
137302+
137303+type TIPCSIOCLNReq struct {
137304+ Peer uint32
137305+ Id uint32
137306+ Linkname [68]int8
137307+}
137308+
137309+type TIPCSIOCNodeIDReq struct {
137310+ Peer uint32
137311+ Id [16]int8
137312+}
137313diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go b/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go
137314index 74c54213..4ed2c8e5 100644
137315--- a/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go
137316+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go
137317@@ -6,19 +6,12 @@
137318 package unix
137319
137320 const (
137321- sizeofPtr = 0x4
137322- sizeofShort = 0x2
137323- sizeofInt = 0x4
137324- sizeofLong = 0x4
137325- sizeofLongLong = 0x8
137326- PathMax = 0x1000
137327+ SizeofPtr = 0x4
137328+ SizeofLong = 0x4
137329 )
137330
137331 type (
137332- _C_short int16
137333- _C_int int32
137334- _C_long int32
137335- _C_long_long int64
137336+ _C_long int32
137337 )
137338
137339 type Timespec struct {
137340@@ -52,7 +45,7 @@ type Timex struct {
137341 Errcnt int32
137342 Stbcnt int32
137343 Tai int32
137344- Pad_cgo_0 [44]byte
137345+ _ [44]byte
137346 }
137347
137348 type Time_t int32
137349@@ -88,13 +81,6 @@ type Rusage struct {
137350 Nivcsw int32
137351 }
137352
137353-type Rlimit struct {
137354- Cur uint64
137355- Max uint64
137356-}
137357-
137358-type _Gid_t uint32
137359-
137360 type Stat_t struct {
137361 Dev uint32
137362 Pad1 [3]int32
137363@@ -115,141 +101,30 @@ type Stat_t struct {
137364 Pad5 [14]int32
137365 }
137366
137367-type Statfs_t struct {
137368- Type int32
137369- Bsize int32
137370- Frsize int32
137371- Pad_cgo_0 [4]byte
137372- Blocks uint64
137373- Bfree uint64
137374- Files uint64
137375- Ffree uint64
137376- Bavail uint64
137377- Fsid Fsid
137378- Namelen int32
137379- Flags int32
137380- Spare [5]int32
137381- Pad_cgo_1 [4]byte
137382-}
137383-
137384 type Dirent struct {
137385- Ino uint64
137386- Off int64
137387- Reclen uint16
137388- Type uint8
137389- Name [256]int8
137390- Pad_cgo_0 [5]byte
137391-}
137392-
137393-type Fsid struct {
137394- X__val [2]int32
137395+ Ino uint64
137396+ Off int64
137397+ Reclen uint16
137398+ Type uint8
137399+ Name [256]int8
137400+ _ [5]byte
137401 }
137402
137403 type Flock_t struct {
137404- Type int16
137405- Whence int16
137406- Pad_cgo_0 [4]byte
137407- Start int64
137408- Len int64
137409- Pid int32
137410- Pad_cgo_1 [4]byte
137411-}
137412-
137413-type FscryptPolicy struct {
137414- Version uint8
137415- Contents_encryption_mode uint8
137416- Filenames_encryption_mode uint8
137417- Flags uint8
137418- Master_key_descriptor [8]uint8
137419-}
137420-
137421-type FscryptKey struct {
137422- Mode uint32
137423- Raw [64]uint8
137424- Size uint32
137425-}
137426-
137427-type KeyctlDHParams struct {
137428- Private int32
137429- Prime int32
137430- Base int32
137431+ Type int16
137432+ Whence int16
137433+ _ [4]byte
137434+ Start int64
137435+ Len int64
137436+ Pid int32
137437+ _ [4]byte
137438 }
137439
137440 const (
137441- FADV_NORMAL = 0x0
137442- FADV_RANDOM = 0x1
137443- FADV_SEQUENTIAL = 0x2
137444- FADV_WILLNEED = 0x3
137445- FADV_DONTNEED = 0x4
137446- FADV_NOREUSE = 0x5
137447+ FADV_DONTNEED = 0x4
137448+ FADV_NOREUSE = 0x5
137449 )
137450
137451-type RawSockaddrInet4 struct {
137452- Family uint16
137453- Port uint16
137454- Addr [4]byte /* in_addr */
137455- Zero [8]uint8
137456-}
137457-
137458-type RawSockaddrInet6 struct {
137459- Family uint16
137460- Port uint16
137461- Flowinfo uint32
137462- Addr [16]byte /* in6_addr */
137463- Scope_id uint32
137464-}
137465-
137466-type RawSockaddrUnix struct {
137467- Family uint16
137468- Path [108]int8
137469-}
137470-
137471-type RawSockaddrLinklayer struct {
137472- Family uint16
137473- Protocol uint16
137474- Ifindex int32
137475- Hatype uint16
137476- Pkttype uint8
137477- Halen uint8
137478- Addr [8]uint8
137479-}
137480-
137481-type RawSockaddrNetlink struct {
137482- Family uint16
137483- Pad uint16
137484- Pid uint32
137485- Groups uint32
137486-}
137487-
137488-type RawSockaddrHCI struct {
137489- Family uint16
137490- Dev uint16
137491- Channel uint16
137492-}
137493-
137494-type RawSockaddrCAN struct {
137495- Family uint16
137496- Pad_cgo_0 [2]byte
137497- Ifindex int32
137498- Addr [8]byte
137499-}
137500-
137501-type RawSockaddrALG struct {
137502- Family uint16
137503- Type [14]uint8
137504- Feat uint32
137505- Mask uint32
137506- Name [64]uint8
137507-}
137508-
137509-type RawSockaddrVM struct {
137510- Family uint16
137511- Reserved1 uint16
137512- Port uint32
137513- Cid uint32
137514- Zero [4]uint8
137515-}
137516-
137517 type RawSockaddr struct {
137518 Family uint16
137519 Data [14]int8
137520@@ -260,41 +135,11 @@ type RawSockaddrAny struct {
137521 Pad [96]int8
137522 }
137523
137524-type _Socklen uint32
137525-
137526-type Linger struct {
137527- Onoff int32
137528- Linger int32
137529-}
137530-
137531 type Iovec struct {
137532 Base *byte
137533 Len uint32
137534 }
137535
137536-type IPMreq struct {
137537- Multiaddr [4]byte /* in_addr */
137538- Interface [4]byte /* in_addr */
137539-}
137540-
137541-type IPMreqn struct {
137542- Multiaddr [4]byte /* in_addr */
137543- Address [4]byte /* in_addr */
137544- Ifindex int32
137545-}
137546-
137547-type IPv6Mreq struct {
137548- Multiaddr [16]byte /* in6_addr */
137549- Interface uint32
137550-}
137551-
137552-type PacketMreq struct {
137553- Ifindex int32
137554- Type uint16
137555- Alen uint16
137556- Address [8]uint8
137557-}
137558-
137559 type Msghdr struct {
137560 Name *byte
137561 Namelen uint32
137562@@ -311,277 +156,16 @@ type Cmsghdr struct {
137563 Type int32
137564 }
137565
137566-type Inet4Pktinfo struct {
137567- Ifindex int32
137568- Spec_dst [4]byte /* in_addr */
137569- Addr [4]byte /* in_addr */
137570-}
137571-
137572-type Inet6Pktinfo struct {
137573- Addr [16]byte /* in6_addr */
137574- Ifindex uint32
137575-}
137576-
137577-type IPv6MTUInfo struct {
137578- Addr RawSockaddrInet6
137579- Mtu uint32
137580-}
137581-
137582-type ICMPv6Filter struct {
137583- Data [8]uint32
137584-}
137585-
137586-type Ucred struct {
137587- Pid int32
137588- Uid uint32
137589- Gid uint32
137590-}
137591-
137592-type TCPInfo struct {
137593- State uint8
137594- Ca_state uint8
137595- Retransmits uint8
137596- Probes uint8
137597- Backoff uint8
137598- Options uint8
137599- Pad_cgo_0 [2]byte
137600- Rto uint32
137601- Ato uint32
137602- Snd_mss uint32
137603- Rcv_mss uint32
137604- Unacked uint32
137605- Sacked uint32
137606- Lost uint32
137607- Retrans uint32
137608- Fackets uint32
137609- Last_data_sent uint32
137610- Last_ack_sent uint32
137611- Last_data_recv uint32
137612- Last_ack_recv uint32
137613- Pmtu uint32
137614- Rcv_ssthresh uint32
137615- Rtt uint32
137616- Rttvar uint32
137617- Snd_ssthresh uint32
137618- Snd_cwnd uint32
137619- Advmss uint32
137620- Reordering uint32
137621- Rcv_rtt uint32
137622- Rcv_space uint32
137623- Total_retrans uint32
137624-}
137625-
137626 const (
137627- SizeofSockaddrInet4 = 0x10
137628- SizeofSockaddrInet6 = 0x1c
137629- SizeofSockaddrAny = 0x70
137630- SizeofSockaddrUnix = 0x6e
137631- SizeofSockaddrLinklayer = 0x14
137632- SizeofSockaddrNetlink = 0xc
137633- SizeofSockaddrHCI = 0x6
137634- SizeofSockaddrCAN = 0x10
137635- SizeofSockaddrALG = 0x58
137636- SizeofSockaddrVM = 0x10
137637- SizeofLinger = 0x8
137638- SizeofIovec = 0x8
137639- SizeofIPMreq = 0x8
137640- SizeofIPMreqn = 0xc
137641- SizeofIPv6Mreq = 0x14
137642- SizeofPacketMreq = 0x10
137643- SizeofMsghdr = 0x1c
137644- SizeofCmsghdr = 0xc
137645- SizeofInet4Pktinfo = 0xc
137646- SizeofInet6Pktinfo = 0x14
137647- SizeofIPv6MTUInfo = 0x20
137648- SizeofICMPv6Filter = 0x20
137649- SizeofUcred = 0xc
137650- SizeofTCPInfo = 0x68
137651+ SizeofIovec = 0x8
137652+ SizeofMsghdr = 0x1c
137653+ SizeofCmsghdr = 0xc
137654 )
137655
137656 const (
137657- IFA_UNSPEC = 0x0
137658- IFA_ADDRESS = 0x1
137659- IFA_LOCAL = 0x2
137660- IFA_LABEL = 0x3
137661- IFA_BROADCAST = 0x4
137662- IFA_ANYCAST = 0x5
137663- IFA_CACHEINFO = 0x6
137664- IFA_MULTICAST = 0x7
137665- IFLA_UNSPEC = 0x0
137666- IFLA_ADDRESS = 0x1
137667- IFLA_BROADCAST = 0x2
137668- IFLA_IFNAME = 0x3
137669- IFLA_MTU = 0x4
137670- IFLA_LINK = 0x5
137671- IFLA_QDISC = 0x6
137672- IFLA_STATS = 0x7
137673- IFLA_COST = 0x8
137674- IFLA_PRIORITY = 0x9
137675- IFLA_MASTER = 0xa
137676- IFLA_WIRELESS = 0xb
137677- IFLA_PROTINFO = 0xc
137678- IFLA_TXQLEN = 0xd
137679- IFLA_MAP = 0xe
137680- IFLA_WEIGHT = 0xf
137681- IFLA_OPERSTATE = 0x10
137682- IFLA_LINKMODE = 0x11
137683- IFLA_LINKINFO = 0x12
137684- IFLA_NET_NS_PID = 0x13
137685- IFLA_IFALIAS = 0x14
137686- IFLA_MAX = 0x2b
137687- RT_SCOPE_UNIVERSE = 0x0
137688- RT_SCOPE_SITE = 0xc8
137689- RT_SCOPE_LINK = 0xfd
137690- RT_SCOPE_HOST = 0xfe
137691- RT_SCOPE_NOWHERE = 0xff
137692- RT_TABLE_UNSPEC = 0x0
137693- RT_TABLE_COMPAT = 0xfc
137694- RT_TABLE_DEFAULT = 0xfd
137695- RT_TABLE_MAIN = 0xfe
137696- RT_TABLE_LOCAL = 0xff
137697- RT_TABLE_MAX = 0xffffffff
137698- RTA_UNSPEC = 0x0
137699- RTA_DST = 0x1
137700- RTA_SRC = 0x2
137701- RTA_IIF = 0x3
137702- RTA_OIF = 0x4
137703- RTA_GATEWAY = 0x5
137704- RTA_PRIORITY = 0x6
137705- RTA_PREFSRC = 0x7
137706- RTA_METRICS = 0x8
137707- RTA_MULTIPATH = 0x9
137708- RTA_FLOW = 0xb
137709- RTA_CACHEINFO = 0xc
137710- RTA_TABLE = 0xf
137711- RTN_UNSPEC = 0x0
137712- RTN_UNICAST = 0x1
137713- RTN_LOCAL = 0x2
137714- RTN_BROADCAST = 0x3
137715- RTN_ANYCAST = 0x4
137716- RTN_MULTICAST = 0x5
137717- RTN_BLACKHOLE = 0x6
137718- RTN_UNREACHABLE = 0x7
137719- RTN_PROHIBIT = 0x8
137720- RTN_THROW = 0x9
137721- RTN_NAT = 0xa
137722- RTN_XRESOLVE = 0xb
137723- RTNLGRP_NONE = 0x0
137724- RTNLGRP_LINK = 0x1
137725- RTNLGRP_NOTIFY = 0x2
137726- RTNLGRP_NEIGH = 0x3
137727- RTNLGRP_TC = 0x4
137728- RTNLGRP_IPV4_IFADDR = 0x5
137729- RTNLGRP_IPV4_MROUTE = 0x6
137730- RTNLGRP_IPV4_ROUTE = 0x7
137731- RTNLGRP_IPV4_RULE = 0x8
137732- RTNLGRP_IPV6_IFADDR = 0x9
137733- RTNLGRP_IPV6_MROUTE = 0xa
137734- RTNLGRP_IPV6_ROUTE = 0xb
137735- RTNLGRP_IPV6_IFINFO = 0xc
137736- RTNLGRP_IPV6_PREFIX = 0x12
137737- RTNLGRP_IPV6_RULE = 0x13
137738- RTNLGRP_ND_USEROPT = 0x14
137739- SizeofNlMsghdr = 0x10
137740- SizeofNlMsgerr = 0x14
137741- SizeofRtGenmsg = 0x1
137742- SizeofNlAttr = 0x4
137743- SizeofRtAttr = 0x4
137744- SizeofIfInfomsg = 0x10
137745- SizeofIfAddrmsg = 0x8
137746- SizeofRtMsg = 0xc
137747- SizeofRtNexthop = 0x8
137748+ SizeofSockFprog = 0x8
137749 )
137750
137751-type NlMsghdr struct {
137752- Len uint32
137753- Type uint16
137754- Flags uint16
137755- Seq uint32
137756- Pid uint32
137757-}
137758-
137759-type NlMsgerr struct {
137760- Error int32
137761- Msg NlMsghdr
137762-}
137763-
137764-type RtGenmsg struct {
137765- Family uint8
137766-}
137767-
137768-type NlAttr struct {
137769- Len uint16
137770- Type uint16
137771-}
137772-
137773-type RtAttr struct {
137774- Len uint16
137775- Type uint16
137776-}
137777-
137778-type IfInfomsg struct {
137779- Family uint8
137780- X__ifi_pad uint8
137781- Type uint16
137782- Index int32
137783- Flags uint32
137784- Change uint32
137785-}
137786-
137787-type IfAddrmsg struct {
137788- Family uint8
137789- Prefixlen uint8
137790- Flags uint8
137791- Scope uint8
137792- Index uint32
137793-}
137794-
137795-type RtMsg struct {
137796- Family uint8
137797- Dst_len uint8
137798- Src_len uint8
137799- Tos uint8
137800- Table uint8
137801- Protocol uint8
137802- Scope uint8
137803- Type uint8
137804- Flags uint32
137805-}
137806-
137807-type RtNexthop struct {
137808- Len uint16
137809- Flags uint8
137810- Hops uint8
137811- Ifindex int32
137812-}
137813-
137814-const (
137815- SizeofSockFilter = 0x8
137816- SizeofSockFprog = 0x8
137817-)
137818-
137819-type SockFilter struct {
137820- Code uint16
137821- Jt uint8
137822- Jf uint8
137823- K uint32
137824-}
137825-
137826-type SockFprog struct {
137827- Len uint16
137828- Pad_cgo_0 [2]byte
137829- Filter *SockFilter
137830-}
137831-
137832-type InotifyEvent struct {
137833- Wd int32
137834- Mask uint32
137835- Cookie uint32
137836- Len uint32
137837-}
137838-
137839-const SizeofInotifyEvent = 0x10
137840-
137841 type PtraceRegs struct {
137842 Regs [32]uint64
137843 Lo uint64
137844@@ -610,16 +194,7 @@ type Sysinfo_t struct {
137845 Totalhigh uint32
137846 Freehigh uint32
137847 Unit uint32
137848- X_f [8]int8
137849-}
137850-
137851-type Utsname struct {
137852- Sysname [65]int8
137853- Nodename [65]int8
137854- Release [65]int8
137855- Version [65]int8
137856- Machine [65]int8
137857- Domainname [65]int8
137858+ _ [8]int8
137859 }
137860
137861 type Ustat_t struct {
137862@@ -637,37 +212,14 @@ type EpollEvent struct {
137863 }
137864
137865 const (
137866- AT_FDCWD = -0x64
137867- AT_REMOVEDIR = 0x200
137868- AT_SYMLINK_FOLLOW = 0x400
137869- AT_SYMLINK_NOFOLLOW = 0x100
137870-)
137871-
137872-type PollFd struct {
137873- Fd int32
137874- Events int16
137875- Revents int16
137876-}
137877-
137878-const (
137879- POLLIN = 0x1
137880- POLLPRI = 0x2
137881- POLLOUT = 0x4
137882 POLLRDHUP = 0x2000
137883- POLLERR = 0x8
137884- POLLHUP = 0x10
137885- POLLNVAL = 0x20
137886 )
137887
137888 type Sigset_t struct {
137889- X__val [32]uint32
137890+ Val [32]uint32
137891 }
137892
137893-const RNDGETENTCNT = 0x40045200
137894-
137895-const PERF_IOC_FLAG_GROUP = 0x1
137896-
137897-const _SC_PAGESIZE = 0x1e
137898+const _C__NSIG = 0x80
137899
137900 type Termios struct {
137901 Iflag uint32
137902@@ -680,20 +232,12 @@ type Termios struct {
137903 Ospeed uint32
137904 }
137905
137906-type Winsize struct {
137907- Row uint16
137908- Col uint16
137909- Xpixel uint16
137910- Ypixel uint16
137911-}
137912-
137913 type Taskstats struct {
137914 Version uint16
137915- Pad_cgo_0 [2]byte
137916 Ac_exitcode uint32
137917 Ac_flag uint8
137918 Ac_nice uint8
137919- Pad_cgo_1 [6]byte
137920+ _ [4]byte
137921 Cpu_count uint64
137922 Cpu_delay_total uint64
137923 Blkio_count uint64
137924@@ -705,13 +249,13 @@ type Taskstats struct {
137925 Ac_comm [32]int8
137926 Ac_sched uint8
137927 Ac_pad [3]uint8
137928- Pad_cgo_2 [4]byte
137929+ _ [4]byte
137930 Ac_uid uint32
137931 Ac_gid uint32
137932 Ac_pid uint32
137933 Ac_ppid uint32
137934 Ac_btime uint32
137935- Pad_cgo_3 [4]byte
137936+ _ [4]byte
137937 Ac_etime uint64
137938 Ac_utime uint64
137939 Ac_stime uint64
137940@@ -735,55 +279,319 @@ type Taskstats struct {
137941 Cpu_scaled_run_real_total uint64
137942 Freepages_count uint64
137943 Freepages_delay_total uint64
137944+ Thrashing_count uint64
137945+ Thrashing_delay_total uint64
137946+ Ac_btime64 uint64
137947 }
137948
137949+type cpuMask uint32
137950+
137951+const (
137952+ _NCPUBITS = 0x20
137953+)
137954+
137955 const (
137956- TASKSTATS_CMD_UNSPEC = 0x0
137957- TASKSTATS_CMD_GET = 0x1
137958- TASKSTATS_CMD_NEW = 0x2
137959- TASKSTATS_TYPE_UNSPEC = 0x0
137960- TASKSTATS_TYPE_PID = 0x1
137961- TASKSTATS_TYPE_TGID = 0x2
137962- TASKSTATS_TYPE_STATS = 0x3
137963- TASKSTATS_TYPE_AGGR_PID = 0x4
137964- TASKSTATS_TYPE_AGGR_TGID = 0x5
137965- TASKSTATS_TYPE_NULL = 0x6
137966- TASKSTATS_CMD_ATTR_UNSPEC = 0x0
137967- TASKSTATS_CMD_ATTR_PID = 0x1
137968- TASKSTATS_CMD_ATTR_TGID = 0x2
137969- TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 0x3
137970- TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4
137971+ CBitFieldMaskBit0 = 0x1
137972+ CBitFieldMaskBit1 = 0x2
137973+ CBitFieldMaskBit2 = 0x4
137974+ CBitFieldMaskBit3 = 0x8
137975+ CBitFieldMaskBit4 = 0x10
137976+ CBitFieldMaskBit5 = 0x20
137977+ CBitFieldMaskBit6 = 0x40
137978+ CBitFieldMaskBit7 = 0x80
137979+ CBitFieldMaskBit8 = 0x100
137980+ CBitFieldMaskBit9 = 0x200
137981+ CBitFieldMaskBit10 = 0x400
137982+ CBitFieldMaskBit11 = 0x800
137983+ CBitFieldMaskBit12 = 0x1000
137984+ CBitFieldMaskBit13 = 0x2000
137985+ CBitFieldMaskBit14 = 0x4000
137986+ CBitFieldMaskBit15 = 0x8000
137987+ CBitFieldMaskBit16 = 0x10000
137988+ CBitFieldMaskBit17 = 0x20000
137989+ CBitFieldMaskBit18 = 0x40000
137990+ CBitFieldMaskBit19 = 0x80000
137991+ CBitFieldMaskBit20 = 0x100000
137992+ CBitFieldMaskBit21 = 0x200000
137993+ CBitFieldMaskBit22 = 0x400000
137994+ CBitFieldMaskBit23 = 0x800000
137995+ CBitFieldMaskBit24 = 0x1000000
137996+ CBitFieldMaskBit25 = 0x2000000
137997+ CBitFieldMaskBit26 = 0x4000000
137998+ CBitFieldMaskBit27 = 0x8000000
137999+ CBitFieldMaskBit28 = 0x10000000
138000+ CBitFieldMaskBit29 = 0x20000000
138001+ CBitFieldMaskBit30 = 0x40000000
138002+ CBitFieldMaskBit31 = 0x80000000
138003+ CBitFieldMaskBit32 = 0x100000000
138004+ CBitFieldMaskBit33 = 0x200000000
138005+ CBitFieldMaskBit34 = 0x400000000
138006+ CBitFieldMaskBit35 = 0x800000000
138007+ CBitFieldMaskBit36 = 0x1000000000
138008+ CBitFieldMaskBit37 = 0x2000000000
138009+ CBitFieldMaskBit38 = 0x4000000000
138010+ CBitFieldMaskBit39 = 0x8000000000
138011+ CBitFieldMaskBit40 = 0x10000000000
138012+ CBitFieldMaskBit41 = 0x20000000000
138013+ CBitFieldMaskBit42 = 0x40000000000
138014+ CBitFieldMaskBit43 = 0x80000000000
138015+ CBitFieldMaskBit44 = 0x100000000000
138016+ CBitFieldMaskBit45 = 0x200000000000
138017+ CBitFieldMaskBit46 = 0x400000000000
138018+ CBitFieldMaskBit47 = 0x800000000000
138019+ CBitFieldMaskBit48 = 0x1000000000000
138020+ CBitFieldMaskBit49 = 0x2000000000000
138021+ CBitFieldMaskBit50 = 0x4000000000000
138022+ CBitFieldMaskBit51 = 0x8000000000000
138023+ CBitFieldMaskBit52 = 0x10000000000000
138024+ CBitFieldMaskBit53 = 0x20000000000000
138025+ CBitFieldMaskBit54 = 0x40000000000000
138026+ CBitFieldMaskBit55 = 0x80000000000000
138027+ CBitFieldMaskBit56 = 0x100000000000000
138028+ CBitFieldMaskBit57 = 0x200000000000000
138029+ CBitFieldMaskBit58 = 0x400000000000000
138030+ CBitFieldMaskBit59 = 0x800000000000000
138031+ CBitFieldMaskBit60 = 0x1000000000000000
138032+ CBitFieldMaskBit61 = 0x2000000000000000
138033+ CBitFieldMaskBit62 = 0x4000000000000000
138034+ CBitFieldMaskBit63 = 0x8000000000000000
138035 )
138036
138037-type Genlmsghdr struct {
138038- Cmd uint8
138039- Version uint8
138040- Reserved uint16
138041+type SockaddrStorage struct {
138042+ Family uint16
138043+ _ [122]int8
138044+ _ uint32
138045+}
138046+
138047+type HDGeometry struct {
138048+ Heads uint8
138049+ Sectors uint8
138050+ Cylinders uint16
138051+ Start uint32
138052+}
138053+
138054+type Statfs_t struct {
138055+ Type int32
138056+ Bsize int32
138057+ Frsize int32
138058+ _ [4]byte
138059+ Blocks uint64
138060+ Bfree uint64
138061+ Files uint64
138062+ Ffree uint64
138063+ Bavail uint64
138064+ Fsid Fsid
138065+ Namelen int32
138066+ Flags int32
138067+ Spare [5]int32
138068+ _ [4]byte
138069+}
138070+
138071+type TpacketHdr struct {
138072+ Status uint32
138073+ Len uint32
138074+ Snaplen uint32
138075+ Mac uint16
138076+ Net uint16
138077+ Sec uint32
138078+ Usec uint32
138079+}
138080+
138081+const (
138082+ SizeofTpacketHdr = 0x18
138083+)
138084+
138085+type RTCPLLInfo struct {
138086+ Ctrl int32
138087+ Value int32
138088+ Max int32
138089+ Min int32
138090+ Posmult int32
138091+ Negmult int32
138092+ Clock int32
138093+}
138094+
138095+type BlkpgPartition struct {
138096+ Start int64
138097+ Length int64
138098+ Pno int32
138099+ Devname [64]uint8
138100+ Volname [64]uint8
138101+ _ [4]byte
138102 }
138103
138104 const (
138105- CTRL_CMD_UNSPEC = 0x0
138106- CTRL_CMD_NEWFAMILY = 0x1
138107- CTRL_CMD_DELFAMILY = 0x2
138108- CTRL_CMD_GETFAMILY = 0x3
138109- CTRL_CMD_NEWOPS = 0x4
138110- CTRL_CMD_DELOPS = 0x5
138111- CTRL_CMD_GETOPS = 0x6
138112- CTRL_CMD_NEWMCAST_GRP = 0x7
138113- CTRL_CMD_DELMCAST_GRP = 0x8
138114- CTRL_CMD_GETMCAST_GRP = 0x9
138115- CTRL_ATTR_UNSPEC = 0x0
138116- CTRL_ATTR_FAMILY_ID = 0x1
138117- CTRL_ATTR_FAMILY_NAME = 0x2
138118- CTRL_ATTR_VERSION = 0x3
138119- CTRL_ATTR_HDRSIZE = 0x4
138120- CTRL_ATTR_MAXATTR = 0x5
138121- CTRL_ATTR_OPS = 0x6
138122- CTRL_ATTR_MCAST_GROUPS = 0x7
138123- CTRL_ATTR_OP_UNSPEC = 0x0
138124- CTRL_ATTR_OP_ID = 0x1
138125- CTRL_ATTR_OP_FLAGS = 0x2
138126- CTRL_ATTR_MCAST_GRP_UNSPEC = 0x0
138127- CTRL_ATTR_MCAST_GRP_NAME = 0x1
138128- CTRL_ATTR_MCAST_GRP_ID = 0x2
138129+ BLKPG = 0x20001269
138130 )
138131+
138132+type XDPUmemReg struct {
138133+ Addr uint64
138134+ Len uint64
138135+ Size uint32
138136+ Headroom uint32
138137+ Flags uint32
138138+ _ [4]byte
138139+}
138140+
138141+type CryptoUserAlg struct {
138142+ Name [64]int8
138143+ Driver_name [64]int8
138144+ Module_name [64]int8
138145+ Type uint32
138146+ Mask uint32
138147+ Refcnt uint32
138148+ Flags uint32
138149+}
138150+
138151+type CryptoStatAEAD struct {
138152+ Type [64]int8
138153+ Encrypt_cnt uint64
138154+ Encrypt_tlen uint64
138155+ Decrypt_cnt uint64
138156+ Decrypt_tlen uint64
138157+ Err_cnt uint64
138158+}
138159+
138160+type CryptoStatAKCipher struct {
138161+ Type [64]int8
138162+ Encrypt_cnt uint64
138163+ Encrypt_tlen uint64
138164+ Decrypt_cnt uint64
138165+ Decrypt_tlen uint64
138166+ Verify_cnt uint64
138167+ Sign_cnt uint64
138168+ Err_cnt uint64
138169+}
138170+
138171+type CryptoStatCipher struct {
138172+ Type [64]int8
138173+ Encrypt_cnt uint64
138174+ Encrypt_tlen uint64
138175+ Decrypt_cnt uint64
138176+ Decrypt_tlen uint64
138177+ Err_cnt uint64
138178+}
138179+
138180+type CryptoStatCompress struct {
138181+ Type [64]int8
138182+ Compress_cnt uint64
138183+ Compress_tlen uint64
138184+ Decompress_cnt uint64
138185+ Decompress_tlen uint64
138186+ Err_cnt uint64
138187+}
138188+
138189+type CryptoStatHash struct {
138190+ Type [64]int8
138191+ Hash_cnt uint64
138192+ Hash_tlen uint64
138193+ Err_cnt uint64
138194+}
138195+
138196+type CryptoStatKPP struct {
138197+ Type [64]int8
138198+ Setsecret_cnt uint64
138199+ Generate_public_key_cnt uint64
138200+ Compute_shared_secret_cnt uint64
138201+ Err_cnt uint64
138202+}
138203+
138204+type CryptoStatRNG struct {
138205+ Type [64]int8
138206+ Generate_cnt uint64
138207+ Generate_tlen uint64
138208+ Seed_cnt uint64
138209+ Err_cnt uint64
138210+}
138211+
138212+type CryptoStatLarval struct {
138213+ Type [64]int8
138214+}
138215+
138216+type CryptoReportLarval struct {
138217+ Type [64]int8
138218+}
138219+
138220+type CryptoReportHash struct {
138221+ Type [64]int8
138222+ Blocksize uint32
138223+ Digestsize uint32
138224+}
138225+
138226+type CryptoReportCipher struct {
138227+ Type [64]int8
138228+ Blocksize uint32
138229+ Min_keysize uint32
138230+ Max_keysize uint32
138231+}
138232+
138233+type CryptoReportBlkCipher struct {
138234+ Type [64]int8
138235+ Geniv [64]int8
138236+ Blocksize uint32
138237+ Min_keysize uint32
138238+ Max_keysize uint32
138239+ Ivsize uint32
138240+}
138241+
138242+type CryptoReportAEAD struct {
138243+ Type [64]int8
138244+ Geniv [64]int8
138245+ Blocksize uint32
138246+ Maxauthsize uint32
138247+ Ivsize uint32
138248+}
138249+
138250+type CryptoReportComp struct {
138251+ Type [64]int8
138252+}
138253+
138254+type CryptoReportRNG struct {
138255+ Type [64]int8
138256+ Seedsize uint32
138257+}
138258+
138259+type CryptoReportAKCipher struct {
138260+ Type [64]int8
138261+}
138262+
138263+type CryptoReportKPP struct {
138264+ Type [64]int8
138265+}
138266+
138267+type CryptoReportAcomp struct {
138268+ Type [64]int8
138269+}
138270+
138271+type LoopInfo struct {
138272+ Number int32
138273+ Device uint32
138274+ Inode uint32
138275+ Rdevice uint32
138276+ Offset int32
138277+ Encrypt_type int32
138278+ Encrypt_key_size int32
138279+ Flags int32
138280+ Name [64]int8
138281+ Encrypt_key [32]uint8
138282+ Init [2]uint32
138283+ Reserved [4]int8
138284+}
138285+
138286+type TIPCSubscr struct {
138287+ Seq TIPCServiceRange
138288+ Timeout uint32
138289+ Filter uint32
138290+ Handle [8]int8
138291+}
138292+
138293+type TIPCSIOCLNReq struct {
138294+ Peer uint32
138295+ Id uint32
138296+ Linkname [68]int8
138297+}
138298+
138299+type TIPCSIOCNodeIDReq struct {
138300+ Peer uint32
138301+ Id [16]int8
138302+}
138303diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go
138304index 2b0b18e9..74151909 100644
138305--- a/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go
138306+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go
138307@@ -6,19 +6,12 @@
138308 package unix
138309
138310 const (
138311- sizeofPtr = 0x8
138312- sizeofShort = 0x2
138313- sizeofInt = 0x4
138314- sizeofLong = 0x8
138315- sizeofLongLong = 0x8
138316- PathMax = 0x1000
138317+ SizeofPtr = 0x8
138318+ SizeofLong = 0x8
138319 )
138320
138321 type (
138322- _C_short int16
138323- _C_int int32
138324- _C_long int64
138325- _C_long_long int64
138326+ _C_long int64
138327 )
138328
138329 type Timespec struct {
138330@@ -33,13 +26,11 @@ type Timeval struct {
138331
138332 type Timex struct {
138333 Modes uint32
138334- Pad_cgo_0 [4]byte
138335 Offset int64
138336 Freq int64
138337 Maxerror int64
138338 Esterror int64
138339 Status int32
138340- Pad_cgo_1 [4]byte
138341 Constant int64
138342 Precision int64
138343 Tolerance int64
138344@@ -48,14 +39,13 @@ type Timex struct {
138345 Ppsfreq int64
138346 Jitter int64
138347 Shift int32
138348- Pad_cgo_2 [4]byte
138349 Stabil int64
138350 Jitcnt int64
138351 Calcnt int64
138352 Errcnt int64
138353 Stbcnt int64
138354 Tai int32
138355- Pad_cgo_3 [44]byte
138356+ _ [44]byte
138357 }
138358
138359 type Time_t int64
138360@@ -91,13 +81,6 @@ type Rusage struct {
138361 Nivcsw int64
138362 }
138363
138364-type Rlimit struct {
138365- Cur uint64
138366- Max uint64
138367-}
138368-
138369-type _Gid_t uint32
138370-
138371 type Stat_t struct {
138372 Dev uint64
138373 Ino uint64
138374@@ -105,7 +88,7 @@ type Stat_t struct {
138375 Mode uint32
138376 Uid uint32
138377 Gid uint32
138378- X__pad2 int32
138379+ _ int32
138380 Rdev uint64
138381 Size int64
138382 Blksize int64
138383@@ -118,139 +101,29 @@ type Stat_t struct {
138384 _ uint64
138385 }
138386
138387-type Statfs_t struct {
138388- Type int64
138389- Bsize int64
138390- Blocks uint64
138391- Bfree uint64
138392- Bavail uint64
138393- Files uint64
138394- Ffree uint64
138395- Fsid Fsid
138396- Namelen int64
138397- Frsize int64
138398- Flags int64
138399- Spare [4]int64
138400-}
138401-
138402 type Dirent struct {
138403- Ino uint64
138404- Off int64
138405- Reclen uint16
138406- Type uint8
138407- Name [256]uint8
138408- Pad_cgo_0 [5]byte
138409-}
138410-
138411-type Fsid struct {
138412- X__val [2]int32
138413+ Ino uint64
138414+ Off int64
138415+ Reclen uint16
138416+ Type uint8
138417+ Name [256]uint8
138418+ _ [5]byte
138419 }
138420
138421 type Flock_t struct {
138422- Type int16
138423- Whence int16
138424- Pad_cgo_0 [4]byte
138425- Start int64
138426- Len int64
138427- Pid int32
138428- Pad_cgo_1 [4]byte
138429-}
138430-
138431-type FscryptPolicy struct {
138432- Version uint8
138433- Contents_encryption_mode uint8
138434- Filenames_encryption_mode uint8
138435- Flags uint8
138436- Master_key_descriptor [8]uint8
138437-}
138438-
138439-type FscryptKey struct {
138440- Mode uint32
138441- Raw [64]uint8
138442- Size uint32
138443-}
138444-
138445-type KeyctlDHParams struct {
138446- Private int32
138447- Prime int32
138448- Base int32
138449+ Type int16
138450+ Whence int16
138451+ Start int64
138452+ Len int64
138453+ Pid int32
138454+ _ [4]byte
138455 }
138456
138457 const (
138458- FADV_NORMAL = 0x0
138459- FADV_RANDOM = 0x1
138460- FADV_SEQUENTIAL = 0x2
138461- FADV_WILLNEED = 0x3
138462- FADV_DONTNEED = 0x4
138463- FADV_NOREUSE = 0x5
138464+ FADV_DONTNEED = 0x4
138465+ FADV_NOREUSE = 0x5
138466 )
138467
138468-type RawSockaddrInet4 struct {
138469- Family uint16
138470- Port uint16
138471- Addr [4]byte /* in_addr */
138472- Zero [8]uint8
138473-}
138474-
138475-type RawSockaddrInet6 struct {
138476- Family uint16
138477- Port uint16
138478- Flowinfo uint32
138479- Addr [16]byte /* in6_addr */
138480- Scope_id uint32
138481-}
138482-
138483-type RawSockaddrUnix struct {
138484- Family uint16
138485- Path [108]int8
138486-}
138487-
138488-type RawSockaddrLinklayer struct {
138489- Family uint16
138490- Protocol uint16
138491- Ifindex int32
138492- Hatype uint16
138493- Pkttype uint8
138494- Halen uint8
138495- Addr [8]uint8
138496-}
138497-
138498-type RawSockaddrNetlink struct {
138499- Family uint16
138500- Pad uint16
138501- Pid uint32
138502- Groups uint32
138503-}
138504-
138505-type RawSockaddrHCI struct {
138506- Family uint16
138507- Dev uint16
138508- Channel uint16
138509-}
138510-
138511-type RawSockaddrCAN struct {
138512- Family uint16
138513- Pad_cgo_0 [2]byte
138514- Ifindex int32
138515- Addr [8]byte
138516-}
138517-
138518-type RawSockaddrALG struct {
138519- Family uint16
138520- Type [14]uint8
138521- Feat uint32
138522- Mask uint32
138523- Name [64]uint8
138524-}
138525-
138526-type RawSockaddrVM struct {
138527- Family uint16
138528- Reserved1 uint16
138529- Port uint32
138530- Cid uint32
138531- Zero [4]uint8
138532-}
138533-
138534 type RawSockaddr struct {
138535 Family uint16
138536 Data [14]uint8
138537@@ -261,51 +134,20 @@ type RawSockaddrAny struct {
138538 Pad [96]uint8
138539 }
138540
138541-type _Socklen uint32
138542-
138543-type Linger struct {
138544- Onoff int32
138545- Linger int32
138546-}
138547-
138548 type Iovec struct {
138549 Base *byte
138550 Len uint64
138551 }
138552
138553-type IPMreq struct {
138554- Multiaddr [4]byte /* in_addr */
138555- Interface [4]byte /* in_addr */
138556-}
138557-
138558-type IPMreqn struct {
138559- Multiaddr [4]byte /* in_addr */
138560- Address [4]byte /* in_addr */
138561- Ifindex int32
138562-}
138563-
138564-type IPv6Mreq struct {
138565- Multiaddr [16]byte /* in6_addr */
138566- Interface uint32
138567-}
138568-
138569-type PacketMreq struct {
138570- Ifindex int32
138571- Type uint16
138572- Alen uint16
138573- Address [8]uint8
138574-}
138575-
138576 type Msghdr struct {
138577 Name *byte
138578 Namelen uint32
138579- Pad_cgo_0 [4]byte
138580 Iov *Iovec
138581 Iovlen uint64
138582 Control *byte
138583 Controllen uint64
138584 Flags int32
138585- Pad_cgo_1 [4]byte
138586+ _ [4]byte
138587 }
138588
138589 type Cmsghdr struct {
138590@@ -314,277 +156,16 @@ type Cmsghdr struct {
138591 Type int32
138592 }
138593
138594-type Inet4Pktinfo struct {
138595- Ifindex int32
138596- Spec_dst [4]byte /* in_addr */
138597- Addr [4]byte /* in_addr */
138598-}
138599-
138600-type Inet6Pktinfo struct {
138601- Addr [16]byte /* in6_addr */
138602- Ifindex uint32
138603-}
138604-
138605-type IPv6MTUInfo struct {
138606- Addr RawSockaddrInet6
138607- Mtu uint32
138608-}
138609-
138610-type ICMPv6Filter struct {
138611- Data [8]uint32
138612-}
138613-
138614-type Ucred struct {
138615- Pid int32
138616- Uid uint32
138617- Gid uint32
138618-}
138619-
138620-type TCPInfo struct {
138621- State uint8
138622- Ca_state uint8
138623- Retransmits uint8
138624- Probes uint8
138625- Backoff uint8
138626- Options uint8
138627- Pad_cgo_0 [2]byte
138628- Rto uint32
138629- Ato uint32
138630- Snd_mss uint32
138631- Rcv_mss uint32
138632- Unacked uint32
138633- Sacked uint32
138634- Lost uint32
138635- Retrans uint32
138636- Fackets uint32
138637- Last_data_sent uint32
138638- Last_ack_sent uint32
138639- Last_data_recv uint32
138640- Last_ack_recv uint32
138641- Pmtu uint32
138642- Rcv_ssthresh uint32
138643- Rtt uint32
138644- Rttvar uint32
138645- Snd_ssthresh uint32
138646- Snd_cwnd uint32
138647- Advmss uint32
138648- Reordering uint32
138649- Rcv_rtt uint32
138650- Rcv_space uint32
138651- Total_retrans uint32
138652-}
138653-
138654 const (
138655- SizeofSockaddrInet4 = 0x10
138656- SizeofSockaddrInet6 = 0x1c
138657- SizeofSockaddrAny = 0x70
138658- SizeofSockaddrUnix = 0x6e
138659- SizeofSockaddrLinklayer = 0x14
138660- SizeofSockaddrNetlink = 0xc
138661- SizeofSockaddrHCI = 0x6
138662- SizeofSockaddrCAN = 0x10
138663- SizeofSockaddrALG = 0x58
138664- SizeofSockaddrVM = 0x10
138665- SizeofLinger = 0x8
138666- SizeofIovec = 0x10
138667- SizeofIPMreq = 0x8
138668- SizeofIPMreqn = 0xc
138669- SizeofIPv6Mreq = 0x14
138670- SizeofPacketMreq = 0x10
138671- SizeofMsghdr = 0x38
138672- SizeofCmsghdr = 0x10
138673- SizeofInet4Pktinfo = 0xc
138674- SizeofInet6Pktinfo = 0x14
138675- SizeofIPv6MTUInfo = 0x20
138676- SizeofICMPv6Filter = 0x20
138677- SizeofUcred = 0xc
138678- SizeofTCPInfo = 0x68
138679+ SizeofIovec = 0x10
138680+ SizeofMsghdr = 0x38
138681+ SizeofCmsghdr = 0x10
138682 )
138683
138684 const (
138685- IFA_UNSPEC = 0x0
138686- IFA_ADDRESS = 0x1
138687- IFA_LOCAL = 0x2
138688- IFA_LABEL = 0x3
138689- IFA_BROADCAST = 0x4
138690- IFA_ANYCAST = 0x5
138691- IFA_CACHEINFO = 0x6
138692- IFA_MULTICAST = 0x7
138693- IFLA_UNSPEC = 0x0
138694- IFLA_ADDRESS = 0x1
138695- IFLA_BROADCAST = 0x2
138696- IFLA_IFNAME = 0x3
138697- IFLA_MTU = 0x4
138698- IFLA_LINK = 0x5
138699- IFLA_QDISC = 0x6
138700- IFLA_STATS = 0x7
138701- IFLA_COST = 0x8
138702- IFLA_PRIORITY = 0x9
138703- IFLA_MASTER = 0xa
138704- IFLA_WIRELESS = 0xb
138705- IFLA_PROTINFO = 0xc
138706- IFLA_TXQLEN = 0xd
138707- IFLA_MAP = 0xe
138708- IFLA_WEIGHT = 0xf
138709- IFLA_OPERSTATE = 0x10
138710- IFLA_LINKMODE = 0x11
138711- IFLA_LINKINFO = 0x12
138712- IFLA_NET_NS_PID = 0x13
138713- IFLA_IFALIAS = 0x14
138714- IFLA_MAX = 0x2b
138715- RT_SCOPE_UNIVERSE = 0x0
138716- RT_SCOPE_SITE = 0xc8
138717- RT_SCOPE_LINK = 0xfd
138718- RT_SCOPE_HOST = 0xfe
138719- RT_SCOPE_NOWHERE = 0xff
138720- RT_TABLE_UNSPEC = 0x0
138721- RT_TABLE_COMPAT = 0xfc
138722- RT_TABLE_DEFAULT = 0xfd
138723- RT_TABLE_MAIN = 0xfe
138724- RT_TABLE_LOCAL = 0xff
138725- RT_TABLE_MAX = 0xffffffff
138726- RTA_UNSPEC = 0x0
138727- RTA_DST = 0x1
138728- RTA_SRC = 0x2
138729- RTA_IIF = 0x3
138730- RTA_OIF = 0x4
138731- RTA_GATEWAY = 0x5
138732- RTA_PRIORITY = 0x6
138733- RTA_PREFSRC = 0x7
138734- RTA_METRICS = 0x8
138735- RTA_MULTIPATH = 0x9
138736- RTA_FLOW = 0xb
138737- RTA_CACHEINFO = 0xc
138738- RTA_TABLE = 0xf
138739- RTN_UNSPEC = 0x0
138740- RTN_UNICAST = 0x1
138741- RTN_LOCAL = 0x2
138742- RTN_BROADCAST = 0x3
138743- RTN_ANYCAST = 0x4
138744- RTN_MULTICAST = 0x5
138745- RTN_BLACKHOLE = 0x6
138746- RTN_UNREACHABLE = 0x7
138747- RTN_PROHIBIT = 0x8
138748- RTN_THROW = 0x9
138749- RTN_NAT = 0xa
138750- RTN_XRESOLVE = 0xb
138751- RTNLGRP_NONE = 0x0
138752- RTNLGRP_LINK = 0x1
138753- RTNLGRP_NOTIFY = 0x2
138754- RTNLGRP_NEIGH = 0x3
138755- RTNLGRP_TC = 0x4
138756- RTNLGRP_IPV4_IFADDR = 0x5
138757- RTNLGRP_IPV4_MROUTE = 0x6
138758- RTNLGRP_IPV4_ROUTE = 0x7
138759- RTNLGRP_IPV4_RULE = 0x8
138760- RTNLGRP_IPV6_IFADDR = 0x9
138761- RTNLGRP_IPV6_MROUTE = 0xa
138762- RTNLGRP_IPV6_ROUTE = 0xb
138763- RTNLGRP_IPV6_IFINFO = 0xc
138764- RTNLGRP_IPV6_PREFIX = 0x12
138765- RTNLGRP_IPV6_RULE = 0x13
138766- RTNLGRP_ND_USEROPT = 0x14
138767- SizeofNlMsghdr = 0x10
138768- SizeofNlMsgerr = 0x14
138769- SizeofRtGenmsg = 0x1
138770- SizeofNlAttr = 0x4
138771- SizeofRtAttr = 0x4
138772- SizeofIfInfomsg = 0x10
138773- SizeofIfAddrmsg = 0x8
138774- SizeofRtMsg = 0xc
138775- SizeofRtNexthop = 0x8
138776+ SizeofSockFprog = 0x10
138777 )
138778
138779-type NlMsghdr struct {
138780- Len uint32
138781- Type uint16
138782- Flags uint16
138783- Seq uint32
138784- Pid uint32
138785-}
138786-
138787-type NlMsgerr struct {
138788- Error int32
138789- Msg NlMsghdr
138790-}
138791-
138792-type RtGenmsg struct {
138793- Family uint8
138794-}
138795-
138796-type NlAttr struct {
138797- Len uint16
138798- Type uint16
138799-}
138800-
138801-type RtAttr struct {
138802- Len uint16
138803- Type uint16
138804-}
138805-
138806-type IfInfomsg struct {
138807- Family uint8
138808- X__ifi_pad uint8
138809- Type uint16
138810- Index int32
138811- Flags uint32
138812- Change uint32
138813-}
138814-
138815-type IfAddrmsg struct {
138816- Family uint8
138817- Prefixlen uint8
138818- Flags uint8
138819- Scope uint8
138820- Index uint32
138821-}
138822-
138823-type RtMsg struct {
138824- Family uint8
138825- Dst_len uint8
138826- Src_len uint8
138827- Tos uint8
138828- Table uint8
138829- Protocol uint8
138830- Scope uint8
138831- Type uint8
138832- Flags uint32
138833-}
138834-
138835-type RtNexthop struct {
138836- Len uint16
138837- Flags uint8
138838- Hops uint8
138839- Ifindex int32
138840-}
138841-
138842-const (
138843- SizeofSockFilter = 0x8
138844- SizeofSockFprog = 0x10
138845-)
138846-
138847-type SockFilter struct {
138848- Code uint16
138849- Jt uint8
138850- Jf uint8
138851- K uint32
138852-}
138853-
138854-type SockFprog struct {
138855- Len uint16
138856- Pad_cgo_0 [6]byte
138857- Filter *SockFilter
138858-}
138859-
138860-type InotifyEvent struct {
138861- Wd int32
138862- Mask uint32
138863- Cookie uint32
138864- Len uint32
138865-}
138866-
138867-const SizeofInotifyEvent = 0x10
138868-
138869 type PtraceRegs struct {
138870 Gpr [32]uint64
138871 Nip uint64
138872@@ -616,71 +197,37 @@ type Sysinfo_t struct {
138873 Freeswap uint64
138874 Procs uint16
138875 Pad uint16
138876- Pad_cgo_0 [4]byte
138877 Totalhigh uint64
138878 Freehigh uint64
138879 Unit uint32
138880- X_f [0]uint8
138881- Pad_cgo_1 [4]byte
138882-}
138883-
138884-type Utsname struct {
138885- Sysname [65]uint8
138886- Nodename [65]uint8
138887- Release [65]uint8
138888- Version [65]uint8
138889- Machine [65]uint8
138890- Domainname [65]uint8
138891+ _ [0]uint8
138892+ _ [4]byte
138893 }
138894
138895 type Ustat_t struct {
138896- Tfree int32
138897- Pad_cgo_0 [4]byte
138898- Tinode uint64
138899- Fname [6]uint8
138900- Fpack [6]uint8
138901- Pad_cgo_1 [4]byte
138902+ Tfree int32
138903+ Tinode uint64
138904+ Fname [6]uint8
138905+ Fpack [6]uint8
138906+ _ [4]byte
138907 }
138908
138909 type EpollEvent struct {
138910- Events uint32
138911- X_padFd int32
138912- Fd int32
138913- Pad int32
138914-}
138915-
138916-const (
138917- AT_FDCWD = -0x64
138918- AT_REMOVEDIR = 0x200
138919- AT_SYMLINK_FOLLOW = 0x400
138920- AT_SYMLINK_NOFOLLOW = 0x100
138921-)
138922-
138923-type PollFd struct {
138924- Fd int32
138925- Events int16
138926- Revents int16
138927+ Events uint32
138928+ _ int32
138929+ Fd int32
138930+ Pad int32
138931 }
138932
138933 const (
138934- POLLIN = 0x1
138935- POLLPRI = 0x2
138936- POLLOUT = 0x4
138937 POLLRDHUP = 0x2000
138938- POLLERR = 0x8
138939- POLLHUP = 0x10
138940- POLLNVAL = 0x20
138941 )
138942
138943 type Sigset_t struct {
138944- X__val [16]uint64
138945+ Val [16]uint64
138946 }
138947
138948-const RNDGETENTCNT = 0x40045200
138949-
138950-const PERF_IOC_FLAG_GROUP = 0x1
138951-
138952-const _SC_PAGESIZE = 0x1e
138953+const _C__NSIG = 0x41
138954
138955 type Termios struct {
138956 Iflag uint32
138957@@ -693,20 +240,11 @@ type Termios struct {
138958 Ospeed uint32
138959 }
138960
138961-type Winsize struct {
138962- Row uint16
138963- Col uint16
138964- Xpixel uint16
138965- Ypixel uint16
138966-}
138967-
138968 type Taskstats struct {
138969 Version uint16
138970- Pad_cgo_0 [2]byte
138971 Ac_exitcode uint32
138972 Ac_flag uint8
138973 Ac_nice uint8
138974- Pad_cgo_1 [6]byte
138975 Cpu_count uint64
138976 Cpu_delay_total uint64
138977 Blkio_count uint64
138978@@ -718,13 +256,12 @@ type Taskstats struct {
138979 Ac_comm [32]uint8
138980 Ac_sched uint8
138981 Ac_pad [3]uint8
138982- Pad_cgo_2 [4]byte
138983+ _ [4]byte
138984 Ac_uid uint32
138985 Ac_gid uint32
138986 Ac_pid uint32
138987 Ac_ppid uint32
138988 Ac_btime uint32
138989- Pad_cgo_3 [4]byte
138990 Ac_etime uint64
138991 Ac_utime uint64
138992 Ac_stime uint64
138993@@ -748,55 +285,319 @@ type Taskstats struct {
138994 Cpu_scaled_run_real_total uint64
138995 Freepages_count uint64
138996 Freepages_delay_total uint64
138997+ Thrashing_count uint64
138998+ Thrashing_delay_total uint64
138999+ Ac_btime64 uint64
139000 }
139001
139002+type cpuMask uint64
139003+
139004 const (
139005- TASKSTATS_CMD_UNSPEC = 0x0
139006- TASKSTATS_CMD_GET = 0x1
139007- TASKSTATS_CMD_NEW = 0x2
139008- TASKSTATS_TYPE_UNSPEC = 0x0
139009- TASKSTATS_TYPE_PID = 0x1
139010- TASKSTATS_TYPE_TGID = 0x2
139011- TASKSTATS_TYPE_STATS = 0x3
139012- TASKSTATS_TYPE_AGGR_PID = 0x4
139013- TASKSTATS_TYPE_AGGR_TGID = 0x5
139014- TASKSTATS_TYPE_NULL = 0x6
139015- TASKSTATS_CMD_ATTR_UNSPEC = 0x0
139016- TASKSTATS_CMD_ATTR_PID = 0x1
139017- TASKSTATS_CMD_ATTR_TGID = 0x2
139018- TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 0x3
139019- TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4
139020+ _NCPUBITS = 0x40
139021 )
139022
139023-type Genlmsghdr struct {
139024- Cmd uint8
139025- Version uint8
139026- Reserved uint16
139027+const (
139028+ CBitFieldMaskBit0 = 0x8000000000000000
139029+ CBitFieldMaskBit1 = 0x4000000000000000
139030+ CBitFieldMaskBit2 = 0x2000000000000000
139031+ CBitFieldMaskBit3 = 0x1000000000000000
139032+ CBitFieldMaskBit4 = 0x800000000000000
139033+ CBitFieldMaskBit5 = 0x400000000000000
139034+ CBitFieldMaskBit6 = 0x200000000000000
139035+ CBitFieldMaskBit7 = 0x100000000000000
139036+ CBitFieldMaskBit8 = 0x80000000000000
139037+ CBitFieldMaskBit9 = 0x40000000000000
139038+ CBitFieldMaskBit10 = 0x20000000000000
139039+ CBitFieldMaskBit11 = 0x10000000000000
139040+ CBitFieldMaskBit12 = 0x8000000000000
139041+ CBitFieldMaskBit13 = 0x4000000000000
139042+ CBitFieldMaskBit14 = 0x2000000000000
139043+ CBitFieldMaskBit15 = 0x1000000000000
139044+ CBitFieldMaskBit16 = 0x800000000000
139045+ CBitFieldMaskBit17 = 0x400000000000
139046+ CBitFieldMaskBit18 = 0x200000000000
139047+ CBitFieldMaskBit19 = 0x100000000000
139048+ CBitFieldMaskBit20 = 0x80000000000
139049+ CBitFieldMaskBit21 = 0x40000000000
139050+ CBitFieldMaskBit22 = 0x20000000000
139051+ CBitFieldMaskBit23 = 0x10000000000
139052+ CBitFieldMaskBit24 = 0x8000000000
139053+ CBitFieldMaskBit25 = 0x4000000000
139054+ CBitFieldMaskBit26 = 0x2000000000
139055+ CBitFieldMaskBit27 = 0x1000000000
139056+ CBitFieldMaskBit28 = 0x800000000
139057+ CBitFieldMaskBit29 = 0x400000000
139058+ CBitFieldMaskBit30 = 0x200000000
139059+ CBitFieldMaskBit31 = 0x100000000
139060+ CBitFieldMaskBit32 = 0x80000000
139061+ CBitFieldMaskBit33 = 0x40000000
139062+ CBitFieldMaskBit34 = 0x20000000
139063+ CBitFieldMaskBit35 = 0x10000000
139064+ CBitFieldMaskBit36 = 0x8000000
139065+ CBitFieldMaskBit37 = 0x4000000
139066+ CBitFieldMaskBit38 = 0x2000000
139067+ CBitFieldMaskBit39 = 0x1000000
139068+ CBitFieldMaskBit40 = 0x800000
139069+ CBitFieldMaskBit41 = 0x400000
139070+ CBitFieldMaskBit42 = 0x200000
139071+ CBitFieldMaskBit43 = 0x100000
139072+ CBitFieldMaskBit44 = 0x80000
139073+ CBitFieldMaskBit45 = 0x40000
139074+ CBitFieldMaskBit46 = 0x20000
139075+ CBitFieldMaskBit47 = 0x10000
139076+ CBitFieldMaskBit48 = 0x8000
139077+ CBitFieldMaskBit49 = 0x4000
139078+ CBitFieldMaskBit50 = 0x2000
139079+ CBitFieldMaskBit51 = 0x1000
139080+ CBitFieldMaskBit52 = 0x800
139081+ CBitFieldMaskBit53 = 0x400
139082+ CBitFieldMaskBit54 = 0x200
139083+ CBitFieldMaskBit55 = 0x100
139084+ CBitFieldMaskBit56 = 0x80
139085+ CBitFieldMaskBit57 = 0x40
139086+ CBitFieldMaskBit58 = 0x20
139087+ CBitFieldMaskBit59 = 0x10
139088+ CBitFieldMaskBit60 = 0x8
139089+ CBitFieldMaskBit61 = 0x4
139090+ CBitFieldMaskBit62 = 0x2
139091+ CBitFieldMaskBit63 = 0x1
139092+)
139093+
139094+type SockaddrStorage struct {
139095+ Family uint16
139096+ _ [118]uint8
139097+ _ uint64
139098+}
139099+
139100+type HDGeometry struct {
139101+ Heads uint8
139102+ Sectors uint8
139103+ Cylinders uint16
139104+ Start uint64
139105+}
139106+
139107+type Statfs_t struct {
139108+ Type int64
139109+ Bsize int64
139110+ Blocks uint64
139111+ Bfree uint64
139112+ Bavail uint64
139113+ Files uint64
139114+ Ffree uint64
139115+ Fsid Fsid
139116+ Namelen int64
139117+ Frsize int64
139118+ Flags int64
139119+ Spare [4]int64
139120+}
139121+
139122+type TpacketHdr struct {
139123+ Status uint64
139124+ Len uint32
139125+ Snaplen uint32
139126+ Mac uint16
139127+ Net uint16
139128+ Sec uint32
139129+ Usec uint32
139130+ _ [4]byte
139131 }
139132
139133 const (
139134- CTRL_CMD_UNSPEC = 0x0
139135- CTRL_CMD_NEWFAMILY = 0x1
139136- CTRL_CMD_DELFAMILY = 0x2
139137- CTRL_CMD_GETFAMILY = 0x3
139138- CTRL_CMD_NEWOPS = 0x4
139139- CTRL_CMD_DELOPS = 0x5
139140- CTRL_CMD_GETOPS = 0x6
139141- CTRL_CMD_NEWMCAST_GRP = 0x7
139142- CTRL_CMD_DELMCAST_GRP = 0x8
139143- CTRL_CMD_GETMCAST_GRP = 0x9
139144- CTRL_ATTR_UNSPEC = 0x0
139145- CTRL_ATTR_FAMILY_ID = 0x1
139146- CTRL_ATTR_FAMILY_NAME = 0x2
139147- CTRL_ATTR_VERSION = 0x3
139148- CTRL_ATTR_HDRSIZE = 0x4
139149- CTRL_ATTR_MAXATTR = 0x5
139150- CTRL_ATTR_OPS = 0x6
139151- CTRL_ATTR_MCAST_GROUPS = 0x7
139152- CTRL_ATTR_OP_UNSPEC = 0x0
139153- CTRL_ATTR_OP_ID = 0x1
139154- CTRL_ATTR_OP_FLAGS = 0x2
139155- CTRL_ATTR_MCAST_GRP_UNSPEC = 0x0
139156- CTRL_ATTR_MCAST_GRP_NAME = 0x1
139157- CTRL_ATTR_MCAST_GRP_ID = 0x2
139158+ SizeofTpacketHdr = 0x20
139159 )
139160+
139161+type RTCPLLInfo struct {
139162+ Ctrl int32
139163+ Value int32
139164+ Max int32
139165+ Min int32
139166+ Posmult int32
139167+ Negmult int32
139168+ Clock int64
139169+}
139170+
139171+type BlkpgPartition struct {
139172+ Start int64
139173+ Length int64
139174+ Pno int32
139175+ Devname [64]uint8
139176+ Volname [64]uint8
139177+ _ [4]byte
139178+}
139179+
139180+const (
139181+ BLKPG = 0x20001269
139182+)
139183+
139184+type XDPUmemReg struct {
139185+ Addr uint64
139186+ Len uint64
139187+ Size uint32
139188+ Headroom uint32
139189+ Flags uint32
139190+ _ [4]byte
139191+}
139192+
139193+type CryptoUserAlg struct {
139194+ Name [64]uint8
139195+ Driver_name [64]uint8
139196+ Module_name [64]uint8
139197+ Type uint32
139198+ Mask uint32
139199+ Refcnt uint32
139200+ Flags uint32
139201+}
139202+
139203+type CryptoStatAEAD struct {
139204+ Type [64]uint8
139205+ Encrypt_cnt uint64
139206+ Encrypt_tlen uint64
139207+ Decrypt_cnt uint64
139208+ Decrypt_tlen uint64
139209+ Err_cnt uint64
139210+}
139211+
139212+type CryptoStatAKCipher struct {
139213+ Type [64]uint8
139214+ Encrypt_cnt uint64
139215+ Encrypt_tlen uint64
139216+ Decrypt_cnt uint64
139217+ Decrypt_tlen uint64
139218+ Verify_cnt uint64
139219+ Sign_cnt uint64
139220+ Err_cnt uint64
139221+}
139222+
139223+type CryptoStatCipher struct {
139224+ Type [64]uint8
139225+ Encrypt_cnt uint64
139226+ Encrypt_tlen uint64
139227+ Decrypt_cnt uint64
139228+ Decrypt_tlen uint64
139229+ Err_cnt uint64
139230+}
139231+
139232+type CryptoStatCompress struct {
139233+ Type [64]uint8
139234+ Compress_cnt uint64
139235+ Compress_tlen uint64
139236+ Decompress_cnt uint64
139237+ Decompress_tlen uint64
139238+ Err_cnt uint64
139239+}
139240+
139241+type CryptoStatHash struct {
139242+ Type [64]uint8
139243+ Hash_cnt uint64
139244+ Hash_tlen uint64
139245+ Err_cnt uint64
139246+}
139247+
139248+type CryptoStatKPP struct {
139249+ Type [64]uint8
139250+ Setsecret_cnt uint64
139251+ Generate_public_key_cnt uint64
139252+ Compute_shared_secret_cnt uint64
139253+ Err_cnt uint64
139254+}
139255+
139256+type CryptoStatRNG struct {
139257+ Type [64]uint8
139258+ Generate_cnt uint64
139259+ Generate_tlen uint64
139260+ Seed_cnt uint64
139261+ Err_cnt uint64
139262+}
139263+
139264+type CryptoStatLarval struct {
139265+ Type [64]uint8
139266+}
139267+
139268+type CryptoReportLarval struct {
139269+ Type [64]uint8
139270+}
139271+
139272+type CryptoReportHash struct {
139273+ Type [64]uint8
139274+ Blocksize uint32
139275+ Digestsize uint32
139276+}
139277+
139278+type CryptoReportCipher struct {
139279+ Type [64]uint8
139280+ Blocksize uint32
139281+ Min_keysize uint32
139282+ Max_keysize uint32
139283+}
139284+
139285+type CryptoReportBlkCipher struct {
139286+ Type [64]uint8
139287+ Geniv [64]uint8
139288+ Blocksize uint32
139289+ Min_keysize uint32
139290+ Max_keysize uint32
139291+ Ivsize uint32
139292+}
139293+
139294+type CryptoReportAEAD struct {
139295+ Type [64]uint8
139296+ Geniv [64]uint8
139297+ Blocksize uint32
139298+ Maxauthsize uint32
139299+ Ivsize uint32
139300+}
139301+
139302+type CryptoReportComp struct {
139303+ Type [64]uint8
139304+}
139305+
139306+type CryptoReportRNG struct {
139307+ Type [64]uint8
139308+ Seedsize uint32
139309+}
139310+
139311+type CryptoReportAKCipher struct {
139312+ Type [64]uint8
139313+}
139314+
139315+type CryptoReportKPP struct {
139316+ Type [64]uint8
139317+}
139318+
139319+type CryptoReportAcomp struct {
139320+ Type [64]uint8
139321+}
139322+
139323+type LoopInfo struct {
139324+ Number int32
139325+ Device uint64
139326+ Inode uint64
139327+ Rdevice uint64
139328+ Offset int32
139329+ Encrypt_type int32
139330+ Encrypt_key_size int32
139331+ Flags int32
139332+ Name [64]uint8
139333+ Encrypt_key [32]uint8
139334+ Init [2]uint64
139335+ Reserved [4]uint8
139336+ _ [4]byte
139337+}
139338+
139339+type TIPCSubscr struct {
139340+ Seq TIPCServiceRange
139341+ Timeout uint32
139342+ Filter uint32
139343+ Handle [8]uint8
139344+}
139345+
139346+type TIPCSIOCLNReq struct {
139347+ Peer uint32
139348+ Id uint32
139349+ Linkname [68]uint8
139350+}
139351+
139352+type TIPCSIOCNodeIDReq struct {
139353+ Peer uint32
139354+ Id [16]uint8
139355+}
139356diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go b/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go
139357index b2b59992..046c2deb 100644
139358--- a/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go
139359+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go
139360@@ -6,19 +6,12 @@
139361 package unix
139362
139363 const (
139364- sizeofPtr = 0x8
139365- sizeofShort = 0x2
139366- sizeofInt = 0x4
139367- sizeofLong = 0x8
139368- sizeofLongLong = 0x8
139369- PathMax = 0x1000
139370+ SizeofPtr = 0x8
139371+ SizeofLong = 0x8
139372 )
139373
139374 type (
139375- _C_short int16
139376- _C_int int32
139377- _C_long int64
139378- _C_long_long int64
139379+ _C_long int64
139380 )
139381
139382 type Timespec struct {
139383@@ -33,13 +26,11 @@ type Timeval struct {
139384
139385 type Timex struct {
139386 Modes uint32
139387- Pad_cgo_0 [4]byte
139388 Offset int64
139389 Freq int64
139390 Maxerror int64
139391 Esterror int64
139392 Status int32
139393- Pad_cgo_1 [4]byte
139394 Constant int64
139395 Precision int64
139396 Tolerance int64
139397@@ -48,14 +39,13 @@ type Timex struct {
139398 Ppsfreq int64
139399 Jitter int64
139400 Shift int32
139401- Pad_cgo_2 [4]byte
139402 Stabil int64
139403 Jitcnt int64
139404 Calcnt int64
139405 Errcnt int64
139406 Stbcnt int64
139407 Tai int32
139408- Pad_cgo_3 [44]byte
139409+ _ [44]byte
139410 }
139411
139412 type Time_t int64
139413@@ -91,13 +81,6 @@ type Rusage struct {
139414 Nivcsw int64
139415 }
139416
139417-type Rlimit struct {
139418- Cur uint64
139419- Max uint64
139420-}
139421-
139422-type _Gid_t uint32
139423-
139424 type Stat_t struct {
139425 Dev uint64
139426 Ino uint64
139427@@ -105,7 +88,7 @@ type Stat_t struct {
139428 Mode uint32
139429 Uid uint32
139430 Gid uint32
139431- X__pad2 int32
139432+ _ int32
139433 Rdev uint64
139434 Size int64
139435 Blksize int64
139436@@ -118,139 +101,29 @@ type Stat_t struct {
139437 _ uint64
139438 }
139439
139440-type Statfs_t struct {
139441- Type int64
139442- Bsize int64
139443- Blocks uint64
139444- Bfree uint64
139445- Bavail uint64
139446- Files uint64
139447- Ffree uint64
139448- Fsid Fsid
139449- Namelen int64
139450- Frsize int64
139451- Flags int64
139452- Spare [4]int64
139453-}
139454-
139455 type Dirent struct {
139456- Ino uint64
139457- Off int64
139458- Reclen uint16
139459- Type uint8
139460- Name [256]uint8
139461- Pad_cgo_0 [5]byte
139462-}
139463-
139464-type Fsid struct {
139465- X__val [2]int32
139466+ Ino uint64
139467+ Off int64
139468+ Reclen uint16
139469+ Type uint8
139470+ Name [256]uint8
139471+ _ [5]byte
139472 }
139473
139474 type Flock_t struct {
139475- Type int16
139476- Whence int16
139477- Pad_cgo_0 [4]byte
139478- Start int64
139479- Len int64
139480- Pid int32
139481- Pad_cgo_1 [4]byte
139482-}
139483-
139484-type FscryptPolicy struct {
139485- Version uint8
139486- Contents_encryption_mode uint8
139487- Filenames_encryption_mode uint8
139488- Flags uint8
139489- Master_key_descriptor [8]uint8
139490-}
139491-
139492-type FscryptKey struct {
139493- Mode uint32
139494- Raw [64]uint8
139495- Size uint32
139496-}
139497-
139498-type KeyctlDHParams struct {
139499- Private int32
139500- Prime int32
139501- Base int32
139502+ Type int16
139503+ Whence int16
139504+ Start int64
139505+ Len int64
139506+ Pid int32
139507+ _ [4]byte
139508 }
139509
139510 const (
139511- FADV_NORMAL = 0x0
139512- FADV_RANDOM = 0x1
139513- FADV_SEQUENTIAL = 0x2
139514- FADV_WILLNEED = 0x3
139515- FADV_DONTNEED = 0x4
139516- FADV_NOREUSE = 0x5
139517+ FADV_DONTNEED = 0x4
139518+ FADV_NOREUSE = 0x5
139519 )
139520
139521-type RawSockaddrInet4 struct {
139522- Family uint16
139523- Port uint16
139524- Addr [4]byte /* in_addr */
139525- Zero [8]uint8
139526-}
139527-
139528-type RawSockaddrInet6 struct {
139529- Family uint16
139530- Port uint16
139531- Flowinfo uint32
139532- Addr [16]byte /* in6_addr */
139533- Scope_id uint32
139534-}
139535-
139536-type RawSockaddrUnix struct {
139537- Family uint16
139538- Path [108]int8
139539-}
139540-
139541-type RawSockaddrLinklayer struct {
139542- Family uint16
139543- Protocol uint16
139544- Ifindex int32
139545- Hatype uint16
139546- Pkttype uint8
139547- Halen uint8
139548- Addr [8]uint8
139549-}
139550-
139551-type RawSockaddrNetlink struct {
139552- Family uint16
139553- Pad uint16
139554- Pid uint32
139555- Groups uint32
139556-}
139557-
139558-type RawSockaddrHCI struct {
139559- Family uint16
139560- Dev uint16
139561- Channel uint16
139562-}
139563-
139564-type RawSockaddrCAN struct {
139565- Family uint16
139566- Pad_cgo_0 [2]byte
139567- Ifindex int32
139568- Addr [8]byte
139569-}
139570-
139571-type RawSockaddrALG struct {
139572- Family uint16
139573- Type [14]uint8
139574- Feat uint32
139575- Mask uint32
139576- Name [64]uint8
139577-}
139578-
139579-type RawSockaddrVM struct {
139580- Family uint16
139581- Reserved1 uint16
139582- Port uint32
139583- Cid uint32
139584- Zero [4]uint8
139585-}
139586-
139587 type RawSockaddr struct {
139588 Family uint16
139589 Data [14]uint8
139590@@ -261,51 +134,20 @@ type RawSockaddrAny struct {
139591 Pad [96]uint8
139592 }
139593
139594-type _Socklen uint32
139595-
139596-type Linger struct {
139597- Onoff int32
139598- Linger int32
139599-}
139600-
139601 type Iovec struct {
139602 Base *byte
139603 Len uint64
139604 }
139605
139606-type IPMreq struct {
139607- Multiaddr [4]byte /* in_addr */
139608- Interface [4]byte /* in_addr */
139609-}
139610-
139611-type IPMreqn struct {
139612- Multiaddr [4]byte /* in_addr */
139613- Address [4]byte /* in_addr */
139614- Ifindex int32
139615-}
139616-
139617-type IPv6Mreq struct {
139618- Multiaddr [16]byte /* in6_addr */
139619- Interface uint32
139620-}
139621-
139622-type PacketMreq struct {
139623- Ifindex int32
139624- Type uint16
139625- Alen uint16
139626- Address [8]uint8
139627-}
139628-
139629 type Msghdr struct {
139630 Name *byte
139631 Namelen uint32
139632- Pad_cgo_0 [4]byte
139633 Iov *Iovec
139634 Iovlen uint64
139635 Control *byte
139636 Controllen uint64
139637 Flags int32
139638- Pad_cgo_1 [4]byte
139639+ _ [4]byte
139640 }
139641
139642 type Cmsghdr struct {
139643@@ -314,277 +156,16 @@ type Cmsghdr struct {
139644 Type int32
139645 }
139646
139647-type Inet4Pktinfo struct {
139648- Ifindex int32
139649- Spec_dst [4]byte /* in_addr */
139650- Addr [4]byte /* in_addr */
139651-}
139652-
139653-type Inet6Pktinfo struct {
139654- Addr [16]byte /* in6_addr */
139655- Ifindex uint32
139656-}
139657-
139658-type IPv6MTUInfo struct {
139659- Addr RawSockaddrInet6
139660- Mtu uint32
139661-}
139662-
139663-type ICMPv6Filter struct {
139664- Data [8]uint32
139665-}
139666-
139667-type Ucred struct {
139668- Pid int32
139669- Uid uint32
139670- Gid uint32
139671-}
139672-
139673-type TCPInfo struct {
139674- State uint8
139675- Ca_state uint8
139676- Retransmits uint8
139677- Probes uint8
139678- Backoff uint8
139679- Options uint8
139680- Pad_cgo_0 [2]byte
139681- Rto uint32
139682- Ato uint32
139683- Snd_mss uint32
139684- Rcv_mss uint32
139685- Unacked uint32
139686- Sacked uint32
139687- Lost uint32
139688- Retrans uint32
139689- Fackets uint32
139690- Last_data_sent uint32
139691- Last_ack_sent uint32
139692- Last_data_recv uint32
139693- Last_ack_recv uint32
139694- Pmtu uint32
139695- Rcv_ssthresh uint32
139696- Rtt uint32
139697- Rttvar uint32
139698- Snd_ssthresh uint32
139699- Snd_cwnd uint32
139700- Advmss uint32
139701- Reordering uint32
139702- Rcv_rtt uint32
139703- Rcv_space uint32
139704- Total_retrans uint32
139705-}
139706-
139707 const (
139708- SizeofSockaddrInet4 = 0x10
139709- SizeofSockaddrInet6 = 0x1c
139710- SizeofSockaddrAny = 0x70
139711- SizeofSockaddrUnix = 0x6e
139712- SizeofSockaddrLinklayer = 0x14
139713- SizeofSockaddrNetlink = 0xc
139714- SizeofSockaddrHCI = 0x6
139715- SizeofSockaddrCAN = 0x10
139716- SizeofSockaddrALG = 0x58
139717- SizeofSockaddrVM = 0x10
139718- SizeofLinger = 0x8
139719- SizeofIovec = 0x10
139720- SizeofIPMreq = 0x8
139721- SizeofIPMreqn = 0xc
139722- SizeofIPv6Mreq = 0x14
139723- SizeofPacketMreq = 0x10
139724- SizeofMsghdr = 0x38
139725- SizeofCmsghdr = 0x10
139726- SizeofInet4Pktinfo = 0xc
139727- SizeofInet6Pktinfo = 0x14
139728- SizeofIPv6MTUInfo = 0x20
139729- SizeofICMPv6Filter = 0x20
139730- SizeofUcred = 0xc
139731- SizeofTCPInfo = 0x68
139732+ SizeofIovec = 0x10
139733+ SizeofMsghdr = 0x38
139734+ SizeofCmsghdr = 0x10
139735 )
139736
139737 const (
139738- IFA_UNSPEC = 0x0
139739- IFA_ADDRESS = 0x1
139740- IFA_LOCAL = 0x2
139741- IFA_LABEL = 0x3
139742- IFA_BROADCAST = 0x4
139743- IFA_ANYCAST = 0x5
139744- IFA_CACHEINFO = 0x6
139745- IFA_MULTICAST = 0x7
139746- IFLA_UNSPEC = 0x0
139747- IFLA_ADDRESS = 0x1
139748- IFLA_BROADCAST = 0x2
139749- IFLA_IFNAME = 0x3
139750- IFLA_MTU = 0x4
139751- IFLA_LINK = 0x5
139752- IFLA_QDISC = 0x6
139753- IFLA_STATS = 0x7
139754- IFLA_COST = 0x8
139755- IFLA_PRIORITY = 0x9
139756- IFLA_MASTER = 0xa
139757- IFLA_WIRELESS = 0xb
139758- IFLA_PROTINFO = 0xc
139759- IFLA_TXQLEN = 0xd
139760- IFLA_MAP = 0xe
139761- IFLA_WEIGHT = 0xf
139762- IFLA_OPERSTATE = 0x10
139763- IFLA_LINKMODE = 0x11
139764- IFLA_LINKINFO = 0x12
139765- IFLA_NET_NS_PID = 0x13
139766- IFLA_IFALIAS = 0x14
139767- IFLA_MAX = 0x2b
139768- RT_SCOPE_UNIVERSE = 0x0
139769- RT_SCOPE_SITE = 0xc8
139770- RT_SCOPE_LINK = 0xfd
139771- RT_SCOPE_HOST = 0xfe
139772- RT_SCOPE_NOWHERE = 0xff
139773- RT_TABLE_UNSPEC = 0x0
139774- RT_TABLE_COMPAT = 0xfc
139775- RT_TABLE_DEFAULT = 0xfd
139776- RT_TABLE_MAIN = 0xfe
139777- RT_TABLE_LOCAL = 0xff
139778- RT_TABLE_MAX = 0xffffffff
139779- RTA_UNSPEC = 0x0
139780- RTA_DST = 0x1
139781- RTA_SRC = 0x2
139782- RTA_IIF = 0x3
139783- RTA_OIF = 0x4
139784- RTA_GATEWAY = 0x5
139785- RTA_PRIORITY = 0x6
139786- RTA_PREFSRC = 0x7
139787- RTA_METRICS = 0x8
139788- RTA_MULTIPATH = 0x9
139789- RTA_FLOW = 0xb
139790- RTA_CACHEINFO = 0xc
139791- RTA_TABLE = 0xf
139792- RTN_UNSPEC = 0x0
139793- RTN_UNICAST = 0x1
139794- RTN_LOCAL = 0x2
139795- RTN_BROADCAST = 0x3
139796- RTN_ANYCAST = 0x4
139797- RTN_MULTICAST = 0x5
139798- RTN_BLACKHOLE = 0x6
139799- RTN_UNREACHABLE = 0x7
139800- RTN_PROHIBIT = 0x8
139801- RTN_THROW = 0x9
139802- RTN_NAT = 0xa
139803- RTN_XRESOLVE = 0xb
139804- RTNLGRP_NONE = 0x0
139805- RTNLGRP_LINK = 0x1
139806- RTNLGRP_NOTIFY = 0x2
139807- RTNLGRP_NEIGH = 0x3
139808- RTNLGRP_TC = 0x4
139809- RTNLGRP_IPV4_IFADDR = 0x5
139810- RTNLGRP_IPV4_MROUTE = 0x6
139811- RTNLGRP_IPV4_ROUTE = 0x7
139812- RTNLGRP_IPV4_RULE = 0x8
139813- RTNLGRP_IPV6_IFADDR = 0x9
139814- RTNLGRP_IPV6_MROUTE = 0xa
139815- RTNLGRP_IPV6_ROUTE = 0xb
139816- RTNLGRP_IPV6_IFINFO = 0xc
139817- RTNLGRP_IPV6_PREFIX = 0x12
139818- RTNLGRP_IPV6_RULE = 0x13
139819- RTNLGRP_ND_USEROPT = 0x14
139820- SizeofNlMsghdr = 0x10
139821- SizeofNlMsgerr = 0x14
139822- SizeofRtGenmsg = 0x1
139823- SizeofNlAttr = 0x4
139824- SizeofRtAttr = 0x4
139825- SizeofIfInfomsg = 0x10
139826- SizeofIfAddrmsg = 0x8
139827- SizeofRtMsg = 0xc
139828- SizeofRtNexthop = 0x8
139829+ SizeofSockFprog = 0x10
139830 )
139831
139832-type NlMsghdr struct {
139833- Len uint32
139834- Type uint16
139835- Flags uint16
139836- Seq uint32
139837- Pid uint32
139838-}
139839-
139840-type NlMsgerr struct {
139841- Error int32
139842- Msg NlMsghdr
139843-}
139844-
139845-type RtGenmsg struct {
139846- Family uint8
139847-}
139848-
139849-type NlAttr struct {
139850- Len uint16
139851- Type uint16
139852-}
139853-
139854-type RtAttr struct {
139855- Len uint16
139856- Type uint16
139857-}
139858-
139859-type IfInfomsg struct {
139860- Family uint8
139861- X__ifi_pad uint8
139862- Type uint16
139863- Index int32
139864- Flags uint32
139865- Change uint32
139866-}
139867-
139868-type IfAddrmsg struct {
139869- Family uint8
139870- Prefixlen uint8
139871- Flags uint8
139872- Scope uint8
139873- Index uint32
139874-}
139875-
139876-type RtMsg struct {
139877- Family uint8
139878- Dst_len uint8
139879- Src_len uint8
139880- Tos uint8
139881- Table uint8
139882- Protocol uint8
139883- Scope uint8
139884- Type uint8
139885- Flags uint32
139886-}
139887-
139888-type RtNexthop struct {
139889- Len uint16
139890- Flags uint8
139891- Hops uint8
139892- Ifindex int32
139893-}
139894-
139895-const (
139896- SizeofSockFilter = 0x8
139897- SizeofSockFprog = 0x10
139898-)
139899-
139900-type SockFilter struct {
139901- Code uint16
139902- Jt uint8
139903- Jf uint8
139904- K uint32
139905-}
139906-
139907-type SockFprog struct {
139908- Len uint16
139909- Pad_cgo_0 [6]byte
139910- Filter *SockFilter
139911-}
139912-
139913-type InotifyEvent struct {
139914- Wd int32
139915- Mask uint32
139916- Cookie uint32
139917- Len uint32
139918-}
139919-
139920-const SizeofInotifyEvent = 0x10
139921-
139922 type PtraceRegs struct {
139923 Gpr [32]uint64
139924 Nip uint64
139925@@ -616,71 +197,37 @@ type Sysinfo_t struct {
139926 Freeswap uint64
139927 Procs uint16
139928 Pad uint16
139929- Pad_cgo_0 [4]byte
139930 Totalhigh uint64
139931 Freehigh uint64
139932 Unit uint32
139933- X_f [0]uint8
139934- Pad_cgo_1 [4]byte
139935-}
139936-
139937-type Utsname struct {
139938- Sysname [65]uint8
139939- Nodename [65]uint8
139940- Release [65]uint8
139941- Version [65]uint8
139942- Machine [65]uint8
139943- Domainname [65]uint8
139944+ _ [0]uint8
139945+ _ [4]byte
139946 }
139947
139948 type Ustat_t struct {
139949- Tfree int32
139950- Pad_cgo_0 [4]byte
139951- Tinode uint64
139952- Fname [6]uint8
139953- Fpack [6]uint8
139954- Pad_cgo_1 [4]byte
139955+ Tfree int32
139956+ Tinode uint64
139957+ Fname [6]uint8
139958+ Fpack [6]uint8
139959+ _ [4]byte
139960 }
139961
139962 type EpollEvent struct {
139963- Events uint32
139964- X_padFd int32
139965- Fd int32
139966- Pad int32
139967-}
139968-
139969-const (
139970- AT_FDCWD = -0x64
139971- AT_REMOVEDIR = 0x200
139972- AT_SYMLINK_FOLLOW = 0x400
139973- AT_SYMLINK_NOFOLLOW = 0x100
139974-)
139975-
139976-type PollFd struct {
139977- Fd int32
139978- Events int16
139979- Revents int16
139980+ Events uint32
139981+ _ int32
139982+ Fd int32
139983+ Pad int32
139984 }
139985
139986 const (
139987- POLLIN = 0x1
139988- POLLPRI = 0x2
139989- POLLOUT = 0x4
139990 POLLRDHUP = 0x2000
139991- POLLERR = 0x8
139992- POLLHUP = 0x10
139993- POLLNVAL = 0x20
139994 )
139995
139996 type Sigset_t struct {
139997- X__val [16]uint64
139998+ Val [16]uint64
139999 }
140000
140001-const RNDGETENTCNT = 0x40045200
140002-
140003-const PERF_IOC_FLAG_GROUP = 0x1
140004-
140005-const _SC_PAGESIZE = 0x1e
140006+const _C__NSIG = 0x41
140007
140008 type Termios struct {
140009 Iflag uint32
140010@@ -693,20 +240,11 @@ type Termios struct {
140011 Ospeed uint32
140012 }
140013
140014-type Winsize struct {
140015- Row uint16
140016- Col uint16
140017- Xpixel uint16
140018- Ypixel uint16
140019-}
140020-
140021 type Taskstats struct {
140022 Version uint16
140023- Pad_cgo_0 [2]byte
140024 Ac_exitcode uint32
140025 Ac_flag uint8
140026 Ac_nice uint8
140027- Pad_cgo_1 [6]byte
140028 Cpu_count uint64
140029 Cpu_delay_total uint64
140030 Blkio_count uint64
140031@@ -718,13 +256,12 @@ type Taskstats struct {
140032 Ac_comm [32]uint8
140033 Ac_sched uint8
140034 Ac_pad [3]uint8
140035- Pad_cgo_2 [4]byte
140036+ _ [4]byte
140037 Ac_uid uint32
140038 Ac_gid uint32
140039 Ac_pid uint32
140040 Ac_ppid uint32
140041 Ac_btime uint32
140042- Pad_cgo_3 [4]byte
140043 Ac_etime uint64
140044 Ac_utime uint64
140045 Ac_stime uint64
140046@@ -748,55 +285,319 @@ type Taskstats struct {
140047 Cpu_scaled_run_real_total uint64
140048 Freepages_count uint64
140049 Freepages_delay_total uint64
140050+ Thrashing_count uint64
140051+ Thrashing_delay_total uint64
140052+ Ac_btime64 uint64
140053 }
140054
140055+type cpuMask uint64
140056+
140057 const (
140058- TASKSTATS_CMD_UNSPEC = 0x0
140059- TASKSTATS_CMD_GET = 0x1
140060- TASKSTATS_CMD_NEW = 0x2
140061- TASKSTATS_TYPE_UNSPEC = 0x0
140062- TASKSTATS_TYPE_PID = 0x1
140063- TASKSTATS_TYPE_TGID = 0x2
140064- TASKSTATS_TYPE_STATS = 0x3
140065- TASKSTATS_TYPE_AGGR_PID = 0x4
140066- TASKSTATS_TYPE_AGGR_TGID = 0x5
140067- TASKSTATS_TYPE_NULL = 0x6
140068- TASKSTATS_CMD_ATTR_UNSPEC = 0x0
140069- TASKSTATS_CMD_ATTR_PID = 0x1
140070- TASKSTATS_CMD_ATTR_TGID = 0x2
140071- TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 0x3
140072- TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4
140073+ _NCPUBITS = 0x40
140074 )
140075
140076-type Genlmsghdr struct {
140077- Cmd uint8
140078- Version uint8
140079- Reserved uint16
140080+const (
140081+ CBitFieldMaskBit0 = 0x1
140082+ CBitFieldMaskBit1 = 0x2
140083+ CBitFieldMaskBit2 = 0x4
140084+ CBitFieldMaskBit3 = 0x8
140085+ CBitFieldMaskBit4 = 0x10
140086+ CBitFieldMaskBit5 = 0x20
140087+ CBitFieldMaskBit6 = 0x40
140088+ CBitFieldMaskBit7 = 0x80
140089+ CBitFieldMaskBit8 = 0x100
140090+ CBitFieldMaskBit9 = 0x200
140091+ CBitFieldMaskBit10 = 0x400
140092+ CBitFieldMaskBit11 = 0x800
140093+ CBitFieldMaskBit12 = 0x1000
140094+ CBitFieldMaskBit13 = 0x2000
140095+ CBitFieldMaskBit14 = 0x4000
140096+ CBitFieldMaskBit15 = 0x8000
140097+ CBitFieldMaskBit16 = 0x10000
140098+ CBitFieldMaskBit17 = 0x20000
140099+ CBitFieldMaskBit18 = 0x40000
140100+ CBitFieldMaskBit19 = 0x80000
140101+ CBitFieldMaskBit20 = 0x100000
140102+ CBitFieldMaskBit21 = 0x200000
140103+ CBitFieldMaskBit22 = 0x400000
140104+ CBitFieldMaskBit23 = 0x800000
140105+ CBitFieldMaskBit24 = 0x1000000
140106+ CBitFieldMaskBit25 = 0x2000000
140107+ CBitFieldMaskBit26 = 0x4000000
140108+ CBitFieldMaskBit27 = 0x8000000
140109+ CBitFieldMaskBit28 = 0x10000000
140110+ CBitFieldMaskBit29 = 0x20000000
140111+ CBitFieldMaskBit30 = 0x40000000
140112+ CBitFieldMaskBit31 = 0x80000000
140113+ CBitFieldMaskBit32 = 0x100000000
140114+ CBitFieldMaskBit33 = 0x200000000
140115+ CBitFieldMaskBit34 = 0x400000000
140116+ CBitFieldMaskBit35 = 0x800000000
140117+ CBitFieldMaskBit36 = 0x1000000000
140118+ CBitFieldMaskBit37 = 0x2000000000
140119+ CBitFieldMaskBit38 = 0x4000000000
140120+ CBitFieldMaskBit39 = 0x8000000000
140121+ CBitFieldMaskBit40 = 0x10000000000
140122+ CBitFieldMaskBit41 = 0x20000000000
140123+ CBitFieldMaskBit42 = 0x40000000000
140124+ CBitFieldMaskBit43 = 0x80000000000
140125+ CBitFieldMaskBit44 = 0x100000000000
140126+ CBitFieldMaskBit45 = 0x200000000000
140127+ CBitFieldMaskBit46 = 0x400000000000
140128+ CBitFieldMaskBit47 = 0x800000000000
140129+ CBitFieldMaskBit48 = 0x1000000000000
140130+ CBitFieldMaskBit49 = 0x2000000000000
140131+ CBitFieldMaskBit50 = 0x4000000000000
140132+ CBitFieldMaskBit51 = 0x8000000000000
140133+ CBitFieldMaskBit52 = 0x10000000000000
140134+ CBitFieldMaskBit53 = 0x20000000000000
140135+ CBitFieldMaskBit54 = 0x40000000000000
140136+ CBitFieldMaskBit55 = 0x80000000000000
140137+ CBitFieldMaskBit56 = 0x100000000000000
140138+ CBitFieldMaskBit57 = 0x200000000000000
140139+ CBitFieldMaskBit58 = 0x400000000000000
140140+ CBitFieldMaskBit59 = 0x800000000000000
140141+ CBitFieldMaskBit60 = 0x1000000000000000
140142+ CBitFieldMaskBit61 = 0x2000000000000000
140143+ CBitFieldMaskBit62 = 0x4000000000000000
140144+ CBitFieldMaskBit63 = 0x8000000000000000
140145+)
140146+
140147+type SockaddrStorage struct {
140148+ Family uint16
140149+ _ [118]uint8
140150+ _ uint64
140151+}
140152+
140153+type HDGeometry struct {
140154+ Heads uint8
140155+ Sectors uint8
140156+ Cylinders uint16
140157+ Start uint64
140158+}
140159+
140160+type Statfs_t struct {
140161+ Type int64
140162+ Bsize int64
140163+ Blocks uint64
140164+ Bfree uint64
140165+ Bavail uint64
140166+ Files uint64
140167+ Ffree uint64
140168+ Fsid Fsid
140169+ Namelen int64
140170+ Frsize int64
140171+ Flags int64
140172+ Spare [4]int64
140173+}
140174+
140175+type TpacketHdr struct {
140176+ Status uint64
140177+ Len uint32
140178+ Snaplen uint32
140179+ Mac uint16
140180+ Net uint16
140181+ Sec uint32
140182+ Usec uint32
140183+ _ [4]byte
140184 }
140185
140186 const (
140187- CTRL_CMD_UNSPEC = 0x0
140188- CTRL_CMD_NEWFAMILY = 0x1
140189- CTRL_CMD_DELFAMILY = 0x2
140190- CTRL_CMD_GETFAMILY = 0x3
140191- CTRL_CMD_NEWOPS = 0x4
140192- CTRL_CMD_DELOPS = 0x5
140193- CTRL_CMD_GETOPS = 0x6
140194- CTRL_CMD_NEWMCAST_GRP = 0x7
140195- CTRL_CMD_DELMCAST_GRP = 0x8
140196- CTRL_CMD_GETMCAST_GRP = 0x9
140197- CTRL_ATTR_UNSPEC = 0x0
140198- CTRL_ATTR_FAMILY_ID = 0x1
140199- CTRL_ATTR_FAMILY_NAME = 0x2
140200- CTRL_ATTR_VERSION = 0x3
140201- CTRL_ATTR_HDRSIZE = 0x4
140202- CTRL_ATTR_MAXATTR = 0x5
140203- CTRL_ATTR_OPS = 0x6
140204- CTRL_ATTR_MCAST_GROUPS = 0x7
140205- CTRL_ATTR_OP_UNSPEC = 0x0
140206- CTRL_ATTR_OP_ID = 0x1
140207- CTRL_ATTR_OP_FLAGS = 0x2
140208- CTRL_ATTR_MCAST_GRP_UNSPEC = 0x0
140209- CTRL_ATTR_MCAST_GRP_NAME = 0x1
140210- CTRL_ATTR_MCAST_GRP_ID = 0x2
140211+ SizeofTpacketHdr = 0x20
140212 )
140213+
140214+type RTCPLLInfo struct {
140215+ Ctrl int32
140216+ Value int32
140217+ Max int32
140218+ Min int32
140219+ Posmult int32
140220+ Negmult int32
140221+ Clock int64
140222+}
140223+
140224+type BlkpgPartition struct {
140225+ Start int64
140226+ Length int64
140227+ Pno int32
140228+ Devname [64]uint8
140229+ Volname [64]uint8
140230+ _ [4]byte
140231+}
140232+
140233+const (
140234+ BLKPG = 0x20001269
140235+)
140236+
140237+type XDPUmemReg struct {
140238+ Addr uint64
140239+ Len uint64
140240+ Size uint32
140241+ Headroom uint32
140242+ Flags uint32
140243+ _ [4]byte
140244+}
140245+
140246+type CryptoUserAlg struct {
140247+ Name [64]uint8
140248+ Driver_name [64]uint8
140249+ Module_name [64]uint8
140250+ Type uint32
140251+ Mask uint32
140252+ Refcnt uint32
140253+ Flags uint32
140254+}
140255+
140256+type CryptoStatAEAD struct {
140257+ Type [64]uint8
140258+ Encrypt_cnt uint64
140259+ Encrypt_tlen uint64
140260+ Decrypt_cnt uint64
140261+ Decrypt_tlen uint64
140262+ Err_cnt uint64
140263+}
140264+
140265+type CryptoStatAKCipher struct {
140266+ Type [64]uint8
140267+ Encrypt_cnt uint64
140268+ Encrypt_tlen uint64
140269+ Decrypt_cnt uint64
140270+ Decrypt_tlen uint64
140271+ Verify_cnt uint64
140272+ Sign_cnt uint64
140273+ Err_cnt uint64
140274+}
140275+
140276+type CryptoStatCipher struct {
140277+ Type [64]uint8
140278+ Encrypt_cnt uint64
140279+ Encrypt_tlen uint64
140280+ Decrypt_cnt uint64
140281+ Decrypt_tlen uint64
140282+ Err_cnt uint64
140283+}
140284+
140285+type CryptoStatCompress struct {
140286+ Type [64]uint8
140287+ Compress_cnt uint64
140288+ Compress_tlen uint64
140289+ Decompress_cnt uint64
140290+ Decompress_tlen uint64
140291+ Err_cnt uint64
140292+}
140293+
140294+type CryptoStatHash struct {
140295+ Type [64]uint8
140296+ Hash_cnt uint64
140297+ Hash_tlen uint64
140298+ Err_cnt uint64
140299+}
140300+
140301+type CryptoStatKPP struct {
140302+ Type [64]uint8
140303+ Setsecret_cnt uint64
140304+ Generate_public_key_cnt uint64
140305+ Compute_shared_secret_cnt uint64
140306+ Err_cnt uint64
140307+}
140308+
140309+type CryptoStatRNG struct {
140310+ Type [64]uint8
140311+ Generate_cnt uint64
140312+ Generate_tlen uint64
140313+ Seed_cnt uint64
140314+ Err_cnt uint64
140315+}
140316+
140317+type CryptoStatLarval struct {
140318+ Type [64]uint8
140319+}
140320+
140321+type CryptoReportLarval struct {
140322+ Type [64]uint8
140323+}
140324+
140325+type CryptoReportHash struct {
140326+ Type [64]uint8
140327+ Blocksize uint32
140328+ Digestsize uint32
140329+}
140330+
140331+type CryptoReportCipher struct {
140332+ Type [64]uint8
140333+ Blocksize uint32
140334+ Min_keysize uint32
140335+ Max_keysize uint32
140336+}
140337+
140338+type CryptoReportBlkCipher struct {
140339+ Type [64]uint8
140340+ Geniv [64]uint8
140341+ Blocksize uint32
140342+ Min_keysize uint32
140343+ Max_keysize uint32
140344+ Ivsize uint32
140345+}
140346+
140347+type CryptoReportAEAD struct {
140348+ Type [64]uint8
140349+ Geniv [64]uint8
140350+ Blocksize uint32
140351+ Maxauthsize uint32
140352+ Ivsize uint32
140353+}
140354+
140355+type CryptoReportComp struct {
140356+ Type [64]uint8
140357+}
140358+
140359+type CryptoReportRNG struct {
140360+ Type [64]uint8
140361+ Seedsize uint32
140362+}
140363+
140364+type CryptoReportAKCipher struct {
140365+ Type [64]uint8
140366+}
140367+
140368+type CryptoReportKPP struct {
140369+ Type [64]uint8
140370+}
140371+
140372+type CryptoReportAcomp struct {
140373+ Type [64]uint8
140374+}
140375+
140376+type LoopInfo struct {
140377+ Number int32
140378+ Device uint64
140379+ Inode uint64
140380+ Rdevice uint64
140381+ Offset int32
140382+ Encrypt_type int32
140383+ Encrypt_key_size int32
140384+ Flags int32
140385+ Name [64]uint8
140386+ Encrypt_key [32]uint8
140387+ Init [2]uint64
140388+ Reserved [4]uint8
140389+ _ [4]byte
140390+}
140391+
140392+type TIPCSubscr struct {
140393+ Seq TIPCServiceRange
140394+ Timeout uint32
140395+ Filter uint32
140396+ Handle [8]uint8
140397+}
140398+
140399+type TIPCSIOCLNReq struct {
140400+ Peer uint32
140401+ Id uint32
140402+ Linkname [68]uint8
140403+}
140404+
140405+type TIPCSIOCNodeIDReq struct {
140406+ Peer uint32
140407+ Id [16]uint8
140408+}
140409diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go
140410new file mode 100644
140411index 00000000..0f2f61a6
140412--- /dev/null
140413+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go
140414@@ -0,0 +1,621 @@
140415+// cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go
140416+// Code generated by the command above; see README.md. DO NOT EDIT.
140417+
140418+// +build riscv64,linux
140419+
140420+package unix
140421+
140422+const (
140423+ SizeofPtr = 0x8
140424+ SizeofLong = 0x8
140425+)
140426+
140427+type (
140428+ _C_long int64
140429+)
140430+
140431+type Timespec struct {
140432+ Sec int64
140433+ Nsec int64
140434+}
140435+
140436+type Timeval struct {
140437+ Sec int64
140438+ Usec int64
140439+}
140440+
140441+type Timex struct {
140442+ Modes uint32
140443+ Offset int64
140444+ Freq int64
140445+ Maxerror int64
140446+ Esterror int64
140447+ Status int32
140448+ Constant int64
140449+ Precision int64
140450+ Tolerance int64
140451+ Time Timeval
140452+ Tick int64
140453+ Ppsfreq int64
140454+ Jitter int64
140455+ Shift int32
140456+ Stabil int64
140457+ Jitcnt int64
140458+ Calcnt int64
140459+ Errcnt int64
140460+ Stbcnt int64
140461+ Tai int32
140462+ _ [44]byte
140463+}
140464+
140465+type Time_t int64
140466+
140467+type Tms struct {
140468+ Utime int64
140469+ Stime int64
140470+ Cutime int64
140471+ Cstime int64
140472+}
140473+
140474+type Utimbuf struct {
140475+ Actime int64
140476+ Modtime int64
140477+}
140478+
140479+type Rusage struct {
140480+ Utime Timeval
140481+ Stime Timeval
140482+ Maxrss int64
140483+ Ixrss int64
140484+ Idrss int64
140485+ Isrss int64
140486+ Minflt int64
140487+ Majflt int64
140488+ Nswap int64
140489+ Inblock int64
140490+ Oublock int64
140491+ Msgsnd int64
140492+ Msgrcv int64
140493+ Nsignals int64
140494+ Nvcsw int64
140495+ Nivcsw int64
140496+}
140497+
140498+type Stat_t struct {
140499+ Dev uint64
140500+ Ino uint64
140501+ Mode uint32
140502+ Nlink uint32
140503+ Uid uint32
140504+ Gid uint32
140505+ Rdev uint64
140506+ _ uint64
140507+ Size int64
140508+ Blksize int32
140509+ _ int32
140510+ Blocks int64
140511+ Atim Timespec
140512+ Mtim Timespec
140513+ Ctim Timespec
140514+ _ [2]int32
140515+}
140516+
140517+type Dirent struct {
140518+ Ino uint64
140519+ Off int64
140520+ Reclen uint16
140521+ Type uint8
140522+ Name [256]uint8
140523+ _ [5]byte
140524+}
140525+
140526+type Flock_t struct {
140527+ Type int16
140528+ Whence int16
140529+ Start int64
140530+ Len int64
140531+ Pid int32
140532+ _ [4]byte
140533+}
140534+
140535+const (
140536+ FADV_DONTNEED = 0x4
140537+ FADV_NOREUSE = 0x5
140538+)
140539+
140540+type RawSockaddr struct {
140541+ Family uint16
140542+ Data [14]uint8
140543+}
140544+
140545+type RawSockaddrAny struct {
140546+ Addr RawSockaddr
140547+ Pad [96]uint8
140548+}
140549+
140550+type Iovec struct {
140551+ Base *byte
140552+ Len uint64
140553+}
140554+
140555+type Msghdr struct {
140556+ Name *byte
140557+ Namelen uint32
140558+ Iov *Iovec
140559+ Iovlen uint64
140560+ Control *byte
140561+ Controllen uint64
140562+ Flags int32
140563+ _ [4]byte
140564+}
140565+
140566+type Cmsghdr struct {
140567+ Len uint64
140568+ Level int32
140569+ Type int32
140570+}
140571+
140572+const (
140573+ SizeofIovec = 0x10
140574+ SizeofMsghdr = 0x38
140575+ SizeofCmsghdr = 0x10
140576+)
140577+
140578+const (
140579+ SizeofSockFprog = 0x10
140580+)
140581+
140582+type PtraceRegs struct {
140583+ Pc uint64
140584+ Ra uint64
140585+ Sp uint64
140586+ Gp uint64
140587+ Tp uint64
140588+ T0 uint64
140589+ T1 uint64
140590+ T2 uint64
140591+ S0 uint64
140592+ S1 uint64
140593+ A0 uint64
140594+ A1 uint64
140595+ A2 uint64
140596+ A3 uint64
140597+ A4 uint64
140598+ A5 uint64
140599+ A6 uint64
140600+ A7 uint64
140601+ S2 uint64
140602+ S3 uint64
140603+ S4 uint64
140604+ S5 uint64
140605+ S6 uint64
140606+ S7 uint64
140607+ S8 uint64
140608+ S9 uint64
140609+ S10 uint64
140610+ S11 uint64
140611+ T3 uint64
140612+ T4 uint64
140613+ T5 uint64
140614+ T6 uint64
140615+}
140616+
140617+type FdSet struct {
140618+ Bits [16]int64
140619+}
140620+
140621+type Sysinfo_t struct {
140622+ Uptime int64
140623+ Loads [3]uint64
140624+ Totalram uint64
140625+ Freeram uint64
140626+ Sharedram uint64
140627+ Bufferram uint64
140628+ Totalswap uint64
140629+ Freeswap uint64
140630+ Procs uint16
140631+ Pad uint16
140632+ Totalhigh uint64
140633+ Freehigh uint64
140634+ Unit uint32
140635+ _ [0]uint8
140636+ _ [4]byte
140637+}
140638+
140639+type Ustat_t struct {
140640+ Tfree int32
140641+ Tinode uint64
140642+ Fname [6]uint8
140643+ Fpack [6]uint8
140644+ _ [4]byte
140645+}
140646+
140647+type EpollEvent struct {
140648+ Events uint32
140649+ _ int32
140650+ Fd int32
140651+ Pad int32
140652+}
140653+
140654+const (
140655+ POLLRDHUP = 0x2000
140656+)
140657+
140658+type Sigset_t struct {
140659+ Val [16]uint64
140660+}
140661+
140662+const _C__NSIG = 0x41
140663+
140664+type Termios struct {
140665+ Iflag uint32
140666+ Oflag uint32
140667+ Cflag uint32
140668+ Lflag uint32
140669+ Line uint8
140670+ Cc [19]uint8
140671+ Ispeed uint32
140672+ Ospeed uint32
140673+}
140674+
140675+type Taskstats struct {
140676+ Version uint16
140677+ Ac_exitcode uint32
140678+ Ac_flag uint8
140679+ Ac_nice uint8
140680+ Cpu_count uint64
140681+ Cpu_delay_total uint64
140682+ Blkio_count uint64
140683+ Blkio_delay_total uint64
140684+ Swapin_count uint64
140685+ Swapin_delay_total uint64
140686+ Cpu_run_real_total uint64
140687+ Cpu_run_virtual_total uint64
140688+ Ac_comm [32]uint8
140689+ Ac_sched uint8
140690+ Ac_pad [3]uint8
140691+ _ [4]byte
140692+ Ac_uid uint32
140693+ Ac_gid uint32
140694+ Ac_pid uint32
140695+ Ac_ppid uint32
140696+ Ac_btime uint32
140697+ Ac_etime uint64
140698+ Ac_utime uint64
140699+ Ac_stime uint64
140700+ Ac_minflt uint64
140701+ Ac_majflt uint64
140702+ Coremem uint64
140703+ Virtmem uint64
140704+ Hiwater_rss uint64
140705+ Hiwater_vm uint64
140706+ Read_char uint64
140707+ Write_char uint64
140708+ Read_syscalls uint64
140709+ Write_syscalls uint64
140710+ Read_bytes uint64
140711+ Write_bytes uint64
140712+ Cancelled_write_bytes uint64
140713+ Nvcsw uint64
140714+ Nivcsw uint64
140715+ Ac_utimescaled uint64
140716+ Ac_stimescaled uint64
140717+ Cpu_scaled_run_real_total uint64
140718+ Freepages_count uint64
140719+ Freepages_delay_total uint64
140720+ Thrashing_count uint64
140721+ Thrashing_delay_total uint64
140722+ Ac_btime64 uint64
140723+}
140724+
140725+type cpuMask uint64
140726+
140727+const (
140728+ _NCPUBITS = 0x40
140729+)
140730+
140731+const (
140732+ CBitFieldMaskBit0 = 0x1
140733+ CBitFieldMaskBit1 = 0x2
140734+ CBitFieldMaskBit2 = 0x4
140735+ CBitFieldMaskBit3 = 0x8
140736+ CBitFieldMaskBit4 = 0x10
140737+ CBitFieldMaskBit5 = 0x20
140738+ CBitFieldMaskBit6 = 0x40
140739+ CBitFieldMaskBit7 = 0x80
140740+ CBitFieldMaskBit8 = 0x100
140741+ CBitFieldMaskBit9 = 0x200
140742+ CBitFieldMaskBit10 = 0x400
140743+ CBitFieldMaskBit11 = 0x800
140744+ CBitFieldMaskBit12 = 0x1000
140745+ CBitFieldMaskBit13 = 0x2000
140746+ CBitFieldMaskBit14 = 0x4000
140747+ CBitFieldMaskBit15 = 0x8000
140748+ CBitFieldMaskBit16 = 0x10000
140749+ CBitFieldMaskBit17 = 0x20000
140750+ CBitFieldMaskBit18 = 0x40000
140751+ CBitFieldMaskBit19 = 0x80000
140752+ CBitFieldMaskBit20 = 0x100000
140753+ CBitFieldMaskBit21 = 0x200000
140754+ CBitFieldMaskBit22 = 0x400000
140755+ CBitFieldMaskBit23 = 0x800000
140756+ CBitFieldMaskBit24 = 0x1000000
140757+ CBitFieldMaskBit25 = 0x2000000
140758+ CBitFieldMaskBit26 = 0x4000000
140759+ CBitFieldMaskBit27 = 0x8000000
140760+ CBitFieldMaskBit28 = 0x10000000
140761+ CBitFieldMaskBit29 = 0x20000000
140762+ CBitFieldMaskBit30 = 0x40000000
140763+ CBitFieldMaskBit31 = 0x80000000
140764+ CBitFieldMaskBit32 = 0x100000000
140765+ CBitFieldMaskBit33 = 0x200000000
140766+ CBitFieldMaskBit34 = 0x400000000
140767+ CBitFieldMaskBit35 = 0x800000000
140768+ CBitFieldMaskBit36 = 0x1000000000
140769+ CBitFieldMaskBit37 = 0x2000000000
140770+ CBitFieldMaskBit38 = 0x4000000000
140771+ CBitFieldMaskBit39 = 0x8000000000
140772+ CBitFieldMaskBit40 = 0x10000000000
140773+ CBitFieldMaskBit41 = 0x20000000000
140774+ CBitFieldMaskBit42 = 0x40000000000
140775+ CBitFieldMaskBit43 = 0x80000000000
140776+ CBitFieldMaskBit44 = 0x100000000000
140777+ CBitFieldMaskBit45 = 0x200000000000
140778+ CBitFieldMaskBit46 = 0x400000000000
140779+ CBitFieldMaskBit47 = 0x800000000000
140780+ CBitFieldMaskBit48 = 0x1000000000000
140781+ CBitFieldMaskBit49 = 0x2000000000000
140782+ CBitFieldMaskBit50 = 0x4000000000000
140783+ CBitFieldMaskBit51 = 0x8000000000000
140784+ CBitFieldMaskBit52 = 0x10000000000000
140785+ CBitFieldMaskBit53 = 0x20000000000000
140786+ CBitFieldMaskBit54 = 0x40000000000000
140787+ CBitFieldMaskBit55 = 0x80000000000000
140788+ CBitFieldMaskBit56 = 0x100000000000000
140789+ CBitFieldMaskBit57 = 0x200000000000000
140790+ CBitFieldMaskBit58 = 0x400000000000000
140791+ CBitFieldMaskBit59 = 0x800000000000000
140792+ CBitFieldMaskBit60 = 0x1000000000000000
140793+ CBitFieldMaskBit61 = 0x2000000000000000
140794+ CBitFieldMaskBit62 = 0x4000000000000000
140795+ CBitFieldMaskBit63 = 0x8000000000000000
140796+)
140797+
140798+type SockaddrStorage struct {
140799+ Family uint16
140800+ _ [118]uint8
140801+ _ uint64
140802+}
140803+
140804+type HDGeometry struct {
140805+ Heads uint8
140806+ Sectors uint8
140807+ Cylinders uint16
140808+ Start uint64
140809+}
140810+
140811+type Statfs_t struct {
140812+ Type int64
140813+ Bsize int64
140814+ Blocks uint64
140815+ Bfree uint64
140816+ Bavail uint64
140817+ Files uint64
140818+ Ffree uint64
140819+ Fsid Fsid
140820+ Namelen int64
140821+ Frsize int64
140822+ Flags int64
140823+ Spare [4]int64
140824+}
140825+
140826+type TpacketHdr struct {
140827+ Status uint64
140828+ Len uint32
140829+ Snaplen uint32
140830+ Mac uint16
140831+ Net uint16
140832+ Sec uint32
140833+ Usec uint32
140834+ _ [4]byte
140835+}
140836+
140837+const (
140838+ SizeofTpacketHdr = 0x20
140839+)
140840+
140841+type RTCPLLInfo struct {
140842+ Ctrl int32
140843+ Value int32
140844+ Max int32
140845+ Min int32
140846+ Posmult int32
140847+ Negmult int32
140848+ Clock int64
140849+}
140850+
140851+type BlkpgPartition struct {
140852+ Start int64
140853+ Length int64
140854+ Pno int32
140855+ Devname [64]uint8
140856+ Volname [64]uint8
140857+ _ [4]byte
140858+}
140859+
140860+const (
140861+ BLKPG = 0x1269
140862+)
140863+
140864+type XDPUmemReg struct {
140865+ Addr uint64
140866+ Len uint64
140867+ Size uint32
140868+ Headroom uint32
140869+ Flags uint32
140870+ _ [4]byte
140871+}
140872+
140873+type CryptoUserAlg struct {
140874+ Name [64]uint8
140875+ Driver_name [64]uint8
140876+ Module_name [64]uint8
140877+ Type uint32
140878+ Mask uint32
140879+ Refcnt uint32
140880+ Flags uint32
140881+}
140882+
140883+type CryptoStatAEAD struct {
140884+ Type [64]uint8
140885+ Encrypt_cnt uint64
140886+ Encrypt_tlen uint64
140887+ Decrypt_cnt uint64
140888+ Decrypt_tlen uint64
140889+ Err_cnt uint64
140890+}
140891+
140892+type CryptoStatAKCipher struct {
140893+ Type [64]uint8
140894+ Encrypt_cnt uint64
140895+ Encrypt_tlen uint64
140896+ Decrypt_cnt uint64
140897+ Decrypt_tlen uint64
140898+ Verify_cnt uint64
140899+ Sign_cnt uint64
140900+ Err_cnt uint64
140901+}
140902+
140903+type CryptoStatCipher struct {
140904+ Type [64]uint8
140905+ Encrypt_cnt uint64
140906+ Encrypt_tlen uint64
140907+ Decrypt_cnt uint64
140908+ Decrypt_tlen uint64
140909+ Err_cnt uint64
140910+}
140911+
140912+type CryptoStatCompress struct {
140913+ Type [64]uint8
140914+ Compress_cnt uint64
140915+ Compress_tlen uint64
140916+ Decompress_cnt uint64
140917+ Decompress_tlen uint64
140918+ Err_cnt uint64
140919+}
140920+
140921+type CryptoStatHash struct {
140922+ Type [64]uint8
140923+ Hash_cnt uint64
140924+ Hash_tlen uint64
140925+ Err_cnt uint64
140926+}
140927+
140928+type CryptoStatKPP struct {
140929+ Type [64]uint8
140930+ Setsecret_cnt uint64
140931+ Generate_public_key_cnt uint64
140932+ Compute_shared_secret_cnt uint64
140933+ Err_cnt uint64
140934+}
140935+
140936+type CryptoStatRNG struct {
140937+ Type [64]uint8
140938+ Generate_cnt uint64
140939+ Generate_tlen uint64
140940+ Seed_cnt uint64
140941+ Err_cnt uint64
140942+}
140943+
140944+type CryptoStatLarval struct {
140945+ Type [64]uint8
140946+}
140947+
140948+type CryptoReportLarval struct {
140949+ Type [64]uint8
140950+}
140951+
140952+type CryptoReportHash struct {
140953+ Type [64]uint8
140954+ Blocksize uint32
140955+ Digestsize uint32
140956+}
140957+
140958+type CryptoReportCipher struct {
140959+ Type [64]uint8
140960+ Blocksize uint32
140961+ Min_keysize uint32
140962+ Max_keysize uint32
140963+}
140964+
140965+type CryptoReportBlkCipher struct {
140966+ Type [64]uint8
140967+ Geniv [64]uint8
140968+ Blocksize uint32
140969+ Min_keysize uint32
140970+ Max_keysize uint32
140971+ Ivsize uint32
140972+}
140973+
140974+type CryptoReportAEAD struct {
140975+ Type [64]uint8
140976+ Geniv [64]uint8
140977+ Blocksize uint32
140978+ Maxauthsize uint32
140979+ Ivsize uint32
140980+}
140981+
140982+type CryptoReportComp struct {
140983+ Type [64]uint8
140984+}
140985+
140986+type CryptoReportRNG struct {
140987+ Type [64]uint8
140988+ Seedsize uint32
140989+}
140990+
140991+type CryptoReportAKCipher struct {
140992+ Type [64]uint8
140993+}
140994+
140995+type CryptoReportKPP struct {
140996+ Type [64]uint8
140997+}
140998+
140999+type CryptoReportAcomp struct {
141000+ Type [64]uint8
141001+}
141002+
141003+type LoopInfo struct {
141004+ Number int32
141005+ Device uint32
141006+ Inode uint64
141007+ Rdevice uint32
141008+ Offset int32
141009+ Encrypt_type int32
141010+ Encrypt_key_size int32
141011+ Flags int32
141012+ Name [64]uint8
141013+ Encrypt_key [32]uint8
141014+ Init [2]uint64
141015+ Reserved [4]uint8
141016+ _ [4]byte
141017+}
141018+
141019+type TIPCSubscr struct {
141020+ Seq TIPCServiceRange
141021+ Timeout uint32
141022+ Filter uint32
141023+ Handle [8]uint8
141024+}
141025+
141026+type TIPCSIOCLNReq struct {
141027+ Peer uint32
141028+ Id uint32
141029+ Linkname [68]uint8
141030+}
141031+
141032+type TIPCSIOCNodeIDReq struct {
141033+ Peer uint32
141034+ Id [16]uint8
141035+}
141036diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go b/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go
141037index 5e0aa663..cca1b6be 100644
141038--- a/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go
141039+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go
141040@@ -6,19 +6,12 @@
141041 package unix
141042
141043 const (
141044- sizeofPtr = 0x8
141045- sizeofShort = 0x2
141046- sizeofInt = 0x4
141047- sizeofLong = 0x8
141048- sizeofLongLong = 0x8
141049- PathMax = 0x1000
141050+ SizeofPtr = 0x8
141051+ SizeofLong = 0x8
141052 )
141053
141054 type (
141055- _C_short int16
141056- _C_int int32
141057- _C_long int64
141058- _C_long_long int64
141059+ _C_long int64
141060 )
141061
141062 type Timespec struct {
141063@@ -33,13 +26,11 @@ type Timeval struct {
141064
141065 type Timex struct {
141066 Modes uint32
141067- _ [4]byte
141068 Offset int64
141069 Freq int64
141070 Maxerror int64
141071 Esterror int64
141072 Status int32
141073- _ [4]byte
141074 Constant int64
141075 Precision int64
141076 Tolerance int64
141077@@ -48,7 +39,6 @@ type Timex struct {
141078 Ppsfreq int64
141079 Jitter int64
141080 Shift int32
141081- _ [4]byte
141082 Stabil int64
141083 Jitcnt int64
141084 Calcnt int64
141085@@ -91,13 +81,6 @@ type Rusage struct {
141086 Nivcsw int64
141087 }
141088
141089-type Rlimit struct {
141090- Cur uint64
141091- Max uint64
141092-}
141093-
141094-type _Gid_t uint32
141095-
141096 type Stat_t struct {
141097 Dev uint64
141098 Ino uint64
141099@@ -116,22 +99,6 @@ type Stat_t struct {
141100 _ [3]int64
141101 }
141102
141103-type Statfs_t struct {
141104- Type uint32
141105- Bsize uint32
141106- Blocks uint64
141107- Bfree uint64
141108- Bavail uint64
141109- Files uint64
141110- Ffree uint64
141111- Fsid Fsid
141112- Namelen uint32
141113- Frsize uint32
141114- Flags uint32
141115- Spare [4]uint32
141116- _ [4]byte
141117-}
141118-
141119 type Dirent struct {
141120 Ino uint64
141121 Off int64
141122@@ -141,115 +108,20 @@ type Dirent struct {
141123 _ [5]byte
141124 }
141125
141126-type Fsid struct {
141127- _ [2]int32
141128-}
141129-
141130 type Flock_t struct {
141131 Type int16
141132 Whence int16
141133- _ [4]byte
141134 Start int64
141135 Len int64
141136 Pid int32
141137 _ [4]byte
141138 }
141139
141140-type FscryptPolicy struct {
141141- Version uint8
141142- Contents_encryption_mode uint8
141143- Filenames_encryption_mode uint8
141144- Flags uint8
141145- Master_key_descriptor [8]uint8
141146-}
141147-
141148-type FscryptKey struct {
141149- Mode uint32
141150- Raw [64]uint8
141151- Size uint32
141152-}
141153-
141154-type KeyctlDHParams struct {
141155- Private int32
141156- Prime int32
141157- Base int32
141158-}
141159-
141160 const (
141161- FADV_NORMAL = 0x0
141162- FADV_RANDOM = 0x1
141163- FADV_SEQUENTIAL = 0x2
141164- FADV_WILLNEED = 0x3
141165- FADV_DONTNEED = 0x6
141166- FADV_NOREUSE = 0x7
141167+ FADV_DONTNEED = 0x6
141168+ FADV_NOREUSE = 0x7
141169 )
141170
141171-type RawSockaddrInet4 struct {
141172- Family uint16
141173- Port uint16
141174- Addr [4]byte /* in_addr */
141175- Zero [8]uint8
141176-}
141177-
141178-type RawSockaddrInet6 struct {
141179- Family uint16
141180- Port uint16
141181- Flowinfo uint32
141182- Addr [16]byte /* in6_addr */
141183- Scope_id uint32
141184-}
141185-
141186-type RawSockaddrUnix struct {
141187- Family uint16
141188- Path [108]int8
141189-}
141190-
141191-type RawSockaddrLinklayer struct {
141192- Family uint16
141193- Protocol uint16
141194- Ifindex int32
141195- Hatype uint16
141196- Pkttype uint8
141197- Halen uint8
141198- Addr [8]uint8
141199-}
141200-
141201-type RawSockaddrNetlink struct {
141202- Family uint16
141203- Pad uint16
141204- Pid uint32
141205- Groups uint32
141206-}
141207-
141208-type RawSockaddrHCI struct {
141209- Family uint16
141210- Dev uint16
141211- Channel uint16
141212-}
141213-
141214-type RawSockaddrCAN struct {
141215- Family uint16
141216- _ [2]byte
141217- Ifindex int32
141218- Addr [8]byte
141219-}
141220-
141221-type RawSockaddrALG struct {
141222- Family uint16
141223- Type [14]uint8
141224- Feat uint32
141225- Mask uint32
141226- Name [64]uint8
141227-}
141228-
141229-type RawSockaddrVM struct {
141230- Family uint16
141231- Reserved1 uint16
141232- Port uint32
141233- Cid uint32
141234- Zero [4]uint8
141235-}
141236-
141237 type RawSockaddr struct {
141238 Family uint16
141239 Data [14]int8
141240@@ -260,45 +132,14 @@ type RawSockaddrAny struct {
141241 Pad [96]int8
141242 }
141243
141244-type _Socklen uint32
141245-
141246-type Linger struct {
141247- Onoff int32
141248- Linger int32
141249-}
141250-
141251 type Iovec struct {
141252 Base *byte
141253 Len uint64
141254 }
141255
141256-type IPMreq struct {
141257- Multiaddr [4]byte /* in_addr */
141258- Interface [4]byte /* in_addr */
141259-}
141260-
141261-type IPMreqn struct {
141262- Multiaddr [4]byte /* in_addr */
141263- Address [4]byte /* in_addr */
141264- Ifindex int32
141265-}
141266-
141267-type IPv6Mreq struct {
141268- Multiaddr [16]byte /* in6_addr */
141269- Interface uint32
141270-}
141271-
141272-type PacketMreq struct {
141273- Ifindex int32
141274- Type uint16
141275- Alen uint16
141276- Address [8]uint8
141277-}
141278-
141279 type Msghdr struct {
141280 Name *byte
141281 Namelen uint32
141282- _ [4]byte
141283 Iov *Iovec
141284 Iovlen uint64
141285 Control *byte
141286@@ -313,277 +154,16 @@ type Cmsghdr struct {
141287 Type int32
141288 }
141289
141290-type Inet4Pktinfo struct {
141291- Ifindex int32
141292- Spec_dst [4]byte /* in_addr */
141293- Addr [4]byte /* in_addr */
141294-}
141295-
141296-type Inet6Pktinfo struct {
141297- Addr [16]byte /* in6_addr */
141298- Ifindex uint32
141299-}
141300-
141301-type IPv6MTUInfo struct {
141302- Addr RawSockaddrInet6
141303- Mtu uint32
141304-}
141305-
141306-type ICMPv6Filter struct {
141307- Data [8]uint32
141308-}
141309-
141310-type Ucred struct {
141311- Pid int32
141312- Uid uint32
141313- Gid uint32
141314-}
141315-
141316-type TCPInfo struct {
141317- State uint8
141318- Ca_state uint8
141319- Retransmits uint8
141320- Probes uint8
141321- Backoff uint8
141322- Options uint8
141323- _ [2]byte
141324- Rto uint32
141325- Ato uint32
141326- Snd_mss uint32
141327- Rcv_mss uint32
141328- Unacked uint32
141329- Sacked uint32
141330- Lost uint32
141331- Retrans uint32
141332- Fackets uint32
141333- Last_data_sent uint32
141334- Last_ack_sent uint32
141335- Last_data_recv uint32
141336- Last_ack_recv uint32
141337- Pmtu uint32
141338- Rcv_ssthresh uint32
141339- Rtt uint32
141340- Rttvar uint32
141341- Snd_ssthresh uint32
141342- Snd_cwnd uint32
141343- Advmss uint32
141344- Reordering uint32
141345- Rcv_rtt uint32
141346- Rcv_space uint32
141347- Total_retrans uint32
141348-}
141349-
141350-const (
141351- SizeofSockaddrInet4 = 0x10
141352- SizeofSockaddrInet6 = 0x1c
141353- SizeofSockaddrAny = 0x70
141354- SizeofSockaddrUnix = 0x6e
141355- SizeofSockaddrLinklayer = 0x14
141356- SizeofSockaddrNetlink = 0xc
141357- SizeofSockaddrHCI = 0x6
141358- SizeofSockaddrCAN = 0x10
141359- SizeofSockaddrALG = 0x58
141360- SizeofSockaddrVM = 0x10
141361- SizeofLinger = 0x8
141362- SizeofIovec = 0x10
141363- SizeofIPMreq = 0x8
141364- SizeofIPMreqn = 0xc
141365- SizeofIPv6Mreq = 0x14
141366- SizeofPacketMreq = 0x10
141367- SizeofMsghdr = 0x38
141368- SizeofCmsghdr = 0x10
141369- SizeofInet4Pktinfo = 0xc
141370- SizeofInet6Pktinfo = 0x14
141371- SizeofIPv6MTUInfo = 0x20
141372- SizeofICMPv6Filter = 0x20
141373- SizeofUcred = 0xc
141374- SizeofTCPInfo = 0x68
141375-)
141376-
141377 const (
141378- IFA_UNSPEC = 0x0
141379- IFA_ADDRESS = 0x1
141380- IFA_LOCAL = 0x2
141381- IFA_LABEL = 0x3
141382- IFA_BROADCAST = 0x4
141383- IFA_ANYCAST = 0x5
141384- IFA_CACHEINFO = 0x6
141385- IFA_MULTICAST = 0x7
141386- IFLA_UNSPEC = 0x0
141387- IFLA_ADDRESS = 0x1
141388- IFLA_BROADCAST = 0x2
141389- IFLA_IFNAME = 0x3
141390- IFLA_MTU = 0x4
141391- IFLA_LINK = 0x5
141392- IFLA_QDISC = 0x6
141393- IFLA_STATS = 0x7
141394- IFLA_COST = 0x8
141395- IFLA_PRIORITY = 0x9
141396- IFLA_MASTER = 0xa
141397- IFLA_WIRELESS = 0xb
141398- IFLA_PROTINFO = 0xc
141399- IFLA_TXQLEN = 0xd
141400- IFLA_MAP = 0xe
141401- IFLA_WEIGHT = 0xf
141402- IFLA_OPERSTATE = 0x10
141403- IFLA_LINKMODE = 0x11
141404- IFLA_LINKINFO = 0x12
141405- IFLA_NET_NS_PID = 0x13
141406- IFLA_IFALIAS = 0x14
141407- IFLA_MAX = 0x2b
141408- RT_SCOPE_UNIVERSE = 0x0
141409- RT_SCOPE_SITE = 0xc8
141410- RT_SCOPE_LINK = 0xfd
141411- RT_SCOPE_HOST = 0xfe
141412- RT_SCOPE_NOWHERE = 0xff
141413- RT_TABLE_UNSPEC = 0x0
141414- RT_TABLE_COMPAT = 0xfc
141415- RT_TABLE_DEFAULT = 0xfd
141416- RT_TABLE_MAIN = 0xfe
141417- RT_TABLE_LOCAL = 0xff
141418- RT_TABLE_MAX = 0xffffffff
141419- RTA_UNSPEC = 0x0
141420- RTA_DST = 0x1
141421- RTA_SRC = 0x2
141422- RTA_IIF = 0x3
141423- RTA_OIF = 0x4
141424- RTA_GATEWAY = 0x5
141425- RTA_PRIORITY = 0x6
141426- RTA_PREFSRC = 0x7
141427- RTA_METRICS = 0x8
141428- RTA_MULTIPATH = 0x9
141429- RTA_FLOW = 0xb
141430- RTA_CACHEINFO = 0xc
141431- RTA_TABLE = 0xf
141432- RTN_UNSPEC = 0x0
141433- RTN_UNICAST = 0x1
141434- RTN_LOCAL = 0x2
141435- RTN_BROADCAST = 0x3
141436- RTN_ANYCAST = 0x4
141437- RTN_MULTICAST = 0x5
141438- RTN_BLACKHOLE = 0x6
141439- RTN_UNREACHABLE = 0x7
141440- RTN_PROHIBIT = 0x8
141441- RTN_THROW = 0x9
141442- RTN_NAT = 0xa
141443- RTN_XRESOLVE = 0xb
141444- RTNLGRP_NONE = 0x0
141445- RTNLGRP_LINK = 0x1
141446- RTNLGRP_NOTIFY = 0x2
141447- RTNLGRP_NEIGH = 0x3
141448- RTNLGRP_TC = 0x4
141449- RTNLGRP_IPV4_IFADDR = 0x5
141450- RTNLGRP_IPV4_MROUTE = 0x6
141451- RTNLGRP_IPV4_ROUTE = 0x7
141452- RTNLGRP_IPV4_RULE = 0x8
141453- RTNLGRP_IPV6_IFADDR = 0x9
141454- RTNLGRP_IPV6_MROUTE = 0xa
141455- RTNLGRP_IPV6_ROUTE = 0xb
141456- RTNLGRP_IPV6_IFINFO = 0xc
141457- RTNLGRP_IPV6_PREFIX = 0x12
141458- RTNLGRP_IPV6_RULE = 0x13
141459- RTNLGRP_ND_USEROPT = 0x14
141460- SizeofNlMsghdr = 0x10
141461- SizeofNlMsgerr = 0x14
141462- SizeofRtGenmsg = 0x1
141463- SizeofNlAttr = 0x4
141464- SizeofRtAttr = 0x4
141465- SizeofIfInfomsg = 0x10
141466- SizeofIfAddrmsg = 0x8
141467- SizeofRtMsg = 0xc
141468- SizeofRtNexthop = 0x8
141469+ SizeofIovec = 0x10
141470+ SizeofMsghdr = 0x38
141471+ SizeofCmsghdr = 0x10
141472 )
141473
141474-type NlMsghdr struct {
141475- Len uint32
141476- Type uint16
141477- Flags uint16
141478- Seq uint32
141479- Pid uint32
141480-}
141481-
141482-type NlMsgerr struct {
141483- Error int32
141484- Msg NlMsghdr
141485-}
141486-
141487-type RtGenmsg struct {
141488- Family uint8
141489-}
141490-
141491-type NlAttr struct {
141492- Len uint16
141493- Type uint16
141494-}
141495-
141496-type RtAttr struct {
141497- Len uint16
141498- Type uint16
141499-}
141500-
141501-type IfInfomsg struct {
141502- Family uint8
141503- _ uint8
141504- Type uint16
141505- Index int32
141506- Flags uint32
141507- Change uint32
141508-}
141509-
141510-type IfAddrmsg struct {
141511- Family uint8
141512- Prefixlen uint8
141513- Flags uint8
141514- Scope uint8
141515- Index uint32
141516-}
141517-
141518-type RtMsg struct {
141519- Family uint8
141520- Dst_len uint8
141521- Src_len uint8
141522- Tos uint8
141523- Table uint8
141524- Protocol uint8
141525- Scope uint8
141526- Type uint8
141527- Flags uint32
141528-}
141529-
141530-type RtNexthop struct {
141531- Len uint16
141532- Flags uint8
141533- Hops uint8
141534- Ifindex int32
141535-}
141536-
141537 const (
141538- SizeofSockFilter = 0x8
141539- SizeofSockFprog = 0x10
141540+ SizeofSockFprog = 0x10
141541 )
141542
141543-type SockFilter struct {
141544- Code uint16
141545- Jt uint8
141546- Jf uint8
141547- K uint32
141548-}
141549-
141550-type SockFprog struct {
141551- Len uint16
141552- _ [6]byte
141553- Filter *SockFilter
141554-}
141555-
141556-type InotifyEvent struct {
141557- Wd int32
141558- Mask uint32
141559- Cookie uint32
141560- Len uint32
141561-}
141562-
141563-const SizeofInotifyEvent = 0x10
141564-
141565 type PtraceRegs struct {
141566 Psw PtracePsw
141567 Gprs [16]uint64
141568@@ -601,18 +181,15 @@ type PtracePsw struct {
141569
141570 type PtraceFpregs struct {
141571 Fpc uint32
141572- _ [4]byte
141573 Fprs [16]float64
141574 }
141575
141576 type PtracePer struct {
141577 _ [0]uint64
141578- _ [24]byte
141579- _ [8]byte
141580+ _ [32]byte
141581 Starting_addr uint64
141582 Ending_addr uint64
141583 Perc_atmid uint16
141584- _ [6]byte
141585 Address uint64
141586 Access_id uint8
141587 _ [7]byte
141588@@ -633,7 +210,6 @@ type Sysinfo_t struct {
141589 Freeswap uint64
141590 Procs uint16
141591 Pad uint16
141592- _ [4]byte
141593 Totalhigh uint64
141594 Freehigh uint64
141595 Unit uint32
141596@@ -641,18 +217,8 @@ type Sysinfo_t struct {
141597 _ [4]byte
141598 }
141599
141600-type Utsname struct {
141601- Sysname [65]int8
141602- Nodename [65]int8
141603- Release [65]int8
141604- Version [65]int8
141605- Machine [65]int8
141606- Domainname [65]int8
141607-}
141608-
141609 type Ustat_t struct {
141610 Tfree int32
141611- _ [4]byte
141612 Tinode uint64
141613 Fname [6]int8
141614 Fpack [6]int8
141615@@ -667,37 +233,14 @@ type EpollEvent struct {
141616 }
141617
141618 const (
141619- AT_FDCWD = -0x64
141620- AT_REMOVEDIR = 0x200
141621- AT_SYMLINK_FOLLOW = 0x400
141622- AT_SYMLINK_NOFOLLOW = 0x100
141623-)
141624-
141625-type PollFd struct {
141626- Fd int32
141627- Events int16
141628- Revents int16
141629-}
141630-
141631-const (
141632- POLLIN = 0x1
141633- POLLPRI = 0x2
141634- POLLOUT = 0x4
141635 POLLRDHUP = 0x2000
141636- POLLERR = 0x8
141637- POLLHUP = 0x10
141638- POLLNVAL = 0x20
141639 )
141640
141641 type Sigset_t struct {
141642- _ [16]uint64
141643+ Val [16]uint64
141644 }
141645
141646-const RNDGETENTCNT = 0x80045200
141647-
141648-const PERF_IOC_FLAG_GROUP = 0x1
141649-
141650-const _SC_PAGESIZE = 0x1e
141651+const _C__NSIG = 0x41
141652
141653 type Termios struct {
141654 Iflag uint32
141655@@ -710,20 +253,11 @@ type Termios struct {
141656 Ospeed uint32
141657 }
141658
141659-type Winsize struct {
141660- Row uint16
141661- Col uint16
141662- Xpixel uint16
141663- Ypixel uint16
141664-}
141665-
141666 type Taskstats struct {
141667 Version uint16
141668- _ [2]byte
141669 Ac_exitcode uint32
141670 Ac_flag uint8
141671 Ac_nice uint8
141672- _ [6]byte
141673 Cpu_count uint64
141674 Cpu_delay_total uint64
141675 Blkio_count uint64
141676@@ -741,7 +275,6 @@ type Taskstats struct {
141677 Ac_pid uint32
141678 Ac_ppid uint32
141679 Ac_btime uint32
141680- _ [4]byte
141681 Ac_etime uint64
141682 Ac_utime uint64
141683 Ac_stime uint64
141684@@ -765,55 +298,320 @@ type Taskstats struct {
141685 Cpu_scaled_run_real_total uint64
141686 Freepages_count uint64
141687 Freepages_delay_total uint64
141688+ Thrashing_count uint64
141689+ Thrashing_delay_total uint64
141690+ Ac_btime64 uint64
141691+}
141692+
141693+type cpuMask uint64
141694+
141695+const (
141696+ _NCPUBITS = 0x40
141697+)
141698+
141699+const (
141700+ CBitFieldMaskBit0 = 0x8000000000000000
141701+ CBitFieldMaskBit1 = 0x4000000000000000
141702+ CBitFieldMaskBit2 = 0x2000000000000000
141703+ CBitFieldMaskBit3 = 0x1000000000000000
141704+ CBitFieldMaskBit4 = 0x800000000000000
141705+ CBitFieldMaskBit5 = 0x400000000000000
141706+ CBitFieldMaskBit6 = 0x200000000000000
141707+ CBitFieldMaskBit7 = 0x100000000000000
141708+ CBitFieldMaskBit8 = 0x80000000000000
141709+ CBitFieldMaskBit9 = 0x40000000000000
141710+ CBitFieldMaskBit10 = 0x20000000000000
141711+ CBitFieldMaskBit11 = 0x10000000000000
141712+ CBitFieldMaskBit12 = 0x8000000000000
141713+ CBitFieldMaskBit13 = 0x4000000000000
141714+ CBitFieldMaskBit14 = 0x2000000000000
141715+ CBitFieldMaskBit15 = 0x1000000000000
141716+ CBitFieldMaskBit16 = 0x800000000000
141717+ CBitFieldMaskBit17 = 0x400000000000
141718+ CBitFieldMaskBit18 = 0x200000000000
141719+ CBitFieldMaskBit19 = 0x100000000000
141720+ CBitFieldMaskBit20 = 0x80000000000
141721+ CBitFieldMaskBit21 = 0x40000000000
141722+ CBitFieldMaskBit22 = 0x20000000000
141723+ CBitFieldMaskBit23 = 0x10000000000
141724+ CBitFieldMaskBit24 = 0x8000000000
141725+ CBitFieldMaskBit25 = 0x4000000000
141726+ CBitFieldMaskBit26 = 0x2000000000
141727+ CBitFieldMaskBit27 = 0x1000000000
141728+ CBitFieldMaskBit28 = 0x800000000
141729+ CBitFieldMaskBit29 = 0x400000000
141730+ CBitFieldMaskBit30 = 0x200000000
141731+ CBitFieldMaskBit31 = 0x100000000
141732+ CBitFieldMaskBit32 = 0x80000000
141733+ CBitFieldMaskBit33 = 0x40000000
141734+ CBitFieldMaskBit34 = 0x20000000
141735+ CBitFieldMaskBit35 = 0x10000000
141736+ CBitFieldMaskBit36 = 0x8000000
141737+ CBitFieldMaskBit37 = 0x4000000
141738+ CBitFieldMaskBit38 = 0x2000000
141739+ CBitFieldMaskBit39 = 0x1000000
141740+ CBitFieldMaskBit40 = 0x800000
141741+ CBitFieldMaskBit41 = 0x400000
141742+ CBitFieldMaskBit42 = 0x200000
141743+ CBitFieldMaskBit43 = 0x100000
141744+ CBitFieldMaskBit44 = 0x80000
141745+ CBitFieldMaskBit45 = 0x40000
141746+ CBitFieldMaskBit46 = 0x20000
141747+ CBitFieldMaskBit47 = 0x10000
141748+ CBitFieldMaskBit48 = 0x8000
141749+ CBitFieldMaskBit49 = 0x4000
141750+ CBitFieldMaskBit50 = 0x2000
141751+ CBitFieldMaskBit51 = 0x1000
141752+ CBitFieldMaskBit52 = 0x800
141753+ CBitFieldMaskBit53 = 0x400
141754+ CBitFieldMaskBit54 = 0x200
141755+ CBitFieldMaskBit55 = 0x100
141756+ CBitFieldMaskBit56 = 0x80
141757+ CBitFieldMaskBit57 = 0x40
141758+ CBitFieldMaskBit58 = 0x20
141759+ CBitFieldMaskBit59 = 0x10
141760+ CBitFieldMaskBit60 = 0x8
141761+ CBitFieldMaskBit61 = 0x4
141762+ CBitFieldMaskBit62 = 0x2
141763+ CBitFieldMaskBit63 = 0x1
141764+)
141765+
141766+type SockaddrStorage struct {
141767+ Family uint16
141768+ _ [118]int8
141769+ _ uint64
141770+}
141771+
141772+type HDGeometry struct {
141773+ Heads uint8
141774+ Sectors uint8
141775+ Cylinders uint16
141776+ Start uint64
141777+}
141778+
141779+type Statfs_t struct {
141780+ Type uint32
141781+ Bsize uint32
141782+ Blocks uint64
141783+ Bfree uint64
141784+ Bavail uint64
141785+ Files uint64
141786+ Ffree uint64
141787+ Fsid Fsid
141788+ Namelen uint32
141789+ Frsize uint32
141790+ Flags uint32
141791+ Spare [4]uint32
141792+ _ [4]byte
141793+}
141794+
141795+type TpacketHdr struct {
141796+ Status uint64
141797+ Len uint32
141798+ Snaplen uint32
141799+ Mac uint16
141800+ Net uint16
141801+ Sec uint32
141802+ Usec uint32
141803+ _ [4]byte
141804 }
141805
141806 const (
141807- TASKSTATS_CMD_UNSPEC = 0x0
141808- TASKSTATS_CMD_GET = 0x1
141809- TASKSTATS_CMD_NEW = 0x2
141810- TASKSTATS_TYPE_UNSPEC = 0x0
141811- TASKSTATS_TYPE_PID = 0x1
141812- TASKSTATS_TYPE_TGID = 0x2
141813- TASKSTATS_TYPE_STATS = 0x3
141814- TASKSTATS_TYPE_AGGR_PID = 0x4
141815- TASKSTATS_TYPE_AGGR_TGID = 0x5
141816- TASKSTATS_TYPE_NULL = 0x6
141817- TASKSTATS_CMD_ATTR_UNSPEC = 0x0
141818- TASKSTATS_CMD_ATTR_PID = 0x1
141819- TASKSTATS_CMD_ATTR_TGID = 0x2
141820- TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 0x3
141821- TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4
141822+ SizeofTpacketHdr = 0x20
141823 )
141824
141825-type Genlmsghdr struct {
141826- Cmd uint8
141827- Version uint8
141828- Reserved uint16
141829+type RTCPLLInfo struct {
141830+ Ctrl int32
141831+ Value int32
141832+ Max int32
141833+ Min int32
141834+ Posmult int32
141835+ Negmult int32
141836+ Clock int64
141837+}
141838+
141839+type BlkpgPartition struct {
141840+ Start int64
141841+ Length int64
141842+ Pno int32
141843+ Devname [64]uint8
141844+ Volname [64]uint8
141845+ _ [4]byte
141846 }
141847
141848 const (
141849- CTRL_CMD_UNSPEC = 0x0
141850- CTRL_CMD_NEWFAMILY = 0x1
141851- CTRL_CMD_DELFAMILY = 0x2
141852- CTRL_CMD_GETFAMILY = 0x3
141853- CTRL_CMD_NEWOPS = 0x4
141854- CTRL_CMD_DELOPS = 0x5
141855- CTRL_CMD_GETOPS = 0x6
141856- CTRL_CMD_NEWMCAST_GRP = 0x7
141857- CTRL_CMD_DELMCAST_GRP = 0x8
141858- CTRL_CMD_GETMCAST_GRP = 0x9
141859- CTRL_ATTR_UNSPEC = 0x0
141860- CTRL_ATTR_FAMILY_ID = 0x1
141861- CTRL_ATTR_FAMILY_NAME = 0x2
141862- CTRL_ATTR_VERSION = 0x3
141863- CTRL_ATTR_HDRSIZE = 0x4
141864- CTRL_ATTR_MAXATTR = 0x5
141865- CTRL_ATTR_OPS = 0x6
141866- CTRL_ATTR_MCAST_GROUPS = 0x7
141867- CTRL_ATTR_OP_UNSPEC = 0x0
141868- CTRL_ATTR_OP_ID = 0x1
141869- CTRL_ATTR_OP_FLAGS = 0x2
141870- CTRL_ATTR_MCAST_GRP_UNSPEC = 0x0
141871- CTRL_ATTR_MCAST_GRP_NAME = 0x1
141872- CTRL_ATTR_MCAST_GRP_ID = 0x2
141873+ BLKPG = 0x1269
141874 )
141875+
141876+type XDPUmemReg struct {
141877+ Addr uint64
141878+ Len uint64
141879+ Size uint32
141880+ Headroom uint32
141881+ Flags uint32
141882+ _ [4]byte
141883+}
141884+
141885+type CryptoUserAlg struct {
141886+ Name [64]int8
141887+ Driver_name [64]int8
141888+ Module_name [64]int8
141889+ Type uint32
141890+ Mask uint32
141891+ Refcnt uint32
141892+ Flags uint32
141893+}
141894+
141895+type CryptoStatAEAD struct {
141896+ Type [64]int8
141897+ Encrypt_cnt uint64
141898+ Encrypt_tlen uint64
141899+ Decrypt_cnt uint64
141900+ Decrypt_tlen uint64
141901+ Err_cnt uint64
141902+}
141903+
141904+type CryptoStatAKCipher struct {
141905+ Type [64]int8
141906+ Encrypt_cnt uint64
141907+ Encrypt_tlen uint64
141908+ Decrypt_cnt uint64
141909+ Decrypt_tlen uint64
141910+ Verify_cnt uint64
141911+ Sign_cnt uint64
141912+ Err_cnt uint64
141913+}
141914+
141915+type CryptoStatCipher struct {
141916+ Type [64]int8
141917+ Encrypt_cnt uint64
141918+ Encrypt_tlen uint64
141919+ Decrypt_cnt uint64
141920+ Decrypt_tlen uint64
141921+ Err_cnt uint64
141922+}
141923+
141924+type CryptoStatCompress struct {
141925+ Type [64]int8
141926+ Compress_cnt uint64
141927+ Compress_tlen uint64
141928+ Decompress_cnt uint64
141929+ Decompress_tlen uint64
141930+ Err_cnt uint64
141931+}
141932+
141933+type CryptoStatHash struct {
141934+ Type [64]int8
141935+ Hash_cnt uint64
141936+ Hash_tlen uint64
141937+ Err_cnt uint64
141938+}
141939+
141940+type CryptoStatKPP struct {
141941+ Type [64]int8
141942+ Setsecret_cnt uint64
141943+ Generate_public_key_cnt uint64
141944+ Compute_shared_secret_cnt uint64
141945+ Err_cnt uint64
141946+}
141947+
141948+type CryptoStatRNG struct {
141949+ Type [64]int8
141950+ Generate_cnt uint64
141951+ Generate_tlen uint64
141952+ Seed_cnt uint64
141953+ Err_cnt uint64
141954+}
141955+
141956+type CryptoStatLarval struct {
141957+ Type [64]int8
141958+}
141959+
141960+type CryptoReportLarval struct {
141961+ Type [64]int8
141962+}
141963+
141964+type CryptoReportHash struct {
141965+ Type [64]int8
141966+ Blocksize uint32
141967+ Digestsize uint32
141968+}
141969+
141970+type CryptoReportCipher struct {
141971+ Type [64]int8
141972+ Blocksize uint32
141973+ Min_keysize uint32
141974+ Max_keysize uint32
141975+}
141976+
141977+type CryptoReportBlkCipher struct {
141978+ Type [64]int8
141979+ Geniv [64]int8
141980+ Blocksize uint32
141981+ Min_keysize uint32
141982+ Max_keysize uint32
141983+ Ivsize uint32
141984+}
141985+
141986+type CryptoReportAEAD struct {
141987+ Type [64]int8
141988+ Geniv [64]int8
141989+ Blocksize uint32
141990+ Maxauthsize uint32
141991+ Ivsize uint32
141992+}
141993+
141994+type CryptoReportComp struct {
141995+ Type [64]int8
141996+}
141997+
141998+type CryptoReportRNG struct {
141999+ Type [64]int8
142000+ Seedsize uint32
142001+}
142002+
142003+type CryptoReportAKCipher struct {
142004+ Type [64]int8
142005+}
142006+
142007+type CryptoReportKPP struct {
142008+ Type [64]int8
142009+}
142010+
142011+type CryptoReportAcomp struct {
142012+ Type [64]int8
142013+}
142014+
142015+type LoopInfo struct {
142016+ Number int32
142017+ Device uint16
142018+ Inode uint64
142019+ Rdevice uint16
142020+ Offset int32
142021+ Encrypt_type int32
142022+ Encrypt_key_size int32
142023+ Flags int32
142024+ Name [64]int8
142025+ Encrypt_key [32]uint8
142026+ Init [2]uint64
142027+ Reserved [4]int8
142028+ _ [4]byte
142029+}
142030+
142031+type TIPCSubscr struct {
142032+ Seq TIPCServiceRange
142033+ Timeout uint32
142034+ Filter uint32
142035+ Handle [8]int8
142036+}
142037+
142038+type TIPCSIOCLNReq struct {
142039+ Peer uint32
142040+ Id uint32
142041+ Linkname [68]int8
142042+}
142043+
142044+type TIPCSIOCNodeIDReq struct {
142045+ Peer uint32
142046+ Id [16]int8
142047+}
142048diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go
142049index 22bdab96..33a73bf1 100644
142050--- a/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go
142051+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go
142052@@ -1,23 +1,17 @@
142053+// cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go
142054+// Code generated by the command above; see README.md. DO NOT EDIT.
142055+
142056 // +build sparc64,linux
142057-// Created by cgo -godefs - DO NOT EDIT
142058-// cgo -godefs types_linux.go | go run mkpost.go
142059
142060 package unix
142061
142062 const (
142063- sizeofPtr = 0x8
142064- sizeofShort = 0x2
142065- sizeofInt = 0x4
142066- sizeofLong = 0x8
142067- sizeofLongLong = 0x8
142068- PathMax = 0x1000
142069+ SizeofPtr = 0x8
142070+ SizeofLong = 0x8
142071 )
142072
142073 type (
142074- _C_short int16
142075- _C_int int32
142076- _C_long int64
142077- _C_long_long int64
142078+ _C_long int64
142079 )
142080
142081 type Timespec struct {
142082@@ -26,20 +20,18 @@ type Timespec struct {
142083 }
142084
142085 type Timeval struct {
142086- Sec int64
142087- Usec int32
142088- Pad_cgo_0 [4]byte
142089+ Sec int64
142090+ Usec int32
142091+ _ [4]byte
142092 }
142093
142094 type Timex struct {
142095 Modes uint32
142096- Pad_cgo_0 [4]byte
142097 Offset int64
142098 Freq int64
142099 Maxerror int64
142100 Esterror int64
142101 Status int32
142102- Pad_cgo_1 [4]byte
142103 Constant int64
142104 Precision int64
142105 Tolerance int64
142106@@ -48,14 +40,13 @@ type Timex struct {
142107 Ppsfreq int64
142108 Jitter int64
142109 Shift int32
142110- Pad_cgo_2 [4]byte
142111 Stabil int64
142112 Jitcnt int64
142113 Calcnt int64
142114 Errcnt int64
142115 Stbcnt int64
142116 Tai int32
142117- Pad_cgo_3 [44]byte
142118+ _ [44]byte
142119 }
142120
142121 type Time_t int64
142122@@ -91,149 +82,50 @@ type Rusage struct {
142123 Nivcsw int64
142124 }
142125
142126-type Rlimit struct {
142127- Cur uint64
142128- Max uint64
142129-}
142130-
142131-type _Gid_t uint32
142132-
142133 type Stat_t struct {
142134- Dev uint64
142135- X__pad1 uint16
142136- Pad_cgo_0 [6]byte
142137- Ino uint64
142138- Mode uint32
142139- Nlink uint32
142140- Uid uint32
142141- Gid uint32
142142- Rdev uint64
142143- X__pad2 uint16
142144- Pad_cgo_1 [6]byte
142145- Size int64
142146- Blksize int64
142147- Blocks int64
142148- Atim Timespec
142149- Mtim Timespec
142150- Ctim Timespec
142151- X__glibc_reserved4 uint64
142152- X__glibc_reserved5 uint64
142153-}
142154-
142155-type Statfs_t struct {
142156- Type int64
142157- Bsize int64
142158- Blocks uint64
142159- Bfree uint64
142160- Bavail uint64
142161- Files uint64
142162- Ffree uint64
142163- Fsid Fsid
142164- Namelen int64
142165- Frsize int64
142166- Flags int64
142167- Spare [4]int64
142168+ Dev uint64
142169+ _ uint16
142170+ Ino uint64
142171+ Mode uint32
142172+ Nlink uint32
142173+ Uid uint32
142174+ Gid uint32
142175+ Rdev uint64
142176+ _ uint16
142177+ Size int64
142178+ Blksize int64
142179+ Blocks int64
142180+ Atim Timespec
142181+ Mtim Timespec
142182+ Ctim Timespec
142183+ _ uint64
142184+ _ uint64
142185 }
142186
142187 type Dirent struct {
142188- Ino uint64
142189- Off int64
142190- Reclen uint16
142191- Type uint8
142192- Name [256]int8
142193- Pad_cgo_0 [5]byte
142194-}
142195-
142196-type Fsid struct {
142197- X__val [2]int32
142198+ Ino uint64
142199+ Off int64
142200+ Reclen uint16
142201+ Type uint8
142202+ Name [256]int8
142203+ _ [5]byte
142204 }
142205
142206 type Flock_t struct {
142207- Type int16
142208- Whence int16
142209- Pad_cgo_0 [4]byte
142210- Start int64
142211- Len int64
142212- Pid int32
142213- X__glibc_reserved int16
142214- Pad_cgo_1 [2]byte
142215+ Type int16
142216+ Whence int16
142217+ Start int64
142218+ Len int64
142219+ Pid int32
142220+ _ int16
142221+ _ [2]byte
142222 }
142223
142224 const (
142225- FADV_NORMAL = 0x0
142226- FADV_RANDOM = 0x1
142227- FADV_SEQUENTIAL = 0x2
142228- FADV_WILLNEED = 0x3
142229- FADV_DONTNEED = 0x4
142230- FADV_NOREUSE = 0x5
142231+ FADV_DONTNEED = 0x4
142232+ FADV_NOREUSE = 0x5
142233 )
142234
142235-type RawSockaddrInet4 struct {
142236- Family uint16
142237- Port uint16
142238- Addr [4]byte /* in_addr */
142239- Zero [8]uint8
142240-}
142241-
142242-type RawSockaddrInet6 struct {
142243- Family uint16
142244- Port uint16
142245- Flowinfo uint32
142246- Addr [16]byte /* in6_addr */
142247- Scope_id uint32
142248-}
142249-
142250-type RawSockaddrUnix struct {
142251- Family uint16
142252- Path [108]int8
142253-}
142254-
142255-type RawSockaddrLinklayer struct {
142256- Family uint16
142257- Protocol uint16
142258- Ifindex int32
142259- Hatype uint16
142260- Pkttype uint8
142261- Halen uint8
142262- Addr [8]uint8
142263-}
142264-
142265-type RawSockaddrNetlink struct {
142266- Family uint16
142267- Pad uint16
142268- Pid uint32
142269- Groups uint32
142270-}
142271-
142272-type RawSockaddrHCI struct {
142273- Family uint16
142274- Dev uint16
142275- Channel uint16
142276-}
142277-
142278-type RawSockaddrCAN struct {
142279- Family uint16
142280- Pad_cgo_0 [2]byte
142281- Ifindex int32
142282- Addr [8]byte
142283-}
142284-
142285-type RawSockaddrALG struct {
142286- Family uint16
142287- Type [14]uint8
142288- Feat uint32
142289- Mask uint32
142290- Name [64]uint8
142291-}
142292-
142293-type RawSockaddrVM struct {
142294- Family uint16
142295- Reserved1 uint16
142296- Port uint32
142297- Cid uint32
142298- Zero [4]uint8
142299-}
142300-
142301 type RawSockaddr struct {
142302 Family uint16
142303 Data [14]int8
142304@@ -244,44 +136,20 @@ type RawSockaddrAny struct {
142305 Pad [96]int8
142306 }
142307
142308-type _Socklen uint32
142309-
142310-type Linger struct {
142311- Onoff int32
142312- Linger int32
142313-}
142314-
142315 type Iovec struct {
142316 Base *byte
142317 Len uint64
142318 }
142319
142320-type IPMreq struct {
142321- Multiaddr [4]byte /* in_addr */
142322- Interface [4]byte /* in_addr */
142323-}
142324-
142325-type IPMreqn struct {
142326- Multiaddr [4]byte /* in_addr */
142327- Address [4]byte /* in_addr */
142328- Ifindex int32
142329-}
142330-
142331-type IPv6Mreq struct {
142332- Multiaddr [16]byte /* in6_addr */
142333- Interface uint32
142334-}
142335-
142336 type Msghdr struct {
142337 Name *byte
142338 Namelen uint32
142339- Pad_cgo_0 [4]byte
142340 Iov *Iovec
142341 Iovlen uint64
142342 Control *byte
142343 Controllen uint64
142344 Flags int32
142345- Pad_cgo_1 [4]byte
142346+ _ [4]byte
142347 }
142348
142349 type Cmsghdr struct {
142350@@ -290,377 +158,441 @@ type Cmsghdr struct {
142351 Type int32
142352 }
142353
142354-type Inet4Pktinfo struct {
142355- Ifindex int32
142356- Spec_dst [4]byte /* in_addr */
142357- Addr [4]byte /* in_addr */
142358-}
142359-
142360-type Inet6Pktinfo struct {
142361- Addr [16]byte /* in6_addr */
142362- Ifindex uint32
142363-}
142364-
142365-type IPv6MTUInfo struct {
142366- Addr RawSockaddrInet6
142367- Mtu uint32
142368-}
142369-
142370-type ICMPv6Filter struct {
142371- Data [8]uint32
142372-}
142373-
142374-type Ucred struct {
142375- Pid int32
142376- Uid uint32
142377- Gid uint32
142378-}
142379-
142380-type TCPInfo struct {
142381- State uint8
142382- Ca_state uint8
142383- Retransmits uint8
142384- Probes uint8
142385- Backoff uint8
142386- Options uint8
142387- Pad_cgo_0 [2]byte
142388- Rto uint32
142389- Ato uint32
142390- Snd_mss uint32
142391- Rcv_mss uint32
142392- Unacked uint32
142393- Sacked uint32
142394- Lost uint32
142395- Retrans uint32
142396- Fackets uint32
142397- Last_data_sent uint32
142398- Last_ack_sent uint32
142399- Last_data_recv uint32
142400- Last_ack_recv uint32
142401- Pmtu uint32
142402- Rcv_ssthresh uint32
142403- Rtt uint32
142404- Rttvar uint32
142405- Snd_ssthresh uint32
142406- Snd_cwnd uint32
142407- Advmss uint32
142408- Reordering uint32
142409- Rcv_rtt uint32
142410- Rcv_space uint32
142411- Total_retrans uint32
142412-}
142413-
142414 const (
142415- SizeofSockaddrInet4 = 0x10
142416- SizeofSockaddrInet6 = 0x1c
142417- SizeofSockaddrAny = 0x70
142418- SizeofSockaddrUnix = 0x6e
142419- SizeofSockaddrLinklayer = 0x14
142420- SizeofSockaddrNetlink = 0xc
142421- SizeofSockaddrHCI = 0x6
142422- SizeofSockaddrCAN = 0x10
142423- SizeofSockaddrALG = 0x58
142424- SizeofSockaddrVM = 0x10
142425- SizeofLinger = 0x8
142426- SizeofIPMreq = 0x8
142427- SizeofIPMreqn = 0xc
142428- SizeofIPv6Mreq = 0x14
142429- SizeofMsghdr = 0x38
142430- SizeofCmsghdr = 0x10
142431- SizeofInet4Pktinfo = 0xc
142432- SizeofInet6Pktinfo = 0x14
142433- SizeofIPv6MTUInfo = 0x20
142434- SizeofICMPv6Filter = 0x20
142435- SizeofUcred = 0xc
142436- SizeofTCPInfo = 0x68
142437+ SizeofIovec = 0x10
142438+ SizeofMsghdr = 0x38
142439+ SizeofCmsghdr = 0x10
142440 )
142441
142442 const (
142443- IFA_UNSPEC = 0x0
142444- IFA_ADDRESS = 0x1
142445- IFA_LOCAL = 0x2
142446- IFA_LABEL = 0x3
142447- IFA_BROADCAST = 0x4
142448- IFA_ANYCAST = 0x5
142449- IFA_CACHEINFO = 0x6
142450- IFA_MULTICAST = 0x7
142451- IFLA_UNSPEC = 0x0
142452- IFLA_ADDRESS = 0x1
142453- IFLA_BROADCAST = 0x2
142454- IFLA_IFNAME = 0x3
142455- IFLA_MTU = 0x4
142456- IFLA_LINK = 0x5
142457- IFLA_QDISC = 0x6
142458- IFLA_STATS = 0x7
142459- IFLA_COST = 0x8
142460- IFLA_PRIORITY = 0x9
142461- IFLA_MASTER = 0xa
142462- IFLA_WIRELESS = 0xb
142463- IFLA_PROTINFO = 0xc
142464- IFLA_TXQLEN = 0xd
142465- IFLA_MAP = 0xe
142466- IFLA_WEIGHT = 0xf
142467- IFLA_OPERSTATE = 0x10
142468- IFLA_LINKMODE = 0x11
142469- IFLA_LINKINFO = 0x12
142470- IFLA_NET_NS_PID = 0x13
142471- IFLA_IFALIAS = 0x14
142472- IFLA_MAX = 0x2a
142473- RT_SCOPE_UNIVERSE = 0x0
142474- RT_SCOPE_SITE = 0xc8
142475- RT_SCOPE_LINK = 0xfd
142476- RT_SCOPE_HOST = 0xfe
142477- RT_SCOPE_NOWHERE = 0xff
142478- RT_TABLE_UNSPEC = 0x0
142479- RT_TABLE_COMPAT = 0xfc
142480- RT_TABLE_DEFAULT = 0xfd
142481- RT_TABLE_MAIN = 0xfe
142482- RT_TABLE_LOCAL = 0xff
142483- RT_TABLE_MAX = 0xffffffff
142484- RTA_UNSPEC = 0x0
142485- RTA_DST = 0x1
142486- RTA_SRC = 0x2
142487- RTA_IIF = 0x3
142488- RTA_OIF = 0x4
142489- RTA_GATEWAY = 0x5
142490- RTA_PRIORITY = 0x6
142491- RTA_PREFSRC = 0x7
142492- RTA_METRICS = 0x8
142493- RTA_MULTIPATH = 0x9
142494- RTA_FLOW = 0xb
142495- RTA_CACHEINFO = 0xc
142496- RTA_TABLE = 0xf
142497- RTN_UNSPEC = 0x0
142498- RTN_UNICAST = 0x1
142499- RTN_LOCAL = 0x2
142500- RTN_BROADCAST = 0x3
142501- RTN_ANYCAST = 0x4
142502- RTN_MULTICAST = 0x5
142503- RTN_BLACKHOLE = 0x6
142504- RTN_UNREACHABLE = 0x7
142505- RTN_PROHIBIT = 0x8
142506- RTN_THROW = 0x9
142507- RTN_NAT = 0xa
142508- RTN_XRESOLVE = 0xb
142509- RTNLGRP_NONE = 0x0
142510- RTNLGRP_LINK = 0x1
142511- RTNLGRP_NOTIFY = 0x2
142512- RTNLGRP_NEIGH = 0x3
142513- RTNLGRP_TC = 0x4
142514- RTNLGRP_IPV4_IFADDR = 0x5
142515- RTNLGRP_IPV4_MROUTE = 0x6
142516- RTNLGRP_IPV4_ROUTE = 0x7
142517- RTNLGRP_IPV4_RULE = 0x8
142518- RTNLGRP_IPV6_IFADDR = 0x9
142519- RTNLGRP_IPV6_MROUTE = 0xa
142520- RTNLGRP_IPV6_ROUTE = 0xb
142521- RTNLGRP_IPV6_IFINFO = 0xc
142522- RTNLGRP_IPV6_PREFIX = 0x12
142523- RTNLGRP_IPV6_RULE = 0x13
142524- RTNLGRP_ND_USEROPT = 0x14
142525- SizeofNlMsghdr = 0x10
142526- SizeofNlMsgerr = 0x14
142527- SizeofRtGenmsg = 0x1
142528- SizeofNlAttr = 0x4
142529- SizeofRtAttr = 0x4
142530- SizeofIfInfomsg = 0x10
142531- SizeofIfAddrmsg = 0x8
142532- SizeofRtMsg = 0xc
142533- SizeofRtNexthop = 0x8
142534+ SizeofSockFprog = 0x10
142535 )
142536
142537-type NlMsghdr struct {
142538- Len uint32
142539- Type uint16
142540- Flags uint16
142541- Seq uint32
142542- Pid uint32
142543+type PtraceRegs struct {
142544+ Regs [16]uint64
142545+ Tstate uint64
142546+ Tpc uint64
142547+ Tnpc uint64
142548+ Y uint32
142549+ Magic uint32
142550 }
142551
142552-type NlMsgerr struct {
142553- Error int32
142554- Msg NlMsghdr
142555+type FdSet struct {
142556+ Bits [16]int64
142557 }
142558
142559-type RtGenmsg struct {
142560- Family uint8
142561+type Sysinfo_t struct {
142562+ Uptime int64
142563+ Loads [3]uint64
142564+ Totalram uint64
142565+ Freeram uint64
142566+ Sharedram uint64
142567+ Bufferram uint64
142568+ Totalswap uint64
142569+ Freeswap uint64
142570+ Procs uint16
142571+ Pad uint16
142572+ Totalhigh uint64
142573+ Freehigh uint64
142574+ Unit uint32
142575+ _ [0]int8
142576+ _ [4]byte
142577 }
142578
142579-type NlAttr struct {
142580- Len uint16
142581- Type uint16
142582+type Ustat_t struct {
142583+ Tfree int32
142584+ Tinode uint64
142585+ Fname [6]int8
142586+ Fpack [6]int8
142587+ _ [4]byte
142588 }
142589
142590-type RtAttr struct {
142591- Len uint16
142592- Type uint16
142593+type EpollEvent struct {
142594+ Events uint32
142595+ _ int32
142596+ Fd int32
142597+ Pad int32
142598 }
142599
142600-type IfInfomsg struct {
142601- Family uint8
142602- X__ifi_pad uint8
142603- Type uint16
142604- Index int32
142605- Flags uint32
142606- Change uint32
142607+const (
142608+ POLLRDHUP = 0x800
142609+)
142610+
142611+type Sigset_t struct {
142612+ Val [16]uint64
142613 }
142614
142615-type IfAddrmsg struct {
142616- Family uint8
142617- Prefixlen uint8
142618- Flags uint8
142619- Scope uint8
142620- Index uint32
142621+const _C__NSIG = 0x41
142622+
142623+type Termios struct {
142624+ Iflag uint32
142625+ Oflag uint32
142626+ Cflag uint32
142627+ Lflag uint32
142628+ Line uint8
142629+ Cc [19]uint8
142630+ Ispeed uint32
142631+ Ospeed uint32
142632 }
142633
142634-type RtMsg struct {
142635- Family uint8
142636- Dst_len uint8
142637- Src_len uint8
142638- Tos uint8
142639- Table uint8
142640- Protocol uint8
142641- Scope uint8
142642- Type uint8
142643- Flags uint32
142644+type Taskstats struct {
142645+ Version uint16
142646+ Ac_exitcode uint32
142647+ Ac_flag uint8
142648+ Ac_nice uint8
142649+ Cpu_count uint64
142650+ Cpu_delay_total uint64
142651+ Blkio_count uint64
142652+ Blkio_delay_total uint64
142653+ Swapin_count uint64
142654+ Swapin_delay_total uint64
142655+ Cpu_run_real_total uint64
142656+ Cpu_run_virtual_total uint64
142657+ Ac_comm [32]int8
142658+ Ac_sched uint8
142659+ Ac_pad [3]uint8
142660+ _ [4]byte
142661+ Ac_uid uint32
142662+ Ac_gid uint32
142663+ Ac_pid uint32
142664+ Ac_ppid uint32
142665+ Ac_btime uint32
142666+ Ac_etime uint64
142667+ Ac_utime uint64
142668+ Ac_stime uint64
142669+ Ac_minflt uint64
142670+ Ac_majflt uint64
142671+ Coremem uint64
142672+ Virtmem uint64
142673+ Hiwater_rss uint64
142674+ Hiwater_vm uint64
142675+ Read_char uint64
142676+ Write_char uint64
142677+ Read_syscalls uint64
142678+ Write_syscalls uint64
142679+ Read_bytes uint64
142680+ Write_bytes uint64
142681+ Cancelled_write_bytes uint64
142682+ Nvcsw uint64
142683+ Nivcsw uint64
142684+ Ac_utimescaled uint64
142685+ Ac_stimescaled uint64
142686+ Cpu_scaled_run_real_total uint64
142687+ Freepages_count uint64
142688+ Freepages_delay_total uint64
142689+ Thrashing_count uint64
142690+ Thrashing_delay_total uint64
142691+ Ac_btime64 uint64
142692+}
142693+
142694+type cpuMask uint64
142695+
142696+const (
142697+ _NCPUBITS = 0x40
142698+)
142699+
142700+const (
142701+ CBitFieldMaskBit0 = 0x8000000000000000
142702+ CBitFieldMaskBit1 = 0x4000000000000000
142703+ CBitFieldMaskBit2 = 0x2000000000000000
142704+ CBitFieldMaskBit3 = 0x1000000000000000
142705+ CBitFieldMaskBit4 = 0x800000000000000
142706+ CBitFieldMaskBit5 = 0x400000000000000
142707+ CBitFieldMaskBit6 = 0x200000000000000
142708+ CBitFieldMaskBit7 = 0x100000000000000
142709+ CBitFieldMaskBit8 = 0x80000000000000
142710+ CBitFieldMaskBit9 = 0x40000000000000
142711+ CBitFieldMaskBit10 = 0x20000000000000
142712+ CBitFieldMaskBit11 = 0x10000000000000
142713+ CBitFieldMaskBit12 = 0x8000000000000
142714+ CBitFieldMaskBit13 = 0x4000000000000
142715+ CBitFieldMaskBit14 = 0x2000000000000
142716+ CBitFieldMaskBit15 = 0x1000000000000
142717+ CBitFieldMaskBit16 = 0x800000000000
142718+ CBitFieldMaskBit17 = 0x400000000000
142719+ CBitFieldMaskBit18 = 0x200000000000
142720+ CBitFieldMaskBit19 = 0x100000000000
142721+ CBitFieldMaskBit20 = 0x80000000000
142722+ CBitFieldMaskBit21 = 0x40000000000
142723+ CBitFieldMaskBit22 = 0x20000000000
142724+ CBitFieldMaskBit23 = 0x10000000000
142725+ CBitFieldMaskBit24 = 0x8000000000
142726+ CBitFieldMaskBit25 = 0x4000000000
142727+ CBitFieldMaskBit26 = 0x2000000000
142728+ CBitFieldMaskBit27 = 0x1000000000
142729+ CBitFieldMaskBit28 = 0x800000000
142730+ CBitFieldMaskBit29 = 0x400000000
142731+ CBitFieldMaskBit30 = 0x200000000
142732+ CBitFieldMaskBit31 = 0x100000000
142733+ CBitFieldMaskBit32 = 0x80000000
142734+ CBitFieldMaskBit33 = 0x40000000
142735+ CBitFieldMaskBit34 = 0x20000000
142736+ CBitFieldMaskBit35 = 0x10000000
142737+ CBitFieldMaskBit36 = 0x8000000
142738+ CBitFieldMaskBit37 = 0x4000000
142739+ CBitFieldMaskBit38 = 0x2000000
142740+ CBitFieldMaskBit39 = 0x1000000
142741+ CBitFieldMaskBit40 = 0x800000
142742+ CBitFieldMaskBit41 = 0x400000
142743+ CBitFieldMaskBit42 = 0x200000
142744+ CBitFieldMaskBit43 = 0x100000
142745+ CBitFieldMaskBit44 = 0x80000
142746+ CBitFieldMaskBit45 = 0x40000
142747+ CBitFieldMaskBit46 = 0x20000
142748+ CBitFieldMaskBit47 = 0x10000
142749+ CBitFieldMaskBit48 = 0x8000
142750+ CBitFieldMaskBit49 = 0x4000
142751+ CBitFieldMaskBit50 = 0x2000
142752+ CBitFieldMaskBit51 = 0x1000
142753+ CBitFieldMaskBit52 = 0x800
142754+ CBitFieldMaskBit53 = 0x400
142755+ CBitFieldMaskBit54 = 0x200
142756+ CBitFieldMaskBit55 = 0x100
142757+ CBitFieldMaskBit56 = 0x80
142758+ CBitFieldMaskBit57 = 0x40
142759+ CBitFieldMaskBit58 = 0x20
142760+ CBitFieldMaskBit59 = 0x10
142761+ CBitFieldMaskBit60 = 0x8
142762+ CBitFieldMaskBit61 = 0x4
142763+ CBitFieldMaskBit62 = 0x2
142764+ CBitFieldMaskBit63 = 0x1
142765+)
142766+
142767+type SockaddrStorage struct {
142768+ Family uint16
142769+ _ [118]int8
142770+ _ uint64
142771+}
142772+
142773+type HDGeometry struct {
142774+ Heads uint8
142775+ Sectors uint8
142776+ Cylinders uint16
142777+ Start uint64
142778+}
142779+
142780+type Statfs_t struct {
142781+ Type int64
142782+ Bsize int64
142783+ Blocks uint64
142784+ Bfree uint64
142785+ Bavail uint64
142786+ Files uint64
142787+ Ffree uint64
142788+ Fsid Fsid
142789+ Namelen int64
142790+ Frsize int64
142791+ Flags int64
142792+ Spare [4]int64
142793 }
142794
142795-type RtNexthop struct {
142796- Len uint16
142797- Flags uint8
142798- Hops uint8
142799- Ifindex int32
142800+type TpacketHdr struct {
142801+ Status uint64
142802+ Len uint32
142803+ Snaplen uint32
142804+ Mac uint16
142805+ Net uint16
142806+ Sec uint32
142807+ Usec uint32
142808+ _ [4]byte
142809 }
142810
142811 const (
142812- SizeofSockFilter = 0x8
142813- SizeofSockFprog = 0x10
142814+ SizeofTpacketHdr = 0x20
142815 )
142816
142817-type SockFilter struct {
142818- Code uint16
142819- Jt uint8
142820- Jf uint8
142821- K uint32
142822+type RTCPLLInfo struct {
142823+ Ctrl int32
142824+ Value int32
142825+ Max int32
142826+ Min int32
142827+ Posmult int32
142828+ Negmult int32
142829+ Clock int64
142830 }
142831
142832-type SockFprog struct {
142833- Len uint16
142834- Pad_cgo_0 [6]byte
142835- Filter *SockFilter
142836+type BlkpgPartition struct {
142837+ Start int64
142838+ Length int64
142839+ Pno int32
142840+ Devname [64]uint8
142841+ Volname [64]uint8
142842+ _ [4]byte
142843 }
142844
142845-type InotifyEvent struct {
142846- Wd int32
142847- Mask uint32
142848- Cookie uint32
142849- Len uint32
142850+const (
142851+ BLKPG = 0x20001269
142852+)
142853+
142854+type XDPUmemReg struct {
142855+ Addr uint64
142856+ Len uint64
142857+ Size uint32
142858+ Headroom uint32
142859+ Flags uint32
142860+ _ [4]byte
142861 }
142862
142863-const SizeofInotifyEvent = 0x10
142864+type CryptoUserAlg struct {
142865+ Name [64]int8
142866+ Driver_name [64]int8
142867+ Module_name [64]int8
142868+ Type uint32
142869+ Mask uint32
142870+ Refcnt uint32
142871+ Flags uint32
142872+}
142873
142874-type PtraceRegs struct {
142875- Regs [16]uint64
142876- Tstate uint64
142877- Tpc uint64
142878- Tnpc uint64
142879- Y uint32
142880- Magic uint32
142881+type CryptoStatAEAD struct {
142882+ Type [64]int8
142883+ Encrypt_cnt uint64
142884+ Encrypt_tlen uint64
142885+ Decrypt_cnt uint64
142886+ Decrypt_tlen uint64
142887+ Err_cnt uint64
142888 }
142889
142890-type ptracePsw struct {
142891+type CryptoStatAKCipher struct {
142892+ Type [64]int8
142893+ Encrypt_cnt uint64
142894+ Encrypt_tlen uint64
142895+ Decrypt_cnt uint64
142896+ Decrypt_tlen uint64
142897+ Verify_cnt uint64
142898+ Sign_cnt uint64
142899+ Err_cnt uint64
142900 }
142901
142902-type ptraceFpregs struct {
142903+type CryptoStatCipher struct {
142904+ Type [64]int8
142905+ Encrypt_cnt uint64
142906+ Encrypt_tlen uint64
142907+ Decrypt_cnt uint64
142908+ Decrypt_tlen uint64
142909+ Err_cnt uint64
142910 }
142911
142912-type ptracePer struct {
142913+type CryptoStatCompress struct {
142914+ Type [64]int8
142915+ Compress_cnt uint64
142916+ Compress_tlen uint64
142917+ Decompress_cnt uint64
142918+ Decompress_tlen uint64
142919+ Err_cnt uint64
142920 }
142921
142922-type FdSet struct {
142923- Bits [16]int64
142924+type CryptoStatHash struct {
142925+ Type [64]int8
142926+ Hash_cnt uint64
142927+ Hash_tlen uint64
142928+ Err_cnt uint64
142929 }
142930
142931-type Sysinfo_t struct {
142932- Uptime int64
142933- Loads [3]uint64
142934- Totalram uint64
142935- Freeram uint64
142936- Sharedram uint64
142937- Bufferram uint64
142938- Totalswap uint64
142939- Freeswap uint64
142940- Procs uint16
142941- Pad uint16
142942- Pad_cgo_0 [4]byte
142943- Totalhigh uint64
142944- Freehigh uint64
142945- Unit uint32
142946- X_f [0]int8
142947- Pad_cgo_1 [4]byte
142948+type CryptoStatKPP struct {
142949+ Type [64]int8
142950+ Setsecret_cnt uint64
142951+ Generate_public_key_cnt uint64
142952+ Compute_shared_secret_cnt uint64
142953+ Err_cnt uint64
142954 }
142955
142956-type Utsname struct {
142957- Sysname [65]int8
142958- Nodename [65]int8
142959- Release [65]int8
142960- Version [65]int8
142961- Machine [65]int8
142962- Domainname [65]int8
142963+type CryptoStatRNG struct {
142964+ Type [64]int8
142965+ Generate_cnt uint64
142966+ Generate_tlen uint64
142967+ Seed_cnt uint64
142968+ Err_cnt uint64
142969 }
142970
142971-type Ustat_t struct {
142972- Tfree int32
142973- Pad_cgo_0 [4]byte
142974- Tinode uint64
142975- Fname [6]int8
142976- Fpack [6]int8
142977- Pad_cgo_1 [4]byte
142978+type CryptoStatLarval struct {
142979+ Type [64]int8
142980 }
142981
142982-type EpollEvent struct {
142983- Events uint32
142984- X_padFd int32
142985- Fd int32
142986- Pad int32
142987+type CryptoReportLarval struct {
142988+ Type [64]int8
142989 }
142990
142991-const (
142992- AT_FDCWD = -0x64
142993- AT_REMOVEDIR = 0x200
142994- AT_SYMLINK_FOLLOW = 0x400
142995- AT_SYMLINK_NOFOLLOW = 0x100
142996-)
142997+type CryptoReportHash struct {
142998+ Type [64]int8
142999+ Blocksize uint32
143000+ Digestsize uint32
143001+}
143002
143003-type PollFd struct {
143004- Fd int32
143005- Events int16
143006- Revents int16
143007+type CryptoReportCipher struct {
143008+ Type [64]int8
143009+ Blocksize uint32
143010+ Min_keysize uint32
143011+ Max_keysize uint32
143012 }
143013
143014-const (
143015- POLLIN = 0x1
143016- POLLPRI = 0x2
143017- POLLOUT = 0x4
143018- POLLRDHUP = 0x800
143019- POLLERR = 0x8
143020- POLLHUP = 0x10
143021- POLLNVAL = 0x20
143022-)
143023+type CryptoReportBlkCipher struct {
143024+ Type [64]int8
143025+ Geniv [64]int8
143026+ Blocksize uint32
143027+ Min_keysize uint32
143028+ Max_keysize uint32
143029+ Ivsize uint32
143030+}
143031
143032-type Sigset_t struct {
143033- X__val [16]uint64
143034+type CryptoReportAEAD struct {
143035+ Type [64]int8
143036+ Geniv [64]int8
143037+ Blocksize uint32
143038+ Maxauthsize uint32
143039+ Ivsize uint32
143040 }
143041
143042-const _SC_PAGESIZE = 0x1e
143043+type CryptoReportComp struct {
143044+ Type [64]int8
143045+}
143046
143047-type Termios struct {
143048- Iflag uint32
143049- Oflag uint32
143050- Cflag uint32
143051- Lflag uint32
143052- Line uint8
143053- Cc [19]uint8
143054- Ispeed uint32
143055- Ospeed uint32
143056+type CryptoReportRNG struct {
143057+ Type [64]int8
143058+ Seedsize uint32
143059+}
143060+
143061+type CryptoReportAKCipher struct {
143062+ Type [64]int8
143063+}
143064+
143065+type CryptoReportKPP struct {
143066+ Type [64]int8
143067+}
143068+
143069+type CryptoReportAcomp struct {
143070+ Type [64]int8
143071+}
143072+
143073+type LoopInfo struct {
143074+ Number int32
143075+ Device uint32
143076+ Inode uint64
143077+ Rdevice uint32
143078+ Offset int32
143079+ Encrypt_type int32
143080+ Encrypt_key_size int32
143081+ Flags int32
143082+ Name [64]int8
143083+ Encrypt_key [32]uint8
143084+ Init [2]uint64
143085+ Reserved [4]int8
143086+ _ [4]byte
143087+}
143088+
143089+type TIPCSubscr struct {
143090+ Seq TIPCServiceRange
143091+ Timeout uint32
143092+ Filter uint32
143093+ Handle [8]int8
143094+}
143095+
143096+type TIPCSIOCLNReq struct {
143097+ Peer uint32
143098+ Id uint32
143099+ Linkname [68]int8
143100+}
143101+
143102+type TIPCSIOCNodeIDReq struct {
143103+ Peer uint32
143104+ Id [16]int8
143105 }
143106diff --git a/vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go b/vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go
143107index 42f99c0a..a89100c0 100644
143108--- a/vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go
143109+++ b/vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go
143110@@ -1,16 +1,16 @@
143111-// Created by cgo -godefs - DO NOT EDIT
143112-// cgo -godefs types_netbsd.go
143113+// cgo -godefs types_netbsd.go | go run mkpost.go
143114+// Code generated by the command above; see README.md. DO NOT EDIT.
143115
143116 // +build 386,netbsd
143117
143118 package unix
143119
143120 const (
143121- sizeofPtr = 0x4
143122- sizeofShort = 0x2
143123- sizeofInt = 0x4
143124- sizeofLong = 0x4
143125- sizeofLongLong = 0x8
143126+ SizeofPtr = 0x4
143127+ SizeofShort = 0x2
143128+ SizeofInt = 0x4
143129+ SizeofLong = 0x4
143130+ SizeofLongLong = 0x8
143131 )
143132
143133 type (
143134@@ -57,27 +57,54 @@ type Rlimit struct {
143135 type _Gid_t uint32
143136
143137 type Stat_t struct {
143138- Dev uint64
143139- Mode uint32
143140- Ino uint64
143141- Nlink uint32
143142- Uid uint32
143143- Gid uint32
143144- Rdev uint64
143145- Atimespec Timespec
143146- Mtimespec Timespec
143147- Ctimespec Timespec
143148- Birthtimespec Timespec
143149- Size int64
143150- Blocks int64
143151- Blksize uint32
143152- Flags uint32
143153- Gen uint32
143154- Spare [2]uint32
143155+ Dev uint64
143156+ Mode uint32
143157+ Ino uint64
143158+ Nlink uint32
143159+ Uid uint32
143160+ Gid uint32
143161+ Rdev uint64
143162+ Atim Timespec
143163+ Mtim Timespec
143164+ Ctim Timespec
143165+ Btim Timespec
143166+ Size int64
143167+ Blocks int64
143168+ Blksize uint32
143169+ Flags uint32
143170+ Gen uint32
143171+ Spare [2]uint32
143172 }
143173
143174 type Statfs_t [0]byte
143175
143176+type Statvfs_t struct {
143177+ Flag uint32
143178+ Bsize uint32
143179+ Frsize uint32
143180+ Iosize uint32
143181+ Blocks uint64
143182+ Bfree uint64
143183+ Bavail uint64
143184+ Bresvd uint64
143185+ Files uint64
143186+ Ffree uint64
143187+ Favail uint64
143188+ Fresvd uint64
143189+ Syncreads uint64
143190+ Syncwrites uint64
143191+ Asyncreads uint64
143192+ Asyncwrites uint64
143193+ Fsidx Fsid
143194+ Fsid uint32
143195+ Namemax uint32
143196+ Owner uint32
143197+ Spare [4]uint32
143198+ Fstypename [32]byte
143199+ Mntonname [1024]byte
143200+ Mntfromname [1024]byte
143201+}
143202+
143203 type Flock_t struct {
143204 Start int64
143205 Len int64
143206@@ -99,6 +126,24 @@ type Fsid struct {
143207 X__fsid_val [2]int32
143208 }
143209
143210+const (
143211+ PathMax = 0x400
143212+)
143213+
143214+const (
143215+ ST_WAIT = 0x1
143216+ ST_NOWAIT = 0x2
143217+)
143218+
143219+const (
143220+ FADV_NORMAL = 0x0
143221+ FADV_RANDOM = 0x1
143222+ FADV_SEQUENTIAL = 0x2
143223+ FADV_WILLNEED = 0x3
143224+ FADV_DONTNEED = 0x4
143225+ FADV_NOREUSE = 0x5
143226+)
143227+
143228 type RawSockaddrInet4 struct {
143229 Len uint8
143230 Family uint8
143231@@ -382,11 +427,45 @@ type Termios struct {
143232 Ospeed int32
143233 }
143234
143235+type Winsize struct {
143236+ Row uint16
143237+ Col uint16
143238+ Xpixel uint16
143239+ Ypixel uint16
143240+}
143241+
143242+type Ptmget struct {
143243+ Cfd int32
143244+ Sfd int32
143245+ Cn [1024]byte
143246+ Sn [1024]byte
143247+}
143248+
143249 const (
143250 AT_FDCWD = -0x64
143251+ AT_SYMLINK_FOLLOW = 0x400
143252 AT_SYMLINK_NOFOLLOW = 0x200
143253 )
143254
143255+type PollFd struct {
143256+ Fd int32
143257+ Events int16
143258+ Revents int16
143259+}
143260+
143261+const (
143262+ POLLERR = 0x8
143263+ POLLHUP = 0x10
143264+ POLLIN = 0x1
143265+ POLLNVAL = 0x20
143266+ POLLOUT = 0x4
143267+ POLLPRI = 0x2
143268+ POLLRDBAND = 0x80
143269+ POLLRDNORM = 0x40
143270+ POLLWRBAND = 0x100
143271+ POLLWRNORM = 0x4
143272+)
143273+
143274 type Sysctlnode struct {
143275 Flags uint32
143276 Num int32
143277@@ -399,3 +478,21 @@ type Sysctlnode struct {
143278 X_sysctl_parent [8]byte
143279 X_sysctl_desc [8]byte
143280 }
143281+
143282+type Utsname struct {
143283+ Sysname [256]byte
143284+ Nodename [256]byte
143285+ Release [256]byte
143286+ Version [256]byte
143287+ Machine [256]byte
143288+}
143289+
143290+const SizeofClockinfo = 0x14
143291+
143292+type Clockinfo struct {
143293+ Hz int32
143294+ Tick int32
143295+ Tickadj int32
143296+ Stathz int32
143297+ Profhz int32
143298+}
143299diff --git a/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go
143300index ff290ba0..289184e0 100644
143301--- a/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go
143302+++ b/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go
143303@@ -1,16 +1,16 @@
143304-// Created by cgo -godefs - DO NOT EDIT
143305-// cgo -godefs types_netbsd.go
143306+// cgo -godefs types_netbsd.go | go run mkpost.go
143307+// Code generated by the command above; see README.md. DO NOT EDIT.
143308
143309 // +build amd64,netbsd
143310
143311 package unix
143312
143313 const (
143314- sizeofPtr = 0x8
143315- sizeofShort = 0x2
143316- sizeofInt = 0x4
143317- sizeofLong = 0x8
143318- sizeofLongLong = 0x8
143319+ SizeofPtr = 0x8
143320+ SizeofShort = 0x2
143321+ SizeofInt = 0x4
143322+ SizeofLong = 0x8
143323+ SizeofLongLong = 0x8
143324 )
143325
143326 type (
143327@@ -58,30 +58,58 @@ type Rlimit struct {
143328 type _Gid_t uint32
143329
143330 type Stat_t struct {
143331- Dev uint64
143332- Mode uint32
143333- Pad_cgo_0 [4]byte
143334- Ino uint64
143335- Nlink uint32
143336- Uid uint32
143337- Gid uint32
143338- Pad_cgo_1 [4]byte
143339- Rdev uint64
143340- Atimespec Timespec
143341- Mtimespec Timespec
143342- Ctimespec Timespec
143343- Birthtimespec Timespec
143344- Size int64
143345- Blocks int64
143346- Blksize uint32
143347- Flags uint32
143348- Gen uint32
143349- Spare [2]uint32
143350- Pad_cgo_2 [4]byte
143351+ Dev uint64
143352+ Mode uint32
143353+ _ [4]byte
143354+ Ino uint64
143355+ Nlink uint32
143356+ Uid uint32
143357+ Gid uint32
143358+ _ [4]byte
143359+ Rdev uint64
143360+ Atim Timespec
143361+ Mtim Timespec
143362+ Ctim Timespec
143363+ Btim Timespec
143364+ Size int64
143365+ Blocks int64
143366+ Blksize uint32
143367+ Flags uint32
143368+ Gen uint32
143369+ Spare [2]uint32
143370+ _ [4]byte
143371 }
143372
143373 type Statfs_t [0]byte
143374
143375+type Statvfs_t struct {
143376+ Flag uint64
143377+ Bsize uint64
143378+ Frsize uint64
143379+ Iosize uint64
143380+ Blocks uint64
143381+ Bfree uint64
143382+ Bavail uint64
143383+ Bresvd uint64
143384+ Files uint64
143385+ Ffree uint64
143386+ Favail uint64
143387+ Fresvd uint64
143388+ Syncreads uint64
143389+ Syncwrites uint64
143390+ Asyncreads uint64
143391+ Asyncwrites uint64
143392+ Fsidx Fsid
143393+ Fsid uint64
143394+ Namemax uint64
143395+ Owner uint32
143396+ Spare [4]uint32
143397+ Fstypename [32]byte
143398+ Mntonname [1024]byte
143399+ Mntfromname [1024]byte
143400+ _ [4]byte
143401+}
143402+
143403 type Flock_t struct {
143404 Start int64
143405 Len int64
143406@@ -103,6 +131,24 @@ type Fsid struct {
143407 X__fsid_val [2]int32
143408 }
143409
143410+const (
143411+ PathMax = 0x400
143412+)
143413+
143414+const (
143415+ ST_WAIT = 0x1
143416+ ST_NOWAIT = 0x2
143417+)
143418+
143419+const (
143420+ FADV_NORMAL = 0x0
143421+ FADV_RANDOM = 0x1
143422+ FADV_SEQUENTIAL = 0x2
143423+ FADV_WILLNEED = 0x3
143424+ FADV_DONTNEED = 0x4
143425+ FADV_NOREUSE = 0x5
143426+)
143427+
143428 type RawSockaddrInet4 struct {
143429 Len uint8
143430 Family uint8
143431@@ -389,11 +435,45 @@ type Termios struct {
143432 Ospeed int32
143433 }
143434
143435+type Winsize struct {
143436+ Row uint16
143437+ Col uint16
143438+ Xpixel uint16
143439+ Ypixel uint16
143440+}
143441+
143442+type Ptmget struct {
143443+ Cfd int32
143444+ Sfd int32
143445+ Cn [1024]byte
143446+ Sn [1024]byte
143447+}
143448+
143449 const (
143450 AT_FDCWD = -0x64
143451+ AT_SYMLINK_FOLLOW = 0x400
143452 AT_SYMLINK_NOFOLLOW = 0x200
143453 )
143454
143455+type PollFd struct {
143456+ Fd int32
143457+ Events int16
143458+ Revents int16
143459+}
143460+
143461+const (
143462+ POLLERR = 0x8
143463+ POLLHUP = 0x10
143464+ POLLIN = 0x1
143465+ POLLNVAL = 0x20
143466+ POLLOUT = 0x4
143467+ POLLPRI = 0x2
143468+ POLLRDBAND = 0x80
143469+ POLLRDNORM = 0x40
143470+ POLLWRBAND = 0x100
143471+ POLLWRNORM = 0x4
143472+)
143473+
143474 type Sysctlnode struct {
143475 Flags uint32
143476 Num int32
143477@@ -406,3 +486,21 @@ type Sysctlnode struct {
143478 X_sysctl_parent [8]byte
143479 X_sysctl_desc [8]byte
143480 }
143481+
143482+type Utsname struct {
143483+ Sysname [256]byte
143484+ Nodename [256]byte
143485+ Release [256]byte
143486+ Version [256]byte
143487+ Machine [256]byte
143488+}
143489+
143490+const SizeofClockinfo = 0x14
143491+
143492+type Clockinfo struct {
143493+ Hz int32
143494+ Tick int32
143495+ Tickadj int32
143496+ Stathz int32
143497+ Profhz int32
143498+}
143499diff --git a/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go b/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go
143500index 66dbd7c0..428c450e 100644
143501--- a/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go
143502+++ b/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go
143503@@ -1,16 +1,16 @@
143504-// Created by cgo -godefs - DO NOT EDIT
143505-// cgo -godefs types_netbsd.go
143506+// cgo -godefs types_netbsd.go | go run mkpost.go
143507+// Code generated by the command above; see README.md. DO NOT EDIT.
143508
143509 // +build arm,netbsd
143510
143511 package unix
143512
143513 const (
143514- sizeofPtr = 0x4
143515- sizeofShort = 0x2
143516- sizeofInt = 0x4
143517- sizeofLong = 0x4
143518- sizeofLongLong = 0x8
143519+ SizeofPtr = 0x4
143520+ SizeofShort = 0x2
143521+ SizeofInt = 0x4
143522+ SizeofLong = 0x4
143523+ SizeofLongLong = 0x8
143524 )
143525
143526 type (
143527@@ -59,30 +59,57 @@ type Rlimit struct {
143528 type _Gid_t uint32
143529
143530 type Stat_t struct {
143531- Dev uint64
143532- Mode uint32
143533- Pad_cgo_0 [4]byte
143534- Ino uint64
143535- Nlink uint32
143536- Uid uint32
143537- Gid uint32
143538- Pad_cgo_1 [4]byte
143539- Rdev uint64
143540- Atimespec Timespec
143541- Mtimespec Timespec
143542- Ctimespec Timespec
143543- Birthtimespec Timespec
143544- Size int64
143545- Blocks int64
143546- Blksize uint32
143547- Flags uint32
143548- Gen uint32
143549- Spare [2]uint32
143550- Pad_cgo_2 [4]byte
143551+ Dev uint64
143552+ Mode uint32
143553+ _ [4]byte
143554+ Ino uint64
143555+ Nlink uint32
143556+ Uid uint32
143557+ Gid uint32
143558+ _ [4]byte
143559+ Rdev uint64
143560+ Atim Timespec
143561+ Mtim Timespec
143562+ Ctim Timespec
143563+ Btim Timespec
143564+ Size int64
143565+ Blocks int64
143566+ Blksize uint32
143567+ Flags uint32
143568+ Gen uint32
143569+ Spare [2]uint32
143570+ _ [4]byte
143571 }
143572
143573 type Statfs_t [0]byte
143574
143575+type Statvfs_t struct {
143576+ Flag uint32
143577+ Bsize uint32
143578+ Frsize uint32
143579+ Iosize uint32
143580+ Blocks uint64
143581+ Bfree uint64
143582+ Bavail uint64
143583+ Bresvd uint64
143584+ Files uint64
143585+ Ffree uint64
143586+ Favail uint64
143587+ Fresvd uint64
143588+ Syncreads uint64
143589+ Syncwrites uint64
143590+ Asyncreads uint64
143591+ Asyncwrites uint64
143592+ Fsidx Fsid
143593+ Fsid uint32
143594+ Namemax uint32
143595+ Owner uint32
143596+ Spare [4]uint32
143597+ Fstypename [32]byte
143598+ Mntonname [1024]byte
143599+ Mntfromname [1024]byte
143600+}
143601+
143602 type Flock_t struct {
143603 Start int64
143604 Len int64
143605@@ -104,6 +131,24 @@ type Fsid struct {
143606 X__fsid_val [2]int32
143607 }
143608
143609+const (
143610+ PathMax = 0x400
143611+)
143612+
143613+const (
143614+ ST_WAIT = 0x1
143615+ ST_NOWAIT = 0x2
143616+)
143617+
143618+const (
143619+ FADV_NORMAL = 0x0
143620+ FADV_RANDOM = 0x1
143621+ FADV_SEQUENTIAL = 0x2
143622+ FADV_WILLNEED = 0x3
143623+ FADV_DONTNEED = 0x4
143624+ FADV_NOREUSE = 0x5
143625+)
143626+
143627 type RawSockaddrInet4 struct {
143628 Len uint8
143629 Family uint8
143630@@ -387,11 +432,45 @@ type Termios struct {
143631 Ospeed int32
143632 }
143633
143634+type Winsize struct {
143635+ Row uint16
143636+ Col uint16
143637+ Xpixel uint16
143638+ Ypixel uint16
143639+}
143640+
143641+type Ptmget struct {
143642+ Cfd int32
143643+ Sfd int32
143644+ Cn [1024]byte
143645+ Sn [1024]byte
143646+}
143647+
143648 const (
143649 AT_FDCWD = -0x64
143650+ AT_SYMLINK_FOLLOW = 0x400
143651 AT_SYMLINK_NOFOLLOW = 0x200
143652 )
143653
143654+type PollFd struct {
143655+ Fd int32
143656+ Events int16
143657+ Revents int16
143658+}
143659+
143660+const (
143661+ POLLERR = 0x8
143662+ POLLHUP = 0x10
143663+ POLLIN = 0x1
143664+ POLLNVAL = 0x20
143665+ POLLOUT = 0x4
143666+ POLLPRI = 0x2
143667+ POLLRDBAND = 0x80
143668+ POLLRDNORM = 0x40
143669+ POLLWRBAND = 0x100
143670+ POLLWRNORM = 0x4
143671+)
143672+
143673 type Sysctlnode struct {
143674 Flags uint32
143675 Num int32
143676@@ -404,3 +483,21 @@ type Sysctlnode struct {
143677 X_sysctl_parent [8]byte
143678 X_sysctl_desc [8]byte
143679 }
143680+
143681+type Utsname struct {
143682+ Sysname [256]byte
143683+ Nodename [256]byte
143684+ Release [256]byte
143685+ Version [256]byte
143686+ Machine [256]byte
143687+}
143688+
143689+const SizeofClockinfo = 0x14
143690+
143691+type Clockinfo struct {
143692+ Hz int32
143693+ Tick int32
143694+ Tickadj int32
143695+ Stathz int32
143696+ Profhz int32
143697+}
143698diff --git a/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm64.go
143699similarity index 73%
143700copy from vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go
143701copy to vendor/golang.org/x/sys/unix/ztypes_netbsd_arm64.go
143702index ff290ba0..6f1f2842 100644
143703--- a/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go
143704+++ b/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm64.go
143705@@ -1,16 +1,16 @@
143706-// Created by cgo -godefs - DO NOT EDIT
143707-// cgo -godefs types_netbsd.go
143708+// cgo -godefs types_netbsd.go | go run mkpost.go
143709+// Code generated by the command above; see README.md. DO NOT EDIT.
143710
143711-// +build amd64,netbsd
143712+// +build arm64,netbsd
143713
143714 package unix
143715
143716 const (
143717- sizeofPtr = 0x8
143718- sizeofShort = 0x2
143719- sizeofInt = 0x4
143720- sizeofLong = 0x8
143721- sizeofLongLong = 0x8
143722+ SizeofPtr = 0x8
143723+ SizeofShort = 0x2
143724+ SizeofInt = 0x4
143725+ SizeofLong = 0x8
143726+ SizeofLongLong = 0x8
143727 )
143728
143729 type (
143730@@ -58,30 +58,58 @@ type Rlimit struct {
143731 type _Gid_t uint32
143732
143733 type Stat_t struct {
143734- Dev uint64
143735- Mode uint32
143736- Pad_cgo_0 [4]byte
143737- Ino uint64
143738- Nlink uint32
143739- Uid uint32
143740- Gid uint32
143741- Pad_cgo_1 [4]byte
143742- Rdev uint64
143743- Atimespec Timespec
143744- Mtimespec Timespec
143745- Ctimespec Timespec
143746- Birthtimespec Timespec
143747- Size int64
143748- Blocks int64
143749- Blksize uint32
143750- Flags uint32
143751- Gen uint32
143752- Spare [2]uint32
143753- Pad_cgo_2 [4]byte
143754+ Dev uint64
143755+ Mode uint32
143756+ _ [4]byte
143757+ Ino uint64
143758+ Nlink uint32
143759+ Uid uint32
143760+ Gid uint32
143761+ _ [4]byte
143762+ Rdev uint64
143763+ Atim Timespec
143764+ Mtim Timespec
143765+ Ctim Timespec
143766+ Btim Timespec
143767+ Size int64
143768+ Blocks int64
143769+ Blksize uint32
143770+ Flags uint32
143771+ Gen uint32
143772+ Spare [2]uint32
143773+ _ [4]byte
143774 }
143775
143776 type Statfs_t [0]byte
143777
143778+type Statvfs_t struct {
143779+ Flag uint64
143780+ Bsize uint64
143781+ Frsize uint64
143782+ Iosize uint64
143783+ Blocks uint64
143784+ Bfree uint64
143785+ Bavail uint64
143786+ Bresvd uint64
143787+ Files uint64
143788+ Ffree uint64
143789+ Favail uint64
143790+ Fresvd uint64
143791+ Syncreads uint64
143792+ Syncwrites uint64
143793+ Asyncreads uint64
143794+ Asyncwrites uint64
143795+ Fsidx Fsid
143796+ Fsid uint64
143797+ Namemax uint64
143798+ Owner uint32
143799+ Spare [4]uint32
143800+ Fstypename [32]byte
143801+ Mntonname [1024]byte
143802+ Mntfromname [1024]byte
143803+ _ [4]byte
143804+}
143805+
143806 type Flock_t struct {
143807 Start int64
143808 Len int64
143809@@ -103,6 +131,24 @@ type Fsid struct {
143810 X__fsid_val [2]int32
143811 }
143812
143813+const (
143814+ PathMax = 0x400
143815+)
143816+
143817+const (
143818+ ST_WAIT = 0x1
143819+ ST_NOWAIT = 0x2
143820+)
143821+
143822+const (
143823+ FADV_NORMAL = 0x0
143824+ FADV_RANDOM = 0x1
143825+ FADV_SEQUENTIAL = 0x2
143826+ FADV_WILLNEED = 0x3
143827+ FADV_DONTNEED = 0x4
143828+ FADV_NOREUSE = 0x5
143829+)
143830+
143831 type RawSockaddrInet4 struct {
143832 Len uint8
143833 Family uint8
143834@@ -389,11 +435,45 @@ type Termios struct {
143835 Ospeed int32
143836 }
143837
143838+type Winsize struct {
143839+ Row uint16
143840+ Col uint16
143841+ Xpixel uint16
143842+ Ypixel uint16
143843+}
143844+
143845+type Ptmget struct {
143846+ Cfd int32
143847+ Sfd int32
143848+ Cn [1024]byte
143849+ Sn [1024]byte
143850+}
143851+
143852 const (
143853 AT_FDCWD = -0x64
143854+ AT_SYMLINK_FOLLOW = 0x400
143855 AT_SYMLINK_NOFOLLOW = 0x200
143856 )
143857
143858+type PollFd struct {
143859+ Fd int32
143860+ Events int16
143861+ Revents int16
143862+}
143863+
143864+const (
143865+ POLLERR = 0x8
143866+ POLLHUP = 0x10
143867+ POLLIN = 0x1
143868+ POLLNVAL = 0x20
143869+ POLLOUT = 0x4
143870+ POLLPRI = 0x2
143871+ POLLRDBAND = 0x80
143872+ POLLRDNORM = 0x40
143873+ POLLWRBAND = 0x100
143874+ POLLWRNORM = 0x4
143875+)
143876+
143877 type Sysctlnode struct {
143878 Flags uint32
143879 Num int32
143880@@ -406,3 +486,21 @@ type Sysctlnode struct {
143881 X_sysctl_parent [8]byte
143882 X_sysctl_desc [8]byte
143883 }
143884+
143885+type Utsname struct {
143886+ Sysname [256]byte
143887+ Nodename [256]byte
143888+ Release [256]byte
143889+ Version [256]byte
143890+ Machine [256]byte
143891+}
143892+
143893+const SizeofClockinfo = 0x14
143894+
143895+type Clockinfo struct {
143896+ Hz int32
143897+ Tick int32
143898+ Tickadj int32
143899+ Stathz int32
143900+ Profhz int32
143901+}
143902diff --git a/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go b/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go
143903index 20fc9f45..61ea0019 100644
143904--- a/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go
143905+++ b/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go
143906@@ -1,16 +1,16 @@
143907-// Created by cgo -godefs - DO NOT EDIT
143908-// cgo -godefs types_openbsd.go
143909+// cgo -godefs types_openbsd.go | go run mkpost.go
143910+// Code generated by the command above; see README.md. DO NOT EDIT.
143911
143912 // +build 386,openbsd
143913
143914 package unix
143915
143916 const (
143917- sizeofPtr = 0x4
143918- sizeofShort = 0x2
143919- sizeofInt = 0x4
143920- sizeofLong = 0x4
143921- sizeofLongLong = 0x8
143922+ SizeofPtr = 0x4
143923+ SizeofShort = 0x2
143924+ SizeofInt = 0x4
143925+ SizeofLong = 0x4
143926+ SizeofLongLong = 0x8
143927 )
143928
143929 type (
143930@@ -56,23 +56,6 @@ type Rlimit struct {
143931
143932 type _Gid_t uint32
143933
143934-const (
143935- S_IFMT = 0xf000
143936- S_IFIFO = 0x1000
143937- S_IFCHR = 0x2000
143938- S_IFDIR = 0x4000
143939- S_IFBLK = 0x6000
143940- S_IFREG = 0x8000
143941- S_IFLNK = 0xa000
143942- S_IFSOCK = 0xc000
143943- S_ISUID = 0x800
143944- S_ISGID = 0x400
143945- S_ISVTX = 0x200
143946- S_IRUSR = 0x100
143947- S_IWUSR = 0x80
143948- S_IXUSR = 0x40
143949-)
143950-
143951 type Stat_t struct {
143952 Mode uint32
143953 Dev int32
143954@@ -140,6 +123,10 @@ type Fsid struct {
143955 Val [2]int32
143956 }
143957
143958+const (
143959+ PathMax = 0x400
143960+)
143961+
143962 type RawSockaddrInet4 struct {
143963 Len uint8
143964 Family uint8
143965@@ -440,7 +427,145 @@ type Termios struct {
143966 Ospeed int32
143967 }
143968
143969+type Winsize struct {
143970+ Row uint16
143971+ Col uint16
143972+ Xpixel uint16
143973+ Ypixel uint16
143974+}
143975+
143976 const (
143977 AT_FDCWD = -0x64
143978+ AT_SYMLINK_FOLLOW = 0x4
143979 AT_SYMLINK_NOFOLLOW = 0x2
143980 )
143981+
143982+type PollFd struct {
143983+ Fd int32
143984+ Events int16
143985+ Revents int16
143986+}
143987+
143988+const (
143989+ POLLERR = 0x8
143990+ POLLHUP = 0x10
143991+ POLLIN = 0x1
143992+ POLLNVAL = 0x20
143993+ POLLOUT = 0x4
143994+ POLLPRI = 0x2
143995+ POLLRDBAND = 0x80
143996+ POLLRDNORM = 0x40
143997+ POLLWRBAND = 0x100
143998+ POLLWRNORM = 0x4
143999+)
144000+
144001+type Sigset_t uint32
144002+
144003+type Utsname struct {
144004+ Sysname [256]byte
144005+ Nodename [256]byte
144006+ Release [256]byte
144007+ Version [256]byte
144008+ Machine [256]byte
144009+}
144010+
144011+const SizeofUvmexp = 0x158
144012+
144013+type Uvmexp struct {
144014+ Pagesize int32
144015+ Pagemask int32
144016+ Pageshift int32
144017+ Npages int32
144018+ Free int32
144019+ Active int32
144020+ Inactive int32
144021+ Paging int32
144022+ Wired int32
144023+ Zeropages int32
144024+ Reserve_pagedaemon int32
144025+ Reserve_kernel int32
144026+ Anonpages int32
144027+ Vnodepages int32
144028+ Vtextpages int32
144029+ Freemin int32
144030+ Freetarg int32
144031+ Inactarg int32
144032+ Wiredmax int32
144033+ Anonmin int32
144034+ Vtextmin int32
144035+ Vnodemin int32
144036+ Anonminpct int32
144037+ Vtextminpct int32
144038+ Vnodeminpct int32
144039+ Nswapdev int32
144040+ Swpages int32
144041+ Swpginuse int32
144042+ Swpgonly int32
144043+ Nswget int32
144044+ Nanon int32
144045+ Nanonneeded int32
144046+ Nfreeanon int32
144047+ Faults int32
144048+ Traps int32
144049+ Intrs int32
144050+ Swtch int32
144051+ Softs int32
144052+ Syscalls int32
144053+ Pageins int32
144054+ Obsolete_swapins int32
144055+ Obsolete_swapouts int32
144056+ Pgswapin int32
144057+ Pgswapout int32
144058+ Forks int32
144059+ Forks_ppwait int32
144060+ Forks_sharevm int32
144061+ Pga_zerohit int32
144062+ Pga_zeromiss int32
144063+ Zeroaborts int32
144064+ Fltnoram int32
144065+ Fltnoanon int32
144066+ Fltnoamap int32
144067+ Fltpgwait int32
144068+ Fltpgrele int32
144069+ Fltrelck int32
144070+ Fltrelckok int32
144071+ Fltanget int32
144072+ Fltanretry int32
144073+ Fltamcopy int32
144074+ Fltnamap int32
144075+ Fltnomap int32
144076+ Fltlget int32
144077+ Fltget int32
144078+ Flt_anon int32
144079+ Flt_acow int32
144080+ Flt_obj int32
144081+ Flt_prcopy int32
144082+ Flt_przero int32
144083+ Pdwoke int32
144084+ Pdrevs int32
144085+ Pdswout int32
144086+ Pdfreed int32
144087+ Pdscans int32
144088+ Pdanscan int32
144089+ Pdobscan int32
144090+ Pdreact int32
144091+ Pdbusy int32
144092+ Pdpageouts int32
144093+ Pdpending int32
144094+ Pddeact int32
144095+ Pdreanon int32
144096+ Pdrevnode int32
144097+ Pdrevtext int32
144098+ Fpswtch int32
144099+ Kmapent int32
144100+}
144101+
144102+const SizeofClockinfo = 0x14
144103+
144104+type Clockinfo struct {
144105+ Hz int32
144106+ Tick int32
144107+ Tickadj int32
144108+ Stathz int32
144109+ Profhz int32
144110+}
144111diff --git a/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go
144112index 46fe9490..87a493f6 100644
144113--- a/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go
144114+++ b/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go
144115@@ -1,16 +1,16 @@
144116-// Created by cgo -godefs - DO NOT EDIT
144117-// cgo -godefs types_openbsd.go
144118+// cgo -godefs types_openbsd.go | go run mkpost.go
144119+// Code generated by the command above; see README.md. DO NOT EDIT.
144120
144121 // +build amd64,openbsd
144122
144123 package unix
144124
144125 const (
144126- sizeofPtr = 0x8
144127- sizeofShort = 0x2
144128- sizeofInt = 0x4
144129- sizeofLong = 0x8
144130- sizeofLongLong = 0x8
144131+ SizeofPtr = 0x8
144132+ SizeofShort = 0x2
144133+ SizeofInt = 0x4
144134+ SizeofLong = 0x8
144135+ SizeofLongLong = 0x8
144136 )
144137
144138 type (
144139@@ -56,48 +56,31 @@ type Rlimit struct {
144140
144141 type _Gid_t uint32
144142
144143-const (
144144- S_IFMT = 0xf000
144145- S_IFIFO = 0x1000
144146- S_IFCHR = 0x2000
144147- S_IFDIR = 0x4000
144148- S_IFBLK = 0x6000
144149- S_IFREG = 0x8000
144150- S_IFLNK = 0xa000
144151- S_IFSOCK = 0xc000
144152- S_ISUID = 0x800
144153- S_ISGID = 0x400
144154- S_ISVTX = 0x200
144155- S_IRUSR = 0x100
144156- S_IWUSR = 0x80
144157- S_IXUSR = 0x40
144158-)
144159-
144160 type Stat_t struct {
144161- Mode uint32
144162- Dev int32
144163- Ino uint64
144164- Nlink uint32
144165- Uid uint32
144166- Gid uint32
144167- Rdev int32
144168- Atim Timespec
144169- Mtim Timespec
144170- Ctim Timespec
144171- Size int64
144172- Blocks int64
144173- Blksize uint32
144174- Flags uint32
144175- Gen uint32
144176- Pad_cgo_0 [4]byte
144177- X__st_birthtim Timespec
144178+ Mode uint32
144179+ Dev int32
144180+ Ino uint64
144181+ Nlink uint32
144182+ Uid uint32
144183+ Gid uint32
144184+ Rdev int32
144185+ Atim Timespec
144186+ Mtim Timespec
144187+ Ctim Timespec
144188+ Size int64
144189+ Blocks int64
144190+ Blksize int32
144191+ Flags uint32
144192+ Gen uint32
144193+ _ [4]byte
144194+ _ Timespec
144195 }
144196
144197 type Statfs_t struct {
144198 F_flags uint32
144199 F_bsize uint32
144200 F_iosize uint32
144201- Pad_cgo_0 [4]byte
144202+ _ [4]byte
144203 F_blocks uint64
144204 F_bfree uint64
144205 F_bavail int64
144206@@ -116,7 +99,7 @@ type Statfs_t struct {
144207 F_mntonname [90]int8
144208 F_mntfromname [90]int8
144209 F_mntfromspec [90]int8
144210- Pad_cgo_1 [2]byte
144211+ _ [2]byte
144212 Mount_info [160]byte
144213 }
144214
144215@@ -129,19 +112,23 @@ type Flock_t struct {
144216 }
144217
144218 type Dirent struct {
144219- Fileno uint64
144220- Off int64
144221- Reclen uint16
144222- Type uint8
144223- Namlen uint8
144224- X__d_padding [4]uint8
144225- Name [256]int8
144226+ Fileno uint64
144227+ Off int64
144228+ Reclen uint16
144229+ Type uint8
144230+ Namlen uint8
144231+ _ [4]uint8
144232+ Name [256]int8
144233 }
144234
144235 type Fsid struct {
144236 Val [2]int32
144237 }
144238
144239+const (
144240+ PathMax = 0x400
144241+)
144242+
144243 type RawSockaddrInet4 struct {
144244 Len uint8
144245 Family uint8
144246@@ -212,10 +199,10 @@ type IPv6Mreq struct {
144247 type Msghdr struct {
144248 Name *byte
144249 Namelen uint32
144250- Pad_cgo_0 [4]byte
144251+ _ [4]byte
144252 Iov *Iovec
144253 Iovlen uint32
144254- Pad_cgo_1 [4]byte
144255+ _ [4]byte
144256 Control *byte
144257 Controllen uint32
144258 Flags int32
144259@@ -277,8 +264,8 @@ type FdSet struct {
144260 }
144261
144262 const (
144263- SizeofIfMsghdr = 0xf8
144264- SizeofIfData = 0xe0
144265+ SizeofIfMsghdr = 0xa8
144266+ SizeofIfData = 0x90
144267 SizeofIfaMsghdr = 0x18
144268 SizeofIfAnnounceMsghdr = 0x1a
144269 SizeofRtMsghdr = 0x60
144270@@ -307,7 +294,7 @@ type IfData struct {
144271 Link_state uint8
144272 Mtu uint32
144273 Metric uint32
144274- Pad uint32
144275+ Rdomain uint32
144276 Baudrate uint64
144277 Ipackets uint64
144278 Ierrors uint64
144279@@ -319,12 +306,11 @@ type IfData struct {
144280 Imcasts uint64
144281 Omcasts uint64
144282 Iqdrops uint64
144283+ Oqdrops uint64
144284 Noproto uint64
144285 Capabilities uint32
144286- Pad_cgo_0 [4]byte
144287+ _ [4]byte
144288 Lastchange Timeval
144289- Mclpool [7]Mclpool
144290- Pad_cgo_1 [4]byte
144291 }
144292
144293 type IfaMsghdr struct {
144294@@ -385,13 +371,7 @@ type RtMetrics struct {
144295 Pad uint32
144296 }
144297
144298-type Mclpool struct {
144299- Grown int32
144300- Alive uint16
144301- Hwm uint16
144302- Cwm uint16
144303- Lwm uint16
144304-}
144305+type Mclpool struct{}
144306
144307 const (
144308 SizeofBpfVersion = 0x4
144309@@ -412,9 +392,9 @@ type BpfStat struct {
144310 }
144311
144312 type BpfProgram struct {
144313- Len uint32
144314- Pad_cgo_0 [4]byte
144315- Insns *BpfInsn
144316+ Len uint32
144317+ _ [4]byte
144318+ Insns *BpfInsn
144319 }
144320
144321 type BpfInsn struct {
144322@@ -425,11 +405,11 @@ type BpfInsn struct {
144323 }
144324
144325 type BpfHdr struct {
144326- Tstamp BpfTimeval
144327- Caplen uint32
144328- Datalen uint32
144329- Hdrlen uint16
144330- Pad_cgo_0 [2]byte
144331+ Tstamp BpfTimeval
144332+ Caplen uint32
144333+ Datalen uint32
144334+ Hdrlen uint16
144335+ _ [2]byte
144336 }
144337
144338 type BpfTimeval struct {
144339@@ -447,7 +427,145 @@ type Termios struct {
144340 Ospeed int32
144341 }
144342
144343+type Winsize struct {
144344+ Row uint16
144345+ Col uint16
144346+ Xpixel uint16
144347+ Ypixel uint16
144348+}
144349+
144350 const (
144351 AT_FDCWD = -0x64
144352+ AT_SYMLINK_FOLLOW = 0x4
144353 AT_SYMLINK_NOFOLLOW = 0x2
144354 )
144355+
144356+type PollFd struct {
144357+ Fd int32
144358+ Events int16
144359+ Revents int16
144360+}
144361+
144362+const (
144363+ POLLERR = 0x8
144364+ POLLHUP = 0x10
144365+ POLLIN = 0x1
144366+ POLLNVAL = 0x20
144367+ POLLOUT = 0x4
144368+ POLLPRI = 0x2
144369+ POLLRDBAND = 0x80
144370+ POLLRDNORM = 0x40
144371+ POLLWRBAND = 0x100
144372+ POLLWRNORM = 0x4
144373+)
144374+
144375+type Sigset_t uint32
144376+
144377+type Utsname struct {
144378+ Sysname [256]byte
144379+ Nodename [256]byte
144380+ Release [256]byte
144381+ Version [256]byte
144382+ Machine [256]byte
144383+}
144384+
144385+const SizeofUvmexp = 0x158
144386+
144387+type Uvmexp struct {
144388+ Pagesize int32
144389+ Pagemask int32
144390+ Pageshift int32
144391+ Npages int32
144392+ Free int32
144393+ Active int32
144394+ Inactive int32
144395+ Paging int32
144396+ Wired int32
144397+ Zeropages int32
144398+ Reserve_pagedaemon int32
144399+ Reserve_kernel int32
144400+ Anonpages int32
144401+ Vnodepages int32
144402+ Vtextpages int32
144403+ Freemin int32
144404+ Freetarg int32
144405+ Inactarg int32
144406+ Wiredmax int32
144407+ Anonmin int32
144408+ Vtextmin int32
144409+ Vnodemin int32
144410+ Anonminpct int32
144411+ Vtextminpct int32
144412+ Vnodeminpct int32
144413+ Nswapdev int32
144414+ Swpages int32
144415+ Swpginuse int32
144416+ Swpgonly int32
144417+ Nswget int32
144418+ Nanon int32
144419+ Nanonneeded int32
144420+ Nfreeanon int32
144421+ Faults int32
144422+ Traps int32
144423+ Intrs int32
144424+ Swtch int32
144425+ Softs int32
144426+ Syscalls int32
144427+ Pageins int32
144428+ Obsolete_swapins int32
144429+ Obsolete_swapouts int32
144430+ Pgswapin int32
144431+ Pgswapout int32
144432+ Forks int32
144433+ Forks_ppwait int32
144434+ Forks_sharevm int32
144435+ Pga_zerohit int32
144436+ Pga_zeromiss int32
144437+ Zeroaborts int32
144438+ Fltnoram int32
144439+ Fltnoanon int32
144440+ Fltnoamap int32
144441+ Fltpgwait int32
144442+ Fltpgrele int32
144443+ Fltrelck int32
144444+ Fltrelckok int32
144445+ Fltanget int32
144446+ Fltanretry int32
144447+ Fltamcopy int32
144448+ Fltnamap int32
144449+ Fltnomap int32
144450+ Fltlget int32
144451+ Fltget int32
144452+ Flt_anon int32
144453+ Flt_acow int32
144454+ Flt_obj int32
144455+ Flt_prcopy int32
144456+ Flt_przero int32
144457+ Pdwoke int32
144458+ Pdrevs int32
144459+ Pdswout int32
144460+ Pdfreed int32
144461+ Pdscans int32
144462+ Pdanscan int32
144463+ Pdobscan int32
144464+ Pdreact int32
144465+ Pdbusy int32
144466+ Pdpageouts int32
144467+ Pdpending int32
144468+ Pddeact int32
144469+ Pdreanon int32
144470+ Pdrevnode int32
144471+ Pdrevtext int32
144472+ Fpswtch int32
144473+ Kmapent int32
144474+}
144475+
144476+const SizeofClockinfo = 0x14
144477+
144478+type Clockinfo struct {
144479+ Hz int32
144480+ Tick int32
144481+ Tickadj int32
144482+ Stathz int32
144483+ Profhz int32
144484+}
144485diff --git a/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go b/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go
144486index 62e1f7c0..d80836ef 100644
144487--- a/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go
144488+++ b/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go
144489@@ -1,16 +1,16 @@
144490-// Created by cgo -godefs - DO NOT EDIT
144491-// cgo -godefs types_openbsd.go
144492+// cgo -godefs -- -fsigned-char types_openbsd.go | go run mkpost.go
144493+// Code generated by the command above; see README.md. DO NOT EDIT.
144494
144495 // +build arm,openbsd
144496
144497 package unix
144498
144499 const (
144500- sizeofPtr = 0x4
144501- sizeofShort = 0x2
144502- sizeofInt = 0x4
144503- sizeofLong = 0x4
144504- sizeofLongLong = 0x8
144505+ SizeofPtr = 0x4
144506+ SizeofShort = 0x2
144507+ SizeofInt = 0x4
144508+ SizeofLong = 0x4
144509+ SizeofLongLong = 0x8
144510 )
144511
144512 type (
144513@@ -23,11 +23,13 @@ type (
144514 type Timespec struct {
144515 Sec int64
144516 Nsec int32
144517+ _ [4]byte
144518 }
144519
144520 type Timeval struct {
144521 Sec int64
144522 Usec int32
144523+ _ [4]byte
144524 }
144525
144526 type Rusage struct {
144527@@ -56,46 +58,31 @@ type Rlimit struct {
144528
144529 type _Gid_t uint32
144530
144531-const (
144532- S_IFMT = 0xf000
144533- S_IFIFO = 0x1000
144534- S_IFCHR = 0x2000
144535- S_IFDIR = 0x4000
144536- S_IFBLK = 0x6000
144537- S_IFREG = 0x8000
144538- S_IFLNK = 0xa000
144539- S_IFSOCK = 0xc000
144540- S_ISUID = 0x800
144541- S_ISGID = 0x400
144542- S_ISVTX = 0x200
144543- S_IRUSR = 0x100
144544- S_IWUSR = 0x80
144545- S_IXUSR = 0x40
144546-)
144547-
144548 type Stat_t struct {
144549- Mode uint32
144550- Dev int32
144551- Ino uint64
144552- Nlink uint32
144553- Uid uint32
144554- Gid uint32
144555- Rdev int32
144556- Atim Timespec
144557- Mtim Timespec
144558- Ctim Timespec
144559- Size int64
144560- Blocks int64
144561- Blksize int32
144562- Flags uint32
144563- Gen uint32
144564- X__st_birthtim Timespec
144565+ Mode uint32
144566+ Dev int32
144567+ Ino uint64
144568+ Nlink uint32
144569+ Uid uint32
144570+ Gid uint32
144571+ Rdev int32
144572+ Atim Timespec
144573+ Mtim Timespec
144574+ Ctim Timespec
144575+ Size int64
144576+ Blocks int64
144577+ Blksize int32
144578+ Flags uint32
144579+ Gen uint32
144580+ _ [4]byte
144581+ _ Timespec
144582 }
144583
144584 type Statfs_t struct {
144585 F_flags uint32
144586 F_bsize uint32
144587 F_iosize uint32
144588+ _ [4]byte
144589 F_blocks uint64
144590 F_bfree uint64
144591 F_bavail int64
144592@@ -110,11 +97,11 @@ type Statfs_t struct {
144593 F_namemax uint32
144594 F_owner uint32
144595 F_ctime uint64
144596- F_fstypename [16]uint8
144597- F_mntonname [90]uint8
144598- F_mntfromname [90]uint8
144599- F_mntfromspec [90]uint8
144600- Pad_cgo_0 [2]byte
144601+ F_fstypename [16]int8
144602+ F_mntonname [90]int8
144603+ F_mntfromname [90]int8
144604+ F_mntfromspec [90]int8
144605+ _ [2]byte
144606 Mount_info [160]byte
144607 }
144608
144609@@ -127,19 +114,23 @@ type Flock_t struct {
144610 }
144611
144612 type Dirent struct {
144613- Fileno uint64
144614- Off int64
144615- Reclen uint16
144616- Type uint8
144617- Namlen uint8
144618- X__d_padding [4]uint8
144619- Name [256]uint8
144620+ Fileno uint64
144621+ Off int64
144622+ Reclen uint16
144623+ Type uint8
144624+ Namlen uint8
144625+ _ [4]uint8
144626+ Name [256]int8
144627 }
144628
144629 type Fsid struct {
144630 Val [2]int32
144631 }
144632
144633+const (
144634+ PathMax = 0x400
144635+)
144636+
144637 type RawSockaddrInet4 struct {
144638 Len uint8
144639 Family uint8
144640@@ -264,8 +255,10 @@ type Kevent_t struct {
144641 Filter int16
144642 Flags uint16
144643 Fflags uint32
144644+ _ [4]byte
144645 Data int64
144646 Udata *byte
144647+ _ [4]byte
144648 }
144649
144650 type FdSet struct {
144651@@ -273,8 +266,8 @@ type FdSet struct {
144652 }
144653
144654 const (
144655- SizeofIfMsghdr = 0x98
144656- SizeofIfData = 0x80
144657+ SizeofIfMsghdr = 0xa8
144658+ SizeofIfData = 0x90
144659 SizeofIfaMsghdr = 0x18
144660 SizeofIfAnnounceMsghdr = 0x1a
144661 SizeofRtMsghdr = 0x60
144662@@ -303,7 +296,7 @@ type IfData struct {
144663 Link_state uint8
144664 Mtu uint32
144665 Metric uint32
144666- Pad uint32
144667+ Rdomain uint32
144668 Baudrate uint64
144669 Ipackets uint64
144670 Ierrors uint64
144671@@ -315,8 +308,10 @@ type IfData struct {
144672 Imcasts uint64
144673 Omcasts uint64
144674 Iqdrops uint64
144675+ Oqdrops uint64
144676 Noproto uint64
144677 Capabilities uint32
144678+ _ [4]byte
144679 Lastchange Timeval
144680 }
144681
144682@@ -341,7 +336,7 @@ type IfAnnounceMsghdr struct {
144683 Hdrlen uint16
144684 Index uint16
144685 What uint16
144686- Name [16]uint8
144687+ Name [16]int8
144688 }
144689
144690 type RtMsghdr struct {
144691@@ -411,11 +406,11 @@ type BpfInsn struct {
144692 }
144693
144694 type BpfHdr struct {
144695- Tstamp BpfTimeval
144696- Caplen uint32
144697- Datalen uint32
144698- Hdrlen uint16
144699- Pad_cgo_0 [2]byte
144700+ Tstamp BpfTimeval
144701+ Caplen uint32
144702+ Datalen uint32
144703+ Hdrlen uint16
144704+ _ [2]byte
144705 }
144706
144707 type BpfTimeval struct {
144708@@ -433,7 +428,145 @@ type Termios struct {
144709 Ospeed int32
144710 }
144711
144712+type Winsize struct {
144713+ Row uint16
144714+ Col uint16
144715+ Xpixel uint16
144716+ Ypixel uint16
144717+}
144718+
144719 const (
144720 AT_FDCWD = -0x64
144721+ AT_SYMLINK_FOLLOW = 0x4
144722 AT_SYMLINK_NOFOLLOW = 0x2
144723 )
144724+
144725+type PollFd struct {
144726+ Fd int32
144727+ Events int16
144728+ Revents int16
144729+}
144730+
144731+const (
144732+ POLLERR = 0x8
144733+ POLLHUP = 0x10
144734+ POLLIN = 0x1
144735+ POLLNVAL = 0x20
144736+ POLLOUT = 0x4
144737+ POLLPRI = 0x2
144738+ POLLRDBAND = 0x80
144739+ POLLRDNORM = 0x40
144740+ POLLWRBAND = 0x100
144741+ POLLWRNORM = 0x4
144742+)
144743+
144744+type Sigset_t uint32
144745+
144746+type Utsname struct {
144747+ Sysname [256]byte
144748+ Nodename [256]byte
144749+ Release [256]byte
144750+ Version [256]byte
144751+ Machine [256]byte
144752+}
144753+
144754+const SizeofUvmexp = 0x158
144755+
144756+type Uvmexp struct {
144757+ Pagesize int32
144758+ Pagemask int32
144759+ Pageshift int32
144760+ Npages int32
144761+ Free int32
144762+ Active int32
144763+ Inactive int32
144764+ Paging int32
144765+ Wired int32
144766+ Zeropages int32
144767+ Reserve_pagedaemon int32
144768+ Reserve_kernel int32
144769+ Unused01 int32
144770+ Vnodepages int32
144771+ Vtextpages int32
144772+ Freemin int32
144773+ Freetarg int32
144774+ Inactarg int32
144775+ Wiredmax int32
144776+ Anonmin int32
144777+ Vtextmin int32
144778+ Vnodemin int32
144779+ Anonminpct int32
144780+ Vtextminpct int32
144781+ Vnodeminpct int32
144782+ Nswapdev int32
144783+ Swpages int32
144784+ Swpginuse int32
144785+ Swpgonly int32
144786+ Nswget int32
144787+ Nanon int32
144788+ Unused05 int32
144789+ Unused06 int32
144790+ Faults int32
144791+ Traps int32
144792+ Intrs int32
144793+ Swtch int32
144794+ Softs int32
144795+ Syscalls int32
144796+ Pageins int32
144797+ Unused07 int32
144798+ Unused08 int32
144799+ Pgswapin int32
144800+ Pgswapout int32
144801+ Forks int32
144802+ Forks_ppwait int32
144803+ Forks_sharevm int32
144804+ Pga_zerohit int32
144805+ Pga_zeromiss int32
144806+ Unused09 int32
144807+ Fltnoram int32
144808+ Fltnoanon int32
144809+ Fltnoamap int32
144810+ Fltpgwait int32
144811+ Fltpgrele int32
144812+ Fltrelck int32
144813+ Fltrelckok int32
144814+ Fltanget int32
144815+ Fltanretry int32
144816+ Fltamcopy int32
144817+ Fltnamap int32
144818+ Fltnomap int32
144819+ Fltlget int32
144820+ Fltget int32
144821+ Flt_anon int32
144822+ Flt_acow int32
144823+ Flt_obj int32
144824+ Flt_prcopy int32
144825+ Flt_przero int32
144826+ Pdwoke int32
144827+ Pdrevs int32
144828+ Pdswout int32
144829+ Pdfreed int32
144830+ Pdscans int32
144831+ Pdanscan int32
144832+ Pdobscan int32
144833+ Pdreact int32
144834+ Pdbusy int32
144835+ Pdpageouts int32
144836+ Pdpending int32
144837+ Pddeact int32
144838+ Unused11 int32
144839+ Unused12 int32
144840+ Unused13 int32
144841+ Fpswtch int32
144842+ Kmapent int32
144843+}
144844+
144845+const SizeofClockinfo = 0x14
144846+
144847+type Clockinfo struct {
144848+ Hz int32
144849+ Tick int32
144850+ Tickadj int32
144851+ Stathz int32
144852+ Profhz int32
144853+}
144854diff --git a/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go
144855similarity index 58%
144856copy from vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go
144857copy to vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go
144858index 46fe9490..4e158746 100644
144859--- a/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go
144860+++ b/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go
144861@@ -1,16 +1,16 @@
144862-// Created by cgo -godefs - DO NOT EDIT
144863-// cgo -godefs types_openbsd.go
144864+// cgo -godefs -- -fsigned-char types_openbsd.go | go run mkpost.go
144865+// Code generated by the command above; see README.md. DO NOT EDIT.
144866
144867-// +build amd64,openbsd
144868+// +build arm64,openbsd
144869
144870 package unix
144871
144872 const (
144873- sizeofPtr = 0x8
144874- sizeofShort = 0x2
144875- sizeofInt = 0x4
144876- sizeofLong = 0x8
144877- sizeofLongLong = 0x8
144878+ SizeofPtr = 0x8
144879+ SizeofShort = 0x2
144880+ SizeofInt = 0x4
144881+ SizeofLong = 0x8
144882+ SizeofLongLong = 0x8
144883 )
144884
144885 type (
144886@@ -56,48 +56,29 @@ type Rlimit struct {
144887
144888 type _Gid_t uint32
144889
144890-const (
144891- S_IFMT = 0xf000
144892- S_IFIFO = 0x1000
144893- S_IFCHR = 0x2000
144894- S_IFDIR = 0x4000
144895- S_IFBLK = 0x6000
144896- S_IFREG = 0x8000
144897- S_IFLNK = 0xa000
144898- S_IFSOCK = 0xc000
144899- S_ISUID = 0x800
144900- S_ISGID = 0x400
144901- S_ISVTX = 0x200
144902- S_IRUSR = 0x100
144903- S_IWUSR = 0x80
144904- S_IXUSR = 0x40
144905-)
144906-
144907 type Stat_t struct {
144908- Mode uint32
144909- Dev int32
144910- Ino uint64
144911- Nlink uint32
144912- Uid uint32
144913- Gid uint32
144914- Rdev int32
144915- Atim Timespec
144916- Mtim Timespec
144917- Ctim Timespec
144918- Size int64
144919- Blocks int64
144920- Blksize uint32
144921- Flags uint32
144922- Gen uint32
144923- Pad_cgo_0 [4]byte
144924- X__st_birthtim Timespec
144925+ Mode uint32
144926+ Dev int32
144927+ Ino uint64
144928+ Nlink uint32
144929+ Uid uint32
144930+ Gid uint32
144931+ Rdev int32
144932+ Atim Timespec
144933+ Mtim Timespec
144934+ Ctim Timespec
144935+ Size int64
144936+ Blocks int64
144937+ Blksize int32
144938+ Flags uint32
144939+ Gen uint32
144940+ _ Timespec
144941 }
144942
144943 type Statfs_t struct {
144944 F_flags uint32
144945 F_bsize uint32
144946 F_iosize uint32
144947- Pad_cgo_0 [4]byte
144948 F_blocks uint64
144949 F_bfree uint64
144950 F_bavail int64
144951@@ -116,7 +97,7 @@ type Statfs_t struct {
144952 F_mntonname [90]int8
144953 F_mntfromname [90]int8
144954 F_mntfromspec [90]int8
144955- Pad_cgo_1 [2]byte
144956+ _ [2]byte
144957 Mount_info [160]byte
144958 }
144959
144960@@ -129,19 +110,23 @@ type Flock_t struct {
144961 }
144962
144963 type Dirent struct {
144964- Fileno uint64
144965- Off int64
144966- Reclen uint16
144967- Type uint8
144968- Namlen uint8
144969- X__d_padding [4]uint8
144970- Name [256]int8
144971+ Fileno uint64
144972+ Off int64
144973+ Reclen uint16
144974+ Type uint8
144975+ Namlen uint8
144976+ _ [4]uint8
144977+ Name [256]int8
144978 }
144979
144980 type Fsid struct {
144981 Val [2]int32
144982 }
144983
144984+const (
144985+ PathMax = 0x400
144986+)
144987+
144988 type RawSockaddrInet4 struct {
144989 Len uint8
144990 Family uint8
144991@@ -212,10 +197,8 @@ type IPv6Mreq struct {
144992 type Msghdr struct {
144993 Name *byte
144994 Namelen uint32
144995- Pad_cgo_0 [4]byte
144996 Iov *Iovec
144997 Iovlen uint32
144998- Pad_cgo_1 [4]byte
144999 Control *byte
145000 Controllen uint32
145001 Flags int32
145002@@ -277,8 +260,8 @@ type FdSet struct {
145003 }
145004
145005 const (
145006- SizeofIfMsghdr = 0xf8
145007- SizeofIfData = 0xe0
145008+ SizeofIfMsghdr = 0xa8
145009+ SizeofIfData = 0x90
145010 SizeofIfaMsghdr = 0x18
145011 SizeofIfAnnounceMsghdr = 0x1a
145012 SizeofRtMsghdr = 0x60
145013@@ -307,7 +290,7 @@ type IfData struct {
145014 Link_state uint8
145015 Mtu uint32
145016 Metric uint32
145017- Pad uint32
145018+ Rdomain uint32
145019 Baudrate uint64
145020 Ipackets uint64
145021 Ierrors uint64
145022@@ -319,12 +302,10 @@ type IfData struct {
145023 Imcasts uint64
145024 Omcasts uint64
145025 Iqdrops uint64
145026+ Oqdrops uint64
145027 Noproto uint64
145028 Capabilities uint32
145029- Pad_cgo_0 [4]byte
145030 Lastchange Timeval
145031- Mclpool [7]Mclpool
145032- Pad_cgo_1 [4]byte
145033 }
145034
145035 type IfaMsghdr struct {
145036@@ -385,13 +366,7 @@ type RtMetrics struct {
145037 Pad uint32
145038 }
145039
145040-type Mclpool struct {
145041- Grown int32
145042- Alive uint16
145043- Hwm uint16
145044- Cwm uint16
145045- Lwm uint16
145046-}
145047+type Mclpool struct{}
145048
145049 const (
145050 SizeofBpfVersion = 0x4
145051@@ -412,9 +387,8 @@ type BpfStat struct {
145052 }
145053
145054 type BpfProgram struct {
145055- Len uint32
145056- Pad_cgo_0 [4]byte
145057- Insns *BpfInsn
145058+ Len uint32
145059+ Insns *BpfInsn
145060 }
145061
145062 type BpfInsn struct {
145063@@ -425,11 +399,11 @@ type BpfInsn struct {
145064 }
145065
145066 type BpfHdr struct {
145067- Tstamp BpfTimeval
145068- Caplen uint32
145069- Datalen uint32
145070- Hdrlen uint16
145071- Pad_cgo_0 [2]byte
145072+ Tstamp BpfTimeval
145073+ Caplen uint32
145074+ Datalen uint32
145075+ Hdrlen uint16
145076+ _ [2]byte
145077 }
145078
145079 type BpfTimeval struct {
145080@@ -447,7 +421,145 @@ type Termios struct {
145081 Ospeed int32
145082 }
145083
145084+type Winsize struct {
145085+ Row uint16
145086+ Col uint16
145087+ Xpixel uint16
145088+ Ypixel uint16
145089+}
145090+
145091 const (
145092 AT_FDCWD = -0x64
145093+ AT_SYMLINK_FOLLOW = 0x4
145094 AT_SYMLINK_NOFOLLOW = 0x2
145095 )
145096+
145097+type PollFd struct {
145098+ Fd int32
145099+ Events int16
145100+ Revents int16
145101+}
145102+
145103+const (
145104+ POLLERR = 0x8
145105+ POLLHUP = 0x10
145106+ POLLIN = 0x1
145107+ POLLNVAL = 0x20
145108+ POLLOUT = 0x4
145109+ POLLPRI = 0x2
145110+ POLLRDBAND = 0x80
145111+ POLLRDNORM = 0x40
145112+ POLLWRBAND = 0x100
145113+ POLLWRNORM = 0x4
145114+)
145115+
145116+type Sigset_t uint32
145117+
145118+type Utsname struct {
145119+ Sysname [256]byte
145120+ Nodename [256]byte
145121+ Release [256]byte
145122+ Version [256]byte
145123+ Machine [256]byte
145124+}
145125+
145126+const SizeofUvmexp = 0x158
145127+
145128+type Uvmexp struct {
145129+ Pagesize int32
145130+ Pagemask int32
145131+ Pageshift int32
145132+ Npages int32
145133+ Free int32
145134+ Active int32
145135+ Inactive int32
145136+ Paging int32
145137+ Wired int32
145138+ Zeropages int32
145139+ Reserve_pagedaemon int32
145140+ Reserve_kernel int32
145141+ Unused01 int32
145142+ Vnodepages int32
145143+ Vtextpages int32
145144+ Freemin int32
145145+ Freetarg int32
145146+ Inactarg int32
145147+ Wiredmax int32
145148+ Anonmin int32
145149+ Vtextmin int32
145150+ Vnodemin int32
145151+ Anonminpct int32
145152+ Vtextminpct int32
145153+ Vnodeminpct int32
145154+ Nswapdev int32
145155+ Swpages int32
145156+ Swpginuse int32
145157+ Swpgonly int32
145158+ Nswget int32
145159+ Nanon int32
145160+ Unused05 int32
145161+ Unused06 int32
145162+ Faults int32
145163+ Traps int32
145164+ Intrs int32
145165+ Swtch int32
145166+ Softs int32
145167+ Syscalls int32
145168+ Pageins int32
145169+ Unused07 int32
145170+ Unused08 int32
145171+ Pgswapin int32
145172+ Pgswapout int32
145173+ Forks int32
145174+ Forks_ppwait int32
145175+ Forks_sharevm int32
145176+ Pga_zerohit int32
145177+ Pga_zeromiss int32
145178+ Unused09 int32
145179+ Fltnoram int32
145180+ Fltnoanon int32
145181+ Fltnoamap int32
145182+ Fltpgwait int32
145183+ Fltpgrele int32
145184+ Fltrelck int32
145185+ Fltrelckok int32
145186+ Fltanget int32
145187+ Fltanretry int32
145188+ Fltamcopy int32
145189+ Fltnamap int32
145190+ Fltnomap int32
145191+ Fltlget int32
145192+ Fltget int32
145193+ Flt_anon int32
145194+ Flt_acow int32
145195+ Flt_obj int32
145196+ Flt_prcopy int32
145197+ Flt_przero int32
145198+ Pdwoke int32
145199+ Pdrevs int32
145200+ Pdswout int32
145201+ Pdfreed int32
145202+ Pdscans int32
145203+ Pdanscan int32
145204+ Pdobscan int32
145205+ Pdreact int32
145206+ Pdbusy int32
145207+ Pdpageouts int32
145208+ Pdpending int32
145209+ Pddeact int32
145210+ Unused11 int32
145211+ Unused12 int32
145212+ Unused13 int32
145213+ Fpswtch int32
145214+ Kmapent int32
145215+}
145216+
145217+const SizeofClockinfo = 0x14
145218+
145219+type Clockinfo struct {
145220+ Hz int32
145221+ Tick int32
145222+ Tickadj int32
145223+ Stathz int32
145224+ Profhz int32
145225+}
145226diff --git a/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go
145227index 92336f9f..23ed9fe5 100644
145228--- a/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go
145229+++ b/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go
145230@@ -6,11 +6,11 @@
145231 package unix
145232
145233 const (
145234- sizeofPtr = 0x8
145235- sizeofShort = 0x2
145236- sizeofInt = 0x4
145237- sizeofLong = 0x8
145238- sizeofLongLong = 0x8
145239+ SizeofPtr = 0x8
145240+ SizeofShort = 0x2
145241+ SizeofInt = 0x4
145242+ SizeofLong = 0x8
145243+ SizeofLongLong = 0x8
145244 PathMax = 0x400
145245 MaxHostNameLen = 0x100
145246 )
145247@@ -75,58 +75,41 @@ type Rlimit struct {
145248
145249 type _Gid_t uint32
145250
145251-const (
145252- S_IFMT = 0xf000
145253- S_IFIFO = 0x1000
145254- S_IFCHR = 0x2000
145255- S_IFDIR = 0x4000
145256- S_IFBLK = 0x6000
145257- S_IFREG = 0x8000
145258- S_IFLNK = 0xa000
145259- S_IFSOCK = 0xc000
145260- S_ISUID = 0x800
145261- S_ISGID = 0x400
145262- S_ISVTX = 0x200
145263- S_IRUSR = 0x100
145264- S_IWUSR = 0x80
145265- S_IXUSR = 0x40
145266-)
145267-
145268 type Stat_t struct {
145269- Dev uint64
145270- Ino uint64
145271- Mode uint32
145272- Nlink uint32
145273- Uid uint32
145274- Gid uint32
145275- Rdev uint64
145276- Size int64
145277- Atim Timespec
145278- Mtim Timespec
145279- Ctim Timespec
145280- Blksize int32
145281- Pad_cgo_0 [4]byte
145282- Blocks int64
145283- Fstype [16]int8
145284+ Dev uint64
145285+ Ino uint64
145286+ Mode uint32
145287+ Nlink uint32
145288+ Uid uint32
145289+ Gid uint32
145290+ Rdev uint64
145291+ Size int64
145292+ Atim Timespec
145293+ Mtim Timespec
145294+ Ctim Timespec
145295+ Blksize int32
145296+ _ [4]byte
145297+ Blocks int64
145298+ Fstype [16]int8
145299 }
145300
145301 type Flock_t struct {
145302- Type int16
145303- Whence int16
145304- Pad_cgo_0 [4]byte
145305- Start int64
145306- Len int64
145307- Sysid int32
145308- Pid int32
145309- Pad [4]int64
145310+ Type int16
145311+ Whence int16
145312+ _ [4]byte
145313+ Start int64
145314+ Len int64
145315+ Sysid int32
145316+ Pid int32
145317+ Pad [4]int64
145318 }
145319
145320 type Dirent struct {
145321- Ino uint64
145322- Off int64
145323- Reclen uint16
145324- Name [1]int8
145325- Pad_cgo_0 [5]byte
145326+ Ino uint64
145327+ Off int64
145328+ Reclen uint16
145329+ Name [1]int8
145330+ _ [5]byte
145331 }
145332
145333 type _Fsblkcnt_t uint64
145334@@ -213,13 +196,13 @@ type IPv6Mreq struct {
145335 type Msghdr struct {
145336 Name *byte
145337 Namelen uint32
145338- Pad_cgo_0 [4]byte
145339+ _ [4]byte
145340 Iov *Iovec
145341 Iovlen int32
145342- Pad_cgo_1 [4]byte
145343+ _ [4]byte
145344 Accrights *int8
145345 Accrightslen int32
145346- Pad_cgo_2 [4]byte
145347+ _ [4]byte
145348 }
145349
145350 type Cmsghdr struct {
145351@@ -228,6 +211,12 @@ type Cmsghdr struct {
145352 Type int32
145353 }
145354
145355+type Inet4Pktinfo struct {
145356+ Ifindex uint32
145357+ Spec_dst [4]byte /* in_addr */
145358+ Addr [4]byte /* in_addr */
145359+}
145360+
145361 type Inet6Pktinfo struct {
145362 Addr [16]byte /* in6_addr */
145363 Ifindex uint32
145364@@ -253,6 +242,7 @@ const (
145365 SizeofIPv6Mreq = 0x14
145366 SizeofMsghdr = 0x30
145367 SizeofCmsghdr = 0xc
145368+ SizeofInet4Pktinfo = 0xc
145369 SizeofInet6Pktinfo = 0x14
145370 SizeofIPv6MTUInfo = 0x24
145371 SizeofICMPv6Filter = 0x20
145372@@ -263,19 +253,19 @@ type FdSet struct {
145373 }
145374
145375 type Utsname struct {
145376- Sysname [257]int8
145377- Nodename [257]int8
145378- Release [257]int8
145379- Version [257]int8
145380- Machine [257]int8
145381+ Sysname [257]byte
145382+ Nodename [257]byte
145383+ Release [257]byte
145384+ Version [257]byte
145385+ Machine [257]byte
145386 }
145387
145388 type Ustat_t struct {
145389- Tfree int64
145390- Tinode uint64
145391- Fname [6]int8
145392- Fpack [6]int8
145393- Pad_cgo_0 [4]byte
145394+ Tfree int64
145395+ Tinode uint64
145396+ Fname [6]int8
145397+ Fpack [6]int8
145398+ _ [4]byte
145399 }
145400
145401 const (
145402@@ -295,21 +285,21 @@ const (
145403 )
145404
145405 type IfMsghdr struct {
145406- Msglen uint16
145407- Version uint8
145408- Type uint8
145409- Addrs int32
145410- Flags int32
145411- Index uint16
145412- Pad_cgo_0 [2]byte
145413- Data IfData
145414+ Msglen uint16
145415+ Version uint8
145416+ Type uint8
145417+ Addrs int32
145418+ Flags int32
145419+ Index uint16
145420+ _ [2]byte
145421+ Data IfData
145422 }
145423
145424 type IfData struct {
145425 Type uint8
145426 Addrlen uint8
145427 Hdrlen uint8
145428- Pad_cgo_0 [1]byte
145429+ _ [1]byte
145430 Mtu uint32
145431 Metric uint32
145432 Baudrate uint32
145433@@ -328,30 +318,30 @@ type IfData struct {
145434 }
145435
145436 type IfaMsghdr struct {
145437- Msglen uint16
145438- Version uint8
145439- Type uint8
145440- Addrs int32
145441- Flags int32
145442- Index uint16
145443- Pad_cgo_0 [2]byte
145444- Metric int32
145445+ Msglen uint16
145446+ Version uint8
145447+ Type uint8
145448+ Addrs int32
145449+ Flags int32
145450+ Index uint16
145451+ _ [2]byte
145452+ Metric int32
145453 }
145454
145455 type RtMsghdr struct {
145456- Msglen uint16
145457- Version uint8
145458- Type uint8
145459- Index uint16
145460- Pad_cgo_0 [2]byte
145461- Flags int32
145462- Addrs int32
145463- Pid int32
145464- Seq int32
145465- Errno int32
145466- Use int32
145467- Inits uint32
145468- Rmx RtMetrics
145469+ Msglen uint16
145470+ Version uint8
145471+ Type uint8
145472+ Index uint16
145473+ _ [2]byte
145474+ Flags int32
145475+ Addrs int32
145476+ Pid int32
145477+ Seq int32
145478+ Errno int32
145479+ Use int32
145480+ Inits uint32
145481+ Rmx RtMetrics
145482 }
145483
145484 type RtMetrics struct {
145485@@ -388,9 +378,9 @@ type BpfStat struct {
145486 }
145487
145488 type BpfProgram struct {
145489- Len uint32
145490- Pad_cgo_0 [4]byte
145491- Insns *BpfInsn
145492+ Len uint32
145493+ _ [4]byte
145494+ Insns *BpfInsn
145495 }
145496
145497 type BpfInsn struct {
145498@@ -406,32 +396,30 @@ type BpfTimeval struct {
145499 }
145500
145501 type BpfHdr struct {
145502- Tstamp BpfTimeval
145503- Caplen uint32
145504- Datalen uint32
145505- Hdrlen uint16
145506- Pad_cgo_0 [2]byte
145507+ Tstamp BpfTimeval
145508+ Caplen uint32
145509+ Datalen uint32
145510+ Hdrlen uint16
145511+ _ [2]byte
145512 }
145513
145514-const _SC_PAGESIZE = 0xb
145515-
145516 type Termios struct {
145517- Iflag uint32
145518- Oflag uint32
145519- Cflag uint32
145520- Lflag uint32
145521- Cc [19]uint8
145522- Pad_cgo_0 [1]byte
145523+ Iflag uint32
145524+ Oflag uint32
145525+ Cflag uint32
145526+ Lflag uint32
145527+ Cc [19]uint8
145528+ _ [1]byte
145529 }
145530
145531 type Termio struct {
145532- Iflag uint16
145533- Oflag uint16
145534- Cflag uint16
145535- Lflag uint16
145536- Line int8
145537- Cc [8]uint8
145538- Pad_cgo_0 [1]byte
145539+ Iflag uint16
145540+ Oflag uint16
145541+ Cflag uint16
145542+ Lflag uint16
145543+ Line int8
145544+ Cc [8]uint8
145545+ _ [1]byte
145546 }
145547
145548 type Winsize struct {
145549@@ -440,3 +428,22 @@ type Winsize struct {
145550 Xpixel uint16
145551 Ypixel uint16
145552 }
145553+
145554+type PollFd struct {
145555+ Fd int32
145556+ Events int16
145557+ Revents int16
145558+}
145559+
145560+const (
145561+ POLLERR = 0x8
145562+ POLLHUP = 0x10
145563+ POLLIN = 0x1
145564+ POLLNVAL = 0x20
145565+ POLLOUT = 0x4
145566+ POLLPRI = 0x2
145567+ POLLRDBAND = 0x80
145568+ POLLRDNORM = 0x40
145569+ POLLWRBAND = 0x100
145570+ POLLWRNORM = 0x4
145571+)
145572--
1455732.26.2
145574
diff --git a/meta/recipes-devtools/go/go-dep_0.5.4.bb b/meta/recipes-devtools/go/go-dep_0.5.4.bb
index 496224a5cf..0da2c6607c 100644
--- a/meta/recipes-devtools/go/go-dep_0.5.4.bb
+++ b/meta/recipes-devtools/go/go-dep_0.5.4.bb
@@ -8,6 +8,7 @@ SRC_URI = "git://${GO_IMPORT} \
8 file://0001-Add-support-for-mips-mips64.patch;patchdir=src/github.com/golang/dep \ 8 file://0001-Add-support-for-mips-mips64.patch;patchdir=src/github.com/golang/dep \
9 file://0001-bolt_riscv64-Add-support-for-riscv64.patch;patchdir=src/github.com/golang/dep \ 9 file://0001-bolt_riscv64-Add-support-for-riscv64.patch;patchdir=src/github.com/golang/dep \
10 " 10 "
11SRC_URI_append_riscv64 = " file://0001-Update-sys-module-to-latest.patch;patchdir=src/github.com/golang/dep "
11 12
12SRCREV = "1f7c19e5f52f49ffb9f956f64c010be14683468b" 13SRCREV = "1f7c19e5f52f49ffb9f956f64c010be14683468b"
13 14